@maka/maka-cli 5.0.6 → 5.0.8

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1 +1 @@
1
- function a116c(){const n=['dockerfile','1900mmXmBl','search','toString','1891925qRZSYg','Generate\x20an\x20updated\x20dockerfile','service','168497nRxCmm','cert','join','(((.+)+)+)+$','create','build','4705352ilHJbi','findProjectDirectory','app.tar.gz','force','withValue','18InfLBT','apply','error','getMakaProjectConfig','constructor','738594AHiAjy','5439DeIJUi','5483790sqpFal','template','maka\x20g:dockerfile','295130aNeXiE','appName','maka\x20{generate,\x20g}:dockerfile','Dockerfile','getGlobalConfig','fsi','54vIWbzp'];a116c=function(){return n;};return a116c();}const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=parseInt(h(0x199))/0x1+parseInt(h(0x19e))/0x2+parseInt(h(0x19a))/0x3*(parseInt(h(0x1a6))/0x4)+parseInt(h(0x1a9))/0x5+parseInt(h(0x1a4))/0x6*(parseInt(h(0x1ac))/0x7)+-parseInt(h(0x1b2))/0x8*(parseInt(h(0x1b7))/0x9)+-parseInt(h(0x19b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x96ca9));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a['toString']()[j(0x1a7)](j(0x1af))[j(0x1a8)]()[j(0x198)](a116a)['search'](j(0x1af));});a116a();import{Generator}from'../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x197;let f=c[d];return f;},a116d(a,b);}import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator[a116k(0x1b0)]({'name':a116k(0x1a5),'usage':a116k(0x1a0),'shortDesc':a116k(0x1aa),'validOpts':[{'name':a116k(0x1b5),'boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0x19d)]},async function(a,b){const l=a116k;try{const c=await this['fsi'][l(0x197)](),d=await this['fsi'][l(0x1a2)](),f=this[l(0x1a3)][l(0x1b3)]();await this[l(0x1a3)][l(0x1b6)](c,async()=>{const m=l,g={'app':d[m(0x19f)],'config':c,'appPath':a116e['join'](f,'app'),'bundlePath':a116e[m(0x1ae)](f,m(0x1b1),m(0x1b4)),'useCert':this[m(0x1a3)]['isFile'](d[m(0x1ad)])};await this[m(0x1a3)][m(0x19c)]({'srcPath':'docker/Dockerfile','destPath':a116e[m(0x1ae)](f,m(0x1a1)),'framework':m(0x1ab),'context':g,'config':c,'force':b['force']});});}catch(g){Log[l(0x1b9)](g);}});
1
+ const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0x197))/0x1+-parseInt(h(0x1a1))/0x2*(parseInt(h(0x1ac))/0x3)+-parseInt(h(0x19f))/0x4*(-parseInt(h(0x1a7))/0x5)+-parseInt(h(0x196))/0x6+parseInt(h(0x193))/0x7*(parseInt(h(0x1ab))/0x8)+parseInt(h(0x19c))/0x9+parseInt(h(0x1a0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x5d328));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a[j(0x192)]()[j(0x1aa)](j(0x1a8))[j(0x192)]()[j(0x191)](a116a)['search'](j(0x1a8));});function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x18d;let f=c[d];return f;},a116d(a,b);}function a116c(){const n=['toString','210aNCYFo','fsi','template','2344662fEnpDJ','218703vGUwjw','getGlobalConfig','service','apply','error','4467492oYMDAJ','findProjectDirectory','join','279116CxfiaU','8018440CnZfvQ','186886MRcPZJ','Generate\x20an\x20updated\x20dockerfile','app.tar.gz','maka\x20{generate,\x20g}:dockerfile','cert','create','5OQqmWh','(((.+)+)+)+$','withValue','search','24112UgCwqF','15QXqJNC','maka\x20g:dockerfile','getMakaProjectConfig','Dockerfile','app','constructor'];a116c=function(){return n;};return a116c();}a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator[a116k(0x1a6)]({'name':'dockerfile','usage':a116k(0x1a4),'shortDesc':a116k(0x1a2),'validOpts':[{'name':'force','boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0x18d)]},async function(a,b){const l=a116k;try{const c=await this[l(0x194)][l(0x18e)](),d=await this['fsi'][l(0x198)](),f=this[l(0x194)][l(0x19d)]();await this[l(0x194)][l(0x1a9)](c,async()=>{const m=l,g={'app':d['appName'],'config':c,'appPath':a116e['join'](f,m(0x190)),'bundlePath':a116e['join'](f,'build',m(0x1a3)),'useCert':this[m(0x194)]['isFile'](d[m(0x1a5)])};await this['fsi'][m(0x195)]({'srcPath':'docker/Dockerfile','destPath':a116e[m(0x19e)](f,m(0x18f)),'framework':m(0x199),'context':g,'config':c,'force':b['force']});});}catch(g){Log[l(0x19b)](g);}});
@@ -1 +1 @@
1
- const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x150))/0x1+parseInt(l(0x171))/0x2+parseInt(l(0x142))/0x3+-parseInt(l(0x13e))/0x4*(-parseInt(l(0x167))/0x5)+parseInt(l(0x172))/0x6*(parseInt(l(0x154))/0x7)+-parseInt(l(0x16f))/0x8*(-parseInt(l(0x175))/0x9)+parseInt(l(0x156))/0xa*(-parseInt(l(0x13d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x4e9d3));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a['toString']()[m(0x177)]('(((.+)+)+)+$')[m(0x141)]()['constructor'](a117a)['search'](m(0x157));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117c(){const q=['error','\x20hook...','react','44ySxxCD','48kBrRZx','graphql','fsi','toString','1705359WbWtuJ','true','hook','\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','@apollo/client','.js','template','installNpmPackage','string','css','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','template/template.css','assign','74675wqiEwa','none','test','withTranslations','2163819ntPent','warn','4290590tXpMIR','(((.+)+)+)+$','findAppDirectory','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','/imports/ui/components','setTemplate','checkNpmPackage','resourceName','className','theme','import\x20\x27./','maka\x20g:hook\x20cool-hook','components','dir','.app-tests.js','force','/imports/ui/','124945IoHrVA','engines','features','hooks','notice','injectAtBeginningOfFile','apollo','baseDir','22136kcRVRI','Creating\x20','527764QZqClg','12CfkLRs','layouts','getMakaProjectConfig','1179MJYDFl','fileName','search'];a117c=function(){return q;};return a117c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x13c;let f=c[d];return f;},a117d(a,b);}Generator['create']({'name':a117n(0x144),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a117n(0x14d),'validOpts':[{'name':a117n(0x16e),'values':[a117n(0x16a),a117n(0x162),'pages',a117n(0x173)]},{'name':a117n(0x165),'boolFlag':!![]}],'examples':[a117n(0x161)],'description':a117n(0x145)},async function(a,b){const o=a117n;Log[o(0x16b)](o(0x170)+b[o(0x15d)]+o(0x179));try{const c=this[o(0x140)][o(0x15c)](o(0x13c));if(!c){Log[o(0x178)](o(0x14c));throw new UsageError();}const d=this[o(0x140)][o(0x158)](),f=b['baseDir']?o(0x166)+b[o(0x16e)]:o(0x15a),g=this['fsi']['pathFromApp']({'pathParts':[f,b[o(0x163)],paramCase(b[o(0x15d)]),paramCase(b[o(0x15d)])]}),h=await this[o(0x140)][o(0x174)]();await this['fsi']['withValue'](h,async()=>{const p=o;typeof h[p(0x148)][p(0x14b)]===p(0x14a)&&(h[p(0x148)][p(0x14b)]=h['template'][p(0x14b)]===p(0x143)?!![]:![],this[p(0x140)][p(0x15b)](p(0x14b),h[p(0x148)][p(0x14b)]));h['engines'][p(0x13f)]===p(0x16d)&&!this[p(0x140)]['checkNpmPackage'](p(0x146))&&(Log[p(0x155)](p(0x159)),await this[p(0x140)][p(0x149)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0x15d)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0x15d)]),'name':pascalCase(b[p(0x15d)]),'graphql':h[p(0x168)]['graphql'],'theme':h['engines'][p(0x15f)],'features':h['features'],'myPath':a117e['relative'](this[p(0x140)]['pathFromProject']({}),g),'fileName':paramCase(b[p(0x15d)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x169)][p(0x153)]};await this[p(0x140)][p(0x148)]({'srcPath':'hook/hook.js','destPath':g+p(0x147),'context':i,'config':h,'framework':p(0x13c),'force':b[p(0x165)]});h[p(0x148)][p(0x14b)]&&(await this[p(0x140)]['template']({'srcPath':p(0x14e),'destPath':g+'.css','context':Object[p(0x14f)]({},i,{'className':i['cssCaseName']}),'config':h,'force':b[p(0x165)]}),await this[p(0x140)][p(0x16c)]({'filePath':g+'.'+h['engines']['js'],'content':p(0x160)+i[p(0x176)]+'.'+h[p(0x168)][p(0x14b)]+'\x27;'}));h['engines'][p(0x152)]!==p(0x151)&&await this[p(0x140)]['template']({'srcPath':'test/test.js','destPath':g+p(0x164),'framework':p(0x13c),'context':i,'config':h,'force':b[p(0x165)]});const j=b[p(0x163)]?'/'+b[p(0x163)]+'/':'/',k=''+f+j+i[p(0x176)]+'/'+i[p(0x176)];await this['fsi']['injectTemplateModule'](i[p(0x15e)],h,k);});}catch(i){Log[o(0x178)](i);}});
1
+ const a117o=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x13f;let f=c[d];return f;},a117d(a,b);}(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x17c))/0x1+-parseInt(l(0x15d))/0x2*(-parseInt(l(0x14a))/0x3)+-parseInt(l(0x148))/0x4*(parseInt(l(0x16c))/0x5)+-parseInt(l(0x15e))/0x6*(-parseInt(l(0x16d))/0x7)+parseInt(l(0x147))/0x8+-parseInt(l(0x166))/0x9+parseInt(l(0x172))/0xa*(parseInt(l(0x15b))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x18a4a));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x174)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a['toString']()[n(0x14b)](n(0x14e))[n(0x142)]()[n(0x15a)](a117a)[n(0x14b)](n(0x14e));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a117c(){const r=['import\x20\x27./','24994JrqZop','warn','error','\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','toString','/imports/ui/','template/template.css','Creating\x20','test/test.js','92056CYwIeZ','10156ryGjqi','hook/hook.js','320613vZnYJM','search','pages','graphql','(((.+)+)+)+$','template','.css','baseDir','/imports/ui/components','test','fileName','injectAtBeginningOfFile','checkNpmPackage','withValue','pathFromProject','layouts','constructor','203720qqbnfe','features','2snhOpS','6vgkXLd','css','hooks','fsi','theme','@apollo/client','string','engines','825282IOjasU','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','.app-tests.js','withTranslations','setTemplate','resourceName','355QKNOkY','1217811ahUtXd','hook','apollo','force','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','30sWrzeW','@apollo/client\x20isomorphic-fetch','apply','getMakaProjectConfig','maka\x20g:hook\x20cool-hook','components','react','dir','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html'];a117c=function(){return r;};return a117c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':a117o(0x16e),'aliases':['h'],'checkWhere':![],'usage':a117o(0x171),'shortDesc':a117o(0x17a),'validOpts':[{'name':'baseDir','values':[a117o(0x160),a117o(0x177),a117o(0x14c),a117o(0x159)]},{'name':a117o(0x170),'boolFlag':!![]}],'examples':[a117o(0x176)],'description':a117o(0x141)},async function(a,b){const p=a117o;Log['notice'](p(0x145)+b[p(0x16b)]+'\x20hook...');try{const c=this[p(0x161)][p(0x156)](p(0x178));if(!c){Log[p(0x140)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this['fsi']['findAppDirectory'](),f=b[p(0x151)]?p(0x143)+b[p(0x151)]:p(0x152),g=this[p(0x161)]['pathFromApp']({'pathParts':[f,b[p(0x179)],paramCase(b[p(0x16b)]),paramCase(b[p(0x16b)])]}),h=await this[p(0x161)][p(0x175)]();await this[p(0x161)][p(0x157)](h,async()=>{const q=p;typeof h[q(0x14f)]['css']===q(0x164)&&(h[q(0x14f)][q(0x15f)]=h[q(0x14f)]['css']==='true'?!![]:![],this[q(0x161)][q(0x16a)](q(0x15f),h[q(0x14f)][q(0x15f)]));h[q(0x165)][q(0x14d)]===q(0x16f)&&!this['fsi']['checkNpmPackage'](q(0x163))&&(Log[q(0x13f)](q(0x167)),await this[q(0x161)]['installNpmPackage'](q(0x173),{'cwd':d}));const i={'cssCaseName':paramCase(b[q(0x16b)]),'camelCaseName':camelCase(b[q(0x16b)]),'className':pascalCase(b[q(0x16b)]),'name':pascalCase(b[q(0x16b)]),'graphql':h[q(0x165)][q(0x14d)],'theme':h[q(0x165)][q(0x162)],'features':h[q(0x15c)],'myPath':a117e['relative'](this[q(0x161)][q(0x158)]({}),g),'fileName':paramCase(b[q(0x16b)]),'isComponent':![],'isLayout':![],'withTranslations':h[q(0x15c)][q(0x169)]};await this[q(0x161)][q(0x14f)]({'srcPath':q(0x149),'destPath':g+'.js','context':i,'config':h,'framework':q(0x178),'force':b['force']});h[q(0x14f)]['css']&&(await this['fsi'][q(0x14f)]({'srcPath':q(0x144),'destPath':g+q(0x150),'context':Object['assign']({},i,{'className':i['cssCaseName']}),'config':h,'force':b[q(0x170)]}),await this[q(0x161)][q(0x155)]({'filePath':g+'.'+h[q(0x165)]['js'],'content':q(0x17b)+i[q(0x154)]+'.'+h['engines'][q(0x15f)]+'\x27;'}));h[q(0x165)][q(0x153)]!=='none'&&await this['fsi']['template']({'srcPath':q(0x146),'destPath':g+q(0x168),'framework':q(0x178),'context':i,'config':h,'force':b[q(0x170)]});const j=b[q(0x179)]?'/'+b[q(0x179)]+'/':'/',k=''+f+j+i[q(0x154)]+'/'+i[q(0x154)];await this[q(0x161)]['injectTemplateModule'](i['className'],h,k);});}catch(i){Log[p(0x140)](i);}});
@@ -1 +1 @@
1
- function a118c(){var i=['1156784QyIAfj','1638OiDzjD','8070KPwzoF','toString','5kdtIoh','1bTJAqt','2177819mSvUUC','apply','(((.+)+)+)+$','10296RFrJcY','1303812hkgjwo','constructor','24064EEbFMh','search','5031240NjKiZN','795891JSYqAQ'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xbe))/0x1*(-parseInt(f(0xb3))/0x2)+-parseInt(f(0xb8))/0x3+-parseInt(f(0xb9))/0x4*(-parseInt(f(0xbd))/0x5)+parseInt(f(0xb7))/0x6+parseInt(f(0xbf))/0x7+parseInt(f(0xb5))/0x8*(-parseInt(f(0xba))/0x9)+-parseInt(f(0xbb))/0xa*(parseInt(f(0xc2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x7f99e));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xbc)]()[h(0xb6)](h(0xc1))['toString']()[h(0xb4)](a118a)[h(0xb6)]('(((.+)+)+)+$');});a118a();import'./kit.js';import'./mui/_index.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xb3;var f=c[d];return f;},a118d(a,b);}import'./esri/_index.js';import'./auth/_index.js';
1
+ function a118c(){var i=['(((.+)+)+)+$','toString','constructor','search','21474ZJxFvr','332426UBMaMN','420272ZcFOao','apply','6276jGxcGa','173450efnuUs','913Djhdkf','179783fdtiSK','6505ibIlsH','27Ucubzk','3608iHUdbl','6616519UyFxsv'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xec))/0x1+-parseInt(f(0xe6))/0x2*(parseInt(f(0xee))/0x3)+-parseInt(f(0xe7))/0x4+parseInt(f(0xed))/0x5*(parseInt(f(0xe9))/0x6)+parseInt(f(0xe0))/0x7+-parseInt(f(0xdf))/0x8*(parseInt(f(0xe5))/0x9)+parseInt(f(0xea))/0xa*(parseInt(f(0xeb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xd900c));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xe8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xe2)]()[h(0xe4)]('(((.+)+)+)+$')[h(0xe2)]()[h(0xe3)](a118a)[h(0xe4)](h(0xe1));});a118a();function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xdf;var f=c[d];return f;},a118d(a,b);}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x1bb))/0x1+parseInt(f(0x1c1))/0x2+parseInt(f(0x1c8))/0x3+parseInt(f(0x1c0))/0x4*(-parseInt(f(0x1c2))/0x5)+-parseInt(f(0x1c4))/0x6+parseInt(f(0x1c5))/0x7*(parseInt(f(0x1c7))/0x8)+-parseInt(f(0x1bf))/0x9*(-parseInt(f(0x1bd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd8876));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x1c6)]()[h(0x1c3)]('(((.+)+)+)+$')['toString']()[h(0x1be)](a119a)['search'](h(0x1bc));});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1bb;var f=c[d];return f;},a119d(a,b);}import'./basic-meteor.auth.gen.js';function a119c(){var i=['constructor','36VZRsMc','4WEgBiq','3234636KOXtSa','5273105gAUclG','search','7803972iHsaNG','4373138mSJyOT','toString','8SrqIZa','3138696thzclW','apply','90183MVCNIs','(((.+)+)+)+$','110210ZKDqHK'];a119c=function(){return i;};return a119c();}
1
+ (function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x1f0))/0x1+parseInt(f(0x1f5))/0x2+parseInt(f(0x1f1))/0x3*(-parseInt(f(0x1eb))/0x4)+parseInt(f(0x1f6))/0x5*(-parseInt(f(0x1ea))/0x6)+-parseInt(f(0x1f7))/0x7*(parseInt(f(0x1ef))/0x8)+-parseInt(f(0x1ee))/0x9*(-parseInt(f(0x1f3))/0xa)+parseInt(f(0x1f2))/0xb*(parseInt(f(0x1ed))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xe1872));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var g=a119d;return a119a[g(0x1e9)]()[g(0x1ec)](g(0x1f4))[g(0x1e9)]()['constructor'](a119a)['search'](g(0x1f4));});a119a();import'./auth.generator.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1e9;var f=c[d];return f;},a119d(a,b);}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';function a119c(){var h=['4367376DtkWtW','1456232wytsSz','84QxdYqY','11CoPPCF','11813330PSlVkr','(((.+)+)+)+$','2486226YsrhTU','2474755KsxwJT','14aLtPha','toString','18kkUPwZ','118652sSJKyr','search','5404140ntyfEe','9IPYCwj'];a119c=function(){return h;};return a119c();}
@@ -1 +1 @@
1
- const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1+parseInt(f(0x10e))/0x2*(parseInt(f(0x10a))/0x3)+-parseInt(f(0x10c))/0x4+-parseInt(f(0x114))/0x5*(-parseInt(f(0x110))/0x6)+-parseInt(f(0x118))/0x7*(parseInt(f(0x10d))/0x8)+-parseInt(f(0x119))/0x9*(parseInt(f(0x10f))/0xa)+parseInt(f(0x109))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x55c5e));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0x113)]()[h(0x115)](h(0x112))[h(0x113)]()['constructor'](a120a)[h(0x115)](h(0x112));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x109;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120c(){const j=['3358220oubFrg','12zGDmYw','maka\x20g:kit:a','(((.+)+)+)+$','toString','297165yHYIDs','search','auth','239585TotiCv','21BQDjwD','18Rwrhrw','12133924vMzoPi','259344RHEiSg','apply','169680RRdjie','1622824KZtHmC','16OsItSF'];a120c=function(){return j;};return a120c();}const AuthGen=Generator['create']({'name':a120i(0x116),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','validOpts':[''],'isPro':!![],'examples':[a120i(0x111)],'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(){},a120e);export default AuthGen;
1
+ const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0xa1))/0x1*(-parseInt(f(0x9e))/0x2)+-parseInt(f(0xa6))/0x3*(-parseInt(f(0xa4))/0x4)+-parseInt(f(0xaf))/0x5+parseInt(f(0xab))/0x6*(parseInt(f(0xa8))/0x7)+parseInt(f(0xa2))/0x8*(parseInt(f(0xa0))/0x9)+-parseInt(f(0xa3))/0xa*(-parseInt(f(0xac))/0xb)+-parseInt(f(0xad))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x6f8d2));function a120c(){const k=['18PmxRnV','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','196668DeaqML','83379WoaIrG','120tBiiFH','4787470RvKVpw','412VHvXNX','NIE','8913nmbhxw','(((.+)+)+)+$','44674mrSTWw','create','search','678AuvYKd','11poJWVf','20164200KYLuqQ','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','2234265dKfMFq','toString','apply','maka\x20g:kit:a'];a120c=function(){return k;};return a120c();}function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x9e;let f=c[d];return f;},a120d(a,b);}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0xb0)]()[h(0xaa)](h(0xa7))[h(0xb0)]()['constructor'](a120a)['search']('(((.+)+)+)+$');});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';const AuthGen=Generator[a120i(0xa9)]({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':a120i(0xae),'validOpts':[''],'isPro':!![],'examples':[a120i(0xb2)],'description':a120i(0x9f)},async function(){const j=a120i;throw j(0xa5);},async function(){},a120e);export default AuthGen;
@@ -1 +1 @@
1
- function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x84;let f=c[d];return f;},a121d(a,b);}function a121c(){const u=['ssr','accounts-password','3118956GGamIT','const\x20sendForgotPasswordEmail','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','const\x20getUserAuthorizations','true','authentication-provider','error','publish','766647UcbYSp','(((.+)+)+)+$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','Meteor','imports','.js','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','Meteor.publish','2TMqJYZ','apply','13551348ZFDbbl','const\x20deauthenticateUser','auth/roles','4joRPDM','findProjectDirectory','meteor','42472vVFeGB','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','30JAGcZy','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','exit','/imports/startup/client','kit/auth/service/meteor-auth-service.js','toString','create','136767YYrfNQ','fsi','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','REACT','startup','index','getMakaProjectConfig','const\x20registerNewUser','processAndRunGenerator','meteor/maka:react-tracker','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','checkMeteorPackage','676830SzjMqG','constructor','AuthService','kit:auth:provider','react','authentication-service','meteor/accounts-base','const\x20authenticateToken','11isRBBz','35Oqeeau','const\x20resetPasswordWithToken','server','2967675zQWCNz','\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','injectImport','injectIntoCodeBlock','search','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\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','pathFromApp','Meteor.startup','injectIntoFile','withValue','const\x20authenticateUser','force','template'];a121c=function(){return u;};return a121c();}const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x87))/0x1*(-parseInt(o(0xbf))/0x2)+parseInt(o(0x93))/0x3+-parseInt(o(0xc4))/0x4*(-parseInt(o(0x9f))/0x5)+parseInt(o(0xaf))/0x6+parseInt(o(0x9c))/0x7*(-parseInt(o(0xc7))/0x8)+parseInt(o(0xb7))/0x9*(parseInt(o(0xc9))/0xa)+-parseInt(o(0x9b))/0xb*(parseInt(o(0xc1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x49b69));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x85)]()[q(0xa3)](q(0xb8))[q(0x85)]()[q(0x94)](a121a)[q(0xa3)](q(0xb8));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x86)]({'name':a121r(0xc6),'aliases':['m'],'usage':a121r(0x91),'shortDesc':a121r(0xa4),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x8a)]},'description':a121r(0xbd)},async function(a,b){const s=a121r;try{const c=b[s(0xab)]||![];await this['fsi'][s(0x92)]([s(0xae),'alanning:roles'],{'shouldInstall':!![]});const d=this['fsi'][s(0xc5)](),f=this[s(0x88)][s(0x8d)](),g=f['engines'][s(0xad)]===s(0xb3);await a121f[s(0x8f)](s(0x96),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x8f)](s(0xb6),[s(0xc3)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':s(0xcc),j=this[s(0x88)][s(0xa6)]({'pathParts':[i,'','',s(0x98)]});await this[s(0x88)][s(0xa9)](f,async()=>{const t=s;await this[t(0x88)][t(0xac)]({'srcPath':t(0x84),'destPath':j+t(0xbc),'framework':t(0x97),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x88)][s(0xa6)]({'pathParts':[i,'','',s(0xb4)]}),l=f['engines']['js'];await this[s(0x88)][s(0xa1)]({'filePath':k+'.'+l,'importName':s(0x95),'modulePath':g?'/imports/startup/lib/authentication-service':'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[s(0x88)][s(0xa2)]({'filePath':k+'.'+l,'content':s(0xb1),'begin':s(0xaa),'replace':!![]}),await this['fsi'][s(0xa2)]({'filePath':k+'.'+l,'content':s(0xb9),'begin':s(0x9a),'replace':!![]}),await this[s(0x88)][s(0xa2)]({'filePath':k+'.'+l,'content':s(0xa5),'begin':s(0xb2),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xc8),'begin':s(0xc2),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xca),'begin':s(0xb0),'replace':!![]}),await this[s(0x88)][s(0xa2)]({'filePath':k+'.'+l,'content':s(0x89),'begin':s(0x8e),'replace':!![]}),await this[s(0x88)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x9d),'replace':!![]});g&&(await this[s(0x88)][s(0xa1)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x90),'isNamedExport':!![]}),await this[s(0x88)][s(0xa8)]({'filePath':k+'.'+l,'content':s(0xa0),'begin':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this['fsi'][s(0xa1)]({'filePath':h,'importName':s(0xba),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0xa2)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xbe),'replace':!![]});const m=this[s(0x88)]['pathFromApp']({'pathParts':[s(0xbb),s(0x8b),s(0x9e),s(0x8c)]});await this[s(0x88)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0x99),'isNamedExport':!![]}),await this[s(0x88)][s(0xa2)]({'filePath':m+'.'+l,'content':'\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','begin':s(0xa7),'replace':!![]});}catch(n){Log[s(0xb5)](n),process[s(0xcb)](0x1);}},async function(){},a121e);
1
+ const a121q=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x189))/0x1*(parseInt(o(0x1b0))/0x2)+-parseInt(o(0x1a5))/0x3+-parseInt(o(0x17b))/0x4+-parseInt(o(0x183))/0x5*(-parseInt(o(0x19a))/0x6)+-parseInt(o(0x1b2))/0x7+parseInt(o(0x17e))/0x8+-parseInt(o(0x1aa))/0x9*(-parseInt(o(0x1b3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xa8a57));function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x176;let f=c[d];return f;},a121d(a,b);}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 p=a121d;return a121a[p(0x18c)]()[p(0x198)](p(0x1a0))['toString']()[p(0x19f)](a121a)['search'](p(0x1a0));});a121a();function a121c(){const t=['withValue','ssr','Meteor.publish','findProjectDirectory','AuthService','search','imports','828858ViAKvW','fsi','pathFromApp','REACT','injectIntoCodeBlock','constructor','(((.+)+)+)+$','create','injectImport','true','\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','2504031LeUfIv','\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','kit:auth:provider','const\x20deauthenticateUser','meteor/maka:react-tracker','22365kfaXZC','startup','meteor','kit/auth/service/meteor-auth-service.js','const\x20authenticateToken','return\x20\x5c(','38DyiHfI','getMakaProjectConfig','4540543KEEgwU','7940GBeFSd','server','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','processAndRunGenerator','template','force','error','react','checkMeteorPackage','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','alanning:roles','publish','3205924MtzfZx','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','const\x20registerNewUser','4972688WQbECD','meteor/meteor','\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','injectIntoFile','exit','5TWrayc','const\x20sendForgotPasswordEmail','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','Meteor','accounts-password','index','12777kegHhj','authentication-service','auth/roles','toString','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','engines','const\x20resetPasswordWithToken','Accounts','useTracker','.js'];a121c=function(){return t;};return a121c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121q(0x1a1)]({'name':a121q(0x1ac),'aliases':['m'],'usage':a121q(0x185),'shortDesc':a121q(0x18d),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121q(0x19d)]},'description':a121q(0x1a4)},async function(a,b){const r=a121q;try{const c=b[r(0x1b8)]||![];await this[r(0x19b)][r(0x177)]([r(0x187),r(0x179)],{'shouldInstall':!![]});const d=this[r(0x19b)][r(0x196)](),f=this[r(0x19b)][r(0x1b1)](),g=f['engines'][r(0x194)]===r(0x1a3);await a121f[r(0x1b6)](r(0x1a7),[],{'force':c,'cwd':d,'config':f});const h=await a121f[r(0x1b6)](r(0x17a),[r(0x18b)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':'/imports/startup/client',j=this[r(0x19b)][r(0x19c)]({'pathParts':[i,'','',r(0x18a)]});await this[r(0x19b)][r(0x193)](f,async()=>{const s=r;await this[s(0x19b)][s(0x1b7)]({'srcPath':s(0x1ad),'destPath':j+s(0x192),'framework':s(0x176),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0x19b)][r(0x19c)]({'pathParts':[i,'','','authentication-provider']}),l=f[r(0x18e)]['js'];await this[r(0x19b)]['injectImport']({'filePath':k+'.'+l,'importName':r(0x197),'modulePath':g?'/imports/startup/lib/authentication-service':'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[r(0x19b)][r(0x19e)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20authenticateUser','replace':!![]}),await this[r(0x19b)][r(0x19e)]({'filePath':k+'.'+l,'content':r(0x180),'begin':r(0x1ae),'replace':!![]}),await this[r(0x19b)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x1a6),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[r(0x19b)][r(0x19e)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x1a8),'replace':!![]}),await this[r(0x19b)][r(0x19e)]({'filePath':k+'.'+l,'content':r(0x17c),'begin':r(0x184),'replace':!![]}),await this[r(0x19b)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x1b5),'begin':r(0x17d),'replace':!![]}),await this[r(0x19b)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x178),'begin':r(0x18f),'replace':!![]});g&&(await this[r(0x19b)][r(0x1a2)]({'filePath':k+'.'+l,'importName':r(0x191),'modulePath':r(0x1a9),'isNamedExport':!![]}),await this['fsi'][r(0x181)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':'export\x20const\x20AuthProvider','end':r(0x1af)}));await this['fsi'][r(0x1a2)]({'filePath':h,'importName':r(0x186),'modulePath':r(0x17f),'isNamedExport':!![],'injectAtStart':!![]}),await this[r(0x19b)][r(0x19e)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x195),'replace':!![]});const m=this['fsi']['pathFromApp']({'pathParts':[r(0x199),r(0x1ab),r(0x1b4),r(0x188)]});await this[r(0x19b)][r(0x1a2)]({'filePath':m+'.'+l,'importName':r(0x190),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this['fsi'][r(0x19e)]({'filePath':m+'.'+l,'content':'\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','begin':'Meteor.startup','replace':!![]});}catch(n){Log[r(0x1b9)](n),process[r(0x182)](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x1c8))/0x1*(parseInt(u(0x1b4))/0x2)+parseInt(u(0x1c1))/0x3+-parseInt(u(0x1cb))/0x4*(-parseInt(u(0x1cf))/0x5)+parseInt(u(0x1a7))/0x6+-parseInt(u(0x1ad))/0x7+-parseInt(u(0x1b8))/0x8*(parseInt(u(0x1b3))/0x9)+parseInt(u(0x1bd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xc898e));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x1ce)]()[w(0x1a1)](w(0x1d1))[w(0x1ce)]()['constructor'](a122a)['search'](w(0x1d1));});a122a();import{Generator}from'../../../generator.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a122d(a,b);}import{Log}from'../../../tools/log/log.class.js';function a122c(){const A=['apply','/routes','464efJcKk','true','const\x20useAuth','\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','/imports/startup/client/authentication-provider','5080350pIjfBx','getMakaProjectConfig','react','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','957591gUWGES','force','injectAroundString','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','appName','/imports/startup/lib/authentication-provider','.js','289085rPSGIJ','fsi','exit','132jMCrhx','</AuthProvider>','REACT','toString','143285Plaeha','<AuthProvider>','(((.+)+)+)+$','/imports/startup/server/index','kit/auth/provider/authentication-provider.js','search','withValue','engines','AuthContext','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','<AppRoutes\x20/>','2561022VqRVRG','error','AuthProvider','injectImport','split','ssr','4128600IJLEZc','provider','injectIntoCodeBlock','pathFromApp','create','/imports/startup/client','32607vGqkXV','4FGntCN','authentication-provider'];a122c=function(){return A;};return a122c();}import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0x1b1)]({'name':a122x(0x1ae),'aliases':['p'],'usage':a122x(0x1c4),'shortDesc':a122x(0x1a5),'validOpts':[a122x(0x1c2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x1cd)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const y=a122x;try{const c=b[y(0x1c2)]||![];Log['bright'](y(0x1c0));const d=this['fsi'][y(0x1be)](),f=d[y(0x1a3)][y(0x1ac)]===y(0x1b9),g={'name':headerCase(d[y(0x1c5)])['replaceAll']('-','\x20')},h=f?'/imports/startup/lib':y(0x1b2),i=this['fsi'][y(0x1b0)]({'pathParts':[h,'','',y(0x1b5)]});await this[y(0x1c9)][y(0x1a2)](d,async()=>{const z=y;await this[z(0x1c9)]['template']({'srcPath':z(0x1a0),'destPath':i+z(0x1c7),'framework':z(0x1bf),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1a3)]['js'],k=h+y(0x1b7),l=k[y(0x1ab)]('/'),m=this[y(0x1c9)][y(0x1b0)]({'pathParts':l});await this['fsi'][y(0x1aa)]({'filePath':m+'.'+j,'importName':y(0x1a4),'modulePath':f?y(0x1c6):y(0x1bc),'isNamedExport':!![]}),await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x1bf),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1c9)][y(0x1af)]({'filePath':m+'.'+j,'content':y(0x1bb),'begin':[y(0x1ba),'function\x20useAuth'],'replace':!![]}),await this[y(0x1c9)][y(0x1af)]({'filePath':m+'.'+j,'content':'\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','begin':['const\x20PrivateRoute'],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x1ab)]('/'),p=this['fsi'][y(0x1b0)]({'pathParts':o});await this[y(0x1c9)][y(0x1aa)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1bc),'isNamedExport':!![]}),await this['fsi'][y(0x1c3)]({'filePath':p+'.'+j,'aboveContent':y(0x1d0),'belowContent':'</AuthProvider>','targetString':y(0x1a6),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1d2),r=q[y(0x1ab)]('/'),s=this[y(0x1c9)][y(0x1b0)]({'pathParts':r});await this[y(0x1c9)]['injectImport']({'filePath':s+'.'+j,'importName':y(0x1a9),'modulePath':f?y(0x1c6):y(0x1bc),'isNamedExport':!![]}),await this[y(0x1c9)][y(0x1c3)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1cc),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1a8)](t),process[y(0x1ca)](0x1);}},async function(){},a122e);
1
+ const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x1ec))/0x1+-parseInt(u(0x205))/0x2+-parseInt(u(0x209))/0x3*(-parseInt(u(0x1f7))/0x4)+parseInt(u(0x20e))/0x5+parseInt(u(0x206))/0x6+-parseInt(u(0x1f3))/0x7+parseInt(u(0x1f8))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xae9ee));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x20c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x1fc)]()[w(0x20a)](w(0x200))[w(0x1fc)]()['constructor'](a122a)[w(0x20a)](w(0x200));});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a122c(){const A=['7205448cVIVzX','injectIntoCodeBlock','split','provider','toString','react','true','/routes','(((.+)+)+)+$','.js','template','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','pathFromApp','1408536KffHpG','556464DxhnZG','getMakaProjectConfig','</AuthProvider>','1427187TTsFHx','search','\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','apply','AuthContext','6815225lxBjXI','ssr','/imports/startup/client/authentication-provider','<AppRoutes\x20/>','fsi','engines','authentication-provider','\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','appName','/imports/startup/lib','/imports/startup/lib/authentication-provider','1121763ksydrn','\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','withValue','create','AuthProvider','injectImport','2036454LAHjOp','injectAroundString','force','function\x20useAuth','4cfFyvT'];a122c=function(){return A;};return a122c();}function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1e9;let f=c[d];return f;},a122d(a,b);}import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0x1f0)]({'name':a122x(0x1fb),'aliases':['p'],'usage':a122x(0x203),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a122x(0x1f5)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a122x(0x1ed)},async function(a,b){const y=a122x;try{const c=b[y(0x1f5)]||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[y(0x212)][y(0x207)](),f=d[y(0x213)][y(0x20f)]===y(0x1fe),g={'name':headerCase(d[y(0x1e9)])['replaceAll']('-','\x20')},h=f?y(0x1ea):'/imports/startup/client',i=this[y(0x212)][y(0x204)]({'pathParts':[h,'','',y(0x214)]});await this[y(0x212)][y(0x1ef)](d,async()=>{const z=y;await this[z(0x212)][z(0x202)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+z(0x201),'framework':z(0x1fd),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x213)]['js'],k=h+y(0x1ff),l=k[y(0x1fa)]('/'),m=this[y(0x212)][y(0x204)]({'pathParts':l});await this[y(0x212)][y(0x1f2)]({'filePath':m+'.'+j,'importName':y(0x20d),'modulePath':f?y(0x1eb):y(0x210),'isNamedExport':!![]}),await this['fsi'][y(0x1f2)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x1fd),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x212)][y(0x1f9)]({'filePath':m+'.'+j,'content':y(0x215),'begin':[y(0x1ee),y(0x1f6)],'replace':!![]}),await this[y(0x212)][y(0x1f9)]({'filePath':m+'.'+j,'content':y(0x20b),'begin':['const\x20PrivateRoute'],'replace':!![]});const n='/imports/startup/client/index',o=n['split']('/'),p=this['fsi']['pathFromApp']({'pathParts':o});await this[y(0x212)][y(0x1f2)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x1eb):y(0x210),'isNamedExport':!![]}),await this[y(0x212)][y(0x1f4)]({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x208),'targetString':y(0x211),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q['split']('/'),s=this[y(0x212)][y(0x204)]({'pathParts':r});await this['fsi'][y(0x1f2)]({'filePath':s+'.'+j,'importName':y(0x1f1),'modulePath':f?y(0x1eb):y(0x210),'isNamedExport':!![]}),await this[y(0x212)][y(0x1f4)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x208),'targetString':y(0x211),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a122e);
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x9a))/0x1*(-parseInt(f(0x8b))/0x2)+parseInt(f(0x8a))/0x3*(-parseInt(f(0x94))/0x4)+-parseInt(f(0x8c))/0x5*(-parseInt(f(0x99))/0x6)+-parseInt(f(0x8f))/0x7+parseInt(f(0x96))/0x8*(-parseInt(f(0x91))/0x9)+parseInt(f(0x93))/0xa+-parseInt(f(0x8e))/0xb*(-parseInt(f(0x97))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xa6c20));function a123c(){var i=['19276644TgOKsY','(((.+)+)+)+$','7662zVQyph','72055sgeflq','33gaCqdO','16ZzdGBB','3075LHbKby','search','11DsSiSj','9442286auPnkG','constructor','1395WedwUc','apply','11260690qIddke','156652VpEUUB','toString','24704TzBQxT'];a123c=function(){return i;};return a123c();}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a['toString']()[h(0x8d)](h(0x98))[h(0x95)]()[h(0x90)](a123a)[h(0x8d)](h(0x98));});a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x8a;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x10c))/0x1+-parseInt(f(0x106))/0x2*(parseInt(f(0x10f))/0x3)+-parseInt(f(0x107))/0x4+parseInt(f(0x111))/0x5+parseInt(f(0x10a))/0x6+parseInt(f(0x112))/0x7+parseInt(f(0x10b))/0x8*(parseInt(f(0x108))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xa6210));function a123c(){var i=['231277XqdjpA','toString','(((.+)+)+)+$','6zQLSGc','apply','2586985BAPgIu','1817452AWDqdt','600270oLxtti','5054496Ykayte','2259kOrquN','search','4958592CiBUgw','37360gMCokj'];a123c=function(){return i;};return a123c();}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x110)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a['toString']()[h(0x109)](h(0x10e))[h(0x10d)]()['constructor'](a123a)[h(0x109)](h(0x10e));});function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x106;var f=c[d];return f;},a123d(a,b);}a123a();import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a124i=a124d;function a124c(){const k=['/foo/bar','Esri\x20Kit\x20generated\x20successfully','4254BmFRCy','187DYuVwD','433kCaTTL','15PWOetj','1263130cOeiKA','search','54MZOxDD','maka\x20g:kit:e','11527074DSDORr','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','create','109952YldMjJ','apply','2546097Kqyndh','1553572mKrEoU','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','/foo','866229hDXyLC','toString'];a124c=function(){return k;};return a124c();}(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x88))/0x1*(-parseInt(f(0x86))/0x2)+parseInt(f(0x7d))/0x3+-parseInt(f(0x7e))/0x4*(-parseInt(f(0x89))/0x5)+-parseInt(f(0x8c))/0x6*(parseInt(f(0x82))/0x7)+-parseInt(f(0x91))/0x8+-parseInt(f(0x8e))/0x9+parseInt(f(0x8a))/0xa*(parseInt(f(0x87))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xcb1d3));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x83)]()[h(0x8b)](h(0x7f))[h(0x83)]()['constructor'](a124a)['search'](h(0x7f));});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x90)]({'name':'esri','aliases':['e'],'usage':a124i(0x80),'noNeedResource':!![],'shortDesc':a124i(0x8f),'validOpts':[''],'isPro':!![],'examples':[a124i(0x8d)],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a124i;return{'success':!![],'message':j(0x85),'details':{'filesCreated':[j(0x84)],'filesUpdated':[j(0x81)]}};},async function(){},a124e);function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x7c;let f=c[d];return f;},a124d(a,b);}export default EsriGen;
1
+ function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1da;let f=c[d];return f;},a124d(a,b);}const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x1db))/0x1*(-parseInt(f(0x1e9))/0x2)+-parseInt(f(0x1e3))/0x3*(parseInt(f(0x1e1))/0x4)+parseInt(f(0x1e7))/0x5*(parseInt(f(0x1da))/0x6)+parseInt(f(0x1df))/0x7+parseInt(f(0x1e2))/0x8+-parseInt(f(0x1e0))/0x9+parseInt(f(0x1e4))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x40513));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x1dc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()[h(0x1ea)](h(0x1e5))['toString']()[h(0x1e8)](a124a)[h(0x1ea)](h(0x1e5));});function a124c(){const k=['2003150UwSLnh','(((.+)+)+)+$','create','20tdQGcX','constructor','89674ncBClh','search','/foo','maka\x20g:kit:e','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','94194YOvSuU','9DAbEfd','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','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','1587593aphlDg','709740hgMKec','4aGtZux','3799832WXYrAO','657159sVgsuV'];a124c=function(){return k;};return a124c();}a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x1e6)]({'name':'esri','aliases':['e'],'usage':a124i(0x1ed),'noNeedResource':!![],'shortDesc':a124i(0x1de),'validOpts':[''],'isPro':!![],'examples':[a124i(0x1ec)],'description':a124i(0x1dd)},async function(){const j=a124i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0x1eb)]}};},async function(){},a124e);export default EsriGen;
@@ -1 +1 @@
1
- function a125c(){const v=['FALSE','esri-loader','kit/esri/map/','54XLfDpb','findProjectDirectory','3701080EOjODS','/imports/startup/client/templates','replaceAll','Generate\x20an\x20Esri\x20map\x20component','toString','.js','ssr','injectIntoFile','REACT','withValue','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','template','dir','/imports/startup/lib/templates','true','<div\x20id=\x22map\x22>','5048yFbTut','(((.+)+)+)+$','7560820oXdvXH','map','1161HwSNyU','injectTemplateModule','1665986WmWHGI','pathFromApp','1871436vrKqdb','split','48PGwHOA','getMakaProjectConfig','/imports/ui/hooks','9259970jFVIFi','exit','constructor','appName','create','</div>','error','apply','checkNpmPackage','bright','processAndRunGenerator','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','baseDir','fsi','9780912gQUeuZ','/imports/ui/','page'];a125c=function(){return v;};return a125c();}const a125s=a125d;function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x127;let f=c[d];return f;},a125d(a,b);}(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x135))/0x1+-parseInt(p(0x12f))/0x2*(parseInt(p(0x133))/0x3)+parseInt(p(0x152))/0x4+-parseInt(p(0x13c))/0x5+-parseInt(p(0x14a))/0x6+-parseInt(p(0x137))/0x7*(-parseInt(p(0x139))/0x8)+-parseInt(p(0x150))/0x9*(-parseInt(p(0x131))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xe5b82));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a['toString']()[r(0x128)](r(0x130))[r(0x156)]()[r(0x13e)](a125a)['search']('(((.+)+)+)+$');});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x140)]({'name':a125s(0x132),'aliases':['m'],'usage':a125s(0x129),'shortDesc':a125s(0x155),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x15a)],'ssr':SsrEngines[a125s(0x14d)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a125s;try{Log[t(0x145)]('Generating\x20a\x20map\x20component');const c='basic-map';await this[t(0x149)][t(0x144)](['@esri/react-arcgis',t(0x14e)],{'shouldInstall':!![]});const d=this[t(0x149)][t(0x151)](),f=this[t(0x149)][t(0x13a)](),g=f['engines'][t(0x158)]===t(0x12d),h=await a125f[t(0x146)](t(0x14c),[t(0x132)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x13f)])[t(0x154)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x148)]?t(0x14b)+b['baseDir']:t(0x13b),k=this[t(0x149)][t(0x136)]({'pathParts':[j,b[t(0x12b)],paramCase(c),paramCase(c)]});await this[t(0x149)][t(0x127)](f,async()=>{const u=t;await this[u(0x149)][u(0x12a)]({'srcPath':u(0x14f)+c+u(0x157),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x12b)]+'/'+c+'/'+c;await this[t(0x149)][t(0x134)](c,f,l);const m=h[t(0x138)]('/'),n=this[t(0x149)][t(0x136)]({'pathParts':m});await this[t(0x149)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x12c):t(0x153),'isNamedExport':!![]}),await this[t(0x149)][t(0x159)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x147),'begin':['<div\x20id=\x22map\x22>',t(0x12e)],'end':[t(0x141)],'replace':!![]});}catch(o){Log[t(0x142)](o),process[t(0x13d)](0x1);}},async function(){},a125e);
1
+ const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x1ef))/0x1*(-parseInt(p(0x1f3))/0x2)+parseInt(p(0x1f4))/0x3*(-parseInt(p(0x1fc))/0x4)+parseInt(p(0x1e3))/0x5*(parseInt(p(0x1ff))/0x6)+-parseInt(p(0x1e4))/0x7*(parseInt(p(0x200))/0x8)+parseInt(p(0x1ec))/0x9+-parseInt(p(0x1e5))/0xa+parseInt(p(0x1e8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x22853));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x1f9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a['toString']()['search'](r(0x1d8))['toString']()[r(0x1e1)](a125a)[r(0x1e2)](r(0x1d8));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a125d(a,b);}import a125e from'./esri.generator.js';function a125c(){const v=['page','basic-map','4043039TqUAxl','ssr','/imports/ui/','engines','896985HJEhRK','dir','</div>','113nLSwGL','withValue','baseDir','fsi','58lttEaF','30LYOBbp','findProjectDirectory','injectTemplateModule','true','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','apply','FALSE','split','30548vtvhCp','<div\x20id=\x22map\x22>','react','6AWgGlq','1429224bzQchQ','pathFromApp','/imports/ui/hooks','map','REACT','(((.+)+)+)+$','exit','.js','esri-loader','error','replaceAll','create','@esri/react-arcgis','\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','constructor','search','206860oeNwsn','7FeiRLg','1088910DKzOvK'];a125c=function(){return v;};return a125c();}import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x1de)]({'name':a125s(0x203),'aliases':['m'],'usage':a125s(0x1f8),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x1d7)],'ssr':SsrEngines[a125s(0x1fa)]},'description':a125s(0x1e0)},async function(a,b){const t=a125s;try{Log['bright']('Generating\x20a\x20map\x20component');const c=t(0x1e7);await this[t(0x1f2)]['checkNpmPackage']([t(0x1df),t(0x1db)],{'shouldInstall':!![]});const d=this['fsi'][t(0x1f5)](),f=this['fsi']['getMakaProjectConfig'](),g=f[t(0x1eb)][t(0x1e9)]===t(0x1f7),h=await a125f['processAndRunGenerator'](t(0x1e6),[t(0x203)],{'cwd':d,'config':f}),i={'name':headerCase(f['appName'])[t(0x1dd)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x1f1)]?t(0x1ea)+b[t(0x1f1)]:t(0x202),k=this['fsi'][t(0x201)]({'pathParts':[j,b[t(0x1ed)],paramCase(c),paramCase(c)]});await this['fsi'][t(0x1f0)](f,async()=>{const u=t;await this[u(0x1f2)]['template']({'srcPath':'kit/esri/map/'+c+'.js','destPath':k+u(0x1da),'framework':u(0x1fe),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this['fsi'][t(0x1f6)](c,f,l);const m=h[t(0x1fb)]('/'),n=this[t(0x1f2)][t(0x201)]({'pathParts':m});await this['fsi']['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[t(0x1f2)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x1fd),t(0x1fd)],'end':[t(0x1ee)],'replace':!![]});}catch(o){Log[t(0x1dc)](o),process[t(0x1d9)](0x1);}},async function(){},a125e);
@@ -1 +1 @@
1
- const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x14f))/0x1+parseInt(f(0x145))/0x2+-parseInt(f(0x152))/0x3*(-parseInt(f(0x146))/0x4)+parseInt(f(0x153))/0x5+-parseInt(f(0x151))/0x6+parseInt(f(0x14b))/0x7*(parseInt(f(0x156))/0x8)+parseInt(f(0x148))/0x9*(-parseInt(f(0x14a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x18c84));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x147)]()[h(0x149)](h(0x14e))[h(0x147)]()['constructor'](a126a)['search'](h(0x14e));});a126a();import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x144;let f=c[d];return f;},a126d(a,b);}const KitGen=Generator['create']({'name':a126i(0x155),'aliases':['k'],'usage':a126i(0x14d),'shortDesc':a126i(0x150),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x14c),a126i(0x154)]},async function(){});export default KitGen;function a126c(){const j=['maka\x20g:k','kit','5912MrWwSl','apply','159310wJIVHv','4wjWjQr','toString','5958GFYWtq','search','3310CtQtiA','1799rGIBxP','maka\x20g:kit','maka\x20{generate,\x20g}:{kit}\x20<name>','(((.+)+)+)+$','125655PfsIKF','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','194490IYnABy','350739AzmLpF','461045NYQFTb'];a126c=function(){return j;};return a126c();}
1
+ const a126i=a126d;function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x156;let f=c[d];return f;},a126d(a,b);}(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x164))/0x1+-parseInt(f(0x166))/0x2*(-parseInt(f(0x159))/0x3)+parseInt(f(0x160))/0x4+parseInt(f(0x15d))/0x5+-parseInt(f(0x163))/0x6+parseInt(f(0x165))/0x7+-parseInt(f(0x15c))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x93a4a));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x15e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x15f)]()[h(0x162)](h(0x161))['toString']()[h(0x15b)](a126a)[h(0x162)](h(0x161));});a126a();import{Generator}from'../../generator.js';function a126c(){const j=['constructor','13655136OVHWBi','2232175WnRVId','apply','toString','2345392FdPruN','(((.+)+)+)+$','search','3416760DUVzqI','532996aGzAEK','2119537PtyuGo','8368GXQENv','maka\x20g:k','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','create','726gYeuEm','maka\x20{generate,\x20g}:{kit}\x20<name>'];a126c=function(){return j;};return a126c();}const KitGen=Generator[a126i(0x158)]({'name':'kit','aliases':['k'],'usage':a126i(0x15a),'shortDesc':a126i(0x157),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a126i(0x156)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x82))/0x1+-parseInt(f(0x85))/0x2*(-parseInt(f(0x88))/0x3)+parseInt(f(0x7f))/0x4+-parseInt(f(0x83))/0x5+-parseInt(f(0x7e))/0x6+-parseInt(f(0x87))/0x7+parseInt(f(0x81))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x31639));function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x7e;var f=c[d];return f;},a127d(a,b);}var a127b=(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;};}()),a127a=a127b(this,function(){var g=a127d;return a127a['toString']()[g(0x86)](g(0x80))['toString']()[g(0x84)](a127a)[g(0x86)](g(0x80));});a127a();import'./mui.generator.js';import'./frame.mui.gen.js';function a127c(){var h=['2625016xYOlIi','20044OUxhbF','437920WgXmyv','constructor','1892OCYtCU','search','2632588KZTUtU','519YvvAqi','1154382IzmdLR','1386132nYTWax','(((.+)+)+)+$'];a127c=function(){return h;};return a127c();}import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x1dc))/0x1*(-parseInt(f(0x1d8))/0x2)+parseInt(f(0x1db))/0x3*(-parseInt(f(0x1d7))/0x4)+-parseInt(f(0x1d6))/0x5+-parseInt(f(0x1de))/0x6*(parseInt(f(0x1dd))/0x7)+-parseInt(f(0x1e3))/0x8*(-parseInt(f(0x1e1))/0x9)+-parseInt(f(0x1d9))/0xa+parseInt(f(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xd1c3d));function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x1d6;var f=c[d];return f;},a127d(a,b);}var a127b=(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;};}()),a127a=a127b(this,function(){var g=a127d;return a127a[g(0x1df)]()[g(0x1e0)]('(((.+)+)+)+$')[g(0x1df)]()['constructor'](a127a)[g(0x1e0)](g(0x1e2));});a127a();import'./mui.generator.js';import'./frame.mui.gen.js';function a127c(){var h=['38972417lWDniR','885213aRkyEV','53OmdYsI','7btpzYm','9516360lkToZK','toString','search','216ZoOsdZ','(((.+)+)+)+$','553360FeMvyw','1025465qVcNUl','16kqOmgF','39602MkCmDw','3229400sOQNof'];a127c=function(){return h;};return a127c();}import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a128J=a128d;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xf2;let f=c[d];return f;},a128d(a,b);}(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0x11a))/0x1+parseInt(G(0xff))/0x2+parseInt(G(0xf4))/0x3*(parseInt(G(0x102))/0x4)+parseInt(G(0x11d))/0x5*(parseInt(G(0x12f))/0x6)+-parseInt(G(0x133))/0x7*(-parseInt(G(0x12e))/0x8)+-parseInt(G(0x134))/0x9*(parseInt(G(0x126))/0xa)+-parseInt(G(0x117))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x630a1));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x124)]()[I(0x12d)](I(0x103))[I(0x124)]()['constructor'](a128a)[I(0x12d)](I(0x103));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';function a128c(){const N=['create','error','Cleaning\x20up...','/imports/startup/lib/authentication-provider','true','kit:auth:meteor','kit/mui/auth/forgot-password/','auth','kit/mui/auth/login/','baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','options','split','basic-logout-page','basic-register-page','log','injectImport','basic-forgot-password-page','engines','14555706LTljBY','ssr','force','706846UgqYJc','route','processAndRunGenerator','25iXTVdd','login','dir','maka\x20generate:kit:mui:frame','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','withValue','layouts','toString','kit:auth:provider','1180YWIExL','custom','meteor','AuthContext','.js','register','injectTemplateModule','search','32XdCIST','75066Hzihjk','/imports/startup/client/authentication-provider','pathFromApp','basic-password-reset-page','973168KGNRhV','42039DihkXo','findProjectDirectory','getMakaProjectConfig','template','apply','36588GCzrTH','kit/mui/auth/logout/','react','fsi','basic-login-page','kit/mui/auth/register/','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','replaceAll','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','logout','authType','1396952AIWuiN','maka\x20g:k:m:f','Custom\x20(roll\x20your\x20own)','84ejthUg','(((.+)+)+)+$'];a128c=function(){return N;};return a128c();}import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x104)]({'name':a128J(0x10b),'aliases':['a'],'usage':a128J(0xfa),'shortDesc':a128J(0x121),'validOpts':[a128J(0x123),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a128J(0x120),a128J(0x100)],'description':a128J(0x10e)},async function(a,b){const K=a128J;try{const c=b[K(0x119)]||![],d=this['fsi'][K(0x135)](),f=this[K(0xf7)][K(0x136)](),{authType:g}=await Actions[K(0x10f)]({'type':'list','name':K(0xfe),'message':K(0xfc),'choices':[{'name':'Meteor\x20Accounts','value':K(0x128)},{'name':K(0x101),'value':K(0x127)}]}),h='basic-login-page',i='basic-logout-page',j=K(0x112),k=K(0x132),l='basic-forgot-password-page',m=b[K(0x10d)]?'/imports/ui/'+b['baseDir']:'/imports/ui/pages/auth',n=this[K(0xf7)][K(0x131)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0xf7)]['pathFromApp']({'pathParts':[m,b[K(0x11f)],paramCase(i),paramCase(i)]}),p=this[K(0xf7)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0xf7)]['pathFromApp']({'pathParts':[m,b[K(0x11f)],paramCase(k),paramCase(k)]}),r=this[K(0xf7)][K(0x131)]({'pathParts':[m,b[K(0x11f)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])[K(0xfb)]('-','\x20')};await this[K(0xf7)][K(0x122)](f,async()=>{const L=K;await this[L(0xf7)][L(0xf2)]({'srcPath':L(0x10c)+h+L(0x12a),'destPath':n+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xf7)][L(0xf2)]({'srcPath':L(0xf5)+i+'.js','destPath':o+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0xf9)+j+L(0x12a),'destPath':p+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0xf2)]({'srcPath':'kit/mui/auth/password-reset/'+k+'.js','destPath':q+L(0x12a),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xf7)][L(0xf2)]({'srcPath':L(0x10a)+l+L(0x12a),'destPath':r+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this[K(0xf7)][K(0x12c)](h,f,t);const u=''+m+b[K(0x11f)]+'/'+i+'/'+i;await this[K(0xf7)][K(0x12c)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0xf7)][K(0x12c)](j,f,v);const w=''+m+b[K(0x11f)]+'/'+k+'/'+k;await this[K(0xf7)][K(0x12c)](k,f,w);const x=''+m+b[K(0x11f)]+'/'+l+'/'+l;await this['fsi'][K(0x12c)](l,f,x),await a128e[K(0x11c)]('route',[K(0xf8)],{'route':K(0x11e),'cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),[K(0x111)],{'route':K(0xfd),'private':!![],'cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),['basic-register-page'],{'route':K(0x12b),'cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),[K(0x132)],{'route':'reset-password/:token','cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),[K(0x115)],{'route':'forgot-password','cwd':d,'config':f});g===K(0x128)&&await a128e[K(0x11c)](K(0x109),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a128e[K(0x11c)](K(0x125),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x116)][K(0x118)]===K(0x108),z=f[K(0x116)]['js'],A=this['fsi'][K(0x131)]({'pathParts':t[K(0x110)]('/')});await this[K(0xf7)][K(0x114)]({'filePath':A+'.'+z,'importName':K(0x129),'modulePath':y?K(0x107):K(0x130),'isNamedExport':!![]});const B=this[K(0xf7)][K(0x131)]({'pathParts':u[K(0x110)]('/')});await this[K(0xf7)][K(0x114)]({'filePath':B+'.'+z,'importName':K(0x129),'modulePath':y?K(0x107):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0xf7)][K(0x131)]({'pathParts':v[K(0x110)]('/')});await this[K(0xf7)][K(0x114)]({'filePath':C+'.'+z,'importName':K(0x129),'modulePath':y?K(0x107):K(0x130),'isNamedExport':!![]});const D=this[K(0xf7)][K(0x131)]({'pathParts':w[K(0x110)]('/')});await this['fsi'][K(0x114)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?K(0x107):K(0x130),'isNamedExport':!![]});const E=this[K(0xf7)][K(0x131)]({'pathParts':x['split']('/')});await this[K(0xf7)][K(0x114)]({'filePath':E+'.'+z,'importName':K(0x129),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x130),'isNamedExport':!![]});}catch(F){Log[K(0x105)](F);}},async function(){const M=a128J;console[M(0x113)](M(0x106));},a128f);
1
+ const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0xa9))/0x1*(parseInt(G(0x88))/0x2)+-parseInt(G(0xc4))/0x3*(-parseInt(G(0xbb))/0x4)+-parseInt(G(0x8c))/0x5*(-parseInt(G(0xac))/0x6)+parseInt(G(0x93))/0x7*(parseInt(G(0x9f))/0x8)+-parseInt(G(0xb6))/0x9+-parseInt(G(0xa3))/0xa*(-parseInt(G(0xc6))/0xb)+-parseInt(G(0xc5))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xaa876));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0xba)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0xbd)]()[I(0xb7)](I(0x8d))[I(0xbd)]()['constructor'](a128a)[I(0xb7)](I(0x8d));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128c(){const N=['logout','log','list','dir','maka\x20g:k:m:f','split','kit/mui/auth/forgot-password/','replaceAll','AuthContext','3522879TTxHPt','search','pathFromApp','options','apply','890696adXiyV','forgot-password','toString','true','create','engines','basic-forgot-password-page','MATERIAL','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','12qDGguF','49628028dhIrMh','33wGNdnh','register','injectImport','template','force','meteor','route','kit/mui/auth/password-reset/','maka\x20generate:kit:mui:frame','892818pYFGrU','Cleaning\x20up...','basic-register-page','basic-password-reset-page','6734085tuMFXj','(((.+)+)+)+$','withValue','custom','authType','injectTemplateModule','react','434hQmEhh','fsi','kit/mui/auth/register/','/imports/startup/client/authentication-provider','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','kit/mui/auth/logout/','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','kit/mui/auth/login/','error','layouts','reset-password/:token','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','169264iQwNpZ','appName','/imports/ui/','basic-logout-page','1123500mRcrtQ','.js','processAndRunGenerator','/imports/startup/lib/authentication-provider','kit:auth:provider','auth','3yJNsfW','basic-login-page','/imports/ui/pages/auth','6ecgSej'];a128c=function(){return N;};return a128c();}import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x84;let f=c[d];return f;},a128d(a,b);}Generator[a128J(0xbf)]({'name':a128J(0xa8),'aliases':['a'],'usage':a128J(0x9e),'shortDesc':a128J(0x99),'validOpts':[a128J(0x9c),a128J(0xca)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128J(0xc2)],'client':ClientEngines['REACT']},'examples':[a128J(0x87),a128J(0xb1)],'description':a128J(0xc3)},async function(a,b){const K=a128J;try{const c=b[K(0xca)]||![],d=this[K(0x94)]['findProjectDirectory'](),f=this[K(0x94)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0xb9)]({'type':K(0xaf),'name':K(0x90),'message':K(0x97),'choices':[{'name':'Meteor\x20Accounts','value':K(0x84)},{'name':'Custom\x20(roll\x20your\x20own)','value':K(0x8f)}]}),h='basic-login-page',i=K(0xa2),j=K(0x8a),k=K(0x8b),l=K(0xc1),m=b['baseDir']?K(0xa1)+b['baseDir']:K(0xab),n=this['fsi'][K(0xb8)]({'pathParts':[m,b[K(0xb0)],paramCase(h),paramCase(h)]}),o=this[K(0x94)][K(0xb8)]({'pathParts':[m,b[K(0xb0)],paramCase(i),paramCase(i)]}),p=this[K(0x94)]['pathFromApp']({'pathParts':[m,b[K(0xb0)],paramCase(j),paramCase(j)]}),q=this[K(0x94)][K(0xb8)]({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[K(0x94)][K(0xb8)]({'pathParts':[m,b[K(0xb0)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0xa0)])[K(0xb4)]('-','\x20')};await this[K(0x94)][K(0x8e)](f,async()=>{const L=K;await this['fsi'][L(0xc9)]({'srcPath':L(0x9a)+h+'.js','destPath':n+L(0xa4),'framework':L(0x92),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x94)]['template']({'srcPath':L(0x98)+i+'.js','destPath':o+'.js','framework':L(0x92),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x94)]['template']({'srcPath':L(0x95)+j+L(0xa4),'destPath':p+L(0xa4),'framework':L(0x92),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x94)][L(0xc9)]({'srcPath':L(0x86)+k+L(0xa4),'destPath':q+L(0xa4),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x94)][L(0xc9)]({'srcPath':L(0xb3)+l+'.js','destPath':r+L(0xa4),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0xb0)]+'/'+h+'/'+h;await this['fsi'][K(0x91)](h,f,t);const u=''+m+b[K(0xb0)]+'/'+i+'/'+i;await this[K(0x94)]['injectTemplateModule'](i,f,u);const v=''+m+b[K(0xb0)]+'/'+j+'/'+j;await this[K(0x94)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0xb0)]+'/'+k+'/'+k;await this['fsi']['injectTemplateModule'](k,f,w);const x=''+m+b[K(0xb0)]+'/'+l+'/'+l;await this['fsi'][K(0x91)](l,f,x),await a128e[K(0xa5)]('route',[K(0xaa)],{'route':'login','cwd':d,'config':f}),await a128e[K(0xa5)](K(0x85),[K(0xa2)],{'route':K(0xad),'private':!![],'cwd':d,'config':f}),await a128e[K(0xa5)](K(0x85),[K(0x8a)],{'route':K(0xc7),'cwd':d,'config':f}),await a128e[K(0xa5)](K(0x85),[K(0x8b)],{'route':K(0x9d),'cwd':d,'config':f}),await a128e[K(0xa5)](K(0x85),[K(0xc1)],{'route':K(0xbc),'cwd':d,'config':f});g===K(0x84)&&await a128e[K(0xa5)]('kit:auth:meteor',[],{'force':c,'cwd':d,'config':f});g===K(0x8f)&&await a128e[K(0xa5)](K(0xa7),[],{'force':c,'cwd':d,'config':f});const y=f[K(0xc0)]['ssr']===K(0xbe),z=f[K(0xc0)]['js'],A=this[K(0x94)]['pathFromApp']({'pathParts':t[K(0xb2)]('/')});await this[K(0x94)][K(0xc8)]({'filePath':A+'.'+z,'importName':K(0xb5),'modulePath':y?K(0xa6):K(0x96),'isNamedExport':!![]});const B=this['fsi'][K(0xb8)]({'pathParts':u[K(0xb2)]('/')});await this[K(0x94)]['injectImport']({'filePath':B+'.'+z,'importName':K(0xb5),'modulePath':y?K(0xa6):K(0x96),'isNamedExport':!![]});const C=this[K(0x94)][K(0xb8)]({'pathParts':v[K(0xb2)]('/')});await this[K(0x94)][K(0xc8)]({'filePath':C+'.'+z,'importName':K(0xb5),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x96),'isNamedExport':!![]});const D=this[K(0x94)]['pathFromApp']({'pathParts':w[K(0xb2)]('/')});await this[K(0x94)][K(0xc8)]({'filePath':D+'.'+z,'importName':K(0xb5),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x96),'isNamedExport':!![]});const E=this[K(0x94)]['pathFromApp']({'pathParts':x[K(0xb2)]('/')});await this[K(0x94)][K(0xc8)]({'filePath':E+'.'+z,'importName':K(0xb5),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x96),'isNamedExport':!![]});}catch(F){Log[K(0x9b)](F);}},async function(){const M=a128J;console[M(0xae)](M(0x89));},a128f);
@@ -1 +1 @@
1
- const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0xef))/0x1*(-parseInt(B(0xe5))/0x2)+-parseInt(B(0xd9))/0x3+-parseInt(B(0xc3))/0x4*(parseInt(B(0xc5))/0x5)+-parseInt(B(0xd7))/0x6+parseInt(B(0xd2))/0x7*(parseInt(B(0xb6))/0x8)+parseInt(B(0xf1))/0x9+parseInt(B(0xd1))/0xa*(parseInt(B(0xe3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x5fb17));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0xf2)]()[D(0xb9)](D(0xda))[D(0xf2)]()[D(0xbe)](a129a)[D(0xb9)]('(((.+)+)+)+$');});a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';function a129c(){const I=['replaceAll','appName','/imports/startup/client/templates','110qRXfBh','4179AyqpFp','fsi','pathFromApp','/imports/ui/components','/imports/ui/','1182378EXXUeW','apply','136590QBDWbs','(((.+)+)+)+$','layouts','checkbox','app-tests','getFiles','ssr','MATERIAL','<Outlet\x20/>','length','790955SQQqhR','engines','2uObFOy','injectIntoFile','kit/mui/frame/drawers/','\x20/>\x0a','tests','maka\x20g:k:m:f','getMakaProjectConfig','error','force','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','297294ymdsdJ','Cleaning\x20up...','174519rfBwWl','toString','dir','<Outlet/>','injectAroundString','-hook\x22>','react','REACT','withValue','baseDir','session','/imports/startup/lib/templates','<div\x20id=\x22','488QfdCKN','maka\x20generate:kit:mui:frame','Box','search','.js','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','<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>','true','constructor','@mui/material/Container','join','injectImport','No\x20layouts\x20selected','20JTZsde','kit/mui/frame/app-bars/','509505TVOmVv','template','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','options','injectTemplateModule','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','test','log'];a129c=function(){return I;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xac;let f=c[d];return f;},a129d(a,b);}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'frame','aliases':['f'],'usage':a129E(0xee),'shortDesc':a129E(0xbb),'validOpts':[a129E(0xdb),a129E(0xb2),a129E(0xf3),a129E(0xed)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0xe0)],'client':ClientEngines[a129E(0xb0)]},'examples':[a129E(0xb7),a129E(0xea)],'description':a129E(0xc8)},async function(a,b){const F=a129E;try{const c=b[F(0xed)]||![],d='basic-app-bar',f='basic-drawer',g='basic-sticky-footer',h=this[F(0xd3)][F(0xeb)](),i=h[F(0xe4)][F(0xdf)]===F(0xbd);await this['fsi']['checkMeteorPackage']([F(0xb3),'maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0xd3)]['findAppDirectory'](),k=a129e['join'](j,'imports','ui',F(0xdb)),l=this[F(0xd3)]['getDirectories'](k),m=await Actions[F(0xc9)]({'type':F(0xdc),'name':F(0xdb),'message':F(0xc7),'choices':l});if(m[F(0xdb)][F(0xe2)]===0x0){Log[F(0xec)](F(0xc2));return;}const n=b[F(0xb2)]?F(0xd6)+b[F(0xb2)]:F(0xd5),o=this[F(0xd3)][F(0xd4)]({'pathParts':[n,b[F(0xf3)],paramCase(d),paramCase(d)]}),p=this[F(0xd3)][F(0xd4)]({'pathParts':[n,b[F(0xf3)],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0xd4)]({'pathParts':[n,b[F(0xf3)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xcf)])[F(0xce)]('-','\x20')};await this['fsi'][F(0xb1)](h,async()=>{const G=F;await this[G(0xd3)][G(0xc6)]({'srcPath':G(0xc4)+d+G(0xba),'destPath':o+G(0xba),'framework':G(0xaf),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd3)][G(0xc6)]({'srcPath':G(0xe7)+f+G(0xba),'destPath':p+G(0xba),'framework':G(0xaf),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd3)]['template']({'srcPath':'kit/mui/frame/footers/'+g+G(0xba),'destPath':q+G(0xba),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0xf3)]+'/'+d+'/'+d;await this[F(0xd3)]['injectTemplateModule'](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0xd3)]['injectTemplateModule'](f,h,t);const u=''+n+b[F(0xf3)]+'/'+g+'/'+g;await this[F(0xd3)][F(0xca)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0xd3)][F(0xde)](a129e['join'](k,w),{'extensions':['jsx','tsx'],'omit':[F(0xdd),F(0xe9),F(0xcc)]});for(const y of x){const z=a129e[F(0xc0)](k,w,y);await this[F(0xd3)][F(0xc1)]({'filePath':z,'importName':F(0xb8),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this['fsi'][F(0xc1)]({'filePath':z,'importName':'Container','modulePath':F(0xbf),'isNamedExport':![]}),await this['fsi'][F(0xc1)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0xd3)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0xe8),'begin':[F(0xb5)+w+'\x22>',F(0xb5)+w+F(0xae)],'end':['<Outlet/>',F(0xe1)]}),await this[F(0xd3)][F(0xc1)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xb4):F(0xd0),'isNamedExport':!![]}),await this[F(0xd3)][F(0xe6)]({'filePath':z,'content':'<'+pascalCase(f)+F(0xe8),'begin':[F(0xb5)+w+'\x22>',F(0xb5)+w+F(0xae)],'end':['<Outlet/>',F(0xe1)]}),await this[F(0xd3)][F(0xe6)]({'filePath':z,'content':'<'+pascalCase(g)+F(0xe8),'begin':[F(0xac),F(0xe1)],'end':['</div>']}),await this[F(0xd3)][F(0xc1)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0xb4):F(0xd0),'isNamedExport':!![]}),await this[F(0xd3)][F(0xad)]({'filePath':z,'aboveContent':F(0xbc),'belowContent':F(0xcb),'targetString':[F(0xac),F(0xe1)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a129E;console[H(0xcd)](H(0xf0));},a129f);
1
+ const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=parseInt(B(0xb0))/0x1*(-parseInt(B(0x96))/0x2)+-parseInt(B(0x99))/0x3+parseInt(B(0x88))/0x4*(-parseInt(B(0xa0))/0x5)+-parseInt(B(0x93))/0x6*(parseInt(B(0xc9))/0x7)+-parseInt(B(0x94))/0x8*(parseInt(B(0xc6))/0x9)+-parseInt(B(0xb4))/0xa*(parseInt(B(0x91))/0xb)+parseInt(B(0xca))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x1a85c));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a['toString']()['search'](D(0x8d))[D(0xa9)]()[D(0x89)](a129a)[D(0xcb)](D(0x8d));});a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x87;let f=c[d];return f;},a129d(a,b);}function a129c(){const I=['join','dir','injectImport','Container','options','/imports/startup/client/templates','true','template','/imports/ui/','checkMeteorPackage','create','pathFromApp','engines','kit/mui/frame/drawers/','<Outlet\x20/>','410391bOgtnt','test','length','836794ZpGuEF','10456200tGlvTD','search','kit/mui/frame/app-bars/','imports','checkbox','getMakaProjectConfig','log','.js','\x20/>\x0a','156jRzOYN','constructor','@mui/material/Container','/imports/startup/lib/templates','basic-drawer','(((.+)+)+)+$','withValue','kit/mui/frame/footers/','layouts','198VbAGIs','maka\x20generate:kit:mui:frame','6NjgBuD','8xlbUJW','session','371378fPvEMm','tests','/imports/ui/components','486087rmvlOa','<div\x20id=\x22','injectIntoFile','replaceAll','frame','getFiles','basic-app-bar','14725htAZJb','-hook\x22>','jsx','react','injectTemplateModule','<Outlet/>','Cleaning\x20up...','maka\x20g:k:m:f','error','toString','@mui/material/Box','apply','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','ssr','force','fsi','1jxxCkT','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','findAppDirectory','appName','75000hySlOU','baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'];a129c=function(){return I;};return a129c();}import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0xc1)]({'name':a129E(0x9d),'aliases':['f'],'usage':a129E(0xac),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a129E(0x90),'baseDir',a129E(0xb8),a129E(0xae)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a129E(0x92),a129E(0xa7)],'description':a129E(0xb6)},async function(a,b){const F=a129E;try{const c=b[F(0xae)]||![],d=F(0x9f),f=F(0x8c),g='basic-sticky-footer',h=this[F(0xaf)][F(0xcf)](),i=h[F(0xc3)][F(0xad)]===F(0xbd);await this[F(0xaf)][F(0xc0)]([F(0x95),'maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0xaf)][F(0xb2)](),k=a129e[F(0xb7)](j,F(0xcd),'ui','layouts'),l=this['fsi']['getDirectories'](k),m=await Actions[F(0xbb)]({'type':F(0xce),'name':F(0x90),'message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m['layouts'][F(0xc8)]===0x0){Log[F(0xa8)]('No\x20layouts\x20selected');return;}const n=b['baseDir']?F(0xbf)+b[F(0xb5)]:F(0x98),o=this['fsi'][F(0xc2)]({'pathParts':[n,b[F(0xb8)],paramCase(d),paramCase(d)]}),p=this[F(0xaf)][F(0xc2)]({'pathParts':[n,b[F(0xb8)],paramCase(f),paramCase(f)]}),q=this[F(0xaf)][F(0xc2)]({'pathParts':[n,b[F(0xb8)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xb3)])[F(0x9c)]('-','\x20')};await this[F(0xaf)][F(0x8e)](h,async()=>{const G=F;await this[G(0xaf)][G(0xbe)]({'srcPath':G(0xcc)+d+'.js','destPath':o+G(0xd1),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xaf)][G(0xbe)]({'srcPath':G(0xc4)+f+G(0xd1),'destPath':p+'.js','framework':G(0xa3),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':G(0x8f)+g+G(0xd1),'destPath':q+G(0xd1),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0xb8)]+'/'+d+'/'+d;await this[F(0xaf)][F(0xa4)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0xaf)][F(0xa4)](f,h,t);const u=''+n+b[F(0xb8)]+'/'+g+'/'+g;await this[F(0xaf)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi'][F(0x9e)](a129e[F(0xb7)](k,w),{'extensions':[F(0xa2),'tsx'],'omit':['app-tests',F(0x97),F(0xc7)]});for(const y of x){const z=a129e['join'](k,w,y);await this[F(0xaf)][F(0xb9)]({'filePath':z,'importName':'Box','modulePath':F(0xaa),'isNamedExport':![]}),await this[F(0xaf)][F(0xb9)]({'filePath':z,'importName':F(0xba),'modulePath':F(0x8a),'isNamedExport':![]}),await this[F(0xaf)]['injectImport']({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':F(0xbc),'isNamedExport':!![]}),await this[F(0xaf)][F(0x9b)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x9a)+w+'\x22>',F(0x9a)+w+F(0xa1)],'end':[F(0xa5),F(0xc5)]}),await this[F(0xaf)][F(0xb9)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x8b):F(0xbc),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0x87),'begin':[F(0x9a)+w+'\x22>',F(0x9a)+w+F(0xa1)],'end':[F(0xa5),F(0xc5)]}),await this[F(0xaf)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0xa5),F(0xc5)],'end':['</div>']}),await this['fsi'][F(0xb9)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x8b):F(0xbc),'isNamedExport':!![]}),await this[F(0xaf)]['injectAroundString']({'filePath':z,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':F(0xb1),'targetString':[F(0xa5),F(0xc5)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0xa8)](A);}},async function(){const H=a129E;console[H(0xd0)](H(0xa6));},a129f);
@@ -1 +1 @@
1
- const a130i=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x207))/0x1*(-parseInt(g(0x1f4))/0x2)+-parseInt(g(0x1f2))/0x3+-parseInt(g(0x1f5))/0x4*(-parseInt(g(0x201))/0x5)+-parseInt(g(0x1e9))/0x6*(parseInt(g(0x1fb))/0x7)+parseInt(g(0x209))/0x8*(parseInt(g(0x203))/0x9)+-parseInt(g(0x1e5))/0xa*(-parseInt(g(0x1fd))/0xb)+-parseInt(g(0x1f6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xe41f3));function a130c(){const k=['options','findProjectDirectory','kit:mui:frame','5226048afMFFu','search','86nRXWcj','96632oamFGj','7628628LXEOqd','frame','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','length','includes','276031TSYCrD','fsi','45419belsBi','toString','constructor','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','185xKxmaj','kit:mui:auth','17739pnEHJO','processAndRunGenerator','notice','mui','1929BbrMEW','auth','7392KIoilx','info','4130JCydkg','Header,\x20Footer,\x20and\x20Drawer','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','156ADTzQd','(((.+)+)+)+$','maka\x20g:kit:m','create','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','Material-UI\x20Kit'];a130c=function(){return k;};return a130c();}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x1fe)]()[h(0x1f3)](h(0x1ea))['toString']()[h(0x1ff)](a130a)[h(0x1f3)](h(0x1ea));});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a130d(a,b);}import a130f from'../kit.js';const MuiGen=Generator[a130i(0x1ec)]({'name':a130i(0x206),'aliases':['m'],'usage':a130i(0x1f8),'noNeedResource':!![],'shortDesc':a130i(0x1ee),'validOpts':[''],'isPro':!![],'examples':[a130i(0x1eb)]},async function(){const j=a130i;Log[j(0x20a)](j(0x200)),Log[j(0x205)](j(0x1ed));const {kitChoices:a}=await Actions[j(0x1ef)]({'type':'checkbox','name':'kitChoices','message':j(0x1e7),'choices':[{'name':j(0x1e6),'value':j(0x1f7)},{'name':j(0x1e8),'value':j(0x208)}]}),b=this['fsi'][j(0x1f0)](),c=this[j(0x1fc)]['getMakaProjectConfig']();a['includes'](j(0x1f7))&&await a130e[j(0x204)](j(0x1f1),[],{'force':!![],'cwd':b,'config':c});a[j(0x1fa)]('auth')&&await a130e['processAndRunGenerator'](j(0x202),[],{'force':!![],'cwd':b,'config':c});if(a[j(0x1f9)]===0x0){Log[j(0x20a)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a130f);export default MuiGen;
1
+ const a130j=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xf4;let f=c[d];return f;},a130d(a,b);}(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x10d))/0x1*(parseInt(g(0x105))/0x2)+-parseInt(g(0x101))/0x3+-parseInt(g(0x111))/0x4+-parseInt(g(0x104))/0x5+parseInt(g(0x109))/0x6*(-parseInt(g(0xf5))/0x7)+parseInt(g(0x102))/0x8+parseInt(g(0xfa))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xce215));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0xfd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a['toString']()[i(0x10c)](i(0x10f))['toString']()[i(0x107)](a130a)[i(0x10c)](i(0x10f));});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';const MuiGen=Generator['create']({'name':a130j(0xf7),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a130j(0xf8),'validOpts':[''],'isPro':!![],'examples':[a130j(0x106)]},async function(){const k=a130j;Log[k(0x112)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log['notice'](k(0x10e));const {kitChoices:a}=await Actions[k(0x108)]({'type':'checkbox','name':k(0xfb),'message':k(0xfc),'choices':[{'name':k(0xff),'value':k(0xf9)},{'name':k(0x103),'value':'auth'}]}),b=this['fsi']['findProjectDirectory'](),c=this[k(0xfe)][k(0xf4)]();a[k(0x10a)]('frame')&&await a130e[k(0x110)](k(0x113),[],{'force':!![],'cwd':b,'config':c});a['includes']('auth')&&await a130e[k(0x110)](k(0x100),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xf6)]===0x0){Log[k(0x112)](k(0x10b));return;}},async function(){},a130f);function a130c(){const l=['(((.+)+)+)+$','processAndRunGenerator','1192040JKkhjS','info','kit:mui:frame','getMakaProjectConfig','1470525aPiBAS','length','mui','Material-UI\x20Kit','frame','9773937LIunLE','kitChoices','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','apply','fsi','Header,\x20Footer,\x20and\x20Drawer','kit:mui:auth','3351963aMgiwh','6196320DfCJYC','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','2864235tTMvDt','3214BJkNtq','maka\x20g:kit:m','constructor','options','18CbgTsL','includes','No\x20MUI\x20kits\x20selected.\x20Exiting.','search','997ssjvRb','\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'];a130c=function(){return l;};return a130c();}export default MuiGen;
@@ -1 +1 @@
1
- const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0x1e5))/0x1*(parseInt(l(0x1ec))/0x2)+parseInt(l(0x1c5))/0x3*(parseInt(l(0x1d1))/0x4)+-parseInt(l(0x1df))/0x5*(parseInt(l(0x1bd))/0x6)+parseInt(l(0x1cb))/0x7+parseInt(l(0x1d3))/0x8+-parseInt(l(0x1d8))/0x9*(-parseInt(l(0x1bf))/0xa)+parseInt(l(0x1d9))/0xb*(-parseInt(l(0x1ea))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x87f8c));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x1dd)]()[n(0x1db)](n(0x1c3))[n(0x1dd)]()[n(0x1c9)](a131a)['search'](n(0x1c3));});a131a();import a131e from'path';function a131c(){const r=['316170dzsvNa','graphql','9845870PeBvtz','injectTemplateModule','css','pathFromApp','(((.+)+)+)+$','withValue','11139xeGjab','maka\x20g:l\x20web/safari','resourceName','dir','constructor','installNpmPackage','4909177vhmFhd','template','includes','getMakaProjectConfig','split','relative','188JqToWJ','ssr','7794296qrzkbL','layout','className','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','true','9Gumwhj','392007DyiELz','react','search','api','toString','client','30ERNefK','.css','setTemplate','apply','withHooks','string','215373mVOhmH','findAppDirectory','ramda','.js','/imports/ui/layouts','588wjCnlC','features','2ZCiaPr','assign','engines','test','withHook','checkNpmPackage','Scaffolding\x20for\x20a\x20React\x20Layout.','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fileName','fsi','test/test.js'];a131c=function(){return r;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a131d(a,b);}Generator['create']({'name':a131o(0x1d4),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a131o(0x1b8),'validOpts':[a131o(0x1f0)],'examples':['maka\x20g:layout\x20mobile/iPhone8',a131o(0x1c6)]},async function(a,b){const p=a131o,c=p(0x1e9),d=this[p(0x1bb)][p(0x1e6)](),e=this['fsi'][p(0x1c2)]({'pathParts':[c,b[p(0x1c8)],paramCase(b['resourceName']),paramCase(b[p(0x1c7)])]}),f=this['fsi'][p(0x1ce)]();await this[p(0x1bb)][p(0x1c4)](f,async()=>{const q=p;typeof f[q(0x1cc)][q(0x1ef)]===q(0x1e4)&&(f[q(0x1cc)][q(0x1ef)]=f[q(0x1cc)][q(0x1ef)]===q(0x1d7)?!![]:![],this[q(0x1bb)][q(0x1e1)]('test',f['template'][q(0x1ef)]));typeof f[q(0x1cc)]['css']===q(0x1e4)&&(f[q(0x1cc)][q(0x1c1)]=f[q(0x1cc)][q(0x1c1)]===q(0x1d7)?!![]:![],this['fsi'][q(0x1e1)](q(0x1c1),f[q(0x1cc)][q(0x1c1)]));typeof f[q(0x1cc)]['js']===q(0x1e4)&&(f[q(0x1cc)]['js']=f[q(0x1cc)]['js']===q(0x1d7)?!![]:![],this[q(0x1bb)][q(0x1e1)]('js',f[q(0x1cc)]['js']));!f[q(0x1eb)]&&(f[q(0x1eb)]={});const g=b['_']?b['_'][0x0][q(0x1cf)](':')[0x1]:![],h=b['_']&&aliases[q(0x1cd)](g);h&&!this[q(0x1b7)](q(0x1e7))&&(Log['warn'](q(0x1d6)),this[q(0x1bb)][q(0x1ca)](q(0x1e7),{'cwd':d}));if(h&&!this[q(0x1b7)](q(0x1da))){Log['warn'](q(0x1b9));return;}const i={'name':pascalCase(b[q(0x1c7)]),'myPath':a131e[q(0x1d0)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x1c7)]),'className':pascalCase(b[q(0x1c7)]),'camelCaseName':camelCase(b[q(0x1c7)]),'fileName':paramCase(b[q(0x1c7)]),'graphql':f[q(0x1ee)][q(0x1be)],'features':f[q(0x1eb)],'client':f['engines'][q(0x1de)],'api':f[q(0x1ee)][q(0x1dc)],'ssr':f['engines'][q(0x1d2)],'test':f[q(0x1ee)][q(0x1ef)],'theme':f[q(0x1ee)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1eb)]['withTranslations']};f[q(0x1eb)]?.[q(0x1e3)]||b[q(0x1f0)]?await this[q(0x1bb)][q(0x1cc)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':q(0x1da),'context':i,'config':f}):await this['fsi']['template']({'srcPath':'component/component.js','destPath':e+q(0x1e8),'framework':q(0x1da),'context':i,'config':f});f[q(0x1ee)]['test']!=='none'&&await this[q(0x1bb)][q(0x1cc)]({'srcPath':q(0x1bc),'destPath':e+'.app-tests.js','framework':q(0x1da),'context':i,'config':f});f[q(0x1cc)][q(0x1c1)]&&(await this[q(0x1bb)][q(0x1cc)]({'srcPath':'template/template.css','destPath':e+q(0x1e0),'context':Object[q(0x1ed)]({},i,{'className':paramCase(b[q(0x1c7)])}),'config':f}),await this[q(0x1bb)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0x1ee)]['js'],'content':'import\x20\x27./'+i[q(0x1ba)]+'.'+f[q(0x1ee)][q(0x1c1)]+'\x27;'}));const j=b[q(0x1c8)]?'/'+b[q(0x1c8)]+'/':'/',k=''+c+j+i[q(0x1ba)]+'/'+i['fileName'];await this[q(0x1bb)][q(0x1c0)](i[q(0x1d5)],f,k);});});
1
+ const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0xf0))/0x1*(parseInt(l(0xe9))/0x2)+parseInt(l(0x112))/0x3+parseInt(l(0x105))/0x4*(parseInt(l(0xf7))/0x5)+-parseInt(l(0xed))/0x6*(-parseInt(l(0xd8))/0x7)+parseInt(l(0x106))/0x8+parseInt(l(0xe6))/0x9*(parseInt(l(0x11a))/0xa)+parseInt(l(0x116))/0xb*(-parseInt(l(0xd7))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xcf49d));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x115)]()[n(0x10b)](n(0xff))[n(0x115)]()[n(0xf9)](a131a)[n(0x10b)](n(0xff));});a131a();import a131e from'path';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xd7;let f=c[d];return f;},a131d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131o(0x101)]({'name':a131o(0x10a),'aliases':aliases,'usage':a131o(0xf1),'shortDesc':a131o(0xf8),'validOpts':[a131o(0xfd)],'examples':[a131o(0xec),a131o(0x113)]},async function(a,b){const p=a131o,c=p(0xe8),d=this[p(0xea)][p(0x119)](),e=this[p(0xea)][p(0xdc)]({'pathParts':[c,b[p(0xde)],paramCase(b[p(0x10c)]),paramCase(b[p(0x10c)])]}),f=this[p(0xea)][p(0x100)]();await this['fsi'][p(0xda)](f,async()=>{const q=p;typeof f['template'][q(0x10e)]===q(0xe0)&&(f[q(0x111)][q(0x10e)]=f[q(0x111)][q(0x10e)]==='true'?!![]:![],this[q(0xea)][q(0xe7)](q(0x10e),f[q(0x111)][q(0x10e)]));typeof f[q(0x111)][q(0xfb)]===q(0xe0)&&(f[q(0x111)][q(0xfb)]=f['template']['css']===q(0x109)?!![]:![],this[q(0xea)][q(0xe7)]('css',f[q(0x111)][q(0xfb)]));typeof f[q(0x111)]['js']===q(0xe0)&&(f[q(0x111)]['js']=f[q(0x111)]['js']==='true'?!![]:![],this[q(0xea)]['setTemplate']('js',f[q(0x111)]['js']));!f[q(0xfc)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0xfe)](':')[0x1]:![],h=b['_']&&aliases[q(0xe1)](g);h&&!this[q(0xe3)](q(0xdb))&&(Log['warn'](q(0xee)),this[q(0xea)]['installNpmPackage']('ramda',{'cwd':d}));if(h&&!this[q(0xe3)](q(0x103))){Log['warn'](q(0xdf));return;}const i={'name':pascalCase(b[q(0x10c)]),'myPath':a131e[q(0x117)](this[q(0xea)][q(0xe4)]({}),e),'cssCaseName':paramCase(b[q(0x10c)]),'className':pascalCase(b[q(0x10c)]),'camelCaseName':camelCase(b[q(0x10c)]),'fileName':paramCase(b[q(0x10c)]),'graphql':f['engines'][q(0x10d)],'features':f[q(0xfc)],'client':f[q(0xdd)][q(0x114)],'api':f['engines'][q(0xf5)],'ssr':f[q(0xdd)][q(0xe5)],'test':f[q(0xdd)]['test'],'theme':f[q(0xdd)][q(0xe2)],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0xfc)][q(0x104)]};f[q(0xfc)]?.[q(0xef)]||b[q(0xfd)]?await this[q(0xea)][q(0x111)]({'srcPath':q(0x102),'destPath':e+q(0x107),'framework':'react','context':i,'config':f}):await this[q(0xea)][q(0x111)]({'srcPath':q(0xf6),'destPath':e+'.js','framework':q(0x103),'context':i,'config':f});f[q(0xdd)][q(0x10e)]!==q(0xfa)&&await this[q(0xea)][q(0x111)]({'srcPath':'test/test.js','destPath':e+q(0x108),'framework':q(0x103),'context':i,'config':f});f[q(0x111)][q(0xfb)]&&(await this[q(0xea)][q(0x111)]({'srcPath':q(0xd9),'destPath':e+q(0xf2),'context':Object[q(0xf4)]({},i,{'className':paramCase(b[q(0x10c)])}),'config':f}),await this['fsi'][q(0x118)]({'filePath':e+'.'+f['engines']['js'],'content':q(0xf3)+i['fileName']+'.'+f[q(0xdd)][q(0xfb)]+'\x27;'}));const j=b[q(0xde)]?'/'+b[q(0xde)]+'/':'/',k=''+c+j+i[q(0x10f)]+'/'+i['fileName'];await this['fsi']['injectTemplateModule'](i[q(0x110)],f,k);});});function a131c(){const r=['className','template','2323473Jbdcfj','maka\x20g:l\x20web/safari','client','toString','22807939vVapLi','relative','injectAtBeginningOfFile','findAppDirectory','12913850idNSuB','12sgtyiZ','1185821EAGRyv','template/template.css','withValue','ramda','pathFromApp','engines','dir','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','string','includes','theme','checkNpmPackage','pathFromProject','ssr','9PdIsQp','setTemplate','/imports/ui/layouts','2lprPEA','fsi','apply','maka\x20g:layout\x20mobile/iPhone8','42hZvIWV','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','withHooks','669491EPoCkB','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','.css','import\x20\x27./','assign','api','component/component.js','45tejZtr','Scaffolding\x20for\x20a\x20React\x20Layout.','constructor','none','css','features','withHook','split','(((.+)+)+)+$','getMakaProjectConfig','create','hook/hook.js','react','withTranslations','115520EoHmJg','643008ixcjMW','.js','.app-tests.js','true','layout','search','resourceName','graphql','test','fileName'];a131c=function(){return r;};return a131c();}
@@ -1 +1 @@
1
- const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x1b0))/0x1+-parseInt(f(0x1b6))/0x2*(-parseInt(f(0x1b4))/0x3)+-parseInt(f(0x1bf))/0x4+-parseInt(f(0x1b5))/0x5+parseInt(f(0x1ba))/0x6+-parseInt(f(0x1bd))/0x7+parseInt(f(0x1bc))/0x8*(parseInt(f(0x1b1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xa078a));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const g=a132d;return a132a[g(0x1af)]()['search'](g(0x1ac))[g(0x1af)]()[g(0x1ab)](a132a)['search'](g(0x1ac));});function a132c(){const i=['toString','1027200CIwAIl','90pgaBzV','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:route\x20todos/edit','6BlrngC','4556190OBXdLH','1180726ntHDpr','maka\x20generate:scaffold\x20todos','maka\x20g:package\x20package:name','maka\x20g:template\x20todos/todo_item','2568108GERHPm','maka\x20{generate,\x20g}:<generator>\x20<name>','2125928PzFHvy','4652711VONDCY','maka\x20g:scaffold\x20todos','4023012NNmtKy','constructor','(((.+)+)+)+$','generate','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a132c=function(){return i;};return a132c();}a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a132d(a,b);}const MakaGen=new Generator({'name':a132h(0x1ad),'aliases':['g'],'usage':a132h(0x1bb),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132h(0x1ae),'examples':[a132h(0x1b7),a132h(0x1be),a132h(0x1b9),a132h(0x1b8),a132h(0x1b3),'maka\x20g:api\x20trucks',a132h(0x1b2)]},function(){});export default MakaGen;
1
+ const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x15d))/0x1*(-parseInt(f(0x15b))/0x2)+-parseInt(f(0x159))/0x3+parseInt(f(0x15e))/0x4+-parseInt(f(0x152))/0x5*(parseInt(f(0x151))/0x6)+-parseInt(f(0x160))/0x7+-parseInt(f(0x15f))/0x8*(parseInt(f(0x157))/0x9)+parseInt(f(0x150))/0xa*(parseInt(f(0x165))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x92e80));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x154)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x153)]()[h(0x155)](h(0x161))[h(0x153)]()['constructor'](a132a)[h(0x155)](h(0x161));});a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0x15c),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0x163),'examples':['maka\x20generate:scaffold\x20todos',a132i(0x164),a132i(0x156),a132i(0x15a),a132i(0x158),'maka\x20g:api\x20trucks',a132i(0x162)]},function(){});function a132c(){const j=['26AQJkRV','maka\x20{generate,\x20g}:<generator>\x20<name>','73413qesrFE','2895280HBvgZC','8rvsOip','1950375UbxKfk','(((.+)+)+)+$','maka\x20g:dbc\x20geoserver\x20--type=pgsql','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:scaffold\x20todos','36753981nEzcXq','10zFovYp','6SssjAA','5836130sqKvBn','toString','apply','search','maka\x20g:template\x20todos/todo_item','2165004necjWQ','maka\x20g:route\x20todos/edit','2467761CsWZQd','maka\x20g:package\x20package:name'];a132c=function(){return j;};return a132c();}function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x150;let f=c[d];return f;},a132d(a,b);}export default MakaGen;
@@ -1 +1 @@
1
- const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=parseInt(j(0x1d2))/0x1*(parseInt(j(0x1d7))/0x2)+parseInt(j(0x1db))/0x3+-parseInt(j(0x1d3))/0x4*(parseInt(j(0x1cc))/0x5)+parseInt(j(0x1d1))/0x6+parseInt(j(0x1e2))/0x7+parseInt(j(0x1c8))/0x8*(-parseInt(j(0x1c1))/0x9)+-parseInt(j(0x1cb))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xddde7));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a[l(0x1df)]()[l(0x1e1)]('(((.+)+)+)+$')[l(0x1df)]()[l(0x1e3)](a133a)[l(0x1e1)](l(0x1bd));});a133a();function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a133d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a133c(){const p=['1832NvBNKQ','maka:check','resourceName','error','1649336OwMjMI','template','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','maka\x20{generate,\x20g}:{method,\x20m}\x20name','734349VwgWgc','pathFromApp','create','mdg:validated-method','toString','maka\x20g:method\x20todos','search','8348760kGUyTK','constructor','engines','(((.+)+)+)+$','dir','import\x20\x27./methods','imports','9lnjfaL','-rpc-method.','apply','getMakaProjectConfig','-rpc-method\x27;','fsi','startup','13072072MBXoCA','appPathPrefix','index.','5027670vRBqws','1735JHFMDH','injectAtEndOfFile','ddp-rate-limiter','method/method.js','methods','706068tfJmaX','2oPDiFW'];a133c=function(){return p;};return a133c();}Generator[a133m(0x1dd)]({'name':'method','aliases':['m'],'usage':a133m(0x1da),'checkWhere':!![],'shortDesc':a133m(0x1d9),'validOpts':[a133m(0x1be)],'examples':[a133m(0x1e0)]},async function(a,b){const n=a133m;try{const c=this['fsi'][n(0x1c4)]();await this[n(0x1c6)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0x1d5)]),f={'name':b[o(0x1d5)],'fileName':d,'className':pascalCase(b[o(0x1d5)]),'camelCase':camelCase(b[o(0x1d5)]),'noRename':!![]};let g='js';c[o(0x1bc)]['js']==='tsx'&&(g='ts');await this[o(0x1c6)]['checkMeteorPackage']([o(0x1d4),o(0x1ce),o(0x1de)],{'shouldInstall':!![]}),await this[o(0x1c6)][o(0x1d8)]({'srcPath':o(0x1cf),'destPath':this[o(0x1c6)][o(0x1dc)]({'pathParts':[o(0x1c0),'startup',b[o(0x1c9)],o(0x1d0),b[o(0x1be)],d+o(0x1c2)+g]}),'context':f,'config':c});const h=b[o(0x1be)]?'/'+b[o(0x1be)]+'/':'/',i=this[o(0x1c6)]['pathFromApp']({'pathParts':[o(0x1c0),o(0x1c7),b[o(0x1c9)],o(0x1ca)+c[o(0x1bc)]['js']]});await this[o(0x1c6)][o(0x1cd)]({'filePath':i,'content':o(0x1bf)+h+d+o(0x1c5)});});}catch(d){Log[n(0x1d6)](d);}});
1
+ const a133m=a133d;(function(a,b){const j=a133d,c=a();while(!![]){try{const d=-parseInt(j(0xab))/0x1+parseInt(j(0xa5))/0x2+-parseInt(j(0x98))/0x3+-parseInt(j(0xa9))/0x4+-parseInt(j(0xa8))/0x5*(-parseInt(j(0x94))/0x6)+parseInt(j(0xa0))/0x7+-parseInt(j(0xa2))/0x8*(-parseInt(j(0x9b))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xbdc43));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a133d;if(c){const e=c[k(0x95)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const l=a133d;return a133a['toString']()[l(0xb2)](l(0x93))['toString']()[l(0xac)](a133a)[l(0xb2)](l(0x93));});a133a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a133c(){const p=['resourceName','1882182jcRLWG','error','maka:check','18QWtjzZ','injectAtEndOfFile','pathFromApp','getMakaProjectConfig','create','6567673RHEMCK','method','5044168oQQQMP','fsi','engines','527264gdLogK','methods','-rpc-method\x27;','5xRCYwO','4541940cxWQyB','imports','455844ZvFlSQ','constructor','mdg:validated-method','-rpc-method.','method/method.js','tsx','withValue','search','index.','appPathPrefix','dir','(((.+)+)+)+$','3198558KpktPr','apply','startup'];a133c=function(){return p;};return a133c();}import{camelCase,paramCase,pascalCase}from'change-case';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x90;let f=c[d];return f;},a133d(a,b);}Generator[a133m(0x9f)]({'name':a133m(0xa1),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':['maka\x20g:method\x20todos']},async function(a,b){const n=a133m;try{const c=this[n(0xa3)][n(0x9e)]();await this['fsi'][n(0xb1)](c,async()=>{const o=n,d=paramCase(b[o(0x97)]),f={'name':b[o(0x97)],'fileName':d,'className':pascalCase(b[o(0x97)]),'camelCase':camelCase(b[o(0x97)]),'noRename':!![]};let g='js';c[o(0xa4)]['js']===o(0xb0)&&(g='ts');await this[o(0xa3)]['checkMeteorPackage']([o(0x9a),'ddp-rate-limiter',o(0xad)],{'shouldInstall':!![]}),await this['fsi']['template']({'srcPath':o(0xaf),'destPath':this['fsi'][o(0x9d)]({'pathParts':[o(0xaa),o(0x96),b[o(0x91)],o(0xa6),b[o(0x92)],d+o(0xae)+g]}),'context':f,'config':c});const h=b[o(0x92)]?'/'+b[o(0x92)]+'/':'/',i=this[o(0xa3)][o(0x9d)]({'pathParts':[o(0xaa),'startup',b[o(0x91)],o(0x90)+c[o(0xa4)]['js']]});await this['fsi'][o(0x9c)]({'filePath':i,'content':'import\x20\x27./methods'+h+d+o(0xa7)});});}catch(d){Log[n(0x99)](d);}});
@@ -1 +1 @@
1
- function a134c(){const r=['store','client','1729078ROtQCR','layout','lib','2067125kQfBES','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','template/template.js','390DcsCYL','apply','872762NRmbaZ','packages','(((.+)+)+)+$','graphql','server','package/','package.js','168xrykkK','3943464pHVjyD','package/package.js','5158416fPeoSS','tests/server','resourceName','hasOwnProperty','engines','4CkXWTL','tests/client','2217573XoAjBg','/client/','ssr','fsi','.js','pathFromProject','dir','component','1EpqFFo','withValue','435933oEdqKT','pathFromAppWithNoReWrite','constructor','/package.js','features','getMakaProjectConfig','search'];a134c=function(){return r;};return a134c();}const a134o=a134d;(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0x1ad))/0x1*(parseInt(l(0x1b8))/0x2)+-parseInt(l(0x1a5))/0x3*(-parseInt(l(0x1a3))/0x4)+-parseInt(l(0x1bb))/0x5+parseInt(l(0x1ca))/0x6+parseInt(l(0x1c8))/0x7+parseInt(l(0x1c7))/0x8*(parseInt(l(0x1af))/0x9)+parseInt(l(0x1be))/0xa*(-parseInt(l(0x1c0))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x82ea8));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x1bf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a['toString']()[n(0x1b5)](n(0x1c2))['toString']()[n(0x1b1)](a134a)[n(0x1b5)](n(0x1c2));});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x19f;let f=c[d];return f;},a134d(a,b);}Generator['create']({'name':'package','aliases':['p'],'usage':a134o(0x1bc),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a134o(0x1ab)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a134o,c=paramCase(b[p(0x1a0)]),d=this[p(0x1a8)]['pathFromApp']({'pathParts':[p(0x1c1),b[p(0x1ab)],c]}),e=this['fsi'][p(0x1b0)]({'pathParts':[p(0x1c1),b[p(0x1ab)],c,p(0x1c6)]}),f=this[p(0x1a8)][p(0x1b4)]();await this['fsi'][p(0x1ae)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x1a0)]),'myPath':a134e['relative'](this[q(0x1a8)][q(0x1aa)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x1a0)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x1a2)][q(0x1b7)],'graphql':f[q(0x1a2)][q(0x1c3)],'ssr':f[q(0x1a2)][q(0x1a7)],'isComponent':b[q(0x1a1)](q(0x1ac)),'isLayout':b[q(0x1a1)](q(0x1b9)),'isStore':b['hasOwnProperty'](q(0x1b6)),'features':f[q(0x1b3)],'noRename':!![],'theme':f[q(0x1a2)]['theme']};await this[q(0x1a8)]['template']({'srcPath':q(0x1c9),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x1a6)+c+q(0x1a9);await this[q(0x1a8)]['template']({'srcPath':q(0x1bd),'destPath':h,'context':g,'config':f});const i=[q(0x1ba),q(0x1c4),q(0x1a4),q(0x19f)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x1a9);await this[q(0x1a8)]['template']({'srcPath':q(0x1c5)+j+q(0x1b2),'destPath':k,'context':g,'config':f});}});});
1
+ const a134o=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x91;let f=c[d];return f;},a134d(a,b);}(function(a,b){const l=a134d,c=a();while(!![]){try{const d=parseInt(l(0x93))/0x1+parseInt(l(0x9b))/0x2*(parseInt(l(0xb9))/0x3)+-parseInt(l(0xba))/0x4+-parseInt(l(0xad))/0x5+-parseInt(l(0xb6))/0x6+parseInt(l(0x91))/0x7*(-parseInt(l(0xa2))/0x8)+parseInt(l(0x98))/0x9*(parseInt(l(0xac))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xd590d));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a134d;if(c){const e=c[m(0x94)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const n=a134d;return a134a['toString']()[n(0x9e)](n(0xb8))[n(0x9c)]()['constructor'](a134a)[n(0x9e)](n(0xb8));});a134a();import a134e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a134o(0xaf)]({'name':a134o(0x97),'aliases':['p'],'usage':a134o(0xa3),'shortDesc':a134o(0xbe),'validOpts':[a134o(0xa0)],'examples':[a134o(0xab)]},async function(a,b){const p=a134o,c=paramCase(b['resourceName']),d=this[p(0x9a)][p(0x95)]({'pathParts':[p(0xb0),b['dir'],c]}),e=this[p(0x9a)][p(0xa1)]({'pathParts':[p(0xb0),b['dir'],c,'package.js']}),f=this[p(0x9a)][p(0xb3)]();await this[p(0x9a)][p(0xbc)](f,async()=>{const q=p,g={'name':paramCase(b[q(0xb2)]),'myPath':a134e[q(0xb4)](this[q(0x9a)]['pathFromProject']({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0xb2)]),'camelCaseName':camelCase(b[q(0xb2)]),'fileName':c,'client':f[q(0x96)][q(0x9d)],'graphql':f[q(0x96)][q(0x99)],'ssr':f[q(0x96)]['ssr'],'isComponent':b[q(0xb1)](q(0xb7)),'isLayout':b[q(0xb1)](q(0xa7)),'isStore':b['hasOwnProperty'](q(0xbb)),'features':f[q(0xaa)],'noRename':!![],'theme':f[q(0x96)][q(0xa9)]};await this[q(0x9a)][q(0xb5)]({'srcPath':q(0xbd),'destPath':e,'context':g,'config':f}),g[q(0xae)]=![];const h=d+q(0x92)+c+q(0xa8);await this[q(0x9a)][q(0xb5)]({'srcPath':q(0x9f),'destPath':h,'context':g,'config':f});const i=['lib',q(0xa5),q(0xa4),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+q(0xa8);await this[q(0x9a)][q(0xb5)]({'srcPath':'package/'+j+q(0xa6),'destPath':k,'context':g,'config':f});}});});function a134c(){const r=['8112486TTlOuF','component','(((.+)+)+)+$','752340chiEnh','2072544HIuCDU','store','withValue','package/package.js','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','5663sXgAkY','/client/','148212SmPlLK','apply','pathFromApp','engines','package','333QTwwAN','graphql','fsi','8FkFdEq','toString','client','search','template/template.js','dir','pathFromAppWithNoReWrite','2632fbkEWt','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','tests/client','server','/package.js','layout','.js','theme','features','maka\x20g:package\x20todos:package','911550couOIX','7564620BAVPax','noRename','create','packages','hasOwnProperty','resourceName','getMakaProjectConfig','relative','template'];a134c=function(){return r;};return a134c();}