@maka/maka-cli 5.0.6 → 5.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (163) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/patreon.js +1 -1
  87. package/bundle/obf/src/commands/profile.js +1 -1
  88. package/bundle/obf/src/commands/proxy.js +1 -1
  89. package/bundle/obf/src/commands/reconfig.js +1 -1
  90. package/bundle/obf/src/commands/register.js +1 -1
  91. package/bundle/obf/src/commands/run/_index.js +1 -1
  92. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/run/run.command.js +1 -1
  94. package/bundle/obf/src/commands/set/_index.js +1 -1
  95. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  97. package/bundle/obf/src/commands/set/set.command.js +1 -1
  98. package/bundle/obf/src/commands/ssh.js +1 -1
  99. package/bundle/obf/src/commands/ssl.js +1 -1
  100. package/bundle/obf/src/commands/test.js +1 -1
  101. package/bundle/obf/src/commands/undo.js +1 -1
  102. package/bundle/obf/src/commands/version.js +1 -1
  103. package/bundle/obf/src/error.js +1 -1
  104. package/bundle/obf/src/exec.js +1 -1
  105. package/bundle/obf/src/generator.js +1 -1
  106. package/bundle/obf/src/generators/_index.js +1 -1
  107. package/bundle/obf/src/generators/api.js +1 -1
  108. package/bundle/obf/src/generators/aws/_index.js +1 -1
  109. package/bundle/obf/src/generators/aws/aws.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  112. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  113. package/bundle/obf/src/generators/collection.js +1 -1
  114. package/bundle/obf/src/generators/component.js +1 -1
  115. package/bundle/obf/src/generators/config.js +1 -1
  116. package/bundle/obf/src/generators/dbc.js +1 -1
  117. package/bundle/obf/src/generators/dockerfile.js +1 -1
  118. package/bundle/obf/src/generators/hook.js +1 -1
  119. package/bundle/obf/src/generators/kits/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  126. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  127. package/bundle/obf/src/generators/kits/kit.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  131. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  132. package/bundle/obf/src/generators/layout.js +1 -1
  133. package/bundle/obf/src/generators/maka.gen.js +1 -1
  134. package/bundle/obf/src/generators/methods.js +1 -1
  135. package/bundle/obf/src/generators/package.js +1 -1
  136. package/bundle/obf/src/generators/page.js +1 -1
  137. package/bundle/obf/src/generators/publish.js +1 -1
  138. package/bundle/obf/src/generators/route.js +1 -1
  139. package/bundle/obf/src/generators/service.js +1 -1
  140. package/bundle/obf/src/generators/services/_index.js +1 -1
  141. package/bundle/obf/src/generators/services/openssl.js +1 -1
  142. package/bundle/obf/src/generators/services/translation.js +1 -1
  143. package/bundle/obf/src/maka.js +1 -1
  144. package/bundle/obf/src/tool.js +1 -1
  145. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  147. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/options/options.class.js +1 -1
  157. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  158. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  159. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  160. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  161. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  162. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  163. package/package.json +1 -1
@@ -1 +1 @@
1
- function a115c(){const o=['dbc/register-dbc.js','resourceName','6JaCnqa','startup','error','toString','imports','server','16724ftfRKp','checkNpmPackage','injectAtEndOfFile','pgsql','search','2822304xrVMKJ','(((.+)+)+)+$','pathFromApp','type','engines','112CBeMbh','13748317PxNtbx','maka\x20g:dbc\x20azure\x20--type=mssql','fsi','3673824SIvBHW','13llQnHr','dbc/conn.js','index.','309592kBTxlt','mssql','2178kgTUXF','dbc','template','getMakaProjectConfig','sqlite','create','1IeTZCV','conn.','withValue','maka\x20g:dbc\x20geoserver\x20--type=pgsql','-dbc\x27;','constructor','11260cYKnxg','apply','-dbc.','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','dir','maka\x20g:dbc\x20todos\x20--type=sqlite','687kXwtMx','register-','config.','dbc/config.js','4587760BGfZSi'];a115c=function(){return o;};return a115c();}function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x149;let f=c[d];return f;},a115d(a,b);}const a115l=a115d;(function(a,b){const i=a115d,c=a();while(!![]){try{const d=-parseInt(i(0x164))/0x1*(-parseInt(i(0x14f))/0x2)+parseInt(i(0x171))/0x3*(parseInt(i(0x14a))/0x4)+parseInt(i(0x175))/0x5*(-parseInt(i(0x178))/0x6)+parseInt(i(0x154))/0x7*(parseInt(i(0x15c))/0x8)+parseInt(i(0x15e))/0x9*(-parseInt(i(0x16a))/0xa)+-parseInt(i(0x155))/0xb+parseInt(i(0x158))/0xc*(parseInt(i(0x159))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xd081e));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a115d;if(c){const e=c[j(0x16b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const k=a115d;return a115a[k(0x17b)]()[k(0x14e)](k(0x150))[k(0x17b)]()[k(0x169)](a115a)[k(0x14e)]('(((.+)+)+)+$');});a115a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a115l(0x163)]({'name':a115l(0x15f),'usage':a115l(0x16e),'shortDesc':a115l(0x16d),'validOpts':['dir'],'mustBeInMakaProject':!![],'requiredOpts':[{'name':'type','values':[a115l(0x14d),a115l(0x15d),a115l(0x162)]}],'examples':[a115l(0x167),a115l(0x156),a115l(0x170)]},async function(a,b){const m=a115l;try{const c=await this[m(0x157)][m(0x161)](),d=paramCase(b[m(0x177)]),f={'name':pascalCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[m(0x177)]),'type':b[m(0x152)],'engine':c[m(0x153)]['js'],'noRename':!![]};await this[m(0x157)][m(0x166)](c,async()=>{const n=m;let g='js';c['engines']['js']==='tsx'&&(g='ts');b[n(0x152)]==='pgsql'&&await this[n(0x157)][n(0x14b)]('pg',{'shouldInstall':!![]});b[n(0x152)]===n(0x15d)&&await this['fsi'][n(0x14b)](n(0x15d),{'shouldInstall':!![]});b[n(0x152)]==='sqlite'&&await this[n(0x157)][n(0x14b)]('better-sqlite3',{'shouldInstall':!![]});await this[n(0x157)][n(0x160)]({'srcPath':n(0x174),'destPath':this[n(0x157)][n(0x151)]({'pathParts':['imports',n(0x179),'server',n(0x15f),b[n(0x16f)],d,n(0x173)+g]}),'context':f,'config':c}),await this[n(0x157)][n(0x160)]({'srcPath':n(0x15a),'destPath':this[n(0x157)][n(0x151)]({'pathParts':[n(0x17c),n(0x179),'server',n(0x15f),b[n(0x16f)],d,n(0x165)+g]}),'context':f,'config':c}),await this[n(0x157)][n(0x160)]({'srcPath':n(0x176),'destPath':this[n(0x157)]['pathFromApp']({'pathParts':['imports',n(0x179),n(0x149),n(0x172)+d+n(0x16c)+g]}),'context':f,'config':c});const h=this[n(0x157)][n(0x151)]({'pathParts':[n(0x17c),n(0x179),n(0x149),n(0x15b)+c[n(0x153)]['js']]});await this['fsi'][n(0x14c)]({'filePath':h,'content':'import\x20\x27./register-'+d+n(0x168)});});}catch(g){Log[m(0x17a)](g);}});
1
+ function a115c(){const o=['import\x20\x27./register-','register-','imports','1680785NLQsbB','maka\x20g:dbc\x20todos\x20--type=sqlite','dir','48727ZWDsis','118633kvzbUs','-dbc.','getMakaProjectConfig','engines','search','-dbc\x27;','checkNpmPackage','better-sqlite3','170862rhEzaC','1896nJtBRf','apply','startup','pgsql','conn.','mssql','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','dbc/conn.js','fsi','constructor','4tVtANp','pathFromApp','maka\x20g:dbc\x20azure\x20--type=mssql','155094YhFLqa','636BMyVNx','template','dbc/config.js','dbc','29313wKCTYZ','175087xCqPpq','error','2NmwFJj','type','(((.+)+)+)+$','toString','2040aaVMRu','resourceName','server','tsx'];a115c=function(){return o;};return a115c();}const a115l=a115d;(function(a,b){const i=a115d,c=a();while(!![]){try{const d=-parseInt(i(0x87))/0x1*(parseInt(i(0xa5))/0x2)+-parseInt(i(0x9d))/0x3+parseInt(i(0x9a))/0x4*(-parseInt(i(0x83))/0x5)+-parseInt(i(0x8f))/0x6+-parseInt(i(0x86))/0x7*(-parseInt(i(0x90))/0x8)+parseInt(i(0xa2))/0x9*(parseInt(i(0xa9))/0xa)+parseInt(i(0xa3))/0xb*(-parseInt(i(0x9e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xe46c3));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a115d;if(c){const e=c[j(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const k=a115d;return a115a[k(0xa8)]()[k(0x8b)](k(0xa7))[k(0xa8)]()[k(0x99)](a115a)[k(0x8b)](k(0xa7));});a115a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x82;let f=c[d];return f;},a115d(a,b);}Generator['create']({'name':a115l(0xa1),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a115l(0x96),'validOpts':[a115l(0x85)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a115l(0xa6),'values':[a115l(0x93),'mssql','sqlite']}],'examples':['maka\x20g:dbc\x20geoserver\x20--type=pgsql',a115l(0x9c),a115l(0x84)]},async function(a,b){const m=a115l;try{const c=await this[m(0x98)][m(0x89)](),d=paramCase(b['resourceName']),f={'name':pascalCase(b[m(0xaa)]),'fileName':paramCase(b[m(0xaa)]),'camelCase':camelCase(b[m(0xaa)]),'type':b[m(0xa6)],'engine':c['engines']['js'],'noRename':!![]};await this[m(0x98)]['withValue'](c,async()=>{const n=m;let g='js';c['engines']['js']===n(0xac)&&(g='ts');b[n(0xa6)]===n(0x93)&&await this[n(0x98)]['checkNpmPackage']('pg',{'shouldInstall':!![]});b[n(0xa6)]===n(0x95)&&await this['fsi'][n(0x8d)]('mssql',{'shouldInstall':!![]});b[n(0xa6)]==='sqlite'&&await this[n(0x98)][n(0x8d)](n(0x8e),{'shouldInstall':!![]});await this[n(0x98)]['template']({'srcPath':n(0xa0),'destPath':this[n(0x98)][n(0x9b)]({'pathParts':[n(0x82),n(0x92),n(0xab),n(0xa1),b[n(0x85)],d,'config.'+g]}),'context':f,'config':c}),await this[n(0x98)][n(0x9f)]({'srcPath':n(0x97),'destPath':this['fsi'][n(0x9b)]({'pathParts':[n(0x82),'startup',n(0xab),'dbc',b['dir'],d,n(0x94)+g]}),'context':f,'config':c}),await this['fsi'][n(0x9f)]({'srcPath':'dbc/register-dbc.js','destPath':this[n(0x98)][n(0x9b)]({'pathParts':[n(0x82),n(0x92),n(0xab),n(0xae)+d+n(0x88)+g]}),'context':f,'config':c});const h=this[n(0x98)][n(0x9b)]({'pathParts':['imports',n(0x92),n(0xab),'index.'+c[n(0x8a)]['js']]});await this[n(0x98)]['injectAtEndOfFile']({'filePath':h,'content':n(0xad)+d+n(0x8c)});});}catch(g){Log[m(0xa4)](g);}});
@@ -1 +1 @@
1
- function a116c(){const n=['dockerfile','1900mmXmBl','search','toString','1891925qRZSYg','Generate\x20an\x20updated\x20dockerfile','service','168497nRxCmm','cert','join','(((.+)+)+)+$','create','build','4705352ilHJbi','findProjectDirectory','app.tar.gz','force','withValue','18InfLBT','apply','error','getMakaProjectConfig','constructor','738594AHiAjy','5439DeIJUi','5483790sqpFal','template','maka\x20g:dockerfile','295130aNeXiE','appName','maka\x20{generate,\x20g}:dockerfile','Dockerfile','getGlobalConfig','fsi','54vIWbzp'];a116c=function(){return n;};return a116c();}const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=parseInt(h(0x199))/0x1+parseInt(h(0x19e))/0x2+parseInt(h(0x19a))/0x3*(parseInt(h(0x1a6))/0x4)+parseInt(h(0x1a9))/0x5+parseInt(h(0x1a4))/0x6*(parseInt(h(0x1ac))/0x7)+-parseInt(h(0x1b2))/0x8*(parseInt(h(0x1b7))/0x9)+-parseInt(h(0x19b))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x96ca9));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x1b8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a['toString']()[j(0x1a7)](j(0x1af))[j(0x1a8)]()[j(0x198)](a116a)['search'](j(0x1af));});a116a();import{Generator}from'../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x197;let f=c[d];return f;},a116d(a,b);}import{Log}from'../tools/log/log.class.js';import a116e from'path';Generator[a116k(0x1b0)]({'name':a116k(0x1a5),'usage':a116k(0x1a0),'shortDesc':a116k(0x1aa),'validOpts':[{'name':a116k(0x1b5),'boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0x19d)]},async function(a,b){const l=a116k;try{const c=await this['fsi'][l(0x197)](),d=await this['fsi'][l(0x1a2)](),f=this[l(0x1a3)][l(0x1b3)]();await this[l(0x1a3)][l(0x1b6)](c,async()=>{const m=l,g={'app':d[m(0x19f)],'config':c,'appPath':a116e['join'](f,'app'),'bundlePath':a116e[m(0x1ae)](f,m(0x1b1),m(0x1b4)),'useCert':this[m(0x1a3)]['isFile'](d[m(0x1ad)])};await this[m(0x1a3)][m(0x19c)]({'srcPath':'docker/Dockerfile','destPath':a116e[m(0x1ae)](f,m(0x1a1)),'framework':m(0x1ab),'context':g,'config':c,'force':b['force']});});}catch(g){Log[l(0x1b9)](g);}});
1
+ const a116k=a116d;(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0x1ed))/0x1*(parseInt(h(0x1e4))/0x2)+parseInt(h(0x1e6))/0x3+parseInt(h(0x1f2))/0x4*(-parseInt(h(0x1ee))/0x5)+parseInt(h(0x1e5))/0x6*(-parseInt(h(0x1ef))/0x7)+parseInt(h(0x1f0))/0x8*(parseInt(h(0x1e8))/0x9)+-parseInt(h(0x1e0))/0xa+parseInt(h(0x1eb))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x256e4));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a[j(0x1e3)]()[j(0x1e1)](j(0x1da))[j(0x1e3)]()[j(0x1f1)](a116a)['search']('(((.+)+)+)+$');});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';function a116c(){const n=['fsi','Generate\x20an\x20updated\x20dockerfile','create','isFile','withValue','appName','docker/Dockerfile','template','getMakaProjectConfig','(((.+)+)+)+$','maka\x20g:dockerfile','error','findProjectDirectory','dockerfile','force','2043940eVwXWz','search','apply','toString','2BfOFDi','180528ilsPxD','863967HoCOKT','maka\x20{generate,\x20g}:dockerfile','513YSASAD','getGlobalConfig','join','563431XdkBvv','cert','21865sQNgdT','100250CxcTin','21xFAaHO','26776MVqnws','constructor','12joTvJF'];a116c=function(){return n;};return a116c();}function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x1d1;let f=c[d];return f;},a116d(a,b);}Generator[a116k(0x1d3)]({'name':a116k(0x1de),'usage':a116k(0x1e7),'shortDesc':a116k(0x1d2),'validOpts':[{'name':a116k(0x1df),'boolFlag':!![]}],'noNeedResource':!![],'examples':[a116k(0x1db)]},async function(a,b){const l=a116k;try{const c=await this[l(0x1d1)][l(0x1d9)](),d=await this[l(0x1d1)][l(0x1e9)](),f=this[l(0x1d1)][l(0x1dd)]();await this[l(0x1d1)][l(0x1d5)](c,async()=>{const m=l,g={'app':d[m(0x1d6)],'config':c,'appPath':a116e[m(0x1ea)](f,'app'),'bundlePath':a116e[m(0x1ea)](f,'build','app.tar.gz'),'useCert':this['fsi'][m(0x1d4)](d[m(0x1ec)])};await this[m(0x1d1)][m(0x1d8)]({'srcPath':m(0x1d7),'destPath':a116e[m(0x1ea)](f,'Dockerfile'),'framework':'service','context':g,'config':c,'force':b[m(0x1df)]});});}catch(g){Log[l(0x1dc)](g);}});
@@ -1 +1 @@
1
- const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x150))/0x1+parseInt(l(0x171))/0x2+parseInt(l(0x142))/0x3+-parseInt(l(0x13e))/0x4*(-parseInt(l(0x167))/0x5)+parseInt(l(0x172))/0x6*(parseInt(l(0x154))/0x7)+-parseInt(l(0x16f))/0x8*(-parseInt(l(0x175))/0x9)+parseInt(l(0x156))/0xa*(-parseInt(l(0x13d))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x4e9d3));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a['toString']()[m(0x177)]('(((.+)+)+)+$')[m(0x141)]()['constructor'](a117a)['search'](m(0x157));});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a117c(){const q=['error','\x20hook...','react','44ySxxCD','48kBrRZx','graphql','fsi','toString','1705359WbWtuJ','true','hook','\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20','@apollo/client','.js','template','installNpmPackage','string','css','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','template/template.css','assign','74675wqiEwa','none','test','withTranslations','2163819ntPent','warn','4290590tXpMIR','(((.+)+)+)+$','findAppDirectory','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','/imports/ui/components','setTemplate','checkNpmPackage','resourceName','className','theme','import\x20\x27./','maka\x20g:hook\x20cool-hook','components','dir','.app-tests.js','force','/imports/ui/','124945IoHrVA','engines','features','hooks','notice','injectAtBeginningOfFile','apollo','baseDir','22136kcRVRI','Creating\x20','527764QZqClg','12CfkLRs','layouts','getMakaProjectConfig','1179MJYDFl','fileName','search'];a117c=function(){return q;};return a117c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x13c;let f=c[d];return f;},a117d(a,b);}Generator['create']({'name':a117n(0x144),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a117n(0x14d),'validOpts':[{'name':a117n(0x16e),'values':[a117n(0x16a),a117n(0x162),'pages',a117n(0x173)]},{'name':a117n(0x165),'boolFlag':!![]}],'examples':[a117n(0x161)],'description':a117n(0x145)},async function(a,b){const o=a117n;Log[o(0x16b)](o(0x170)+b[o(0x15d)]+o(0x179));try{const c=this[o(0x140)][o(0x15c)](o(0x13c));if(!c){Log[o(0x178)](o(0x14c));throw new UsageError();}const d=this[o(0x140)][o(0x158)](),f=b['baseDir']?o(0x166)+b[o(0x16e)]:o(0x15a),g=this['fsi']['pathFromApp']({'pathParts':[f,b[o(0x163)],paramCase(b[o(0x15d)]),paramCase(b[o(0x15d)])]}),h=await this[o(0x140)][o(0x174)]();await this['fsi']['withValue'](h,async()=>{const p=o;typeof h[p(0x148)][p(0x14b)]===p(0x14a)&&(h[p(0x148)][p(0x14b)]=h['template'][p(0x14b)]===p(0x143)?!![]:![],this[p(0x140)][p(0x15b)](p(0x14b),h[p(0x148)][p(0x14b)]));h['engines'][p(0x13f)]===p(0x16d)&&!this[p(0x140)]['checkNpmPackage'](p(0x146))&&(Log[p(0x155)](p(0x159)),await this[p(0x140)][p(0x149)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0x15d)]),'camelCaseName':camelCase(b['resourceName']),'className':pascalCase(b[p(0x15d)]),'name':pascalCase(b[p(0x15d)]),'graphql':h[p(0x168)]['graphql'],'theme':h['engines'][p(0x15f)],'features':h['features'],'myPath':a117e['relative'](this[p(0x140)]['pathFromProject']({}),g),'fileName':paramCase(b[p(0x15d)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x169)][p(0x153)]};await this[p(0x140)][p(0x148)]({'srcPath':'hook/hook.js','destPath':g+p(0x147),'context':i,'config':h,'framework':p(0x13c),'force':b[p(0x165)]});h[p(0x148)][p(0x14b)]&&(await this[p(0x140)]['template']({'srcPath':p(0x14e),'destPath':g+'.css','context':Object[p(0x14f)]({},i,{'className':i['cssCaseName']}),'config':h,'force':b[p(0x165)]}),await this[p(0x140)][p(0x16c)]({'filePath':g+'.'+h['engines']['js'],'content':p(0x160)+i[p(0x176)]+'.'+h[p(0x168)][p(0x14b)]+'\x27;'}));h['engines'][p(0x152)]!==p(0x151)&&await this[p(0x140)]['template']({'srcPath':'test/test.js','destPath':g+p(0x164),'framework':p(0x13c),'context':i,'config':h,'force':b[p(0x165)]});const j=b[p(0x163)]?'/'+b[p(0x163)]+'/':'/',k=''+f+j+i[p(0x176)]+'/'+i[p(0x176)];await this['fsi']['injectTemplateModule'](i[p(0x15e)],h,k);});}catch(i){Log[o(0x178)](i);}});
1
+ const a117n=a117d;function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xf4;let f=c[d];return f;},a117d(a,b);}function a117c(){const q=['withValue','checkNpmPackage','107421mFhbzz','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','import\x20\x27./','layouts','611HUsVUY','50322OYFEnF','toString','none','.app-tests.js','injectAtBeginningOfFile','3432hpAmCO','/imports/ui/components','10JRASyd','baseDir','cssCaseName','setTemplate','test/test.js','getMakaProjectConfig','true','Creating\x20','.css','175OyGWGm','test','template','\x20hook...','hook/hook.js','search','fsi','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','185676ckHCHf','12rBActl','apollo','maka\x20g:hook\x20cool-hook','installNpmPackage','withTranslations','2dljlqs','.js','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','fileName','pathFromProject','force','engines','features','graphql','hook','notice','\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','css','5987245ibdFgX','react','components','1549890HlyRXH','relative','pages','2538wJRUxn','resourceName','dir','@apollo/client','671535cdfIpp'];a117c=function(){return q;};return a117c();}(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x12c))/0x1*(parseInt(l(0x111))/0x2)+-parseInt(l(0x122))/0x3+parseInt(l(0x10c))/0x4*(parseInt(l(0x129))/0x5)+parseInt(l(0x131))/0x6*(parseInt(l(0x103))/0x7)+-parseInt(l(0xf8))/0x8*(-parseInt(l(0x125))/0x9)+-parseInt(l(0xfa))/0xa*(parseInt(l(0x11f))/0xb)+parseInt(l(0x10b))/0xc*(parseInt(l(0x130))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x4766b));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(0xf4)]()[m(0x108)]('(((.+)+)+)+$')[m(0xf4)]()['constructor'](a117a)[m(0x108)]('(((.+)+)+)+$');});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator['create']({'name':a117n(0x11b),'aliases':['h'],'checkWhere':![],'usage':a117n(0x113),'shortDesc':a117n(0x10a),'validOpts':[{'name':a117n(0xfb),'values':['hooks',a117n(0x121),a117n(0x124),a117n(0x12f)]},{'name':a117n(0x117),'boolFlag':!![]}],'examples':[a117n(0x10e)],'description':a117n(0x11d)},async function(a,b){const o=a117n;Log[o(0x11c)](o(0x101)+b[o(0x126)]+o(0x106));try{const c=this[o(0x109)][o(0x12b)](o(0x120));if(!c){Log['error'](o(0x12d));throw new UsageError();}const d=this[o(0x109)]['findAppDirectory'](),f=b[o(0xfb)]?'/imports/ui/'+b[o(0xfb)]:o(0xf9),g=this[o(0x109)]['pathFromApp']({'pathParts':[f,b[o(0x127)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),h=await this['fsi'][o(0xff)]();await this['fsi'][o(0x12a)](h,async()=>{const p=o;typeof h[p(0x105)][p(0x11e)]==='string'&&(h['template'][p(0x11e)]=h[p(0x105)]['css']===p(0x100)?!![]:![],this['fsi'][p(0xfd)]('css',h[p(0x105)][p(0x11e)]));h[p(0x118)][p(0x11a)]===p(0x10d)&&!this['fsi'][p(0x12b)](p(0x128))&&(Log['warn'](p(0x114)),await this[p(0x109)][p(0x10f)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0x126)]),'camelCaseName':camelCase(b[p(0x126)]),'className':pascalCase(b[p(0x126)]),'name':pascalCase(b[p(0x126)]),'graphql':h['engines'][p(0x11a)],'theme':h[p(0x118)]['theme'],'features':h[p(0x119)],'myPath':a117e[p(0x123)](this['fsi'][p(0x116)]({}),g),'fileName':paramCase(b[p(0x126)]),'isComponent':![],'isLayout':![],'withTranslations':h[p(0x119)][p(0x110)]};await this['fsi'][p(0x105)]({'srcPath':p(0x107),'destPath':g+p(0x112),'context':i,'config':h,'framework':p(0x120),'force':b[p(0x117)]});h[p(0x105)]['css']&&(await this[p(0x109)]['template']({'srcPath':'template/template.css','destPath':g+p(0x102),'context':Object['assign']({},i,{'className':i[p(0xfc)]}),'config':h,'force':b[p(0x117)]}),await this[p(0x109)][p(0xf7)]({'filePath':g+'.'+h['engines']['js'],'content':p(0x12e)+i[p(0x115)]+'.'+h['engines'][p(0x11e)]+'\x27;'}));h[p(0x118)][p(0x104)]!==p(0xf5)&&await this[p(0x109)][p(0x105)]({'srcPath':p(0xfe),'destPath':g+p(0xf6),'framework':p(0x120),'context':i,'config':h,'force':b['force']});const j=b[p(0x127)]?'/'+b[p(0x127)]+'/':'/',k=''+f+j+i['fileName']+'/'+i[p(0x115)];await this[p(0x109)]['injectTemplateModule'](i['className'],h,k);});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- function a118c(){var i=['1156784QyIAfj','1638OiDzjD','8070KPwzoF','toString','5kdtIoh','1bTJAqt','2177819mSvUUC','apply','(((.+)+)+)+$','10296RFrJcY','1303812hkgjwo','constructor','24064EEbFMh','search','5031240NjKiZN','795891JSYqAQ'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xbe))/0x1*(-parseInt(f(0xb3))/0x2)+-parseInt(f(0xb8))/0x3+-parseInt(f(0xb9))/0x4*(-parseInt(f(0xbd))/0x5)+parseInt(f(0xb7))/0x6+parseInt(f(0xbf))/0x7+parseInt(f(0xb5))/0x8*(-parseInt(f(0xba))/0x9)+-parseInt(f(0xbb))/0xa*(parseInt(f(0xc2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x7f99e));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xbc)]()[h(0xb6)](h(0xc1))['toString']()[h(0xb4)](a118a)[h(0xb6)]('(((.+)+)+)+$');});a118a();import'./kit.js';import'./mui/_index.js';function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xb3;var f=c[d];return f;},a118d(a,b);}import'./esri/_index.js';import'./auth/_index.js';
1
+ (function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0xa4))/0x1+-parseInt(f(0xa6))/0x2*(parseInt(f(0xac))/0x3)+parseInt(f(0xaf))/0x4+parseInt(f(0xab))/0x5*(-parseInt(f(0xa2))/0x6)+-parseInt(f(0xa9))/0x7*(parseInt(f(0xa0))/0x8)+parseInt(f(0xae))/0x9*(-parseInt(f(0xb0))/0xa)+parseInt(f(0xad))/0xb*(parseInt(f(0xa3))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x371e9));function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xa0;var f=c[d];return f;},a118d(a,b);}var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xa1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xa5)]()[h(0xa8)](h(0xaa))['toString']()[h(0xa7)](a118a)[h(0xa8)](h(0xaa));});a118a();import'./kit.js';import'./mui/_index.js';function a118c(){var i=['7wVYHqZ','(((.+)+)+)+$','5vCSAOI','8067jGkizm','770lRYOKg','36LpYuLn','1462696HtfnlJ','873830yYoUNR','844808srGNnD','apply','360966cWMkIz','127188yIanuA','58321RgJWLv','toString','316VPvnYr','constructor','search'];a118c=function(){return i;};return a118c();}import'./esri/_index.js';import'./auth/_index.js';
@@ -1 +1 @@
1
- (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0x1bb))/0x1+parseInt(f(0x1c1))/0x2+parseInt(f(0x1c8))/0x3+parseInt(f(0x1c0))/0x4*(-parseInt(f(0x1c2))/0x5)+-parseInt(f(0x1c4))/0x6+parseInt(f(0x1c5))/0x7*(parseInt(f(0x1c7))/0x8)+-parseInt(f(0x1bf))/0x9*(-parseInt(f(0x1bd))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd8876));var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x1c9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x1c6)]()[h(0x1c3)]('(((.+)+)+)+$')['toString']()[h(0x1be)](a119a)['search'](h(0x1bc));});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1bb;var f=c[d];return f;},a119d(a,b);}import'./basic-meteor.auth.gen.js';function a119c(){var i=['constructor','36VZRsMc','4WEgBiq','3234636KOXtSa','5273105gAUclG','search','7803972iHsaNG','4373138mSJyOT','toString','8SrqIZa','3138696thzclW','apply','90183MVCNIs','(((.+)+)+)+$','110210ZKDqHK'];a119c=function(){return i;};return a119c();}
1
+ (function(a,b){var f=a119d,c=a();while(!![]){try{var d=-parseInt(f(0xd0))/0x1+parseInt(f(0xcc))/0x2+-parseInt(f(0xcf))/0x3*(-parseInt(f(0xcb))/0x4)+parseInt(f(0xd1))/0x5*(parseInt(f(0xca))/0x6)+-parseInt(f(0xc8))/0x7+parseInt(f(0xd2))/0x8+-parseInt(f(0xd3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x78769));function a119c(){var i=['1311vXmRJS','626633FuXSMw','5bxNBHh','3612624CBYJhT','8924598vObpyO','apply','96663xTeScH','toString','5451828qugNCB','3952SFpAFN','667018mNXYeP','(((.+)+)+)+$','constructor'];a119c=function(){return i;};return a119c();}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0xc7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0xc9)]()['search'](h(0xcd))[h(0xc9)]()[h(0xce)](a119a)['search'](h(0xcd));});a119a();import'./auth.generator.js';import'./provider.auth.gen.js';function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0xc7;var f=c[d];return f;},a119d(a,b);}import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a120i=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=-parseInt(f(0x117))/0x1+parseInt(f(0x10e))/0x2*(parseInt(f(0x10a))/0x3)+-parseInt(f(0x10c))/0x4+-parseInt(f(0x114))/0x5*(-parseInt(f(0x110))/0x6)+-parseInt(f(0x118))/0x7*(parseInt(f(0x10d))/0x8)+-parseInt(f(0x119))/0x9*(parseInt(f(0x10f))/0xa)+parseInt(f(0x109))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x55c5e));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a120d;if(c){const e=c[g(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const h=a120d;return a120a[h(0x113)]()[h(0x115)](h(0x112))[h(0x113)]()['constructor'](a120a)[h(0x115)](h(0x112));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x109;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120c(){const j=['3358220oubFrg','12zGDmYw','maka\x20g:kit:a','(((.+)+)+)+$','toString','297165yHYIDs','search','auth','239585TotiCv','21BQDjwD','18Rwrhrw','12133924vMzoPi','259344RHEiSg','apply','169680RRdjie','1622824KZtHmC','16OsItSF'];a120c=function(){return j;};return a120c();}const AuthGen=Generator['create']({'name':a120i(0x116),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','validOpts':[''],'isPro':!![],'examples':[a120i(0x111)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){throw'NIE';},async function(){},a120e);export default AuthGen;
1
+ const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0xff))/0x1+-parseInt(f(0x100))/0x2*(-parseInt(f(0x107))/0x3)+parseInt(f(0x108))/0x4*(-parseInt(f(0xfd))/0x5)+parseInt(f(0xfc))/0x6+-parseInt(f(0x102))/0x7+-parseInt(f(0x101))/0x8*(-parseInt(f(0x10a))/0x9)+-parseInt(f(0x105))/0xa*(parseInt(f(0x106))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xec14e));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(0x109)]()[g(0xf9)](g(0x103))[g(0x109)]()['constructor'](a120a)[g(0xf9)](g(0x103));});a120a();import{Generator}from'../../../generator.js';function a120c(){const j=['(((.+)+)+)+$','auth','3358100TpsgnD','33WCxQba','3rueuyB','1004jQEvma','toString','123813DGQDvj','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','search','maka\x20g:kit:a','NIE','8707080PMOEpY','36045RBbgJV','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','1728168aekLqF','2434794WoshzD','48VsMHpt','4867856WblxLi'];a120c=function(){return j;};return a120c();}function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xf9;let f=c[d];return f;},a120d(a,b);}import a120e from'../kit.js';const AuthGen=Generator['create']({'name':a120h(0x104),'aliases':['a'],'usage':a120h(0x10b),'noNeedResource':!![],'shortDesc':a120h(0xfe),'validOpts':[''],'isPro':!![],'examples':[a120h(0xfa)],'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20'},async function(){const i=a120h;throw i(0xfb);},async function(){},a120e);export default AuthGen;
@@ -1 +1 @@
1
- function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x84;let f=c[d];return f;},a121d(a,b);}function a121c(){const u=['ssr','accounts-password','3118956GGamIT','const\x20sendForgotPasswordEmail','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','const\x20getUserAuthorizations','true','authentication-provider','error','publish','766647UcbYSp','(((.+)+)+)+$','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','Meteor','imports','.js','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','Meteor.publish','2TMqJYZ','apply','13551348ZFDbbl','const\x20deauthenticateUser','auth/roles','4joRPDM','findProjectDirectory','meteor','42472vVFeGB','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','30JAGcZy','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','exit','/imports/startup/client','kit/auth/service/meteor-auth-service.js','toString','create','136767YYrfNQ','fsi','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','REACT','startup','index','getMakaProjectConfig','const\x20registerNewUser','processAndRunGenerator','meteor/maka:react-tracker','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','checkMeteorPackage','676830SzjMqG','constructor','AuthService','kit:auth:provider','react','authentication-service','meteor/accounts-base','const\x20authenticateToken','11isRBBz','35Oqeeau','const\x20resetPasswordWithToken','server','2967675zQWCNz','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','injectImport','injectIntoCodeBlock','search','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','pathFromApp','Meteor.startup','injectIntoFile','withValue','const\x20authenticateUser','force','template'];a121c=function(){return u;};return a121c();}const a121r=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0x87))/0x1*(-parseInt(o(0xbf))/0x2)+parseInt(o(0x93))/0x3+-parseInt(o(0xc4))/0x4*(-parseInt(o(0x9f))/0x5)+parseInt(o(0xaf))/0x6+parseInt(o(0x9c))/0x7*(-parseInt(o(0xc7))/0x8)+parseInt(o(0xb7))/0x9*(parseInt(o(0xc9))/0xa)+-parseInt(o(0x9b))/0xb*(parseInt(o(0xc1))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x49b69));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0xc0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a[q(0x85)]()[q(0xa3)](q(0xb8))[q(0x85)]()[q(0x94)](a121a)[q(0xa3)](q(0xb8));});a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x86)]({'name':a121r(0xc6),'aliases':['m'],'usage':a121r(0x91),'shortDesc':a121r(0xa4),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121r(0x8a)]},'description':a121r(0xbd)},async function(a,b){const s=a121r;try{const c=b[s(0xab)]||![];await this['fsi'][s(0x92)]([s(0xae),'alanning:roles'],{'shouldInstall':!![]});const d=this['fsi'][s(0xc5)](),f=this[s(0x88)][s(0x8d)](),g=f['engines'][s(0xad)]===s(0xb3);await a121f[s(0x8f)](s(0x96),[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x8f)](s(0xb6),[s(0xc3)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':s(0xcc),j=this[s(0x88)][s(0xa6)]({'pathParts':[i,'','',s(0x98)]});await this[s(0x88)][s(0xa9)](f,async()=>{const t=s;await this[t(0x88)][t(0xac)]({'srcPath':t(0x84),'destPath':j+t(0xbc),'framework':t(0x97),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x88)][s(0xa6)]({'pathParts':[i,'','',s(0xb4)]}),l=f['engines']['js'];await this[s(0x88)][s(0xa1)]({'filePath':k+'.'+l,'importName':s(0x95),'modulePath':g?'/imports/startup/lib/authentication-service':'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[s(0x88)][s(0xa2)]({'filePath':k+'.'+l,'content':s(0xb1),'begin':s(0xaa),'replace':!![]}),await this['fsi'][s(0xa2)]({'filePath':k+'.'+l,'content':s(0xb9),'begin':s(0x9a),'replace':!![]}),await this[s(0x88)][s(0xa2)]({'filePath':k+'.'+l,'content':s(0xa5),'begin':s(0xb2),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xc8),'begin':s(0xc2),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0xca),'begin':s(0xb0),'replace':!![]}),await this[s(0x88)][s(0xa2)]({'filePath':k+'.'+l,'content':s(0x89),'begin':s(0x8e),'replace':!![]}),await this[s(0x88)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x9d),'replace':!![]});g&&(await this[s(0x88)][s(0xa1)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':s(0x90),'isNamedExport':!![]}),await this[s(0x88)][s(0xa8)]({'filePath':k+'.'+l,'content':s(0xa0),'begin':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this['fsi'][s(0xa1)]({'filePath':h,'importName':s(0xba),'modulePath':'meteor/meteor','isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0xa2)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xbe),'replace':!![]});const m=this[s(0x88)]['pathFromApp']({'pathParts':[s(0xbb),s(0x8b),s(0x9e),s(0x8c)]});await this[s(0x88)]['injectImport']({'filePath':m+'.'+l,'importName':'Accounts','modulePath':s(0x99),'isNamedExport':!![]}),await this[s(0x88)][s(0xa2)]({'filePath':m+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':s(0xa7),'replace':!![]});}catch(n){Log[s(0xb5)](n),process[s(0xcb)](0x1);}},async function(){},a121e);
1
+ const a121r=a121d;function a121c(){const u=['\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','20FgAXGF','/imports/startup/lib','48qPwIXs','const\x20deauthenticateUser','const\x20registerNewUser','125839jSWUDy','\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','index','return\x20\x5c(','fsi','\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','\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','\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','imports','processAndRunGenerator','1799880rShrzW','const\x20authenticateToken','startup','injectIntoCodeBlock','7534467hAtVDx','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','findProjectDirectory','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','const\x20sendForgotPasswordEmail','apply','template','2182532fbnQCh','meteor/meteor','/imports/startup/lib/authentication-service','(((.+)+)+)+$','const\x20authenticateUser','export\x20const\x20AuthProvider','accounts-password','publish','pathFromApp','create','471564nkwdxk','search','alanning:roles','Meteor','authentication-provider','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','react','1393122KQJjVU','checkMeteorPackage','const\x20resetPasswordWithToken','true','Meteor.publish','useTracker','injectImport','force','toString','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','5MvVgww','1182238QBkDXz','meteor/maka:react-tracker','Meteor.startup'];a121c=function(){return u;};return a121c();}(function(a,b){const o=a121d,c=a();while(!![]){try{const d=-parseInt(o(0x19a))/0x1+-parseInt(o(0x1ac))/0x2+parseInt(o(0x1bf))/0x3+parseInt(o(0x190))/0x4*(-parseInt(o(0x1ab))/0x5)+-parseInt(o(0x1a1))/0x6+parseInt(o(0x1b5))/0x7*(-parseInt(o(0x1b2))/0x8)+-parseInt(o(0x1c3))/0x9*(-parseInt(o(0x1b0))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x4f921));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a121d;if(c){const e=c[p(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const q=a121d;return a121a['toString']()['search']('(((.+)+)+)+$')[q(0x1a9)]()['constructor'](a121a)[q(0x19b)](q(0x193));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x18d;let f=c[d];return f;},a121d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121r(0x199)]({'name':'meteor','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','shortDesc':a121r(0x1c6),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20'},async function(a,b){const s=a121r;try{const c=b[s(0x1a8)]||![];await this[s(0x1b9)][s(0x1a2)]([s(0x196),s(0x19c)],{'shouldInstall':!![]});const d=this[s(0x1b9)][s(0x1c5)](),f=this[s(0x1b9)]['getMakaProjectConfig'](),g=f['engines']['ssr']===s(0x1a4);await a121f[s(0x1be)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a121f[s(0x1be)](s(0x197),['auth/roles'],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x1b1):'/imports/startup/client',j=this[s(0x1b9)][s(0x198)]({'pathParts':[i,'','','authentication-service']});await this[s(0x1b9)]['withValue'](f,async()=>{const t=s;await this[t(0x1b9)][t(0x18f)]({'srcPath':'kit/auth/service/meteor-auth-service.js','destPath':j+'.js','framework':t(0x1a0),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[s(0x1b9)][s(0x198)]({'pathParts':[i,'','',s(0x19e)]}),l=f['engines']['js'];await this[s(0x1b9)][s(0x1a7)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?s(0x192):'/imports/startup/client/authentication-service','isNamedExport':![]}),await this[s(0x1b9)][s(0x1c2)]({'filePath':k+'.'+l,'content':s(0x1ba),'begin':s(0x194),'replace':!![]}),await this[s(0x1b9)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x1c4),'begin':s(0x1c0),'replace':!![]}),await this[s(0x1b9)][s(0x1c2)]({'filePath':k+'.'+l,'content':s(0x1c7),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x1b9)][s(0x1c2)]({'filePath':k+'.'+l,'content':s(0x1af),'begin':s(0x1b3),'replace':!![]}),await this[s(0x1b9)][s(0x1c2)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x18d),'replace':!![]}),await this[s(0x1b9)][s(0x1c2)]({'filePath':k+'.'+l,'content':s(0x19f),'begin':s(0x1b4),'replace':!![]}),await this[s(0x1b9)][s(0x1c2)]({'filePath':k+'.'+l,'content':s(0x1aa),'begin':s(0x1a3),'replace':!![]});g&&(await this['fsi'][s(0x1a7)]({'filePath':k+'.'+l,'importName':s(0x1a6),'modulePath':s(0x1ad),'isNamedExport':!![]}),await this[s(0x1b9)]['injectIntoFile']({'filePath':k+'.'+l,'content':s(0x1b6),'begin':s(0x195),'end':s(0x1b8)}));await this[s(0x1b9)][s(0x1a7)]({'filePath':h,'importName':s(0x19d),'modulePath':s(0x191),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][s(0x1c2)]({'filePath':h,'content':s(0x1bb),'begin':s(0x1a5),'replace':!![]});const m=this['fsi']['pathFromApp']({'pathParts':[s(0x1bd),s(0x1c1),'server',s(0x1b7)]});await this[s(0x1b9)][s(0x1a7)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':'meteor/accounts-base','isNamedExport':!![]}),await this[s(0x1b9)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':s(0x1bc),'begin':s(0x1ae),'replace':!![]});}catch(n){Log['error'](n),process['exit'](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- const a122x=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0x1c8))/0x1*(parseInt(u(0x1b4))/0x2)+parseInt(u(0x1c1))/0x3+-parseInt(u(0x1cb))/0x4*(-parseInt(u(0x1cf))/0x5)+parseInt(u(0x1a7))/0x6+-parseInt(u(0x1ad))/0x7+-parseInt(u(0x1b8))/0x8*(parseInt(u(0x1b3))/0x9)+parseInt(u(0x1bd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xc898e));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x1b6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0x1ce)]()[w(0x1a1)](w(0x1d1))[w(0x1ce)]()['constructor'](a122a)['search'](w(0x1d1));});a122a();import{Generator}from'../../../generator.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x1a0;let f=c[d];return f;},a122d(a,b);}import{Log}from'../../../tools/log/log.class.js';function a122c(){const A=['apply','/routes','464efJcKk','true','const\x20useAuth','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','/imports/startup/client/authentication-provider','5080350pIjfBx','getMakaProjectConfig','react','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','957591gUWGES','force','injectAroundString','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','appName','/imports/startup/lib/authentication-provider','.js','289085rPSGIJ','fsi','exit','132jMCrhx','</AuthProvider>','REACT','toString','143285Plaeha','<AuthProvider>','(((.+)+)+)+$','/imports/startup/server/index','kit/auth/provider/authentication-provider.js','search','withValue','engines','AuthContext','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','<AppRoutes\x20/>','2561022VqRVRG','error','AuthProvider','injectImport','split','ssr','4128600IJLEZc','provider','injectIntoCodeBlock','pathFromApp','create','/imports/startup/client','32607vGqkXV','4FGntCN','authentication-provider'];a122c=function(){return A;};return a122c();}import a122e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0x1b1)]({'name':a122x(0x1ae),'aliases':['p'],'usage':a122x(0x1c4),'shortDesc':a122x(0x1a5),'validOpts':[a122x(0x1c2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x1cd)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const y=a122x;try{const c=b[y(0x1c2)]||![];Log['bright'](y(0x1c0));const d=this['fsi'][y(0x1be)](),f=d[y(0x1a3)][y(0x1ac)]===y(0x1b9),g={'name':headerCase(d[y(0x1c5)])['replaceAll']('-','\x20')},h=f?'/imports/startup/lib':y(0x1b2),i=this['fsi'][y(0x1b0)]({'pathParts':[h,'','',y(0x1b5)]});await this[y(0x1c9)][y(0x1a2)](d,async()=>{const z=y;await this[z(0x1c9)]['template']({'srcPath':z(0x1a0),'destPath':i+z(0x1c7),'framework':z(0x1bf),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x1a3)]['js'],k=h+y(0x1b7),l=k[y(0x1ab)]('/'),m=this[y(0x1c9)][y(0x1b0)]({'pathParts':l});await this['fsi'][y(0x1aa)]({'filePath':m+'.'+j,'importName':y(0x1a4),'modulePath':f?y(0x1c6):y(0x1bc),'isNamedExport':!![]}),await this['fsi']['injectImport']({'filePath':m+'.'+j,'importName':'useContext','modulePath':y(0x1bf),'isNamedExport':!![],'injectAtStart':!![]}),await this[y(0x1c9)][y(0x1af)]({'filePath':m+'.'+j,'content':y(0x1bb),'begin':[y(0x1ba),'function\x20useAuth'],'replace':!![]}),await this[y(0x1c9)][y(0x1af)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20PrivateRoute'],'replace':!![]});const n='/imports/startup/client/index',o=n[y(0x1ab)]('/'),p=this['fsi'][y(0x1b0)]({'pathParts':o});await this[y(0x1c9)][y(0x1aa)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x1bc),'isNamedExport':!![]}),await this['fsi'][y(0x1c3)]({'filePath':p+'.'+j,'aboveContent':y(0x1d0),'belowContent':'</AuthProvider>','targetString':y(0x1a6),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x1d2),r=q[y(0x1ab)]('/'),s=this[y(0x1c9)][y(0x1b0)]({'pathParts':r});await this[y(0x1c9)]['injectImport']({'filePath':s+'.'+j,'importName':y(0x1a9),'modulePath':f?y(0x1c6):y(0x1bc),'isNamedExport':!![]}),await this[y(0x1c9)][y(0x1c3)]({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':y(0x1cc),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log[y(0x1a8)](t),process[y(0x1ca)](0x1);}},async function(){},a122e);
1
+ const a122w=a122d;(function(a,b){const u=a122d,c=a();while(!![]){try{const d=parseInt(u(0x7d))/0x1+parseInt(u(0x8c))/0x2*(parseInt(u(0x93))/0x3)+parseInt(u(0x9a))/0x4+parseInt(u(0x84))/0x5*(-parseInt(u(0x7a))/0x6)+parseInt(u(0x8b))/0x7+-parseInt(u(0x78))/0x8*(parseInt(u(0x9c))/0x9)+parseInt(u(0x85))/0xa*(-parseInt(u(0x8e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xbb58c));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const v=a122d;return a122a[v(0x83)]()[v(0x7f)]('(((.+)+)+)+$')['toString']()[v(0x79)](a122a)['search'](v(0x89));});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';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x6c;let f=c[d];return f;},a122d(a,b);}Generator[a122w(0x6e)]({'name':a122w(0x9b),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a122w(0x6f),'validOpts':[a122w(0x73)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122w(0x90)]},'description':a122w(0x9f)},async function(a,b){const x=a122w;try{const c=b['force']||![];Log['bright'](x(0x71));const d=this[x(0x88)][x(0x9d)](),f=d[x(0x7b)]['ssr']===x(0x96),g={'name':headerCase(d[x(0x80)])['replaceAll']('-','\x20')},h=f?x(0x8d):'/imports/startup/client',i=this[x(0x88)]['pathFromApp']({'pathParts':[h,'','',x(0x7e)]});await this['fsi'][x(0x70)](d,async()=>{const y=x;await this[y(0x88)][y(0x8f)]({'srcPath':y(0x87),'destPath':i+y(0x82),'framework':y(0x98),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[x(0x7b)]['js'],k=h+x(0x77),l=k[x(0x86)]('/'),m=this[x(0x88)]['pathFromApp']({'pathParts':l});await this['fsi'][x(0x99)]({'filePath':m+'.'+j,'importName':x(0x97),'modulePath':f?x(0x8a):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x88)][x(0x99)]({'filePath':m+'.'+j,'importName':x(0x6d),'modulePath':x(0x98),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x88)][x(0x91)]({'filePath':m+'.'+j,'content':x(0x6c),'begin':[x(0x81),x(0x95)],'replace':!![]}),await this[x(0x88)][x(0x91)]({'filePath':m+'.'+j,'content':x(0x9e),'begin':[x(0x7c)],'replace':!![]});const n=x(0x76),o=n[x(0x86)]('/'),p=this[x(0x88)][x(0x75)]({'pathParts':o});await this[x(0x88)][x(0x99)]({'filePath':p+'.'+j,'importName':x(0x92),'modulePath':f?x(0x8a):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x88)]['injectAroundString']({'filePath':p+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x74),'targetString':x(0x72),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0xa0),r=q[x(0x86)]('/'),s=this['fsi'][x(0x75)]({'pathParts':r});await this[x(0x88)]['injectImport']({'filePath':s+'.'+j,'importName':x(0x92),'modulePath':f?'/imports/startup/lib/authentication-provider':x(0x94),'isNamedExport':!![]}),await this['fsi']['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x74),'targetString':x(0x72),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a122e);function a122c(){const z=['getMakaProjectConfig','\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','\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','\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','useContext','create','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','withValue','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','<AppRoutes\x20/>','force','</AuthProvider>','pathFromApp','/imports/startup/client/index','/routes','8gmCjTb','constructor','74580yOOHDI','engines','const\x20PrivateRoute','330299YYNZdM','authentication-provider','search','appName','const\x20useAuth','.js','toString','155RxuzwP','28892680Zssmhx','split','kit/auth/provider/authentication-provider.js','fsi','(((.+)+)+)+$','/imports/startup/lib/authentication-provider','9708419uZTqic','18LSqmrI','/imports/startup/lib','11XbiqKR','template','REACT','injectIntoCodeBlock','AuthProvider','473271jTuQCQ','/imports/startup/client/authentication-provider','function\x20useAuth','true','AuthContext','react','injectImport','4453736QLVCpw','provider','1876437eothLW'];a122c=function(){return z;};return a122c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x9a))/0x1*(-parseInt(f(0x8b))/0x2)+parseInt(f(0x8a))/0x3*(-parseInt(f(0x94))/0x4)+-parseInt(f(0x8c))/0x5*(-parseInt(f(0x99))/0x6)+-parseInt(f(0x8f))/0x7+parseInt(f(0x96))/0x8*(-parseInt(f(0x91))/0x9)+parseInt(f(0x93))/0xa+-parseInt(f(0x8e))/0xb*(-parseInt(f(0x97))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xa6c20));function a123c(){var i=['19276644TgOKsY','(((.+)+)+)+$','7662zVQyph','72055sgeflq','33gaCqdO','16ZzdGBB','3075LHbKby','search','11DsSiSj','9442286auPnkG','constructor','1395WedwUc','apply','11260690qIddke','156652VpEUUB','toString','24704TzBQxT'];a123c=function(){return i;};return a123c();}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a['toString']()[h(0x8d)](h(0x98))[h(0x95)]()[h(0x90)](a123a)[h(0x8d)](h(0x98));});a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x8a;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0x10d;var f=c[d];return f;},a123d(a,b);}(function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0x11a))/0x1+parseInt(f(0x10e))/0x2*(-parseInt(f(0x118))/0x3)+parseInt(f(0x113))/0x4+-parseInt(f(0x117))/0x5*(-parseInt(f(0x119))/0x6)+-parseInt(f(0x112))/0x7*(parseInt(f(0x116))/0x8)+-parseInt(f(0x115))/0x9+parseInt(f(0x10f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x868a6));var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0x110)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0x114)]()[h(0x10d)](h(0x111))['toString']()['constructor'](a123a)[h(0x10d)](h(0x111));});a123a();import'./esri.generator.js';function a123c(){var i=['search','4qgOKWt','12886480UAfeOl','apply','(((.+)+)+)+$','7FTSgbd','2838316gYzAnJ','toString','8468226dTmEHz','598984rECTvt','37280GlWkbX','1507833jzqRLn','30XVJQHH','536580dyRHDO'];a123c=function(){return i;};return a123c();}import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a124i=a124d;function a124c(){const k=['/foo/bar','Esri\x20Kit\x20generated\x20successfully','4254BmFRCy','187DYuVwD','433kCaTTL','15PWOetj','1263130cOeiKA','search','54MZOxDD','maka\x20g:kit:e','11527074DSDORr','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','create','109952YldMjJ','apply','2546097Kqyndh','1553572mKrEoU','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','/foo','866229hDXyLC','toString'];a124c=function(){return k;};return a124c();}(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x88))/0x1*(-parseInt(f(0x86))/0x2)+parseInt(f(0x7d))/0x3+-parseInt(f(0x7e))/0x4*(-parseInt(f(0x89))/0x5)+-parseInt(f(0x8c))/0x6*(parseInt(f(0x82))/0x7)+-parseInt(f(0x91))/0x8+-parseInt(f(0x8e))/0x9+parseInt(f(0x8a))/0xa*(parseInt(f(0x87))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xcb1d3));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x7c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x83)]()[h(0x8b)](h(0x7f))[h(0x83)]()['constructor'](a124a)['search'](h(0x7f));});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';const EsriGen=Generator[a124i(0x90)]({'name':'esri','aliases':['e'],'usage':a124i(0x80),'noNeedResource':!![],'shortDesc':a124i(0x8f),'validOpts':[''],'isPro':!![],'examples':[a124i(0x8d)],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a124i;return{'success':!![],'message':j(0x85),'details':{'filesCreated':[j(0x84)],'filesUpdated':[j(0x81)]}};},async function(){},a124e);function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x7c;let f=c[d];return f;},a124d(a,b);}export default EsriGen;
1
+ function a124c(){const k=['1374122nQRYxR','242224IrgoMT','toString','maka\x20g:kit:e','\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','7749YiAALw','Esri\x20Kit\x20generated\x20successfully','3woixvf','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','/foo','10iOfFZV','1161025PoXNTo','search','1153430XPeVOE','create','4806RTcMlr','constructor','9QEwCbB','apply','(((.+)+)+)+$','2682272AsbPcI','17574051gMQDwl','/foo/bar'];a124c=function(){return k;};return a124c();}const a124i=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=parseInt(f(0x110))/0x1+parseInt(f(0x105))/0x2*(-parseInt(f(0x10c))/0x3)+parseInt(f(0x119))/0x4+parseInt(f(0x112))/0x5+parseInt(f(0x114))/0x6*(parseInt(f(0x10a))/0x7)+parseInt(f(0x106))/0x8*(parseInt(f(0x116))/0x9)+-parseInt(f(0x10f))/0xa*(parseInt(f(0x11a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xa9922));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a124d;if(c){const e=c[g(0x117)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const h=a124d;return a124a[h(0x107)]()['search'](h(0x118))[h(0x107)]()[h(0x115)](a124a)[h(0x111)]('(((.+)+)+)+$');});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-0x104;let f=c[d];return f;},a124d(a,b);}const EsriGen=Generator[a124i(0x113)]({'name':'esri','aliases':['e'],'usage':a124i(0x10d),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a124i(0x108)],'description':a124i(0x109)},async function(){const j=a124i;return{'success':!![],'message':j(0x10b),'details':{'filesCreated':[j(0x104)],'filesUpdated':[j(0x10e)]}};},async function(){},a124e);export default EsriGen;
@@ -1 +1 @@
1
- function a125c(){const v=['FALSE','esri-loader','kit/esri/map/','54XLfDpb','findProjectDirectory','3701080EOjODS','/imports/startup/client/templates','replaceAll','Generate\x20an\x20Esri\x20map\x20component','toString','.js','ssr','injectIntoFile','REACT','withValue','search','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','template','dir','/imports/startup/lib/templates','true','<div\x20id=\x22map\x22>','5048yFbTut','(((.+)+)+)+$','7560820oXdvXH','map','1161HwSNyU','injectTemplateModule','1665986WmWHGI','pathFromApp','1871436vrKqdb','split','48PGwHOA','getMakaProjectConfig','/imports/ui/hooks','9259970jFVIFi','exit','constructor','appName','create','</div>','error','apply','checkNpmPackage','bright','processAndRunGenerator','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','baseDir','fsi','9780912gQUeuZ','/imports/ui/','page'];a125c=function(){return v;};return a125c();}const a125s=a125d;function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x127;let f=c[d];return f;},a125d(a,b);}(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x135))/0x1+-parseInt(p(0x12f))/0x2*(parseInt(p(0x133))/0x3)+parseInt(p(0x152))/0x4+-parseInt(p(0x13c))/0x5+-parseInt(p(0x14a))/0x6+-parseInt(p(0x137))/0x7*(-parseInt(p(0x139))/0x8)+-parseInt(p(0x150))/0x9*(-parseInt(p(0x131))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xe5b82));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x143)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a['toString']()[r(0x128)](r(0x130))[r(0x156)]()[r(0x13e)](a125a)['search']('(((.+)+)+)+$');});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x140)]({'name':a125s(0x132),'aliases':['m'],'usage':a125s(0x129),'shortDesc':a125s(0x155),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x15a)],'ssr':SsrEngines[a125s(0x14d)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a125s;try{Log[t(0x145)]('Generating\x20a\x20map\x20component');const c='basic-map';await this[t(0x149)][t(0x144)](['@esri/react-arcgis',t(0x14e)],{'shouldInstall':!![]});const d=this[t(0x149)][t(0x151)](),f=this[t(0x149)][t(0x13a)](),g=f['engines'][t(0x158)]===t(0x12d),h=await a125f[t(0x146)](t(0x14c),[t(0x132)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x13f)])[t(0x154)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x148)]?t(0x14b)+b['baseDir']:t(0x13b),k=this[t(0x149)][t(0x136)]({'pathParts':[j,b[t(0x12b)],paramCase(c),paramCase(c)]});await this[t(0x149)][t(0x127)](f,async()=>{const u=t;await this[u(0x149)][u(0x12a)]({'srcPath':u(0x14f)+c+u(0x157),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x12b)]+'/'+c+'/'+c;await this[t(0x149)][t(0x134)](c,f,l);const m=h[t(0x138)]('/'),n=this[t(0x149)][t(0x136)]({'pathParts':m});await this[t(0x149)]['injectImport']({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x12c):t(0x153),'isNamedExport':!![]}),await this[t(0x149)][t(0x159)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x147),'begin':['<div\x20id=\x22map\x22>',t(0x12e)],'end':[t(0x141)],'replace':!![]});}catch(o){Log[t(0x142)](o),process[t(0x13d)](0x1);}},async function(){},a125e);
1
+ const a125s=a125d;function a125c(){const v=['true','engines','apply','\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','checkNpmPackage','injectIntoFile','Generate\x20an\x20Esri\x20map\x20component','react','9sResCA','template','withValue','5vNMazT','8222aOsiOQ','findProjectDirectory','pathFromApp','(((.+)+)+)+$','constructor','baseDir','5526438eXDvhr','FALSE','</div>','split','/imports/startup/lib/templates','fsi','/imports/ui/','7943770CpZvgW','page','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','search','301JBVUoo','processAndRunGenerator','96392rqnymQ','basic-map','kit/esri/map/','/imports/startup/client/templates','injectTemplateModule','getMakaProjectConfig','<div\x20id=\x22map\x22>','bright','38340302BTUcCw','exit','4429461jzPopV','5239252BGsmFu','create','appName','injectImport','REACT','dir','77BAVfbT','map','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','toString','.js','@esri/react-arcgis'];a125c=function(){return v;};return a125c();}(function(a,b){const p=a125d,c=a();while(!![]){try{const d=parseInt(p(0x129))/0x1*(parseInt(p(0x13b))/0x2)+parseInt(p(0x122))/0x3+parseInt(p(0x123))/0x4+-parseInt(p(0x13a))/0x5*(-parseInt(p(0x141))/0x6)+parseInt(p(0x116))/0x7*(-parseInt(p(0x118))/0x8)+-parseInt(p(0x137))/0x9*(-parseInt(p(0x148))/0xa)+-parseInt(p(0x120))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0xc6e74));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a125d;if(c){const e=c[q(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const r=a125d;return a125a[r(0x12c)]()[r(0x115)](r(0x13e))['toString']()[r(0x13f)](a125a)[r(0x115)](r(0x13e));});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';function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x113;let f=c[d];return f;},a125d(a,b);}import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125s(0x124)]({'name':a125s(0x12a),'aliases':['m'],'usage':a125s(0x114),'shortDesc':a125s(0x135),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125s(0x127)],'ssr':SsrEngines[a125s(0x142)]},'description':a125s(0x132)},async function(a,b){const t=a125s;try{Log[t(0x11f)]('Generating\x20a\x20map\x20component');const c=t(0x119);await this[t(0x146)][t(0x133)]([t(0x12e),'esri-loader'],{'shouldInstall':!![]});const d=this[t(0x146)][t(0x13c)](),f=this[t(0x146)][t(0x11d)](),g=f[t(0x130)]['ssr']===t(0x12f),h=await a125f[t(0x117)](t(0x113),[t(0x12a)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x125)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x140)]?t(0x147)+b['baseDir']:'/imports/ui/hooks',k=this[t(0x146)][t(0x13d)]({'pathParts':[j,b[t(0x128)],paramCase(c),paramCase(c)]});await this[t(0x146)][t(0x139)](f,async()=>{const u=t;await this[u(0x146)][u(0x138)]({'srcPath':u(0x11a)+c+u(0x12d),'destPath':k+'.js','framework':u(0x136),'context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b[t(0x128)]+'/'+c+'/'+c;await this['fsi'][t(0x11c)](c,f,l);const m=h[t(0x144)]('/'),n=this[t(0x146)]['pathFromApp']({'pathParts':m});await this[t(0x146)][t(0x126)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x145):t(0x11b),'isNamedExport':!![]}),await this[t(0x146)][t(0x134)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0x12b),'begin':['<div\x20id=\x22map\x22>',t(0x11e)],'end':[t(0x143)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x121)](0x1);}},async function(){},a125e);
@@ -1 +1 @@
1
- const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x14f))/0x1+parseInt(f(0x145))/0x2+-parseInt(f(0x152))/0x3*(-parseInt(f(0x146))/0x4)+parseInt(f(0x153))/0x5+-parseInt(f(0x151))/0x6+parseInt(f(0x14b))/0x7*(parseInt(f(0x156))/0x8)+parseInt(f(0x148))/0x9*(-parseInt(f(0x14a))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x18c84));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x144)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x147)]()[h(0x149)](h(0x14e))[h(0x147)]()['constructor'](a126a)['search'](h(0x14e));});a126a();import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x144;let f=c[d];return f;},a126d(a,b);}const KitGen=Generator['create']({'name':a126i(0x155),'aliases':['k'],'usage':a126i(0x14d),'shortDesc':a126i(0x150),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x14c),a126i(0x154)]},async function(){});export default KitGen;function a126c(){const j=['maka\x20g:k','kit','5912MrWwSl','apply','159310wJIVHv','4wjWjQr','toString','5958GFYWtq','search','3310CtQtiA','1799rGIBxP','maka\x20g:kit','maka\x20{generate,\x20g}:{kit}\x20<name>','(((.+)+)+)+$','125655PfsIKF','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','194490IYnABy','350739AzmLpF','461045NYQFTb'];a126c=function(){return j;};return a126c();}
1
+ const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x1e6))/0x1+parseInt(f(0x1e4))/0x2+-parseInt(f(0x1e5))/0x3*(-parseInt(f(0x1e9))/0x4)+parseInt(f(0x1f3))/0x5+-parseInt(f(0x1f4))/0x6+-parseInt(f(0x1e7))/0x7*(parseInt(f(0x1ee))/0x8)+parseInt(f(0x1ea))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x7fce2));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x1eb)]()['search'](h(0x1e3))[h(0x1eb)]()[h(0x1e2)](a126a)[h(0x1ec)](h(0x1e3));});a126a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a126i(0x1f2),'aliases':['k'],'usage':a126i(0x1f0),'shortDesc':a126i(0x1ef),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a126i(0x1ed),a126i(0x1f1)]},async function(){});function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a126d(a,b);}function a126c(){const j=['1616570FLomsF','3jpKPSE','515685xpjMAD','1071bkTrxl','apply','2042216LYbTYl','4185810lKvXyD','toString','search','maka\x20g:kit','6088oGJwTO','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20{generate,\x20g}:{kit}\x20<name>','maka\x20g:k','kit','1006960LDZgEk','4978278HgpFdg','constructor','(((.+)+)+)+$'];a126c=function(){return j;};return a126c();}export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x82))/0x1+-parseInt(f(0x85))/0x2*(-parseInt(f(0x88))/0x3)+parseInt(f(0x7f))/0x4+-parseInt(f(0x83))/0x5+-parseInt(f(0x7e))/0x6+-parseInt(f(0x87))/0x7+parseInt(f(0x81))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x31639));function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x7e;var f=c[d];return f;},a127d(a,b);}var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var g=a127d;return a127a['toString']()[g(0x86)](g(0x80))['toString']()[g(0x84)](a127a)[g(0x86)](g(0x80));});a127a();import'./mui.generator.js';import'./frame.mui.gen.js';function a127c(){var h=['2625016xYOlIi','20044OUxhbF','437920WgXmyv','constructor','1892OCYtCU','search','2632588KZTUtU','519YvvAqi','1154382IzmdLR','1386132nYTWax','(((.+)+)+)+$'];a127c=function(){return h;};return a127c();}import'./auth.mui.gen.js';
1
+ function a127c(){var h=['976688TOKtYP','5fvxXWU','(((.+)+)+)+$','982628EwjzYi','search','10482aaqvSQ','toString','10INfUDU','556pCcvsu','72BpSXFb','152854TYRnfF','35rkqfXx','11504412jLtKbJ','constructor','3163523cCRPNI','952164JnHZtS'];a127c=function(){return h;};return a127c();}(function(a,b){var f=a127d,c=a();while(!![]){try{var d=-parseInt(f(0x180))/0x1+-parseInt(f(0x17e))/0x2*(-parseInt(f(0x17b))/0x3)+parseInt(f(0x179))/0x4*(parseInt(f(0x177))/0x5)+parseInt(f(0x175))/0x6*(-parseInt(f(0x171))/0x7)+parseInt(f(0x176))/0x8*(-parseInt(f(0x17f))/0x9)+-parseInt(f(0x17d))/0xa*(-parseInt(f(0x174))/0xb)+parseInt(f(0x172))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x83e6f));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var g=a127d;return a127a[g(0x17c)]()[g(0x17a)](g(0x178))[g(0x17c)]()[g(0x173)](a127a)[g(0x17a)]('(((.+)+)+)+$');});a127a();import'./mui.generator.js';function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x171;var f=c[d];return f;},a127d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a128J=a128d;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xf2;let f=c[d];return f;},a128d(a,b);}(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0x11a))/0x1+parseInt(G(0xff))/0x2+parseInt(G(0xf4))/0x3*(parseInt(G(0x102))/0x4)+parseInt(G(0x11d))/0x5*(parseInt(G(0x12f))/0x6)+-parseInt(G(0x133))/0x7*(-parseInt(G(0x12e))/0x8)+-parseInt(G(0x134))/0x9*(parseInt(G(0x126))/0xa)+-parseInt(G(0x117))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x630a1));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a128d;if(c){const e=c[H(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const I=a128d;return a128a[I(0x124)]()[I(0x12d)](I(0x103))[I(0x124)]()['constructor'](a128a)[I(0x12d)](I(0x103));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';function a128c(){const N=['create','error','Cleaning\x20up...','/imports/startup/lib/authentication-provider','true','kit:auth:meteor','kit/mui/auth/forgot-password/','auth','kit/mui/auth/login/','baseDir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','options','split','basic-logout-page','basic-register-page','log','injectImport','basic-forgot-password-page','engines','14555706LTljBY','ssr','force','706846UgqYJc','route','processAndRunGenerator','25iXTVdd','login','dir','maka\x20generate:kit:mui:frame','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','withValue','layouts','toString','kit:auth:provider','1180YWIExL','custom','meteor','AuthContext','.js','register','injectTemplateModule','search','32XdCIST','75066Hzihjk','/imports/startup/client/authentication-provider','pathFromApp','basic-password-reset-page','973168KGNRhV','42039DihkXo','findProjectDirectory','getMakaProjectConfig','template','apply','36588GCzrTH','kit/mui/auth/logout/','react','fsi','basic-login-page','kit/mui/auth/register/','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','replaceAll','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','logout','authType','1396952AIWuiN','maka\x20g:k:m:f','Custom\x20(roll\x20your\x20own)','84ejthUg','(((.+)+)+)+$'];a128c=function(){return N;};return a128c();}import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128J(0x104)]({'name':a128J(0x10b),'aliases':['a'],'usage':a128J(0xfa),'shortDesc':a128J(0x121),'validOpts':[a128J(0x123),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a128J(0x120),a128J(0x100)],'description':a128J(0x10e)},async function(a,b){const K=a128J;try{const c=b[K(0x119)]||![],d=this['fsi'][K(0x135)](),f=this[K(0xf7)][K(0x136)](),{authType:g}=await Actions[K(0x10f)]({'type':'list','name':K(0xfe),'message':K(0xfc),'choices':[{'name':'Meteor\x20Accounts','value':K(0x128)},{'name':K(0x101),'value':K(0x127)}]}),h='basic-login-page',i='basic-logout-page',j=K(0x112),k=K(0x132),l='basic-forgot-password-page',m=b[K(0x10d)]?'/imports/ui/'+b['baseDir']:'/imports/ui/pages/auth',n=this[K(0xf7)][K(0x131)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0xf7)]['pathFromApp']({'pathParts':[m,b[K(0x11f)],paramCase(i),paramCase(i)]}),p=this[K(0xf7)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this[K(0xf7)]['pathFromApp']({'pathParts':[m,b[K(0x11f)],paramCase(k),paramCase(k)]}),r=this[K(0xf7)][K(0x131)]({'pathParts':[m,b[K(0x11f)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f['appName'])[K(0xfb)]('-','\x20')};await this[K(0xf7)][K(0x122)](f,async()=>{const L=K;await this[L(0xf7)][L(0xf2)]({'srcPath':L(0x10c)+h+L(0x12a),'destPath':n+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xf7)][L(0xf2)]({'srcPath':L(0xf5)+i+'.js','destPath':o+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':L(0xf9)+j+L(0x12a),'destPath':p+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][L(0xf2)]({'srcPath':'kit/mui/auth/password-reset/'+k+'.js','destPath':q+L(0x12a),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[L(0xf7)][L(0xf2)]({'srcPath':L(0x10a)+l+L(0x12a),'destPath':r+L(0x12a),'framework':L(0xf6),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b['dir']+'/'+h+'/'+h;await this[K(0xf7)][K(0x12c)](h,f,t);const u=''+m+b[K(0x11f)]+'/'+i+'/'+i;await this[K(0xf7)][K(0x12c)](i,f,u);const v=''+m+b['dir']+'/'+j+'/'+j;await this[K(0xf7)][K(0x12c)](j,f,v);const w=''+m+b[K(0x11f)]+'/'+k+'/'+k;await this[K(0xf7)][K(0x12c)](k,f,w);const x=''+m+b[K(0x11f)]+'/'+l+'/'+l;await this['fsi'][K(0x12c)](l,f,x),await a128e[K(0x11c)]('route',[K(0xf8)],{'route':K(0x11e),'cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),[K(0x111)],{'route':K(0xfd),'private':!![],'cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),['basic-register-page'],{'route':K(0x12b),'cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),[K(0x132)],{'route':'reset-password/:token','cwd':d,'config':f}),await a128e[K(0x11c)](K(0x11b),[K(0x115)],{'route':'forgot-password','cwd':d,'config':f});g===K(0x128)&&await a128e[K(0x11c)](K(0x109),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a128e[K(0x11c)](K(0x125),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x116)][K(0x118)]===K(0x108),z=f[K(0x116)]['js'],A=this['fsi'][K(0x131)]({'pathParts':t[K(0x110)]('/')});await this[K(0xf7)][K(0x114)]({'filePath':A+'.'+z,'importName':K(0x129),'modulePath':y?K(0x107):K(0x130),'isNamedExport':!![]});const B=this[K(0xf7)][K(0x131)]({'pathParts':u[K(0x110)]('/')});await this[K(0xf7)][K(0x114)]({'filePath':B+'.'+z,'importName':K(0x129),'modulePath':y?K(0x107):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0xf7)][K(0x131)]({'pathParts':v[K(0x110)]('/')});await this[K(0xf7)][K(0x114)]({'filePath':C+'.'+z,'importName':K(0x129),'modulePath':y?K(0x107):K(0x130),'isNamedExport':!![]});const D=this[K(0xf7)][K(0x131)]({'pathParts':w[K(0x110)]('/')});await this['fsi'][K(0x114)]({'filePath':D+'.'+z,'importName':'AuthContext','modulePath':y?K(0x107):K(0x130),'isNamedExport':!![]});const E=this[K(0xf7)][K(0x131)]({'pathParts':x['split']('/')});await this[K(0xf7)][K(0x114)]({'filePath':E+'.'+z,'importName':K(0x129),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x130),'isNamedExport':!![]});}catch(F){Log[K(0x105)](F);}},async function(){const M=a128J;console[M(0x113)](M(0x106));},a128f);
1
+ const a128I=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=-parseInt(G(0x1ec))/0x1+parseInt(G(0x1e4))/0x2*(parseInt(G(0x1f0))/0x3)+parseInt(G(0x1d6))/0x4+-parseInt(G(0x1de))/0x5*(-parseInt(G(0x1d1))/0x6)+parseInt(G(0x206))/0x7*(parseInt(G(0x1fc))/0x8)+parseInt(G(0x1e3))/0x9+-parseInt(G(0x200))/0xa*(parseInt(G(0x1e6))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x6ac59));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(0x1fd)]()['search']('(((.+)+)+)+$')[H(0x1fd)]()['constructor'](a128a)[H(0x1e8)](H(0x1d8));});a128a();import{Generator}from'../../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x1c8;let f=c[d];return f;},a128d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128c(){const M=['maka\x20generate:kit:mui:frame','findProjectDirectory','reset-password/:token','log','pathFromApp','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','24ErKOWh','toString','forgot-password','Custom\x20(roll\x20your\x20own)','3233820sHbmMD','appName','layouts','create','fsi','kit:auth:provider','1507471gvEiCk','react','force','/imports/startup/lib/authentication-provider','kit/mui/auth/login/','/imports/ui/','list','maka\x20g:k:m:f','MATERIAL','REACT','engines','split','custom','template','register','authType','dir','options','injectTemplateModule','1719714jUbnzp','injectImport','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','basic-password-reset-page','.js','1444700QbeWXw','basic-forgot-password-page','(((.+)+)+)+$','logout','basic-logout-page','error','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','/imports/startup/client/authentication-provider','15eVNHZs','basic-login-page','kit/mui/auth/logout/','ssr','processAndRunGenerator','3792258PLrVAd','22DdDWjR','withValue','66hESgQh','login','search','/imports/ui/pages/auth','baseDir','auth','630598rcWWIp','AuthContext','route','Meteor\x20Accounts','196302tqCegS','kit:auth:meteor','kit/mui/auth/register/','kit/mui/auth/password-reset/','meteor','basic-register-page'];a128c=function(){return M;};return a128c();}import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128I(0x203)]({'name':a128I(0x1eb),'aliases':['a'],'usage':a128I(0x1dc),'shortDesc':a128I(0x1fb),'validOpts':[a128I(0x202),a128I(0x208)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128I(0x20e)],'client':ClientEngines[a128I(0x20f)]},'examples':[a128I(0x1f6),a128I(0x20d)],'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 J=a128I;try{const c=b[J(0x208)]||![],d=this['fsi'][J(0x1f7)](),f=this[J(0x204)]['getMakaProjectConfig'](),{authType:g}=await Actions[J(0x1cf)]({'type':J(0x20c),'name':J(0x1cd),'message':J(0x1d3),'choices':[{'name':J(0x1ef),'value':J(0x1f4)},{'name':J(0x1ff),'value':J(0x1ca)}]}),h=J(0x1df),i=J(0x1da),j='basic-register-page',k=J(0x1d4),l=J(0x1d7),m=b[J(0x1ea)]?J(0x20b)+b[J(0x1ea)]:J(0x1e9),n=this[J(0x204)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[J(0x204)][J(0x1fa)]({'pathParts':[m,b[J(0x1ce)],paramCase(i),paramCase(i)]}),p=this['fsi'][J(0x1fa)]({'pathParts':[m,b[J(0x1ce)],paramCase(j),paramCase(j)]}),q=this['fsi'][J(0x1fa)]({'pathParts':[m,b[J(0x1ce)],paramCase(k),paramCase(k)]}),r=this[J(0x204)][J(0x1fa)]({'pathParts':[m,b[J(0x1ce)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0x201)])['replaceAll']('-','\x20')};await this[J(0x204)][J(0x1e5)](f,async()=>{const K=J;await this[K(0x204)]['template']({'srcPath':K(0x20a)+h+K(0x1d5),'destPath':n+K(0x1d5),'framework':K(0x207),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0x1cb)]({'srcPath':K(0x1e0)+i+K(0x1d5),'destPath':o+'.js','framework':K(0x207),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0x1cb)]({'srcPath':K(0x1f2)+j+'.js','destPath':p+K(0x1d5),'framework':K(0x207),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x204)][K(0x1cb)]({'srcPath':K(0x1f3)+k+K(0x1d5),'destPath':q+K(0x1d5),'framework':K(0x207),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x204)][K(0x1cb)]({'srcPath':'kit/mui/auth/forgot-password/'+l+K(0x1d5),'destPath':r+K(0x1d5),'framework':K(0x207),'context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0x1ce)]+'/'+h+'/'+h;await this[J(0x204)][J(0x1d0)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[J(0x204)][J(0x1d0)](i,f,u);const v=''+m+b[J(0x1ce)]+'/'+j+'/'+j;await this[J(0x204)][J(0x1d0)](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this[J(0x204)][J(0x1d0)](k,f,w);const x=''+m+b['dir']+'/'+l+'/'+l;await this[J(0x204)][J(0x1d0)](l,f,x),await a128e[J(0x1e2)]('route',['basic-login-page'],{'route':J(0x1e7),'cwd':d,'config':f}),await a128e[J(0x1e2)](J(0x1ee),[J(0x1da)],{'route':J(0x1d9),'private':!![],'cwd':d,'config':f}),await a128e[J(0x1e2)](J(0x1ee),[J(0x1f5)],{'route':J(0x1cc),'cwd':d,'config':f}),await a128e[J(0x1e2)](J(0x1ee),[J(0x1d4)],{'route':J(0x1f8),'cwd':d,'config':f}),await a128e[J(0x1e2)](J(0x1ee),[J(0x1d7)],{'route':J(0x1fe),'cwd':d,'config':f});g===J(0x1f4)&&await a128e[J(0x1e2)](J(0x1f1),[],{'force':c,'cwd':d,'config':f});g===J(0x1ca)&&await a128e[J(0x1e2)](J(0x205),[],{'force':c,'cwd':d,'config':f});const y=f[J(0x1c8)][J(0x1e1)]==='true',z=f[J(0x1c8)]['js'],A=this[J(0x204)][J(0x1fa)]({'pathParts':t[J(0x1c9)]('/')});await this['fsi'][J(0x1d2)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?'/imports/startup/lib/authentication-provider':J(0x1dd),'isNamedExport':!![]});const B=this['fsi'][J(0x1fa)]({'pathParts':u['split']('/')});await this[J(0x204)]['injectImport']({'filePath':B+'.'+z,'importName':J(0x1ed),'modulePath':y?J(0x209):J(0x1dd),'isNamedExport':!![]});const C=this['fsi']['pathFromApp']({'pathParts':v[J(0x1c9)]('/')});await this[J(0x204)][J(0x1d2)]({'filePath':C+'.'+z,'importName':J(0x1ed),'modulePath':y?J(0x209):J(0x1dd),'isNamedExport':!![]});const D=this['fsi'][J(0x1fa)]({'pathParts':w[J(0x1c9)]('/')});await this['fsi'][J(0x1d2)]({'filePath':D+'.'+z,'importName':J(0x1ed),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0x1dd),'isNamedExport':!![]});const E=this[J(0x204)][J(0x1fa)]({'pathParts':x['split']('/')});await this[J(0x204)][J(0x1d2)]({'filePath':E+'.'+z,'importName':J(0x1ed),'modulePath':y?J(0x209):J(0x1dd),'isNamedExport':!![]});}catch(F){Log[J(0x1db)](F);}},async function(){const L=a128I;console[L(0x1f9)]('Cleaning\x20up...');},a128f);
@@ -1 +1 @@
1
- const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0xef))/0x1*(-parseInt(B(0xe5))/0x2)+-parseInt(B(0xd9))/0x3+-parseInt(B(0xc3))/0x4*(parseInt(B(0xc5))/0x5)+-parseInt(B(0xd7))/0x6+parseInt(B(0xd2))/0x7*(parseInt(B(0xb6))/0x8)+parseInt(B(0xf1))/0x9+parseInt(B(0xd1))/0xa*(parseInt(B(0xe3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x5fb17));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0xd8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0xf2)]()[D(0xb9)](D(0xda))[D(0xf2)]()[D(0xbe)](a129a)[D(0xb9)]('(((.+)+)+)+$');});a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';function a129c(){const I=['replaceAll','appName','/imports/startup/client/templates','110qRXfBh','4179AyqpFp','fsi','pathFromApp','/imports/ui/components','/imports/ui/','1182378EXXUeW','apply','136590QBDWbs','(((.+)+)+)+$','layouts','checkbox','app-tests','getFiles','ssr','MATERIAL','<Outlet\x20/>','length','790955SQQqhR','engines','2uObFOy','injectIntoFile','kit/mui/frame/drawers/','\x20/>\x0a','tests','maka\x20g:k:m:f','getMakaProjectConfig','error','force','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','297294ymdsdJ','Cleaning\x20up...','174519rfBwWl','toString','dir','<Outlet/>','injectAroundString','-hook\x22>','react','REACT','withValue','baseDir','session','/imports/startup/lib/templates','<div\x20id=\x22','488QfdCKN','maka\x20generate:kit:mui:frame','Box','search','.js','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','true','constructor','@mui/material/Container','join','injectImport','No\x20layouts\x20selected','20JTZsde','kit/mui/frame/app-bars/','509505TVOmVv','template','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','options','injectTemplateModule','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','test','log'];a129c=function(){return I;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xac;let f=c[d];return f;},a129d(a,b);}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'frame','aliases':['f'],'usage':a129E(0xee),'shortDesc':a129E(0xbb),'validOpts':[a129E(0xdb),a129E(0xb2),a129E(0xf3),a129E(0xed)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0xe0)],'client':ClientEngines[a129E(0xb0)]},'examples':[a129E(0xb7),a129E(0xea)],'description':a129E(0xc8)},async function(a,b){const F=a129E;try{const c=b[F(0xed)]||![],d='basic-app-bar',f='basic-drawer',g='basic-sticky-footer',h=this[F(0xd3)][F(0xeb)](),i=h[F(0xe4)][F(0xdf)]===F(0xbd);await this['fsi']['checkMeteorPackage']([F(0xb3),'maka:react-tracker'],{'shouldInstall':!![]});const j=this[F(0xd3)]['findAppDirectory'](),k=a129e['join'](j,'imports','ui',F(0xdb)),l=this[F(0xd3)]['getDirectories'](k),m=await Actions[F(0xc9)]({'type':F(0xdc),'name':F(0xdb),'message':F(0xc7),'choices':l});if(m[F(0xdb)][F(0xe2)]===0x0){Log[F(0xec)](F(0xc2));return;}const n=b[F(0xb2)]?F(0xd6)+b[F(0xb2)]:F(0xd5),o=this[F(0xd3)][F(0xd4)]({'pathParts':[n,b[F(0xf3)],paramCase(d),paramCase(d)]}),p=this[F(0xd3)][F(0xd4)]({'pathParts':[n,b[F(0xf3)],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0xd4)]({'pathParts':[n,b[F(0xf3)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0xcf)])[F(0xce)]('-','\x20')};await this['fsi'][F(0xb1)](h,async()=>{const G=F;await this[G(0xd3)][G(0xc6)]({'srcPath':G(0xc4)+d+G(0xba),'destPath':o+G(0xba),'framework':G(0xaf),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd3)][G(0xc6)]({'srcPath':G(0xe7)+f+G(0xba),'destPath':p+G(0xba),'framework':G(0xaf),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0xd3)]['template']({'srcPath':'kit/mui/frame/footers/'+g+G(0xba),'destPath':q+G(0xba),'framework':'react','context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0xf3)]+'/'+d+'/'+d;await this[F(0xd3)]['injectTemplateModule'](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this[F(0xd3)]['injectTemplateModule'](f,h,t);const u=''+n+b[F(0xf3)]+'/'+g+'/'+g;await this[F(0xd3)][F(0xca)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0xd3)][F(0xde)](a129e['join'](k,w),{'extensions':['jsx','tsx'],'omit':[F(0xdd),F(0xe9),F(0xcc)]});for(const y of x){const z=a129e[F(0xc0)](k,w,y);await this[F(0xd3)][F(0xc1)]({'filePath':z,'importName':F(0xb8),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this['fsi'][F(0xc1)]({'filePath':z,'importName':'Container','modulePath':F(0xbf),'isNamedExport':![]}),await this['fsi'][F(0xc1)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0xd3)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0xe8),'begin':[F(0xb5)+w+'\x22>',F(0xb5)+w+F(0xae)],'end':['<Outlet/>',F(0xe1)]}),await this[F(0xd3)][F(0xc1)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xb4):F(0xd0),'isNamedExport':!![]}),await this[F(0xd3)][F(0xe6)]({'filePath':z,'content':'<'+pascalCase(f)+F(0xe8),'begin':[F(0xb5)+w+'\x22>',F(0xb5)+w+F(0xae)],'end':['<Outlet/>',F(0xe1)]}),await this[F(0xd3)][F(0xe6)]({'filePath':z,'content':'<'+pascalCase(g)+F(0xe8),'begin':[F(0xac),F(0xe1)],'end':['</div>']}),await this[F(0xd3)][F(0xc1)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0xb4):F(0xd0),'isNamedExport':!![]}),await this[F(0xd3)][F(0xad)]({'filePath':z,'aboveContent':F(0xbc),'belowContent':F(0xcb),'targetString':[F(0xac),F(0xe1)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a129E;console[H(0xcd)](H(0xf0));},a129f);
1
+ const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x168))/0x1+parseInt(B(0x147))/0x2+-parseInt(B(0x162))/0x3*(-parseInt(B(0x140))/0x4)+parseInt(B(0x17a))/0x5+-parseInt(B(0x181))/0x6+parseInt(B(0x174))/0x7*(-parseInt(B(0x183))/0x8)+-parseInt(B(0x16c))/0x9*(-parseInt(B(0x16f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x6f50f));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a['toString']()[D(0x15b)](D(0x148))[D(0x15c)]()['constructor'](a129a)['search'](D(0x148));});function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x13b;let f=c[d];return f;},a129d(a,b);}function a129c(){const I=['/imports/startup/lib/templates','maka\x20g:k:m:f','injectImport','basic-drawer','options','1051660IDeXMn','(((.+)+)+)+$','<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>','checkMeteorPackage','maka:react-tracker','injectTemplateModule','<Outlet/>','withValue','apply','<div\x20id=\x22','MATERIAL','<Outlet\x20/>','true','@mui/material/Container','fsi','.js','kit/mui/frame/drawers/','dir','getFiles','No\x20layouts\x20selected','search','toString','checkbox','test','imports','react','engines','1419RiGyIE','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','injectIntoFile','join','maka\x20generate:kit:mui:frame','tsx','809958oaNDeX','log','pathFromApp','</div>','18SDDhBl','injectAroundString','basic-app-bar','10552220SgUoiM','error','session','length','appName','7ZFejEJ','layouts','template','basic-sticky-footer','tests','\x20/>\x0a','118095CoodbX','/imports/ui/components','/imports/startup/client/templates','Box','baseDir','-hook\x22>','kit/mui/frame/app-bars/','4616784nIIxsj','ssr','6513544AcilVn','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','getDirectories','create','frame','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','1604sXbpML','Cleaning\x20up...'];a129c=function(){return I;};return a129c();}a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x13d)]({'name':a129E(0x13e),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','shortDesc':a129E(0x163),'validOpts':[a129E(0x175),a129E(0x17e),a129E(0x158),'force'],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x151)],'client':ClientEngines['REACT']},'examples':[a129E(0x166),a129E(0x143)],'description':a129E(0x13f)},async function(a,b){const F=a129E;try{const c=b['force']||![],d=F(0x16e),f=F(0x145),g=F(0x177),h=this[F(0x155)]['getMakaProjectConfig'](),i=h[F(0x161)][F(0x182)]===F(0x153);await this[F(0x155)][F(0x14a)]([F(0x171),F(0x14b)],{'shouldInstall':!![]});const j=this[F(0x155)]['findAppDirectory'](),k=a129e[F(0x165)](j,F(0x15f),'ui','layouts'),l=this[F(0x155)][F(0x13c)](k),m=await Actions[F(0x146)]({'type':F(0x15d),'name':'layouts','message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x175)][F(0x172)]===0x0){Log[F(0x170)](F(0x15a));return;}const n=b[F(0x17e)]?'/imports/ui/'+b[F(0x17e)]:F(0x17b),o=this[F(0x155)][F(0x16a)]({'pathParts':[n,b[F(0x158)],paramCase(d),paramCase(d)]}),p=this['fsi'][F(0x16a)]({'pathParts':[n,b[F(0x158)],paramCase(f),paramCase(f)]}),q=this[F(0x155)]['pathFromApp']({'pathParts':[n,b[F(0x158)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x173)])['replaceAll']('-','\x20')};await this[F(0x155)][F(0x14e)](h,async()=>{const G=F;await this[G(0x155)][G(0x176)]({'srcPath':G(0x180)+d+G(0x156),'destPath':o+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x155)][G(0x176)]({'srcPath':G(0x157)+f+G(0x156),'destPath':p+G(0x156),'framework':G(0x160),'context':r,'config':h,'force':c,'ignore':![]}),await this['fsi'][G(0x176)]({'srcPath':'kit/mui/frame/footers/'+g+G(0x156),'destPath':q+G(0x156),'framework':G(0x160),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x158)]+'/'+d+'/'+d;await this['fsi'][F(0x14c)](d,h,s);const t=''+n+b[F(0x158)]+'/'+f+'/'+f;await this['fsi'][F(0x14c)](f,h,t);const u=''+n+b['dir']+'/'+g+'/'+g;await this['fsi'][F(0x14c)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x155)][F(0x159)](a129e[F(0x165)](k,w),{'extensions':['jsx',F(0x167)],'omit':['app-tests',F(0x178),F(0x15e)]});for(const y of x){const z=a129e[F(0x165)](k,w,y);await this[F(0x155)][F(0x144)]({'filePath':z,'importName':F(0x17d),'modulePath':'@mui/material/Box','isNamedExport':![]}),await this['fsi'][F(0x144)]({'filePath':z,'importName':'Container','modulePath':F(0x154),'isNamedExport':![]}),await this[F(0x155)][F(0x144)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x142):F(0x17c),'isNamedExport':!![]}),await this[F(0x155)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(d)+F(0x179),'begin':[F(0x150)+w+'\x22>',F(0x150)+w+'-hook\x22>'],'end':[F(0x14d),'<Outlet\x20/>']}),await this[F(0x155)][F(0x144)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?'/imports/startup/lib/templates':F(0x17c),'isNamedExport':!![]}),await this[F(0x155)][F(0x164)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x179),'begin':[F(0x150)+w+'\x22>',F(0x150)+w+F(0x17f)],'end':['<Outlet/>',F(0x152)]}),await this[F(0x155)][F(0x164)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x179),'begin':['<Outlet/>',F(0x152)],'end':[F(0x16b)]}),await this[F(0x155)][F(0x144)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x142):F(0x17c),'isNamedExport':!![]}),await this[F(0x155)][F(0x16d)]({'filePath':z,'aboveContent':F(0x149),'belowContent':F(0x13b),'targetString':[F(0x14d),F(0x152)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log['error'](A);}},async function(){const H=a129E;console[H(0x169)](H(0x141));},a129f);
@@ -1 +1 @@
1
- const a130i=a130d;(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x207))/0x1*(-parseInt(g(0x1f4))/0x2)+-parseInt(g(0x1f2))/0x3+-parseInt(g(0x1f5))/0x4*(-parseInt(g(0x201))/0x5)+-parseInt(g(0x1e9))/0x6*(parseInt(g(0x1fb))/0x7)+parseInt(g(0x209))/0x8*(parseInt(g(0x203))/0x9)+-parseInt(g(0x1e5))/0xa*(-parseInt(g(0x1fd))/0xb)+-parseInt(g(0x1f6))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xe41f3));function a130c(){const k=['options','findProjectDirectory','kit:mui:frame','5226048afMFFu','search','86nRXWcj','96632oamFGj','7628628LXEOqd','frame','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','length','includes','276031TSYCrD','fsi','45419belsBi','toString','constructor','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','185xKxmaj','kit:mui:auth','17739pnEHJO','processAndRunGenerator','notice','mui','1929BbrMEW','auth','7392KIoilx','info','4130JCydkg','Header,\x20Footer,\x20and\x20Drawer','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','156ADTzQd','(((.+)+)+)+$','maka\x20g:kit:m','create','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','Material-UI\x20Kit'];a130c=function(){return k;};return a130c();}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x1fe)]()[h(0x1f3)](h(0x1ea))['toString']()[h(0x1ff)](a130a)[h(0x1f3)](h(0x1ea));});a130a();import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a130e from'../../../generators/maka.gen.js';function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1e5;let f=c[d];return f;},a130d(a,b);}import a130f from'../kit.js';const MuiGen=Generator[a130i(0x1ec)]({'name':a130i(0x206),'aliases':['m'],'usage':a130i(0x1f8),'noNeedResource':!![],'shortDesc':a130i(0x1ee),'validOpts':[''],'isPro':!![],'examples':[a130i(0x1eb)]},async function(){const j=a130i;Log[j(0x20a)](j(0x200)),Log[j(0x205)](j(0x1ed));const {kitChoices:a}=await Actions[j(0x1ef)]({'type':'checkbox','name':'kitChoices','message':j(0x1e7),'choices':[{'name':j(0x1e6),'value':j(0x1f7)},{'name':j(0x1e8),'value':j(0x208)}]}),b=this['fsi'][j(0x1f0)](),c=this[j(0x1fc)]['getMakaProjectConfig']();a['includes'](j(0x1f7))&&await a130e[j(0x204)](j(0x1f1),[],{'force':!![],'cwd':b,'config':c});a[j(0x1fa)]('auth')&&await a130e['processAndRunGenerator'](j(0x202),[],{'force':!![],'cwd':b,'config':c});if(a[j(0x1f9)]===0x0){Log[j(0x20a)]('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a130f);export default MuiGen;
1
+ const a130j=a130d;function a130c(){const l=['kit:mui:auth','kitChoices','toString','2512DcoLpO','search','(((.+)+)+)+$','7893pWyAXt','2gxiUUv','fsi','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','697741uhUKle','31614KplVxd','getMakaProjectConfig','checkbox','Material-UI\x20Kit','5767545UfAPOq','112368VTlpPi','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','kit:mui:frame','2769864tIaDXp','frame','maka\x20g:kit:m','310YxhbvJ','includes','constructor','auth','info','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','notice','apply','findProjectDirectory','365Edrvws','length','Header,\x20Footer,\x20and\x20Drawer','221411RIwjRN','No\x20MUI\x20kits\x20selected.\x20Exiting.'];a130c=function(){return l;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x138;let f=c[d];return f;},a130d(a,b);}(function(a,b){const g=a130d,c=a();while(!![]){try{const d=parseInt(g(0x154))/0x1*(parseInt(g(0x139))/0x2)+-parseInt(g(0x145))/0x3+-parseInt(g(0x142))/0x4+-parseInt(g(0x151))/0x5*(-parseInt(g(0x13d))/0x6)+-parseInt(g(0x141))/0x7+-parseInt(g(0x159))/0x8*(parseInt(g(0x138))/0x9)+parseInt(g(0x148))/0xa*(parseInt(g(0x13c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x7f5f4));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const h=a130d;if(c){const e=c[h(0x14f)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const i=a130d;return a130a[i(0x158)]()[i(0x15a)](i(0x15b))[i(0x158)]()[i(0x14a)](a130a)['search'](i(0x15b));});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':'mui','aliases':['m'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','noNeedResource':!![],'shortDesc':a130j(0x140),'validOpts':[''],'isPro':!![],'examples':[a130j(0x147)]},async function(){const k=a130j;Log['info'](k(0x143)),Log[k(0x14e)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions['options']({'type':k(0x13f),'name':k(0x157),'message':k(0x13b),'choices':[{'name':k(0x153),'value':k(0x146)},{'name':k(0x14d),'value':k(0x14b)}]}),b=this['fsi'][k(0x150)](),c=this[k(0x13a)][k(0x13e)]();a[k(0x149)]('frame')&&await a130e['processAndRunGenerator'](k(0x144),[],{'force':!![],'cwd':b,'config':c});a['includes'](k(0x14b))&&await a130e['processAndRunGenerator'](k(0x156),[],{'force':!![],'cwd':b,'config':c});if(a[k(0x152)]===0x0){Log[k(0x14c)](k(0x155));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(0x1e5))/0x1*(parseInt(l(0x1ec))/0x2)+parseInt(l(0x1c5))/0x3*(parseInt(l(0x1d1))/0x4)+-parseInt(l(0x1df))/0x5*(parseInt(l(0x1bd))/0x6)+parseInt(l(0x1cb))/0x7+parseInt(l(0x1d3))/0x8+-parseInt(l(0x1d8))/0x9*(-parseInt(l(0x1bf))/0xa)+parseInt(l(0x1d9))/0xb*(-parseInt(l(0x1ea))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x87f8c));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a131d;if(c){const e=c[m(0x1e2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const n=a131d;return a131a[n(0x1dd)]()[n(0x1db)](n(0x1c3))[n(0x1dd)]()[n(0x1c9)](a131a)['search'](n(0x1c3));});a131a();import a131e from'path';function a131c(){const r=['316170dzsvNa','graphql','9845870PeBvtz','injectTemplateModule','css','pathFromApp','(((.+)+)+)+$','withValue','11139xeGjab','maka\x20g:l\x20web/safari','resourceName','dir','constructor','installNpmPackage','4909177vhmFhd','template','includes','getMakaProjectConfig','split','relative','188JqToWJ','ssr','7794296qrzkbL','layout','className','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','true','9Gumwhj','392007DyiELz','react','search','api','toString','client','30ERNefK','.css','setTemplate','apply','withHooks','string','215373mVOhmH','findAppDirectory','ramda','.js','/imports/ui/layouts','588wjCnlC','features','2ZCiaPr','assign','engines','test','withHook','checkNpmPackage','Scaffolding\x20for\x20a\x20React\x20Layout.','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fileName','fsi','test/test.js'];a131c=function(){return r;};return a131c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x1b7;let f=c[d];return f;},a131d(a,b);}Generator['create']({'name':a131o(0x1d4),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a131o(0x1b8),'validOpts':[a131o(0x1f0)],'examples':['maka\x20g:layout\x20mobile/iPhone8',a131o(0x1c6)]},async function(a,b){const p=a131o,c=p(0x1e9),d=this[p(0x1bb)][p(0x1e6)](),e=this['fsi'][p(0x1c2)]({'pathParts':[c,b[p(0x1c8)],paramCase(b['resourceName']),paramCase(b[p(0x1c7)])]}),f=this['fsi'][p(0x1ce)]();await this[p(0x1bb)][p(0x1c4)](f,async()=>{const q=p;typeof f[q(0x1cc)][q(0x1ef)]===q(0x1e4)&&(f[q(0x1cc)][q(0x1ef)]=f[q(0x1cc)][q(0x1ef)]===q(0x1d7)?!![]:![],this[q(0x1bb)][q(0x1e1)]('test',f['template'][q(0x1ef)]));typeof f[q(0x1cc)]['css']===q(0x1e4)&&(f[q(0x1cc)][q(0x1c1)]=f[q(0x1cc)][q(0x1c1)]===q(0x1d7)?!![]:![],this['fsi'][q(0x1e1)](q(0x1c1),f[q(0x1cc)][q(0x1c1)]));typeof f[q(0x1cc)]['js']===q(0x1e4)&&(f[q(0x1cc)]['js']=f[q(0x1cc)]['js']===q(0x1d7)?!![]:![],this[q(0x1bb)][q(0x1e1)]('js',f[q(0x1cc)]['js']));!f[q(0x1eb)]&&(f[q(0x1eb)]={});const g=b['_']?b['_'][0x0][q(0x1cf)](':')[0x1]:![],h=b['_']&&aliases[q(0x1cd)](g);h&&!this[q(0x1b7)](q(0x1e7))&&(Log['warn'](q(0x1d6)),this[q(0x1bb)][q(0x1ca)](q(0x1e7),{'cwd':d}));if(h&&!this[q(0x1b7)](q(0x1da))){Log['warn'](q(0x1b9));return;}const i={'name':pascalCase(b[q(0x1c7)]),'myPath':a131e[q(0x1d0)](this['fsi']['pathFromProject']({}),e),'cssCaseName':paramCase(b[q(0x1c7)]),'className':pascalCase(b[q(0x1c7)]),'camelCaseName':camelCase(b[q(0x1c7)]),'fileName':paramCase(b[q(0x1c7)]),'graphql':f[q(0x1ee)][q(0x1be)],'features':f[q(0x1eb)],'client':f['engines'][q(0x1de)],'api':f[q(0x1ee)][q(0x1dc)],'ssr':f['engines'][q(0x1d2)],'test':f[q(0x1ee)][q(0x1ef)],'theme':f[q(0x1ee)]['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x1eb)]['withTranslations']};f[q(0x1eb)]?.[q(0x1e3)]||b[q(0x1f0)]?await this[q(0x1bb)][q(0x1cc)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':q(0x1da),'context':i,'config':f}):await this['fsi']['template']({'srcPath':'component/component.js','destPath':e+q(0x1e8),'framework':q(0x1da),'context':i,'config':f});f[q(0x1ee)]['test']!=='none'&&await this[q(0x1bb)][q(0x1cc)]({'srcPath':q(0x1bc),'destPath':e+'.app-tests.js','framework':q(0x1da),'context':i,'config':f});f[q(0x1cc)][q(0x1c1)]&&(await this[q(0x1bb)][q(0x1cc)]({'srcPath':'template/template.css','destPath':e+q(0x1e0),'context':Object[q(0x1ed)]({},i,{'className':paramCase(b[q(0x1c7)])}),'config':f}),await this[q(0x1bb)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0x1ee)]['js'],'content':'import\x20\x27./'+i[q(0x1ba)]+'.'+f[q(0x1ee)][q(0x1c1)]+'\x27;'}));const j=b[q(0x1c8)]?'/'+b[q(0x1c8)]+'/':'/',k=''+c+j+i[q(0x1ba)]+'/'+i['fileName'];await this[q(0x1bb)][q(0x1c0)](i[q(0x1d5)],f,k);});});
1
+ const a131n=a131d;(function(a,b){const l=a131d,c=a();while(!![]){try{const d=parseInt(l(0x165))/0x1*(parseInt(l(0x16f))/0x2)+parseInt(l(0x154))/0x3+parseInt(l(0x175))/0x4+-parseInt(l(0x18a))/0x5+parseInt(l(0x172))/0x6+parseInt(l(0x183))/0x7*(-parseInt(l(0x174))/0x8)+parseInt(l(0x15b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x4a2f0));function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x154;let f=c[d];return f;},a131d(a,b);}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(0x17e)]()[m(0x181)](m(0x173))['toString']()[m(0x189)](a131a)[m(0x181)]('(((.+)+)+)+$');});a131a();import a131e from'path';import{Generator}from'../generator.js';function a131c(){const q=['fileName','.app-tests.js','true','maka\x20g:layout\x20mobile/iPhone8','withValue','withTranslations','toString','css','dir','search','fsi','7HzIUfL','layout','withHook','react','none','template','constructor','2629935IjvuSG','client','string','1631631seolCA','split','ramda','create','setTemplate','warn','pathFromApp','988443inBtIp','theme','component/component.js','/imports/ui/layouts','relative','installNpmPackage','maka\x20g:l\x20web/safari','Scaffolding\x20for\x20a\x20React\x20Layout.','features','assign','236306ujDAIf','.js','checkNpmPackage','className','resourceName','graphql','test','withHooks','pathFromProject','hook/hook.js','4aioyMY','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','injectTemplateModule','1399536vojLWT','(((.+)+)+)+$','4324888sPHqKd','43528MeZTfS','engines','template/template.css'];a131c=function(){return q;};return a131c();}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a131n(0x157)]({'name':a131n(0x184),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a131n(0x162),'validOpts':[a131n(0x185)],'examples':[a131n(0x17b),a131n(0x161)]},async function(a,b){const o=a131n,c=o(0x15e),d=this[o(0x182)]['findAppDirectory'](),e=this[o(0x182)][o(0x15a)]({'pathParts':[c,b[o(0x180)],paramCase(b[o(0x169)]),paramCase(b[o(0x169)])]}),f=this[o(0x182)]['getMakaProjectConfig']();await this['fsi'][o(0x17c)](f,async()=>{const p=o;typeof f[p(0x188)][p(0x16b)]===p(0x18c)&&(f[p(0x188)][p(0x16b)]=f[p(0x188)]['test']===p(0x17a)?!![]:![],this['fsi'][p(0x158)](p(0x16b),f[p(0x188)][p(0x16b)]));typeof f['template'][p(0x17f)]===p(0x18c)&&(f[p(0x188)][p(0x17f)]=f[p(0x188)][p(0x17f)]==='true'?!![]:![],this[p(0x182)][p(0x158)](p(0x17f),f[p(0x188)][p(0x17f)]));typeof f[p(0x188)]['js']===p(0x18c)&&(f[p(0x188)]['js']=f['template']['js']==='true'?!![]:![],this[p(0x182)][p(0x158)]('js',f[p(0x188)]['js']));!f[p(0x163)]&&(f[p(0x163)]={});const g=b['_']?b['_'][0x0][p(0x155)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this['checkNpmPackage'](p(0x156))&&(Log[p(0x159)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this[p(0x182)][p(0x160)](p(0x156),{'cwd':d}));if(h&&!this[p(0x167)](p(0x186))){Log[p(0x159)](p(0x170));return;}const i={'name':pascalCase(b[p(0x169)]),'myPath':a131e[p(0x15f)](this['fsi'][p(0x16d)]({}),e),'cssCaseName':paramCase(b[p(0x169)]),'className':pascalCase(b[p(0x169)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b['resourceName']),'graphql':f[p(0x176)][p(0x16a)],'features':f[p(0x163)],'client':f[p(0x176)][p(0x18b)],'api':f[p(0x176)]['api'],'ssr':f[p(0x176)]['ssr'],'test':f[p(0x176)][p(0x16b)],'theme':f[p(0x176)][p(0x15c)],'isComponent':![],'isLayout':!![],'withTranslations':f[p(0x163)][p(0x17d)]};f[p(0x163)]?.[p(0x16c)]||b['withHook']?await this['fsi'][p(0x188)]({'srcPath':p(0x16e),'destPath':e+p(0x166),'framework':p(0x186),'context':i,'config':f}):await this['fsi']['template']({'srcPath':p(0x15d),'destPath':e+p(0x166),'framework':p(0x186),'context':i,'config':f});f[p(0x176)]['test']!==p(0x187)&&await this[p(0x182)]['template']({'srcPath':'test/test.js','destPath':e+p(0x179),'framework':p(0x186),'context':i,'config':f});f['template'][p(0x17f)]&&(await this['fsi'][p(0x188)]({'srcPath':p(0x177),'destPath':e+'.css','context':Object[p(0x164)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[p(0x182)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[p(0x176)]['js'],'content':'import\x20\x27./'+i[p(0x178)]+'.'+f[p(0x176)][p(0x17f)]+'\x27;'}));const j=b[p(0x180)]?'/'+b[p(0x180)]+'/':'/',k=''+c+j+i[p(0x178)]+'/'+i[p(0x178)];await this[p(0x182)][p(0x171)](i[p(0x168)],f,k);});});
@@ -1 +1 @@
1
- const a132h=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=-parseInt(f(0x1b0))/0x1+-parseInt(f(0x1b6))/0x2*(-parseInt(f(0x1b4))/0x3)+-parseInt(f(0x1bf))/0x4+-parseInt(f(0x1b5))/0x5+parseInt(f(0x1ba))/0x6+-parseInt(f(0x1bd))/0x7+parseInt(f(0x1bc))/0x8*(parseInt(f(0x1b1))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xa078a));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const g=a132d;return a132a[g(0x1af)]()['search'](g(0x1ac))[g(0x1af)]()[g(0x1ab)](a132a)['search'](g(0x1ac));});function a132c(){const i=['toString','1027200CIwAIl','90pgaBzV','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:route\x20todos/edit','6BlrngC','4556190OBXdLH','1180726ntHDpr','maka\x20generate:scaffold\x20todos','maka\x20g:package\x20package:name','maka\x20g:template\x20todos/todo_item','2568108GERHPm','maka\x20{generate,\x20g}:<generator>\x20<name>','2125928PzFHvy','4652711VONDCY','maka\x20g:scaffold\x20todos','4023012NNmtKy','constructor','(((.+)+)+)+$','generate','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a132c=function(){return i;};return a132c();}a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1ab;let f=c[d];return f;},a132d(a,b);}const MakaGen=new Generator({'name':a132h(0x1ad),'aliases':['g'],'usage':a132h(0x1bb),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a132h(0x1ae),'examples':[a132h(0x1b7),a132h(0x1be),a132h(0x1b9),a132h(0x1b8),a132h(0x1b3),'maka\x20g:api\x20trucks',a132h(0x1b2)]},function(){});export default MakaGen;
1
+ const a132i=a132d;(function(a,b){const f=a132d,c=a();while(!![]){try{const d=parseInt(f(0x1fd))/0x1+-parseInt(f(0x1fb))/0x2+parseInt(f(0x1f5))/0x3*(-parseInt(f(0x1fe))/0x4)+-parseInt(f(0x1f1))/0x5+parseInt(f(0x1f0))/0x6+-parseInt(f(0x1ec))/0x7*(parseInt(f(0x1fc))/0x8)+-parseInt(f(0x1f6))/0x9*(-parseInt(f(0x1ee))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xee9a4));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a132d;if(c){const e=c[g(0x1f3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const h=a132d;return a132a[h(0x1fa)]()[h(0x1f8)](h(0x1ef))[h(0x1fa)]()[h(0x1f2)](a132a)['search'](h(0x1ef));});a132a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a132i(0x1ea),'aliases':['g'],'usage':'maka\x20{generate,\x20g}:<generator>\x20<name>','validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':'Scaffold\x20various\x20parts\x20of\x20your\x20application','examples':[a132i(0x1eb),a132i(0x1f9),'maka\x20g:template\x20todos/todo_item','maka\x20g:package\x20package:name',a132i(0x1ed),a132i(0x1f4),a132i(0x1f7)]},function(){});function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a132d(a,b);}function a132c(){const j=['567HzCfFh','maka\x20g:route\x20todos/edit','3781300bMnJhI','(((.+)+)+)+$','9489360XdWzUV','7675635MAllqJ','constructor','apply','maka\x20g:api\x20trucks','3YbSgVI','90WFAcKe','maka\x20g:dbc\x20geoserver\x20--type=pgsql','search','maka\x20g:scaffold\x20todos','toString','3628502IgMaeO','171360JErsSR','1849763mucfCp','4603636CNBPtK','generate','maka\x20generate:scaffold\x20todos'];a132c=function(){return j;};return a132c();}export default MakaGen;