@maka/maka-cli 4.5.16 → 4.5.17

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 (109) 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/aws/_index.js +1 -1
  5. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  6. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  7. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/build/_index.js +1 -1
  17. package/bundle/obf/src/commands/build/build.js +1 -1
  18. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/create.js +1 -1
  20. package/bundle/obf/src/commands/debug.js +1 -1
  21. package/bundle/obf/src/commands/deploy.js +1 -1
  22. package/bundle/obf/src/commands/game/_index.js +1 -1
  23. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  24. package/bundle/obf/src/commands/game/play.command.js +1 -1
  25. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  26. package/bundle/obf/src/commands/game/sideQuest/commands.js +1 -1
  27. package/bundle/obf/src/commands/game/sideQuest/door.js +1 -1
  28. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  29. package/bundle/obf/src/commands/game/sideQuest/inventory.js +1 -0
  30. package/bundle/obf/src/commands/game/sideQuest/items.js +1 -1
  31. package/bundle/obf/src/commands/game/sideQuest/player.js +1 -1
  32. package/bundle/obf/src/commands/game/sideQuest/puzzles.js +1 -1
  33. package/bundle/obf/src/commands/game/sideQuest/room.js +1 -1
  34. package/bundle/obf/src/commands/game/sideQuest/rooms.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/types.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/utilities/eventBus.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  40. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  41. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  42. package/bundle/obf/src/commands/generate.js +1 -1
  43. package/bundle/obf/src/commands/get/_index.js +1 -1
  44. package/bundle/obf/src/commands/get/get.command.js +1 -1
  45. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  46. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  47. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  48. package/bundle/obf/src/commands/help.js +1 -1
  49. package/bundle/obf/src/commands/jsdoc.js +1 -1
  50. package/bundle/obf/src/commands/lint.js +1 -1
  51. package/bundle/obf/src/commands/login.js +1 -1
  52. package/bundle/obf/src/commands/logout.js +1 -1
  53. package/bundle/obf/src/commands/logs.js +1 -1
  54. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  55. package/bundle/obf/src/commands/murder.js +1 -1
  56. package/bundle/obf/src/commands/proxy.js +1 -1
  57. package/bundle/obf/src/commands/reconfig.js +1 -1
  58. package/bundle/obf/src/commands/run/_index.js +1 -1
  59. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  60. package/bundle/obf/src/commands/run/run.command.js +1 -1
  61. package/bundle/obf/src/commands/set/_index.js +1 -1
  62. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  63. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  64. package/bundle/obf/src/commands/set/set.command.js +1 -1
  65. package/bundle/obf/src/commands/ssh.js +1 -1
  66. package/bundle/obf/src/commands/ssl.js +1 -1
  67. package/bundle/obf/src/commands/test.js +1 -1
  68. package/bundle/obf/src/commands/version.js +1 -1
  69. package/bundle/obf/src/error.js +1 -1
  70. package/bundle/obf/src/generator.js +1 -1
  71. package/bundle/obf/src/generators/_index.js +1 -1
  72. package/bundle/obf/src/generators/api.js +1 -1
  73. package/bundle/obf/src/generators/collection.js +1 -1
  74. package/bundle/obf/src/generators/component.js +1 -1
  75. package/bundle/obf/src/generators/config.js +1 -1
  76. package/bundle/obf/src/generators/dbc.js +1 -1
  77. package/bundle/obf/src/generators/dockerfile.js +1 -1
  78. package/bundle/obf/src/generators/hook.js +1 -1
  79. package/bundle/obf/src/generators/kit.js +1 -1
  80. package/bundle/obf/src/generators/layout.js +1 -1
  81. package/bundle/obf/src/generators/maka.gen.js +1 -1
  82. package/bundle/obf/src/generators/methods.js +1 -1
  83. package/bundle/obf/src/generators/package.js +1 -1
  84. package/bundle/obf/src/generators/page.js +1 -1
  85. package/bundle/obf/src/generators/publish.js +1 -1
  86. package/bundle/obf/src/generators/route.js +1 -1
  87. package/bundle/obf/src/generators/service.js +1 -1
  88. package/bundle/obf/src/generators/services/_index.js +1 -1
  89. package/bundle/obf/src/generators/services/openssl.js +1 -1
  90. package/bundle/obf/src/generators/services/translation.js +1 -1
  91. package/bundle/obf/src/maka.js +1 -1
  92. package/bundle/obf/src/tool.js +1 -1
  93. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  94. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  95. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  96. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  97. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  98. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  99. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  100. package/bundle/obf/src/tools/https/https.class.js +1 -1
  101. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  102. package/bundle/obf/src/tools/log/log.class.js +1 -1
  103. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  104. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  105. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  106. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  107. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  108. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  109. package/package.json +1 -1
@@ -1 +1 @@
1
- const a69z=a69d;(function(a,b){const w=a69d,c=a();while(!![]){try{const d=-parseInt(w(0xf0))/0x1*(parseInt(w(0xc5))/0x2)+parseInt(w(0xc7))/0x3*(-parseInt(w(0x115))/0x4)+-parseInt(w(0xfe))/0x5*(parseInt(w(0xfa))/0x6)+parseInt(w(0xca))/0x7+parseInt(w(0xd3))/0x8*(-parseInt(w(0xea))/0x9)+parseInt(w(0xd6))/0xa+parseInt(w(0xdd))/0xb*(parseInt(w(0x11b))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x49e51));const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a69d;if(c){const e=c[x(0xff)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const y=a69d;return a69a['toString']()[y(0xf9)]('(((.+)+)+)+$')['toString']()[y(0xc9)](a69a)[y(0xf9)](y(0xc3));});a69a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a69e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a69c(){const C=['api/register-api.js','notice','rpc-methods.','includes','template','imports','-api\x27;','API\x20boundaries\x20to\x20create','engines','installMeteorPackage','rest','api','create','resolvers.','exit','invoke','injectAtEndOfFile','withMethods','typeList.push(','1009156fqPNJa','/imports/api','api/tests.js','test','maka:rest','Verifying\x20meteor\x20package\x20requirements\x20...','13992IhuryE','fixtures.','api/fixtures.js','collection','maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo','push','error','withValue','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','server','(((.+)+)+)+$','TypeDefs);\x0a','52iSJnao','if\x20\x5c(typeList','3FKAtST','mdg:validated-method','constructor','341131FkkHPy','withRest','Resolvers\x20}\x20from\x20\x27','injectIntoFile','maka:check','import\x20\x27./register-','const','typeDefs.','\x0aimport\x20{\x20resolvers\x20as\x20','6392DLLhDl','api/methods.js','dir','1491930eHNoqo','REST\x20API','Resolvers);\x0a\x0a','api/publications.js','fsi','\x27;\x0a','apollo','13772iepfiz','index.','rewriteDestinationPathForEngine','checkMeteorPackage','.app-tests.','RPC\x20(Methods)','register-','TypeDefs\x20}\x20from\x20\x27','/graphql/typeDefs','maka\x20g:api\x20todos','No\x20API\x20boundaries\x20selected','publications.','getProjectConfig','5274sWBUOf','startup','ddp-rate-limiter','api/typeDefs.js','none','Publications','1669OzfpcA','Fixtures','withPubs','graphql','GraphQL','api/api.js','pathFromApp','findGenerator','options','search','272856pvJpCu','tsx','withGql','withFixtures','65cypavx','apply','apiAnswers','log'];a69c=function(){return C;};return a69c();}function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0xc2;let f=c[d];return f;},a69d(a,b);}Generator[a69z(0x10e)]({'name':a69z(0x10d),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a69z(0x123),'validOpts':['dir'],'examples':[a69z(0xe6)]},async function(a,b){const A=a69z;try{const c=this[A(0xda)][A(0xe9)](),d=[{'name':A(0xe2),'value':A(0x113)},{'name':A(0xf1),'value':A(0xfd)},{'name':A(0xef),'value':A(0xf2)}];c[A(0x10a)][A(0x10d)]===A(0x10c)&&d[A(0x120)]({'name':A(0xd7),'value':A(0xcb)});c[A(0x10a)]['graphql']===A(0xdc)&&d[A(0x120)]({'name':A(0xf4),'value':'withGql'});const f={'type':'checkbox','name':A(0x100),'message':A(0x109),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0xf8)](f);g['length']===0x0&&(Log[A(0x121)](A(0xe7)),process[A(0x110)](0x1)),this[A(0xda)][A(0x122)](c,async()=>{const B=A,h=this[B(0xda)][B(0xf6)]({}),i=a[0x0],j=paramCase(i),k=camelCase(i),l=b['dir']?'/'+b[B(0xd5)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[B(0x10a)][B(0x10d)],'graphql':c['engines'][B(0xf3)],'test':c[B(0x10a)][B(0x118)],'noRename':!![],'withPubs':g[B(0x105)]('withPubs'),'withFixtures':g[B(0x105)]('withFixtures'),'withMethods':g[B(0x105)](B(0x113)),'withRest':g['includes'](B(0xcb))};let n='js';c['engines']['js']===B(0xfb)&&(n='ts');(!this[B(0xda)][B(0xe0)](B(0x119))||!this[B(0xda)][B(0xe0)](B(0xce))||!this['fsi'][B(0xe0)](B(0xec))||!this['fsi'][B(0xe0)](B(0xc8))||!this[B(0xda)][B(0xe0)]('mongo'))&&(Log[B(0x103)](B(0x11a)),await this[B(0xda)][B(0x10b)](B(0x11f),{'cwd':h}));const o=a69e[B(0xf7)](B(0x11e));o&&await o[B(0x111)]([j],{'config':c,'where':B(0xc2)});c[B(0x10a)][B(0x10d)]===B(0x10c)&&(m[B(0xcb)]&&this[B(0xda)][B(0x106)]({'srcPath':B(0xf5),'destPath':this[B(0xda)][B(0xf6)]({'pathParts':[B(0x107),B(0x10d),b[B(0xd5)],j,'rest-api.'+n]}),'context':m,'config':c}));m['withMethods']&&this[B(0xda)]['template']({'srcPath':B(0xd4),'destPath':this[B(0xda)][B(0xf6)]({'pathParts':[B(0x107),B(0x10d),b[B(0xd5)],j,B(0x104)+n]}),'context':m,'config':c});m[B(0xfd)]&&this[B(0xda)][B(0x106)]({'srcPath':B(0x11d),'destPath':this[B(0xda)][B(0xf6)]({'pathParts':[B(0x107),'api',b[B(0xd5)],j,B(0x11c)+n]}),'context':m,'config':c});c[B(0x10a)][B(0x118)]!==B(0xee)&&this[B(0xda)][B(0x106)]({'srcPath':B(0x117),'destPath':this[B(0xda)][B(0xf6)]({'pathParts':['imports','api',b[B(0xd5)],j,j+B(0xe1)+n]}),'context':m,'config':c});m[B(0xf2)]&&this[B(0xda)][B(0x106)]({'srcPath':B(0xd9),'destPath':this[B(0xda)][B(0xf6)]({'pathParts':[B(0x107),B(0x10d),b['dir'],j,B(0xe8)+n]}),'context':m,'config':c});if(c[B(0x10a)]['graphql']==='apollo'){if(g[B(0x105)](B(0xfc))){const q=this[B(0xda)][B(0xf6)]({'pathParts':[B(0x107),'startup',B(0xc2),B(0xde)+c[B(0x10a)]['js']]}),r=this[B(0xda)][B(0xdf)]({'pathParts':[q],'config':c}),s=this[B(0xda)][B(0xf6)]({'pathParts':[B(0x107),'api',b[B(0xd5)],j,B(0xf3),B(0xd1)+n]}),t=B(0x116)+l+j+B(0xe5);this[B(0xda)]['template']({'srcPath':B(0xed),'destPath':s,'context':m,'config':c}),this[B(0xda)]['injectAtBeginningOfFile']({'filePath':r,'content':'import\x20{\x20typeDefs\x20as\x20'+k+B(0xe4)+t+B(0xdb)}),this['fsi'][B(0xcd)]({'filePath':r,'content':B(0x114)+k+B(0xc4),'begin':B(0xd0),'end':B(0xc6)});const u=this[B(0xda)][B(0xf6)]({'pathParts':['imports','api',b[B(0xd5)],j,'graphql',B(0x10f)+n]}),v=B(0x116)+l+j+'/graphql/resolvers';this[B(0xda)][B(0x106)]({'srcPath':'api/resolvers.js','destPath':u,'context':m,'config':c}),this['fsi']['injectAtBeginningOfFile']({'filePath':r,'content':B(0xd2)+k+B(0xcc)+v+'\x27;'}),this[B(0xda)][B(0xcd)]({'filePath':r,'content':'resolverList.push('+k+B(0xd8),'begin':B(0xd0),'end':B(0xc6)});}}this[B(0xda)]['template']({'srcPath':B(0x102),'destPath':this[B(0xda)][B(0xf6)]({'pathParts':[B(0x107),'startup','server',B(0xe3)+j+'-api.'+n]}),'context':m,'config':c,'force':!![]});const p=this[B(0xda)][B(0xf6)]({'pathParts':[B(0x107),B(0xeb),B(0xc2),B(0xde)+c[B(0x10a)]['js']]});this[B(0xda)][B(0x112)]({'filePath':p,'content':B(0xcf)+j+B(0x108)});});}catch(h){console[A(0x101)](h),process[A(0x110)](0x0);}});
1
+ const a70y=a70d;(function(a,b){const w=a70d,c=a();while(!![]){try{const d=-parseInt(w(0x15f))/0x1*(-parseInt(w(0x1aa))/0x2)+parseInt(w(0x17f))/0x3+parseInt(w(0x1a9))/0x4*(parseInt(w(0x167))/0x5)+parseInt(w(0x19c))/0x6+-parseInt(w(0x17a))/0x7*(-parseInt(w(0x165))/0x8)+-parseInt(w(0x166))/0x9+parseInt(w(0x15e))/0xa*(-parseInt(w(0x16a))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0xb1200));const a70b=(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;};}()),a70a=a70b(this,function(){const x=a70d;return a70a['toString']()[x(0x170)]('(((.+)+)+)+$')[x(0x195)]()['constructor'](a70a)['search'](x(0x1a6));});a70a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a70e from'../generators/maka.gen.js';function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x154;let f=c[d];return f;},a70d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';function a70c(){const B=['resolvers.','/imports/api','installMeteorPackage','push','startup','apollo','register-','api/resolvers.js','Verifying\x20meteor\x20package\x20requirements\x20...','maka:rest','resolverList.push(','rpc-methods.','ddp-rate-limiter','index.','tsx','api/methods.js','.app-tests.','toString','exit','includes','withMethods','test','api/api.js','log','3078384sqzuAV','/graphql/typeDefs','api/typeDefs.js','\x27;\x0a','rest','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','template','options','api','RPC\x20(Methods)','(((.+)+)+)+$','injectAtEndOfFile','publications.','2212YAOArd','2005362AutlVf','api/publications.js','typeList.push(','dir','api/register-api.js','const','injectAtBeginningOfFile','import\x20\x27./register-','fsi','rewriteDestinationPathForEngine','api/tests.js','graphql','290XADNtn','1jHiiXo','No\x20API\x20boundaries\x20selected','maka\x20g:api\x20todos','collection','checkMeteorPackage','withFixtures','1648AaEXYA','995697facENr','2695cjYHQQ','typeDefs.','REST\x20API','961532woQdhO','rest-api.','-api\x27;','pathFromApp','Resolvers\x20}\x20from\x20\x27','none','search','error','api/fixtures.js','Resolvers);\x0a\x0a','TypeDefs\x20}\x20from\x20\x27','TypeDefs);\x0a','injectIntoFile','engines','/graphql/resolvers','maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo','26348yncgiu','import\x20{\x20typeDefs\x20as\x20','if\x20\x5c(typeList','imports','server','2345667mlSEtk','mdg:validated-method','withGql','withRest','withPubs'];a70c=function(){return B;};return a70c();}Generator['create']({'name':a70y(0x1a4),'aliases':['a'],'usage':'maka\x20{generate,\x20g}:{api}\x20<resource-name>','shortDesc':a70y(0x1a1),'validOpts':[a70y(0x155)],'examples':[a70y(0x161)]},async function(a,b){const z=a70y;try{const c=this[z(0x15a)]['getProjectConfig'](),d=[{'name':z(0x1a5),'value':'withMethods'},{'name':'Fixtures','value':z(0x164)},{'name':'Publications','value':z(0x183)}];c[z(0x177)][z(0x1a4)]===z(0x1a0)&&d[z(0x187)]({'name':z(0x169),'value':z(0x182)});c[z(0x177)]['graphql']===z(0x189)&&d[z(0x187)]({'name':'GraphQL','value':z(0x181)});const f={'type':'checkbox','name':'apiAnswers','message':'API\x20boundaries\x20to\x20create','pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[z(0x1a3)](f);g['length']===0x0&&(Log[z(0x171)](z(0x160)),process[z(0x196)](0x1)),this['fsi']['withValue'](c,async()=>{const A=z,h=this['fsi'][A(0x16d)]({}),i=a[0x0],j=paramCase(i),k=camelCase(i),l=b[A(0x155)]?'/'+b[A(0x155)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[A(0x177)][A(0x1a4)],'graphql':c['engines']['graphql'],'test':c['engines'][A(0x199)],'noRename':!![],'withPubs':g[A(0x197)]('withPubs'),'withFixtures':g[A(0x197)](A(0x164)),'withMethods':g['includes'](A(0x198)),'withRest':g[A(0x197)](A(0x182))};let n='js';c['engines']['js']===A(0x192)&&(n='ts');(!this[A(0x15a)][A(0x163)](A(0x18d))||!this[A(0x15a)][A(0x163)]('maka:check')||!this['fsi'][A(0x163)](A(0x190))||!this[A(0x15a)][A(0x163)](A(0x180))||!this[A(0x15a)][A(0x163)]('mongo'))&&(Log['notice'](A(0x18c)),await this[A(0x15a)][A(0x186)](A(0x179),{'cwd':h}));const o=a70e['findGenerator'](A(0x162));o&&await o['invoke']([j],{'config':c,'where':'server'});c[A(0x177)]['api']==='rest'&&(m['withRest']&&this['fsi']['template']({'srcPath':A(0x19a),'destPath':this[A(0x15a)][A(0x16d)]({'pathParts':['imports','api',b[A(0x155)],j,A(0x16b)+n]}),'context':m,'config':c}));m[A(0x198)]&&this[A(0x15a)][A(0x1a2)]({'srcPath':A(0x193),'destPath':this[A(0x15a)][A(0x16d)]({'pathParts':[A(0x17d),'api',b[A(0x155)],j,A(0x18f)+n]}),'context':m,'config':c});m[A(0x164)]&&this['fsi'][A(0x1a2)]({'srcPath':A(0x172),'destPath':this[A(0x15a)]['pathFromApp']({'pathParts':[A(0x17d),A(0x1a4),b['dir'],j,'fixtures.'+n]}),'context':m,'config':c});c[A(0x177)][A(0x199)]!==A(0x16f)&&this['fsi'][A(0x1a2)]({'srcPath':A(0x15c),'destPath':this[A(0x15a)][A(0x16d)]({'pathParts':['imports','api',b['dir'],j,j+A(0x194)+n]}),'context':m,'config':c});m[A(0x183)]&&this[A(0x15a)][A(0x1a2)]({'srcPath':A(0x1ab),'destPath':this[A(0x15a)]['pathFromApp']({'pathParts':[A(0x17d),A(0x1a4),b[A(0x155)],j,A(0x1a8)+n]}),'context':m,'config':c});if(c[A(0x177)]['graphql']===A(0x189)){if(g[A(0x197)]('withGql')){const q=this[A(0x15a)][A(0x16d)]({'pathParts':[A(0x17d),A(0x188),A(0x17e),A(0x191)+c[A(0x177)]['js']]}),r=this[A(0x15a)][A(0x15b)]({'pathParts':[q],'config':c}),s=this[A(0x15a)]['pathFromApp']({'pathParts':[A(0x17d),A(0x1a4),b['dir'],j,A(0x15d),A(0x168)+n]}),t=A(0x185)+l+j+A(0x19d);this[A(0x15a)][A(0x1a2)]({'srcPath':A(0x19e),'destPath':s,'context':m,'config':c}),this['fsi'][A(0x158)]({'filePath':r,'content':A(0x17b)+k+A(0x174)+t+A(0x19f)}),this[A(0x15a)][A(0x176)]({'filePath':r,'content':A(0x154)+k+A(0x175),'begin':A(0x157),'end':A(0x17c)});const u=this[A(0x15a)][A(0x16d)]({'pathParts':[A(0x17d),A(0x1a4),b[A(0x155)],j,A(0x15d),A(0x184)+n]}),v=A(0x185)+l+j+A(0x178);this['fsi'][A(0x1a2)]({'srcPath':A(0x18b),'destPath':u,'context':m,'config':c}),this[A(0x15a)]['injectAtBeginningOfFile']({'filePath':r,'content':'\x0aimport\x20{\x20resolvers\x20as\x20'+k+A(0x16e)+v+'\x27;'}),this[A(0x15a)][A(0x176)]({'filePath':r,'content':A(0x18e)+k+A(0x173),'begin':'const','end':A(0x17c)});}}this['fsi'][A(0x1a2)]({'srcPath':A(0x156),'destPath':this[A(0x15a)][A(0x16d)]({'pathParts':[A(0x17d),A(0x188),A(0x17e),A(0x18a)+j+'-api.'+n]}),'context':m,'config':c,'force':!![]});const p=this[A(0x15a)][A(0x16d)]({'pathParts':['imports',A(0x188),'server',A(0x191)+c[A(0x177)]['js']]});this[A(0x15a)][A(0x1a7)]({'filePath':p,'content':A(0x159)+j+A(0x16c)});});}catch(h){console[z(0x19b)](h),process[z(0x196)](0x0);}});
@@ -1 +1 @@
1
- const a70n=a70d;(function(a,b){const k=a70d,c=a();while(!![]){try{const d=parseInt(k(0x14e))/0x1+parseInt(k(0x143))/0x2*(parseInt(k(0x12d))/0x3)+-parseInt(k(0x129))/0x4+-parseInt(k(0x152))/0x5*(-parseInt(k(0x13c))/0x6)+-parseInt(k(0x137))/0x7+parseInt(k(0x144))/0x8*(parseInt(k(0x14f))/0x9)+-parseInt(k(0x133))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0xe1d55));const a70b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a70d;if(c){const e=c[l(0x14a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){const m=a70d;return a70a['toString']()[m(0x12b)](m(0x151))['toString']()[m(0x145)](a70a)[m(0x12b)]('(((.+)+)+)+$');});a70a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x127;let f=c[d];return f;},a70d(a,b);}import{Log}from'../tools/log/log.class.js';Generator['create']({'name':a70n(0x148),'aliases':[a70n(0x13f)],'usage':a70n(0x149),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','validOpts':['dir',a70n(0x12f)],'description':a70n(0x139),'examples':[a70n(0x141)]},async function(a,b){const o=a70n;try{const c=this['fsi'][o(0x14d)]({}),d=this[o(0x13d)][o(0x127)]();this[o(0x13d)][o(0x13a)](d,async()=>{const p=o,f=paramCase(b[p(0x128)]),g={'name':pascalCase(b['resourceName']),'collectionName':pascalCase(b[p(0x128)]),'fileName':f,'where':b['where'],'test':d[p(0x13b)][p(0x142)],'noRename':!![]};let h='js';d[p(0x13b)]['js']==='tsx'&&(h='ts');!this[p(0x13d)]['checkMeteorPackage']('mongo')&&(Log[p(0x132)]('Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...'),await this[p(0x13d)][p(0x12e)](p(0x12a),{'cwd':c}));!this[p(0x13d)][p(0x134)](p(0x147))&&(Log[p(0x132)](p(0x14c)),await this[p(0x13d)]['installMeteorPackage']('maka:check',{'cwd':c}));this[p(0x13d)]['template']({'srcPath':p(0x13e),'destPath':this[p(0x13d)]['pathFromApp']({'pathParts':[p(0x150),p(0x14b),b[p(0x136)],p(0x130),b[p(0x135)],f+'.'+h]}),'context':g,'config':d});d[p(0x13b)][p(0x142)]!==p(0x146)&&this[p(0x13d)][p(0x131)]({'srcPath':'collection/tests.js','destPath':this['fsi']['pathFromApp']({'pathParts':['imports',p(0x14b),b[p(0x136)],'collections',b['dir'],f+p(0x140)+h]}),'context':g,'config':d});const i=b['dir']?'/'+b[p(0x135)]+'/':'/',j=this[p(0x13d)][p(0x14d)]({'pathParts':[p(0x150),p(0x14b),b[p(0x136)],'index.'+d[p(0x13b)]['js']]});this[p(0x13d)][p(0x12c)]({'filePath':j,'content':p(0x138)+i+f+'\x27;'});});}catch(f){Log['error'](f);}});function a70c(){const q=['5HTOTkV','getProjectConfig','resourceName','480232RhGqhC','mongo','search','injectAtEndOfFile','217719sfsRCb','installMeteorPackage','where','collections','template','notice','28123100drdXjs','checkMeteorPackage','dir','appPathPrefix','1091993QOKJit','import\x20\x27./collections','\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','withValue','engines','9370188blNdtJ','fsi','collection/collection.js','col','.app-tests.','maka\x20g:collection\x20todos','test','34xQcUxE','8NWBMGm','constructor','none','maka:check','collection','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','apply','startup','Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...','pathFromApp','710340WOZDFd','4568409lreoiX','imports','(((.+)+)+)+$'];a70c=function(){return q;};return a70c();}
1
+ const a71n=a71d;(function(a,b){const k=a71d,c=a();while(!![]){try{const d=parseInt(k(0xa0))/0x1+-parseInt(k(0x9b))/0x2*(parseInt(k(0x8f))/0x3)+-parseInt(k(0x82))/0x4*(-parseInt(k(0x84))/0x5)+parseInt(k(0x90))/0x6*(-parseInt(k(0xa1))/0x7)+parseInt(k(0x94))/0x8*(-parseInt(k(0xa7))/0x9)+parseInt(k(0xa9))/0xa+-parseInt(k(0x8a))/0xb*(-parseInt(k(0x8e))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0x4f937));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a71d;if(c){const e=c[l(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const m=a71d;return a71a[m(0x83)]()[m(0xb1)]('(((.+)+)+)+$')[m(0x83)]()[m(0x95)](a71a)[m(0xb1)](m(0xa2));});a71a();function a71c(){const q=['Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...','resourceName','import\x20\x27./collections','test','installMeteorPackage','tsx','search','248oFZUZR','toString','34435SKBSGS','withValue','col','collections','where','engines','352SgYWuT','pathFromApp','injectAtEndOfFile','Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...','288552fHlJCE','3nSWCeE','5262WyqUmn','checkMeteorPackage','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','error','473328MTiijE','constructor','imports','template','fsi','getProjectConfig','notice','948610ZGEqvb','mongo','.app-tests.','apply','startup','417222RvmNIq','4984qzLzyv','(((.+)+)+)+$','collection/tests.js','index.','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','maka\x20g:collection\x20todos','54PbxXRi','maka:check','1659800zVyQpy','dir'];a71c=function(){return q;};return a71c();}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x82;let f=c[d];return f;},a71d(a,b);}Generator['create']({'name':'collection','aliases':[a71n(0x86)],'usage':a71n(0x92),'checkWhere':!![],'shortDesc':a71n(0xa5),'validOpts':[a71n(0xaa),a71n(0x88)],'description':'\x0a\x20\x20\x20\x20Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection.\x0ahttps://docs.meteor.com/api/collections.html\x0a\x0a\x20\x20\x20\x20Collections\x20are\x20generated\x20in\x20the\x20\x22lib\x22\x20or\x20\x22common\x22\x20directory\x20by\x20default.\x20\x20This\x20location\x20is\x20accessible\x0a\x20\x20\x20\x20to\x20BOTH\x20client\x20and\x20server\x20(--where=both).\x20\x20Other\x20options\x20are\x20\x22--where=server\x22\x20and\x20\x22--where=client\x22\x20which\x0a\x20\x20\x20\x20will\x20setup\x20the\x20collection\x20in\x20their\x20respective\x20locations.\x0a\x20\x20','examples':[a71n(0xa6)]},async function(a,b){const o=a71n;try{const c=this['fsi'][o(0x8b)]({}),d=this['fsi'][o(0x99)]();this['fsi'][o(0x85)](d,async()=>{const p=o,f=paramCase(b[p(0xac)]),g={'name':pascalCase(b['resourceName']),'collectionName':pascalCase(b['resourceName']),'fileName':f,'where':b[p(0x88)],'test':d['engines']['test'],'noRename':!![]};let h='js';d[p(0x89)]['js']===p(0xb0)&&(h='ts');!this[p(0x98)][p(0x91)](p(0x9c))&&(Log[p(0x9a)](p(0x8d)),await this[p(0x98)]['installMeteorPackage'](p(0x9c),{'cwd':c}));!this['fsi']['checkMeteorPackage'](p(0xa8))&&(Log[p(0x9a)](p(0xab)),await this[p(0x98)][p(0xaf)](p(0xa8),{'cwd':c}));this[p(0x98)][p(0x97)]({'srcPath':'collection/collection.js','destPath':this[p(0x98)]['pathFromApp']({'pathParts':[p(0x96),p(0x9f),b['appPathPrefix'],p(0x87),b[p(0xaa)],f+'.'+h]}),'context':g,'config':d});d['engines'][p(0xae)]!=='none'&&this[p(0x98)][p(0x97)]({'srcPath':p(0xa3),'destPath':this[p(0x98)][p(0x8b)]({'pathParts':[p(0x96),p(0x9f),b['appPathPrefix'],'collections',b[p(0xaa)],f+p(0x9d)+h]}),'context':g,'config':d});const i=b[p(0xaa)]?'/'+b['dir']+'/':'/',j=this['fsi'][p(0x8b)]({'pathParts':[p(0x96),p(0x9f),b['appPathPrefix'],p(0xa4)+d['engines']['js']]});this[p(0x98)][p(0x8c)]({'filePath':j,'content':p(0xad)+i+f+'\x27;'});});}catch(f){Log[o(0x93)](f);}});
@@ -1 +1 @@
1
- const a71q=a71d;(function(a,b){const n=a71d,c=a();while(!![]){try{const d=parseInt(n(0x1c1))/0x1+-parseInt(n(0x1b0))/0x2*(-parseInt(n(0x19b))/0x3)+parseInt(n(0x19d))/0x4*(parseInt(n(0x18c))/0x5)+-parseInt(n(0x1c7))/0x6+-parseInt(n(0x1bc))/0x7*(-parseInt(n(0x1a2))/0x8)+-parseInt(n(0x193))/0x9+parseInt(n(0x186))/0xa*(-parseInt(n(0x188))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a71c,0xab830));const a71b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a71d;if(c){const e=c[o(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a71a=a71b(this,function(){const p=a71d;return a71a['toString']()[p(0x1bb)]('(((.+)+)+)+$')[p(0x1b7)]()['constructor'](a71a)[p(0x1bb)](p(0x1b4));});a71a();import a71e from'path';function a71c(){const t=['css','injectAtBeginningOfFile','\x27;\x0a','apply','8789391wVZgLW','className','assign','getProjectConfig','template/template.css','features','root','client','459402AjIJVD','.tests.js','5402036CXUPLO','imports','api','import\x20{\x20','maka\x20g:comp\x20todos/todos-item','104budazG','fsi','graphql','reflux','react','checkNpmPackage','template','ramda','resourceName','component/component.js','.js','import\x20\x27','installNpmPackage','true','14PMuQNH','none','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','ssr','(((.+)+)+)+$','withTranslations','rewriteDestinationPathForEngine','toString','engines','relative','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','search','592207twpNcP','/imports/ui/components','create','tsx','dir','319159Nzzvwe','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','warn','string','theme','injectAtEndOfFile','7966962TGgxOE','findAppDirectory','fileName','templates.js','error','pathFromApp','component','4010wLsnPW','import\x20\x27./','22891vpEaJX','test','\x20}\x20from\x20\x27','\x20};\x0a','5otHacX','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','setTemplate'];a71c=function(){return t;};return a71c();}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a71d(a,b){const c=a71c();return a71d=function(d,e){d=d-0x184;let f=c[d];return f;},a71d(a,b);}import{Log}from'../tools/log/log.class.js';const aliases=['comp'];Generator[a71q(0x1be)]({'name':a71q(0x185),'aliases':aliases,'usage':a71q(0x1c2),'shortDesc':a71q(0x1b2),'validOpts':[a71q(0x1c0)],'examples':[a71q(0x1a1)]},async function(a,b){const r=a71q;try{const c=this['fsi'][r(0x1c8)](),d=r(0x1bd),f=this[r(0x1a3)][r(0x184)]({'pathParts':[d,b[r(0x1c0)],paramCase(b['resourceName']),paramCase(b[r(0x1aa)])]}),g=await this[r(0x1a3)][r(0x196)]();this[r(0x1a3)]['withValue'](g,async()=>{const s=r;typeof g['template'][s(0x189)]===s(0x1c4)&&(g['template'][s(0x189)]=g['template'][s(0x189)]===s(0x1af)?!![]:![],this[s(0x1a3)][s(0x18e)]('test',g[s(0x1a8)][s(0x189)]));typeof g['template']['css']===s(0x1c4)&&(g[s(0x1a8)][s(0x18f)]=g[s(0x1a8)][s(0x18f)]===s(0x1af)?!![]:![],this[s(0x1a3)][s(0x18e)](s(0x18f),g[s(0x1a8)][s(0x18f)]));typeof g[s(0x1a8)]['js']===s(0x1c4)&&(g['template']['js']=g[s(0x1a8)]['js']===s(0x1af)?!![]:![],this[s(0x1a3)][s(0x18e)]('js',g['template']['js']));!g[s(0x198)]&&(g[s(0x198)]={});!b[s(0x199)]&&!this[s(0x1a3)][s(0x1a7)](s(0x1a9))&&(Log[s(0x1c3)](s(0x1ba)),await this[s(0x1a3)][s(0x1ae)]('ramda',{'cwd':c}));if(!b[s(0x199)]&&!this['fsi'][s(0x1a7)](s(0x1a6))){Log[s(0x1cb)](s(0x18d));return;}const h={'name':pascalCase(b['resourceName']),'myPath':a71e[s(0x1b9)](this[s(0x1a3)]['pathFromProject']({}),f),'cssCaseName':paramCase(b[s(0x1aa)]),'className':pascalCase(b[s(0x1aa)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[s(0x1aa)]),'graphql':g[s(0x1b8)][s(0x1a4)],'features':g['features'],'client':g[s(0x1b8)][s(0x19a)],'api':g[s(0x1b8)][s(0x19f)],'ssr':g[s(0x1b8)][s(0x1b3)],'test':g[s(0x1b8)][s(0x189)],'theme':g[s(0x1b8)][s(0x1c5)],'isLayout':![],'isComponent':!![],'withTranslations':g[s(0x198)][s(0x1b5)]};this[s(0x1a3)]['template']({'srcPath':s(0x1ab),'destPath':f+s(0x1ac),'context':h,'framework':s(0x1a6),'config':g});g['engines'][s(0x189)]!==s(0x1b1)&&this[s(0x1a3)][s(0x1a8)]({'srcPath':'test/test.js','destPath':f+s(0x19c),'context':h,'framework':s(0x1a6),'config':g});g[s(0x1a8)][s(0x18f)]&&(this[s(0x1a3)][s(0x1a8)]({'srcPath':s(0x197),'destPath':f+'.css','context':Object[s(0x195)]({},h,{'className':paramCase(b[s(0x1aa)])}),'config':g}),this['fsi']['injectAtBeginningOfFile']({'filePath':f+'.'+g[s(0x1b8)]['js'],'content':s(0x187)+h['cssCaseName']+'.'+g['engines']['css']+'\x27;'}));const i=b[s(0x1c0)]?'/'+b['dir']+'/':'/',j=''+d+i+h[s(0x1c9)]+'/'+h[s(0x1c9)];let k;if(g['engines'][s(0x1b3)]==='true'){const l=this['fsi'][s(0x184)]({'pathParts':[s(0x19e),'startup','lib',s(0x1ca)]});k=this[s(0x1a3)][s(0x1b6)]({'pathParts':[l],'config':g});}else{const m=this[s(0x1a3)]['pathFromApp']({'pathParts':[s(0x19e),'startup',s(0x19a),'templates.js']});k=this[s(0x1a3)][s(0x1b6)]({'pathParts':[m],'config':g});}g[s(0x1b8)]['client']===s(0x1a6)||g[s(0x1b8)]['client']===s(0x1a5)?(g['engines']['js']===s(0x1bf)?this[s(0x1a3)][s(0x190)]({'filePath':k,'content':s(0x1a0)+h[s(0x194)]+s(0x18a)+j+s(0x191)}):this['fsi'][s(0x190)]({'filePath':k,'content':s(0x1a0)+h[s(0x194)]+s(0x18a)+j+'.'+g['engines']['js']+s(0x191)}),this[s(0x1a3)][s(0x1c6)]({'filePath':k,'content':'export\x20{\x20'+h['className']+s(0x18b)})):this[s(0x1a3)][s(0x1c6)]({'filePath':k,'content':s(0x1ad)+j+'.'+g[s(0x1b8)]['js']+s(0x191)});});}catch(h){Log['error'](h);}});
1
+ const a72q=a72d;(function(a,b){const n=a72d,c=a();while(!![]){try{const d=-parseInt(n(0x12c))/0x1+parseInt(n(0x140))/0x2+-parseInt(n(0x12b))/0x3+parseInt(n(0x136))/0x4+parseInt(n(0x131))/0x5+parseInt(n(0x132))/0x6*(-parseInt(n(0x143))/0x7)+parseInt(n(0x137))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0x9f801));function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0x111;let f=c[d];return f;},a72d(a,b);}const a72b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a72d;if(c){const e=c[o(0x13c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a72a=a72b(this,function(){const p=a72d;return a72a[p(0x124)]()[p(0x119)](p(0x126))[p(0x124)]()[p(0x152)](a72a)[p(0x119)](p(0x126));});a72a();import a72e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';const aliases=[a72q(0x138)];Generator[a72q(0x111)]({'name':a72q(0x12a),'aliases':aliases,'usage':a72q(0x146),'shortDesc':a72q(0x121),'validOpts':[a72q(0x125)],'examples':[a72q(0x135)]},async function(a,b){const r=a72q;try{const c=this[r(0x139)][r(0x12d)](),d='/imports/ui/components',f=this[r(0x139)][r(0x130)]({'pathParts':[d,b[r(0x125)],paramCase(b[r(0x147)]),paramCase(b[r(0x147)])]}),g=await this[r(0x139)]['getProjectConfig']();this[r(0x139)][r(0x120)](g,async()=>{const s=r;typeof g[s(0x151)][s(0x141)]===s(0x134)&&(g[s(0x151)][s(0x141)]=g[s(0x151)][s(0x141)]===s(0x142)?!![]:![],this[s(0x139)][s(0x149)]('test',g[s(0x151)]['test']));typeof g['template']['css']===s(0x134)&&(g[s(0x151)]['css']=g['template'][s(0x14a)]===s(0x142)?!![]:![],this[s(0x139)]['setTemplate'](s(0x14a),g[s(0x151)]['css']));typeof g['template']['js']===s(0x134)&&(g[s(0x151)]['js']=g['template']['js']===s(0x142)?!![]:![],this['fsi'][s(0x149)]('js',g['template']['js']));!g[s(0x112)]&&(g[s(0x112)]={});!b[s(0x153)]&&!this[s(0x139)]['checkNpmPackage'](s(0x127))&&(Log[s(0x145)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[s(0x139)][s(0x13b)](s(0x127),{'cwd':c}));if(!b['root']&&!this[s(0x139)]['checkNpmPackage']('react')){Log[s(0x14d)](s(0x122));return;}const h={'name':pascalCase(b[s(0x147)]),'myPath':a72e[s(0x11c)](this['fsi'][s(0x11b)]({}),f),'cssCaseName':paramCase(b[s(0x147)]),'className':pascalCase(b[s(0x147)]),'camelCaseName':camelCase(b[s(0x147)]),'fileName':paramCase(b['resourceName']),'graphql':g[s(0x114)][s(0x14f)],'features':g[s(0x112)],'client':g[s(0x114)]['client'],'api':g[s(0x114)][s(0x13e)],'ssr':g[s(0x114)][s(0x148)],'test':g[s(0x114)]['test'],'theme':g['engines'][s(0x129)],'isLayout':![],'isComponent':!![],'withTranslations':g[s(0x112)]['withTranslations']};this[s(0x139)][s(0x151)]({'srcPath':'component/component.js','destPath':f+'.js','context':h,'framework':s(0x11e),'config':g});g[s(0x114)][s(0x141)]!=='none'&&this[s(0x139)][s(0x151)]({'srcPath':s(0x118),'destPath':f+'.tests.js','context':h,'framework':'react','config':g});g[s(0x151)]['css']&&(this[s(0x139)][s(0x151)]({'srcPath':'template/template.css','destPath':f+'.css','context':Object[s(0x14c)]({},h,{'className':paramCase(b[s(0x147)])}),'config':g}),this[s(0x139)][s(0x128)]({'filePath':f+'.'+g[s(0x114)]['js'],'content':s(0x13d)+h[s(0x11f)]+'.'+g['engines']['css']+'\x27;'}));const i=b['dir']?'/'+b[s(0x125)]+'/':'/',j=''+d+i+h[s(0x113)]+'/'+h[s(0x113)];let k;if(g[s(0x114)][s(0x148)]===s(0x142)){const l=this['fsi']['pathFromApp']({'pathParts':[s(0x13a),s(0x11a),s(0x12e),s(0x116)]});k=this[s(0x139)][s(0x115)]({'pathParts':[l],'config':g});}else{const m=this[s(0x139)][s(0x130)]({'pathParts':[s(0x13a),s(0x11a),s(0x11d),s(0x116)]});k=this[s(0x139)]['rewriteDestinationPathForEngine']({'pathParts':[m],'config':g});}g[s(0x114)][s(0x11d)]===s(0x11e)||g[s(0x114)][s(0x11d)]==='reflux'?(g[s(0x114)]['js']===s(0x150)?this[s(0x139)][s(0x128)]({'filePath':k,'content':s(0x117)+h[s(0x13f)]+s(0x14b)+j+'\x27;\x0a'}):this[s(0x139)][s(0x128)]({'filePath':k,'content':s(0x117)+h[s(0x13f)]+'\x20}\x20from\x20\x27'+j+'.'+g[s(0x114)]['js']+s(0x123)}),this[s(0x139)]['injectAtEndOfFile']({'filePath':k,'content':s(0x14e)+h[s(0x13f)]+s(0x12f)})):this['fsi'][s(0x133)]({'filePath':k,'content':s(0x144)+j+'.'+g[s(0x114)]['js']+'\x27;\x0a'});});}catch(h){Log[r(0x14d)](h);}});function a72c(){const t=['import\x20\x27','warn','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','resourceName','ssr','setTemplate','css','\x20}\x20from\x20\x27','assign','error','export\x20{\x20','graphql','tsx','template','constructor','root','create','features','fileName','engines','rewriteDestinationPathForEngine','templates.js','import\x20{\x20','test/test.js','search','startup','pathFromProject','relative','client','react','cssCaseName','withValue','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','\x27;\x0a','toString','dir','(((.+)+)+)+$','ramda','injectAtBeginningOfFile','theme','component','1426263FSlhMk','1038082rHfygg','findAppDirectory','lib','\x20};\x0a','pathFromApp','4340055AanGUx','3218658YBfIZh','injectAtEndOfFile','string','maka\x20g:comp\x20todos/todos-item','2327768bzvXNP','5206192awGXls','comp','fsi','imports','installNpmPackage','apply','import\x20\x27./','api','className','1205064RlDqQt','test','true','7eyDVwo'];a72c=function(){return t;};return a72c();}
@@ -1 +1 @@
1
- const a72k=a72d;function a72d(a,b){const c=a72c();return a72d=function(d,e){d=d-0xed;let f=c[d];return f;},a72d(a,b);}(function(a,b){const h=a72d,c=a();while(!![]){try{const d=parseInt(h(0xf4))/0x1+parseInt(h(0x108))/0x2*(parseInt(h(0x100))/0x3)+-parseInt(h(0xff))/0x4*(-parseInt(h(0x10a))/0x5)+-parseInt(h(0xfa))/0x6*(parseInt(h(0xee))/0x7)+-parseInt(h(0x10b))/0x8+parseInt(h(0xf2))/0x9*(parseInt(h(0x109))/0xa)+parseInt(h(0xf5))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a72c,0x63b1c));function a72c(){const n=['maka\x20g:config\x20production','development','config','getProjectConfig','(((.+)+)+)+$','constructor','1162XNcvUh','27290ptLXyK','265jbOVTN','5312184LgqaUQ','isDocker','14mdXlnG','prod','apply','Generate\x20configuration\x20settings.','2691QNtwnd','search','56152VcyAkN','5600991TYIUHP','appName','withValue','production','resourceName','1233816oPWWNA','pathFromProject','dev','create','fsi','7636PWbnxt','6AJhnbZ','maka\x20{generate,\x20g}:{config}\x20<name>'];a72c=function(){return n;};return a72c();}const a72b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a72d;if(c){const e=c[i(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a72a=a72b(this,function(){const j=a72d;return a72a['toString']()[j(0xf3)](j(0x106))['toString']()[j(0x107)](a72a)[j(0xf3)](j(0x106));});a72a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a72k(0xfd)]({'name':'config','usage':a72k(0x101),'shortDesc':a72k(0xf1),'validOpts':[a72k(0xed)],'examples':[a72k(0x102)]},function(a,b){const l=a72k,c=this[l(0xfe)][l(0x105)]();this['fsi'][l(0xf7)](c,async()=>{const m=l,d={'app':c[m(0xf6)],'appFileCase':paramCase(c[m(0xf6)]),'name':pascalCase(b[m(0xf9)]),'fileName':paramCase(b[m(0xf9)]),'camelCase':camelCase(b[m(0xf9)]),'userName':'ubuntu','isDocker':b[m(0xed)]};let e=a[0x0];if(e===m(0xfc))e=m(0x103);else e===m(0xef)&&(e=m(0xf8));const f=this[m(0xfe)][m(0xfb)]({'pathParts':[m(0x104),e,'settings.json']});this['fsi']['template']({'srcPath':'config/settings.json','destPath':f,'context':d,'config':c});if(!b[m(0xed)]){const g=this['fsi']['pathFromProject']({'pathParts':[m(0x104),e,'process.env']});this[m(0xfe)]['template']({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});
1
+ const a73k=a73d;(function(a,b){const h=a73d,c=a();while(!![]){try{const d=parseInt(h(0xd9))/0x1*(parseInt(h(0xe0))/0x2)+-parseInt(h(0xd8))/0x3+-parseInt(h(0xe2))/0x4+-parseInt(h(0xda))/0x5+-parseInt(h(0xdc))/0x6+-parseInt(h(0xcf))/0x7*(parseInt(h(0xdf))/0x8)+-parseInt(h(0xce))/0x9*(-parseInt(h(0xcb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x5109c));const a73b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a73d;if(c){const e=c[i(0xde)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a73a=a73b(this,function(){const j=a73d;return a73a[j(0xdd)]()[j(0xcd)](j(0xe5))[j(0xdd)]()[j(0xdb)](a73a)['search'](j(0xe5));});function a73d(a,b){const c=a73c();return a73d=function(d,e){d=d-0xc8;let f=c[d];return f;},a73d(a,b);}a73a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a73k(0xd0),'usage':a73k(0xd5),'shortDesc':a73k(0xe1),'validOpts':[a73k(0xc9)],'examples':[a73k(0xca)]},function(a,b){const l=a73k,c=this['fsi']['getProjectConfig']();this[l(0xd3)]['withValue'](c,async()=>{const m=l,d={'app':c['appName'],'appFileCase':paramCase(c[m(0xcc)]),'name':pascalCase(b[m(0xd6)]),'fileName':paramCase(b[m(0xd6)]),'camelCase':camelCase(b[m(0xd6)]),'userName':m(0xd4),'isDocker':b['isDocker']};let e=a[0x0];if(e===m(0xe6))e='development';else e===m(0xe3)&&(e='production');const f=this['fsi'][m(0xc8)]({'pathParts':[m(0xd0),e,m(0xe4)]});this[m(0xd3)][m(0xd2)]({'srcPath':m(0xd7),'destPath':f,'context':d,'config':c});if(!b[m(0xc9)]){const g=this['fsi'][m(0xc8)]({'pathParts':[m(0xd0),e,'process.env']});this[m(0xd3)][m(0xd2)]({'srcPath':m(0xd1),'destPath':g,'context':d,'config':c});}});});function a73c(){const n=['15682LarrdY','Generate\x20configuration\x20settings.','1031436GlCGTo','prod','settings.json','(((.+)+)+)+$','dev','pathFromProject','isDocker','maka\x20g:config\x20production','10TDuAMt','appName','search','16483239DrGTyH','7maPOjI','config','config/process.env','template','fsi','ubuntu','maka\x20{generate,\x20g}:{config}\x20<name>','resourceName','config/settings.json','1362627hUDNSg','18mPuVoc','659775cSQnMe','constructor','3724710GXTvWF','toString','apply','1406952nOBibb'];a73c=function(){return n;};return a73c();}
@@ -1 +1 @@
1
- const a73p=a73d;(function(a,b){const n=a73d,c=a();while(!![]){try{const d=-parseInt(n(0x10d))/0x1*(-parseInt(n(0xe9))/0x2)+-parseInt(n(0x10f))/0x3*(parseInt(n(0x11d))/0x4)+parseInt(n(0xfe))/0x5+-parseInt(n(0x111))/0x6+parseInt(n(0x11b))/0x7*(parseInt(n(0xea))/0x8)+-parseInt(n(0xee))/0x9+parseInt(n(0x10c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a73c,0x2d34b));const a73b=(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;};}()),a73a=a73b(this,function(){const o=a73d;return a73a[o(0xff)]()['search']('(((.+)+)+)+$')['toString']()[o(0xec)](a73a)[o(0x11e)]('(((.+)+)+)+$');});a73a();import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a73d(a,b){const c=a73c();return a73d=function(d,e){d=d-0xe8;let f=c[d];return f;},a73d(a,b);}Generator[a73p(0x114)]({'name':'dbc','usage':a73p(0x110),'shortDesc':a73p(0x113),'validOpts':[a73p(0x102),a73p(0xf3)],'examples':[a73p(0xf4),a73p(0x10a),'maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const q=a73p;try{const c=await this[q(0x108)][q(0xfc)](),d=this[q(0x108)][q(0xfa)]({}),f=paramCase(b['resourceName']);if(!b[q(0x102)]){const h={'type':q(0x103),'name':q(0x11a),'message':'DB\x20Driver','choices':[{'name':q(0x100),'value':'pgsql'},{'name':q(0x120),'value':q(0xf5)}]},{dbAnswer:i}=await Actions[q(0x119)](h);i&&(b[q(0x102)]=i);}const g={'name':pascalCase(b[q(0xef)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[q(0xef)]),'type':b[q(0x102)],'engine':c[q(0x105)]['js'],'noRename':!![]};this['fsi'][q(0x115)](c,async()=>{const r=q;let j='js';c['engines']['js']===r(0x107)&&(j='ts');const k=[r(0xf5),r(0xf6)];if(k[r(0x117)](g[r(0x102)])<0x0){const m=g[r(0x102)]?g[r(0x102)]:r(0xf1);Log[r(0x11c)](r(0x118)+m+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b['type']===r(0xf6)&&!this[r(0x108)][r(0xf0)]('pg')&&(Log[r(0xeb)]('Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...'),await this[r(0x108)][r(0xf8)]('pg',{'cwd':d}));b[r(0x102)]==='mssql'&&!this['fsi']['checkNpmPackage']('mssql')&&(Log[r(0xeb)](r(0x106)),await this['fsi'][r(0xf8)](r(0xf5),{'cwd':d}));b[r(0x102)]==='sqlite'&&!this[r(0x108)]['checkNpmPackage'](r(0xe8))&&(Log[r(0xeb)](r(0xf7)),await this['fsi'][r(0xf8)](r(0xe8),{'cwd':d}));this[r(0x108)][r(0x112)]({'srcPath':r(0xf2),'destPath':this[r(0x108)]['pathFromApp']({'pathParts':['imports','startup',r(0xf9),r(0xed),b[r(0xf3)],f,r(0x109)+j]}),'context':g,'config':c}),this[r(0x108)][r(0x112)]({'srcPath':'dbc/conn.js','destPath':this[r(0x108)][r(0xfa)]({'pathParts':[r(0x104),r(0x11f),r(0xf9),'dbc',b[r(0xf3)],f,r(0x101)+j]}),'context':g,'config':c}),this[r(0x108)][r(0x112)]({'srcPath':r(0x10e),'destPath':this[r(0x108)][r(0xfa)]({'pathParts':[r(0x104),r(0x11f),'server',r(0xfb)+f+'-dbc.'+j]}),'context':g,'config':c});const l=this[r(0x108)][r(0xfa)]({'pathParts':[r(0x104),'startup',r(0xf9),'index.'+c['engines']['js']]});this[r(0x108)][r(0x10b)]({'filePath':l,'content':r(0x116)+f+r(0xfd)});});}catch(j){Log[q(0x11c)](j);}});function a73c(){const s=['maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','536118ftFiJE','template','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','create','withValue','import\x20\x27./register-','indexOf','Invalid\x20type\x20','options','dbAnswer','259ZLFfKN','error','4DIhdqq','search','startup','MS\x20SQL','better-sqlite3','2ucLvID','55240CfNzmy','warn','constructor','dbc','1871280EsqNLm','resourceName','checkNpmPackage','(blank)','dbc/config.js','dir','maka\x20g:dbc\x20geoserver\x20--type=pgsql','mssql','pgsql','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','installNpmPackage','server','pathFromApp','register-','getProjectConfig','-dbc\x27;','1191810FgxUmo','toString','PostgreSQL','conn.','type','list','imports','engines','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','tsx','fsi','config.','maka\x20g:dbc\x20azure\x20--type=mssql','injectAtEndOfFile','450230krFJuH','302791JKXeRp','dbc/register-dbc.js','1077675zaLIYZ'];a73c=function(){return s;};return a73c();}
1
+ const a74q=a74d;(function(a,b){const n=a74d,c=a();while(!![]){try{const d=parseInt(n(0x13d))/0x1*(-parseInt(n(0x147))/0x2)+-parseInt(n(0x130))/0x3*(-parseInt(n(0x15d))/0x4)+-parseInt(n(0x138))/0x5*(-parseInt(n(0x131))/0x6)+-parseInt(n(0x13c))/0x7+-parseInt(n(0x144))/0x8+parseInt(n(0x12c))/0x9+parseInt(n(0x146))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0x7cbc5));const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a74d;if(c){const e=c[o(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const p=a74d;return a74a['toString']()[p(0x153)](p(0x137))[p(0x14c)]()['constructor'](a74a)[p(0x153)](p(0x137));});a74a();function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0x127;let f=c[d];return f;},a74d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a74c(){const t=['engines','type','create','maka\x20g:dbc\x20todos\x20--type=sqlite','maka\x20g:dbc\x20azure\x20--type=mssql','46672pIMVBG','Invalid\x20type\x20','dbAnswer','fsi','import\x20\x27./register-','pgsql','getProjectConfig','3091500khZBvI','dbc/conn.js','installNpmPackage','-dbc.','3LpLwYI','42mtFuUT','register-','apply','maka\x20g:dbc\x20geoserver\x20--type=pgsql','(blank)','warn','(((.+)+)+)+$','687565LeIGyE','dir','conn.','server','3454234AwzigA','115572GBEknT','error','withValue',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','indexOf','pathFromApp','better-sqlite3','7777192oiwfCR','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','11210570JkvPfg','8wrFiia','template','imports','dbc/config.js','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','toString','dbc','Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...','startup','-dbc\x27;','mssql','resourceName','search','config.','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','options','dbc/register-dbc.js'];a74c=function(){return t;};return a74c();}import{Actions}from'../tools/actions/actions.class.js';Generator[a74q(0x15a)]({'name':a74q(0x14d),'usage':'maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','shortDesc':a74q(0x14b),'validOpts':['type',a74q(0x139)],'examples':[a74q(0x134),a74q(0x15c),a74q(0x15b)]},async function(a,b){const r=a74q;try{const c=await this['fsi'][r(0x12b)](),d=this[r(0x128)]['pathFromApp']({}),f=paramCase(b[r(0x152)]);if(!b[r(0x159)]){const h={'type':'list','name':r(0x127),'message':'DB\x20Driver','choices':[{'name':'PostgreSQL','value':r(0x12a)},{'name':'MS\x20SQL','value':r(0x151)}]},{dbAnswer:i}=await Actions[r(0x156)](h);i&&(b[r(0x159)]=i);}const g={'name':pascalCase(b['resourceName']),'fileName':paramCase(b[r(0x152)]),'camelCase':camelCase(b[r(0x152)]),'type':b['type'],'engine':c[r(0x158)]['js'],'noRename':!![]};this[r(0x128)][r(0x13f)](c,async()=>{const s=r;let j='js';c['engines']['js']==='tsx'&&(j='ts');const k=['mssql',s(0x12a)];if(k[s(0x141)](g[s(0x159)])<0x0){const m=g['type']?g[s(0x159)]:s(0x135);Log['error'](s(0x15e)+m+s(0x140));return;}b[s(0x159)]===s(0x12a)&&!this[s(0x128)]['checkNpmPackage']('pg')&&(Log[s(0x136)](s(0x155)),await this['fsi'][s(0x12e)]('pg',{'cwd':d}));b['type']===s(0x151)&&!this[s(0x128)]['checkNpmPackage'](s(0x151))&&(Log[s(0x136)](s(0x14e)),await this['fsi']['installNpmPackage'](s(0x151),{'cwd':d}));b[s(0x159)]==='sqlite'&&!this['fsi']['checkNpmPackage'](s(0x143))&&(Log[s(0x136)](s(0x145)),await this['fsi'][s(0x12e)](s(0x143),{'cwd':d}));this['fsi']['template']({'srcPath':s(0x14a),'destPath':this['fsi'][s(0x142)]({'pathParts':[s(0x149),s(0x14f),s(0x13b),'dbc',b['dir'],f,s(0x154)+j]}),'context':g,'config':c}),this[s(0x128)][s(0x148)]({'srcPath':s(0x12d),'destPath':this['fsi'][s(0x142)]({'pathParts':['imports',s(0x14f),s(0x13b),s(0x14d),b['dir'],f,s(0x13a)+j]}),'context':g,'config':c}),this['fsi'][s(0x148)]({'srcPath':s(0x157),'destPath':this[s(0x128)]['pathFromApp']({'pathParts':['imports',s(0x14f),'server',s(0x132)+f+s(0x12f)+j]}),'context':g,'config':c});const l=this['fsi'][s(0x142)]({'pathParts':[s(0x149),s(0x14f),s(0x13b),'index.'+c[s(0x158)]['js']]});this[s(0x128)]['injectAtEndOfFile']({'filePath':l,'content':s(0x129)+f+s(0x150)});});}catch(j){Log[r(0x13e)](j);}});
@@ -1 +1 @@
1
- const a74i=a74d;(function(a,b){const f=a74d,c=a();while(!![]){try{const d=-parseInt(f(0xde))/0x1*(parseInt(f(0xd6))/0x2)+-parseInt(f(0xeb))/0x3*(-parseInt(f(0xe9))/0x4)+parseInt(f(0xf2))/0x5+parseInt(f(0xf1))/0x6*(-parseInt(f(0xd7))/0x7)+parseInt(f(0xf5))/0x8+-parseInt(f(0xe3))/0x9+parseInt(f(0xd5))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a74c,0xc3888));function a74d(a,b){const c=a74c();return a74d=function(d,e){d=d-0xd3;let f=c[d];return f;},a74d(a,b);}const a74b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a74d;if(c){const e=c[g(0xf0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a74a=a74b(this,function(){const h=a74d;return a74a[h(0xe5)]()[h(0xe2)](h(0xd8))['toString']()[h(0xdd)](a74a)['search'](h(0xd8));});function a74c(){const l=['2021950elQGiU','(((.+)+)+)+$','dockerfile','error','service','create','constructor','16003mdZvDh','appName','build','getGlobalConfig','search','2112723knuuaM','fsi','toString','cert','Generate\x20an\x20updated\x20dockerfile','docker/Dockerfile','28100VKGdVE','Dockerfile','87UCicmN','findProjectDirectory','isFile','withValue','join','apply','18CeLSjm','3123120TzDgcQ','maka\x20g:dockerfile','app','4833840yuwRch','maka\x20{generate,\x20g}:dockerfile','getProjectConfig','14137990ZnscBx','118YQWJFj'];a74c=function(){return l;};return a74c();}a74a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a74e from'path';Generator[a74i(0xdc)]({'name':a74i(0xd9),'usage':a74i(0xd3),'shortDesc':a74i(0xe7),'validOpts':[],'noResource':!![],'examples':[a74i(0xf3)]},async function(){const j=a74i;try{const a=await this[j(0xe4)][j(0xd4)](),b=await this[j(0xe4)][j(0xe1)](),c=this[j(0xe4)][j(0xec)]();this[j(0xe4)][j(0xee)](a,async()=>{const k=j,d={'app':b[k(0xdf)],'config':a,'appPath':a74e[k(0xef)](c,k(0xf4)),'bundlePath':a74e[k(0xef)](c,k(0xe0),'app.tar.gz'),'useCert':this[k(0xe4)][k(0xed)](b[k(0xe6)])};this[k(0xe4)]['template']({'srcPath':k(0xe8),'destPath':a74e['join'](c,k(0xea)),'framework':k(0xdb),'context':d,'config':a});});}catch(d){Log[j(0xda)](d);}});
1
+ const a75i=a75d;(function(a,b){const f=a75d,c=a();while(!![]){try{const d=parseInt(f(0x111))/0x1*(parseInt(f(0x114))/0x2)+parseInt(f(0x12f))/0x3+parseInt(f(0x120))/0x4*(-parseInt(f(0x121))/0x5)+parseInt(f(0x12d))/0x6*(parseInt(f(0x115))/0x7)+-parseInt(f(0x11e))/0x8+-parseInt(f(0x127))/0x9*(parseInt(f(0x12e))/0xa)+-parseInt(f(0x11f))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0x8a52e));function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0x111;let f=c[d];return f;},a75d(a,b);}const a75b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a75d;if(c){const e=c[g(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a75a=a75b(this,function(){const h=a75d;return a75a[h(0x112)]()[h(0x113)]('(((.+)+)+)+$')[h(0x112)]()[h(0x116)](a75a)[h(0x113)](h(0x126));});a75a();import{Generator}from'../generator.js';function a75c(){const l=['3oYYYXi','toString','search','456262QcLOur','130249pEeFlX','constructor','getGlobalConfig','error','app.tar.gz','fsi','app','withValue','maka\x20g:dockerfile','5653720ksBQsm','6882480XzcqzB','4OdVRJo','1751010fnlsTV','join','build','dockerfile','maka\x20{generate,\x20g}:dockerfile','(((.+)+)+)+$','135081uEzkPC','docker/Dockerfile','template','apply','appName','getProjectConfig','222DNfhxM','60WhoZMU','2899119YmvCgb'];a75c=function(){return l;};return a75c();}import{Log}from'../tools/log/log.class.js';import a75e from'path';Generator['create']({'name':a75i(0x124),'usage':a75i(0x125),'shortDesc':'Generate\x20an\x20updated\x20dockerfile','validOpts':[],'noResource':!![],'examples':[a75i(0x11d)]},async function(){const j=a75i;try{const a=await this[j(0x11a)][j(0x12c)](),b=await this['fsi'][j(0x117)](),c=this[j(0x11a)]['findProjectDirectory']();this[j(0x11a)][j(0x11c)](a,async()=>{const k=j,d={'app':b[k(0x12b)],'config':a,'appPath':a75e['join'](c,k(0x11b)),'bundlePath':a75e[k(0x122)](c,k(0x123),k(0x119)),'useCert':this[k(0x11a)]['isFile'](b['cert'])};this[k(0x11a)][k(0x129)]({'srcPath':k(0x128),'destPath':a75e['join'](c,'Dockerfile'),'framework':'service','context':d,'config':a});});}catch(d){Log[j(0x118)](d);}});
@@ -1 +1 @@
1
- const a75q=a75d;(function(a,b){const o=a75d,c=a();while(!![]){try{const d=parseInt(o(0xc1))/0x1+parseInt(o(0xcc))/0x2+-parseInt(o(0xd3))/0x3*(parseInt(o(0xea))/0x4)+parseInt(o(0xc5))/0x5*(-parseInt(o(0xc2))/0x6)+parseInt(o(0xec))/0x7*(parseInt(o(0xf0))/0x8)+-parseInt(o(0xdf))/0x9*(parseInt(o(0xac))/0xa)+parseInt(o(0xe1))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a75c,0xc7c2e));const a75b=(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;};}()),a75a=a75b(this,function(){const p=a75d;return a75a[p(0xc4)]()['search'](p(0xcd))[p(0xc4)]()[p(0xe0)](a75a)[p(0xd4)](p(0xcd));});function a75c(){const t=['graphql','3752EUthcY','className','maka\x20g:hook\x20cool-hook','startup','1250IONDYZ','@apollo/client\x20isomorphic-fetch','error','client','none','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','withTranslations','warn','\x27;\x0a','getProjectConfig','templates.js','dir','import\x20\x27./','export\x20{\x20','create','fsi','imports','import\x20{\x20','apollo','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','tsx','101516GxgYdS','6KIXYnR','react','toString','8018705BVvRJV','assign','cssCaseName','injectAtBeginningOfFile','lib','template','template/template.css','710136YYxRGo','(((.+)+)+)+$','import\x20\x27','withValue','rewriteDestinationPathForEngine','true','hook/hook.js','3VPgnZP','search','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','engines','string','\x20};\x0a','setTemplate','relative','.app-tests.js','\x20}\x20from\x20\x27','css','injectAtEndOfFile','67482JZEObt','constructor','28234877kyjwXw','resourceName','fileName','checkNpmPackage','installNpmPackage','test/test.js','pathFromProject','ssr','/imports/ui/hooks','1397548EKOoeU','test','10227YafeaW','features','pathFromApp'];a75c=function(){return t;};return a75c();}a75a();import a75e from'path';import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a75d(a,b){const c=a75c();return a75d=function(d,e){d=d-0xab;let f=c[d];return f;},a75d(a,b);}import{UsageError}from'../error.js';Generator[a75q(0xba)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a75q(0xbf),'shortDesc':a75q(0xd5),'validOpts':['dir'],'examples':[a75q(0xf2)]},async function(a,b){const r=a75q;try{const c=this[r(0xbb)][r(0xe4)](r(0xc3));if(!c){Log[r(0xae)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');throw new UsageError();}const d=this[r(0xbb)][r(0xee)](b),f=r(0xe9),g=this[r(0xbb)][r(0xee)]({'pathParts':[f,b['dir'],paramCase(b[r(0xe2)]),paramCase(b[r(0xe2)])]}),h=await this[r(0xbb)][r(0xb5)]();this[r(0xbb)][r(0xcf)](h,async()=>{const s=r;typeof h[s(0xca)][s(0xdd)]===s(0xd7)&&(h[s(0xca)][s(0xdd)]=h[s(0xca)][s(0xdd)]===s(0xd1)?!![]:![],this[s(0xbb)][s(0xd9)]('css',h[s(0xca)][s(0xdd)]));h[s(0xd6)]['graphql']===s(0xbe)&&!this[s(0xe4)]('@apollo/client')&&(Log[s(0xb3)](s(0xb1)),await this[s(0xbb)][s(0xe5)](s(0xad),{'cwd':d}));const i={'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[s(0xe2)]),'name':pascalCase(b[s(0xe2)]),'graphql':h['engines'][s(0xef)],'theme':h[s(0xd6)]['theme'],'features':h[s(0xed)],'myPath':a75e[s(0xda)](this[s(0xbb)][s(0xe7)]({}),g),'fileName':paramCase(b[s(0xe2)]),'isComponent':![],'isLayout':![],'withTranslations':h[s(0xed)][s(0xb2)]};this[s(0xbb)][s(0xca)]({'srcPath':s(0xd2),'destPath':g+'.js','context':i,'config':h,'framework':s(0xc3)});h['template'][s(0xdd)]&&(this[s(0xbb)]['template']({'srcPath':s(0xcb),'destPath':g+'.css','context':Object[s(0xc6)]({},i,{'className':i[s(0xc7)]}),'config':h}),this[s(0xbb)][s(0xc8)]({'filePath':g+'.'+h[s(0xd6)]['js'],'content':s(0xb8)+i['fileName']+'.'+h[s(0xd6)][s(0xdd)]+'\x27;'}));h[s(0xd6)][s(0xeb)]!==s(0xb0)&&this[s(0xbb)]['template']({'srcPath':s(0xe6),'destPath':g+s(0xdb),'framework':'react','context':i,'config':h});const j=b[s(0xb7)]?'/'+b[s(0xb7)]+'/':'/',k=''+f+j+i[s(0xe3)]+'/'+i['fileName'];let l;if(h['engines'][s(0xe8)]===s(0xd1)){const m=this[s(0xbb)][s(0xee)]({'pathParts':[s(0xbc),s(0xab),s(0xc9),s(0xb6)]});l=this[s(0xbb)][s(0xd0)]({'pathParts':[m],'config':h});}else{const n=this[s(0xbb)][s(0xee)]({'pathParts':[s(0xbc),s(0xab),s(0xaf),s(0xb6)]});l=this[s(0xbb)][s(0xd0)]({'pathParts':[n],'config':h});}h[s(0xd6)][s(0xaf)]===s(0xc3)?(h[s(0xd6)]['js']===s(0xc0)?this[s(0xbb)]['injectAtBeginningOfFile']({'filePath':l,'content':s(0xbd)+i[s(0xf1)]+s(0xdc)+k+s(0xb4)}):this['fsi'][s(0xc8)]({'filePath':l,'content':s(0xbd)+i[s(0xf1)]+s(0xdc)+k+'.'+h[s(0xd6)]['js']+s(0xb4)}),this['fsi'][s(0xde)]({'filePath':l,'content':s(0xb9)+i['className']+s(0xd8)})):this['fsi'][s(0xde)]({'filePath':l,'content':s(0xce)+k+'.'+h['engines']['js']+s(0xb4)});});}catch(i){Log[r(0xae)](i);}});
1
+ const a76r=a76d;(function(a,b){const o=a76d,c=a();while(!![]){try{const d=-parseInt(o(0x1fd))/0x1+-parseInt(o(0x1dc))/0x2*(parseInt(o(0x1eb))/0x3)+-parseInt(o(0x219))/0x4+-parseInt(o(0x218))/0x5+-parseInt(o(0x1fe))/0x6*(-parseInt(o(0x1da))/0x7)+parseInt(o(0x1f6))/0x8+parseInt(o(0x1e0))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0x57d4b));function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x1d8;let f=c[d];return f;},a76d(a,b);}const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a76d;if(c){const e=c[p(0x1f5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const q=a76d;return a76a['toString']()[q(0x213)](q(0x21d))[q(0x1e5)]()[q(0x206)](a76a)[q(0x213)](q(0x21d));});a76a();import a76e from'path';import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a76r(0x1e8)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a76r(0x211),'validOpts':[a76r(0x1ee)],'examples':[a76r(0x20f)]},async function(a,b){const s=a76r;try{const c=this['fsi'][s(0x1ef)](s(0x1e2));if(!c){Log[s(0x217)](s(0x210));throw new UsageError();}const d=this[s(0x1f0)][s(0x1fb)](b),f=s(0x201),g=this['fsi'][s(0x1fb)]({'pathParts':[f,b[s(0x1ee)],paramCase(b[s(0x1fa)]),paramCase(b[s(0x1fa)])]}),h=await this[s(0x1f0)]['getProjectConfig']();this[s(0x1f0)][s(0x1f9)](h,async()=>{const t=s;typeof h[t(0x21b)][t(0x20b)]===t(0x20c)&&(h[t(0x21b)][t(0x20b)]=h['template'][t(0x20b)]===t(0x20d)?!![]:![],this[t(0x1f0)][t(0x1ea)](t(0x20b),h[t(0x21b)]['css']));h[t(0x1e7)][t(0x1fc)]===t(0x1de)&&!this['checkNpmPackage'](t(0x1f2))&&(Log[t(0x208)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[t(0x1f0)][t(0x1d9)](t(0x202),{'cwd':d}));const i={'cssCaseName':paramCase(b[t(0x1fa)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[t(0x1fa)]),'graphql':h[t(0x1e7)][t(0x1fc)],'theme':h['engines'][t(0x1ed)],'features':h[t(0x1d8)],'myPath':a76e[t(0x200)](this['fsi'][t(0x1db)]({}),g),'fileName':paramCase(b[t(0x1fa)]),'isComponent':![],'isLayout':![],'withTranslations':h[t(0x1d8)][t(0x215)]};this['fsi'][t(0x21b)]({'srcPath':t(0x204),'destPath':g+t(0x1f1),'context':i,'config':h,'framework':t(0x1e2)});h[t(0x21b)][t(0x20b)]&&(this[t(0x1f0)][t(0x21b)]({'srcPath':t(0x1e4),'destPath':g+t(0x20e),'context':Object[t(0x209)]({},i,{'className':i[t(0x1f3)]}),'config':h}),this['fsi']['injectAtBeginningOfFile']({'filePath':g+'.'+h[t(0x1e7)]['js'],'content':t(0x20a)+i[t(0x1f7)]+'.'+h[t(0x1e7)][t(0x20b)]+'\x27;'}));h[t(0x1e7)][t(0x1ec)]!==t(0x1ff)&&this[t(0x1f0)]['template']({'srcPath':t(0x1e3),'destPath':g+t(0x21a),'framework':t(0x1e2),'context':i,'config':h});const j=b[t(0x1ee)]?'/'+b['dir']+'/':'/',k=''+f+j+i['fileName']+'/'+i[t(0x1f7)];let l;if(h[t(0x1e7)]['ssr']===t(0x20d)){const m=this['fsi']['pathFromApp']({'pathParts':[t(0x1e9),'startup',t(0x21c),t(0x1df)]});l=this[t(0x1f0)][t(0x207)]({'pathParts':[m],'config':h});}else{const n=this[t(0x1f0)]['pathFromApp']({'pathParts':['imports','startup',t(0x205),t(0x1df)]});l=this[t(0x1f0)][t(0x207)]({'pathParts':[n],'config':h});}h['engines'][t(0x205)]==='react'?(h['engines']['js']===t(0x203)?this['fsi'][t(0x1f4)]({'filePath':l,'content':'import\x20{\x20'+i[t(0x214)]+'\x20}\x20from\x20\x27'+k+t(0x1e6)}):this[t(0x1f0)][t(0x1f4)]({'filePath':l,'content':t(0x212)+i[t(0x214)]+'\x20}\x20from\x20\x27'+k+'.'+h[t(0x1e7)]['js']+t(0x1e6)}),this['fsi']['injectAtEndOfFile']({'filePath':l,'content':t(0x216)+i[t(0x214)]+t(0x1dd)})):this['fsi'][t(0x1e1)]({'filePath':l,'content':t(0x1f8)+k+'.'+h[t(0x1e7)]['js']+'\x27;\x0a'});});}catch(i){Log[s(0x217)](i);}});function a76c(){const u=['test/test.js','template/template.css','toString','\x27;\x0a','engines','create','imports','setTemplate','3njjSsz','test','theme','dir','checkNpmPackage','fsi','.js','@apollo/client','cssCaseName','injectAtBeginningOfFile','apply','4251280xwzvBI','fileName','import\x20\x27','withValue','resourceName','pathFromApp','graphql','161543RRKIsj','355098MHfhoI','none','relative','/imports/ui/hooks','@apollo/client\x20isomorphic-fetch','tsx','hook/hook.js','client','constructor','rewriteDestinationPathForEngine','warn','assign','import\x20\x27./','css','string','true','.css','maka\x20g:hook\x20cool-hook','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','import\x20{\x20','search','className','withTranslations','export\x20{\x20','error','2430180eyUwRG','2442204nAkikl','.app-tests.js','template','lib','(((.+)+)+)+$','features','installNpmPackage','21Ewxjkn','pathFromProject','614458MoQNFz','\x20};\x0a','apollo','templates.js','10945395nVmdqO','injectAtEndOfFile','react'];a76c=function(){return u;};return a76c();}
@@ -1 +1 @@
1
- const a76k=a76d;(function(a,b){const h=a76d,c=a();while(!![]){try{const d=parseInt(h(0x18f))/0x1*(-parseInt(h(0x180))/0x2)+parseInt(h(0x188))/0x3*(-parseInt(h(0x183))/0x4)+parseInt(h(0x179))/0x5*(-parseInt(h(0x176))/0x6)+parseInt(h(0x173))/0x7*(-parseInt(h(0x178))/0x8)+-parseInt(h(0x18b))/0x9+parseInt(h(0x17d))/0xa*(-parseInt(h(0x175))/0xb)+-parseInt(h(0x186))/0xc*(-parseInt(h(0x17c))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a76c,0xadb68));function a76d(a,b){const c=a76c();return a76d=function(d,e){d=d-0x172;let f=c[d];return f;},a76d(a,b);}const a76b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a76d;if(c){const e=c[i(0x18e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a76a=a76b(this,function(){const j=a76d;return a76a[j(0x184)]()[j(0x189)](j(0x185))['toString']()[j(0x190)](a76a)[j(0x189)](j(0x185));});a76a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a76c(){const n=['718359nmeRwe','search','login','7171407AXvTZz','notice','type','apply','45wKhVOZ','constructor','Invalid\x20type\x20','kit','5299301EiLEKY','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','44ugjDxq','18SfHEnq','getProjectConfig','8PDmriV','287290iHZVkJ','resourceName','NIE','338GuycsU','2723290dJSSWF','maka\x20g:k\x20city-map\x20--type=leaflet-map','create','2602LvJnoe','error','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','12CGXtoD','toString','(((.+)+)+)+$','1986456eRNCby','fsi'];a76c=function(){return n;};return a76c();}Generator[a76k(0x17f)]({'name':a76k(0x172),'aliases':['k'],'usage':a76k(0x174),'shortDesc':a76k(0x182),'validOpts':['type'],'examples':['maka\x20g:kit\x20--type=map',a76k(0x17e)]},async function(a,b){const l=a76k;try{const c=this[l(0x187)][l(0x177)]();this[l(0x187)]['withValue'](c,async()=>{const m=l,d={'name':pascalCase(b[m(0x17a)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'type':b[m(0x18d)],'engine':c['engines']['js'],'noRename':!![]},f=['leaflet-map',m(0x18a)];if(f['indexOf'](d[m(0x18d)])<0x0){const g=d[m(0x18d)]?d['type']:'(blank)';Log[m(0x181)](m(0x191)+g+',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument');return;}b[m(0x18d)]==='map'&&Log[m(0x18c)](m(0x17b)),b['type']===m(0x18a)&&Log[m(0x18c)](m(0x17b));});}catch(d){Log[l(0x181)](d);}});
1
+ const a77k=a77d;(function(a,b){const h=a77d,c=a();while(!![]){try{const d=parseInt(h(0x136))/0x1*(parseInt(h(0x13d))/0x2)+-parseInt(h(0x13b))/0x3+parseInt(h(0x135))/0x4*(parseInt(h(0x11e))/0x5)+parseInt(h(0x140))/0x6*(-parseInt(h(0x13e))/0x7)+parseInt(h(0x12d))/0x8*(-parseInt(h(0x124))/0x9)+-parseInt(h(0x121))/0xa*(parseInt(h(0x13a))/0xb)+parseInt(h(0x132))/0xc*(parseInt(h(0x123))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x21cc4));function a77c(){const n=['constructor','3575INuecm','fsi','error','567820rXmbHS','maka\x20g:kit\x20--type=map','39lYPOFL','36819LfVhla','apply','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','getProjectConfig','(((.+)+)+)+$','withValue','notice','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','leaflet-map','40DDRRSh','engines','type','maka\x20g:k\x20city-map\x20--type=leaflet-map','resourceName','105660ykWDUu','Invalid\x20type\x20','NIE','1492InhRuJ','80326lwUTRB','create',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','(blank)','22UVLWhG','133287qMiLhH','search','4zPFsXo','98NSAKoq','indexOf','58662anYHdA','login','map','toString','kit'];a77c=function(){return n;};return a77c();}const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a77d;if(c){const e=c[i(0x125)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const j=a77d;return a77a['toString']()[j(0x13c)](j(0x128))[j(0x143)]()[j(0x11d)](a77a)[j(0x13c)](j(0x128));});a77a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x11c;let f=c[d];return f;},a77d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a77k(0x137)]({'name':a77k(0x11c),'aliases':['k'],'usage':a77k(0x12b),'shortDesc':a77k(0x126),'validOpts':[a77k(0x12f)],'examples':[a77k(0x122),a77k(0x130)]},async function(a,b){const l=a77k;try{const c=this[l(0x11f)][l(0x127)]();this[l(0x11f)][l(0x129)](c,async()=>{const m=l,d={'name':pascalCase(b[m(0x131)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[m(0x131)]),'type':b[m(0x12f)],'engine':c[m(0x12e)]['js'],'noRename':!![]},f=[m(0x12c),'login'];if(f[m(0x13f)](d[m(0x12f)])<0x0){const g=d[m(0x12f)]?d[m(0x12f)]:m(0x139);Log[m(0x120)](m(0x133)+g+m(0x138));return;}b[m(0x12f)]===m(0x142)&&Log[m(0x12a)](m(0x134)),b[m(0x12f)]===m(0x141)&&Log[m(0x12a)](m(0x134));});}catch(d){Log['error'](d);}});
@@ -1 +1 @@
1
- function a77d(a,b){const c=a77c();return a77d=function(d,e){d=d-0x7d;let f=c[d];return f;},a77d(a,b);}const a77r=a77d;(function(a,b){const o=a77d,c=a();while(!![]){try{const d=parseInt(o(0xa7))/0x1*(parseInt(o(0xc4))/0x2)+-parseInt(o(0xc8))/0x3*(-parseInt(o(0x9f))/0x4)+parseInt(o(0xb9))/0x5*(parseInt(o(0xa8))/0x6)+parseInt(o(0x92))/0x7*(parseInt(o(0x7d))/0x8)+-parseInt(o(0x90))/0x9+-parseInt(o(0xb3))/0xa*(-parseInt(o(0x91))/0xb)+-parseInt(o(0x84))/0xc*(parseInt(o(0xbb))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a77c,0x49928));const a77b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a77d;if(c){const e=c[p(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a77a=a77b(this,function(){const q=a77d;return a77a['toString']()[q(0x9c)](q(0xac))['toString']()[q(0x8f)](a77a)[q(0x9c)](q(0xac));});a77a();import a77e from'path';function a77c(){const u=['true','css','injectAtEndOfFile','export\x20{\x20','installNpmPackage','pathFromApp','2RlTtEw','fsi','getProjectConfig','features','858459FaSntO','.css','imports','2805464bfdobE','none','template','maka\x20g:layout\x20mobile/iPhone8','import\x20\x27','dir','graphql','624NcMZKq','import\x20\x27./','engines','ramda','withValue','checkNpmPackage','client','withTranslations','Scaffolding\x20for\x20a\x20React\x20Layout.','resourceName','test','constructor','3707136kESnjU','301433KAswwZ','7TyupYX','templates.js','theme','template/template.css','create','react','layout','split','\x20}\x20from\x20\x27','import\x20{\x20','search','withHooks','assign','8YUPMDO','test/test.js','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','/imports/ui/layouts','includes','warn','className','\x27;\x0a','566122wVnReo','1769946ucBddo','maka\x20g:l\x20web/safari','startup','injectAtBeginningOfFile','(((.+)+)+)+$','findAppDirectory','fileName','apply','\x20};\x0a','.js','withHook','50zXtlSq','tsx','rewriteDestinationPathForEngine','setTemplate','ssr','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','10IfylQV','relative','375713GFmSiS','component/component.js','string'];a77c=function(){return u;};return a77c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a77r(0x96)]({'name':a77r(0x98),'aliases':aliases,'usage':a77r(0xb8),'shortDesc':a77r(0x8c),'validOpts':[],'examples':[a77r(0x80),a77r(0xa9)]},function(a,b){const s=a77r,c=s(0xa2),d=this[s(0xc5)][s(0xad)](),e=this['fsi'][s(0xc3)]({'pathParts':[c,b[s(0x82)],paramCase(b[s(0x8d)]),paramCase(b[s(0x8d)])]}),f=this[s(0xc5)][s(0xc6)]();this[s(0xc5)][s(0x88)](f,()=>{const t=s;typeof f[t(0x7f)][t(0x8e)]==='string'&&(f[t(0x7f)][t(0x8e)]=f[t(0x7f)][t(0x8e)]===t(0xbe)?!![]:![],this[t(0xc5)]['setTemplate'](t(0x8e),f[t(0x7f)][t(0x8e)]));typeof f[t(0x7f)]['css']===t(0xbd)&&(f[t(0x7f)][t(0xbf)]=f[t(0x7f)][t(0xbf)]===t(0xbe)?!![]:![],this[t(0xc5)]['setTemplate'](t(0xbf),f[t(0x7f)][t(0xbf)]));typeof f[t(0x7f)]['js']==='string'&&(f[t(0x7f)]['js']=f[t(0x7f)]['js']===t(0xbe)?!![]:![],this[t(0xc5)][t(0xb6)]('js',f[t(0x7f)]['js']));!f['features']&&(f[t(0xc7)]={});const g=b['_']?b['_'][0x0][t(0x99)](':')[0x1]:![],h=b['_']&&aliases[t(0xa3)](g);h&&!this['checkNpmPackage'](t(0x87))&&(Log[t(0xa4)](t(0xa1)),this['fsi'][t(0xc2)](t(0x87),{'cwd':d}));if(h&&!this[t(0x89)](t(0x97))){Log[t(0xa4)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const i={'name':pascalCase(b[t(0x8d)]),'myPath':a77e[t(0xba)](this[t(0xc5)]['pathFromProject']({}),e),'cssCaseName':paramCase(b[t(0x8d)]),'className':pascalCase(b[t(0x8d)]),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[t(0x8d)]),'graphql':f['engines'][t(0x83)],'features':f[t(0xc7)],'client':f[t(0x86)][t(0x8a)],'api':f[t(0x86)]['api'],'ssr':f[t(0x86)]['ssr'],'test':f[t(0x86)][t(0x8e)],'theme':f[t(0x86)][t(0x94)],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0xc7)][t(0x8b)]};f[t(0xc7)]?.[t(0x9d)]||b[t(0xb2)]?this[t(0xc5)]['template']({'srcPath':'hook/hook.js','destPath':e+'.js','framework':t(0x97),'context':i,'config':f}):this[t(0xc5)][t(0x7f)]({'srcPath':t(0xbc),'destPath':e+t(0xb1),'framework':'react','context':i,'config':f});f[t(0x86)][t(0x8e)]!==t(0x7e)&&this[t(0xc5)][t(0x7f)]({'srcPath':t(0xa0),'destPath':e+'.app-tests.js','framework':t(0x97),'context':i,'config':f});f['template']['css']&&(this['fsi'][t(0x7f)]({'srcPath':t(0x95),'destPath':e+t(0xc9),'context':Object[t(0x9e)]({},i,{'className':paramCase(b[t(0x8d)])}),'config':f}),this[t(0xc5)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[t(0x86)]['js'],'content':t(0x85)+i['fileName']+'.'+f[t(0x86)][t(0xbf)]+'\x27;'}));const j=b[t(0x82)]?'/'+b[t(0x82)]+'/':'/',k=''+c+j+i[t(0xae)]+'/'+i[t(0xae)];let l;if(f[t(0x86)][t(0xb7)]===t(0xbe)){const m=this['fsi'][t(0xc3)]({'pathParts':['imports',t(0xaa),'lib','templates.js']});l=this[t(0xc5)][t(0xb5)]({'pathParts':[m],'config':f});}else{const n=this[t(0xc5)][t(0xc3)]({'pathParts':[t(0xca),'startup',t(0x8a),t(0x93)]});l=this[t(0xc5)][t(0xb5)]({'pathParts':[n],'config':f});}f[t(0x86)]['client']===t(0x97)?(f[t(0x86)]['js']===t(0xb4)?this['fsi'][t(0xab)]({'filePath':l,'content':t(0x9b)+i[t(0xa5)]+t(0x9a)+k+'\x27;\x0a'}):this[t(0xc5)]['injectAtBeginningOfFile']({'filePath':l,'content':t(0x9b)+i['className']+t(0x9a)+k+'.'+f['engines']['js']+t(0xa6)}),this['fsi']['injectAtEndOfFile']({'filePath':l,'content':t(0xc1)+i[t(0xa5)]+t(0xb0)})):this[t(0xc5)][t(0xc0)]({'filePath':l,'content':t(0x81)+k+'.'+f['engines']['js']+t(0xa6)});});});
1
+ const a78r=a78d;(function(a,b){const o=a78d,c=a();while(!![]){try{const d=parseInt(o(0x1ce))/0x1*(parseInt(o(0x1dc))/0x2)+parseInt(o(0x1f9))/0x3+-parseInt(o(0x1f5))/0x4+parseInt(o(0x1c6))/0x5*(-parseInt(o(0x1f8))/0x6)+parseInt(o(0x204))/0x7+-parseInt(o(0x1fd))/0x8+parseInt(o(0x1e9))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0xa1e24));const a78b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a78d;if(c){const e=c[p(0x1e4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a78a=a78b(this,function(){const q=a78d;return a78a[q(0x1df)]()[q(0x1d1)](q(0x203))['toString']()[q(0x1eb)](a78a)[q(0x1d1)](q(0x203));});a78a();import a78e from'path';function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x1c3;let f=c[d];return f;},a78d(a,b);}function a78c(){const u=['split','constructor','fsi','theme','withHook','injectAtBeginningOfFile','css','fileName','installNpmPackage','withValue','className','2978384OvFhAT','.js','ramda','813066MCYjUx','2260398OykPOk','create','none','tsx','4139608WzcxWC','resourceName','maka\x20g:layout\x20mobile/iPhone8','template','rewriteDestinationPathForEngine','pathFromApp','(((.+)+)+)+$','5234908yPRRHb','findAppDirectory','import\x20\x27./','maka\x20g:l\x20web/safari','\x27;\x0a','25MBCJDA','\x20}\x20from\x20\x27','true','pathFromProject','test/test.js','\x20};\x0a','dir','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','52054moJjgQ','warn','client','search','engines','layout','assign','withTranslations','test','features','template/template.css','templates.js','string','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','22BKgPuW','startup','export\x20{\x20','toString','.app-tests.js','react','lib','injectAtEndOfFile','apply','graphql','import\x20{\x20','imports','setTemplate','4758966NtqaVQ'];a78c=function(){return u;};return a78c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a78r(0x1fa)]({'name':a78r(0x1d3),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Layout.','validOpts':[],'examples':[a78r(0x1ff),a78r(0x1c4)]},function(a,b){const s=a78r,c='/imports/ui/layouts',d=this[s(0x1ec)][s(0x205)](),e=this[s(0x1ec)]['pathFromApp']({'pathParts':[c,b[s(0x1cc)],paramCase(b[s(0x1fe)]),paramCase(b['resourceName'])]}),f=this[s(0x1ec)]['getProjectConfig']();this['fsi'][s(0x1f3)](f,()=>{const t=s;typeof f[t(0x200)][t(0x1d6)]==='string'&&(f[t(0x200)]['test']=f[t(0x200)][t(0x1d6)]===t(0x1c8)?!![]:![],this['fsi'][t(0x1e8)](t(0x1d6),f[t(0x200)][t(0x1d6)]));typeof f[t(0x200)][t(0x1f0)]===t(0x1da)&&(f[t(0x200)][t(0x1f0)]=f[t(0x200)]['css']==='true'?!![]:![],this[t(0x1ec)][t(0x1e8)](t(0x1f0),f[t(0x200)]['css']));typeof f[t(0x200)]['js']===t(0x1da)&&(f['template']['js']=f['template']['js']===t(0x1c8)?!![]:![],this[t(0x1ec)][t(0x1e8)]('js',f[t(0x200)]['js']));!f[t(0x1d7)]&&(f[t(0x1d7)]={});const g=b['_']?b['_'][0x0][t(0x1ea)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this['checkNpmPackage'](t(0x1f7))&&(Log['warn'](t(0x1cd)),this['fsi'][t(0x1f2)](t(0x1f7),{'cwd':d}));if(h&&!this['checkNpmPackage'](t(0x1e1))){Log[t(0x1cf)](t(0x1db));return;}const i={'name':pascalCase(b[t(0x1fe)]),'myPath':a78e['relative'](this[t(0x1ec)][t(0x1c9)]({}),e),'cssCaseName':paramCase(b[t(0x1fe)]),'className':pascalCase(b[t(0x1fe)]),'camelCaseName':camelCase(b[t(0x1fe)]),'fileName':paramCase(b[t(0x1fe)]),'graphql':f[t(0x1d2)][t(0x1e5)],'features':f[t(0x1d7)],'client':f[t(0x1d2)][t(0x1d0)],'api':f[t(0x1d2)]['api'],'ssr':f[t(0x1d2)]['ssr'],'test':f[t(0x1d2)][t(0x1d6)],'theme':f[t(0x1d2)][t(0x1ed)],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0x1d7)][t(0x1d5)]};f[t(0x1d7)]?.['withHooks']||b[t(0x1ee)]?this[t(0x1ec)]['template']({'srcPath':'hook/hook.js','destPath':e+t(0x1f6),'framework':t(0x1e1),'context':i,'config':f}):this[t(0x1ec)][t(0x200)]({'srcPath':'component/component.js','destPath':e+t(0x1f6),'framework':t(0x1e1),'context':i,'config':f});f[t(0x1d2)][t(0x1d6)]!==t(0x1fb)&&this[t(0x1ec)][t(0x200)]({'srcPath':t(0x1ca),'destPath':e+t(0x1e0),'framework':t(0x1e1),'context':i,'config':f});f[t(0x200)][t(0x1f0)]&&(this['fsi']['template']({'srcPath':t(0x1d8),'destPath':e+'.css','context':Object[t(0x1d4)]({},i,{'className':paramCase(b[t(0x1fe)])}),'config':f}),this['fsi'][t(0x1ef)]({'filePath':e+'.'+f[t(0x1d2)]['js'],'content':t(0x1c3)+i['fileName']+'.'+f[t(0x1d2)][t(0x1f0)]+'\x27;'}));const j=b[t(0x1cc)]?'/'+b['dir']+'/':'/',k=''+c+j+i[t(0x1f1)]+'/'+i[t(0x1f1)];let l;if(f['engines']['ssr']===t(0x1c8)){const m=this['fsi'][t(0x202)]({'pathParts':[t(0x1e7),t(0x1dd),t(0x1e2),t(0x1d9)]});l=this[t(0x1ec)][t(0x201)]({'pathParts':[m],'config':f});}else{const n=this[t(0x1ec)]['pathFromApp']({'pathParts':[t(0x1e7),t(0x1dd),t(0x1d0),t(0x1d9)]});l=this[t(0x1ec)][t(0x201)]({'pathParts':[n],'config':f});}f[t(0x1d2)][t(0x1d0)]===t(0x1e1)?(f['engines']['js']===t(0x1fc)?this[t(0x1ec)][t(0x1ef)]({'filePath':l,'content':t(0x1e6)+i[t(0x1f4)]+t(0x1c7)+k+t(0x1c5)}):this[t(0x1ec)][t(0x1ef)]({'filePath':l,'content':t(0x1e6)+i[t(0x1f4)]+t(0x1c7)+k+'.'+f[t(0x1d2)]['js']+'\x27;\x0a'}),this[t(0x1ec)][t(0x1e3)]({'filePath':l,'content':t(0x1de)+i[t(0x1f4)]+t(0x1cb)})):this[t(0x1ec)][t(0x1e3)]({'filePath':l,'content':'import\x20\x27'+k+'.'+f[t(0x1d2)]['js']+t(0x1c5)});});});
@@ -1 +1 @@
1
- function a78d(a,b){const c=a78c();return a78d=function(d,e){d=d-0x103;let f=c[d];return f;},a78d(a,b);}function a78c(){const i=['maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','79878fAgTEk','constructor','145fFaWMI','1zLSghJ','\x0a\x20\x20For\x20more\x20information\x20visit:\x0a\x20\x20\x20\x20https://www.maka-cli.com\x0a\x20\x20\x20\x20https://medium.com/@maka-io\x0a\x20\x20\x20\x20https://gitter.im/meteor/meteor\x20(@maka-io)\x0a\x20\x20','2052008OARnNw','search','maka\x20generate:api\x20Trucks','16975871QQYxqs','29619DJDrQs','toString','maka','(((.+)+)+)+$','3323500gcBlIh','286382FudMvv','28noiHTz','maka\x20g:hook\x20cool-hook','2230CktvrG','Maka!','3317916HjpUOP'];a78c=function(){return i;};return a78c();}const a78h=a78d;(function(a,b){const f=a78d,c=a();while(!![]){try{const d=parseInt(f(0x109))/0x1*(parseInt(f(0x114))/0x2)+parseInt(f(0x104))/0x3+parseInt(f(0x113))/0x4+-parseInt(f(0x108))/0x5*(-parseInt(f(0x106))/0x6)+parseInt(f(0x115))/0x7*(-parseInt(f(0x10b))/0x8)+-parseInt(f(0x10f))/0x9*(-parseInt(f(0x117))/0xa)+-parseInt(f(0x10e))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a78c,0x99fd7));const a78b=(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;};}()),a78a=a78b(this,function(){const g=a78d;return a78a[g(0x110)]()[g(0x10c)]('(((.+)+)+)+$')[g(0x110)]()[g(0x107)](a78a)[g(0x10c)](g(0x112));});a78a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a78h(0x111),'shortDesc':a78h(0x103),'validOpts':[],'description':a78h(0x10a),'usage':a78h(0x105),'examples':[a78h(0x10d),a78h(0x116)]},function(){return null;});export default MakaGen;
1
+ function a79c(){const j=['Maka!','1287889zcQucD','10392318iyBMrY','toString','12749301sFpqPu','36HbiqgN','(((.+)+)+)+$','167724HGcVxD','8MScnit','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','9416720FwXHku','constructor','apply','maka','830890xgbMtO','search','5fylsLI','33xsQDHf','8699467sTywrs'];a79c=function(){return j;};return a79c();}const a79i=a79d;(function(a,b){const f=a79d,c=a();while(!![]){try{const d=parseInt(f(0xc4))/0x1+parseInt(f(0xd1))/0x2+parseInt(f(0xca))/0x3*(parseInt(f(0xc8))/0x4)+parseInt(f(0xc0))/0x5*(parseInt(f(0xc5))/0x6)+-parseInt(f(0xc2))/0x7*(-parseInt(f(0xcb))/0x8)+-parseInt(f(0xc7))/0x9+parseInt(f(0xcd))/0xa*(-parseInt(f(0xc1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0xe56d7));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a79d;if(c){const e=c[g(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const h=a79d;return a79a[h(0xc6)]()[h(0xbf)](h(0xc9))[h(0xc6)]()[h(0xce)](a79a)[h(0xbf)](h(0xc9));});a79a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a79i(0xd0),'shortDesc':a79i(0xc3),'validOpts':[],'description':'\x0a\x20\x20For\x20more\x20information\x20visit:\x0a\x20\x20\x20\x20https://www.maka-cli.com\x0a\x20\x20\x20\x20https://medium.com/@maka-io\x0a\x20\x20\x20\x20https://gitter.im/meteor/meteor\x20(@maka-io)\x0a\x20\x20','usage':a79i(0xcc),'examples':['maka\x20generate:api\x20Trucks','maka\x20g:hook\x20cool-hook']},function(){return null;});function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0xbf;let f=c[d];return f;},a79d(a,b);}export default MakaGen;
@@ -1 +1 @@
1
- const a79n=a79d;(function(a,b){const k=a79d,c=a();while(!![]){try{const d=-parseInt(k(0x1d4))/0x1+parseInt(k(0x1bb))/0x2*(-parseInt(k(0x1bd))/0x3)+-parseInt(k(0x1d3))/0x4+-parseInt(k(0x1d0))/0x5+parseInt(k(0x1d6))/0x6*(parseInt(k(0x1e0))/0x7)+-parseInt(k(0x1cd))/0x8+parseInt(k(0x1db))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a79c,0x89aee));const a79b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a79d;if(c){const e=c[l(0x1d9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a79a=a79b(this,function(){const m=a79d;return a79a[m(0x1c1)]()[m(0x1ca)](m(0x1d2))['toString']()[m(0x1e3)](a79a)[m(0x1ca)](m(0x1d2));});a79a();function a79c(){const q=['imports','constructor','template','startup','1350598SlRfnV','method/method.js','3vKdZla','mdg:validated-method','methods','method','toString','ddp-rate-limiter','appPathPrefix','fsi','check','checkMeteorPackage','maka\x20{generate,\x20g}:{method,\x20m}\x20name','engines','warn','search','check\x20ddp-rate-limiter\x20mdg:validated-method','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','7849256RKroqU','-rpc-method\x27;','injectAtEndOfFile','3010165ejaxLZ','dir','(((.+)+)+)+$','4326420MDssUk','44869ubOqAO','error','42GWSdhY','resourceName','maka\x20g:method\x20todos','apply','import\x20\x27./methods','33297291lQdabP','-rpc-method.','create','tsx','installMeteorPackage','249214sIoMkE','pathFromApp'];a79c=function(){return q;};return a79c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a79d(a,b){const c=a79c();return a79d=function(d,e){d=d-0x1b9;let f=c[d];return f;},a79d(a,b);}Generator[a79n(0x1dd)]({'name':a79n(0x1c0),'aliases':['m'],'usage':a79n(0x1c7),'checkWhere':!![],'shortDesc':a79n(0x1cc),'validOpts':['dir'],'examples':[a79n(0x1d8)]},function(a,b){const o=a79n;try{const c=this[o(0x1c4)]['getProjectConfig']();this[o(0x1c4)]['withValue'](c,async()=>{const p=o,d=paramCase(b[p(0x1d7)]),f={'name':b[p(0x1d7)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let g='js';c[p(0x1c8)]['js']===p(0x1de)&&(g='ts');const h=this[p(0x1c4)][p(0x1e1)]({});(!this[p(0x1c4)]['checkMeteorPackage'](p(0x1c5))||!this['fsi'][p(0x1c6)](p(0x1c2))||!this[p(0x1c4)][p(0x1c6)](p(0x1be)))&&(Log[p(0x1c9)]('Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...'),this[p(0x1c4)][p(0x1df)](p(0x1cb),{'cwd':h}));this[p(0x1c4)][p(0x1b9)]({'srcPath':p(0x1bc),'destPath':this[p(0x1c4)][p(0x1e1)]({'pathParts':[p(0x1e2),p(0x1ba),b[p(0x1c3)],p(0x1bf),b[p(0x1d1)],d+p(0x1dc)+g]}),'context':f,'config':c});const i=b[p(0x1d1)]?'/'+b[p(0x1d1)]+'/':'/',j=this[p(0x1c4)][p(0x1e1)]({'pathParts':[p(0x1e2),p(0x1ba),b[p(0x1c3)],'index.'+c[p(0x1c8)]['js']]});this[p(0x1c4)][p(0x1cf)]({'filePath':j,'content':p(0x1da)+i+d+p(0x1ce)});});}catch(d){Log[o(0x1d5)](d);}});
1
+ const a80m=a80d;(function(a,b){const k=a80d,c=a();while(!![]){try{const d=-parseInt(k(0x1b2))/0x1+parseInt(k(0x1b6))/0x2+-parseInt(k(0x1cf))/0x3*(-parseInt(k(0x1d1))/0x4)+-parseInt(k(0x1ba))/0x5+-parseInt(k(0x1c9))/0x6+parseInt(k(0x1b8))/0x7+-parseInt(k(0x1b5))/0x8*(-parseInt(k(0x1ca))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0xed357));function a80c(){const p=['(((.+)+)+)+$','search','2174157qQTHQR','maka\x20{generate,\x20g}:{method,\x20m}\x20name','8kNpUaG','maka\x20g:method\x20todos','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','imports','1320658wdMjwa','fsi','appPathPrefix','8gbbzFT','304324oDEVBg','-rpc-method.','10994088zbjGNs','method/method.js','4083010xVPlIq','checkMeteorPackage','index.','check','error','constructor','toString','check\x20ddp-rate-limiter\x20mdg:validated-method','withValue','dir','resourceName','installMeteorPackage','ddp-rate-limiter','startup','import\x20\x27./methods','5459250NAoZNF','7619022nerEUk','warn','pathFromApp'];a80c=function(){return p;};return a80c();}function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x1af;let f=c[d];return f;},a80d(a,b);}const a80b=(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;};}()),a80a=a80b(this,function(){const l=a80d;return a80a[l(0x1c0)]()[l(0x1ce)](l(0x1cd))[l(0x1c0)]()[l(0x1bf)](a80a)[l(0x1ce)]('(((.+)+)+)+$');});a80a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':'method','aliases':['m'],'usage':a80m(0x1d0),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':['dir'],'examples':[a80m(0x1af)]},function(a,b){const n=a80m;try{const c=this[n(0x1b3)]['getProjectConfig']();this[n(0x1b3)][n(0x1c2)](c,async()=>{const o=n,d=paramCase(b[o(0x1c4)]),f={'name':b[o(0x1c4)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x1c4)]),'noRename':!![]};let g='js';c['engines']['js']==='tsx'&&(g='ts');const h=this[o(0x1b3)][o(0x1cc)]({});(!this['fsi']['checkMeteorPackage'](o(0x1bd))||!this[o(0x1b3)][o(0x1bb)](o(0x1c6))||!this[o(0x1b3)][o(0x1bb)]('mdg:validated-method'))&&(Log[o(0x1cb)](o(0x1b0)),this[o(0x1b3)][o(0x1c5)](o(0x1c1),{'cwd':h}));this['fsi']['template']({'srcPath':o(0x1b9),'destPath':this['fsi'][o(0x1cc)]({'pathParts':[o(0x1b1),'startup',b[o(0x1b4)],'methods',b[o(0x1c3)],d+o(0x1b7)+g]}),'context':f,'config':c});const i=b[o(0x1c3)]?'/'+b[o(0x1c3)]+'/':'/',j=this[o(0x1b3)][o(0x1cc)]({'pathParts':['imports',o(0x1c7),b['appPathPrefix'],o(0x1bc)+c['engines']['js']]});this['fsi']['injectAtEndOfFile']({'filePath':j,'content':o(0x1c8)+i+d+'-rpc-method\x27;'});});}catch(d){Log[n(0x1be)](d);}});
@@ -1 +1 @@
1
- const a80o=a80d;(function(a,b){const l=a80d,c=a();while(!![]){try{const d=-parseInt(l(0xa5))/0x1+parseInt(l(0xa1))/0x2+parseInt(l(0x91))/0x3*(-parseInt(l(0x89))/0x4)+-parseInt(l(0x8d))/0x5+-parseInt(l(0x9e))/0x6*(-parseInt(l(0xb3))/0x7)+-parseInt(l(0xb1))/0x8+-parseInt(l(0xb4))/0x9*(-parseInt(l(0x92))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a80c,0x4c41e));function a80d(a,b){const c=a80c();return a80d=function(d,e){d=d-0x88;let f=c[d];return f;},a80d(a,b);}const a80b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a80d;if(c){const e=c[m(0x90)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a80a=a80b(this,function(){const n=a80d;return a80a[n(0x97)]()[n(0x9a)](n(0xac))[n(0x97)]()['constructor'](a80a)['search']('(((.+)+)+)+$');});a80a();function a80c(){const s=['apply','406173pWqKku','10490EUskKF','server','hasOwnProperty','engines','client','toString','pathFromAppWithNoReWrite','maka\x20g:package\x20todos:package','search','package/package.js','fsi','getProjectConfig','4506ehnVbK','resourceName','pathFromApp','423118LELfBq','.js','/package.js','withValue','531070kUqHQS','noRename','create','ssr','lib','package','/client/','(((.+)+)+)+$','component','tests/server','graphql','layout','763560wMkgJR','template','2121VjHkjh','7839UUMOjh','tests/client','4OFBIma','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','theme','packages','1392675nvXBmN','pathFromProject','template/template.js'];a80c=function(){return s;};return a80c();}import a80e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a80o(0xa7)]({'name':a80o(0xaa),'aliases':['p'],'usage':a80o(0x8a),'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','validOpts':['dir'],'examples':[a80o(0x99)]},async function(a,b){const p=a80o,c=paramCase(b['resourceName']),d=this[p(0x9c)][p(0xa0)]({'pathParts':[p(0x8c),b['dir'],c]}),e=this[p(0x9c)][p(0x98)]({'pathParts':[p(0x8c),b['dir'],c,'package.js']}),f=this[p(0x9c)][p(0x9d)]();this['fsi'][p(0xa4)](f,async()=>{const q=p,g={'name':paramCase(b[q(0x9f)]),'myPath':a80e['relative'](this[q(0x9c)][q(0x8e)]({}),d),'cssCaseName':paramCase(b[q(0x9f)]),'className':pascalCase(b[q(0x9f)]),'camelCaseName':camelCase(b[q(0x9f)]),'fileName':c,'client':f['engines'][q(0x96)],'graphql':f[q(0x95)][q(0xaf)],'ssr':f[q(0x95)][q(0xa8)],'isComponent':b[q(0x94)](q(0xad)),'isLayout':b['hasOwnProperty'](q(0xb0)),'isStore':b['hasOwnProperty']('store'),'features':f['features'],'noRename':!![],'theme':f[q(0x95)][q(0x8b)]};this[q(0x9c)]['template']({'srcPath':q(0x9b),'destPath':e,'context':g,'config':f}),g[q(0xa6)]=![];const h=d+q(0xab)+c+q(0xa2);this[q(0x9c)]['template']({'srcPath':q(0x8f),'destPath':h,'context':g,'config':f});const i=[q(0xa9),q(0x93),q(0x88),q(0xae)];i['forEach'](j=>{const r=q,k=d+'/'+j+'/'+c+r(0xa2);this[r(0x9c)][r(0xb2)]({'srcPath':'package/'+j+r(0xa3),'destPath':k,'context':g,'config':f});});});});
1
+ const a81o=a81d;(function(a,b){const l=a81d,c=a();while(!![]){try{const d=-parseInt(l(0xee))/0x1*(-parseInt(l(0xe6))/0x2)+-parseInt(l(0xea))/0x3*(-parseInt(l(0xf5))/0x4)+-parseInt(l(0x107))/0x5+-parseInt(l(0x108))/0x6*(parseInt(l(0xf4))/0x7)+-parseInt(l(0x10b))/0x8+parseInt(l(0x10e))/0x9+-parseInt(l(0xf2))/0xa*(-parseInt(l(0xf3))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0x816f9));const a81b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a81d;if(c){const e=c[m(0xf9)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a81a=a81b(this,function(){const n=a81d;return a81a[n(0xfb)]()['search']('(((.+)+)+)+$')[n(0xfb)]()[n(0xfa)](a81a)[n(0xf1)](n(0x104));});a81a();import a81e from'path';function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xe1;let f=c[d];return f;},a81d(a,b);}import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a81o(0xe8)]({'name':a81o(0xf6),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a81o(0x10c),'validOpts':['dir'],'examples':[a81o(0xfd)]},async function(a,b){const p=a81o,c=paramCase(b[p(0x109)]),d=this[p(0x101)][p(0xe2)]({'pathParts':[p(0x110),b[p(0x112)],c]}),e=this[p(0x101)][p(0xef)]({'pathParts':[p(0x110),b[p(0x112)],c,p(0xf8)]}),f=this[p(0x101)][p(0xfe)]();this[p(0x101)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b[q(0x109)]),'myPath':a81e[q(0x106)](this[q(0x101)][q(0xfc)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x109)]),'camelCaseName':camelCase(b['resourceName']),'fileName':c,'client':f[q(0xe3)][q(0xf7)],'graphql':f[q(0xe3)][q(0xe9)],'ssr':f[q(0xe3)][q(0xf0)],'isComponent':b['hasOwnProperty'](q(0x10a)),'isLayout':b[q(0xe4)](q(0x103)),'isStore':b[q(0xe4)](q(0x111)),'features':f[q(0xe1)],'noRename':!![],'theme':f[q(0xe3)][q(0xed)]};this['fsi'][q(0xff)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g[q(0x10d)]=![];const h=d+q(0xe7)+c+q(0xec);this['fsi'][q(0xff)]({'srcPath':'template/template.js','destPath':h,'context':g,'config':f});const i=['lib',q(0x100),q(0x102),q(0x105)];i[q(0xe5)](j=>{const r=q,k=d+'/'+j+'/'+c+r(0xec);this[r(0x101)][r(0xff)]({'srcPath':r(0x10f)+j+r(0xeb),'destPath':k,'context':g,'config':f});});});});function a81c(){const s=['3213MzRidY','/package.js','.js','theme','500171AVJlpY','pathFromAppWithNoReWrite','ssr','search','30ldWNRC','161887HTqdLK','205429FfezTb','1572jXxtjC','package','client','package.js','apply','constructor','toString','pathFromProject','maka\x20g:package\x20todos:package','getProjectConfig','template','server','fsi','tests/client','layout','(((.+)+)+)+$','tests/server','relative','3152905Rjhdmn','66QqmMnU','resourceName','component','4197856OSiRXh','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','noRename','4886127JKeRdK','package/','packages','store','dir','features','pathFromApp','engines','hasOwnProperty','forEach','4mcdOwA','/client/','create','graphql'];a81c=function(){return s;};return a81c();}
@@ -1 +1 @@
1
- const a81o=a81d;function a81c(){const r=['features','template/template.css','tsx','266352JDhAxL','import\x20{\x20','getProjectConfig','217mkHUsK','14640430IpCdiG','rewriteDestinationPathForEngine','hook/hook.js','/imports/ui/pages','string','.js','warn','24968ApdTbp','3438xpgnnD','pathFromProject','className','4115649lFGvxi','1327550tYbCVF','test/test.js','css','vanilla','injectAtBeginningOfFile','Generate\x20a\x20page.','(((.+)+)+)+$','html','search','setTemplate','lib','client','component/component.js','import\x20\x27','true','.html','\x27;\x0a','toString','withTranslations','root','withValue','dir','engines','.css','api','checkNpmPackage','pathFromApp','resourceName','injectAtEndOfFile','theme','import\x20\x27./','test','ramda','fsi','component','fileName','installNpmPackage','react','3036468BuJXKY','template','layout','none','Updating\x20npm\x20packages\x20...','withHook','ssr','341192enadkW','startup','imports','hasOwnProperty','export\x20{\x20','\x20}\x20from\x20\x27','withHooks','\x20};\x0a','templates.js','55rmNXvJ'];a81c=function(){return r;};return a81c();}(function(a,b){const m=a81d,c=a();while(!![]){try{const d=parseInt(m(0x106))/0x1+parseInt(m(0xe2))/0x2+-parseInt(m(0x105))/0x3+parseInt(m(0xe9))/0x4*(parseInt(m(0xf2))/0x5)+-parseInt(m(0xf6))/0x6*(parseInt(m(0xf9))/0x7)+parseInt(m(0x101))/0x8*(parseInt(m(0x102))/0x9)+-parseInt(m(0xfa))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a81c,0xba92e));const a81b=(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;};}()),a81a=a81b(this,function(){const n=a81d;return a81a[n(0x117)]()[n(0x10e)](n(0x10c))[n(0x117)]()['constructor'](a81a)[n(0x10e)]('(((.+)+)+)+$');});a81a();import a81e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];function a81d(a,b){const c=a81c();return a81d=function(d,e){d=d-0xd4;let f=c[d];return f;},a81d(a,b);}Generator['create']({'name':'page','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a81o(0x10b),'validOpts':[a81o(0x11b),a81o(0xe7)],'examples':['maka\x20g:page\x20todos/todos-item']},function(a,b){const p=a81o,c=p(0xfd),d=this['fsi'][p(0xd6)](b),e=this[p(0xdd)][p(0xd6)]({'pathParts':[c,b[p(0x11b)],paramCase(b['resourceName']),paramCase(b[p(0xd7)])]}),f=this[p(0xdd)][p(0xf8)]();this[p(0xdd)][p(0x11a)](f,()=>{const q=p;typeof f[q(0xe3)][q(0x10d)]===q(0xfe)&&(f['template']['html']=f[q(0xe3)][q(0x10d)]===q(0x114)?!![]:![],this[q(0xdd)][q(0x10f)](q(0x10d),f[q(0xe3)][q(0x10d)]));typeof f[q(0xe3)][q(0xdb)]===q(0xfe)&&(f[q(0xe3)]['test']=f['template']['test']===q(0x114)?!![]:![],this[q(0xdd)][q(0x10f)](q(0xdb),f[q(0xe3)][q(0xdb)]));typeof f[q(0xe3)]['css']===q(0xfe)&&(f['template']['css']=f[q(0xe3)][q(0x108)]===q(0x114)?!![]:![],this[q(0xdd)][q(0x10f)](q(0x108),f['template'][q(0x108)]));typeof f['template']['js']===q(0xfe)&&(f[q(0xe3)]['js']=f[q(0xe3)]['js']===q(0x114)?!![]:![],this[q(0xdd)]['setTemplate']('js',f[q(0xe3)]['js']));!f['features']&&(f['features']={});!b[q(0x119)]&&!this[q(0xdd)][q(0xd5)](q(0xdc))&&(Log[q(0x100)](q(0xe6)),this[q(0xdd)][q(0xe0)](q(0xdc),{'cwd':d}));const g={'name':pascalCase(b[q(0xd7)]),'myPath':a81e['relative'](this[q(0xdd)][q(0x103)]({}),e),'cssCaseName':paramCase(b[q(0xd7)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[q(0xd7)]),'fileName':paramCase(b['resourceName']),'graphql':f['engines']['graphql'],'features':f[q(0xf3)],'client':f[q(0x11c)][q(0x111)],'api':f[q(0x11c)][q(0xd4)],'ssr':f[q(0x11c)]['ssr'],'isStore':b[q(0xec)]('store'),'isComponent':b[q(0xec)](q(0xde)),'isLayout':b['hasOwnProperty'](q(0xe4)),'withTranslations':f[q(0xf3)][q(0x118)],'test':f[q(0x11c)][q(0xdb)],'theme':f[q(0x11c)][q(0xd9)]};f[q(0xe3)]['html']&&this[q(0xdd)][q(0xe3)]({'srcPath':'template/template.html','destPath':e+q(0x115),'context':g,'config':f});f[q(0xf3)]?.[q(0xef)]||b[q(0xe7)]?this['fsi'][q(0xe3)]({'srcPath':q(0xfc),'destPath':e+'.js','framework':q(0xe1),'context':g,'config':f}):this['fsi'][q(0xe3)]({'srcPath':q(0x112),'destPath':e+q(0xff),'framework':q(0xe1),'context':g,'config':f});f['engines'][q(0xdb)]!==q(0xe5)&&this['fsi'][q(0xe3)]({'srcPath':q(0x107),'destPath':e+'.app-tests.js','framework':'react','context':g,'config':f});f['template'][q(0x108)]&&this[q(0xdd)][q(0xe3)]({'srcPath':q(0xf4),'destPath':e+q(0x11d),'context':Object['assign']({},g,{'className':paramCase(b[q(0xd7)])}),'config':f});f[q(0x11c)]['client']!==q(0xe1)&&f[q(0x11c)]['client']!==q(0x109)?(f[q(0xe3)][q(0x108)]&&this[q(0xdd)][q(0x10a)]({'filePath':e+'.'+f['engines']['js'],'content':q(0xda)+g[q(0xdf)]+'.'+f[q(0x11c)][q(0x10d)]+q(0x116)+q(0xda)+g[q(0xdf)]+'.'+f[q(0x11c)][q(0x108)]+'\x27;'}),!f[q(0xe3)][q(0x108)]&&this[q(0xdd)][q(0x10a)]({'filePath':e+'.'+f[q(0x11c)]['js'],'content':q(0xda)+g[q(0xdf)]+'.'+f['engines'][q(0x10d)]+'\x27;'})):f[q(0xe3)][q(0x108)]&&this[q(0xdd)][q(0x10a)]({'filePath':e+'.'+f['engines']['js'],'content':q(0xda)+g['fileName']+'.'+f[q(0x11c)]['css']+'\x27;'});const h=b['dir']?'/'+b[q(0x11b)]+'/':'/',i=''+c+h+g[q(0xdf)]+'/'+g[q(0xdf)];let j;if(f[q(0x11c)][q(0xe8)]===q(0x114)){const k=this[q(0xdd)]['pathFromApp']({'pathParts':[q(0xeb),q(0xea),q(0x110),q(0xf1)]});j=this[q(0xdd)][q(0xfb)]({'pathParts':[k],'config':f});}else{const l=this[q(0xdd)][q(0xd6)]({'pathParts':['imports',q(0xea),'client','templates.js']});j=this[q(0xdd)][q(0xfb)]({'pathParts':[l],'config':f});}f['engines'][q(0x111)]===q(0xe1)?(f[q(0x11c)]['js']===q(0xf5)?this['fsi']['injectAtBeginningOfFile']({'filePath':j,'content':q(0xf7)+g[q(0x104)]+q(0xee)+i+q(0x116)}):this[q(0xdd)][q(0x10a)]({'filePath':j,'content':q(0xf7)+g[q(0x104)]+q(0xee)+i+'.'+f['engines']['js']+q(0x116)}),this[q(0xdd)]['injectAtEndOfFile']({'filePath':j,'content':q(0xed)+g['className']+q(0xf0)})):this['fsi'][q(0xd8)]({'filePath':j,'content':q(0x113)+i+'.'+f[q(0x11c)]['js']+q(0x116)});});});
1
+ const a82o=a82d;(function(a,b){const m=a82d,c=a();while(!![]){try{const d=-parseInt(m(0x6f))/0x1*(parseInt(m(0x85))/0x2)+parseInt(m(0x81))/0x3*(parseInt(m(0x7b))/0x4)+parseInt(m(0xa2))/0x5+parseInt(m(0x82))/0x6*(parseInt(m(0x7f))/0x7)+-parseInt(m(0xa6))/0x8*(-parseInt(m(0xa4))/0x9)+-parseInt(m(0x8d))/0xa+parseInt(m(0x65))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x8fd7c));function a82c(){const r=['toString','1498120rTOnIz','warn','9mcGogC','.app-tests.js','2883080CXBvNy','lib','injectAtBeginningOfFile','getProjectConfig','search','templates.js','theme','fileName','client','519552zKvixy','none','hasOwnProperty','css','imports','rewriteDestinationPathForEngine','fsi','injectAtEndOfFile','\x20}\x20from\x20\x27','checkNpmPackage','21EJRYvF','import\x20{\x20','import\x20\x27./','\x20};\x0a','className','/imports/ui/pages','resourceName','string','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','component/component.js','html','installNpmPackage','4IGZdxx','export\x20{\x20','ramda','.css','133iCAdLH','api','857829bejIZQ','174030yKjFYF','withHook','.js','81866MjxBxM','features','vanilla','(((.+)+)+)+$','layout','test','assign','page','955060wQntIY','graphql','maka\x20g:page\x20todos/todos-item','constructor','startup','setTemplate','react','dir','hook/hook.js','ssr','Generate\x20a\x20page.','pathFromApp','test/test.js','store','true','engines','template/template.html','template/template.css','template','Updating\x20npm\x20packages\x20...'];a82c=function(){return r;};return a82c();}const a82b=(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;};}()),a82a=a82b(this,function(){const n=a82d;return a82a[n(0xa1)]()[n(0xaa)](n(0x88))['toString']()[n(0x90)](a82a)[n(0xaa)](n(0x88));});a82a();import a82e from'path';import{Generator}from'../generator.js';function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x64;let f=c[d];return f;},a82d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a82o(0x8c),'aliases':aliases,'usage':a82o(0x77),'shortDesc':a82o(0x97),'validOpts':[a82o(0x94),a82o(0x83)],'examples':[a82o(0x8f)]},function(a,b){const p=a82o,c=p(0x74),d=this['fsi'][p(0x98)](b),e=this['fsi'][p(0x98)]({'pathParts':[c,b[p(0x94)],paramCase(b['resourceName']),paramCase(b[p(0x75)])]}),f=this[p(0x6b)][p(0xa9)]();this['fsi']['withValue'](f,()=>{const q=p;typeof f[q(0x9f)][q(0x79)]===q(0x76)&&(f[q(0x9f)][q(0x79)]=f[q(0x9f)][q(0x79)]===q(0x9b)?!![]:![],this['fsi'][q(0x92)](q(0x79),f[q(0x9f)][q(0x79)]));typeof f[q(0x9f)][q(0x8a)]===q(0x76)&&(f[q(0x9f)][q(0x8a)]=f[q(0x9f)][q(0x8a)]===q(0x9b)?!![]:![],this[q(0x6b)][q(0x92)]('test',f[q(0x9f)][q(0x8a)]));typeof f['template'][q(0x68)]===q(0x76)&&(f[q(0x9f)]['css']=f[q(0x9f)][q(0x68)]===q(0x9b)?!![]:![],this[q(0x6b)]['setTemplate'](q(0x68),f[q(0x9f)][q(0x68)]));typeof f['template']['js']===q(0x76)&&(f[q(0x9f)]['js']=f[q(0x9f)]['js']===q(0x9b)?!![]:![],this[q(0x6b)][q(0x92)]('js',f[q(0x9f)]['js']));!f[q(0x86)]&&(f[q(0x86)]={});!b['root']&&!this[q(0x6b)][q(0x6e)](q(0x7d))&&(Log[q(0xa3)](q(0xa0)),this['fsi'][q(0x7a)](q(0x7d),{'cwd':d}));const g={'name':pascalCase(b['resourceName']),'myPath':a82e['relative'](this[q(0x6b)]['pathFromProject']({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x75)]),'camelCaseName':camelCase(b[q(0x75)]),'fileName':paramCase(b['resourceName']),'graphql':f[q(0x9c)][q(0x8e)],'features':f[q(0x86)],'client':f[q(0x9c)][q(0x64)],'api':f[q(0x9c)][q(0x80)],'ssr':f[q(0x9c)][q(0x96)],'isStore':b[q(0x67)](q(0x9a)),'isComponent':b[q(0x67)]('component'),'isLayout':b[q(0x67)](q(0x89)),'withTranslations':f[q(0x86)]['withTranslations'],'test':f[q(0x9c)][q(0x8a)],'theme':f['engines'][q(0xac)]};f[q(0x9f)]['html']&&this[q(0x6b)]['template']({'srcPath':q(0x9d),'destPath':e+'.html','context':g,'config':f});f[q(0x86)]?.['withHooks']||b[q(0x83)]?this['fsi'][q(0x9f)]({'srcPath':q(0x95),'destPath':e+q(0x84),'framework':q(0x93),'context':g,'config':f}):this[q(0x6b)]['template']({'srcPath':q(0x78),'destPath':e+q(0x84),'framework':q(0x93),'context':g,'config':f});f['engines'][q(0x8a)]!==q(0x66)&&this[q(0x6b)][q(0x9f)]({'srcPath':q(0x99),'destPath':e+q(0xa5),'framework':q(0x93),'context':g,'config':f});f['template'][q(0x68)]&&this[q(0x6b)][q(0x9f)]({'srcPath':q(0x9e),'destPath':e+q(0x7e),'context':Object[q(0x8b)]({},g,{'className':paramCase(b[q(0x75)])}),'config':f});f[q(0x9c)][q(0x64)]!=='react'&&f[q(0x9c)][q(0x64)]!==q(0x87)?(f[q(0x9f)][q(0x68)]&&this['fsi'][q(0xa8)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+g[q(0xad)]+'.'+f[q(0x9c)][q(0x79)]+'\x27;\x0a'+q(0x71)+g[q(0xad)]+'.'+f[q(0x9c)]['css']+'\x27;'}),!f['template'][q(0x68)]&&this[q(0x6b)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[q(0x9c)]['js'],'content':q(0x71)+g['fileName']+'.'+f['engines']['html']+'\x27;'})):f[q(0x9f)][q(0x68)]&&this['fsi'][q(0xa8)]({'filePath':e+'.'+f[q(0x9c)]['js'],'content':q(0x71)+g[q(0xad)]+'.'+f[q(0x9c)][q(0x68)]+'\x27;'});const h=b['dir']?'/'+b['dir']+'/':'/',i=''+c+h+g[q(0xad)]+'/'+g[q(0xad)];let j;if(f['engines'][q(0x96)]===q(0x9b)){const k=this[q(0x6b)][q(0x98)]({'pathParts':[q(0x69),q(0x91),q(0xa7),q(0xab)]});j=this[q(0x6b)]['rewriteDestinationPathForEngine']({'pathParts':[k],'config':f});}else{const l=this['fsi'][q(0x98)]({'pathParts':[q(0x69),q(0x91),q(0x64),q(0xab)]});j=this[q(0x6b)][q(0x6a)]({'pathParts':[l],'config':f});}f[q(0x9c)][q(0x64)]===q(0x93)?(f['engines']['js']==='tsx'?this[q(0x6b)]['injectAtBeginningOfFile']({'filePath':j,'content':q(0x70)+g[q(0x73)]+q(0x6d)+i+'\x27;\x0a'}):this[q(0x6b)][q(0xa8)]({'filePath':j,'content':q(0x70)+g[q(0x73)]+q(0x6d)+i+'.'+f[q(0x9c)]['js']+'\x27;\x0a'}),this[q(0x6b)][q(0x6c)]({'filePath':j,'content':q(0x7c)+g['className']+q(0x72)})):this[q(0x6b)][q(0x6c)]({'filePath':j,'content':'import\x20\x27'+i+'.'+f[q(0x9c)]['js']+'\x27;\x0a'});});});
@@ -1 +1 @@
1
- function a82c(){const n=['fsi','364908SKUavq','publish','maka\x20g:publish\x20todos','(((.+)+)+)+$','constructor','27OTbDPm','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','rewriteDestinationPathForEngine','withValue','898130xlqBEw','tsx','toString','resourceName','309570awiNOY','templateContent','653336bslleZ','253396AMhoFR','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','52976VabuFE','32007CEUZvg','apply','3ywxGgb','injectAtEndOfFile','engines','search'];a82c=function(){return n;};return a82c();}const a82k=a82d;(function(a,b){const h=a82d,c=a();while(!![]){try{const d=-parseInt(h(0x90))/0x1+parseInt(h(0x97))/0x2+-parseInt(h(0x92))/0x3*(-parseInt(h(0x8d))/0x4)+parseInt(h(0xa0))/0x5+-parseInt(h(0x8a))/0x6+parseInt(h(0x8f))/0x7+-parseInt(h(0x8c))/0x8*(parseInt(h(0x9c))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a82c,0x197ca));const a82b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a82d;if(c){const e=c[i(0x91)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a82a=a82b(this,function(){const j=a82d;return a82a['toString']()['search'](j(0x9a))[j(0xa2)]()[j(0x9b)](a82a)[j(0x95)](j(0x9a));});function a82d(a,b){const c=a82c();return a82d=function(d,e){d=d-0x8a;let f=c[d];return f;},a82d(a,b);}a82a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator['create']({'name':a82k(0x98),'aliases':['p'],'usage':a82k(0x9d),'shortDesc':a82k(0x8e),'validOpts':[],'examples':[a82k(0x99)]},async function(a,b){const l=a82k,c=this[l(0x96)]['getProjectConfig']();this[l(0x96)][l(0x9f)](c,async()=>{const m=l,d={'name':b[m(0xa3)],'collection':paramCase(b[m(0xa3)]),'noRename':!![]};let e='js';c['engines']['js']===m(0xa1)&&(e='ts');const f=this[m(0x96)][m(0x9e)]({'pathParts':['server/publish.'+c[m(0x94)]['js']]}),g=this[m(0x96)][m(0x8b)]({'srcPath':'publish/publish.'+e,'context':d,'config':c});this[m(0x96)][m(0x93)]({'filePath':f,'content':'\x0a'+g});});});
1
+ const a83k=a83d;function a83c(){const n=['toString','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','apply','search','withValue','(((.+)+)+)+$','create','416830KIjlcg','server/publish.','4542588OQYJzP','1107844vHPdhY','rewriteDestinationPathForEngine','publish/publish.','8QKQiGV','6yHWctP','66bsVdol','injectAtEndOfFile','976199RODKuW','178650Ggkdnu','constructor','fsi','237819HRbUNc','maka\x20g:publish\x20todos','engines','388145ACcFVp'];a83c=function(){return n;};return a83c();}(function(a,b){const h=a83d,c=a();while(!![]){try{const d=parseInt(h(0x92))/0x1+parseInt(h(0x9d))/0x2+-parseInt(h(0xa4))/0x3*(-parseInt(h(0xa0))/0x4)+parseInt(h(0x95))/0x5*(-parseInt(h(0x8c))/0x6)+-parseInt(h(0x8e))/0x7*(parseInt(h(0xa3))/0x8)+parseInt(h(0x9f))/0x9+-parseInt(h(0x8f))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x7884f));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a83d;if(c){const e=c[i(0x98)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const j=a83d;return a83a[j(0x96)]()[j(0x99)](j(0x9b))[j(0x96)]()[j(0x90)](a83a)['search'](j(0x9b));});function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0x8c;let f=c[d];return f;},a83d(a,b);}a83a();import{paramCase}from'change-case';import{Generator}from'../generator.js';Generator[a83k(0x9c)]({'name':'publish','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','shortDesc':a83k(0x97),'validOpts':[],'examples':[a83k(0x93)]},async function(a,b){const l=a83k,c=this[l(0x91)]['getProjectConfig']();this[l(0x91)][l(0x9a)](c,async()=>{const m=l,d={'name':b['resourceName'],'collection':paramCase(b['resourceName']),'noRename':!![]};let e='js';c[m(0x94)]['js']==='tsx'&&(e='ts');const f=this[m(0x91)][m(0xa1)]({'pathParts':[m(0x9e)+c[m(0x94)]['js']]}),g=this[m(0x91)]['templateContent']({'srcPath':m(0xa2)+e,'context':d,'config':c});this['fsi'][m(0x8d)]({'filePath':f,'content':'\x0a'+g});});});
@@ -1 +1 @@
1
- const a83y=a83d;(function(a,b){const v=a83d,c=a();while(!![]){try{const d=parseInt(v(0xf0))/0x1+parseInt(v(0xf4))/0x2+parseInt(v(0xd8))/0x3*(-parseInt(v(0xf5))/0x4)+parseInt(v(0xe9))/0x5+parseInt(v(0xf1))/0x6*(-parseInt(v(0xdf))/0x7)+-parseInt(v(0xc4))/0x8+parseInt(v(0xd1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a83c,0x4bd24));const a83b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a83d;if(c){const e=c[w(0xee)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a83a=a83b(this,function(){const x=a83d;return a83a['toString']()[x(0xd7)](x(0xde))[x(0xcb)]()[x(0xe8)](a83a)[x(0xd7)](x(0xde));});a83a();import a83e from'path';function a83c(){const H=['true','fsi','client','injectAfterLineNumber','toLowerCase','create','<Router','rewriteDestinationPathForEngine','indexOf','injectIntoFile','3562848auWtZn','readFileLines','templateName','MasterLayout','maka\x20g:route\x20todosEdit\x20todos/:id/edit','const\x20publicRoutes\x20=\x20(<>','withValue','toString','private','route/route.js','page','withHook','getProjectConfig','4608837CeDnXR','const\x20privateRoutes\x20=\x20(<>','\x0a\x09\x09','filter','injectAtEndOfFile','join','search','516ernGyf','lib','features','</Router>','imports','startup','(((.+)+)+)+$','107758TYRkXe','pathFromApp','engines','only','routes.js','includes','newForm','PrivateLayout','root','constructor','1273640ZDQUZQ','invoke','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','/imports/ui/pages','cwd','apply','layout','409909EbcMDJ','84kEbDOM','react','length','259180ziIcZr','7788FsgKHM','maka\x20g:route\x20lists/listIndex\x20lists','map','<Route'];a83c=function(){return H;};return a83c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a83d(a,b){const c=a83c();return a83d=function(d,e){d=d-0xb9;let f=c[d];return f;},a83d(a,b);}import a83f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a83y(0xbf)]({'name':'route','aliases':aliases,'validOpts':[a83y(0xcc),a83y(0xef),a83y(0xe2),a83y(0xed),'config',a83y(0xe7),a83y(0xcf),'url'],'usage':a83y(0xeb),'shortDesc':'Scaffolding\x20for\x20a\x20Route.','examples':['maka\x20g:route\x20todosIndex\x20todos',a83y(0xc8),'maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView',a83y(0xf6)]},function(a,b){const z=a83y;try{const c=this[z(0xbb)][z(0xd0)]();this[z(0xbb)][z(0xca)](c,async()=>{const A=z,d=b[A(0xcc)]??![];let f=paramCase(a[0x0]),g='/'+f;a[A(0xf3)]>0x1&&(g='/'+a['filter'](function(l){return l!=='/';})[A(0xd6)]('/')[A(0xbe)]());f=camelCase(f);b[A(0xef)]&&(b[A(0xef)]=camelCase(b[A(0xef)]));const h=a83e[A(0xd6)](A(0xec),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b['layout']||A(0xc7),'templatePath':h,'templateName':pascalCase(f),'client':c[A(0xe1)][A(0xbc)],'newForm':![],'withTranslations':c[A(0xda)]['withTranslations']};d&&(i['layout']=A(0xe6));if(!b[A(0xe7)]){const l=a83f['findGenerator'](A(0xce));l&&await l[A(0xea)](a,b);}let j,k;if(c['engines'][A(0xbc)]===A(0xf2)){if(c[A(0xe1)]['ssr']===A(0xba)){const p=this[A(0xbb)][A(0xe0)]({'pathParts':[A(0xdc),A(0xdd),A(0xd9),'routes.js']});j=this[A(0xbb)][A(0xc1)]({'pathParts':[p],'config':c});}else{const q=this[A(0xbb)][A(0xe0)]({'pathParts':['imports','startup',A(0xbc),A(0xe3)]});j=this[A(0xbb)][A(0xc1)]({'pathParts':[q],'config':c});}const m=this[A(0xbb)][A(0xc5)](j)[A(0xf7)]((r,s)=>{const B=A;return r[B(0xe4)]('import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;')?s+0x1:null;})['filter'](r=>r!==null);let n=this[A(0xbb)][A(0xc5)](j)[A(0xf7)]((r,s)=>{const C=A;return r[C(0xe4)](C(0xc9))?s+0x1:null;})['filter'](r=>r!==null),o=this['fsi'][A(0xc5)](j)[A(0xf7)]((r,s)=>{const D=A;return r[D(0xe4)](D(0xd2))?s+0x1:null;})[A(0xd4)](r=>r!==null);n[A(0xf3)]>0x0&&o['length']>0x0&&(i[A(0xe5)]=!![]);k=this[A(0xbb)]['templateContent']({'srcPath':A(0xcd),'framework':A(0xf2),'context':i,'config':c});if(n[A(0xf3)]>0x0||o['length']>0x0){this['fsi']['injectAfterLineNumber']({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[A(0xf3)]>0x0)o=this[A(0xbb)][A(0xc5)](j)['map']((r,s)=>{const E=A;return r['includes'](E(0xd2))?s+0x1:null;})['filter'](r=>r!==null),this[A(0xbb)][A(0xbd)]({'filePath':j,'content':'\x09{'+i['templateName']+'}','lineNumber':o[0x0]});else n[A(0xf3)]>0x0?(n=this[A(0xbb)]['readFileLines'](j)[A(0xf7)]((r,s)=>{const F=A;return r[F(0xe4)](F(0xc9))?s+0x1:null;})[A(0xd4)](r=>r!==null),this[A(0xbb)][A(0xbd)]({'filePath':j,'content':'\x09{'+i[A(0xc6)]+'}','lineNumber':n[0x0]})):Log['warn']('Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20'+j);}else{const r=this[A(0xbb)][A(0xc5)](j)[A(0xf7)](u=>{const G=A;return u[G(0xe4)]('\x22*\x22');}),s=r[A(0xc2)](!![])>-0x1,t=s?A(0xb9):A(0xdb);this[A(0xbb)][A(0xc3)]({'filePath':j,'content':A(0xd3)+k+A(0xd3),'begin':A(0xc0),'end':t});}}else{if(c[A(0xe1)][A(0xbc)]==='vanilla'){const u=this[A(0xbb)]['pathFromApp']({'pathParts':['imports',A(0xdd),A(0xbc),A(0xe3)]});j=this[A(0xbb)][A(0xc1)]({'pathParts':[u],'config':c}),k=this['fsi']['templateContent']({'srcPath':A(0xcd),'context':i}),this[A(0xbb)][A(0xd5)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log['error'](d);}});
1
+ const a84y=a84d;(function(a,b){const v=a84d,c=a();while(!![]){try{const d=-parseInt(v(0x1f6))/0x1*(-parseInt(v(0x1d5))/0x2)+-parseInt(v(0x1d4))/0x3*(-parseInt(v(0x1f4))/0x4)+-parseInt(v(0x1fc))/0x5+parseInt(v(0x1bc))/0x6*(parseInt(v(0x1f9))/0x7)+-parseInt(v(0x1ca))/0x8*(parseInt(v(0x1de))/0x9)+parseInt(v(0x1c7))/0xa*(parseInt(v(0x1f5))/0xb)+parseInt(v(0x1e9))/0xc*(-parseInt(v(0x1dd))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a84c,0x3d5ec));const a84b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a84d;if(c){const e=c[w(0x1c6)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a84a=a84b(this,function(){const x=a84d;return a84a[x(0x201)]()[x(0x1c0)](x(0x1e4))['toString']()[x(0x1f0)](a84a)['search'](x(0x1e4));});a84a();import a84e from'path';import{Generator}from'../generator.js';function a84d(a,b){const c=a84c();return a84d=function(d,e){d=d-0x1bc;let f=c[d];return f;},a84d(a,b);}import{Log}from'../tools/log/log.class.js';function a84c(){const G=['warn','create','\x0a\x09\x09','routes.js','includes','/imports/ui/pages','Scaffolding\x20for\x20a\x20Route.','51939SLwjbY','128252amAyNa','toLowerCase','engines','map','pathFromApp','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','injectAtEndOfFile','length','13nazPtR','9pLzZeI','cwd','ssr','startup','injectAfterLineNumber','const\x20privateRoutes\x20=\x20(<>','(((.+)+)+)+$','rewriteDestinationPathForEngine','root','<Router','templateContent','2054796ZLojER','PrivateLayout','fsi','readFileLines','withTranslations','maka\x20g:route\x20todosIndex\x20todos','route','constructor','layout','templateName','error','24MtTNcQ','4264755XbiJwX','7zpwiNh','</Router>','url','828758toPyRt','filter','injectIntoFile','1959345JjgzpT','withHook','client','indexOf','newForm','toString','12GBTkEh','imports','route/route.js','react','search','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','features','MasterLayout','only','<Route','apply','10jRWNjO','const\x20publicRoutes\x20=\x20(<>','withValue','2902232ahvzXq','private','\x22*\x22'];a84c=function(){return G;};return a84c();}import a84f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a84y(0x1ce)]({'name':a84y(0x1ef),'aliases':aliases,'validOpts':['private',a84y(0x1f1),a84y(0x1c4),a84y(0x1df),'config',a84y(0x1e6),a84y(0x1fd),a84y(0x1f8)],'usage':'maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','shortDesc':a84y(0x1d3),'examples':[a84y(0x1ee),'maka\x20g:route\x20todosEdit\x20todos/:id/edit',a84y(0x1da),'maka\x20g:route\x20lists/listIndex\x20lists']},function(a,b){const z=a84y;try{const c=this[z(0x1eb)]['getProjectConfig']();this[z(0x1eb)][z(0x1c9)](c,async()=>{const A=z,d=b[A(0x1cb)]??![];let f=paramCase(a[0x0]),g='/'+f;a[A(0x1dc)]>0x1&&(g='/'+a['filter'](function(l){return l!=='/';})['join']('/')[A(0x1d6)]());f=camelCase(f);b[A(0x1f1)]&&(b[A(0x1f1)]=camelCase(b[A(0x1f1)]));const h=a84e['join'](A(0x1d2),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b['layout']||A(0x1c3),'templatePath':h,'templateName':pascalCase(f),'client':c['engines']['client'],'newForm':![],'withTranslations':c[A(0x1c2)][A(0x1ed)]};d&&(i[A(0x1f1)]=A(0x1ea));if(!b[A(0x1e6)]){const l=a84f['findGenerator']('page');l&&await l['invoke'](a,b);}let j,k;if(c[A(0x1d7)][A(0x1fe)]===A(0x1bf)){if(c[A(0x1d7)][A(0x1e0)]==='true'){const p=this[A(0x1eb)][A(0x1d9)]({'pathParts':[A(0x1bd),A(0x1e1),'lib',A(0x1d0)]});j=this['fsi'][A(0x1e5)]({'pathParts':[p],'config':c});}else{const q=this[A(0x1eb)][A(0x1d9)]({'pathParts':[A(0x1bd),A(0x1e1),A(0x1fe),A(0x1d0)]});j=this[A(0x1eb)][A(0x1e5)]({'pathParts':[q],'config':c});}const m=this['fsi']['readFileLines'](j)['map']((r,s)=>{const B=A;return r[B(0x1d1)]('import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;')?s+0x1:null;})[A(0x1fa)](r=>r!==null);let n=this['fsi']['readFileLines'](j)[A(0x1d8)]((r,s)=>{const C=A;return r[C(0x1d1)](C(0x1c8))?s+0x1:null;})[A(0x1fa)](r=>r!==null),o=this[A(0x1eb)][A(0x1ec)](j)[A(0x1d8)]((r,s)=>{return r['includes']('const\x20privateRoutes\x20=\x20(<>')?s+0x1:null;})[A(0x1fa)](r=>r!==null);n[A(0x1dc)]>0x0&&o[A(0x1dc)]>0x0&&(i[A(0x200)]=!![]);k=this[A(0x1eb)][A(0x1e8)]({'srcPath':A(0x1be),'framework':A(0x1bf),'context':i,'config':c});if(n[A(0x1dc)]>0x0||o[A(0x1dc)]>0x0){this[A(0x1eb)][A(0x1e2)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[A(0x1dc)]>0x0)o=this[A(0x1eb)][A(0x1ec)](j)[A(0x1d8)]((r,s)=>{const D=A;return r[D(0x1d1)](D(0x1e3))?s+0x1:null;})[A(0x1fa)](r=>r!==null),this[A(0x1eb)][A(0x1e2)]({'filePath':j,'content':'\x09{'+i[A(0x1f2)]+'}','lineNumber':o[0x0]});else n[A(0x1dc)]>0x0?(n=this['fsi'][A(0x1ec)](j)[A(0x1d8)]((r,s)=>{const E=A;return r[E(0x1d1)]('const\x20publicRoutes\x20=\x20(<>')?s+0x1:null;})[A(0x1fa)](r=>r!==null),this['fsi'][A(0x1e2)]({'filePath':j,'content':'\x09{'+i[A(0x1f2)]+'}','lineNumber':n[0x0]})):Log[A(0x1cd)](A(0x1c1)+j);}else{const r=this[A(0x1eb)]['readFileLines'](j)[A(0x1d8)](u=>{const F=A;return u[F(0x1d1)](F(0x1cc));}),s=r[A(0x1ff)](!![])>-0x1,t=s?A(0x1c5):A(0x1f7);this['fsi'][A(0x1fb)]({'filePath':j,'content':A(0x1cf)+k+A(0x1cf),'begin':A(0x1e7),'end':t});}}else{if(c[A(0x1d7)][A(0x1fe)]==='vanilla'){const u=this[A(0x1eb)]['pathFromApp']({'pathParts':[A(0x1bd),A(0x1e1),'client',A(0x1d0)]});j=this[A(0x1eb)][A(0x1e5)]({'pathParts':[u],'config':c}),k=this['fsi'][A(0x1e8)]({'srcPath':A(0x1be),'context':i}),this[A(0x1eb)][A(0x1db)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0x1f3)](d);}});