@maka/maka-cli 4.7.0 → 4.7.1

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 (143) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/proxy.js +1 -1
  84. package/bundle/obf/src/commands/reconfig.js +1 -1
  85. package/bundle/obf/src/commands/run/_index.js +1 -1
  86. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  87. package/bundle/obf/src/commands/run/run.command.js +1 -1
  88. package/bundle/obf/src/commands/set/_index.js +1 -1
  89. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  91. package/bundle/obf/src/commands/set/set.command.js +1 -1
  92. package/bundle/obf/src/commands/ssh.js +1 -1
  93. package/bundle/obf/src/commands/ssl.js +1 -1
  94. package/bundle/obf/src/commands/test.js +1 -1
  95. package/bundle/obf/src/commands/version.js +1 -1
  96. package/bundle/obf/src/error.js +1 -1
  97. package/bundle/obf/src/exec.js +1 -1
  98. package/bundle/obf/src/generator.js +1 -1
  99. package/bundle/obf/src/generators/_index.js +1 -1
  100. package/bundle/obf/src/generators/api.js +1 -1
  101. package/bundle/obf/src/generators/collection.js +1 -1
  102. package/bundle/obf/src/generators/component.js +1 -1
  103. package/bundle/obf/src/generators/config.js +1 -1
  104. package/bundle/obf/src/generators/dbc.js +1 -1
  105. package/bundle/obf/src/generators/dockerfile.js +1 -1
  106. package/bundle/obf/src/generators/hook.js +1 -1
  107. package/bundle/obf/src/generators/kits/_index.js +1 -1
  108. package/bundle/obf/src/generators/kits/kit.js +1 -1
  109. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  110. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  111. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  112. package/bundle/obf/src/generators/layout.js +1 -1
  113. package/bundle/obf/src/generators/maka.gen.js +1 -1
  114. package/bundle/obf/src/generators/methods.js +1 -1
  115. package/bundle/obf/src/generators/package.js +1 -1
  116. package/bundle/obf/src/generators/page.js +1 -1
  117. package/bundle/obf/src/generators/publish.js +1 -1
  118. package/bundle/obf/src/generators/route.js +1 -1
  119. package/bundle/obf/src/generators/service.js +1 -1
  120. package/bundle/obf/src/generators/services/_index.js +1 -1
  121. package/bundle/obf/src/generators/services/openssl.js +1 -1
  122. package/bundle/obf/src/generators/services/translation.js +1 -1
  123. package/bundle/obf/src/maka.js +1 -1
  124. package/bundle/obf/src/tool.js +1 -1
  125. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  126. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  127. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  128. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  129. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  130. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  131. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  132. package/bundle/obf/src/tools/https/https.class.js +1 -1
  133. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  134. package/bundle/obf/src/tools/log/log.class.js +1 -1
  135. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  136. package/bundle/obf/src/tools/options/options.class.js +1 -1
  137. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  138. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  139. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  141. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  143. 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(0x203))/0x1+parseInt(w(0x1df))/0x2*(parseInt(w(0x204))/0x3)+-parseInt(w(0x1f0))/0x4+-parseInt(w(0x1d6))/0x5+parseInt(w(0x1e6))/0x6*(parseInt(w(0x1fb))/0x7)+parseInt(w(0x1ee))/0x8*(-parseInt(w(0x1f2))/0x9)+parseInt(w(0x1e7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x65d49));function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x1d2;let f=c[d];return f;},a77d(a,b);}const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const x=a77d;return a77a['toString']()['search'](x(0x1da))[x(0x1e1)]()['constructor'](a77a)[x(0x1f6)](x(0x1da));});a77a();import a77e from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a77c(){const A=['digest','993092CpGXLs','notice','90927KhLggh','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','password','cert','search','update','cacert','toHex','Logging\x20in','4444489iwjjUO','exit','maka\x20login','Logging\x20into\x20https://','header','Password:\x20','Using\x20CA\x20Cert\x20','start','470079rGdCUX','15AZCxAN','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','/api/v1/login','Email:','/api/v1/status','getGlobalConfig','localhost','www.maka-cli.com','error','create','https://','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','2287740xZmQuH','parse','assign','post','(((.+)+)+)+$','MAKA_DEV','authToken','fsi','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','23656iOzhZE','failure','toString','True','success','withSpinner','isFile','6JtViUs','10908870jIZYIp','login','sha256','setGlobalConfig','/api/v1/encodeJwt','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','email','152QeDfcn'];a77c=function(){return A;};return a77c();}import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env'][a77y(0x1db)]===a77y(0x1e2)?a77y(0x20a):a77y(0x20b);Command['create']({'name':a77y(0x1e8),'validOpts':[a77y(0x1ed),a77y(0x1f4),'help',a77y(0x1f8),'debug'],'usage':a77y(0x1fd),'maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77y(0x205),'examples':['maka\x20login','maka\x20login\x20--email\x20<address>\x20--password\x20<password>']},async function(a,b){const z=a77y,c=Log[z(0x1e4)]();try{let d='';b[z(0x1f8)]&&(this[z(0x1dd)][z(0x1e5)](b['cacert'])?(d=b[z(0x1f8)],Log[z(0x1f1)](z(0x201)+d)):Log['error'](z(0x1ec)+d));const f=await this[z(0x1dd)][z(0x209)]();if(f[z(0x1f5)]){if(this['fsi'][z(0x1e5)](f['cert']))d=f[z(0x1f5)];else{Log[z(0x1d2)](z(0x1d5)+d);return;}}Log[z(0x1ff)](z(0x1fe)+hostname);const g={'url':z(0x1d4)+hostname+z(0x208)};b[z(0x1f8)]&&Object[z(0x1d8)](g,{'cert':d});c[z(0x202)]('Preflight\x20Check');const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c[z(0x1e0)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}if(h!==0xc8){c[z(0x1e0)]();throw z(0x1d4)+hostname+z(0x1f3);}c['success']();const i=b[z(0x1ed)]?b['email']:await Actions['ask'](z(0x207)),j=b[z(0x1f4)]?b['password']:await Actions['ask'](z(0x200),!![]),k=a77e['md'][z(0x1e9)][z(0x1d3)]();k[z(0x1f7)](j);const l=k[z(0x1ef)]()[z(0x1f9)](),m={'hostname':hostname,'path':z(0x206),'data':{'email':i,'password':l,'hashed':!![]}};b[z(0x1f8)]&&Object[z(0x1d8)](m,{'cert':d});c[z(0x202)](z(0x1fa));const {data:n,statusCode:o}=await HTTPS['post'](m);if(o===0x198){c['failure']('\x0a');throw z(0x1de)+hostname;}const p=JSON[z(0x1d7)](n);if(p[z(0x1dc)]){const q={'hostname':hostname,'path':z(0x1eb),'headers':{'x-auth-token':p[z(0x1dc)]},'data':{}};b[z(0x1f8)]&&Object['assign'](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS[z(0x1d9)](q),{token:t}=JSON[z(0x1d7)](r);if(s===0x198)throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://'+hostname;const u={'token':p,'hash':t};this[z(0x1dd)][z(0x1ea)](u);}else{c[z(0x1e0)]();throw p;}c[z(0x1e3)]();}catch(v){c['failure'](),console[z(0x1d2)](v),process[z(0x1fc)](0x0);}});
1
+ const a77z=a77d;(function(a,b){const w=a77d,c=a();while(!![]){try{const d=parseInt(w(0xcc))/0x1*(-parseInt(w(0xcb))/0x2)+-parseInt(w(0xd3))/0x3+parseInt(w(0xc9))/0x4+-parseInt(w(0xbc))/0x5*(parseInt(w(0xbb))/0x6)+-parseInt(w(0xd0))/0x7+-parseInt(w(0xd1))/0x8+-parseInt(w(0xe6))/0x9*(-parseInt(w(0xc2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x3ed28));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a77d;if(c){const e=c[x(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const y=a77d;return a77a['toString']()[y(0xc4)]('(((.+)+)+)+$')[y(0xb7)]()['constructor'](a77a)['search'](y(0xca));});a77a();import a77e from'node-forge';import{Command}from'../command.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0xb2;let f=c[d];return f;},a77d(a,b);}import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';function a77c(){const B=['post','create','2831067vKgRuo','Preflight\x20Check','setGlobalConfig','cert','ask','get','env','Logging\x20in','notice','start','success','toString','authToken','isFile','withSpinner','1014774UhJCKG','15kIzeIT','exit','True','update','password','header','60AMwIoJ','fsi','search','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','Email:','cacert','855632SdghXr','(((.+)+)+)+$','369736RbgooJ','1PnUyhb','apply','Using\x20CA\x20Cert\x20','https://','2089297Vzvlvn','3381832kBRbhv','debug','1291533PCtqsm','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','MAKA_DEV','login','error','digest','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','email','/api/v1/encodeJwt','failure','\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','getGlobalConfig','parse','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://','Logging\x20into\x20https://','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','assign'];a77c=function(){return B;};return a77c();}const hostname=process[a77z(0xb2)][a77z(0xd5)]===a77z(0xbe)?'localhost':'www.maka-cli.com';Command[a77z(0xe5)]({'name':a77z(0xd6),'validOpts':[a77z(0xda),a77z(0xc0),'help',a77z(0xc8),a77z(0xd2)],'usage':'maka\x20login','maxArgLength':0x2,'disableAuthCheck':!![],'shortDesc':a77z(0xe2),'examples':['maka\x20login',a77z(0xc5)]},async function(a,b){const A=a77z,c=Log[A(0xba)]();try{let d='';b[A(0xc8)]&&(this[A(0xc3)][A(0xb9)](b[A(0xc8)])?(d=b['cacert'],Log[A(0xb4)](A(0xce)+d)):Log[A(0xd7)](A(0xd9)+d));const f=await this[A(0xc3)][A(0xde)]();if(f[A(0xe9)]){if(this[A(0xc3)][A(0xb9)](f[A(0xe9)]))d=f[A(0xe9)];else{Log[A(0xd7)](A(0xd4)+d);return;}}Log[A(0xc1)](A(0xe1)+hostname);const g={'url':A(0xcf)+hostname+'/api/v1/status'};b[A(0xc8)]&&Object[A(0xe3)](g,{'cert':d});c['start'](A(0xe7));const {statusCode:h}=await HTTPS[A(0xeb)](g);if(h===0x198){c[A(0xdc)]();throw A(0xc6);}if(h!==0xc8){c[A(0xdc)]();throw A(0xcf)+hostname+A(0xdd);}c[A(0xb6)]();const i=b[A(0xda)]?b['email']:await Actions[A(0xea)](A(0xc7)),j=b['password']?b[A(0xc0)]:await Actions[A(0xea)]('Password:\x20',!![]),k=a77e['md']['sha256']['create']();k[A(0xbf)](j);const l=k[A(0xd8)]()['toHex'](),m={'hostname':hostname,'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[A(0xc8)]&&Object[A(0xe3)](m,{'cert':d});c[A(0xb5)](A(0xb3));const {data:n,statusCode:o}=await HTTPS[A(0xe4)](m);if(o===0x198){c[A(0xdc)]('\x0a');throw A(0xe0)+hostname;}const p=JSON['parse'](n);if(p[A(0xb8)]){const q={'hostname':hostname,'path':A(0xdb),'headers':{'x-auth-token':p[A(0xb8)]},'data':{}};b[A(0xc8)]&&Object[A(0xe3)](q,{'cert':d});const {data:r,statusCode:s}=await HTTPS['post'](q),{token:t}=JSON[A(0xdf)](r);if(s===0x198)throw A(0xe0)+hostname;const u={'token':p,'hash':t};this['fsi'][A(0xe8)](u);}else{c[A(0xdc)]();throw p;}c[A(0xb6)]();}catch(v){c[A(0xdc)](),console[A(0xd7)](v),process[A(0xbd)](0x0);}});
@@ -1 +1 @@
1
- const a78o=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=-parseInt(l(0x162))/0x1+parseInt(l(0x16f))/0x2+parseInt(l(0x147))/0x3*(parseInt(l(0x16a))/0x4)+parseInt(l(0x157))/0x5+parseInt(l(0x154))/0x6*(parseInt(l(0x16d))/0x7)+-parseInt(l(0x14c))/0x8*(parseInt(l(0x169))/0x9)+-parseInt(l(0x156))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x47219));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a78d;if(c){const e=c[m(0x16c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const n=a78d;return a78a['toString']()[n(0x168)](n(0x14f))[n(0x144)]()[n(0x161)](a78a)[n(0x168)](n(0x14f));});a78a();function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x144;let f=c[d];return f;},a78d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a78c(){const q=['704394iJRNRE','www.maka-cli.com','https://','getGlobalConfig','toString','token','localhost','39zpBnmI','Logging\x20out\x20of\x20https://','exit','fsi','/api/v1/status','8osxRYy','start','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','(((.+)+)+)+$','True','header','create','assign','397530CGuTJz','post','2587990OWzNRE','2222985HLcFgu','error','cacert','Using\x20CA\x20Cert\x20','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','cert','success','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','maka\x20logout','constructor','388650tVrHGk','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','env','failure','notice','/api/v1/logoutAll','search','697662dliqBk','6388mDLxEf','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','apply','21WHdLvF','get'];a78c=function(){return q;};return a78c();}const hostname=process[a78o(0x164)]['MAKA_DEV']===a78o(0x150)?a78o(0x146):a78o(0x170);Command[a78o(0x152)]({'name':'logout','validOpts':[a78o(0x159)],'usage':a78o(0x160),'maxArgLength':0x2,'shortDesc':a78o(0x14e),'disableAuthCheck':!![],'examples':[a78o(0x160)]},async function(a,b){const p=a78o,c=Log['withSpinner']();try{let d='';b[p(0x159)]&&(this[p(0x14a)]['isFile'](b[p(0x159)])?(d=b[p(0x159)],Log[p(0x166)](p(0x15a)+d)):Log[p(0x158)](p(0x163)+d));const f=await this[p(0x14a)][p(0x172)]();if(f[p(0x15c)]){if(this['fsi']['isFile'](f[p(0x15c)]))d=f[p(0x15c)];else{c[p(0x165)]();throw Log[p(0x158)](p(0x16b)+d);}}Log[p(0x151)](p(0x148)+hostname);const g={'url':p(0x171)+hostname+p(0x14b)};b[p(0x159)]&&Object[p(0x153)](g,{'cert':d});c[p(0x14d)]('Preflight\x20Check');const {statusCode:h}=await HTTPS[p(0x16e)](g);if(h===0x198){c['failure']();throw p(0x15b);}c[p(0x15d)]();if(h!==0xc8){c[p(0x165)]();throw p(0x15f);}if(!f?.[p(0x145)]?.['authToken'])throw Log['error'](p(0x15e));c['start']('Logging\x20out');const i={'hostname':hostname,'path':p(0x167),'data':{},'headers':{'x-auth-token':f['token']['authToken']}};b['cacert']&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[p(0x155)](i);if(j===0x198){c[p(0x165)]('\x0a');throw p(0x15b);}this[p(0x14a)]['setGlobalConfig']({'token':{'authToken':'','userId':'','when':''},'hash':''}),c[p(0x15d)]();}catch(k){k&&console[p(0x158)](k),process[p(0x149)](0x0);}});
1
+ const a78n=a78d;(function(a,b){const l=a78d,c=a();while(!![]){try{const d=parseInt(l(0x15a))/0x1*(parseInt(l(0x16e))/0x2)+parseInt(l(0x14b))/0x3+parseInt(l(0x148))/0x4*(-parseInt(l(0x15e))/0x5)+-parseInt(l(0x15b))/0x6+parseInt(l(0x152))/0x7*(parseInt(l(0x16d))/0x8)+-parseInt(l(0x14c))/0x9+parseInt(l(0x166))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x557cc));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const m=a78d;return a78a['toString']()[m(0x161)]('(((.+)+)+)+$')[m(0x164)]()[m(0x173)](a78a)[m(0x161)](m(0x15d));});a78a();function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x147;let f=c[d];return f;},a78d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a78c(){const p=['Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','www.maka-cli.com','error','success','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','1FMPPji','1139274eJdlxC','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','(((.+)+)+)+$','5YiUcXl','failure','localhost','search','post','cacert','toString','fsi','3900RqLJcN','header','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','create','cert','setGlobalConfig','notice','694360nFnRda','233518mvNCYu','/api/v1/status','token','True','Using\x20CA\x20Cert\x20','constructor','isFile','29432gFjczc','Preflight\x20Check','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','284751jQyskE','106677SQAzeP','start','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','maka\x20logout','getGlobalConfig','exit','28tMrWeM','withSpinner','Logging\x20out'];a78c=function(){return p;};return a78c();}import{HTTPS}from'../tools/https/https.class.js';const hostname=process['env']['MAKA_DEV']===a78n(0x171)?a78n(0x160):a78n(0x156);Command[a78n(0x169)]({'name':'logout','validOpts':['cacert'],'usage':a78n(0x14f),'maxArgLength':0x2,'shortDesc':a78n(0x14e),'disableAuthCheck':!![],'examples':[a78n(0x14f)]},async function(a,b){const o=a78n,c=Log[o(0x153)]();try{let d='';b[o(0x163)]&&(this['fsi'][o(0x147)](b['cacert'])?(d=b[o(0x163)],Log[o(0x16c)](o(0x172)+d)):Log[o(0x157)](o(0x15c)+d));const f=await this[o(0x165)][o(0x150)]();if(f[o(0x16a)]){if(this[o(0x165)][o(0x147)](f[o(0x16a)]))d=f['cert'];else{c[o(0x15f)]();throw Log[o(0x157)](o(0x14a)+d);}}Log[o(0x167)]('Logging\x20out\x20of\x20https://'+hostname);const g={'url':'https://'+hostname+o(0x16f)};b[o(0x163)]&&Object['assign'](g,{'cert':d});c[o(0x14d)](o(0x149));const {statusCode:h}=await HTTPS['get'](g);if(h===0x198){c['failure']();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}c[o(0x158)]();if(h!==0xc8){c[o(0x15f)]();throw o(0x168);}if(!f?.[o(0x170)]?.['authToken'])throw Log[o(0x157)](o(0x159));c[o(0x14d)](o(0x154));const i={'hostname':hostname,'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':f['token']['authToken']}};b[o(0x163)]&&Object['assign'](i,{'cert':d});const {statusCode:j}=await HTTPS[o(0x162)](i);if(j===0x198){c[o(0x15f)]('\x0a');throw o(0x155);}this[o(0x165)][o(0x16b)]({'token':{'authToken':'','userId':'','when':''},'hash':''}),c['success']();}catch(k){k&&console[o(0x157)](k),process[o(0x151)](0x0);}});
@@ -1 +1 @@
1
- const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0x87))/0x1*(parseInt(j(0x75))/0x2)+parseInt(j(0x74))/0x3+-parseInt(j(0x77))/0x4+-parseInt(j(0x6e))/0x5*(-parseInt(j(0x6f))/0x6)+-parseInt(j(0x6d))/0x7+parseInt(j(0x78))/0x8+-parseInt(j(0x6c))/0x9*(-parseInt(j(0x6a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x401c9));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0x7d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0x7a)]()['search'](l(0x79))['toString']()['constructor'](a79a)[l(0x7b)](l(0x79));});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 a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x69;let f=c[d];return f;},a79d(a,b);}function a79c(){const o=['24948SjKmKE','3311952cFXhqS','125325cSYZgs','42OuHfFs','parse','sshSync','maka\x20logs\x20--env\x20dev','getAppConfigPath','1051029GOIXUj','412diBEfE','maka\x20logs','1148716eYVRig','2983456PZvQjz','(((.+)+)+)+$','toString','search','maka\x20l\x20-e\x20p','apply','verbose','env','ssh.json','error','log','assign','fsi','join','View\x20the\x20PM2\x20logs','985OFpUSO','pm2\x20logs','1180LNqVPs','logs'];a79c=function(){return o;};return a79c();}Command['create']({'name':a79m(0x6b),'aliases':['l',a79m(0x82)],'usage':a79m(0x76),'requiredOpts':[a79m(0x7f)],'mustBeInMakaProject':!![],'validOpts':[a79m(0x7e)],'shortDesc':a79m(0x86),'isPro':!![],'examples':[a79m(0x72),'maka\x20logs\x20--env\x20staging',a79m(0x7c)]},function(a,b){const n=a79m;try{const c=n(0x69),d=this[n(0x84)][n(0x73)](b[n(0x7f)]),f=a79f[n(0x85)](d,n(0x80)),g=a79e['readFileSync'](f),h=JSON[n(0x70)](g['toString']());Object[n(0x83)](h,{'env':d}),SSH[n(0x71)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log[n(0x81)](i);}});
1
+ const a79m=a79d;(function(a,b){const j=a79d,c=a();while(!![]){try{const d=-parseInt(j(0xad))/0x1*(-parseInt(j(0xa8))/0x2)+parseInt(j(0xac))/0x3+-parseInt(j(0xba))/0x4*(-parseInt(j(0xa0))/0x5)+-parseInt(j(0xb5))/0x6+parseInt(j(0xbe))/0x7*(-parseInt(j(0xa5))/0x8)+-parseInt(j(0xb3))/0x9+-parseInt(j(0xb4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x31c0c));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a79d;if(c){const e=c[k(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const l=a79d;return a79a[l(0xab)]()[l(0xbd)](l(0xa7))[l(0xab)]()[l(0xa9)](a79a)['search']('(((.+)+)+)+$');});a79a();import a79e from'fs';import a79f from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';function a79c(){const o=['parse','maka\x20l\x20-e\x20p','search','91049UmhNsQ','env','10ATuPRN','maka\x20logs','maka\x20logs\x20--env\x20dev','logs','fsi','96lYGmJZ','assign','(((.+)+)+)+$','232244WVTmMe','constructor','verbose','toString','668466GFwony','2zhoqXM','View\x20the\x20PM2\x20logs','pm2\x20logs','readFileSync','join','log','735219BtIoce','74490dnjCBM','270180kDvKWO','maka\x20logs\x20--env\x20staging','sshSync','create','apply','77952VFIKlD'];a79c=function(){return o;};return a79c();}import{Log}from'../tools/log/log.class.js';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xa0;let f=c[d];return f;},a79d(a,b);}Command[a79m(0xb8)]({'name':a79m(0xa3),'aliases':['l',a79m(0xb2)],'usage':a79m(0xa1),'requiredOpts':[a79m(0xbf)],'mustBeInMakaProject':!![],'validOpts':[a79m(0xaa)],'shortDesc':a79m(0xae),'isPro':!![],'examples':[a79m(0xa2),a79m(0xb6),a79m(0xbc)]},function(a,b){const n=a79m;try{const c=n(0xaf),d=this[n(0xa4)]['getAppConfigPath'](b[n(0xbf)]),f=a79f[n(0xb1)](d,'ssh.json'),g=a79e[n(0xb0)](f),h=JSON[n(0xbb)](g[n(0xab)]());Object[n(0xa6)](h,{'env':d}),SSH[n(0xb7)](c,h,{'tty':!![],'verbose':!![]});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- const a80i=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=-parseInt(f(0x1f3))/0x1+-parseInt(f(0x1fb))/0x2*(-parseInt(f(0x1f0))/0x3)+parseInt(f(0x201))/0x4*(parseInt(f(0x1f9))/0x5)+parseInt(f(0x1ef))/0x6*(-parseInt(f(0x1f2))/0x7)+parseInt(f(0x1fe))/0x8+-parseInt(f(0x1fd))/0x9+-parseInt(f(0x1ec))/0xa*(-parseInt(f(0x1f5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x9fa66));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a[h(0x1fa)]()[h(0x1f6)](h(0x1f4))[h(0x1fa)]()[h(0x202)](a80a)['search']('(((.+)+)+)+$');});function a80c(){const k=['1548980NEibpS','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','maka\x20install\x20meteor','522HKIQTE','28329tVUOrp','maka\x20create\x20Todo','11515djpopx','290850dwBKZo','(((.+)+)+)+$','11abGqzA','search','apply','processAndRunCommand','1745iBmpWN','toString','158NUxEkP','maka\x20<command>\x20[<args>]\x20[<opts>]','5595336Ziobqd','101048SLUSsw','maka\x20run','maka','9124dYGFqF','constructor'];a80c=function(){return k;};return a80c();}a80a();function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a80d(a,b);}import{Command}from'../command.js';const Maka=new Command({'name':a80i(0x200),'minArgLength':0x1,'shortDesc':a80i(0x1ed),'validOpts':[],'usage':a80i(0x1fc),'disableAuthCheck':!![],'examples':['maka\x20--help',a80i(0x1ee),a80i(0x1f1),a80i(0x1ff)],'description':'\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20'},async function(a,b){const j=a80i;try{const c=a[0x0];a['splice'](0x0,0x1),this[j(0x1f8)](c,a,b);}catch(d){process['exit'](0x1);}});export default Maka;
1
+ const a80i=a80d;(function(a,b){const f=a80d,c=a();while(!![]){try{const d=parseInt(f(0xe7))/0x1*(-parseInt(f(0xda))/0x2)+-parseInt(f(0xe5))/0x3*(parseInt(f(0xd1))/0x4)+-parseInt(f(0xdd))/0x5*(-parseInt(f(0xe0))/0x6)+parseInt(f(0xe3))/0x7*(parseInt(f(0xd2))/0x8)+parseInt(f(0xe2))/0x9*(parseInt(f(0xd6))/0xa)+parseInt(f(0xdf))/0xb*(-parseInt(f(0xd4))/0xc)+parseInt(f(0xe8))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x7e9e1));const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a80d;if(c){const e=c[g(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const h=a80d;return a80a['toString']()['search']('(((.+)+)+)+$')['toString']()[h(0xde)](a80a)[h(0xe1)](h(0xd5));});a80a();import{Command}from'../command.js';function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0xd1;let f=c[d];return f;},a80d(a,b);}const Maka=new Command({'name':a80i(0xd7),'minArgLength':0x1,'shortDesc':a80i(0xe4),'validOpts':[],'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','disableAuthCheck':!![],'examples':[a80i(0xe6),'maka\x20install\x20meteor','maka\x20create\x20Todo',a80i(0xd8)],'description':a80i(0xdc)},async function(a,b){const j=a80i;try{const c=a[0x0];a[j(0xd3)](0x0,0x1),this[j(0xdb)](c,a,b);}catch(d){process['exit'](0x1);}});function a80c(){const k=['processAndRunCommand','\x0a\x0a\x20\x20Scaffold\x20Web\x20Applications\x20with\x20Meteor\x20and\x20Maka-CLI\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.-:\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20:-.\x20\x20\x20\x20\x20:--\x20\x20-:\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::\x20\x20::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::::::\x20.:::::::\x20..\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20..:.....\x20.::..::.\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20.::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::::::\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20\x20::::::\x20\x20\x20\x20\x20.::.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.-.\x20\x20\x20\x20\x20.::..-::.\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20.\x20.:::....\x20\x20::..---:..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.:\x20\x20.\x20.:::::::\x20\x20::..::.\x20..\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:::\x20\x20\x20\x20\x20.:.\x20\x20\x20\x20\x20.::\x20\x20:.\x20\x20\x20\x20\x20.-:.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20-::\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:--\x20\x20\x20\x20\x20\x20\x20\x20\x20.--.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.-:\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20:\x0a.:..::...::.\x20\x20\x20....:\x20\x20\x20.:\x20\x20\x20::\x20\x20....:.\x20\x20\x20\x20\x20\x20\x20\x20.::::\x20\x20.:\x20\x20::\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20\x20....:-\x20\x20.-..:.\x20\x20\x20....:-\x20\x20...\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a\x20:.\x20\x20\x20:.\x20\x20\x20:.\x20.:\x20\x20\x20:-\x20\x20.-\x20\x20.:\x20\x20.:\x20\x20\x20:-\x20\x20\x20\x20\x20\x20\x20:.\x20\x20\x20\x20\x20\x20.:\x20\x20.:\x0a.:.\x20\x20\x20:.\x20\x20\x20.:\x20\x20....\x20:.\x20.:.\x20\x20..\x20\x20....\x20:.\x20\x20\x20\x20\x20\x20\x20.....\x20\x20.:.\x20.:.\x0a\x0a\x20\x20','5qFblSU','constructor','130856hhSuXS','992622JaOlAC','search','757305qjMsIS','142009hEuhTX','A\x20command\x20line\x20scaffolding\x20and\x20Dev\x20Ops\x20tool\x20for\x20Meteor\x20applications.','565251GHRHHE','maka\x20--help','34631GzBjYu','20521332TCPloD','8eJzeeu','72FLiZtc','splice','696clUPRT','(((.+)+)+)+$','50tQycLO','maka','maka\x20run','apply','44pmSPCd'];a80c=function(){return k;};return a80c();}export default Maka;
@@ -1 +1 @@
1
- var a81i=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=-parseInt(f(0x17e))/0x1+-parseInt(f(0x186))/0x2+parseInt(f(0x180))/0x3*(parseInt(f(0x183))/0x4)+parseInt(f(0x18d))/0x5+parseInt(f(0x18e))/0x6+parseInt(f(0x182))/0x7*(parseInt(f(0x187))/0x8)+-parseInt(f(0x184))/0x9*(parseInt(f(0x17f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x21e91));function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0x17e;var f=c[d];return f;},a81d(a,b);}function a81c(){var k=['search','8638LQUyYH','357584arbRFU','8226wlQmmn','constructor','381368ILpGTl','64BKXVbp','exit','murder','toString','(((.+)+)+)+$','font-family:\x20monospace','1246625kmAKkC','1441770LnBqjp','create','maka\x20murder','apply','1383WSFUVn','3800oyLncC','6lDGdNL'];a81c=function(){return k;};return a81c();}var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a81d;if(c){var e=c[g(0x191)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var h=a81d;return a81a[h(0x18a)]()[h(0x181)](h(0x18b))[h(0x18a)]()[h(0x185)](a81a)[h(0x181)](h(0x18b));});a81a();import{Command}from'../command.js';Command[a81i(0x18f)]({'name':a81i(0x189),'usage':a81i(0x190),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var j=a81i;try{console['log']('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a',j(0x18c));}catch(a){console['error'](a),process[j(0x188)](0x0);}});
1
+ var a81h=a81d;(function(a,b){var f=a81d,c=a();while(!![]){try{var d=parseInt(f(0xb1))/0x1+-parseInt(f(0xaf))/0x2*(parseInt(f(0xa2))/0x3)+parseInt(f(0xa5))/0x4*(-parseInt(f(0xad))/0x5)+parseInt(f(0xaa))/0x6+parseInt(f(0xa1))/0x7+-parseInt(f(0xae))/0x8+parseInt(f(0xa4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x856eb));var a81b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){var g=a81d;return a81a[g(0xac)]()['search'](g(0xa6))[g(0xac)]()[g(0xb0)](a81a)['search'](g(0xa6));});function a81d(a,b){var c=a81c();return a81d=function(d,e){d=d-0xa1;var f=c[d];return f;},a81d(a,b);}function a81c(){var j=['(((.+)+)+)+$','maka\x20murder','log','murder','1581438UAXBfJ','create','toString','1712310cLFGmd','7947464WLsBwd','574806zIdyHA','constructor','501282kIewSQ','135415HpVaus','6xAfuxQ','font-family:\x20monospace','21221676UiAtqD','12xxCbGZ'];a81c=function(){return j;};return a81c();}a81a();import{Command}from'../command.js';Command[a81h(0xab)]({'name':a81h(0xa9),'usage':a81h(0xa7),'maxArgLength':0x1,'shortDesc':'Murrrrderrrrr','validOpts':[]},async function(){var i=a81h;try{console[i(0xa8)]('%c\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20.___.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20,-^\x20\x20\x20\x20\x20^-.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20//\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20/\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x0a.-------|\x20|--------------/\x20\x20__\x20\x20\x20\x20\x20__\x20\x20\x5c-------------------.__\x0a|WMWMWMW|\x20|>>>>>>>>>>>>>\x20|\x20/>>\x5c\x20\x20\x20/>>\x5c\x20|>>>>>>>>>>>>>>>>>>>>>>:>\x0a`-------|\x20|--------------|\x20\x5c__/\x20\x20\x20\x5c__/\x20|-------------------\x27^^\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x5c\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20/|\x5c\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c)\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x5c_/\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|\x20\x20\x20\x20\x20\x20\x20|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20|+H+H+H+|\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x5c\x20\x20\x20\x20\x20\x20\x20/\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20^-----^\x0a\x0a',i(0xa3));}catch(a){console['error'](a),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a82o=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=parseInt(m(0x101))/0x1+parseInt(m(0x120))/0x2+-parseInt(m(0x10a))/0x3+parseInt(m(0x129))/0x4*(-parseInt(m(0x106))/0x5)+parseInt(m(0x102))/0x6+parseInt(m(0x11c))/0x7+-parseInt(m(0x117))/0x8*(parseInt(m(0x128))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xee9c2));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const n=a82d;return a82a['toString']()['search'](n(0x108))[n(0x116)]()[n(0x121)](a82a)[n(0x125)](n(0x108));});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';function a82c(){const q=['3714924VKneAf','getMakaProjectConfig','localhost','isFile','maka\x20proxy','readFileSync','genCSR','utf8','genSSC','development','listenPort','processAndRunGenerator','toString','56nOsejY','.key','fsi','\x20to\x20','error','11425400RVfksH','sslconfig','maka\x20proxy\x20--target-host\x20http://192.168.1.20','help','1681516xMMOid','constructor','proxy','targetPort','listen','search','=>\x20SSL\x20Proxy\x20forwarding\x20','create','3337902FeUXpz','2568LpQWLa','.crt','1872924IVluyr','11339244PcNvJA','bright','targetHost','.csr','11090eLnkBK','join','(((.+)+)+)+$','appName'];a82c=function(){return q;};return a82c();}function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x101;let f=c[d];return f;},a82d(a,b);}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[a82o(0x127)]({'name':a82o(0x122),'usage':a82o(0x10e),'mustBeInMakaProject':!![],'validOpts':[a82o(0x11f),a82o(0x123),a82o(0x114),a82o(0x104)],'maxArgLength':0x1,'shortDesc':'Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':['maka\x20proxy','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000',a82o(0x11e)]},async function(a,b){const p=a82o,c=this[p(0x119)][p(0x10b)](),d=p(0x113),e=this[p(0x119)]['getAppConfigPath'](d),f=this[p(0x119)]['mkKeysDir']({'configPath':e}),g=b[p(0x123)]?Number(b[p(0x123)]):0xbb8,h=b[p(0x114)]?Number(b['listenPort']):0xd73,i=b[p(0x104)]?b[p(0x104)]:p(0x10c),j=a82f['join'](f,c[p(0x109)]+p(0x118)),k=a82f[p(0x107)](f,c[p(0x109)]+p(0x12a));(!this[p(0x119)][p(0x10d)](j)||!this[p(0x119)][p(0x10d)](k))&&(await a82h[p(0x115)](p(0x11d),[],{'env':d}),SSL[p(0x110)]({'keyName':c['appName']+p(0x118),'csrName':c[p(0x109)]+p(0x105),'cwd':f}),SSL[p(0x112)]({'keyName':c['appName']+p(0x118),'crtName':c['appName']+p(0x12a),'cwd':f}));if(g===h){Log[p(0x11b)]('Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.');throw new UsageError();}const l={'ssl':{'key':a82e[p(0x10f)](j,p(0x111)),'cert':a82e[p(0x10f)](k,p(0x111))},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g['createProxyServer'](l)[p(0x124)](Number(h)),Log[p(0x103)](p(0x126)+h+p(0x11a)+g);});
1
+ const a82p=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=parseInt(m(0xa6))/0x1*(parseInt(m(0xb7))/0x2)+-parseInt(m(0xa0))/0x3*(-parseInt(m(0x95))/0x4)+-parseInt(m(0xb4))/0x5*(-parseInt(m(0x9b))/0x6)+-parseInt(m(0x93))/0x7*(parseInt(m(0xb6))/0x8)+-parseInt(m(0xaf))/0x9*(parseInt(m(0xad))/0xa)+parseInt(m(0x9a))/0xb*(-parseInt(m(0xa2))/0xc)+-parseInt(m(0x9f))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0xab82f));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a82d;if(c){const e=c[n(0xae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const o=a82d;return a82a[o(0x94)]()[o(0xb5)](o(0x8e))['toString']()[o(0xab)](a82a)[o(0xb5)](o(0x8e));});a82a();import a82e from'fs';import a82f from'path';import a82g from'http-proxy';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a82c(){const r=['fsi','8078756vpWKLt','toString','24488irQmRt','isFile','Proxy\x20HTTPS\x20requests\x20to\x20another\x20Server','development','maka\x20proxy\x20--target-port\x203000\x20--listen-port\x204000','8052QwXRqP','12itOhOu','utf8','join','\x20to\x20','6918730IfRHRw','375XKsALZ','listen','156RAyJQw','Target\x20and\x20Listen\x20ports\x20cannot\x20be\x20the\x20same.','maka\x20proxy\x20--target-host\x20http://192.168.1.20','.key','29sxLRiZ','create','listenPort','readFileSync','localhost','constructor','targetPort','10bsimmH','apply','1139193CPbXhi','getMakaProjectConfig','mkKeysDir','help','=>\x20SSL\x20Proxy\x20forwarding\x20','1926495hSvqKo','search','8NdJljc','68212zsomoT','(((.+)+)+)+$','appName','maka\x20proxy','targetHost'];a82c=function(){return r;};return a82c();}function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x8e;let f=c[d];return f;},a82d(a,b);}import{SSL}from'../tools/ssl/ssl.class.js';import a82h from'../generators/maka.gen.js';Command[a82p(0xa7)]({'name':'proxy','usage':a82p(0x90),'mustBeInMakaProject':!![],'validOpts':[a82p(0xb2),a82p(0xac),a82p(0xa8),a82p(0x91)],'maxArgLength':0x1,'shortDesc':a82p(0x97),'description':'\x0a\x20\x20If\x20you\x27re\x20running\x20your\x20Meteor\x20service,\x20and\x20need\x20to\x20stand\x20up\x20an\x20SSL\x0a\x20\x20Proxy,\x20this\x20command\x20will\x20automatically\x20create\x20a\x20key\x20pair\x20for\x20use\x20in\x20an\x20HTTPS\x0a\x20\x20proxy.\x0a\x0a\x20\x20For\x20example,\x20you\x27re\x20running\x20http://localhost:3000\x20with\x20\x22maka\x20run\x22\x20then\x20open\x20a\x20new\x0a\x20\x20terminal\x20and\x20run\x20\x22maka\x20proxy\x22\x20to\x20standup\x20https://localhost:3443.\x0a\x20\x20Then\x20open\x20your\x20browser\x20to\x20that\x20URL\x20(you\x20may\x20need\x20to\x20trust\x20the\x20certificates\x0a\x20\x20because\x20they\x20are\x20self-signed)\x20and\x20you\x27ll\x20have\x20an\x20SSL\x20connection\x20to\x20your\x0a\x20\x20http://localhost:3000.\x0a\x0a\x20\x20To\x20avoid\x20possibly\x20overwriting\x20PKI\x20files\x20in\x20higher\x20environments,\x20\x22maka\x20proxy\x22\x0a\x20\x20will\x20try\x20to\x20only\x20generate\x20/\x20store\x20PKI\x20keys\x20in\x20the\x20development\x20environment.\x0a\x20\x20','examples':[a82p(0x90),a82p(0x99),a82p(0xa4)]},async function(a,b){const q=a82p,c=this['fsi'][q(0xb0)](),d=q(0x98),e=this[q(0x92)]['getAppConfigPath'](d),f=this['fsi'][q(0xb1)]({'configPath':e}),g=b['targetPort']?Number(b['targetPort']):0xbb8,h=b[q(0xa8)]?Number(b[q(0xa8)]):0xd73,i=b[q(0x91)]?b[q(0x91)]:q(0xaa),j=a82f['join'](f,c[q(0x8f)]+q(0xa5)),k=a82f[q(0x9d)](f,c[q(0x8f)]+'.crt');(!this['fsi'][q(0x96)](j)||!this['fsi'][q(0x96)](k))&&(await a82h['processAndRunGenerator']('sslconfig',[],{'env':d}),SSL['genCSR']({'keyName':c[q(0x8f)]+'.key','csrName':c[q(0x8f)]+'.csr','cwd':f}),SSL['genSSC']({'keyName':c[q(0x8f)]+'.key','crtName':c[q(0x8f)]+'.crt','cwd':f}));if(g===h){Log['error'](q(0xa3));throw new UsageError();}const l={'ssl':{'key':a82e[q(0xa9)](j,q(0x9c)),'cert':a82e['readFileSync'](k,'utf8')},'target':{'host':i,'port':Number(g)},'ws':!![],'xfwd':!![]};a82g['createProxyServer'](l)[q(0xa1)](Number(h)),Log['bright'](q(0xb3)+h+q(0x9e)+g);});
@@ -1 +1 @@
1
- function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x142;let f=c[d];return f;},a83d(a,b);}const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=-parseInt(n(0x146))/0x1*(parseInt(n(0x153))/0x2)+parseInt(n(0x169))/0x3+parseInt(n(0x144))/0x4+-parseInt(n(0x143))/0x5+parseInt(n(0x162))/0x6*(-parseInt(n(0x165))/0x7)+-parseInt(n(0x163))/0x8*(-parseInt(n(0x167))/0x9)+-parseInt(n(0x15a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0xba1de));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a['toString']()[p(0x15f)](p(0x14a))[p(0x151)]()[p(0x14c)](a83a)[p(0x15f)](p(0x14a));});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a83c(){const s=['pm2.config.js','4002890JXmTkz','~/pm2.config.js','sshSync','Checking\x20remote\x20host\x20availability','readFileSync','search','pm2\x20delete\x20all','ses.json','274182hrRAON','57752HjKoZn','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','7IWgFyv','env','1746wxqLoJ','success','3605022NNpOwL','Reconfigure\x20your\x20deployed\x20applications','exit','4388395utmLjb','2368616hqSpJa','fsi','1108315cbaSTm','settings.json','getAppConfigPath','maka\x20reconfig\x20--env\x20prod','(((.+)+)+)+$','scp','constructor','~/settings.json','~/ses.json','apply','ssh.json','toString','ssh','2NdzSWT','Remote\x20host\x20connection\x20successful','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','ping','reconfig','join'];a83c=function(){return s;};return a83c();}Command['create']({'name':a83q(0x157),'validOpts':[''],'requiredOpts':[a83q(0x166)],'mustBeInMakaProject':!![],'usage':'maka\x20reconfig','isPro':!![],'shortDesc':a83q(0x16a),'description':'\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','examples':[a83q(0x149)]},async function(a,b){const r=a83q;try{const c=this[r(0x145)][r(0x148)](b[r(0x166)]),d=a83f[r(0x158)](c,r(0x150)),f=a83e[r(0x15e)](d)[r(0x151)](),g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log['notice'](r(0x15d));const h=SSH[r(0x156)]('uname\x20-a',g);if(!h)throw r(0x155);if(h)Log[r(0x168)](r(0x154));const i=a83f[r(0x158)](c,'_keys',r(0x161));if(a83e['existsSync'](i)){const l={'source':i,'dest':r(0x14e),'verbose':!![]};SSH['scp'](l,{...g});}const j=a83f[r(0x158)](c,r(0x159));SSH[r(0x14b)]({'source':j,'dest':r(0x15b),'verbose':!![]},{...g});const k=a83f['join'](c,r(0x147));SSH['scp']({'source':k,'dest':r(0x14d),'verbose':!![]},{...g}),SSH[r(0x15c)](r(0x160),g),await SSH[r(0x152)](r(0x164),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0x142)](0x0);}});
1
+ const a83q=a83d;(function(a,b){const n=a83d,c=a();while(!![]){try{const d=parseInt(n(0xb5))/0x1*(parseInt(n(0xaf))/0x2)+parseInt(n(0xb1))/0x3*(-parseInt(n(0xb7))/0x4)+-parseInt(n(0xb3))/0x5*(-parseInt(n(0xc1))/0x6)+parseInt(n(0xbf))/0x7+-parseInt(n(0xc3))/0x8*(parseInt(n(0xc4))/0x9)+-parseInt(n(0xac))/0xa+-parseInt(n(0xcc))/0xb*(-parseInt(n(0xc2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x422de));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a83d;if(c){const e=c[o(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const p=a83d;return a83a['toString']()[p(0xbe)](p(0xc0))['toString']()['constructor'](a83a)['search']('(((.+)+)+)+$');});a83a();import a83e from'fs';import a83f from'path';import{Command}from'../command.js';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xa0;let f=c[d];return f;},a83d(a,b);}import{Log}from'../tools/log/log.class.js';function a83c(){const s=['success','_keys','uname\x20-a','env','reconfig','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','ping','4604600QQvXOr','scp','pm2\x20delete\x20all','43156RNHXFV','apply','237CmufXj','maka\x20reconfig\x20--env\x20prod','3865xQPEzk','settings.json','7NThFyr','~/ses.json','2796wZcCIM','\x0a\x20\x20If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x0a\x20\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.\x0a\x20\x20','existsSync','ses.json','assign','~/pm2.config.js','getAppConfigPath','search','3180310hcWgep','(((.+)+)+)+$','2916neGyjj','2856SLFVvy','2917688WqjSOs','9TwIzca','Reconfigure\x20your\x20deployed\x20applications','Checking\x20remote\x20host\x20availability','maka\x20reconfig','echo\x20\x22\x22\x20&&\x20pm2\x20start\x20pm2.config.js\x20&&\x20echo\x20\x22\x22\x20||\x20echo\x20\x22Cound\x20not\x20find\x20PM2,\x20have\x20you\x20deployed\x20the\x20app\x20yet?\x22','fsi','create','join','7876cSWtKC','readFileSync','toString','~/settings.json','sshSync','exit'];a83c=function(){return s;};return a83c();}import{SSH}from'../tools/ssh/ssh.class.js';Command[a83q(0xca)]({'name':a83q(0xa9),'validOpts':[''],'requiredOpts':[a83q(0xa8)],'mustBeInMakaProject':!![],'usage':a83q(0xc7),'isPro':!![],'shortDesc':a83q(0xc5),'description':a83q(0xb8),'examples':[a83q(0xb2)]},async function(a,b){const r=a83q;try{const c=this[r(0xc9)][r(0xbd)](b['env']),d=a83f['join'](c,'ssh.json'),f=a83e[r(0xa0)](d)[r(0xa1)](),g=JSON['parse'](f);Object[r(0xbb)](g,{'env':c}),Log['notice'](r(0xc6));const h=SSH[r(0xab)](r(0xa7),g);if(!h)throw r(0xaa);if(h)Log[r(0xa5)]('Remote\x20host\x20connection\x20successful');const i=a83f[r(0xcb)](c,r(0xa6),r(0xba));if(a83e[r(0xb9)](i)){const l={'source':i,'dest':r(0xb6),'verbose':!![]};SSH[r(0xad)](l,{...g});}const j=a83f[r(0xcb)](c,'pm2.config.js');SSH[r(0xad)]({'source':j,'dest':r(0xbc),'verbose':!![]},{...g});const k=a83f['join'](c,r(0xb4));SSH[r(0xad)]({'source':k,'dest':r(0xa2),'verbose':!![]},{...g}),SSH[r(0xa3)](r(0xae),g),await SSH['ssh'](r(0xc8),{...g},{'verbose':!![]});}catch(m){console['error'](m),process[r(0xa4)](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x77))/0x1*(-parseInt(f(0x6e))/0x2)+parseInt(f(0x7a))/0x3+-parseInt(f(0x74))/0x4+parseInt(f(0x73))/0x5+-parseInt(f(0x78))/0x6*(-parseInt(f(0x75))/0x7)+-parseInt(f(0x72))/0x8+parseInt(f(0x79))/0x9*(parseInt(f(0x71))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0xdcdcb));function a84c(){var i=['5376344FIazBT','2681WJyKFM','search','15421aeHWxQ','11892TszuYe','3908835KGOWne','147876CBLfpp','constructor','(((.+)+)+)+$','108kmzfil','apply','toString','30LwUraj','15440uxKJlV','4860290sVUMcf'];a84c=function(){return i;};return a84c();}var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a84d;if(c){var e=c[g(0x6f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var h=a84d;return a84a['toString']()[h(0x76)](h(0x6d))[h(0x70)]()[h(0x7b)](a84a)[h(0x76)](h(0x6d));});a84a();import'./run.command.js';function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x6d;var f=c[d];return f;},a84d(a,b);}import'./docker.sub.cmd.js';
1
+ function a84d(a,b){var c=a84c();return a84d=function(d,e){d=d-0x165;var f=c[d];return f;},a84d(a,b);}(function(a,b){var f=a84d,c=a();while(!![]){try{var d=parseInt(f(0x16f))/0x1*(parseInt(f(0x167))/0x2)+parseInt(f(0x16e))/0x3*(parseInt(f(0x169))/0x4)+-parseInt(f(0x16d))/0x5+parseInt(f(0x170))/0x6+-parseInt(f(0x16c))/0x7*(-parseInt(f(0x16a))/0x8)+-parseInt(f(0x168))/0x9+-parseInt(f(0x171))/0xa*(parseInt(f(0x172))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x69291));var a84b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){var g=a84d;return a84a[g(0x166)]()['search'](g(0x16b))['toString']()[g(0x165)](a84a)['search'](g(0x16b));});a84a();import'./run.command.js';function a84c(){var h=['3RqQekA','1625292ZdNSIZ','1840ZsXDKP','9515RrHLJg','constructor','toString','254536mpHxFQ','4327272OzfpaK','16732YSodKv','19832eIQJjd','(((.+)+)+)+$','399FMGfZZ','1356285NyxWGg','393iYTmZY'];a84c=function(){return h;};return a84c();}import'./docker.sub.cmd.js';
@@ -1 +1 @@
1
- const a85l=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x114))/0x1+-parseInt(i(0x112))/0x2*(parseInt(i(0xf9))/0x3)+-parseInt(i(0x104))/0x4*(-parseInt(i(0x101))/0x5)+-parseInt(i(0x118))/0x6+-parseInt(i(0x105))/0x7*(-parseInt(i(0x117))/0x8)+-parseInt(i(0xfe))/0x9*(parseInt(i(0x10a))/0xa)+parseInt(i(0x116))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0xa0e5f));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a85d;if(c){const e=c[j(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const k=a85d;return a85a[k(0xfd)]()[k(0xf7)](k(0x115))[k(0xfd)]()[k(0x119)](a85a)['search'](k(0x115));});a85a();import a85e from'./run.command.js';import{execSync}from'child_process';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0xf6;let f=c[d];return f;},a85d(a,b);}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(0x10e)]({'name':a85l(0x110),'aliases':['d'],'shortDesc':a85l(0xf6),'description':a85l(0xf8),'usage':'maka\x20run\x20docker','isPro':!![],'validOpts':['']},async function(){const m=a85l;try{const a=this[m(0x103)]['getMakaProjectConfig'](),b=this['fsi']['getAppConfigPath'](m(0x110)),c=a85f[m(0xfc)](b,m(0x107)),d=a85f[m(0xfc)](b,m(0x10f));Log['notice'](m(0x102)+d),Log[m(0xff)](m(0x106)+c);if(!a85g[m(0xfa)](c)){const f={'app':a[m(0x10b)],'appFileCase':paramCase(a[m(0x10b)])},g=this[m(0x103)][m(0x100)]({'srcPath':m(0x113),'context':f})+'\x0a';this[m(0x103)][m(0x10c)]({'filePath':c,'data':g});}execSync(m(0x10d)+b+m(0xfb),{'stdio':m(0x108)});}catch(h){process[m(0x109)](0x1);}},a85e);function a85c(){const n=['126KhoNiB','Docker\x20Compose\x20Path:\x20','docker-compose.yaml','inherit','exit','70550moFWUE','appName','createFile','docker-compose\x20--project-directory\x20','create','pm2.config.js','docker','apply','1329136hTjlMp','config/docker-compose.yaml','475505UFZkYB','(((.+)+)+)+$','990352fNKDwD','504872XKXSoq','804054SBbYND','constructor','Run\x20your\x20application\x20in\x20a\x20Docker\x20container','search','\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','3lPBhas','existsSync','\x20up\x20--remove-orphans','join','toString','333LRaEgM','notice','templateContent','320tZJfrq','PM2\x20Config\x20File:\x20','fsi','1072kdMzWl'];a85c=function(){return n;};return a85c();}
1
+ const a85k=a85d;(function(a,b){const i=a85d,c=a();while(!![]){try{const d=parseInt(i(0x188))/0x1*(-parseInt(i(0x186))/0x2)+-parseInt(i(0x18e))/0x3+parseInt(i(0x198))/0x4+parseInt(i(0x183))/0x5*(parseInt(i(0x181))/0x6)+-parseInt(i(0x19c))/0x7*(parseInt(i(0x196))/0x8)+parseInt(i(0x19a))/0x9+-parseInt(i(0x19e))/0xa*(-parseInt(i(0x192))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a85c,0x6be8e));const a85b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a85a=a85b(this,function(){const j=a85d;return a85a['toString']()[j(0x187)]('(((.+)+)+)+$')[j(0x18f)]()[j(0x190)](a85a)[j(0x187)](j(0x182));});a85a();function a85c(){const m=['(((.+)+)+)+$','1077915pHcNNb','maka\x20run\x20docker','notice','329818OnBlaP','search','1qwdUEc','getMakaProjectConfig','\x20up\x20--remove-orphans','\x0a\x20\x20Run\x20your\x20application\x20in\x20a\x20Docker\x20container.\x20\x20Docker\x20Desktop\x20or\x20Colmia\x20is\x20required.\x0a\x0a\x20\x20Colima\x20is\x20a\x20great\x20alternative\x20to\x20Docker\x20Desktop,\x20and\x20it\x20is\x20free!\x0a\x20\x20Colima:\x20https://github.com/abiosoft/colima\x0a\x0a\x20\x20A\x20docker-compose.yml\x20file\x20(location\x20defaulted\x20to\x20the\x20\x22config/docker\x22\x20folder)\x0a\x20\x20is\x20used\x20to\x20startup\x20mongo\x20and\x20load\x20the\x20built\x20image\x27\x0a\x20\x20','pm2.config.js','docker-compose\x20--project-directory\x20','1159560uFXJyh','toString','constructor','join','21670kyJJtM','config/docker-compose.yaml','appName','fsi','16UaHuVb','docker-compose.yaml','2243004LVQvNa','docker','2240838NpURJe','inherit','1824557CMtDgq','getAppConfigPath','1390kjzwKo','existsSync','exit','12iQRWXT'];a85c=function(){return m;};return a85c();}import a85e from'./run.command.js';function a85d(a,b){const c=a85c();return a85d=function(d,e){d=d-0x17f;let f=c[d];return f;},a85d(a,b);}import{execSync}from'child_process';import a85f from'path';import a85g from'fs';import{Log}from'../../tools/log/log.class.js';import{Command}from'../../command.js';import{paramCase}from'change-case';Command['create']({'name':a85k(0x199),'aliases':['d'],'shortDesc':'Run\x20your\x20application\x20in\x20a\x20Docker\x20container','description':a85k(0x18b),'usage':a85k(0x184),'isPro':!![],'validOpts':['']},async function(){const l=a85k;try{const a=this['fsi'][l(0x189)](),b=this[l(0x195)][l(0x19d)](l(0x199)),c=a85f[l(0x191)](b,l(0x197)),d=a85f[l(0x191)](b,l(0x18c));Log[l(0x185)]('PM2\x20Config\x20File:\x20'+d),Log['notice']('Docker\x20Compose\x20Path:\x20'+c);if(!a85g[l(0x17f)](c)){const f={'app':a[l(0x194)],'appFileCase':paramCase(a[l(0x194)])},g=this[l(0x195)]['templateContent']({'srcPath':l(0x193),'context':f})+'\x0a';this[l(0x195)]['createFile']({'filePath':c,'data':g});}execSync(l(0x18d)+b+l(0x18a),{'stdio':l(0x19b)});}catch(h){process[l(0x180)](0x1);}},a85e);
@@ -1 +1 @@
1
- const a86t=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=parseInt(p(0x1a6))/0x1*(-parseInt(p(0x170))/0x2)+parseInt(p(0x19f))/0x3*(parseInt(p(0x17a))/0x4)+parseInt(p(0x17c))/0x5*(parseInt(p(0x1a1))/0x6)+parseInt(p(0x182))/0x7+-parseInt(p(0x177))/0x8*(parseInt(p(0x181))/0x9)+-parseInt(p(0x183))/0xa+-parseInt(p(0x172))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xb5042));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a[r(0x18a)]()[r(0x176)](r(0x16d))[r(0x18a)]()[r(0x16b)](a86a)['search'](r(0x16d));});a86a();import a86e from'path';import a86f from'fs';function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x168;let f=c[d];return f;},a86d(a,b);}import a86g from'dotenv';import{rimraf}from'rimraf';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){const s=a86d;a86f[s(0x175)](a,'r'),a86g['config']({'path':a});},Run=Command[a86t(0x17e)]({'name':'run','mustBeInMakaProject':!![],'shortDesc':a86t(0x197),'description':a86t(0x192),'validOpts':['env',a86t(0x1a8),a86t(0x16c),a86t(0x1a7),'inspect',a86t(0x1a4),a86t(0x18c),'allowIncompatibleUpdate',a86t(0x17b),'x',a86t(0x179),a86t(0x19d)]},async function(a,b){const u=a86t;try{await this[u(0x16e)]['checkMeteorPackage'](u(0x18f),{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this['fsi'][u(0x190)](),m=a86e[u(0x19e)](l,u(0x189),u(0x18d),u(0x19c),u(0x187));this[u(0x16e)][u(0x1a2)](m)&&await rimraf(m);}if(b[u(0x185)]&&b[u(0x185)]===!![]||b['m']&&b['m']===!![])throw u(0x199);await this[u(0x16e)][u(0x191)]();const d=b[u(0x173)]?b[u(0x173)]:u(0x171),f=this[u(0x16e)]['getAppConfigPath'](d),g=a86e[u(0x19e)](f,'process.env');let h=a86e['join'](f,u(0x196));b[u(0x198)]?h=b[u(0x198)]:h=a86e[u(0x19e)](f,'settings.json');if(this[u(0x16e)][u(0x17f)](g)&&!b[u(0x1a8)])Log[u(0x1a5)](u(0x16f)+g),syncSource(g);else!b[u(0x1a8)]&&Log[u(0x193)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);this['fsi']['isFile'](h)?(Log['notice'](u(0x184)+h),a=a[u(0x18b)](['--settings',h])):Log[u(0x193)](u(0x1a3)+h);const i=f[u(0x169)](a86e[u(0x195)]),j=i[i[u(0x19b)]-0x1];j===u(0x19d)&&a[u(0x168)](u(0x188));const k=process[u(0x194)][u(0x186)](0x2)[u(0x17d)](n=>n!==u(0x19a))[u(0x17d)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const v=u;n===v(0x1a0)&&k[v(0x178)](o,0x2),n==='-e'&&k[v(0x178)](o,0x2);}),this[u(0x16e)][u(0x16a)](u(0x19a),a['concat'](k));}catch(n){console[u(0x180)](n),process[u(0x174)](0x1);}});export default Run;function a86c(){const w=['compareMakaToLatest','\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.','warn','argv','sep','settings.json','Run\x20your\x20Meteor\x20application','settings','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)','run','length','local','production','join','6SRFGKB','--env','6GbOiXG','isDirectory','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','mobileServer','notice','59fRihRV','port','docker','push','split','invokeMeteorCommand','constructor','rawLogs','(((.+)+)+)+$','fsi','Node\x20Env\x20Config:\x20','30746oxujTS','development','5014471SmiKgM','env','exit','openSync','search','249800hkNDZA','splice','exclude-archs','2171712PnoyBG','extraPackages','7187055fAtRjF','filter','create','isFile','error','225sBDkgL','7616798GiMGKX','7264460HKjwzH','Meteor\x20Settings:\x20','mobile-server','slice','cordova-build','--production','app','toString','concat','verbose','.meteor','apply','autoupdate','findProjectDirectory'];a86c=function(){return w;};return a86c();}
1
+ const a86s=a86d;(function(a,b){const p=a86d,c=a();while(!![]){try{const d=-parseInt(p(0x87))/0x1*(parseInt(p(0xaa))/0x2)+parseInt(p(0x7e))/0x3*(parseInt(p(0x9e))/0x4)+-parseInt(p(0x9f))/0x5+-parseInt(p(0xa5))/0x6+-parseInt(p(0xab))/0x7+-parseInt(p(0x9a))/0x8+-parseInt(p(0x78))/0x9*(-parseInt(p(0x9b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a86c,0xccbf7));const a86b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a86d;if(c){const e=c[q(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a86a=a86b(this,function(){const r=a86d;return a86a['toString']()[r(0x99)]('(((.+)+)+)+$')[r(0x8e)]()[r(0x98)](a86a)[r(0x99)](r(0x81));});function a86d(a,b){const c=a86c();return a86d=function(d,e){d=d-0x75;let f=c[d];return f;},a86d(a,b);}a86a();import a86e from'path';import a86f from'fs';import a86g from'dotenv';import{rimraf}from'rimraf';function a86c(){const v=['mobileServer','Node\x20Env\x20Config:\x20','exclude-archs','autoupdate','production','constructor','search','3780200gteqKA','33050LhUHoF','warn','local','244IOwXeD','1825950BjDSaD','cordova-build','compareMakaToLatest','verbose','Please\x20provide\x20a\x20URL\x20where\x20your\x20mobile\x20app\x20should\x20connect\x20to\x20your\x20server\x20(e.g.,\x20-m\x20|\x20--mobile-server=https://example-server.com)','error','7730910rcvadn','length','fsi','.meteor','Run\x20your\x20Meteor\x20application','2HwqjHj','9892484ylJnjX','--env','create','exit','Meteor\x20Settings:\x20','mobile-server','argv','extraPackages','14031PfQXPp','env','join','filter','app','isFile','5115xSFDST','run','findProjectDirectory','(((.+)+)+)+$','settings','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','--settings','splice','notice','878441FaQNmv','apply','concat','invokeMeteorCommand','split','isDirectory','sep','toString','rawLogs','development','docker','slice'];a86c=function(){return v;};return a86c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';const syncSource=function(a){a86f['openSync'](a,'r'),a86g['config']({'path':a});},Run=Command[a86s(0xad)]({'name':a86s(0x7f),'mustBeInMakaProject':!![],'shortDesc':a86s(0xa9),'description':'\x0a\x20\x20maka\x20run\x0a\x20\x20-e\x20|\x20--env\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20target\x20environment.\x20\x20Will\x20automatically\x20pull\x20in\x20the\x20meteor\x20settings\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20file\x20(settings.json)\x20and\x20any\x20environment\x20options\x20that\x20have\x20been\x20enabled.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20-r\x20|\x20--raw-logs\x20\x20\x20\x20\x20\x20\x20Only\x20output\x20the\x20meteor\x20logs\x20without\x20the\x20timestamp.\x0a\x0a\x20\x20-p\x20|\x20--port\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20The\x20port\x20to\x20run\x20the\x20meteor\x20server\x20on.\x20Defaults\x20to\x20port\x203000.\x0a\x0a\x20\x20-i\x20|\x20--inspect\x20\x20\x20\x20\x20\x20\x20\x20Tells\x20the\x20meteor\x20server\x20to\x20run\x20nodejs\x20in\x20debug\x20mode.\x20Starts\x20a\x20debug\x20session\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20which\x20can\x20be\x20accessed\x20by\x20Chrome\x20Dev\x20Tools\x20or\x20another\x20debug\x20terminal.\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20-m\x20|\x20--mobile-server\x20\x20Specify\x20a\x20different\x20backend\x20server\x20to\x20connect\x20to.\x20\x20Mainly\x20used\x20when\x20running\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20-x\x20|\x20--exclude-archs\x20\x20Don\x27t\x20create\x20bundles\x20for\x20certain\x20web\x20architectures\x20(comma\x20separated,\x20for\x20example:\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20--production\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Runs\x20the\x20application\x20in\x20production\x20mode;\x20minifies\x20and\x20bundles\x20all\x20files\x20and\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20removes\x20development\x20packages.','validOpts':['env',a86s(0x91),a86s(0x8f),'port','inspect',a86s(0x93),a86s(0xa2),'allowIncompatibleUpdate',a86s(0x77),'x',a86s(0x95),a86s(0x97)]},async function(a,b){const t=a86s;try{await this[t(0xa7)]['checkMeteorPackage'](t(0x96),{'shouldInstall':!![]});const c=a[0x0];if(c==='ios'){const l=this['fsi'][t(0x80)](),m=a86e[t(0x7a)](l,t(0x7c),t(0xa8),t(0x9d),t(0xa0));this[t(0xa7)][t(0x8c)](m)&&await rimraf(m);}if(b[t(0x75)]&&b[t(0x75)]===!![]||b['m']&&b['m']===!![])throw t(0xa3);await this[t(0xa7)][t(0xa1)]();const d=b[t(0x79)]?b[t(0x79)]:t(0x90),f=this[t(0xa7)]['getAppConfigPath'](d),g=a86e[t(0x7a)](f,'process.env');let h=a86e[t(0x7a)](f,'settings.json');b[t(0x82)]?h=b[t(0x82)]:h=a86e[t(0x7a)](f,'settings.json');if(this[t(0xa7)][t(0x7d)](g)&&!b[t(0x91)])Log[t(0x86)](t(0x94)+g),syncSource(g);else!b[t(0x91)]&&Log[t(0x9c)]('Cannot\x20find\x20Node\x20Environment\x20File:\x20'+g);this[t(0xa7)][t(0x7d)](h)?(Log[t(0x86)](t(0xaf)+h),a=a[t(0x89)]([t(0x84),h])):Log[t(0x9c)](t(0x83)+h);const i=f[t(0x8b)](a86e[t(0x8d)]),j=i[i[t(0xa6)]-0x1];j==='production'&&a['push']('--production');const k=process[t(0x76)][t(0x92)](0x2)[t(0x7b)](n=>n!=='run')['filter'](n=>n!==a[0x0]);k['forEach']((n,o)=>{const u=t;n===u(0xac)&&k['splice'](o,0x2),n==='-e'&&k[u(0x85)](o,0x2);}),this['fsi'][t(0x8a)](t(0x7f),a['concat'](k));}catch(n){console[t(0xa4)](n),process[t(0xae)](0x1);}});export default Run;
@@ -1 +1 @@
1
- (function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0x1bf))/0x1+-parseInt(f(0x1c2))/0x2+parseInt(f(0x1bb))/0x3+parseInt(f(0x1bd))/0x4+-parseInt(f(0x1c0))/0x5*(parseInt(f(0x1b7))/0x6)+-parseInt(f(0x1ba))/0x7*(parseInt(f(0x1be))/0x8)+parseInt(f(0x1bc))/0x9*(parseInt(f(0x1c3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xb064e));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a['toString']()['search']('(((.+)+)+)+$')[h(0x1c1)]()['constructor'](a87a)[h(0x1b9)]('(((.+)+)+)+$');});a87a();function a87c(){var i=['44978qVgYcQ','1748045hiXMel','toString','1691876yhkHJo','710joIbmW','6wtkEqI','apply','search','1450526AwoOTJ','2995386MygRnl','152451blcHox','3661024hmkFud','48cictYP'];a87c=function(){return i;};return a87c();}import'./set.command.js';import'./global.sub.cmd.js';function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0x1b7;var f=c[d];return f;},a87d(a,b);}import'./local.sub.cmd.js';
1
+ (function(a,b){var f=a87d,c=a();while(!![]){try{var d=parseInt(f(0xca))/0x1*(-parseInt(f(0xc7))/0x2)+-parseInt(f(0xbe))/0x3+-parseInt(f(0xc5))/0x4*(parseInt(f(0xc9))/0x5)+-parseInt(f(0xbd))/0x6*(-parseInt(f(0xc0))/0x7)+parseInt(f(0xc1))/0x8*(-parseInt(f(0xc6))/0x9)+parseInt(f(0xc8))/0xa+parseInt(f(0xc4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a87c,0xac7d2));var a87b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a87d;if(c){var e=c[g(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a87a=a87b(this,function(){var h=a87d;return a87a[h(0xc2)]()['search'](h(0xc3))['toString']()[h(0xcb)](a87a)['search'](h(0xc3));});a87a();import'./set.command.js';import'./global.sub.cmd.js';import'./local.sub.cmd.js';function a87d(a,b){var c=a87c();return a87d=function(d,e){d=d-0xbd;var f=c[d];return f;},a87d(a,b);}function a87c(){var i=['2EEPRJk','12096390zxlAbv','1404245DPDuwo','883983vsOxmV','constructor','33294HyQsJW','3350952JnVDcH','apply','875xPWmyo','56wCQAlc','toString','(((.+)+)+)+$','30361738cArFkv','16oXXZtS','1070415rYrrFu'];a87c=function(){return i;};return a87c();}
@@ -1 +1 @@
1
- const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x113))/0x1*(parseInt(h(0x102))/0x2)+parseInt(h(0xfd))/0x3*(-parseInt(h(0x10d))/0x4)+-parseInt(h(0xfe))/0x5*(-parseInt(h(0x111))/0x6)+-parseInt(h(0x117))/0x7+-parseInt(h(0x101))/0x8*(-parseInt(h(0xf3))/0x9)+parseInt(h(0x110))/0xa*(parseInt(h(0xfb))/0xb)+parseInt(h(0xfc))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0xe68f6));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x11b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0xf6)]()[j(0x10e)](j(0x119))[j(0xf6)]()[j(0xf7)](a88a)[j(0x10e)](j(0x119));});a88a();function a88c(){const m=['11YkPdft','36048288VkTbub','48jWSUin','625675kFobPX','exit','boolean','1824eDBncf','927344cvwFxQ','Set\x20CA\x20Cert\x20Path:\x20','openai','Set\x20allowInsecure:\x20','maka\x20set:gc\x20--workspace\x20<path>','success','setGlobalConfig','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','Set\x20workspace:\x20','maka\x20set:gc\x20--insecure\x20<path>','workspace','334428RDkKNv','search','maka\x20set:global-config','3195070thDjyh','24EyCaoQ','Could\x20not\x20find\x20directory','2NPpkyi','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','allowInsecure','One\x20or\x20the\x20other\x20buddy','4878643uRQdhn','error','(((.+)+)+)+$','fsi','apply','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','resolve','Set\x20global\x20Maka-CLI\x20settings','create','global-config','help','3249CUmKdO','disallowInsecure','cacert','toString','constructor','pallet','isFile','Set\x20color\x20pallet\x20to:\x20'];a88c=function(){return m;};return a88c();}import a88e from'path';import a88f from'./set.command.js';import{Command}from'../../command.js';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0xf2;let f=c[d];return f;},a88d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a88k(0x11f)]({'name':a88k(0x120),'usage':a88k(0x10f),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0xf5),'boolFlag':![]},{'name':a88k(0x115),'boolFlag':!![]},{'name':'disallowInsecure','boolFlag':!![]},{'name':a88k(0x10c),'boolFlag':![]},{'name':a88k(0x104),'boolFlag':![]},{'name':a88k(0xf2),'boolFlag':!![]},{'name':a88k(0xf8),'values':['light','dark']}],'shortDesc':a88k(0x11e),'description':a88k(0x109),'examples':['maka\x20set:global-config\x20--cacert\x20<path>',a88k(0x10b),a88k(0x106)]},async function(a,b){const l=a88k;try{if(b[l(0xf5)]){if(this[l(0x11a)][l(0xf9)](b[l(0xf5)]))await this[l(0x11a)][l(0x108)]({'cert':b['cacert']}),Log[l(0x107)](l(0x103)+b['cacert']);else{const c=typeof b[l(0xf5)]===l(0x100)?l(0x11c):l(0x114)+b[l(0xf5)];throw Log[l(0x118)](c);}}if(b['workspace']){const d=this[l(0x11a)]['isDirectory'](b['workspace']);if(d)await this[l(0x11a)][l(0x108)]({'workspace':a88e[l(0x11d)](b[l(0x10c)])}),Log['success'](l(0x10a)+a88e[l(0x11d)](b[l(0x10c)]));else throw Log[l(0x118)](l(0x112));}b[l(0x104)]&&(await this[l(0x11a)]['setGlobalConfig']({'openai':b[l(0x104)]}),Log[l(0x107)]('Set\x20OpenAI\x20Key:\x20'+b[l(0x104)]));b[l(0xf8)]&&(await this[l(0x11a)][l(0x108)]({'pallet':b['pallet']}),Log[l(0x107)](l(0xfa)+b[l(0xf8)]));if(b['allowInsecure']){if(b[l(0x115)]&&b[l(0xf4)])throw Log['error'](l(0x116));let f=b[l(0x115)];b[l(0xf4)]&&(f=![]),await this[l(0x11a)][l(0x108)]({'allowInsecure':f}),Log[l(0x107)](l(0x105)+f);}process[l(0xff)](0x0);}catch(g){console['error'](g),process[l(0xff)](0x0);}},a88f);
1
+ const a88k=a88d;(function(a,b){const h=a88d,c=a();while(!![]){try{const d=-parseInt(h(0x1b3))/0x1*(-parseInt(h(0x1a7))/0x2)+-parseInt(h(0x1c6))/0x3*(-parseInt(h(0x1cf))/0x4)+-parseInt(h(0x1ae))/0x5+parseInt(h(0x1c8))/0x6+-parseInt(h(0x1b7))/0x7+-parseInt(h(0x1d2))/0x8*(-parseInt(h(0x1d0))/0x9)+-parseInt(h(0x1b5))/0xa*(-parseInt(h(0x1c1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a88c,0x2f026));const a88b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a88d;if(c){const e=c[i(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a88a=a88b(this,function(){const j=a88d;return a88a[j(0x1b9)]()[j(0x1cc)](j(0x1a9))['toString']()['constructor'](a88a)[j(0x1cc)]('(((.+)+)+)+$');});function a88c(){const m=['maka\x20set:global-config\x20--cacert\x20<path>','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x0a\x20\x20There\x20are\x20occasions\x20where\x20your\x20network\x20may\x20need\x20an\x20intermediate\x20certificate\x0a\x20\x20to\x20allow\x20connections\x20outside.\x20\x20You\x20may\x20set\x20your\x20certificate\x20path\x20using\x20the\x20command:\x0a\x0a\x20\x20maka\x20set:gc\x20--cacert\x0a\x20\x20','27129ZqWweW','Set\x20OpenAI\x20Key:\x20','894804yaQnHF','allowInsecure','Set\x20color\x20pallet\x20to:\x20','success','search','create','error','136TksHXa','9REQXhb','exit','14992xziPnO','One\x20or\x20the\x20other\x20buddy','global-config','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','dark','10506zUSeMo','fsi','(((.+)+)+)+$','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','pallet','help','setGlobalConfig','1835445rDIgXl','isFile','disallowInsecure','Could\x20not\x20find\x20directory','maka\x20set:gc\x20--workspace\x20<path>','5EEYmGg','maka\x20set:global-config','3073150hsnhww','Set\x20allowInsecure:\x20','1626877VqmdPX','maka\x20set:gc\x20--insecure\x20<path>','toString','openai','cacert','apply','light','workspace','resolve','boolean','11delInN','Set\x20CA\x20Cert\x20Path:\x20','Set\x20global\x20Maka-CLI\x20settings'];a88c=function(){return m;};return a88c();}a88a();import a88e from'path';function a88d(a,b){const c=a88c();return a88d=function(d,e){d=d-0x1a7;let f=c[d];return f;},a88d(a,b);}import a88f from'./set.command.js';import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a88k(0x1cd)]({'name':a88k(0x1d4),'usage':a88k(0x1b4),'aliases':['gc'],'maxOptsLength':0x3,'validOpts':[{'name':a88k(0x1bb),'boolFlag':![]},{'name':a88k(0x1c9),'boolFlag':!![]},{'name':a88k(0x1b0),'boolFlag':!![]},{'name':a88k(0x1be),'boolFlag':![]},{'name':a88k(0x1ba),'boolFlag':![]},{'name':a88k(0x1ac),'boolFlag':!![]},{'name':a88k(0x1ab),'values':[a88k(0x1bd),a88k(0x1d6)]}],'shortDesc':a88k(0x1c3),'description':a88k(0x1c5),'examples':[a88k(0x1c4),a88k(0x1b8),a88k(0x1b2)]},async function(a,b){const l=a88k;try{if(b[l(0x1bb)]){if(this['fsi'][l(0x1af)](b[l(0x1bb)]))await this['fsi'][l(0x1ad)]({'cert':b[l(0x1bb)]}),Log[l(0x1cb)](l(0x1c2)+b[l(0x1bb)]);else{const c=typeof b[l(0x1bb)]===l(0x1c0)?l(0x1d5):l(0x1aa)+b['cacert'];throw Log[l(0x1ce)](c);}}if(b[l(0x1be)]){const d=this[l(0x1a8)]['isDirectory'](b[l(0x1be)]);if(d)await this[l(0x1a8)][l(0x1ad)]({'workspace':a88e['resolve'](b[l(0x1be)])}),Log[l(0x1cb)]('Set\x20workspace:\x20'+a88e[l(0x1bf)](b[l(0x1be)]));else throw Log['error'](l(0x1b1));}b[l(0x1ba)]&&(await this['fsi'][l(0x1ad)]({'openai':b['openai']}),Log[l(0x1cb)](l(0x1c7)+b[l(0x1ba)]));b[l(0x1ab)]&&(await this[l(0x1a8)][l(0x1ad)]({'pallet':b[l(0x1ab)]}),Log[l(0x1cb)](l(0x1ca)+b[l(0x1ab)]));if(b['allowInsecure']){if(b[l(0x1c9)]&&b[l(0x1b0)])throw Log[l(0x1ce)](l(0x1d3));let f=b[l(0x1c9)];b[l(0x1b0)]&&(f=![]),await this[l(0x1a8)][l(0x1ad)]({'allowInsecure':f}),Log[l(0x1cb)](l(0x1b6)+f);}process[l(0x1d1)](0x0);}catch(g){console[l(0x1ce)](g),process[l(0x1d1)](0x0);}},a88f);
@@ -1 +1 @@
1
- function a89c(){var j=['477RKzave','Sorry,\x20not\x20implemented\x20yet','local-config','constructor','(((.+)+)+)+$','notice','2247360KzrQnC','2204000drQfYR','738690VBzZvC','758974iuTzYt','3736680vaqSxT','2360JGiPyv','toString','search','2667tbypbF','14224bEvlxP','246bQNeve'];a89c=function(){return j;};return a89c();}var a89h=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x91))/0x1+-parseInt(f(0x93))/0x2*(parseInt(f(0x98))/0x3)+-parseInt(f(0xa0))/0x4+-parseInt(f(0x92))/0x5+-parseInt(f(0x9f))/0x6+parseInt(f(0x96))/0x7*(-parseInt(f(0x97))/0x8)+-parseInt(f(0x99))/0x9*(-parseInt(f(0xa1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0xad191));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(0x94)]()['search'](g(0x9d))[g(0x94)]()[g(0x9c)](a89a)[g(0x95)]('(((.+)+)+)+$');});a89a();function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x91;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['create']({'name':a89h(0x9b),'usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':'Set\x20local\x20maka\x20app\x20settings','validOpts':[],'description':'\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20'},async function(){var i=a89h;Log[i(0x9e)](i(0x9a));},a89e);
1
+ function a89d(a,b){var c=a89c();return a89d=function(d,e){d=d-0x19c;var f=c[d];return f;},a89d(a,b);}var a89i=a89d;(function(a,b){var f=a89d,c=a();while(!![]){try{var d=-parseInt(f(0x1a8))/0x1+parseInt(f(0x19f))/0x2+parseInt(f(0x1ac))/0x3+parseInt(f(0x1aa))/0x4*(parseInt(f(0x1a9))/0x5)+parseInt(f(0x19c))/0x6*(-parseInt(f(0x1a6))/0x7)+-parseInt(f(0x1a5))/0x8*(parseInt(f(0x1ad))/0x9)+parseInt(f(0x1a2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a89c,0x25ccf));var a89b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a89d;if(c){var e=c[g(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a89a=a89b(this,function(){var h=a89d;return a89a[h(0x1ae)]()[h(0x1a7)](h(0x1a0))[h(0x1ae)]()['constructor'](a89a)['search'](h(0x1a0));});a89a();import a89e from'./set.command.js';function a89c(){var k=['296867zihnMC','255OHkbSB','2452NjHKkA','apply','369576TOfGia','9TDDxog','toString','1482dAmWha','notice','create','230226LHupbm','(((.+)+)+)+$','local-config','6551260PkmbRi','\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','Set\x20local\x20maka\x20app\x20settings','1387080FfQyKv','8491UvJWIW','search'];a89c=function(){return k;};return a89c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a89i(0x19e)]({'name':a89i(0x1a1),'usage':'maka\x20set:local-config','examples':[],'aliases':['lc'],'mustBeInMakaProject':!![],'shortDesc':a89i(0x1a4),'validOpts':[],'description':a89i(0x1a3)},async function(){var j=a89i;Log[j(0x19d)]('Sorry,\x20not\x20implemented\x20yet');},a89e);
@@ -1 +1 @@
1
- const a90i=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0x79))/0x1+parseInt(f(0x89))/0x2*(parseInt(f(0x80))/0x3)+-parseInt(f(0x87))/0x4+parseInt(f(0x75))/0x5*(parseInt(f(0x88))/0x6)+parseInt(f(0x85))/0x7*(-parseInt(f(0x81))/0x8)+-parseInt(f(0x82))/0x9+-parseInt(f(0x7b))/0xa*(-parseInt(f(0x7f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x9be16));function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x75;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(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const h=a90d;return a90a['toString']()[h(0x76)](h(0x8a))[h(0x84)]()[h(0x7c)](a90a)[h(0x76)]('(((.+)+)+)+$');});a90a();import{Command}from'../../command.js';const SetCommand=Command[a90i(0x7a)]({'name':a90i(0x77),'usage':a90i(0x83),'shortDesc':a90i(0x78),'description':a90i(0x86),'validOpts':[]},async function(a,b){const j=a90i,c=a[0x0],d=this[j(0x7d)](c);d&&this['runSubCommand'](c,a,b);});export default SetCommand;function a90c(){const k=['maka\x20set:<sub-command>','toString','133etarzP','\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','2180376yqiFOQ','177708uVResE','2oxAgLX','(((.+)+)+)+$','185NzWUYv','search','set','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','269133yHyCiN','create','8758010IzwGBf','constructor','findSubCommand','apply','22AUCnVL','1010697ChfCJV','496728oyKMgs','4967325BsiHOt'];a90c=function(){return k;};return a90c();}
1
+ const a90h=a90d;(function(a,b){const f=a90d,c=a();while(!![]){try{const d=-parseInt(f(0x195))/0x1*(parseInt(f(0x1a6))/0x2)+-parseInt(f(0x192))/0x3*(-parseInt(f(0x19a))/0x4)+parseInt(f(0x1a0))/0x5*(parseInt(f(0x1a3))/0x6)+-parseInt(f(0x1a5))/0x7*(parseInt(f(0x1a7))/0x8)+parseInt(f(0x193))/0x9*(parseInt(f(0x19b))/0xa)+-parseInt(f(0x19f))/0xb*(parseInt(f(0x19e))/0xc)+parseInt(f(0x198))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a90c,0x8aa19));const a90b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a90a=a90b(this,function(){const g=a90d;return a90a[g(0x1a2)]()[g(0x194)](g(0x199))['toString']()[g(0x197)](a90a)[g(0x194)](g(0x199));});function a90c(){const j=['\x0a\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','12yVXFJl','9962579NWZUej','205tpvXNI','create','toString','21210NFXzvr','set','7lgqSHY','2201312UfoaqF','3349136llsNYO','Set\x20Maka-CLI\x20settings\x20globally\x20or\x20locally','67701WBIudu','1047177TWbXUL','search','1fnUKVq','runSubCommand','constructor','33703956iwIEls','(((.+)+)+)+$','4GkKyhw','20WTDgZi','maka\x20set:<sub-command>'];a90c=function(){return j;};return a90c();}a90a();function a90d(a,b){const c=a90c();return a90d=function(d,e){d=d-0x191;let f=c[d];return f;},a90d(a,b);}import{Command}from'../../command.js';const SetCommand=Command[a90h(0x1a1)]({'name':a90h(0x1a4),'usage':a90h(0x19c),'shortDesc':a90h(0x191),'description':a90h(0x19d),'validOpts':[]},async function(a,b){const i=a90h,c=a[0x0],d=this['findSubCommand'](c);d&&this[i(0x196)](c,a,b);});export default SetCommand;
@@ -1 +1 @@
1
- const a91l=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x13d))/0x1*(parseInt(j(0x138))/0x2)+parseInt(j(0x149))/0x3+parseInt(j(0x157))/0x4*(-parseInt(j(0x14c))/0x5)+-parseInt(j(0x14d))/0x6*(-parseInt(j(0x143))/0x7)+-parseInt(j(0x153))/0x8+-parseInt(j(0x151))/0x9+-parseInt(j(0x158))/0xa*(-parseInt(j(0x159))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x39329));const a91b=(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;};}()),a91a=a91b(this,function(){const k=a91d;return a91a[k(0x146)]()[k(0x14f)](k(0x139))['toString']()[k(0x142)](a91a)[k(0x14f)](k(0x139));});a91a();import a91e from'fs';import a91f from'path';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x137;let f=c[d];return f;},a91d(a,b);}function a91c(){const n=['constructor','259YoRJFa','exit','error','toString','join','length','1257111GgXuZc','parse','fsi','105uaRMMn','39786MUWrYd','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','search','maka\x20ssh\x20<command>','1824246aQFtsJ','maka\x20ssh\x20--env\x20dev','841224GMcwzj','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','env','maka\x20ssh\x20--env\x20staging','70292srOERl','1464670UlGyme','22QGxTlV','maka\x20ssh\x20--env\x20prod','914CfZhAN','(((.+)+)+)+$','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','verbose','getAppConfigPath','101MCEzIv','ssh','readFileSync','ssh.json','sshSync'];a91c=function(){return n;};return a91c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';Command['create']({'name':a91l(0x13e),'usage':a91l(0x150),'mustBeInMakaProject':!![],'requiredOpts':[a91l(0x155)],'validOpts':['env',a91l(0x13b)],'isPro':!![],'shortDesc':'Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','examples':[a91l(0x152),a91l(0x156),a91l(0x137),a91l(0x154),a91l(0x14e),a91l(0x13a)]},async function(a,b){const m=a91l;try{const c=this[m(0x14b)][m(0x13c)](b['env']);let d='';a[m(0x148)]>0x0&&(d=a[0x0]);const f=a91f[m(0x147)](c,m(0x140)),g=a91e[m(0x13f)](f)[m(0x146)](),h=JSON[m(0x14a)](g);Object['assign'](h,{'env':c}),SSH[m(0x141)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[m(0x13b)]});}catch(i){Log[m(0x145)](i),process[m(0x144)](0x1);}});
1
+ const a91m=a91d;(function(a,b){const j=a91d,c=a();while(!![]){try{const d=-parseInt(j(0x18c))/0x1+-parseInt(j(0x198))/0x2+-parseInt(j(0x1a3))/0x3*(parseInt(j(0x189))/0x4)+parseInt(j(0x18e))/0x5+-parseInt(j(0x19e))/0x6+parseInt(j(0x1a0))/0x7*(-parseInt(j(0x188))/0x8)+parseInt(j(0x194))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a91c,0x2bb3b));const a91b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a91d;if(c){const e=c[k(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a91a=a91b(this,function(){const l=a91d;return a91a[l(0x1a1)]()['search']('(((.+)+)+)+$')[l(0x1a1)]()[l(0x1a5)](a91a)[l(0x18f)](l(0x18b));});a91a();import a91e from'fs';import a91f from'path';import{Command}from'../command.js';function a91d(a,b){const c=a91c();return a91d=function(d,e){d=d-0x187;let f=c[d];return f;},a91d(a,b);}import{SSH}from'../tools/ssh/ssh.class.js';import{Log}from'../tools/log/log.class.js';function a91c(){const o=['sshSync','readFileSync','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','449946nlcsrQ','parse','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','apply','ssh.json','assign','394512mlvLfw','verbose','812LTuhmq','toString','ssh','3CjjqlM','maka\x20ssh\x20--env\x20staging','constructor','join','exit','6168wSLYVA','1396228Wbnkoa','maka\x20ssh\x20<command>','(((.+)+)+)+$','111029VDzbSk','error','908655iNMkgW','search','env','maka\x20ssh\x20--env\x20dev','create','fsi','7537671cktdxj'];a91c=function(){return o;};return a91c();}Command[a91m(0x192)]({'name':a91m(0x1a2),'usage':a91m(0x18a),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a91m(0x190),'verbose'],'isPro':!![],'shortDesc':a91m(0x19a),'examples':[a91m(0x191),a91m(0x1a4),'maka\x20ssh\x20--env\x20prod',a91m(0x197),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},async function(a,b){const n=a91m;try{const c=this[n(0x193)]['getAppConfigPath'](b[n(0x190)]);let d='';a['length']>0x0&&(d=a[0x0]);const f=a91f[n(0x1a6)](c,n(0x19c)),g=a91e[n(0x196)](f)[n(0x1a1)](),h=JSON[n(0x199)](g);Object[n(0x19d)](h,{'env':c}),SSH[n(0x195)](d,h,{'tty':!![],'verbose':!![],'sshVerbose':b[n(0x19f)]});}catch(i){Log[n(0x18d)](i),process[n(0x187)](0x1);}});
@@ -1 +1 @@
1
- const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0x1c2))/0x1+parseInt(v(0x1c5))/0x2*(parseInt(v(0x190))/0x3)+parseInt(v(0x19f))/0x4*(parseInt(v(0x1aa))/0x5)+-parseInt(v(0x19e))/0x6+-parseInt(v(0x1bd))/0x7+parseInt(v(0x1b0))/0x8+-parseInt(v(0x1af))/0x9*(-parseInt(v(0x199))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x265f1));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x195)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x196)]()[x(0x19c)](x(0x1c0))[x(0x196)]()[x(0x1a8)](a92a)['search']('(((.+)+)+)+$');});a92a();function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x190;let f=c[d];return f;},a92d(a,b);}import a92e from'fs';import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';function a92c(){const A=['getMakaProjectConfig','.key','genCSR','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','env','.crt','Verifying\x20Letsencrypt\x20configuration','genSSC','constructor','success','155MhRyoQ','mkKeysDir','readFileSync','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','join','2292309GLXvjT','549616mAHVFL','domainNames','stringify','assign','generate-ssc','letsencrypt.json','domains','Create\x20and\x20manage\x20your\x20SSL\x20operations.','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','ssh','maka\x20ssl\x20--env\x20dev\x20generate-csr','[?]\x20Domains\x20to\x20register:\x20','uname\x20-a','841638ONPJNt','ask','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','(((.+)+)+)+$','email','197979wkMenJ','fsi','sudo\x20snap\x20install\x20--classic\x20certbot','66HyFXow','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','Email\x20to\x20use\x20for\x20auto-updates:\x20','\x20--email\x20','letsencrypt','Remote\x20host\x20connection\x20successful','withSpinner','writeFileSync','9060LQYAOW','New\x20CSR\x20written\x20to\x20','notice','.csr','ping','apply','toString','existsSync','start','10AjVZzd','parse','appName','search','Please\x20provide\x20a\x20command.','1355064qsnvtc','35892kcoQLj'];a92c=function(){return A;};return a92c();}import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command['create']({'name':'ssl','usage':'maka\x20ssl\x20[command]','validOpts':[a92y(0x1b6),'email'],'requiredOpts':[a92y(0x1a4)],'shortDesc':a92y(0x1b7),'mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0x1ba),'maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate',a92y(0x1a3)]},async function(a,b){const z=a92y,c=this['fsi'][z(0x1a0)](),d=this[z(0x1c3)]['getAppConfigPath'](b[z(0x1a4)]),f=this[z(0x1c3)][z(0x1ab)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g==='generate-csr')SSL[z(0x1a2)]({'keyName':c[z(0x19b)]+z(0x1a1),'csrName':c[z(0x19b)]+z(0x193),'cwd':f});else{if(g===z(0x1b4)){if(!a92e[z(0x197)](a92f['join'](f,c[z(0x19b)]+z(0x1a1))))throw z(0x1c6)+a92f[z(0x1ae)](f,c[z(0x19b)]+z(0x1a1));if(!a92e[z(0x197)](a92f[z(0x1ae)](f,c[z(0x19b)]+z(0x193))))throw z(0x1b8)+a92f[z(0x1ae)](f,c['appName']+z(0x193));SSL[z(0x1a7)]({'keyName':c[z(0x19b)]+z(0x1a1),'crtName':c[z(0x19b)]+z(0x1a5),'cwd':f}),Log[z(0x192)](z(0x191)+f);}else{if(g===z(0x1c9)){let h=b[z(0x1b6)],i=b['email'];try{const p=a92e[z(0x1ac)](a92f['join'](d,z(0x1b5)))[z(0x196)](),q=JSON[z(0x19a)](p);h=b['domains']?b[z(0x1b6)]:q[z(0x1b1)],i=b[z(0x1c1)]?b[z(0x1c1)]:q['emailUpdate'],(!b[z(0x1c1)]||!b[z(0x1b6)])&&Log[z(0x192)]('Using\x20saved\x20letsencrypt\x20config');}catch(r){}const j=JSON['parse'](a92e['readFileSync'](d+'/ssh.json')['toString']());Object[z(0x1b3)](j,{'env':d}),Log['notice']('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x194)](z(0x1bc),j);if(!s)throw'Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.';if(s)Log[z(0x1a9)](z(0x1ca));}catch(t){Log['error'](t);return;}const k=Log[z(0x1cb)]();k[z(0x198)](z(0x1a6)),SSH[z(0x1b9)](z(0x1bf),{...j}),SSH[z(0x1b9)](z(0x1c4),{...j}),SSH[z(0x1b9)](z(0x1ad),{...j}),k[z(0x1a9)]();const l=h?h:await Actions[z(0x1be)](z(0x1bb)),m=i?i:await Actions[z(0x1be)](z(0x1c7));SSH[z(0x1b9)]('sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20'+l+z(0x1c8)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON[z(0x1b2)](n,null,0x2);a92e[z(0x1cc)](a92f[z(0x1ae)](d,z(0x1b5)),o);}else throw z(0x19d);}}}catch(u){console['error'](u),process['exit'](0x0);}});
1
+ const a92y=a92d;(function(a,b){const v=a92d,c=a();while(!![]){try{const d=-parseInt(v(0x1ae))/0x1+-parseInt(v(0x1d5))/0x2*(parseInt(v(0x1a1))/0x3)+parseInt(v(0x1c0))/0x4*(-parseInt(v(0x19f))/0x5)+parseInt(v(0x1c9))/0x6+parseInt(v(0x1a2))/0x7+parseInt(v(0x1ce))/0x8+-parseInt(v(0x1b3))/0x9*(parseInt(v(0x19e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a92c,0x85ee0));const a92b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a92d;if(c){const e=c[w(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a92a=a92b(this,function(){const x=a92d;return a92a[x(0x1c7)]()['search']('(((.+)+)+)+$')['toString']()[x(0x1a0)](a92a)[x(0x1b0)]('(((.+)+)+)+$');});function a92c(){const A=['success','fsi','env','ping','appName','start','Please\x20provide\x20a\x20command.','writeFileSync','ssh','The\x20CSR\x20file\x20(.csr)\x20is\x20missing\x20from:\x20','exit','284Mbpbqc','generate-csr','The\x20KEY\x20(.key)\x20is\x20missing\x20from:\x20','maka\x20ssl\x20--env\x20prod\x20letsencrypt\x20//\x20Walkthrough\x20the\x20letsencrypt\x20process','create','ask','error','toString','domains','5413380waUGaj','assign','domainNames','parse','uname\x20-a','6623376hjxbNJ','generate-ssc','sudo\x20certbot\x20--nginx\x20--agree-tos\x20--expand\x20-n\x20--domains\x20','/ssh.json','emailUpdate','letsencrypt.json','Email\x20to\x20use\x20for\x20auto-updates:\x20','2wrqhVG','\x20--email\x20','sudo\x20snap\x20install\x20--classic\x20certbot','Using\x20saved\x20letsencrypt\x20config','email','.key','join','Verifying\x20Letsencrypt\x20configuration','110GliLFw','6185erFpsw','constructor','1346121zCiZOw','6831279POeSEt','New\x20CSR\x20written\x20to\x20','sudo\x20ln\x20-s\x20/snap/bin/certbot\x20/usr/bin/certbot','maka\x20ssl\x20--env\x20dev\x20generate-csr','maka\x20ssl\x20[command]','existsSync','notice','apply','letsencrypt','sudo\x20snap\x20install\x20core;\x20sudo\x20snap\x20refresh\x20core','readFileSync','maka\x20ssl\x20--env\x20dev\x20generate-ssc\x20//\x20Self-Signed\x20Certificate','744976GNfbOb','.csr','search','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','Remote\x20host\x20connection\x20successful','716697BcQypN','mkKeysDir'];a92c=function(){return A;};return a92c();}a92a();import a92e from'fs';function a92d(a,b){const c=a92c();return a92d=function(d,e){d=d-0x19c;let f=c[d];return f;},a92d(a,b);}import a92f from'path';import{Actions}from'../tools/actions/actions.class.js';import{Log}from'../tools/log/log.class.js';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';import{SSL}from'../tools/ssl/ssl.class.js';Command[a92y(0x1c4)]({'name':'ssl','usage':a92y(0x1a6),'validOpts':[a92y(0x1c8),a92y(0x1d9)],'requiredOpts':[a92y(0x1b7)],'shortDesc':'Create\x20and\x20manage\x20your\x20SSL\x20operations.','mustBeInMakaProject':!![],'minArgLength':0x1,'isPro':!![],'examples':[a92y(0x1a5),a92y(0x1ad),a92y(0x1c3)]},async function(a,b){const z=a92y,c=this[z(0x1b6)]['getMakaProjectConfig'](),d=this['fsi']['getAppConfigPath'](b[z(0x1b7)]),f=this['fsi'][z(0x1b4)]({'configPath':d});let g='';a&&(g=a[0x0]);try{if(g===z(0x1c1))SSL['genCSR']({'keyName':c['appName']+z(0x1da),'csrName':c[z(0x1b9)]+z(0x1af),'cwd':f});else{if(g===z(0x1cf)){if(!a92e[z(0x1a7)](a92f[z(0x19c)](f,c[z(0x1b9)]+z(0x1da))))throw z(0x1c2)+a92f[z(0x19c)](f,c[z(0x1b9)]+z(0x1da));if(!a92e['existsSync'](a92f[z(0x19c)](f,c[z(0x1b9)]+z(0x1af))))throw z(0x1be)+a92f['join'](f,c[z(0x1b9)]+z(0x1af));SSL['genSSC']({'keyName':c[z(0x1b9)]+'.key','crtName':c[z(0x1b9)]+'.crt','cwd':f}),Log[z(0x1a8)](z(0x1a3)+f);}else{if(g===z(0x1aa)){let h=b[z(0x1c8)],i=b[z(0x1d9)];try{const p=a92e['readFileSync'](a92f[z(0x19c)](d,z(0x1d3)))[z(0x1c7)](),q=JSON[z(0x1cc)](p);h=b[z(0x1c8)]?b[z(0x1c8)]:q[z(0x1cb)],i=b[z(0x1d9)]?b['email']:q[z(0x1d2)],(!b['email']||!b[z(0x1c8)])&&Log[z(0x1a8)](z(0x1d8));}catch(r){}const j=JSON[z(0x1cc)](a92e[z(0x1ac)](d+z(0x1d1))[z(0x1c7)]());Object[z(0x1ca)](j,{'env':d}),Log[z(0x1a8)]('Checking\x20remote\x20host\x20availability');try{const s=SSH[z(0x1b8)](z(0x1cd),j);if(!s)throw z(0x1b1);if(s)Log[z(0x1b5)](z(0x1b2));}catch(t){Log[z(0x1c6)](t);return;}const k=Log['withSpinner']();k[z(0x1ba)](z(0x19d)),SSH[z(0x1bd)](z(0x1ab),{...j}),SSH[z(0x1bd)](z(0x1d7),{...j}),SSH['ssh'](z(0x1a4),{...j}),k[z(0x1b5)]();const l=h?h:await Actions[z(0x1c5)]('[?]\x20Domains\x20to\x20register:\x20'),m=i?i:await Actions[z(0x1c5)](z(0x1d4));SSH[z(0x1bd)](z(0x1d0)+l+z(0x1d6)+m,{...j},{'verbose':!![]});const n={'domainNames':l,'emailUpdate':m},o=JSON['stringify'](n,null,0x2);a92e[z(0x1bc)](a92f[z(0x19c)](d,z(0x1d3)),o);}else throw z(0x1bb);}}}catch(u){console[z(0x1c6)](u),process[z(0x1bf)](0x0);}});
@@ -1 +1 @@
1
- const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=parseInt(m(0x1ce))/0x1*(parseInt(m(0x1b2))/0x2)+-parseInt(m(0x1cf))/0x3*(parseInt(m(0x1d9))/0x4)+parseInt(m(0x1d6))/0x5+parseInt(m(0x1bb))/0x6+parseInt(m(0x1a9))/0x7*(parseInt(m(0x1ae))/0x8)+parseInt(m(0x1a3))/0x9+-parseInt(m(0x1d4))/0xa*(parseInt(m(0x1da))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xe4e7c));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const n=a93d;return a93a[n(0x1a4)]()[n(0x1c8)](n(0x1a8))[n(0x1a4)]()[n(0x1cc)](a93a)[n(0x1c8)](n(0x1a8));});a93a();function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a93d(a,b);}import a93e from'fs';import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a93d;a93e['openSync'](a,'r'),a93g[o(0x1d8)]({'path':a});};function a93c(){const s=['filter','constructor','isFile','12907aHHrOy','30348frLHbW','invokeMeteorCommand','config.json','fsi','--full-app','6278030BTlHhN','jasmine','3662540uIAASz','exit','config','16MqaBfG','44fZfKcq','7328016VppRlK','toString','.maka','--driver-package','env','(((.+)+)+)+$','2086448uOewOC','unit','splice','testAppPath','forEach','16KXEqjT','sanjo:jasmine','concat','--packages','78btmiSL','driver-package','warn','driver','engines','packages','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','none','slice','5058234klWwJH','Meteor\x20Settings:\x20','join','test','Cannot\x20find\x20Node\x20Environment\x20File:\x20','readFileSync','getAppConfigPath','argv','--settings','test-packages','port','error','mocha','search','maka\x20test\x20<opts>','findProjectDirectory'];a93c=function(){return s;};return a93c();}Command['create']({'name':'test','mustBeInMakaProject':!![],'validOpts':['once',a93p(0x1b7),a93p(0x1b5),'driverPackage','unit',a93p(0x1a7),'rawLogs',a93p(0x1c5),'inspect',a93p(0x1ac)],'usage':a93p(0x1c9),'shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const q=a93p;try{let c=this[q(0x1d2)][q(0x1c1)]('development');b[q(0x1a7)]&&(c=this[q(0x1d2)][q(0x1c1)](b[q(0x1a7)]));(!b[q(0x1aa)]||!!b['once'])&&(a=a['concat']([q(0x1d3)]));b[q(0x1aa)]&&delete b['unit'];let d=b[q(0x1b3)]||b[q(0x1b5)]||'none';if(d==='none'){const j=JSON['parse'](a93e[q(0x1c0)](a93f[q(0x1bd)](this[q(0x1d2)][q(0x1ca)](),q(0x1a5),q(0x1d1)),'utf8'));if(j['engines'][q(0x1be)]===q(0x1d5))d=q(0x1af);else j[q(0x1b6)]['test']===q(0x1c7)&&(d='meteortesting:mocha');}if(d===q(0x1b9))throw'This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)';(!b['driver-package']||!b['driver'])&&(a=a[q(0x1b0)]([q(0x1a6),d]));const f=a93f[q(0x1bd)](c,'settings.json');this['fsi'][q(0x1cd)](f)?(Log['notice'](q(0x1bc)+f),a=a[q(0x1b0)]([q(0x1c3),f])):Log[q(0x1b4)](q(0x1b8)+f);const g=a93f[q(0x1bd)](c,'process.env');this[q(0x1d2)][q(0x1cd)](g)?(Log['notice']('Node\x20Env\x20Config:\x20'+g),syncSource(g)):Log[q(0x1b4)](q(0x1bf)+g);const h=process[q(0x1c2)][q(0x1ba)](0x2)[q(0x1cb)](k=>k!=='--env')[q(0x1cb)](k=>k!==q(0x1be))[q(0x1cb)](k=>k!==a[0x0]);h[q(0x1ad)]((k,l)=>{const r=q;(k==='--env'||k==='--driver')&&h['splice'](l,0x2),k===r(0x1b1)&&h[r(0x1ab)](l,0x1);});const i=b[q(0x1b7)]?q(0x1c4):q(0x1be);this[q(0x1d2)][q(0x1d0)](i,a[q(0x1b0)](h));}catch(k){console[q(0x1c6)](k),process[q(0x1d7)](0x0);}});
1
+ const a93p=a93d;(function(a,b){const m=a93d,c=a();while(!![]){try{const d=-parseInt(m(0x9c))/0x1+parseInt(m(0xbb))/0x2*(parseInt(m(0xba))/0x3)+-parseInt(m(0xa9))/0x4+-parseInt(m(0xab))/0x5+parseInt(m(0x9d))/0x6*(parseInt(m(0xca))/0x7)+parseInt(m(0xbe))/0x8+-parseInt(m(0xc7))/0x9*(-parseInt(m(0xad))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a93c,0xd3225));const a93b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a93a=a93b(this,function(){const n=a93d;return a93a[n(0xb9)]()[n(0xbf)]('(((.+)+)+)+$')[n(0xb9)]()[n(0xc1)](a93a)[n(0xbf)](n(0xb1));});a93a();function a93c(){const s=['settings.json','driver','981160aOLnFj','8766EALXEc','findProjectDirectory','concat','jasmine','once','Cannot\x20find\x20Node\x20Environment\x20File:\x20','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','readFileSync','port','forEach','Meteor\x20Settings:\x20','isFile','4027608cUHkJi','config','7278470Yqlvqt','getAppConfigPath','10NARvtt','splice','Node\x20Env\x20Config:\x20','This\x20project\x20does\x20not\x20have\x20a\x20test\x20driver\x20(mocha\x20or\x20jasmine)','(((.+)+)+)+$','engines','env','config.json','testAppPath','error','packages','filter','toString','89277NrYnTZ','34NVBZRY','--driver-package','development','4878488DoirVw','search','none','constructor','inspect','--packages','rawLogs','slice','test-packages','19215747EdjIun','parse','fsi','5068yyYMYC','test','process.env','unit','argv','exit','create','--env','invokeMeteorCommand','driver-package','join','notice','mocha','warn'];a93c=function(){return s;};return a93c();}import a93e from'fs';function a93d(a,b){const c=a93c();return a93d=function(d,e){d=d-0x8d;let f=c[d];return f;},a93d(a,b);}import a93f from'path';import a93g from'dotenv';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const syncSource=function(a){const o=a93d;a93e['openSync'](a,'r'),a93g[o(0xaa)]({'path':a});};Command[a93p(0x92)]({'name':a93p(0x8d),'mustBeInMakaProject':!![],'validOpts':[a93p(0xa1),'packages',a93p(0x9b),'driverPackage',a93p(0x8f),a93p(0xb3),a93p(0xc4),a93p(0xa5),a93p(0xc2),a93p(0xb5)],'usage':'maka\x20test\x20<opts>','shortDesc':'Run\x20the\x20meteor\x20test\x20package,\x20either\x20Mocha\x20or\x20Jasmine.','examples':[]},function(a,b){const q=a93p;try{let c=this[q(0xc9)]['getAppConfigPath'](q(0xbd));b[q(0xb3)]&&(c=this[q(0xc9)][q(0xac)](b['env']));(!b[q(0x8f)]||!!b[q(0xa1)])&&(a=a[q(0x9f)](['--full-app']));b[q(0x8f)]&&delete b['unit'];let d=b[q(0x95)]||b[q(0x9b)]||q(0xc0);if(d===q(0xc0)){const j=JSON[q(0xc8)](a93e[q(0xa4)](a93f[q(0x96)](this['fsi'][q(0x9e)](),'.maka',q(0xb4)),'utf8'));if(j[q(0xb2)][q(0x8d)]===q(0xa0))d='sanjo:jasmine';else j['engines'][q(0x8d)]===q(0x98)&&(d='meteortesting:mocha');}if(d==='none')throw q(0xb0);(!b['driver-package']||!b[q(0x9b)])&&(a=a[q(0x9f)]([q(0xbc),d]));const f=a93f[q(0x96)](c,q(0x9a));this['fsi'][q(0xa8)](f)?(Log[q(0x97)](q(0xa7)+f),a=a['concat'](['--settings',f])):Log[q(0x99)](q(0xa3)+f);const g=a93f[q(0x96)](c,q(0x8e));this[q(0xc9)][q(0xa8)](g)?(Log[q(0x97)](q(0xaf)+g),syncSource(g)):Log['warn'](q(0xa2)+g);const h=process[q(0x90)][q(0xc5)](0x2)[q(0xb8)](k=>k!==q(0x93))[q(0xb8)](k=>k!==q(0x8d))['filter'](k=>k!==a[0x0]);h[q(0xa6)]((k,l)=>{const r=q;(k==='--env'||k==='--driver')&&h['splice'](l,0x2),k===r(0xc3)&&h[r(0xae)](l,0x1);});const i=b[q(0xb7)]?q(0xc6):q(0x8d);this[q(0xc9)][q(0x94)](i,a['concat'](h));}catch(k){console[q(0xb6)](k),process[q(0x91)](0x0);}});
@@ -1 +1 @@
1
- const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=parseInt(k(0x82))/0x1+-parseInt(k(0x7b))/0x2+-parseInt(k(0x9c))/0x3+-parseInt(k(0x8a))/0x4*(-parseInt(k(0x99))/0x5)+parseInt(k(0x81))/0x6+-parseInt(k(0x90))/0x7+-parseInt(k(0xa3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x4eddb));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a['toString']()[m(0x7a)](m(0x8d))[m(0x8b)]()[m(0x8e)](a94a)[m(0x7a)](m(0x8d));});function a94c(){const p=['4.7.0','maka\x20version','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','getProjectsMeteorNodeVersion','fsi','search','1018282aMAAxO','exit','win32','apply','System\x27s\x20Meteor\x20Version\x20','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','1600134idAkZl','516912yEVrET','majestic','Maka\x20','Project\x27s\x20Meteor\x20Version\x20','platform','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','maka\x20v','2076048wcVvvw','toString','warn','(((.+)+)+)+$','constructor','error','166950GDqLEZ','node\x20-v','bright','getProjectMeteorVersion','Project\x27s\x20Meteor\x20Node\x20Version\x20','\x20node\x20-v','meteor.bat','isMakaProject','N/A','5VmNbBn','verbose','replace','589344joOLdc','----------------------Project----------------------------','\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.','maka\x20version\x20--verbose','System\x27s\x20Node\x20Version\x20','meteor','----------------------System----------------------------','2001112ZKBmiC','version','compareMakaToLatest'];a94c=function(){return p;};return a94c();}a94a();import{execSync}from'child_process';import a94e from'semver';function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0x76;let f=c[d];return f;},a94d(a,b);}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0xa6)};Command['create']({'name':a94n(0xa4),'aliases':['v'],'usage':a94n(0xa7),'maxArgLength':0x1,'validOpts':[a94n(0x9a)],'shortDesc':a94n(0x77),'examples':[a94n(0x89),a94n(0xa7),a94n(0x9f)],'description':'\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20'},async function(a,b){const o=a94n;try{const c=process[o(0x86)]===o(0x7d)?o(0x96):o(0xa1);Log[o(0x83)](o(0x84)+pjson[o(0xa4)]),await this['fsi'][o(0xa5)]();if(b[o(0x9a)]){await this[o(0x79)][o(0xa5)](),Log[o(0x92)](o(0xa2));const d=this['fsi']['getGlobalMeteorVersion']();Log[o(0x92)]((o(0x7f)+d)[o(0x9b)]('\x0a',''));const f=execSync(c+o(0x95))[o(0x8b)]()[o(0x9b)](/\r?\n|\r/,'')[o(0x9b)]('v','');Log[o(0x92)](o(0x87)+f);const g=execSync(o(0x91))[o(0x8b)]()[o(0x9b)](/\r?\n|\r/,'')[o(0x9b)]('v','');a94e['gt'](f,g)?(Log[o(0x8c)]('System\x27s\x20Node\x20Version\x20'+g),Log[o(0x8c)](o(0x76)+g+')\x20to\x20at\x20least\x20meteor\x27s\x20('+f+')')):Log[o(0x92)](o(0xa0)+g);if(this[o(0x79)][o(0x97)]()){Log[o(0x92)](o(0x9d));const h=this[o(0x79)][o(0x93)]();a94e['gt'](d,h)?(Log['warn'](o(0x85)+h[o(0x9b)]('\x0a','')),Log[o(0x8c)](o(0x88)+d+'\x22')):Log['notice']((o(0x85)+h)[o(0x9b)]('\x0a',''));const i=await this[o(0x79)][o(0x78)]();i===o(0x98)?(Log['warn'](o(0x94)+i),Log[o(0x8c)](o(0x9e))):Log[o(0x92)](o(0x94)+i),Log[o(0x92)](o(0x80));}}}catch(j){console[o(0x8f)](j),process[o(0x7c)](0x0);}});
1
+ function a94d(a,b){const c=a94c();return a94d=function(d,e){d=d-0xda;let f=c[d];return f;},a94d(a,b);}const a94n=a94d;(function(a,b){const k=a94d,c=a();while(!![]){try{const d=-parseInt(k(0xfb))/0x1+-parseInt(k(0xf8))/0x2*(parseInt(k(0xf1))/0x3)+parseInt(k(0x105))/0x4+parseInt(k(0xeb))/0x5+parseInt(k(0xf9))/0x6*(-parseInt(k(0x109))/0x7)+parseInt(k(0xf4))/0x8+-parseInt(k(0x107))/0x9*(parseInt(k(0xe8))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a94c,0x6c8bc));const a94b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a94d;if(c){const e=c[l(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a94a=a94b(this,function(){const m=a94d;return a94a['toString']()[m(0xee)](m(0xe3))[m(0xdd)]()[m(0xe5)](a94a)[m(0xee)]('(((.+)+)+)+$');});function a94c(){const p=['meteor','apply','majestic','platform','fsi','1895956yOSFcx','win32','36JXXMis','notice','623Aatafu','Project\x27s\x20Meteor\x20Version\x20','node\x20-v','version','replace','compareMakaToLatest','toString','isMakaProject','verbose','getGlobalMeteorVersion','----------------------Project----------------------------','System\x27s\x20Node\x20Version\x20','(((.+)+)+)+$','getProjectsMeteorNodeVersion','constructor','Return\x20the\x20version\x20of\x20Maka,\x20Meteor,\x20and\x20the\x20Node\x20version\x20of\x20Meteor.','\x20node\x20-v','360460hwtXPN','\x0a\x20To\x20get\x20the\x20mongo\x20version\x20in\x20use\x20by\x20meteor:\x0a\x201)\x20Run\x20the\x20project,\x20\x22maka\x20run\x22\x0a\x202)\x20In\x20a\x20new\x20terminal\x20open\x20the\x20mongo\x20shell,\x20\x22maka\x20mongo\x22','\x20!\x20consider\x20updating\x20your\x20project\x27s\x20meteor\x20version\x20with\x20\x22maka\x20update\x20--release\x20','3519340ORKCLM','Project\x27s\x20Meteor\x20Node\x20Version\x20','bright','search','maka\x20v','System\x27s\x20Meteor\x27s\x20Node\x20Version\x20','1653xGDHop','----------------------System----------------------------','\x0a\x20\x20When\x20using\x20the\x20--verbose\x20flag,\x20maka\x20will\x20also\x20check\x20the\x20version\x20of\x20the\x20system\x27s\x20meteor\x20and\x20node\x20versions\x0a\x20\x20along\x20with\x20the\x20project\x27s\x20meteor\x20and\x20node\x20versions.\x20If\x20the\x20system\x27s\x20meteor\x20version\x20is\x20greater\x20than\x20the\x0a\x20\x20project\x27s\x20meteor\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20meteor\x20version.\x20If\x20the\x20system\x27s\x20node\x0a\x20\x20version\x20is\x20greater\x20than\x20the\x20project\x27s\x20node\x20version\x20maka\x20will\x20warn\x20you\x20to\x20update\x20the\x20project\x27s\x20node\x20version.\x0a\x20\x20','2277288dHNWqd','N/A','error','getProjectMeteorVersion','1442rBLLkW','24012lgaucJ','Maka\x20','120281PTVFsT','4.7.1','\x20!\x20consider\x20updating\x20your\x20node\x20version\x20(','warn',')\x20to\x20at\x20least\x20meteor\x27s\x20('];a94c=function(){return p;};return a94c();}a94a();import{execSync}from'child_process';import a94e from'semver';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';const pjson={'version':a94n(0xfc)};Command['create']({'name':a94n(0xda),'aliases':['v'],'usage':'maka\x20version','maxArgLength':0x1,'validOpts':[a94n(0xdf)],'shortDesc':a94n(0xe6),'examples':[a94n(0xef),'maka\x20version','maka\x20version\x20--verbose'],'description':a94n(0xf3)},async function(a,b){const o=a94n;try{const c=process[o(0x103)]===o(0x106)?'meteor.bat':o(0x100);Log[o(0x102)](o(0xfa)+pjson['version']),await this[o(0x104)][o(0xdc)]();if(b['verbose']){await this[o(0x104)][o(0xdc)](),Log[o(0xed)](o(0xf2));const d=this[o(0x104)][o(0xe0)]();Log[o(0xed)](('System\x27s\x20Meteor\x20Version\x20'+d)[o(0xdb)]('\x0a',''));const f=execSync(c+o(0xe7))[o(0xdd)]()['replace'](/\r?\n|\r/,'')[o(0xdb)]('v','');Log[o(0xed)](o(0xf0)+f);const g=execSync(o(0x10b))['toString']()['replace'](/\r?\n|\r/,'')[o(0xdb)]('v','');a94e['gt'](f,g)?(Log[o(0xfe)](o(0xe2)+g),Log['warn'](o(0xfd)+g+o(0xff)+f+')')):Log[o(0xed)](o(0xe2)+g);if(this['fsi'][o(0xde)]()){Log[o(0xed)](o(0xe1));const h=this[o(0x104)][o(0xf7)]();a94e['gt'](d,h)?(Log[o(0xfe)](o(0x10a)+h[o(0xdb)]('\x0a','')),Log[o(0xfe)](o(0xea)+d+'\x22')):Log[o(0x108)]((o(0x10a)+h)[o(0xdb)]('\x0a',''));const i=await this[o(0x104)][o(0xe4)]();i===o(0xf5)?(Log[o(0xfe)]('Project\x27s\x20Meteor\x20Node\x20Version\x20'+i),Log[o(0xfe)]('\x20!\x20Cannot\x20find\x20this\x20project\x27s\x20node\x20version\x20because\x20this\x20project\x20has\x20never\x20been\x20run.')):Log[o(0xed)](o(0xec)+i),Log[o(0xed)](o(0xe9));}}}catch(j){console[o(0xf6)](j),process['exit'](0x0);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x101))/0x1*(parseInt(f(0xff))/0x2)+parseInt(f(0x103))/0x3*(parseInt(f(0xfe))/0x4)+parseInt(f(0xfa))/0x5*(parseInt(f(0xf5))/0x6)+parseInt(f(0xf8))/0x7*(parseInt(f(0xfb))/0x8)+-parseInt(f(0xfc))/0x9+parseInt(f(0xf7))/0xa*(parseInt(f(0xf4))/0xb)+parseInt(f(0xf2))/0xc*(-parseInt(f(0x102))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x4771a));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0xf6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x100)]()[h(0xf9)](h(0xfd))['toString']()[h(0xf3)](a95a)[h(0xf9)](h(0xfd));});function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0xf2;var f=c[d];return f;},a95d(a,b);}a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}function a95c(){var i=['11rsbbbZ','703044BtMySr','apply','1849370ZWRRBe','3437IGarGz','search','20EldWjk','1072GskfuP','4706775sBebfT','(((.+)+)+)+$','28SictYS','38WqtvBE','toString','25649SWdeJQ','5400005DjvsKd','188409jBMLQh','24BMXltd','constructor'];a95c=function(){return i;};return a95c();}
1
+ function a95c(){var i=['search','15SXHHEP','5180olJNxd','161777KiIPtp','13831708QecDwd','10rufYfZ','(((.+)+)+)+$','1758SKaCkp','64weSEjT','979708OElEUc','apply','constructor','1602333mrDXHu','63508ynhLge','toString','219364LLFApG'];a95c=function(){return i;};return a95c();}function a95d(a,b){var c=a95c();return a95d=function(d,e){d=d-0x94;var f=c[d];return f;},a95d(a,b);}(function(a,b){var f=a95d,c=a();while(!![]){try{var d=parseInt(f(0x9b))/0x1+-parseInt(f(0x95))/0x2+-parseInt(f(0x9d))/0x3*(parseInt(f(0x99))/0x4)+-parseInt(f(0x9e))/0x5*(parseInt(f(0xa3))/0x6)+parseInt(f(0x9f))/0x7*(parseInt(f(0x94))/0x8)+-parseInt(f(0x98))/0x9*(parseInt(f(0xa1))/0xa)+parseInt(f(0xa0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a95c,0x95228));var a95b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a95d;if(c){var e=c[g(0x96)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a95a=a95b(this,function(){var h=a95d;return a95a[h(0x9a)]()[h(0x9c)](h(0xa2))[h(0x9a)]()[h(0x97)](a95a)[h(0x9c)](h(0xa2));});a95a();export class UsageError{}export class UsageErrorWithSubs{}export class MustBeInProjectError{}export class NoMeteorAppFoundError{}export class NoMeteorFoundError{}
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- var a96i=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=-parseInt(f(0x16e))/0x1*(parseInt(f(0x166))/0x2)+parseInt(f(0x16b))/0x3+parseInt(f(0x168))/0x4+-parseInt(f(0x170))/0x5+-parseInt(f(0x165))/0x6*(parseInt(f(0x171))/0x7)+-parseInt(f(0x16f))/0x8*(parseInt(f(0x172))/0x9)+parseInt(f(0x169))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xb9852));function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x165;var f=c[d];return f;},a96d(a,b);}var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a96d;if(c){var e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var h=a96d;return a96a[h(0x16c)]()[h(0x175)](h(0x16d))['toString']()['constructor'](a96a)[h(0x175)](h(0x16d));});a96a(),process[a96i(0x174)][a96i(0x167)]=a96i(0x173);import'./maka.js';function a96c(){var j=['10883090BdDZJZ','apply','4480107Rkbidq','toString','(((.+)+)+)+$','78510gsKFzL','470856gFLngr','3881335rKQllk','14jYueot','117omGIbG','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','env','search','3879858lqdxwl','6mKzNCK','NODE_OPTIONS','4993744LbuRjs'];a96c=function(){return j;};return a96c();}
2
+ function a96c(){var i=['12gJOubY','2592501ljKgVQ','2441493XoeCud','2FkDKeu','6287830TunDJs','9213953eEszFY','--experimental-modules\x20--no-warnings\x20--experimental-json-modules','8iqfUrB','8925176FICoen','4XhBBDL','660318XkoasU','(((.+)+)+)+$','env','search','145YXySrh','11cXcoDa','51384alouko','toString','constructor'];a96c=function(){return i;};return a96c();}var a96h=a96d;(function(a,b){var f=a96d,c=a();while(!![]){try{var d=parseInt(f(0x148))/0x1*(-parseInt(f(0x14f))/0x2)+parseInt(f(0x146))/0x3*(parseInt(f(0x14e))/0x4)+-parseInt(f(0x140))/0x5*(-parseInt(f(0x142))/0x6)+-parseInt(f(0x14a))/0x7+parseInt(f(0x14c))/0x8*(parseInt(f(0x147))/0x9)+-parseInt(f(0x149))/0xa*(-parseInt(f(0x141))/0xb)+parseInt(f(0x145))/0xc*(parseInt(f(0x14d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a96c,0xb066a));var a96b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a96a=a96b(this,function(){var g=a96d;return a96a[g(0x143)]()[g(0x13f)](g(0x150))[g(0x143)]()[g(0x144)](a96a)[g(0x13f)](g(0x150));});function a96d(a,b){var c=a96c();return a96d=function(d,e){d=d-0x13e;var f=c[d];return f;},a96d(a,b);}a96a(),process[a96h(0x13e)]['NODE_OPTIONS']=a96h(0x14b);import'./maka.js';