@maka/maka-cli 5.1.1 → 5.1.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/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/_index.js +1 -1
- package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/test/test.command.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 -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 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d
|
|
1
|
+
const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=parseInt(i(0x12e))/0x1*(parseInt(i(0x128))/0x2)+parseInt(i(0x133))/0x3*(-parseInt(i(0x138))/0x4)+parseInt(i(0x122))/0x5+-parseInt(i(0x12a))/0x6+-parseInt(i(0x130))/0x7*(-parseInt(i(0x13c))/0x8)+-parseInt(i(0x12b))/0x9+parseInt(i(0x12d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x68646));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a[k(0x12f)]()[k(0x125)](k(0x13e))[k(0x12f)]()[k(0x127)](a118a)[k(0x125)](k(0x13e));});a118a();function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x11f;let f=c[d];return f;},a118d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a118c(){const n=['service','368eMHBWe','getGlobalConfig','(((.+)+)+)+$','apply','maka\x20{generate,\x20g}:dockerfile','force','app.tar.gz','Generate\x20an\x20updated\x20dockerfile','error','findProjectDirectory','3987885OpqWlX','Dockerfile','create','search','docker/Dockerfile','constructor','26948CwUBri','dockerfile','4057002UfjkNh','6135462WVWCuj','getMakaProjectConfig','8636860IRufjm','20KvireH','toString','95781bscvzl','fsi','maka\x20g:dockerfile','3eNLpzO','join','isFile','cfg','scaffold','3098744Fqjjbd','cert','template'];a118c=function(){return n;};return a118c();}import a118e from'path';Generator[a118l(0x124)]({'name':a118l(0x129),'usage':a118l(0x140),'shortDesc':a118l(0x11f),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0x141),'boolFlag':!![]}],'examples':[a118l(0x132)]},async function(a,b){const m=a118l;try{const c=this[m(0x136)][m(0x12c)](),d=await this['cfg'][m(0x13d)](),f=this[m(0x131)][m(0x121)](),g={'app':c['appName'],'config':c,'appPath':a118e[m(0x134)](f,'app'),'bundlePath':a118e['join'](f,'build',m(0x142)),'useCert':d[m(0x139)]?this[m(0x131)][m(0x135)](d[m(0x139)]):![]};await this[m(0x137)][m(0x13a)]({'srcPath':m(0x126),'destPath':a118e[m(0x134)](f,m(0x123)),'framework':m(0x13b),'context':g,'config':c,'force':b['force']});}catch(h){Log[m(0x120)](h);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a119n=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=parseInt(l(0xef))/0x1+-parseInt(l(0x108))/0x2+parseInt(l(0x110))/0x3+parseInt(l(0x10e))/0x4*(-parseInt(l(0xeb))/0x5)+parseInt(l(0x103))/0x6+parseInt(l(0x10a))/0x7*(-parseInt(l(0x119))/0x8)+parseInt(l(0xf9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x7c7eb));const a119b=(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;};}()),a119a=a119b(this,function(){const m=a119d;return a119a[m(0xfa)]()[m(0x10b)](m(0x117))[m(0xfa)]()['constructor'](a119a)[m(0x10b)](m(0x117));});a119a();import a119e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a119c(){const p=['pkg','import\x20\x27./','setTemplate','832407AnKBWc','.app-tests.js','resourceName','/imports/ui/','theme','force','layouts','template','Creating\x20','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','18136899QrbHNf','toString','baseDir','withTranslations','injectAtBeginningOfFile','css','hooks','apollo','engines','projectConfig','1170210skBoqZ','.css','dir','injectTemplateModule','test','1957276dVaVFr','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','7027349SCOBzL','search','findProjectDirectory','cfg','147604qKfXNV','pages','231420ZauaSS','hook/hook.js','graphql','react','className','hook','template/template.css','(((.+)+)+)+$','checkNpmPackage','8BMcBAG','cssCaseName','fileName','error','fsi','pathFromApp','features','warn','\x20hook...','scaffold','create','assign','85fdbaei'];a119c=function(){return p;};return a119c();}import{Log}from'../tools/log/log.class.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xe4;let f=c[d];return f;},a119d(a,b);}Generator[a119n(0xe9)]({'name':a119n(0x115),'aliases':['h'],'checkWhere':![],'usage':a119n(0xf8),'shortDesc':a119n(0x109),'mustBeInMakaProject':!![],'validOpts':[{'name':a119n(0xfb),'values':[a119n(0xff),'components',a119n(0x10f),a119n(0xf5)]},{'name':'force','boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\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'},async function(a,b){const o=a119n;Log['notice'](o(0xf7)+b[o(0xf1)]+o(0xe7));try{await this[o(0xec)]['checkNpmPackage']('react',{'shouldInstall':!![]});const c=this['fsi']['findAppDirectory'](),d=b['baseDir']?o(0xf2)+b['baseDir']:'/imports/ui/components',f=this[o(0xe8)][o(0xe4)]({'pathParts':[d,b['dir'],kebabCase(b[o(0xf1)]),kebabCase(b[o(0xf1)])]}),g=this[o(0x102)];typeof g['template'][o(0xfe)]==='string'&&this[o(0x10d)][o(0xee)](o(0xfe),g['template'][o(0xfe)]);g['engines'][o(0x112)]===o(0x100)&&!this[o(0xec)][o(0x118)]('@apollo/client')&&(Log[o(0xe6)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[o(0xec)]['installNpmPackage']('@apollo/client\x20isomorphic-fetch',{'cwd':c}));const h={'cssCaseName':kebabCase(b[o(0xf1)]),'camelCaseName':camelCase(b[o(0xf1)]),'className':pascalCase(b[o(0xf1)]),'name':pascalCase(b[o(0xf1)]),'graphql':g[o(0x101)][o(0x112)],'theme':g[o(0x101)][o(0xf3)],'test':g[o(0x101)]['test'],'features':g[o(0xe5)],'myPath':a119e['relative'](this[o(0x11d)][o(0x10c)](),f),'fileName':kebabCase(b[o(0xf1)]),'isComponent':![],'isLayout':![],'withTranslations':g[o(0xe5)][o(0xfc)]};await this['scaffold'][o(0xf6)]({'srcPath':o(0x111),'destPath':f+'.js','context':h,'config':g,'framework':o(0x113),'force':b[o(0xf4)]});g[o(0xf6)]['css']&&(await this[o(0xe8)][o(0xf6)]({'srcPath':o(0x116),'destPath':f+o(0x104),'context':Object[o(0xea)]({},h,{'className':h[o(0x11a)]}),'config':g,'force':b[o(0xf4)]}),await this[o(0xe8)][o(0xfd)]({'filePath':f+'.'+g[o(0x101)]['js'],'content':o(0xed)+h[o(0x11b)]+'.'+g[o(0x101)][o(0xfe)]+'\x27;'}));g[o(0x101)][o(0x107)]!=='none'&&await this['scaffold']['template']({'srcPath':'test/test.js','destPath':f+o(0xf0),'framework':o(0x113),'context':h,'config':g,'force':b[o(0xf4)]});const i=b[o(0x105)]?'/'+b['dir']+'/':'/',j=''+d+i+h['fileName']+'/'+h['fileName'];await this[o(0xe8)][o(0x106)](h[o(0x114)],g,j);}catch(k){Log[o(0x11c)](k);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a120d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a120d,c=a();while(!![]){try{var d=-parseInt(f(0x8c))/0x1*(parseInt(f(0x8d))/0x2)+-parseInt(f(0x8b))/0x3+parseInt(f(0x89))/0x4*(parseInt(f(0x91))/0x5)+parseInt(f(0x8e))/0x6*(-parseInt(f(0x8f))/0x7)+-parseInt(f(0x88))/0x8+parseInt(f(0x87))/0x9*(-parseInt(f(0x86))/0xa)+-parseInt(f(0x85))/0xb*(-parseInt(f(0x92))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x75df6));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0x84)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a['toString']()[h(0x90)](h(0x8a))['toString']()['constructor'](a120a)['search']('(((.+)+)+)+$');});a120a();function a120c(){var i=['234sZnksR','6264032zxweOz','4TRbVwr','(((.+)+)+)+$','516111QgbAvc','27InrlHl','47198UpixZX','340410gBFTnz','56HfeGni','search','1213250wuTGJT','18368172eCBMca','apply','22VRAWtl','298120lYyUPc'];a120c=function(){return i;};return a120c();}import'./kit.js';import'./mui/_index.js';function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x84;var f=c[d];return f;},a120d(a,b);}import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a121d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a121d,c=a();while(!![]){try{var d=parseInt(f(0x12d))/0x1+-parseInt(f(0x129))/0x2+-parseInt(f(0x12f))/0x3*(-parseInt(f(0x122))/0x4)+parseInt(f(0x127))/0x5+-parseInt(f(0x124))/0x6*(parseInt(f(0x12b))/0x7)+parseInt(f(0x128))/0x8+-parseInt(f(0x126))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xaad6b));var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a[h(0x12c)]()[h(0x12a)](h(0x12e))['toString']()[h(0x123)](a121a)[h(0x12a)](h(0x12e));});a121a();function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0x122;var f=c[d];return f;},a121d(a,b);}function a121c(){var i=['21zPDkLJ','toString','1117647slPHZT','(((.+)+)+)+$','333tYgqGA','8504roAMoQ','constructor','431934qnfokt','apply','3995757dKTwyH','3429625ALyfvt','3066448WgwLVU','2126338uYIXSh','search'];a121c=function(){return i;};return a121c();}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a122i=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d=parseInt(f(0xbe))/0x1*(-parseInt(f(0xcc))/0x2)+-parseInt(f(0xd1))/0x3+-parseInt(f(0xc1))/0x4*(-parseInt(f(0xcb))/0x5)+parseInt(f(0xc5))/0x6+parseInt(f(0xcf))/0x7*(parseInt(f(0xc0))/0x8)+parseInt(f(0xce))/0x9+-parseInt(f(0xcd))/0xa*(parseInt(f(0xc7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x3a1fb));function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xbe;let f=c[d];return f;},a122d(a,b);}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a122d;if(c){const e=c[g(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const h=a122d;return a122a[h(0xc4)]()[h(0xd2)]('(((.+)+)+)+$')[h(0xc4)]()[h(0xc9)](a122a)['search']('(((.+)+)+)+$');});function a122c(){const j=['4281291wqJXOJ','70CHcyGx','auth','568401LKZhNE','search','751nBwYsc','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','285488PFjJPY','53476bWuGsy','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','maka\x20g:kit:a','toString','567612gGQMvd','apply','11zPTKdx','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','constructor','create','25soJrDS','1042Nrrwzs','1751930uQQpbR'];a122c=function(){return j;};return a122c();}a122a();import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122i(0xca)]({'name':a122i(0xd0),'aliases':['a'],'usage':a122i(0xc8),'shortDesc':a122i(0xbf),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122i(0xc3)],'description':a122i(0xc2)},async function(){throw'NIE';},async function(){},a122e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a123v=a123d;
|
|
1
|
+
const a123v=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=parseInt(s(0x136))/0x1+-parseInt(s(0x137))/0x2*(parseInt(s(0x143))/0x3)+-parseInt(s(0x141))/0x4*(-parseInt(s(0x162))/0x5)+-parseInt(s(0x131))/0x6+parseInt(s(0x126))/0x7+parseInt(s(0x128))/0x8+parseInt(s(0x142))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xf251c));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a[u(0x152)]()[u(0x160)](u(0x159))['toString']()[u(0x13f)](a123a)[u(0x160)]('(((.+)+)+)+$');});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x120;let f=c[d];return f;},a123d(a,b);}a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a123f from'./auth.generator.js';function a123c(){const x=['3003156dXlxjb','6isecba','useEffect\x5c(','exit','\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','Meteor.publish','force','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','apply','useTracker','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','const\x20deauthenticateUser','.js','/imports/startup/lib/authentication-service','create','toString','meteor/maka:react-tracker','REACT','/imports/startup/client','auth/roles','\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','injectIntoCodeBlock','(((.+)+)+)+$','engines','startup','meteor','/imports/startup/client/authentication-service','/imports/startup/server/publications/auth/roles.js','findAppDirectory','search','injectIntoFile','3780cBfqck','const\x20resetPasswordWithToken','\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','kit/auth/service/meteor-auth-service.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','export\x20const\x20AuthProvider','react','8276408WGYpAA','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','6176808XqwPux','accounts-password','AuthService','const\x20sendForgotPasswordEmail','index','kit:auth:provider','injectImport','Meteor.startup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','9020772IiKGPs','publish','const\x20getUserAuthorizations','imports','pathFromApp','1047363zAhsWN','1651434GjOEOE','checkMeteorPackage','\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','Meteor','const\x20authenticateUser','meteor/meteor','template','ssr','constructor','findProjectDirectory','4296zHvNvC'];a123c=function(){return x;};return a123c();}import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123v(0x151)]({'name':'meteor','aliases':['m'],'usage':a123v(0x14a),'shortDesc':a123v(0x14d),'validOpts':[a123v(0x148)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123v(0x154)]},'description':a123v(0x121)},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x148)]||![];await d[w(0x138)]([w(0x129)],{'shouldInstall':!![]});const i=c[w(0x140)](),j=c[w(0x15f)](),k=g[w(0x15a)][w(0x13e)]===w(0x15c);await a123g['processAndRunGenerator'](w(0x12d),[],{'force':h,'cwd':i,'config':g}),await a123g['processAndRunGenerator'](w(0x132),[w(0x156)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e['normalize'](w(0x15e)),m=k?'/imports/startup/lib':w(0x155),n=f[w(0x135)]({'pathParts':[m,'','','authentication-service']});await f[w(0x13d)]({'srcPath':w(0x122),'destPath':n+w(0x14f),'framework':w(0x125),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','','authentication-provider']}),p=g[w(0x15a)]['js'];await f[w(0x12e)]({'filePath':o+'.'+p,'importName':w(0x12a),'modulePath':k?w(0x150):w(0x15d),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x157),'begin':w(0x13b),'replace':!![]}),await f[w(0x158)]({'filePath':o+'.'+p,'content':w(0x146),'begin':'const\x20authenticateToken','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\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','begin':w(0x133),'replace':!![]}),await f[w(0x158)]({'filePath':o+'.'+p,'content':w(0x149),'begin':w(0x14e),'replace':!![]}),await f[w(0x158)]({'filePath':o+'.'+p,'content':w(0x130),'begin':w(0x12b),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x127),'begin':'const\x20registerNewUser','replace':!![]}),await f[w(0x158)]({'filePath':o+'.'+p,'content':w(0x123),'begin':w(0x120),'replace':!![]});k&&(await f[w(0x12e)]({'filePath':o+'.'+p,'importName':w(0x14c),'modulePath':w(0x153),'isNamedExport':!![]}),await f[w(0x161)]({'filePath':o+'.'+p,'content':'\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','begin':w(0x124),'end':w(0x144)}));await f[w(0x12e)]({'filePath':l,'importName':w(0x13a),'modulePath':w(0x13c),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x158)]({'filePath':l,'content':w(0x139),'begin':w(0x147),'replace':!![]});const q=f['pathFromApp']({'pathParts':[w(0x134),w(0x15b),'server',w(0x12c)]});await f['injectImport']({'filePath':q+'.'+p,'importName':'Accounts','modulePath':'meteor/accounts-base','isNamedExport':!![]}),await f[w(0x158)]({'filePath':q+'.'+p,'content':'\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','begin':w(0x12f),'replace':!![]});}catch(r){Log['error'](r),process[w(0x145)](0x1);}},async function(){},a123f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x164))/0x1*(parseInt(u(0x149))/0x2)+-parseInt(u(0x155))/0x3+parseInt(u(0x15a))/0x4+-parseInt(u(0x168))/0x5*(-parseInt(u(0x154))/0x6)+-parseInt(u(0x15c))/0x7+parseInt(u(0x156))/0x8*(parseInt(u(0x14a))/0x9)+parseInt(u(0x151))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xbcb28));function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x143;let f=c[d];return f;},a124d(a,b);}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0x165)]()['search']('(((.+)+)+)+$')[w(0x165)]()[w(0x16a)](a124a)[w(0x174)]('(((.+)+)+)+$');});function a124c(){const z=['/imports/startup/server/index','616595CbDbDC','injectImport','/imports/startup/client/authentication-provider','engines','appName','exit','/imports/startup/lib','AuthProvider','19VarOJh','toString','</AuthProvider>','<AuthProvider>','3079515NdjMLN','<AppRoutes\x20history={history}/>','constructor','function\x20useAuth','force','injectIntoCodeBlock','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','error','scaffold','authentication-provider','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','REACT','search','const\x20useAuth','/imports/startup/lib/authentication-provider','meteor','kit/auth/provider/authentication-provider.js','pathFromApp','<AppRoutes\x20/>','92060qZlcNI','351QoibSz','bright','template','const\x20PrivateRoute','AuthContext','split','react','3736260eWqjDa','create','\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','12KioZHP','615453POkYTX','64536NyNgUC','apply','injectAroundString','/routes','82660KQJfjy'];a124c=function(){return z;};return a124c();}a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124x(0x152)]({'name':'provider','aliases':['p'],'usage':a124x(0x16e),'shortDesc':a124x(0x172),'validOpts':[a124x(0x16c)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x173)]},'description':a124x(0x153)},async function(a,b){const y=a124x;try{const c=b['force']||![];Log[y(0x14b)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const {projectConfig:d}=this,f=d['engines']['ssr']===y(0x145),g={'name':capitalCase(d[y(0x160)])},h=f?y(0x162):'/imports/startup/client',i=this[y(0x170)][y(0x147)]({'pathParts':[h,'','',y(0x171)]});await this['scaffold'][y(0x14c)]({'srcPath':y(0x146),'destPath':i+'.js','framework':y(0x150),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x15f)]['js'],k=h+y(0x159),l=k[y(0x14f)]('/'),m=this[y(0x170)][y(0x147)]({'pathParts':l});await this[y(0x170)][y(0x15d)]({'filePath':m+'.'+j,'importName':y(0x14e),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x15e),'isNamedExport':!![]}),await this[y(0x170)]['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x170)][y(0x16d)]({'filePath':m+'.'+j,'content':'\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','begin':[y(0x143),y(0x16b)],'replace':!![]}),await this[y(0x170)][y(0x16d)]({'filePath':m+'.'+j,'content':'\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','begin':[y(0x14d)],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x14f)]('/'),p=this[y(0x170)][y(0x147)]({'pathParts':o});await this['scaffold'][y(0x15d)]({'filePath':p+'.'+j,'importName':y(0x163),'modulePath':f?y(0x144):y(0x15e),'isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x166),'targetString':y(0x148),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x15b),r=q[y(0x14f)]('/'),s=this['scaffold'][y(0x147)]({'pathParts':r});await this[y(0x170)][y(0x15d)]({'filePath':s+'.'+j,'importName':y(0x163),'modulePath':f?y(0x144):y(0x15e),'isNamedExport':!![]}),await this[y(0x170)][y(0x158)]({'filePath':s+'.'+j,'aboveContent':y(0x167),'belowContent':y(0x166),'targetString':y(0x169),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x16f)](t),process[y(0x161)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a125c(){var i=['constructor','576155bDruCX','77CCwrTP','5310aaenDF','search','116703oECYZL','8987MgRYwX','(((.+)+)+)+$','357780OGmjUs','2UtNFpH','apply','902640AZTVSM','111330SKyQPR','144KDzcZh','103396vktitF'];a125c=function(){return i;};return a125c();}function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x6e;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x70))/0x1*(-parseInt(f(0x7a))/0x2)+parseInt(f(0x79))/0x3+parseInt(f(0x7c))/0x4+-parseInt(f(0x72))/0x5+parseInt(f(0x6e))/0x6*(-parseInt(f(0x73))/0x7)+-parseInt(f(0x6f))/0x8*(parseInt(f(0x76))/0x9)+-parseInt(f(0x74))/0xa*(-parseInt(f(0x77))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x1def1));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a['toString']()[h(0x75)]('(((.+)+)+)+$')['toString']()[h(0x71)](a125a)[h(0x75)](h(0x78));});a125a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x1b3))/0x1*(-parseInt(f(0x1ba))/0x2)+parseInt(f(0x1be))/0x3+parseInt(f(0x1bd))/0x4*(-parseInt(f(0x1c4))/0x5)+parseInt(f(0x1c2))/0x6*(parseInt(f(0x1bb))/0x7)+-parseInt(f(0x1b7))/0x8*(parseInt(f(0x1c7))/0x9)+parseInt(f(0x1c6))/0xa+parseInt(f(0x1b8))/0xb*(parseInt(f(0x1b4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x498ce));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x1b9)]()[h(0x1c1)](h(0x1b6))[h(0x1b9)]()[h(0x1c5)](a126a)['search']('(((.+)+)+)+$');});a126a();function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1b3;let f=c[d];return f;},a126d(a,b);}import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';function a126c(){const j=['270bWkcvo','\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','13GZvBNw','14604IoJKuk','esri','(((.+)+)+)+$','48968KCNkfM','2629hAaIQh','toString','41284kzEugC','14uiCbta','create','4BfQzji','926466LyRbWV','maka\x20g:kit:e','apply','search','1127682sCwcQs','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','1408675hHNrqK','constructor','593940CoiMwO'];a126c=function(){return j;};return a126c();}const EsriGen=Generator[a126i(0x1bc)]({'name':a126i(0x1b5),'aliases':['e'],'usage':a126i(0x1c3),'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x1bf)],'description':a126i(0x1c8)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127u=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d
|
|
1
|
+
const a127u=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=parseInt(s(0x120))/0x1*(parseInt(s(0x109))/0x2)+parseInt(s(0x11d))/0x3*(parseInt(s(0x10b))/0x4)+-parseInt(s(0x137))/0x5+-parseInt(s(0x122))/0x6*(parseInt(s(0x116))/0x7)+parseInt(s(0x113))/0x8+-parseInt(s(0x10a))/0x9*(-parseInt(s(0x115))/0xa)+-parseInt(s(0x12d))/0xb*(parseInt(s(0x131))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xa35b1));function a127c(){const w=['meteor','injectIntoFile','4240524eMBAii','react','</div>','error','REACT','processAndRunGenerator','2269550wiGnmy','injectTemplateModule','4502nbesru','3843351EARZcb','12jUWJfV','@esri/react-arcgis','replaceAll','appName','checkNpmPackage','kit/esri/map/','/imports/ui/','exit','2784320JIbnwP','.js','10wTNhsT','4064921fsOIyI','Generating\x20a\x20map\x20component','\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','<div\x20id=\x22map\x22>','constructor','map','/imports/startup/client/templates','703509tcgOMz','create','dir','257wcRYpO','pathFromApp','6gBpBqp','toString','search','Generate\x20an\x20Esri\x20map\x20component','NONE','split','page','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','bright','ssr','esri-loader','11pXSIYG','engines'];a127c=function(){return w;};return a127c();}function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x109;let f=c[d];return f;},a127d(a,b);}const a127b=(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;};}()),a127a=a127b(this,function(){const t=a127d;return a127a['toString']()['search']('(((.+)+)+)+$')[t(0x123)]()[t(0x11a)](a127a)[t(0x124)]('(((.+)+)+)+$');});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127e from'./esri.generator.js';import a127f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127u(0x11e)]({'name':a127u(0x11b),'aliases':['m'],'usage':a127u(0x129),'shortDesc':a127u(0x125),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127u(0x135)],'ssr':SsrEngines[a127u(0x126)]},'description':a127u(0x118)},async function(a,b){const v=a127u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[v(0x12a)](v(0x117));const h='basic-map';await f[v(0x10f)]([v(0x10c),v(0x12c)],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[v(0x12e)][v(0x12b)]===v(0x12f),k=await a127f[v(0x136)](v(0x128),['map'],{'cwd':i,'config':c}),l={'name':capitalCase(c[v(0x10e)])[v(0x10d)]('-','\x20'),'componentName':pascalCase(h)},m=b['baseDir']?v(0x111)+b['baseDir']:'/imports/ui/components',n=g[v(0x121)]({'pathParts':[m,b['dir'],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':v(0x110)+h+v(0x114),'destPath':n+v(0x114),'framework':v(0x132),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[v(0x11f)]+'/'+h+'/'+h;await g[v(0x138)](h,c,o);const p=k[v(0x127)]('/'),q=g['pathFromApp']({'pathParts':p});await g['injectImport']({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':v(0x11c),'isNamedExport':!![]}),await g[v(0x130)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[v(0x119),v(0x119)],'end':[v(0x133)],'replace':!![]});}catch(r){Log[v(0x134)](r),process[v(0x112)](0x1);}},async function(){},a127e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=-parseInt(f(0x16c))/0x1*(parseInt(f(0x166))/0x2)+-parseInt(f(0x170))/0x3+-parseInt(f(0x165))/0x4+-parseInt(f(0x161))/0x5+parseInt(f(0x16d))/0x6+-parseInt(f(0x163))/0x7*(-parseInt(f(0x169))/0x8)+parseInt(f(0x160))/0x9*(parseInt(f(0x16f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x7550a));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a['toString']()[h(0x15f)](h(0x16b))['toString']()[h(0x16a)](a128a)['search'](h(0x16b));});a128a();import{Generator}from'../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x15f;let f=c[d];return f;},a128d(a,b);}function a128c(){const j=['Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','1063432qbCxqs','constructor','(((.+)+)+)+$','87NKRsZh','2197290zRZfJB','kit','22221730tuEZki','1292958gaLjcE','search','9AxMbav','1026445cSXRGg','maka\x20g:k','14wbMqTu','apply','3272480gPgryG','21134wzBctb','maka\x20g:kit'];a128c=function(){return j;};return a128c();}const KitGen=Generator['create']({'name':a128i(0x16e),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a128i(0x168),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128i(0x167),a128i(0x162)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0x118))/0x1+-parseInt(f(0x11d))/0x2*(parseInt(f(0x121))/0x3)+parseInt(f(0x125))/0x4*(-parseInt(f(0x123))/0x5)+-parseInt(f(0x126))/0x6*(parseInt(f(0x124))/0x7)+parseInt(f(0x11c))/0x8*(-parseInt(f(0x11b))/0x9)+-parseInt(f(0x128))/0xa*(parseInt(f(0x122))/0xb)+-parseInt(f(0x127))/0xc*(-parseInt(f(0x11f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x57cf3));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0x119)]()['search'](h(0x120))[h(0x119)]()['constructor'](a129a)[h(0x11e)](h(0x120));});a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x118;var f=c[d];return f;},a129d(a,b);}function a129c(){var i=['apply','286227ZWDxhI','160cblBuq','827530ztPcXX','search','21986341rhzWrF','(((.+)+)+)+$','3HGlUHV','1870616DAMIXO','60025KSPmtn','427jPhsnO','224QwOswk','67542XpGSOk','24TfqNUq','10yNUBTh','444009SbMqsY','toString'];a129c=function(){return i;};return a129c();}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=parseInt(I(
|
|
1
|
+
const a130L=a130d;function a130c(){const O=['ssr','AuthContext','Custom\x20(roll\x20your\x20own)','template','basic-register-page','1493540DIPcFR','kit/mui/auth/forgot-password/','auth','basic-logout-page','.js','kit/mui/auth/password-reset/','MATERIAL','react','53467NnNAlG','4gelyZb','REACT','register','custom','dir','appName','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','log','authType','reset-password/:token','route','split','kit/mui/auth/register/','basic-password-reset-page','force','login','constructor','select','forgot-password','/imports/startup/lib/authentication-provider','181832yltexH','search','processAndRunGenerator','logout','layouts','/imports/startup/client/authentication-provider','Cleaning\x20up...','pathFromApp','toString','3275049rfGVsE','(((.+)+)+)+$','3150441fFDwwT','findProjectDirectory','baseDir','kit:auth:meteor','engines','1517105AOCnzO','maka\x20g:k:m:a','9524482FEcAcy','apply','basic-login-page','/imports/ui/pages/auth','error','kit/mui/auth/login/','22BzpJvX','injectImport','maka\x20generate:kit:mui:auth','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','18SNMYgJ','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','meteor','154UHehFn','injectTemplateModule'];a130c=function(){return O;};return a130c();}(function(a,b){const I=a130d,c=a();while(!![]){try{const d=parseInt(I(0x1b4))/0x1*(parseInt(I(0x19e))/0x2)+-parseInt(I(0x1d2))/0x3*(-parseInt(I(0x1b5))/0x4)+parseInt(I(0x1d9))/0x5*(-parseInt(I(0x1a2))/0x6)+-parseInt(I(0x1a5))/0x7*(-parseInt(I(0x1c9))/0x8)+parseInt(I(0x1d4))/0x9+-parseInt(I(0x1ac))/0xa+-parseInt(I(0x1db))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x9390c));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x19b;let f=c[d];return f;},a130d(a,b);}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a['toString']()['search'](K(0x1d3))[K(0x1d1)]()[K(0x1c5)](a130a)[K(0x1ca)](K(0x1d3));});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a130L(0x1ae),'aliases':['a'],'usage':a130L(0x1a1),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a130L(0x1cd),a130L(0x1c3)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0x1b2)],'client':ClientEngines[a130L(0x1b6)]},'examples':[a130L(0x1a0),a130L(0x1da)],'description':a130L(0x1a3)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x1c3)]||![],h=d[M(0x1d5)](),i=await Actions[M(0x1c6)]({'name':M(0x1bd),'message':M(0x1bb),'choices':[{'name':'Meteor\x20Accounts','value':'meteor'},{'name':M(0x1a9),'value':'custom'}]}),j=M(0x1dd),k='basic-logout-page',l='basic-register-page',m='basic-password-reset-page',n='basic-forgot-password-page',o=b[M(0x1d6)]?'/imports/ui/'+b['baseDir']:M(0x19b),p=f[M(0x1d0)]({'pathParts':[o,b[M(0x1b9)],kebabCase(j),kebabCase(j)]}),q=f['pathFromApp']({'pathParts':[o,b[M(0x1b9)],kebabCase(k),kebabCase(k)]}),r=f[M(0x1d0)]({'pathParts':[o,b[M(0x1b9)],kebabCase(l),kebabCase(l)]}),s=f['pathFromApp']({'pathParts':[o,b[M(0x1b9)],kebabCase(m),kebabCase(m)]}),t=f[M(0x1d0)]({'pathParts':[o,b[M(0x1b9)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x1ba)])};await f[M(0x1aa)]({'srcPath':M(0x19d)+j+'.js','destPath':p+M(0x1b0),'framework':M(0x1b3),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1aa)]({'srcPath':'kit/mui/auth/logout/'+k+M(0x1b0),'destPath':q+'.js','framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1aa)]({'srcPath':M(0x1c1)+l+'.js','destPath':r+M(0x1b0),'framework':M(0x1b3),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1aa)]({'srcPath':M(0x1b1)+m+M(0x1b0),'destPath':s+M(0x1b0),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x1ad)+n+M(0x1b0),'destPath':t+M(0x1b0),'framework':M(0x1b3),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x1b9)]+'/'+j+'/'+j;await f[M(0x1a6)](j,c,v);const w=''+o+b[M(0x1b9)]+'/'+k+'/'+k;await f['injectTemplateModule'](k,c,w);const x=''+o+b[M(0x1b9)]+'/'+l+'/'+l;await f[M(0x1a6)](l,c,x);const y=''+o+b[M(0x1b9)]+'/'+m+'/'+m;await f[M(0x1a6)](m,c,y);const z=''+o+b[M(0x1b9)]+'/'+n+'/'+n;await f[M(0x1a6)](n,c,z),await a130e[M(0x1cb)](M(0x1bf),[M(0x1dd)],{'route':M(0x1c4),'cwd':h,'config':c}),await a130e[M(0x1cb)](M(0x1bf),[M(0x1af)],{'route':M(0x1cc),'private':!![],'cwd':h,'config':c}),await a130e[M(0x1cb)](M(0x1bf),[M(0x1ab)],{'route':M(0x1b7),'cwd':h,'config':c}),await a130e[M(0x1cb)](M(0x1bf),[M(0x1c2)],{'route':M(0x1be),'cwd':h,'config':c}),await a130e[M(0x1cb)]('route',['basic-forgot-password-page'],{'route':M(0x1c7),'cwd':h,'config':c});i===M(0x1a4)&&await a130e[M(0x1cb)](M(0x1d7),[],{'force':g,'cwd':h,'config':c});i===M(0x1b8)&&await a130e[M(0x1cb)]('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c[M(0x1d8)][M(0x1a7)]===M(0x1a4),B=c[M(0x1d8)]['js'],C=f['pathFromApp']({'pathParts':v[M(0x1c0)]('/')});await f[M(0x19f)]({'filePath':C+'.'+B,'importName':M(0x1a8),'modulePath':A?M(0x1c8):M(0x1ce),'isNamedExport':!![]});const D=f[M(0x1d0)]({'pathParts':w[M(0x1c0)]('/')});await f[M(0x19f)]({'filePath':D+'.'+B,'importName':'AuthContext','modulePath':A?M(0x1c8):M(0x1ce),'isNamedExport':!![]});const E=f[M(0x1d0)]({'pathParts':x[M(0x1c0)]('/')});await f[M(0x19f)]({'filePath':E+'.'+B,'importName':'AuthContext','modulePath':A?M(0x1c8):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const F=f['pathFromApp']({'pathParts':y[M(0x1c0)]('/')});await f[M(0x19f)]({'filePath':F+'.'+B,'importName':M(0x1a8),'modulePath':A?M(0x1c8):M(0x1ce),'isNamedExport':!![]});const G=f[M(0x1d0)]({'pathParts':z[M(0x1c0)]('/')});await f['injectImport']({'filePath':G+'.'+B,'importName':M(0x1a8),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x1ce),'isNamedExport':!![]});}catch(H){Log[M(0x19c)](H),process['exit'](0x1);}},async function(){const N=a130L;console[N(0x1bc)](N(0x1cf));},a130f);export default a130f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131G=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(0x107))/0x1*(parseInt(E(0x101))/0x2)+-parseInt(E(0x11a))/0x3*(parseInt(E(0xe0))/0x4)+parseInt(E(0x10a))/0x5*(-parseInt(E(0xdb))/0x6)+parseInt(E(0xed))/0x7*(-parseInt(E(0xf4))/0x8)+parseInt(E(0xf9))/0x9*(parseInt(E(0xee))/0xa)+parseInt(E(0xdc))/0xb*(-parseInt(E(0x109))/0xc)+parseInt(E(0xde))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x1da33));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 F=a131d;return a131a['toString']()['search']('(((.+)+)+)+$')[F(0x115)]()[F(0xf2)](a131a)[F(0xe9)](F(0xd9));});a131a();function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xd8;let f=c[d];return f;},a131d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a131c(){const J=['13974kjJQLw','maka\x20g:k:m:f','84LDyJky','206725tjLPRH','imports','force','@mui/material/Container','/imports/startup/client/templates','</div>','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','join','appName','getDirectories','findAppDirectory','toString','/imports/ui/components','react','app-tests','pathFromApp','180924SonCNh','test','No\x20layouts\x20selected','baseDir','Box','jsx','injectIntoFile','MATERIAL','(((.+)+)+)+$','kit/mui/frame/drawers/','12rkBiLF','169411pcMSsK','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','7331480tBIvbv','basic-sticky-footer','16ksCgLR','<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>','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','<div\x20id=\x22','@mui/material/Box','\x20/>\x0a','injectImport','maka:react-tracker','error','search','template','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','frame','1680266GPnRyz','6740gEVGVs','create','-hook\x22>','<Outlet\x20/>','constructor','/imports/ui/','8JOesTy','.js','kit/mui/frame/footers/','injectTemplateModule','/imports/startup/lib/templates','1008RBZZHi','injectAroundString','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','layouts','session','maka\x20generate:kit:mui:frame','Container','engines','22BXjDkR','getFiles','<Outlet/>','dir','checkMeteorPackage','log'];a131c=function(){return J;};return a131c();}import{Actions}from'../../../tools/actions/actions.class.js';import a131e from'path';import a131f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131G(0xef)]({'name':a131G(0xec),'aliases':['f'],'usage':a131G(0xe2),'shortDesc':a131G(0xdd),'validOpts':[a131G(0xfc),a131G(0x11d),'dir',a131G(0x10c)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131G(0xd8)],'client':ClientEngines['REACT']},'examples':[a131G(0xfe),a131G(0x108)],'description':a131G(0xeb)},async function(a,b){const H=a131G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[H(0x10c)]||![],i='basic-app-bar',j='basic-drawer',k=H(0xdf),l=c[H(0x100)]['ssr']==='meteor';await f[H(0x105)]([H(0xfd),H(0xe7)],{'shouldInstall':!![]});const m=d[H(0x114)](),n=a131e[H(0x111)](m,H(0x10b),'ui',H(0xfc)),o=d[H(0x113)](n),p=o['map'](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':H(0x110),'name':'layouts','choices':p});if(q['length']===0x0){Log['error'](H(0x11c));return;}const r=b['baseDir']?H(0xf3)+b[H(0x11d)]:H(0x116),s=g[H(0x119)]({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g[H(0x119)]({'pathParts':[r,b['dir'],kebabCase(j),kebabCase(j)]}),u=g[H(0x119)]({'pathParts':[r,b[H(0x104)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x112)])};await g['template']({'srcPath':'kit/mui/frame/app-bars/'+i+H(0xf5),'destPath':s+H(0xf5),'framework':H(0x117),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0xea)]({'srcPath':H(0xda)+j+H(0xf5),'destPath':t+'.js','framework':H(0x117),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0xea)]({'srcPath':H(0xf6)+k+H(0xf5),'destPath':u+'.js','framework':H(0x117),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g[H(0xf7)](i,c,w);const x=''+r+b[H(0x104)]+'/'+j+'/'+j;await g[H(0xf7)](j,c,x);const y=''+r+b[H(0x104)]+'/'+k+'/'+k;await g[H(0xf7)](k,c,y);for(const z of q){const A=d[H(0x102)](a131e['join'](n,z),{'extensions':[H(0x11f),'tsx'],'omit':[H(0x118),'tests',H(0x11b)]});for(const B of A){const C=a131e['join'](n,z,B);await g['injectImport']({'filePath':C,'importName':H(0x11e),'modulePath':H(0xe4),'isNamedExport':![]}),await g[H(0xe6)]({'filePath':C,'importName':H(0xff),'modulePath':H(0x10d),'isNamedExport':![]}),await g[H(0xe6)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0xf8):H(0x10e),'isNamedExport':!![]}),await g[H(0x120)]({'filePath':C,'content':'<'+pascalCase(i)+H(0xe5),'begin':['<div\x20id=\x22'+z+'\x22>',H(0xe3)+z+H(0xf0)],'end':[H(0x103),'<Outlet\x20/>']}),await g[H(0xe6)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0xf8):H(0x10e),'isNamedExport':!![]}),await g[H(0x120)]({'filePath':C,'content':'<'+pascalCase(j)+H(0xe5),'begin':[H(0xe3)+z+'\x22>',H(0xe3)+z+H(0xf0)],'end':[H(0x103),H(0xf1)]}),await g[H(0x120)]({'filePath':C,'content':'<'+pascalCase(k)+H(0xe5),'begin':[H(0x103),H(0xf1)],'end':[H(0x10f)]}),await g[H(0xe6)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0xf8):H(0x10e),'isNamedExport':!![]}),await g[H(0xfa)]({'filePath':C,'aboveContent':H(0xe1),'belowContent':H(0xfb),'targetString':[H(0x103),'<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0xe8)](D);}},async function(){const I=a131G;console[I(0x106)]('Cleaning\x20up...');},a131f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132i=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d=parseInt(g(0x88))/0x1*(-parseInt(g(0x87))/0x2)+parseInt(g(0x8b))/0x3+-parseInt(g(0x81))/0x4*(-parseInt(g(0x9d))/0x5)+-parseInt(g(0xa4))/0x6*(-parseInt(g(0x9a))/0x7)+-parseInt(g(0x97))/0x8*(parseInt(g(0x96))/0x9)+parseInt(g(0x92))/0xa*(-parseInt(g(0x9f))/0xb)+-parseInt(g(0x90))/0xc*(-parseInt(g(0x7f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x1aca4));const a132b=(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;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x82)]()[h(0x9e)](h(0x80))[h(0x82)]()[h(0x84)](a132a)[h(0x9e)](h(0x80));});a132a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';import a132f from'../kit.js';const MuiGen=Generator[a132i(0x86)]({'name':a132i(0x7e),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','resourceNameRequired':![],'shortDesc':a132i(0x7d),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const j=a132i;try{Log[j(0xa0)](j(0xa3)),Log[j(0x95)](j(0x94));const a=await Actions['checkbox']({'message':j(0x98),'name':j(0x89),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':j(0x91)},{'name':j(0x9c),'value':j(0x9b)}]}),b=this[j(0x93)][j(0x8f)](),c=this[j(0x8c)][j(0x8e)]();a[j(0xa1)](j(0x91))&&await a132e['processAndRunGenerator'](j(0x99),[],{'force':!![],'cwd':b,'config':c});a[j(0xa1)]('auth')&&await a132e['processAndRunGenerator'](j(0x83),[],{'force':!![],'cwd':b,'config':c});if(a[j(0x8a)]===0x0){Log['info'](j(0x85));return;}}catch(d){Log[j(0x8d)](d),process[j(0xa2)](0x1);}},async function(){},a132f);function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x7d;let f=c[d];return f;},a132d(a,b);}function a132c(){const k=['56opICmW','auth','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','5ogDSjK','search','1271666KPqley','info','includes','exit','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','95532EUfELi','Material-UI\x20Kit','mui','1417bJSFqv','(((.+)+)+)+$','378068nHvelr','toString','kit:mui:auth','constructor','No\x20MUI\x20kits\x20selected.\x20Exiting.','create','2yNhCOq','181289zivJGY','kitChoices','length','111009drITVJ','cfg','error','getMakaProjectConfig','findProjectDirectory','32316Mxktgu','frame','10ODbTbu','fsi','\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','notice','69066uOFtph','152HjLAna','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','kit:mui:frame'];a132c=function(){return k;};return a132c();}export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133s=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d=-parseInt(p(
|
|
1
|
+
const a133s=a133d;(function(a,b){const p=a133d,c=a();while(!![]){try{const d=-parseInt(p(0x143))/0x1*(-parseInt(p(0x132))/0x2)+-parseInt(p(0x145))/0x3*(-parseInt(p(0x13d))/0x4)+-parseInt(p(0x12c))/0x5+parseInt(p(0x13f))/0x6+parseInt(p(0x149))/0x7*(parseInt(p(0x136))/0x8)+-parseInt(p(0x137))/0x9+-parseInt(p(0x13c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xacd0d));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a133d;if(c){const e=c[q(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const r=a133d;return a133a[r(0x131)]()[r(0x14c)](r(0x12b))[r(0x131)]()['constructor'](a133a)[r(0x14c)](r(0x12b));});a133a();import a133e from'path';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x121;let f=c[d];return f;},a133d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a133c(){const u=['template','create','theme','dir','maka\x20g:l\x20web/safari','withHook','apply','features','test','.js','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','/imports/ui/layouts','fileName','string','findAppDirectory','(((.+)+)+)+$','1334130LjLdLd','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','installNpmPackage','injectAtBeginningOfFile','relative','toString','2JkUIpx','checkNpmPackage','none','client','8kFrqWS','8080056kwClTp','template/template.css','warn','.css','react','12464380aBhFcd','1064624xqAEHS','ramda','2548674sjUDQk','css','resourceName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','187955wnvIiC','engines','15xbNkbY','injectTemplateModule','setTemplate','import\x20\x27./','8227709rNUZaE','split','Scaffolding\x20for\x20a\x20React\x20Layout.','search'];a133c=function(){return u;};return a133c();}import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a133s(0x14e)]({'name':'layout','aliases':aliases,'usage':a133s(0x12d),'shortDesc':a133s(0x14b),'validOpts':[a133s(0x121)],'mustBeInMakaProject':!![],'examples':['maka\x20g:layout\x20mobile/iPhone8',a133s(0x151)]},async function(a,b){const t=a133s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=t(0x127),i=d[t(0x12a)](),j=g['pathFromApp']({'pathParts':[h,b['dir'],kebabCase(b[t(0x141)]),kebabCase(b[t(0x141)])]});typeof c[t(0x14d)]['test']===t(0x129)&&e[t(0x147)](t(0x124),c[t(0x14d)][t(0x124)]);typeof c[t(0x14d)][t(0x140)]===t(0x129)&&e['setTemplate'](t(0x140),c[t(0x14d)][t(0x140)]);typeof c[t(0x14d)]['js']==='string'&&e['setTemplate']('js',c[t(0x14d)]['js']);const k=b['_']?b['_'][0x0][t(0x14a)](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[t(0x133)](t(0x13e))&&(Log['warn'](t(0x126)),f[t(0x12e)](t(0x13e),{'cwd':i}));if(l&&!f['checkNpmPackage'](t(0x13b))){Log[t(0x139)](t(0x142));return;}const m={'name':pascalCase(b[t(0x141)]),'myPath':a133e[t(0x130)](d['findProjectDirectory'](),j),'cssCaseName':kebabCase(b[t(0x141)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[t(0x141)]),'fileName':kebabCase(b[t(0x141)]),'graphql':c[t(0x144)]['graphql'],'features':c[t(0x123)],'client':c[t(0x144)][t(0x135)],'api':c[t(0x144)]['api'],'ssr':c['engines']['ssr'],'test':c[t(0x144)][t(0x124)],'theme':c[t(0x144)][t(0x14f)],'isComponent':![],'isLayout':!![],'withTranslations':c[t(0x123)]['withTranslations']};c[t(0x123)]?.['withHooks']||b[t(0x121)]?await g[t(0x14d)]({'srcPath':'hook/hook.js','destPath':j+t(0x125),'framework':t(0x13b),'context':m,'config':c}):await g['template']({'srcPath':'component/component.js','destPath':j+'.js','framework':'react','context':m,'config':c});c[t(0x144)][t(0x124)]!==t(0x134)&&await g['template']({'srcPath':'test/test.js','destPath':j+'.app-tests.js','framework':t(0x13b),'context':m,'config':c});c[t(0x14d)][t(0x140)]&&(await g[t(0x14d)]({'srcPath':t(0x138),'destPath':j+t(0x13a),'context':Object['assign']({},m,{'className':kebabCase(b[t(0x141)])}),'config':c}),await g[t(0x12f)]({'filePath':j+'.'+c['engines']['js'],'content':t(0x148)+m[t(0x128)]+'.'+c[t(0x144)][t(0x140)]+'\x27;'}));const n=b[t(0x150)]?'/'+b[t(0x150)]+'/':'/',o=''+h+n+m[t(0x128)]+'/'+m['fileName'];await g[t(0x146)](m['className'],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134i=a134d;(function(a,b){const f=a134d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a134i=a134d;(function(a,b){const f=a134d,c=a();while(!![]){try{const d=parseInt(f(0x204))/0x1*(-parseInt(f(0x1f5))/0x2)+-parseInt(f(0x1f0))/0x3+-parseInt(f(0x1f2))/0x4+-parseInt(f(0x1f1))/0x5*(-parseInt(f(0x1ff))/0x6)+parseInt(f(0x1f3))/0x7*(parseInt(f(0x201))/0x8)+parseInt(f(0x203))/0x9*(parseInt(f(0x1f4))/0xa)+parseInt(f(0x200))/0xb*(parseInt(f(0x1f7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x44e79));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a134d;if(c){const e=c[g(0x1fd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const h=a134d;return a134a[h(0x1fe)]()['search'](h(0x1f9))[h(0x1fe)]()['constructor'](a134a)[h(0x1fb)](h(0x1f9));});a134a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a134i(0x202),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a134i(0x1f6),'examples':[a134i(0x205),'maka\x20g:scaffold\x20todos',a134i(0x1fc),'maka\x20g:package\x20package:name',a134i(0x1f8),'maka\x20g:api\x20trucks',a134i(0x1fa)]},async function(){});function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a134d(a,b);}function a134c(){const j=['search','maka\x20g:template\x20todos/todo_item','apply','toString','102270zeHuAY','33CuqUxc','1160DePaDq','maka\x20{generate,\x20g}:<generator>\x20<name>','29052LuVeMJ','30608yDDrod','maka\x20generate:scaffold\x20todos','796167vMqpKm','85nHaIsi','1758088FHfoQZ','1939YPvpCx','130KNghMk','8sGrVqg','Scaffold\x20various\x20parts\x20of\x20your\x20application','2950728EfoFKH','maka\x20g:route\x20todos/edit','(((.+)+)+)+$','maka\x20g:dbc\x20geoserver\x20--type=pgsql'];a134c=function(){return j;};return a134c();}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a135m=a135d;(function(a,b){const k=a135d,c=a();while(!![]){try{const d=parseInt(k(0xa4))/0x1*(parseInt(k(0xc3))/0x2)+parseInt(k(0xa1))/0x3+-parseInt(k(0xaf))/0x4*(parseInt(k(0xc1))/0x5)+-parseInt(k(0xb2))/0x6+-parseInt(k(0x9e))/0x7+-parseInt(k(0xb1))/0x8*(parseInt(k(0xc5))/0x9)+parseInt(k(0x9c))/0xa*(parseInt(k(0xc6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0xa6efe));function a135c(){const o=['(((.+)+)+)+$','engines','import\x20\x27./methods','resourceName','index.','projectConfig','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','maka\x20{generate,\x20g}:{method,\x20m}\x20name','-rpc-method\x27;','25aVJLGs','maka\x20g:method\x20todos','3990woWlxe','method','2298438rEcjzJ','55IRoMBO','checkMeteorPackage','4291590sSgOOk','tsx','8326451wRzHUI','method/method.js','search','2902245qOQntp','constructor','methods','125LjXFRC','-rpc-method.','maka:check','injectAtEndOfFile','scaffold','toString','startup','create','imports','ddp-rate-limiter','pathFromApp','12396KRoCcS','error','32uoLlZE','2713770EaTGRQ','mdg:validated-method','pkg','template','dir','appPathPrefix'];a135c=function(){return o;};return a135c();}const a135b=(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;};}()),a135a=a135b(this,function(){const l=a135d;return a135a[l(0xa9)]()['search'](l(0xb8))[l(0xa9)]()[l(0xa2)](a135a)[l(0xa0)]('(((.+)+)+)+$');});a135a();function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0x9c;let f=c[d];return f;},a135d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a135m(0xab)]({'name':a135m(0xc4),'aliases':['m'],'usage':a135m(0xbf),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':a135m(0xbe),'validOpts':[a135m(0xb6)],'examples':[a135m(0xc2)]},async function(a,b){const n=a135m;try{const c=this[n(0xbd)],d=b['dir']?'/'+b[n(0xb6)]+'/':'/',f=kebabCase(b[n(0xbb)]),g={'name':b[n(0xbb)],'fileName':f,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[n(0xbb)]),'noRename':!![]};let h='js';c[n(0xb9)]['js']===n(0x9d)&&(h='ts');await this[n(0xb4)][n(0xc7)]([n(0xa6),n(0xad),n(0xb3)],{'shouldInstall':!![]}),await this[n(0xa8)][n(0xb5)]({'srcPath':n(0x9f),'destPath':this[n(0xa8)][n(0xae)]({'pathParts':[n(0xac),n(0xaa),b[n(0xb7)],n(0xa3),d,f+n(0xa5)+h]}),'context':g,'config':c});const i=this[n(0xa8)]['pathFromApp']({'pathParts':[n(0xac),'startup',b[n(0xb7)],n(0xbc)+c[n(0xb9)]['js']]});await this[n(0xa8)][n(0xa7)]({'filePath':i,'content':n(0xba)+d+f+n(0xc0)});}catch(j){Log[n(0xb0)](j);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a136p=a136d;function a136c(){const r=['
|
|
1
|
+
const a136p=a136d;function a136c(){const r=['apply','10343007xKAYkW','package','1005830ZtpzIb','layout','3672290CYkqIw','55008WpKZIm','package.js','create','engines','1672IPgEyk','tests/client','pathFromAppWithNoReWrite','lib','ssr','resourceName','template','toString','packages','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','dir','template/template.js','features','.js','constructor','2aOfERV','/client/','6xEgtjJ','component','/package.js','1446xWDfee','store','graphql','86468CKmPUT','search','2737NyQMYT','client','relative','pathFromApp','(((.+)+)+)+$','140870buMtWl','theme','package/','scaffold','hasOwnProperty'];a136c=function(){return r;};return a136c();}(function(a,b){const m=a136d,c=a();while(!![]){try{const d=-parseInt(m(0xb0))/0x1*(-parseInt(m(0x9a))/0x2)+parseInt(m(0xb2))/0x3*(parseInt(m(0x8b))/0x4)+parseInt(m(0x9c))/0x5+parseInt(m(0xb5))/0x6*(-parseInt(m(0x8d))/0x7)+-parseInt(m(0x9d))/0x8+parseInt(m(0x98))/0x9+parseInt(m(0x92))/0xa*(-parseInt(m(0xa1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a136c,0xa88ee));const a136b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a136d;if(c){const e=c[n(0x97)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a136a=a136b(this,function(){const o=a136d;return a136a[o(0xa8)]()[o(0x8c)](o(0x91))['toString']()[o(0xaf)](a136a)[o(0x8c)](o(0x91));});a136a();import a136e from'path';import{Generator}from'../generator.js';function a136d(a,b){const c=a136c();return a136d=function(d,e){d=d-0x8a;let f=c[d];return f;},a136d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a136p(0x9f)]({'name':a136p(0x99),'aliases':['p'],'usage':a136p(0xaa),'mustBeInMakaProject':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a136p(0xab)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a136p,c=kebabCase(b[q(0xa6)]),d=b[q(0xab)]?'/'+b[q(0xab)]+'/':'/',e=this[q(0x95)][q(0x90)]({'pathParts':[q(0xa9),d,c]}),f=this[q(0x95)][q(0xa3)]({'pathParts':[q(0xa9),d,c,q(0x9e)]}),g=this['projectConfig'],h={'name':kebabCase(b[q(0xa6)]),'myPath':a136e[q(0x8f)](this['fsi']['findProjectDirectory'](),e),'cssCaseName':kebabCase(b[q(0xa6)]),'className':pascalCase(b[q(0xa6)]),'camelCaseName':camelCase(b[q(0xa6)]),'fileName':c,'client':g[q(0xa0)][q(0x8e)],'graphql':g[q(0xa0)][q(0x8a)],'ssr':g[q(0xa0)][q(0xa5)],'isComponent':b[q(0x96)](q(0xb3)),'isLayout':b[q(0x96)](q(0x9b)),'isStore':b[q(0x96)](q(0xb6)),'features':g[q(0xad)],'noRename':!![],'theme':g[q(0xa0)][q(0x93)]};await this[q(0x95)][q(0xa7)]({'srcPath':'package/package.js','destPath':f,'context':h,'config':g}),h['noRename']=![];const i=e+q(0xb1)+c+'.js';await this[q(0x95)][q(0xa7)]({'srcPath':q(0xac),'destPath':i,'context':h,'config':g});const j=[q(0xa4),'server',q(0xa2),'tests/server'];for(const k of j){const l=e+'/'+k+'/'+c+q(0xae);await this[q(0x95)][q(0xa7)]({'srcPath':q(0x94)+k+q(0xb4),'destPath':l,'context':h,'config':g});}});
|