@maka/maka-cli 4.11.0 → 4.12.0

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.
Files changed (155) hide show
  1. package/bundle/obf/package.json +2 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/profile.js +1 -0
  85. package/bundle/obf/src/commands/proxy.js +1 -1
  86. package/bundle/obf/src/commands/reconfig.js +1 -1
  87. package/bundle/obf/src/commands/register.js +1 -1
  88. package/bundle/obf/src/commands/run/_index.js +1 -1
  89. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  90. package/bundle/obf/src/commands/run/run.command.js +1 -1
  91. package/bundle/obf/src/commands/set/_index.js +1 -1
  92. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  94. package/bundle/obf/src/commands/set/set.command.js +1 -1
  95. package/bundle/obf/src/commands/ssh.js +1 -1
  96. package/bundle/obf/src/commands/ssl.js +1 -1
  97. package/bundle/obf/src/commands/test.js +1 -1
  98. package/bundle/obf/src/commands/undo.js +1 -1
  99. package/bundle/obf/src/commands/version.js +1 -1
  100. package/bundle/obf/src/error.js +1 -1
  101. package/bundle/obf/src/exec.js +1 -1
  102. package/bundle/obf/src/generator.js +1 -1
  103. package/bundle/obf/src/generators/_index.js +1 -1
  104. package/bundle/obf/src/generators/api.js +1 -1
  105. package/bundle/obf/src/generators/collection.js +1 -1
  106. package/bundle/obf/src/generators/component.js +1 -1
  107. package/bundle/obf/src/generators/config.js +1 -1
  108. package/bundle/obf/src/generators/dbc.js +1 -1
  109. package/bundle/obf/src/generators/dockerfile.js +1 -1
  110. package/bundle/obf/src/generators/hook.js +1 -1
  111. package/bundle/obf/src/generators/kits/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  113. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  114. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  116. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  117. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  118. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/kit.js +1 -1
  120. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  124. package/bundle/obf/src/generators/layout.js +1 -1
  125. package/bundle/obf/src/generators/maka.gen.js +1 -1
  126. package/bundle/obf/src/generators/methods.js +1 -1
  127. package/bundle/obf/src/generators/package.js +1 -1
  128. package/bundle/obf/src/generators/page.js +1 -1
  129. package/bundle/obf/src/generators/publish.js +1 -1
  130. package/bundle/obf/src/generators/route.js +1 -1
  131. package/bundle/obf/src/generators/service.js +1 -1
  132. package/bundle/obf/src/generators/services/_index.js +1 -1
  133. package/bundle/obf/src/generators/services/openssl.js +1 -1
  134. package/bundle/obf/src/generators/services/translation.js +1 -1
  135. package/bundle/obf/src/maka.js +1 -1
  136. package/bundle/obf/src/tool.js +1 -1
  137. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  138. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  139. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  140. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  141. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  142. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  143. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  144. package/bundle/obf/src/tools/https/https.class.js +1 -1
  145. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  146. package/bundle/obf/src/tools/log/log.class.js +1 -1
  147. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/options/options.class.js +1 -1
  149. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  150. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  151. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  153. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  154. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  155. package/package.json +2 -1
@@ -1 +1 @@
1
- const a112r=a112d;(function(a,b){const o=a112d,c=a();while(!![]){try{const d=-parseInt(o(0x1d3))/0x1+-parseInt(o(0x1f3))/0x2*(-parseInt(o(0x1ef))/0x3)+-parseInt(o(0x1c5))/0x4*(-parseInt(o(0x1e1))/0x5)+-parseInt(o(0x1e0))/0x6*(parseInt(o(0x1f1))/0x7)+-parseInt(o(0x1ba))/0x8*(parseInt(o(0x1b8))/0x9)+-parseInt(o(0x1dc))/0xa+-parseInt(o(0x1b6))/0xb*(-parseInt(o(0x1f7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x5989d));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a112d;if(c){const e=c[p(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const q=a112d;return a112a[q(0x1d4)]()['search'](q(0x1d5))[q(0x1d4)]()[q(0x1da)](a112a)[q(0x1d6)](q(0x1d5));});a112a();function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a112d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a112c(){const u=['Meteor','server','constructor','startup','3043380idDgwr','\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\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','.js','295278Dawivq','6065YuxlXz','meteor/meteor','Accounts','pathFromApp','return\x20\x5c(','checkMeteorPackage','auth/roles','authentication-provider','const\x20getUserAuthorizations','const\x20sendForgotPasswordEmail','injectImport','alanning:roles','/imports/startup/client/authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','3GNngdN','fsi','77UuQLnX','/imports/startup/lib/authentication-service','1103132kRcNoL','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','accounts-password','useTracker','900KDjZDZ','const\x20registerNewUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','react','/imports/startup/client','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','Meteor.publish','true','meteor/accounts-base','\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','create','\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','60489HKWVNd','apply','33102kyxYrA','Meteor.startup','272uiuAnN','injectIntoFile','meteor/maka:react-tracker','withValue','/imports/startup/lib','publish','const\x20authenticateUser','force','findProjectDirectory','error','getMakaProjectConfig','1800ySYiAd','engines','exit','injectIntoCodeBlock','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','meteor','index','authentication-service','AuthService','imports','const\x20resetPasswordWithToken','ssr','const\x20deauthenticateUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','172359QBhLXm','toString','(((.+)+)+)+$','search','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20'];a112c=function(){return u;};return a112c();}import a112e from'./auth.generator.js';import a112f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a112r(0x1b4)]({'name':a112r(0x1ca),'aliases':['m'],'usage':a112r(0x1c9),'shortDesc':a112r(0x1af),'validOpts':[a112r(0x1c1)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a112r(0x1b3)},async function(a,b){const s=a112r;try{const c=b[s(0x1c1)]||![];await this[s(0x1f0)][s(0x1e6)]([s(0x1f5),s(0x1ec)],{'shouldInstall':!![]});const d=this[s(0x1f0)][s(0x1c2)](),f=this[s(0x1f0)][s(0x1c4)](),g=f[s(0x1c6)][s(0x1d0)]===s(0x1b1);await a112f['processAndRunGenerator']('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a112f['processAndRunGenerator'](s(0x1bf),[s(0x1e7)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x1be):s(0x1ae),j=this[s(0x1f0)]['pathFromApp']({'pathParts':[i,'','',s(0x1cc)]});await this['fsi'][s(0x1bd)](f,async()=>{const t=s;await this[t(0x1f0)]['template']({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0x1df),'framework':t(0x1ad),'context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi'][s(0x1e4)]({'pathParts':[i,'','',s(0x1e8)]}),l=f['engines']['js'];await this[s(0x1f0)]['injectImport']({'filePath':k+'.'+l,'importName':s(0x1cd),'modulePath':g?s(0x1f2):s(0x1ed),'isNamedExport':![]}),await this[s(0x1f0)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\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','begin':s(0x1c0),'replace':!![]}),await this[s(0x1f0)][s(0x1c8)]({'filePath':k+'.'+l,'content':s(0x1dd),'begin':'const\x20authenticateToken','replace':!![]}),await this[s(0x1f0)][s(0x1c8)]({'filePath':k+'.'+l,'content':'\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','begin':s(0x1e9),'replace':!![]}),await this[s(0x1f0)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1ee),'begin':s(0x1d1),'replace':!![]}),await this[s(0x1f0)][s(0x1c8)]({'filePath':k+'.'+l,'content':s(0x1d2),'begin':s(0x1ea),'replace':!![]}),await this['fsi'][s(0x1c8)]({'filePath':k+'.'+l,'content':s(0x1ac),'begin':s(0x1ab),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1d7),'begin':s(0x1cf),'replace':!![]});g&&(await this[s(0x1f0)][s(0x1eb)]({'filePath':k+'.'+l,'importName':s(0x1f6),'modulePath':s(0x1bc),'isNamedExport':!![]}),await this['fsi'][s(0x1bb)]({'filePath':k+'.'+l,'content':s(0x1b5),'begin':'export\x20const\x20AuthProvider','end':s(0x1e5)}));await this['fsi'][s(0x1eb)]({'filePath':h,'importName':s(0x1d8),'modulePath':s(0x1e2),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x1f0)][s(0x1c8)]({'filePath':h,'content':s(0x1f4),'begin':s(0x1b0),'replace':!![]});const m=this[s(0x1f0)][s(0x1e4)]({'pathParts':[s(0x1ce),s(0x1db),s(0x1d9),s(0x1cb)]});await this['fsi'][s(0x1eb)]({'filePath':m+'.'+l,'importName':s(0x1e3),'modulePath':s(0x1b2),'isNamedExport':!![]}),await this[s(0x1f0)][s(0x1c8)]({'filePath':m+'.'+l,'content':s(0x1de),'begin':s(0x1b9),'replace':!![]});}catch(n){Log[s(0x1c3)](n),process[s(0x1c7)](0x1);}},async function(){},a112e);
1
+ const a113r=a113d;(function(a,b){const o=a113d,c=a();while(!![]){try{const d=-parseInt(o(0x169))/0x1*(-parseInt(o(0x14b))/0x2)+-parseInt(o(0x136))/0x3*(-parseInt(o(0x142))/0x4)+-parseInt(o(0x15f))/0x5*(parseInt(o(0x13b))/0x6)+parseInt(o(0x15d))/0x7+parseInt(o(0x161))/0x8+-parseInt(o(0x15b))/0x9+parseInt(o(0x135))/0xa*(-parseInt(o(0x14a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x6aa61));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a113d;if(c){const e=c[p(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const q=a113d;return a113a[q(0x160)]()[q(0x168)](q(0x143))[q(0x160)]()[q(0x157)](a113a)['search'](q(0x143));});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-0x124;let f=c[d];return f;},a113d(a,b);}import a113f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'meteor','aliases':['m'],'usage':a113r(0x14f),'shortDesc':a113r(0x130),'validOpts':[a113r(0x12b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a113r(0x15e)]},'description':a113r(0x158)},async function(a,b){const s=a113r;try{const c=b[s(0x12b)]||![];await this[s(0x12a)]['checkMeteorPackage']([s(0x127),s(0x13d)],{'shouldInstall':!![]});const d=this[s(0x12a)][s(0x164)](),f=this[s(0x12a)][s(0x153)](),g=f[s(0x129)][s(0x154)]===s(0x138);await a113f[s(0x12f)](s(0x162),[],{'force':c,'cwd':d,'config':f});const h=await a113f['processAndRunGenerator']('publish',[s(0x13a)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x144):'/imports/startup/client',j=this[s(0x12a)]['pathFromApp']({'pathParts':[i,'','',s(0x156)]});await this[s(0x12a)][s(0x12e)](f,async()=>{const t=s;await this['fsi'][t(0x167)]({'srcPath':t(0x12c),'destPath':j+'.js','framework':t(0x139),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x12a)][s(0x124)]({'pathParts':[i,'','',s(0x14e)]}),l=f[s(0x129)]['js'];await this[s(0x12a)][s(0x141)]({'filePath':k+'.'+l,'importName':s(0x134),'modulePath':g?s(0x16a):s(0x12d),'isNamedExport':![]}),await this['fsi'][s(0x159)]({'filePath':k+'.'+l,'content':s(0x137),'begin':'const\x20authenticateUser','replace':!![]}),await this['fsi'][s(0x159)]({'filePath':k+'.'+l,'content':s(0x165),'begin':s(0x13f),'replace':!![]}),await this[s(0x12a)][s(0x159)]({'filePath':k+'.'+l,'content':s(0x16b),'begin':s(0x140),'replace':!![]}),await this[s(0x12a)][s(0x159)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x128),'replace':!![]}),await this[s(0x12a)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x151),'begin':s(0x145),'replace':!![]}),await this[s(0x12a)][s(0x159)]({'filePath':k+'.'+l,'content':s(0x148),'begin':'const\x20registerNewUser','replace':!![]}),await this['fsi'][s(0x159)]({'filePath':k+'.'+l,'content':s(0x131),'begin':s(0x152),'replace':!![]});g&&(await this['fsi'][s(0x141)]({'filePath':k+'.'+l,'importName':s(0x150),'modulePath':s(0x13e),'isNamedExport':!![]}),await this[s(0x12a)]['injectIntoFile']({'filePath':k+'.'+l,'content':s(0x125),'begin':'export\x20const\x20AuthProvider','end':s(0x146)}));await this[s(0x12a)]['injectImport']({'filePath':h,'importName':s(0x133),'modulePath':s(0x155),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x12a)][s(0x159)]({'filePath':h,'content':s(0x166),'begin':s(0x149),'replace':!![]});const m=this[s(0x12a)][s(0x124)]({'pathParts':[s(0x163),s(0x126),s(0x15a),s(0x16c)]});await this['fsi']['injectImport']({'filePath':m+'.'+l,'importName':s(0x14d),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this[s(0x12a)][s(0x159)]({'filePath':m+'.'+l,'content':s(0x15c),'begin':s(0x14c),'replace':!![]});}catch(n){Log[s(0x13c)](n),process[s(0x132)](0x1);}},async function(){},a113e);function a113c(){const u=['/imports/startup/lib','const\x20sendForgotPasswordEmail','return\x20\x5c(','apply','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Meteor.publish','605gPHjbX','482YpekHC','Meteor.startup','Accounts','authentication-provider','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','useTracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','const\x20resetPasswordWithToken','getMakaProjectConfig','ssr','meteor/meteor','authentication-service','constructor','\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','injectIntoCodeBlock','server','2476890MZfVMq','\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','4115797eRFySk','REACT','4272845nfrlfu','toString','5195320ipHPVr','kit:auth:provider','imports','findProjectDirectory','\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\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','template','search','2521gvuzfC','/imports/startup/lib/authentication-service','\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','index','pathFromApp','\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','startup','accounts-password','const\x20deauthenticateUser','engines','fsi','force','kit/auth/service/meteor-auth-service.js','/imports/startup/client/authentication-service','withValue','processAndRunGenerator','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','exit','Meteor','AuthService','142910FCSPho','1523010yiLCex','\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','auth/roles','6zSTeTB','error','alanning:roles','meteor/maka:react-tracker','const\x20authenticateToken','const\x20getUserAuthorizations','injectImport','4iIiQjs','(((.+)+)+)+$'];a113c=function(){return u;};return a113c();}
@@ -1 +1 @@
1
- const a113x=a113d;(function(a,b){const u=a113d,c=a();while(!![]){try{const d=parseInt(u(0x139))/0x1+parseInt(u(0x13f))/0x2+parseInt(u(0x148))/0x3*(-parseInt(u(0x136))/0x4)+-parseInt(u(0x12c))/0x5*(parseInt(u(0x155))/0x6)+parseInt(u(0x14c))/0x7+parseInt(u(0x13c))/0x8+-parseInt(u(0x150))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x7777b));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a113d;if(c){const e=c[v(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const w=a113d;return a113a[w(0x132)]()[w(0x126)](w(0x13a))[w(0x132)]()[w(0x140)](a113a)['search'](w(0x13a));});a113a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x125;let f=c[d];return f;},a113d(a,b);}import a113e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a113c(){const A=['/routes','</AuthProvider>','3249603AeqxcS','injectIntoCodeBlock','template','/imports/startup/client/index','/imports/startup/lib','601842LlLdpT','provider','search','injectImport','fsi','AuthProvider','create','engines','15nMPRVm','bright','appName','AuthContext','pathFromApp','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','toString','injectAroundString','\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','apply','2845516tsNSCP','authentication-provider','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','439496YDrScb','(((.+)+)+)+$','force','6733072lhcAVq','<Routes\x20history={browserHistory}/>','/imports/startup/client/authentication-provider','592660XTRtjr','constructor','<AuthProvider>','kit/auth/provider/authentication-provider.js','const\x20Routes','function\x20Routes','split','\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','react','3hPnZLI','useContext','/imports/startup/lib/authentication-provider','replaceAll','1996722QkAlhx','withValue'];a113c=function(){return A;};return a113c();}Generator[a113x(0x12a)]({'name':a113x(0x125),'aliases':['p'],'usage':a113x(0x131),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a113x(0x146)},async function(a,b){const y=a113x;try{const c=b[y(0x13b)]||![];Log[y(0x12d)](y(0x138));const d=this[y(0x128)]['getMakaProjectConfig'](),f=d[y(0x12b)]['ssr']==='true',g={'name':headerCase(d[y(0x12e)])[y(0x14b)]('-','\x20')},h=f?y(0x154):'/imports/startup/client',i=this[y(0x128)][y(0x130)]({'pathParts':[h,'','',y(0x137)]});await this[y(0x128)][y(0x14d)](d,async()=>{const z=y;await this[z(0x128)][z(0x152)]({'srcPath':z(0x142),'destPath':i+'.js','framework':z(0x147),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x12b)]['js'],k=h+y(0x14e),l=k[y(0x145)]('/'),m=this[y(0x128)][y(0x130)]({'pathParts':l});await this[y(0x128)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x12f),'modulePath':f?y(0x14a):y(0x13e),'isNamedExport':!![]}),await this[y(0x128)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x149),'modulePath':y(0x147),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x128)][y(0x151)]({'filePath':m+'.'+j,'content':y(0x134),'begin':[y(0x143),y(0x144)],'replace':!![]});const n=y(0x153),o=n['split']('/'),p=this[y(0x128)][y(0x130)]({'pathParts':o});await this[y(0x128)][y(0x127)]({'filePath':p+'.'+j,'importName':y(0x129),'modulePath':f?y(0x14a):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x128)][y(0x133)]({'filePath':p+'.'+j,'aboveContent':y(0x141),'belowContent':'</AuthProvider>','targetString':y(0x13d),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0x145)]('/'),s=this[y(0x128)][y(0x130)]({'pathParts':r});await this[y(0x128)][y(0x127)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x14a):y(0x13e),'isNamedExport':!![]}),await this[y(0x128)][y(0x133)]({'filePath':s+'.'+j,'aboveContent':y(0x141),'belowContent':y(0x14f),'targetString':'<Routes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a113e);
1
+ const a114x=a114d;(function(a,b){const u=a114d,c=a();while(!![]){try{const d=parseInt(u(0x1d7))/0x1*(-parseInt(u(0x1f8))/0x2)+parseInt(u(0x1e3))/0x3*(parseInt(u(0x1f5))/0x4)+parseInt(u(0x1ec))/0x5+parseInt(u(0x1e4))/0x6*(parseInt(u(0x1ce))/0x7)+-parseInt(u(0x1e9))/0x8+parseInt(u(0x1f1))/0x9+-parseInt(u(0x1de))/0xa*(parseInt(u(0x1e6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xd7f30));const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a114d;if(c){const e=c[v(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const w=a114d;return a114a[w(0x1d3)]()[w(0x1ef)](w(0x1f7))[w(0x1d3)]()[w(0x1da)](a114a)['search'](w(0x1f7));});function a114c(){const A=['/imports/startup/client/authentication-provider','/imports/startup/lib/authentication-provider','/routes','11271351nXnHBT','apply','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','provider','react','toString','<Routes\x20history={browserHistory}/>','<Routes\x20history={history}/>','</AuthProvider>','193857KSgGkM','exit','\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','constructor','create','/imports/startup/server/index','pathFromApp','920mOiUPE','const\x20Routes','useContext','replaceAll','engines','20073ClLPHa','6EXJpvu','fsi','421157RgFUNe','AuthProvider','/imports/startup/client/index','2173880yxGTHa','split','/imports/startup/client','5850240kkDSuY','injectIntoCodeBlock','<AuthProvider>','search','function\x20Routes','12566133SBVIIN','injectImport','injectAroundString','getMakaProjectConfig','532SinfLm','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','(((.+)+)+)+$','4qYunZg','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','force'];a114c=function(){return A;};return a114c();}a114a();function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a114d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a114e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a114x(0x1db)]({'name':a114x(0x1d1),'aliases':['p'],'usage':a114x(0x1d0),'shortDesc':a114x(0x1f6),'validOpts':[a114x(0x1fa)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'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(0x1fa)]||![];Log['bright'](y(0x1f9));const d=this[y(0x1e5)][y(0x1f4)](),f=d['engines']['ssr']==='true',g={'name':headerCase(d['appName'])[y(0x1e1)]('-','\x20')},h=f?'/imports/startup/lib':y(0x1eb),i=this['fsi']['pathFromApp']({'pathParts':[h,'','','authentication-provider']});await this['fsi']['withValue'](d,async()=>{const z=y;await this[z(0x1e5)]['template']({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+'.js','framework':z(0x1d2),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1e2)]['js'],k=h+y(0x1fd),l=k['split']('/'),m=this[y(0x1e5)]['pathFromApp']({'pathParts':l});await this[y(0x1e5)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x1fc):y(0x1fb),'isNamedExport':!![]}),await this[y(0x1e5)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x1e0),'modulePath':y(0x1d2),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][y(0x1ed)]({'filePath':m+'.'+j,'content':y(0x1d9),'begin':[y(0x1df),y(0x1f0)],'replace':!![]});const n=y(0x1e8),o=n[y(0x1ea)]('/'),p=this[y(0x1e5)][y(0x1dd)]({'pathParts':o});await this[y(0x1e5)]['injectImport']({'filePath':p+'.'+j,'importName':y(0x1e7),'modulePath':f?y(0x1fc):y(0x1fb),'isNamedExport':!![]}),await this[y(0x1e5)][y(0x1f3)]({'filePath':p+'.'+j,'aboveContent':y(0x1ee),'belowContent':y(0x1d6),'targetString':y(0x1d4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1dc),r=q[y(0x1ea)]('/'),s=this[y(0x1e5)]['pathFromApp']({'pathParts':r});await this[y(0x1e5)][y(0x1f2)]({'filePath':s+'.'+j,'importName':y(0x1e7),'modulePath':f?y(0x1fc):y(0x1fb),'isNamedExport':!![]}),await this[y(0x1e5)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0x1ee),'belowContent':y(0x1d6),'targetString':y(0x1d5),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0x1d8)](0x1);}},async function(){},a114e);
@@ -1 +1 @@
1
- (function(a,b){var f=a114d,c=a();while(!![]){try{var d=parseInt(f(0x7c))/0x1*(parseInt(f(0x77))/0x2)+parseInt(f(0x74))/0x3*(parseInt(f(0x78))/0x4)+-parseInt(f(0x7b))/0x5+parseInt(f(0x7f))/0x6+-parseInt(f(0x72))/0x7+parseInt(f(0x73))/0x8*(parseInt(f(0x7a))/0x9)+-parseInt(f(0x7d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0xae1b7));function a114d(a,b){var c=a114c();return a114d=function(d,e){d=d-0x71;var f=c[d];return f;},a114d(a,b);}function a114c(){var i=['8UipZzx','3eGolGI','(((.+)+)+)+$','constructor','244DDRjeK','1158708omOHuq','apply','12391146EwfShW','5590720cRptMV','2972CPtpMY','1144380vZYFAX','search','7592934zgUvRM','toString','9441733dnRtib'];a114c=function(){return i;};return a114c();}var a114b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a114d;if(c){var e=c[g(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){var h=a114d;return a114a['toString']()[h(0x7e)](h(0x75))[h(0x71)]()[h(0x76)](a114a)[h(0x7e)](h(0x75));});a114a();import'./esri.generator.js';import'./map.esri.gen.js';
1
+ function a115d(a,b){var c=a115c();return a115d=function(d,e){d=d-0x8e;var f=c[d];return f;},a115d(a,b);}(function(a,b){var f=a115d,c=a();while(!![]){try{var d=-parseInt(f(0x99))/0x1*(-parseInt(f(0x94))/0x2)+-parseInt(f(0x90))/0x3+-parseInt(f(0x91))/0x4+parseInt(f(0x9b))/0x5+-parseInt(f(0x93))/0x6*(-parseInt(f(0x9a))/0x7)+-parseInt(f(0x96))/0x8*(parseInt(f(0x98))/0x9)+-parseInt(f(0x9c))/0xa*(parseInt(f(0x8f))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xb0c3e));var a115b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a115d;if(c){var e=c[g(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){var h=a115d;return a115a[h(0x95)]()[h(0x97)]('(((.+)+)+)+$')[h(0x95)]()[h(0x8e)](a115a)[h(0x97)](h(0x9d));});function a115c(){var i=['10xvLXFj','(((.+)+)+)+$','constructor','10848629HEwnRk','5550mfkjhE','902544xauSXy','apply','24wdVszh','2799634qcejQL','toString','9790440GfFRmj','search','9zmceTn','1iSsqHY','2218020elqnJe','2471515WrwPRG'];a115c=function(){return i;};return a115c();}a115a();import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a115i=a115d;(function(a,b){const f=a115d,c=a();while(!![]){try{const d=-parseInt(f(0x11a))/0x1+-parseInt(f(0x11f))/0x2+parseInt(f(0x120))/0x3*(parseInt(f(0x126))/0x4)+parseInt(f(0x125))/0x5+parseInt(f(0x12a))/0x6+parseInt(f(0x11d))/0x7*(-parseInt(f(0x127))/0x8)+parseInt(f(0x121))/0x9*(-parseInt(f(0x11b))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x49810));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a115d;if(c){const e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const h=a115d;return a115a['toString']()[h(0x11e)]('(((.+)+)+)+$')[h(0x12b)]()[h(0x122)](a115a)['search']('(((.+)+)+)+$');});a115a();import{Generator}from'../../../generator.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x11a;let f=c[d];return f;},a115d(a,b);}import a115e from'../kit.js';const EsriGen=Generator[a115i(0x12c)]({'name':a115i(0x11c),'aliases':['e'],'usage':a115i(0x124),'noNeedResource':!![],'shortDesc':a115i(0x123),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a115i(0x12d)},async function(){const j=a115i;return{'success':!![],'message':j(0x129),'details':{'filesCreated':['/foo/bar'],'filesUpdated':['/foo']}};},async function(){},a115e);function a115c(){const k=['155628vWGifd','12230CjOmMc','esri','469mhhvly','search','147320jykEqy','3BMpLFD','5409OKMwqQ','constructor','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','2984695JpDbnP','1793152cLUGVz','7960QdvJVb','apply','Esri\x20Kit\x20generated\x20successfully','1720926vetrRv','toString','create','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'];a115c=function(){return k;};return a115c();}export default EsriGen;
1
+ function a116c(){const k=['esri','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','create','toString','(((.+)+)+)+$','constructor','search','16vapvmn','/foo/bar','7842180MQEogW','356694mNyEVD','21817020VhehuA','1367437DbOwbU','/foo','5146960RwWrKK','4kRRTQq','6158529JfxOJn','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','7seBfxl','apply','4692837VngOWj'];a116c=function(){return k;};return a116c();}const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0x205))/0x1+-parseInt(f(0x203))/0x2+-parseInt(f(0x1f8))/0x3*(parseInt(f(0x1f3))/0x4)+-parseInt(f(0x207))/0x5+-parseInt(f(0x202))/0x6*(parseInt(f(0x1f6))/0x7)+parseInt(f(0x200))/0x8*(parseInt(f(0x1f4))/0x9)+parseInt(f(0x204))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xccbfd));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x1f7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0x1fc)]()[h(0x1ff)](h(0x1fd))[h(0x1fc)]()[h(0x1fe)](a116a)['search'](h(0x1fd));});a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1f3;let f=c[d];return f;},a116d(a,b);}const EsriGen=Generator[a116i(0x1fb)]({'name':a116i(0x1f9),'aliases':['e'],'usage':a116i(0x1f5),'noNeedResource':!![],'shortDesc':a116i(0x1fa),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a116i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x201)],'filesUpdated':[j(0x206)]}};},async function(){},a116e);export default EsriGen;
@@ -1 +1 @@
1
- const a116r=a116d;(function(a,b){const p=a116d,c=a();while(!![]){try{const d=-parseInt(p(0x187))/0x1*(-parseInt(p(0x19a))/0x2)+parseInt(p(0x199))/0x3*(parseInt(p(0x1a8))/0x4)+parseInt(p(0x18b))/0x5+parseInt(p(0x18c))/0x6+parseInt(p(0x1a4))/0x7*(parseInt(p(0x17f))/0x8)+-parseInt(p(0x19f))/0x9*(-parseInt(p(0x193))/0xa)+-parseInt(p(0x18a))/0xb*(parseInt(p(0x1aa))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x8228b));const a116b=(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;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x1a5)]()['search'](q(0x1a7))[q(0x1a5)]()[q(0x1ad)](a116a)[q(0x183)](q(0x1a7));});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x17e;let f=c[d];return f;},a116d(a,b);}import a116e from'./esri.generator.js';import a116f from'../../../generators/maka.gen.js';function a116c(){const u=['/imports/startup/client/templates','create','injectImport','Generate\x20an\x20Esri\x20map\x20component','15SSwiUE','82kGJjWo','/imports/ui/','pathFromApp','react','ssr','1186137TyLbwy','checkNpmPackage','FALSE','engines','withValue','311024FWiXmH','toString','dir','(((.+)+)+)+$','490580xgVAXM','injectIntoFile','1356LYjJmG','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','replaceAll','constructor','esri-loader','32KMAbxm','</div>','page','template','search','.js','@esri/react-arcgis','baseDir','13492OaUUKl','fsi','basic-map','230395vnXAGH','2118175SZDyPn','5211420NCSKsN','/imports/ui/hooks','<div\x20id=\x22map\x22>','/imports/startup/lib/templates','Generating\x20a\x20map\x20component','map','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','20jaUDBj','bright'];a116c=function(){return u;};return a116c();}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116r(0x196)]({'name':'map','aliases':['m'],'usage':a116r(0x1ab),'shortDesc':a116r(0x198),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a116r(0x1a1)]},'description':a116r(0x192)},async function(a,b){const s=a116r;try{Log[s(0x194)](s(0x190));const c=s(0x189);await this[s(0x188)][s(0x1a0)]([s(0x185),s(0x17e)],{'shouldInstall':!![]});const d=this['fsi']['findProjectDirectory'](),f=this['fsi']['getMakaProjectConfig'](),g=f[s(0x1a2)][s(0x19e)]==='true',h=await a116f['processAndRunGenerator'](s(0x181),[s(0x191)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[s(0x1ac)]('-','\x20'),'componentName':pascalCase(c)},j=b[s(0x186)]?s(0x19b)+b[s(0x186)]:s(0x18d),k=this[s(0x188)][s(0x19c)]({'pathParts':[j,b[s(0x1a6)],paramCase(c),paramCase(c)]});await this[s(0x188)][s(0x1a3)](f,async()=>{const t=s;await this[t(0x188)][t(0x182)]({'srcPath':'kit/esri/map/'+c+t(0x184),'destPath':k+t(0x184),'framework':t(0x19d),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[s(0x1a6)]+'/'+c+'/'+c;await this[s(0x188)]['injectTemplateModule'](c,f,l);const m=h['split']('/'),n=this[s(0x188)][s(0x19c)]({'pathParts':m});await this[s(0x188)][s(0x197)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?s(0x18f):s(0x195),'isNamedExport':!![]}),await this[s(0x188)][s(0x1a9)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[s(0x18e),s(0x18e)],'end':[s(0x180)],'replace':!![]});}catch(o){Log['error'](o),process['exit'](0x1);}},async function(){},a116e);
1
+ function a117c(){const v=['FALSE','bright','28PrEcEs','replaceAll','findProjectDirectory','/imports/ui/','constructor','764343yoopXU','react','create','1554763PyYtvo','.js','10642296IawMwq','7799235xhlMKk','esri-loader','</div>','<div\x20id=\x22map\x22>','(((.+)+)+)+$','page','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','5742230rpPggh','1802964brdrRh','ssr','kit/esri/map/','dir','checkNpmPackage','basic-map','template','961730dNXzKN','Generate\x20an\x20Esri\x20map\x20component','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','@esri/react-arcgis','/imports/ui/hooks','6ZoFtra','exit','/imports/startup/client/templates','getMakaProjectConfig','withValue','9UVkioP','fsi','appName','REACT','true','error','baseDir','injectIntoFile','Generating\x20a\x20map\x20component','\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','injectImport','pathFromApp','apply','map','toString'];a117c=function(){return v;};return a117c();}const a117s=a117d;(function(a,b){const p=a117d,c=a();while(!![]){try{const d=-parseInt(p(0x1eb))/0x1+-parseInt(p(0x1e4))/0x2+parseInt(p(0x20c))/0x3*(parseInt(p(0x207))/0x4)+parseInt(p(0x212))/0x5+parseInt(p(0x1f1))/0x6*(parseInt(p(0x20f))/0x7)+parseInt(p(0x211))/0x8*(-parseInt(p(0x1f6))/0x9)+parseInt(p(0x1e3))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xe6fe3));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a117d;if(c){const e=c[q(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const r=a117d;return a117a[r(0x204)]()[r(0x1ed)](r(0x1e0))[r(0x204)]()[r(0x20b)](a117a)[r(0x1ed)](r(0x1e0));});a117a();function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1de;let f=c[d];return f;},a117d(a,b);}import{Generator}from'../../../generator.js';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(0x20e)]({'name':a117s(0x203),'aliases':['m'],'usage':a117s(0x1ee),'shortDesc':a117s(0x1ec),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117s(0x1f9)],'ssr':SsrEngines[a117s(0x205)]},'description':a117s(0x1ff)},async function(a,b){const t=a117s;try{Log[t(0x206)](t(0x1fe));const c=t(0x1e9);await this[t(0x1f7)][t(0x1e8)]([t(0x1ef),t(0x213)],{'shouldInstall':!![]});const d=this[t(0x1f7)][t(0x209)](),f=this[t(0x1f7)][t(0x1f4)](),g=f['engines'][t(0x1e5)]===t(0x1fa),h=await a117f['processAndRunGenerator'](t(0x1e1),[t(0x203)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x1f8)])[t(0x208)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1fc)]?t(0x20a)+b[t(0x1fc)]:t(0x1f0),k=this[t(0x1f7)]['pathFromApp']({'pathParts':[j,b[t(0x1e7)],paramCase(c),paramCase(c)]});await this[t(0x1f7)][t(0x1f5)](f,async()=>{const u=t;await this[u(0x1f7)][u(0x1ea)]({'srcPath':u(0x1e6)+c+u(0x210),'destPath':k+u(0x210),'framework':u(0x20d),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1e7)]+'/'+c+'/'+c;await this[t(0x1f7)]['injectTemplateModule'](c,f,l);const m=h['split']('/'),n=this['fsi'][t(0x201)]({'pathParts':m});await this[t(0x1f7)][t(0x200)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0x1f3),'isNamedExport':!![]}),await this['fsi'][t(0x1fd)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x1e2),'begin':[t(0x1df),t(0x1df)],'end':[t(0x1de)],'replace':!![]});}catch(o){Log[t(0x1fb)](o),process[t(0x1f2)](0x1);}},async function(){},a117e);
@@ -1 +1 @@
1
- const a117i=a117d;(function(a,b){const f=a117d,c=a();while(!![]){try{const d=-parseInt(f(0x199))/0x1+parseInt(f(0x196))/0x2*(parseInt(f(0x1a4))/0x3)+parseInt(f(0x19b))/0x4*(parseInt(f(0x1a5))/0x5)+-parseInt(f(0x197))/0x6+-parseInt(f(0x19e))/0x7*(parseInt(f(0x1a6))/0x8)+-parseInt(f(0x19f))/0x9*(-parseInt(f(0x19d))/0xa)+parseInt(f(0x195))/0xb*(parseInt(f(0x19a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xaee84));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a117d;if(c){const e=c[g(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const h=a117d;return a117a['toString']()[h(0x1a1)](h(0x1a0))['toString']()['constructor'](a117a)['search'](h(0x1a0));});a117a();function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x195;let f=c[d];return f;},a117d(a,b);}function a117c(){const j=['250RrdiUB','9145416MvpyHC','65718dsExBF','(((.+)+)+)+$','search','maka\x20g:kit','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','27GmvKgR','1060lOUGZy','8ouLmeI','1994399ULUdGG','235916kSrXye','3655026oJbNym','kit','1128485PHGOMQ','144SnUQNE','6428soTPYq','apply'];a117c=function(){return j;};return a117c();}import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a117i(0x198),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a117i(0x1a3),'minArgLength':0x1,'isPro':![],'validOpts':[],'noNeedResource':!![],'examples':[a117i(0x1a2),'maka\x20g:k']},async function(){});export default KitGen;
1
+ function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xef;let f=c[d];return f;},a118d(a,b);}const a118i=a118d;function a118c(){const j=['search','3HHGXzs','3403840nlhhnC','3023948LIbosV','13470327BbKLAe','18QShdHe','maka\x20g:kit','create','9086096ngKGKg','apply','1584450tUxsEH','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','12075xqGgcl','maka\x20g:k','kit','constructor','1007059PMjPmb','(((.+)+)+)+$'];a118c=function(){return j;};return a118c();}(function(a,b){const f=a118d,c=a();while(!![]){try{const d=parseInt(f(0xef))/0x1+parseInt(f(0xfb))/0x2+parseInt(f(0xf2))/0x3*(parseInt(f(0xf4))/0x4)+parseInt(f(0xf3))/0x5+-parseInt(f(0xf6))/0x6*(-parseInt(f(0xfd))/0x7)+-parseInt(f(0xf9))/0x8+-parseInt(f(0xf5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x949ed));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0xfa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a['toString']()['search'](h(0xf0))['toString']()[h(0x100)](a118a)[h(0xf1)](h(0xf0));});a118a();import{Generator}from'../../generator.js';const KitGen=Generator[a118i(0xf8)]({'name':a118i(0xff),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a118i(0xfc),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a118i(0xf7),a118i(0xfe)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x11c))/0x1*(-parseInt(f(0x112))/0x2)+parseInt(f(0x119))/0x3*(-parseInt(f(0x113))/0x4)+-parseInt(f(0x114))/0x5+parseInt(f(0x110))/0x6+-parseInt(f(0x117))/0x7+parseInt(f(0x116))/0x8*(parseInt(f(0x11a))/0x9)+parseInt(f(0x118))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x904c3));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x11b)]()[h(0x111)]('(((.+)+)+)+$')['toString']()[h(0x115)](a118a)['search']('(((.+)+)+)+$');});function a118c(){var i=['1EonhvT','apply','1091112spxiLO','search','1647746MuvlIV','4euZEpe','5750415fRZbtj','constructor','112dJNHVS','975380hJTUux','3354650RjJDPX','1573584vCgcfP','683874kSxbXo','toString'];a118c=function(){return i;};return a118c();}a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x110;var f=c[d];return f;},a118d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0xcc))/0x1*(parseInt(f(0xd2))/0x2)+-parseInt(f(0xc3))/0x3*(parseInt(f(0xcf))/0x4)+-parseInt(f(0xc6))/0x5+parseInt(f(0xc7))/0x6+-parseInt(f(0xd0))/0x7*(parseInt(f(0xcb))/0x8)+parseInt(f(0xc8))/0x9+-parseInt(f(0xd1))/0xa*(-parseInt(f(0xc4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xc0327));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0xc3;var f=c[d];return f;},a119d(a,b);}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a['toString']()[h(0xcd)]('(((.+)+)+)+$')[h(0xce)]()[h(0xca)](a119a)[h(0xcd)](h(0xc9));});a119a();function a119c(){var i=['(((.+)+)+)+$','constructor','8aTTpwW','250095kURDdf','search','toString','1484108bRKySd','10123309UtsiAn','14290CRjiAS','12BFibqo','3qNROqY','3553USWAEP','apply','7160765NUYcPb','8219370xMHuJO','6341166WciZvU'];a119c=function(){return i;};return a119c();}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a119J=a119d;(function(a,b){const G=a119d,c=a();while(!![]){try{const d=-parseInt(G(0x1d0))/0x1*(-parseInt(G(0x1bf))/0x2)+-parseInt(G(0x1b9))/0x3*(-parseInt(G(0x1f3))/0x4)+parseInt(G(0x1d5))/0x5*(parseInt(G(0x1d9))/0x6)+parseInt(G(0x1d2))/0x7*(parseInt(G(0x1e0))/0x8)+-parseInt(G(0x1d7))/0x9*(parseInt(G(0x1e9))/0xa)+-parseInt(G(0x1e2))/0xb*(-parseInt(G(0x1f7))/0xc)+-parseInt(G(0x1f1))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xb4ab5));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a119d;if(c){const e=c[H(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const I=a119d;return a119a[I(0x1ba)]()['search'](I(0x1c8))[I(0x1ba)]()[I(0x1c7)](a119a)['search'](I(0x1c8));});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a119e from'../../../generators/maka.gen.js';import a119f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';function a119c(){const N=['appName','basic-login-page','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','template','20864753dCeFMy','replaceAll','1876wGqLjQ','kit/mui/auth/register/','basic-register-page','injectImport','103404fFiAvw','basic-logout-page','reset-password/:token','/imports/ui/','660leKKZR','toString','Meteor\x20Accounts','Cleaning\x20up...','injectTemplateModule','split','4224dzxjVL','kit/mui/auth/logout/','react','AuthContext','error','/imports/startup/client/authentication-provider','route','list','constructor','(((.+)+)+)+$','/imports/startup/lib/authentication-provider','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','engines','options','REACT','logout','processAndRunGenerator','222NzsKLv','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','21vlQzeV','kit:auth:meteor','kit/mui/auth/password-reset/','72145DZuTmS','kit:auth:provider','153doUFdb','apply','84xyFIOD','create','force','forgot-password','fsi','true','baseDir','1499056UqVAlV','register','1727USIltI','auth','withValue','meteor','basic-forgot-password-page','custom','pathFromApp','202390dnPYml','.js','dir','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page'];a119c=function(){return N;};return a119c();}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a119J(0x1da)]({'name':a119J(0x1e3),'aliases':['a'],'usage':a119J(0x1ef),'shortDesc':a119J(0x1ec),'validOpts':['layouts',a119J(0x1db)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a119J(0x1cd)]},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':a119J(0x1ca)},async function(a,b){const K=a119J;try{const c=b[K(0x1db)]||![],d=this[K(0x1dd)]['findProjectDirectory'](),f=this['fsi']['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x1cc)]({'type':K(0x1c6),'name':'authType','message':K(0x1d1),'choices':[{'name':K(0x1bb),'value':K(0x1e5)},{'name':'Custom\x20(roll\x20your\x20own)','value':'custom'}]}),h=K(0x1ee),i=K(0x1f8),j=K(0x1f5),k='basic-password-reset-page',l=K(0x1e6),m=b['baseDir']?K(0x1b8)+b[K(0x1df)]:'/imports/ui/pages/auth',n=this[K(0x1dd)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x1dd)][K(0x1e8)]({'pathParts':[m,b[K(0x1eb)],paramCase(i),paramCase(i)]}),p=this[K(0x1dd)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0x1dd)][K(0x1e8)]({'pathParts':[m,b[K(0x1eb)],paramCase(k),paramCase(k)]}),r=this['fsi']['pathFromApp']({'pathParts':[m,b[K(0x1eb)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1ed)])[K(0x1f2)]('-','\x20')};await this['fsi'][K(0x1e4)](f,async()=>{const L=K;await this[L(0x1dd)][L(0x1f0)]({'srcPath':'kit/mui/auth/login/'+h+L(0x1ea),'destPath':n+L(0x1ea),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x1f0)]({'srcPath':L(0x1c0)+i+L(0x1ea),'destPath':o+L(0x1ea),'framework':L(0x1c1),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1dd)][L(0x1f0)]({'srcPath':L(0x1f4)+j+L(0x1ea),'destPath':p+L(0x1ea),'framework':L(0x1c1),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x1f0)]({'srcPath':L(0x1d4)+k+L(0x1ea),'destPath':q+L(0x1ea),'framework':L(0x1c1),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1dd)][L(0x1f0)]({'srcPath':'kit/mui/auth/forgot-password/'+l+'.js','destPath':r+L(0x1ea),'framework':L(0x1c1),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1eb)]+'/'+h+'/'+h;await this[K(0x1dd)]['injectTemplateModule'](h,f,t);const u=''+m+b[K(0x1eb)]+'/'+i+'/'+i;await this[K(0x1dd)][K(0x1bd)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0x1dd)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0x1eb)]+'/'+k+'/'+k;await this[K(0x1dd)][K(0x1bd)](k,f,w);const x=''+m+b[K(0x1eb)]+'/'+l+'/'+l;await this[K(0x1dd)][K(0x1bd)](l,f,x),await a119e[K(0x1cf)](K(0x1c5),[K(0x1ee)],{'url':'login','cwd':d,'config':f}),await a119e[K(0x1cf)]('route',[K(0x1f8)],{'url':K(0x1ce),'private':!![],'cwd':d,'config':f}),await a119e['processAndRunGenerator'](K(0x1c5),[K(0x1f5)],{'url':K(0x1e1),'cwd':d,'config':f}),await a119e['processAndRunGenerator'](K(0x1c5),['basic-password-reset-page'],{'url':K(0x1b7),'cwd':d,'config':f}),await a119e[K(0x1cf)](K(0x1c5),[K(0x1e6)],{'url':K(0x1dc),'cwd':d,'config':f});g===K(0x1e5)&&await a119e['processAndRunGenerator'](K(0x1d3),[],{'force':c,'cwd':d,'config':f});g===K(0x1e7)&&await a119e[K(0x1cf)](K(0x1d6),[],{'force':c,'cwd':d,'config':f});const y=f['engines']['ssr']===K(0x1de),z=f[K(0x1cb)]['js'],A=this[K(0x1dd)][K(0x1e8)]({'pathParts':t[K(0x1be)]('/')});await this[K(0x1dd)]['injectImport']({'filePath':A+'.'+z,'importName':K(0x1c2),'modulePath':y?K(0x1c9):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0x1dd)][K(0x1e8)]({'pathParts':u[K(0x1be)]('/')});await this[K(0x1dd)][K(0x1f6)]({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1c4),'isNamedExport':!![]});const C=this[K(0x1dd)]['pathFromApp']({'pathParts':v['split']('/')});await this[K(0x1dd)][K(0x1f6)]({'filePath':C+'.'+z,'importName':K(0x1c2),'modulePath':y?K(0x1c9):K(0x1c4),'isNamedExport':!![]});const D=this[K(0x1dd)]['pathFromApp']({'pathParts':w[K(0x1be)]('/')});await this[K(0x1dd)][K(0x1f6)]({'filePath':D+'.'+z,'importName':K(0x1c2),'modulePath':y?K(0x1c9):K(0x1c4),'isNamedExport':!![]});const E=this[K(0x1dd)][K(0x1e8)]({'pathParts':x['split']('/')});await this[K(0x1dd)][K(0x1f6)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?K(0x1c9):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0x1c3)](F);}},async function(){const M=a119J;console['log'](M(0x1bc));},a119f);
1
+ const a120I=a120d;function a120c(){const M=['516972smcrkA','baseDir','kit/mui/auth/password-reset/','AuthContext','authType','basic-register-page','.js','options','/imports/ui/pages/auth','search','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','Custom\x20(roll\x20your\x20own)','367617RggCqW','/imports/startup/client/authentication-provider','64324eTLPAK','forgot-password','Meteor\x20Accounts','list','react','/imports/startup/lib/authentication-provider','pathFromApp','Cleaning\x20up...','basic-forgot-password-page','custom','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','getMakaProjectConfig','kit/mui/auth/forgot-password/','replaceAll','11yTSXXU','308009JoVCyJ','ssr','16PWDfpR','basic-password-reset-page','register','5DAFMNI','log','REACT','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','withValue','6180010bgrIgD','maka\x20g:k:m:f','toString','layouts','auth','injectImport','332238XuavIJ','fsi','meteor','route','basic-login-page','MATERIAL','error','template','kit/mui/auth/register/','dir','processAndRunGenerator','68823ikeiQT','(((.+)+)+)+$','14LOFCCU','basic-logout-page','injectTemplateModule','split','login','kit/mui/auth/login/','reset-password/:token','create','force'];a120c=function(){return M;};return a120c();}(function(a,b){const G=a120d,c=a();while(!![]){try{const d=-parseInt(G(0x179))/0x1+-parseInt(G(0x189))/0x2+-parseInt(G(0x1ab))/0x3+parseInt(G(0x1ad))/0x4*(-parseInt(G(0x17e))/0x5)+-parseInt(G(0x19f))/0x6*(-parseInt(G(0x196))/0x7)+parseInt(G(0x17b))/0x8*(parseInt(G(0x194))/0x9)+-parseInt(G(0x183))/0xa*(-parseInt(G(0x178))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x2f167));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 H=a120d;return a120a[H(0x185)]()['search'](H(0x195))[H(0x185)]()['constructor'](a120a)[H(0x1a8)]('(((.+)+)+)+$');});a120a();import{Generator}from'../../../generator.js';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';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x16d;let f=c[d];return f;},a120d(a,b);}Generator[a120I(0x19d)]({'name':a120I(0x187),'aliases':['a'],'usage':a120I(0x181),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a120I(0x186),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a120I(0x18e)],'client':ClientEngines[a120I(0x180)]},'examples':['maka\x20generate:kit:mui:frame',a120I(0x184)],'description':a120I(0x174)},async function(a,b){const J=a120I;try{const c=b[J(0x19e)]||![],d=this[J(0x18a)]['findProjectDirectory'](),f=this['fsi'][J(0x175)](),{authType:g}=await Actions[J(0x1a6)]({'type':J(0x16d),'name':J(0x1a3),'message':J(0x1a9),'choices':[{'name':J(0x1af),'value':J(0x18b)},{'name':J(0x1aa),'value':J(0x173)}]}),h=J(0x18d),i=J(0x197),j=J(0x1a4),k=J(0x17c),l=J(0x172),m=b['baseDir']?'/imports/ui/'+b[J(0x1a0)]:J(0x1a7),n=this[J(0x18a)]['pathFromApp']({'pathParts':[m,b[J(0x192)],paramCase(h),paramCase(h)]}),o=this[J(0x18a)][J(0x170)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[J(0x18a)]['pathFromApp']({'pathParts':[m,b[J(0x192)],paramCase(j),paramCase(j)]}),q=this[J(0x18a)][J(0x170)]({'pathParts':[m,b[J(0x192)],paramCase(k),paramCase(k)]}),r=this['fsi'][J(0x170)]({'pathParts':[m,b[J(0x192)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])[J(0x177)]('-','\x20')};await this[J(0x18a)][J(0x182)](f,async()=>{const K=J;await this[K(0x18a)][K(0x190)]({'srcPath':K(0x19b)+h+K(0x1a5),'destPath':n+K(0x1a5),'framework':K(0x16e),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0x190)]({'srcPath':'kit/mui/auth/logout/'+i+K(0x1a5),'destPath':o+K(0x1a5),'framework':K(0x16e),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x18a)][K(0x190)]({'srcPath':K(0x191)+j+'.js','destPath':p+K(0x1a5),'framework':K(0x16e),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x18a)][K(0x190)]({'srcPath':K(0x1a1)+k+K(0x1a5),'destPath':q+K(0x1a5),'framework':K(0x16e),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x18a)]['template']({'srcPath':K(0x176)+l+K(0x1a5),'destPath':r+K(0x1a5),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this[J(0x18a)][J(0x198)](h,f,t);const u=''+m+b[J(0x192)]+'/'+i+'/'+i;await this['fsi'][J(0x198)](i,f,u);const v=''+m+b[J(0x192)]+'/'+j+'/'+j;await this['fsi'][J(0x198)](j,f,v);const w=''+m+b[J(0x192)]+'/'+k+'/'+k;await this[J(0x18a)][J(0x198)](k,f,w);const x=''+m+b[J(0x192)]+'/'+l+'/'+l;await this['fsi'][J(0x198)](l,f,x),await a120e[J(0x193)](J(0x18c),[J(0x18d)],{'url':J(0x19a),'cwd':d,'config':f}),await a120e[J(0x193)](J(0x18c),[J(0x197)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a120e[J(0x193)](J(0x18c),[J(0x1a4)],{'url':J(0x17d),'cwd':d,'config':f}),await a120e[J(0x193)](J(0x18c),[J(0x17c)],{'url':J(0x19c),'cwd':d,'config':f}),await a120e['processAndRunGenerator']('route',[J(0x172)],{'url':J(0x1ae),'cwd':d,'config':f});g===J(0x18b)&&await a120e[J(0x193)]('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a120e[J(0x193)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f['engines'][J(0x17a)]==='true',z=f['engines']['js'],A=this['fsi'][J(0x170)]({'pathParts':t[J(0x199)]('/')});await this[J(0x18a)][J(0x188)]({'filePath':A+'.'+z,'importName':J(0x1a2),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0x1ac),'isNamedExport':!![]});const B=this[J(0x18a)][J(0x170)]({'pathParts':u[J(0x199)]('/')});await this[J(0x18a)][J(0x188)]({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?J(0x16f):J(0x1ac),'isNamedExport':!![]});const C=this[J(0x18a)][J(0x170)]({'pathParts':v['split']('/')});await this[J(0x18a)][J(0x188)]({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?J(0x16f):J(0x1ac),'isNamedExport':!![]});const D=this[J(0x18a)][J(0x170)]({'pathParts':w[J(0x199)]('/')});await this[J(0x18a)][J(0x188)]({'filePath':D+'.'+z,'importName':J(0x1a2),'modulePath':y?J(0x16f):J(0x1ac),'isNamedExport':!![]});const E=this['fsi'][J(0x170)]({'pathParts':x[J(0x199)]('/')});await this['fsi']['injectImport']({'filePath':E+'.'+z,'importName':J(0x1a2),'modulePath':y?J(0x16f):J(0x1ac),'isNamedExport':!![]});}catch(F){Log[J(0x18f)](F);}},async function(){const L=a120I;console[L(0x17f)](L(0x171));},a120f);
@@ -1 +1 @@
1
- const a120E=a120d;(function(a,b){const B=a120d,c=a();while(!![]){try{const d=parseInt(B(0x1b9))/0x1+parseInt(B(0x1ca))/0x2*(-parseInt(B(0x1c5))/0x3)+-parseInt(B(0x1af))/0x4*(parseInt(B(0x1ed))/0x5)+parseInt(B(0x1c9))/0x6*(parseInt(B(0x1d7))/0x7)+-parseInt(B(0x1d6))/0x8+parseInt(B(0x1c2))/0x9*(-parseInt(B(0x1e4))/0xa)+parseInt(B(0x1b5))/0xb*(parseInt(B(0x1bb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x63d4f));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a120d;if(c){const e=c[C(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const D=a120d;return a120a['toString']()[D(0x1db)](D(0x1b3))[D(0x1e8)]()['constructor'](a120a)[D(0x1db)](D(0x1b3));});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1af;let f=c[d];return f;},a120d(a,b);}a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a120c(){const I=['@mui/material/Container','force','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','2958000gzdgfz','4606MKYUZj','join','injectIntoFile','react','search','test','<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>','-hook\x22>','apply','imports','Box','appName','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','564350OexyLF','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','{\x20this.props.children\x20}','/imports/ui/components','toString','error','fsi','getDirectories','{\x20props.children\x20}','65AybVnl','/imports/startup/lib/templates','Container','injectImport','kit/mui/frame/footers/','\x20/>\x0a','replaceAll','{props.children}','205972EzYxIJ','create','.js','<div\x20id=\x22','(((.+)+)+)+$','kit/mui/frame/app-bars/','14047DpngMs','/imports/startup/client/templates','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','frame','658535tDwlwt','template','14052LoQkMi','{this.props.children}','session','No\x20layouts\x20selected','jsx','dir','pathFromApp','126fnVcjO','kit/mui/frame/drawers/','@mui/material/Box','3228hMdpLC','maka:react-tracker','baseDir','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','5262GmSyIz','916MhyfhU','basic-app-bar','basic-sticky-footer','layouts','ssr','log','REACT','injectTemplateModule','checkbox'];a120c=function(){return I;};return a120c();}import a120e from'path';import a120f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120E(0x1b0)]({'name':a120E(0x1b8),'aliases':['f'],'usage':a120E(0x1c8),'shortDesc':a120E(0x1e3),'validOpts':[a120E(0x1cd),'baseDir',a120E(0x1c0),a120E(0x1d4)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a120E(0x1d0)]},'examples':['maka\x20generate:kit:mui:frame','maka\x20g:k:m:f'],'description':a120E(0x1b7)},async function(a,b){const F=a120E;try{const c=b[F(0x1d4)]||![],d=F(0x1cb),f='basic-drawer',g=F(0x1cc),h=this[F(0x1ea)]['getMakaProjectConfig'](),i=h['engines'][F(0x1ce)]==='true';await this[F(0x1ea)]['checkMeteorPackage']([F(0x1bd),F(0x1c6)],{'shouldInstall':!![]});const j=this[F(0x1ea)]['findAppDirectory'](),k=a120e[F(0x1d8)](j,F(0x1e0),'ui',F(0x1cd)),l=this[F(0x1ea)][F(0x1eb)](k),m=await Actions['options']({'type':F(0x1d2),'name':F(0x1cd),'message':F(0x1e5),'choices':l});if(m[F(0x1cd)]['length']===0x0){Log[F(0x1e9)](F(0x1be));return;}const n=b[F(0x1c7)]?'/imports/ui/'+b[F(0x1c7)]:F(0x1e7),o=this[F(0x1ea)][F(0x1c1)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0x1c1)]({'pathParts':[n,b[F(0x1c0)],paramCase(f),paramCase(f)]}),q=this[F(0x1ea)][F(0x1c1)]({'pathParts':[n,b[F(0x1c0)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1e2)])[F(0x1f3)]('-','\x20')};await this[F(0x1ea)]['withValue'](h,async()=>{const G=F;await this[G(0x1ea)][G(0x1ba)]({'srcPath':G(0x1b4)+d+G(0x1b1),'destPath':o+G(0x1b1),'framework':G(0x1da),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1ea)][G(0x1ba)]({'srcPath':G(0x1c3)+f+G(0x1b1),'destPath':p+G(0x1b1),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1ea)][G(0x1ba)]({'srcPath':G(0x1f1)+g+G(0x1b1),'destPath':q+G(0x1b1),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x1c0)]+'/'+d+'/'+d;await this['fsi'][F(0x1d1)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0x1ea)][F(0x1d1)](f,h,t);const u=''+n+b[F(0x1c0)]+'/'+g+'/'+g;await this[F(0x1ea)][F(0x1d1)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1ea)]['getFiles'](a120e[F(0x1d8)](k,w),{'extensions':[F(0x1bf),'tsx'],'omit':['app-tests','tests',F(0x1dc)]});for(const y of x){const z=a120e[F(0x1d8)](k,w,y);await this[F(0x1ea)][F(0x1f0)]({'filePath':z,'importName':F(0x1e1),'modulePath':F(0x1c4),'isNamedExport':![]}),await this[F(0x1ea)]['injectImport']({'filePath':z,'importName':F(0x1ef),'modulePath':F(0x1d3),'isNamedExport':![]}),await this['fsi'][F(0x1f0)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1ee):'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][F(0x1d9)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x1b2)+w+'\x22>',F(0x1b2)+w+F(0x1de)],'end':[F(0x1bc),F(0x1e6),'{props.children}',F(0x1ec)]}),await this[F(0x1ea)]['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x1ee):'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][F(0x1d9)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x1f2),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x1b2)+w+'-hook\x22>'],'end':[F(0x1bc),'{\x20this.props.children\x20}','{props.children}',F(0x1ec)]}),await this['fsi'][F(0x1d9)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x1f2),'begin':[F(0x1bc),'{\x20this.props.children\x20}',F(0x1f4),F(0x1ec)],'end':['</div>']}),await this[F(0x1ea)][F(0x1f0)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x1b6),'isNamedExport':!![]}),await this[F(0x1ea)]['injectAroundString']({'filePath':z,'aboveContent':F(0x1dd),'belowContent':F(0x1d5),'targetString':[F(0x1bc),'{\x20this.props.children\x20}',F(0x1f4),'{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1e9)](A);}},async function(){const H=a120E;console[H(0x1cf)]('Cleaning\x20up...');},a120f);
1
+ const a121E=a121d;(function(a,b){const B=a121d,c=a();while(!![]){try{const d=-parseInt(B(0x108))/0x1*(-parseInt(B(0x138))/0x2)+parseInt(B(0x12e))/0x3*(parseInt(B(0x100))/0x4)+-parseInt(B(0x13e))/0x5*(parseInt(B(0x110))/0x6)+-parseInt(B(0x119))/0x7*(parseInt(B(0x147))/0x8)+-parseInt(B(0x11f))/0x9+parseInt(B(0x10e))/0xa+-parseInt(B(0x105))/0xb*(parseInt(B(0x14b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xc7bfc));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a121d;if(c){const e=c[C(0x135)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const D=a121d;return a121a['toString']()[D(0x120)](D(0x122))[D(0x13d)]()[D(0x124)](a121a)['search'](D(0x122));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x100;let f=c[d];return f;},a121d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';function a121c(){const I=['Cleaning\x20up...','log','frame','3781130mcTSla','<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>','47790nGFosE','basic-app-bar','{this.props.children}','options','app-tests','{\x20this.props.children\x20}','basic-sticky-footer','basic-drawer','No\x20layouts\x20selected','1372063HvVxCt','-hook\x22>','{props.children}','findAppDirectory','@mui/material/Container','join','4414392qiixIm','search','tests','(((.+)+)+)+$','\x20/>\x0a','constructor','tsx','Box','pathFromApp','dir','template','injectIntoFile','ssr','force','Container','21057RUfWTu','error','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','checkMeteorPackage','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','<div\x20id=\x22','apply','</div>','jsx','20UeWcTT','maka\x20generate:kit:mui:frame','{\x20props.children\x20}','baseDir','create','toString','245hctgGc','maka\x20g:k:m:f','kit/mui/frame/drawers/','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','.js','react','injectImport','injectAroundString','/imports/startup/lib/templates','8EUVHbk','checkbox','layouts','fsi','9624120lFCchX','session','516zZMIqB','kit/mui/frame/app-bars/','/imports/startup/client/templates','imports','/imports/ui/components','11wjZksu','appName','injectTemplateModule','141340IDDFbd','test','REACT'];a121c=function(){return I;};return a121c();}import a121e from'path';import a121f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121E(0x13c)]({'name':a121E(0x10d),'aliases':['f'],'usage':a121E(0x131),'shortDesc':a121E(0x133),'validOpts':[a121E(0x149),a121E(0x13b),a121E(0x128),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a121E(0x10a)]},'examples':[a121E(0x139),a121E(0x13f)],'description':a121E(0x141)},async function(a,b){const F=a121E;try{const c=b[F(0x12c)]||![],d=F(0x111),f=F(0x117),g=F(0x116),h=this[F(0x14a)][F(0x130)](),i=h['engines'][F(0x12b)]==='true';await this[F(0x14a)][F(0x132)]([F(0x14c),'maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0x14a)][F(0x11c)](),k=a121e[F(0x11e)](j,F(0x103),'ui',F(0x149)),l=this[F(0x14a)]['getDirectories'](k),m=await Actions[F(0x113)]({'type':F(0x148),'name':'layouts','message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x149)]['length']===0x0){Log[F(0x12f)](F(0x118));return;}const n=b[F(0x13b)]?'/imports/ui/'+b['baseDir']:F(0x104),o=this['fsi'][F(0x127)]({'pathParts':[n,b[F(0x128)],paramCase(d),paramCase(d)]}),p=this[F(0x14a)]['pathFromApp']({'pathParts':[n,b[F(0x128)],paramCase(f),paramCase(f)]}),q=this['fsi']['pathFromApp']({'pathParts':[n,b[F(0x128)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x106)])['replaceAll']('-','\x20')};await this['fsi']['withValue'](h,async()=>{const G=F;await this[G(0x14a)]['template']({'srcPath':G(0x101)+d+G(0x142),'destPath':o+'.js','framework':G(0x143),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x14a)][G(0x129)]({'srcPath':G(0x140)+f+G(0x142),'destPath':p+G(0x142),'framework':G(0x143),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x14a)]['template']({'srcPath':'kit/mui/frame/footers/'+g+G(0x142),'destPath':q+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x128)]+'/'+d+'/'+d;await this[F(0x14a)]['injectTemplateModule'](d,h,s);const t=''+n+b[F(0x128)]+'/'+f+'/'+f;await this['fsi'][F(0x107)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this['fsi'][F(0x107)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x14a)]['getFiles'](a121e['join'](k,w),{'extensions':[F(0x137),F(0x125)],'omit':[F(0x114),F(0x121),F(0x109)]});for(const y of x){const z=a121e[F(0x11e)](k,w,y);await this[F(0x14a)][F(0x144)]({'filePath':z,'importName':F(0x126),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this[F(0x14a)][F(0x144)]({'filePath':z,'importName':F(0x12d),'modulePath':F(0x11d),'isNamedExport':![]}),await this[F(0x14a)][F(0x144)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x146):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x14a)][F(0x12a)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x123),'begin':['<div\x20id=\x22'+w+'\x22>','<div\x20id=\x22'+w+F(0x11a)],'end':[F(0x112),F(0x115),'{props.children}',F(0x13a)]}),await this[F(0x14a)][F(0x144)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x146):F(0x102),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':[F(0x134)+w+'\x22>',F(0x134)+w+F(0x11a)],'end':[F(0x112),F(0x115),F(0x11b),F(0x13a)]}),await this[F(0x14a)][F(0x12a)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x112),F(0x115),F(0x11b),'{\x20props.children\x20}'],'end':[F(0x136)]}),await this[F(0x14a)][F(0x144)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x146):F(0x102),'isNamedExport':!![]}),await this['fsi'][F(0x145)]({'filePath':z,'aboveContent':F(0x10f),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[F(0x112),'{\x20this.props.children\x20}',F(0x11b),'{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x12f)](A);}},async function(){const H=a121E;console[H(0x10c)](H(0x10b));},a121f);
@@ -1 +1 @@
1
- const a121j=a121d;(function(a,b){const g=a121d,c=a();while(!![]){try{const d=parseInt(g(0xf1))/0x1*(-parseInt(g(0xed))/0x2)+-parseInt(g(0xe5))/0x3*(-parseInt(g(0xf6))/0x4)+-parseInt(g(0xea))/0x5*(-parseInt(g(0xee))/0x6)+parseInt(g(0x101))/0x7*(parseInt(g(0x103))/0x8)+parseInt(g(0x104))/0x9*(-parseInt(g(0xeb))/0xa)+-parseInt(g(0xf5))/0xb*(-parseInt(g(0xe6))/0xc)+-parseInt(g(0xff))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x356e8));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a121d;if(c){const e=c[h(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const i=a121d;return a121a[i(0xec)]()[i(0xf2)](i(0xfa))[i(0xec)]()['constructor'](a121a)[i(0xf2)](i(0xfa));});a121a();import{Generator}from'../../../generator.js';function a121c(){const l=['kit:mui:auth','235509pIPETA','11436UJSEsB','kit:mui:frame','create','includes','334885rpXyla','1070yGDRfI','toString','14862fQhzpk','12eLOQKo','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','15jGJpar','search','length','Material-UI\x20Kit','1111oLOmti','20jTKUaI','No\x20MUI\x20kits\x20selected.\x20Exiting.','apply','auth','(((.+)+)+)+$','fsi','checkbox','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','6968715HkEdVW','Header\x20and\x20Drawer','7rtMssn','\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','2326728xVpTLn','3969ijFMJI','info','kitChoices','mui','options','frame','processAndRunGenerator'];a121c=function(){return l;};return a121c();}function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xde;let f=c[d];return f;},a121d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'../../../generators/maka.gen.js';import a121f from'../kit.js';const MuiGen=Generator[a121j(0xe8)]({'name':a121j(0xe0),'aliases':['m'],'usage':a121j(0xfe),'noNeedResource':!![],'shortDesc':a121j(0xf4),'validOpts':[''],'isPro':![],'examples':['maka\x20g:kit:m']},async function(){const k=a121j;Log[k(0xde)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log['notice'](k(0x102));const {kitChoices:a}=await Actions[k(0xe1)]({'type':k(0xfc),'name':k(0xdf),'message':k(0xf0),'choices':[{'name':k(0x100),'value':k(0xe2)},{'name':k(0xef),'value':k(0xf9)}]}),b=this['fsi']['findProjectDirectory'](),c=this[k(0xfb)][k(0xfd)]();a[k(0xe9)](k(0xe2))&&await a121e[k(0xe3)](k(0xe7),[],{'force':!![],'cwd':b,'config':c});a[k(0xe9)](k(0xf9))&&await a121e[k(0xe3)](k(0xe4),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xf3)]===0x0){Log[k(0xde)](k(0xf7));return;}},async function(){},a121f);export default MuiGen;
1
+ const a122j=a122d;(function(a,b){const g=a122d,c=a();while(!![]){try{const d=-parseInt(g(0x175))/0x1*(-parseInt(g(0x179))/0x2)+parseInt(g(0x17d))/0x3*(-parseInt(g(0x177))/0x4)+parseInt(g(0x16e))/0x5*(-parseInt(g(0x17c))/0x6)+parseInt(g(0x182))/0x7+-parseInt(g(0x181))/0x8+parseInt(g(0x180))/0x9*(parseInt(g(0x170))/0xa)+-parseInt(g(0x171))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xb2d47));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a122d;if(c){const e=c[h(0x17e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const i=a122d;return a122a[i(0x173)]()['search'](i(0x187))[i(0x173)]()['constructor'](a122a)[i(0x186)](i(0x187));});function a122c(){const l=['1343768WSAZGC','8969779ccjdUm','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','getMakaProjectConfig','length','search','(((.+)+)+)+$','frame','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','kitChoices','No\x20MUI\x20kits\x20selected.\x20Exiting.','Material-UI\x20Kit','auth','options','1311545RHeeGz','kit:mui:auth','96220oQaTQW','17165973OwduWV','includes','toString','Header,\x20Footer,\x20and\x20Drawer','1fIcxMm','maka\x20g:kit:m','16DuSoQf','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','2363950BbHXhG','info','kit:mui:frame','6ezLRKr','187521hlzaYE','apply','fsi','477AbHxBk'];a122c=function(){return l;};return a122c();}a122a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x166;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['create']({'name':'mui','aliases':['m'],'usage':a122j(0x168),'noNeedResource':!![],'shortDesc':a122j(0x16b),'validOpts':[''],'isPro':!![],'examples':[a122j(0x176)]},async function(){const k=a122j;Log[k(0x17a)](k(0x178)),Log['notice']('\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');const {kitChoices:a}=await Actions[k(0x16d)]({'type':'checkbox','name':k(0x169),'message':k(0x183),'choices':[{'name':k(0x174),'value':k(0x166)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':k(0x16c)}]}),b=this[k(0x17f)]['findProjectDirectory'](),c=this['fsi'][k(0x184)]();a[k(0x172)](k(0x166))&&await a122e[k(0x167)](k(0x17b),[],{'force':!![],'cwd':b,'config':c});a[k(0x172)](k(0x16c))&&await a122e['processAndRunGenerator'](k(0x16f),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x185)]===0x0){Log[k(0x17a)](k(0x16a));return;}},async function(){},a122f);export default MuiGen;
@@ -1 +1 @@
1
- const a122o=a122d;(function(a,b){const l=a122d,c=a();while(!![]){try{const d=-parseInt(l(0x101))/0x1*(parseInt(l(0x10b))/0x2)+parseInt(l(0xfa))/0x3*(parseInt(l(0xf9))/0x4)+-parseInt(l(0xdb))/0x5+-parseInt(l(0x10d))/0x6*(-parseInt(l(0x110))/0x7)+-parseInt(l(0xea))/0x8*(parseInt(l(0xe3))/0x9)+-parseInt(l(0x10e))/0xa+parseInt(l(0x108))/0xb*(parseInt(l(0x107))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xaaba5));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a122d;if(c){const e=c[m(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const n=a122d;return a122a['toString']()[n(0xe8)](n(0xe7))[n(0xf3)]()[n(0xe2)](a122a)[n(0xe8)](n(0xe7));});a122a();import a122e from'path';import{Generator}from'../generator.js';function a122c(){const r=['maka\x20g:layout\x20mobile/iPhone8','graphql','import\x20\x27./','(((.+)+)+)+$','search','engines','23672IziprH','template/template.css','pathFromApp','warn','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','resourceName','includes','fileName','split','toString','hook/hook.js','test/test.js','client','fsi','getMakaProjectConfig','46812xsHDKQ','168xJXrdd','findAppDirectory','assign','checkNpmPackage','dir','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','test','122wJVqeF','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','injectAtBeginningOfFile','relative','Scaffolding\x20for\x20a\x20React\x20Layout.','theme','15943656ZUjzXR','11mZEllm','.app-tests.js','features','3590lhTIXb','component/component.js','127902jMxFAZ','9701840RyYzos','withHook','84emybUV','injectTemplateModule','css','withHooks','string','ssr','template','pathFromProject','layout','true','543485JdAdgu','create','withTranslations','apply','setTemplate','ramda','react','constructor','738JkVHuI'];a122c=function(){return r;};return a122c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xd3;let f=c[d];return f;},a122d(a,b);}const aliases=['l'];Generator[a122o(0xdc)]({'name':a122o(0xd9),'aliases':aliases,'usage':a122o(0xff),'shortDesc':a122o(0x105),'validOpts':[a122o(0x10f)],'examples':[a122o(0xe4),'maka\x20g:l\x20web/safari']},async function(a,b){const p=a122o,c='/imports/ui/layouts',d=this[p(0xf7)][p(0xfb)](),e=this[p(0xf7)][p(0xec)]({'pathParts':[c,b['dir'],paramCase(b[p(0xef)]),paramCase(b[p(0xef)])]}),f=this[p(0xf7)][p(0xf8)]();await this[p(0xf7)]['withValue'](f,async()=>{const q=p;typeof f['template'][q(0x100)]===q(0xd5)&&(f[q(0xd7)][q(0x100)]=f[q(0xd7)][q(0x100)]===q(0xda)?!![]:![],this[q(0xf7)][q(0xdf)](q(0x100),f['template'][q(0x100)]));typeof f[q(0xd7)]['css']===q(0xd5)&&(f[q(0xd7)]['css']=f[q(0xd7)]['css']===q(0xda)?!![]:![],this['fsi'][q(0xdf)](q(0xd3),f['template'][q(0xd3)]));typeof f[q(0xd7)]['js']===q(0xd5)&&(f[q(0xd7)]['js']=f[q(0xd7)]['js']===q(0xda)?!![]:![],this[q(0xf7)][q(0xdf)]('js',f[q(0xd7)]['js']));!f[q(0x10a)]&&(f[q(0x10a)]={});const g=b['_']?b['_'][0x0][q(0xf2)](':')[0x1]:![],h=b['_']&&aliases[q(0xf0)](g);h&&!this['checkNpmPackage']('ramda')&&(Log[q(0xed)](q(0x102)),this[q(0xf7)]['installNpmPackage'](q(0xe0),{'cwd':d}));if(h&&!this[q(0xfd)](q(0xe1))){Log[q(0xed)](q(0xee));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a122e[q(0x104)](this[q(0xf7)][q(0xd8)]({}),e),'cssCaseName':paramCase(b[q(0xef)]),'className':pascalCase(b[q(0xef)]),'camelCaseName':camelCase(b[q(0xef)]),'fileName':paramCase(b[q(0xef)]),'graphql':f['engines'][q(0xe5)],'features':f[q(0x10a)],'client':f['engines'][q(0xf6)],'api':f[q(0xe9)]['api'],'ssr':f[q(0xe9)][q(0xd6)],'test':f['engines']['test'],'theme':f['engines'][q(0x106)],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][q(0xdd)]};f['features']?.[q(0xd4)]||b['withHook']?await this[q(0xf7)][q(0xd7)]({'srcPath':q(0xf4),'destPath':e+'.js','framework':q(0xe1),'context':i,'config':f}):await this[q(0xf7)][q(0xd7)]({'srcPath':q(0x10c),'destPath':e+'.js','framework':q(0xe1),'context':i,'config':f});f[q(0xe9)][q(0x100)]!=='none'&&await this['fsi'][q(0xd7)]({'srcPath':q(0xf5),'destPath':e+q(0x109),'framework':'react','context':i,'config':f});f[q(0xd7)][q(0xd3)]&&(await this[q(0xf7)]['template']({'srcPath':q(0xeb),'destPath':e+'.css','context':Object[q(0xfc)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0xf7)][q(0x103)]({'filePath':e+'.'+f['engines']['js'],'content':q(0xe6)+i[q(0xf1)]+'.'+f[q(0xe9)][q(0xd3)]+'\x27;'}));const j=b[q(0xfe)]?'/'+b[q(0xfe)]+'/':'/',k=''+c+j+i[q(0xf1)]+'/'+i['fileName'];await this[q(0xf7)][q(0x111)](i['className'],f,k);});});
1
+ const a123o=a123d;(function(a,b){const l=a123d,c=a();while(!![]){try{const d=-parseInt(l(0x1fb))/0x1*(-parseInt(l(0x1ff))/0x2)+-parseInt(l(0x1e8))/0x3*(-parseInt(l(0x1f0))/0x4)+parseInt(l(0x1f1))/0x5*(parseInt(l(0x1de))/0x6)+-parseInt(l(0x1ef))/0x7+parseInt(l(0x1e4))/0x8*(parseInt(l(0x1d5))/0x9)+parseInt(l(0x1dc))/0xa+parseInt(l(0x1e5))/0xb*(-parseInt(l(0x1d0))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x96b89));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a123d;if(c){const e=c[m(0x202)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const n=a123d;return a123a['toString']()[n(0x1f3)](n(0x1ec))[n(0x1fe)]()['constructor'](a123a)['search'](n(0x1ec));});a123a();function a123c(){const r=['4153840UVBPHt','ssr','12eBdcof','hook/hook.js','theme','import\x20\x27./','component/component.js','.css','1112ZrPgnR','11dBMFLm','findAppDirectory','none','51945zQklqI','string','withValue','resourceName','(((.+)+)+)+$','test/test.js','create','2308593RAxXhw','116ixwteR','18470OrTtxO','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','search','css','installNpmPackage','checkNpmPackage','setTemplate','getMakaProjectConfig','template/template.css','warn','704187udEqvg','relative','graphql','toString','2DcSifH','className','split','apply','injectTemplateModule','features','ramda','includes','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fileName','engines','assign','client','pathFromProject','layout','template','fsi','11033916gKmSgi','maka\x20g:l\x20web/safari','dir','withHooks','.js','15381aBazVv','test','api','.app-tests.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','react','true'];a123c=function(){return r;};return a123c();}import a123e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a123d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a123o(0x1ee)]({'name':a123o(0x1cd),'aliases':aliases,'usage':a123o(0x1f2),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':['withHook'],'examples':['maka\x20g:layout\x20mobile/iPhone8',a123o(0x1d1)]},async function(a,b){const p=a123o,c='/imports/ui/layouts',d=this[p(0x1cf)][p(0x1e6)](),e=this['fsi']['pathFromApp']({'pathParts':[c,b[p(0x1d2)],paramCase(b[p(0x1eb)]),paramCase(b[p(0x1eb)])]}),f=this[p(0x1cf)][p(0x1f8)]();await this[p(0x1cf)][p(0x1ea)](f,async()=>{const q=p;typeof f[q(0x1ce)]['test']===q(0x1e9)&&(f[q(0x1ce)][q(0x1d6)]=f[q(0x1ce)]['test']===q(0x1db)?!![]:![],this['fsi']['setTemplate'](q(0x1d6),f[q(0x1ce)][q(0x1d6)]));typeof f[q(0x1ce)][q(0x1f4)]==='string'&&(f[q(0x1ce)][q(0x1f4)]=f[q(0x1ce)][q(0x1f4)]===q(0x1db)?!![]:![],this[q(0x1cf)][q(0x1f7)](q(0x1f4),f[q(0x1ce)][q(0x1f4)]));typeof f[q(0x1ce)]['js']===q(0x1e9)&&(f['template']['js']=f[q(0x1ce)]['js']==='true'?!![]:![],this[q(0x1cf)][q(0x1f7)]('js',f[q(0x1ce)]['js']));!f[q(0x1c4)]&&(f[q(0x1c4)]={});const g=b['_']?b['_'][0x0][q(0x201)](':')[0x1]:![],h=b['_']&&aliases[q(0x1c6)](g);h&&!this[q(0x1f6)](q(0x1c5))&&(Log[q(0x1fa)](q(0x1c7)),this[q(0x1cf)][q(0x1f5)](q(0x1c5),{'cwd':d}));if(h&&!this[q(0x1f6)]('react')){Log['warn'](q(0x1d9));return;}const i={'name':pascalCase(b[q(0x1eb)]),'myPath':a123e[q(0x1fc)](this[q(0x1cf)][q(0x1cc)]({}),e),'cssCaseName':paramCase(b[q(0x1eb)]),'className':pascalCase(b[q(0x1eb)]),'camelCaseName':camelCase(b[q(0x1eb)]),'fileName':paramCase(b[q(0x1eb)]),'graphql':f[q(0x1c9)][q(0x1fd)],'features':f[q(0x1c4)],'client':f[q(0x1c9)][q(0x1cb)],'api':f['engines'][q(0x1d7)],'ssr':f[q(0x1c9)][q(0x1dd)],'test':f[q(0x1c9)][q(0x1d6)],'theme':f[q(0x1c9)][q(0x1e0)],'isComponent':![],'isLayout':!![],'withTranslations':f['features']['withTranslations']};f[q(0x1c4)]?.[q(0x1d3)]||b['withHook']?await this[q(0x1cf)][q(0x1ce)]({'srcPath':q(0x1df),'destPath':e+'.js','framework':q(0x1da),'context':i,'config':f}):await this[q(0x1cf)][q(0x1ce)]({'srcPath':q(0x1e2),'destPath':e+q(0x1d4),'framework':'react','context':i,'config':f});f['engines'][q(0x1d6)]!==q(0x1e7)&&await this[q(0x1cf)]['template']({'srcPath':q(0x1ed),'destPath':e+q(0x1d8),'framework':q(0x1da),'context':i,'config':f});f[q(0x1ce)][q(0x1f4)]&&(await this[q(0x1cf)][q(0x1ce)]({'srcPath':q(0x1f9),'destPath':e+q(0x1e3),'context':Object[q(0x1ca)]({},i,{'className':paramCase(b[q(0x1eb)])}),'config':f}),await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':q(0x1e1)+i['fileName']+'.'+f[q(0x1c9)][q(0x1f4)]+'\x27;'}));const j=b[q(0x1d2)]?'/'+b[q(0x1d2)]+'/':'/',k=''+c+j+i[q(0x1c8)]+'/'+i[q(0x1c8)];await this[q(0x1cf)][q(0x203)](i[q(0x200)],f,k);});});
@@ -1 +1 @@
1
- const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x1ca))/0x1*(parseInt(f(0x1c5))/0x2)+-parseInt(f(0x1cb))/0x3*(-parseInt(f(0x1d4))/0x4)+-parseInt(f(0x1d2))/0x5*(parseInt(f(0x1d1))/0x6)+parseInt(f(0x1c4))/0x7+parseInt(f(0x1d9))/0x8+-parseInt(f(0x1cf))/0x9*(-parseInt(f(0x1d3))/0xa)+-parseInt(f(0x1ce))/0xb*(parseInt(f(0x1cd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xf0592));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a['toString']()[h(0x1d7)]('(((.+)+)+)+$')['toString']()[h(0x1d8)](a123a)[h(0x1d7)]('(((.+)+)+)+$');});function a123c(){const j=['apply','maka\x20g:scaffold\x20todos','38524xmrUBm','793227SOWnhx','maka\x20g:route\x20todos/edit','12ejNYDb','1870935nsejcz','2569041oiiXTL','maka\x20g:template\x20todos/todo_item','16548exJIZY','2110ECHhPj','50CILvrq','4dEEpGZ','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20{generate,\x20g}:<generator>\x20<name>','search','constructor','1070440TBvLhL','maka\x20g:package\x20package:name','3181108mCsqHR','2FFznSO','maka\x20generate:scaffold\x20todos','generate'];a123c=function(){return j;};return a123c();}a123a();function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a123d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a123i(0x1c7),'aliases':['g'],'usage':a123i(0x1d6),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a123i(0x1d5),'examples':[a123i(0x1c6),a123i(0x1c9),a123i(0x1d0),a123i(0x1da),a123i(0x1cc),'maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
1
+ const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x1bb))/0x1*(-parseInt(f(0x1c2))/0x2)+parseInt(f(0x1c8))/0x3*(-parseInt(f(0x1be))/0x4)+-parseInt(f(0x1c4))/0x5*(parseInt(f(0x1c7))/0x6)+-parseInt(f(0x1c1))/0x7+-parseInt(f(0x1ba))/0x8+parseInt(f(0x1c9))/0x9+parseInt(f(0x1b7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x4b1af));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()['search'](h(0x1c3))[h(0x1ca)]()[h(0x1bc)](a124a)[h(0x1c5)](h(0x1c3));});a124a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a124i(0x1b6),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a124i(0x1bf),'examples':['maka\x20generate:scaffold\x20todos',a124i(0x1b8),'maka\x20g:template\x20todos/todo_item',a124i(0x1c0),a124i(0x1c6),a124i(0x1bd),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1b6;let f=c[d];return f;},a124d(a,b);}export default MakaGen;function a124c(){const j=['maka\x20g:scaffold\x20todos','apply','3656056ClfZWU','1ELyUWC','constructor','maka\x20g:api\x20trucks','4ZewGvR','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:package\x20package:name','632380RAFyHu','983266GSBoFV','(((.+)+)+)+$','2028700lCOYdd','search','maka\x20g:route\x20todos/edit','6HjMLra','1727427pQAvkm','2109816uCzBdX','toString','generate','20937360cMwfvp'];a124c=function(){return j;};return a124c();}
@@ -1 +1 @@
1
- const a124m=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=parseInt(j(0x13d))/0x1*(parseInt(j(0x14c))/0x2)+-parseInt(j(0x156))/0x3+-parseInt(j(0x15d))/0x4+-parseInt(j(0x152))/0x5+parseInt(j(0x157))/0x6*(-parseInt(j(0x15c))/0x7)+-parseInt(j(0x155))/0x8*(parseInt(j(0x14e))/0x9)+-parseInt(j(0x15e))/0xa*(-parseInt(j(0x15a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x5c396));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a124d;if(c){const e=c[k(0x147)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const l=a124d;return a124a[l(0x148)]()['search']('(((.+)+)+)+$')['toString']()['constructor'](a124a)[l(0x143)](l(0x13c));});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x13b;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a124m(0x14b)]({'name':a124m(0x149),'aliases':['m'],'usage':a124m(0x151),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a124m(0x159)],'examples':[a124m(0x141)]},async function(a,b){const n=a124m;try{const c=this[n(0x154)][n(0x13b)]();await this['fsi'][n(0x140)](c,async()=>{const o=n,d=paramCase(b[o(0x13f)]),f={'name':b[o(0x13f)],'fileName':d,'className':pascalCase(b[o(0x13f)]),'camelCase':camelCase(b[o(0x13f)]),'noRename':!![]};let g='js';c[o(0x144)]['js']===o(0x153)&&(g='ts');await this[o(0x154)]['checkMeteorPackage']([o(0x158),'ddp-rate-limiter',o(0x142)],{'shouldInstall':!![]}),await this[o(0x154)][o(0x15b)]({'srcPath':'method/method.js','destPath':this['fsi'][o(0x14f)]({'pathParts':[o(0x13e),'startup',b[o(0x150)],o(0x15f),b[o(0x159)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0x159)]?'/'+b[o(0x159)]+'/':'/',i=this['fsi'][o(0x14f)]({'pathParts':[o(0x13e),'startup',b['appPathPrefix'],o(0x14d)+c[o(0x144)]['js']]});await this[o(0x154)][o(0x145)]({'filePath':i,'content':o(0x146)+h+d+o(0x14a)});});}catch(d){Log['error'](d);}});function a124c(){const p=['methods','getMakaProjectConfig','(((.+)+)+)+$','5qjmRav','imports','resourceName','withValue','maka\x20g:method\x20todos','mdg:validated-method','search','engines','injectAtEndOfFile','import\x20\x27./methods','apply','toString','method','-rpc-method\x27;','create','282984Uuhprc','index.','4041NHaeZs','pathFromApp','appPathPrefix','maka\x20{generate,\x20g}:{method,\x20m}\x20name','3679635RMhsHv','tsx','fsi','4504KShBkl','1940019MdHVAk','8682NuzXpW','maka:check','dir','11vvmcph','template','2275tcEkgc','354508FqZeOf','18645790LZLWBG'];a124c=function(){return p;};return a124c();}
1
+ const a125m=a125d;(function(a,b){const j=a125d,c=a();while(!![]){try{const d=-parseInt(j(0xbf))/0x1+-parseInt(j(0xdf))/0x2*(parseInt(j(0xd3))/0x3)+-parseInt(j(0xd0))/0x4+-parseInt(j(0xcc))/0x5*(-parseInt(j(0xc8))/0x6)+parseInt(j(0xd9))/0x7*(-parseInt(j(0xd2))/0x8)+-parseInt(j(0xe3))/0x9+-parseInt(j(0xc3))/0xa*(-parseInt(j(0xce))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x8f58b));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a125d;if(c){const e=c[k(0xc2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const l=a125d;return a125a['toString']()['search']('(((.+)+)+)+$')[l(0xcd)]()[l(0xdb)](a125a)[l(0xda)](l(0xc9));});a125a();function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xbd;let f=c[d];return f;},a125d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a125c(){const p=['maka:check','fsi','2569977jqQkFW','getMakaProjectConfig','create','653485spyshw','withValue','tsx','apply','10030bjJkNt','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','method','import\x20\x27./methods','-rpc-method.','642PcMqiI','(((.+)+)+)+$','dir','engines','25405rHBldm','toString','27731LnInTd','-rpc-method\x27;','1791408PIRrrd','pathFromApp','88584xgZhLF','268701eKZHMK','imports','methods','resourceName','method/method.js','checkMeteorPackage','581Pruzsi','search','constructor','maka\x20g:method\x20todos','injectAtEndOfFile','startup','4dHIFnx','error'];a125c=function(){return p;};return a125c();}Generator[a125m(0xbe)]({'name':a125m(0xc5),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a125m(0xc4),'validOpts':[a125m(0xca)],'examples':[a125m(0xdc)]},async function(a,b){const n=a125m;try{const c=this[n(0xe2)][n(0xbd)]();await this[n(0xe2)][n(0xc0)](c,async()=>{const o=n,d=paramCase(b[o(0xd6)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0xd6)]),'noRename':!![]};let g='js';c[o(0xcb)]['js']===o(0xc1)&&(g='ts');await this[o(0xe2)][o(0xd8)]([o(0xe1),'ddp-rate-limiter','mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0xe2)]['template']({'srcPath':o(0xd7),'destPath':this['fsi'][o(0xd1)]({'pathParts':[o(0xd4),o(0xde),b['appPathPrefix'],o(0xd5),b[o(0xca)],d+o(0xc7)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0xca)]+'/':'/',i=this[o(0xe2)][o(0xd1)]({'pathParts':['imports',o(0xde),b['appPathPrefix'],'index.'+c[o(0xcb)]['js']]});await this[o(0xe2)][o(0xdd)]({'filePath':i,'content':o(0xc6)+h+d+o(0xcf)});});}catch(d){Log[n(0xe0)](d);}});
@@ -1 +1 @@
1
- const a125n=a125d;(function(a,b){const l=a125d,c=a();while(!![]){try{const d=parseInt(l(0x1c2))/0x1*(-parseInt(l(0x1cb))/0x2)+-parseInt(l(0x1cf))/0x3*(parseInt(l(0x1ec))/0x4)+-parseInt(l(0x1c8))/0x5*(-parseInt(l(0x1db))/0x6)+-parseInt(l(0x1c9))/0x7*(parseInt(l(0x1c5))/0x8)+parseInt(l(0x1ea))/0x9*(-parseInt(l(0x1eb))/0xa)+-parseInt(l(0x1c7))/0xb*(-parseInt(l(0x1df))/0xc)+-parseInt(l(0x1e5))/0xd*(-parseInt(l(0x1d4))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xdef43));const a125b=(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;};}()),a125a=a125b(this,function(){const m=a125d;return a125a[m(0x1e1)]()[m(0x1d1)](m(0x1c6))[m(0x1e1)]()[m(0x1cc)](a125a)['search'](m(0x1c6));});a125a();function a125c(){const q=['client','tests/client','.js','store','hasOwnProperty','fsi','953886fFHjfo','ssr','template/template.js','lib','12yTsffX','package/package.js','toString','noRename','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','tests/server','1062776eqdkHJ','/package.js','theme','dir','pathFromAppWithNoReWrite','1084653YHwuuX','150QdFAyt','2393932xiGOZG','1SVIJSw','packages','package.js','13360lcmYNb','(((.+)+)+)+$','16791401jbNFOY','5ZOjBaq','6146brqlcs','/client/','2739792Jcwweq','constructor','resourceName','template','6lPiSJI','engines','search','graphql','create','868beKNHg'];a125c=function(){return q;};return a125c();}import a125e from'path';import{Generator}from'../generator.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a125d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a125n(0x1d3)]({'name':'package','aliases':['p'],'usage':a125n(0x1e3),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a125n(0x1e8)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const o=a125n,c=paramCase(b[o(0x1cd)]),d=this[o(0x1da)]['pathFromApp']({'pathParts':[o(0x1c3),b['dir'],c]}),e=this[o(0x1da)][o(0x1e9)]({'pathParts':['packages',b[o(0x1e8)],c,o(0x1c4)]}),f=this['fsi']['getMakaProjectConfig']();await this['fsi']['withValue'](f,async()=>{const p=o,g={'name':paramCase(b['resourceName']),'myPath':a125e['relative'](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b[p(0x1cd)]),'className':pascalCase(b[p(0x1cd)]),'camelCaseName':camelCase(b[p(0x1cd)]),'fileName':c,'client':f['engines'][p(0x1d5)],'graphql':f[p(0x1d0)][p(0x1d2)],'ssr':f['engines'][p(0x1dc)],'isComponent':b[p(0x1d9)]('component'),'isLayout':b[p(0x1d9)]('layout'),'isStore':b[p(0x1d9)](p(0x1d8)),'features':f['features'],'noRename':!![],'theme':f[p(0x1d0)][p(0x1e7)]};await this[p(0x1da)]['template']({'srcPath':p(0x1e0),'destPath':e,'context':g,'config':f}),g[p(0x1e2)]=![];const h=d+p(0x1ca)+c+p(0x1d7);await this[p(0x1da)][p(0x1ce)]({'srcPath':p(0x1dd),'destPath':h,'context':g,'config':f});const i=[p(0x1de),'server',p(0x1d6),p(0x1e4)];for(const j of i){const k=d+'/'+j+'/'+c+p(0x1d7);await this['fsi'][p(0x1ce)]({'srcPath':'package/'+j+p(0x1e6),'destPath':k,'context':g,'config':f});}});});
1
+ const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x1fc))/0x1*(parseInt(l(0x1e9))/0x2)+parseInt(l(0x1d8))/0x3*(parseInt(l(0x1e0))/0x4)+parseInt(l(0x1e2))/0x5+-parseInt(l(0x1eb))/0x6*(parseInt(l(0x1da))/0x7)+-parseInt(l(0x1df))/0x8*(parseInt(l(0x1e6))/0x9)+-parseInt(l(0x1d4))/0xa+parseInt(l(0x1db))/0xb*(-parseInt(l(0x1f3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x69b6b));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const m=a126d;return a126a[m(0x1e3)]()['search'](m(0x1f4))[m(0x1e3)]()['constructor'](a126a)[m(0x1dc)](m(0x1f4));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a126d(a,b);}a126a();import a126e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a126n(0x1e1)]({'name':a126n(0x1d6),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a126n(0x1ed)],'examples':[a126n(0x1ee)]},async function(a,b){const o=a126n,c=paramCase(b[o(0x1e8)]),d=this[o(0x1e5)][o(0x1f7)]({'pathParts':[o(0x1d9),b[o(0x1ed)],c]}),e=this['fsi'][o(0x1f0)]({'pathParts':[o(0x1d9),b[o(0x1ed)],c,o(0x1d5)]}),f=this[o(0x1e5)][o(0x1d1)]();await this[o(0x1e5)][o(0x1ec)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x1e8)]),'myPath':a126e[p(0x1e4)](this[p(0x1e5)][p(0x1d2)]({}),d),'cssCaseName':paramCase(b[p(0x1e8)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[p(0x1e8)]),'fileName':c,'client':f[p(0x1f9)][p(0x1e7)],'graphql':f[p(0x1f9)][p(0x1d7)],'ssr':f['engines']['ssr'],'isComponent':b[p(0x1ea)](p(0x1ef)),'isLayout':b['hasOwnProperty'](p(0x1fa)),'isStore':b['hasOwnProperty'](p(0x1d3)),'features':f['features'],'noRename':!![],'theme':f[p(0x1f9)]['theme']};await this[p(0x1e5)]['template']({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[p(0x1f8)]=![];const h=d+p(0x1de)+c+'.js';await this[p(0x1e5)][p(0x1f2)]({'srcPath':p(0x1f1),'destPath':h,'context':g,'config':f});const i=[p(0x1dd),'server',p(0x1f5),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this['fsi']['template']({'srcPath':p(0x1f6)+j+p(0x1fb),'destPath':k,'context':g,'config':f});}});});function a126c(){const q=['store','7877790vvDGPy','package.js','package','graphql','4170wnGCbp','packages','7HjLMIA','124344FUoDjZ','search','lib','/client/','8equdPg','2224VQJhlq','create','3555700tffydA','toString','relative','fsi','5763681CsrJCG','client','resourceName','16UxABSI','hasOwnProperty','66126otmPrf','withValue','dir','maka\x20g:package\x20todos:package','component','pathFromAppWithNoReWrite','template/template.js','template','48kyIPBd','(((.+)+)+)+$','tests/client','package/','pathFromApp','noRename','engines','layout','/package.js','54181aItdIh','getMakaProjectConfig','pathFromProject'];a126c=function(){return q;};return a126c();}
@@ -1 +1 @@
1
- const a126m=a126d;function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x9e;let f=c[d];return f;},a126d(a,b);}(function(a,b){const j=a126d,c=a();while(!![]){try{const d=parseInt(j(0xac))/0x1+parseInt(j(0xc7))/0x2+-parseInt(j(0xc8))/0x3*(parseInt(j(0xcf))/0x4)+-parseInt(j(0xbe))/0x5+parseInt(j(0xd1))/0x6+-parseInt(j(0xa7))/0x7+parseInt(j(0xd4))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x18d11));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a126d;if(c){const e=c[k(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const l=a126d;return a126a[l(0xba)]()[l(0xce)](l(0xae))[l(0xba)]()['constructor'](a126a)[l(0xce)](l(0xae));});a126a();function a126c(){const p=['pathFromProject','root','route','react','withTranslations','processAndRunGenerator','html','toString','test','true','client','672510NgAGBd','dir','hasOwnProperty','.app-tests.js','pathFromApp','string','.js','engines','Generate\x20a\x20page.','34046GISrtF','435063OsLZZe','layout','theme','baseDir','.html','checkNpmPackage','search','4iNktNR','withHook','427404vtaYhF','resourceName','hook/hook.js','2058272Ndueoo','css','getMakaProjectConfig','template','apply','ramda','Updating\x20npm\x20packages\x20...','setTemplate','relative','.css','features','template/template.css','none','1079925gqHiqt','hooks','fileName','components','ssr','189906QxZGal','assign','(((.+)+)+)+$','fsi','template/template.html','injectAtBeginningOfFile','store'];a126c=function(){return p;};return a126c();}import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a126f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':'page','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a126m(0xc6),'validOpts':[{'name':'baseDir','values':[a126m(0xa8),a126m(0xaa),'pages','layouts']},{'name':'withHook','boolFlag':!![]}],'examples':['maka\x20g:page\x20todos/todos-item']},async function(a,b){const n=a126m,c=b[n(0xcb)]?'/imports/ui/'+b[n(0xcb)]:'/imports/ui/pages',d=this[n(0xaf)]['findAppDirectory'](),e=this[n(0xaf)][n(0xc2)]({'pathParts':[c,b['dir'],paramCase(b[n(0xd2)]),paramCase(b[n(0xd2)])]}),f=this['fsi'][n(0xd6)]();let g='';return await this[n(0xaf)]['withValue'](f,async()=>{const o=n;typeof f[o(0xd7)][o(0xb9)]===o(0xc3)&&(f[o(0xd7)][o(0xb9)]=f[o(0xd7)]['html']===o(0xbc)?!![]:![],this[o(0xaf)][o(0xa1)]('html',f[o(0xd7)][o(0xb9)]));typeof f[o(0xd7)][o(0xbb)]===o(0xc3)&&(f[o(0xd7)][o(0xbb)]=f['template'][o(0xbb)]===o(0xbc)?!![]:![],this[o(0xaf)][o(0xa1)](o(0xbb),f['template'][o(0xbb)]));typeof f[o(0xd7)]['css']==='string'&&(f[o(0xd7)]['css']=f[o(0xd7)][o(0xd5)]===o(0xbc)?!![]:![],this[o(0xaf)][o(0xa1)](o(0xd5),f[o(0xd7)][o(0xd5)]));typeof f[o(0xd7)]['js']===o(0xc3)&&(f[o(0xd7)]['js']=f['template']['js']===o(0xbc)?!![]:![],this[o(0xaf)][o(0xa1)]('js',f[o(0xd7)]['js']));!f[o(0xa4)]&&(f[o(0xa4)]={});!b[o(0xb4)]&&!this[o(0xaf)][o(0xcd)](o(0x9f))&&(Log['warn'](o(0xa0)),this['fsi']['installNpmPackage'](o(0x9f),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a126e[o(0xa2)](this[o(0xaf)][o(0xb3)]({}),e),'cssCaseName':paramCase(b[o(0xd2)]),'className':pascalCase(b[o(0xd2)]),'camelCaseName':camelCase(b[o(0xd2)]),'fileName':paramCase(b[o(0xd2)]),'graphql':f[o(0xc5)]['graphql'],'features':f[o(0xa4)],'client':f[o(0xc5)][o(0xbd)],'api':f[o(0xc5)]['api'],'ssr':f[o(0xc5)][o(0xab)],'isStore':b['hasOwnProperty'](o(0xb2)),'isComponent':b[o(0xc0)]('component'),'isLayout':b['hasOwnProperty'](o(0xc9)),'withTranslations':f[o(0xa4)][o(0xb7)],'test':f[o(0xc5)]['test'],'theme':f[o(0xc5)][o(0xca)]};f[o(0xd7)][o(0xb9)]&&await this[o(0xaf)][o(0xd7)]({'srcPath':o(0xb0),'destPath':e+o(0xcc),'context':h,'config':f});f[o(0xa4)]?.['withHooks']||b[o(0xd0)]?await this[o(0xaf)]['template']({'srcPath':o(0xd3),'destPath':e+o(0xc4),'framework':o(0xb6),'context':h,'config':f}):await this[o(0xaf)]['template']({'srcPath':'component/component.js','destPath':e+'.js','framework':o(0xb6),'context':h,'config':f});f[o(0xc5)][o(0xbb)]!==o(0xa6)&&await this[o(0xaf)][o(0xd7)]({'srcPath':'test/test.js','destPath':e+o(0xc1),'framework':'react','context':h,'config':f});f[o(0xd7)][o(0xd5)]&&await this[o(0xaf)][o(0xd7)]({'srcPath':o(0xa5),'destPath':e+o(0xa3),'context':Object[o(0xad)]({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[o(0xc5)][o(0xbd)]!==o(0xb6)&&f['engines'][o(0xbd)]!=='vanilla'?(f[o(0xd7)][o(0xd5)]&&await this['fsi'][o(0xb1)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+h[o(0xa9)]+'.'+f['engines'][o(0xb9)]+'\x27;\x0a'+'import\x20\x27./'+h[o(0xa9)]+'.'+f[o(0xc5)]['css']+'\x27;'}),!f[o(0xd7)][o(0xd5)]&&await this[o(0xaf)][o(0xb1)]({'filePath':e+'.'+f[o(0xc5)]['js'],'content':'import\x20\x27./'+h[o(0xa9)]+'.'+f[o(0xc5)]['html']+'\x27;'})):f['template'][o(0xd5)]&&await this[o(0xaf)][o(0xb1)]({'filePath':e+'.'+f[o(0xc5)]['js'],'content':'import\x20\x27./'+h[o(0xa9)]+'.'+f['engines'][o(0xd5)]+'\x27;'});const i=b[o(0xbf)]?'/'+b[o(0xbf)]+'/':'/';g=''+c+i+h[o(0xa9)]+'/'+h['fileName'],await this[o(0xaf)]['injectTemplateModule'](h['className'],f,g),!b['root']&&await a126f[o(0xb8)](o(0xb5),[i+b[o(0xd2)]],b);}),g+'.'+f['engines']['js'];});
1
+ const a127m=a127d;(function(a,b){const j=a127d,c=a();while(!![]){try{const d=parseInt(j(0x143))/0x1+-parseInt(j(0x130))/0x2*(-parseInt(j(0x14c))/0x3)+parseInt(j(0x149))/0x4*(parseInt(j(0x156))/0x5)+parseInt(j(0x159))/0x6+-parseInt(j(0x15d))/0x7*(-parseInt(j(0x12c))/0x8)+-parseInt(j(0x174))/0x9*(-parseInt(j(0x146))/0xa)+-parseInt(j(0x13f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xeadbf));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a127d;if(c){const e=c[k(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const l=a127d;return a127a[l(0x163)]()[l(0x145)]('(((.+)+)+)+$')[l(0x163)]()[l(0x170)](a127a)[l(0x145)]('(((.+)+)+)+$');});a127a();import a127e from'path';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x12b;let f=c[d];return f;},a127d(a,b);}function a127c(){const p=['layouts','component','layout','855672pgYmgd','test/test.js','search','914280KRzdYR','.html','client','2181544REAnke','hooks','hasOwnProperty','3jKiaNY','checkNpmPackage','.js','dir','withValue','pathFromProject','import\x20\x27./','resourceName','installNpmPackage','injectTemplateModule','5RdiBia','page','/imports/ui/pages','10701996XENxev','engines','setTemplate','/imports/ui/','3055843caDBvS','none','template/template.html','.app-tests.js','test','processAndRunGenerator','toString','fsi','getMakaProjectConfig','withHook','pages','Generate\x20a\x20page.','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','true','string','template/template.css','pathFromApp','baseDir','root','constructor','route','withTranslations','ssr','171CYwaEy','components','24jPUrzs','html','fileName','findAppDirectory','2780094GpUYUB','css','maka\x20g:page\x20todos/todos-item','template','graphql','react','apply','store','\x27;\x0a','.css','api','ramda','features','injectAtBeginningOfFile','assign','73255237MwGMAj'];a127c=function(){return p;};return a127c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a127f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a127m(0x157),'aliases':aliases,'usage':a127m(0x169),'shortDesc':a127m(0x168),'validOpts':[{'name':a127m(0x16e),'values':[a127m(0x14a),a127m(0x12b),a127m(0x167),a127m(0x140)]},{'name':a127m(0x166),'boolFlag':!![]}],'examples':[a127m(0x132)]},async function(a,b){const n=a127m,c=b['baseDir']?n(0x15c)+b[n(0x16e)]:n(0x158),d=this['fsi'][n(0x12f)](),e=this[n(0x164)][n(0x16d)]({'pathParts':[c,b['dir'],paramCase(b[n(0x153)]),paramCase(b['resourceName'])]}),f=this[n(0x164)][n(0x165)]();let g='';return await this[n(0x164)][n(0x150)](f,async()=>{const o=n;typeof f[o(0x133)][o(0x12d)]==='string'&&(f[o(0x133)][o(0x12d)]=f['template']['html']===o(0x16a)?!![]:![],this['fsi']['setTemplate'](o(0x12d),f[o(0x133)]['html']));typeof f[o(0x133)][o(0x161)]==='string'&&(f[o(0x133)][o(0x161)]=f[o(0x133)]['test']===o(0x16a)?!![]:![],this[o(0x164)][o(0x15b)](o(0x161),f[o(0x133)][o(0x161)]));typeof f[o(0x133)][o(0x131)]===o(0x16b)&&(f[o(0x133)][o(0x131)]=f['template']['css']===o(0x16a)?!![]:![],this[o(0x164)]['setTemplate']('css',f['template'][o(0x131)]));typeof f[o(0x133)]['js']===o(0x16b)&&(f[o(0x133)]['js']=f[o(0x133)]['js']===o(0x16a)?!![]:![],this[o(0x164)][o(0x15b)]('js',f[o(0x133)]['js']));!f[o(0x13c)]&&(f[o(0x13c)]={});!b[o(0x16f)]&&!this[o(0x164)][o(0x14d)]('ramda')&&(Log['warn']('Updating\x20npm\x20packages\x20...'),this['fsi'][o(0x154)](o(0x13b),{'cwd':d}));const h={'name':pascalCase(b[o(0x153)]),'myPath':a127e['relative'](this[o(0x164)][o(0x151)]({}),e),'cssCaseName':paramCase(b[o(0x153)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':f[o(0x15a)][o(0x134)],'features':f[o(0x13c)],'client':f[o(0x15a)][o(0x148)],'api':f[o(0x15a)][o(0x13a)],'ssr':f[o(0x15a)][o(0x173)],'isStore':b['hasOwnProperty'](o(0x137)),'isComponent':b[o(0x14b)](o(0x141)),'isLayout':b[o(0x14b)](o(0x142)),'withTranslations':f[o(0x13c)][o(0x172)],'test':f[o(0x15a)][o(0x161)],'theme':f['engines']['theme']};f['template'][o(0x12d)]&&await this[o(0x164)][o(0x133)]({'srcPath':o(0x15f),'destPath':e+o(0x147),'context':h,'config':f});f[o(0x13c)]?.['withHooks']||b[o(0x166)]?await this['fsi']['template']({'srcPath':'hook/hook.js','destPath':e+o(0x14e),'framework':o(0x135),'context':h,'config':f}):await this['fsi']['template']({'srcPath':'component/component.js','destPath':e+'.js','framework':'react','context':h,'config':f});f['engines'][o(0x161)]!==o(0x15e)&&await this[o(0x164)][o(0x133)]({'srcPath':o(0x144),'destPath':e+o(0x160),'framework':'react','context':h,'config':f});f[o(0x133)][o(0x131)]&&await this[o(0x164)][o(0x133)]({'srcPath':o(0x16c),'destPath':e+o(0x139),'context':Object[o(0x13e)]({},h,{'className':paramCase(b[o(0x153)])}),'config':f});f[o(0x15a)]['client']!==o(0x135)&&f[o(0x15a)][o(0x148)]!=='vanilla'?(f[o(0x133)][o(0x131)]&&await this[o(0x164)][o(0x13d)]({'filePath':e+'.'+f[o(0x15a)]['js'],'content':o(0x152)+h['fileName']+'.'+f[o(0x15a)][o(0x12d)]+o(0x138)+'import\x20\x27./'+h[o(0x12e)]+'.'+f[o(0x15a)][o(0x131)]+'\x27;'}),!f['template'][o(0x131)]&&await this[o(0x164)][o(0x13d)]({'filePath':e+'.'+f[o(0x15a)]['js'],'content':o(0x152)+h[o(0x12e)]+'.'+f[o(0x15a)][o(0x12d)]+'\x27;'})):f[o(0x133)][o(0x131)]&&await this[o(0x164)][o(0x13d)]({'filePath':e+'.'+f[o(0x15a)]['js'],'content':o(0x152)+h['fileName']+'.'+f[o(0x15a)][o(0x131)]+'\x27;'});const i=b[o(0x14f)]?'/'+b[o(0x14f)]+'/':'/';g=''+c+i+h[o(0x12e)]+'/'+h['fileName'],await this[o(0x164)][o(0x155)](h['className'],f,g),!b['root']&&await a127f[o(0x162)](o(0x171),[i+b['resourceName']],b);}),g+'.'+f['engines']['js'];});
@@ -1 +1 @@
1
- function a127c(){const s=['search','apply','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','fsi','9793782DyDYjr','9368690HOfkDl','error','590860cOLspW','template','779007XUvIFU','11yiWURE','appPathPrefix','pathFromApp','imports','force','injectAtEndOfFile','dir','resourceName','globalPublish','tsx','/imports/startup/server/publications','baseDir','136lPEBAm','553167xvDjeN','withValue','/imports/ui/','151548NKHIRK','create','maka\x20g:publish\x20todos','toString','7PkSEUQ','exit','60nfQTiO','(((.+)+)+)+$','479092ovLHNb','engines','12aCsMWl','constructor'];a127c=function(){return s;};return a127c();}const a127p=a127d;(function(a,b){const m=a127d,c=a();while(!![]){try{const d=parseInt(m(0x94))/0x1+-parseInt(m(0xb1))/0x2*(parseInt(m(0x96))/0x3)+-parseInt(m(0xaf))/0x4*(-parseInt(m(0xad))/0x5)+-parseInt(m(0xb7))/0x6*(parseInt(m(0xab))/0x7)+parseInt(m(0xa3))/0x8*(parseInt(m(0xa4))/0x9)+parseInt(m(0x92))/0xa+parseInt(m(0x97))/0xb*(parseInt(m(0xa7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xcb2c2));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a127d;if(c){const e=c[n(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const o=a127d;return a127a[o(0xaa)]()['search'](o(0xae))['toString']()[o(0xb2)](a127a)[o(0xb3)](o(0xae));});a127a();function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x92;let f=c[d];return f;},a127d(a,b);}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a127p(0xa8)]({'name':'publish','aliases':['p'],'usage':a127p(0xb5),'shortDesc':'Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','validOpts':['force','globalPublish'],'examples':[a127p(0xa9)]},async function(a,b){const q=a127p;try{const c=b[q(0x9b)]||![],d=b[q(0xa2)]?q(0xa6)+b['baseDir']:q(0xa1),f=this['fsi']['getMakaProjectConfig'](),g=paramCase(b['resourceName']),h=this[q(0xb6)]['pathFromApp']({'pathParts':[d,b[q(0x9d)],'',g]});let i='js';f[q(0xb0)]['js']===q(0xa0)&&(i='ts');await this['fsi'][q(0xa5)](f,async()=>{const r=q,l={'name':b['resourceName'],'collection':pascalCase(b[r(0x9e)]),'noRename':!![],'globalPublish':b[r(0x9f)]};await this[r(0xb6)][r(0x95)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0xb6)][q(0x99)]({'pathParts':[q(0x9a),'startup','server',b[q(0x98)],'index.'+f[q(0xb0)]['js']]}),k=b[q(0x9d)]?'/'+b[q(0x9d)]+'/':'/';return await this[q(0xb6)][q(0x9c)]({'filePath':j,'content':'import\x20\x27./publications'+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x93)](l),process[q(0xac)](0x1);}});
1
+ const a128p=a128d;function a128c(){const s=['index.','publish','(((.+)+)+)+$','/imports/startup/server/publications','/imports/ui/','2560572nuXAKY','4386032HSQdfm','dir','constructor','import\x20\x27./publications','search','fsi','force','31389GOSGvc','injectAtEndOfFile','getMakaProjectConfig','resourceName','server','appPathPrefix','withValue','884BppBMV','4358944cwcfbE','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','6093vNwVJr','create','globalPublish','baseDir','pathFromApp','21155mMZYZL','62PWnwwU','apply','tsx','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','2527914WWUCnI','toString','13180btTFlS','publish/publish.js'];a128c=function(){return s;};return a128c();}function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x123;let f=c[d];return f;},a128d(a,b);}(function(a,b){const m=a128d,c=a();while(!![]){try{const d=parseInt(m(0x12b))/0x1*(parseInt(m(0x13b))/0x2)+-parseInt(m(0x123))/0x3+-parseInt(m(0x132))/0x4*(-parseInt(m(0x13a))/0x5)+parseInt(m(0x13f))/0x6+-parseInt(m(0x124))/0x7+parseInt(m(0x133))/0x8+-parseInt(m(0x135))/0x9*(parseInt(m(0x141))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x7a897));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a128d;if(c){const e=c[n(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const o=a128d;return a128a[o(0x140)]()['search']('(((.+)+)+)+$')[o(0x140)]()[o(0x126)](a128a)[o(0x128)](o(0x145));});a128a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a128p(0x136)]({'name':a128p(0x144),'aliases':['p'],'usage':a128p(0x134),'shortDesc':a128p(0x13e),'validOpts':[a128p(0x12a),a128p(0x137)],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const q=a128p;try{const c=b[q(0x12a)]||![],d=b[q(0x138)]?q(0x147)+b[q(0x138)]:q(0x146),f=this['fsi'][q(0x12d)](),g=paramCase(b[q(0x12e)]),h=this[q(0x129)][q(0x139)]({'pathParts':[d,b[q(0x125)],'',g]});let i='js';f['engines']['js']===q(0x13d)&&(i='ts');await this[q(0x129)][q(0x131)](f,async()=>{const r=q,l={'name':b[r(0x12e)],'collection':pascalCase(b[r(0x12e)]),'noRename':!![],'globalPublish':b[r(0x137)]};await this[r(0x129)]['template']({'srcPath':r(0x142),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x129)]['pathFromApp']({'pathParts':['imports','startup',q(0x12f),b[q(0x130)],q(0x143)+f['engines']['js']]}),k=b[q(0x125)]?'/'+b['dir']+'/':'/';return await this[q(0x129)][q(0x12c)]({'filePath':j,'content':q(0x127)+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process['exit'](0x1);}});