@maka/maka-cli 4.13.13 → 4.13.15

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 (163) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1 +1 @@
1
- const a117n=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x168;let f=c[d];return f;},a117d(a,b);}(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x187))/0x1*(-parseInt(l(0x198))/0x2)+parseInt(l(0x181))/0x3+-parseInt(l(0x16c))/0x4+-parseInt(l(0x18e))/0x5*(parseInt(l(0x1a6))/0x6)+parseInt(l(0x1a2))/0x7+-parseInt(l(0x175))/0x8*(parseInt(l(0x172))/0x9)+-parseInt(l(0x17f))/0xa*(parseInt(l(0x19d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xe4e20));const a117b=(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;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x197)]()[m(0x171)](m(0x17c))[m(0x197)]()[m(0x18b)](a117a)[m(0x171)](m(0x17c));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117c(){const q=['apollo','error','warn','33GSjhpF','hook/hook.js','@apollo/client','graphql','fileName','9748704iuHvlK','template','pathFromProject','pathFromApp','744TaXHxJ','withTranslations','test','hooks','hook','react','2964092ePYquy','create','/imports/ui/components','engines','resourceName','search','270cprnGV','features','notice','57992ndetlH','css','fsi','getMakaProjectConfig','.js','true','pages','(((.+)+)+)+$','@apollo/client\x20isomorphic-fetch','installNpmPackage','3349940zpMzeD','findAppDirectory','4327404cTzbHi','template/template.css','className','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','baseDir','setTemplate','518811TSTOvM','cssCaseName','/imports/ui/','string','constructor','.app-tests.js','components','18265LrImTi','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','dir','injectTemplateModule','test/test.js','.css','\x20hook...','layouts','none','toString','2JNuEVe','force'];a117c=function(){return q;};return a117c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117n(0x16d)]({'name':a117n(0x16a),'aliases':['h'],'checkWhere':![],'usage':a117n(0x184),'shortDesc':a117n(0x18f),'validOpts':[{'name':a117n(0x185),'values':[a117n(0x169),a117n(0x18d),a117n(0x17b),a117n(0x195)]},{'name':a117n(0x199),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const o=a117n;Log[o(0x174)]('Creating\x20'+b['resourceName']+o(0x194));try{const c=this[o(0x177)]['checkNpmPackage'](o(0x16b));if(!c){Log[o(0x19b)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[o(0x177)][o(0x180)](),f=b['baseDir']?o(0x189)+b[o(0x185)]:o(0x16e),g=this['fsi'][o(0x1a5)]({'pathParts':[f,b[o(0x190)],paramCase(b[o(0x170)]),paramCase(b[o(0x170)])]}),h=await this[o(0x177)][o(0x178)]();await this[o(0x177)]['withValue'](h,async()=>{const p=o;typeof h['template'][p(0x176)]===p(0x18a)&&(h[p(0x1a3)][p(0x176)]=h[p(0x1a3)][p(0x176)]===p(0x17a)?!![]:![],this[p(0x177)][p(0x186)](p(0x176),h[p(0x1a3)]['css']));h[p(0x16f)]['graphql']===p(0x19a)&&!this[p(0x177)]['checkNpmPackage'](p(0x19f))&&(Log[p(0x19c)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[p(0x177)][p(0x17e)](p(0x17d),{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0x170)]),'camelCaseName':camelCase(b[p(0x170)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b['resourceName']),'graphql':h[p(0x16f)][p(0x1a0)],'theme':h[p(0x16f)]['theme'],'features':h['features'],'myPath':a117e['relative'](this['fsi'][p(0x1a4)]({}),g),'fileName':paramCase(b[p(0x170)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x173)][p(0x1a7)]};await this[p(0x177)]['template']({'srcPath':p(0x19e),'destPath':g+p(0x179),'context':i,'config':h,'framework':p(0x16b),'force':b[p(0x199)]});h[p(0x1a3)][p(0x176)]&&(await this['fsi'][p(0x1a3)]({'srcPath':p(0x182),'destPath':g+p(0x193),'context':Object['assign']({},i,{'className':i[p(0x188)]}),'config':h,'force':b['force']}),await this[p(0x177)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[p(0x16f)]['js'],'content':'import\x20\x27./'+i[p(0x1a1)]+'.'+h['engines'][p(0x176)]+'\x27;'}));h[p(0x16f)][p(0x168)]!==p(0x196)&&await this[p(0x177)][p(0x1a3)]({'srcPath':p(0x192),'destPath':g+p(0x18c),'framework':p(0x16b),'context':i,'config':h,'force':b['force']});const j=b['dir']?'/'+b[p(0x190)]+'/':'/',k=''+f+j+i['fileName']+'/'+i[p(0x1a1)];await this[p(0x177)][p(0x191)](i[p(0x183)],h,k);});}catch(i){Log['error'](i);}});
1
+ const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0xeb))/0x1+parseInt(l(0xec))/0x2+parseInt(l(0xd9))/0x3*(parseInt(l(0xf9))/0x4)+-parseInt(l(0xe5))/0x5+-parseInt(l(0xe3))/0x6*(parseInt(l(0xc5))/0x7)+parseInt(l(0xf7))/0x8*(parseInt(l(0xf6))/0x9)+parseInt(l(0xcb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x85d83));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0xea)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a['toString']()[n(0xf8)](n(0xc9))['toString']()[n(0xe8)](a117a)[n(0xf8)]('(((.+)+)+)+$');});a117a();import a117e from'path';function a117c(){const r=['fileName','layouts','injectAtBeginningOfFile','.css','theme','relative','force','7509519lxkotA','8iCAabZ','search','24jJdpaz','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','string','/imports/ui/components','className','baseDir','create','7WGLWAq','.js','fsi','notice','(((.+)+)+)+$','warn','8787020BuTkds','template','resourceName','withTranslations','Creating\x20','.app-tests.js','engines','components','graphql','test/test.js','template/template.css','import\x20\x27./','test','cssCaseName','66678lweVHj','injectTemplateModule','findAppDirectory','pathFromProject','css','apollo','\x20hook...','hook/hook.js','hooks','withValue','1590234FSzBzQ','react','5408000adpIdk','checkNpmPackage','error','constructor','@apollo/client\x20isomorphic-fetch','apply','315754bqAfab','728342egCAxm','true','dir'];a117c=function(){return r;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xc1;let f=c[d];return f;},a117d(a,b);}import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0xc4)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':a117o(0xc3),'values':[a117o(0xe1),a117o(0xd2),'pages',a117o(0xf0)]},{'name':'force','boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const p=a117o;Log[p(0xc8)](p(0xcf)+b[p(0xcd)]+p(0xdf));try{const c=this[p(0xc7)][p(0xe6)](p(0xe4));if(!c){Log[p(0xe7)](p(0xfa));throw new UsageError();}const d=this['fsi'][p(0xdb)](),f=b[p(0xc3)]?'/imports/ui/'+b[p(0xc3)]:p(0xc1),g=this['fsi']['pathFromApp']({'pathParts':[f,b[p(0xee)],paramCase(b[p(0xcd)]),paramCase(b['resourceName'])]}),h=await this['fsi']['getMakaProjectConfig']();await this[p(0xc7)][p(0xe2)](h,async()=>{const q=p;typeof h[q(0xcc)][q(0xdd)]===q(0xfb)&&(h[q(0xcc)]['css']=h['template'][q(0xdd)]===q(0xed)?!![]:![],this[q(0xc7)]['setTemplate'](q(0xdd),h[q(0xcc)][q(0xdd)]));h[q(0xd1)]['graphql']===q(0xde)&&!this[q(0xc7)][q(0xe6)]('@apollo/client')&&(Log[q(0xca)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[q(0xc7)]['installNpmPackage'](q(0xe9),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0xcd)]),'camelCaseName':camelCase(b[q(0xcd)]),'className':pascalCase(b[q(0xcd)]),'name':pascalCase(b[q(0xcd)]),'graphql':h[q(0xd1)][q(0xd3)],'theme':h['engines'][q(0xf3)],'features':h['features'],'myPath':a117e[q(0xf4)](this[q(0xc7)][q(0xdc)]({}),g),'fileName':paramCase(b[q(0xcd)]),'isComponent':![],'isLayout':![],'withTranslations':h['features'][q(0xce)]};await this['fsi'][q(0xcc)]({'srcPath':q(0xe0),'destPath':g+q(0xc6),'context':i,'config':h,'framework':q(0xe4),'force':b[q(0xf5)]});h[q(0xcc)][q(0xdd)]&&(await this[q(0xc7)][q(0xcc)]({'srcPath':q(0xd5),'destPath':g+q(0xf2),'context':Object['assign']({},i,{'className':i[q(0xd8)]}),'config':h,'force':b[q(0xf5)]}),await this[q(0xc7)][q(0xf1)]({'filePath':g+'.'+h[q(0xd1)]['js'],'content':q(0xd6)+i['fileName']+'.'+h[q(0xd1)][q(0xdd)]+'\x27;'}));h['engines'][q(0xd7)]!=='none'&&await this[q(0xc7)]['template']({'srcPath':q(0xd4),'destPath':g+q(0xd0),'framework':q(0xe4),'context':i,'config':h,'force':b[q(0xf5)]});const j=b[q(0xee)]?'/'+b[q(0xee)]+'/':'/',k=''+f+j+i[q(0xef)]+'/'+i['fileName'];await this[q(0xc7)][q(0xda)](i[q(0xc2)],h,k);});}catch(i){Log[p(0xe7)](i);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x1dc))/0x1*(-parseInt(f(0x1dd))/0x2)+parseInt(f(0x1db))/0x3+parseInt(f(0x1d4))/0x4*(parseInt(f(0x1d5))/0x5)+-parseInt(f(0x1df))/0x6+-parseInt(f(0x1d6))/0x7*(parseInt(f(0x1e0))/0x8)+-parseInt(f(0x1da))/0x9+parseInt(f(0x1d7))/0xa*(parseInt(f(0x1d3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x34806));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1d3;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(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1e1)]()[h(0x1d8)](h(0x1d9))[h(0x1e1)]()['constructor'](a118a)[h(0x1d8)](h(0x1d9));});a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118c(){var i=['toString','363kIzIXL','4TyWHSi','1369835Bbchoo','406DmCVEt','36200CpkEAc','search','(((.+)+)+)+$','1737198DzICMF','515013ljvPGI','8ddjGxv','38810nEkxXg','apply','75504reIgJa','41336BZGKvu'];a118c=function(){return i;};return a118c();}import'./auth/_index.js';
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1e6))/0x1+parseInt(f(0x1ed))/0x2+parseInt(f(0x1ea))/0x3*(-parseInt(f(0x1e5))/0x4)+-parseInt(f(0x1e3))/0x5*(parseInt(f(0x1ef))/0x6)+parseInt(f(0x1e1))/0x7+-parseInt(f(0x1e7))/0x8+-parseInt(f(0x1eb))/0x9*(parseInt(f(0x1ec))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x82648));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1e9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1e4)]()[h(0x1e8)](h(0x1e2))[h(0x1e4)]()[h(0x1ee)](a118a)[h(0x1e8)](h(0x1e2));});function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1e1;var f=c[d];return f;},a118d(a,b);}a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118c(){var i=['189shhBUn','70430ZvFPAu','1543432WLQHeF','constructor','258CrqRQD','6131818sSvayK','(((.+)+)+)+$','60910IKQKxA','toString','2442772TZkMqu','756991iyfwbC','4705368QbJIXu','search','apply','3TwTkRj'];a118c=function(){return i;};return a118c();}import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x139))/0x1*(-parseInt(f(0x13a))/0x2)+-parseInt(f(0x13b))/0x3+parseInt(f(0x131))/0x4+parseInt(f(0x134))/0x5+-parseInt(f(0x136))/0x6*(parseInt(f(0x132))/0x7)+parseInt(f(0x12d))/0x8*(-parseInt(f(0x133))/0x9)+parseInt(f(0x12e))/0xa*(-parseInt(f(0x130))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd2de8));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a['toString']()[h(0x12c)](h(0x12f))[h(0x135)]()[h(0x137)](a119a)['search'](h(0x12f));});a119a();function a119c(){var i=['859552iIIfcz','1999101xltRcH','search','9432wnybVw','4197800jLTTpV','(((.+)+)+)+$','11TnvSVv','6665464wVRxzJ','37681uLypiR','7155yqdBEL','2218635JycHhz','toString','1050CLFYel','constructor','apply','4tTTFeC'];a119c=function(){return i;};return a119c();}function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x12c;var f=c[d];return f;},a119d(a,b);}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x1d1))/0x1*(parseInt(f(0x1d3))/0x2)+-parseInt(f(0x1d4))/0x3+-parseInt(f(0x1cd))/0x4*(-parseInt(f(0x1cb))/0x5)+-parseInt(f(0x1cc))/0x6*(-parseInt(f(0x1c4))/0x7)+-parseInt(f(0x1d2))/0x8*(parseInt(f(0x1ca))/0x9)+parseInt(f(0x1cf))/0xa*(parseInt(f(0x1d0))/0xb)+parseInt(f(0x1c6))/0xc*(parseInt(f(0x1c8))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xdbb33));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x1d5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x1ce)]()[h(0x1c5)](h(0x1c9))[h(0x1ce)]()[h(0x1c7)](a119a)[h(0x1c5)]('(((.+)+)+)+$');});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a119d(a,b);}function a119c(){var i=['98417awNFSP','739913yuEpAC','2645488gluZlC','2gpsIrT','3965565ZBocOI','apply','14qmtWXs','search','12KCMbKp','constructor','780156aKZJGM','(((.+)+)+)+$','9uNSdKQ','712235TgtrHy','3876732unwZIq','8xcfGdE','toString','1850LRxdcL'];a119c=function(){return i;};return a119c();}
@@ -1 +1 @@
1
- const a120h=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a120d(a,b);}(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x1b3))/0x1+parseInt(f(0x1a9))/0x2*(-parseInt(f(0x1ab))/0x3)+parseInt(f(0x1b4))/0x4*(-parseInt(f(0x1a7))/0x5)+-parseInt(f(0x1b2))/0x6+-parseInt(f(0x1b7))/0x7+parseInt(f(0x1b5))/0x8*(parseInt(f(0x1af))/0x9)+-parseInt(f(0x1ac))/0xa*(-parseInt(f(0x1ad))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x83b7e));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const g=a120d;return a120a[g(0x1b0)]()[g(0x1b6)](g(0x1a8))[g(0x1b0)]()[g(0x1b1)](a120a)[g(0x1b6)](g(0x1a8));});a120a();import{Generator}from'../../../generator.js';function a120c(){const j=['132SPzoRI','NIE','66663PlCnPt','toString','constructor','2788434KNctRH','968198NbdOde','1183312RuIdCr','16DTkVtO','search','6524623qBofSV','maka\x20g:kit:a','15lXHmaQ','(((.+)+)+)+$','22udcHxu','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','163686DXHeek','3647830ZKqQdk'];a120c=function(){return j;};return a120c();}import a120e from'../kit.js';const AuthGen=Generator['create']({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','validOpts':[''],'isPro':!![],'examples':[a120h(0x1a6)],'description':a120h(0x1aa)},async function(){const i=a120h;throw i(0x1ae);},async function(){},a120e);export default AuthGen;
1
+ function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x18c;let f=c[d];return f;},a120d(a,b);}const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0x196))/0x1*(-parseInt(f(0x193))/0x2)+-parseInt(f(0x197))/0x3+-parseInt(f(0x19d))/0x4+-parseInt(f(0x191))/0x5+parseInt(f(0x194))/0x6+-parseInt(f(0x198))/0x7+parseInt(f(0x19b))/0x8*(parseInt(f(0x19e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x75763));function a120c(){const j=['\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','auth','27824312AutjVP','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','2814000qAKSca','9Oryaaz','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','create','(((.+)+)+)+$','NIE','constructor','3129035kUScOT','search','772VrWqEc','455298nKgHYc','maka\x20g:kit:a','653peDjWn','1617168GbNXTE','6666646inufsv'];a120c=function(){return j;};return a120c();}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const g=a120d;return a120a['toString']()[g(0x192)]('(((.+)+)+)+$')['toString']()[g(0x190)](a120a)[g(0x192)](g(0x18e));});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120h(0x18d)]({'name':a120h(0x19a),'aliases':['a'],'usage':a120h(0x18c),'noNeedResource':!![],'shortDesc':a120h(0x19c),'validOpts':[''],'isPro':!![],'examples':[a120h(0x195)],'description':a120h(0x199)},async function(){const i=a120h;throw i(0x18f);},async function(){},a120e);export default AuthGen;
@@ -1 +1 @@
1
- const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x14b))/0x1*(-parseInt(o(0x14c))/0x2)+parseInt(o(0x12d))/0x3*(-parseInt(o(0x147))/0x4)+-parseInt(o(0x136))/0x5*(parseInt(o(0x13f))/0x6)+parseInt(o(0x14e))/0x7*(-parseInt(o(0x14a))/0x8)+-parseInt(o(0x13c))/0x9*(parseInt(o(0x13b))/0xa)+-parseInt(o(0x149))/0xb+parseInt(o(0x14f))/0xc*(parseInt(o(0x123))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x20b2d));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x164)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a['toString']()[q(0x152)](q(0x12c))[q(0x133)]()['constructor'](a121a)['search'](q(0x12c));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a121c(){const u=['REACT','create','1071186XwdMBA','processAndRunGenerator','kit:auth:provider','const\x20authenticateUser','/imports/startup/client/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','meteor/maka:react-tracker','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','12uhXVBO','AuthService','742577kvvWJW','152rVMPCO','1181EfGlls','260ydAhwH','\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','95641XOTxkN','471948gsYYwu','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','/imports/startup/client','search','\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','alanning:roles','pathFromApp','const\x20deauthenticateUser','return\x20\x5c(','meteor/accounts-base','publish','findProjectDirectory','error','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','template','/imports/startup/lib/authentication-service','const\x20resetPasswordWithToken','injectImport','true','react','getMakaProjectConfig','apply','fsi','injectIntoCodeBlock','meteor/meteor','authentication-service','234gikkvX','useTracker','const\x20registerNewUser','\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','Accounts','index','engines','ssr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','(((.+)+)+)+$','196617NRLbDN','\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','.js','/imports/startup/lib','auth/roles','Meteor.publish','toString','export\x20const\x20AuthProvider','injectIntoFile','5pZdgjv','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','const\x20authenticateToken','force','imports','252670IMfvnd','9DkaCJo'];a121c=function(){return u;};return a121c();}import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x120;let f=c[d];return f;},a121d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x13e)]({'name':'meteor','aliases':['m'],'usage':a121r(0x137),'shortDesc':a121r(0x150),'validOpts':[a121r(0x139)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x13d)]},'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=a121r;try{const c=b[s(0x139)]||![];await this[s(0x165)]['checkMeteorPackage'](['accounts-password',s(0x154)],{'shouldInstall':!![]});const d=this[s(0x165)][s(0x15a)](),f=this[s(0x165)][s(0x163)](),g=f['engines'][s(0x12a)]===s(0x161);await a121f['processAndRunGenerator'](s(0x141),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x140)](s(0x159),[s(0x131)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x130):s(0x151),j=this[s(0x165)]['pathFromApp']({'pathParts':[i,'','',s(0x122)]});await this[s(0x165)]['withValue'](f,async()=>{const t=s;await this[t(0x165)][t(0x15d)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0x12f),'framework':t(0x162),'context':{},'config':f,'force':c,'ignore':![]});});const k=this['fsi'][s(0x155)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x129)]['js'];await this[s(0x165)][s(0x160)]({'filePath':k+'.'+l,'importName':s(0x148),'modulePath':g?s(0x15e):s(0x143),'isNamedExport':![]}),await this['fsi'][s(0x120)]({'filePath':k+'.'+l,'content':s(0x144),'begin':s(0x142),'replace':!![]}),await this[s(0x165)][s(0x120)]({'filePath':k+'.'+l,'content':s(0x12e),'begin':s(0x138),'replace':!![]}),await this['fsi'][s(0x120)]({'filePath':k+'.'+l,'content':s(0x153),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x165)][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':s(0x156),'replace':!![]}),await this[s(0x165)][s(0x120)]({'filePath':k+'.'+l,'content':s(0x12b),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await this[s(0x165)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x146),'begin':s(0x125),'replace':!![]}),await this[s(0x165)][s(0x120)]({'filePath':k+'.'+l,'content':s(0x15c),'begin':s(0x15f),'replace':!![]});g&&(await this[s(0x165)][s(0x160)]({'filePath':k+'.'+l,'importName':s(0x124),'modulePath':s(0x145),'isNamedExport':!![]}),await this[s(0x165)][s(0x135)]({'filePath':k+'.'+l,'content':s(0x126),'begin':s(0x134),'end':s(0x157)}));await this['fsi'][s(0x160)]({'filePath':h,'importName':'Meteor','modulePath':s(0x121),'isNamedExport':!![],'injectAtStart':!![]}),await this[s(0x165)][s(0x120)]({'filePath':h,'content':'\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','begin':s(0x132),'replace':!![]});const m=this[s(0x165)]['pathFromApp']({'pathParts':[s(0x13a),'startup','server',s(0x128)]});await this['fsi'][s(0x160)]({'filePath':m+'.'+l,'importName':s(0x127),'modulePath':s(0x158),'isNamedExport':!![]}),await this['fsi'][s(0x120)]({'filePath':m+'.'+l,'content':s(0x14d),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[s(0x15b)](n),process['exit'](0x1);}},async function(){},a121e);
1
+ const a121r=a121d;function a121c(){const u=['AuthService','143094epSIZE','1078740LPsdBi','const\x20getUserAuthorizations','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','injectIntoCodeBlock','/imports/startup/client','auth/roles','meteor/accounts-base','alanning:roles','authentication-service','1649440NzmVOE','findProjectDirectory','processAndRunGenerator','3983817vBZwnB','toString','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','42oMujRV','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','14fBusIL','meteor/maka:react-tracker','const\x20authenticateUser','const\x20resetPasswordWithToken','force','imports','meteor','Meteor','fsi','react','\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','4859667qXWYlm','pathFromApp','155292nDqKqd','true','withValue','accounts-password','startup','template','/imports/startup/client/authentication-service','constructor','const\x20deauthenticateUser','injectImport','4zxZiBU','2810585ANpfrq','apply','engines','/imports/startup/lib','search','REACT','authentication-provider','8qnSebK','/imports/startup/lib/authentication-service','Meteor.startup','publish','(((.+)+)+)+$','\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','checkMeteorPackage','const\x20sendForgotPasswordEmail','create','index','error','getMakaProjectConfig','1837hnJVaC','.js'];a121c=function(){return u;};return a121c();}(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x98))/0x1*(-parseInt(o(0xac))/0x2)+parseInt(o(0xa6))/0x3*(-parseInt(o(0xc3))/0x4)+-parseInt(o(0xc4))/0x5+parseInt(o(0x99))/0x6*(parseInt(o(0xa9))/0x7)+-parseInt(o(0xcb))/0x8*(-parseInt(o(0xb7))/0x9)+-parseInt(o(0xa3))/0xa+parseInt(o(0xd7))/0xb*(parseInt(o(0xb9))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xb08f8));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0xc5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0xa7)]()[q(0xc8)](q(0xcf))[q(0xa7)]()[q(0xc0)](a121a)['search'](q(0xcf));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x98;let f=c[d];return f;},a121d(a,b);}import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0xd3)]({'name':a121r(0xb2),'aliases':['m'],'usage':a121r(0x9b),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a121r(0xb0)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0xc9)]},'description':a121r(0xb6)},async function(a,b){const s=a121r;try{const c=b['force']||![];await this[s(0xb4)][s(0xd1)]([s(0xbc),s(0xa1)],{'shouldInstall':!![]});const d=this[s(0xb4)][s(0xa4)](),f=this[s(0xb4)][s(0xd6)](),g=f[s(0xc6)]['ssr']===s(0xba);await a121f[s(0xa5)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0xa5)](s(0xce),[s(0x9f)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0xc7):s(0x9e),j=this[s(0xb4)]['pathFromApp']({'pathParts':[i,'','',s(0xa2)]});await this[s(0xb4)][s(0xbb)](f,async()=>{const t=s;await this[t(0xb4)][t(0xbe)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+t(0xd8),'framework':t(0xb5),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0xb4)][s(0xb8)]({'pathParts':[i,'','',s(0xca)]}),l=f[s(0xc6)]['js'];await this[s(0xb4)][s(0xc2)]({'filePath':k+'.'+l,'importName':s(0xd9),'modulePath':g?s(0xcc):s(0xbf),'isNamedExport':![]}),await this[s(0xb4)][s(0x9d)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xae),'replace':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':k+'.'+l,'content':'\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','begin':'const\x20authenticateToken','replace':!![]}),await this[s(0xb4)][s(0x9d)]({'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(0x9a),'replace':!![]}),await this[s(0xb4)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x9c),'begin':s(0xc1),'replace':!![]}),await this['fsi'][s(0x9d)]({'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(0xd2),'replace':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':k+'.'+l,'content':s(0xa8),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':k+'.'+l,'content':s(0xaa),'begin':s(0xaf),'replace':!![]});g&&(await this[s(0xb4)][s(0xc2)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0xad),'isNamedExport':!![]}),await this[s(0xb4)]['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':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this[s(0xb4)][s(0xc2)]({'filePath':h,'importName':s(0xb3),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':h,'content':s(0xd0),'begin':'Meteor.publish','replace':!![]});const m=this[s(0xb4)][s(0xb8)]({'pathParts':[s(0xb1),s(0xbd),'server',s(0xd4)]});await this[s(0xb4)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0xa0),'isNamedExport':!![]}),await this[s(0xb4)][s(0x9d)]({'filePath':m+'.'+l,'content':s(0xab),'begin':s(0xcd),'replace':!![]});}catch(n){Log[s(0xd5)](n),process['exit'](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0x1e5))/0x1+parseInt(u(0x1ec))/0x2*(-parseInt(u(0x1f1))/0x3)+-parseInt(u(0x216))/0x4+parseInt(u(0x1fd))/0x5+-parseInt(u(0x203))/0x6*(parseInt(u(0x215))/0x7)+-parseInt(u(0x201))/0x8*(-parseInt(u(0x1fc))/0x9)+parseInt(u(0x1f8))/0xa*(parseInt(u(0x1eb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xeb2f6));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x20c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x1fb)]()[w(0x1ff)]('(((.+)+)+)+$')[w(0x1fb)]()[w(0x1ea)](a122a)[w(0x1ff)]('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';function a122c(){const A=['</AuthProvider>','/imports/startup/client/index','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','ssr','function\x20Routes','/imports/startup/server/index','189610dsNAOy','injectIntoCodeBlock','<AuthProvider>','toString','419112qlCyIT','6169670YNRrqH','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','search','<Routes\x20history={browserHistory}/>','168VQUHYG','/routes','1583286tTvVGc','<Routes\x20history={history}/>','/imports/startup/lib/authentication-provider','getMakaProjectConfig','bright','withValue','fsi','pathFromApp','\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','injectImport','REACT','split','engines','replaceAll','force','/imports/startup/client/authentication-provider','AuthProvider','7qsJbja','4083756IwKZWM','authentication-provider','provider','1082614jembId','error','useContext','kit/auth/provider/authentication-provider.js','react','constructor','77VgcTjS','2AVxLwE','/imports/startup/lib','injectAroundString','true','exit','3537195SSMTkO'];a122c=function(){return A;};return a122c();}import{headerCase}from'change-case';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a122d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a122x(0x218),'aliases':['p'],'usage':a122x(0x1f4),'shortDesc':a122x(0x1fe),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x20e)]},'description':a122x(0x20b)},async function(a,b){const y=a122x;try{const c=b[y(0x212)]||![];Log[y(0x207)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[y(0x209)][y(0x206)](),f=d[y(0x210)][y(0x1f5)]===y(0x1ef),g={'name':headerCase(d['appName'])[y(0x211)]('-','\x20')},h=f?y(0x1ed):'/imports/startup/client',i=this[y(0x209)][y(0x20a)]({'pathParts':[h,'','',y(0x217)]});await this[y(0x209)][y(0x208)](d,async()=>{const z=y;await this[z(0x209)]['template']({'srcPath':z(0x1e8),'destPath':i+'.js','framework':z(0x1e9),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x210)]['js'],k=h+y(0x202),l=k[y(0x20f)]('/'),m=this[y(0x209)]['pathFromApp']({'pathParts':l});await this[y(0x209)][y(0x20d)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x213),'isNamedExport':!![]}),await this['fsi'][y(0x20d)]({'filePath':m+'.'+j,'importName':y(0x1e7),'modulePath':y(0x1e9),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x209)][y(0x1f9)]({'filePath':m+'.'+j,'content':'\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','begin':['const\x20Routes',y(0x1f6)],'replace':!![]});const n=y(0x1f3),o=n[y(0x20f)]('/'),p=this[y(0x209)][y(0x20a)]({'pathParts':o});await this['fsi']['injectImport']({'filePath':p+'.'+j,'importName':y(0x214),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x213),'isNamedExport':!![]}),await this[y(0x209)][y(0x1ee)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1f2),'targetString':y(0x200),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1f7),r=q['split']('/'),s=this[y(0x209)][y(0x20a)]({'pathParts':r});await this['fsi'][y(0x20d)]({'filePath':s+'.'+j,'importName':y(0x214),'modulePath':f?y(0x205):y(0x213),'isNamedExport':!![]}),await this[y(0x209)][y(0x1ee)]({'filePath':s+'.'+j,'aboveContent':y(0x1fa),'belowContent':y(0x1f2),'targetString':y(0x204),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1e6)](t),process[y(0x1f0)](0x1);}},async function(){},a122e);
1
+ function a122c(){const A=['pathFromApp','split','force','template','authentication-provider','withValue','react','replaceAll','\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','</AuthProvider>','getMakaProjectConfig','14526bfkLcf','39327882rMIbKf','72166sYfCwG','14KHFYlP','injectIntoCodeBlock','11yVTrEw','function\x20Routes','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','/imports/startup/client/authentication-provider','/imports/startup/server/index','injectImport','.js','/imports/startup/lib/authentication-provider','kit/auth/provider/authentication-provider.js','constructor','12ySNxYd','AuthContext','2052132XHkamT','engines','(((.+)+)+)+$','toString','111369YaUMjo','AuthProvider','error','ssr','appName','useContext','1000850BdEEoZ','provider','<Routes\x20history={history}/>','/routes','<AuthProvider>','7609105HSTPHN','\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','7624HbRgvS','/imports/startup/lib','<Routes\x20history={browserHistory}/>','/imports/startup/client','search','apply','injectAroundString','fsi'];a122c=function(){return A;};return a122c();}const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0xf7))/0x1*(-parseInt(u(0xf4))/0x2)+-parseInt(u(0x107))/0x3*(parseInt(u(0x101))/0x4)+-parseInt(u(0x112))/0x5+parseInt(u(0x103))/0x6*(parseInt(u(0xf5))/0x7)+parseInt(u(0x114))/0x8*(-parseInt(u(0xf2))/0x9)+parseInt(u(0x10d))/0xa+parseInt(u(0xf3))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xc126a));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x119)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a['toString']()['search'](w(0x105))[w(0x106)]()[w(0x100)](a122a)[w(0x118)](w(0x105));});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xed;let f=c[d];return f;},a122d(a,b);}Generator['create']({'name':a122x(0x10e),'aliases':['p'],'usage':a122x(0xf9),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a122x(0x11e)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a122x(0xef)},async function(a,b){const y=a122x;try{const c=b[y(0x11e)]||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[y(0x11b)][y(0xf1)](),f=d['engines'][y(0x10a)]==='true',g={'name':headerCase(d[y(0x10b)])[y(0xee)]('-','\x20')},h=f?y(0x115):y(0x117),i=this[y(0x11b)][y(0x11c)]({'pathParts':[h,'','',y(0x120)]});await this[y(0x11b)][y(0x121)](d,async()=>{const z=y;await this['fsi'][z(0x11f)]({'srcPath':z(0xff),'destPath':i+z(0xfd),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x104)]['js'],k=h+y(0x110),l=k[y(0x11d)]('/'),m=this[y(0x11b)][y(0x11c)]({'pathParts':l});await this[y(0x11b)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x102),'modulePath':f?y(0xfe):y(0xfa),'isNamedExport':!![]}),await this[y(0x11b)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x10c),'modulePath':y(0xed),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x11b)][y(0xf6)]({'filePath':m+'.'+j,'content':y(0x113),'begin':['const\x20Routes',y(0xf8)],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x11d)]('/'),p=this[y(0x11b)][y(0x11c)]({'pathParts':o});await this[y(0x11b)][y(0xfc)]({'filePath':p+'.'+j,'importName':y(0x108),'modulePath':f?y(0xfe):y(0xfa),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x111),'belowContent':y(0xf0),'targetString':y(0x116),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xfb),r=q['split']('/'),s=this[y(0x11b)][y(0x11c)]({'pathParts':r});await this[y(0x11b)][y(0xfc)]({'filePath':s+'.'+j,'importName':y(0x108),'modulePath':f?y(0xfe):y(0xfa),'isNamedExport':!![]}),await this['fsi'][y(0x11a)]({'filePath':s+'.'+j,'aboveContent':y(0x111),'belowContent':y(0xf0),'targetString':y(0x10f),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x109)](t),process['exit'](0x1);}},async function(){},a122e);
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x129))/0x1*(parseInt(f(0x121))/0x2)+-parseInt(f(0x12a))/0x3*(-parseInt(f(0x127))/0x4)+parseInt(f(0x11f))/0x5+-parseInt(f(0x11e))/0x6*(parseInt(f(0x123))/0x7)+parseInt(f(0x122))/0x8*(-parseInt(f(0x124))/0x9)+-parseInt(f(0x12b))/0xa*(parseInt(f(0x128))/0xb)+parseInt(f(0x11c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xd0d1f));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x125)]()[h(0x11b)](h(0x126))[h(0x125)]()[h(0x11d)](a123a)[h(0x11b)]('(((.+)+)+)+$');});a123a();function a123c(){var i=['880896RorojH','13640HVzyHl','109011WFfOzA','7191ZyvfJF','toString','(((.+)+)+)+$','1268uxMzgo','3704327VyYhpA','3Xivhnl','5274eXJloU','40nbVYMr','search','66306396IEcDrA','constructor','504BswAZg','556535BOLSkA','apply'];a123c=function(){return i;};return a123c();}import'./esri.generator.js';function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x11b;var f=c[d];return f;},a123d(a,b);}import'./map.esri.gen.js';
1
+ (function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0xb4))/0x1+parseInt(f(0xba))/0x2+parseInt(f(0xb8))/0x3+parseInt(f(0xbd))/0x4+parseInt(f(0xb6))/0x5*(parseInt(f(0xb5))/0x6)+parseInt(f(0xb7))/0x7*(-parseInt(f(0xbc))/0x8)+-parseInt(f(0xc1))/0x9*(-parseInt(f(0xb3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x954e8));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0xb9)]()[h(0xbf)](h(0xc0))['toString']()[h(0xbb)](a123a)[h(0xbf)](h(0xc0));});function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xb3;var f=c[d];return f;},a123d(a,b);}a123a();import'./esri.generator.js';function a123c(){var i=['toString','664886zitcbn','constructor','16PRmRia','3746812tbxLFo','apply','search','(((.+)+)+)+$','9279JxmxEX','8390ihAaQO','1050094PndnCQ','1506uRpiEN','3410ducXhG','3117135qUslYQ','740781hRpptq'];a123c=function(){return i;};return a123c();}import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a124i=a124d;function a124c(){const k=['apply','11cldsnl','create','esri','2005MuMkWg','40272rguXHU','toString','588495fbmQVJ','(((.+)+)+)+$','2335541OSDqJN','1086dNfOTq','104080tBFbms','/foo/bar','511WBTWnD','search','constructor','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','28BgNURk','126XBNkFe','\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','4aWXZDQ','7576RirAay','9011pztdqI'];a124c=function(){return k;};return a124c();}(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x1a6))/0x1*(parseInt(f(0x1b8))/0x2)+parseInt(f(0x1ae))/0x3*(-parseInt(f(0x1a4))/0x4)+-parseInt(f(0x1ab))/0x5*(parseInt(f(0x1b1))/0x6)+parseInt(f(0x1b4))/0x7*(-parseInt(f(0x1a5))/0x8)+-parseInt(f(0x1b9))/0x9*(-parseInt(f(0x1b2))/0xa)+-parseInt(f(0x1a8))/0xb*(-parseInt(f(0x1ac))/0xc)+parseInt(f(0x1b0))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x1c90a));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x1a7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()[h(0x1b5)](h(0x1af))[h(0x1ad)]()[h(0x1b6)](a124a)[h(0x1b5)]('(((.+)+)+)+$');});a124a();function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a124d(a,b);}import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x1a9)]({'name':a124i(0x1aa),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a124i(0x1b7),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a124i(0x1a3)},async function(){const j=a124i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x1b3)],'filesUpdated':['/foo']}};},async function(){},a124e);export default EsriGen;
1
+ function a124c(){const k=['(((.+)+)+)+$','4629zTMLjc','2582598YzGXFH','1266145dAnPdU','Esri\x20Kit\x20generated\x20successfully','4819549vOrthy','search','apply','maka\x20g:kit:e','646582SRvpZA','esri','4364712fQnwQn','\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','32192544FUgOuA','create','1006tbmXyU','/foo/bar','toString','Starting\x20point\x20for\x20generating\x20Esri\x20Maps'];a124c=function(){return k;};return a124c();}const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x19d))/0x1+parseInt(f(0x190))/0x2*(-parseInt(f(0x195))/0x3)+-parseInt(f(0x19f))/0x4+parseInt(f(0x197))/0x5+-parseInt(f(0x196))/0x6+-parseInt(f(0x199))/0x7+parseInt(f(0x18e))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x9d574));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x19b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x192)]()[h(0x19a)]('(((.+)+)+)+$')['toString']()['constructor'](a124a)[h(0x19a)](h(0x194));});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x18d;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x18f)]({'name':a124i(0x19e),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a124i(0x193),'validOpts':[''],'isPro':!![],'examples':[a124i(0x19c)],'description':a124i(0x18d)},async function(){const j=a124i;return{'success':!![],'message':j(0x198),'details':{'filesCreated':[j(0x191)],'filesUpdated':['/foo']}};},async function(){},a124e);export default EsriGen;
@@ -1 +1 @@
1
- const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0xf7))/0x1+-parseInt(p(0x100))/0x2+parseInt(p(0xeb))/0x3*(parseInt(p(0xd7))/0x4)+-parseInt(p(0xea))/0x5+-parseInt(p(0xd6))/0x6*(-parseInt(p(0xf8))/0x7)+parseInt(p(0xfa))/0x8+parseInt(p(0xd3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x37327));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0xfe)]()[r(0xe5)](r(0xd4))[r(0xfe)]()['constructor'](a125a)['search'](r(0xd4));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a125c(){const v=['356hBXVjQ','withValue','/imports/startup/client/templates','getMakaProjectConfig','pathFromApp','checkNpmPackage','<div\x20id=\x22map\x22>','appName','fsi','injectTemplateModule','page','baseDir','basic-map','Generating\x20a\x20map\x20component','search','FALSE','true','.js','@esri/react-arcgis','638600WDJRHA','5043DTmSTN','kit/esri/map/','engines','esri-loader','</div>','/imports/startup/lib/templates','REACT','error','ssr','injectImport','map','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','197590oRGNMG','371jutnzZ','dir','2990928OUSBZH','processAndRunGenerator','replaceAll','bright','toString','injectIntoFile','278608SsGwue','apply','split','/imports/ui/','900198GJlsMu','(((.+)+)+)+$','findProjectDirectory','7608XTXley'];a125c=function(){return v;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xd2;let f=c[d];return f;},a125d(a,b);}import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'map','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0xf1)],'ssr':SsrEngines[a125s(0xe6)]},'description':a125s(0xf6)},async function(a,b){const t=a125s;try{Log[t(0xfd)](t(0xe4));const c=t(0xe3);await this[t(0xdf)][t(0xdc)]([t(0xe9),t(0xee)],{'shouldInstall':!![]});const d=this['fsi'][t(0xd5)](),f=this['fsi'][t(0xda)](),g=f[t(0xed)][t(0xf3)]===t(0xe7),h=await a125f[t(0xfb)](t(0xe1),[t(0xf5)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0xde)])[t(0xfc)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0xe2)]?t(0xd2)+b[t(0xe2)]:'/imports/ui/hooks',k=this[t(0xdf)][t(0xdb)]({'pathParts':[j,b[t(0xf9)],paramCase(c),paramCase(c)]});await this[t(0xdf)][t(0xd8)](f,async()=>{const u=t;await this[u(0xdf)]['template']({'srcPath':u(0xec)+c+u(0xe8),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0xdf)][t(0xe0)](c,f,l);const m=h[t(0x102)]('/'),n=this[t(0xdf)][t(0xdb)]({'pathParts':m});await this['fsi'][t(0xf4)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0xf0):t(0xd9),'isNamedExport':!![]}),await this[t(0xdf)][t(0xff)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0xdd),t(0xdd)],'end':[t(0xef)],'replace':!![]});}catch(o){Log[t(0xf2)](o),process['exit'](0x1);}},async function(){},a125e);
1
+ const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x19e))/0x1+-parseInt(p(0x1c1))/0x2*(parseInt(p(0x1ac))/0x3)+-parseInt(p(0x198))/0x4*(-parseInt(p(0x1a3))/0x5)+-parseInt(p(0x1b3))/0x6*(parseInt(p(0x1b0))/0x7)+parseInt(p(0x1b7))/0x8+parseInt(p(0x1c0))/0x9*(-parseInt(p(0x1c2))/0xa)+parseInt(p(0x1b1))/0xb*(parseInt(p(0x1bb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x8d37a));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x1c5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x1a8)]()[r(0x1b5)](r(0x1c8))[r(0x1a8)]()[r(0x1b6)](a125a)['search'](r(0x1c8));});a125a();import{Generator}from'../../../generator.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x196;let f=c[d];return f;},a125d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a125s(0x1ba),'aliases':['m'],'usage':a125s(0x1a9),'shortDesc':a125s(0x19f),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a125s(0x19b)]},'description':a125s(0x1a0)},async function(a,b){const t=a125s;try{Log[t(0x197)]('Generating\x20a\x20map\x20component');const c='basic-map';await this[t(0x1b8)][t(0x1a5)]([t(0x1c7),t(0x1bc)],{'shouldInstall':!![]});const d=this[t(0x1b8)][t(0x1a1)](),f=this[t(0x1b8)][t(0x1c6)](),g=f[t(0x1b9)][t(0x1ae)]==='true',h=await a125f[t(0x1a2)]('page',[t(0x1ba)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x1c3)])[t(0x19c)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1af)]?'/imports/ui/'+b[t(0x1af)]:t(0x1aa),k=this[t(0x1b8)][t(0x1bf)]({'pathParts':[j,b[t(0x1b4)],paramCase(c),paramCase(c)]});await this[t(0x1b8)][t(0x1a7)](f,async()=>{const u=t;await this[u(0x1b8)][u(0x19a)]({'srcPath':u(0x199)+c+u(0x1a4),'destPath':k+u(0x1a4),'framework':u(0x19d),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x1b4)]+'/'+c+'/'+c;await this[t(0x1b8)][t(0x196)](c,f,l);const m=h['split']('/'),n=this[t(0x1b8)][t(0x1bf)]({'pathParts':m});await this[t(0x1b8)][t(0x1bd)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1ad):t(0x1b2),'isNamedExport':!![]}),await this[t(0x1b8)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x1ab),t(0x1ab)],'end':[t(0x1be)],'replace':!![]});}catch(o){Log[t(0x1c4)](o),process[t(0x1a6)](0x1);}},async function(){},a125e);function a125c(){const v=['injectTemplateModule','bright','4MVfbuz','kit/esri/map/','template','FALSE','replaceAll','react','832690BdZKni','Generate\x20an\x20Esri\x20map\x20component','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','findProjectDirectory','processAndRunGenerator','2689255OWncBu','.js','checkNpmPackage','exit','withValue','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','/imports/ui/hooks','<div\x20id=\x22map\x22>','309747swuAzC','/imports/startup/lib/templates','ssr','baseDir','14xrMODt','356499IwOeMu','/imports/startup/client/templates','1027602tXXVya','dir','search','constructor','3678504wqGnnJ','fsi','engines','map','132XrARcv','esri-loader','injectImport','</div>','pathFromApp','3834STockF','14VPbBav','12750tTqOOX','appName','error','apply','getMakaProjectConfig','@esri/react-arcgis','(((.+)+)+)+$'];a125c=function(){return v;};return a125c();}
@@ -1 +1 @@
1
- const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x104))/0x1+-parseInt(f(0x106))/0x2*(parseInt(f(0x102))/0x3)+-parseInt(f(0x107))/0x4+parseInt(f(0x105))/0x5*(-parseInt(f(0xfd))/0x6)+parseInt(f(0xff))/0x7+parseInt(f(0xfe))/0x8+parseInt(f(0x101))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xb669f));function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xfb;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0xfb)]()[h(0x10a)]('(((.+)+)+)+$')[h(0xfb)]()[h(0x109)](a126a)[h(0x10a)]('(((.+)+)+)+$');});a126a();import{Generator}from'../../generator.js';function a126c(){const j=['constructor','search','toString','apply','24apkgyO','223144CGRhhz','1291059LgvDFP','kit','19925784kGlhZP','3TlQNUZ','maka\x20g:k','529629prdNhU','990910gDrzWe','701534AKbgCj','4261092shsauQ','maka\x20{generate,\x20g}:{kit}\x20<name>'];a126c=function(){return j;};return a126c();}const KitGen=Generator['create']({'name':a126i(0x100),'aliases':['k'],'usage':a126i(0x108),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a126i(0x103)]},async function(){});export default KitGen;
1
+ const a126i=a126d;function a126c(){const j=['create','2NJsuZU','8832jONjfb','8NLNUSt','maka\x20g:kit','70407FbUgrJ','12885EXiaeT','1113FmCTCr','10biBPKu','12boscOU','(((.+)+)+)+$','363750ixRKIP','apply','toString','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','kit','6837479FXXizG','search','598842RWpvXD','1066761oRKust'];a126c=function(){return j;};return a126c();}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x12a))/0x1*(parseInt(f(0x125))/0x2)+parseInt(f(0x129))/0x3*(-parseInt(f(0x127))/0x4)+-parseInt(f(0x11b))/0x5+-parseInt(f(0x122))/0x6+-parseInt(f(0x117))/0x7*(parseInt(f(0x126))/0x8)+-parseInt(f(0x123))/0x9*(parseInt(f(0x118))/0xa)+-parseInt(f(0x120))/0xb*(-parseInt(f(0x119))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x1d852));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x11c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x11d)]()['search'](h(0x11a))[h(0x11d)]()['constructor'](a126a)[h(0x121)](h(0x11a));});a126a();import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x117;let f=c[d];return f;},a126d(a,b);}const KitGen=Generator[a126i(0x124)]({'name':a126i(0x11f),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a126i(0x11e),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x128),'maka\x20g:k']},async function(){});export default KitGen;
@@ -1 +1 @@
1
- function a127c(){var i=['6525533bWXurq','11TCRemw','576801XGvDhS','toString','4dnWBqd','390UyXiHu','(((.+)+)+)+$','1464678JOvnXZ','5275GGATNw','search','17994516SsRbZY','11416060sICVNR','8MtlbpL','3275FWqKKz','6GRDSYR','apply'];a127c=function(){return i;};return a127c();}(function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x11a))/0x1*(-parseInt(f(0x127))/0x2)+-parseInt(f(0x124))/0x3*(-parseInt(f(0x126))/0x4)+-parseInt(f(0x11f))/0x5*(-parseInt(f(0x120))/0x6)+-parseInt(f(0x122))/0x7*(-parseInt(f(0x11e))/0x8)+parseInt(f(0x119))/0x9+-parseInt(f(0x11d))/0xa+-parseInt(f(0x123))/0xb*(-parseInt(f(0x11c))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x96aeb));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x121)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x125)]()[h(0x11b)](h(0x118))[h(0x125)]()['constructor'](a127a)[h(0x11b)](h(0x118));});function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x118;var f=c[d];return f;},a127d(a,b);}a127a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x1b4;var f=c[d];return f;},a127d(a,b);}(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x1b5))/0x1+-parseInt(f(0x1bc))/0x2+-parseInt(f(0x1c0))/0x3*(-parseInt(f(0x1b4))/0x4)+-parseInt(f(0x1ba))/0x5*(parseInt(f(0x1be))/0x6)+-parseInt(f(0x1b9))/0x7+-parseInt(f(0x1bf))/0x8*(parseInt(f(0x1c2))/0x9)+parseInt(f(0x1b6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x33eb3));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x1c1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x1bb)]()[h(0x1bd)](h(0x1b7))['toString']()[h(0x1b8)](a127a)[h(0x1bd)](h(0x1b7));});a127a();import'./mui.generator.js';function a127c(){var i=['6bSvnJQ','17744OodpGV','75693JonqhQ','apply','288hhnkMy','28qiGXVa','238124CncMKm','11352200tdpQfh','(((.+)+)+)+$','constructor','2680531sdLHAn','58135GaXyGd','toString','791036cubYkA','search'];a127c=function(){return i;};return a127c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a128I=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x20d))/0x1*(-parseInt(G(0x1fa))/0x2)+-parseInt(G(0x1fb))/0x3+-parseInt(G(0x1ff))/0x4+-parseInt(G(0x228))/0x5+parseInt(G(0x223))/0x6+parseInt(G(0x206))/0x7+parseInt(G(0x210))/0x8*(parseInt(G(0x22d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x2ae8c));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 H=a128d;return a128a[H(0x217)]()[H(0x22b)](H(0x22c))[H(0x217)]()[H(0x21b)](a128a)[H(0x22b)]('(((.+)+)+)+$');});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';function a128c(){const M=['92ZwRrNK','546225sIsGMm','kit:auth:meteor','basic-password-reset-page','withValue','1332540VLYyNi','register','basic-logout-page','maka\x20generate:kit:mui:frame','react','findProjectDirectory','processAndRunGenerator','2213841VRkUEG','maka\x20g:k:m:f','layouts','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','template','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-register-page','878NhZEdL','authType','fsi','323080VLQoRg','pathFromApp','auth','.js','/imports/ui/','logout','reset-password/:token','toString','AuthContext','/imports/startup/lib/authentication-provider','engines','constructor','route','split','kit/mui/auth/register/','injectImport','Cleaning\x20up...','true','options','132816RryxDL','list','error','login','baseDir','1064130FDmSgM','dir','MATERIAL','search','(((.+)+)+)+$','117dKWpiS','basic-forgot-password-page','meteor','force','basic-login-page','kit/mui/auth/forgot-password/','injectTemplateModule','/imports/ui/pages/auth','kit/mui/auth/password-reset/','/imports/startup/client/authentication-provider','appName','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','forgot-password','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','kit:auth:provider','REACT','Meteor\x20Accounts','custom'];a128c=function(){return M;};return a128c();}import{paramCase,headerCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1ec;let f=c[d];return f;},a128d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128I(0x212),'aliases':['a'],'usage':a128I(0x209),'shortDesc':a128I(0x20b),'validOpts':[a128I(0x208),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128I(0x22a)],'client':ClientEngines[a128I(0x1f7)]},'examples':[a128I(0x202),a128I(0x207)],'description':a128I(0x1f3)},async function(a,b){const J=a128I;try{const c=b[J(0x230)]||![],d=this[J(0x20f)][J(0x204)](),f=this['fsi']['getMakaProjectConfig'](),{authType:g}=await Actions[J(0x222)]({'type':J(0x224),'name':J(0x20e),'message':J(0x1f5),'choices':[{'name':J(0x1f8),'value':'meteor'},{'name':'Custom\x20(roll\x20your\x20own)','value':J(0x1f9)}]}),h='basic-login-page',i=J(0x201),j='basic-register-page',k='basic-password-reset-page',l=J(0x22e),m=b[J(0x227)]?J(0x214)+b[J(0x227)]:J(0x1ef),n=this[J(0x20f)][J(0x211)]({'pathParts':[m,b[J(0x229)],paramCase(h),paramCase(h)]}),o=this[J(0x20f)][J(0x211)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[J(0x20f)]['pathFromApp']({'pathParts':[m,b[J(0x229)],paramCase(j),paramCase(j)]}),q=this[J(0x20f)][J(0x211)]({'pathParts':[m,b[J(0x229)],paramCase(k),paramCase(k)]}),r=this[J(0x20f)][J(0x211)]({'pathParts':[m,b[J(0x229)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0x1f2)])['replaceAll']('-','\x20')};await this[J(0x20f)][J(0x1fe)](f,async()=>{const K=J;await this['fsi'][K(0x20a)]({'srcPath':'kit/mui/auth/login/'+h+K(0x213),'destPath':n+'.js','framework':K(0x203),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x20f)][K(0x20a)]({'srcPath':'kit/mui/auth/logout/'+i+K(0x213),'destPath':o+K(0x213),'framework':K(0x203),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x20f)][K(0x20a)]({'srcPath':K(0x21e)+j+K(0x213),'destPath':p+'.js','framework':K(0x203),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x20f)][K(0x20a)]({'srcPath':K(0x1f0)+k+'.js','destPath':q+K(0x213),'framework':K(0x203),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':K(0x1ed)+l+K(0x213),'destPath':r+K(0x213),'framework':K(0x203),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0x229)]+'/'+h+'/'+h;await this['fsi'][J(0x1ee)](h,f,t);const u=''+m+b[J(0x229)]+'/'+i+'/'+i;await this[J(0x20f)]['injectTemplateModule'](i,f,u);const v=''+m+b[J(0x229)]+'/'+j+'/'+j;await this[J(0x20f)][J(0x1ee)](j,f,v);const w=''+m+b[J(0x229)]+'/'+k+'/'+k;await this[J(0x20f)][J(0x1ee)](k,f,w);const x=''+m+b[J(0x229)]+'/'+l+'/'+l;await this[J(0x20f)]['injectTemplateModule'](l,f,x),await a128e[J(0x205)](J(0x21c),[J(0x1ec)],{'url':J(0x226),'cwd':d,'config':f}),await a128e[J(0x205)](J(0x21c),[J(0x201)],{'url':J(0x215),'private':!![],'cwd':d,'config':f}),await a128e[J(0x205)](J(0x21c),[J(0x20c)],{'url':J(0x200),'cwd':d,'config':f}),await a128e[J(0x205)](J(0x21c),[J(0x1fd)],{'url':J(0x216),'cwd':d,'config':f}),await a128e[J(0x205)](J(0x21c),[J(0x22e)],{'url':J(0x1f4),'cwd':d,'config':f});g===J(0x22f)&&await a128e[J(0x205)](J(0x1fc),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a128e[J(0x205)](J(0x1f6),[],{'force':c,'cwd':d,'config':f});const y=f['engines']['ssr']===J(0x221),z=f[J(0x21a)]['js'],A=this[J(0x20f)][J(0x211)]({'pathParts':t['split']('/')});await this[J(0x20f)]['injectImport']({'filePath':A+'.'+z,'importName':J(0x218),'modulePath':y?J(0x219):J(0x1f1),'isNamedExport':!![]});const B=this[J(0x20f)][J(0x211)]({'pathParts':u[J(0x21d)]('/')});await this[J(0x20f)][J(0x21f)]({'filePath':B+'.'+z,'importName':J(0x218),'modulePath':y?J(0x219):J(0x1f1),'isNamedExport':!![]});const C=this[J(0x20f)]['pathFromApp']({'pathParts':v[J(0x21d)]('/')});await this[J(0x20f)][J(0x21f)]({'filePath':C+'.'+z,'importName':J(0x218),'modulePath':y?J(0x219):J(0x1f1),'isNamedExport':!![]});const D=this[J(0x20f)][J(0x211)]({'pathParts':w[J(0x21d)]('/')});await this[J(0x20f)][J(0x21f)]({'filePath':D+'.'+z,'importName':J(0x218),'modulePath':y?J(0x219):J(0x1f1),'isNamedExport':!![]});const E=this['fsi'][J(0x211)]({'pathParts':x[J(0x21d)]('/')});await this[J(0x20f)][J(0x21f)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?J(0x219):J(0x1f1),'isNamedExport':!![]});}catch(F){Log[J(0x225)](F);}},async function(){const L=a128I;console['log'](L(0x220));},a128f);
1
+ const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0xe0))/0x1*(-parseInt(G(0xaf))/0x2)+parseInt(G(0xe8))/0x3+-parseInt(G(0xc8))/0x4*(parseInt(G(0xe6))/0x5)+parseInt(G(0xd0))/0x6*(parseInt(G(0xbc))/0x7)+-parseInt(G(0xd5))/0x8*(parseInt(G(0xb5))/0x9)+-parseInt(G(0xa7))/0xa*(-parseInt(G(0xc1))/0xb)+-parseInt(G(0xae))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xa191d));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0xdc)]()['search'](I(0xa6))[I(0xdc)]()[I(0xc6)](a128a)[I(0xcd)](I(0xa6));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xa5;let f=c[d];return f;},a128d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';function a128c(){const N=['injectImport','Custom\x20(roll\x20your\x20own)','MATERIAL','split','9LqBCZg','appName','Cleaning\x20up...','log','/imports/startup/lib/authentication-provider','basic-forgot-password-page','basic-register-page','112595LaPdTC','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-login-page','withValue','replaceAll','6496600RNRsoB','custom','dir','.js','route','constructor','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','8ZIrIyo','/imports/startup/client/authentication-provider','injectTemplateModule','engines','maka\x20generate:kit:mui:frame','search','create','react','42iWmlYc','pathFromApp','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','kit/mui/auth/register/','maka\x20g:k:m:f','249512kYtMCb','fsi','ssr','apply','baseDir','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','/imports/ui/pages/auth','toString','kit:auth:provider','login','kit/mui/auth/password-reset/','9bdyYQr','kit/mui/auth/login/','force','basic-logout-page','Meteor\x20Accounts','meteor','1993555mbdFjT','basic-password-reset-page','1082607JBSFPJ','processAndRunGenerator','findProjectDirectory','reset-password/:token','(((.+)+)+)+$','20YizhYZ','true','AuthContext','kit:auth:meteor','template','forgot-password','getMakaProjectConfig','10312764tuvRuW','154474ngrEnS','kit/mui/auth/forgot-password/'];a128c=function(){return N;};return a128c();}import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0xce)]({'name':'auth','aliases':['a'],'usage':a128J(0xd2),'shortDesc':a128J(0xda),'validOpts':['layouts',a128J(0xe2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0xb3)],'client':ClientEngines['REACT']},'examples':[a128J(0xcc),a128J(0xd4)],'description':a128J(0xbd)},async function(a,b){const K=a128J;try{const c=b['force']||![],d=this['fsi'][K(0xea)](),f=this[K(0xd6)][K(0xad)](),{authType:g}=await Actions['options']({'type':'list','name':'authType','message':K(0xc7),'choices':[{'name':K(0xe4),'value':K(0xe5)},{'name':K(0xb2),'value':'custom'}]}),h=K(0xbe),i=K(0xe3),j=K(0xbb),k=K(0xe7),l=K(0xba),m=b[K(0xd9)]?'/imports/ui/'+b[K(0xd9)]:K(0xdb),n=this['fsi'][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(h),paramCase(h)]}),o=this['fsi'][K(0xd1)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this[K(0xd6)][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(j),paramCase(j)]}),q=this[K(0xd6)][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(k),paramCase(k)]}),r=this['fsi'][K(0xd1)]({'pathParts':[m,b[K(0xc3)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xb6)])[K(0xc0)]('-','\x20')};await this[K(0xd6)][K(0xbf)](f,async()=>{const L=K;await this[L(0xd6)][L(0xab)]({'srcPath':L(0xe1)+h+L(0xc4),'destPath':n+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':'kit/mui/auth/logout/'+i+'.js','destPath':o+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd6)]['template']({'srcPath':L(0xd3)+j+L(0xc4),'destPath':p+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd6)][L(0xab)]({'srcPath':L(0xdf)+k+L(0xc4),'destPath':q+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xd6)]['template']({'srcPath':L(0xb0)+l+L(0xc4),'destPath':r+L(0xc4),'framework':L(0xcf),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0xc3)]+'/'+h+'/'+h;await this[K(0xd6)][K(0xca)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0xd6)][K(0xca)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0xd6)][K(0xca)](j,f,v);const w=''+m+b[K(0xc3)]+'/'+k+'/'+k;await this[K(0xd6)]['injectTemplateModule'](k,f,w);const x=''+m+b[K(0xc3)]+'/'+l+'/'+l;await this['fsi'][K(0xca)](l,f,x),await a128e[K(0xe9)](K(0xc5),[K(0xbe)],{'url':K(0xde),'cwd':d,'config':f}),await a128e['processAndRunGenerator'](K(0xc5),[K(0xe3)],{'url':'logout','private':!![],'cwd':d,'config':f}),await a128e[K(0xe9)](K(0xc5),['basic-register-page'],{'url':'register','cwd':d,'config':f}),await a128e[K(0xe9)](K(0xc5),[K(0xe7)],{'url':K(0xa5),'cwd':d,'config':f}),await a128e[K(0xe9)](K(0xc5),[K(0xba)],{'url':K(0xac),'cwd':d,'config':f});g==='meteor'&&await a128e[K(0xe9)](K(0xaa),[],{'force':c,'cwd':d,'config':f});g===K(0xc2)&&await a128e['processAndRunGenerator'](K(0xdd),[],{'force':c,'cwd':d,'config':f});const y=f[K(0xcb)][K(0xd7)]===K(0xa8),z=f[K(0xcb)]['js'],A=this[K(0xd6)][K(0xd1)]({'pathParts':t['split']('/')});await this[K(0xd6)][K(0xb1)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0xb9):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[K(0xd6)][K(0xd1)]({'pathParts':u[K(0xb4)]('/')});await this[K(0xd6)][K(0xb1)]({'filePath':B+'.'+z,'importName':K(0xa9),'modulePath':y?K(0xb9):K(0xc9),'isNamedExport':!![]});const C=this[K(0xd6)][K(0xd1)]({'pathParts':v['split']('/')});await this[K(0xd6)]['injectImport']({'filePath':C+'.'+z,'importName':K(0xa9),'modulePath':y?K(0xb9):K(0xc9),'isNamedExport':!![]});const D=this[K(0xd6)][K(0xd1)]({'pathParts':w[K(0xb4)]('/')});await this[K(0xd6)][K(0xb1)]({'filePath':D+'.'+z,'importName':K(0xa9),'modulePath':y?K(0xb9):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[K(0xd6)]['pathFromApp']({'pathParts':x[K(0xb4)]('/')});await this[K(0xd6)][K(0xb1)]({'filePath':E+'.'+z,'importName':K(0xa9),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0xc9),'isNamedExport':!![]});}catch(F){Log['error'](F);}},async function(){const M=a128J;console[M(0xb8)](M(0xb7));},a128f);
@@ -1 +1 @@
1
- const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x143))/0x1*(parseInt(B(0x12a))/0x2)+parseInt(B(0x128))/0x3+-parseInt(B(0x149))/0x4*(-parseInt(B(0x132))/0x5)+-parseInt(B(0x136))/0x6*(parseInt(B(0x140))/0x7)+parseInt(B(0x12f))/0x8+parseInt(B(0x135))/0x9*(parseInt(B(0x168))/0xa)+parseInt(B(0x138))/0xb*(-parseInt(B(0x158))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xa1554));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x167)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x146)]()[D(0x147)](D(0x16e))['toString']()[D(0x16d)](a129a)['search'](D(0x16e));});function a129c(){const I=['/imports/startup/lib/templates','injectIntoFile','app-tests','baseDir','session','getDirectories','template','options','join','.js','{\x20this.props.children\x20}','react','{\x20props.children\x20}','12xsnrRX','{props.children}','test','maka:react-tracker','Container','MATERIAL','No\x20layouts\x20selected','/imports/startup/client/templates','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','/imports/ui/','ssr','<div\x20id=\x22','maka\x20generate:kit:mui:frame','dir','/imports/ui/components','apply','7550hhNOOI','injectTemplateModule','layouts','force','kit/mui/frame/app-bars/','constructor','(((.+)+)+)+$','-hook\x22>','basic-app-bar','true','pathFromApp','injectImport','jsx','1666038BmYKCf','appName','93638xJbmkM','basic-drawer','error','injectAroundString','\x20/>\x0a','8129960cdXxdD','@mui/material/Box','tests','15IYNeql','getFiles','{this.props.children}','63UgAAdZ','3882EaCrhN','Cleaning\x20up...','9943439dsPjTL','</div>','kit/mui/frame/drawers/','length','frame','maka\x20g:k:m:f','REACT','withValue','9653sTUGZL','log','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','2CgxAmA','replaceAll','Box','toString','search','fsi','1048624UCVjbF','kit/mui/frame/footers/'];a129c=function(){return I;};return a129c();}a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x122;let f=c[d];return f;},a129d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a129E(0x13c),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a129E(0x16a),'baseDir','dir',a129E(0x16b)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x15d)],'client':ClientEngines[a129E(0x13e)]},'examples':[a129E(0x164),a129E(0x13d)],'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=a129E;try{const c=b[F(0x16b)]||![],d=F(0x123),f=F(0x12b),g='basic-sticky-footer',h=this[F(0x148)]['getMakaProjectConfig'](),i=h['engines'][F(0x162)]===F(0x124);await this['fsi']['checkMeteorPackage']([F(0x14f),F(0x15b)],{'shouldInstall':!![]});const j=this[F(0x148)]['findAppDirectory'](),k=a129e[F(0x153)](j,'imports','ui',F(0x16a)),l=this[F(0x148)][F(0x150)](k),m=await Actions[F(0x152)]({'type':'checkbox','name':F(0x16a),'message':F(0x160),'choices':l});if(m[F(0x16a)][F(0x13b)]===0x0){Log[F(0x12c)](F(0x15e));return;}const n=b[F(0x14e)]?F(0x161)+b[F(0x14e)]:F(0x166),o=this[F(0x148)][F(0x125)]({'pathParts':[n,b[F(0x165)],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0x125)]({'pathParts':[n,b[F(0x165)],paramCase(f),paramCase(f)]}),q=this[F(0x148)][F(0x125)]({'pathParts':[n,b[F(0x165)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x129)])[F(0x144)]('-','\x20')};await this[F(0x148)][F(0x13f)](h,async()=>{const G=F;await this[G(0x148)][G(0x151)]({'srcPath':G(0x16c)+d+G(0x154),'destPath':o+G(0x154),'framework':G(0x156),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x148)][G(0x151)]({'srcPath':G(0x13a)+f+G(0x154),'destPath':p+G(0x154),'framework':G(0x156),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x148)][G(0x151)]({'srcPath':G(0x14a)+g+'.js','destPath':q+G(0x154),'framework':G(0x156),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x165)]+'/'+d+'/'+d;await this['fsi'][F(0x169)](d,h,s);const t=''+n+b[F(0x165)]+'/'+f+'/'+f;await this[F(0x148)][F(0x169)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this[F(0x148)][F(0x169)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x148)][F(0x133)](a129e[F(0x153)](k,w),{'extensions':[F(0x127),'tsx'],'omit':[F(0x14d),F(0x131),F(0x15a)]});for(const y of x){const z=a129e[F(0x153)](k,w,y);await this['fsi'][F(0x126)]({'filePath':z,'importName':F(0x145),'modulePath':F(0x130),'isNamedExport':![]}),await this['fsi'][F(0x126)]({'filePath':z,'importName':F(0x15c),'modulePath':'@mui/material/Container','isNamedExport':![]}),await this[F(0x148)]['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x14b):F(0x15f),'isNamedExport':!![]}),await this[F(0x148)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0x12e),'begin':[F(0x163)+w+'\x22>',F(0x163)+w+F(0x122)],'end':[F(0x134),'{\x20this.props.children\x20}',F(0x159),F(0x157)]}),await this['fsi'][F(0x126)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x14b):F(0x15f),'isNamedExport':!![]}),await this[F(0x148)][F(0x14c)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x12e),'begin':[F(0x163)+w+'\x22>',F(0x163)+w+'-hook\x22>'],'end':[F(0x134),F(0x155),'{props.children}',F(0x157)]}),await this[F(0x148)][F(0x14c)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x12e),'begin':[F(0x134),F(0x155),'{props.children}',F(0x157)],'end':[F(0x139)]}),await this[F(0x148)][F(0x126)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x14b):'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi'][F(0x12d)]({'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(0x142),'targetString':[F(0x134),F(0x155),F(0x159),F(0x157)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x12c)](A);}},async function(){const H=a129E;console[H(0x141)](H(0x137));},a129f);
1
+ const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x133))/0x1+parseInt(B(0x13e))/0x2*(parseInt(B(0x13b))/0x3)+parseInt(B(0x11c))/0x4*(-parseInt(B(0x114))/0x5)+-parseInt(B(0x152))/0x6*(parseInt(B(0x122))/0x7)+-parseInt(B(0x12d))/0x8*(parseInt(B(0x139))/0x9)+-parseInt(B(0x13a))/0xa*(-parseInt(B(0x156))/0xb)+parseInt(B(0x153))/0xc*(parseInt(B(0x123))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x1cb74));function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x10f;let f=c[d];return f;},a129d(a,b);}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x12e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x14a)]()[D(0x130)](D(0x119))[D(0x14a)]()[D(0x140)](a129a)['search'](D(0x119));});a129a();import{Generator}from'../../../generator.js';function a129c(){const H=['options','frame','jsx','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','pathFromApp','711DDFFax','10dHUWfB','153DTEBRj','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','basic-sticky-footer','1492RfcxnS','imports','constructor','.js','length','baseDir','engines','checkMeteorPackage','Box','join','No\x20layouts\x20selected','appName','toString','-hook\x22>','template','\x20/>\x0a','/imports/startup/client/templates','{\x20this.props.children\x20}','{props.children}','react','5928tqzMRC','180xKusBz','injectAroundString','getFiles','2237631blJRLo','/imports/ui/components','/imports/ui/','@mui/material/Container','fsi','layouts','force','<div\x20id=\x22','injectIntoFile','5HMiBuA','dir','{\x20props.children\x20}','Container','checkbox','(((.+)+)+)+$','<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>','getDirectories','1464bnflHe','</div>','true','/imports/startup/lib/templates','findAppDirectory','kit/mui/frame/drawers/','1421GSTsng','37063woLqMA','{this.props.children}','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','ssr','replaceAll','injectImport','MATERIAL','kit/mui/frame/app-bars/','kit/mui/frame/footers/','maka\x20generate:kit:mui:frame','1832OLnOcr','apply','basic-drawer','search','@mui/material/Box','injectTemplateModule','52409pMxqro'];a129c=function(){return H;};return a129c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a129E(0x135),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a129E(0x137),'validOpts':['layouts',a129E(0x143),a129E(0x115),a129E(0x111)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x129)],'client':ClientEngines['REACT']},'examples':[a129E(0x12c),'maka\x20g:k:m:f'],'description':a129E(0x125)},async function(a,b){const F=a129E;try{const c=b[F(0x111)]||![],d='basic-app-bar',f=F(0x12f),g=F(0x13d),h=this['fsi']['getMakaProjectConfig'](),i=h[F(0x144)][F(0x126)]===F(0x11e);await this[F(0x10f)][F(0x145)](['session','maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0x10f)][F(0x120)](),k=a129e[F(0x147)](j,F(0x13f),'ui','layouts'),l=this[F(0x10f)][F(0x11b)](k),m=await Actions[F(0x134)]({'type':F(0x118),'name':F(0x110),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x110)][F(0x142)]===0x0){Log['error'](F(0x148));return;}const n=b[F(0x143)]?F(0x158)+b[F(0x143)]:F(0x157),o=this[F(0x10f)][F(0x138)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0x10f)][F(0x138)]({'pathParts':[n,b[F(0x115)],paramCase(f),paramCase(f)]}),q=this[F(0x10f)][F(0x138)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x149)])[F(0x127)]('-','\x20')};await this['fsi']['withValue'](h,async()=>{const G=F;await this[G(0x10f)][G(0x14c)]({'srcPath':G(0x12a)+d+G(0x141),'destPath':o+G(0x141),'framework':G(0x151),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x14c)]({'srcPath':G(0x121)+f+G(0x141),'destPath':p+G(0x141),'framework':G(0x151),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x10f)][G(0x14c)]({'srcPath':G(0x12b)+g+G(0x141),'destPath':q+G(0x141),'framework':G(0x151),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b['dir']+'/'+d+'/'+d;await this['fsi'][F(0x132)](d,h,s);const t=''+n+b[F(0x115)]+'/'+f+'/'+f;await this[F(0x10f)][F(0x132)](f,h,t);const u=''+n+b[F(0x115)]+'/'+g+'/'+g;await this[F(0x10f)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x10f)][F(0x155)](a129e[F(0x147)](k,w),{'extensions':[F(0x136),'tsx'],'omit':['app-tests','tests','test']});for(const y of x){const z=a129e[F(0x147)](k,w,y);await this['fsi'][F(0x128)]({'filePath':z,'importName':F(0x146),'modulePath':F(0x131),'isNamedExport':![]}),await this[F(0x10f)][F(0x128)]({'filePath':z,'importName':F(0x117),'modulePath':F(0x159),'isNamedExport':![]}),await this['fsi'][F(0x128)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x11f):F(0x14e),'isNamedExport':!![]}),await this[F(0x10f)][F(0x113)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x112)+w+'\x22>',F(0x112)+w+'-hook\x22>'],'end':[F(0x124),F(0x14f),'{props.children}',F(0x116)]}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x11f):F(0x14e),'isNamedExport':!![]}),await this[F(0x10f)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0x14d),'begin':['<div\x20id=\x22'+w+'\x22>',F(0x112)+w+F(0x14b)],'end':[F(0x124),F(0x14f),F(0x150),F(0x116)]}),await this[F(0x10f)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+F(0x14d),'begin':[F(0x124),'{\x20this.props.children\x20}',F(0x150),'{\x20props.children\x20}'],'end':[F(0x11d)]}),await this[F(0x10f)][F(0x128)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x11f):F(0x14e),'isNamedExport':!![]}),await this['fsi'][F(0x154)]({'filePath':z,'aboveContent':F(0x11a),'belowContent':F(0x13c),'targetString':['{this.props.children}',F(0x14f),F(0x150),F(0x116)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){console['log']('Cleaning\x20up...');},a129f);
@@ -1 +1 @@
1
- const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x10d))/0x1+parseInt(g(0xfa))/0x2+parseInt(g(0x102))/0x3*(parseInt(g(0x115))/0x4)+parseInt(g(0x103))/0x5+-parseInt(g(0x107))/0x6*(parseInt(g(0x100))/0x7)+-parseInt(g(0x10b))/0x8+-parseInt(g(0xfb))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x6b038));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x101)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x110)]()['search'](i(0x104))[i(0x110)]()[i(0x109)](a130a)[i(0xfc)](i(0x104));});a130a();import{Generator}from'../../../generator.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xf8;let f=c[d];return f;},a130d(a,b);}function a130c(){const l=['includes','731004yzOHUA','1706958VicgjW','search','getMakaProjectConfig','kitChoices','maka\x20g:kit:m','583779eFZMPa','apply','1747059AnLBlv','2972360CQwPnG','(((.+)+)+)+$','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','Material-UI\x20Kit','60mrptlh','kit:mui:frame','constructor','auth','2265496WatBLZ','options','202820fQBKDK','processAndRunGenerator','notice','toString','fsi','No\x20MUI\x20kits\x20selected.\x20Exiting.','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','findProjectDirectory','4xmOwad','checkbox','length','info','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'];a130c=function(){return l;};return a130c();}import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';const MuiGen=Generator['create']({'name':'mui','aliases':['m'],'usage':a130j(0x113),'noNeedResource':!![],'shortDesc':a130j(0x106),'validOpts':[''],'isPro':!![],'examples':[a130j(0xff)]},async function(){const k=a130j;Log[k(0x118)](k(0xf8)),Log[k(0x10f)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions[k(0x10c)]({'type':k(0x116),'name':k(0xfe),'message':k(0x105),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this[k(0x111)][k(0x114)](),c=this[k(0x111)][k(0xfd)]();a['includes']('frame')&&await a130e[k(0x10e)](k(0x108),[],{'force':!![],'cwd':b,'config':c});a[k(0xf9)](k(0x10a))&&await a130e[k(0x10e)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x117)]===0x0){Log['info'](k(0x112));return;}},async function(){},a130f);export default MuiGen;
1
+ const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0x145))/0x1+-parseInt(g(0x157))/0x2*(-parseInt(g(0x13f))/0x3)+parseInt(g(0x144))/0x4+parseInt(g(0x13c))/0x5+parseInt(g(0x15c))/0x6*(-parseInt(g(0x14a))/0x7)+parseInt(g(0x151))/0x8*(-parseInt(g(0x15a))/0x9)+parseInt(g(0x13e))/0xa*(parseInt(g(0x143))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x4ec8d));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x13d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x153)]()[i(0x156)](i(0x15f))[i(0x153)]()[i(0x154)](a130a)[i(0x156)](i(0x15f));});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a130c(){const l=['findProjectDirectory','7zqUWPz','kitChoices','\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','auth','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','getMakaProjectConfig','30840oTmNMQ','create','toString','constructor','fsi','search','51262nAFVCT','options','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','180GokmVl','checkbox','3360558YEhjoo','info','Material-UI\x20Kit','(((.+)+)+)+$','969110IOOjyE','apply','193990gSyFgS','42XxJzEg','includes','frame','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','11GEzhXP','2508696oROCfD','239335pBEnQz','length','No\x20MUI\x20kits\x20selected.\x20Exiting.','kit:mui:frame'];a130c=function(){return l;};return a130c();}import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x13c;let f=c[d];return f;},a130d(a,b);}const MuiGen=Generator[a130j(0x152)]({'name':'mui','aliases':['m'],'usage':a130j(0x14f),'noNeedResource':!![],'shortDesc':a130j(0x15e),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:m']},async function(){const k=a130j;Log['info'](k(0x142)),Log['notice'](k(0x14c));const {kitChoices:a}=await Actions[k(0x158)]({'type':k(0x15b),'name':k(0x14b),'message':'Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':k(0x141)},{'name':k(0x159),'value':k(0x14d)}]}),b=this[k(0x155)][k(0x149)](),c=this['fsi'][k(0x150)]();a[k(0x140)](k(0x141))&&await a130e['processAndRunGenerator'](k(0x148),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x14d))&&await a130e[k(0x14e)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x146)]===0x0){Log[k(0x15d)](k(0x147));return;}},async function(){},a130f);export default MuiGen;
@@ -1 +1 @@
1
- const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0x225))/0x1+-parseInt(l(0x1fe))/0x2+parseInt(l(0x206))/0x3*(parseInt(l(0x224))/0x4)+parseInt(l(0x210))/0x5*(parseInt(l(0x211))/0x6)+parseInt(l(0x212))/0x7+-parseInt(l(0x223))/0x8*(parseInt(l(0x20b))/0x9)+-parseInt(l(0x1ef))/0xa*(-parseInt(l(0x208))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x67e73));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x20c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a['toString']()['search']('(((.+)+)+)+$')[n(0x1f6)]()[n(0x1ec)](a131a)[n(0x201)](n(0x205));});a131a();function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a131d(a,b);}import a131e from'path';import{Generator}from'../generator.js';function a131c(){const r=['toString','withTranslations','graphql','.js','engines','test/test.js','injectTemplateModule','assign','1670984eonkiB','create','react','search','fsi','template','findAppDirectory','(((.+)+)+)+$','10632QQIloj','ramda','33NFjrLj','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','withValue','6597mAfsHn','apply','setTemplate','none','withHook','345dFqFdr','48186cZvzDR','2462978wtgEXu','component/component.js','injectAtBeginningOfFile','features','includes','import\x20\x27./','hook/hook.js','split','template/template.css','getMakaProjectConfig','installNpmPackage','Scaffolding\x20for\x20a\x20React\x20Layout.','fileName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','dir','ssr','checkNpmPackage','8656WWlLvk','464fpELQw','678135rwIyAB','resourceName','api','constructor','string','test','196510vqMWlL','pathFromApp','warn','maka\x20g:layout\x20mobile/iPhone8','layout','css','maka\x20g:l\x20web/safari'];a131c=function(){return r;};return a131c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131o(0x1ff)]({'name':a131o(0x1f3),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a131o(0x21d),'validOpts':[a131o(0x20f)],'examples':[a131o(0x1f2),a131o(0x1f5)]},async function(a,b){const p=a131o,c='/imports/ui/layouts',d=this['fsi'][p(0x204)](),e=this[p(0x202)][p(0x1f0)]({'pathParts':[c,b['dir'],paramCase(b[p(0x1ea)]),paramCase(b[p(0x1ea)])]}),f=this[p(0x202)][p(0x21b)]();await this[p(0x202)][p(0x20a)](f,async()=>{const q=p;typeof f[q(0x203)][q(0x1ee)]===q(0x1ed)&&(f[q(0x203)]['test']=f[q(0x203)][q(0x1ee)]==='true'?!![]:![],this[q(0x202)][q(0x20d)](q(0x1ee),f[q(0x203)][q(0x1ee)]));typeof f['template'][q(0x1f4)]===q(0x1ed)&&(f[q(0x203)][q(0x1f4)]=f[q(0x203)]['css']==='true'?!![]:![],this['fsi'][q(0x20d)](q(0x1f4),f[q(0x203)]['css']));typeof f[q(0x203)]['js']==='string'&&(f[q(0x203)]['js']=f[q(0x203)]['js']==='true'?!![]:![],this[q(0x202)][q(0x20d)]('js',f[q(0x203)]['js']));!f[q(0x215)]&&(f[q(0x215)]={});const g=b['_']?b['_'][0x0][q(0x219)](':')[0x1]:![],h=b['_']&&aliases[q(0x216)](g);h&&!this[q(0x222)](q(0x207))&&(Log[q(0x1f1)](q(0x21f)),this['fsi'][q(0x21c)](q(0x207),{'cwd':d}));if(h&&!this[q(0x222)](q(0x200))){Log[q(0x1f1)](q(0x209));return;}const i={'name':pascalCase(b[q(0x1ea)]),'myPath':a131e['relative'](this[q(0x202)]['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x1ea)]),'camelCaseName':camelCase(b[q(0x1ea)]),'fileName':paramCase(b[q(0x1ea)]),'graphql':f[q(0x1fa)][q(0x1f8)],'features':f[q(0x215)],'client':f[q(0x1fa)]['client'],'api':f['engines'][q(0x1eb)],'ssr':f[q(0x1fa)][q(0x221)],'test':f[q(0x1fa)]['test'],'theme':f[q(0x1fa)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x215)][q(0x1f7)]};f[q(0x215)]?.['withHooks']||b[q(0x20f)]?await this[q(0x202)][q(0x203)]({'srcPath':q(0x218),'destPath':e+q(0x1f9),'framework':q(0x200),'context':i,'config':f}):await this[q(0x202)][q(0x203)]({'srcPath':q(0x213),'destPath':e+'.js','framework':q(0x200),'context':i,'config':f});f[q(0x1fa)]['test']!==q(0x20e)&&await this[q(0x202)]['template']({'srcPath':q(0x1fb),'destPath':e+'.app-tests.js','framework':q(0x200),'context':i,'config':f});f[q(0x203)]['css']&&(await this[q(0x202)][q(0x203)]({'srcPath':q(0x21a),'destPath':e+'.css','context':Object[q(0x1fd)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['fsi'][q(0x214)]({'filePath':e+'.'+f[q(0x1fa)]['js'],'content':q(0x217)+i[q(0x21e)]+'.'+f[q(0x1fa)][q(0x1f4)]+'\x27;'}));const j=b[q(0x220)]?'/'+b[q(0x220)]+'/':'/',k=''+c+j+i[q(0x21e)]+'/'+i[q(0x21e)];await this[q(0x202)][q(0x1fc)](i['className'],f,k);});});
1
+ const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x1df))/0x1+parseInt(l(0x1de))/0x2*(parseInt(l(0x20a))/0x3)+-parseInt(l(0x1d6))/0x4+parseInt(l(0x205))/0x5*(parseInt(l(0x1d8))/0x6)+-parseInt(l(0x1d9))/0x7*(parseInt(l(0x1eb))/0x8)+-parseInt(l(0x1f4))/0x9*(-parseInt(l(0x1e1))/0xa)+-parseInt(l(0x1f8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x5982f));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a['toString']()[n(0x203)](n(0x1e8))['toString']()[n(0x20c)](a131a)[n(0x203)]('(((.+)+)+)+$');});a131a();import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1d6;let f=c[d];return f;},a131d(a,b);}Generator['create']({'name':'layout','aliases':aliases,'usage':a131o(0x1f9),'shortDesc':a131o(0x1f6),'validOpts':[a131o(0x1ed)],'examples':[a131o(0x1fc),a131o(0x1f2)]},async function(a,b){const p=a131o,c=p(0x1ef),d=this[p(0x1e9)]['findAppDirectory'](),e=this['fsi'][p(0x200)]({'pathParts':[c,b[p(0x20e)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this[p(0x1e9)]['getMakaProjectConfig']();await this['fsi']['withValue'](f,async()=>{const q=p;typeof f['template']['test']===q(0x1db)&&(f[q(0x209)][q(0x1f1)]=f[q(0x209)][q(0x1f1)]===q(0x1dc)?!![]:![],this[q(0x1e9)]['setTemplate'](q(0x1f1),f[q(0x209)][q(0x1f1)]));typeof f['template']['css']===q(0x1db)&&(f[q(0x209)][q(0x1ee)]=f['template'][q(0x1ee)]==='true'?!![]:![],this[q(0x1e9)][q(0x1dd)](q(0x1ee),f[q(0x209)]['css']));typeof f[q(0x209)]['js']===q(0x1db)&&(f[q(0x209)]['js']=f[q(0x209)]['js']===q(0x1dc)?!![]:![],this[q(0x1e9)][q(0x1dd)]('js',f[q(0x209)]['js']));!f[q(0x1e3)]&&(f[q(0x1e3)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[q(0x207)](q(0x1e7))&&(Log[q(0x1f3)](q(0x1f7)),this[q(0x1e9)]['installNpmPackage'](q(0x1e7),{'cwd':d}));if(h&&!this['checkNpmPackage'](q(0x20f))){Log[q(0x1f3)](q(0x1e0));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a131e[q(0x201)](this['fsi'][q(0x1ea)]({}),e),'cssCaseName':paramCase(b[q(0x1e6)]),'className':pascalCase(b[q(0x1e6)]),'camelCaseName':camelCase(b[q(0x1e6)]),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x1ec)][q(0x208)],'features':f[q(0x1e3)],'client':f[q(0x1ec)][q(0x1f0)],'api':f[q(0x1ec)][q(0x202)],'ssr':f[q(0x1ec)][q(0x204)],'test':f['engines'][q(0x1f1)],'theme':f[q(0x1ec)][q(0x20b)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1e3)][q(0x20d)]};f[q(0x1e3)]?.[q(0x1f5)]||b[q(0x1ed)]?await this[q(0x1e9)][q(0x209)]({'srcPath':q(0x1e4),'destPath':e+q(0x1e2),'framework':q(0x20f),'context':i,'config':f}):await this[q(0x1e9)][q(0x209)]({'srcPath':q(0x1d7),'destPath':e+q(0x1e2),'framework':q(0x20f),'context':i,'config':f});f[q(0x1ec)][q(0x1f1)]!==q(0x1fa)&&await this[q(0x1e9)][q(0x209)]({'srcPath':'test/test.js','destPath':e+'.app-tests.js','framework':q(0x20f),'context':i,'config':f});f[q(0x209)][q(0x1ee)]&&(await this['fsi'][q(0x209)]({'srcPath':'template/template.css','destPath':e+'.css','context':Object[q(0x1fb)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0x1e9)][q(0x206)]({'filePath':e+'.'+f['engines']['js'],'content':q(0x1ff)+i['fileName']+'.'+f[q(0x1ec)][q(0x1ee)]+'\x27;'}));const j=b[q(0x20e)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0x1e5)]+'/'+i[q(0x1e5)];await this[q(0x1e9)][q(0x1fe)](i[q(0x1fd)],f,k);});});function a131c(){const r=['912748fcWAvD','component/component.js','32136imBRro','107121IemnLn','apply','string','true','setTemplate','1416958eFJfad','279060SXeSZu','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','2325390pczPRo','.js','features','hook/hook.js','fileName','resourceName','ramda','(((.+)+)+)+$','fsi','pathFromProject','248NODBXt','engines','withHook','css','/imports/ui/layouts','client','test','maka\x20g:l\x20web/safari','warn','18crjnqz','withHooks','Scaffolding\x20for\x20a\x20React\x20Layout.','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','4617734bbRRCP','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','none','assign','maka\x20g:layout\x20mobile/iPhone8','className','injectTemplateModule','import\x20\x27./','pathFromApp','relative','api','search','ssr','555iyjMgm','injectAtBeginningOfFile','checkNpmPackage','graphql','template','3epWKoM','theme','constructor','withTranslations','dir','react'];a131c=function(){return r;};return a131c();}
@@ -1 +1 @@
1
- const a132i=a132d;function a132c(){const j=['8AWuzgM','375196WbWOHX','355332vEUsII','6VJGaNN','203470GANFuL','2EdygEU','maka\x20g:route\x20todos/edit','constructor','112167NdGoEJ','maka\x20g:package\x20package:name','apply','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:scaffold\x20todos','729379aHwFcK','7143697jMYsDQ','maka\x20g:template\x20todos/todo_item','search','(((.+)+)+)+$','775270mTwHXe','maka\x20{generate,\x20g}:<generator>\x20<name>','8jgrZbY','generate','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a132c=function(){return j;};return a132c();}(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x177))/0x1*(parseInt(f(0x173))/0x2)+-parseInt(f(0x174))/0x3*(-parseInt(f(0x186))/0x4)+parseInt(f(0x184))/0x5+-parseInt(f(0x175))/0x6*(-parseInt(f(0x17f))/0x7)+-parseInt(f(0x172))/0x8*(parseInt(f(0x17a))/0x9)+-parseInt(f(0x176))/0xa+-parseInt(f(0x180))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x2e2aa));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x17c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a['toString']()[h(0x182)]('(((.+)+)+)+$')['toString']()[h(0x179)](a132a)[h(0x182)](h(0x183));});a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x172;let f=c[d];return f;},a132d(a,b);}const MakaGen=new Generator({'name':a132i(0x187),'aliases':['g'],'usage':a132i(0x185),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0x188),'examples':['maka\x20generate:scaffold\x20todos',a132i(0x17e),a132i(0x181),a132i(0x17b),a132i(0x178),'maka\x20g:api\x20trucks',a132i(0x17d)]},function(){});export default MakaGen;
1
+ const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x105))/0x1*(parseInt(f(0x107))/0x2)+-parseInt(f(0x10e))/0x3+parseInt(f(0x10c))/0x4+-parseInt(f(0x10d))/0x5+-parseInt(f(0x108))/0x6*(-parseInt(f(0x106))/0x7)+parseInt(f(0x10b))/0x8+-parseInt(f(0x100))/0x9*(-parseInt(f(0xff))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x801d6));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0xfd)]()['search'](h(0x102))['toString']()[h(0xfb)](a132a)[h(0x101)](h(0x102));});a132a();function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xf8;let f=c[d];return f;},a132d(a,b);}import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132i(0xf9),'aliases':['g'],'usage':a132i(0x10a),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0xfa),'examples':[a132i(0xfe),'maka\x20g:scaffold\x20todos',a132i(0x103),a132i(0x109),a132i(0xf8),a132i(0xfc),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a132c(){const j=['63918XQybpx','search','(((.+)+)+)+$','maka\x20g:template\x20todos/todo_item','apply','7MreEgN','287LdBpCy','241756mNARNE','142896bGYOJi','maka\x20g:package\x20package:name','maka\x20{generate,\x20g}:<generator>\x20<name>','2388144udARZI','3456360HJvuTq','3262065rCzHvq','2541759REowJj','maka\x20g:route\x20todos/edit','generate','Scaffold\x20various\x20parts\x20of\x20your\x20application','constructor','maka\x20g:api\x20trucks','toString','maka\x20generate:scaffold\x20todos','1030MpJmGj'];a132c=function(){return j;};return a132c();}export default MakaGen;
@@ -1 +1 @@
1
- const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x1f7))/0x1+-parseInt(j(0x1e9))/0x2+-parseInt(j(0x1fe))/0x3*(-parseInt(j(0x202))/0x4)+parseInt(j(0x201))/0x5*(-parseInt(j(0x1ee))/0x6)+parseInt(j(0x203))/0x7*(-parseInt(j(0x1e2))/0x8)+-parseInt(j(0x1fd))/0x9*(-parseInt(j(0x1e4))/0xa)+parseInt(j(0x1f1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x9e3e0));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x1fa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a['toString']()[l(0x1ef)](l(0x1f6))[l(0x200)]()[l(0x1fb)](a133a)[l(0x1ef)](l(0x1f6));});function a133c(){const p=['resourceName','engines','maka\x20g:method\x20todos','ddp-rate-limiter','(((.+)+)+)+$','612413IcZDIO','pathFromApp','getMakaProjectConfig','apply','constructor','injectAtEndOfFile','36opByDi','498MNlUqW','maka\x20{generate,\x20g}:{method,\x20m}\x20name','toString','20245rWSzQH','22324XlkcLu','7CAlwWf','index.','checkMeteorPackage','withValue','method','fsi','838232PmlDWR','template','1512790ImmjKm','-rpc-method.','mdg:validated-method','imports','dir','1750430UggbuK','error','-rpc-method\x27;','startup','method/method.js','1698PLzoPk','search','appPathPrefix','6930506nZSIbq'];a133c=function(){return p;};return a133c();}a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a133d(a,b);}Generator['create']({'name':a133m(0x1e0),'aliases':['m'],'usage':a133m(0x1ff),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a133m(0x1e8)],'examples':[a133m(0x1f4)]},async function(a,b){const n=a133m;try{const c=this[n(0x1e1)][n(0x1f9)]();await this['fsi'][n(0x1df)](c,async()=>{const o=n,d=paramCase(b[o(0x1f2)]),f={'name':b[o(0x1f2)],'fileName':d,'className':pascalCase(b[o(0x1f2)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[o(0x1f3)]['js']==='tsx'&&(g='ts');await this[o(0x1e1)][o(0x1de)](['maka:check',o(0x1f5),o(0x1e6)],{'shouldInstall':!![]}),await this['fsi'][o(0x1e3)]({'srcPath':o(0x1ed),'destPath':this[o(0x1e1)][o(0x1f8)]({'pathParts':[o(0x1e7),o(0x1ec),b[o(0x1f0)],'methods',b[o(0x1e8)],d+o(0x1e5)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x1e8)]+'/':'/',i=this[o(0x1e1)][o(0x1f8)]({'pathParts':['imports','startup',b[o(0x1f0)],o(0x1dd)+c['engines']['js']]});await this[o(0x1e1)][o(0x1fc)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0x1eb)});});}catch(d){Log[n(0x1ea)](d);}});
1
+ const a133m=a133d;function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x15c;let f=c[d];return f;},a133d(a,b);}(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x162))/0x1+parseInt(j(0x15e))/0x2+-parseInt(j(0x166))/0x3+-parseInt(j(0x183))/0x4+parseInt(j(0x17c))/0x5+parseInt(j(0x175))/0x6*(-parseInt(j(0x17b))/0x7)+parseInt(j(0x176))/0x8*(-parseInt(j(0x15d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x26a6f));function a133c(){const p=['import\x20\x27./methods','1267nPdgyl','235125okGkPO','checkMeteorPackage','create','constructor','tsx','pathFromApp','(((.+)+)+)+$','223240GHWSWA','maka\x20g:method\x20todos','2598723fbQEsM','622690nKnlDb','maka:check','injectAtEndOfFile','method','312488QugfwW','maka\x20{generate,\x20g}:{method,\x20m}\x20name','index.','dir','59772jmFXZe','engines','imports','appPathPrefix','startup','template','fsi','mdg:validated-method','toString','resourceName','method/method.js','-rpc-method\x27;','-rpc-method.','apply','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','4908YEQZEq','8BxxbNI','methods','withValue','search'];a133c=function(){return p;};return a133c();}const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x16e)]()[l(0x179)](l(0x182))[l(0x16e)]()[l(0x17f)](a133a)[l(0x179)]('(((.+)+)+)+$');});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133m(0x17e)]({'name':a133m(0x161),'aliases':['m'],'usage':a133m(0x163),'checkWhere':!![],'shortDesc':a133m(0x174),'validOpts':[a133m(0x165)],'examples':[a133m(0x15c)]},async function(a,b){const n=a133m;try{const c=this['fsi']['getMakaProjectConfig']();await this[n(0x16c)][n(0x178)](c,async()=>{const o=n,d=paramCase(b[o(0x16f)]),f={'name':b[o(0x16f)],'fileName':d,'className':pascalCase(b[o(0x16f)]),'camelCase':camelCase(b[o(0x16f)]),'noRename':!![]};let g='js';c[o(0x167)]['js']===o(0x180)&&(g='ts');await this[o(0x16c)][o(0x17d)]([o(0x15f),'ddp-rate-limiter',o(0x16d)],{'shouldInstall':!![]}),await this[o(0x16c)][o(0x16b)]({'srcPath':o(0x170),'destPath':this[o(0x16c)][o(0x181)]({'pathParts':[o(0x168),o(0x16a),b[o(0x169)],o(0x177),b['dir'],d+o(0x172)+g]}),'context':f,'config':c});const h=b['dir']?'/'+b[o(0x165)]+'/':'/',i=this[o(0x16c)][o(0x181)]({'pathParts':[o(0x168),o(0x16a),b[o(0x169)],o(0x164)+c[o(0x167)]['js']]});await this['fsi'][o(0x160)]({'filePath':i,'content':o(0x17a)+h+d+o(0x171)});});}catch(d){Log['error'](d);}});
@@ -1 +1 @@
1
- const a134n=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0x1c8))/0x1*(-parseInt(l(0x1b5))/0x2)+parseInt(l(0x1d2))/0x3*(-parseInt(l(0x1d0))/0x4)+parseInt(l(0x1c4))/0x5*(-parseInt(l(0x1cb))/0x6)+-parseInt(l(0x1cd))/0x7*(-parseInt(l(0x1bd))/0x8)+-parseInt(l(0x1d6))/0x9*(parseInt(l(0x1bc))/0xa)+-parseInt(l(0x1b4))/0xb*(-parseInt(l(0x1cc))/0xc)+-parseInt(l(0x1ba))/0xd*(-parseInt(l(0x1b9))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x2d648));const a134b=(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;};}()),a134a=a134b(this,function(){const m=a134d;return a134a[m(0x1b8)]()[m(0x1b3)]('(((.+)+)+)+$')[m(0x1b8)]()[m(0x1ca)](a134a)['search'](m(0x1c5));});function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1b0;let f=c[d];return f;},a134d(a,b);}a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'package','aliases':['p'],'usage':a134n(0x1c3),'shortDesc':a134n(0x1db),'validOpts':['dir'],'examples':[a134n(0x1d3)]},async function(a,b){const o=a134n,c=paramCase(b[o(0x1da)]),d=this[o(0x1c7)]['pathFromApp']({'pathParts':['packages',b[o(0x1d9)],c]}),e=this['fsi'][o(0x1b6)]({'pathParts':[o(0x1c6),b[o(0x1d9)],c,'package.js']}),f=this[o(0x1c7)][o(0x1c0)]();await this[o(0x1c7)][o(0x1d7)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x1da)]),'myPath':a134e[p(0x1b7)](this[p(0x1c7)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[p(0x1da)]),'className':pascalCase(b[p(0x1da)]),'camelCaseName':camelCase(b[p(0x1da)]),'fileName':c,'client':f[p(0x1be)][p(0x1d4)],'graphql':f[p(0x1be)][p(0x1b2)],'ssr':f[p(0x1be)][p(0x1d5)],'isComponent':b[p(0x1c1)](p(0x1c2)),'isLayout':b[p(0x1c1)]('layout'),'isStore':b['hasOwnProperty'](p(0x1dd)),'features':f['features'],'noRename':!![],'theme':f[p(0x1be)][p(0x1d1)]};await this['fsi'][p(0x1b0)]({'srcPath':p(0x1cf),'destPath':e,'context':g,'config':f}),g[p(0x1bf)]=![];const h=d+p(0x1dc)+c+p(0x1ce);await this[p(0x1c7)][p(0x1b0)]({'srcPath':p(0x1b1),'destPath':h,'context':g,'config':f});const i=['lib','server',p(0x1c9),p(0x1d8)];for(const j of i){const k=d+'/'+j+'/'+c+p(0x1ce);await this[p(0x1c7)]['template']({'srcPath':'package/'+j+p(0x1bb),'destPath':k,'context':g,'config':f});}});});function a134c(){const q=['tests/server','dir','resourceName','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','/client/','store','template','template/template.js','graphql','search','176kGaVpj','308258OmDLXK','pathFromAppWithNoReWrite','relative','toString','1274QhWhdO','134147bEgjxu','/package.js','104990IueRKn','24LaHpBA','engines','noRename','getMakaProjectConfig','hasOwnProperty','component','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','3565OERJtR','(((.+)+)+)+$','packages','fsi','1xFjrqC','tests/client','constructor','2682RuPtDd','32208JIgnDF','521479sxOvke','.js','package/package.js','193780DFzjNL','theme','15oUkSzn','maka\x20g:package\x20todos:package','client','ssr','261OeQsOp','withValue'];a134c=function(){return q;};return a134c();}
1
+ const a134n=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0x8c))/0x1*(-parseInt(l(0x8b))/0x2)+parseInt(l(0x80))/0x3*(parseInt(l(0x9d))/0x4)+parseInt(l(0x9e))/0x5+parseInt(l(0x85))/0x6+parseInt(l(0x94))/0x7+-parseInt(l(0x89))/0x8*(-parseInt(l(0x97))/0x9)+parseInt(l(0x9a))/0xa*(-parseInt(l(0x72))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x54e19));const a134b=(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;};}()),a134a=a134b(this,function(){const m=a134d;return a134a[m(0x7e)]()['search'](m(0x96))['toString']()['constructor'](a134a)[m(0x7d)]('(((.+)+)+)+$');});a134a();function a134c(){const q=['resourceName','4471922irzeUR','packages','(((.+)+)+)+$','9YEdrUe','getMakaProjectConfig','withValue','230OyWfak','server','pathFromApp','48916ARzPeP','1115745GldNKy','512413EChKCo','graphql','noRename','client','relative','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','create','/client/','pathFromProject','maka\x20g:package\x20todos:package','package/package.js','search','toString','.js','129SzHPPp','package/','theme','template','store','2204106SjmJpe','tests/server','engines','hasOwnProperty','1822312TXBRJQ','layout','56390tmktWI','20MdGgAw','dir','fsi','package','tests/client','component','/package.js'];a134c=function(){return q;};return a134c();}import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x72;let f=c[d];return f;},a134d(a,b);}Generator[a134n(0x78)]({'name':a134n(0x8f),'aliases':['p'],'usage':a134n(0x77),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a134n(0x8d)],'examples':[a134n(0x7b)]},async function(a,b){const o=a134n,c=paramCase(b[o(0x93)]),d=this['fsi'][o(0x9c)]({'pathParts':[o(0x95),b[o(0x8d)],c]}),e=this[o(0x8e)]['pathFromAppWithNoReWrite']({'pathParts':[o(0x95),b[o(0x8d)],c,'package.js']}),f=this['fsi'][o(0x98)]();await this[o(0x8e)][o(0x99)](f,async()=>{const p=o,g={'name':paramCase(b[p(0x93)]),'myPath':a134e[p(0x76)](this[p(0x8e)][p(0x7a)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x93)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[p(0x87)][p(0x75)],'graphql':f['engines'][p(0x73)],'ssr':f['engines']['ssr'],'isComponent':b['hasOwnProperty'](p(0x91)),'isLayout':b[p(0x88)](p(0x8a)),'isStore':b[p(0x88)](p(0x84)),'features':f['features'],'noRename':!![],'theme':f['engines'][p(0x82)]};await this['fsi'][p(0x83)]({'srcPath':p(0x7c),'destPath':e,'context':g,'config':f}),g[p(0x74)]=![];const h=d+p(0x79)+c+p(0x7f);await this[p(0x8e)][p(0x83)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=['lib',p(0x9b),p(0x90),p(0x86)];for(const j of i){const k=d+'/'+j+'/'+c+p(0x7f);await this['fsi'][p(0x83)]({'srcPath':p(0x81)+j+p(0x92),'destPath':k,'context':g,'config':f});}});});