@maka/maka-cli 4.12.4 → 4.12.6
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bundle/obf/package.json +1 -1
- package/bundle/obf/src/command.js +1 -1
- package/bundle/obf/src/commands/_index.js +1 -1
- package/bundle/obf/src/commands/ai.js +1 -1
- package/bundle/obf/src/commands/aws/_index.js +1 -1
- package/bundle/obf/src/commands/aws/aws.command.js +1 -1
- package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/build/_index.js +1 -1
- package/bundle/obf/src/commands/build/build.js +1 -1
- package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/create.js +1 -1
- package/bundle/obf/src/commands/debug.js +1 -1
- package/bundle/obf/src/commands/deploy/_index.js +1 -1
- package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
- package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/_index.js +1 -1
- package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/play.command.js +1 -1
- package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
- package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/generate.js +1 -1
- package/bundle/obf/src/commands/get/_index.js +1 -1
- package/bundle/obf/src/commands/get/get.command.js +1 -1
- package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/help.js +1 -1
- package/bundle/obf/src/commands/install.js +1 -1
- package/bundle/obf/src/commands/jsdoc.js +1 -1
- package/bundle/obf/src/commands/lint.js +1 -1
- package/bundle/obf/src/commands/login.js +1 -1
- package/bundle/obf/src/commands/logout.js +1 -1
- package/bundle/obf/src/commands/logs.js +1 -1
- package/bundle/obf/src/commands/maka.cmd.js +1 -1
- package/bundle/obf/src/commands/murder.js +1 -1
- package/bundle/obf/src/commands/patreon.js +1 -1
- package/bundle/obf/src/commands/profile.js +1 -1
- package/bundle/obf/src/commands/proxy.js +1 -1
- package/bundle/obf/src/commands/reconfig.js +1 -1
- package/bundle/obf/src/commands/register.js +1 -1
- package/bundle/obf/src/commands/run/_index.js +1 -1
- package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/run/run.command.js +1 -1
- package/bundle/obf/src/commands/set/_index.js +1 -1
- package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
- package/bundle/obf/src/commands/set/set.command.js +1 -1
- package/bundle/obf/src/commands/ssh.js +1 -1
- package/bundle/obf/src/commands/ssl.js +1 -1
- package/bundle/obf/src/commands/test.js +1 -1
- package/bundle/obf/src/commands/undo.js +1 -1
- package/bundle/obf/src/commands/version.js +1 -1
- package/bundle/obf/src/error.js +1 -1
- package/bundle/obf/src/exec.js +1 -1
- package/bundle/obf/src/generator.js +1 -1
- package/bundle/obf/src/generators/_index.js +1 -1
- package/bundle/obf/src/generators/api.js +1 -1
- package/bundle/obf/src/generators/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
|
-
function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-
|
|
1
|
+
const a116r=a116d;function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x73;let f=c[d];return f;},a116d(a,b);}(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0x95))/0x1+-parseInt(o(0x77))/0x2+parseInt(o(0x8c))/0x3*(-parseInt(o(0xb2))/0x4)+-parseInt(o(0x8e))/0x5+-parseInt(o(0x96))/0x6+parseInt(o(0x81))/0x7+parseInt(o(0x92))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xcff3c));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x7d)]()[q(0xaa)](q(0x7b))[q(0x7d)]()['constructor'](a116a)[q(0xaa)]('(((.+)+)+)+$');});a116a();import{Generator}from'../../../generator.js';function a116c(){const u=['kit/auth/service/meteor-auth-service.js','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','/imports/startup/lib','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','meteor/accounts-base','alanning:roles','search','kit:auth:provider','withValue','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','fsi','startup','meteor','\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','76HgatzQ','pathFromApp','/imports/startup/client/authentication-service','injectImport','return\x20\x5c(','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','meteor/meteor','checkMeteorPackage','authentication-provider','meteor/maka:react-tracker','3023342TLRWtb','useTracker','template','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','(((.+)+)+)+$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','toString','getMakaProjectConfig','const\x20authenticateToken','const\x20authenticateUser','10442866bbpqjR','imports','\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','true','react','AuthService','const\x20resetPasswordWithToken','Meteor.publish','ssr','Accounts','/imports/startup/client','207579FCyQNP','authentication-service','3172105zrsbKz','processAndRunGenerator','Meteor.startup','\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','28935664FVZLdX','injectIntoFile','export\x20const\x20AuthProvider','529045lzvIrN','1603320jCFJyE','const\x20sendForgotPasswordEmail','Meteor','force','findProjectDirectory','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-service','exit','apply','injectIntoCodeBlock','engines','create'];a116c=function(){return u;};return a116c();}import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116r(0xa1)]({'name':a116r(0xb0),'aliases':['m'],'usage':a116r(0xa3),'shortDesc':a116r(0xad),'validOpts':[a116r(0x99)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a116r(0xa4)},async function(a,b){const s=a116r;try{const c=b[s(0x99)]||![];await this[s(0xae)][s(0x74)](['accounts-password',s(0xa9)],{'shouldInstall':!![]});const d=this[s(0xae)][s(0x9a)](),f=this[s(0xae)][s(0x7e)](),g=f[s(0xa0)][s(0x89)]===s(0x84);await a116f[s(0x8f)](s(0xab),[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x8f)]('publish',['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0xa5):s(0x8b),j=this['fsi'][s(0xb3)]({'pathParts':[i,'','',s(0x8d)]});await this['fsi'][s(0xac)](f,async()=>{const t=s;await this['fsi'][t(0x79)]({'srcPath':t(0xa2),'destPath':j+'.js','framework':t(0x85),'context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi'][s(0xb3)]({'pathParts':[i,'','',s(0x75)]}),l=f[s(0xa0)]['js'];await this[s(0xae)]['injectImport']({'filePath':k+'.'+l,'importName':s(0x86),'modulePath':g?s(0x9c):s(0xb4),'isNamedExport':![]}),await this[s(0xae)][s(0x9f)]({'filePath':k+'.'+l,'content':s(0x83),'begin':s(0x80),'replace':!![]}),await this['fsi'][s(0x9f)]({'filePath':k+'.'+l,'content':s(0xa6),'begin':s(0x7f),'replace':!![]}),await this[s(0xae)][s(0x9f)]({'filePath':k+'.'+l,'content':s(0x7a),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0xae)][s(0x9f)]({'filePath':k+'.'+l,'content':s(0xa7),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0xae)][s(0x9f)]({'filePath':k+'.'+l,'content':s(0x9b),'begin':s(0x97),'replace':!![]}),await this['fsi'][s(0x9f)]({'filePath':k+'.'+l,'content':s(0x7c),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0xae)][s(0x9f)]({'filePath':k+'.'+l,'content':s(0xb7),'begin':s(0x87),'replace':!![]});g&&(await this[s(0xae)][s(0xb5)]({'filePath':k+'.'+l,'importName':s(0x78),'modulePath':s(0x76),'isNamedExport':!![]}),await this[s(0xae)][s(0x93)]({'filePath':k+'.'+l,'content':'\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','begin':s(0x94),'end':s(0xb6)}));await this[s(0xae)]['injectImport']({'filePath':h,'importName':s(0x98),'modulePath':s(0x73),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0xae)][s(0x9f)]({'filePath':h,'content':s(0x91),'begin':s(0x88),'replace':!![]});const m=this[s(0xae)][s(0xb3)]({'pathParts':[s(0x82),s(0xaf),'server','index']});await this[s(0xae)][s(0xb5)]({'filePath':m+'.'+l,'importName':s(0x8a),'modulePath':s(0xa8),'isNamedExport':!![]}),await this[s(0xae)][s(0x9f)]({'filePath':m+'.'+l,'content':s(0xb1),'begin':s(0x90),'replace':!![]});}catch(n){Log['error'](n),process[s(0x9d)](0x1);}},async function(){},a116e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function a117c(){const A=['
|
|
1
|
+
function a117c(){const A=['9yoVwht','34974HHUPsA','<Routes\x20history={history}/>','/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','create','toString','exit','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','authentication-provider','appName','constructor','engines','</AuthProvider>','/imports/startup/client/index','(((.+)+)+)+$','252787bAVVOd','pathFromApp','injectImport','const\x20Routes','injectAroundString','/imports/startup/lib','3360mVtqbP','\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','function\x20Routes','13439432DtljqW','search','18366444vOfddA','7bavioV','/imports/startup/lib/authentication-provider','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','AuthProvider','<AuthProvider>','<Routes\x20history={browserHistory}/>','getMakaProjectConfig','apply','true','template','withValue','react','force','fsi','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','1194yDWxVR','split','489460CHVTaF','12902010RZmWxp','AuthContext','bright','10wOYcIA','6145gCyNWE','/imports/startup/client/authentication-provider'];a117c=function(){return A;};return a117c();}const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=parseInt(u(0x1f5))/0x1*(parseInt(u(0x1e2))/0x2)+parseInt(u(0x1e5))/0x3*(-parseInt(u(0x1de))/0x4)+parseInt(u(0x1e3))/0x5*(-parseInt(u(0x1dc))/0x6)+-parseInt(u(0x1cd))/0x7*(-parseInt(u(0x1ca))/0x8)+parseInt(u(0x1e6))/0x9*(parseInt(u(0x1c7))/0xa)+-parseInt(u(0x1df))/0xb+-parseInt(u(0x1cc))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xe422f));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x1d4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0x1eb)]()[w(0x1cb)](w(0x1f4))[w(0x1eb)]()[w(0x1f0)](a117a)['search'](w(0x1f4));});a117a();import{Generator}from'../../../generator.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a117d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117x(0x1ea)]({'name':'provider','aliases':['p'],'usage':a117x(0x1cf),'shortDesc':a117x(0x1ed),'validOpts':[a117x(0x1d9)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a117x(0x1c8)},async function(a,b){const y=a117x;try{const c=b[y(0x1d9)]||![];Log[y(0x1e1)](y(0x1db));const d=this[y(0x1da)][y(0x1d3)](),f=d[y(0x1f1)]['ssr']===y(0x1d5),g={'name':headerCase(d[y(0x1ef)])['replaceAll']('-','\x20')},h=f?y(0x1c6):y(0x1e8),i=this[y(0x1da)]['pathFromApp']({'pathParts':[h,'','',y(0x1ee)]});await this[y(0x1da)][y(0x1d7)](d,async()=>{const z=y;await this[z(0x1da)][z(0x1d6)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+'.js','framework':z(0x1d8),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1f1)]['js'],k=h+'/routes',l=k[y(0x1dd)]('/'),m=this[y(0x1da)][y(0x1f6)]({'pathParts':l});await this['fsi'][y(0x1f7)]({'filePath':m+'.'+j,'importName':y(0x1e0),'modulePath':f?y(0x1ce):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0x1f7)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x1d8),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1da)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x1e9),'begin':[y(0x1c4),y(0x1c9)],'replace':!![]});const n=y(0x1f3),o=n[y(0x1dd)]('/'),p=this[y(0x1da)][y(0x1f6)]({'pathParts':o});await this[y(0x1da)]['injectImport']({'filePath':p+'.'+j,'importName':y(0x1d0),'modulePath':f?y(0x1ce):y(0x1e4),'isNamedExport':!![]}),await this['fsi'][y(0x1c5)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1f2),'targetString':y(0x1d2),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0x1dd)]('/'),s=this[y(0x1da)]['pathFromApp']({'pathParts':r});await this[y(0x1da)][y(0x1f7)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1da)][y(0x1c5)]({'filePath':s+'.'+j,'aboveContent':y(0x1d1),'belowContent':y(0x1f2),'targetString':y(0x1e7),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0x1ec)](0x1);}},async function(){},a117e);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1df))/0x1*(parseInt(f(0x1e4))/0x2)+parseInt(f(0x1e5))/0x3+parseInt(f(0x1e9))/0x4*(parseInt(f(0x1e8))/0x5)+parseInt(f(0x1e0))/0x6*(-parseInt(f(0x1ea))/0x7)+parseInt(f(0x1db))/0x8+-parseInt(f(0x1e7))/0x9+parseInt(f(0x1e3))/0xa*(parseInt(f(0x1dd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x88a5c));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0x1e6)](h(0x1e2))[h(0x1e1)]()[h(0x1dc)](a118a)[h(0x1e6)](h(0x1e2));});a118a();import'./esri.generator.js';import'./map.esri.gen.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1db;var f=c[d];return f;},a118d(a,b);}function a118c(){var i=['30926ALVqPE','186zpiaPp','toString','(((.+)+)+)+$','1515460OCCYMk','42wAbPEr','489954xygQxU','search','9758853Ykkjnq','50XIvpGZ','66908PTNkHE','216349xYYxol','2065552dVlXRi','constructor','99UrquCn','apply'];a118c=function(){return i;};return a118c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(
|
|
1
|
+
const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x138))/0x1*(parseInt(f(0x13f))/0x2)+-parseInt(f(0x13b))/0x3*(-parseInt(f(0x136))/0x4)+-parseInt(f(0x135))/0x5*(parseInt(f(0x139))/0x6)+-parseInt(f(0x133))/0x7+parseInt(f(0x141))/0x8*(-parseInt(f(0x143))/0x9)+-parseInt(f(0x146))/0xa+parseInt(f(0x149))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xe49d7));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a['toString']()[h(0x137)](h(0x145))[h(0x13c)]()[h(0x142)](a119a)[h(0x137)](h(0x145));});function a119c(){const k=['426546ggINKY','/foo','27zUHQnp','toString','apply','esri','10fsxVmb','/foo/bar','3784208rgzAfm','constructor','9zFoKAQ','maka\x20g:kit:e','(((.+)+)+)+$','6506320DeFmVT','\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','Esri\x20Kit\x20generated\x20successfully','25793922htPHkC','5912172nbhtnq','create','80ECDtfT','503060yBdFjb','search','113066OHToPj'];a119c=function(){return k;};return a119c();}a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x133;let f=c[d];return f;},a119d(a,b);}const EsriGen=Generator[a119i(0x134)]({'name':a119i(0x13e),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a119i(0x144)],'description':a119i(0x147)},async function(){const j=a119i;return{'success':!![],'message':j(0x148),'details':{'filesCreated':[j(0x140)],'filesUpdated':[j(0x13a)]}};},async function(){},a119e);export default EsriGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a120r=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x6a;let f=c[d];return f;},a120d(a,b);}(function(a,b){const p=a120d,c=a();while(!![]){try{const d=parseInt(p(0x7e))/0x1*(parseInt(p(0x9d))/0x2)+parseInt(p(0x6e))/0x3*(-parseInt(p(0x8e))/0x4)+-parseInt(p(0x7b))/0x5+-parseInt(p(0x9a))/0x6+-parseInt(p(0x84))/0x7+parseInt(p(0x7c))/0x8+parseInt(p(0x77))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xa86da));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const q=a120d;return a120a[q(0x7a)]()[q(0x72)]('(((.+)+)+)+$')['toString']()[q(0x87)](a120a)[q(0x72)](q(0x8c));});a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';import a120f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120r(0x70)]({'name':a120r(0x74),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a120r(0x71),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120r(0x86)],'ssr':SsrEngines['FALSE']},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const s=a120r;try{Log[s(0x7f)](s(0x8b));const c=s(0x95);await this[s(0x76)][s(0x99)]([s(0x6d),s(0x92)],{'shouldInstall':!![]});const d=this[s(0x76)][s(0x97)](),f=this['fsi'][s(0x6c)](),g=f[s(0x85)][s(0x8f)]===s(0x82),h=await a120f['processAndRunGenerator'](s(0x90),[s(0x74)],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x6a)])[s(0x98)]('-','\x20'),'componentName':pascalCase(c)},j=b[s(0x83)]?s(0x75)+b[s(0x83)]:s(0x6b),k=this[s(0x76)][s(0x78)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[s(0x76)][s(0x9b)](f,async()=>{const t=s;await this[t(0x76)][t(0x8d)]({'srcPath':t(0x93)+c+t(0x80),'destPath':k+t(0x80),'framework':t(0x81),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0x7d)]+'/'+c+'/'+c;await this[s(0x76)][s(0x6f)](c,f,l);const m=h[s(0x9c)]('/'),n=this[s(0x76)][s(0x78)]({'pathParts':m});await this[s(0x76)][s(0x94)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x89):s(0x88),'isNamedExport':!![]}),await this[s(0x76)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x79),'begin':[s(0x96),s(0x96)],'end':[s(0x8a)],'replace':!![]});}catch(o){Log[s(0x73)](o),process[s(0x91)](0x1);}},async function(){},a120e);function a120c(){const u=['fsi','4782762YHbVnq','pathFromApp','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','toString','6609140aUymaY','9562696wmBTuO','dir','7LNyFsl','bright','.js','react','true','baseDir','2291415ztIBhR','engines','REACT','constructor','/imports/startup/client/templates','/imports/startup/lib/templates','</div>','Generating\x20a\x20map\x20component','(((.+)+)+)+$','template','3076WBTyoB','ssr','page','exit','esri-loader','kit/esri/map/','injectImport','basic-map','<div\x20id=\x22map\x22>','findProjectDirectory','replaceAll','checkNpmPackage','167970YNKEXn','withValue','split','308618UocPwL','appName','/imports/ui/hooks','getMakaProjectConfig','@esri/react-arcgis','1716XMQvBc','injectTemplateModule','create','Generate\x20an\x20Esri\x20map\x20component','search','error','map','/imports/ui/'];a120c=function(){return u;};return a120c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a121h=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0x18a))/0x1+-parseInt(f(0x17d))/0x2+-parseInt(f(0x17c))/0x3*(-parseInt(f(0x189))/0x4)+-parseInt(f(0x186))/0x5+parseInt(f(0x182))/0x6*(parseInt(f(0x184))/0x7)+parseInt(f(0x181))/0x8*(-parseInt(f(0x187))/0x9)+parseInt(f(0x17a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x9006c));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 g=a121d;return a121a[g(0x183)]()[g(0x18b)](g(0x17e))['toString']()['constructor'](a121a)['search'](g(0x17e));});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x179;let f=c[d];return f;},a121d(a,b);}function a121c(){const i=['Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20{generate,\x20g}:{kit}\x20<name>','136ljJAaQ','552kChFmm','toString','63980bcuHOs','kit','4015570RyptVn','457533huzGdT','maka\x20g:k','9764GoERWC','30257HAPmVJ','search','maka\x20g:kit','18995460HtJXAc','create','3JmDwpT','1031698LxJrcX','(((.+)+)+)+$'];a121c=function(){return i;};return a121c();}a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121h(0x17b)]({'name':a121h(0x185),'aliases':['k'],'usage':a121h(0x180),'shortDesc':a121h(0x17f),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121h(0x179),a121h(0x188)]},async function(){});export default KitGen;
|
|
@@ -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(0xad))/0x1*(-parseInt(f(0xac))/0x2)+-parseInt(f(0xa1))/0x3+-parseInt(f(0x9f))/0x4+parseInt(f(0xa5))/0x5*(parseInt(f(0xa6))/0x6)+-parseInt(f(0xa8))/0x7*(parseInt(f(0xa7))/0x8)+-parseInt(f(0xa4))/0x9*(-parseInt(f(0xa2))/0xa)+parseInt(f(0xab))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x388ee));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0xa9)]()[h(0xa3)](h(0xaa))['toString']()['constructor'](a122a)[h(0xa3)]('(((.+)+)+)+$');});function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x9f;var f=c[d];return f;},a122d(a,b);}a122a();function a122c(){var i=['(((.+)+)+)+$','14261313KtFIdS','1366ykcgQo','521fuvEgB','1583384hudSIv','apply','1249851cuuhqD','693640YNRmPm','search','9NjfFob','1794505dlflso','6YjmTom','173216tOgWJH','105seECLC','toString'];a122c=function(){return i;};return a122c();}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const
|
|
1
|
+
const a123I=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=parseInt(G(0x14c))/0x1+parseInt(G(0x15b))/0x2+-parseInt(G(0x15e))/0x3*(parseInt(G(0x152))/0x4)+parseInt(G(0x14b))/0x5+-parseInt(G(0x149))/0x6+-parseInt(G(0x140))/0x7*(-parseInt(G(0x16a))/0x8)+parseInt(G(0x157))/0x9*(-parseInt(G(0x162))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xa9ca3));const a123b=(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;};}()),a123a=a123b(this,function(){const H=a123d;return a123a[H(0x164)]()['search'](H(0x16d))['toString']()[H(0x15c)](a123a)[H(0x134)](H(0x16d));});a123a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123I(0x136)]({'name':a123I(0x163),'aliases':['a'],'usage':a123I(0x15a),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':['layouts',a123I(0x16b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123I(0x146)],'client':ClientEngines['REACT']},'examples':[a123I(0x142),a123I(0x15f)],'description':a123I(0x151)},async function(a,b){const J=a123I;try{const c=b[J(0x16b)]||![],d=this[J(0x159)]['findProjectDirectory'](),f=this[J(0x159)][J(0x156)](),{authType:g}=await Actions[J(0x169)]({'type':'list','name':J(0x16c),'message':J(0x13c),'choices':[{'name':J(0x141),'value':'meteor'},{'name':J(0x154),'value':J(0x143)}]}),h=J(0x137),i=J(0x14f),j=J(0x166),k=J(0x13e),l='basic-forgot-password-page',m=b[J(0x148)]?J(0x138)+b['baseDir']:J(0x13b),n=this[J(0x159)][J(0x153)]({'pathParts':[m,b[J(0x14d)],paramCase(h),paramCase(h)]}),o=this[J(0x159)][J(0x153)]({'pathParts':[m,b[J(0x14d)],paramCase(i),paramCase(i)]}),p=this['fsi'][J(0x153)]({'pathParts':[m,b[J(0x14d)],paramCase(j),paramCase(j)]}),q=this['fsi'][J(0x153)]({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[J(0x159)][J(0x153)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])[J(0x139)]('-','\x20')};await this[J(0x159)][J(0x132)](f,async()=>{const K=J;await this[K(0x159)][K(0x16e)]({'srcPath':'kit/mui/auth/login/'+h+K(0x13f),'destPath':n+K(0x13f),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x159)][K(0x16e)]({'srcPath':'kit/mui/auth/logout/'+i+K(0x13f),'destPath':o+K(0x13f),'framework':K(0x171),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x159)][K(0x16e)]({'srcPath':K(0x170)+j+K(0x13f),'destPath':p+K(0x13f),'framework':K(0x171),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x159)][K(0x16e)]({'srcPath':K(0x16f)+k+K(0x13f),'destPath':q+K(0x13f),'framework':K(0x171),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':K(0x13a)+l+K(0x13f),'destPath':r+K(0x13f),'framework':K(0x171),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0x14d)]+'/'+h+'/'+h;await this[J(0x159)][J(0x15d)](h,f,t);const u=''+m+b[J(0x14d)]+'/'+i+'/'+i;await this['fsi'][J(0x15d)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[J(0x159)][J(0x15d)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[J(0x159)]['injectTemplateModule'](k,f,w);const x=''+m+b[J(0x14d)]+'/'+l+'/'+l;await this['fsi'][J(0x15d)](l,f,x),await a123e[J(0x160)](J(0x172),['basic-login-page'],{'url':J(0x165),'cwd':d,'config':f}),await a123e['processAndRunGenerator'](J(0x172),[J(0x14f)],{'url':J(0x147),'private':!![],'cwd':d,'config':f}),await a123e['processAndRunGenerator'](J(0x172),[J(0x166)],{'url':J(0x173),'cwd':d,'config':f}),await a123e[J(0x160)](J(0x172),[J(0x13e)],{'url':J(0x155),'cwd':d,'config':f}),await a123e[J(0x160)]('route',[J(0x14a)],{'url':'forgot-password','cwd':d,'config':f});g===J(0x161)&&await a123e[J(0x160)](J(0x14e),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a123e[J(0x160)](J(0x145),[],{'force':c,'cwd':d,'config':f});const y=f[J(0x131)]['ssr']===J(0x150),z=f[J(0x131)]['js'],A=this[J(0x159)][J(0x153)]({'pathParts':t['split']('/')});await this['fsi'][J(0x135)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':J(0x144),'isNamedExport':!![]});const B=this[J(0x159)][J(0x153)]({'pathParts':u[J(0x133)]('/')});await this[J(0x159)][J(0x135)]({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':J(0x144),'isNamedExport':!![]});const C=this['fsi'][J(0x153)]({'pathParts':v[J(0x133)]('/')});await this['fsi']['injectImport']({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?J(0x13d):J(0x144),'isNamedExport':!![]});const D=this[J(0x159)]['pathFromApp']({'pathParts':w['split']('/')});await this[J(0x159)]['injectImport']({'filePath':D+'.'+z,'importName':J(0x168),'modulePath':y?J(0x13d):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[J(0x159)][J(0x153)]({'pathParts':x[J(0x133)]('/')});await this[J(0x159)][J(0x135)]({'filePath':E+'.'+z,'importName':J(0x168),'modulePath':y?J(0x13d):J(0x144),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const L=a123I;console[L(0x167)](L(0x158));},a123f);function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x131;let f=c[d];return f;},a123d(a,b);}function a123c(){const M=['390509vbxDph','Meteor\x20Accounts','maka\x20generate:kit:mui:frame','custom','/imports/startup/client/authentication-provider','kit:auth:provider','MATERIAL','logout','baseDir','3284160ZEoTpn','basic-forgot-password-page','5702895PBBwDx','131742vfvYTj','dir','kit:auth:meteor','basic-logout-page','true','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','5162876CSmBoO','pathFromApp','Custom\x20(roll\x20your\x20own)','reset-password/:token','getMakaProjectConfig','27747pFZxFm','Cleaning\x20up...','fsi','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','1660392pSPEkR','constructor','injectTemplateModule','3qlowWs','maka\x20g:k:m:f','processAndRunGenerator','meteor','2040zrepgO','auth','toString','login','basic-register-page','log','AuthContext','options','152GzeiHq','force','authType','(((.+)+)+)+$','template','kit/mui/auth/password-reset/','kit/mui/auth/register/','react','route','register','engines','withValue','split','search','injectImport','create','basic-login-page','/imports/ui/','replaceAll','kit/mui/auth/forgot-password/','/imports/ui/pages/auth','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','/imports/startup/lib/authentication-provider','basic-password-reset-page','.js'];a123c=function(){return M;};return a123c();}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(
|
|
1
|
+
const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=-parseInt(B(0x1ce))/0x1*(parseInt(B(0x1dd))/0x2)+-parseInt(B(0x1c8))/0x3+parseInt(B(0x1bf))/0x4*(-parseInt(B(0x1d6))/0x5)+parseInt(B(0x1ca))/0x6*(-parseInt(B(0x1e2))/0x7)+parseInt(B(0x1ad))/0x8+-parseInt(B(0x1eb))/0x9*(-parseInt(B(0x1d5))/0xa)+parseInt(B(0x1d4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xb5c46));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0x1a9)]()['search'](D(0x1b2))[D(0x1a9)]()[D(0x1cd)](a124a)[D(0x1c0)](D(0x1b2));});a124a();function a124c(){const I=['tests','app-tests','getFiles','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','baseDir','injectAroundString','layouts','<div\x20id=\x22','</div>','toString','appName','session','getDirectories','2599664cIjUiF','@mui/material/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>','react','injectImport','(((.+)+)+)+$','{this.props.children}','injectIntoFile','@mui/material/Container','join','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','\x20/>\x0a','injectTemplateModule','pathFromApp','dir','basic-app-bar','maka\x20generate:kit:mui:frame','REACT','994556JytnHt','search','apply','kit/mui/frame/app-bars/','-hook\x22>','/imports/ui/components','findAppDirectory','Box','{\x20props.children\x20}','1460004aMittk','{props.children}','1604982wopyuk','maka:react-tracker','test','constructor','24443Rqfpwe','tsx','withValue','Container','template','force','34179365gIrGLH','13587890NGNNMs','25llAUPu','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','jsx','fsi','engines','maka\x20g:k:m:f','/imports/startup/lib/templates','102lGCCeY','Cleaning\x20up...','true','/imports/startup/client/templates','error','28kvLAPV','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','No\x20layouts\x20selected','kit/mui/frame/footers/','checkbox','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','.js','basic-sticky-footer','getMakaProjectConfig','9WRuAwY','{\x20this.props.children\x20}'];a124c=function(){return I;};return a124c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1a9;let f=c[d];return f;},a124d(a,b);}Generator['create']({'name':'frame','aliases':['f'],'usage':a124E(0x1d7),'shortDesc':a124E(0x1e7),'validOpts':[a124E(0x1f3),a124E(0x1f1),a124E(0x1bb),a124E(0x1d3)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a124E(0x1be)]},'examples':[a124E(0x1bd),a124E(0x1db)],'description':a124E(0x1f0)},async function(a,b){const F=a124E;try{const c=b['force']||![],d=F(0x1bc),f='basic-drawer',g=F(0x1e9),h=this[F(0x1d9)][F(0x1ea)](),i=h[F(0x1da)]['ssr']===F(0x1df);await this[F(0x1d9)]['checkMeteorPackage']([F(0x1ab),F(0x1cb)],{'shouldInstall':!![]});const j=this[F(0x1d9)][F(0x1c5)](),k=a124e[F(0x1b6)](j,'imports','ui','layouts'),l=this[F(0x1d9)][F(0x1ac)](k),m=await Actions['options']({'type':F(0x1e6),'name':'layouts','message':F(0x1e3),'choices':l});if(m['layouts']['length']===0x0){Log[F(0x1e1)](F(0x1e4));return;}const n=b['baseDir']?'/imports/ui/'+b[F(0x1f1)]:F(0x1c4),o=this[F(0x1d9)][F(0x1ba)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0x1d9)][F(0x1ba)]({'pathParts':[n,b[F(0x1bb)],paramCase(f),paramCase(f)]}),q=this[F(0x1d9)][F(0x1ba)]({'pathParts':[n,b[F(0x1bb)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1aa)])['replaceAll']('-','\x20')};await this['fsi'][F(0x1d0)](h,async()=>{const G=F;await this['fsi'][G(0x1d2)]({'srcPath':G(0x1c2)+d+G(0x1e8),'destPath':o+G(0x1e8),'framework':G(0x1b0),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1d9)][G(0x1d2)]({'srcPath':'kit/mui/frame/drawers/'+f+G(0x1e8),'destPath':p+G(0x1e8),'framework':G(0x1b0),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1d9)][G(0x1d2)]({'srcPath':G(0x1e5)+g+G(0x1e8),'destPath':q+G(0x1e8),'framework':G(0x1b0),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x1bb)]+'/'+d+'/'+d;await this[F(0x1d9)][F(0x1b9)](d,h,s);const t=''+n+b[F(0x1bb)]+'/'+f+'/'+f;await this[F(0x1d9)][F(0x1b9)](f,h,t);const u=''+n+b[F(0x1bb)]+'/'+g+'/'+g;await this[F(0x1d9)][F(0x1b9)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1d9)][F(0x1ef)](a124e['join'](k,w),{'extensions':[F(0x1d8),F(0x1cf)],'omit':[F(0x1ee),F(0x1ed),F(0x1cc)]});for(const y of x){const z=a124e[F(0x1b6)](k,w,y);await this['fsi']['injectImport']({'filePath':z,'importName':F(0x1c6),'modulePath':F(0x1ae),'isNamedExport':![]}),await this[F(0x1d9)][F(0x1b1)]({'filePath':z,'importName':F(0x1d1),'modulePath':F(0x1b5),'isNamedExport':![]}),await this[F(0x1d9)]['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1dc):F(0x1e0),'isNamedExport':!![]}),await this[F(0x1d9)][F(0x1b4)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x1b8),'begin':[F(0x1f4)+w+'\x22>',F(0x1f4)+w+F(0x1c3)],'end':[F(0x1b3),F(0x1ec),F(0x1c9),'{\x20props.children\x20}']}),await this['fsi'][F(0x1b1)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x1dc):F(0x1e0),'isNamedExport':!![]}),await this[F(0x1d9)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0x1b8),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x1f4)+w+F(0x1c3)],'end':[F(0x1b3),F(0x1ec),F(0x1c9),F(0x1c7)]}),await this[F(0x1d9)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0x1b8),'begin':[F(0x1b3),F(0x1ec),F(0x1c9),F(0x1c7)],'end':[F(0x1f5)]}),await this['fsi'][F(0x1b1)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x1d9)][F(0x1f2)]({'filePath':z,'aboveContent':F(0x1af),'belowContent':F(0x1b7),'targetString':[F(0x1b3),F(0x1ec),F(0x1c9),F(0x1c7)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1e1)](A);}},async function(){const H=a124E;console['log'](H(0x1de));},a124f);
|
|
@@ -1 +1 @@
|
|
|
1
|
-
function
|
|
1
|
+
const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=parseInt(g(0x1d8))/0x1*(parseInt(g(0x1c7))/0x2)+parseInt(g(0x1cd))/0x3*(-parseInt(g(0x1ca))/0x4)+parseInt(g(0x1c9))/0x5+parseInt(g(0x1cc))/0x6*(parseInt(g(0x1c8))/0x7)+parseInt(g(0x1d3))/0x8*(parseInt(g(0x1da))/0x9)+-parseInt(g(0x1dc))/0xa*(-parseInt(g(0x1e0))/0xb)+-parseInt(g(0x1e4))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xe659d));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x1d4)]()[i(0x1e5)](i(0x1cf))[i(0x1d4)]()[i(0x1e9)](a125a)[i(0x1e5)](i(0x1cf));});a125a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a125d(a,b);}function a125c(){const l=['1njthLZ','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','99RSppeW','kitChoices','1642790lsdQlh','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','No\x20MUI\x20kits\x20selected.\x20Exiting.','length','77NOSJgF','frame','processAndRunGenerator','Header,\x20Footer,\x20and\x20Drawer','42874848uzppkP','search','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','options','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','constructor','checkbox','apply','kit:mui:auth','fsi','3666044qZfvrt','2121UYBYGS','677110Wpsuju','1076rsvnjy','Material-UI\x20Kit','30204xoLvUf','7905JWLHSt','\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','(((.+)+)+)+$','mui','findProjectDirectory','notice','422936SesJXf','toString','maka\x20g:kit:m','kit:mui:frame','auth'];a125c=function(){return l;};return a125c();}import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator['create']({'name':a125j(0x1d0),'aliases':['m'],'usage':a125j(0x1dd),'noNeedResource':!![],'shortDesc':a125j(0x1cb),'validOpts':[''],'isPro':!![],'examples':[a125j(0x1d5)]},async function(){const k=a125j;Log['info'](k(0x1d9)),Log[k(0x1d2)](k(0x1ce));const {kitChoices:a}=await Actions[k(0x1e7)]({'type':k(0x1ea),'name':k(0x1db),'message':k(0x1e6),'choices':[{'name':k(0x1e3),'value':k(0x1e1)},{'name':k(0x1e8),'value':'auth'}]}),b=this[k(0x1c6)][k(0x1d1)](),c=this[k(0x1c6)]['getMakaProjectConfig']();a['includes'](k(0x1e1))&&await a125e[k(0x1e2)](k(0x1d6),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x1d7))&&await a125e[k(0x1e2)](k(0x1c5),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1df)]===0x0){Log['info'](k(0x1de));return;}},async function(){},a125f);export default MuiGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a126o=a126d;
|
|
1
|
+
const a126o=a126d;function a126c(){const r=['fileName','maka\x20g:l\x20web/safari','resourceName','test','string','client','1199433Qtgdov','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','import\x20\x27./','includes','/imports/ui/layouts','withValue','(((.+)+)+)+$','Scaffolding\x20for\x20a\x20React\x20Layout.','6FUnVmW','layout','getMakaProjectConfig','2138775ASCSqS','injectTemplateModule','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','engines','withTranslations','5847480KBtfWp','1060032muBgQm','css','test/test.js','ramda','none','pathFromProject','hook/hook.js','ssr','warn','apply','dir','react','component/component.js','true','pathFromApp','assign','relative','592330KyUghx','features','4494616irNTXv','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','injectAtBeginningOfFile','7TZoSQv','fsi','4dCNBDs','search','withHooks','withHook','className','checkNpmPackage','toString','.css','setTemplate','template','theme','graphql','.js','split','7020657zwBDgJ'];a126c=function(){return r;};return a126c();}(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x185))/0x1+-parseInt(l(0x1b2))/0x2+-parseInt(l(0x1a1))/0x3*(-parseInt(l(0x18c))/0x4)+-parseInt(l(0x1ac))/0x5*(parseInt(l(0x1a9))/0x6)+parseInt(l(0x18a))/0x7*(parseInt(l(0x187))/0x8)+-parseInt(l(0x19a))/0x9+parseInt(l(0x1b1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x61de8));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x1bb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0x192)]()[n(0x18d)]('(((.+)+)+)+$')[n(0x192)]()['constructor'](a126a)[n(0x18d)](n(0x1a7));});a126a();import a126e from'path';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x182;let f=c[d];return f;},a126d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a126o(0x1aa),'aliases':aliases,'usage':a126o(0x1ae),'shortDesc':a126o(0x1a8),'validOpts':[a126o(0x18f)],'examples':['maka\x20g:layout\x20mobile/iPhone8',a126o(0x19c)]},async function(a,b){const p=a126o,c=p(0x1a5),d=this[p(0x18b)]['findAppDirectory'](),e=this['fsi'][p(0x182)]({'pathParts':[c,b[p(0x1bc)],paramCase(b['resourceName']),paramCase(b[p(0x19d)])]}),f=this['fsi'][p(0x1ab)]();await this[p(0x18b)][p(0x1a6)](f,async()=>{const q=p;typeof f[q(0x195)]['test']===q(0x19f)&&(f['template'][q(0x19e)]=f[q(0x195)][q(0x19e)]===q(0x1bf)?!![]:![],this[q(0x18b)][q(0x194)](q(0x19e),f[q(0x195)][q(0x19e)]));typeof f[q(0x195)][q(0x1b3)]===q(0x19f)&&(f[q(0x195)][q(0x1b3)]=f[q(0x195)][q(0x1b3)]===q(0x1bf)?!![]:![],this[q(0x18b)][q(0x194)](q(0x1b3),f[q(0x195)]['css']));typeof f['template']['js']===q(0x19f)&&(f[q(0x195)]['js']=f[q(0x195)]['js']==='true'?!![]:![],this[q(0x18b)]['setTemplate']('js',f['template']['js']));!f[q(0x186)]&&(f[q(0x186)]={});const g=b['_']?b['_'][0x0][q(0x199)](':')[0x1]:![],h=b['_']&&aliases[q(0x1a4)](g);h&&!this[q(0x191)](q(0x1b5))&&(Log['warn'](q(0x1a2)),this[q(0x18b)]['installNpmPackage'](q(0x1b5),{'cwd':d}));if(h&&!this['checkNpmPackage'](q(0x1bd))){Log[q(0x1ba)](q(0x188));return;}const i={'name':pascalCase(b[q(0x19d)]),'myPath':a126e[q(0x184)](this[q(0x18b)][q(0x1b7)]({}),e),'cssCaseName':paramCase(b[q(0x19d)]),'className':pascalCase(b[q(0x19d)]),'camelCaseName':camelCase(b[q(0x19d)]),'fileName':paramCase(b[q(0x19d)]),'graphql':f[q(0x1af)][q(0x197)],'features':f[q(0x186)],'client':f[q(0x1af)][q(0x1a0)],'api':f[q(0x1af)]['api'],'ssr':f[q(0x1af)][q(0x1b9)],'test':f[q(0x1af)][q(0x19e)],'theme':f[q(0x1af)][q(0x196)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x186)][q(0x1b0)]};f['features']?.[q(0x18e)]||b[q(0x18f)]?await this[q(0x18b)][q(0x195)]({'srcPath':q(0x1b8),'destPath':e+q(0x198),'framework':q(0x1bd),'context':i,'config':f}):await this[q(0x18b)][q(0x195)]({'srcPath':q(0x1be),'destPath':e+'.js','framework':q(0x1bd),'context':i,'config':f});f[q(0x1af)][q(0x19e)]!==q(0x1b6)&&await this['fsi'][q(0x195)]({'srcPath':q(0x1b4),'destPath':e+'.app-tests.js','framework':q(0x1bd),'context':i,'config':f});f[q(0x195)][q(0x1b3)]&&(await this[q(0x18b)][q(0x195)]({'srcPath':'template/template.css','destPath':e+q(0x193),'context':Object[q(0x183)]({},i,{'className':paramCase(b[q(0x19d)])}),'config':f}),await this[q(0x18b)][q(0x189)]({'filePath':e+'.'+f['engines']['js'],'content':q(0x1a3)+i['fileName']+'.'+f[q(0x1af)][q(0x1b3)]+'\x27;'}));const j=b[q(0x1bc)]?'/'+b[q(0x1bc)]+'/':'/',k=''+c+j+i[q(0x19b)]+'/'+i[q(0x19b)];await this[q(0x18b)][q(0x1ad)](i[q(0x190)],f,k);});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a127i=a127d;
|
|
1
|
+
const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=-parseInt(f(0x85))/0x1*(-parseInt(f(0x92))/0x2)+parseInt(f(0x89))/0x3*(-parseInt(f(0x9b))/0x4)+-parseInt(f(0x9a))/0x5*(parseInt(f(0x90))/0x6)+-parseInt(f(0x97))/0x7+parseInt(f(0x8f))/0x8*(parseInt(f(0x91))/0x9)+-parseInt(f(0x95))/0xa*(-parseInt(f(0x8e))/0xb)+-parseInt(f(0x94))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x5eeda));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x8b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a['toString']()[h(0x86)](h(0x98))[h(0x8d)]()[h(0x96)](a127a)[h(0x86)]('(((.+)+)+)+$');});a127a();function a127c(){const j=['27760hyquRg','constructor','2399383NREloJ','(((.+)+)+)+$','maka\x20g:template\x20todos/todo_item','10FPgzVu','4dZtebM','maka\x20generate:scaffold\x20todos','76079cXqtJH','search','maka\x20g:route\x20todos/edit','maka\x20g:package\x20package:name','451281Owswrz','maka\x20g:api\x20trucks','apply','Scaffold\x20various\x20parts\x20of\x20your\x20application','toString','2882XkQdoe','65168TGTgmi','352512uxcZQW','684QuyFRs','10lPLSTS','maka\x20{generate,\x20g}:<generator>\x20<name>','8727324TobfGQ'];a127c=function(){return j;};return a127c();}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a127i(0x93),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x8c),'examples':[a127i(0x9c),'maka\x20g:scaffold\x20todos',a127i(0x99),a127i(0x88),a127i(0x87),a127i(0x8a),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x85;let f=c[d];return f;},a127d(a,b);}export default MakaGen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d
|
|
1
|
+
const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x1e9))/0x1*(parseInt(j(0x1e4))/0x2)+-parseInt(j(0x1f8))/0x3+-parseInt(j(0x1f4))/0x4*(-parseInt(j(0x1e0))/0x5)+parseInt(j(0x1f6))/0x6+parseInt(j(0x1e7))/0x7*(parseInt(j(0x1ee))/0x8)+-parseInt(j(0x1ed))/0x9+parseInt(j(0x1fa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x5e9b4));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x1e3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x1e6)]()[l(0x1eb)]('(((.+)+)+)+$')[l(0x1e6)]()[l(0x1fc)](a128a)[l(0x1eb)](l(0x1df));});a128a();import{Generator}from'../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1db;let f=c[d];return f;},a128d(a,b);}function a128c(){const p=['resourceName','appPathPrefix','ddp-rate-limiter','dir','error','(((.+)+)+)+$','392260xqQhXN','getMakaProjectConfig','startup','apply','69942Gmtkld','method/method.js','toString','224287xKlbUB','injectAtEndOfFile','15aYHMde','maka\x20g:method\x20todos','search','methods','2268720RlfuCx','24TFMzbH','pathFromApp','index.','template','maka\x20{generate,\x20g}:{method,\x20m}\x20name','-rpc-method\x27;','4KXbiEQ','imports','2110848ODtwMA','withValue','1998465pkFGJz','tsx','2547950BMhTLh','create','constructor','engines','mdg:validated-method','maka:check','fsi','import\x20\x27./methods'];a128c=function(){return p;};return a128c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128m(0x1fb)]({'name':'method','aliases':['m'],'usage':a128m(0x1f2),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':[a128m(0x1ea)]},async function(a,b){const n=a128m;try{const c=this[n(0x200)][n(0x1e1)]();await this[n(0x200)][n(0x1f7)](c,async()=>{const o=n,d=paramCase(b[o(0x202)]),f={'name':b[o(0x202)],'fileName':d,'className':pascalCase(b[o(0x202)]),'camelCase':camelCase(b[o(0x202)]),'noRename':!![]};let g='js';c['engines']['js']===o(0x1f9)&&(g='ts');await this[o(0x200)]['checkMeteorPackage']([o(0x1ff),o(0x1dc),o(0x1fe)],{'shouldInstall':!![]}),await this[o(0x200)][o(0x1f1)]({'srcPath':o(0x1e5),'destPath':this[o(0x200)][o(0x1ef)]({'pathParts':[o(0x1f5),o(0x1e2),b[o(0x1db)],o(0x1ec),b[o(0x1dd)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0x1dd)]?'/'+b[o(0x1dd)]+'/':'/',i=this[o(0x200)]['pathFromApp']({'pathParts':[o(0x1f5),'startup',b[o(0x1db)],o(0x1f0)+c[o(0x1fd)]['js']]});await this[o(0x200)][o(0x1e8)]({'filePath':i,'content':o(0x201)+h+d+o(0x1f3)});});}catch(d){Log[n(0x1de)](d);}});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d
|
|
1
|
+
function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xb0;let f=c[d];return f;},a129d(a,b);}const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=parseInt(l(0xc2))/0x1*(-parseInt(l(0xd2))/0x2)+parseInt(l(0xe1))/0x3+parseInt(l(0xb6))/0x4*(-parseInt(l(0xd9))/0x5)+-parseInt(l(0xc6))/0x6+-parseInt(l(0xd7))/0x7*(parseInt(l(0xbf))/0x8)+parseInt(l(0xbd))/0x9*(-parseInt(l(0xbb))/0xa)+parseInt(l(0xd4))/0xb*(parseInt(l(0xca))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x3ea82));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0xb7)]()[n(0xbe)]('(((.+)+)+)+$')[n(0xb7)]()[n(0xb1)](a129a)[n(0xbe)](n(0xc8));});function a129c(){const r=['722769wbIjrK','theme','tests/server','constructor','engines','dir','hasOwnProperty','client','12uTFZzu','toString','package/','package','noRename','2870LiLiIo','component','15705lEjTnV','search','40WQwQBI','tests/client','pathFromProject','664yJNdVZ','/package.js','ssr','store','732552phEjOq','packages','(((.+)+)+)+$','withValue','9217896opkGXt','resourceName','package.js','graphql','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','template','/client/','pathFromApp','1352hnjcBe','lib','22BAtNmk','package/package.js','.js','310555lQlFDE','fsi','378335MdWiUb','pathFromAppWithNoReWrite','getMakaProjectConfig','features','template/template.js','apply','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','create'];a129c=function(){return r;};return a129c();}a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a129o(0xe0)]({'name':a129o(0xb9),'aliases':['p'],'usage':a129o(0xce),'shortDesc':a129o(0xdf),'validOpts':[a129o(0xb3)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a129o,c=paramCase(b[p(0xcb)]),d=this[p(0xd8)][p(0xd1)]({'pathParts':[p(0xc7),b[p(0xb3)],c]}),e=this[p(0xd8)][p(0xda)]({'pathParts':['packages',b[p(0xb3)],c,p(0xcc)]}),f=this[p(0xd8)][p(0xdb)]();await this['fsi'][p(0xc9)](f,async()=>{const q=p,g={'name':paramCase(b[q(0xcb)]),'myPath':a129e['relative'](this['fsi'][q(0xc1)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0xcb)]),'camelCaseName':camelCase(b[q(0xcb)]),'fileName':c,'client':f[q(0xb2)][q(0xb5)],'graphql':f[q(0xb2)][q(0xcd)],'ssr':f[q(0xb2)][q(0xc4)],'isComponent':b[q(0xb4)](q(0xbc)),'isLayout':b[q(0xb4)]('layout'),'isStore':b[q(0xb4)](q(0xc5)),'features':f[q(0xdc)],'noRename':!![],'theme':f[q(0xb2)][q(0xe2)]};await this[q(0xd8)][q(0xcf)]({'srcPath':q(0xd5),'destPath':e,'context':g,'config':f}),g[q(0xba)]=![];const h=d+q(0xd0)+c+q(0xd6);await this[q(0xd8)]['template']({'srcPath':q(0xdd),'destPath':h,'context':g,'config':f});const i=[q(0xd3),'server',q(0xc0),q(0xb0)];for(const j of i){const k=d+'/'+j+'/'+c+q(0xd6);await this[q(0xd8)][q(0xcf)]({'srcPath':q(0xb8)+j+q(0xc3),'destPath':k,'context':g,'config':f});}});});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a130m=a130d;function a130c(){const p=['
|
|
1
|
+
function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x6a;let f=c[d];return f;},a130d(a,b);}const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0x7b))/0x1+-parseInt(j(0x7f))/0x2*(-parseInt(j(0xb4))/0x3)+-parseInt(j(0x8b))/0x4*(parseInt(j(0x88))/0x5)+parseInt(j(0x86))/0x6+-parseInt(j(0x7a))/0x7*(parseInt(j(0xaf))/0x8)+-parseInt(j(0x9e))/0x9*(-parseInt(j(0xad))/0xa)+parseInt(j(0x6f))/0xb*(parseInt(j(0xa3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x90f25));function a130c(){const p=['maka\x20g:page\x20todos/todos-item','5115udSFyB','.app-tests.js','toString','engines','css','template/template.css','5177711LSldvt','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','apply','injectTemplateModule','true','injectAtBeginningOfFile','pages','pathFromApp','features','installNpmPackage','fileName','7ccJFTh','638520kHKvbD','relative','warn','ramda','264gujIGZ','api','none','className','react','page','client','6536424oVXWvq','route','5905pUMVzb','hasOwnProperty','/imports/ui/pages','988oBnhLe','ssr','component','search','.html','dir','(((.+)+)+)+$','root','template/template.html','test','withTranslations','processAndRunGenerator','string','resourceName','baseDir','getMakaProjectConfig','components','pathFromProject','hooks','1845KmYxpp','fsi','theme','setTemplate','layout','12eQmGMU','component/component.js','html','graphql','\x27;\x0a','vanilla','.js','withHooks','test/test.js','hook/hook.js','26770ZBGybx','.css','6480176eURHlg','template','import\x20\x27./','Generate\x20a\x20page.'];a130c=function(){return p;};return a130c();}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x71)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0x6b)]()[l(0x8e)](l(0x91))[l(0x6b)]()['constructor'](a130a)[l(0x8e)](l(0x91));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a130m(0x84),'aliases':aliases,'usage':a130m(0x70),'shortDesc':a130m(0xb2),'validOpts':[{'name':a130m(0x99),'values':[a130m(0x9d),a130m(0x9b),a130m(0x75),'layouts']},{'name':'withHook','boolFlag':!![]}],'examples':[a130m(0xb3)]},async function(a,b){const n=a130m,c=b[n(0x99)]?'/imports/ui/'+b[n(0x99)]:n(0x8a),d=this[n(0x9f)]['findAppDirectory'](),e=this[n(0x9f)][n(0x76)]({'pathParts':[c,b[n(0x90)],paramCase(b[n(0x98)]),paramCase(b[n(0x98)])]}),f=this['fsi'][n(0x9a)]();let g='';return await this[n(0x9f)]['withValue'](f,async()=>{const o=n;typeof f[o(0xb0)][o(0xa5)]==='string'&&(f['template'][o(0xa5)]=f[o(0xb0)]['html']==='true'?!![]:![],this[o(0x9f)][o(0xa1)](o(0xa5),f[o(0xb0)][o(0xa5)]));typeof f['template'][o(0x94)]===o(0x97)&&(f[o(0xb0)][o(0x94)]=f[o(0xb0)][o(0x94)]===o(0x73)?!![]:![],this[o(0x9f)][o(0xa1)](o(0x94),f[o(0xb0)][o(0x94)]));typeof f[o(0xb0)][o(0x6d)]===o(0x97)&&(f[o(0xb0)][o(0x6d)]=f['template'][o(0x6d)]===o(0x73)?!![]:![],this['fsi']['setTemplate'](o(0x6d),f[o(0xb0)]['css']));typeof f['template']['js']===o(0x97)&&(f[o(0xb0)]['js']=f[o(0xb0)]['js']===o(0x73)?!![]:![],this[o(0x9f)]['setTemplate']('js',f['template']['js']));!f[o(0x77)]&&(f[o(0x77)]={});!b[o(0x92)]&&!this[o(0x9f)]['checkNpmPackage'](o(0x7e))&&(Log[o(0x7d)]('Updating\x20npm\x20packages\x20...'),this[o(0x9f)][o(0x78)]('ramda',{'cwd':d}));const h={'name':pascalCase(b[o(0x98)]),'myPath':a130e[o(0x7c)](this['fsi'][o(0x9c)]({}),e),'cssCaseName':paramCase(b[o(0x98)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[o(0x98)]),'graphql':f[o(0x6c)][o(0xa6)],'features':f[o(0x77)],'client':f['engines'][o(0x85)],'api':f[o(0x6c)][o(0x80)],'ssr':f[o(0x6c)][o(0x8c)],'isStore':b[o(0x89)]('store'),'isComponent':b[o(0x89)](o(0x8d)),'isLayout':b['hasOwnProperty'](o(0xa2)),'withTranslations':f[o(0x77)][o(0x95)],'test':f[o(0x6c)][o(0x94)],'theme':f[o(0x6c)][o(0xa0)]};f[o(0xb0)][o(0xa5)]&&await this[o(0x9f)][o(0xb0)]({'srcPath':o(0x93),'destPath':e+o(0x8f),'context':h,'config':f});f[o(0x77)]?.[o(0xaa)]||b['withHook']?await this[o(0x9f)]['template']({'srcPath':o(0xac),'destPath':e+o(0xa9),'framework':o(0x83),'context':h,'config':f}):await this[o(0x9f)][o(0xb0)]({'srcPath':o(0xa4),'destPath':e+o(0xa9),'framework':o(0x83),'context':h,'config':f});f[o(0x6c)][o(0x94)]!==o(0x81)&&await this[o(0x9f)]['template']({'srcPath':o(0xab),'destPath':e+o(0x6a),'framework':o(0x83),'context':h,'config':f});f[o(0xb0)][o(0x6d)]&&await this[o(0x9f)][o(0xb0)]({'srcPath':o(0x6e),'destPath':e+o(0xae),'context':Object['assign']({},h,{'className':paramCase(b['resourceName'])}),'config':f});f['engines'][o(0x85)]!==o(0x83)&&f['engines'][o(0x85)]!==o(0xa8)?(f[o(0xb0)]['css']&&await this['fsi'][o(0x74)]({'filePath':e+'.'+f[o(0x6c)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+f['engines'][o(0xa5)]+o(0xa7)+o(0xb1)+h[o(0x79)]+'.'+f[o(0x6c)][o(0x6d)]+'\x27;'}),!f[o(0xb0)]['css']&&await this['fsi'][o(0x74)]({'filePath':e+'.'+f['engines']['js'],'content':o(0xb1)+h[o(0x79)]+'.'+f[o(0x6c)]['html']+'\x27;'})):f['template']['css']&&await this[o(0x9f)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0x6c)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+f[o(0x6c)][o(0x6d)]+'\x27;'});const i=b[o(0x90)]?'/'+b[o(0x90)]+'/':'/';g=''+c+i+h['fileName']+'/'+h[o(0x79)],await this[o(0x9f)][o(0x72)](h[o(0x82)],f,g),!b[o(0x92)]&&await a130f[o(0x96)](o(0x87),[i+b[o(0x98)]],b);}),g+'.'+f[n(0x6c)]['js'];});
|
|
@@ -1 +1 @@
|
|
|
1
|
-
const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(
|
|
1
|
+
const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0x1e3))/0x1+-parseInt(m(0x1e4))/0x2*(parseInt(m(0x200))/0x3)+parseInt(m(0x1dc))/0x4*(-parseInt(m(0x1ec))/0x5)+-parseInt(m(0x1ed))/0x6*(parseInt(m(0x1dd))/0x7)+parseInt(m(0x1e1))/0x8+parseInt(m(0x1f5))/0x9+parseInt(m(0x1fd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x75e1a));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x1fe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a['toString']()[o(0x1e9)]('(((.+)+)+)+$')[o(0x1f6)]()['constructor'](a131a)[o(0x1e9)]('(((.+)+)+)+$');});a131a();function a131c(){const s=['force','appPathPrefix','maka\x20g:publish\x20todos','7437736gqDxSX','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','397667NVnhjR','533714CXZQQE','/imports/ui/','index.','withValue','engines','search','globalPublish','import\x20\x27./publications','15bARhsL','60yUBnBW','resourceName','dir','publish','/imports/startup/server/publications','injectAtEndOfFile','fsi','error','3135276lBuvXH','toString','pathFromApp','server','create','startup','getMakaProjectConfig','exit','248860wpXfGu','apply','publish/publish.js','3cNQlJi','tsx','baseDir','imports','template','88300jmvQXL','619297iVQjhW'];a131c=function(){return s;};return a131c();}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1dc;let f=c[d];return f;},a131d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a131p(0x1f9)]({'name':a131p(0x1f0),'aliases':['p'],'usage':a131p(0x1e2),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':[a131p(0x1de),a131p(0x1ea)],'examples':[a131p(0x1e0)]},async function(a,b){const q=a131p;try{const c=b[q(0x1de)]||![],d=b[q(0x202)]?q(0x1e5)+b['baseDir']:q(0x1f1),f=this[q(0x1f3)][q(0x1fb)](),g=paramCase(b['resourceName']),h=this[q(0x1f3)][q(0x1f7)]({'pathParts':[d,b[q(0x1ef)],'',g]});let i='js';f[q(0x1e8)]['js']===q(0x201)&&(i='ts');await this['fsi'][q(0x1e7)](f,async()=>{const r=q,l={'name':b['resourceName'],'collection':pascalCase(b[r(0x1ee)]),'noRename':!![],'globalPublish':b[r(0x1ea)]};await this[r(0x1f3)][r(0x204)]({'srcPath':r(0x1ff),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this['fsi'][q(0x1f7)]({'pathParts':[q(0x203),q(0x1fa),q(0x1f8),b[q(0x1df)],q(0x1e6)+f[q(0x1e8)]['js']]}),k=b[q(0x1ef)]?'/'+b[q(0x1ef)]+'/':'/';return await this[q(0x1f3)][q(0x1f2)]({'filePath':j,'content':q(0x1eb)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x1f4)](l),process[q(0x1fc)](0x1);}});
|