@maka/maka-cli 4.9.6 → 4.9.8

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 (150) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/build/_index.js +1 -1
  20. package/bundle/obf/src/commands/build/build.js +1 -1
  21. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/create.js +1 -1
  23. package/bundle/obf/src/commands/debug.js +1 -1
  24. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  25. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  26. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/game/_index.js +1 -1
  29. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/game/play.command.js +1 -1
  31. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  66. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  67. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  68. package/bundle/obf/src/commands/generate.js +1 -1
  69. package/bundle/obf/src/commands/get/_index.js +1 -1
  70. package/bundle/obf/src/commands/get/get.command.js +1 -1
  71. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  72. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  73. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  74. package/bundle/obf/src/commands/help.js +1 -1
  75. package/bundle/obf/src/commands/install.js +1 -1
  76. package/bundle/obf/src/commands/jsdoc.js +1 -1
  77. package/bundle/obf/src/commands/lint.js +1 -1
  78. package/bundle/obf/src/commands/login.js +1 -1
  79. package/bundle/obf/src/commands/logout.js +1 -1
  80. package/bundle/obf/src/commands/logs.js +1 -1
  81. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  82. package/bundle/obf/src/commands/murder.js +1 -1
  83. package/bundle/obf/src/commands/patreon.js +1 -1
  84. package/bundle/obf/src/commands/proxy.js +1 -1
  85. package/bundle/obf/src/commands/reconfig.js +1 -1
  86. package/bundle/obf/src/commands/register.js +1 -1
  87. package/bundle/obf/src/commands/run/_index.js +1 -1
  88. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  89. package/bundle/obf/src/commands/run/run.command.js +1 -1
  90. package/bundle/obf/src/commands/set/_index.js +1 -1
  91. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  93. package/bundle/obf/src/commands/set/set.command.js +1 -1
  94. package/bundle/obf/src/commands/ssh.js +1 -1
  95. package/bundle/obf/src/commands/ssl.js +1 -1
  96. package/bundle/obf/src/commands/test.js +1 -1
  97. package/bundle/obf/src/commands/undo.js +1 -1
  98. package/bundle/obf/src/commands/version.js +1 -1
  99. package/bundle/obf/src/error.js +1 -1
  100. package/bundle/obf/src/exec.js +1 -1
  101. package/bundle/obf/src/generator.js +1 -1
  102. package/bundle/obf/src/generators/_index.js +1 -1
  103. package/bundle/obf/src/generators/api.js +1 -1
  104. package/bundle/obf/src/generators/collection.js +1 -1
  105. package/bundle/obf/src/generators/component.js +1 -1
  106. package/bundle/obf/src/generators/config.js +1 -1
  107. package/bundle/obf/src/generators/dbc.js +1 -1
  108. package/bundle/obf/src/generators/dockerfile.js +1 -1
  109. package/bundle/obf/src/generators/hook.js +1 -1
  110. package/bundle/obf/src/generators/kits/_index.js +1 -1
  111. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  112. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  113. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  114. package/bundle/obf/src/generators/kits/kit.js +1 -1
  115. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  116. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  117. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  118. package/bundle/obf/src/generators/layout.js +1 -1
  119. package/bundle/obf/src/generators/maka.gen.js +1 -1
  120. package/bundle/obf/src/generators/methods.js +1 -1
  121. package/bundle/obf/src/generators/package.js +1 -1
  122. package/bundle/obf/src/generators/page.js +1 -1
  123. package/bundle/obf/src/generators/publish.js +1 -1
  124. package/bundle/obf/src/generators/route.js +1 -1
  125. package/bundle/obf/src/generators/service.js +1 -1
  126. package/bundle/obf/src/generators/services/_index.js +1 -1
  127. package/bundle/obf/src/generators/services/openssl.js +1 -1
  128. package/bundle/obf/src/generators/services/translation.js +1 -1
  129. package/bundle/obf/src/maka.js +1 -1
  130. package/bundle/obf/src/templates/meteor/project/package.json +1 -1
  131. package/bundle/obf/src/tool.js +1 -1
  132. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  133. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  134. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  135. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  136. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  137. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  138. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  139. package/bundle/obf/src/tools/https/https.class.js +1 -1
  140. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  141. package/bundle/obf/src/tools/log/log.class.js +1 -1
  142. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  143. package/bundle/obf/src/tools/options/options.class.js +1 -1
  144. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  145. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  146. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  148. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  149. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  150. package/package.json +1 -1
@@ -1 +1 @@
1
- const a115A=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d=parseInt(x(0x185))/0x1+parseInt(x(0x182))/0x2*(parseInt(x(0x17a))/0x3)+-parseInt(x(0x174))/0x4*(parseInt(x(0x1a9))/0x5)+parseInt(x(0x18f))/0x6*(-parseInt(x(0x179))/0x7)+-parseInt(x(0x17d))/0x8+-parseInt(x(0x191))/0x9+parseInt(x(0x192))/0xa*(parseInt(x(0x1a5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x6d7e1));const a115b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a115d;if(c){const e=c[y(0x183)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a115a=a115b(this,function(){const z=a115d;return a115a[z(0x180)]()[z(0x17b)](z(0x184))[z(0x180)]()['constructor'](a115a)[z(0x17b)](z(0x184));});a115a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a115e from'path';function a115c(){const E=['basic-drawer','<div\x20id=\x22','react','REACT','findAppDirectory','dir','/imports/ui/','{props.children}','1195548TgQppU','baseDir','7886475ujaqtH','12204590fTgDnX','true','/imports/startup/client/templates','fsi','getDirectories','pathFromApp','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','checkMeteorPackage','template','/imports/startup/lib/templates','appName','maka\x20generate:kit:mui:frame','{\x20this.props.children\x20}','withValue','{\x20props.children\x20}','{this.props.children}','tsx','kit/mui/frame/app-bars/','11ajkkxv','test','jsx','.js','5NeMWMB','maka\x20g:k:m:f','tests','getFiles','injectImport','app-tests','engines','frame','session','No\x20layouts\x20selected','basic-app-bar','injectIntoFile','-hook\x22>','/imports/ui/hooks','2252020LPQkve','join','log','kit/mui/frame/drawers/','checkbox','14bHNbvK','2196fceZmX','search','layouts','3525456nhbqwZ','length','Cleaning\x20up...','toString','injectTemplateModule','2084pVtaeU','apply','(((.+)+)+)+$','743756xCsZdS','error'];a115c=function(){return E;};return a115c();}import a115f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x16b;let f=c[d];return f;},a115d(a,b);}Generator['create']({'name':a115A(0x16d),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a115A(0x199),'validOpts':[a115A(0x17c)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a115A(0x18a)]},'examples':[a115A(0x19e),a115A(0x1aa)],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const B=a115A;try{const c=B(0x170),d=B(0x187),f=this[B(0x195)]['getMakaProjectConfig'](),g=f[B(0x16c)]['ssr']===B(0x193);await this[B(0x195)][B(0x19a)](B(0x16e),{'shouldInstall':!![]});const h=this[B(0x195)][B(0x18b)](),i=a115e[B(0x175)](h,'imports','ui',B(0x17c)),j=this[B(0x195)][B(0x196)](i),k=await Actions['options']({'type':B(0x178),'name':B(0x17c),'message':B(0x198),'choices':j});if(k[B(0x17c)][B(0x17e)]===0x0){Log['error'](B(0x16f));return;}const l=b[B(0x190)]?B(0x18d)+b['baseDir']:B(0x173),m=this[B(0x195)]['pathFromApp']({'pathParts':[l,b['dir'],paramCase(c),paramCase(c)]}),n=this[B(0x195)][B(0x197)]({'pathParts':[l,b[B(0x18c)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[B(0x19d)])['replaceAll']('-','\x20')};await this[B(0x195)][B(0x1a0)](f,async()=>{const C=B;await this[C(0x195)][C(0x19b)]({'srcPath':C(0x1a4)+c+'.js','destPath':m+'.js','framework':C(0x189),'context':o,'config':f,'force':![],'ignore':![]}),await this['fsi']['template']({'srcPath':C(0x177)+d+C(0x1a8),'destPath':n+C(0x1a8),'framework':C(0x189),'context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[B(0x18c)]+'/'+c+'/'+c;await this[B(0x195)][B(0x181)](c,f,p);const q=''+l+b[B(0x18c)]+'/'+d+'/'+d;await this['fsi'][B(0x181)](d,f,q);const {layouts:r}=k;for(const s of r){const t=this[B(0x195)][B(0x1ac)](a115e[B(0x175)](i,s),{'extensions':[B(0x1a7),B(0x1a3)],'omit':[B(0x16b),B(0x1ab),B(0x1a6)]});for(const u of t){const v=a115e[B(0x175)](i,s,u);await this[B(0x195)]['injectImport']({'filePath':v,'importName':pascalCase(c),'modulePath':g?B(0x19c):B(0x194),'isNamedExport':!![]}),await this[B(0x195)][B(0x171)]({'filePath':v,'content':'<'+pascalCase(c)+'\x20/>\x0a','begin':[B(0x188)+s+'\x22>','<div\x20id=\x22'+s+B(0x172)],'end':[B(0x1a2),B(0x19f),'{props.children}',B(0x1a1)]}),await this[B(0x195)][B(0x1ad)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?B(0x19c):B(0x194),'isNamedExport':!![]}),await this[B(0x195)][B(0x171)]({'filePath':v,'content':'<'+pascalCase(d)+'\x20/>\x0a','begin':['<div\x20id=\x22'+s+'\x22>',B(0x188)+s+B(0x172)],'end':[B(0x1a2),'{\x20this.props.children\x20}',B(0x18e),'{\x20props.children\x20}']});}}return!![];}catch(w){Log[B(0x186)](w);}},async function(){const D=a115A;console[D(0x176)](D(0x17f));},a115f);
1
+ const a115z=a115d;(function(a,b){const x=a115d,c=a();while(!![]){try{const d=parseInt(x(0x17d))/0x1+parseInt(x(0x187))/0x2*(parseInt(x(0x153))/0x3)+parseInt(x(0x152))/0x4+parseInt(x(0x158))/0x5+-parseInt(x(0x151))/0x6+-parseInt(x(0x175))/0x7+parseInt(x(0x159))/0x8*(-parseInt(x(0x15c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a115c,0x3a412));const a115b=(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;};}()),a115a=a115b(this,function(){const y=a115d;return a115a['toString']()[y(0x14d)](y(0x167))[y(0x183)]()['constructor'](a115a)[y(0x14d)](y(0x167));});function a115d(a,b){const c=a115c();return a115d=function(d,e){d=d-0x147;let f=c[d];return f;},a115d(a,b);}a115a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a115e from'path';import a115f from'./mui.generator.js';function a115c(){const D=['template','length','log','380156bgIFOn','options','.js','injectTemplateModule','REACT','-hook\x22>','injectImport','appName','216238qnLOQC','dir','<div\x20id=\x22','Cleaning\x20up...','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','create','toString','session','{this.props.children}','baseDir','279326QKXmYh','{\x20props.children\x20}','injectIntoFile','basic-drawer','test','pathFromApp','frame','search','No\x20layouts\x20selected','{\x20this.props.children\x20}','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','2262042xXPIgx','425472OqDRcY','6WQGgJC','/imports/ui/hooks','\x20/>\x0a','error','maka\x20generate:kit:mui:frame','919320Pjftkp','926968fjVaII','maka\x20g:k:m:f','getFiles','9VoKfCt','checkMeteorPackage','join','imports','true','/imports/startup/lib/templates','app-tests','getDirectories','layouts','fsi','/imports/startup/client/templates','(((.+)+)+)+$','tests','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','basic-app-bar','kit/mui/frame/drawers/','findAppDirectory','ssr','{props.children}','MATERIAL','react','kit/mui/frame/app-bars/'];a115c=function(){return D;};return a115c();}import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a115z(0x182)]({'name':a115z(0x14c),'aliases':['f'],'usage':'maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','shortDesc':a115z(0x169),'validOpts':[a115z(0x164)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a115z(0x16f)],'client':ClientEngines[a115z(0x179)]},'examples':[a115z(0x157),a115z(0x15a)],'description':a115z(0x181)},async function(a,b){const A=a115z;try{const c=A(0x16a),d=A(0x149),f=this[A(0x165)]['getMakaProjectConfig'](),g=f['engines'][A(0x16d)]===A(0x160);await this[A(0x165)][A(0x15d)](A(0x184),{'shouldInstall':!![]});const h=this[A(0x165)][A(0x16c)](),i=a115e[A(0x15e)](h,A(0x15f),'ui',A(0x164)),j=this[A(0x165)][A(0x163)](i),k=await Actions[A(0x176)]({'type':'checkbox','name':'layouts','message':A(0x150),'choices':j});if(k[A(0x164)][A(0x173)]===0x0){Log[A(0x156)](A(0x14e));return;}const l=b[A(0x186)]?'/imports/ui/'+b[A(0x186)]:A(0x154),m=this[A(0x165)][A(0x14b)]({'pathParts':[l,b[A(0x17e)],paramCase(c),paramCase(c)]}),n=this['fsi'][A(0x14b)]({'pathParts':[l,b[A(0x17e)],paramCase(d),paramCase(d)]}),o={'name':headerCase(f[A(0x17c)])['replaceAll']('-','\x20')};await this[A(0x165)]['withValue'](f,async()=>{const B=A;await this[B(0x165)][B(0x172)]({'srcPath':B(0x171)+c+B(0x177),'destPath':m+B(0x177),'framework':B(0x170),'context':o,'config':f,'force':![],'ignore':![]}),await this[B(0x165)][B(0x172)]({'srcPath':B(0x16b)+d+B(0x177),'destPath':n+B(0x177),'framework':'react','context':o,'config':f,'force':![],'ignore':![]});});const p=''+l+b[A(0x17e)]+'/'+c+'/'+c;await this['fsi'][A(0x178)](c,f,p);const q=''+l+b[A(0x17e)]+'/'+d+'/'+d;await this['fsi']['injectTemplateModule'](d,f,q);const {layouts:r}=k;for(const s of r){const t=this['fsi'][A(0x15b)](a115e[A(0x15e)](i,s),{'extensions':['jsx','tsx'],'omit':[A(0x162),A(0x168),A(0x14a)]});for(const u of t){const v=a115e[A(0x15e)](i,s,u);await this[A(0x165)][A(0x17b)]({'filePath':v,'importName':pascalCase(c),'modulePath':g?'/imports/startup/lib/templates':'/imports/startup/client/templates','isNamedExport':!![]}),await this['fsi']['injectIntoFile']({'filePath':v,'content':'<'+pascalCase(c)+'\x20/>\x0a','begin':[A(0x17f)+s+'\x22>',A(0x17f)+s+A(0x17a)],'end':[A(0x185),'{\x20this.props.children\x20}',A(0x16e),A(0x147)]}),await this[A(0x165)][A(0x17b)]({'filePath':v,'importName':pascalCase(d),'modulePath':g?A(0x161):A(0x166),'isNamedExport':!![]}),await this['fsi'][A(0x148)]({'filePath':v,'content':'<'+pascalCase(d)+A(0x155),'begin':['<div\x20id=\x22'+s+'\x22>','<div\x20id=\x22'+s+A(0x17a)],'end':[A(0x185),A(0x14f),A(0x16e),'{\x20props.children\x20}']});}}return!![];}catch(w){Log['error'](w);}},async function(){const C=a115z;console[C(0x174)](C(0x180));},a115f);
@@ -1 +1 @@
1
- const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=parseInt(f(0x123))/0x1+-parseInt(f(0x127))/0x2+-parseInt(f(0x12d))/0x3+-parseInt(f(0x11f))/0x4*(parseInt(f(0x121))/0x5)+-parseInt(f(0x126))/0x6*(-parseInt(f(0x12c))/0x7)+parseInt(f(0x12e))/0x8+-parseInt(f(0x11e))/0x9*(-parseInt(f(0x11c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0xaa7a3));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x120)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0x128)]()[h(0x12b)](h(0x125))[h(0x128)]()[h(0x122)](a116a)[h(0x12b)](h(0x125));});a116a();import{Generator}from'../../../generator.js';import a116e from'../kit.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x11c;let f=c[d];return f;},a116d(a,b);}const MuiGen=Generator[a116i(0x129)]({'name':a116i(0x11d),'aliases':['m'],'usage':a116i(0x12a),'noNeedResource':!![],'shortDesc':'Material-UI\x20Kit','validOpts':[''],'isPro':![],'examples':[a116i(0x124)]},async function(){throw'NIE';},async function(){},a116e);export default MuiGen;function a116c(){const j=['29286yBHQBd','2585652BMAsPC','toString','create','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','search','553kFhwtK','1210989Uftwec','10427480dbebwe','10lSlJZE','mui','2479023UkJqQj','4dBoIOS','apply','2658115UAgfFZ','constructor','961906PRXEPd','maka\x20g:kit:m','(((.+)+)+)+$'];a116c=function(){return j;};return a116c();}
1
+ const a116i=a116d;(function(a,b){const f=a116d,c=a();while(!![]){try{const d=-parseInt(f(0x114))/0x1+-parseInt(f(0x10e))/0x2*(-parseInt(f(0x118))/0x3)+parseInt(f(0x113))/0x4*(-parseInt(f(0x10f))/0x5)+-parseInt(f(0x116))/0x6*(-parseInt(f(0x10d))/0x7)+-parseInt(f(0x108))/0x8+-parseInt(f(0x106))/0x9+-parseInt(f(0x10c))/0xa*(-parseInt(f(0x112))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a116c,0x6b0b3));const a116b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a116d;if(c){const e=c[g(0x10a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a116a=a116b(this,function(){const h=a116d;return a116a[h(0x104)]()[h(0x117)](h(0x119))[h(0x104)]()[h(0x110)](a116a)[h(0x117)]('(((.+)+)+)+$');});function a116c(){const k=['6149600BBbkfl','mui','apply','NIE','100mgxivB','5571069gRRVvq','553562WBAQFG','475yNtnfO','constructor','create','1444267JJHrjL','4644utZvan','471036vXMXUN','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','6qxDxzj','search','3koqryu','(((.+)+)+)+$','toString','maka\x20g:kit:m','5374224wZZChF','Material-UI\x20Kit'];a116c=function(){return k;};return a116c();}a116a();import{Generator}from'../../../generator.js';function a116d(a,b){const c=a116c();return a116d=function(d,e){d=d-0x104;let f=c[d];return f;},a116d(a,b);}import a116e from'../kit.js';const MuiGen=Generator[a116i(0x111)]({'name':a116i(0x109),'aliases':['m'],'usage':a116i(0x115),'noNeedResource':!![],'shortDesc':a116i(0x107),'validOpts':[''],'isPro':![],'examples':[a116i(0x105)]},async function(){const j=a116i;throw j(0x10b);},async function(){},a116e);export default MuiGen;
@@ -1 +1 @@
1
- const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x110))/0x1*(parseInt(l(0x12c))/0x2)+-parseInt(l(0x100))/0x3*(-parseInt(l(0x123))/0x4)+-parseInt(l(0x128))/0x5+parseInt(l(0x107))/0x6*(-parseInt(l(0x121))/0x7)+-parseInt(l(0x105))/0x8*(-parseInt(l(0x120))/0x9)+-parseInt(l(0x11a))/0xa+parseInt(l(0x13e))/0xb*(parseInt(l(0x138))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x44477));function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0xfe;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x10b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x111)]()[n(0x13b)]('(((.+)+)+)+$')[n(0x111)]()[n(0x126)](a117a)['search'](n(0x11e));});a117a();import a117e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a117c(){const r=['1856jZgaoX','ramda','36BjZtVd','includes','hook/hook.js','className','apply','template/template.css','css','test/test.js','.app-tests.js','1HPAcZy','toString','checkNpmPackage','react','injectAtBeginningOfFile','dir','resourceName','.js','/imports/ui/layouts','pathFromProject','3539510ZqgFVK','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','withHook','withTranslations','(((.+)+)+)+$','fsi','10170AJyzyp','572089NbKGlA','pathFromApp','1048pgzxPC','findAppDirectory','string','constructor','injectTemplateModule','2228055vRFesO','relative','layout','features','352922nlKpvW','component/component.js','test','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','ssr','create','installNpmPackage','true','withValue','Scaffolding\x20for\x20a\x20React\x20Layout.','maka\x20g:layout\x20mobile/iPhone8','maka\x20g:l\x20web/safari','1013868mqWCkh','warn','api','search','setTemplate','fileName','132vokSqL','engines','.css','5382dXzQak','split','template','none','client'];a117c=function(){return r;};return a117c();}const aliases=['l'];Generator[a117o(0x131)]({'name':a117o(0x12a),'aliases':aliases,'usage':a117o(0x11b),'shortDesc':a117o(0x135),'validOpts':[],'examples':[a117o(0x136),a117o(0x137)]},async function(a,b){const p=a117o,c=p(0x118),d=this['fsi'][p(0x124)](),e=this[p(0x11f)][p(0x122)]({'pathParts':[c,b[p(0x115)],paramCase(b[p(0x116)]),paramCase(b[p(0x116)])]}),f=this[p(0x11f)]['getMakaProjectConfig']();await this['fsi'][p(0x134)](f,async()=>{const q=p;typeof f[q(0x102)]['test']===q(0x125)&&(f[q(0x102)][q(0x12e)]=f[q(0x102)][q(0x12e)]===q(0x133)?!![]:![],this['fsi'][q(0x13c)]('test',f['template'][q(0x12e)]));typeof f['template'][q(0x10d)]===q(0x125)&&(f[q(0x102)][q(0x10d)]=f[q(0x102)][q(0x10d)]===q(0x133)?!![]:![],this[q(0x11f)][q(0x13c)](q(0x10d),f[q(0x102)]['css']));typeof f[q(0x102)]['js']===q(0x125)&&(f['template']['js']=f['template']['js']===q(0x133)?!![]:![],this['fsi']['setTemplate']('js',f[q(0x102)]['js']));!f[q(0x12b)]&&(f[q(0x12b)]={});const g=b['_']?b['_'][0x0][q(0x101)](':')[0x1]:![],h=b['_']&&aliases[q(0x108)](g);h&&!this[q(0x112)](q(0x106))&&(Log[q(0x139)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this['fsi'][q(0x132)](q(0x106),{'cwd':d}));if(h&&!this[q(0x112)]('react')){Log['warn'](q(0x12f));return;}const i={'name':pascalCase(b[q(0x116)]),'myPath':a117e[q(0x129)](this['fsi'][q(0x119)]({}),e),'cssCaseName':paramCase(b[q(0x116)]),'className':pascalCase(b[q(0x116)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0x116)]),'graphql':f[q(0xfe)]['graphql'],'features':f[q(0x12b)],'client':f[q(0xfe)][q(0x104)],'api':f['engines'][q(0x13a)],'ssr':f[q(0xfe)][q(0x130)],'test':f[q(0xfe)][q(0x12e)],'theme':f['engines']['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f['features'][q(0x11d)]};f[q(0x12b)]?.['withHooks']||b[q(0x11c)]?await this[q(0x11f)][q(0x102)]({'srcPath':q(0x109),'destPath':e+'.js','framework':q(0x113),'context':i,'config':f}):await this[q(0x11f)]['template']({'srcPath':q(0x12d),'destPath':e+q(0x117),'framework':'react','context':i,'config':f});f['engines']['test']!==q(0x103)&&await this[q(0x11f)][q(0x102)]({'srcPath':q(0x10e),'destPath':e+q(0x10f),'framework':q(0x113),'context':i,'config':f});f[q(0x102)][q(0x10d)]&&(await this[q(0x11f)]['template']({'srcPath':q(0x10c),'destPath':e+q(0xff),'context':Object['assign']({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['fsi'][q(0x114)]({'filePath':e+'.'+f[q(0xfe)]['js'],'content':'import\x20\x27./'+i[q(0x13d)]+'.'+f[q(0xfe)][q(0x10d)]+'\x27;'}));const j=b['dir']?'/'+b[q(0x115)]+'/':'/',k=''+c+j+i[q(0x13d)]+'/'+i[q(0x13d)];await this['fsi'][q(0x127)](i[q(0x10a)],f,k);});});
1
+ const a117o=a117d;(function(a,b){const l=a117d,c=a();while(!![]){try{const d=-parseInt(l(0x14d))/0x1*(parseInt(l(0x158))/0x2)+parseInt(l(0x140))/0x3*(-parseInt(l(0x144))/0x4)+parseInt(l(0x16a))/0x5+-parseInt(l(0x163))/0x6*(-parseInt(l(0x162))/0x7)+-parseInt(l(0x174))/0x8*(-parseInt(l(0x149))/0x9)+-parseInt(l(0x175))/0xa+parseInt(l(0x145))/0xb*(parseInt(l(0x15a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0x2e44f));function a117c(){const r=['47290rKNJAG','.js','assign','injectTemplateModule','relative','injectAtBeginningOfFile','react','string','graphql','none','constructor','14GljFJD','apply','132Lepxzn','className','resourceName','ramda','toString','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','includes','template','154zTLeAL','96072jCRwXr','.app-tests.js','findAppDirectory','search','test/test.js','maka\x20g:layout\x20mobile/iPhone8','withValue','356580iRZZcy','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','layout','withHook','installNpmPackage','features','fsi','css','Scaffolding\x20for\x20a\x20React\x20Layout.','engines','8eMalYj','2531120GQYDVQ','warn','test','.css','fileName','template/template.css','setTemplate','split','client','api','true','maka\x20g:l\x20web/safari','withTranslations','45gOsdkJ','ssr','pathFromProject','dir','29436InOUOA','189079FAWxRe','pathFromApp','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','getMakaProjectConfig','2442483YOossO','checkNpmPackage','(((.+)+)+)+$','import\x20\x27./'];a117c=function(){return r;};return a117c();}function a117d(a,b){const c=a117c();return a117d=function(d,e){d=d-0x138;let f=c[d];return f;},a117d(a,b);}const a117b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a117d;if(c){const e=c[m(0x159)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){const n=a117d;return a117a[n(0x15e)]()[n(0x166)](n(0x14b))[n(0x15e)]()[n(0x157)](a117a)[n(0x166)](n(0x14b));});a117a();import a117e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a117o(0x16c),'aliases':aliases,'usage':a117o(0x15f),'shortDesc':a117o(0x172),'validOpts':[],'examples':[a117o(0x168),a117o(0x13e)]},async function(a,b){const p=a117o,c='/imports/ui/layouts',d=this[p(0x170)][p(0x165)](),e=this[p(0x170)][p(0x146)]({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b['resourceName'])]}),f=this['fsi'][p(0x148)]();await this['fsi'][p(0x169)](f,async()=>{const q=p;typeof f[q(0x161)][q(0x177)]===q(0x154)&&(f[q(0x161)][q(0x177)]=f['template'][q(0x177)]==='true'?!![]:![],this[q(0x170)][q(0x139)](q(0x177),f['template']['test']));typeof f[q(0x161)]['css']===q(0x154)&&(f[q(0x161)][q(0x171)]=f[q(0x161)]['css']===q(0x13d)?!![]:![],this[q(0x170)][q(0x139)]('css',f[q(0x161)][q(0x171)]));typeof f['template']['js']==='string'&&(f['template']['js']=f['template']['js']===q(0x13d)?!![]:![],this['fsi'][q(0x139)]('js',f[q(0x161)]['js']));!f[q(0x16f)]&&(f['features']={});const g=b['_']?b['_'][0x0][q(0x13a)](':')[0x1]:![],h=b['_']&&aliases[q(0x160)](g);h&&!this[q(0x14a)](q(0x15d))&&(Log['warn'](q(0x16b)),this[q(0x170)][q(0x16e)](q(0x15d),{'cwd':d}));if(h&&!this[q(0x14a)](q(0x153))){Log[q(0x176)](q(0x147));return;}const i={'name':pascalCase(b[q(0x15c)]),'myPath':a117e[q(0x151)](this[q(0x170)][q(0x142)]({}),e),'cssCaseName':paramCase(b[q(0x15c)]),'className':pascalCase(b[q(0x15c)]),'camelCaseName':camelCase(b[q(0x15c)]),'fileName':paramCase(b[q(0x15c)]),'graphql':f['engines'][q(0x155)],'features':f[q(0x16f)],'client':f[q(0x173)][q(0x13b)],'api':f[q(0x173)][q(0x13c)],'ssr':f[q(0x173)][q(0x141)],'test':f[q(0x173)][q(0x177)],'theme':f['engines']['theme'],'isComponent':![],'isLayout':!![],'withTranslations':f[q(0x16f)][q(0x13f)]};f[q(0x16f)]?.['withHooks']||b[q(0x16d)]?await this['fsi'][q(0x161)]({'srcPath':'hook/hook.js','destPath':e+q(0x14e),'framework':q(0x153),'context':i,'config':f}):await this[q(0x170)][q(0x161)]({'srcPath':'component/component.js','destPath':e+q(0x14e),'framework':q(0x153),'context':i,'config':f});f[q(0x173)][q(0x177)]!==q(0x156)&&await this['fsi'][q(0x161)]({'srcPath':q(0x167),'destPath':e+q(0x164),'framework':'react','context':i,'config':f});f[q(0x161)][q(0x171)]&&(await this['fsi'][q(0x161)]({'srcPath':q(0x138),'destPath':e+q(0x178),'context':Object[q(0x14f)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this[q(0x170)][q(0x152)]({'filePath':e+'.'+f[q(0x173)]['js'],'content':q(0x14c)+i[q(0x179)]+'.'+f['engines']['css']+'\x27;'}));const j=b['dir']?'/'+b[q(0x143)]+'/':'/',k=''+c+j+i[q(0x179)]+'/'+i[q(0x179)];await this['fsi'][q(0x150)](i[q(0x15b)],f,k);});});
@@ -1 +1 @@
1
- const a118i=a118d;function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x99;let f=c[d];return f;},a118d(a,b);}(function(a,b){const f=a118d,c=a();while(!![]){try{const d=-parseInt(f(0xa0))/0x1*(parseInt(f(0x9a))/0x2)+parseInt(f(0xa1))/0x3+-parseInt(f(0x9d))/0x4*(-parseInt(f(0xa5))/0x5)+parseInt(f(0xaf))/0x6+parseInt(f(0xaa))/0x7+parseInt(f(0x9e))/0x8+-parseInt(f(0xa3))/0x9*(parseInt(f(0xa6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x49a14));const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0xab)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a[h(0x9b)]()[h(0xa4)](h(0xa9))['toString']()[h(0xa2)](a118a)['search'](h(0xa9));});function a118c(){const j=['1554izWTCt','918738lVjtyn','constructor','5513499IVwZKA','search','366330VkGILb','10dviNst','maka\x20generate:scaffold\x20todos','maka\x20g:api\x20trucks','(((.+)+)+)+$','1415960RjxWAJ','apply','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:route\x20todos/edit','generate','877770rzeWup','maka\x20g:package\x20package:name','86zboZjI','toString','maka\x20g:scaffold\x20todos','16UQrLHI','265088CrIahJ','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a118c=function(){return j;};return a118c();}a118a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a118i(0xae),'aliases':['g'],'usage':a118i(0xac),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a118i(0x9f),'examples':[a118i(0xa7),a118i(0x9c),'maka\x20g:template\x20todos/todo_item',a118i(0x99),a118i(0xad),a118i(0xa8),'maka\x20g:dbc\x20geoserver\x20--type=pgsql']},function(){});export default MakaGen;
1
+ const a118i=a118d;(function(a,b){const f=a118d,c=a();while(!![]){try{const d=-parseInt(f(0x15e))/0x1*(-parseInt(f(0x172))/0x2)+-parseInt(f(0x16f))/0x3*(-parseInt(f(0x16b))/0x4)+-parseInt(f(0x169))/0x5+-parseInt(f(0x15f))/0x6+parseInt(f(0x16c))/0x7+-parseInt(f(0x160))/0x8*(-parseInt(f(0x16a))/0x9)+-parseInt(f(0x174))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x3f3d8));function a118d(a,b){const c=a118c();return a118d=function(d,e){d=d-0x15d;let f=c[d];return f;},a118d(a,b);}const a118b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a118d;if(c){const e=c[g(0x16e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){const h=a118d;return a118a[h(0x164)]()[h(0x171)](h(0x16d))['toString']()['constructor'](a118a)[h(0x171)](h(0x16d));});a118a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a118i(0x173),'aliases':['g'],'usage':a118i(0x166),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a118i(0x15d),'examples':[a118i(0x168),a118i(0x165),a118i(0x170),a118i(0x162),a118i(0x163),a118i(0x161),a118i(0x167)]},function(){});function a118c(){const j=['maka\x20g:scaffold\x20todos','maka\x20{generate,\x20g}:<generator>\x20<name>','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20generate:scaffold\x20todos','2433240wTgbaW','1375605pAhCZx','484NKXSEi','1724359szTZae','(((.+)+)+)+$','apply','12612mDTIMD','maka\x20g:template\x20todos/todo_item','search','2JrBXyE','generate','5802120vwqYjV','Scaffold\x20various\x20parts\x20of\x20your\x20application','378094woVdlh','677478pBUfXM','16FXNADt','maka\x20g:api\x20trucks','maka\x20g:package\x20package:name','maka\x20g:route\x20todos/edit','toString'];a118c=function(){return j;};return a118c();}export default MakaGen;
@@ -1 +1 @@
1
- const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=parseInt(j(0x15f))/0x1*(-parseInt(j(0x186))/0x2)+-parseInt(j(0x17d))/0x3*(parseInt(j(0x168))/0x4)+-parseInt(j(0x178))/0x5+-parseInt(j(0x16c))/0x6*(parseInt(j(0x16a))/0x7)+-parseInt(j(0x165))/0x8*(-parseInt(j(0x15e))/0x9)+-parseInt(j(0x160))/0xa*(parseInt(j(0x173))/0xb)+parseInt(j(0x163))/0xc*(parseInt(j(0x180))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xa5ab5));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a119d;if(c){const e=c[k(0x166)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const l=a119d;return a119a[l(0x184)]()[l(0x164)](l(0x17c))[l(0x184)]()[l(0x17a)](a119a)[l(0x164)]('(((.+)+)+)+$');});a119a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a119c(){const p=['maka\x20{generate,\x20g}:{method,\x20m}\x20name','methods','2799070LYeyDh','pathFromApp','constructor','dir','(((.+)+)+)+$','370509cpychH','error','appPathPrefix','180934OVueHV','maka\x20g:method\x20todos','getMakaProjectConfig','method/method.js','toString','resourceName','34798YHTTbE','withValue','create','7537842ZUoAdf','15cimdrc','30PRoGCO','fsi','engines','1776HydyIy','search','8eiUduG','apply','method','4TSZDwP','startup','5593GKjkLc','mdg:validated-method','7338IcCKMA','checkMeteorPackage','imports','-rpc-method\x27;','index.','template','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','1090254tBBDqE','import\x20\x27./methods','tsx'];a119c=function(){return p;};return a119c();}import{camelCase,paramCase,pascalCase}from'change-case';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x15c;let f=c[d];return f;},a119d(a,b);}Generator[a119m(0x15d)]({'name':a119m(0x167),'aliases':['m'],'usage':a119m(0x176),'checkWhere':!![],'shortDesc':a119m(0x172),'validOpts':[a119m(0x17b)],'examples':[a119m(0x181)]},async function(a,b){const n=a119m;try{const c=this[n(0x161)][n(0x182)]();await this[n(0x161)][n(0x15c)](c,async()=>{const o=n,d=paramCase(b[o(0x185)]),f={'name':b[o(0x185)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x185)]),'noRename':!![]};let g='js';c[o(0x162)]['js']===o(0x175)&&(g='ts');await this[o(0x161)][o(0x16d)](['maka:check','ddp-rate-limiter',o(0x16b)],{'shouldInstall':!![]}),await this[o(0x161)][o(0x171)]({'srcPath':o(0x183),'destPath':this[o(0x161)][o(0x179)]({'pathParts':[o(0x16e),o(0x169),b['appPathPrefix'],o(0x177),b['dir'],d+'-rpc-method.'+g]}),'context':f,'config':c});const h=b[o(0x17b)]?'/'+b[o(0x17b)]+'/':'/',i=this[o(0x161)]['pathFromApp']({'pathParts':[o(0x16e),o(0x169),b[o(0x17f)],o(0x170)+c[o(0x162)]['js']]});await this[o(0x161)]['injectAtEndOfFile']({'filePath':i,'content':o(0x174)+h+d+o(0x16f)});});}catch(d){Log[n(0x17e)](d);}});
1
+ const a119m=a119d;(function(a,b){const j=a119d,c=a();while(!![]){try{const d=parseInt(j(0x8d))/0x1+-parseInt(j(0x9e))/0x2*(parseInt(j(0xa6))/0x3)+parseInt(j(0x8a))/0x4*(parseInt(j(0x94))/0x5)+-parseInt(j(0x8e))/0x6+-parseInt(j(0x87))/0x7*(-parseInt(j(0x8b))/0x8)+parseInt(j(0x91))/0x9*(parseInt(j(0xa8))/0xa)+-parseInt(j(0x98))/0xb*(parseInt(j(0x92))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xb0cd9));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a119d;if(c){const e=c[k(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const l=a119d;return a119a['toString']()[l(0xa0)]('(((.+)+)+)+$')[l(0xae)]()[l(0x8c)](a119a)[l(0xa0)](l(0x8f));});a119a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x87;let f=c[d];return f;},a119d(a,b);}function a119c(){const p=['constructor','710493skwgPG','2724102VhWkak','(((.+)+)+)+$','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','8216946BTpYRI','12676140eEwJde','dir','6995fDMlKI','import\x20\x27./methods','appPathPrefix','error','11YlIjId','index.','create','pathFromApp','apply','method/method.js','4106bTJIkt','checkMeteorPackage','search','methods','resourceName','imports','getMakaProjectConfig','maka\x20{generate,\x20g}:{method,\x20m}\x20name','579GxnMur','injectAtEndOfFile','10ZznUdb','-rpc-method.','startup','ddp-rate-limiter','fsi','maka\x20g:method\x20todos','toString','7frKcuM','engines','tsx','2612YerLVq','749936mWVvcA'];a119c=function(){return p;};return a119c();}Generator[a119m(0x9a)]({'name':'method','aliases':['m'],'usage':a119m(0xa5),'checkWhere':!![],'shortDesc':a119m(0x90),'validOpts':[a119m(0x93)],'examples':[a119m(0xad)]},async function(a,b){const n=a119m;try{const c=this['fsi'][n(0xa4)]();await this[n(0xac)]['withValue'](c,async()=>{const o=n,d=paramCase(b[o(0xa2)]),f={'name':b['resourceName'],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0xa2)]),'noRename':!![]};let g='js';c['engines']['js']===o(0x89)&&(g='ts');await this[o(0xac)][o(0x9f)](['maka:check',o(0xab),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0xac)]['template']({'srcPath':o(0x9d),'destPath':this[o(0xac)][o(0x9b)]({'pathParts':['imports',o(0xaa),b[o(0x96)],o(0xa1),b[o(0x93)],d+o(0xa9)+g]}),'context':f,'config':c});const h=b[o(0x93)]?'/'+b[o(0x93)]+'/':'/',i=this[o(0xac)][o(0x9b)]({'pathParts':[o(0xa3),o(0xaa),b[o(0x96)],o(0x99)+c[o(0x88)]['js']]});await this[o(0xac)][o(0xa7)]({'filePath':i,'content':o(0x95)+h+d+'-rpc-method\x27;'});});}catch(d){Log[n(0x97)](d);}});
@@ -1 +1 @@
1
- function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x123;let f=c[d];return f;},a120d(a,b);}const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=-parseInt(l(0x148))/0x1+-parseInt(l(0x13c))/0x2+-parseInt(l(0x131))/0x3+-parseInt(l(0x138))/0x4*(-parseInt(l(0x132))/0x5)+-parseInt(l(0x143))/0x6+-parseInt(l(0x136))/0x7+parseInt(l(0x13b))/0x8*(parseInt(l(0x12d))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xc4e39));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a['toString']()['search'](n(0x149))[n(0x135)]()[n(0x130)](a120a)['search']('(((.+)+)+)+$');});a120a();import a120e from'path';import{Generator}from'../generator.js';function a120c(){const r=['3217128xfGHHr','/package.js','template','create','client','1363456szgkas','(((.+)+)+)+$','getMakaProjectConfig','package/','apply','/client/','withValue','package/package.js','engines','pathFromAppWithNoReWrite','resourceName','fsi','29565927iNdYFr','theme','hasOwnProperty','constructor','3337410sBqHLA','5207030HhqJHB','tests/server','lib','toString','2921716zETvpk','dir','4POIHOF','template/template.js','.js','8QYAiGJ','181100GtsnuL','packages','pathFromApp','features','relative','tests/client','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>'];a120c=function(){return r;};return a120c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a120o(0x146)]({'name':'package','aliases':['p'],'usage':a120o(0x142),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':[a120o(0x137)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a120o,c=paramCase(b[p(0x12b)]),d=this[p(0x12c)][p(0x13e)]({'pathParts':[p(0x13d),b[p(0x137)],c]}),e=this[p(0x12c)][p(0x12a)]({'pathParts':[p(0x13d),b[p(0x137)],c,'package.js']}),f=this[p(0x12c)][p(0x123)]();await this['fsi'][p(0x127)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x12b)]),'myPath':a120e[q(0x140)](this[q(0x12c)]['pathFromProject']({}),d),'cssCaseName':paramCase(b[q(0x12b)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0x129)][q(0x147)],'graphql':f[q(0x129)]['graphql'],'ssr':f[q(0x129)]['ssr'],'isComponent':b[q(0x12f)]('component'),'isLayout':b[q(0x12f)]('layout'),'isStore':b[q(0x12f)]('store'),'features':f[q(0x13f)],'noRename':!![],'theme':f[q(0x129)][q(0x12e)]};await this['fsi'][q(0x145)]({'srcPath':q(0x128),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+q(0x126)+c+q(0x13a);await this[q(0x12c)][q(0x145)]({'srcPath':q(0x139),'destPath':h,'context':g,'config':f});const i=[q(0x134),'server',q(0x141),q(0x133)];for(const j of i){const k=d+'/'+j+'/'+c+q(0x13a);await this['fsi']['template']({'srcPath':q(0x124)+j+q(0x144),'destPath':k,'context':g,'config':f});}});});
1
+ const a120o=a120d;(function(a,b){const l=a120d,c=a();while(!![]){try{const d=parseInt(l(0xca))/0x1*(parseInt(l(0xcb))/0x2)+parseInt(l(0xd9))/0x3+parseInt(l(0xbe))/0x4+parseInt(l(0xbb))/0x5*(-parseInt(l(0xba))/0x6)+parseInt(l(0xcc))/0x7+parseInt(l(0xdb))/0x8+parseInt(l(0xc4))/0x9*(-parseInt(l(0xd2))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x6bf25));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a120d;if(c){const e=c[m(0xc1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const n=a120d;return a120a['toString']()[n(0xc5)](n(0xc2))[n(0xc3)]()[n(0xc7)](a120a)[n(0xc5)](n(0xc2));});a120a();import a120e from'path';function a120c(){const r=['pathFromApp','client','42xfnwTq','315545bNijzx','hasOwnProperty','dir','1792680yoLQHH','relative','component','apply','(((.+)+)+)+$','toString','4176JGEFYg','search','resourceName','constructor','.js','pathFromProject','36347eodQMa','2JyFavF','4577720fowhQY','template/template.js','lib','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','tests/client','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','22360oDkkUu','package/package.js','getMakaProjectConfig','layout','package/','store','create','717624RmTqWV','graphql','4349848noMrbw','fsi','engines','theme'];a120c=function(){return r;};return a120c();}import{Generator}from'../generator.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0xb6;let f=c[d];return f;},a120d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a120o(0xd8)]({'name':'package','aliases':['p'],'usage':a120o(0xcf),'shortDesc':a120o(0xd1),'validOpts':[a120o(0xbd)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const p=a120o,c=paramCase(b[p(0xc6)]),d=this[p(0xdc)][p(0xb8)]({'pathParts':['packages',b[p(0xbd)],c]}),e=this[p(0xdc)]['pathFromAppWithNoReWrite']({'pathParts':['packages',b[p(0xbd)],c,'package.js']}),f=this[p(0xdc)][p(0xd4)]();await this[p(0xdc)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a120e[q(0xbf)](this['fsi'][q(0xc9)]({}),d),'cssCaseName':paramCase(b[q(0xc6)]),'className':pascalCase(b[q(0xc6)]),'camelCaseName':camelCase(b[q(0xc6)]),'fileName':c,'client':f['engines'][q(0xb9)],'graphql':f['engines'][q(0xda)],'ssr':f[q(0xb6)]['ssr'],'isComponent':b[q(0xbc)](q(0xc0)),'isLayout':b[q(0xbc)](q(0xd5)),'isStore':b[q(0xbc)](q(0xd7)),'features':f['features'],'noRename':!![],'theme':f[q(0xb6)][q(0xb7)]};await this['fsi']['template']({'srcPath':q(0xd3),'destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+'/client/'+c+q(0xc8);await this['fsi']['template']({'srcPath':q(0xcd),'destPath':h,'context':g,'config':f});const i=[q(0xce),'server',q(0xd0),'tests/server'];for(const j of i){const k=d+'/'+j+'/'+c+q(0xc8);await this[q(0xdc)]['template']({'srcPath':q(0xd6)+j+'/package.js','destPath':k,'context':g,'config':f});}});});
@@ -1 +1 @@
1
- const a121l=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=parseInt(j(0x18e))/0x1*(parseInt(j(0x18b))/0x2)+parseInt(j(0x19e))/0x3*(-parseInt(j(0x1ab))/0x4)+-parseInt(j(0x18d))/0x5+-parseInt(j(0x180))/0x6*(parseInt(j(0x16e))/0x7)+parseInt(j(0x1ae))/0x8+parseInt(j(0x18f))/0x9+-parseInt(j(0x19f))/0xa*(-parseInt(j(0x16c))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0xccb28));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 k=a121d;return a121a['toString']()[k(0x1a8)]('(((.+)+)+)+$')['toString']()[k(0x18c)](a121a)[k(0x1a8)](k(0x181));});a121a();function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x16a;let f=c[d];return f;},a121d(a,b);}import a121e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a121f from'../generators/maka.gen.js';function a121c(){const o=['Generate\x20a\x20page.','component','hasOwnProperty','withHook','1123935FdNlbf','51830yqQSFh','true','injectTemplateModule','none','withValue','/imports/ui/','dir','fsi','/imports/ui/pages','search','vanilla','pathFromProject','4WpzoKs','withHooks','template','4624584JoFZTD','api','components','682AGUPwR','resourceName','1676899SNbczh','html','warn','layout','react','import\x20\x27./','Updating\x20npm\x20packages\x20...','test','hooks','root','injectAtBeginningOfFile','baseDir','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','css','layouts','store','getMakaProjectConfig','client','6MtzgOO','(((.+)+)+)+$','engines','setTemplate','processAndRunGenerator','maka\x20g:page\x20todos/todos-item','ssr','component/component.js','test/test.js','ramda','features','4liivit','constructor','6178160vCNMtw','82471TVQLOV','14615217TTnYgZ','graphql','string','template/template.html','assign','relative','.css','pathFromApp','create','fileName','.html'];a121c=function(){return o;};return a121c();}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a121l(0x197)]({'name':'page','aliases':aliases,'usage':a121l(0x17a),'shortDesc':a121l(0x19a),'validOpts':[{'name':a121l(0x179),'values':[a121l(0x176),a121l(0x16b),'pages',a121l(0x17c)]},{'name':a121l(0x19d),'boolFlag':!![]}],'examples':[a121l(0x185)]},async function(a,b){const m=a121l,c=b['baseDir']?m(0x1a4)+b['baseDir']:m(0x1a7),d=this[m(0x1a6)][m(0x196)](b),e=this[m(0x1a6)][m(0x196)]({'pathParts':[c,b[m(0x1a5)],paramCase(b[m(0x16d)]),paramCase(b[m(0x16d)])]}),f=this['fsi'][m(0x17e)]();let g='';return await this[m(0x1a6)][m(0x1a3)](f,async()=>{const n=m;typeof f[n(0x1ad)][n(0x16f)]==='string'&&(f['template'][n(0x16f)]=f[n(0x1ad)][n(0x16f)]===n(0x1a0)?!![]:![],this['fsi'][n(0x183)](n(0x16f),f[n(0x1ad)][n(0x16f)]));typeof f[n(0x1ad)]['test']===n(0x191)&&(f[n(0x1ad)][n(0x175)]=f[n(0x1ad)][n(0x175)]===n(0x1a0)?!![]:![],this[n(0x1a6)][n(0x183)](n(0x175),f['template']['test']));typeof f[n(0x1ad)][n(0x17b)]===n(0x191)&&(f['template'][n(0x17b)]=f[n(0x1ad)]['css']===n(0x1a0)?!![]:![],this[n(0x1a6)][n(0x183)](n(0x17b),f['template'][n(0x17b)]));typeof f[n(0x1ad)]['js']===n(0x191)&&(f[n(0x1ad)]['js']=f['template']['js']===n(0x1a0)?!![]:![],this[n(0x1a6)][n(0x183)]('js',f[n(0x1ad)]['js']));!f['features']&&(f['features']={});!b[n(0x177)]&&!this[n(0x1a6)]['checkNpmPackage'](n(0x189))&&(Log[n(0x170)](n(0x174)),this[n(0x1a6)]['installNpmPackage'](n(0x189),{'cwd':d}));const h={'name':pascalCase(b[n(0x16d)]),'myPath':a121e[n(0x194)](this['fsi'][n(0x1aa)]({}),e),'cssCaseName':paramCase(b[n(0x16d)]),'className':pascalCase(b[n(0x16d)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[n(0x16d)]),'graphql':f[n(0x182)][n(0x190)],'features':f['features'],'client':f[n(0x182)][n(0x17f)],'api':f[n(0x182)][n(0x16a)],'ssr':f[n(0x182)][n(0x186)],'isStore':b[n(0x19c)](n(0x17d)),'isComponent':b[n(0x19c)](n(0x19b)),'isLayout':b['hasOwnProperty'](n(0x171)),'withTranslations':f['features']['withTranslations'],'test':f[n(0x182)]['test'],'theme':f[n(0x182)]['theme']};f[n(0x1ad)]['html']&&await this[n(0x1a6)]['template']({'srcPath':n(0x192),'destPath':e+n(0x199),'context':h,'config':f});f[n(0x18a)]?.[n(0x1ac)]||b[n(0x19d)]?await this[n(0x1a6)][n(0x1ad)]({'srcPath':'hook/hook.js','destPath':e+'.js','framework':n(0x172),'context':h,'config':f}):await this[n(0x1a6)]['template']({'srcPath':n(0x187),'destPath':e+'.js','framework':n(0x172),'context':h,'config':f});f[n(0x182)][n(0x175)]!==n(0x1a2)&&await this['fsi'][n(0x1ad)]({'srcPath':n(0x188),'destPath':e+'.app-tests.js','framework':n(0x172),'context':h,'config':f});f[n(0x1ad)][n(0x17b)]&&await this[n(0x1a6)][n(0x1ad)]({'srcPath':'template/template.css','destPath':e+n(0x195),'context':Object[n(0x193)]({},h,{'className':paramCase(b[n(0x16d)])}),'config':f});f[n(0x182)][n(0x17f)]!==n(0x172)&&f['engines'][n(0x17f)]!==n(0x1a9)?(f[n(0x1ad)][n(0x17b)]&&await this[n(0x1a6)][n(0x178)]({'filePath':e+'.'+f[n(0x182)]['js'],'content':n(0x173)+h[n(0x198)]+'.'+f[n(0x182)]['html']+'\x27;\x0a'+n(0x173)+h[n(0x198)]+'.'+f[n(0x182)]['css']+'\x27;'}),!f[n(0x1ad)]['css']&&await this[n(0x1a6)][n(0x178)]({'filePath':e+'.'+f[n(0x182)]['js'],'content':n(0x173)+h[n(0x198)]+'.'+f[n(0x182)][n(0x16f)]+'\x27;'})):f[n(0x1ad)]['css']&&await this['fsi'][n(0x178)]({'filePath':e+'.'+f[n(0x182)]['js'],'content':n(0x173)+h[n(0x198)]+'.'+f[n(0x182)]['css']+'\x27;'});const i=b[n(0x1a5)]?'/'+b[n(0x1a5)]+'/':'/';g=''+c+i+h[n(0x198)]+'/'+h[n(0x198)],await this['fsi'][n(0x1a1)](h['className'],f,g),!b[n(0x177)]&&await a121f[n(0x184)]('route',[i+b[n(0x16d)]],b);}),g+'.'+f[m(0x182)]['js'];});
1
+ const a121l=a121d;(function(a,b){const j=a121d,c=a();while(!![]){try{const d=parseInt(j(0x1a6))/0x1+-parseInt(j(0x19d))/0x2*(parseInt(j(0x1a2))/0x3)+-parseInt(j(0x1b3))/0x4*(parseInt(j(0x1ab))/0x5)+-parseInt(j(0x195))/0x6*(parseInt(j(0x1c4))/0x7)+parseInt(j(0x1a3))/0x8+-parseInt(j(0x1ba))/0x9+parseInt(j(0x19c))/0xa*(parseInt(j(0x1c3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x533e6));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 k=a121d;return a121a[k(0x1d0)]()[k(0x18f)]('(((.+)+)+)+$')['toString']()[k(0x18d)](a121a)[k(0x18f)](k(0x1a8));});a121a();import a121e from'path';function a121c(){const o=['create','template','true','dir','toString','warn','maka\x20g:page\x20todos/todos-item','css','hook/hook.js','component','components','setTemplate','constructor','pathFromApp','search','hasOwnProperty','fileName','resourceName','/imports/ui/','className','548670HtORQk','component/component.js','withTranslations','baseDir','layouts','.app-tests.js','fsi','10OhZAJL','2jxUdgb','Updating\x20npm\x20packages\x20...','string','template/template.html','processAndRunGenerator','878649lcOIov','1709192rxuyex','client','html','522390AhEEht','.js','(((.+)+)+)+$','template/template.css','engines','5AvhmPD','page','withHook','injectTemplateModule','test','features','\x27;\x0a','pages','522456xfztgb','withHooks','pathFromProject','installNpmPackage','graphql','root','ramda','5098815WXaPac','getMakaProjectConfig','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','.html','assign','ssr','none','react','/imports/ui/pages','12579919NzVwHF','42fCSUII','checkNpmPackage','hooks','injectAtBeginningOfFile','import\x20\x27./','withValue','layout','api'];a121c=function(){return o;};return a121c();}import{Generator}from'../generator.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x18a;let f=c[d];return f;},a121d(a,b);}import{Log}from'../tools/log/log.class.js';import a121f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a121l(0x1cc)]({'name':a121l(0x1ac),'aliases':aliases,'usage':a121l(0x1bc),'shortDesc':'Generate\x20a\x20page.','validOpts':[{'name':a121l(0x198),'values':[a121l(0x1c6),a121l(0x18b),a121l(0x1b2),a121l(0x199)]},{'name':'withHook','boolFlag':!![]}],'examples':[a121l(0x1d2)]},async function(a,b){const m=a121l,c=b[m(0x198)]?m(0x193)+b['baseDir']:m(0x1c2),d=this[m(0x19b)]['pathFromApp'](b),e=this[m(0x19b)][m(0x18e)]({'pathParts':[c,b[m(0x1cf)],paramCase(b[m(0x192)]),paramCase(b[m(0x192)])]}),f=this[m(0x19b)][m(0x1bb)]();let g='';return await this[m(0x19b)][m(0x1c9)](f,async()=>{const n=m;typeof f[n(0x1cd)][n(0x1a5)]==='string'&&(f[n(0x1cd)][n(0x1a5)]=f['template'][n(0x1a5)]===n(0x1ce)?!![]:![],this[n(0x19b)][n(0x18c)](n(0x1a5),f[n(0x1cd)][n(0x1a5)]));typeof f[n(0x1cd)][n(0x1af)]==='string'&&(f[n(0x1cd)][n(0x1af)]=f[n(0x1cd)]['test']===n(0x1ce)?!![]:![],this[n(0x19b)]['setTemplate'](n(0x1af),f['template'][n(0x1af)]));typeof f[n(0x1cd)][n(0x1d3)]==='string'&&(f[n(0x1cd)][n(0x1d3)]=f[n(0x1cd)][n(0x1d3)]==='true'?!![]:![],this[n(0x19b)][n(0x18c)](n(0x1d3),f['template']['css']));typeof f[n(0x1cd)]['js']===n(0x19f)&&(f[n(0x1cd)]['js']=f[n(0x1cd)]['js']===n(0x1ce)?!![]:![],this[n(0x19b)][n(0x18c)]('js',f[n(0x1cd)]['js']));!f[n(0x1b0)]&&(f[n(0x1b0)]={});!b['root']&&!this[n(0x19b)][n(0x1c5)](n(0x1b9))&&(Log[n(0x1d1)](n(0x19e)),this[n(0x19b)][n(0x1b6)](n(0x1b9),{'cwd':d}));const h={'name':pascalCase(b['resourceName']),'myPath':a121e['relative'](this[n(0x19b)][n(0x1b5)]({}),e),'cssCaseName':paramCase(b[n(0x192)]),'className':pascalCase(b[n(0x192)]),'camelCaseName':camelCase(b[n(0x192)]),'fileName':paramCase(b['resourceName']),'graphql':f[n(0x1aa)][n(0x1b7)],'features':f[n(0x1b0)],'client':f[n(0x1aa)]['client'],'api':f[n(0x1aa)][n(0x1cb)],'ssr':f[n(0x1aa)][n(0x1bf)],'isStore':b[n(0x190)]('store'),'isComponent':b[n(0x190)](n(0x18a)),'isLayout':b[n(0x190)](n(0x1ca)),'withTranslations':f[n(0x1b0)][n(0x197)],'test':f[n(0x1aa)][n(0x1af)],'theme':f[n(0x1aa)]['theme']};f['template'][n(0x1a5)]&&await this[n(0x19b)][n(0x1cd)]({'srcPath':n(0x1a0),'destPath':e+n(0x1bd),'context':h,'config':f});f[n(0x1b0)]?.[n(0x1b4)]||b[n(0x1ad)]?await this[n(0x19b)][n(0x1cd)]({'srcPath':n(0x1d4),'destPath':e+n(0x1a7),'framework':n(0x1c1),'context':h,'config':f}):await this[n(0x19b)][n(0x1cd)]({'srcPath':n(0x196),'destPath':e+n(0x1a7),'framework':n(0x1c1),'context':h,'config':f});f[n(0x1aa)]['test']!==n(0x1c0)&&await this[n(0x19b)][n(0x1cd)]({'srcPath':'test/test.js','destPath':e+n(0x19a),'framework':n(0x1c1),'context':h,'config':f});f[n(0x1cd)]['css']&&await this[n(0x19b)][n(0x1cd)]({'srcPath':n(0x1a9),'destPath':e+'.css','context':Object[n(0x1be)]({},h,{'className':paramCase(b['resourceName'])}),'config':f});f[n(0x1aa)]['client']!==n(0x1c1)&&f[n(0x1aa)][n(0x1a4)]!=='vanilla'?(f[n(0x1cd)]['css']&&await this['fsi'][n(0x1c7)]({'filePath':e+'.'+f[n(0x1aa)]['js'],'content':n(0x1c8)+h[n(0x191)]+'.'+f[n(0x1aa)][n(0x1a5)]+n(0x1b1)+n(0x1c8)+h[n(0x191)]+'.'+f[n(0x1aa)]['css']+'\x27;'}),!f['template']['css']&&await this[n(0x19b)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[n(0x1aa)]['js'],'content':n(0x1c8)+h[n(0x191)]+'.'+f['engines'][n(0x1a5)]+'\x27;'})):f['template']['css']&&await this[n(0x19b)][n(0x1c7)]({'filePath':e+'.'+f[n(0x1aa)]['js'],'content':n(0x1c8)+h['fileName']+'.'+f[n(0x1aa)]['css']+'\x27;'});const i=b[n(0x1cf)]?'/'+b[n(0x1cf)]+'/':'/';g=''+c+i+h[n(0x191)]+'/'+h['fileName'],await this[n(0x19b)][n(0x1ae)](h[n(0x194)],f,g),!b[n(0x1b8)]&&await a121f[n(0x1a1)]('route',[i+b[n(0x192)]],b);}),g+'.'+f[m(0x1aa)]['js'];});
@@ -1 +1 @@
1
- const a122k=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=-parseInt(h(0xe1))/0x1*(-parseInt(h(0xf4))/0x2)+-parseInt(h(0xe7))/0x3+parseInt(h(0xe2))/0x4+parseInt(h(0xe6))/0x5+parseInt(h(0xef))/0x6*(parseInt(h(0xe5))/0x7)+parseInt(h(0xee))/0x8*(parseInt(h(0xf2))/0x9)+-parseInt(h(0xf6))/0xa*(parseInt(h(0xec))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0x8c051));function a122c(){const n=['apply','publish','9tQRJHT','getMakaProjectConfig','138chTVcp','maka\x20g:publish\x20todos','3210LkUyTl','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','fsi','publish/publish.','withValue','(((.+)+)+)+$','11217hewkpj','3053396UkPwOj','search','toString','2744791MHlJHz','4537315IDhyit','2207586YwPXqw','create','resourceName','tsx','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','58498ZRIOac','engines','1436504WkndnL','6dIIxIz'];a122c=function(){return n;};return a122c();}const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a122d;if(c){const e=c[i(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const j=a122d;return a122a[j(0xe4)]()[j(0xe3)](j(0xe0))['toString']()['constructor'](a122a)[j(0xe3)](j(0xe0));});function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xdd;let f=c[d];return f;},a122d(a,b);}a122a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a122k(0xe8)]({'name':a122k(0xf1),'aliases':['p'],'usage':a122k(0xeb),'shortDesc':a122k(0xf7),'validOpts':[],'examples':[a122k(0xf5)]},async function(a,b){const l=a122k,c=this['fsi'][l(0xf3)]();await this['fsi'][l(0xdf)](c,async()=>{const m=l,d={'name':b[m(0xe9)],'collection':paramCase(b[m(0xe9)]),'noRename':!![]};let e='js';c[m(0xed)]['js']===m(0xea)&&(e='ts');const f=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':['server/publish.'+c['engines']['js']]}),g=this[m(0xdd)]['templateContent']({'srcPath':m(0xde)+e,'context':d,'config':c});await this[m(0xdd)]['injectAtEndOfFile']({'filePath':f,'content':'\x0a'+g});});});
1
+ function a122d(a,b){const c=a122c();return a122d=function(d,e){d=d-0xf3;let f=c[d];return f;},a122d(a,b);}const a122j=a122d;(function(a,b){const h=a122d,c=a();while(!![]){try{const d=-parseInt(h(0xf9))/0x1*(parseInt(h(0x106))/0x2)+parseInt(h(0x10c))/0x3*(parseInt(h(0xfc))/0x4)+-parseInt(h(0xff))/0x5*(parseInt(h(0x105))/0x6)+parseInt(h(0xf5))/0x7+parseInt(h(0x102))/0x8*(-parseInt(h(0xf6))/0x9)+-parseInt(h(0xfb))/0xa+parseInt(h(0x107))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xbc610));const a122b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){const i=a122d;return a122a['toString']()['search'](i(0xf3))[i(0x100)]()['constructor'](a122a)[i(0x10a)](i(0xf3));});a122a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a122j(0xfd)]({'name':a122j(0xf4),'aliases':['p'],'usage':a122j(0x108),'shortDesc':a122j(0x101),'validOpts':[],'examples':['maka\x20g:publish\x20todos']},async function(a,b){const k=a122j,c=this[k(0xf8)][k(0xf7)]();await this[k(0xf8)]['withValue'](c,async()=>{const l=k,d={'name':b[l(0x104)],'collection':paramCase(b[l(0x104)]),'noRename':!![]};let e='js';c[l(0x103)]['js']==='tsx'&&(e='ts');const f=this[l(0xf8)]['rewriteDestinationPathForEngine']({'pathParts':[l(0xfa)+c[l(0x103)]['js']]}),g=this[l(0xf8)][l(0x10b)]({'srcPath':l(0xfe)+e,'context':d,'config':c});await this[l(0xf8)][l(0x109)]({'filePath':f,'content':'\x0a'+g});});});function a122c(){const m=['1522496JNvVTu','14586297LjffwE','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','injectAtEndOfFile','search','templateContent','2124459DUFFbH','(((.+)+)+)+$','publish','9529919WPulmr','215379TQKzjB','getMakaProjectConfig','fsi','1QGUWrS','server/publish.','7730980iapDzY','4omQnpb','create','publish/publish.','15Smjkbj','toString','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','56WBsyFD','engines','resourceName','1844268fOmSRb'];a122c=function(){return m;};return a122c();}
@@ -1 +1 @@
1
- const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=parseInt(y(0xfe))/0x1*(-parseInt(y(0xea))/0x2)+parseInt(y(0x11b))/0x3*(parseInt(y(0x10e))/0x4)+parseInt(y(0x113))/0x5+-parseInt(y(0xe6))/0x6+-parseInt(y(0x118))/0x7+parseInt(y(0xe1))/0x8+parseInt(y(0x109))/0x9*(parseInt(y(0xe9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x8c176));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a123d;if(c){const e=c[z(0x136)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const A=a123d;return a123a[A(0x115)]()[A(0xf3)]('(((.+)+)+)+$')[A(0x115)]()[A(0xe4)](a123a)['search'](A(0x119));});a123a();import a123e from'path';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0xe1;let f=c[d];return f;},a123d(a,b);}function a123c(){const K=['route','1428658CJVUrl','(((.+)+)+)+$','react','9YxXyuq','length','getMakaProjectConfig','Scaffolding\x20for\x20a\x20Route.','rewriteDestinationPathForEngine','engines','components','fsi','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','injectIntoFile','only','resourceName','pathFromApp','pathFromProject','<Route','injectAfterLineNumber','true','\x20already\x20exists.\x20\x20Skipping.','readFileLines','pop','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','filter','cwd','baseDir','templateName','config','private','apply','6139392hjERfD','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','imports','constructor','withHook','982434juWNvj','PrivateLayout','maka\x20g:route\x20todosEdit\x20todos/:id/edit','410790XFrJOi','58cHcVho','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','\x22*\x22','route/route.js','const\x20privateRoutes\x20=\x20(<>','newForm','const\x20publicRoutes\x20=\x20(<>','join','dir','search','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','maka\x20g:route\x20todosIndex\x20todos','layout','<Router','Adding\x20route\x20','map','</Router>','MasterLayout','Valid\x20options\x20are:\x20','routes.js','26053LYUCko','\x20to\x20','maka\x20g:route\x20pages/about','Route\x20','templateContent','layouts','client','split','info','error','root','72tfUDhW','replace','includes','lib','/imports/ui/pages','715948SWFKNF','withValue','url','fileContainsString','startup','320835MkjfkJ','\x0a\x09\x09','toString','indexOf'];a123c=function(){return K;};return a123c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator['create']({'name':a123B(0x117),'aliases':aliases,'validOpts':[a123B(0x135),a123B(0xf6),a123B(0x125),a123B(0x131),a123B(0x134),a123B(0x108),a123B(0xe5),a123B(0x110),a123B(0x132)],'usage':a123B(0xf4),'shortDesc':a123B(0x11e),'examples':[a123B(0xf5),a123B(0xe8),a123B(0x12f),'maka\x20g:route\x20pages/lists/listIndex\x20lists',a123B(0x100)]},async function(a,b){const C=a123B;try{const c=['hooks',C(0x121),'pages',C(0x103)];if(b[C(0x132)]&&!c[C(0x10b)](b['baseDir'])){Log[C(0x107)]('Invalid\x20directory\x20option\x20\x22'+b[C(0x132)]+'\x22'),Log[C(0x107)](C(0xfc)+c[C(0xf1)](',\x20'));throw new UsageError();}const d=this['fsi'][C(0x11d)]();await this[C(0x122)][C(0x10f)](d,async()=>{const D=C,f=b[D(0x135)]??![];let g=b['resourceName'][D(0x105)]('/')[D(0x12e)]();if(!g){Log[D(0x107)](D(0xeb));throw new UsageError();}g=pascalCase(g);let h='/'+b[D(0x126)];a[D(0x11c)]>0x1&&(h='/'+a[D(0x130)](function(n){return n!=='/';})['join']('/')['toLowerCase']());h=h[D(0x10a)](/\/\//g,'/');b[D(0xf6)]&&(b[D(0xf6)]=camelCase(b['layout']));const i=b[D(0x132)]?'/imports/ui/'+b[D(0x132)]:D(0x10d),j=a123e[D(0xf1)](i,b[D(0xf2)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b[D(0xf6)]||D(0xfb),'templatePath':j,'templateName':pascalCase(g),'client':d['engines']['client'],'newForm':![],'withTranslations':d['features']['withTranslations']};f&&(k[D(0xf6)]=D(0xe7));let l,m;if(d[D(0x120)][D(0x104)]==='react'){if(d[D(0x120)]['ssr']===D(0x12b)){const r=this['fsi'][D(0x127)]({'pathParts':[D(0xe3),D(0x112),D(0x10c),D(0xfd)]});l=this[D(0x122)][D(0x11f)]({'pathParts':[r],'config':d});}else{const s=this['fsi'][D(0x127)]({'pathParts':[D(0xe3),D(0x112),D(0x104),D(0xfd)]});l=this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[s],'config':d});}const n=await this[D(0x122)][D(0x111)](l,g);if(n){Log['warn'](D(0x101)+g+D(0x12c));return;}else{const t=this[D(0x122)][D(0x128)](l);Log[D(0x106)](D(0xf8)+g+D(0xff)+l['replace'](t,''));}const o=this[D(0x122)][D(0x12d)](l)['map']((u,v)=>{const E=D;return u[E(0x10b)](E(0xe2))?v+0x1:null;})['filter'](u=>u!==null);let p=this['fsi'][D(0x12d)](l)[D(0xf9)]((u,v)=>{const F=D;return u[F(0x10b)](F(0xf0))?v+0x1:null;})[D(0x130)](u=>u!==null),q=this[D(0x122)]['readFileLines'](l)['map']((u,v)=>{const G=D;return u[G(0x10b)](G(0xee))?v+0x1:null;})['filter'](u=>u!==null);p[D(0x11c)]>0x0&&q[D(0x11c)]>0x0&&(k[D(0xef)]=!![]);m=this['fsi'][D(0x102)]({'srcPath':D(0xed),'framework':D(0x11a),'context':k,'config':d});if(p[D(0x11c)]>0x0||q[D(0x11c)]>0x0){this['fsi'][D(0x12a)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q[D(0x11c)]>0x0)q=this['fsi'][D(0x12d)](l)[D(0xf9)]((u,v)=>{const H=D;return u[H(0x10b)](H(0xee))?v+0x1:null;})[D(0x130)](u=>u!==null),this[D(0x122)][D(0x12a)]({'filePath':l,'content':'\x09{'+k[D(0x133)]+'}','lineNumber':q[0x0]});else p[D(0x11c)]>0x0?(p=this['fsi'][D(0x12d)](l)[D(0xf9)]((u,v)=>{const I=D;return u[I(0x10b)](I(0xf0))?v+0x1:null;})[D(0x130)](u=>u!==null),this[D(0x122)][D(0x12a)]({'filePath':l,'content':'\x09{'+k[D(0x133)]+'}','lineNumber':p[0x0]})):Log['warn'](D(0x123)+l);}else{const u=this[D(0x122)][D(0x12d)](l)[D(0xf9)](x=>{const J=D;return x[J(0x10b)](J(0xec));}),v=u[D(0x116)](!![])>-0x1,w=v?D(0x129):D(0xfa);await this['fsi'][D(0x124)]({'filePath':l,'content':D(0x114)+m+D(0x114),'begin':D(0xf7),'end':w});}}else{if(d[D(0x120)]['client']==='vanilla'){const x=this[D(0x122)][D(0x127)]({'pathParts':[D(0xe3),D(0x112),D(0x104),D(0xfd)]});l=this[D(0x122)]['rewriteDestinationPathForEngine']({'pathParts':[x],'config':d}),m=this[D(0x122)][D(0x102)]({'srcPath':D(0xed),'context':k}),await this[D(0x122)]['injectAtEndOfFile']({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[C(0x107)](f);}});
1
+ const a123B=a123d;(function(a,b){const y=a123d,c=a();while(!![]){try{const d=-parseInt(y(0x190))/0x1+parseInt(y(0x18a))/0x2*(-parseInt(y(0x16f))/0x3)+-parseInt(y(0x1c1))/0x4*(-parseInt(y(0x1a4))/0x5)+parseInt(y(0x16e))/0x6*(-parseInt(y(0x1be))/0x7)+-parseInt(y(0x18f))/0x8*(parseInt(y(0x1bb))/0x9)+-parseInt(y(0x182))/0xa*(parseInt(y(0x195))/0xb)+parseInt(y(0x188))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x5f323));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const z=a123d;if(c){const e=c[z(0x19a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const A=a123d;return a123a[A(0x1a7)]()['search'](A(0x193))['toString']()[A(0x1ac)](a123a)[A(0x19d)](A(0x193));});a123a();import a123e from'path';import{Generator}from'../generator.js';function a123c(){const K=['search','/imports/ui/','layout','PrivateLayout','includes','routes.js','pages','5965OJcxpz','startup','cwd','toString','engines','Adding\x20route\x20','injectAtEndOfFile','/imports/ui/pages','constructor','newForm','getMakaProjectConfig','const\x20publicRoutes\x20=\x20(<>','resourceName','\x20already\x20exists.\x20\x20Skipping.','pathFromApp','maka\x20g:route\x20pages/about','hooks','pop','filter','split','private','lib','templateName','1943433zXYTGG','ssr','dir','329KsmhRL','injectAfterLineNumber','\x20to\x20','332nofdPT','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>','43116CwfAzd','225tMPepZ','imports','baseDir','fileContainsString','config','templateContent','\x0a\x09\x09','url','MasterLayout','warn','info','error','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','route','replace','react','rewriteDestinationPathForEngine','components','withHook','10EjxGHW','Scaffolding\x20for\x20a\x20Route.','readFileLines','client','length','Valid\x20options\x20are:\x20','23610036sHgnNG','fsi','9838kqVyMZ','true','layouts','indexOf','route/route.js','8fgIEfX','65368bIrVbw','map','Invalid\x20directory\x20option\x20\x22','(((.+)+)+)+$','const\x20privateRoutes\x20=\x20(<>','7574897WzlALE','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','join','create','maka\x20g:route\x20todosEdit\x20todos/:id/edit','apply','only','injectIntoFile'];a123c=function(){return K;};return a123c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x16d;let f=c[d];return f;},a123d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a123B(0x198)]({'name':a123B(0x17c),'aliases':aliases,'validOpts':[a123B(0x1b8),a123B(0x19f),a123B(0x19b),a123B(0x1a6),a123B(0x173),'root',a123B(0x181),a123B(0x176),a123B(0x171)],'usage':a123B(0x16d),'shortDesc':a123B(0x183),'examples':['maka\x20g:route\x20todosIndex\x20todos',a123B(0x199),'maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','maka\x20g:route\x20pages/lists/listIndex\x20lists',a123B(0x1b3)]},async function(a,b){const C=a123B;try{const c=[C(0x1b4),C(0x180),C(0x1a3),C(0x18c)];if(b['baseDir']&&!c[C(0x1a1)](b[C(0x171)])){Log[C(0x17a)](C(0x192)+b[C(0x171)]+'\x22'),Log[C(0x17a)](C(0x187)+c[C(0x197)](',\x20'));throw new UsageError();}const d=this['fsi'][C(0x1ae)]();await this['fsi']['withValue'](d,async()=>{const D=C,f=b[D(0x1b8)]??![];let g=b[D(0x1b0)][D(0x1b7)]('/')[D(0x1b5)]();if(!g){Log[D(0x17a)](D(0x196));throw new UsageError();}g=pascalCase(g);let h='/'+b[D(0x1b0)];a[D(0x186)]>0x1&&(h='/'+a[D(0x1b6)](function(n){return n!=='/';})[D(0x197)]('/')['toLowerCase']());h=h[D(0x17d)](/\/\//g,'/');b[D(0x19f)]&&(b[D(0x19f)]=camelCase(b[D(0x19f)]));const i=b[D(0x171)]?D(0x19e)+b[D(0x171)]:D(0x1ab),j=a123e[D(0x197)](i,b[D(0x1bd)],g,paramCase(g)),k={'name':g,'fileCase':paramCase(g),'camelCaseName':camelCase(g),'url':h,'layout':b['layout']||D(0x177),'templatePath':j,'templateName':pascalCase(g),'client':d[D(0x1a8)]['client'],'newForm':![],'withTranslations':d['features']['withTranslations']};f&&(k[D(0x19f)]=D(0x1a0));let l,m;if(d[D(0x1a8)][D(0x185)]===D(0x17e)){if(d[D(0x1a8)][D(0x1bc)]===D(0x18b)){const r=this[D(0x189)][D(0x1b2)]({'pathParts':[D(0x170),D(0x1a5),D(0x1b9),'routes.js']});l=this['fsi'][D(0x17f)]({'pathParts':[r],'config':d});}else{const s=this['fsi']['pathFromApp']({'pathParts':['imports',D(0x1a5),D(0x185),D(0x1a2)]});l=this['fsi'][D(0x17f)]({'pathParts':[s],'config':d});}const n=await this['fsi'][D(0x172)](l,g);if(n){Log[D(0x178)]('Route\x20'+g+D(0x1b1));return;}else{const t=this[D(0x189)]['pathFromProject'](l);Log[D(0x179)](D(0x1a9)+g+D(0x1c0)+l[D(0x17d)](t,''));}const o=this['fsi'][D(0x184)](l)[D(0x191)]((u,v)=>{const E=D;return u['includes'](E(0x17b))?v+0x1:null;})['filter'](u=>u!==null);let p=this[D(0x189)][D(0x184)](l)['map']((u,v)=>{const F=D;return u[F(0x1a1)](F(0x1af))?v+0x1:null;})['filter'](u=>u!==null),q=this['fsi']['readFileLines'](l)['map']((u,v)=>{const G=D;return u['includes'](G(0x194))?v+0x1:null;})[D(0x1b6)](u=>u!==null);p[D(0x186)]>0x0&&q[D(0x186)]>0x0&&(k[D(0x1ad)]=!![]);m=this[D(0x189)][D(0x174)]({'srcPath':D(0x18e),'framework':'react','context':k,'config':d});if(p[D(0x186)]>0x0||q[D(0x186)]>0x0){this[D(0x189)][D(0x1bf)]({'filePath':l,'content':m,'lineNumber':o[0x0]});if(f&&q['length']>0x0)q=this[D(0x189)][D(0x184)](l)[D(0x191)]((u,v)=>{const H=D;return u[H(0x1a1)](H(0x194))?v+0x1:null;})[D(0x1b6)](u=>u!==null),this[D(0x189)][D(0x1bf)]({'filePath':l,'content':'\x09{'+k[D(0x1ba)]+'}','lineNumber':q[0x0]});else p[D(0x186)]>0x0?(p=this[D(0x189)]['readFileLines'](l)[D(0x191)]((u,v)=>{const I=D;return u[I(0x1a1)](I(0x1af))?v+0x1:null;})[D(0x1b6)](u=>u!==null),this[D(0x189)]['injectAfterLineNumber']({'filePath':l,'content':'\x09{'+k['templateName']+'}','lineNumber':p[0x0]})):Log['warn']('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+l);}else{const u=this[D(0x189)][D(0x184)](l)[D(0x191)](x=>{const J=D;return x[J(0x1a1)]('\x22*\x22');}),v=u[D(0x18d)](!![])>-0x1,w=v?'<Route':'</Router>';await this[D(0x189)][D(0x19c)]({'filePath':l,'content':'\x0a\x09\x09'+m+D(0x175),'begin':'<Router','end':w});}}else{if(d[D(0x1a8)][D(0x185)]==='vanilla'){const x=this[D(0x189)][D(0x1b2)]({'pathParts':[D(0x170),D(0x1a5),D(0x185),D(0x1a2)]});l=this['fsi'][D(0x17f)]({'pathParts':[x],'config':d}),m=this[D(0x189)][D(0x174)]({'srcPath':'route/route.js','context':k}),await this['fsi'][D(0x1aa)]({'filePath':l,'content':'\x0a'+m});}}});}catch(f){Log[C(0x17a)](f);}});
@@ -1 +1 @@
1
- const a124m=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=parseInt(j(0x187))/0x1*(-parseInt(j(0x18a))/0x2)+parseInt(j(0x18f))/0x3*(-parseInt(j(0x196))/0x4)+-parseInt(j(0x17d))/0x5*(-parseInt(j(0x192))/0x6)+-parseInt(j(0x186))/0x7+parseInt(j(0x19b))/0x8*(-parseInt(j(0x18e))/0x9)+-parseInt(j(0x19f))/0xa*(parseInt(j(0x1a1))/0xb)+parseInt(j(0x199))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xb93e7));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a124d;if(c){const e=c[k(0x18c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const l=a124d;return a124a[l(0x19d)]()[l(0x180)]('(((.+)+)+)+$')[l(0x19d)]()['constructor'](a124a)['search']('(((.+)+)+)+$');});a124a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x17d;let f=c[d];return f;},a124d(a,b);}import{Log}from'../tools/log/log.class.js';function a124c(){const p=['9dviHhm','fsi','type','192378qtmXtz','logger','pathFromApp','error','1183636YpgXap','lib','installNpmPackage','39794376VcfRnv','service/logger/logger.js','81304SJIaDw','winston','toString','maka\x20{generate,\x20g}:{service}\x20<resource-name>','310OVMkjK','checkNpmPackage','37191fEVGmU','45enbZBC','Installing\x20winston','withValue','search','resourceName','startup','winston\x20setimmediate','engines','tsx','2518474Znekem','1bdzOBQ','create','services','2479222wyFRqn','service','apply','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','225GolcOE'];a124c=function(){return p;};return a124c();}Generator[a124m(0x188)]({'name':a124m(0x18b),'aliases':['svc'],'usage':a124m(0x19e),'shortDesc':a124m(0x18d),'requiredOpts':[{'name':a124m(0x191),'values':[a124m(0x193)]}],'validOpts':[],'maxArgLength':0x1,'examples':['maka\x20g:svc\x20service-logger\x20--type=logger']},async function(a,b){const n=a124m;try{const c=this[n(0x190)]['getMakaProjectConfig']();await this[n(0x190)][n(0x17f)](c,async()=>{const o=n,d=this[o(0x190)][o(0x194)]({}),f=paramCase(b['resourceName']),g={'name':pascalCase(b[o(0x181)]),'fileName':f,'camelCase':camelCase(b['resourceName']),'type':b[o(0x191)],'engine':c[o(0x184)]['js'],'noRename':!![]};let h='js';c['engines']['js']===o(0x185)&&(h='ts');if(b[o(0x191)]==='logger'){!this[o(0x190)][o(0x1a0)](o(0x19c))&&await this['fsi'][o(0x198)](o(0x183),{'cwd':d,'msg':o(0x17e)});const i=this[o(0x190)][o(0x194)]({'pathParts':['imports',o(0x182),o(0x197),o(0x189),f+'.'+h]});await this[o(0x190)]['template']({'srcPath':o(0x19a),'destPath':i,'context':g,'config':c});}});}catch(d){Log[n(0x195)](d);}});
1
+ const a124l=a124d;(function(a,b){const j=a124d,c=a();while(!![]){try{const d=-parseInt(j(0x1d8))/0x1*(parseInt(j(0x1f2))/0x2)+parseInt(j(0x1f4))/0x3*(parseInt(j(0x1df))/0x4)+parseInt(j(0x1d2))/0x5*(-parseInt(j(0x1e7))/0x6)+-parseInt(j(0x1db))/0x7*(-parseInt(j(0x1d7))/0x8)+parseInt(j(0x1da))/0x9+parseInt(j(0x1d4))/0xa*(-parseInt(j(0x1e6))/0xb)+parseInt(j(0x1f5))/0xc*(-parseInt(j(0x1cf))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0xdd4ff));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 k=a124d;return a124a[k(0x1dd)]()[k(0x1d1)]('(((.+)+)+)+$')[k(0x1dd)]()[k(0x1dc)](a124a)[k(0x1d1)](k(0x1ef));});function a124c(){const o=['service','104GikpuO','error','template','logger','withValue','engines','create','564883mBUnHo','4081368KPukEz','fsi','maka\x20{generate,\x20g}:{service}\x20<resource-name>','Generate\x20a\x20service\x20to\x20run\x20within\x20your\x20meteor\x20application.','checkNpmPackage','lib','getMakaProjectConfig','resourceName','(((.+)+)+)+$','services','installNpmPackage','8gskMCe','type','65874OYePyR','11376qTySTV','10699ZaoCAR','Installing\x20winston','search','5DzARHS','imports','110ZRggUW','service/logger/logger.js','pathFromApp','11810376cHhtbK','106622JURQEy','svc','11799837JAzxBg','7aSNrmP','constructor','toString'];a124c=function(){return o;};return a124c();}a124a();import{camelCase,paramCase,pascalCase}from'change-case';function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x1cf;let f=c[d];return f;},a124d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator[a124l(0x1e5)]({'name':a124l(0x1de),'aliases':[a124l(0x1d9)],'usage':a124l(0x1e9),'shortDesc':a124l(0x1ea),'requiredOpts':[{'name':a124l(0x1f3),'values':[a124l(0x1e2)]}],'validOpts':[],'maxArgLength':0x1,'examples':['maka\x20g:svc\x20service-logger\x20--type=logger']},async function(a,b){const m=a124l;try{const c=this['fsi'][m(0x1ed)]();await this[m(0x1e8)][m(0x1e3)](c,async()=>{const n=m,d=this[n(0x1e8)]['pathFromApp']({}),f=paramCase(b[n(0x1ee)]),g={'name':pascalCase(b[n(0x1ee)]),'fileName':f,'camelCase':camelCase(b[n(0x1ee)]),'type':b[n(0x1f3)],'engine':c['engines']['js'],'noRename':!![]};let h='js';c[n(0x1e4)]['js']==='tsx'&&(h='ts');if(b['type']===n(0x1e2)){!this[n(0x1e8)][n(0x1eb)]('winston')&&await this['fsi'][n(0x1f1)]('winston\x20setimmediate',{'cwd':d,'msg':n(0x1d0)});const i=this[n(0x1e8)][n(0x1d6)]({'pathParts':[n(0x1d3),'startup',n(0x1ec),n(0x1f0),f+'.'+h]});await this[n(0x1e8)][n(0x1e1)]({'srcPath':n(0x1d5),'destPath':i,'context':g,'config':c});}});}catch(d){Log[m(0x1e0)](d);}});
@@ -1 +1 @@
1
- function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x11f;var f=c[d];return f;},a125d(a,b);}(function(a,b){var f=a125d,c=a();while(!![]){try{var d=parseInt(f(0x123))/0x1*(parseInt(f(0x12a))/0x2)+-parseInt(f(0x127))/0x3*(parseInt(f(0x129))/0x4)+parseInt(f(0x126))/0x5+-parseInt(f(0x124))/0x6*(-parseInt(f(0x121))/0x7)+-parseInt(f(0x122))/0x8+parseInt(f(0x120))/0x9*(-parseInt(f(0x125))/0xa)+parseInt(f(0x11f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x588bf));var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x128)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a['toString']()['search']('(((.+)+)+)+$')['toString']()[h(0x12c)](a125a)[h(0x12b)]('(((.+)+)+)+$');});a125a();import'./translation.js';function a125c(){var i=['98180Bxibss','search','constructor','5192330BZhEuC','5084757ceYTDM','4568018fHUnda','3715304EHjCHk','1vvDbBR','6HVhWzk','10AbDInL','3609030IlDvjF','3yZFkov','apply','2013708PXyhiJ'];a125c=function(){return i;};return a125c();}import'./openssl.js';
1
+ (function(a,b){var f=a125d,c=a();while(!![]){try{var d=-parseInt(f(0x1f9))/0x1*(-parseInt(f(0x1fd))/0x2)+parseInt(f(0x1fb))/0x3*(parseInt(f(0x1fc))/0x4)+parseInt(f(0x1f7))/0x5*(parseInt(f(0x1f6))/0x6)+parseInt(f(0x1f3))/0x7+parseInt(f(0x1fe))/0x8*(-parseInt(f(0x1f4))/0x9)+-parseInt(f(0x1f8))/0xa+-parseInt(f(0x1f5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x476d0));function a125c(){var i=['29405xrYeLH','4673970issbYr','4493ReaOAW','constructor','46695ZFRSsj','148ihhpMt','146uBvEZC','2815304ggCEVA','apply','(((.+)+)+)+$','toString','search','3377962FcseUR','9VVzvfO','4896529zvokOn','174CppHdj'];a125c=function(){return i;};return a125c();}var a125b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a125d;if(c){var e=c[g(0x1ff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){var h=a125d;return a125a[h(0x201)]()[h(0x1f2)](h(0x200))[h(0x201)]()[h(0x1fa)](a125a)[h(0x1f2)](h(0x200));});a125a();function a125d(a,b){var c=a125c();return a125d=function(d,e){d=d-0x1f2;var f=c[d];return f;},a125d(a,b);}import'./translation.js';import'./openssl.js';
@@ -1 +1 @@
1
- const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=parseInt(i(0x123))/0x1*(parseInt(i(0x124))/0x2)+-parseInt(i(0x11f))/0x3+parseInt(i(0x117))/0x4+-parseInt(i(0x11b))/0x5*(parseInt(i(0x121))/0x6)+parseInt(i(0x10e))/0x7+-parseInt(i(0x10b))/0x8+parseInt(i(0x10f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x2581d));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a126d;if(c){const e=c[j(0x116)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const k=a126d;return a126a[k(0x11d)]()[k(0x113)](k(0x115))[k(0x11d)]()[k(0x10c)](a126a)[k(0x113)](k(0x115));});a126a();function a126c(){const o=['1504376AMaMYS','constructor','_keys','1397935wYLtlR','237906KTjqSX','create','fsi','env','search','maka\x20g:sslconfig\x20--env\x20dev','(((.+)+)+)+$','apply','827584PZeqcA','openssl/openssl.conf','Generate\x20a\x20new\x20openssl\x20config\x20file','template','5HMExPY','join','toString','getAppConfigPath','762912iVXNVs','getGlobalConfig','484896GlpmJs','openssl.conf','34823vXqVKg','14TozMfP'];a126c=function(){return o;};return a126c();}import{Generator}from'../../generator.js';function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x10b;let f=c[d];return f;},a126d(a,b);}import{Log}from'../../tools/log/log.class.js';import a126e from'path';Generator[a126l(0x110)]({'name':'sslconfig','usage':'maka\x20{generate,\x20g}:sslconfig','shortDesc':a126l(0x119),'noNeedResource':!![],'requiredOpts':[a126l(0x112)],'examples':[a126l(0x114)],'validOpts':[]},async function(a,b){const m=a126l;try{const c=await this[m(0x111)]['getMakaProjectConfig'](),d=await this[m(0x111)][m(0x120)](),f=this['fsi'][m(0x11e)](b[m(0x112)]),g=a126e[m(0x11c)](f,m(0x10d),m(0x122));await this[m(0x111)]['withValue'](c,async()=>{const n=m,h={'app':d['appName'],'noRename':!![]};await this[n(0x111)][n(0x11a)]({'srcPath':n(0x118),'destPath':g,'framework':'service','context':h,'config':c});});}catch(h){Log['error'](h);}});
1
+ const a126l=a126d;(function(a,b){const i=a126d,c=a();while(!![]){try{const d=-parseInt(i(0x1b9))/0x1*(parseInt(i(0x1ad))/0x2)+-parseInt(i(0x1aa))/0x3*(parseInt(i(0x1be))/0x4)+parseInt(i(0x1ab))/0x5*(-parseInt(i(0x1b8))/0x6)+parseInt(i(0x1ba))/0x7*(-parseInt(i(0x1bb))/0x8)+parseInt(i(0x1a7))/0x9*(parseInt(i(0x1c0))/0xa)+parseInt(i(0x1b0))/0xb*(-parseInt(i(0x1c6))/0xc)+parseInt(i(0x1c1))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0xc192d));const a126b=(function(){let a=!![];return function(b,c){const d=a?function(){const j=a126d;if(c){const e=c[j(0x1a4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){const k=a126d;return a126a[k(0x1bd)]()['search'](k(0x1b6))[k(0x1bd)]()[k(0x1ae)](a126a)[k(0x1bf)](k(0x1b6));});a126a();function a126d(a,b){const c=a126c();return a126d=function(d,e){d=d-0x1a4;let f=c[d];return f;},a126d(a,b);}import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a126e from'path';Generator[a126l(0x1b4)]({'name':a126l(0x1ac),'usage':a126l(0x1b3),'shortDesc':'Generate\x20a\x20new\x20openssl\x20config\x20file','noNeedResource':!![],'requiredOpts':[a126l(0x1c5)],'examples':[a126l(0x1c4)],'validOpts':[]},async function(a,b){const m=a126l;try{const c=await this[m(0x1bc)][m(0x1af)](),d=await this[m(0x1bc)][m(0x1a9)](),f=this[m(0x1bc)][m(0x1b2)](b[m(0x1c5)]),g=a126e[m(0x1a8)](f,m(0x1a5),m(0x1b7));await this[m(0x1bc)][m(0x1c2)](c,async()=>{const n=m,h={'app':d[n(0x1a6)],'noRename':!![]};await this['fsi'][n(0x1b1)]({'srcPath':n(0x1c3),'destPath':g,'framework':'service','context':h,'config':c});});}catch(h){Log[m(0x1b5)](h);}});function a126c(){const o=['maka\x20{generate,\x20g}:sslconfig','create','error','(((.+)+)+)+$','openssl.conf','6DegaRL','885626aMSvJY','10245305XaLasX','8IFDLWS','fsi','toString','456hGBZzk','search','157120zhccuC','74865999AdJYcX','withValue','openssl/openssl.conf','maka\x20g:sslconfig\x20--env\x20dev','env','12pWbPuk','apply','_keys','appName','288VSjGKd','join','getGlobalConfig','35898tvvMNh','3090610JRKnnp','sslconfig','2kgGQDW','constructor','getMakaProjectConfig','12510773XvsbZk','template','getAppConfigPath'];a126c=function(){return o;};return a126c();}
@@ -1 +1 @@
1
- const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d=parseInt(x(0x1a0))/0x1+parseInt(x(0x195))/0x2+-parseInt(x(0x18c))/0x3*(-parseInt(x(0x19d))/0x4)+parseInt(x(0x1a4))/0x5+-parseInt(x(0x17e))/0x6*(parseInt(x(0x16e))/0x7)+-parseInt(x(0x18b))/0x8*(parseInt(x(0x178))/0x9)+-parseInt(x(0x187))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x49646));function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x163;let f=c[d];return f;},a127d(a,b);}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0x173)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a[z(0x1a2)]()[z(0x176)](z(0x163))['toString']()[z(0x185)](a127a)[z(0x176)](z(0x163));});function a127c(){const D=['translation','import\x20\x27../lib/services/translations/i18n\x27;\x0a','i18next\x20i18next-browser-languagedetector\x20react-i18next','constructor','maka\x20g:translation\x20--lang=en\x20(default)','1000230JwajMs','engines','pathFromApp','services','8vqQLWX','9zilfZy','index.js','getMakaProjectConfig','grep','features.withTranslations','injectAtBeginningOfFile','import\x20\x27../lib/services/translations/i18n\x27;','readFileSync','i18n.js','360470XsCfDb','installNpmPackage','setProjectConfig','lib','\x20}\x20from\x20\x27./','client','service','exit','235724LslXlF','warn','imports','381481BwnTmb','template','toString','default\x20as\x20','1169040vBoinP','isFile','lang','fsi','locales','(((.+)+)+)+$','root','Generate\x20a\x20new\x20locale\x20translation','Locale\x20already\x20defined:\x20','startup','i18n/i18n.js','checkNpmPackage','findAppDirectory','translations','i18n/index.js','getGlobalConfig','2509157NXcJTr','error','ssr','server','Locale\x20already\x20exported:\x20','apply','i18n/locales.js','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','search','maka\x20g:translation\x20--lang=de','1919061KcnHej','rewriteDestinationPathForEngine','export\x20{\x20default\x20as\x20','i18next','index.','create','6CaEIfw','true','maka\x20g:translation\x20--lang=fr','.js'];a127c=function(){return D;};return a127c();}a127a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a127e from'fs';Generator[a127A(0x17d)]({'name':a127A(0x182),'usage':'maka\x20{generate,\x20g}:translation','aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':'lang','boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a127A(0x165),'description':'\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','examples':[a127A(0x186),a127A(0x180),a127A(0x177)],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this[B(0x1a7)][B(0x18e)](),d=this[B(0x1a7)][B(0x16d)](),f=this[B(0x1a7)][B(0x16a)]();await this[B(0x1a7)]['withValue'](c,async()=>{const C=B;try{!b[C(0x1a6)]&&(b[C(0x1a6)]='en');!b[C(0x164)]&&!this[C(0x1a7)][C(0x169)](C(0x17b))&&(Log[C(0x19e)](C(0x175)),this[C(0x1a7)][C(0x196)](C(0x184),{'cwd':f}),this[C(0x1a7)][C(0x197)](C(0x190),!![]));const g=this['fsi']['pathFromApp']({'pathParts':[C(0x19f),'startup',C(0x19a),'index.js']}),h=this[C(0x1a7)][C(0x179)]({'pathParts':[g],'config':c}),i=this[C(0x1a7)]['grep'](a127e['readFileSync'](h)['toString'](),'import\x20\x27../lib/services/translations/i18n\x27;')[0x0]&&!![];if(c['engines'][C(0x170)]===C(0x17f)){!i&&this['fsi'][C(0x191)]({'filePath':h,'content':C(0x183)});const t=this['fsi']['pathFromApp']({'pathParts':[C(0x19f),'startup',C(0x171),C(0x18d)]}),u=this['fsi'][C(0x179)]({'pathParts':[t],'config':c}),v=this[C(0x1a7)][C(0x18f)](a127e[C(0x193)](u)[C(0x1a2)](),C(0x192))[0x0]&&!![];!v&&this['fsi'][C(0x191)]({'filePath':u,'content':C(0x183)});}else!i&&this['fsi']['injectAtBeginningOfFile']({'filePath':h,'content':C(0x183)});const j={'app':d['appName'],'config':c},k=this[C(0x1a7)]['pathFromApp']({'pathParts':[C(0x19f),'startup','lib','services','translations',C(0x194)]}),l=this[C(0x1a7)][C(0x1a5)](this['fsi']['rewriteDestinationPathForEngine']({'pathParts':[k],'config':c}));!l&&await this[C(0x1a7)]['template']({'srcPath':C(0x168),'destPath':k,'framework':C(0x19b),'context':j,'config':c});const m=this[C(0x1a7)][C(0x189)]({'pathParts':[C(0x19f),C(0x167),C(0x198),C(0x18a),'translations','locales',b['lang']+C(0x181)]}),n=this[C(0x1a7)][C(0x179)]({'pathParts':[m],'config':c}),o=this[C(0x1a7)][C(0x1a5)](n);!o?await this[C(0x1a7)]['template']({'srcPath':C(0x174),'destPath':m,'framework':'service','context':j,'config':c}):Log[C(0x19e)](C(0x166)+n);const p=this[C(0x1a7)]['pathFromApp']({'pathParts':[C(0x19f),C(0x167),C(0x198),C(0x18a),C(0x16b),C(0x1a8),C(0x17c)+c[C(0x188)]['js']]}),q=this[C(0x1a7)][C(0x179)]({'pathParts':[p],'config':c}),r=this[C(0x1a7)][C(0x1a5)](q);!r&&await this[C(0x1a7)][C(0x1a1)]({'srcPath':C(0x16c),'destPath':p,'framework':C(0x19b),'context':j,'config':c});const s=this[C(0x1a7)]['grep'](a127e[C(0x193)](p)[C(0x1a2)](),C(0x1a3)+b[C(0x1a6)])[0x0]&&!![];!s?await this[C(0x1a7)]['injectAtEndOfFile']({'filePath':p,'content':C(0x17a)+b[C(0x1a6)]+C(0x199)+b['lang']+'\x27;'}):Log[C(0x19e)](C(0x172)+p);}catch(w){Log[C(0x16f)](w),process[C(0x19c)](0x1);}});}catch(g){Log[B(0x16f)](g),process[B(0x19c)](0x1);}});
1
+ const a127A=a127d;(function(a,b){const x=a127d,c=a();while(!![]){try{const d=-parseInt(x(0xb5))/0x1+-parseInt(x(0xa2))/0x2+-parseInt(x(0xa0))/0x3+-parseInt(x(0xd0))/0x4*(-parseInt(x(0xda))/0x5)+parseInt(x(0xc6))/0x6*(-parseInt(x(0xab))/0x7)+-parseInt(x(0xb4))/0x8+parseInt(x(0xb6))/0x9*(parseInt(x(0xd3))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x5c606));function a127c(){const D=['services','i18n/locales.js','engines','maka\x20g:translation\x20--lang=en\x20(default)','\x20}\x20from\x20\x27./','constructor','translations','findAppDirectory','rewriteDestinationPathForEngine','4VTctNr','(((.+)+)+)+$','template','1510cpppuf','index.','service','\x0a\x20\x20Generate\x20a\x20new\x20locale\x20translation\x20file.\x0a\x0a\x20\x20\x20\x20--lang\x20\x20The\x20language\x20code\x20for\x20the\x20new\x20locale\x20file.\x20(i.e.\x20en,\x20fr,\x20de)\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20and\x20must\x20be\x20the\x20two\x20character\x20language\x20code.\x0a\x20\x20','features.withTranslations','Locale\x20already\x20defined:\x20','apply','1850735oRGUzC','appName','Verifying\x20npm\x20package\x20requirements:\x20i18next\x20...','installNpmPackage','readFileSync','i18n.js','warn','grep','771867rakqDs','withValue','1287840JlFhpZ','injectAtBeginningOfFile','exit','Generate\x20a\x20new\x20locale\x20translation','isFile','export\x20{\x20default\x20as\x20','lib','injectAtEndOfFile','pathFromApp','1792ZlpqQN','import\x20\x27../lib/services/translations/i18n\x27;','imports','error','i18next','.js','root','import\x20\x27../lib/services/translations/i18n\x27;\x0a','server','5391520RpxyKk','409737tyLSik','138951xDvLuW','Locale\x20already\x20exported:\x20','maka\x20g:translation\x20--lang=de','search','getGlobalConfig','locales','lang','toString','fsi','index.js','startup','maka\x20{generate,\x20g}:translation','true','setProjectConfig','create','ssr','7926OvtXDs'];a127c=function(){return D;};return a127c();}function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x9c;let f=c[d];return f;},a127d(a,b);}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const y=a127d;if(c){const e=c[y(0xd9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const z=a127d;return a127a[z(0xbd)]()[z(0xb9)](z(0xd1))[z(0xbd)]()[z(0xcc)](a127a)[z(0xb9)](z(0xd1));});a127a();import{Generator}from'../../generator.js';import{Log}from'../../tools/log/log.class.js';import a127e from'fs';Generator[a127A(0xc4)]({'name':'translation','usage':a127A(0xc1),'aliases':['t'],'noNeedResource':!![],'requiredOpts':[{'name':a127A(0xbc),'boolFlag':![],'regex':/^[a-z]{2}$/}],'shortDesc':a127A(0xa5),'description':a127A(0xd6),'examples':[a127A(0xca),'maka\x20g:translation\x20--lang=fr',a127A(0xb8)],'validOpts':[]},async function(a,b){const B=a127A;try{const c=this['fsi']['getMakaProjectConfig'](),d=this[B(0xbe)][B(0xba)](),f=this[B(0xbe)][B(0xce)]();await this['fsi'][B(0xa1)](c,async()=>{const C=B;try{!b[C(0xbc)]&&(b[C(0xbc)]='en');!b[C(0xb1)]&&!this[C(0xbe)]['checkNpmPackage'](C(0xaf))&&(Log[C(0x9e)](C(0xdc)),this['fsi'][C(0xdd)]('i18next\x20i18next-browser-languagedetector\x20react-i18next',{'cwd':f}),this['fsi'][C(0xc3)](C(0xd7),!![]));const g=this[C(0xbe)]['pathFromApp']({'pathParts':['imports',C(0xc0),'client',C(0xbf)]}),h=this['fsi'][C(0xcf)]({'pathParts':[g],'config':c}),i=this[C(0xbe)][C(0x9f)](a127e[C(0x9c)](h)[C(0xbd)](),C(0xac))[0x0]&&!![];if(c[C(0xc9)][C(0xc5)]===C(0xc2)){!i&&this[C(0xbe)][C(0xa3)]({'filePath':h,'content':'import\x20\x27../lib/services/translations/i18n\x27;\x0a'});const t=this['fsi'][C(0xaa)]({'pathParts':[C(0xad),C(0xc0),C(0xb3),C(0xbf)]}),u=this['fsi'][C(0xcf)]({'pathParts':[t],'config':c}),v=this[C(0xbe)][C(0x9f)](a127e['readFileSync'](u)[C(0xbd)](),C(0xac))[0x0]&&!![];!v&&this['fsi'][C(0xa3)]({'filePath':u,'content':C(0xb2)});}else!i&&this['fsi'][C(0xa3)]({'filePath':h,'content':C(0xb2)});const j={'app':d[C(0xdb)],'config':c},k=this[C(0xbe)][C(0xaa)]({'pathParts':[C(0xad),C(0xc0),C(0xa8),C(0xc7),C(0xcd),C(0x9d)]}),l=this[C(0xbe)][C(0xa6)](this['fsi'][C(0xcf)]({'pathParts':[k],'config':c}));!l&&await this[C(0xbe)][C(0xd2)]({'srcPath':'i18n/i18n.js','destPath':k,'framework':'service','context':j,'config':c});const m=this[C(0xbe)][C(0xaa)]({'pathParts':[C(0xad),C(0xc0),C(0xa8),'services',C(0xcd),'locales',b[C(0xbc)]+C(0xb0)]}),n=this[C(0xbe)][C(0xcf)]({'pathParts':[m],'config':c}),o=this['fsi'][C(0xa6)](n);!o?await this[C(0xbe)]['template']({'srcPath':C(0xc8),'destPath':m,'framework':'service','context':j,'config':c}):Log['warn'](C(0xd8)+n);const p=this[C(0xbe)][C(0xaa)]({'pathParts':[C(0xad),'startup',C(0xa8),C(0xc7),C(0xcd),C(0xbb),C(0xd4)+c[C(0xc9)]['js']]}),q=this['fsi'][C(0xcf)]({'pathParts':[p],'config':c}),r=this[C(0xbe)]['isFile'](q);!r&&await this['fsi']['template']({'srcPath':'i18n/index.js','destPath':p,'framework':C(0xd5),'context':j,'config':c});const s=this[C(0xbe)][C(0x9f)](a127e[C(0x9c)](p)['toString'](),'default\x20as\x20'+b[C(0xbc)])[0x0]&&!![];!s?await this[C(0xbe)][C(0xa9)]({'filePath':p,'content':C(0xa7)+b['lang']+C(0xcb)+b[C(0xbc)]+'\x27;'}):Log[C(0x9e)](C(0xb7)+p);}catch(w){Log[C(0xae)](w),process[C(0xa4)](0x1);}});}catch(g){Log['error'](g),process[B(0xa4)](0x1);}});
@@ -1 +1 @@
1
- const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0xa9))/0x1+-parseInt(j(0xa3))/0x2*(parseInt(j(0x97))/0x3)+parseInt(j(0x96))/0x4+parseInt(j(0x9d))/0x5+parseInt(j(0xaf))/0x6*(-parseInt(j(0xad))/0x7)+-parseInt(j(0x98))/0x8+parseInt(j(0x9b))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xad05b));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0xa0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x9a)]()[l(0x9c)]('(((.+)+)+)+$')['toString']()[l(0xa7)](a128a)['search'](l(0xac));});a128a();import a128e from'minimist';import a128f from'os';function a128c(){const n=['slice','(((.+)+)+)+$','7EyBNzI','argv','3039540SuqWai','camelizeKeys','3776704xZzwuI','1662umfnLj','7033184MJUpjd','BROWSERSLIST_IGNORE_OLD_DATA','toString','2265489azfBgU','search','5203535maqwrC','--max-old-space-size=','parse','apply','floor','MAKA_COMMAND_PATH','3054bwuSEh','run','url','env','constructor','TOOL_NODE_FLAGS','703791fANpZT','NODE_NO_WARNINGS'];a128c=function(){return n;};return a128c();}import a128g from'path';import a128h from'humps';import a128i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta[a128m(0xa5)]),__dirname=a128g['dirname'](__filename);global[a128m(0xa2)]=__dirname;const total_memory=a128f['totalmem'](),total_mem_in_kb=total_memory/0x400;function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x95;let f=c[d];return f;},a128d(a,b);}let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a128m(0xa1)](total_mem_in_mb),process['env'][a128m(0xa8)]=a128m(0x9e)+total_mem_in_mb,process[a128m(0xa6)][a128m(0x99)]='1',process[a128m(0xa6)][a128m(0xaa)]='1';const argv=a128e(process[a128m(0xae)][a128m(0xab)](0x2)),args=argv['_'],deepCopyArgv=JSON[a128m(0x9f)](JSON['stringify'](argv));delete deepCopyArgv['_'];const opts=a128h[a128m(0x95)](deepCopyArgv);a128i[a128m(0xa4)](args,opts);
1
+ const a128m=a128d;(function(a,b){const j=a128d,c=a();while(!![]){try{const d=parseInt(j(0x89))/0x1*(parseInt(j(0x83))/0x2)+-parseInt(j(0x90))/0x3*(-parseInt(j(0x8a))/0x4)+-parseInt(j(0x98))/0x5+parseInt(j(0x84))/0x6+parseInt(j(0x95))/0x7*(parseInt(j(0x82))/0x8)+-parseInt(j(0x81))/0x9*(parseInt(j(0x7d))/0xa)+-parseInt(j(0x8c))/0xb*(parseInt(j(0x93))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x1cd17));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const k=a128d;if(c){const e=c[k(0x92)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const l=a128d;return a128a[l(0x86)]()[l(0x96)](l(0x8e))[l(0x86)]()[l(0x7e)](a128a)[l(0x96)]('(((.+)+)+)+$');});function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0x7d;let f=c[d];return f;},a128d(a,b);}a128a();function a128c(){const n=['171826FKwntq','1025868fjyrYO','--max-old-space-size=','toString','TOOL_NODE_FLAGS','parse','1BLrEYu','16IhGXeq','floor','11eWAxTS','env','(((.+)+)+)+$','run','78693CgpRDB','NODE_NO_WARNINGS','apply','2291088NGhjfD','stringify','21FMnXiC','search','camelizeKeys','43675lkbEWE','dirname','234610EFFUZZ','constructor','slice','MAKA_COMMAND_PATH','72lQFQjg','382856PqYiCJ'];a128c=function(){return n;};return a128c();}import a128e from'minimist';import a128f from'os';import a128g from'path';import a128h from'humps';import a128i from'./commands/maka.cmd.js';import'./commands/_index.js';import'./generators/_index.js';import{fileURLToPath}from'url';const __filename=fileURLToPath(import.meta['url']),__dirname=a128g[a128m(0x99)](__filename);global[a128m(0x80)]=__dirname;const total_memory=a128f['totalmem'](),total_mem_in_kb=total_memory/0x400;let total_mem_in_mb=total_mem_in_kb/0x400;total_mem_in_mb=Math[a128m(0x8b)](total_mem_in_mb),process['env'][a128m(0x87)]=a128m(0x85)+total_mem_in_mb,process[a128m(0x8d)]['BROWSERSLIST_IGNORE_OLD_DATA']='1',process[a128m(0x8d)][a128m(0x91)]='1';const argv=a128e(process['argv'][a128m(0x7f)](0x2)),args=argv['_'],deepCopyArgv=JSON[a128m(0x88)](JSON[a128m(0x94)](argv));delete deepCopyArgv['_'];const opts=a128h[a128m(0x97)](deepCopyArgv);a128i[a128m(0x8f)](args,opts);
@@ -19,6 +19,6 @@
19
19
  "type": "git"
20
20
  },
21
21
  "devDependencies": {
22
- "@maka/maka-cli": "^4.9.6"
22
+ "@maka/maka-cli": "^4.9.8"
23
23
  }
24
24
  }
@@ -1 +1 @@
1
- const a129L=a129d;(function(a,b){const I=a129d,c=a();while(!![]){try{const d=-parseInt(I(0xed))/0x1+parseInt(I(0xe7))/0x2+-parseInt(I(0x128))/0x3*(parseInt(I(0x107))/0x4)+parseInt(I(0xe6))/0x5*(parseInt(I(0x10b))/0x6)+-parseInt(I(0xe8))/0x7*(parseInt(I(0x111))/0x8)+parseInt(I(0xd1))/0x9*(parseInt(I(0x127))/0xa)+parseInt(I(0x117))/0xb*(parseInt(I(0xeb))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x1cb46));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){const J=a129d;if(c){const e=c[J(0xe1)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const K=a129d;return a129a[K(0x122)]()[K(0xf8)](K(0x119))['toString']()[K(0xf9)](a129a)['search'](K(0x119));});a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xcd;let f=c[d];return f;},a129d(a,b);}function a129c(){const a2=['(((.+)+)+)+$','fsi','config','keys','No\x20usage\x20provided.','homedir','Please\x20choose\x20an\x20environment','To\x20use\x20this\x20command,\x20\x22','cwd','toString','env','getMakaProjectConfig','win32','isCommand','20RTNPub','66819unYNES','Local','list','findProjectDirectory','parent','466146oHUpfF','isGenerator','error','includes','options','find','.meteor','length','every','To\x20use\x20this\x20generator,\x20\x22','aliases','Please\x20provide\x20a\x20valid\x20argument\x20for\x20','join','existsSync','roles','getPro','apply','map','string','Please\x20choose\x20a\x20value\x20for\x20','match','1270JtCskq','345158kqvGim','7WllzcZ','usage','validateEngines','8952tibAoI','indexOf','112936aDhWAc','proCommands','resourceName','remapShortToLong','formatToNamedParam','dir','examples','License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.','ask','getShortName','root','search','constructor','concat','NIE','engines','platform','Invalid\x20value\x20for\x20','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','singleLicense','_handler','AppData','description','No\x20description\x20provided.','help','isPro','32xbaASv','disableAuthCheck','Please\x20provide\x20a\x20resource\x20name:','validateMakaProject','996vpeTmZ','getAppProjectConfigs','Please\x20provide\x20a\x20value\x20for\x20','shortDesc','Invalid\x20argument:\x20','proGenerators','1359928OLYLfl','docker','push','name','You\x20must\x20have\x20','exit','3839AIJMnL','Please\x20choose\x20a\x20valid\x20value\x20for\x20'];a129c=function(){return a2;};return a129c();}import a129e from'path';import a129f from'os';import a129g from'fs';const homeDir=a129f[a129L(0x11e)]();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError}from'./error.js';export class Tool{['docker'];[a129L(0x11a)];['options'];[a129L(0x114)];[a129L(0xd0)];[a129L(0x101)];constructor(){const M=a129L;this[M(0x112)]=new Docker(),this[M(0x11a)]=new FSI();}['getShortName'](a){return a['charAt'](0x0);}[a129L(0xf0)](a,b){const N=a129L,c=this[N(0xf1)](b),d={...a};for(const e of c){const f=this[N(0xf6)](e[N(0x114)]);a[f]&&(d[e[N(0x114)]]=a[f],delete d[f]);}return d;}[a129L(0xf1)](a){const O=a129L;if(a[O(0xd9)](b=>typeof b===O(0xe3)))return a[O(0xe2)](b=>({'name':b}));return a;}[a129L(0xe5)](a){const P=a129L,b=[this['name']]['concat'](this[P(0xd5)][P(0xdb)]||[]);return this[P(0xd0)]&&b[P(0x113)](this[P(0xd0)]),b[P(0xd4)](a);}[a129L(0x10a)](){const Q=a129L,a=this['fsi'][Q(0xcf)]();return a!==![]?!![]:![];}['validateMeteorInstall'](){const R=a129L;let a=a129e[R(0xdd)](homeDir,R(0xd7));const b=process[R(0xfd)]===R(0x125);if(b){a=a129e[R(0xdd)](homeDir,R(0x102),R(0xcd),R(0xd7));if(!a129g['existsSync'](a))return![];}else{if(!a129g[R(0xde)](a))return![];}return!![];}[a129L(0xea)](a){const S=a129L,b=this[S(0x11a)][S(0x124)](),c=b[S(0xfc)],d=Object[S(0x11c)](a);if(d[S(0xd8)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[S(0xd3)](S(0x115)+e+'\x20version\x20'+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async['validateParams'](a,b,c){const T=a129L,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[T(0x11c)](b);if(h[T(0xd4)](T(0xef))&&b[T(0xef)]===undefined&&!g){const m=await Actions[T(0xf5)](T(0x109));b[T(0xef)]=m;}let i=[],j=b;if(d){i=this[T(0xf1)](d),j=this[T(0xf0)](b,i);if(i&&i?.[T(0xd8)]>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[T(0x11c)](j)[T(0xd4)](o)){if(o==='env'){const r=this[T(0x11a)][T(0x10c)](),s=await Actions['options']({'type':T(0xce),'name':'env','message':T(0x11f),'choices':r});b[T(0x123)]=s[T(0x123)];}else{const t=p;if(t){const u=await Actions[T(0xd5)]({'type':'list','name':o,'message':T(0xe4)+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[T(0xf5)](T(0x10d)+o);if(v[T(0xe5)](q))b[o]=v;else{Log['error'](T(0xfe)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions['ask'](T(0x10d)+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p[T(0xd4)](x)){Log['error']('Invalid\x20value\x20for\x20'+o+':\x20'+x);throw new UsageError();}}}}let k=this['formatToNamedParam'](f),l=b;if(k&&Object[T(0x11c)](k)?.['length']>0x0){k=k[T(0xfa)](i||[]),k[T(0x113)]({'name':T(0xef),'hidden':!![]}),k['push']({'name':T(0x105),'boolFlag':!![]}),k[T(0x113)]({'name':T(0xf2),'hidden':!![]}),k['push']({'name':T(0x121),'hidden':!![]}),k['push']({'name':T(0xf7),'hidden':!![]}),k[T(0x113)]({'name':T(0x11b),'hidden':!![]}),l=this['remapShortToLong'](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[T(0xd4)](B))){const C=A;if(C){const D=await Actions[T(0xd5)]({'type':T(0xce),'name':z,'message':T(0x118)+z,'choices':A});l[z]=D[z];}}if(k[T(0xd8)]>0x0)for(const E of Object[T(0x11c)](l)){const F=k[T(0xd6)](G=>G[T(0x114)]===E);if(!F){Log[T(0xd3)]('Invalid\x20option:\x20'+E);throw new UsageError();}}}}if(e&&e?.['length']>0x0)for(const G of e){if(!e[T(0xd4)](G)){Log[T(0xd3)](T(0x10f)+G);const H=await Actions[T(0xf5)](T(0xdc)+G);a[a[T(0xec)](G)]=H;}}return Object['assign'](j,l);}async['validateMakaSubscription'](a){const U=a129L;try{if(!a)return;const b=await this[U(0x11a)][U(0xe0)]();!b&&(Log[U(0xd3)](U(0xf4)),process['exit'](0x1));const c=!b?.[U(0xdf)][U(0xd4)](U(0x100))&&!b?.[U(0xdf)]['includes']('domainLicense');if(this[U(0x126)](a)){const d=U(0x120)+a[U(0x114)]+U(0xff);if(a[U(0xd5)][U(0x108)])return;const f=b?.['proCommands'][U(0xd4)](a[U(0x114)])||b?.[U(0xee)][U(0xd4)](a['parent']||'')||this[U(0xd5)][U(0x106)];if(f&&c)throw d;}else{if(this[U(0xd2)](a)){const g=b?.[U(0x110)][U(0xd4)](a['name'])||b?.[U(0x110)]['includes'](a[U(0xd0)]||'');if(g&&c)throw U(0xda)+a[U(0x114)]+U(0xff);}}}catch(h){Log[U(0xd3)](h),process[U(0x116)](0x1);}}['isCommand'](a){const V=a129L;return V(0xd5)in a;}[a129L(0xd2)](a){const W=a129L;return!(W(0xd5)in a);}['description'](){const X=a129L;return this[X(0xd5)][X(0x103)]||this[X(0xd5)][X(0x10e)]||X(0x104);}[a129L(0x10e)](){const Y=a129L;return this[Y(0xd5)][Y(0x10e)]||Y(0xfb);}[a129L(0xe9)](){const Z=a129L;return this[Z(0xd5)]['usage']||Z(0x11d);}[a129L(0xf3)](){const a0=a129L;return this[a0(0xd5)][a0(0xf3)]||[];}['aliases'](){const a1=a129L;return this[a1(0xd5)][a1(0xdb)]||'None';}}
1
+ const a129K=a129d;(function(a,b){const I=a129d,c=a();while(!![]){try{const d=parseInt(I(0x1a3))/0x1+-parseInt(I(0x1b0))/0x2*(parseInt(I(0x1d7))/0x3)+parseInt(I(0x1cc))/0x4+-parseInt(I(0x1d1))/0x5*(parseInt(I(0x19d))/0x6)+-parseInt(I(0x1db))/0x7*(parseInt(I(0x1b5))/0x8)+parseInt(I(0x1b3))/0x9+parseInt(I(0x1ae))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0xd4f28));const a129b=(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;};}()),a129a=a129b(this,function(){const J=a129d;return a129a[J(0x1d2)]()[J(0x193)](J(0x1b2))[J(0x1d2)]()['constructor'](a129a)['search'](J(0x1b2));});a129a();import a129e from'path';import a129f from'os';import a129g from'fs';const homeDir=a129f[a129K(0x1de)]();import{Docker}from'./tools/docker/docker.class.js';import{FSI}from'./tools/fsi/fsi.class.js';import{Log}from'./tools/log/log.class.js';import{Actions}from'./tools/actions/actions.class.js';import{UsageError}from'./error.js';function a129c(){const a3=['getAppProjectConfigs','getShortName','Please\x20choose\x20an\x20environment','3481296IRtmPA','\x22,\x20please\x20upgrade\x20to\x20PRO\x20by\x20becoming\x20a\x20pateron\x20@\x20patreon.com/user?u=110174702,\x20then\x20issue:\x20\x27maka\x20login\x27','.meteor','roles','Please\x20choose\x20a\x20valid\x20value\x20for\x20','5817140bfYWhl','toString','Invalid\x20value\x20for\x20','ask','docker','validateUserIsLoggedIn','69lLnRBs','exit','concat','isGenerator','7CKLLkh','Invalid\x20option:\x20','proGenerators','homedir','getPro','proCommands','AppData','map','_handler','list','every','search','join','shortDesc','parent','platform','includes','length','dir','singleLicense','resourceName','6PnIYTd','getGlobalConfig','description','cwd','Invalid\x20argument:\x20','config','1376965LpKbAx','find','No\x20usage\x20provided.','validateEngines','validateMeteorInstall','formatToNamedParam','error','isCommand','To\x20use\x20this\x20generator,\x20\x22','existsSync','name','9935740yejhtF','env','40218zxIFnu','push','(((.+)+)+)+$','6569811LulMsn','options','11781400niJPji','help','indexOf','aliases','getMakaProjectConfig','remapShortToLong','validateParams','keys','To\x20use\x20this\x20command,\x20\x22','NIE','charAt','Please\x20provide\x20a\x20resource\x20name:','usage','fsi','examples','validateMakaSubscription','domainLicense','You\x20must\x20have\x20','assign','match'];a129c=function(){return a3;};return a129c();}function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x18c;let f=c[d];return f;},a129d(a,b);}export class Tool{['docker'];[a129K(0x1c2)];[a129K(0x1b4)];[a129K(0x1ad)];['parent'];[a129K(0x190)];constructor(){const L=a129K;this[L(0x1d5)]=new Docker(),this[L(0x1c2)]=new FSI();}[a129K(0x1ca)](a){const M=a129K;return a[M(0x1bf)](0x0);}[a129K(0x1ba)](a,b){const N=a129K,c=this[N(0x1a8)](b),d={...a};for(const e of c){const f=this[N(0x1ca)](e['name']);a[f]&&(d[e[N(0x1ad)]]=a[f],delete d[f]);}return d;}[a129K(0x1a8)](a){const O=a129K;if(a[O(0x192)](b=>typeof b==='string'))return a[O(0x18f)](b=>({'name':b}));return a;}[a129K(0x1c8)](a){const P=a129K,b=[this['name']][P(0x1d9)](this[P(0x1b4)][P(0x1b8)]||[]);return this['parent']&&b[P(0x1b1)](this[P(0x196)]),b[P(0x198)](a);}['validateMakaProject'](){const Q=a129K,a=this[Q(0x1c2)]['findProjectDirectory']();return a!==![]?!![]:![];}async[a129K(0x1d6)](){const R=a129K,a=await this['fsi'][R(0x19e)]();return a['token']?!![]:![];}[a129K(0x1a7)](){const S=a129K;let a=a129e['join'](homeDir,S(0x1ce));const b=process[S(0x197)]==='win32';if(b){a=a129e[S(0x194)](homeDir,S(0x18e),'Local','.meteor');if(!a129g[S(0x1ac)](a))return![];}else{if(!a129g[S(0x1ac)](a))return![];}return!![];}[a129K(0x1a6)](a){const T=a129K,b=this[T(0x1c2)][T(0x1b9)](),c=b['engines'],d=Object[T(0x1bc)](a);if(d[T(0x199)]>0x0)for(const e of d){const f=c[e];if(f!==a[e]){Log[T(0x1a9)](T(0x1c6)+e+'\x20version\x20'+a[e]+'\x20installed\x20to\x20use\x20this\x20command.');throw UsageError;}}}async[a129K(0x1bb)](a,b,c){const U=a129K,{requiredOpts:d,validArgs:e,validOpts:f,noNeedResource:g}=c,h=Object[U(0x1bc)](b);if(h[U(0x198)](U(0x19c))&&b[U(0x19c)]===undefined&&!g){const m=await Actions[U(0x1d4)](U(0x1c0));b[U(0x19c)]=m;}let i=[],j=b;if(d){i=this['formatToNamedParam'](d),j=this[U(0x1ba)](b,i);if(i&&i?.['length']>0x0)for(const n of i){const {name:o,values:p,regex:q}=n;if(!Object[U(0x1bc)](j)[U(0x198)](o)){if(o===U(0x1af)){const r=this[U(0x1c2)][U(0x1c9)](),s=await Actions[U(0x1b4)]({'type':U(0x191),'name':U(0x1af),'message':U(0x1cb),'choices':r});b['env']=s[U(0x1af)];}else{const t=p;if(t){const u=await Actions[U(0x1b4)]({'type':U(0x191),'name':o,'message':'Please\x20choose\x20a\x20value\x20for\x20'+o,'choices':p});b[o]=u[o];}else{if(q){const v=await Actions[U(0x1d4)]('Please\x20provide\x20a\x20value\x20for\x20'+o);if(v['match'](q))b[o]=v;else{Log[U(0x1a9)](U(0x1d3)+o+':\x20'+v);throw new UsageError();}}else{const w=await Actions[U(0x1d4)]('Please\x20provide\x20a\x20value\x20for\x20'+o);b[o]=w;}}}}else{const x=j[o];if(p&&!p['includes'](x)){Log[U(0x1a9)](U(0x1d3)+o+':\x20'+x);throw new UsageError();}}}}let k=this[U(0x1a8)](f),l=b;if(k&&Object[U(0x1bc)](k)?.[U(0x199)]>0x0){k=k[U(0x1d9)](i||[]),k[U(0x1b1)]({'name':U(0x19c),'hidden':!![]}),k[U(0x1b1)]({'name':U(0x1b6),'boolFlag':!![]}),k[U(0x1b1)]({'name':U(0x19a),'hidden':!![]}),k[U(0x1b1)]({'name':U(0x1a0),'hidden':!![]}),k[U(0x1b1)]({'name':'root','hidden':!![]}),k[U(0x1b1)]({'name':U(0x1a2),'hidden':!![]}),l=this[U(0x1ba)](b,k);for(const y of k){const {name:z,values:A}=y,B=l[z];if(B!==undefined&&(!A||!A[U(0x198)](B))){const C=A;if(C){const D=await Actions[U(0x1b4)]({'type':U(0x191),'name':z,'message':U(0x1d0)+z,'choices':A});l[z]=D[z];}}if(k[U(0x199)]>0x0)for(const E of Object[U(0x1bc)](l)){const F=k[U(0x1a4)](G=>G['name']===E);if(!F){Log['error'](U(0x1dc)+E);throw new UsageError();}}}}if(e&&e?.['length']>0x0)for(const G of e){if(!e[U(0x198)](G)){Log[U(0x1a9)](U(0x1a1)+G);const H=await Actions[U(0x1d4)]('Please\x20provide\x20a\x20valid\x20argument\x20for\x20'+G);a[a[U(0x1b7)](G)]=H;}}return Object[U(0x1c7)](j,l);}async[a129K(0x1c4)](a){const V=a129K;try{if(!a)return;const b=await this['fsi'][V(0x18c)]();!b&&(Log[V(0x1a9)]('License\x20error,\x20you\x20may\x20need\x20to\x20re-login\x20or\x20delete\x20your\x20~/.meteor/.maka/global-config.json\x20file\x20to\x20regenerate\x20a\x20free\x20license.'),process[V(0x1d8)](0x1));const c=!b?.['roles'][V(0x198)](V(0x19b))&&!b?.[V(0x1cf)][V(0x198)](V(0x1c5));if(this['isCommand'](a)){const d=V(0x1bd)+a[V(0x1ad)]+V(0x1cd);if(a[V(0x1b4)]['disableAuthCheck'])return;const f=b?.['proCommands'][V(0x198)](a[V(0x1ad)])||b?.[V(0x18d)][V(0x198)](a['parent']||'')||this[V(0x1b4)]['isPro'];if(f&&c)throw d;}else{if(this[V(0x1da)](a)){const g=b?.[V(0x1dd)]['includes'](a[V(0x1ad)])||b?.[V(0x1dd)][V(0x198)](a[V(0x196)]||'');if(g&&c)throw V(0x1ab)+a['name']+V(0x1cd);}}}catch(h){Log[V(0x1a9)](h),process['exit'](0x1);}}[a129K(0x1aa)](a){const W=a129K;return W(0x1b4)in a;}[a129K(0x1da)](a){const X=a129K;return!(X(0x1b4)in a);}[a129K(0x19f)](){const Y=a129K;return this['options']['description']||this['options'][Y(0x195)]||'No\x20description\x20provided.';}[a129K(0x195)](){const Z=a129K;return this['options']['shortDesc']||Z(0x1be);}[a129K(0x1c1)](){const a0=a129K;return this['options'][a0(0x1c1)]||a0(0x1a5);}['examples'](){const a1=a129K;return this[a1(0x1b4)][a1(0x1c3)]||[];}[a129K(0x1b8)](){const a2=a129K;return this[a2(0x1b4)][a2(0x1b8)]||'None';}}
@@ -1 +1 @@
1
- const a130i=a130d;(function(a,b){const f=a130d,c=a();while(!![]){try{const d=parseInt(f(0xe6))/0x1+-parseInt(f(0xf1))/0x2+-parseInt(f(0xf8))/0x3*(-parseInt(f(0xf6))/0x4)+parseInt(f(0xf2))/0x5+-parseInt(f(0xe5))/0x6*(parseInt(f(0xec))/0x7)+parseInt(f(0xed))/0x8*(parseInt(f(0xe8))/0x9)+-parseInt(f(0xeb))/0xa*(parseInt(f(0xee))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x493c1));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0xf3)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0xe7)]()[h(0xf5)]('(((.+)+)+)+$')['toString']()['constructor'](a130a)[h(0xf5)](h(0xef));});a130a();function a130c(){const m=['287qhIMwk','8PfKqLu','187PoNpMK','(((.+)+)+)+$','confirm','203644TDbVsN','2245510uplJec','apply','ask','search','104212feTacZ','answer','69udOwKA','options','85494wcIiAL','405685hRcign','toString','3056517EjYdyk','input','prompt','475070pErePR'];a130c=function(){return m;};return a130c();}function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0xe5;let f=c[d];return f;},a130d(a,b);}import a130e from'inquirer';export class Actions{static async[a130i(0xf4)](a,b){const j=a130i,{answer:c}=await a130e[j(0xea)]({'type':b?'password':j(0xe9),'name':j(0xf7),'message':a});return c;}static async[a130i(0xf0)](a,b=![]){const k=a130i,{answer:c}=await a130e[k(0xea)]({'type':'confirm','name':k(0xf7),'message':a,'default':b});return c;}static async[a130i(0xf9)](a){const l=a130i,b=await a130e[l(0xea)](a);return b;}}
1
+ function a130c(){const m=['2135714JAmkQS','prompt','search','6BdqYUO','102822tGGjcm','1294299yDzEYQ','24jcohHO','269032jRGbga','constructor','1571935WehcHy','input','password','211456YYVByi','options','confirm','answer','toString','apply','18124hVlSwo'];a130c=function(){return m;};return a130c();}const a130j=a130d;function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x1e2;let f=c[d];return f;},a130d(a,b);}(function(a,b){const f=a130d,c=a();while(!![]){try{const d=-parseInt(f(0x1e9))/0x1+parseInt(f(0x1f1))/0x2+-parseInt(f(0x1ee))/0x3*(-parseInt(f(0x1f0))/0x4)+parseInt(f(0x1f3))/0x5+parseInt(f(0x1ed))/0x6*(-parseInt(f(0x1ea))/0x7)+parseInt(f(0x1e3))/0x8+-parseInt(f(0x1ef))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x343b6));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a130d;if(c){const e=c[g(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const h=a130d;return a130a[h(0x1e7)]()[h(0x1ec)]('(((.+)+)+)+$')[h(0x1e7)]()[h(0x1f2)](a130a)[h(0x1ec)]('(((.+)+)+)+$');});a130a();import a130e from'inquirer';export class Actions{static async['ask'](a,b){const i=a130d,{answer:c}=await a130e[i(0x1eb)]({'type':b?i(0x1e2):i(0x1f4),'name':i(0x1e6),'message':a});return c;}static async[a130j(0x1e5)](a,b=![]){const k=a130j,{answer:c}=await a130e[k(0x1eb)]({'type':k(0x1e5),'name':k(0x1e6),'message':a,'default':b});return c;}static async[a130j(0x1e4)](a){const l=a130j,b=await a130e[l(0x1eb)](a);return b;}}