@maka/maka-cli 4.12.23 → 4.12.24

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 (158) hide show
  1. package/bundle/obf/package.json +3 -2
  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/tool.js +1 -1
  140. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  141. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  142. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  144. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  145. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  146. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/https/https.class.js +1 -1
  148. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  149. package/bundle/obf/src/tools/log/log.class.js +1 -1
  150. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  151. package/bundle/obf/src/tools/options/options.class.js +1 -1
  152. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  153. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  154. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  156. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  157. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  158. package/package.json +3 -2
@@ -1 +1 @@
1
- const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=parseInt(o(0x101))/0x1*(-parseInt(o(0x11a))/0x2)+parseInt(o(0x116))/0x3*(-parseInt(o(0xfc))/0x4)+parseInt(o(0xec))/0x5+parseInt(o(0x115))/0x6+-parseInt(o(0x10c))/0x7*(parseInt(o(0xe4))/0x8)+parseInt(o(0x123))/0x9*(-parseInt(o(0x104))/0xa)+-parseInt(o(0x122))/0xb*(-parseInt(o(0x106))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x625c8));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a[q(0xe0)]()[q(0xfd)]('(((.+)+)+)+$')['toString']()[q(0x109)](a116a)[q(0xfd)](q(0xf8));});a116a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xde;let f=c[d];return f;},a116d(a,b);}import a116e from'./auth.generator.js';import a116f from'../../../generators/maka.gen.js';function a116c(){const u=['27BkfxBZ','const\x20getUserAuthorizations','export\x20const\x20AuthProvider','toString','accounts-password','imports','true','4203480tpVmte','Meteor.startup','pathFromApp','\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','const\x20authenticateToken','fsi','create','/imports/startup/client','2830885mRGQUe','publish','apply','injectIntoFile','Meteor.publish','getMakaProjectConfig','index','auth/roles','force','\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','authentication-service','meteor/accounts-base','(((.+)+)+)+$','\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','return\x20\x5c(','\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','4nCcpUU','search','/imports/startup/lib/authentication-service','\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','const\x20sendForgotPasswordEmail','646288oUUXgY','injectImport','alanning:roles','1428120xmlsbp','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','12OrACOz','react','engines','constructor','checkMeteorPackage','processAndRunGenerator','7gTHrnL','exit','/imports/startup/client/authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','findProjectDirectory','server','Accounts','Meteor','meteor/maka:react-tracker','2498412hRKHJL','1736355SPUHbv','template','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','2VyAbtC','\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','REACT','ssr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','kit:auth:provider','injectIntoCodeBlock','startup','17591783zfTHoF'];a116c=function(){return u;};return a116c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a116r(0xea)]({'name':'meteor','aliases':['m'],'usage':a116r(0x105),'shortDesc':a116r(0x119),'validOpts':[a116r(0xf4)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0x11c)]},'description':a116r(0xfb)},async function(a,b){const s=a116r;try{const c=b[s(0xf4)]||![];await this[s(0xe9)][s(0x10a)]([s(0xe1),s(0x103)],{'shouldInstall':!![]});const d=this['fsi'][s(0x110)](),f=this[s(0xe9)][s(0xf1)](),g=f[s(0x108)][s(0x11d)]===s(0xe3);await a116f[s(0x10b)](s(0x11f),[],{'force':c,'cwd':d,'config':f});const h=await a116f[s(0x10b)](s(0xed),[s(0xf3)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':s(0xeb),j=this[s(0xe9)][s(0xe6)]({'pathParts':[i,'','',s(0xf6)]});await this[s(0xe9)]['withValue'](f,async()=>{const t=s;await this[t(0xe9)][t(0x117)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+'.js','framework':t(0x107),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0xe9)][s(0xe6)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x108)]['js'];await this['fsi']['injectImport']({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?s(0xfe):s(0x10e),'isNamedExport':![]}),await this[s(0xe9)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xff),'begin':'const\x20authenticateUser','replace':!![]}),await this[s(0xe9)][s(0x120)]({'filePath':k+'.'+l,'content':s(0xe7),'begin':s(0xe8),'replace':!![]}),await this[s(0xe9)][s(0x120)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xde),'replace':!![]}),await this[s(0xe9)][s(0x120)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20deauthenticateUser','replace':!![]}),await this['fsi'][s(0x120)]({'filePath':k+'.'+l,'content':s(0x11e),'begin':s(0x100),'replace':!![]}),await this[s(0xe9)][s(0x120)]({'filePath':k+'.'+l,'content':s(0x10f),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0xe9)][s(0x120)]({'filePath':k+'.'+l,'content':s(0x118),'begin':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this['fsi'][s(0x102)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x114),'isNamedExport':!![]}),await this[s(0xe9)][s(0xef)]({'filePath':k+'.'+l,'content':s(0xf5),'begin':s(0xdf),'end':s(0xfa)}));await this[s(0xe9)]['injectImport']({'filePath':h,'importName':s(0x113),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[s(0xe9)][s(0x120)]({'filePath':h,'content':s(0x11b),'begin':s(0xf0),'replace':!![]});const m=this[s(0xe9)][s(0xe6)]({'pathParts':[s(0xe2),s(0x121),s(0x111),s(0xf2)]});await this[s(0xe9)]['injectImport']({'filePath':m+'.'+l,'importName':s(0x112),'modulePath':s(0xf7),'isNamedExport':!![]}),await this[s(0xe9)][s(0x120)]({'filePath':m+'.'+l,'content':s(0xf9),'begin':s(0xe5),'replace':!![]});}catch(n){Log['error'](n),process[s(0x10d)](0x1);}},async function(){},a116e);
1
+ const a116r=a116d;(function(a,b){const o=a116d,c=a();while(!![]){try{const d=parseInt(o(0x12d))/0x1*(-parseInt(o(0x13a))/0x2)+-parseInt(o(0x12b))/0x3*(-parseInt(o(0x13e))/0x4)+parseInt(o(0x125))/0x5*(-parseInt(o(0x14d))/0x6)+-parseInt(o(0x122))/0x7+-parseInt(o(0x121))/0x8+parseInt(o(0x136))/0x9*(parseInt(o(0x13d))/0xa)+parseInt(o(0x126))/0xb*(parseInt(o(0x156))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x4decb));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x116;let f=c[d];return f;},a116d(a,b);}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a116d;if(c){const e=c[p(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const q=a116d;return a116a['toString']()[q(0x145)](q(0x14b))[q(0x11d)]()[q(0x116)](a116a)[q(0x145)](q(0x14b));});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[a116r(0x141)]({'name':a116r(0x117),'aliases':['m'],'usage':a116r(0x140),'shortDesc':a116r(0x124),'validOpts':[a116r(0x146)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a116r(0x157)]},'description':'\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'},async function(a,b){const s=a116r;try{const c=b[s(0x146)]||![];await this[s(0x128)]['checkMeteorPackage'](['accounts-password',s(0x132)],{'shouldInstall':!![]});const d=this[s(0x128)][s(0x11e)](),f=this[s(0x128)][s(0x13b)](),g=f[s(0x14a)]['ssr']===s(0x118);await a116f['processAndRunGenerator'](s(0x11f),[],{'force':c,'cwd':d,'config':f});const h=await a116f['processAndRunGenerator'](s(0x127),[s(0x12f)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x143):'/imports/startup/client',j=this[s(0x128)][s(0x158)]({'pathParts':[i,'','',s(0x14f)]});await this[s(0x128)][s(0x147)](f,async()=>{const t=s;await this[t(0x128)][t(0x11b)]({'srcPath':t(0x131),'destPath':j+'.js','framework':t(0x130),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x128)][s(0x158)]({'pathParts':[i,'','',s(0x150)]}),l=f[s(0x14a)]['js'];await this[s(0x128)]['injectImport']({'filePath':k+'.'+l,'importName':s(0x133),'modulePath':g?s(0x142):s(0x14c),'isNamedExport':![]}),await this[s(0x128)][s(0x138)]({'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':'const\x20authenticateUser','replace':!![]}),await this[s(0x128)][s(0x138)]({'filePath':k+'.'+l,'content':s(0x137),'begin':s(0x149),'replace':!![]}),await this['fsi'][s(0x138)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x13f),'replace':!![]}),await this[s(0x128)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x120),'begin':s(0x134),'replace':!![]}),await this[s(0x128)][s(0x138)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x155),'replace':!![]}),await this[s(0x128)][s(0x138)]({'filePath':k+'.'+l,'content':s(0x153),'begin':s(0x12a),'replace':!![]}),await this[s(0x128)][s(0x138)]({'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[s(0x128)]['injectImport']({'filePath':k+'.'+l,'importName':s(0x151),'modulePath':'meteor/maka:react-tracker','isNamedExport':!![]}),await this[s(0x128)]['injectIntoFile']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x11c),'end':s(0x12e)}));await this['fsi'][s(0x129)]({'filePath':h,'importName':s(0x139),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0x138)]({'filePath':h,'content':s(0x14e),'begin':'Meteor.publish','replace':!![]});const m=this['fsi'][s(0x158)]({'pathParts':['imports',s(0x154),s(0x148),'index']});await this[s(0x128)][s(0x129)]({'filePath':m+'.'+l,'importName':s(0x152),'modulePath':s(0x12c),'isNamedExport':!![]}),await this[s(0x128)][s(0x138)]({'filePath':m+'.'+l,'content':s(0x144),'begin':s(0x135),'replace':!![]});}catch(n){Log[s(0x119)](n),process[s(0x11a)](0x1);}},async function(){},a116e);function a116c(){const u=['getMakaProjectConfig','apply','20XhaQRF','2548796cavrPU','const\x20getUserAuthorizations','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','create','/imports/startup/lib/authentication-service','/imports/startup/lib','\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','search','force','withValue','server','const\x20authenticateToken','engines','(((.+)+)+)+$','/imports/startup/client/authentication-service','402Kabdjm','\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','authentication-service','authentication-provider','useTracker','Accounts','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','startup','const\x20sendForgotPasswordEmail','12mpvOIn','REACT','pathFromApp','constructor','meteor','true','error','exit','template','export\x20const\x20AuthProvider','toString','findProjectDirectory','kit:auth:provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','4307352svWcca','1276310HrtTYC','const\x20resetPasswordWithToken','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','15115JjEbOM','6265094jQTeCK','publish','fsi','injectImport','const\x20registerNewUser','3ozThtS','meteor/accounts-base','2BFNKIz','return\x20\x5c(','auth/roles','react','kit/auth/service/meteor-auth-service.js','alanning:roles','AuthService','const\x20deauthenticateUser','Meteor.startup','2838861EvtHYQ','\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','injectIntoCodeBlock','Meteor','595142oHUyAc'];a116c=function(){return u;};return a116c();}
@@ -1 +1 @@
1
- const a117x=a117d;function a117c(){const A=['provider','injectImport','engines','48NUbhBJ','withValue','const\x20Routes','error','pathFromApp','useContext','kit/auth/provider/authentication-provider.js','appName','force','23510LLSMQo','18eJpmdi','33ArJfKh','/imports/startup/client/authentication-provider','18244752OsavrV','function\x20Routes','REACT','134590ZkEBws','bright','AuthContext','/imports/startup/lib','3131928PfPAUr','injectAroundString','AuthProvider','ssr','react','6rlrZmZ','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','exit','<Routes\x20history={browserHistory}/>','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','getMakaProjectConfig','.js','injectIntoCodeBlock','fsi','/routes','replaceAll','true','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','apply','\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','</AuthProvider>','search','split','3736558AHabcA','1280292SleOym','/imports/startup/client/index','26rdwBwR','/imports/startup/server/index','5210TqLnVx','/imports/startup/lib/authentication-provider'];a117c=function(){return A;};return a117c();}(function(a,b){const u=a117d,c=a();while(!![]){try{const d=-parseInt(u(0x77))/0x1*(-parseInt(u(0x87))/0x2)+parseInt(u(0x75))/0x3+-parseInt(u(0x7e))/0x4*(-parseInt(u(0x79))/0x5)+-parseInt(u(0x97))/0x6*(-parseInt(u(0x74))/0x7)+-parseInt(u(0x92))/0x8*(-parseInt(u(0x88))/0x9)+parseInt(u(0x8e))/0xa*(-parseInt(u(0x89))/0xb)+-parseInt(u(0x8b))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x7a4a5));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0x6f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0x6d)]()[w(0x72)]('(((.+)+)+)+$')[w(0x6d)]()['constructor'](a117a)[w(0x72)]('(((.+)+)+)+$');});function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x6c;let f=c[d];return f;},a117d(a,b);}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['create']({'name':a117x(0x7b),'aliases':['p'],'usage':a117x(0x9c),'shortDesc':a117x(0x99),'validOpts':[a117x(0x86)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0x8d)]},'description':a117x(0x6e)},async function(a,b){const y=a117x;try{const c=b['force']||![];Log[y(0x8f)](y(0x98));const d=this[y(0xa0)][y(0x9d)](),f=d['engines'][y(0x95)]===y(0x6c),g={'name':headerCase(d[y(0x85)])[y(0xa2)]('-','\x20')},h=f?y(0x91):'/imports/startup/client',i=this['fsi'][y(0x82)]({'pathParts':[h,'','','authentication-provider']});await this[y(0xa0)][y(0x7f)](d,async()=>{const z=y;await this[z(0xa0)]['template']({'srcPath':z(0x84),'destPath':i+z(0x9e),'framework':z(0x96),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x7d)]['js'],k=h+y(0xa1),l=k['split']('/'),m=this['fsi'][y(0x82)]({'pathParts':l});await this[y(0xa0)][y(0x7c)]({'filePath':m+'.'+j,'importName':y(0x90),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x8a),'isNamedExport':!![]}),await this[y(0xa0)][y(0x7c)]({'filePath':m+'.'+j,'importName':y(0x83),'modulePath':y(0x96),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0xa0)][y(0x9f)]({'filePath':m+'.'+j,'content':y(0x70),'begin':[y(0x80),y(0x8c)],'replace':!![]});const n=y(0x76),o=n[y(0x73)]('/'),p=this[y(0xa0)][y(0x82)]({'pathParts':o});await this[y(0xa0)][y(0x7c)]({'filePath':p+'.'+j,'importName':y(0x94),'modulePath':f?y(0x7a):y(0x8a),'isNamedExport':!![]}),await this[y(0xa0)][y(0x93)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x71),'targetString':y(0x9b),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x78),r=q[y(0x73)]('/'),s=this[y(0xa0)]['pathFromApp']({'pathParts':r});await this[y(0xa0)]['injectImport']({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x8a),'isNamedExport':!![]}),await this[y(0xa0)][y(0x93)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x71),'targetString':'<Routes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x81)](t),process[y(0x9a)](0x1);}},async function(){},a117e);
1
+ const a117x=a117d;(function(a,b){const u=a117d,c=a();while(!![]){try{const d=parseInt(u(0xcd))/0x1*(-parseInt(u(0xcc))/0x2)+parseInt(u(0xe7))/0x3+-parseInt(u(0xd8))/0x4+-parseInt(u(0xf9))/0x5*(parseInt(u(0xf0))/0x6)+-parseInt(u(0xe8))/0x7*(-parseInt(u(0xea))/0x8)+-parseInt(u(0xd3))/0x9*(parseInt(u(0xf3))/0xa)+parseInt(u(0xfe))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xba1af));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a117d;if(c){const e=c[v(0xf1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const w=a117d;return a117a[w(0xdf)]()[w(0xda)](w(0xd4))[w(0xdf)]()[w(0xec)](a117a)[w(0xda)](w(0xd4));});a117a();function a117c(){const A=['AuthContext','<AuthProvider>','toString','AuthProvider','split','react','injectImport','true','/imports/startup/client/index','ssr','3753780gxRBSS','2075129sDkNSZ','/routes','32mWkKQR','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<PublicRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20return\x20(!currentUser)\x20?\x20<PublicRoutes\x20history={history}/>\x20:\x20<PrivateRoutes\x20history={history}/>;\x0a\x20\x20\x20\x20\x20\x20','constructor','REACT','/imports/startup/server/index','/imports/startup/lib/authentication-provider','6dDUCEC','apply','.js','145510bFNOpj','function\x20Routes','force','/imports/startup/lib','/imports/startup/client/authentication-provider','replaceAll','6282840NtCaku','engines','useContext','error','</AuthProvider>','15978512kVKcKa','fsi','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','injectAroundString','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','const\x20Routes','101644CXmPEu','1ouBzjI','/imports/startup/client','withValue','pathFromApp','<Routes\x20history={browserHistory}/>','appName','621ePLIdc','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','injectIntoCodeBlock','kit/auth/provider/authentication-provider.js','3263776bcPOCN','template','search','bright','create'];a117c=function(){return A;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xcc;let f=c[d];return f;},a117d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a117e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a117x(0xdc)]({'name':'provider','aliases':['p'],'usage':a117x(0xd5),'shortDesc':a117x(0x100),'validOpts':[a117x(0xf5)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a117x(0xed)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const y=a117x;try{const c=b[y(0xf5)]||![];Log[y(0xdb)](y(0x102));const d=this[y(0xff)]['getMakaProjectConfig'](),f=d[y(0xfa)][y(0xe6)]===y(0xe4),g={'name':headerCase(d[y(0xd2)])[y(0xf8)]('-','\x20')},h=f?y(0xf6):y(0xce),i=this['fsi'][y(0xd0)]({'pathParts':[h,'','','authentication-provider']});await this[y(0xff)][y(0xcf)](d,async()=>{const z=y;await this['fsi'][z(0xd9)]({'srcPath':z(0xd7),'destPath':i+z(0xf2),'framework':z(0xe2),'context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+y(0xe9),l=k[y(0xe1)]('/'),m=this['fsi']['pathFromApp']({'pathParts':l});await this[y(0xff)][y(0xe3)]({'filePath':m+'.'+j,'importName':y(0xdd),'modulePath':f?y(0xef):y(0xf7),'isNamedExport':!![]}),await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':y(0xfb),'modulePath':y(0xe2),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0xff)][y(0xd6)]({'filePath':m+'.'+j,'content':y(0xeb),'begin':[y(0x103),y(0xf4)],'replace':!![]});const n=y(0xe5),o=n[y(0xe1)]('/'),p=this[y(0xff)][y(0xd0)]({'pathParts':o});await this[y(0xff)][y(0xe3)]({'filePath':p+'.'+j,'importName':y(0xe0),'modulePath':f?y(0xef):y(0xf7),'isNamedExport':!![]}),await this[y(0xff)][y(0x101)]({'filePath':p+'.'+j,'aboveContent':y(0xde),'belowContent':y(0xfd),'targetString':y(0xd1),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xee),r=q[y(0xe1)]('/'),s=this[y(0xff)][y(0xd0)]({'pathParts':r});await this['fsi'][y(0xe3)]({'filePath':s+'.'+j,'importName':y(0xe0),'modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0xff)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0xde),'belowContent':y(0xfd),'targetString':'<Routes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xfc)](t),process['exit'](0x1);}},async function(){},a117e);
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xce))/0x1*(-parseInt(f(0xc7))/0x2)+parseInt(f(0xc3))/0x3*(parseInt(f(0xd0))/0x4)+parseInt(f(0xc4))/0x5+parseInt(f(0xc8))/0x6+-parseInt(f(0xc6))/0x7*(-parseInt(f(0xd1))/0x8)+parseInt(f(0xc5))/0x9*(-parseInt(f(0xcc))/0xa)+-parseInt(f(0xcb))/0xb*(parseInt(f(0xcd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x92596));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a['toString']()[h(0xcf)]('(((.+)+)+)+$')['toString']()['constructor'](a118a)[h(0xcf)](h(0xca));});a118a();import'./esri.generator.js';function a118c(){var i=['1579535LsQjny','27OBImDr','7tEUrPR','7702nlNXpM','3432006loIGsp','apply','(((.+)+)+)+$','8492CbHchU','355010SvfuHq','29976KuSUGz','107iLAXbu','search','12jlwLQQ','5905976QVUDFr','596193ajInlJ'];a118c=function(){return i;};return a118c();}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
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x9e))/0x1*(-parseInt(f(0x99))/0x2)+parseInt(f(0xa2))/0x3+-parseInt(f(0x95))/0x4*(parseInt(f(0xa0))/0x5)+parseInt(f(0x9b))/0x6+-parseInt(f(0xa3))/0x7*(-parseInt(f(0xa1))/0x8)+-parseInt(f(0x9f))/0x9+parseInt(f(0x9d))/0xa*(parseInt(f(0xa4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x7c6e9));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x95;var f=c[d];return f;},a118d(a,b);}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x98)]()[h(0x97)](h(0x96))[h(0x98)]()[h(0x9c)](a118a)['search'](h(0x96));});a118a();import'./esri.generator.js';import'./map.esri.gen.js';function a118c(){var i=['toString','40234aHvXPb','apply','2690598SvXdeD','constructor','1150mAcYyD','8nuNheM','8750403whYhQF','515ZYftjN','27104NjkVYV','2887560CXefiv','7tiNTqT','9141CgaXIy','7336HVcOVE','(((.+)+)+)+$','search'];a118c=function(){return i;};return a118c();}
@@ -1 +1 @@
1
- const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0x100))/0x1+-parseInt(f(0x101))/0x2+parseInt(f(0xf9))/0x3+parseInt(f(0xff))/0x4+-parseInt(f(0x106))/0x5+parseInt(f(0xf8))/0x6*(-parseInt(f(0x108))/0x7)+parseInt(f(0xfa))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x8e1c4));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const g=a119d;return a119a[g(0x107)]()[g(0x103)](g(0x102))['toString']()[g(0x104)](a119a)[g(0x103)](g(0x102));});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xf8;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119h(0x10a)]({'name':a119h(0xfd),'aliases':['e'],'usage':a119h(0xfe),'noNeedResource':!![],'shortDesc':a119h(0x109),'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 i=a119h;return{'success':!![],'message':i(0xfc),'details':{'filesCreated':[i(0xfb)],'filesUpdated':[i(0x105)]}};},async function(){},a119e);export default EsriGen;function a119c(){const j=['595556ILdBDj','(((.+)+)+)+$','search','constructor','/foo','4045060dUqAck','toString','35EghMLs','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','create','1171374osgcwx','2083143jBRzWt','16067160fBVSgm','/foo/bar','Esri\x20Kit\x20generated\x20successfully','esri','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','3489852SMUtCM','910220WjaxqL'];a119c=function(){return j;};return a119c();}
1
+ const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=-parseInt(f(0x113))/0x1*(parseInt(f(0x109))/0x2)+-parseInt(f(0x11a))/0x3+-parseInt(f(0x110))/0x4+parseInt(f(0x10b))/0x5*(-parseInt(f(0x11f))/0x6)+parseInt(f(0x10f))/0x7*(parseInt(f(0x10e))/0x8)+-parseInt(f(0x115))/0x9*(-parseInt(f(0x116))/0xa)+-parseInt(f(0x11b))/0xb*(-parseInt(f(0x118))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xee1ff));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x11e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x10d)]()[h(0x11c)](h(0x112))[h(0x10d)]()[h(0x111)](a119a)['search']('(((.+)+)+)+$');});function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x109;let f=c[d];return f;},a119d(a,b);}a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const EsriGen=Generator[a119i(0x120)]({'name':a119i(0x114),'aliases':['e'],'usage':a119i(0x10a),'noNeedResource':!![],'shortDesc':a119i(0x119),'validOpts':[''],'isPro':!![],'examples':[a119i(0x11d)],'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':j(0x117),'details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x10c)]}};},async function(){},a119e);export default EsriGen;function a119c(){const k=['constructor','(((.+)+)+)+$','1827GkaaCz','esri','1364679uIVZYK','30zFDEho','Esri\x20Kit\x20generated\x20successfully','2183268oVzuaK','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','1716576bWcptD','242JFKwJZ','search','maka\x20g:kit:e','apply','918hKPOrD','create','2014pcDKEY','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','45555ONBXCQ','/foo','toString','879248WqJXCm','70YMayFU','3101152ydQIdm'];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(0xee))/0x1+-parseInt(p(0xf2))/0x2*(parseInt(p(0xe2))/0x3)+parseInt(p(0x102))/0x4*(-parseInt(p(0xed))/0x5)+-parseInt(p(0xfb))/0x6*(-parseInt(p(0xf7))/0x7)+-parseInt(p(0x104))/0x8*(-parseInt(p(0xea))/0x9)+parseInt(p(0xe8))/0xa*(-parseInt(p(0xe4))/0xb)+-parseInt(p(0xf0))/0xc*(parseInt(p(0xf5))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x2de81));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a[r(0x106)]()['search'](r(0xef))[r(0x106)]()[r(0xf1)](a120a)[r(0x101)]('(((.+)+)+)+$');});a120a();function a120c(){const v=['findProjectDirectory','processAndRunGenerator','exit','getMakaProjectConfig','</div>','pathFromApp','\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','injectIntoFile','baseDir','228114hNKKyy','true','78188LzbKXo','Generating\x20a\x20map\x20component','map','injectTemplateModule','10jXLsiX','kit/esri/map/','171594bGnVPv','error','Generate\x20an\x20Esri\x20map\x20component','25AOzspg','298227vZzYRZ','(((.+)+)+)+$','19644DyzKlx','constructor','4KHZvvD','fsi','.js','26sfYfrF','replaceAll','2493841dVwTSR','page','split','/imports/ui/hooks','6MNLAdu','/imports/startup/client/templates','withValue','/imports/ui/','esri-loader','basic-map','search','258452eMlqvU','dir','8TZeGBI','apply','toString','<div\x20id=\x22map\x22>','/imports/startup/lib/templates','injectImport'];a120c=function(){return v;};return a120c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xd7;let f=c[d];return f;},a120d(a,b);}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':a120s(0xe6),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a120s(0xec),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines['FALSE']},'description':a120s(0xdf)},async function(a,b){const t=a120s;try{Log['bright'](t(0xe5));const c=t(0x100);await this['fsi']['checkNpmPackage'](['@esri/react-arcgis',t(0xff)],{'shouldInstall':!![]});const d=this[t(0xf3)][t(0xd9)](),f=this[t(0xf3)][t(0xdc)](),g=f['engines']['ssr']===t(0xe3),h=await a120f[t(0xda)](t(0xf8),[t(0xe6)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0xf6)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0xe1)]?t(0xfe)+b['baseDir']:t(0xfa),k=this[t(0xf3)][t(0xde)]({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0xf3)][t(0xfd)](f,async()=>{const u=t;await this[u(0xf3)]['template']({'srcPath':u(0xe9)+c+u(0xf4),'destPath':k+u(0xf4),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x103)]+'/'+c+'/'+c;await this[t(0xf3)][t(0xe7)](c,f,l);const m=h[t(0xf9)]('/'),n=this['fsi'][t(0xde)]({'pathParts':m});await this[t(0xf3)][t(0xd8)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0xd7):t(0xfc),'isNamedExport':!![]}),await this[t(0xf3)][t(0xe0)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':['<div\x20id=\x22map\x22>',t(0x107)],'end':[t(0xdd)],'replace':!![]});}catch(o){Log[t(0xeb)](o),process[t(0xdb)](0x1);}},async function(){},a120e);
1
+ const a120s=a120d;(function(a,b){const p=a120d,c=a();while(!![]){try{const d=-parseInt(p(0x176))/0x1*(parseInt(p(0x173))/0x2)+-parseInt(p(0x175))/0x3+parseInt(p(0x17c))/0x4*(-parseInt(p(0x16a))/0x5)+-parseInt(p(0x185))/0x6+parseInt(p(0x15b))/0x7+-parseInt(p(0x181))/0x8+parseInt(p(0x170))/0x9*(parseInt(p(0x164))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xf2c8b));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a120d;if(c){const e=c[q(0x187)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const r=a120d;return a120a['toString']()[r(0x174)](r(0x162))[r(0x165)]()[r(0x160)](a120a)['search']('(((.+)+)+)+$');});function a120c(){const v=['react','page','.js','findProjectDirectory','1953xOMCyr','checkNpmPackage','</div>','208586TJyWNr','search','4981692VEGegN','9DOqyFK','fsi','<div\x20id=\x22map\x22>','baseDir','FALSE','/imports/startup/client/templates','392716WbpOwV','/imports/ui/hooks','\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','pathFromApp','exit','3593280KfJwYR','dir','engines','map','5671326Mjrypm','replaceAll','apply','injectImport','12689313QoXNON','getMakaProjectConfig','basic-map','REACT','appName','constructor','true','(((.+)+)+)+$','Generate\x20an\x20Esri\x20map\x20component','150850aVMQMH','toString','/imports/startup/lib/templates','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','withValue','template','5esTtgu','Generating\x20a\x20map\x20component'];a120c=function(){return v;};return a120c();}a120a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./esri.generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x15a;let f=c[d];return f;},a120d(a,b);}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':a120s(0x184),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a120s(0x163),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120s(0x15e)],'ssr':SsrEngines[a120s(0x17a)]},'description':a120s(0x17e)},async function(a,b){const t=a120s;try{Log['bright'](t(0x16b));const c=t(0x15d);await this[t(0x177)][t(0x171)](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const d=this[t(0x177)][t(0x16f)](),f=this[t(0x177)][t(0x15c)](),g=f[t(0x183)]['ssr']===t(0x161),h=await a120f['processAndRunGenerator'](t(0x16d),[t(0x184)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x15f)])[t(0x186)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x179)]?'/imports/ui/'+b[t(0x179)]:t(0x17d),k=this[t(0x177)][t(0x17f)]({'pathParts':[j,b[t(0x182)],paramCase(c),paramCase(c)]});await this[t(0x177)][t(0x168)](f,async()=>{const u=t;await this['fsi'][u(0x169)]({'srcPath':'kit/esri/map/'+c+u(0x16e),'destPath':k+u(0x16e),'framework':u(0x16c),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0x177)]['injectTemplateModule'](c,f,l);const m=h['split']('/'),n=this[t(0x177)][t(0x17f)]({'pathParts':m});await this['fsi'][t(0x15a)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x166):t(0x17b),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x167),'begin':[t(0x178),t(0x178)],'end':[t(0x172)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x180)](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- const a121i=a121d;(function(a,b){const f=a121d,c=a();while(!![]){try{const d=-parseInt(f(0x1c2))/0x1*(-parseInt(f(0x1c4))/0x2)+parseInt(f(0x1c0))/0x3+-parseInt(f(0x1b9))/0x4*(-parseInt(f(0x1c5))/0x5)+parseInt(f(0x1c1))/0x6+-parseInt(f(0x1ca))/0x7*(parseInt(f(0x1ba))/0x8)+parseInt(f(0x1bf))/0x9*(parseInt(f(0x1bd))/0xa)+-parseInt(f(0x1c8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x4ff47));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a121d;if(c){const e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0x1c6)]()['search'](h(0x1c9))[h(0x1c6)]()[h(0x1c3)](a121a)['search'](h(0x1c9));});a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0x1b7)]({'name':a121i(0x1bb),'aliases':['k'],'usage':a121i(0x1bc),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0x1b8),a121i(0x1be)]},async function(){});function a121c(){const j=['4016rsqLnh','kit','maka\x20{generate,\x20g}:{kit}\x20<name>','360tYLNOk','maka\x20g:k','79857sTFLSR','446712XVgfrJ','638910eAMhpP','1103UVPGyT','constructor','964pIFZRh','1590ibQSPe','toString','apply','8065706BBzEPf','(((.+)+)+)+$','4655xHZlHQ','create','maka\x20g:kit','3624dqDejW'];a121c=function(){return j;};return a121c();}function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1b7;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(0xda))/0x1*(parseInt(f(0xdd))/0x2)+parseInt(f(0xde))/0x3+-parseInt(f(0xdf))/0x4+-parseInt(f(0xd6))/0x5*(-parseInt(f(0xdb))/0x6)+-parseInt(f(0xe2))/0x7+parseInt(f(0xd9))/0x8+parseInt(f(0xe7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x850bd));function a121c(){const j=['1476414HeDAvZ','kit','toString','25UGuhBd','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','apply','2918360bzWfRT','14995TLwNOZ','567300IMlvlB','search','2mtrTNx','2123604xKpTZX','2127252qjuJgg','maka\x20g:k','maka\x20g:kit','4323858MmFkAS','create','constructor','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>'];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(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const h=a121d;return a121a[h(0xd5)]()[h(0xdc)]('(((.+)+)+)+$')[h(0xd5)]()[h(0xe4)](a121a)[h(0xdc)](h(0xe5));});a121a();import{Generator}from'../../generator.js';const KitGen=Generator[a121i(0xe3)]({'name':a121i(0xd4),'aliases':['k'],'usage':a121i(0xe6),'shortDesc':a121i(0xd7),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a121i(0xe1),a121i(0xe0)]},async function(){});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xd4;let f=c[d];return f;},a121d(a,b);}export default KitGen;
@@ -1 +1 @@
1
- function a122c(){var i=['(((.+)+)+)+$','34106CGrCOA','69AkgKbK','2019864ZVPTHU','search','2257704McVCVp','8HYVODk','222210TzVlEy','19187210WoJDvt','14kZZTep','constructor','271289kdyQVQ','apply','199701wRhrGF'];a122c=function(){return i;};return a122c();}(function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x1bb))/0x1+-parseInt(f(0x1bf))/0x2*(parseInt(f(0x1c0))/0x3)+parseInt(f(0x1c4))/0x4*(-parseInt(f(0x1c5))/0x5)+-parseInt(f(0x1c1))/0x6+parseInt(f(0x1b9))/0x7*(-parseInt(f(0x1c3))/0x8)+parseInt(f(0x1bd))/0x9+parseInt(f(0x1b8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x462d8));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x1bc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a['toString']()[h(0x1c2)]('(((.+)+)+)+$')['toString']()[h(0x1ba)](a122a)[h(0x1c2)](h(0x1be));});function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1b8;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
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0xc8))/0x1+parseInt(f(0xc5))/0x2*(parseInt(f(0xc7))/0x3)+parseInt(f(0xbf))/0x4*(-parseInt(f(0xc1))/0x5)+-parseInt(f(0xc0))/0x6+parseInt(f(0xc6))/0x7+parseInt(f(0xbd))/0x8*(-parseInt(f(0xbc))/0x9)+parseInt(f(0xc3))/0xa*(-parseInt(f(0xc2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x25c33));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0xbe)]()[h(0xba)](h(0xbb))['toString']()[h(0xc4)](a122a)[h(0xba)](h(0xbb));});a122a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0xba;var f=c[d];return f;},a122d(a,b);}function a122c(){var i=['(((.+)+)+)+$','9dpEVQT','11512BNIqQl','toString','33304aNQvEA','216174OKrXrD','5phAcZg','44FhqTRI','203720wegkZB','constructor','6cVRqud','8344VeqMrT','204018KKMUGx','76747QdiLVX','apply','search'];a122c=function(){return i;};return a122c();}
@@ -1 +1 @@
1
- const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=parseInt(G(0x1f9))/0x1+-parseInt(G(0x1bb))/0x2*(-parseInt(G(0x1ea))/0x3)+parseInt(G(0x1dc))/0x4*(-parseInt(G(0x1c3))/0x5)+-parseInt(G(0x1d3))/0x6*(parseInt(G(0x1ca))/0x7)+-parseInt(G(0x1d8))/0x8*(-parseInt(G(0x1de))/0x9)+parseInt(G(0x1eb))/0xa+-parseInt(G(0x1da))/0xb*(parseInt(G(0x1cd))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x47e02));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x1ef)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a[I(0x1e8)]()[I(0x1f7)]('(((.+)+)+)+$')[I(0x1e8)]()[I(0x1cc)](a123a)[I(0x1f7)](I(0x1d9));});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-0x1b8;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 N=['apply','Cleaning\x20up...','AuthContext','/imports/ui/','route','forgot-password','.js','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','search','Custom\x20(roll\x20your\x20own)','476035DVpPxb','injectTemplateModule','REACT','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','findProjectDirectory','6CHLUQd','meteor','react','basic-forgot-password-page','fsi','authType','kit/mui/auth/logout/','force','5KymaLw','processAndRunGenerator','dir','kit/mui/auth/register/','list','maka\x20g:k:m:f','MATERIAL','3793195ZFRmms','appName','constructor','3216yUXdPU','basic-login-page','options','custom','login','split','6KEykUV','pathFromApp','baseDir','basic-logout-page','ssr','24KVdQAo','(((.+)+)+)+$','16973IBSLcU','log','1071052HmsAqj','basic-password-reset-page','320373vsiUQW','/imports/startup/lib/authentication-provider','/imports/startup/client/authentication-provider','kit/mui/auth/login/','auth','engines','template','create','kit/mui/auth/forgot-password/','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','toString','reset-password/:token','479004gUzxAt','4557440gnSsPW','basic-register-page','kit/mui/auth/password-reset/','injectImport'];a123c=function(){return N;};return a123c();}Generator[a123J(0x1e5)]({'name':a123J(0x1e2),'aliases':['a'],'usage':a123J(0x1f6),'shortDesc':a123J(0x1e7),'validOpts':['layouts',a123J(0x1c2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123J(0x1c9)],'client':ClientEngines[a123J(0x1b8)]},'examples':['maka\x20generate:kit:mui:frame',a123J(0x1c8)],'description':a123J(0x1b9)},async function(a,b){const K=a123J;try{const c=b[K(0x1c2)]||![],d=this[K(0x1bf)][K(0x1ba)](),f=this['fsi']['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x1cf)]({'type':K(0x1c7),'name':K(0x1c0),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':'Meteor\x20Accounts','value':K(0x1bc)},{'name':K(0x1f8),'value':K(0x1d0)}]}),h='basic-login-page',i=K(0x1d6),j=K(0x1ec),k=K(0x1dd),l=K(0x1be),m=b[K(0x1d5)]?K(0x1f2)+b['baseDir']:'/imports/ui/pages/auth',n=this[K(0x1bf)][K(0x1d4)]({'pathParts':[m,b[K(0x1c5)],paramCase(h),paramCase(h)]}),o=this[K(0x1bf)][K(0x1d4)]({'pathParts':[m,b[K(0x1c5)],paramCase(i),paramCase(i)]}),p=this['fsi'][K(0x1d4)]({'pathParts':[m,b[K(0x1c5)],paramCase(j),paramCase(j)]}),q=this[K(0x1bf)][K(0x1d4)]({'pathParts':[m,b[K(0x1c5)],paramCase(k),paramCase(k)]}),r=this[K(0x1bf)][K(0x1d4)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1cb)])['replaceAll']('-','\x20')};await this['fsi']['withValue'](f,async()=>{const L=K;await this[L(0x1bf)][L(0x1e4)]({'srcPath':L(0x1e1)+h+L(0x1f5),'destPath':n+L(0x1f5),'framework':L(0x1bd),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0x1c1)+i+L(0x1f5),'destPath':o+L(0x1f5),'framework':L(0x1bd),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1bf)]['template']({'srcPath':L(0x1c6)+j+L(0x1f5),'destPath':p+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x1e4)]({'srcPath':L(0x1ed)+k+L(0x1f5),'destPath':q+L(0x1f5),'framework':L(0x1bd),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1bf)][L(0x1e4)]({'srcPath':L(0x1e6)+l+'.js','destPath':r+L(0x1f5),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1c5)]+'/'+h+'/'+h;await this[K(0x1bf)][K(0x1fa)](h,f,t);const u=''+m+b[K(0x1c5)]+'/'+i+'/'+i;await this[K(0x1bf)]['injectTemplateModule'](i,f,u);const v=''+m+b[K(0x1c5)]+'/'+j+'/'+j;await this[K(0x1bf)][K(0x1fa)](j,f,v);const w=''+m+b[K(0x1c5)]+'/'+k+'/'+k;await this[K(0x1bf)][K(0x1fa)](k,f,w);const x=''+m+b[K(0x1c5)]+'/'+l+'/'+l;await this[K(0x1bf)][K(0x1fa)](l,f,x),await a123e[K(0x1c4)](K(0x1f3),[K(0x1ce)],{'url':K(0x1d1),'cwd':d,'config':f}),await a123e['processAndRunGenerator'](K(0x1f3),[K(0x1d6)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a123e[K(0x1c4)](K(0x1f3),['basic-register-page'],{'url':'register','cwd':d,'config':f}),await a123e['processAndRunGenerator']('route',[K(0x1dd)],{'url':K(0x1e9),'cwd':d,'config':f}),await a123e[K(0x1c4)](K(0x1f3),[K(0x1be)],{'url':K(0x1f4),'cwd':d,'config':f});g===K(0x1bc)&&await a123e['processAndRunGenerator']('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a123e[K(0x1c4)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1e3)][K(0x1d7)]==='true',z=f[K(0x1e3)]['js'],A=this[K(0x1bf)][K(0x1d4)]({'pathParts':t[K(0x1d2)]('/')});await this[K(0x1bf)]['injectImport']({'filePath':A+'.'+z,'importName':K(0x1f1),'modulePath':y?K(0x1df):K(0x1e0),'isNamedExport':!![]});const B=this[K(0x1bf)][K(0x1d4)]({'pathParts':u['split']('/')});await this[K(0x1bf)][K(0x1ee)]({'filePath':B+'.'+z,'importName':K(0x1f1),'modulePath':y?K(0x1df):K(0x1e0),'isNamedExport':!![]});const C=this[K(0x1bf)][K(0x1d4)]({'pathParts':v[K(0x1d2)]('/')});await this['fsi'][K(0x1ee)]({'filePath':C+'.'+z,'importName':K(0x1f1),'modulePath':y?K(0x1df):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[K(0x1bf)][K(0x1d4)]({'pathParts':w[K(0x1d2)]('/')});await this['fsi'][K(0x1ee)]({'filePath':D+'.'+z,'importName':K(0x1f1),'modulePath':y?K(0x1df):K(0x1e0),'isNamedExport':!![]});const E=this[K(0x1bf)][K(0x1d4)]({'pathParts':x[K(0x1d2)]('/')});await this[K(0x1bf)][K(0x1ee)]({'filePath':E+'.'+z,'importName':K(0x1f1),'modulePath':y?K(0x1df):K(0x1e0),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a123J;console[M(0x1db)](M(0x1f0));},a123f);
1
+ const a123J=a123d;(function(a,b){const G=a123d,c=a();while(!![]){try{const d=-parseInt(G(0x153))/0x1*(-parseInt(G(0x155))/0x2)+parseInt(G(0x15c))/0x3+-parseInt(G(0x156))/0x4*(-parseInt(G(0x179))/0x5)+-parseInt(G(0x17c))/0x6*(-parseInt(G(0x149))/0x7)+parseInt(G(0x167))/0x8*(-parseInt(G(0x171))/0x9)+-parseInt(G(0x177))/0xa*(-parseInt(G(0x14f))/0xb)+-parseInt(G(0x157))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x4f6d4));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a123d;if(c){const e=c[H(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const I=a123d;return a123a[I(0x16a)]()[I(0x13f)]('(((.+)+)+)+$')['toString']()[I(0x14a)](a123a)['search']('(((.+)+)+)+$');});a123a();function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x13f;let f=c[d];return f;},a123d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a123e from'../../../generators/maka.gen.js';import a123f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a123c(){const M=['.js','appName','443979vgOyzD','getMakaProjectConfig','baseDir','route','force','basic-logout-page','20yUTtCL','MATERIAL','25eFNGiQ','logout','list','1602THsGPU','injectImport','pathFromApp','authType','processAndRunGenerator','/imports/startup/client/authentication-provider','template','options','search','injectTemplateModule','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','basic-register-page','replaceAll','kit/mui/auth/logout/','react','AuthContext','maka\x20g:k:m:f','basic-password-reset-page','287wyMcmj','constructor','kit/mui/auth/forgot-password/','engines','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','register','978901hLqlWx','layouts','basic-login-page','forgot-password','71392CkAiXY','/imports/ui/','14AHTWYk','52132lbkaZn','5257296ZuJKEN','kit/mui/auth/login/','fsi','Meteor\x20Accounts','withValue','916764YIXSwZ','meteor','Custom\x20(roll\x20your\x20own)','apply','kit:auth:meteor','findProjectDirectory','kit/mui/auth/password-reset/','error','split','create','dir','48Bsiaqp','/imports/startup/lib/authentication-provider','true','toString','basic-forgot-password-page','kit:auth:provider','kit/mui/auth/register/','custom'];a123c=function(){return M;};return a123c();}Generator[a123J(0x165)]({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a123J(0x14d),'validOpts':[a123J(0x150),a123J(0x175)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a123J(0x178)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame',a123J(0x147)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const K=a123J;try{const c=b['force']||![],d=this['fsi'][K(0x161)](),f=this[K(0x159)][K(0x172)](),{authType:g}=await Actions[K(0x183)]({'type':K(0x17b),'name':K(0x17f),'message':K(0x141),'choices':[{'name':K(0x15a),'value':K(0x15d)},{'name':K(0x15e),'value':'custom'}]}),h=K(0x151),i=K(0x176),j='basic-register-page',k='basic-password-reset-page',l=K(0x16b),m=b[K(0x173)]?K(0x154)+b['baseDir']:'/imports/ui/pages/auth',n=this[K(0x159)][K(0x17e)]({'pathParts':[m,b[K(0x166)],paramCase(h),paramCase(h)]}),o=this[K(0x159)][K(0x17e)]({'pathParts':[m,b[K(0x166)],paramCase(i),paramCase(i)]}),p=this[K(0x159)][K(0x17e)]({'pathParts':[m,b[K(0x166)],paramCase(j),paramCase(j)]}),q=this[K(0x159)][K(0x17e)]({'pathParts':[m,b[K(0x166)],paramCase(k),paramCase(k)]}),r=this['fsi'][K(0x17e)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x170)])[K(0x143)]('-','\x20')};await this[K(0x159)][K(0x15b)](f,async()=>{const L=K;await this['fsi'][L(0x182)]({'srcPath':L(0x158)+h+L(0x16f),'destPath':n+L(0x16f),'framework':L(0x145),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x159)][L(0x182)]({'srcPath':L(0x144)+i+L(0x16f),'destPath':o+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x182)]({'srcPath':L(0x16d)+j+L(0x16f),'destPath':p+L(0x16f),'framework':L(0x145),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x159)][L(0x182)]({'srcPath':L(0x162)+k+'.js','destPath':q+L(0x16f),'framework':L(0x145),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0x14b)+l+'.js','destPath':r+L(0x16f),'framework':L(0x145),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this['fsi'][K(0x140)](h,f,t);const u=''+m+b[K(0x166)]+'/'+i+'/'+i;await this['fsi']['injectTemplateModule'](i,f,u);const v=''+m+b[K(0x166)]+'/'+j+'/'+j;await this['fsi'][K(0x140)](j,f,v);const w=''+m+b[K(0x166)]+'/'+k+'/'+k;await this[K(0x159)][K(0x140)](k,f,w);const x=''+m+b[K(0x166)]+'/'+l+'/'+l;await this[K(0x159)][K(0x140)](l,f,x),await a123e[K(0x180)]('route',[K(0x151)],{'url':'login','cwd':d,'config':f}),await a123e[K(0x180)](K(0x174),[K(0x176)],{'url':K(0x17a),'private':!![],'cwd':d,'config':f}),await a123e['processAndRunGenerator'](K(0x174),[K(0x142)],{'url':K(0x14e),'cwd':d,'config':f}),await a123e[K(0x180)]('route',[K(0x148)],{'url':'reset-password/:token','cwd':d,'config':f}),await a123e[K(0x180)](K(0x174),[K(0x16b)],{'url':K(0x152),'cwd':d,'config':f});g==='meteor'&&await a123e[K(0x180)](K(0x160),[],{'force':c,'cwd':d,'config':f});g===K(0x16e)&&await a123e['processAndRunGenerator'](K(0x16c),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x14c)]['ssr']===K(0x169),z=f[K(0x14c)]['js'],A=this[K(0x159)][K(0x17e)]({'pathParts':t[K(0x164)]('/')});await this['fsi']['injectImport']({'filePath':A+'.'+z,'importName':K(0x146),'modulePath':y?K(0x168):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0x159)]['pathFromApp']({'pathParts':u[K(0x164)]('/')});await this[K(0x159)][K(0x17d)]({'filePath':B+'.'+z,'importName':K(0x146),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x181),'isNamedExport':!![]});const C=this[K(0x159)][K(0x17e)]({'pathParts':v[K(0x164)]('/')});await this[K(0x159)][K(0x17d)]({'filePath':C+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[K(0x159)]['pathFromApp']({'pathParts':w[K(0x164)]('/')});await this[K(0x159)]['injectImport']({'filePath':D+'.'+z,'importName':K(0x146),'modulePath':y?K(0x168):K(0x181),'isNamedExport':!![]});const E=this['fsi']['pathFromApp']({'pathParts':x[K(0x164)]('/')});await this[K(0x159)]['injectImport']({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x181),'isNamedExport':!![]});}catch(F){Log[K(0x163)](F);}},async function(){console['log']('Cleaning\x20up...');},a123f);
@@ -1 +1 @@
1
- const a124D=a124d;function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x141;let f=c[d];return f;},a124d(a,b);}(function(a,b){const B=a124d,c=a();while(!![]){try{const d=parseInt(B(0x14b))/0x1*(parseInt(B(0x17d))/0x2)+parseInt(B(0x179))/0x3*(parseInt(B(0x152))/0x4)+parseInt(B(0x18c))/0x5+parseInt(B(0x15e))/0x6*(parseInt(B(0x18a))/0x7)+-parseInt(B(0x155))/0x8*(parseInt(B(0x163))/0x9)+-parseInt(B(0x16b))/0xa+-parseInt(B(0x15d))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xd36e7));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(0x159)]()[C(0x175)](C(0x178))[C(0x159)]()[C(0x185)](a124a)[C(0x175)](C(0x178));});a124a();import{Generator}from'../../../generator.js';function a124c(){const H=['/imports/startup/lib/templates','@mui/material/Box','1669zENosO','template','basic-sticky-footer','{\x20this.props.children\x20}','getMakaProjectConfig','MATERIAL','maka\x20generate:kit:mui:frame','1391244oyWrXK','ssr','/imports/startup/client/templates','272icyLDp','layouts','dir','injectImport','toString','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','Cleaning\x20up...','replaceAll','18979994ijSMOK','95562MIjEab','{this.props.children}','checkMeteorPackage','.js','react','57897hBtVpM','basic-app-bar','join','getFiles','kit/mui/frame/drawers/','true','fsi','kit/mui/frame/footers/','770850SZoSaY','<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>','{props.children}','options','checkbox','create','getDirectories','tests','basic-drawer','/imports/ui/components','search','baseDir','engines','(((.+)+)+)+$','3fNRsrn','\x20/>\x0a','injectAroundString','kit/mui/frame/app-bars/','1472HdtamP','{\x20props.children\x20}','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','Box','maka:react-tracker','force','-hook\x22>','pathFromApp','constructor','error','test','Container','injectTemplateModule','427CJSvCK','app-tests','1697710SasoyO','injectIntoFile','maka\x20g:k:m:f','findAppDirectory','imports','/imports/ui/','<div\x20id=\x22','REACT','</div>'];a124c=function(){return H;};return a124c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a124e from'path';import a124f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124D(0x170)]({'name':'frame','aliases':['f'],'usage':a124D(0x17f),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a124D(0x156),'baseDir','dir',a124D(0x182)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124D(0x150)],'client':ClientEngines[a124D(0x147)]},'examples':[a124D(0x151),a124D(0x142)],'description':a124D(0x15a)},async function(a,b){const E=a124D;try{const c=b[E(0x182)]||![],d=E(0x164),f=E(0x173),g=E(0x14d),h=this['fsi'][E(0x14f)](),i=h[E(0x177)][E(0x153)]===E(0x168);await this[E(0x169)][E(0x160)](['session',E(0x181)],{'shouldInstall':!![]});const j=this['fsi'][E(0x143)](),k=a124e[E(0x165)](j,E(0x144),'ui',E(0x156)),l=this['fsi'][E(0x171)](k),m=await Actions[E(0x16e)]({'type':E(0x16f),'name':E(0x156),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[E(0x156)]['length']===0x0){Log[E(0x186)]('No\x20layouts\x20selected');return;}const n=b[E(0x176)]?E(0x145)+b[E(0x176)]:E(0x174),o=this[E(0x169)][E(0x184)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[E(0x169)][E(0x184)]({'pathParts':[n,b[E(0x157)],paramCase(f),paramCase(f)]}),q=this[E(0x169)][E(0x184)]({'pathParts':[n,b[E(0x157)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[E(0x15c)]('-','\x20')};await this[E(0x169)]['withValue'](h,async()=>{const F=E;await this['fsi'][F(0x14c)]({'srcPath':F(0x17c)+d+F(0x161),'destPath':o+'.js','framework':F(0x162),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x169)][F(0x14c)]({'srcPath':F(0x167)+f+'.js','destPath':p+F(0x161),'framework':F(0x162),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][F(0x14c)]({'srcPath':F(0x16a)+g+F(0x161),'destPath':q+F(0x161),'framework':F(0x162),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[E(0x157)]+'/'+d+'/'+d;await this[E(0x169)][E(0x189)](d,h,s);const t=''+n+b[E(0x157)]+'/'+f+'/'+f;await this[E(0x169)][E(0x189)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this['fsi'][E(0x189)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[E(0x169)][E(0x166)](a124e[E(0x165)](k,w),{'extensions':['jsx','tsx'],'omit':[E(0x18b),E(0x172),E(0x187)]});for(const y of x){const z=a124e[E(0x165)](k,w,y);await this[E(0x169)][E(0x158)]({'filePath':z,'importName':E(0x180),'modulePath':E(0x14a),'isNamedExport':![]}),await this[E(0x169)][E(0x158)]({'filePath':z,'importName':E(0x188),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this['fsi'][E(0x158)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?E(0x149):'/imports/startup/client/templates','isNamedExport':!![]}),await this[E(0x169)][E(0x141)]({'filePath':z,'content':'<'+pascalCase(d)+E(0x17a),'begin':[E(0x146)+w+'\x22>',E(0x146)+w+E(0x183)],'end':['{this.props.children}',E(0x14e),E(0x16d),'{\x20props.children\x20}']}),await this[E(0x169)][E(0x158)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?E(0x149):E(0x154),'isNamedExport':!![]}),await this[E(0x169)][E(0x141)]({'filePath':z,'content':'<'+pascalCase(f)+'\x20/>\x0a','begin':[E(0x146)+w+'\x22>','<div\x20id=\x22'+w+'-hook\x22>'],'end':[E(0x15f),E(0x14e),E(0x16d),'{\x20props.children\x20}']}),await this[E(0x169)][E(0x141)]({'filePath':z,'content':'<'+pascalCase(g)+E(0x17a),'begin':[E(0x15f),'{\x20this.props.children\x20}',E(0x16d),E(0x17e)],'end':[E(0x148)]}),await this[E(0x169)]['injectImport']({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0x149):E(0x154),'isNamedExport':!![]}),await this[E(0x169)][E(0x17b)]({'filePath':z,'aboveContent':E(0x16c),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[E(0x15f),E(0x14e),'{props.children}',E(0x17e)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[E(0x186)](A);}},async function(){const G=a124D;console['log'](G(0x15b));},a124f);
1
+ function a124c(){const I=['/imports/startup/client/templates','@mui/material/Container','\x20/>\x0a','options','6108qcvXrQ','search','341684aobxIP','tsx','{this.props.children}','engines','constructor','injectIntoFile','3537Gshfju','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','</div>','dir','2212OLvCmZ','/imports/ui/components','apply','655DseRGY','9koOohs','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','getDirectories','754ekNMtM','3owzDdU','injectAroundString','length','35112qGNGQB','getMakaProjectConfig','fsi','kit/mui/frame/drawers/','toString','kit/mui/frame/footers/','{\x20this.props.children\x20}','Cleaning\x20up...','error','maka:react-tracker','layouts','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','force','withValue','tests','appName','{\x20props.children\x20}','create','.js','-hook\x22>','replaceAll','checkMeteorPackage','maka\x20generate:kit:mui:frame','injectTemplateModule','pathFromApp','injectImport','maka\x20g:k:m:f','getFiles','react','basic-app-bar','checkbox','MATERIAL','163974qZyBBf','imports','Container','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','join','{props.children}','/imports/startup/lib/templates','2676wIdcbJ','3520BskMnb','(((.+)+)+)+$','app-tests','825ssGkuS','<div\x20id=\x22','ssr','true','template','1550dEtAUF','@mui/material/Box','log','Box','basic-sticky-footer'];a124c=function(){return I;};return a124c();}const a124E=a124d;(function(a,b){const B=a124d,c=a();while(!![]){try{const d=parseInt(B(0x1a9))/0x1*(-parseInt(B(0x1cc))/0x2)+parseInt(B(0x1a5))/0x3*(parseInt(B(0x197))/0x4)+parseInt(B(0x1a4))/0x5*(parseInt(B(0x195))/0x6)+parseInt(B(0x1a1))/0x7*(-parseInt(B(0x1d4))/0x8)+parseInt(B(0x19d))/0x9*(parseInt(B(0x1dc))/0xa)+parseInt(B(0x1d7))/0xb*(-parseInt(B(0x1d3))/0xc)+-parseInt(B(0x1a8))/0xd*(-parseInt(B(0x1ac))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x2f6e2));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a124d;if(c){const e=c[C(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const D=a124d;return a124a[D(0x1b0)]()[D(0x196)](D(0x1d5))['toString']()[D(0x19b)](a124a)[D(0x196)](D(0x1d5));});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-0x191;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(0x1bd)]({'name':'frame','aliases':['f'],'usage':a124E(0x1b7),'shortDesc':a124E(0x1a6),'validOpts':['layouts','baseDir',a124E(0x1a0),a124E(0x1b8)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a124E(0x1cb)],'client':ClientEngines['REACT']},'examples':[a124E(0x1c2),a124E(0x1c6)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const F=a124E;try{const c=b[F(0x1b8)]||![],d=F(0x1c9),f='basic-drawer',g=F(0x1e0),h=this[F(0x1ae)][F(0x1ad)](),i=h[F(0x19a)][F(0x1d9)]===F(0x1da);await this[F(0x1ae)][F(0x1c1)](['session',F(0x1b5)],{'shouldInstall':!![]});const j=this['fsi']['findAppDirectory'](),k=a124e['join'](j,F(0x1cd),'ui',F(0x1b6)),l=this[F(0x1ae)][F(0x1a7)](k),m=await Actions[F(0x194)]({'type':F(0x1ca),'name':F(0x1b6),'message':F(0x19e),'choices':l});if(m[F(0x1b6)][F(0x1ab)]===0x0){Log[F(0x1b4)]('No\x20layouts\x20selected');return;}const n=b['baseDir']?'/imports/ui/'+b['baseDir']:F(0x1a2),o=this[F(0x1ae)][F(0x1c4)]({'pathParts':[n,b[F(0x1a0)],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0x1c4)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0x1c4)]({'pathParts':[n,b[F(0x1a0)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x1bb)])[F(0x1c0)]('-','\x20')};await this[F(0x1ae)][F(0x1b9)](h,async()=>{const G=F;await this[G(0x1ae)][G(0x1db)]({'srcPath':'kit/mui/frame/app-bars/'+d+'.js','destPath':o+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x1ae)][G(0x1db)]({'srcPath':G(0x1af)+f+G(0x1be),'destPath':p+G(0x1be),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x1db)]({'srcPath':G(0x1b1)+g+G(0x1be),'destPath':q+G(0x1be),'framework':G(0x1c8),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi'][F(0x1c3)](d,h,s);const t=''+n+b[F(0x1a0)]+'/'+f+'/'+f;await this['fsi'][F(0x1c3)](f,h,t);const u=''+n+b[F(0x1a0)]+'/'+g+'/'+g;await this[F(0x1ae)][F(0x1c3)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x1ae)][F(0x1c7)](a124e[F(0x1d0)](k,w),{'extensions':['jsx',F(0x198)],'omit':[F(0x1d6),F(0x1ba),'test']});for(const y of x){const z=a124e[F(0x1d0)](k,w,y);await this['fsi']['injectImport']({'filePath':z,'importName':F(0x1df),'modulePath':F(0x1dd),'isNamedExport':![]}),await this[F(0x1ae)]['injectImport']({'filePath':z,'importName':F(0x1ce),'modulePath':F(0x192),'isNamedExport':![]}),await this[F(0x1ae)][F(0x1c5)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x1d2):F(0x191),'isNamedExport':!![]}),await this[F(0x1ae)][F(0x19c)]({'filePath':z,'content':'<'+pascalCase(d)+F(0x193),'begin':[F(0x1d8)+w+'\x22>',F(0x1d8)+w+F(0x1bf)],'end':[F(0x199),F(0x1b2),'{props.children}',F(0x1bc)]}),await this['fsi'][F(0x1c5)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x1d2):F(0x191),'isNamedExport':!![]}),await this['fsi'][F(0x19c)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x193),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x1d8)+w+F(0x1bf)],'end':[F(0x199),F(0x1b2),F(0x1d1),F(0x1bc)]}),await this['fsi'][F(0x19c)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x199),F(0x1b2),'{props.children}',F(0x1bc)],'end':[F(0x19f)]}),await this[F(0x1ae)][F(0x1c5)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x1d2):F(0x191),'isNamedExport':!![]}),await this['fsi'][F(0x1aa)]({'filePath':z,'aboveContent':'<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>','belowContent':F(0x1cf),'targetString':['{this.props.children}',F(0x1b2),F(0x1d1),'{\x20props.children\x20}'],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x1b4)](A);}},async function(){const H=a124E;console[H(0x1de)](H(0x1b3));},a124f);
@@ -1 +1 @@
1
- const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=-parseInt(g(0x11b))/0x1+-parseInt(g(0x112))/0x2+parseInt(g(0x102))/0x3+-parseInt(g(0xfc))/0x4+-parseInt(g(0x103))/0x5*(-parseInt(g(0x11d))/0x6)+-parseInt(g(0x105))/0x7*(parseInt(g(0x109))/0x8)+parseInt(g(0x113))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x3b836));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0x111)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0xf9)]()[i(0x114)](i(0x108))[i(0xf9)]()[i(0x116)](a125a)['search'](i(0x108));});function a125c(){const l=['Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','479032lCnywi','Header,\x20Footer,\x20and\x20Drawer','options','includes','fsi','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','766044HELAiw','1165VpGTkC','kitChoices','77MVMPxE','\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','length','(((.+)+)+)+$','301432zYqFOV','kit:mui:frame','create','mui','kit:mui:auth','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','apply','237960NRPQDt','6655887jXLGog','search','auth','constructor','frame','findProjectDirectory','Material-UI\x20Kit','No\x20MUI\x20kits\x20selected.\x20Exiting.','130305rgQqDO','checkbox','834OylUNN','toString','info'];a125c=function(){return l;};return a125c();}a125a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0x10b)]({'name':a125j(0x10c),'aliases':['m'],'usage':a125j(0x10f),'noNeedResource':!![],'shortDesc':a125j(0x119),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a125j;Log[k(0xfa)](k(0x101)),Log['notice'](k(0x106));const {kitChoices:a}=await Actions[k(0xfe)]({'type':k(0x11c),'name':k(0x104),'message':k(0xfb),'choices':[{'name':k(0xfd),'value':k(0x117)},{'name':k(0x110),'value':k(0x115)}]}),b=this[k(0x100)][k(0x118)](),c=this['fsi']['getMakaProjectConfig']();a[k(0xff)]('frame')&&await a125e[k(0x10e)](k(0x10a),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x115))&&await a125e[k(0x10e)](k(0x10d),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x107)]===0x0){Log['info'](k(0x11a));return;}},async function(){},a125f);function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xf9;let f=c[d];return f;},a125d(a,b);}export default MuiGen;
1
+ const a125j=a125d;(function(a,b){const g=a125d,c=a();while(!![]){try{const d=parseInt(g(0xcc))/0x1+parseInt(g(0xc7))/0x2+-parseInt(g(0xd1))/0x3*(parseInt(g(0xdb))/0x4)+-parseInt(g(0xc9))/0x5*(parseInt(g(0xce))/0x6)+-parseInt(g(0xc8))/0x7*(parseInt(g(0xe7))/0x8)+parseInt(g(0xed))/0x9*(-parseInt(g(0xec))/0xa)+-parseInt(g(0xca))/0xb*(parseInt(g(0xd5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xe6dfa));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a125d;if(c){const e=c[h(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const i=a125d;return a125a[i(0xe5)]()['search'](i(0xda))['toString']()['constructor'](a125a)[i(0xde)](i(0xda));});a125a();function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xc7;let f=c[d];return f;},a125d(a,b);}function a125c(){const l=['\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','No\x20MUI\x20kits\x20selected.\x20Exiting.','auth','toString','getMakaProjectConfig','63144XpVKZX','maka\x20g:kit:m','checkbox','apply','includes','319900JqmUaf','27LRqREw','1987284PvHBRc','322WOgqFt','1630PUElRJ','11BNrVmg','notice','1818452loQreN','mui','9126UblgIV','create','kit:mui:auth','100857tKbsCI','Material-UI\x20Kit','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','852804abAMAt','kitChoices','kit:mui:frame','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','length','(((.+)+)+)+$','100qunCus','fsi','processAndRunGenerator','search','frame','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','info'];a125c=function(){return l;};return a125c();}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'../../../generators/maka.gen.js';import a125f from'../kit.js';const MuiGen=Generator[a125j(0xcf)]({'name':a125j(0xcd),'aliases':['m'],'usage':a125j(0xe0),'noNeedResource':!![],'shortDesc':a125j(0xd2),'validOpts':[''],'isPro':!![],'examples':[a125j(0xe8)]},async function(){const k=a125j;Log[k(0xe1)](k(0xd4)),Log[k(0xcb)](k(0xe2));const {kitChoices:a}=await Actions['options']({'type':k(0xe9),'name':k(0xd6),'message':k(0xd3),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':k(0xd8),'value':'auth'}]}),b=this[k(0xdc)]['findProjectDirectory'](),c=this['fsi'][k(0xe6)]();a['includes'](k(0xdf))&&await a125e['processAndRunGenerator'](k(0xd7),[],{'force':!![],'cwd':b,'config':c});a[k(0xeb)](k(0xe4))&&await a125e[k(0xdd)](k(0xd0),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xd9)]===0x0){Log[k(0xe1)](k(0xe3));return;}},async function(){},a125f);export default MuiGen;
@@ -1 +1 @@
1
- const a126n=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=parseInt(l(0x74))/0x1+parseInt(l(0x8c))/0x2*(parseInt(l(0x82))/0x3)+-parseInt(l(0x8d))/0x4+-parseInt(l(0x70))/0x5*(parseInt(l(0x83))/0x6)+parseInt(l(0x9d))/0x7*(-parseInt(l(0x7e))/0x8)+-parseInt(l(0x87))/0x9+-parseInt(l(0x8f))/0xa*(-parseInt(l(0x93))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x855a2));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(0x67)]()[m(0x81)]('(((.+)+)+)+$')[m(0x67)]()[m(0x6d)](a126a)['search'](m(0x7b));});a126a();import a126e from'path';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x67;let f=c[d];return f;},a126d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a126c(){const q=['28QEySqU','test','withValue','toString','withHook','findAppDirectory','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','engines','assign','constructor','ramda','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','5vwMzHf','withHooks','getMakaProjectConfig','dir','54344XecLEC','split','pathFromApp','features','injectTemplateModule','.js','template','(((.+)+)+)+$','Scaffolding\x20for\x20a\x20React\x20Layout.','warn','432624XRAlNI','component/component.js','layout','search','660954RTFvmc','12942wESmVY','checkNpmPackage','resourceName','fileName','4344723VXkhaq','maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari','injectAtBeginningOfFile','fsi','4GWmaTl','2491952SKReik','pathFromProject','90jOyxsA','.app-tests.js','className','setTemplate','1681086inkimD','react','css','theme','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','relative','withTranslations','true','string','template/template.css'];a126c=function(){return q;};return a126c();}const aliases=['l'];Generator['create']({'name':a126n(0x80),'aliases':aliases,'usage':a126n(0x6f),'shortDesc':a126n(0x7c),'validOpts':[a126n(0x68)],'examples':[a126n(0x88),a126n(0x89)]},async function(a,b){const o=a126n,c='/imports/ui/layouts',d=this[o(0x8b)][o(0x69)](),e=this[o(0x8b)][o(0x76)]({'pathParts':[c,b[o(0x73)],paramCase(b[o(0x85)]),paramCase(b[o(0x85)])]}),f=this['fsi'][o(0x72)]();await this[o(0x8b)][o(0x9f)](f,async()=>{const p=o;typeof f[p(0x7a)][p(0x9e)]==='string'&&(f[p(0x7a)][p(0x9e)]=f['template']['test']===p(0x9a)?!![]:![],this[p(0x8b)]['setTemplate'](p(0x9e),f['template']['test']));typeof f[p(0x7a)][p(0x95)]===p(0x9b)&&(f['template']['css']=f[p(0x7a)][p(0x95)]===p(0x9a)?!![]:![],this['fsi'][p(0x92)]('css',f[p(0x7a)]['css']));typeof f[p(0x7a)]['js']===p(0x9b)&&(f['template']['js']=f['template']['js']===p(0x9a)?!![]:![],this[p(0x8b)]['setTemplate']('js',f['template']['js']));!f[p(0x77)]&&(f[p(0x77)]={});const g=b['_']?b['_'][0x0][p(0x75)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[p(0x84)](p(0x6e))&&(Log[p(0x7d)](p(0x97)),this['fsi']['installNpmPackage']('ramda',{'cwd':d}));if(h&&!this[p(0x84)](p(0x94))){Log[p(0x7d)](p(0x6a));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a126e[p(0x98)](this['fsi'][p(0x8e)]({}),e),'cssCaseName':paramCase(b[p(0x85)]),'className':pascalCase(b[p(0x85)]),'camelCaseName':camelCase(b[p(0x85)]),'fileName':paramCase(b['resourceName']),'graphql':f[p(0x6b)]['graphql'],'features':f['features'],'client':f[p(0x6b)]['client'],'api':f[p(0x6b)]['api'],'ssr':f[p(0x6b)]['ssr'],'test':f[p(0x6b)]['test'],'theme':f['engines'][p(0x96)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x77)][p(0x99)]};f[p(0x77)]?.[p(0x71)]||b[p(0x68)]?await this[p(0x8b)][p(0x7a)]({'srcPath':'hook/hook.js','destPath':e+p(0x79),'framework':p(0x94),'context':i,'config':f}):await this[p(0x8b)][p(0x7a)]({'srcPath':p(0x7f),'destPath':e+'.js','framework':p(0x94),'context':i,'config':f});f['engines'][p(0x9e)]!=='none'&&await this[p(0x8b)][p(0x7a)]({'srcPath':'test/test.js','destPath':e+p(0x90),'framework':p(0x94),'context':i,'config':f});f[p(0x7a)][p(0x95)]&&(await this['fsi'][p(0x7a)]({'srcPath':p(0x9c),'destPath':e+'.css','context':Object[p(0x6c)]({},i,{'className':paramCase(b[p(0x85)])}),'config':f}),await this[p(0x8b)][p(0x8a)]({'filePath':e+'.'+f[p(0x6b)]['js'],'content':'import\x20\x27./'+i[p(0x86)]+'.'+f['engines'][p(0x95)]+'\x27;'}));const j=b[p(0x73)]?'/'+b[p(0x73)]+'/':'/',k=''+c+j+i[p(0x86)]+'/'+i['fileName'];await this['fsi'][p(0x78)](i[p(0x91)],f,k);});});
1
+ const a126o=a126d;(function(a,b){const l=a126d,c=a();while(!![]){try{const d=-parseInt(l(0xe7))/0x1*(-parseInt(l(0xf8))/0x2)+-parseInt(l(0xd0))/0x3*(parseInt(l(0xda))/0x4)+parseInt(l(0xe0))/0x5+-parseInt(l(0xdd))/0x6*(-parseInt(l(0xeb))/0x7)+-parseInt(l(0xc8))/0x8+-parseInt(l(0xf3))/0x9*(parseInt(l(0xdc))/0xa)+-parseInt(l(0x102))/0xb*(-parseInt(l(0xf1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x99082));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a126d;if(c){const e=c[m(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const n=a126d;return a126a[n(0xd7)]()['search'](n(0xcd))[n(0xd7)]()[n(0xce)](a126a)['search']('(((.+)+)+)+$');});a126a();import a126e from'path';function a126c(){const r=['fsi','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','apply','pathFromProject','toString','ssr','features','55508TobCPT','relative','8168660mNObxJ','12ISWWCg','test/test.js','installNpmPackage','225875uWpqjV','withTranslations','findAppDirectory','getMakaProjectConfig','setTemplate','template','import\x20\x27./','15907greOce','.css','ramda','warn','343119kYXpaG','assign','.app-tests.js','css','checkNpmPackage','injectAtBeginningOfFile','1668ktjaTR','withHooks','9tzjDJx','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','test','fileName','includes','38jgIDgR','Scaffolding\x20for\x20a\x20React\x20Layout.','className','client','true','maka\x20g:l\x20web/safari','resourceName','maka\x20g:layout\x20mobile/iPhone8','pathFromApp','dir','193853dkhEQG','withHook','none','3284640stCzkv','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','graphql','withValue','engines','(((.+)+)+)+$','constructor','split','225SPqZHV','react','string'];a126c=function(){return r;};return a126c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xc6;let f=c[d];return f;},a126d(a,b);}const aliases=['l'];Generator['create']({'name':'layout','aliases':aliases,'usage':a126o(0xf4),'shortDesc':a126o(0xf9),'validOpts':[a126o(0xc6)],'examples':[a126o(0xff),a126o(0xfd)]},async function(a,b){const p=a126o,c='/imports/ui/layouts',d=this[p(0xd3)][p(0xe2)](),e=this[p(0xd3)][p(0x100)]({'pathParts':[c,b[p(0x101)],paramCase(b[p(0xfe)]),paramCase(b[p(0xfe)])]}),f=this['fsi'][p(0xe3)]();await this['fsi'][p(0xcb)](f,async()=>{const q=p;typeof f['template'][q(0xf5)]===q(0xd2)&&(f[q(0xe5)][q(0xf5)]=f[q(0xe5)][q(0xf5)]===q(0xfc)?!![]:![],this[q(0xd3)][q(0xe4)](q(0xf5),f[q(0xe5)][q(0xf5)]));typeof f[q(0xe5)][q(0xee)]===q(0xd2)&&(f['template'][q(0xee)]=f[q(0xe5)][q(0xee)]===q(0xfc)?!![]:![],this['fsi'][q(0xe4)](q(0xee),f['template']['css']));typeof f[q(0xe5)]['js']===q(0xd2)&&(f[q(0xe5)]['js']=f[q(0xe5)]['js']===q(0xfc)?!![]:![],this[q(0xd3)]['setTemplate']('js',f['template']['js']));!f[q(0xd9)]&&(f[q(0xd9)]={});const g=b['_']?b['_'][0x0][q(0xcf)](':')[0x1]:![],h=b['_']&&aliases[q(0xf7)](g);h&&!this[q(0xef)](q(0xe9))&&(Log['warn'](q(0xd4)),this[q(0xd3)][q(0xdf)](q(0xe9),{'cwd':d}));if(h&&!this[q(0xef)](q(0xd1))){Log[q(0xea)](q(0xc9));return;}const i={'name':pascalCase(b[q(0xfe)]),'myPath':a126e[q(0xdb)](this[q(0xd3)][q(0xd6)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0xfe)]),'camelCaseName':camelCase(b[q(0xfe)]),'fileName':paramCase(b[q(0xfe)]),'graphql':f[q(0xcc)][q(0xca)],'features':f[q(0xd9)],'client':f[q(0xcc)][q(0xfb)],'api':f[q(0xcc)]['api'],'ssr':f[q(0xcc)][q(0xd8)],'test':f[q(0xcc)][q(0xf5)],'theme':f[q(0xcc)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0xd9)][q(0xe1)]};f[q(0xd9)]?.[q(0xf2)]||b[q(0xc6)]?await this[q(0xd3)]['template']({'srcPath':'hook/hook.js','destPath':e+'.js','framework':q(0xd1),'context':i,'config':f}):await this[q(0xd3)][q(0xe5)]({'srcPath':'component/component.js','destPath':e+'.js','framework':q(0xd1),'context':i,'config':f});f[q(0xcc)][q(0xf5)]!==q(0xc7)&&await this['fsi'][q(0xe5)]({'srcPath':q(0xde),'destPath':e+q(0xed),'framework':'react','context':i,'config':f});f['template'][q(0xee)]&&(await this[q(0xd3)]['template']({'srcPath':'template/template.css','destPath':e+q(0xe8),'context':Object[q(0xec)]({},i,{'className':paramCase(b[q(0xfe)])}),'config':f}),await this[q(0xd3)][q(0xf0)]({'filePath':e+'.'+f['engines']['js'],'content':q(0xe6)+i[q(0xf6)]+'.'+f[q(0xcc)][q(0xee)]+'\x27;'}));const j=b['dir']?'/'+b[q(0x101)]+'/':'/',k=''+c+j+i['fileName']+'/'+i[q(0xf6)];await this[q(0xd3)]['injectTemplateModule'](i[q(0xfa)],f,k);});});
@@ -1 +1 @@
1
- const a127i=a127d;function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xa8;let f=c[d];return f;},a127d(a,b);}function a127c(){const j=['9ZxQLrg','maka\x20g:route\x20todos/edit','maka\x20g:template\x20todos/todo_item','6614448TPBHZy','140790MACCBj','(((.+)+)+)+$','constructor','6744584bKfvnm','maka\x20generate:scaffold\x20todos','search','3787632EAkkFv','6784aoRLgZ','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:api\x20trucks','660FfRcHM','generate','586125biLXVw','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:package\x20package:name','apply','maka\x20g:scaffold\x20todos','928675oqywFe','toString'];a127c=function(){return j;};return a127c();}(function(a,b){const f=a127d,c=a();while(!![]){try{const d=parseInt(f(0xad))/0x1+-parseInt(f(0xb3))/0x2*(parseInt(f(0xaf))/0x3)+parseInt(f(0xba))/0x4*(parseInt(f(0xbd))/0x5)+-parseInt(f(0xb9))/0x6+parseInt(f(0xb6))/0x7+-parseInt(f(0xb2))/0x8+parseInt(f(0xa8))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x7cfb1));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a127d;if(c){const e=c[g(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0xae)]()['search'](h(0xb4))[h(0xae)]()[h(0xb5)](a127a)[h(0xb8)](h(0xb4));});a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a127i(0xbe),'aliases':['g'],'usage':a127i(0xa9),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0xbb),'examples':[a127i(0xb7),a127i(0xac),a127i(0xb1),a127i(0xaa),a127i(0xb0),a127i(0xbc),'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-0x183;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(0x196))/0x1*(parseInt(f(0x189))/0x2)+parseInt(f(0x186))/0x3*(-parseInt(f(0x195))/0x4)+parseInt(f(0x191))/0x5*(parseInt(f(0x184))/0x6)+parseInt(f(0x18b))/0x7*(-parseInt(f(0x197))/0x8)+parseInt(f(0x18c))/0x9+-parseInt(f(0x183))/0xa+parseInt(f(0x188))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xbf8aa));function a127c(){const j=['770218UCCJJA','apply','21aOUEHb','9124947IRgnYN','Scaffold\x20various\x20parts\x20of\x20your\x20application','toString','maka\x20g:api\x20trucks','maka\x20g:package\x20package:name','3304555gIpvkf','maka\x20g:scaffold\x20todos','maka\x20g:route\x20todos/edit','(((.+)+)+)+$','24oGvpFK','2gAzvXu','1027896NNjUNM','maka\x20g:template\x20todos/todo_item','maka\x20{generate,\x20g}:<generator>\x20<name>','9783560ykPmsJ','6FFYvVd','search','773427spCEwL','maka\x20generate:scaffold\x20todos','30697139mpXNDv'];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(0x18a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const h=a127d;return a127a[h(0x18e)]()[h(0x185)](h(0x194))[h(0x18e)]()['constructor'](a127a)['search'](h(0x194));});a127a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a127i(0x199),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a127i(0x18d),'examples':[a127i(0x187),a127i(0x192),a127i(0x198),a127i(0x190),a127i(0x193),a127i(0x18f),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
@@ -1 +1 @@
1
- function a128c(){const o=['dir','withValue','engines','injectAtEndOfFile','import\x20\x27./methods','template','constructor','2361028ztsziM','4470192SEcDYX','6036225qeBcBR','2734120NxDLUr','search','method/method.js','maka\x20{generate,\x20g}:{method,\x20m}\x20name','getMakaProjectConfig','1090935NxsiZh','error','fsi','method','appPathPrefix','methods','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','toString','maka:check','index.','startup','-rpc-method\x27;','pathFromApp','mdg:validated-method','(((.+)+)+)+$','ddp-rate-limiter','resourceName','imports','7974435slowTK','4652274YrlIrP'];a128c=function(){return o;};return a128c();}const a128l=a128d;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x118;let f=c[d];return f;},a128d(a,b);}(function(a,b){const j=a128d,c=a();while(!![]){try{const d=-parseInt(j(0x12d))/0x1+parseInt(j(0x125))/0x2+-parseInt(j(0x11d))/0x3+parseInt(j(0x128))/0x4+parseInt(j(0x127))/0x5+-parseInt(j(0x126))/0x6+parseInt(j(0x11c))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xc91d9));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const k=a128d;return a128a[k(0x134)]()[k(0x129)](k(0x118))['toString']()[k(0x124)](a128a)['search']('(((.+)+)+)+$');});a128a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a128l(0x130),'aliases':['m'],'usage':a128l(0x12b),'checkWhere':!![],'shortDesc':a128l(0x133),'validOpts':[a128l(0x11e)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const m=a128l;try{const c=this[m(0x12f)][m(0x12c)]();await this[m(0x12f)][m(0x11f)](c,async()=>{const n=m,d=paramCase(b[n(0x11a)]),f={'name':b[n(0x11a)],'fileName':d,'className':pascalCase(b[n(0x11a)]),'camelCase':camelCase(b[n(0x11a)]),'noRename':!![]};let g='js';c['engines']['js']==='tsx'&&(g='ts');await this[n(0x12f)]['checkMeteorPackage']([n(0x135),n(0x119),n(0x13a)],{'shouldInstall':!![]}),await this[n(0x12f)][n(0x123)]({'srcPath':n(0x12a),'destPath':this[n(0x12f)]['pathFromApp']({'pathParts':['imports',n(0x137),b[n(0x131)],n(0x132),b[n(0x11e)],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[n(0x11e)]+'/':'/',i=this[n(0x12f)][n(0x139)]({'pathParts':[n(0x11b),n(0x137),b[n(0x131)],n(0x136)+c[n(0x120)]['js']]});await this[n(0x12f)][n(0x121)]({'filePath':i,'content':n(0x122)+h+d+n(0x138)});});}catch(d){Log[m(0x12e)](d);}});
1
+ const a128l=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x19a))/0x1*(-parseInt(j(0x1a9))/0x2)+parseInt(j(0x1ac))/0x3*(parseInt(j(0x195))/0x4)+parseInt(j(0x191))/0x5+parseInt(j(0x194))/0x6+-parseInt(j(0x1a7))/0x7*(-parseInt(j(0x1a0))/0x8)+parseInt(j(0x1ad))/0x9+-parseInt(j(0x19b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xdd46e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const k=a128d;return a128a[k(0x1a4)]()['search'](k(0x1a6))[k(0x1a4)]()[k(0x19e)](a128a)['search'](k(0x1a6));});a128a();import{Generator}from'../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x187;let f=c[d];return f;},a128d(a,b);}function a128c(){const o=['9cuEAKK','2911932AoyYuz','index.','tsx','imports','pathFromApp','injectAtEndOfFile','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','getMakaProjectConfig','mdg:validated-method','startup','engines','7136335NbJBZo','maka\x20{generate,\x20g}:{method,\x20m}\x20name','dir','3097314TorRxP','1146268Qolsva','methods','method','checkMeteorPackage','maka:check','1416871jIoWnS','19052520IoYAXx','template','-rpc-method.','constructor','ddp-rate-limiter','264MzKwaz','method/method.js','maka\x20g:method\x20todos','create','toString','appPathPrefix','(((.+)+)+)+$','233702iFetDU','fsi','2pACSuG','import\x20\x27./methods','resourceName'];a128c=function(){return o;};return a128c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a128l(0x1a3)]({'name':a128l(0x197),'aliases':['m'],'usage':a128l(0x192),'checkWhere':!![],'shortDesc':a128l(0x18c),'validOpts':[a128l(0x193)],'examples':[a128l(0x1a2)]},async function(a,b){const m=a128l;try{const c=this[m(0x1a8)][m(0x18d)]();await this[m(0x1a8)]['withValue'](c,async()=>{const n=m,d=paramCase(b[n(0x1ab)]),f={'name':b[n(0x1ab)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[n(0x1ab)]),'noRename':!![]};let g='js';c['engines']['js']===n(0x188)&&(g='ts');await this['fsi'][n(0x198)]([n(0x199),n(0x19f),n(0x18e)],{'shouldInstall':!![]}),await this['fsi'][n(0x19c)]({'srcPath':n(0x1a1),'destPath':this[n(0x1a8)][n(0x18a)]({'pathParts':[n(0x189),n(0x18f),b[n(0x1a5)],n(0x196),b['dir'],d+n(0x19d)+g]}),'context':f,'config':c});const h=b[n(0x193)]?'/'+b['dir']+'/':'/',i=this[n(0x1a8)][n(0x18a)]({'pathParts':[n(0x189),n(0x18f),b[n(0x1a5)],n(0x187)+c[n(0x190)]['js']]});await this[n(0x1a8)][n(0x18b)]({'filePath':i,'content':n(0x1aa)+h+d+'-rpc-method\x27;'});});}catch(d){Log['error'](d);}});
@@ -1 +1 @@
1
- const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=parseInt(l(0x1b4))/0x1+-parseInt(l(0x1a8))/0x2+-parseInt(l(0x197))/0x3*(parseInt(l(0x1ad))/0x4)+parseInt(l(0x1b2))/0x5*(-parseInt(l(0x19a))/0x6)+parseInt(l(0x1bc))/0x7*(parseInt(l(0x1a9))/0x8)+parseInt(l(0x1aa))/0x9*(-parseInt(l(0x1ab))/0xa)+parseInt(l(0x1bd))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x1fa2b));function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x191;let f=c[d];return f;},a129d(a,b);}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a[n(0x1bb)]()[n(0x1ae)](n(0x1a0))[n(0x1bb)]()[n(0x195)](a129a)[n(0x1ae)]('(((.+)+)+)+$');});a129a();import a129e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a129c(){const r=['tests/server','maka\x20g:package\x20todos:package','ssr','constructor','/client/','339TVSFra','pathFromAppWithNoReWrite','noRename','36bKyweA','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','template','packages','create','template/template.js','(((.+)+)+)+$','package','pathFromApp','features','apply','fsi','withValue','store','164198PAchGq','9704EQTrCy','364122yvxMdc','40hXZSYn','package.js','8164maQgLB','search','graphql','client','/package.js','95825AvrMwS','engines','22577rbHaVe','.js','component','dir','resourceName','getMakaProjectConfig','layout','toString','959RReACb','5834125gFEZLa','hasOwnProperty'];a129c=function(){return r;};return a129c();}Generator[a129o(0x19e)]({'name':a129o(0x1a1),'aliases':['p'],'usage':a129o(0x19b),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a129o(0x1b7)],'examples':[a129o(0x193)]},async function(a,b){const p=a129o,c=paramCase(b[p(0x1b8)]),d=this['fsi'][p(0x1a2)]({'pathParts':[p(0x19d),b['dir'],c]}),e=this[p(0x1a5)][p(0x198)]({'pathParts':[p(0x19d),b[p(0x1b7)],c,p(0x1ac)]}),f=this[p(0x1a5)][p(0x1b9)]();await this[p(0x1a5)][p(0x1a6)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x1b8)]),'myPath':a129e['relative'](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x1b8)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x1b3)][q(0x1b0)],'graphql':f['engines'][q(0x1af)],'ssr':f['engines'][q(0x194)],'isComponent':b[q(0x191)](q(0x1b6)),'isLayout':b[q(0x191)](q(0x1ba)),'isStore':b[q(0x191)](q(0x1a7)),'features':f[q(0x1a3)],'noRename':!![],'theme':f['engines']['theme']};await this[q(0x1a5)][q(0x19c)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0x199)]=![];const h=d+q(0x196)+c+q(0x1b5);await this[q(0x1a5)]['template']({'srcPath':q(0x19f),'destPath':h,'context':g,'config':f});const i=['lib','server','tests/client',q(0x192)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x1b5);await this[q(0x1a5)][q(0x19c)]({'srcPath':'package/'+j+q(0x1b1),'destPath':k,'context':g,'config':f});}});});
1
+ function a129c(){const r=['maka\x20g:package\x20todos:package','2643270yWjURs','getMakaProjectConfig','noRename','client','1BJkXBI','(((.+)+)+)+$','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','packages','withValue','package','component','create','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','1447365ErjsWK','987ufvYng','resourceName','toString','fsi','.js','layout','dir','/client/','pathFromApp','graphql','492732fHeKCQ','search','lib','template','3gacyiB','engines','features','constructor','256617slLSez','tests/server','335486cNKJGm','10596qPAjlp','package.js','pathFromProject','store','hasOwnProperty','theme','apply','/package.js','1392696JUocdB'];a129c=function(){return r;};return a129c();}const a129o=a129d;(function(a,b){const l=a129d,c=a();while(!![]){try{const d=parseInt(l(0xb0))/0x1*(parseInt(l(0xa1))/0x2)+parseInt(l(0x9b))/0x3*(-parseInt(l(0x97))/0x4)+parseInt(l(0xb9))/0x5+parseInt(l(0xa2))/0x6*(-parseInt(l(0xba))/0x7)+-parseInt(l(0xaa))/0x8+-parseInt(l(0x9f))/0x9+parseInt(l(0xac))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x23d42));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a129d;if(c){const e=c[m(0xa8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const n=a129d;return a129a['toString']()[n(0x98)](n(0xb1))[n(0xbc)]()[n(0x9e)](a129a)[n(0x98)]('(((.+)+)+)+$');});a129a();import a129e from'path';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x97;let f=c[d];return f;},a129d(a,b);}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a129o(0xb7)]({'name':a129o(0xb5),'aliases':['p'],'usage':a129o(0xb2),'shortDesc':a129o(0xb8),'validOpts':[a129o(0xc0)],'examples':[a129o(0xab)]},async function(a,b){const p=a129o,c=paramCase(b[p(0xbb)]),d=this[p(0xbd)][p(0xc2)]({'pathParts':['packages',b[p(0xc0)],c]}),e=this[p(0xbd)]['pathFromAppWithNoReWrite']({'pathParts':[p(0xb3),b[p(0xc0)],c,p(0xa3)]}),f=this[p(0xbd)][p(0xad)]();await this['fsi'][p(0xb4)](f,async()=>{const q=p,g={'name':paramCase(b[q(0xbb)]),'myPath':a129e['relative'](this[q(0xbd)][q(0xa4)]({}),d),'cssCaseName':paramCase(b[q(0xbb)]),'className':pascalCase(b[q(0xbb)]),'camelCaseName':camelCase(b[q(0xbb)]),'fileName':c,'client':f[q(0x9c)][q(0xaf)],'graphql':f['engines'][q(0xc3)],'ssr':f['engines']['ssr'],'isComponent':b['hasOwnProperty'](q(0xb6)),'isLayout':b[q(0xa6)](q(0xbf)),'isStore':b['hasOwnProperty'](q(0xa5)),'features':f[q(0x9d)],'noRename':!![],'theme':f[q(0x9c)][q(0xa7)]};await this[q(0xbd)]['template']({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0xae)]=![];const h=d+q(0xc1)+c+q(0xbe);await this[q(0xbd)][q(0x9a)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x99),'server','tests/client',q(0xa0)];for(const j of i){const k=d+'/'+j+'/'+c+q(0xbe);await this['fsi']['template']({'srcPath':'package/'+j+q(0xa9),'destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=-parseInt(j(0xdb))/0x1*(parseInt(j(0xae))/0x2)+parseInt(j(0xac))/0x3*(-parseInt(j(0xd8))/0x4)+-parseInt(j(0xe6))/0x5+parseInt(j(0xb5))/0x6+parseInt(j(0xe4))/0x7*(-parseInt(j(0xd6))/0x8)+-parseInt(j(0xcd))/0x9*(-parseInt(j(0xbd))/0xa)+parseInt(j(0xeb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x82044));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0xbb)]()[l(0xc3)](l(0xe3))[l(0xbb)]()['constructor'](a130a)['search'](l(0xe3));});a130a();function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xa5;let f=c[d];return f;},a130d(a,b);}import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a130c(){const p=['layouts','withTranslations','relative','toString','theme','110NvmGWq','true','css','checkNpmPackage','engines','findAppDirectory','search','assign','vanilla','layout','getMakaProjectConfig','graphql','resourceName','string','/imports/ui/','dir','184491gavNvt','withHook','injectAtBeginningOfFile','api','html','none','import\x20\x27./','template','test/test.js','2472816BWqiMa','withValue','1106076veTlpz','baseDir','installNpmPackage','311646nvmkvX','Updating\x20npm\x20packages\x20...','pathFromApp','withHooks','.html','route','test','features','(((.+)+)+)+$','14iDrCRv','Generate\x20a\x20page.','2063115zFMHsv','fsi','\x27;\x0a','hasOwnProperty','pathFromProject','29218299NuUKiF','.css','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','apply','hooks','fileName','page','create','/imports/ui/pages','components','template/template.html','root','react','9Nmudfa','component/component.js','6lhwrwa','.js','template/template.css','.app-tests.js','component','setTemplate','maka\x20g:page\x20todos/todos-item','2677032hLnzPs','client','ramda'];a130c=function(){return p;};return a130c();}import a130f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a130m(0xa6)]({'name':a130m(0xa5),'aliases':aliases,'usage':a130m(0xed),'shortDesc':a130m(0xe5),'validOpts':[{'name':a130m(0xd9),'values':[a130m(0xef),a130m(0xa8),'pages',a130m(0xb8)]},{'name':a130m(0xce),'boolFlag':!![]}],'examples':[a130m(0xb4)]},async function(a,b){const n=a130m,c=b[n(0xd9)]?n(0xcb)+b[n(0xd9)]:n(0xa7),d=this['fsi'][n(0xc2)](),e=this[n(0xe7)][n(0xdd)]({'pathParts':[c,b[n(0xcc)],paramCase(b[n(0xc9)]),paramCase(b[n(0xc9)])]}),f=this[n(0xe7)][n(0xc7)]();let g='';return await this[n(0xe7)][n(0xd7)](f,async()=>{const o=n;typeof f[o(0xd4)][o(0xd1)]===o(0xca)&&(f[o(0xd4)]['html']=f[o(0xd4)]['html']===o(0xbe)?!![]:![],this[o(0xe7)][o(0xb3)]('html',f[o(0xd4)]['html']));typeof f[o(0xd4)]['test']===o(0xca)&&(f[o(0xd4)][o(0xe1)]=f[o(0xd4)][o(0xe1)]===o(0xbe)?!![]:![],this['fsi'][o(0xb3)](o(0xe1),f[o(0xd4)][o(0xe1)]));typeof f[o(0xd4)]['css']==='string'&&(f['template'][o(0xbf)]=f[o(0xd4)][o(0xbf)]===o(0xbe)?!![]:![],this[o(0xe7)][o(0xb3)](o(0xbf),f['template'][o(0xbf)]));typeof f[o(0xd4)]['js']==='string'&&(f[o(0xd4)]['js']=f[o(0xd4)]['js']===o(0xbe)?!![]:![],this['fsi'][o(0xb3)]('js',f[o(0xd4)]['js']));!f['features']&&(f[o(0xe2)]={});!b[o(0xaa)]&&!this[o(0xe7)][o(0xc0)]('ramda')&&(Log['warn'](o(0xdc)),this[o(0xe7)][o(0xda)](o(0xb7),{'cwd':d}));const h={'name':pascalCase(b[o(0xc9)]),'myPath':a130e[o(0xba)](this[o(0xe7)][o(0xea)]({}),e),'cssCaseName':paramCase(b[o(0xc9)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[o(0xc9)]),'fileName':paramCase(b[o(0xc9)]),'graphql':f['engines'][o(0xc8)],'features':f[o(0xe2)],'client':f[o(0xc1)][o(0xb6)],'api':f[o(0xc1)][o(0xd0)],'ssr':f['engines']['ssr'],'isStore':b[o(0xe9)]('store'),'isComponent':b[o(0xe9)](o(0xb2)),'isLayout':b[o(0xe9)](o(0xc6)),'withTranslations':f[o(0xe2)][o(0xb9)],'test':f[o(0xc1)][o(0xe1)],'theme':f[o(0xc1)][o(0xbc)]};f[o(0xd4)]['html']&&await this[o(0xe7)][o(0xd4)]({'srcPath':o(0xa9),'destPath':e+o(0xdf),'context':h,'config':f});f[o(0xe2)]?.[o(0xde)]||b[o(0xce)]?await this[o(0xe7)][o(0xd4)]({'srcPath':'hook/hook.js','destPath':e+o(0xaf),'framework':o(0xab),'context':h,'config':f}):await this[o(0xe7)][o(0xd4)]({'srcPath':o(0xad),'destPath':e+o(0xaf),'framework':o(0xab),'context':h,'config':f});f['engines']['test']!==o(0xd2)&&await this['fsi'][o(0xd4)]({'srcPath':o(0xd5),'destPath':e+o(0xb1),'framework':o(0xab),'context':h,'config':f});f[o(0xd4)][o(0xbf)]&&await this['fsi'][o(0xd4)]({'srcPath':o(0xb0),'destPath':e+o(0xec),'context':Object[o(0xc4)]({},h,{'className':paramCase(b[o(0xc9)])}),'config':f});f[o(0xc1)]['client']!==o(0xab)&&f[o(0xc1)]['client']!==o(0xc5)?(f['template']['css']&&await this[o(0xe7)][o(0xcf)]({'filePath':e+'.'+f[o(0xc1)]['js'],'content':o(0xd3)+h[o(0xf0)]+'.'+f[o(0xc1)][o(0xd1)]+o(0xe8)+o(0xd3)+h['fileName']+'.'+f[o(0xc1)][o(0xbf)]+'\x27;'}),!f[o(0xd4)][o(0xbf)]&&await this[o(0xe7)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0xc1)]['js'],'content':'import\x20\x27./'+h[o(0xf0)]+'.'+f['engines'][o(0xd1)]+'\x27;'})):f['template']['css']&&await this[o(0xe7)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[o(0xc1)]['js'],'content':o(0xd3)+h['fileName']+'.'+f[o(0xc1)][o(0xbf)]+'\x27;'});const i=b[o(0xcc)]?'/'+b[o(0xcc)]+'/':'/';g=''+c+i+h[o(0xf0)]+'/'+h[o(0xf0)],await this[o(0xe7)]['injectTemplateModule'](h['className'],f,g),!b[o(0xaa)]&&await a130f['processAndRunGenerator'](o(0xe0),[i+b['resourceName']],b);}),g+'.'+f[n(0xc1)]['js'];});
1
+ const a130m=a130d;(function(a,b){const j=a130d,c=a();while(!![]){try{const d=parseInt(j(0xf4))/0x1+-parseInt(j(0x114))/0x2+-parseInt(j(0xd4))/0x3*(parseInt(j(0xd7))/0x4)+parseInt(j(0x113))/0x5+parseInt(j(0xfe))/0x6+-parseInt(j(0xfc))/0x7*(-parseInt(j(0xf8))/0x8)+parseInt(j(0xf2))/0x9*(-parseInt(j(0xed))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xa116d));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a130d;if(c){const e=c[k(0x112)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const l=a130d;return a130a[l(0xe9)]()[l(0x118)](l(0xd1))[l(0xe9)]()[l(0xfd)](a130a)[l(0x118)](l(0xd1));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a130f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xcd;let f=c[d];return f;},a130d(a,b);}function a130c(){const p=['layout','relative','.css','className','string','component/component.js','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','withValue','api','hasOwnProperty','setTemplate','apply','4242800JbkORp','1982960dsTFXA','ssr','import\x20\x27./','resourceName','search','Generate\x20a\x20page.','withTranslations','/imports/ui/pages','ramda','none','\x27;\x0a','(((.+)+)+)+$','create','html','654osfrmF','store','checkNpmPackage','7816gCUzhe','true','pathFromProject','fsi','root','react','hook/hook.js','getMakaProjectConfig','maka\x20g:page\x20todos/todos-item','pages','dir','withHook','/imports/ui/','template/template.css','.js','test/test.js','route','findAppDirectory','toString','css','features','Updating\x20npm\x20packages\x20...','13760720bQbICk','vanilla','injectAtBeginningOfFile','.html','engines','9OEHkBm','template','1131854RjwmNU','component','client','processAndRunGenerator','8KavTCm','warn','layouts','baseDir','4145659vddEpu','constructor','5284164NWRuSs','injectTemplateModule','components','fileName','pathFromApp','hooks','.app-tests.js','test','installNpmPackage'];a130c=function(){return p;};return a130c();}const aliases=['p'];Generator[a130m(0xd2)]({'name':'page','aliases':aliases,'usage':a130m(0x10d),'shortDesc':a130m(0x119),'validOpts':[{'name':a130m(0xfb),'values':[a130m(0x103),a130m(0x100),a130m(0xe0),a130m(0xfa)]},{'name':a130m(0xe2),'boolFlag':!![]}],'examples':[a130m(0xdf)]},async function(a,b){const n=a130m,c=b[n(0xfb)]?n(0xe3)+b[n(0xfb)]:n(0xcd),d=this[n(0xda)][n(0xe8)](),e=this['fsi'][n(0x102)]({'pathParts':[c,b[n(0xe1)],paramCase(b['resourceName']),paramCase(b[n(0x117)])]}),f=this[n(0xda)][n(0xde)]();let g='';return await this['fsi'][n(0x10e)](f,async()=>{const o=n;typeof f[o(0xf3)]['html']===o(0x10b)&&(f[o(0xf3)][o(0xd3)]=f[o(0xf3)]['html']===o(0xd8)?!![]:![],this['fsi'][o(0x111)]('html',f['template'][o(0xd3)]));typeof f[o(0xf3)][o(0x105)]===o(0x10b)&&(f['template'][o(0x105)]=f[o(0xf3)][o(0x105)]===o(0xd8)?!![]:![],this[o(0xda)][o(0x111)]('test',f['template']['test']));typeof f[o(0xf3)][o(0xea)]===o(0x10b)&&(f[o(0xf3)][o(0xea)]=f[o(0xf3)]['css']===o(0xd8)?!![]:![],this[o(0xda)][o(0x111)](o(0xea),f[o(0xf3)]['css']));typeof f[o(0xf3)]['js']===o(0x10b)&&(f[o(0xf3)]['js']=f[o(0xf3)]['js']===o(0xd8)?!![]:![],this[o(0xda)][o(0x111)]('js',f[o(0xf3)]['js']));!f[o(0xeb)]&&(f['features']={});!b[o(0xdb)]&&!this[o(0xda)][o(0xd6)](o(0xce))&&(Log[o(0xf9)](o(0xec)),this['fsi'][o(0x106)]('ramda',{'cwd':d}));const h={'name':pascalCase(b[o(0x117)]),'myPath':a130e[o(0x108)](this[o(0xda)][o(0xd9)]({}),e),'cssCaseName':paramCase(b[o(0x117)]),'className':pascalCase(b[o(0x117)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[o(0x117)]),'graphql':f[o(0xf1)]['graphql'],'features':f['features'],'client':f['engines'][o(0xf6)],'api':f[o(0xf1)][o(0x10f)],'ssr':f[o(0xf1)][o(0x115)],'isStore':b[o(0x110)](o(0xd5)),'isComponent':b[o(0x110)](o(0xf5)),'isLayout':b['hasOwnProperty'](o(0x107)),'withTranslations':f[o(0xeb)][o(0x11a)],'test':f[o(0xf1)][o(0x105)],'theme':f[o(0xf1)]['theme']};f[o(0xf3)][o(0xd3)]&&await this['fsi']['template']({'srcPath':'template/template.html','destPath':e+o(0xf0),'context':h,'config':f});f[o(0xeb)]?.['withHooks']||b[o(0xe2)]?await this[o(0xda)]['template']({'srcPath':o(0xdd),'destPath':e+'.js','framework':'react','context':h,'config':f}):await this['fsi'][o(0xf3)]({'srcPath':o(0x10c),'destPath':e+o(0xe5),'framework':o(0xdc),'context':h,'config':f});f[o(0xf1)]['test']!==o(0xcf)&&await this[o(0xda)][o(0xf3)]({'srcPath':o(0xe6),'destPath':e+o(0x104),'framework':o(0xdc),'context':h,'config':f});f[o(0xf3)][o(0xea)]&&await this[o(0xda)]['template']({'srcPath':o(0xe4),'destPath':e+o(0x109),'context':Object['assign']({},h,{'className':paramCase(b[o(0x117)])}),'config':f});f[o(0xf1)][o(0xf6)]!==o(0xdc)&&f['engines'][o(0xf6)]!==o(0xee)?(f[o(0xf3)][o(0xea)]&&await this[o(0xda)][o(0xef)]({'filePath':e+'.'+f[o(0xf1)]['js'],'content':o(0x116)+h[o(0x101)]+'.'+f['engines']['html']+o(0xd0)+o(0x116)+h[o(0x101)]+'.'+f[o(0xf1)][o(0xea)]+'\x27;'}),!f[o(0xf3)][o(0xea)]&&await this[o(0xda)][o(0xef)]({'filePath':e+'.'+f[o(0xf1)]['js'],'content':'import\x20\x27./'+h[o(0x101)]+'.'+f['engines'][o(0xd3)]+'\x27;'})):f[o(0xf3)][o(0xea)]&&await this['fsi'][o(0xef)]({'filePath':e+'.'+f[o(0xf1)]['js'],'content':o(0x116)+h[o(0x101)]+'.'+f['engines'][o(0xea)]+'\x27;'});const i=b[o(0xe1)]?'/'+b[o(0xe1)]+'/':'/';g=''+c+i+h[o(0x101)]+'/'+h['fileName'],await this[o(0xda)][o(0xff)](h[o(0x10a)],f,g),!b[o(0xdb)]&&await a130f[o(0xf7)](o(0xe7),[i+b['resourceName']],b);}),g+'.'+f[n(0xf1)]['js'];});
@@ -1 +1 @@
1
- const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x12c))/0x1*(-parseInt(m(0x130))/0x2)+-parseInt(m(0x115))/0x3+-parseInt(m(0x12d))/0x4+-parseInt(m(0x124))/0x5+-parseInt(m(0x118))/0x6*(-parseInt(m(0x133))/0x7)+parseInt(m(0x119))/0x8*(parseInt(m(0x113))/0x9)+-parseInt(m(0x116))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x349a2));function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x112;let f=c[d];return f;},a131d(a,b);}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x114)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a[o(0x120)]()[o(0x12e)](o(0x121))['toString']()[o(0x134)](a131a)[o(0x12e)](o(0x121));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a131c(){const s=['264oYCwkH','8YKlYsn','injectAtEndOfFile','engines','resourceName','/imports/startup/server/publications','error','startup','toString','(((.+)+)+)+$','exit','tsx','654165MnVScL','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','baseDir','getMakaProjectConfig','template','globalPublish','publish','fsi','21OttVQS','433392BiFqNY','search','index.','19708SlWGAP','create','/imports/ui/','64274cdUVZs','constructor','dir','pathFromApp','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','withValue','force','1840338TFlwCR','apply','367329fpwqvP','2383420bAQmWc','appPathPrefix'];a131c=function(){return s;};return a131c();}Generator[a131p(0x131)]({'name':a131p(0x12a),'aliases':['p'],'usage':a131p(0x137),'shortDesc':a131p(0x125),'validOpts':['force',a131p(0x129)],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const q=a131p;try{const c=b[q(0x112)]||![],d=b['baseDir']?q(0x132)+b[q(0x126)]:q(0x11d),f=this[q(0x12b)][q(0x127)](),g=paramCase(b[q(0x11c)]),h=this[q(0x12b)][q(0x136)]({'pathParts':[d,b['dir'],'',g]});let i='js';f['engines']['js']===q(0x123)&&(i='ts');await this[q(0x12b)][q(0x138)](f,async()=>{const r=q,l={'name':b['resourceName'],'collection':pascalCase(b[r(0x11c)]),'noRename':!![],'globalPublish':b[r(0x129)]};await this[r(0x12b)][r(0x128)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this['fsi'][q(0x136)]({'pathParts':['imports',q(0x11f),'server',b[q(0x117)],q(0x12f)+f[q(0x11b)]['js']]}),k=b[q(0x135)]?'/'+b[q(0x135)]+'/':'/';return await this['fsi'][q(0x11a)]({'filePath':j,'content':'import\x20\x27./publications'+k+g+'\x27;'}),h+'.'+i;}catch(l){Log[q(0x11e)](l),process[q(0x122)](0x1);}});
1
+ const a131p=a131d;(function(a,b){const m=a131d,c=a();while(!![]){try{const d=-parseInt(m(0x112))/0x1*(-parseInt(m(0x133))/0x2)+parseInt(m(0x11a))/0x3*(-parseInt(m(0x12d))/0x4)+parseInt(m(0x129))/0x5*(parseInt(m(0x111))/0x6)+-parseInt(m(0x124))/0x7*(-parseInt(m(0x114))/0x8)+parseInt(m(0x113))/0x9*(-parseInt(m(0x119))/0xa)+parseInt(m(0x128))/0xb+parseInt(m(0x134))/0xc*(-parseInt(m(0x121))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xd10f1));function a131c(){const s=['search','pathFromApp','globalPublish','42642DDkDdJ','3LRsEGt','237753HqBRlv','91128gNTnEu','tsx','baseDir','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','publish','490dneBmz','6JEJxBh','maka\x20g:publish\x20todos','exit','appPathPrefix','resourceName','template','toString','104kLDMLI','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','server','1050xSaJwg','fsi','(((.+)+)+)+$','/imports/startup/server/publications','16040805BKrxOz','1055gNrxCI','apply','imports','dir','2469672FFjCxk','/imports/ui/','force','index.','startup','engines','854296YveGSR','3843528avmcDa'];a131c=function(){return s;};return a131c();}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a131d;if(c){const e=c[n(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const o=a131d;return a131a['toString']()[o(0x135)](o(0x126))[o(0x120)]()['constructor'](a131a)[o(0x135)](o(0x126));});a131a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x110;let f=c[d];return f;},a131d(a,b);}Generator['create']({'name':a131p(0x118),'aliases':['p'],'usage':a131p(0x122),'shortDesc':a131p(0x117),'validOpts':[a131p(0x12f),'globalPublish'],'examples':[a131p(0x11b)]},async function(a,b){const q=a131p;try{const c=b[q(0x12f)]||![],d=b[q(0x116)]?q(0x12e)+b['baseDir']:q(0x127),f=this['fsi']['getMakaProjectConfig'](),g=paramCase(b['resourceName']),h=this['fsi'][q(0x136)]({'pathParts':[d,b[q(0x12c)],'',g]});let i='js';f[q(0x132)]['js']===q(0x115)&&(i='ts');await this[q(0x125)]['withValue'](f,async()=>{const r=q,l={'name':b['resourceName'],'collection':pascalCase(b[r(0x11e)]),'noRename':!![],'globalPublish':b[r(0x110)]};await this[r(0x125)][r(0x11f)]({'srcPath':'publish/publish.js','destPath':h+'.'+i,'context':l,'config':f,'force':c});});const j=this[q(0x125)][q(0x136)]({'pathParts':[q(0x12b),q(0x131),q(0x123),b[q(0x11d)],q(0x130)+f[q(0x132)]['js']]}),k=b['dir']?'/'+b[q(0x12c)]+'/':'/';return await this[q(0x125)]['injectAtEndOfFile']({'filePath':j,'content':'import\x20\x27./publications'+k+g+'\x27;'}),h+'.'+i;}catch(l){Log['error'](l),process[q(0x11c)](0x1);}});