@maka/maka-cli 4.0.71 → 4.0.76

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 (91) hide show
  1. package/dist/command.js +1 -1
  2. package/dist/commands/_index.js +1 -1
  3. package/dist/commands/aws/_index.js +1 -1
  4. package/dist/commands/aws/aws.command.js +1 -1
  5. package/dist/commands/aws/ci.sub.cmd.js +1 -1
  6. package/dist/commands/aws/ckp.sub.cmd.js +1 -1
  7. package/dist/commands/aws/csg.sub.cmd.js +1 -1
  8. package/dist/commands/aws/di.sub.cmd.js +1 -1
  9. package/dist/commands/aws/dks.sub.cmd.js +1 -1
  10. package/dist/commands/aws/rbi.sub.cmd.js +1 -1
  11. package/dist/commands/aws/sth.sub.cmd.js +1 -1
  12. package/dist/commands/aws/ti.sub.cmd.js +1 -1
  13. package/dist/commands/build/_index.js +1 -1
  14. package/dist/commands/build/build.js +1 -1
  15. package/dist/commands/build/docker.sub.cmd.js +1 -1
  16. package/dist/commands/create.js +1 -1
  17. package/dist/commands/debug.js +1 -1
  18. package/dist/commands/deploy.js +1 -1
  19. package/dist/commands/game/_index.js +1 -1
  20. package/dist/commands/game/battleship.sub.cmd.js +1 -1
  21. package/dist/commands/game/play.command.js +1 -0
  22. package/dist/commands/game/pong.sub.cmd.js +1 -1
  23. package/dist/commands/game/snake.sub.cmd.js +1 -1
  24. package/dist/commands/game/tetris.sub.cmd.js +1 -1
  25. package/dist/commands/generate.js +1 -1
  26. package/dist/commands/get/_index.js +1 -1
  27. package/dist/commands/get/get.command.js +1 -1
  28. package/dist/commands/get/global.sub.cmd.js +1 -1
  29. package/dist/commands/get/local.sub.cmd.js +1 -1
  30. package/dist/commands/help.js +1 -1
  31. package/dist/commands/install.js +1 -1
  32. package/dist/commands/jsdoc.js +1 -1
  33. package/dist/commands/login.js +1 -1
  34. package/dist/commands/logout.js +1 -1
  35. package/dist/commands/logs.js +1 -1
  36. package/dist/commands/maka.cmd.js +1 -1
  37. package/dist/commands/murder.js +1 -1
  38. package/dist/commands/reconfig.js +1 -1
  39. package/dist/commands/run.js +1 -1
  40. package/dist/commands/set/_index.js +1 -1
  41. package/dist/commands/set/global.sub.cmd.js +1 -1
  42. package/dist/commands/set/local.sub.cmd.js +1 -1
  43. package/dist/commands/set/set.command.js +1 -1
  44. package/dist/commands/ssh.js +1 -1
  45. package/dist/commands/ssl.js +1 -1
  46. package/dist/commands/test.js +1 -1
  47. package/dist/commands/version.js +1 -1
  48. package/dist/error.js +1 -1
  49. package/dist/generator.js +1 -1
  50. package/dist/generators/_index.js +1 -1
  51. package/dist/generators/api.js +1 -1
  52. package/dist/generators/collection.js +1 -1
  53. package/dist/generators/component.js +1 -1
  54. package/dist/generators/config.js +1 -1
  55. package/dist/generators/dbc.js +1 -1
  56. package/dist/generators/dockerfile.js +1 -1
  57. package/dist/generators/hook.js +1 -1
  58. package/dist/generators/kit.js +1 -1
  59. package/dist/generators/layout.js +1 -1
  60. package/dist/generators/maka.gen.js +1 -1
  61. package/dist/generators/methods.js +1 -1
  62. package/dist/generators/package.js +1 -1
  63. package/dist/generators/page.js +1 -1
  64. package/dist/generators/publish.js +1 -1
  65. package/dist/generators/route.js +1 -1
  66. package/dist/generators/scaffold.js +1 -1
  67. package/dist/generators/service.js +1 -1
  68. package/dist/maka.js +1 -1
  69. package/dist/templates/meteor/app/client/head.html +3 -3
  70. package/dist/templates/meteor/app/imports/startup/client/index.js.jsx +4 -3
  71. package/dist/templates/meteor/app/imports/startup/client/index.js.tsx +5 -4
  72. package/dist/tool.js +1 -1
  73. package/dist/tools/actions/actions.class.js +1 -1
  74. package/dist/tools/actions/actions.test.js +1 -1
  75. package/dist/tools/aws/aws.class.js +1 -1
  76. package/dist/tools/aws/aws.interfaces.js +1 -1
  77. package/dist/tools/docker/docker.class.js +1 -1
  78. package/dist/tools/docker/docker.interfaces.js +1 -1
  79. package/dist/tools/fsi/fsi.class.js +1 -1
  80. package/dist/tools/fsi/fsi.interfaces.js +1 -1
  81. package/dist/tools/https/https.class.js +1 -1
  82. package/dist/tools/https/https.interface.js +1 -1
  83. package/dist/tools/log/log.class.js +1 -1
  84. package/dist/tools/log/log.interfaces.js +1 -1
  85. package/dist/tools/spawn-async/spawn-async.class.js +1 -1
  86. package/dist/tools/spawn-async/spawn-async.interfaces.js +1 -1
  87. package/dist/tools/ssh/ssh.class.js +1 -1
  88. package/dist/tools/ssh/ssh.interfaces.js +1 -1
  89. package/dist/tools/ssl/ssl.class.js +1 -1
  90. package/package.json +3 -3
  91. package/dist/commands/game/game.command.js +0 -1
@@ -1 +1 @@
1
- const a30a8=a30d;(function(a,b){const a1=a30d,c=a();while(!![]){try{const d=-parseInt(a1(0xdf))/0x1+-parseInt(a1(0xea))/0x2+-parseInt(a1(0x13f))/0x3+parseInt(a1(0xfa))/0x4*(parseInt(a1(0xe3))/0x5)+-parseInt(a1(0x12d))/0x6+-parseInt(a1(0x104))/0x7+parseInt(a1(0xe6))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0x8c33b));function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0xb7;let f=c[d];return f;},a30d(a,b);}const a30b=(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;};}()),a30a=a30b(this,function(){const a2=a30d;return a30a[a2(0xc7)]()[a2(0xed)](a2(0xd2))[a2(0xc7)]()[a2(0x107)](a30a)[a2(0xed)](a2(0xd2));});a30a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const a3=a30d;if('Csuqv'===a3(0xdb))try{i(j['throw'](k));}catch(h){m(h);}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const a7=a30d;function h(k){const a4=a30d;if('NUatn'==='OULNr')c['error'](d);else try{if(a4(0x108)!=='CErGU')try{i(j['next'](k));}catch(o){m(o);}else j(d[a4(0xe2)](k));}catch(n){g(n);}}function i(k){const a5=a30d;if('EVtxx'!==a5(0x13c))throw a5(0xbc);else try{j(d[a5(0x11e)](k));}catch(m){a5(0xf3)===a5(0xf3)?g(m):(q[a5(0xce)](a5(0xe1)+r),s[a5(0xce)](a5(0xdc)+t),u['bright']('NPM\x20Path:\x20'+v),w['bright'](a5(0x122)+x),y[a5(0xce)](a5(0xc2)),z[a5(0xce)](a5(0xba)+A[a5(0x13b)]('\x20')),B[a5(0xce)](a5(0x11a)+C[a5(0x13b)]('\x20')),D[a5(0xce)]('----------------------------------'),E['bright'](F));}}function j(k){const a6=a30d;k[a6(0xf4)]?f(k[a6(0x11c)]):e(k[a6(0x11c)])[a6(0xf8)](h,i);}j((d=d[a7(0xbf)](a,b||[]))[a7(0xe2)]());});};import a30M from'os';function a30c(){const ad=['keepInstall','yqSfV','jKpVh','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','toString','cacert','For\x20improved\x20performance,\x20consider\x20whitelisting\x20the\x20following\x20from\x20windows\x20defender.','/meteor-bootstrap-','start','os.osx.x86_64','maka\x20i','bright','confirm','I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.','Roaming','(((.+)+)+)+$','ySkbB','maka\x20install\x20meteor\x20-v\x202.3.6','\x20installed.\x0a','homedir','Removing\x20previous\x20install\x20of\x20meteor','\x22\x202>\x20nul','size','warn','IZkJV','App\x20Local\x20Dir:\x20','Backed\x20up\x20PATH\x20to\x20','Installing\x20meteor\x20version\x20','164881xBWmCS','jdLdZ','Meteor\x20Path:\x20','next','555iAJaiI','curl','Please\x20close\x20this\x20command\x20prompt\x20or\x20powershell\x20window\x20and\x20open\x20a\x20new\x20one\x20to\x20finalize\x20install.','19610504CcnwUN','jJEWh','cert','length','2276068kFNnuu','npm','tar','search','notice','meteor.tar.gz','os.linux.x86_64','cuJbx','printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor','GrQxu','done','sfkly','fsi','Local','then','--cacert','29572GaIYYY','existsSync','win32','setx\x20PATH\x20\x22','NUzAL','User\x20Path:\x20','.maka','Setting\x20Node\x20Flags:\x20','RELEASE=','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionProcess\x20node.exe,7z.exe,cmd.exe,powershell.exe','6091778diJpXC','debug','Python','constructor','CErGU','vkiaw','concat','Downloading\x20meteor\x20version\x20','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc','https://static-meteor.netdna-ssl.com/packages-bootstrap/','No\x20Python\x20install\x20found,\x20if\x20you\x20experience\x20build\x20/\x20install\x20failures,\x20consider\x20installing\x20python.\x20https://visualstudio.microsoft.com/downloads/','--force-local','platform','allowInsecure','exit','QDiBj','getGlobalConfig','sync','Aborted','version','isFile','NKJgl','tar\x20','AppData','value','Allowing\x20insecure\x20curl\x20connections.','throw','Removing\x20old\x20version\x20of\x20meteor','Installing\x20meteor\x20','ZYvnR','Total\x20Memory:\x20','vYLjx','YkHCj','path_backup.txt','Meteor\x20version\x20','mkdir\x20-p\x20','Path','maka\x20install\x20meteor','-rf','create','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','445974odGsfj','withSpinner','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','.meteor','unlinkSync','mlNMv','writeFileSync','\x20-s\x20https://install.meteor.com/','error','/meteor-bootstrap-os.windows.x86_64.tar.gz','EsZiK','GhQLe','-xzf','string','join','EVtxx','maka\x20install\x20meteor\x20--version\x201.12.1','install','1350513mPDKbX','force','totalmem','success','Using\x20CA\x20Cert\x20','ignore','python\x20--version\x203>nul','Meteor\x20download\x20failed.','grep','replace','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','NPM\x20Path:\x20','hScrX','PATH','curl\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Network\x20error,\x20please\x20try\x20again.','Setting\x20Path:\x20','includes','apply','RTsYi','setx\x20TOOL_NODE_FLAGS\x20\x22--max-old-space-size=','----------------------------------'];a30c=function(){return ad;};return a30c();}import a30N from'path';import a30O from'fs';import a30P from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30M[a30a8(0xd6)]();Command[a30a8(0x12b)]({'name':a30a8(0x13e),'aliases':['i'],'validOpts':['f',a30a8(0x140),'v',a30a8(0x117),a30a8(0x105),a30a8(0xc8),a30a8(0xc3)],'usage':'maka\x20install','description':a30a8(0x149),'examples':[a30a8(0x129),'maka\x20install\x20meteor\x20--force',a30a8(0xd4),a30a8(0x13d),a30a8(0xcd)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const a9=a30d;try{let g=[],h='';if(b['cacert']){if('QjCVA'!==a9(0xe7)){if(this[a9(0xf6)][a9(0x118)](b['cacert'])){if(a9(0x123)!==a9(0xf5))Log['notice'](a9(0x143)+b[a9(0xc8)]),h=b[a9(0xc8)],g=[a9(0xf9),h];else{const r=e['withSpinner']();r['start'](a9(0x11f)),f(g,{'force':!![]},()=>{r['success'](),r();});}}else{if(a9(0xc4)===a9(0xc4))throw a9(0xbb)+h;else b=!![];}}else e[a9(0x135)](a9(0x146)),f['unlinkSync'](g),h[a9(0x112)](0x1);}const i=yield this[a9(0xf6)][a9(0x114)]();if(i[a9(0xe8)]){if(this[a9(0xf6)]['isFile'](i[a9(0xe8)]))'OJxec'===a9(0xc0)?(g(a9(0x127)+h+'/.local/bin',{'stdio':a9(0x144)}),i(a9(0xf2),{'stdio':a9(0x144)}),j('printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile',{'stdio':a9(0x144)}),k(a9(0x10c),{'stdio':a9(0x144)}),l('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc',{'stdio':a9(0x144)})):(h=i[a9(0xe8)],g=['--cacert',h]);else{if(a9(0xd3)===a9(0xd3))throw a9(0x12f)+h;else c[a9(0x135)](d);}}i[a9(0x111)]&&('vkiaw'===a9(0x109)?(Log[a9(0xda)](a9(0x11d)),g=['-k']):(g[a9(0xce)](a9(0xff)+h),i[a9(0xce)](a9(0xbd)+j),k['bright'](a9(0x101)+l)));let j=![];b['f']||b[a9(0x140)]?a9(0x137)===a9(0x137)?j=!![]:(c[a9(0x142)](),d()):j=yield Actions[a9(0xcf)]('This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?');if(!j){if('MWNio'===a9(0xfe))b[a9(0xda)]('No\x20Python\x20install\x20found,\x20if\x20you\x20experience\x20build\x20/\x20install\x20failures,\x20consider\x20installing\x20python.\x20https://visualstudio.microsoft.com/downloads/');else throw a9(0x116);}const k=process[a9(0x110)]===a9(0xfc),l=process[a9(0x110)]==='darwin';let m=execSync(a9(0xba)+g['join']('\x20')+a9(0x134))[a9(0xc7)](),n=yield this[a9(0xf6)][a9(0x147)](m,a9(0x102));if(n[a9(0xe9)]===0x0)throw a9(0xbc);let o=n[0x0][a9(0x148)](/[^0-9.]/gi,'')[a9(0x148)](/\r?\n|\r/,'');if(typeof b['v']==='string'||typeof b[a9(0x117)]===a9(0x13a)){if('NKJgl'===a9(0x119))o=b['v']||b[a9(0x117)];else{if(this[a9(0xf6)][a9(0x118)](i[a9(0xc8)]))q['notice']('Using\x20CA\x20Cert\x20'+r['cacert']),s=t[a9(0xc8)],u=[a9(0xf9),v];else throw a9(0xbb)+w;}}let p=a30N['join'](homeDir,a9(0x130));if(k){const z=execSync(a9(0x145))[a9(0xc7)](),A=yield this[a9(0xf6)][a9(0x147)](z,a9(0x106))[0x0];!(A===null||A===void 0x0?void 0x0:A[a9(0xbe)](a9(0x106)))&&Log[a9(0xda)](a9(0x10e));p=a30N[a9(0x13b)](homeDir,a9(0x11b),a9(0xf7),'.meteor');const B=a30N[a9(0x13b)](homeDir,a9(0x11b),a9(0xf7)),C=a30N[a9(0x13b)](homeDir,a9(0x11b),a9(0xd1),a9(0xeb));var c=a30M[a9(0x141)](),d=c/0x400,f=d/0x400;f=Math['floor'](f/0x4);const D=a30N['join'](B,a9(0xef));let E=['-s',a9(0x10d)+o+a9(0x136),'--output',D];E=g[a9(0x10a)](E);const F=[a9(0x139),D,'-C',B,a9(0x10f)],G=execSync('FOR\x20/F\x20\x22tokens=1,3*\x20skip=2\x22\x20%G\x20IN\x20(\x27reg\x20query\x20HKCU\x5cEnvironment\x27)\x20DO\x20@echo\x20%G=%H\x20%I')['toString']();if(b['debug']){if(a9(0x138)!==a9(0x124))Log[a9(0xce)](a9(0xe1)+p),Log[a9(0xce)]('App\x20Local\x20Dir:\x20'+B),Log[a9(0xce)](a9(0xb7)+C),Log[a9(0xce)](a9(0x122)+f),Log[a9(0xce)](a9(0xc2)),Log[a9(0xce)](a9(0xba)+E[a9(0x13b)]('\x20')),Log[a9(0xce)](a9(0x11a)+F[a9(0x13b)]('\x20')),Log[a9(0xce)]('----------------------------------'),Log[a9(0xce)](G);else return c[a9(0xc7)]()['search'](a9(0xd2))[a9(0xc7)]()[a9(0x107)](d)[a9(0xed)](a9(0xd2));}const H=K=>{const aa=a9;if(aa(0xf1)!=='cuJbx')throw aa(0x116);else return new Promise((M,N)=>{const ab=aa,O=Log[ab(0x12e)]();O[ab(0xcb)](ab(0x11f)),a30P(p,{'force':!![]},()=>{const ac=ab;O[ac(0x142)](),M();});});};a30O[a9(0xfb)](p)&&('jKpVh'===a9(0xc5)?yield H(p):c[a9(0x115)](d,{'force':!![]}));yield SpawnAsync[a9(0x12e)](a9(0xe4),E,{'message':a9(0x10b)+o});const I=a30O['statSync'](D);if(I[a9(0xd9)]<0x1388){if(a9(0x132)===a9(0xb8)){let M=this[a9(0xf6)][a9(0x147)](p,a9(0x128))[0x0];if(!M){M=this[a9(0xf6)]['grep'](E,a9(0xb9))[0x0];if(!M)throw a9(0xd0);}const N=r[a9(0x13b)](s,a9(0x100),a9(0x125));M=M[a9(0x148)](/PATH=/,'')[a9(0x148)](/Path=/,'')[a9(0x148)](t+';',''),u[a9(0x133)](N,M),v[a9(0xee)](a9(0xdd)+N);const O='setx\x20PATH\x20\x22'+w+';'+M+a9(0xd8),P=a9(0xc1)+x+a9(0xd8);y['debug']&&(F['bright']('User\x20Path:\x20'+M),G['bright'](a9(0xbd)+O),H[a9(0xce)](a9(0x101)+P)),C(O,{'stdio':a9(0x144)}),D(P,{'stdio':a9(0x144)});}else Log[a9(0x135)]('Meteor\x20download\x20failed.'),a30O[a9(0x131)](D),process['exit'](0x1);}yield SpawnAsync[a9(0x12e)](a9(0xec),F,{'message':a9(0xde)+o});try{let M=this[a9(0xf6)]['grep'](G,a9(0x128))[0x0];if(!M){M=this[a9(0xf6)][a9(0x147)](G,'PATH')[0x0];if(!M)throw'I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.';}const N=a30N[a9(0x13b)](homeDir,'.maka',a9(0x125));M=M['replace'](/PATH=/,'')['replace'](/Path=/,'')[a9(0x148)](p+';',''),a30O[a9(0x133)](N,M),Log[a9(0xee)](a9(0xdd)+N);const O=a9(0xfd)+p+';'+M+a9(0xd8),P=a9(0xc1)+f+a9(0xd8);b[a9(0x105)]&&(Log[a9(0xce)](a9(0xff)+M),Log[a9(0xce)]('Setting\x20Path:\x20'+O),Log[a9(0xce)]('Setting\x20Node\x20Flags:\x20'+P)),execSync(O,{'stdio':a9(0x144)}),execSync(P,{'stdio':a9(0x144)});}catch(Q){console[a9(0x135)](Q);}try{const R=a30N[a9(0x13b)](B,a9(0xef));!b[a9(0xc3)]&&this[a9(0xf6)][a9(0x118)](R)&&a30P[a9(0x115)](R,{'force':!![]});}catch(S){console[a9(0x135)](S);}Log[a9(0x142)](a9(0x126)+o+a9(0xd5)),Log[a9(0xee)](a9(0xc9)),Log[a9(0xee)]('\x20\x20Open\x20an\x20administrative\x20PowerShell\x20terminal,\x20then\x20run:\x20'),Log['notice']('\x20\x20\x20\x20Add-MpPreference\x20-ExclusionPath\x20\x22'+p+'\x22'),Log[a9(0xee)](a9(0x103)),Log[a9(0xee)](a9(0xe5));}else{if(a9(0xe0)===a9(0xe0)){a30O[a9(0xfb)](p)&&(yield SpawnAsync[a9(0x12e)]('rm',[a9(0x12a),p],{'message':a9(0xd7)}));try{const T=l?a9(0xcc):a9(0xf0);yield SpawnAsync[a9(0x12e)]('curl',[...g,'-s','https://static-meteor.netdna-ssl.com/packages-bootstrap/'+o+a9(0xca)+T+'.tar.gz','--output',a30N[a9(0x13b)](homeDir,a9(0xef))],{'message':a9(0x10b)+o});const U=['-xzf',a30N[a9(0x13b)](homeDir,a9(0xef)),'-C',homeDir];yield SpawnAsync[a9(0x12e)](a9(0xec),U,{'message':a9(0x120)+o}),a30P['sync'](a30N[a9(0x13b)](homeDir,'meteor.tar.gz'),{'force':!![]});}catch(V){console[a9(0x135)](V);}try{execSync('mkdir\x20-p\x20'+homeDir+'/.local/bin',{'stdio':a9(0x144)}),execSync(a9(0xf2),{'stdio':'ignore'}),execSync(a9(0xc6),{'stdio':a9(0x144)}),execSync(a9(0x10c),{'stdio':a9(0x144)}),execSync(a9(0x12c),{'stdio':a9(0x144)});}catch(W){if('ZYvnR'!==a9(0x121))return f instanceof g?h:new i(function(Y){Y(k);});else console[a9(0x135)](W);}Log[a9(0x142)](a9(0x126)+o+'\x20installed.\x0a');}else c(d);}}catch(Z){a9(0x113)!==a9(0x113)?c(d):(console[a9(0x135)](Z),process[a9(0x112)](0x0));}});});
1
+ const a30a8=a30d;function a30d(a,b){const c=a30c();return a30d=function(d,e){d=d-0x1de;let f=c[d];return f;},a30d(a,b);}(function(a,b){const a5=a30d,c=a();while(!![]){try{const d=-parseInt(a5(0x205))/0x1*(parseInt(a5(0x225))/0x2)+parseInt(a5(0x1de))/0x3*(parseInt(a5(0x202))/0x4)+parseInt(a5(0x266))/0x5+parseInt(a5(0x240))/0x6*(-parseInt(a5(0x25a))/0x7)+-parseInt(a5(0x272))/0x8+-parseInt(a5(0x232))/0x9+parseInt(a5(0x235))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a30c,0xdb8a0));const a30b=(function(){let a=!![];return function(b,c){const d=a?function(){const a6=a30d;if(c){if(a6(0x271)===a6(0x216))return f instanceof g?h:new i(function(m){m(k);});else{const f=c[a6(0x248)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a30a=a30b(this,function(){const a7=a30d;return a30a[a7(0x233)]()[a7(0x257)](a7(0x234))[a7(0x233)]()[a7(0x23f)](a30a)[a7(0x257)](a7(0x234));});a30a();function a30c(){const ag=['Meteor\x20Path:\x20','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','success','--output','keepInstall','dEZYx','withSpinner','create','start','.tar.gz','Using\x20CA\x20Cert\x20','throw','JbmFc','search','uWMpA','AppData','79226XRzaOr','EcVUG','--force-local','GkHGY','platform','-rf','hNueb','wdSIQ','npm','notice','darwin','AVDzE','810725lEwFDb','HEqpZ','tar','/meteor-bootstrap-','caGHC','VAVHm','Removing\x20old\x20version\x20of\x20meteor','Removing\x20previous\x20install\x20of\x20meteor','debug','maka\x20i','Roaming','zmlRg','7630008eUbPhc','PATH','30huqkIc','size','jnOoM','exit','printf\x20\x27%s\x5cn\x27\x20\x27#!/bin/sh\x27\x20\x27exec\x20\x22$HOME/.meteor/meteor\x22\x20\x22$@\x22\x27\x20>\x20$HOME/.local/bin/meteor\x20&&\x20chmod\x20+x\x20$HOME/.local/bin/meteor','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionPath\x20\x22','then','homedir','VpdnV','Aborted','Path','oNcqC','Python','Allowing\x20insecure\x20curl\x20connections.','printf\x20\x27export\x20PATH=$PATH:$HOME/.local/bin\x27\x20>>\x20$HOME/.profile\x20&&\x20source\x20$HOME/.profile','Setting\x20Node\x20Flags:\x20','NPM\x20Path:\x20','length','sync','join','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka.cert,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','KUYXs','curl','JqhqY','grep','/.local/bin','xmWQt','maka\x20install\x20meteor\x20--force','setx\x20PATH\x20\x22','Installing\x20meteor\x20','cert','__awaiter','FbXdH','done','\x20\x20\x20\x20Add-MpPreference\x20-ExclusionProcess\x20node.exe,7z.exe,cmd.exe,powershell.exe','vvWxV','428136BAbiEu','warn','allowInsecure','7538LaxhHr','Tbtaw','replace','statSync','Install\x20a\x20meteor.\x20\x22maka\x20install\x22\x20defaults\x20to\x20\x22maka\x20install\x20meteor\x22','totalmem','zxMYw','IvWRU','cacert','TNBTk','error','next','----------------------------------','os.linux.x86_64','setx\x20TOOL_NODE_FLAGS\x20\x22--max-old-space-size=','xjmYK','string','SZpyE','noGkr','Backed\x20up\x20PATH\x20to\x20','Network\x20error,\x20please\x20try\x20again.','ZKsap','I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.','maka\x20install','Please\x20close\x20this\x20command\x20prompt\x20or\x20powershell\x20window\x20and\x20open\x20a\x20new\x20one\x20to\x20finalize\x20install.','mkdir\x20-p\x20','Meteor\x20version\x20','meteor.tar.gz','floor','force','.meteor','Installing\x20meteor\x20version\x20','30wTQHlU','existsSync','ignore','bright','version','RELEASE=','/meteor-bootstrap-os.windows.x86_64.tar.gz','path_backup.txt','fsi','concat','value','wGolO','Local','7073811yufUOs','toString','(((.+)+)+)+$','19269950XgFyUP','getGlobalConfig','isFile','Downloading\x20meteor\x20version\x20','UVzYN','-xzf','User\x20Path:\x20','--cacert','win32','Total\x20Memory:\x20','constructor','216XfxNTO','printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.zshrc','kZSwX','\x20installed.\x0a','install','\x22\x202>\x20nul','python\x20--version\x203>nul','Setting\x20Path:\x20','apply','NhWmg'];a30c=function(){return ag;};return a30c();}var __awaiter=this&&this[a30a8(0x1fd)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const a9=a30d;a9(0x26a)!==a9(0x26a)?c[a9(0x20f)](d):g(f);});}return new(c||(c=Promise))(function(f,g){const ad=a30d;function h(k){const aa=a30d;if(aa(0x20b)!==aa(0x258))try{aa(0x1f3)===aa(0x21a)?d=e['v']||f[aa(0x229)]:j(d[aa(0x210)](k));}catch(m){g(m);}else c(d);}function i(k){const ab=a30d;try{j(d[ab(0x255)](k));}catch(l){g(l);}}function j(k){const ac=a30d;ac(0x24f)!==ac(0x230)?k[ac(0x1ff)]?f(k[ac(0x22f)]):e(k[ac(0x22f)])[ac(0x1e4)](h,i):c(d);}j((d=d[ad(0x248)](a,b||[]))['next']());});};import a30M from'os';import a30N from'path';import a30O from'fs';import a30P from'delete';import{execSync}from'child_process';import{SpawnAsync}from'../tools/spawn-async/spawn-async.class.js';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';const homeDir=a30M[a30a8(0x1e5)]();Command[a30a8(0x251)]({'name':a30a8(0x244),'aliases':['i'],'validOpts':['f',a30a8(0x222),'v',a30a8(0x229),a30a8(0x26e),'cacert',a30a8(0x24e)],'usage':a30a8(0x21c),'description':a30a8(0x209),'examples':['maka\x20install\x20meteor',a30a8(0x1f9),'maka\x20install\x20meteor\x20-v\x202.3.6','maka\x20install\x20meteor\x20--version\x201.12.1',a30a8(0x26f)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const ae=a30d;try{let g=[],h='';if(b[ae(0x20d)]){if(this['fsi']['isFile'](b[ae(0x20d)]))ae(0x1e9)!==ae(0x1e9)?c[ae(0x20f)](d):(Log[ae(0x263)](ae(0x254)+b[ae(0x20d)]),h=b[ae(0x20d)],g=['--cacert',h]);else{if(ae(0x265)===ae(0x239))h['done']?i(j[ae(0x22f)]):k(l[ae(0x22f)])[ae(0x1e4)](m,n);else throw ae(0x24b)+h;}}const i=yield this[ae(0x22d)][ae(0x236)]();if(i[ae(0x1fc)]){if('GSGLU'!=='GSGLU'){if(e){const t=i[ae(0x248)](j,arguments);return k=null,t;}}else{if(this[ae(0x22d)][ae(0x237)](i[ae(0x1fc)]))h=i[ae(0x1fc)],g=['--cacert',h];else throw ae(0x1f2)+h;}}i[ae(0x204)]&&(Log[ae(0x203)](ae(0x1eb)),g=['-k']);let j=![];b['f']||b['force']?j=!![]:j=yield Actions['confirm']('This\x20command\x20should\x20NOT\x20be\x20run\x20as\x20sudo\x20or\x20with\x20administrative\x20privileges.\x20\x20Are\x20you\x20ready\x20to\x20proceed?');if(!j){if(ae(0x206)===ae(0x206))throw ae(0x1e7);else{if(this[ae(0x22d)][ae(0x237)](i[ae(0x20d)]))q[ae(0x263)]('Using\x20CA\x20Cert\x20'+r['cacert']),s=t[ae(0x20d)],u=['--cacert',v];else throw ae(0x24b)+w;}}const k=process[ae(0x25e)]===ae(0x23d),l=process[ae(0x25e)]===ae(0x264);let m=execSync('curl\x20'+g[ae(0x1f1)]('\x20')+'\x20-s\x20https://install.meteor.com/')[ae(0x233)](),n=yield this[ae(0x22d)][ae(0x1f6)](m,ae(0x22a));if(n[ae(0x1ef)]===0x0)throw ae(0x219);let o=n[0x0][ae(0x207)](/[^0-9.]/gi,'')[ae(0x207)](/\r?\n|\r/,'');(typeof b['v']===ae(0x215)||typeof b[ae(0x229)]===ae(0x215))&&(ae(0x25d)===ae(0x25d)?o=b['v']||b[ae(0x229)]:(d[ae(0x20f)](e),f[ae(0x1e1)](0x0)));let p=a30N[ae(0x1f1)](homeDir,ae(0x223));if(k){if(ae(0x20e)!==ae(0x261)){const v=execSync(ae(0x246))['toString'](),w=yield this['fsi']['grep'](v,ae(0x1ea))[0x0];if(!(w===null||w===void 0x0?void 0x0:w['includes'](ae(0x1ea)))){if(ae(0x242)===ae(0x201)){if(this[ae(0x22d)]['isFile'](g[ae(0x1fc)]))m=n[ae(0x1fc)],o=[ae(0x23c),p];else throw ae(0x1f2)+q;}else Log[ae(0x203)]('No\x20Python\x20install\x20found,\x20if\x20you\x20experience\x20build\x20/\x20install\x20failures,\x20consider\x20installing\x20python.\x20https://visualstudio.microsoft.com/downloads/');}p=a30N[ae(0x1f1)](homeDir,'AppData',ae(0x231),'.meteor');const x=a30N[ae(0x1f1)](homeDir,ae(0x259),ae(0x231)),y=a30N[ae(0x1f1)](homeDir,ae(0x259),ae(0x270),ae(0x262));var c=a30M[ae(0x20a)](),d=c/0x400,f=d/0x400;f=Math[ae(0x221)](f/0x4);const z=a30N['join'](x,ae(0x220));let A=['-s','https://static-meteor.netdna-ssl.com/packages-bootstrap/'+o+ae(0x22b),ae(0x24d),z];A=g[ae(0x22e)](A);const B=[ae(0x23a),z,'-C',x,ae(0x25c)],C=execSync('FOR\x20/F\x20\x22tokens=1,3*\x20skip=2\x22\x20%G\x20IN\x20(\x27reg\x20query\x20HKCU\x5cEnvironment\x27)\x20DO\x20@echo\x20%G=%H\x20%I')[ae(0x233)]();b['debug']&&(Log[ae(0x228)](ae(0x24a)+p),Log[ae(0x228)]('App\x20Local\x20Dir:\x20'+x),Log[ae(0x228)](ae(0x1ee)+y),Log[ae(0x228)](ae(0x23e)+f),Log['bright'](ae(0x211)),Log['bright']('curl\x20'+A[ae(0x1f1)]('\x20')),Log[ae(0x228)]('tar\x20'+B['join']('\x20')),Log[ae(0x228)](ae(0x211)),Log['bright'](C));const D=G=>{return new Promise((H,I)=>{const af=a30d,J=Log[af(0x250)]();J[af(0x252)]('Removing\x20old\x20version\x20of\x20meteor'),a30P(p,{'force':!![]},()=>{J['success'](),H();});});};a30O[ae(0x226)](p)&&(yield D(p));yield SpawnAsync['withSpinner'](ae(0x1f4),A,{'message':ae(0x238)+o});const E=a30O[ae(0x208)](z);if(E[ae(0x1df)]<0x1388){if(ae(0x1fe)!==ae(0x1f8))Log['error']('Meteor\x20download\x20failed.'),a30O['unlinkSync'](z),process['exit'](0x1);else{const H=d[ae(0x248)](e,arguments);return f=null,H;}}yield SpawnAsync[ae(0x250)](ae(0x268),B,{'message':ae(0x224)+o});try{if(ae(0x1e0)===ae(0x214)){const I=e[ae(0x250)]();I[ae(0x252)](ae(0x26c)),f(g,{'force':!![]},()=>{I['success'](),I();});}else{let I=this[ae(0x22d)][ae(0x1f6)](C,ae(0x1e8))[0x0];if(!I){I=this[ae(0x22d)][ae(0x1f6)](C,ae(0x273))[0x0];if(!I){if(ae(0x217)!==ae(0x249))throw ae(0x21b);else d(e[ae(0x255)](f));}}const J=a30N['join'](homeDir,'.maka',ae(0x22c));I=I['replace'](/PATH=/,'')[ae(0x207)](/Path=/,'')[ae(0x207)](p+';',''),a30O['writeFileSync'](J,I),Log[ae(0x263)](ae(0x218)+J);const K='setx\x20PATH\x20\x22'+p+';'+I+ae(0x245),L=ae(0x213)+f+ae(0x245);b[ae(0x26e)]&&(Log[ae(0x228)](ae(0x23b)+I),Log[ae(0x228)](ae(0x247)+K),Log[ae(0x228)](ae(0x1ed)+L)),execSync(K,{'stdio':ae(0x227)}),execSync(L,{'stdio':ae(0x227)});}}catch(N){console[ae(0x20f)](N);}try{if(ae(0x256)!==ae(0x260)){const O=a30N[ae(0x1f1)](x,ae(0x220));!b[ae(0x24e)]&&this[ae(0x22d)][ae(0x237)](O)&&a30P[ae(0x1f0)](O,{'force':!![]});}else try{i(j[ae(0x210)](k));}catch(Q){m(Q);}}catch(Q){ae(0x26b)===ae(0x25b)?c['error'](d):console[ae(0x20f)](Q);}Log[ae(0x24c)](ae(0x21f)+o+ae(0x243)),Log[ae(0x263)]('For\x20improved\x20performance,\x20consider\x20whitelisting\x20the\x20following\x20from\x20windows\x20defender.'),Log['notice']('\x20\x20Open\x20an\x20administrative\x20PowerShell\x20terminal,\x20then\x20run:\x20'),Log['notice'](ae(0x1e3)+p+'\x22'),Log['notice'](ae(0x200)),Log['notice'](ae(0x21d));}else c[ae(0x203)](ae(0x1eb)),d=['-k'];}else{a30O['existsSync'](p)&&(ae(0x1e6)!=='SYCoE'?yield SpawnAsync[ae(0x250)]('rm',[ae(0x25f),p],{'message':ae(0x26d)}):(c[ae(0x24c)](),d()));try{const U=l?'os.osx.x86_64':ae(0x212);yield SpawnAsync[ae(0x250)](ae(0x1f4),[...g,'-s','https://static-meteor.netdna-ssl.com/packages-bootstrap/'+o+ae(0x269)+U+ae(0x253),ae(0x24d),a30N[ae(0x1f1)](homeDir,ae(0x220))],{'message':'Downloading\x20meteor\x20version\x20'+o});const V=[ae(0x23a),a30N[ae(0x1f1)](homeDir,'meteor.tar.gz'),'-C',homeDir];yield SpawnAsync['withSpinner']('tar',V,{'message':ae(0x1fb)+o}),a30P[ae(0x1f0)](a30N[ae(0x1f1)](homeDir,'meteor.tar.gz'),{'force':!![]});}catch(W){ae(0x20c)!==ae(0x20c)?b=!![]:console['error'](W);}try{execSync(ae(0x21e)+homeDir+ae(0x1f7),{'stdio':ae(0x227)}),execSync(ae(0x1e2),{'stdio':ae(0x227)}),execSync(ae(0x1ec),{'stdio':'ignore'}),execSync('printf\x20\x27test\x20-f\x20~/.profile\x20&&\x20.\x20~/.profile\x27\x20>>\x20~/.bashrc',{'stdio':ae(0x227)}),execSync(ae(0x241),{'stdio':ae(0x227)});}catch(Y){console[ae(0x20f)](Y);}Log[ae(0x24c)](ae(0x21f)+o+'\x20installed.\x0a');}}catch(Z){if(ae(0x1f5)===ae(0x267)){let a1=this['fsi'][ae(0x1f6)](p,ae(0x1e8))[0x0];if(!a1){a1=this['fsi'][ae(0x1f6)](E,ae(0x273))[0x0];if(!a1)throw'I\x20cannot\x20find\x20your\x20Path\x20or\x20PATH\x20variable.';}const a2=r['join'](s,'.maka',ae(0x22c));a1=a1[ae(0x207)](/PATH=/,'')[ae(0x207)](/Path=/,'')['replace'](t+';',''),u['writeFileSync'](a2,a1),v[ae(0x263)]('Backed\x20up\x20PATH\x20to\x20'+a2);const a3=ae(0x1fa)+w+';'+a1+ae(0x245),a4=ae(0x213)+x+'\x22\x202>\x20nul';y['debug']&&(F[ae(0x228)]('User\x20Path:\x20'+a1),G[ae(0x228)]('Setting\x20Path:\x20'+a3),H[ae(0x228)](ae(0x1ed)+a4)),C(a3,{'stdio':ae(0x227)}),D(a4,{'stdio':ae(0x227)});}else console[ae(0x20f)](Z),process[ae(0x1e1)](0x0);}});});
@@ -1 +1 @@
1
- function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x19a;let f=c[d];return f;},a31d(a,b);}const a31z=a31d;function a31c(){const B=['app/packages','stop','1042748lfZFQG','docs','.+\x5c.(j|t)s(doc|x)?$','1415448WcMTSl','\x20-c\x20','apply','config','\x20-r\x20app','3kepfjS','logNotice','SkFGe','\x20-d\x20','90opGPio','search','toString','jsdoc','pathFromProject','maka\x20jsdoc','sep','join','fsi','3798JRoTzF','dmQrV','\x0a[+]\x20Documentation\x20written\x20to\x20','writeFileSync','maka\x20jsdoc\x20--init','stringify','isFile','(((.+)+)+)+$','inherit','constructor','app/public','Running\x20','pRheC','7147480bESXng','763259ytbOft','logError','761725AvfYpS','utf-8','Sjfvx','logWithSpinner','52bssHro','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','137344DBejjs','tSHUb'];a31c=function(){return B;};return a31c();}(function(a,b){const w=a31d,c=a();while(!![]){try{const d=-parseInt(w(0x19d))/0x1*(parseInt(w(0x1b8))/0x2)+parseInt(w(0x1ab))/0x3*(parseInt(w(0x1a3))/0x4)+-parseInt(w(0x1c8))/0x5+-parseInt(w(0x1a6))/0x6+-parseInt(w(0x1c6))/0x7+parseInt(w(0x19f))/0x8*(-parseInt(w(0x1af))/0x9)+parseInt(w(0x1c5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0x32b65));const a31b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a31d;if(c){if('vKlmD'===x(0x1a0))return c[x(0x1b1)]()[x(0x1b0)](x(0x1bf))[x(0x1b1)]()['constructor'](d)[x(0x1b0)](x(0x1bf));else{const f=c[x(0x1a8)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;};}()),a31a=a31b(this,function(){const y=a31d;return a31a[y(0x1b1)]()['search'](y(0x1bf))['toString']()[y(0x1c1)](a31a)[y(0x1b0)](y(0x1bf));});a31a();import a31u from'path';import a31v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command['create']({'name':a31z(0x1b2),'usage':a31z(0x1b4),'mustBeInMakaProject':!![],'description':'Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','examples':[a31z(0x1bc),'maka\x20jsdoc']},function(a){const A=a31z;let b=a31u['join'](this['fsi']['pathFromProject']({}),A(0x1a4)+a31u[A(0x1b5)]),c=a31u[A(0x1b6)](this['fsi'][A(0x1b3)]({}),A(0x1a9),'jsdoc-config.json'),d=this[A(0x1b7)][A(0x1b3)]({}),f=A(0x1b2);if(!this[A(0x1be)](c)){if(A(0x1ad)===A(0x1b9))b['stop']();else{let i={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':[A(0x1b2),'closure']},'source':{'includePattern':A(0x1a5),'excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':[A(0x1a1),'app/node_modules',A(0x1c2),'app/private']},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':A(0x19a)}};a31v[A(0x1bb)](c,JSON[A(0x1bd)](i,null,0x4));}}let g=this[A(0x19c)](A(0x1c3)+f);try{let j=f+A(0x1a7)+c+A(0x1aa)+a31u['sep']+A(0x1ae)+b;execSync(j,{'cwd':d,'stdio':A(0x1c0)}),this[A(0x1ac)]('\x0a[+]\x20Documentation\x20written\x20to\x20'+b);}catch(k){this['logError'](k),this[A(0x1c7)](A(0x19e));}finally{if(A(0x19b)===A(0x1c4)){let m=h+A(0x1a7)+i+A(0x1aa)+j['sep']+'\x20-d\x20'+k;l(m,{'cwd':m,'stdio':A(0x1c0)}),this[A(0x1ac)](A(0x1ba)+n);}else g[A(0x1a2)]();}});
1
+ function a31d(a,b){const c=a31c();return a31d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a31d(a,b);}const a31A=a31d;function a31c(){const D=['54874rppRrq','oekHF','app/private','plugins/markdown','\x20-c\x20','WYQBz','apply','writeFileSync','1063392HddAmD','1409615zyOOxA','33568430VDfFax','kUHnO','isFile','AfWhj','closure','\x0a[+]\x20Documentation\x20written\x20to\x20','(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','\x20-d\x20','7qHWLSo','create','20FYPJte','docs','pathFromProject','logError','logNotice','Running\x20','inherit','app/packages','3056088GOdxWE','constructor','51DTBuMR','5094552nAsSdo','\x20-r\x20app','sep','app/public','search','stop','Use\x20the\x20popular\x20JSDoc\x20documentation\x20generator','iOdsz','(((.+)+)+)+$','logWithSpinner','toString','aedVh','BzrTh','fsi','utf-8','[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22','jsdoc','maka\x20jsdoc','12023559bLiCeC'];a31c=function(){return D;};return a31c();}(function(a,b){const w=a31d,c=a();while(!![]){try{const d=parseInt(w(0x20f))/0x1*(parseInt(w(0x223))/0x2)+parseInt(w(0x20d))/0x3+-parseInt(w(0x205))/0x4*(-parseInt(w(0x1fa))/0x5)+-parseInt(w(0x210))/0x6+-parseInt(w(0x203))/0x7*(parseInt(w(0x1f9))/0x8)+parseInt(w(0x222))/0x9+-parseInt(w(0x1fb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a31c,0xc9572));const a31b=(function(){let a=!![];return function(b,c){const x=a31d;if(x(0x21b)!==x(0x21b))this['logError'](b),this[x(0x208)](x(0x21f));else{const e=a?function(){const y=x;if(y(0x21c)!=='Gotxf'){if(c){if(y(0x1fc)===y(0x1fc)){const f=c['apply'](b,arguments);return c=null,f;}else{const h=d[y(0x1f7)](e,arguments);return f=null,h;}}}else{let i=h+'\x20-c\x20'+i+y(0x211)+j[y(0x212)]+y(0x202)+k;l(i,{'cwd':m,'stdio':y(0x20b)}),this[y(0x209)](y(0x200)+n);}}:function(){};return a=![],e;}};}()),a31a=a31b(this,function(){const z=a31d;return a31a['toString']()[z(0x214)](z(0x218))[z(0x21a)]()[z(0x20e)](a31a)[z(0x214)](z(0x218));});a31a();import a31u from'path';import a31v from'fs';import{execSync}from'child_process';import{Command}from'../command.js';Command[a31A(0x204)]({'name':'jsdoc','usage':a31A(0x221),'mustBeInMakaProject':!![],'description':a31A(0x216),'examples':['maka\x20jsdoc\x20--init','maka\x20jsdoc']},function(a){const B=a31A;let b=a31u['join'](this[B(0x21d)][B(0x207)]({}),B(0x206)+a31u[B(0x212)]),c=a31u['join'](this[B(0x21d)][B(0x207)]({}),'config','jsdoc-config.json'),d=this[B(0x21d)][B(0x207)]({}),f=B(0x220);if(!this[B(0x1fd)](c)){if(B(0x224)!==B(0x224)){const i=g?function(){const C=B;if(i){const u=q[C(0x1f7)](r,arguments);return s=null,u;}}:function(){};return l=![],i;}else{let i={'plugins':['plugins/markdown'],'tags':{'allowUnknownTags':!![],'dictionaries':[B(0x220),B(0x1ff)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':B(0x201),'exclude':['app/packages','app/node_modules',B(0x213),B(0x1f3)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':B(0x21e)}};a31v[B(0x1f8)](c,JSON['stringify'](i,null,0x4));}}let g=this[B(0x219)](B(0x20a)+f);try{if(B(0x217)==='iOdsz'){let j=f+B(0x1f5)+c+'\x20-r\x20app'+a31u[B(0x212)]+B(0x202)+b;execSync(j,{'cwd':d,'stdio':'inherit'}),this[B(0x209)](B(0x200)+b);}else{let l={'plugins':[B(0x1f4)],'tags':{'allowUnknownTags':!![],'dictionaries':[B(0x220),B(0x1ff)]},'source':{'includePattern':'.+\x5c.(j|t)s(doc|x)?$','excludePattern':'(.+\x5c.app-tests.js)|(^|\x5c/|\x5c\x5c)_','exclude':[B(0x20c),'app/node_modules','app/public',B(0x1f3)]},'templates':{'cleverLinks':![],'monospaceLinks':![]},'opts':{'recursive':!![],'encoding':'utf-8'}};d[B(0x1f8)](e,f['stringify'](l,null,0x4));}}catch(l){if(B(0x1fe)!=='xFdBn')this[B(0x208)](l),this[B(0x208)]('[-]\x20You\x20may\x20need\x20to\x20install\x20jsdoc:\x20\x22npm\x20i\x20-g\x20jsdoc\x22');else{if(l){const n=i[B(0x1f7)](j,arguments);return k=null,n;}}}finally{if(B(0x1f6)!=='FdPKO')g[B(0x215)]();else return c[B(0x21a)]()[B(0x214)](B(0x218))[B(0x21a)]()[B(0x20e)](d)[B(0x214)](B(0x218));}});
@@ -1 +1 @@
1
- const a32C=a32d;(function(a,b){const z=a32d,c=a();while(!![]){try{const d=-parseInt(z(0x12c))/0x1*(-parseInt(z(0x12b))/0x2)+parseInt(z(0x15f))/0x3+parseInt(z(0x141))/0x4*(-parseInt(z(0x150))/0x5)+parseInt(z(0x163))/0x6*(-parseInt(z(0x158))/0x7)+-parseInt(z(0x132))/0x8+parseInt(z(0x153))/0x9+parseInt(z(0x15c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0x9c16e));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const A=a32d;if(A(0x151)===A(0x151)){if(c){if('FxLwZ'===A(0x14f)){const f={'token':f,'hash':g};h[A(0x14c)]&&k[A(0x154)](f,{'cert':l}),this[A(0x157)][A(0x16d)]({'config':f});}else{const f=c['apply'](b,arguments);return c=null,f;}}}else{b[A(0x175)]('\x0a');throw A(0x134);}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const B=a32d;return a32a[B(0x156)]()[B(0x15d)](B(0x159))['toString']()[B(0x14e)](a32a)['search'](B(0x159));});a32a();function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x127;let f=c[d];return f;},a32d(a,b);}function a32c(){const K=['authToken','debug','digest','create','get','340wskdaw','done','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','success','value','ATlzu','WjvNb','RkkWR','Email:','Password:\x20','HPTXq','cacert','help','constructor','OtYas','23675GysZrE','PgtMp','OunQU','3309426YYyZnu','assign','email','toString','fsi','11564yhfJRZ','(((.+)+)+)+$','login','IKTRy','19521840AMibdY','search','isFile','172161vomJye','zEWaC','getGlobalConfig','TIMEOUT','3198gRaPZG','toHex','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','maka\x20login','__awaiter','Logging\x20in','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','sKbDn','ask','rGtak','setGlobalConfig','WUBfp','cert','exit','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\x20login\x20--email\x20<address>\x20--password\x20<password>','header','start','failure','then','error','notice','sha256','3406EyUdGH','131JoHHHg','apply','https://www.maka-cli.com/api/v1/status','xLWMq','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','NYDKP','5424360cLIorA','FXfoK','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','throw','password','update','AuCQF','Preflight\x20Check','www.maka-cli.com','hRxYX'];a32c=function(){return K;};return a32c();}var __awaiter=this&&this[a32C(0x167)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const D=a32d;if(D(0x16e)!==D(0x16e)){if(this[D(0x157)][D(0x15e)](f[D(0x16f)]))k=l['cert'];else{m['error'](D(0x143)+n);return;}}else g(f);});}return new(c||(c=Promise))(function(f,g){const I=a32d;function h(k){const E=a32d;try{j(d['next'](k));}catch(l){if(E(0x12f)!==E(0x12f))return c[E(0x156)]()[E(0x15d)](E(0x159))[E(0x156)]()[E(0x14e)](d)[E(0x15d)](E(0x159));else g(l);}}function i(k){const F=a32d;if(F(0x146)!==F(0x15b))try{'HPTXq'===F(0x14b)?j(d[F(0x135)](k)):c(d);}catch(m){if(F(0x133)===F(0x133))g(m);else{const o=g?function(){const G=F;if(o){const u=q[G(0x12d)](r,arguments);return s=null,u;}}:function(){};return l=![],o;}}else throw b;}function j(k){const H=a32d;k[H(0x142)]?f(k[H(0x145)]):e(k[H(0x145)])[H(0x127)](h,i);}j((d=d[I(0x12d)](a,b||[]))['next']());});};import a32u from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';Command[a32C(0x13f)]({'name':a32C(0x15a),'validOpts':[a32C(0x155),a32C(0x136),a32C(0x14d),a32C(0x14c),a32C(0x13d)],'usage':a32C(0x166),'maxArgLength':0x2,'description':a32C(0x130),'examples':[a32C(0x166),a32C(0x172)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const J=a32d;let c=Log['withSpinner']();try{let d='';b['cacert']&&(J(0x13b)!==J(0x13b)?d[J(0x154)](e,{'cert':f}):this['fsi'][J(0x15e)](b[J(0x14c)])?(d=b[J(0x14c)],Log[J(0x129)]('Using\x20CA\x20Cert\x20'+d)):J(0x131)!=='btZeh'?Log[J(0x128)](J(0x165)+d):c(d));const f=this[J(0x157)][J(0x161)]();if(f[J(0x16f)]){if(J(0x138)===J(0x148))d['assign'](e,{'cert':f});else{if(this['fsi'][J(0x15e)](f['cert']))'zexsZ'!=='oCVBg'?d=f[J(0x16f)]:(e[J(0x175)](),f[J(0x128)](g),h[J(0x170)](0x0));else{Log[J(0x128)](J(0x143)+d);return;}}}Log[J(0x173)]('Logging\x20into\x20https://www.maka-cli.com');const g={'url':J(0x12e)};if(b['cacert']){if(J(0x147)!=='WjvNb'){const u=d[J(0x12d)](e,arguments);return f=null,u;}else Object[J(0x154)](g,{'cert':d});}c[J(0x174)](J(0x139));const h=yield HTTPS[J(0x140)](g);if(h===J(0x162)){c['failure']();throw J(0x169);}c[J(0x144)]();let i=b[J(0x155)]?b[J(0x155)]:yield Actions[J(0x16b)](J(0x149)),j=b[J(0x136)]?b[J(0x136)]:yield Actions[J(0x16b)](J(0x14a),!![]);if(h!==':D')throw J(0x171);const k=a32u['md'][J(0x12a)][J(0x13f)]();k[J(0x137)](j);const l=k[J(0x13e)]()[J(0x164)](),m={'hostname':J(0x13a),'path':'/api/v1/login','data':{'email':i,'password':l,'hashed':!![]}};b[J(0x14c)]&&Object[J(0x154)](m,{'cert':d});c['start'](J(0x168));const n=yield HTTPS['post'](m);if(n===J(0x162)){c[J(0x175)]('\x0a');throw J(0x134);}let o=null;if(n[J(0x13c)]){const u={'url':'https://www.maka-cli.com/api/v1/encodeJwt','headers':{'x-auth-token':n['authToken']}};b[J(0x14c)]&&Object[J(0x154)](u,{'cert':d});o=yield HTTPS[J(0x140)](u);if(o===J(0x162)){c[J(0x175)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}}else throw n;if(o){if(J(0x160)===J(0x16c))h[J(0x142)]?i(j[J(0x145)]):k(l[J(0x145)])[J(0x127)](m,n);else{const w={'token':n,'hash':o};b[J(0x14c)]&&(J(0x16a)===J(0x152)?c=d[J(0x16f)]:Object[J(0x154)](w,{'cert':d})),this['fsi'][J(0x16d)]({'config':w});}}c[J(0x144)]();}catch(y){c[J(0x175)](),console[J(0x128)](y),process[J(0x170)](0x0);}});});
1
+ function a32c(){const H=['search','digest','value','constructor','(((.+)+)+)+$','438546xAJlJE','next','91pshInu','Retrieves\x20login\x20information\x20from\x20www.maka-cli.com,\x20and\x20stores\x20a\x20hash\x20in\x20~/.maka','gvSep','done','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','toHex','authToken','36WRMnda','toString','get','Password:\x20','TIMEOUT','3162472DVBeVd','email','start','sha256','getGlobalConfig','maka\x20login','apply','hdXrd','error','exit','57721aSEWqF','fnhuW','RgCgb','failure','42899870TaYogo','4931040RXgKaL','login','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','isFile','cacert','success','throw','update','post','Logging\x20in','maka\x20login\x20--email\x20<address>\x20--password\x20<password>','notice','https://www.maka-cli.com/api/v1/status','ZPPun','Preflight\x20Check','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','472340WLlSjA','ptyMs','create','then','rICQJ','cert','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','password','15DgvxCh','fsi','assign','FgBdb','14324868VzkDgh','XNdGU','Using\x20CA\x20Cert\x20','bRliP','withSpinner','/api/v1/login','ask','Could\x20not\x20make\x20a\x20secure\x20connection.\x0a[-]\x20Please\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com'];a32c=function(){return H;};return a32c();}function a32d(a,b){const c=a32c();return a32d=function(d,e){d=d-0x1a5;let f=c[d];return f;},a32d(a,b);}const a32F=a32d;(function(a,b){const x=a32d,c=a();while(!![]){try{const d=-parseInt(x(0x1dd))/0x1*(-parseInt(x(0x1ce))/0x2)+parseInt(x(0x1b4))/0x3*(-parseInt(x(0x1ac))/0x4)+-parseInt(x(0x1e2))/0x5+-parseInt(x(0x1c5))/0x6*(parseInt(x(0x1c7))/0x7)+-parseInt(x(0x1d3))/0x8+-parseInt(x(0x1b8))/0x9+parseInt(x(0x1e1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a32c,0xc7054));const a32b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a32d;if(c){const e=c[y(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a32a=a32b(this,function(){const z=a32d;return a32a['toString']()['search']('(((.+)+)+)+$')[z(0x1cf)]()['constructor'](a32a)['search'](z(0x1c4));});a32a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){const A=a32d;if(A(0x1bb)===A(0x1bb))return f instanceof c?f:new c(function(g){g(f);});else{const h=d[A(0x1d9)](e,arguments);return f=null,h;}}return new(c||(c=Promise))(function(f,g){const E=a32d;function h(k){const B=a32d;try{j(d[B(0x1c6)](k));}catch(l){g(l);}}function i(k){const C=a32d;try{C(0x1a9)!=='ZPPun'?d(e[C(0x1c6)](f)):j(d[C(0x1e8)](k));}catch(m){'rnJSO'===C(0x1df)?this['fsi'][C(0x1e5)](h[C(0x1e6)])?(o=p[C(0x1e6)],q['notice'](C(0x1ba)+r)):s['error'](C(0x1cb)+t):g(m);}}function j(k){const D=a32d;k[D(0x1ca)]?f(k[D(0x1c2)]):e(k[D(0x1c2)])[D(0x1af)](h,i);}j((d=d[E(0x1d9)](a,b||[]))[E(0x1c6)]());});};import a32u from'node-forge';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import{HTTPS}from'../tools/https/https.class.js';Command['create']({'name':a32F(0x1e3),'validOpts':['email','password','help',a32F(0x1e6),'debug'],'usage':a32F(0x1d8),'maxArgLength':0x2,'description':a32F(0x1c8),'examples':[a32F(0x1d8),a32F(0x1a6)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a32d;let c=Log[G(0x1bc)]();try{if('amsiF'===G(0x1c9)){const f=g?function(){if(f){const u=q['apply'](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{let f='';b[G(0x1e6)]&&(this['fsi'][G(0x1e5)](b[G(0x1e6)])?(f=b[G(0x1e6)],Log[G(0x1a7)](G(0x1ba)+f)):Log['error'](G(0x1cb)+f));const g=this[G(0x1b5)][G(0x1d7)]();if(g['cert']){if(G(0x1de)===G(0x1ad))d(e[G(0x1e8)](f));else{if(this[G(0x1b5)][G(0x1e5)](g[G(0x1b1)]))f=g[G(0x1b1)];else{if('FgBdb'===G(0x1b7)){Log[G(0x1db)](G(0x1b2)+f);return;}else return c[G(0x1cf)]()[G(0x1c0)](G(0x1c4))['toString']()[G(0x1c3)](d)[G(0x1c0)](G(0x1c4));}}}Log['header']('Logging\x20into\x20https://www.maka-cli.com');const h={'url':G(0x1a8)};b[G(0x1e6)]&&Object['assign'](h,{'cert':f});c['start'](G(0x1aa));const i=yield HTTPS[G(0x1d0)](h);if(i===G(0x1d2)){c['failure']();throw G(0x1ab);}c[G(0x1e7)]();let j=b[G(0x1d4)]?b[G(0x1d4)]:yield Actions[G(0x1be)]('Email:'),k=b[G(0x1b3)]?b['password']:yield Actions[G(0x1be)](G(0x1d1),!![]);if(i!==':D')throw G(0x1e4);const l=a32u['md'][G(0x1d6)][G(0x1ae)]();l[G(0x1e9)](k);const m=l[G(0x1c1)]()[G(0x1cc)](),n={'hostname':'www.maka-cli.com','path':G(0x1bd),'data':{'email':j,'password':m,'hashed':!![]}};b[G(0x1e6)]&&Object[G(0x1b6)](n,{'cert':f});c[G(0x1d5)](G(0x1a5));const o=yield HTTPS[G(0x1ea)](n);if(o===G(0x1d2)){c[G(0x1e0)]('\x0a');throw G(0x1bf);}let p=null;if(o['authToken']){if(G(0x1b0)==='rICQJ'){const s={'url':'https://www.maka-cli.com/api/v1/encodeJwt','headers':{'x-auth-token':o[G(0x1cd)]}};b[G(0x1e6)]&&Object[G(0x1b6)](s,{'cert':f});p=yield HTTPS[G(0x1d0)](s);if(p==='TIMEOUT'){c['failure']('\x0a');throw G(0x1bf);}}else{if(this['fsi'][G(0x1e5)](f['cert']))k=l['cert'];else{m['error'](G(0x1b2)+n);return;}}}else throw o;if(p){const u={'token':o,'hash':p};b[G(0x1e6)]&&Object[G(0x1b6)](u,{'cert':f}),this[G(0x1b5)]['setGlobalConfig']({'config':u});}c['success']();}}catch(v){G(0x1b9)===G(0x1da)?(v=f[G(0x1e6)],g[G(0x1a7)](G(0x1ba)+h)):(c[G(0x1e0)](),console[G(0x1db)](v),process[G(0x1dc)](0x0));}});});
@@ -1 +1 @@
1
- const a33z=a33d;(function(a,b){const v=a33d,c=a();while(!![]){try{const d=parseInt(v(0xab))/0x1*(parseInt(v(0xb6))/0x2)+parseInt(v(0xad))/0x3*(-parseInt(v(0xa0))/0x4)+parseInt(v(0xbe))/0x5+-parseInt(v(0x89))/0x6*(-parseInt(v(0xbc))/0x7)+parseInt(v(0x95))/0x8*(parseInt(v(0xae))/0x9)+parseInt(v(0xa2))/0xa+-parseInt(v(0xa9))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xe4943));const a33b=(function(){let a=!![];return function(b,c){const w=a33d;if(w(0x87)===w(0x8b)){d[w(0x94)]();throw e[w(0xb9)](w(0xb4)+f);}else{const e=a?function(){const x=w;if(c){if(x(0xb0)==='bWkwZ')return f instanceof g?h:new i(function(m){m(k);});else{const g=c[x(0xa1)](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a33a=a33b(this,function(){const y=a33d;return a33a['toString']()[y(0xb7)](y(0x9d))['toString']()[y(0x85)](a33a)[y(0xb7)](y(0x9d));});a33a();var __awaiter=this&&this[a33z(0xa8)]||function(a,b,c,d){function e(f){const A=a33d;if(A(0xa6)==='ccryl'){b[A(0x94)]();throw A(0x97);}else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const F=a33d;function h(k){const B=a33d;if('TReFt'!==B(0xaf))try{B(0xc0)===B(0xc0)?j(d['next'](k)):c(d);}catch(m){g(m);}else d(e[B(0x88)](f));}function i(k){const C=a33d;try{j(d[C(0x88)](k));}catch(l){g(l);}}function j(k){const E=a33d;if('Cyvss'!=='Cyvss'){const n=g?function(){const D=a33d;if(n){const u=q[D(0xa1)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else k[E(0xa4)]?f(k[E(0x84)]):e(k['value'])[E(0x82)](h,i);}j((d=d[F(0xa1)](a,b||[]))['next']());});};function a33c(){const H=['ZgQXR','EXfpv','TIMEOUT','ucqnQ','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','start','3532lXYYJX','search','cacert','error','authToken','post','1707132sCptcx','kGPLt','3746910CMNbxV','ijxoh','wRHFm','setGlobalConfig','notice','assign','get','elPBr','then','yfyWw','value','constructor','token','hSTjY','throw','12cTBtWL','www.maka-cli.com','RdRoJ','header','isFile','fsi','Logging\x20out\x20of\x20https://www.maka-cli.com','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','cert','getGlobalConfig','https://www.maka-cli.com/api/v1/status','failure','10616ANLbVD','create','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','sOGec','VAsae','toString','DBLay','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','(((.+)+)+)+$','Logging\x20out','success','152572LSJFIE','apply','3196090DKIgVB','Using\x20CA\x20Cert\x20','done','exit','yqdMR','next','__awaiter','4777938fRNDBL','dzIKI','693CapJvM','logout','111IYbRJP','9Rqbgeo'];a33c=function(){return H;};return a33c();}import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{HTTPS}from'../tools/https/https.class.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x81;let f=c[d];return f;},a33d(a,b);}Command[a33z(0x96)]({'name':a33z(0xac),'validOpts':[a33z(0xb8)],'usage':'maka\x20logout','maxArgLength':0x2,'description':a33z(0x9c),'examples':['maka\x20logout']},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const G=a33d;let d=Log['withSpinner']();try{if(G(0x99)===G(0xb2))h[G(0xa4)]?i(j[G(0x84)]):k(l[G(0x84)])['then'](m,n);else{let g='';b[G(0xb8)]&&('sOGec'===G(0x98)?this[G(0x8e)]['isFile'](b[G(0xb8)])?(g=b[G(0xb8)],Log[G(0xc2)](G(0xa3)+g)):G(0x81)!=='elPBr'?c=d[G(0x91)]:Log[G(0xb9)](G(0x90)+g):(e&&i[G(0xb9)](j),h[G(0xa5)](0x0)));const h=yield this[G(0x8e)][G(0x92)]();if(h['cert']){if(this[G(0x8e)][G(0x8d)](h[G(0x91)]))g=h[G(0x91)];else{d[G(0x94)]();throw Log[G(0xb9)](G(0xb4)+g);}}Log[G(0x8c)](G(0x8f));const i={'url':G(0x93)};b['cacert']&&Object['assign'](i,{'cert':g});d[G(0xb5)]('Preflight\x20Check');const j=yield HTTPS[G(0xc4)](i);if(j===G(0xb1)){if(G(0xaa)!==G(0xbd)){d[G(0x94)]();throw G(0x97);}else return c['toString']()[G(0xb7)]('(((.+)+)+)+$')[G(0x9a)]()[G(0x85)](d)['search'](G(0x9d));}d[G(0x9f)]();if(j!==':D'){if(G(0xbf)===G(0x9b))try{i(j[G(0xa7)](k));}catch(q){m(q);}else{d[G(0x94)]();throw'https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli';}}if(!((c=h===null||h===void 0x0?void 0x0:h[G(0x86)])===null||c===void 0x0?void 0x0:c[G(0xba)])){if(G(0x83)!=='yfyWw')d[G(0xc3)](e,{'cert':f});else throw Log[G(0xb9)](G(0xb3));}d[G(0xb5)](G(0x9e));const k={'hostname':G(0x8a),'path':'/api/v1/logoutAll','data':{},'headers':{'x-auth-token':h['token'][G(0xba)]}};b[G(0xb8)]&&Object[G(0xc3)](k,{'cert':g});const l=yield HTTPS[G(0xbb)](k);if(l===G(0xb1)){d[G(0x94)]('\x0a');throw G(0x97);}this[G(0x8e)][G(0xc1)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),d[G(0x9f)]();}}catch(r){r&&console[G(0xb9)](r),process[G(0xa5)](0x0);}});});
1
+ const a33x=a33d;(function(a,b){const u=a33d,c=a();while(!![]){try{const d=parseInt(u(0x223))/0x1+-parseInt(u(0x206))/0x2*(parseInt(u(0x20e))/0x3)+-parseInt(u(0x222))/0x4*(parseInt(u(0x22d))/0x5)+-parseInt(u(0x200))/0x6*(-parseInt(u(0x1f4))/0x7)+parseInt(u(0x203))/0x8*(-parseInt(u(0x214))/0x9)+parseInt(u(0x209))/0xa*(parseInt(u(0x224))/0xb)+parseInt(u(0x20c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a33c,0xb4703));const a33b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a33d;if(v(0x21e)===v(0x1f1)){b[v(0x228)]();throw v(0x21c);}else{if(c){if(v(0x1f2)!==v(0x225)){const f=c[v(0x213)](b,arguments);return c=null,f;}else{d[v(0x228)]();throw e[v(0x1fa)](v(0x22c)+f);}}}}:function(){};return a=![],d;};}()),a33a=a33b(this,function(){const w=a33d;return a33a[w(0x21b)]()['search']('(((.+)+)+)+$')[w(0x21b)]()[w(0x215)](a33a)[w(0x201)](w(0x1fd));});function a33c(){const F=['then','value','turDe','exit','toString','Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com','cYECa','VnzlC','assign','maka\x20logout','get','4FNPgOT','512685SHkmNU','2046LvNiTt','DniZm','setGlobalConfig','xTSvy','failure','Logs\x20out\x20of\x20all\x20user\x20sessions\x20(CLI\x20and\x20browser).','logout','/api/v1/logoutAll','CA\x20Cert\x20is\x20configured\x20in\x20~/.maka/global-config.json,\x20but\x20cert\x20file\x20cannot\x20be\x20located\x20','742730ysoEsd','post','throw','success','ijDYL','vQfnx','next','isFile','token','https://www.maka-cli.com\x20seems\x20to\x20be\x20having\x20a\x20problem.\x20\x20Please\x20report\x20a\x20bug\x20at:\x20https://github.com/maka-io/maka-cli','notice','Cannot\x20find\x20login\x20token,\x20are\x20you\x20sure\x20you\x20are\x20logged\x20in?','OFvzl','GNGGa','alreW','714217fudqJT','Lmfsu','withSpinner','create','cert','start','error','QzFfP','Logging\x20out\x20of\x20https://www.maka-cli.com','(((.+)+)+)+$','__awaiter','WUFXm','54xhXGzt','search','Preflight\x20Check','8848192wZLbKy','www.maka-cli.com','uwowC','912740aEvRBp','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','nIqYe','29730XPYzRo','loIgk','SASsG','5592876SgDEzg','cacert','3NoSYCJ','Using\x20CA\x20Cert\x20','Logging\x20out','TIMEOUT','fsi','apply','9CIHzUR','constructor','LQaFa'];a33c=function(){return F;};return a33c();}a33a();var __awaiter=this&&this[a33x(0x1fe)]||function(a,b,c,d){function e(f){const y=a33d;if(y(0x20b)!==y(0x20b))c(d);else return f instanceof c?f:new c(function(h){const z=y;if(z(0x1f3)===z(0x21d)){if(e){const j=i[z(0x213)](j,arguments);return k=null,j;}}else h(f);});}return new(c||(c=Promise))(function(f,g){const D=a33d;function h(k){const A=a33d;if(A(0x231)===A(0x231))try{j(d[A(0x233)](k));}catch(l){g(l);}else this[A(0x212)][A(0x234)](h[A(0x20d)])?(o=p[A(0x20d)],q['notice'](A(0x20f)+r)):s['error']('CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20'+t);}function i(k){const B=a33d;try{j(d[B(0x22f)](k));}catch(l){if(B(0x1fb)===B(0x232)){b['failure']();throw B(0x236);}else g(l);}}function j(k){const C=a33d;k['done']?f(k[C(0x218)]):e(k[C(0x218)])[C(0x217)](h,i);}j((d=d[D(0x213)](a,b||[]))['next']());});};import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';function a33d(a,b){const c=a33c();return a33d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a33d(a,b);}import{HTTPS}from'../tools/https/https.class.js';Command[a33x(0x1f7)]({'name':a33x(0x22a),'validOpts':[a33x(0x20d)],'usage':a33x(0x220),'maxArgLength':0x2,'description':a33x(0x229),'examples':[a33x(0x220)]},function(a,b){var c;return __awaiter(this,void 0x0,void 0x0,function*(){const E=a33d;if(E(0x1f5)==='shBMU'){b[E(0x228)]('\x0a');throw E(0x21c);}else{let f=Log[E(0x1f6)]();try{let g='';b[E(0x20d)]&&(this[E(0x212)][E(0x234)](b[E(0x20d)])?(g=b[E(0x20d)],Log[E(0x237)](E(0x20f)+g)):E(0x216)===E(0x216)?Log[E(0x1fa)](E(0x207)+g):(e=f[E(0x20d)],g[E(0x237)]('Using\x20CA\x20Cert\x20'+h)));const h=yield this['fsi']['getGlobalConfig']();if(h[E(0x1f8)]){if(E(0x205)!==E(0x20a)){if(this[E(0x212)]['isFile'](h['cert']))g=h['cert'];else{f[E(0x228)]();throw Log['error'](E(0x22c)+g);}}else c[E(0x1fa)](d);}Log['header'](E(0x1fc));const i={'url':'https://www.maka-cli.com/api/v1/status'};b[E(0x20d)]&&Object[E(0x21f)](i,{'cert':g});f[E(0x1f9)](E(0x202));const j=yield HTTPS[E(0x221)](i);if(j===E(0x211)){f[E(0x228)]();throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}f[E(0x230)]();if(j!==':D'){f[E(0x228)]();throw E(0x236);}if(!((c=h===null||h===void 0x0?void 0x0:h[E(0x235)])===null||c===void 0x0?void 0x0:c['authToken']))throw Log[E(0x1fa)](E(0x1f0));f['start'](E(0x210));const k={'hostname':E(0x204),'path':E(0x22b),'data':{},'headers':{'x-auth-token':h[E(0x235)]['authToken']}};b[E(0x20d)]&&Object['assign'](k,{'cert':g});const l=yield HTTPS[E(0x22e)](k);if(l==='TIMEOUT'){f[E(0x228)]('\x0a');throw'Could\x20not\x20make\x20a\x20secure\x20connection.\x0aPlease\x20ensure\x20you\x20are\x20able\x20to\x20access\x20https://www.maka-cli.com';}this[E(0x212)][E(0x226)]({'config':{'token':{'authToken':'','userId':'','when':''},'hash':''}}),f['success']();}catch(o){if(E(0x1ff)!==E(0x227)){if(o){if(E(0x219)===E(0x208))throw b['error'](E(0x1f0));else console['error'](o);}process[E(0x21a)](0x0);}else o&&i[E(0x1fa)](j),h[E(0x21a)](0x0);}}});});
@@ -1 +1 @@
1
- const a34E=a34d;(function(a,b){const A=a34d,c=a();while(!![]){try{const d=-parseInt(A(0x96))/0x1*(-parseInt(A(0x94))/0x2)+-parseInt(A(0x9e))/0x3+parseInt(A(0x9c))/0x4+parseInt(A(0xa2))/0x5*(-parseInt(A(0x9a))/0x6)+-parseInt(A(0x97))/0x7*(-parseInt(A(0x91))/0x8)+-parseInt(A(0xa1))/0x9*(parseInt(A(0x93))/0xa)+parseInt(A(0x98))/0xb*(-parseInt(A(0x95))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0x816b5));function a34c(){const G=['create','search','maka\x20logs\x20--env\x20staging','8488puyzBl','sshSync','8310SOjyCR','2QqKbDD','72YZFrau','665301CvWrky','6419uVpKNF','1042888KuZnGE','wHBYM','77124gILSrv','ssh.json','4138032tRoXEp','help','699753jlmBMW','log','toString','4356WhsWKu','365pIivcF','join','env','readFileSync','View\x20the\x20PM2\x20logs','jSSBr','assign','(((.+)+)+)+$','fsi','constructor','HXvKV','PeLzW','parse','getConfigPath','pm2\x20logs'];a34c=function(){return G;};return a34c();}const a34b=(function(){let a=!![];return function(b,c){const B=a34d;if(B(0x99)!==B(0x99))throw b;else{const e=a?function(){const C=B;if(c){if(C(0x8a)===C(0x89))return c[C(0xa0)]()['search'](C(0x86))[C(0xa0)]()[C(0x88)](d)['search'](C(0x86));else{const g=c['apply'](b,arguments);return c=null,g;}}}:function(){};return a=![],e;}};}()),a34a=a34b(this,function(){const D=a34d;return a34a[D(0xa0)]()[D(0x8f)](D(0x86))['toString']()[D(0x88)](a34a)['search']('(((.+)+)+)+$');});a34a();import a34y from'fs';import a34z from'path';function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x84;let f=c[d];return f;},a34d(a,b);}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a34E(0x8e)]({'name':'logs','aliases':['l',a34E(0x9f)],'usage':'maka\x20logs\x20--env\x20prod','requiredOpts':[a34E(0xa4)],'mustBeInMakaProject':!![],'validOpts':[a34E(0x9d)],'description':a34E(0xa6),'examples':['maka\x20logs\x20--env\x20dev',a34E(0x90),'maka\x20l\x20-e\x20p']},function(a,b){const F=a34E;try{const c=F(0x8d),d=this['fsi'][F(0x8c)](b[F(0xa4)]),f=a34z[F(0xa3)](d,'ssh.json'),g=a34y[F(0xa5)](f),h=JSON[F(0x8b)](g['toString']());Object[F(0x85)](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}catch(i){if('epYjf'===F(0x84)){const k=F(0x8d),l=this[F(0x87)][F(0x8c)](g['env']),r=h['join'](l,F(0x9b)),s=i[F(0xa5)](r),t=j[F(0x8b)](s[F(0xa0)]());k[F(0x85)](t,{'env':l}),l[F(0x92)](k,t,{'tty':!![],'verbose':!![]});}else throw i;}});
1
+ const a34E=a34d;function a34d(a,b){const c=a34c();return a34d=function(d,e){d=d-0x138;let f=c[d];return f;},a34d(a,b);}(function(a,b){const A=a34d,c=a();while(!![]){try{const d=parseInt(A(0x147))/0x1*(parseInt(A(0x140))/0x2)+parseInt(A(0x143))/0x3+parseInt(A(0x153))/0x4+parseInt(A(0x14d))/0x5+parseInt(A(0x13e))/0x6+parseInt(A(0x13c))/0x7+-parseInt(A(0x139))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a34c,0xe1b72));const a34b=(function(){let a=!![];return function(b,c){const B=a34d;if(B(0x141)!==B(0x141))throw b;else{const e=a?function(){const C=B;if(C(0x14e)===C(0x14e)){if(c){if(C(0x144)===C(0x144)){const f=c[C(0x148)](b,arguments);return c=null,f;}else{const h=d['apply'](e,arguments);return f=null,h;}}}else{if(e){const i=i[C(0x148)](j,arguments);return k=null,i;}}}:function(){};return a=![],e;}};}()),a34a=a34b(this,function(){const D=a34d;return a34a[D(0x146)]()['search'](D(0x156))[D(0x146)]()[D(0x149)](a34a)[D(0x14b)]('(((.+)+)+)+$');});a34a();import a34y from'fs';function a34c(){const G=['join','8289966NiKLld','env','6uvdddb','SeyWw','pm2\x20logs','5378901OlQDYv','KFIAs','maka\x20l\x20-e\x20p','toString','554269Qqtseq','apply','constructor','View\x20the\x20PM2\x20logs','search','log','841525jzpQYx','kEEOx','help','ssh.json','maka\x20logs\x20--env\x20prod','readFileSync','6274672uDbjla','parse','getConfigPath','(((.+)+)+)+$','logs','46611984SHDnZt','maka\x20logs\x20--env\x20dev','maka\x20logs\x20--env\x20staging','1236340LvAlmL'];a34c=function(){return G;};return a34c();}import a34z from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':a34E(0x138),'aliases':['l',a34E(0x14c)],'usage':a34E(0x151),'requiredOpts':[a34E(0x13f)],'mustBeInMakaProject':!![],'validOpts':[a34E(0x14f)],'description':a34E(0x14a),'examples':[a34E(0x13a),a34E(0x13b),a34E(0x145)]},function(a,b){const F=a34E;try{if('QWgJm'!=='bGvYn'){const c=F(0x142),d=this['fsi'][F(0x155)](b[F(0x13f)]),f=a34z[F(0x13d)](d,F(0x150)),g=a34y[F(0x152)](f),h=JSON[F(0x154)](g['toString']());Object['assign'](h,{'env':d}),SSH['sshSync'](c,h,{'tty':!![],'verbose':!![]});}else return c[F(0x146)]()['search'](F(0x156))[F(0x146)]()[F(0x149)](d)[F(0x14b)]('(((.+)+)+)+$');}catch(j){throw j;}});
@@ -1 +1 @@
1
- function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0xb7;let f=c[d];return f;},a35d(a,b);}const a35x=a35d;(function(a,b){const u=a35d,c=a();while(!![]){try{const d=parseInt(u(0xe0))/0x1+-parseInt(u(0xde))/0x2*(parseInt(u(0xd6))/0x3)+-parseInt(u(0xd4))/0x4*(parseInt(u(0xdd))/0x5)+parseInt(u(0xbc))/0x6+-parseInt(u(0xdf))/0x7*(parseInt(u(0xc1))/0x8)+-parseInt(u(0xdb))/0x9+parseInt(u(0xc5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0xd837a));function a35c(){const E=['fsi','FugJC','GOVKD','A\x20command\x20line\x20scaffolding\x20and\x20DevOpts\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','maybeProxyCommandToMeteor','9820EVUgNy','UJBjb','15iCXLSZ','PJoPZ','runSubCommand','qgeDo','next','13402782LXDGsQ','toString','1975MEbHwv','340292oNoXDr','307209rnizTR','402248OIPVxF','zTSQv','iZfbg','mPrjm','NIXVE','maka\x20install\x20meteor','1054896HToypu','error','DmueJ','then','apply','104UlBBBB','findSubCommand','slice','maka\x20create\x20Todo','41877460zZfYDt','value','constructor','maka','EjcMo','throw','(((.+)+)+)+$','search','__awaiter','maka\x20run'];a35c=function(){return E;};return a35c();}const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a35d;if(c){const e=c[v(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const w=a35d;return a35a[w(0xdc)]()[w(0xcc)](w(0xcb))[w(0xdc)]()[w(0xc7)](a35a)[w(0xcc)]('(((.+)+)+)+$');});a35a();var __awaiter=this&&this[a35x(0xcd)]||function(a,b,c,d){function e(f){const y=a35d;if(y(0xd1)!==y(0xd5))return f instanceof c?f:new c(function(g){const z=y;'ImNxN'===z(0xc9)?this[z(0xd8)](d,e[z(0xc3)](0x1),f):g(f);});else c(d);}return new(c||(c=Promise))(function(f,g){function h(k){const A=a35d;try{j(d[A(0xda)](k));}catch(l){A(0xbe)===A(0xb9)?this[A(0xcf)][A(0xd3)]():g(l);}}function i(k){const B=a35d;if('wQEUn'!=='wQEUn')c(d);else try{j(d[B(0xca)](k));}catch(m){if('ioQFR'===B(0xd7))try{i(j[B(0xda)](k));}catch(o){m(o);}else g(m);}}function j(k){const C=a35d;if(C(0xd9)===C(0xb7))try{i(j[C(0xca)](k));}catch(m){m(m);}else k['done']?f(k[C(0xc6)]):e(k[C(0xc6)])[C(0xbf)](h,i);}j((d=d['apply'](a,b||[]))['next']());});};import{Command}from'../command.js';const Maka=new Command({'name':a35x(0xc8),'minArgLength':0x1,'description':a35x(0xd2),'usage':'maka\x20<command>\x20[<args>]\x20[<opts>]','examples':[a35x(0xbb),a35x(0xc4),a35x(0xce)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a35d;if(D(0xba)!==D(0xd0))try{if(D(0xb8)!==D(0xb8))return f instanceof g?h:new i(function(m){m(k);});else{const d=a[0x0],f=this[D(0xc2)](d);f?this[D(0xd8)](d,a[D(0xc3)](0x1),b):this[D(0xcf)]['maybeProxyCommandToMeteor']();}}catch(g){console[D(0xbd)](g),process['exit'](0x0);}else d(e['next'](f));});});export default Maka;
1
+ const a35y=a35d;(function(a,b){const v=a35d,c=a();while(!![]){try{const d=parseInt(v(0x172))/0x1*(-parseInt(v(0x175))/0x2)+parseInt(v(0x171))/0x3*(-parseInt(v(0x182))/0x4)+-parseInt(v(0x18a))/0x5+parseInt(v(0x183))/0x6*(-parseInt(v(0x190))/0x7)+parseInt(v(0x174))/0x8*(-parseInt(v(0x178))/0x9)+parseInt(v(0x187))/0xa+parseInt(v(0x17a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a35c,0x1a8dd));function a35c(){const F=['maka\x20run','runSubCommand','exit','maka','maka\x20<command>\x20[<args>]\x20[<opts>]','A\x20command\x20line\x20scaffolding\x20and\x20DevOpts\x20tool\x20for\x20Meteor\x20applications.\x0a\x20\x20Run\x20any\x20command\x20with\x20\x22--help\x22\x20for\x20details','4MsnUqJ','102hBbYQL','UBSzz','error','toString','1499630chCGeV','then','ojrgP','1048805hMeval','throw','constructor','maybeProxyCommandToMeteor','maka\x20install\x20meteor','next','19523fmZuMj','djFGi','qDmBo','value','tOwWi','huRkK','apply','fsi','554133GKeQNS','73tKmUON','VeqhE','116184nrXjIv','1172uruQdb','(((.+)+)+)+$','__awaiter','117YXDiHD','isGvV','6954904efOIUC','ZBjwq'];a35c=function(){return F;};return a35c();}const a35b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a35d;if(c){if('ojrgP'===w(0x189)){const e=c[w(0x16f)](b,arguments);return c=null,e;}else return f instanceof g?h:new i(function(m){m(k);});}}:function(){};return a=![],d;};}()),a35a=a35b(this,function(){const x=a35d;return a35a[x(0x186)]()['search'](x(0x176))[x(0x186)]()[x(0x18c)](a35a)['search'](x(0x176));});a35a();var __awaiter=this&&this[a35y(0x177)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const D=a35d;function h(k){const z=a35d;if('VeqhE'!==z(0x173)){const n=g?function(){const A=z;if(n){const u=q[A(0x16f)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else try{z(0x192)!==z(0x184)?j(d['next'](k)):d(e[z(0x18b)](f));}catch(n){g(n);}}function i(k){const B=a35d;try{if(B(0x195)===B(0x191)){if(e){const m=i[B(0x16f)](j,arguments);return k=null,m;}}else j(d[B(0x18b)](k));}catch(m){'tOwWi'===B(0x194)?g(m):(d['error'](m),f[B(0x17e)](0x0));}}function j(k){const C=a35d;k['done']?f(k['value']):e(k[C(0x193)])[C(0x188)](h,i);}j((d=d[D(0x16f)](a,b||[]))[D(0x18f)]());});};import{Command}from'../command.js';const Maka=new Command({'name':a35y(0x17f),'minArgLength':0x1,'description':a35y(0x181),'usage':a35y(0x180),'examples':[a35y(0x18e),'maka\x20create\x20Todo',a35y(0x17c)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const E=a35d;try{const c=a[0x0],d=this['findSubCommand'](c);d?E(0x17b)!==E(0x179)?this[E(0x17d)](c,a['slice'](0x1),b):c(d):this[E(0x170)][E(0x18d)]();}catch(g){console[E(0x185)](g),process[E(0x17e)](0x0);}});});function a35d(a,b){const c=a35c();return a35d=function(d,e){d=d-0x16f;let f=c[d];return f;},a35d(a,b);}export default Maka;
@@ -1 +1 @@
1
- function a36c(){var F=['error','done','%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','36dmRXTP','NwfvD','value','frvbc','Murrrrderrrrr','70hMKsCS','apply','constructor','murder','527xgvpIV','2554860mNkELd','11125350UeYGMf','YkERP','152305ksAKbj','then','toString','__awaiter','font-family:\x20monospace','Bkgwc','17770BdHjZo','248KCmfAT','94591gnVoAa','ihidg','4361046aPnQCN','maka\x20murder','create','15279lAhTwG','ZooRQ','search','(((.+)+)+)+$','log','throw'];a36c=function(){return F;};return a36c();}function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a36d(a,b);}var a36y=a36d;(function(a,b){var v=a36d,c=a();while(!![]){try{var d=parseInt(v(0x1c5))/0x1*(-parseInt(v(0x1e4))/0x2)+parseInt(v(0x1c6))/0x3+parseInt(v(0x1df))/0x4*(-parseInt(v(0x1c9))/0x5)+-parseInt(v(0x1d3))/0x6+-parseInt(v(0x1d1))/0x7*(parseInt(v(0x1d0))/0x8)+-parseInt(v(0x1c7))/0x9+-parseInt(v(0x1cf))/0xa*(-parseInt(v(0x1d6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0x9d909));var a36b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a36d;if(c){var e=c[w(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a36a=a36b(this,function(){var x=a36d;return a36a[x(0x1cb)]()[x(0x1d8)](x(0x1d9))[x(0x1cb)]()[x(0x1e6)](a36a)[x(0x1d8)](x(0x1d9));});a36a();var __awaiter=this&&this[a36y(0x1cc)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var D=a36d;function h(k){var z=a36d;if(z(0x1ce)===z(0x1e2))b['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',z(0x1cd));else try{if(z(0x1e0)!==z(0x1d7))j(d['next'](k));else{var n=g?function(){var A=z;if(n){var u=q[A(0x1e5)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}}catch(n){if(z(0x1c8)===z(0x1d2))try{i(j['next'](k));}catch(p){m(p);}else g(n);}}function i(k){var B=a36d;try{j(d[B(0x1db)](k));}catch(l){g(l);}}function j(k){var C=a36d;k[C(0x1dd)]?f(k[C(0x1e1)]):e(k[C(0x1e1)])[C(0x1ca)](h,i);}j((d=d[D(0x1e5)](a,b||[]))['next']());});};import{Command}from'../command.js';Command[a36y(0x1d5)]({'name':a36y(0x1c4),'usage':a36y(0x1d4),'maxArgLength':0x1,'description':a36y(0x1e3)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a36d;try{console[E(0x1da)](E(0x1de),E(0x1cd));}catch(b){console[E(0x1dc)](b),process['exit'](0x0);}});});
1
+ var a36y=a36d;(function(a,b){var u=a36d,c=a();while(!![]){try{var d=parseInt(u(0x169))/0x1*(-parseInt(u(0x15c))/0x2)+parseInt(u(0x16f))/0x3+-parseInt(u(0x162))/0x4*(-parseInt(u(0x161))/0x5)+parseInt(u(0x15d))/0x6+parseInt(u(0x17a))/0x7*(-parseInt(u(0x167))/0x8)+parseInt(u(0x163))/0x9+-parseInt(u(0x16e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a36c,0xf41a0));function a36d(a,b){var c=a36c();return a36d=function(d,e){d=d-0x15a;var f=c[d];return f;},a36d(a,b);}var a36b=(function(){var a=!![];return function(b,c){var v=a36d;if(v(0x171)===v(0x171)){var d=a?function(){var w=v;if(c){var e=c[w(0x176)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else return c['toString']()[v(0x166)]('(((.+)+)+)+$')['toString']()[v(0x170)](d)[v(0x166)](v(0x177));};}()),a36a=a36b(this,function(){var x=a36d;return a36a[x(0x173)]()[x(0x166)](x(0x177))['toString']()['constructor'](a36a)[x(0x166)](x(0x177));});a36a();function a36c(){var E=['cOXRl','log','next','bAuui','12284340TzgGzT','3611637ZQZMhm','constructor','jVZIZ','vWByo','toString','done','zIkrU','apply','(((.+)+)+)+$','__awaiter','%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','1955002dvyywT','create','font-family:\x20monospace','exit','12ahzakn','9596286PGOwmT','tawjY','throw','then','7286810ZZXNFh','4XrFwKL','4197744HTLmqu','Murrrrderrrrr','value','search','32NUczHt','error','230270gemkag'];a36c=function(){return E;};return a36c();}var __awaiter=this&&this[a36y(0x178)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var C=a36d;function h(k){var z=a36d;try{if(z(0x16d)===z(0x16d))j(d['next'](k));else{if(e){var m=i['apply'](j,arguments);return k=null,m;}}}catch(m){z(0x175)==='lUQso'?c(d):g(m);}}function i(k){var A=a36d;if('lGjJt'==='lGjJt')try{j(d[A(0x15f)](k));}catch(l){g(l);}else h[A(0x174)]?i(j[A(0x165)]):k(l['value'])['then'](m,n);}function j(k){var B=a36d;if(B(0x16a)!==B(0x16a)){var m=d[B(0x176)](e,arguments);return f=null,m;}else k[B(0x174)]?f(k[B(0x165)]):e(k[B(0x165)])[B(0x160)](h,i);}j((d=d[C(0x176)](a,b||[]))[C(0x16c)]());});};import{Command}from'../command.js';Command[a36y(0x17b)]({'name':'murder','usage':'maka\x20murder','maxArgLength':0x1,'description':a36y(0x164)},function(a){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a36d;if(D(0x172)!=='whefi')try{console[D(0x16b)](D(0x179),D(0x15a));}catch(b){D(0x15e)!==D(0x15e)?d(b[D(0x15f)](f)):(console[D(0x168)](b),process[D(0x15b)](0x0));}else try{g['log'](D(0x179),D(0x15a));}catch(f){j[D(0x168)](f),k[D(0x15b)](0x0);}});});
@@ -1 +1 @@
1
- const a37A=a37d;(function(a,b){const w=a37d,c=a();while(!![]){try{const d=parseInt(w(0x115))/0x1*(parseInt(w(0x103))/0x2)+parseInt(w(0x10b))/0x3*(parseInt(w(0x129))/0x4)+-parseInt(w(0x114))/0x5*(parseInt(w(0x11d))/0x6)+parseInt(w(0x11b))/0x7*(-parseInt(w(0x120))/0x8)+-parseInt(w(0xff))/0x9+parseInt(w(0x112))/0xa*(parseInt(w(0xf5))/0xb)+-parseInt(w(0x100))/0xc*(-parseInt(w(0x102))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0xd86ac));const a37b=(function(){let a=!![];return function(b,c){const x=a37d;if(x(0xfd)===x(0xfd)){const d=a?function(){const y=x;if(c){if('aBFGm'===y(0xfe)){const e=c['apply'](b,arguments);return c=null,e;}else d['error'](e),f[y(0x111)](0x0);}}:function(){};return a=![],d;}else c(d);};}()),a37a=a37b(this,function(){const z=a37d;return a37a[z(0x10e)]()['search'](z(0x105))[z(0x10e)]()[z(0xf3)](a37a)[z(0x119)]('(((.+)+)+)+$');});a37a();var __awaiter=this&&this[a37A(0x104)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const B=a37d;B(0xf8)!==B(0xf8)?c(d):g(f);});}return new(c||(c=Promise))(function(f,g){const E=a37d;function h(k){const C=a37d;try{j(d[C(0x101)](k));}catch(l){g(l);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const D=a37d;if('ZjRIZ'!==D(0x10d))throw b;else k['done']?f(k['value']):e(k['value'])[D(0x125)](h,i);}j((d=d[E(0x123)](a,b||[]))[E(0x101)]());});};function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0xf2;let f=c[d];return f;},a37d(a,b);}import a37u from'fs';import a37v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';function a37c(){const G=['(((.+)+)+)+$','AJJvG','Remote\x20host\x20connection\x20successful','bliUJ','reconfig','assign','99213IrTbKp','ping','ZjRIZ','toString','success','zJZhi','exit','673070LbjRVt','KPZJU','2451495tzbDrE','3bvQMHH','pm2.config.js','uname\x20-a','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','search','error','21HpWMYk','parse','12cfqdip','help','getConfigPath','1441024DbQsMT','maka\x20reconfig\x20--env\x20prod','sshSync','apply','~/settings.json','then','fsi','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','join','116qvtgeJ','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','constructor','env','154jBvfmf','settings.json','OyLVx','nDMNv','scp','DnVdZ','readFileSync','stRth','aAoMC','aBFGm','7685955hJgrTY','12XRCmLR','next','9963590PtowMe','395756MRKhBF','__awaiter'];a37c=function(){return G;};return a37c();}Command['create']({'name':a37A(0x109),'validOpts':[a37A(0x11e)],'requiredOpts':[a37A(0xf4)],'mustBeInMakaProject':!![],'usage':a37A(0x121),'description':a37A(0x127),'examples':[a37A(0x121)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const F=a37d;if(F(0xfc)!=='RvBWY')try{if(F(0x108)!=='bliUJ'){const d=d[F(0x123)](e,arguments);return f=null,d;}else{const d=this[F(0x126)][F(0x11f)](b[F(0xf4)]),f=a37v['join'](d,'ssh.json'),g=a37u[F(0xfb)](f)['toString']();let h=JSON[F(0x11c)](g);Object[F(0x10a)](h,{'env':d}),Log['notice']('Checking\x20remote\x20host\x20availability');try{if(F(0x110)!==F(0x113)){let k=SSH[F(0x10c)](F(0x117),h);if(!k)throw F(0x118);if(k)Log[F(0x10f)](F(0x107));}else d(e['throw'](f));}catch(m){if(F(0xfa)!==F(0xfa))return c['toString']()[F(0x119)](F(0x105))[F(0x10e)]()[F(0xf3)](d)[F(0x119)](F(0x105));else throw m;}let i=a37v['join'](d,F(0x116));SSH[F(0xf9)]({'source':i,'dest':'~/pm2.config.js'},Object[F(0x10a)]({},h));let j=a37v[F(0x128)](d,F(0xf6));SSH['scp']({'source':j,'dest':F(0x124)},Object[F(0x10a)]({},h)),SSH[F(0x122)]('pm2\x20delete\x20all',h),yield SSH['ssh'](F(0xf2),Object[F(0x10a)]({},h),{'verbose':!![]});}}catch(o){if(F(0xf7)!==F(0x106))console[F(0x11a)](o),process[F(0x111)](0x0);else{if(o){const q=i[F(0x123)](j,arguments);return k=null,q;}}}else d(e['next'](f));});});
1
+ const a37z=a37d;(function(a,b){const w=a37d,c=a();while(!![]){try{const d=-parseInt(w(0x12d))/0x1*(-parseInt(w(0x143))/0x2)+parseInt(w(0x13b))/0x3*(parseInt(w(0x13c))/0x4)+parseInt(w(0x138))/0x5*(parseInt(w(0x13a))/0x6)+parseInt(w(0x123))/0x7+parseInt(w(0x14c))/0x8*(-parseInt(w(0x134))/0x9)+parseInt(w(0x124))/0xa+-parseInt(w(0x14d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a37c,0x6a0ca));function a37d(a,b){const c=a37c();return a37d=function(d,e){d=d-0x11f;let f=c[d];return f;},a37d(a,b);}const a37b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a37d;if(x(0x128)!==x(0x152)){if(c){const e=c['apply'](b,arguments);return c=null,e;}}else c(d);}:function(){};return a=![],d;};}()),a37a=a37b(this,function(){const y=a37d;return a37a[y(0x149)]()[y(0x145)]('(((.+)+)+)+$')['toString']()[y(0x122)](a37a)[y(0x145)]('(((.+)+)+)+$');});function a37c(){const E=['18968323yrnoWO','success','HiVHc','then','fsi','CrHzP','uname\x20-a','~/pm2.config.js','env','constructor','1546895eLLOfQ','8551400hyLcWQ','apply','ping','value','FwRUt','Could\x20not\x20connect\x20to\x20remote\x20host.\x20Please\x20check\x20your\x20ssh.json\x20config\x20file.','getConfigPath','create','__awaiter','723307RDabFq','DZccC','scp','settings.json','error','help','throw','369QLXohX','If\x20using\x20a\x20remote\x20server\x20(Ubuntu),\x20send\x20up\x20the\x20settings.json\x20and\x20pm2.config.js\x20files\x20and\x20reloads\x20the\x20PM2\x20service.','exit','notice','5BSnpCy','ssh','4440336SbYlni','1623hMboJI','2936aVwnZJ','join','assign','next','done','trEpB','maka\x20reconfig\x20--env\x20prod','2BBbqqJ','~/settings.json','search','ejCrX','pm2.config.js','ssh.json','toString','Checking\x20remote\x20host\x20availability','reconfig','151768eEVeAn'];a37c=function(){return E;};return a37c();}a37a();var __awaiter=this&&this[a37z(0x12c)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a37d;function h(k){const A=a37d;if(A(0x146)===A(0x14f))c(d);else try{j(d['next'](k));}catch(m){g(m);}}function i(k){try{j(d['throw'](k));}catch(l){g(l);}}function j(k){const B=a37d;k[B(0x140)]?f(k['value']):e(k[B(0x127)])[B(0x150)](h,i);}j((d=d[C(0x125)](a,b||[]))[C(0x13f)]());});};import a37u from'fs';import a37v from'path';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a37z(0x12b)]({'name':a37z(0x14b),'validOpts':[a37z(0x132)],'requiredOpts':[a37z(0x121)],'mustBeInMakaProject':!![],'usage':a37z(0x142),'description':a37z(0x135),'examples':[a37z(0x142)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a37d;if('puzHZ'!==D(0x141))try{const c=this[D(0x151)][D(0x12a)](b[D(0x121)]),d=a37v['join'](c,D(0x148)),f=a37u['readFileSync'](d)['toString']();let g=JSON['parse'](f);Object['assign'](g,{'env':c}),Log[D(0x137)](D(0x14a));try{if('kBkXP'!=='TxUVv'){let j=SSH[D(0x126)](D(0x11f),g);if(!j)throw D(0x129);if(j)Log[D(0x14e)]('Remote\x20host\x20connection\x20successful');}else d(e[D(0x133)](f));}catch(l){throw l;}let h=a37v[D(0x13d)](c,D(0x147));SSH[D(0x12f)]({'source':h,'dest':D(0x120)},Object[D(0x13e)]({},g));let i=a37v[D(0x13d)](c,D(0x130));SSH['scp']({'source':i,'dest':D(0x144)},Object[D(0x13e)]({},g)),SSH['sshSync']('pm2\x20delete\x20all',g),yield SSH[D(0x139)]('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',Object[D(0x13e)]({},g),{'verbose':!![]});}catch(m){if(D(0x12e)===D(0x12e))console[D(0x131)](m),process[D(0x136)](0x0);else try{i(j[D(0x13f)](k));}catch(o){m(o);}}else h[D(0x140)]?i(j[D(0x127)]):k(l['value'])[D(0x150)](m,n);});});
@@ -1 +1 @@
1
- const a38G=a38d;(function(a,b){const D=a38d,c=a();while(!![]){try{const d=-parseInt(D(0xf6))/0x1*(-parseInt(D(0xee))/0x2)+-parseInt(D(0xe1))/0x3*(parseInt(D(0x103))/0x4)+parseInt(D(0xdc))/0x5+-parseInt(D(0xe6))/0x6*(-parseInt(D(0x110))/0x7)+-parseInt(D(0xe4))/0x8+parseInt(D(0x106))/0x9*(parseInt(D(0x126))/0xa)+-parseInt(D(0xe3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x20f1b));const a38b=(function(){let a=!![];return function(b,c){const d=a?function(){const E=a38d;if(c){const e=c[E(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a38a=a38b(this,function(){const F=a38d;return a38a['toString']()[F(0xdb)]('(((.+)+)+)+$')[F(0x107)]()['constructor'](a38a)[F(0xdb)](F(0xd9));});a38a();function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0xd6;let f=c[d];return f;},a38d(a,b);}var __awaiter=this&&this[a38G(0xd8)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const H=a38d;H(0x102)===H(0xfc)?(d[H(0x10c)](e),f['exit'](0x0)):g(f);});}return new(c||(c=Promise))(function(f,g){const M=a38d;function h(k){const I=a38d;try{j(d[I(0x122)](k));}catch(l){if(I(0x124)!==I(0x124)){const n=g?function(){const J=I;if(n){const u=q[J(0xf1)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else g(l);}}function i(k){const K=a38d;if(K(0x11f)!==K(0x11f))b[K(0xed)](K(0x11a));else try{j(d['throw'](k));}catch(m){if(K(0xe9)===K(0xe9))g(m);else{const o=d[K(0xf1)](m,arguments);return f=null,o;}}}function j(k){const L=a38d;'TZyMz'!==L(0xf0)?k[L(0x123)]?f(k[L(0xec)]):e(k['value'])[L(0x11e)](h,i):this[L(0xf5)][L(0xf8)]('run',c['concat'](d));}j((d=d[M(0xf1)](a,b||[]))[M(0x122)]());});};import a38A from'path';import a38B from'fs';import a38C from'dotenv';function a38c(){const Q=['fsi','185517jraiMS','existsSync','invokeMeteorCommand','Node\x20Env\x20Config:\x20','inspect','settings.json','wluyj','Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','split','docker-compose.yaml','coTyD','slice','OyUVt','43788zbdrrp','process.env','getProjectConfig','45JevhLd','toString','sep','isFile','\x20up\x20--remove-orphans','Meteor\x20Settings:\x20','error','pm2.config.js','exit','nasOZ','556759OPpSfl','docker','PM2\x20Config\x20File:\x20','verbose','XnuZc','exclude-archs','inherit','argv','env','filter','--production','maka\x20run\x0a\x20\x20\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\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\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20\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\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\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\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\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20\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\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20\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\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20\x20\x20--docker\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Build\x20and\x20run\x20the\x20application\x20in\x20a\x20docker\x20container.\x20Requires\x20Docker.\x0a\x0a\x20\x20\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\x20\x20\x20removes\x20development\x20packages.','production','run','then','LXNrN','getConfigPath','splice','next','done','mYnht','settings','194830Jvkspc','kprJx','templateContent','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)','__awaiter','(((.+)+)+)+$','config','search','1168060nQZIVu','mobile-server','docker-compose\x20--project-directory\x20','join','appName','21OXbiAL','concat','1964600FQHQLb','1647304jaNYeU','port','6xEhYGk','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','createFile','GZGhh','warn','--settings','value','push','2frCHuT','extra-packages','DYyVt','apply','notice','Cannot\x20find\x20Node\x20Environment\x20File:\x20','allow-incompatible-update'];a38c=function(){return Q;};return a38c();}import{execSync}from'child_process';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const N=a38G;a38B['openSync'](a,'r'),a38C[N(0xda)]({'path':a});};Command['create']({'name':a38G(0x11d),'mustBeInMakaProject':!![],'usage':a38G(0x11b),'validOpts':['env',a38G(0x111),'r','raw-logs','p',a38G(0xe5),'i',a38G(0xfa),'m',a38G(0xdd),'v',a38G(0x113),a38G(0xf4),a38G(0xef),'x',a38G(0x115),'production'],'description':a38G(0xfd)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const O=a38d;try{if(b['mobile-server']&&b[O(0xdd)]===!![]||b['m']&&b['m']===!![])throw O(0xd7);let c=this[O(0xf5)][O(0x105)]();const d=b[O(0x118)]?b[O(0x118)]:'development',f=this['fsi'][O(0x120)](d),g=a38A[O(0xdf)](f,O(0x104));let h=a38A['join'](f,'settings.json');b[O(0x125)]?h=b[O(0x125)]:h=a38A[O(0xdf)](f,O(0xfb));if(this[O(0xf5)][O(0x109)](g)&&!b[O(0x111)])Log[O(0xf2)](O(0xf9)+g),syncSource(g);else!b[O(0x111)]&&(O(0x127)!==O(0x127)?(e[O(0xf2)](O(0xf9)+f),g(h)):Log[O(0xea)](O(0xf3)+g));this[O(0xf5)]['isFile'](h)?(Log[O(0xf2)](O(0x10b)+h),a=a[O(0xe2)]([O(0xeb),h])):O(0x100)===O(0x100)?Log[O(0xea)](O(0xe7)+h):c=d[O(0x125)];const i=f[O(0xfe)](a38A[O(0x108)]),j=i[i['length']-0x1];j===O(0x11c)&&a[O(0xed)]('--production');const k=process[O(0x117)][O(0x101)](0x2)['filter'](n=>n!==O(0x11d))[O(0x119)](n=>n!==a[0x0]);k['forEach']((n,o)=>{const P=O;n==='--env'&&('XnuZc'!==P(0x114)?h[P(0x123)]?i(j[P(0xec)]):k(l[P(0xec)])['then'](m,n):k['splice'](o,0x2)),n==='-e'&&k[P(0x121)](o,0x2);});if(b[O(0x111)]){const n=this[O(0xf5)][O(0x120)](O(0x111)),o=a38A[O(0xdf)](n,O(0xff)),p=a38A[O(0xdf)](n,O(0x10d));Log[O(0xf2)](O(0x112)+p),Log[O(0xf2)]('Docker\x20Compose\x20Path:\x20'+o);if(!a38B[O(0xf7)](o)){if(O(0x10f)===O(0x10f)){const q={'app':c[O(0xe0)],'appFileCase':paramCase(c[O(0xe0)])};let r=this['fsi'][O(0xd6)]({'srcPath':'config/docker-compose.yaml','context':q})+'\x0a';this[O(0xf5)][O(0xe8)]({'filePath':o,'data':r});}else d(e[O(0x122)](f));}execSync(O(0xde)+n+O(0x10a),{'stdio':O(0x116)});}else this['fsi']['invokeMeteorCommand']('run',a[O(0xe2)](k));}catch(t){console[O(0x10c)](t),process[O(0x10e)](0x0);}});});
1
+ const a38F=a38d;(function(a,b){const D=a38d,c=a();while(!![]){try{const d=-parseInt(D(0x1d5))/0x1*(parseInt(D(0x1d0))/0x2)+parseInt(D(0x1d1))/0x3+-parseInt(D(0x1c0))/0x4+-parseInt(D(0x1b2))/0x5+parseInt(D(0x1dd))/0x6*(parseInt(D(0x1c2))/0x7)+-parseInt(D(0x1a2))/0x8+parseInt(D(0x1ac))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a38c,0x1e0d1));const a38b=(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;};}()),a38a=a38b(this,function(){const E=a38d;return a38a[E(0x19b)]()[E(0x1e4)](E(0x1c7))[E(0x19b)]()['constructor'](a38a)[E(0x1e4)]('(((.+)+)+)+$');});a38a();var __awaiter=this&&this[a38F(0x1b8)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const J=a38d;function h(k){const G=a38d;try{j(d[G(0x19a)](k));}catch(l){g(l);}}function i(k){const H=a38d;try{j(d[H(0x1bd)](k));}catch(l){'bXXKR'!=='bXXKR'?c(d):g(l);}}function j(k){const I=a38d;I(0x1cd)===I(0x1cd)?k[I(0x1c4)]?f(k[I(0x1be)]):e(k[I(0x1be)])[I(0x1c1)](h,i):d(e[I(0x1bd)](f));}j((d=d[J(0x1c9)](a,b||[]))['next']());});};import a38A from'path';function a38d(a,b){const c=a38c();return a38d=function(d,e){d=d-0x19a;let f=c[d];return f;},a38d(a,b);}function a38c(){const N=['Run\x20your\x20app\x20for\x20a\x20given\x20environment\x20or\x20in\x20docker.','throw','value','docker-compose.yaml','623832NhRVUx','then','7ktRWDL','mobile-server','done','length','env','(((.+)+)+)+$','Node\x20Env\x20Config:\x20','apply','existsSync','split','getConfigPath','bPHzA','error','getProjectConfig','50KNvjii','206511fOUzpQ','createFile','--production','--env','7994JnrJEy','docker','\x20up\x20--remove-orphans','config','verbose','inspect','Cannot\x20find\x20Node\x20Environment\x20File:\x20','openSync','1347738JRniVX','forEach','exit','concat','extra-packages','port','invokeMeteorCommand','search','appName','FxPcp','create','isFile','allow-incompatible-update','development','run','next','toString','exclude-archs','Docker\x20Compose\x20Path:\x20','production','join','warn','Cannot\x20find\x20Meteor\x20Settings\x20File:\x20','1715616knsVqS','notice','splice','settings','filter','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)','maka\x20run\x0a\x20\x20\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\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\x20\x20\x20Defaults\x20to\x20the\x20development\x20(dev)\x20environment.\x0a\x0a\x20\x20\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\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\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\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\x20\x20\x20Default\x20port\x20is\x209229.\x0a\x0a\x20\x20\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\x20\x20\x20mobile\x20app\x20mode\x20with\x20Cordova.\x0a\x0a\x20\x20\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\x20\x20--exclude-archs\x20\x22web.browser.legacy,\x20web.cordova\x22)\x0a\x0a\x20\x20\x20\x20--docker\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20Build\x20and\x20run\x20the\x20application\x20in\x20a\x20docker\x20container.\x20Requires\x20Docker.\x0a\x0a\x20\x20\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\x20\x20\x20removes\x20development\x20packages.','PM2\x20Config\x20File:\x20','process.env','templateContent','4322997KWPAKQ','push','fsi','sep','RtSnT','ZsIwC','402220lRTGck','slice','inherit','Meteor\x20Settings:\x20','settings.json','tupjF','__awaiter','tfSMB','LfhuM','docker-compose\x20--project-directory\x20'];a38c=function(){return N;};return a38c();}import a38B from'fs';import a38C from'dotenv';import{execSync}from'child_process';import{Command}from'../command.js';import{Log}from'../tools/log/log.class.js';import{paramCase}from'change-case';const syncSource=function(a){const K=a38F;a38B[K(0x1dc)](a,'r'),a38C[K(0x1d8)]({'path':a});};Command[a38F(0x1e7)]({'name':'run','mustBeInMakaProject':!![],'usage':a38F(0x1a8),'validOpts':[a38F(0x1c6),a38F(0x1d6),'r','raw-logs','p',a38F(0x1e2),'i',a38F(0x1da),'m',a38F(0x1c3),'v',a38F(0x1d9),a38F(0x1e9),a38F(0x1e1),'x',a38F(0x19c),a38F(0x19e)],'description':a38F(0x1bc)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const L=a38d;if(L(0x1e6)!==L(0x1e6))g===L(0x1d4)&&m[L(0x1a4)](n,0x2),j==='-e'&&o[L(0x1a4)](p,0x2);else try{if(b['mobile-server']&&b[L(0x1c3)]===!![]||b['m']&&b['m']===!![]){if(L(0x1b9)===L(0x1b9))throw L(0x1a7);else c[L(0x1a4)](d,0x2);}let d=this['fsi'][L(0x1cf)]();const f=b['env']?b[L(0x1c6)]:L(0x1ea),g=this[L(0x1ae)][L(0x1cc)](f),h=a38A[L(0x19f)](g,L(0x1aa));let i=a38A['join'](g,L(0x1b6));b[L(0x1a5)]?i=b[L(0x1a5)]:i=a38A[L(0x19f)](g,'settings.json');if(this[L(0x1ae)][L(0x1e8)](h)&&!b[L(0x1d6)])Log[L(0x1a3)](L(0x1c8)+h),syncSource(h);else!b[L(0x1d6)]&&Log['warn'](L(0x1db)+h);this[L(0x1ae)][L(0x1e8)](i)?(Log[L(0x1a3)](L(0x1b5)+i),a=a[L(0x1e0)](['--settings',i])):Log[L(0x1a0)](L(0x1a1)+i);const j=g[L(0x1cb)](a38A[L(0x1af)]),k=j[j[L(0x1c5)]-0x1];if(k===L(0x19e)){if(L(0x1b0)!==L(0x1ba))a[L(0x1ad)](L(0x1d3));else try{i(j[L(0x19a)](k));}catch(o){m(o);}}const l=process['argv'][L(0x1b3)](0x2)[L(0x1a6)](o=>o!==L(0x1eb))[L(0x1a6)](o=>o!==a[0x0]);l[L(0x1de)]((o,p)=>{const M=L;o==='--env'&&(M(0x1b1)===M(0x1b7)?this[M(0x1ae)][M(0x1e3)](M(0x1eb),c['concat'](d)):l[M(0x1a4)](p,0x2)),o==='-e'&&l[M(0x1a4)](p,0x2);});if(b['docker']){if('UApir'!=='lMbob'){const o=this[L(0x1ae)][L(0x1cc)](L(0x1d6)),p=a38A[L(0x19f)](o,L(0x1bf)),q=a38A[L(0x19f)](o,'pm2.config.js');Log[L(0x1a3)](L(0x1a9)+q),Log[L(0x1a3)](L(0x19d)+p);if(!a38B[L(0x1ca)](p)){const r={'app':d[L(0x1e5)],'appFileCase':paramCase(d[L(0x1e5)])};let s=this[L(0x1ae)][L(0x1ab)]({'srcPath':'config/docker-compose.yaml','context':r})+'\x0a';this[L(0x1ae)][L(0x1d2)]({'filePath':p,'data':s});}execSync(L(0x1bb)+o+L(0x1d7),{'stdio':L(0x1b4)});}else c[L(0x1a4)](d,0x2);}else'rAdUS'==='BELQF'?(e[L(0x1dc)](f,'r'),g[L(0x1d8)]({'path':h})):this[L(0x1ae)][L(0x1e3)](L(0x1eb),a[L(0x1e0)](l));}catch(v){console[L(0x1ce)](v),process[L(0x1df)](0x0);}});});
@@ -1 +1 @@
1
- function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0x7e;var f=c[d];return f;},a39d(a,b);}(function(a,b){var u=a39d,c=a();while(!![]){try{var d=-parseInt(u(0x87))/0x1*(-parseInt(u(0x7f))/0x2)+-parseInt(u(0x82))/0x3*(parseInt(u(0x8a))/0x4)+-parseInt(u(0x85))/0x5*(parseInt(u(0x81))/0x6)+-parseInt(u(0x8c))/0x7*(parseInt(u(0x89))/0x8)+-parseInt(u(0x86))/0x9+-parseInt(u(0x83))/0xa+-parseInt(u(0x8d))/0xb*(-parseInt(u(0x80))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x508fd));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a39d;if(c){var e=c[v(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var w=a39d;return a39a[w(0x84)]()[w(0x7e)](w(0x8e))[w(0x84)]()[w(0x8b)](a39a)['search'](w(0x8e));});a39a();import'./set.command.js';import'./global.sub.cmd.js';function a39c(){var x=['8675eyBXGs','482670tKosvb','1080MPYeWH','apply','8qgicBq','12CQCOHG','constructor','422639znwibl','22xUKLJC','(((.+)+)+)+$','search','6HAqPOy','7335108BGPWep','1962VBGlDt','146526cuGJvh','678990gKWFrj','toString'];a39c=function(){return x;};return a39c();}import'./local.sub.cmd.js';
1
+ (function(a,b){var u=a39d,c=a();while(!![]){try{var d=parseInt(u(0xa9))/0x1+parseInt(u(0xa4))/0x2+-parseInt(u(0xaa))/0x3+-parseInt(u(0xaf))/0x4*(-parseInt(u(0xa6))/0x5)+-parseInt(u(0xb0))/0x6+parseInt(u(0xa8))/0x7*(parseInt(u(0xad))/0x8)+-parseInt(u(0xa7))/0x9*(parseInt(u(0xab))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a39c,0x4ce92));var a39b=(function(){var a=!![];return function(b,c){var d=a?function(){var v=a39d;if(c){var e=c[v(0xac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a39a=a39b(this,function(){var w=a39d;return a39a[w(0xae)]()[w(0xb2)](w(0xb1))[w(0xae)]()[w(0xa5)](a39a)[w(0xb2)](w(0xb1));});a39a();import'./set.command.js';function a39d(a,b){var c=a39c();return a39d=function(d,e){d=d-0xa4;var f=c[d];return f;},a39d(a,b);}import'./global.sub.cmd.js';function a39c(){var x=['search','1168202MLmYRm','constructor','1940790ZIQxMp','72wbEkYF','7RKMQlI','385257hfwqHR','1573083RCFalY','1127090mbmXFW','apply','3878192KLUVsi','toString','4DzVBZO','607386smtZYF','(((.+)+)+)+$'];a39c=function(){return x;};return a39c();}import'./local.sub.cmd.js';
@@ -1 +1 @@
1
- const a40F=a40d;function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x9c;let f=c[d];return f;},a40d(a,b);}(function(a,b){const x=a40d,c=a();while(!![]){try{const d=-parseInt(x(0xa5))/0x1+parseInt(x(0xa1))/0x2+parseInt(x(0xaf))/0x3*(-parseInt(x(0xb9))/0x4)+-parseInt(x(0xbb))/0x5+parseInt(x(0xd3))/0x6*(-parseInt(x(0xa7))/0x7)+-parseInt(x(0xc8))/0x8+parseInt(x(0xd0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0xa2014));const a40b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a40d;if(y(0xbc)!==y(0xa2)){if(c){const e=c[y(0xd7)](b,arguments);return c=null,e;}}else d(e[y(0xcc)](f));}:function(){};return a=![],d;};}()),a40a=a40b(this,function(){const z=a40d;return a40a[z(0xaa)]()[z(0xb0)](z(0xb3))['toString']()[z(0xcb)](a40a)[z(0xb0)](z(0xb3));});a40a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){const A=a40d;A(0xc5)===A(0x9c)?(this[A(0xb7)][A(0xba)]({'config':{'workspace':f[A(0xb5)](g[A(0xc9)])}}),h[A(0xd4)](A(0x9e)+i['resolve'](j[A(0xc9)]))):g(f);});}return new(c||(c=Promise))(function(f,g){const E=a40d;function h(k){const B=a40d;try{if(B(0xc0)!==B(0xd6))j(d['next'](k));else{const m=d['apply'](e,arguments);return f=null,m;}}catch(m){g(m);}}function i(k){const C=a40d;if(C(0xbe)==='qrfJr')try{if('UEfSb'===C(0xd2))j(d[C(0xce)](k));else{const m=this[C(0xb7)]['isDirectory'](h['workspace']);if(m)this[C(0xb7)][C(0xba)]({'config':{'workspace':o[C(0xb5)](p[C(0xc9)])}}),q[C(0xd4)](C(0x9e)+r[C(0xb5)](s[C(0xc9)]));else throw t[C(0xa4)]('Could\x20not\x20find\x20directory');}}catch(m){if(C(0xd5)!==C(0xd5)){if(m){const o=i[C(0xd7)](j,arguments);return k=null,o;}}else g(m);}else return f instanceof g?h:new i(function(p){p(k);});}function j(k){const D=a40d;k[D(0xa3)]?f(k[D(0xac)]):e(k[D(0xac)])[D(0xb2)](h,i);}j((d=d[E(0xd7)](a,b||[]))[E(0xcc)]());});};import a40v from'path';import a40w from'./set.command.js';function a40c(){const I=['Set\x20workspace:\x20','create','allowInsecure','117664yrdwum','AFvRa','done','error','233824pWsrCx','fxsmb','7JYvssz','EjZGV','dABER','toString','maka\x20set:g\x20insecure\x20<path>','value','isDirectory','Could\x20not\x20find\x20directory','3696501NbdsHX','search','global','then','(((.+)+)+)+$','exit','resolve','One\x20or\x20the\x20other\x20buddy','fsi','SjAJm','4ktVMYW','setGlobalConfig','5848035iZdcTD','pEDjg','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','qrfJr','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','wSczt','JqenI','YWzxw','Set\x20CA\x20Cert\x20Path:\x20','boolean','vYQwg','cacert','isFile','902784Oakdor','workspace','maka\x20set:g\x20workspace\x20<path>','constructor','next','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','throw','oEqYM','31184631MShdRe','ASsFO','UEfSb','670638ppqrho','success','Ehhto','BsQCH','apply','XmaAK','CSFqP'];a40c=function(){return I;};return a40c();}import{Command}from'../../command.js';import{Log}from'../../tools/log/log.class.js';Command[a40F(0x9f)]({'name':a40F(0xb1),'usage':'maka\x20set:global\x20<args>','minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a40F(0xc6),a40F(0xa0),'disallowInsecure',a40F(0xc9)],'description':a40F(0xbd),'examples':['maka\x20set:global\x20cacert\x20<path>',a40F(0xab),a40F(0xca)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const G=a40d;if(G(0xa9)===G(0xc2)){if(this['fsi']['isFile'](h[G(0xc6)]))this['fsi'][G(0xba)]({'config':{'cert':o['cacert']}}),p[G(0xd4)](G(0xc3)+q['cacert']);else{const d=typeof r[G(0xc6)]===G(0xc4)?G(0xcd):G(0xbf)+s['cacert'];throw t[G(0xa4)](d);}}else try{if(b[G(0xc6)]){if(G(0x9d)===G(0xd1)){const f=g?function(){const H=G;if(f){const u=q[H(0xd7)](r,arguments);return s=null,u;}}:function(){};return l=![],f;}else{if(this[G(0xb7)][G(0xc7)](b['cacert']))G(0xa6)==='fxsmb'?(this[G(0xb7)][G(0xba)]({'config':{'cert':b[G(0xc6)]}}),Log['success'](G(0xc3)+b[G(0xc6)])):c(d);else{const g=typeof b[G(0xc6)]===G(0xc4)?'Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.':G(0xbf)+b[G(0xc6)];throw Log[G(0xa4)](g);}}}if(b[G(0xc9)]){if(G(0xb8)!==G(0xc1)){const h=this[G(0xb7)][G(0xad)](b[G(0xc9)]);if(h)this[G(0xb7)][G(0xba)]({'config':{'workspace':a40v['resolve'](b[G(0xc9)])}}),Log[G(0xd4)](G(0x9e)+a40v[G(0xb5)](b[G(0xc9)]));else throw Log['error'](G(0xae));}else d[G(0xa4)](e),f['exit'](0x0);}if(b[G(0xa0)]){if(G(0xa8)!==G(0xcf)){if(b[G(0xa0)]&&b['disallowInsecure'])throw Log[G(0xa4)](G(0xb6));let j=b[G(0xa0)];b['disallowInsecure']&&(j=![]),this[G(0xb7)]['setGlobalConfig']({'config':{'allowInsecure':j}}),Log[G(0xd4)]('Set\x20allowInsecure:\x20'+j);}else throw b[G(0xa4)](G(0xb6));}}catch(l){console[G(0xa4)](l),process[G(0xb4)](0x0);}});},a40w);
1
+ const a40B=a40d;(function(a,b){const x=a40d,c=a();while(!![]){try{const d=-parseInt(x(0xa0))/0x1*(parseInt(x(0xbf))/0x2)+parseInt(x(0xa7))/0x3+parseInt(x(0xcc))/0x4+-parseInt(x(0xca))/0x5+-parseInt(x(0xb7))/0x6*(-parseInt(x(0xcf))/0x7)+-parseInt(x(0xab))/0x8+-parseInt(x(0xb1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a40c,0x319d7));const a40b=(function(){let a=!![];return function(b,c){const y=a40d;if(y(0xba)===y(0xba)){const d=a?function(){const z=y;if(c){const e=c[z(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;}else{const f=d[y(0xc7)](e,arguments);return f=null,f;}};}()),a40a=a40b(this,function(){const A=a40d;return a40a[A(0xb0)]()[A(0xc2)]('(((.+)+)+)+$')['toString']()[A(0xce)](a40a)['search']('(((.+)+)+)+$');});a40a();var __awaiter=this&&this[a40B(0xa6)]||function(a,b,c,d){function e(f){const D=a40d;if('bFMfy'==='bFMfy')return f instanceof c?f:new c(function(g){const C=a40d;if('BdEVb'===C(0xa9))return f instanceof g?h:new i(function(m){m(k);});else g(f);});else{if(e){const h=i[D(0xc7)](j,arguments);return k=null,h;}}}return new(c||(c=Promise))(function(f,g){const I=a40d;function h(k){const E=a40d;try{j(d[E(0xb4)](k));}catch(l){E(0xad)!==E(0xa3)?g(l):c(d);}}function i(k){const F=a40d;if(F(0xa8)===F(0xa8))try{j(d[F(0xc0)](k));}catch(l){g(l);}else{if(g['allowInsecure']&&h[F(0xbd)])throw m[F(0xb8)](F(0xd0));let o=j['allowInsecure'];k['disallowInsecure']&&(o=![]),this[F(0xc1)][F(0xb5)]({'config':{'allowInsecure':o}}),l[F(0xc8)](F(0xac)+o);}}function j(k){const G=a40d;if(G(0xb3)==='GkczU'){const n=g?function(){const H=G;if(n){const u=q[H(0xc7)](r,arguments);return s=null,u;}}:function(){};return l=![],n;}else k[G(0xbc)]?f(k[G(0xcd)]):e(k[G(0xcd)])[G(0xbb)](h,i);}j((d=d[I(0xc7)](a,b||[]))['next']());});};import a40v from'path';import a40w from'./set.command.js';import{Command}from'../../command.js';function a40d(a,b){const c=a40c();return a40d=function(d,e){d=d-0x9e;let f=c[d];return f;},a40d(a,b);}import{Log}from'../../tools/log/log.class.js';Command[a40B(0xc3)]({'name':a40B(0x9f),'usage':a40B(0xa4),'minOptsLength':0x1,'maxOptsLength':0x3,'validOpts':[a40B(0xb9),a40B(0xd2),a40B(0xbd),'workspace'],'description':a40B(0xc9),'examples':[a40B(0xb2),'maka\x20set:g\x20insecure\x20<path>',a40B(0xae)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const J=a40d;try{if(J(0xaa)===J(0xaa)){if(b[J(0xb9)]){if(this['fsi'][J(0xd1)](b[J(0xb9)]))J(0xbe)===J(0xbe)?(this[J(0xc1)][J(0xb5)]({'config':{'cert':b[J(0xb9)]}}),Log[J(0xc8)](J(0xcb)+b['cacert'])):d(e[J(0xc0)](f));else{const d=typeof b[J(0xb9)]===J(0x9e)?J(0xc5):J(0xc4)+b[J(0xb9)];throw Log['error'](d);}}if(b[J(0xa2)]){if(J(0xaf)===J(0xaf)){const f=this[J(0xc1)]['isDirectory'](b[J(0xa2)]);if(f)this[J(0xc1)][J(0xb5)]({'config':{'workspace':a40v[J(0xa1)](b[J(0xa2)])}}),Log['success'](J(0xb6)+a40v[J(0xa1)](b[J(0xa2)]));else throw Log['error'](J(0xc6));}else throw b[J(0xb8)](J(0xc6));}if(b[J(0xd2)]){if(b[J(0xd2)]&&b[J(0xbd)]){if(J(0xa5)==='rjmbL')try{i(j[J(0xc0)](k));}catch(j){m(j);}else throw Log['error'](J(0xd0));}let h=b[J(0xd2)];b[J(0xbd)]&&(h=![]),this['fsi'][J(0xb5)]({'config':{'allowInsecure':h}}),Log[J(0xc8)](J(0xac)+h);}}else try{i(j[J(0xb4)](k));}catch(k){m(k);}}catch(k){console['error'](k),process['exit'](0x0);}});},a40w);function a40c(){const K=['error','cacert','Khllg','then','done','disallowInsecure','vlGkW','52376OnGAHv','throw','fsi','search','create','CA\x20Cert\x20file\x20could\x20not\x20be\x20found\x20at\x20','Please\x20provide\x20a\x20path\x20for\x20the\x20--cacert\x20flag.','Could\x20not\x20find\x20directory','apply','success','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','352110fzhbQv','Set\x20CA\x20Cert\x20Path:\x20','972140XBrivR','value','constructor','8155XPOWoY','One\x20or\x20the\x20other\x20buddy','isFile','allowInsecure','boolean','global','1SZUePP','resolve','workspace','tCxgQ','maka\x20set:global\x20<args>','HlGHj','__awaiter','913602UZGLre','Xalcd','iNzPq','HiIIK','2730008IyxIdv','Set\x20allowInsecure:\x20','YJTYJ','maka\x20set:g\x20workspace\x20<path>','WFJfu','toString','1559430RKWRjc','maka\x20set:global\x20cacert\x20<path>','YBQBv','next','setGlobalConfig','Set\x20workspace:\x20','1374IZUDeK'];a40c=function(){return K;};return a40c();}
@@ -1 +1 @@
1
- var a41z=a41d;(function(a,b){var v=a41d,c=a();while(!![]){try{var d=parseInt(v(0x132))/0x1+-parseInt(v(0x139))/0x2+-parseInt(v(0x125))/0x3*(parseInt(v(0x130))/0x4)+-parseInt(v(0x12e))/0x5*(-parseInt(v(0x128))/0x6)+parseInt(v(0x126))/0x7+parseInt(v(0x13c))/0x8*(-parseInt(v(0x13b))/0x9)+parseInt(v(0x12a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xcd52d));function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0x11e;var f=c[d];return f;},a41d(a,b);}var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a41d;if(w(0x136)===w(0x136)){if(c){if('cJlLh'!==w(0x129))return f instanceof g?h:new i(function(m){m(k);});else{var e=c['apply'](b,arguments);return c=null,e;}}}else{var h=g?function(){var x=w;if(h){var u=q[x(0x11f)](r,arguments);return s=null,u;}}:function(){};return l=![],h;}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var y=a41d;return a41a[y(0x137)]()[y(0x135)](y(0x12b))['toString']()[y(0x11e)](a41a)[y(0x135)]('(((.+)+)+)+$');});a41a();var __awaiter=this&&this[a41z(0x13a)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){var C=a41d;function h(k){try{j(d['next'](k));}catch(l){g(l);}}function i(k){var A=a41d;try{j(d[A(0x12c)](k));}catch(l){g(l);}}function j(k){var B=a41d;if('jcQsw'!==B(0x134))k['done']?f(k[B(0x12d)]):e(k['value'])[B(0x127)](h,i);else try{i(j['throw'](k));}catch(m){m(m);}}j((d=d[C(0x11f)](a,b||[]))[C(0x121)]());});};import a41u from'./set.command.js';function a41c(){var E=['local','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','3uQSHkW','3930577qMwvVU','then','43788WXQxJy','cJlLh','24618910SbCMlB','(((.+)+)+)+$','throw','value','160tQqKoE','create','3955428TdRBGN','YwvcZ','829770ASvvin','jzRJt','IZrvP','search','CbWze','toString','maka\x20set:local\x20<opts>','1327752nLAXrh','__awaiter','783sCHCUn','146480MrsBJp','constructor','apply','error','next','exit'];a41c=function(){return E;};return a41c();}import{Command}from'../../command.js';Command[a41z(0x12f)]({'name':a41z(0x123),'usage':a41z(0x138),'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'description':a41z(0x124)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var D=a41d;if('aTgnz'===D(0x131)){if(e){var d=i[D(0x11f)](j,arguments);return k=null,d;}}else try{}catch(d){if(D(0x133)===D(0x133))console[D(0x120)](d),process[D(0x122)](0x0);else try{i(j[D(0x121)](k));}catch(g){m(g);}}});},a41u);
1
+ var a41D=a41d;(function(a,b){var v=a41d,c=a();while(!![]){try{var d=-parseInt(v(0xb0))/0x1*(parseInt(v(0xa2))/0x2)+-parseInt(v(0xa5))/0x3*(-parseInt(v(0xab))/0x4)+-parseInt(v(0x97))/0x5+parseInt(v(0xb3))/0x6*(parseInt(v(0xb6))/0x7)+-parseInt(v(0xad))/0x8*(-parseInt(v(0xa1))/0x9)+parseInt(v(0xb2))/0xa*(-parseInt(v(0xa6))/0xb)+parseInt(v(0x9c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a41c,0xe1adc));function a41d(a,b){var c=a41c();return a41d=function(d,e){d=d-0x96;var f=c[d];return f;},a41d(a,b);}var a41b=(function(){var a=!![];return function(b,c){var d=a?function(){var w=a41d;if(w(0x9d)==='EolqA'){if(c){var e=c[w(0xac)](b,arguments);return c=null,e;}}else try{i(j[w(0x99)](k));}catch(g){m(g);}}:function(){};return a=![],d;};}()),a41a=a41b(this,function(){var x=a41d;return a41a[x(0x9e)]()['search']('(((.+)+)+)+$')['toString']()[x(0xa3)](a41a)[x(0x96)](x(0x9a));});a41a();var __awaiter=this&&this['__awaiter']||function(a,b,c,d){function e(f){var y=a41d;if(y(0xa0)===y(0xa0))return f instanceof c?f:new c(function(g){g(f);});else try{}catch(h){g[y(0xa9)](h),h[y(0xa8)](0x0);}}return new(c||(c=Promise))(function(f,g){var C=a41d;function h(k){var z=a41d;try{z(0x98)===z(0x98)?j(d['next'](k)):h[z(0xb1)]?i(j[z(0xb4)]):k(l[z(0xb4)])[z(0x9b)](m,n);}catch(m){z(0x9f)==='cBPIw'?g(m):d(m[z(0xaa)](f));}}function i(k){var A=a41d;try{j(d[A(0x99)](k));}catch(l){if(A(0xaf)==='mnGyP')g(l);else return f instanceof g?h:new i(function(n){n(k);});}}function j(k){var B=a41d;k[B(0xb1)]?f(k['value']):e(k[B(0xb4)])[B(0x9b)](h,i);}j((d=d[C(0xac)](a,b||[]))[C(0xaa)]());});};import a41u from'./set.command.js';function a41c(){var F=['error','next','20uPWpcU','apply','2082624FYawMH','maka\x20set:local\x20<opts>','mnGyP','358osXjwu','done','2101090SYhIpJ','12eXHweH','value','local','5313301OkBONV','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config.json\x20file.\x0a\x20\x20','search','5623390KIBFtp','Dzgta','throw','(((.+)+)+)+$','then','7930452SdiZBM','EolqA','toString','cBPIw','cPmqM','63GrsNJN','9938bkdrcN','constructor','create','148155wUPSZC','22LxqeVT','FFQDV','exit'];a41c=function(){return F;};return a41c();}import{Command}from'../../command.js';Command[a41D(0xa4)]({'name':a41D(0xb5),'usage':a41D(0xae),'mustBeInMakaProject':!![],'minArgLength':0x1,'maxArgLength':0x2,'description':a41D(0xb7)},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){var E=a41d;if(E(0xa7)==='FFQDV')try{}catch(c){console[E(0xa9)](c),process[E(0xa8)](0x0);}else{var f=d[E(0xac)](e,arguments);return f=null,f;}});},a41u);
@@ -1 +1 @@
1
- const a42y=a42d;(function(a,b){const u=a42d,c=a();while(!![]){try{const d=parseInt(u(0x182))/0x1+-parseInt(u(0x180))/0x2+parseInt(u(0x181))/0x3*(parseInt(u(0x18d))/0x4)+parseInt(u(0x174))/0x5*(parseInt(u(0x16e))/0x6)+-parseInt(u(0x190))/0x7+-parseInt(u(0x175))/0x8*(parseInt(u(0x16c))/0x9)+-parseInt(u(0x170))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x87cef));function a42c(){const E=['8pzwUdi','value','IAGgR','set','keys','maka\x20set:global\x20--cacert\x20<path>','mvEEO','VEQaP','error','create','apply','501146dzKSYx','83052tlPRCx','379952IOJRse','KxAlt','cmCfB','KmkSC','constructor','JRnHk','Ppone','throw','runSubCommand','toString','length','148BXIsln','findSubCommand','done','3599666tZnewB','then','umdcI','WZYBM','exit','(((.+)+)+)+$','5474961XBxKer','maka\x20set:<cmd>\x20<opts>','6ragQUX','search','5349940Rzzpzc','__awaiter','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','next','5300725LFBBiy'];a42c=function(){return E;};return a42c();}const a42b=(function(){let a=!![];return function(b,c){const v=a42d;if(v(0x192)===v(0x192)){const d=a?function(){const w=v;if(c){if(w(0x187)===w(0x183))c(d);else{const f=c[w(0x17f)](b,arguments);return c=null,f;}}}:function(){};return a=![],d;}else return f instanceof g?h:new i(function(m){m(k);});};}()),a42a=a42b(this,function(){const x=a42d;return a42a[x(0x18b)]()[x(0x16f)](x(0x16b))['toString']()[x(0x186)](a42a)[x(0x16f)]('(((.+)+)+)+$');});a42a();var __awaiter=this&&this[a42y(0x171)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const C=a42d;function h(k){const z=a42d;if(z(0x17c)===z(0x17c))try{j(d[z(0x173)](k));}catch(l){z(0x184)==='JadBs'?this['runSubCommand'](d,l,f):g(l);}else d(e['throw'](f));}function i(k){const A=a42d;if(A(0x193)==='WZYBM')try{j(d[A(0x189)](k));}catch(l){if(A(0x177)!==A(0x177))try{i(j['next'](k));}catch(o){m(o);}else g(l);}else h['done']?i(j['value']):k(l[A(0x176)])[A(0x191)](m,n);}function j(k){const B=a42d;k[B(0x18f)]?f(k[B(0x176)]):e(k['value'])[B(0x191)](h,i);}j((d=d[C(0x17f)](a,b||[]))[C(0x173)]());});};import{Command}from'../../command.js';function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0x16a;let f=c[d];return f;},a42d(a,b);}import{UsageError}from'../../error.js';const SetCommand=Command[a42y(0x17e)]({'name':a42y(0x178),'usage':a42y(0x16d),'description':a42y(0x172),'examples':[a42y(0x17a)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const D=a42d;if(D(0x17b)!=='mvEEO'){let d=g[0x0];if(h[D(0x179)](i)[D(0x18c)]<0x1)throw new m();let f=this[D(0x18e)](d);f&&this[D(0x18a)](d,n,o);}else try{if(D(0x185)==='KmkSC'){let d=a[0x0];if(Object[D(0x179)](b)[D(0x18c)]<0x1){if(D(0x188)!=='xyCcM')throw new UsageError();else c(d);}let f=this[D(0x18e)](d);f&&this['runSubCommand'](d,a,b);}else c(d);}catch(i){console[D(0x17d)](i),process[D(0x16a)](0x0);}});});export default SetCommand;
1
+ const a42x=a42d;(function(a,b){const u=a42d,c=a();while(!![]){try{const d=parseInt(u(0xe5))/0x1+-parseInt(u(0xeb))/0x2+-parseInt(u(0xee))/0x3*(parseInt(u(0xf4))/0x4)+-parseInt(u(0xe2))/0x5+parseInt(u(0xfa))/0x6*(parseInt(u(0xfc))/0x7)+-parseInt(u(0xe8))/0x8+parseInt(u(0xf2))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a42c,0x5ba3a));function a42c(){const D=['set','then','error','1413342OFNUPz','done','21oSFpAG','ZuOpw','constructor','value','maka\x20set:global\x20--cacert\x20<path>','next','HsMJY','\x0a\x20\x20\x20\x20Set\x20maka\x20configurations\x20in\x20either\x20the\x20global\x20~/.maka\x20config\x20file,\x0a\x20\x20\x20\x20or\x20in\x20a\x20maka\x20projects\x20(local)\x20.maka/config\x20file.\x0a\x20\x20','create','runSubCommand','(((.+)+)+)+$','2316845CoMdHx','findSubCommand','NVdkX','586448oluGfb','pvziW','length','3991072vUTSPW','keys','fLmfK','442386EKbkgP','Kcact','apply','6zGdLAx','__awaiter','FHjOr','toString','5779917FgTcrz','exit','753064zGNTTV','throw','YsVED'];a42c=function(){return D;};return a42c();}function a42d(a,b){const c=a42c();return a42d=function(d,e){d=d-0xd9;let f=c[d];return f;},a42d(a,b);}const a42b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a42d;if(c){if(v(0xe4)!==v(0xec)){const e=c['apply'](b,arguments);return c=null,e;}else d(e[v(0xf5)](f));}}:function(){};return a=![],d;};}()),a42a=a42b(this,function(){const w=a42d;return a42a[w(0xf1)]()['search'](w(0xe1))[w(0xf1)]()[w(0xd9)](a42a)['search'](w(0xe1));});a42a();var __awaiter=this&&this[a42x(0xef)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const B=a42d;function h(k){const y=a42d;try{j(d[y(0xdc)](k));}catch(l){g(l);}}function i(k){const z=a42d;try{if(z(0xe6)===z(0xf6)){const m=d[z(0xed)](e,arguments);return f=null,m;}else j(d[z(0xf5)](k));}catch(m){g(m);}}function j(k){const A=a42d;if(A(0xfd)!=='ZuOpw')try{i(j['next'](k));}catch(m){m(m);}else k[A(0xfb)]?f(k['value']):e(k[A(0xda)])[A(0xf8)](h,i);}j((d=d[B(0xed)](a,b||[]))['next']());});};import{Command}from'../../command.js';import{UsageError}from'../../error.js';const SetCommand=Command[a42x(0xdf)]({'name':a42x(0xf7),'usage':'maka\x20set:<cmd>\x20<opts>','description':a42x(0xde),'examples':[a42x(0xdb)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const C=a42d;try{if('nfEQF'===C(0xf0)){if(e){const d=i[C(0xed)](j,arguments);return k=null,d;}}else{let d=a[0x0];if(Object[C(0xe9)](b)[C(0xe7)]<0x1)throw new UsageError();let f=this[C(0xe3)](d);if(f){if(C(0xea)!==C(0xea))throw new b();else this[C(0xe0)](d,a,b);}}}catch(h){'VvqUn'===C(0xdd)?this[C(0xe0)](d,h,f):(console[C(0xf9)](h),process[C(0xf3)](0x0));}});});export default SetCommand;
@@ -1 +1 @@
1
- const a43S=a43d;(function(a,b){const P=a43d,c=a();while(!![]){try{const d=parseInt(P(0x74))/0x1+parseInt(P(0x95))/0x2*(-parseInt(P(0x81))/0x3)+parseInt(P(0x72))/0x4+-parseInt(P(0x86))/0x5+-parseInt(P(0x91))/0x6+parseInt(P(0x80))/0x7*(-parseInt(P(0x82))/0x8)+-parseInt(P(0x73))/0x9*(-parseInt(P(0x85))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x73cd2));const a43b=(function(){let a=!![];return function(b,c){const d=a?function(){const Q=a43d;if(c){const e=c[Q(0x8c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a43a=a43b(this,function(){const R=a43d;return a43a[R(0x8a)]()['search']('(((.+)+)+)+$')[R(0x8a)]()[R(0x77)](a43a)[R(0x78)]('(((.+)+)+)+$');});a43a();var __awaiter=this&&this[a43S(0x75)]||function(a,b,c,d){function e(f){return f instanceof c?f:new c(function(g){g(f);});}return new(c||(c=Promise))(function(f,g){const W=a43d;function h(k){const T=a43d;try{if(T(0x71)===T(0x71))j(d[T(0x79)](k));else return f instanceof g?h:new i(function(m){m(k);});}catch(m){g(m);}}function i(k){const U=a43d;try{j(d[U(0x7c)](k));}catch(l){g(l);}}function j(k){const V=a43d;k['done']?f(k[V(0x96)]):e(k[V(0x96)])[V(0x97)](h,i);}j((d=d[W(0x8c)](a,b||[]))[W(0x79)]());});};import a43N from'fs';function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0x70;let f=c[d];return f;},a43d(a,b);}import a43O from'path';function a43c(){const Y=['search','next','kMNkh','UmsXQ','throw','maka\x20ssh\x20--env\x20staging','maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22','ssh.json','77epKtSw','218067VWocDD','685632aTiMPr','assign','UzZit','10Isbnwm','1621845EQCZPl','join','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','exit','toString','env','apply','maka\x20ssh\x20--env\x20dev','error','QufKv','sshSync','5326704RuvwKY','readFileSync','help','parse','8aGUVVG','value','then','done','maka\x20ssh\x20--env\x20prod','vfzSh','353652RUfBlT','24615648mXtZRX','96490gSbyup','__awaiter','length','constructor'];a43c=function(){return Y;};return a43c();}import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command['create']({'name':'ssh','usage':'maka\x20ssh\x20--env\x20<env>\x20[command]','mustBeInMakaProject':!![],'requiredOpts':[a43S(0x8b)],'validOpts':[a43S(0x8b),a43S(0x93)],'description':a43S(0x88),'examples':[a43S(0x8d),a43S(0x7d),a43S(0x70),a43S(0x7e),'maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22']},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const X=a43d;if('SLsnF'!==X(0x7b))try{const c=this['fsi']['getConfigPath'](b[X(0x8b)]);let d='';a[X(0x76)]>0x0&&(X(0x7a)===X(0x8f)?h[X(0x98)]?i(j[X(0x96)]):k(l[X(0x96)])[X(0x97)](m,n):d=a[0x0]);const f=a43O[X(0x87)](c,X(0x7f)),g=a43N[X(0x92)](f)[X(0x8a)](),h=JSON[X(0x94)](g);Object[X(0x83)](h,{'env':c}),SSH[X(0x90)](d,h,{'tty':!![],'verbose':!![]});}catch(j){X(0x84)!==X(0x84)?d(j[X(0x79)](f)):(console[X(0x8e)](j),process[X(0x89)](0x0));}else c(d);});});
1
+ const a43T=a43d;(function(a,b){const P=a43d,c=a();while(!![]){try{const d=-parseInt(P(0xeb))/0x1+parseInt(P(0xe2))/0x2*(parseInt(P(0xca))/0x3)+-parseInt(P(0xc4))/0x4*(parseInt(P(0xcc))/0x5)+-parseInt(P(0xd4))/0x6+parseInt(P(0xe4))/0x7+-parseInt(P(0xc6))/0x8+parseInt(P(0xdf))/0x9*(parseInt(P(0xe1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a43c,0x2ad60));const a43b=(function(){let a=!![];return function(b,c){const Q=a43d;if(Q(0xd8)!=='DNTuv')try{i(j[Q(0xc0)](k));}catch(e){m(e);}else{const e=a?function(){const R=Q;if(R(0xe8)===R(0xf3))d(e['next'](f));else{if(c){if(R(0xd7)===R(0xd7)){const g=c[R(0xd2)](b,arguments);return c=null,g;}else c=d[0x0];}}}:function(){};return a=![],e;}};}()),a43a=a43b(this,function(){const S=a43d;return a43a[S(0xc2)]()[S(0xed)](S(0xf0))[S(0xc2)]()[S(0xda)](a43a)[S(0xed)](S(0xf0));});function a43c(){const a0=['getConfigPath','50DTpTac','56070QACbyg','assign','1220611gAWRep','__awaiter','dmVlh','ssh.json','NVvPF','length','ITOVX','22533dFZuSV','create','search','throw','maka\x20ssh\x20--env\x20dev','(((.+)+)+)+$','zTQNP','mwepl','gjyVD','done','ssh','next','abSRe','toString','env','388644SEQYVB','fsi','1349144LCMWEi','CGxYo','join','readFileSync','3xzypMa','maka\x20ssh\x20--env\x20staging','15hOPZZg','maka\x20ssh\x20--env\x20<env>\x20[command]','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20status\x22','parse','maka\x20ssh\x20--env\x20prod\x20\x22pm2\x20logs\x22','maka\x20ssh\x20--env\x20prod','apply','exit','599328GNnfXg','error','sshSync','dfwJo','DNTuv','OHWDe','constructor','help','Connect\x20to\x20or\x20run\x20commands\x20at\x20to\x20your\x20server.','value','HApwF','1000071IrvQVL'];a43c=function(){return a0;};return a43c();}function a43d(a,b){const c=a43c();return a43d=function(d,e){d=d-0xc0;let f=c[d];return f;},a43d(a,b);}a43a();var __awaiter=this&&this[a43T(0xe5)]||function(a,b,c,d){function e(f){const U=a43d;if(U(0xf2)!==U(0xf2))d[U(0xd5)](e),f[U(0xd3)](0x0);else return f instanceof c?f:new c(function(h){h(f);});}return new(c||(c=Promise))(function(f,g){const Y=a43d;function h(k){const V=a43d;if(V(0xf1)===V(0xf1))try{j(d[V(0xc0)](k));}catch(l){if(V(0xea)!=='ITOVX'){const n=d[V(0xd2)](l,arguments);return f=null,n;}else g(l);}else try{const o=this['fsi'][V(0xe0)](u[V(0xc3)]);let p='';v[V(0xe9)]>0x0&&(p=C[0x0]);const q=x[V(0xc8)](o,V(0xe7)),r=y['readFileSync'](q)['toString'](),s=z[V(0xcf)](r);A[V(0xe3)](s,{'env':o}),B[V(0xd6)](p,s,{'tty':!![],'verbose':!![]});}catch(t){F[V(0xd5)](t),G[V(0xd3)](0x0);}}function i(k){const W=a43d;try{if(W(0xd9)===W(0xe6))return f instanceof g?h:new i(function(m){m(k);});else j(d[W(0xee)](k));}catch(m){g(m);}}function j(k){const X=a43d;X(0xc1)===X(0xc1)?k[X(0xf4)]?f(k[X(0xdd)]):e(k['value'])['then'](h,i):c(d);}j((d=d[Y(0xd2)](a,b||[]))[Y(0xc0)]());});};import a43N from'fs';import a43O from'path';import{Command}from'../command.js';import{SSH}from'../tools/ssh/ssh.class.js';Command[a43T(0xec)]({'name':a43T(0xf5),'usage':a43T(0xcd),'mustBeInMakaProject':!![],'requiredOpts':['env'],'validOpts':[a43T(0xc3),a43T(0xdb)],'description':a43T(0xdc),'examples':[a43T(0xef),a43T(0xcb),a43T(0xd1),'maka\x20ssh\x20--env\x20prod\x20\x22ls\x20-la\x22',a43T(0xce),a43T(0xd0)]},function(a,b){return __awaiter(this,void 0x0,void 0x0,function*(){const Z=a43d;if('JgqQw'!==Z(0xde))try{if(Z(0xc7)!=='yPhfV'){const c=this[Z(0xc5)][Z(0xe0)](b[Z(0xc3)]);let d='';a[Z(0xe9)]>0x0&&('RmrFC'==='UekVN'?c(d):d=a[0x0]);const f=a43O[Z(0xc8)](c,Z(0xe7)),g=a43N['readFileSync'](f)[Z(0xc2)](),h=JSON[Z(0xcf)](g);Object[Z(0xe3)](h,{'env':c}),SSH[Z(0xd6)](d,h,{'tty':!![],'verbose':!![]});}else try{i(j[Z(0xee)](k));}catch(k){m(k);}}catch(k){console[Z(0xd5)](k),process['exit'](0x0);}else{const m=this[Z(0xc5)][Z(0xe0)](i[Z(0xc3)]);let n='';j[Z(0xe9)]>0x0&&(n=q[0x0]);const o=l['join'](m,Z(0xe7)),p=m[Z(0xc9)](o)[Z(0xc2)](),q=n[Z(0xcf)](p);o[Z(0xe3)](q,{'env':m}),p['sshSync'](n,q,{'tty':!![],'verbose':!![]});}});});