@maka/maka-cli 5.0.24 → 5.0.25
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/aws/_index.js +1 -1
- package/bundle/obf/src/generators/aws/aws.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
- package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
- package/bundle/obf/src/generators/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.jsx +6 -6
- package/bundle/obf/src/templates/meteor/app/imports/startup/client/index.js.tsx +6 -6
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.jsx +8 -10
- package/bundle/obf/src/templates/meteor/app/imports/startup/lib/routes.js.tsx +8 -10
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.jsx +1 -1
- package/bundle/obf/src/templates/meteor/app/imports/startup/server/index.js.tsx +1 -1
- package/bundle/obf/src/templates/react/kit/auth/service/meteor-auth-service.js.jsx +2 -2
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
- package/delete-1.1.0.tgz +0 -0
- package/maka-maka-cli-5.0.23.tgz +0 -0
- package/matched-5.0.1.tgz +0 -0
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0x142))/0x1*(-parseInt(f(0x13f))/0x2)+parseInt(f(0x13e))/0x3*(parseInt(f(0x140))/0x4)+parseInt(f(0x13a))/0x5*(parseInt(f(0x13b))/0x6)+-parseInt(f(0x143))/0x7+parseInt(f(0x139))/0x8+-parseInt(f(0x146))/0x9+-parseInt(f(0x144))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xe1043));function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x139;var f=c[d];return f;},a117d(a,b);}var a117b=(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;};}()),a117a=a117b(this,function(){var g=a117d;return a117a[g(0x145)]()[g(0x141)](g(0x13d))[g(0x145)]()[g(0x13c)](a117a)[g(0x141)](g(0x13d));});function a117c(){var h=['14873904XXhPur','3323960JndqDW','321530jUdiZr','168oCiyMM','constructor','(((.+)+)+)+$','8709xysiRn','40666DlSZoz','1732fWFhFC','search','4DgejDT','2312471qdlyuV','6497180ejEZbK','toString'];a117c=function(){return h;};return a117c();}a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x151))/0x1+-parseInt(f(0x14c))/0x2+parseInt(f(0x14b))/0x3+parseInt(f(0x153))/0x4*(parseInt(f(0x14e))/0x5)+-parseInt(f(0x149))/0x6+parseInt(f(0x148))/0x7+parseInt(f(0x14a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x27e04));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x14d)]()[h(0x150)](h(0x14f))[h(0x14d)]()[h(0x147)](a118a)[h(0x150)](h(0x14f));});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x147;var f=c[d];return f;},a118d(a,b);}function a118c(){var i=['186730kpbemN','apply','52tWIdxm','constructor','749553zIEMxI','743310azlQUY','305584rtUHeP','714786feNxlW','160746wRpIuw','toString','65685elzxYy','(((.+)+)+)+$','search'];a118c=function(){return i;};return a118c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119h=a119d;
|
|
1
|
+
const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x13d))/0x1*(-parseInt(f(0x13b))/0x2)+parseInt(f(0x142))/0x3+parseInt(f(0x136))/0x4+-parseInt(f(0x143))/0x5+-parseInt(f(0x137))/0x6*(-parseInt(f(0x13e))/0x7)+parseInt(f(0x141))/0x8+-parseInt(f(0x13c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xc7fb2));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const g=a119d;return a119a['toString']()[g(0x13a)](g(0x139))[g(0x138)]()['constructor'](a119a)[g(0x13a)]('(((.+)+)+)+$');});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x135;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator['create']({'name':a119h(0x135),'aliases':['a'],'usage':a119h(0x144),'shortDesc':a119h(0x140),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':a119h(0x145)},async function(){const i=a119h;throw i(0x13f);},async function(){},a119e);export default AuthGen;function a119c(){const j=['1146481DKjgcV','NIE','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','3427392gEskGP','2858853wzItlq','6726455Hyhhte','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','auth','4753996WrAWeE','24jdPKkw','toString','(((.+)+)+)+$','search','32vCeoJg','6805017LzBspn','19030LnvuWP'];a119c=function(){return j;};return a119c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a120c(){const x=['toString','meteor/maka:react-tracker','injectIntoCodeBlock','injectIntoFile','3133580FZheSj','/imports/startup/client','findAppDirectory','5505258pvLVnF','/imports/startup/client/authentication-service','const\x20sendForgotPasswordEmail','checkMeteorPackage','const\x20authenticateUser','334838GKLUzO','\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','5353432ZrCMQK','processAndRunGenerator','1117248fcucdt','apply','engines','react','useEffect\x5c(','error','\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','Accounts','/imports/startup/server/publications/auth/roles.js','injectImport','\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','create','/imports/startup/lib','imports','\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','authentication-provider','Meteor.publish','const\x20deauthenticateUser','auth/roles','const\x20registerNewUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','const\x20getUserAuthorizations','REACT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','findProjectDirectory','\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','constructor','server','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','/imports/startup/lib/authentication-service','.js','force','Meteor.startup','meteor','publish','pathFromApp','6876464NrZlrB','search','normalize','4OfTjRn','const\x20authenticateToken','authentication-service','4887400hDQiuZ','(((.+)+)+)+$','\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','kit:auth:provider','export\x20const\x20AuthProvider','\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\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','useTracker'];a120c=function(){return x;};return a120c();}const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=parseInt(s(0xb0))/0x1*(parseInt(s(0x99))/0x2)+parseInt(s(0xb4))/0x3+-parseInt(s(0xa8))/0x4+parseInt(s(0x9c))/0x5+parseInt(s(0xab))/0x6+-parseInt(s(0xb2))/0x7+-parseInt(s(0x96))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x813ea));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a['toString']()[u(0x97)]('(((.+)+)+)+$')[u(0xa4)]()[u(0xcf)](a120a)['search'](u(0x9d));});a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x8d;let f=c[d];return f;},a120d(a,b);}import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120v(0xbf)]({'name':a120v(0x93),'aliases':['m'],'usage':a120v(0x8e),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a120v(0xcb)]},'description':a120v(0xb1)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x91)]||![];await d[w(0xae)](['accounts-password'],{'shouldInstall':!![]});const i=c[w(0xcd)](),j=c[w(0xaa)](),k=g[w(0xb6)]['ssr']===w(0x93);await a120g[w(0xb3)](w(0x9f),[],{'force':h,'cwd':i,'config':g}),await a120g[w(0xb3)](w(0x94),[w(0xc6)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[w(0x98)](w(0xbc)),m=k?w(0xc0):w(0xa9),n=f[w(0x95)]({'pathParts':[m,'','',w(0x9b)]});await f['template']({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':n+w(0x90),'framework':w(0xb7),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','',w(0xc3)]}),p=g[w(0xb6)]['js'];await f['injectImport']({'filePath':o+'.'+p,'importName':'AuthService','modulePath':k?w(0x8f):w(0xac),'isNamedExport':![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xbe),'begin':w(0xaf),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xc2),'begin':w(0x9a),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xa2),'begin':w(0xca),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xcc),'begin':w(0xc5),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xc9),'begin':w(0xad),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xc8),'begin':w(0xc7),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xa1),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':w(0xa3),'modulePath':w(0xa5),'isNamedExport':!![]}),await f[w(0xa7)]({'filePath':o+'.'+p,'content':w(0xce),'begin':w(0xa0),'end':w(0xb8)}));await f[w(0xbd)]({'filePath':l,'importName':'Meteor','modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await f['injectIntoCodeBlock']({'filePath':l,'content':w(0xba),'begin':w(0xc4),'replace':!![]});const q=f[w(0x95)]({'pathParts':[w(0xc1),'startup',w(0x8d),'index']});await f[w(0xbd)]({'filePath':q+'.'+p,'importName':w(0xbb),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'content':w(0x9e),'begin':w(0x92),'replace':!![]});}catch(r){Log[w(0xb9)](r),process['exit'](0x1);}},async function(){},a120f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(0x1fc))/0x1+-parseInt(u(0x1fd))/0x2+-parseInt(u(0x204))/0x3+parseInt(u(0x214))/0x4*(-parseInt(u(0x20e))/0x5)+parseInt(u(0x20b))/0x6+-parseInt(u(0x21b))/0x7+parseInt(u(0x1f2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x1bf4f));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a121d(a,b);}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a121d;if(c){const e=c[v(0x201)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const w=a121d;return a121a['toString']()[w(0x208)](w(0x20a))[w(0x20c)]()['constructor'](a121a)['search'](w(0x20a));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121x(0x20d)]({'name':a121x(0x21e),'aliases':['p'],'usage':a121x(0x1ed),'shortDesc':a121x(0x216),'validOpts':[a121x(0x1f8)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121x(0x21c)]},'description':a121x(0x1eb)},async function(a,b){const y=a121x;try{const c=b['force']||![];Log[y(0x1f1)](y(0x1f6));const {projectConfig:d}=this,f=d[y(0x1f5)][y(0x205)]===y(0x217),g={'name':capitalCase(d[y(0x212)])},h=f?y(0x209):y(0x21d),i=this[y(0x215)][y(0x21a)]({'pathParts':[h,'','',y(0x220)]});await this['scaffold'][y(0x1ef)]({'srcPath':y(0x1f9),'destPath':i+y(0x1f4),'framework':y(0x213),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x1f5)]['js'],k=h+y(0x1fa),l=k[y(0x1ff)]('/'),m=this[y(0x215)][y(0x21a)]({'pathParts':l});await this[y(0x215)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x1f3),'modulePath':f?y(0x203):y(0x1fe),'isNamedExport':!![]}),await this[y(0x215)]['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x213),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x215)][y(0x206)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0x1ec),y(0x1ee)],'replace':!![]}),await this[y(0x215)][y(0x206)]({'filePath':m+'.'+j,'content':y(0x221),'begin':[y(0x202)],'replace':!![]});const n=y(0x218),o=n[y(0x1ff)]('/'),p=this[y(0x215)]['pathFromApp']({'pathParts':o});await this['scaffold'][y(0x207)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x203):y(0x1fe),'isNamedExport':!![]}),await this['scaffold'][y(0x219)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':y(0x1f0),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1fb),r=q[y(0x1ff)]('/'),s=this[y(0x215)][y(0x21a)]({'pathParts':r});await this[y(0x215)]['injectImport']({'filePath':s+'.'+j,'importName':y(0x211),'modulePath':f?y(0x203):y(0x1fe),'isNamedExport':!![]}),await this[y(0x215)][y(0x219)]({'filePath':s+'.'+j,'aboveContent':y(0x200),'belowContent':y(0x1f7),'targetString':y(0x210),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x21f)](t),process[y(0x20f)](0x1);}},async function(){},a121e);function a121c(){const z=['split','<AuthProvider>','apply','const\x20PrivateRoute','/imports/startup/lib/authentication-provider','530997PArMfF','ssr','injectIntoCodeBlock','injectImport','search','/imports/startup/lib','(((.+)+)+)+$','74502sLgQxA','toString','create','38085rhgNII','exit','<AppRoutes\x20history={history}/>','AuthProvider','appName','react','32ObCeDF','scaffold','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','meteor','/imports/startup/client/index','injectAroundString','pathFromApp','531580cDPrPs','REACT','/imports/startup/client','provider','error','authentication-provider','\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','\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','const\x20useAuth','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','function\x20useAuth','template','<AppRoutes\x20/>','bright','4284272OzBXav','AuthContext','.js','engines','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','</AuthProvider>','force','kit/auth/provider/authentication-provider.js','/routes','/imports/startup/server/index','19960PsNWQp','199210oRjTVk','/imports/startup/client/authentication-provider'];a121c=function(){return z;};return a121c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(
|
|
1
|
+
(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x198))/0x1+parseInt(f(0x190))/0x2*(parseInt(f(0x19a))/0x3)+-parseInt(f(0x194))/0x4*(-parseInt(f(0x19b))/0x5)+-parseInt(f(0x195))/0x6+-parseInt(f(0x191))/0x7+parseInt(f(0x196))/0x8*(parseInt(f(0x199))/0x9)+parseInt(f(0x192))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xad1fc));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x193)]()['search']('(((.+)+)+)+$')[h(0x193)]()['constructor'](a122a)[h(0x197)]('(((.+)+)+)+$');});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x190;var f=c[d];return f;},a122d(a,b);}import'./esri.generator.js';function a122c(){var i=['1136165NSdCZb','apply','38xFOQdn','4988844fsGVDH','763910YuocXU','toString','4sGepow','561936lUNeUg','776KDbdSM','search','266412UbAyol','71712gHzssf','111372mpUowz'];a122c=function(){return i;};return a122c();}import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123i=a123d;function a123c(){const k=['maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','Esri\x20Kit\x20generated\x20successfully','243745cRFqoo','search','75sOktxq','1518310rRmcnT','esri','132Kdyhtt','3620dbmSCH','toString','create','9aYaPEQ','30fPcyqV','1105312ytpjsQ','4330008iaRzjd','apply','\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','183IWkNRy','(((.+)+)+)+$','58009kDZrIg','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','11OSojDp'];a123c=function(){return k;};return a123c();}function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x12d;let f=c[d];return f;},a123d(a,b);}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x12e))/0x1*(-parseInt(f(0x131))/0x2)+parseInt(f(0x13b))/0x3*(-parseInt(f(0x132))/0x4)+parseInt(f(0x142))/0x5+parseInt(f(0x136))/0x6*(parseInt(f(0x13d))/0x7)+parseInt(f(0x137))/0x8*(-parseInt(f(0x135))/0x9)+parseInt(f(0x12f))/0xa*(-parseInt(f(0x13f))/0xb)+parseInt(f(0x138))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x18a04));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x133)]()[h(0x12d)]('(((.+)+)+)+$')[h(0x133)]()['constructor'](a123a)[h(0x12d)](h(0x13c));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123i(0x134)]({'name':a123i(0x130),'aliases':['e'],'usage':a123i(0x140),'shortDesc':a123i(0x13e),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a123i(0x13a)},async function(){const j=a123i;return{'success':!![],'message':j(0x141),'details':{'filesCreated':['/foo/bar'],'filesUpdated':['/foo']}};},async function(){},a123e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xea;let f=c[d];return f;},a124d(a,b);}const a124u=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=parseInt(s(0x10e))/0x1*(parseInt(s(0x10d))/0x2)+-parseInt(s(0xff))/0x3*(parseInt(s(0x107))/0x4)+-parseInt(s(0x106))/0x5+parseInt(s(0xf4))/0x6*(-parseInt(s(0x104))/0x7)+parseInt(s(0x103))/0x8+-parseInt(s(0xef))/0x9*(parseInt(s(0xfd))/0xa)+-parseInt(s(0x101))/0xb*(-parseInt(s(0xf1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x4e09b));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 t=a124d;return a124a[t(0xee)]()[t(0xf9)](t(0x116))[t(0xee)]()['constructor'](a124a)[t(0xf9)](t(0x116));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';function a124c(){const w=['react','kit/esri/map/','Generate\x20an\x20Esri\x20map\x20component','map','2LRjNvT','34598ceFWPa','basic-map','\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','page','appName','findProjectDirectory','baseDir','split','(((.+)+)+)+$','exit','/imports/startup/client/templates','Generating\x20a\x20map\x20component','meteor','esri-loader','.js','engines','toString','18YMKhDg','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','84wHwafZ','<div\x20id=\x22map\x22>','bright','1470kvopJG','processAndRunGenerator','template','dir','replaceAll','search','checkNpmPackage','ssr','/imports/ui/','1229400qvZtOZ','injectIntoFile','131241cFllhQ','REACT','1360337LGgExf','injectImport','3454600FWcGKG','3647MyTBnx','NONE','2100945oDNrNd','20WHsiym','pathFromApp'];a124c=function(){return w;};return a124c();}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'map','aliases':['m'],'usage':a124u(0xf0),'shortDesc':a124u(0x10b),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124u(0x100)],'ssr':SsrEngines[a124u(0x105)]},'description':a124u(0x110)},async function(a,b){const v=a124u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[v(0xf3)](v(0x119));const h=v(0x10f);await f[v(0xfa)](['@esri/react-arcgis',v(0xeb)],{'shouldInstall':!![]});const i=d[v(0x113)](),j=c[v(0xed)][v(0xfb)]===v(0xea),k=await a124f[v(0xf5)](v(0x111),[v(0x10c)],{'cwd':i,'config':c}),l={'name':capitalCase(c[v(0x112)])[v(0xf8)]('-','\x20'),'componentName':pascalCase(h)},m=b[v(0x114)]?v(0xfc)+b[v(0x114)]:'/imports/ui/hooks',n=g[v(0x108)]({'pathParts':[m,b['dir'],kebabCase(h),kebabCase(h)]});await g[v(0xf6)]({'srcPath':v(0x10a)+h+'.js','destPath':n+v(0xec),'framework':v(0x109),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[v(0xf7)]+'/'+h+'/'+h;await g['injectTemplateModule'](h,c,o);const p=k[v(0x115)]('/'),q=g[v(0x108)]({'pathParts':p});await g[v(0x102)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':v(0x118),'isNamedExport':!![]}),await g[v(0xfe)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':['<div\x20id=\x22map\x22>',v(0xf2)],'end':['</div>'],'replace':!![]});}catch(r){Log['error'](r),process[v(0x117)](0x1);}},async function(){},a124e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0xb0))/0x1+parseInt(f(0xa2))/0x2*(parseInt(f(0xa9))/0x3)+parseInt(f(0xa8))/0x4+-parseInt(f(0xb2))/0x5*(-parseInt(f(0xa0))/0x6)+parseInt(f(0xa6))/0x7*(-parseInt(f(0xb3))/0x8)+parseInt(f(0xae))/0x9*(parseInt(f(0xa1))/0xa)+parseInt(f(0xad))/0xb*(-parseInt(f(0xb5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x89dde));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0xaf)]()['search'](h(0xb1))[h(0xaf)]()['constructor'](a125a)[h(0xa7)](h(0xb1));});function a125c(){const j=['maka\x20{generate,\x20g}:{kit}\x20<name>','create','2751uWQXQN','search','1094172aICuXM','110631UybBXu','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','kit','maka\x20g:k','2530aspRNV','87309kgTCFJ','toString','95018rdOXmR','(((.+)+)+)+$','1643630zljEwL','8424ogbQHA','maka\x20g:kit','37164ERkIGC','6NkkZBn','530cknOLY','26kNKFSk','apply'];a125c=function(){return j;};return a125c();}a125a();import{Generator}from'../../generator.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xa0;let f=c[d];return f;},a125d(a,b);}const KitGen=Generator[a125i(0xa5)]({'name':a125i(0xab),'aliases':['k'],'usage':a125i(0xa4),'shortDesc':a125i(0xaa),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125i(0xb4),a125i(0xac)]},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a126d,c=a();while(!![]){try{var d=parseInt(f(0x1f1))/0x1*(parseInt(f(0x1fc))/0x2)+-parseInt(f(0x1f3))/0x3+-parseInt(f(0x1f8))/0x4*(parseInt(f(0x1fa))/0x5)+-parseInt(f(0x1ff))/0x6+parseInt(f(0x1f4))/0x7*(-parseInt(f(0x1f6))/0x8)+parseInt(f(0x1fd))/0x9+-parseInt(f(0x1fb))/0xa*(-parseInt(f(0x1f2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x475c8));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x1f5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0x1f9)]()[h(0x1fe)]('(((.+)+)+)+$')[h(0x1f9)]()['constructor'](a126a)[h(0x1fe)](h(0x1f7));});function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x1f1;var f=c[d];return f;},a126d(a,b);}a126a();import'./mui.generator.js';import'./frame.mui.gen.js';function a126c(){var i=['124830CYKEfN','7YmGUdT','apply','2882056xdHNnm','(((.+)+)+)+$','68384vjRBND','toString','130ZehdxM','580rvOvue','142Pssdqs','4027230bJLEUW','search','2757870uLyEMc','4390RWGClh','159148RoXVqg'];a126c=function(){return i;};return a126c();}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a127L=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=-parseInt(I(0x1ac))/0x1*(-parseInt(I(0x1c1))/0x2)+parseInt(I(0x1c3))/0x3+parseInt(I(0x1b3))/0x4*(-parseInt(I(0x19f))/0x5)+-parseInt(I(0x1ad))/0x6+-parseInt(I(0x1c6))/0x7*(-parseInt(I(0x1ce))/0x8)+-parseInt(I(0x1c7))/0x9+parseInt(I(0x1ae))/0xa*(parseInt(I(0x1a6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x58dd0));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a127d;if(c){const e=c[J(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const K=a127d;return a127a[K(0x19e)]()[K(0x1a4)]('(((.+)+)+)+$')[K(0x19e)]()[K(0x1b9)](a127a)[K(0x1a4)]('(((.+)+)+)+$');});a127a();import{Generator}from'../../../generator.js';function a127c(){const O=['split','/imports/startup/client/authentication-provider','AuthContext','basic-forgot-password-page','forgot-password','baseDir','basic-register-page','register','reset-password/:token','toString','1405jdanPB','.js','/imports/ui/pages/auth','MATERIAL','Cleaning\x20up...','search','engines','4011227jGKoMP','error','kit:auth:provider','Custom\x20(roll\x20your\x20own)','meteor','layouts','55254KmWqyo','1570044CIrJkR','10BwIIdE','basic-login-page','log','pathFromApp','basic-logout-page','7004WtLiDJ','processAndRunGenerator','dir','exit','injectTemplateModule','auth','constructor','REACT','injectImport','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','maka\x20g:k:m:a','template','appName','react','8FTGtUb','ssr','1042047VGdCAY','create','/imports/startup/lib/authentication-provider','405244FeOwkP','3027249PVUvJQ','findProjectDirectory','route','logout','kit/mui/auth/forgot-password/','force','custom','72pLvraV','apply'];a127c=function(){return O;};return a127c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127L(0x1c4)]({'name':a127L(0x1b8),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a127L(0x1ab),a127L(0x1cc)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127L(0x1a2)],'client':ClientEngines[a127L(0x1ba)]},'examples':['maka\x20generate:kit:mui:auth',a127L(0x1bd)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const M=a127L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d[M(0x1c8)](),i=await Actions['select']({'name':'authType','message':M(0x1bc),'choices':[{'name':'Meteor\x20Accounts','value':M(0x1aa)},{'name':M(0x1a9),'value':M(0x1cd)}]}),j=M(0x1af),k='basic-logout-page',l=M(0x19b),m='basic-password-reset-page',n=M(0x198),o=b[M(0x19a)]?'/imports/ui/'+b[M(0x19a)]:M(0x1a1),p=f[M(0x1b1)]({'pathParts':[o,b[M(0x1b5)],kebabCase(j),kebabCase(j)]}),q=f[M(0x1b1)]({'pathParts':[o,b[M(0x1b5)],kebabCase(k),kebabCase(k)]}),r=f[M(0x1b1)]({'pathParts':[o,b[M(0x1b5)],kebabCase(l),kebabCase(l)]}),s=f[M(0x1b1)]({'pathParts':[o,b[M(0x1b5)],kebabCase(m),kebabCase(m)]}),t=f[M(0x1b1)]({'pathParts':[o,b['dir'],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x1bf)])};await f[M(0x1be)]({'srcPath':'kit/mui/auth/login/'+j+M(0x1a0),'destPath':p+'.js','framework':M(0x1c0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1be)]({'srcPath':'kit/mui/auth/logout/'+k+M(0x1a0),'destPath':q+M(0x1a0),'framework':M(0x1c0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1be)]({'srcPath':'kit/mui/auth/register/'+l+M(0x1a0),'destPath':r+M(0x1a0),'framework':M(0x1c0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1be)]({'srcPath':'kit/mui/auth/password-reset/'+m+M(0x1a0),'destPath':s+M(0x1a0),'framework':M(0x1c0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1be)]({'srcPath':M(0x1cb)+n+M(0x1a0),'destPath':t+'.js','framework':M(0x1c0),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x1b5)]+'/'+j+'/'+j;await f[M(0x1b7)](j,c,v);const w=''+o+b[M(0x1b5)]+'/'+k+'/'+k;await f['injectTemplateModule'](k,c,w);const x=''+o+b[M(0x1b5)]+'/'+l+'/'+l;await f['injectTemplateModule'](l,c,x);const y=''+o+b[M(0x1b5)]+'/'+m+'/'+m;await f[M(0x1b7)](m,c,y);const z=''+o+b[M(0x1b5)]+'/'+n+'/'+n;await f[M(0x1b7)](n,c,z),await a127e[M(0x1b4)](M(0x1c9),['basic-login-page'],{'route':'login','cwd':h,'config':c}),await a127e[M(0x1b4)](M(0x1c9),[M(0x1b2)],{'route':M(0x1ca),'private':!![],'cwd':h,'config':c}),await a127e[M(0x1b4)](M(0x1c9),[M(0x19b)],{'route':M(0x19c),'cwd':h,'config':c}),await a127e[M(0x1b4)](M(0x1c9),['basic-password-reset-page'],{'route':M(0x19d),'cwd':h,'config':c}),await a127e[M(0x1b4)](M(0x1c9),[M(0x198)],{'route':M(0x199),'cwd':h,'config':c});i==='meteor'&&await a127e[M(0x1b4)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0x1cd)&&await a127e['processAndRunGenerator'](M(0x1a8),[],{'force':g,'cwd':h,'config':c});const A=c['engines'][M(0x1c2)]===M(0x1aa),B=c[M(0x1a5)]['js'],C=f[M(0x1b1)]({'pathParts':v[M(0x1d0)]('/')});await f[M(0x1bb)]({'filePath':C+'.'+B,'importName':M(0x197),'modulePath':A?M(0x1c5):M(0x196),'isNamedExport':!![]});const D=f['pathFromApp']({'pathParts':w[M(0x1d0)]('/')});await f[M(0x1bb)]({'filePath':D+'.'+B,'importName':M(0x197),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x196),'isNamedExport':!![]});const E=f[M(0x1b1)]({'pathParts':x[M(0x1d0)]('/')});await f[M(0x1bb)]({'filePath':E+'.'+B,'importName':M(0x197),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x196),'isNamedExport':!![]});const F=f['pathFromApp']({'pathParts':y[M(0x1d0)]('/')});await f[M(0x1bb)]({'filePath':F+'.'+B,'importName':M(0x197),'modulePath':A?M(0x1c5):M(0x196),'isNamedExport':!![]});const G=f[M(0x1b1)]({'pathParts':z['split']('/')});await f[M(0x1bb)]({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?M(0x1c5):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log[M(0x1a7)](H),process[M(0x1b6)](0x1);}},async function(){const N=a127L;console[N(0x1b0)](N(0x1a3));},a127f);function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x196;let f=c[d];return f;},a127d(a,b);}export default a127f;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128H=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d
|
|
1
|
+
function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x11d;let f=c[d];return f;},a128d(a,b);}const a128H=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=-parseInt(E(0x148))/0x1+-parseInt(E(0x133))/0x2+-parseInt(E(0x11d))/0x3*(-parseInt(E(0x131))/0x4)+-parseInt(E(0x15c))/0x5+parseInt(E(0x125))/0x6*(parseInt(E(0x156))/0x7)+parseInt(E(0x13c))/0x8+parseInt(E(0x149))/0x9*(-parseInt(E(0x141))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xeca0e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a128d;if(c){const e=c[F(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const G=a128d;return a128a['toString']()['search'](G(0x150))['toString']()[G(0x122)](a128a)['search'](G(0x150));});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'path';import a128f from'./mui.generator.js';function a128c(){const K=['injectTemplateModule','frame','apply','197071pweLyY','.js','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','/imports/ui/components','meteor','injectAroundString','339620dPEZmL','baseDir','pathFromApp','</div>','tsx','engines','/imports/startup/client/templates','180uArweY','<Outlet\x20/>','<Outlet/>','<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>','dir','constructor','/imports/startup/lib/templates','injectIntoFile','222MNNLYj','imports','@mui/material/Container','@mui/material/Box','test','/imports/ui/','Container','kit/mui/frame/drawers/','getFiles','tests','appName','error','67800zbUVaF','react','419538BmtnrX','injectImport','kit/mui/frame/footers/','checkbox','jsx','layouts','force','maka\x20g:k:m:f','create','5657304Qlgsag','app-tests','-hook\x22>','basic-sticky-footer','findAppDirectory','2076610NcRevC','Box','Cleaning\x20up...','getDirectories','REACT','checkMeteorPackage','\x20/>\x0a','1311240qYLPcF','9MjZHwj','template','<div\x20id=\x22','map','basic-drawer','session','maka:react-tracker','(((.+)+)+)+$','kit/mui/frame/app-bars/','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'];a128c=function(){return K;};return a128c();}import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128H(0x13b)]({'name':a128H(0x154),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a128H(0x138),'baseDir',a128H(0x121),a128H(0x139)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a128H(0x145)]},'examples':['maka\x20generate:kit:mui:frame',a128H(0x13a)],'description':a128H(0x152)},async function(a,b){const I=a128H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i='basic-app-bar',j=I(0x14d),k=I(0x13f),l=c[I(0x161)]['ssr']===I(0x15a);await f[I(0x146)]([I(0x14e),I(0x14f)],{'shouldInstall':!![]});const m=d[I(0x140)](),n=a128e['join'](m,I(0x126),'ui','layouts'),o=d[I(0x144)](n),p=o[I(0x14c)](z=>({'name':z,'value':z})),q=await Actions[I(0x136)]({'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','name':I(0x138),'choices':p});if(q['length']===0x0){Log['error']('No\x20layouts\x20selected');return;}const r=b[I(0x15d)]?I(0x12a)+b[I(0x15d)]:I(0x159),s=g[I(0x15e)]({'pathParts':[r,b[I(0x121)],kebabCase(i),kebabCase(i)]}),t=g['pathFromApp']({'pathParts':[r,b[I(0x121)],kebabCase(j),kebabCase(j)]}),u=g[I(0x15e)]({'pathParts':[r,b['dir'],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x12f)])};await g[I(0x14a)]({'srcPath':I(0x151)+i+'.js','destPath':s+I(0x157),'framework':I(0x132),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x14a)]({'srcPath':I(0x12c)+j+I(0x157),'destPath':t+I(0x157),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x14a)]({'srcPath':I(0x135)+k+I(0x157),'destPath':u+'.js','framework':I(0x132),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x121)]+'/'+i+'/'+i;await g['injectTemplateModule'](i,c,w);const x=''+r+b[I(0x121)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b[I(0x121)]+'/'+k+'/'+k;await g[I(0x153)](k,c,y);for(const z of q){const A=d[I(0x12d)](a128e['join'](n,z),{'extensions':[I(0x137),I(0x160)],'omit':[I(0x13d),I(0x12e),I(0x129)]});for(const B of A){const C=a128e['join'](n,z,B);await g[I(0x134)]({'filePath':C,'importName':I(0x142),'modulePath':I(0x128),'isNamedExport':![]}),await g[I(0x134)]({'filePath':C,'importName':I(0x12b),'modulePath':I(0x127),'isNamedExport':![]}),await g[I(0x134)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x123):I(0x162),'isNamedExport':!![]}),await g[I(0x124)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':['<div\x20id=\x22'+z+'\x22>',I(0x14b)+z+I(0x13e)],'end':['<Outlet/>',I(0x11e)]}),await g[I(0x134)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?'/imports/startup/lib/templates':I(0x162),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+I(0x147),'begin':[I(0x14b)+z+'\x22>',I(0x14b)+z+'-hook\x22>'],'end':[I(0x11f),I(0x11e)]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(k)+I(0x147),'begin':[I(0x11f),I(0x11e)],'end':[I(0x15f)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(k),'modulePath':l?'/imports/startup/lib/templates':I(0x162),'isNamedExport':!![]}),await g[I(0x15b)]({'filePath':C,'aboveContent':I(0x120),'belowContent':I(0x158),'targetString':[I(0x11f),I(0x11e)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x130)](D);}},async function(){const J=a128H;console['log'](J(0x143));},a128f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129j=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(
|
|
1
|
+
const a129j=a129d;function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xaf;let f=c[d];return f;},a129d(a,b);}(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0xbb))/0x1+parseInt(g(0xbd))/0x2+parseInt(g(0xaf))/0x3*(parseInt(g(0xb6))/0x4)+-parseInt(g(0xd1))/0x5*(parseInt(g(0xd3))/0x6)+parseInt(g(0xb1))/0x7+parseInt(g(0xd0))/0x8*(parseInt(g(0xc2))/0x9)+-parseInt(g(0xba))/0xa*(parseInt(g(0xcd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xc3ce2));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0xc6)]()['search'](i(0xc4))['toString']()[i(0xd2)](a129a)[i(0xc8)](i(0xc4));});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';function a129c(){const l=['15FuXcJO','constructor','2370270vImVFl','checkbox','Material-UI\x20Kit','21LXZZyO','\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','6290823DvvOeA','auth','error','cfg','exit','82944PlTLLE','create','getMakaProjectConfig','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','11244470oToADt','255388xGPLpn','apply','3204122OWeqcY','length','notice','kit:mui:frame','findProjectDirectory','1593wDMjAC','info','(((.+)+)+)+$','includes','toString','frame','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','kitChoices','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','processAndRunGenerator','22WCOGSM','maka\x20g:kit:m','No\x20MUI\x20kits\x20selected.\x20Exiting.','60328BTkTdZ'];a129c=function(){return l;};return a129c();}import a129f from'../kit.js';const MuiGen=Generator[a129j(0xb7)]({'name':'mui','aliases':['m'],'usage':a129j(0xc9),'resourceNameRequired':![],'shortDesc':a129j(0xd5),'validOpts':[''],'isPro':!![],'examples':[a129j(0xce)]},async function(){const k=a129j;try{Log[k(0xc3)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0xbf)](k(0xb0));const a=await Actions[k(0xd4)]({'message':k(0xcb),'name':k(0xca),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':k(0xb9),'value':'auth'}]}),b=this['fsi'][k(0xc1)](),c=this[k(0xb4)][k(0xb8)]();a[k(0xc5)](k(0xc7))&&await a129e['processAndRunGenerator'](k(0xc0),[],{'force':!![],'cwd':b,'config':c});a[k(0xc5)](k(0xb2))&&await a129e[k(0xcc)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0xbe)]===0x0){Log['info'](k(0xcf));return;}}catch(d){Log[k(0xb3)](d),process[k(0xb5)](0x1);}},async function(){},a129f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130s=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-
|
|
1
|
+
const a130s=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x144;let f=c[d];return f;},a130d(a,b);}(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0x15f))/0x1*(-parseInt(p(0x171))/0x2)+-parseInt(p(0x154))/0x3*(-parseInt(p(0x174))/0x4)+parseInt(p(0x161))/0x5*(parseInt(p(0x16c))/0x6)+parseInt(p(0x15e))/0x7+-parseInt(p(0x163))/0x8+-parseInt(p(0x179))/0x9+parseInt(p(0x16e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x22e7f));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a[r(0x150)]()[r(0x177)](r(0x158))[r(0x150)]()[r(0x168)](a130a)[r(0x177)](r(0x158));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];function a130c(){const u=['.app-tests.js','setTemplate','none','ramda','warn','css','checkNpmPackage','import\x20\x27./','engines','apply','test','toString','maka\x20g:l\x20web/safari','hook/hook.js','className','1317RxPLrx','findAppDirectory','withTranslations','pathFromApp','(((.+)+)+)+$','.js','dir','assign','fileName','graphql','1008182YmvkFR','123979rQPAFT','split','274395EYmVcL','maka\x20g:layout\x20mobile/iPhone8','2040024UnXvOq','resourceName','features','test/test.js','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','constructor','relative','injectTemplateModule','findProjectDirectory','6cGVYKj','withHook','892050IrxaOk','template','theme','2bzPdiC','string','layout','4hsdoeV','withHooks','client','search','injectAtBeginningOfFile','130950CudsHE','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','ssr','installNpmPackage','react'];a130c=function(){return u;};return a130c();}Generator['create']({'name':a130s(0x173),'aliases':aliases,'usage':a130s(0x167),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a130s(0x16d)],'mustBeInMakaProject':!![],'examples':[a130s(0x162),a130s(0x151)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h='/imports/ui/layouts',i=d[t(0x155)](),j=g[t(0x157)]({'pathParts':[h,b['dir'],kebabCase(b[t(0x164)]),kebabCase(b['resourceName'])]});typeof c['template'][t(0x14f)]==='string'&&e['setTemplate'](t(0x14f),c[t(0x16f)][t(0x14f)]);typeof c[t(0x16f)][t(0x14a)]===t(0x172)&&e[t(0x146)]('css',c['template']['css']);typeof c['template']['js']==='string'&&e[t(0x146)]('js',c[t(0x16f)]['js']);const k=b['_']?b['_'][0x0][t(0x160)](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[t(0x14b)](t(0x148))&&(Log[t(0x149)](t(0x17a)),f[t(0x17c)](t(0x148),{'cwd':i}));if(l&&!f['checkNpmPackage'](t(0x144))){Log['warn']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const m={'name':pascalCase(b[t(0x164)]),'myPath':a130e[t(0x169)](d[t(0x16b)](),j),'cssCaseName':kebabCase(b[t(0x164)]),'className':pascalCase(b[t(0x164)]),'camelCaseName':camelCase(b[t(0x164)]),'fileName':kebabCase(b['resourceName']),'graphql':c[t(0x14d)][t(0x15d)],'features':c[t(0x165)],'client':c['engines'][t(0x176)],'api':c[t(0x14d)]['api'],'ssr':c[t(0x14d)][t(0x17b)],'test':c[t(0x14d)][t(0x14f)],'theme':c[t(0x14d)][t(0x170)],'isComponent':![],'isLayout':!![],'withTranslations':c['features'][t(0x156)]};c[t(0x165)]?.[t(0x175)]||b[t(0x16d)]?await g['template']({'srcPath':t(0x152),'destPath':j+'.js','framework':t(0x144),'context':m,'config':c}):await g[t(0x16f)]({'srcPath':'component/component.js','destPath':j+t(0x159),'framework':'react','context':m,'config':c});c[t(0x14d)][t(0x14f)]!==t(0x147)&&await g[t(0x16f)]({'srcPath':t(0x166),'destPath':j+t(0x145),'framework':t(0x144),'context':m,'config':c});c['template'][t(0x14a)]&&(await g[t(0x16f)]({'srcPath':'template/template.css','destPath':j+'.css','context':Object[t(0x15b)]({},m,{'className':kebabCase(b[t(0x164)])}),'config':c}),await g[t(0x178)]({'filePath':j+'.'+c[t(0x14d)]['js'],'content':t(0x14c)+m[t(0x15c)]+'.'+c[t(0x14d)][t(0x14a)]+'\x27;'}));const n=b[t(0x15a)]?'/'+b[t(0x15a)]+'/':'/',o=''+h+n+m['fileName']+'/'+m[t(0x15c)];await g[t(0x16a)](m[t(0x153)],c,o);});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a131h=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0x1e1))/0x1+-parseInt(f(0x1e5))/0x2*(-parseInt(f(0x1df))/0x3)+-parseInt(f(0x1ea))/0x4*(-parseInt(f(0x1e6))/0x5)+parseInt(f(0x1eb))/0x6+-parseInt(f(0x1d9))/0x7*(parseInt(f(0x1e7))/0x8)+parseInt(f(0x1dd))/0x9+parseInt(f(0x1e2))/0xa*(-parseInt(f(0x1da))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x5f512));function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a131d(a,b);}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const g=a131d;return a131a[g(0x1d8)]()[g(0x1e9)](g(0x1e3))[g(0x1d8)]()[g(0x1e0)](a131a)[g(0x1e9)]('(((.+)+)+)+$');});a131a();import{Generator}from'../generator.js';function a131c(){const i=['1875069aRlSBS','869UCOVsG','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:route\x20todos/edit','5257422GixwZj','maka\x20g:package\x20package:name','6FcOREW','constructor','433975MDkryD','106890jBOTHH','(((.+)+)+)+$','maka\x20g:dbc\x20geoserver\x20--type=pgsql','450484CWYEuy','535qibsCA','8HHUqgF','generate','search','19948nzrsXW','2210640GIHgjR','maka\x20g:scaffold\x20todos','maka\x20g:api\x20trucks','toString'];a131c=function(){return i;};return a131c();}const MakaGen=new Generator({'name':a131h(0x1e8),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131h(0x1db),'examples':['maka\x20generate:scaffold\x20todos',a131h(0x1ec),'maka\x20g:template\x20todos/todo_item',a131h(0x1de),a131h(0x1dc),a131h(0x1d7),a131h(0x1e4)]},async function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=parseInt(k(0xf5))/0x1+parseInt(k(0xfb))/0x2*(parseInt(k(0xfd))/0x3)+-parseInt(k(0x10c))/0x4*(-parseInt(k(0x101))/0x5)+-parseInt(k(0xf4))/0x6*(-parseInt(k(0x106))/0x7)+-parseInt(k(0x103))/0x8*(parseInt(k(0xfa))/0x9)+-parseInt(k(0x10f))/0xa*(parseInt(k(0x115))/0xb)+-parseInt(k(0x111))/0xc*(parseInt(k(0x108))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x3f483));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x100)]()[m(0x104)](m(0x10b))[m(0x100)]()[m(0xfe)](a132a)[m(0x104)](m(0x10b));});a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xf0;let f=c[d];return f;},a132d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a132n(0xf0)]({'name':a132n(0x113),'aliases':['m'],'usage':a132n(0x105),'checkWhere':!![],'shortDesc':a132n(0x107),'validOpts':['dir'],'examples':[a132n(0xf9)]},async function(a,b){const o=a132n;try{const c=this[o(0x114)],d=b[o(0x112)]?'/'+b['dir']+'/':'/',f=kebabCase(b['resourceName']),g={'name':b[o(0x10d)],'fileName':f,'className':pascalCase(b[o(0x10d)]),'camelCase':camelCase(b[o(0x10d)]),'noRename':!![]};let h='js';c[o(0x10a)]['js']==='tsx'&&(h='ts');await this[o(0xff)][o(0x118)]([o(0xf6),'ddp-rate-limiter',o(0xf3)],{'shouldInstall':!![]}),await this['scaffold']['template']({'srcPath':o(0x102),'destPath':this['scaffold']['pathFromApp']({'pathParts':[o(0xf2),'startup',b[o(0x117)],o(0x109),d,f+'-rpc-method.'+h]}),'context':g,'config':c});const i=this['scaffold'][o(0x10e)]({'pathParts':[o(0xf2),o(0xf7),b['appPathPrefix'],o(0xfc)+c[o(0x10a)]['js']]});await this['scaffold'][o(0xf1)]({'filePath':i,'content':o(0x110)+d+f+'-rpc-method\x27;'});}catch(j){Log[o(0x116)](j);}});function a132c(){const p=['3830387MvVejk','error','appPathPrefix','checkMeteorPackage','create','injectAtEndOfFile','imports','mdg:validated-method','12EyniuP','339451ySyfeE','maka:check','startup','apply','maka\x20g:method\x20todos','54iWvhAi','8516hBLGnz','index.','312AOeGaR','constructor','pkg','toString','5jYLdTc','method/method.js','214720DltuZy','search','maka\x20{generate,\x20g}:{method,\x20m}\x20name','1622922eqbkna','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','8762923GdBORt','methods','engines','(((.+)+)+)+$','786224WfEedP','resourceName','pathFromApp','10BLXwQD','import\x20\x27./methods','12IEsGsi','dir','method','projectConfig'];a132c=function(){return p;};return a132c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(
|
|
1
|
+
const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0xa8))/0x1+parseInt(m(0xa5))/0x2*(parseInt(m(0x94))/0x3)+-parseInt(m(0x9f))/0x4+-parseInt(m(0x98))/0x5+parseInt(m(0xaf))/0x6+-parseInt(m(0x9c))/0x7*(parseInt(m(0x9a))/0x8)+parseInt(m(0xb6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x1b183));function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x91;let f=c[d];return f;},a133d(a,b);}const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a['toString']()['search'](o(0xba))[o(0xa3)]()['constructor'](a133a)['search'](o(0xba));});function a133c(){const r=['package','resourceName','855420ykgdLH','store','fsi','lib','toString','template/template.js','4BWuuXo','relative','package/','69907QskFNv','server','ssr','/client/','.js','dir','maka\x20g:package\x20todos:package','1001388aWBGgt','client','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','features','hasOwnProperty','apply','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','2337003FRaGyz','theme','package.js','template','(((.+)+)+)+$','graphql','engines','scaffold','findProjectDirectory','component','49935ZpyItN','create','projectConfig','packages','911645OTquGc','pathFromApp','60264oIJZCv','tests/client','21GnzXqE'];a133c=function(){return r;};return a133c();}a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0x95)]({'name':a133p(0x9d),'aliases':['p'],'usage':a133p(0xb5),'shortDesc':a133p(0xb1),'validOpts':[a133p(0xad)],'examples':[a133p(0xae)]},async function(a,b){const q=a133p,c=kebabCase(b[q(0x9e)]),d=b[q(0xad)]?'/'+b[q(0xad)]+'/':'/',e=this[q(0x91)][q(0x99)]({'pathParts':[q(0x97),d,c]}),f=this[q(0x91)]['pathFromAppWithNoReWrite']({'pathParts':['packages',d,c,q(0xb8)]}),g=this[q(0x96)],h={'name':kebabCase(b['resourceName']),'myPath':a133e[q(0xa6)](this[q(0xa1)][q(0x92)](),e),'cssCaseName':kebabCase(b[q(0x9e)]),'className':pascalCase(b[q(0x9e)]),'camelCaseName':camelCase(b[q(0x9e)]),'fileName':c,'client':g[q(0xbc)][q(0xb0)],'graphql':g[q(0xbc)][q(0xbb)],'ssr':g['engines'][q(0xaa)],'isComponent':b[q(0xb3)](q(0x93)),'isLayout':b[q(0xb3)]('layout'),'isStore':b['hasOwnProperty'](q(0xa0)),'features':g[q(0xb2)],'noRename':!![],'theme':g[q(0xbc)][q(0xb7)]};await this['scaffold'][q(0xb9)]({'srcPath':'package/package.js','destPath':f,'context':h,'config':g}),h['noRename']=![];const i=e+q(0xab)+c+'.js';await this[q(0x91)][q(0xb9)]({'srcPath':q(0xa4),'destPath':i,'context':h,'config':g});const j=[q(0xa2),q(0xa9),q(0x9b),'tests/server'];for(const k of j){const l=e+'/'+k+'/'+c+q(0xac);await this[q(0x91)][q(0xb9)]({'srcPath':q(0xa7)+k+'/package.js','destPath':l,'context':h,'config':g});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a134u=a134d;(function(a,b){const r=a134d,c=a();while(!![]){try{const d
|
|
1
|
+
const a134u=a134d;(function(a,b){const r=a134d,c=a();while(!![]){try{const d=parseInt(r(0x1ec))/0x1*(parseInt(r(0x21b))/0x2)+parseInt(r(0x21a))/0x3*(-parseInt(r(0x1e8))/0x4)+parseInt(r(0x216))/0x5+-parseInt(r(0x1f7))/0x6*(-parseInt(r(0x1d6))/0x7)+-parseInt(r(0x201))/0x8*(parseInt(r(0x1ed))/0x9)+-parseInt(r(0x212))/0xa+parseInt(r(0x211))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x98977));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a134d;if(c){const e=c[s(0x20d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const t=a134d;return a134a['toString']()['search'](t(0x1f8))[t(0x1e9)]()[t(0x1fb)](a134a)[t(0x1e6)](t(0x1f8));});a134a();import a134e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['p'];function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1d4;let f=c[d];return f;},a134d(a,b);}function a134c(){const w=['3kozsYu','48vxoofX','scaffold','pkg','ssr','fsi','<Route\x20path=\x22*\x22','features','dir','.html','error','.js','html','findProjectDirectory','page','1198904TiIjpb','/>}/>\x0a','/imports/ui/pages','import\x20\x27./','resourceName','warn','root','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','cfg','injectAtBeginningOfFile','react','split','findAppDirectory','meteor','component/component.js','installNpmPackage','search','endsWith','2968928ouNIRA','toString','lib','url','37574xDWWJB','1044azDSGJ','trim','startup','component','\x22\x20element={<Component.','replace','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','hook/hook.js','ramda','includes','30fVpjld','(((.+)+)+)+$','relative','hasOwnProperty','constructor','engines','injectIntoFile','indexOf','private','toLowerCase','52024BCiWuM','fileName','projectConfig','css','store','string','test/test.js','replaceAll','vanilla','slice','\x27;\x0a','imports','apply','substring','setTemplate','client','14021469FZUmGF','9148140Gtzpqy','</Route>','<Route\x20path=\x22','join','17970DYGWST','test','template','.css'];a134c=function(){return w;};return a134c();}Generator['create']({'name':a134u(0x1d5),'aliases':aliases,'usage':a134u(0x1dd),'shortDesc':'Generate\x20a\x20page.','mustBeInMakaProject':!![],'validOpts':[{'name':a134u(0x1ff),'boolFlag':!![]},{'name':a134u(0x1eb)}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const v=a134u,c=v(0x1d8),d=this[v(0x21f)][v(0x1e2)](),e=b['resourceName'][v(0x1f6)](':')?b['resourceName'][v(0x1e1)](':')[0x0][v(0x1ee)]():b[v(0x1da)][v(0x1ee)](),f=b['dir'][v(0x208)]('/','_')+'_'+e[v(0x208)]('/','_'),g=this[v(0x21c)]['pathFromApp']({'pathParts':[c,b[v(0x222)],kebabCase(f),kebabCase(f)]}),h=this[v(0x203)];let i='';typeof h[v(0x218)][v(0x226)]==='string'&&this[v(0x1de)][v(0x20f)](v(0x226),h[v(0x218)][v(0x226)]);typeof h[v(0x218)][v(0x217)]===v(0x206)&&this[v(0x1de)][v(0x20f)]('test',h[v(0x218)][v(0x217)]);typeof h['template'][v(0x204)]===v(0x206)&&this[v(0x1de)]['setTemplate'](v(0x204),h[v(0x218)]['css']);typeof h[v(0x218)]['js']===v(0x206)&&this[v(0x1de)][v(0x20f)]('js',h[v(0x218)]['js']);!b[v(0x1dc)]&&!this[v(0x21d)]['checkNpmPackage'](v(0x1f5))&&(Log[v(0x1db)]('Updating\x20npm\x20packages\x20...'),this['pkg'][v(0x1e5)]('ramda',{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e[v(0x1f9)](this[v(0x21f)][v(0x1d4)](),g),'cssCaseName':kebabCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':kebabCase(f),'graphql':h[v(0x1fc)]['graphql'],'features':h[v(0x221)],'client':h[v(0x1fc)][v(0x210)],'api':h['engines']['api'],'ssr':h[v(0x1fc)][v(0x21e)],'isStore':b['hasOwnProperty'](v(0x205)),'isComponent':b[v(0x1fa)](v(0x1f0)),'isLayout':b[v(0x1fa)]('layout'),'withTranslations':h[v(0x221)]['withTranslations'],'test':h[v(0x1fc)]['test'],'theme':h['engines']['theme']};h['template'][v(0x226)]&&await this[v(0x21c)][v(0x218)]({'srcPath':'template/template.html','destPath':g+v(0x223),'context':j,'config':h});h[v(0x221)]?.['withHooks']?await this['scaffold'][v(0x218)]({'srcPath':v(0x1f4),'destPath':g+v(0x225),'framework':v(0x1e0),'context':j,'config':h}):await this['scaffold'][v(0x218)]({'srcPath':v(0x1e4),'destPath':g+'.js','framework':v(0x1e0),'context':j,'config':h});h[v(0x1fc)][v(0x217)]!=='none'&&await this[v(0x21c)]['template']({'srcPath':v(0x207),'destPath':g+'.app-tests.js','framework':'react','context':j,'config':h});h[v(0x218)][v(0x204)]&&await this[v(0x21c)][v(0x218)]({'srcPath':'template/template.css','destPath':g+v(0x219),'context':Object['assign']({},j,{'className':kebabCase(b[v(0x1da)])}),'config':h});h[v(0x1fc)]['client']!==v(0x1e0)&&h[v(0x1fc)][v(0x210)]!==v(0x209)?(h[v(0x218)][v(0x204)]&&await this[v(0x21c)][v(0x1df)]({'filePath':g+'.'+h[v(0x1fc)]['js'],'content':v(0x1d9)+j[v(0x202)]+'.'+h[v(0x1fc)][v(0x226)]+v(0x20b)+'import\x20\x27./'+j[v(0x202)]+'.'+h[v(0x1fc)]['css']+'\x27;'}),!h[v(0x218)]['css']&&await this[v(0x21c)][v(0x1df)]({'filePath':g+'.'+h[v(0x1fc)]['js'],'content':'import\x20\x27./'+j[v(0x202)]+'.'+h[v(0x1fc)][v(0x226)]+'\x27;'})):h[v(0x218)][v(0x204)]&&await this[v(0x21c)][v(0x1df)]({'filePath':g+'.'+h[v(0x1fc)]['js'],'content':v(0x1d9)+j[v(0x202)]+'.'+h['engines'][v(0x204)]+'\x27;'});const k=b[v(0x222)]?'/'+b[v(0x222)]+'/':'/';i=''+c+k+j['fileName']+'/'+j[v(0x202)],await this[v(0x21c)]['injectTemplateModule'](j['className'],h,i);if(!b[v(0x1dc)]){const l=b[v(0x1ff)]??![];if(!f){Log[v(0x224)](v(0x1f3));throw new UsageError();}let m=b[v(0x1eb)]?b[v(0x1eb)]:'/'+b[v(0x222)][v(0x1ee)]()+'/'+b[v(0x1da)][v(0x1ee)]()[v(0x1f2)](/\\/g,'/')['replace'](/\/+$/,'')[v(0x200)]();const n=b[v(0x1da)][v(0x1fe)](':');n!==-0x1&&(m+='/'+b[v(0x1da)][v(0x20e)](0x0,n)[v(0x1ee)]());m[v(0x1e7)]('/')&&(m=m[v(0x20a)](0x0,-0x1));m=m['replace'](/\/\//g,'/');const o=h[v(0x1fc)]['js'],p=h[v(0x1fc)][v(0x21e)]===v(0x1e3)?v(0x1ea):v(0x210),q=a134e[v(0x215)](d,v(0x20c),v(0x1ef),p,'routes.'+o);l?await this['scaffold'][v(0x1fd)]({'filePath':q,'content':v(0x214)+m+v(0x1f1)+pascalCase(f)+v(0x1d7),'begin':['<Route\x20element={<PrivateRoute\x20/>}>'],'end':[v(0x213)]}):await this[v(0x21c)][v(0x1fd)]({'filePath':q,'content':'<Route\x20path=\x22'+m+v(0x1f1)+pascalCase(f)+'/>}/>\x0a','begin':['<Route\x20index'],'end':[v(0x220)]});}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a135r=a135d;(function(a,b){const o=a135d,c=a();while(!![]){try{const d=parseInt(o(
|
|
1
|
+
const a135r=a135d;function a135d(a,b){const c=a135c();return a135d=function(d,e){d=d-0xbd;let f=c[d];return f;},a135d(a,b);}(function(a,b){const o=a135d,c=a();while(!![]){try{const d=parseInt(o(0xbf))/0x1*(-parseInt(o(0xcb))/0x2)+-parseInt(o(0xd3))/0x3*(-parseInt(o(0xd0))/0x4)+-parseInt(o(0xce))/0x5+-parseInt(o(0xc4))/0x6*(parseInt(o(0xc6))/0x7)+-parseInt(o(0xc2))/0x8*(-parseInt(o(0xde))/0x9)+-parseInt(o(0xc0))/0xa*(-parseInt(o(0xc8))/0xb)+-parseInt(o(0xd8))/0xc*(parseInt(o(0xbe))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a135c,0x4b39c));const a135b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a135d;if(c){const e=c[p(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a135a=a135b(this,function(){const q=a135d;return a135a['toString']()[q(0xd6)](q(0xd1))[q(0xe3)]()[q(0xcf)](a135a)[q(0xd6)](q(0xd1));});function a135c(){const t=['1510797OJwKdE','publish/publish.js','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','search','import\x20\x27./publications','36dpkBhG','resourceName','globalPublish','tsx','exit','injectAtEndOfFile','4022037MVQxop','apply','/imports/startup/server/publications','create','engines','toString','pathFromApp','1576653XHFCCR','3bzJXef','5151910uREfFO','force','8eUpYYt','publish','6PJrCPj','server','3944213aEcYbD','template','11CqFZik','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','appPathPrefix','35426EaisiK','maka\x20g:publish\x20todos','dir','885590JRIQaM','constructor','4ZrAmVg','(((.+)+)+)+$','startup'];a135c=function(){return t;};return a135c();}a135a();import{kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a135r(0xe1)]({'name':a135r(0xc3),'aliases':['p'],'usage':a135r(0xd5),'shortDesc':a135r(0xc9),'validOpts':[a135r(0xc1)],'requiredOpts':[a135r(0xda)],'mustBeInMakaProject':!![],'examples':[a135r(0xcc)]},async function(a,b){const s=a135r;try{const {projectConfig:c,scaffold:d}=this,f=b[s(0xc1)]||![],g=s(0xe0),h=kebabCase(b[s(0xd9)]),i=d[s(0xbd)]({'pathParts':[g,b[s(0xcd)],'',h]});let j='js';c[s(0xe2)]['js']===s(0xdb)&&(j='ts');const k={'name':b[s(0xd9)],'collection':pascalCase(b[s(0xd9)]),'noRename':!![],'globalPublish':b[s(0xda)]};await d[s(0xc7)]({'srcPath':s(0xd4),'destPath':i+'.'+j,'context':k,'config':c,'force':f});const l=d['pathFromApp']({'pathParts':['imports',s(0xd2),s(0xc5),b[s(0xca)],'index.'+c[s(0xe2)]['js']]}),m=b[s(0xcd)]?'/'+b[s(0xcd)]+'/':'/';await d[s(0xdd)]({'filePath':l,'content':s(0xd7)+m+h+'\x27;'});}catch(n){Log['error'](n),process[s(0xdc)](0x1);}});
|