@maka/maka-cli 4.13.15 → 4.13.16
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/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 +1 -1
|
@@ -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(0x176))/0x1+-parseInt(l(0x18b))/0x2*(parseInt(l(0x18d))/0x3)+parseInt(l(0x173))/0x4*(parseInt(l(0x170))/0x5)+-parseInt(l(0x198))/0x6+-parseInt(l(0x195))/0x7+-parseInt(l(0x165))/0x8+parseInt(l(0x15c))/0x9*(parseInt(l(0x18a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xb03e6));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x186)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a['toString']()['search'](n(0x16c))[n(0x193)]()['constructor'](a117a)['search'](n(0x16c));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x15b;let f=c[d];return f;},a117d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a117c(){const r=['217478lfIAeu','checkNpmPackage','6DJVpus','test','fsi','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','layouts','cssCaseName','toString','none','1846285MbrHHx','withValue','css','1527390npEiyK','test/test.js','injectTemplateModule','4302stbhgA','features','hook','notice','resourceName','.js','template','force','\x20hook...','1940456PeAbSX','pages','setTemplate','hook/hook.js','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','components','/imports/ui/components','(((.+)+)+)+$','theme','string','import\x20\x27./','5AfowdJ','react','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','1617152YfZaLW','error','getMakaProjectConfig','783067lwQCfz','engines','withTranslations','hooks','dir','@apollo/client','className','apollo','baseDir','.css','pathFromApp','graphql','\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','fileName','true','injectAtBeginningOfFile','apply','Creating\x20','@apollo/client\x20isomorphic-fetch','.app-tests.js','10730olVJVt'];a117c=function(){return r;};return a117c();}Generator['create']({'name':a117o(0x15e),'aliases':['h'],'checkWhere':![],'usage':a117o(0x172),'shortDesc':a117o(0x190),'validOpts':[{'name':a117o(0x17e),'values':[a117o(0x179),a117o(0x16a),a117o(0x166),a117o(0x191)]},{'name':a117o(0x163),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a117o(0x182)},async function(a,b){const p=a117o;Log[p(0x15f)](p(0x187)+b[p(0x160)]+p(0x164));try{const c=this['fsi'][p(0x18c)]('react');if(!c){Log[p(0x174)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[p(0x18f)]['findAppDirectory'](),f=b[p(0x17e)]?'/imports/ui/'+b[p(0x17e)]:p(0x16b),g=this['fsi'][p(0x180)]({'pathParts':[f,b[p(0x17a)],paramCase(b[p(0x160)]),paramCase(b[p(0x160)])]}),h=await this[p(0x18f)][p(0x175)]();await this['fsi'][p(0x196)](h,async()=>{const q=p;typeof h['template'][q(0x197)]===q(0x16e)&&(h['template'][q(0x197)]=h[q(0x162)][q(0x197)]===q(0x184)?!![]:![],this[q(0x18f)][q(0x167)](q(0x197),h[q(0x162)][q(0x197)]));h[q(0x177)][q(0x181)]===q(0x17d)&&!this[q(0x18f)][q(0x18c)](q(0x17b))&&(Log['warn'](q(0x169)),await this[q(0x18f)]['installNpmPackage'](q(0x188),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x160)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b['resourceName']),'name':pascalCase(b[q(0x160)]),'graphql':h[q(0x177)][q(0x181)],'theme':h['engines'][q(0x16d)],'features':h['features'],'myPath':a117e['relative'](this[q(0x18f)]['pathFromProject']({}),g),'fileName':paramCase(b[q(0x160)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x15d)][q(0x178)]};await this[q(0x18f)]['template']({'srcPath':q(0x168),'destPath':g+q(0x161),'context':i,'config':h,'framework':q(0x171),'force':b[q(0x163)]});h['template'][q(0x197)]&&(await this[q(0x18f)][q(0x162)]({'srcPath':'template/template.css','destPath':g+q(0x17f),'context':Object['assign']({},i,{'className':i[q(0x192)]}),'config':h,'force':b[q(0x163)]}),await this['fsi'][q(0x185)]({'filePath':g+'.'+h[q(0x177)]['js'],'content':q(0x16f)+i[q(0x183)]+'.'+h[q(0x177)][q(0x197)]+'\x27;'}));h[q(0x177)][q(0x18e)]!==q(0x194)&&await this[q(0x18f)][q(0x162)]({'srcPath':q(0x199),'destPath':g+q(0x189),'framework':'react','context':i,'config':h,'force':b[q(0x163)]});const j=b[q(0x17a)]?'/'+b[q(0x17a)]+'/':'/',k=''+f+j+i[q(0x183)]+'/'+i[q(0x183)];await this[q(0x18f)][q(0x15b)](i[q(0x17c)],h,k);});}catch(i){Log['error'](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d
|
|
1
|
+
function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x12d;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x13a))/0x1*(-parseInt(f(0x12f))/0x2)+parseInt(f(0x132))/0x3+parseInt(f(0x136))/0x4*(parseInt(f(0x138))/0x5)+-parseInt(f(0x12d))/0x6+-parseInt(f(0x13b))/0x7*(-parseInt(f(0x13c))/0x8)+parseInt(f(0x131))/0x9*(-parseInt(f(0x133))/0xa)+-parseInt(f(0x137))/0xb*(parseInt(f(0x135))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x1b0dc));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x130)]()[h(0x139)](h(0x134))[h(0x130)]()['constructor'](a118a)[h(0x139)]('(((.+)+)+)+$');});a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';function a118c(){var i=['72EaRCqx','278712fKyuNK','105010lTOdzB','(((.+)+)+)+$','60sOXayW','22156FIvXmk','71973gFqyUz','80mJFYTf','search','1uuviEH','7112SVmZOp','944DmmDeh','967692CrssMu','apply','174802rswcox','toString'];a118c=function(){return i;};return a118c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d
|
|
1
|
+
function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0xbb;var f=c[d];return f;},a119d(a,b);}(function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0xbf))/0x1*(-parseInt(f(0xc7))/0x2)+parseInt(f(0xc2))/0x3+parseInt(f(0xc4))/0x4*(parseInt(f(0xc8))/0x5)+parseInt(f(0xc0))/0x6*(-parseInt(f(0xc1))/0x7)+-parseInt(f(0xc9))/0x8+-parseInt(f(0xbb))/0x9+-parseInt(f(0xc5))/0xa*(-parseInt(f(0xbe))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x4e885));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0xbd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0xbc)]()[h(0xc6)](h(0xc3))['toString']()['constructor'](a119a)[h(0xc6)](h(0xc3));});function a119c(){var i=['335526lltKQd','70UEUSsL','1622316PvWyFD','(((.+)+)+)+$','2339492PGtiyo','8620960ovVDRs','search','651596CpkAnW','5xuixNn','4442024quMcBp','2032299IQSSeN','toString','apply','11USaNdg','1QsBnLE'];a119c=function(){return i;};return a119c();}a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x1c9))/0x1*(parseInt(f(0x1d3))/0x2)+parseInt(f(0x1cc))/0x3*(-parseInt(f(0x1da))/0x4)+-parseInt(f(0x1c8))/0x5+parseInt(f(0x1db))/0x6+parseInt(f(0x1d2))/0x7*(parseInt(f(0x1d6))/0x8)+parseInt(f(0x1d0))/0x9*(parseInt(f(0x1dc))/0xa)+parseInt(f(0x1cd))/0xb*(-parseInt(f(0x1d4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xa1382));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(0x1d9)]()[g(0x1cb)]('(((.+)+)+)+$')[g(0x1d9)]()[g(0x1cf)](a120a)[g(0x1cb)](g(0x1d8));});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120c(){const j=['constructor','2633724tfjLsG','auth','8595503prxLWI','38bkqcOF','169800iWNXqM','maka\x20g:kit:a','8UqFdPU','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','(((.+)+)+)+$','toString','48800MsTtUF','6906540mtnfRw','10mPjPGW','NIE','5175530HGYtzI','32655fyaxtv','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','search','84QOxLMp','11mbUjbE','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'];a120c=function(){return j;};return a120c();}function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1c7;let f=c[d];return f;},a120d(a,b);}const AuthGen=Generator['create']({'name':a120h(0x1d1),'aliases':['a'],'usage':a120h(0x1ca),'noNeedResource':!![],'shortDesc':a120h(0x1d7),'validOpts':[''],'isPro':!![],'examples':[a120h(0x1d5)],'description':a120h(0x1ce)},async function(){const i=a120h;throw i(0x1c7);},async function(){},a120e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a121r=a121d;function a121c(){const u=['
|
|
1
|
+
const a121r=a121d;function a121c(){const u=['/imports/startup/lib','const\x20sendForgotPasswordEmail','search','2350848RKxOHq','const\x20authenticateUser','findProjectDirectory','getMakaProjectConfig','apply','37379463QDTEJd','template','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateToken','REACT','\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','processAndRunGenerator','12888ArTsOG','create','4762471IGePVe','10873540wsTouw','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','1184zSABqa','toString','Accounts','meteor/meteor','server','const\x20resetPasswordWithToken','react','const\x20deauthenticateUser','injectImport','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','meteor','\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','force','meteor/accounts-base','authentication-provider','const\x20registerNewUser','startup','Meteor.startup','injectIntoCodeBlock','2RvIqnP','7892FRrpAZ','constructor','\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','\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','const\x20getUserAuthorizations','pathFromApp','checkMeteorPackage','kit:auth:provider','imports','error','(((.+)+)+)+$','fsi','export\x20const\x20AuthProvider','12vkfdYZ','ssr','/imports/startup/lib/authentication-service','withValue','.js','accounts-password','return\x20\x5c(','meteor/maka:react-tracker','998855SwXHCt','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','485HRYGWl','engines','Meteor','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','auth/roles','injectIntoFile'];a121c=function(){return u;};return a121c();}(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x134))/0x1+-parseInt(o(0x165))/0x2*(-parseInt(o(0x13f))/0x3)+-parseInt(o(0x166))/0x4*(-parseInt(o(0x136))/0x5)+-parseInt(o(0x12c))/0x6*(parseInt(o(0x14e))/0x7)+-parseInt(o(0x151))/0x8*(parseInt(o(0x14c))/0x9)+-parseInt(o(0x14f))/0xa+parseInt(o(0x144))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xae627));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x120;let f=c[d];return f;},a121d(a,b);}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x152)]()[q(0x13e)](q(0x129))[q(0x152)]()[q(0x120)](a121a)['search'](q(0x129));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x14d)]({'name':a121r(0x15c),'aliases':['m'],'usage':a121r(0x150),'shortDesc':a121r(0x139),'validOpts':[a121r(0x15e)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x149)]},'description':a121r(0x122)},async function(a,b){const s=a121r;try{const c=b['force']||![];await this['fsi'][s(0x125)]([s(0x131),'alanning:roles'],{'shouldInstall':!![]});const d=this[s(0x12a)][s(0x141)](),f=this[s(0x12a)][s(0x142)](),g=f['engines'][s(0x12d)]==='true';await a121f[s(0x14b)](s(0x126),[],{'force':c,'cwd':d,'config':f});const h=await a121f['processAndRunGenerator']('publish',[s(0x13a)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x13c):'/imports/startup/client',j=this[s(0x12a)][s(0x124)]({'pathParts':[i,'','','authentication-service']});await this[s(0x12a)][s(0x12f)](f,async()=>{const t=s;await this[t(0x12a)][t(0x145)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0x130),'framework':t(0x157),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x12a)]['pathFromApp']({'pathParts':[i,'','',s(0x160)]}),l=f[s(0x137)]['js'];await this['fsi']['injectImport']({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?s(0x12e):'/imports/startup/client/authentication-service','isNamedExport':![]}),await this['fsi'][s(0x164)]({'filePath':k+'.'+l,'content':s(0x146),'begin':s(0x140),'replace':!![]}),await this['fsi'][s(0x164)]({'filePath':k+'.'+l,'content':s(0x121),'begin':s(0x148),'replace':!![]}),await this[s(0x12a)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x15a),'begin':s(0x123),'replace':!![]}),await this[s(0x12a)][s(0x164)]({'filePath':k+'.'+l,'content':s(0x135),'begin':s(0x158),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x13d),'replace':!![]}),await this['fsi'][s(0x164)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x161),'replace':!![]}),await this[s(0x12a)][s(0x164)]({'filePath':k+'.'+l,'content':s(0x15b),'begin':s(0x156),'replace':!![]});g&&(await this[s(0x12a)][s(0x159)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x133),'isNamedExport':!![]}),await this[s(0x12a)][s(0x13b)]({'filePath':k+'.'+l,'content':s(0x15d),'begin':s(0x12b),'end':s(0x132)}));await this[s(0x12a)][s(0x159)]({'filePath':h,'importName':s(0x138),'modulePath':s(0x154),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x12a)][s(0x164)]({'filePath':h,'content':s(0x147),'begin':'Meteor.publish','replace':!![]});const m=this[s(0x12a)][s(0x124)]({'pathParts':[s(0x127),s(0x162),s(0x155),'index']});await this[s(0x12a)][s(0x159)]({'filePath':m+'.'+l,'importName':s(0x153),'modulePath':s(0x15f),'isNamedExport':!![]}),await this['fsi'][s(0x164)]({'filePath':m+'.'+l,'content':s(0x14a),'begin':s(0x163),'replace':!![]});}catch(n){Log[s(0x128)](n),process['exit'](0x1);}},async function(){},a121e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0xdd))/0x1*(-parseInt(u(0xc7))/0x2)+-parseInt(u(0xdb))/0x3+-parseInt(u(0xd8))/0x4*(parseInt(u(0xd9))/0x5)+parseInt(u(0xe3))/0x6*(-parseInt(u(0xc4))/0x7)+-parseInt(u(0xe2))/0x8+parseInt(u(0xed))/0x9+parseInt(u(0xca))/0xa*(parseInt(u(0xcd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x9060c));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0xdc)]()[w(0xc6)]('(((.+)+)+)+$')[w(0xdc)]()[w(0xe5)](a122a)[w(0xc6)](w(0xec));});a122a();function a122c(){const A=['2628192JPAWeY','330462mtMdoG','pathFromApp','constructor','function\x20Routes','/imports/startup/server/index','<Routes\x20history={history}/>','authentication-provider','engines','error','(((.+)+)+)+$','5649552DwVMjA','force','/routes','.js','withValue','appName','injectAroundString','77unxKfd','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','search','106FbWbGD','/imports/startup/client/index','create','1900480iOuoeU','AuthContext','injectIntoCodeBlock','143jyDEWG','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','\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','REACT','template','</AuthProvider>','fsi','\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','/imports/startup/client/authentication-provider','<AuthProvider>','/imports/startup/lib/authentication-provider','20OmvERE','378715YJuxKj','injectImport','3406941CgrHQN','toString','1099enrmnQ','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','/imports/startup/lib','apply','split'];a122c=function(){return A;};return a122c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xc4;let f=c[d];return f;},a122d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0xc9)]({'name':'provider','aliases':['p'],'usage':a122x(0xc5),'shortDesc':a122x(0xde),'validOpts':[a122x(0xee)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0xd0)]},'description':a122x(0xd4)},async function(a,b){const y=a122x;try{const c=b[y(0xee)]||![];Log['bright'](y(0xce));const d=this[y(0xd3)]['getMakaProjectConfig'](),f=d[y(0xea)]['ssr']==='true',g={'name':headerCase(d[y(0xf2)])['replaceAll']('-','\x20')},h=f?y(0xdf):'/imports/startup/client',i=this[y(0xd3)][y(0xe4)]({'pathParts':[h,'','',y(0xe9)]});await this['fsi'][y(0xf1)](d,async()=>{const z=y;await this['fsi'][z(0xd1)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+z(0xf0),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0xea)]['js'],k=h+y(0xef),l=k[y(0xe1)]('/'),m=this['fsi'][y(0xe4)]({'pathParts':l});await this[y(0xd3)]['injectImport']({'filePath':m+'.'+j,'importName':y(0xcb),'modulePath':f?y(0xd7):y(0xd5),'isNamedExport':!![]}),await this[y(0xd3)]['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[y(0xd3)][y(0xcc)]({'filePath':m+'.'+j,'content':y(0xcf),'begin':['const\x20Routes',y(0xe6)],'replace':!![]});const n=y(0xc8),o=n['split']('/'),p=this['fsi']['pathFromApp']({'pathParts':o});await this[y(0xd3)][y(0xda)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':y(0xd5),'isNamedExport':!![]}),await this[y(0xd3)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0xd2),'targetString':'<Routes\x20history={browserHistory}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xe7),r=q['split']('/'),s=this['fsi']['pathFromApp']({'pathParts':r});await this[y(0xd3)][y(0xda)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0xd7):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0xf3)]({'filePath':s+'.'+j,'aboveContent':y(0xd6),'belowContent':y(0xd2),'targetString':y(0xe8),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xeb)](t),process['exit'](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x1f0;var f=c[d];return f;},a123d(a,b);}(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x1fa))/0x1*(parseInt(f(0x1f9))/0x2)+parseInt(f(0x200))/0x3*(parseInt(f(0x1f1))/0x4)+-parseInt(f(0x1fb))/0x5*(-parseInt(f(0x1fc))/0x6)+-parseInt(f(0x1f4))/0x7+parseInt(f(0x1f3))/0x8*(parseInt(f(0x1ff))/0x9)+-parseInt(f(0x1f8))/0xa+-parseInt(f(0x1f5))/0xb*(-parseInt(f(0x1fe))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xcdb92));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x1fd)]()['search'](h(0x1f7))[h(0x1fd)]()[h(0x1f2)](a123a)[h(0x1f6)](h(0x1f7));});function a123c(){var i=['21155448LblKbQ','1090341cnsuoX','3xeSGVq','apply','4325532IGouhW','constructor','56TVFkQS','6125560uebaUh','11VGNKPH','search','(((.+)+)+)+$','16516640RrVSth','2eYdpYC','759869SCaCeQ','5mWZJaX','2621250xAexha','toString'];a123c=function(){return i;};return a123c();}a123a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a124c(){const
|
|
1
|
+
const a124h=a124d;function a124c(){const j=['maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','6epBubG','create','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','/foo/bar','constructor','Esri\x20Kit\x20generated\x20successfully','2928MVLUSB','8EsAmBp','/foo','56388UZroyV','esri','(((.+)+)+)+$','175915tDrEnK','search','42430EFIUUd','414243dbltnv','1859VCveQY','939477RcNxwC','toString','11962PYnGbj','451CCySyI','37WHqKdO','maka\x20g:kit:e','7083MnRfbU'];a124c=function(){return j;};return a124c();}function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x17f;let f=c[d];return f;},a124d(a,b);}(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x186))/0x1*(-parseInt(f(0x184))/0x2)+-parseInt(f(0x180))/0x3*(parseInt(f(0x191))/0x4)+-parseInt(f(0x196))/0x5*(parseInt(f(0x18a))/0x6)+parseInt(f(0x182))/0x7+-parseInt(f(0x190))/0x8*(parseInt(f(0x188))/0x9)+-parseInt(f(0x17f))/0xa*(parseInt(f(0x185))/0xb)+parseInt(f(0x193))/0xc*(parseInt(f(0x181))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x3e0a3));const a124b=(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;};}()),a124a=a124b(this,function(){const g=a124d;return a124a['toString']()[g(0x197)](g(0x195))[g(0x183)]()[g(0x18e)](a124a)[g(0x197)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124h(0x18b)]({'name':a124h(0x194),'aliases':['e'],'usage':a124h(0x189),'noNeedResource':!![],'shortDesc':a124h(0x18c),'validOpts':[''],'isPro':!![],'examples':[a124h(0x187)],'description':'\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'},async function(){const i=a124h;return{'success':!![],'message':i(0x18f),'details':{'filesCreated':[i(0x18d)],'filesUpdated':[i(0x192)]}};},async function(){},a124e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(
|
|
1
|
+
const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x181))/0x1*(-parseInt(p(0x170))/0x2)+-parseInt(p(0x194))/0x3*(-parseInt(p(0x19e))/0x4)+-parseInt(p(0x18b))/0x5*(parseInt(p(0x188))/0x6)+-parseInt(p(0x175))/0x7+-parseInt(p(0x196))/0x8*(parseInt(p(0x176))/0x9)+parseInt(p(0x177))/0xa*(parseInt(p(0x18d))/0xb)+parseInt(p(0x199))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xe209a));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x172)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x19b)]()[r(0x180)](r(0x174))['toString']()['constructor'](a125a)[r(0x180)](r(0x174));});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';function a125c(){const v=['3084RxriFh','</div>','error','engines','esri-loader','map','pathFromApp','baseDir','1430HFKzhN','basic-map','apply','checkNpmPackage','(((.+)+)+)+$','8052009CdeUEG','2943AvaEWF','16401160lbhDSL','REACT','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','page','getMakaProjectConfig','<div\x20id=\x22map\x22>','true','injectIntoFile','split','search','1619KmVAJM','template','/imports/startup/lib/templates','\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','Generate\x20an\x20Esri\x20map\x20component','dir','/imports/ui/','4326rMRNJV','FALSE','appName','4705gLCLwy','injectTemplateModule','11MsOtoV','/imports/startup/client/templates','ssr','Generating\x20a\x20map\x20component','.js','withValue','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','6453oANdoc','injectImport','38968EReLZn','processAndRunGenerator','@esri/react-arcgis','26477556WrhdKg','fsi','toString','/imports/ui/hooks','react'];a125c=function(){return v;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x169;let f=c[d];return f;},a125d(a,b);}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'map','aliases':['m'],'usage':a125s(0x193),'shortDesc':a125s(0x185),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x178)],'ssr':SsrEngines[a125s(0x189)]},'description':a125s(0x184)},async function(a,b){const t=a125s;try{Log['bright'](t(0x190));const c=t(0x171);await this[t(0x19a)][t(0x173)]([t(0x198),t(0x16c)],{'shouldInstall':!![]});const d=this[t(0x19a)]['findProjectDirectory'](),f=this[t(0x19a)][t(0x17b)](),g=f[t(0x16b)][t(0x18f)]===t(0x17d),h=await a125f[t(0x197)](t(0x17a),[t(0x16d)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x18a)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x16f)]?t(0x187)+b['baseDir']:t(0x19c),k=this[t(0x19a)][t(0x16e)]({'pathParts':[j,b[t(0x186)],paramCase(c),paramCase(c)]});await this[t(0x19a)][t(0x192)](f,async()=>{const u=t;await this[u(0x19a)][u(0x182)]({'srcPath':'kit/esri/map/'+c+u(0x191),'destPath':k+u(0x191),'framework':u(0x19d),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0x19a)][t(0x18c)](c,f,l);const m=h[t(0x17f)]('/'),n=this[t(0x19a)][t(0x16e)]({'pathParts':m});await this[t(0x19a)][t(0x195)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x183):t(0x18e),'isNamedExport':!![]}),await this[t(0x19a)][t(0x17e)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x179),'begin':[t(0x17c),t(0x17c)],'end':[t(0x169)],'replace':!![]});}catch(o){Log[t(0x16a)](o),process['exit'](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xc0;let f=c[d];return f;},a126d(a,b);}const a126h=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0xc4))/0x1*(parseInt(f(0xc6))/0x2)+parseInt(f(0xce))/0x3*(-parseInt(f(0xd0))/0x4)+-parseInt(f(0xc9))/0x5+-parseInt(f(0xcd))/0x6*(-parseInt(f(0xc5))/0x7)+parseInt(f(0xc2))/0x8*(-parseInt(f(0xc0))/0x9)+-parseInt(f(0xc7))/0xa*(parseInt(f(0xd1))/0xb)+-parseInt(f(0xd2))/0xc*(-parseInt(f(0xd3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x425b0));const a126b=(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;};}()),a126a=a126b(this,function(){const g=a126d;return a126a[g(0xcf)]()[g(0xc8)](g(0xcb))[g(0xcf)]()[g(0xca)](a126a)[g(0xc8)]('(((.+)+)+)+$');});function a126c(){const i=['maka\x20g:k','698840yQvNBb','maka\x20{generate,\x20g}:{kit}\x20<name>','83aEpXoF','427lEMoze','9550XjRYXw','742760rjpGTQ','search','1832825dTcZcO','constructor','(((.+)+)+)+$','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','46254GPATmY','300CnWZuy','toString','19940KBobkm','33ShORSg','3482796DEmKEK','26kgDKvz','9FkOSEq'];a126c=function(){return i;};return a126c();}a126a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':'kit','aliases':['k'],'usage':a126h(0xc3),'shortDesc':a126h(0xcc),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a126h(0xc1)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-
|
|
1
|
+
function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x136;var f=c[d];return f;},a127d(a,b);}(function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x13d))/0x1+-parseInt(f(0x143))/0x2+-parseInt(f(0x137))/0x3+parseInt(f(0x13e))/0x4*(-parseInt(f(0x141))/0x5)+parseInt(f(0x136))/0x6+-parseInt(f(0x13c))/0x7+-parseInt(f(0x13a))/0x8*(-parseInt(f(0x138))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x33d6e));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x140)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x142)]()[h(0x139)]('(((.+)+)+)+$')[h(0x142)]()[h(0x13f)](a127a)[h(0x139)](h(0x13b));});a127a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a127c(){var i=['40010ZMcbPC','toString','349814gVsill','207966BGnkdl','584649ETpLuR','422613BzCiEL','search','128sAwVRp','(((.+)+)+)+$','492002jmvFlZ','18475yVpSeM','76LGGXUQ','constructor','apply'];a127c=function(){return i;};return a127c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(
|
|
1
|
+
const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0xf8))/0x1+-parseInt(G(0xfb))/0x2+-parseInt(G(0x105))/0x3*(-parseInt(G(0xf9))/0x4)+parseInt(G(0x113))/0x5*(-parseInt(G(0xde))/0x6)+-parseInt(G(0xf3))/0x7+-parseInt(G(0x11a))/0x8+parseInt(G(0xe7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x30254));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0xe5)]()[I(0xf0)](I(0xec))[I(0xe5)]()[I(0x103)](a128a)[I(0xf0)]('(((.+)+)+)+$');});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';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xde;let f=c[d];return f;},a128d(a,b);}function a128c(){const N=['search','AuthContext','layouts','2660336AcNyUM','create','route','authType','meteor','257792mOUXpm','12IWYHRi','Cleaning\x20up...','109156AzMCMv','react','kit:auth:provider','processAndRunGenerator','basic-register-page','Meteor\x20Accounts','custom','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','constructor','kit/mui/auth/password-reset/','258699AlvXqp','/imports/startup/lib/authentication-provider','replaceAll','basic-password-reset-page','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','pathFromApp','basic-logout-page','split','error','list','login','template','basic-login-page','MATERIAL','657355xbdzla','fsi','kit/mui/auth/register/','Custom\x20(roll\x20your\x20own)','dir','/imports/ui/','reset-password/:token','60480WZKbWI','getMakaProjectConfig','12sXYFqm','injectImport','register','injectTemplateModule','.js','withValue','auth','toString','kit/mui/auth/login/','8112825fwsnJK','baseDir','basic-forgot-password-page','appName','apply','(((.+)+)+)+$','options','maka\x20generate:kit:mui:frame','/imports/startup/client/authentication-provider'];a128c=function(){return N;};return a128c();}import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0xf4)]({'name':a128J(0xe4),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a128J(0x102),'validOpts':[a128J(0xf2),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0x112)],'client':ClientEngines['REACT']},'examples':[a128J(0xee),'maka\x20g:k:m:f'],'description':a128J(0x109)},async function(a,b){const K=a128J;try{const c=b['force']||![],d=this[K(0x114)]['findProjectDirectory'](),f=this['fsi'][K(0x11b)](),{authType:g}=await Actions[K(0xed)]({'type':K(0x10e),'name':K(0xf6),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':K(0x100),'value':K(0xf7)},{'name':K(0x116),'value':'custom'}]}),h=K(0x111),i=K(0x10b),j=K(0xff),k='basic-password-reset-page',l=K(0xe9),m=b[K(0xe8)]?K(0x118)+b[K(0xe8)]:'/imports/ui/pages/auth',n=this[K(0x114)][K(0x10a)]({'pathParts':[m,b[K(0x117)],paramCase(h),paramCase(h)]}),o=this[K(0x114)][K(0x10a)]({'pathParts':[m,b[K(0x117)],paramCase(i),paramCase(i)]}),p=this['fsi'][K(0x10a)]({'pathParts':[m,b[K(0x117)],paramCase(j),paramCase(j)]}),q=this[K(0x114)][K(0x10a)]({'pathParts':[m,b[K(0x117)],paramCase(k),paramCase(k)]}),r=this[K(0x114)][K(0x10a)]({'pathParts':[m,b[K(0x117)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xea)])[K(0x107)]('-','\x20')};await this[K(0x114)][K(0xe3)](f,async()=>{const L=K;await this[L(0x114)][L(0x110)]({'srcPath':L(0xe6)+h+L(0xe2),'destPath':n+L(0xe2),'framework':L(0xfc),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x114)][L(0x110)]({'srcPath':'kit/mui/auth/logout/'+i+L(0xe2),'destPath':o+L(0xe2),'framework':L(0xfc),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x114)]['template']({'srcPath':L(0x115)+j+L(0xe2),'destPath':p+'.js','framework':L(0xfc),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x114)][L(0x110)]({'srcPath':L(0x104)+k+'.js','destPath':q+L(0xe2),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x114)]['template']({'srcPath':'kit/mui/auth/forgot-password/'+l+L(0xe2),'destPath':r+L(0xe2),'framework':L(0xfc),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x117)]+'/'+h+'/'+h;await this[K(0x114)][K(0xe1)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this['fsi'][K(0xe1)](i,f,u);const v=''+m+b[K(0x117)]+'/'+j+'/'+j;await this[K(0x114)][K(0xe1)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[K(0x114)][K(0xe1)](k,f,w);const x=''+m+b[K(0x117)]+'/'+l+'/'+l;await this[K(0x114)][K(0xe1)](l,f,x),await a128e[K(0xfe)](K(0xf5),['basic-login-page'],{'url':K(0x10f),'cwd':d,'config':f}),await a128e[K(0xfe)](K(0xf5),[K(0x10b)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a128e['processAndRunGenerator']('route',[K(0xff)],{'url':K(0xe0),'cwd':d,'config':f}),await a128e['processAndRunGenerator']('route',[K(0x108)],{'url':K(0x119),'cwd':d,'config':f}),await a128e[K(0xfe)](K(0xf5),[K(0xe9)],{'url':'forgot-password','cwd':d,'config':f});g==='meteor'&&await a128e[K(0xfe)]('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g===K(0x101)&&await a128e[K(0xfe)](K(0xfd),[],{'force':c,'cwd':d,'config':f});const y=f['engines']['ssr']==='true',z=f['engines']['js'],A=this[K(0x114)]['pathFromApp']({'pathParts':t[K(0x10c)]('/')});await this['fsi'][K(0xdf)]({'filePath':A+'.'+z,'importName':K(0xf1),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xef),'isNamedExport':!![]});const B=this[K(0x114)][K(0x10a)]({'pathParts':u[K(0x10c)]('/')});await this[K(0x114)][K(0xdf)]({'filePath':B+'.'+z,'importName':K(0xf1),'modulePath':y?K(0x106):K(0xef),'isNamedExport':!![]});const C=this[K(0x114)][K(0x10a)]({'pathParts':v['split']('/')});await this[K(0x114)][K(0xdf)]({'filePath':C+'.'+z,'importName':K(0xf1),'modulePath':y?K(0x106):K(0xef),'isNamedExport':!![]});const D=this[K(0x114)][K(0x10a)]({'pathParts':w[K(0x10c)]('/')});await this['fsi'][K(0xdf)]({'filePath':D+'.'+z,'importName':K(0xf1),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xef),'isNamedExport':!![]});const E=this[K(0x114)][K(0x10a)]({'pathParts':x['split']('/')});await this[K(0x114)][K(0xdf)]({'filePath':E+'.'+z,'importName':K(0xf1),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xef),'isNamedExport':!![]});}catch(F){Log[K(0x10d)](F);}},async function(){const M=a128J;console['log'](M(0xfa));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d
|
|
1
|
+
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x1bc))/0x1+-parseInt(B(0x1ce))/0x2*(parseInt(B(0x1d8))/0x3)+parseInt(B(0x1de))/0x4*(parseInt(B(0x1f7))/0x5)+-parseInt(B(0x1cb))/0x6*(parseInt(B(0x1e3))/0x7)+parseInt(B(0x1f2))/0x8*(-parseInt(B(0x1d0))/0x9)+-parseInt(B(0x1c8))/0xa+parseInt(B(0x1d2))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x2284e));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x1f1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a['toString']()[D(0x1ca)](D(0x1e9))['toString']()[D(0x1d7)](a129a)[D(0x1ca)]('(((.+)+)+)+$');});a129a();function a129c(){const I=['error','774ZYJrpJ','fsi','2410155sdreCn','length','9851347EBnyOx','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','withValue','force','maka:react-tracker','constructor','1119UlkQUQ','options','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','app-tests','ssr','{props.children}','36pqAqNQ','injectIntoFile','kit/mui/frame/drawers/','/imports/startup/client/templates','react','7ldxqqa','No\x20layouts\x20selected','join','true','engines','dir','(((.+)+)+)+$','injectTemplateModule','REACT','<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>','/imports/ui/','{this.props.children}','log','-hook\x22>','apply','8nfFcfL','basic-app-bar','injectAroundString','</div>','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','127395nwhqSV','layouts','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','jsx','pathFromApp','{\x20this.props.children\x20}','maka\x20generate:kit:mui:frame','Cleaning\x20up...','kit/mui/frame/app-bars/','\x20/>\x0a','<div\x20id=\x22','imports','tsx','@mui/material/Container','template','63861wdrGmP','injectImport','maka\x20g:k:m:f','test','checkbox','replaceAll','baseDir','getMakaProjectConfig','session','.js','{\x20props.children\x20}','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','2269980zDTCyX','tests','search','1682958RxCSFk','/imports/ui/components'];a129c=function(){return I;};return a129c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';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';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a129d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'frame','aliases':['f'],'usage':a129E(0x1f6),'shortDesc':a129E(0x1c7),'validOpts':['layouts',a129E(0x1c2),a129E(0x1e8),a129E(0x1d5)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a129E(0x1eb)]},'examples':[a129E(0x1fd),a129E(0x1be)],'description':a129E(0x1d3)},async function(a,b){const F=a129E;try{const c=b['force']||![],d=F(0x1f3),f='basic-drawer',g='basic-sticky-footer',h=this[F(0x1cf)][F(0x1c3)](),i=h[F(0x1e7)][F(0x1dc)]===F(0x1e6);await this[F(0x1cf)]['checkMeteorPackage']([F(0x1c4),F(0x1d6)],{'shouldInstall':!![]});const j=this[F(0x1cf)]['findAppDirectory'](),k=a129e[F(0x1e5)](j,F(0x1b8),'ui',F(0x1f8)),l=this['fsi']['getDirectories'](k),m=await Actions[F(0x1d9)]({'type':F(0x1c0),'name':'layouts','message':F(0x1f9),'choices':l});if(m[F(0x1f8)][F(0x1d1)]===0x0){Log[F(0x1cd)](F(0x1e4));return;}const n=b[F(0x1c2)]?F(0x1ed)+b[F(0x1c2)]:F(0x1cc),o=this[F(0x1cf)]['pathFromApp']({'pathParts':[n,b[F(0x1e8)],paramCase(d),paramCase(d)]}),p=this[F(0x1cf)]['pathFromApp']({'pathParts':[n,b[F(0x1e8)],paramCase(f),paramCase(f)]}),q=this[F(0x1cf)][F(0x1fb)]({'pathParts':[n,b[F(0x1e8)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[F(0x1c1)]('-','\x20')};await this[F(0x1cf)][F(0x1d4)](h,async()=>{const G=F;await this[G(0x1cf)][G(0x1bb)]({'srcPath':G(0x1b5)+d+'.js','destPath':o+G(0x1c5),'framework':G(0x1e2),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':G(0x1e0)+f+G(0x1c5),'destPath':p+G(0x1c5),'framework':G(0x1e2),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1cf)]['template']({'srcPath':'kit/mui/frame/footers/'+g+G(0x1c5),'destPath':q+G(0x1c5),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x1e8)]+'/'+d+'/'+d;await this[F(0x1cf)]['injectTemplateModule'](d,h,s);const t=''+n+b[F(0x1e8)]+'/'+f+'/'+f;await this[F(0x1cf)]['injectTemplateModule'](f,h,t);const u=''+n+b[F(0x1e8)]+'/'+g+'/'+g;await this[F(0x1cf)][F(0x1ea)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi']['getFiles'](a129e['join'](k,w),{'extensions':[F(0x1fa),F(0x1b9)],'omit':[F(0x1db),F(0x1c9),F(0x1bf)]});for(const y of x){const z=a129e[F(0x1e5)](k,w,y);await this[F(0x1cf)][F(0x1bd)]({'filePath':z,'importName':'Box','modulePath':'@mui/material/Box','isNamedExport':![]}),await this[F(0x1cf)][F(0x1bd)]({'filePath':z,'importName':'Container','modulePath':F(0x1ba),'isNamedExport':![]}),await this[F(0x1cf)][F(0x1bd)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][F(0x1df)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x1b6),'begin':[F(0x1b7)+w+'\x22>',F(0x1b7)+w+'-hook\x22>'],'end':[F(0x1ee),F(0x1fc),F(0x1dd),F(0x1c6)]}),await this[F(0x1cf)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x1e1),'isNamedExport':!![]}),await this[F(0x1cf)][F(0x1df)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x1b6),'begin':[F(0x1b7)+w+'\x22>',F(0x1b7)+w+F(0x1f0)],'end':['{this.props.children}',F(0x1fc),F(0x1dd),F(0x1c6)]}),await this['fsi'][F(0x1df)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x1b6),'begin':[F(0x1ee),F(0x1fc),F(0x1dd),F(0x1c6)],'end':[F(0x1f5)]}),await this[F(0x1cf)]['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][F(0x1f4)]({'filePath':z,'aboveContent':F(0x1ec),'belowContent':F(0x1da),'targetString':[F(0x1ee),'{\x20this.props.children\x20}',F(0x1dd),F(0x1c6)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1cd)](A);}},async function(){const H=a129E;console[H(0x1ef)](H(0x1fe));},a129f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130i=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0x18c))/0x1+parseInt(g(0x180))/0x2*(-parseInt(g(0x198))/0x3)+-parseInt(g(0x1a1))/0x4+parseInt(g(0x18e))/0x5+parseInt(g(0x182))/0x6*(-parseInt(g(0x19c))/0x7)+-parseInt(g(0x19f))/0x8+parseInt(g(0x193))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xd6664));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x189)]()['search'](h(0x185))[h(0x189)]()[h(0x19a)](a130a)[h(0x192)](h(0x185));});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 a130c(){const k=['kit:mui:frame','notice','2Xbvhzc','getMakaProjectConfig','1046232gHtwar','fsi','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','(((.+)+)+)+$','options','auth','Material-UI\x20Kit','toString','kit:mui:auth','processAndRunGenerator','671993CUoPuf','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','6889345TAEVfc','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','mui','includes','search','27339489kpNHcw','maka\x20g:kit:m','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','No\x20MUI\x20kits\x20selected.\x20Exiting.','frame','1435686IJnLgy','create','constructor','findProjectDirectory','7yeJMho','length','kitChoices','7213880YpGfrB','\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','5242992hrKCpH','info'];a130c=function(){return k;};return a130c();}import a130f from'../kit.js';const MuiGen=Generator[a130i(0x199)]({'name':a130i(0x190),'aliases':['m'],'usage':a130i(0x195),'noNeedResource':!![],'shortDesc':a130i(0x188),'validOpts':[''],'isPro':!![],'examples':[a130i(0x194)]},async function(){const j=a130i;Log[j(0x1a2)](j(0x18f)),Log[j(0x1a4)](j(0x1a0));const {kitChoices:a}=await Actions[j(0x186)]({'type':'checkbox','name':j(0x19e),'message':j(0x184),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':j(0x18d),'value':'auth'}]}),b=this[j(0x183)][j(0x19b)](),c=this[j(0x183)][j(0x181)]();a[j(0x191)](j(0x197))&&await a130e['processAndRunGenerator'](j(0x1a3),[],{'force':!![],'cwd':b,'config':c});a[j(0x191)](j(0x187))&&await a130e[j(0x18b)](j(0x18a),[],{'force':!![],'cwd':b,'config':c});if(a[j(0x19d)]===0x0){Log['info'](j(0x196));return;}},async function(){},a130f);function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x180;let f=c[d];return f;},a130d(a,b);}export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d
|
|
1
|
+
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0x1d6))/0x1*(parseInt(l(0x208))/0x2)+parseInt(l(0x1f0))/0x3*(-parseInt(l(0x1f2))/0x4)+-parseInt(l(0x207))/0x5*(parseInt(l(0x1d0))/0x6)+parseInt(l(0x1ec))/0x7+-parseInt(l(0x1ff))/0x8*(-parseInt(l(0x1d3))/0x9)+parseInt(l(0x1d8))/0xa+-parseInt(l(0x1dd))/0xb*(parseInt(l(0x1d2))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x612ee));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x20c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a['toString']()['search'](n(0x1dc))[n(0x1f4)]()[n(0x1fc)](a131a)[n(0x1e6)](n(0x1dc));});a131a();import a131e from'path';function a131c(){const r=['component/component.js','maka\x20g:l\x20web/safari','engines','ssr','className','withHook','.app-tests.js','search','resourceName','fsi','setTemplate','true','template/template.css','867195aVuitH','hook/hook.js','injectAtBeginningOfFile','findAppDirectory','452163HPFFTc','test/test.js','16RrqxvK','checkNpmPackage','toString','api','warn','/imports/ui/layouts','string','relative','maka\x20g:layout\x20mobile/iPhone8','template','constructor','react','.js','1744ouFTNy','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','theme','pathFromApp','layout','withValue','ramda','graphql','5JsYMHk','2JaVAyr','features','injectTemplateModule','create','apply','.css','css','Scaffolding\x20for\x20a\x20React\x20Layout.','71124luAeeq','pathFromProject','1445796yUErpZ','16785uAGIph','none','installNpmPackage','383261PQYdtk','dir','7014990cQIIZp','getMakaProjectConfig','split','fileName','(((.+)+)+)+$','55hbbZnx','test'];a131c=function(){return r;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a131d(a,b);}Generator[a131o(0x20b)]({'name':a131o(0x203),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a131o(0x1cf),'validOpts':[a131o(0x1e4)],'examples':[a131o(0x1fa),a131o(0x1e0)]},async function(a,b){const p=a131o,c=p(0x1f7),d=this[p(0x1e8)][p(0x1ef)](),e=this[p(0x1e8)][p(0x202)]({'pathParts':[c,b['dir'],paramCase(b[p(0x1e7)]),paramCase(b[p(0x1e7)])]}),f=this['fsi'][p(0x1d9)]();await this[p(0x1e8)][p(0x204)](f,async()=>{const q=p;typeof f[q(0x1fb)][q(0x1de)]===q(0x1f8)&&(f[q(0x1fb)][q(0x1de)]=f[q(0x1fb)][q(0x1de)]===q(0x1ea)?!![]:![],this[q(0x1e8)]['setTemplate']('test',f[q(0x1fb)][q(0x1de)]));typeof f[q(0x1fb)][q(0x20e)]===q(0x1f8)&&(f[q(0x1fb)][q(0x20e)]=f[q(0x1fb)][q(0x20e)]===q(0x1ea)?!![]:![],this['fsi']['setTemplate'](q(0x20e),f[q(0x1fb)][q(0x20e)]));typeof f[q(0x1fb)]['js']==='string'&&(f[q(0x1fb)]['js']=f['template']['js']===q(0x1ea)?!![]:![],this[q(0x1e8)][q(0x1e9)]('js',f[q(0x1fb)]['js']));!f['features']&&(f[q(0x209)]={});const g=b['_']?b['_'][0x0][q(0x1da)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x1f3)](q(0x205))&&(Log[q(0x1f6)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[q(0x1e8)][q(0x1d5)](q(0x205),{'cwd':d}));if(h&&!this[q(0x1f3)](q(0x1fd))){Log[q(0x1f6)](q(0x200));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a131e[q(0x1f9)](this[q(0x1e8)][q(0x1d1)]({}),e),'cssCaseName':paramCase(b[q(0x1e7)]),'className':pascalCase(b[q(0x1e7)]),'camelCaseName':camelCase(b[q(0x1e7)]),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x1e1)][q(0x206)],'features':f[q(0x209)],'client':f[q(0x1e1)]['client'],'api':f[q(0x1e1)][q(0x1f5)],'ssr':f[q(0x1e1)][q(0x1e2)],'test':f[q(0x1e1)][q(0x1de)],'theme':f[q(0x1e1)][q(0x201)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x209)]['withTranslations']};f[q(0x209)]?.['withHooks']||b['withHook']?await this['fsi']['template']({'srcPath':q(0x1ed),'destPath':e+q(0x1fe),'framework':q(0x1fd),'context':i,'config':f}):await this['fsi'][q(0x1fb)]({'srcPath':q(0x1df),'destPath':e+q(0x1fe),'framework':'react','context':i,'config':f});f[q(0x1e1)][q(0x1de)]!==q(0x1d4)&&await this[q(0x1e8)][q(0x1fb)]({'srcPath':q(0x1f1),'destPath':e+q(0x1e5),'framework':q(0x1fd),'context':i,'config':f});f[q(0x1fb)][q(0x20e)]&&(await this['fsi']['template']({'srcPath':q(0x1eb),'destPath':e+q(0x20d),'context':Object['assign']({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0x1e8)][q(0x1ee)]({'filePath':e+'.'+f[q(0x1e1)]['js'],'content':'import\x20\x27./'+i[q(0x1db)]+'.'+f[q(0x1e1)][q(0x20e)]+'\x27;'}));const j=b['dir']?'/'+b[q(0x1d7)]+'/':'/',k=''+c+j+i[q(0x1db)]+'/'+i[q(0x1db)];await this['fsi'][q(0x20a)](i[q(0x1e3)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d
|
|
1
|
+
const a132i=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x14d;let f=c[d];return f;},a132d(a,b);}(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x15c))/0x1+parseInt(f(0x155))/0x2*(-parseInt(f(0x15a))/0x3)+-parseInt(f(0x156))/0x4+-parseInt(f(0x152))/0x5+-parseInt(f(0x160))/0x6+parseInt(f(0x157))/0x7+parseInt(f(0x15d))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xb236e));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x159)]()['search'](h(0x14d))['toString']()[h(0x151)](a132a)[h(0x153)]('(((.+)+)+)+$');});a132a();function a132c(){const j=['19665760qQhthb','maka\x20g:route\x20todos/edit','maka\x20generate:scaffold\x20todos','8038722XEpFTm','(((.+)+)+)+$','maka\x20g:api\x20trucks','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:dbc\x20geoserver\x20--type=pgsql','constructor','6758745YfTAay','search','apply','8HvUrmX','58592BKgQqJ','9426326wOoxbv','maka\x20g:template\x20todos/todo_item','toString','1017054fAEWKP','maka\x20{generate,\x20g}:<generator>\x20<name>','987384MRpxil'];a132c=function(){return j;};return a132c();}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0x15b),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0x14f),'examples':[a132i(0x15f),'maka\x20g:scaffold\x20todos',a132i(0x158),'maka\x20g:package\x20package:name',a132i(0x15e),a132i(0x14e),a132i(0x150)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133m=a133d;
|
|
1
|
+
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0xca))/0x1*(parseInt(j(0xcc))/0x2)+parseInt(j(0xc7))/0x3+parseInt(j(0xd2))/0x4*(parseInt(j(0xd6))/0x5)+-parseInt(j(0xbc))/0x6*(-parseInt(j(0xc1))/0x7)+-parseInt(j(0xdc))/0x8*(-parseInt(j(0xc2))/0x9)+-parseInt(j(0xdd))/0xa+-parseInt(j(0xcb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x6a74d));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0xd7)]()['search'](l(0xd3))['toString']()['constructor'](a133a)[l(0xd8)](l(0xd3));});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0xbe)]({'name':a133m(0xcd),'aliases':['m'],'usage':a133m(0xc3),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a133m(0xe1)],'examples':[a133m(0xda)]},async function(a,b){const n=a133m;try{const c=this[n(0xc9)][n(0xdb)]();await this[n(0xc9)][n(0xc6)](c,async()=>{const o=n,d=paramCase(b[o(0xd9)]),f={'name':b[o(0xd9)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0xd9)]),'noRename':!![]};let g='js';c[o(0xc8)]['js']===o(0xe4)&&(g='ts');await this[o(0xc9)][o(0xbd)]([o(0xc0),o(0xbf),o(0xd1)],{'shouldInstall':!![]}),await this[o(0xc9)][o(0xce)]({'srcPath':o(0xc4),'destPath':this[o(0xc9)]['pathFromApp']({'pathParts':['imports',o(0xd0),b[o(0xc5)],'methods',b[o(0xe1)],d+o(0xe2)+g]}),'context':f,'config':c});const h=b[o(0xe1)]?'/'+b[o(0xe1)]+'/':'/',i=this[o(0xc9)][o(0xde)]({'pathParts':['imports',o(0xd0),b['appPathPrefix'],o(0xe0)+c[o(0xc8)]['js']]});await this[o(0xc9)][o(0xdf)]({'filePath':i,'content':o(0xd5)+h+d+o(0xd4)});});}catch(d){Log[n(0xe3)](d);}});function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xbc;let f=c[d];return f;},a133d(a,b);}function a133c(){const p=['856779VDXaJz','engines','fsi','64744BwcVPB','1651584txMgKi','20uyBPmB','method','template','apply','startup','mdg:validated-method','108IJUlKS','(((.+)+)+)+$','-rpc-method\x27;','import\x20\x27./methods','30395iYAFiv','toString','search','resourceName','maka\x20g:method\x20todos','getMakaProjectConfig','8gzGdCy','1366190uJNlNL','pathFromApp','injectAtEndOfFile','index.','dir','-rpc-method.','error','tsx','1219002OnWVZX','checkMeteorPackage','create','ddp-rate-limiter','maka:check','21kEaHCz','2799189EkruYj','maka\x20{generate,\x20g}:{method,\x20m}\x20name','method/method.js','appPathPrefix','withValue'];a133c=function(){return p;};return a133c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x192;let f=c[d];return f;},a134d(a,b);}const a134o=a134d;function a134c(){const r=['package','2426683YhbNzr','graphql','1713978HbnuNF','store','8HJSsZr','.js','hasOwnProperty','client','search','create','component','dir','20CrkgvY','4Nyzggi','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','12165273ZPZSUJ','packages','engines','/client/','(((.+)+)+)+$','pathFromApp','getMakaProjectConfig','pathFromAppWithNoReWrite','template','package/','5131235pkReIz','408klsYDN','pathFromProject','apply','ssr','toString','features','lib','layout','server','maka\x20g:package\x20todos:package','1200969hWadEQ','resourceName','728024URPOFA','/package.js','fsi','template/template.js'];a134c=function(){return r;};return a134c();}(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0x1a7))/0x1+parseInt(l(0x1a9))/0x2+parseInt(l(0x19d))/0x3+-parseInt(l(0x1bb))/0x4*(parseInt(l(0x19c))/0x5)+parseInt(l(0x1b0))/0x6+-parseInt(l(0x1ae))/0x7*(parseInt(l(0x1b2))/0x8)+-parseInt(l(0x192))/0x9*(-parseInt(l(0x1ba))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xbe438));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a['toString']()[n(0x1b6)](n(0x196))[n(0x1a1)]()['constructor'](a134a)[n(0x1b6)](n(0x196));});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0x1b7)]({'name':a134o(0x1ad),'aliases':['p'],'usage':a134o(0x1bc),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':['dir'],'examples':[a134o(0x1a6)]},async function(a,b){const p=a134o,c=paramCase(b[p(0x1a8)]),d=this[p(0x1ab)][p(0x197)]({'pathParts':[p(0x193),b[p(0x1b9)],c]}),e=this['fsi'][p(0x199)]({'pathParts':[p(0x193),b[p(0x1b9)],c,'package.js']}),f=this['fsi'][p(0x198)]();await this[p(0x1ab)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a134e['relative'](this[q(0x1ab)][q(0x19e)]({}),d),'cssCaseName':paramCase(b[q(0x1a8)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x1a8)]),'fileName':c,'client':f['engines'][q(0x1b5)],'graphql':f[q(0x194)][q(0x1af)],'ssr':f['engines'][q(0x1a0)],'isComponent':b[q(0x1b4)](q(0x1b8)),'isLayout':b[q(0x1b4)](q(0x1a4)),'isStore':b[q(0x1b4)](q(0x1b1)),'features':f[q(0x1a2)],'noRename':!![],'theme':f[q(0x194)]['theme']};await this[q(0x1ab)][q(0x19a)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x195)+c+q(0x1b3);await this[q(0x1ab)][q(0x19a)]({'srcPath':q(0x1ac),'destPath':h,'context':g,'config':f});const i=[q(0x1a3),q(0x1a5),'tests/client','tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0x1ab)][q(0x19a)]({'srcPath':q(0x19b)+j+q(0x1aa),'destPath':k,'context':g,'config':f});}});});
|