@maka/maka-cli 4.13.7 → 4.13.10
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 +3 -3
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/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/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d
|
|
1
|
+
const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x140))/0x1+parseInt(l(0x146))/0x2*(-parseInt(l(0x14f))/0x3)+-parseInt(l(0x150))/0x4*(-parseInt(l(0x12b))/0x5)+parseInt(l(0x129))/0x6+parseInt(l(0x14c))/0x7*(-parseInt(l(0x15a))/0x8)+-parseInt(l(0x12a))/0x9+parseInt(l(0x133))/0xa*(parseInt(l(0x155))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x2e4ab));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x14d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x127)]()[n(0x15f)](n(0x15b))[n(0x127)]()[n(0x162)](a117a)[n(0x15f)](n(0x15b));});a117a();import a117e from'path';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x127;let f=c[d];return f;},a117d(a,b);}function a117c(){const r=['none','hooks','setTemplate','template','findAppDirectory','engines','18700oMoOzs','fileName','error','force','pathFromApp','layouts','@apollo/client','warn','checkNpmPackage','.js','.app-tests.js','hook/hook.js','features','216393pqkUAZ','graphql','components','test/test.js','maka\x20g:hook\x20cool-hook','\x20hook...','2ZfnwCT','dir','className','fsi','create','css','91EHsvBX','apply','react','717207VTwzLX','2036FXLaWd','installNpmPackage','test','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','injectAtBeginningOfFile','5379pGeKKw','\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','pathFromProject','apollo','cssCaseName','142456rWhnMn','(((.+)+)+)+$','withValue','pages','import\x20\x27./','search','theme','baseDir','constructor','template/template.css','toString','withTranslations','920178NrNGfO','3310668MnXYcB','1735rSUPBS','resourceName'];a117c=function(){return r;};return a117c();}import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0x14a)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':a117o(0x161),'values':[a117o(0x12e),a117o(0x142),a117o(0x15d),a117o(0x138)]},{'name':a117o(0x136),'boolFlag':!![]}],'examples':[a117o(0x144)],'description':a117o(0x156)},async function(a,b){const p=a117o;Log['notice']('Creating\x20'+b['resourceName']+p(0x145));try{const c=this[p(0x149)][p(0x13b)](p(0x14e));if(!c){Log[p(0x135)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[p(0x149)][p(0x131)](),f=b[p(0x161)]?'/imports/ui/'+b[p(0x161)]:'/imports/ui/components',g=this['fsi'][p(0x137)]({'pathParts':[f,b[p(0x147)],paramCase(b[p(0x12c)]),paramCase(b[p(0x12c)])]}),h=await this[p(0x149)]['getMakaProjectConfig']();await this[p(0x149)][p(0x15c)](h,async()=>{const q=p;typeof h[q(0x130)][q(0x14b)]==='string'&&(h[q(0x130)]['css']=h[q(0x130)][q(0x14b)]==='true'?!![]:![],this[q(0x149)][q(0x12f)]('css',h[q(0x130)][q(0x14b)]));h[q(0x132)][q(0x141)]===q(0x158)&&!this[q(0x149)][q(0x13b)](q(0x139))&&(Log[q(0x13a)](q(0x153)),await this['fsi'][q(0x151)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x12c)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[q(0x12c)]),'name':pascalCase(b[q(0x12c)]),'graphql':h['engines'][q(0x141)],'theme':h[q(0x132)][q(0x160)],'features':h['features'],'myPath':a117e['relative'](this['fsi'][q(0x157)]({}),g),'fileName':paramCase(b[q(0x12c)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x13f)][q(0x128)]};await this['fsi'][q(0x130)]({'srcPath':q(0x13e),'destPath':g+q(0x13c),'context':i,'config':h,'framework':q(0x14e),'force':b['force']});h[q(0x130)]['css']&&(await this['fsi'][q(0x130)]({'srcPath':q(0x163),'destPath':g+'.css','context':Object['assign']({},i,{'className':i[q(0x159)]}),'config':h,'force':b[q(0x136)]}),await this[q(0x149)][q(0x154)]({'filePath':g+'.'+h[q(0x132)]['js'],'content':q(0x15e)+i[q(0x134)]+'.'+h[q(0x132)][q(0x14b)]+'\x27;'}));h[q(0x132)][q(0x152)]!==q(0x12d)&&await this[q(0x149)][q(0x130)]({'srcPath':q(0x143),'destPath':g+q(0x13d),'framework':q(0x14e),'context':i,'config':h,'force':b[q(0x136)]});const j=b['dir']?'/'+b[q(0x147)]+'/':'/',k=''+f+j+i[q(0x134)]+'/'+i['fileName'];await this[q(0x149)]['injectTemplateModule'](i[q(0x148)],h,k);});}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(
|
|
1
|
+
function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xe5;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0xf0))/0x1+parseInt(f(0xf3))/0x2*(parseInt(f(0xee))/0x3)+parseInt(f(0xeb))/0x4*(parseInt(f(0xf1))/0x5)+-parseInt(f(0xe8))/0x6*(parseInt(f(0xed))/0x7)+-parseInt(f(0xf2))/0x8*(parseInt(f(0xea))/0x9)+parseInt(f(0xec))/0xa+-parseInt(f(0xe7))/0xb*(-parseInt(f(0xef))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xbafe1));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xe9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0xf4)]('(((.+)+)+)+$')['toString']()[h(0xe5)](a118a)['search'](h(0xe6));});a118a();import'./kit.js';import'./mui/_index.js';function a118c(){var i=['16eQNzPt','22yMKbRx','search','constructor','(((.+)+)+)+$','253YxsbQc','2625114EEDiCt','apply','6286824oAcgNj','36956ZqPAxH','2170800IhcfaD','7EtoSDz','269391wfYMFu','218604nouOXl','653309OArEkA','175BzluRR'];a118c=function(){return i;};return a118c();}import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x126))/0x1*(parseInt(f(0x12e))/0x2)+parseInt(f(0x12d))/0x3*(parseInt(f(0x129))/0x4)+-parseInt(f(0x127))/0x5+parseInt(f(0x131))/0x6+parseInt(f(0x12b))/0x7+parseInt(f(0x12a))/0x8*(parseInt(f(0x12f))/0x9)+-parseInt(f(0x128))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x5f7cc));function a119c(){var i=['46972uliShD','4258648ahwkdW','122206ybtKEh','(((.+)+)+)+$','3uyFEVf','11702YihMIe','9RMiCFp','apply','301566NSZxQq','constructor','toString','130cAbycH','1756055HefzAZ','6300960kZKSBm'];a119c=function(){return i;};return a119c();}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x133)]()['search'](h(0x12c))[h(0x133)]()[h(0x132)](a119a)['search'](h(0x12c));});a119a();function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x126;var f=c[d];return f;},a119d(a,b);}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a120c(){const j=['2mwKpMZ','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','282741aqiRWr','constructor','toString','5282838ZVNLHF','7309825AYcKTN','44121zXIyCq','1143ISztti','4089950XgHUAc','search','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','create','316150ctBFdY','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','37304FFiJlj','11RFdmXU','12YWlrcc','maka\x20g:kit:a','NIE'];a120c=function(){return j;};return a120c();}const a120h=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a120d(a,b);}(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x1d9))/0x1*(parseInt(f(0x1e0))/0x2)+parseInt(f(0x1e3))/0x3*(-parseInt(f(0x1dd))/0x4)+parseInt(f(0x1e7))/0x5+parseInt(f(0x1e6))/0x6+parseInt(f(0x1e8))/0x7+-parseInt(f(0x1db))/0x8*(parseInt(f(0x1d4))/0x9)+-parseInt(f(0x1d5))/0xa*(parseInt(f(0x1dc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xb6c6e));const a120b=(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;};}()),a120a=a120b(this,function(){const g=a120d;return a120a[g(0x1e5)]()[g(0x1d6)](g(0x1e1))[g(0x1e5)]()[g(0x1e4)](a120a)[g(0x1d6)](g(0x1e1));});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120h(0x1d8)]({'name':'auth','aliases':['a'],'usage':a120h(0x1e2),'noNeedResource':!![],'shortDesc':a120h(0x1d7),'validOpts':[''],'isPro':!![],'examples':[a120h(0x1de)],'description':a120h(0x1da)},async function(){const i=a120h;throw i(0x1df);},async function(){},a120e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(
|
|
1
|
+
const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x195))/0x1*(parseInt(o(0x1a7))/0x2)+parseInt(o(0x198))/0x3*(-parseInt(o(0x19b))/0x4)+parseInt(o(0x1d4))/0x5*(-parseInt(o(0x1b5))/0x6)+-parseInt(o(0x1a5))/0x7*(-parseInt(o(0x1c6))/0x8)+-parseInt(o(0x1d3))/0x9*(parseInt(o(0x1a1))/0xa)+-parseInt(o(0x1ac))/0xb*(parseInt(o(0x1c1))/0xc)+-parseInt(o(0x1ce))/0xd*(-parseInt(o(0x199))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xd312e));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x19f)]()[q(0x1c3)](q(0x197))['toString']()['constructor'](a121a)[q(0x1c3)]('(((.+)+)+)+$');});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x195;let f=c[d];return f;},a121d(a,b);}import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a121c(){const u=['fsi','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','react','6SQYnKO','AuthService','withValue','exit','alanning:roles','/imports/startup/client/authentication-service','.js','\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','kit/auth/service/meteor-auth-service.js','export\x20const\x20AuthProvider','startup','authentication-service','12cXaElE','imports','search','accounts-password','return\x20\x5c(','16pXfELK','injectIntoCodeBlock','injectImport','/imports/startup/client','engines','processAndRunGenerator','error','const\x20deauthenticateUser','143559yqhjrm','\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','/imports/startup/lib','meteor','server','7569ZTBZdP','5192845kgyWiO','\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','meteor/accounts-base','index','/imports/startup/lib/authentication-service','meteor/maka:react-tracker','const\x20resetPasswordWithToken','getMakaProjectConfig','9IbtGLx','publish','(((.+)+)+)+$','168168tepQly','3136bxYEEE','template','20BiNxyT','force','findProjectDirectory','create','toString','const\x20authenticateToken','4310RiSVIV','apply','checkMeteorPackage','meteor/meteor','4787944bPwflV','Accounts','201074iWWBqC','\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.','\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','pathFromApp','4299955rqlmOw','\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','kit:auth:provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20'];a121c=function(){return u;};return a121c();}Generator[a121r(0x19e)]({'name':a121r(0x1d1),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121r(0x1a9),'validOpts':[a121r(0x19c)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121r(0x1cf)},async function(a,b){const s=a121r;try{const c=b[s(0x19c)]||![];await this[s(0x1b1)][s(0x1a3)]([s(0x1c4),s(0x1b9)],{'shouldInstall':!![]});const d=this[s(0x1b1)][s(0x19d)](),f=this[s(0x1b1)][s(0x1dc)](),g=f[s(0x1ca)]['ssr']==='true';await a121f[s(0x1cb)](s(0x1ae),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x1cb)](s(0x196),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x1d0):s(0x1c9),j=this[s(0x1b1)]['pathFromApp']({'pathParts':[i,'','',s(0x1c0)]});await this[s(0x1b1)][s(0x1b7)](f,async()=>{const t=s;await this[t(0x1b1)][t(0x19a)]({'srcPath':t(0x1bd),'destPath':j+t(0x1bb),'framework':t(0x1b4),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x1b1)][s(0x1ab)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x1ca)]['js'];await this['fsi'][s(0x1c8)]({'filePath':k+'.'+l,'importName':s(0x1b6),'modulePath':g?s(0x1d9):s(0x1ba),'isNamedExport':![]}),await this[s(0x1b1)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1ad),'begin':'const\x20authenticateUser','replace':!![]}),await this[s(0x1b1)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1d5),'begin':s(0x1a0),'replace':!![]}),await this[s(0x1b1)][s(0x1c7)]({'filePath':k+'.'+l,'content':s(0x1a8),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1b2),'begin':s(0x1cd),'replace':!![]}),await this[s(0x1b1)][s(0x1c7)]({'filePath':k+'.'+l,'content':s(0x1b3),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this[s(0x1b1)][s(0x1c7)]({'filePath':k+'.'+l,'content':s(0x1b0),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0x1b1)][s(0x1c7)]({'filePath':k+'.'+l,'content':s(0x1af),'begin':s(0x1db),'replace':!![]});g&&(await this['fsi'][s(0x1c8)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x1da),'isNamedExport':!![]}),await this[s(0x1b1)]['injectIntoFile']({'filePath':k+'.'+l,'content':s(0x1bc),'begin':s(0x1be),'end':s(0x1c5)}));await this[s(0x1b1)][s(0x1c8)]({'filePath':h,'importName':'Meteor','modulePath':s(0x1a4),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x1b1)][s(0x1c7)]({'filePath':h,'content':s(0x1aa),'begin':s(0x1d6),'replace':!![]});const m=this[s(0x1b1)][s(0x1ab)]({'pathParts':[s(0x1c2),s(0x1bf),s(0x1d2),s(0x1d8)]});await this[s(0x1b1)][s(0x1c8)]({'filePath':m+'.'+l,'importName':s(0x1a6),'modulePath':s(0x1d7),'isNamedExport':!![]}),await this['fsi'][s(0x1c7)]({'filePath':m+'.'+l,'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':'Meteor.startup','replace':!![]});}catch(n){Log[s(0x1cc)](n),process[s(0x1b8)](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a122w=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0x1bb))/0x1*(-parseInt(u(0x1c8))/0x2)+parseInt(u(0x1bc))/0x3*(parseInt(u(0x1b0))/0x4)+parseInt(u(0x1ba))/0x5*(parseInt(u(0x1a3))/0x6)+parseInt(u(0x1a9))/0x7*(-parseInt(u(0x1a2))/0x8)+-parseInt(u(0x1b7))/0x9*(parseInt(u(0x1d1))/0xa)+-parseInt(u(0x1ab))/0xb*(parseInt(u(0x1c2))/0xc)+-parseInt(u(0x1aa))/0xd*(-parseInt(u(0x1d6))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x4e40d));const a122b=(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;};}()),a122a=a122b(this,function(){const v=a122d;return a122a[v(0x1af)]()[v(0x1b4)](v(0x1bf))['toString']()['constructor'](a122a)[v(0x1b4)](v(0x1bf));});function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a122d(a,b);}function a122c(){const z=['/imports/startup/client/index','appName','react','3674QTIPOb','fsi','const\x20Routes','AuthProvider','pathFromApp','AuthContext','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','withValue','REACT','10GuPCRm','engines','injectImport','force','/imports/startup/client','9181298OGGAvJ','create','<Routes\x20history={history}/>','3002840VSdpTk','753780SBgdKl','getMakaProjectConfig','error','bright','replaceAll','/imports/startup/lib/authentication-provider','7hruAzD','13WaRXbK','27005ZFSxzf','true','split','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','toString','87244VwJAhM','/imports/startup/server/index','provider','kit/auth/provider/authentication-provider.js','search','<Routes\x20history={browserHistory}/>','template','706419JplpJL','injectAroundString','/imports/startup/client/authentication-provider','20sKMgxT','152FcTRpQ','69uzQUXD','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','useContext','(((.+)+)+)+$','injectIntoCodeBlock','<AuthProvider>','2964AAPPaY','authentication-provider','</AuthProvider>'];a122c=function(){return z;};return a122c();}a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122w(0x1d7)]({'name':a122w(0x1b2),'aliases':['p'],'usage':a122w(0x1ce),'shortDesc':a122w(0x1bd),'validOpts':[a122w(0x1d4)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122w(0x1d0)]},'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 x=a122w;try{const c=b['force']||![];Log[x(0x1a6)](x(0x1ae));const d=this['fsi'][x(0x1a4)](),f=d['engines']['ssr']===x(0x1ac),g={'name':headerCase(d[x(0x1c6)])[x(0x1a7)]('-','\x20')},h=f?'/imports/startup/lib':x(0x1d5),i=this[x(0x1c9)][x(0x1cc)]({'pathParts':[h,'','',x(0x1c3)]});await this[x(0x1c9)][x(0x1cf)](d,async()=>{const y=x;await this[y(0x1c9)][y(0x1b6)]({'srcPath':y(0x1b3),'destPath':i+'.js','framework':y(0x1c7),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[x(0x1d2)]['js'],k=h+'/routes',l=k[x(0x1ad)]('/'),m=this[x(0x1c9)][x(0x1cc)]({'pathParts':l});await this[x(0x1c9)][x(0x1d3)]({'filePath':m+'.'+j,'importName':x(0x1cd),'modulePath':f?x(0x1a8):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x1c9)][x(0x1d3)]({'filePath':m+'.'+j,'importName':x(0x1be),'modulePath':x(0x1c7),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x1c9)][x(0x1c0)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[x(0x1ca),'function\x20Routes'],'replace':!![]});const n=x(0x1c5),o=n['split']('/'),p=this[x(0x1c9)][x(0x1cc)]({'pathParts':o});await this[x(0x1c9)][x(0x1d3)]({'filePath':p+'.'+j,'importName':x(0x1cb),'modulePath':f?'/imports/startup/lib/authentication-provider':x(0x1b9),'isNamedExport':!![]}),await this['fsi'][x(0x1b8)]({'filePath':p+'.'+j,'aboveContent':x(0x1c1),'belowContent':'</AuthProvider>','targetString':x(0x1b5),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x1b1),r=q[x(0x1ad)]('/'),s=this['fsi']['pathFromApp']({'pathParts':r});await this[x(0x1c9)]['injectImport']({'filePath':s+'.'+j,'importName':x(0x1cb),'modulePath':f?x(0x1a8):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x1c9)][x(0x1b8)]({'filePath':s+'.'+j,'aboveContent':x(0x1c1),'belowContent':x(0x1c4),'targetString':x(0x1d8),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x1a5)](t),process['exit'](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d
|
|
1
|
+
function a123c(){var h=['913fMPERx','constructor','(((.+)+)+)+$','59830pDkSkJ','16ykreFB','354824LrrTIe','1545831xFdmDe','4496274hwPCkW','5gEIxBp','search','toString','7484VfVrOn','2585538oZQZJA','42796EYkJUA','12fjdIKi'];a123c=function(){return h;};return a123c();}(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0xd8))/0x1+parseInt(f(0xe0))/0x2*(-parseInt(f(0xd2))/0x3)+parseInt(f(0xde))/0x4*(-parseInt(f(0xdb))/0x5)+parseInt(f(0xdf))/0x6+-parseInt(f(0xd9))/0x7*(parseInt(f(0xd7))/0x8)+parseInt(f(0xda))/0x9+-parseInt(f(0xd6))/0xa*(parseInt(f(0xd3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x3f61f));var a123b=(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;};}()),a123a=a123b(this,function(){var g=a123d;return a123a[g(0xdd)]()[g(0xdc)]('(((.+)+)+)+$')['toString']()[g(0xd4)](a123a)['search'](g(0xd5));});a123a();import'./esri.generator.js';function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xd2;var f=c[d];return f;},a123d(a,b);}import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x153))/0x1*(-parseInt(f(0x15f))/0x2)+parseInt(f(0x163))/0x3*(-parseInt(f(0x161))/0x4)+-parseInt(f(0x15a))/0x5+parseInt(f(0x159))/0x6+parseInt(f(0x155))/0x7+parseInt(f(0x160))/0x8+-parseInt(f(0x158))/0x9*(-parseInt(f(0x15d))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xc7dac));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()[h(0x15b)](h(0x156))['toString']()[h(0x15c)](a124a)['search'](h(0x156));});a124a();import{Generator}from'../../../generator.js';function a124c(){const k=['20148keRmcA','\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','399IxbTrq','Esri\x20Kit\x20generated\x20successfully','/foo/bar','maka\x20g:kit:e','apply','create','860uhEKOO','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','8009939rUjlfR','(((.+)+)+)+$','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','207ZvblBi','9477588JjfZrR','1872440PanRHA','search','constructor','268760lkcxfd','/foo','3586kOssCz','503760XkAGCZ'];a124c=function(){return k;};return a124c();}import a124e from'../kit.js';const EsriGen=Generator[a124i(0x152)]({'name':'esri','aliases':['e'],'usage':a124i(0x154),'noNeedResource':!![],'shortDesc':a124i(0x157),'validOpts':[''],'isPro':!![],'examples':[a124i(0x150)],'description':a124i(0x162)},async function(){const j=a124i;return{'success':!![],'message':j(0x164),'details':{'filesCreated':[j(0x14f)],'filesUpdated':[j(0x15e)]}};},async function(){},a124e);function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x14f;let f=c[d];return f;},a124d(a,b);}export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0xed))/0x1*(parseInt(p(0xdb))/0x2)+parseInt(p(0xc9))/0x3+-parseInt(p(0xd9))/0x4*(parseInt(p(0xea))/0x5)+parseInt(p(0xd8))/0x6+parseInt(p(0xe2))/0x7*(-parseInt(p(0xee))/0x8)+parseInt(p(0xe5))/0x9*(-parseInt(p(0xf6))/0xa)+parseInt(p(0xe8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x8109e));function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xc3;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0xef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a['toString']()[r(0xf2)](r(0xc6))[r(0xf1)]()[r(0xc7)](a125a)[r(0xf2)]('(((.+)+)+)+$');});function a125c(){const v=['.js','<div\x20id=\x22map\x22>','error','256950iApSAi','40DfPzKt','kit/esri/map/','4oRrKQw','processAndRunGenerator','injectImport','/imports/startup/lib/templates','ssr','/imports/startup/client/templates','FALSE','5264zWFkYq','injectTemplateModule','/imports/ui/','55791RbocKA','Generating\x20a\x20map\x20component','checkNpmPackage','24755511XlGDqG','@esri/react-arcgis','192805ZRZGme','bright','fsi','376693uMSJRw','9296ZwxJSg','apply','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','toString','search','true','Generate\x20an\x20Esri\x20map\x20component','page','10aKRKwd','create','engines','getMakaProjectConfig','basic-map','(((.+)+)+)+$','constructor','appName','762705ohvIQB','injectIntoFile','/imports/ui/hooks','map','replaceAll','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','findProjectDirectory','withValue','baseDir','</div>','dir','pathFromApp'];a125c=function(){return v;};return a125c();}a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0xf7)]({'name':a125s(0xcc),'aliases':['m'],'usage':a125s(0xce),'shortDesc':a125s(0xf4),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a125s(0xe1)]},'description':'\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'},async function(a,b){const t=a125s;try{Log[t(0xeb)](t(0xe6));const c=t(0xc5);await this['fsi'][t(0xe7)]([t(0xe9),'esri-loader'],{'shouldInstall':!![]});const d=this[t(0xec)][t(0xcf)](),f=this[t(0xec)][t(0xc4)](),g=f[t(0xc3)][t(0xdf)]===t(0xf3),h=await a125f[t(0xdc)](t(0xf5),[t(0xcc)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0xc8)])[t(0xcd)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0xd1)]?t(0xe4)+b[t(0xd1)]:t(0xcb),k=this[t(0xec)]['pathFromApp']({'pathParts':[j,b[t(0xd3)],paramCase(c),paramCase(c)]});await this[t(0xec)][t(0xd0)](f,async()=>{const u=t;await this['fsi']['template']({'srcPath':u(0xda)+c+u(0xd5),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0xd3)]+'/'+c+'/'+c;await this[t(0xec)][t(0xe3)](c,f,l);const m=h['split']('/'),n=this[t(0xec)][t(0xd4)]({'pathParts':m});await this[t(0xec)][t(0xdd)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0xde):t(0xe0),'isNamedExport':!![]}),await this[t(0xec)][t(0xca)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0xf0),'begin':[t(0xd6),t(0xd6)],'end':[t(0xd2)],'replace':!![]});}catch(o){Log[t(0xd7)](o),process['exit'](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a126c(){const
|
|
1
|
+
const a126i=a126d;function a126c(){const j=['9189agNYXb','constructor','11751590dqmzES','maka\x20g:kit','12uEWQgG','30OnQqYN','maka\x20g:k','search','9KidLKJ','7ptbsua','44272501TeaPKL','apply','5619vbRNjK','3798384fcdYiV','kit','810672TGwAVo','114awtUKS','(((.+)+)+)+$','523457ProtTv','create','20KQmVOY','toString'];a126c=function(){return j;};return a126c();}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0xfb))/0x1*(-parseInt(f(0xff))/0x2)+-parseInt(f(0x105))/0x3*(-parseInt(f(0x103))/0x4)+parseInt(f(0x10a))/0x5*(-parseInt(f(0xfe))/0x6)+-parseInt(f(0xf8))/0x7*(parseInt(f(0xfc))/0x8)+-parseInt(f(0xf7))/0x9*(parseInt(f(0x107))/0xa)+parseInt(f(0x101))/0xb*(-parseInt(f(0x109))/0xc)+parseInt(f(0xf9))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x90a09));function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xf7;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x104)]()[h(0x10c)]('(((.+)+)+)+$')[h(0x104)]()[h(0x106)](a126a)['search'](h(0x100));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0x102)]({'name':a126i(0xfd),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x108),a126i(0x10b)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a127d,c=a();while(!![]){try{var d
|
|
1
|
+
function a127c(){var i=['2447898lRsERH','(((.+)+)+)+$','276470jBLigj','745192wQoWMY','search','constructor','3696150QwyQRo','45GgCZhl','apply','1639899rkUiwP','1505140gzAIQq','2LPvCzw','252604DWGqxR','8LNjQOe','toString'];a127c=function(){return i;};return a127c();}(function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0xc1))/0x1*(parseInt(f(0xc0))/0x2)+-parseInt(f(0xbe))/0x3+-parseInt(f(0xbf))/0x4+parseInt(f(0xbb))/0x5+parseInt(f(0xb5))/0x6+parseInt(f(0xb8))/0x7*(parseInt(f(0xc2))/0x8)+-parseInt(f(0xbc))/0x9*(parseInt(f(0xb7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x6cac0));function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0xb5;var f=c[d];return f;},a127d(a,b);}var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0xbd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a['toString']()[h(0xb9)](h(0xb6))[h(0xc3)]()[h(0xba)](a127a)[h(0xb9)](h(0xb6));});a127a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a128I=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x70))/0x1+parseInt(G(0x89))/0x2+-parseInt(G(0x9b))/0x3+-parseInt(G(0x6e))/0x4+-parseInt(G(0x6b))/0x5*(parseInt(G(0x76))/0x6)+-parseInt(G(0x7d))/0x7+parseInt(G(0x9e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xe065c));function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x65;let f=c[d];return f;},a128d(a,b);}const a128b=(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;};}()),a128a=a128b(this,function(){const H=a128d;return a128a['toString']()[H(0x90)]('(((.+)+)+)+$')[H(0x88)]()['constructor'](a128a)['search']('(((.+)+)+)+$');});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a128c(){const M=['2741669RTSWJW','maka\x20g:k:m:f','list','AuthContext','react','template','injectTemplateModule','kit:auth:provider','error','getMakaProjectConfig','basic-logout-page','toString','22722ThSITJ','split','kit/mui/auth/forgot-password/','findProjectDirectory','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','create','reset-password/:token','search','basic-login-page','basic-forgot-password-page','/imports/startup/client/authentication-provider','replaceAll','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','kit:auth:meteor','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','custom','meteor','forgot-password','4035846RSqEKl','.js','authType','38053072FpHQSJ','force','route','fsi','Cleaning\x20up...','baseDir','dir','/imports/startup/lib/authentication-provider','kit/mui/auth/password-reset/','layouts','maka\x20generate:kit:mui:frame','kit/mui/auth/register/','log','pathFromApp','processAndRunGenerator','Custom\x20(roll\x20your\x20own)','5Pqnbih','injectImport','logout','3396184cTVBUx','true','1259191TnAeaR','options','engines','kit/mui/auth/login/','withValue','/imports/ui/','22062FrbDkj','ssr','register','auth','REACT','basic-register-page','kit/mui/auth/logout/'];a128c=function(){return M;};return a128c();}Generator[a128I(0x8e)]({'name':a128I(0x79),'aliases':['a'],'usage':a128I(0x95),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a128I(0xa7),a128I(0x9f)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a128I(0x7a)]},'examples':[a128I(0x65),a128I(0x7e)],'description':a128I(0x97)},async function(a,b){const J=a128I;try{const c=b['force']||![],d=this['fsi'][J(0x8c)](),f=this[J(0xa1)][J(0x86)](),{authType:g}=await Actions[J(0x71)]({'type':J(0x7f),'name':J(0x9d),'message':J(0x8d),'choices':[{'name':'Meteor\x20Accounts','value':J(0x99)},{'name':J(0x6a),'value':J(0x98)}]}),h='basic-login-page',i=J(0x87),j='basic-register-page',k='basic-password-reset-page',l=J(0x92),m=b[J(0xa3)]?J(0x75)+b[J(0xa3)]:'/imports/ui/pages/auth',n=this['fsi'][J(0x68)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[J(0xa1)][J(0x68)]({'pathParts':[m,b[J(0xa4)],paramCase(i),paramCase(i)]}),p=this[J(0xa1)][J(0x68)]({'pathParts':[m,b[J(0xa4)],paramCase(j),paramCase(j)]}),q=this[J(0xa1)][J(0x68)]({'pathParts':[m,b[J(0xa4)],paramCase(k),paramCase(k)]}),r=this[J(0xa1)][J(0x68)]({'pathParts':[m,b[J(0xa4)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])[J(0x94)]('-','\x20')};await this[J(0xa1)][J(0x74)](f,async()=>{const K=J;await this['fsi'][K(0x82)]({'srcPath':K(0x73)+h+K(0x9c),'destPath':n+K(0x9c),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0xa1)]['template']({'srcPath':K(0x7c)+i+K(0x9c),'destPath':o+K(0x9c),'framework':K(0x81),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0xa1)][K(0x82)]({'srcPath':K(0x66)+j+K(0x9c),'destPath':p+'.js','framework':K(0x81),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0xa1)][K(0x82)]({'srcPath':K(0xa6)+k+'.js','destPath':q+K(0x9c),'framework':K(0x81),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0xa1)][K(0x82)]({'srcPath':K(0x8b)+l+K(0x9c),'destPath':r+'.js','framework':K(0x81),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0xa4)]+'/'+h+'/'+h;await this[J(0xa1)][J(0x83)](h,f,t);const u=''+m+b[J(0xa4)]+'/'+i+'/'+i;await this[J(0xa1)][J(0x83)](i,f,u);const v=''+m+b[J(0xa4)]+'/'+j+'/'+j;await this[J(0xa1)][J(0x83)](j,f,v);const w=''+m+b[J(0xa4)]+'/'+k+'/'+k;await this[J(0xa1)]['injectTemplateModule'](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[J(0xa1)]['injectTemplateModule'](l,f,x),await a128e['processAndRunGenerator']('route',[J(0x91)],{'url':'login','cwd':d,'config':f}),await a128e[J(0x69)](J(0xa0),[J(0x87)],{'url':J(0x6d),'private':!![],'cwd':d,'config':f}),await a128e[J(0x69)](J(0xa0),[J(0x7b)],{'url':J(0x78),'cwd':d,'config':f}),await a128e[J(0x69)](J(0xa0),['basic-password-reset-page'],{'url':J(0x8f),'cwd':d,'config':f}),await a128e[J(0x69)]('route',['basic-forgot-password-page'],{'url':J(0x9a),'cwd':d,'config':f});g==='meteor'&&await a128e[J(0x69)](J(0x96),[],{'force':c,'cwd':d,'config':f});g===J(0x98)&&await a128e['processAndRunGenerator'](J(0x84),[],{'force':c,'cwd':d,'config':f});const y=f[J(0x72)][J(0x77)]===J(0x6f),z=f[J(0x72)]['js'],A=this[J(0xa1)][J(0x68)]({'pathParts':t[J(0x8a)]('/')});await this['fsi'][J(0x6c)]({'filePath':A+'.'+z,'importName':J(0x80),'modulePath':y?J(0xa5):J(0x93),'isNamedExport':!![]});const B=this['fsi'][J(0x68)]({'pathParts':u[J(0x8a)]('/')});await this[J(0xa1)][J(0x6c)]({'filePath':B+'.'+z,'importName':J(0x80),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0x93),'isNamedExport':!![]});const C=this[J(0xa1)]['pathFromApp']({'pathParts':v['split']('/')});await this[J(0xa1)][J(0x6c)]({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':J(0x93),'isNamedExport':!![]});const D=this['fsi']['pathFromApp']({'pathParts':w[J(0x8a)]('/')});await this[J(0xa1)]['injectImport']({'filePath':D+'.'+z,'importName':J(0x80),'modulePath':y?J(0xa5):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[J(0xa1)][J(0x68)]({'pathParts':x[J(0x8a)]('/')});await this[J(0xa1)][J(0x6c)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?J(0xa5):J(0x93),'isNamedExport':!![]});}catch(F){Log[J(0x85)](F);}},async function(){const L=a128I;console[L(0x67)](L(0xa2));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d
|
|
1
|
+
const a129E=a129d;function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a129d(a,b);}(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x1f1))/0x1*(parseInt(B(0x1cc))/0x2)+parseInt(B(0x1c2))/0x3*(parseInt(B(0x1c4))/0x4)+parseInt(B(0x1cf))/0x5*(-parseInt(B(0x1ce))/0x6)+-parseInt(B(0x1e2))/0x7+parseInt(B(0x1df))/0x8*(-parseInt(B(0x1e6))/0x9)+parseInt(B(0x1d6))/0xa*(-parseInt(B(0x1b2))/0xb)+-parseInt(B(0x1bb))/0xc*(-parseInt(B(0x1d0))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xf020d));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x1d7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x1de)]()[D(0x1b9)](D(0x1e0))[D(0x1de)]()[D(0x1f0)](a129a)[D(0x1b9)](D(0x1e0));});a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a129c(){const I=['getFiles','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','103166AaHvij','{\x20props.children\x20}','348ndqIMZ','87845XeMsuk','19664372HBGvwa','injectAroundString','checkMeteorPackage','@mui/material/Box','maka:react-tracker','checkbox','200PhOPJF','apply','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','baseDir','options','MATERIAL','withValue','pathFromApp','toString','868192oVbtAO','(((.+)+)+)+$','</div>','3603775rHSjnE','\x20/>\x0a','{this.props.children}','error','36XeqcVo','injectTemplateModule','REACT','layouts','/imports/startup/client/templates','engines','{\x20this.props.children\x20}','Cleaning\x20up...','getDirectories','frame','constructor','17howzrI','fsi','ssr','injectIntoFile','template','tests','app-tests','log','Container','<div\x20id=\x22','replaceAll','kit/mui/frame/footers/','imports','Box','basic-app-bar','564608QkSsfo','getMakaProjectConfig','-hook\x22>','dir','{props.children}','/imports/startup/lib/templates','basic-sticky-footer','search','.js','36dtPXvM','<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>','true','react','kit/mui/frame/app-bars/','create','findAppDirectory','951081UfHlMb','length','4FnGbOp','force','maka\x20generate:kit:mui:frame','injectImport','join','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f'];a129c=function(){return I;};return a129c();}import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x1c0)]({'name':a129E(0x1ef),'aliases':['f'],'usage':a129E(0x1c9),'shortDesc':a129E(0x1d8),'validOpts':['layouts','baseDir',a129E(0x1b5),a129E(0x1c5)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x1db)],'client':ClientEngines[a129E(0x1e8)]},'examples':[a129E(0x1c6),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const F=a129E;try{const c=b[F(0x1c5)]||![],d=F(0x1b1),f='basic-drawer',g=F(0x1b8),h=this[F(0x1f2)][F(0x1b3)](),i=h[F(0x1eb)][F(0x1f3)]===F(0x1bd);await this[F(0x1f2)][F(0x1d2)](['session',F(0x1d4)],{'shouldInstall':!![]});const j=this[F(0x1f2)][F(0x1c1)](),k=a129e['join'](j,F(0x1af),'ui','layouts'),l=this['fsi'][F(0x1ee)](k),m=await Actions[F(0x1da)]({'type':F(0x1d5),'name':F(0x1e9),'message':F(0x1cb),'choices':l});if(m[F(0x1e9)][F(0x1c3)]===0x0){Log[F(0x1e5)]('No\x20layouts\x20selected');return;}const n=b['baseDir']?'/imports/ui/'+b[F(0x1d9)]:'/imports/ui/components',o=this[F(0x1f2)][F(0x1dd)]({'pathParts':[n,b[F(0x1b5)],paramCase(d),paramCase(d)]}),p=this[F(0x1f2)]['pathFromApp']({'pathParts':[n,b[F(0x1b5)],paramCase(f),paramCase(f)]}),q=this[F(0x1f2)]['pathFromApp']({'pathParts':[n,b[F(0x1b5)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[F(0x1ad)]('-','\x20')};await this[F(0x1f2)][F(0x1dc)](h,async()=>{const G=F;await this[G(0x1f2)][G(0x1f5)]({'srcPath':G(0x1bf)+d+G(0x1ba),'destPath':o+G(0x1ba),'framework':G(0x1be),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1f2)]['template']({'srcPath':'kit/mui/frame/drawers/'+f+'.js','destPath':p+G(0x1ba),'framework':G(0x1be),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x1f5)]({'srcPath':G(0x1ae)+g+G(0x1ba),'destPath':q+G(0x1ba),'framework':G(0x1be),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi']['injectTemplateModule'](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0x1f2)]['injectTemplateModule'](f,h,t);const u=''+n+b[F(0x1b5)]+'/'+g+'/'+g;await this[F(0x1f2)][F(0x1e7)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1f2)][F(0x1ca)](a129e[F(0x1c8)](k,w),{'extensions':['jsx','tsx'],'omit':[F(0x1f7),F(0x1f6),'test']});for(const y of x){const z=a129e['join'](k,w,y);await this[F(0x1f2)][F(0x1c7)]({'filePath':z,'importName':F(0x1b0),'modulePath':F(0x1d3),'isNamedExport':![]}),await this[F(0x1f2)][F(0x1c7)]({'filePath':z,'importName':F(0x1f9),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1b7):F(0x1ea),'isNamedExport':!![]}),await this[F(0x1f2)][F(0x1f4)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x1e3),'begin':[F(0x1ac)+w+'\x22>',F(0x1ac)+w+F(0x1b4)],'end':[F(0x1e4),'{\x20this.props.children\x20}',F(0x1b6),F(0x1cd)]}),await this[F(0x1f2)][F(0x1c7)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x1b7):F(0x1ea),'isNamedExport':!![]}),await this['fsi'][F(0x1f4)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x1e3),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x1ac)+w+F(0x1b4)],'end':[F(0x1e4),F(0x1ec),'{props.children}',F(0x1cd)]}),await this[F(0x1f2)][F(0x1f4)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x1e4),F(0x1ec),F(0x1b6),F(0x1cd)],'end':[F(0x1e1)]}),await this[F(0x1f2)][F(0x1c7)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x1ea),'isNamedExport':!![]}),await this[F(0x1f2)][F(0x1d1)]({'filePath':z,'aboveContent':F(0x1bc),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[F(0x1e4),F(0x1ec),'{props.children}',F(0x1cd)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1e5)](A);}},async function(){const H=a129E;console[H(0x1f8)](H(0x1ed));},a129f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(
|
|
1
|
+
const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x1b0))/0x1*(-parseInt(g(0x19b))/0x2)+-parseInt(g(0x1ae))/0x3+parseInt(g(0x19d))/0x4+-parseInt(g(0x19f))/0x5*(-parseInt(g(0x1a2))/0x6)+parseInt(g(0x1b5))/0x7+-parseInt(g(0x1ac))/0x8+parseInt(g(0x1a5))/0x9*(parseInt(g(0x1a6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x36332));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a['toString']()[i(0x198)](i(0x1af))['toString']()['constructor'](a130a)[i(0x198)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x194;let f=c[d];return f;},a130d(a,b);}import a130f from'../kit.js';function a130c(){const l=['1080240CogQMe','(((.+)+)+)+$','835fvSVhE','No\x20MUI\x20kits\x20selected.\x20Exiting.','info','frame','Header,\x20Footer,\x20and\x20Drawer','2564653DvBJmv','apply','notice','findProjectDirectory','kitChoices','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','search','create','checkbox','902WBQgfH','auth','1613968KajVvr','\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','145fwudvz','length','mui','86694dtHNVR','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','includes','99rbBXZM','113040wznjrd','kit:mui:auth','processAndRunGenerator','Material-UI\x20Kit','options','fsi','2836552gdXLgl','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>'];a130c=function(){return l;};return a130c();}const MuiGen=Generator[a130j(0x199)]({'name':a130j(0x1a1),'aliases':['m'],'usage':a130j(0x1ad),'noNeedResource':!![],'shortDesc':a130j(0x1a9),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a130j;Log['info']('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x194)](k(0x19e));const {kitChoices:a}=await Actions[k(0x1aa)]({'type':k(0x19a),'name':k(0x196),'message':k(0x1a3),'choices':[{'name':k(0x1b4),'value':k(0x1b3)},{'name':k(0x197),'value':'auth'}]}),b=this['fsi'][k(0x195)](),c=this[k(0x1ab)]['getMakaProjectConfig']();a[k(0x1a4)](k(0x1b3))&&await a130e[k(0x1a8)]('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x1a4)](k(0x19c))&&await a130e[k(0x1a8)](k(0x1a7),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1a0)]===0x0){Log[k(0x1b2)](k(0x1b1));return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a131c(){const r=['maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','client','apply','template/template.css','template','5515137ljcidp','features','fsi','3989271tvhflX','resourceName','1607363QBdBNV','injectTemplateModule','fileName','checkNpmPackage','20JpWSxY','3377192TvSPCe','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','withValue','search','css','ssr','807732ceJQQg','21hIDOmw','maka\x20g:layout\x20mobile/iPhone8','react','injectAtBeginningOfFile','pathFromProject','engines','withHooks','import\x20\x27./','.js','dir','test','create','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','graphql','(((.+)+)+)+$','split','.css','layout','api','.app-tests.js','toString','/imports/ui/layouts','setTemplate','Scaffolding\x20for\x20a\x20React\x20Layout.','62336274RmZIbt','withHook','pathFromApp','findAppDirectory','2NxhgSY','2367665VxVqEE','ramda','12KCMvJE','maka\x20g:l\x20web/safari','true','constructor','relative','warn','hook/hook.js','string'];a131c=function(){return r;};return a131c();}const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x138))/0x1*(-parseInt(l(0x123))/0x2)+parseInt(l(0x136))/0x3+parseInt(l(0x106))/0x4+parseInt(l(0x124))/0x5*(parseInt(l(0x126))/0x6)+parseInt(l(0x107))/0x7*(parseInt(l(0x100))/0x8)+parseInt(l(0x133))/0x9*(parseInt(l(0x13c))/0xa)+-parseInt(l(0x11f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xde772));function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x100;let f=c[d];return f;},a131d(a,b);}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x130)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x11b)]()[n(0x103)](n(0x115))[n(0x11b)]()[n(0x129)](a131a)[n(0x103)]('(((.+)+)+)+$');});a131a();import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131o(0x112)]({'name':a131o(0x118),'aliases':aliases,'usage':a131o(0x12e),'shortDesc':a131o(0x11e),'validOpts':[a131o(0x120)],'examples':[a131o(0x108),a131o(0x127)]},async function(a,b){const p=a131o,c=p(0x11c),d=this[p(0x135)][p(0x122)](),e=this['fsi'][p(0x121)]({'pathParts':[c,b[p(0x110)],paramCase(b['resourceName']),paramCase(b[p(0x137)])]}),f=this[p(0x135)]['getMakaProjectConfig']();await this[p(0x135)][p(0x102)](f,async()=>{const q=p;typeof f[q(0x132)][q(0x111)]===q(0x12d)&&(f['template'][q(0x111)]=f['template'][q(0x111)]===q(0x128)?!![]:![],this['fsi'][q(0x11d)](q(0x111),f[q(0x132)][q(0x111)]));typeof f[q(0x132)][q(0x104)]===q(0x12d)&&(f['template'][q(0x104)]=f[q(0x132)][q(0x104)]===q(0x128)?!![]:![],this['fsi'][q(0x11d)](q(0x104),f[q(0x132)]['css']));typeof f[q(0x132)]['js']===q(0x12d)&&(f[q(0x132)]['js']=f[q(0x132)]['js']===q(0x128)?!![]:![],this[q(0x135)][q(0x11d)]('js',f['template']['js']));!f[q(0x134)]&&(f[q(0x134)]={});const g=b['_']?b['_'][0x0][q(0x116)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x13b)](q(0x125))&&(Log[q(0x12b)](q(0x101)),this[q(0x135)]['installNpmPackage']('ramda',{'cwd':d}));if(h&&!this[q(0x13b)](q(0x109))){Log[q(0x12b)](q(0x113));return;}const i={'name':pascalCase(b[q(0x137)]),'myPath':a131e[q(0x12a)](this['fsi'][q(0x10b)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x137)]),'fileName':paramCase(b[q(0x137)]),'graphql':f[q(0x10c)][q(0x114)],'features':f[q(0x134)],'client':f[q(0x10c)][q(0x12f)],'api':f[q(0x10c)][q(0x119)],'ssr':f[q(0x10c)][q(0x105)],'test':f[q(0x10c)][q(0x111)],'theme':f[q(0x10c)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x134)]['withTranslations']};f[q(0x134)]?.[q(0x10d)]||b[q(0x120)]?await this[q(0x135)][q(0x132)]({'srcPath':q(0x12c),'destPath':e+q(0x10f),'framework':q(0x109),'context':i,'config':f}):await this[q(0x135)][q(0x132)]({'srcPath':'component/component.js','destPath':e+'.js','framework':q(0x109),'context':i,'config':f});f[q(0x10c)][q(0x111)]!=='none'&&await this[q(0x135)][q(0x132)]({'srcPath':'test/test.js','destPath':e+q(0x11a),'framework':'react','context':i,'config':f});f['template'][q(0x104)]&&(await this[q(0x135)][q(0x132)]({'srcPath':q(0x131),'destPath':e+q(0x117),'context':Object['assign']({},i,{'className':paramCase(b[q(0x137)])}),'config':f}),await this[q(0x135)][q(0x10a)]({'filePath':e+'.'+f['engines']['js'],'content':q(0x10e)+i[q(0x13a)]+'.'+f[q(0x10c)][q(0x104)]+'\x27;'}));const j=b[q(0x110)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x13a)]+'/'+i[q(0x13a)];await this[q(0x135)][q(0x139)](i['className'],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x145))/0x1+parseInt(f(0x149))/0x2+-parseInt(f(0x142))/0x3+parseInt(f(0x143))/0x4+-parseInt(f(0x14c))/0x5*(-parseInt(f(0x141))/0x6)+-parseInt(f(0x147))/0x7+parseInt(f(0x140))/0x8*(parseInt(f(0x14e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xf29cd));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x144)]()[h(0x14d)](h(0x13e))[h(0x144)]()[h(0x14a)](a132a)[h(0x14d)](h(0x13e));});a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x13b;let f=c[d];return f;},a132d(a,b);}function a132c(){const j=['apply','25ECfEVw','search','45IMeaML','maka\x20g:route\x20todos/edit','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:package\x20package:name','(((.+)+)+)+$','generate','428216Ygdnim','1947666jFqxCU','2824551wiXJFh','590752nTjGmL','toString','713065CtfsAA','maka\x20g:template\x20todos/todo_item','3147382nFagZr','maka\x20g:dbc\x20geoserver\x20--type=pgsql','2119142liuzsa','constructor'];a132c=function(){return j;};return a132c();}const MakaGen=new Generator({'name':a132i(0x13f),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0x13c),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a132i(0x146),a132i(0x13d),a132i(0x13b),'maka\x20g:api\x20trucks',a132i(0x148)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133m=a133d;function
|
|
1
|
+
const a133m=a133d;function a133c(){const p=['tsx','dir','getMakaProjectConfig','maka:check','18SnoNOu','apply','-rpc-method\x27;','88WKYxjn','startup','maka\x20{generate,\x20g}:{method,\x20m}\x20name','search','12750880fsISRM','toString','9KSNOdo','methods','94947NRbRCc','-rpc-method.','resourceName','index.','ddp-rate-limiter','create','constructor','fsi','error','withValue','586478SHXaaj','appPathPrefix','1405061BqKPCv','mdg:validated-method','engines','92298eUBhSZ','pathFromApp','injectAtEndOfFile','(((.+)+)+)+$','imports','939104unytOv','template','3838810yBHkqx'];a133c=function(){return p;};return a133c();}(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0x6e))/0x1+-parseInt(j(0x69))/0x2+parseInt(j(0x85))/0x3*(-parseInt(j(0x7d))/0x4)+parseInt(j(0x75))/0x5+parseInt(j(0x7a))/0x6*(-parseInt(j(0x6b))/0x7)+parseInt(j(0x73))/0x8+-parseInt(j(0x83))/0x9*(-parseInt(j(0x81))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x7445e));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x7b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x82)]()[l(0x80)](l(0x71))[l(0x82)]()[l(0x8b)](a133a)[l(0x80)](l(0x71));});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x68;let f=c[d];return f;},a133d(a,b);}Generator[a133m(0x8a)]({'name':'method','aliases':['m'],'usage':a133m(0x7f),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a133m(0x77)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a133m;try{const c=this[n(0x8c)][n(0x78)]();await this['fsi'][n(0x68)](c,async()=>{const o=n,d=paramCase(b[o(0x87)]),f={'name':b[o(0x87)],'fileName':d,'className':pascalCase(b[o(0x87)]),'camelCase':camelCase(b[o(0x87)]),'noRename':!![]};let g='js';c[o(0x6d)]['js']===o(0x76)&&(g='ts');await this[o(0x8c)]['checkMeteorPackage']([o(0x79),o(0x89),o(0x6c)],{'shouldInstall':!![]}),await this['fsi'][o(0x74)]({'srcPath':'method/method.js','destPath':this[o(0x8c)][o(0x6f)]({'pathParts':[o(0x72),'startup',b['appPathPrefix'],o(0x84),b[o(0x77)],d+o(0x86)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b['dir']+'/':'/',i=this[o(0x8c)][o(0x6f)]({'pathParts':['imports',o(0x7e),b[o(0x6a)],o(0x88)+c[o(0x6d)]['js']]});await this[o(0x8c)][o(0x70)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x7c)});});}catch(d){Log[n(0x8d)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134o=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(
|
|
1
|
+
const a134o=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0x198))/0x1+parseInt(l(0x1a3))/0x2*(-parseInt(l(0x1a6))/0x3)+parseInt(l(0x1c5))/0x4*(parseInt(l(0x1a0))/0x5)+parseInt(l(0x1c1))/0x6+parseInt(l(0x1b9))/0x7+parseInt(l(0x19d))/0x8+-parseInt(l(0x1a1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xd8b88));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x1b4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0x1c4)]()[n(0x197)]('(((.+)+)+)+$')[n(0x1c4)]()[n(0x1a4)](a134a)[n(0x197)](n(0x1aa));});a134a();import a134e from'path';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x197;let f=c[d];return f;},a134d(a,b);}function a134c(){const r=['ssr','dir','theme','5736LTdBxr','maka\x20g:package\x20todos:package','package/','21770xiMRAz','10560564kYqZhm','package/package.js','1240946TWLgAb','constructor','.js','6NuqFzW','noRename','template','features','(((.+)+)+)+$','packages','engines','graphql','fsi','/package.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','client','/client/','store','apply','server','pathFromApp','template/template.js','tests/client','10230570XzEMrG','component','tests/server','layout','getMakaProjectConfig','resourceName','hasOwnProperty','lib','6346218FHnBbZ','package','pathFromAppWithNoReWrite','toString','460adOZzF','search','281390JLIZZY','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html'];a134c=function(){return r;};return a134c();}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a134o(0x1c2),'aliases':['p'],'usage':a134o(0x1b0),'shortDesc':a134o(0x199),'validOpts':[a134o(0x19b)],'examples':[a134o(0x19e)]},async function(a,b){const p=a134o,c=paramCase(b[p(0x1be)]),d=this[p(0x1ae)][p(0x1b6)]({'pathParts':[p(0x1ab),b[p(0x19b)],c]}),e=this[p(0x1ae)][p(0x1c3)]({'pathParts':[p(0x1ab),b['dir'],c,'package.js']}),f=this[p(0x1ae)][p(0x1bd)]();await this[p(0x1ae)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x1be)]),'myPath':a134e['relative'](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x1be)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x1be)]),'fileName':c,'client':f[q(0x1ac)][q(0x1b1)],'graphql':f['engines'][q(0x1ad)],'ssr':f['engines'][q(0x19a)],'isComponent':b[q(0x1bf)](q(0x1ba)),'isLayout':b[q(0x1bf)](q(0x1bc)),'isStore':b[q(0x1bf)](q(0x1b3)),'features':f[q(0x1a9)],'noRename':!![],'theme':f[q(0x1ac)][q(0x19c)]};await this[q(0x1ae)][q(0x1a8)]({'srcPath':q(0x1a2),'destPath':e,'context':g,'config':f}),g[q(0x1a7)]=![];const h=d+q(0x1b2)+c+'.js';await this[q(0x1ae)][q(0x1a8)]({'srcPath':q(0x1b7),'destPath':h,'context':g,'config':f});const i=[q(0x1c0),q(0x1b5),q(0x1b8),q(0x1bb)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x1a5);await this[q(0x1ae)][q(0x1a8)]({'srcPath':q(0x19f)+j+q(0x1af),'destPath':k,'context':g,'config':f});}});});
|