@maka/maka-cli 5.0.20 → 5.0.22
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 -2
- 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/templates/meteor/api/api.js +2 -2
- package/bundle/obf/src/templates/meteor/api/api.js.ts +2 -2
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/index.js.tsx +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +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 -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/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.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 -2
- package/tsconfig.json +8 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a116o=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=parseInt(l(0x1f6))/0x1*(parseInt(l(0x200))/0x2)+parseInt(l(0x1eb))/0x3*(parseInt(l(0x1f8))/0x4)+parseInt(l(0x204))/0x5*(-parseInt(l(0x1ec))/0x6)+parseInt(l(0x219))/0x7+parseInt(l(0x20c))/0x8+-parseInt(l(0x1e8))/0x9+-parseInt(l(0x1e0))/0xa*(parseInt(l(0x1d9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xa92e5));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a116d;if(c){const e=c[m(0x214)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const n=a116d;return a116a[n(0x1de)]()['search'](n(0x1e7))['toString']()[n(0x1dd)](a116a)[n(0x208)]('(((.+)+)+)+$');});a116a();import a116e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116c(){const q=['592NHiKSf','injectAtBeginningOfFile','.app-tests.js','cssCaseName','4540555RiNzjF','resourceName','dir','engines','search','create','pages','graphql','9556216przMnE','css','scaffold','checkNpmPackage','hook/hook.js','.js','import\x20\x27./','fileName','apply','error','hook','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','findProjectDirectory','7489538QBRXSl','findAppDirectory','features','31999MkHEfU','installNpmPackage','fsi','relative','constructor','toString','test/test.js','5820mnSkeP','/imports/ui/components','pathFromApp','injectTemplateModule','force','setTemplate','notice','(((.+)+)+)+$','11268288YlNEUB','theme','apollo','3902223IcZIiE','6YjzcLj','Creating\x20','assign','className','react','pkg','baseDir','/imports/ui/','template/template.css','warn','3314cVLQzA','@apollo/client','4AoAGrA','getMakaProjectConfig','template','layouts','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','.css','string','test'];a116c=function(){return q;};return a116c();}function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a116d(a,b);}Generator[a116o(0x209)]({'name':a116o(0x216),'aliases':['h'],'checkWhere':![],'usage':a116o(0x1fc),'shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':a116o(0x1f2),'values':['hooks','components',a116o(0x20a),a116o(0x1fb)]},{'name':a116o(0x1e4),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a116o(0x217)},async function(a,b){const p=a116o;Log[p(0x1e6)](p(0x1ed)+b[p(0x205)]+'\x20hook...');try{await this['pkg'][p(0x20f)]('react',{'shouldInstall':!![]});const c=this[p(0x1db)][p(0x1d7)](),d=b[p(0x1f2)]?p(0x1f3)+b[p(0x1f2)]:p(0x1e1),f=this['scaffold'][p(0x1e2)]({'pathParts':[d,b['dir'],paramCase(b[p(0x205)]),paramCase(b[p(0x205)])]}),g=await this['cfg'][p(0x1f9)]();typeof g['template']['css']===p(0x1fe)&&this['cfg'][p(0x1e5)](p(0x20d),g[p(0x1fa)][p(0x20d)]);g[p(0x207)]['graphql']===p(0x1ea)&&!this[p(0x1f1)][p(0x20f)](p(0x1f7))&&(Log[p(0x1f5)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0x1f1)][p(0x1da)]('@apollo/client\x20isomorphic-fetch',{'cwd':c}));const h={'cssCaseName':paramCase(b[p(0x205)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0x205)]),'name':pascalCase(b[p(0x205)]),'graphql':g['engines'][p(0x20b)],'theme':g[p(0x207)][p(0x1e9)],'features':g[p(0x1d8)],'myPath':a116e[p(0x1dc)](this[p(0x1db)][p(0x218)](),f),'fileName':paramCase(b[p(0x205)]),'isComponent':![],'isLayout':![],'withTranslations':g['features']['withTranslations']};await this[p(0x20e)][p(0x1fa)]({'srcPath':p(0x210),'destPath':f+p(0x211),'context':h,'config':g,'framework':p(0x1f0),'force':b[p(0x1e4)]});g['template'][p(0x20d)]&&(await this[p(0x20e)][p(0x1fa)]({'srcPath':p(0x1f4),'destPath':f+p(0x1fd),'context':Object[p(0x1ee)]({},h,{'className':h[p(0x203)]}),'config':g,'force':b[p(0x1e4)]}),await this[p(0x20e)][p(0x201)]({'filePath':f+'.'+g[p(0x207)]['js'],'content':p(0x212)+h[p(0x213)]+'.'+g[p(0x207)][p(0x20d)]+'\x27;'}));g[p(0x207)][p(0x1ff)]!=='none'&&await this['scaffold'][p(0x1fa)]({'srcPath':p(0x1df),'destPath':f+p(0x202),'framework':p(0x1f0),'context':h,'config':g,'force':b[p(0x1e4)]});const i=b[p(0x206)]?'/'+b[p(0x206)]+'/':'/',j=''+d+i+h[p(0x213)]+'/'+h[p(0x213)];await this[p(0x20e)][p(0x1e3)](h[p(0x1ef)],g,j);}catch(k){Log[p(0x215)](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a117d,c=a();while(!![]){try{var d=parseInt(f(0x92))/0x1*(parseInt(f(0x93))/0x2)+-parseInt(f(0x9b))/0x3+parseInt(f(0x98))/0x4*(-parseInt(f(0x9a))/0x5)+parseInt(f(0x9f))/0x6*(-parseInt(f(0x90))/0x7)+-parseInt(f(0x9e))/0x8*(parseInt(f(0x97))/0x9)+parseInt(f(0x94))/0xa+-parseInt(f(0xa0))/0xb*(-parseInt(f(0x96))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x3ed9f));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a[h(0x91)]()[h(0x9d)]('(((.+)+)+)+$')[h(0x91)]()[h(0x99)](a117a)[h(0x9d)](h(0x9c));});a117a();import'./kit.js';import'./mui/_index.js';function a117c(){var i=['toString','70745dwpRwx','10egauHt','1394230EdlvVm','apply','3494340cdwAmU','37251TDYkOI','388rzztTT','constructor','13865ZaLlZj','1221555lpcFbW','(((.+)+)+)+$','search','184hhqaPU','2046YBEoLz','33jBOkXI','6937MrwWte'];a117c=function(){return i;};return a117c();}function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x90;var f=c[d];return f;},a117d(a,b);}import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x110))/0x1*(parseInt(f(0x11c))/0x2)+-parseInt(f(0x113))/0x3*(-parseInt(f(0x11b))/0x4)+-parseInt(f(0x118))/0x5+-parseInt(f(0x112))/0x6*(parseInt(f(0x115))/0x7)+-parseInt(f(0x114))/0x8+-parseInt(f(0x119))/0x9*(-parseInt(f(0x11d))/0xa)+parseInt(f(0x11a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xefedb));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0x116)](h(0x11e))[h(0x111)]()['constructor'](a118a)[h(0x116)](h(0x11e));});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';function a118c(){var i=['apply','1571120amybmr','1530027AapkWX','19110498ahsaqY','48AFyKzq','26SPFXTy','10EqRVAh','(((.+)+)+)+$','22243KTRdGv','toString','8079234QQQDqJ','425751lvPOHz','5421248nylPdh','7ArgNWZ','search'];a118c=function(){return i;};return a118c();}function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x110;var f=c[d];return f;},a118d(a,b);}import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d
|
|
1
|
+
const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x1df))/0x1*(parseInt(f(0x1d8))/0x2)+-parseInt(f(0x1e1))/0x3+-parseInt(f(0x1de))/0x4+-parseInt(f(0x1e0))/0x5*(parseInt(f(0x1dd))/0x6)+-parseInt(f(0x1ce))/0x7+-parseInt(f(0x1d9))/0x8*(-parseInt(f(0x1d1))/0x9)+parseInt(f(0x1d6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xdda9f));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a['toString']()[h(0x1d5)](h(0x1db))[h(0x1cd)]()[h(0x1d2)](a119a)[h(0x1d5)](h(0x1db));});function a119c(){const k=['search','36142440hDRsny','NIE','1765910rCweOE','1227896bsCrri','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','(((.+)+)+)+$','create','3082836UBwTEO','4097628vKlxxe','1ryAKCP','10rylaiV','2222160qfCMaz','toString','12022129nmCQqn','maka\x20g:kit:a','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','54aMPaRJ','constructor','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','apply'];a119c=function(){return k;};return a119c();}function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1cd;let f=c[d];return f;},a119d(a,b);}a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator[a119i(0x1dc)]({'name':'auth','aliases':['a'],'usage':a119i(0x1d0),'noNeedResource':!![],'shortDesc':a119i(0x1da),'validOpts':[''],'isPro':!![],'examples':[a119i(0x1cf)],'description':a119i(0x1d3)},async function(){const j=a119i;throw j(0x1d7);},async function(){},a119e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=parseInt(s(0xdf))/0x1+-parseInt(s(0xe7))/0x2+parseInt(s(0xc3))/0x3*(parseInt(s(0xdb))/0x4)+parseInt(s(0xdd))/0x5*(-parseInt(s(0xcb))/0x6)+parseInt(s(0xfd))/0x7+-parseInt(s(0xd0))/0x8+-parseInt(s(0xce))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xb6d07));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a[u(0xd1)]()[u(0xf2)]('(((.+)+)+)+$')[u(0xd1)]()[u(0xe4)](a120a)[u(0xf2)]('(((.+)+)+)+$');});a120a();import a120e from'path';import{Generator}from'../../../generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xbd;let f=c[d];return f;},a120d(a,b);}import{Log}from'../../../tools/log/log.class.js';function a120c(){const x=['AuthService','error','kit:auth:provider','processAndRunGenerator','.js','export\x20const\x20AuthProvider','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','search','apply','/imports/startup/client','Meteor','template','Meteor.publish','const\x20sendForgotPasswordEmail','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','const\x20getUserAuthorizations','injectIntoCodeBlock','9207541SxcbOe','useTracker','accounts-password','const\x20authenticateUser','authentication-provider','index','injectImport','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','19743rBNjSn','meteor/maka:react-tracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','Meteor.startup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','const\x20registerNewUser','/imports/startup/lib','956946lSebBA','pathFromApp','/imports/startup/lib/authentication-service','7298847psGQTh','publish','3297088xUKxys','toString','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','meteor','/imports/startup/server/publications/auth/roles.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','startup','auth/roles','exit','const\x20deauthenticateUser','REACT','868UFWiPh','const\x20authenticateToken','20QjruSU','checkMeteorPackage','1133144unFPtG','engines','react','ssr','/imports/startup/client/authentication-service','constructor','meteor/accounts-base','authentication-service','2533388XRXwVg','findAppDirectory','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20'];a120c=function(){return x;};return a120c();}import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a120v(0xd3),'aliases':['m'],'usage':a120v(0xc6),'shortDesc':a120v(0xfa),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120v(0xda)]},'description':a120v(0xf1)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[w(0xde)]([w(0xff),'alanning:roles'],{'shouldInstall':!![]});const i=c['findProjectDirectory'](),j=c[w(0xe8)](),k=g[w(0xe0)][w(0xe2)]===w(0xd3);await a120g[w(0xee)](w(0xed),[],{'force':h,'cwd':i,'config':g}),await a120g[w(0xee)](w(0xcf),[w(0xd7)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e['normalize'](w(0xd4)),m=k?w(0xca):w(0xf4),n=f[w(0xcc)]({'pathParts':[m,'','',w(0xe6)]});await f[w(0xf6)]({'srcPath':w(0xc2),'destPath':n+w(0xef),'framework':w(0xe1),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','',w(0xbe)]}),p=g[w(0xe0)]['js'];await f[w(0xc0)]({'filePath':o+'.'+p,'importName':w(0xeb),'modulePath':k?w(0xcd):w(0xe3),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':w(0xbd),'replace':!![]}),await f[w(0xfc)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':w(0xdc),'replace':!![]}),await f[w(0xfc)]({'filePath':o+'.'+p,'content':w(0xf9),'begin':w(0xfb),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0xea),'begin':w(0xd9),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0xc1),'begin':w(0xf8),'replace':!![]}),await f[w(0xfc)]({'filePath':o+'.'+p,'content':w(0xd2),'begin':w(0xc9),'replace':!![]}),await f[w(0xfc)]({'filePath':o+'.'+p,'content':w(0xd5),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f[w(0xc0)]({'filePath':o+'.'+p,'importName':w(0xfe),'modulePath':w(0xc4),'isNamedExport':!![]}),await f['injectIntoFile']({'filePath':o+'.'+p,'content':w(0xc5),'begin':w(0xf0),'end':'return\x20\x5c('}));await f[w(0xc0)]({'filePath':l,'importName':w(0xf5),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await f['injectIntoCodeBlock']({'filePath':l,'content':w(0xc8),'begin':w(0xf7),'replace':!![]});const q=f['pathFromApp']({'pathParts':['imports',w(0xd6),'server',w(0xbf)]});await f[w(0xc0)]({'filePath':q+'.'+p,'importName':'Accounts','modulePath':w(0xe5),'isNamedExport':!![]}),await f[w(0xfc)]({'filePath':q+'.'+p,'content':w(0xe9),'begin':w(0xc7),'replace':!![]});}catch(r){Log[w(0xec)](r),process[w(0xd8)](0x1);}},async function(){},a120f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(
|
|
1
|
+
const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0x104))/0x1+parseInt(u(0x122))/0x2*(-parseInt(u(0x126))/0x3)+parseInt(u(0x118))/0x4+parseInt(u(0x117))/0x5*(-parseInt(u(0x120))/0x6)+-parseInt(u(0x119))/0x7*(parseInt(u(0x123))/0x8)+-parseInt(u(0xfc))/0x9*(parseInt(u(0x10c))/0xa)+parseInt(u(0xff))/0xb*(parseInt(u(0x106))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x67c13));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a121d;if(c){const e=c[v(0x107)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const w=a121d;return a121a[w(0x11f)]()[w(0x116)](w(0x11c))['toString']()['constructor'](a121a)[w(0x116)]('(((.+)+)+)+$');});a121a();function a121c(){const z=['split','437808uxSAnU','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','156zkhweP','apply','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','function\x20useAuth','AuthProvider','const\x20useAuth','30NKNFjv','const\x20PrivateRoute','/imports/startup/client/authentication-provider','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','template','scaffold','/imports/startup/client/index','</AuthProvider>','authentication-provider','error','search','95mjjAAX','1698380toGCkY','87983ghDAOa','provider','injectIntoCodeBlock','(((.+)+)+)+$','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','force','toString','138162dYaCkm','react','1126042kVKNat','240QOipNw','getMakaProjectConfig','/imports/startup/server/index','3PnUYaJ','injectImport','/imports/startup/client','injectAroundString','/imports/startup/lib/authentication-provider','kit/auth/provider/authentication-provider.js','<AuthProvider>','pathFromApp','/routes','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','create','exit','1065654njUelB','.js','bright','1096106xpKuUr','engines','REACT','<AppRoutes\x20/>'];a121c=function(){return z;};return a121c();}function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xf5;let f=c[d];return f;},a121d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121x(0xfa)]({'name':a121x(0x11a),'aliases':['p'],'usage':a121x(0x108),'shortDesc':a121x(0x105),'validOpts':[a121x(0x11e)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121x(0x101)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const y=a121x;try{const c=b[y(0x11e)]||![];Log[y(0xfe)](y(0x10f));const d=await this['cfg'][y(0x124)](),f=d[y(0x100)]['ssr']==='meteor',g={'name':headerCase(d['appName'])['replaceAll']('-','\x20')},h=f?'/imports/startup/lib':y(0x128),i=this[y(0x111)][y(0xf7)]({'pathParts':[h,'','',y(0x114)]});await this[y(0x111)][y(0x110)]({'srcPath':y(0xf5),'destPath':i+y(0xfd),'framework':y(0x121),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+y(0xf8),l=k[y(0x103)]('/'),m=this[y(0x111)][y(0xf7)]({'pathParts':l});await this[y(0x111)][y(0x127)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x12a):y(0x10e),'isNamedExport':!![]}),await this['scaffold'][y(0x127)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x121),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x111)][y(0x11b)]({'filePath':m+'.'+j,'content':y(0xf9),'begin':[y(0x10b),y(0x109)],'replace':!![]}),await this['scaffold'][y(0x11b)]({'filePath':m+'.'+j,'content':y(0x11d),'begin':[y(0x10d)],'replace':!![]});const n=y(0x112),o=n['split']('/'),p=this[y(0x111)][y(0xf7)]({'pathParts':o});await this['scaffold'][y(0x127)]({'filePath':p+'.'+j,'importName':y(0x10a),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x111)][y(0x129)]({'filePath':p+'.'+j,'aboveContent':y(0xf6),'belowContent':'</AuthProvider>','targetString':y(0x102),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x125),r=q[y(0x103)]('/'),s=this[y(0x111)][y(0xf7)]({'pathParts':r});await this[y(0x111)]['injectImport']({'filePath':s+'.'+j,'importName':y(0x10a),'modulePath':f?y(0x12a):y(0x10e),'isNamedExport':!![]}),await this[y(0x111)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x113),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x115)](t),process[y(0xfb)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a122d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x1b0))/0x1*(parseInt(f(0x1b9))/0x2)+parseInt(f(0x1bc))/0x3*(-parseInt(f(0x1af))/0x4)+parseInt(f(0x1b6))/0x5+parseInt(f(0x1bb))/0x6+parseInt(f(0x1b1))/0x7*(parseInt(f(0x1b5))/0x8)+parseInt(f(0x1b8))/0x9*(-parseInt(f(0x1b3))/0xa)+parseInt(f(0x1b4))/0xb*(parseInt(f(0x1b7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x9fcf1));var a122b=(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;};}()),a122a=a122b(this,function(){var g=a122d;return a122a['toString']()[g(0x1ae)](g(0x1b2))[g(0x1ba)]()['constructor'](a122a)[g(0x1ae)](g(0x1b2));});a122a();import'./esri.generator.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1ae;var f=c[d];return f;},a122d(a,b);}import'./map.esri.gen.js';function a122c(){var h=['20MsaOLO','46564GQOtuv','(((.+)+)+)+$','190CgsRzn','1221cGgbfi','680cwMUvD','4792105tnJCTR','31308jPgweF','428706STRIUs','1096KEuNKA','toString','3063624MAquGY','3ZvpOkM','search','3101524UBCaNZ'];a122c=function(){return h;};return a122c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123h=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a123d(a,b);}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(0x1e4))/0x1+-parseInt(f(0x1da))/0x2+-parseInt(f(0x1e8))/0x3*(-parseInt(f(0x1db))/0x4)+parseInt(f(0x1e5))/0x5+parseInt(f(0x1dc))/0x6*(-parseInt(f(0x1e2))/0x7)+-parseInt(f(0x1e1))/0x8*(parseInt(f(0x1e6))/0x9)+parseInt(f(0x1ea))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xe797f));const a123b=(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;};}()),a123a=a123b(this,function(){const g=a123d;return a123a['toString']()[g(0x1e9)](g(0x1d7))['toString']()[g(0x1e7)](a123a)['search'](g(0x1d7));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123h(0x1dd)]({'name':a123h(0x1df),'aliases':['e'],'usage':a123h(0x1eb),'noNeedResource':!![],'shortDesc':a123h(0x1d9),'validOpts':[''],'isPro':!![],'examples':[a123h(0x1e0)],'description':a123h(0x1de)},async function(){const i=a123h;return{'success':!![],'message':i(0x1d8),'details':{'filesCreated':[i(0x1d6)],'filesUpdated':[i(0x1e3)]}};},async function(){},a123e);function a123c(){const j=['Esri\x20Kit\x20generated\x20successfully','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','2097008LBaNOp','3860980GwSsNW','87606YhLidF','create','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','esri','maka\x20g:kit:e','272QePyZj','469RlwXaa','/foo','782794DoMvht','1269900TCwPyE','1746npPHaR','constructor','3HhgzTJ','search','25455430mwwXKQ','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','/foo/bar','(((.+)+)+)+$'];a123c=function(){return j;};return a123c();}export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a124s=a124d;function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xad;let f=c[d];return f;},a124d(a,b);}(function(a,b){const p=a124d,c=a();while(!![]){try{const d=parseInt(p(0xd0))/0x1+-parseInt(p(0xc3))/0x2+-parseInt(p(0xae))/0x3+-parseInt(p(0xc7))/0x4*(-parseInt(p(0xd5))/0x5)+parseInt(p(0xdc))/0x6*(-parseInt(p(0xbb))/0x7)+-parseInt(p(0xb7))/0x8*(parseInt(p(0xd8))/0x9)+parseInt(p(0xcd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xc6e80));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a124d;if(c){const e=c[q(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const r=a124d;return a124a[r(0xb8)]()[r(0xde)](r(0xcc))['toString']()['constructor'](a124a)[r(0xde)](r(0xcc));});a124a();function a124c(){const u=['16688540gSEvBd','appName','REACT','1566906GCagxS','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','map','.js','NONE','865060dYDyXu','pathFromApp','engines','2199699NpwkZq','cfg','bright','Generate\x20an\x20Esri\x20map\x20component','18kiKFGO','checkNpmPackage','search','injectImport','@esri/react-arcgis','meteor','4073754QBnaXh','dir','replaceAll','create','template','findProjectDirectory','apply','injectIntoFile','baseDir','8lVvbVa','toString','react','processAndRunGenerator','1048103RpdAPK','pkg','page','kit/esri/map/','<div\x20id=\x22map\x22>','fsi','/imports/startup/client/templates','ssr','1085072jvVmcK','scaffold','split','getMakaProjectConfig','4fOJKwz','</div>','/imports/ui/hooks','esri-loader','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','(((.+)+)+)+$'];a124c=function(){return u;};return a124c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124s(0xb1)]({'name':'map','aliases':['m'],'usage':a124s(0xd1),'shortDesc':a124s(0xdb),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a124s(0xcf)],'ssr':SsrEngines[a124s(0xd4)]},'description':a124s(0xcb)},async function(a,b){const t=a124s;try{Log[t(0xda)]('Generating\x20a\x20map\x20component');const c='basic-map';await this[t(0xbc)][t(0xdd)]([t(0xe0),t(0xca)],{'shouldInstall':!![]});const d=this[t(0xc0)][t(0xb3)](),f=await this[t(0xd9)][t(0xc6)](),g=f[t(0xd7)][t(0xc2)]===t(0xad),h=await a124f[t(0xba)](t(0xbd),[t(0xd2)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0xce)])[t(0xb0)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0xb6)]?'/imports/ui/'+b[t(0xb6)]:t(0xc9),k=this[t(0xc4)][t(0xd6)]({'pathParts':[j,b[t(0xaf)],paramCase(c),paramCase(c)]});await this[t(0xc4)][t(0xb2)]({'srcPath':t(0xbe)+c+t(0xd3),'destPath':k+t(0xd3),'framework':t(0xb9),'context':i,'config':f,'force':![],'ignore':![]});const l=''+j+b[t(0xaf)]+'/'+c+'/'+c;await this[t(0xc4)]['injectTemplateModule'](c,f,l);const m=h[t(0xc5)]('/'),n=this[t(0xc4)]['pathFromApp']({'pathParts':m});await this[t(0xc4)][t(0xdf)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0xc1),'isNamedExport':!![]}),await this[t(0xc4)][t(0xb5)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0xbf),t(0xbf)],'end':[t(0xc8)],'replace':!![]});}catch(o){Log['error'](o),process['exit'](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a125c(){const i=['maka\x20g:kit','toString','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','maka\x20g:k','kit','36jnrDKI','560383xshYOD','search','21762235mgUbee','8bcjShM','7mqTPID','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','4hQqoLQ','3604150UvXSGl','64534SGLSHC','522930MNUGOI','constructor','875255VsAcFF','2308923cSOeJQ'];a125c=function(){return i;};return a125c();}const a125h=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0x119))/0x1+parseInt(f(0x121))/0x2*(-parseInt(f(0x118))/0x3)+-parseInt(f(0x11f))/0x4*(parseInt(f(0x124))/0x5)+-parseInt(f(0x122))/0x6*(-parseInt(f(0x11d))/0x7)+parseInt(f(0x11c))/0x8*(-parseInt(f(0x125))/0x9)+-parseInt(f(0x120))/0xa+parseInt(f(0x11b))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x4f934));const a125b=(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;};}()),a125a=a125b(this,function(){const g=a125d;return a125a['toString']()['search'](g(0x114))[g(0x113)]()[g(0x123)](a125a)[g(0x11a)](g(0x114));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x112;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a125h(0x117),'aliases':['k'],'usage':a125h(0x115),'shortDesc':a125h(0x11e),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a125h(0x112),a125h(0x116)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x10b;var f=c[d];return f;},a126d(a,b);}(function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0x117))/0x1*(-parseInt(f(0x113))/0x2)+-parseInt(f(0x110))/0x3*(-parseInt(f(0x115))/0x4)+-parseInt(f(0x10f))/0x5+parseInt(f(0x114))/0x6*(-parseInt(f(0x10c))/0x7)+-parseInt(f(0x119))/0x8*(-parseInt(f(0x116))/0x9)+-parseInt(f(0x10d))/0xa+-parseInt(f(0x111))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x3adc0));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x10e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0x11a)]()[h(0x112)](h(0x118))[h(0x11a)]()[h(0x10b)](a126a)['search'](h(0x118));});a126a();import'./mui.generator.js';function a126c(){var i=['search','5774EqBdCb','6LpSaSS','578296XTFJCM','27LlNdpK','109qLYLjh','(((.+)+)+)+$','881048uZTLyr','toString','constructor','1027698bwIUgf','976170fCndJX','apply','2172590blDeTE','6jjfZNt','156057XXEjRC'];a126c=function(){return i;};return a126c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127J=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(
|
|
1
|
+
const a127J=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(0x1a3))/0x1*(parseInt(G(0x1b0))/0x2)+parseInt(G(0x1a2))/0x3*(parseInt(G(0x1cd))/0x4)+parseInt(G(0x1be))/0x5+-parseInt(G(0x1ba))/0x6+-parseInt(G(0x1b5))/0x7+parseInt(G(0x1c3))/0x8+parseInt(G(0x18f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xeb571));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a127d;if(c){const e=c[H(0x19d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const I=a127d;return a127a[I(0x1ae)]()[I(0x1c8)](I(0x1a8))[I(0x1ae)]()[I(0x1b4)](a127a)[I(0x1c8)](I(0x1a8));});a127a();import{Generator}from'../../../generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x18e;let f=c[d];return f;},a127d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127J(0x195)]({'name':'auth','aliases':['a'],'usage':a127J(0x1d1),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':['layouts',a127J(0x1ab)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a127J(0x1c4)],'client':ClientEngines[a127J(0x1b7)]},'examples':[a127J(0x1b6),a127J(0x19a)],'description':a127J(0x1bc)},async function(a,b){const K=a127J;try{const c=b['force']||![],d=this[K(0x1c9)]['findProjectDirectory'](),f=await this[K(0x193)]['getMakaProjectConfig'](),{authType:g}=await Actions['options']({'type':K(0x1ce),'name':K(0x1b3),'message':K(0x1cc),'choices':[{'name':K(0x194),'value':K(0x1b8)},{'name':K(0x1ac),'value':K(0x197)}]}),h=K(0x190),i=K(0x19f),j=K(0x1c6),k='basic-password-reset-page',l='basic-forgot-password-page',m=b[K(0x1a7)]?K(0x196)+b[K(0x1a7)]:K(0x1b2),n=this[K(0x19c)][K(0x1bd)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x19c)][K(0x1bd)]({'pathParts':[m,b[K(0x199)],paramCase(i),paramCase(i)]}),p=this[K(0x19c)][K(0x1bd)]({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0x19c)][K(0x1bd)]({'pathParts':[m,b[K(0x199)],paramCase(k),paramCase(k)]}),r=this[K(0x19c)][K(0x1bd)]({'pathParts':[m,b[K(0x199)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1a0)])[K(0x1cb)]('-','\x20')};await this[K(0x19c)][K(0x1c0)]({'srcPath':K(0x1a9)+h+K(0x1a1),'destPath':n+K(0x1a1),'framework':K(0x1bf),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x19c)][K(0x1c0)]({'srcPath':K(0x1ca)+i+K(0x1a1),'destPath':o+K(0x1a1),'framework':K(0x1bf),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x19c)]['template']({'srcPath':K(0x1d0)+j+'.js','destPath':p+K(0x1a1),'framework':K(0x1bf),'context':s,'config':f,'force':c,'ignore':![]}),await this['scaffold']['template']({'srcPath':K(0x1c1)+k+K(0x1a1),'destPath':q+K(0x1a1),'framework':K(0x1bf),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x19c)][K(0x1c0)]({'srcPath':K(0x1c5)+l+K(0x1a1),'destPath':r+K(0x1a1),'framework':K(0x1bf),'context':s,'config':f,'force':c,'ignore':![]});const t=''+m+b[K(0x199)]+'/'+h+'/'+h;await this['scaffold']['injectTemplateModule'](h,f,t);const u=''+m+b[K(0x199)]+'/'+i+'/'+i;await this[K(0x19c)][K(0x1af)](i,f,u);const v=''+m+b[K(0x199)]+'/'+j+'/'+j;await this['scaffold'][K(0x1af)](j,f,v);const w=''+m+b[K(0x199)]+'/'+k+'/'+k;await this[K(0x19c)]['injectTemplateModule'](k,f,w);const x=''+m+b[K(0x199)]+'/'+l+'/'+l;await this['scaffold']['injectTemplateModule'](l,f,x),await a127e[K(0x1c7)](K(0x18e),['basic-login-page'],{'route':K(0x1a6),'cwd':d,'config':f}),await a127e[K(0x1c7)]('route',[K(0x19f)],{'route':'logout','private':!![],'cwd':d,'config':f}),await a127e[K(0x1c7)](K(0x18e),[K(0x1c6)],{'route':K(0x1aa),'cwd':d,'config':f}),await a127e[K(0x1c7)]('route',['basic-password-reset-page'],{'route':K(0x1b9),'cwd':d,'config':f}),await a127e[K(0x1c7)](K(0x18e),[K(0x1cf)],{'route':K(0x1ad),'cwd':d,'config':f});g==='meteor'&&await a127e[K(0x1c7)](K(0x1b1),[],{'force':c,'cwd':d,'config':f});g===K(0x197)&&await a127e[K(0x1c7)](K(0x192),[],{'force':c,'cwd':d,'config':f});const y=f['engines'][K(0x191)]===K(0x1b8),z=f[K(0x1bb)]['js'],A=this['scaffold'][K(0x1bd)]({'pathParts':t['split']('/')});await this['scaffold']['injectImport']({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0x1a5):K(0x1a4),'isNamedExport':!![]});const B=this[K(0x19c)][K(0x1bd)]({'pathParts':u[K(0x19b)]('/')});await this['scaffold'][K(0x19e)]({'filePath':B+'.'+z,'importName':K(0x1c2),'modulePath':y?K(0x1a5):K(0x1a4),'isNamedExport':!![]});const C=this[K(0x19c)][K(0x1bd)]({'pathParts':v['split']('/')});await this[K(0x19c)]['injectImport']({'filePath':C+'.'+z,'importName':K(0x1c2),'modulePath':y?K(0x1a5):K(0x1a4),'isNamedExport':!![]});const D=this['scaffold'][K(0x1bd)]({'pathParts':w[K(0x19b)]('/')});await this[K(0x19c)]['injectImport']({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1a4),'isNamedExport':!![]});const E=this['scaffold'][K(0x1bd)]({'pathParts':x['split']('/')});await this[K(0x19c)]['injectImport']({'filePath':E+'.'+z,'importName':K(0x1c2),'modulePath':y?K(0x1a5):K(0x1a4),'isNamedExport':!![]});}catch(F){Log[K(0x198)](F);}},async function(){console['log']('Cleaning\x20up...');},a127f);function a127c(){const L=['kit:auth:provider','cfg','Meteor\x20Accounts','create','/imports/ui/','custom','error','dir','maka\x20g:k:m:f','split','scaffold','apply','injectImport','basic-logout-page','appName','.js','219VHclZL','3VaunKM','/imports/startup/client/authentication-provider','/imports/startup/lib/authentication-provider','login','baseDir','(((.+)+)+)+$','kit/mui/auth/login/','register','force','Custom\x20(roll\x20your\x20own)','forgot-password','toString','injectTemplateModule','921826cMQuWf','kit:auth:meteor','/imports/ui/pages/auth','authType','constructor','7420819ZlOzgO','maka\x20generate:kit:mui:frame','REACT','meteor','reset-password/:token','9741942ZeCyYZ','engines','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','pathFromApp','1476345wtCSLz','react','template','kit/mui/auth/password-reset/','AuthContext','737008lLxFTo','MATERIAL','kit/mui/auth/forgot-password/','basic-register-page','processAndRunGenerator','search','fsi','kit/mui/auth/logout/','replaceAll','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','104404ZpQXZC','list','basic-forgot-password-page','kit/mui/auth/register/','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','route','24639282zcqxNm','basic-login-page','ssr'];a127c=function(){return L;};return a127c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a128E=a128d;(function(a,b){const B=a128d,c=a();while(!![]){try{const d=-parseInt(B(0x1a4))/0x1*(-parseInt(B(0x175))/0x2)+parseInt(B(0x1a1))/0x3*(parseInt(B(0x179))/0x4)+-parseInt(B(0x16a))/0x5*(-parseInt(B(0x178))/0x6)+parseInt(B(0x1b5))/0x7+parseInt(B(0x1ae))/0x8+-parseInt(B(0x16c))/0x9*(parseInt(B(0x184))/0xa)+-parseInt(B(0x190))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x9ce47));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a128d;if(c){const e=c[C(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const D=a128d;return a128a['toString']()[D(0x17b)](D(0x166))[D(0x180)]()['constructor'](a128a)[D(0x17b)](D(0x166));});a128a();function a128c(){const H=['18gfPXwP','basic-sticky-footer','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','tests','MATERIAL','getFiles','checkMeteorPackage','basic-app-bar','Container','22LQaSMa','injectImport','frame','1176aPHavd','8OxGZRj','<Outlet/>','search','apply','<Outlet\x20/>','dir','test','toString','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','injectAroundString','length','2148270IXYpvS','@mui/material/Box','injectIntoFile','/imports/startup/client/templates','layouts','basic-drawer','force','REACT','imports','jsx','meteor','session','15904141IchzPS','kit/mui/frame/drawers/','react','app-tests','Cleaning\x20up...','/imports/ui/','getDirectories','cfg','maka\x20g:k:m:f','getMakaProjectConfig','error','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','No\x20layouts\x20selected','scaffold','findAppDirectory','\x20/>\x0a','<div\x20id=\x22','438915ZBLbYp','engines','/imports/ui/components','47963dsvEWA','join','.js','appName','maka:react-tracker','template','injectTemplateModule','pathFromApp','replaceAll','checkbox','1764952SRgbGV','tsx','ssr','options','baseDir','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','fsi','6253870iMWMWN','-hook\x22>','kit/mui/frame/app-bars/','(((.+)+)+)+$','</div>','/imports/startup/lib/templates','create','14895QvIQlv','Box'];a128c=function(){return H;};return a128c();}import{Generator}from'../../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x166;let f=c[d];return f;},a128d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'path';import a128f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128E(0x169)]({'name':a128E(0x177),'aliases':['f'],'usage':a128E(0x19b),'shortDesc':a128E(0x181),'validOpts':[a128E(0x188),a128E(0x1b2),'dir',a128E(0x18a)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128E(0x170)],'client':ClientEngines[a128E(0x18b)]},'examples':['maka\x20generate:kit:mui:frame',a128E(0x198)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const F=a128E;try{const c=b['force']||![],d=F(0x173),f=F(0x189),g=F(0x16d),h=await this[F(0x197)][F(0x199)](),i=h[F(0x1a2)][F(0x1b0)]===F(0x18e);await this['pkg'][F(0x172)]([F(0x18f),F(0x1a8)],{'shouldInstall':!![]});const j=this[F(0x1b4)][F(0x19e)](),k=a128e[F(0x1a5)](j,F(0x18c),'ui',F(0x188)),l=this[F(0x1b4)][F(0x196)](k),m=await Actions[F(0x1b1)]({'type':F(0x1ad),'name':'layouts','message':F(0x16e),'choices':l});if(m[F(0x188)][F(0x183)]===0x0){Log[F(0x19a)](F(0x19c));return;}const n=b[F(0x1b2)]?F(0x195)+b[F(0x1b2)]:F(0x1a3),o=this[F(0x19d)][F(0x1ab)]({'pathParts':[n,b[F(0x17e)],paramCase(d),paramCase(d)]}),p=this[F(0x19d)][F(0x1ab)]({'pathParts':[n,b[F(0x17e)],paramCase(f),paramCase(f)]}),q=this[F(0x19d)][F(0x1ab)]({'pathParts':[n,b[F(0x17e)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1a7)])[F(0x1ac)]('-','\x20')};await this['scaffold'][F(0x1a9)]({'srcPath':F(0x1b7)+d+F(0x1a6),'destPath':o+F(0x1a6),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x19d)][F(0x1a9)]({'srcPath':F(0x191)+f+F(0x1a6),'destPath':p+F(0x1a6),'framework':F(0x192),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x19d)][F(0x1a9)]({'srcPath':'kit/mui/frame/footers/'+g+'.js','destPath':q+F(0x1a6),'framework':F(0x192),'context':r,'config':h,'force':c,'ignore':![]});const s=''+n+b[F(0x17e)]+'/'+d+'/'+d;await this[F(0x19d)][F(0x1aa)](d,h,s);const t=''+n+b[F(0x17e)]+'/'+f+'/'+f;await this[F(0x19d)]['injectTemplateModule'](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this[F(0x19d)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1b4)][F(0x171)](a128e[F(0x1a5)](k,w),{'extensions':[F(0x18d),F(0x1af)],'omit':[F(0x193),F(0x16f),F(0x17f)]});for(const y of x){const z=a128e[F(0x1a5)](k,w,y);await this[F(0x19d)][F(0x176)]({'filePath':z,'importName':F(0x16b),'modulePath':F(0x185),'isNamedExport':![]}),await this[F(0x19d)][F(0x176)]({'filePath':z,'importName':F(0x174),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this[F(0x19d)][F(0x176)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':F(0x187),'isNamedExport':!![]}),await this[F(0x19d)][F(0x186)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x19f),'begin':[F(0x1a0)+w+'\x22>',F(0x1a0)+w+F(0x1b6)],'end':['<Outlet/>','<Outlet\x20/>']}),await this[F(0x19d)][F(0x176)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x187),'isNamedExport':!![]}),await this['scaffold'][F(0x186)]({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':[F(0x1a0)+w+'\x22>','<div\x20id=\x22'+w+F(0x1b6)],'end':['<Outlet/>',F(0x17d)]}),await this[F(0x19d)][F(0x186)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x19f),'begin':[F(0x17a),'<Outlet\x20/>'],'end':[F(0x167)]}),await this[F(0x19d)][F(0x176)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x168):F(0x187),'isNamedExport':!![]}),await this['scaffold'][F(0x182)]({'filePath':z,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':F(0x1b3),'targetString':[F(0x17a),'<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(A){Log[F(0x19a)](A);}},async function(){const G=a128E;console['log'](G(0x194));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(
|
|
1
|
+
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0x8a))/0x1+-parseInt(g(0x7a))/0x2+parseInt(g(0x73))/0x3*(-parseInt(g(0x82))/0x4)+-parseInt(g(0x74))/0x5+-parseInt(g(0x87))/0x6*(-parseInt(g(0x78))/0x7)+-parseInt(g(0x7b))/0x8+parseInt(g(0x77))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xa76cf));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0x8d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0x8f)]()['search'](i(0x84))[i(0x8f)]()[i(0x90)](a129a)['search'](i(0x84));});a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x73;let f=c[d];return f;},a129d(a,b);}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';function a129c(){const l=['maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','frame','findProjectDirectory','28872UtnfPO','checkbox','(((.+)+)+)+$','Header,\x20Footer,\x20and\x20Drawer','mui','5076iIwhGF','options','\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','392427fpepgO','fsi','No\x20MUI\x20kits\x20selected.\x20Exiting.','apply','kitChoices','toString','constructor','create','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','info','cfg','3RRUvpy','95435hfYDgb','notice','getMakaProjectConfig','15015816cilNiV','3087nRbbbs','Material-UI\x20Kit','2534772ASWlDW','3635768TcaYiK','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','maka\x20g:kit:m','includes'];a129c=function(){return l;};return a129c();}const MuiGen=Generator[a129j(0x91)]({'name':a129j(0x86),'aliases':['m'],'usage':a129j(0x7f),'noNeedResource':!![],'shortDesc':a129j(0x79),'validOpts':[''],'isPro':!![],'examples':[a129j(0x7d)]},async function(){const k=a129j;Log['info']('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x75)](k(0x89));const {kitChoices:a}=await Actions[k(0x88)]({'type':k(0x83),'name':k(0x8e),'message':k(0x7c),'choices':[{'name':k(0x85),'value':k(0x80)},{'name':k(0x92),'value':'auth'}]}),b=this[k(0x8b)][k(0x81)](),c=this[k(0x94)][k(0x76)]();a[k(0x7e)](k(0x80))&&await a129e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a129e['processAndRunGenerator']('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[k(0x93)](k(0x8c));return;}},async function(){},a129f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130o=a130d;
|
|
1
|
+
const a130o=a130d;(function(a,b){const l=a130d,c=a();while(!![]){try{const d=parseInt(l(0x1e8))/0x1*(parseInt(l(0x1dc))/0x2)+parseInt(l(0x1d6))/0x3+-parseInt(l(0x1c2))/0x4*(parseInt(l(0x1e0))/0x5)+parseInt(l(0x1ea))/0x6*(-parseInt(l(0x1d0))/0x7)+-parseInt(l(0x1c0))/0x8*(parseInt(l(0x1dd))/0x9)+-parseInt(l(0x1db))/0xa+parseInt(l(0x1d8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x19c0f));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a130d;if(c){const e=c[m(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const n=a130d;return a130a['toString']()[n(0x1d4)](n(0x1de))['toString']()[n(0x1c1)](a130a)[n(0x1d4)]('(((.+)+)+)+$');});a130a();import a130e from'path';function a130c(){const q=['fsi','10087KTDXBo','template/template.css','.js','engines','search','setTemplate','297189DKToFw','hook/hook.js','4417677KUGFJL','scaffold','fileName','1678580jeXmUP','694sCwJFg','9ysQpOD','(((.+)+)+)+$','/imports/ui/layouts','903710nBgKzI','pathFromApp','findAppDirectory','none','test','css','create','features','151WLSfFQ','withHook','402DqgiNs','cfg','ramda','.app-tests.js','findProjectDirectory','layout','pkg','withTranslations','maka\x20g:layout\x20mobile/iPhone8','template','injectTemplateModule','className','string','19464bNdZfl','constructor','4LorpRB','apply','component/component.js','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','checkNpmPackage','react','dir','client','warn','installNpmPackage','getMakaProjectConfig','withHooks','resourceName'];a130c=function(){return q;};return a130c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a130d(a,b);}const aliases=['l'];Generator[a130o(0x1e6)]({'name':a130o(0x1b8),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a130o(0x1e9)],'examples':[a130o(0x1bb),'maka\x20g:l\x20web/safari']},async function(a,b){const p=a130o,c=p(0x1df),d=this[p(0x1cf)][p(0x1e2)](),e=this['scaffold'][p(0x1e1)]({'pathParts':[c,b[p(0x1c8)],paramCase(b[p(0x1ce)]),paramCase(b[p(0x1ce)])]}),f=await this[p(0x1eb)][p(0x1cc)]();typeof f[p(0x1bc)][p(0x1e4)]===p(0x1bf)&&this[p(0x1eb)][p(0x1d5)](p(0x1e4),f[p(0x1bc)][p(0x1e4)]);typeof f[p(0x1bc)]['css']===p(0x1bf)&&this[p(0x1eb)][p(0x1d5)](p(0x1e5),f[p(0x1bc)][p(0x1e5)]);typeof f[p(0x1bc)]['js']===p(0x1bf)&&this[p(0x1eb)]['setTemplate']('js',f['template']['js']);const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[p(0x1b9)][p(0x1c6)](p(0x1ec))&&(Log['warn'](p(0x1c5)),this['pkg'][p(0x1cb)](p(0x1ec),{'cwd':d}));if(h&&!this[p(0x1b9)]['checkNpmPackage'](p(0x1c7))){Log[p(0x1ca)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b['resourceName']),'myPath':a130e['relative'](this[p(0x1cf)][p(0x1b7)](),e),'cssCaseName':paramCase(b[p(0x1ce)]),'className':pascalCase(b[p(0x1ce)]),'camelCaseName':camelCase(b[p(0x1ce)]),'fileName':paramCase(b['resourceName']),'graphql':f[p(0x1d3)]['graphql'],'features':f[p(0x1e7)],'client':f['engines'][p(0x1c9)],'api':f[p(0x1d3)]['api'],'ssr':f[p(0x1d3)]['ssr'],'test':f[p(0x1d3)][p(0x1e4)],'theme':f[p(0x1d3)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x1e7)][p(0x1ba)]};f[p(0x1e7)]?.[p(0x1cd)]||b[p(0x1e9)]?await this[p(0x1d9)][p(0x1bc)]({'srcPath':p(0x1d7),'destPath':e+p(0x1d2),'framework':p(0x1c7),'context':i,'config':f}):await this['scaffold'][p(0x1bc)]({'srcPath':p(0x1c4),'destPath':e+p(0x1d2),'framework':p(0x1c7),'context':i,'config':f});f[p(0x1d3)][p(0x1e4)]!==p(0x1e3)&&await this[p(0x1d9)][p(0x1bc)]({'srcPath':'test/test.js','destPath':e+p(0x1b6),'framework':p(0x1c7),'context':i,'config':f});f['template'][p(0x1e5)]&&(await this['scaffold']['template']({'srcPath':p(0x1d1),'destPath':e+'.css','context':Object['assign']({},i,{'className':paramCase(b[p(0x1ce)])}),'config':f}),await this[p(0x1d9)]['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+i['fileName']+'.'+f['engines'][p(0x1e5)]+'\x27;'}));const j=b['dir']?'/'+b[p(0x1c8)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[p(0x1da)];await this['scaffold'][p(0x1bd)](i[p(0x1be)],f,k);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131h=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0xf7))/0x1*(parseInt(f(0xec))/0x2)+parseInt(f(0xe4))/0x3+parseInt(f(0xe2))/0x4*(-parseInt(f(0xf3))/0x5)+-parseInt(f(0xe5))/0x6*(-parseInt(f(0xf9))/0x7)+-parseInt(f(0xf4))/0x8+-parseInt(f(0xe8))/0x9*(-parseInt(f(0xf8))/0xa)+parseInt(f(0xed))/0xb*(parseInt(f(0xf2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xe4f2d));function a131c(){const i=['maka\x20g:package\x20package:name','24OzmkdG','6544970tlcJDK','13279ZkUNVQ','maka\x20g:dbc\x20geoserver\x20--type=pgsql','4xkJUlw','search','2598855UPzMGG','3354outCNi','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:scaffold\x20todos','9oJRtBu','toString','maka\x20generate:scaffold\x20todos','maka\x20{generate,\x20g}:<generator>\x20<name>','137440UhaMsn','3411485VyEQYj','(((.+)+)+)+$','maka\x20g:api\x20trucks','constructor','maka\x20g:route\x20todos/edit','60FVDlXX','5439785rXjvdN','3654960BiIRpz','generate'];a131c=function(){return i;};return a131c();}const a131b=(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;};}()),a131a=a131b(this,function(){const g=a131d;return a131a[g(0xe9)]()[g(0xe3)](g(0xee))[g(0xe9)]()[g(0xf0)](a131a)[g(0xe3)](g(0xee));});function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xe2;let f=c[d];return f;},a131d(a,b);}a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a131h(0xf5),'aliases':['g'],'usage':a131h(0xeb),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a131h(0xe6),'examples':[a131h(0xea),a131h(0xe7),'maka\x20g:template\x20todos/todo_item',a131h(0xf6),a131h(0xf1),a131h(0xef),a131h(0xfa)]},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d
|
|
1
|
+
const a132n=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x85;let f=c[d];return f;},a132d(a,b);}(function(a,b){const k=a132d,c=a();while(!![]){try{const d=parseInt(k(0x99))/0x1+parseInt(k(0x98))/0x2+-parseInt(k(0x91))/0x3+parseInt(k(0x89))/0x4*(-parseInt(k(0x8d))/0x5)+parseInt(k(0x8a))/0x6*(parseInt(k(0x9e))/0x7)+parseInt(k(0xa0))/0x8+-parseInt(k(0x8e))/0x9*(-parseInt(k(0x97))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xc3525));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x8b)]()[m(0x86)]('(((.+)+)+)+$')[m(0x8b)]()['constructor'](a132a)[m(0x86)](m(0x8c));});a132a();function a132c(){const p=['8020gFsZLh','2728698fHFtqS','215599rAwdyD','template','maka\x20g:method\x20todos','injectAtEndOfFile','create','1153761yicDOv','-rpc-method\x27;','4265192HHCUyU','-rpc-method.','pathFromApp','tsx','error','startup','apply','pkg','cfg','maka:check','resourceName','search','appPathPrefix','getMakaProjectConfig','236IuQkHB','12CGTvDc','toString','(((.+)+)+)+$','25405kIdsMQ','1476oSKeFg','imports','dir','4423365FeKuBi','method','engines','import\x20\x27./methods','scaffold','checkMeteorPackage'];a132c=function(){return p;};return a132c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a132n(0x9d)]({'name':a132n(0x92),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132n(0x90)],'examples':[a132n(0x9b)]},async function(a,b){const o=a132n;try{const c=await this[o(0xa8)][o(0x88)](),d=b['dir']?'/'+b[o(0x90)]+'/':'/',f=paramCase(b[o(0x85)]),g={'name':b[o(0x85)],'fileName':f,'className':pascalCase(b[o(0x85)]),'camelCase':camelCase(b[o(0x85)]),'noRename':!![]};let h='js';c['engines']['js']===o(0xa3)&&(h='ts');await this[o(0xa7)][o(0x96)]([o(0xa9),'ddp-rate-limiter','mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x95)][o(0x9a)]({'srcPath':'method/method.js','destPath':this[o(0x95)][o(0xa2)]({'pathParts':[o(0x8f),'startup',b[o(0x87)],'methods',d,f+o(0xa1)+h]}),'context':g,'config':c});const i=this[o(0x95)][o(0xa2)]({'pathParts':[o(0x8f),o(0xa5),b[o(0x87)],'index.'+c[o(0x93)]['js']]});await this[o(0x95)][o(0x9c)]({'filePath':i,'content':o(0x94)+d+f+o(0x9f)});}catch(j){Log[o(0xa4)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133p=a133d;function
|
|
1
|
+
const a133p=a133d;function a133c(){const r=['187122tQwpmN','engines','theme','dir','findProjectDirectory','create','package','server','constructor','/package.js','lib','package/','packages','.js','client','hasOwnProperty','template/template.js','tests/client','pathFromAppWithNoReWrite','2424490HXeHij','9yxUaBs','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','scaffold','resourceName','pathFromApp','319622REjxkr','46456SfLbuU','(((.+)+)+)+$','478532ICUJcI','15vQIMtc','package/package.js','1548946HgdmLO','search','template','component','store','graphql','getMakaProjectConfig','toString','relative','tests/server','noRename','41119wUtSxk','ssr','apply','cfg','3CYFzaJ'];a133c=function(){return r;};return a133c();}(function(a,b){const m=a133d,c=a();while(!![]){try{const d=-parseInt(m(0x155))/0x1+-parseInt(m(0x144))/0x2*(-parseInt(m(0x159))/0x3)+-parseInt(m(0x147))/0x4*(parseInt(m(0x148))/0x5)+-parseInt(m(0x15a))/0x6+parseInt(m(0x14a))/0x7+parseInt(m(0x145))/0x8*(-parseInt(m(0x13f))/0x9)+parseInt(m(0x13e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x2d89e));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x151)]()['search'](o(0x146))[o(0x151)]()[o(0x162)](a133a)[o(0x14b)](o(0x146));});function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x139;let f=c[d];return f;},a133d(a,b);}a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133p(0x15f)]({'name':a133p(0x160),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a133p(0x140),'validOpts':['dir'],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=paramCase(b[q(0x142)]),d=b[q(0x15d)]?'/'+b[q(0x15d)]+'/':'/',e=this['scaffold'][q(0x143)]({'pathParts':['packages',d,c]}),f=this[q(0x141)][q(0x13d)]({'pathParts':[q(0x166),d,c,'package.js']}),g=await this[q(0x158)][q(0x150)](),h={'name':paramCase(b[q(0x142)]),'myPath':a133e[q(0x152)](this['fsi'][q(0x15e)](),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x142)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':g[q(0x15b)][q(0x139)],'graphql':g[q(0x15b)][q(0x14f)],'ssr':g['engines'][q(0x156)],'isComponent':b[q(0x13a)](q(0x14d)),'isLayout':b['hasOwnProperty']('layout'),'isStore':b[q(0x13a)](q(0x14e)),'features':g['features'],'noRename':!![],'theme':g[q(0x15b)][q(0x15c)]};await this['scaffold'][q(0x14c)]({'srcPath':q(0x149),'destPath':f,'context':h,'config':g}),h[q(0x154)]=![];const i=e+'/client/'+c+'.js';await this[q(0x141)][q(0x14c)]({'srcPath':q(0x13b),'destPath':i,'context':h,'config':g});const j=[q(0x164),q(0x161),q(0x13c),q(0x153)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x167);await this[q(0x141)][q(0x14c)]({'srcPath':q(0x165)+k+q(0x163),'destPath':l,'context':h,'config':g});}});
|