@maka/maka-cli 5.0.3 → 5.0.4
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/templates/react/kit/mui/auth/password-reset/basic-password-reset-page.js.jsx +15 -9
- 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(0xc7))/0x1*(-parseInt(l(0xa9))/0x2)+-parseInt(l(0xb5))/0x3*(parseInt(l(0xca))/0x4)+-parseInt(l(0x9d))/0x5*(-parseInt(l(0xb3))/0x6)+parseInt(l(0xae))/0x7+-parseInt(l(0xa8))/0x8*(-parseInt(l(0xaf))/0x9)+parseInt(l(0xb8))/0xa*(-parseInt(l(0xcb))/0xb)+-parseInt(l(0xa3))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xd92b1));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0xd4)]()[n(0xbe)](n(0xbd))['toString']()['constructor'](a117a)[n(0xbe)](n(0xbd));});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-0x97;let f=c[d];return f;},a117d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117c(){const r=['2GKjRua','pathFromProject','theme','none','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','3154879kkhbTS','4511142zYwOPe','maka\x20g:hook\x20cool-hook','css','template/template.css','85188UPJFgf','@apollo/client\x20isomorphic-fetch','45462PpnwnE','error','create','60OOcKIi','force','injectTemplateModule','react','resourceName','(((.+)+)+)+$','search','.js','test','apollo','setTemplate','components','layouts','true','graphql','841069WVicQV','notice','checkNpmPackage','44SKxHaG','2033669eNiClt','pathFromApp','installNpmPackage','features','className','template','dir','fileName','test/test.js','toString','\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','.css','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','baseDir','withValue','/imports/ui/components','import\x20\x27./','hook','pages','575CnlykT','assign','hook/hook.js','/imports/ui/','apply','Creating\x20','21138276aHVIdK','engines','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','string','fsi','16eRZDhi'];a117c=function(){return r;};return a117c();}import{UsageError}from'../error.js';Generator[a117o(0xb7)]({'name':a117o(0x9b),'aliases':['h'],'checkWhere':![],'usage':a117o(0xd7),'shortDesc':a117o(0xad),'validOpts':[{'name':a117o(0x97),'values':['hooks',a117o(0xc3),a117o(0x9c),a117o(0xc4)]},{'name':a117o(0xb9),'boolFlag':!![]}],'examples':[a117o(0xb0)],'description':a117o(0xd5)},async function(a,b){const p=a117o;Log[p(0xc8)](p(0xa2)+b[p(0xbc)]+'\x20hook...');try{const c=this[p(0xa7)]['checkNpmPackage'](p(0xbb));if(!c){Log['error'](p(0xa5));throw new UsageError();}const d=this[p(0xa7)]['findAppDirectory'](),f=b['baseDir']?p(0xa0)+b[p(0x97)]:p(0x99),g=this[p(0xa7)][p(0xcc)]({'pathParts':[f,b[p(0xd1)],paramCase(b['resourceName']),paramCase(b[p(0xbc)])]}),h=await this[p(0xa7)]['getMakaProjectConfig']();await this['fsi'][p(0x98)](h,async()=>{const q=p;typeof h['template'][q(0xb1)]===q(0xa6)&&(h[q(0xd0)][q(0xb1)]=h[q(0xd0)][q(0xb1)]===q(0xc5)?!![]:![],this[q(0xa7)][q(0xc2)](q(0xb1),h[q(0xd0)][q(0xb1)]));h['engines']['graphql']===q(0xc1)&&!this[q(0xa7)][q(0xc9)]('@apollo/client')&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[q(0xa7)][q(0xcd)](q(0xb4),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0xbc)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b['resourceName']),'name':pascalCase(b[q(0xbc)]),'graphql':h[q(0xa4)][q(0xc6)],'theme':h[q(0xa4)][q(0xab)],'features':h[q(0xce)],'myPath':a117e['relative'](this[q(0xa7)][q(0xaa)]({}),g),'fileName':paramCase(b[q(0xbc)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0xce)]['withTranslations']};await this[q(0xa7)][q(0xd0)]({'srcPath':q(0x9f),'destPath':g+q(0xbf),'context':i,'config':h,'framework':'react','force':b[q(0xb9)]});h['template'][q(0xb1)]&&(await this[q(0xa7)]['template']({'srcPath':q(0xb2),'destPath':g+q(0xd6),'context':Object[q(0x9e)]({},i,{'className':i['cssCaseName']}),'config':h,'force':b[q(0xb9)]}),await this[q(0xa7)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[q(0xa4)]['js'],'content':q(0x9a)+i['fileName']+'.'+h['engines'][q(0xb1)]+'\x27;'}));h[q(0xa4)][q(0xc0)]!==q(0xac)&&await this[q(0xa7)][q(0xd0)]({'srcPath':q(0xd3),'destPath':g+'.app-tests.js','framework':q(0xbb),'context':i,'config':h,'force':b[q(0xb9)]});const j=b[q(0xd1)]?'/'+b[q(0xd1)]+'/':'/',k=''+f+j+i[q(0xd2)]+'/'+i[q(0xd2)];await this[q(0xa7)][q(0xba)](i[q(0xcf)],h,k);});}catch(i){Log[p(0xb6)](i);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0xb2))/0x1+-parseInt(f(0xba))/0x2*(-parseInt(f(0xb7))/0x3)+-parseInt(f(0xb8))/0x4*(parseInt(f(0xb3))/0x5)+parseInt(f(0xbb))/0x6+parseInt(f(0xb4))/0x7*(parseInt(f(0xb5))/0x8)+-parseInt(f(0xb1))/0x9+parseInt(f(0xb6))/0xa*(-parseInt(f(0xbc))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x9c06a));var a118b=(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;};}()),a118a=a118b(this,function(){var g=a118d;return a118a['toString']()[g(0xb9)](g(0xbd))[g(0xbe)]()['constructor'](a118a)[g(0xb9)]('(((.+)+)+)+$');});a118a();import'./kit.js';function a118c(){var h=['(((.+)+)+)+$','toString','2042307duWwqr','1065020UuJutW','5PZWgOs','63etrJWM','856136JrtXQn','50ttojRP','501ZxVcjC','4946544RWySBu','search','5582rSUMPK','6429996wbawwu','3219249LXiUTC'];a118c=function(){return h;};return a118c();}function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xb1;var f=c[d];return f;},a118d(a,b);}import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
function a119c(){var i=['(((.+)+)+)+$','126kcVeyU','3124083zvjJwV','5qEVUzj','237880ncXbwe','apply','447582HJmEIX','77ielxme','2LYrdoc','20919954lFAcwj','232824kNSURw','11468ONDSES','constructor','toString','122015nrqAsT','search'];a119c=function(){return i;};return a119c();}function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x169;var f=c[d];return f;},a119d(a,b);}(function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x172))/0x1*(-parseInt(f(0x16c))/0x2)+-parseInt(f(0x176))/0x3+parseInt(f(0x16f))/0x4*(-parseInt(f(0x177))/0x5)+-parseInt(f(0x16a))/0x6*(parseInt(f(0x16b))/0x7)+parseInt(f(0x16e))/0x8+-parseInt(f(0x175))/0x9*(-parseInt(f(0x178))/0xa)+parseInt(f(0x16d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x7f3d1));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x169)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a['toString']()[h(0x173)]('(((.+)+)+)+$')[h(0x171)]()[h(0x170)](a119a)[h(0x173)](h(0x174));});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x1db))/0x1+parseInt(f(0x1d9))/0x2+parseInt(f(0x1dd))/0x3*(parseInt(f(0x1e7))/0x4)+parseInt(f(0x1e8))/0x5+-parseInt(f(0x1e6))/0x6+parseInt(f(0x1e5))/0x7+-parseInt(f(0x1e9))/0x8*(parseInt(f(0x1df))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x35fcf));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0x1de)]()[h(0x1dc)]('(((.+)+)+)+$')[h(0x1de)]()[h(0x1da)](a120a)[h(0x1dc)](h(0x1e3));});a120a();function a120c(){const j=['1492370RUAttm','32yDTfBK','524554vEDSFj','constructor','241235cOgvVS','search','3aLWkMb','toString','411813KiKjbM','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','auth','apply','(((.+)+)+)+$','create','201607qgnulK','203706KYtqic','359188UlUpzM'];a120c=function(){return j;};return a120c();}import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1d9;let f=c[d];return f;},a120d(a,b);}const AuthGen=Generator[a120i(0x1e4)]({'name':a120i(0x1e1),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':a120i(0x1e0),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){throw'NIE';},async function(){},a120e);export default AuthGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x163))/0x1*(-parseInt(o(0x15f))/0x2)+-parseInt(o(0x157))/0x3*(parseInt(o(0x12c))/0x4)+-parseInt(o(0x174))/0x5+-parseInt(o(0x12f))/0x6*(parseInt(o(0x173))/0x7)+parseInt(o(0x141))/0x8*(-parseInt(o(0x160))/0x9)+-parseInt(o(0x156))/0xa+parseInt(o(0x171))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x82217));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x13a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a['toString']()[q(0x14e)](q(0x15d))[q(0x15e)]()[q(0x136)](a121a)[q(0x14e)]('(((.+)+)+)+$');});a121a();import{Generator}from'../../../generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x12c;let f=c[d];return f;},a121d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';function a121c(){const u=['\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','1jPJxna','error','processAndRunGenerator','findProjectDirectory','Meteor.publish','publish','const\x20authenticateUser','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','meteor/maka:react-tracker','ssr','Meteor.startup','checkMeteorPackage','meteor/meteor','.js','15857259ahWFHG','force','7PQIkcy','2276910LAsWpZ','const\x20registerNewUser','1408804YswcPa','meteor/accounts-base','const\x20sendForgotPasswordEmail','220782ZvXigh','injectIntoCodeBlock','\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\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','AuthService','exit','template','constructor','getMakaProjectConfig','pathFromApp','imports','apply','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','authentication-service','withValue','accounts-password','kit:auth:provider','/imports/startup/client/authentication-service','18024ZZtKUZ','index','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateToken','\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','Meteor','authentication-provider','export\x20const\x20AuthProvider','startup','\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','const\x20deauthenticateUser','injectImport','kit/auth/service/meteor-auth-service.js','search','\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','/imports/startup/lib','fsi','/imports/startup/client','auth/roles','const\x20resetPasswordWithToken','engines','1359500VQwZro','9QQwLqr','alanning:roles','create','meteor','true','/imports/startup/lib/authentication-service','(((.+)+)+)+$','toString','1764138MuHzcI','423ecZfha','\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'];a121c=function(){return u;};return a121c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x159)]({'name':a121r(0x15a),'aliases':['m'],'usage':a121r(0x16a),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a121r(0x172)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121r(0x162)},async function(a,b){const s=a121r;try{const c=b[s(0x172)]||![];await this[s(0x151)][s(0x16e)]([s(0x13e),s(0x158)],{'shouldInstall':!![]});const d=this[s(0x151)][s(0x166)](),f=this[s(0x151)][s(0x137)](),g=f[s(0x155)][s(0x16c)]===s(0x15b);await a121f[s(0x165)](s(0x13f),[],{'force':c,'cwd':d,'config':f});const h=await a121f['processAndRunGenerator'](s(0x168),[s(0x153)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x150):s(0x152),j=this[s(0x151)][s(0x138)]({'pathParts':[i,'','',s(0x13c)]});await this[s(0x151)][s(0x13d)](f,async()=>{const t=s;await this[t(0x151)][t(0x135)]({'srcPath':t(0x14d),'destPath':j+t(0x170),'framework':'react','context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x151)]['pathFromApp']({'pathParts':[i,'','',s(0x147)]}),l=f['engines']['js'];await this['fsi'][s(0x14c)]({'filePath':k+'.'+l,'importName':s(0x133),'modulePath':g?s(0x15c):s(0x140),'isNamedExport':![]}),await this[s(0x151)][s(0x130)]({'filePath':k+'.'+l,'content':s(0x161),'begin':s(0x169),'replace':!![]}),await this[s(0x151)][s(0x130)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x144),'replace':!![]}),await this['fsi'][s(0x130)]({'filePath':k+'.'+l,'content':s(0x145),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x151)][s(0x130)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x14b),'replace':!![]}),await this['fsi'][s(0x130)]({'filePath':k+'.'+l,'content':s(0x13b),'begin':s(0x12e),'replace':!![]}),await this['fsi'][s(0x130)]({'filePath':k+'.'+l,'content':s(0x143),'begin':s(0x175),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x131),'begin':s(0x154),'replace':!![]});g&&(await this['fsi'][s(0x14c)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x16b),'isNamedExport':!![]}),await this[s(0x151)]['injectIntoFile']({'filePath':k+'.'+l,'content':s(0x132),'begin':s(0x148),'end':'return\x20\x5c('}));await this[s(0x151)]['injectImport']({'filePath':h,'importName':s(0x146),'modulePath':s(0x16f),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x151)][s(0x130)]({'filePath':h,'content':s(0x14f),'begin':s(0x167),'replace':!![]});const m=this[s(0x151)][s(0x138)]({'pathParts':[s(0x139),s(0x149),'server',s(0x142)]});await this['fsi'][s(0x14c)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0x12d),'isNamedExport':!![]}),await this[s(0x151)][s(0x130)]({'filePath':m+'.'+l,'content':s(0x14a),'begin':s(0x16d),'replace':!![]});}catch(n){Log[s(0x164)](n),process[s(0x134)](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(0xe4))/0x1+-parseInt(u(0xcb))/0x2*(parseInt(u(0x100))/0x3)+-parseInt(u(0xde))/0x4*(-parseInt(u(0xcc))/0x5)+-parseInt(u(0xea))/0x6*(parseInt(u(0x101))/0x7)+-parseInt(u(0xfa))/0x8+parseInt(u(0xdf))/0x9*(-parseInt(u(0xef))/0xa)+parseInt(u(0xe0))/0xb*(parseInt(u(0x102))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x4e0e1));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0xd2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a['toString']()[w(0xd1)](w(0xe5))[w(0xed)]()[w(0xf9)](a122a)[w(0xd1)](w(0xe5));});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a122c(){const A=['Creating\x20an\x20AuthProvider\x20and\x20AuthContext','true','/imports/startup/server/index','constructor','2007648hWJSXa','useContext','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','injectIntoCodeBlock','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','bright','265521JjRzOu','12187eKFgNq','17292wVsdcW','<AppRoutes\x20/>','injectImport','2OOPdrn','1225VPvfvD','/imports/startup/client','create','REACT','AuthProvider','search','apply','force','/imports/startup/client/authentication-provider','split','AuthContext','template','/imports/startup/lib/authentication-provider','getMakaProjectConfig','.js','<AuthProvider>','\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','pathFromApp','984GolAsU','7191ObqTOg','9240KtXXcY','/imports/startup/client/index','</AuthProvider>','replaceAll','37006gWTiNm','(((.+)+)+)+$','const\x20PrivateRoute','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','authentication-provider','error','1230QKRxiF','fsi','appName','toString','react','3650BpyPLR','kit/auth/provider/authentication-provider.js','engines','function\x20useAuth','/routes','injectAroundString','/imports/startup/lib'];a122c=function(){return A;};return a122c();}function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xca;let f=c[d];return f;},a122d(a,b);}import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0xce)]({'name':'provider','aliases':['p'],'usage':a122x(0xfc),'shortDesc':a122x(0xfe),'validOpts':[a122x(0xd3)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0xcf)]},'description':a122x(0xdc)},async function(a,b){const y=a122x;try{const c=b['force']||![];Log[y(0xff)](y(0xf6));const d=this[y(0xeb)][y(0xd9)](),f=d[y(0xf1)]['ssr']===y(0xf7),g={'name':headerCase(d[y(0xec)])[y(0xe3)]('-','\x20')},h=f?y(0xf5):y(0xcd),i=this[y(0xeb)]['pathFromApp']({'pathParts':[h,'','',y(0xe8)]});await this['fsi']['withValue'](d,async()=>{const z=y;await this['fsi'][z(0xd7)]({'srcPath':z(0xf0),'destPath':i+z(0xda),'framework':z(0xee),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0xf1)]['js'],k=h+y(0xf3),l=k[y(0xd5)]('/'),m=this[y(0xeb)][y(0xdd)]({'pathParts':l});await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':y(0xd6),'modulePath':f?y(0xd8):y(0xd4),'isNamedExport':!![]}),await this[y(0xeb)][y(0xca)]({'filePath':m+'.'+j,'importName':y(0xfb),'modulePath':y(0xee),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0xeb)][y(0xfd)]({'filePath':m+'.'+j,'content':y(0xe7),'begin':['const\x20useAuth',y(0xf2)],'replace':!![]}),await this[y(0xeb)][y(0xfd)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0xe6)],'replace':!![]});const n=y(0xe1),o=n[y(0xd5)]('/'),p=this[y(0xeb)]['pathFromApp']({'pathParts':o});await this['fsi'][y(0xca)]({'filePath':p+'.'+j,'importName':y(0xd0),'modulePath':f?y(0xd8):y(0xd4),'isNamedExport':!![]}),await this[y(0xeb)][y(0xf4)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0xe2),'targetString':y(0x103),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xf8),r=q[y(0xd5)]('/'),s=this['fsi']['pathFromApp']({'pathParts':r});await this[y(0xeb)]['injectImport']({'filePath':s+'.'+j,'importName':y(0xd0),'modulePath':f?y(0xd8):y(0xd4),'isNamedExport':!![]}),await this[y(0xeb)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0xdb),'belowContent':y(0xe2),'targetString':y(0x103),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xe9)](t),process['exit'](0x1);}},async function(){},a122e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a123d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x180))/0x1*(parseInt(f(0x185))/0x2)+-parseInt(f(0x181))/0x3*(-parseInt(f(0x17e))/0x4)+parseInt(f(0x17d))/0x5+parseInt(f(0x188))/0x6+-parseInt(f(0x186))/0x7*(parseInt(f(0x17c))/0x8)+parseInt(f(0x183))/0x9+-parseInt(f(0x182))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xa5e40));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x17f)]()[h(0x184)](h(0x189))[h(0x17f)]()['constructor'](a123a)[h(0x184)]('(((.+)+)+)+$');});function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x17c;var f=c[d];return f;},a123d(a,b);}function a123c(){var i=['search','2IPPGDI','7QngZty','apply','6561018CUoCpG','(((.+)+)+)+$','8994064yBECFg','442900qMnsTG','150952VtYKSr','toString','702794ykHJCA','69QgqmGh','4600360EgrIYM','8248671ePgyOK'];a123c=function(){return i;};return a123c();}a123a();import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-
|
|
1
|
+
function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1e4;let f=c[d];return f;},a124d(a,b);}const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x1ee))/0x1+parseInt(f(0x1f6))/0x2+-parseInt(f(0x1ed))/0x3+parseInt(f(0x1f9))/0x4+parseInt(f(0x1ef))/0x5*(parseInt(f(0x1eb))/0x6)+parseInt(f(0x1e6))/0x7*(-parseInt(f(0x1ea))/0x8)+-parseInt(f(0x1f3))/0x9*(-parseInt(f(0x1e7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x5d492));function a124c(){const k=['Esri\x20Kit\x20generated\x20successfully','maka\x20g:kit:e','constructor','7524FkGMqe','toString','search','1410018cBcbXE','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','2162296ctgGOQ','create','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','apply','1449833UIlMzl','1490hOrEHw','/foo','/foo/bar','24aaneLt','18CFsGLo','esri','995943tyMftr','276148AqFOJy','402395ZbWBUo'];a124c=function(){return k;};return a124c();}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x1e5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x1f4)]()[h(0x1f5)](h(0x1f7))[h(0x1f4)]()[h(0x1f2)](a124a)[h(0x1f5)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x1fa)]({'name':a124i(0x1ec),'aliases':['e'],'usage':a124i(0x1f8),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a124i(0x1f1)],'description':a124i(0x1e4)},async function(){const j=a124i;return{'success':!![],'message':j(0x1f0),'details':{'filesCreated':[j(0x1e9)],'filesUpdated':[j(0x1e8)]}};},async function(){},a124e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x148))/0x1+-parseInt(p(0x131))/0x2+-parseInt(p(0x157))/0x3*(parseInt(p(0x142))/0x4)+parseInt(p(0x13a))/0x5*(-parseInt(p(0x159))/0x6)+parseInt(p(0x12e))/0x7*(-parseInt(p(0x15f))/0x8)+-parseInt(p(0x14e))/0x9*(-parseInt(p(0x15e))/0xa)+parseInt(p(0x12f))/0xb*(parseInt(p(0x13d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x7c787));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x149)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x15b)]()[r(0x143)](r(0x13e))[r(0x15b)]()[r(0x130)](a125a)[r(0x143)](r(0x13e));});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=['dir','react','560599IxprIp','apply','baseDir','Generate\x20an\x20Esri\x20map\x20component','bright','map','104085JwNQyp','page','replaceAll','fsi','split','.js','/imports/startup/client/templates','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','REACT','2005131BssZKN','findProjectDirectory','258414mEFfGF','Generating\x20a\x20map\x20component','toString','engines','</div>','20lyOQbb','488bLJZpi','template','esri-loader','withValue','91301sqtivh','381447XJtFKb','constructor','746720gXiLrA','\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','ssr','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','<div\x20id=\x22map\x22>','getMakaProjectConfig','checkNpmPackage','create','error','65sJIbnj','/imports/ui/hooks','injectTemplateModule','804fYMwei','(((.+)+)+)+$','processAndRunGenerator','/imports/ui/','pathFromApp','4UHthRe','search','appName','injectIntoFile'];a125c=function(){return v;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x12b;let f=c[d];return f;},a125d(a,b);}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x138)]({'name':a125s(0x14d),'aliases':['m'],'usage':a125s(0x134),'shortDesc':a125s(0x14b),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x156)],'ssr':SsrEngines['FALSE']},'description':a125s(0x132)},async function(a,b){const t=a125s;try{Log[t(0x14c)](t(0x15a));const c='basic-map';await this[t(0x151)][t(0x137)](['@esri/react-arcgis',t(0x12c)],{'shouldInstall':!![]});const d=this[t(0x151)][t(0x158)](),f=this['fsi'][t(0x136)](),g=f[t(0x15c)][t(0x133)]==='true',h=await a125f[t(0x13f)](t(0x14f),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x144)])[t(0x150)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x14a)]?t(0x140)+b[t(0x14a)]:t(0x13b),k=this[t(0x151)][t(0x141)]({'pathParts':[j,b[t(0x146)],paramCase(c),paramCase(c)]});await this[t(0x151)][t(0x12d)](f,async()=>{const u=t;await this[u(0x151)][u(0x12b)]({'srcPath':'kit/esri/map/'+c+u(0x153),'destPath':k+u(0x153),'framework':u(0x147),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x146)]+'/'+c+'/'+c;await this[t(0x151)][t(0x13c)](c,f,l);const m=h[t(0x152)]('/'),n=this[t(0x151)][t(0x141)]({'pathParts':m});await this[t(0x151)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x154),'isNamedExport':!![]}),await this[t(0x151)][t(0x145)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x155),'begin':[t(0x135),'<div\x20id=\x22map\x22>'],'end':[t(0x15d)],'replace':!![]});}catch(o){Log[t(0x139)](o),process['exit'](0x1);}},async function(){},a125e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(
|
|
1
|
+
const a126i=a126d;function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x186;let f=c[d];return f;},a126d(a,b);}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x191))/0x1*(-parseInt(f(0x186))/0x2)+-parseInt(f(0x190))/0x3*(-parseInt(f(0x196))/0x4)+parseInt(f(0x189))/0x5*(-parseInt(f(0x194))/0x6)+-parseInt(f(0x188))/0x7+-parseInt(f(0x18f))/0x8+parseInt(f(0x192))/0x9+parseInt(f(0x18b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x6d07f));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x193)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x18c)]()[h(0x18d)](h(0x198))[h(0x18c)]()[h(0x199)](a126a)[h(0x18d)](h(0x198));});function a126c(){const j=['5GsrZNt','kit','11863960YUMoXW','toString','search','maka\x20g:k','6929208koGdUT','1002qGRsez','116042cdTVXy','3061035VBrXpW','apply','448368ZqUCWS','create','1524VNmevI','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','(((.+)+)+)+$','constructor','4OVpuTe','maka\x20{generate,\x20g}:{kit}\x20<name>','3488653MwbzAx'];a126c=function(){return j;};return a126c();}a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0x195)]({'name':a126i(0x18a),'aliases':['k'],'usage':a126i(0x187),'shortDesc':a126i(0x197),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a126i(0x18e)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a127d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x1c5))/0x1*(-parseInt(f(0x1c6))/0x2)+parseInt(f(0x1c7))/0x3+parseInt(f(0x1d2))/0x4*(parseInt(f(0x1cf))/0x5)+-parseInt(f(0x1cc))/0x6*(parseInt(f(0x1c8))/0x7)+parseInt(f(0x1d3))/0x8+-parseInt(f(0x1ca))/0x9*(-parseInt(f(0x1d0))/0xa)+parseInt(f(0x1c9))/0xb*(-parseInt(f(0x1cb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xcf241));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x1d4)]()[h(0x1d1)](h(0x1cd))[h(0x1d4)]()[h(0x1d5)](a127a)['search'](h(0x1cd));});a127a();import'./mui.generator.js';function a127c(){var i=['193350kAqVoN','search','15336eafmgQ','12200472quxujz','toString','constructor','117727uUQacH','4rqJpuJ','3288039UEPhXX','1310806dxJCUn','9702vMzMwd','639tUrWWS','48396smqCST','30OOTsTu','(((.+)+)+)+$','apply','2065hJITOc'];a127c=function(){return i;};return a127c();}function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x1c5;var f=c[d];return f;},a127d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a128c(){const
|
|
1
|
+
function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x71;let f=c[d];return f;},a128d(a,b);}const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0x96))/0x1+-parseInt(G(0x85))/0x2*(parseInt(G(0x7a))/0x3)+parseInt(G(0x95))/0x4*(parseInt(G(0xac))/0x5)+-parseInt(G(0x9c))/0x6+-parseInt(G(0xae))/0x7*(parseInt(G(0x8c))/0x8)+parseInt(G(0x7d))/0x9+-parseInt(G(0x9f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x43dc0));function a128c(){const N=['10743fbefRz','basic-forgot-password-page','withValue','1428462aJbniw','apply','baseDir','search','options','kit/mui/auth/login/','kit/mui/auth/forgot-password/','meteor','18XmrCAM','kit/mui/auth/password-reset/','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','list','authType','force','/imports/ui/pages/auth','8RHviXJ','/imports/startup/lib/authentication-provider','injectTemplateModule','auth','MATERIAL','custom','REACT','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','maka\x20generate:kit:mui:frame','2027464REiYgR','342142JakBIg','/imports/startup/client/authentication-provider','toString','basic-logout-page','(((.+)+)+)+$','create','2409762DBPHtW','react','.js','1536060iugfQk','basic-register-page','Cleaning\x20up...','kit:auth:provider','AuthContext','Meteor\x20Accounts','register','logout','basic-password-reset-page','/imports/ui/','true','processAndRunGenerator','login','5vQAucG','kit/mui/auth/logout/','996184JVVdMH','basic-login-page','maka\x20g:k:m:f','replaceAll','split','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','layouts','template','fsi','dir','pathFromApp','injectImport','route'];a128c=function(){return N;};return a128c();}const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x98)]()[I(0x80)](I(0x9a))[I(0x98)]()['constructor'](a128a)[I(0x80)](I(0x9a));});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';Generator[a128J(0x9b)]({'name':a128J(0x8f),'aliases':['a'],'usage':a128J(0x72),'shortDesc':a128J(0x87),'validOpts':[a128J(0x73),a128J(0x8a)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0x90)],'client':ClientEngines[a128J(0x92)]},'examples':[a128J(0x94),a128J(0xb0)],'description':a128J(0x71)},async function(a,b){const K=a128J;try{const c=b['force']||![],d=this[K(0x75)]['findProjectDirectory'](),f=this[K(0x75)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x81)]({'type':K(0x88),'name':K(0x89),'message':K(0x93),'choices':[{'name':K(0xa4),'value':K(0x84)},{'name':'Custom\x20(roll\x20your\x20own)','value':K(0x91)}]}),h=K(0xaf),i=K(0x99),j=K(0xa0),k=K(0xa7),l=K(0x7b),m=b[K(0x7f)]?K(0xa8)+b[K(0x7f)]:K(0x8b),n=this['fsi'][K(0x77)]({'pathParts':[m,b[K(0x76)],paramCase(h),paramCase(h)]}),o=this[K(0x75)]['pathFromApp']({'pathParts':[m,b[K(0x76)],paramCase(i),paramCase(i)]}),p=this['fsi'][K(0x77)]({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0x76)],paramCase(k),paramCase(k)]}),r=this[K(0x75)][K(0x77)]({'pathParts':[m,b[K(0x76)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])[K(0xb1)]('-','\x20')};await this[K(0x75)][K(0x7c)](f,async()=>{const L=K;await this[L(0x75)][L(0x74)]({'srcPath':L(0x82)+h+'.js','destPath':n+L(0x9e),'framework':L(0x9d),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x75)][L(0x74)]({'srcPath':L(0xad)+i+L(0x9e),'destPath':o+L(0x9e),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x75)]['template']({'srcPath':'kit/mui/auth/register/'+j+'.js','destPath':p+'.js','framework':L(0x9d),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x75)][L(0x74)]({'srcPath':L(0x86)+k+L(0x9e),'destPath':q+L(0x9e),'framework':L(0x9d),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x75)][L(0x74)]({'srcPath':L(0x83)+l+L(0x9e),'destPath':r+L(0x9e),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x76)]+'/'+h+'/'+h;await this['fsi'][K(0x8e)](h,f,t);const u=''+m+b[K(0x76)]+'/'+i+'/'+i;await this[K(0x75)][K(0x8e)](i,f,u);const v=''+m+b[K(0x76)]+'/'+j+'/'+j;await this[K(0x75)][K(0x8e)](j,f,v);const w=''+m+b[K(0x76)]+'/'+k+'/'+k;await this[K(0x75)]['injectTemplateModule'](k,f,w);const x=''+m+b[K(0x76)]+'/'+l+'/'+l;await this[K(0x75)][K(0x8e)](l,f,x),await a128e['processAndRunGenerator'](K(0x79),[K(0xaf)],{'route':K(0xab),'cwd':d,'config':f}),await a128e['processAndRunGenerator']('route',[K(0x99)],{'route':K(0xa6),'private':!![],'cwd':d,'config':f}),await a128e[K(0xaa)]('route',[K(0xa0)],{'route':K(0xa5),'cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0x79),[K(0xa7)],{'route':'reset-password/:token','cwd':d,'config':f}),await a128e[K(0xaa)](K(0x79),[K(0x7b)],{'route':'forgot-password','cwd':d,'config':f});g==='meteor'&&await a128e[K(0xaa)]('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g===K(0x91)&&await a128e[K(0xaa)](K(0xa2),[],{'force':c,'cwd':d,'config':f});const y=f['engines']['ssr']===K(0xa9),z=f['engines']['js'],A=this[K(0x75)]['pathFromApp']({'pathParts':t[K(0xb2)]('/')});await this['fsi'][K(0x78)]({'filePath':A+'.'+z,'importName':K(0xa3),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x97),'isNamedExport':!![]});const B=this['fsi'][K(0x77)]({'pathParts':u[K(0xb2)]('/')});await this[K(0x75)][K(0x78)]({'filePath':B+'.'+z,'importName':K(0xa3),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x97),'isNamedExport':!![]});const C=this[K(0x75)][K(0x77)]({'pathParts':v[K(0xb2)]('/')});await this[K(0x75)][K(0x78)]({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?K(0x8d):K(0x97),'isNamedExport':!![]});const D=this['fsi']['pathFromApp']({'pathParts':w[K(0xb2)]('/')});await this[K(0x75)][K(0x78)]({'filePath':D+'.'+z,'importName':K(0xa3),'modulePath':y?K(0x8d):K(0x97),'isNamedExport':!![]});const E=this[K(0x75)]['pathFromApp']({'pathParts':x[K(0xb2)]('/')});await this['fsi'][K(0x78)]({'filePath':E+'.'+z,'importName':K(0xa3),'modulePath':y?K(0x8d):K(0x97),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a128J;console['log'](M(0xa1));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x213))/0x1+parseInt(B(0x221))/0x2+-parseInt(B(0x1e9))/0x3+parseInt(B(0x228))/0x4*(-parseInt(B(0x22c))/0x5)+parseInt(B(0x1ee))/0x6*(parseInt(B(0x225))/0x7)+parseInt(B(0x1fa))/0x8*(-parseInt(B(0x216))/0x9)+parseInt(B(0x21e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x9c287));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x1f4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x20a)]()[D(0x1f7)]('(((.+)+)+)+$')['toString']()[D(0x201)](a129a)['search']('(((.+)+)+)+$');});a129a();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';function a129c(){const I=['error','171cisZlV','\x20/>\x0a','maka\x20g:k:m:f','fsi','app-tests','pathFromApp','</div>','<Outlet/>','11076960UVUEaX','@mui/material/Container','findAppDirectory','1180120rbvekG','kit/mui/frame/footers/','test','injectAroundString','7UrClRC','withValue','basic-sticky-footer','2286292rhHRIs','injectIntoFile','/imports/startup/client/templates','/imports/startup/lib/templates','5MagrQJ','checkMeteorPackage','/imports/ui/components','Cleaning\x20up...','checkbox','897489pmPhcR','ssr','appName','length','@mui/material/Box','494778cIuwJZ','injectImport','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','<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>','template','getFiles','apply','tsx','-hook\x22>','search','getMakaProjectConfig','injectTemplateModule','90168ZVKDOQ','log','baseDir','No\x20layouts\x20selected','frame','join','dir','constructor','session','kit/mui/frame/drawers/','.js','react','engines','<Outlet\x20/>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','create','toString','MATERIAL','layouts','kit/mui/frame/app-bars/','REACT','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','<div\x20id=\x22','replaceAll','Container','55711uGqBjD','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>'];a129c=function(){return I;};return a129c();}import a129f from'./mui.generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1e6;let f=c[d];return f;},a129d(a,b);}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x209)]({'name':a129E(0x1fe),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a129E(0x1f0),'validOpts':[a129E(0x20c),a129E(0x1fc),a129E(0x200),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x20b)],'client':ClientEngines[a129E(0x20e)]},'examples':['maka\x20generate:kit:mui:frame',a129E(0x218)],'description':a129E(0x208)},async function(a,b){const F=a129E;try{const c=b['force']||![],d='basic-app-bar',f='basic-drawer',g=F(0x227),h=this['fsi'][F(0x1f8)](),i=h[F(0x206)][F(0x1ea)]==='true';await this[F(0x219)][F(0x22d)]([F(0x202),'maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0x219)][F(0x220)](),k=a129e[F(0x1ff)](j,'imports','ui',F(0x20c)),l=this['fsi']['getDirectories'](k),m=await Actions['options']({'type':F(0x1e8),'name':F(0x20c),'message':F(0x20f),'choices':l});if(m[F(0x20c)][F(0x1ec)]===0x0){Log[F(0x215)](F(0x1fd));return;}const n=b[F(0x1fc)]?'/imports/ui/'+b['baseDir']:F(0x1e6),o=this[F(0x219)][F(0x21b)]({'pathParts':[n,b[F(0x200)],paramCase(d),paramCase(d)]}),p=this[F(0x219)][F(0x21b)]({'pathParts':[n,b[F(0x200)],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0x21b)]({'pathParts':[n,b[F(0x200)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1eb)])[F(0x211)]('-','\x20')};await this[F(0x219)][F(0x226)](h,async()=>{const G=F;await this[G(0x219)]['template']({'srcPath':G(0x20d)+d+G(0x204),'destPath':o+G(0x204),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x219)][G(0x1f2)]({'srcPath':G(0x203)+f+G(0x204),'destPath':p+'.js','framework':G(0x205),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x219)][G(0x1f2)]({'srcPath':G(0x222)+g+G(0x204),'destPath':q+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x200)]+'/'+d+'/'+d;await this[F(0x219)][F(0x1f9)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0x219)]['injectTemplateModule'](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this[F(0x219)][F(0x1f9)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x219)][F(0x1f3)](a129e[F(0x1ff)](k,w),{'extensions':['jsx',F(0x1f5)],'omit':[F(0x21a),'tests',F(0x223)]});for(const y of x){const z=a129e[F(0x1ff)](k,w,y);await this['fsi'][F(0x1ef)]({'filePath':z,'importName':'Box','modulePath':F(0x1ed),'isNamedExport':![]}),await this[F(0x219)][F(0x1ef)]({'filePath':z,'importName':F(0x212),'modulePath':F(0x21f),'isNamedExport':![]}),await this['fsi'][F(0x1ef)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x22b):F(0x22a),'isNamedExport':!![]}),await this[F(0x219)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':['<div\x20id=\x22'+w+'\x22>',F(0x210)+w+F(0x1f6)],'end':['<Outlet/>',F(0x207)]}),await this['fsi'][F(0x1ef)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x22b):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x219)][F(0x229)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x217),'begin':[F(0x210)+w+'\x22>',F(0x210)+w+F(0x1f6)],'end':[F(0x21d),'<Outlet\x20/>']}),await this[F(0x219)][F(0x229)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x217),'begin':['<Outlet/>','<Outlet\x20/>'],'end':[F(0x21c)]}),await this[F(0x219)][F(0x1ef)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][F(0x224)]({'filePath':z,'aboveContent':F(0x1f1),'belowContent':F(0x214),'targetString':[F(0x21d),F(0x207)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x215)](A);}},async function(){const H=a129E;console[H(0x1fb)](H(0x1e7));},a129f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0x171))/0x1*(-parseInt(g(0x16f))/0x2)+-parseInt(g(0x169))/0x3*(parseInt(g(0x182))/0x4)+parseInt(g(0x179))/0x5+parseInt(g(0x17e))/0x6+-parseInt(g(0x17d))/0x7+-parseInt(g(0x184))/0x8*(parseInt(g(0x176))/0x9)+parseInt(g(0x16c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x58a26));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a['toString']()[i(0x173)](i(0x172))['toString']()[i(0x165)](a130a)['search'](i(0x172));});function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x164;let f=c[d];return f;},a130d(a,b);}function a130c(){const l=['options','1VXvcQl','(((.+)+)+)+$','search','\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','apply','14886PMmEny','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','processAndRunGenerator','3522715YBMpSK','auth','checkbox','Header,\x20Footer,\x20and\x20Drawer','3918432hpGNBF','2316966LwWSBV','info','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','297508FMjnph','notice','2584KVoeWA','No\x20MUI\x20kits\x20selected.\x20Exiting.','frame','includes','constructor','length','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','kit:mui:auth','15AGQgRh','maka\x20g:kit:m','create','4502340HOrlWg','fsi','kitChoices','576022tPyLLF'];a130c=function(){return l;};return a130c();}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';import a130f from'../kit.js';const MuiGen=Generator[a130j(0x16b)]({'name':'mui','aliases':['m'],'usage':a130j(0x181),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a130j(0x16a)]},async function(){const k=a130j;Log[k(0x17f)](k(0x177)),Log[k(0x183)](k(0x174));const {kitChoices:a}=await Actions[k(0x170)]({'type':k(0x17b),'name':k(0x16e),'message':k(0x180),'choices':[{'name':k(0x17c),'value':k(0x186)},{'name':k(0x167),'value':k(0x17a)}]}),b=this[k(0x16d)]['findProjectDirectory'](),c=this[k(0x16d)]['getMakaProjectConfig']();a['includes'](k(0x186))&&await a130e[k(0x178)]('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x164)](k(0x17a))&&await a130e['processAndRunGenerator'](k(0x168),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x166)]===0x0){Log[k(0x17f)](k(0x185));return;}},async function(){},a130f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x9b))/0x1+parseInt(l(0x88))/0x2+-parseInt(l(0x80))/0x3*(parseInt(l(0x76))/0x4)+-parseInt(l(0x89))/0x5*(-parseInt(l(0x81))/0x6)+parseInt(l(0x85))/0x7*(parseInt(l(0x6e))/0x8)+parseInt(l(0xa9))/0x9+parseInt(l(0x82))/0xa*(-parseInt(l(0x9e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x4f123));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0xa0)]()[n(0x72)](n(0x99))[n(0xa0)]()[n(0x91)](a131a)[n(0x72)](n(0x99));});function a131c(){const r=['getMakaProjectConfig','maka\x20g:l\x20web/safari','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','Scaffolding\x20for\x20a\x20React\x20Layout.','test/test.js','1926819PLXKFr','warn','relative','template','16HzlKrs','.css','ramda','graphql','search','fileName','hook/hook.js','injectAtBeginningOfFile','463676bHJwVa','fsi','layout','pathFromProject','react','string','dir','withHook','includes','api','6vRDgux','42rpmAif','22530nFdEUy','className','features','1506960LNgaYJ','withTranslations','ssr','1158266SkoPMG','220445jbMdLo','/imports/ui/layouts','apply','.app-tests.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','component/component.js','checkNpmPackage','maka\x20g:layout\x20mobile/iPhone8','constructor','test','create','true','injectTemplateModule','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','css','none','(((.+)+)+)+$','.js','602696RKTJya','pathFromApp','resourceName','1826QwCJtJ','setTemplate','toString','import\x20\x27./','installNpmPackage','engines'];a131c=function(){return r;};return a131c();}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';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x6e;let f=c[d];return f;},a131d(a,b);}const aliases=['l'];Generator[a131o(0x93)]({'name':a131o(0x78),'aliases':aliases,'usage':a131o(0x96),'shortDesc':a131o(0xa7),'validOpts':[a131o(0x7d)],'examples':[a131o(0x90),a131o(0xa5)]},async function(a,b){const p=a131o,c=p(0x8a),d=this['fsi']['findAppDirectory'](),e=this[p(0x77)][p(0x9c)]({'pathParts':[c,b[p(0x7c)],paramCase(b[p(0x9d)]),paramCase(b[p(0x9d)])]}),f=this[p(0x77)][p(0xa4)]();await this['fsi']['withValue'](f,async()=>{const q=p;typeof f['template'][q(0x92)]===q(0x7b)&&(f[q(0xac)]['test']=f[q(0xac)][q(0x92)]==='true'?!![]:![],this['fsi'][q(0x9f)]('test',f[q(0xac)][q(0x92)]));typeof f[q(0xac)][q(0x97)]===q(0x7b)&&(f[q(0xac)][q(0x97)]=f[q(0xac)][q(0x97)]===q(0x94)?!![]:![],this[q(0x77)]['setTemplate'](q(0x97),f[q(0xac)]['css']));typeof f[q(0xac)]['js']==='string'&&(f[q(0xac)]['js']=f[q(0xac)]['js']===q(0x94)?!![]:![],this[q(0x77)][q(0x9f)]('js',f[q(0xac)]['js']));!f[q(0x84)]&&(f[q(0x84)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases[q(0x7e)](g);h&&!this[q(0x8f)](q(0x70))&&(Log[q(0xaa)](q(0xa6)),this[q(0x77)][q(0xa2)]('ramda',{'cwd':d}));if(h&&!this[q(0x8f)](q(0x7a))){Log[q(0xaa)](q(0x8d));return;}const i={'name':pascalCase(b[q(0x9d)]),'myPath':a131e[q(0xab)](this[q(0x77)][q(0x79)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x9d)]),'camelCaseName':camelCase(b[q(0x9d)]),'fileName':paramCase(b['resourceName']),'graphql':f['engines'][q(0x71)],'features':f[q(0x84)],'client':f[q(0xa3)]['client'],'api':f['engines'][q(0x7f)],'ssr':f['engines'][q(0x87)],'test':f[q(0xa3)]['test'],'theme':f[q(0xa3)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x84)][q(0x86)]};f[q(0x84)]?.['withHooks']||b['withHook']?await this[q(0x77)][q(0xac)]({'srcPath':q(0x74),'destPath':e+q(0x9a),'framework':'react','context':i,'config':f}):await this[q(0x77)][q(0xac)]({'srcPath':q(0x8e),'destPath':e+q(0x9a),'framework':'react','context':i,'config':f});f[q(0xa3)]['test']!==q(0x98)&&await this[q(0x77)][q(0xac)]({'srcPath':q(0xa8),'destPath':e+q(0x8c),'framework':q(0x7a),'context':i,'config':f});f[q(0xac)]['css']&&(await this[q(0x77)][q(0xac)]({'srcPath':'template/template.css','destPath':e+q(0x6f),'context':Object['assign']({},i,{'className':paramCase(b[q(0x9d)])}),'config':f}),await this['fsi'][q(0x75)]({'filePath':e+'.'+f[q(0xa3)]['js'],'content':q(0xa1)+i[q(0x73)]+'.'+f[q(0xa3)][q(0x97)]+'\x27;'}));const j=b['dir']?'/'+b[q(0x7c)]+'/':'/',k=''+c+j+i[q(0x73)]+'/'+i[q(0x73)];await this[q(0x77)][q(0x95)](i[q(0x83)],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(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x84))/0x1*(parseInt(f(0x81))/0x2)+-parseInt(f(0x75))/0x3*(parseInt(f(0x85))/0x4)+parseInt(f(0x87))/0x5*(parseInt(f(0x76))/0x6)+parseInt(f(0x77))/0x7*(-parseInt(f(0x7b))/0x8)+parseInt(f(0x7d))/0x9+-parseInt(f(0x71))/0xa+parseInt(f(0x7c))/0xb*(parseInt(f(0x86))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x8469d));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x7a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x82)]()['search'](h(0x73))[h(0x82)]()[h(0x83)](a132a)[h(0x72)]('(((.+)+)+)+$');});function a132c(){const j=['13338348UZRwpw','25vmTMZR','maka\x20g:package\x20package:name','4313820vzOMod','search','(((.+)+)+)+$','maka\x20g:dbc\x20geoserver\x20--type=pgsql','96546GgJUMr','1089378HMeZPX','49tLDsmy','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:template\x20todos/todo_item','apply','1117496XSEQyj','11MIeOLX','1378170jhIiKK','maka\x20g:route\x20todos/edit','maka\x20g:scaffold\x20todos','maka\x20generate:scaffold\x20todos','20pjKDUS','toString','constructor','6872jhmwmP','36zsWmGA'];a132c=function(){return j;};return a132c();}a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x70;let f=c[d];return f;},a132d(a,b);}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0x78),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a132i(0x80),a132i(0x7f),a132i(0x79),a132i(0x70),a132i(0x7e),'maka\x20g:api\x20trucks',a132i(0x74)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0xe5))/0x1*(parseInt(j(0xdf))/0x2)+parseInt(j(0xe7))/0x3+parseInt(j(0xeb))/0x4*(parseInt(j(0x100))/0x5)+-parseInt(j(0xda))/0x6+-parseInt(j(0xd9))/0x7*(parseInt(j(0xfb))/0x8)+parseInt(j(0xe6))/0x9*(-parseInt(j(0xfa))/0xa)+-parseInt(j(0xfc))/0xb*(-parseInt(j(0xf4))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x48a17));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a['toString']()[l(0xdb)](l(0xed))[l(0xe4)]()[l(0xe0)](a133a)['search'](l(0xed));});a133a();function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xd9;let f=c[d];return f;},a133d(a,b);}function a133c(){const p=['imports','error','startup','58CxQgyM','constructor','pathFromApp','engines','mdg:validated-method','toString','5381qtkObp','477OIXDpW','136992bBUGRY','fsi','injectAtEndOfFile','withValue','782836MrJCNy','dir','(((.+)+)+)+$','index.','appPathPrefix','maka:check','template','-rpc-method.','resourceName','7640676VAPegh','import\x20\x27./methods','method','methods','maka\x20{generate,\x20g}:{method,\x20m}\x20name','apply','72020rgWZuh','657512KpZnRx','11BVZPdR','ddp-rate-limiter','getMakaProjectConfig','method/method.js','5ZJhJjF','7KgnlBl','1636530HBTkhd','search'];a133c=function(){return p;};return a133c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a133m(0xf6),'aliases':['m'],'usage':a133m(0xf8),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a133m(0xec)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a133m;try{const c=this[n(0xe8)][n(0xfe)]();await this['fsi'][n(0xea)](c,async()=>{const o=n,d=paramCase(b[o(0xf3)]),f={'name':b[o(0xf3)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c['engines']['js']==='tsx'&&(g='ts');await this[o(0xe8)]['checkMeteorPackage']([o(0xf0),o(0xfd),o(0xe3)],{'shouldInstall':!![]}),await this['fsi'][o(0xf1)]({'srcPath':o(0xff),'destPath':this[o(0xe8)]['pathFromApp']({'pathParts':[o(0xdc),o(0xde),b[o(0xef)],o(0xf7),b[o(0xec)],d+o(0xf2)+g]}),'context':f,'config':c});const h=b[o(0xec)]?'/'+b[o(0xec)]+'/':'/',i=this[o(0xe8)][o(0xe1)]({'pathParts':[o(0xdc),'startup',b[o(0xef)],o(0xee)+c[o(0xe2)]['js']]});await this[o(0xe8)][o(0xe9)]({'filePath':i,'content':o(0xf5)+h+d+'-rpc-method\x27;'});});}catch(d){Log[n(0xdd)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a134c(){const q=['28788lrWfxK','create','toString','search','graphql','pathFromAppWithNoReWrite','fsi','145457WwCOli','store','ssr','package/package.js','constructor','/client/','34186956jFOwCW','11rsWXmy','pathFromApp','2561888bCiSka','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','5736808wKgZGA','/package.js','resourceName','.js','template','177220vvkEyn','theme','dir','package/','engines','10jPBwdu','pathFromProject','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','(((.+)+)+)+$','getMakaProjectConfig','packages','server','810TDymfV','3835670OwPDRd','18ZsgARN','package.js','maka\x20g:package\x20todos:package','noRename','lib','relative','hasOwnProperty','3FhuKvO'];a134c=function(){return q;};return a134c();}const a134n=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x87;let f=c[d];return f;},a134d(a,b);}(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0xaa))/0x1*(parseInt(l(0x92))/0x2)+parseInt(l(0xa2))/0x3*(-parseInt(l(0x8d))/0x4)+-parseInt(l(0x99))/0x5*(-parseInt(l(0xa3))/0x6)+parseInt(l(0x88))/0x7+parseInt(l(0xb3))/0x8*(parseInt(l(0x9b))/0x9)+parseInt(l(0x9a))/0xa+parseInt(l(0xb1))/0xb*(-parseInt(l(0xb0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x6f10e));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const m=a134d;return a134a[m(0xa5)]()[m(0xa6)](m(0x95))['toString']()[m(0xae)](a134a)[m(0xa6)](m(0x95));});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134n(0xa4)]({'name':'package','aliases':['p'],'usage':a134n(0x87),'shortDesc':a134n(0x94),'validOpts':[a134n(0x8f)],'examples':[a134n(0x9d)]},async function(a,b){const o=a134n,c=paramCase(b[o(0x8a)]),d=this[o(0xa9)][o(0xb2)]({'pathParts':['packages',b[o(0x8f)],c]}),e=this['fsi'][o(0xa8)]({'pathParts':[o(0x97),b['dir'],c,o(0x9c)]}),f=this['fsi'][o(0x96)]();await this['fsi']['withValue'](f,async()=>{const p=o,g={'name':paramCase(b['resourceName']),'myPath':a134e[p(0xa0)](this[p(0xa9)][p(0x93)]({}),d),'cssCaseName':paramCase(b[p(0x8a)]),'className':pascalCase(b[p(0x8a)]),'camelCaseName':camelCase(b[p(0x8a)]),'fileName':c,'client':f[p(0x91)]['client'],'graphql':f['engines'][p(0xa7)],'ssr':f[p(0x91)][p(0xac)],'isComponent':b['hasOwnProperty']('component'),'isLayout':b[p(0xa1)]('layout'),'isStore':b[p(0xa1)](p(0xab)),'features':f['features'],'noRename':!![],'theme':f[p(0x91)][p(0x8e)]};await this[p(0xa9)][p(0x8c)]({'srcPath':p(0xad),'destPath':e,'context':g,'config':f}),g[p(0x9e)]=![];const h=d+p(0xaf)+c+p(0x8b);await this[p(0xa9)]['template']({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[p(0x9f),p(0x98),'tests/client','tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+p(0x8b);await this[p(0xa9)][p(0x8c)]({'srcPath':p(0x90)+j+p(0x89),'destPath':k,'context':g,'config':f});}});});
|