@maka/maka-cli 5.0.12 → 5.0.14

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 (167) hide show
  1. package/bundle/obf/package.json +2 -3
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/tool.js +1 -1
  144. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  145. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -0
  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/mpi/mpi.class.js +1 -0
  157. package/bundle/obf/src/tools/options/options.class.js +1 -1
  158. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -0
  159. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  160. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -0
  161. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  162. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  164. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  166. package/package.json +2 -3
  167. package/bundle/obf/src/commands/patreon.js +0 -1
@@ -1 +1 @@
1
- const a113n=a113d;(function(a,b){const k=a113d,c=a();while(!![]){try{const d=parseInt(k(0xfe))/0x1*(-parseInt(k(0xf8))/0x2)+parseInt(k(0xe5))/0x3+parseInt(k(0xeb))/0x4*(-parseInt(k(0xe2))/0x5)+-parseInt(k(0xdd))/0x6+parseInt(k(0xf4))/0x7+parseInt(k(0x102))/0x8*(-parseInt(k(0xff))/0x9)+-parseInt(k(0xf3))/0xa*(-parseInt(k(0xd7))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0xdfc1a));function a113c(){const q=['string','ramda','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','5392924TJbcsr','installNpmPackage','cssCaseName','react','.js','root','create','injectTemplateModule','10qZZYYg','292936fxsxPm','template/template.css','ssr','api','8JVOHRc','findAppDirectory','engines','import\x20\x27./','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','theme','246863ljZZhK','9dSHHqB','baseDir','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','5641808FbJZEv','className','resourceName','graphql','error','.tests.js','client','(((.+)+)+)+$','setTemplate','template','withValue','warn','dir','none','component','checkNpmPackage','46100890KYFLFq','fileName','apply','constructor','true','fsi','2558802IHMQtk','maka\x20g:comp\x20todos/todos-item','css','.css','search','5rrBYLk','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','features','453132hXiRtA','test','relative'];a113c=function(){return q;};return a113c();}const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a113d;if(c){const e=c[l(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const m=a113d;return a113a['toString']()['search'](m(0xce))['toString']()[m(0xda)](a113a)[m(0xe1)](m(0xce));});a113a();import a113e from'path';function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0xcd;let f=c[d];return f;},a113d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=['comp'];Generator[a113n(0xf1)]({'name':a113n(0xd5),'aliases':aliases,'usage':a113n(0xfc),'shortDesc':a113n(0xea),'validOpts':[{'name':'baseDir'}],'examples':[a113n(0xde)]},async function(a,b){const o=a113n;try{const c=this[o(0xdc)][o(0xf9)](),d=b[o(0x100)]?'/imports/ui/'+b[o(0x100)]:'/imports/ui/components',f=this[o(0xdc)]['pathFromApp']({'pathParts':[d,b[o(0xd3)],paramCase(b['resourceName']),paramCase(b[o(0x104)])]}),g=await this['fsi']['getMakaProjectConfig']();await this[o(0xdc)][o(0xd1)](g,async()=>{const p=o;typeof g[p(0xd0)]['test']===p(0xe8)&&(g[p(0xd0)]['test']=g[p(0xd0)][p(0xe6)]===p(0xdb)?!![]:![],this[p(0xdc)][p(0xcf)]('test',g[p(0xd0)][p(0xe6)]));typeof g[p(0xd0)][p(0xdf)]===p(0xe8)&&(g[p(0xd0)]['css']=g['template']['css']==='true'?!![]:![],this[p(0xdc)]['setTemplate'](p(0xdf),g[p(0xd0)][p(0xdf)]));typeof g[p(0xd0)]['js']===p(0xe8)&&(g[p(0xd0)]['js']=g[p(0xd0)]['js']===p(0xdb)?!![]:![],this[p(0xdc)]['setTemplate']('js',g[p(0xd0)]['js']));!g[p(0xe4)]&&(g[p(0xe4)]={});!b[p(0xf0)]&&!this[p(0xdc)][p(0xd6)](p(0xe9))&&(Log[p(0xd2)](p(0xe3)),await this[p(0xdc)][p(0xec)](p(0xe9),{'cwd':c}));if(!b[p(0xf0)]&&!this['fsi'][p(0xd6)](p(0xee))){Log[p(0x106)](p(0x101));return;}const h={'name':pascalCase(b[p(0x104)]),'myPath':a113e[p(0xe7)](this['fsi']['pathFromProject']({}),f),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[p(0x104)]),'camelCaseName':camelCase(b[p(0x104)]),'fileName':paramCase(b[p(0x104)]),'graphql':g[p(0xfa)][p(0x105)],'features':g[p(0xe4)],'client':g[p(0xfa)][p(0xcd)],'api':g[p(0xfa)][p(0xf7)],'ssr':g[p(0xfa)][p(0xf6)],'test':g[p(0xfa)][p(0xe6)],'theme':g[p(0xfa)][p(0xfd)],'isLayout':![],'isComponent':!![],'withTranslations':g[p(0xe4)]['withTranslations']};await this['fsi']['template']({'srcPath':'component/component.js','destPath':f+p(0xef),'context':h,'framework':p(0xee),'config':g});g[p(0xfa)][p(0xe6)]!==p(0xd4)&&await this[p(0xdc)][p(0xd0)]({'srcPath':'test/test.js','destPath':f+p(0x107),'context':h,'framework':p(0xee),'config':g});g['template']['css']&&(await this[p(0xdc)][p(0xd0)]({'srcPath':p(0xf5),'destPath':f+p(0xe0),'context':Object['assign']({},h,{'className':paramCase(b[p(0x104)])}),'config':g}),await this[p(0xdc)]['injectAtBeginningOfFile']({'filePath':f+'.'+g[p(0xfa)]['js'],'content':p(0xfb)+h[p(0xed)]+'.'+g['engines'][p(0xdf)]+'\x27;'}));const i=b[p(0xd3)]?'/'+b[p(0xd3)]+'/':'/',j=''+d+i+h[p(0xd8)]+'/'+h['fileName'];await this[p(0xdc)][p(0xf2)](h[p(0x103)],g,j);});}catch(h){Log[o(0x106)](h);}});
1
+ const a112n=a112d;(function(a,b){const k=a112d,c=a();while(!![]){try{const d=parseInt(k(0x160))/0x1+parseInt(k(0x179))/0x2*(-parseInt(k(0x15e))/0x3)+-parseInt(k(0x164))/0x4*(parseInt(k(0x172))/0x5)+parseInt(k(0x188))/0x6*(-parseInt(k(0x17c))/0x7)+-parseInt(k(0x186))/0x8*(parseInt(k(0x17b))/0x9)+parseInt(k(0x18c))/0xa*(parseInt(k(0x165))/0xb)+parseInt(k(0x182))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a112c,0x79cd3));const a112b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a112d;if(c){const e=c[l(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a112a=a112b(this,function(){const m=a112d;return a112a[m(0x17e)]()[m(0x162)]('(((.+)+)+)+$')[m(0x17e)]()[m(0x18f)](a112a)[m(0x162)](m(0x178));});a112a();function a112d(a,b){const c=a112c();return a112d=function(d,e){d=d-0x15e;let f=c[d];return f;},a112d(a,b);}function a112c(){const p=['resourceName','getMakaProjectConfig','checkNpmPackage','456IETfNk','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','140202mIIFnZ','comp','api','pkg','1740yfFJVk','none','maka\x20g:comp\x20todos/todos-item','constructor','client','ssr','component/component.js','pathFromApp','component','dir','features','root','engines','51555tAknil','scaffold','466587IzWdTW','fileName','search','error','92vItRHh','10956mzNsmh','/imports/ui/components','string','test','create','fsi','test/test.js','template','injectAtBeginningOfFile','baseDir','findProjectDirectory','theme','apply','77510UqLbOV','/imports/ui/','setTemplate','.css','cfg','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','(((.+)+)+)+$','66XgVAmc','.tests.js','49689gzSkMv','91KgiblQ','css','toString','withTranslations','.js','react','16813524AyojXi'];a112c=function(){return p;};return a112c();}import a112e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a112n(0x189)];Generator[a112n(0x169)]({'name':a112n(0x194),'aliases':aliases,'usage':a112n(0x177),'shortDesc':a112n(0x187),'validOpts':[{'name':a112n(0x16e)}],'examples':[a112n(0x18e)]},async function(a,b){const o=a112n;try{const c=b[o(0x16e)]?o(0x173)+b['baseDir']:o(0x166),d=this['scaffold'][o(0x193)]({'pathParts':[c,b[o(0x195)],paramCase(b[o(0x183)]),paramCase(b['resourceName'])]}),f=await this[o(0x176)][o(0x184)]();typeof f[o(0x16c)][o(0x168)]===o(0x167)&&this[o(0x176)][o(0x174)](o(0x168),f[o(0x16c)][o(0x168)]);typeof f[o(0x16c)][o(0x17d)]==='string'&&this[o(0x176)]['setTemplate'](o(0x17d),f[o(0x16c)][o(0x17d)]);typeof f['template']['js']===o(0x167)&&this['cfg'][o(0x174)]('js',f[o(0x16c)]['js']);await this[o(0x18b)]['checkNpmPackage']('ramda',{'shouldInstall':!b[o(0x197)]}),await this[o(0x18b)][o(0x185)](o(0x181),{'shouldInstall':!b['root']});const g={'name':pascalCase(b[o(0x183)]),'myPath':a112e['relative'](this[o(0x16a)][o(0x16f)](),d),'cssCaseName':paramCase(b[o(0x183)]),'className':pascalCase(b[o(0x183)]),'camelCaseName':camelCase(b[o(0x183)]),'fileName':paramCase(b[o(0x183)]),'graphql':f[o(0x198)]['graphql'],'features':f[o(0x196)],'client':f[o(0x198)][o(0x190)],'api':f['engines'][o(0x18a)],'ssr':f[o(0x198)][o(0x191)],'test':f[o(0x198)][o(0x168)],'theme':f[o(0x198)][o(0x170)],'isLayout':![],'isComponent':!![],'withTranslations':f[o(0x196)][o(0x17f)]};await this[o(0x15f)]['template']({'srcPath':o(0x192),'destPath':d+o(0x180),'context':g,'framework':o(0x181),'config':f});f[o(0x198)][o(0x168)]!==o(0x18d)&&await this['scaffold']['template']({'srcPath':o(0x16b),'destPath':d+o(0x17a),'context':g,'framework':o(0x181),'config':f});f[o(0x16c)][o(0x17d)]&&(await this[o(0x15f)][o(0x16c)]({'srcPath':'template/template.css','destPath':d+o(0x175),'context':Object['assign']({},g,{'className':paramCase(b[o(0x183)])}),'config':f}),await this[o(0x15f)][o(0x16d)]({'filePath':d+'.'+f[o(0x198)]['js'],'content':'import\x20\x27./'+g['cssCaseName']+'.'+f[o(0x198)][o(0x17d)]+'\x27;'}));const h=b['dir']?'/'+b['dir']+'/':'/',i=''+c+h+g[o(0x161)]+'/'+g[o(0x161)];await this[o(0x15f)]['injectTemplateModule'](g['className'],f,i);}catch(j){Log[o(0x163)](j);}});
@@ -1 +1 @@
1
- const a114l=a114d;(function(a,b){const i=a114d,c=a();while(!![]){try{const d=parseInt(i(0x201))/0x1*(-parseInt(i(0x1f7))/0x2)+parseInt(i(0x1fa))/0x3+-parseInt(i(0x1f9))/0x4+parseInt(i(0x207))/0x5*(parseInt(i(0x1fb))/0x6)+parseInt(i(0x216))/0x7+parseInt(i(0x214))/0x8+-parseInt(i(0x20f))/0x9*(parseInt(i(0x1ff))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x20002));function a114c(){const o=['66CSrCIr','dev','815300UedZdm','618003FjKaVj','6QXXxOe','resourceName','isDocker','config/process.env','10hzTUhF','error','4241vJhAAj','template','ubuntu','apply','(((.+)+)+)+$','toString','1009725PIqFMD','maka\x20g:config\x20production','config/pm2.config.js','maka\x20{generate,\x20g}:{config}\x20<name>','process.env','constructor','Generate\x20configuration\x20settings.','search','2915982cVUfCJ','settings.json','pm2.config.js','production','development','1475952VxgIsn','local','1444870draRhl','fsi','create','config','withValue','appName','config/settings.json','pathFromProject'];a114c=function(){return o;};return a114c();}const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a114d;if(c){const e=c[j(0x204)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const k=a114d;return a114a[k(0x206)]()[k(0x20e)](k(0x205))['toString']()[k(0x20c)](a114a)[k(0x20e)](k(0x205));});a114a();import{Generator}from'../generator.js';function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x1f4;let f=c[d];return f;},a114d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a114l(0x218)]({'name':a114l(0x219),'usage':a114l(0x20a),'shortDesc':a114l(0x20d),'validOpts':[a114l(0x1fd)],'examples':[a114l(0x208)]},async function(a,b){const m=a114l;try{const c=this[m(0x217)]['getMakaProjectConfig']();await this['fsi'][m(0x21a)](c,async()=>{const n=m,d={'app':c[n(0x1f4)],'appFileCase':paramCase(c[n(0x1f4)]),'name':pascalCase(b[n(0x1fc)]),'fileName':paramCase(b[n(0x1fc)]),'camelCase':camelCase(b[n(0x1fc)]),'userName':n(0x203),'isDocker':b[n(0x1fd)]};let e=b['resourceName'];if(e===n(0x1f8))e=n(0x213);else e==='prod'&&(e=n(0x212));const f=this[n(0x217)]['pathFromProject']({'pathParts':['config',e,n(0x210)]});await this[n(0x217)]['template']({'srcPath':n(0x1f5),'destPath':f,'context':d,'config':c});if(e!==n(0x215)){const g=this[n(0x217)][n(0x1f6)]({'pathParts':[n(0x219),e,n(0x211)]});await this[n(0x217)][n(0x202)]({'srcPath':n(0x209),'destPath':g,'context':{'app':c[n(0x1f4)],'isDocker':b[n(0x1fd)]||![]},'config':c});}if(e===n(0x215)){const h=this['fsi'][n(0x1f6)]({'pathParts':['config',e,n(0x20b)]});await this['fsi']['template']({'srcPath':n(0x1fe),'destPath':h,'context':d,'config':c});}});}catch(d){Log[m(0x200)](d);}});
1
+ const a113m=a113d;(function(a,b){const j=a113d,c=a();while(!![]){try{const d=-parseInt(j(0x186))/0x1+parseInt(j(0x185))/0x2+-parseInt(j(0x18b))/0x3*(parseInt(j(0x190))/0x4)+parseInt(j(0x17c))/0x5*(-parseInt(j(0x187))/0x6)+-parseInt(j(0x177))/0x7+parseInt(j(0x18c))/0x8*(-parseInt(j(0x18e))/0x9)+parseInt(j(0x184))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a113c,0x84571));const a113b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a113d;if(c){const e=c[k(0x171)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a113a=a113b(this,function(){const l=a113d;return a113a[l(0x16c)]()[l(0x188)]('(((.+)+)+)+$')[l(0x16c)]()[l(0x175)](a113a)[l(0x188)](l(0x191));});function a113c(){const o=['35INSWNm','fsi','pm2.config.js','config','config/process.env','development','appName','config/settings.json','36327200DHXuTR','35400syKOKd','342134miVPHd','746904AkXzCD','search','prod','local','521067scnAmm','37792WqVsKb','dev','1143KQGYAr','template','8tkeZzq','(((.+)+)+)+$','production','toString','maka\x20g:config\x20production','cfg','resourceName','scaffold','apply','config/pm2.config.js','ubuntu','error','constructor','getMakaProjectConfig','6632549UZVWiR','settings.json','isDocker','pathFromProject','maka\x20{generate,\x20g}:{config}\x20<name>'];a113c=function(){return o;};return a113c();}function a113d(a,b){const c=a113c();return a113d=function(d,e){d=d-0x16c;let f=c[d];return f;},a113d(a,b);}a113a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'config','usage':a113m(0x17b),'shortDesc':'Generate\x20configuration\x20settings.','validOpts':['isDocker'],'examples':[a113m(0x16d)]},async function(a,b){const n=a113m;try{const c=await this[n(0x16e)][n(0x176)](),d={'app':c['appName'],'appFileCase':paramCase(c[n(0x182)]),'name':pascalCase(b['resourceName']),'fileName':paramCase(b[n(0x16f)]),'camelCase':camelCase(b[n(0x16f)]),'userName':n(0x173),'isDocker':b[n(0x179)]};let e=b[n(0x16f)];if(e===n(0x18d))e=n(0x181);else e===n(0x189)&&(e=n(0x192));const f=this['fsi'][n(0x17a)]({'pathParts':[n(0x17f),e,n(0x178)]});await this[n(0x170)][n(0x18f)]({'srcPath':n(0x183),'destPath':f,'context':d,'config':c});if(e!==n(0x18a)){const g=this[n(0x17d)][n(0x17a)]({'pathParts':[n(0x17f),e,n(0x17e)]});await this[n(0x170)][n(0x18f)]({'srcPath':n(0x172),'destPath':g,'context':{'app':c[n(0x182)],'isDocker':b[n(0x179)]||![]},'config':c});}if(e===n(0x18a)){const h=this[n(0x17d)]['pathFromProject']({'pathParts':[n(0x17f),e,'process.env']});await this[n(0x170)][n(0x18f)]({'srcPath':n(0x180),'destPath':h,'context':d,'config':c});}}catch(i){Log[n(0x174)](i);}});
@@ -1 +1 @@
1
- const a115l=a115d;(function(a,b){const i=a115d,c=a();while(!![]){try{const d=parseInt(i(0xd7))/0x1*(-parseInt(i(0xb8))/0x2)+-parseInt(i(0xb9))/0x3+-parseInt(i(0xc5))/0x4*(-parseInt(i(0xaf))/0x5)+-parseInt(i(0xb6))/0x6*(-parseInt(i(0xd5))/0x7)+parseInt(i(0xcb))/0x8*(parseInt(i(0xbf))/0x9)+parseInt(i(0xac))/0xa*(parseInt(i(0xc1))/0xb)+parseInt(i(0xae))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x908b9));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a115d;if(c){const e=c[j(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const k=a115d;return a115a['toString']()[k(0xb7)](k(0xc3))[k(0xda)]()[k(0xca)](a115a)[k(0xb7)](k(0xc3));});a115a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0xa8;let f=c[d];return f;},a115d(a,b);}import{Log}from'../tools/log/log.class.js';function a115c(){const o=['import\x20\x27./register-','server','imports','config.','maka\x20g:dbc\x20geoserver\x20--type=pgsql','sqlite','-dbc\x27;','maka\x20g:dbc\x20todos\x20--type=sqlite','434ponRqs','dbc/config.js','615317ddektZ','fsi','apply','toString','pathFromApp','engines','register-','resourceName','411630Qftukf','conn.','10893936ApcbKe','155kDtOzk','withValue','injectAtEndOfFile','startup','dbc/conn.js','maka\x20g:dbc\x20azure\x20--type=mssql','dir','71070cfHFik','search','2KnGuis','2928072ZRjESX','getMakaProjectConfig','dbc/register-dbc.js','checkNpmPackage','error','type','22716SrZrzB','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','11ZIZiSf','pgsql','(((.+)+)+)+$','create','24460bUsfWU','tsx','index.','template','mssql','constructor','984hewDTo','better-sqlite3'];a115c=function(){return o;};return a115c();}Generator[a115l(0xc4)]({'name':'dbc','usage':a115l(0xc0),'shortDesc':'Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','validOpts':[a115l(0xb5)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a115l(0xbe),'values':[a115l(0xc2),a115l(0xc9),a115l(0xd2)]}],'examples':[a115l(0xd1),a115l(0xb4),a115l(0xd4)]},async function(a,b){const m=a115l;try{const c=await this[m(0xd8)][m(0xba)](),d=paramCase(b['resourceName']),f={'name':pascalCase(b[m(0xab)]),'fileName':paramCase(b[m(0xab)]),'camelCase':camelCase(b[m(0xab)]),'type':b[m(0xbe)],'engine':c['engines']['js'],'noRename':!![]};await this['fsi'][m(0xb0)](c,async()=>{const n=m;let g='js';c[n(0xa9)]['js']===n(0xc6)&&(g='ts');b[n(0xbe)]===n(0xc2)&&await this['fsi'][n(0xbc)]('pg',{'shouldInstall':!![]});b['type']===n(0xc9)&&await this[n(0xd8)][n(0xbc)]('mssql',{'shouldInstall':!![]});b[n(0xbe)]==='sqlite'&&await this[n(0xd8)][n(0xbc)](n(0xcc),{'shouldInstall':!![]});await this[n(0xd8)]['template']({'srcPath':n(0xd6),'destPath':this[n(0xd8)][n(0xa8)]({'pathParts':[n(0xcf),'startup','server','dbc',b[n(0xb5)],d,n(0xd0)+g]}),'context':f,'config':c}),await this[n(0xd8)][n(0xc8)]({'srcPath':n(0xb3),'destPath':this[n(0xd8)][n(0xa8)]({'pathParts':[n(0xcf),n(0xb2),n(0xce),'dbc',b[n(0xb5)],d,n(0xad)+g]}),'context':f,'config':c}),await this[n(0xd8)]['template']({'srcPath':n(0xbb),'destPath':this[n(0xd8)][n(0xa8)]({'pathParts':['imports','startup',n(0xce),n(0xaa)+d+'-dbc.'+g]}),'context':f,'config':c});const h=this[n(0xd8)][n(0xa8)]({'pathParts':[n(0xcf),n(0xb2),n(0xce),n(0xc7)+c[n(0xa9)]['js']]});await this[n(0xd8)][n(0xb1)]({'filePath':h,'content':n(0xcd)+d+n(0xd3)});});}catch(g){Log[m(0xbd)](g);}});
1
+ const a114n=a114d;function a114d(a,b){const c=a114c();return a114d=function(d,e){d=d-0x1be;let f=c[d];return f;},a114d(a,b);}(function(a,b){const k=a114d,c=a();while(!![]){try{const d=-parseInt(k(0x1e1))/0x1+-parseInt(k(0x1c4))/0x2+parseInt(k(0x1e3))/0x3*(-parseInt(k(0x1cd))/0x4)+-parseInt(k(0x1ce))/0x5+-parseInt(k(0x1c8))/0x6+parseInt(k(0x1bf))/0x7*(-parseInt(k(0x1d1))/0x8)+parseInt(k(0x1d2))/0x9*(parseInt(k(0x1c7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a114c,0x402c1));function a114c(){const p=['101322SltVJw','startup','dir','search','pkg','getMakaProjectConfig','toString','1811887nftqwQ','checkNpmPackage','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','register-','pgsql','360294WTwdTR','injectAtEndOfFile','maka\x20g:dbc\x20geoserver\x20--type=pgsql','270oVleTP','1381152UbplEC','scaffold','pathFromApp','create','apply','12Scsbce','1422810PsUFlj','cfg','error','8HPatHp','456444oDvbUd','mssql','type','dbc','tsx','imports','index.','import\x20\x27./register-','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','(((.+)+)+)+$','sqlite','template','engines','dbc/config.js','resourceName','51419naeQSI','server'];a114c=function(){return p;};return a114c();}const a114b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a114d;if(c){const e=c[l(0x1cc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a114a=a114b(this,function(){const m=a114d;return a114a[m(0x1be)]()['search'](m(0x1db))[m(0x1be)]()['constructor'](a114a)[m(0x1e6)](m(0x1db));});a114a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a114n(0x1cb)]({'name':a114n(0x1d5),'usage':a114n(0x1c1),'shortDesc':a114n(0x1da),'validOpts':[a114n(0x1e5)],'mustBeInMakaProject':!![],'requiredOpts':[{'name':a114n(0x1d4),'values':[a114n(0x1c3),'mssql',a114n(0x1dc)]}],'examples':[a114n(0x1c6),'maka\x20g:dbc\x20azure\x20--type=mssql','maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const o=a114n;try{const c=await this[o(0x1cf)][o(0x1e8)](),d=paramCase(b['resourceName']),f={'name':pascalCase(b[o(0x1e0)]),'fileName':paramCase(b[o(0x1e0)]),'camelCase':camelCase(b[o(0x1e0)]),'type':b['type'],'engine':c[o(0x1de)]['js'],'noRename':!![]},g=b['dir']?'/'+b[o(0x1e5)]+'/':'/';let h='js';c[o(0x1de)]['js']===o(0x1d6)&&(h='ts');b[o(0x1d4)]==='pgsql'&&await this[o(0x1e7)][o(0x1c0)]('pg',{'shouldInstall':!![]});b[o(0x1d4)]==='mssql'&&await this[o(0x1e7)]['checkNpmPackage'](o(0x1d3),{'shouldInstall':!![]});b['type']==='sqlite'&&await this[o(0x1e7)][o(0x1c0)]('better-sqlite3',{'shouldInstall':!![]});await this[o(0x1c9)][o(0x1dd)]({'srcPath':o(0x1df),'destPath':this[o(0x1c9)][o(0x1ca)]({'pathParts':['imports',o(0x1e4),o(0x1e2),'dbc',g,d,'config.'+h]}),'context':f,'config':c}),await this[o(0x1c9)]['template']({'srcPath':'dbc/conn.js','destPath':this[o(0x1c9)][o(0x1ca)]({'pathParts':['imports',o(0x1e4),o(0x1e2),'dbc',g,d,'conn.'+h]}),'context':f,'config':c}),await this[o(0x1c9)][o(0x1dd)]({'srcPath':'dbc/register-dbc.js','destPath':this[o(0x1c9)]['pathFromApp']({'pathParts':[o(0x1d7),o(0x1e4),o(0x1e2),o(0x1c2)+d+'-dbc.'+h]}),'context':f,'config':c});const i=this[o(0x1c9)][o(0x1ca)]({'pathParts':[o(0x1d7),o(0x1e4),'server',o(0x1d8)+c[o(0x1de)]['js']]});await this[o(0x1c9)][o(0x1c5)]({'filePath':i,'content':o(0x1d9)+d+'-dbc\x27;'});}catch(j){Log[o(0x1d0)](j);}});
@@ -1 +1 @@
1
- const a116k=a116d;function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x148;let f=c[d];return f;},a116d(a,b);}(function(a,b){const h=a116d,c=a();while(!![]){try{const d=-parseInt(h(0x156))/0x1+-parseInt(h(0x15c))/0x2*(-parseInt(h(0x14f))/0x3)+parseInt(h(0x14c))/0x4*(-parseInt(h(0x155))/0x5)+-parseInt(h(0x166))/0x6*(parseInt(h(0x15f))/0x7)+parseInt(h(0x153))/0x8*(parseInt(h(0x15e))/0x9)+parseInt(h(0x14a))/0xa*(parseInt(h(0x14b))/0xb)+-parseInt(h(0x151))/0xc*(-parseInt(h(0x167))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x2a1fb));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a116d;if(c){const e=c[i(0x165)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const j=a116d;return a116a[j(0x15b)]()['search']('(((.+)+)+)+$')[j(0x15b)]()['constructor'](a116a)[j(0x148)]('(((.+)+)+)+$');});a116a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a116e from'path';function a116c(){const n=['Dockerfile','4628328oxOcMV','cert','48ArsOkb','findProjectDirectory','55855PsYRbr','253386jhbmwC','template','fsi','maka\x20{generate,\x20g}:dockerfile','error','toString','502116eXevbY','getMakaProjectConfig','233271tOEbry','10339NgMqVS','dockerfile','appName','create','Generate\x20an\x20updated\x20dockerfile','force','apply','1074sCvoAW','13llseii','app.tar.gz','withValue','search','build','1840KXwTVK','583sRJprd','40ClLkip','app','join','3tELBoz'];a116c=function(){return n;};return a116c();}Generator[a116k(0x162)]({'name':a116k(0x160),'usage':a116k(0x159),'shortDesc':a116k(0x163),'validOpts':[{'name':a116k(0x164),'boolFlag':!![]}],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(a,b){const l=a116k;try{const c=await this[l(0x158)][l(0x15d)](),d=await this[l(0x158)]['getGlobalConfig'](),f=this[l(0x158)][l(0x154)]();await this[l(0x158)][l(0x169)](c,async()=>{const m=l,g={'app':d[m(0x161)],'config':c,'appPath':a116e[m(0x14e)](f,m(0x14d)),'bundlePath':a116e[m(0x14e)](f,m(0x149),m(0x168)),'useCert':this[m(0x158)]['isFile'](d[m(0x152)])};await this[m(0x158)][m(0x157)]({'srcPath':'docker/Dockerfile','destPath':a116e[m(0x14e)](f,m(0x150)),'framework':'service','context':g,'config':c,'force':b['force']});});}catch(g){Log[l(0x15a)](g);}});
1
+ const a115l=a115d;(function(a,b){const i=a115d,c=a();while(!![]){try{const d=parseInt(i(0xfc))/0x1*(parseInt(i(0xf6))/0x2)+-parseInt(i(0x102))/0x3+-parseInt(i(0xef))/0x4*(parseInt(i(0x101))/0x5)+parseInt(i(0x106))/0x6*(parseInt(i(0xf4))/0x7)+-parseInt(i(0x10a))/0x8*(-parseInt(i(0x10b))/0x9)+parseInt(i(0x107))/0xa*(parseInt(i(0x109))/0xb)+parseInt(i(0xf8))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0xab5e3));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a115d;if(c){const e=c[j(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const k=a115d;return a115a[k(0xec)]()['search'](k(0xfe))[k(0xec)]()[k(0xf0)](a115a)[k(0x100)](k(0xfe));});function a115c(){const n=['Dockerfile','1039008aMCaMA','template','findProjectDirectory','cfg','31997BMaBBG','fsi','(((.+)+)+)+$','apply','search','1427740gzXMPJ','1492836lQoTvf','join','build','app','22278pblhCH','150XdlyQA','isFile','288057hmkcBA','136ytjyzm','981kWrEPI','service','appName','Generate\x20an\x20updated\x20dockerfile','toString','dockerfile','getGlobalConfig','8paGfGf','constructor','force','docker/Dockerfile','scaffold','1526IRWiYE','error','30oSUfRg'];a115c=function(){return n;};return a115c();}a115a();function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0xeb;let f=c[d];return f;},a115d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a115e from'path';Generator['create']({'name':a115l(0xed),'usage':'maka\x20{generate,\x20g}:dockerfile','shortDesc':a115l(0xeb),'validOpts':[{'name':a115l(0xf1),'boolFlag':!![]}],'noNeedResource':!![],'examples':['maka\x20g:dockerfile']},async function(a,b){const m=a115l;try{const c=await this[m(0xfb)]['getMakaProjectConfig'](),d=await this[m(0xfb)][m(0xee)](),f=this[m(0xfd)][m(0xfa)](),g={'app':c[m(0x10d)],'config':c,'appPath':a115e[m(0x103)](f,m(0x105)),'bundlePath':a115e['join'](f,m(0x104),'app.tar.gz'),'useCert':d['cert']?this[m(0xfd)][m(0x108)](d['cert']):![]};await this[m(0xf3)][m(0xf9)]({'srcPath':m(0xf2),'destPath':a115e['join'](f,m(0xf7)),'framework':m(0x10c),'context':g,'config':c,'force':b[m(0xf1)]});}catch(h){Log[m(0xf5)](h);}});
@@ -1 +1 @@
1
- const a117n=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=parseInt(l(0x18c))/0x1*(parseInt(l(0x15a))/0x2)+-parseInt(l(0x15b))/0x3*(-parseInt(l(0x16c))/0x4)+-parseInt(l(0x188))/0x5+-parseInt(l(0x190))/0x6*(parseInt(l(0x16d))/0x7)+parseInt(l(0x15c))/0x8+parseInt(l(0x16e))/0x9+-parseInt(l(0x185))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x522a0));const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const m=a117d;return a117a[m(0x17b)]()['search'](m(0x173))[m(0x17b)]()[m(0x18b)](a117a)[m(0x193)]('(((.+)+)+)+$');});a117a();import a117e from'path';import{paramCase,pascalCase,camelCase}from'change-case';import{Generator}from'../generator.js';function a117c(){const q=['className','@apollo/client\x20isomorphic-fetch','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','engines','layouts','pathFromApp','graphql','injectTemplateModule','true','.css','theme','template','1093732ftlmVF','80269hwoMMO','3771135mwNgfg','force','setTemplate','hooks','warn','(((.+)+)+)+$','css','react','string','baseDir','apollo','test','error','toString','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','fileName','create','withTranslations','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','hook','dir','cssCaseName','injectAtBeginningOfFile','10881670jMjbSx','hook/hook.js','fsi','968110FDfRkz','checkNpmPackage','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','constructor','192757bbJyZi','import\x20\x27./','template/template.css','/imports/ui/','270Yaeuaf','maka\x20g:hook\x20cool-hook','assign','search','.app-tests.js','getMakaProjectConfig','6SiVxZZ','6uOqgjU','4721568zkFqXV','resourceName','pages','relative'];a117c=function(){return q;};return a117c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x15a;let f=c[d];return f;},a117d(a,b);}Generator[a117n(0x17e)]({'name':a117n(0x181),'aliases':['h'],'checkWhere':![],'usage':a117n(0x180),'shortDesc':a117n(0x162),'validOpts':[{'name':a117n(0x177),'values':[a117n(0x171),'components',a117n(0x15e),a117n(0x164)]},{'name':a117n(0x16f),'boolFlag':!![]}],'examples':[a117n(0x191)],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const o=a117n;Log['notice']('Creating\x20'+b[o(0x15d)]+'\x20hook...');try{const c=this['fsi'][o(0x189)](o(0x175));if(!c){Log[o(0x17a)](o(0x17c));throw new UsageError();}const d=this[o(0x187)]['findAppDirectory'](),f=b[o(0x177)]?o(0x18f)+b['baseDir']:'/imports/ui/components',g=this[o(0x187)][o(0x165)]({'pathParts':[f,b[o(0x182)],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),h=await this['fsi'][o(0x195)]();await this[o(0x187)]['withValue'](h,async()=>{const p=o;typeof h['template'][p(0x174)]===p(0x176)&&(h[p(0x16b)][p(0x174)]=h['template']['css']===p(0x168)?!![]:![],this[p(0x187)][p(0x170)]('css',h[p(0x16b)]['css']));h['engines'][p(0x166)]===p(0x178)&&!this[p(0x187)][p(0x189)]('@apollo/client')&&(Log[p(0x172)](p(0x18a)),await this[p(0x187)]['installNpmPackage'](p(0x161),{'cwd':d}));const i={'cssCaseName':paramCase(b[p(0x15d)]),'camelCaseName':camelCase(b[p(0x15d)]),'className':pascalCase(b[p(0x15d)]),'name':pascalCase(b['resourceName']),'graphql':h['engines']['graphql'],'theme':h[p(0x163)][p(0x16a)],'features':h['features'],'myPath':a117e[p(0x15f)](this[p(0x187)]['pathFromProject']({}),g),'fileName':paramCase(b[p(0x15d)]),'isComponent':![],'isLayout':![],'withTranslations':h['features'][p(0x17f)]};await this[p(0x187)][p(0x16b)]({'srcPath':p(0x186),'destPath':g+'.js','context':i,'config':h,'framework':'react','force':b[p(0x16f)]});h[p(0x16b)][p(0x174)]&&(await this['fsi'][p(0x16b)]({'srcPath':p(0x18e),'destPath':g+p(0x169),'context':Object[p(0x192)]({},i,{'className':i[p(0x183)]}),'config':h,'force':b[p(0x16f)]}),await this[p(0x187)][p(0x184)]({'filePath':g+'.'+h[p(0x163)]['js'],'content':p(0x18d)+i[p(0x17d)]+'.'+h[p(0x163)]['css']+'\x27;'}));h[p(0x163)][p(0x179)]!=='none'&&await this['fsi'][p(0x16b)]({'srcPath':'test/test.js','destPath':g+p(0x194),'framework':p(0x175),'context':i,'config':h,'force':b[p(0x16f)]});const j=b[p(0x182)]?'/'+b[p(0x182)]+'/':'/',k=''+f+j+i['fileName']+'/'+i[p(0x17d)];await this[p(0x187)][p(0x167)](i[p(0x160)],h,k);});}catch(i){Log['error'](i);}});
1
+ const a116n=a116d;(function(a,b){const l=a116d,c=a();while(!![]){try{const d=-parseInt(l(0xce))/0x1*(parseInt(l(0xc4))/0x2)+parseInt(l(0xd1))/0x3+-parseInt(l(0xb7))/0x4*(-parseInt(l(0xc2))/0x5)+parseInt(l(0xd8))/0x6*(-parseInt(l(0xd5))/0x7)+parseInt(l(0xb2))/0x8+-parseInt(l(0xb8))/0x9*(-parseInt(l(0xca))/0xa)+parseInt(l(0xd4))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xe4b71));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const m=a116d;return a116a['toString']()['search'](m(0xcf))[m(0xbc)]()[m(0xbb)](a116a)[m(0xc7)](m(0xcf));});a116a();import a116e from'path';import{paramCase,pascalCase,camelCase}from'change-case';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0xa5;let f=c[d];return f;},a116d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a116c(){const p=['pkg','string','.app-tests.js','none','theme','70CaOEDE','import\x20\x27./','16358NiqYrQ','@apollo/client','cssCaseName','search','injectTemplateModule','findProjectDirectory','20AsWAcU','.js','resourceName','maka\x20g:hook\x20cool-hook','163slkhLB','(((.+)+)+)+$','graphql','2416848jDDYDH','setTemplate','dir','2364032dbQJfG','52913TEprjl','react','pages','1374pzCZRo','assign','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','scaffold','hook','engines','notice','force','apollo','layouts','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','fileName','relative','features','template','@apollo/client\x20isomorphic-fetch','6225672FoMSco','injectAtBeginningOfFile','baseDir','css','fsi','368892nLYitK','4100157dXvNug','components','test/test.js','constructor','toString'];a116c=function(){return p;};return a116c();}Generator['create']({'name':a116n(0xa6),'aliases':['h'],'checkWhere':![],'usage':a116n(0xda),'shortDesc':a116n(0xac),'validOpts':[{'name':a116n(0xb4),'values':['hooks',a116n(0xb9),a116n(0xd7),a116n(0xab)]},{'name':a116n(0xa9),'boolFlag':!![]}],'examples':[a116n(0xcd)],'description':'\x0a\x20\x20Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html\x0a\x0a\x20\x20If\x20you\x27d\x20like\x20a\x20hook\x20created\x20as\x20part\x20of\x20an\x20existing\x20page,\x20component,\x20or\x20layout,\x0a\x20\x20use\x20the\x20maka\x20g:hook\x20command\x20with\x20the\x20--baseDir\x20option.\x20For\x20example,\x0a\x0a\x20\x20\x20\x20maka\x20g:hook\x20--baseDir=pages\x20myPage/useCoolHook\x0a\x0a\x20\x20will\x20create\x20a\x20hook\x20in\x20imports/ui/pages/my-page/use-cool-hook.jsx\x0a\x0a\x20\x20'},async function(a,b){const o=a116n;Log[o(0xa8)]('Creating\x20'+b['resourceName']+'\x20hook...');try{await this[o(0xbd)]['checkNpmPackage']('react',{'shouldInstall':!![]});const c=this['fsi']['findAppDirectory'](),d=b[o(0xb4)]?'/imports/ui/'+b[o(0xb4)]:'/imports/ui/components',f=this[o(0xa5)]['pathFromApp']({'pathParts':[d,b['dir'],paramCase(b[o(0xcc)]),paramCase(b['resourceName'])]}),g=await this['cfg']['getMakaProjectConfig']();typeof g['template'][o(0xb5)]===o(0xbe)&&this['cfg'][o(0xd2)](o(0xb5),g['template']['css']);g[o(0xa7)][o(0xd0)]===o(0xaa)&&!this[o(0xbd)]['checkNpmPackage'](o(0xc5))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[o(0xbd)]['installNpmPackage'](o(0xb1),{'cwd':c}));const h={'cssCaseName':paramCase(b[o(0xcc)]),'camelCaseName':camelCase(b[o(0xcc)]),'className':pascalCase(b[o(0xcc)]),'name':pascalCase(b['resourceName']),'graphql':g[o(0xa7)][o(0xd0)],'theme':g[o(0xa7)][o(0xc1)],'features':g['features'],'myPath':a116e[o(0xae)](this[o(0xb6)][o(0xc9)](),f),'fileName':paramCase(b[o(0xcc)]),'isComponent':![],'isLayout':![],'withTranslations':g[o(0xaf)]['withTranslations']};await this['scaffold'][o(0xb0)]({'srcPath':'hook/hook.js','destPath':f+o(0xcb),'context':h,'config':g,'framework':'react','force':b['force']});g['template'][o(0xb5)]&&(await this[o(0xa5)][o(0xb0)]({'srcPath':'template/template.css','destPath':f+'.css','context':Object[o(0xd9)]({},h,{'className':h[o(0xc6)]}),'config':g,'force':b[o(0xa9)]}),await this[o(0xa5)][o(0xb3)]({'filePath':f+'.'+g[o(0xa7)]['js'],'content':o(0xc3)+h['fileName']+'.'+g[o(0xa7)][o(0xb5)]+'\x27;'}));g[o(0xa7)]['test']!==o(0xc0)&&await this[o(0xa5)][o(0xb0)]({'srcPath':o(0xba),'destPath':f+o(0xbf),'framework':o(0xd6),'context':h,'config':g,'force':b[o(0xa9)]});const i=b['dir']?'/'+b[o(0xd3)]+'/':'/',j=''+d+i+h[o(0xad)]+'/'+h[o(0xad)];await this[o(0xa5)][o(0xc8)](h['className'],g,j);}catch(k){Log['error'](k);}});
@@ -1 +1 @@
1
- function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0xf4;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0xf6))/0x1+-parseInt(f(0xf5))/0x2+parseInt(f(0xf8))/0x3+parseInt(f(0xfa))/0x4*(parseInt(f(0x101))/0x5)+parseInt(f(0xf9))/0x6*(-parseInt(f(0xfd))/0x7)+parseInt(f(0xff))/0x8+parseInt(f(0xf4))/0x9*(-parseInt(f(0xfe))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x73b10));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0xf7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0xfb)]()[h(0x102)](h(0xfc))['toString']()[h(0x100)](a118a)[h(0x102)]('(((.+)+)+)+$');});a118a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';function a118c(){var i=['2691783IJbKqh','1824122OEXale','376655iyyGXp','apply','1614909qyYzuw','18tTfJXI','1201388VLZczh','toString','(((.+)+)+)+$','358029bxigfQ','10DkYppr','6206176eZnPLM','constructor','15SkViCc','search'];a118c=function(){return i;};return a118c();}
1
+ (function(a,b){var f=a117d,c=a();while(!![]){try{var d=parseInt(f(0xff))/0x1*(-parseInt(f(0xf8))/0x2)+-parseInt(f(0xfb))/0x3+-parseInt(f(0xf6))/0x4+parseInt(f(0xf1))/0x5*(parseInt(f(0xf3))/0x6)+-parseInt(f(0xfc))/0x7*(parseInt(f(0x100))/0x8)+-parseInt(f(0xf5))/0x9+-parseInt(f(0xfa))/0xa*(-parseInt(f(0xf4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xcbf3b));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a[h(0xf9)]()[h(0xf7)](h(0xfe))['toString']()[h(0xfd)](a117a)[h(0xf7)](h(0xfe));});function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0xf1;var f=c[d];return f;},a117d(a,b);}a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';function a117c(){var i=['search','384312rsBbix','toString','3421670dLBdBM','672615bYYZmB','416675GaEDuJ','constructor','(((.+)+)+)+$','1qHaCvi','112pheorJ','1700210OArFoy','apply','18LxoWly','88uiJINY','129042ikXotV','6632104TfICAg'];a117c=function(){return i;};return a117c();}
@@ -1 +1 @@
1
- (function(a,b){var f=a119d,c=a();while(!![]){try{var d=parseInt(f(0x1c5))/0x1*(parseInt(f(0x1cc))/0x2)+parseInt(f(0x1cf))/0x3*(-parseInt(f(0x1cb))/0x4)+parseInt(f(0x1d0))/0x5+parseInt(f(0x1c8))/0x6+parseInt(f(0x1c4))/0x7*(parseInt(f(0x1ca))/0x8)+-parseInt(f(0x1cd))/0x9+-parseInt(f(0x1c6))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x95736));function a119d(a,b){var c=a119c();return a119d=function(d,e){d=d-0x1c4;var f=c[d];return f;},a119d(a,b);}var a119b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a119d;if(c){var e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){var h=a119d;return a119a[h(0x1c9)]()[h(0x1c7)](h(0x1d2))['toString']()[h(0x1ce)](a119a)[h(0x1c7)](h(0x1d2));});a119a();function a119c(){var i=['constructor','9867gzRbKd','108285bbjOGV','apply','(((.+)+)+)+$','28fGRPhb','165245kxEusO','19865560mOqfdZ','search','6915156aaMCDK','toString','2260744MpxImG','172ZEHXSG','12wMbSYV','5003028cPbrpA'];a119c=function(){return i;};return a119c();}import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x12c;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x138))/0x1+parseInt(f(0x137))/0x2*(parseInt(f(0x12d))/0x3)+parseInt(f(0x134))/0x4+-parseInt(f(0x131))/0x5*(-parseInt(f(0x13a))/0x6)+-parseInt(f(0x133))/0x7*(parseInt(f(0x13b))/0x8)+parseInt(f(0x136))/0x9*(-parseInt(f(0x12f))/0xa)+parseInt(f(0x132))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x19da3));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x130)]()['search'](h(0x135))['toString']()[h(0x12c)](a118a)[h(0x12e)](h(0x135));});a118a();import'./auth.generator.js';function a118c(){var i=['6czCzpW','search','868520FLWyWf','toString','208495SrXDAM','480744ChUaIq','310037tROTcn','553700rqBgNc','(((.+)+)+)+$','18mFjiQq','115436nJzZTR','140475TViOsQ','apply','24SkOWoz','8GuZELa','constructor'];a118c=function(){return i;};return a118c();}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a120h=a120d;(function(a,b){const f=a120d,c=a();while(!![]){try{const d=parseInt(f(0x7b))/0x1*(parseInt(f(0x69))/0x2)+parseInt(f(0x6a))/0x3*(parseInt(f(0x72))/0x4)+parseInt(f(0x68))/0x5*(parseInt(f(0x6b))/0x6)+parseInt(f(0x74))/0x7*(parseInt(f(0x6c))/0x8)+parseInt(f(0x7d))/0x9+-parseInt(f(0x73))/0xa+parseInt(f(0x6e))/0xb*(-parseInt(f(0x6d))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xd5f5d));function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x68;let f=c[d];return f;},a120d(a,b);}const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const g=a120d;return a120a[g(0x76)]()['search'](g(0x75))['toString']()[g(0x7e)](a120a)[g(0x79)]('(((.+)+)+)+$');});a120a();import{Generator}from'../../../generator.js';import a120e from'../kit.js';function a120c(){const j=['6WzArWs','6UQIHAu','118672pifHZf','4008hkHWzb','87692YGtzDL','NIE','maka\x20g:kit:a','auth','2583948sxhqJE','9322920JJeHly','553EnwCVI','(((.+)+)+)+$','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','search','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','1113463gDNAqA','create','3987459ImBTHq','constructor','2254735JdRUfO','2vAJUmD'];a120c=function(){return j;};return a120c();}const AuthGen=Generator[a120h(0x7c)]({'name':a120h(0x71),'aliases':['a'],'usage':a120h(0x77),'noNeedResource':!![],'shortDesc':a120h(0x7a),'validOpts':[''],'isPro':!![],'examples':[a120h(0x70)],'description':a120h(0x78)},async function(){const i=a120h;throw i(0x6f);},async function(){},a120e);export default AuthGen;
1
+ const a119i=a119d;function a119c(){const k=['auth','create','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','apply','126hGJtUZ','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','444670WQZlWb','1562472WcwMwy','3790647PmSkTH','20BOQTEw','242118QnBiUS','97101GbmQoU','search','(((.+)+)+)+$','maka\x20g:kit:a','54887myLLVz','87669idStXM','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','NIE'];a119c=function(){return k;};return a119c();}(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x19b))/0x1+parseInt(f(0x1a9))/0x2+parseInt(f(0x196))/0x3*(parseInt(f(0x1a8))/0x4)+-parseInt(f(0x1a5))/0x5+-parseInt(f(0x1a3))/0x6*(-parseInt(f(0x19a))/0x7)+parseInt(f(0x1a6))/0x8+-parseInt(f(0x1a7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x35d00));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x19c)]()[h(0x197)](h(0x198))[h(0x19c)]()['constructor'](a119a)[h(0x197)](h(0x198));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator[a119i(0x1a0)]({'name':a119i(0x19f),'aliases':['a'],'usage':a119i(0x19d),'noNeedResource':!![],'shortDesc':a119i(0x1a1),'validOpts':[''],'isPro':!![],'examples':[a119i(0x199)],'description':a119i(0x1a4)},async function(){const j=a119i;throw j(0x19e);},async function(){},a119e);function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x196;let f=c[d];return f;},a119d(a,b);}export default AuthGen;
@@ -1 +1 @@
1
- const a121q=a121d;(function(a,b){const o=a121d,c=a();while(!![]){try{const d=parseInt(o(0xff))/0x1*(-parseInt(o(0x13d))/0x2)+parseInt(o(0x11e))/0x3+parseInt(o(0x103))/0x4+parseInt(o(0x10e))/0x5+-parseInt(o(0x102))/0x6*(parseInt(o(0x10c))/0x7)+-parseInt(o(0x125))/0x8*(parseInt(o(0x12f))/0x9)+parseInt(o(0x120))/0xa*(parseInt(o(0x112))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x41fa8));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const p=a121d;return a121a[p(0x114)]()['search']('(((.+)+)+)+$')[p(0x114)]()['constructor'](a121a)[p(0x13b)](p(0x10f));});function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0xfb;let f=c[d];return f;},a121d(a,b);}a121a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import a121f from'../../../generators/maka.gen.js';function a121c(){const t=['accounts-password','866135irPzIK','(((.+)+)+)+$','fsi','return\x20\x5c(','826199JruMBW','kit:auth:provider','toString','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','react','meteor/accounts-base','publish','authentication-service','startup','checkMeteorPackage','996699rYkBJc','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','10SufprB','authentication-provider','template','meteor/meteor','Meteor.publish','8rpHFzx','const\x20registerNewUser','/imports/startup/lib/authentication-service','/imports/startup/client','injectIntoCodeBlock','injectIntoFile','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','processAndRunGenerator','ssr','const\x20authenticateToken','3296547TIiWTk','const\x20sendForgotPasswordEmail','/imports/startup/client/authentication-service','meteor','error','create','findProjectDirectory','withValue','injectImport','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','pathFromApp','exit','search','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','28IptatE','const\x20resetPasswordWithToken','imports','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','20038wNkcVc','const\x20authenticateUser','meteor/maka:react-tracker','178884FcHXjw','1465232xUHMaC','/imports/startup/lib','export\x20const\x20AuthProvider','force','auth/roles','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','engines','getMakaProjectConfig','alanning:roles','7VrxQTU'];a121c=function(){return t;};return a121c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121q(0x134)]({'name':a121q(0x132),'aliases':['m'],'usage':a121q(0x138),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT']},'description':a121q(0x115)},async function(a,b){const r=a121q;try{const c=b[r(0x106)]||![];await this[r(0x110)][r(0x11d)]([r(0x10d),r(0x10b)],{'shouldInstall':!![]});const d=this[r(0x110)][r(0x135)](),f=this['fsi'][r(0x10a)](),g=f['engines'][r(0x12d)]==='true';await a121f['processAndRunGenerator'](r(0x113),[],{'force':c,'cwd':d,'config':f});const h=await a121f[r(0x12c)](r(0x11a),[r(0x107)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?r(0x104):r(0x128),j=this[r(0x110)][r(0x139)]({'pathParts':[i,'','',r(0x11b)]});await this[r(0x110)][r(0x136)](f,async()=>{const s=r;await this[s(0x110)][s(0x122)]({'srcPath':s(0x117),'destPath':j+'.js','framework':s(0x118),'context':{},'config':f,'force':c,'ignore':![]});});const k=this[r(0x110)][r(0x139)]({'pathParts':[i,'','',r(0x121)]}),l=f[r(0x109)]['js'];await this['fsi'][r(0x137)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?r(0x127):r(0x131),'isNamedExport':![]}),await this[r(0x110)][r(0x129)]({'filePath':k+'.'+l,'content':r(0x12b),'begin':r(0x100),'replace':!![]}),await this[r(0x110)][r(0x129)]({'filePath':k+'.'+l,'content':r(0xfd),'begin':r(0x12e),'replace':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x11f),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this['fsi'][r(0x129)]({'filePath':k+'.'+l,'content':r(0x116),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[r(0x110)][r(0x129)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x130),'replace':!![]}),await this[r(0x110)][r(0x129)]({'filePath':k+'.'+l,'content':r(0x108),'begin':r(0x126),'replace':!![]}),await this['fsi'][r(0x129)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0xfb),'replace':!![]});g&&(await this[r(0x110)][r(0x137)]({'filePath':k+'.'+l,'importName':'useTracker','modulePath':r(0x101),'isNamedExport':!![]}),await this[r(0x110)][r(0x12a)]({'filePath':k+'.'+l,'content':r(0x13c),'begin':r(0x105),'end':r(0x111)}));await this['fsi'][r(0x137)]({'filePath':h,'importName':'Meteor','modulePath':r(0x123),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi'][r(0x129)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x124),'replace':!![]});const m=this[r(0x110)][r(0x139)]({'pathParts':[r(0xfc),r(0x11c),'server','index']});await this[r(0x110)][r(0x137)]({'filePath':m+'.'+l,'importName':'Accounts','modulePath':r(0x119),'isNamedExport':!![]}),await this[r(0x110)][r(0x129)]({'filePath':m+'.'+l,'content':r(0xfe),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[r(0x133)](n),process[r(0x13a)](0x1);}},async function(){},a121e);
1
+ const a120q=a120d;(function(a,b){const o=a120d,c=a();while(!![]){try{const d=-parseInt(o(0x147))/0x1*(-parseInt(o(0x162))/0x2)+-parseInt(o(0x14e))/0x3*(-parseInt(o(0x172))/0x4)+-parseInt(o(0x16b))/0x5*(-parseInt(o(0x16c))/0x6)+-parseInt(o(0x171))/0x7+-parseInt(o(0x16a))/0x8*(-parseInt(o(0x186))/0x9)+-parseInt(o(0x151))/0xa*(parseInt(o(0x174))/0xb)+-parseInt(o(0x187))/0xc*(parseInt(o(0x14b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x46b31));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 p=a120d;return a120a[p(0x146)]()['search'](p(0x164))[p(0x146)]()[p(0x142)](a120a)[p(0x17a)](p(0x164));});a120a();import{Generator}from'../../../generator.js';function a120c(){const s=['443748hHMDKk','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','Accounts','true','2733577gbxYDF','4ZySpuI','engines','11wUUaxs','pkg','ssr','force','startup','alanning:roles','search','scaffold','/imports/startup/lib/authentication-service','Meteor.publish','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','injectIntoFile','publish','/imports/startup/client/authentication-service','imports','meteor','pathFromApp','meteor/meteor','807516JgzImp','6979524ptpfqh','fsi','constructor','meteor/accounts-base','\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','error','toString','3191IIZLyQ','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','const\x20resetPasswordWithToken','auth/roles','13VKBvfb','injectIntoCodeBlock','server','824523XOHItB','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\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','3516610trcyxw','authentication-service','create','getMakaProjectConfig','const\x20registerNewUser','\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','.js','const\x20sendForgotPasswordEmail','meteor/maka:react-tracker','const\x20authenticateToken','const\x20deauthenticateUser','findProjectDirectory','/imports/startup/client','template','Meteor','\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','react','326oHOUZT','kit/auth/service/meteor-auth-service.js','(((.+)+)+)+$','injectImport','\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','useTracker','REACT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','40XkmGXk','25KcPtVA'];a120c=function(){return s;};return a120c();}import{Log}from'../../../tools/log/log.class.js';import a120e from'./auth.generator.js';import a120f from'../../../generators/maka.gen.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x142;let f=c[d];return f;},a120d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120q(0x153)]({'name':a120q(0x183),'aliases':['m'],'usage':a120q(0x16e),'shortDesc':a120q(0x148),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120q(0x168)]},'description':a120q(0x144)},async function(a,b){const r=a120q;try{const c=b[r(0x177)]||![];await this[r(0x175)]['checkMeteorPackage'](['accounts-password',r(0x179)],{'shouldInstall':!![]});const d=this[r(0x188)][r(0x15c)](),f=await this['cfg'][r(0x154)](),g=f[r(0x173)][r(0x176)]===r(0x170);await a120f[r(0x16d)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a120f[r(0x16d)](r(0x180),[r(0x14a)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':r(0x15d),j=this[r(0x17b)]['pathFromApp']({'pathParts':[i,'','',r(0x152)]});await this['scaffold'][r(0x15e)]({'srcPath':r(0x163),'destPath':j+r(0x157),'framework':r(0x161),'context':{},'config':f,'force':c,'ignore':![]});const k=this[r(0x17b)][r(0x184)]({'pathParts':[i,'','','authentication-provider']}),l=f['engines']['js'];await this['scaffold'][r(0x165)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?r(0x17c):r(0x181),'isNamedExport':![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x156),'begin':'const\x20authenticateUser','replace':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x160),'begin':r(0x15a),'replace':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20getUserAuthorizations','replace':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x14f),'begin':r(0x15b),'replace':!![]}),await this[r(0x17b)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x169),'begin':r(0x158),'replace':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x155),'replace':!![]}),await this['scaffold'][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x17e),'begin':r(0x149),'replace':!![]});g&&(await this[r(0x17b)][r(0x165)]({'filePath':k+'.'+l,'importName':r(0x167),'modulePath':r(0x159),'isNamedExport':!![]}),await this[r(0x17b)][r(0x17f)]({'filePath':k+'.'+l,'content':r(0x150),'begin':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this[r(0x17b)]['injectImport']({'filePath':h,'importName':r(0x15f),'modulePath':r(0x185),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][r(0x14c)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x17d),'replace':!![]});const m=this[r(0x17b)][r(0x184)]({'pathParts':[r(0x182),r(0x178),r(0x14d),'index']});await this[r(0x17b)]['injectImport']({'filePath':m+'.'+l,'importName':r(0x16f),'modulePath':r(0x143),'isNamedExport':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':m+'.'+l,'content':r(0x166),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[r(0x145)](n),process['exit'](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- const a122x=a122d;function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0x83;let f=c[d];return f;},a122d(a,b);}(function(a,b){const u=a122d,c=a();while(!![]){try{const d=-parseInt(u(0xa1))/0x1+-parseInt(u(0x88))/0x2*(-parseInt(u(0x95))/0x3)+-parseInt(u(0x99))/0x4+parseInt(u(0xa9))/0x5+-parseInt(u(0x94))/0x6*(parseInt(u(0x98))/0x7)+-parseInt(u(0xa0))/0x8*(parseInt(u(0x85))/0x9)+parseInt(u(0x9e))/0xa*(parseInt(u(0x89))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x31e0a));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const v=a122d;if(c){const e=c[v(0x9a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const w=a122d;return a122a[w(0xad)]()['search'](w(0xaa))['toString']()[w(0xaf)](a122a)[w(0x87)](w(0xaa));});a122a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a122e from'./auth.generator.js';import{headerCase}from'change-case';function a122c(){const A=['/imports/startup/server/index','/imports/startup/lib/authentication-provider','AuthProvider','9080XygooH','fsi','2432376eWxLsJ','256534OxUEJn','force','split','pathFromApp','<AuthProvider>','const\x20useAuth','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','injectAroundString','1015350jkMgYT','(((.+)+)+)+$','useContext','replaceAll','toString','provider','constructor','exit','create','engines','9lxeAin','react','search','2rqirVt','4103QANRAl','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','.js','<AppRoutes\x20/>','injectImport','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','</AuthProvider>','kit/auth/provider/authentication-provider.js','/imports/startup/client/index','template','REACT','2106KtqPGK','1156092tasqlG','/imports/startup/lib','/imports/startup/client/authentication-provider','812owBUDI','486092agzHpn','apply'];a122c=function(){return A;};return a122c();}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a122x(0x83)]({'name':a122x(0xae),'aliases':['p'],'usage':a122x(0xa7),'shortDesc':'Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','validOpts':[a122x(0xa2)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a122x(0x93)]},'description':'\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20'},async function(a,b){const y=a122x;try{const c=b[y(0xa2)]||![];Log['bright']('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=this[y(0x9f)]['getMakaProjectConfig'](),f=d[y(0x84)]['ssr']==='true',g={'name':headerCase(d['appName'])[y(0xac)]('-','\x20')},h=f?y(0x96):'/imports/startup/client',i=this[y(0x9f)]['pathFromApp']({'pathParts':[h,'','','authentication-provider']});await this[y(0x9f)]['withValue'](d,async()=>{const z=y;await this[z(0x9f)][z(0x92)]({'srcPath':z(0x90),'destPath':i+z(0x8b),'framework':z(0x86),'context':g,'config':d,'force':c,'ignore':![]});});const j=d[y(0x84)]['js'],k=h+'/routes',l=k['split']('/'),m=this[y(0x9f)][y(0xa4)]({'pathParts':l});await this[y(0x9f)]['injectImport']({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?'/imports/startup/lib/authentication-provider':y(0x97),'isNamedExport':!![]}),await this[y(0x9f)]['injectImport']({'filePath':m+'.'+j,'importName':y(0xab),'modulePath':y(0x86),'isNamedExport':!![],'injectAtStart':!![]}),await this['fsi']['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x8e),'begin':[y(0xa6),'function\x20useAuth'],'replace':!![]}),await this[y(0x9f)]['injectIntoCodeBlock']({'filePath':m+'.'+j,'content':y(0x8a),'begin':['const\x20PrivateRoute'],'replace':!![]});const n=y(0x91),o=n[y(0xa3)]('/'),p=this['fsi'][y(0xa4)]({'pathParts':o});await this[y(0x9f)][y(0x8d)]({'filePath':p+'.'+j,'importName':y(0x9d),'modulePath':f?y(0x9c):y(0x97),'isNamedExport':!![]}),await this[y(0x9f)][y(0xa8)]({'filePath':p+'.'+j,'aboveContent':y(0xa5),'belowContent':y(0x8f),'targetString':y(0x8c),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=y(0x9b),r=q[y(0xa3)]('/'),s=this[y(0x9f)][y(0xa4)]({'pathParts':r});await this['fsi']['injectImport']({'filePath':s+'.'+j,'importName':y(0x9d),'modulePath':f?y(0x9c):y(0x97),'isNamedExport':!![]}),await this[y(0x9f)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':y(0xa5),'belowContent':y(0x8f),'targetString':'<AppRoutes\x20/>','indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[y(0xb0)](0x1);}},async function(){},a122e);
1
+ const a121w=a121d;function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x10b;let f=c[d];return f;},a121d(a,b);}(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0x118))/0x1+-parseInt(u(0x139))/0x2+parseInt(u(0x12c))/0x3+-parseInt(u(0x13b))/0x4+-parseInt(u(0x11a))/0x5+-parseInt(u(0x137))/0x6*(parseInt(u(0x131))/0x7)+-parseInt(u(0x12f))/0x8*(-parseInt(u(0x12e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x4b246));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const v=a121d;return a121a[v(0x111)]()[v(0x12d)]('(((.+)+)+)+$')[v(0x111)]()[v(0x112)](a121a)[v(0x12d)](v(0x10f));});a121a();function a121c(){const y=['<AuthProvider>','replaceAll','template','engines','create','pathFromApp','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','split','function\x20useAuth','appName','injectIntoCodeBlock','\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','<AppRoutes\x20/>','/imports/startup/lib','scaffold','provider','1518336UPfJnT','search','9kjWFvS','6023768zuVuam','injectImport','742HkLudx','/routes','injectAroundString','/imports/startup/lib/authentication-provider','AuthContext','REACT','2778zsVWGE','react','362792jisgut','</AuthProvider>','1272128jtuYBc','true','cfg','const\x20useAuth','/imports/startup/client/index','(((.+)+)+)+$','getMakaProjectConfig','toString','constructor','authentication-provider','/imports/startup/client/authentication-provider','useContext','/imports/startup/server/index','force','150842XAYhrI','.js','2768185ngthnw'];a121c=function(){return y;};return a121c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0x11f)]({'name':a121w(0x12b),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121w(0x121),'validOpts':[a121w(0x117)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121w(0x136)]},'description':a121w(0x127)},async function(a,b){const x=a121w;try{const c=b['force']||![];Log['bright'](x(0x122));const d=await this[x(0x10c)][x(0x110)](),f=d[x(0x11e)]['ssr']===x(0x10b),g={'name':headerCase(d[x(0x125)])[x(0x11c)]('-','\x20')},h=f?x(0x129):'/imports/startup/client',i=this[x(0x12a)]['pathFromApp']({'pathParts':[h,'','',x(0x113)]});await this['scaffold'][x(0x11d)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+x(0x119),'framework':x(0x138),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+x(0x132),l=k[x(0x123)]('/'),m=this[x(0x12a)]['pathFromApp']({'pathParts':l});await this[x(0x12a)][x(0x130)]({'filePath':m+'.'+j,'importName':x(0x135),'modulePath':f?x(0x134):x(0x114),'isNamedExport':!![]}),await this[x(0x12a)]['injectImport']({'filePath':m+'.'+j,'importName':x(0x115),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][x(0x126)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':[x(0x10d),x(0x124)],'replace':!![]}),await this['scaffold'][x(0x126)]({'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=x(0x10e),o=n[x(0x123)]('/'),p=this[x(0x12a)][x(0x120)]({'pathParts':o});await this[x(0x12a)][x(0x130)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0x134):x(0x114),'isNamedExport':!![]}),await this['scaffold'][x(0x133)]({'filePath':p+'.'+j,'aboveContent':x(0x11b),'belowContent':'</AuthProvider>','targetString':x(0x128),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x116),r=q['split']('/'),s=this[x(0x12a)]['pathFromApp']({'pathParts':r});await this[x(0x12a)][x(0x130)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?x(0x134):x(0x114),'isNamedExport':!![]}),await this[x(0x12a)][x(0x133)]({'filePath':s+'.'+j,'aboveContent':x(0x11b),'belowContent':x(0x13a),'targetString':x(0x128),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- (function(a,b){var f=a123d,c=a();while(!![]){try{var d=parseInt(f(0xc9))/0x1+-parseInt(f(0xca))/0x2*(parseInt(f(0xc0))/0x3)+-parseInt(f(0xc4))/0x4*(-parseInt(f(0xbf))/0x5)+parseInt(f(0xcb))/0x6+parseInt(f(0xc3))/0x7*(parseInt(f(0xbe))/0x8)+parseInt(f(0xbd))/0x9+-parseInt(f(0xc1))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x8f581));function a123c(){var i=['24032510kwdafW','search','7ZnvFdR','289580hYyPqi','constructor','(((.+)+)+)+$','toString','apply','1073395AzwnMo','174sasDbp','1151688pBPXfW','8476524pMVqPy','5585240VoaReb','25mavstt','9549OAKQyJ'];a123c=function(){return i;};return a123c();}var a123b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a123d;if(c){var e=c[g(0xc8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){var h=a123d;return a123a[h(0xc7)]()[h(0xc2)]('(((.+)+)+)+$')[h(0xc7)]()[h(0xc5)](a123a)[h(0xc2)](h(0xc6));});a123a();function a123d(a,b){var c=a123c();return a123d=function(d,e){d=d-0xbd;var f=c[d];return f;},a123d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x1c8))/0x1+parseInt(f(0x1c3))/0x2*(parseInt(f(0x1c9))/0x3)+-parseInt(f(0x1c0))/0x4+-parseInt(f(0x1c2))/0x5+-parseInt(f(0x1c6))/0x6*(-parseInt(f(0x1cb))/0x7)+-parseInt(f(0x1ce))/0x8*(-parseInt(f(0x1cc))/0x9)+parseInt(f(0x1cd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa82a7));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x1ca)]()[h(0x1c4)](h(0x1c5))['toString']()[h(0x1c1)](a122a)[h(0x1c4)](h(0x1c5));});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1c0;var f=c[d];return f;},a122d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';function a122c(){var i=['430503CZzkdU','3080631feReMg','toString','1074451izjZBI','1741041fGIbsJ','866290TDIVlx','40lqUTOD','2685292huPigG','constructor','6523085BDQRRM','2fQjPCI','search','(((.+)+)+)+$','6ewCTia','apply'];a122c=function(){return i;};return a122c();}
@@ -1 +1 @@
1
- const a124h=a124d;(function(a,b){const f=a124d,c=a();while(!![]){try{const d=-parseInt(f(0x165))/0x1*(parseInt(f(0x16b))/0x2)+parseInt(f(0x167))/0x3+-parseInt(f(0x161))/0x4*(-parseInt(f(0x15f))/0x5)+-parseInt(f(0x15a))/0x6*(-parseInt(f(0x159))/0x7)+-parseInt(f(0x162))/0x8+parseInt(f(0x166))/0x9+-parseInt(f(0x15d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xaae48));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const g=a124d;return a124a[g(0x168)]()['search'](g(0x16a))[g(0x168)]()[g(0x16f)](a124a)[g(0x169)](g(0x16a));});a124a();import{Generator}from'../../../generator.js';import a124e from'../kit.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x159;let f=c[d];return f;},a124d(a,b);}const EsriGen=Generator[a124h(0x15e)]({'name':a124h(0x16d),'aliases':['e'],'usage':a124h(0x16c),'noNeedResource':!![],'shortDesc':a124h(0x163),'validOpts':[''],'isPro':!![],'examples':[a124h(0x15c)],'description':a124h(0x164)},async function(){const i=a124h;return{'success':!![],'message':i(0x16e),'details':{'filesCreated':[i(0x160)],'filesUpdated':[i(0x15b)]}};},async function(){},a124e);export default EsriGen;function a124c(){const j=['654437EjIDLN','84baMgCZ','/foo','maka\x20g:kit:e','17456990yFNNGy','create','5070XDOdRb','/foo/bar','8tSBvhf','537544nlvJvS','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','5otPdyo','9445131pYGFHl','921636RNGUSD','toString','search','(((.+)+)+)+$','61882xhbKXi','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','esri','Esri\x20Kit\x20generated\x20successfully','constructor'];a124c=function(){return j;};return a124c();}
1
+ const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x122))/0x1*(-parseInt(f(0x133))/0x2)+-parseInt(f(0x127))/0x3*(-parseInt(f(0x123))/0x4)+parseInt(f(0x12d))/0x5+parseInt(f(0x12a))/0x6+parseInt(f(0x126))/0x7+-parseInt(f(0x128))/0x8+parseInt(f(0x12b))/0x9*(parseInt(f(0x12f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x2a839));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x132)]()[h(0x131)](h(0x130))[h(0x132)]()[h(0x125)](a123a)[h(0x131)](h(0x130));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';function a123c(){const k=['constructor','322105uBFGUL','3kntrxS','1170752GiGQNQ','maka\x20g:kit:e','1083378feYpUy','9tQGgnm','apply','159585YYpgOD','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','993390GmNtnP','(((.+)+)+)+$','search','toString','2VGgcMN','esri','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','122434QwtFyU','340324bUxaBk','/foo/bar'];a123c=function(){return k;};return a123c();}const EsriGen=Generator['create']({'name':a123i(0x134),'aliases':['e'],'usage':a123i(0x121),'noNeedResource':!![],'shortDesc':a123i(0x12e),'validOpts':[''],'isPro':!![],'examples':[a123i(0x129)],'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=a123i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x124)],'filesUpdated':['/foo']}};},async function(){},a123e);function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x121;let f=c[d];return f;},a123d(a,b);}export default EsriGen;
@@ -1 +1 @@
1
- function a125c(){const u=['template','checkNpmPackage','5258tnsAhX','</div>','<div\x20id=\x22map\x22>','336694EfLDkd','Generate\x20an\x20Esri\x20map\x20component','kit/esri/map/','3gNTYPx','FALSE','fsi','constructor','(((.+)+)+)+$','1547184ybMcEo','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','search','getMakaProjectConfig','basic-map','split','true','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','90ykwXML','/imports/ui/hooks','toString','injectTemplateModule','pathFromApp','Generating\x20a\x20map\x20component','REACT','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','error','271290HsyEeH','813252FqbXXz','exit','.js','/imports/startup/client/templates','dir','injectImport','/imports/ui/','appName','282XjrMPC','866068XPYuij','map','8HjkdjV','38245OHnQlG','processAndRunGenerator','create','withValue','1284ydNwxQ'];a125c=function(){return u;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x18e;let f=c[d];return f;},a125d(a,b);}const a125r=a125d;(function(a,b){const p=a125d,c=a();while(!![]){try{const d=-parseInt(p(0x1a7))/0x1*(-parseInt(p(0x1a4))/0x2)+-parseInt(p(0x1ac))/0x3+parseInt(p(0x18e))/0x4+parseInt(p(0x19a))/0x5*(-parseInt(p(0x196))/0x6)+-parseInt(p(0x197))/0x7*(-parseInt(p(0x199))/0x8)+-parseInt(p(0x1b4))/0x9*(-parseInt(p(0x1bd))/0xa)+parseInt(p(0x1a1))/0xb*(parseInt(p(0x19e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x442f3));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const q=a125d;return a125a[q(0x1b6)]()[q(0x1ae)]('(((.+)+)+)+$')['toString']()[q(0x1aa)](a125a)['search'](q(0x1ab));});a125a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a125e from'./esri.generator.js';import a125f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a125r(0x19c)]({'name':a125r(0x198),'aliases':['m'],'usage':a125r(0x1b3),'shortDesc':a125r(0x1a5),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a125r(0x1ba)],'ssr':SsrEngines[a125r(0x1a8)]},'description':a125r(0x1ad)},async function(a,b){const s=a125r;try{Log['bright'](s(0x1b9));const c=s(0x1b0);await this['fsi'][s(0x1a0)](['@esri/react-arcgis','esri-loader'],{'shouldInstall':!![]});const d=this[s(0x1a9)]['findProjectDirectory'](),f=this[s(0x1a9)][s(0x1af)](),g=f['engines']['ssr']===s(0x1b2),h=await a125f[s(0x19b)]('page',['map'],{'cwd':d,'config':f}),i={'name':headerCase(f[s(0x195)])['replaceAll']('-','\x20'),'componentName':pascalCase(c)},j=b['baseDir']?s(0x194)+b['baseDir']:s(0x1b5),k=this[s(0x1a9)][s(0x1b8)]({'pathParts':[j,b[s(0x192)],paramCase(c),paramCase(c)]});await this[s(0x1a9)][s(0x19d)](f,async()=>{const t=s;await this[t(0x1a9)][t(0x19f)]({'srcPath':t(0x1a6)+c+t(0x190),'destPath':k+t(0x190),'framework':'react','context':i,'config':f,'force':![],'ignore':![]});});const l=''+j+b['dir']+'/'+c+'/'+c;await this[s(0x1a9)][s(0x1b7)](c,f,l);const m=h[s(0x1b1)]('/'),n=this[s(0x1a9)][s(0x1b8)]({'pathParts':m});await this['fsi'][s(0x193)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':s(0x191),'isNamedExport':!![]}),await this[s(0x1a9)]['injectIntoFile']({'filePath':n,'content':'\x0a<'+pascalCase(c)+s(0x1bb),'begin':[s(0x1a3),s(0x1a3)],'end':[s(0x1a2)],'replace':!![]});}catch(o){Log[s(0x1bc)](o),process[s(0x18f)](0x1);}},async function(){},a125e);
1
+ const a124s=a124d;(function(a,b){const p=a124d,c=a();while(!![]){try{const d=parseInt(p(0xcf))/0x1+parseInt(p(0xca))/0x2+parseInt(p(0xc0))/0x3+-parseInt(p(0xd4))/0x4*(parseInt(p(0xc2))/0x5)+-parseInt(p(0xb1))/0x6+-parseInt(p(0xb3))/0x7+-parseInt(p(0xc3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x79f7e));function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xa2;let f=c[d];return f;},a124d(a,b);}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a124d;if(c){const e=c[q(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const r=a124d;return a124a['toString']()['search'](r(0xc5))[r(0xcb)]()['constructor'](a124a)['search'](r(0xc5));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124s(0xa6)]({'name':a124s(0xc9),'aliases':['m'],'usage':a124s(0xb8),'shortDesc':a124s(0xb7),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a124s(0xbd)],'ssr':SsrEngines[a124s(0xb5)]},'description':a124s(0xa2)},async function(a,b){const t=a124s;try{Log[t(0xba)](t(0xb9));const c=t(0xab);await this[t(0xc4)]['checkNpmPackage'](['@esri/react-arcgis',t(0xc7)],{'shouldInstall':!![]});const d=this[t(0xbb)][t(0xaf)](),f=await this[t(0xd0)][t(0xa8)](),g=f[t(0xd3)]['ssr']===t(0xb2),h=await a124f[t(0xa9)](t(0xbf),[t(0xc9)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0xb0)])[t(0xac)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0xc6)]?t(0xd2)+b[t(0xc6)]:t(0xb4),k=this['scaffold']['pathFromApp']({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0xaa)][t(0xae)]({'srcPath':t(0xd1)+c+t(0xbc),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});const l=''+j+b[t(0xc1)]+'/'+c+'/'+c;await this['scaffold']['injectTemplateModule'](c,f,l);const m=h[t(0xbe)]('/'),n=this[t(0xaa)][t(0xa3)]({'pathParts':m});await this['scaffold'][t(0xa5)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0xcd):t(0xa4),'isNamedExport':!![]}),await this[t(0xaa)][t(0xce)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0xa7),'begin':[t(0xc8),t(0xc8)],'end':[t(0xcc)],'replace':!![]});}catch(o){Log[t(0xad)](o),process[t(0xb6)](0x1);}},async function(){},a124e);function a124c(){const u=['error','template','findProjectDirectory','appName','987024ZogUTZ','true','6205374lXziGL','/imports/ui/hooks','FALSE','exit','Generate\x20an\x20Esri\x20map\x20component','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','Generating\x20a\x20map\x20component','bright','fsi','.js','REACT','split','page','2546745Razoal','dir','29825HKhujz','1925032tuOsaF','pkg','(((.+)+)+)+$','baseDir','esri-loader','<div\x20id=\x22map\x22>','map','1657042yZApKC','toString','</div>','/imports/startup/lib/templates','injectIntoFile','119726zUNXKq','cfg','kit/esri/map/','/imports/ui/','engines','4ryXGgN','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','pathFromApp','/imports/startup/client/templates','injectImport','create','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','getMakaProjectConfig','processAndRunGenerator','scaffold','basic-map','replaceAll'];a124c=function(){return u;};return a124c();}
@@ -1 +1 @@
1
- function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1ce;let f=c[d];return f;},a126d(a,b);}const a126i=a126d;(function(a,b){const f=a126d,c=a();while(!![]){try{const d=-parseInt(f(0x1d6))/0x1*(-parseInt(f(0x1ce))/0x2)+parseInt(f(0x1d7))/0x3+parseInt(f(0x1d4))/0x4*(-parseInt(f(0x1df))/0x5)+-parseInt(f(0x1d9))/0x6*(parseInt(f(0x1dd))/0x7)+parseInt(f(0x1cf))/0x8+-parseInt(f(0x1d2))/0x9+parseInt(f(0x1db))/0xa*(parseInt(f(0x1d3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x54b7c));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a126d;if(c){const e=c[g(0x1d1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const h=a126d;return a126a[h(0x1e0)]()[h(0x1d8)](h(0x1d0))['toString']()[h(0x1de)](a126a)[h(0x1d8)](h(0x1d0));});function a126c(){const j=['88482dwqlmR','maka\x20g:k','10zPDnaD','kit','189TWQwnR','constructor','5KlpFXz','toString','3710KrGQqk','683944dsMGnG','(((.+)+)+)+$','apply','411777BweqCR','1335851LzkDpM','168196lEKOGu','maka\x20{generate,\x20g}:{kit}\x20<name>','103YgXEwL','1304928iRHPoi','search'];a126c=function(){return j;};return a126c();}a126a();import{Generator}from'../../generator.js';const KitGen=Generator['create']({'name':a126i(0x1dc),'aliases':['k'],'usage':a126i(0x1d5),'shortDesc':'Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':['maka\x20g:kit',a126i(0x1da)]},async function(){});export default KitGen;
1
+ const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0xa1))/0x1*(-parseInt(f(0x9a))/0x2)+parseInt(f(0xaf))/0x3*(-parseInt(f(0xa6))/0x4)+parseInt(f(0x9b))/0x5*(-parseInt(f(0xab))/0x6)+-parseInt(f(0xa4))/0x7+parseInt(f(0xa3))/0x8*(parseInt(f(0xa8))/0x9)+parseInt(f(0xb0))/0xa*(parseInt(f(0xac))/0xb)+parseInt(f(0x9c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x9f8ea));function a125c(){const j=['308722oUCByj','1735eXphuo','20199972QFCICK','constructor','maka\x20{generate,\x20g}:{kit}\x20<name>','(((.+)+)+)+$','toString','1CwlQTz','maka\x20g:kit','389192GZOdyV','5211948Llmhkx','apply','2892yuCqAG','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','117PXZDJv','create','kit','11106PRjRFO','5134789gJcFyv','search','maka\x20g:k','2439OPGtSd','10OKOiPb'];a125c=function(){return j;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x9a;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0xa0)]()[h(0xad)](h(0x9f))[h(0xa0)]()[h(0x9d)](a125a)[h(0xad)](h(0x9f));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0xa9)]({'name':a125i(0xaa),'aliases':['k'],'usage':a125i(0x9e),'shortDesc':a125i(0xa7),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a125i(0xa2),a125i(0xae)]},async function(){});export default KitGen;
@@ -1 +1 @@
1
- (function(a,b){var f=a127d,c=a();while(!![]){try{var d=parseInt(f(0x12e))/0x1+-parseInt(f(0x130))/0x2*(parseInt(f(0x135))/0x3)+parseInt(f(0x133))/0x4*(parseInt(f(0x13a))/0x5)+-parseInt(f(0x13c))/0x6+-parseInt(f(0x139))/0x7+-parseInt(f(0x136))/0x8*(parseInt(f(0x138))/0x9)+parseInt(f(0x132))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x93144));var a127b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a127d;if(c){var e=c[g(0x131)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){var h=a127d;return a127a[h(0x13b)]()['search'](h(0x12f))[h(0x13b)]()[h(0x137)](a127a)[h(0x134)](h(0x12f));});function a127c(){var i=['constructor','34542JewWOF','4566156Slslad','535MtGqwj','toString','6077394tpTYyS','762652XFQpIQ','(((.+)+)+)+$','5064yYQkbD','apply','11103620HDXMDh','43372qXHFiE','search','516JgAyfB','688GrsoqK'];a127c=function(){return i;};return a127c();}a127a();import'./mui.generator.js';function a127d(a,b){var c=a127c();return a127d=function(d,e){d=d-0x12e;var f=c[d];return f;},a127d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x18d;var f=c[d];return f;},a126d(a,b);}(function(a,b){var f=a126d,c=a();while(!![]){try{var d=parseInt(f(0x190))/0x1*(parseInt(f(0x191))/0x2)+parseInt(f(0x19b))/0x3*(parseInt(f(0x198))/0x4)+parseInt(f(0x197))/0x5+-parseInt(f(0x19a))/0x6*(parseInt(f(0x193))/0x7)+parseInt(f(0x195))/0x8*(parseInt(f(0x19d))/0x9)+parseInt(f(0x18e))/0xa*(-parseInt(f(0x192))/0xb)+parseInt(f(0x194))/0xc*(-parseInt(f(0x18f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x22a3a));var a126b=(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;};}()),a126a=a126b(this,function(){var g=a126d;return a126a[g(0x18d)]()[g(0x199)](g(0x196))[g(0x18d)]()[g(0x19c)](a126a)[g(0x199)](g(0x196));});a126a();function a126c(){var h=['22314lGNOyJ','177DGGSdi','constructor','873nhaleA','toString','90TNPnUg','64831ZASxth','1ZWepIH','12170qszvlf','237171agPCOh','483gGfwsx','60gKrvIz','13544TzcTSU','(((.+)+)+)+$','1386845YHHPbP','11512JLMJRH','search'];a126c=function(){return h;};return a126c();}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
@@ -1 +1 @@
1
- const a128I=a128d;(function(a,b){const G=a128d,c=a();while(!![]){try{const d=parseInt(G(0xca))/0x1*(-parseInt(G(0xd6))/0x2)+-parseInt(G(0xc1))/0x3*(parseInt(G(0xd5))/0x4)+parseInt(G(0xc4))/0x5*(-parseInt(G(0xe8))/0x6)+parseInt(G(0xcb))/0x7*(-parseInt(G(0xc0))/0x8)+parseInt(G(0xd0))/0x9*(-parseInt(G(0xef))/0xa)+-parseInt(G(0xc6))/0xb+-parseInt(G(0xfb))/0xc*(-parseInt(G(0xe9))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x9fa7e));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const H=a128d;return a128a[H(0xdd)]()[H(0xdf)](H(0xc3))[H(0xdd)]()['constructor'](a128a)[H(0xdf)](H(0xc3));});a128a();import{Generator}from'../../../generator.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xb3;let f=c[d];return f;},a128d(a,b);}import{Log}from'../../../tools/log/log.class.js';function a128c(){const M=['4kFhjvL','14ZPBBzU','injectImport','pathFromApp','basic-register-page','Cleaning\x20up...','341478VoOjMz','basic-login-page','auth','fsi','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','13080ZELXyx','492410hLnpuj','maka\x20g:k:m:f','reset-password/:token','AuthContext','layouts','route','MATERIAL','toString','injectTemplateModule','search','kit:auth:provider','kit/mui/auth/register/','react','/imports/startup/client/authentication-provider','kit/mui/auth/forgot-password/','kit/mui/auth/password-reset/','REACT','/imports/ui/','2335878OqgFQV','12766PCSssf','logout','findProjectDirectory','basic-password-reset-page','Meteor\x20Accounts','kit:auth:meteor','290tQSwbw','split','appName','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','list','/imports/ui/pages/auth','engines','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','maka\x20generate:kit:mui:frame','baseDir','kit/mui/auth/logout/','log','73452jSnSvx','login','meteor','forgot-password','basic-logout-page','processAndRunGenerator','template','options','force','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','kit/mui/auth/login/','true','basic-forgot-password-page','error','authType','2131280iUYEOD','765goMGZp','dir','(((.+)+)+)+$','10alYmJo','/imports/startup/lib/authentication-provider','12390818NehPhN','custom','ssr','.js'];a128c=function(){return M;};return a128c();}import{Actions}from'../../../tools/actions/actions.class.js';import a128e from'../../../generators/maka.gen.js';import a128f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':a128I(0xd2),'aliases':['a'],'usage':a128I(0xd4),'shortDesc':a128I(0xba),'validOpts':[a128I(0xda),a128I(0xb9)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128I(0xdc)],'client':ClientEngines[a128I(0xe6)]},'examples':[a128I(0xf7),a128I(0xd7)],'description':a128I(0xf2)},async function(a,b){const J=a128I;try{const c=b[J(0xb9)]||![],d=this[J(0xd3)][J(0xeb)](),f=this['fsi']['getMakaProjectConfig'](),{authType:g}=await Actions[J(0xb8)]({'type':J(0xf3),'name':J(0xbf),'message':J(0xf6),'choices':[{'name':J(0xed),'value':'meteor'},{'name':'Custom\x20(roll\x20your\x20own)','value':J(0xc7)}]}),h=J(0xd1),i=J(0xb5),j=J(0xce),k=J(0xec),l=J(0xbd),m=b[J(0xf8)]?J(0xe7)+b['baseDir']:J(0xf4),n=this['fsi'][J(0xcd)]({'pathParts':[m,b[J(0xc2)],paramCase(h),paramCase(h)]}),o=this[J(0xd3)]['pathFromApp']({'pathParts':[m,b[J(0xc2)],paramCase(i),paramCase(i)]}),p=this['fsi']['pathFromApp']({'pathParts':[m,b['dir'],paramCase(j),paramCase(j)]}),q=this['fsi'][J(0xcd)]({'pathParts':[m,b['dir'],paramCase(k),paramCase(k)]}),r=this[J(0xd3)][J(0xcd)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[J(0xf1)])['replaceAll']('-','\x20')};await this[J(0xd3)]['withValue'](f,async()=>{const K=J;await this['fsi']['template']({'srcPath':K(0xbb)+h+K(0xc9),'destPath':n+K(0xc9),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0xd3)][K(0xb7)]({'srcPath':K(0xf9)+i+K(0xc9),'destPath':o+K(0xc9),'framework':K(0xe2),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi']['template']({'srcPath':K(0xe1)+j+K(0xc9),'destPath':p+K(0xc9),'framework':K(0xe2),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0xd3)][K(0xb7)]({'srcPath':K(0xe5)+k+K(0xc9),'destPath':q+K(0xc9),'framework':K(0xe2),'context':s,'config':f,'force':c,'ignore':![]}),await this['fsi'][K(0xb7)]({'srcPath':K(0xe4)+l+K(0xc9),'destPath':r+K(0xc9),'framework':'react','context':s,'config':f,'force':c,'ignore':![]});});const t=''+m+b[J(0xc2)]+'/'+h+'/'+h;await this['fsi'][J(0xde)](h,f,t);const u=''+m+b[J(0xc2)]+'/'+i+'/'+i;await this[J(0xd3)][J(0xde)](i,f,u);const v=''+m+b[J(0xc2)]+'/'+j+'/'+j;await this[J(0xd3)]['injectTemplateModule'](j,f,v);const w=''+m+b['dir']+'/'+k+'/'+k;await this['fsi'][J(0xde)](k,f,w);const x=''+m+b[J(0xc2)]+'/'+l+'/'+l;await this[J(0xd3)][J(0xde)](l,f,x),await a128e['processAndRunGenerator'](J(0xdb),[J(0xd1)],{'route':J(0xfc),'cwd':d,'config':f}),await a128e[J(0xb6)](J(0xdb),['basic-logout-page'],{'route':J(0xea),'private':!![],'cwd':d,'config':f}),await a128e[J(0xb6)]('route',[J(0xce)],{'route':'register','cwd':d,'config':f}),await a128e['processAndRunGenerator']('route',[J(0xec)],{'route':J(0xd8),'cwd':d,'config':f}),await a128e['processAndRunGenerator']('route',[J(0xbd)],{'route':J(0xb4),'cwd':d,'config':f});g===J(0xb3)&&await a128e['processAndRunGenerator'](J(0xee),[],{'force':c,'cwd':d,'config':f});g===J(0xc7)&&await a128e[J(0xb6)](J(0xe0),[],{'force':c,'cwd':d,'config':f});const y=f[J(0xf5)][J(0xc8)]===J(0xbc),z=f['engines']['js'],A=this[J(0xd3)][J(0xcd)]({'pathParts':t['split']('/')});await this[J(0xd3)]['injectImport']({'filePath':A+'.'+z,'importName':J(0xd9),'modulePath':y?J(0xc5):J(0xe3),'isNamedExport':!![]});const B=this['fsi'][J(0xcd)]({'pathParts':u['split']('/')});await this['fsi'][J(0xcc)]({'filePath':B+'.'+z,'importName':J(0xd9),'modulePath':y?J(0xc5):J(0xe3),'isNamedExport':!![]});const C=this[J(0xd3)]['pathFromApp']({'pathParts':v['split']('/')});await this[J(0xd3)][J(0xcc)]({'filePath':C+'.'+z,'importName':J(0xd9),'modulePath':y?J(0xc5):J(0xe3),'isNamedExport':!![]});const D=this[J(0xd3)][J(0xcd)]({'pathParts':w[J(0xf0)]('/')});await this[J(0xd3)][J(0xcc)]({'filePath':D+'.'+z,'importName':J(0xd9),'modulePath':y?J(0xc5):J(0xe3),'isNamedExport':!![]});const E=this[J(0xd3)][J(0xcd)]({'pathParts':x[J(0xf0)]('/')});await this[J(0xd3)][J(0xcc)]({'filePath':E+'.'+z,'importName':J(0xd9),'modulePath':y?'/imports/startup/lib/authentication-provider':J(0xe3),'isNamedExport':!![]});}catch(F){Log[J(0xbe)](F);}},async function(){const L=a128I;console[L(0xfa)](L(0xcf));},a128f);
1
+ const a127J=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(0x1e5))/0x1+-parseInt(G(0x20b))/0x2*(-parseInt(G(0x1d4))/0x3)+parseInt(G(0x1dc))/0x4*(parseInt(G(0x200))/0x5)+-parseInt(G(0x1e6))/0x6*(-parseInt(G(0x213))/0x7)+-parseInt(G(0x1f5))/0x8+-parseInt(G(0x1ec))/0x9+-parseInt(G(0x1db))/0xa*(-parseInt(G(0x202))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x58422));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a127d;if(c){const e=c[H(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const I=a127d;return a127a[I(0x1e2)]()[I(0x1f7)](I(0x1cd))[I(0x1e2)]()[I(0x1df)](a127a)[I(0x1f7)](I(0x1cd));});a127a();import{Generator}from'../../../generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a127d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';function a127c(){const M=['1741648LwDCvV','force','search','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','processAndRunGenerator','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','split','Cleaning\x20up...','appName','.js','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','10dAuoLo','login','566962XpOcpj','injectImport','/imports/startup/client/authentication-provider','Meteor\x20Accounts','basic-forgot-password-page','/imports/startup/lib/authentication-provider','ssr','register','dir','4dotEfJ','kit:auth:meteor','cfg','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-password-reset-page','getMakaProjectConfig','AuthContext','kit/mui/auth/register/','7beXTyX','scaffold','route','basic-login-page','(((.+)+)+)+$','fsi','apply','basic-logout-page','/imports/ui/','replaceAll','custom','751911dbqXFr','layouts','kit/mui/auth/password-reset/','meteor','injectTemplateModule','true','kit/mui/auth/logout/','60FGtOhY','737092IjqvGS','kit/mui/auth/login/','log','constructor','list','maka\x20generate:kit:mui:frame','toString','kit:auth:provider','react','457611HUpEpT','657714gDiKvR','findProjectDirectory','/imports/ui/pages/auth','engines','kit/mui/auth/forgot-password/','auth','2266812OFtUrU','template','pathFromApp','baseDir','logout','basic-register-page','create','authType','error'];a127c=function(){return M;};return a127c();}import a127f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127J(0x1f2)]({'name':a127J(0x1eb),'aliases':['a'],'usage':a127J(0x1f8),'shortDesc':a127J(0x1ff),'validOpts':[a127J(0x1d5),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a127J(0x1e1),'maka\x20g:k:m:f'],'description':a127J(0x20e)},async function(a,b){const K=a127J;try{const c=b[K(0x1f6)]||![],d=this[K(0x1ce)][K(0x1e7)](),f=await this[K(0x20d)][K(0x210)](),{authType:g}=await Actions['options']({'type':K(0x1e0),'name':K(0x1f3),'message':K(0x1fa),'choices':[{'name':K(0x205),'value':'meteor'},{'name':'Custom\x20(roll\x20your\x20own)','value':K(0x1d3)}]}),h=K(0x1cc),i=K(0x1d0),j=K(0x1f1),k=K(0x20f),l=K(0x206),m=b[K(0x1ef)]?K(0x1d1)+b['baseDir']:K(0x1e8),n=this[K(0x214)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x214)][K(0x1ee)]({'pathParts':[m,b[K(0x20a)],paramCase(i),paramCase(i)]}),p=this[K(0x214)][K(0x1ee)]({'pathParts':[m,b[K(0x20a)],paramCase(j),paramCase(j)]}),q=this[K(0x214)]['pathFromApp']({'pathParts':[m,b[K(0x20a)],paramCase(k),paramCase(k)]}),r=this[K(0x214)][K(0x1ee)]({'pathParts':[m,b[K(0x20a)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1fd)])[K(0x1d2)]('-','\x20')};await this[K(0x214)]['template']({'srcPath':K(0x1dd)+h+K(0x1fe),'destPath':n+K(0x1fe),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['scaffold'][K(0x1ed)]({'srcPath':K(0x1da)+i+K(0x1fe),'destPath':o+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x214)][K(0x1ed)]({'srcPath':K(0x212)+j+K(0x1fe),'destPath':p+K(0x1fe),'framework':K(0x1e4),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x214)]['template']({'srcPath':K(0x1d6)+k+'.js','destPath':q+K(0x1fe),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x214)][K(0x1ed)]({'srcPath':K(0x1ea)+l+K(0x1fe),'destPath':r+K(0x1fe),'framework':K(0x1e4),'context':s,'config':f,'force':c,'ignore':![]});const t=''+m+b[K(0x20a)]+'/'+h+'/'+h;await this[K(0x214)][K(0x1d8)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0x214)][K(0x1d8)](i,f,u);const v=''+m+b[K(0x20a)]+'/'+j+'/'+j;await this[K(0x214)][K(0x1d8)](j,f,v);const w=''+m+b[K(0x20a)]+'/'+k+'/'+k;await this[K(0x214)]['injectTemplateModule'](k,f,w);const x=''+m+b[K(0x20a)]+'/'+l+'/'+l;await this[K(0x214)][K(0x1d8)](l,f,x),await a127e['processAndRunGenerator'](K(0x1cb),[K(0x1cc)],{'route':K(0x201),'cwd':d,'config':f}),await a127e[K(0x1f9)](K(0x1cb),[K(0x1d0)],{'route':K(0x1f0),'private':!![],'cwd':d,'config':f}),await a127e[K(0x1f9)]('route',[K(0x1f1)],{'route':K(0x209),'cwd':d,'config':f}),await a127e[K(0x1f9)](K(0x1cb),['basic-password-reset-page'],{'route':'reset-password/:token','cwd':d,'config':f}),await a127e[K(0x1f9)](K(0x1cb),[K(0x206)],{'route':'forgot-password','cwd':d,'config':f});g===K(0x1d7)&&await a127e[K(0x1f9)](K(0x20c),[],{'force':c,'cwd':d,'config':f});g===K(0x1d3)&&await a127e['processAndRunGenerator'](K(0x1e3),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1e9)][K(0x208)]===K(0x1d9),z=f['engines']['js'],A=this['scaffold'][K(0x1ee)]({'pathParts':t[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0x207):K(0x204),'isNamedExport':!![]});const B=this[K(0x214)][K(0x1ee)]({'pathParts':u[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':B+'.'+z,'importName':K(0x211),'modulePath':y?K(0x207):K(0x204),'isNamedExport':!![]});const C=this[K(0x214)][K(0x1ee)]({'pathParts':v['split']('/')});await this[K(0x214)][K(0x203)]({'filePath':C+'.'+z,'importName':K(0x211),'modulePath':y?K(0x207):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this['scaffold']['pathFromApp']({'pathParts':w[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':D+'.'+z,'importName':K(0x211),'modulePath':y?K(0x207):K(0x204),'isNamedExport':!![]});const E=this[K(0x214)][K(0x1ee)]({'pathParts':x[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':E+'.'+z,'importName':K(0x211),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0x1f4)](F);}},async function(){const L=a127J;console[L(0x1de)](L(0x1fc));},a127f);
@@ -1 +1 @@
1
- const a129E=a129d;(function(a,b){const B=a129d,c=a();while(!![]){try{const d=-parseInt(B(0x137))/0x1+-parseInt(B(0x113))/0x2+-parseInt(B(0x107))/0x3*(parseInt(B(0x124))/0x4)+parseInt(B(0x134))/0x5+parseInt(B(0x14c))/0x6*(parseInt(B(0x136))/0x7)+-parseInt(B(0x142))/0x8+parseInt(B(0x108))/0x9*(parseInt(B(0x126))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xe7610));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a129d;if(c){const e=c[C(0x122)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const D=a129d;return a129a[D(0x129)]()[D(0x106)](D(0x139))['toString']()['constructor'](a129a)[D(0x106)](D(0x139));});a129a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x106;let f=c[d];return f;},a129d(a,b);}import a129e from'path';import a129f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a129E(0x132)]({'name':a129E(0x144),'aliases':['f'],'usage':a129E(0x12f),'shortDesc':a129E(0x10b),'validOpts':[a129E(0x11a),a129E(0x13a),'dir',a129E(0x10e)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a129E(0x143)],'client':ClientEngines[a129E(0x11b)]},'examples':[a129E(0x12c),a129E(0x11c)],'description':a129E(0x14a)},async function(a,b){const F=a129E;try{const c=b[F(0x10e)]||![],d='basic-app-bar',f='basic-drawer',g=F(0x116),h=this[F(0x117)][F(0x10f)](),i=h[F(0x13e)][F(0x131)]==='true';await this[F(0x117)][F(0x11f)](['session',F(0x13c)],{'shouldInstall':!![]});const j=this[F(0x117)][F(0x127)](),k=a129e['join'](j,'imports','ui','layouts'),l=this[F(0x117)][F(0x125)](k),m=await Actions[F(0x12b)]({'type':'checkbox','name':'layouts','message':'Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','choices':l});if(m[F(0x11a)]['length']===0x0){Log['error']('No\x20layouts\x20selected');return;}const n=b[F(0x13a)]?'/imports/ui/'+b[F(0x13a)]:'/imports/ui/components',o=this[F(0x117)][F(0x147)]({'pathParts':[n,b[F(0x149)],paramCase(d),paramCase(d)]}),p=this['fsi']['pathFromApp']({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this['fsi'][F(0x147)]({'pathParts':[n,b[F(0x149)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h['appName'])[F(0x115)]('-','\x20')};await this[F(0x117)][F(0x128)](h,async()=>{const G=F;await this[G(0x117)][G(0x14d)]({'srcPath':G(0x138)+d+G(0x13f),'destPath':o+'.js','framework':G(0x12d),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x117)][G(0x14d)]({'srcPath':G(0x130)+f+G(0x13f),'destPath':p+G(0x13f),'framework':G(0x12d),'context':r,'config':h,'force':c,'ignore':![]}),await this[G(0x117)]['template']({'srcPath':G(0x111)+g+G(0x13f),'destPath':q+G(0x13f),'framework':G(0x12d),'context':r,'config':h,'force':c,'ignore':![]});});const s=''+n+b[F(0x149)]+'/'+d+'/'+d;await this[F(0x117)][F(0x109)](d,h,s);const t=''+n+b['dir']+'/'+f+'/'+f;await this['fsi']['injectTemplateModule'](f,h,t);const u=''+n+b[F(0x149)]+'/'+g+'/'+g;await this[F(0x117)][F(0x109)](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[F(0x117)][F(0x133)](a129e[F(0x146)](k,w),{'extensions':[F(0x14b),F(0x121)],'omit':[F(0x123),F(0x13d),F(0x112)]});for(const y of x){const z=a129e[F(0x146)](k,w,y);await this['fsi'][F(0x12e)]({'filePath':z,'importName':F(0x119),'modulePath':F(0x135),'isNamedExport':![]}),await this[F(0x117)][F(0x12e)]({'filePath':z,'importName':F(0x11e),'modulePath':F(0x145),'isNamedExport':![]}),await this['fsi'][F(0x12e)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0x120):F(0x148),'isNamedExport':!![]}),await this[F(0x117)][F(0x114)]({'filePath':z,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':[F(0x11d)+w+'\x22>',F(0x11d)+w+F(0x140)],'end':[F(0x10c),'<Outlet\x20/>']}),await this['fsi']['injectImport']({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0x120):'/imports/startup/client/templates','isNamedExport':!![]}),await this[F(0x117)][F(0x114)]({'filePath':z,'content':'<'+pascalCase(f)+F(0x13b),'begin':[F(0x11d)+w+'\x22>',F(0x11d)+w+F(0x140)],'end':[F(0x10c),F(0x12a)]}),await this[F(0x117)][F(0x114)]({'filePath':z,'content':'<'+pascalCase(g)+F(0x13b),'begin':['<Outlet/>',F(0x12a)],'end':['</div>']}),await this[F(0x117)][F(0x12e)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?F(0x120):F(0x148),'isNamedExport':!![]}),await this[F(0x117)]['injectAroundString']({'filePath':z,'aboveContent':F(0x110),'belowContent':F(0x10d),'targetString':[F(0x10c),F(0x12a)],'targetIndentAdjustment':0x6});}}return!![];}catch(A){Log[F(0x141)](A);}},async function(){const H=a129E;console[H(0x10a)](H(0x118));},a129f);function a129c(){const I=['getMakaProjectConfig','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','kit/mui/frame/footers/','test','3709542taAaSj','injectIntoFile','replaceAll','basic-sticky-footer','fsi','Cleaning\x20up...','Box','layouts','REACT','maka\x20g:k:m:f','<div\x20id=\x22','Container','checkMeteorPackage','/imports/startup/lib/templates','tsx','apply','app-tests','50092bkgAYl','getDirectories','59181730XSsBSR','findAppDirectory','withValue','toString','<Outlet\x20/>','options','maka\x20generate:kit:mui:frame','react','injectImport','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','kit/mui/frame/drawers/','ssr','create','getFiles','4505630jIuNTh','@mui/material/Box','7TEGcEL','1400981lYjzkt','kit/mui/frame/app-bars/','(((.+)+)+)+$','baseDir','\x20/>\x0a','maka:react-tracker','tests','engines','.js','-hook\x22>','error','10313552QnUnPX','MATERIAL','frame','@mui/material/Container','join','pathFromApp','/imports/startup/client/templates','dir','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','jsx','3085536Ookhmm','template','search','441fZUiCd','9csVfRP','injectTemplateModule','log','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','<Outlet/>','</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','force'];a129c=function(){return I;};return a129c();}
1
+ const a128D=a128d;(function(a,b){const B=a128d,c=a();while(!![]){try{const d=parseInt(B(0xf5))/0x1+parseInt(B(0x106))/0x2*(parseInt(B(0xe4))/0x3)+-parseInt(B(0xf1))/0x4*(-parseInt(B(0x127))/0x5)+-parseInt(B(0xfb))/0x6*(-parseInt(B(0x12a))/0x7)+-parseInt(B(0x126))/0x8*(parseInt(B(0xe8))/0x9)+parseInt(B(0x114))/0xa+-parseInt(B(0xea))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x63cc7));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 C=a128d;return a128a[C(0x11a)]()[C(0xe7)]('(((.+)+)+)+$')[C(0x11a)]()[C(0xe6)](a128a)[C(0xe7)](C(0x111));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128c(){const G=['force','/imports/ui/components','298206cQhnSj','tsx','join','layouts','tests','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','1184952rBKCUe','appName','getFiles','jsx','test','react','app-tests','@mui/material/Container','error','true','ssr','6fcDCeu','/imports/startup/lib/templates','kit/mui/frame/drawers/','maka\x20generate:kit:mui:frame','<div\x20id=\x22','<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>','Cleaning\x20up...','MATERIAL','<Outlet\x20/>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','@mui/material/Box','(((.+)+)+)+$','checkbox','</div>','3704230pkzbto','imports','/imports/ui/','findAppDirectory','\x20/>\x0a','injectAroundString','toString','dir','basic-drawer','length','basic-sticky-footer','Box','kit/mui/frame/footers/','frame','No\x20layouts\x20selected','injectImport','scaffold','maka:react-tracker','24DKJBly','5nzOmAE','injectIntoFile','replaceAll','14hUYAxY','kit/mui/frame/app-bars/','create','basic-app-bar','<Outlet/>','Container','getMakaProjectConfig','fsi','757641HupzyA','/imports/startup/client/templates','constructor','search','37899KzAsWY','-hook\x22>','18782335KnLmxZ','pathFromApp','pkg','.js','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','template','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','1230556uzxNXV','baseDir'];a128c=function(){return G;};return a128c();}import a128e from'path';import a128f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xdd;let f=c[d];return f;},a128d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128D(0xde)]({'name':a128D(0x121),'aliases':['f'],'usage':a128D(0xf0),'shortDesc':a128D(0xee),'validOpts':[a128D(0xf8),a128D(0xf2),'dir',a128D(0xf3)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128D(0x10d)],'client':ClientEngines['REACT']},'examples':[a128D(0x109),'maka\x20g:k:m:f'],'description':a128D(0x10f)},async function(a,b){const E=a128D;try{const c=b['force']||![],d=E(0xdf),f=E(0x11c),g=E(0x11e),h=await this['cfg'][E(0xe2)](),i=h['engines'][E(0x105)]===E(0x104);await this[E(0xec)]['checkMeteorPackage'](['session',E(0x125)],{'shouldInstall':!![]});const j=this['fsi'][E(0x117)](),k=a128e[E(0xf7)](j,E(0x115),'ui',E(0xf8)),l=this[E(0xe3)]['getDirectories'](k),m=await Actions['options']({'type':E(0x112),'name':'layouts','message':E(0xfa),'choices':l});if(m[E(0xf8)][E(0x11d)]===0x0){Log[E(0x103)](E(0x122));return;}const n=b[E(0xf2)]?E(0x116)+b[E(0xf2)]:E(0xf4),o=this[E(0x124)]['pathFromApp']({'pathParts':[n,b[E(0x11b)],paramCase(d),paramCase(d)]}),p=this['scaffold'][E(0xeb)]({'pathParts':[n,b[E(0x11b)],paramCase(f),paramCase(f)]}),q=this['scaffold'][E(0xeb)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[E(0xfc)])[E(0x129)]('-','\x20')};await this[E(0x124)]['template']({'srcPath':E(0xdd)+d+'.js','destPath':o+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[E(0x124)][E(0xef)]({'srcPath':E(0x108)+f+'.js','destPath':p+E(0xed),'framework':E(0x100),'context':r,'config':h,'force':c,'ignore':![]}),await this[E(0x124)][E(0xef)]({'srcPath':E(0x120)+g+E(0xed),'destPath':q+E(0xed),'framework':E(0x100),'context':r,'config':h,'force':c,'ignore':![]});const s=''+n+b[E(0x11b)]+'/'+d+'/'+d;await this[E(0x124)]['injectTemplateModule'](d,h,s);const t=''+n+b[E(0x11b)]+'/'+f+'/'+f;await this[E(0x124)]['injectTemplateModule'](f,h,t);const u=''+n+b[E(0x11b)]+'/'+g+'/'+g;await this[E(0x124)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[E(0xe3)][E(0xfd)](a128e[E(0xf7)](k,w),{'extensions':[E(0xfe),E(0xf6)],'omit':[E(0x101),E(0xf9),E(0xff)]});for(const y of x){const z=a128e[E(0xf7)](k,w,y);await this['scaffold'][E(0x123)]({'filePath':z,'importName':E(0x11f),'modulePath':E(0x110),'isNamedExport':![]}),await this[E(0x124)][E(0x123)]({'filePath':z,'importName':E(0xe1),'modulePath':E(0x102),'isNamedExport':![]}),await this[E(0x124)][E(0x123)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':E(0xe5),'isNamedExport':!![]}),await this[E(0x124)][E(0x128)]({'filePath':z,'content':'<'+pascalCase(d)+E(0x118),'begin':[E(0x10a)+w+'\x22>',E(0x10a)+w+E(0xe9)],'end':[E(0xe0),'<Outlet\x20/>']}),await this['scaffold'][E(0x123)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?E(0x107):E(0xe5),'isNamedExport':!![]}),await this[E(0x124)][E(0x128)]({'filePath':z,'content':'<'+pascalCase(f)+E(0x118),'begin':[E(0x10a)+w+'\x22>',E(0x10a)+w+E(0xe9)],'end':['<Outlet/>','<Outlet\x20/>']}),await this[E(0x124)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+E(0x118),'begin':[E(0xe0),E(0x10e)],'end':[E(0x113)]}),await this['scaffold'][E(0x123)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0x107):E(0xe5),'isNamedExport':!![]}),await this[E(0x124)][E(0x119)]({'filePath':z,'aboveContent':E(0x10b),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[E(0xe0),'<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(A){Log[E(0x103)](A);}},async function(){const F=a128D;console['log'](F(0x10c));},a128f);