@maka/maka-cli 4.12.2 → 4.12.3
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/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/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/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/collection.js +1 -1
- package/bundle/obf/src/generators/component.js +1 -1
- package/bundle/obf/src/generators/config.js +1 -1
- package/bundle/obf/src/generators/dbc.js +1 -1
- package/bundle/obf/src/generators/dockerfile.js +1 -1
- package/bundle/obf/src/generators/hook.js +1 -1
- package/bundle/obf/src/generators/kits/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
- package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
- package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
- package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
- package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
- package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
- package/bundle/obf/src/generators/kits/kit.js +1 -1
- package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
- package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
- package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
- package/bundle/obf/src/generators/layout.js +1 -1
- package/bundle/obf/src/generators/maka.gen.js +1 -1
- package/bundle/obf/src/generators/methods.js +1 -1
- package/bundle/obf/src/generators/package.js +1 -1
- package/bundle/obf/src/generators/page.js +1 -1
- package/bundle/obf/src/generators/publish.js +1 -1
- package/bundle/obf/src/generators/route.js +1 -1
- package/bundle/obf/src/generators/service.js +1 -1
- package/bundle/obf/src/generators/services/_index.js +1 -1
- package/bundle/obf/src/generators/services/openssl.js +1 -1
- package/bundle/obf/src/generators/services/translation.js +1 -1
- package/bundle/obf/src/maka.js +1 -1
- package/bundle/obf/src/tool.js +1 -1
- package/bundle/obf/src/tools/actions/actions.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.class.js +1 -1
- package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
- package/bundle/obf/src/tools/docker/docker.class.js +1 -1
- package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
- package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
- package/bundle/obf/src/tools/https/https.class.js +1 -1
- package/bundle/obf/src/tools/https/https.interface.js +1 -1
- package/bundle/obf/src/tools/log/log.class.js +1 -1
- package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
- package/bundle/obf/src/tools/options/options.class.js +1 -1
- package/bundle/obf/src/tools/progress/progress.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
- package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
- package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
- package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
- package/package.json +1 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a113r=a113d;(function(a,b){const o=a113d,c=a();while(!![]){try{const d=parseInt(o(0xb2))/0x1+-parseInt(o(0xaf))/0x2+parseInt(o(0xb0))/0x3+parseInt(o(0xa4))/0x4*(parseInt(o(0x9d))/0x5)+-parseInt(o(0xc1))/0x6*(-parseInt(o(0x95))/0x7)+-parseInt(o(0xa0))/0x8*(-parseInt(o(0x8c))/0x9)+parseInt(o(0xc2))/0xa*(-parseInt(o(0xa3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x263aa));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a113d;if(c){const e=c[p(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const q=a113d;return a113a[q(0xb7)]()[q(0x9a)](q(0x97))['toString']()['constructor'](a113a)[q(0x9a)](q(0x97));});a113a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a113e from'./auth.generator.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x85;let f=c[d];return f;},a113d(a,b);}import a113f from'../../../generators/maka.gen.js';function a113c(){const u=['1000cjvfTM','meteor','force','44DwASDp','4UwjzWV','/imports/startup/client/authentication-service','pathFromApp','checkMeteorPackage','index','const\x20sendForgotPasswordEmail','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','meteor/meteor','meteor/accounts-base','findProjectDirectory','Meteor.publish','476272rRdfaM','113343ATMcEV','auth/roles','216485MhjwTq','AuthService','processAndRunGenerator','error','server','toString','injectIntoFile','alanning:roles','/imports/startup/client','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','return\x20\x5c(','.js','injectImport','\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','6XEfqGf','816790eYCvRu','injectIntoCodeBlock','create','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','engines','imports','\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','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\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','template','apply','REACT','\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','exit','react','11637wrtiAD','Meteor.startup','const\x20deauthenticateUser','\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','export\x20const\x20AuthProvider','\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','fsi','true','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','1173466aVyXFC','startup','(((.+)+)+)+$','withValue','const\x20authenticateToken','search','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','accounts-password','689545PZnQJY','getMakaProjectConfig','const\x20resetPasswordWithToken'];a113c=function(){return u;};return a113c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a113r(0xc4)]({'name':a113r(0xa1),'aliases':['m'],'usage':a113r(0xaa),'shortDesc':a113r(0xc9),'validOpts':[a113r(0xa2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a113r(0x88)]},'description':a113r(0xc0)},async function(a,b){const s=a113r;try{const c=b[s(0xa2)]||![];await this[s(0x92)][s(0xa7)]([s(0x9c),s(0xb9)],{'shouldInstall':!![]});const d=this[s(0x92)][s(0xad)](),f=this[s(0x92)][s(0x9e)](),g=f[s(0xc6)]['ssr']===s(0x93);await a113f[s(0xb4)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a113f[s(0xb4)]('publish',[s(0xb1)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':s(0xba),j=this[s(0x92)][s(0xa6)]({'pathParts':[i,'','','authentication-service']});await this[s(0x92)][s(0x98)](f,async()=>{const t=s;await this[t(0x92)][t(0x86)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0xbe),'framework':t(0x8b),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x92)][s(0xa6)]({'pathParts':[i,'','','authentication-provider']}),l=f['engines']['js'];await this[s(0x92)][s(0xbf)]({'filePath':k+'.'+l,'importName':s(0xb3),'modulePath':g?'/imports/startup/lib/authentication-service':s(0xa5),'isNamedExport':![]}),await this[s(0x92)][s(0xc3)]({'filePath':k+'.'+l,'content':s(0xbb),'begin':'const\x20authenticateUser','replace':!![]}),await this[s(0x92)][s(0xc3)]({'filePath':k+'.'+l,'content':s(0x89),'begin':s(0x99),'replace':!![]}),await this[s(0x92)][s(0xc3)]({'filePath':k+'.'+l,'content':s(0x8f),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x92)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xbc),'begin':s(0x8e),'replace':!![]}),await this[s(0x92)][s(0xc3)]({'filePath':k+'.'+l,'content':s(0x94),'begin':s(0xa9),'replace':!![]}),await this['fsi'][s(0xc3)]({'filePath':k+'.'+l,'content':s(0xc5),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0x92)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x9b),'begin':s(0x9f),'replace':!![]});g&&(await this['fsi']['injectImport']({'filePath':k+'.'+l,'importName':'useTracker','modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this[s(0x92)][s(0xb8)]({'filePath':k+'.'+l,'content':s(0x85),'begin':s(0x90),'end':s(0xbd)}));await this[s(0x92)]['injectImport']({'filePath':h,'importName':'Meteor','modulePath':s(0xab),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x92)][s(0xc3)]({'filePath':h,'content':s(0x91),'begin':s(0xae),'replace':!![]});const m=this[s(0x92)][s(0xa6)]({'pathParts':[s(0xc7),s(0x96),s(0xb6),s(0xa8)]});await this[s(0x92)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0xac),'isNamedExport':!![]}),await this[s(0x92)][s(0xc3)]({'filePath':m+'.'+l,'content':s(0xc8),'begin':s(0x8d),'replace':!![]});}catch(n){Log[s(0xb5)](n),process[s(0x8a)](0x1);}},async function(){},a113e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a114x=a114d;(function(a,b){const u=a114d,c=a();while(!![]){try{const d=parseInt(u(
|
|
1
|
+
const a114x=a114d;(function(a,b){const u=a114d,c=a();while(!![]){try{const d=parseInt(u(0x1b6))/0x1*(parseInt(u(0x1c3))/0x2)+parseInt(u(0x1bd))/0x3+-parseInt(u(0x1ca))/0x4+-parseInt(u(0x1a9))/0x5*(-parseInt(u(0x1a3))/0x6)+-parseInt(u(0x198))/0x7*(parseInt(u(0x1bb))/0x8)+-parseInt(u(0x1b9))/0x9+-parseInt(u(0x1b1))/0xa*(-parseInt(u(0x1c8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xb760b));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a114d;if(c){const e=c[v(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const w=a114d;return a114a[w(0x1c0)]()[w(0x1a8)](w(0x1c7))[w(0x1c0)]()[w(0x1b8)](a114a)[w(0x1a8)](w(0x1c7));});a114a();function a114c(){const A=['apply','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','360EgCbwR','split','/imports/startup/client','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','force','1390mMfNNI','kit/auth/provider/authentication-provider.js','constructor','9399816WKKKJM','fsi','508784hlwVmh','appName','1507692UugLPG','function\x20Routes','exit','toString','injectAroundString','authentication-provider','656YvicPT','withValue','true','template','(((.+)+)+)+$','325336OhQPHv','/imports/startup/client/authentication-provider','5295292ykquIN','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','28NWpwhj','error','REACT','/imports/startup/lib/authentication-provider','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','react','create','<Routes\x20history={history}/>','provider','<Routes\x20history={browserHistory}/>','const\x20Routes','18IyduAF','AuthProvider','</AuthProvider>','getMakaProjectConfig','pathFromApp','search','2250890gTVnnN','useContext','engines','/imports/startup/lib','injectImport','<AuthProvider>'];a114c=function(){return A;};return a114c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a114e from'./auth.generator.js';import{headerCase}from'change-case';function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x197;let f=c[d];return f;},a114d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a114x(0x19e)]({'name':a114x(0x1a0),'aliases':['p'],'usage':a114x(0x19c),'shortDesc':a114x(0x197),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a114x(0x19a)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const y=a114x;try{const c=b[y(0x1b5)]||![];Log['bright'](y(0x1b0));const d=this['fsi'][y(0x1a6)](),f=d[y(0x1ab)]['ssr']===y(0x1c5),g={'name':headerCase(d[y(0x1bc)])['replaceAll']('-','\x20')},h=f?y(0x1ac):y(0x1b3),i=this[y(0x1ba)][y(0x1a7)]({'pathParts':[h,'','',y(0x1c2)]});await this['fsi'][y(0x1c4)](d,async()=>{const z=y;await this[z(0x1ba)][z(0x1c6)]({'srcPath':z(0x1b7),'destPath':i+'.js','framework':z(0x19d),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1ab)]['js'],k=h+'/routes',l=k[y(0x1b2)]('/'),m=this['fsi'][y(0x1a7)]({'pathParts':l});await this[y(0x1ba)][y(0x1ad)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x19b):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0x1ad)]({'filePath':m+'.'+j,'importName':y(0x1aa),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1ba)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x1b4),'begin':[y(0x1a2),y(0x1be)],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x1b2)]('/'),p=this[y(0x1ba)][y(0x1a7)]({'pathParts':o});await this[y(0x1ba)][y(0x1ad)]({'filePath':p+'.'+j,'importName':y(0x1a4),'modulePath':f?y(0x19b):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1ba)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x1ae),'belowContent':'</AuthProvider>','targetString':y(0x1a1),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0x1b2)]('/'),s=this[y(0x1ba)]['pathFromApp']({'pathParts':r});await this[y(0x1ba)]['injectImport']({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1c9),'isNamedExport':!![]}),await this[y(0x1ba)][y(0x1c1)]({'filePath':s+'.'+j,'aboveContent':y(0x1ae),'belowContent':y(0x1a5),'targetString':y(0x19f),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x199)](t),process[y(0x1bf)](0x1);}},async function(){},a114e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a115d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a115d,c=a();while(!![]){try{var d=parseInt(f(0x71))/0x1*(parseInt(f(0x73))/0x2)+-parseInt(f(0x72))/0x3*(-parseInt(f(0x79))/0x4)+-parseInt(f(0x6f))/0x5+-parseInt(f(0x74))/0x6*(parseInt(f(0x7a))/0x7)+parseInt(f(0x6e))/0x8+-parseInt(f(0x6d))/0x9+parseInt(f(0x77))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x703a7));var a115b=(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;};}()),a115a=a115b(this,function(){var g=a115d;return a115a['toString']()[g(0x75)](g(0x70))[g(0x76)]()[g(0x78)](a115a)[g(0x75)](g(0x70));});a115a();function a115d(a,b){var c=a115c();return a115d=function(d,e){d=d-0x6d;var f=c[d];return f;},a115d(a,b);}function a115c(){var h=['126427tGoqAr','3705444kHVmUl','6500160VvhqrZ','4169270gKNTUk','(((.+)+)+)+$','152083bBAYVB','6qGDwNe','2ZaQHRF','174mBgqws','search','toString','4989210FVveCh','constructor','1531004MpqscI'];a115c=function(){return h;};return a115c();}import'./esri.generator.js';import'./map.esri.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=-parseInt(f(0x11c))/0x1*(-parseInt(f(0x121))/0x2)+parseInt(f(0x12c))/0x3+-parseInt(f(0x11e))/0x4*(parseInt(f(0x11d))/0x5)+-parseInt(f(0x12a))/0x6+parseInt(f(0x12f))/0x7+-parseInt(f(0x126))/0x8*(parseInt(f(0x120))/0x9)+parseInt(f(0x128))/0xa*(parseInt(f(0x12b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x7f02a));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x11a;let f=c[d];return f;},a116d(a,b);}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a['toString']()[h(0x11b)](h(0x12e))['toString']()[h(0x124)](a116a)['search'](h(0x12e));});function a116c(){const k=['420035zZgWSW','apply','search','109abQRzw','700fOghDq','5404KOQCAs','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','131049jJGssO','8856HTZIdR','/foo/bar','/foo','constructor','maka\x20g:kit:e','536bYyOxn','\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','236710jFHKSQ','esri','1615656uAaJNE','275BVONsi','2459415KeLVDX','Esri\x20Kit\x20generated\x20successfully','(((.+)+)+)+$'];a116c=function(){return k;};return a116c();}a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';const EsriGen=Generator['create']({'name':a116i(0x129),'aliases':['e'],'usage':a116i(0x11f),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a116i(0x125)],'description':a116i(0x127)},async function(){const j=a116i;return{'success':!![],'message':j(0x12d),'details':{'filesCreated':[j(0x122)],'filesUpdated':[j(0x123)]}};},async function(){},a116e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a117s=a117d;
|
|
1
|
+
const a117s=a117d;(function(a,b){const p=a117d,c=a();while(!![]){try{const d=-parseInt(p(0xa4))/0x1+-parseInt(p(0xb0))/0x2*(parseInt(p(0xa8))/0x3)+parseInt(p(0x99))/0x4+-parseInt(p(0xaf))/0x5*(-parseInt(p(0x98))/0x6)+parseInt(p(0x9e))/0x7*(-parseInt(p(0xa5))/0x8)+parseInt(p(0xb6))/0x9+-parseInt(p(0xa7))/0xa*(-parseInt(p(0xb8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x513da));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a117d;if(c){const e=c[q(0x8f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const r=a117d;return a117a[r(0x92)]()[r(0xb7)](r(0xb5))[r(0x92)]()[r(0xa6)](a117a)[r(0xb7)](r(0xb5));});a117a();import{Generator}from'../../../generator.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x8d;let f=c[d];return f;},a117d(a,b);}function a117c(){const v=['1318554UvjWJo','2091472AnIgwB','injectTemplateModule','error','dir','react','49CwMBlr','engines','findProjectDirectory','template','<div\x20id=\x22map\x22>','kit/esri/map/','328041kCARNx','519784QiqkME','constructor','11170TPBVDK','12mlQAXG','/imports/ui/','create','.js','injectIntoFile','/imports/ui/hooks','page','5uDJRbl','252138SGOxfj','fsi','esri-loader','@esri/react-arcgis','\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','(((.+)+)+)+$','3683160hSGdmB','search','4609cRIqxm','injectImport','replaceAll','</div>','/imports/startup/client/templates','pathFromApp','apply','ssr','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','toString','FALSE','exit','split','bright','true'];a117c=function(){return v;};return a117c();}import{Log}from'../../../tools/log/log.class.js';import a117e from'./esri.generator.js';import a117f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117s(0xaa)]({'name':'map','aliases':['m'],'usage':a117s(0x91),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a117s(0x93)]},'description':a117s(0xb4)},async function(a,b){const t=a117s;try{Log[t(0x96)]('Generating\x20a\x20map\x20component');const c='basic-map';await this[t(0xb1)]['checkNpmPackage']([t(0xb3),t(0xb2)],{'shouldInstall':!![]});const d=this[t(0xb1)][t(0xa0)](),f=this['fsi']['getMakaProjectConfig'](),g=f[t(0x9f)][t(0x90)]===t(0x97),h=await a117f['processAndRunGenerator'](t(0xae),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0xba)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?t(0xa9)+b['baseDir']:t(0xad),k=this[t(0xb1)][t(0x8e)]({'pathParts':[j,b[t(0x9c)],paramCase(c),paramCase(c)]});await this[t(0xb1)]['withValue'](f,async()=>{const u=t;await this[u(0xb1)][u(0xa1)]({'srcPath':u(0xa3)+c+u(0xab),'destPath':k+u(0xab),'framework':u(0x9d),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x9c)]+'/'+c+'/'+c;await this[t(0xb1)][t(0x9a)](c,f,l);const m=h[t(0x95)]('/'),n=this[t(0xb1)]['pathFromApp']({'pathParts':m});await this[t(0xb1)][t(0xb9)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x8d),'isNamedExport':!![]}),await this['fsi'][t(0xac)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0xa2),'<div\x20id=\x22map\x22>'],'end':[t(0xbb)],'replace':!![]});}catch(o){Log[t(0x9b)](o),process[t(0x94)](0x1);}},async function(){},a117e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=-parseInt(f(0xc5))/0x1+-parseInt(f(0xb7))/0x2*(parseInt(f(0xc2))/0x3)+-parseInt(f(0xc3))/0x4+-parseInt(f(0xc4))/0x5+parseInt(f(0xbf))/0x6*(-parseInt(f(0xb9))/0x7)+-parseInt(f(0xb8))/0x8+parseInt(f(0xbd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xc10b1));function a118c(){const j=['1338VPBfIN','816176NrnVJt','5195055CycsUx','388793baAfGF','apply','5474cHSsSa','7958440ptykRI','119161qsHDtR','toString','(((.+)+)+)+$','maka\x20g:kit','43427817EMIIsw','kit','66iDJHCG','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','search'];a118c=function(){return j;};return a118c();}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0xc6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a['toString']()[h(0xc1)]('(((.+)+)+)+$')[h(0xba)]()['constructor'](a118a)[h(0xc1)](h(0xbb));});a118a();import{Generator}from'../../generator.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xb7;let f=c[d];return f;},a118d(a,b);}const KitGen=Generator['create']({'name':a118i(0xbe),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a118i(0xc0),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a118i(0xbc),'maka\x20g:k']},async function(){});export default KitGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
(function(a,b){var f=a119d,c=a();while(!![]){try{var d
|
|
1
|
+
(function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x14c))/0x1*(-parseInt(f(0x140))/0x2)+parseInt(f(0x142))/0x3*(-parseInt(f(0x13f))/0x4)+parseInt(f(0x143))/0x5*(-parseInt(f(0x149))/0x6)+-parseInt(f(0x14b))/0x7+parseInt(f(0x144))/0x8*(parseInt(f(0x14e))/0x9)+-parseInt(f(0x146))/0xa*(-parseInt(f(0x141))/0xb)+parseInt(f(0x147))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xdb9c9));var a119b=(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;};}()),a119a=a119b(this,function(){var g=a119d;return a119a[g(0x14a)]()[g(0x145)](g(0x148))[g(0x14a)]()[g(0x14d)](a119a)[g(0x145)](g(0x148));});a119a();import'./mui.generator.js';function a119c(){var h=['2100147RnCOIH','68999DtaUIK','constructor','2439KMoeeH','76WazZzC','46DkEwNk','3866995MHPttx','197016FUhwvl','2254205SJhsky','49448lwTUbC','search','10XBnwed','40322664xzmttl','(((.+)+)+)+$','18wJNsEx','toString'];a119c=function(){return h;};return a119c();}import'./frame.mui.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x13f;var f=c[d];return f;},a119d(a,b);}import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a120J=a120d;(function(a,b){const G=a120d,c=a();while(!![]){try{const d
|
|
1
|
+
const a120J=a120d;(function(a,b){const G=a120d,c=a();while(!![]){try{const d=parseInt(G(0x1ca))/0x1+parseInt(G(0x1e5))/0x2*(-parseInt(G(0x201))/0x3)+parseInt(G(0x1e9))/0x4*(parseInt(G(0x1ff))/0x5)+parseInt(G(0x1c2))/0x6*(-parseInt(G(0x1f1))/0x7)+parseInt(G(0x1e6))/0x8*(-parseInt(G(0x1cb))/0x9)+parseInt(G(0x1c5))/0xa+parseInt(G(0x1c1))/0xb*(parseInt(G(0x1d7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x7facf));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a120d;if(c){const e=c[H(0x1f0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const I=a120d;return a120a[I(0x200)]()[I(0x1f9)](I(0x1ef))[I(0x200)]()[I(0x1f8)](a120a)[I(0x1f9)]('(((.+)+)+)+$');});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a120d(a,b);}a120a();import{Generator}from'../../../generator.js';function a120c(){const N=['REACT','basic-register-page','register','Meteor\x20Accounts','basic-logout-page','constructor','search','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','force','kit:auth:provider','engines','1370UNGhdv','toString','3NdMFSk','kit:auth:meteor','MATERIAL','basic-forgot-password-page','kit/mui/auth/login/','22wrJGSe','494238rsyhGH','meteor','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','6763890cytoTw','/imports/ui/','logout','react','maka\x20g:k:m:f','598647hxvbZF','18LvkerF','kit/mui/auth/password-reset/','true','list','injectImport','maka\x20generate:kit:mui:frame','reset-password/:token','.js','/imports/startup/lib/authentication-provider','pathFromApp','kit/mui/auth/forgot-password/','template','1745304PrYIgo','findProjectDirectory','appName','basic-password-reset-page','options','processAndRunGenerator','split','fsi','baseDir','log','route','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','custom','kit/mui/auth/register/','1975440wbydpL','2924104IuMTTl','/imports/startup/client/authentication-provider','injectTemplateModule','11068UDokYM','AuthContext','/imports/ui/pages/auth','dir','replaceAll','authType','(((.+)+)+)+$','apply','7jLCLbG','create'];a120c=function(){return N;};return a120c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a120e from'../../../generators/maka.gen.js';import a120f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120J(0x1f2)]({'name':'auth','aliases':['a'],'usage':a120J(0x1fb),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':['layouts',a120J(0x1fc)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a120J(0x1be)],'client':ClientEngines[a120J(0x1f3)]},'examples':[a120J(0x1d0),a120J(0x1c9)],'description':a120J(0x1c4)},async function(a,b){const K=a120J;try{const c=b[K(0x1fc)]||![],d=this[K(0x1de)][K(0x1d8)](),f=this[K(0x1de)][K(0x1fa)](),{authType:g}=await Actions[K(0x1db)]({'type':K(0x1ce),'name':K(0x1ee),'message':K(0x1e2),'choices':[{'name':K(0x1f6),'value':K(0x1c3)},{'name':'Custom\x20(roll\x20your\x20own)','value':K(0x1e3)}]}),h='basic-login-page',i=K(0x1f7),j=K(0x1f4),k='basic-password-reset-page',l='basic-forgot-password-page',m=b[K(0x1df)]?K(0x1c6)+b[K(0x1df)]:K(0x1eb),n=this[K(0x1de)][K(0x1d4)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x1de)][K(0x1d4)]({'pathParts':[m,b[K(0x1ec)],paramCase(i),paramCase(i)]}),p=this[K(0x1de)][K(0x1d4)]({'pathParts':[m,b[K(0x1ec)],paramCase(j),paramCase(j)]}),q=this[K(0x1de)][K(0x1d4)]({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[K(0x1de)][K(0x1d4)]({'pathParts':[m,b[K(0x1ec)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1d9)])[K(0x1ed)]('-','\x20')};await this[K(0x1de)]['withValue'](f,async()=>{const L=K;await this[L(0x1de)]['template']({'srcPath':L(0x1c0)+h+'.js','destPath':n+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1de)][L(0x1d6)]({'srcPath':'kit/mui/auth/logout/'+i+'.js','destPath':o+'.js','framework':L(0x1c8),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1de)][L(0x1d6)]({'srcPath':L(0x1e4)+j+L(0x1d2),'destPath':p+L(0x1d2),'framework':L(0x1c8),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1de)][L(0x1d6)]({'srcPath':L(0x1cc)+k+L(0x1d2),'destPath':q+L(0x1d2),'framework':L(0x1c8),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1de)][L(0x1d6)]({'srcPath':L(0x1d5)+l+'.js','destPath':r+L(0x1d2),'framework':L(0x1c8),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1ec)]+'/'+h+'/'+h;await this[K(0x1de)][K(0x1e8)](h,f,t);const u=''+m+b[K(0x1ec)]+'/'+i+'/'+i;await this['fsi'][K(0x1e8)](i,f,u);const v=''+m+b[K(0x1ec)]+'/'+j+'/'+j;await this[K(0x1de)][K(0x1e8)](j,f,v);const w=''+m+b[K(0x1ec)]+'/'+k+'/'+k;await this[K(0x1de)][K(0x1e8)](k,f,w);const x=''+m+b[K(0x1ec)]+'/'+l+'/'+l;await this[K(0x1de)]['injectTemplateModule'](l,f,x),await a120e[K(0x1dc)](K(0x1e1),['basic-login-page'],{'url':'login','cwd':d,'config':f}),await a120e[K(0x1dc)](K(0x1e1),[K(0x1f7)],{'url':K(0x1c7),'private':!![],'cwd':d,'config':f}),await a120e[K(0x1dc)](K(0x1e1),[K(0x1f4)],{'url':K(0x1f5),'cwd':d,'config':f}),await a120e[K(0x1dc)](K(0x1e1),[K(0x1da)],{'url':K(0x1d1),'cwd':d,'config':f}),await a120e[K(0x1dc)]('route',[K(0x1bf)],{'url':'forgot-password','cwd':d,'config':f});g==='meteor'&&await a120e[K(0x1dc)](K(0x1bd),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a120e[K(0x1dc)](K(0x1fd),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1fe)]['ssr']===K(0x1cd),z=f['engines']['js'],A=this[K(0x1de)][K(0x1d4)]({'pathParts':t[K(0x1dd)]('/')});await this['fsi'][K(0x1cf)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0x1d3):K(0x1e7),'isNamedExport':!![]});const B=this[K(0x1de)][K(0x1d4)]({'pathParts':u[K(0x1dd)]('/')});await this[K(0x1de)][K(0x1cf)]({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?K(0x1d3):K(0x1e7),'isNamedExport':!![]});const C=this['fsi']['pathFromApp']({'pathParts':v[K(0x1dd)]('/')});await this[K(0x1de)]['injectImport']({'filePath':C+'.'+z,'importName':K(0x1ea),'modulePath':y?K(0x1d3):K(0x1e7),'isNamedExport':!![]});const D=this['fsi'][K(0x1d4)]({'pathParts':w[K(0x1dd)]('/')});await this[K(0x1de)]['injectImport']({'filePath':D+'.'+z,'importName':K(0x1ea),'modulePath':y?K(0x1d3):K(0x1e7),'isNamedExport':!![]});const E=this[K(0x1de)][K(0x1d4)]({'pathParts':x['split']('/')});await this['fsi'][K(0x1cf)]({'filePath':E+'.'+z,'importName':K(0x1ea),'modulePath':y?K(0x1d3):K(0x1e7),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a120J;console[M(0x1e0)]('Cleaning\x20up...');},a120f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121D=a121d;(function(a,b){const B=a121d,c=a();while(!![]){try{const d=-parseInt(B(0x1bd))/0x1*(-parseInt(B(0x1ec))/0x2)+-parseInt(B(0x1f9))/0x3+-parseInt(B(0x1d2))/0x4*(parseInt(B(0x1c0))/0x5)+parseInt(B(0x1cb))/0x6*(-parseInt(B(0x1f5))/0x7)+parseInt(B(0x1b0))/0x8*(parseInt(B(0x1e3))/0x9)+parseInt(B(0x1fa))/0xa*(parseInt(B(0x1d8))/0xb)+parseInt(B(0x1eb))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x99a1d));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1af;let f=c[d];return f;},a121d(a,b);}const a121b=(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;};}()),a121a=a121b(this,function(){const C=a121d;return a121a[C(0x1e5)]()[C(0x1df)](C(0x1d1))[C(0x1e5)]()['constructor'](a121a)['search']('(((.+)+)+)+$');});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a121e from'path';import a121f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a121c(){const H=['basic-sticky-footer','Container','basic-app-bar','kit/mui/frame/drawers/','log','28266fLbgCZ','checkMeteorPackage','ssr','5GHXmiq','injectImport','/imports/startup/client/templates','findAppDirectory','layouts','engines','frame','MATERIAL','session','pathFromApp','template','4956918bbIwTK','{\x20this.props.children\x20}','tsx','getDirectories','dir','join','(((.+)+)+)+$','1224332UFjoKn','@mui/material/Box','appName','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','create','imports','22LSHhQP','.js','/imports/ui/components','maka\x20generate:kit:mui:frame','react','/imports/startup/lib/templates','{\x20props.children\x20}','search','{this.props.children}','length','fsi','869760pwGcGj','options','toString','@mui/material/Container','\x20/>\x0a','{props.children}','replaceAll','force','4228272KZkXRl','54UksDzl','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','baseDir','injectAroundString','jsx','Cleaning\x20up...','injectIntoFile','withValue','injectTemplateModule','7dzJlcA','true','</div>','kit/mui/frame/footers/','2605833iwzxfO','5640130MkgKYn','tests','maka:react-tracker','32UpyUtJ','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','Box','<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>','<div\x20id=\x22','error','maka\x20g:k:m:f','/imports/ui/'];a121c=function(){return H;};return a121c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121D(0x1d6)]({'name':a121D(0x1c6),'aliases':['f'],'usage':a121D(0x1ed),'shortDesc':a121D(0x1b1),'validOpts':['layouts','baseDir','dir',a121D(0x1ea)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a121D(0x1c7)],'client':ClientEngines['REACT']},'examples':[a121D(0x1db),a121D(0x1b6)],'description':a121D(0x1d5)},async function(a,b){const E=a121D;try{const c=b[E(0x1ea)]||![],d=E(0x1ba),f='basic-drawer',g=E(0x1b8),h=this[E(0x1e2)]['getMakaProjectConfig'](),i=h[E(0x1c5)][E(0x1bf)]===E(0x1f6);await this[E(0x1e2)][E(0x1be)]([E(0x1c8),E(0x1af)],{'shouldInstall':!![]});const j=this['fsi'][E(0x1c3)](),k=a121e['join'](j,E(0x1d7),'ui',E(0x1c4)),l=this[E(0x1e2)][E(0x1ce)](k),m=await Actions[E(0x1e4)]({'type':'checkbox','name':E(0x1c4),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m['layouts'][E(0x1e1)]===0x0){Log[E(0x1b5)]('No\x20layouts\x20selected');return;}const n=b[E(0x1ee)]?E(0x1b7)+b[E(0x1ee)]:E(0x1da),o=this['fsi'][E(0x1c9)]({'pathParts':[n,b[E(0x1cf)],paramCase(d),paramCase(d)]}),p=this['fsi'][E(0x1c9)]({'pathParts':[n,b[E(0x1cf)],paramCase(f),paramCase(f)]}),q=this[E(0x1e2)]['pathFromApp']({'pathParts':[n,b[E(0x1cf)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[E(0x1d4)])[E(0x1e9)]('-','\x20')};await this[E(0x1e2)][E(0x1f3)](h,async()=>{const F=E;await this['fsi']['template']({'srcPath':'kit/mui/frame/app-bars/'+d+F(0x1d9),'destPath':o+F(0x1d9),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x1e2)][F(0x1ca)]({'srcPath':F(0x1bb)+f+F(0x1d9),'destPath':p+F(0x1d9),'framework':F(0x1dc),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':F(0x1f8)+g+F(0x1d9),'destPath':q+F(0x1d9),'framework':F(0x1dc),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[E(0x1cf)]+'/'+d+'/'+d;await this[E(0x1e2)][E(0x1f4)](d,h,s);const t=''+n+b[E(0x1cf)]+'/'+f+'/'+f;await this[E(0x1e2)]['injectTemplateModule'](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this['fsi']['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[E(0x1e2)]['getFiles'](a121e[E(0x1d0)](k,w),{'extensions':[E(0x1f0),E(0x1cd)],'omit':['app-tests',E(0x1fb),'test']});for(const y of x){const z=a121e['join'](k,w,y);await this[E(0x1e2)][E(0x1c1)]({'filePath':z,'importName':E(0x1b2),'modulePath':E(0x1d3),'isNamedExport':![]}),await this['fsi'][E(0x1c1)]({'filePath':z,'importName':E(0x1b9),'modulePath':E(0x1e6),'isNamedExport':![]}),await this[E(0x1e2)]['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?E(0x1dd):E(0x1c2),'isNamedExport':!![]}),await this[E(0x1e2)][E(0x1f2)]({'filePath':z,'content':'<'+pascalCase(d)+E(0x1e7),'begin':[E(0x1b4)+w+'\x22>',E(0x1b4)+w+'-hook\x22>'],'end':[E(0x1e0),'{\x20this.props.children\x20}',E(0x1e8),E(0x1de)]}),await this[E(0x1e2)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?E(0x1dd):E(0x1c2),'isNamedExport':!![]}),await this[E(0x1e2)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+E(0x1e7),'begin':[E(0x1b4)+w+'\x22>','<div\x20id=\x22'+w+'-hook\x22>'],'end':['{this.props.children}',E(0x1cc),'{props.children}',E(0x1de)]}),await this[E(0x1e2)][E(0x1f2)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[E(0x1e0),E(0x1cc),E(0x1e8),E(0x1de)],'end':[E(0x1f7)]}),await this[E(0x1e2)][E(0x1c1)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':E(0x1c2),'isNamedExport':!![]}),await this[E(0x1e2)][E(0x1ef)]({'filePath':z,'aboveContent':E(0x1b3),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[E(0x1e0),'{\x20this.props.children\x20}',E(0x1e8),'{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[E(0x1b5)](A);}},async function(){const G=a121D;console[G(0x1bc)](G(0x1f1));},a121f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a122j=a122d;(function(a,b){const g=a122d,c=a();while(!![]){try{const d=parseInt(g(
|
|
1
|
+
const a122j=a122d;(function(a,b){const g=a122d,c=a();while(!![]){try{const d=parseInt(g(0x15b))/0x1*(parseInt(g(0x149))/0x2)+parseInt(g(0x168))/0x3*(-parseInt(g(0x15f))/0x4)+-parseInt(g(0x155))/0x5*(parseInt(g(0x14d))/0x6)+-parseInt(g(0x165))/0x7*(parseInt(g(0x158))/0x8)+parseInt(g(0x150))/0x9+parseInt(g(0x160))/0xa*(-parseInt(g(0x152))/0xb)+parseInt(g(0x14c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x5a923));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a122d;if(c){const e=c[h(0x151)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const i=a122d;return a122a[i(0x163)]()[i(0x157)](i(0x159))[i(0x163)]()[i(0x166)](a122a)[i(0x157)](i(0x159));});a122a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a122c(){const l=['fsi','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','Material-UI\x20Kit','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','7094MicTLH','auth','\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','17704368FIgHjJ','12GGCNlE','kitChoices','frame','3180681YqaoTK','apply','25751vOaaVF','processAndRunGenerator','info','1182470tRJMbP','maka\x20g:kit:m','search','8QoAZxu','(((.+)+)+)+$','findProjectDirectory','86avgzAn','getMakaProjectConfig','mui','No\x20MUI\x20kits\x20selected.\x20Exiting.','20mBxoaX','840UEPRba','includes','Header,\x20Footer,\x20and\x20Drawer','toString','create','4983573WFkjoR','constructor','length','228759hpjQyz','kit:mui:auth','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?'];a122c=function(){return l;};return a122c();}function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x144;let f=c[d];return f;},a122d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a122e from'../../../generators/maka.gen.js';import a122f from'../kit.js';const MuiGen=Generator[a122j(0x164)]({'name':a122j(0x15d),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a122j(0x147),'validOpts':[''],'isPro':!![],'examples':[a122j(0x156)]},async function(){const k=a122j;Log[k(0x154)](k(0x148)),Log['notice'](k(0x14b));const {kitChoices:a}=await Actions['options']({'type':'checkbox','name':k(0x14e),'message':k(0x144),'choices':[{'name':k(0x162),'value':'frame'},{'name':k(0x146),'value':k(0x14a)}]}),b=this[k(0x145)][k(0x15a)](),c=this[k(0x145)][k(0x15c)]();a[k(0x161)](k(0x14f))&&await a122e[k(0x153)]('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0x161)]('auth')&&await a122e[k(0x153)](k(0x169),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x167)]===0x0){Log['info'](k(0x15e));return;}},async function(){},a122f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x68;let f=c[d];return f;},a123d(a,b);}const a123o=a123d;(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x6f))/0x1*(-parseInt(l(0x7a))/0x2)+parseInt(l(0x86))/0x3+-parseInt(l(0x79))/0x4+parseInt(l(0x84))/0x5*(parseInt(l(0x7f))/0x6)+parseInt(l(0x83))/0x7+-parseInt(l(0x8d))/0x8*(-parseInt(l(0x75))/0x9)+-parseInt(l(0x96))/0xa*(parseInt(l(0x8f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x1c211));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a123d;if(c){const e=c[m(0x88)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const n=a123d;return a123a[n(0xa0)]()[n(0x9b)](n(0x72))[n(0xa0)]()[n(0xa3)](a123a)['search'](n(0x72));});a123a();import a123e from'path';import{Generator}from'../generator.js';function a123c(){const r=['.app-tests.js','apply','injectTemplateModule','test','warn','maka\x20g:l\x20web/safari','267112qesSCc','fileName','2026992CtAOyW','ssr','string','findAppDirectory','create','Scaffolding\x20for\x20a\x20React\x20Layout.','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','10neWmOo','.js','resourceName','api','assign','search','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','engines','/imports/ui/layouts','true','toString','includes','pathFromApp','constructor','injectAtBeginningOfFile','react','template/template.css','split','fsi','maka\x20g:layout\x20mobile/iPhone8','features','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','8479QzbfXA','ramda','css','(((.+)+)+)+$','none','relative','45VJxWyh','test/test.js','dir','withValue','882420ewqGvA','14MPlAgq','template','setTemplate','checkNpmPackage','installNpmPackage','6vazFDP','graphql','.css','import\x20\x27./','143990bRpRks','529700fYXNgr','withHook','501858KlDfSk'];a123c=function(){return r;};return a123c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a123o(0x93)]({'name':'layout','aliases':aliases,'usage':a123o(0x95),'shortDesc':a123o(0x94),'validOpts':[a123o(0x85)],'examples':[a123o(0x6c),a123o(0x8c)]},async function(a,b){const p=a123o,c=p(0x9e),d=this[p(0x6b)][p(0x92)](),e=this['fsi'][p(0xa2)]({'pathParts':[c,b[p(0x77)],paramCase(b[p(0x98)]),paramCase(b['resourceName'])]}),f=this[p(0x6b)]['getMakaProjectConfig']();await this[p(0x6b)][p(0x78)](f,async()=>{const q=p;typeof f[q(0x7b)][q(0x8a)]==='string'&&(f[q(0x7b)]['test']=f['template'][q(0x8a)]===q(0x9f)?!![]:![],this[q(0x6b)][q(0x7c)](q(0x8a),f[q(0x7b)][q(0x8a)]));typeof f[q(0x7b)][q(0x71)]===q(0x91)&&(f[q(0x7b)][q(0x71)]=f['template'][q(0x71)]==='true'?!![]:![],this['fsi']['setTemplate'](q(0x71),f[q(0x7b)][q(0x71)]));typeof f[q(0x7b)]['js']==='string'&&(f[q(0x7b)]['js']=f['template']['js']==='true'?!![]:![],this[q(0x6b)][q(0x7c)]('js',f[q(0x7b)]['js']));!f[q(0x6d)]&&(f[q(0x6d)]={});const g=b['_']?b['_'][0x0][q(0x6a)](':')[0x1]:![],h=b['_']&&aliases[q(0xa1)](g);h&&!this[q(0x7d)](q(0x70))&&(Log[q(0x8b)](q(0x6e)),this[q(0x6b)][q(0x7e)](q(0x70),{'cwd':d}));if(h&&!this[q(0x7d)]('react')){Log[q(0x8b)](q(0x9c));return;}const i={'name':pascalCase(b[q(0x98)]),'myPath':a123e[q(0x74)](this[q(0x6b)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x98)]),'className':pascalCase(b[q(0x98)]),'camelCaseName':camelCase(b[q(0x98)]),'fileName':paramCase(b[q(0x98)]),'graphql':f[q(0x9d)][q(0x80)],'features':f['features'],'client':f[q(0x9d)]['client'],'api':f[q(0x9d)][q(0x99)],'ssr':f['engines'][q(0x90)],'test':f[q(0x9d)][q(0x8a)],'theme':f[q(0x9d)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x6d)]['withTranslations']};f['features']?.['withHooks']||b[q(0x85)]?await this[q(0x6b)][q(0x7b)]({'srcPath':'hook/hook.js','destPath':e+q(0x97),'framework':q(0x68),'context':i,'config':f}):await this[q(0x6b)]['template']({'srcPath':'component/component.js','destPath':e+q(0x97),'framework':q(0x68),'context':i,'config':f});f[q(0x9d)][q(0x8a)]!==q(0x73)&&await this[q(0x6b)][q(0x7b)]({'srcPath':q(0x76),'destPath':e+q(0x87),'framework':'react','context':i,'config':f});f[q(0x7b)][q(0x71)]&&(await this[q(0x6b)][q(0x7b)]({'srcPath':q(0x69),'destPath':e+q(0x81),'context':Object[q(0x9a)]({},i,{'className':paramCase(b[q(0x98)])}),'config':f}),await this[q(0x6b)][q(0xa4)]({'filePath':e+'.'+f[q(0x9d)]['js'],'content':q(0x82)+i[q(0x8e)]+'.'+f['engines']['css']+'\x27;'}));const j=b[q(0x77)]?'/'+b['dir']+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0x8e)];await this['fsi'][q(0x89)](i['className'],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
function a124c(){const j=['5533OqYRyA','3950744fToLgV','5170789ElVdje','toString','apply','maka\x20g:scaffold\x20todos','maka\x20g:package\x20package:name','918788GYAxEm','(((.+)+)+)+$','search','maka\x20g:dbc\x20geoserver\x20--type=pgsql','15voPxaA','1cTBIYi','Scaffold\x20various\x20parts\x20of\x20your\x20application','1308741jaxMnx','maka\x20{generate,\x20g}:<generator>\x20<name>','12EtMZKc','maka\x20g:template\x20todos/todo_item','9KIJJVs','constructor','10420bkEnrc','66186xiThaG','536918pwyDoA','maka\x20g:api\x20trucks','7WUxDxD'];a124c=function(){return j;};return a124c();}const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x178))/0x1*(-parseInt(f(0x182))/0x2)+parseInt(f(0x17a))/0x3+parseInt(f(0x18c))/0x4*(-parseInt(f(0x190))/0x5)+-parseInt(f(0x181))/0x6*(-parseInt(f(0x184))/0x7)+-parseInt(f(0x186))/0x8*(parseInt(f(0x17e))/0x9)+-parseInt(f(0x180))/0xa*(-parseInt(f(0x185))/0xb)+-parseInt(f(0x17c))/0xc*(-parseInt(f(0x187))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x6f01a));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x188)]()[h(0x18e)](h(0x18d))[h(0x188)]()[h(0x17f)](a124a)[h(0x18e)]('(((.+)+)+)+$');});a124a();import{Generator}from'../generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x178;let f=c[d];return f;},a124d(a,b);}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a124i(0x17b),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a124i(0x179),'examples':['maka\x20generate:scaffold\x20todos',a124i(0x18a),a124i(0x17d),a124i(0x18b),'maka\x20g:route\x20todos/edit',a124i(0x183),a124i(0x18f)]},function(){});export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a125m=a125d;(function(a,b){const j=a125d,c=a();while(!![]){try{const d=parseInt(j(
|
|
1
|
+
const a125m=a125d;(function(a,b){const j=a125d,c=a();while(!![]){try{const d=parseInt(j(0x155))/0x1+parseInt(j(0x13f))/0x2*(parseInt(j(0x14d))/0x3)+parseInt(j(0x14b))/0x4*(-parseInt(j(0x15c))/0x5)+parseInt(j(0x14a))/0x6*(parseInt(j(0x154))/0x7)+parseInt(j(0x144))/0x8*(-parseInt(j(0x143))/0x9)+parseInt(j(0x13e))/0xa*(parseInt(j(0x13b))/0xb)+parseInt(j(0x152))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xd094a));function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x135;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a125d;if(c){const e=c[k(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const l=a125d;return a125a[l(0x146)]()[l(0x13a)](l(0x148))['toString']()[l(0x13d)](a125a)[l(0x13a)]('(((.+)+)+)+$');});function a125c(){const p=['template','936691gwPHDD','1690521qgYwAw','tsx','index.','ddp-rate-limiter','method/method.js','create','methods','5818990VXxLip','getMakaProjectConfig','withValue','maka:check','imports','-rpc-method.','injectAtEndOfFile','mdg:validated-method','search','2304995TWOUpj','appPathPrefix','constructor','10hpBJEW','342466qtvoOx','resourceName','fsi','dir','7807896WXWmPy','8dHNnOi','import\x20\x27./methods','toString','method','(((.+)+)+)+$','maka\x20g:method\x20todos','18yAwJPC','4uxSxuL','apply','3BoblYK','engines','maka\x20{generate,\x20g}:{method,\x20m}\x20name','startup','pathFromApp','4955400UBXzbX'];a125c=function(){return p;};return a125c();}a125a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a125m(0x15a)]({'name':a125m(0x147),'aliases':['m'],'usage':a125m(0x14f),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a125m(0x142)],'examples':[a125m(0x149)]},async function(a,b){const n=a125m;try{const c=this['fsi'][n(0x15d)]();await this['fsi'][n(0x15e)](c,async()=>{const o=n,d=paramCase(b[o(0x140)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b[o(0x140)]),'camelCase':camelCase(b[o(0x140)]),'noRename':!![]};let g='js';c[o(0x14e)]['js']===o(0x156)&&(g='ts');await this[o(0x141)]['checkMeteorPackage']([o(0x135),o(0x158),o(0x139)],{'shouldInstall':!![]}),await this['fsi'][o(0x153)]({'srcPath':o(0x159),'destPath':this[o(0x141)][o(0x151)]({'pathParts':[o(0x136),o(0x150),b[o(0x13c)],o(0x15b),b['dir'],d+o(0x137)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x142)]+'/':'/',i=this[o(0x141)][o(0x151)]({'pathParts':[o(0x136),'startup',b[o(0x13c)],o(0x157)+c['engines']['js']]});await this[o(0x141)][o(0x138)]({'filePath':i,'content':o(0x145)+h+d+'-rpc-method\x27;'});});}catch(d){Log['error'](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126o=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(
|
|
1
|
+
const a126o=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(0x12d))/0x1*(-parseInt(l(0x125))/0x2)+-parseInt(l(0x13c))/0x3+-parseInt(l(0x139))/0x4+-parseInt(l(0x11f))/0x5+parseInt(l(0x120))/0x6+parseInt(l(0x131))/0x7+-parseInt(l(0x130))/0x8*(-parseInt(l(0x122))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xd10d3));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0x141)]()['search'](n(0x12c))[n(0x141)]()[n(0x146)](a126a)[n(0x13b)](n(0x12c));});function a126c(){const r=['packages','package','pathFromAppWithNoReWrite','client','toString','features','lib','tests/server','pathFromApp','constructor','relative','layout','template/template.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','package.js','8473865JSrdEN','1390728ImMjsA','template','9FdlepE','engines','.js','6prcMPf','component','tests/client','apply','resourceName','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','pathFromProject','(((.+)+)+)+$','203101LXhEVv','store','hasOwnProperty','26279496wpNxBD','92477WwRfRb','fsi','maka\x20g:package\x20todos:package','theme','package/package.js','ssr','dir','/client/','5279116cBQQTh','/package.js','search','805236oMkxao'];a126c=function(){return r;};return a126c();}a126a();import a126e from'path';import{Generator}from'../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x11d;let f=c[d];return f;},a126d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a126o(0x13e),'aliases':['p'],'usage':a126o(0x11d),'shortDesc':a126o(0x12a),'validOpts':[a126o(0x137)],'examples':[a126o(0x133)]},async function(a,b){const p=a126o,c=paramCase(b[p(0x129)]),d=this[p(0x132)][p(0x145)]({'pathParts':[p(0x13d),b['dir'],c]}),e=this[p(0x132)][p(0x13f)]({'pathParts':[p(0x13d),b[p(0x137)],c,p(0x11e)]}),f=this['fsi']['getMakaProjectConfig']();await this[p(0x132)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x129)]),'myPath':a126e[q(0x147)](this[q(0x132)][q(0x12b)]({}),d),'cssCaseName':paramCase(b[q(0x129)]),'className':pascalCase(b[q(0x129)]),'camelCaseName':camelCase(b[q(0x129)]),'fileName':c,'client':f[q(0x123)][q(0x140)],'graphql':f[q(0x123)]['graphql'],'ssr':f['engines'][q(0x136)],'isComponent':b[q(0x12f)](q(0x126)),'isLayout':b['hasOwnProperty'](q(0x148)),'isStore':b[q(0x12f)](q(0x12e)),'features':f[q(0x142)],'noRename':!![],'theme':f[q(0x123)][q(0x134)]};await this[q(0x132)][q(0x121)]({'srcPath':q(0x135),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x138)+c+q(0x124);await this['fsi'][q(0x121)]({'srcPath':q(0x149),'destPath':h,'context':g,'config':f});const i=[q(0x143),'server',q(0x127),q(0x144)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x124);await this[q(0x132)][q(0x121)]({'srcPath':'package/'+j+q(0x13a),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127m=a127d;(function(a,b){const j=a127d,c=a();while(!![]){try{const d=-parseInt(j(
|
|
1
|
+
const a127m=a127d;function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x126;let f=c[d];return f;},a127d(a,b);}(function(a,b){const j=a127d,c=a();while(!![]){try{const d=-parseInt(j(0x13c))/0x1+-parseInt(j(0x163))/0x2+parseInt(j(0x166))/0x3+parseInt(j(0x152))/0x4+-parseInt(j(0x168))/0x5+-parseInt(j(0x145))/0x6+parseInt(j(0x146))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x77e56));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a127d;if(c){const e=c[k(0x14c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const l=a127d;return a127a[l(0x13b)]()[l(0x13a)](l(0x147))[l(0x13b)]()[l(0x13d)](a127a)[l(0x13a)](l(0x147));});a127a();import a127e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a127c(){const p=['true','search','toString','123670ATInfV','constructor','template/template.css','findAppDirectory','/imports/ui/','dir','pages','.html','.js','5115822GWxDFG','11167219CNRaoD','(((.+)+)+)+$','.css','template/template.html','ramda','component','apply','page','withHook','api','baseDir','fileName','878060SNoFFx','route','injectAtBeginningOfFile','setTemplate','hasOwnProperty','relative','test','react','hook/hook.js','css','hooks','injectTemplateModule','template','/imports/ui/pages','maka\x20g:page\x20todos/todos-item','layout','features','1204824ZcMCOJ','import\x20\x27./','create','1999626TobRZW','layouts','2057805TnSVcI','fsi','withHooks','string','Updating\x20npm\x20packages\x20...','component/component.js','installNpmPackage','none','html','checkNpmPackage','store','className','ssr','pathFromProject','\x27;\x0a','resourceName','client','root','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','engines','processAndRunGenerator','withValue','warn','getMakaProjectConfig','pathFromApp','.app-tests.js','components'];a127c=function(){return p;};return a127c();}import a127f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a127m(0x165)]({'name':a127m(0x14d),'aliases':aliases,'usage':a127m(0x130),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a127m(0x150),'values':[a127m(0x15c),a127m(0x138),a127m(0x142),a127m(0x167)]},{'name':a127m(0x14e),'boolFlag':!![]}],'examples':[a127m(0x160)]},async function(a,b){const n=a127m,c=b['baseDir']?n(0x140)+b[n(0x150)]:n(0x15f),d=this[n(0x169)][n(0x13f)](),e=this['fsi'][n(0x136)]({'pathParts':[c,b[n(0x141)],paramCase(b['resourceName']),paramCase(b[n(0x12d)])]}),f=this[n(0x169)][n(0x135)]();let g='';return await this[n(0x169)][n(0x133)](f,async()=>{const o=n;typeof f[o(0x15e)]['html']==='string'&&(f[o(0x15e)][o(0x126)]=f['template'][o(0x126)]===o(0x139)?!![]:![],this[o(0x169)][o(0x155)]('html',f[o(0x15e)]['html']));typeof f[o(0x15e)][o(0x158)]===o(0x16b)&&(f[o(0x15e)][o(0x158)]=f[o(0x15e)][o(0x158)]===o(0x139)?!![]:![],this[o(0x169)][o(0x155)]('test',f['template'][o(0x158)]));typeof f[o(0x15e)]['css']===o(0x16b)&&(f[o(0x15e)]['css']=f['template'][o(0x15b)]===o(0x139)?!![]:![],this[o(0x169)]['setTemplate'](o(0x15b),f[o(0x15e)]['css']));typeof f[o(0x15e)]['js']===o(0x16b)&&(f[o(0x15e)]['js']=f[o(0x15e)]['js']===o(0x139)?!![]:![],this[o(0x169)]['setTemplate']('js',f['template']['js']));!f[o(0x162)]&&(f['features']={});!b[o(0x12f)]&&!this[o(0x169)][o(0x127)](o(0x14a))&&(Log[o(0x134)](o(0x16c)),this[o(0x169)][o(0x16e)](o(0x14a),{'cwd':d}));const h={'name':pascalCase(b[o(0x12d)]),'myPath':a127e[o(0x157)](this['fsi'][o(0x12b)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[o(0x12d)]),'camelCaseName':camelCase(b[o(0x12d)]),'fileName':paramCase(b[o(0x12d)]),'graphql':f[o(0x131)]['graphql'],'features':f[o(0x162)],'client':f[o(0x131)][o(0x12e)],'api':f[o(0x131)][o(0x14f)],'ssr':f[o(0x131)][o(0x12a)],'isStore':b[o(0x156)](o(0x128)),'isComponent':b[o(0x156)](o(0x14b)),'isLayout':b['hasOwnProperty'](o(0x161)),'withTranslations':f[o(0x162)]['withTranslations'],'test':f[o(0x131)][o(0x158)],'theme':f[o(0x131)]['theme']};f[o(0x15e)][o(0x126)]&&await this[o(0x169)][o(0x15e)]({'srcPath':o(0x149),'destPath':e+o(0x143),'context':h,'config':f});f[o(0x162)]?.[o(0x16a)]||b[o(0x14e)]?await this['fsi'][o(0x15e)]({'srcPath':o(0x15a),'destPath':e+o(0x144),'framework':o(0x159),'context':h,'config':f}):await this[o(0x169)][o(0x15e)]({'srcPath':o(0x16d),'destPath':e+o(0x144),'framework':o(0x159),'context':h,'config':f});f[o(0x131)][o(0x158)]!==o(0x16f)&&await this['fsi'][o(0x15e)]({'srcPath':'test/test.js','destPath':e+o(0x137),'framework':o(0x159),'context':h,'config':f});f[o(0x15e)][o(0x15b)]&&await this[o(0x169)][o(0x15e)]({'srcPath':o(0x13e),'destPath':e+o(0x148),'context':Object['assign']({},h,{'className':paramCase(b[o(0x12d)])}),'config':f});f[o(0x131)][o(0x12e)]!==o(0x159)&&f[o(0x131)][o(0x12e)]!=='vanilla'?(f['template']['css']&&await this[o(0x169)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0x131)]['js'],'content':o(0x164)+h[o(0x151)]+'.'+f[o(0x131)]['html']+o(0x12c)+o(0x164)+h[o(0x151)]+'.'+f[o(0x131)]['css']+'\x27;'}),!f[o(0x15e)][o(0x15b)]&&await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0x131)]['js'],'content':o(0x164)+h[o(0x151)]+'.'+f[o(0x131)]['html']+'\x27;'})):f[o(0x15e)][o(0x15b)]&&await this[o(0x169)][o(0x154)]({'filePath':e+'.'+f[o(0x131)]['js'],'content':o(0x164)+h[o(0x151)]+'.'+f[o(0x131)][o(0x15b)]+'\x27;'});const i=b[o(0x141)]?'/'+b['dir']+'/':'/';g=''+c+i+h['fileName']+'/'+h[o(0x151)],await this['fsi'][o(0x15d)](h[o(0x129)],f,g),!b[o(0x12f)]&&await a127f[o(0x132)](o(0x153),[i+b['resourceName']],b);}),g+'.'+f[n(0x131)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a128o=a128d;function a128c(){const r=['468181KlRdKQ','force','249xLBGbk','/imports/ui/','baseDir','12QxLtVS','error','engines','toString','server','template','952068cAJePy','12aisKQd','resourceName','imports','110HkodFD','6488wyKEpB','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','maka\x20g:publish\x20todos','130527kTMefW','search','17580277uECFIK','import\x20\x27./publications','create','fsi','dir','publish','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','(((.+)+)+)+$','6DxARue','565045thkPax','getMakaProjectConfig','exit','pathFromApp','/imports/startup/server/publications','globalPublish','3730144sYvxRK'];a128c=function(){return r;};return a128c();}(function(a,b){const m=a128d,c=a();while(!![]){try{const d=-parseInt(m(0x1ad))/0x1+-parseInt(m(0x1b2))/0x2*(parseInt(m(0x1a4))/0x3)+parseInt(m(0x1ae))/0x4*(parseInt(m(0x1c0))/0x5)+-parseInt(m(0x1bf))/0x6*(-parseInt(m(0x1a2))/0x7)+-parseInt(m(0x1a1))/0x8+-parseInt(m(0x1b5))/0x9*(-parseInt(m(0x1b1))/0xa)+-parseInt(m(0x1b7))/0xb*(-parseInt(m(0x1a7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x7439e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const n=a128d;return a128a[n(0x1aa)]()[n(0x1b6)](n(0x1be))['toString']()['constructor'](a128a)[n(0x1b6)](n(0x1be));});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x19f;let f=c[d];return f;},a128d(a,b);}a128a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a128o(0x1b9)]({'name':a128o(0x1bc),'aliases':['p'],'usage':a128o(0x1bd),'shortDesc':a128o(0x1b3),'validOpts':[a128o(0x1a3),'globalPublish'],'examples':[a128o(0x1b4)]},async function(a,b){const p=a128o;try{const c=b[p(0x1a3)]||![],d=b['baseDir']?p(0x1a5)+b[p(0x1a6)]:p(0x19f),f=this[p(0x1ba)][p(0x1c1)](),g=paramCase(b[p(0x1af)]),h=this[p(0x1ba)][p(0x1c3)]({'pathParts':[d,b[p(0x1bb)],'',g]});let i='js';f[p(0x1a9)]['js']==='tsx'&&(i='ts');await this[p(0x1ba)]['withValue'](f,async()=>{const q=p,l={'name':b[q(0x1af)],'collection':pascalCase(b[q(0x1af)]),'noRename':!![],'globalPublish':b[q(0x1a0)]};await this[q(0x1ba)][q(0x1ac)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[p(0x1ba)][p(0x1c3)]({'pathParts':[p(0x1b0),'startup',p(0x1ab),b['appPathPrefix'],'index.'+f[p(0x1a9)]['js']]}),k=b[p(0x1bb)]?'/'+b[p(0x1bb)]+'/':'/';return await this[p(0x1ba)]['injectAtEndOfFile']({'filePath':j,'content':p(0x1b8)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[p(0x1a8)](l),process[p(0x1c2)](0x1);}});
|