@maka/maka-cli 5.1.10 → 5.1.15

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 (183) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/testCmd/_index.js +1 -0
  100. package/bundle/obf/src/commands/testCmd/jest.sub.cmd.js +1 -0
  101. package/bundle/obf/src/commands/testCmd/mocha.sub.cmd.js +1 -0
  102. package/bundle/obf/src/commands/testCmd/test.command.js +1 -0
  103. package/bundle/obf/src/commands/undo.js +1 -1
  104. package/bundle/obf/src/commands/version/_index.js +1 -0
  105. package/bundle/obf/src/commands/version/list.sub.cmd.js +1 -0
  106. package/bundle/obf/src/commands/version/use.sub.cmd.js +1 -0
  107. package/bundle/obf/src/commands/version/version.js +1 -0
  108. package/bundle/obf/src/error.js +1 -1
  109. package/bundle/obf/src/exec.js +1 -1
  110. package/bundle/obf/src/generator.js +1 -1
  111. package/bundle/obf/src/generators/_index.js +1 -1
  112. package/bundle/obf/src/generators/api.js +1 -1
  113. package/bundle/obf/src/generators/aws/_index.js +1 -1
  114. package/bundle/obf/src/generators/aws/aws.js +1 -1
  115. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  116. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  117. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  118. package/bundle/obf/src/generators/collection.js +1 -1
  119. package/bundle/obf/src/generators/component.js +1 -1
  120. package/bundle/obf/src/generators/config.js +1 -1
  121. package/bundle/obf/src/generators/dbc.js +1 -1
  122. package/bundle/obf/src/generators/dockerfile.js +1 -1
  123. package/bundle/obf/src/generators/hook.js +1 -1
  124. package/bundle/obf/src/generators/kits/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  126. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  127. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  128. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  130. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  131. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  132. package/bundle/obf/src/generators/kits/kit.js +1 -1
  133. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  134. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  135. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  136. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  137. package/bundle/obf/src/generators/layout.js +1 -1
  138. package/bundle/obf/src/generators/maka.gen.js +1 -1
  139. package/bundle/obf/src/generators/methods.js +1 -1
  140. package/bundle/obf/src/generators/package.js +1 -1
  141. package/bundle/obf/src/generators/page.js +1 -1
  142. package/bundle/obf/src/generators/publish.js +1 -1
  143. package/bundle/obf/src/generators/route.js +1 -1
  144. package/bundle/obf/src/generators/service.js +1 -1
  145. package/bundle/obf/src/generators/services/_index.js +1 -1
  146. package/bundle/obf/src/generators/services/openssl.js +1 -1
  147. package/bundle/obf/src/generators/services/translation.js +1 -1
  148. package/bundle/obf/src/maka.js +1 -1
  149. package/bundle/obf/src/tool.js +1 -1
  150. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  151. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  152. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  153. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  154. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  155. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  157. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  158. package/bundle/obf/src/tools/https/https.class.js +1 -1
  159. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  160. package/bundle/obf/src/tools/log/log.class.js +1 -1
  161. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  163. package/bundle/obf/src/tools/options/options.class.js +1 -1
  164. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  165. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  166. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  167. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  168. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  169. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  170. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  171. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  172. package/package.json +1 -1
  173. package/bundle/obf/src/commands/test/_index.js +0 -1
  174. package/bundle/obf/src/commands/test/jest.sub.cmd.js +0 -1
  175. package/bundle/obf/src/commands/test/mocha.sub.cmd.js +0 -1
  176. package/bundle/obf/src/commands/test/test.command.js +0 -1
  177. package/bundle/obf/src/commands/version.js +0 -1
  178. package/bundle/obf/src/templates/react/test/test.js +0 -1
  179. package/bundle/obf/src/templates/react/test/test.js.jsx +0 -38
  180. package/bundle/obf/src/templates/react/test/test.js.ts +0 -1
  181. package/bundle/obf/src/templates/react/test/test.js.tsx +0 -38
  182. package/bundle/obf/src/templates/service/test/jest/jest.config.js +0 -6
  183. package/bundle/obf/src/templates/service/test/jest/jest.setup.js +0 -7
@@ -1 +1 @@
1
- const a114m=a114d;function a114c(){const o=['appPathPrefix','index.','(((.+)+)+)+$','checkMeteorPackage','constructor','197199OjQOxv','53231HYipFt','2962815zwMyji','dir','1609515VlVFGz','scaffold','collections','create','mongo','imports','where','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','5910232baBMDA','engines','20ACiBOy','none','toString','search','test','pathFromApp','projectConfig','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','28XSYbIA','550iBPurM','injectAtEndOfFile','col','1862340pYNNwF','startup','collection/tests.js','85464SqIKYj','template','.app-tests.','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20'];a114c=function(){return o;};return a114c();}(function(a,b){const k=a114d,c=a();while(!![]){try{const d=parseInt(k(0x1bf))/0x1*(parseInt(k(0x1cc))/0x2)+parseInt(k(0x1c2))/0x3+parseInt(k(0x1d8))/0x4+-parseInt(k(0x1c0))/0x5+parseInt(k(0x1db))/0x6*(-parseInt(k(0x1d4))/0x7)+parseInt(k(0x1ca))/0x8+-parseInt(k(0x1be))/0x9*(parseInt(k(0x1d5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x662e7));const a114b=(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;};}()),a114a=a114b(this,function(){const l=a114d;return a114a[l(0x1ce)]()[l(0x1cf)]('(((.+)+)+)+$')[l(0x1ce)]()[l(0x1bd)](a114a)[l(0x1cf)](l(0x1e1));});a114a();import{kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x1bd;let f=c[d];return f;},a114d(a,b);}Generator[a114m(0x1c5)]({'name':'collection','aliases':[a114m(0x1d7)],'usage':a114m(0x1d3),'checkWhere':!![],'shortDesc':a114m(0x1c9),'validOpts':[a114m(0x1c1),a114m(0x1c8)],'mustBeInMakaProject':!![],'description':a114m(0x1de),'examples':['maka\x20g:collection\x20todos']},async function(a,b){const n=a114m;try{const c=this[n(0x1d2)],d=b[n(0x1c1)]?'/'+b[n(0x1c1)]+'/':'/',f=kebabCase(b['resourceName']),g={'name':pascalCase(b['resourceName']),'collectionName':pascalCase(b['resourceName']),'fileName':f,'where':b['where'],'test':c[n(0x1cb)][n(0x1d0)],'noRename':!![]};let h='js';c[n(0x1cb)]['js']==='tsx'&&(h='ts');await this['pkg'][n(0x1e2)]([n(0x1c6)],{'shouldInstall':!![]}),await this[n(0x1c3)][n(0x1dc)]({'srcPath':'collection/collection.js','destPath':this[n(0x1c3)][n(0x1d1)]({'pathParts':[n(0x1c7),n(0x1d9),b[n(0x1df)],'collections',d,f+'.'+h]}),'context':g,'config':c});c['engines'][n(0x1d0)]!==n(0x1cd)&&await this['scaffold'][n(0x1dc)]({'srcPath':n(0x1da),'destPath':this[n(0x1c3)][n(0x1d1)]({'pathParts':[n(0x1c7),n(0x1d9),b[n(0x1df)],n(0x1c4),d,f+n(0x1dd)+h]}),'context':g,'config':c});const i=this['scaffold'][n(0x1d1)]({'pathParts':[n(0x1c7),n(0x1d9),b[n(0x1df)],n(0x1e0)+c['engines']['js']]});await this[n(0x1c3)][n(0x1d6)]({'filePath':i,'content':'import\x20\x27./collections'+d+f+'\x27;'});}catch(j){Log['error'](j);}});
1
+ const a117m=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d=parseInt(k(0x99))/0x1*(-parseInt(k(0xb1))/0x2)+parseInt(k(0xa3))/0x3+parseInt(k(0xa0))/0x4+parseInt(k(0xbb))/0x5+-parseInt(k(0xa5))/0x6+-parseInt(k(0x9c))/0x7*(parseInt(k(0xb5))/0x8)+parseInt(k(0x9f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x1d772));function a117c(){const o=['1482867dhnuyL','743476SBSOVZ','import\x20\x27./collections','maka\x20g:collection\x20todos','105756xugfCK','test','310086kHimUL','collection','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','resourceName','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','where','none','appPathPrefix','.app-tests.','checkMeteorPackage','pathFromApp','search','275202dKcfms','collection/collection.js','engines','col','472GVyDfY','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','imports','startup','template','error','429330dYNPvF','projectConfig','collections','(((.+)+)+)+$','constructor','tsx','1CCBABF','toString','scaffold','19194WoBIsO','dir','injectAtEndOfFile'];a117c=function(){return o;};return a117c();}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['toString']()['search'](l(0x96))[l(0x9a)]()[l(0x97)](a117a)[l(0xb0)]('(((.+)+)+)+$');});a117a();function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x95;let f=c[d];return f;},a117d(a,b);}import{kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a117m(0xa6),'aliases':[a117m(0xb4)],'usage':a117m(0xa9),'checkWhere':!![],'shortDesc':a117m(0xb6),'validOpts':[a117m(0x9d),a117m(0xaa)],'mustBeInMakaProject':!![],'description':a117m(0xa7),'examples':[a117m(0xa2)]},async function(a,b){const n=a117m;try{const c=this[n(0xbc)],d=b[n(0x9d)]?'/'+b[n(0x9d)]+'/':'/',f=kebabCase(b[n(0xa8)]),g={'name':pascalCase(b[n(0xa8)]),'collectionName':pascalCase(b[n(0xa8)]),'fileName':f,'where':b['where'],'test':c[n(0xb3)][n(0xa4)],'noRename':!![]};let h='js';c[n(0xb3)]['js']===n(0x98)&&(h='ts');await this['pkg'][n(0xae)](['mongo'],{'shouldInstall':!![]}),await this['scaffold'][n(0xb9)]({'srcPath':n(0xb2),'destPath':this[n(0x9b)][n(0xaf)]({'pathParts':[n(0xb7),n(0xb8),b[n(0xac)],n(0x95),d,f+'.'+h]}),'context':g,'config':c});c[n(0xb3)]['test']!==n(0xab)&&await this['scaffold'][n(0xb9)]({'srcPath':'collection/tests.js','destPath':this[n(0x9b)][n(0xaf)]({'pathParts':[n(0xb7),n(0xb8),b[n(0xac)],n(0x95),d,f+n(0xad)+h]}),'context':g,'config':c});const i=this['scaffold'][n(0xaf)]({'pathParts':['imports',n(0xb8),b['appPathPrefix'],'index.'+c[n(0xb3)]['js']]});await this[n(0x9b)][n(0x9e)]({'filePath':i,'content':n(0xa1)+d+f+'\x27;'});}catch(j){Log[n(0xba)](j);}});
@@ -1 +1 @@
1
- const a115n=a115d;(function(a,b){const k=a115d,c=a();while(!![]){try{const d=-parseInt(k(0xd9))/0x1+parseInt(k(0xe1))/0x2*(parseInt(k(0x100))/0x3)+parseInt(k(0xd1))/0x4+parseInt(k(0xfc))/0x5*(-parseInt(k(0xdd))/0x6)+parseInt(k(0xf5))/0x7+-parseInt(k(0xff))/0x8*(-parseInt(k(0xd6))/0x9)+-parseInt(k(0xe7))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xd4071));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a115d;if(c){const e=c[l(0xdb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const m=a115d;return a115a[m(0xf9)]()[m(0xcd)](m(0xd0))['toString']()[m(0xd3)](a115a)[m(0xcd)](m(0xd0));});a115a();import a115e from'path';import{camelCase,kebabCase,pascalCase}from'change-case';function a115c(){const p=['1549615FQITRs','maka\x20g:comp\x20todos/todos-item','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','392lZhTdz','534jYubgI','baseDir','string','dir','search','pathFromApp','template/template.css','(((.+)+)+)+$','2989708XAUcLu','relative','constructor','checkNpmPackage','error','267849lqpYxM','component','css','483808hrttdS','className','apply','api','24LBaaVi','injectAtBeginningOfFile','create','import\x20\x27./','1146mSjnxy','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','fsi','resourceName','theme','injectTemplateModule','396060dRhezO','test','projectConfig','fileName','features','scaffold','.js','pkg','react','setTemplate','engines','client','comp','template','2267027nQIaln','ramda','root','assign','toString','.css','.tests.js'];a115c=function(){return p;};return a115c();}function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0xcb;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(0xf3)];Generator[a115n(0xdf)]({'name':a115n(0xd7),'aliases':aliases,'usage':a115n(0xe2),'shortDesc':a115n(0xfe),'mustBeInMakaProject':!![],'validOpts':[{'name':a115n(0x101)}],'examples':[a115n(0xfd)]},async function(a,b){const o=a115n;try{const c=b[o(0x101)]?'/imports/ui/'+b[o(0x101)]:'/imports/ui/components',d=this[o(0xec)][o(0xce)]({'pathParts':[c,b[o(0xcc)],kebabCase(b[o(0xe4)]),kebabCase(b['resourceName'])]}),f=this[o(0xe9)];typeof f['template'][o(0xe8)]===o(0xcb)&&this['cfg']['setTemplate']('test',f[o(0xf4)]['test']);typeof f[o(0xf4)][o(0xd8)]===o(0xcb)&&this['cfg'][o(0xf0)](o(0xd8),f[o(0xf4)][o(0xd8)]);typeof f[o(0xf4)]['js']===o(0xcb)&&this['cfg'][o(0xf0)]('js',f[o(0xf4)]['js']);await this[o(0xee)][o(0xd4)](o(0xf6),{'shouldInstall':!b[o(0xf7)]}),await this['pkg'][o(0xd4)](o(0xef),{'shouldInstall':!b['root']});const g={'name':pascalCase(b[o(0xe4)]),'myPath':a115e[o(0xd2)](this[o(0xe3)]['findProjectDirectory'](),d),'cssCaseName':kebabCase(b[o(0xe4)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[o(0xe4)]),'fileName':kebabCase(b['resourceName']),'graphql':f['engines']['graphql'],'features':f[o(0xeb)],'client':f[o(0xf1)][o(0xf2)],'api':f[o(0xf1)][o(0xdc)],'ssr':f['engines']['ssr'],'test':f[o(0xf1)][o(0xe8)],'theme':f[o(0xf1)][o(0xe5)],'isLayout':![],'isComponent':!![],'withTranslations':f['features']['withTranslations']};await this[o(0xec)]['template']({'srcPath':'component/component.js','destPath':d+o(0xed),'context':g,'framework':o(0xef),'config':f});f[o(0xf1)][o(0xe8)]!=='none'&&await this[o(0xec)][o(0xf4)]({'srcPath':'test/test.js','destPath':d+o(0xfb),'context':g,'framework':o(0xef),'config':f});f[o(0xf4)][o(0xd8)]&&(await this[o(0xec)][o(0xf4)]({'srcPath':o(0xcf),'destPath':d+o(0xfa),'context':Object[o(0xf8)]({},g,{'className':kebabCase(b['resourceName'])}),'config':f}),await this['scaffold'][o(0xde)]({'filePath':d+'.'+f[o(0xf1)]['js'],'content':o(0xe0)+g['cssCaseName']+'.'+f[o(0xf1)][o(0xd8)]+'\x27;'}));const h=b['dir']?'/'+b[o(0xcc)]+'/':'/',i=''+c+h+g['fileName']+'/'+g[o(0xea)];await this[o(0xec)][o(0xe6)](g[o(0xda)],f,i);}catch(j){Log[o(0xd5)](j);}});
1
+ const a118n=a118d;(function(a,b){const k=a118d,c=a();while(!![]){try{const d=parseInt(k(0xba))/0x1+parseInt(k(0xe1))/0x2+parseInt(k(0xd4))/0x3+-parseInt(k(0xe2))/0x4+parseInt(k(0xe3))/0x5+parseInt(k(0xe8))/0x6*(-parseInt(k(0xda))/0x7)+-parseInt(k(0xcc))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xb53a3));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a118d;if(c){const e=c[l(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const m=a118d;return a118a[m(0xec)]()[m(0xe9)](m(0xe0))['toString']()[m(0xe6)](a118a)['search'](m(0xe0));});a118a();import a118e from'path';import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a118n(0xee)];function a118c(){const p=['apply','28eAQOwb','error','string','/imports/ui/','injectTemplateModule','component/component.js','(((.+)+)+)+$','2560866rkMlhZ','2931004iVrWQs','4668660iSpJYF','relative','withTranslations','constructor','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','968052ptWead','search','graphql','root','toString','css','comp','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','component','pathFromApp','react','maka\x20g:comp\x20todos/todos-item','ramda','api','checkNpmPackage','738957fhiBId','engines','findProjectDirectory','theme','import\x20\x27./','template/template.css','none','/imports/ui/components','.js','template','injectAtBeginningOfFile','projectConfig','test/test.js','fileName','pkg','baseDir','assign','features','12378928XFcRVy','cssCaseName','className','scaffold','test','resourceName','cfg','.tests.js','2144010tDUsmW','setTemplate','client','create','dir'];a118c=function(){return p;};return a118c();}function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xb6;let f=c[d];return f;},a118d(a,b);}Generator[a118n(0xd7)]({'name':a118n(0xf0),'aliases':aliases,'usage':a118n(0xe7),'shortDesc':a118n(0xef),'mustBeInMakaProject':!![],'validOpts':[{'name':a118n(0xc9)}],'examples':[a118n(0xb6)]},async function(a,b){const o=a118n;try{const c=b['baseDir']?o(0xdd)+b['baseDir']:o(0xc1),d=this[o(0xcf)][o(0xf1)]({'pathParts':[c,b[o(0xd8)],kebabCase(b[o(0xd1)]),kebabCase(b['resourceName'])]}),f=this[o(0xc5)];typeof f[o(0xc3)]['test']===o(0xdc)&&this[o(0xd2)][o(0xd5)](o(0xd0),f['template'][o(0xd0)]);typeof f[o(0xc3)]['css']===o(0xdc)&&this[o(0xd2)][o(0xd5)]('css',f[o(0xc3)]['css']);typeof f[o(0xc3)]['js']===o(0xdc)&&this[o(0xd2)][o(0xd5)]('js',f['template']['js']);await this['pkg']['checkNpmPackage'](o(0xb7),{'shouldInstall':!b[o(0xeb)]}),await this[o(0xc8)][o(0xb9)](o(0xf2),{'shouldInstall':!b[o(0xeb)]});const g={'name':pascalCase(b[o(0xd1)]),'myPath':a118e[o(0xe4)](this['fsi'][o(0xbc)](),d),'cssCaseName':kebabCase(b['resourceName']),'className':pascalCase(b[o(0xd1)]),'camelCaseName':camelCase(b[o(0xd1)]),'fileName':kebabCase(b[o(0xd1)]),'graphql':f['engines'][o(0xea)],'features':f['features'],'client':f[o(0xbb)][o(0xd6)],'api':f['engines'][o(0xb8)],'ssr':f['engines']['ssr'],'test':f[o(0xbb)][o(0xd0)],'theme':f[o(0xbb)][o(0xbd)],'isLayout':![],'isComponent':!![],'withTranslations':f[o(0xcb)][o(0xe5)]};await this[o(0xcf)][o(0xc3)]({'srcPath':o(0xdf),'destPath':d+o(0xc2),'context':g,'framework':o(0xf2),'config':f});f['engines']['test']!==o(0xc0)&&await this[o(0xcf)][o(0xc3)]({'srcPath':o(0xc6),'destPath':d+o(0xd3),'context':g,'framework':o(0xf2),'config':f});f[o(0xc3)]['css']&&(await this[o(0xcf)][o(0xc3)]({'srcPath':o(0xbf),'destPath':d+'.css','context':Object[o(0xca)]({},g,{'className':kebabCase(b[o(0xd1)])}),'config':f}),await this[o(0xcf)][o(0xc4)]({'filePath':d+'.'+f['engines']['js'],'content':o(0xbe)+g[o(0xcd)]+'.'+f[o(0xbb)][o(0xed)]+'\x27;'}));const h=b[o(0xd8)]?'/'+b[o(0xd8)]+'/':'/',i=''+c+h+g[o(0xc7)]+'/'+g[o(0xc7)];await this[o(0xcf)][o(0xde)](g[o(0xce)],f,i);}catch(j){Log[o(0xdb)](j);}});
@@ -1 +1 @@
1
- const a116m=a116d;(function(a,b){const j=a116d,c=a();while(!![]){try{const d=-parseInt(j(0x1ad))/0x1+-parseInt(j(0x1c1))/0x2+-parseInt(j(0x1ac))/0x3+parseInt(j(0x1b5))/0x4+-parseInt(j(0x1c5))/0x5+parseInt(j(0x1c9))/0x6*(-parseInt(j(0x1b4))/0x7)+parseInt(j(0x1af))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x94239));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a116d;if(c){const e=c[k(0x1c0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const l=a116d;return a116a[l(0x1bb)]()[l(0x1ae)](l(0x1c4))[l(0x1bb)]()[l(0x1cc)](a116a)['search']('(((.+)+)+)+$');});function a116c(){const o=['local','282gBYWAZ','maka\x20{generate,\x20g}:{config}\x20<name>','maka\x20g:config\x20production','constructor','scaffold','resourceName','2729952GacPgX','743112jgzbkQ','search','15741064TptGUQ','error','process.env','settings.json','config','2023cSedAD','3364524uaXSDe','create','config/process.env','prod','template','pathFromProject','toString','appName','config/pm2.config.js','config/settings.json','development','apply','375090OKFKsr','isDocker','dev','(((.+)+)+)+$','1738815gYmoUh','projectConfig','fsi'];a116c=function(){return o;};return a116c();}a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1ac;let f=c[d];return f;},a116d(a,b);}import{camelCase,kebabCase,pascalCase}from'change-case';Generator[a116m(0x1b6)]({'name':a116m(0x1b3),'usage':a116m(0x1ca),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':[a116m(0x1c2)],'mustBeInMakaProject':!![],'examples':[a116m(0x1cb)]},async function(a,b){const n=a116m;try{const c=this[n(0x1c6)],d={'app':c['appName'],'appFileCase':kebabCase(c[n(0x1bc)]),'name':pascalCase(b[n(0x1ce)]),'fileName':kebabCase(b[n(0x1ce)]),'camelCase':camelCase(b[n(0x1ce)]),'userName':'ubuntu','isDocker':b[n(0x1c2)]};let e=b[n(0x1ce)];if(e===n(0x1c3))e=n(0x1bf);else e===n(0x1b8)&&(e='production');const f=this[n(0x1c7)][n(0x1ba)]({'pathParts':[n(0x1b3),e,n(0x1b2)]});await this[n(0x1cd)]['template']({'srcPath':n(0x1be),'destPath':f,'context':d,'config':c});if(e!==n(0x1c8)){const g=this['fsi']['pathFromProject']({'pathParts':[n(0x1b3),e,'pm2.config.js']});await this[n(0x1cd)][n(0x1b9)]({'srcPath':n(0x1bd),'destPath':g,'context':{'app':c['appName'],'isDocker':b['isDocker']||![]},'config':c});}if(e===n(0x1c8)){const h=this[n(0x1c7)][n(0x1ba)]({'pathParts':['config',e,n(0x1b1)]});await this[n(0x1cd)][n(0x1b9)]({'srcPath':n(0x1b7),'destPath':h,'context':d,'config':c});}}catch(i){Log[n(0x1b0)](i);}});
1
+ function a119c(){const n=['isDocker','1983234eRnYYO','projectConfig','(((.+)+)+)+$','fsi','scaffold','4884126JUJHIZ','ubuntu','3hFBPHF','Generate\x20configuration\x20settings.','48537RpDXMC','config/settings.json','5978QeZovh','pathFromProject','9152EWCPfT','688960mloIZw','resourceName','template','3290FyDILX','maka\x20g:config\x20production','3092535tWGCrQ','development','pm2.config.js','appName','prod','config/pm2.config.js','toString','2014588PPXsHo','constructor','local','config'];a119c=function(){return n;};return a119c();}const a119l=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=parseInt(j(0x15e))/0x1+-parseInt(j(0x150))/0x2+parseInt(j(0x157))/0x3*(-parseInt(j(0x14b))/0x4)+-parseInt(j(0x163))/0x5+-parseInt(j(0x155))/0x6+parseInt(j(0x15b))/0x7*(parseInt(j(0x15d))/0x8)+parseInt(j(0x159))/0x9*(parseInt(j(0x161))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x7d1b9));function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x147;let f=c[d];return f;},a119d(a,b);}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const k=a119d;return a119a[k(0x14a)]()['search'](k(0x152))[k(0x14a)]()[k(0x14c)](a119a)['search'](k(0x152));});a119a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,kebabCase,pascalCase}from'change-case';Generator['create']({'name':'config','usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':a119l(0x158),'validOpts':[a119l(0x14f)],'mustBeInMakaProject':!![],'examples':[a119l(0x162)]},async function(a,b){const m=a119l;try{const c=this[m(0x151)],d={'app':c['appName'],'appFileCase':kebabCase(c[m(0x147)]),'name':pascalCase(b[m(0x15f)]),'fileName':kebabCase(b[m(0x15f)]),'camelCase':camelCase(b['resourceName']),'userName':m(0x156),'isDocker':b[m(0x14f)]};let e=b[m(0x15f)];if(e==='dev')e=m(0x164);else e===m(0x148)&&(e='production');const f=this[m(0x153)][m(0x15c)]({'pathParts':['config',e,'settings.json']});await this['scaffold'][m(0x160)]({'srcPath':m(0x15a),'destPath':f,'context':d,'config':c});if(e!==m(0x14d)){const g=this[m(0x153)][m(0x15c)]({'pathParts':['config',e,m(0x165)]});await this['scaffold'][m(0x160)]({'srcPath':m(0x149),'destPath':g,'context':{'app':c[m(0x147)],'isDocker':b['isDocker']||![]},'config':c});}if(e==='local'){const h=this[m(0x153)][m(0x15c)]({'pathParts':[m(0x14e),e,'process.env']});await this[m(0x154)][m(0x160)]({'srcPath':'config/process.env','destPath':h,'context':d,'config':c});}}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- const a117m=a117d;(function(a,b){const k=a117d,c=a();while(!![]){try{const d=parseInt(k(0x141))/0x1+-parseInt(k(0x155))/0x2*(-parseInt(k(0x14a))/0x3)+-parseInt(k(0x14f))/0x4+parseInt(k(0x153))/0x5+parseInt(k(0x15d))/0x6*(parseInt(k(0x152))/0x7)+-parseInt(k(0x140))/0x8*(-parseInt(k(0x163))/0x9)+-parseInt(k(0x13e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x7a1d4));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(0x146)]()[l(0x13c)]('(((.+)+)+)+$')[l(0x146)]()[l(0x14c)](a117a)[l(0x13c)](l(0x144));});a117a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a117c(){const o=['dbc/config.js','21523330ypaTOa','pkg','24JElSlX','699637PvpsBS','projectConfig','mssql','(((.+)+)+)+$','conn.','toString','create','maka\x20g:dbc\x20todos\x20--type=sqlite','scaffold','3438BLpXvt','tsx','constructor','injectAtEndOfFile','sqlite','1467052mJljyP','template','maka\x20g:dbc\x20geoserver\x20--type=pgsql','21kICIck','1268475sSqjkw','-dbc\x27;','882mVlOxu','checkNpmPackage','dbc','error','import\x20\x27./register-','resourceName','imports','engines','1604928USkVYj','pgsql','register-','-dbc.','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','dbc/conn.js','2274282BBYTjT','type','dir','pathFromApp','server','startup','search'];a117c=function(){return o;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x13b;let f=c[d];return f;},a117d(a,b);}Generator[a117m(0x147)]({'name':'dbc','usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a117m(0x161),'validOpts':[a117m(0x165)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a117m(0x164),'values':['pgsql',a117m(0x143),a117m(0x14e)]}],'examples':[a117m(0x151),'maka\x20g:dbc\x20azure\x20--type=mssql',a117m(0x148)]},async function(a,b){const n=a117m;try{const c=this[n(0x142)],d=kebabCase(b['resourceName']),f={'name':pascalCase(b[n(0x15a)]),'fileName':kebabCase(b[n(0x15a)]),'camelCase':camelCase(b['resourceName']),'type':b[n(0x164)],'engine':c[n(0x15c)]['js'],'noRename':!![]},g=b[n(0x165)]?'/'+b[n(0x165)]+'/':'/';let h='js';c[n(0x15c)]['js']===n(0x14b)&&(h='ts');b[n(0x164)]===n(0x15e)&&await this['pkg'][n(0x156)]('pg',{'shouldInstall':!![]});b[n(0x164)]===n(0x143)&&await this[n(0x13f)]['checkNpmPackage']('mssql',{'shouldInstall':!![]});b[n(0x164)]===n(0x14e)&&await this['pkg'][n(0x156)]('better-sqlite3',{'shouldInstall':!![]});await this[n(0x149)][n(0x150)]({'srcPath':n(0x13d),'destPath':this[n(0x149)][n(0x166)]({'pathParts':[n(0x15b),n(0x13b),'server','dbc',g,d,'config.'+h]}),'context':f,'config':c}),await this[n(0x149)]['template']({'srcPath':n(0x162),'destPath':this[n(0x149)][n(0x166)]({'pathParts':[n(0x15b),'startup','server',n(0x157),g,d,n(0x145)+h]}),'context':f,'config':c}),await this['scaffold'][n(0x150)]({'srcPath':'dbc/register-dbc.js','destPath':this[n(0x149)][n(0x166)]({'pathParts':['imports','startup',n(0x167),n(0x15f)+d+n(0x160)+h]}),'context':f,'config':c});const i=this[n(0x149)][n(0x166)]({'pathParts':[n(0x15b),'startup','server','index.'+c[n(0x15c)]['js']]});await this[n(0x149)][n(0x14d)]({'filePath':i,'content':n(0x159)+d+n(0x154)});}catch(j){Log[n(0x158)](j);}});
1
+ function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xc7;let f=c[d];return f;},a120d(a,b);}const a120n=a120d;(function(a,b){const k=a120d,c=a();while(!![]){try{const d=parseInt(k(0xed))/0x1+-parseInt(k(0xe4))/0x2*(-parseInt(k(0xf2))/0x3)+parseInt(k(0xd4))/0x4*(-parseInt(k(0xe6))/0x5)+parseInt(k(0xe5))/0x6*(parseInt(k(0xf6))/0x7)+-parseInt(k(0xe8))/0x8+parseInt(k(0xcb))/0x9*(-parseInt(k(0xd0))/0xa)+-parseInt(k(0xd7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x6e71a));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a120d;if(c){const e=c[l(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const m=a120d;return a120a[m(0xd5)]()['search'](m(0xf0))['toString']()['constructor'](a120a)[m(0xc7)](m(0xf0));});a120a();import{camelCase,kebabCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a120c(){const p=['resourceName','apply','create','engines','type','dbc/register-dbc.js','811310mxPvEQ','774eyPUyu','40jOphvT','dbc/config.js','1742080ZohZVV','dbc','maka\x20g:dbc\x20todos\x20--type=sqlite','scaffold','error','748830rPuriJ','-dbc.','startup','(((.+)+)+)+$','imports','6tnBFgb','pkg','dir','projectConfig','28567ruGDdM','search','conn.','template','index.','5517NxNKQS','injectAtEndOfFile','register-','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','checkNpmPackage','5230EZIcOf','-dbc\x27;','dbc/conn.js','better-sqlite3','333524LilRyq','toString','maka\x20g:dbc\x20azure\x20--type=mssql','4716844epqcRk','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','config.','pathFromApp','server','mssql','pgsql'];a120c=function(){return p;};return a120c();}import{Log}from'../tools/log/log.class.js';Generator[a120n(0xe0)]({'name':a120n(0xe9),'usage':a120n(0xce),'shortDesc':a120n(0xd8),'validOpts':[a120n(0xf4)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a120n(0xe2),'values':[a120n(0xdd),a120n(0xdc),'sqlite']}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql',a120n(0xd6),a120n(0xea)]},async function(a,b){const o=a120n;try{const c=this[o(0xf5)],d=kebabCase(b[o(0xde)]),f={'name':pascalCase(b[o(0xde)]),'fileName':kebabCase(b[o(0xde)]),'camelCase':camelCase(b[o(0xde)]),'type':b[o(0xe2)],'engine':c[o(0xe1)]['js'],'noRename':!![]},g=b['dir']?'/'+b[o(0xf4)]+'/':'/';let h='js';c['engines']['js']==='tsx'&&(h='ts');b[o(0xe2)]===o(0xdd)&&await this[o(0xf3)][o(0xcf)]('pg',{'shouldInstall':!![]});b[o(0xe2)]===o(0xdc)&&await this[o(0xf3)][o(0xcf)]('mssql',{'shouldInstall':!![]});b['type']==='sqlite'&&await this[o(0xf3)][o(0xcf)](o(0xd3),{'shouldInstall':!![]});await this[o(0xeb)]['template']({'srcPath':o(0xe7),'destPath':this[o(0xeb)][o(0xda)]({'pathParts':[o(0xf1),o(0xef),o(0xdb),o(0xe9),g,d,o(0xd9)+h]}),'context':f,'config':c}),await this['scaffold'][o(0xc9)]({'srcPath':o(0xd2),'destPath':this[o(0xeb)][o(0xda)]({'pathParts':[o(0xf1),'startup',o(0xdb),o(0xe9),g,d,o(0xc8)+h]}),'context':f,'config':c}),await this[o(0xeb)][o(0xc9)]({'srcPath':o(0xe3),'destPath':this['scaffold'][o(0xda)]({'pathParts':[o(0xf1),'startup',o(0xdb),o(0xcd)+d+o(0xee)+h]}),'context':f,'config':c});const i=this[o(0xeb)][o(0xda)]({'pathParts':[o(0xf1),'startup',o(0xdb),o(0xca)+c[o(0xe1)]['js']]});await this[o(0xeb)][o(0xcc)]({'filePath':i,'content':'import\x20\x27./register-'+d+o(0xd1)});}catch(j){Log[o(0xec)](j);}});
@@ -1 +1 @@
1
- function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0xd0;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(0xda))/0x1+-parseInt(i(0xe0))/0x2*(-parseInt(i(0xef))/0x3)+parseInt(i(0xd2))/0x4+parseInt(i(0xe9))/0x5+parseInt(i(0xd7))/0x6*(parseInt(i(0xe6))/0x7)+-parseInt(i(0xe1))/0x8+parseInt(i(0xed))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xa70d2));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a118d;if(c){const e=c[j(0xdf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const k=a118d;return a118a[k(0xea)]()[k(0xdc)](k(0xe8))[k(0xea)]()[k(0xde)](a118a)[k(0xdc)](k(0xe8));});a118a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a118e from'path';Generator['create']({'name':a118l(0xec),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a118l(0xd8),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a118l(0xf0),'boolFlag':!![]}],'examples':[a118l(0xdb)]},async function(a,b){const m=a118l;try{const c=this[m(0xd1)][m(0xdd)](),d=await this[m(0xd1)][m(0xd0)](),f=this[m(0xe7)][m(0xd4)](),g={'app':c[m(0xe5)],'config':c,'appPath':a118e[m(0xd3)](f,m(0xeb)),'bundlePath':a118e[m(0xd3)](f,m(0xd9),'app.tar.gz'),'useCert':d['cert']?this[m(0xe7)][m(0xd6)](d[m(0xee)]):![]};await this[m(0xe2)][m(0xe4)]({'srcPath':m(0xe3),'destPath':a118e[m(0xd3)](f,'Dockerfile'),'framework':m(0xd5),'context':g,'config':c,'force':b[m(0xf0)]});}catch(h){Log['error'](h);}});function a118c(){const n=['cert','5703yezEVR','force','getGlobalConfig','cfg','4923656ljQvRp','join','findProjectDirectory','service','isFile','6FLalEK','Generate\x20an\x20updated\x20dockerfile','build','1358707hrrxnI','maka\x20g:dockerfile','search','getMakaProjectConfig','constructor','apply','136uEPVjg','8186168gldLPA','scaffold','docker/Dockerfile','template','appName','3250499WtacsL','fsi','(((.+)+)+)+$','193220xcfnmp','toString','app','dockerfile','10827333wBXRLy'];a118c=function(){return n;};return a118c();}
1
+ const a121l=a121d;(function(a,b){const i=a121d,c=a();while(!![]){try{const d=parseInt(i(0x197))/0x1+-parseInt(i(0x1a8))/0x2+parseInt(i(0x198))/0x3*(parseInt(i(0x195))/0x4)+-parseInt(i(0x18c))/0x5+-parseInt(i(0x18e))/0x6*(-parseInt(i(0x1a1))/0x7)+-parseInt(i(0x192))/0x8*(-parseInt(i(0x196))/0x9)+-parseInt(i(0x190))/0xa*(parseInt(i(0x1a4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x74c15));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a121d;if(c){const e=c[j(0x188)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const k=a121d;return a121a[k(0x191)]()[k(0x1a3)](k(0x187))['toString']()[k(0x19e)](a121a)[k(0x1a3)]('(((.+)+)+)+$');});a121a();import{Generator}from'../generator.js';function a121c(){const n=['create','scaffold','getGlobalConfig','1994150TmAFCn','getMakaProjectConfig','6VIZppm','Generate\x20an\x20updated\x20dockerfile','9984630awxOMK','toString','168TMmNWh','isFile','join','4EzKntm','213201xvUORl','573412PCdiVm','372543weVWKo','findProjectDirectory','build','cert','maka\x20{generate,\x20g}:dockerfile','fsi','constructor','force','maka\x20g:dockerfile','5527207qdBLoh','app','search','11wHWqrZ','Dockerfile','service','docker/Dockerfile','218282OAhgzB','(((.+)+)+)+$','apply'];a121c=function(){return n;};return a121c();}import{Log}from'../tools/log/log.class.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x187;let f=c[d];return f;},a121d(a,b);}import a121e from'path';Generator[a121l(0x189)]({'name':'dockerfile','usage':a121l(0x19c),'shortDesc':a121l(0x18f),'resourceNameRequired':![],'mustBeInMakaProject':!![],'validOpts':[{'name':a121l(0x19f),'boolFlag':!![]}],'examples':[a121l(0x1a0)]},async function(a,b){const m=a121l;try{const c=this['cfg'][m(0x18d)](),d=await this['cfg'][m(0x18b)](),f=this['fsi'][m(0x199)](),g={'app':c['appName'],'config':c,'appPath':a121e[m(0x194)](f,m(0x1a2)),'bundlePath':a121e[m(0x194)](f,m(0x19a),'app.tar.gz'),'useCert':d[m(0x19b)]?this[m(0x19d)][m(0x193)](d['cert']):![]};await this[m(0x18a)]['template']({'srcPath':m(0x1a7),'destPath':a121e[m(0x194)](f,m(0x1a5)),'framework':m(0x1a6),'context':g,'config':c,'force':b[m(0x19f)]});}catch(h){Log['error'](h);}});
@@ -1 +1 @@
1
- const a119o=a119d;(function(a,b){const l=a119d,c=a();while(!![]){try{const d=-parseInt(l(0x144))/0x1+parseInt(l(0x10e))/0x2*(-parseInt(l(0x109))/0x3)+-parseInt(l(0x114))/0x4+-parseInt(l(0x138))/0x5*(parseInt(l(0x126))/0x6)+-parseInt(l(0x136))/0x7*(-parseInt(l(0x111))/0x8)+parseInt(l(0x108))/0x9+-parseInt(l(0x134))/0xa*(-parseInt(l(0x148))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x7f521));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a119d;if(c){const e=c[m(0x11a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const n=a119d;return a119a[n(0x147)]()[n(0x13c)](n(0x13d))[n(0x147)]()[n(0x113)](a119a)[n(0x13c)]('(((.+)+)+)+$');});function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x108;let f=c[d];return f;},a119d(a,b);}function a119c(){const q=['search','(((.+)+)+)+$','pkg','react','components','hooks','className','scaffold','310521wecxVZ','apollo','graphql','toString','1681163ssWUaw','installNpmPackage','fileName','dir','string','1263024yDrlbW','3666ROokax','.app-tests.js','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','setTemplate','engines','236WLPaFY','test/test.js','warn','7873608fHemJL','withTranslations','constructor','413940NrlKQR','assign','checkNpmPackage','pathFromApp','template','projectConfig','apply','create','css','fsi','import\x20\x27./','resourceName','hook','/imports/ui/components','findProjectDirectory','theme','cssCaseName','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','84AjjpDo','Creating\x20','features','test','@apollo/client','injectTemplateModule','template/template.css','/imports/ui/','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','force','maka\x20g:hook\x20cool-hook','none','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','notice','60uDhBpy','.css','7oSomYA','findAppDirectory','343510KVFjmQ','pages','baseDir','@apollo/client\x20isomorphic-fetch'];a119c=function(){return q;};return a119c();}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(0x11b)]({'name':a119o(0x120),'aliases':['h'],'checkWhere':![],'usage':a119o(0x12e),'shortDesc':a119o(0x125),'mustBeInMakaProject':!![],'validOpts':[{'name':'baseDir','values':[a119o(0x141),a119o(0x140),a119o(0x139),'layouts']},{'name':'force','boolFlag':!![]}],'examples':[a119o(0x130)],'description':a119o(0x10b)},async function(a,b){const p=a119o;Log[p(0x133)](p(0x127)+b['resourceName']+'\x20hook...');try{await this[p(0x13e)][p(0x116)](p(0x13f),{'shouldInstall':!![]});const c=this[p(0x11d)][p(0x137)](),d=b[p(0x13a)]?p(0x12d)+b[p(0x13a)]:p(0x121),f=this['scaffold'][p(0x117)]({'pathParts':[d,b[p(0x14b)],kebabCase(b[p(0x11f)]),kebabCase(b['resourceName'])]}),g=this[p(0x119)];typeof g[p(0x118)][p(0x11c)]===p(0x14c)&&this['cfg'][p(0x10c)]('css',g['template'][p(0x11c)]);g[p(0x10d)]['graphql']===p(0x145)&&!this[p(0x13e)][p(0x116)](p(0x12a))&&(Log[p(0x110)](p(0x132)),await this[p(0x13e)][p(0x149)](p(0x13b),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x11f)]),'camelCaseName':camelCase(b[p(0x11f)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b['resourceName']),'graphql':g[p(0x10d)][p(0x146)],'theme':g['engines'][p(0x123)],'test':g[p(0x10d)]['test'],'features':g[p(0x128)],'myPath':a119e['relative'](this[p(0x11d)][p(0x122)](),f),'fileName':kebabCase(b[p(0x11f)]),'isComponent':![],'isLayout':![],'withTranslations':g['features'][p(0x112)]};await this[p(0x143)][p(0x118)]({'srcPath':'hook/hook.js','destPath':f+'.js','context':h,'config':g,'framework':'react','force':b['force']});g[p(0x118)][p(0x11c)]&&(await this[p(0x143)]['template']({'srcPath':p(0x12c),'destPath':f+p(0x135),'context':Object[p(0x115)]({},h,{'className':h[p(0x124)]}),'config':g,'force':b['force']}),await this['scaffold']['injectAtBeginningOfFile']({'filePath':f+'.'+g[p(0x10d)]['js'],'content':p(0x11e)+h[p(0x14a)]+'.'+g[p(0x10d)][p(0x11c)]+'\x27;'}));g['engines'][p(0x129)]!==p(0x131)&&await this[p(0x143)][p(0x118)]({'srcPath':p(0x10f),'destPath':f+p(0x10a),'framework':p(0x13f),'context':h,'config':g,'force':b[p(0x12f)]});const i=b['dir']?'/'+b[p(0x14b)]+'/':'/',j=''+d+i+h[p(0x14a)]+'/'+h[p(0x14a)];await this[p(0x143)][p(0x12b)](h[p(0x142)],g,j);}catch(k){Log['error'](k);}});
1
+ const a122o=a122d;(function(a,b){const l=a122d,c=a();while(!![]){try{const d=parseInt(l(0x18f))/0x1+-parseInt(l(0x1ac))/0x2*(parseInt(l(0x1bf))/0x3)+parseInt(l(0x18a))/0x4*(parseInt(l(0x19c))/0x5)+parseInt(l(0x18e))/0x6+-parseInt(l(0x1a8))/0x7*(-parseInt(l(0x1a1))/0x8)+-parseInt(l(0x195))/0x9+-parseInt(l(0x1aa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xf13e0));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a122d;if(c){const e=c[m(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const n=a122d;return a122a[n(0x1a0)]()[n(0x1bd)](n(0x1a6))[n(0x1a0)]()[n(0x1af)](a122a)['search'](n(0x1a6));});a122a();function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x181;let f=c[d];return f;},a122d(a,b);}import a122e from'path';import{kebabCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a122c(){const q=['6104412pPoCUQ','layouts','hooks','react','resourceName','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','test/test.js','1852540ZjjNTp','theme','features','test','toString','6152JnQKvr','dir','/imports/ui/components','installNpmPackage','none','(((.+)+)+)+$','injectTemplateModule','12481nwPoIC','fileName','22319150LTVHsS','hook/hook.js','632YyQGpe','components','@apollo/client','constructor','className','apollo','template/template.css','warn','css','injectAtBeginningOfFile','notice','baseDir','.app-tests.js','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','findProjectDirectory','create','error','search','@apollo/client\x20isomorphic-fetch','17919HmmmkU','scaffold','cfg','\x20hook...','withTranslations','template','checkNpmPackage','pkg','maka\x20g:hook\x20cool-hook','graphql','engines','force','12PBzdSb','string','assign','fsi','9283452TyfYmJ','1755886ivXbov','pathFromApp','cssCaseName','apply','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','\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'];a122c=function(){return q;};return a122c();}import{Log}from'../tools/log/log.class.js';Generator[a122o(0x1bb)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a122o(0x19a),'shortDesc':a122o(0x1b9),'mustBeInMakaProject':!![],'validOpts':[{'name':a122o(0x1b7),'values':[a122o(0x197),a122o(0x1ad),'pages',a122o(0x196)]},{'name':a122o(0x189),'boolFlag':!![]}],'examples':[a122o(0x186)],'description':a122o(0x194)},async function(a,b){const p=a122o;Log[p(0x1b6)]('Creating\x20'+b[p(0x199)]+p(0x181));try{await this[p(0x185)][p(0x184)](p(0x198),{'shouldInstall':!![]});const c=this[p(0x18d)]['findAppDirectory'](),d=b[p(0x1b7)]?'/imports/ui/'+b['baseDir']:p(0x1a3),f=this[p(0x1c0)][p(0x190)]({'pathParts':[d,b[p(0x1a2)],kebabCase(b['resourceName']),kebabCase(b['resourceName'])]}),g=this['projectConfig'];typeof g[p(0x183)][p(0x1b4)]===p(0x18b)&&this[p(0x1c1)]['setTemplate'](p(0x1b4),g['template'][p(0x1b4)]);g['engines'][p(0x187)]===p(0x1b1)&&!this[p(0x185)][p(0x184)](p(0x1ae))&&(Log[p(0x1b3)](p(0x193)),await this['pkg'][p(0x1a4)](p(0x1be),{'cwd':c}));const h={'cssCaseName':kebabCase(b[p(0x199)]),'camelCaseName':camelCase(b[p(0x199)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b['resourceName']),'graphql':g['engines'][p(0x187)],'theme':g[p(0x188)][p(0x19d)],'test':g[p(0x188)][p(0x19f)],'features':g[p(0x19e)],'myPath':a122e['relative'](this[p(0x18d)][p(0x1ba)](),f),'fileName':kebabCase(b[p(0x199)]),'isComponent':![],'isLayout':![],'withTranslations':g[p(0x19e)][p(0x182)]};await this[p(0x1c0)][p(0x183)]({'srcPath':p(0x1ab),'destPath':f+'.js','context':h,'config':g,'framework':p(0x198),'force':b[p(0x189)]});g[p(0x183)][p(0x1b4)]&&(await this[p(0x1c0)]['template']({'srcPath':p(0x1b2),'destPath':f+'.css','context':Object[p(0x18c)]({},h,{'className':h[p(0x191)]}),'config':g,'force':b['force']}),await this[p(0x1c0)][p(0x1b5)]({'filePath':f+'.'+g[p(0x188)]['js'],'content':'import\x20\x27./'+h[p(0x1a9)]+'.'+g[p(0x188)][p(0x1b4)]+'\x27;'}));g['engines']['test']!==p(0x1a5)&&await this[p(0x1c0)][p(0x183)]({'srcPath':p(0x19b),'destPath':f+p(0x1b8),'framework':'react','context':h,'config':g,'force':b[p(0x189)]});const i=b[p(0x1a2)]?'/'+b['dir']+'/':'/',j=''+d+i+h['fileName']+'/'+h[p(0x1a9)];await this[p(0x1c0)][p(0x1a7)](h[p(0x1b0)],g,j);}catch(k){Log[p(0x1bc)](k);}});
@@ -1 +1 @@
1
- (function(a,b){var f=a120d,c=a();while(!![]){try{var d=parseInt(f(0x1aa))/0x1*(parseInt(f(0x1ae))/0x2)+-parseInt(f(0x1b5))/0x3+-parseInt(f(0x1b1))/0x4+-parseInt(f(0x1ad))/0x5+-parseInt(f(0x1b4))/0x6*(-parseInt(f(0x1b2))/0x7)+-parseInt(f(0x1b7))/0x8+parseInt(f(0x1b0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xe238d));var a120b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a120d;if(c){var e=c[g(0x1b3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){var h=a120d;return a120a[h(0x1b6)]()['search'](h(0x1ac))[h(0x1b6)]()[h(0x1ab)](a120a)[h(0x1af)](h(0x1ac));});function a120d(a,b){var c=a120c();return a120d=function(d,e){d=d-0x1aa;var f=c[d];return f;},a120d(a,b);}a120a();function a120c(){var i=['apply','6fTwaDY','1430715mCWWsZ','toString','5927024XOfByw','970SRuRkt','constructor','(((.+)+)+)+$','4015LJxjHr','918asberY','search','13426209OkJKPC','1868108POeuTp','4726309QkTZpk'];a120c=function(){return i;};return a120c();}import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
1
+ (function(a,b){var f=a123d,c=a();while(!![]){try{var d=-parseInt(f(0x16c))/0x1+parseInt(f(0x172))/0x2+-parseInt(f(0x170))/0x3+parseInt(f(0x167))/0x4+parseInt(f(0x16e))/0x5*(-parseInt(f(0x16a))/0x6)+-parseInt(f(0x16f))/0x7+-parseInt(f(0x16b))/0x8*(-parseInt(f(0x16d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x1ef85));function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x167;var f=c[d];return f;},a123d(a,b);}var a123b=(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;};}()),a123a=a123b(this,function(){var g=a123d;return a123a[g(0x169)]()['search'](g(0x173))[g(0x169)]()[g(0x168)](a123a)[g(0x171)](g(0x173));});a123a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';function a123c(){var h=['456CjKGen','249445hJXKMJ','132237amtVFs','233075PgrwnT','1600123ansejJ','511977YXlQzr','search','234652VUkIei','(((.+)+)+)+$','215176exIkel','constructor','toString','30KQgrdx'];a123c=function(){return h;};return a123c();}import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a121d,c=a();while(!![]){try{var d=parseInt(f(0xdf))/0x1*(-parseInt(f(0xd4))/0x2)+parseInt(f(0xd6))/0x3*(-parseInt(f(0xe2))/0x4)+-parseInt(f(0xdd))/0x5*(-parseInt(f(0xe0))/0x6)+-parseInt(f(0xd8))/0x7+-parseInt(f(0xdc))/0x8+parseInt(f(0xe1))/0x9*(parseInt(f(0xd9))/0xa)+parseInt(f(0xd7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xe2e9a));var a121b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a121d;if(c){var e=c[g(0xda)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){var h=a121d;return a121a[h(0xde)]()[h(0xdb)]('(((.+)+)+)+$')['toString']()['constructor'](a121a)['search'](h(0xd5));});function a121c(){var i=['1rcVxTb','18PzRZZM','73701molxge','59948shwIpF','1264382OXjGqZ','(((.+)+)+)+$','342eeUOJo','26785429dvlSiu','9091670GMNLDb','2010AhKVVQ','apply','search','1348736iFiQhY','1094195NAOxHJ','toString'];a121c=function(){return i;};return a121c();}a121a();function a121d(a,b){var c=a121c();return a121d=function(d,e){d=d-0xd4;var f=c[d];return f;},a121d(a,b);}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ function a124d(a,b){var c=a124c();return a124d=function(d,e){d=d-0xd0;var f=c[d];return f;},a124d(a,b);}(function(a,b){var f=a124d,c=a();while(!![]){try{var d=parseInt(f(0xd6))/0x1+-parseInt(f(0xd5))/0x2+parseInt(f(0xd4))/0x3*(parseInt(f(0xda))/0x4)+parseInt(f(0xde))/0x5*(-parseInt(f(0xd3))/0x6)+-parseInt(f(0xd9))/0x7*(-parseInt(f(0xdb))/0x8)+parseInt(f(0xd0))/0x9*(parseInt(f(0xd2))/0xa)+-parseInt(f(0xdf))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x4c027));var a124b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a124d;if(c){var e=c[g(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){var h=a124d;return a124a[h(0xd7)]()['search'](h(0xdc))['toString']()[h(0xdd)](a124a)[h(0xd1)](h(0xdc));});a124a();import'./auth.generator.js';import'./provider.auth.gen.js';function a124c(){var i=['3890930tpkEAa','6OcEtdg','14829KWMxKY','6750zFxdDF','559695CqqRnO','toString','apply','21qvEIBf','472pBokRY','95208lKVCvF','(((.+)+)+)+$','constructor','1597905NtkxBE','10268214XsTgPx','9sirbet','search'];a124c=function(){return i;};return a124c();}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(0xd1))/0x1*(-parseInt(f(0xdb))/0x2)+parseInt(f(0xce))/0x3*(-parseInt(f(0xcb))/0x4)+-parseInt(f(0xd5))/0x5+parseInt(f(0xcc))/0x6+parseInt(f(0xd4))/0x7*(-parseInt(f(0xd2))/0x8)+parseInt(f(0xcf))/0x9*(-parseInt(f(0xd7))/0xa)+-parseInt(f(0xda))/0xb*(-parseInt(f(0xd8))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x98588));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a122d;if(c){const e=c[g(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const h=a122d;return a122a[h(0xdd)]()[h(0xd0)]('(((.+)+)+)+$')[h(0xdd)]()[h(0xd6)](a122a)['search'](h(0xd9));});a122a();function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xcb;let f=c[d];return f;},a122d(a,b);}import{Generator}from'../../../generator.js';import a122e from'../kit.js';const AuthGen=Generator[a122i(0xdf)]({'name':a122i(0xdc),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','shortDesc':a122i(0xd3),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a122i(0xcd)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){throw'NIE';},async function(){},a122e);export default AuthGen;function a122c(){const j=['Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','21VNUjYs','5530715CVTCVT','constructor','430qvVZox','5080992RbqNDg','(((.+)+)+)+$','44ZfbymZ','539212WJaVnA','auth','toString','apply','create','4HESWFJ','5958966mZejNZ','maka\x20g:kit:a','1748487ZBNqKw','196254RDPvcG','search','4fmHmJo','1372296ZrayKn'];a122c=function(){return j;};return a122c();}
1
+ const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0x1a3))/0x1*(-parseInt(f(0x1b2))/0x2)+-parseInt(f(0x1b6))/0x3+-parseInt(f(0x1af))/0x4*(-parseInt(f(0x1aa))/0x5)+parseInt(f(0x1b1))/0x6*(-parseInt(f(0x1a5))/0x7)+parseInt(f(0x1a4))/0x8*(parseInt(f(0x1b0))/0x9)+-parseInt(f(0x1b3))/0xa+parseInt(f(0x1b4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xb9274));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0x1ac)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0x1ad)]()[h(0x1a8)](h(0x1a7))[h(0x1ad)]()[h(0x1b8)](a125a)[h(0x1a8)](h(0x1a7));});function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x1a3;let f=c[d];return f;},a125d(a,b);}a125a();import{Generator}from'../../../generator.js';import a125e from'../kit.js';const AuthGen=Generator['create']({'name':a125i(0x1ae),'aliases':['a'],'usage':a125i(0x1b7),'shortDesc':a125i(0x1ab),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a125i(0x1b5)],'description':a125i(0x1a6)},async function(){const j=a125i;throw j(0x1a9);},async function(){},a125e);export default AuthGen;function a125c(){const k=['711uZKfOa','114bfXXpn','43982FHnWik','12801510qkLhrX','678117cdpvid','maka\x20g:kit:a','404091cXCNQz','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','constructor','46PghjrM','133032QGkQLK','377377hEmqWs','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','(((.+)+)+)+$','search','NIE','15POhMks','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','apply','toString','auth','1080828ycOcEw'];a125c=function(){return k;};return a125c();}
@@ -1 +1 @@
1
- const a123u=a123d;(function(a,b){const s=a123d,c=a();while(!![]){try{const d=-parseInt(s(0x1c9))/0x1*(parseInt(s(0x1b8))/0x2)+parseInt(s(0x1f2))/0x3*(-parseInt(s(0x1bb))/0x4)+parseInt(s(0x1c7))/0x5+-parseInt(s(0x1f0))/0x6*(-parseInt(s(0x1f5))/0x7)+-parseInt(s(0x1ba))/0x8+-parseInt(s(0x1c1))/0x9*(-parseInt(s(0x1d9))/0xa)+parseInt(s(0x1be))/0xb*(parseInt(s(0x1db))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xa6033));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const t=a123d;return a123a['toString']()[t(0x1d4)](t(0x1dc))[t(0x1f4)]()[t(0x1e9)](a123a)['search']('(((.+)+)+)+$');});a123a();import a123e from'path';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a123d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a123c(){const w=['3101190aJxVmY','AuthService','toString','32816HcjnaY','export\x20const\x20AuthProvider','authentication-service','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-service','19154RLFnCW','REACT','3640648UyBUTt','4fjVieB','const\x20getUserAuthorizations','.js','22QrcAbk','injectIntoFile','processAndRunGenerator','3350772GkEaYl','/imports/startup/client','checkMeteorPackage','index','auth/roles','kit:auth:provider','5778990enjzVH','meteor/maka:react-tracker','68HtCETv','force','injectIntoCodeBlock','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','/imports/startup/client/authentication-service','findAppDirectory','injectImport','server','const\x20deauthenticateUser','search','meteor/accounts-base','const\x20authenticateToken','pathFromApp','useEffect\x5c(','30eAtUff','authentication-provider','583584PodfwV','(((.+)+)+)+$','/imports/startup/lib','error','react','/imports/startup/server/publications/auth/roles.js','exit','create','Meteor.publish','meteor','startup','Accounts','template','Meteor','constructor','const\x20sendForgotPasswordEmail','Meteor.startup','normalize','imports','publish','ssr','576BrFkzo','engines'];a123c=function(){return w;};return a123c();}import a123f from'./auth.generator.js';import a123g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a123u(0x1e2)]({'name':a123u(0x1e4),'aliases':['m'],'usage':a123u(0x1ce),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':[a123u(0x1ca)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a123u(0x1b9)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20'},async function(a,b){const v=a123u,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b['force']||![];await d[v(0x1c3)](['accounts-password'],{'shouldInstall':!![]});const i=c['findProjectDirectory'](),j=c[v(0x1d0)](),k=g[v(0x1f1)][v(0x1ef)]===v(0x1e4);await a123g['processAndRunGenerator'](v(0x1c6),[],{'force':h,'cwd':i,'config':g}),await a123g[v(0x1c0)](v(0x1ee),[v(0x1c5)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a123e[v(0x1ec)](v(0x1e0)),m=k?v(0x1dd):v(0x1c2),n=f[v(0x1d7)]({'pathParts':[m,'','',v(0x1f7)]});await f[v(0x1e7)]({'srcPath':v(0x1cd),'destPath':n+v(0x1bd),'framework':v(0x1df),'context':{},'config':g,'force':h,'ignore':![]});const o=f[v(0x1d7)]({'pathParts':[m,'','',v(0x1da)]}),p=g[v(0x1f1)]['js'];await f[v(0x1d1)]({'filePath':o+'.'+p,'importName':v(0x1f3),'modulePath':k?v(0x1b7):v(0x1cf),'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':'const\x20authenticateUser','replace':!![]}),await f[v(0x1cb)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x1d6),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x1f8),'begin':v(0x1bc),'replace':!![]}),await f[v(0x1cb)]({'filePath':o+'.'+p,'content':v(0x1cc),'begin':v(0x1d3),'replace':!![]}),await f[v(0x1cb)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x1ea),'replace':!![]}),await f[v(0x1cb)]({'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[v(0x1cb)]({'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['injectImport']({'filePath':o+'.'+p,'importName':'useTracker','modulePath':v(0x1c8),'isNamedExport':!![]}),await f[v(0x1bf)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x1f6),'end':v(0x1d8)}));await f[v(0x1d1)]({'filePath':l,'importName':v(0x1e8),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await f[v(0x1cb)]({'filePath':l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x1e3),'replace':!![]});const q=f[v(0x1d7)]({'pathParts':[v(0x1ed),v(0x1e5),v(0x1d2),v(0x1c4)]});await f[v(0x1d1)]({'filePath':q+'.'+p,'importName':v(0x1e6),'modulePath':v(0x1d5),'isNamedExport':!![]}),await f[v(0x1cb)]({'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':v(0x1eb),'replace':!![]});}catch(r){Log[v(0x1de)](r),process[v(0x1e1)](0x1);}},async function(){},a123f);
1
+ const a126u=a126d;(function(a,b){const s=a126d,c=a();while(!![]){try{const d=-parseInt(s(0x15b))/0x1*(parseInt(s(0x160))/0x2)+-parseInt(s(0x17b))/0x3*(parseInt(s(0x14a))/0x4)+parseInt(s(0x16a))/0x5+parseInt(s(0x17c))/0x6*(-parseInt(s(0x150))/0x7)+-parseInt(s(0x161))/0x8*(parseInt(s(0x18f))/0x9)+-parseInt(s(0x17f))/0xa+parseInt(s(0x18e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x6bb4b));const a126b=(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;};}()),a126a=a126b(this,function(){const t=a126d;return a126a[t(0x14d)]()[t(0x148)](t(0x17e))[t(0x14d)]()[t(0x152)](a126a)[t(0x148)]('(((.+)+)+)+$');});a126a();import a126e from'path';import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a126f from'./auth.generator.js';import a126g from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a126c(){const w=['findProjectDirectory','const\x20authenticateToken','startup','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','pathFromApp','\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','react','force','15551QQNDhk','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/lib/authentication-service','meteor','server','102pGnPGX','72hzfxpD','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','Accounts','const\x20getUserAuthorizations','const\x20authenticateUser','AuthService','injectIntoFile','export\x20const\x20AuthProvider','create','2070465bLtWoT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','injectImport','index','/imports/startup/client','meteor/accounts-base','kit/auth/service/meteor-auth-service.js','authentication-provider','Meteor.publish','template','const\x20registerNewUser','injectIntoCodeBlock','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','exit','publish','engines','const\x20deauthenticateUser','219RZOxaO','330BClMkA','\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','(((.+)+)+)+$','7767490albQYb','processAndRunGenerator','meteor/maka:react-tracker','useEffect\x5c(','auth/roles','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','meteor/meteor','Meteor.startup','/imports/startup/lib','imports','useTracker','Meteor','.js','/imports/startup/client/authentication-service','/imports/startup/server/publications/auth/roles.js','32986239nPpYvr','527526XgNwRI','search','\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','36464yZZJRW','const\x20sendForgotPasswordEmail','REACT','toString','error','\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','26579DzncoB','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','constructor'];a126c=function(){return w;};return a126c();}function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x148;let f=c[d];return f;},a126d(a,b);}Generator[a126u(0x169)]({'name':a126u(0x15e),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a126u(0x184),'validOpts':[a126u(0x15a)],'isPro':!![],'resourceNameRequired':![],'mustBeInMakaProject':!![],'requiredEngines':{'client':ClientEngines[a126u(0x14c)]},'description':a126u(0x158)},async function(a,b){const v=a126u,{fsi:c,pkg:d,scaffold:f,projectConfig:g}=this;try{const h=b[v(0x15a)]||![];await d['checkMeteorPackage'](['accounts-password'],{'shouldInstall':!![]});const i=c[v(0x153)](),j=c['findAppDirectory'](),k=g[v(0x179)]['ssr']===v(0x15e);await a126g[v(0x180)]('kit:auth:provider',[],{'force':h,'cwd':i,'config':g}),await a126g['processAndRunGenerator'](v(0x178),[v(0x183)],{'force':h,'globalPublish':!![],'cwd':i,'config':g});const l=j+a126e['normalize'](v(0x18d)),m=k?v(0x187):v(0x16e),n=f[v(0x157)]({'pathParts':[m,'','','authentication-service']});await f[v(0x173)]({'srcPath':v(0x170),'destPath':n+v(0x18b),'framework':v(0x159),'context':{},'config':g,'force':h,'ignore':![]});const o=f[v(0x157)]({'pathParts':[m,'','',v(0x171)]}),p=g[v(0x179)]['js'];await f[v(0x16c)]({'filePath':o+'.'+p,'importName':v(0x166),'modulePath':k?v(0x15d):v(0x18c),'isNamedExport':![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x149),'begin':v(0x165),'replace':!![]}),await f[v(0x175)]({'filePath':o+'.'+p,'content':v(0x14f),'begin':v(0x154),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x15c),'begin':v(0x164),'replace':!![]}),await f[v(0x175)]({'filePath':o+'.'+p,'content':v(0x151),'begin':v(0x17a),'replace':!![]}),await f['injectIntoCodeBlock']({'filePath':o+'.'+p,'content':v(0x16b),'begin':v(0x14b),'replace':!![]}),await f[v(0x175)]({'filePath':o+'.'+p,'content':v(0x176),'begin':v(0x174),'replace':!![]}),await f[v(0x175)]({'filePath':o+'.'+p,'content':v(0x162),'begin':'const\x20resetPasswordWithToken','replace':!![]});k&&(await f[v(0x16c)]({'filePath':o+'.'+p,'importName':v(0x189),'modulePath':v(0x181),'isNamedExport':!![]}),await f[v(0x167)]({'filePath':o+'.'+p,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':v(0x168),'end':v(0x182)}));await f[v(0x16c)]({'filePath':l,'importName':v(0x18a),'modulePath':v(0x185),'isNamedExport':!![],'injectAtStart':!![]}),await f[v(0x175)]({'filePath':l,'content':v(0x17d),'begin':v(0x172),'replace':!![]});const q=f[v(0x157)]({'pathParts':[v(0x188),v(0x155),v(0x15f),v(0x16d)]});await f[v(0x16c)]({'filePath':q+'.'+p,'importName':v(0x163),'modulePath':v(0x16f),'isNamedExport':!![]}),await f[v(0x175)]({'filePath':q+'.'+p,'content':v(0x156),'begin':v(0x186),'replace':!![]});}catch(r){Log[v(0x14e)](r),process[v(0x177)](0x1);}},async function(){},a126f);
@@ -1 +1 @@
1
- function a124c(){const z=['force','<AppRoutes\x20/>','3984uljBxk','injectImport','10CpJwzH','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','provider','const\x20useAuth','</AuthProvider>','304944QauEnH','function\x20useAuth','20jnoGyR','injectIntoCodeBlock','164788NmaLkl','kit/auth/provider/authentication-provider.js','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','/imports/startup/client/index','const\x20PrivateRoute','<AuthProvider>','3357IUURGE','toString','template','constructor','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','785547OhdZlc','engines','530094ZElEMq','155296KhvRkn','injectAroundString','split','exit','<AppRoutes\x20history={history}/>','.js','/imports/startup/lib/authentication-provider','AuthProvider','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','appName','REACT','search','pathFromApp','397958crmCMD','apply','scaffold','AuthContext','/imports/startup/client/authentication-provider','(((.+)+)+)+$','2PLTqYP','bright'];a124c=function(){return z;};return a124c();}function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x71;let f=c[d];return f;},a124d(a,b);}const a124x=a124d;(function(a,b){const u=a124d,c=a();while(!![]){try{const d=-parseInt(u(0x76))/0x1+-parseInt(u(0x97))/0x2*(parseInt(u(0x72))/0x3)+parseInt(u(0x84))/0x4*(parseInt(u(0x9d))/0x5)+parseInt(u(0x83))/0x6+parseInt(u(0x81))/0x7+parseInt(u(0x9b))/0x8*(parseInt(u(0x7c))/0x9)+parseInt(u(0x74))/0xa*(-parseInt(u(0x91))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x1e8fc));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a124d;if(c){const e=c[v(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const w=a124d;return a124a[w(0x7d)]()[w(0x8f)](w(0x96))['toString']()[w(0x7f)](a124a)[w(0x8f)](w(0x96));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a124x(0x9f),'aliases':['p'],'usage':a124x(0x9e),'shortDesc':a124x(0x80),'validOpts':[a124x(0x99)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a124x(0x8e)]},'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['force']||![];Log[y(0x98)](y(0x78));const {projectConfig:d}=this,f=d[y(0x82)]['ssr']==='meteor',g={'name':capitalCase(d[y(0x8d)])},h=f?'/imports/startup/lib':'/imports/startup/client',i=this[y(0x93)]['pathFromApp']({'pathParts':[h,'','','authentication-provider']});await this[y(0x93)][y(0x7e)]({'srcPath':y(0x77),'destPath':i+y(0x89),'framework':'react','context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+'/routes',l=k[y(0x86)]('/'),m=this['scaffold'][y(0x90)]({'pathParts':l});await this[y(0x93)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x94),'modulePath':f?y(0x8a):y(0x95),'isNamedExport':!![]}),await this[y(0x93)]['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold']['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':[y(0xa0),y(0x73)],'replace':!![]}),await this[y(0x93)][y(0x75)]({'filePath':m+'.'+j,'content':y(0x8c),'begin':[y(0x7a)],'replace':!![]});const n=y(0x79),o=n[y(0x86)]('/'),p=this[y(0x93)]['pathFromApp']({'pathParts':o});await this[y(0x93)][y(0x9c)]({'filePath':p+'.'+j,'importName':y(0x8b),'modulePath':f?'/imports/startup/lib/authentication-provider':y(0x95),'isNamedExport':!![]}),await this[y(0x93)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x7b),'belowContent':y(0x71),'targetString':y(0x9a),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q='/imports/startup/server/index',r=q[y(0x86)]('/'),s=this[y(0x93)]['pathFromApp']({'pathParts':r});await this[y(0x93)]['injectImport']({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0x8a):y(0x95),'isNamedExport':!![]}),await this['scaffold'][y(0x85)]({'filePath':s+'.'+j,'aboveContent':y(0x7b),'belowContent':'</AuthProvider>','targetString':y(0x88),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0x87)](0x1);}},async function(){},a124e);
1
+ const a127x=a127d;(function(a,b){const u=a127d,c=a();while(!![]){try{const d=-parseInt(u(0x118))/0x1*(parseInt(u(0x112))/0x2)+parseInt(u(0x122))/0x3+parseInt(u(0x12e))/0x4*(parseInt(u(0x139))/0x5)+parseInt(u(0x111))/0x6+-parseInt(u(0x129))/0x7+parseInt(u(0x133))/0x8+-parseInt(u(0x119))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x3d19f));function a127c(){const z=['create','/imports/startup/lib/authentication-provider','335178WnGRwX','kit/auth/provider/authentication-provider.js','const\x20useAuth','<AuthProvider>','force','<AppRoutes\x20history={history}/>','constructor','191254ZMhSRz','/imports/startup/client','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','scaffold','injectImport','22284ATyGnp','ssr','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','.js','3867488yGHCuJ','pathFromApp','appName','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','template','const\x20PrivateRoute','230CURggs','exit','/routes','/imports/startup/client/authentication-provider','react','REACT','injectAroundString','\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','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','apply','split','/imports/startup/server/index','/imports/startup/lib','search','injectIntoCodeBlock','164118jjnwHc','4ltgjdZ','provider','engines','AuthProvider','useContext','<AppRoutes\x20/>','64929ZXZUOI','4241970CWEqKD','toString','authentication-provider','error','(((.+)+)+)+$','/imports/startup/client/index','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context'];a127c=function(){return z;};return a127c();}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a127d;if(c){const e=c[v(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const w=a127d;return a127a['toString']()[w(0x10f)](w(0x11d))[w(0x11a)]()[w(0x128)](a127a)['search']('(((.+)+)+)+$');});a127a();import{Generator}from'../../../generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x10a;let f=c[d];return f;},a127d(a,b);}import{Log}from'../../../tools/log/log.class.js';import a127e from'./auth.generator.js';import{capitalCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127x(0x120)]({'name':a127x(0x113),'aliases':['p'],'usage':a127x(0x10a),'shortDesc':a127x(0x11f),'validOpts':[a127x(0x126)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127x(0x13e)]},'description':a127x(0x12b)},async function(a,b){const y=a127x;try{const c=b[y(0x126)]||![];Log['bright'](y(0x136));const {projectConfig:d}=this,f=d[y(0x114)][y(0x12f)]===y(0x130),g={'name':capitalCase(d[y(0x135)])},h=f?y(0x10e):y(0x12a),i=this[y(0x12c)][y(0x134)]({'pathParts':[h,'','',y(0x11b)]});await this[y(0x12c)][y(0x137)]({'srcPath':y(0x123),'destPath':i+y(0x132),'framework':y(0x13d),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+y(0x13b),l=k['split']('/'),m=this['scaffold']['pathFromApp']({'pathParts':l});await this[y(0x12c)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x13c),'isNamedExport':!![]}),await this[y(0x12c)]['injectImport']({'filePath':m+'.'+j,'importName':y(0x116),'modulePath':y(0x13d),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x12c)][y(0x110)]({'filePath':m+'.'+j,'content':y(0x131),'begin':[y(0x124),'function\x20useAuth'],'replace':!![]}),await this[y(0x12c)][y(0x110)]({'filePath':m+'.'+j,'content':y(0x140),'begin':[y(0x138)],'replace':!![]});const n=y(0x11e),o=n[y(0x10c)]('/'),p=this[y(0x12c)][y(0x134)]({'pathParts':o});await this[y(0x12c)][y(0x12d)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this['scaffold']['injectAroundString']({'filePath':p+'.'+j,'aboveContent':y(0x125),'belowContent':'</AuthProvider>','targetString':y(0x117),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x10d),r=q[y(0x10c)]('/'),s=this[y(0x12c)][y(0x134)]({'pathParts':r});await this[y(0x12c)][y(0x12d)]({'filePath':s+'.'+j,'importName':y(0x115),'modulePath':f?y(0x121):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[y(0x12c)][y(0x13f)]({'filePath':s+'.'+j,'aboveContent':y(0x125),'belowContent':'</AuthProvider>','targetString':y(0x127),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x11c)](t),process[y(0x13a)](0x1);}},async function(){},a127e);
@@ -1 +1 @@
1
- function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x12e;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x137))/0x1*(parseInt(f(0x133))/0x2)+-parseInt(f(0x134))/0x3+parseInt(f(0x136))/0x4+-parseInt(f(0x12e))/0x5*(-parseInt(f(0x130))/0x6)+-parseInt(f(0x135))/0x7+parseInt(f(0x12f))/0x8*(-parseInt(f(0x138))/0x9)+-parseInt(f(0x13b))/0xa*(-parseInt(f(0x131))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x1dfcf));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[g(0x13a)]()['search'](g(0x139))['toString']()[g(0x132)](a125a)[g(0x13c)](g(0x139));});a125a();function a125c(){var h=['91290HMigSM','search','5rKtWIr','75032VdPRnM','126156kdywrI','693wQNQba','constructor','33722sRMABu','631137ZmzDAI','915250nLZNbu','115740vrdRHJ','9NwkjJx','9wvvWJx','(((.+)+)+)+$','toString'];a125c=function(){return h;};return a125c();}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a128d,c=a();while(!![]){try{var d=parseInt(f(0x1a5))/0x1+parseInt(f(0x1ac))/0x2*(parseInt(f(0x1aa))/0x3)+parseInt(f(0x19f))/0x4+-parseInt(f(0x1a1))/0x5+-parseInt(f(0x1a8))/0x6*(parseInt(f(0x1a7))/0x7)+parseInt(f(0x1a9))/0x8*(parseInt(f(0x1a4))/0x9)+-parseInt(f(0x1a2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xedfc3));var a128b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a128d;if(c){var e=c[g(0x1ab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){var h=a128d;return a128a[h(0x19e)]()[h(0x1a0)](h(0x1a3))[h(0x19e)]()[h(0x1a6)](a128a)[h(0x1a0)](h(0x1a3));});a128a();function a128d(a,b){var c=a128c();return a128d=function(d,e){d=d-0x19e;var f=c[d];return f;},a128d(a,b);}function a128c(){var i=['65233DYvZBB','498rXIIMy','32tqOywm','3THEThw','apply','2301554Nebpcz','toString','4612360eREzeo','search','8207415PhGIRe','25014900vPSujN','(((.+)+)+)+$','3695472UHIWKO','1944938HewsSJ','constructor'];a128c=function(){return i;};return a128c();}import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=parseInt(f(0x114))/0x1+parseInt(f(0x112))/0x2*(parseInt(f(0x10c))/0x3)+-parseInt(f(0x106))/0x4*(-parseInt(f(0x10b))/0x5)+-parseInt(f(0x110))/0x6+-parseInt(f(0x10e))/0x7+parseInt(f(0x103))/0x8*(-parseInt(f(0x10a))/0x9)+parseInt(f(0x107))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xa6c2e));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x102)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x108)]()[h(0x113)]('(((.+)+)+)+$')[h(0x108)]()[h(0x10d)](a126a)[h(0x113)](h(0x109));});a126a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a126e from'../kit.js';const EsriGen=Generator[a126i(0x105)]({'name':'esri','aliases':['e'],'usage':a126i(0x111),'shortDesc':a126i(0x101),'resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a126i(0x10f)],'description':a126i(0x104)},async function(){throw UsageError;},async function(){},a126e);export default EsriGen;function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x101;let f=c[d];return f;},a126d(a,b);}function a126c(){const j=['maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','38oBuDkb','search','373505cISVeJ','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','apply','8plSxfi','\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','create','8528roGifW','32515650UFTune','toString','(((.+)+)+)+$','11573172AAliiK','145zYlbZK','91389ovUlYg','constructor','7540582puPaHF','maka\x20g:kit:e','7317042aAUnRO'];a126c=function(){return j;};return a126c();}
1
+ const a129i=a129d;function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x160;let f=c[d];return f;},a129d(a,b);}(function(a,b){const f=a129d,c=a();while(!![]){try{const d=-parseInt(f(0x165))/0x1+-parseInt(f(0x167))/0x2*(-parseInt(f(0x169))/0x3)+-parseInt(f(0x174))/0x4*(parseInt(f(0x168))/0x5)+-parseInt(f(0x16e))/0x6*(-parseInt(f(0x170))/0x7)+-parseInt(f(0x16a))/0x8+parseInt(f(0x172))/0x9+-parseInt(f(0x164))/0xa*(-parseInt(f(0x171))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xc29e7));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a129d;if(c){const e=c[g(0x16d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const h=a129d;return a129a[h(0x162)]()[h(0x161)](h(0x160))[h(0x162)]()[h(0x16c)](a129a)[h(0x161)](h(0x160));});a129a();import{Generator}from'../../../generator.js';import{UsageError}from'../../../error.js';import a129e from'../kit.js';const EsriGen=Generator[a129i(0x16f)]({'name':a129i(0x166),'aliases':['e'],'usage':a129i(0x163),'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','resourceNameRequired':![],'validOpts':[''],'isPro':!![],'examples':[a129i(0x16b)],'description':a129i(0x173)},async function(){throw UsageError;},async function(){},a129e);export default EsriGen;function a129c(){const j=['1270526TdPfQh','esri','70254UOpeRv','967790WEAzGD','87hrAolL','12079688rZvURi','maka\x20g:kit:e','constructor','apply','1290grYYJT','create','34755WGBWhZ','19297102ZielUE','2860920GbQIGH','\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','12NQFgXV','(((.+)+)+)+$','search','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','10YCuAYd'];a129c=function(){return j;};return a129c();}
@@ -1 +1 @@
1
- const a127v=a127d;(function(a,b){const s=a127d,c=a();while(!![]){try{const d=parseInt(s(0x181))/0x1+-parseInt(s(0x163))/0x2*(parseInt(s(0x171))/0x3)+-parseInt(s(0x188))/0x4*(-parseInt(s(0x169))/0x5)+-parseInt(s(0x176))/0x6*(parseInt(s(0x17f))/0x7)+parseInt(s(0x164))/0x8*(parseInt(s(0x187))/0x9)+parseInt(s(0x16e))/0xa+parseInt(s(0x17a))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xa8361));function a127c(){const x=['Generating\x20a\x20map\x20component','toString','3224584gBklod','kit/esri/map/','checkNpmPackage','injectImport','bright','7MQEDdX','NONE','634934LuUpSO','template','page','injectTemplateModule','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','pathFromApp','9584631IkjJbk','64868GYqvog','esri-loader','constructor','</div>','search','split','exit','apply','processAndRunGenerator','map','/imports/startup/lib/templates','17330wvBpcl','8NLLNyA','@esri/react-arcgis','<div\x20id=\x22map\x22>','error','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','70JjUBOM','REACT','Generate\x20an\x20Esri\x20map\x20component','basic-map','(((.+)+)+)+$','2570170YJgkSv','baseDir','dir','366cZtuDC','.js','/imports/ui/components','appName','injectIntoFile','4385814zBEDqK','findProjectDirectory'];a127c=function(){return x;};return a127c();}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a127d;if(c){const e=c[t(0x15f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const u=a127d;return a127a[u(0x179)]()['search'](u(0x16d))[u(0x179)]()[u(0x18a)](a127a)[u(0x15c)](u(0x16d));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a127e from'./esri.generator.js';import a127f from'../../../generators/maka.gen.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x15b;let f=c[d];return f;},a127d(a,b);}import{kebabCase,capitalCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a127v(0x161),'aliases':['m'],'usage':a127v(0x168),'shortDesc':a127v(0x16b),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a127v(0x16a)],'ssr':SsrEngines[a127v(0x180)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const w=a127v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x17e)](w(0x178));const h=w(0x16c);await f[w(0x17c)]([w(0x165),w(0x189)],{'shouldInstall':!![]});const i=d[w(0x177)](),j=c['engines']['ssr']==='meteor',k=await a127f[w(0x160)](w(0x183),[w(0x161)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x174)])['replaceAll']('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x16f)]?'/imports/ui/'+b[w(0x16f)]:w(0x173),n=g['pathFromApp']({'pathParts':[m,b[w(0x170)],kebabCase(h),kebabCase(h)]});await g[w(0x182)]({'srcPath':w(0x17b)+h+w(0x172),'destPath':n+'.js','framework':'react','context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x170)]+'/'+h+'/'+h;await g[w(0x184)](h,c,o);const p=k[w(0x15d)]('/'),q=g[w(0x186)]({'pathParts':p});await g[w(0x17d)]({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x162):'/imports/startup/client/templates','isNamedExport':!![]}),await g[w(0x175)]({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x185),'begin':['<div\x20id=\x22map\x22>',w(0x166)],'end':[w(0x15b)],'replace':!![]});}catch(r){Log[w(0x167)](r),process[w(0x15e)](0x1);}},async function(){},a127e);
1
+ const a130v=a130d;(function(a,b){const s=a130d,c=a();while(!![]){try{const d=-parseInt(s(0x19a))/0x1*(-parseInt(s(0x1bc))/0x2)+parseInt(s(0x1c0))/0x3+parseInt(s(0x196))/0x4+parseInt(s(0x1ab))/0x5*(parseInt(s(0x1be))/0x6)+parseInt(s(0x19d))/0x7*(parseInt(s(0x1a0))/0x8)+parseInt(s(0x1a5))/0x9+-parseInt(s(0x198))/0xa*(parseInt(s(0x1bb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x5f176));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const t=a130d;if(c){const e=c[t(0x1b9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const u=a130d;return a130a[u(0x1ac)]()[u(0x1b7)]('(((.+)+)+)+$')[u(0x1ac)]()[u(0x1aa)](a130a)[u(0x1b7)](u(0x19f));});a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'./esri.generator.js';import a130f from'../../../generators/maka.gen.js';import{kebabCase,capitalCase,pascalCase}from'change-case';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x195;let f=c[d];return f;},a130d(a,b);}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a130v(0x1ae),'aliases':['m'],'usage':a130v(0x1a6),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'client':ClientEngines[a130v(0x1af)],'ssr':SsrEngines[a130v(0x19c)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const w=a130v;try{const {projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;Log[w(0x1a7)](w(0x1a8));const h=w(0x195);await f[w(0x1b1)]([w(0x1b4),w(0x1ad)],{'shouldInstall':!![]});const i=d[w(0x1b8)](),j=c[w(0x199)][w(0x1bd)]===w(0x1b5),k=await a130f[w(0x19e)]('page',[w(0x1ae)],{'cwd':i,'config':c}),l={'name':capitalCase(c[w(0x197)])[w(0x1c1)]('-','\x20'),'componentName':pascalCase(h)},m=b[w(0x1bf)]?w(0x1a3)+b['baseDir']:w(0x1b3),n=g['pathFromApp']({'pathParts':[m,b[w(0x1a9)],kebabCase(h),kebabCase(h)]});await g['template']({'srcPath':'kit/esri/map/'+h+w(0x1ba),'destPath':n+w(0x1ba),'framework':w(0x19b),'context':l,'config':c,'force':![],'ignore':![]});const o=''+m+b[w(0x1a9)]+'/'+h+'/'+h;await g[w(0x1b2)](h,c,o);const p=k[w(0x1a4)]('/'),q=g[w(0x1b6)]({'pathParts':p});await g['injectImport']({'filePath':q,'importName':pascalCase(h),'modulePath':j?w(0x1b0):w(0x1c2),'isNamedExport':!![]}),await g['injectIntoFile']({'filePath':q,'content':'\x0a<'+pascalCase(h)+w(0x1a1),'begin':[w(0x1a2),w(0x1a2)],'end':['</div>'],'replace':!![]});}catch(r){Log['error'](r),process['exit'](0x1);}},async function(){},a130e);function a130c(){const x=['dir','constructor','7255iKLeDN','toString','esri-loader','map','REACT','/imports/startup/lib/templates','checkNpmPackage','injectTemplateModule','/imports/ui/components','@esri/react-arcgis','meteor','pathFromApp','search','findProjectDirectory','apply','.js','21363452pZVdqG','1284kJjCqO','ssr','3168sZUYZm','baseDir','508074uTozDz','replaceAll','/imports/startup/client/templates','basic-map','1176548jzgeJg','appName','10uotrqg','engines','239yohVTi','react','NONE','7EHnHrK','processAndRunGenerator','(((.+)+)+)+$','4555600JoneeD','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','<div\x20id=\x22map\x22>','/imports/ui/','split','3412035NietkV','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','bright','Generating\x20a\x20map\x20component'];a130c=function(){return x;};return a130c();}
@@ -1 +1 @@
1
- const a128i=a128d;(function(a,b){const f=a128d,c=a();while(!![]){try{const d=-parseInt(f(0x12b))/0x1*(-parseInt(f(0x125))/0x2)+-parseInt(f(0x126))/0x3+-parseInt(f(0x11d))/0x4*(parseInt(f(0x122))/0x5)+-parseInt(f(0x12a))/0x6+parseInt(f(0x11e))/0x7+parseInt(f(0x129))/0x8*(-parseInt(f(0x121))/0x9)+parseInt(f(0x128))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xf0990));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a128d;if(c){const e=c[g(0x123)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const h=a128d;return a128a[h(0x12e)]()[h(0x124)](h(0x12c))[h(0x12e)]()[h(0x12d)](a128a)[h(0x124)](h(0x12c));});a128a();function a128c(){const j=['4620680srUFOe','3273222NEnfkp','3079wVBTZq','(((.+)+)+)+$','constructor','toString','maka\x20{generate,\x20g}:{kit}\x20<name>','create','6790324MTRHZY','1664292zcnovK','kit','maka\x20g:kit','27dbpgCI','5hNYEpz','apply','search','920FNhJSy','4929633cYcNiQ','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','49504760CupSyl'];a128c=function(){return j;};return a128c();}import{Generator}from'../../generator.js';const KitGen=Generator[a128i(0x11c)]({'name':a128i(0x11f),'aliases':['k'],'usage':a128i(0x12f),'shortDesc':a128i(0x127),'minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':[a128i(0x120),'maka\x20g:k']},async function(){});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x11c;let f=c[d];return f;},a128d(a,b);}export default KitGen;
1
+ const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0xd0))/0x1*(parseInt(f(0xdd))/0x2)+parseInt(f(0xd8))/0x3*(-parseInt(f(0xcf))/0x4)+-parseInt(f(0xd1))/0x5+-parseInt(f(0xde))/0x6+-parseInt(f(0xdb))/0x7*(parseInt(f(0xd9))/0x8)+parseInt(f(0xd5))/0x9+parseInt(f(0xdf))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x42241));function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xce;let f=c[d];return f;},a131d(a,b);}const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0xd4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0xe0)]()['search'](h(0xce))[h(0xe0)]()[h(0xd6)](a131a)[h(0xd2)]('(((.+)+)+)+$');});a131a();import{Generator}from'../../generator.js';const KitGen=Generator[a131i(0xda)]({'name':a131i(0xdc),'aliases':['k'],'usage':a131i(0xd3),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'resourceNameRequired':![],'examples':['maka\x20g:kit',a131i(0xd7)]},async function(){});export default KitGen;function a131c(){const j=['1106163ALsjeX','constructor','maka\x20g:k','696093qaNrZj','566448nGVhma','create','14tObydh','kit','14pNUtGA','392664SKeZan','11713790ApMBAE','toString','(((.+)+)+)+$','4bQujND','29698aYKYal','1882000PjEvdL','search','maka\x20{generate,\x20g}:{kit}\x20<name>','apply'];a131c=function(){return j;};return a131c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a129d,c=a();while(!![]){try{var d=-parseInt(f(0xd3))/0x1+-parseInt(f(0xcc))/0x2*(parseInt(f(0xc7))/0x3)+parseInt(f(0xc4))/0x4*(parseInt(f(0xcb))/0x5)+parseInt(f(0xc8))/0x6*(parseInt(f(0xc5))/0x7)+-parseInt(f(0xc6))/0x8*(parseInt(f(0xd2))/0x9)+-parseInt(f(0xce))/0xa*(parseInt(f(0xd1))/0xb)+-parseInt(f(0xcd))/0xc*(-parseInt(f(0xd4))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd0b44));function a129c(){var i=['9cyLZGn','1380639GXwyJW','292812ddLIZu','(((.+)+)+)+$','185336CbepMb','7RxFYpn','1754976LwIvcP','138HRZbTw','3333306UDXnTT','search','toString','130XSYgKU','60388QBiAgk','1704qHlYsG','730weWqwY','constructor','apply','167992GvdUpT'];a129c=function(){return i;};return a129c();}var a129b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a129d;if(c){var e=c[g(0xd0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){var h=a129d;return a129a[h(0xca)]()['search'](h(0xd5))['toString']()[h(0xcf)](a129a)[h(0xc9)]('(((.+)+)+)+$');});a129a();function a129d(a,b){var c=a129c();return a129d=function(d,e){d=d-0xc4;var f=c[d];return f;},a129d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a132d,c=a();while(!![]){try{var d=parseInt(f(0x197))/0x1+-parseInt(f(0x19a))/0x2+-parseInt(f(0x193))/0x3*(parseInt(f(0x19d))/0x4)+parseInt(f(0x19c))/0x5*(-parseInt(f(0x19f))/0x6)+-parseInt(f(0x19b))/0x7*(-parseInt(f(0x198))/0x8)+parseInt(f(0x195))/0x9+parseInt(f(0x19e))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x4f956));function a132c(){var i=['713880hweRTk','search','256226ilvuFn','1701584DLQNDq','(((.+)+)+)+$','781478qzrrmx','21GGfzah','15FFKwsf','665232ydcrVu','1977560MXyoff','576750FzUCwb','toString','3YpxcUF','apply'];a132c=function(){return i;};return a132c();}var a132b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a132d;if(c){var e=c[g(0x194)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){var h=a132d;return a132a['toString']()[h(0x196)](h(0x199))[h(0x192)]()['constructor'](a132a)[h(0x196)](h(0x199));});a132a();import'./mui.generator.js';import'./frame.mui.gen.js';function a132d(a,b){var c=a132c();return a132d=function(d,e){d=d-0x192;var f=c[d];return f;},a132d(a,b);}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(0x107))/0x1+parseInt(I(0x118))/0x2+-parseInt(I(0x12c))/0x3+-parseInt(I(0x120))/0x4*(-parseInt(I(0x132))/0x5)+parseInt(I(0x12e))/0x6+parseInt(I(0x11b))/0x7+parseInt(I(0x124))/0x8*(-parseInt(I(0x113))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xe8a3a));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a130d;if(c){const e=c[J(0x106)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const K=a130d;return a130a[K(0x136)]()[K(0x12d)]('(((.+)+)+)+$')[K(0x136)]()[K(0x133)](a130a)[K(0x12d)](K(0x10d));});function a130c(){const O=['force','(((.+)+)+)+$','appName','kit/mui/auth/register/','basic-forgot-password-page','/imports/startup/lib/authentication-provider','maka\x20g:k:m:a','4203MHHfyG','meteor','forgot-password','REACT','kit/mui/auth/forgot-password/','2841744jVAPvz','route','split','9756530tNqOfa','layouts','logout','register','basic-login-page','8ZxLdjR','processAndRunGenerator','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','basic-register-page','48584kkGuxg','kit:auth:meteor','react','AuthContext','findProjectDirectory','injectTemplateModule','custom','create','3638307CjoYvd','search','89634MCzeDl','Meteor\x20Accounts','basic-password-reset-page','error','707365GxwZQf','constructor','injectImport','select','toString','reset-password/:token','dir','engines','log','.js','pathFromApp','kit/mui/auth/login/','/imports/startup/client/authentication-provider','baseDir','kit/mui/auth/logout/','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','basic-logout-page','MATERIAL','kit:auth:provider','apply','1889203zwOIae','exit','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','template','login'];a130c=function(){return O;};return a130c();}a130a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x101;let f=c[d];return f;},a130d(a,b);}Generator[a130L(0x12b)]({'name':'auth','aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','shortDesc':a130L(0x102),'validOpts':[a130L(0x11c),a130L(0x10c)],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a130L(0x104)],'client':ClientEngines[a130L(0x116)]},'examples':['maka\x20generate:kit:mui:auth',a130L(0x112)],'description':a130L(0x122)},async function(a,b){const M=a130L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b[M(0x10c)]||![],h=d[M(0x128)](),i=await Actions[M(0x135)]({'name':'authType','message':M(0x109),'choices':[{'name':M(0x12f),'value':'meteor'},{'name':'Custom\x20(roll\x20your\x20own)','value':M(0x12a)}]}),j='basic-login-page',k='basic-logout-page',l=M(0x123),m=M(0x130),n=M(0x110),o=b[M(0x13f)]?'/imports/ui/'+b['baseDir']:'/imports/ui/pages/auth',p=f[M(0x13c)]({'pathParts':[o,b[M(0x138)],kebabCase(j),kebabCase(j)]}),q=f[M(0x13c)]({'pathParts':[o,b['dir'],kebabCase(k),kebabCase(k)]}),r=f[M(0x13c)]({'pathParts':[o,b[M(0x138)],kebabCase(l),kebabCase(l)]}),s=f[M(0x13c)]({'pathParts':[o,b['dir'],kebabCase(m),kebabCase(m)]}),t=f[M(0x13c)]({'pathParts':[o,b[M(0x138)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0x10e)])};await f[M(0x10a)]({'srcPath':M(0x13d)+j+M(0x13b),'destPath':p+M(0x13b),'framework':'react','context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x101)+k+'.js','destPath':q+M(0x13b),'framework':M(0x126),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x10a)]({'srcPath':M(0x10f)+l+M(0x13b),'destPath':r+'.js','framework':M(0x126),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x10a)]({'srcPath':'kit/mui/auth/password-reset/'+m+M(0x13b),'destPath':s+'.js','framework':M(0x126),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x117)+n+'.js','destPath':t+M(0x13b),'framework':M(0x126),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0x138)]+'/'+j+'/'+j;await f[M(0x129)](j,c,v);const w=''+o+b[M(0x138)]+'/'+k+'/'+k;await f[M(0x129)](k,c,w);const x=''+o+b[M(0x138)]+'/'+l+'/'+l;await f[M(0x129)](l,c,x);const y=''+o+b[M(0x138)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b[M(0x138)]+'/'+n+'/'+n;await f[M(0x129)](n,c,z),await a130e[M(0x121)](M(0x119),[M(0x11f)],{'route':M(0x10b),'cwd':h,'config':c}),await a130e[M(0x121)](M(0x119),[M(0x103)],{'route':M(0x11d),'private':!![],'cwd':h,'config':c}),await a130e[M(0x121)]('route',['basic-register-page'],{'route':M(0x11e),'cwd':h,'config':c}),await a130e[M(0x121)]('route',[M(0x130)],{'route':M(0x137),'cwd':h,'config':c}),await a130e['processAndRunGenerator'](M(0x119),['basic-forgot-password-page'],{'route':M(0x115),'cwd':h,'config':c});i===M(0x114)&&await a130e[M(0x121)](M(0x125),[],{'force':g,'cwd':h,'config':c});i===M(0x12a)&&await a130e[M(0x121)](M(0x105),[],{'force':g,'cwd':h,'config':c});const A=c[M(0x139)]['ssr']===M(0x114),B=c[M(0x139)]['js'],C=f[M(0x13c)]({'pathParts':v[M(0x11a)]('/')});await f['injectImport']({'filePath':C+'.'+B,'importName':M(0x127),'modulePath':A?M(0x111):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0x13c)]({'pathParts':w[M(0x11a)]('/')});await f['injectImport']({'filePath':D+'.'+B,'importName':M(0x127),'modulePath':A?M(0x111):M(0x13e),'isNamedExport':!![]});const E=f['pathFromApp']({'pathParts':x['split']('/')});await f[M(0x134)]({'filePath':E+'.'+B,'importName':'AuthContext','modulePath':A?M(0x111):M(0x13e),'isNamedExport':!![]});const F=f[M(0x13c)]({'pathParts':y[M(0x11a)]('/')});await f[M(0x134)]({'filePath':F+'.'+B,'importName':'AuthContext','modulePath':A?'/imports/startup/lib/authentication-provider':M(0x13e),'isNamedExport':!![]});const G=f[M(0x13c)]({'pathParts':z[M(0x11a)]('/')});await f[M(0x134)]({'filePath':G+'.'+B,'importName':M(0x127),'modulePath':A?M(0x111):M(0x13e),'isNamedExport':!![]});}catch(H){Log[M(0x131)](H),process[M(0x108)](0x1);}},async function(){const N=a130L;console[N(0x13a)]('Cleaning\x20up...');},a130f);export default a130f;
1
+ function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0xef;let f=c[d];return f;},a133d(a,b);}const a133L=a133d;(function(a,b){const I=a133d,c=a();while(!![]){try{const d=-parseInt(I(0x112))/0x1*(-parseInt(I(0x124))/0x2)+parseInt(I(0xfc))/0x3+-parseInt(I(0xf4))/0x4*(-parseInt(I(0x122))/0x5)+-parseInt(I(0x10e))/0x6*(parseInt(I(0x114))/0x7)+-parseInt(I(0x115))/0x8*(parseInt(I(0x11a))/0x9)+-parseInt(I(0x103))/0xa+-parseInt(I(0xf0))/0xb*(-parseInt(I(0x12d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xed416));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a133d;if(c){const e=c[J(0x126)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const K=a133d;return a133a['toString']()[K(0x123)](K(0x113))[K(0xfa)]()['constructor'](a133a)[K(0x123)]('(((.+)+)+)+$');});a133a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a133e from'../../../generators/maka.gen.js';import a133f from'./mui.generator.js';import{kebabCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a133L(0xff),'aliases':['a'],'usage':a133L(0x100),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a133L(0x10a),'force'],'isPro':!![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a133L(0x108)],'client':ClientEngines[a133L(0x129)]},'examples':[a133L(0x12c),a133L(0xf7)],'description':a133L(0xfb)},async function(a,b){const M=a133L;try{const {projectConfig:c,fsi:d,scaffold:f}=this,g=b['force']||![],h=d['findProjectDirectory'](),i=await Actions[M(0x106)]({'name':'authType','message':'What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','choices':[{'name':M(0x10f),'value':M(0xf2)},{'name':M(0x121),'value':'custom'}]}),j='basic-login-page',k=M(0xf5),l=M(0x120),m=M(0x10c),n=M(0x127),o=b[M(0x119)]?M(0x12b)+b[M(0x119)]:M(0xf8),p=f['pathFromApp']({'pathParts':[o,b[M(0xfd)],kebabCase(j),kebabCase(j)]}),q=f[M(0x10b)]({'pathParts':[o,b[M(0xfd)],kebabCase(k),kebabCase(k)]}),r=f[M(0x10b)]({'pathParts':[o,b[M(0xfd)],kebabCase(l),kebabCase(l)]}),s=f[M(0x10b)]({'pathParts':[o,b[M(0xfd)],kebabCase(m),kebabCase(m)]}),t=f['pathFromApp']({'pathParts':[o,b[M(0xfd)],kebabCase(n),kebabCase(n)]}),u={'name':capitalCase(c[M(0xf1)])};await f[M(0x11d)]({'srcPath':M(0x109)+j+M(0x118),'destPath':p+'.js','framework':M(0xef),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x11d)]({'srcPath':M(0x101)+k+'.js','destPath':q+M(0x118),'framework':M(0xef),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x11d)]({'srcPath':'kit/mui/auth/register/'+l+M(0x118),'destPath':r+M(0x118),'framework':M(0xef),'context':u,'config':c,'force':g,'ignore':![]}),await f['template']({'srcPath':M(0x125)+m+M(0x118),'destPath':s+M(0x118),'framework':M(0xef),'context':u,'config':c,'force':g,'ignore':![]}),await f[M(0x11d)]({'srcPath':M(0xfe)+n+'.js','destPath':t+M(0x118),'framework':M(0xef),'context':u,'config':c,'force':g,'ignore':![]});const v=''+o+b[M(0xfd)]+'/'+j+'/'+j;await f[M(0x128)](j,c,v);const w=''+o+b[M(0xfd)]+'/'+k+'/'+k;await f[M(0x128)](k,c,w);const x=''+o+b[M(0xfd)]+'/'+l+'/'+l;await f[M(0x128)](l,c,x);const y=''+o+b[M(0xfd)]+'/'+m+'/'+m;await f['injectTemplateModule'](m,c,y);const z=''+o+b['dir']+'/'+n+'/'+n;await f[M(0x128)](n,c,z),await a133e[M(0x105)]('route',[M(0x102)],{'route':'login','cwd':h,'config':c}),await a133e[M(0x105)](M(0x12a),[M(0xf5)],{'route':M(0x11c),'private':!![],'cwd':h,'config':c}),await a133e[M(0x105)](M(0x12a),[M(0x120)],{'route':M(0x11e),'cwd':h,'config':c}),await a133e[M(0x105)](M(0x12a),[M(0x10c)],{'route':'reset-password/:token','cwd':h,'config':c}),await a133e['processAndRunGenerator'](M(0x12a),['basic-forgot-password-page'],{'route':'forgot-password','cwd':h,'config':c});i===M(0xf2)&&await a133e['processAndRunGenerator'](M(0xf6),[],{'force':g,'cwd':h,'config':c});i===M(0x111)&&await a133e[M(0x105)]('kit:auth:provider',[],{'force':g,'cwd':h,'config':c});const A=c['engines'][M(0x10d)]===M(0xf2),B=c[M(0x11b)]['js'],C=f['pathFromApp']({'pathParts':v[M(0xf3)]('/')});await f[M(0x116)]({'filePath':C+'.'+B,'importName':M(0x110),'modulePath':A?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=f[M(0x10b)]({'pathParts':w[M(0xf3)]('/')});await f[M(0x116)]({'filePath':D+'.'+B,'importName':'AuthContext','modulePath':A?M(0x104):M(0x107),'isNamedExport':!![]});const E=f[M(0x10b)]({'pathParts':x[M(0xf3)]('/')});await f['injectImport']({'filePath':E+'.'+B,'importName':'AuthContext','modulePath':A?M(0x104):M(0x107),'isNamedExport':!![]});const F=f['pathFromApp']({'pathParts':y['split']('/')});await f[M(0x116)]({'filePath':F+'.'+B,'importName':M(0x110),'modulePath':A?M(0x104):M(0x107),'isNamedExport':!![]});const G=f[M(0x10b)]({'pathParts':z[M(0xf3)]('/')});await f[M(0x116)]({'filePath':G+'.'+B,'importName':'AuthContext','modulePath':A?M(0x104):M(0x107),'isNamedExport':!![]});}catch(H){Log[M(0x117)](H),process['exit'](0x1);}},async function(){const N=a133L;console[N(0xf9)](N(0x11f));},a133f);function a133c(){const O=['basic-logout-page','kit:auth:meteor','maka\x20g:k:m:a','/imports/ui/pages/auth','log','toString','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20setup\x20with\x20login,\x20logout,\x20registration,\x20and\x20password\x20reset\x20pages.\x0a\x20\x20','5714247gBCaSO','dir','kit/mui/auth/forgot-password/','auth','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{auth,\x20a}','kit/mui/auth/logout/','basic-login-page','5597140ZrXQAq','/imports/startup/lib/authentication-provider','processAndRunGenerator','select','/imports/startup/client/authentication-provider','MATERIAL','kit/mui/auth/login/','layouts','pathFromApp','basic-password-reset-page','ssr','287604wHOOSt','Meteor\x20Accounts','AuthContext','custom','3733LkeqKE','(((.+)+)+)+$','224GyyKLl','6566536sxVFNG','injectImport','error','.js','baseDir','9ZOQcTZ','engines','logout','template','register','Cleaning\x20up...','basic-register-page','Custom\x20(roll\x20your\x20own)','5DnxEIA','search','14fpeZOG','kit/mui/auth/password-reset/','apply','basic-forgot-password-page','injectTemplateModule','REACT','route','/imports/ui/','maka\x20generate:kit:mui:auth','108jscCWW','react','1705682XFnpOE','appName','meteor','split','2239116FmMfQp'];a133c=function(){return O;};return a133c();}export default a133f;
@@ -1 +1 @@
1
- const a131G=a131d;(function(a,b){const E=a131d,c=a();while(!![]){try{const d=parseInt(E(0x1ee))/0x1*(-parseInt(E(0x1df))/0x2)+parseInt(E(0x1f5))/0x3+-parseInt(E(0x212))/0x4*(-parseInt(E(0x201))/0x5)+-parseInt(E(0x1e3))/0x6+parseInt(E(0x216))/0x7*(parseInt(E(0x1e2))/0x8)+parseInt(E(0x219))/0x9+-parseInt(E(0x1da))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x7c112));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(0x21a)]()[F(0x1e9)](F(0x200))['toString']()[F(0x207)](a131a)[F(0x1e9)](F(0x200));});a131a();import{Generator}from'../../../generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a131d(a,b);}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 a131c(){const J=['\x20/>\x0a','baseDir','pathFromApp','appName','dir','getDirectories','basic-sticky-footer','meteor','Cleaning\x20up...','No\x20layouts\x20selected','(((.+)+)+)+$','25OVrdqq','injectAroundString','kit/mui/frame/app-bars/','<Outlet/>','</div>','injectTemplateModule','constructor','template','<div\x20id=\x22','injectImport','length','/imports/ui/components','kit/mui/frame/drawers/','findAppDirectory','imports','session','getFiles','6056dAsQHd','.js','engines','ssr','112pcbfCS','tsx','create','1741068fleqfT','toString','error','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','react','@mui/material/Box','/imports/ui/','/imports/startup/lib/templates','@mui/material/Container','1819230NGmYOg','<Outlet\x20/>','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','-hook\x22>','MATERIAL','2ayYtWI','checkMeteorPackage','test','387704iBlFky','607908QsmvQj','log','<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>','injectIntoFile','force','/imports/startup/client/templates','search','basic-drawer','frame','map','Box','635161wvfCGQ','kit/mui/frame/footers/','layouts','join','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','maka\x20generate:kit:mui:frame','basic-app-bar','1350450FYzCbF'];a131c=function(){return J;};return a131c();}import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a131G(0x218)]({'name':a131G(0x1eb),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a131G(0x1f0),a131G(0x1f7),a131G(0x1fa),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a131G(0x1de)],'client':ClientEngines['REACT']},'examples':[a131G(0x1f3),'maka\x20g:k:m:f'],'description':a131G(0x21c)},async function(a,b){const H=a131G,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[H(0x1e7)]||![],i=H(0x1f4),j=H(0x1ea),k=H(0x1fc),l=c[H(0x214)][H(0x215)]===H(0x1fd);await f[H(0x1e0)]([H(0x210),'maka:react-tracker'],{'shouldInstall':!![]});const m=d[H(0x20e)](),n=a131e['join'](m,H(0x20f),'ui','layouts'),o=d[H(0x1fb)](n),p=o[H(0x1ec)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':H(0x1dc),'name':'layouts','choices':p});if(q[H(0x20b)]===0x0){Log['error'](H(0x1ff));return;}const r=b[H(0x1f7)]?H(0x1d7)+b['baseDir']:H(0x20c),s=g[H(0x1f8)]({'pathParts':[r,b[H(0x1fa)],kebabCase(i),kebabCase(i)]}),t=g[H(0x1f8)]({'pathParts':[r,b[H(0x1fa)],kebabCase(j),kebabCase(j)]}),u=g[H(0x1f8)]({'pathParts':[r,b[H(0x1fa)],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c[H(0x1f9)])};await g[H(0x208)]({'srcPath':H(0x203)+i+H(0x213),'destPath':s+H(0x213),'framework':H(0x21d),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x208)]({'srcPath':H(0x20d)+j+H(0x213),'destPath':t+H(0x213),'framework':H(0x21d),'context':v,'config':c,'force':h,'ignore':![]}),await g[H(0x208)]({'srcPath':H(0x1ef)+k+'.js','destPath':u+H(0x213),'framework':H(0x21d),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b['dir']+'/'+i+'/'+i;await g[H(0x206)](i,c,w);const x=''+r+b[H(0x1fa)]+'/'+j+'/'+j;await g[H(0x206)](j,c,x);const y=''+r+b[H(0x1fa)]+'/'+k+'/'+k;await g['injectTemplateModule'](k,c,y);for(const z of q){const A=d[H(0x211)](a131e[H(0x1f1)](n,z),{'extensions':['jsx',H(0x217)],'omit':['app-tests','tests',H(0x1e1)]});for(const B of A){const C=a131e['join'](n,z,B);await g[H(0x20a)]({'filePath':C,'importName':H(0x1ed),'modulePath':H(0x21e),'isNamedExport':![]}),await g['injectImport']({'filePath':C,'importName':'Container','modulePath':H(0x1d9),'isNamedExport':![]}),await g[H(0x20a)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?'/imports/startup/lib/templates':H(0x1e8),'isNamedExport':!![]}),await g[H(0x1e6)]({'filePath':C,'content':'<'+pascalCase(i)+H(0x1f6),'begin':[H(0x209)+z+'\x22>','<div\x20id=\x22'+z+H(0x1dd)],'end':[H(0x204),H(0x1db)]}),await g[H(0x20a)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?H(0x1d8):'/imports/startup/client/templates','isNamedExport':!![]}),await g[H(0x1e6)]({'filePath':C,'content':'<'+pascalCase(j)+H(0x1f6),'begin':[H(0x209)+z+'\x22>',H(0x209)+z+H(0x1dd)],'end':[H(0x204),H(0x1db)]}),await g[H(0x1e6)]({'filePath':C,'content':'<'+pascalCase(k)+H(0x1f6),'begin':[H(0x204),H(0x1db)],'end':[H(0x205)]}),await g['injectImport']({'filePath':C,'importName':pascalCase(k),'modulePath':l?H(0x1d8):H(0x1e8),'isNamedExport':!![]}),await g[H(0x202)]({'filePath':C,'aboveContent':H(0x1e5),'belowContent':H(0x1f2),'targetString':[H(0x204),'<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(D){Log[H(0x21b)](D);}},async function(){const I=a131G;console[I(0x1e4)](I(0x1fe));},a131f);
1
+ function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xe9;let f=c[d];return f;},a134d(a,b);}function a134c(){const K=['maka\x20generate:kit:mui:frame','351688OqAgRQ','maka:react-tracker','force','<div\x20id=\x22','injectIntoFile','error','tsx','15neAJKw','length','11768oVrmNG','(((.+)+)+)+$','template','imports','Cleaning\x20up...','search','979230TSBqAf','MATERIAL','tests','dir','maka\x20g:k:m:f','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','layouts','join','react','app-tests','/imports/startup/lib/templates','@mui/material/Box','basic-app-bar','/imports/startup/client/templates','-hook\x22>','frame','ssr','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','injectTemplateModule','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','100484UbuuYZ','checkMeteorPackage','REACT','baseDir','session','</div>','pathFromApp','75875jCdoUS','kit/mui/frame/drawers/','639776XgzRZH','2474577LrfrPn','getFiles','injectImport','<Outlet/>','toString','33abYgJo','<Outlet\x20/>','/imports/ui/components','apply','1253qyoore','.js','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','map','No\x20layouts\x20selected','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','102xhhhSe','\x20/>\x0a','basic-sticky-footer','log','test','constructor','meteor'];a134c=function(){return K;};return a134c();}const a134H=a134d;(function(a,b){const E=a134d,c=a();while(!![]){try{const d=parseInt(E(0x114))/0x1+-parseInt(E(0xf3))/0x2*(-parseInt(E(0x11b))/0x3)+parseInt(E(0xfc))/0x4+-parseInt(E(0xfa))/0x5*(parseInt(E(0x10c))/0x6)+parseInt(E(0x106))/0x7*(-parseInt(E(0x11d))/0x8)+parseInt(E(0xfd))/0x9+-parseInt(E(0x123))/0xa*(parseInt(E(0x102))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x36616));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const F=a134d;if(c){const e=c[F(0x105)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const G=a134d;return a134a[G(0x101)]()[G(0x122)](G(0x11e))[G(0x101)]()[G(0x111)](a134a)[G(0x122)]('(((.+)+)+)+$');});a134a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a134e from'path';import a134f from'./mui.generator.js';import{kebabCase,pascalCase,capitalCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a134H(0xee),'aliases':['f'],'usage':a134H(0xf2),'shortDesc':a134H(0x10b),'validOpts':[a134H(0x129),a134H(0xf6),a134H(0x126),'force'],'isPro':![],'mustBeInMakaProject':!![],'resourceNameRequired':![],'requiredEngines':{'theme':ThemeEngines[a134H(0x124)],'client':ClientEngines[a134H(0xf5)]},'examples':[a134H(0x113),a134H(0x127)],'description':a134H(0x108)},async function(a,b){const I=a134H,{projectConfig:c,fsi:d,pkg:f,scaffold:g}=this;try{const h=b[I(0x116)]||![],i=I(0xeb),j='basic-drawer',k=I(0x10e),l=c['engines'][I(0xef)]===I(0x112);await f[I(0xf4)]([I(0xf7),I(0x115)],{'shouldInstall':!![]});const m=d['findAppDirectory'](),n=a134e['join'](m,I(0x120),'ui',I(0x129)),o=d['getDirectories'](n),p=o[I(0x109)](z=>({'name':z,'value':z})),q=await Actions['checkbox']({'message':I(0x128),'name':I(0x129),'choices':p});if(q[I(0x11c)]===0x0){Log[I(0x119)](I(0x10a));return;}const r=b[I(0xf6)]?'/imports/ui/'+b['baseDir']:I(0x104),s=g[I(0xf9)]({'pathParts':[r,b[I(0x126)],kebabCase(i),kebabCase(i)]}),t=g[I(0xf9)]({'pathParts':[r,b[I(0x126)],kebabCase(j),kebabCase(j)]}),u=g['pathFromApp']({'pathParts':[r,b['dir'],kebabCase(k),kebabCase(k)]}),v={'name':capitalCase(c['appName'])};await g['template']({'srcPath':'kit/mui/frame/app-bars/'+i+I(0x107),'destPath':s+I(0x107),'framework':'react','context':v,'config':c,'force':h,'ignore':![]}),await g[I(0x11f)]({'srcPath':I(0xfb)+j+I(0x107),'destPath':t+I(0x107),'framework':I(0x12b),'context':v,'config':c,'force':h,'ignore':![]}),await g['template']({'srcPath':'kit/mui/frame/footers/'+k+I(0x107),'destPath':u+I(0x107),'framework':I(0x12b),'context':v,'config':c,'force':h,'ignore':![]});const w=''+r+b[I(0x126)]+'/'+i+'/'+i;await g[I(0xf1)](i,c,w);const x=''+r+b[I(0x126)]+'/'+j+'/'+j;await g['injectTemplateModule'](j,c,x);const y=''+r+b[I(0x126)]+'/'+k+'/'+k;await g[I(0xf1)](k,c,y);for(const z of q){const A=d[I(0xfe)](a134e[I(0x12a)](n,z),{'extensions':['jsx',I(0x11a)],'omit':[I(0x12c),I(0x125),I(0x110)]});for(const B of A){const C=a134e[I(0x12a)](n,z,B);await g[I(0xff)]({'filePath':C,'importName':'Box','modulePath':I(0xea),'isNamedExport':![]}),await g[I(0xff)]({'filePath':C,'importName':'Container','modulePath':'@mui/material/Container','isNamedExport':![]}),await g[I(0xff)]({'filePath':C,'importName':pascalCase(i),'modulePath':l?I(0xe9):I(0xec),'isNamedExport':!![]}),await g[I(0x118)]({'filePath':C,'content':'<'+pascalCase(i)+I(0x10d),'begin':[I(0x117)+z+'\x22>','<div\x20id=\x22'+z+I(0xed)],'end':[I(0x100),I(0x103)]}),await g[I(0xff)]({'filePath':C,'importName':pascalCase(j),'modulePath':l?I(0xe9):I(0xec),'isNamedExport':!![]}),await g[I(0x118)]({'filePath':C,'content':'<'+pascalCase(j)+'\x20/>\x0a','begin':[I(0x117)+z+'\x22>',I(0x117)+z+I(0xed)],'end':[I(0x100),'<Outlet\x20/>']}),await g[I(0x118)]({'filePath':C,'content':'<'+pascalCase(k)+I(0x10d),'begin':['<Outlet/>',I(0x103)],'end':[I(0xf8)]}),await g[I(0xff)]({'filePath':C,'importName':pascalCase(k),'modulePath':l?I(0xe9):I(0xec),'isNamedExport':!![]}),await g['injectAroundString']({'filePath':C,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':I(0xf0),'targetString':['<Outlet/>',I(0x103)],'targetIndentAdjustment':0x6});}}}catch(D){Log[I(0x119)](D);}},async function(){const J=a134H;console[J(0x10f)](J(0x121));},a134f);