@maka/maka-cli 4.12.9 → 4.12.11

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 (162) hide show
  1. package/bundle/obf/package.json +1 -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/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/collection.js +1 -1
  109. package/bundle/obf/src/generators/component.js +1 -1
  110. package/bundle/obf/src/generators/config.js +1 -1
  111. package/bundle/obf/src/generators/dbc.js +1 -1
  112. package/bundle/obf/src/generators/dockerfile.js +1 -1
  113. package/bundle/obf/src/generators/hook.js +1 -1
  114. package/bundle/obf/src/generators/kits/_index.js +1 -1
  115. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  117. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  118. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  119. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/kit.js +1 -1
  123. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  127. package/bundle/obf/src/generators/layout.js +1 -1
  128. package/bundle/obf/src/generators/maka.gen.js +1 -1
  129. package/bundle/obf/src/generators/methods.js +1 -1
  130. package/bundle/obf/src/generators/package.js +1 -1
  131. package/bundle/obf/src/generators/page.js +1 -1
  132. package/bundle/obf/src/generators/publish.js +1 -1
  133. package/bundle/obf/src/generators/route.js +1 -1
  134. package/bundle/obf/src/generators/service.js +1 -1
  135. package/bundle/obf/src/generators/services/_index.js +1 -1
  136. package/bundle/obf/src/generators/services/openssl.js +1 -1
  137. package/bundle/obf/src/generators/services/translation.js +1 -1
  138. package/bundle/obf/src/maka.js +1 -1
  139. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +1 -1
  140. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +1 -1
  141. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +1 -1
  142. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +1 -1
  143. package/bundle/obf/src/tool.js +1 -1
  144. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  145. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/https/https.class.js +1 -1
  152. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  153. package/bundle/obf/src/tools/log/log.class.js +1 -1
  154. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/options/options.class.js +1 -1
  156. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  157. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  159. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  161. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  162. package/package.json +1 -1
@@ -1 +1 @@
1
- const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=parseInt(o(0x12e))/0x1*(-parseInt(o(0x10c))/0x2)+-parseInt(o(0x130))/0x3+parseInt(o(0x106))/0x4*(parseInt(o(0x135))/0x5)+parseInt(o(0x109))/0x6+-parseInt(o(0x111))/0x7*(parseInt(o(0x108))/0x8)+parseInt(o(0x112))/0x9*(-parseInt(o(0x116))/0xa)+-parseInt(o(0x100))/0xb*(-parseInt(o(0x127))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x2f99a));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x118)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x110)]()[q(0x10b)](q(0x101))[q(0x110)]()[q(0x10e)](a116a)[q(0x10b)](q(0x101));});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xfd;let f=c[d];return f;},a116d(a,b);}function a116c(){const u=['const\x20authenticateUser','fsi','const\x20registerNewUser','/imports/startup/lib/authentication-service','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','checkMeteorPackage','const\x20resetPasswordWithToken','meteor/accounts-base','\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','ssr','4344dZwAuB','injectIntoCodeBlock','getMakaProjectConfig','force','/imports/startup/client','AuthService','engines','11tJKdOt','imports','425661HcrOKy','meteor/meteor','template','/imports/startup/client/authentication-service','pathFromApp','5105GKWrUJ','publish','.js','Meteor','server','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib','processAndRunGenerator','meteor/maka:react-tracker','injectImport','kit/auth/service/meteor-auth-service.js','Meteor.startup','kit:auth:provider','findProjectDirectory','error','const\x20authenticateToken','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','index','const\x20getUserAuthorizations','15235ILGIuS','(((.+)+)+)+$','\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','meteor','export\x20const\x20AuthProvider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','92aScuUe','react','8IMHbeS','1370154gNGwhR','\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','search','28318HwWcjX','alanning:roles','constructor','withValue','toString','158375BSJZcc','31041ZanDVD','auth/roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','REACT','690XvzXZi','true','apply','\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','startup','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'];a116c=function(){return u;};return a116c();}import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a116r(0x103),'aliases':['m'],'usage':a116r(0x121),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a116r(0x12a)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0x115)]},'description':a116r(0x102)},async function(a,b){const s=a116r;try{const c=b['force']||![];await this[s(0x11e)][s(0x122)](['accounts-password',s(0x10d)],{'shouldInstall':!![]});const d=this[s(0x11e)][s(0x142)](),f=this[s(0x11e)][s(0x129)](),g=f[s(0x12d)][s(0x126)]===s(0x117);await a116f[s(0x13c)](s(0x141),[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x13c)](s(0x136),[s(0x113)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x13b):s(0x12b),j=this[s(0x11e)][s(0x134)]({'pathParts':[i,'','',s(0x11b)]});await this[s(0x11e)][s(0x10f)](f,async()=>{const t=s;await this[t(0x11e)][t(0x132)]({'srcPath':t(0x13f),'destPath':j+t(0x137),'framework':t(0x107),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x11e)][s(0x134)]({'pathParts':[i,'','','authentication-provider']}),l=f['engines']['js'];await this['fsi'][s(0x13e)]({'filePath':k+'.'+l,'importName':s(0x12c),'modulePath':g?s(0x120):s(0x133),'isNamedExport':![]}),await this[s(0x11e)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x145),'begin':s(0x11d),'replace':!![]}),await this[s(0x11e)][s(0x128)]({'filePath':k+'.'+l,'content':s(0x10a),'begin':s(0x144),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x11c),'begin':s(0xff),'replace':!![]}),await this[s(0x11e)][s(0x128)]({'filePath':k+'.'+l,'content':s(0x114),'begin':'const\x20deauthenticateUser','replace':!![]}),await this['fsi'][s(0x128)]({'filePath':k+'.'+l,'content':s(0xfd),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this[s(0x11e)][s(0x128)]({'filePath':k+'.'+l,'content':s(0x105),'begin':s(0x11f),'replace':!![]}),await this[s(0x11e)][s(0x128)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x123),'replace':!![]});g&&(await this['fsi'][s(0x13e)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x13d),'isNamedExport':!![]}),await this[s(0x11e)]['injectIntoFile']({'filePath':k+'.'+l,'content':s(0x125),'begin':s(0x104),'end':'return\x20\x5c('}));await this[s(0x11e)][s(0x13e)]({'filePath':h,'importName':s(0x138),'modulePath':s(0x131),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x11e)][s(0x128)]({'filePath':h,'content':s(0x13a),'begin':'Meteor.publish','replace':!![]});const m=this[s(0x11e)][s(0x134)]({'pathParts':[s(0x12f),s(0x11a),s(0x139),s(0xfe)]});await this[s(0x11e)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0x124),'isNamedExport':!![]}),await this[s(0x11e)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':s(0x119),'begin':s(0x140),'replace':!![]});}catch(n){Log[s(0x143)](n),process['exit'](0x1);}},async function(){},a116e);
1
+ const a116r=a116d;function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x179;let f=c[d];return f;},a116d(a,b);}(function(a,b){const o=a116d,c=a();while(!![]){try{const d=-parseInt(o(0x1a3))/0x1*(-parseInt(o(0x1a9))/0x2)+-parseInt(o(0x194))/0x3+parseInt(o(0x199))/0x4+parseInt(o(0x1a7))/0x5*(-parseInt(o(0x196))/0x6)+-parseInt(o(0x191))/0x7*(-parseInt(o(0x17b))/0x8)+-parseInt(o(0x188))/0x9*(parseInt(o(0x1b4))/0xa)+parseInt(o(0x1c0))/0xb*(-parseInt(o(0x1b5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xe9b37));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0x1ac)]()['search']('(((.+)+)+)+$')['toString']()[q(0x1b0)](a116a)[q(0x195)](q(0x17e));});function a116c(){const u=['accounts-password','72SktNxK','index','const\x20deauthenticateUser','error','getMakaProjectConfig','injectIntoFile','server','alanning:roles','processAndRunGenerator','7xKNVca','exit','meteor/meteor','1789227CvevaF','search','42PhysYp','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','findProjectDirectory','6881408rOUTSI','fsi','force','const\x20resetPasswordWithToken','pathFromApp','/imports/startup/client/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','withValue','publish','authentication-provider','1878097kDCBLv','const\x20getUserAuthorizations','useTracker','const\x20authenticateToken','573445MICjXd','export\x20const\x20AuthProvider','2DrkyzQ','/imports/startup/lib','injectImport','toString','Meteor.startup','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Accounts','constructor','Meteor.publish','startup','\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','916830HppVyQ','49260CllqHY','.js','kit/auth/service/meteor-auth-service.js','const\x20authenticateUser','\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','meteor/maka:react-tracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-service','authentication-service','injectIntoCodeBlock','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','6347zJYrxD','ssr','return\x20\x5c(','checkMeteorPackage','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client','14880568YOTNyH','const\x20sendForgotPasswordEmail','engines','(((.+)+)+)+$','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','react','Meteor','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','apply','\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','meteor'];a116c=function(){return u;};return a116c();}a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a116r(0x186),'aliases':['m'],'usage':a116r(0x180),'shortDesc':a116r(0x197),'validOpts':[a116r(0x19b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a116r(0x17f)},async function(a,b){const s=a116r;try{const c=b[s(0x19b)]||![];await this[s(0x19a)][s(0x1c3)]([s(0x187),s(0x18f)],{'shouldInstall':!![]});const d=this['fsi'][s(0x198)](),f=this[s(0x19a)][s(0x18c)](),g=f[s(0x17d)][s(0x1c1)]==='true';await a116f[s(0x190)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x190)](s(0x1a1),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x1aa):s(0x17a),j=this[s(0x19a)]['pathFromApp']({'pathParts':[i,'','',s(0x1bd)]});await this[s(0x19a)][s(0x1a0)](f,async()=>{const t=s;await this[t(0x19a)]['template']({'srcPath':t(0x1b7),'destPath':j+t(0x1b6),'framework':t(0x181),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x19a)][s(0x19d)]({'pathParts':[i,'','',s(0x1a2)]}),l=f[s(0x17d)]['js'];await this[s(0x19a)][s(0x1ab)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?s(0x1bc):s(0x19e),'isNamedExport':![]}),await this[s(0x19a)][s(0x1be)]({'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(0x1b8),'replace':!![]}),await this[s(0x19a)][s(0x1be)]({'filePath':k+'.'+l,'content':s(0x185),'begin':s(0x1a6),'replace':!![]}),await this['fsi'][s(0x1be)]({'filePath':k+'.'+l,'content':s(0x19f),'begin':s(0x1a4),'replace':!![]}),await this[s(0x19a)][s(0x1be)]({'filePath':k+'.'+l,'content':s(0x1bb),'begin':s(0x18a),'replace':!![]}),await this[s(0x19a)][s(0x1be)]({'filePath':k+'.'+l,'content':s(0x179),'begin':s(0x17c),'replace':!![]}),await this[s(0x19a)][s(0x1be)]({'filePath':k+'.'+l,'content':s(0x1bf),'begin':'const\x20registerNewUser','replace':!![]}),await this['fsi'][s(0x1be)]({'filePath':k+'.'+l,'content':s(0x1ae),'begin':s(0x19c),'replace':!![]});g&&(await this['fsi'][s(0x1ab)]({'filePath':k+'.'+l,'importName':s(0x1a5),'modulePath':s(0x1ba),'isNamedExport':!![]}),await this[s(0x19a)][s(0x18d)]({'filePath':k+'.'+l,'content':s(0x1b3),'begin':s(0x1a8),'end':s(0x1c2)}));await this[s(0x19a)]['injectImport']({'filePath':h,'importName':s(0x182),'modulePath':s(0x193),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0x1be)]({'filePath':h,'content':s(0x1b9),'begin':s(0x1b1),'replace':!![]});const m=this[s(0x19a)][s(0x19d)]({'pathParts':['imports',s(0x1b2),s(0x18e),s(0x189)]});await this[s(0x19a)][s(0x1ab)]({'filePath':m+'.'+l,'importName':s(0x1af),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this[s(0x19a)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':s(0x183),'begin':s(0x1ad),'replace':!![]});}catch(n){Log[s(0x18b)](n),process[s(0x192)](0x1);}},async function(){},a116e);
@@ -1 +1 @@
1
- function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a117d(a,b);}const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0x1e8))/0x1*(parseInt(u(0x1d1))/0x2)+-parseInt(u(0x1d7))/0x3+-parseInt(u(0x1f7))/0x4+-parseInt(u(0x1eb))/0x5*(-parseInt(u(0x1e2))/0x6)+-parseInt(u(0x1d6))/0x7*(parseInt(u(0x1e9))/0x8)+-parseInt(u(0x1db))/0x9+parseInt(u(0x1f9))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x70086));function a117c(){const A=['react','/imports/startup/server/index','template','1236xQyoLr','toString','\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','injectIntoCodeBlock','<AuthProvider>','AuthContext','7ZKjNuY','217024PqxcIL','/imports/startup/lib','20435QKddGT','constructor','useContext','const\x20Routes','create','true','search','injectImport','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','/imports/startup/client/authentication-provider','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','/imports/startup/client','1516848URdeDg','kit/auth/provider/authentication-provider.js','19376280ZkJWDi','/routes','force','withValue','<Routes\x20history={browserHistory}/>','/imports/startup/client/index','\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','.js','injectAroundString','fsi','<Routes\x20history={history}/>','/imports/startup/lib/authentication-provider','replaceAll','split','ssr','pathFromApp','144634OxciXa','provider','AuthProvider','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','(((.+)+)+)+$','224GzAhYF','475947pratet','apply','engines','bright','3676392BzsJUz','REACT','</AuthProvider>','function\x20Routes'];a117c=function(){return A;};return a117c();}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x1d8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0x1e3)]()[w(0x1f1)](w(0x1d5))[w(0x1e3)]()[w(0x1ec)](a117a)[w(0x1f1)](w(0x1d5));});a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117x(0x1ef)]({'name':a117x(0x1d2),'aliases':['p'],'usage':a117x(0x1d4),'shortDesc':a117x(0x1f5),'validOpts':[a117x(0x1fb)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0x1dc)]},'description':a117x(0x1e4)},async function(a,b){const y=a117x;try{const c=b[y(0x1fb)]||![];Log[y(0x1da)](y(0x1f3));const d=this[y(0x202)]['getMakaProjectConfig'](),f=d[y(0x1d9)][y(0x1cf)]===y(0x1f0),g={'name':headerCase(d['appName'])[y(0x1cd)]('-','\x20')},h=f?y(0x1ea):y(0x1f6),i=this[y(0x202)]['pathFromApp']({'pathParts':[h,'','','authentication-provider']});await this[y(0x202)][y(0x1fc)](d,async()=>{const z=y;await this[z(0x202)][z(0x1e1)]({'srcPath':z(0x1f8),'destPath':i+z(0x200),'framework':z(0x1df),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+y(0x1fa),l=k['split']('/'),m=this[y(0x202)][y(0x1d0)]({'pathParts':l});await this['fsi'][y(0x1f2)]({'filePath':m+'.'+j,'importName':y(0x1e7),'modulePath':f?y(0x1cc):y(0x1f4),'isNamedExport':!![]}),await this[y(0x202)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x1ed),'modulePath':y(0x1df),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x202)][y(0x1e5)]({'filePath':m+'.'+j,'content':y(0x1ff),'begin':[y(0x1ee),y(0x1de)],'replace':!![]});const n=y(0x1fe),o=n[y(0x1ce)]('/'),p=this[y(0x202)]['pathFromApp']({'pathParts':o});await this[y(0x202)]['injectImport']({'filePath':p+'.'+j,'importName':y(0x1d3),'modulePath':f?y(0x1cc):y(0x1f4),'isNamedExport':!![]}),await this[y(0x202)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x1e6),'belowContent':y(0x1dd),'targetString':y(0x1fd),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1e0),r=q[y(0x1ce)]('/'),s=this['fsi'][y(0x1d0)]({'pathParts':r});await this['fsi'][y(0x1f2)]({'filePath':s+'.'+j,'importName':y(0x1d3),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1f4),'isNamedExport':!![]}),await this[y(0x202)][y(0x201)]({'filePath':s+'.'+j,'aboveContent':y(0x1e6),'belowContent':y(0x1dd),'targetString':y(0x1cb),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a117e);
1
+ function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1af;let f=c[d];return f;},a117d(a,b);}const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0x1d8))/0x1+parseInt(u(0x1ca))/0x2+parseInt(u(0x1d5))/0x3+parseInt(u(0x1d1))/0x4*(-parseInt(u(0x1c3))/0x5)+parseInt(u(0x1c5))/0x6+-parseInt(u(0x1bd))/0x7*(-parseInt(u(0x1ba))/0x8)+-parseInt(u(0x1dd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xc9b51));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x1b5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0x1cf)]()[w(0x1c0)](w(0x1df))[w(0x1cf)]()[w(0x1af)](a117a)[w(0x1c0)](w(0x1df));});a117a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';function a117c(){const A=['const\x20Routes','provider','apply','useContext','/imports/startup/client/authentication-provider','injectImport','/imports/startup/client/index','2848UIcNon','injectAroundString','appName','21217XRKcTY','/imports/startup/client','.js','search','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','split','10QlAgsw','AuthContext','3748650VSFZNq','<Routes\x20history={history}/>','react','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','injectIntoCodeBlock','1417852wZxwLv','template','/imports/startup/server/index','/imports/startup/lib','/imports/startup/lib/authentication-provider','toString','</AuthProvider>','917148TNvMAk','replaceAll','fsi','/routes','2938173daRuqv','\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','true','1120613oEtikN','bright','AuthProvider','\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','engines','8880732ZeSBjR','<Routes\x20history={browserHistory}/>','(((.+)+)+)+$','force','pathFromApp','constructor','<AuthProvider>','kit/auth/provider/authentication-provider.js','authentication-provider'];a117c=function(){return A;};return a117c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a117x(0x1b4),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a117x(0x1c8),'validOpts':[a117x(0x1e0)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a117x(0x1d6)},async function(a,b){const y=a117x;try{const c=b['force']||![];Log[y(0x1d9)](y(0x1c1));const d=this[y(0x1d3)]['getMakaProjectConfig'](),f=d[y(0x1dc)]['ssr']===y(0x1d7),g={'name':headerCase(d[y(0x1bc)])[y(0x1d2)]('-','\x20')},h=f?y(0x1cd):y(0x1be),i=this['fsi'][y(0x1e1)]({'pathParts':[h,'','',y(0x1b2)]});await this[y(0x1d3)]['withValue'](d,async()=>{const z=y;await this['fsi'][z(0x1cb)]({'srcPath':z(0x1b1),'destPath':i+z(0x1bf),'framework':z(0x1c7),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1dc)]['js'],k=h+y(0x1d4),l=k[y(0x1c2)]('/'),m=this['fsi'][y(0x1e1)]({'pathParts':l});await this[y(0x1d3)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x1c4),'modulePath':f?y(0x1ce):y(0x1b7),'isNamedExport':!![]}),await this[y(0x1d3)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x1b6),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][y(0x1c9)]({'filePath':m+'.'+j,'content':y(0x1db),'begin':[y(0x1b3),'function\x20Routes'],'replace':!![]});const n=y(0x1b9),o=n['split']('/'),p=this[y(0x1d3)][y(0x1e1)]({'pathParts':o});await this[y(0x1d3)][y(0x1b8)]({'filePath':p+'.'+j,'importName':y(0x1da),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1b7),'isNamedExport':!![]}),await this[y(0x1d3)][y(0x1bb)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1d0),'targetString':y(0x1de),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1cc),r=q['split']('/'),s=this[y(0x1d3)]['pathFromApp']({'pathParts':r});await this[y(0x1d3)][y(0x1b8)]({'filePath':s+'.'+j,'importName':y(0x1da),'modulePath':f?y(0x1ce):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1d3)][y(0x1bb)]({'filePath':s+'.'+j,'aboveContent':y(0x1b0),'belowContent':y(0x1d0),'targetString':y(0x1c6),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a117e);
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x167))/0x1*(-parseInt(f(0x161))/0x2)+-parseInt(f(0x162))/0x3+-parseInt(f(0x168))/0x4+parseInt(f(0x164))/0x5+-parseInt(f(0x15f))/0x6+-parseInt(f(0x169))/0x7+-parseInt(f(0x163))/0x8*(-parseInt(f(0x165))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x2e3c2));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x16a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x166)]()['search'](h(0x160))[h(0x166)]()['constructor'](a118a)['search'](h(0x160));});a118a();import'./esri.generator.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x15f;var f=c[d];return f;},a118d(a,b);}function a118c(){var i=['9qJWJQG','toString','4AIwXqG','572616IHbMZR','792295mLHNLv','apply','457662gjYgeW','(((.+)+)+)+$','161922BHooQi','660675VIVBMj','5614744MFlTYs','1821100srBOZT'];a118c=function(){return i;};return a118c();}import'./map.esri.gen.js';
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xc9))/0x1*(parseInt(f(0xc8))/0x2)+-parseInt(f(0xd1))/0x3+-parseInt(f(0xc5))/0x4*(-parseInt(f(0xcc))/0x5)+parseInt(f(0xd0))/0x6*(-parseInt(f(0xc6))/0x7)+-parseInt(f(0xc4))/0x8+parseInt(f(0xca))/0x9+parseInt(f(0xcb))/0xa*(parseInt(f(0xd2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x96d24));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xcd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xcf)]()['search'](h(0xc7))[h(0xcf)]()[h(0xce)](a118a)[h(0xc3)](h(0xc7));});a118a();function a118c(){var i=['search','2549256OwFdxR','4ifCTqV','4854906mYupYv','(((.+)+)+)+$','1013458GnDDED','2iUqGAk','10144188MDqwUL','5026570oGiXKb','5572210SsjrMy','apply','constructor','toString','6nocFUb','1810353HZpLYW','22yWfhbk'];a118c=function(){return i;};return a118c();}import'./esri.generator.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xc3;var f=c[d];return f;},a118d(a,b);}import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0x10a))/0x1*(parseInt(f(0xf8))/0x2)+parseInt(f(0xfe))/0x3*(-parseInt(f(0x100))/0x4)+parseInt(f(0xf9))/0x5*(-parseInt(f(0xfc))/0x6)+parseInt(f(0x106))/0x7+parseInt(f(0xfd))/0x8+parseInt(f(0xfb))/0x9+parseInt(f(0x104))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x46d2f));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x103)]()[h(0x102)](h(0xfa))['toString']()[h(0x107)](a119a)[h(0x102)](h(0xfa));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xf8;let f=c[d];return f;},a119d(a,b);}function a119c(){const k=['165347beNVBr','constructor','/foo/bar','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','198165xxcNHh','apply','2aHZUBv','20xXpLVZ','(((.+)+)+)+$','1082151GhVXCj','665538PpKEOk','3496088cIRRXf','6XOlxFY','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','783824ldnIRh','create','search','toString','7429930qHECJi','/foo'];a119c=function(){return k;};return a119c();}const EsriGen=Generator[a119i(0x101)]({'name':'esri','aliases':['e'],'usage':a119i(0x109),'noNeedResource':!![],'shortDesc':a119i(0xff),'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=a119i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x108)],'filesUpdated':[j(0x105)]}};},async function(){},a119e);export default EsriGen;
1
+ const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0xe3))/0x1+parseInt(f(0xde))/0x2+parseInt(f(0xd3))/0x3*(parseInt(f(0xd9))/0x4)+-parseInt(f(0xdc))/0x5*(parseInt(f(0xd2))/0x6)+parseInt(f(0xd7))/0x7+parseInt(f(0xdd))/0x8*(-parseInt(f(0xe4))/0x9)+parseInt(f(0xe5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xeb55c));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0xe7)]()['search'](h(0xe0))[h(0xe7)]()[h(0xd4)](a119a)[h(0xda)](h(0xe0));});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xd2;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119i(0xd5)]({'name':a119i(0xe2),'aliases':['e'],'usage':a119i(0xe1),'noNeedResource':!![],'shortDesc':a119i(0xdf),'validOpts':[''],'isPro':!![],'examples':[a119i(0xe6)],'description':a119i(0xe8)},async function(){const j=a119i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0xd6)],'filesUpdated':[j(0xd8)]}};},async function(){},a119e);export default EsriGen;function a119c(){const k=['1011gJbSru','constructor','create','/foo/bar','8402667hsINrE','/foo','120YGIasy','search','apply','5sQVkIV','40VOuYmA','3225110cgjrNA','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','esri','375365PHYRwn','603135aLPykz','2101840JoySdf','maka\x20g:kit:e','toString','\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','8153148tiQxTX'];a119c=function(){return k;};return a119c();}
@@ -1 +1 @@
1
- const a120s=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0xa0))/0x1+-parseInt(p(0xb1))/0x2*(-parseInt(p(0xc9))/0x3)+parseInt(p(0xac))/0x4+parseInt(p(0xc4))/0x5+-parseInt(p(0xc3))/0x6+-parseInt(p(0xba))/0x7*(-parseInt(p(0xb6))/0x8)+-parseInt(p(0xbe))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x6af13));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a['toString']()[r(0xa4)](r(0xb8))[r(0xa8)]()['constructor'](a120a)[r(0xa4)]('(((.+)+)+)+$');});a120a();function a120c(){const v=['bright','\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','3SwdhjP','map','findProjectDirectory','injectImport','dir','521140qwdayj','react','replaceAll','fsi','search','injectIntoFile','Generate\x20an\x20Esri\x20map\x20component','checkNpmPackage','toString','</div>','/imports/startup/client/templates','appName','674640mUBNOW','esri-loader','injectTemplateModule','baseDir','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','1602654aAwlfk','Generating\x20a\x20map\x20component','withValue','split','.js','6751592MGiYcr','page','(((.+)+)+)+$','@esri/react-arcgis','7HCihoT','error','engines','/imports/ui/','9255582kxWGuu','apply','FALSE','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','/imports/ui/hooks','1376646VwQyjU','2015390gSGlHU','<div\x20id=\x22map\x22>','pathFromApp'];a120c=function(){return v;};return a120c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x9c;let f=c[d];return f;},a120d(a,b);}import a120e from'./esri.generator.js';import a120f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'map','aliases':['m'],'usage':a120s(0xc1),'shortDesc':a120s(0xa6),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a120s(0xc0)]},'description':a120s(0xc8)},async function(a,b){const t=a120s;try{Log[t(0xc7)](t(0xb2));const c='basic-map';await this['fsi'][t(0xa7)]([t(0xb9),t(0xad)],{'shouldInstall':!![]});const d=this['fsi'][t(0x9d)](),f=this[t(0xa3)]['getMakaProjectConfig'](),g=f[t(0xbc)]['ssr']==='true',h=await a120f['processAndRunGenerator'](t(0xb7),[t(0x9c)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0xab)])[t(0xa2)]('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?t(0xbd)+b[t(0xaf)]:t(0xc2),k=this[t(0xa3)][t(0xc6)]({'pathParts':[j,b[t(0x9f)],paramCase(c),paramCase(c)]});await this['fsi'][t(0xb3)](f,async()=>{const u=t;await this[u(0xa3)]['template']({'srcPath':'kit/esri/map/'+c+u(0xb5),'destPath':k+u(0xb5),'framework':u(0xa1),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x9f)]+'/'+c+'/'+c;await this[t(0xa3)][t(0xae)](c,f,l);const m=h[t(0xb4)]('/'),n=this['fsi'][t(0xc6)]({'pathParts':m});await this[t(0xa3)][t(0x9e)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':t(0xaa),'isNamedExport':!![]}),await this[t(0xa3)][t(0xa5)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0xb0),'begin':['<div\x20id=\x22map\x22>',t(0xc5)],'end':[t(0xa9)],'replace':!![]});}catch(o){Log[t(0xbb)](o),process['exit'](0x1);}},async function(){},a120e);
1
+ const a120s=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x92;let f=c[d];return f;},a120d(a,b);}(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0x96))/0x1+-parseInt(p(0xaa))/0x2+parseInt(p(0x9d))/0x3+-parseInt(p(0xa3))/0x4+-parseInt(p(0xb8))/0x5*(parseInt(p(0x92))/0x6)+parseInt(p(0xb4))/0x7*(parseInt(p(0x9c))/0x8)+parseInt(p(0x9f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xc19b4));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0xa6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0xb0)]()[r(0xbb)](r(0xbd))[r(0xb0)]()[r(0xbf)](a120a)['search'](r(0xbd));});a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a120c(){const v=['/imports/startup/lib/templates','dir','\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','engines','toString','getMakaProjectConfig','withValue','create','245QdEgLy','react','FALSE','checkNpmPackage','88045wkKBvd','@esri/react-arcgis','bright','search','.js','(((.+)+)+)+$','ssr','constructor','true','page','/imports/ui/','basic-map','/imports/ui/hooks','84wkVmLb','findProjectDirectory','</div>','baseDir','149022XOjrLW','REACT','Generate\x20an\x20Esri\x20map\x20component','template','kit/esri/map/','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','31912aFjUvQ','876861KnOszI','esri-loader','26747946EfeYHQ','fsi','map','injectImport','2529476WovRnw','/imports/startup/client/templates','pathFromApp','apply','<div\x20id=\x22map\x22>','split','exit','3165934nfZdTR','processAndRunGenerator'];a120c=function(){return v;};return a120c();}import a120e from'./esri.generator.js';import a120f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120s(0xb3)]({'name':a120s(0xa1),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a120s(0x98),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120s(0x97)],'ssr':SsrEngines[a120s(0xb6)]},'description':a120s(0xae)},async function(a,b){const t=a120s;try{Log[t(0xba)]('Generating\x20a\x20map\x20component');const c=t(0xc3);await this['fsi'][t(0xb7)]([t(0xb9),t(0x9e)],{'shouldInstall':!![]});const d=this['fsi'][t(0x93)](),f=this['fsi'][t(0xb1)](),g=f[t(0xaf)][t(0xbe)]===t(0xc0),h=await a120f[t(0xab)](t(0xc1),['map'],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x95)]?t(0xc2)+b['baseDir']:t(0xc4),k=this[t(0xa0)][t(0xa5)]({'pathParts':[j,b[t(0xad)],paramCase(c),paramCase(c)]});await this[t(0xa0)][t(0xb2)](f,async()=>{const u=t;await this[u(0xa0)][u(0x99)]({'srcPath':u(0x9a)+c+u(0xbc),'destPath':k+u(0xbc),'framework':u(0xb5),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0xad)]+'/'+c+'/'+c;await this['fsi']['injectTemplateModule'](c,f,l);const m=h[t(0xa8)]('/'),n=this[t(0xa0)][t(0xa5)]({'pathParts':m});await this['fsi'][t(0xa2)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0xac):t(0xa4),'isNamedExport':!![]}),await this[t(0xa0)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x9b),'begin':[t(0xa7),t(0xa7)],'end':[t(0x94)],'replace':!![]});}catch(o){Log['error'](o),process[t(0xa9)](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- const a121i=a121d;function a121c(){const j=['Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','9ZxyHsz','2008XOpHvZ','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','apply','11669biSZPE','search','toString','create','2058138MUXAyD','718YFaBSh','2684705WAxRQz','kit','3601396tccbJg','maka\x20g:k','constructor','479515cDzGiM','537LmfORD','3655570jhxeUB'];a121c=function(){return j;};return a121c();}(function(a,b){const f=a121d,c=a();while(!![]){try{const d=-parseInt(f(0xbc))/0x1+-parseInt(f(0xb6))/0x2*(parseInt(f(0xbd))/0x3)+parseInt(f(0xb9))/0x4+parseInt(f(0xb7))/0x5+-parseInt(f(0xb5))/0x6+-parseInt(f(0xb1))/0x7*(-parseInt(f(0xad))/0x8)+parseInt(f(0xac))/0x9*(-parseInt(f(0xbe))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x934d7));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a['toString']()[h(0xb2)]('(((.+)+)+)+$')[h(0xb3)]()[h(0xbb)](a121a)[h(0xb2)](h(0xae));});a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0xb4)]({'name':a121i(0xb8),'aliases':['k'],'usage':a121i(0xaf),'shortDesc':a121i(0xab),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a121i(0xba)]},async function(){});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xab;let f=c[d];return f;},a121d(a,b);}export default KitGen;
1
+ const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=parseInt(f(0x17d))/0x1*(parseInt(f(0x17a))/0x2)+-parseInt(f(0x176))/0x3+parseInt(f(0x179))/0x4+-parseInt(f(0x17f))/0x5+parseInt(f(0x183))/0x6*(parseInt(f(0x17e))/0x7)+-parseInt(f(0x186))/0x8*(parseInt(f(0x185))/0x9)+parseInt(f(0x178))/0xa*(-parseInt(f(0x177))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x80807));function a121c(){const j=['2Elnjoj','maka\x20g:kit','maka\x20g:k','1017287PwulBD','14hpgUTl','674450NsldIr','create','maka\x20{generate,\x20g}:{kit}\x20<name>','(((.+)+)+)+$','2959338CZrcUW','toString','143991EDEwIP','400cszgaq','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','apply','search','constructor','1898112EGhrfq','11xrHxbn','3528410MjweJP','1771980wfWmXN'];a121c=function(){return j;};return a121c();}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x188)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x184)]()[h(0x189)](h(0x182))['toString']()[h(0x18a)](a121a)[h(0x189)](h(0x182));});a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0x180)]({'name':'kit','aliases':['k'],'usage':a121i(0x181),'shortDesc':a121i(0x187),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0x17b),a121i(0x17c)]},async function(){});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x176;let f=c[d];return f;},a121d(a,b);}export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0xb6))/0x1+parseInt(f(0xb0))/0x2+parseInt(f(0xb5))/0x3+parseInt(f(0xb1))/0x4+parseInt(f(0xb3))/0x5+-parseInt(f(0xaf))/0x6*(-parseInt(f(0xb7))/0x7)+-parseInt(f(0xae))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xd8b5a));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()[h(0xb2)]('(((.+)+)+)+$')['toString']()['constructor'](a122a)[h(0xb2)](h(0xb4));});a122a();import'./mui.generator.js';import'./frame.mui.gen.js';function a122c(){var i=['search','2544740UEHGUa','(((.+)+)+)+$','947859bJhmPD','1412256UDUdWx','76433KOqJCb','apply','20410608jTrWLt','894KYwAqP','2671894hrARGB','4253780LiEPXa'];a122c=function(){return i;};return a122c();}function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0xae;var f=c[d];return f;},a122d(a,b);}import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x14e))/0x1*(-parseInt(f(0x14c))/0x2)+-parseInt(f(0x150))/0x3*(parseInt(f(0x152))/0x4)+parseInt(f(0x14a))/0x5+-parseInt(f(0x147))/0x6+parseInt(f(0x14d))/0x7+-parseInt(f(0x151))/0x8+parseInt(f(0x14b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x29b3c));function a122c(){var i=['toString','1630926aYMxSZ','search','constructor','1235925aijdeC','1530549xuWAfS','10sqblhJ','1102976vuzHOV','17618JKJMNo','apply','127164nShQJJ','1423064CGQrkm','4xhTkKV','(((.+)+)+)+$'];a122c=function(){return i;};return a122c();}var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()[h(0x148)](h(0x153))[h(0x154)]()[h(0x149)](a122a)[h(0x148)](h(0x153));});function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x147;var f=c[d];return f;},a122d(a,b);}a122a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a123I=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=parseInt(G(0x12e))/0x1+-parseInt(G(0x104))/0x2*(-parseInt(G(0x113))/0x3)+parseInt(G(0x120))/0x4+parseInt(G(0x107))/0x5+-parseInt(G(0x13f))/0x6*(-parseInt(G(0x102))/0x7)+parseInt(G(0x133))/0x8*(parseInt(G(0x106))/0x9)+-parseInt(G(0x13b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x9a1ce));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const H=a123d;return a123a['toString']()[H(0x12c)](H(0x108))[H(0x10d)]()[H(0x11c)](a123a)[H(0x12c)]('(((.+)+)+)+$');});a123a();import{Generator}from'../../../generator.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xfd;let f=c[d];return f;},a123d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a123c(){const M=['injectTemplateModule','basic-register-page','Meteor\x20Accounts','split','1363304yqxHwQ','fsi','findProjectDirectory','true','Cleaning\x20up...','template','reset-password/:token','forgot-password','36353140jzomxe','appName','layouts','react','5227206ryocWh','basic-forgot-password-page','AuthContext','REACT','Custom\x20(roll\x20your\x20own)','getMakaProjectConfig','options','/imports/startup/client/authentication-provider','force','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','auth','7CvREtk','basic-login-page','16LSZdkn','kit/mui/auth/password-reset/','27LKFEdk','3903155Ipyfdj','(((.+)+)+)+$','.js','kit/mui/auth/forgot-password/','/imports/startup/lib/authentication-provider','baseDir','toString','error','replaceAll','log','authType','ssr','447447VVDZRd','processAndRunGenerator','kit/mui/auth/logout/','logout','/imports/ui/pages/auth','route','basic-password-reset-page','kit/mui/auth/login/','injectImport','constructor','basic-logout-page','withValue','custom','1012324HFvCkQ','maka\x20g:k:m:f','create','maka\x20generate:kit:mui:frame','MATERIAL','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','pathFromApp','dir','engines','meteor','/imports/ui/','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','search','kit:auth:meteor','657216XCvGaH'];a123c=function(){return M;};return a123c();}import a123e from'../../../generators/maka.gen.js';import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123I(0x122)]({'name':a123I(0x101),'aliases':['a'],'usage':a123I(0x100),'shortDesc':a123I(0x12b),'validOpts':[a123I(0x13d),a123I(0xff)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123I(0x124)],'client':ClientEngines[a123I(0x142)]},'examples':[a123I(0x123),a123I(0x121)],'description':a123I(0x125)},async function(a,b){const J=a123I;try{const c=b[J(0xff)]||![],d=this['fsi'][J(0x135)](),f=this[J(0x134)][J(0x144)](),{authType:g}=await Actions[J(0xfd)]({'type':'list','name':J(0x111),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':J(0x131),'value':J(0x129)},{'name':J(0x143),'value':J(0x11f)}]}),h=J(0x103),i=J(0x11d),j=J(0x130),k=J(0x119),l='basic-forgot-password-page',m=b[J(0x10c)]?J(0x12a)+b[J(0x10c)]:J(0x117),n=this[J(0x134)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this['fsi']['pathFromApp']({'pathParts':[m,b[J(0x127)],paramCase(i),paramCase(i)]}),p=this[J(0x134)][J(0x126)]({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[J(0x134)][J(0x126)]({'pathParts':[m,b[J(0x127)],paramCase(k),paramCase(k)]}),r=this['fsi'][J(0x126)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0x13c)])[J(0x10f)]('-','\x20')};await this[J(0x134)][J(0x11e)](f,async()=>{const K=J;await this[K(0x134)][K(0x138)]({'srcPath':K(0x11a)+h+K(0x109),'destPath':n+'.js','framework':K(0x13e),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0x138)]({'srcPath':K(0x115)+i+K(0x109),'destPath':o+K(0x109),'framework':K(0x13e),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x134)]['template']({'srcPath':'kit/mui/auth/register/'+j+'.js','destPath':p+K(0x109),'framework':K(0x13e),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x134)][K(0x138)]({'srcPath':K(0x105)+k+K(0x109),'destPath':q+K(0x109),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':K(0x10a)+l+K(0x109),'destPath':r+K(0x109),'framework':K(0x13e),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0x127)]+'/'+h+'/'+h;await this[J(0x134)][J(0x12f)](h,f,t);const u=''+m+b[J(0x127)]+'/'+i+'/'+i;await this[J(0x134)][J(0x12f)](i,f,u);const v=''+m+b[J(0x127)]+'/'+j+'/'+j;await this[J(0x134)][J(0x12f)](j,f,v);const w=''+m+b[J(0x127)]+'/'+k+'/'+k;await this[J(0x134)][J(0x12f)](k,f,w);const x=''+m+b[J(0x127)]+'/'+l+'/'+l;await this[J(0x134)][J(0x12f)](l,f,x),await a123e['processAndRunGenerator'](J(0x118),[J(0x103)],{'url':'login','cwd':d,'config':f}),await a123e[J(0x114)]('route',[J(0x11d)],{'url':J(0x116),'private':!![],'cwd':d,'config':f}),await a123e[J(0x114)]('route',[J(0x130)],{'url':'register','cwd':d,'config':f}),await a123e[J(0x114)](J(0x118),['basic-password-reset-page'],{'url':J(0x139),'cwd':d,'config':f}),await a123e[J(0x114)]('route',[J(0x140)],{'url':J(0x13a),'cwd':d,'config':f});g==='meteor'&&await a123e['processAndRunGenerator'](J(0x12d),[],{'force':c,'cwd':d,'config':f});g===J(0x11f)&&await a123e[J(0x114)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[J(0x128)][J(0x112)]===J(0x136),z=f['engines']['js'],A=this[J(0x134)][J(0x126)]({'pathParts':t[J(0x132)]('/')});await this['fsi'][J(0x11b)]({'filePath':A+'.'+z,'importName':J(0x141),'modulePath':y?J(0x10b):J(0xfe),'isNamedExport':!![]});const B=this[J(0x134)]['pathFromApp']({'pathParts':u['split']('/')});await this[J(0x134)]['injectImport']({'filePath':B+'.'+z,'importName':J(0x141),'modulePath':y?J(0x10b):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[J(0x134)][J(0x126)]({'pathParts':v[J(0x132)]('/')});await this[J(0x134)][J(0x11b)]({'filePath':C+'.'+z,'importName':J(0x141),'modulePath':y?J(0x10b):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[J(0x134)][J(0x126)]({'pathParts':w[J(0x132)]('/')});await this[J(0x134)]['injectImport']({'filePath':D+'.'+z,'importName':J(0x141),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[J(0x134)][J(0x126)]({'pathParts':x[J(0x132)]('/')});await this['fsi']['injectImport']({'filePath':E+'.'+z,'importName':J(0x141),'modulePath':y?J(0x10b):J(0xfe),'isNamedExport':!![]});}catch(F){Log[J(0x10e)](F);}},async function(){const L=a123I;console[L(0x110)](L(0x137));},a123f);
1
+ const a123I=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=-parseInt(G(0x149))/0x1+-parseInt(G(0x123))/0x2*(-parseInt(G(0x112))/0x3)+-parseInt(G(0x12f))/0x4+-parseInt(G(0x145))/0x5+-parseInt(G(0x120))/0x6+parseInt(G(0x113))/0x7*(-parseInt(G(0x117))/0x8)+parseInt(G(0x141))/0x9*(parseInt(G(0x126))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xda60e));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const H=a123d;return a123a[H(0x151)]()['search']('(((.+)+)+)+$')[H(0x151)]()['constructor'](a123a)[H(0x125)]('(((.+)+)+)+$');});a123a();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-0x112;let f=c[d];return f;},a123d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a123c(){const M=['\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','/imports/startup/client/authentication-provider','error','log','.js','template','MATERIAL','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','1339602DforCR','custom','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','6KTRpGV','fsi','search','1684130QSlMIo','injectImport','/imports/ui/','authType','dir','force','list','REACT','kit:auth:provider','3137300SHvvSv','injectTemplateModule','withValue','logout','basic-register-page','processAndRunGenerator','replaceAll','auth','kit:auth:meteor','appName','pathFromApp','route','split','meteor','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','basic-login-page','kit/mui/auth/login/','AuthContext','189rpCHqk','basic-password-reset-page','basic-forgot-password-page','login','7162910FvYaLs','ssr','/imports/startup/lib/authentication-provider','maka\x20g:k:m:f','472324eTkEWV','create','Cleaning\x20up...','react','kit/mui/auth/forgot-password/','kit/mui/auth/password-reset/','true','register','toString','basic-logout-page','379035YWbvgq','476yngnuo','findProjectDirectory','baseDir','engines','12792fpMSIR'];a123c=function(){return M;};return a123c();}Generator[a123I(0x14a)]({'name':a123I(0x136),'aliases':['a'],'usage':a123I(0x11f),'shortDesc':a123I(0x122),'validOpts':['layouts',a123I(0x12b)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123I(0x11e)],'client':ClientEngines[a123I(0x12d)]},'examples':['maka\x20generate:kit:mui:frame',a123I(0x148)],'description':a123I(0x118)},async function(a,b){const J=a123I;try{const c=b['force']||![],d=this[J(0x124)][J(0x114)](),f=this[J(0x124)]['getMakaProjectConfig'](),{authType:g}=await Actions['options']({'type':J(0x12c),'name':J(0x129),'message':J(0x13d),'choices':[{'name':'Meteor\x20Accounts','value':J(0x13c)},{'name':'Custom\x20(roll\x20your\x20own)','value':J(0x121)}]}),h=J(0x13e),i=J(0x152),j=J(0x133),k=J(0x142),l=J(0x143),m=b['baseDir']?J(0x128)+b[J(0x115)]:'/imports/ui/pages/auth',n=this[J(0x124)]['pathFromApp']({'pathParts':[m,b[J(0x12a)],paramCase(h),paramCase(h)]}),o=this['fsi'][J(0x139)]({'pathParts':[m,b[J(0x12a)],paramCase(i),paramCase(i)]}),p=this[J(0x124)][J(0x139)]({'pathParts':[m,b[J(0x12a)],paramCase(j),paramCase(j)]}),q=this[J(0x124)][J(0x139)]({'pathParts':[m,b[J(0x12a)],paramCase(k),paramCase(k)]}),r=this['fsi'][J(0x139)]({'pathParts':[m,b[J(0x12a)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0x138)])[J(0x135)]('-','\x20')};await this[J(0x124)][J(0x131)](f,async()=>{const K=J;await this[K(0x124)][K(0x11d)]({'srcPath':K(0x13f)+h+K(0x11c),'destPath':n+K(0x11c),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x124)]['template']({'srcPath':'kit/mui/auth/logout/'+i+K(0x11c),'destPath':o+K(0x11c),'framework':K(0x14c),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x124)][K(0x11d)]({'srcPath':'kit/mui/auth/register/'+j+K(0x11c),'destPath':p+K(0x11c),'framework':K(0x14c),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x124)][K(0x11d)]({'srcPath':K(0x14e)+k+K(0x11c),'destPath':q+K(0x11c),'framework':K(0x14c),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x124)][K(0x11d)]({'srcPath':K(0x14d)+l+K(0x11c),'destPath':r+'.js','framework':K(0x14c),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0x12a)]+'/'+h+'/'+h;await this[J(0x124)][J(0x130)](h,f,t);const u=''+m+b[J(0x12a)]+'/'+i+'/'+i;await this['fsi'][J(0x130)](i,f,u);const v=''+m+b[J(0x12a)]+'/'+j+'/'+j;await this['fsi'][J(0x130)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[J(0x124)][J(0x130)](k,f,w);const x=''+m+b[J(0x12a)]+'/'+l+'/'+l;await this[J(0x124)]['injectTemplateModule'](l,f,x),await a123e['processAndRunGenerator'](J(0x13a),[J(0x13e)],{'url':J(0x144),'cwd':d,'config':f}),await a123e[J(0x134)]('route',[J(0x152)],{'url':J(0x132),'private':!![],'cwd':d,'config':f}),await a123e['processAndRunGenerator'](J(0x13a),['basic-register-page'],{'url':J(0x150),'cwd':d,'config':f}),await a123e['processAndRunGenerator'](J(0x13a),[J(0x142)],{'url':'reset-password/:token','cwd':d,'config':f}),await a123e[J(0x134)]('route',[J(0x143)],{'url':'forgot-password','cwd':d,'config':f});g===J(0x13c)&&await a123e[J(0x134)](J(0x137),[],{'force':c,'cwd':d,'config':f});g===J(0x121)&&await a123e['processAndRunGenerator'](J(0x12e),[],{'force':c,'cwd':d,'config':f});const y=f[J(0x116)][J(0x146)]===J(0x14f),z=f[J(0x116)]['js'],A=this['fsi']['pathFromApp']({'pathParts':t['split']('/')});await this[J(0x124)][J(0x127)]({'filePath':A+'.'+z,'importName':J(0x140),'modulePath':y?J(0x147):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this['fsi']['pathFromApp']({'pathParts':u[J(0x13b)]('/')});await this['fsi'][J(0x127)]({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?J(0x147):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this['fsi'][J(0x139)]({'pathParts':v['split']('/')});await this['fsi'][J(0x127)]({'filePath':C+'.'+z,'importName':J(0x140),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[J(0x124)]['pathFromApp']({'pathParts':w[J(0x13b)]('/')});await this[J(0x124)]['injectImport']({'filePath':D+'.'+z,'importName':J(0x140),'modulePath':y?J(0x147):J(0x119),'isNamedExport':!![]});const E=this[J(0x124)][J(0x139)]({'pathParts':x[J(0x13b)]('/')});await this[J(0x124)][J(0x127)]({'filePath':E+'.'+z,'importName':J(0x140),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0x119),'isNamedExport':!![]});}catch(F){Log[J(0x11a)](F);}},async function(){const L=a123I;console[L(0x11b)](L(0x14b));},a123f);
@@ -1 +1 @@
1
- function a124c(){const I=['Cleaning\x20up...','baseDir','tests','engines','2341450OHckaI','\x20/>\x0a','basic-drawer','5611608FnNWHw','{\x20this.props.children\x20}','kit/mui/frame/drawers/','/imports/startup/lib/templates','imports','<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>','kit/mui/frame/app-bars/','join','create','injectIntoFile','Container','{\x20props.children\x20}','1659800kwnURR','MATERIAL','342638eVcEhF','</div>','template','session','checkMeteorPackage','Box','2329383zCxMTI','checkbox','/imports/ui/','jsx','findAppDirectory','ssr','@mui/material/Container','11XhkDoa','injectTemplateModule','frame','injectImport','No\x20layouts\x20selected','kit/mui/frame/footers/','<div\x20id=\x22','tsx','force','getDirectories','getMakaProjectConfig','maka\x20g:k:m:f','216ZCLTby','layouts','.js','26232VAqsOz','(((.+)+)+)+$','maka\x20generate:kit:mui:frame','{this.props.children}','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','-hook\x22>','toString','withValue','appName','search','REACT','/imports/startup/client/templates','getFiles','basic-sticky-footer','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','17015RgyVGB','/imports/ui/components','react','dir','apply','fsi','{props.children}','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','length','@mui/material/Box','618zrJlvs','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','test','options','24vIUreu','app-tests','basic-app-bar','error','true'];a124c=function(){return I;};return a124c();}const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=parseInt(B(0xc8))/0x1+-parseInt(B(0xe1))/0x2*(-parseInt(B(0x91))/0x3)+-parseInt(B(0xc6))/0x4+-parseInt(B(0xa0))/0x5*(parseInt(B(0xaa))/0x6)+-parseInt(B(0xce))/0x7*(-parseInt(B(0xae))/0x8)+-parseInt(B(0xba))/0x9+-parseInt(B(0xb7))/0xa*(parseInt(B(0xd5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xa1aa5));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0x97)]()[D(0x9a)](D(0x92))[D(0x97)]()['constructor'](a124a)[D(0x9a)](D(0x92));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x91;let f=c[d];return f;},a124d(a,b);}import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124E(0xc2)]({'name':a124E(0xd7),'aliases':['f'],'usage':a124E(0x95),'shortDesc':a124E(0x9f),'validOpts':[a124E(0xe2),a124E(0xb4),a124E(0xa3),a124E(0xdd)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0xc7)],'client':ClientEngines[a124E(0x9b)]},'examples':[a124E(0x93),a124E(0xe0)],'description':a124E(0xab)},async function(a,b){const F=a124E;try{const c=b[F(0xdd)]||![],d=F(0xb0),f=F(0xb9),g=F(0x9e),h=this['fsi'][F(0xdf)](),i=h[F(0xb6)][F(0xd3)]===F(0xb2);await this[F(0xa5)][F(0xcc)]([F(0xcb),'maka:react-tracker'],{'shouldInstall':!![]});const j=this['fsi'][F(0xd2)](),k=a124e[F(0xc1)](j,F(0xbe),'ui',F(0xe2)),l=this['fsi'][F(0xde)](k),m=await Actions[F(0xad)]({'type':F(0xcf),'name':F(0xe2),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0xe2)][F(0xa8)]===0x0){Log[F(0xb1)](F(0xd9));return;}const n=b['baseDir']?F(0xd0)+b[F(0xb4)]:F(0xa1),o=this[F(0xa5)]['pathFromApp']({'pathParts':[n,b[F(0xa3)],paramCase(d),paramCase(d)]}),p=this[F(0xa5)]['pathFromApp']({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this[F(0xa5)]['pathFromApp']({'pathParts':[n,b[F(0xa3)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x99)])['replaceAll']('-','\x20')};await this['fsi'][F(0x98)](h,async()=>{const G=F;await this[G(0xa5)][G(0xca)]({'srcPath':G(0xc0)+d+'.js','destPath':o+G(0xe3),'framework':G(0xa2),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xa5)][G(0xca)]({'srcPath':G(0xbc)+f+G(0xe3),'destPath':p+'.js','framework':G(0xa2),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xa5)][G(0xca)]({'srcPath':G(0xda)+g+G(0xe3),'destPath':q+G(0xe3),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0xa3)]+'/'+d+'/'+d;await this[F(0xa5)][F(0xd6)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0xa5)]['injectTemplateModule'](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this['fsi']['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0xa5)][F(0x9d)](a124e[F(0xc1)](k,w),{'extensions':[F(0xd1),F(0xdc)],'omit':[F(0xaf),F(0xb5),F(0xac)]});for(const y of x){const z=a124e[F(0xc1)](k,w,y);await this[F(0xa5)][F(0xd8)]({'filePath':z,'importName':F(0xcd),'modulePath':F(0xa9),'isNamedExport':![]}),await this[F(0xa5)]['injectImport']({'filePath':z,'importName':F(0xc4),'modulePath':F(0xd4),'isNamedExport':![]}),await this['fsi'][F(0xd8)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0xbd):F(0x9c),'isNamedExport':!![]}),await this[F(0xa5)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0xb8),'begin':[F(0xdb)+w+'\x22>',F(0xdb)+w+F(0x96)],'end':[F(0x94),F(0xbb),F(0xa6),'{\x20props.children\x20}']}),await this[F(0xa5)][F(0xd8)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x9c),'isNamedExport':!![]}),await this['fsi'][F(0xc3)]({'filePath':z,'content':'<'+pascalCase(f)+F(0xb8),'begin':[F(0xdb)+w+'\x22>','<div\x20id=\x22'+w+F(0x96)],'end':[F(0x94),F(0xbb),'{props.children}',F(0xc5)]}),await this[F(0xa5)][F(0xc3)]({'filePath':z,'content':'<'+pascalCase(g)+F(0xb8),'begin':[F(0x94),F(0xbb),'{props.children}',F(0xc5)],'end':[F(0xc9)]}),await this[F(0xa5)][F(0xd8)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0xbd):'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':z,'aboveContent':F(0xbf),'belowContent':F(0xa7),'targetString':[F(0x94),F(0xbb),F(0xa6),F(0xc5)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0xb1)](A);}},async function(){const H=a124E;console['log'](H(0xb3));},a124f);
1
+ const a124D=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=parseInt(B(0x1e3))/0x1*(-parseInt(B(0x1be))/0x2)+-parseInt(B(0x1cf))/0x3*(parseInt(B(0x1cc))/0x4)+parseInt(B(0x1d2))/0x5*(-parseInt(B(0x1ce))/0x6)+-parseInt(B(0x1a2))/0x7+-parseInt(B(0x1b4))/0x8*(-parseInt(B(0x1d7))/0x9)+parseInt(B(0x1b1))/0xa+parseInt(B(0x1ec))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x3e5cb));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const C=a124d;return a124a[C(0x1bc)]()[C(0x1a9)](C(0x1bd))['toString']()[C(0x1c3)](a124a)['search']('(((.+)+)+)+$');});a124a();function a124c(){const H=['412ftOaqD','basic-drawer','checkbox','{props.children}','checkMeteorPackage','constructor','@mui/material/Box','{\x20props.children\x20}','injectImport','No\x20layouts\x20selected','length','template','/imports/startup/client/templates','error','48hdufJm','{\x20this.props.children\x20}','906zPdJul','104007tPeXbf','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','layouts','3235neKDBl','injectTemplateModule','dir','<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>','app-tests','297KceKVv','-hook\x22>','getFiles','pathFromApp','Cleaning\x20up...','/imports/ui/','react','REACT','tests','create','/imports/startup/lib/templates','/imports/ui/components','337PgcdVK','join','getDirectories','kit/mui/frame/drawers/','withValue','basic-sticky-footer','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','@mui/material/Container','options','8686975IchVpb','session','418838fEKrzb','MATERIAL','baseDir','maka\x20generate:kit:mui:frame','{this.props.children}','</div>','injectIntoFile','search','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','\x20/>\x0a','maka:react-tracker','force','true','appName','imports','656260Xwxexo','.js','replaceAll','10440zfzYZA','<div\x20id=\x22','tsx','jsx','fsi','ssr','kit/mui/frame/app-bars/','maka\x20g:k:m:f','toString','(((.+)+)+)+$'];a124c=function(){return H;};return a124c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1a2;let f=c[d];return f;},a124d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124D(0x1e0)]({'name':'frame','aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a124D(0x1d0),'validOpts':[a124D(0x1d1),a124D(0x1a4),a124D(0x1d4),a124D(0x1ad)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124D(0x1a3)],'client':ClientEngines[a124D(0x1de)]},'examples':[a124D(0x1a5),a124D(0x1bb)],'description':a124D(0x1e9)},async function(a,b){const E=a124D;try{const c=b[E(0x1ad)]||![],d='basic-app-bar',f=E(0x1bf),g=E(0x1e8),h=this[E(0x1b8)]['getMakaProjectConfig'](),i=h['engines'][E(0x1b9)]===E(0x1ae);await this[E(0x1b8)][E(0x1c2)]([E(0x1ed),E(0x1ac)],{'shouldInstall':!![]});const j=this[E(0x1b8)]['findAppDirectory'](),k=a124e['join'](j,E(0x1b0),'ui',E(0x1d1)),l=this[E(0x1b8)][E(0x1e5)](k),m=await Actions[E(0x1eb)]({'type':E(0x1c0),'name':E(0x1d1),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[E(0x1d1)][E(0x1c8)]===0x0){Log[E(0x1cb)](E(0x1c7));return;}const n=b[E(0x1a4)]?E(0x1dc)+b[E(0x1a4)]:E(0x1e2),o=this[E(0x1b8)][E(0x1da)]({'pathParts':[n,b[E(0x1d4)],paramCase(d),paramCase(d)]}),p=this[E(0x1b8)]['pathFromApp']({'pathParts':[n,b[E(0x1d4)],paramCase(f),paramCase(f)]}),q=this[E(0x1b8)][E(0x1da)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[E(0x1af)])[E(0x1b3)]('-','\x20')};await this[E(0x1b8)][E(0x1e7)](h,async()=>{const F=E;await this[F(0x1b8)][F(0x1c9)]({'srcPath':F(0x1ba)+d+F(0x1b2),'destPath':o+F(0x1b2),'framework':F(0x1dd),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][F(0x1c9)]({'srcPath':F(0x1e6)+f+F(0x1b2),'destPath':p+F(0x1b2),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x1b8)]['template']({'srcPath':'kit/mui/frame/footers/'+g+F(0x1b2),'destPath':q+F(0x1b2),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this[E(0x1b8)][E(0x1d3)](d,h,s);const t=''+n+b[E(0x1d4)]+'/'+f+'/'+f;await this[E(0x1b8)][E(0x1d3)](f,h,t);const u=''+n+b[E(0x1d4)]+'/'+g+'/'+g;await this[E(0x1b8)][E(0x1d3)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[E(0x1b8)][E(0x1d9)](a124e[E(0x1e4)](k,w),{'extensions':[E(0x1b7),E(0x1b6)],'omit':[E(0x1d6),E(0x1df),'test']});for(const y of x){const z=a124e[E(0x1e4)](k,w,y);await this[E(0x1b8)]['injectImport']({'filePath':z,'importName':'Box','modulePath':E(0x1c4),'isNamedExport':![]}),await this[E(0x1b8)][E(0x1c6)]({'filePath':z,'importName':'Container','modulePath':E(0x1ea),'isNamedExport':![]}),await this[E(0x1b8)][E(0x1c6)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?E(0x1e1):'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+E(0x1ab),'begin':[E(0x1b5)+w+'\x22>','<div\x20id=\x22'+w+E(0x1d8)],'end':[E(0x1a6),E(0x1cd),E(0x1c1),E(0x1c5)]}),await this[E(0x1b8)][E(0x1c6)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?E(0x1e1):E(0x1ca),'isNamedExport':!![]}),await this[E(0x1b8)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+E(0x1ab),'begin':[E(0x1b5)+w+'\x22>',E(0x1b5)+w+'-hook\x22>'],'end':[E(0x1a6),E(0x1cd),E(0x1c1),E(0x1c5)]}),await this[E(0x1b8)][E(0x1a8)]({'filePath':z,'content':'<'+pascalCase(g)+E(0x1ab),'begin':['{this.props.children}',E(0x1cd),'{props.children}','{\x20props.children\x20}'],'end':[E(0x1a7)]}),await this[E(0x1b8)][E(0x1c6)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0x1e1):E(0x1ca),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':z,'aboveContent':E(0x1d5),'belowContent':E(0x1aa),'targetString':['{this.props.children}','{\x20this.props.children\x20}','{props.children}',E(0x1c5)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[E(0x1cb)](A);}},async function(){const G=a124D;console['log'](G(0x1db));},a124f);
@@ -1 +1 @@
1
- const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=parseInt(g(0x197))/0x1+parseInt(g(0x18f))/0x2+parseInt(g(0x18c))/0x3+-parseInt(g(0x18e))/0x4+parseInt(g(0x1a7))/0x5*(-parseInt(g(0x199))/0x6)+parseInt(g(0x193))/0x7+-parseInt(g(0x198))/0x8*(parseInt(g(0x19f))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x9ad67));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x1ac)]()[i(0x1a6)](i(0x196))[i(0x1ac)]()['constructor'](a125a)[i(0x1a6)](i(0x196));});a125a();import{Generator}from'../../../generator.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x18c;let f=c[d];return f;},a125d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';function a125c(){const l=['1635ZUeCHi','fsi','checkbox','kit:mui:auth','Header,\x20Footer,\x20and\x20Drawer','toString','create','3327261JhDXMU','kitChoices','513544JQinTf','1857770VeWiPM','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','length','apply','311962hNWflb','getMakaProjectConfig','options','(((.+)+)+)+$','942321utQHPQ','13544XkSUoK','7494TXuyYr','Material-UI\x20Kit','frame','processAndRunGenerator','kit:mui:frame','\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','9855TbbcBG','mui','No\x20MUI\x20kits\x20selected.\x20Exiting.','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','info','auth','includes','search'];a125c=function(){return l;};return a125c();}import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x1ad)]({'name':a125j(0x1a0),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a125j(0x19a),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a125j;Log[k(0x1a3)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log['notice'](k(0x19e));const {kitChoices:a}=await Actions[k(0x195)]({'type':k(0x1a9),'name':k(0x18d),'message':k(0x1a2),'choices':[{'name':k(0x1ab),'value':k(0x19b)},{'name':k(0x190),'value':'auth'}]}),b=this[k(0x1a8)]['findProjectDirectory'](),c=this[k(0x1a8)][k(0x194)]();a['includes'](k(0x19b))&&await a125e['processAndRunGenerator'](k(0x19d),[],{'force':!![],'cwd':b,'config':c});a[k(0x1a5)](k(0x1a4))&&await a125e[k(0x19c)](k(0x1aa),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x191)]===0x0){Log[k(0x1a3)](k(0x1a1));return;}},async function(){},a125f);export default MuiGen;
1
+ const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=-parseInt(g(0x1b8))/0x1*(-parseInt(g(0x1d3))/0x2)+parseInt(g(0x1c2))/0x3+parseInt(g(0x1dc))/0x4+parseInt(g(0x1de))/0x5*(parseInt(g(0x1d9))/0x6)+-parseInt(g(0x1ba))/0x7*(-parseInt(g(0x1d4))/0x8)+parseInt(g(0x1c5))/0x9+parseInt(g(0x1da))/0xa*(-parseInt(g(0x1c8))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x8304b));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0x1d6)]()[i(0x1d2)](i(0x1bc))[i(0x1d6)]()[i(0x1b7)](a125a)[i(0x1d2)](i(0x1bc));});a125a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a125d(a,b);}import{Log}from'../../../tools/log/log.class.js';function a125c(){const l=['create','(((.+)+)+)+$','fsi','\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','Material-UI\x20Kit','notice','options','27789GCOcrV','includes','kit:mui:auth','977976HZrRjw','checkbox','mui','27830qmMOfR','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','kitChoices','getMakaProjectConfig','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','apply','kit:mui:frame','auth','search','1014812jvWRNp','48teEPjm','findProjectDirectory','toString','maka\x20g:kit:m','Header,\x20Footer,\x20and\x20Drawer','42QQwrqr','4220SnDtge','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','3128284MpdDrG','No\x20MUI\x20kits\x20selected.\x20Exiting.','28255cxTEkm','info','length','constructor','1krVCak','frame','183575DHJwxn'];a125c=function(){return l;};return a125c();}import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x1bb)]({'name':a125j(0x1c7),'aliases':['m'],'usage':a125j(0x1ce),'noNeedResource':!![],'shortDesc':a125j(0x1bf),'validOpts':[''],'isPro':!![],'examples':[a125j(0x1d7)]},async function(){const k=a125j;Log[k(0x1df)](k(0x1c9)),Log[k(0x1c0)](k(0x1be));const {kitChoices:a}=await Actions[k(0x1c1)]({'type':k(0x1c6),'name':k(0x1cb),'message':k(0x1ca),'choices':[{'name':k(0x1d8),'value':k(0x1b9)},{'name':k(0x1db),'value':k(0x1d1)}]}),b=this[k(0x1bd)][k(0x1d5)](),c=this[k(0x1bd)][k(0x1cc)]();a[k(0x1c3)]('frame')&&await a125e[k(0x1cd)](k(0x1d0),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x1d1))&&await a125e[k(0x1cd)](k(0x1c4),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x1e0)]===0x0){Log[k(0x1df)](k(0x1dd));return;}},async function(){},a125f);export default MuiGen;
@@ -1 +1 @@
1
- const a126o=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x10f))/0x1*(-parseInt(l(0x11d))/0x2)+parseInt(l(0x107))/0x3*(parseInt(l(0x12e))/0x4)+parseInt(l(0x13b))/0x5+parseInt(l(0x114))/0x6*(-parseInt(l(0x12f))/0x7)+-parseInt(l(0x132))/0x8*(-parseInt(l(0x127))/0x9)+parseInt(l(0x12c))/0xa*(-parseInt(l(0x10d))/0xb)+parseInt(l(0x118))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xae47a));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0x109)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0x135)]()[n(0x131)]('(((.+)+)+)+$')[n(0x135)]()['constructor'](a126a)['search'](n(0x133));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x105;let f=c[d];return f;},a126d(a,b);}a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a126c(){const r=['none','import\x20\x27./','template/template.css','warn','96KrCYfU','true','withTranslations','engines','11948748tOTZjw','dir','api','maka\x20g:layout\x20mobile/iPhone8','split','473774ppaNWG','string','withHooks','css','.app-tests.js','withValue','fileName','.css','.js','findAppDirectory','171UeJlFv','layout','react','client','withHook','3504830HURyfS','maka\x20g:l\x20web/safari','31916SQSjnr','224420KiJFlX','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','search','396688cBEgrR','(((.+)+)+)+$','checkNpmPackage','toString','test','/imports/ui/layouts','setTemplate','create','ramda','1394920umrJcW','resourceName','template','injectAtBeginningOfFile','fsi','injectTemplateModule','333cLcwDm','test/test.js','apply','theme','hook/hook.js','features','44hkyTro','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','2MjlBAJ'];a126c=function(){return r;};return a126c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a126o(0x139)]({'name':a126o(0x128),'aliases':aliases,'usage':a126o(0x10e),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a126o(0x12b)],'examples':[a126o(0x11b),a126o(0x12d)]},async function(a,b){const p=a126o,c=p(0x137),d=this[p(0x105)][p(0x126)](),e=this[p(0x105)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b[p(0x13c)]),paramCase(b[p(0x13c)])]}),f=this[p(0x105)]['getMakaProjectConfig']();await this[p(0x105)][p(0x122)](f,async()=>{const q=p;typeof f[q(0x13d)][q(0x136)]==='string'&&(f[q(0x13d)]['test']=f[q(0x13d)][q(0x136)]==='true'?!![]:![],this[q(0x105)][q(0x138)](q(0x136),f[q(0x13d)][q(0x136)]));typeof f[q(0x13d)][q(0x120)]===q(0x11e)&&(f['template']['css']=f['template']['css']===q(0x115)?!![]:![],this[q(0x105)][q(0x138)](q(0x120),f[q(0x13d)][q(0x120)]));typeof f[q(0x13d)]['js']==='string'&&(f[q(0x13d)]['js']=f['template']['js']===q(0x115)?!![]:![],this[q(0x105)]['setTemplate']('js',f[q(0x13d)]['js']));!f['features']&&(f['features']={});const g=b['_']?b['_'][0x0][q(0x11c)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x134)](q(0x13a))&&(Log[q(0x113)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this['fsi']['installNpmPackage'](q(0x13a),{'cwd':d}));if(h&&!this['checkNpmPackage'](q(0x129))){Log[q(0x113)](q(0x130));return;}const i={'name':pascalCase(b[q(0x13c)]),'myPath':a126e['relative'](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x13c)]),'camelCaseName':camelCase(b[q(0x13c)]),'fileName':paramCase(b[q(0x13c)]),'graphql':f[q(0x117)]['graphql'],'features':f[q(0x10c)],'client':f['engines'][q(0x12a)],'api':f[q(0x117)][q(0x11a)],'ssr':f['engines']['ssr'],'test':f[q(0x117)][q(0x136)],'theme':f[q(0x117)][q(0x10a)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x10c)][q(0x116)]};f[q(0x10c)]?.[q(0x11f)]||b[q(0x12b)]?await this[q(0x105)][q(0x13d)]({'srcPath':q(0x10b),'destPath':e+q(0x125),'framework':q(0x129),'context':i,'config':f}):await this[q(0x105)]['template']({'srcPath':'component/component.js','destPath':e+q(0x125),'framework':q(0x129),'context':i,'config':f});f[q(0x117)][q(0x136)]!==q(0x110)&&await this['fsi']['template']({'srcPath':q(0x108),'destPath':e+q(0x121),'framework':'react','context':i,'config':f});f[q(0x13d)]['css']&&(await this['fsi'][q(0x13d)]({'srcPath':q(0x112),'destPath':e+q(0x124),'context':Object['assign']({},i,{'className':paramCase(b[q(0x13c)])}),'config':f}),await this['fsi'][q(0x13e)]({'filePath':e+'.'+f[q(0x117)]['js'],'content':q(0x111)+i['fileName']+'.'+f[q(0x117)][q(0x120)]+'\x27;'}));const j=b['dir']?'/'+b[q(0x119)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0x123)];await this['fsi'][q(0x106)](i['className'],f,k);});});
1
+ const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(0x151))/0x1*(-parseInt(l(0x172))/0x2)+-parseInt(l(0x16f))/0x3*(-parseInt(l(0x173))/0x4)+parseInt(l(0x166))/0x5+parseInt(l(0x144))/0x6*(parseInt(l(0x15c))/0x7)+parseInt(l(0x155))/0x8+-parseInt(l(0x142))/0x9*(parseInt(l(0x14c))/0xa)+-parseInt(l(0x150))/0xb*(parseInt(l(0x17c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x7f7a0));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(0x15f)]()['search'](m(0x16e))[m(0x15f)]()['constructor'](a126a)[m(0x145)](m(0x16e));});a126a();import a126e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a126c(){const q=['120690rataXk','search','assign','injectAtBeginningOfFile','engines','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','withHooks','fsi','255730UoOaLr','ramda','template/template.css','split','11UfWjUx','465734gwyTSs','string','warn','css','1047728gAtfdr','features','ssr','pathFromApp','.app-tests.js','installNpmPackage','layout','154XLOdsB','.css','test/test.js','toString','pathFromProject','maka\x20g:l\x20web/safari','dir','create','react','checkNpmPackage','3074220vWbuLt','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','theme','maka\x20g:layout\x20mobile/iPhone8','fileName','template','setTemplate','test','(((.+)+)+)+$','2327718hyxxkf','/imports/ui/layouts','findAppDirectory','4ABrOji','4IzCdLF','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','className','withValue','relative','withHook','true','none','.js','27869088qcHFNp','resourceName','18SwkElx','withTranslations'];a126c=function(){return q;};return a126c();}import{camelCase,paramCase,pascalCase}from'change-case';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x141;let f=c[d];return f;},a126d(a,b);}const aliases=['l'];Generator[a126n(0x163)]({'name':a126n(0x15b),'aliases':aliases,'usage':a126n(0x174),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':['withHook'],'examples':[a126n(0x169),a126n(0x161)]},async function(a,b){const o=a126n,c=o(0x170),d=this[o(0x14b)][o(0x171)](),e=this['fsi'][o(0x158)]({'pathParts':[c,b[o(0x162)],paramCase(b['resourceName']),paramCase(b[o(0x141)])]}),f=this[o(0x14b)]['getMakaProjectConfig']();await this[o(0x14b)][o(0x176)](f,async()=>{const p=o;typeof f[p(0x16b)][p(0x16d)]===p(0x152)&&(f['template'][p(0x16d)]=f[p(0x16b)][p(0x16d)]==='true'?!![]:![],this[p(0x14b)][p(0x16c)](p(0x16d),f[p(0x16b)]['test']));typeof f[p(0x16b)][p(0x154)]===p(0x152)&&(f[p(0x16b)][p(0x154)]=f[p(0x16b)][p(0x154)]==='true'?!![]:![],this[p(0x14b)][p(0x16c)]('css',f[p(0x16b)][p(0x154)]));typeof f[p(0x16b)]['js']===p(0x152)&&(f[p(0x16b)]['js']=f[p(0x16b)]['js']===p(0x179)?!![]:![],this['fsi'][p(0x16c)]('js',f[p(0x16b)]['js']));!f[p(0x156)]&&(f['features']={});const g=b['_']?b['_'][0x0][p(0x14f)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[p(0x165)](p(0x14d))&&(Log['warn'](p(0x167)),this['fsi'][p(0x15a)](p(0x14d),{'cwd':d}));if(h&&!this['checkNpmPackage'](p(0x164))){Log[p(0x153)](p(0x149));return;}const i={'name':pascalCase(b[p(0x141)]),'myPath':a126e[p(0x177)](this['fsi'][p(0x160)]({}),e),'cssCaseName':paramCase(b[p(0x141)]),'className':pascalCase(b[p(0x141)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[p(0x141)]),'graphql':f[p(0x148)]['graphql'],'features':f['features'],'client':f['engines']['client'],'api':f[p(0x148)]['api'],'ssr':f[p(0x148)][p(0x157)],'test':f[p(0x148)][p(0x16d)],'theme':f[p(0x148)][p(0x168)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x156)][p(0x143)]};f[p(0x156)]?.[p(0x14a)]||b[p(0x178)]?await this[p(0x14b)]['template']({'srcPath':'hook/hook.js','destPath':e+'.js','framework':p(0x164),'context':i,'config':f}):await this[p(0x14b)][p(0x16b)]({'srcPath':'component/component.js','destPath':e+p(0x17b),'framework':'react','context':i,'config':f});f[p(0x148)]['test']!==p(0x17a)&&await this[p(0x14b)]['template']({'srcPath':p(0x15e),'destPath':e+p(0x159),'framework':p(0x164),'context':i,'config':f});f['template'][p(0x154)]&&(await this['fsi'][p(0x16b)]({'srcPath':p(0x14e),'destPath':e+p(0x15d),'context':Object[p(0x146)]({},i,{'className':paramCase(b[p(0x141)])}),'config':f}),await this[p(0x14b)][p(0x147)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+i[p(0x16a)]+'.'+f[p(0x148)][p(0x154)]+'\x27;'}));const j=b[p(0x162)]?'/'+b['dir']+'/':'/',k=''+c+j+i[p(0x16a)]+'/'+i[p(0x16a)];await this[p(0x14b)]['injectTemplateModule'](i[p(0x175)],f,k);});});
@@ -1 +1 @@
1
- function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x64;let f=c[d];return f;},a127d(a,b);}const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=-parseInt(f(0x74))/0x1+parseInt(f(0x64))/0x2*(parseInt(f(0x7a))/0x3)+parseInt(f(0x7c))/0x4*(-parseInt(f(0x72))/0x5)+parseInt(f(0x67))/0x6*(parseInt(f(0x71))/0x7)+-parseInt(f(0x7b))/0x8*(-parseInt(f(0x65))/0x9)+-parseInt(f(0x6e))/0xa*(parseInt(f(0x6a))/0xb)+parseInt(f(0x7d))/0xc*(-parseInt(f(0x73))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xd2138));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a['toString']()[h(0x6f)](h(0x78))[h(0x6b)]()['constructor'](a127a)[h(0x6f)](h(0x78));});function a127c(){const j=['22rmSXQC','toString','maka\x20g:route\x20todos/edit','Scaffold\x20various\x20parts\x20of\x20your\x20application','1069070bNRckH','search','maka\x20generate:scaffold\x20todos','2223235rRBQQP','65tvJcII','1375075LXFeiO','1012313RiNSnV','maka\x20g:package\x20package:name','maka\x20g:api\x20trucks','generate','(((.+)+)+)+$','apply','255gIOHZJ','1464MCpKmD','286252tgKxiZ','12FfvxWK','25544fBQlUO','84564ALFaQD','maka\x20g:scaffold\x20todos','6IuyEFn','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:template\x20todos/todo_item'];a127c=function(){return j;};return a127c();}a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127i(0x77),'aliases':['g'],'usage':a127i(0x68),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x6d),'examples':[a127i(0x70),a127i(0x66),a127i(0x69),a127i(0x75),a127i(0x6c),a127i(0x76),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
1
+ function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x10b;let f=c[d];return f;},a127d(a,b);}const a127i=a127d;(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0x111))/0x1*(parseInt(f(0x10d))/0x2)+parseInt(f(0x122))/0x3*(-parseInt(f(0x11d))/0x4)+-parseInt(f(0x115))/0x5+-parseInt(f(0x11b))/0x6+-parseInt(f(0x10f))/0x7*(-parseInt(f(0x10e))/0x8)+-parseInt(f(0x121))/0x9+-parseInt(f(0x11f))/0xa*(-parseInt(f(0x11e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xaf59a));function a127c(){const j=['179373CbTzVt','maka\x20g:package\x20package:name','maka\x20g:dbc\x20geoserver\x20--type=pgsql','search','82xVQpjf','8ykHmsm','6735799vnVJQZ','(((.+)+)+)+$','26029SJjaSM','apply','toString','maka\x20g:api\x20trucks','2022370ojMBpG','maka\x20g:template\x20todos/todo_item','constructor','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:scaffold\x20todos','maka\x20g:route\x20todos/edit','3198372nIKKZY','generate','92rXWzUH','11imNyEo','12050510yPQncg','maka\x20{generate,\x20g}:<generator>\x20<name>','1831806GxveRO'];a127c=function(){return j;};return a127c();}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0x113)]()[h(0x10c)](h(0x110))['toString']()[h(0x117)](a127a)[h(0x10c)](h(0x110));});a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127i(0x11c),'aliases':['g'],'usage':a127i(0x120),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x118),'examples':['maka\x20generate:scaffold\x20todos',a127i(0x119),a127i(0x116),a127i(0x123),a127i(0x11a),a127i(0x114),a127i(0x10b)]},function(){});export default MakaGen;
@@ -1 +1 @@
1
- const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0xa8))/0x1*(-parseInt(j(0xc0))/0x2)+-parseInt(j(0xbc))/0x3+parseInt(j(0xb8))/0x4+-parseInt(j(0xbd))/0x5*(parseInt(j(0xcb))/0x6)+parseInt(j(0xba))/0x7*(parseInt(j(0xb2))/0x8)+-parseInt(j(0xc3))/0x9+parseInt(j(0xa7))/0xa*(parseInt(j(0xbe))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x81599));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0xc1)]()[l(0xc4)](l(0xb1))['toString']()[l(0xc2)](a128a)[l(0xc4)](l(0xb1));});a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xa7;let f=c[d];return f;},a128d(a,b);}function a128c(){const p=['checkMeteorPackage','-rpc-method.','getMakaProjectConfig','startup','resourceName','fsi','template','method','(((.+)+)+)+$','40FPYlXC','withValue','tsx','imports','index.','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','3185956wwLFtj','dir','554575sNAeFM','ddp-rate-limiter','2408100Wusave','74775gsyOzN','3982oBTyvl','maka\x20g:method\x20todos','2nynSya','toString','constructor','4776120UikVMc','search','injectAtEndOfFile','methods','error','apply','appPathPrefix','-rpc-method\x27;','216DVzGNL','engines','34120mtuMzl','26181LvCqJv'];a128c=function(){return p;};return a128c();}Generator['create']({'name':a128m(0xb0),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a128m(0xb7),'validOpts':['dir'],'examples':[a128m(0xbf)]},async function(a,b){const n=a128m;try{const c=this[n(0xae)][n(0xab)]();await this[n(0xae)][n(0xb3)](c,async()=>{const o=n,d=paramCase(b[o(0xad)]),f={'name':b[o(0xad)],'fileName':d,'className':pascalCase(b[o(0xad)]),'camelCase':camelCase(b[o(0xad)]),'noRename':!![]};let g='js';c[o(0xcc)]['js']===o(0xb4)&&(g='ts');await this[o(0xae)][o(0xa9)](['maka:check',o(0xbb),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0xae)][o(0xaf)]({'srcPath':'method/method.js','destPath':this[o(0xae)]['pathFromApp']({'pathParts':[o(0xb5),o(0xac),b[o(0xc9)],o(0xc6),b[o(0xb9)],d+o(0xaa)+g]}),'context':f,'config':c});const h=b[o(0xb9)]?'/'+b[o(0xb9)]+'/':'/',i=this['fsi']['pathFromApp']({'pathParts':['imports',o(0xac),b['appPathPrefix'],o(0xb6)+c[o(0xcc)]['js']]});await this[o(0xae)][o(0xc5)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0xca)});});}catch(d){Log[n(0xc7)](d);}});
1
+ const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x134))/0x1+-parseInt(j(0x151))/0x2+-parseInt(j(0x149))/0x3+parseInt(j(0x141))/0x4+-parseInt(j(0x136))/0x5+-parseInt(j(0x14b))/0x6+parseInt(j(0x155))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xbe8d3));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x137)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x154)]()['search'](l(0x140))[l(0x154)]()[l(0x146)](a128a)[l(0x14a)]('(((.+)+)+)+$');});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x134;let f=c[d];return f;},a128d(a,b);}a128a();function a128c(){const p=['ddp-rate-limiter','method/method.js','withValue','constructor','maka:check','-rpc-method.','2637273fTMnjO','search','4221522JobJSQ','index.','injectAtEndOfFile','resourceName','dir','appPathPrefix','664988jCHFKr','checkMeteorPackage','engines','toString','28630231VLtPNo','1058726waMjBC','create','6336450tRQtlM','apply','pathFromApp','fsi','template','import\x20\x27./methods','startup','imports','maka\x20g:method\x20todos','maka\x20{generate,\x20g}:{method,\x20m}\x20name','(((.+)+)+)+$','3726616RyKDdm','error'];a128c=function(){return p;};return a128c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128m(0x135)]({'name':'method','aliases':['m'],'usage':a128m(0x13f),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a128m(0x14f)],'examples':[a128m(0x13e)]},async function(a,b){const n=a128m;try{const c=this['fsi']['getMakaProjectConfig']();await this[n(0x139)][n(0x145)](c,async()=>{const o=n,d=paramCase(b['resourceName']),f={'name':b[o(0x14e)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x14e)]),'noRename':!![]};let g='js';c[o(0x153)]['js']==='tsx'&&(g='ts');await this[o(0x139)][o(0x152)]([o(0x147),o(0x143),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x139)][o(0x13a)]({'srcPath':o(0x144),'destPath':this[o(0x139)]['pathFromApp']({'pathParts':['imports',o(0x13c),b[o(0x150)],'methods',b['dir'],d+o(0x148)+g]}),'context':f,'config':c});const h=b[o(0x14f)]?'/'+b['dir']+'/':'/',i=this[o(0x139)][o(0x138)]({'pathParts':[o(0x13d),o(0x13c),b[o(0x150)],o(0x14c)+c[o(0x153)]['js']]});await this[o(0x139)][o(0x14d)]({'filePath':i,'content':o(0x13b)+h+d+'-rpc-method\x27;'});});}catch(d){Log[n(0x142)](d);}});
@@ -1 +1 @@
1
- function a129c(){const r=['toString','client','component','ssr','layout','231993ntCfUe','package.js','174296kUAbmh','create','graphql','pathFromAppWithNoReWrite','fsi','engines','tests/client','resourceName','dir','theme','relative','search','server','template','packages','.js','noRename','store','/package.js','pathFromProject','4MPPcrB','1356056HZIQYb','withValue','23860duQbfL','tests/server','getMakaProjectConfig','1460866CrYOVB','package','features','55uNpMMQ','template/template.js','(((.+)+)+)+$','apply','40578iqhtjq','pathFromApp','hasOwnProperty','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','10ZpDlTd','778701ciORpv','9NCGmUL'];a129c=function(){return r;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x108;let f=c[d];return f;},a129d(a,b);}const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0x11e))/0x1*(parseInt(l(0x121))/0x2)+-parseInt(l(0x108))/0x3+parseInt(l(0x11f))/0x4+parseInt(l(0x127))/0x5*(-parseInt(l(0x12b))/0x6)+-parseInt(l(0x131))/0x7+parseInt(l(0x10a))/0x8*(parseInt(l(0x132))/0x9)+-parseInt(l(0x130))/0xa*(-parseInt(l(0x124))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x2ca88));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x133)]()[n(0x115)]('(((.+)+)+)+$')[n(0x133)]()['constructor'](a129a)[n(0x115)](n(0x129));});a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a129o(0x10b)]({'name':a129o(0x125),'aliases':['p'],'usage':a129o(0x12e),'shortDesc':a129o(0x12f),'validOpts':['dir'],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a129o,c=paramCase(b['resourceName']),d=this[p(0x10e)][p(0x12c)]({'pathParts':[p(0x118),b[p(0x112)],c]}),e=this[p(0x10e)][p(0x10d)]({'pathParts':[p(0x118),b[p(0x112)],c,p(0x109)]}),f=this[p(0x10e)][p(0x123)]();await this[p(0x10e)][p(0x120)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x111)]),'myPath':a129e[q(0x114)](this[q(0x10e)][q(0x11d)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x111)]),'fileName':c,'client':f[q(0x10f)][q(0x134)],'graphql':f[q(0x10f)][q(0x10c)],'ssr':f[q(0x10f)][q(0x136)],'isComponent':b['hasOwnProperty'](q(0x135)),'isLayout':b[q(0x12d)](q(0x137)),'isStore':b['hasOwnProperty'](q(0x11b)),'features':f[q(0x126)],'noRename':!![],'theme':f[q(0x10f)][q(0x113)]};await this[q(0x10e)][q(0x117)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0x11a)]=![];const h=d+'/client/'+c+'.js';await this[q(0x10e)][q(0x117)]({'srcPath':q(0x128),'destPath':h,'context':g,'config':f});const i=['lib',q(0x116),q(0x110),q(0x122)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x119);await this['fsi'][q(0x117)]({'srcPath':'package/'+j+q(0x11c),'destPath':k,'context':g,'config':f});}});});
1
+ const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=-parseInt(l(0x18a))/0x1*(parseInt(l(0x16a))/0x2)+-parseInt(l(0x16b))/0x3+parseInt(l(0x185))/0x4+parseInt(l(0x16e))/0x5*(parseInt(l(0x173))/0x6)+-parseInt(l(0x171))/0x7+-parseInt(l(0x184))/0x8+parseInt(l(0x188))/0x9*(parseInt(l(0x16f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x8051c));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x170)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x181)]()[n(0x17c)](n(0x192))[n(0x181)]()[n(0x180)](a129a)[n(0x17c)](n(0x192));});a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x168;let f=c[d];return f;},a129d(a,b);}import a129e from'path';import{Generator}from'../generator.js';function a129c(){const r=['search','layout','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','packages','constructor','toString','engines','/package.js','597648XQiWds','1140748IgSxLw','graphql','tests/client','69354iSuRpc','relative','918362HOymKA','dir','withValue','template','.js','pathFromProject','template/template.js','package','(((.+)+)+)+$','fsi','theme','pathFromApp','2wIiluw','1358436ZAWgYK','pathFromAppWithNoReWrite','hasOwnProperty','639425dXkGIY','2770JIidQk','apply','6718691BzSEpf','ssr','24zJWphE','package/','package/package.js','maka\x20g:package\x20todos:package','component','noRename','lib','store','resourceName'];a129c=function(){return r;};return a129c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a129o(0x191),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a129o(0x17e),'validOpts':[a129o(0x18b)],'examples':[a129o(0x176)]},async function(a,b){const p=a129o,c=paramCase(b[p(0x17b)]),d=this[p(0x193)][p(0x169)]({'pathParts':[p(0x17f),b[p(0x18b)],c]}),e=this[p(0x193)][p(0x16c)]({'pathParts':[p(0x17f),b[p(0x18b)],c,'package.js']}),f=this['fsi']['getMakaProjectConfig']();await this['fsi'][p(0x18c)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x17b)]),'myPath':a129e[q(0x189)](this[q(0x193)][q(0x18f)]({}),d),'cssCaseName':paramCase(b[q(0x17b)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0x17b)]),'fileName':c,'client':f['engines']['client'],'graphql':f[q(0x182)][q(0x186)],'ssr':f['engines'][q(0x172)],'isComponent':b[q(0x16d)](q(0x177)),'isLayout':b[q(0x16d)](q(0x17d)),'isStore':b[q(0x16d)](q(0x17a)),'features':f['features'],'noRename':!![],'theme':f[q(0x182)][q(0x168)]};await this[q(0x193)][q(0x18d)]({'srcPath':q(0x175),'destPath':e,'context':g,'config':f}),g[q(0x178)]=![];const h=d+'/client/'+c+q(0x18e);await this[q(0x193)][q(0x18d)]({'srcPath':q(0x190),'destPath':h,'context':g,'config':f});const i=[q(0x179),'server',q(0x187),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+'.js';await this[q(0x193)][q(0x18d)]({'srcPath':q(0x174)+j+q(0x183),'destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- const a130l=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=parseInt(j(0x114))/0x1+-parseInt(j(0x112))/0x2+-parseInt(j(0x124))/0x3+parseInt(j(0xe0))/0x4*(-parseInt(j(0x10e))/0x5)+parseInt(j(0xf1))/0x6*(parseInt(j(0xf2))/0x7)+-parseInt(j(0x11e))/0x8*(-parseInt(j(0xfc))/0x9)+parseInt(j(0x110))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x60557));const a130b=(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;};}()),a130a=a130b(this,function(){const k=a130d;return a130a[k(0xfe)]()[k(0x10d)](k(0x121))['toString']()[k(0xdd)](a130a)[k(0x10d)]('(((.+)+)+)+$');});a130a();function a130c(){const o=['/imports/ui/pages','withHooks','true','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','8PJAHSF','route','hooks','(((.+)+)+)+$','page','react','1808109ruTiLs','maka\x20g:page\x20todos/todos-item','template/template.css','Generate\x20a\x20page.','constructor','withHook','warn','16364eoWpOk','hasOwnProperty','layout','layouts','component','hook/hook.js','assign','withValue','none','fsi','test/test.js','.css','test','components','engines','checkNpmPackage','.html','19752gdeWoG','1610NJNaJA','vanilla','features','baseDir','html','relative','ramda','injectAtBeginningOfFile','className','\x27;\x0a','746847ibEKBs','template/template.html','toString','template','/imports/ui/','pathFromProject','pathFromApp','findAppDirectory','processAndRunGenerator','withTranslations','css','.js','fileName','setTemplate','.app-tests.js','import\x20\x27./','string','search','665FXjBLv','injectTemplateModule','11267620UqXjUx','ssr','1019646vRsUYM','root','84307erZFuG','Updating\x20npm\x20packages\x20...','dir','client','resourceName','graphql'];a130c=function(){return o;};return a130c();}import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xdc;let f=c[d];return f;},a130d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a130l(0x122),'aliases':aliases,'usage':a130l(0x11d),'shortDesc':a130l(0xdc),'validOpts':[{'name':a130l(0xf5),'values':[a130l(0x120),a130l(0xed),'pages',a130l(0xe3)]},{'name':'withHook','boolFlag':!![]}],'examples':[a130l(0x125)]},async function(a,b){const m=a130l,c=b[m(0xf5)]?m(0x100)+b['baseDir']:m(0x11a),d=this[m(0xe9)][m(0x103)](),e=this['fsi'][m(0x102)]({'pathParts':[c,b[m(0x116)],paramCase(b['resourceName']),paramCase(b[m(0x118)])]}),f=this['fsi']['getMakaProjectConfig']();let g='';return await this['fsi'][m(0xe7)](f,async()=>{const n=m;typeof f[n(0xff)][n(0xf6)]===n(0x10c)&&(f[n(0xff)][n(0xf6)]=f['template']['html']===n(0x11c)?!![]:![],this[n(0xe9)][n(0x109)]('html',f[n(0xff)][n(0xf6)]));typeof f[n(0xff)][n(0xec)]==='string'&&(f[n(0xff)][n(0xec)]=f[n(0xff)][n(0xec)]===n(0x11c)?!![]:![],this[n(0xe9)][n(0x109)](n(0xec),f[n(0xff)][n(0xec)]));typeof f[n(0xff)][n(0x106)]===n(0x10c)&&(f['template'][n(0x106)]=f[n(0xff)][n(0x106)]==='true'?!![]:![],this[n(0xe9)][n(0x109)](n(0x106),f[n(0xff)]['css']));typeof f[n(0xff)]['js']===n(0x10c)&&(f[n(0xff)]['js']=f[n(0xff)]['js']===n(0x11c)?!![]:![],this[n(0xe9)][n(0x109)]('js',f[n(0xff)]['js']));!f[n(0xf4)]&&(f['features']={});!b['root']&&!this[n(0xe9)][n(0xef)](n(0xf8))&&(Log[n(0xdf)](n(0x115)),this[n(0xe9)]['installNpmPackage']('ramda',{'cwd':d}));const h={'name':pascalCase(b[n(0x118)]),'myPath':a130e[n(0xf7)](this['fsi'][n(0x101)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[n(0x118)]),'camelCaseName':camelCase(b[n(0x118)]),'fileName':paramCase(b[n(0x118)]),'graphql':f[n(0xee)][n(0x119)],'features':f['features'],'client':f[n(0xee)][n(0x117)],'api':f['engines']['api'],'ssr':f[n(0xee)][n(0x111)],'isStore':b['hasOwnProperty']('store'),'isComponent':b[n(0xe1)](n(0xe4)),'isLayout':b[n(0xe1)](n(0xe2)),'withTranslations':f[n(0xf4)][n(0x105)],'test':f[n(0xee)][n(0xec)],'theme':f['engines']['theme']};f[n(0xff)]['html']&&await this['fsi'][n(0xff)]({'srcPath':n(0xfd),'destPath':e+n(0xf0),'context':h,'config':f});f[n(0xf4)]?.[n(0x11b)]||b[n(0xde)]?await this['fsi'][n(0xff)]({'srcPath':n(0xe5),'destPath':e+n(0x107),'framework':n(0x123),'context':h,'config':f}):await this['fsi'][n(0xff)]({'srcPath':'component/component.js','destPath':e+'.js','framework':n(0x123),'context':h,'config':f});f[n(0xee)][n(0xec)]!==n(0xe8)&&await this[n(0xe9)][n(0xff)]({'srcPath':n(0xea),'destPath':e+n(0x10a),'framework':n(0x123),'context':h,'config':f});f[n(0xff)]['css']&&await this[n(0xe9)]['template']({'srcPath':n(0x126),'destPath':e+n(0xeb),'context':Object[n(0xe6)]({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[n(0xee)][n(0x117)]!==n(0x123)&&f[n(0xee)][n(0x117)]!==n(0xf3)?(f[n(0xff)][n(0x106)]&&await this[n(0xe9)][n(0xf9)]({'filePath':e+'.'+f['engines']['js'],'content':n(0x10b)+h[n(0x108)]+'.'+f[n(0xee)][n(0xf6)]+n(0xfb)+n(0x10b)+h[n(0x108)]+'.'+f[n(0xee)][n(0x106)]+'\x27;'}),!f[n(0xff)][n(0x106)]&&await this[n(0xe9)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[n(0xee)]['js'],'content':n(0x10b)+h[n(0x108)]+'.'+f[n(0xee)]['html']+'\x27;'})):f[n(0xff)][n(0x106)]&&await this[n(0xe9)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[n(0xee)]['js'],'content':n(0x10b)+h[n(0x108)]+'.'+f['engines'][n(0x106)]+'\x27;'});const i=b['dir']?'/'+b[n(0x116)]+'/':'/';g=''+c+i+h[n(0x108)]+'/'+h[n(0x108)],await this[n(0xe9)][n(0x10f)](h[n(0xfa)],f,g),!b[n(0x113)]&&await a130f[n(0x104)](n(0x11f),[i+b[n(0x118)]],b);}),g+'.'+f[m(0xee)]['js'];});
1
+ const a130l=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0xf8))/0x1*(-parseInt(j(0xdb))/0x2)+parseInt(j(0xcf))/0x3+parseInt(j(0x100))/0x4*(-parseInt(j(0x101))/0x5)+parseInt(j(0xcb))/0x6+-parseInt(j(0xc3))/0x7+-parseInt(j(0xf4))/0x8+-parseInt(j(0xbf))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x7c2b3));const a130b=(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;};}()),a130a=a130b(this,function(){const k=a130d;return a130a[k(0xe5)]()[k(0xe6)](k(0xe8))[k(0xe5)]()[k(0xd5)](a130a)[k(0xe6)](k(0xe8));});a130a();import a130e from'path';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xbe;let f=c[d];return f;},a130d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';function a130c(){const o=['withValue','dir','pathFromApp','checkNpmPackage','fsi','6196DQIgZd','2485LWPVOm','hasOwnProperty','css','3637800SCPlmr','api','getMakaProjectConfig','.js','5448877kfPypF','vanilla','none','client','.app-tests.js','maka\x20g:page\x20todos/todos-item','Generate\x20a\x20page.','engines','5791590IDvptv','template','\x27;\x0a','withHook','2932665CEqXDl','ramda','graphql','template/template.css','template/template.html','fileName','constructor','processAndRunGenerator','Updating\x20npm\x20packages\x20...','withTranslations','withHooks','react','12MZWuQH','hook/hook.js','assign','baseDir','html','store','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','layout','setTemplate','layouts','toString','search','component/component.js','(((.+)+)+)+$','installNpmPackage','warn','injectAtBeginningOfFile','/imports/ui/pages','.html','/imports/ui/','string','relative','components','features','test','2834392FNzCdL','import\x20\x27./','true','ssr','145423OaaulI','create','resourceName'];a130c=function(){return o;};return a130c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130l(0xf9)]({'name':'page','aliases':aliases,'usage':a130l(0xe1),'shortDesc':a130l(0xc9),'validOpts':[{'name':a130l(0xde),'values':['hooks',a130l(0xf1),'pages',a130l(0xe4)]},{'name':a130l(0xce),'boolFlag':!![]}],'examples':[a130l(0xc8)]},async function(a,b){const m=a130l,c=b[m(0xde)]?m(0xee)+b[m(0xde)]:m(0xec),d=this['fsi']['findAppDirectory'](),e=this['fsi'][m(0xfd)]({'pathParts':[c,b['dir'],paramCase(b[m(0xfa)]),paramCase(b[m(0xfa)])]}),f=this['fsi'][m(0xc1)]();let g='';return await this[m(0xff)][m(0xfb)](f,async()=>{const n=m;typeof f[n(0xcc)][n(0xdf)]===n(0xef)&&(f[n(0xcc)]['html']=f['template'][n(0xdf)]===n(0xf6)?!![]:![],this[n(0xff)][n(0xe3)](n(0xdf),f[n(0xcc)]['html']));typeof f[n(0xcc)][n(0xf3)]==='string'&&(f[n(0xcc)][n(0xf3)]=f[n(0xcc)]['test']===n(0xf6)?!![]:![],this[n(0xff)][n(0xe3)]('test',f['template'][n(0xf3)]));typeof f[n(0xcc)][n(0xbe)]==='string'&&(f['template']['css']=f[n(0xcc)][n(0xbe)]===n(0xf6)?!![]:![],this[n(0xff)][n(0xe3)](n(0xbe),f[n(0xcc)]['css']));typeof f[n(0xcc)]['js']===n(0xef)&&(f[n(0xcc)]['js']=f[n(0xcc)]['js']===n(0xf6)?!![]:![],this[n(0xff)][n(0xe3)]('js',f['template']['js']));!f[n(0xf2)]&&(f[n(0xf2)]={});!b['root']&&!this[n(0xff)][n(0xfe)](n(0xd0))&&(Log[n(0xea)](n(0xd7)),this['fsi'][n(0xe9)](n(0xd0),{'cwd':d}));const h={'name':pascalCase(b[n(0xfa)]),'myPath':a130e[n(0xf0)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[n(0xfa)]),'className':pascalCase(b[n(0xfa)]),'camelCaseName':camelCase(b[n(0xfa)]),'fileName':paramCase(b[n(0xfa)]),'graphql':f[n(0xca)][n(0xd1)],'features':f[n(0xf2)],'client':f[n(0xca)][n(0xc6)],'api':f[n(0xca)][n(0xc0)],'ssr':f[n(0xca)][n(0xf7)],'isStore':b[n(0x102)](n(0xe0)),'isComponent':b[n(0x102)]('component'),'isLayout':b['hasOwnProperty'](n(0xe2)),'withTranslations':f['features'][n(0xd8)],'test':f[n(0xca)][n(0xf3)],'theme':f[n(0xca)]['theme']};f[n(0xcc)][n(0xdf)]&&await this[n(0xff)]['template']({'srcPath':n(0xd3),'destPath':e+n(0xed),'context':h,'config':f});f[n(0xf2)]?.[n(0xd9)]||b[n(0xce)]?await this['fsi'][n(0xcc)]({'srcPath':n(0xdc),'destPath':e+n(0xc2),'framework':n(0xda),'context':h,'config':f}):await this['fsi']['template']({'srcPath':n(0xe7),'destPath':e+n(0xc2),'framework':n(0xda),'context':h,'config':f});f[n(0xca)][n(0xf3)]!==n(0xc5)&&await this['fsi'][n(0xcc)]({'srcPath':'test/test.js','destPath':e+n(0xc7),'framework':n(0xda),'context':h,'config':f});f[n(0xcc)][n(0xbe)]&&await this['fsi']['template']({'srcPath':n(0xd2),'destPath':e+'.css','context':Object[n(0xdd)]({},h,{'className':paramCase(b[n(0xfa)])}),'config':f});f[n(0xca)][n(0xc6)]!==n(0xda)&&f['engines']['client']!==n(0xc4)?(f['template'][n(0xbe)]&&await this[n(0xff)][n(0xeb)]({'filePath':e+'.'+f['engines']['js'],'content':n(0xf5)+h[n(0xd4)]+'.'+f[n(0xca)][n(0xdf)]+n(0xcd)+'import\x20\x27./'+h[n(0xd4)]+'.'+f[n(0xca)][n(0xbe)]+'\x27;'}),!f[n(0xcc)][n(0xbe)]&&await this[n(0xff)][n(0xeb)]({'filePath':e+'.'+f[n(0xca)]['js'],'content':'import\x20\x27./'+h[n(0xd4)]+'.'+f['engines'][n(0xdf)]+'\x27;'})):f[n(0xcc)][n(0xbe)]&&await this[n(0xff)][n(0xeb)]({'filePath':e+'.'+f[n(0xca)]['js'],'content':n(0xf5)+h['fileName']+'.'+f[n(0xca)][n(0xbe)]+'\x27;'});const i=b[n(0xfc)]?'/'+b['dir']+'/':'/';g=''+c+i+h[n(0xd4)]+'/'+h[n(0xd4)],await this[n(0xff)]['injectTemplateModule'](h['className'],f,g),!b['root']&&await a130f[n(0xd6)]('route',[i+b['resourceName']],b);}),g+'.'+f[m(0xca)]['js'];});
@@ -1 +1 @@
1
- const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0x1e3))/0x1+-parseInt(m(0x1dc))/0x2*(-parseInt(m(0x1db))/0x3)+parseInt(m(0x1d5))/0x4+-parseInt(m(0x1d2))/0x5*(parseInt(m(0x1e0))/0x6)+parseInt(m(0x1cb))/0x7*(parseInt(m(0x1cc))/0x8)+-parseInt(m(0x1c8))/0x9+parseInt(m(0x1c5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xd7e03));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0x1e2)]()[o(0x1e1)](o(0x1d1))[o(0x1e2)]()[o(0x1c4)](a131a)['search']('(((.+)+)+)+$');});function a131c(){const s=['dir','9dFWkHF','213238LEzBwz','injectAtEndOfFile','create','publish','2965566NYxVMQ','search','toString','218957sPUQVJ','appPathPrefix','withValue','exit','globalPublish','force','server','constructor','10956200sxDRXV','index.','resourceName','11362122LOqwrc','engines','/imports/ui/','1768956kLDQYX','24siELyO','pathFromApp','fsi','getMakaProjectConfig','publish/publish.js','(((.+)+)+)+$','5xMyKKn','apply','startup','993552sUmlQo','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','maka\x20g:publish\x20todos','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','error'];a131c=function(){return s;};return a131c();}a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1c0;let f=c[d];return f;},a131d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a131p(0x1de)]({'name':a131p(0x1df),'aliases':['p'],'usage':a131p(0x1d6),'shortDesc':a131p(0x1d8),'validOpts':[a131p(0x1c2),a131p(0x1c1)],'examples':[a131p(0x1d7)]},async function(a,b){const q=a131p;try{const c=b[q(0x1c2)]||![],d=b['baseDir']?q(0x1ca)+b['baseDir']:'/imports/startup/server/publications',f=this[q(0x1ce)][q(0x1cf)](),g=paramCase(b[q(0x1c7)]),h=this['fsi'][q(0x1cd)]({'pathParts':[d,b['dir'],'',g]});let i='js';f[q(0x1c9)]['js']==='tsx'&&(i='ts');await this[q(0x1ce)][q(0x1e5)](f,async()=>{const r=q,l={'name':b[r(0x1c7)],'collection':pascalCase(b[r(0x1c7)]),'noRename':!![],'globalPublish':b[r(0x1c1)]};await this[r(0x1ce)]['template']({'srcPath':r(0x1d0),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this['fsi']['pathFromApp']({'pathParts':['imports',q(0x1d4),q(0x1c3),b[q(0x1e4)],q(0x1c6)+f['engines']['js']]}),k=b[q(0x1da)]?'/'+b[q(0x1da)]+'/':'/';return await this[q(0x1ce)][q(0x1dd)]({'filePath':j,'content':'import\x20\x27./publications'+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x1d9)](l),process[q(0x1c0)](0x1);}});
1
+ function a131c(){const r=['50VnuFct','335115VhgBQU','imports','baseDir','tsx','globalPublish','2158736wJzPKS','toString','create','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','force','publish/publish.js','engines','2592961YwndWF','61008dQGgkV','search','maka\x20g:publish\x20todos','startup','fsi','publish','injectAtEndOfFile','231759dhRgVB','72DUbnBE','appPathPrefix','695430DZmSKV','815BspvRn','/imports/startup/server/publications','server','exit','pathFromApp','error','template','dir','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','(((.+)+)+)+$','index.','3594UzJrcP','resourceName'];a131c=function(){return r;};return a131c();}const a131o=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=parseInt(m(0x145))/0x1+-parseInt(m(0x148))/0x2+parseInt(m(0x146))/0x3*(parseInt(m(0x13e))/0x4)+parseInt(m(0x149))/0x5*(-parseInt(m(0x154))/0x6)+-parseInt(m(0x13d))/0x7+parseInt(m(0x136))/0x8+-parseInt(m(0x131))/0x9*(-parseInt(m(0x130))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x3a1e1));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x137)]()[n(0x13f)](n(0x152))[n(0x137)]()['constructor'](a131a)[n(0x13f)](n(0x152));});a131a();import{paramCase,pascalCase}from'change-case';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x12f;let f=c[d];return f;},a131d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a131o(0x138)]({'name':a131o(0x143),'aliases':['p'],'usage':a131o(0x151),'shortDesc':a131o(0x139),'validOpts':['force',a131o(0x135)],'examples':[a131o(0x140)]},async function(a,b){const p=a131o;try{const c=b[p(0x13a)]||![],d=b[p(0x133)]?'/imports/ui/'+b[p(0x133)]:p(0x14a),f=this[p(0x142)]['getMakaProjectConfig'](),g=paramCase(b['resourceName']),h=this[p(0x142)][p(0x14d)]({'pathParts':[d,b[p(0x150)],'',g]});let i='js';f[p(0x13c)]['js']===p(0x134)&&(i='ts');await this[p(0x142)]['withValue'](f,async()=>{const q=p,l={'name':b[q(0x12f)],'collection':pascalCase(b['resourceName']),'noRename':!![],'globalPublish':b[q(0x135)]};await this[q(0x142)][q(0x14f)]({'srcPath':q(0x13b),'destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[p(0x142)][p(0x14d)]({'pathParts':[p(0x132),p(0x141),p(0x14b),b[p(0x147)],p(0x153)+f[p(0x13c)]['js']]}),k=b[p(0x150)]?'/'+b['dir']+'/':'/';return await this['fsi'][p(0x144)]({'filePath':j,'content':'import\x20\x27./publications'+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[p(0x14e)](l),process[p(0x14c)](0x1);}});