@maka/maka-cli 5.0.12 → 5.0.13

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1 +1 @@
1
- const a115l=a115d;(function(a,b){const i=a115d,c=a();while(!![]){try{const d=parseInt(i(0xd7))/0x1*(-parseInt(i(0xb8))/0x2)+-parseInt(i(0xb9))/0x3+-parseInt(i(0xc5))/0x4*(-parseInt(i(0xaf))/0x5)+-parseInt(i(0xb6))/0x6*(-parseInt(i(0xd5))/0x7)+parseInt(i(0xcb))/0x8*(parseInt(i(0xbf))/0x9)+parseInt(i(0xac))/0xa*(parseInt(i(0xc1))/0xb)+parseInt(i(0xae))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x908b9));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a115d;if(c){const e=c[j(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const k=a115d;return a115a['toString']()[k(0xb7)](k(0xc3))[k(0xda)]()[k(0xca)](a115a)[k(0xb7)](k(0xc3));});a115a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0xa8;let f=c[d];return f;},a115d(a,b);}import{Log}from'../tools/log/log.class.js';function a115c(){const o=['import\x20\x27./register-','server','imports','config.','maka\x20g:dbc\x20geoserver\x20--type=pgsql','sqlite','-dbc\x27;','maka\x20g:dbc\x20todos\x20--type=sqlite','434ponRqs','dbc/config.js','615317ddektZ','fsi','apply','toString','pathFromApp','engines','register-','resourceName','411630Qftukf','conn.','10893936ApcbKe','155kDtOzk','withValue','injectAtEndOfFile','startup','dbc/conn.js','maka\x20g:dbc\x20azure\x20--type=mssql','dir','71070cfHFik','search','2KnGuis','2928072ZRjESX','getMakaProjectConfig','dbc/register-dbc.js','checkNpmPackage','error','type','22716SrZrzB','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','11ZIZiSf','pgsql','(((.+)+)+)+$','create','24460bUsfWU','tsx','index.','template','mssql','constructor','984hewDTo','better-sqlite3'];a115c=function(){return o;};return a115c();}Generator[a115l(0xc4)]({'name':'dbc','usage':a115l(0xc0),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a115l(0xb5)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a115l(0xbe),'values':[a115l(0xc2),a115l(0xc9),a115l(0xd2)]}],'examples':[a115l(0xd1),a115l(0xb4),a115l(0xd4)]},async function(a,b){const m=a115l;try{const c=await this[m(0xd8)][m(0xba)](),d=paramCase(b['resourceName']),f={'name':pascalCase(b[m(0xab)]),'fileName':paramCase(b[m(0xab)]),'camelCase':camelCase(b[m(0xab)]),'type':b[m(0xbe)],'engine':c['engines']['js'],'noRename':!![]};await this['fsi'][m(0xb0)](c,async()=>{const n=m;let g='js';c[n(0xa9)]['js']===n(0xc6)&&(g='ts');b[n(0xbe)]===n(0xc2)&&await this['fsi'][n(0xbc)]('pg',{'shouldInstall':!![]});b['type']===n(0xc9)&&await this[n(0xd8)][n(0xbc)]('mssql',{'shouldInstall':!![]});b[n(0xbe)]==='sqlite'&&await this[n(0xd8)][n(0xbc)](n(0xcc),{'shouldInstall':!![]});await this[n(0xd8)]['template']({'srcPath':n(0xd6),'destPath':this[n(0xd8)][n(0xa8)]({'pathParts':[n(0xcf),'startup','server','dbc',b[n(0xb5)],d,n(0xd0)+g]}),'context':f,'config':c}),await this[n(0xd8)][n(0xc8)]({'srcPath':n(0xb3),'destPath':this[n(0xd8)][n(0xa8)]({'pathParts':[n(0xcf),n(0xb2),n(0xce),'dbc',b[n(0xb5)],d,n(0xad)+g]}),'context':f,'config':c}),await this[n(0xd8)]['template']({'srcPath':n(0xbb),'destPath':this[n(0xd8)][n(0xa8)]({'pathParts':['imports','startup',n(0xce),n(0xaa)+d+'-dbc.'+g]}),'context':f,'config':c});const h=this[n(0xd8)][n(0xa8)]({'pathParts':[n(0xcf),n(0xb2),n(0xce),n(0xc7)+c[n(0xa9)]['js']]});await this[n(0xd8)][n(0xb1)]({'filePath':h,'content':n(0xcd)+d+n(0xd3)});});}catch(g){Log[m(0xbd)](g);}});
1
+ const a115l=a115d;(function(a,b){const i=a115d,c=a();while(!![]){try{const d=parseInt(i(0x182))/0x1+-parseInt(i(0x18f))/0x2+-parseInt(i(0x16d))/0x3+parseInt(i(0x173))/0x4+parseInt(i(0x16a))/0x5+-parseInt(i(0x170))/0x6+parseInt(i(0x17c))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xa0cab));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a115d;if(c){const e=c[j(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const k=a115d;return a115a[k(0x18d)]()[k(0x186)](k(0x18a))[k(0x18d)]()['constructor'](a115a)[k(0x186)](k(0x18a));});a115a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a115c(){const o=['error','(((.+)+)+)+$','better-sqlite3','server','toString','-dbc\x27;','975106LwloCn','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:dbc\x20azure\x20--type=mssql','checkNpmPackage','980600KnLlTT','type','dbc','3156927XYzLDZ','import\x20\x27./register-','tsx','3129216naSrPH','-dbc.','injectAtEndOfFile','1212304aJSauL','fsi','dir','pathFromApp','pgsql','mssql','dbc/conn.js','imports','startup','6556235vfSJwk','resourceName','withValue','dbc/register-dbc.js','engines','conn.','1284200FhNbyn','getMakaProjectConfig','apply','sqlite','search','create','template'];a115c=function(){return o;};return a115c();}function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x167;let f=c[d];return f;},a115d(a,b);}import{Log}from'../tools/log/log.class.js';Generator[a115l(0x187)]({'name':a115l(0x16c),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a115l(0x175)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a115l(0x16b),'values':['pgsql','mssql',a115l(0x185)]}],'examples':[a115l(0x167),a115l(0x168),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const m=a115l;try{const c=await this[m(0x174)][m(0x183)](),d=paramCase(b['resourceName']),f={'name':pascalCase(b['resourceName']),'fileName':paramCase(b[m(0x17d)]),'camelCase':camelCase(b[m(0x17d)]),'type':b['type'],'engine':c[m(0x180)]['js'],'noRename':!![]};await this[m(0x174)][m(0x17e)](c,async()=>{const n=m;let g='js';c[n(0x180)]['js']===n(0x16f)&&(g='ts');b['type']===n(0x177)&&await this[n(0x174)][n(0x169)]('pg',{'shouldInstall':!![]});b['type']===n(0x178)&&await this['fsi'][n(0x169)](n(0x178),{'shouldInstall':!![]});b[n(0x16b)]===n(0x185)&&await this[n(0x174)][n(0x169)](n(0x18b),{'shouldInstall':!![]});await this[n(0x174)][n(0x188)]({'srcPath':'dbc/config.js','destPath':this[n(0x174)][n(0x176)]({'pathParts':[n(0x17a),n(0x17b),n(0x18c),n(0x16c),b['dir'],d,'config.'+g]}),'context':f,'config':c}),await this[n(0x174)][n(0x188)]({'srcPath':n(0x179),'destPath':this[n(0x174)]['pathFromApp']({'pathParts':[n(0x17a),n(0x17b),n(0x18c),n(0x16c),b[n(0x175)],d,n(0x181)+g]}),'context':f,'config':c}),await this[n(0x174)][n(0x188)]({'srcPath':n(0x17f),'destPath':this['fsi'][n(0x176)]({'pathParts':[n(0x17a),n(0x17b),n(0x18c),'register-'+d+n(0x171)+g]}),'context':f,'config':c});const h=this['fsi'][n(0x176)]({'pathParts':[n(0x17a),n(0x17b),'server','index.'+c[n(0x180)]['js']]});await this[n(0x174)][n(0x172)]({'filePath':h,'content':n(0x16e)+d+n(0x18e)});});}catch(g){Log[m(0x189)](g);}});
@@ -1 +1 @@
1
- const a116k=a116d;function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x148;let f=c[d];return f;},a116d(a,b);}(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0x156))/0x1+-parseInt(h(0x15c))/0x2*(-parseInt(h(0x14f))/0x3)+parseInt(h(0x14c))/0x4*(-parseInt(h(0x155))/0x5)+-parseInt(h(0x166))/0x6*(parseInt(h(0x15f))/0x7)+parseInt(h(0x153))/0x8*(parseInt(h(0x15e))/0x9)+parseInt(h(0x14a))/0xa*(parseInt(h(0x14b))/0xb)+-parseInt(h(0x151))/0xc*(-parseInt(h(0x167))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x2a1fb));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x165)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a[j(0x15b)]()['search']('(((.+)+)+)+$')[j(0x15b)]()['constructor'](a116a)[j(0x148)]('(((.+)+)+)+$');});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';function a116c(){const n=['Dockerfile','4628328oxOcMV','cert','48ArsOkb','findProjectDirectory','55855PsYRbr','253386jhbmwC','template','fsi','maka\x20{generate,\x20g}:dockerfile','error','toString','502116eXevbY','getMakaProjectConfig','233271tOEbry','10339NgMqVS','dockerfile','appName','create','Generate\x20an\x20updated\x20dockerfile','force','apply','1074sCvoAW','13llseii','app.tar.gz','withValue','search','build','1840KXwTVK','583sRJprd','40ClLkip','app','join','3tELBoz'];a116c=function(){return n;};return a116c();}Generator[a116k(0x162)]({'name':a116k(0x160),'usage':a116k(0x159),'shortDesc':a116k(0x163),'validOpts':[{'name':a116k(0x164),'boolFlag':!![]}],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(a,b){const l=a116k;try{const c=await this[l(0x158)][l(0x15d)](),d=await this[l(0x158)]['getGlobalConfig'](),f=this[l(0x158)][l(0x154)]();await this[l(0x158)][l(0x169)](c,async()=>{const m=l,g={'app':d[m(0x161)],'config':c,'appPath':a116e[m(0x14e)](f,m(0x14d)),'bundlePath':a116e[m(0x14e)](f,m(0x149),m(0x168)),'useCert':this[m(0x158)]['isFile'](d[m(0x152)])};await this[m(0x158)][m(0x157)]({'srcPath':'docker/Dockerfile','destPath':a116e[m(0x14e)](f,m(0x150)),'framework':'service','context':g,'config':c,'force':b['force']});});}catch(g){Log[l(0x15a)](g);}});
1
+ const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0xbd))/0x1+parseInt(h(0xad))/0x2+parseInt(h(0xc3))/0x3+-parseInt(h(0xab))/0x4*(-parseInt(h(0xae))/0x5)+-parseInt(h(0xb4))/0x6+parseInt(h(0xb5))/0x7*(-parseInt(h(0xb7))/0x8)+parseInt(h(0xc5))/0x9*(-parseInt(h(0xb1))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x4bcfc));function a116c(){const n=['fsi','dockerfile','1127259oPyBXQ','cert','2411109SCnsKQ','maka\x20g:dockerfile','search','withValue','Dockerfile','app','maka\x20{generate,\x20g}:dockerfile','getGlobalConfig','212RZuyqq','error','566726MRxCFh','50345OYlRbE','join','force','10mSbQuE','app.tar.gz','findProjectDirectory','728550VenoQL','77777BTDndt','service','296tpAIKs','constructor','apply','Generate\x20an\x20updated\x20dockerfile','docker/Dockerfile','getMakaProjectConfig','81816ScaYem','toString','(((.+)+)+)+$','appName'];a116c=function(){return n;};return a116c();}const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0xb9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a['toString']()['search'](j(0xbf))[j(0xbe)]()[j(0xb8)](a116a)[j(0xc7)]('(((.+)+)+)+$');});function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xa8;let f=c[d];return f;},a116d(a,b);}a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator['create']({'name':a116k(0xc2),'usage':a116k(0xa9),'shortDesc':a116k(0xba),'validOpts':[{'name':a116k(0xb0),'boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0xc6)]},async function(a,b){const l=a116k;try{const c=await this[l(0xc1)][l(0xbc)](),d=await this['fsi'][l(0xaa)](),f=this['fsi'][l(0xb3)]();await this[l(0xc1)][l(0xc8)](c,async()=>{const m=l,g={'app':d[m(0xc0)],'config':c,'appPath':a116e[m(0xaf)](f,m(0xa8)),'bundlePath':a116e[m(0xaf)](f,'build',m(0xb2)),'useCert':this[m(0xc1)]['isFile'](d[m(0xc4)])};await this[m(0xc1)]['template']({'srcPath':m(0xbb),'destPath':a116e[m(0xaf)](f,m(0xc9)),'framework':m(0xb6),'context':g,'config':c,'force':b[m(0xb0)]});});}catch(g){Log[l(0xac)](g);}});
@@ -1 +1 @@
1
- const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x18c))/0x1*(parseInt(l(0x15a))/0x2)+-parseInt(l(0x15b))/0x3*(-parseInt(l(0x16c))/0x4)+-parseInt(l(0x188))/0x5+-parseInt(l(0x190))/0x6*(parseInt(l(0x16d))/0x7)+parseInt(l(0x15c))/0x8+parseInt(l(0x16e))/0x9+-parseInt(l(0x185))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x522a0));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x17b)]()['search'](m(0x173))[m(0x17b)]()[m(0x18b)](a117a)[m(0x193)]('(((.+)+)+)+$');});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a117c(){const q=['className','@apollo/client\x20isomorphic-fetch','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','engines','layouts','pathFromApp','graphql','injectTemplateModule','true','.css','theme','template','1093732ftlmVF','80269hwoMMO','3771135mwNgfg','force','setTemplate','hooks','warn','(((.+)+)+)+$','css','react','string','baseDir','apollo','test','error','toString','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fileName','create','withTranslations','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','hook','dir','cssCaseName','injectAtBeginningOfFile','10881670jMjbSx','hook/hook.js','fsi','968110FDfRkz','checkNpmPackage','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','constructor','192757bbJyZi','import\x20\x27./','template/template.css','/imports/ui/','270Yaeuaf','maka\x20g:hook\x20cool-hook','assign','search','.app-tests.js','getMakaProjectConfig','6SiVxZZ','6uOqgjU','4721568zkFqXV','resourceName','pages','relative'];a117c=function(){return q;};return a117c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x15a;let f=c[d];return f;},a117d(a,b);}Generator[a117n(0x17e)]({'name':a117n(0x181),'aliases':['h'],'checkWhere':![],'usage':a117n(0x180),'shortDesc':a117n(0x162),'validOpts':[{'name':a117n(0x177),'values':[a117n(0x171),'components',a117n(0x15e),a117n(0x164)]},{'name':a117n(0x16f),'boolFlag':!![]}],'examples':[a117n(0x191)],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const o=a117n;Log['notice']('Creating\x20'+b[o(0x15d)]+'\x20hook...');try{const c=this['fsi'][o(0x189)](o(0x175));if(!c){Log[o(0x17a)](o(0x17c));throw new UsageError();}const d=this[o(0x187)]['findAppDirectory'](),f=b[o(0x177)]?o(0x18f)+b['baseDir']:'/imports/ui/components',g=this[o(0x187)][o(0x165)]({'pathParts':[f,b[o(0x182)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),h=await this['fsi'][o(0x195)]();await this[o(0x187)]['withValue'](h,async()=>{const p=o;typeof h['template'][p(0x174)]===p(0x176)&&(h[p(0x16b)][p(0x174)]=h['template']['css']===p(0x168)?!![]:![],this[p(0x187)][p(0x170)]('css',h[p(0x16b)]['css']));h['engines'][p(0x166)]===p(0x178)&&!this[p(0x187)][p(0x189)]('@apollo/client')&&(Log[p(0x172)](p(0x18a)),await this[p(0x187)]['installNpmPackage'](p(0x161),{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0x15d)]),'camelCaseName':camelCase(b[p(0x15d)]),'className':pascalCase(b[p(0x15d)]),'name':pascalCase(b['resourceName']),'graphql':h['engines']['graphql'],'theme':h[p(0x163)][p(0x16a)],'features':h['features'],'myPath':a117e[p(0x15f)](this[p(0x187)]['pathFromProject']({}),g),'fileName':paramCase(b[p(0x15d)]),'isComponent':![],'isLayout':![],'withTranslations':h['features'][p(0x17f)]};await this[p(0x187)][p(0x16b)]({'srcPath':p(0x186),'destPath':g+'.js','context':i,'config':h,'framework':'react','force':b[p(0x16f)]});h[p(0x16b)][p(0x174)]&&(await this['fsi'][p(0x16b)]({'srcPath':p(0x18e),'destPath':g+p(0x169),'context':Object[p(0x192)]({},i,{'className':i[p(0x183)]}),'config':h,'force':b[p(0x16f)]}),await this[p(0x187)][p(0x184)]({'filePath':g+'.'+h[p(0x163)]['js'],'content':p(0x18d)+i[p(0x17d)]+'.'+h[p(0x163)]['css']+'\x27;'}));h[p(0x163)][p(0x179)]!=='none'&&await this['fsi'][p(0x16b)]({'srcPath':'test/test.js','destPath':g+p(0x194),'framework':p(0x175),'context':i,'config':h,'force':b[p(0x16f)]});const j=b[p(0x182)]?'/'+b[p(0x182)]+'/':'/',k=''+f+j+i['fileName']+'/'+i[p(0x17d)];await this[p(0x187)][p(0x167)](i[p(0x160)],h,k);});}catch(i){Log['error'](i);}});
1
+ const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x210))/0x1*(parseInt(l(0x202))/0x2)+-parseInt(l(0x1f5))/0x3+parseInt(l(0x20b))/0x4*(parseInt(l(0x1e3))/0x5)+-parseInt(l(0x1f1))/0x6*(parseInt(l(0x1f9))/0x7)+-parseInt(l(0x214))/0x8*(parseInt(l(0x1e8))/0x9)+parseInt(l(0x1f7))/0xa*(-parseInt(l(0x217))/0xb)+parseInt(l(0x1dd))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x2a5e7));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x1dd;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a['toString']()[m(0x1de)](m(0x1ef))['toString']()[m(0x1e9)](a117a)[m(0x1de)](m(0x1ef));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117c(){const q=['string','getMakaProjectConfig','153396gRiirg','setTemplate','50990LPdIhq','css','14rBvzfq','Creating\x20','withValue','graphql','engines','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','test/test.js','@apollo/client\x20isomorphic-fetch','notice','84598okujXk','create','cssCaseName','theme','hook','assign','true','className','react','928708KScfAe','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','pages','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','installNpmPackage','7njZpcO','components','force','baseDir','1440536fDpRNO','template','fileName','451HEfkEo','checkNpmPackage','findAppDirectory','/imports/ui/','features','10457580ankYCS','search','@apollo/client','none','test','apollo','5pUPEBI','pathFromApp','resourceName','fsi','dir','9MoAghu','constructor','maka\x20g:hook\x20cool-hook','relative','.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','template/template.css','(((.+)+)+)+$','/imports/ui/components','581244qZyaDE','warn'];a117c=function(){return q;};return a117c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a117n(0x203)]({'name':a117n(0x206),'aliases':['h'],'checkWhere':![],'usage':a117n(0x20e),'shortDesc':a117n(0x20c),'validOpts':[{'name':a117n(0x213),'values':['hooks',a117n(0x211),a117n(0x20d),'layouts']},{'name':a117n(0x212),'boolFlag':!![]}],'examples':[a117n(0x1ea)],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const o=a117n;Log[o(0x201)](o(0x1fa)+b[o(0x1e5)]+'\x20hook...');try{const c=this[o(0x1e6)][o(0x218)]('react');if(!c){Log['error'](o(0x1ed));throw new UsageError();}const d=this[o(0x1e6)][o(0x219)](),f=b[o(0x213)]?o(0x21a)+b[o(0x213)]:o(0x1f0),g=this[o(0x1e6)][o(0x1e4)]({'pathParts':[f,b['dir'],paramCase(b[o(0x1e5)]),paramCase(b[o(0x1e5)])]}),h=await this[o(0x1e6)][o(0x1f4)]();await this[o(0x1e6)][o(0x1fb)](h,async()=>{const p=o;typeof h[p(0x215)][p(0x1f8)]===p(0x1f3)&&(h[p(0x215)]['css']=h[p(0x215)]['css']===p(0x208)?!![]:![],this[p(0x1e6)][p(0x1f6)](p(0x1f8),h['template'][p(0x1f8)]));h[p(0x1fd)][p(0x1fc)]===p(0x1e2)&&!this[p(0x1e6)][p(0x218)](p(0x1df))&&(Log[p(0x1f2)](p(0x1fe)),await this[p(0x1e6)][p(0x20f)](p(0x200),{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0x1e5)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0x1e5)]),'name':pascalCase(b[p(0x1e5)]),'graphql':h[p(0x1fd)][p(0x1fc)],'theme':h[p(0x1fd)][p(0x205)],'features':h[p(0x21b)],'myPath':a117e[p(0x1eb)](this[p(0x1e6)]['pathFromProject']({}),g),'fileName':paramCase(b[p(0x1e5)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x21b)]['withTranslations']};await this['fsi'][p(0x215)]({'srcPath':'hook/hook.js','destPath':g+p(0x1ec),'context':i,'config':h,'framework':p(0x20a),'force':b[p(0x212)]});h[p(0x215)]['css']&&(await this[p(0x1e6)][p(0x215)]({'srcPath':p(0x1ee),'destPath':g+'.css','context':Object[p(0x207)]({},i,{'className':i[p(0x204)]}),'config':h,'force':b[p(0x212)]}),await this['fsi']['injectAtBeginningOfFile']({'filePath':g+'.'+h[p(0x1fd)]['js'],'content':'import\x20\x27./'+i[p(0x216)]+'.'+h[p(0x1fd)][p(0x1f8)]+'\x27;'}));h[p(0x1fd)][p(0x1e1)]!==p(0x1e0)&&await this[p(0x1e6)][p(0x215)]({'srcPath':p(0x1ff),'destPath':g+'.app-tests.js','framework':p(0x20a),'context':i,'config':h,'force':b[p(0x212)]});const j=b[p(0x1e7)]?'/'+b[p(0x1e7)]+'/':'/',k=''+f+j+i[p(0x216)]+'/'+i[p(0x216)];await this[p(0x1e6)]['injectTemplateModule'](i[p(0x209)],h,k);});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xf4;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xf6))/0x1+-parseInt(f(0xf5))/0x2+parseInt(f(0xf8))/0x3+parseInt(f(0xfa))/0x4*(parseInt(f(0x101))/0x5)+parseInt(f(0xf9))/0x6*(-parseInt(f(0xfd))/0x7)+parseInt(f(0xff))/0x8+parseInt(f(0xf4))/0x9*(-parseInt(f(0xfe))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x73b10));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xfb)]()[h(0x102)](h(0xfc))['toString']()[h(0x100)](a118a)[h(0x102)]('(((.+)+)+)+$');});a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';function a118c(){var i=['2691783IJbKqh','1824122OEXale','376655iyyGXp','apply','1614909qyYzuw','18tTfJXI','1201388VLZczh','toString','(((.+)+)+)+$','358029bxigfQ','10DkYppr','6206176eZnPLM','constructor','15SkViCc','search'];a118c=function(){return i;};return a118c();}
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xcf))/0x1+parseInt(f(0xc7))/0x2*(-parseInt(f(0xc2))/0x3)+-parseInt(f(0xc5))/0x4*(parseInt(f(0xc8))/0x5)+-parseInt(f(0xc6))/0x6+-parseInt(f(0xd0))/0x7+parseInt(f(0xca))/0x8*(parseInt(f(0xc4))/0x9)+parseInt(f(0xce))/0xa*(parseInt(f(0xc3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0xcd638));var a118b=(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;};}()),a118a=a118b(this,function(){var g=a118d;return a118a[g(0xcc)]()[g(0xcb)](g(0xc9))['toString']()[g(0xcd)](a118a)[g(0xcb)](g(0xc9));});function a118c(){var h=['78LOIIMS','703115jzdYWJ','(((.+)+)+)+$','6008qxwZkr','search','toString','constructor','5090azVAsi','829796lzGUYI','6721708AjZGUq','59493IVWLXO','64504iHTWyO','15165pTJDbw','4eZPurc','4229202YxnzRd'];a118c=function(){return h;};return a118c();}a118a();import'./kit.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xc2;var f=c[d];return f;},a118d(a,b);}import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x1c5))/0x1*(parseInt(f(0x1cc))/0x2)+parseInt(f(0x1cf))/0x3*(-parseInt(f(0x1cb))/0x4)+parseInt(f(0x1d0))/0x5+parseInt(f(0x1c8))/0x6+parseInt(f(0x1c4))/0x7*(parseInt(f(0x1ca))/0x8)+-parseInt(f(0x1cd))/0x9+-parseInt(f(0x1c6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x95736));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a119d(a,b);}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x1c9)]()[h(0x1c7)](h(0x1d2))['toString']()[h(0x1ce)](a119a)[h(0x1c7)](h(0x1d2));});a119a();function a119c(){var i=['constructor','9867gzRbKd','108285bbjOGV','apply','(((.+)+)+)+$','28fGRPhb','165245kxEusO','19865560mOqfdZ','search','6915156aaMCDK','toString','2260744MpxImG','172ZEHXSG','12wMbSYV','5003028cPbrpA'];a119c=function(){return i;};return a119c();}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ (function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x104))/0x1+parseInt(f(0xff))/0x2*(parseInt(f(0x105))/0x3)+parseInt(f(0x108))/0x4+-parseInt(f(0x10a))/0x5+-parseInt(f(0x107))/0x6+parseInt(f(0x109))/0x7*(-parseInt(f(0x10b))/0x8)+parseInt(f(0x101))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xca93e));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0xff;var f=c[d];return f;},a119d(a,b);}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x100)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x106)]()[h(0x103)]('(((.+)+)+)+$')[h(0x106)]()['constructor'](a119a)[h(0x103)](h(0x102));});a119a();import'./auth.generator.js';function a119c(){var i=['6473324KPoGAt','3460177xpgCxL','7341645dgGtmD','8iWVSie','2aUrstY','apply','12342375gHXvuG','(((.+)+)+)+$','search','183645kAZssF','2157033iKFcMC','toString','6599784LBGCEo'];a119c=function(){return i;};return a119c();}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0x7b))/0x1*(parseInt(f(0x69))/0x2)+parseInt(f(0x6a))/0x3*(parseInt(f(0x72))/0x4)+parseInt(f(0x68))/0x5*(parseInt(f(0x6b))/0x6)+parseInt(f(0x74))/0x7*(parseInt(f(0x6c))/0x8)+parseInt(f(0x7d))/0x9+-parseInt(f(0x73))/0xa+parseInt(f(0x6e))/0xb*(-parseInt(f(0x6d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xd5f5d));function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x68;let f=c[d];return f;},a120d(a,b);}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const g=a120d;return a120a[g(0x76)]()['search'](g(0x75))['toString']()[g(0x7e)](a120a)[g(0x79)]('(((.+)+)+)+$');});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120c(){const j=['6WzArWs','6UQIHAu','118672pifHZf','4008hkHWzb','87692YGtzDL','NIE','maka\x20g:kit:a','auth','2583948sxhqJE','9322920JJeHly','553EnwCVI','(((.+)+)+)+$','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','search','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','1113463gDNAqA','create','3987459ImBTHq','constructor','2254735JdRUfO','2vAJUmD'];a120c=function(){return j;};return a120c();}const AuthGen=Generator[a120h(0x7c)]({'name':a120h(0x71),'aliases':['a'],'usage':a120h(0x77),'noNeedResource':!![],'shortDesc':a120h(0x7a),'validOpts':[''],'isPro':!![],'examples':[a120h(0x70)],'description':a120h(0x78)},async function(){const i=a120h;throw i(0x6f);},async function(){},a120e);export default AuthGen;
1
+ const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x9e))/0x1*(-parseInt(f(0x9c))/0x2)+-parseInt(f(0xa5))/0x3*(-parseInt(f(0xb3))/0x4)+-parseInt(f(0xad))/0x5+parseInt(f(0xb0))/0x6*(parseInt(f(0xa4))/0x7)+parseInt(f(0xa2))/0x8*(parseInt(f(0xa6))/0x9)+parseInt(f(0xae))/0xa*(parseInt(f(0xa8))/0xb)+-parseInt(f(0xaa))/0xc*(parseInt(f(0xb2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x7f099));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0xa7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0xac)]()['search'](h(0xab))[h(0xac)]()[h(0x9d)](a120a)[h(0xaf)](h(0xab));});function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x9c;let f=c[d];return f;},a120d(a,b);}a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120c(){const k=['52nhEjSU','4fPVsOm','3494PLwnQr','constructor','463AqXhrG','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','create','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','40lGHxTQ','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','1083446wDRCkE','1121163VBVhwM','1234161BBmvPs','apply','242vTGWxl','NIE','4761492OyOHST','(((.+)+)+)+$','toString','2573260weAtcW','201990kfdgmA','search','12mbABPG','auth'];a120c=function(){return k;};return a120c();}const AuthGen=Generator[a120i(0xa0)]({'name':a120i(0xb1),'aliases':['a'],'usage':a120i(0x9f),'noNeedResource':!![],'shortDesc':a120i(0xa3),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:a'],'description':a120i(0xa1)},async function(){const j=a120i;throw j(0xa9);},async function(){},a120e);export default AuthGen;
@@ -1 +1 @@
1
- const a121q=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0xff))/0x1*(-parseInt(o(0x13d))/0x2)+parseInt(o(0x11e))/0x3+parseInt(o(0x103))/0x4+parseInt(o(0x10e))/0x5+-parseInt(o(0x102))/0x6*(parseInt(o(0x10c))/0x7)+-parseInt(o(0x125))/0x8*(parseInt(o(0x12f))/0x9)+parseInt(o(0x120))/0xa*(parseInt(o(0x112))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x41fa8));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const p=a121d;return a121a[p(0x114)]()['search']('(((.+)+)+)+$')[p(0x114)]()['constructor'](a121a)[p(0x13b)](p(0x10f));});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xfb;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';function a121c(){const t=['accounts-password','866135irPzIK','(((.+)+)+)+$','fsi','return\x20\x5c(','826199JruMBW','kit:auth:provider','toString','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','react','meteor/accounts-base','publish','authentication-service','startup','checkMeteorPackage','996699rYkBJc','\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','10SufprB','authentication-provider','template','meteor/meteor','Meteor.publish','8rpHFzx','const\x20registerNewUser','/imports/startup/lib/authentication-service','/imports/startup/client','injectIntoCodeBlock','injectIntoFile','\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','processAndRunGenerator','ssr','const\x20authenticateToken','3296547TIiWTk','const\x20sendForgotPasswordEmail','/imports/startup/client/authentication-service','meteor','error','create','findProjectDirectory','withValue','injectImport','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','pathFromApp','exit','search','\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','28IptatE','const\x20resetPasswordWithToken','imports','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','\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','20038wNkcVc','const\x20authenticateUser','meteor/maka:react-tracker','178884FcHXjw','1465232xUHMaC','/imports/startup/lib','export\x20const\x20AuthProvider','force','auth/roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','engines','getMakaProjectConfig','alanning:roles','7VrxQTU'];a121c=function(){return t;};return a121c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121q(0x134)]({'name':a121q(0x132),'aliases':['m'],'usage':a121q(0x138),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121q(0x115)},async function(a,b){const r=a121q;try{const c=b[r(0x106)]||![];await this[r(0x110)][r(0x11d)]([r(0x10d),r(0x10b)],{'shouldInstall':!![]});const d=this[r(0x110)][r(0x135)](),f=this['fsi'][r(0x10a)](),g=f['engines'][r(0x12d)]==='true';await a121f['processAndRunGenerator'](r(0x113),[],{'force':c,'cwd':d,'config':f});const h=await a121f[r(0x12c)](r(0x11a),[r(0x107)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?r(0x104):r(0x128),j=this[r(0x110)][r(0x139)]({'pathParts':[i,'','',r(0x11b)]});await this[r(0x110)][r(0x136)](f,async()=>{const s=r;await this[s(0x110)][s(0x122)]({'srcPath':s(0x117),'destPath':j+'.js','framework':s(0x118),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0x110)][r(0x139)]({'pathParts':[i,'','',r(0x121)]}),l=f[r(0x109)]['js'];await this['fsi'][r(0x137)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?r(0x127):r(0x131),'isNamedExport':![]}),await this[r(0x110)][r(0x129)]({'filePath':k+'.'+l,'content':r(0x12b),'begin':r(0x100),'replace':!![]}),await this[r(0x110)][r(0x129)]({'filePath':k+'.'+l,'content':r(0xfd),'begin':r(0x12e),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x11f),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this['fsi'][r(0x129)]({'filePath':k+'.'+l,'content':r(0x116),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[r(0x110)][r(0x129)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x130),'replace':!![]}),await this[r(0x110)][r(0x129)]({'filePath':k+'.'+l,'content':r(0x108),'begin':r(0x126),'replace':!![]}),await this['fsi'][r(0x129)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0xfb),'replace':!![]});g&&(await this[r(0x110)][r(0x137)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':r(0x101),'isNamedExport':!![]}),await this[r(0x110)][r(0x12a)]({'filePath':k+'.'+l,'content':r(0x13c),'begin':r(0x105),'end':r(0x111)}));await this['fsi'][r(0x137)]({'filePath':h,'importName':'Meteor','modulePath':r(0x123),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][r(0x129)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x124),'replace':!![]});const m=this[r(0x110)][r(0x139)]({'pathParts':[r(0xfc),r(0x11c),'server','index']});await this[r(0x110)][r(0x137)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':r(0x119),'isNamedExport':!![]}),await this[r(0x110)][r(0x129)]({'filePath':m+'.'+l,'content':r(0xfe),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[r(0x133)](n),process[r(0x13a)](0x1);}},async function(){},a121e);
1
+ const a121q=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x1d2))/0x1+parseInt(o(0x1b8))/0x2*(parseInt(o(0x1ba))/0x3)+-parseInt(o(0x1d7))/0x4+parseInt(o(0x1a9))/0x5*(parseInt(o(0x192))/0x6)+parseInt(o(0x1b9))/0x7+parseInt(o(0x1d1))/0x8+-parseInt(o(0x1a4))/0x9*(parseInt(o(0x1a0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xec724));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const p=a121d;return a121a[p(0x1ad)]()[p(0x1c6)]('(((.+)+)+)+$')[p(0x1ad)]()[p(0x1d4)](a121a)['search'](p(0x1bc));});function a121c(){const t=['.js','create','error','\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','10NrRdGx','index','template','alanning:roles','37233333blxETX','export\x20const\x20AuthProvider','engines','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','force','10FNpLXm','return\x20\x5c(','react','/imports/startup/lib','toString','const\x20resetPasswordWithToken','injectIntoFile','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','injectIntoCodeBlock','useTracker','injectImport','meteor/accounts-base','Meteor.publish','\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','true','2wAehAm','10650024jaosmn','3201447qADWyn','startup','(((.+)+)+)+$','processAndRunGenerator','AuthService','/imports/startup/lib/authentication-service','\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','imports','fsi','authentication-service','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','\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','search','kit:auth:provider','const\x20authenticateToken','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','auth/roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','REACT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client/authentication-service','const\x20authenticateUser','meteor/maka:react-tracker','7177320teQWVk','659794RmvKPF','meteor','constructor','Meteor.startup','pathFromApp','2907876jdXTvD','/imports/startup/client','5060850WiixYn','kit/auth/service/meteor-auth-service.js','publish','accounts-password','const\x20deauthenticateUser','findProjectDirectory','exit','Meteor','authentication-provider','const\x20sendForgotPasswordEmail'];a121c=function(){return t;};return a121c();}function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x192;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121q(0x19d)]({'name':a121q(0x1d3),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121q(0x1b0),'validOpts':[a121q(0x1a8)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121q(0x1cc)]},'description':a121q(0x1c0)},async function(a,b){const r=a121q;try{const c=b['force']||![];await this[r(0x1c2)]['checkMeteorPackage']([r(0x195),r(0x1a3)],{'shouldInstall':!![]});const d=this[r(0x1c2)][r(0x197)](),f=this['fsi']['getMakaProjectConfig'](),g=f[r(0x1a6)]['ssr']===r(0x1b7);await a121f[r(0x1bd)](r(0x1c7),[],{'force':c,'cwd':d,'config':f});const h=await a121f[r(0x1bd)](r(0x194),[r(0x1ca)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?r(0x1ac):r(0x1d8),j=this['fsi'][r(0x1d6)]({'pathParts':[i,'','',r(0x1c3)]});await this[r(0x1c2)]['withValue'](f,async()=>{const s=r;await this[s(0x1c2)][s(0x1a2)]({'srcPath':s(0x193),'destPath':j+s(0x19c),'framework':s(0x1ab),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0x1c2)]['pathFromApp']({'pathParts':[i,'','',r(0x19a)]}),l=f[r(0x1a6)]['js'];await this[r(0x1c2)][r(0x1b3)]({'filePath':k+'.'+l,'importName':r(0x1be),'modulePath':g?r(0x1bf):r(0x1ce),'isNamedExport':![]}),await this[r(0x1c2)][r(0x1b1)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x1cf),'replace':!![]}),await this[r(0x1c2)][r(0x1b1)]({'filePath':k+'.'+l,'content':r(0x1cd),'begin':r(0x1c8),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x1b6),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x1a7),'begin':r(0x196),'replace':!![]}),await this[r(0x1c2)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x1c4),'begin':r(0x19b),'replace':!![]}),await this[r(0x1c2)][r(0x1b1)]({'filePath':k+'.'+l,'content':r(0x1c9),'begin':'const\x20registerNewUser','replace':!![]}),await this[r(0x1c2)][r(0x1b1)]({'filePath':k+'.'+l,'content':r(0x1cb),'begin':r(0x1ae),'replace':!![]});g&&(await this['fsi'][r(0x1b3)]({'filePath':k+'.'+l,'importName':r(0x1b2),'modulePath':r(0x1d0),'isNamedExport':!![]}),await this[r(0x1c2)][r(0x1af)]({'filePath':k+'.'+l,'content':r(0x1c5),'begin':r(0x1a5),'end':r(0x1aa)}));await this[r(0x1c2)][r(0x1b3)]({'filePath':h,'importName':r(0x199),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this[r(0x1c2)][r(0x1b1)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x1b5),'replace':!![]});const m=this[r(0x1c2)][r(0x1d6)]({'pathParts':[r(0x1c1),r(0x1bb),'server',r(0x1a1)]});await this[r(0x1c2)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':r(0x1b4),'isNamedExport':!![]}),await this['fsi'][r(0x1b1)]({'filePath':m+'.'+l,'content':r(0x19f),'begin':r(0x1d5),'replace':!![]});}catch(n){Log[r(0x19e)](n),process[r(0x198)](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- const a122x=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x83;let f=c[d];return f;},a122d(a,b);}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0xa1))/0x1+-parseInt(u(0x88))/0x2*(-parseInt(u(0x95))/0x3)+-parseInt(u(0x99))/0x4+parseInt(u(0xa9))/0x5+-parseInt(u(0x94))/0x6*(parseInt(u(0x98))/0x7)+-parseInt(u(0xa0))/0x8*(parseInt(u(0x85))/0x9)+parseInt(u(0x9e))/0xa*(parseInt(u(0x89))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x31e0a));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0xad)]()['search'](w(0xaa))['toString']()[w(0xaf)](a122a)[w(0x87)](w(0xaa));});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';function a122c(){const A=['/imports/startup/server/index','/imports/startup/lib/authentication-provider','AuthProvider','9080XygooH','fsi','2432376eWxLsJ','256534OxUEJn','force','split','pathFromApp','<AuthProvider>','const\x20useAuth','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','injectAroundString','1015350jkMgYT','(((.+)+)+)+$','useContext','replaceAll','toString','provider','constructor','exit','create','engines','9lxeAin','react','search','2rqirVt','4103QANRAl','\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','.js','<AppRoutes\x20/>','injectImport','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','</AuthProvider>','kit/auth/provider/authentication-provider.js','/imports/startup/client/index','template','REACT','2106KtqPGK','1156092tasqlG','/imports/startup/lib','/imports/startup/client/authentication-provider','812owBUDI','486092agzHpn','apply'];a122c=function(){return A;};return a122c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0x83)]({'name':a122x(0xae),'aliases':['p'],'usage':a122x(0xa7),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a122x(0xa2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x93)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const y=a122x;try{const c=b[y(0xa2)]||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[y(0x9f)]['getMakaProjectConfig'](),f=d[y(0x84)]['ssr']==='true',g={'name':headerCase(d['appName'])[y(0xac)]('-','\x20')},h=f?y(0x96):'/imports/startup/client',i=this[y(0x9f)]['pathFromApp']({'pathParts':[h,'','','authentication-provider']});await this[y(0x9f)]['withValue'](d,async()=>{const z=y;await this[z(0x9f)][z(0x92)]({'srcPath':z(0x90),'destPath':i+z(0x8b),'framework':z(0x86),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x84)]['js'],k=h+'/routes',l=k['split']('/'),m=this[y(0x9f)][y(0xa4)]({'pathParts':l});await this[y(0x9f)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x97),'isNamedExport':!![]}),await this[y(0x9f)]['injectImport']({'filePath':m+'.'+j,'importName':y(0xab),'modulePath':y(0x86),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x8e),'begin':[y(0xa6),'function\x20useAuth'],'replace':!![]}),await this[y(0x9f)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x8a),'begin':['const\x20PrivateRoute'],'replace':!![]});const n=y(0x91),o=n[y(0xa3)]('/'),p=this['fsi'][y(0xa4)]({'pathParts':o});await this[y(0x9f)][y(0x8d)]({'filePath':p+'.'+j,'importName':y(0x9d),'modulePath':f?y(0x9c):y(0x97),'isNamedExport':!![]}),await this[y(0x9f)][y(0xa8)]({'filePath':p+'.'+j,'aboveContent':y(0xa5),'belowContent':y(0x8f),'targetString':y(0x8c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x9b),r=q[y(0xa3)]('/'),s=this[y(0x9f)][y(0xa4)]({'pathParts':r});await this['fsi']['injectImport']({'filePath':s+'.'+j,'importName':y(0x9d),'modulePath':f?y(0x9c):y(0x97),'isNamedExport':!![]}),await this[y(0x9f)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0xa5),'belowContent':y(0x8f),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0xb0)](0x1);}},async function(){},a122e);
1
+ const a122x=a122d;function a122c(){const A=['fsi','ssr','replaceAll','toString','872331KOSTJH','REACT','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','222980SzPgwW','3504876RiOvNo','6733720DOxYWn','injectAroundString','9EKphnQ','\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','getMakaProjectConfig','injectIntoCodeBlock','search','apply','/imports/startup/client','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','pathFromApp','\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','/imports/startup/server/index','2kGOpCS','react','error','true','engines','constructor','authentication-provider','split','77uHbXBE','AuthContext','force','const\x20PrivateRoute','44xOwsWh','appName','<AuthProvider>','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','/routes','function\x20useAuth','20tKFPKa','<AppRoutes\x20/>','injectImport','</AuthProvider>','570844HiunYd','/imports/startup/client/index','bright','template','6522496ENpzOn','/imports/startup/lib','withValue','AuthProvider','provider','(((.+)+)+)+$','kit/auth/provider/authentication-provider.js','/imports/startup/lib/authentication-provider','/imports/startup/client/authentication-provider','441744pBiqSy'];a122c=function(){return A;};return a122c();}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0xd7))/0x1*(parseInt(u(0xc1))/0x2)+-parseInt(u(0xe9))/0x3+parseInt(u(0xd3))/0x4*(-parseInt(u(0xec))/0x5)+-parseInt(u(0xe4))/0x6*(parseInt(u(0xc9))/0x7)+parseInt(u(0xdb))/0x8+-parseInt(u(0xf0))/0x9*(parseInt(u(0xee))/0xa)+-parseInt(u(0xcd))/0xb*(-parseInt(u(0xed))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x8818f));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0xbb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a['toString']()[w(0xba)](w(0xe0))[w(0xe8)]()[w(0xc6)](a122a)['search']('(((.+)+)+)+$');});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xb9;let f=c[d];return f;},a122d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a122x(0xdf),'aliases':['p'],'usage':a122x(0xbd),'shortDesc':a122x(0xd0),'validOpts':[a122x(0xcb)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0xea)]},'description':a122x(0xbf)},async function(a,b){const y=a122x;try{const c=b[y(0xcb)]||![];Log[y(0xd9)](y(0xeb));const d=this[y(0xe5)][y(0xf2)](),f=d[y(0xc5)][y(0xe6)]===y(0xc4),g={'name':headerCase(d[y(0xce)])[y(0xe7)]('-','\x20')},h=f?y(0xdc):y(0xbc),i=this['fsi']['pathFromApp']({'pathParts':[h,'','',y(0xc7)]});await this[y(0xe5)][y(0xdd)](d,async()=>{const z=y;await this[z(0xe5)][z(0xda)]({'srcPath':z(0xe1),'destPath':i+'.js','framework':'react','context':g,'config':d,'force':c,'ignore':![]});});const j=d['engines']['js'],k=h+y(0xd1),l=k['split']('/'),m=this['fsi'][y(0xbe)]({'pathParts':l});await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':y(0xca),'modulePath':f?y(0xe2):y(0xe3),'isNamedExport':!![]}),await this['fsi'][y(0xd5)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0xc2),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0xe5)][y(0xb9)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20useAuth',y(0xd2)],'replace':!![]}),await this[y(0xe5)][y(0xb9)]({'filePath':m+'.'+j,'content':y(0xf1),'begin':[y(0xcc)],'replace':!![]});const n=y(0xd8),o=n[y(0xc8)]('/'),p=this[y(0xe5)][y(0xbe)]({'pathParts':o});await this['fsi']['injectImport']({'filePath':p+'.'+j,'importName':y(0xde),'modulePath':f?y(0xe2):y(0xe3),'isNamedExport':!![]}),await this[y(0xe5)][y(0xef)]({'filePath':p+'.'+j,'aboveContent':y(0xcf),'belowContent':y(0xd6),'targetString':y(0xd4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0xc0),r=q[y(0xc8)]('/'),s=this['fsi'][y(0xbe)]({'pathParts':r});await this['fsi'][y(0xd5)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?y(0xe2):y(0xe3),'isNamedExport':!![]}),await this['fsi'][y(0xef)]({'filePath':s+'.'+j,'aboveContent':y(0xcf),'belowContent':'</AuthProvider>','targetString':y(0xd4),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0xc3)](t),process['exit'](0x1);}},async function(){},a122e);
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0xc9))/0x1+-parseInt(f(0xca))/0x2*(parseInt(f(0xc0))/0x3)+-parseInt(f(0xc4))/0x4*(-parseInt(f(0xbf))/0x5)+parseInt(f(0xcb))/0x6+parseInt(f(0xc3))/0x7*(parseInt(f(0xbe))/0x8)+parseInt(f(0xbd))/0x9+-parseInt(f(0xc1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x8f581));function a123c(){var i=['24032510kwdafW','search','7ZnvFdR','289580hYyPqi','constructor','(((.+)+)+)+$','toString','apply','1073395AzwnMo','174sasDbp','1151688pBPXfW','8476524pMVqPy','5585240VoaReb','25mavstt','9549OAKQyJ'];a123c=function(){return i;};return a123c();}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0xc7)]()[h(0xc2)]('(((.+)+)+)+$')[h(0xc7)]()[h(0xc5)](a123a)[h(0xc2)](h(0xc6));});a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xbd;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0xba))/0x1+-parseInt(f(0xbd))/0x2+-parseInt(f(0xbf))/0x3*(parseInt(f(0xc3))/0x4)+parseInt(f(0xbb))/0x5+parseInt(f(0xc4))/0x6*(-parseInt(f(0xc0))/0x7)+parseInt(f(0xbc))/0x8+-parseInt(f(0xb7))/0x9*(parseInt(f(0xc2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x5f700));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xb8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0xbe)]()[h(0xb9)](h(0xb6))[h(0xbe)]()[h(0xc1)](a123a)[h(0xb9)](h(0xb6));});a123a();import'./esri.generator.js';function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xb6;var f=c[d];return f;},a123d(a,b);}import'./map.esri.gen.js';function a123c(){var i=['9afgIxF','5579plMFWI','constructor','2390RqTxpf','16072kVrtYy','948hlHsBq','(((.+)+)+)+$','15462dWHBpe','apply','search','369891LaDHsJ','2136185MaBmdv','5229168KBOKPS','1022560fPxlBK','toString'];a123c=function(){return i;};return a123c();}
@@ -1 +1 @@
1
- const a124h=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x165))/0x1*(parseInt(f(0x16b))/0x2)+parseInt(f(0x167))/0x3+-parseInt(f(0x161))/0x4*(-parseInt(f(0x15f))/0x5)+-parseInt(f(0x15a))/0x6*(-parseInt(f(0x159))/0x7)+-parseInt(f(0x162))/0x8+parseInt(f(0x166))/0x9+-parseInt(f(0x15d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xaae48));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const g=a124d;return a124a[g(0x168)]()['search'](g(0x16a))[g(0x168)]()[g(0x16f)](a124a)[g(0x169)](g(0x16a));});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x159;let f=c[d];return f;},a124d(a,b);}const EsriGen=Generator[a124h(0x15e)]({'name':a124h(0x16d),'aliases':['e'],'usage':a124h(0x16c),'noNeedResource':!![],'shortDesc':a124h(0x163),'validOpts':[''],'isPro':!![],'examples':[a124h(0x15c)],'description':a124h(0x164)},async function(){const i=a124h;return{'success':!![],'message':i(0x16e),'details':{'filesCreated':[i(0x160)],'filesUpdated':[i(0x15b)]}};},async function(){},a124e);export default EsriGen;function a124c(){const j=['654437EjIDLN','84baMgCZ','/foo','maka\x20g:kit:e','17456990yFNNGy','create','5070XDOdRb','/foo/bar','8tSBvhf','537544nlvJvS','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','5otPdyo','9445131pYGFHl','921636RNGUSD','toString','search','(((.+)+)+)+$','61882xhbKXi','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','esri','Esri\x20Kit\x20generated\x20successfully','constructor'];a124c=function(){return j;};return a124c();}
1
+ const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0xc9))/0x1+parseInt(f(0xcc))/0x2*(parseInt(f(0xc7))/0x3)+parseInt(f(0xd1))/0x4*(-parseInt(f(0xce))/0x5)+parseInt(f(0xc4))/0x6*(parseInt(f(0xc6))/0x7)+parseInt(f(0xc2))/0x8*(-parseInt(f(0xd0))/0x9)+-parseInt(f(0xc1))/0xa+-parseInt(f(0xca))/0xb*(-parseInt(f(0xbc))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x551b7));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a['toString']()[h(0xcf)](h(0xc8))[h(0xbf)]()[h(0xc3)](a124a)[h(0xcf)]('(((.+)+)+)+$');});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xbc;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';function a124c(){const k=['163050GtjegU','418RVjPeu','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','35458WflSjZ','esri','77655hrCKsd','search','3439521vdzfWk','68iofhls','252312bVAoqf','/foo','apply','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','3409910jGJjHE','8zcdbvf','constructor','342yYcUhB','create','83769vnhJlU','3ZvooXb','(((.+)+)+)+$'];a124c=function(){return k;};return a124c();}import a124e from'../kit.js';const EsriGen=Generator[a124i(0xc5)]({'name':a124i(0xcd),'aliases':['e'],'usage':a124i(0xc0),'noNeedResource':!![],'shortDesc':a124i(0xcb),'validOpts':[''],'isPro':!![],'examples':['maka\x20g:kit:e'],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a124i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':['/foo/bar'],'filesUpdated':[j(0xbd)]}};},async function(){},a124e);export default EsriGen;
@@ -1 +1 @@
1
- function a125c(){const u=['template','checkNpmPackage','5258tnsAhX','</div>','<div\x20id=\x22map\x22>','336694EfLDkd','Generate\x20an\x20Esri\x20map\x20component','kit/esri/map/','3gNTYPx','FALSE','fsi','constructor','(((.+)+)+)+$','1547184ybMcEo','\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','search','getMakaProjectConfig','basic-map','split','true','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','90ykwXML','/imports/ui/hooks','toString','injectTemplateModule','pathFromApp','Generating\x20a\x20map\x20component','REACT','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','error','271290HsyEeH','813252FqbXXz','exit','.js','/imports/startup/client/templates','dir','injectImport','/imports/ui/','appName','282XjrMPC','866068XPYuij','map','8HjkdjV','38245OHnQlG','processAndRunGenerator','create','withValue','1284ydNwxQ'];a125c=function(){return u;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x18e;let f=c[d];return f;},a125d(a,b);}const a125r=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x1a7))/0x1*(-parseInt(p(0x1a4))/0x2)+-parseInt(p(0x1ac))/0x3+parseInt(p(0x18e))/0x4+parseInt(p(0x19a))/0x5*(-parseInt(p(0x196))/0x6)+-parseInt(p(0x197))/0x7*(-parseInt(p(0x199))/0x8)+-parseInt(p(0x1b4))/0x9*(-parseInt(p(0x1bd))/0xa)+parseInt(p(0x1a1))/0xb*(parseInt(p(0x19e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x442f3));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const q=a125d;return a125a[q(0x1b6)]()[q(0x1ae)]('(((.+)+)+)+$')['toString']()[q(0x1aa)](a125a)['search'](q(0x1ab));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125r(0x19c)]({'name':a125r(0x198),'aliases':['m'],'usage':a125r(0x1b3),'shortDesc':a125r(0x1a5),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125r(0x1ba)],'ssr':SsrEngines[a125r(0x1a8)]},'description':a125r(0x1ad)},async function(a,b){const s=a125r;try{Log['bright'](s(0x1b9));const c=s(0x1b0);await this['fsi'][s(0x1a0)](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const d=this[s(0x1a9)]['findProjectDirectory'](),f=this[s(0x1a9)][s(0x1af)](),g=f['engines']['ssr']===s(0x1b2),h=await a125f[s(0x19b)]('page',['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x195)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?s(0x194)+b['baseDir']:s(0x1b5),k=this[s(0x1a9)][s(0x1b8)]({'pathParts':[j,b[s(0x192)],paramCase(c),paramCase(c)]});await this[s(0x1a9)][s(0x19d)](f,async()=>{const t=s;await this[t(0x1a9)][t(0x19f)]({'srcPath':t(0x1a6)+c+t(0x190),'destPath':k+t(0x190),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[s(0x1a9)][s(0x1b7)](c,f,l);const m=h[s(0x1b1)]('/'),n=this[s(0x1a9)][s(0x1b8)]({'pathParts':m});await this['fsi'][s(0x193)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':s(0x191),'isNamedExport':!![]}),await this[s(0x1a9)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x1bb),'begin':[s(0x1a3),s(0x1a3)],'end':[s(0x1a2)],'replace':!![]});}catch(o){Log[s(0x1bc)](o),process[s(0x18f)](0x1);}},async function(){},a125e);
1
+ const a125s=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x151))/0x1*(parseInt(p(0x174))/0x2)+-parseInt(p(0x161))/0x3+parseInt(p(0x15d))/0x4+-parseInt(p(0x15e))/0x5*(-parseInt(p(0x154))/0x6)+-parseInt(p(0x15c))/0x7+-parseInt(p(0x14a))/0x8*(parseInt(p(0x14b))/0x9)+parseInt(p(0x16b))/0xa*(-parseInt(p(0x150))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x7c9d9));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x165)]()['search']('(((.+)+)+)+$')[r(0x165)]()[r(0x164)](a125a)[r(0x15b)](r(0x176));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a125c(){const v=['baseDir','FALSE','appName','10fcyess','page','true','checkNpmPackage','map','<div\x20id=\x22map\x22>','\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','fsi','apply','86TBFMYu','REACT','(((.+)+)+)+$','ssr','/imports/ui/','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','exit','dir','</div>','132688XVpnBc','72SqAChA','getMakaProjectConfig','pathFromApp','kit/esri/map/','.js','5582291QjfyHs','5207bSEUnC','/imports/startup/lib/templates','replaceAll','6LOcZWk','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','split','Generate\x20an\x20Esri\x20map\x20component','injectImport','processAndRunGenerator','injectIntoFile','search','656957eDTbGA','2318944SSJvzN','2946055BZFHIf','injectTemplateModule','template','445209wRAezr','create','error','constructor','toString','@esri/react-arcgis','/imports/startup/client/templates'];a125c=function(){return v;};return a125c();}import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x146;let f=c[d];return f;},a125d(a,b);}import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x162)]({'name':a125s(0x16f),'aliases':['m'],'usage':a125s(0x155),'shortDesc':a125s(0x157),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x175)],'ssr':SsrEngines[a125s(0x169)]},'description':a125s(0x171)},async function(a,b){const t=a125s;try{Log['bright']('Generating\x20a\x20map\x20component');const c='basic-map';await this[t(0x172)][t(0x16e)]([t(0x166),'esri-loader'],{'shouldInstall':!![]});const d=this[t(0x172)]['findProjectDirectory'](),f=this[t(0x172)][t(0x14c)](),g=f['engines'][t(0x177)]===t(0x16d),h=await a125f[t(0x159)](t(0x16c),[t(0x16f)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x16a)])[t(0x153)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x168)]?t(0x178)+b[t(0x168)]:'/imports/ui/hooks',k=this[t(0x172)][t(0x14d)]({'pathParts':[j,b[t(0x148)],paramCase(c),paramCase(c)]});await this[t(0x172)]['withValue'](f,async()=>{const u=t;await this['fsi'][u(0x160)]({'srcPath':u(0x14e)+c+u(0x14f),'destPath':k+u(0x14f),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x148)]+'/'+c+'/'+c;await this[t(0x172)][t(0x15f)](c,f,l);const m=h[t(0x156)]('/'),n=this[t(0x172)][t(0x14d)]({'pathParts':m});await this[t(0x172)][t(0x158)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x152):t(0x167),'isNamedExport':!![]}),await this[t(0x172)][t(0x15a)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x146),'begin':[t(0x170),t(0x170)],'end':[t(0x149)],'replace':!![]});}catch(o){Log[t(0x163)](o),process[t(0x147)](0x1);}},async function(){},a125e);
@@ -1 +1 @@
1
- function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a126d(a,b);}const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x1d6))/0x1*(-parseInt(f(0x1ce))/0x2)+parseInt(f(0x1d7))/0x3+parseInt(f(0x1d4))/0x4*(-parseInt(f(0x1df))/0x5)+-parseInt(f(0x1d9))/0x6*(parseInt(f(0x1dd))/0x7)+parseInt(f(0x1cf))/0x8+-parseInt(f(0x1d2))/0x9+parseInt(f(0x1db))/0xa*(parseInt(f(0x1d3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x54b7c));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x1e0)]()[h(0x1d8)](h(0x1d0))['toString']()[h(0x1de)](a126a)[h(0x1d8)](h(0x1d0));});function a126c(){const j=['88482dwqlmR','maka\x20g:k','10zPDnaD','kit','189TWQwnR','constructor','5KlpFXz','toString','3710KrGQqk','683944dsMGnG','(((.+)+)+)+$','apply','411777BweqCR','1335851LzkDpM','168196lEKOGu','maka\x20{generate,\x20g}:{kit}\x20<name>','103YgXEwL','1304928iRHPoi','search'];a126c=function(){return j;};return a126c();}a126a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a126i(0x1dc),'aliases':['k'],'usage':a126i(0x1d5),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a126i(0x1da)]},async function(){});export default KitGen;
1
+ const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x8a))/0x1*(parseInt(f(0x8c))/0x2)+parseInt(f(0x83))/0x3+-parseInt(f(0x8e))/0x4*(parseInt(f(0x86))/0x5)+parseInt(f(0x88))/0x6+parseInt(f(0x84))/0x7*(-parseInt(f(0x91))/0x8)+parseInt(f(0x82))/0x9*(parseInt(f(0x89))/0xa)+parseInt(f(0x92))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x64f6a));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x87)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x80)]()['search']('(((.+)+)+)+$')[h(0x80)]()['constructor'](a126a)[h(0x8b)](h(0x8f));});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x80;let f=c[d];return f;},a126d(a,b);}a126a();function a126c(){const j=['search','45842prOVcG','maka\x20g:kit','6564yjCmXR','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<name>','1432Wwjauc','17760787UqETzi','toString','create','9whGQAy','480726hKLHIZ','21532yyvDzn','kit','2195EhRAOw','apply','515388lIiLub','2592910oEUpMB','19xatwnd'];a126c=function(){return j;};return a126c();}import{Generator}from'../../generator.js';const KitGen=Generator[a126i(0x81)]({'name':a126i(0x85),'aliases':['k'],'usage':a126i(0x90),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x8d),'maka\x20g:k']},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x12e))/0x1+-parseInt(f(0x130))/0x2*(parseInt(f(0x135))/0x3)+parseInt(f(0x133))/0x4*(parseInt(f(0x13a))/0x5)+-parseInt(f(0x13c))/0x6+-parseInt(f(0x139))/0x7+-parseInt(f(0x136))/0x8*(parseInt(f(0x138))/0x9)+parseInt(f(0x132))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x93144));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x13b)]()['search'](h(0x12f))[h(0x13b)]()[h(0x137)](a127a)[h(0x134)](h(0x12f));});function a127c(){var i=['constructor','34542JewWOF','4566156Slslad','535MtGqwj','toString','6077394tpTYyS','762652XFQpIQ','(((.+)+)+)+$','5064yYQkbD','apply','11103620HDXMDh','43372qXHFiE','search','516JgAyfB','688GrsoqK'];a127c=function(){return i;};return a127c();}a127a();import'./mui.generator.js';function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x12e;var f=c[d];return f;},a127d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x190))/0x1*(parseInt(f(0x195))/0x2)+parseInt(f(0x192))/0x3+-parseInt(f(0x18f))/0x4*(-parseInt(f(0x191))/0x5)+-parseInt(f(0x19a))/0x6+parseInt(f(0x199))/0x7*(-parseInt(f(0x193))/0x8)+parseInt(f(0x18e))/0x9+-parseInt(f(0x196))/0xa*(parseInt(f(0x198))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x7df0e));function a127c(){var i=['3341000bnIpgS','search','22RlKIww','5662979YrJqwH','1711974fERUsf','(((.+)+)+)+$','apply','5072499ZRonOy','324MDoDfm','25QWDSYQ','53925hqYbOW','2652102XYAPIZ','8QRUAqF','constructor','3428KMaDEr'];a127c=function(){return i;};return a127c();}var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x18d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a['toString']()[h(0x197)](h(0x19b))['toString']()[h(0x194)](a127a)[h(0x197)](h(0x19b));});a127a();function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x18d;var f=c[d];return f;},a127d(a,b);}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a128I=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0xca))/0x1*(-parseInt(G(0xd6))/0x2)+-parseInt(G(0xc1))/0x3*(parseInt(G(0xd5))/0x4)+parseInt(G(0xc4))/0x5*(-parseInt(G(0xe8))/0x6)+parseInt(G(0xcb))/0x7*(-parseInt(G(0xc0))/0x8)+parseInt(G(0xd0))/0x9*(-parseInt(G(0xef))/0xa)+-parseInt(G(0xc6))/0xb+-parseInt(G(0xfb))/0xc*(-parseInt(G(0xe9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x9fa7e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const H=a128d;return a128a[H(0xdd)]()[H(0xdf)](H(0xc3))[H(0xdd)]()['constructor'](a128a)[H(0xdf)](H(0xc3));});a128a();import{Generator}from'../../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xb3;let f=c[d];return f;},a128d(a,b);}import{Log}from'../../../tools/log/log.class.js';function a128c(){const M=['4kFhjvL','14ZPBBzU','injectImport','pathFromApp','basic-register-page','Cleaning\x20up...','341478VoOjMz','basic-login-page','auth','fsi','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','13080ZELXyx','492410hLnpuj','maka\x20g:k:m:f','reset-password/:token','AuthContext','layouts','route','MATERIAL','toString','injectTemplateModule','search','kit:auth:provider','kit/mui/auth/register/','react','/imports/startup/client/authentication-provider','kit/mui/auth/forgot-password/','kit/mui/auth/password-reset/','REACT','/imports/ui/','2335878OqgFQV','12766PCSssf','logout','findProjectDirectory','basic-password-reset-page','Meteor\x20Accounts','kit:auth:meteor','290tQSwbw','split','appName','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','list','/imports/ui/pages/auth','engines','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','maka\x20generate:kit:mui:frame','baseDir','kit/mui/auth/logout/','log','73452jSnSvx','login','meteor','forgot-password','basic-logout-page','processAndRunGenerator','template','options','force','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','kit/mui/auth/login/','true','basic-forgot-password-page','error','authType','2131280iUYEOD','765goMGZp','dir','(((.+)+)+)+$','10alYmJo','/imports/startup/lib/authentication-provider','12390818NehPhN','custom','ssr','.js'];a128c=function(){return M;};return a128c();}import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128I(0xd2),'aliases':['a'],'usage':a128I(0xd4),'shortDesc':a128I(0xba),'validOpts':[a128I(0xda),a128I(0xb9)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128I(0xdc)],'client':ClientEngines[a128I(0xe6)]},'examples':[a128I(0xf7),a128I(0xd7)],'description':a128I(0xf2)},async function(a,b){const J=a128I;try{const c=b[J(0xb9)]||![],d=this[J(0xd3)][J(0xeb)](),f=this['fsi']['getMakaProjectConfig'](),{authType:g}=await Actions[J(0xb8)]({'type':J(0xf3),'name':J(0xbf),'message':J(0xf6),'choices':[{'name':J(0xed),'value':'meteor'},{'name':'Custom\x20(roll\x20your\x20own)','value':J(0xc7)}]}),h=J(0xd1),i=J(0xb5),j=J(0xce),k=J(0xec),l=J(0xbd),m=b[J(0xf8)]?J(0xe7)+b['baseDir']:J(0xf4),n=this['fsi'][J(0xcd)]({'pathParts':[m,b[J(0xc2)],paramCase(h),paramCase(h)]}),o=this[J(0xd3)]['pathFromApp']({'pathParts':[m,b[J(0xc2)],paramCase(i),paramCase(i)]}),p=this['fsi']['pathFromApp']({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this['fsi'][J(0xcd)]({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[J(0xd3)][J(0xcd)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0xf1)])['replaceAll']('-','\x20')};await this[J(0xd3)]['withValue'](f,async()=>{const K=J;await this['fsi']['template']({'srcPath':K(0xbb)+h+K(0xc9),'destPath':n+K(0xc9),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0xd3)][K(0xb7)]({'srcPath':K(0xf9)+i+K(0xc9),'destPath':o+K(0xc9),'framework':K(0xe2),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':K(0xe1)+j+K(0xc9),'destPath':p+K(0xc9),'framework':K(0xe2),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0xd3)][K(0xb7)]({'srcPath':K(0xe5)+k+K(0xc9),'destPath':q+K(0xc9),'framework':K(0xe2),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0xb7)]({'srcPath':K(0xe4)+l+K(0xc9),'destPath':r+K(0xc9),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0xc2)]+'/'+h+'/'+h;await this['fsi'][J(0xde)](h,f,t);const u=''+m+b[J(0xc2)]+'/'+i+'/'+i;await this[J(0xd3)][J(0xde)](i,f,u);const v=''+m+b[J(0xc2)]+'/'+j+'/'+j;await this[J(0xd3)]['injectTemplateModule'](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this['fsi'][J(0xde)](k,f,w);const x=''+m+b[J(0xc2)]+'/'+l+'/'+l;await this[J(0xd3)][J(0xde)](l,f,x),await a128e['processAndRunGenerator'](J(0xdb),[J(0xd1)],{'route':J(0xfc),'cwd':d,'config':f}),await a128e[J(0xb6)](J(0xdb),['basic-logout-page'],{'route':J(0xea),'private':!![],'cwd':d,'config':f}),await a128e[J(0xb6)]('route',[J(0xce)],{'route':'register','cwd':d,'config':f}),await a128e['processAndRunGenerator']('route',[J(0xec)],{'route':J(0xd8),'cwd':d,'config':f}),await a128e['processAndRunGenerator']('route',[J(0xbd)],{'route':J(0xb4),'cwd':d,'config':f});g===J(0xb3)&&await a128e['processAndRunGenerator'](J(0xee),[],{'force':c,'cwd':d,'config':f});g===J(0xc7)&&await a128e[J(0xb6)](J(0xe0),[],{'force':c,'cwd':d,'config':f});const y=f[J(0xf5)][J(0xc8)]===J(0xbc),z=f['engines']['js'],A=this[J(0xd3)][J(0xcd)]({'pathParts':t['split']('/')});await this[J(0xd3)]['injectImport']({'filePath':A+'.'+z,'importName':J(0xd9),'modulePath':y?J(0xc5):J(0xe3),'isNamedExport':!![]});const B=this['fsi'][J(0xcd)]({'pathParts':u['split']('/')});await this['fsi'][J(0xcc)]({'filePath':B+'.'+z,'importName':J(0xd9),'modulePath':y?J(0xc5):J(0xe3),'isNamedExport':!![]});const C=this[J(0xd3)]['pathFromApp']({'pathParts':v['split']('/')});await this[J(0xd3)][J(0xcc)]({'filePath':C+'.'+z,'importName':J(0xd9),'modulePath':y?J(0xc5):J(0xe3),'isNamedExport':!![]});const D=this[J(0xd3)][J(0xcd)]({'pathParts':w[J(0xf0)]('/')});await this[J(0xd3)][J(0xcc)]({'filePath':D+'.'+z,'importName':J(0xd9),'modulePath':y?J(0xc5):J(0xe3),'isNamedExport':!![]});const E=this[J(0xd3)][J(0xcd)]({'pathParts':x[J(0xf0)]('/')});await this[J(0xd3)][J(0xcc)]({'filePath':E+'.'+z,'importName':J(0xd9),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0xe3),'isNamedExport':!![]});}catch(F){Log[J(0xbe)](F);}},async function(){const L=a128I;console[L(0xfa)](L(0xcf));},a128f);
1
+ const a128J=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x1dc))/0x1+-parseInt(G(0x1f8))/0x2+-parseInt(G(0x20d))/0x3+parseInt(G(0x1f7))/0x4+-parseInt(G(0x1e3))/0x5*(-parseInt(G(0x212))/0x6)+-parseInt(G(0x1da))/0x7+parseInt(G(0x1d8))/0x8*(parseInt(G(0x1ef))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x72efa));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0x1e1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x1eb)]()[I(0x204)](I(0x203))['toString']()['constructor'](a128a)[I(0x204)](I(0x203));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128J(0x1e7),'aliases':['a'],'usage':a128J(0x205),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','validOpts':[a128J(0x1f0),a128J(0x1df)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a128J(0x1ea)]},'examples':[a128J(0x208),a128J(0x1f6)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const K=a128J;try{const c=b[K(0x1df)]||![],d=this[K(0x1fe)][K(0x1ec)](),f=this[K(0x1fe)]['getMakaProjectConfig'](),{authType:g}=await Actions[K(0x1f1)]({'type':K(0x1e4),'name':K(0x1ee),'message':K(0x211),'choices':[{'name':K(0x1e5),'value':K(0x1dd)},{'name':K(0x1e9),'value':K(0x210)}]}),h='basic-login-page',i=K(0x20c),j=K(0x1fb),k=K(0x1fd),l='basic-forgot-password-page',m=b[K(0x202)]?K(0x1e0)+b[K(0x202)]:K(0x1fc),n=this[K(0x1fe)][K(0x1f9)]({'pathParts':[m,b[K(0x1d9)],paramCase(h),paramCase(h)]}),o=this[K(0x1fe)]['pathFromApp']({'pathParts':[m,b[K(0x1d9)],paramCase(i),paramCase(i)]}),p=this[K(0x1fe)]['pathFromApp']({'pathParts':[m,b[K(0x1d9)],paramCase(j),paramCase(j)]}),q=this[K(0x1fe)][K(0x1f9)]({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this['fsi'][K(0x1f9)]({'pathParts':[m,b[K(0x1d9)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x207)])[K(0x206)]('-','\x20')};await this[K(0x1fe)]['withValue'](f,async()=>{const L=K;await this[L(0x1fe)][L(0x1f5)]({'srcPath':'kit/mui/auth/login/'+h+L(0x20e),'destPath':n+L(0x20e),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0x1f5)]({'srcPath':'kit/mui/auth/logout/'+i+L(0x20e),'destPath':o+L(0x20e),'framework':L(0x1fa),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1fe)][L(0x1f5)]({'srcPath':L(0x1e2)+j+L(0x20e),'destPath':p+L(0x20e),'framework':L(0x1fa),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1fe)][L(0x1f5)]({'srcPath':L(0x1e6)+k+L(0x20e),'destPath':q+L(0x20e),'framework':L(0x1fa),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0x1fe)][L(0x1f5)]({'srcPath':'kit/mui/auth/forgot-password/'+l+L(0x20e),'destPath':r+'.js','framework':L(0x1fa),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[K(0x1d9)]+'/'+h+'/'+h;await this[K(0x1fe)][K(0x1ff)](h,f,t);const u=''+m+b[K(0x1d9)]+'/'+i+'/'+i;await this[K(0x1fe)][K(0x1ff)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0x1fe)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0x1d9)]+'/'+k+'/'+k;await this[K(0x1fe)][K(0x1ff)](k,f,w);const x=''+m+b[K(0x1d9)]+'/'+l+'/'+l;await this[K(0x1fe)]['injectTemplateModule'](l,f,x),await a128e['processAndRunGenerator'](K(0x1f4),[K(0x1f3)],{'route':'login','cwd':d,'config':f}),await a128e[K(0x201)]('route',[K(0x20c)],{'route':K(0x1db),'private':!![],'cwd':d,'config':f}),await a128e[K(0x201)]('route',[K(0x1fb)],{'route':'register','cwd':d,'config':f}),await a128e[K(0x201)](K(0x1f4),[K(0x1fd)],{'route':'reset-password/:token','cwd':d,'config':f}),await a128e[K(0x201)](K(0x1f4),['basic-forgot-password-page'],{'route':'forgot-password','cwd':d,'config':f});g===K(0x1dd)&&await a128e[K(0x201)](K(0x20f),[],{'force':c,'cwd':d,'config':f});g===K(0x210)&&await a128e['processAndRunGenerator'](K(0x1f2),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x214)][K(0x213)]===K(0x216),z=f[K(0x214)]['js'],A=this[K(0x1fe)]['pathFromApp']({'pathParts':t['split']('/')});await this[K(0x1fe)][K(0x209)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1ed),'isNamedExport':!![]});const B=this['fsi'][K(0x1f9)]({'pathParts':u[K(0x200)]('/')});await this[K(0x1fe)][K(0x209)]({'filePath':B+'.'+z,'importName':K(0x1de),'modulePath':y?K(0x215):K(0x1ed),'isNamedExport':!![]});const C=this[K(0x1fe)][K(0x1f9)]({'pathParts':v[K(0x200)]('/')});await this[K(0x1fe)][K(0x209)]({'filePath':C+'.'+z,'importName':K(0x1de),'modulePath':y?K(0x215):K(0x1ed),'isNamedExport':!![]});const D=this[K(0x1fe)][K(0x1f9)]({'pathParts':w[K(0x200)]('/')});await this[K(0x1fe)][K(0x209)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?K(0x215):K(0x1ed),'isNamedExport':!![]});const E=this[K(0x1fe)][K(0x1f9)]({'pathParts':x['split']('/')});await this[K(0x1fe)][K(0x209)]({'filePath':E+'.'+z,'importName':K(0x1de),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x1ed),'isNamedExport':!![]});}catch(F){Log[K(0x20b)](F);}},async function(){const M=a128J;console[M(0x20a)](M(0x1e8));},a128f);function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a128d(a,b);}function a128c(){const N=['apply','kit/mui/auth/register/','105YsMBRY','list','Meteor\x20Accounts','kit/mui/auth/password-reset/','auth','Cleaning\x20up...','Custom\x20(roll\x20your\x20own)','REACT','toString','findProjectDirectory','/imports/startup/client/authentication-provider','authType','9693GBKKxn','layouts','options','kit:auth:provider','basic-login-page','route','template','maka\x20g:k:m:f','3367992dBWgrZ','409026TBsoVE','pathFromApp','react','basic-register-page','/imports/ui/pages/auth','basic-password-reset-page','fsi','injectTemplateModule','split','processAndRunGenerator','baseDir','(((.+)+)+)+$','search','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','replaceAll','appName','maka\x20generate:kit:mui:frame','injectImport','log','error','basic-logout-page','2158080NJVgTa','.js','kit:auth:meteor','custom','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','143370HKiKeZ','ssr','engines','/imports/startup/lib/authentication-provider','true','8712dJgTPG','dir','4212446kETLSO','logout','520217TQECzw','meteor','AuthContext','force','/imports/ui/'];a128c=function(){return N;};return a128c();}
@@ -1 +1 @@
1
- const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x137))/0x1+-parseInt(B(0x113))/0x2+-parseInt(B(0x107))/0x3*(parseInt(B(0x124))/0x4)+parseInt(B(0x134))/0x5+parseInt(B(0x14c))/0x6*(parseInt(B(0x136))/0x7)+-parseInt(B(0x142))/0x8+parseInt(B(0x108))/0x9*(parseInt(B(0x126))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xe7610));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x129)]()[D(0x106)](D(0x139))['toString']()['constructor'](a129a)[D(0x106)](D(0x139));});a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x106;let f=c[d];return f;},a129d(a,b);}import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x132)]({'name':a129E(0x144),'aliases':['f'],'usage':a129E(0x12f),'shortDesc':a129E(0x10b),'validOpts':[a129E(0x11a),a129E(0x13a),'dir',a129E(0x10e)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x143)],'client':ClientEngines[a129E(0x11b)]},'examples':[a129E(0x12c),a129E(0x11c)],'description':a129E(0x14a)},async function(a,b){const F=a129E;try{const c=b[F(0x10e)]||![],d='basic-app-bar',f='basic-drawer',g=F(0x116),h=this[F(0x117)][F(0x10f)](),i=h[F(0x13e)][F(0x131)]==='true';await this[F(0x117)][F(0x11f)](['session',F(0x13c)],{'shouldInstall':!![]});const j=this[F(0x117)][F(0x127)](),k=a129e['join'](j,'imports','ui','layouts'),l=this[F(0x117)][F(0x125)](k),m=await Actions[F(0x12b)]({'type':'checkbox','name':'layouts','message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x11a)]['length']===0x0){Log['error']('No\x20layouts\x20selected');return;}const n=b[F(0x13a)]?'/imports/ui/'+b[F(0x13a)]:'/imports/ui/components',o=this[F(0x117)][F(0x147)]({'pathParts':[n,b[F(0x149)],paramCase(d),paramCase(d)]}),p=this['fsi']['pathFromApp']({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0x147)]({'pathParts':[n,b[F(0x149)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[F(0x115)]('-','\x20')};await this[F(0x117)][F(0x128)](h,async()=>{const G=F;await this[G(0x117)][G(0x14d)]({'srcPath':G(0x138)+d+G(0x13f),'destPath':o+'.js','framework':G(0x12d),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x117)][G(0x14d)]({'srcPath':G(0x130)+f+G(0x13f),'destPath':p+G(0x13f),'framework':G(0x12d),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x117)]['template']({'srcPath':G(0x111)+g+G(0x13f),'destPath':q+G(0x13f),'framework':G(0x12d),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x149)]+'/'+d+'/'+d;await this[F(0x117)][F(0x109)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this['fsi']['injectTemplateModule'](f,h,t);const u=''+n+b[F(0x149)]+'/'+g+'/'+g;await this[F(0x117)][F(0x109)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x117)][F(0x133)](a129e[F(0x146)](k,w),{'extensions':[F(0x14b),F(0x121)],'omit':[F(0x123),F(0x13d),F(0x112)]});for(const y of x){const z=a129e[F(0x146)](k,w,y);await this['fsi'][F(0x12e)]({'filePath':z,'importName':F(0x119),'modulePath':F(0x135),'isNamedExport':![]}),await this[F(0x117)][F(0x12e)]({'filePath':z,'importName':F(0x11e),'modulePath':F(0x145),'isNamedExport':![]}),await this['fsi'][F(0x12e)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x120):F(0x148),'isNamedExport':!![]}),await this[F(0x117)][F(0x114)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x11d)+w+'\x22>',F(0x11d)+w+F(0x140)],'end':[F(0x10c),'<Outlet\x20/>']}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x120):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x117)][F(0x114)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x13b),'begin':[F(0x11d)+w+'\x22>',F(0x11d)+w+F(0x140)],'end':[F(0x10c),F(0x12a)]}),await this[F(0x117)][F(0x114)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x13b),'begin':['<Outlet/>',F(0x12a)],'end':['</div>']}),await this[F(0x117)][F(0x12e)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x120):F(0x148),'isNamedExport':!![]}),await this[F(0x117)]['injectAroundString']({'filePath':z,'aboveContent':F(0x110),'belowContent':F(0x10d),'targetString':[F(0x10c),F(0x12a)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x141)](A);}},async function(){const H=a129E;console[H(0x10a)](H(0x118));},a129f);function a129c(){const I=['getMakaProjectConfig','<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>','kit/mui/frame/footers/','test','3709542taAaSj','injectIntoFile','replaceAll','basic-sticky-footer','fsi','Cleaning\x20up...','Box','layouts','REACT','maka\x20g:k:m:f','<div\x20id=\x22','Container','checkMeteorPackage','/imports/startup/lib/templates','tsx','apply','app-tests','50092bkgAYl','getDirectories','59181730XSsBSR','findAppDirectory','withValue','toString','<Outlet\x20/>','options','maka\x20generate:kit:mui:frame','react','injectImport','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','kit/mui/frame/drawers/','ssr','create','getFiles','4505630jIuNTh','@mui/material/Box','7TEGcEL','1400981lYjzkt','kit/mui/frame/app-bars/','(((.+)+)+)+$','baseDir','\x20/>\x0a','maka:react-tracker','tests','engines','.js','-hook\x22>','error','10313552QnUnPX','MATERIAL','frame','@mui/material/Container','join','pathFromApp','/imports/startup/client/templates','dir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','jsx','3085536Ookhmm','template','search','441fZUiCd','9csVfRP','injectTemplateModule','log','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','<Outlet/>','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','force'];a129c=function(){return I;};return a129c();}
1
+ const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x8d))/0x1*(-parseInt(B(0xcb))/0x2)+-parseInt(B(0xaf))/0x3*(parseInt(B(0xc4))/0x4)+-parseInt(B(0x90))/0x5+-parseInt(B(0xb2))/0x6*(parseInt(B(0x9f))/0x7)+parseInt(B(0x96))/0x8+-parseInt(B(0xae))/0x9*(parseInt(B(0xa0))/0xa)+parseInt(B(0xcc))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd1016));function a129c(){const I=['injectIntoFile','injectImport','-hook\x22>','ssr','checkMeteorPackage','Container','basic-app-bar','react','<Outlet\x20/>','Box','app-tests','<div\x20id=\x22','3333412pWaexJ','maka\x20g:k:m:f','REACT','replaceAll','@mui/material/Container','join','toString','2BpOBAZ','51807965FmJDiw','search','/imports/ui/components','getMakaProjectConfig','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','error','kit/mui/frame/app-bars/','imports','template','@mui/material/Box','length','maka\x20generate:kit:mui:frame','22271cOOLTW','pathFromApp','<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>','5546320Gybfzk','constructor','dir','</div>','engines','<Outlet/>','1767240AWemOS','layouts','log','jsx','findAppDirectory','kit/mui/frame/footers/','tsx','kit/mui/frame/drawers/','MATERIAL','7LVJqAA','1790tBbiSP','/imports/startup/lib/templates','session','Cleaning\x20up...','fsi','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','No\x20layouts\x20selected','injectTemplateModule','(((.+)+)+)+$','create','withValue','\x20/>\x0a','tests','checkbox','32166tKvomx','3gjSTce','.js','apply','9087252Mnlywj','/imports/ui/','force','baseDir','test','/imports/startup/client/templates'];a129c=function(){return I;};return a129c();}const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0xb1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0xca)]()[D(0xcd)](D(0xa8))[D(0xca)]()[D(0x91)](a129a)[D(0xcd)](D(0xa8));});a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x84;let f=c[d];return f;},a129d(a,b);}import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0xa9)]({'name':'frame','aliases':['f'],'usage':a129E(0x84),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':[a129E(0x97),a129E(0xb5),a129E(0x92),a129E(0xb4)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x9e)],'client':ClientEngines[a129E(0xc6)]},'examples':[a129E(0x8c),a129E(0xc5)],'description':a129E(0xa5)},async function(a,b){const F=a129E;try{const c=b[F(0xb4)]||![],d=F(0xbe),f='basic-drawer',g='basic-sticky-footer',h=this[F(0xa4)][F(0xcf)](),i=h[F(0x94)][F(0xbb)]==='true';await this[F(0xa4)][F(0xbc)]([F(0xa2),'maka:react-tracker'],{'shouldInstall':!![]});const j=this['fsi'][F(0x9a)](),k=a129e[F(0xc9)](j,F(0x88),'ui',F(0x97)),l=this['fsi']['getDirectories'](k),m=await Actions['options']({'type':F(0xad),'name':F(0x97),'message':F(0x85),'choices':l});if(m[F(0x97)][F(0x8b)]===0x0){Log[F(0x86)](F(0xa6));return;}const n=b[F(0xb5)]?F(0xb3)+b[F(0xb5)]:F(0xce),o=this[F(0xa4)][F(0x8e)]({'pathParts':[n,b['dir'],paramCase(d),paramCase(d)]}),p=this[F(0xa4)][F(0x8e)]({'pathParts':[n,b[F(0x92)],paramCase(f),paramCase(f)]}),q=this[F(0xa4)][F(0x8e)]({'pathParts':[n,b[F(0x92)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[F(0xc7)]('-','\x20')};await this['fsi'][F(0xaa)](h,async()=>{const G=F;await this['fsi'][G(0x89)]({'srcPath':G(0x87)+d+'.js','destPath':o+G(0xb0),'framework':G(0xbf),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xa4)][G(0x89)]({'srcPath':G(0x9d)+f+G(0xb0),'destPath':p+G(0xb0),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x89)]({'srcPath':G(0x9b)+g+G(0xb0),'destPath':q+G(0xb0),'framework':G(0xbf),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x92)]+'/'+d+'/'+d;await this[F(0xa4)][F(0xa7)](d,h,s);const t=''+n+b[F(0x92)]+'/'+f+'/'+f;await this['fsi'][F(0xa7)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this['fsi'][F(0xa7)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi']['getFiles'](a129e[F(0xc9)](k,w),{'extensions':[F(0x99),F(0x9c)],'omit':[F(0xc2),F(0xac),F(0xb6)]});for(const y of x){const z=a129e[F(0xc9)](k,w,y);await this[F(0xa4)]['injectImport']({'filePath':z,'importName':F(0xc1),'modulePath':F(0x8a),'isNamedExport':![]}),await this[F(0xa4)][F(0xb9)]({'filePath':z,'importName':F(0xbd),'modulePath':F(0xc8),'isNamedExport':![]}),await this['fsi'][F(0xb9)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':F(0xb7),'isNamedExport':!![]}),await this[F(0xa4)][F(0xb8)]({'filePath':z,'content':'<'+pascalCase(d)+F(0xab),'begin':[F(0xc3)+w+'\x22>','<div\x20id=\x22'+w+F(0xba)],'end':[F(0x95),F(0xc0)]}),await this[F(0xa4)][F(0xb9)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xa1):F(0xb7),'isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0xab),'begin':[F(0xc3)+w+'\x22>',F(0xc3)+w+F(0xba)],'end':['<Outlet/>','<Outlet\x20/>']}),await this['fsi'][F(0xb8)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x95),F(0xc0)],'end':[F(0x93)]}),await this[F(0xa4)][F(0xb9)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0xa1):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0xa4)]['injectAroundString']({'filePath':z,'aboveContent':F(0x8f),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[F(0x95),F(0xc0)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x86)](A);}},async function(){const H=a129E;console[H(0x98)](H(0xa3));},a129f);
@@ -1 +1 @@
1
- const a130j=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=-parseInt(g(0x139))/0x1+-parseInt(g(0x134))/0x2*(-parseInt(g(0x13d))/0x3)+parseInt(g(0x13c))/0x4+-parseInt(g(0x12f))/0x5+parseInt(g(0x135))/0x6+-parseInt(g(0x140))/0x7+parseInt(g(0x13f))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x85ece));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x125)]()[i(0x142)](i(0x136))[i(0x125)]()[i(0x133)](a130a)[i(0x142)](i(0x136));});function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x122;let f=c[d];return f;},a130d(a,b);}function a130c(){const l=['auth','kit:mui:frame','frame','fsi','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','3469375jzhWXC','findProjectDirectory','apply','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','constructor','20YcRuOZ','1272774aROIzl','(((.+)+)+)+$','notice','length','312105yzqhxT','No\x20MUI\x20kits\x20selected.\x20Exiting.','mui','3842340kdPINJ','318912KfvJfZ','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','878136RwJdlJ','5536881hOTCGU','maka\x20g:kit:m','search','kitChoices','Material-UI\x20Kit','info','options','processAndRunGenerator','toString','Header,\x20Footer,\x20and\x20Drawer','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','checkbox','includes'];a130c=function(){return l;};return a130c();}a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';const MuiGen=Generator['create']({'name':a130j(0x13b),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a130j(0x144),'validOpts':[''],'isPro':!![],'examples':[a130j(0x141)]},async function(){const k=a130j;Log['info'](k(0x13e)),Log[k(0x137)](k(0x132));const {kitChoices:a}=await Actions[k(0x123)]({'type':k(0x128),'name':k(0x143),'message':k(0x12e),'choices':[{'name':k(0x126),'value':k(0x12c)},{'name':k(0x127),'value':k(0x12a)}]}),b=this[k(0x12d)][k(0x130)](),c=this[k(0x12d)]['getMakaProjectConfig']();a[k(0x129)](k(0x12c))&&await a130e[k(0x124)](k(0x12b),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x12a))&&await a130e[k(0x124)]('kit:mui:auth',[],{'force':!![],'cwd':b,'config':c});if(a[k(0x138)]===0x0){Log[k(0x122)](k(0x13a));return;}},async function(){},a130f);export default MuiGen;
1
+ function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x169;let f=c[d];return f;},a130d(a,b);}function a130c(){const k=['fsi','1378864exyaqm','No\x20MUI\x20kits\x20selected.\x20Exiting.','auth','4018045aPUigh','frame','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','processAndRunGenerator','getMakaProjectConfig','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','toString','notice','kitChoices','mui','includes','search','Header,\x20Footer,\x20and\x20Drawer','(((.+)+)+)+$','413CMmZWO','8797712QJKKFi','maka\x20g:kit:m','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','kit:mui:auth','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','checkbox','findProjectDirectory','info','2983641JznXEN','2qSQtVn','55302zxvlqF','1248303xQEMIV','29864457YAvBDZ'];a130c=function(){return k;};return a130c();}const a130i=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x173))/0x1*(parseInt(g(0x171))/0x2)+parseInt(g(0x170))/0x3+parseInt(g(0x176))/0x4+parseInt(g(0x179))/0x5+-parseInt(g(0x172))/0x6*(parseInt(g(0x188))/0x7)+parseInt(g(0x189))/0x8+-parseInt(g(0x174))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x9984d));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x180)]()[h(0x185)](h(0x187))[h(0x180)]()['constructor'](a130a)[h(0x185)]('(((.+)+)+)+$');});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';import a130f from'../kit.js';const MuiGen=Generator['create']({'name':a130i(0x183),'aliases':['m'],'usage':a130i(0x16a),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':!![],'examples':[a130i(0x169)]},async function(){const j=a130i;Log['info'](j(0x17f)),Log[j(0x181)](j(0x17b));const {kitChoices:a}=await Actions['options']({'type':j(0x16d),'name':j(0x182),'message':j(0x16c),'choices':[{'name':j(0x186),'value':j(0x17a)},{'name':j(0x17c),'value':j(0x178)}]}),b=this[j(0x175)][j(0x16e)](),c=this[j(0x175)][j(0x17e)]();a[j(0x184)](j(0x17a))&&await a130e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a[j(0x184)](j(0x178))&&await a130e[j(0x17d)](j(0x16b),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[j(0x16f)](j(0x177));return;}},async function(){},a130f);export default MuiGen;
@@ -1 +1 @@
1
- const a131o=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=-parseInt(l(0xb3))/0x1+-parseInt(l(0xb6))/0x2*(parseInt(l(0xb4))/0x3)+-parseInt(l(0xb9))/0x4+-parseInt(l(0xae))/0x5*(-parseInt(l(0xad))/0x6)+-parseInt(l(0xa8))/0x7*(parseInt(l(0xa7))/0x8)+-parseInt(l(0xaa))/0x9+parseInt(l(0xa1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xb88e8));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a['toString']()['search']('(((.+)+)+)+$')[n(0xb2)]()[n(0xa5)](a131a)[n(0x94)]('(((.+)+)+)+$');});a131a();import a131e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x82;let f=c[d];return f;},a131d(a,b);}function a131c(){const r=['true','4899272MSXHuj','7iAeFcE','withHook','8283222UfEblq','apply','fileName','150juoNyY','144995gbYRMr','.app-tests.js','.js','engines','toString','216093asFlyX','3bUEJQx','relative','1585044nrHtZL','graphql','ramda','297584ZPwoTL','withHooks','resourceName','split','css','test/test.js','assign','pathFromApp','className','ssr','none','checkNpmPackage','theme','setTemplate','installNpmPackage','maka\x20g:layout\x20mobile/iPhone8','layout','import\x20\x27./','warn','search','dir','hook/hook.js','template/template.css','features','string','.css','test','withValue','includes','fsi','react','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','26467470RuAJif','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','template','getMakaProjectConfig','constructor'];a131c=function(){return r;};return a131c();}Generator['create']({'name':a131o(0x91),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[a131o(0xa9)],'examples':[a131o(0x90),'maka\x20g:l\x20web/safari']},async function(a,b){const p=a131o,c='/imports/ui/layouts',d=this[p(0x9e)]['findAppDirectory'](),e=this[p(0x9e)][p(0x88)]({'pathParts':[c,b[p(0x95)],paramCase(b['resourceName']),paramCase(b[p(0x83)])]}),f=this[p(0x9e)][p(0xa4)]();await this[p(0x9e)][p(0x9c)](f,async()=>{const q=p;typeof f[q(0xa3)][q(0x9b)]===q(0x99)&&(f[q(0xa3)][q(0x9b)]=f['template'][q(0x9b)]===q(0xa6)?!![]:![],this[q(0x9e)][q(0x8e)](q(0x9b),f[q(0xa3)][q(0x9b)]));typeof f[q(0xa3)]['css']===q(0x99)&&(f[q(0xa3)][q(0x85)]=f['template'][q(0x85)]==='true'?!![]:![],this[q(0x9e)][q(0x8e)](q(0x85),f[q(0xa3)][q(0x85)]));typeof f['template']['js']==='string'&&(f[q(0xa3)]['js']=f[q(0xa3)]['js']==='true'?!![]:![],this[q(0x9e)][q(0x8e)]('js',f['template']['js']));!f[q(0x98)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0x84)](':')[0x1]:![],h=b['_']&&aliases[q(0x9d)](g);h&&!this['checkNpmPackage'](q(0xb8))&&(Log[q(0x93)](q(0xa2)),this['fsi'][q(0x8f)]('ramda',{'cwd':d}));if(h&&!this[q(0x8c)]('react')){Log[q(0x93)](q(0xa0));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a131e[q(0xb5)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x83)]),'className':pascalCase(b[q(0x83)]),'camelCaseName':camelCase(b[q(0x83)]),'fileName':paramCase(b[q(0x83)]),'graphql':f[q(0xb1)][q(0xb7)],'features':f[q(0x98)],'client':f[q(0xb1)]['client'],'api':f[q(0xb1)]['api'],'ssr':f[q(0xb1)][q(0x8a)],'test':f[q(0xb1)][q(0x9b)],'theme':f[q(0xb1)][q(0x8d)],'isComponent':![],'isLayout':!![],'withTranslations':f['features']['withTranslations']};f[q(0x98)]?.[q(0x82)]||b[q(0xa9)]?await this[q(0x9e)][q(0xa3)]({'srcPath':q(0x96),'destPath':e+q(0xb0),'framework':q(0x9f),'context':i,'config':f}):await this[q(0x9e)]['template']({'srcPath':'component/component.js','destPath':e+q(0xb0),'framework':q(0x9f),'context':i,'config':f});f[q(0xb1)][q(0x9b)]!==q(0x8b)&&await this[q(0x9e)]['template']({'srcPath':q(0x86),'destPath':e+q(0xaf),'framework':'react','context':i,'config':f});f[q(0xa3)][q(0x85)]&&(await this[q(0x9e)][q(0xa3)]({'srcPath':q(0x97),'destPath':e+q(0x9a),'context':Object[q(0x87)]({},i,{'className':paramCase(b[q(0x83)])}),'config':f}),await this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0xb1)]['js'],'content':q(0x92)+i[q(0xac)]+'.'+f[q(0xb1)][q(0x85)]+'\x27;'}));const j=b[q(0x95)]?'/'+b['dir']+'/':'/',k=''+c+j+i[q(0xac)]+'/'+i[q(0xac)];await this['fsi']['injectTemplateModule'](i[q(0x89)],f,k);});});
1
+ const a131n=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0xb1))/0x1+parseInt(l(0x99))/0x2*(parseInt(l(0xba))/0x3)+-parseInt(l(0xa3))/0x4*(parseInt(l(0x9c))/0x5)+parseInt(l(0xcb))/0x6+-parseInt(l(0xab))/0x7+-parseInt(l(0xc0))/0x8+-parseInt(l(0xb7))/0x9*(-parseInt(l(0x98))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xddae0));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 m=a131d;return a131a[m(0x96)]()[m(0xa4)](m(0xc2))['toString']()['constructor'](a131a)[m(0xa4)](m(0xc2));});a131a();import a131e from'path';import{Generator}from'../generator.js';function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x95;let f=c[d];return f;},a131d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131n(0xa1)]({'name':a131n(0xa0),'aliases':aliases,'usage':a131n(0xa2),'shortDesc':a131n(0xac),'validOpts':[a131n(0x9d)],'examples':[a131n(0xb2),a131n(0xcc)]},async function(a,b){const o=a131n,c=o(0x97),d=this[o(0xc4)]['findAppDirectory'](),e=this[o(0xc4)]['pathFromApp']({'pathParts':[c,b[o(0xad)],paramCase(b['resourceName']),paramCase(b[o(0xa7)])]}),f=this[o(0xc4)]['getMakaProjectConfig']();await this[o(0xc4)]['withValue'](f,async()=>{const p=o;typeof f[p(0xae)][p(0xb4)]===p(0xbf)&&(f[p(0xae)][p(0xb4)]=f['template'][p(0xb4)]===p(0xb9)?!![]:![],this['fsi']['setTemplate']('test',f[p(0xae)]['test']));typeof f['template'][p(0xa6)]===p(0xbf)&&(f['template'][p(0xa6)]=f[p(0xae)][p(0xa6)]==='true'?!![]:![],this[p(0xc4)][p(0xb0)](p(0xa6),f[p(0xae)][p(0xa6)]));typeof f['template']['js']===p(0xbf)&&(f[p(0xae)]['js']=f['template']['js']===p(0xb9)?!![]:![],this['fsi'][p(0xb0)]('js',f[p(0xae)]['js']));!f[p(0xc8)]&&(f[p(0xc8)]={});const g=b['_']?b['_'][0x0][p(0xc6)](':')[0x1]:![],h=b['_']&&aliases[p(0xcf)](g);h&&!this[p(0xaa)]('ramda')&&(Log[p(0xbd)](p(0xb8)),this[p(0xc4)][p(0x9b)](p(0xb6),{'cwd':d}));if(h&&!this[p(0xaa)](p(0xc9))){Log[p(0xbd)](p(0xc7));return;}const i={'name':pascalCase(b[p(0xa7)]),'myPath':a131e[p(0x95)](this[p(0xc4)][p(0xc5)]({}),e),'cssCaseName':paramCase(b[p(0xa7)]),'className':pascalCase(b[p(0xa7)]),'camelCaseName':camelCase(b[p(0xa7)]),'fileName':paramCase(b[p(0xa7)]),'graphql':f[p(0x9f)][p(0xc1)],'features':f[p(0xc8)],'client':f[p(0x9f)]['client'],'api':f[p(0x9f)][p(0xa8)],'ssr':f[p(0x9f)]['ssr'],'test':f[p(0x9f)][p(0xb4)],'theme':f[p(0x9f)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][p(0x9a)]};f[p(0xc8)]?.[p(0xcd)]||b[p(0x9d)]?await this[p(0xc4)]['template']({'srcPath':'hook/hook.js','destPath':e+p(0xb3),'framework':p(0xc9),'context':i,'config':f}):await this[p(0xc4)]['template']({'srcPath':p(0xca),'destPath':e+p(0xb3),'framework':p(0xc9),'context':i,'config':f});f['engines'][p(0xb4)]!==p(0xa5)&&await this[p(0xc4)][p(0xae)]({'srcPath':'test/test.js','destPath':e+p(0xbb),'framework':p(0xc9),'context':i,'config':f});f[p(0xae)]['css']&&(await this[p(0xc4)][p(0xae)]({'srcPath':p(0x9e),'destPath':e+p(0xb5),'context':Object[p(0xbe)]({},i,{'className':paramCase(b[p(0xa7)])}),'config':f}),await this[p(0xc4)][p(0xaf)]({'filePath':e+'.'+f[p(0x9f)]['js'],'content':p(0xc3)+i['fileName']+'.'+f[p(0x9f)][p(0xa6)]+'\x27;'}));const j=b[p(0xad)]?'/'+b[p(0xad)]+'/':'/',k=''+c+j+i[p(0xbc)]+'/'+i[p(0xbc)];await this[p(0xc4)][p(0xce)](i[p(0xa9)],f,k);});});function a131c(){const q=['layout','create','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','3411968CDsYMw','search','none','css','resourceName','api','className','checkNpmPackage','7061145FOVCwh','Scaffolding\x20for\x20a\x20React\x20Layout.','dir','template','injectAtBeginningOfFile','setTemplate','234729SyBMwQ','maka\x20g:layout\x20mobile/iPhone8','.js','test','.css','ramda','3762tciQHj','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','true','51dOItrb','.app-tests.js','fileName','warn','assign','string','4114080wkTtMf','graphql','(((.+)+)+)+$','import\x20\x27./','fsi','pathFromProject','split','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','features','react','component/component.js','9492870jTxFnE','maka\x20g:l\x20web/safari','withHooks','injectTemplateModule','includes','relative','toString','/imports/ui/layouts','8530UOsTef','130654mHqgRy','withTranslations','installNpmPackage','5AmFWyw','withHook','template/template.css','engines'];a131c=function(){return q;};return a131c();}
@@ -1 +1 @@
1
- const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0xb5))/0x1*(parseInt(f(0xa5))/0x2)+parseInt(f(0xba))/0x3*(-parseInt(f(0xa8))/0x4)+parseInt(f(0xa9))/0x5*(-parseInt(f(0xa7))/0x6)+-parseInt(f(0xb7))/0x7*(parseInt(f(0xb1))/0x8)+-parseInt(f(0xb9))/0x9+-parseInt(f(0xaa))/0xa*(parseInt(f(0xb6))/0xb)+parseInt(f(0xa3))/0xc*(parseInt(f(0xb2))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x575e7));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0xb0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0xa4)]()[h(0xb8)]('(((.+)+)+)+$')[h(0xa4)]()[h(0xae)](a132a)[h(0xb8)]('(((.+)+)+)+$');});a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0xa3;let f=c[d];return f;},a132d(a,b);}function a132c(){const j=['29918QCzbSq','search','996354lXrCHS','6549elCgLs','maka\x20g:scaffold\x20todos','12doUssa','toString','249958ZDjOkR','maka\x20g:api\x20trucks','132HCzDHj','776HgfcpX','36440RStCPr','890RBNUXq','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:package\x20package:name','maka\x20g:dbc\x20geoserver\x20--type=pgsql','constructor','Scaffold\x20various\x20parts\x20of\x20your\x20application','apply','768cRIoem','22013329lkhKzq','maka\x20g:route\x20todos/edit','maka\x20generate:scaffold\x20todos','1wlVoYI','13057uOhVlm'];a132c=function(){return j;};return a132c();}const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a132i(0xab),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0xaf),'examples':[a132i(0xb4),a132i(0xbb),'maka\x20g:template\x20todos/todo_item',a132i(0xac),a132i(0xb3),a132i(0xa6),a132i(0xad)]},function(){});export default MakaGen;
1
+ const a132i=a132d;function a132c(){const j=['11IKRzfp','generate','51385oyofaG','maka\x20generate:scaffold\x20todos','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:scaffold\x20todos','6784038bdfcRg','Scaffold\x20various\x20parts\x20of\x20your\x20application','maka\x20g:template\x20todos/todo_item','16302550SUnnfo','2890810uWAkiQ','constructor','6xlTjnF','apply','24BCfrVs','(((.+)+)+)+$','1277017hRPQbD','1232468NlbPOQ','1169072yoBYYy','toString','search','maka\x20g:route\x20todos/edit','maka\x20g:package\x20package:name','300IvLLFq'];a132c=function(){return j;};return a132c();}function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1c4;let f=c[d];return f;},a132d(a,b);}(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x1d2))/0x1+parseInt(f(0x1cb))/0x2+-parseInt(f(0x1cd))/0x3*(-parseInt(f(0x1d3))/0x4)+parseInt(f(0x1db))/0x5*(parseInt(f(0x1d8))/0x6)+parseInt(f(0x1d1))/0x7*(-parseInt(f(0x1cf))/0x8)+-parseInt(f(0x1c7))/0x9+parseInt(f(0x1ca))/0xa*(-parseInt(f(0x1d9))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xce481));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x1ce)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x1d4)]()[h(0x1d5)](h(0x1d0))[h(0x1d4)]()[h(0x1cc)](a132a)['search'](h(0x1d0));});a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132i(0x1da),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132i(0x1c8),'examples':[a132i(0x1c4),a132i(0x1c6),a132i(0x1c9),a132i(0x1d7),a132i(0x1d6),'maka\x20g:api\x20trucks',a132i(0x1c5)]},function(){});export default MakaGen;