@maka/maka-cli 4.13.12 → 4.13.13

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 a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x90))/0x1*(-parseInt(l(0x83))/0x2)+parseInt(l(0x7e))/0x3*(-parseInt(l(0xb8))/0x4)+parseInt(l(0x7d))/0x5*(parseInt(l(0x9e))/0x6)+parseInt(l(0x88))/0x7+parseInt(l(0x96))/0x8*(parseInt(l(0x8c))/0x9)+-parseInt(l(0xba))/0xa*(parseInt(l(0x8e))/0xb)+-parseInt(l(0xb2))/0xc*(-parseInt(l(0x95))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xace6a));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x79)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0xa2)]()[n(0xa8)](n(0x93))[n(0xa2)]()[n(0x91)](a117a)[n(0xa8)]('(((.+)+)+)+$');});function a117c(){const r=['className','toString','dir','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','error','true','cssCaseName','search','graphql','injectAtBeginningOfFile','create','test','setTemplate','fsi','fileName','assign','.app-tests.js','1770084xPVaVj','components','layouts','css','@apollo/client\x20isomorphic-fetch','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','4dqnQDW','.js','1569730WxfnXu','apply','force','baseDir','findAppDirectory','100duuQPj','924321uNGkeJ','installNpmPackage','string','test/test.js','theme','8OieLAa','template','notice','withTranslations','none','7661843SVolOk','Creating\x20','hooks','.css','2259bJYnVr','engines','22OLusXa','pathFromApp','287302KEocIW','constructor','maka\x20g:hook\x20cool-hook','(((.+)+)+)+$','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','13EryTHN','12136fgjjEC','injectTemplateModule','features','import\x20\x27./','template/template.css','hook/hook.js','react','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','256992EyyVBY','resourceName','/imports/ui/components'];a117c=function(){return r;};return a117c();}a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x79;let f=c[d];return f;},a117d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117o(0xab)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a117o(0x94),'shortDesc':a117o(0xa4),'validOpts':[{'name':'baseDir','values':[a117o(0x8a),a117o(0xb3),'pages',a117o(0xb4)]},{'name':'force','boolFlag':!![]}],'examples':[a117o(0x92)],'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(0x85)](p(0x89)+b[p(0x9f)]+'\x20hook...');try{const c=this['fsi']['checkNpmPackage']('react');if(!c){Log[p(0xa5)](p(0xb7));throw new UsageError();}const d=this['fsi'][p(0x7c)](),f=b[p(0x7b)]?'/imports/ui/'+b['baseDir']:p(0xa0),g=this[p(0xae)][p(0x8f)]({'pathParts':[f,b[p(0xa3)],paramCase(b[p(0x9f)]),paramCase(b[p(0x9f)])]}),h=await this[p(0xae)]['getMakaProjectConfig']();await this[p(0xae)]['withValue'](h,async()=>{const q=p;typeof h[q(0x84)]['css']===q(0x80)&&(h[q(0x84)][q(0xb5)]=h['template'][q(0xb5)]===q(0xa6)?!![]:![],this[q(0xae)][q(0xad)](q(0xb5),h[q(0x84)][q(0xb5)]));h[q(0x8d)][q(0xa9)]==='apollo'&&!this[q(0xae)]['checkNpmPackage']('@apollo/client')&&(Log['warn'](q(0x9d)),await this[q(0xae)][q(0x7f)](q(0xb6),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x9f)]),'camelCaseName':camelCase(b[q(0x9f)]),'className':pascalCase(b[q(0x9f)]),'name':pascalCase(b['resourceName']),'graphql':h[q(0x8d)][q(0xa9)],'theme':h[q(0x8d)][q(0x82)],'features':h[q(0x98)],'myPath':a117e['relative'](this[q(0xae)]['pathFromProject']({}),g),'fileName':paramCase(b[q(0x9f)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x98)][q(0x86)]};await this[q(0xae)]['template']({'srcPath':q(0x9b),'destPath':g+q(0xb9),'context':i,'config':h,'framework':q(0x9c),'force':b[q(0x7a)]});h['template'][q(0xb5)]&&(await this[q(0xae)][q(0x84)]({'srcPath':q(0x9a),'destPath':g+q(0x8b),'context':Object[q(0xb0)]({},i,{'className':i[q(0xa7)]}),'config':h,'force':b[q(0x7a)]}),await this[q(0xae)][q(0xaa)]({'filePath':g+'.'+h[q(0x8d)]['js'],'content':q(0x99)+i['fileName']+'.'+h[q(0x8d)][q(0xb5)]+'\x27;'}));h[q(0x8d)][q(0xac)]!==q(0x87)&&await this[q(0xae)][q(0x84)]({'srcPath':q(0x81),'destPath':g+q(0xb1),'framework':q(0x9c),'context':i,'config':h,'force':b[q(0x7a)]});const j=b[q(0xa3)]?'/'+b[q(0xa3)]+'/':'/',k=''+f+j+i[q(0xaf)]+'/'+i['fileName'];await this[q(0xae)][q(0x97)](i[q(0xa1)],h,k);});}catch(i){Log['error'](i);}});
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 +1 @@
1
- function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xb8;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0xc1))/0x1*(parseInt(f(0xbc))/0x2)+parseInt(f(0xc2))/0x3+-parseInt(f(0xc4))/0x4+parseInt(f(0xb9))/0x5+parseInt(f(0xb8))/0x6+parseInt(f(0xc0))/0x7*(parseInt(f(0xbe))/0x8)+-parseInt(f(0xc5))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x24ff2));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xba)]()[h(0xbb)](h(0xbd))[h(0xba)]()[h(0xbf)](a118a)[h(0xbb)]('(((.+)+)+)+$');});a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a118c(){var i=['7GBaAXE','4349QGCQSC','769770AnQtTW','apply','321752HUoRar','5805702PDUIsg','1407396fcJOYR','677205NYfiVN','toString','search','8YflOTK','(((.+)+)+)+$','1864488fLhzjq','constructor'];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(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 +1 @@
1
- (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x73))/0x1+-parseInt(f(0x6d))/0x2+-parseInt(f(0x70))/0x3*(-parseInt(f(0x69))/0x4)+-parseInt(f(0x6c))/0x5*(-parseInt(f(0x6f))/0x6)+-parseInt(f(0x71))/0x7+parseInt(f(0x6a))/0x8+parseInt(f(0x6b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x8c1a4));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x68;var f=c[d];return f;},a119d(a,b);}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var g=a119d;return a119a['toString']()[g(0x68)]('(((.+)+)+)+$')[g(0x72)]()[g(0x6e)](a119a)[g(0x68)]('(((.+)+)+)+$');});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a119c(){var h=['8248592MsYNHI','5101011XqtqTH','5LyJbJW','1681782fnleHX','constructor','791754xBCgNB','800412VfYKyN','3566199MRBilO','toString','606016YADRFy','search','12kFQcyH'];a119c=function(){return h;};return a119c();}
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 +1 @@
1
- const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x148))/0x1+-parseInt(f(0x141))/0x2*(-parseInt(f(0x145))/0x3)+parseInt(f(0x149))/0x4+parseInt(f(0x13a))/0x5*(parseInt(f(0x14c))/0x6)+parseInt(f(0x13b))/0x7*(-parseInt(f(0x13c))/0x8)+-parseInt(f(0x14a))/0x9+parseInt(f(0x13e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xf3a41));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(0x144)]()[g(0x13d)](g(0x14b))[g(0x144)]()['constructor'](a120a)[g(0x13d)](g(0x14b));});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x13a;let f=c[d];return f;},a120d(a,b);}const AuthGen=Generator['create']({'name':a120h(0x146),'aliases':['a'],'usage':a120h(0x13f),'noNeedResource':!![],'shortDesc':a120h(0x143),'validOpts':[''],'isPro':!![],'examples':[a120h(0x140)],'description':a120h(0x142)},async function(){const i=a120h;throw i(0x147);},async function(){},a120e);function a120c(){const j=['555369tGHCIQ','431708suDFCD','5175864VDaeGI','(((.+)+)+)+$','43122yxZZAI','750EjrtVi','84yRCiLX','637744QIKoTM','search','17180550iwWlhZ','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','maka\x20g:kit:a','60334zmygPn','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','toString','18NdqKxw','auth','NIE'];a120c=function(){return j;};return a120c();}export default AuthGen;
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 +1 @@
1
- const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x162))/0x1*(-parseInt(o(0x14b))/0x2)+parseInt(o(0x16d))/0x3*(parseInt(o(0x14d))/0x4)+-parseInt(o(0x163))/0x5+-parseInt(o(0x157))/0x6*(-parseInt(o(0x14e))/0x7)+parseInt(o(0x176))/0x8*(parseInt(o(0x15b))/0x9)+-parseInt(o(0x184))/0xa+parseInt(o(0x159))/0xb*(-parseInt(o(0x151))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xb4171));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x156)]()['search']('(((.+)+)+)+$')['toString']()[q(0x16b)](a121a)[q(0x16e)](q(0x148));});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-0x140;let f=c[d];return f;},a121d(a,b);}import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a121c(){const u=['fsi','/imports/startup/lib','meteor/meteor','3xNBtwo','6467600FjWprd','meteor/accounts-base','accounts-password','pathFromApp','Meteor.publish','Meteor','imports','const\x20sendForgotPasswordEmail','constructor','kit/auth/service/meteor-auth-service.js','524397ekXEbv','search','react','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','return\x20\x5c(','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','index','create','2040512MyNLrg','.js','/imports/startup/lib/authentication-service','startup','meteor/maka:react-tracker','apply','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','injectIntoCodeBlock','REACT','exit','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','processAndRunGenerator','findProjectDirectory','3520340eYhHHJ','\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','AuthService','force','withValue','const\x20authenticateToken','authentication-provider','/imports/startup/client/authentication-service','checkMeteorPackage','const\x20resetPasswordWithToken','(((.+)+)+)+$','/imports/startup/client','ssr','562064dfgndr','server','8KBvdyC','133HGpDox','engines','authentication-service','14892mjvjnq','publish','\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','error','kit:auth:provider','toString','391026DJmSQM','const\x20registerNewUser','2684SRFWoK','Meteor.startup','9YPBHKN','\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','injectImport','template'];a121c=function(){return u;};return a121c();}Generator[a121r(0x175)]({'name':'meteor','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121r(0x170),'validOpts':[a121r(0x141)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x17f)]},'description':a121r(0x153)},async function(a,b){const s=a121r;try{const c=b[s(0x141)]||![];await this[s(0x15f)][s(0x146)]([s(0x165),'alanning:roles'],{'shouldInstall':!![]});const d=this[s(0x15f)][s(0x183)](),f=this[s(0x15f)]['getMakaProjectConfig'](),g=f[s(0x14f)][s(0x14a)]==='true';await a121f[s(0x182)](s(0x155),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x182)](s(0x152),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x160):s(0x149),j=this[s(0x15f)][s(0x166)]({'pathParts':[i,'','',s(0x150)]});await this['fsi'][s(0x142)](f,async()=>{const t=s;await this[t(0x15f)][t(0x15e)]({'srcPath':t(0x16c),'destPath':j+t(0x177),'framework':t(0x16f),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x15f)][s(0x166)]({'pathParts':[i,'','',s(0x144)]}),l=f[s(0x14f)]['js'];await this[s(0x15f)][s(0x15d)]({'filePath':k+'.'+l,'importName':s(0x140),'modulePath':g?s(0x178):s(0x145),'isNamedExport':![]}),await this[s(0x15f)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x17c),'begin':'const\x20authenticateUser','replace':!![]}),await this[s(0x15f)]['injectIntoCodeBlock']({'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':s(0x143),'replace':!![]}),await this[s(0x15f)][s(0x17e)]({'filePath':k+'.'+l,'content':s(0x185),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x15f)][s(0x17e)]({'filePath':k+'.'+l,'content':s(0x181),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x15f)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x17d),'begin':s(0x16a),'replace':!![]}),await this['fsi'][s(0x17e)]({'filePath':k+'.'+l,'content':s(0x172),'begin':s(0x158),'replace':!![]}),await this[s(0x15f)][s(0x17e)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x147),'replace':!![]});g&&(await this[s(0x15f)][s(0x15d)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x17a),'isNamedExport':!![]}),await this[s(0x15f)]['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':s(0x171)}));await this[s(0x15f)][s(0x15d)]({'filePath':h,'importName':s(0x168),'modulePath':s(0x161),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0x17e)]({'filePath':h,'content':s(0x173),'begin':s(0x167),'replace':!![]});const m=this[s(0x15f)][s(0x166)]({'pathParts':[s(0x169),s(0x179),s(0x14c),s(0x174)]});await this[s(0x15f)][s(0x15d)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0x164),'isNamedExport':!![]}),await this[s(0x15f)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':s(0x15c),'begin':s(0x15a),'replace':!![]});}catch(n){Log[s(0x154)](n),process[s(0x180)](0x1);}},async function(){},a121e);
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 +1 @@
1
- const a122x=a122d;function a122c(){const A=['32521HxFTnQ','true','/imports/startup/lib/authentication-provider','/imports/startup/lib','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','AuthProvider','80wzKCdV','88oudazF','2752323rGMGBU','/imports/startup/client','152976qJOOQC','2015848CViKUq','bright','engines','split','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','replaceAll','provider','ssr','injectIntoCodeBlock','create','apply','<AuthProvider>','REACT','error','toString','useContext','278931ZrxiBB','injectImport','63CUxAyB','/routes','pathFromApp','517820zJinIN','<Routes\x20history={browserHistory}/>','84648URdpZn','<Routes\x20history={history}/>','authentication-provider','template','.js','injectAroundString','\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','fsi','30LrNcYg','/imports/startup/client/authentication-provider','withValue','function\x20Routes','search','(((.+)+)+)+$','/imports/startup/client/index','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','6dQnXiF','exit','react','</AuthProvider>'];a122c=function(){return A;};return a122c();}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0x17a))/0x1*(parseInt(u(0x1a5))/0x2)+-parseInt(u(0x196))/0x3+-parseInt(u(0x19d))/0x4*(-parseInt(u(0x180))/0x5)+parseInt(u(0x176))/0x6*(-parseInt(u(0x182))/0x7)+-parseInt(u(0x185))/0x8+-parseInt(u(0x198))/0x9*(-parseInt(u(0x19b))/0xa)+-parseInt(u(0x181))/0xb*(parseInt(u(0x184))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x5524e));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x194)]()[w(0x1a9)](w(0x1aa))[w(0x194)]()[w(0x189)](a122a)[w(0x1a9)](w(0x1aa));});a122a();import{Generator}from'../../../generator.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x176;let f=c[d];return f;},a122d(a,b);}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';Generator[a122x(0x18f)]({'name':a122x(0x18c),'aliases':['p'],'usage':a122x(0x18a),'shortDesc':a122x(0x1ac),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x192)]},'description':a122x(0x1a3)},async function(a,b){const y=a122x;try{const c=b['force']||![];Log[y(0x186)](y(0x17e));const d=this[y(0x1a4)]['getMakaProjectConfig'](),f=d[y(0x187)][y(0x18d)]===y(0x17b),g={'name':headerCase(d['appName'])[y(0x18b)]('-','\x20')},h=f?y(0x17d):y(0x183),i=this[y(0x1a4)][y(0x19a)]({'pathParts':[h,'','',y(0x19f)]});await this[y(0x1a4)][y(0x1a7)](d,async()=>{const z=y;await this[z(0x1a4)][z(0x1a0)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+z(0x1a1),'framework':z(0x178),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x187)]['js'],k=h+y(0x199),l=k[y(0x188)]('/'),m=this[y(0x1a4)][y(0x19a)]({'pathParts':l});await this[y(0x1a4)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?y(0x17c):y(0x1a6),'isNamedExport':!![]}),await this[y(0x1a4)][y(0x197)]({'filePath':m+'.'+j,'importName':y(0x195),'modulePath':y(0x178),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1a4)][y(0x18e)]({'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(0x1a8)],'replace':!![]});const n=y(0x1ab),o=n[y(0x188)]('/'),p=this[y(0x1a4)][y(0x19a)]({'pathParts':o});await this[y(0x1a4)][y(0x197)]({'filePath':p+'.'+j,'importName':y(0x17f),'modulePath':f?y(0x17c):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['fsi'][y(0x1a2)]({'filePath':p+'.'+j,'aboveContent':y(0x191),'belowContent':y(0x179),'targetString':y(0x19c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q['split']('/'),s=this[y(0x1a4)][y(0x19a)]({'pathParts':r});await this[y(0x1a4)][y(0x197)]({'filePath':s+'.'+j,'importName':y(0x17f),'modulePath':f?y(0x17c):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x1a4)][y(0x1a2)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x179),'targetString':y(0x19e),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x193)](t),process[y(0x177)](0x1);}},async function(){},a122e);
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 +1 @@
1
- function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xc6;var f=c[d];return f;},a123d(a,b);}(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0xc7))/0x1+-parseInt(f(0xd4))/0x2*(parseInt(f(0xcb))/0x3)+parseInt(f(0xcd))/0x4*(-parseInt(f(0xd3))/0x5)+parseInt(f(0xd1))/0x6+parseInt(f(0xce))/0x7*(-parseInt(f(0xc6))/0x8)+-parseInt(f(0xcc))/0x9+-parseInt(f(0xc8))/0xa*(-parseInt(f(0xd2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xa30db));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a['toString']()[h(0xc9)](h(0xd5))[h(0xca)]()[h(0xd0)](a123a)[h(0xc9)](h(0xd5));});function a123c(){var i=['constructor','3668940TVLOwH','544698kUeTvS','113780hDHMIB','171330zPFnZm','(((.+)+)+)+$','8ViPQhi','374515TIdNXk','530wwmcxW','search','toString','6mHsmga','5063607pPAFob','176GaiFtF','8451625lvlgGQ','apply'];a123c=function(){return i;};return a123c();}a123a();import'./esri.generator.js';import'./map.esri.gen.js';
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 +1 @@
1
- const a124i=a124d;function a124c(){const k=['/foo/bar','6EUCEJi','6777SSbigY','Esri\x20Kit\x20generated\x20successfully','6805630aQuQXT','\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','3984XVUSOT','toString','apply','653555JZAdOf','93963cXfNzk','maka\x20g:kit:e','(((.+)+)+)+$','341454hYTdfP','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','1861741bYxNAs','/foo','search','26HXGZwi','1719216CsKaDx','constructor'];a124c=function(){return k;};return a124c();}function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x6c;let f=c[d];return f;},a124d(a,b);}(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x6c))/0x1+parseInt(f(0x71))/0x2*(parseInt(f(0x7e))/0x3)+parseInt(f(0x72))/0x4+-parseInt(f(0x7d))/0x5+parseInt(f(0x75))/0x6*(parseInt(f(0x6e))/0x7)+-parseInt(f(0x7a))/0x8*(parseInt(f(0x76))/0x9)+-parseInt(f(0x78))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x3f04e));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x7b)]()[h(0x70)](h(0x80))[h(0x7b)]()[h(0x73)](a124a)['search'](h(0x80));});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator['create']({'name':'esri','aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','noNeedResource':!![],'shortDesc':a124i(0x6d),'validOpts':[''],'isPro':!![],'examples':[a124i(0x7f)],'description':a124i(0x79)},async function(){const j=a124i;return{'success':!![],'message':j(0x77),'details':{'filesCreated':[j(0x74)],'filesUpdated':[j(0x6f)]}};},async function(){},a124e);export default EsriGen;
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 +1 @@
1
- function a125c(){const v=['react','55cvHldS','</div>','processAndRunGenerator','exit','constructor','/imports/startup/client/templates','split','apply','9WMGbrt','fsi','312wvwPJq','dir','findProjectDirectory','.js','Generating\x20a\x20map\x20component','create','injectIntoFile','search','500205MDLNcw','(((.+)+)+)+$','bright','page','basic-map','1378581ajoUdt','/imports/ui/','toString','getMakaProjectConfig','13881HsbwVR','kit/esri/map/','checkNpmPackage','replaceAll','5Gjmyvg','296458UddfGE','7301820PHOfuj','5780072sXRAzZ','Generate\x20an\x20Esri\x20map\x20component','pathFromApp','16mmKTSh','1318550VfrciS','/imports/startup/lib/templates','map','withValue','REACT','baseDir','<div\x20id=\x22map\x22>','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}'];a125c=function(){return v;};return a125c();}const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x1ad))/0x1*(parseInt(p(0x1ae))/0x2)+-parseInt(p(0x1a5))/0x3+-parseInt(p(0x1b3))/0x4*(parseInt(p(0x1a0))/0x5)+parseInt(p(0x198))/0x6*(-parseInt(p(0x1a9))/0x7)+-parseInt(p(0x1b0))/0x8+parseInt(p(0x1c5))/0x9*(-parseInt(p(0x1b4))/0xa)+-parseInt(p(0x1bd))/0xb*(-parseInt(p(0x1af))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x7630d));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x1c4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a['toString']()[r(0x19f)](r(0x1a1))[r(0x1a7)]()[r(0x1c1)](a125a)['search'](r(0x1a1));});a125a();function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x198;let f=c[d];return f;},a125d(a,b);}import{Generator}from'../../../generator.js';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[a125s(0x19d)]({'name':a125s(0x1b6),'aliases':['m'],'usage':a125s(0x1bb),'shortDesc':a125s(0x1b1),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x1b8)],'ssr':SsrEngines['FALSE']},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a125s;try{Log[t(0x1a2)](t(0x19c));const c=t(0x1a4);await this['fsi'][t(0x1ab)](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const d=this[t(0x1c6)][t(0x19a)](),f=this[t(0x1c6)][t(0x1a8)](),g=f['engines']['ssr']==='true',h=await a125f[t(0x1bf)](t(0x1a3),[t(0x1b6)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0x1ac)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1b9)]?t(0x1a6)+b['baseDir']:'/imports/ui/hooks',k=this['fsi'][t(0x1b2)]({'pathParts':[j,b[t(0x199)],paramCase(c),paramCase(c)]});await this[t(0x1c6)][t(0x1b7)](f,async()=>{const u=t;await this['fsi']['template']({'srcPath':u(0x1aa)+c+u(0x19b),'destPath':k+u(0x19b),'framework':u(0x1bc),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[t(0x1c6)]['injectTemplateModule'](c,f,l);const m=h[t(0x1c3)]('/'),n=this[t(0x1c6)]['pathFromApp']({'pathParts':m});await this['fsi']['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x1b5):t(0x1c2),'isNamedExport':!![]}),await this[t(0x1c6)][t(0x19e)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x1ba),t(0x1ba)],'end':[t(0x1be)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x1c0)](0x1);}},async function(){},a125e);
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 +1 @@
1
- function a126c(){const j=['652246NKNfRS','apply','787960uImAiQ','maka\x20{generate,\x20g}:{kit}\x20<name>','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','search','25VztQZZ','246804sDjbfF','914586gThQwr','maka\x20g:k','(((.+)+)+)+$','152410MyCayE','6498702okkQql','toString','create','kit','maka\x20g:kit','32SxHSri','1971927bhWKtF'];a126c=function(){return j;};return a126c();}const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x1a6))/0x1+parseInt(f(0x1b5))/0x2+parseInt(f(0x1ad))/0x3+-parseInt(f(0x1b0))/0x4+-parseInt(f(0x1b4))/0x5*(-parseInt(f(0x1b6))/0x6)+parseInt(f(0x1ae))/0x7*(-parseInt(f(0x1ac))/0x8)+-parseInt(f(0x1a7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x62828));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x1af)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x1a8)]()[h(0x1b3)](h(0x1b8))[h(0x1a8)]()['constructor'](a126a)[h(0x1b3)](h(0x1b8));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1a6;let f=c[d];return f;},a126d(a,b);}a126a();import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0x1a9)]({'name':a126i(0x1aa),'aliases':['k'],'usage':a126i(0x1b1),'shortDesc':a126i(0x1b2),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x1ab),a126i(0x1b7)]},async function(){});export default KitGen;
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 +1 @@
1
- (function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x11b))/0x1*(-parseInt(f(0x121))/0x2)+-parseInt(f(0x11d))/0x3+parseInt(f(0x11c))/0x4+-parseInt(f(0x122))/0x5+parseInt(f(0x125))/0x6*(-parseInt(f(0x118))/0x7)+-parseInt(f(0x11e))/0x8+parseInt(f(0x124))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x47783));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x123)]()[h(0x11f)](h(0x11a))[h(0x123)]()[h(0x119)](a127a)[h(0x11f)](h(0x11a));});a127a();function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x118;var f=c[d];return f;},a127d(a,b);}function a127c(){var i=['12036lqinxz','2874585yMwGqo','toString','7054893imemDv','7116GIZyBL','364swraaT','constructor','(((.+)+)+)+$','62PKxOmt','136900qSiJZt','107979lXTBGr','1807176aaInok','search','apply'];a127c=function(){return i;};return a127c();}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
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 +1 @@
1
- const a128I=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0x167))/0x1*(-parseInt(G(0x183))/0x2)+-parseInt(G(0x182))/0x3+-parseInt(G(0x164))/0x4+-parseInt(G(0x17d))/0x5+-parseInt(G(0x19d))/0x6*(parseInt(G(0x186))/0x7)+parseInt(G(0x199))/0x8*(-parseInt(G(0x1a2))/0x9)+parseInt(G(0x16b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x5346e));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(0x191)]()['search']('(((.+)+)+)+$')[H(0x191)]()[H(0x19c)](a128a)[H(0x194)](H(0x172));});a128a();import{Generator}from'../../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x164;let f=c[d];return f;},a128d(a,b);}import{Log}from'../../../tools/log/log.class.js';function a128c(){const M=['basic-register-page','create','(((.+)+)+)+$','injectImport','options','kit/mui/auth/logout/','split','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','true','withValue','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','baseDir','layouts','1359700YDaFRk','appName','list','processAndRunGenerator','MATERIAL','924573wtVvDS','19286SVZINg','fsi','log','1057aWNOAf','getMakaProjectConfig','injectTemplateModule','findProjectDirectory','Meteor\x20Accounts','forgot-password','replaceAll','Cleaning\x20up...','basic-forgot-password-page','/imports/startup/lib/authentication-provider','ssr','toString','logout','force','search','template','kit:auth:meteor','/imports/ui/','REACT','8392uLexEN','react','/imports/ui/pages/auth','constructor','20028JrqdyE','auth','basic-login-page','maka\x20g:k:m:f','pathFromApp','5571MHIKWe','.js','error','maka\x20generate:kit:mui:frame','engines','118436ZGiJmp','/imports/startup/client/authentication-provider','custom','6HRybEv','basic-password-reset-page','dir','AuthContext','21620690OBGHHD','kit/mui/auth/forgot-password/','route','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-logout-page'];a128c=function(){return M;};return a128c();}import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128I(0x171)]({'name':a128I(0x19e),'aliases':['a'],'usage':a128I(0x177),'shortDesc':a128I(0x17a),'validOpts':[a128I(0x17c),a128I(0x193)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128I(0x181)],'client':ClientEngines[a128I(0x198)]},'examples':[a128I(0x1a5),a128I(0x1a0)],'description':a128I(0x16e)},async function(a,b){const J=a128I;try{const c=b[J(0x193)]||![],d=this[J(0x184)][J(0x189)](),f=this[J(0x184)][J(0x187)](),{authType:g}=await Actions[J(0x174)]({'type':J(0x17f),'name':'authType','message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':J(0x18a),'value':'meteor'},{'name':'Custom\x20(roll\x20your\x20own)','value':'custom'}]}),h=J(0x19f),i=J(0x16f),j=J(0x170),k=J(0x168),l=J(0x18e),m=b[J(0x17b)]?J(0x197)+b['baseDir']:J(0x19b),n=this[J(0x184)][J(0x1a1)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[J(0x184)][J(0x1a1)]({'pathParts':[m,b[J(0x169)],paramCase(i),paramCase(i)]}),p=this[J(0x184)]['pathFromApp']({'pathParts':[m,b[J(0x169)],paramCase(j),paramCase(j)]}),q=this['fsi']['pathFromApp']({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[J(0x184)][J(0x1a1)]({'pathParts':[m,b[J(0x169)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0x17e)])[J(0x18c)]('-','\x20')};await this[J(0x184)][J(0x179)](f,async()=>{const K=J;await this[K(0x184)]['template']({'srcPath':'kit/mui/auth/login/'+h+K(0x1a3),'destPath':n+K(0x1a3),'framework':K(0x19a),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x184)]['template']({'srcPath':K(0x175)+i+K(0x1a3),'destPath':o+'.js','framework':K(0x19a),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x184)][K(0x195)]({'srcPath':'kit/mui/auth/register/'+j+K(0x1a3),'destPath':p+K(0x1a3),'framework':K(0x19a),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x184)][K(0x195)]({'srcPath':'kit/mui/auth/password-reset/'+k+K(0x1a3),'destPath':q+K(0x1a3),'framework':K(0x19a),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x184)][K(0x195)]({'srcPath':K(0x16c)+l+K(0x1a3),'destPath':r+'.js','framework':K(0x19a),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0x169)]+'/'+h+'/'+h;await this[J(0x184)][J(0x188)](h,f,t);const u=''+m+b[J(0x169)]+'/'+i+'/'+i;await this[J(0x184)][J(0x188)](i,f,u);const v=''+m+b[J(0x169)]+'/'+j+'/'+j;await this[J(0x184)][J(0x188)](j,f,v);const w=''+m+b[J(0x169)]+'/'+k+'/'+k;await this[J(0x184)][J(0x188)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[J(0x184)][J(0x188)](l,f,x),await a128e[J(0x180)](J(0x16d),['basic-login-page'],{'url':'login','cwd':d,'config':f}),await a128e[J(0x180)](J(0x16d),['basic-logout-page'],{'url':J(0x192),'private':!![],'cwd':d,'config':f}),await a128e[J(0x180)](J(0x16d),[J(0x170)],{'url':'register','cwd':d,'config':f}),await a128e[J(0x180)]('route',[J(0x168)],{'url':'reset-password/:token','cwd':d,'config':f}),await a128e[J(0x180)](J(0x16d),['basic-forgot-password-page'],{'url':J(0x18b),'cwd':d,'config':f});g==='meteor'&&await a128e[J(0x180)](J(0x196),[],{'force':c,'cwd':d,'config':f});g===J(0x166)&&await a128e[J(0x180)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const y=f[J(0x1a6)][J(0x190)]===J(0x178),z=f[J(0x1a6)]['js'],A=this[J(0x184)]['pathFromApp']({'pathParts':t[J(0x176)]('/')});await this[J(0x184)][J(0x173)]({'filePath':A+'.'+z,'importName':J(0x16a),'modulePath':y?J(0x18f):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const B=this[J(0x184)][J(0x1a1)]({'pathParts':u[J(0x176)]('/')});await this[J(0x184)][J(0x173)]({'filePath':B+'.'+z,'importName':'AuthContext','modulePath':y?J(0x18f):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[J(0x184)][J(0x1a1)]({'pathParts':v[J(0x176)]('/')});await this['fsi']['injectImport']({'filePath':C+'.'+z,'importName':J(0x16a),'modulePath':y?J(0x18f):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this[J(0x184)][J(0x1a1)]({'pathParts':w[J(0x176)]('/')});await this[J(0x184)]['injectImport']({'filePath':D+'.'+z,'importName':J(0x16a),'modulePath':y?J(0x18f):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=this[J(0x184)][J(0x1a1)]({'pathParts':x['split']('/')});await this[J(0x184)][J(0x173)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?J(0x18f):J(0x165),'isNamedExport':!![]});}catch(F){Log[J(0x1a4)](F);}},async function(){const L=a128I;console[L(0x185)](L(0x18d));},a128f);
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 +1 @@
1
- const a129D=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0x1fe))/0x1+parseInt(B(0x1ff))/0x2*(-parseInt(B(0x1f6))/0x3)+parseInt(B(0x224))/0x4+-parseInt(B(0x20c))/0x5*(parseInt(B(0x1fb))/0x6)+parseInt(B(0x20a))/0x7+parseInt(B(0x1e1))/0x8+-parseInt(B(0x1df))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x65775));const a129b=(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;};}()),a129a=a129b(this,function(){const C=a129d;return a129a[C(0x226)]()[C(0x20d)](C(0x210))['toString']()[C(0x220)](a129a)[C(0x20d)]('(((.+)+)+)+$');});a129a();function a129c(){const H=['{\x20this.props.children\x20}','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','kit/mui/frame/drawers/','</div>','REACT','Box','dir','checkMeteorPackage','error','basic-app-bar','{props.children}','engines','frame','layouts','maka\x20generate:kit:mui:frame','{this.props.children}','3TRzsKy','ssr','.js','injectTemplateModule','tsx','6vZfXcR','log','jsx','384605TdlJKr','75376TFSRXK','injectImport','tests','-hook\x22>','session','true','/imports/startup/lib/templates','getDirectories','/imports/ui/components','pathFromApp','force','5101278ObQMOH','appName','2674105LYXoGP','search','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','<div\x20id=\x22','(((.+)+)+)+$','app-tests','test','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','Cleaning\x20up...','No\x20layouts\x20selected','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','react','maka:react-tracker','join','/imports/ui/','template','maka\x20g:k:m:f','basic-drawer','{\x20props.children\x20}','baseDir','constructor','getFiles','injectIntoFile','\x20/>\x0a','1353816qTFIKI','/imports/startup/client/templates','toString','findAppDirectory','@mui/material/Container','Container','kit/mui/frame/app-bars/','7554267YNFklI','imports','3005312ckeryq','fsi','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-sticky-footer','create'];a129c=function(){return H;};return a129c();}import{Generator}from'../../../generator.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1db;let f=c[d];return f;},a129d(a,b);}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[a129D(0x1e5)]({'name':a129D(0x1f2),'aliases':['f'],'usage':a129D(0x20e),'shortDesc':a129D(0x1e7),'validOpts':[a129D(0x1f3),a129D(0x21f),a129D(0x1ec),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a129D(0x1ea)]},'examples':[a129D(0x1f4),a129D(0x21c)],'description':a129D(0x1e3)},async function(a,b){const E=a129D;try{const c=b[E(0x209)]||![],d=E(0x1ef),f=E(0x21d),g=E(0x1e4),h=this[E(0x1e2)]['getMakaProjectConfig'](),i=h[E(0x1f1)][E(0x1f7)]===E(0x204);await this[E(0x1e2)][E(0x1ed)]([E(0x203),E(0x218)],{'shouldInstall':!![]});const j=this['fsi'][E(0x1db)](),k=a129e[E(0x219)](j,E(0x1e0),'ui',E(0x1f3)),l=this[E(0x1e2)][E(0x206)](k),m=await Actions['options']({'type':'checkbox','name':E(0x1f3),'message':E(0x213),'choices':l});if(m['layouts']['length']===0x0){Log['error'](E(0x215));return;}const n=b[E(0x21f)]?E(0x21a)+b[E(0x21f)]:E(0x207),o=this[E(0x1e2)][E(0x208)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[E(0x1e2)][E(0x208)]({'pathParts':[n,b[E(0x1ec)],paramCase(f),paramCase(f)]}),q=this['fsi'][E(0x208)]({'pathParts':[n,b[E(0x1ec)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[E(0x20b)])['replaceAll']('-','\x20')};await this['fsi']['withValue'](h,async()=>{const F=E;await this[F(0x1e2)][F(0x21b)]({'srcPath':F(0x1de)+d+F(0x1f8),'destPath':o+F(0x1f8),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x1e2)][F(0x21b)]({'srcPath':F(0x1e8)+f+'.js','destPath':p+F(0x1f8),'framework':F(0x217),'context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x1e2)][F(0x21b)]({'srcPath':'kit/mui/frame/footers/'+g+F(0x1f8),'destPath':q+'.js','framework':F(0x217),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[E(0x1ec)]+'/'+d+'/'+d;await this[E(0x1e2)][E(0x1f9)](d,h,s);const t=''+n+b[E(0x1ec)]+'/'+f+'/'+f;await this[E(0x1e2)]['injectTemplateModule'](f,h,t);const u=''+n+b[E(0x1ec)]+'/'+g+'/'+g;await this[E(0x1e2)][E(0x1f9)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[E(0x1e2)][E(0x221)](a129e[E(0x219)](k,w),{'extensions':[E(0x1fd),E(0x1fa)],'omit':[E(0x211),E(0x201),E(0x212)]});for(const y of x){const z=a129e[E(0x219)](k,w,y);await this['fsi'][E(0x200)]({'filePath':z,'importName':E(0x1eb),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this[E(0x1e2)][E(0x200)]({'filePath':z,'importName':E(0x1dd),'modulePath':E(0x1dc),'isNamedExport':![]}),await this['fsi'][E(0x200)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':E(0x225),'isNamedExport':!![]}),await this['fsi'][E(0x222)]({'filePath':z,'content':'<'+pascalCase(d)+E(0x223),'begin':[E(0x20f)+w+'\x22>',E(0x20f)+w+'-hook\x22>'],'end':[E(0x1f5),E(0x1e6),E(0x1f0),E(0x21e)]}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[E(0x1e2)][E(0x222)]({'filePath':z,'content':'<'+pascalCase(f)+E(0x223),'begin':['<div\x20id=\x22'+w+'\x22>',E(0x20f)+w+E(0x202)],'end':[E(0x1f5),E(0x1e6),'{props.children}','{\x20props.children\x20}']}),await this[E(0x1e2)][E(0x222)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[E(0x1f5),E(0x1e6),E(0x1f0),E(0x21e)],'end':[E(0x1e9)]}),await this[E(0x1e2)][E(0x200)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0x205):'/imports/startup/client/templates','isNamedExport':!![]}),await this[E(0x1e2)]['injectAroundString']({'filePath':z,'aboveContent':E(0x216),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[E(0x1f5),E(0x1e6),E(0x1f0),E(0x21e)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[E(0x1ee)](A);}},async function(){const G=a129D;console[G(0x1fc)](G(0x214));},a129f);
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 +1 @@
1
- const a130i=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x1f4))/0x1*(-parseInt(g(0x1ff))/0x2)+parseInt(g(0x1fa))/0x3+parseInt(g(0x20f))/0x4*(parseInt(g(0x1f9))/0x5)+-parseInt(g(0x214))/0x6+-parseInt(g(0x208))/0x7+-parseInt(g(0x1fb))/0x8*(parseInt(g(0x204))/0x9)+parseInt(g(0x20d))/0xa*(parseInt(g(0x1f1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x87a8f));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a['toString']()[h(0x201)](h(0x203))[h(0x209)]()[h(0x205)](a130a)[h(0x201)]('(((.+)+)+)+$');});a130a();function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1f0;let f=c[d];return f;},a130d(a,b);}function a130c(){const k=['(((.+)+)+)+$','1017vMjpBe','constructor','kit:mui:auth','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','3730104ZNrXUb','toString','options','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','Material-UI\x20Kit','134580EprUtF','checkbox','705412YPpvMD','getMakaProjectConfig','Header,\x20Footer,\x20and\x20Drawer','maka\x20g:kit:m','kitChoices','2878098XFVWVd','info','1738aAhwpT','auth','frame','976637QQYrkv','mui','notice','findProjectDirectory','processAndRunGenerator','15LUVwlk','2136555yxJtfS','58248dtKAmh','kit:mui:frame','create','No\x20MUI\x20kits\x20selected.\x20Exiting.','2HYFSbb','includes','search','fsi'];a130c=function(){return k;};return a130c();}import{Generator}from'../../../generator.js';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[a130i(0x1fd)]({'name':a130i(0x1f5),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a130i(0x20c),'validOpts':[''],'isPro':!![],'examples':[a130i(0x212)]},async function(){const j=a130i;Log[j(0x1f0)](j(0x207)),Log[j(0x1f6)]('\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[j(0x20a)]({'type':j(0x20e),'name':j(0x213),'message':j(0x20b),'choices':[{'name':j(0x211),'value':j(0x1f3)},{'name':'Auth\x20workflow\x20(login,\x20logout,\x20etc.)','value':'auth'}]}),b=this[j(0x202)][j(0x1f7)](),c=this[j(0x202)][j(0x210)]();a[j(0x200)](j(0x1f3))&&await a130e[j(0x1f8)](j(0x1fc),[],{'force':!![],'cwd':b,'config':c});a[j(0x200)](j(0x1f2))&&await a130e[j(0x1f8)](j(0x206),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log['info'](j(0x1fe));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(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 +1 @@
1
- const a131o=a131d;function a131c(){const r=['theme','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','constructor','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','ramda','fsi','.css','pathFromProject','11323644SsSCYP','className','test','template','import\x20\x27./','search','4695332zApJvv','setTemplate','getMakaProjectConfig','test/test.js','findAppDirectory','withHook','.app-tests.js','3uBngxp','withHooks','split','api','withTranslations','includes','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','none','create','Scaffolding\x20for\x20a\x20React\x20Layout.','ssr','pathFromApp','572166HIyrtx','apply','resourceName','css','true','warn','dir','component/component.js','144YSmuMr','engines','toString','graphql','react','string','.js','withValue','injectTemplateModule','23874300hKyMDF','5256250XisvEU','fileName','layout','checkNpmPackage','1211906pLMsUb','template/template.css','maka\x20g:l\x20web/safari','2067658plSejW','features','(((.+)+)+)+$','installNpmPackage','hook/hook.js'];a131c=function(){return r;};return a131c();}(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0xce))/0x1+parseInt(l(0xd1))/0x2*(-parseInt(l(0xac))/0x3)+parseInt(l(0xe4))/0x4+-parseInt(l(0xca))/0x5+parseInt(l(0xde))/0x6+parseInt(l(0xb8))/0x7*(-parseInt(l(0xc0))/0x8)+parseInt(l(0xc9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xe6d82));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0xc2)]()['search'](n(0xd3))[n(0xc2)]()[n(0xd8)](a131a)[n(0xe3)]('(((.+)+)+)+$');});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';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xa7;let f=c[d];return f;},a131d(a,b);}const aliases=['l'];Generator[a131o(0xb4)]({'name':a131o(0xcc),'aliases':aliases,'usage':a131o(0xd7),'shortDesc':a131o(0xb5),'validOpts':['withHook'],'examples':['maka\x20g:layout\x20mobile/iPhone8',a131o(0xd0)]},async function(a,b){const p=a131o,c='/imports/ui/layouts',d=this['fsi'][p(0xa9)](),e=this[p(0xdb)][p(0xb7)]({'pathParts':[c,b['dir'],paramCase(b[p(0xba)]),paramCase(b[p(0xba)])]}),f=this['fsi'][p(0xa7)]();await this[p(0xdb)][p(0xc7)](f,async()=>{const q=p;typeof f[q(0xe1)][q(0xe0)]===q(0xc5)&&(f[q(0xe1)][q(0xe0)]=f[q(0xe1)]['test']===q(0xbc)?!![]:![],this[q(0xdb)][q(0xe5)](q(0xe0),f['template']['test']));typeof f[q(0xe1)][q(0xbb)]===q(0xc5)&&(f['template'][q(0xbb)]=f[q(0xe1)]['css']==='true'?!![]:![],this[q(0xdb)][q(0xe5)](q(0xbb),f[q(0xe1)][q(0xbb)]));typeof f[q(0xe1)]['js']==='string'&&(f['template']['js']=f['template']['js']===q(0xbc)?!![]:![],this[q(0xdb)]['setTemplate']('js',f['template']['js']));!f['features']&&(f['features']={});const g=b['_']?b['_'][0x0][q(0xae)](':')[0x1]:![],h=b['_']&&aliases[q(0xb1)](g);h&&!this[q(0xcd)](q(0xda))&&(Log[q(0xbd)](q(0xd9)),this[q(0xdb)][q(0xd4)](q(0xda),{'cwd':d}));if(h&&!this[q(0xcd)](q(0xc4))){Log[q(0xbd)](q(0xb2));return;}const i={'name':pascalCase(b[q(0xba)]),'myPath':a131e['relative'](this[q(0xdb)][q(0xdd)]({}),e),'cssCaseName':paramCase(b[q(0xba)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0xba)]),'graphql':f[q(0xc1)][q(0xc3)],'features':f[q(0xd2)],'client':f[q(0xc1)]['client'],'api':f[q(0xc1)][q(0xaf)],'ssr':f[q(0xc1)][q(0xb6)],'test':f[q(0xc1)][q(0xe0)],'theme':f[q(0xc1)][q(0xd6)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0xd2)][q(0xb0)]};f[q(0xd2)]?.[q(0xad)]||b[q(0xaa)]?await this['fsi'][q(0xe1)]({'srcPath':q(0xd5),'destPath':e+'.js','framework':q(0xc4),'context':i,'config':f}):await this[q(0xdb)][q(0xe1)]({'srcPath':q(0xbf),'destPath':e+q(0xc6),'framework':'react','context':i,'config':f});f[q(0xc1)]['test']!==q(0xb3)&&await this[q(0xdb)][q(0xe1)]({'srcPath':q(0xa8),'destPath':e+q(0xab),'framework':q(0xc4),'context':i,'config':f});f[q(0xe1)][q(0xbb)]&&(await this['fsi'][q(0xe1)]({'srcPath':q(0xcf),'destPath':e+q(0xdc),'context':Object['assign']({},i,{'className':paramCase(b[q(0xba)])}),'config':f}),await this[q(0xdb)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0xc1)]['js'],'content':q(0xe2)+i[q(0xcb)]+'.'+f[q(0xc1)][q(0xbb)]+'\x27;'}));const j=b[q(0xbe)]?'/'+b[q(0xbe)]+'/':'/',k=''+c+j+i[q(0xcb)]+'/'+i['fileName'];await this['fsi'][q(0xc8)](i[q(0xdf)],f,k);});});
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 +1 @@
1
- const a132h=a132d;function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a132d(a,b);}(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x1ae))/0x1*(parseInt(f(0x1bb))/0x2)+-parseInt(f(0x1bc))/0x3+-parseInt(f(0x1b2))/0x4+-parseInt(f(0x1af))/0x5*(-parseInt(f(0x1c0))/0x6)+-parseInt(f(0x1b5))/0x7*(parseInt(f(0x1b0))/0x8)+parseInt(f(0x1b7))/0x9+parseInt(f(0x1b8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x574eb));const a132b=(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;};}()),a132a=a132b(this,function(){const g=a132d;return a132a['toString']()[g(0x1b9)](g(0x1bf))[g(0x1b4)]()[g(0x1b3)](a132a)[g(0x1b9)](g(0x1bf));});a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132h(0x1be),'examples':['maka\x20generate:scaffold\x20todos','maka\x20g:scaffold\x20todos',a132h(0x1b6),a132h(0x1bd),a132h(0x1ba),a132h(0x1b1),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});function a132c(){const i=['247136lecZMS','1617429zRXFTY','maka\x20g:package\x20package:name','Scaffold\x20various\x20parts\x20of\x20your\x20application','(((.+)+)+)+$','24414HavOVq','4EOXlJM','320RTtmuU','8AIGOgg','maka\x20g:api\x20trucks','697700xXoend','constructor','toString','2874865KKMZTR','maka\x20g:template\x20todos/todo_item','5015412ZWOBiI','11584620xzMScn','search','maka\x20g:route\x20todos/edit'];a132c=function(){return i;};return a132c();}export default MakaGen;
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 +1 @@
1
- const a133l=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x13a))/0x1*(-parseInt(j(0x126))/0x2)+parseInt(j(0x134))/0x3*(-parseInt(j(0x13c))/0x4)+parseInt(j(0x123))/0x5*(parseInt(j(0x128))/0x6)+parseInt(j(0x12e))/0x7*(-parseInt(j(0x119))/0x8)+parseInt(j(0x11d))/0x9*(parseInt(j(0x129))/0xa)+parseInt(j(0x137))/0xb+parseInt(j(0x135))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x43212));const a133b=(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;};}()),a133a=a133b(this,function(){const k=a133d;return a133a[k(0x124)]()['search']('(((.+)+)+)+$')[k(0x124)]()[k(0x11e)](a133a)[k(0x131)](k(0x12a));});a133a();import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x119;let f=c[d];return f;},a133d(a,b);}import{Log}from'../tools/log/log.class.js';function a133c(){const o=['search','fsi','method/method.js','677256JQIQcp','2858472fsSeSb','-rpc-method\x27;','2014122ZldPGG','startup','appPathPrefix','395oHpdps','maka:check','8ZWDCVK','-rpc-method.','2872jgXdZg','pathFromApp','getMakaProjectConfig','imports','81dwmazb','constructor','resourceName','tsx','mdg:validated-method','engines','160295YEzJEp','toString','create','2602FPxOvz','dir','102LAtqEz','545030oDyYai','(((.+)+)+)+$','method','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','index.','4221hPOGfG','ddp-rate-limiter','withValue'];a133c=function(){return o;};return a133c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133l(0x125)]({'name':a133l(0x12b),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a133l(0x12c),'validOpts':[a133l(0x127)],'examples':['maka\x20g:method\x20todos']},async function(a,b){const m=a133l;try{const c=this['fsi'][m(0x11b)]();await this[m(0x132)][m(0x130)](c,async()=>{const n=m,d=paramCase(b[n(0x11f)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[n(0x11f)]),'noRename':!![]};let g='js';c['engines']['js']===n(0x120)&&(g='ts');await this[n(0x132)]['checkMeteorPackage']([n(0x13b),n(0x12f),n(0x121)],{'shouldInstall':!![]}),await this['fsi']['template']({'srcPath':n(0x133),'destPath':this[n(0x132)][n(0x11a)]({'pathParts':['imports',n(0x138),b[n(0x139)],'methods',b[n(0x127)],d+n(0x13d)+g]}),'context':f,'config':c});const h=b[n(0x127)]?'/'+b['dir']+'/':'/',i=this[n(0x132)][n(0x11a)]({'pathParts':[n(0x11c),n(0x138),b[n(0x139)],n(0x12d)+c[n(0x122)]['js']]});await this[n(0x132)]['injectAtEndOfFile']({'filePath':i,'content':'import\x20\x27./methods'+h+d+n(0x136)});});}catch(d){Log['error'](d);}});
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 +1 @@
1
- const a134o=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a134d(a,b);}(function(a,b){const l=a134d,c=a();while(!![]){try{const d=-parseInt(l(0x1fa))/0x1+-parseInt(l(0x1f0))/0x2+-parseInt(l(0x1e7))/0x3*(-parseInt(l(0x1f3))/0x4)+-parseInt(l(0x1e4))/0x5*(parseInt(l(0x1f5))/0x6)+-parseInt(l(0x1e8))/0x7*(-parseInt(l(0x204))/0x8)+-parseInt(l(0x202))/0x9+parseInt(l(0x200))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xd3940));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a[n(0x1ef)]()[n(0x1f4)]('(((.+)+)+)+$')[n(0x1ef)]()[n(0x1de)](a134a)[n(0x1f4)]('(((.+)+)+)+$');});a134a();function a134c(){const r=['497777GiAGqq','/client/','graphql','packages','features','lib','14967550NhlNax','ssr','2476287CJtaKB','create','16RqqCtc','fsi','package/','withValue','tests/server','layout','noRename','pathFromAppWithNoReWrite','constructor','theme','engines','package/package.js','/package.js','template','35155LtyuPp','package.js','maka\x20g:package\x20todos:package','3tBBLPz','5561178gXZhWL','package','.js','tests/client','dir','apply','resourceName','toString','1931060PkBFIz','hasOwnProperty','relative','4518040kWtAhq','search','1374XJHUQj','pathFromApp','getMakaProjectConfig','component','store'];a134c=function(){return r;};return a134c();}import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0x203)]({'name':a134o(0x1e9),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':['dir'],'examples':[a134o(0x1e6)]},async function(a,b){const p=a134o,c=paramCase(b['resourceName']),d=this[p(0x1d7)][p(0x1f6)]({'pathParts':[p(0x1fd),b['dir'],c]}),e=this[p(0x1d7)][p(0x1dd)]({'pathParts':[p(0x1fd),b[p(0x1ec)],c,p(0x1e5)]}),f=this['fsi'][p(0x1f7)]();await this[p(0x1d7)][p(0x1d9)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x1ee)]),'myPath':a134e[q(0x1f2)](this['fsi']['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x1ee)]),'className':pascalCase(b[q(0x1ee)]),'camelCaseName':camelCase(b[q(0x1ee)]),'fileName':c,'client':f['engines']['client'],'graphql':f['engines'][q(0x1fc)],'ssr':f[q(0x1e0)][q(0x201)],'isComponent':b['hasOwnProperty'](q(0x1f8)),'isLayout':b[q(0x1f1)](q(0x1db)),'isStore':b[q(0x1f1)](q(0x1f9)),'features':f[q(0x1fe)],'noRename':!![],'theme':f[q(0x1e0)][q(0x1df)]};await this[q(0x1d7)][q(0x1e3)]({'srcPath':q(0x1e1),'destPath':e,'context':g,'config':f}),g[q(0x1dc)]=![];const h=d+q(0x1fb)+c+q(0x1ea);await this['fsi'][q(0x1e3)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=[q(0x1ff),'server',q(0x1eb),q(0x1da)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x1ea);await this[q(0x1d7)][q(0x1e3)]({'srcPath':q(0x1d8)+j+q(0x1e2),'destPath':k,'context':g,'config':f});}});});
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();}