@maka/maka-cli 5.0.44 → 5.1.1

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 +30 -26
  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 +30 -26
@@ -1 +1 @@
1
- const a115n=a115d;(function(a,b){const k=a115d,c=a();while(!![]){try{const d=parseInt(k(0x172))/0x1*(-parseInt(k(0x18d))/0x2)+-parseInt(k(0x16d))/0x3*(parseInt(k(0x16e))/0x4)+parseInt(k(0x16a))/0x5*(-parseInt(k(0x18b))/0x6)+parseInt(k(0x195))/0x7*(parseInt(k(0x17b))/0x8)+parseInt(k(0x1a0))/0x9*(parseInt(k(0x169))/0xa)+parseInt(k(0x193))/0xb+parseInt(k(0x187))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x8e79a));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a115d;if(c){const e=c[l(0x19f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const m=a115d;return a115a['toString']()[m(0x175)]('(((.+)+)+)+$')[m(0x171)]()[m(0x176)](a115a)['search'](m(0x191));});a115a();import a115e from'path';import{camelCase,kebabCase,pascalCase}from'change-case';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x164;let f=c[d];return f;},a115d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a115n(0x167)];function a115c(){const p=['406lSAlAl','none','theme','test/test.js','findProjectDirectory','maka\x20g:comp\x20todos/todos-item','features','projectConfig','template/template.css','.js','apply','9vNjpET','withTranslations','setTemplate','root','ssr','comp','checkNpmPackage','259560LzxJOF','1706330QLGhPw','resourceName','import\x20\x27./','9ASyNxn','686412IcrcHo','fsi','dir','toString','5APokES','baseDir','injectTemplateModule','search','constructor','pkg','template','className','relative','64336iRcGJv','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','react','pathFromApp','create','fileName','css','cfg','graphql','.tests.js','test','cssCaseName','28014384WhbPEm','/imports/ui/components','ramda','engines','12LOmjcU','error','438270YwDZTI','/imports/ui/','string','injectAtBeginningOfFile','(((.+)+)+)+$','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','546370LGeaRL','scaffold'];a115c=function(){return p;};return a115c();}Generator[a115n(0x17f)]({'name':'component','aliases':aliases,'usage':a115n(0x192),'shortDesc':a115n(0x17c),'mustBeInMakaProject':!![],'validOpts':[{'name':a115n(0x173)}],'examples':[a115n(0x19a)]},async function(a,b){const o=a115n;try{const c=b['baseDir']?o(0x18e)+b[o(0x173)]:o(0x188),d=this['scaffold'][o(0x17e)]({'pathParts':[c,b[o(0x170)],kebabCase(b[o(0x16b)]),kebabCase(b['resourceName'])]}),f=this[o(0x19c)];typeof f[o(0x178)]['test']==='string'&&this[o(0x182)][o(0x164)]('test',f[o(0x178)]['test']);typeof f['template']['css']===o(0x18f)&&this[o(0x182)][o(0x164)](o(0x181),f['template']['css']);typeof f[o(0x178)]['js']===o(0x18f)&&this[o(0x182)][o(0x164)]('js',f[o(0x178)]['js']);await this['pkg'][o(0x168)](o(0x189),{'shouldInstall':!b[o(0x165)]}),await this[o(0x177)][o(0x168)]('react',{'shouldInstall':!b[o(0x165)]});const g={'name':pascalCase(b[o(0x16b)]),'myPath':a115e[o(0x17a)](this[o(0x16f)][o(0x199)](),d),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[o(0x16b)]),'camelCaseName':camelCase(b[o(0x16b)]),'fileName':kebabCase(b[o(0x16b)]),'graphql':f['engines'][o(0x183)],'features':f[o(0x19b)],'client':f[o(0x18a)]['client'],'api':f[o(0x18a)]['api'],'ssr':f[o(0x18a)][o(0x166)],'test':f[o(0x18a)][o(0x185)],'theme':f[o(0x18a)][o(0x197)],'isLayout':![],'isComponent':!![],'withTranslations':f['features'][o(0x1a1)]};await this[o(0x194)]['template']({'srcPath':'component/component.js','destPath':d+o(0x19e),'context':g,'framework':'react','config':f});f[o(0x18a)][o(0x185)]!==o(0x196)&&await this['scaffold'][o(0x178)]({'srcPath':o(0x198),'destPath':d+o(0x184),'context':g,'framework':o(0x17d),'config':f});f[o(0x178)][o(0x181)]&&(await this[o(0x194)][o(0x178)]({'srcPath':o(0x19d),'destPath':d+'.css','context':Object['assign']({},g,{'className':kebabCase(b['resourceName'])}),'config':f}),await this[o(0x194)][o(0x190)]({'filePath':d+'.'+f[o(0x18a)]['js'],'content':o(0x16c)+g[o(0x186)]+'.'+f[o(0x18a)]['css']+'\x27;'}));const h=b[o(0x170)]?'/'+b[o(0x170)]+'/':'/',i=''+c+h+g[o(0x180)]+'/'+g['fileName'];await this[o(0x194)][o(0x174)](g[o(0x179)],f,i);}catch(j){Log[o(0x18c)](j);}});
1
+ const a115n=a115d;(function(a,b){const k=a115d,c=a();while(!![]){try{const d=parseInt(k(0x181))/0x1+parseInt(k(0x176))/0x2*(parseInt(k(0x159))/0x3)+parseInt(k(0x15e))/0x4+-parseInt(k(0x175))/0x5+parseInt(k(0x15d))/0x6*(parseInt(k(0x17e))/0x7)+parseInt(k(0x177))/0x8+-parseInt(k(0x17d))/0x9*(parseInt(k(0x173))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xa79ce));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a115d;if(c){const e=c[l(0x163)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const m=a115d;return a115a['toString']()[m(0x16c)]('(((.+)+)+)+$')['toString']()['constructor'](a115a)[m(0x16c)]('(((.+)+)+)+$');});a115a();function a115c(){const p=['injectTemplateModule','scaffold','css','client','fileName','projectConfig','118323NePwuG','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','root','test/test.js','6zKTDLX','3799240vVCVOx','/imports/ui/','ramda','dir','template/template.css','apply','graphql','.css','.tests.js','checkNpmPackage','pathFromApp','template','string','import\x20\x27./','search','relative','resourceName','component/component.js','engines','cfg','baseDir','229390wuptlQ','error','2062660lXIeQv','2SPyUex','6905888wTAfIy','features','pkg','react','.js','setTemplate','882oQcblz','7076216lGNZBo','test','findProjectDirectory','483721dsZYfx'];a115c=function(){return p;};return a115c();}function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x155;let f=c[d];return f;},a115d(a,b);}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=['comp'];Generator['create']({'name':'component','aliases':aliases,'usage':a115n(0x15a),'shortDesc':'Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','mustBeInMakaProject':!![],'validOpts':[{'name':a115n(0x172)}],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const o=a115n;try{const c=b[o(0x172)]?o(0x15f)+b[o(0x172)]:'/imports/ui/components',d=this[o(0x183)][o(0x168)]({'pathParts':[c,b[o(0x161)],kebabCase(b[o(0x16e)]),kebabCase(b[o(0x16e)])]}),f=this[o(0x158)];typeof f[o(0x169)]['test']==='string'&&this[o(0x171)]['setTemplate'](o(0x17f),f['template'][o(0x17f)]);typeof f[o(0x169)][o(0x155)]===o(0x16a)&&this[o(0x171)]['setTemplate'](o(0x155),f[o(0x169)][o(0x155)]);typeof f[o(0x169)]['js']==='string'&&this['cfg'][o(0x17c)]('js',f[o(0x169)]['js']);await this[o(0x179)][o(0x167)](o(0x160),{'shouldInstall':!b[o(0x15b)]}),await this[o(0x179)]['checkNpmPackage'](o(0x17a),{'shouldInstall':!b[o(0x15b)]});const g={'name':pascalCase(b[o(0x16e)]),'myPath':a115e[o(0x16d)](this['fsi'][o(0x180)](),d),'cssCaseName':kebabCase(b[o(0x16e)]),'className':pascalCase(b[o(0x16e)]),'camelCaseName':camelCase(b[o(0x16e)]),'fileName':kebabCase(b['resourceName']),'graphql':f[o(0x170)][o(0x164)],'features':f[o(0x178)],'client':f[o(0x170)][o(0x156)],'api':f[o(0x170)]['api'],'ssr':f['engines']['ssr'],'test':f['engines'][o(0x17f)],'theme':f[o(0x170)]['theme'],'isLayout':![],'isComponent':!![],'withTranslations':f[o(0x178)]['withTranslations']};await this[o(0x183)][o(0x169)]({'srcPath':o(0x16f),'destPath':d+o(0x17b),'context':g,'framework':o(0x17a),'config':f});f[o(0x170)][o(0x17f)]!=='none'&&await this['scaffold']['template']({'srcPath':o(0x15c),'destPath':d+o(0x166),'context':g,'framework':o(0x17a),'config':f});f[o(0x169)][o(0x155)]&&(await this[o(0x183)]['template']({'srcPath':o(0x162),'destPath':d+o(0x165),'context':Object['assign']({},g,{'className':kebabCase(b[o(0x16e)])}),'config':f}),await this['scaffold']['injectAtBeginningOfFile']({'filePath':d+'.'+f[o(0x170)]['js'],'content':o(0x16b)+g['cssCaseName']+'.'+f[o(0x170)]['css']+'\x27;'}));const h=b[o(0x161)]?'/'+b[o(0x161)]+'/':'/',i=''+c+h+g[o(0x157)]+'/'+g['fileName'];await this[o(0x183)][o(0x182)](g['className'],f,i);}catch(j){Log[o(0x174)](j);}});
@@ -1 +1 @@
1
- const a116m=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=-parseInt(j(0x1f9))/0x1+-parseInt(j(0x1ff))/0x2*(parseInt(j(0x211))/0x3)+parseInt(j(0x20a))/0x4*(parseInt(j(0x201))/0x5)+parseInt(j(0x203))/0x6*(parseInt(j(0x1fb))/0x7)+parseInt(j(0x204))/0x8*(parseInt(j(0x210))/0x9)+parseInt(j(0x1f1))/0xa*(parseInt(j(0x20c))/0xb)+parseInt(j(0x1f6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xd8902));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a116d(a,b);}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0x20b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a['toString']()[l(0x206)]('(((.+)+)+)+$')['toString']()[l(0x208)](a116a)['search'](l(0x1f8));});a116a();function a116c(){const o=['4341070xyNHZv','error','fsi','create','pathFromProject','8235300mxGnvk','template','(((.+)+)+)+$','1400207fbXxtW','config/process.env','1208963nCEYwz','appName','Generate\x20configuration\x20settings.','isDocker','2xrClUx','resourceName','5906840KULwxg','development','12dWKOQH','1289928PFZSRF','local','search','projectConfig','constructor','ubuntu','4UmZarr','apply','22JvXuXO','scaffold','prod','settings.json','9IBqffx','2865801ZAvAxx','config','dev','config/pm2.config.js','production','maka\x20g:config\x20production','maka\x20{generate,\x20g}:{config}\x20<name>','config/settings.json'];a116c=function(){return o;};return a116c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a116m(0x1f4)]({'name':'config','usage':a116m(0x1ef),'shortDesc':a116m(0x1fd),'validOpts':['isDocker'],'mustBeInMakaProject':!![],'examples':[a116m(0x216)]},async function(a,b){const n=a116m;try{const c=this[n(0x207)],d={'app':c[n(0x1fc)],'appFileCase':kebabCase(c[n(0x1fc)]),'name':pascalCase(b['resourceName']),'fileName':kebabCase(b[n(0x200)]),'camelCase':camelCase(b[n(0x200)]),'userName':n(0x209),'isDocker':b[n(0x1fe)]};let e=b[n(0x200)];if(e===n(0x213))e=n(0x202);else e===n(0x20e)&&(e=n(0x215));const f=this[n(0x1f3)]['pathFromProject']({'pathParts':[n(0x212),e,n(0x20f)]});await this[n(0x20d)][n(0x1f7)]({'srcPath':n(0x1f0),'destPath':f,'context':d,'config':c});if(e!==n(0x205)){const g=this[n(0x1f3)][n(0x1f5)]({'pathParts':[n(0x212),e,'pm2.config.js']});await this[n(0x20d)][n(0x1f7)]({'srcPath':n(0x214),'destPath':g,'context':{'app':c['appName'],'isDocker':b[n(0x1fe)]||![]},'config':c});}if(e===n(0x205)){const h=this[n(0x1f3)][n(0x1f5)]({'pathParts':[n(0x212),e,'process.env']});await this[n(0x20d)][n(0x1f7)]({'srcPath':n(0x1fa),'destPath':h,'context':d,'config':c});}}catch(i){Log[n(0x1f2)](i);}});
1
+ const a116m=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=-parseInt(j(0x149))/0x1*(-parseInt(j(0x166))/0x2)+-parseInt(j(0x15f))/0x3+parseInt(j(0x153))/0x4*(parseInt(j(0x15d))/0x5)+-parseInt(j(0x152))/0x6+parseInt(j(0x15c))/0x7+parseInt(j(0x163))/0x8*(-parseInt(j(0x14c))/0x9)+parseInt(j(0x155))/0xa*(-parseInt(j(0x161))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xb500f));function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x142;let f=c[d];return f;},a116d(a,b);}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0x14b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a[l(0x15b)]()[l(0x150)]('(((.+)+)+)+$')[l(0x15b)]()[l(0x143)](a116a)[l(0x150)]('(((.+)+)+)+$');});a116a();function a116c(){const o=['6220515WBdyen','5yjbzdA','pathFromProject','329115fiCbLT','scaffold','451DZiqBp','prod','8psdgbn','config/settings.json','local','630822dBNBPf','error','constructor','config/process.env','process.env','settings.json','isDocker','appName','2tDDmup','Generate\x20configuration\x20settings.','apply','8839971jdMKQZ','maka\x20g:config\x20production','projectConfig','config','search','fsi','1968654FvcwlG','3979212Duvxbb','pm2.config.js','86060uuwFdb','resourceName','ubuntu','config/pm2.config.js','template','maka\x20{generate,\x20g}:{config}\x20<name>','toString'];a116c=function(){return o;};return a116c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':a116m(0x14f),'usage':a116m(0x15a),'shortDesc':a116m(0x14a),'validOpts':[a116m(0x147)],'mustBeInMakaProject':!![],'examples':[a116m(0x14d)]},async function(a,b){const n=a116m;try{const c=this[n(0x14e)],d={'app':c['appName'],'appFileCase':kebabCase(c[n(0x148)]),'name':pascalCase(b['resourceName']),'fileName':kebabCase(b[n(0x156)]),'camelCase':camelCase(b['resourceName']),'userName':n(0x157),'isDocker':b[n(0x147)]};let e=b[n(0x156)];if(e==='dev')e='development';else e===n(0x162)&&(e='production');const f=this[n(0x151)][n(0x15e)]({'pathParts':['config',e,n(0x146)]});await this[n(0x160)][n(0x159)]({'srcPath':n(0x164),'destPath':f,'context':d,'config':c});if(e!==n(0x165)){const g=this[n(0x151)]['pathFromProject']({'pathParts':[n(0x14f),e,n(0x154)]});await this['scaffold'][n(0x159)]({'srcPath':n(0x158),'destPath':g,'context':{'app':c[n(0x148)],'isDocker':b[n(0x147)]||![]},'config':c});}if(e===n(0x165)){const h=this[n(0x151)][n(0x15e)]({'pathParts':[n(0x14f),e,n(0x145)]});await this[n(0x160)][n(0x159)]({'srcPath':n(0x144),'destPath':h,'context':d,'config':c});}}catch(i){Log[n(0x142)](i);}});
@@ -1 +1 @@
1
- const a117n=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d=-parseInt(k(0xf3))/0x1+parseInt(k(0xe5))/0x2+-parseInt(k(0x103))/0x3+parseInt(k(0xf5))/0x4*(-parseInt(k(0xdd))/0x5)+parseInt(k(0xf8))/0x6*(-parseInt(k(0xe6))/0x7)+-parseInt(k(0xe2))/0x8+parseInt(k(0xf0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xec11e));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a117d;if(c){const e=c[l(0xe7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a['toString']()[m(0xe8)](m(0xf6))[m(0xd6)]()[m(0xf1)](a117a)[m(0xe8)](m(0xf6));});a117a();function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xd6;let f=c[d];return f;},a117d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117c(){const p=['18597960NmibWh','constructor','pathFromApp','793535LbCXWl','maka\x20g:dbc\x20geoserver\x20--type=pgsql','22504GDxlzv','(((.+)+)+)+$','index.','6VPZwyW','-dbc.','mssql','scaffold','injectAtEndOfFile','import\x20\x27./register-','imports','startup','dbc/config.js','checkNpmPackage','create','5329902ENSUlo','toString','engines','type','maka\x20g:dbc\x20azure\x20--type=mssql','pkg','conn.','template','10SBTTcX','register-','server','resourceName','config.','989416QdSBua','dbc','better-sqlite3','3453738eQBiHk','848883LPKEOS','apply','search','sqlite','dbc/register-dbc.js','-dbc\x27;','pgsql','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','dir','projectConfig'];a117c=function(){return p;};return a117c();}Generator[a117n(0x102)]({'name':a117n(0xe3),'usage':a117n(0xed),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a117n(0xee)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a117n(0xec),a117n(0xfa),a117n(0xe9)]}],'examples':[a117n(0xf4),a117n(0xd9),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const o=a117n;try{const c=this[o(0xef)],d=kebabCase(b['resourceName']),f={'name':pascalCase(b[o(0xe0)]),'fileName':kebabCase(b[o(0xe0)]),'camelCase':camelCase(b[o(0xe0)]),'type':b[o(0xd8)],'engine':c[o(0xd7)]['js'],'noRename':!![]},g=b[o(0xee)]?'/'+b[o(0xee)]+'/':'/';let h='js';c['engines']['js']==='tsx'&&(h='ts');b['type']==='pgsql'&&await this[o(0xda)][o(0x101)]('pg',{'shouldInstall':!![]});b[o(0xd8)]===o(0xfa)&&await this[o(0xda)][o(0x101)](o(0xfa),{'shouldInstall':!![]});b[o(0xd8)]==='sqlite'&&await this[o(0xda)][o(0x101)](o(0xe4),{'shouldInstall':!![]});await this[o(0xfb)][o(0xdc)]({'srcPath':o(0x100),'destPath':this['scaffold']['pathFromApp']({'pathParts':[o(0xfe),o(0xff),'server',o(0xe3),g,d,o(0xe1)+h]}),'context':f,'config':c}),await this['scaffold'][o(0xdc)]({'srcPath':'dbc/conn.js','destPath':this[o(0xfb)][o(0xf2)]({'pathParts':['imports',o(0xff),'server',o(0xe3),g,d,o(0xdb)+h]}),'context':f,'config':c}),await this[o(0xfb)][o(0xdc)]({'srcPath':o(0xea),'destPath':this[o(0xfb)][o(0xf2)]({'pathParts':[o(0xfe),'startup',o(0xdf),o(0xde)+d+o(0xf9)+h]}),'context':f,'config':c});const i=this[o(0xfb)][o(0xf2)]({'pathParts':[o(0xfe),o(0xff),o(0xdf),o(0xf7)+c[o(0xd7)]['js']]});await this[o(0xfb)][o(0xfc)]({'filePath':i,'content':o(0xfd)+d+o(0xeb)});}catch(j){Log['error'](j);}});
1
+ function a117c(){const o=['54PcpXqN','startup','import\x20\x27./register-','imports','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','maka\x20g:dbc\x20geoserver\x20--type=pgsql','1229805UhPVTs','resourceName','scaffold','186922MQTFPT','server','sqlite','8TsNqxb','pgsql','-dbc.','template','pathFromApp','dbc/register-dbc.js','dir','toString','tsx','2155520EkqJRz','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','index.','111377TXvswt','9925641QQjyjh','pkg','better-sqlite3','-dbc\x27;','type','mssql','933397CHCQUq','checkNpmPackage','dbc','config.','dbc/config.js','maka\x20g:dbc\x20todos\x20--type=sqlite','search','engines','2782335ttfiEU','(((.+)+)+)+$','create'];a117c=function(){return o;};return a117c();}const a117m=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x82;let f=c[d];return f;},a117d(a,b);}(function(a,b){const k=a117d,c=a();while(!![]){try{const d=parseInt(k(0xaa))/0x1+parseInt(k(0x94))/0x2+-parseInt(k(0x91))/0x3+-parseInt(k(0xa0))/0x4+-parseInt(k(0x88))/0x5+-parseInt(k(0x8b))/0x6*(-parseInt(k(0xa3))/0x7)+parseInt(k(0x97))/0x8*(parseInt(k(0xa4))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xbb688));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const l=a117d;return a117a[l(0x9e)]()['search']('(((.+)+)+)+$')[l(0x9e)]()['constructor'](a117a)[l(0x86)](l(0x89));});a117a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a117m(0x8a)]({'name':a117m(0x82),'usage':a117m(0x8f),'shortDesc':a117m(0xa1),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a117m(0xa8),'values':[a117m(0x98),'mssql',a117m(0x96)]}],'examples':[a117m(0x90),'maka\x20g:dbc\x20azure\x20--type=mssql',a117m(0x85)]},async function(a,b){const n=a117m;try{const c=this['projectConfig'],d=kebabCase(b[n(0x92)]),f={'name':pascalCase(b[n(0x92)]),'fileName':kebabCase(b['resourceName']),'camelCase':camelCase(b[n(0x92)]),'type':b[n(0xa8)],'engine':c['engines']['js'],'noRename':!![]},g=b[n(0x9d)]?'/'+b[n(0x9d)]+'/':'/';let h='js';c[n(0x87)]['js']===n(0x9f)&&(h='ts');b['type']==='pgsql'&&await this[n(0xa5)][n(0xab)]('pg',{'shouldInstall':!![]});b[n(0xa8)]===n(0xa9)&&await this[n(0xa5)]['checkNpmPackage'](n(0xa9),{'shouldInstall':!![]});b[n(0xa8)]==='sqlite'&&await this[n(0xa5)]['checkNpmPackage'](n(0xa6),{'shouldInstall':!![]});await this[n(0x93)]['template']({'srcPath':n(0x84),'destPath':this[n(0x93)][n(0x9b)]({'pathParts':[n(0x8e),'startup','server',n(0x82),g,d,n(0x83)+h]}),'context':f,'config':c}),await this['scaffold'][n(0x9a)]({'srcPath':'dbc/conn.js','destPath':this['scaffold'][n(0x9b)]({'pathParts':[n(0x8e),n(0x8c),n(0x95),n(0x82),g,d,'conn.'+h]}),'context':f,'config':c}),await this[n(0x93)]['template']({'srcPath':n(0x9c),'destPath':this[n(0x93)][n(0x9b)]({'pathParts':['imports',n(0x8c),n(0x95),'register-'+d+n(0x99)+h]}),'context':f,'config':c});const i=this[n(0x93)][n(0x9b)]({'pathParts':[n(0x8e),'startup',n(0x95),n(0xa2)+c[n(0x87)]['js']]});await this[n(0x93)]['injectAtEndOfFile']({'filePath':i,'content':n(0x8d)+d+n(0xa7)});}catch(j){Log['error'](j);}});
@@ -1 +1 @@
1
- function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x173;let f=c[d];return f;},a118d(a,b);}const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(0x195))/0x1+-parseInt(i(0x174))/0x2*(parseInt(i(0x173))/0x3)+parseInt(i(0x18b))/0x4*(-parseInt(i(0x179))/0x5)+parseInt(i(0x17f))/0x6*(parseInt(i(0x18c))/0x7)+parseInt(i(0x193))/0x8*(parseInt(i(0x17e))/0x9)+-parseInt(i(0x177))/0xa+parseInt(i(0x192))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x458c2));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0x182)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a['toString']()[k(0x18d)](k(0x194))['toString']()[k(0x181)](a118a)[k(0x18d)](k(0x194));});function a118c(){const n=['template','maka\x20{generate,\x20g}:dockerfile','16623673VNBhTu','1408312GxqpJG','(((.+)+)+)+$','49104ZuhIKC','3sQmeFo','1103066henogW','build','cfg','3512400hrsadr','service','369320fGGJlJ','appName','fsi','scaffold','join','9DYeoBr','6xFFoBC','findProjectDirectory','constructor','apply','cert','dockerfile','error','app','isFile','Generate\x20an\x20updated\x20dockerfile','app.tar.gz','force','28YRHXhU','465563tkbwYG','search','getGlobalConfig','create'];a118c=function(){return n;};return a118c();}a118a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a118e from'path';Generator[a118l(0x18f)]({'name':a118l(0x184),'usage':a118l(0x191),'shortDesc':a118l(0x188),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0x18a),'boolFlag':!![]}],'examples':['maka\x20g:dockerfile']},async function(a,b){const m=a118l;try{const c=this[m(0x176)]['getMakaProjectConfig'](),d=await this['cfg'][m(0x18e)](),f=this['fsi'][m(0x180)](),g={'app':c[m(0x17a)],'config':c,'appPath':a118e[m(0x17d)](f,m(0x186)),'bundlePath':a118e[m(0x17d)](f,m(0x175),m(0x189)),'useCert':d[m(0x183)]?this[m(0x17b)][m(0x187)](d[m(0x183)]):![]};await this[m(0x17c)][m(0x190)]({'srcPath':'docker/Dockerfile','destPath':a118e[m(0x17d)](f,'Dockerfile'),'framework':m(0x178),'context':g,'config':c,'force':b[m(0x18a)]});}catch(h){Log[m(0x185)](h);}});
1
+ const a118l=a118d;(function(a,b){const i=a118d,c=a();while(!![]){try{const d=-parseInt(i(0x1a4))/0x1+-parseInt(i(0x1ae))/0x2*(-parseInt(i(0x1a1))/0x3)+parseInt(i(0x1a7))/0x4*(-parseInt(i(0x1a0))/0x5)+parseInt(i(0x1a9))/0x6+parseInt(i(0x1ad))/0x7*(parseInt(i(0x1b3))/0x8)+parseInt(i(0x19d))/0x9*(-parseInt(i(0x1b0))/0xa)+parseInt(i(0x1a8))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x19d44));function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x197;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(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a['toString']()[k(0x197)](k(0x1ac))[k(0x198)]()['constructor'](a118a)[k(0x197)](k(0x1ac));});a118a();function a118c(){const n=['Generate\x20an\x20updated\x20dockerfile','docker/Dockerfile','2988ZGUFdP','template','cert','36130RTcMSM','10023ENJXnx','app','error','129197tZXlCk','force','isFile','68pRVRdM','1548118pCAIJh','1142370SWzgTB','build','apply','(((.+)+)+)+$','264551XbQjmU','82epOtpC','maka\x20{generate,\x20g}:dockerfile','4460SLomjh','Dockerfile','dockerfile','8jZuxrf','maka\x20g:dockerfile','fsi','cfg','app.tar.gz','search','toString','getGlobalConfig','appName'];a118c=function(){return n;};return a118c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a118e from'path';Generator['create']({'name':a118l(0x1b2),'usage':a118l(0x1af),'shortDesc':a118l(0x19b),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0x1a5),'boolFlag':!![]}],'examples':[a118l(0x1b4)]},async function(a,b){const m=a118l;try{const c=this[m(0x1b6)]['getMakaProjectConfig'](),d=await this[m(0x1b6)][m(0x199)](),f=this[m(0x1b5)]['findProjectDirectory'](),g={'app':c[m(0x19a)],'config':c,'appPath':a118e['join'](f,m(0x1a2)),'bundlePath':a118e['join'](f,m(0x1aa),m(0x1b7)),'useCert':d[m(0x19f)]?this[m(0x1b5)][m(0x1a6)](d[m(0x19f)]):![]};await this['scaffold'][m(0x19e)]({'srcPath':m(0x19c),'destPath':a118e['join'](f,m(0x1b1)),'framework':'service','context':g,'config':c,'force':b['force']});}catch(h){Log[m(0x1a3)](h);}});
@@ -1 +1 @@
1
- const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=parseInt(l(0xfc))/0x1+parseInt(l(0x100))/0x2+-parseInt(l(0xee))/0x3*(parseInt(l(0xe0))/0x4)+parseInt(l(0xfe))/0x5+-parseInt(l(0xf0))/0x6+-parseInt(l(0xf1))/0x7+parseInt(l(0xc0))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xed784));function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0xc0;let f=c[d];return f;},a119d(a,b);}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a['toString']()[n(0xea)](n(0xd4))[n(0xd5)]()[n(0xf3)](a119a)[n(0xea)](n(0xd4));});a119a();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(0xd7)]({'name':a119o(0xfa),'aliases':['h'],'checkWhere':![],'usage':a119o(0xe7),'shortDesc':a119o(0xd0),'mustBeInMakaProject':!![],'validOpts':[{'name':a119o(0xc3),'values':[a119o(0xc1),a119o(0xe6),a119o(0xc8),a119o(0xc6)]},{'name':'force','boolFlag':!![]}],'examples':[a119o(0xe5)],'description':a119o(0xc4)},async function(a,b){const p=a119o;Log[p(0xc7)](p(0xcf)+b[p(0xcb)]+p(0xfb));try{await this[p(0xe3)][p(0xff)](p(0xe1),{'shouldInstall':!![]});const c=this[p(0xdf)][p(0xf5)](),d=b[p(0xc3)]?'/imports/ui/'+b[p(0xc3)]:p(0xd9),f=this['scaffold'][p(0xcc)]({'pathParts':[d,b[p(0xf8)],kebabCase(b['resourceName']),kebabCase(b['resourceName'])]}),g=this[p(0xe4)];typeof g[p(0xd2)]['css']==='string'&&this[p(0xd3)]['setTemplate'](p(0xc9),g[p(0xd2)][p(0xc9)]);g[p(0xe9)][p(0xcd)]==='apollo'&&!this['pkg'][p(0xff)](p(0xf9))&&(Log[p(0xfd)](p(0xca)),await this[p(0xe3)][p(0xd8)](p(0xec),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0xcb)]),'camelCaseName':camelCase(b[p(0xcb)]),'className':pascalCase(b[p(0xcb)]),'name':pascalCase(b['resourceName']),'graphql':g[p(0xe9)][p(0xcd)],'theme':g[p(0xe9)][p(0xd6)],'test':g['engines']['test'],'features':g[p(0xf4)],'myPath':a119e[p(0xeb)](this[p(0xdf)][p(0xe8)](),f),'fileName':kebabCase(b[p(0xcb)]),'isComponent':![],'isLayout':![],'withTranslations':g['features'][p(0xf6)]};await this[p(0xdb)]['template']({'srcPath':p(0xed),'destPath':f+'.js','context':h,'config':g,'framework':p(0xe1),'force':b[p(0xdc)]});g[p(0xd2)][p(0xc9)]&&(await this[p(0xdb)][p(0xd2)]({'srcPath':'template/template.css','destPath':f+p(0xd1),'context':Object[p(0xe2)]({},h,{'className':h[p(0xc5)]}),'config':g,'force':b['force']}),await this[p(0xdb)]['injectAtBeginningOfFile']({'filePath':f+'.'+g['engines']['js'],'content':'import\x20\x27./'+h[p(0xc2)]+'.'+g['engines']['css']+'\x27;'}));g[p(0xe9)][p(0xda)]!==p(0xce)&&await this[p(0xdb)][p(0xd2)]({'srcPath':p(0xef),'destPath':f+p(0xde),'framework':'react','context':h,'config':g,'force':b[p(0xdc)]});const i=b[p(0xf8)]?'/'+b[p(0xf8)]+'/':'/',j=''+d+i+h['fileName']+'/'+h['fileName'];await this[p(0xdb)][p(0xf2)](h[p(0xdd)],g,j);}catch(k){Log['error'](k);}});function a119c(){const q=['notice','pages','css','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','resourceName','pathFromApp','graphql','none','Creating\x20','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','.css','template','cfg','(((.+)+)+)+$','toString','theme','create','installNpmPackage','/imports/ui/components','test','scaffold','force','className','.app-tests.js','fsi','699452pCUiJZ','react','assign','pkg','projectConfig','maka\x20g:hook\x20cool-hook','components','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','findProjectDirectory','engines','search','relative','@apollo/client\x20isomorphic-fetch','hook/hook.js','3PkvXpv','test/test.js','3294738hgzshL','13454350frjYqw','injectTemplateModule','constructor','features','findAppDirectory','withTranslations','apply','dir','@apollo/client','hook','\x20hook...','646361wCiwuL','warn','5393655IKlrME','checkNpmPackage','2340952PyDymG','5785152yEMbno','hooks','fileName','baseDir','\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','cssCaseName','layouts'];a119c=function(){return q;};return a119c();}
1
+ const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=-parseInt(l(0x20a))/0x1*(-parseInt(l(0x1f0))/0x2)+parseInt(l(0x22b))/0x3+-parseInt(l(0x21b))/0x4*(-parseInt(l(0x1f4))/0x5)+-parseInt(l(0x1f8))/0x6+-parseInt(l(0x20d))/0x7+parseInt(l(0x228))/0x8*(parseInt(l(0x225))/0x9)+-parseInt(l(0x1ee))/0xa*(parseInt(l(0x1fd))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x801d9));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0x22a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a[n(0x1f1)]()[n(0x222)](n(0x213))['toString']()[n(0x214)](a119a)[n(0x222)](n(0x213));});a119a();import a119e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a119c(){const q=['.css','template','theme','11XGYnOl','features','findAppDirectory','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','maka\x20g:hook\x20cool-hook','baseDir','scaffold','/imports/ui/components','components','findProjectDirectory','injectAtBeginningOfFile','pathFromApp','import\x20\x27./','243353faqsCE','/imports/ui/','fsi','2738722ICOxBv','warn','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','react','layouts','template/template.css','(((.+)+)+)+$','constructor','\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','string','@apollo/client','className','apollo','972exlFYj','pkg','.app-tests.js','pages','assign','relative','notice','search','cssCaseName','test/test.js','9AceTfY','hook/hook.js','create','2624408fPvMOu','css','apply','1755036lpaqaa','projectConfig','force','graphql','.js','2713670uaukzO','withTranslations','4ekiYbH','toString','hooks','installNpmPackage','13785xxhQbz','engines','fileName','dir','5294076vDdqFx','checkNpmPackage'];a119c=function(){return q;};return a119c();}function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x1ee;let f=c[d];return f;},a119d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a119o(0x227)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a119o(0x20f),'mustBeInMakaProject':!![],'validOpts':[{'name':a119o(0x202),'values':[a119o(0x1f2),a119o(0x205),a119o(0x21e),a119o(0x211)]},{'name':a119o(0x22d),'boolFlag':!![]}],'examples':[a119o(0x201)],'description':a119o(0x215)},async function(a,b){const p=a119o;Log[p(0x221)]('Creating\x20'+b['resourceName']+'\x20hook...');try{await this[p(0x21c)]['checkNpmPackage'](p(0x210),{'shouldInstall':!![]});const c=this[p(0x20c)][p(0x1ff)](),d=b[p(0x202)]?p(0x20b)+b['baseDir']:p(0x204),f=this[p(0x203)][p(0x208)]({'pathParts':[d,b['dir'],kebabCase(b[p(0x216)]),kebabCase(b['resourceName'])]}),g=this[p(0x22c)];typeof g[p(0x1fb)][p(0x229)]===p(0x217)&&this['cfg']['setTemplate'](p(0x229),g[p(0x1fb)][p(0x229)]);g[p(0x1f5)][p(0x22e)]===p(0x21a)&&!this[p(0x21c)][p(0x1f9)](p(0x218))&&(Log[p(0x20e)](p(0x200)),await this[p(0x21c)][p(0x1f3)]('@apollo/client\x20isomorphic-fetch',{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x216)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0x216)]),'name':pascalCase(b[p(0x216)]),'graphql':g[p(0x1f5)][p(0x22e)],'theme':g[p(0x1f5)][p(0x1fc)],'test':g[p(0x1f5)]['test'],'features':g[p(0x1fe)],'myPath':a119e[p(0x220)](this[p(0x20c)][p(0x206)](),f),'fileName':kebabCase(b[p(0x216)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x1fe)][p(0x1ef)]};await this[p(0x203)][p(0x1fb)]({'srcPath':p(0x226),'destPath':f+p(0x22f),'context':h,'config':g,'framework':p(0x210),'force':b[p(0x22d)]});g[p(0x1fb)][p(0x229)]&&(await this[p(0x203)][p(0x1fb)]({'srcPath':p(0x212),'destPath':f+p(0x1fa),'context':Object[p(0x21f)]({},h,{'className':h[p(0x223)]}),'config':g,'force':b[p(0x22d)]}),await this['scaffold'][p(0x207)]({'filePath':f+'.'+g[p(0x1f5)]['js'],'content':p(0x209)+h[p(0x1f6)]+'.'+g[p(0x1f5)][p(0x229)]+'\x27;'}));g[p(0x1f5)]['test']!=='none'&&await this[p(0x203)][p(0x1fb)]({'srcPath':p(0x224),'destPath':f+p(0x21d),'framework':p(0x210),'context':h,'config':g,'force':b['force']});const i=b[p(0x1f7)]?'/'+b[p(0x1f7)]+'/':'/',j=''+d+i+h[p(0x1f6)]+'/'+h[p(0x1f6)];await this['scaffold']['injectTemplateModule'](h[p(0x219)],g,j);}catch(k){Log['error'](k);}});
@@ -1 +1 @@
1
- function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x12a;var f=c[d];return f;},a120d(a,b);}(function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(0x135))/0x1+-parseInt(f(0x12c))/0x2+parseInt(f(0x131))/0x3+-parseInt(f(0x138))/0x4*(-parseInt(f(0x133))/0x5)+parseInt(f(0x12d))/0x6*(-parseInt(f(0x134))/0x7)+-parseInt(f(0x12f))/0x8+parseInt(f(0x137))/0x9*(parseInt(f(0x12e))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x871fa));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0x132)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a['toString']()[h(0x130)](h(0x12a))[h(0x136)]()[h(0x12b)](a120a)['search'](h(0x12a));});a120a();import'./kit.js';function a120c(){var i=['1287454CMMLtb','853052vCHlNU','toString','261693GgHtgY','1288zDEdyd','(((.+)+)+)+$','constructor','1223670uKGaho','18YTppgq','290EemDQZ','6573704VjnPtx','search','867897ZtxeFL','apply','8590MBLodk'];a120c=function(){return i;};return a120c();}import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
1
+ (function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(0x14d))/0x1*(parseInt(f(0x151))/0x2)+-parseInt(f(0x14c))/0x3*(-parseInt(f(0x152))/0x4)+-parseInt(f(0x154))/0x5*(parseInt(f(0x155))/0x6)+-parseInt(f(0x150))/0x7*(-parseInt(f(0x157))/0x8)+-parseInt(f(0x156))/0x9*(-parseInt(f(0x14e))/0xa)+-parseInt(f(0x149))/0xb*(parseInt(f(0x159))/0xc)+-parseInt(f(0x14b))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x6fbe2));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a[h(0x158)]()['search'](h(0x14a))[h(0x158)]()[h(0x153)](a120a)[h(0x148)]('(((.+)+)+)+$');});a120a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a120c(){var i=['7820ITXGue','constructor','10PEAied','611526wGraVQ','9lzQDqL','872Xwbjie','toString','24LvJqzR','search','408903LNSRhZ','(((.+)+)+)+$','16175874iGbrJn','345RokjHF','15511DxWUyx','5034230QbUNXY','apply','25613kSjpVy','110uzrCms'];a120c=function(){return i;};return a120c();}function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x148;var f=c[d];return f;},a120d(a,b);}import'./auth/_index.js';
@@ -1 +1 @@
1
- function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0x75;var f=c[d];return f;},a121d(a,b);}(function(a,b){var f=a121d,c=a();while(!![]){try{var d=-parseInt(f(0x7e))/0x1+parseInt(f(0x80))/0x2+parseInt(f(0x7d))/0x3*(parseInt(f(0x7c))/0x4)+-parseInt(f(0x76))/0x5+-parseInt(f(0x75))/0x6*(-parseInt(f(0x82))/0x7)+-parseInt(f(0x7b))/0x8*(parseInt(f(0x81))/0x9)+-parseInt(f(0x77))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x70feb));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[g(0x79)]()[g(0x78)]('(((.+)+)+)+$')[g(0x79)]()[g(0x7a)](a121a)[g(0x78)](g(0x7f));});a121a();import'./auth.generator.js';import'./provider.auth.gen.js';function a121c(){var h=['32LYMYUh','142059DRrcfw','48565KZxZwk','(((.+)+)+)+$','1799270PGRtFT','9XilSiU','35ebSuWB','207642bZmspk','146360NlgSfp','6946640jsBfZP','search','toString','constructor','1729328khvhFu'];a121c=function(){return h;};return a121c();}import'./basic-meteor.auth.gen.js';
1
+ (function(a,b){var f=a121d,c=a();while(!![]){try{var d=-parseInt(f(0x138))/0x1*(-parseInt(f(0x13b))/0x2)+parseInt(f(0x136))/0x3*(parseInt(f(0x12f))/0x4)+parseInt(f(0x12d))/0x5+parseInt(f(0x12e))/0x6+parseInt(f(0x12c))/0x7*(-parseInt(f(0x137))/0x8)+-parseInt(f(0x13a))/0x9+-parseInt(f(0x130))/0xa*(parseInt(f(0x131))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xe3f4c));var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0x134)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a[h(0x139)]()[h(0x132)](h(0x135))[h(0x139)]()[h(0x133)](a121a)[h(0x132)](h(0x135));});function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0x12c;var f=c[d];return f;},a121d(a,b);}a121a();import'./auth.generator.js';import'./provider.auth.gen.js';function a121c(){var i=['2695dsQXIH','search','constructor','apply','(((.+)+)+)+$','5013213jyqBhC','8siaEeR','582423aZZpJi','toString','4983507PgRvho','2IhGypZ','6691895cinuRE','3563135StTXAn','6529020ZwjIKI','4KpPFTQ','65750uatlOt'];a121c=function(){return i;};return a121c();}import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a122i=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d=parseInt(f(0x202))/0x1*(-parseInt(f(0x1fa))/0x2)+parseInt(f(0x1f9))/0x3*(-parseInt(f(0x204))/0x4)+-parseInt(f(0x1ff))/0x5*(-parseInt(f(0x1f5))/0x6)+-parseInt(f(0x203))/0x7*(-parseInt(f(0x1f6))/0x8)+-parseInt(f(0x200))/0x9*(parseInt(f(0x1f8))/0xa)+-parseInt(f(0x201))/0xb*(parseInt(f(0x1f2))/0xc)+parseInt(f(0x1f0))/0xd*(parseInt(f(0x1f4))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x9608c));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a122d;if(c){const e=c[g(0x1fe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const h=a122d;return a122a['toString']()[h(0x1f1)](h(0x1f7))[h(0x1fd)]()['constructor'](a122a)[h(0x1f1)](h(0x1f7));});a122a();function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1ef;let f=c[d];return f;},a122d(a,b);}import{Generator}from'../../../generator.js';import a122e from'../kit.js';function a122c(){const k=['2385ngDJXU','99PfwjIR','1cnKRFj','2940385AZnvPB','369276uvJsxJ','auth','3068689oVXvXO','search','1297332GzwSDA','NIE','98moWEJQ','36468nmuJdv','16HckeiB','(((.+)+)+)+$','5420aHKIdP','33vQdUnW','366838kzOCpT','create','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','toString','apply','360PUcuuO'];a122c=function(){return k;};return a122c();}const AuthGen=Generator[a122i(0x1fb)]({'name':a122i(0x1ef),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':a122i(0x1fc)},async function(){const j=a122i;throw j(0x1f3);},async function(){},a122e);export default AuthGen;
1
+ const a122h=a122d;(function(a,b){const f=a122d,c=a();while(!![]){try{const d=parseInt(f(0xc3))/0x1+parseInt(f(0xb5))/0x2+parseInt(f(0xbc))/0x3+parseInt(f(0xb7))/0x4+-parseInt(f(0xbd))/0x5+parseInt(f(0xb6))/0x6*(-parseInt(f(0xb8))/0x7)+-parseInt(f(0xc2))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x3cc32));function a122c(){const j=['maka\x20g:kit:a','732056KRSPkb','40866RHHNqR','677008cTDFzW','35TqNnBc','NIE','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','1338405aTYnOF','1104715VuWVTR','create','constructor','search','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','6368440sBzZvU','318520QjwyCo','(((.+)+)+)+$'];a122c=function(){return j;};return a122c();}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['toString']()[g(0xc0)](g(0xc4))['toString']()[g(0xbf)](a122a)[g(0xc0)](g(0xc4));});a122a();function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xb4;let f=c[d];return f;},a122d(a,b);}import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122h(0xbe)]({'name':'auth','aliases':['a'],'usage':a122h(0xc1),'shortDesc':a122h(0xbb),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122h(0xb4)],'description':a122h(0xba)},async function(){const i=a122h;throw i(0xb9);},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(0x1c4))/0x1+parseInt(s(0x1ca))/0x2+-parseInt(s(0x1df))/0x3+parseInt(s(0x1c7))/0x4+-parseInt(s(0x1e1))/0x5*(-parseInt(s(0x1b4))/0x6)+-parseInt(s(0x1cd))/0x7*(parseInt(s(0x1d1))/0x8)+-parseInt(s(0x1ee))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xaded1));function a123c(){const x=['meteor','template','injectIntoFile','1380749DdzwXu','useEffect\x5c(','\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','18832sXyZYz','\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','const\x20sendForgotPasswordEmail','1763510kqAKYC','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','3696343tBcQAz','Meteor.publish','authentication-provider','(((.+)+)+)+$','8sykCmW','const\x20authenticateToken','const\x20deauthenticateUser','/imports/startup/lib','checkMeteorPackage','meteor/accounts-base','/imports/startup/server/publications/auth/roles.js','injectImport','meteor/meteor','\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','toString','\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','apply','imports','826881tqokSg','injectIntoCodeBlock','5aMmGWe','normalize','const\x20authenticateUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','authentication-service','error','server','publish','react','findProjectDirectory','Accounts','processAndRunGenerator','Meteor','16334460mVJLAP','const\x20registerNewUser','kit/auth/service/meteor-auth-service.js','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','force','create','ssr','REACT','pathFromApp','search','6382830lhBjvu','startup','exit','meteor/maka:react-tracker','findAppDirectory','auth/roles','engines','const\x20getUserAuthorizations','constructor','/imports/startup/lib/authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','.js','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20'];a123c=function(){return x;};return a123c();}const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0x1dd)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a[u(0x1db)]()[u(0x1b3)]('(((.+)+)+)+$')[u(0x1db)]()[u(0x1bc)](a123a)[u(0x1b3)](u(0x1d0));});a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1af;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[a123v(0x1af)]({'name':a123v(0x1c1),'aliases':['m'],'usage':a123v(0x1f1),'shortDesc':a123v(0x1cb),'validOpts':['force'],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123v(0x1b1)]},'description':a123v(0x1da)},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x1f2)]||![];await d[w(0x1d5)](['accounts-password'],{'shouldInstall':!![]});const i=c[w(0x1ea)](),j=c[w(0x1b8)](),k=g[w(0x1ba)][w(0x1b0)]===w(0x1c1);await a123g[w(0x1ec)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a123g[w(0x1ec)](w(0x1e8),[w(0x1b9)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e[w(0x1e2)](w(0x1d7)),m=k?w(0x1d4):'/imports/startup/client',n=f[w(0x1b2)]({'pathParts':[m,'','',w(0x1e5)]});await f[w(0x1c2)]({'srcPath':w(0x1f0),'destPath':n+w(0x1bf),'framework':w(0x1e9),'context':{},'config':g,'force':h,'ignore':![]});const o=f[w(0x1b2)]({'pathParts':[m,'','',w(0x1cf)]}),p=g[w(0x1ba)]['js'];await f['injectImport']({'filePath':o+'.'+p,'importName':'AuthService','modulePath':k?w(0x1bd):'/imports/startup/client/authentication-service','isNamedExport':![]}),await f['injectIntoCodeBlock']({'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(0x1e3),'replace':!![]}),await f[w(0x1e0)]({'filePath':o+'.'+p,'content':w(0x1dc),'begin':w(0x1d2),'replace':!![]}),await f[w(0x1e0)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':w(0x1bb),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x1be),'begin':w(0x1d3),'replace':!![]}),await f[w(0x1e0)]({'filePath':o+'.'+p,'content':w(0x1c0),'begin':w(0x1c9),'replace':!![]}),await f[w(0x1e0)]({'filePath':o+'.'+p,'content':w(0x1cc),'begin':w(0x1ef),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':w(0x1e4),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f['injectImport']({'filePath':o+'.'+p,'importName':'useTracker','modulePath':w(0x1b7),'isNamedExport':!![]}),await f[w(0x1c3)]({'filePath':o+'.'+p,'content':w(0x1c6),'begin':'export\x20const\x20AuthProvider','end':w(0x1c5)}));await f[w(0x1d8)]({'filePath':l,'importName':w(0x1ed),'modulePath':w(0x1d9),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0x1e0)]({'filePath':l,'content':w(0x1c8),'begin':w(0x1ce),'replace':!![]});const q=f[w(0x1b2)]({'pathParts':[w(0x1de),w(0x1b5),w(0x1e7),'index']});await f[w(0x1d8)]({'filePath':q+'.'+p,'importName':w(0x1eb),'modulePath':w(0x1d6),'isNamedExport':!![]}),await f[w(0x1e0)]({'filePath':q+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':'Meteor.startup','replace':!![]});}catch(r){Log[w(0x1e6)](r),process[w(0x1b6)](0x1);}},async function(){},a123f);
1
+ const a123v=a123d;function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xda;let f=c[d];return f;},a123d(a,b);}(function(a,b){const s=a123d,c=a();while(!![]){try{const d=-parseInt(s(0xe4))/0x1+parseInt(s(0x118))/0x2*(parseInt(s(0x113))/0x3)+-parseInt(s(0xe8))/0x4*(parseInt(s(0xe3))/0x5)+-parseInt(s(0xf6))/0x6*(parseInt(s(0xe7))/0x7)+parseInt(s(0x102))/0x8*(parseInt(s(0x10d))/0x9)+parseInt(s(0xf1))/0xa*(-parseInt(s(0xe9))/0xb)+-parseInt(s(0xeb))/0xc*(-parseInt(s(0xdb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xc9752));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a123d;if(c){const e=c[t(0x104)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const u=a123d;return a123a['toString']()['search'](u(0x106))[u(0xf4)]()['constructor'](a123a)[u(0xdf)](u(0x106));});a123a();import a123e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';function a123c(){const x=['\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','useTracker','create','const\x20authenticateToken','authentication-service','/imports/startup/client/authentication-service','meteor/maka:react-tracker','112MgXsbw','meteor/meteor','apply','Meteor.publish','(((.+)+)+)+$','injectIntoFile','pathFromApp','\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','.js','Meteor','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','321795dRsYsG','\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','/imports/startup/lib','accounts-password','useEffect\x5c(','AuthService','822CXbTAO','REACT','findProjectDirectory','server','force','6274JIcOvP','/imports/startup/server/publications/auth/roles.js','ssr','26nQYnNf','const\x20authenticateUser','publish','processAndRunGenerator','search','/imports/startup/client','Meteor.startup','template','685uYIfRA','686203EbbbDr','Accounts','findAppDirectory','7gbbQIS','4860uoAdHT','242EjebjV','injectIntoCodeBlock','18698556PChZLO','\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','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\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','startup','meteor','564340sWEVnq','\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','react','toString','\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','9342948aBjhFp','index','const\x20deauthenticateUser','exit','injectImport'];a123c=function(){return x;};return a123c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123v(0xfd)]({'name':a123v(0xf0),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a123v(0x10c),'validOpts':[a123v(0x117)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123v(0x114)]},'description':a123v(0xec)},async function(a,b){const w=a123v,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[w(0x117)]||![];await d['checkMeteorPackage']([w(0x110)],{'shouldInstall':!![]});const i=c[w(0x115)](),j=c[w(0xe6)](),k=g['engines'][w(0xda)]===w(0xf0);await a123g['processAndRunGenerator']('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a123g[w(0xde)](w(0xdd),['auth/roles'],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e['normalize'](w(0x119)),m=k?w(0x10f):w(0xe0),n=f['pathFromApp']({'pathParts':[m,'','',w(0xff)]});await f[w(0xe2)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':n+w(0x10a),'framework':w(0xf3),'context':{},'config':g,'force':h,'ignore':![]});const o=f['pathFromApp']({'pathParts':[m,'','','authentication-provider']}),p=g['engines']['js'];await f[w(0xfa)]({'filePath':o+'.'+p,'importName':w(0x112),'modulePath':k?'/imports/startup/lib/authentication-service':w(0x100),'isNamedExport':![]}),await f[w(0xea)]({'filePath':o+'.'+p,'content':w(0xf2),'begin':w(0xdc),'replace':!![]}),await f[w(0xea)]({'filePath':o+'.'+p,'content':w(0x10e),'begin':w(0xfe),'replace':!![]}),await f[w(0xea)]({'filePath':o+'.'+p,'content':w(0xf5),'begin':'const\x20getUserAuthorizations','replace':!![]}),await f[w(0xea)]({'filePath':o+'.'+p,'content':w(0xed),'begin':w(0xf8),'replace':!![]}),await f[w(0xea)]({'filePath':o+'.'+p,'content':w(0xee),'begin':'const\x20sendForgotPasswordEmail','replace':!![]}),await f[w(0xea)]({'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':'const\x20registerNewUser','replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f[w(0xfa)]({'filePath':o+'.'+p,'importName':w(0xfc),'modulePath':w(0x101),'isNamedExport':!![]}),await f[w(0x107)]({'filePath':o+'.'+p,'content':w(0xfb),'begin':'export\x20const\x20AuthProvider','end':w(0x111)}));await f[w(0xfa)]({'filePath':l,'importName':w(0x10b),'modulePath':w(0x103),'isNamedExport':!![],'injectAtStart':!![]}),await f[w(0xea)]({'filePath':l,'content':w(0x109),'begin':w(0x105),'replace':!![]});const q=f[w(0x108)]({'pathParts':['imports',w(0xef),w(0x116),w(0xf7)]});await f['injectImport']({'filePath':q+'.'+p,'importName':w(0xe5),'modulePath':'meteor/accounts-base','isNamedExport':!![]}),await f['injectIntoCodeBlock']({'filePath':q+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':w(0xe1),'replace':!![]});}catch(r){Log['error'](r),process[w(0xf9)](0x1);}},async function(){},a123f);
@@ -1 +1 @@
1
- const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x9b))/0x1+parseInt(u(0x85))/0x2*(-parseInt(u(0x6b))/0x3)+parseInt(u(0x6d))/0x4*(-parseInt(u(0x74))/0x5)+parseInt(u(0x6e))/0x6*(parseInt(u(0x94))/0x7)+-parseInt(u(0x81))/0x8*(parseInt(u(0x83))/0x9)+parseInt(u(0x9e))/0xa+parseInt(u(0x7f))/0xb*(parseInt(u(0x92))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x5fd18));function a124c(){const z=['<AppRoutes\x20history={history}/>','40cpakyi','558906zmrkET','(((.+)+)+)+$','exit','const\x20PrivateRoute','react','/imports/startup/client/index','18810QTSUdK','constructor','REACT','function\x20useAuth','pathFromApp','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','<AppRoutes\x20/>','scaffold','/imports/startup/lib','search','2563KkEwss','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','16SkeELj','AuthProvider','205767uBfeaV','<AuthProvider>','32PKfdHN','AuthContext','split','\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','engines','/imports/startup/server/index','/routes','provider','injectAroundString','useContext','force','apply','injectImport','23412xUIwTE','toString','7jchrVA','appName','create','authentication-provider','/imports/startup/client/authentication-provider','/imports/startup/lib/authentication-provider','ssr','766747GInrzS','</AuthProvider>','bright','7250870IXQEuJ','error','5673wGYgma'];a124c=function(){return z;};return a124c();}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0x93)]()[w(0x7e)](w(0x6f))['toString']()[w(0x75)](a124a)['search'](w(0x6f));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x6b;let f=c[d];return f;},a124d(a,b);}import a124e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124x(0x96)]({'name':a124x(0x8c),'aliases':['p'],'usage':a124x(0x80),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a124x(0x8f)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x76)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const y=a124x;try{const c=b[y(0x8f)]||![];Log[y(0x9d)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const {projectConfig:d}=this,f=d[y(0x89)][y(0x9a)]===y(0x79),g={'name':capitalCase(d[y(0x95)])},h=f?y(0x7d):'/imports/startup/client',i=this[y(0x7c)][y(0x78)]({'pathParts':[h,'','',y(0x97)]});await this[y(0x7c)]['template']({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+'.js','framework':y(0x72),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+y(0x8b),l=k[y(0x87)]('/'),m=this['scaffold']['pathFromApp']({'pathParts':l});await this[y(0x7c)][y(0x91)]({'filePath':m+'.'+j,'importName':y(0x86),'modulePath':f?y(0x99):y(0x98),'isNamedExport':!![]}),await this[y(0x7c)][y(0x91)]({'filePath':m+'.'+j,'importName':y(0x8e),'modulePath':y(0x72),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x7c)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x7a),'begin':['const\x20useAuth',y(0x77)],'replace':!![]}),await this[y(0x7c)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x88),'begin':[y(0x71)],'replace':!![]});const n=y(0x73),o=n[y(0x87)]('/'),p=this[y(0x7c)][y(0x78)]({'pathParts':o});await this['scaffold']['injectImport']({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x98),'isNamedExport':!![]}),await this['scaffold'][y(0x8d)]({'filePath':p+'.'+j,'aboveContent':y(0x84),'belowContent':y(0x9c),'targetString':y(0x7b),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x8a),r=q[y(0x87)]('/'),s=this['scaffold']['pathFromApp']({'pathParts':r});await this[y(0x7c)][y(0x91)]({'filePath':s+'.'+j,'importName':y(0x82),'modulePath':f?y(0x99):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold'][y(0x8d)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x9c),'targetString':y(0x6c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x9f)](t),process[y(0x70)](0x1);}},async function(){},a124e);
1
+ const a124w=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=parseInt(u(0x1d4))/0x1+-parseInt(u(0x1bf))/0x2*(-parseInt(u(0x1c3))/0x3)+parseInt(u(0x1ce))/0x4+-parseInt(u(0x1cf))/0x5+-parseInt(u(0x1d0))/0x6*(parseInt(u(0x1e5))/0x7)+parseInt(u(0x1c8))/0x8+-parseInt(u(0x1df))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x9f3e4));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[v(0x1e2)]()[v(0x1bc)](v(0x1d9))[v(0x1e2)]()[v(0x1ca)](a124a)['search'](v(0x1d9));});a124a();import{Generator}from'../../../generator.js';function a124c(){const y=['1014mfuIYf','exit','<AppRoutes\x20history={history}/>','<AppRoutes\x20/>','177615wCvrhl','function\x20useAuth','provider','/imports/startup/client','/imports/startup/client/index','(((.+)+)+)+$','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','scaffold','split','/routes','injectAroundString','16372692ttLuiH','/imports/startup/client/authentication-provider','create','toString','const\x20PrivateRoute','engines','19201kABBhT','/imports/startup/lib/authentication-provider','/imports/startup/lib','.js','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','AuthContext','meteor','template','authentication-provider','search','pathFromApp','/imports/startup/server/index','8kUBkLr','injectIntoCodeBlock','injectImport','\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','699429TXYUeb','</AuthProvider>','force','bright','<AuthProvider>','9714280YSzZpT','kit/auth/provider/authentication-provider.js','constructor','AuthProvider','ssr','REACT','2709688zvayKU','334395maHdOL'];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';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1b5;let f=c[d];return f;},a124d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124w(0x1e1)]({'name':a124w(0x1d6),'aliases':['p'],'usage':a124w(0x1b7),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a124w(0x1c5)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124w(0x1cd)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const x=a124w;try{const c=b[x(0x1c5)]||![];Log[x(0x1c6)](x(0x1da));const {projectConfig:d}=this,f=d['engines'][x(0x1cc)]===x(0x1b9),g={'name':capitalCase(d['appName'])},h=f?x(0x1b5):x(0x1d7),i=this[x(0x1db)]['pathFromApp']({'pathParts':[h,'','',x(0x1bb)]});await this['scaffold'][x(0x1ba)]({'srcPath':x(0x1c9),'destPath':i+x(0x1b6),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0x1e4)]['js'],k=h+x(0x1dd),l=k[x(0x1dc)]('/'),m=this['scaffold']['pathFromApp']({'pathParts':l});await this[x(0x1db)][x(0x1c1)]({'filePath':m+'.'+j,'importName':x(0x1b8),'modulePath':f?x(0x1e6):x(0x1e0),'isNamedExport':!![]}),await this['scaffold']['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x1db)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':x(0x1c2),'begin':['const\x20useAuth',x(0x1d5)],'replace':!![]}),await this['scaffold'][x(0x1c0)]({'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(0x1e3)],'replace':!![]});const n=x(0x1d8),o=n['split']('/'),p=this[x(0x1db)][x(0x1bd)]({'pathParts':o});await this[x(0x1db)][x(0x1c1)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0x1e6):x(0x1e0),'isNamedExport':!![]}),await this[x(0x1db)][x(0x1de)]({'filePath':p+'.'+j,'aboveContent':x(0x1c7),'belowContent':x(0x1c4),'targetString':x(0x1d3),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x1be),r=q[x(0x1dc)]('/'),s=this[x(0x1db)][x(0x1bd)]({'pathParts':r});await this[x(0x1db)]['injectImport']({'filePath':s+'.'+j,'importName':x(0x1cb),'modulePath':f?x(0x1e6):x(0x1e0),'isNamedExport':!![]}),await this[x(0x1db)][x(0x1de)]({'filePath':s+'.'+j,'aboveContent':x(0x1c7),'belowContent':x(0x1c4),'targetString':x(0x1d2),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[x(0x1d1)](0x1);}},async function(){},a124e);
@@ -1 +1 @@
1
- function a125c(){var h=['12432248sIHZpG','4389604dNaPdH','4456935DbHNch','constructor','2pzYTBG','160892cdRGCf','1434750fPpNBB','search','7VDfaXq','(((.+)+)+)+$','823443RmwUOl','2490GWGBey','11784HMoEIk'];a125c=function(){return h;};return a125c();}function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x79;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x7e))/0x1+parseInt(f(0x7d))/0x2*(parseInt(f(0x83))/0x3)+-parseInt(f(0x7a))/0x4+-parseInt(f(0x84))/0x5*(-parseInt(f(0x85))/0x6)+parseInt(f(0x81))/0x7*(parseInt(f(0x79))/0x8)+-parseInt(f(0x7b))/0x9+-parseInt(f(0x7f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xde121));var a125b=(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;};}()),a125a=a125b(this,function(){var g=a125d;return a125a['toString']()[g(0x80)](g(0x82))['toString']()[g(0x7c)](a125a)[g(0x80)](g(0x82));});a125a();import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x1af))/0x1+parseInt(f(0x1aa))/0x2+parseInt(f(0x1b5))/0x3*(-parseInt(f(0x1b2))/0x4)+parseInt(f(0x1b0))/0x5*(parseInt(f(0x1b8))/0x6)+parseInt(f(0x1b3))/0x7*(parseInt(f(0x1b1))/0x8)+-parseInt(f(0x1b6))/0x9*(-parseInt(f(0x1b4))/0xa)+-parseInt(f(0x1ae))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xdeace));function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x1aa;var f=c[d];return f;},a125d(a,b);}var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x1b7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x1ab)]()[h(0x1ad)](h(0x1ac))[h(0x1ab)]()['constructor'](a125a)[h(0x1ad)](h(0x1ac));});a125a();import'./esri.generator.js';import'./map.esri.gen.js';function a125c(){var i=['10obNkAj','6KjwXWO','9369081mmhNum','apply','912TnFGfm','2713598xMRoJo','toString','(((.+)+)+)+$','search','47384227GaxtAp','643076npZvTp','42965OCSsqj','152cCUJBh','1695584cBjAhL','633871JDqXxx'];a125c=function(){return i;};return a125c();}
@@ -1 +1 @@
1
- function a126c(){const j=['513080bkNkjt','\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','1672916Kzwdtk','65466OgQJEi','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','24979knGFLI','1345274KhkeSq','search','constructor','esri','9kzXWKa','6dkhROg','(((.+)+)+)+$','3orblUL','175ThkGGN','154nsSmlh','2537048oZOsZv','628896KTYyfw','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','apply'];a126c=function(){return j;};return a126c();}const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0xc9))/0x1*(-parseInt(f(0xcf))/0x2)+parseInt(f(0xd1))/0x3*(parseInt(f(0xc6))/0x4)+-parseInt(f(0xbe))/0x5*(parseInt(f(0xc7))/0x6)+-parseInt(f(0xca))/0x7+parseInt(f(0xc0))/0x8*(-parseInt(f(0xce))/0x9)+-parseInt(f(0xc4))/0xa+parseInt(f(0xbf))/0xb*(parseInt(f(0xc1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x456d4));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xc3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a['toString']()[h(0xcb)](h(0xd0))['toString']()[h(0xcc)](a126a)[h(0xcb)](h(0xd0));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0xbe;let f=c[d];return f;},a126d(a,b);}import a126e from'../kit.js';const EsriGen=Generator['create']({'name':a126i(0xcd),'aliases':['e'],'usage':a126i(0xc8),'shortDesc':a126i(0xc2),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a126i(0xc5)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;
1
+ const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x9f))/0x1*(-parseInt(f(0xa0))/0x2)+-parseInt(f(0x9c))/0x3+-parseInt(f(0xac))/0x4+-parseInt(f(0x9d))/0x5*(-parseInt(f(0xa2))/0x6)+-parseInt(f(0xad))/0x7*(-parseInt(f(0xae))/0x8)+parseInt(f(0xa3))/0x9+parseInt(f(0x9e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x88656));function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x9c;let f=c[d];return f;},a126d(a,b);}const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0xaa)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0xab)]()[h(0xa5)](h(0xa1))[h(0xab)]()[h(0xa8)](a126a)[h(0xa5)](h(0xa1));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';const EsriGen=Generator['create']({'name':a126i(0xa4),'aliases':['e'],'usage':a126i(0xa9),'shortDesc':a126i(0xa6),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':a126i(0xa7)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;function a126c(){const j=['toString','1988168aTUoSN','17948FJTEny','1280eAZCDP','1935330ggvmro','250aswndz','15185100seBIBK','898069tcnsNI','2yNrSro','(((.+)+)+)+$','70428Iddifw','749241FxPHWx','esri','search','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','\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','constructor','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','apply'];a126c=function(){return j;};return a126c();}
@@ -1 +1 @@
1
- function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x90;let f=c[d];return f;},a127d(a,b);}const a127u=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0xa0))/0x1+-parseInt(s(0x9a))/0x2*(parseInt(s(0x91))/0x3)+parseInt(s(0x94))/0x4*(-parseInt(s(0xa3))/0x5)+-parseInt(s(0xa8))/0x6+parseInt(s(0xa2))/0x7+-parseInt(s(0xab))/0x8*(-parseInt(s(0x96))/0x9)+parseInt(s(0xa6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x55cae));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const t=a127d;return a127a[t(0xb3)]()['search'](t(0x95))['toString']()[t(0xac)](a127a)['search'](t(0x95));});a127a();import{Generator}from'../../../generator.js';function a127c(){const w=['1833KmarYO','appName','NONE','4QTnQci','(((.+)+)+)+$','36xyksVs','split','bright','pathFromApp','182FppxUO','map','dir','injectTemplateModule','<div\x20id=\x22map\x22>','baseDir','516410CthdIm','page','4575438VwtNXm','1737755WeiJjI','Generate\x20an\x20Esri\x20map\x20component','kit/esri/map/','6747750viaZbI','/imports/ui/','4026750ZRXvoa','basic-map','exit','1227368hOOMjn','constructor','checkNpmPackage','injectIntoFile','.js','REACT','/imports/ui/components','processAndRunGenerator','toString','error','create','replaceAll','ssr','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a'];a127c=function(){return w;};return a127c();}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[a127u(0xb5)]({'name':'map','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','shortDesc':a127u(0xa4),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127u(0xb0)],'ssr':SsrEngines[a127u(0x93)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const v=a127u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[v(0x98)]('Generating\x20a\x20map\x20component');const h=v(0xa9);await f[v(0xad)](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c['engines'][v(0xb7)]==='meteor',k=await a127f[v(0xb2)](v(0xa1),[v(0x9b)],{'cwd':i,'config':c}),l={'name':capitalCase(c[v(0x92)])[v(0xb6)]('-','\x20'),'componentName':pascalCase(h)},m=b[v(0x9f)]?v(0xa7)+b['baseDir']:v(0xb1),n=g[v(0x99)]({'pathParts':[m,b[v(0x9c)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':v(0xa5)+h+'.js','destPath':n+v(0xaf),'framework':'react','context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b['dir']+'/'+h+'/'+h;await g[v(0x9d)](h,c,o);const p=k[v(0x97)]('/'),q=g[v(0x99)]({'pathParts':p});await g['injectImport']({'filePath':q,'importName':pascalCase(h),'modulePath':j?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await g[v(0xae)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+v(0x90),'begin':[v(0x9e),v(0x9e)],'end':['</div>'],'replace':!![]});}catch(r){Log[v(0xb4)](r),process[v(0xaa)](0x1);}},async function(){},a127e);
1
+ const a127u=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=-parseInt(s(0x171))/0x1+parseInt(s(0x14f))/0x2*(parseInt(s(0x16a))/0x3)+-parseInt(s(0x15a))/0x4+parseInt(s(0x14e))/0x5+-parseInt(s(0x158))/0x6+-parseInt(s(0x165))/0x7+parseInt(s(0x169))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x9601e));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const t=a127d;return a127a['toString']()[t(0x15e)](t(0x172))['toString']()[t(0x15c)](a127a)[t(0x15e)](t(0x172));});a127a();function a127c(){const w=['appName','@esri/react-arcgis','</div>','Generate\x20an\x20Esri\x20map\x20component','esri-loader','\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','1120930hEukxB','(((.+)+)+)+$','split','/imports/startup/lib/templates','engines','pathFromApp','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','<div\x20id=\x22map\x22>','124905nTcZEc','66QJbnyb','exit','/imports/startup/client/templates','checkNpmPackage','REACT','Generating\x20a\x20map\x20component','injectIntoFile','injectImport','react','2888706LkooFo','NONE','3985260IQfksx','ssr','constructor','map','search','kit/esri/map/','injectTemplateModule','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','dir','meteor','processAndRunGenerator','8092847fHOXLJ','baseDir','error','basic-map','32079016GNJZqD','30399yrjtCK'];a127c=function(){return w;};return a127c();}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';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x14c;let f=c[d];return f;},a127d(a,b);}Generator['create']({'name':a127u(0x15d),'aliases':['m'],'usage':a127u(0x14c),'shortDesc':a127u(0x16e),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127u(0x153)],'ssr':SsrEngines[a127u(0x159)]},'description':a127u(0x170)},async function(a,b){const v=a127u;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log['bright'](v(0x154));const h=v(0x168);await f[v(0x152)]([v(0x16c),v(0x16f)],{'shouldInstall':!![]});const i=d['findProjectDirectory'](),j=c[v(0x175)][v(0x15b)]===v(0x163),k=await a127f[v(0x164)]('page',[v(0x15d)],{'cwd':i,'config':c}),l={'name':capitalCase(c[v(0x16b)])['replaceAll']('-','\x20'),'componentName':pascalCase(h)},m=b['baseDir']?'/imports/ui/'+b[v(0x166)]:'/imports/ui/components',n=g[v(0x176)]({'pathParts':[m,b[v(0x162)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':v(0x15f)+h+'.js','destPath':n+'.js','framework':v(0x157),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[v(0x162)]+'/'+h+'/'+h;await g[v(0x160)](h,c,o);const p=k[v(0x173)]('/'),q=g[v(0x176)]({'pathParts':p});await g[v(0x156)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?v(0x174):v(0x151),'isNamedExport':!![]}),await g[v(0x155)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+v(0x161),'begin':[v(0x14d),v(0x14d)],'end':[v(0x16d)],'replace':!![]});}catch(r){Log[v(0x167)](r),process[v(0x150)](0x1);}},async function(){},a127e);
@@ -1 +1 @@
1
- const a128h=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=-parseInt(f(0x134))/0x1+parseInt(f(0x129))/0x2+parseInt(f(0x12f))/0x3*(-parseInt(f(0x131))/0x4)+-parseInt(f(0x12a))/0x5+-parseInt(f(0x12b))/0x6*(parseInt(f(0x12e))/0x7)+-parseInt(f(0x135))/0x8+-parseInt(f(0x12d))/0x9*(-parseInt(f(0x128))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x4d9ff));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['toString']()[g(0x132)](g(0x139))[g(0x130)]()[g(0x12c)](a128a)['search'](g(0x139));});function a128c(){const i=['maka\x20{generate,\x20g}:{kit}\x20<name>','71294zhKeiO','2142808MDgHnE','create','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20g:kit','(((.+)+)+)+$','maka\x20g:k','kit','17796990gLonkj','307532GWMICZ','1876070UDXtEK','2683416DQoYQi','constructor','9gZrHHa','7CIrlRg','3MzNWec','toString','1815676QHBFJQ','search'];a128c=function(){return i;};return a128c();}function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x127;let f=c[d];return f;},a128d(a,b);}a128a();import{Generator}from'../../generator.js';const KitGen=Generator[a128h(0x136)]({'name':a128h(0x127),'aliases':['k'],'usage':a128h(0x133),'shortDesc':a128h(0x137),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128h(0x138),a128h(0x13a)]},async function(){});export default KitGen;
1
+ function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1c2;let f=c[d];return f;},a128d(a,b);}const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=parseInt(f(0x1cd))/0x1+parseInt(f(0x1d5))/0x2*(-parseInt(f(0x1c5))/0x3)+-parseInt(f(0x1c4))/0x4*(-parseInt(f(0x1c3))/0x5)+parseInt(f(0x1d6))/0x6*(-parseInt(f(0x1d2))/0x7)+parseInt(f(0x1d4))/0x8*(-parseInt(f(0x1c9))/0x9)+-parseInt(f(0x1c7))/0xa*(parseInt(f(0x1cc))/0xb)+parseInt(f(0x1cb))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xb2dbe));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a[h(0x1d3)]()[h(0x1cf)](h(0x1d1))[h(0x1d3)]()[h(0x1ca)](a128a)['search'](h(0x1d1));});a128a();import{Generator}from'../../generator.js';function a128c(){const j=['41919480UaphcY','12120713yoFhNZ','490554HgLFcZ','apply','search','create','(((.+)+)+)+$','6908321mSmvWz','toString','1992Xiuutx','118qGaWWo','6JnuVOm','maka\x20g:kit','kit','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','5KzlygB','3274516TqzTxg','60990tyIYTb','maka\x20{generate,\x20g}:{kit}\x20<name>','10wrmDbl','maka\x20g:k','28251ElfOpl','constructor'];a128c=function(){return j;};return a128c();}const KitGen=Generator[a128i(0x1d0)]({'name':a128i(0x1d8),'aliases':['k'],'usage':a128i(0x1c6),'shortDesc':a128i(0x1c2),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128i(0x1d7),a128i(0x1c8)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a129d,c=a();while(!![]){try{var d=parseInt(f(0x1b6))/0x1*(parseInt(f(0x1b8))/0x2)+-parseInt(f(0x1bb))/0x3*(parseInt(f(0x1bd))/0x4)+-parseInt(f(0x1b3))/0x5+parseInt(f(0x1b5))/0x6+-parseInt(f(0x1bc))/0x7+-parseInt(f(0x1be))/0x8+parseInt(f(0x1b9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x858e4));function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x1b3;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(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0x1b4)]()[h(0x1ba)](h(0x1b7))[h(0x1b4)]()[h(0x1bf)](a129a)[h(0x1ba)](h(0x1b7));});a129a();import'./mui.generator.js';import'./frame.mui.gen.js';function a129c(){var i=['3wXeVBx','(((.+)+)+)+$','572870UVGIAr','16539597LygVBZ','search','4218LLiPEl','7542962lSvzeb','788WieqXO','7621744hgEYQu','constructor','apply','3715305gKUxfz','toString','5401998ePMpgM'];a129c=function(){return i;};return a129c();}import'./auth.mui.gen.js';
1
+ function a129c(){var i=['6929112fYHPaQ','518737EHdNgW','(((.+)+)+)+$','17053590nMspEM','apply','184684jGVzgX','7oaPKlM','search','toString','797110ZnyVHa','3233658VPOzXO','7117605IUpFEh','2AhLTzX','constructor','27bgiKOQ'];a129c=function(){return i;};return a129c();}(function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0x168))/0x1*(-parseInt(f(0x164))/0x2)+-parseInt(f(0x166))/0x3*(parseInt(f(0x16c))/0x4)+-parseInt(f(0x170))/0x5+-parseInt(f(0x162))/0x6*(-parseInt(f(0x16d))/0x7)+parseInt(f(0x167))/0x8+parseInt(f(0x163))/0x9+-parseInt(f(0x16a))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x6a0a8));var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0x16f)]()[h(0x16e)](h(0x169))[h(0x16f)]()[h(0x165)](a129a)[h(0x16e)]('(((.+)+)+)+$');});a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0x162;var f=c[d];return f;},a129d(a,b);}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(0x155))/0x1+parseInt(I(0x186))/0x2+-parseInt(I(0x170))/0x3+-parseInt(I(0x184))/0x4+-parseInt(I(0x182))/0x5*(parseInt(I(0x153))/0x6)+parseInt(I(0x14f))/0x7+parseInt(I(0x188))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x2ad4f));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x17d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a['toString']()['search']('(((.+)+)+)+$')[K(0x185)]()[K(0x183)](a130a)[K(0x17f)](K(0x154));});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x14e;let f=c[d];return f;},a130d(a,b);}import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';function a130c(){const O=['kit/mui/auth/login/','split','appName','meteor','apply','layouts','search','/imports/startup/client/authentication-provider','ssr','16315QcRGGG','constructor','1062764EjAGyl','toString','619366FilRcO','pathFromApp','87064tyCqEE','error','2386489WVVnYl','/imports/startup/lib/authentication-provider','kit/mui/auth/register/','basic-register-page','306uRbOCe','(((.+)+)+)+$','294356EBooyK','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','findProjectDirectory','auth','route','kit:auth:provider','basic-forgot-password-page','processAndRunGenerator','dir','create','.js','injectTemplateModule','basic-login-page','MATERIAL','exit','basic-logout-page','basic-password-reset-page','react','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','injectImport','forgot-password','force','log','/imports/ui/pages/auth','kit/mui/auth/logout/','Meteor\x20Accounts','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','1044918PjjNQf','template','kit:auth:meteor','reset-password/:token','maka\x20g:k:m:a','engines','AuthContext','Custom\x20(roll\x20your\x20own)','Cleaning\x20up...'];a130c=function(){return O;};return a130c();}import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a130L(0x15e)]({'name':a130L(0x158),'aliases':['a'],'usage':a130L(0x167),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a130L(0x17e),a130L(0x16a)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0x162)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:auth',a130L(0x174)],'description':a130L(0x156)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x16a)]||![],h=d[M(0x157)](),i=await Actions['select']({'name':'authType','message':M(0x16f),'choices':[{'name':M(0x16e),'value':M(0x17c)},{'name':M(0x177),'value':'custom'}]}),j=M(0x161),k=M(0x164),l=M(0x152),m='basic-password-reset-page',n=M(0x15b),o=b['baseDir']?'/imports/ui/'+b['baseDir']:M(0x16c),p=f[M(0x187)]({'pathParts':[o,b[M(0x15d)],kebabCase(j),kebabCase(j)]}),q=f['pathFromApp']({'pathParts':[o,b[M(0x15d)],kebabCase(k),kebabCase(k)]}),r=f[M(0x187)]({'pathParts':[o,b[M(0x15d)],kebabCase(l),kebabCase(l)]}),s=f['pathFromApp']({'pathParts':[o,b[M(0x15d)],kebabCase(m),kebabCase(m)]}),t=f[M(0x187)]({'pathParts':[o,b[M(0x15d)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x17b)])};await f[M(0x171)]({'srcPath':M(0x179)+j+M(0x15f),'destPath':p+M(0x15f),'framework':M(0x166),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x171)]({'srcPath':M(0x16d)+k+M(0x15f),'destPath':q+M(0x15f),'framework':M(0x166),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x171)]({'srcPath':M(0x151)+l+M(0x15f),'destPath':r+M(0x15f),'framework':M(0x166),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x171)]({'srcPath':'kit/mui/auth/password-reset/'+m+M(0x15f),'destPath':s+M(0x15f),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x171)]({'srcPath':'kit/mui/auth/forgot-password/'+n+'.js','destPath':t+M(0x15f),'framework':M(0x166),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x15d)]+'/'+j+'/'+j;await f[M(0x160)](j,c,v);const w=''+o+b[M(0x15d)]+'/'+k+'/'+k;await f['injectTemplateModule'](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f[M(0x160)](l,c,x);const y=''+o+b[M(0x15d)]+'/'+m+'/'+m;await f[M(0x160)](m,c,y);const z=''+o+b[M(0x15d)]+'/'+n+'/'+n;await f['injectTemplateModule'](n,c,z),await a130e[M(0x15c)](M(0x159),[M(0x161)],{'route':'login','cwd':h,'config':c}),await a130e[M(0x15c)](M(0x159),[M(0x164)],{'route':'logout','private':!![],'cwd':h,'config':c}),await a130e[M(0x15c)](M(0x159),[M(0x152)],{'route':'register','cwd':h,'config':c}),await a130e[M(0x15c)](M(0x159),[M(0x165)],{'route':M(0x173),'cwd':h,'config':c}),await a130e['processAndRunGenerator'](M(0x159),['basic-forgot-password-page'],{'route':M(0x169),'cwd':h,'config':c});i==='meteor'&&await a130e[M(0x15c)](M(0x172),[],{'force':g,'cwd':h,'config':c});i==='custom'&&await a130e[M(0x15c)](M(0x15a),[],{'force':g,'cwd':h,'config':c});const A=c[M(0x175)][M(0x181)]===M(0x17c),B=c[M(0x175)]['js'],C=f[M(0x187)]({'pathParts':v[M(0x17a)]('/')});await f[M(0x168)]({'filePath':C+'.'+B,'importName':M(0x176),'modulePath':A?M(0x150):M(0x180),'isNamedExport':!![]});const D=f['pathFromApp']({'pathParts':w[M(0x17a)]('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':M(0x180),'isNamedExport':!![]});const E=f[M(0x187)]({'pathParts':x['split']('/')});await f[M(0x168)]({'filePath':E+'.'+B,'importName':M(0x176),'modulePath':A?M(0x150):M(0x180),'isNamedExport':!![]});const F=f[M(0x187)]({'pathParts':y[M(0x17a)]('/')});await f[M(0x168)]({'filePath':F+'.'+B,'importName':M(0x176),'modulePath':A?M(0x150):M(0x180),'isNamedExport':!![]});const G=f[M(0x187)]({'pathParts':z[M(0x17a)]('/')});await f[M(0x168)]({'filePath':G+'.'+B,'importName':M(0x176),'modulePath':A?M(0x150):'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(H){Log[M(0x14e)](H),process[M(0x163)](0x1);}},async function(){const N=a130L;console[N(0x16b)](N(0x178));},a130f);export default a130f;
1
+ const a130L=a130d;(function(a,b){const I=a130d,c=a();while(!![]){try{const d=parseInt(I(0x18b))/0x1*(parseInt(I(0x1b2))/0x2)+parseInt(I(0x19e))/0x3+-parseInt(I(0x17e))/0x4*(-parseInt(I(0x1a0))/0x5)+parseInt(I(0x198))/0x6+parseInt(I(0x17b))/0x7*(-parseInt(I(0x199))/0x8)+parseInt(I(0x1ab))/0x9+parseInt(I(0x18c))/0xa*(-parseInt(I(0x186))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x8fbbb));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x1a3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a[K(0x192)]()[K(0x195)]('(((.+)+)+)+$')[K(0x192)]()[K(0x196)](a130a)[K(0x195)](K(0x1b8));});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x174;let f=c[d];return f;},a130d(a,b);}import{Actions}from'../../../tools/actions/actions.class.js';function a130c(){const O=['2546022eLhfoE','.js','6595wlNUdU','/imports/ui/','basic-logout-page','apply','react','error','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','kit/mui/auth/forgot-password/','Custom\x20(roll\x20your\x20own)','appName','meteor','4561740yUSelg','authType','route','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','template','MATERIAL','kit/mui/auth/logout/','12NzaLkR','kit:auth:meteor','register','pathFromApp','force','maka\x20generate:kit:mui:auth','(((.+)+)+)+$','processAndRunGenerator','/imports/ui/pages/auth','dir','kit/mui/auth/login/','baseDir','REACT','Cleaning\x20up...','1281PmHkNE','logout','injectImport','1508kbXolD','forgot-password','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','engines','basic-login-page','Meteor\x20Accounts','basic-password-reset-page','kit/mui/auth/password-reset/','3993gapVlZ','select','/imports/startup/lib/authentication-provider','AuthContext','exit','62448yLhcjk','34250SsXyIi','log','ssr','create','/imports/startup/client/authentication-provider','injectTemplateModule','toString','auth','basic-register-page','search','constructor','kit/mui/auth/register/','1261506ykwzzc','26480gsNJYh','kit:auth:provider','split','basic-forgot-password-page','maka\x20g:k:m:a'];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(0x18f)]({'name':a130L(0x193),'aliases':['a'],'usage':a130L(0x1a6),'shortDesc':a130L(0x180),'validOpts':['layouts',a130L(0x1b6)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0x1b0)],'client':ClientEngines[a130L(0x179)]},'examples':[a130L(0x1b7),a130L(0x19d)],'description':a130L(0x1ae)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x1b6)]||![],h=d['findProjectDirectory'](),i=await Actions[M(0x187)]({'name':M(0x1ac),'message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':M(0x183),'value':M(0x1aa)},{'name':M(0x1a8),'value':'custom'}]}),j='basic-login-page',k='basic-logout-page',l='basic-register-page',m=M(0x184),n=M(0x19c),o=b[M(0x178)]?M(0x1a1)+b[M(0x178)]:M(0x175),p=f[M(0x1b5)]({'pathParts':[o,b[M(0x176)],kebabCase(j),kebabCase(j)]}),q=f[M(0x1b5)]({'pathParts':[o,b[M(0x176)],kebabCase(k),kebabCase(k)]}),r=f[M(0x1b5)]({'pathParts':[o,b['dir'],kebabCase(l),kebabCase(l)]}),s=f[M(0x1b5)]({'pathParts':[o,b[M(0x176)],kebabCase(m),kebabCase(m)]}),t=f['pathFromApp']({'pathParts':[o,b[M(0x176)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x1a9)])};await f[M(0x1af)]({'srcPath':M(0x177)+j+'.js','destPath':p+'.js','framework':M(0x1a4),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x1b1)+k+M(0x19f),'destPath':q+M(0x19f),'framework':M(0x1a4),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1af)]({'srcPath':M(0x197)+l+'.js','destPath':r+'.js','framework':M(0x1a4),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1af)]({'srcPath':M(0x185)+m+'.js','destPath':s+M(0x19f),'framework':M(0x1a4),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x1af)]({'srcPath':M(0x1a7)+n+M(0x19f),'destPath':t+'.js','framework':M(0x1a4),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b['dir']+'/'+j+'/'+j;await f[M(0x191)](j,c,v);const w=''+o+b[M(0x176)]+'/'+k+'/'+k;await f[M(0x191)](k,c,w);const x=''+o+b['dir']+'/'+l+'/'+l;await f[M(0x191)](l,c,x);const y=''+o+b['dir']+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0x176)]+'/'+n+'/'+n;await f[M(0x191)](n,c,z),await a130e[M(0x174)](M(0x1ad),[M(0x182)],{'route':'login','cwd':h,'config':c}),await a130e['processAndRunGenerator']('route',[M(0x1a2)],{'route':M(0x17c),'private':!![],'cwd':h,'config':c}),await a130e[M(0x174)](M(0x1ad),[M(0x194)],{'route':M(0x1b4),'cwd':h,'config':c}),await a130e[M(0x174)]('route',[M(0x184)],{'route':'reset-password/:token','cwd':h,'config':c}),await a130e[M(0x174)](M(0x1ad),[M(0x19c)],{'route':M(0x17f),'cwd':h,'config':c});i===M(0x1aa)&&await a130e[M(0x174)](M(0x1b3),[],{'force':g,'cwd':h,'config':c});i==='custom'&&await a130e[M(0x174)](M(0x19a),[],{'force':g,'cwd':h,'config':c});const A=c[M(0x181)][M(0x18e)]===M(0x1aa),B=c[M(0x181)]['js'],C=f['pathFromApp']({'pathParts':v[M(0x19b)]('/')});await f[M(0x17d)]({'filePath':C+'.'+B,'importName':M(0x189),'modulePath':A?M(0x188):M(0x190),'isNamedExport':!![]});const D=f[M(0x1b5)]({'pathParts':w['split']('/')});await f[M(0x17d)]({'filePath':D+'.'+B,'importName':M(0x189),'modulePath':A?M(0x188):M(0x190),'isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x[M(0x19b)]('/')});await f[M(0x17d)]({'filePath':E+'.'+B,'importName':M(0x189),'modulePath':A?M(0x188):M(0x190),'isNamedExport':!![]});const F=f[M(0x1b5)]({'pathParts':y['split']('/')});await f[M(0x17d)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':M(0x190),'isNamedExport':!![]});const G=f[M(0x1b5)]({'pathParts':z['split']('/')});await f[M(0x17d)]({'filePath':G+'.'+B,'importName':M(0x189),'modulePath':A?M(0x188):M(0x190),'isNamedExport':!![]});}catch(H){Log[M(0x1a5)](H),process[M(0x18a)](0x1);}},async function(){const N=a130L;console[N(0x18d)](N(0x17a));},a130f);export default a130f;
@@ -1 +1 @@
1
- const a131G=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(0x161))/0x1+parseInt(E(0x121))/0x2+parseInt(E(0x12f))/0x3+parseInt(E(0x130))/0x4*(parseInt(E(0x160))/0x5)+parseInt(E(0x13b))/0x6+parseInt(E(0x131))/0x7+-parseInt(E(0x146))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xdca3e));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const F=a131d;return a131a[F(0x135)]()[F(0x151)]('(((.+)+)+)+$')[F(0x135)]()[F(0x128)](a131a)[F(0x151)](F(0x159));});a131a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a131c(){const J=['54038976clqGPs','getFiles','<div\x20id=\x22','kit/mui/frame/app-bars/','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','Container','Cleaning\x20up...','<Outlet\x20/>','/imports/startup/client/templates','search','/imports/ui/components','\x20/>\x0a','checkMeteorPackage','engines','<Outlet/>','jsx','injectImport','(((.+)+)+)+$','basic-sticky-footer','kit/mui/frame/footers/','dir','REACT','injectTemplateModule','tsx','5dDwFaE','1750657sUFkut','Box','react','MATERIAL','map','3292046oHEfAj','frame','/imports/startup/lib/templates','template','create','error','join','constructor','test','appName','maka:react-tracker','pathFromApp','basic-app-bar','layouts','476838tpUQuA','2677948XoGDkB','12446161sbqTSi','.js','/imports/ui/','@mui/material/Container','toString','<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>','imports','app-tests','findAppDirectory','</div>','9932868dsWcjC','-hook\x22>','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','getDirectories','log','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','injectAroundString','maka\x20generate:kit:mui:frame','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','force','injectIntoFile'];a131c=function(){return J;};return a131c();}import a131e from'path';import a131f from'./mui.generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x11f;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[a131G(0x125)]({'name':a131G(0x122),'aliases':['f'],'usage':a131G(0x13d),'shortDesc':a131G(0x14a),'validOpts':[a131G(0x12e),'baseDir',a131G(0x15c),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131G(0x11f)],'client':ClientEngines[a131G(0x15d)]},'examples':[a131G(0x142),'maka\x20g:k:m:f'],'description':a131G(0x14c)},async function(a,b){const H=a131G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[H(0x144)]||![],i=H(0x12d),j='basic-drawer',k=H(0x15a),l=c[H(0x155)]['ssr']==='meteor';await f[H(0x154)](['session',H(0x12b)],{'shouldInstall':!![]});const m=d[H(0x139)](),n=a131e['join'](m,H(0x137),'ui','layouts'),o=d[H(0x13e)](n),p=o[H(0x120)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':H(0x140),'name':H(0x12e),'choices':p});if(q['length']===0x0){Log[H(0x126)]('No\x20layouts\x20selected');return;}const r=b[H(0x14b)]?H(0x133)+b['baseDir']:H(0x152),s=g[H(0x12c)]({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g[H(0x12c)]({'pathParts':[r,b[H(0x15c)],kebabCase(j),kebabCase(j)]}),u=g[H(0x12c)]({'pathParts':[r,b[H(0x15c)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x12a)])};await g[H(0x124)]({'srcPath':H(0x149)+i+H(0x132),'destPath':s+'.js','framework':H(0x163),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x124)]({'srcPath':'kit/mui/frame/drawers/'+j+H(0x132),'destPath':t+H(0x132),'framework':H(0x163),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x124)]({'srcPath':H(0x15b)+k+H(0x132),'destPath':u+'.js','framework':'react','context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[H(0x15c)]+'/'+i+'/'+i;await g[H(0x15e)](i,c,w);const x=''+r+b[H(0x15c)]+'/'+j+'/'+j;await g[H(0x15e)](j,c,x);const y=''+r+b[H(0x15c)]+'/'+k+'/'+k;await g[H(0x15e)](k,c,y);for(const z of q){const A=d[H(0x147)](a131e['join'](n,z),{'extensions':[H(0x157),H(0x15f)],'omit':[H(0x138),'tests',H(0x129)]});for(const B of A){const C=a131e[H(0x127)](n,z,B);await g[H(0x158)]({'filePath':C,'importName':H(0x162),'modulePath':'@mui/material/Box','isNamedExport':![]}),await g[H(0x158)]({'filePath':C,'importName':H(0x14d),'modulePath':H(0x134),'isNamedExport':![]}),await g[H(0x158)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?H(0x123):H(0x150),'isNamedExport':!![]}),await g[H(0x145)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':[H(0x148)+z+'\x22>',H(0x148)+z+H(0x13c)],'end':[H(0x156),H(0x14f)]}),await g[H(0x158)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x123):H(0x150),'isNamedExport':!![]}),await g[H(0x145)]({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[H(0x148)+z+'\x22>',H(0x148)+z+H(0x13c)],'end':[H(0x156),H(0x14f)]}),await g[H(0x145)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x153),'begin':[H(0x156),'<Outlet\x20/>'],'end':[H(0x13a)]}),await g[H(0x158)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x123):H(0x150),'isNamedExport':!![]}),await g[H(0x141)]({'filePath':C,'aboveContent':H(0x136),'belowContent':H(0x143),'targetString':[H(0x156),H(0x14f)],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0x126)](D);}},async function(){const I=a131G;console[I(0x13f)](I(0x14e));},a131f);
1
+ const a131H=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(0x132))/0x1+-parseInt(E(0x164))/0x2*(parseInt(E(0x169))/0x3)+parseInt(E(0x133))/0x4*(parseInt(E(0x16f))/0x5)+-parseInt(E(0x142))/0x6*(parseInt(E(0x15c))/0x7)+parseInt(E(0x159))/0x8+parseInt(E(0x14c))/0x9+parseInt(E(0x157))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xb1750));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a131d;if(c){const e=c[F(0x148)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const G=a131d;return a131a[G(0x158)]()[G(0x16b)](G(0x139))[G(0x158)]()['constructor'](a131a)[G(0x16b)](G(0x139));});function a131c(){const K=['baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','getFiles','kit/mui/frame/drawers/','injectTemplateModule','findAppDirectory','6rykeQR','<Outlet\x20/>','@mui/material/Container','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','Box','error','apply','basic-drawer','/imports/startup/client/templates','-hook\x22>','5895648JSIJKW','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','meteor','injectImport','engines','appName','.js','<Outlet/>','Container','dir','<div\x20id=\x22','2843290vzcGrl','toString','1321416EZmmeB','length','getDirectories','6161687PSfbfv','<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>','@mui/material/Box','join','layouts','react','log','\x20/>\x0a','62tCMQSt','basic-app-bar','test','/imports/startup/lib/templates','force','43467VKnQQx','/imports/ui/components','search','MATERIAL','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','maka\x20g:k:m:f','15bXcnJb','kit/mui/frame/footers/','template','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','maka:react-tracker','430565GPwizK','694828GMWbtQ','map','ssr','pathFromApp','tests','checkMeteorPackage','(((.+)+)+)+$','injectIntoFile','Cleaning\x20up...'];a131c=function(){return K;};return a131c();}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-0x132;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':'frame','aliases':['f'],'usage':a131H(0x145),'shortDesc':a131H(0x16d),'validOpts':[a131H(0x160),a131H(0x13c),a131H(0x155),a131H(0x168)],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131H(0x16c)],'client':ClientEngines['REACT']},'examples':['maka\x20generate:kit:mui:frame',a131H(0x16e)],'description':a131H(0x13d)},async function(a,b){const I=a131H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x168)]||![],i=I(0x165),j=I(0x149),k='basic-sticky-footer',l=c[I(0x150)][I(0x135)]===I(0x14e);await f[I(0x138)](['session',I(0x173)],{'shouldInstall':!![]});const m=d[I(0x141)](),n=a131e[I(0x15f)](m,'imports','ui',I(0x160)),o=d[I(0x15b)](n),p=o[I(0x134)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':I(0x172),'name':I(0x160),'choices':p});if(q[I(0x15a)]===0x0){Log['error']('No\x20layouts\x20selected');return;}const r=b[I(0x13c)]?'/imports/ui/'+b[I(0x13c)]:I(0x16a),s=g[I(0x136)]({'pathParts':[r,b['dir'],kebabCase(i),kebabCase(i)]}),t=g['pathFromApp']({'pathParts':[r,b[I(0x155)],kebabCase(j),kebabCase(j)]}),u=g[I(0x136)]({'pathParts':[r,b[I(0x155)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[I(0x151)])};await g['template']({'srcPath':'kit/mui/frame/app-bars/'+i+I(0x152),'destPath':s+I(0x152),'framework':I(0x161),'context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x171)]({'srcPath':I(0x13f)+j+I(0x152),'destPath':t+I(0x152),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':I(0x170)+k+I(0x152),'destPath':u+I(0x152),'framework':I(0x161),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x155)]+'/'+i+'/'+i;await g[I(0x140)](i,c,w);const x=''+r+b['dir']+'/'+j+'/'+j;await g[I(0x140)](j,c,x);const y=''+r+b[I(0x155)]+'/'+k+'/'+k;await g[I(0x140)](k,c,y);for(const z of q){const A=d[I(0x13e)](a131e[I(0x15f)](n,z),{'extensions':['jsx','tsx'],'omit':['app-tests',I(0x137),I(0x166)]});for(const B of A){const C=a131e[I(0x15f)](n,z,B);await g['injectImport']({'filePath':C,'importName':I(0x146),'modulePath':I(0x15e),'isNamedExport':![]}),await g[I(0x14f)]({'filePath':C,'importName':I(0x154),'modulePath':I(0x144),'isNamedExport':![]}),await g[I(0x14f)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?'/imports/startup/lib/templates':I(0x14a),'isNamedExport':!![]}),await g[I(0x13a)]({'filePath':C,'content':'<'+pascalCase(i)+'\x20/>\x0a','begin':[I(0x156)+z+'\x22>',I(0x156)+z+I(0x14b)],'end':[I(0x153),'<Outlet\x20/>']}),await g[I(0x14f)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0x167):I(0x14a),'isNamedExport':!![]}),await g[I(0x13a)]({'filePath':C,'content':'<'+pascalCase(j)+I(0x163),'begin':['<div\x20id=\x22'+z+'\x22>',I(0x156)+z+I(0x14b)],'end':['<Outlet/>','<Outlet\x20/>']}),await g[I(0x13a)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x163),'begin':[I(0x153),'<Outlet\x20/>'],'end':['</div>']}),await g[I(0x14f)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?'/imports/startup/lib/templates':I(0x14a),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':I(0x15d),'belowContent':I(0x14d),'targetString':[I(0x153),I(0x143)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x147)](D);}},async function(){const J=a131H;console[J(0x162)](J(0x13b));},a131f);
@@ -1 +1 @@
1
- function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x94;let f=c[d];return f;},a132d(a,b);}const a132j=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d=-parseInt(g(0xb4))/0x1*(-parseInt(g(0xa7))/0x2)+-parseInt(g(0xb6))/0x3+-parseInt(g(0xb7))/0x4*(-parseInt(g(0xa9))/0x5)+-parseInt(g(0xb0))/0x6*(parseInt(g(0xa6))/0x7)+-parseInt(g(0xa1))/0x8*(-parseInt(g(0xab))/0x9)+parseInt(g(0x9d))/0xa*(-parseInt(g(0x99))/0xb)+-parseInt(g(0x9c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x65932));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a[i(0xa5)]()[i(0x96)](i(0xb8))[i(0xa5)]()[i(0xa0)](a132a)[i(0x96)](i(0xb8));});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['create']({'name':a132j(0xac),'aliases':['m'],'usage':a132j(0x97),'resourceNameRequired':![],'shortDesc':a132j(0xb2),'validOpts':[''],'isPro':!![],'examples':[a132j(0xaa)]},async function(){const k=a132j;try{Log[k(0xb3)]('Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'),Log[k(0x9a)](k(0xb5));const a=await Actions['checkbox']({'message':k(0xb9),'name':k(0xae),'choices':[{'name':k(0xaf),'value':k(0x94)},{'name':k(0xa8),'value':k(0x9e)}]}),b=this[k(0x9f)]['findProjectDirectory'](),c=this['cfg'][k(0xa3)]();a['includes'](k(0x94))&&await a132e[k(0xad)](k(0x9b),[],{'force':!![],'cwd':b,'config':c});a[k(0x98)](k(0x9e))&&await a132e['processAndRunGenerator'](k(0xa2),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xb1)]===0x0){Log[k(0xb3)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}}catch(d){Log[k(0x95)](d),process['exit'](0x1);}},async function(){},a132f);export default MuiGen;function a132c(){const l=['getMakaProjectConfig','apply','toString','42WxXBDh','822702fsWhGR','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','10wmPylS','maka\x20g:kit:m','18333goTskF','mui','processAndRunGenerator','kitChoices','Header,\x20Footer,\x20and\x20Drawer','564216BFKPoT','length','Material-UI\x20Kit','info','1udmXJU','\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','1056096JZicaj','1104164tIsjuC','(((.+)+)+)+$','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','frame','error','search','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','includes','183403yWbUPV','notice','kit:mui:frame','3626568neFEpj','30ZiCLNE','auth','fsi','constructor','2832FnMvrX','kit:mui:auth'];a132c=function(){return l;};return a132c();}
1
+ const a132j=a132d;(function(a,b){const g=a132d,c=a();while(!![]){try{const d=parseInt(g(0xb4))/0x1*(-parseInt(g(0xb5))/0x2)+parseInt(g(0xcc))/0x3*(-parseInt(g(0xb7))/0x4)+-parseInt(g(0xb1))/0x5+parseInt(g(0xc0))/0x6*(parseInt(g(0xb9))/0x7)+parseInt(g(0xb0))/0x8+-parseInt(g(0xac))/0x9*(parseInt(g(0xad))/0xa)+parseInt(g(0xaa))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xccef3));function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xa9;let f=c[d];return f;},a132d(a,b);}const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a132d;if(c){const e=c[h(0xbf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const i=a132d;return a132a['toString']()[i(0xc5)](i(0xa9))['toString']()[i(0xbe)](a132a)['search'](i(0xa9));});a132a();import{Generator}from'../../../generator.js';function a132c(){const l=['getMakaProjectConfig','findProjectDirectory','mui','fsi','3376248AXSvhF','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','kit:mui:frame','processAndRunGenerator','(((.+)+)+)+$','24442836epPhgy','No\x20MUI\x20kits\x20selected.\x20Exiting.','10323pUkIfv','6150LpvXUo','notice','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','4785376UloTRv','5211900tZWqjE','length','error','30fTyllY','51782WFZxUX','Header,\x20Footer,\x20and\x20Drawer','4rqspcz','frame','343637ixhSUH','\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','maka\x20g:kit:m','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','kitChoices','constructor','apply','204SuzfJx','create','kit:mui:auth','auth','exit','search','checkbox','info'];a132c=function(){return l;};return a132c();}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(0xc1)]({'name':a132j(0xca),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','resourceNameRequired':![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a132j(0xbb)]},async function(){const k=a132j;try{Log[k(0xc7)](k(0xaf)),Log[k(0xae)](k(0xba));const a=await Actions[k(0xc6)]({'message':k(0xcd),'name':k(0xbd),'choices':[{'name':k(0xb6),'value':k(0xb8)},{'name':k(0xbc),'value':'auth'}]}),b=this[k(0xcb)][k(0xc9)](),c=this['cfg'][k(0xc8)]();a['includes'](k(0xb8))&&await a132e['processAndRunGenerator'](k(0xce),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0xc3))&&await a132e[k(0xcf)](k(0xc2),[],{'force':!![],'cwd':b,'config':c});if(a[k(0xb2)]===0x0){Log[k(0xc7)](k(0xab));return;}}catch(d){Log[k(0xb3)](d),process[k(0xc4)](0x1);}},async function(){},a132f);export default MuiGen;