@maka/maka-cli 5.0.12 → 5.0.14
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 +2 -3
- 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/cecr.sub.cmd.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/decr.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/lecr.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/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/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.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/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/cfg/cfg.class.js +1 -0
- 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/mpi/mpi.class.js +1 -0
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -0
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -0
- 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 +2 -3
- package/bundle/obf/src/commands/patreon.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129i=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=-parseInt(g(0x1c3))/0x1+-parseInt(g(0x1b3))/0x2*(-parseInt(g(0x1d4))/0x3)+parseInt(g(0x1c6))/0x4+-parseInt(g(0x1c2))/0x5*(parseInt(g(0x1cb))/0x6)+-parseInt(g(0x1d0))/0x7+-parseInt(g(0x1be))/0x8+parseInt(g(0x1b6))/0x9*(parseInt(g(0x1b7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x827e4));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 h=a129d;return a129a['toString']()[h(0x1bf)](h(0x1d5))[h(0x1bc)]()['constructor'](a129a)[h(0x1bf)](h(0x1d5));});a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a129d(a,b);}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129c(){const k=['Material-UI\x20Kit','18sIpLHL','mui','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','auth','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','5967598AEAOcU','fsi','getMakaProjectConfig','maka\x20g:kit:m','774AnGxlr','(((.+)+)+)+$','frame','7066QZollj','create','info','63XyfFhw','1325870kProov','kit:mui:auth','No\x20MUI\x20kits\x20selected.\x20Exiting.','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','cfg','toString','kit:mui:frame','3768384nFrMyP','search','notice','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','712870eEhfSQ','96068BKyoWr','options','processAndRunGenerator','2168916ezPEDY','kitChoices','includes','checkbox'];a129c=function(){return k;};return a129c();}import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator[a129i(0x1b4)]({'name':a129i(0x1cc),'aliases':['m'],'usage':a129i(0x1c1),'noNeedResource':!![],'shortDesc':a129i(0x1ca),'validOpts':[''],'isPro':!![],'examples':[a129i(0x1d3)]},async function(){const j=a129i;Log[j(0x1b5)](j(0x1cd)),Log[j(0x1c0)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions[j(0x1c4)]({'type':j(0x1c9),'name':j(0x1c7),'message':j(0x1cf),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':j(0x1b2)},{'name':j(0x1ba),'value':j(0x1ce)}]}),b=this[j(0x1d1)]['findProjectDirectory'](),c=this[j(0x1bb)][j(0x1d2)]();a['includes']('frame')&&await a129e[j(0x1c5)](j(0x1bd),[],{'force':!![],'cwd':b,'config':c});a[j(0x1c8)]('auth')&&await a129e['processAndRunGenerator'](j(0x1b8),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[j(0x1b5)](j(0x1b9));return;}},async function(){},a129f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130n=a130d;(function(a,b){const l=a130d,c=a();while(!![]){try{const d=parseInt(l(0x1ba))/0x1+-parseInt(l(0x1a4))/0x2+parseInt(l(0x1b2))/0x3*(-parseInt(l(0x1a6))/0x4)+-parseInt(l(0x1c9))/0x5*(-parseInt(l(0x1c4))/0x6)+parseInt(l(0x1a9))/0x7+parseInt(l(0x1bd))/0x8*(-parseInt(l(0x1b5))/0x9)+parseInt(l(0x1a0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xccb87));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x191;let f=c[d];return f;},a130d(a,b);}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 m=a130d;return a130a[m(0x1c7)]()[m(0x1c1)](m(0x1be))['toString']()[m(0x191)](a130a)[m(0x1c1)](m(0x1be));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130n(0x19a)]({'name':a130n(0x19e),'aliases':aliases,'usage':a130n(0x1a5),'shortDesc':a130n(0x1b3),'validOpts':[a130n(0x1cb)],'examples':[a130n(0x1b6),a130n(0x1c0)]},async function(a,b){const o=a130n,c=o(0x198),d=this['fsi'][o(0x1cf)](),e=this[o(0x1ab)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[o(0x1b9)])]}),f=await this[o(0x1a2)][o(0x19d)]();typeof f[o(0x1ce)]['test']==='string'&&this[o(0x1a2)][o(0x19c)]('test',f[o(0x1ce)][o(0x1a7)]);typeof f[o(0x1ce)]['css']==='string'&&this[o(0x1a2)][o(0x19c)](o(0x19f),f[o(0x1ce)][o(0x19f)]);typeof f[o(0x1ce)]['js']===o(0x1bb)&&this['cfg'][o(0x19c)]('js',f[o(0x1ce)]['js']);const g=b['_']?b['_'][0x0][o(0x1bc)](':')[0x1]:![],h=b['_']&&aliases[o(0x1b0)](g);h&&!this['pkg'][o(0x1cd)](o(0x19b))&&(Log[o(0x1c2)](o(0x1b7)),this[o(0x1aa)][o(0x1b8)](o(0x19b),{'cwd':d}));if(h&&!this[o(0x1aa)][o(0x1cd)](o(0x199))){Log['warn'](o(0x1d1));return;}const i={'name':pascalCase(b[o(0x1b9)]),'myPath':a130e[o(0x1a8)](this[o(0x1a1)]['findProjectDirectory'](),e),'cssCaseName':paramCase(b[o(0x1b9)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[o(0x1b9)]),'fileName':paramCase(b['resourceName']),'graphql':f[o(0x1bf)][o(0x1c8)],'features':f[o(0x1ca)],'client':f[o(0x1bf)][o(0x196)],'api':f[o(0x1bf)][o(0x1d0)],'ssr':f[o(0x1bf)]['ssr'],'test':f[o(0x1bf)][o(0x1a7)],'theme':f[o(0x1bf)][o(0x1c5)],'isComponent':![],'isLayout':!![],'withTranslations':f[o(0x1ca)][o(0x1a3)]};f[o(0x1ca)]?.[o(0x1af)]||b[o(0x1cb)]?await this[o(0x1ab)][o(0x1ce)]({'srcPath':'hook/hook.js','destPath':e+o(0x1ad),'framework':'react','context':i,'config':f}):await this[o(0x1ab)][o(0x1ce)]({'srcPath':o(0x192),'destPath':e+o(0x1ad),'framework':o(0x199),'context':i,'config':f});f[o(0x1bf)][o(0x1a7)]!==o(0x1b1)&&await this[o(0x1ab)]['template']({'srcPath':o(0x194),'destPath':e+'.app-tests.js','framework':o(0x199),'context':i,'config':f});f['template'][o(0x19f)]&&(await this['scaffold'][o(0x1ce)]({'srcPath':o(0x1cc),'destPath':e+o(0x1ae),'context':Object[o(0x1b4)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['scaffold'][o(0x193)]({'filePath':e+'.'+f[o(0x1bf)]['js'],'content':o(0x1ac)+i[o(0x1c6)]+'.'+f[o(0x1bf)][o(0x19f)]+'\x27;'}));const j=b[o(0x195)]?'/'+b[o(0x195)]+'/':'/',k=''+c+j+i[o(0x1c6)]+'/'+i['fileName'];await this[o(0x1ab)][o(0x197)](i[o(0x1c3)],f,k);});function a130c(){const p=['24896pCknYn','test','relative','9649409lTXzeb','pkg','scaffold','import\x20\x27./','.js','.css','withHooks','includes','none','645dzcFKy','Scaffolding\x20for\x20a\x20React\x20Layout.','assign','855ctjBvl','maka\x20g:layout\x20mobile/iPhone8','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','installNpmPackage','resourceName','1248913kwVavh','string','split','17528FOXFhM','(((.+)+)+)+$','engines','maka\x20g:l\x20web/safari','search','warn','className','11652tGHKpZ','theme','fileName','toString','graphql','710rAyrPa','features','withHook','template/template.css','checkNpmPackage','template','findAppDirectory','api','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','constructor','component/component.js','injectAtBeginningOfFile','test/test.js','dir','client','injectTemplateModule','/imports/ui/layouts','react','create','ramda','setTemplate','getMakaProjectConfig','layout','css','7851360NnSZmu','fsi','cfg','withTranslations','2606920WJywJf','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>'];a130c=function(){return p;};return a130c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x17c;let f=c[d];return f;},a131d(a,b);}const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0x18d))/0x1+parseInt(f(0x186))/0x2+parseInt(f(0x183))/0x3*(parseInt(f(0x192))/0x4)+parseInt(f(0x187))/0x5*(parseInt(f(0x180))/0x6)+parseInt(f(0x188))/0x7*(parseInt(f(0x17f))/0x8)+-parseInt(f(0x191))/0x9+-parseInt(f(0x18b))/0xa*(parseInt(f(0x18e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xead33));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0x184)]()[h(0x185)](h(0x18a))[h(0x184)]()['constructor'](a131a)[h(0x185)](h(0x18a));});a131a();import{Generator}from'../generator.js';function a131c(){const j=['1002679BSwdtd','22463474yJpXgY','generate','apply','8293833zGoqqy','12onqfma','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:package\x20package:name','maka\x20generate:scaffold\x20todos','31384zkyctb','716922wBHquh','maka\x20g:route\x20todos/edit','maka\x20{generate,\x20g}:<generator>\x20<name>','395697zDxAxy','toString','search','3691800rBEAhQ','35rCnKsn','3367qapbsT','maka\x20g:template\x20todos/todo_item','(((.+)+)+)+$','20feyKYP','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a131c=function(){return j;};return a131c();}const MakaGen=new Generator({'name':a131i(0x18f),'aliases':['g'],'usage':a131i(0x182),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a131i(0x18c),'examples':[a131i(0x17e),'maka\x20g:scaffold\x20todos',a131i(0x189),a131i(0x17d),a131i(0x181),'maka\x20g:api\x20trucks',a131i(0x17c)]},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x1a7))/0x1*(-parseInt(k(0x1a0))/0x2)+parseInt(k(0x199))/0x3+parseInt(k(0x197))/0x4+-parseInt(k(0x1a1))/0x5+parseInt(k(0x19e))/0x6+parseInt(k(0x1ad))/0x7+-parseInt(k(0x19a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x9eb62));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x1ab)]()[m(0x19f)](m(0x19d))[m(0x1ab)]()[m(0x1b1)](a132a)['search'](m(0x19d));});a132a();import{Generator}from'../generator.js';function a132c(){const p=['5811911vdsOHA','imports','maka\x20{generate,\x20g}:{method,\x20m}\x20name','maka\x20g:method\x20todos','constructor','getMakaProjectConfig','index.','method/method.js','apply','dir','method','-rpc-method.','mdg:validated-method','1499584BNtXfP','scaffold','401958cmpxjj','6888456lOInAL','cfg','pkg','(((.+)+)+)+$','1789596uSZJOU','search','29334ZlNeyn','1438095keLTkt','engines','startup','appPathPrefix','resourceName','-rpc-method\x27;','11VZROsh','methods','pathFromApp','injectAtEndOfFile','toString','checkMeteorPackage'];a132c=function(){return p;};return a132c();}import{Log}from'../tools/log/log.class.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x192;let f=c[d];return f;},a132d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a132n(0x194),'aliases':['m'],'usage':a132n(0x1af),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132n(0x193)],'examples':[a132n(0x1b0)]},async function(a,b){const o=a132n;try{const c=await this[o(0x19b)][o(0x1b2)](),d=b[o(0x193)]?'/'+b[o(0x193)]+'/':'/',f=paramCase(b[o(0x1a5)]),g={'name':b[o(0x1a5)],'fileName':f,'className':pascalCase(b[o(0x1a5)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c['engines']['js']==='tsx'&&(h='ts');await this[o(0x19c)][o(0x1ac)](['maka:check','ddp-rate-limiter',o(0x196)],{'shouldInstall':!![]}),await this[o(0x198)]['template']({'srcPath':o(0x1b4),'destPath':this[o(0x198)][o(0x1a9)]({'pathParts':[o(0x1ae),'startup',b[o(0x1a4)],o(0x1a8),d,f+o(0x195)+h]}),'context':g,'config':c});const i=this[o(0x198)][o(0x1a9)]({'pathParts':[o(0x1ae),o(0x1a3),b[o(0x1a4)],o(0x1b3)+c[o(0x1a2)]['js']]});await this[o(0x198)][o(0x1aa)]({'filePath':i,'content':'import\x20\x27./methods'+d+f+o(0x1a6)});}catch(j){Log['error'](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0x12f))/0x1+-parseInt(m(0x10f))/0x2+parseInt(m(0x128))/0x3*(-parseInt(m(0x11f))/0x4)+parseInt(m(0x120))/0x5+-parseInt(m(0x11a))/0x6*(parseInt(m(0x108))/0x7)+parseInt(m(0x10e))/0x8*(-parseInt(m(0x12b))/0x9)+parseInt(m(0x12d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xea5fb));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x10a)]()[o(0x12c)]('(((.+)+)+)+$')[o(0x10a)]()[o(0x116)](a133a)[o(0x12c)]('(((.+)+)+)+$');});function a133c(){const r=['10850970kcKPAR','package/package.js','noRename','theme','pathFromAppWithNoReWrite','3372620kUIreJ','2057555ZwDGho','findProjectDirectory','graphql','package','dir','cfg','pathFromApp','apply','6eDGWVS','layout','lib','6939981QFZmcB','search','49587860unnguK','engines','1293709edMCrk','ssr','hasOwnProperty','template/template.js','getMakaProjectConfig','template','/client/','.js','7xTDAIE','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','toString','store','create','relative','8kguTnO','2876194alfLoS','tests/server','tests/client','package.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','component','resourceName','constructor','scaffold','fsi','packages'];a133c=function(){return r;};return a133c();}a133a();import a133e from'path';import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x104;let f=c[d];return f;},a133d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133p(0x10c)]({'name':a133p(0x123),'aliases':['p'],'usage':a133p(0x113),'shortDesc':a133p(0x109),'validOpts':[a133p(0x124)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=paramCase(b[q(0x115)]),d=b[q(0x124)]?'/'+b['dir']+'/':'/',e=this[q(0x117)][q(0x126)]({'pathParts':[q(0x119),d,c]}),f=this[q(0x117)][q(0x11e)]({'pathParts':[q(0x119),d,c,q(0x112)]}),g=await this[q(0x125)][q(0x104)](),h={'name':paramCase(b[q(0x115)]),'myPath':a133e[q(0x10d)](this[q(0x118)][q(0x121)](),e),'cssCaseName':paramCase(b[q(0x115)]),'className':pascalCase(b[q(0x115)]),'camelCaseName':camelCase(b[q(0x115)]),'fileName':c,'client':g[q(0x12e)]['client'],'graphql':g[q(0x12e)][q(0x122)],'ssr':g['engines'][q(0x130)],'isComponent':b[q(0x131)](q(0x114)),'isLayout':b[q(0x131)](q(0x129)),'isStore':b[q(0x131)](q(0x10b)),'features':g['features'],'noRename':!![],'theme':g[q(0x12e)][q(0x11d)]};await this[q(0x117)][q(0x105)]({'srcPath':q(0x11b),'destPath':f,'context':h,'config':g}),h[q(0x11c)]=![];const i=e+q(0x106)+c+q(0x107);await this[q(0x117)][q(0x105)]({'srcPath':q(0x132),'destPath':i,'context':h,'config':g});const j=[q(0x12a),'server',q(0x111),q(0x110)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x107);await this['scaffold'][q(0x105)]({'srcPath':'package/'+k+'/package.js','destPath':l,'context':h,'config':g});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a134c(){const v=['1512890LgQMNP','resourceName','replaceAll','Generate\x20a\x20page.','maka\x20g:page\x20todos/todos-item','component','3obsXvA','1997484HssaHJ','getMakaProjectConfig','21841272csEmED','create','hasOwnProperty','hook/hook.js','className','features','/>}/>\x0a','import\x20\x27./','join','lib','<Route\x20path=\x22','injectIntoFile','true','scaffold','constructor','withTranslations','store','none','</Route>','includes','cfg','setTemplate','routes.','test','toLowerCase','substring','warn','string','template','page','installNpmPackage','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','ramda','6678596IBNhrk','html','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','component/component.js','trim','4856136khfipd','split','pkg','fileName','template/template.css','url','client','withHooks','pathFromApp','error','.app-tests.js','engines','fsi','search','replace','relative','/imports/ui/pages','indexOf','injectAtBeginningOfFile','react','graphql','private','toString','ssr','root','3376675MIMHOW','(((.+)+)+)+$','findProjectDirectory','css','.js','test/test.js','assign','dir','checkNpmPackage','theme','endsWith','14021zGBYgO','2936tncCny'];a134c=function(){return v;};return a134c();}const a134t=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xa6;let f=c[d];return f;},a134d(a,b);}(function(a,b){const r=a134d,c=a();while(!![]){try{const d=parseInt(r(0xb4))/0x1+parseInt(r(0xbb))/0x2+-parseInt(r(0xba))/0x3*(-parseInt(r(0xde))/0x4)+parseInt(r(0xa7))/0x5+-parseInt(r(0xe3))/0x6+parseInt(r(0xb2))/0x7*(-parseInt(r(0xb3))/0x8)+-parseInt(r(0xbd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xd8267));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 s=a134d;return a134a[s(0xf9)]()[s(0xf0)](s(0xa8))['toString']()[s(0xcb)](a134a)['search']('(((.+)+)+)+$');});a134a();import a134e 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=['p'];Generator[a134t(0xbe)]({'name':a134t(0xda),'aliases':aliases,'usage':a134t(0xe0),'shortDesc':a134t(0xb7),'validOpts':[{'name':a134t(0xf8),'boolFlag':!![]},{'name':a134t(0xe8)}],'examples':[a134t(0xb8)]},async function(a,b){const u=a134t,c=u(0xf3),d=this[u(0xef)]['findAppDirectory'](),e=b['resourceName'][u(0xd0)](':')?b[u(0xb5)][u(0xe4)](':')[0x0][u(0xe2)]():b[u(0xb5)]['trim'](),f=b['dir'][u(0xb6)]('/','_')+'_'+e[u(0xb6)]('/','_'),g=this['scaffold'][u(0xeb)]({'pathParts':[c,b[u(0xae)],paramCase(f),paramCase(f)]}),h=await this[u(0xd1)][u(0xbc)]();let i='';typeof h['template']['html']===u(0xd8)&&this[u(0xd1)][u(0xd2)]('html',h['template']['html']);typeof h[u(0xd9)]['test']===u(0xd8)&&this[u(0xd1)][u(0xd2)](u(0xd4),h[u(0xd9)][u(0xd4)]);typeof h[u(0xd9)]['css']==='string'&&this['cfg'][u(0xd2)](u(0xaa),h[u(0xd9)][u(0xaa)]);typeof h[u(0xd9)]['js']===u(0xd8)&&this['cfg']['setTemplate']('js',h['template']['js']);!b[u(0xa6)]&&!this[u(0xe5)][u(0xaf)]('ramda')&&(Log[u(0xd7)]('Updating\x20npm\x20packages\x20...'),this[u(0xe5)][u(0xdb)](u(0xdd),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e[u(0xf2)](this[u(0xef)][u(0xa9)](),g),'cssCaseName':paramCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':paramCase(f),'graphql':h[u(0xee)][u(0xf7)],'features':h[u(0xc2)],'client':h[u(0xee)][u(0xe9)],'api':h[u(0xee)]['api'],'ssr':h['engines'][u(0xfa)],'isStore':b[u(0xbf)](u(0xcd)),'isComponent':b[u(0xbf)](u(0xb9)),'isLayout':b['hasOwnProperty']('layout'),'withTranslations':h['features'][u(0xcc)],'test':h[u(0xee)]['test'],'theme':h[u(0xee)][u(0xb0)]};h[u(0xd9)][u(0xdf)]&&await this[u(0xca)][u(0xd9)]({'srcPath':'template/template.html','destPath':g+'.html','context':j,'config':h});h['features']?.[u(0xea)]?await this[u(0xca)][u(0xd9)]({'srcPath':u(0xc0),'destPath':g+u(0xab),'framework':u(0xf6),'context':j,'config':h}):await this['scaffold'][u(0xd9)]({'srcPath':u(0xe1),'destPath':g+u(0xab),'framework':u(0xf6),'context':j,'config':h});h['engines'][u(0xd4)]!==u(0xce)&&await this[u(0xca)]['template']({'srcPath':u(0xac),'destPath':g+u(0xed),'framework':u(0xf6),'context':j,'config':h});h[u(0xd9)][u(0xaa)]&&await this[u(0xca)][u(0xd9)]({'srcPath':u(0xe7),'destPath':g+'.css','context':Object[u(0xad)]({},j,{'className':paramCase(b[u(0xb5)])}),'config':h});h[u(0xee)]['client']!=='react'&&h[u(0xee)]['client']!=='vanilla'?(h['template']['css']&&await this['scaffold'][u(0xf5)]({'filePath':g+'.'+h[u(0xee)]['js'],'content':'import\x20\x27./'+j[u(0xe6)]+'.'+h['engines'][u(0xdf)]+'\x27;\x0a'+u(0xc4)+j[u(0xe6)]+'.'+h[u(0xee)]['css']+'\x27;'}),!h['template'][u(0xaa)]&&await this[u(0xca)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[u(0xee)]['js'],'content':u(0xc4)+j[u(0xe6)]+'.'+h[u(0xee)][u(0xdf)]+'\x27;'})):h[u(0xd9)][u(0xaa)]&&await this[u(0xca)][u(0xf5)]({'filePath':g+'.'+h[u(0xee)]['js'],'content':u(0xc4)+j['fileName']+'.'+h[u(0xee)][u(0xaa)]+'\x27;'});const k=b[u(0xae)]?'/'+b[u(0xae)]+'/':'/';i=''+c+k+j[u(0xe6)]+'/'+j[u(0xe6)],await this[u(0xca)]['injectTemplateModule'](j[u(0xc1)],h,i);if(!b['root']){const l=b[u(0xf8)]??![];if(!f){Log[u(0xec)](u(0xdc));throw new UsageError();}let m=b[u(0xe8)]?b[u(0xe8)]:'/'+b['dir'][u(0xe2)]()+'/'+b[u(0xb5)][u(0xe2)]()[u(0xf1)](/\\/g,'/')[u(0xf1)](/\/+$/,'')[u(0xd5)]();const n=b[u(0xb5)][u(0xf4)](':');n!==-0x1&&(m+='/'+b[u(0xb5)][u(0xd6)](0x0,n)[u(0xe2)]());m[u(0xb1)]('/')&&(m=m['slice'](0x0,-0x1));m=m['replace'](/\/\//g,'/');const o=h['engines']['js'],p=h[u(0xee)][u(0xfa)]===u(0xc9)?u(0xc6):u(0xe9),q=a134e[u(0xc5)](d,'imports','startup',p,u(0xd3)+o);l?await this['scaffold'][u(0xc8)]({'filePath':q,'content':'<Route\x20path=\x22'+m+'\x22\x20element={<Component.'+pascalCase(f)+u(0xc3),'begin':['<Route\x20element={<PrivateRoute\x20/>}>'],'end':[u(0xcf)]}):await this[u(0xca)]['injectIntoFile']({'filePath':q,'content':u(0xc7)+m+'\x22\x20element={<Component.'+pascalCase(f)+u(0xc3),'begin':['<Route\x20index'],'end':['<Route\x20path=\x22*\x22']});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x12e;let f=c[d];return f;},a135d(a,b);}const a135q=a135d;(function(a,b){const n=a135d,c=a();while(!![]){try{const d=parseInt(n(0x142))/0x1+-parseInt(n(0x146))/0x2+-parseInt(n(0x150))/0x3*(-parseInt(n(0x149))/0x4)+parseInt(n(0x14a))/0x5*(parseInt(n(0x151))/0x6)+parseInt(n(0x14e))/0x7+-parseInt(n(0x13a))/0x8*(parseInt(n(0x152))/0x9)+-parseInt(n(0x139))/0xa*(parseInt(n(0x140))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xa670e));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a135d;if(c){const e=c[o(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const p=a135d;return a135a[p(0x136)]()[p(0x131)](p(0x153))[p(0x136)]()[p(0x12f)](a135a)[p(0x131)](p(0x153));});a135a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a135c(){const s=['import\x20\x27./publications','apply','publish','dir','22363ptxcxv','/imports/ui/','665259BrdVOz','imports','index.','resourceName','2421080Vnmlig','injectAtEndOfFile','engines','4BDCPOz','2545aQtfdN','server','force','pathFromApp','7352569EDoFEJ','scaffold','121617dbvbXt','15258xwXdwl','2339586ZfBHLS','(((.+)+)+)+$','baseDir','template','cfg','constructor','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','search','appPathPrefix','maka\x20g:publish\x20todos','error','globalPublish','toString','startup','create','3140zKtpBB','16FTSuRD','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html'];a135c=function(){return s;};return a135c();}Generator[a135q(0x138)]({'name':a135q(0x13e),'aliases':['p'],'usage':a135q(0x130),'shortDesc':a135q(0x13b),'validOpts':['force',a135q(0x135)],'examples':[a135q(0x133)]},async function(a,b){const r=a135q;try{const c=b[r(0x14c)]||![],d=b[r(0x154)]?r(0x141)+b['baseDir']:'/imports/startup/server/publications',f=await this[r(0x12e)]['getMakaProjectConfig'](),g=paramCase(b['resourceName']),h=this[r(0x14f)][r(0x14d)]({'pathParts':[d,b[r(0x13f)],'',g]});let i='js';f[r(0x148)]['js']==='tsx'&&(i='ts');const j={'name':b[r(0x145)],'collection':pascalCase(b[r(0x145)]),'noRename':!![],'globalPublish':b[r(0x135)]};await this[r(0x14f)][r(0x155)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':j,'config':f,'force':c});const k=this[r(0x14f)][r(0x14d)]({'pathParts':[r(0x143),r(0x137),r(0x14b),b[r(0x132)],r(0x144)+f[r(0x148)]['js']]}),l=b[r(0x13f)]?'/'+b[r(0x13f)]+'/':'/';await this[r(0x14f)][r(0x147)]({'filePath':k,'content':r(0x13c)+l+g+'\x27;'});}catch(m){Log[r(0x134)](m),process['exit'](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a136p=a136d;(function(a,b){const m=a136d,c=a();while(!![]){try{const d=parseInt(m(0x170))/0x1*(-parseInt(m(0x160))/0x2)+-parseInt(m(0x151))/0x3+-parseInt(m(0x15c))/0x4+-parseInt(m(0x161))/0x5*(parseInt(m(0x14f))/0x6)+parseInt(m(0x150))/0x7+parseInt(m(0x157))/0x8+parseInt(m(0x159))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0x693bd));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a136d;if(c){const e=c[n(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const o=a136d;return a136a[o(0x16c)]()[o(0x175)](o(0x166))[o(0x16c)]()[o(0x173)](a136a)[o(0x175)](o(0x166));});a136a();import a136e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{pascalCase}from'change-case';function a136c(){const r=['806hdhdgw','310760wZcqFr','\x22\x20element={<Component.','join','<Route\x20path=\x22*\x22','<Route\x20element={<PrivateRoute\x20/>}>','(((.+)+)+)+$','replace','client','routes.','maka\x20{generate,\x20g}:{route,\x20r}','pop','toString','</Route>','startup','/>}/>\x0a','1069OvIGak','create','scaffold','constructor','ssr','search','length','<Route\x20index','Scaffolding\x20for\x20a\x20Route.','<Route\x20path=\x22','apply','60PCFGcR','4833815GArOUO','259308uXHAoM','cfg','resourceName','imports','error','private','1710432PPHuBj','route','10325592KeXfFm','toLowerCase','injectIntoFile','1927348vaLzUz','findAppDirectory','split','exit'];a136c=function(){return r;};return a136c();}function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x14c;let f=c[d];return f;},a136d(a,b);}const aliases=['r'];Generator[a136p(0x171)]({'name':a136p(0x158),'mustBeInMakaProject':!![],'aliases':aliases,'validOpts':[{'name':a136p(0x156),'boolFlag':!![]},{'name':a136p(0x158)}],'usage':a136p(0x16a),'shortDesc':a136p(0x14c),'examples':[]},async function(a,b){const q=a136p;try{const c=await this[q(0x152)]['getMakaProjectConfig'](),d=this['fsi'][q(0x15d)](),f=b[q(0x156)]??![];let g=b[q(0x153)][q(0x15e)]('/')[q(0x16b)]();if(!g){Log['error']('Please\x20specify\x20a\x20name\x20for\x20the\x20route.');throw new UsageError();}g=pascalCase(g);let h=b[q(0x158)]?'/'+b[q(0x158)]:'/'+b[q(0x153)]['replace'](/\\/g,'/')[q(0x15a)]();a[q(0x176)]>0x1&&(h='/'+a['filter'](function(l){return l!=='/';})[q(0x163)]('/')[q(0x15a)]());h=h[q(0x167)](/\/\//g,'/');const i=c['engines']['js'],j=c['engines'][q(0x174)]?'lib':q(0x168),k=a136e[q(0x163)](d,q(0x154),q(0x16e),j,q(0x169)+i);f?await this[q(0x172)][q(0x15b)]({'filePath':k,'content':'<Route\x20path=\x22'+h+'\x22\x20element={<Component.'+g+q(0x16f),'begin':[q(0x165)],'end':[q(0x16d)]}):await this['scaffold']['injectIntoFile']({'filePath':k,'content':q(0x14d)+h+q(0x162)+g+'/>}/>\x0a','begin':[q(0x177)],'end':[q(0x164)]});}catch(l){Log[q(0x155)](l),process[q(0x15f)](0x1);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a137r=a137d;(function(a,b){const o=a137d,c=a();while(!![]){try{const d=parseInt(o(0x8b))/0x1+-parseInt(o(0x98))/0x2*(-parseInt(o(0xa1))/0x3)+parseInt(o(0x97))/0x4+-parseInt(o(0x88))/0x5+parseInt(o(0x9c))/0x6*(parseInt(o(0x82))/0x7)+-parseInt(o(0x7f))/0x8*(-parseInt(o(0x95))/0x9)+parseInt(o(0x84))/0xa*(-parseInt(o(0x81))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a137c,0xa87c1));const a137b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a137d;if(c){const e=c[p(0x9d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a137a=a137b(this,function(){const q=a137d;return a137a[q(0x93)]()[q(0x90)](q(0xa2))['toString']()[q(0xa0)](a137a)[q(0x90)](q(0xa2));});a137a();import{camelCase,paramCase,pascalCase}from'change-case';function a137d(a,b){const c=a137c();return a137d=function(d,e){d=d-0x7e;let f=c[d];return f;},a137d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a137c(){const t=['checkNpmPackage','engines','getMakaProjectConfig','904NzgqCv','service/logger/logger.js','1967999zBAeCV','7tINobR','pathFromApp','210evLUBC','maka\x20g:svc\x20service-logger\x20--type=logger','error','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','3628225AcOyLq','resourceName','template','1289772sMvLaF','findAppDirectory','svc','logger','type','search','services','create','toString','startup','17379WamMBF','winston\x20setimmediate','4865448MQyAQW','2326294bmOCvy','winston','maka\x20{generate,\x20g}:{service}\x20<resource-name>','Installing\x20winston','7712178PdRkHp','apply','lib','tsx','constructor','3aolsOR','(((.+)+)+)+$'];a137c=function(){return t;};return a137c();}Generator[a137r(0x92)]({'name':'service','aliases':[a137r(0x8d)],'usage':a137r(0x9a),'shortDesc':a137r(0x87),'requiredOpts':[{'name':'type','values':[a137r(0x8e)]}],'validOpts':[],'maxArgLength':0x1,'examples':[a137r(0x85)]},async function(a,b){const s=a137r,{cfg:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=await c[s(0x7e)](),i=d[s(0x8c)](),j=paramCase(b['resourceName']),k={'name':pascalCase(b[s(0x89)]),'fileName':j,'camelCase':camelCase(b['resourceName']),'type':b[s(0x8f)],'engine':h['engines']['js'],'noRename':!![]};let l='js';h[s(0xa4)]['js']===s(0x9f)&&(l='ts');if(b[s(0x8f)]===s(0x8e)){!f[s(0xa3)](s(0x99))&&await f['installNpmPackage'](s(0x96),{'cwd':i,'msg':s(0x9b)});const m=g[s(0x83)]({'pathParts':['imports',s(0x94),s(0x9e),s(0x91),j+'.'+l]});await g[s(0x8a)]({'srcPath':s(0x80),'destPath':m,'context':k,'config':h});}}catch(n){Log[s(0x86)](n);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=
|
|
1
|
+
(function(a,b){var f=a138d,c=a();while(!![]){try{var d=parseInt(f(0x13e))/0x1*(-parseInt(f(0x142))/0x2)+-parseInt(f(0x143))/0x3*(parseInt(f(0x140))/0x4)+parseInt(f(0x13f))/0x5+-parseInt(f(0x13a))/0x6*(parseInt(f(0x13d))/0x7)+parseInt(f(0x136))/0x8*(-parseInt(f(0x13c))/0x9)+-parseInt(f(0x138))/0xa+parseInt(f(0x141))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a138c,0x521de));var a138b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a138d;if(c){var e=c[g(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a138a=a138b(this,function(){var h=a138d;return a138a[h(0x13b)]()[h(0x139)](h(0x134))[h(0x13b)]()[h(0x137)](a138a)[h(0x139)]('(((.+)+)+)+$');});a138a();function a138c(){var i=['7fpmLLL','1PbIqNi','1748550MCkIKa','246044QvwyOY','27527489DOWgsB','1124468nmJHsC','30frUWFC','(((.+)+)+)+$','apply','3343088TJABVo','constructor','5128830gZSPhr','search','2446476GMTGKp','toString','9xeTmoL'];a138c=function(){return i;};return a138c();}function a138d(a,b){var c=a138c();return a138d=function(d,e){d=d-0x134;var f=c[d];return f;},a138d(a,b);}import'./translation.js';import'./openssl.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a139k=a139d;(function(a,b){const i=a139d,c=a();while(!![]){try{const d=parseInt(i(0x7b))/0x1*(-parseInt(i(0x6d))/0x2)+-parseInt(i(0x6c))/0x3*(-parseInt(i(0x81))/0x4)+-parseInt(i(0x83))/0x5+parseInt(i(0x77))/0x6+parseInt(i(0x76))/0x7+-parseInt(i(0x79))/0x8+parseInt(i(0x6b))/0x9*(-parseInt(i(0x75))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a139c,0x8ae27));const a139b=(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;};}()),a139a=a139b(this,function(){const j=a139d;return a139a['toString']()[j(0x82)](j(0x74))[j(0x7f)]()[j(0x72)](a139a)[j(0x82)]('(((.+)+)+)+$');});a139a();import{Generator}from'../../generator.js';function a139c(){const m=['cfg','Generate\x20a\x20new\x20openssl\x20config\x20file','112446WWRZAQ','338223zcbGPX','6qxNaKV','openssl.conf','join','error','env','constructor','_keys','(((.+)+)+)+$','610WqGnSA','7405111JemdoL','3725094uKnqeP','maka\x20{generate,\x20g}:sslconfig','5004040iwZsWu','template','86761dcSuqq','appName','openssl/openssl.conf','service','toString','sslconfig','24rhOFoh','search','691875qMReQn','maka\x20g:sslconfig\x20--env\x20dev'];a139c=function(){return m;};return a139c();}import{Log}from'../../tools/log/log.class.js';function a139d(a,b){const c=a139c();return a139d=function(d,e){d=d-0x68;let f=c[d];return f;},a139d(a,b);}import a139e from'path';Generator['create']({'name':a139k(0x80),'usage':a139k(0x78),'shortDesc':a139k(0x6a),'noNeedResource':!![],'requiredOpts':[a139k(0x71)],'examples':[a139k(0x68)],'validOpts':[]},async function(a,b){const l=a139k;try{const c=await this[l(0x69)]['getMakaProjectConfig'](),d=this[l(0x69)]['getAppConfigPath'](b[l(0x71)]),f=a139e[l(0x6f)](d,l(0x73),l(0x6e)),g={'app':c[l(0x7c)],'noRename':!![]};await this['scaffold'][l(0x7a)]({'srcPath':l(0x7d),'destPath':f,'framework':l(0x7e),'context':g,'config':c});}catch(h){Log[l(0x70)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a140A=a140d;(function(a,b){const x=a140d,c=a();while(!![]){try{const d=-parseInt(x(0xf2))/0x1+-parseInt(x(0xf9))/0x2*(parseInt(x(0x11b))/0x3)+parseInt(x(0xe3))/0x4*(-parseInt(x(0xec))/0x5)+-parseInt(x(0xe2))/0x6*(parseInt(x(0xfd))/0x7)+parseInt(x(0x106))/0x8+parseInt(x(0xf3))/0x9+-parseInt(x(0x11a))/0xa*(-parseInt(x(0xf7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a140c,0x7c65c));const a140b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a140d;if(c){const e=c[y(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a140a=a140b(this,function(){const z=a140d;return a140a['toString']()[z(0xfb)](z(0xdf))[z(0xf8)]()[z(0x10f)](a140a)[z(0xfb)]('(((.+)+)+)+$');});function a140c(){const C=['translation','create','i18next\x20i18next-browser-languagedetector\x20react-i18next','injectAtBeginningOfFile','grep','Generate\x20a\x20new\x20locale\x20translation','.js','4203096yJHtWC','Locale\x20already\x20exported:\x20','imports','rewriteDestinationPathForEngine','server','client','import\x20\x27../lib/services/translations/i18n\x27;','services','i18n/locales.js','constructor','setProjectConfig','cfg','pkg','features.withTranslations','maka\x20g:translation\x20--lang=de','locales','scaffold','installNpmPackage','startup','appName','30SFgxog','33hJApWc','lib','warn','i18n/index.js','pathFromApp','apply','engines','i18n.js','export\x20{\x20default\x20as\x20','fsi','(((.+)+)+)+$','getMakaProjectConfig','Locale\x20already\x20defined:\x20','60RwRRFR','4QuTmwP','index.js','\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','readFileSync','default\x20as\x20','maka\x20g:translation\x20--lang=fr','root','ssr','import\x20\x27../lib/services/translations/i18n\x27;\x0a','2769175RxNLVj','i18n/i18n.js','injectAtEndOfFile','exit','index.','translations','529227anZSfN','7053795cEhLcz','checkNpmPackage','template','lang','4589981pigyVZ','toString','144122YyOrLa','findAppDirectory','search','service','122983ZeIPJN','isFile'];a140c=function(){return C;};return a140c();}a140a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';function a140d(a,b){const c=a140c();return a140d=function(d,e){d=d-0xd6;let f=c[d];return f;},a140d(a,b);}import a140e from'fs';Generator[a140A(0x100)]({'name':a140A(0xff),'usage':'maka\x20{generate,\x20g}:translation','aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a140A(0xf6),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a140A(0x104),'description':a140A(0xe5),'examples':['maka\x20g:translation\x20--lang=en\x20(default)',a140A(0xe8),a140A(0x114)],'validOpts':[]},async function(a,b){const B=a140A;try{const c=await this[B(0x111)][B(0xe0)](),d=this[B(0xde)][B(0xfa)]();try{!b[B(0xf6)]&&(b[B(0xf6)]='en');!b[B(0xe9)]&&!this[B(0x112)][B(0xf4)]('i18next')&&(Log[B(0xd7)]('Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...'),this[B(0x112)][B(0x117)](B(0x101),{'cwd':d}),this[B(0x111)][B(0x110)](B(0x113),!![]));const f=this['scaffold'][B(0xd9)]({'pathParts':[B(0x108),B(0x118),B(0x10b),B(0xe4)]}),g=this['scaffold'][B(0x109)]({'pathParts':[f],'config':c}),h=this['fsi']['grep'](a140e[B(0xe6)](g)['toString'](),B(0x10c))[0x0]&&!![];if(c[B(0xdb)][B(0xea)]==='true'){!h&&this[B(0x116)][B(0x102)]({'filePath':g,'content':B(0xeb)});const s=this[B(0x116)][B(0xd9)]({'pathParts':['imports',B(0x118),B(0x10a),B(0xe4)]}),t=this[B(0x116)][B(0x109)]({'pathParts':[s],'config':c}),u=this[B(0xde)]['grep'](a140e['readFileSync'](t)[B(0xf8)](),B(0x10c))[0x0]&&!![];!u&&this[B(0x116)][B(0x102)]({'filePath':t,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});}else!h&&this[B(0x116)][B(0x102)]({'filePath':g,'content':B(0xeb)});const i={'app':c[B(0x119)],'config':c},j=this[B(0x116)][B(0xd9)]({'pathParts':['imports','startup','lib',B(0x10d),B(0xf1),B(0xdc)]}),k=this['fsi'][B(0xfe)](this[B(0x116)][B(0x109)]({'pathParts':[j],'config':c}));!k&&await this['scaffold'][B(0xf5)]({'srcPath':B(0xed),'destPath':j,'framework':B(0xfc),'context':i,'config':c});const l=this[B(0x116)][B(0xd9)]({'pathParts':[B(0x108),B(0x118),'lib',B(0x10d),'translations',B(0x115),b['lang']+B(0x105)]}),m=this[B(0x116)][B(0x109)]({'pathParts':[l],'config':c}),n=this[B(0xde)][B(0xfe)](m);!n?await this['scaffold'][B(0xf5)]({'srcPath':B(0x10e),'destPath':l,'framework':B(0xfc),'context':i,'config':c}):Log[B(0xd7)](B(0xe1)+m);const o=this[B(0x116)]['pathFromApp']({'pathParts':['imports',B(0x118),B(0xd6),B(0x10d),B(0xf1),B(0x115),B(0xf0)+c[B(0xdb)]['js']]}),p=this[B(0x116)][B(0x109)]({'pathParts':[o],'config':c}),q=this['fsi'][B(0xfe)](p);!q&&await this[B(0x116)]['template']({'srcPath':B(0xd8),'destPath':o,'framework':B(0xfc),'context':i,'config':c});const r=this['fsi'][B(0x103)](a140e['readFileSync'](o)[B(0xf8)](),B(0xe7)+b['lang'])[0x0]&&!![];!r?await this['scaffold'][B(0xee)]({'filePath':o,'content':B(0xdd)+b['lang']+'\x20}\x20from\x20\x27./'+b['lang']+'\x27;'}):Log[B(0xd7)](B(0x107)+o);}catch(v){Log['error'](v),process[B(0xef)](0x1);}}catch(w){Log['error'](w),process[B(0xef)](0x1);}});
|
package/bundle/obf/src/maka.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a141c(){const m=['toString','4836qAcePn','env','2IHJcHV','198jedKgN','slice','dirname','argv','TOOL_NODE_FLAGS','--max-old-space-size=','4860925kvvyJs','camelizeKeys','1060925eyrtAd','run','parse','NODE_NO_WARNINGS','constructor','10387716coZhix','search','42bmbdMp','372352LqmSHN','floor','2648DdyccC','MAKA_COMMAND_PATH','(((.+)+)+)+$','stringify','507320CltUEN','27031521roEIXJ'];a141c=function(){return m;};return a141c();}const a141l=a141d;(function(a,b){const j=a141d,c=a();while(!![]){try{const d=parseInt(j(0x196))/0x1*(-parseInt(j(0x1a9))/0x2)+-parseInt(j(0x1a7))/0x3*(-parseInt(j(0x1a0))/0x4)+parseInt(j(0x194))/0x5+-parseInt(j(0x19b))/0x6+-parseInt(j(0x19d))/0x7*(-parseInt(j(0x19e))/0x8)+-parseInt(j(0x18e))/0x9*(parseInt(j(0x1a4))/0xa)+parseInt(j(0x1a5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a141c,0xd3d69));const a141b=(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;};}()),a141a=a141b(this,function(){const k=a141d;return a141a[k(0x1a6)]()['search'](k(0x1a2))['toString']()[k(0x19a)](a141a)[k(0x19c)](k(0x1a2));});a141a();function a141d(a,b){const c=a141c();return a141d=function(d,e){d=d-0x18e;let f=c[d];return f;},a141d(a,b);}import a141e from'minimist';import a141f from'os';import a141g from'path';import a141h from'humps';import a141i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta['url']),__dirname=a141g[a141l(0x190)](__filename);global[a141l(0x1a1)]=__dirname;const total_memory=a141f['totalmem'](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a141l(0x19f)](total_mem_in_mb),process[a141l(0x1a8)][a141l(0x192)]=a141l(0x193)+total_mem_in_mb,process[a141l(0x1a8)]['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a141l(0x1a8)][a141l(0x199)]='1';const argv=a141e(process[a141l(0x191)][a141l(0x18f)](0x2)),args=argv['_'],deepCopyArgv=JSON[a141l(0x198)](JSON[a141l(0x1a3)](argv));delete deepCopyArgv['_'];const opts=a141h[a141l(0x195)](deepCopyArgv);a141i[a141l(0x197)](args,opts);
|
package/bundle/obf/src/tool.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a142K=a142d;(function(a,b){const I=a142d,c=a();while(!![]){try{const d=parseInt(I(0xe6))/0x1*(parseInt(I(0xf5))/0x2)+-parseInt(I(0xd3))/0x3*(parseInt(I(0xd5))/0x4)+-parseInt(I(0xb5))/0x5*(-parseInt(I(0xc2))/0x6)+parseInt(I(0x10b))/0x7*(parseInt(I(0xbc))/0x8)+parseInt(I(0xd8))/0x9+-parseInt(I(0xb7))/0xa*(-parseInt(I(0xec))/0xb)+-parseInt(I(0x103))/0xc*(parseInt(I(0xd1))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a142c,0xa1a02));const a142b=(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;};}()),a142a=a142b(this,function(){const J=a142d;return a142a[J(0xe8)]()[J(0xcb)]('(((.+)+)+)+$')['toString']()[J(0xda)](a142a)['search'](J(0xbf));});a142a();import a142e from'path';function a142c(){const a2=['string','dir','No\x20description\x20provided.','env','455439XfbBTC','None','toString','charAt','help','_handler','16742mDLBgL','parent','getAppProjectConfigs','validateMakaProject','scaffold','AppData','aliases','You\x20must\x20have\x20','usage','4nZTTYt','examples','cfg','getShortName','pkg','platform','findProjectDirectory','Please\x20choose\x20an\x20environment','Please\x20choose\x20a\x20value\x20for\x20','homedir','shortDesc','includes','options','formatToNamedParam','15232296PyBTGp','name','description','error','.meteor','match','\x20version\x20','Invalid\x20value\x20for\x20','63cPFAZH','getMakaProjectConfig','\x20installed\x20to\x20use\x20this\x20command.','5EiCgLZ','remapShortToLong','5870AgJpMg','Invalid\x20argument:\x20','docker','validateEngines','Local','845752PAuBKe','isCommand','mpi','(((.+)+)+)+$','map','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','4822266qhzSQL','length','ask','join','experimental','resourceName','local','validateUserIsLoggedIn','aws','search','config','concat','Please\x20choose\x20a\x20valid\x20value\x20for\x20','existsSync','push','26oiYocL','Please\x20provide\x20a\x20value\x20for\x20','2608539PlaTED','fsi','4shGOzr','keys','win32','4596957NhDCic','cwd','constructor','No\x20usage\x20provided.','every','Please\x20provide\x20a\x20resource\x20name:','indexOf','exit','find','list'];a142c=function(){return a2;};return a142c();}function a142d(a,b){const c=a142c();return a142d=function(d,e){d=d-0xb3;let f=c[d];return f;},a142d(a,b);}import a142f from'os';import a142g from'fs';const homeDir=a142f[a142K(0xfe)]();import{Docker}from'./tools/docker/docker.class.js';import{AWS}from'./tools/aws/aws.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{CFG}from'./tools/cfg/cfg.class.js';import{MPI}from'./tools/mpi/mpi.class.js';import{Log}from'./tools/log/log.class.js';import{PKG}from'./tools/pkg/pkg.class.js';import{Scaffold}from'./tools/scaffold/scaffold.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError,MustBeInProjectError}from'./error.js';export class Tool{[a142K(0xb9)];[a142K(0xd4)];['cfg'];[a142K(0xbe)];[a142K(0xf9)];[a142K(0xca)];[a142K(0xf0)];[a142K(0x101)];[a142K(0x104)];[a142K(0xed)];[a142K(0xeb)];constructor(){const L=a142K;this[L(0xb9)]=new Docker(),this[L(0xd4)]=new FSI(),this['cfg']=new CFG(this[L(0xd4)]),this['pkg']=new PKG(this[L(0xd4)]),this[L(0xbe)]=new MPI(this[L(0xd4)],this[L(0xf7)],this[L(0xf9)]),this[L(0xca)]=new AWS(this[L(0xd4)],this[L(0xf7)],this[L(0xf0)]),this[L(0xf0)]=new Scaffold(this['fsi'],this[L(0xbe)],this[L(0xf7)]);}['getShortName'](a){const M=a142K;return a[M(0xe9)](0x0);}[a142K(0xb6)](a,b){const N=a142K,c=this['formatToNamedParam'](b),d={...a};for(const e of c){const f=this[N(0xf8)](e[N(0x104)]);a[f]&&(d[e[N(0x104)]]=a[f],delete d[f]);}return d;}[a142K(0x102)](a){const O=a142K;if(a[O(0xdc)](b=>typeof b===O(0xe2)))return a[O(0xc0)](b=>({'name':b}));return a;}['match'](a){const P=a142K,b=[this[P(0x104)]][P(0xcd)](this[P(0x101)][P(0xf2)]||[]);return this[P(0xed)]&&b['push'](this[P(0xed)]),b['includes'](a);}[a142K(0xef)](){const Q=a142K,a=this['fsi'][Q(0xfb)]();return a!==undefined?!![]:![];}async[a142K(0xc9)](){return!![];}['validateMeteorInstall'](){const R=a142K,a=process[R(0xfa)]===R(0xd7);if(a){if(!a142g['existsSync'](a142e['join'](homeDir,R(0xf1),R(0xbb),R(0x107))))return![];}else{if(!a142g[R(0xcf)](a142e[R(0xc5)](homeDir,R(0x107))))return![];}return!![];}async[a142K(0xba)](a){const S=a142K,b=this[S(0xf7)][S(0xb3)]();if(!b)throw MustBeInProjectError;const c=b['engines'],d=Object['keys'](a);if(d[S(0xc3)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log['error'](S(0xf3)+e+S(0x109)+a[e]+S(0xb4));throw UsageError;}}}async['validateParams'](a,b,c){const T=a142K,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[T(0xd6)](b);if(h[T(0x100)](T(0xc7))&&b[T(0xc7)]===undefined&&!g){const m=await Actions[T(0xc4)](T(0xdd));b[T(0xc7)]=m;}let i=[],j=b;if(d){i=this['formatToNamedParam'](d),j=this['remapShortToLong'](b,i);if(i&&i?.['length']>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object['keys'](j)[T(0x100)](o)){if(o===T(0xe5)){const r=this[T(0xf7)][T(0xee)]()['filter'](t=>t!==T(0xc8));r['length']===0x0&&(Log[T(0x106)]('This\x20command\x20needs\x20a\x20higher\x20environment\x20to\x20run\x20(other\x20than\x20local).\x20Please\x20create\x20a\x20new\x20environment;\x20`maka\x20g:config\x20development`'),process[T(0xdf)](0x1));const s=await Actions[T(0x101)]({'type':T(0xe1),'name':T(0xe5),'message':T(0xfc),'choices':r});b[T(0xe5)]=s[T(0xe5)];}else{const t=p;if(t){const u=await Actions[T(0x101)]({'type':'list','name':o,'message':T(0xfd)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[T(0xc4)]('Please\x20provide\x20a\x20value\x20for\x20'+o);if(v[T(0x108)](q))b[o]=v;else{Log[T(0x106)](T(0x10a)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions['ask'](T(0xd2)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[T(0x100)](x)){Log[T(0x106)](T(0x10a)+o+':\x20'+x);throw new UsageError();}}}}let k=this['formatToNamedParam'](f),l=b;if(k&&Object[T(0xd6)](k)?.[T(0xc3)]>0x0){k=k[T(0xcd)](i||[]),k[T(0xd0)]({'name':'resourceName','hidden':!![]}),k[T(0xd0)]({'name':T(0xea),'boolFlag':!![]}),k[T(0xd0)]({'name':T(0xe3),'hidden':!![]}),k[T(0xd0)]({'name':T(0xd9),'hidden':!![]}),k[T(0xd0)]({'name':'root','hidden':!![]}),k[T(0xd0)]({'name':T(0xcc),'hidden':!![]}),l=this[T(0xb6)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[T(0x100)](B))){const C=A;if(C){const D=await Actions[T(0x101)]({'type':'list','name':z,'message':T(0xce)+z,'choices':A});l[z]=D[z];}}if(k[T(0xc3)]>0x0)for(const E of Object[T(0xd6)](l)){const F=k[T(0xe0)](G=>G[T(0x104)]===E);if(!F){Log[T(0x106)]('Invalid\x20option:\x20'+E);throw new UsageError();}}}}if(e&&e?.[T(0xc3)]>0x0)for(const G of e){if(!e[T(0x100)](G)){Log[T(0x106)](T(0xb8)+G);const H=await Actions['ask'](T(0xc1)+G);a[a[T(0xde)](G)]=H;}}return Object['assign'](j,l);}[a142K(0xbd)](a){const U=a142K;return U(0x101)in a;}['isGenerator'](a){const V=a142K;return!(V(0x101)in a);}[a142K(0x105)](){const W=a142K;return this[W(0x101)]['description']||this[W(0x101)][W(0xff)]||W(0xe4);}['shortDesc'](){const X=a142K;return this[X(0x101)]['shortDesc']||'NIE';}[a142K(0xf4)](){const Y=a142K;return this[Y(0x101)]['usage']||Y(0xdb);}[a142K(0xf6)](){const Z=a142K;return this[Z(0x101)][Z(0xf6)]||[];}[a142K(0xf2)](){const a0=a142K;return this[a0(0x101)][a0(0xf2)]||a0(0xe7);}[a142K(0xc6)](){const a1=a142K;return this[a1(0x101)][a1(0xc6)]||![];}}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a143j=a143d;(function(a,b){const f=a143d,c=a();while(!![]){try{const d=-parseInt(f(0x1e5))/0x1+-parseInt(f(0x1ed))/0x2*(parseInt(f(0x1e3))/0x3)+parseInt(f(0x1eb))/0x4*(-parseInt(f(0x1e7))/0x5)+parseInt(f(0x1e6))/0x6+-parseInt(f(0x1df))/0x7+parseInt(f(0x1ef))/0x8+parseInt(f(0x1e0))/0x9*(parseInt(f(0x1f0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a143c,0x48377));function a143c(){const m=['703692ZxesVF','760985xpoJCM','answer','confirm','prompt','4dvIttb','apply','194YXRKdF','(((.+)+)+)+$','1115000TyBFzT','10xkWdGN','search','1200941CCcien','5024889msYHWL','toString','constructor','1035QLWOKE','options','161954dTAUbr'];a143c=function(){return m;};return a143c();}const a143b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a143d;if(c){const e=c[g(0x1ec)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a143a=a143b(this,function(){const h=a143d;return a143a[h(0x1e1)]()['search'](h(0x1ee))[h(0x1e1)]()[h(0x1e2)](a143a)[h(0x1de)]('(((.+)+)+)+$');});function a143d(a,b){const c=a143c();return a143d=function(d,e){d=d-0x1de;let f=c[d];return f;},a143d(a,b);}a143a();import a143e from'inquirer';export class Actions{static async['ask'](a,b){const i=a143d,{answer:c}=await a143e[i(0x1ea)]({'type':b?'password':'input','name':i(0x1e8),'message':a});return c;}static async[a143j(0x1e9)](a,b=![]){const k=a143j,{answer:c}=await a143e[k(0x1ea)]({'type':k(0x1e9),'name':k(0x1e8),'message':a,'default':b});return c;}static async[a143j(0x1e4)](a){const l=a143j,b=await a143e[l(0x1ea)](a);return b;}}
|