@maka/maka-cli 5.0.43 → 5.1.0

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 (169) hide show
  1. package/bundle/obf/package.json +25 -25
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test/_index.js +1 -1
  100. package/bundle/obf/src/commands/test/jest.sub.cmd.js +1 -1
  101. package/bundle/obf/src/commands/test/mocha.sub.cmd.js +1 -1
  102. package/bundle/obf/src/commands/test/test.command.js +1 -1
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/version.js +1 -1
  105. package/bundle/obf/src/error.js +1 -1
  106. package/bundle/obf/src/exec.js +1 -1
  107. package/bundle/obf/src/generator.js +1 -1
  108. package/bundle/obf/src/generators/_index.js +1 -1
  109. package/bundle/obf/src/generators/api.js +1 -1
  110. package/bundle/obf/src/generators/aws/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/aws.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  113. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  114. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  115. package/bundle/obf/src/generators/collection.js +1 -1
  116. package/bundle/obf/src/generators/component.js +1 -1
  117. package/bundle/obf/src/generators/config.js +1 -1
  118. package/bundle/obf/src/generators/dbc.js +1 -1
  119. package/bundle/obf/src/generators/dockerfile.js +1 -1
  120. package/bundle/obf/src/generators/hook.js +1 -1
  121. package/bundle/obf/src/generators/kits/_index.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  124. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  125. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  127. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  128. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/kit.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  132. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  133. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  134. package/bundle/obf/src/generators/layout.js +1 -1
  135. package/bundle/obf/src/generators/maka.gen.js +1 -1
  136. package/bundle/obf/src/generators/methods.js +1 -1
  137. package/bundle/obf/src/generators/package.js +1 -1
  138. package/bundle/obf/src/generators/page.js +1 -1
  139. package/bundle/obf/src/generators/publish.js +1 -1
  140. package/bundle/obf/src/generators/route.js +1 -1
  141. package/bundle/obf/src/generators/service.js +1 -1
  142. package/bundle/obf/src/generators/services/_index.js +1 -1
  143. package/bundle/obf/src/generators/services/openssl.js +1 -1
  144. package/bundle/obf/src/generators/services/translation.js +1 -1
  145. package/bundle/obf/src/maka.js +1 -1
  146. package/bundle/obf/src/tool.js +1 -1
  147. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  148. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  149. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  151. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  152. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  154. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  155. package/bundle/obf/src/tools/https/https.class.js +1 -1
  156. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  157. package/bundle/obf/src/tools/log/log.class.js +1 -1
  158. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  159. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  160. package/bundle/obf/src/tools/options/options.class.js +1 -1
  161. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  162. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  163. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  164. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  165. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  166. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  167. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  168. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  169. package/package.json +25 -25
@@ -1 +1 @@
1
- const a115m=a115d;(function(a,b){const k=a115d,c=a();while(!![]){try{const d=parseInt(k(0x119))/0x1*(parseInt(k(0xfa))/0x2)+parseInt(k(0x116))/0x3+-parseInt(k(0x12b))/0x4*(-parseInt(k(0x10f))/0x5)+-parseInt(k(0x12a))/0x6+-parseInt(k(0x11f))/0x7+parseInt(k(0xf7))/0x8+-parseInt(k(0x104))/0x9*(parseInt(k(0x110))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x8b88c));const a115b=(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;};}()),a115a=a115b(this,function(){const l=a115d;return a115a[l(0xfe)]()[l(0x12c)]('(((.+)+)+)+$')[l(0xfe)]()[l(0x11c)](a115a)['search'](l(0x120));});function a115c(){const o=['search','withTranslations','2677744QIOaHw','fileName','.css','49222uqUNeu','pathFromApp','cssCaseName','maka\x20g:comp\x20todos/todos-item','toString','/imports/ui/components','component','cfg','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','dir','9KIQXDm','test','features','fsi','resourceName','template/template.css','engines','template','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','test/test.js','css','2800745bjctGu','4345450QdrtCS','pkg','none','baseDir','injectAtBeginningOfFile','react','715917MIkima','setTemplate','findProjectDirectory','30WtoTWQ','import\x20\x27./','ramda','constructor','ssr','scaffold','4372725vrzfOV','(((.+)+)+)+$','string','root','client','comp','assign','create','theme','projectConfig','api','1446504TiqNeR','4MGubfz'];a115c=function(){return o;};return a115c();}a115a();import a115e from'path';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0xf7;let f=c[d];return f;},a115d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a115m(0x124)];Generator[a115m(0x126)]({'name':a115m(0x100),'aliases':aliases,'usage':a115m(0x102),'shortDesc':a115m(0x10c),'mustBeInMakaProject':!![],'validOpts':[{'name':a115m(0x113)}],'examples':[a115m(0xfd)]},async function(a,b){const n=a115m;try{const c=b[n(0x113)]?'/imports/ui/'+b['baseDir']:n(0xff),d=this[n(0x11e)][n(0xfb)]({'pathParts':[c,b[n(0x103)],kebabCase(b['resourceName']),kebabCase(b['resourceName'])]}),f=this[n(0x128)];typeof f[n(0x10b)]['test']===n(0x121)&&this[n(0x101)]['setTemplate'](n(0x105),f[n(0x10b)]['test']);typeof f['template'][n(0x10e)]===n(0x121)&&this[n(0x101)][n(0x117)](n(0x10e),f[n(0x10b)][n(0x10e)]);typeof f['template']['js']==='string'&&this[n(0x101)][n(0x117)]('js',f[n(0x10b)]['js']);await this[n(0x111)]['checkNpmPackage'](n(0x11b),{'shouldInstall':!b[n(0x122)]}),await this['pkg']['checkNpmPackage'](n(0x115),{'shouldInstall':!b[n(0x122)]});const g={'name':pascalCase(b[n(0x108)]),'myPath':a115e['relative'](this[n(0x107)][n(0x118)](),d),'cssCaseName':kebabCase(b[n(0x108)]),'className':pascalCase(b[n(0x108)]),'camelCaseName':camelCase(b['resourceName']),'fileName':kebabCase(b[n(0x108)]),'graphql':f[n(0x10a)]['graphql'],'features':f[n(0x106)],'client':f['engines'][n(0x123)],'api':f['engines'][n(0x129)],'ssr':f[n(0x10a)][n(0x11d)],'test':f[n(0x10a)]['test'],'theme':f[n(0x10a)][n(0x127)],'isLayout':![],'isComponent':!![],'withTranslations':f[n(0x106)][n(0x12d)]};await this[n(0x11e)][n(0x10b)]({'srcPath':'component/component.js','destPath':d+'.js','context':g,'framework':n(0x115),'config':f});f[n(0x10a)][n(0x105)]!==n(0x112)&&await this[n(0x11e)]['template']({'srcPath':n(0x10d),'destPath':d+'.tests.js','context':g,'framework':n(0x115),'config':f});f['template'][n(0x10e)]&&(await this[n(0x11e)]['template']({'srcPath':n(0x109),'destPath':d+n(0xf9),'context':Object[n(0x125)]({},g,{'className':kebabCase(b[n(0x108)])}),'config':f}),await this[n(0x11e)][n(0x114)]({'filePath':d+'.'+f['engines']['js'],'content':n(0x11a)+g[n(0xfc)]+'.'+f[n(0x10a)]['css']+'\x27;'}));const h=b[n(0x103)]?'/'+b[n(0x103)]+'/':'/',i=''+c+h+g[n(0xf8)]+'/'+g['fileName'];await this[n(0x11e)]['injectTemplateModule'](g['className'],f,i);}catch(j){Log['error'](j);}});
1
+ const a115n=a115d;function a115c(){const p=['maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','ramda','constructor','assign','engines','18376425fbCFuy','theme','test/test.js','template/template.css','string','test','scaffold','dir','112WdsdVz','css','maka\x20g:comp\x20todos/todos-item','search','create','graphql','api','apply','component','toString','250587rsTABe','cssCaseName','error','template','2027136bgxrDw','setTemplate','4400304vgeaMN','.css','injectAtBeginningOfFile','relative','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','165030rnJjVv','/imports/ui/components','baseDir','fileName','pkg','4265byZrSB','checkNpmPackage','fsi','1456438xoSxdw','import\x20\x27./','findProjectDirectory','comp','.js','className','pathFromApp','resourceName','cfg','none','(((.+)+)+)+$','features','component/component.js','5752KYBkuG','react'];a115c=function(){return p;};return a115c();}(function(a,b){const k=a115d,c=a();while(!![]){try{const d=parseInt(k(0x142))/0x1+-parseInt(k(0x155))/0x2+-parseInt(k(0x146))/0x3+-parseInt(k(0x129))/0x4*(parseInt(k(0x152))/0x5)+-parseInt(k(0x14d))/0x6*(-parseInt(k(0x138))/0x7)+parseInt(k(0x148))/0x8+parseInt(k(0x130))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x9f2d1));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a115d;if(c){const e=c[l(0x13f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const m=a115d;return a115a[m(0x141)]()[m(0x13b)](m(0x126))['toString']()[m(0x12d)](a115a)[m(0x13b)](m(0x126));});function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x123;let f=c[d];return f;},a115d(a,b);}a115a();import a115e from'path';import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a115n(0x158)];Generator[a115n(0x13c)]({'name':a115n(0x140),'aliases':aliases,'usage':a115n(0x12b),'shortDesc':a115n(0x14c),'mustBeInMakaProject':!![],'validOpts':[{'name':a115n(0x14f)}],'examples':[a115n(0x13a)]},async function(a,b){const o=a115n;try{const c=b[o(0x14f)]?'/imports/ui/'+b['baseDir']:o(0x14e),d=this[o(0x136)][o(0x15b)]({'pathParts':[c,b['dir'],kebabCase(b[o(0x123)]),kebabCase(b[o(0x123)])]}),f=this['projectConfig'];typeof f['template']['test']==='string'&&this[o(0x124)]['setTemplate'](o(0x135),f[o(0x145)]['test']);typeof f[o(0x145)][o(0x139)]==='string'&&this[o(0x124)][o(0x147)](o(0x139),f[o(0x145)][o(0x139)]);typeof f[o(0x145)]['js']===o(0x134)&&this[o(0x124)]['setTemplate']('js',f[o(0x145)]['js']);await this[o(0x151)][o(0x153)](o(0x12c),{'shouldInstall':!b['root']}),await this[o(0x151)][o(0x153)](o(0x12a),{'shouldInstall':!b['root']});const g={'name':pascalCase(b[o(0x123)]),'myPath':a115e[o(0x14b)](this[o(0x154)][o(0x157)](),d),'cssCaseName':kebabCase(b[o(0x123)]),'className':pascalCase(b[o(0x123)]),'camelCaseName':camelCase(b['resourceName']),'fileName':kebabCase(b[o(0x123)]),'graphql':f[o(0x12f)][o(0x13d)],'features':f['features'],'client':f[o(0x12f)]['client'],'api':f[o(0x12f)][o(0x13e)],'ssr':f[o(0x12f)]['ssr'],'test':f[o(0x12f)]['test'],'theme':f[o(0x12f)][o(0x131)],'isLayout':![],'isComponent':!![],'withTranslations':f[o(0x127)]['withTranslations']};await this[o(0x136)][o(0x145)]({'srcPath':o(0x128),'destPath':d+o(0x159),'context':g,'framework':o(0x12a),'config':f});f[o(0x12f)][o(0x135)]!==o(0x125)&&await this[o(0x136)][o(0x145)]({'srcPath':o(0x132),'destPath':d+'.tests.js','context':g,'framework':o(0x12a),'config':f});f[o(0x145)][o(0x139)]&&(await this[o(0x136)][o(0x145)]({'srcPath':o(0x133),'destPath':d+o(0x149),'context':Object[o(0x12e)]({},g,{'className':kebabCase(b['resourceName'])}),'config':f}),await this[o(0x136)][o(0x14a)]({'filePath':d+'.'+f[o(0x12f)]['js'],'content':o(0x156)+g[o(0x143)]+'.'+f['engines'][o(0x139)]+'\x27;'}));const h=b[o(0x137)]?'/'+b[o(0x137)]+'/':'/',i=''+c+h+g[o(0x150)]+'/'+g['fileName'];await this['scaffold']['injectTemplateModule'](g[o(0x15a)],f,i);}catch(j){Log[o(0x144)](j);}});
@@ -1 +1 @@
1
- function a116c(){const o=['pm2.config.js','2329660QBPyqo','scaffold','3aJjAUO','pathFromProject','production','494352VEbvCZ','toString','error','config','appName','prod','apply','fsi','dev','622309TFLhQj','process.env','1769196uVrSzc','45WGNbJi','ubuntu','Generate\x20configuration\x20settings.','1550824nZQqEt','config/process.env','resourceName','776174BXJKHJ','projectConfig','maka\x20g:config\x20production','(((.+)+)+)+$','config/pm2.config.js','constructor','template','maka\x20{generate,\x20g}:{config}\x20<name>','search','1485442nHvHLE','isDocker'];a116c=function(){return o;};return a116c();}const a116m=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=parseInt(j(0xb0))/0x1+parseInt(j(0xc2))/0x2*(parseInt(j(0xc7))/0x3)+parseInt(j(0xb2))/0x4+-parseInt(j(0xc5))/0x5+-parseInt(j(0xa7))/0x6+parseInt(j(0xb9))/0x7+-parseInt(j(0xb6))/0x8*(parseInt(j(0xb3))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x61cee));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0xad)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a[l(0xa8)]()[l(0xc1)](l(0xbc))['toString']()[l(0xbe)](a116a)[l(0xc1)](l(0xbc));});a116a();import{Generator}from'../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xa6;let f=c[d];return f;},a116d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':a116m(0xaa),'usage':a116m(0xc0),'shortDesc':a116m(0xb5),'validOpts':[a116m(0xc3)],'mustBeInMakaProject':!![],'examples':[a116m(0xbb)]},async function(a,b){const n=a116m;try{const c=this[n(0xba)],d={'app':c[n(0xab)],'appFileCase':kebabCase(c[n(0xab)]),'name':pascalCase(b[n(0xb8)]),'fileName':kebabCase(b[n(0xb8)]),'camelCase':camelCase(b[n(0xb8)]),'userName':n(0xb4),'isDocker':b[n(0xc3)]};let e=b[n(0xb8)];if(e===n(0xaf))e='development';else e===n(0xac)&&(e=n(0xa6));const f=this[n(0xae)][n(0xc8)]({'pathParts':[n(0xaa),e,'settings.json']});await this[n(0xc6)]['template']({'srcPath':'config/settings.json','destPath':f,'context':d,'config':c});if(e!=='local'){const g=this[n(0xae)][n(0xc8)]({'pathParts':[n(0xaa),e,n(0xc4)]});await this[n(0xc6)]['template']({'srcPath':n(0xbd),'destPath':g,'context':{'app':c[n(0xab)],'isDocker':b['isDocker']||![]},'config':c});}if(e==='local'){const h=this[n(0xae)][n(0xc8)]({'pathParts':[n(0xaa),e,n(0xb1)]});await this['scaffold'][n(0xbf)]({'srcPath':n(0xb7),'destPath':h,'context':d,'config':c});}}catch(i){Log[n(0xa9)](i);}});
1
+ const a116l=a116d;function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1d0;let f=c[d];return f;},a116d(a,b);}(function(a,b){const j=a116d,c=a();while(!![]){try{const d=parseInt(j(0x1e4))/0x1+-parseInt(j(0x1d6))/0x2+-parseInt(j(0x1d9))/0x3+-parseInt(j(0x1d1))/0x4*(parseInt(j(0x1e5))/0x5)+-parseInt(j(0x1e2))/0x6+parseInt(j(0x1ef))/0x7*(-parseInt(j(0x1ed))/0x8)+parseInt(j(0x1ec))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xc749e));const a116b=(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;};}()),a116a=a116b(this,function(){const k=a116d;return a116a['toString']()[k(0x1eb)]('(((.+)+)+)+$')['toString']()[k(0x1e9)](a116a)['search'](k(0x1da));});function a116c(){const n=['appName','local','resourceName','1723924uFZjTC','projectConfig','maka\x20{generate,\x20g}:{config}\x20<name>','3270039uTQnUi','(((.+)+)+)+$','prod','pm2.config.js','maka\x20g:config\x20production','config','Generate\x20configuration\x20settings.','production','create','5602782sJZMjo','template','1402161XYLrgq','5487870XyEfms','settings.json','dev','config/process.env','constructor','process.env','search','31622499PEQawe','160wWtDVj','pathFromProject','40649HAHWFV','scaffold','fsi','error','config/settings.json','4MJpxux','isDocker'];a116c=function(){return n;};return a116c();}a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a116l(0x1e1)]({'name':'config','usage':a116l(0x1d8),'shortDesc':a116l(0x1df),'validOpts':[a116l(0x1d2)],'mustBeInMakaProject':!![],'examples':[a116l(0x1dd)]},async function(a,b){const m=a116l;try{const c=this[m(0x1d7)],d={'app':c[m(0x1d3)],'appFileCase':kebabCase(c[m(0x1d3)]),'name':pascalCase(b[m(0x1d5)]),'fileName':kebabCase(b['resourceName']),'camelCase':camelCase(b[m(0x1d5)]),'userName':'ubuntu','isDocker':b[m(0x1d2)]};let e=b[m(0x1d5)];if(e===m(0x1e7))e='development';else e===m(0x1db)&&(e=m(0x1e0));const f=this[m(0x1f1)][m(0x1ee)]({'pathParts':[m(0x1de),e,m(0x1e6)]});await this[m(0x1f0)][m(0x1e3)]({'srcPath':m(0x1d0),'destPath':f,'context':d,'config':c});if(e!==m(0x1d4)){const g=this[m(0x1f1)][m(0x1ee)]({'pathParts':['config',e,m(0x1dc)]});await this[m(0x1f0)][m(0x1e3)]({'srcPath':'config/pm2.config.js','destPath':g,'context':{'app':c[m(0x1d3)],'isDocker':b[m(0x1d2)]||![]},'config':c});}if(e===m(0x1d4)){const h=this[m(0x1f1)][m(0x1ee)]({'pathParts':[m(0x1de),e,m(0x1ea)]});await this[m(0x1f0)][m(0x1e3)]({'srcPath':m(0x1e8),'destPath':h,'context':d,'config':c});}}catch(i){Log[m(0x1f2)](i);}});
@@ -1 +1 @@
1
- const a117n=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d=parseInt(k(0x11e))/0x1*(-parseInt(k(0x11f))/0x2)+parseInt(k(0x139))/0x3+-parseInt(k(0x147))/0x4+-parseInt(k(0x11c))/0x5+parseInt(k(0x129))/0x6+parseInt(k(0x11d))/0x7*(-parseInt(k(0x132))/0x8)+-parseInt(k(0x13e))/0x9*(-parseInt(k(0x120))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xd2ba7));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a117d;if(c){const e=c[l(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x13a)]()['search'](m(0x12f))[m(0x13a)]()[m(0x12d)](a117a)['search']('(((.+)+)+)+$');});a117a();function a117c(){const p=['maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','create','maka\x20g:dbc\x20azure\x20--type=mssql','tsx','1712934NfNwkD','pgsql','config.','apply','constructor','pathFromApp','(((.+)+)+)+$','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','scaffold','8qdktFC','dbc/conn.js','dbc/register-dbc.js','injectAtEndOfFile','better-sqlite3','maka\x20g:dbc\x20geoserver\x20--type=pgsql','server','1695576FeMjKK','toString','maka\x20g:dbc\x20todos\x20--type=sqlite','engines','type','27izVxNy','import\x20\x27./register-','mssql','pkg','template','checkNpmPackage','sqlite','imports','dbc','152312ifFUHG','dir','1764510NOaPwM','4180519LSYvEB','27PGgkfX','119552TgVebT','8715370iWQNSq','resourceName','dbc/config.js','startup','-dbc\x27;'];a117c=function(){return p;};return a117c();}import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x11c;let f=c[d];return f;},a117d(a,b);}Generator[a117n(0x126)]({'name':'dbc','usage':a117n(0x125),'shortDesc':a117n(0x130),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a117n(0x13d),'values':[a117n(0x12a),a117n(0x140),a117n(0x144)]}],'examples':[a117n(0x137),a117n(0x127),a117n(0x13b)]},async function(a,b){const o=a117n;try{const c=this['projectConfig'],d=kebabCase(b['resourceName']),f={'name':pascalCase(b[o(0x121)]),'fileName':kebabCase(b[o(0x121)]),'camelCase':camelCase(b['resourceName']),'type':b[o(0x13d)],'engine':c[o(0x13c)]['js'],'noRename':!![]},g=b[o(0x148)]?'/'+b[o(0x148)]+'/':'/';let h='js';c[o(0x13c)]['js']===o(0x128)&&(h='ts');b[o(0x13d)]==='pgsql'&&await this[o(0x141)][o(0x143)]('pg',{'shouldInstall':!![]});b[o(0x13d)]==='mssql'&&await this[o(0x141)][o(0x143)]('mssql',{'shouldInstall':!![]});b[o(0x13d)]===o(0x144)&&await this[o(0x141)][o(0x143)](o(0x136),{'shouldInstall':!![]});await this['scaffold'][o(0x142)]({'srcPath':o(0x122),'destPath':this[o(0x131)]['pathFromApp']({'pathParts':[o(0x145),o(0x123),o(0x138),o(0x146),g,d,o(0x12b)+h]}),'context':f,'config':c}),await this[o(0x131)][o(0x142)]({'srcPath':o(0x133),'destPath':this[o(0x131)][o(0x12e)]({'pathParts':['imports',o(0x123),'server',o(0x146),g,d,'conn.'+h]}),'context':f,'config':c}),await this[o(0x131)][o(0x142)]({'srcPath':o(0x134),'destPath':this[o(0x131)][o(0x12e)]({'pathParts':[o(0x145),o(0x123),o(0x138),'register-'+d+'-dbc.'+h]}),'context':f,'config':c});const i=this[o(0x131)][o(0x12e)]({'pathParts':[o(0x145),o(0x123),o(0x138),'index.'+c[o(0x13c)]['js']]});await this[o(0x131)][o(0x135)]({'filePath':i,'content':o(0x13f)+d+o(0x124)});}catch(j){Log['error'](j);}});
1
+ const a117n=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d=parseInt(k(0x1f5))/0x1+-parseInt(k(0x216))/0x2+parseInt(k(0x21b))/0x3+parseInt(k(0x1fb))/0x4*(-parseInt(k(0x1fc))/0x5)+-parseInt(k(0x1f3))/0x6+-parseInt(k(0x204))/0x7+-parseInt(k(0x207))/0x8*(-parseInt(k(0x213))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xec6e1));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a117d;if(c){const e=c[l(0x20e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x217)]()['search'](m(0x1f6))['toString']()['constructor'](a117a)['search'](m(0x1f6));});function a117c(){const p=['8BMDEYe','tsx','projectConfig','startup','import\x20\x27./register-','server','scaffold','apply','-dbc.','error','maka\x20g:dbc\x20todos\x20--type=sqlite','dbc','13609953EgSlcv','dir','-dbc\x27;','1637276LxDaxZ','toString','conn.','pkg','template','62952wjqsYP','pgsql','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','850332gXrrkG','engines','1403721uZeEtY','(((.+)+)+)+$','type','index.','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','checkNpmPackage','656ckOWED','8340cKfvNM','dbc/register-dbc.js','maka\x20g:dbc\x20geoserver\x20--type=pgsql','sqlite','mssql','better-sqlite3','pathFromApp','dbc/conn.js','5142151cNtlBg','resourceName','imports'];a117c=function(){return p;};return a117c();}a117a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a117n(0x212),'usage':a117n(0x1f9),'shortDesc':a117n(0x1f2),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a117n(0x1f7),'values':[a117n(0x1f1),a117n(0x200),'sqlite']}],'examples':[a117n(0x1fe),'maka\x20g:dbc\x20azure\x20--type=mssql',a117n(0x211)]},async function(a,b){const o=a117n;try{const c=this[o(0x209)],d=kebabCase(b['resourceName']),f={'name':pascalCase(b['resourceName']),'fileName':kebabCase(b['resourceName']),'camelCase':camelCase(b[o(0x205)]),'type':b['type'],'engine':c['engines']['js'],'noRename':!![]},g=b['dir']?'/'+b[o(0x214)]+'/':'/';let h='js';c[o(0x1f4)]['js']===o(0x208)&&(h='ts');b[o(0x1f7)]==='pgsql'&&await this[o(0x219)][o(0x1fa)]('pg',{'shouldInstall':!![]});b['type']===o(0x200)&&await this['pkg'][o(0x1fa)](o(0x200),{'shouldInstall':!![]});b['type']===o(0x1ff)&&await this[o(0x219)][o(0x1fa)](o(0x201),{'shouldInstall':!![]});await this['scaffold']['template']({'srcPath':'dbc/config.js','destPath':this[o(0x20d)][o(0x202)]({'pathParts':['imports',o(0x20a),'server',o(0x212),g,d,'config.'+h]}),'context':f,'config':c}),await this[o(0x20d)][o(0x21a)]({'srcPath':o(0x203),'destPath':this[o(0x20d)][o(0x202)]({'pathParts':['imports',o(0x20a),'server',o(0x212),g,d,o(0x218)+h]}),'context':f,'config':c}),await this['scaffold']['template']({'srcPath':o(0x1fd),'destPath':this[o(0x20d)][o(0x202)]({'pathParts':['imports',o(0x20a),o(0x20c),'register-'+d+o(0x20f)+h]}),'context':f,'config':c});const i=this[o(0x20d)][o(0x202)]({'pathParts':[o(0x206),o(0x20a),o(0x20c),o(0x1f8)+c[o(0x1f4)]['js']]});await this[o(0x20d)]['injectAtEndOfFile']({'filePath':i,'content':o(0x20b)+d+o(0x215)});}catch(j){Log[o(0x210)](j);}});
@@ -1 +1 @@
1
- const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(0xb9))/0x1*(parseInt(i(0xcd))/0x2)+-parseInt(i(0xbf))/0x3*(parseInt(i(0xd4))/0x4)+-parseInt(i(0xd5))/0x5*(-parseInt(i(0xd1))/0x6)+parseInt(i(0xcf))/0x7*(parseInt(i(0xc4))/0x8)+-parseInt(i(0xc8))/0x9*(parseInt(i(0xb7))/0xa)+parseInt(i(0xd6))/0xb*(-parseInt(i(0xc9))/0xc)+parseInt(i(0xca))/0xd*(parseInt(i(0xd2))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x2b104));function a118c(){const n=['16dsgMQk','join','fsi','cert','512199vaourk','9792ECDgZJ','345059oxeTYp','scaffold','constructor','2bYlNbp','apply','547498xEBnji','Dockerfile','1020876YSmoMh','56BtzOFQ','maka\x20{generate,\x20g}:dockerfile','8gtEOpy','10TqbcGC','605iGlWAu','Generate\x20an\x20updated\x20dockerfile','(((.+)+)+)+$','docker/Dockerfile','30Cxxzwv','getGlobalConfig','47477hKsqDD','search','app','dockerfile','maka\x20g:dockerfile','build','245121UUBWVz','toString','app.tar.gz','force','cfg'];a118c=function(){return n;};return a118c();}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a['toString']()['search'](k(0xb5))[k(0xc0)]()[k(0xcc)](a118a)[k(0xba)](k(0xb5));});a118a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xb4;let f=c[d];return f;},a118d(a,b);}import a118e from'path';Generator['create']({'name':a118l(0xbc),'usage':a118l(0xd3),'shortDesc':a118l(0xb4),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0xc2),'boolFlag':!![]}],'examples':[a118l(0xbd)]},async function(a,b){const m=a118l;try{const c=this[m(0xc3)]['getMakaProjectConfig'](),d=await this[m(0xc3)][m(0xb8)](),f=this[m(0xc6)]['findProjectDirectory'](),g={'app':c['appName'],'config':c,'appPath':a118e['join'](f,m(0xbb)),'bundlePath':a118e['join'](f,m(0xbe),m(0xc1)),'useCert':d[m(0xc7)]?this[m(0xc6)]['isFile'](d[m(0xc7)]):![]};await this[m(0xcb)]['template']({'srcPath':m(0xb6),'destPath':a118e[m(0xc5)](f,m(0xd0)),'framework':'service','context':g,'config':c,'force':b[m(0xc2)]});}catch(h){Log['error'](h);}});
1
+ const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(0xfc))/0x1+-parseInt(i(0xfb))/0x2+-parseInt(i(0x107))/0x3+parseInt(i(0xf6))/0x4+-parseInt(i(0xf1))/0x5+-parseInt(i(0x104))/0x6+parseInt(i(0xff))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xaaf86));function a118c(){const n=['force','dockerfile','28004445srgvcP','apply','build','(((.+)+)+)+$','cert','7078962FdgziS','docker/Dockerfile','join','2183208gSKKkM','app.tar.gz','fsi','getMakaProjectConfig','maka\x20{generate,\x20g}:dockerfile','toString','create','Generate\x20an\x20updated\x20dockerfile','6063800ZKcaBI','cfg','constructor','app','template','3429268yRjKve','appName','error','service','search','1667310ylNQHQ','203680qFpjLk'];a118c=function(){return n;};return a118c();}function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xed;let f=c[d];return f;},a118d(a,b);}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a[k(0xee)]()[k(0xfa)](k(0x102))[k(0xee)]()[k(0xf3)](a118a)['search'](k(0x102));});a118a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a118e from'path';Generator[a118l(0xef)]({'name':a118l(0xfe),'usage':a118l(0xed),'shortDesc':a118l(0xf0),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0xfd),'boolFlag':!![]}],'examples':['maka\x20g:dockerfile']},async function(a,b){const m=a118l;try{const c=this[m(0xf2)][m(0x10a)](),d=await this[m(0xf2)]['getGlobalConfig'](),f=this['fsi']['findProjectDirectory'](),g={'app':c[m(0xf7)],'config':c,'appPath':a118e[m(0x106)](f,m(0xf4)),'bundlePath':a118e[m(0x106)](f,m(0x101),m(0x108)),'useCert':d[m(0x103)]?this[m(0x109)]['isFile'](d[m(0x103)]):![]};await this['scaffold'][m(0xf5)]({'srcPath':m(0x105),'destPath':a118e['join'](f,'Dockerfile'),'framework':m(0xf9),'context':g,'config':c,'force':b[m(0xfd)]});}catch(h){Log[m(0xf8)](h);}});
@@ -1 +1 @@
1
- function a119c(){const q=['constructor','4552305MkIxgv','notice','findAppDirectory','cssCaseName','layouts','@apollo/client\x20isomorphic-fetch','search','\x20hook...','pages','theme','template','apply','baseDir','react','7768SuROUk','force','fileName','.css','hooks','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','string','findProjectDirectory','2849DgSOMz','apollo','relative','hook/hook.js','33DttoSX','setTemplate','3462iDtneX','projectConfig','pkg','4816080oNLVRQ','(((.+)+)+)+$','components','injectAtBeginningOfFile','warn','test/test.js','\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','resourceName','.js','injectTemplateModule','withTranslations','maka\x20g:hook\x20cool-hook','create','features','17001BHCISN','installNpmPackage','dir','Creating\x20','test','/imports/ui/components','hook','fsi','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','scaffold','14903RZCKIc','css','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','894imWtNy','engines','185390AjSXwS','checkNpmPackage','pathFromApp','/imports/ui/','6239360TkwWeI','.app-tests.js'];a119c=function(){return q;};return a119c();}const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=-parseInt(l(0x1af))/0x1*(parseInt(l(0x1b1))/0x2)+-parseInt(l(0x1b4))/0x3+-parseInt(l(0x192))/0x4+parseInt(l(0x195))/0x5+-parseInt(l(0x18c))/0x6*(-parseInt(l(0x189))/0x7)+parseInt(l(0x1a3))/0x8*(-parseInt(l(0x17f))/0x9)+parseInt(l(0x18e))/0xa*(parseInt(l(0x1ab))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xed7c5));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0x1a0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a['toString']()[n(0x19b)]('(((.+)+)+)+$')['toString']()[n(0x194)](a119a)['search'](n(0x1b5));});a119a();import a119e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x178;let f=c[d];return f;},a119d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a119o(0x17d)]({'name':a119o(0x185),'aliases':['h'],'checkWhere':![],'usage':a119o(0x187),'shortDesc':a119o(0x1a8),'mustBeInMakaProject':!![],'validOpts':[{'name':a119o(0x1a1),'values':[a119o(0x1a7),a119o(0x1b6),a119o(0x19d),a119o(0x199)]},{'name':'force','boolFlag':!![]}],'examples':[a119o(0x17c)],'description':a119o(0x1ba)},async function(a,b){const p=a119o;Log[p(0x196)](p(0x182)+b['resourceName']+p(0x19c));try{await this[p(0x1b3)][p(0x18f)](p(0x1a2),{'shouldInstall':!![]});const c=this[p(0x186)][p(0x197)](),d=b[p(0x1a1)]?p(0x191)+b[p(0x1a1)]:p(0x184),f=this[p(0x188)][p(0x190)]({'pathParts':[d,b['dir'],kebabCase(b[p(0x178)]),kebabCase(b[p(0x178)])]}),g=this[p(0x1b2)];typeof g[p(0x19f)][p(0x18a)]===p(0x1a9)&&this['cfg'][p(0x1b0)](p(0x18a),g['template'][p(0x18a)]);g['engines']['graphql']===p(0x1ac)&&!this['pkg'][p(0x18f)]('@apollo/client')&&(Log[p(0x1b8)](p(0x18b)),await this[p(0x1b3)][p(0x180)](p(0x19a),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x178)]),'camelCaseName':camelCase(b[p(0x178)]),'className':pascalCase(b[p(0x178)]),'name':pascalCase(b[p(0x178)]),'graphql':g[p(0x18d)]['graphql'],'theme':g[p(0x18d)][p(0x19e)],'test':g[p(0x18d)][p(0x183)],'features':g['features'],'myPath':a119e[p(0x1ad)](this[p(0x186)][p(0x1aa)](),f),'fileName':kebabCase(b[p(0x178)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x17e)][p(0x17b)]};await this[p(0x188)][p(0x19f)]({'srcPath':p(0x1ae),'destPath':f+p(0x179),'context':h,'config':g,'framework':p(0x1a2),'force':b[p(0x1a4)]});g[p(0x19f)][p(0x18a)]&&(await this[p(0x188)][p(0x19f)]({'srcPath':'template/template.css','destPath':f+p(0x1a6),'context':Object['assign']({},h,{'className':h[p(0x198)]}),'config':g,'force':b[p(0x1a4)]}),await this['scaffold'][p(0x1b7)]({'filePath':f+'.'+g[p(0x18d)]['js'],'content':'import\x20\x27./'+h['fileName']+'.'+g[p(0x18d)]['css']+'\x27;'}));g[p(0x18d)][p(0x183)]!=='none'&&await this[p(0x188)][p(0x19f)]({'srcPath':p(0x1b9),'destPath':f+p(0x193),'framework':p(0x1a2),'context':h,'config':g,'force':b[p(0x1a4)]});const i=b[p(0x181)]?'/'+b[p(0x181)]+'/':'/',j=''+d+i+h[p(0x1a5)]+'/'+h[p(0x1a5)];await this[p(0x188)][p(0x17a)](h['className'],g,j);}catch(k){Log['error'](k);}});
1
+ const a119o=a119d;function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x141;let f=c[d];return f;},a119d(a,b);}(function(a,b){const l=a119d,c=a();while(!![]){try{const d=-parseInt(l(0x180))/0x1*(-parseInt(l(0x166))/0x2)+-parseInt(l(0x143))/0x3*(-parseInt(l(0x162))/0x4)+parseInt(l(0x165))/0x5*(parseInt(l(0x17d))/0x6)+parseInt(l(0x150))/0x7+-parseInt(l(0x172))/0x8*(-parseInt(l(0x181))/0x9)+parseInt(l(0x164))/0xa*(-parseInt(l(0x15e))/0xb)+-parseInt(l(0x183))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x83da6));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a[n(0x144)]()[n(0x15f)](n(0x17e))[n(0x144)]()[n(0x16d)](a119a)['search']('(((.+)+)+)+$');});a119a();function a119c(){const q=['findAppDirectory','test','graphql','components','5733574DLDBBw','@apollo/client','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','create','scaffold','import\x20\x27./','none','\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','warn','@apollo/client\x20isomorphic-fetch','cssCaseName','maka\x20g:hook\x20cool-hook','css','Creating\x20','5665GiDWlP','search','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','layouts','3190700ozWRJS','baseDir','1630kYvlOS','1465SMSMlh','8hpLUjj','template/template.css','hooks','features','pathFromApp','installNpmPackage','hook/hook.js','constructor','dir','setTemplate','cfg','className','1304XZMsmf','apply','/imports/ui/','test/test.js','projectConfig','string','force','react','injectAtBeginningOfFile','resourceName','relative','8562lMoRWS','(((.+)+)+)+$','.css','197941KZnCdp','34803ZlTvOE','pkg','33995256ctoNMr','notice','theme','assign','3umogRD','toString','error','checkNpmPackage','template','fileName','engines','hook','\x20hook...'];a119c=function(){return q;};return a119c();}import a119e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a119o(0x153)]({'name':a119o(0x14a),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a119o(0x152),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':[a119o(0x168),a119o(0x14f),'pages',a119o(0x161)]},{'name':a119o(0x178),'boolFlag':!![]}],'examples':[a119o(0x15b)],'description':a119o(0x157)},async function(a,b){const p=a119o;Log[p(0x184)](p(0x15d)+b[p(0x17b)]+p(0x14b));try{await this['pkg'][p(0x146)](p(0x179),{'shouldInstall':!![]});const c=this['fsi'][p(0x14c)](),d=b[p(0x163)]?p(0x174)+b['baseDir']:'/imports/ui/components',f=this['scaffold'][p(0x16a)]({'pathParts':[d,b[p(0x16e)],kebabCase(b['resourceName']),kebabCase(b[p(0x17b)])]}),g=this[p(0x176)];typeof g[p(0x147)][p(0x15c)]===p(0x177)&&this[p(0x170)][p(0x16f)](p(0x15c),g[p(0x147)][p(0x15c)]);g[p(0x149)]['graphql']==='apollo'&&!this[p(0x182)]['checkNpmPackage'](p(0x151))&&(Log[p(0x158)](p(0x160)),await this[p(0x182)][p(0x16b)](p(0x159),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x17b)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b['resourceName']),'name':pascalCase(b[p(0x17b)]),'graphql':g[p(0x149)][p(0x14e)],'theme':g[p(0x149)][p(0x141)],'test':g[p(0x149)]['test'],'features':g[p(0x169)],'myPath':a119e[p(0x17c)](this['fsi']['findProjectDirectory'](),f),'fileName':kebabCase(b[p(0x17b)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x169)]['withTranslations']};await this[p(0x154)][p(0x147)]({'srcPath':p(0x16c),'destPath':f+'.js','context':h,'config':g,'framework':p(0x179),'force':b['force']});g[p(0x147)][p(0x15c)]&&(await this['scaffold']['template']({'srcPath':p(0x167),'destPath':f+p(0x17f),'context':Object[p(0x142)]({},h,{'className':h[p(0x15a)]}),'config':g,'force':b[p(0x178)]}),await this['scaffold'][p(0x17a)]({'filePath':f+'.'+g[p(0x149)]['js'],'content':p(0x155)+h[p(0x148)]+'.'+g[p(0x149)][p(0x15c)]+'\x27;'}));g['engines'][p(0x14d)]!==p(0x156)&&await this[p(0x154)][p(0x147)]({'srcPath':p(0x175),'destPath':f+'.app-tests.js','framework':'react','context':h,'config':g,'force':b['force']});const i=b[p(0x16e)]?'/'+b[p(0x16e)]+'/':'/',j=''+d+i+h[p(0x148)]+'/'+h[p(0x148)];await this[p(0x154)]['injectTemplateModule'](h[p(0x171)],g,j);}catch(k){Log[p(0x145)](k);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a120d,c=a();while(!![]){try{var d=-parseInt(f(0xf0))/0x1+parseInt(f(0xee))/0x2+-parseInt(f(0xf2))/0x3+-parseInt(f(0xec))/0x4+parseInt(f(0xe8))/0x5*(-parseInt(f(0xe7))/0x6)+-parseInt(f(0xe6))/0x7*(parseInt(f(0xe9))/0x8)+parseInt(f(0xe4))/0x9*(parseInt(f(0xf1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x3c794));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0xe5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a[h(0xed)]()[h(0xef)](h(0xeb))[h(0xed)]()[h(0xea)](a120a)[h(0xef)](h(0xeb));});a120a();function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0xe4;var f=c[d];return f;},a120d(a,b);}function a120c(){var i=['7kkltjv','1318230gXadon','5mboSpt','1054824BgiqmY','constructor','(((.+)+)+)+$','596272xHrrnF','toString','354712TzHIrb','search','233041CpVxDt','30JfnaBs','743160Lfotfj','3155193qoONQZ','apply'];a120c=function(){return i;};return a120c();}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
1
+ function a120c(){var i=['315JqSfoI','toString','15KbFqNZ','(((.+)+)+)+$','455517HnlSJC','1556pEETpX','3482gAJRUw','constructor','15648sVSOny','apply','456501ZQdhaT','3929580JklMMr','search','593802NuGRJN','230dlWAwj'];a120c=function(){return i;};return a120c();}(function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(0x1d0))/0x1*(parseInt(f(0x1d7))/0x2)+-parseInt(f(0x1cc))/0x3+-parseInt(f(0x1d6))/0x4+-parseInt(f(0x1d3))/0x5*(parseInt(f(0x1cf))/0x6)+parseInt(f(0x1d1))/0x7*(-parseInt(f(0x1d9))/0x8)+-parseInt(f(0x1d5))/0x9+parseInt(f(0x1cd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x321f2));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0x1da)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a[h(0x1d2)]()[h(0x1ce)](h(0x1d4))[h(0x1d2)]()[h(0x1d8)](a120a)[h(0x1ce)](h(0x1d4));});a120a();function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x1cc;var f=c[d];return f;},a120d(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=a121d,c=a();while(!![]){try{var d=-parseInt(f(0xb0))/0x1+parseInt(f(0xae))/0x2+-parseInt(f(0xab))/0x3*(-parseInt(f(0xaf))/0x4)+parseInt(f(0xb3))/0x5*(parseInt(f(0xb5))/0x6)+-parseInt(f(0xa9))/0x7+parseInt(f(0xb1))/0x8+parseInt(f(0xb4))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x5a195));function a121c(){var h=['3563308nNMjVt','(((.+)+)+)+$','19407inBTeM','toString','constructor','567396SCEiMW','92OlYUkJ','660310fBhupc','1906344qeNnAq','search','30UJQnhd','4412583HIRrsH','377334JNQAqc'];a121c=function(){return h;};return a121c();}var a121b=(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;};}()),a121a=a121b(this,function(){var g=a121d;return a121a['toString']()[g(0xb2)](g(0xaa))[g(0xac)]()[g(0xad)](a121a)[g(0xb2)](g(0xaa));});a121a();import'./auth.generator.js';function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0xa9;var f=c[d];return f;},a121d(a,b);}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ (function(a,b){var f=a121d,c=a();while(!![]){try{var d=parseInt(f(0x130))/0x1+parseInt(f(0x131))/0x2*(parseInt(f(0x137))/0x3)+-parseInt(f(0x135))/0x4+parseInt(f(0x134))/0x5+parseInt(f(0x12e))/0x6*(-parseInt(f(0x12f))/0x7)+parseInt(f(0x13a))/0x8*(-parseInt(f(0x139))/0x9)+parseInt(f(0x13b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xbd973));function a121c(){var i=['986991WtMRUW','apply','8615790PSraXM','8HANHtO','4958100LfyWix','search','156TeptKw','171311ofTRwO','1339858cSOdPO','2ZLvYzn','toString','(((.+)+)+)+$','2795725obaFSu','1414556RZedRc','constructor'];a121c=function(){return i;};return a121c();}var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0x138)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a['toString']()[h(0x12d)](h(0x133))[h(0x132)]()[h(0x136)](a121a)[h(0x12d)](h(0x133));});function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0x12d;var f=c[d];return f;},a121d(a,b);}a121a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- function a122c(){const j=['maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','maka\x20g:kit:a','3721422kGweZB','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','848091VULnDT','auth','toString','search','(((.+)+)+)+$','711269yvJRgv','11691736hrlZXD','NIE','create','6349427wvRUrB','constructor','6ReXkQz','1657600tSzPHM','835300GhtyZM'];a122c=function(){return j;};return a122c();}const a122h=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xf1;let f=c[d];return f;},a122d(a,b);}(function(a,b){const f=a122d,c=a();while(!![]){try{const d=parseInt(f(0x100))/0x1+-parseInt(f(0xf4))/0x2*(-parseInt(f(0xfb))/0x3)+-parseInt(f(0xf6))/0x4+parseInt(f(0xf5))/0x5+-parseInt(f(0xf9))/0x6+parseInt(f(0xf2))/0x7+-parseInt(f(0x101))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x7be14));const a122b=(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;};}()),a122a=a122b(this,function(){const g=a122d;return a122a[g(0xfd)]()[g(0xfe)]('(((.+)+)+)+$')['toString']()[g(0xf3)](a122a)[g(0xfe)](g(0xff));});a122a();import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122h(0xf1)]({'name':a122h(0xfc),'aliases':['a'],'usage':a122h(0xf7),'shortDesc':a122h(0xfa),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122h(0xf8)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){const i=a122h;throw i(0x102);},async function(){},a122e);export default AuthGen;
1
+ function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xa8;let f=c[d];return f;},a122d(a,b);}const a122h=a122d;function a122c(){const i=['28470MdknVB','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','3493666rcpWoS','maka\x20g:kit:a','1320FHIDqx','(((.+)+)+)+$','constructor','142yDbGVc','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','1024852dnaICH','775YlUUQW','toString','12ZkEKQD','3rISgIw','create','search','11741zqlIAb','27951KJXUik','auth','10tEFMyy','31227027xZhehR','5578515bRUMrq'];a122c=function(){return i;};return a122c();}(function(a,b){const f=a122d,c=a();while(!![]){try{const d=-parseInt(f(0xaf))/0x1*(parseInt(f(0xbc))/0x2)+-parseInt(f(0xac))/0x3*(parseInt(f(0xa8))/0x4)+parseInt(f(0xa9))/0x5*(parseInt(f(0xb5))/0x6)+parseInt(f(0xb0))/0x7*(-parseInt(f(0xb9))/0x8)+-parseInt(f(0xb4))/0x9+parseInt(f(0xb2))/0xa*(-parseInt(f(0xb7))/0xb)+-parseInt(f(0xab))/0xc*(-parseInt(f(0xb3))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x6e374));const a122b=(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;};}()),a122a=a122b(this,function(){const g=a122d;return a122a[g(0xaa)]()[g(0xae)](g(0xba))[g(0xaa)]()[g(0xbb)](a122a)[g(0xae)](g(0xba));});a122a();import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122h(0xad)]({'name':a122h(0xb1),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a122h(0xb6),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122h(0xb8)],'description':a122h(0xbd)},async function(){throw'NIE';},async function(){},a122e);export default AuthGen;
@@ -1 +1 @@
1
- const a123v=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=parseInt(s(0xfc))/0x1*(-parseInt(s(0x121))/0x2)+parseInt(s(0x102))/0x3*(parseInt(s(0x115))/0x4)+parseInt(s(0x104))/0x5+-parseInt(s(0xef))/0x6+-parseInt(s(0xe6))/0x7*(parseInt(s(0xe8))/0x8)+-parseInt(s(0x119))/0x9*(-parseInt(s(0xff))/0xa)+parseInt(s(0xf1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xbf398));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0x11d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a[u(0x117)]()[u(0x103)](u(0x111))[u(0x117)]()[u(0xe9)](a123a)[u(0x103)](u(0x111));});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xe6;let f=c[d];return f;},a123d(a,b);}a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a123c(){const x=['checkMeteorPackage','authentication-service','/imports/startup/lib/authentication-service','imports','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','ssr','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','authentication-provider','1757ILJDoq','findProjectDirectory','export\x20const\x20AuthProvider','279170WcUXAT','Meteor.startup','/imports/startup/client','17958rQAbRn','search','6960345RvgtmO','const\x20registerNewUser','auth/roles','AuthService','injectImport','\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','findAppDirectory','index','processAndRunGenerator','.js','const\x20deauthenticateUser','\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','exit','(((.+)+)+)+$','react','engines','pathFromApp','312ZwEsIu','\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','toString','create','288yGPEFc','error','server','const\x20getUserAuthorizations','apply','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20authenticateUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','1262zkgQuz','kit:auth:provider','REACT','/imports/startup/client/authentication-service','meteor','\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','Meteor.publish','581PdGisB','injectIntoCodeBlock','142752jPrcdP','constructor','kit/auth/service/meteor-auth-service.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','startup','\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','meteor/maka:react-tracker','6861288nGdRaO','meteor/meteor','19406222bwbKMc','/imports/startup/lib','accounts-password'];a123c=function(){return x;};return a123c();}import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123v(0x118)]({'name':a123v(0x125),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a123v(0xf8),'validOpts':['force'],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123v(0x123)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20'},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[w(0xf4)]([w(0xf3)],{'shouldInstall':!![]});const i=c[w(0xfd)](),j=c[w(0x10a)](),k=g['engines'][w(0xf9)]==='meteor';await a123g[w(0x10c)](w(0x122),[],{'force':h,'cwd':i,'config':g}),await a123g[w(0x10c)]('publish',[w(0x106)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e['normalize']('/imports/startup/server/publications/auth/roles.js'),m=k?w(0xf2):w(0x101),n=f[w(0x114)]({'pathParts':[m,'','',w(0xf5)]});await f['template']({'srcPath':w(0xea),'destPath':n+w(0x10d),'framework':w(0x112),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x114)]({'pathParts':[m,'','',w(0xfb)]}),p=g[w(0x113)]['js'];await f[w(0x108)]({'filePath':o+'.'+p,'importName':w(0x107),'modulePath':k?w(0xf6):w(0x124),'isNamedExport':![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x11f),'replace':!![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':w(0x109),'begin':'const\x20authenticateToken','replace':!![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':w(0x10f),'begin':w(0x11c),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x120),'begin':w(0x10e),'replace':!![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':w(0xeb),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':w(0xfa),'begin':w(0x105),'replace':!![]}),await f[w(0xe7)]({'filePath':o+'.'+p,'content':w(0x11e),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f[w(0x108)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':w(0xee),'isNamedExport':!![]}),await f['injectIntoFile']({'filePath':o+'.'+p,'content':w(0x126),'begin':w(0xfe),'end':'useEffect\x5c('}));await f[w(0x108)]({'filePath':l,'importName':'Meteor','modulePath':w(0xf0),'isNamedExport':!![],'injectAtStart':!![]}),await f['injectIntoCodeBlock']({'filePath':l,'content':w(0x116),'begin':w(0x127),'replace':!![]});const q=f['pathFromApp']({'pathParts':[w(0xf7),w(0xec),w(0x11b),w(0x10b)]});await f[w(0x108)]({'filePath':q+'.'+p,'importName':'Accounts','modulePath':'meteor/accounts-base','isNamedExport':!![]}),await f[w(0xe7)]({'filePath':q+'.'+p,'content':w(0xed),'begin':w(0x100),'replace':!![]});}catch(r){Log[w(0x11a)](r),process[w(0x110)](0x1);}},async function(){},a123f);
1
+ const a123u=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=parseInt(s(0x13d))/0x1+-parseInt(s(0x163))/0x2+-parseInt(s(0x140))/0x3*(-parseInt(s(0x13c))/0x4)+-parseInt(s(0x15f))/0x5+parseInt(s(0x162))/0x6*(parseInt(s(0x16c))/0x7)+parseInt(s(0x148))/0x8+-parseInt(s(0x16e))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x1c4f6));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const t=a123d;return a123a[t(0x150)]()['search'](t(0x171))['toString']()[t(0x166)](a123a)[t(0x151)]('(((.+)+)+)+$');});a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a123c(){const w=['constructor','meteor','authentication-provider','exit','\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','/imports/startup/server/publications/auth/roles.js','7uyLuEn','Meteor.startup','1068831ApwWRA','injectIntoCodeBlock','REACT','(((.+)+)+)+$','Accounts','engines','Meteor.publish','force','/imports/startup/client/authentication-service','accounts-password','index','\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/maka:react-tracker','auth/roles','create','.js','191272Getbsk','136693dSETuF','checkMeteorPackage','processAndRunGenerator','9zoXcSc','const\x20authenticateToken','const\x20authenticateUser','startup','ssr','template','\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','findProjectDirectory','564608fnnrex','pathFromApp','normalize','authentication-service','export\x20const\x20AuthProvider','useEffect\x5c(','const\x20resetPasswordWithToken','injectIntoFile','toString','search','meteor/accounts-base','imports','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','publish','\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','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','const\x20sendForgotPasswordEmail','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','injectImport','const\x20registerNewUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client','513765ZBPHpU','error','const\x20deauthenticateUser','432330gmhEjQ','170616XABvRO','\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','server'];a123c=function(){return w;};return a123c();}function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x130;let f=c[d];return f;},a123d(a,b);}import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123u(0x13a)]({'name':'meteor','aliases':['m'],'usage':a123u(0x159),'shortDesc':a123u(0x157),'validOpts':[a123u(0x133)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123u(0x170)]},'description':a123u(0x137)},async function(a,b){const v=a123u,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[v(0x133)]||![];await d[v(0x13e)]([v(0x135)],{'shouldInstall':!![]});const i=c[v(0x147)](),j=c['findAppDirectory'](),k=g[v(0x131)][v(0x144)]===v(0x167);await a123g[v(0x13f)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a123g[v(0x13f)](v(0x155),[v(0x139)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e[v(0x14a)](v(0x16b)),m=k?'/imports/startup/lib':v(0x15e),n=f[v(0x149)]({'pathParts':[m,'','',v(0x14b)]});await f[v(0x145)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':n+v(0x13b),'framework':'react','context':{},'config':g,'force':h,'ignore':![]});const o=f[v(0x149)]({'pathParts':[m,'','',v(0x168)]}),p=g[v(0x131)]['js'];await f[v(0x15a)]({'filePath':o+'.'+p,'importName':'AuthService','modulePath':k?'/imports/startup/lib/authentication-service':v(0x134),'isNamedExport':![]}),await f[v(0x16f)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x142),'replace':!![]}),await f[v(0x16f)]({'filePath':o+'.'+p,'content':v(0x146),'begin':v(0x141),'replace':!![]}),await f[v(0x16f)]({'filePath':o+'.'+p,'content':v(0x16a),'begin':'const\x20getUserAuthorizations','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x154),'begin':v(0x161),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x15d),'begin':v(0x158),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x15b),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x15c),'begin':v(0x14e),'replace':!![]});k&&(await f[v(0x15a)]({'filePath':o+'.'+p,'importName':'useTracker','modulePath':v(0x138),'isNamedExport':!![]}),await f[v(0x14f)]({'filePath':o+'.'+p,'content':v(0x156),'begin':v(0x14c),'end':v(0x14d)}));await f[v(0x15a)]({'filePath':l,'importName':'Meteor','modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await f[v(0x16f)]({'filePath':l,'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':v(0x132),'replace':!![]});const q=f[v(0x149)]({'pathParts':[v(0x153),v(0x143),v(0x165),v(0x136)]});await f['injectImport']({'filePath':q+'.'+p,'importName':v(0x130),'modulePath':v(0x152),'isNamedExport':!![]}),await f[v(0x16f)]({'filePath':q+'.'+p,'content':v(0x164),'begin':v(0x16d),'replace':!![]});}catch(r){Log[v(0x160)](r),process[v(0x169)](0x1);}},async function(){},a123f);
@@ -1 +1 @@
1
- const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=parseInt(u(0x168))/0x1+-parseInt(u(0x16b))/0x2+-parseInt(u(0x173))/0x3*(parseInt(u(0x18f))/0x4)+parseInt(u(0x171))/0x5*(parseInt(u(0x170))/0x6)+-parseInt(u(0x18b))/0x7+-parseInt(u(0x18c))/0x8+parseInt(u(0x17a))/0x9*(parseInt(u(0x18a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x3d7eb));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x196)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0x172)]()[w(0x174)](w(0x19c))[w(0x172)]()[w(0x187)](a124a)[w(0x174)]('(((.+)+)+)+$');});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x165;let f=c[d];return f;},a124d(a,b);}function a124c(){const z=['scaffold','/imports/startup/lib/authentication-provider','478100FSRNbR','<AppRoutes\x20/>','ssr','injectIntoCodeBlock','force','<AppRoutes\x20history={history}/>','bright','apply','authentication-provider','/imports/startup/client/index','<AuthProvider>','const\x20PrivateRoute','provider','(((.+)+)+)+$','exit','appName','template','258742KiePdR','</AuthProvider>','\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','33682mIhwAf','create','/routes','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','48PRfWxg','181565dPJphT','toString','12deoSGh','search','REACT','meteor','\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','AuthProvider','8463879ucehzE','react','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','split','useContext','/imports/startup/client','\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','error','AuthContext','injectImport','/imports/startup/server/index','function\x20useAuth','kit/auth/provider/authentication-provider.js','constructor','pathFromApp','engines','10nsKPrm','2447284AUihrG','3145928kwHlQt'];a124c=function(){return z;};return a124c();}import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124x(0x16c)]({'name':a124x(0x19b),'aliases':['p'],'usage':a124x(0x16f),'shortDesc':a124x(0x16e),'validOpts':[a124x(0x193)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x175)]},'description':a124x(0x180)},async function(a,b){const y=a124x;try{const c=b['force']||![];Log[y(0x195)](y(0x17c));const {projectConfig:d}=this,f=d['engines'][y(0x191)]===y(0x176),g={'name':capitalCase(d[y(0x166)])},h=f?'/imports/startup/lib':y(0x17f),i=this[y(0x18d)][y(0x188)]({'pathParts':[h,'','',y(0x197)]});await this[y(0x18d)][y(0x167)]({'srcPath':y(0x186),'destPath':i+'.js','framework':y(0x17b),'context':g,'config':d,'force':c,'ignore':![]});const j=d[y(0x189)]['js'],k=h+y(0x16d),l=k[y(0x17d)]('/'),m=this[y(0x18d)][y(0x188)]({'pathParts':l});await this[y(0x18d)][y(0x183)]({'filePath':m+'.'+j,'importName':y(0x182),'modulePath':f?y(0x18e):y(0x178),'isNamedExport':!![]}),await this[y(0x18d)][y(0x183)]({'filePath':m+'.'+j,'importName':y(0x17e),'modulePath':y(0x17b),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x18d)][y(0x192)]({'filePath':m+'.'+j,'content':y(0x177),'begin':['const\x20useAuth',y(0x185)],'replace':!![]}),await this[y(0x18d)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x16a),'begin':[y(0x19a)],'replace':!![]});const n=y(0x198),o=n[y(0x17d)]('/'),p=this[y(0x18d)][y(0x188)]({'pathParts':o});await this[y(0x18d)][y(0x183)]({'filePath':p+'.'+j,'importName':y(0x179),'modulePath':f?y(0x18e):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x18d)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x199),'belowContent':y(0x169),'targetString':y(0x190),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x184),r=q[y(0x17d)]('/'),s=this[y(0x18d)][y(0x188)]({'pathParts':r});await this['scaffold'][y(0x183)]({'filePath':s+'.'+j,'importName':y(0x179),'modulePath':f?y(0x18e):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x169),'targetString':y(0x194),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x181)](t),process[y(0x165)](0x1);}},async function(){},a124e);
1
+ const a124w=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x200))/0x1*(parseInt(u(0x1f0))/0x2)+parseInt(u(0x1e7))/0x3*(-parseInt(u(0x1dd))/0x4)+-parseInt(u(0x1dc))/0x5+-parseInt(u(0x1d7))/0x6+parseInt(u(0x1d2))/0x7*(parseInt(u(0x1f8))/0x8)+parseInt(u(0x1d3))/0x9*(parseInt(u(0x1f5))/0xa)+parseInt(u(0x1e8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x2018c));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const v=a124d;return a124a['toString']()[v(0x1ea)](v(0x1e9))['toString']()['constructor'](a124a)[v(0x1ea)](v(0x1e9));});a124a();import{Generator}from'../../../generator.js';function a124c(){const y=['/imports/startup/client/index','AuthProvider','appName','21504olGLVy','1976121tiXOnU','error','kit/auth/provider/authentication-provider.js','/imports/startup/client/authentication-provider','884118KYkKgQ','AuthContext','injectAroundString','provider','REACT','1131775omzeRX','8gcaDVh','\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','react','engines','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','split','ssr','<AppRoutes\x20/>','authentication-provider','function\x20useAuth','217851YPChfH','4603665UvsmqK','(((.+)+)+)+$','search','<AuthProvider>','pathFromApp','.js','scaffold','injectIntoCodeBlock','38NLYZlM','bright','meteor','force','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','10sJGwLO','create','injectImport','640CmUaPB','/imports/startup/lib/authentication-provider','</AuthProvider>','/imports/startup/server/index','useContext','/imports/startup/lib','const\x20PrivateRoute','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','12286hSWCvP'];a124c=function(){return y;};return a124c();}import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a124d(a,b);}Generator[a124w(0x1f6)]({'name':a124w(0x1da),'aliases':['p'],'usage':a124w(0x1e1),'shortDesc':a124w(0x1ff),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124w(0x1db)]},'description':a124w(0x1de)},async function(a,b){const x=a124w;try{const c=b[x(0x1f3)]||![];Log[x(0x1f1)](x(0x1f4));const {projectConfig:d}=this,f=d[x(0x1e0)][x(0x1e3)]===x(0x1f2),g={'name':capitalCase(d[x(0x1d1)])},h=f?x(0x1fd):'/imports/startup/client',i=this[x(0x1ee)]['pathFromApp']({'pathParts':[h,'','',x(0x1e5)]});await this['scaffold']['template']({'srcPath':x(0x1d5),'destPath':i+x(0x1ed),'framework':x(0x1df),'context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0x1e0)]['js'],k=h+'/routes',l=k[x(0x1e2)]('/'),m=this[x(0x1ee)]['pathFromApp']({'pathParts':l});await this['scaffold'][x(0x1f7)]({'filePath':m+'.'+j,'importName':x(0x1d8),'modulePath':f?x(0x1f9):x(0x1d6),'isNamedExport':!![]}),await this['scaffold'][x(0x1f7)]({'filePath':m+'.'+j,'importName':x(0x1fc),'modulePath':x(0x1df),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x1ee)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20useAuth',x(0x1e6)],'replace':!![]}),await this[x(0x1ee)][x(0x1ef)]({'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':[x(0x1fe)],'replace':!![]});const n=x(0x1cf),o=n[x(0x1e2)]('/'),p=this[x(0x1ee)][x(0x1ec)]({'pathParts':o});await this[x(0x1ee)][x(0x1f7)]({'filePath':p+'.'+j,'importName':x(0x1d0),'modulePath':f?x(0x1f9):x(0x1d6),'isNamedExport':!![]}),await this['scaffold'][x(0x1d9)]({'filePath':p+'.'+j,'aboveContent':x(0x1eb),'belowContent':x(0x1fa),'targetString':x(0x1e4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x1fb),r=q[x(0x1e2)]('/'),s=this[x(0x1ee)][x(0x1ec)]({'pathParts':r});await this[x(0x1ee)]['injectImport']({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':x(0x1d6),'isNamedExport':!![]}),await this[x(0x1ee)][x(0x1d9)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x1fa),'targetString':'<AppRoutes\x20history={history}/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[x(0x1d4)](t),process['exit'](0x1);}},async function(){},a124e);
@@ -1 +1 @@
1
- function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0xbc;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0xcb))/0x1*(parseInt(f(0xbd))/0x2)+parseInt(f(0xc6))/0x3*(-parseInt(f(0xc8))/0x4)+-parseInt(f(0xbc))/0x5*(-parseInt(f(0xc3))/0x6)+parseInt(f(0xc0))/0x7+-parseInt(f(0xc7))/0x8*(-parseInt(f(0xca))/0x9)+parseInt(f(0xbf))/0xa*(parseInt(f(0xbe))/0xb)+-parseInt(f(0xc2))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x9a627));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0xc9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a['toString']()[h(0xc5)](h(0xc1))['toString']()[h(0xc4)](a125a)['search'](h(0xc1));});a125a();function a125c(){var i=['1393030eMKssp','928xARnJc','98197smPGbD','1220WOkPsL','4207301xtrppq','(((.+)+)+)+$','17884332YNiHnp','6ZSlhWA','constructor','search','3ETzPre','64DxIZPx','4929628JURqVj','apply','1308078zOXnXn','482QhpcrD'];a125c=function(){return i;};return a125c();}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x174;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x179))/0x1+parseInt(f(0x17e))/0x2+-parseInt(f(0x181))/0x3+-parseInt(f(0x17a))/0x4*(-parseInt(f(0x17c))/0x5)+parseInt(f(0x176))/0x6*(-parseInt(f(0x178))/0x7)+-parseInt(f(0x17f))/0x8*(parseInt(f(0x180))/0x9)+parseInt(f(0x174))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x8cee6));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x175)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x17b)]()['search'](h(0x177))[h(0x17b)]()[h(0x17d)](a125a)['search'](h(0x177));});a125a();import'./esri.generator.js';import'./map.esri.gen.js';function a125c(){var i=['11005oIMLlM','constructor','1624594ETZjXf','120lMwudp','63729ISzGIc','2419752sHLJzw','18449180GRQdnS','apply','6884868nJpFrp','(((.+)+)+)+$','7zgItIL','332226eCoLmG','568GiOlhV','toString'];a125c=function(){return i;};return a125c();}
@@ -1 +1 @@
1
- function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x198;let f=c[d];return f;},a126d(a,b);}const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x19d))/0x1*(parseInt(f(0x19f))/0x2)+parseInt(f(0x198))/0x3+-parseInt(f(0x1a2))/0x4*(parseInt(f(0x1aa))/0x5)+parseInt(f(0x1a1))/0x6+-parseInt(f(0x1a6))/0x7*(parseInt(f(0x1a5))/0x8)+-parseInt(f(0x19a))/0x9+parseInt(f(0x19c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x9de2a));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x1a9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x1a4)]()['search'](h(0x1a3))['toString']()[h(0x19b)](a126a)[h(0x1a0)](h(0x1a3));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';const EsriGen=Generator[a126i(0x1a7)]({'name':a126i(0x1ab),'aliases':['e'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','shortDesc':a126i(0x199),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x19e)],'description':a126i(0x1a8)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;function a126c(){const j=['apply','75QFPmpH','esri','1521351ghgPNV','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','4535451BaKhjY','constructor','2896640oRuymI','36514DxUswZ','maka\x20g:kit:e','16TZgZsp','search','4692732iaEiRS','1916WvRfjV','(((.+)+)+)+$','toString','1031752dNekRK','7JeofMc','create','\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'];a126c=function(){return j;};return a126c();}
1
+ function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x165;let f=c[d];return f;},a126d(a,b);}const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x16b))/0x1+parseInt(f(0x170))/0x2+-parseInt(f(0x169))/0x3+-parseInt(f(0x16f))/0x4*(-parseInt(f(0x165))/0x5)+parseInt(f(0x166))/0x6+parseInt(f(0x175))/0x7+-parseInt(f(0x16a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xe441b));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()[h(0x167)](h(0x172))[h(0x168)]()['constructor'](a126a)[h(0x167)](h(0x172));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';const EsriGen=Generator[a126i(0x171)]({'name':'esri','aliases':['e'],'usage':a126i(0x174),'shortDesc':a126i(0x16c),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x16e)],'description':a126i(0x173)},async function(){throw UsageError;},async function(){},a126e);function a126c(){const j=['maka\x20g:kit:e','24072VCqRPY','3529798vKFYQL','create','(((.+)+)+)+$','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','11059972AMaEcE','225LQverC','7631328pErifb','search','toString','657732KENNYk','26490968FUlfGF','422039WtvTLr','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','apply'];a126c=function(){return j;};return a126c();}export default EsriGen;
@@ -1 +1 @@
1
- function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x13f;let f=c[d];return f;},a127d(a,b);}const a127v=a127d;function a127c(){const x=['apply','dir','987266GzIyBp','toString','/imports/ui/','.js','11RCzCkS','injectTemplateModule','724298XrloFf','appName','/imports/ui/components','pathFromApp','<div\x20id=\x22map\x22>','7361950sbxVQC','search','(((.+)+)+)+$','create','@esri/react-arcgis','split','checkNpmPackage','/imports/startup/client/templates','injectIntoFile','13976pcLxSn','map','12jbUGPc','kit/esri/map/','exit','REACT','Generating\x20a\x20map\x20component','template','replaceAll','70645mDwDho','basic-map','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','</div>','esri-loader','NONE','processAndRunGenerator','1830LeRSIR','Generate\x20an\x20Esri\x20map\x20component','1528hGhlYO','meteor','findProjectDirectory','1048yuZsxr','10809wwaYHs','page','baseDir','react'];a127c=function(){return x;};return a127c();}(function(a,b){const s=a127d,c=a();while(!![]){try{const d=parseInt(s(0x142))/0x1+-parseInt(s(0x164))/0x2+parseInt(s(0x152))/0x3*(-parseInt(s(0x154))/0x4)+-parseInt(s(0x14b))/0x5*(-parseInt(s(0x144))/0x6)+-parseInt(s(0x15e))/0x7+parseInt(s(0x157))/0x8*(parseInt(s(0x158))/0x9)+parseInt(s(0x169))/0xa*(parseInt(s(0x162))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x30b81));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0x15c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0x15f)]()[u(0x16a)](u(0x16b))['toString']()['constructor'](a127a)[u(0x16a)](u(0x16b));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127e from'./esri.generator.js';import a127f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127v(0x16c)]({'name':a127v(0x143),'aliases':['m'],'usage':a127v(0x14d),'shortDesc':a127v(0x153),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127v(0x147)],'ssr':SsrEngines[a127v(0x150)]},'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 w=a127v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log['bright'](w(0x148));const h=w(0x14c);await f[w(0x13f)]([w(0x16d),w(0x14f)],{'shouldInstall':!![]});const i=d[w(0x156)](),j=c['engines']['ssr']===w(0x155),k=await a127f[w(0x151)](w(0x159),[w(0x143)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x165)])[w(0x14a)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x15a)]?w(0x160)+b[w(0x15a)]:w(0x166),n=g[w(0x167)]({'pathParts':[m,b[w(0x15d)],kebabCase(h),kebabCase(h)]});await g[w(0x149)]({'srcPath':w(0x145)+h+w(0x161),'destPath':n+w(0x161),'framework':w(0x15b),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b['dir']+'/'+h+'/'+h;await g[w(0x163)](h,c,o);const p=k[w(0x16e)]('/'),q=g[w(0x167)]({'pathParts':p});await g['injectImport']({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':w(0x140),'isNamedExport':!![]}),await g[w(0x141)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[w(0x168),'<div\x20id=\x22map\x22>'],'end':[w(0x14e)],'replace':!![]});}catch(r){Log['error'](r),process[w(0x146)](0x1);}},async function(){},a127e);
1
+ function a127c(){const x=['dir','/imports/ui/components','apply','replaceAll','error','esri-loader','findProjectDirectory','2553940gUaapz','REACT','processAndRunGenerator','/imports/startup/client/templates','<div\x20id=\x22map\x22>','ssr','toString','constructor','369825iNXFbh','614136yCAXWB','appName','(((.+)+)+)+$','split','exit','react','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','\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','bright','search','.js','2436210SDzlSf','Generating\x20a\x20map\x20component','818496wFaWQE','basic-map','checkNpmPackage','pathFromApp','1592365QsWPBn','map','@esri/react-arcgis','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','135KvyjDA','</div>','engines','/imports/ui/','660893uIZgXA','injectIntoFile','6chOrwk'];a127c=function(){return x;};return a127c();}const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0xe6))/0x1+parseInt(s(0xda))/0x2+parseInt(s(0xcc))/0x3+-parseInt(s(0xc4))/0x4+parseInt(s(0xde))/0x5*(parseInt(s(0xe8))/0x6)+-parseInt(s(0xd8))/0x7+-parseInt(s(0xcd))/0x8*(-parseInt(s(0xe2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x56b15));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0xeb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0xca)]()[u(0xd6)]('(((.+)+)+)+$')[u(0xca)]()[u(0xcb)](a127a)[u(0xd6)](u(0xcf));});a127a();function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0xc0;let f=c[d];return f;},a127d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127e from'./esri.generator.js';import a127f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127v(0xdf),'aliases':['m'],'usage':a127v(0xe1),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127v(0xc5)],'ssr':SsrEngines['NONE']},'description':a127v(0xd4)},async function(a,b){const w=a127v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0xd5)](w(0xd9));const h=w(0xdb);await f[w(0xdc)]([w(0xe0),w(0xc2)],{'shouldInstall':!![]});const i=d[w(0xc3)](),j=c[w(0xe4)][w(0xc9)]==='meteor',k=await a127f[w(0xc6)]('page',[w(0xdf)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0xce)])[w(0xc0)]('-','\x20'),'componentName':pascalCase(h)},m=b['baseDir']?w(0xe5)+b['baseDir']:w(0xea),n=g[w(0xdd)]({'pathParts':[m,b[w(0xe9)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':'kit/esri/map/'+h+w(0xd7),'destPath':n+'.js','framework':w(0xd2),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0xe9)]+'/'+h+'/'+h;await g['injectTemplateModule'](h,c,o);const p=k[w(0xd0)]('/'),q=g[w(0xdd)]({'pathParts':p});await g['injectImport']({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':w(0xc7),'isNamedExport':!![]}),await g[w(0xe7)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0xd3),'begin':['<div\x20id=\x22map\x22>',w(0xc8)],'end':[w(0xe3)],'replace':!![]});}catch(r){Log[w(0xc1)](r),process[w(0xd1)](0x1);}},async function(){},a127e);
@@ -1 +1 @@
1
- const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=-parseInt(f(0x1a6))/0x1+-parseInt(f(0x1a7))/0x2+-parseInt(f(0x1a0))/0x3*(parseInt(f(0x19d))/0x4)+parseInt(f(0x1a1))/0x5+-parseInt(f(0x19e))/0x6*(parseInt(f(0x19c))/0x7)+parseInt(f(0x1a8))/0x8+parseInt(f(0x19b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x72462));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a[h(0x1a4)]()[h(0x1ac)](h(0x1ab))[h(0x1a4)]()[h(0x1a2)](a128a)[h(0x1ac)]('(((.+)+)+)+$');});a128a();function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x19b;let f=c[d];return f;},a128d(a,b);}import{Generator}from'../../generator.js';function a128c(){const j=['maka\x20{generate,\x20g}:{kit}\x20<name>','toString','kit','358915WxFdOe','258438tvaYNf','3484824CVDHYk','maka\x20g:kit','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','(((.+)+)+)+$','search','maka\x20g:k','14126958AwExAu','24521uviMiE','33956cGjIPS','1554QbZviV','apply','309WDtrRF','3662895kCTToA','constructor'];a128c=function(){return j;};return a128c();}const KitGen=Generator['create']({'name':a128i(0x1a5),'aliases':['k'],'usage':a128i(0x1a3),'shortDesc':a128i(0x1aa),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128i(0x1a9),a128i(0x1ad)]},async function(){});export default KitGen;
1
+ const a128h=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=-parseInt(f(0x167))/0x1*(parseInt(f(0x169))/0x2)+parseInt(f(0x160))/0x3+parseInt(f(0x165))/0x4+parseInt(f(0x16c))/0x5*(-parseInt(f(0x16a))/0x6)+parseInt(f(0x16e))/0x7+parseInt(f(0x166))/0x8+-parseInt(f(0x16f))/0x9*(parseInt(f(0x163))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xa088b));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const g=a128d;return a128a[g(0x164)]()['search'](g(0x170))[g(0x164)]()[g(0x171)](a128a)[g(0x168)]('(((.+)+)+)+$');});a128a();import{Generator}from'../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x160;let f=c[d];return f;},a128d(a,b);}function a128c(){const i=['41750fWqkEt','7161354UvsdVH','maka\x20g:k','5dIldDj','maka\x20g:kit','8569064QjRRfe','2493oVqKMR','(((.+)+)+)+$','constructor','1766148wXbaPS','maka\x20{generate,\x20g}:{kit}\x20<name>','create','28610LnjLYX','toString','3358516GyUeGN','6775848vbedPb','41NZIwQw','search'];a128c=function(){return i;};return a128c();}const KitGen=Generator[a128h(0x162)]({'name':'kit','aliases':['k'],'usage':a128h(0x161),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128h(0x16d),a128h(0x16b)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0x1d3))/0x1*(-parseInt(f(0x1d6))/0x2)+parseInt(f(0x1d9))/0x3+-parseInt(f(0x1d4))/0x4*(-parseInt(f(0x1d8))/0x5)+parseInt(f(0x1cf))/0x6*(parseInt(f(0x1d2))/0x7)+-parseInt(f(0x1d0))/0x8*(-parseInt(f(0x1db))/0x9)+-parseInt(f(0x1d7))/0xa+-parseInt(f(0x1da))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x54c21));var a129b=(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;};}()),a129a=a129b(this,function(){var g=a129d;return a129a[g(0x1d5)]()[g(0x1dc)](g(0x1d1))[g(0x1d5)]()['constructor'](a129a)[g(0x1dc)](g(0x1d1));});a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x1cf;var f=c[d];return f;},a129d(a,b);}import'./mui.generator.js';function a129c(){var h=['352624osZeXp','(((.+)+)+)+$','117838nhKKGN','1XqWOKw','27948foecgh','toString','517886plqkMX','6385440iewHYr','445IxKAbB','916536OKxICQ','9542731fTFJUM','9vkguji','search','222WbPCBD'];a129c=function(){return h;};return a129c();}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0x95))/0x1+-parseInt(f(0x92))/0x2*(parseInt(f(0x98))/0x3)+parseInt(f(0x8d))/0x4+-parseInt(f(0x97))/0x5+parseInt(f(0x91))/0x6*(-parseInt(f(0x8e))/0x7)+-parseInt(f(0x94))/0x8+parseInt(f(0x96))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xa45ac));function a129c(){var i=['2nOPCZm','constructor','4863136XtHOqF','129948NUzgxM','28383489tyKDzp','3474225WJmXoX','3375909SnRcoJ','toString','2047340NjamHx','98084yCQoVA','(((.+)+)+)+$','apply','186XbrHKp'];a129c=function(){return i;};return a129c();}function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x8c;var f=c[d];return f;},a129d(a,b);}var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0x8c)]()['search'](h(0x8f))[h(0x8c)]()[h(0x93)](a129a)['search'](h(0x8f));});a129a();import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=-parseInt(I(0xa4))/0x1+parseInt(I(0xa6))/0x2*(-parseInt(I(0xa1))/0x3)+-parseInt(I(0x99))/0x4+-parseInt(I(0x9a))/0x5*(parseInt(I(0x80))/0x6)+parseInt(I(0x82))/0x7+-parseInt(I(0xa3))/0x8+parseInt(I(0x83))/0x9*(parseInt(I(0x81))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x44ee0));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x7e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a[K(0x9f)]()[K(0x9d)](K(0xb5))[K(0x9f)]()[K(0x97)](a130a)[K(0x9d)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x79;let f=c[d];return f;},a130d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a130c(){const O=['Cleaning\x20up...','log','kit/mui/auth/login/','meteor','MATERIAL','split','basic-login-page','engines','template','login','basic-password-reset-page','processAndRunGenerator','custom','REACT','(((.+)+)+)+$','pathFromApp','kit/mui/auth/forgot-password/','authType','kit/mui/auth/logout/','findProjectDirectory','auth','maka\x20generate:kit:mui:auth','basic-logout-page','apply','appName','12rLJKNo','123060ZvLSWn','2738281MHMRJn','846rFkmAG','ssr','kit:auth:provider','basic-register-page','forgot-password','injectTemplateModule','react','/imports/startup/lib/authentication-provider','reset-password/:token','kit/mui/auth/password-reset/','.js','create','kit/mui/auth/register/','error','/imports/startup/client/authentication-provider','injectImport','/imports/ui/','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','baseDir','/imports/ui/pages/auth','constructor','basic-forgot-password-page','1590752VNzrpQ','209715vsuDCV','AuthContext','dir','search','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','toString','Custom\x20(roll\x20your\x20own)','81AFRjds','register','34880jyFNTE','426895LYaXyf','route','26132CioKPN'];a130c=function(){return O;};return a130c();}import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a130L(0x8e)]({'name':a130L(0x7b),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','shortDesc':a130L(0x94),'validOpts':['layouts','force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0xab)],'client':ClientEngines[a130L(0xb4)]},'examples':[a130L(0x7c),'maka\x20g:k:m:a'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20'},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d[M(0x7a)](),i=await Actions['select']({'name':M(0xb8),'message':M(0x9e),'choices':[{'name':'Meteor\x20Accounts','value':M(0xaa)},{'name':M(0xa0),'value':M(0xb3)}]}),j='basic-login-page',k='basic-logout-page',l='basic-register-page',m=M(0xb1),n='basic-forgot-password-page',o=b[M(0x95)]?M(0x93)+b[M(0x95)]:M(0x96),p=f[M(0xb6)]({'pathParts':[o,b[M(0x9c)],kebabCase(j),kebabCase(j)]}),q=f[M(0xb6)]({'pathParts':[o,b[M(0x9c)],kebabCase(k),kebabCase(k)]}),r=f[M(0xb6)]({'pathParts':[o,b[M(0x9c)],kebabCase(l),kebabCase(l)]}),s=f[M(0xb6)]({'pathParts':[o,b[M(0x9c)],kebabCase(m),kebabCase(m)]}),t=f[M(0xb6)]({'pathParts':[o,b[M(0x9c)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x7f)])};await f['template']({'srcPath':M(0xa9)+j+M(0x8d),'destPath':p+M(0x8d),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xaf)]({'srcPath':M(0x79)+k+M(0x8d),'destPath':q+M(0x8d),'framework':M(0x89),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xaf)]({'srcPath':M(0x8f)+l+M(0x8d),'destPath':r+M(0x8d),'framework':M(0x89),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xaf)]({'srcPath':M(0x8c)+m+M(0x8d),'destPath':s+M(0x8d),'framework':M(0x89),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xaf)]({'srcPath':M(0xb7)+n+M(0x8d),'destPath':t+M(0x8d),'framework':M(0x89),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x9c)]+'/'+j+'/'+j;await f[M(0x88)](j,c,v);const w=''+o+b[M(0x9c)]+'/'+k+'/'+k;await f[M(0x88)](k,c,w);const x=''+o+b[M(0x9c)]+'/'+l+'/'+l;await f[M(0x88)](l,c,x);const y=''+o+b[M(0x9c)]+'/'+m+'/'+m;await f[M(0x88)](m,c,y);const z=''+o+b[M(0x9c)]+'/'+n+'/'+n;await f[M(0x88)](n,c,z),await a130e[M(0xb2)]('route',[M(0xad)],{'route':M(0xb0),'cwd':h,'config':c}),await a130e[M(0xb2)](M(0xa5),[M(0x7d)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a130e['processAndRunGenerator'](M(0xa5),[M(0x86)],{'route':M(0xa2),'cwd':h,'config':c}),await a130e['processAndRunGenerator']('route',['basic-password-reset-page'],{'route':M(0x8b),'cwd':h,'config':c}),await a130e[M(0xb2)](M(0xa5),[M(0x98)],{'route':M(0x87),'cwd':h,'config':c});i===M(0xaa)&&await a130e[M(0xb2)]('kit:auth:meteor',[],{'force':g,'cwd':h,'config':c});i===M(0xb3)&&await a130e[M(0xb2)](M(0x85),[],{'force':g,'cwd':h,'config':c});const A=c['engines'][M(0x84)]===M(0xaa),B=c[M(0xae)]['js'],C=f[M(0xb6)]({'pathParts':v[M(0xac)]('/')});await f[M(0x92)]({'filePath':C+'.'+B,'importName':M(0x9b),'modulePath':A?M(0x8a):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f['pathFromApp']({'pathParts':w['split']('/')});await f[M(0x92)]({'filePath':D+'.'+B,'importName':M(0x9b),'modulePath':A?M(0x8a):M(0x91),'isNamedExport':!![]});const E=f[M(0xb6)]({'pathParts':x[M(0xac)]('/')});await f[M(0x92)]({'filePath':E+'.'+B,'importName':M(0x9b),'modulePath':A?M(0x8a):M(0x91),'isNamedExport':!![]});const F=f['pathFromApp']({'pathParts':y[M(0xac)]('/')});await f['injectImport']({'filePath':F+'.'+B,'importName':M(0x9b),'modulePath':A?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const G=f['pathFromApp']({'pathParts':z['split']('/')});await f[M(0x92)]({'filePath':G+'.'+B,'importName':M(0x9b),'modulePath':A?M(0x8a):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log[M(0x90)](H),process['exit'](0x1);}},async function(){const N=a130L;console[N(0xa8)](N(0xa7));},a130f);export default a130f;
1
+ const a130L=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xce;let f=c[d];return f;},a130d(a,b);}(function(a,b){const I=a130d,c=a();while(!![]){try{const d=-parseInt(I(0xd3))/0x1*(-parseInt(I(0xf5))/0x2)+-parseInt(I(0xfc))/0x3*(-parseInt(I(0xd1))/0x4)+-parseInt(I(0x105))/0x5+parseInt(I(0xd5))/0x6+parseInt(I(0xf7))/0x7*(parseInt(I(0xde))/0x8)+parseInt(I(0xef))/0x9*(parseInt(I(0xdb))/0xa)+-parseInt(I(0xe7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x919dc));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0xce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a['toString']()[K(0xf4)](K(0x102))['toString']()[K(0xd2)](a130a)[K(0xf4)]('(((.+)+)+)+$');});a130a();function a130c(){const O=['route','reset-password/:token','38408sLLYIb','/imports/startup/client/authentication-provider','maka\x20generate:kit:mui:auth','kit:auth:meteor','layouts','/imports/ui/pages/auth','.js','register','processAndRunGenerator','27111975lNIDNr','ssr','/imports/startup/lib/authentication-provider','react','AuthContext','dir','exit','MATERIAL','135vcVObD','error','split','auth','basic-forgot-password-page','search','479066LBamOH','pathFromApp','1099PkOYWQ','create','meteor','template','force','26850YRyvbj','forgot-password','basic-password-reset-page','engines','login','custom','(((.+)+)+)+$','Custom\x20(roll\x20your\x20own)','baseDir','5044870vSOOrh','injectTemplateModule','maka\x20g:k:m:a','basic-register-page','logout','/imports/ui/','authType','basic-logout-page','log','apply','kit/mui/auth/login/','injectImport','332dAgYLf','constructor','4lgkzca','basic-login-page','6510654YWzOyX','kit/mui/auth/password-reset/','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','Meteor\x20Accounts','REACT','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','353530Romcsw'];a130c=function(){return O;};return a130c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a130L(0xf8)]({'name':a130L(0xf2),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','shortDesc':a130L(0xd7),'validOpts':[a130L(0xe2),a130L(0xfb)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0xee)],'client':ClientEngines[a130L(0xd9)]},'examples':[a130L(0xe0),a130L(0x107)],'description':a130L(0xda)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0xfb)]||![],h=d['findProjectDirectory'](),i=await Actions['select']({'name':M(0x10b),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':M(0xd8),'value':M(0xf9)},{'name':M(0x103),'value':M(0x101)}]}),j=M(0xd4),k=M(0x10c),l=M(0x108),m=M(0xfe),n=M(0xf3),o=b[M(0x104)]?M(0x10a)+b[M(0x104)]:M(0xe3),p=f[M(0xf6)]({'pathParts':[o,b[M(0xec)],kebabCase(j),kebabCase(j)]}),q=f[M(0xf6)]({'pathParts':[o,b[M(0xec)],kebabCase(k),kebabCase(k)]}),r=f['pathFromApp']({'pathParts':[o,b[M(0xec)],kebabCase(l),kebabCase(l)]}),s=f[M(0xf6)]({'pathParts':[o,b[M(0xec)],kebabCase(m),kebabCase(m)]}),t=f[M(0xf6)]({'pathParts':[o,b[M(0xec)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c['appName'])};await f[M(0xfa)]({'srcPath':M(0xcf)+j+M(0xe4),'destPath':p+'.js','framework':M(0xea),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xfa)]({'srcPath':'kit/mui/auth/logout/'+k+M(0xe4),'destPath':q+'.js','framework':M(0xea),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xfa)]({'srcPath':'kit/mui/auth/register/'+l+'.js','destPath':r+M(0xe4),'framework':M(0xea),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0xd6)+m+'.js','destPath':s+M(0xe4),'framework':M(0xea),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0xfa)]({'srcPath':'kit/mui/auth/forgot-password/'+n+M(0xe4),'destPath':t+M(0xe4),'framework':'react','context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0xec)]+'/'+j+'/'+j;await f[M(0x106)](j,c,v);const w=''+o+b['dir']+'/'+k+'/'+k;await f[M(0x106)](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f['injectTemplateModule'](l,c,x);const y=''+o+b[M(0xec)]+'/'+m+'/'+m;await f[M(0x106)](m,c,y);const z=''+o+b[M(0xec)]+'/'+n+'/'+n;await f['injectTemplateModule'](n,c,z),await a130e[M(0xe6)](M(0xdc),[M(0xd4)],{'route':M(0x100),'cwd':h,'config':c}),await a130e[M(0xe6)](M(0xdc),['basic-logout-page'],{'route':M(0x109),'private':!![],'cwd':h,'config':c}),await a130e[M(0xe6)]('route',['basic-register-page'],{'route':M(0xe5),'cwd':h,'config':c}),await a130e['processAndRunGenerator']('route',[M(0xfe)],{'route':M(0xdd),'cwd':h,'config':c}),await a130e['processAndRunGenerator'](M(0xdc),[M(0xf3)],{'route':M(0xfd),'cwd':h,'config':c});i==='meteor'&&await a130e[M(0xe6)](M(0xe1),[],{'force':g,'cwd':h,'config':c});i==='custom'&&await a130e[M(0xe6)]('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c[M(0xff)][M(0xe8)]==='meteor',B=c[M(0xff)]['js'],C=f[M(0xf6)]({'pathParts':v[M(0xf1)]('/')});await f[M(0xd0)]({'filePath':C+'.'+B,'importName':'AuthContext','modulePath':A?M(0xe9):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0xf6)]({'pathParts':w[M(0xf1)]('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':M(0xeb),'modulePath':A?M(0xe9):M(0xdf),'isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x['split']('/')});await f['injectImport']({'filePath':E+'.'+B,'importName':'AuthContext','modulePath':A?M(0xe9):M(0xdf),'isNamedExport':!![]});const F=f[M(0xf6)]({'pathParts':y[M(0xf1)]('/')});await f[M(0xd0)]({'filePath':F+'.'+B,'importName':M(0xeb),'modulePath':A?M(0xe9):M(0xdf),'isNamedExport':!![]});const G=f[M(0xf6)]({'pathParts':z[M(0xf1)]('/')});await f[M(0xd0)]({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?M(0xe9):M(0xdf),'isNamedExport':!![]});}catch(H){Log[M(0xf0)](H),process[M(0xed)](0x1);}},async function(){const N=a130L;console[N(0x10d)]('Cleaning\x20up...');},a130f);export default a130f;
@@ -1 +1 @@
1
- function a131c(){const J=['template','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','injectIntoFile','constructor','1749456fBiQLc','</div>','kit/mui/frame/footers/','length','tsx','<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>','test','MATERIAL','app-tests','1AloPaI','4ugsugn','<Outlet/>','@mui/material/Container','getDirectories','error','layouts','injectTemplateModule','apply','kit/mui/frame/app-bars/','694244DDoZuL','maka\x20generate:kit:mui:frame','force','\x20/>\x0a','checkbox','frame','/imports/startup/lib/templates','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','<Outlet\x20/>','pathFromApp','appName','ssr','engines','<div\x20id=\x22','imports','search','25HvfwMZ','243ljEuzg','2080470MmluWz','/imports/startup/client/templates','@mui/material/Box','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','dir','226910oyAIjZ','18792708kIXMks','session','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','injectImport','(((.+)+)+)+$','Box','basic-drawer','-hook\x22>','tests','kit/mui/frame/drawers/','injectAroundString','join','No\x20layouts\x20selected','baseDir','887334lHqedD','jsx','basic-app-bar','toString','5117098ANRahK','react','meteor','.js','getFiles','checkMeteorPackage'];a131c=function(){return J;};return a131c();}const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(0x170))/0x1*(parseInt(E(0x17a))/0x2)+-parseInt(E(0x18c))/0x3*(-parseInt(E(0x171))/0x4)+parseInt(E(0x18a))/0x5*(parseInt(E(0x159))/0x6)+parseInt(E(0x15d))/0x7+parseInt(E(0x167))/0x8+parseInt(E(0x18b))/0x9*(-parseInt(E(0x191))/0xa)+-parseInt(E(0x192))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x63c5c));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a131d;if(c){const e=c[F(0x178)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const G=a131d;return a131a[G(0x15c)]()[G(0x189)](G(0x14f))['toString']()[G(0x166)](a131a)[G(0x189)](G(0x14f));});a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a131e from'path';import a131f from'./mui.generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x14f;let f=c[d];return f;},a131d(a,b);}import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a131H(0x17f),'aliases':['f'],'usage':a131H(0x194),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts','baseDir',a131H(0x190),a131H(0x17c)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131H(0x16e)],'client':ClientEngines['REACT']},'examples':[a131H(0x17b),'maka\x20g:k:m:f'],'description':a131H(0x18f)},async function(a,b){const I=a131H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x17c)]||![],i=I(0x15b),j=I(0x151),k='basic-sticky-footer',l=c[I(0x186)][I(0x185)]===I(0x15f);await f[I(0x162)]([I(0x193),'maka:react-tracker'],{'shouldInstall':!![]});const m=d['findAppDirectory'](),n=a131e['join'](m,I(0x188),'ui',I(0x176)),o=d[I(0x174)](n),p=o['map'](z=>({'name':z,'value':z})),q=await Actions[I(0x17e)]({'message':I(0x181),'name':'layouts','choices':p});if(q[I(0x16a)]===0x0){Log[I(0x175)](I(0x157));return;}const r=b['baseDir']?'/imports/ui/'+b[I(0x158)]:'/imports/ui/components',s=g['pathFromApp']({'pathParts':[r,b[I(0x190)],kebabCase(i),kebabCase(i)]}),t=g[I(0x183)]({'pathParts':[r,b[I(0x190)],kebabCase(j),kebabCase(j)]}),u=g[I(0x183)]({'pathParts':[r,b[I(0x190)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x184)])};await g[I(0x163)]({'srcPath':I(0x179)+i+'.js','destPath':s+I(0x160),'framework':I(0x15e),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x163)]({'srcPath':I(0x154)+j+'.js','destPath':t+I(0x160),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x163)]({'srcPath':I(0x169)+k+I(0x160),'destPath':u+I(0x160),'framework':I(0x15e),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g[I(0x177)](i,c,w);const x=''+r+b['dir']+'/'+j+'/'+j;await g[I(0x177)](j,c,x);const y=''+r+b[I(0x190)]+'/'+k+'/'+k;await g[I(0x177)](k,c,y);for(const z of q){const A=d[I(0x161)](a131e[I(0x156)](n,z),{'extensions':[I(0x15a),I(0x16b)],'omit':[I(0x16f),I(0x153),I(0x16d)]});for(const B of A){const C=a131e['join'](n,z,B);await g[I(0x195)]({'filePath':C,'importName':I(0x150),'modulePath':I(0x18e),'isNamedExport':![]}),await g[I(0x195)]({'filePath':C,'importName':'Container','modulePath':I(0x173),'isNamedExport':![]}),await g[I(0x195)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x180):I(0x18d),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':[I(0x187)+z+'\x22>',I(0x187)+z+I(0x152)],'end':[I(0x172),I(0x182)]}),await g[I(0x195)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?'/imports/startup/lib/templates':I(0x18d),'isNamedExport':!![]}),await g[I(0x165)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x17d),'begin':[I(0x187)+z+'\x22>','<div\x20id=\x22'+z+I(0x152)],'end':['<Outlet/>',I(0x182)]}),await g['injectIntoFile']({'filePath':C,'content':'<'+pascalCase(k)+'\x20/>\x0a','begin':[I(0x172),'<Outlet\x20/>'],'end':[I(0x168)]}),await g[I(0x195)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x180):'/imports/startup/client/templates','isNamedExport':!![]}),await g[I(0x155)]({'filePath':C,'aboveContent':I(0x16c),'belowContent':I(0x164),'targetString':['<Outlet/>','<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x175)](D);}},async function(){console['log']('Cleaning\x20up...');},a131f);
1
+ const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=-parseInt(E(0x1e6))/0x1+-parseInt(E(0x1ea))/0x2+-parseInt(E(0x1f3))/0x3*(-parseInt(E(0x1c5))/0x4)+parseInt(E(0x1f6))/0x5*(-parseInt(E(0x200))/0x6)+parseInt(E(0x1d2))/0x7+-parseInt(E(0x204))/0x8+-parseInt(E(0x1cc))/0x9*(-parseInt(E(0x1ca))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x1a70a));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a131d;if(c){const e=c[F(0x1c3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const G=a131d;return a131a[G(0x1dd)]()['search']('(((.+)+)+)+$')[G(0x1dd)]()[G(0x1cf)](a131a)[G(0x1c2)](G(0x1d3));});a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a131e from'path';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1c1;let f=c[d];return f;},a131d(a,b);}function a131c(){const K=['force','log','\x20/>\x0a','imports','<Outlet/>','REACT','/imports/ui/','maka\x20g:k:m:f','151387zLtTGv','injectImport','<div\x20id=\x22','kit/mui/frame/footers/','306252PdyiFa','@mui/material/Container','/imports/startup/lib/templates','join','injectAroundString','injectTemplateModule','layouts','-hook\x22>','basic-drawer','6CupMus','appName','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','10SiGIWV','tests','Cleaning\x20up...','.js','template','Box','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','<Outlet\x20/>','error','jsx','74076PRPSep','injectIntoFile','getFiles','basic-sticky-footer','911152PsUrPz','pathFromApp','maka:react-tracker','search','apply','session','57140pYGUIW','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','</div>','test','dir','10lxnHEG','react','4146543iZJghY','@mui/material/Box','/imports/ui/components','constructor','baseDir','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','434700FtcgEV','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','getDirectories','<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>','No\x20layouts\x20selected','kit/mui/frame/drawers/','create','basic-app-bar','/imports/startup/client/templates','kit/mui/frame/app-bars/','toString'];a131c=function(){return K;};return a131c();}import a131f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131H(0x1d9)]({'name':'frame','aliases':['f'],'usage':a131H(0x1d4),'shortDesc':a131H(0x1d1),'validOpts':[a131H(0x1f0),'baseDir',a131H(0x1c9),a131H(0x1de)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a131H(0x1e3)]},'examples':['maka\x20generate:kit:mui:frame',a131H(0x1e5)],'description':a131H(0x1f5)},async function(a,b){const I=a131H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b['force']||![],i=I(0x1da),j=I(0x1f2),k=I(0x203),l=c['engines']['ssr']==='meteor';await f['checkMeteorPackage']([I(0x1c4),I(0x1c1)],{'shouldInstall':!![]});const m=d['findAppDirectory'](),n=a131e[I(0x1ed)](m,I(0x1e1),'ui',I(0x1f0)),o=d[I(0x1d5)](n),p=o['map'](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':I(0x1c6),'name':'layouts','choices':p});if(q['length']===0x0){Log[I(0x1fe)](I(0x1d7));return;}const r=b['baseDir']?I(0x1e4)+b[I(0x1d0)]:I(0x1ce),s=g[I(0x205)]({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g[I(0x205)]({'pathParts':[r,b['dir'],kebabCase(j),kebabCase(j)]}),u=g[I(0x205)]({'pathParts':[r,b[I(0x1c9)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x1f4)])};await g[I(0x1fa)]({'srcPath':I(0x1dc)+i+'.js','destPath':s+I(0x1f9),'framework':I(0x1cb),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x1fa)]({'srcPath':I(0x1d8)+j+I(0x1f9),'destPath':t+I(0x1f9),'framework':I(0x1cb),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x1fa)]({'srcPath':I(0x1e9)+k+I(0x1f9),'destPath':u+'.js','framework':I(0x1cb),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x1c9)]+'/'+i+'/'+i;await g[I(0x1ef)](i,c,w);const x=''+r+b[I(0x1c9)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b[I(0x1c9)]+'/'+k+'/'+k;await g['injectTemplateModule'](k,c,y);for(const z of q){const A=d[I(0x202)](a131e[I(0x1ed)](n,z),{'extensions':[I(0x1ff),'tsx'],'omit':['app-tests',I(0x1f7),I(0x1c8)]});for(const B of A){const C=a131e['join'](n,z,B);await g[I(0x1e7)]({'filePath':C,'importName':I(0x1fb),'modulePath':I(0x1cd),'isNamedExport':![]}),await g[I(0x1e7)]({'filePath':C,'importName':'Container','modulePath':I(0x1eb),'isNamedExport':![]}),await g[I(0x1e7)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0x1ec):'/imports/startup/client/templates','isNamedExport':!![]}),await g[I(0x201)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x1e0),'begin':[I(0x1e8)+z+'\x22>',I(0x1e8)+z+I(0x1f1)],'end':[I(0x1e2),I(0x1fd)]}),await g[I(0x1e7)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await g[I(0x201)]({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[I(0x1e8)+z+'\x22>',I(0x1e8)+z+I(0x1f1)],'end':[I(0x1e2),I(0x1fd)]}),await g[I(0x201)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x1e0),'begin':['<Outlet/>',I(0x1fd)],'end':[I(0x1c7)]}),await g[I(0x1e7)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0x1ec):I(0x1db),'isNamedExport':!![]}),await g[I(0x1ee)]({'filePath':C,'aboveContent':I(0x1d6),'belowContent':I(0x1fc),'targetString':[I(0x1e2),I(0x1fd)],'targetIndentAdjustment':0x6});}}}catch(D){Log['error'](D);}},async function(){const J=a131H;console[J(0x1df)](J(0x1f8));},a131f);
@@ -1 +1 @@
1
- const a132i=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d=parseInt(g(0x169))/0x1+-parseInt(g(0x15a))/0x2+parseInt(g(0x167))/0x3*(-parseInt(g(0x170))/0x4)+parseInt(g(0x178))/0x5*(-parseInt(g(0x168))/0x6)+parseInt(g(0x16c))/0x7+-parseInt(g(0x177))/0x8*(-parseInt(g(0x15b))/0x9)+parseInt(g(0x16a))/0xa*(parseInt(g(0x161))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x1ecf4));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 h=a132d;return a132a[h(0x15f)]()[h(0x176)](h(0x166))[h(0x15f)]()[h(0x16d)](a132a)[h(0x176)](h(0x166));});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x157;let f=c[d];return f;},a132d(a,b);}a132a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';function a132c(){const k=['Auth\x20workflow\x20(login,\x20logout,\x20etc.)','includes','maka\x20g:kit:m','getMakaProjectConfig','search','1495432HLKzJy','5tieGBw','exit','processAndRunGenerator','kitChoices','mui','findProjectDirectory','417530JUwuNj','9dzVCZL','No\x20MUI\x20kits\x20selected.\x20Exiting.','notice','frame','toString','kit:mui:frame','77ZGhsZa','Material-UI\x20Kit','Header,\x20Footer,\x20and\x20Drawer','checkbox','cfg','(((.+)+)+)+$','399UqqwgU','663486LMJDbF','101485xTjivK','116040IrzKhF','info','533162FysyUD','constructor','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','auth','8HzRCsy','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?'];a132c=function(){return k;};return a132c();}import a132f from'../kit.js';const MuiGen=Generator['create']({'name':a132i(0x158),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','resourceNameRequired':![],'shortDesc':a132i(0x162),'validOpts':[''],'isPro':!![],'examples':[a132i(0x174)]},async function(){const j=a132i;try{Log[j(0x16b)](j(0x16e)),Log[j(0x15d)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const a=await Actions[j(0x164)]({'message':j(0x171),'name':j(0x157),'choices':[{'name':j(0x163),'value':j(0x15e)},{'name':j(0x172),'value':j(0x16f)}]}),b=this['fsi'][j(0x159)](),c=this[j(0x165)][j(0x175)]();a['includes']('frame')&&await a132e[j(0x17a)](j(0x160),[],{'force':!![],'cwd':b,'config':c});a[j(0x173)](j(0x16f))&&await a132e[j(0x17a)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[j(0x16b)](j(0x15c));return;}}catch(d){Log['error'](d),process[j(0x179)](0x1);}},async function(){},a132f);export default MuiGen;
1
+ function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xb2;let f=c[d];return f;},a132d(a,b);}function a132c(){const l=['No\x20MUI\x20kits\x20selected.\x20Exiting.','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','toString','Header,\x20Footer,\x20and\x20Drawer','notice','mui','3375pYErZu','\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','fsi','processAndRunGenerator','frame','5610UzGhpI','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','error','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','12MWGDee','apply','maka\x20g:kit:m','73558LaTeUy','52596UwRvqk','1477zJeNkw','auth','(((.+)+)+)+$','exit','search','cfg','findProjectDirectory','length','991072eLiZSY','1428820RuIPYZ','Material-UI\x20Kit','checkbox','includes','create','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','constructor','5iNWHfW','3216XVeeKi','7097585BdBDrb','kitChoices'];a132c=function(){return l;};return a132c();}const a132j=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d=parseInt(g(0xc3))/0x1+-parseInt(g(0xc2))/0x2*(parseInt(g(0xbf))/0x3)+parseInt(g(0xcc))/0x4*(-parseInt(g(0xd4))/0x5)+parseInt(g(0xbb))/0x6*(parseInt(g(0xc4))/0x7)+-parseInt(g(0xd5))/0x8*(parseInt(g(0xb6))/0x9)+-parseInt(g(0xcd))/0xa+parseInt(g(0xd6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x32708));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a[i(0xb2)]()[i(0xc8)](i(0xc6))['toString']()[i(0xd3)](a132a)['search']('(((.+)+)+)+$');});a132a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a132e from'../../../generators/maka.gen.js';import a132f from'../kit.js';const MuiGen=Generator[a132j(0xd1)]({'name':a132j(0xb5),'aliases':['m'],'usage':a132j(0xd9),'resourceNameRequired':![],'shortDesc':a132j(0xce),'validOpts':[''],'isPro':!![],'examples':[a132j(0xc1)]},async function(){const k=a132j;try{Log['info'](k(0xbe)),Log[k(0xb4)](k(0xb7));const a=await Actions[k(0xcf)]({'message':k(0xbc),'name':k(0xd7),'choices':[{'name':k(0xb3),'value':'frame'},{'name':k(0xd2),'value':k(0xc5)}]}),b=this[k(0xb8)][k(0xca)](),c=this[k(0xc9)]['getMakaProjectConfig']();a[k(0xd0)](k(0xba))&&await a132e[k(0xb9)]('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[k(0xd0)](k(0xc5))&&await a132e[k(0xb9)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0xcb)]===0x0){Log['info'](k(0xd8));return;}}catch(d){Log[k(0xbd)](d),process[k(0xc7)](0x1);}},async function(){},a132f);export default MuiGen;