@maka/maka-cli 4.12.0 → 4.12.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/api/register-api.js +1 -1
- package/bundle/obf/src/templates/meteor/api/register-api.js.ts +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a129c(){const J=['client','error','pathFromApp','root','PrivateLayout','toLowerCase','fsi','resourceName','readFileLines','<Route','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','templateContent','true','route','(((.+)+)+)+$','withTranslations','engines','templateName','features','replace','dir','lib','baseDir','filter','constructor','MasterLayout','split','/imports/ui/','join','maka\x20g:route\x20todosEdit\x20todos/:id/edit','pages','map','Route\x20','\x20to\x20','layout','1001SnwwVq','config','fileContainsString','getMakaProjectConfig','url','private','includes','withValue','Invalid\x20directory\x20option\x20\x22','3542484bOIntj','44myuCRT','10bdctIw','route/route.js','imports','startup','/imports/ui/pages','const\x20publicRoutes\x20=\x20(<>','ssr','Scaffolding\x20for\x20a\x20Route.','461154VvilNx','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','indexOf','6981876LkedmD','maka\x20g:route\x20todosIndex\x20todos','rewriteDestinationPathForEngine','21287761iRCXUx','<Router','maka\x20g:route\x20pages/lists/listIndex\x20lists','1408399TwlpWb','layouts','components','search','cwd','\x22*\x22','</Router>','injectIntoFile','withHook','\x20already\x20exists.\x20Skipping.','pop','length','maka\x20g:route\x20pages/about','injectAfterLineNumber','info','6696qzHrjM','Valid\x20options\x20are:\x20','const\x20privateRoutes\x20=\x20(<>','10AkZzbo','routes.js','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','only','\x0a\x09\x09','react','toString','824848CfFpsD'];a129c=function(){return J;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x7a;let f=c[d];return f;},a129d(a,b);}const a129A=a129d;(function(a,b){const y=a129d,c=a();while(!![]){try{const d=parseInt(y(0xa6))/0x1+-parseInt(y(0xbf))/0x2+parseInt(y(0x9d))/0x3*(-parseInt(y(0x94))/0x4)+parseInt(y(0x95))/0x5*(-parseInt(y(0x93))/0x6)+parseInt(y(0x8a))/0x7*(parseInt(y(0xb5))/0x8)+parseInt(y(0xa0))/0x9+parseInt(y(0xb8))/0xa*(parseInt(y(0xa3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xe924b));const a129b=(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;};}()),a129a=a129b(this,function(){const z=a129d;return a129a[z(0xbe)]()[z(0xa9)](z(0xce))[z(0xbe)]()[z(0x7f)](a129a)['search'](z(0xce));});a129a();import a129e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':a129A(0xcd),'aliases':aliases,'validOpts':[a129A(0x8f),'layout',a129A(0xbb),a129A(0xaa),a129A(0x8b),a129A(0xc3),a129A(0xae),a129A(0x8e),'baseDir'],'usage':a129A(0xca),'shortDesc':a129A(0x9c),'examples':[a129A(0xa1),a129A(0x84),a129A(0x9e),a129A(0xa5),a129A(0xb2)]},async function(a,b){const B=a129A;try{const c=['hooks',B(0xa8),B(0x85),B(0xa7)];if(b[B(0x7d)]&&!c['includes'](b[B(0x7d)])){Log[B(0xc1)](B(0x92)+b[B(0x7d)]+'\x22'),Log[B(0xc1)](B(0xb6)+c[B(0x83)](',\x20'));throw new UsageError();}const d=this[B(0xc6)][B(0x8d)]();await this['fsi'][B(0x91)](d,async()=>{const C=B,f=b[C(0x8f)]??![];let g=b[C(0xc7)][C(0x81)]('/')[C(0xb0)]();if(!g){Log[C(0xc1)]('Please\x20specify\x20a\x20name\x20for\x20the\x20route.');throw new UsageError();}g=pascalCase(g);let h=b[C(0x8e)]?'/'+b['url']:'/'+b[C(0xc7)];a['length']>0x1&&(h='/'+a[C(0x7e)](function(n){return n!=='/';})['join']('/')[C(0xc5)]());h=h[C(0x7a)](/\/\//g,'/');b[C(0x89)]&&(b[C(0x89)]=camelCase(b['layout']));const i=b['baseDir']?C(0x82)+b[C(0x7d)]:C(0x99),j=a129e[C(0x83)](i,b[C(0x7b)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[C(0x89)]||C(0x80),'templatePath':j,'templateName':pascalCase(g),'client':d[C(0xd0)][C(0xc0)],'newForm':![],'withTranslations':d[C(0xd2)][C(0xcf)]};f&&(k[C(0x89)]=C(0xc4));let l,m;if(d['engines'][C(0xc0)]===C(0xbd)){if(d['engines'][C(0x9b)]===C(0xcc)){const r=this[C(0xc6)][C(0xc2)]({'pathParts':[C(0x97),C(0x98),C(0x7c),C(0xb9)]});l=this[C(0xc6)][C(0xa2)]({'pathParts':[r],'config':d});}else{const s=this[C(0xc6)]['pathFromApp']({'pathParts':[C(0x97),C(0x98),'client',C(0xb9)]});l=this[C(0xc6)][C(0xa2)]({'pathParts':[s],'config':d});}const n=await this[C(0xc6)][C(0x8c)](l,g);if(n){Log['warn'](C(0x87)+g+C(0xaf));return;}else{const t=this['fsi']['pathFromProject'](l);Log[C(0xb4)]('Adding\x20route\x20'+g+C(0x88)+l[C(0x7a)](t,''));}const o=this[C(0xc6)][C(0xc8)](l)['map']((u,v)=>{const D=C;return u[D(0x90)](D(0xba))?v+0x1:null;})[C(0x7e)](u=>u!==null);let p=this[C(0xc6)][C(0xc8)](l)[C(0x86)]((u,v)=>{const E=C;return u['includes'](E(0x9a))?v+0x1:null;})[C(0x7e)](u=>u!==null),q=this[C(0xc6)]['readFileLines'](l)[C(0x86)]((u,v)=>{const F=C;return u[F(0x90)](F(0xb7))?v+0x1:null;})[C(0x7e)](u=>u!==null);p[C(0xb1)]>0x0&&q[C(0xb1)]>0x0&&(k['newForm']=!![]);m=this[C(0xc6)][C(0xcb)]({'srcPath':C(0x96),'framework':C(0xbd),'context':k,'config':d});if(p[C(0xb1)]>0x0||q[C(0xb1)]>0x0){this[C(0xc6)][C(0xb3)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q['length']>0x0)q=this[C(0xc6)][C(0xc8)](l)[C(0x86)]((u,v)=>{const G=C;return u[G(0x90)](G(0xb7))?v+0x1:null;})[C(0x7e)](u=>u!==null),this['fsi'][C(0xb3)]({'filePath':l,'content':'\x09{'+k[C(0xd1)]+'}','lineNumber':q[0x0]});else p[C(0xb1)]>0x0?(p=this['fsi'][C(0xc8)](l)['map']((u,v)=>{const H=C;return u[H(0x90)](H(0x9a))?v+0x1:null;})[C(0x7e)](u=>u!==null),this[C(0xc6)][C(0xb3)]({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':p[0x0]})):Log['warn']('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const u=this[C(0xc6)]['readFileLines'](l)[C(0x86)](x=>{const I=C;return x['includes'](I(0xab));}),v=u[C(0x9f)](!![])>-0x1,w=v?C(0xc9):C(0xac);await this[C(0xc6)][C(0xad)]({'filePath':l,'content':C(0xbc)+m+C(0xbc),'begin':C(0xa4),'end':w});}}else{if(d[C(0xd0)]['client']==='vanilla'){const x=this[C(0xc6)][C(0xc2)]({'pathParts':[C(0x97),C(0x98),C(0xc0),C(0xb9)]});l=this[C(0xc6)][C(0xa2)]({'pathParts':[x],'config':d}),m=this[C(0xc6)]['templateContent']({'srcPath':C(0x96),'context':k}),await this[C(0xc6)]['injectAtEndOfFile']({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[B(0xc1)](f);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130l=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=parseInt(j(0x88))/0x1*(-parseInt(j(0x73))/0x2)+-parseInt(j(0x8d))/0x3*(parseInt(j(0x7e))/0x4)+-parseInt(j(0x7f))/0x5*(-parseInt(j(0x86))/0x6)+parseInt(j(0x72))/0x7+parseInt(j(0x76))/0x8*(-parseInt(j(0x85))/0x9)+parseInt(j(0x7d))/0xa+parseInt(j(0x90))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x42062));const a130b=(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;};}()),a130a=a130b(this,function(){const k=a130d;return a130a[k(0x75)]()['search'](k(0x7b))[k(0x75)]()[k(0x82)](a130a)['search'](k(0x7b));});a130a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a130c(){const o=['maka\x20{generate,\x20g}:{service}\x20<resource-name>','2035750qmEPYO','36cqtwKa','49535aOPDBC','getMakaProjectConfig','services','constructor','winston','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','2187BvKLgE','24oWAasH','resourceName','1xBnbOS','startup','winston\x20setimmediate','installNpmPackage','template','53637vkJikp','tsx','pathFromApp','7238737KYYYig','svc','type','create','995421ATUzWX','1055614HHTcVG','Installing\x20winston','toString','2776MNyqsY','maka\x20g:svc\x20service-logger\x20--type=logger','error','fsi','imports','(((.+)+)+)+$'];a130c=function(){return o;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x72;let f=c[d];return f;},a130d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a130l(0x93)]({'name':'service','aliases':[a130l(0x91)],'usage':a130l(0x7c),'shortDesc':a130l(0x84),'requiredOpts':[{'name':'type','values':['logger']}],'validOpts':[],'maxArgLength':0x1,'examples':[a130l(0x77)]},async function(a,b){const m=a130l;try{const c=this['fsi'][m(0x80)]();await this[m(0x79)]['withValue'](c,async()=>{const n=m,d=this[n(0x79)][n(0x8f)]({}),f=paramCase(b[n(0x87)]),g={'name':pascalCase(b[n(0x87)]),'fileName':f,'camelCase':camelCase(b[n(0x87)]),'type':b[n(0x92)],'engine':c['engines']['js'],'noRename':!![]};let h='js';c['engines']['js']===n(0x8e)&&(h='ts');if(b[n(0x92)]==='logger'){!this[n(0x79)]['checkNpmPackage'](n(0x83))&&await this['fsi'][n(0x8b)](n(0x8a),{'cwd':d,'msg':n(0x74)});const i=this[n(0x79)]['pathFromApp']({'pathParts':[n(0x7a),n(0x89),'lib',n(0x81),f+'.'+h]});await this[n(0x79)][n(0x8c)]({'srcPath':'service/logger/logger.js','destPath':i,'context':g,'config':c});}});}catch(d){Log[m(0x78)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a131d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a131d,c=a();while(!![]){try{var d=parseInt(f(0x1c8))/0x1*(-parseInt(f(0x1cd))/0x2)+parseInt(f(0x1c5))/0x3+parseInt(f(0x1cf))/0x4+parseInt(f(0x1cc))/0x5+parseInt(f(0x1c7))/0x6+parseInt(f(0x1c9))/0x7*(parseInt(f(0x1ce))/0x8)+-parseInt(f(0x1ca))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x5595d));var a131b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a131d;if(c){var e=c[g(0x1d2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){var h=a131d;return a131a[h(0x1d0)]()['search'](h(0x1d1))['toString']()[h(0x1cb)](a131a)[h(0x1c6)](h(0x1d1));});function a131d(a,b){var c=a131c();return a131d=function(d,e){d=d-0x1c5;var f=c[d];return f;},a131d(a,b);}function a131c(){var i=['8964630tpzcWt','constructor','1650510KnBMLJ','749644zfIbBW','3988184LrQdCP','675944AjBXSO','toString','(((.+)+)+)+$','apply','368907rBeZWa','search','3605214jZODPt','1sBvFdf','7JhGtBG'];a131c=function(){return i;};return a131c();}a131a();import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132l=a132d;(function(a,b){const i=a132d,c=a();while(!![]){try{const d
|
|
1
|
+
const a132l=a132d;(function(a,b){const i=a132d,c=a();while(!![]){try{const d=parseInt(i(0x189))/0x1+parseInt(i(0x18c))/0x2*(parseInt(i(0x18e))/0x3)+-parseInt(i(0x19d))/0x4+parseInt(i(0x187))/0x5+parseInt(i(0x19e))/0x6*(parseInt(i(0x188))/0x7)+parseInt(i(0x192))/0x8+-parseInt(i(0x19f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x46232));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a132d;if(c){const e=c[j(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const k=a132d;return a132a[k(0x191)]()[k(0x18f)](k(0x197))[k(0x191)]()['constructor'](a132a)['search'](k(0x197));});a132a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a132c(){const o=['22314fYKTYe','search','template','toString','4533088eyEZkf','getGlobalConfig','apply','openssl.conf','service','(((.+)+)+)+$','withValue','appName','env','join','getMakaProjectConfig','1186608CGStep','6SsfTrx','7279848RqOZQo','303275oNkwdb','1274483mzXOOs','390058oAfVIR','fsi','error','52lbOCJM','create'];a132c=function(){return o;};return a132c();}function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x187;let f=c[d];return f;},a132d(a,b);}import a132e from'path';Generator[a132l(0x18d)]({'name':'sslconfig','usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':'Generate\x20a\x20new\x20openssl\x20config\x20file','noNeedResource':!![],'requiredOpts':[a132l(0x19a)],'examples':['maka\x20g:sslconfig\x20--env\x20dev'],'validOpts':[]},async function(a,b){const m=a132l;try{const c=await this[m(0x18a)][m(0x19c)](),d=await this['fsi'][m(0x193)](),f=this[m(0x18a)]['getAppConfigPath'](b[m(0x19a)]),g=a132e[m(0x19b)](f,'_keys',m(0x195));await this[m(0x18a)][m(0x198)](c,async()=>{const n=m,h={'app':d[n(0x199)],'noRename':!![]};await this[n(0x18a)][n(0x190)]({'srcPath':'openssl/openssl.conf','destPath':g,'framework':n(0x196),'context':h,'config':c});});}catch(h){Log[m(0x18b)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133A=a133d;(function(a,b){const x=a133d,c=a();while(!![]){try{const d
|
|
1
|
+
const a133A=a133d;(function(a,b){const x=a133d,c=a();while(!![]){try{const d=-parseInt(x(0x1d1))/0x1+parseInt(x(0x202))/0x2*(parseInt(x(0x20f))/0x3)+parseInt(x(0x1d8))/0x4+-parseInt(x(0x1e0))/0x5*(parseInt(x(0x1d5))/0x6)+parseInt(x(0x1d7))/0x7*(-parseInt(x(0x1ef))/0x8)+-parseInt(x(0x1f9))/0x9*(-parseInt(x(0x1d2))/0xa)+parseInt(x(0x1ee))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xda803));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a133d;if(c){const e=c[y(0x1ea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const z=a133d;return a133a[z(0x201)]()[z(0x1d6)](z(0x1f1))[z(0x201)]()['constructor'](a133a)[z(0x1d6)](z(0x1f1));});a133a();import{Generator}from'../../generator.js';function a133c(){const D=['grep','Locale\x20already\x20exported:\x20','i18next\x20i18next-browser-languagedetector\x20react-i18next','getMakaProjectConfig','client','\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','530738MiUbAd','50odmMJZ','import\x20\x27../lib/services/translations/i18n\x27;\x0a','isFile','8661498xZMIHx','search','7twhNwE','1207312ffuVDj','server','warn','import\x20\x27../lib/services/translations/i18n\x27;','i18next','template','startup','lib','5zglIUl','rewriteDestinationPathForEngine','maka\x20g:translation\x20--lang=en\x20(default)','installNpmPackage','index.js','readFileSync','imports','true','service','i18n/locales.js','apply','default\x20as\x20','Generate\x20a\x20new\x20locale\x20translation','maka\x20g:translation\x20--lang=fr','2566014SvUywA','352928fgKpYC','features.withTranslations','(((.+)+)+)+$','injectAtEndOfFile','i18n/index.js','appName','Locale\x20already\x20defined:\x20','locales','maka\x20{generate,\x20g}:translation','\x20}\x20from\x20\x27./','1868868cJydQW','lang','maka\x20g:translation\x20--lang=de','create','export\x20{\x20default\x20as\x20','translation','findAppDirectory','error','toString','18874EekCwB','withValue','root','exit','pathFromApp','injectAtBeginningOfFile','services','engines','setProjectConfig','.js','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','translations','index.','426ekmrtW','fsi'];a133c=function(){return D;};return a133c();}import{Log}from'../../tools/log/log.class.js';import a133e from'fs';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a133d(a,b);}Generator[a133A(0x1fc)]({'name':a133A(0x1fe),'usage':a133A(0x1f7),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a133A(0x1fa),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a133A(0x1ec),'description':a133A(0x1d0),'examples':[a133A(0x1e2),a133A(0x1ed),a133A(0x1fb)],'validOpts':[]},async function(a,b){const B=a133A;try{const c=this['fsi'][B(0x214)](),d=this[B(0x210)]['getGlobalConfig'](),f=this['fsi'][B(0x1ff)]();await this[B(0x210)][B(0x203)](c,async()=>{const C=B;try{!b[C(0x1fa)]&&(b['lang']='en');!b[C(0x204)]&&!this[C(0x210)]['checkNpmPackage'](C(0x1dc))&&(Log[C(0x1da)](C(0x20c)),this[C(0x210)][C(0x1e3)](C(0x213),{'cwd':f}),this[C(0x210)][C(0x20a)](C(0x1f0),!![]));const g=this['fsi'][C(0x206)]({'pathParts':[C(0x1e6),C(0x1de),C(0x215),'index.js']}),h=this['fsi'][C(0x1e1)]({'pathParts':[g],'config':c}),i=this[C(0x210)][C(0x211)](a133e[C(0x1e5)](h)[C(0x201)](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c[C(0x209)]['ssr']===C(0x1e7)){!i&&this[C(0x210)][C(0x207)]({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const t=this[C(0x210)][C(0x206)]({'pathParts':[C(0x1e6),'startup',C(0x1d9),C(0x1e4)]}),u=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[t],'config':c}),v=this[C(0x210)]['grep'](a133e[C(0x1e5)](u)[C(0x201)](),C(0x1db))[0x0]&&!![];!v&&this[C(0x210)][C(0x207)]({'filePath':u,'content':C(0x1d3)});}else!i&&this['fsi'][C(0x207)]({'filePath':h,'content':C(0x1d3)});const j={'app':d[C(0x1f4)],'config':c},k=this['fsi'][C(0x206)]({'pathParts':['imports',C(0x1de),C(0x1df),C(0x208),C(0x20d),'i18n.js']}),l=this[C(0x210)]['isFile'](this[C(0x210)][C(0x1e1)]({'pathParts':[k],'config':c}));!l&&await this[C(0x210)]['template']({'srcPath':'i18n/i18n.js','destPath':k,'framework':C(0x1e8),'context':j,'config':c});const m=this[C(0x210)][C(0x206)]({'pathParts':[C(0x1e6),C(0x1de),C(0x1df),C(0x208),C(0x20d),C(0x1f6),b[C(0x1fa)]+C(0x20b)]}),n=this['fsi'][C(0x1e1)]({'pathParts':[m],'config':c}),o=this[C(0x210)][C(0x1d4)](n);!o?await this['fsi'][C(0x1dd)]({'srcPath':C(0x1e9),'destPath':m,'framework':C(0x1e8),'context':j,'config':c}):Log['warn'](C(0x1f5)+n);const p=this['fsi'][C(0x206)]({'pathParts':[C(0x1e6),C(0x1de),C(0x1df),C(0x208),'translations',C(0x1f6),C(0x20e)+c[C(0x209)]['js']]}),q=this[C(0x210)][C(0x1e1)]({'pathParts':[p],'config':c}),r=this['fsi'][C(0x1d4)](q);!r&&await this[C(0x210)][C(0x1dd)]({'srcPath':C(0x1f3),'destPath':p,'framework':C(0x1e8),'context':j,'config':c});const s=this['fsi'][C(0x211)](a133e[C(0x1e5)](p)[C(0x201)](),C(0x1eb)+b[C(0x1fa)])[0x0]&&!![];!s?await this[C(0x210)][C(0x1f2)]({'filePath':p,'content':C(0x1fd)+b['lang']+C(0x1f8)+b[C(0x1fa)]+'\x27;'}):Log[C(0x1da)](C(0x212)+p);}catch(w){Log[C(0x200)](w),process[C(0x205)](0x1);}});}catch(g){Log[B(0x200)](g),process[B(0x205)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a134l=a134d;(function(a,b){const j=a134d,c=a();while(!![]){try{const d=parseInt(j(0xb0))/0x1*(-parseInt(j(0xb7))/0x2)+parseInt(j(0xb5))/0x3*(-parseInt(j(0xb6))/0x4)+parseInt(j(0xbf))/0x5*(-parseInt(j(0xc2))/0x6)+parseInt(j(0xbd))/0x7+-parseInt(j(0xaf))/0x8*(-parseInt(j(0xba))/0x9)+-parseInt(j(0xc5))/0xa*(parseInt(j(0xb8))/0xb)+parseInt(j(0xc0))/0xc*(parseInt(j(0xc6))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x90cab));const a134b=(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;};}()),a134a=a134b(this,function(){const k=a134d;return a134a['toString']()['search'](k(0xc4))[k(0xc3)]()['constructor'](a134a)[k(0xc7)](k(0xc4));});a134a();import a134e from'minimist';import a134f from'os';import a134g from'path';import a134h from'humps';import a134i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a134l(0xb3)]),__dirname=a134g[a134l(0xbc)](__filename);function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xae;let f=c[d];return f;},a134d(a,b);}global['MAKA_COMMAND_PATH']=__dirname;const total_memory=a134f[a134l(0xb9)](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a134l(0xc8)](total_mem_in_mb),process[a134l(0xb4)][a134l(0xbe)]='--max-old-space-size='+total_mem_in_mb,process[a134l(0xb4)][a134l(0xae)]='1',process[a134l(0xb4)][a134l(0xbb)]='1';const argv=a134e(process[a134l(0xc9)][a134l(0xb1)](0x2)),args=argv['_'],deepCopyArgv=JSON[a134l(0xc1)](JSON[a134l(0xca)](argv));delete deepCopyArgv['_'];const opts=a134h[a134l(0xb2)](deepCopyArgv);function a134c(){const m=['parse','6JRnaMM','toString','(((.+)+)+)+$','2912840hIlsPF','73775eMwxZQ','search','floor','argv','stringify','BROWSERSLIST_IGNORE_OLD_DATA','2044136IAwgph','3fTYhfN','slice','camelizeKeys','url','env','45dellue','146300IDamHw','218516EAAYRC','33wuocSx','totalmem','9zVKiHD','NODE_NO_WARNINGS','dirname','7102900NAcozn','TOOL_NODE_FLAGS','3515870gorpQn','3756cDCaIx'];a134c=function(){return m;};return a134c();}a134i['run'](args,opts);
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<% if( withMethods ) { %>import '../../api/<%= apiVersion %><%= optsDir %><%= fileName %>/<%= fileName %>-<%= apiVersion %>-rpc-methods';<% } %>
|
|
2
|
-
<% if(
|
|
2
|
+
<% if( withRest ) { %>import '../../api/<%= apiVersion %><%= optsDir %><%= fileName %>/<%= fileName %>-<%= apiVersion %>-rest-api';<% } %>
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
<% if( withMethods ) { %>import '../../api/<%= apiVersion %><%= optsDir %><%= fileName %>/<%= fileName %>-<%= apiVersion %>-rpc-methods';<% } %>
|
|
2
|
-
<% if(
|
|
2
|
+
<% if( withRest ) { %>import '../../api/<%= apiVersion %><%= optsDir %><%= fileName %>/<%= fileName %>-<%= apiVersion %>-rest-api';<% } %>
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const a135L=a135d;(function(a,b){const I=a135d,c=a();while(!![]){try{const d
|
|
1
|
+
const a135L=a135d;(function(a,b){const I=a135d,c=a();while(!![]){try{const d=-parseInt(I(0x1d7))/0x1+-parseInt(I(0x1e7))/0x2+-parseInt(I(0x1ce))/0x3*(-parseInt(I(0x1f1))/0x4)+-parseInt(I(0x1f8))/0x5*(parseInt(I(0x1e5))/0x6)+parseInt(I(0x1bb))/0x7+-parseInt(I(0x20d))/0x8*(parseInt(I(0x211))/0x9)+parseInt(I(0x208))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x271eb));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a135d;if(c){const e=c[J(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const K=a135d;return a135a['toString']()[K(0x1df)](K(0x20f))[K(0x20e)]()[K(0x200)](a135a)[K(0x1df)](K(0x20f));});a135a();import a135e from'path';import a135f from'os';import a135g from'fs';const homeDir=a135f[a135L(0x1dd)]();import{Docker}from'./tools/docker/docker.class.js';function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a135d(a,b);}function a135c(){const a3=['AppData','platform','disableAuthCheck','constructor','isPro','string','Please\x20choose\x20an\x20environment','env','includes','Please\x20provide\x20a\x20resource\x20name:','Invalid\x20argument:\x20','5447430lpZhfu','examples','singleLicense','NIE','find','173960QeOpuC','toString','(((.+)+)+)+$','roles','18iUbKhs','Local','user','charAt','fsi','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','domainLicense','keys','engines','652855PdbOmI','cwd','\x20version\x20','formatToNamedParam','concat','getAppProjectConfigs','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','Invalid\x20option:\x20','remapShortToLong','options','isGenerator','validateEngines','proCommands','validateMakaProject','dir','.meteor','proGenerators','error','findProjectDirectory','160845piLiIx','join','validateParams','Please\x20provide\x20a\x20value\x20for\x20','match','help','\x20installed\x20to\x20use\x20this\x20command.','push','getPro','218684WOxBvd','map','list','existsSync','description','apply','homedir','validateMeteorInstall','search','every','parent','isCommand','To\x20use\x20this\x20command,\x20\x22','config','84462qljnuy','ask','228734ObTVAO','shortDesc','Please\x20choose\x20a\x20valid\x20value\x20for\x20','No\x20usage\x20provided.','indexOf','docker','assign','aliases','name','root','4qxUmlV','Invalid\x20value\x20for\x20','validateUserIsLoggedIn','No\x20description\x20provided.','exit','resourceName','To\x20use\x20this\x20generator,\x20\x22','55nIVQru','getMakaProjectConfig','usage','length','_handler'];a135c=function(){return a3;};return a135c();}import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError}from'./error.js';export class Tool{[a135L(0x1ec)];[a135L(0x1b6)];[a135L(0x1c4)];['name'];[a135L(0x1e1)];[a135L(0x1fc)];constructor(){const M=a135L;this['docker']=new Docker(),this[M(0x1b6)]=new FSI();}['getShortName'](a){const N=a135L;return a[N(0x1b5)](0x0);}['remapShortToLong'](a,b){const O=a135L,c=this[O(0x1be)](b),d={...a};for(const e of c){const f=this['getShortName'](e['name']);a[f]&&(d[e[O(0x1ef)]]=a[f],delete d[f]);}return d;}['formatToNamedParam'](a){const P=a135L;if(a[P(0x1e0)](b=>typeof b===P(0x202)))return a[P(0x1d8)](b=>({'name':b}));return a;}[a135L(0x1d2)](a){const Q=a135L,b=[this[Q(0x1ef)]]['concat'](this[Q(0x1c4)]['aliases']||[]);return this[Q(0x1e1)]&&b[Q(0x1d5)](this['parent']),b['includes'](a);}[a135L(0x1c8)](){const R=a135L,a=this['fsi'][R(0x1cd)]();return a!==![]?!![]:![];}async[a135L(0x1f3)](){const S=a135L,a=await this[S(0x1b6)][S(0x1d6)]();return a?.[S(0x213)]&&a?.[S(0x213)]!=='guest'?!![]:![];}[a135L(0x1de)](){const T=a135L;let a=a135e[T(0x1cf)](homeDir,T(0x1ca));const b=process[T(0x1fe)]==='win32';if(b){a=a135e['join'](homeDir,T(0x1fd),T(0x212),T(0x1ca));if(!a135g['existsSync'](a))return![];}else{if(!a135g[T(0x1da)](a))return![];}return!![];}[a135L(0x1c6)](a){const U=a135L,b=this[U(0x1b6)][U(0x1f9)](),c=b[U(0x1ba)],d=Object['keys'](a);if(d[U(0x1fb)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[U(0x1cc)]('You\x20must\x20have\x20'+e+U(0x1bd)+a[e]+U(0x1d4));throw UsageError;}}}async[a135L(0x1d0)](a,b,c){const V=a135L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[V(0x1b9)](b);if(h[V(0x205)]('resourceName')&&b['resourceName']===undefined&&!g){const m=await Actions[V(0x1e6)](V(0x206));b[V(0x1f6)]=m;}let i=[],j=b;if(d){i=this[V(0x1be)](d),j=this['remapShortToLong'](b,i);if(i&&i?.[V(0x1fb)]>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object['keys'](j)['includes'](o)){if(o===V(0x204)){const r=this[V(0x1b6)][V(0x1c0)](),s=await Actions['options']({'type':V(0x1d9),'name':V(0x204),'message':V(0x203),'choices':r});b[V(0x204)]=s['env'];}else{const t=p;if(t){const u=await Actions[V(0x1c4)]({'type':'list','name':o,'message':'Please\x20choose\x20a\x20value\x20for\x20'+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[V(0x1e6)](V(0x1d1)+o);if(v[V(0x1d2)](q))b[o]=v;else{Log[V(0x1cc)](V(0x1f2)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions[V(0x1e6)](V(0x1d1)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[V(0x205)](x)){Log[V(0x1cc)](V(0x1f2)+o+':\x20'+x);throw new UsageError();}}}}let k=this[V(0x1be)](f),l=b;if(k&&Object[V(0x1b9)](k)?.['length']>0x0){k=k[V(0x1bf)](i||[]),k[V(0x1d5)]({'name':V(0x1f6),'hidden':!![]}),k[V(0x1d5)]({'name':V(0x1d3),'boolFlag':!![]}),k[V(0x1d5)]({'name':V(0x1c9),'hidden':!![]}),k[V(0x1d5)]({'name':V(0x1bc),'hidden':!![]}),k[V(0x1d5)]({'name':V(0x1f0),'hidden':!![]}),k[V(0x1d5)]({'name':V(0x1e4),'hidden':!![]}),l=this[V(0x1c3)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[V(0x205)](B))){const C=A;if(C){const D=await Actions[V(0x1c4)]({'type':V(0x1d9),'name':z,'message':V(0x1e9)+z,'choices':A});l[z]=D[z];}}if(k[V(0x1fb)]>0x0)for(const E of Object[V(0x1b9)](l)){const F=k[V(0x20c)](G=>G[V(0x1ef)]===E);if(!F){Log[V(0x1cc)](V(0x1c2)+E);throw new UsageError();}}}}if(e&&e?.['length']>0x0)for(const G of e){if(!e['includes'](G)){Log[V(0x1cc)](V(0x207)+G);const H=await Actions[V(0x1e6)](V(0x1b7)+G);a[a[V(0x1eb)](G)]=H;}}return Object[V(0x1ed)](j,l);}async['validateMakaSubscription'](a){const W=a135L;try{if(!a)return;const b=await this[W(0x1b6)][W(0x1d6)]();!b&&(Log[W(0x1cc)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[W(0x1f5)](0x1));const c=!b?.[W(0x210)]['includes'](W(0x20a))&&!b?.['roles'][W(0x205)](W(0x1b8));if(this['isCommand'](a)){const d=W(0x1e3)+a[W(0x1ef)]+W(0x1c1);if(a[W(0x1c4)][W(0x1ff)])return;const f=b?.[W(0x1c7)]['includes'](a[W(0x1ef)])||b?.[W(0x1c7)][W(0x205)](a['parent']||'')||this[W(0x1c4)][W(0x201)];if(f&&c)throw d;}else{if(this[W(0x1c5)](a)){const g=b?.[W(0x1cb)][W(0x205)](a[W(0x1ef)])||b?.['proGenerators'][W(0x205)](a[W(0x1e1)]||'');if(g&&c)throw W(0x1f7)+a[W(0x1ef)]+W(0x1c1);}}}catch(h){Log[W(0x1cc)](h),process[W(0x1f5)](0x1);}}[a135L(0x1e2)](a){const X=a135L;return X(0x1c4)in a;}['isGenerator'](a){return!('options'in a);}[a135L(0x1db)](){const Y=a135L;return this[Y(0x1c4)][Y(0x1db)]||this['options']['shortDesc']||Y(0x1f4);}[a135L(0x1e8)](){const Z=a135L;return this[Z(0x1c4)][Z(0x1e8)]||Z(0x20b);}[a135L(0x1fa)](){const a0=a135L;return this[a0(0x1c4)][a0(0x1fa)]||a0(0x1ea);}['examples'](){const a1=a135L;return this[a1(0x1c4)][a1(0x209)]||[];}[a135L(0x1ee)](){const a2=a135L;return this['options'][a2(0x1ee)]||'None';}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a136i=a136d;function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x197;let f=c[d];return f;},a136d(a,b);}function a136c(){const m=['search','4122915IOLDRA','confirm','(((.+)+)+)+$','32oyoPNr','2460330meAaxR','input','toString','answer','constructor','269775BBYtQc','4lyEFtR','5597025mSdfrE','1285260tBfGFq','1642257MQoNWN','1570902icGmWA','prompt','ask','password','apply'];a136c=function(){return m;};return a136c();}(function(a,b){const f=a136d,c=a();while(!![]){try{const d=-parseInt(f(0x1a1))/0x1+-parseInt(f(0x1a6))/0x2+-parseInt(f(0x1a4))/0x3+-parseInt(f(0x1a2))/0x4*(-parseInt(f(0x198))/0x5)+-parseInt(f(0x19c))/0x6+parseInt(f(0x1a3))/0x7+-parseInt(f(0x19b))/0x8*(-parseInt(f(0x1a5))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x7063d));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a136d;if(c){const e=c[g(0x1aa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const h=a136d;return a136a[h(0x19e)]()[h(0x197)](h(0x19a))[h(0x19e)]()[h(0x1a0)](a136a)['search'](h(0x19a));});a136a();import a136e from'inquirer';export class Actions{static async[a136i(0x1a8)](a,b){const j=a136i,{answer:c}=await a136e[j(0x1a7)]({'type':b?j(0x1a9):j(0x19d),'name':j(0x19f),'message':a});return c;}static async[a136i(0x199)](a,b=![]){const k=a136i,{answer:c}=await a136e[k(0x1a7)]({'type':k(0x199),'name':'answer','message':a,'default':b});return c;}static async['options'](a){const l=a136i,b=await a136e[l(0x1a7)](a);return b;}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a137w=a137d;(function(a,b){const p=a137d,c=a();while(!![]){try{const d=parseInt(p(0x1c6))/0x1+parseInt(p(0x234))/0x2*(-parseInt(p(0x20e))/0x3)+parseInt(p(0x1c8))/0x4+parseInt(p(0x1ff))/0x5+parseInt(p(0x207))/0x6*(-parseInt(p(0x1d7))/0x7)+parseInt(p(0x202))/0x8*(-parseInt(p(0x1fe))/0x9)+-parseInt(p(0x236))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0xd0edd));const a137b=(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;};}()),a137a=a137b(this,function(){const q=a137d;return a137a[q(0x21b)]()[q(0x1bf)]('(((.+)+)+)+$')[q(0x21b)]()[q(0x1fc)](a137a)['search']('(((.+)+)+)+$');});a137a();import a137e from'fs';function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0x1b8;let f=c[d];return f;},a137d(a,b);}function a137c(){const W=['KeyName','pem','getSecurityGroups','ec2describeInstances','Error\x20generating\x20key\x20pair','Port\x20','environment','utf8','ingressRule','Successfully\x20linked\x20EC2\x20instance\x20','Hosted\x20zone\x20created\x20successfully!','ec2terminateInstance','exit','suggestion','parse','$response','now','Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?','\x20NAME:\x20','3892iuyxTV','.pem.txt','5347980OhWdkJ','Name','ec2rebootInstance','linkEC2ToRoute53','\x20VPCID:\x20','ec2describeKeys','\x20Status\x20Code:\x20','\x20ENV:\x20','Value','/dev/sdh','split','You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!','success','**\x20Available\x20\x20VPCs\x20**','deleteKeyPair','0.0.0.0/0','search','GroupName','UPSERT','createKeyPairEC2Key','RegistrationPrice','chmod\x20400\x20','changeResourceRecordSets','1149960mXSzjq','running','2883220ySvVxU','find','\x20to\x20','privateIp','push','Web\x20App','warn','file://','httpStatusCode','Reservations','type','writeFileSync','userData','There\x20was\x20an\x20error\x20registering\x20the\x20domain\x20name','stringify','395017RMRcoi','GroupId','config','Error\x20creating\x20hosted\x20zone','ID:\x20','UserData','length','CidrBlock','[+]\x20Setting\x20VPC\x20ID\x20to:\x20','Prices','\x20CIDR:\x20','readFileSync','\x20INSTANCE_ID:\x20','Please\x20choose\x20a\x20VPC:\x20[0]\x20','key','forEach','vpcId','instanceId','error','The\x20domain\x20\x27','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','imageId','From\x20AWS:','ask','status','ssh.json','pop','$metadata','Error\x20saving\x20pem\x20file,\x20aborting','KeyMaterial','VpcId','Key\x20Name:\x20[','maxCount','You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.','ignore','sgId','constructor','\x20Error\x20Rason:\x20','62757bpulbn','7169875AVSWfM','tag:created-by','ec2create','1216FoLpxE','\x27\x20has\x20been\x20registered\x20successfully.','terminated','chooseVPC','No\x20instances\x20found','42vbnmLA','reason','Created:\x20','ec2createSG','send','isFile','name','708ZnJUBH','fsi','minCount','env','Error\x20linking\x20EC2\x20to\x20Route\x2053:','notice','Instances','join','AVAILABLE','Description:','getMakaProjectConfig','sgPorts','description','toString','\x20PUB_IP:\x20','cidr','Availability','Invalid\x20choice','\x20STATUS:\x20'];a137c=function(){return W;};return a137c();}import a137f from'path';import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';import{Log}from'../log/log.class.js';import{FSI}from'../fsi/fsi.class.js';import{EC2Client,DescribeInstancesCommand,RunInstancesCommand,TerminateInstancesCommand,CreateKeyPairCommand,AuthorizeSecurityGroupIngressCommand,CreateSecurityGroupCommand,RebootInstancesCommand,DescribeVpcsCommand,DescribeKeyPairsCommand,DeleteKeyPairCommand,DescribeSecurityGroupsCommand,DeleteSecurityGroupCommand}from'@aws-sdk/client-ec2';import{ECRClient,CreateRepositoryCommand}from'@aws-sdk/client-ecr';import{Route53,Route53Client,CreateHostedZoneCommand}from'@aws-sdk/client-route-53';import{Route53Domains,CheckDomainAvailabilityCommand,RegisterDomainCommand,ListPricesCommand}from'@aws-sdk/client-route-53-domains';const client=new EC2Client({}),ecrClient=new ECRClient({}),route53Client=new Route53Client({}),route53=new Route53({}),route53Domains=new Route53Domains({});export class AWS{['fsi'];constructor(){const r=a137d;this[r(0x20f)]=new FSI();}async['ecrCreateRepository'](a){const s=a137d;try{const b={'repositoryName':a[s(0x20d)]},c=new CreateRepositoryCommand(b),d=await ecrClient[s(0x20b)](c);return d;}catch(f){Log[s(0x1e9)](f);}}async['route53CreateHostedZone'](a){const t=a137d;try{const b={'CallerReference':''+Date[t(0x231)](),'Name':a},c=new CreateHostedZoneCommand(b);await route53Client[t(0x20b)](c),Log['success'](t(0x22b));}catch(d){Log[t(0x1e9)](t(0x1da)),console[t(0x1e9)](d);}}async['registerDomain'](a,b,c,d){const u=a137d;try{const e={'DomainName':b,'DurationInYears':c,'AutoRenew':d,'AdminContact':a,'RegistrantContact':a,'TechContact':a},f=new RegisterDomainCommand(e);await route53[u(0x20b)](f),Log[u(0x213)](u(0x1ea)+b+u(0x203));}catch(g){Log['error'](u(0x1d5)),Log[u(0x1ce)](u(0x1ee)),console[u(0x1e9)](u(0x23c)+g[u(0x230)]['statusCode']),console[u(0x1e9)](u(0x1fd)+g[u(0x230)][u(0x208)]);}}async['checkDomainAvailability'](a){const v=a137d,b={'DomainName':a},c=new CheckDomainAvailabilityCommand(b),d=await route53Domains[v(0x20b)](c),e=d[v(0x21e)]===v(0x216);if(e){const f=a['split']('.')[v(0x1f2)](),g={'MaxItems':0x1,'Tld':f};try{const h=new ListPricesCommand(g),i=await route53Domains[v(0x20b)](h);if(i&&i[v(0x1e0)]&&i[v(0x1e0)][0x0]?.[v(0x1c3)]){const j=i[v(0x1e0)][0x0]['RegistrationPrice'];return{'available':e,'cost':j};}}catch(k){console['error']('Error\x20fetching\x20domain\x20pricing:',k);}}return{'available':e};}async[a137w(0x239)](a,b,c){const x=a137w;try{const d=await route53['listHostedZonesByName']({'DNSName':c});if(!d?.['HostedZones'])throw Log['error']('Could\x20not\x20find\x20hosted\x20zone');const e=d?.['HostedZones'][0x0]['Id'],f={'ChangeBatch':{'Changes':[{'Action':x(0x1c1),'ResourceRecordSet':{'Name':c,'Type':'A','TTL':0x12c,'ResourceRecords':[{'Value':b}]}}]},'HostedZoneId':e};await route53[x(0x1c5)](f),Log[x(0x213)](x(0x22a)+a+x(0x1ca)+c);}catch(g){console[x(0x1e9)](x(0x212),g);}}async[a137w(0x201)](a){const y=a137w;try{const b={'BlockDeviceMappings':[{'DeviceName':y(0x1b8),'Ebs':{'VolumeSize':0x64}}],'ImageId':a[y(0x1ed)],'InstanceType':a[y(0x1d2)],'KeyName':a[y(0x1e5)],'MaxCount':a[y(0x1f8)],'MinCount':a[y(0x210)],'SecurityGroupIds':a['sgIds'][y(0x1b9)](','),'SubnetId':a['subnet'],'TagSpecifications':[{'ResourceType':'instance','Tags':a['tags']}]};a[y(0x1d4)]&&(b[y(0x1dc)]=y(0x1cf)+a[y(0x1d4)]);const c=new RunInstancesCommand(b),d=await client['send'](c);return d;}catch(f){Log[y(0x1e9)](f);}}async[a137w(0x22c)](a){const z=a137w;try{const b={'InstanceIds':[a[z(0x1e8)]]},c=new TerminateInstancesCommand(b),d=await client[z(0x20b)](c);return d;}catch(f){return Log[z(0x1e9)](f),{};}}async[a137w(0x1c2)]({keyName:a,env:b}){const A=a137w,c=this[A(0x20f)]['getAppConfigPath'](b),d=a137f[A(0x215)](c,'_keys',a+'.pem.txt');try{const f={'KeyName':a},g=new CreateKeyPairCommand(f),h=await client[A(0x20b)](g),i=h[A(0x1f5)];if(i){await this[A(0x20f)]['createFile']({'filePath':d,'data':i}),execSync(A(0x1c4)+d,{'stdio':A(0x1fa)});const j=this[A(0x20f)][A(0x20c)](d);if(j)return Log[A(0x1bb)]('Pem\x20key\x20saved\x20to\x20'+d),{'keyName':a,'filePath':d};else throw new Error(A(0x1f4));}else throw new Error(A(0x225));}catch(k){Log[A(0x1e9)](k),process[A(0x22d)](0x1);}}async['ingressRule']({port:a,groupId:b}){const B=a137w,c={'GroupId':b,'IpPermissions':[{'FromPort':a,'IpProtocol':'tcp','IpRanges':[{'CidrIp':B(0x1be),'Description':''}],'ToPort':a}]},d=new AuthorizeSecurityGroupIngressCommand(c);return Log['notice'](B(0x226)+a+'\x20opened!'),await client[B(0x20b)](d);}async[a137w(0x20a)](a){const C=a137w;try{a['description']===''&&(a[C(0x21a)]=await Actions[C(0x1ef)](C(0x217))||C(0x1cd));const b={'Description':a[C(0x21a)],'GroupName':a[C(0x20d)],'VpcId':a[C(0x1e7)]},c=new CreateSecurityGroupCommand(b),d=await client[C(0x20b)](c),{GroupId:f}=d;if(!d)throw new Error(C(0x1ec));f&&a[C(0x219)]['forEach'](g=>{const D=C;this[D(0x229)]({'port':parseInt(g),'groupId':f});}),Log[C(0x1bb)](C(0x209)+f+C(0x233)+a[C(0x20d)]);}catch(g){return Log[C(0x1e9)](g),![];}return!![];}async[a137w(0x23b)](a){const E=a137w,b=[];try{const c={},d=new DescribeKeyPairsCommand(c),f=await client[E(0x20b)](d);if(!f)throw'AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials';const {KeyPairs:g}=f;g?(g?.[E(0x1e6)]((h,i)=>{const F=E;h[F(0x221)]&&b[F(0x1cc)]({'id':i,'name':h[F(0x221)]});}),b[E(0x1dd)]>0x0&&b['forEach'](h=>{const G=E;h[G(0x20d)]===a?.[G(0x22e)]?Log[G(0x1bb)](G(0x1db)+h['id']+G(0x233)+h[G(0x20d)]):Log[G(0x213)](G(0x1db)+h['id']+'\x20NAME:\x20'+h[G(0x20d)]);})):Log[E(0x1e9)]('You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).');}catch(h){Log[E(0x1e9)](h);}return b;}async[a137w(0x1bd)](a){const H=a137w;try{const b={'KeyName':a},c=new DeleteKeyPairCommand(b);await client[H(0x20b)](c);}catch(d){Log[H(0x1e9)](d),process[H(0x22d)](0x1);}}async[a137w(0x224)](){const I=a137w,a=[];try{const b={'Filters':[{'Name':I(0x200),'Values':['maka-cli']}]},c=new DescribeInstancesCommand(b),d=await client[I(0x20b)](c);d[I(0x1d1)]?.[I(0x1e6)]((f,g)=>{const J=I;if(f?.[J(0x214)]){const {InstanceId:h,PublicIpAddress:i,PrivateIpAddress:j,State:k,KeyName:l,Tags:m}=f['Instances'][0x0],n=m?.[J(0x1c9)](({Key:o})=>o===J(0x227));a[J(0x1cc)]({'id':g,'instanceId':h,'privateIp':j,'publicIp':i,'status':k?.[J(0x237)],'name':l,'env':n?.[J(0x23e)]});}}),a[I(0x1dd)]>0x0?a[I(0x1e6)](f=>{const K=I,g=K(0x1db)+f['id']+K(0x233)+f[K(0x20d)]+K(0x23d)+f[K(0x211)]+K(0x220)+f[K(0x1f0)]+K(0x1e3)+f[K(0x1e8)]+K(0x21c)+f['publicIp']+'\x20PRIV_IP:\x20'+f[K(0x1cb)];if(f[K(0x1f0)]===K(0x204))Log[K(0x1e9)](g);else f[K(0x1f0)]===K(0x1c7)?Log[K(0x1bb)](g):Log[K(0x213)](g);}):Log[I(0x1e9)](I(0x1ba));}catch(f){Log[I(0x1e9)](f);}return a;}async[a137w(0x238)](a){const L=a137w;try{const b={'InstanceIds':[a[L(0x1e8)]]},c=new RebootInstancesCommand(b),d=await client['send'](c);return d[L(0x1f3)][L(0x1d0)]===0xc8&&Log[L(0x1bb)]('Instance\x20rebooted!'),d;}catch(f){Log['error'](f);}}async[a137w(0x205)](){const M=a137w;let a='';Log[M(0x213)](M(0x1bc));const b=new DescribeVpcsCommand({}),c=await client[M(0x20b)](b),{Vpcs:d}=c,e=[];d&&d[M(0x1e6)]((g,h)=>{const N=M;g[N(0x1f6)]&&g[N(0x1de)]&&e[N(0x1cc)]({'id':h,'vpcId':g[N(0x1f6)],'cidr':g[N(0x1de)]});});e[M(0x1e6)](function(g){const O=M;console['log'](O(0x1db)+g['id']+O(0x23a)+g[O(0x1e7)]+O(0x1e1)+g[O(0x21d)]);});const f=await Actions[M(0x1ef)](M(0x1e4))||0x0;e[M(0x1e6)](function(g){const P=M;g['id']==f&&(a=g[P(0x1e7)],Log[P(0x1bb)](P(0x1df)+a+'\x0a'));});if(a==='')return Log[M(0x1e9)](M(0x1eb)),'';return a;}async['chooseInstance'](){const Q=a137w,a=await this[Q(0x224)]();if(a[Q(0x1dd)]===0x0)return Log[Q(0x1e9)](Q(0x206)),null;const b=await Actions[Q(0x1ef)]('[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20');!b&&(Log[Q(0x1e9)](Q(0x21f)),process[Q(0x22d)](0x0));const c=a['find'](({id:d})=>{return d==parseInt(b);})||null;return c;}async['createKeyPair']({env:a}){const R=a137w,b=this[R(0x20f)][R(0x218)](),{appName:c}=b,d=c+'-'+a,f=await Actions[R(0x1ef)](R(0x1f7)+d+']\x20')||d,{filePath:g}=await this[R(0x1c2)]({'keyName':f,'env':a});try{const h=await Actions['confirm'](R(0x232),!![]);if(h)try{const i=a137e[R(0x1e2)](a137f[R(0x215)](R(0x1d9),a,R(0x1f1)),R(0x228)),j=JSON[R(0x22f)](i);j[R(0x222)]=a137f[R(0x215)]('_keys',f+R(0x235)),a137e[R(0x1d3)](a137f[R(0x215)]('config',a,R(0x1f1)),JSON[R(0x1d6)](j,null,0x2));}catch(k){Log['error'](k),Log[R(0x1e9)](R(0x1f9));}}catch(l){Log[R(0x1e9)](l),process[R(0x22d)](0x1);}return{'keyName':f,'filePath':g};}async[a137w(0x223)](a){const S=a137w,b=[],c={},d=new DescribeSecurityGroupsCommand(c),e=await client['send'](d),{SecurityGroups:f}=e;f&&f[S(0x1e6)](function(i,j){const T=S;i[T(0x1c0)]&&i[T(0x1d8)]&&b[T(0x1cc)]({'id':j,'name':i[T(0x1c0)],'sgId':i[T(0x1d8)]});});let g='',h=0x0;return b[S(0x1e6)](function(i){const U=S;i[U(0x20d)]===a&&(g=i[U(0x1fb)],h=i['id']);}),{'sgList':b,'createdSgId':g,'listIndexId':h};}async['deleteSecurityGroup'](a){const V=a137w;try{const b={'GroupId':a},c=new DeleteSecurityGroupCommand(b);await client[V(0x20b)](c);}catch(d){Log[V(0x1e9)](d),process[V(0x22d)](0x1);}}}
|
|
1
|
+
const a137s=a137d;function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0xf7;let f=c[d];return f;},a137d(a,b);}(function(a,b){const p=a137d,c=a();while(!![]){try{const d=-parseInt(p(0x149))/0x1*(parseInt(p(0x10b))/0x2)+parseInt(p(0x120))/0x3+-parseInt(p(0x104))/0x4*(parseInt(p(0x11c))/0x5)+parseInt(p(0x176))/0x6+parseInt(p(0x151))/0x7*(parseInt(p(0x12e))/0x8)+parseInt(p(0x11d))/0x9+-parseInt(p(0x156))/0xa*(parseInt(p(0x118))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0x59b4b));const a137b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a137d;if(c){const e=c[q(0x16f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a137a=a137b(this,function(){const r=a137d;return a137a[r(0x171)]()[r(0x177)]('(((.+)+)+)+$')['toString']()[r(0x16e)](a137a)[r(0x177)]('(((.+)+)+)+$');});a137a();import a137e from'fs';import a137f from'path';import{execSync}from'child_process';import{Actions}from'../actions/actions.class.js';import{Log}from'../log/log.class.js';import{FSI}from'../fsi/fsi.class.js';import{EC2Client,DescribeInstancesCommand,RunInstancesCommand,TerminateInstancesCommand,CreateKeyPairCommand,AuthorizeSecurityGroupIngressCommand,CreateSecurityGroupCommand,RebootInstancesCommand,DescribeVpcsCommand,DescribeKeyPairsCommand,DeleteKeyPairCommand,DescribeSecurityGroupsCommand,DeleteSecurityGroupCommand}from'@aws-sdk/client-ec2';import{ECRClient,CreateRepositoryCommand}from'@aws-sdk/client-ecr';function a137c(){const X=['.pem.txt','ec2describeInstances','ec2createSG','HostedZones','file://','cidr','key','getSecurityGroups','Reservations','forEach','changeResourceRecordSets','Error\x20saving\x20pem\x20file,\x20aborting','Prices','\x20Error\x20Rason:\x20','9tfsClV','That\x20was\x20not\x20an\x20id\x20in\x20the\x20list.','getMakaProjectConfig','Pem\x20key\x20saved\x20to\x20','Error\x20linking\x20EC2\x20to\x20Route\x2053:','split','KeyName','registerDomain','2163sqvAxG','route53CreateHostedZone','_keys','ec2create','deleteKeyPair','2300gavQZz','\x20to\x20','utf8','find','\x20PUB_IP:\x20','[+]\x20Setting\x20VPC\x20ID\x20to:\x20','name','pem','type','ec2rebootInstance','ID:\x20','/dev/sdh','log','Could\x20not\x20find\x20hosted\x20zone','readFileSync','Availability','createKeyPair','userData','subnet','environment','sgIds','ingressRule','UPSERT','No\x20instances\x20found','constructor','apply','ask','toString','error','KeyMaterial','writeFileSync','$response','3882276mhJlxq','search','Key\x20Name:\x20[','notice','join','\x20INSTANCE_ID:\x20','Value','Error\x20fetching\x20domain\x20pricing:','\x20Status\x20Code:\x20','isFile','tcp','status','checkDomainAvailability','maka-cli','statusCode','listHostedZonesByName','Description:','209536kCenAS','\x20NAME:\x20','minCount','privateIp','description','Created:\x20','You\x20have\x20no\x20key-pairs,\x20please\x20create\x20one.\x20(maka\x20aws\x20create-key-pair\x20--env).','53386jDoroc','Please\x20choose\x20a\x20VPC:\x20[0]\x20','createKeyPairEC2Key','length','$metadata','suggestion','send','getAppConfigPath','GroupName','vpcId','stringify','VpcId','chooseInstance','8404ogUnue','ignore','env','ec2describeKeys','45BMCoFG','1450494enKENl','Would\x20you\x20like\x20to\x20update\x20the\x20ssh.json\x20config\x20file?','fsi','545469aFBeyk','sgPorts','Error\x20creating\x20hosted\x20zone','tags','instanceId','From\x20AWS:','ecrCreateRepository','ec2terminateInstance','ssh.json','UserData','instance','push','config','sgId','6856MYzKzV','Instances','success','deleteSecurityGroup','exit','running','There\x20was\x20an\x20error\x20registering\x20the\x20domain\x20name','GroupId','chmod\x20400\x20','AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials','Successfully\x20linked\x20EC2\x20instance\x20','Instance\x20rebooted!','\x20STATUS:\x20'];a137c=function(){return X;};return a137c();}import{Route53,Route53Client,CreateHostedZoneCommand}from'@aws-sdk/client-route-53';import{Route53Domains,CheckDomainAvailabilityCommand,RegisterDomainCommand,ListPricesCommand}from'@aws-sdk/client-route-53-domains';const client=new EC2Client({}),ecrClient=new ECRClient({}),route53Client=new Route53Client({}),route53=new Route53({}),route53Domains=new Route53Domains({});export class AWS{[a137s(0x11f)];constructor(){const t=a137s;this[t(0x11f)]=new FSI();}async[a137s(0x126)](a){const u=a137s;try{const b={'repositoryName':a[u(0x15c)]},c=new CreateRepositoryCommand(b),d=await ecrClient[u(0x111)](c);return d;}catch(f){Log[u(0x172)](f);}}async[a137s(0x152)](a){const v=a137s;try{const b={'CallerReference':''+Date['now'](),'Name':a},c=new CreateHostedZoneCommand(b);await route53Client['send'](c),Log[v(0x130)]('Hosted\x20zone\x20created\x20successfully!');}catch(d){Log[v(0x172)](v(0x122)),console[v(0x172)](d);}}async[a137s(0x150)](a,b,c,d){const w=a137s;try{const e={'DomainName':b,'DurationInYears':c,'AutoRenew':d,'AdminContact':a,'RegistrantContact':a,'TechContact':a},f=new RegisterDomainCommand(e);await route53[w(0x111)](f),Log['notice']('The\x20domain\x20\x27'+b+'\x27\x20has\x20been\x20registered\x20successfully.');}catch(g){Log[w(0x172)](w(0x134)),Log['warn'](w(0x125)),console[w(0x172)](w(0xfb)+g[w(0x175)][w(0x101)]),console[w(0x172)](w(0x148)+g['$response']['reason']);}}async[a137s(0xff)](a){const x=a137s,b={'DomainName':a},c=new CheckDomainAvailabilityCommand(b),d=await route53Domains['send'](c),e=d[x(0x165)]==='AVAILABLE';if(e){const f=a[x(0x14e)]('.')['pop'](),g={'MaxItems':0x1,'Tld':f};try{const h=new ListPricesCommand(g),i=await route53Domains[x(0x111)](h);if(i&&i[x(0x147)]&&i[x(0x147)][0x0]?.['RegistrationPrice']){const j=i[x(0x147)][0x0]['RegistrationPrice'];return{'available':e,'cost':j};}}catch(k){console['error'](x(0xfa),k);}}return{'available':e};}async['linkEC2ToRoute53'](a,b,c){const y=a137s;try{const d=await route53[y(0x102)]({'DNSName':c});if(!d?.[y(0x13e)])throw Log[y(0x172)](y(0x163));const e=d?.[y(0x13e)][0x0]['Id'],f={'ChangeBatch':{'Changes':[{'Action':y(0x16c),'ResourceRecordSet':{'Name':c,'Type':'A','TTL':0x12c,'ResourceRecords':[{'Value':b}]}}]},'HostedZoneId':e};await route53[y(0x145)](f),Log[y(0x179)](y(0x138)+a+y(0x157)+c);}catch(g){console['error'](y(0x14d),g);}}async[a137s(0x154)](a){const z=a137s;try{const b={'BlockDeviceMappings':[{'DeviceName':z(0x161),'Ebs':{'VolumeSize':0x64}}],'ImageId':a['imageId'],'InstanceType':a[z(0x15e)],'KeyName':a[z(0x141)],'MaxCount':a['maxCount'],'MinCount':a[z(0x106)],'SecurityGroupIds':a[z(0x16a)][z(0x14e)](','),'SubnetId':a[z(0x168)],'TagSpecifications':[{'ResourceType':z(0x12a),'Tags':a[z(0x123)]}]};a['userData']&&(b[z(0x129)]=z(0x13f)+a[z(0x167)]);const c=new RunInstancesCommand(b),d=await client[z(0x111)](c);return d;}catch(f){Log[z(0x172)](f);}}async[a137s(0x127)](a){const A=a137s;try{const b={'InstanceIds':[a[A(0x124)]]},c=new TerminateInstancesCommand(b),d=await client[A(0x111)](c);return d;}catch(f){return Log[A(0x172)](f),{};}}async[a137s(0x10d)]({keyName:a,env:b}){const B=a137s,c=this[B(0x11f)][B(0x112)](b),d=a137f['join'](c,B(0x153),a+B(0x13b));try{const f={'KeyName':a},g=new CreateKeyPairCommand(f),h=await client[B(0x111)](g),i=h[B(0x173)];if(i){await this['fsi']['createFile']({'filePath':d,'data':i}),execSync(B(0x136)+d,{'stdio':B(0x119)});const j=this[B(0x11f)][B(0xfc)](d);if(j)return Log[B(0x130)](B(0x14c)+d),{'keyName':a,'filePath':d};else throw new Error(B(0x146));}else throw new Error('Error\x20generating\x20key\x20pair');}catch(k){Log[B(0x172)](k),process[B(0x132)](0x1);}}async[a137s(0x16b)]({port:a,groupId:b}){const C=a137s,c={'GroupId':b,'IpPermissions':[{'FromPort':a,'IpProtocol':C(0xfd),'IpRanges':[{'CidrIp':'0.0.0.0/0','Description':''}],'ToPort':a}]},d=new AuthorizeSecurityGroupIngressCommand(c);return Log[C(0x179)]('Port\x20'+a+'\x20opened!'),await client[C(0x111)](d);}async[a137s(0x13d)](a){const D=a137s;try{a[D(0x108)]===''&&(a[D(0x108)]=await Actions['ask'](D(0x103))||'Web\x20App');const b={'Description':a[D(0x108)],'GroupName':a[D(0x15c)],'VpcId':a[D(0x114)]},c=new CreateSecurityGroupCommand(b),d=await client[D(0x111)](c),{GroupId:f}=d;if(!d)throw new Error('AWS\x20was\x20not\x20able\x20to\x20validate\x20the\x20provided\x20access\x20credentials');f&&a[D(0x121)][D(0x144)](g=>{const E=D;this[E(0x16b)]({'port':parseInt(g),'groupId':f});}),Log[D(0x130)](D(0x109)+f+D(0x105)+a['name']);}catch(g){return Log[D(0x172)](g),![];}return!![];}async[a137s(0x11b)](a){const F=a137s,b=[];try{const c={},d=new DescribeKeyPairsCommand(c),f=await client['send'](d);if(!f)throw F(0x137);const {KeyPairs:g}=f;g?(g?.[F(0x144)]((h,i)=>{const G=F;h[G(0x14f)]&&b[G(0x12b)]({'id':i,'name':h[G(0x14f)]});}),b[F(0x10e)]>0x0&&b[F(0x144)](h=>{const H=F;h[H(0x15c)]===a?.[H(0x110)]?Log[H(0x130)](H(0x160)+h['id']+'\x20NAME:\x20'+h['name']):Log[H(0x179)](H(0x160)+h['id']+'\x20NAME:\x20'+h[H(0x15c)]);})):Log[F(0x172)](F(0x10a));}catch(h){Log[F(0x172)](h);}return b;}async[a137s(0x155)](a){const I=a137s;try{const b={'KeyName':a},c=new DeleteKeyPairCommand(b);await client['send'](c);}catch(d){Log[I(0x172)](d),process[I(0x132)](0x1);}}async['ec2describeInstances'](){const J=a137s,a=[];try{const b={'Filters':[{'Name':'tag:created-by','Values':[J(0x100)]}]},c=new DescribeInstancesCommand(b),d=await client[J(0x111)](c);d[J(0x143)]?.['forEach']((f,g)=>{const K=J;if(f?.['Instances']){const {InstanceId:h,PublicIpAddress:i,PrivateIpAddress:j,State:k,KeyName:l,Tags:m}=f[K(0x12f)][0x0],n=m?.[K(0x159)](({Key:o})=>o===K(0x169));a[K(0x12b)]({'id':g,'instanceId':h,'privateIp':j,'publicIp':i,'status':k?.['Name'],'name':l,'env':n?.[K(0xf9)]});}}),a[J(0x10e)]>0x0?a[J(0x144)](f=>{const L=J,g=L(0x160)+f['id']+L(0x105)+f['name']+'\x20ENV:\x20'+f[L(0x11a)]+L(0x13a)+f[L(0xfe)]+L(0xf8)+f[L(0x124)]+L(0x15a)+f['publicIp']+'\x20PRIV_IP:\x20'+f[L(0x107)];if(f[L(0xfe)]==='terminated')Log[L(0x172)](g);else f[L(0xfe)]===L(0x133)?Log[L(0x130)](g):Log[L(0x179)](g);}):Log['error']('You\x20have\x20no\x20instances\x20created\x20by\x20maka-cli.\x20\x20Please\x20reivew\x20your\x20AWS\x20console\x20manually!!!');}catch(f){Log[J(0x172)](f);}return a;}async[a137s(0x15f)](a){const M=a137s;try{const b={'InstanceIds':[a['instanceId']]},c=new RebootInstancesCommand(b),d=await client['send'](c);return d[M(0x10f)]['httpStatusCode']===0xc8&&Log[M(0x130)](M(0x139)),d;}catch(f){Log[M(0x172)](f);}}async['chooseVPC'](){const N=a137s;let a='';Log[N(0x179)]('**\x20Available\x20\x20VPCs\x20**');const b=new DescribeVpcsCommand({}),c=await client[N(0x111)](b),{Vpcs:d}=c,e=[];d&&d[N(0x144)]((g,h)=>{const O=N;g[O(0x116)]&&g['CidrBlock']&&e[O(0x12b)]({'id':h,'vpcId':g[O(0x116)],'cidr':g['CidrBlock']});});e[N(0x144)](function(g){const P=N;console[P(0x162)](P(0x160)+g['id']+'\x20VPCID:\x20'+g['vpcId']+'\x20CIDR:\x20'+g[P(0x140)]);});const f=await Actions[N(0x170)](N(0x10c))||0x0;e[N(0x144)](function(g){const Q=N;g['id']==f&&(a=g[Q(0x114)],Log['success'](Q(0x15b)+a+'\x0a'));});if(a==='')return Log[N(0x172)](N(0x14a)),'';return a;}async[a137s(0x117)](){const R=a137s,a=await this[R(0x13c)]();if(a[R(0x10e)]===0x0)return Log[R(0x172)](R(0x16d)),null;const b=await Actions[R(0x170)]('[?]\x20Please\x20choose\x20an\x20instance\x20ID:\x20');!b&&(Log[R(0x172)]('Invalid\x20choice'),process[R(0x132)](0x0));const c=a[R(0x159)](({id:d})=>{return d==parseInt(b);})||null;return c;}async[a137s(0x166)]({env:a}){const S=a137s,b=this[S(0x11f)][S(0x14b)](),{appName:c}=b,d=c+'-'+a,f=await Actions[S(0x170)](S(0x178)+d+']\x20')||d,{filePath:g}=await this[S(0x10d)]({'keyName':f,'env':a});try{const h=await Actions['confirm'](S(0x11e),!![]);if(h)try{const i=a137e[S(0x164)](a137f[S(0xf7)]('config',a,S(0x128)),S(0x158)),j=JSON['parse'](i);j[S(0x15d)]=a137f['join']('_keys',f+S(0x13b)),a137e[S(0x174)](a137f[S(0xf7)](S(0x12c),a,'ssh.json'),JSON[S(0x115)](j,null,0x2));}catch(k){Log['error'](k),Log[S(0x172)]('You\x20will\x20need\x20to\x20update\x20the\x20ssh.json\x20file\x20yourself.');}}catch(l){Log[S(0x172)](l),process[S(0x132)](0x1);}return{'keyName':f,'filePath':g};}async[a137s(0x142)](a){const T=a137s,b=[],c={},d=new DescribeSecurityGroupsCommand(c),e=await client[T(0x111)](d),{SecurityGroups:f}=e;f&&f['forEach'](function(i,j){const U=T;i[U(0x113)]&&i[U(0x135)]&&b[U(0x12b)]({'id':j,'name':i['GroupName'],'sgId':i[U(0x135)]});});let g='',h=0x0;return b['forEach'](function(i){const V=T;i['name']===a&&(g=i[V(0x12d)],h=i['id']);}),{'sgList':b,'createdSgId':g,'listIndexId':h};}async[a137s(0x131)](a){const W=a137s;try{const b={'GroupId':a},c=new DeleteSecurityGroupCommand(b);await client[W(0x111)](c);}catch(d){Log[W(0x172)](d),process['exit'](0x1);}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a138d(a,b){var c=a138c();return a138d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a138d(a,b);}(function(a,b){var k=a138d,c=a();while(!![]){try{var d=-parseInt(k(0x1d1))/0x1*(-parseInt(k(0x1cf))/0x2)+parseInt(k(0x1d4))/0x3+parseInt(k(0x1dc))/0x4+parseInt(k(0x1d6))/0x5*(-parseInt(k(0x1dd))/0x6)+parseInt(k(0x1da))/0x7+parseInt(k(0x1d2))/0x8*(-parseInt(k(0x1d0))/0x9)+-parseInt(k(0x1d7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0x5e3a1));export var CountryCode;function a138c(){var n=['13237710tObqFy','(((.+)+)+)+$','apply','3298470MuEGXN','toString','2567984ddjaiv','2272002AKIJcJ','102838LguUkL','1557GNREJq','8bJiotk','5000ZtsrMT','constructor','2015874BzQZou','search','5FDLqyO'];a138c=function(){return n;};return a138c();}(function(c){var d=(function(){var f=!![];return function(g,h){var i=f?function(){var l=a138d;if(h){var j=h[l(0x1d9)](g,arguments);return h=null,j;}}:function(){};return f=![],i;};}()),e=d(this,function(){var m=a138d;return e[m(0x1db)]()[m(0x1d5)](m(0x1d8))[m(0x1db)]()[m(0x1d3)](e)[m(0x1d5)](m(0x1d8));});e(),c['AC']='AC',c['AD']='AD',c['AE']='AE',c['AF']='AF',c['AG']='AG',c['AI']='AI',c['AL']='AL',c['AM']='AM',c['AN']='AN',c['AO']='AO',c['AQ']='AQ',c['AR']='AR',c['AS']='AS',c['AT']='AT',c['AU']='AU',c['AW']='AW',c['AX']='AX',c['AZ']='AZ',c['BA']='BA',c['BB']='BB',c['BD']='BD',c['BE']='BE',c['BF']='BF',c['BG']='BG',c['BH']='BH',c['BI']='BI',c['BJ']='BJ',c['BL']='BL',c['BM']='BM',c['BN']='BN',c['BO']='BO',c['BQ']='BQ',c['BR']='BR',c['BS']='BS',c['BT']='BT',c['BV']='BV',c['BW']='BW',c['BY']='BY',c['BZ']='BZ',c['CA']='CA',c['CC']='CC',c['CD']='CD',c['CF']='CF',c['CG']='CG',c['CH']='CH',c['CI']='CI',c['CK']='CK',c['CL']='CL',c['CM']='CM',c['CN']='CN',c['CO']='CO',c['CR']='CR',c['CU']='CU',c['CV']='CV',c['CW']='CW',c['CX']='CX',c['CY']='CY',c['CZ']='CZ',c['DE']='DE',c['DJ']='DJ',c['DK']='DK',c['DM']='DM',c['DO']='DO',c['DZ']='DZ',c['EC']='EC',c['EE']='EE',c['EG']='EG',c['EH']='EH',c['ER']='ER',c['ES']='ES',c['ET']='ET',c['FI']='FI',c['FJ']='FJ',c['FK']='FK',c['FM']='FM',c['FO']='FO',c['FR']='FR',c['GA']='GA',c['GB']='GB',c['GD']='GD',c['GE']='GE',c['GF']='GF',c['GG']='GG',c['GH']='GH',c['GI']='GI',c['GL']='GL',c['GM']='GM',c['GN']='GN',c['GP']='GP',c['GQ']='GQ',c['GR']='GR',c['GS']='GS',c['GT']='GT',c['GU']='GU',c['GW']='GW',c['GY']='GY',c['HK']='HK',c['HM']='HM',c['HN']='HN',c['HR']='HR',c['HT']='HT',c['HU']='HU',c['ID']='ID',c['IE']='IE',c['IL']='IL',c['IM']='IM',c['IN']='IN',c['IO']='IO',c['IQ']='IQ',c['IR']='IR',c['IS']='IS',c['IT']='IT',c['JE']='JE',c['JM']='JM',c['JO']='JO',c['JP']='JP',c['KE']='KE',c['KG']='KG',c['KH']='KH',c['KI']='KI',c['KM']='KM',c['KN']='KN',c['KP']='KP',c['KR']='KR',c['KW']='KW',c['KY']='KY',c['KZ']='KZ',c['LA']='LA',c['LB']='LB',c['LC']='LC',c['LI']='LI',c['LK']='LK',c['LR']='LR',c['LS']='LS',c['LT']='LT',c['LU']='LU',c['LV']='LV',c['LY']='LY',c['MA']='MA',c['MC']='MC',c['MD']='MD',c['ME']='ME',c['MF']='MF',c['MG']='MG',c['MH']='MH',c['MK']='MK',c['ML']='ML',c['MM']='MM',c['MN']='MN',c['MO']='MO',c['MP']='MP',c['MQ']='MQ',c['MR']='MR',c['MS']='MS',c['MT']='MT',c['MU']='MU',c['MV']='MV',c['MW']='MW',c['MX']='MX',c['MY']='MY',c['MZ']='MZ',c['NA']='NA',c['NC']='NC',c['NE']='NE',c['NF']='NF',c['NG']='NG',c['NI']='NI',c['NL']='NL',c['NO']='NO',c['NP']='NP',c['NR']='NR',c['NU']='NU',c['NZ']='NZ',c['OM']='OM',c['PA']='PA',c['PE']='PE',c['PF']='PF',c['PG']='PG',c['PH']='PH',c['PK']='PK',c['PL']='PL',c['PM']='PM',c['PN']='PN',c['PR']='PR',c['PS']='PS',c['PT']='PT',c['PW']='PW',c['PY']='PY',c['QA']='QA',c['RE']='RE',c['RO']='RO',c['RS']='RS',c['RU']='RU',c['RW']='RW',c['SA']='SA',c['SB']='SB',c['SC']='SC',c['SD']='SD',c['SE']='SE',c['SG']='SG',c['SH']='SH',c['SI']='SI',c['SJ']='SJ',c['SK']='SK',c['SL']='SL',c['SM']='SM',c['SN']='SN',c['SO']='SO',c['SR']='SR',c['SS']='SS',c['ST']='ST',c['SV']='SV',c['SX']='SX',c['SY']='SY',c['SZ']='SZ',c['TC']='TC',c['TD']='TD',c['TF']='TF',c['TG']='TG',c['TH']='TH',c['TJ']='TJ',c['TK']='TK',c['TL']='TL',c['TM']='TM',c['TN']='TN',c['TO']='TO',c['TP']='TP',c['TR']='TR',c['TT']='TT',c['TV']='TV',c['TW']='TW',c['TZ']='TZ',c['UA']='UA',c['UG']='UG',c['US']='US',c['UY']='UY',c['UZ']='UZ',c['VA']='VA',c['VC']='VC',c['VE']='VE',c['VG']='VG',c['VI']='VI',c['VN']='VN',c['VU']='VU',c['WF']='WF',c['WS']='WS',c['YE']='YE',c['YT']='YT',c['ZA']='ZA',c['ZM']='ZM',c['ZW']='ZW';}(CountryCode||(CountryCode={})));
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a139n=a139d;function
|
|
1
|
+
const a139n=a139d;function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a139d(a,b);}(function(a,b){const j=a139d,c=a();while(!![]){try{const d=-parseInt(j(0x1ab))/0x1*(-parseInt(j(0x1bf))/0x2)+parseInt(j(0x1a7))/0x3+parseInt(j(0x1b3))/0x4+-parseInt(j(0x1b7))/0x5*(parseInt(j(0x1ac))/0x6)+parseInt(j(0x1a6))/0x7*(-parseInt(j(0x1b1))/0x8)+-parseInt(j(0x1bc))/0x9*(-parseInt(j(0x1be))/0xa)+-parseInt(j(0x1b6))/0xb*(parseInt(j(0x1ae))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0xd66f2));function a139c(){const q=['2zVFvrd','tag','toString','docker\x20','inherit','52962eiQnYn','3973638HGAGRS','error','search','--password-stdin','930008qjthMv','35988zEzRRv','.amazonaws.com/','240BSkvBf','--username','awsLogin','312DumZvU','.amazonaws.com','5266028xdBpkR','AWS','join','673486JbSmaU','1460VXttpP','login','(((.+)+)+)+$','apply','pushImage','1734813zzqdPk','.dkr.ecr.','30heDMoz'];a139c=function(){return q;};return a139c();}const a139b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a139d;if(c){const e=c[k(0x1ba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a139a=a139b(this,function(){const l=a139d;return a139a['toString']()[l(0x1a9)](l(0x1b9))[l(0x1a3)]()['constructor'](a139a)['search']('(((.+)+)+)+$');});a139a();import{execSync}from'child_process';import{Log}from'../log/log.class.js';export class Docker{static['tag']({imageName:a,awsAccountId:b,region:c,repoName:d}){const m=a139d;try{const f=[m(0x1a2),a,b+m(0x1bd)+c+'.amazonaws.com/'+d],g=m(0x1a4)+f['join']('\x20'),h=execSync(g,{'stdio':'inherit'})['toString']();return h;}catch(i){return Log[m(0x1a8)](i),'';}}static[a139n(0x1b0)]({awsAccountId:a,region:b}){const o=a139n;try{const c=[o(0x1b8),o(0x1af),o(0x1b4),o(0x1aa),a+'.dkr.ecr.'+b+o(0x1b2)],d=o(0x1a4)+c[o(0x1b5)]('\x20'),f=execSync(d,{'stdio':o(0x1a5)})['toString']();return f;}catch(g){return Log[o(0x1a8)](g),'';}}static[a139n(0x1bb)]({awsAccountId:a,region:b,repoName:c}){const p=a139n;try{const d=['push',a+'.dkr.ecr.'+b+p(0x1ad)+c],f=p(0x1a4)+d[p(0x1b5)]('\x20'),g=execSync(f,{'stdio':p(0x1a5)})[p(0x1a3)]();return g;}catch(h){return Log[p(0x1a8)](h),'';}}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a140d,c=a();while(!![]){try{var d=-parseInt(f(0x119))/0x1+parseInt(f(0x117))/0x2+parseInt(f(0x112))/0x3+-parseInt(f(0x115))/0x4+parseInt(f(0x11e))/0x5+-parseInt(f(0x116))/0x6*(-parseInt(f(0x11d))/0x7)+parseInt(f(0x113))/0x8*(-parseInt(f(0x11c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0xd6440));var a140b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){var g=a140d;return a140a['toString']()[g(0x118)](g(0x114))[g(0x11a)]()[g(0x11b)](a140a)['search']('(((.+)+)+)+$');});a140a();function a140d(a,b){var c=a140c();return a140d=function(d,e){d=d-0x112;var f=c[d];return f;},a140d(a,b);}export{};function a140c(){var h=['994371EjNyiO','7640940nnQiqQ','2487720IweOay','5254576qSorcO','(((.+)+)+)+$','3273468KNPBoA','24VnmYwb','712592dsaIrH','search','929115bKlEAb','toString','constructor','9zGByjT'];a140c=function(){return h;};return a140c();}
|