@maka/maka-cli 5.0.25 → 5.0.26

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 (166) 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/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/tool.js +1 -1
  144. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  145. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/cfg/cfg.class.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/mpi/mpi.class.js +1 -1
  157. package/bundle/obf/src/tools/options/options.class.js +1 -1
  158. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  159. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  160. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  161. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  162. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  164. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  166. package/package.json +1 -1
@@ -1 +1 @@
1
- function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x9a;let f=c[d];return f;},a116d(a,b);}const a116o=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=-parseInt(l(0xb0))/0x1+-parseInt(l(0xa2))/0x2+parseInt(l(0xd0))/0x3*(parseInt(l(0xc6))/0x4)+parseInt(l(0xac))/0x5+parseInt(l(0xab))/0x6+parseInt(l(0x9c))/0x7+parseInt(l(0xbb))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x38f50));function a116c(){const q=['engines','225897OtMrLe','/imports/ui/','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','theme','baseDir','hooks','string','setTemplate','force','cfg','659624XZffzn','css','constructor','notice','/imports/ui/components','toString','900054fVVoou','.app-tests.js','search','withTranslations','graphql','(((.+)+)+)+$','none','fileName','warn','215022nCWFqG','867125xTZRzS','pkg','projectConfig','apollo','412983vBVRiS','template','resourceName','Creating\x20','components','@apollo/client\x20isomorphic-fetch','assign','injectTemplateModule','apply','layouts','hook','3932928elxEwr','relative','scaffold','test/test.js','test','fsi','dir','error','create','findProjectDirectory','features','16BHHtot','\x20hook...','.js','.css','checkNpmPackage','@apollo/client','react','pages','hook/hook.js'];a116c=function(){return q;};return a116c();}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a116d;if(c){const e=c[m(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const n=a116d;return a116a['toString']()[n(0xa4)](n(0xa7))[n(0xa1)]()[n(0x9e)](a116a)[n(0xa4)]('(((.+)+)+)+$');});a116a();import a116e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a116o(0xc3)]({'name':a116o(0xba),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':'Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','validOpts':[{'name':'baseDir','values':[a116o(0xd5),a116o(0xb4),a116o(0xcd),a116o(0xb9)]},{'name':a116o(0x9a),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const p=a116o;Log[p(0x9f)](p(0xb3)+b['resourceName']+p(0xc7));try{await this[p(0xad)][p(0xca)](p(0xcc),{'shouldInstall':!![]});const c=this[p(0xc0)]['findAppDirectory'](),d=b[p(0xd4)]?p(0xd1)+b['baseDir']:p(0xa0),f=this['scaffold']['pathFromApp']({'pathParts':[d,b[p(0xc1)],kebabCase(b[p(0xb2)]),kebabCase(b[p(0xb2)])]}),g=this[p(0xae)];typeof g[p(0xb1)][p(0x9d)]===p(0xd6)&&this[p(0x9b)][p(0xd7)](p(0x9d),g[p(0xb1)]['css']);g[p(0xcf)]['graphql']===p(0xaf)&&!this[p(0xad)][p(0xca)](p(0xcb))&&(Log[p(0xaa)](p(0xd2)),await this[p(0xad)]['installNpmPackage'](p(0xb5),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0xb2)]),'camelCaseName':camelCase(b[p(0xb2)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b['resourceName']),'graphql':g['engines'][p(0xa6)],'theme':g['engines'][p(0xd3)],'features':g[p(0xc5)],'myPath':a116e[p(0xbc)](this[p(0xc0)][p(0xc4)](),f),'fileName':kebabCase(b['resourceName']),'isComponent':![],'isLayout':![],'withTranslations':g[p(0xc5)][p(0xa5)]};await this[p(0xbd)][p(0xb1)]({'srcPath':p(0xce),'destPath':f+p(0xc8),'context':h,'config':g,'framework':p(0xcc),'force':b['force']});g[p(0xb1)]['css']&&(await this[p(0xbd)][p(0xb1)]({'srcPath':'template/template.css','destPath':f+p(0xc9),'context':Object[p(0xb6)]({},h,{'className':h['cssCaseName']}),'config':g,'force':b[p(0x9a)]}),await this[p(0xbd)]['injectAtBeginningOfFile']({'filePath':f+'.'+g[p(0xcf)]['js'],'content':'import\x20\x27./'+h[p(0xa9)]+'.'+g[p(0xcf)][p(0x9d)]+'\x27;'}));g[p(0xcf)][p(0xbf)]!==p(0xa8)&&await this[p(0xbd)][p(0xb1)]({'srcPath':p(0xbe),'destPath':f+p(0xa3),'framework':'react','context':h,'config':g,'force':b[p(0x9a)]});const i=b[p(0xc1)]?'/'+b['dir']+'/':'/',j=''+d+i+h[p(0xa9)]+'/'+h[p(0xa9)];await this[p(0xbd)][p(0xb7)](h['className'],g,j);}catch(k){Log[p(0xc2)](k);}});
1
+ const a116o=a116d;function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x160;let f=c[d];return f;},a116d(a,b);}(function(a,b){const l=a116d,c=a();while(!![]){try{const d=parseInt(l(0x190))/0x1*(parseInt(l(0x16c))/0x2)+parseInt(l(0x16e))/0x3*(parseInt(l(0x19a))/0x4)+parseInt(l(0x166))/0x5*(parseInt(l(0x187))/0x6)+-parseInt(l(0x189))/0x7+parseInt(l(0x18f))/0x8+-parseInt(l(0x182))/0x9*(parseInt(l(0x16a))/0xa)+parseInt(l(0x191))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xe8c00));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a116d;if(c){const e=c[m(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const n=a116d;return a116a[n(0x179)]()[n(0x183)](n(0x168))['toString']()[n(0x188)](a116a)[n(0x183)](n(0x168));});a116a();import a116e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116c(){const q=['\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','hook/hook.js','5rwfiBM','template','(((.+)+)+)+$','create','9895220BLqIzt','layouts','334yGnKvt','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','12gGHqCk','engines','graphql','test/test.js','template/template.css','@apollo/client','.app-tests.js','error','findAppDirectory','force','import\x20\x27./','toString','cssCaseName','cfg','pkg','dir','fileName','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','assign','pages','9gIhZbO','search','Creating\x20','scaffold','none','2395368oIIhdx','constructor','8321999LkTQGV','findProjectDirectory','@apollo/client\x20isomorphic-fetch','notice','components','.css','1459704eAHFYo','2909VvWgYT','15923523jHZypH','relative','hooks','checkNpmPackage','apollo','injectAtBeginningOfFile','setTemplate','resourceName','react','616636VsOXMs','warn','features','/imports/ui/','css','hook','apply','baseDir','fsi','withTranslations','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','string','/imports/ui/components'];a116c=function(){return q;};return a116c();}Generator[a116o(0x169)]({'name':a116o(0x19f),'aliases':['h'],'checkWhere':![],'usage':a116o(0x161),'shortDesc':a116o(0x17f),'mustBeInMakaProject':!![],'validOpts':[{'name':a116o(0x1a1),'values':[a116o(0x193),a116o(0x18d),a116o(0x181),a116o(0x16b)]},{'name':a116o(0x177),'boolFlag':!![]}],'examples':['maka\x20g:hook\x20cool-hook'],'description':a116o(0x164)},async function(a,b){const p=a116o;Log[p(0x18c)](p(0x184)+b[p(0x198)]+'\x20hook...');try{await this[p(0x17c)][p(0x194)](p(0x199),{'shouldInstall':!![]});const c=this[p(0x1a2)][p(0x176)](),d=b[p(0x1a1)]?p(0x19d)+b[p(0x1a1)]:p(0x163),f=this['scaffold']['pathFromApp']({'pathParts':[d,b[p(0x17d)],kebabCase(b[p(0x198)]),kebabCase(b[p(0x198)])]}),g=this['projectConfig'];typeof g[p(0x167)][p(0x19e)]===p(0x162)&&this[p(0x17b)][p(0x197)](p(0x19e),g[p(0x167)]['css']);g[p(0x16f)]['graphql']===p(0x195)&&!this[p(0x17c)][p(0x194)](p(0x173))&&(Log[p(0x19b)](p(0x16d)),await this[p(0x17c)]['installNpmPackage'](p(0x18b),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x198)]),'camelCaseName':camelCase(b[p(0x198)]),'className':pascalCase(b[p(0x198)]),'name':pascalCase(b['resourceName']),'graphql':g[p(0x16f)][p(0x170)],'theme':g[p(0x16f)]['theme'],'features':g[p(0x19c)],'myPath':a116e[p(0x192)](this[p(0x1a2)][p(0x18a)](),f),'fileName':kebabCase(b[p(0x198)]),'isComponent':![],'isLayout':![],'withTranslations':g['features'][p(0x160)]};await this['scaffold'][p(0x167)]({'srcPath':p(0x165),'destPath':f+'.js','context':h,'config':g,'framework':p(0x199),'force':b[p(0x177)]});g[p(0x167)][p(0x19e)]&&(await this['scaffold'][p(0x167)]({'srcPath':p(0x172),'destPath':f+p(0x18e),'context':Object[p(0x180)]({},h,{'className':h[p(0x17a)]}),'config':g,'force':b['force']}),await this[p(0x185)][p(0x196)]({'filePath':f+'.'+g[p(0x16f)]['js'],'content':p(0x178)+h['fileName']+'.'+g[p(0x16f)]['css']+'\x27;'}));g[p(0x16f)]['test']!==p(0x186)&&await this[p(0x185)][p(0x167)]({'srcPath':p(0x171),'destPath':f+p(0x174),'framework':p(0x199),'context':h,'config':g,'force':b[p(0x177)]});const i=b['dir']?'/'+b[p(0x17d)]+'/':'/',j=''+d+i+h[p(0x17e)]+'/'+h[p(0x17e)];await this[p(0x185)]['injectTemplateModule'](h['className'],g,j);}catch(k){Log[p(0x175)](k);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0x142))/0x1*(-parseInt(f(0x13f))/0x2)+parseInt(f(0x13e))/0x3*(parseInt(f(0x140))/0x4)+parseInt(f(0x13a))/0x5*(parseInt(f(0x13b))/0x6)+-parseInt(f(0x143))/0x7+parseInt(f(0x139))/0x8+-parseInt(f(0x146))/0x9+-parseInt(f(0x144))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xe1043));function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x139;var f=c[d];return f;},a117d(a,b);}var a117b=(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;};}()),a117a=a117b(this,function(){var g=a117d;return a117a[g(0x145)]()[g(0x141)](g(0x13d))[g(0x145)]()[g(0x13c)](a117a)[g(0x141)](g(0x13d));});function a117c(){var h=['14873904XXhPur','3323960JndqDW','321530jUdiZr','168oCiyMM','constructor','(((.+)+)+)+$','8709xysiRn','40666DlSZoz','1732fWFhFC','search','4DgejDT','2312471qdlyuV','6497180ejEZbK','toString'];a117c=function(){return h;};return a117c();}a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
1
+ function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x1c8;var f=c[d];return f;},a117d(a,b);}(function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0x1d2))/0x1+parseInt(f(0x1c9))/0x2*(parseInt(f(0x1c8))/0x3)+parseInt(f(0x1cf))/0x4*(parseInt(f(0x1d6))/0x5)+-parseInt(f(0x1ce))/0x6*(-parseInt(f(0x1d7))/0x7)+parseInt(f(0x1d4))/0x8*(parseInt(f(0x1cb))/0x9)+parseInt(f(0x1cd))/0xa+-parseInt(f(0x1d0))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xcf361));function a117c(){var i=['27KwMgqv','(((.+)+)+)+$','8210440ZaHrjM','24WLbNlw','4IyGRuW','26288427kNYRkZ','constructor','1150129RJSoVe','apply','2884256OEpTJH','search','4393735kAvdwW','2172583CvufEn','109758ajcuJq','20dIsLOv','toString'];a117c=function(){return i;};return a117c();}var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0x1d3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a['toString']()[h(0x1d5)]('(((.+)+)+)+$')[h(0x1ca)]()[h(0x1d1)](a117a)[h(0x1d5)](h(0x1cc));});a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x151))/0x1+-parseInt(f(0x14c))/0x2+parseInt(f(0x14b))/0x3+parseInt(f(0x153))/0x4*(parseInt(f(0x14e))/0x5)+-parseInt(f(0x149))/0x6+parseInt(f(0x148))/0x7+parseInt(f(0x14a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x27e04));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x152)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x14d)]()[h(0x150)](h(0x14f))[h(0x14d)]()[h(0x147)](a118a)[h(0x150)](h(0x14f));});a118a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x147;var f=c[d];return f;},a118d(a,b);}function a118c(){var i=['186730kpbemN','apply','52tWIdxm','constructor','749553zIEMxI','743310azlQUY','305584rtUHeP','714786feNxlW','160746wRpIuw','toString','65685elzxYy','(((.+)+)+)+$','search'];a118c=function(){return i;};return a118c();}
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x128))/0x1+-parseInt(f(0x124))/0x2*(-parseInt(f(0x12f))/0x3)+-parseInt(f(0x12e))/0x4*(parseInt(f(0x130))/0x5)+-parseInt(f(0x12b))/0x6*(parseInt(f(0x127))/0x7)+parseInt(f(0x12c))/0x8+-parseInt(f(0x126))/0x9+parseInt(f(0x12d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xd6c1b));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x129)]()['search']('(((.+)+)+)+$')[h(0x129)]()[h(0x12a)](a118a)['search']('(((.+)+)+)+$');});a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x124;var f=c[d];return f;},a118d(a,b);}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a118c(){var i=['315036sAAtpe','6137866zgdRCl','574531NuOitR','toString','constructor','12SAFSBr','4232152hNYfnO','24510510nOolJd','20cMgbPM','33MzdBiR','1176755OENUMC','52814BRusir','apply'];a118c=function(){return i;};return a118c();}
@@ -1 +1 @@
1
- const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x13d))/0x1*(-parseInt(f(0x13b))/0x2)+parseInt(f(0x142))/0x3+parseInt(f(0x136))/0x4+-parseInt(f(0x143))/0x5+-parseInt(f(0x137))/0x6*(-parseInt(f(0x13e))/0x7)+parseInt(f(0x141))/0x8+-parseInt(f(0x13c))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xc7fb2));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const g=a119d;return a119a['toString']()[g(0x13a)](g(0x139))[g(0x138)]()['constructor'](a119a)[g(0x13a)]('(((.+)+)+)+$');});a119a();function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x135;let f=c[d];return f;},a119d(a,b);}import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator['create']({'name':a119h(0x135),'aliases':['a'],'usage':a119h(0x144),'shortDesc':a119h(0x140),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':a119h(0x145)},async function(){const i=a119h;throw i(0x13f);},async function(){},a119e);export default AuthGen;function a119c(){const j=['1146481DKjgcV','NIE','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','3427392gEskGP','2858853wzItlq','6726455Hyhhte','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','auth','4753996WrAWeE','24jdPKkw','toString','(((.+)+)+)+$','search','32vCeoJg','6805017LzBspn','19030LnvuWP'];a119c=function(){return j;};return a119c();}
1
+ const a119h=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x19f))/0x1*(-parseInt(f(0x193))/0x2)+parseInt(f(0x1a4))/0x3*(-parseInt(f(0x19e))/0x4)+-parseInt(f(0x194))/0x5+-parseInt(f(0x1a0))/0x6*(parseInt(f(0x19c))/0x7)+-parseInt(f(0x1a3))/0x8+parseInt(f(0x197))/0x9*(-parseInt(f(0x198))/0xa)+parseInt(f(0x192))/0xb*(parseInt(f(0x196))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd4bb9));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const g=a119d;return a119a[g(0x19d)]()[g(0x1a1)](g(0x1a2))[g(0x19d)]()['constructor'](a119a)[g(0x1a1)](g(0x1a2));});a119a();import{Generator}from'../../../generator.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x192;let f=c[d];return f;},a119d(a,b);}function a119c(){const i=['3hoZRom','auth','11Jkzwfq','504194QBLzqD','8540815GoCuPn','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','75377592riRDUZ','3279618cVthMI','10ZgPnAv','create','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','maka\x20g:kit:a','215432ElQdqy','toString','1122372yxYMDC','1wxkntt','240dHVMiL','search','(((.+)+)+)+$','12590544obZERw'];a119c=function(){return i;};return a119c();}import a119e from'../kit.js';const AuthGen=Generator[a119h(0x199)]({'name':a119h(0x1a5),'aliases':['a'],'usage':a119h(0x195),'shortDesc':a119h(0x19a),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a119h(0x19b)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){throw'NIE';},async function(){},a119e);export default AuthGen;
@@ -1 +1 @@
1
- function a120c(){const x=['toString','meteor/maka:react-tracker','injectIntoCodeBlock','injectIntoFile','3133580FZheSj','/imports/startup/client','findAppDirectory','5505258pvLVnF','/imports/startup/client/authentication-service','const\x20sendForgotPasswordEmail','checkMeteorPackage','const\x20authenticateUser','334838GKLUzO','\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','5353432ZrCMQK','processAndRunGenerator','1117248fcucdt','apply','engines','react','useEffect\x5c(','error','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','Accounts','/imports/startup/server/publications/auth/roles.js','injectImport','\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','create','/imports/startup/lib','imports','\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','authentication-provider','Meteor.publish','const\x20deauthenticateUser','auth/roles','const\x20registerNewUser','\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\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','const\x20getUserAuthorizations','REACT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','findProjectDirectory','\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','constructor','server','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','/imports/startup/lib/authentication-service','.js','force','Meteor.startup','meteor','publish','pathFromApp','6876464NrZlrB','search','normalize','4OfTjRn','const\x20authenticateToken','authentication-service','4887400hDQiuZ','(((.+)+)+)+$','\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','kit:auth:provider','export\x20const\x20AuthProvider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','useTracker'];a120c=function(){return x;};return a120c();}const a120v=a120d;(function(a,b){const s=a120d,c=a();while(!![]){try{const d=parseInt(s(0xb0))/0x1*(parseInt(s(0x99))/0x2)+parseInt(s(0xb4))/0x3+-parseInt(s(0xa8))/0x4+parseInt(s(0x9c))/0x5+parseInt(s(0xab))/0x6+-parseInt(s(0xb2))/0x7+-parseInt(s(0x96))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x813ea));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a120d;if(c){const e=c[t(0xb5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const u=a120d;return a120a['toString']()[u(0x97)]('(((.+)+)+)+$')[u(0xa4)]()[u(0xcf)](a120a)['search'](u(0x9d));});a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x8d;let f=c[d];return f;},a120d(a,b);}import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120v(0xbf)]({'name':a120v(0x93),'aliases':['m'],'usage':a120v(0x8e),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a120v(0xcb)]},'description':a120v(0xb1)},async function(a,b){const w=a120v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x91)]||![];await d[w(0xae)](['accounts-password'],{'shouldInstall':!![]});const i=c[w(0xcd)](),j=c[w(0xaa)](),k=g[w(0xb6)]['ssr']===w(0x93);await a120g[w(0xb3)](w(0x9f),[],{'force':h,'cwd':i,'config':g}),await a120g[w(0xb3)](w(0x94),[w(0xc6)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[w(0x98)](w(0xbc)),m=k?w(0xc0):w(0xa9),n=f[w(0x95)]({'pathParts':[m,'','',w(0x9b)]});await f['template']({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':n+w(0x90),'framework':w(0xb7),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','',w(0xc3)]}),p=g[w(0xb6)]['js'];await f['injectImport']({'filePath':o+'.'+p,'importName':'AuthService','modulePath':k?w(0x8f):w(0xac),'isNamedExport':![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xbe),'begin':w(0xaf),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xc2),'begin':w(0x9a),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xa2),'begin':w(0xca),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xcc),'begin':w(0xc5),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xc9),'begin':w(0xad),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xc8),'begin':w(0xc7),'replace':!![]}),await f[w(0xa6)]({'filePath':o+'.'+p,'content':w(0xa1),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':w(0xa3),'modulePath':w(0xa5),'isNamedExport':!![]}),await f[w(0xa7)]({'filePath':o+'.'+p,'content':w(0xce),'begin':w(0xa0),'end':w(0xb8)}));await f[w(0xbd)]({'filePath':l,'importName':'Meteor','modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await f['injectIntoCodeBlock']({'filePath':l,'content':w(0xba),'begin':w(0xc4),'replace':!![]});const q=f[w(0x95)]({'pathParts':[w(0xc1),'startup',w(0x8d),'index']});await f[w(0xbd)]({'filePath':q+'.'+p,'importName':w(0xbb),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'content':w(0x9e),'begin':w(0x92),'replace':!![]});}catch(r){Log[w(0xb9)](r),process['exit'](0x1);}},async function(){},a120f);
1
+ const a120u=a120d;function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x167;let f=c[d];return f;},a120d(a,b);}(function(a,b){const s=a120d,c=a();while(!![]){try{const d=-parseInt(s(0x193))/0x1*(-parseInt(s(0x171))/0x2)+parseInt(s(0x179))/0x3*(parseInt(s(0x170))/0x4)+parseInt(s(0x19a))/0x5*(parseInt(s(0x168))/0x6)+parseInt(s(0x187))/0x7+-parseInt(s(0x184))/0x8+parseInt(s(0x190))/0x9*(parseInt(s(0x176))/0xa)+parseInt(s(0x18d))/0xb*(-parseInt(s(0x17a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xdf493));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 t=a120d;return a120a['toString']()[t(0x18c)](t(0x18f))[t(0x1a2)]()[t(0x19f)](a120a)[t(0x18c)](t(0x18f));});a120a();import a120e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120f from'./auth.generator.js';import a120g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120u(0x1a7)]({'name':a120u(0x16d),'aliases':['m'],'usage':a120u(0x188),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a120u(0x199)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a120u(0x175)]},'description':a120u(0x19b)},async function(a,b){const v=a120u,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[v(0x199)]||![];await d[v(0x19e)]([v(0x19d)],{'shouldInstall':!![]});const i=c[v(0x194)](),j=c['findAppDirectory'](),k=g[v(0x189)][v(0x1a1)]===v(0x16d);await a120g['processAndRunGenerator']('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a120g['processAndRunGenerator']('publish',['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a120e[v(0x182)](v(0x18e)),m=k?v(0x195):v(0x1a3),n=f[v(0x1a0)]({'pathParts':[m,'','',v(0x173)]});await f[v(0x169)]({'srcPath':v(0x16b),'destPath':n+v(0x198),'framework':v(0x17c),'context':{},'config':g,'force':h,'ignore':![]});const o=f[v(0x1a0)]({'pathParts':[m,'','','authentication-provider']}),p=g[v(0x189)]['js'];await f[v(0x1a6)]({'filePath':o+'.'+p,'importName':v(0x16e),'modulePath':k?v(0x177):v(0x1a8),'isNamedExport':![]}),await f[v(0x16a)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x17b),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x186),'begin':v(0x18b),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x196),'begin':v(0x185),'replace':!![]}),await f[v(0x16a)]({'filePath':o+'.'+p,'content':v(0x181),'begin':'const\x20deauthenticateUser','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x197),'replace':!![]}),await f[v(0x16a)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x17e),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x1a9),'replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':v(0x191),'modulePath':v(0x17f),'isNamedExport':!![]}),await f[v(0x16c)]({'filePath':o+'.'+p,'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':v(0x167),'end':v(0x18a)}));await f[v(0x1a6)]({'filePath':l,'importName':'Meteor','modulePath':v(0x178),'isNamedExport':!![],'injectAtStart':!![]}),await f[v(0x16a)]({'filePath':l,'content':v(0x192),'begin':v(0x17d),'replace':!![]});const q=f[v(0x1a0)]({'pathParts':[v(0x172),v(0x1a4),v(0x19c),'index']});await f[v(0x1a6)]({'filePath':q+'.'+p,'importName':v(0x174),'modulePath':v(0x16f),'isNamedExport':!![]}),await f[v(0x16a)]({'filePath':q+'.'+p,'content':v(0x183),'begin':v(0x1a5),'replace':!![]});}catch(r){Log[v(0x180)](r),process['exit'](0x1);}},async function(){},a120f);function a120c(){const w=['react','Meteor.publish','const\x20registerNewUser','meteor/maka:react-tracker','error','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','normalize','\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','10574232cohUmU','const\x20getUserAuthorizations','\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','7939113ScWlRs','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','engines','useEffect\x5c(','const\x20authenticateToken','search','22UYQifI','/imports/startup/server/publications/auth/roles.js','(((.+)+)+)+$','369gdTrYB','useTracker','\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','118519yVYFgX','findProjectDirectory','/imports/startup/lib','\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','const\x20sendForgotPasswordEmail','.js','force','5fZqlIs','\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','server','accounts-password','checkMeteorPackage','constructor','pathFromApp','ssr','toString','/imports/startup/client','startup','Meteor.startup','injectImport','create','/imports/startup/client/authentication-service','const\x20resetPasswordWithToken','export\x20const\x20AuthProvider','8697156bzUyDV','template','injectIntoCodeBlock','kit/auth/service/meteor-auth-service.js','injectIntoFile','meteor','AuthService','meteor/accounts-base','204664XoxaTR','2eHAGtY','imports','authentication-service','Accounts','REACT','39980nJxCNP','/imports/startup/lib/authentication-service','meteor/meteor','12tuQECI','5006568XLvsmL','const\x20authenticateUser'];a120c=function(){return w;};return a120c();}
@@ -1 +1 @@
1
- const a121x=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(0x1fc))/0x1+-parseInt(u(0x1fd))/0x2+-parseInt(u(0x204))/0x3+parseInt(u(0x214))/0x4*(-parseInt(u(0x20e))/0x5)+parseInt(u(0x20b))/0x6+-parseInt(u(0x21b))/0x7+parseInt(u(0x1f2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x1bf4f));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x1eb;let f=c[d];return f;},a121d(a,b);}const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a121d;if(c){const e=c[v(0x201)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const w=a121d;return a121a['toString']()[w(0x208)](w(0x20a))[w(0x20c)]()['constructor'](a121a)['search'](w(0x20a));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121x(0x20d)]({'name':a121x(0x21e),'aliases':['p'],'usage':a121x(0x1ed),'shortDesc':a121x(0x216),'validOpts':[a121x(0x1f8)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121x(0x21c)]},'description':a121x(0x1eb)},async function(a,b){const y=a121x;try{const c=b['force']||![];Log[y(0x1f1)](y(0x1f6));const {projectConfig:d}=this,f=d[y(0x1f5)][y(0x205)]===y(0x217),g={'name':capitalCase(d[y(0x212)])},h=f?y(0x209):y(0x21d),i=this[y(0x215)][y(0x21a)]({'pathParts':[h,'','',y(0x220)]});await this['scaffold'][y(0x1ef)]({'srcPath':y(0x1f9),'destPath':i+y(0x1f4),'framework':y(0x213),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x1f5)]['js'],k=h+y(0x1fa),l=k[y(0x1ff)]('/'),m=this[y(0x215)][y(0x21a)]({'pathParts':l});await this[y(0x215)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x1f3),'modulePath':f?y(0x203):y(0x1fe),'isNamedExport':!![]}),await this[y(0x215)]['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x213),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x215)][y(0x206)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0x1ec),y(0x1ee)],'replace':!![]}),await this[y(0x215)][y(0x206)]({'filePath':m+'.'+j,'content':y(0x221),'begin':[y(0x202)],'replace':!![]});const n=y(0x218),o=n[y(0x1ff)]('/'),p=this[y(0x215)]['pathFromApp']({'pathParts':o});await this['scaffold'][y(0x207)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x203):y(0x1fe),'isNamedExport':!![]}),await this['scaffold'][y(0x219)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':'</AuthProvider>','targetString':y(0x1f0),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1fb),r=q[y(0x1ff)]('/'),s=this[y(0x215)][y(0x21a)]({'pathParts':r});await this[y(0x215)]['injectImport']({'filePath':s+'.'+j,'importName':y(0x211),'modulePath':f?y(0x203):y(0x1fe),'isNamedExport':!![]}),await this[y(0x215)][y(0x219)]({'filePath':s+'.'+j,'aboveContent':y(0x200),'belowContent':y(0x1f7),'targetString':y(0x210),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x21f)](t),process[y(0x20f)](0x1);}},async function(){},a121e);function a121c(){const z=['split','<AuthProvider>','apply','const\x20PrivateRoute','/imports/startup/lib/authentication-provider','530997PArMfF','ssr','injectIntoCodeBlock','injectImport','search','/imports/startup/lib','(((.+)+)+)+$','74502sLgQxA','toString','create','38085rhgNII','exit','<AppRoutes\x20history={history}/>','AuthProvider','appName','react','32ObCeDF','scaffold','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','meteor','/imports/startup/client/index','injectAroundString','pathFromApp','531580cDPrPs','REACT','/imports/startup/client','provider','error','authentication-provider','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','\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','const\x20useAuth','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','function\x20useAuth','template','<AppRoutes\x20/>','bright','4284272OzBXav','AuthContext','.js','engines','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','</AuthProvider>','force','kit/auth/provider/authentication-provider.js','/routes','/imports/startup/server/index','19960PsNWQp','199210oRjTVk','/imports/startup/client/authentication-provider'];a121c=function(){return z;};return a121c();}
1
+ function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x86;let f=c[d];return f;},a121d(a,b);}function a121c(){const y=['create','/imports/startup/client/index','REACT','ssr','/routes','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','<AppRoutes\x20history={history}/>','</AuthProvider>','injectAroundString','const\x20useAuth','194850dgjwIK','/imports/startup/client/authentication-provider','search','pathFromApp','<AppRoutes\x20/>','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','168400iNIKzt','/imports/startup/client','force','498594TrkYWd','exit','split','injectIntoCodeBlock','injectImport','constructor','\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','bright','AuthContext','function\x20useAuth','<AuthProvider>','error','AuthProvider','(((.+)+)+)+$','engines','useContext','/imports/startup/lib/authentication-provider','const\x20PrivateRoute','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','toString','template','7mmKYJb','.js','1060840EipXuF','scaffold','505452NRiqDi','react','kit/auth/provider/authentication-provider.js','97174cUKJqe','930276lIanqe'];a121c=function(){return y;};return a121c();}const a121w=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(0x8b))/0x1+-parseInt(u(0x97))/0x2+parseInt(u(0xa0))/0x3+parseInt(u(0x88))/0x4+parseInt(u(0x9d))/0x5+-parseInt(u(0x8c))/0x6+-parseInt(u(0xb5))/0x7*(-parseInt(u(0x86))/0x8);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x1aa91));const a121b=(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;};}()),a121a=a121b(this,function(){const v=a121d;return a121a[v(0xb3)]()[v(0x99)](v(0xad))[v(0xb3)]()[v(0xa5)](a121a)[v(0x99)](v(0xad));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0x8d)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121w(0x92),'validOpts':[a121w(0x9f)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a121w(0x8f)]},'description':a121w(0xa6)},async function(a,b){const x=a121w;try{const c=b[x(0x9f)]||![];Log[x(0xa7)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const {projectConfig:d}=this,f=d[x(0xae)][x(0x90)]==='meteor',g={'name':capitalCase(d['appName'])},h=f?'/imports/startup/lib':x(0x9e),i=this['scaffold'][x(0x9a)]({'pathParts':[h,'','','authentication-provider']});await this[x(0x87)][x(0xb4)]({'srcPath':x(0x8a),'destPath':i+x(0xb6),'framework':x(0x89),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+x(0x91),l=k['split']('/'),m=this['scaffold'][x(0x9a)]({'pathParts':l});await this['scaffold'][x(0xa4)]({'filePath':m+'.'+j,'importName':x(0xa8),'modulePath':f?x(0xb0):x(0x98),'isNamedExport':!![]}),await this[x(0x87)][x(0xa4)]({'filePath':m+'.'+j,'importName':x(0xaf),'modulePath':x(0x89),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x87)][x(0xa3)]({'filePath':m+'.'+j,'content':x(0xb2),'begin':[x(0x96),x(0xa9)],'replace':!![]}),await this[x(0x87)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':x(0x9c),'begin':[x(0xb1)],'replace':!![]});const n=x(0x8e),o=n[x(0xa2)]('/'),p=this['scaffold'][x(0x9a)]({'pathParts':o});await this[x(0x87)][x(0xa4)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0xb0):x(0x98),'isNamedExport':!![]}),await this[x(0x87)][x(0x95)]({'filePath':p+'.'+j,'aboveContent':x(0xaa),'belowContent':x(0x94),'targetString':x(0x9b),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q['split']('/'),s=this[x(0x87)]['pathFromApp']({'pathParts':r});await this['scaffold']['injectImport']({'filePath':s+'.'+j,'importName':x(0xac),'modulePath':f?x(0xb0):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x87)][x(0x95)]({'filePath':s+'.'+j,'aboveContent':x(0xaa),'belowContent':x(0x94),'targetString':x(0x93),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0xab)](t),process[x(0xa1)](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x198))/0x1+parseInt(f(0x190))/0x2*(parseInt(f(0x19a))/0x3)+-parseInt(f(0x194))/0x4*(-parseInt(f(0x19b))/0x5)+-parseInt(f(0x195))/0x6+-parseInt(f(0x191))/0x7+parseInt(f(0x196))/0x8*(parseInt(f(0x199))/0x9)+parseInt(f(0x192))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xad1fc));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x19c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x193)]()['search']('(((.+)+)+)+$')[h(0x193)]()['constructor'](a122a)[h(0x197)]('(((.+)+)+)+$');});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x190;var f=c[d];return f;},a122d(a,b);}import'./esri.generator.js';function a122c(){var i=['1136165NSdCZb','apply','38xFOQdn','4988844fsGVDH','763910YuocXU','toString','4sGepow','561936lUNeUg','776KDbdSM','search','266412UbAyol','71712gHzssf','111372mpUowz'];a122c=function(){return i;};return a122c();}import'./map.esri.gen.js';
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=-parseInt(f(0x1b3))/0x1*(-parseInt(f(0x1b5))/0x2)+-parseInt(f(0x1a8))/0x3*(parseInt(f(0x1aa))/0x4)+-parseInt(f(0x1b7))/0x5*(-parseInt(f(0x1ae))/0x6)+-parseInt(f(0x1b0))/0x7+parseInt(f(0x1ab))/0x8*(parseInt(f(0x1b1))/0x9)+-parseInt(f(0x1ac))/0xa+parseInt(f(0x1ad))/0xb*(parseInt(f(0x1af))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xad8a9));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x1a7)]()[h(0x1b6)](h(0x1a9))['toString']()[h(0x1b4)](a122a)[h(0x1b6)](h(0x1a9));});a122a();import'./esri.generator.js';import'./map.esri.gen.js';function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1a7;var f=c[d];return f;},a122d(a,b);}function a122c(){var i=['7166920GauyjD','22wvbKbd','7435410kVNivt','2685408wZJTop','4559884omoFKX','7018056rHvHPM','apply','839rGgEGM','constructor','1738kQuKAy','search','5pYsfhj','toString','3350247aOgHMy','(((.+)+)+)+$','4vQRuOE','8wYzVke'];a122c=function(){return i;};return a122c();}
@@ -1 +1 @@
1
- const a123i=a123d;function a123c(){const k=['maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','Esri\x20Kit\x20generated\x20successfully','243745cRFqoo','search','75sOktxq','1518310rRmcnT','esri','132Kdyhtt','3620dbmSCH','toString','create','9aYaPEQ','30fPcyqV','1105312ytpjsQ','4330008iaRzjd','apply','\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','183IWkNRy','(((.+)+)+)+$','58009kDZrIg','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','11OSojDp'];a123c=function(){return k;};return a123c();}function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x12d;let f=c[d];return f;},a123d(a,b);}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x12e))/0x1*(-parseInt(f(0x131))/0x2)+parseInt(f(0x13b))/0x3*(-parseInt(f(0x132))/0x4)+parseInt(f(0x142))/0x5+parseInt(f(0x136))/0x6*(parseInt(f(0x13d))/0x7)+parseInt(f(0x137))/0x8*(-parseInt(f(0x135))/0x9)+parseInt(f(0x12f))/0xa*(-parseInt(f(0x13f))/0xb)+parseInt(f(0x138))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x18a04));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x133)]()[h(0x12d)]('(((.+)+)+)+$')[h(0x133)]()['constructor'](a123a)[h(0x12d)](h(0x13c));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123i(0x134)]({'name':a123i(0x130),'aliases':['e'],'usage':a123i(0x140),'shortDesc':a123i(0x13e),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a123i(0x13a)},async function(){const j=a123i;return{'success':!![],'message':j(0x141),'details':{'filesCreated':['/foo/bar'],'filesUpdated':['/foo']}};},async function(){},a123e);export default EsriGen;
1
+ const a123h=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a123d(a,b);}(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x1cc))/0x1+-parseInt(f(0x1ce))/0x2*(parseInt(f(0x1c0))/0x3)+parseInt(f(0x1c5))/0x4+parseInt(f(0x1ca))/0x5*(parseInt(f(0x1c9))/0x6)+-parseInt(f(0x1cd))/0x7*(-parseInt(f(0x1c2))/0x8)+-parseInt(f(0x1bd))/0x9+parseInt(f(0x1c8))/0xa*(-parseInt(f(0x1c1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x1e032));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const g=a123d;return a123a[g(0x1c4)]()[g(0x1bb)]('(((.+)+)+)+$')[g(0x1c4)]()['constructor'](a123a)[g(0x1bb)](g(0x1c3));});a123a();function a123c(){const j=['352cVdcof','(((.+)+)+)+$','toString','77108WBDmyl','esri','\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','330NvrLTM','1938bppDGM','355LKiWjk','/foo','156074KJHSlg','28049OphuXw','980sLnqAX','maka\x20g:kit:e','Esri\x20Kit\x20generated\x20successfully','search','create','618309IBgZwj','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','/foo/bar','747xwCWsQ','20317TGQpey'];a123c=function(){return j;};return a123c();}import{Generator}from'../../../generator.js';import a123e from'../kit.js';const EsriGen=Generator[a123h(0x1bc)]({'name':a123h(0x1c6),'aliases':['e'],'usage':a123h(0x1be),'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a123h(0x1b9)],'description':a123h(0x1c7)},async function(){const i=a123h;return{'success':!![],'message':i(0x1ba),'details':{'filesCreated':[i(0x1bf)],'filesUpdated':[i(0x1cb)]}};},async function(){},a123e);export default EsriGen;
@@ -1 +1 @@
1
- function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xea;let f=c[d];return f;},a124d(a,b);}const a124u=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=parseInt(s(0x10e))/0x1*(parseInt(s(0x10d))/0x2)+-parseInt(s(0xff))/0x3*(parseInt(s(0x107))/0x4)+-parseInt(s(0x106))/0x5+parseInt(s(0xf4))/0x6*(-parseInt(s(0x104))/0x7)+parseInt(s(0x103))/0x8+-parseInt(s(0xef))/0x9*(parseInt(s(0xfd))/0xa)+-parseInt(s(0x101))/0xb*(-parseInt(s(0xf1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x4e09b));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const t=a124d;return a124a[t(0xee)]()[t(0xf9)](t(0x116))[t(0xee)]()['constructor'](a124a)[t(0xf9)](t(0x116));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';function a124c(){const w=['react','kit/esri/map/','Generate\x20an\x20Esri\x20map\x20component','map','2LRjNvT','34598ceFWPa','basic-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','page','appName','findProjectDirectory','baseDir','split','(((.+)+)+)+$','exit','/imports/startup/client/templates','Generating\x20a\x20map\x20component','meteor','esri-loader','.js','engines','toString','18YMKhDg','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','84wHwafZ','<div\x20id=\x22map\x22>','bright','1470kvopJG','processAndRunGenerator','template','dir','replaceAll','search','checkNpmPackage','ssr','/imports/ui/','1229400qvZtOZ','injectIntoFile','131241cFllhQ','REACT','1360337LGgExf','injectImport','3454600FWcGKG','3647MyTBnx','NONE','2100945oDNrNd','20WHsiym','pathFromApp'];a124c=function(){return w;};return a124c();}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'map','aliases':['m'],'usage':a124u(0xf0),'shortDesc':a124u(0x10b),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124u(0x100)],'ssr':SsrEngines[a124u(0x105)]},'description':a124u(0x110)},async function(a,b){const v=a124u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[v(0xf3)](v(0x119));const h=v(0x10f);await f[v(0xfa)](['@esri/react-arcgis',v(0xeb)],{'shouldInstall':!![]});const i=d[v(0x113)](),j=c[v(0xed)][v(0xfb)]===v(0xea),k=await a124f[v(0xf5)](v(0x111),[v(0x10c)],{'cwd':i,'config':c}),l={'name':capitalCase(c[v(0x112)])[v(0xf8)]('-','\x20'),'componentName':pascalCase(h)},m=b[v(0x114)]?v(0xfc)+b[v(0x114)]:'/imports/ui/hooks',n=g[v(0x108)]({'pathParts':[m,b['dir'],kebabCase(h),kebabCase(h)]});await g[v(0xf6)]({'srcPath':v(0x10a)+h+'.js','destPath':n+v(0xec),'framework':v(0x109),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[v(0xf7)]+'/'+h+'/'+h;await g['injectTemplateModule'](h,c,o);const p=k[v(0x115)]('/'),q=g[v(0x108)]({'pathParts':p});await g[v(0x102)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':v(0x118),'isNamedExport':!![]}),await g[v(0xfe)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':['<div\x20id=\x22map\x22>',v(0xf2)],'end':['</div>'],'replace':!![]});}catch(r){Log['error'](r),process[v(0x117)](0x1);}},async function(){},a124e);
1
+ const a124u=a124d;(function(a,b){const s=a124d,c=a();while(!![]){try{const d=-parseInt(s(0x11a))/0x1+-parseInt(s(0x11b))/0x2*(parseInt(s(0x115))/0x3)+-parseInt(s(0x12b))/0x4*(parseInt(s(0x11e))/0x5)+-parseInt(s(0x10f))/0x6*(-parseInt(s(0x124))/0x7)+parseInt(s(0x10c))/0x8*(parseInt(s(0x117))/0x9)+-parseInt(s(0x121))/0xa+parseInt(s(0x11f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x8cd79));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const t=a124d;return a124a[t(0x125)]()['search'](t(0x120))[t(0x125)]()[t(0x11c)](a124a)['search']('(((.+)+)+)+$');});a124a();function a124c(){const w=['NONE','419728FLtZxO','22AtARRl','constructor','esri-loader','40505epuDsQ','16984858Qebzos','(((.+)+)+)+$','910310VeIzkK','injectTemplateModule','processAndRunGenerator','2030154btjaJv','toString','dir','appName','Generate\x20an\x20Esri\x20map\x20component','Generating\x20a\x20map\x20component','<div\x20id=\x22map\x22>','84zpqLbg','template','pathFromApp','react','/imports/startup/client/templates','@esri/react-arcgis','create','ssr','injectIntoFile','/imports/startup/lib/templates','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','checkNpmPackage','REACT','map','</div>','112gUHenD','error','/imports/ui/','6sbrHVY','findProjectDirectory','/imports/ui/hooks','injectImport','.js','meteor','175917GExmsC','kit/esri/map/','44163JlRscR','baseDir'];a124c=function(){return w;};return a124c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x105;let f=c[d];return f;},a124d(a,b);}Generator[a124u(0x131)]({'name':a124u(0x10a),'aliases':['m'],'usage':a124u(0x107),'shortDesc':a124u(0x128),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124u(0x109)],'ssr':SsrEngines[a124u(0x119)]},'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 v=a124u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log['bright'](v(0x129));const h='basic-map';await f[v(0x108)]([v(0x130),v(0x11d)],{'shouldInstall':!![]});const i=d[v(0x110)](),j=c['engines'][v(0x132)]===v(0x114),k=await a124f[v(0x123)]('page',['map'],{'cwd':i,'config':c}),l={'name':capitalCase(c[v(0x127)])['replaceAll']('-','\x20'),'componentName':pascalCase(h)},m=b[v(0x118)]?v(0x10e)+b[v(0x118)]:v(0x111),n=g['pathFromApp']({'pathParts':[m,b[v(0x126)],kebabCase(h),kebabCase(h)]});await g[v(0x12c)]({'srcPath':v(0x116)+h+v(0x113),'destPath':n+v(0x113),'framework':v(0x12e),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[v(0x126)]+'/'+h+'/'+h;await g[v(0x122)](h,c,o);const p=k['split']('/'),q=g[v(0x12d)]({'pathParts':p});await g[v(0x112)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?v(0x106):v(0x12f),'isNamedExport':!![]}),await g[v(0x105)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[v(0x12a),v(0x12a)],'end':[v(0x10b)],'replace':!![]});}catch(r){Log[v(0x10d)](r),process['exit'](0x1);}},async function(){},a124e);
@@ -1 +1 @@
1
- const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0xb0))/0x1+parseInt(f(0xa2))/0x2*(parseInt(f(0xa9))/0x3)+parseInt(f(0xa8))/0x4+-parseInt(f(0xb2))/0x5*(-parseInt(f(0xa0))/0x6)+parseInt(f(0xa6))/0x7*(-parseInt(f(0xb3))/0x8)+parseInt(f(0xae))/0x9*(parseInt(f(0xa1))/0xa)+parseInt(f(0xad))/0xb*(-parseInt(f(0xb5))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x89dde));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0xa3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0xaf)]()['search'](h(0xb1))[h(0xaf)]()['constructor'](a125a)[h(0xa7)](h(0xb1));});function a125c(){const j=['maka\x20{generate,\x20g}:{kit}\x20<name>','create','2751uWQXQN','search','1094172aICuXM','110631UybBXu','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','kit','maka\x20g:k','2530aspRNV','87309kgTCFJ','toString','95018rdOXmR','(((.+)+)+)+$','1643630zljEwL','8424ogbQHA','maka\x20g:kit','37164ERkIGC','6NkkZBn','530cknOLY','26kNKFSk','apply'];a125c=function(){return j;};return a125c();}a125a();import{Generator}from'../../generator.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xa0;let f=c[d];return f;},a125d(a,b);}const KitGen=Generator[a125i(0xa5)]({'name':a125i(0xab),'aliases':['k'],'usage':a125i(0xa4),'shortDesc':a125i(0xaa),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125i(0xb4),a125i(0xac)]},async function(){});export default KitGen;
1
+ const a125h=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0x1eb))/0x1+parseInt(f(0x1e2))/0x2*(parseInt(f(0x1e6))/0x3)+-parseInt(f(0x1ec))/0x4*(-parseInt(f(0x1ef))/0x5)+parseInt(f(0x1e8))/0x6*(-parseInt(f(0x1ea))/0x7)+parseInt(f(0x1e7))/0x8+parseInt(f(0x1ee))/0x9+-parseInt(f(0x1f2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xa3d24));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const g=a125d;return a125a[g(0x1ed)]()[g(0x1e3)](g(0x1e4))[g(0x1ed)]()[g(0x1f1)](a125a)[g(0x1e3)](g(0x1e4));});a125a();function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a125d(a,b);}import{Generator}from'../../generator.js';const KitGen=Generator[a125h(0x1f3)]({'name':'kit','aliases':['k'],'usage':a125h(0x1e9),'shortDesc':a125h(0x1e5),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a125h(0x1f0),'maka\x20g:k']},async function(){});function a125c(){const i=['(((.+)+)+)+$','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','6uzeBic','1571488xVNdXt','6iURUcG','maka\x20{generate,\x20g}:{kit}\x20<name>','6234389KILRoU','614575zmXwzH','12sNMWpd','toString','8584686HcYjTa','6390ZQrzIQ','maka\x20g:kit','constructor','8188260AWMpRJ','create','611766kEKWVi','search'];a125c=function(){return i;};return a125c();}export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a126d,c=a();while(!![]){try{var d=parseInt(f(0x1f1))/0x1*(parseInt(f(0x1fc))/0x2)+-parseInt(f(0x1f3))/0x3+-parseInt(f(0x1f8))/0x4*(parseInt(f(0x1fa))/0x5)+-parseInt(f(0x1ff))/0x6+parseInt(f(0x1f4))/0x7*(-parseInt(f(0x1f6))/0x8)+parseInt(f(0x1fd))/0x9+-parseInt(f(0x1fb))/0xa*(-parseInt(f(0x1f2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x475c8));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x1f5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0x1f9)]()[h(0x1fe)]('(((.+)+)+)+$')[h(0x1f9)]()['constructor'](a126a)[h(0x1fe)](h(0x1f7));});function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x1f1;var f=c[d];return f;},a126d(a,b);}a126a();import'./mui.generator.js';import'./frame.mui.gen.js';function a126c(){var i=['124830CYKEfN','7YmGUdT','apply','2882056xdHNnm','(((.+)+)+)+$','68384vjRBND','toString','130ZehdxM','580rvOvue','142Pssdqs','4027230bJLEUW','search','2757870uLyEMc','4390RWGClh','159148RoXVqg'];a126c=function(){return i;};return a126c();}import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a126d,c=a();while(!![]){try{var d=-parseInt(f(0xbc))/0x1+parseInt(f(0xbe))/0x2+-parseInt(f(0xbd))/0x3+-parseInt(f(0xb7))/0x4+-parseInt(f(0xbf))/0x5*(-parseInt(f(0xc0))/0x6)+-parseInt(f(0xb8))/0x7+parseInt(f(0xbb))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x2d136));function a126c(){var i=['339327tYXVNk','728748uhkKyC','431912Nnnhea','909785gzvKue','6toxFQi','apply','(((.+)+)+)+$','constructor','787360lpKCxe','1515745vcSOHw','toString','search','6258680uORpGp'];a126c=function(){return i;};return a126c();}var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0xb9)]()[h(0xba)](h(0xb5))[h(0xb9)]()[h(0xb6)](a126a)[h(0xba)]('(((.+)+)+)+$');});a126a();import'./mui.generator.js';function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0xb5;var f=c[d];return f;},a126d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a127L=a127d;(function(a,b){const I=a127d,c=a();while(!![]){try{const d=-parseInt(I(0x1ac))/0x1*(-parseInt(I(0x1c1))/0x2)+parseInt(I(0x1c3))/0x3+parseInt(I(0x1b3))/0x4*(-parseInt(I(0x19f))/0x5)+-parseInt(I(0x1ad))/0x6+-parseInt(I(0x1c6))/0x7*(-parseInt(I(0x1ce))/0x8)+-parseInt(I(0x1c7))/0x9+parseInt(I(0x1ae))/0xa*(parseInt(I(0x1a6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x58dd0));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a127d;if(c){const e=c[J(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const K=a127d;return a127a[K(0x19e)]()[K(0x1a4)]('(((.+)+)+)+$')[K(0x19e)]()[K(0x1b9)](a127a)[K(0x1a4)]('(((.+)+)+)+$');});a127a();import{Generator}from'../../../generator.js';function a127c(){const O=['split','/imports/startup/client/authentication-provider','AuthContext','basic-forgot-password-page','forgot-password','baseDir','basic-register-page','register','reset-password/:token','toString','1405jdanPB','.js','/imports/ui/pages/auth','MATERIAL','Cleaning\x20up...','search','engines','4011227jGKoMP','error','kit:auth:provider','Custom\x20(roll\x20your\x20own)','meteor','layouts','55254KmWqyo','1570044CIrJkR','10BwIIdE','basic-login-page','log','pathFromApp','basic-logout-page','7004WtLiDJ','processAndRunGenerator','dir','exit','injectTemplateModule','auth','constructor','REACT','injectImport','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','maka\x20g:k:m:a','template','appName','react','8FTGtUb','ssr','1042047VGdCAY','create','/imports/startup/lib/authentication-provider','405244FeOwkP','3027249PVUvJQ','findProjectDirectory','route','logout','kit/mui/auth/forgot-password/','force','custom','72pLvraV','apply'];a127c=function(){return O;};return a127c();}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127L(0x1c4)]({'name':a127L(0x1b8),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a127L(0x1ab),a127L(0x1cc)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127L(0x1a2)],'client':ClientEngines[a127L(0x1ba)]},'examples':['maka\x20generate:kit:mui:auth',a127L(0x1bd)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const M=a127L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d[M(0x1c8)](),i=await Actions['select']({'name':'authType','message':M(0x1bc),'choices':[{'name':'Meteor\x20Accounts','value':M(0x1aa)},{'name':M(0x1a9),'value':M(0x1cd)}]}),j=M(0x1af),k='basic-logout-page',l=M(0x19b),m='basic-password-reset-page',n=M(0x198),o=b[M(0x19a)]?'/imports/ui/'+b[M(0x19a)]:M(0x1a1),p=f[M(0x1b1)]({'pathParts':[o,b[M(0x1b5)],kebabCase(j),kebabCase(j)]}),q=f[M(0x1b1)]({'pathParts':[o,b[M(0x1b5)],kebabCase(k),kebabCase(k)]}),r=f[M(0x1b1)]({'pathParts':[o,b[M(0x1b5)],kebabCase(l),kebabCase(l)]}),s=f[M(0x1b1)]({'pathParts':[o,b[M(0x1b5)],kebabCase(m),kebabCase(m)]}),t=f[M(0x1b1)]({'pathParts':[o,b['dir'],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x1bf)])};await f[M(0x1be)]({'srcPath':'kit/mui/auth/login/'+j+M(0x1a0),'destPath':p+'.js','framework':M(0x1c0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1be)]({'srcPath':'kit/mui/auth/logout/'+k+M(0x1a0),'destPath':q+M(0x1a0),'framework':M(0x1c0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1be)]({'srcPath':'kit/mui/auth/register/'+l+M(0x1a0),'destPath':r+M(0x1a0),'framework':M(0x1c0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1be)]({'srcPath':'kit/mui/auth/password-reset/'+m+M(0x1a0),'destPath':s+M(0x1a0),'framework':M(0x1c0),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1be)]({'srcPath':M(0x1cb)+n+M(0x1a0),'destPath':t+'.js','framework':M(0x1c0),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x1b5)]+'/'+j+'/'+j;await f[M(0x1b7)](j,c,v);const w=''+o+b[M(0x1b5)]+'/'+k+'/'+k;await f['injectTemplateModule'](k,c,w);const x=''+o+b[M(0x1b5)]+'/'+l+'/'+l;await f['injectTemplateModule'](l,c,x);const y=''+o+b[M(0x1b5)]+'/'+m+'/'+m;await f[M(0x1b7)](m,c,y);const z=''+o+b[M(0x1b5)]+'/'+n+'/'+n;await f[M(0x1b7)](n,c,z),await a127e[M(0x1b4)](M(0x1c9),['basic-login-page'],{'route':'login','cwd':h,'config':c}),await a127e[M(0x1b4)](M(0x1c9),[M(0x1b2)],{'route':M(0x1ca),'private':!![],'cwd':h,'config':c}),await a127e[M(0x1b4)](M(0x1c9),[M(0x19b)],{'route':M(0x19c),'cwd':h,'config':c}),await a127e[M(0x1b4)](M(0x1c9),['basic-password-reset-page'],{'route':M(0x19d),'cwd':h,'config':c}),await a127e[M(0x1b4)](M(0x1c9),[M(0x198)],{'route':M(0x199),'cwd':h,'config':c});i==='meteor'&&await a127e[M(0x1b4)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0x1cd)&&await a127e['processAndRunGenerator'](M(0x1a8),[],{'force':g,'cwd':h,'config':c});const A=c['engines'][M(0x1c2)]===M(0x1aa),B=c[M(0x1a5)]['js'],C=f[M(0x1b1)]({'pathParts':v[M(0x1d0)]('/')});await f[M(0x1bb)]({'filePath':C+'.'+B,'importName':M(0x197),'modulePath':A?M(0x1c5):M(0x196),'isNamedExport':!![]});const D=f['pathFromApp']({'pathParts':w[M(0x1d0)]('/')});await f[M(0x1bb)]({'filePath':D+'.'+B,'importName':M(0x197),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x196),'isNamedExport':!![]});const E=f[M(0x1b1)]({'pathParts':x[M(0x1d0)]('/')});await f[M(0x1bb)]({'filePath':E+'.'+B,'importName':M(0x197),'modulePath':A?'/imports/startup/lib/authentication-provider':M(0x196),'isNamedExport':!![]});const F=f['pathFromApp']({'pathParts':y[M(0x1d0)]('/')});await f[M(0x1bb)]({'filePath':F+'.'+B,'importName':M(0x197),'modulePath':A?M(0x1c5):M(0x196),'isNamedExport':!![]});const G=f[M(0x1b1)]({'pathParts':z['split']('/')});await f[M(0x1bb)]({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?M(0x1c5):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log[M(0x1a7)](H),process[M(0x1b6)](0x1);}},async function(){const N=a127L;console[N(0x1b0)](N(0x1a3));},a127f);function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x196;let f=c[d];return f;},a127d(a,b);}export default a127f;
1
+ const a127K=a127d;function a127c(){const N=['(((.+)+)+)+$','basic-login-page','error','force','3987770TETBLH','maka\x20generate:kit:mui:auth','layouts','basic-register-page','meteor','3155901csQXvQ','4BkYQxV','REACT','forgot-password','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','processAndRunGenerator','.js','ssr','36UNKeQC','MATERIAL','logout','18akZvTb','constructor','toString','appName','pathFromApp','auth','Cleaning\x20up...','injectImport','custom','dir','AuthContext','Meteor\x20Accounts','kit/mui/auth/register/','template','203594gFjRoy','kit/mui/auth/logout/','1570135xGjNel','search','maka\x20g:k:m:a','baseDir','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','kit/mui/auth/password-reset/','/imports/startup/lib/authentication-provider','2174228mvshHR','react','kit:auth:provider','3431854LcpBkJ','basic-logout-page','basic-password-reset-page','engines','Custom\x20(roll\x20your\x20own)','exit','login','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','8322432hVPWAd','basic-forgot-password-page','/imports/ui/','reset-password/:token','route','kit/mui/auth/login/','split','/imports/startup/client/authentication-provider','injectTemplateModule','findProjectDirectory','kit:auth:meteor'];a127c=function(){return N;};return a127c();}(function(a,b){const I=a127d,c=a();while(!![]){try{const d=-parseInt(I(0x18e))/0x1+-parseInt(I(0x19a))/0x2+-parseInt(I(0x1b6))/0x3*(-parseInt(I(0x1b7))/0x4)+-parseInt(I(0x190))/0x5*(-parseInt(I(0x1c1))/0x6)+parseInt(I(0x197))/0x7+-parseInt(I(0x1a2))/0x8+-parseInt(I(0x1be))/0x9*(-parseInt(I(0x1b1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xe579f));const a127b=(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;};}()),a127a=a127b(this,function(){const J=a127d;return a127a['toString']()[J(0x191)]('(((.+)+)+)+$')[J(0x182)]()[J(0x1c2)](a127a)[J(0x191)](J(0x1ad));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x182;let f=c[d];return f;},a127d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127K(0x185),'aliases':['a'],'usage':a127K(0x194),'shortDesc':a127K(0x1ba),'validOpts':[a127K(0x1b3),a127K(0x1b0)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a127K(0x1bf)],'client':ClientEngines[a127K(0x1b8)]},'examples':[a127K(0x1b2),a127K(0x192)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const L=a127K;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[L(0x1b0)]||![],h=d[L(0x1ab)](),i=await Actions['select']({'name':'authType','message':L(0x1a1),'choices':[{'name':L(0x18b),'value':L(0x1b5)},{'name':L(0x19e),'value':'custom'}]}),j=L(0x1ae),k=L(0x19b),l='basic-register-page',m=L(0x19c),n=L(0x1a3),o=b[L(0x193)]?L(0x1a4)+b[L(0x193)]:'/imports/ui/pages/auth',p=f['pathFromApp']({'pathParts':[o,b['dir'],kebabCase(j),kebabCase(j)]}),q=f[L(0x184)]({'pathParts':[o,b[L(0x189)],kebabCase(k),kebabCase(k)]}),r=f[L(0x184)]({'pathParts':[o,b[L(0x189)],kebabCase(l),kebabCase(l)]}),s=f['pathFromApp']({'pathParts':[o,b['dir'],kebabCase(m),kebabCase(m)]}),t=f[L(0x184)]({'pathParts':[o,b[L(0x189)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[L(0x183)])};await f['template']({'srcPath':L(0x1a7)+j+L(0x1bc),'destPath':p+L(0x1bc),'framework':L(0x198),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x18d)]({'srcPath':L(0x18f)+k+L(0x1bc),'destPath':q+L(0x1bc),'framework':L(0x198),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x18d)]({'srcPath':L(0x18c)+l+'.js','destPath':r+L(0x1bc),'framework':L(0x198),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x18d)]({'srcPath':L(0x195)+m+L(0x1bc),'destPath':s+L(0x1bc),'framework':L(0x198),'context':u,'config':c,'force':g,'ignore':![]}),await f[L(0x18d)]({'srcPath':'kit/mui/auth/forgot-password/'+n+L(0x1bc),'destPath':t+L(0x1bc),'framework':L(0x198),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[L(0x189)]+'/'+j+'/'+j;await f[L(0x1aa)](j,c,v);const w=''+o+b[L(0x189)]+'/'+k+'/'+k;await f[L(0x1aa)](k,c,w);const x=''+o+b[L(0x189)]+'/'+l+'/'+l;await f[L(0x1aa)](l,c,x);const y=''+o+b['dir']+'/'+m+'/'+m;await f[L(0x1aa)](m,c,y);const z=''+o+b['dir']+'/'+n+'/'+n;await f[L(0x1aa)](n,c,z),await a127e[L(0x1bb)](L(0x1a6),[L(0x1ae)],{'route':L(0x1a0),'cwd':h,'config':c}),await a127e[L(0x1bb)](L(0x1a6),[L(0x19b)],{'route':L(0x1c0),'private':!![],'cwd':h,'config':c}),await a127e[L(0x1bb)](L(0x1a6),[L(0x1b4)],{'route':'register','cwd':h,'config':c}),await a127e[L(0x1bb)](L(0x1a6),[L(0x19c)],{'route':L(0x1a5),'cwd':h,'config':c}),await a127e['processAndRunGenerator'](L(0x1a6),['basic-forgot-password-page'],{'route':L(0x1b9),'cwd':h,'config':c});i===L(0x1b5)&&await a127e['processAndRunGenerator'](L(0x1ac),[],{'force':g,'cwd':h,'config':c});i===L(0x188)&&await a127e[L(0x1bb)](L(0x199),[],{'force':g,'cwd':h,'config':c});const A=c[L(0x19d)][L(0x1bd)]===L(0x1b5),B=c['engines']['js'],C=f[L(0x184)]({'pathParts':v[L(0x1a8)]('/')});await f[L(0x187)]({'filePath':C+'.'+B,'importName':L(0x18a),'modulePath':A?L(0x196):L(0x1a9),'isNamedExport':!![]});const D=f[L(0x184)]({'pathParts':w[L(0x1a8)]('/')});await f[L(0x187)]({'filePath':D+'.'+B,'importName':L(0x18a),'modulePath':A?L(0x196):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const E=f[L(0x184)]({'pathParts':x[L(0x1a8)]('/')});await f['injectImport']({'filePath':E+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':L(0x1a9),'isNamedExport':!![]});const F=f[L(0x184)]({'pathParts':y[L(0x1a8)]('/')});await f[L(0x187)]({'filePath':F+'.'+B,'importName':L(0x18a),'modulePath':A?L(0x196):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const G=f[L(0x184)]({'pathParts':z[L(0x1a8)]('/')});await f[L(0x187)]({'filePath':G+'.'+B,'importName':L(0x18a),'modulePath':A?L(0x196):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log[L(0x1af)](H),process[L(0x19f)](0x1);}},async function(){const M=a127K;console['log'](M(0x186));},a127f);export default a127f;
@@ -1 +1 @@
1
- function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x11d;let f=c[d];return f;},a128d(a,b);}const a128H=a128d;(function(a,b){const E=a128d,c=a();while(!![]){try{const d=-parseInt(E(0x148))/0x1+-parseInt(E(0x133))/0x2+-parseInt(E(0x11d))/0x3*(-parseInt(E(0x131))/0x4)+-parseInt(E(0x15c))/0x5+parseInt(E(0x125))/0x6*(parseInt(E(0x156))/0x7)+parseInt(E(0x13c))/0x8+parseInt(E(0x149))/0x9*(-parseInt(E(0x141))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xeca0e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a128d;if(c){const e=c[F(0x155)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const G=a128d;return a128a['toString']()['search'](G(0x150))['toString']()[G(0x122)](a128a)['search'](G(0x150));});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'path';import a128f from'./mui.generator.js';function a128c(){const K=['injectTemplateModule','frame','apply','197071pweLyY','.js','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','/imports/ui/components','meteor','injectAroundString','339620dPEZmL','baseDir','pathFromApp','</div>','tsx','engines','/imports/startup/client/templates','180uArweY','<Outlet\x20/>','<Outlet/>','<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>','dir','constructor','/imports/startup/lib/templates','injectIntoFile','222MNNLYj','imports','@mui/material/Container','@mui/material/Box','test','/imports/ui/','Container','kit/mui/frame/drawers/','getFiles','tests','appName','error','67800zbUVaF','react','419538BmtnrX','injectImport','kit/mui/frame/footers/','checkbox','jsx','layouts','force','maka\x20g:k:m:f','create','5657304Qlgsag','app-tests','-hook\x22>','basic-sticky-footer','findAppDirectory','2076610NcRevC','Box','Cleaning\x20up...','getDirectories','REACT','checkMeteorPackage','\x20/>\x0a','1311240qYLPcF','9MjZHwj','template','<div\x20id=\x22','map','basic-drawer','session','maka:react-tracker','(((.+)+)+)+$','kit/mui/frame/app-bars/','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'];a128c=function(){return K;};return a128c();}import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128H(0x13b)]({'name':a128H(0x154),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a128H(0x138),'baseDir',a128H(0x121),a128H(0x139)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a128H(0x145)]},'examples':['maka\x20generate:kit:mui:frame',a128H(0x13a)],'description':a128H(0x152)},async function(a,b){const I=a128H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i='basic-app-bar',j=I(0x14d),k=I(0x13f),l=c[I(0x161)]['ssr']===I(0x15a);await f[I(0x146)]([I(0x14e),I(0x14f)],{'shouldInstall':!![]});const m=d[I(0x140)](),n=a128e['join'](m,I(0x126),'ui','layouts'),o=d[I(0x144)](n),p=o[I(0x14c)](z=>({'name':z,'value':z})),q=await Actions[I(0x136)]({'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','name':I(0x138),'choices':p});if(q['length']===0x0){Log['error']('No\x20layouts\x20selected');return;}const r=b[I(0x15d)]?I(0x12a)+b[I(0x15d)]:I(0x159),s=g[I(0x15e)]({'pathParts':[r,b[I(0x121)],kebabCase(i),kebabCase(i)]}),t=g['pathFromApp']({'pathParts':[r,b[I(0x121)],kebabCase(j),kebabCase(j)]}),u=g[I(0x15e)]({'pathParts':[r,b['dir'],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x12f)])};await g[I(0x14a)]({'srcPath':I(0x151)+i+'.js','destPath':s+I(0x157),'framework':I(0x132),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x14a)]({'srcPath':I(0x12c)+j+I(0x157),'destPath':t+I(0x157),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x14a)]({'srcPath':I(0x135)+k+I(0x157),'destPath':u+'.js','framework':I(0x132),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x121)]+'/'+i+'/'+i;await g['injectTemplateModule'](i,c,w);const x=''+r+b[I(0x121)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b[I(0x121)]+'/'+k+'/'+k;await g[I(0x153)](k,c,y);for(const z of q){const A=d[I(0x12d)](a128e['join'](n,z),{'extensions':[I(0x137),I(0x160)],'omit':[I(0x13d),I(0x12e),I(0x129)]});for(const B of A){const C=a128e['join'](n,z,B);await g[I(0x134)]({'filePath':C,'importName':I(0x142),'modulePath':I(0x128),'isNamedExport':![]}),await g[I(0x134)]({'filePath':C,'importName':I(0x12b),'modulePath':I(0x127),'isNamedExport':![]}),await g[I(0x134)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x123):I(0x162),'isNamedExport':!![]}),await g[I(0x124)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':['<div\x20id=\x22'+z+'\x22>',I(0x14b)+z+I(0x13e)],'end':['<Outlet/>',I(0x11e)]}),await g[I(0x134)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?'/imports/startup/lib/templates':I(0x162),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+I(0x147),'begin':[I(0x14b)+z+'\x22>',I(0x14b)+z+'-hook\x22>'],'end':[I(0x11f),I(0x11e)]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(k)+I(0x147),'begin':[I(0x11f),I(0x11e)],'end':[I(0x15f)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(k),'modulePath':l?'/imports/startup/lib/templates':I(0x162),'isNamedExport':!![]}),await g[I(0x15b)]({'filePath':C,'aboveContent':I(0x120),'belowContent':I(0x158),'targetString':[I(0x11f),I(0x11e)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x130)](D);}},async function(){const J=a128H;console['log'](J(0x143));},a128f);
1
+ function a128c(){const K=['.js','876UPQBCh','/imports/ui/components','create','Container','tsx','checkMeteorPackage','kit/mui/frame/app-bars/','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','<Outlet\x20/>','log','imports','injectTemplateModule','injectIntoFile','toString','12rjZwEU','@mui/material/Container','pathFromApp','(((.+)+)+)+$','engines','3149159LSLCoq','5784CpIzQs','697455biNGZY','basic-sticky-footer','/imports/startup/lib/templates','injectAroundString','93HmCneY','react','maka\x20generate:kit:mui:frame','join','Cleaning\x20up...','<div\x20id=\x22','@mui/material/Box','appName','REACT','jsx','775496kOhfKI','14VzxbGc','search','maka\x20g:k:m:f','maka:react-tracker','session','2362698QjDFRT','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','</div>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','MATERIAL','<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>','60tudjmA','map','injectImport','length','meteor','checkbox','/imports/ui/','template','getFiles','error','ssr','<Outlet/>','force','layouts','basic-app-bar','-hook\x22>','46476vRZqZm','dir','80WyZFAq','apply','No\x20layouts\x20selected','baseDir','kit/mui/frame/drawers/','test','tests','15862byzIyw','constructor','/imports/startup/client/templates','\x20/>\x0a'];a128c=function(){return K;};return a128c();}const a128H=a128d;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x154;let f=c[d];return f;},a128d(a,b);}(function(a,b){const E=a128d,c=a();while(!![]){try{const d=-parseInt(E(0x17b))/0x1*(-parseInt(E(0x15d))/0x2)+-parseInt(E(0x176))/0x3*(parseInt(E(0x162))/0x4)+-parseInt(E(0x156))/0x5*(parseInt(E(0x154))/0x6)+parseInt(E(0x186))/0x7*(-parseInt(E(0x185))/0x8)+parseInt(E(0x18b))/0x9+-parseInt(E(0x191))/0xa*(-parseInt(E(0x177))/0xb)+-parseInt(E(0x170))/0xc*(parseInt(E(0x175))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x613aa));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a128d;if(c){const e=c[F(0x157)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const G=a128d;return a128a[G(0x16f)]()[G(0x187)](G(0x173))['toString']()[G(0x15e)](a128a)[G(0x187)](G(0x173));});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'path';import a128f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128H(0x164)]({'name':'frame','aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a128H(0x18c),'validOpts':[a128H(0x19e),a128H(0x159),'dir',a128H(0x19d)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a128H(0x18f)],'client':ClientEngines[a128H(0x183)]},'examples':[a128H(0x17d),a128H(0x188)],'description':a128H(0x18e)},async function(a,b){const I=a128H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x19d)]||![],i=I(0x19f),j='basic-drawer',k=I(0x178),l=c[I(0x174)][I(0x19b)]===I(0x195);await f[I(0x167)]([I(0x18a),I(0x189)],{'shouldInstall':!![]});const m=d['findAppDirectory'](),n=a128e[I(0x17e)](m,I(0x16c),'ui','layouts'),o=d['getDirectories'](n),p=o[I(0x192)](z=>({'name':z,'value':z})),q=await Actions[I(0x196)]({'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','name':I(0x19e),'choices':p});if(q[I(0x194)]===0x0){Log[I(0x19a)](I(0x158));return;}const r=b[I(0x159)]?I(0x197)+b[I(0x159)]:I(0x163),s=g[I(0x172)]({'pathParts':[r,b[I(0x155)],kebabCase(i),kebabCase(i)]}),t=g[I(0x172)]({'pathParts':[r,b[I(0x155)],kebabCase(j),kebabCase(j)]}),u=g[I(0x172)]({'pathParts':[r,b[I(0x155)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x182)])};await g[I(0x198)]({'srcPath':I(0x168)+i+I(0x161),'destPath':s+I(0x161),'framework':I(0x17c),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':I(0x15a)+j+'.js','destPath':t+I(0x161),'framework':I(0x17c),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':'kit/mui/frame/footers/'+k+I(0x161),'destPath':u+I(0x161),'framework':I(0x17c),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x155)]+'/'+i+'/'+i;await g['injectTemplateModule'](i,c,w);const x=''+r+b[I(0x155)]+'/'+j+'/'+j;await g[I(0x16d)](j,c,x);const y=''+r+b[I(0x155)]+'/'+k+'/'+k;await g[I(0x16d)](k,c,y);for(const z of q){const A=d[I(0x199)](a128e[I(0x17e)](n,z),{'extensions':[I(0x184),I(0x166)],'omit':['app-tests',I(0x15c),I(0x15b)]});for(const B of A){const C=a128e['join'](n,z,B);await g[I(0x193)]({'filePath':C,'importName':'Box','modulePath':I(0x181),'isNamedExport':![]}),await g[I(0x193)]({'filePath':C,'importName':I(0x165),'modulePath':I(0x171),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x179):I(0x15f),'isNamedExport':!![]}),await g[I(0x16e)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x160),'begin':[I(0x180)+z+'\x22>',I(0x180)+z+'-hook\x22>'],'end':['<Outlet/>','<Outlet\x20/>']}),await g[I(0x193)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0x179):I(0x15f),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(j)+I(0x160),'begin':['<div\x20id=\x22'+z+'\x22>',I(0x180)+z+I(0x1a0)],'end':[I(0x19c),'<Outlet\x20/>']}),await g[I(0x16e)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x160),'begin':[I(0x19c),I(0x16a)],'end':[I(0x18d)]}),await g[I(0x193)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x179):I(0x15f),'isNamedExport':!![]}),await g[I(0x17a)]({'filePath':C,'aboveContent':I(0x190),'belowContent':I(0x169),'targetString':[I(0x19c),'<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x19a)](D);}},async function(){const J=a128H;console[J(0x16b)](J(0x17f));},a128f);
@@ -1 +1 @@
1
- const a129j=a129d;function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xaf;let f=c[d];return f;},a129d(a,b);}(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0xbb))/0x1+parseInt(g(0xbd))/0x2+parseInt(g(0xaf))/0x3*(parseInt(g(0xb6))/0x4)+-parseInt(g(0xd1))/0x5*(parseInt(g(0xd3))/0x6)+parseInt(g(0xb1))/0x7+parseInt(g(0xd0))/0x8*(parseInt(g(0xc2))/0x9)+-parseInt(g(0xba))/0xa*(parseInt(g(0xcd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xc3ce2));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a129d;if(c){const e=c[h(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const i=a129d;return a129a[i(0xc6)]()['search'](i(0xc4))['toString']()[i(0xd2)](a129a)[i(0xc8)](i(0xc4));});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';function a129c(){const l=['15FuXcJO','constructor','2370270vImVFl','checkbox','Material-UI\x20Kit','21LXZZyO','\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','6290823DvvOeA','auth','error','cfg','exit','82944PlTLLE','create','getMakaProjectConfig','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','11244470oToADt','255388xGPLpn','apply','3204122OWeqcY','length','notice','kit:mui:frame','findProjectDirectory','1593wDMjAC','info','(((.+)+)+)+$','includes','toString','frame','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','kitChoices','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','processAndRunGenerator','22WCOGSM','maka\x20g:kit:m','No\x20MUI\x20kits\x20selected.\x20Exiting.','60328BTkTdZ'];a129c=function(){return l;};return a129c();}import a129f from'../kit.js';const MuiGen=Generator[a129j(0xb7)]({'name':'mui','aliases':['m'],'usage':a129j(0xc9),'resourceNameRequired':![],'shortDesc':a129j(0xd5),'validOpts':[''],'isPro':!![],'examples':[a129j(0xce)]},async function(){const k=a129j;try{Log[k(0xc3)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0xbf)](k(0xb0));const a=await Actions[k(0xd4)]({'message':k(0xcb),'name':k(0xca),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':'frame'},{'name':k(0xb9),'value':'auth'}]}),b=this['fsi'][k(0xc1)](),c=this[k(0xb4)][k(0xb8)]();a[k(0xc5)](k(0xc7))&&await a129e['processAndRunGenerator'](k(0xc0),[],{'force':!![],'cwd':b,'config':c});a[k(0xc5)](k(0xb2))&&await a129e[k(0xcc)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0xbe)]===0x0){Log['info'](k(0xcf));return;}}catch(d){Log[k(0xb3)](d),process[k(0xb5)](0x1);}},async function(){},a129f);export default MuiGen;
1
+ const a129i=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0x115))/0x1*(parseInt(g(0x129))/0x2)+-parseInt(g(0x11e))/0x3*(-parseInt(g(0x12c))/0x4)+-parseInt(g(0x105))/0x5*(parseInt(g(0x12a))/0x6)+-parseInt(g(0x123))/0x7+-parseInt(g(0x10e))/0x8+-parseInt(g(0x11c))/0x9+parseInt(g(0x12b))/0xa*(parseInt(g(0x11b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xaee81));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 h=a129d;return a129a[h(0x109)]()[h(0x111)]('(((.+)+)+)+$')[h(0x109)]()[h(0x10a)](a129a)[h(0x111)](h(0x116));});a129a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129c(){const k=['5NxEDfE','(((.+)+)+)+$','auth','info','maka\x20g:kit:m','length','55lsrZGZ','11383272myXEdv','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','3ChAZlP','Material-UI\x20Kit','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','\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','notice','168994HahDGd','error','includes','frame','create','getMakaProjectConfig','493226oEEDFW','2964OWHerJ','1622020wcVeuQ','4611412SankWX','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','680KniHsr','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','fsi','kit:mui:frame','toString','constructor','mui','kit:mui:auth','No\x20MUI\x20kits\x20selected.\x20Exiting.','8995016ErSAUf','checkbox','Header,\x20Footer,\x20and\x20Drawer','search','kitChoices','exit','processAndRunGenerator'];a129c=function(){return k;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x105;let f=c[d];return f;},a129d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator[a129i(0x127)]({'name':a129i(0x10b),'aliases':['m'],'usage':a129i(0x12d),'resourceNameRequired':![],'shortDesc':a129i(0x11f),'validOpts':[''],'isPro':!![],'examples':[a129i(0x119)]},async function(){const j=a129i;try{Log[j(0x118)](j(0x11d)),Log[j(0x122)](j(0x121));const a=await Actions[j(0x10f)]({'message':j(0x120),'name':j(0x112),'choices':[{'name':j(0x110),'value':j(0x126)},{'name':j(0x106),'value':j(0x117)}]}),b=this[j(0x107)]['findProjectDirectory'](),c=this['cfg'][j(0x128)]();a[j(0x125)](j(0x126))&&await a129e[j(0x114)](j(0x108),[],{'force':!![],'cwd':b,'config':c});a[j(0x125)](j(0x117))&&await a129e[j(0x114)](j(0x10c),[],{'force':!![],'cwd':b,'config':c});if(a[j(0x11a)]===0x0){Log[j(0x118)](j(0x10d));return;}}catch(d){Log[j(0x124)](d),process[j(0x113)](0x1);}},async function(){},a129f);export default MuiGen;
@@ -1 +1 @@
1
- const a130s=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x144;let f=c[d];return f;},a130d(a,b);}(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0x15f))/0x1*(-parseInt(p(0x171))/0x2)+-parseInt(p(0x154))/0x3*(-parseInt(p(0x174))/0x4)+parseInt(p(0x161))/0x5*(parseInt(p(0x16c))/0x6)+parseInt(p(0x15e))/0x7+-parseInt(p(0x163))/0x8+-parseInt(p(0x179))/0x9+parseInt(p(0x16e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x22e7f));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a130d;if(c){const e=c[q(0x14e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const r=a130d;return a130a[r(0x150)]()[r(0x177)](r(0x158))[r(0x150)]()[r(0x168)](a130a)[r(0x177)](r(0x158));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];function a130c(){const u=['.app-tests.js','setTemplate','none','ramda','warn','css','checkNpmPackage','import\x20\x27./','engines','apply','test','toString','maka\x20g:l\x20web/safari','hook/hook.js','className','1317RxPLrx','findAppDirectory','withTranslations','pathFromApp','(((.+)+)+)+$','.js','dir','assign','fileName','graphql','1008182YmvkFR','123979rQPAFT','split','274395EYmVcL','maka\x20g:layout\x20mobile/iPhone8','2040024UnXvOq','resourceName','features','test/test.js','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','constructor','relative','injectTemplateModule','findProjectDirectory','6cGVYKj','withHook','892050IrxaOk','template','theme','2bzPdiC','string','layout','4hsdoeV','withHooks','client','search','injectAtBeginningOfFile','130950CudsHE','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','ssr','installNpmPackage','react'];a130c=function(){return u;};return a130c();}Generator['create']({'name':a130s(0x173),'aliases':aliases,'usage':a130s(0x167),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a130s(0x16d)],'mustBeInMakaProject':!![],'examples':[a130s(0x162),a130s(0x151)]},async function(a,b){const t=a130s,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h='/imports/ui/layouts',i=d[t(0x155)](),j=g[t(0x157)]({'pathParts':[h,b['dir'],kebabCase(b[t(0x164)]),kebabCase(b['resourceName'])]});typeof c['template'][t(0x14f)]==='string'&&e['setTemplate'](t(0x14f),c[t(0x16f)][t(0x14f)]);typeof c[t(0x16f)][t(0x14a)]===t(0x172)&&e[t(0x146)]('css',c['template']['css']);typeof c['template']['js']==='string'&&e[t(0x146)]('js',c[t(0x16f)]['js']);const k=b['_']?b['_'][0x0][t(0x160)](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[t(0x14b)](t(0x148))&&(Log[t(0x149)](t(0x17a)),f[t(0x17c)](t(0x148),{'cwd':i}));if(l&&!f['checkNpmPackage'](t(0x144))){Log['warn']('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const m={'name':pascalCase(b[t(0x164)]),'myPath':a130e[t(0x169)](d[t(0x16b)](),j),'cssCaseName':kebabCase(b[t(0x164)]),'className':pascalCase(b[t(0x164)]),'camelCaseName':camelCase(b[t(0x164)]),'fileName':kebabCase(b['resourceName']),'graphql':c[t(0x14d)][t(0x15d)],'features':c[t(0x165)],'client':c['engines'][t(0x176)],'api':c[t(0x14d)]['api'],'ssr':c[t(0x14d)][t(0x17b)],'test':c[t(0x14d)][t(0x14f)],'theme':c[t(0x14d)][t(0x170)],'isComponent':![],'isLayout':!![],'withTranslations':c['features'][t(0x156)]};c[t(0x165)]?.[t(0x175)]||b[t(0x16d)]?await g['template']({'srcPath':t(0x152),'destPath':j+'.js','framework':t(0x144),'context':m,'config':c}):await g[t(0x16f)]({'srcPath':'component/component.js','destPath':j+t(0x159),'framework':'react','context':m,'config':c});c[t(0x14d)][t(0x14f)]!==t(0x147)&&await g[t(0x16f)]({'srcPath':t(0x166),'destPath':j+t(0x145),'framework':t(0x144),'context':m,'config':c});c['template'][t(0x14a)]&&(await g[t(0x16f)]({'srcPath':'template/template.css','destPath':j+'.css','context':Object[t(0x15b)]({},m,{'className':kebabCase(b[t(0x164)])}),'config':c}),await g[t(0x178)]({'filePath':j+'.'+c[t(0x14d)]['js'],'content':t(0x14c)+m[t(0x15c)]+'.'+c[t(0x14d)][t(0x14a)]+'\x27;'}));const n=b[t(0x15a)]?'/'+b[t(0x15a)]+'/':'/',o=''+h+n+m['fileName']+'/'+m[t(0x15c)];await g[t(0x16a)](m[t(0x153)],c,o);});
1
+ const a130r=a130d;function a130c(){const t=['import\x20\x27./','42696ZSdZQO','setTemplate','template/template.css','778DGANZl','hook/hook.js','none','.css','engines','withHooks','injectTemplateModule','3771798ggMOXG','resourceName','.js','assign','12077769hqPlMK','(((.+)+)+)+$','split','/imports/ui/layouts','fileName','theme','pathFromApp','322YWgidD','maka\x20g:l\x20web/safari','dir','findAppDirectory','template','4762472ZKCdzq','1747kqZHaT','test/test.js','features','className','warn','string','maka\x20g:layout\x20mobile/iPhone8','.app-tests.js','component/component.js','create','10sxdown','search','css','withTranslations','1075SBmNTR','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','graphql','withHook','test','findProjectDirectory','api','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','constructor','react','installNpmPackage','1038762FBfmuS','checkNpmPackage','4744dTnlhx','relative'];a130c=function(){return t;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x10b;let f=c[d];return f;},a130d(a,b);}(function(a,b){const p=a130d,c=a();while(!![]){try{const d=-parseInt(p(0x12d))/0x1*(-parseInt(p(0x115))/0x2)+parseInt(p(0x11c))/0x3+parseInt(p(0x10f))/0x4*(-parseInt(p(0x13b))/0x5)+-parseInt(p(0x112))/0x6*(parseInt(p(0x127))/0x7)+parseInt(p(0x12c))/0x8+parseInt(p(0x10d))/0x9*(-parseInt(p(0x137))/0xa)+-parseInt(p(0x120))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xb3cb3));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 q=a130d;return a130a['toString']()[q(0x138)](q(0x121))['toString']()[q(0x143)](a130a)[q(0x138)]('(((.+)+)+)+$');});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130r(0x136)]({'name':'layout','aliases':aliases,'usage':a130r(0x13c),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':['withHook'],'mustBeInMakaProject':!![],'examples':[a130r(0x133),a130r(0x128)]},async function(a,b){const s=a130r,{projectConfig:c,fsi:d,cfg:e,pkg:f,scaffold:g}=this,h=s(0x123),i=d[s(0x12a)](),j=g[s(0x126)]({'pathParts':[h,b[s(0x129)],kebabCase(b['resourceName']),kebabCase(b[s(0x11d)])]});typeof c[s(0x12b)][s(0x13f)]===s(0x132)&&e[s(0x113)](s(0x13f),c['template']['test']);typeof c[s(0x12b)]['css']===s(0x132)&&e[s(0x113)]('css',c[s(0x12b)][s(0x139)]);typeof c[s(0x12b)]['js']==='string'&&e[s(0x113)]('js',c['template']['js']);const k=b['_']?b['_'][0x0][s(0x122)](':')[0x1]:![],l=b['_']&&aliases['includes'](k);l&&!f[s(0x10e)]('ramda')&&(Log[s(0x131)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),f[s(0x10c)]('ramda',{'cwd':i}));if(l&&!f[s(0x10e)](s(0x10b))){Log['warn'](s(0x142));return;}const m={'name':pascalCase(b[s(0x11d)]),'myPath':a130e[s(0x110)](d[s(0x140)](),j),'cssCaseName':kebabCase(b[s(0x11d)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[s(0x11d)]),'fileName':kebabCase(b['resourceName']),'graphql':c[s(0x119)][s(0x13d)],'features':c[s(0x12f)],'client':c[s(0x119)]['client'],'api':c[s(0x119)][s(0x141)],'ssr':c[s(0x119)]['ssr'],'test':c['engines']['test'],'theme':c['engines'][s(0x125)],'isComponent':![],'isLayout':!![],'withTranslations':c[s(0x12f)][s(0x13a)]};c['features']?.[s(0x11a)]||b[s(0x13e)]?await g[s(0x12b)]({'srcPath':s(0x116),'destPath':j+s(0x11e),'framework':s(0x10b),'context':m,'config':c}):await g[s(0x12b)]({'srcPath':s(0x135),'destPath':j+s(0x11e),'framework':s(0x10b),'context':m,'config':c});c[s(0x119)]['test']!==s(0x117)&&await g[s(0x12b)]({'srcPath':s(0x12e),'destPath':j+s(0x134),'framework':s(0x10b),'context':m,'config':c});c[s(0x12b)][s(0x139)]&&(await g[s(0x12b)]({'srcPath':s(0x114),'destPath':j+s(0x118),'context':Object[s(0x11f)]({},m,{'className':kebabCase(b[s(0x11d)])}),'config':c}),await g['injectAtBeginningOfFile']({'filePath':j+'.'+c['engines']['js'],'content':s(0x111)+m[s(0x124)]+'.'+c[s(0x119)][s(0x139)]+'\x27;'}));const n=b[s(0x129)]?'/'+b[s(0x129)]+'/':'/',o=''+h+n+m[s(0x124)]+'/'+m[s(0x124)];await g[s(0x11b)](m[s(0x130)],c,o);});
@@ -1 +1 @@
1
- const a131h=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0x1e1))/0x1+-parseInt(f(0x1e5))/0x2*(-parseInt(f(0x1df))/0x3)+-parseInt(f(0x1ea))/0x4*(-parseInt(f(0x1e6))/0x5)+parseInt(f(0x1eb))/0x6+-parseInt(f(0x1d9))/0x7*(parseInt(f(0x1e7))/0x8)+parseInt(f(0x1dd))/0x9+parseInt(f(0x1e2))/0xa*(-parseInt(f(0x1da))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x5f512));function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a131d(a,b);}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const g=a131d;return a131a[g(0x1d8)]()[g(0x1e9)](g(0x1e3))[g(0x1d8)]()[g(0x1e0)](a131a)[g(0x1e9)]('(((.+)+)+)+$');});a131a();import{Generator}from'../generator.js';function a131c(){const i=['1875069aRlSBS','869UCOVsG','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:route\x20todos/edit','5257422GixwZj','maka\x20g:package\x20package:name','6FcOREW','constructor','433975MDkryD','106890jBOTHH','(((.+)+)+)+$','maka\x20g:dbc\x20geoserver\x20--type=pgsql','450484CWYEuy','535qibsCA','8HHUqgF','generate','search','19948nzrsXW','2210640GIHgjR','maka\x20g:scaffold\x20todos','maka\x20g:api\x20trucks','toString'];a131c=function(){return i;};return a131c();}const MakaGen=new Generator({'name':a131h(0x1e8),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':a131h(0x1db),'examples':['maka\x20generate:scaffold\x20todos',a131h(0x1ec),'maka\x20g:template\x20todos/todo_item',a131h(0x1de),a131h(0x1dc),a131h(0x1d7),a131h(0x1e4)]},async function(){});export default MakaGen;
1
+ function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x183;let f=c[d];return f;},a131d(a,b);}const a131h=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0x191))/0x1+parseInt(f(0x183))/0x2+-parseInt(f(0x18b))/0x3*(parseInt(f(0x193))/0x4)+parseInt(f(0x189))/0x5+-parseInt(f(0x18a))/0x6*(parseInt(f(0x190))/0x7)+-parseInt(f(0x186))/0x8*(-parseInt(f(0x18f))/0x9)+-parseInt(f(0x18d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x9a450));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const g=a131d;return a131a['toString']()[g(0x18e)](g(0x184))[g(0x194)]()['constructor'](a131a)[g(0x18e)]('(((.+)+)+)+$');});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a131h(0x195),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'resourceNameRequired':![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a131h(0x18c),a131h(0x192),a131h(0x185),'maka\x20g:package\x20package:name',a131h(0x188),a131h(0x187),a131h(0x196)]},async function(){});export default MakaGen;function a131c(){const i=['maka\x20g:template\x20todos/todo_item','880208eDURfw','maka\x20g:api\x20trucks','maka\x20g:route\x20todos/edit','3227400uvYhmT','5910ejreoj','3XVYuNM','maka\x20generate:scaffold\x20todos','2591840LTekoW','search','27WMaJuN','1155cYkRfI','147448SbnEwF','maka\x20g:scaffold\x20todos','1438876PHQesU','toString','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:dbc\x20geoserver\x20--type=pgsql','1170412asgiqM','(((.+)+)+)+$'];a131c=function(){return i;};return a131c();}
@@ -1 +1 @@
1
- const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=parseInt(k(0xf5))/0x1+parseInt(k(0xfb))/0x2*(parseInt(k(0xfd))/0x3)+-parseInt(k(0x10c))/0x4*(-parseInt(k(0x101))/0x5)+-parseInt(k(0xf4))/0x6*(-parseInt(k(0x106))/0x7)+-parseInt(k(0x103))/0x8*(parseInt(k(0xfa))/0x9)+-parseInt(k(0x10f))/0xa*(parseInt(k(0x115))/0xb)+-parseInt(k(0x111))/0xc*(parseInt(k(0x108))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x3f483));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0xf8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x100)]()[m(0x104)](m(0x10b))[m(0x100)]()[m(0xfe)](a132a)[m(0x104)](m(0x10b));});a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xf0;let f=c[d];return f;},a132d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a132n(0xf0)]({'name':a132n(0x113),'aliases':['m'],'usage':a132n(0x105),'checkWhere':!![],'shortDesc':a132n(0x107),'validOpts':['dir'],'examples':[a132n(0xf9)]},async function(a,b){const o=a132n;try{const c=this[o(0x114)],d=b[o(0x112)]?'/'+b['dir']+'/':'/',f=kebabCase(b['resourceName']),g={'name':b[o(0x10d)],'fileName':f,'className':pascalCase(b[o(0x10d)]),'camelCase':camelCase(b[o(0x10d)]),'noRename':!![]};let h='js';c[o(0x10a)]['js']==='tsx'&&(h='ts');await this[o(0xff)][o(0x118)]([o(0xf6),'ddp-rate-limiter',o(0xf3)],{'shouldInstall':!![]}),await this['scaffold']['template']({'srcPath':o(0x102),'destPath':this['scaffold']['pathFromApp']({'pathParts':[o(0xf2),'startup',b[o(0x117)],o(0x109),d,f+'-rpc-method.'+h]}),'context':g,'config':c});const i=this['scaffold'][o(0x10e)]({'pathParts':[o(0xf2),o(0xf7),b['appPathPrefix'],o(0xfc)+c[o(0x10a)]['js']]});await this['scaffold'][o(0xf1)]({'filePath':i,'content':o(0x110)+d+f+'-rpc-method\x27;'});}catch(j){Log[o(0x116)](j);}});function a132c(){const p=['3830387MvVejk','error','appPathPrefix','checkMeteorPackage','create','injectAtEndOfFile','imports','mdg:validated-method','12EyniuP','339451ySyfeE','maka:check','startup','apply','maka\x20g:method\x20todos','54iWvhAi','8516hBLGnz','index.','312AOeGaR','constructor','pkg','toString','5jYLdTc','method/method.js','214720DltuZy','search','maka\x20{generate,\x20g}:{method,\x20m}\x20name','1622922eqbkna','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','8762923GdBORt','methods','engines','(((.+)+)+)+$','786224WfEedP','resourceName','pathFromApp','10BLXwQD','import\x20\x27./methods','12IEsGsi','dir','method','projectConfig'];a132c=function(){return p;};return a132c();}
1
+ const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=parseInt(k(0xcb))/0x1+-parseInt(k(0xe1))/0x2+-parseInt(k(0xdb))/0x3+-parseInt(k(0xdd))/0x4*(-parseInt(k(0xd2))/0x5)+-parseInt(k(0xc6))/0x6*(-parseInt(k(0xd0))/0x7)+-parseInt(k(0xe5))/0x8*(parseInt(k(0xc0))/0x9)+-parseInt(k(0xe2))/0xa*(-parseInt(k(0xce))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xa94f8));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0xd7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0xcd)]()[m(0xda)](m(0xdc))['toString']()['constructor'](a132a)[m(0xda)]('(((.+)+)+)+$');});a132a();function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xc0;let f=c[d];return f;},a132d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':a132n(0xd9),'aliases':['m'],'usage':a132n(0xd6),'mustBeInMakaProject':!![],'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132n(0xdf)],'examples':[a132n(0xc1)]},async function(a,b){const o=a132n;try{const c=this[o(0xd8)],d=b[o(0xdf)]?'/'+b[o(0xdf)]+'/':'/',f=kebabCase(b['resourceName']),g={'name':b[o(0xde)],'fileName':f,'className':pascalCase(b[o(0xde)]),'camelCase':camelCase(b[o(0xde)]),'noRename':!![]};let h='js';c[o(0xd3)]['js']===o(0xcc)&&(h='ts');await this[o(0xc8)]['checkMeteorPackage']([o(0xc5),o(0xc3),o(0xd4)],{'shouldInstall':!![]}),await this[o(0xc7)][o(0xcf)]({'srcPath':o(0xe6),'destPath':this[o(0xc7)]['pathFromApp']({'pathParts':['imports',o(0xe3),b[o(0xe0)],o(0xca),d,f+'-rpc-method.'+h]}),'context':g,'config':c});const i=this['scaffold'][o(0xc9)]({'pathParts':[o(0xc4),o(0xe3),b[o(0xe0)],o(0xc2)+c['engines']['js']]});await this[o(0xc7)][o(0xe7)]({'filePath':i,'content':o(0xd5)+d+f+o(0xd1)});}catch(j){Log[o(0xe4)](j);}});function a132c(){const p=['startup','error','6763928LenEhj','method/method.js','injectAtEndOfFile','9CUnDEM','maka\x20g:method\x20todos','index.','ddp-rate-limiter','imports','maka:check','6yKzkDq','scaffold','pkg','pathFromApp','methods','762917BHtSND','tsx','toString','1874917pjZxwC','template','2078692TjxJHD','-rpc-method\x27;','4841105KDqRSH','engines','mdg:validated-method','import\x20\x27./methods','maka\x20{generate,\x20g}:{method,\x20m}\x20name','apply','projectConfig','method','search','1821168jNqnGL','(((.+)+)+)+$','4Qmjxps','resourceName','dir','appPathPrefix','1127678hqBzKI','40rmLogb'];a132c=function(){return p;};return a132c();}
@@ -1 +1 @@
1
- const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0xa8))/0x1+parseInt(m(0xa5))/0x2*(parseInt(m(0x94))/0x3)+-parseInt(m(0x9f))/0x4+-parseInt(m(0x98))/0x5+parseInt(m(0xaf))/0x6+-parseInt(m(0x9c))/0x7*(parseInt(m(0x9a))/0x8)+parseInt(m(0xb6))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x1b183));function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x91;let f=c[d];return f;},a133d(a,b);}const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0xb4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a['toString']()['search'](o(0xba))[o(0xa3)]()['constructor'](a133a)['search'](o(0xba));});function a133c(){const r=['package','resourceName','855420ykgdLH','store','fsi','lib','toString','template/template.js','4BWuuXo','relative','package/','69907QskFNv','server','ssr','/client/','.js','dir','maka\x20g:package\x20todos:package','1001388aWBGgt','client','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','features','hasOwnProperty','apply','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','2337003FRaGyz','theme','package.js','template','(((.+)+)+)+$','graphql','engines','scaffold','findProjectDirectory','component','49935ZpyItN','create','projectConfig','packages','911645OTquGc','pathFromApp','60264oIJZCv','tests/client','21GnzXqE'];a133c=function(){return r;};return a133c();}a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0x95)]({'name':a133p(0x9d),'aliases':['p'],'usage':a133p(0xb5),'shortDesc':a133p(0xb1),'validOpts':[a133p(0xad)],'examples':[a133p(0xae)]},async function(a,b){const q=a133p,c=kebabCase(b[q(0x9e)]),d=b[q(0xad)]?'/'+b[q(0xad)]+'/':'/',e=this[q(0x91)][q(0x99)]({'pathParts':[q(0x97),d,c]}),f=this[q(0x91)]['pathFromAppWithNoReWrite']({'pathParts':['packages',d,c,q(0xb8)]}),g=this[q(0x96)],h={'name':kebabCase(b['resourceName']),'myPath':a133e[q(0xa6)](this[q(0xa1)][q(0x92)](),e),'cssCaseName':kebabCase(b[q(0x9e)]),'className':pascalCase(b[q(0x9e)]),'camelCaseName':camelCase(b[q(0x9e)]),'fileName':c,'client':g[q(0xbc)][q(0xb0)],'graphql':g[q(0xbc)][q(0xbb)],'ssr':g['engines'][q(0xaa)],'isComponent':b[q(0xb3)](q(0x93)),'isLayout':b[q(0xb3)]('layout'),'isStore':b['hasOwnProperty'](q(0xa0)),'features':g[q(0xb2)],'noRename':!![],'theme':g[q(0xbc)][q(0xb7)]};await this['scaffold'][q(0xb9)]({'srcPath':'package/package.js','destPath':f,'context':h,'config':g}),h['noRename']=![];const i=e+q(0xab)+c+'.js';await this[q(0x91)][q(0xb9)]({'srcPath':q(0xa4),'destPath':i,'context':h,'config':g});const j=[q(0xa2),q(0xa9),q(0x9b),'tests/server'];for(const k of j){const l=e+'/'+k+'/'+c+q(0xac);await this[q(0x91)][q(0xb9)]({'srcPath':q(0xa7)+k+'/package.js','destPath':l,'context':h,'config':g});}});
1
+ const a133p=a133d;function a133c(){const r=['pathFromAppWithNoReWrite','(((.+)+)+)+$','11887490SkdHvB','features','template/template.js','lib','dir','engines','138WzoAPa','relative','172KoUItF','server','create','graphql','toString','package/package.js','template','resourceName','2986EGbyRB','2164158IomySv','tests/server','search','constructor','package/','tests/client','store','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','.js','projectConfig','1051815gbflir','2385584rDjXLW','53IoEOow','packages','theme','apply','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','package.js','124138DUALFG','scaffold','findProjectDirectory','hasOwnProperty','pathFromApp','7017SvQXzQ'];a133c=function(){return r;};return a133c();}(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0x91))/0x1*(parseInt(m(0xaf))/0x2)+parseInt(m(0x9c))/0x3*(parseInt(m(0xa7))/0x4)+-parseInt(m(0x8f))/0x5+parseInt(m(0xa5))/0x6*(-parseInt(m(0x97))/0x7)+-parseInt(m(0x90))/0x8+-parseInt(m(0xb0))/0x9+parseInt(m(0x9f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0x33a5e));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0xab)]()[o(0xb2)](o(0x9e))[o(0xab)]()[o(0xb3)](a133a)['search'](o(0x9e));});function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x8f;let f=c[d];return f;},a133d(a,b);}a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a133p(0xa9)]({'name':'package','aliases':['p'],'usage':a133p(0xb7),'mustBeInMakaProject':!![],'shortDesc':a133p(0x95),'validOpts':[a133p(0xa3)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=kebabCase(b[q(0xae)]),d=b[q(0xa3)]?'/'+b['dir']+'/':'/',e=this['scaffold'][q(0x9b)]({'pathParts':['packages',d,c]}),f=this[q(0x98)][q(0x9d)]({'pathParts':[q(0x92),d,c,q(0x96)]}),g=this[q(0xb9)],h={'name':kebabCase(b[q(0xae)]),'myPath':a133e[q(0xa6)](this['fsi'][q(0x99)](),e),'cssCaseName':kebabCase(b[q(0xae)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xae)]),'fileName':c,'client':g[q(0xa4)]['client'],'graphql':g[q(0xa4)][q(0xaa)],'ssr':g['engines']['ssr'],'isComponent':b[q(0x9a)]('component'),'isLayout':b['hasOwnProperty']('layout'),'isStore':b['hasOwnProperty'](q(0xb6)),'features':g[q(0xa0)],'noRename':!![],'theme':g['engines'][q(0x93)]};await this[q(0x98)][q(0xad)]({'srcPath':q(0xac),'destPath':f,'context':h,'config':g}),h['noRename']=![];const i=e+'/client/'+c+q(0xb8);await this[q(0x98)][q(0xad)]({'srcPath':q(0xa1),'destPath':i,'context':h,'config':g});const j=[q(0xa2),q(0xa8),q(0xb5),q(0xb1)];for(const k of j){const l=e+'/'+k+'/'+c+q(0xb8);await this[q(0x98)]['template']({'srcPath':q(0xb4)+k+'/package.js','destPath':l,'context':h,'config':g});}});