@maka/maka-cli 4.5.13 → 4.5.14

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (99) 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/snake.sub.cmd.js +1 -1
  27. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  28. package/bundle/obf/src/commands/generate.js +1 -1
  29. package/bundle/obf/src/commands/get/_index.js +1 -1
  30. package/bundle/obf/src/commands/get/get.command.js +1 -1
  31. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  32. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  34. package/bundle/obf/src/commands/help.js +1 -1
  35. package/bundle/obf/src/commands/jsdoc.js +1 -1
  36. package/bundle/obf/src/commands/lint.js +1 -1
  37. package/bundle/obf/src/commands/login.js +1 -1
  38. package/bundle/obf/src/commands/logout.js +1 -1
  39. package/bundle/obf/src/commands/logs.js +1 -1
  40. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  41. package/bundle/obf/src/commands/murder.js +1 -1
  42. package/bundle/obf/src/commands/proxy.js +1 -1
  43. package/bundle/obf/src/commands/reconfig.js +1 -1
  44. package/bundle/obf/src/commands/run/_index.js +1 -1
  45. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  46. package/bundle/obf/src/commands/run/run.command.js +1 -1
  47. package/bundle/obf/src/commands/set/_index.js +1 -1
  48. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  49. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  50. package/bundle/obf/src/commands/set/set.command.js +1 -1
  51. package/bundle/obf/src/commands/ssh.js +1 -1
  52. package/bundle/obf/src/commands/ssl.js +1 -1
  53. package/bundle/obf/src/commands/test.js +1 -1
  54. package/bundle/obf/src/commands/version.js +1 -1
  55. package/bundle/obf/src/error.js +1 -1
  56. package/bundle/obf/src/generator.js +1 -1
  57. package/bundle/obf/src/generators/_index.js +1 -1
  58. package/bundle/obf/src/generators/api.js +1 -1
  59. package/bundle/obf/src/generators/collection.js +1 -1
  60. package/bundle/obf/src/generators/component.js +1 -1
  61. package/bundle/obf/src/generators/config.js +1 -1
  62. package/bundle/obf/src/generators/dbc.js +1 -1
  63. package/bundle/obf/src/generators/dockerfile.js +1 -1
  64. package/bundle/obf/src/generators/hook.js +1 -1
  65. package/bundle/obf/src/generators/kit.js +1 -1
  66. package/bundle/obf/src/generators/layout.js +1 -1
  67. package/bundle/obf/src/generators/maka.gen.js +1 -1
  68. package/bundle/obf/src/generators/methods.js +1 -1
  69. package/bundle/obf/src/generators/package.js +1 -1
  70. package/bundle/obf/src/generators/page.js +1 -1
  71. package/bundle/obf/src/generators/publish.js +1 -1
  72. package/bundle/obf/src/generators/route.js +1 -1
  73. package/bundle/obf/src/generators/service.js +1 -1
  74. package/bundle/obf/src/generators/services/_index.js +1 -1
  75. package/bundle/obf/src/generators/services/openssl.js +1 -1
  76. package/bundle/obf/src/generators/services/translation.js +1 -1
  77. package/bundle/obf/src/maka.js +1 -1
  78. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js +2 -2
  79. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.jsx +2 -2
  80. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.ts +2 -2
  81. package/bundle/obf/src/templates/meteor/app/server/helmet-csp.js.tsx +2 -2
  82. package/bundle/obf/src/tool.js +1 -1
  83. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  84. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  85. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  86. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  87. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  88. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  89. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  90. package/bundle/obf/src/tools/https/https.class.js +1 -1
  91. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  92. package/bundle/obf/src/tools/log/log.class.js +1 -1
  93. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  94. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  95. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  96. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  97. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  98. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  99. package/package.json +1 -1
@@ -1 +1 @@
1
- const a56z=a56d;(function(a,b){const w=a56d,c=a();while(!![]){try{const d=-parseInt(w(0x234))/0x1*(-parseInt(w(0x208))/0x2)+parseInt(w(0x221))/0x3+parseInt(w(0x1ec))/0x4*(-parseInt(w(0x230))/0x5)+-parseInt(w(0x20f))/0x6*(parseInt(w(0x21f))/0x7)+parseInt(w(0x204))/0x8*(-parseInt(w(0x210))/0x9)+-parseInt(w(0x219))/0xa*(parseInt(w(0x241))/0xb)+parseInt(w(0x211))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x67953));const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a56d;if(c){const e=c[x(0x209)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const y=a56d;return a56a['toString']()[y(0x222)]('(((.+)+)+)+$')[y(0x22c)]()[y(0x23d)](a56a)['search'](y(0x20e));});a56a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x1e3;let f=c[d];return f;},a56d(a,b);}import a56e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a56c(){const C=['maka:check','776ZekBGk','installMeteorPackage','test','API\x20boundaries\x20to\x20create','5318LReGAJ','apply','invoke','api/typeDefs.js','resolverList.push(','injectAtBeginningOfFile','(((.+)+)+)+$','744Qcwycv','74034ciraya','21073320iSsLKZ','exit','/imports/api','ddp-rate-limiter','withValue','getProjectConfig','mongo','Fixtures','10BNgcfn','Resolvers\x20}\x20from\x20\x27','graphql','Verifying\x20meteor\x20package\x20requirements\x20...','collection','-api.','29596mdFdnJ','\x27;\x0a','488322ZFPpeA','search','imports','dir','resolvers.','Resolvers);\x0a\x0a','tsx','maka\x20{generate,\x20g}:{api}\x20<resource-name>','publications.','maka:rest','-api\x27;','toString','injectAtEndOfFile','.app-tests.','typeList.push(','1409510xGhkJP','injectIntoFile','template','api/methods.js','296WMXfsN','GraphQL','withFixtures','fsi','options','fixtures.','rest-api.','rewriteDestinationPathForEngine','includes','constructor','log','index.','none','4352425bLcVoX','if\x20\x5c(typeList','No\x20API\x20boundaries\x20selected','const','rpc-methods.','api/fixtures.js','apollo','REST\x20API','rest','withMethods','pathFromApp','import\x20\x27./register-','8DYoSiO','withRest','typeDefs.','api/register-api.js','engines','api','startup','checkMeteorPackage','withPubs','/graphql/resolvers','notice','RPC\x20(Methods)','\x0aimport\x20{\x20resolvers\x20as\x20','findGenerator','maka\x20g:api\x20todos','TypeDefs\x20}\x20from\x20\x27','/graphql/typeDefs','push','withGql','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','register-','server','Publications'];a56c=function(){return C;};return a56c();}Generator['create']({'name':a56z(0x1f1),'aliases':['a'],'usage':a56z(0x228),'shortDesc':a56z(0x1ff),'validOpts':[a56z(0x224)],'examples':[a56z(0x1fa)]},async function(a,b){const A=a56z;try{const c=this[A(0x237)][A(0x216)](),d=[{'name':A(0x1f7),'value':A(0x1e9)},{'name':A(0x218),'value':A(0x236)},{'name':A(0x202),'value':A(0x1f4)}];c[A(0x1f0)][A(0x1f1)]===A(0x1e8)&&d[A(0x1fd)]({'name':A(0x1e7),'value':A(0x1ed)});c['engines'][A(0x21b)]===A(0x1e6)&&d[A(0x1fd)]({'name':A(0x235),'value':'withGql'});const f={'type':'checkbox','name':'apiAnswers','message':A(0x207),'pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0x238)](f);g['length']===0x0&&(Log['error'](A(0x243)),process[A(0x212)](0x1)),this[A(0x237)][A(0x215)](c,async()=>{const B=A,h=this[B(0x237)][B(0x1ea)]({}),i=a[0x0],j=paramCase(i),k=camelCase(i),l=b[B(0x224)]?'/'+b['dir']+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c['engines'][B(0x1f1)],'graphql':c[B(0x1f0)][B(0x21b)],'test':c[B(0x1f0)][B(0x206)],'noRename':!![],'withPubs':g[B(0x23c)](B(0x1f4)),'withFixtures':g[B(0x23c)](B(0x236)),'withMethods':g[B(0x23c)](B(0x1e9)),'withRest':g['includes'](B(0x1ed))};let n='js';c[B(0x1f0)]['js']===B(0x227)&&(n='ts');(!this[B(0x237)][B(0x1f3)](B(0x22a))||!this[B(0x237)][B(0x1f3)](B(0x203))||!this['fsi'][B(0x1f3)](B(0x214))||!this['fsi']['checkMeteorPackage']('mdg:validated-method')||!this[B(0x237)][B(0x1f3)](B(0x217)))&&(Log[B(0x1f6)](B(0x21c)),await this['fsi'][B(0x205)]('maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo',{'cwd':h}));const o=a56e[B(0x1f9)](B(0x21d));o&&await o[B(0x20a)]([j],{'config':c,'where':B(0x201)});c[B(0x1f0)]['api']===B(0x1e8)&&(m['withRest']&&this[B(0x237)][B(0x232)]({'srcPath':'api/api.js','destPath':this[B(0x237)][B(0x1ea)]({'pathParts':[B(0x223),B(0x1f1),b[B(0x224)],j,B(0x23a)+n]}),'context':m,'config':c}));m[B(0x1e9)]&&this[B(0x237)][B(0x232)]({'srcPath':B(0x233),'destPath':this[B(0x237)][B(0x1ea)]({'pathParts':[B(0x223),B(0x1f1),b['dir'],j,B(0x1e4)+n]}),'context':m,'config':c});m[B(0x236)]&&this[B(0x237)][B(0x232)]({'srcPath':B(0x1e5),'destPath':this[B(0x237)][B(0x1ea)]({'pathParts':[B(0x223),B(0x1f1),b['dir'],j,B(0x239)+n]}),'context':m,'config':c});c[B(0x1f0)][B(0x206)]!==B(0x240)&&this[B(0x237)][B(0x232)]({'srcPath':'api/tests.js','destPath':this['fsi'][B(0x1ea)]({'pathParts':['imports',B(0x1f1),b['dir'],j,j+B(0x22e)+n]}),'context':m,'config':c});m[B(0x1f4)]&&this['fsi'][B(0x232)]({'srcPath':'api/publications.js','destPath':this[B(0x237)][B(0x1ea)]({'pathParts':['imports',B(0x1f1),b[B(0x224)],j,B(0x229)+n]}),'context':m,'config':c});if(c[B(0x1f0)][B(0x21b)]===B(0x1e6)){if(g[B(0x23c)](B(0x1fe))){const q=this['fsi'][B(0x1ea)]({'pathParts':[B(0x223),B(0x1f2),B(0x201),'index.'+c[B(0x1f0)]['js']]}),r=this['fsi'][B(0x23b)]({'pathParts':[q],'config':c}),s=this[B(0x237)]['pathFromApp']({'pathParts':[B(0x223),B(0x1f1),b[B(0x224)],j,'graphql',B(0x1ee)+n]}),t=B(0x213)+l+j+B(0x1fc);this[B(0x237)]['template']({'srcPath':B(0x20b),'destPath':s,'context':m,'config':c}),this[B(0x237)]['injectAtBeginningOfFile']({'filePath':r,'content':'import\x20{\x20typeDefs\x20as\x20'+k+B(0x1fb)+t+B(0x220)}),this[B(0x237)][B(0x231)]({'filePath':r,'content':B(0x22f)+k+'TypeDefs);\x0a','begin':B(0x1e3),'end':B(0x242)});const u=this['fsi']['pathFromApp']({'pathParts':[B(0x223),B(0x1f1),b[B(0x224)],j,B(0x21b),B(0x225)+n]}),v=B(0x213)+l+j+B(0x1f5);this[B(0x237)][B(0x232)]({'srcPath':'api/resolvers.js','destPath':u,'context':m,'config':c}),this['fsi'][B(0x20d)]({'filePath':r,'content':B(0x1f8)+k+B(0x21a)+v+'\x27;'}),this[B(0x237)]['injectIntoFile']({'filePath':r,'content':B(0x20c)+k+B(0x226),'begin':'const','end':B(0x242)});}}this['fsi'][B(0x232)]({'srcPath':B(0x1ef),'destPath':this[B(0x237)]['pathFromApp']({'pathParts':[B(0x223),'startup',B(0x201),B(0x200)+j+B(0x21e)+n]}),'context':m,'config':c,'force':!![]});const p=this[B(0x237)]['pathFromApp']({'pathParts':[B(0x223),B(0x1f2),B(0x201),B(0x23f)+c[B(0x1f0)]['js']]});this[B(0x237)][B(0x22d)]({'filePath':p,'content':B(0x1eb)+j+B(0x22b)});});}catch(h){console[A(0x23e)](h),process['exit'](0x0);}});
1
+ const a56z=a56d;(function(a,b){const w=a56d,c=a();while(!![]){try{const d=parseInt(w(0x20d))/0x1+parseInt(w(0x1e0))/0x2+-parseInt(w(0x205))/0x3+parseInt(w(0x1f5))/0x4*(-parseInt(w(0x1ee))/0x5)+parseInt(w(0x1f1))/0x6*(-parseInt(w(0x215))/0x7)+parseInt(w(0x20c))/0x8+parseInt(w(0x225))/0x9*(parseInt(w(0x204))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a56c,0x40a93));function a56d(a,b){const c=a56c();return a56d=function(d,e){d=d-0x1d5;let f=c[d];return f;},a56d(a,b);}const a56b=(function(){let a=!![];return function(b,c){const d=a?function(){const x=a56d;if(c){const e=c[x(0x1fb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a56a=a56b(this,function(){const y=a56d;return a56a[y(0x22e)]()[y(0x1f0)](y(0x216))['toString']()[y(0x217)](a56a)['search'](y(0x216));});a56a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';import a56e from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a56c(){const C=['withFixtures','imports','Fixtures','dir','rest','1381416hJFkDG','479824ORvlLT','fsi','Verifying\x20meteor\x20package\x20requirements\x20...','maka:check','api/fixtures.js','engines','api/resolvers.js','REST\x20API','2367379SOkZoy','(((.+)+)+)+$','constructor','withGql','resolvers.','api/api.js','api','api/typeDefs.js','invoke','notice','const','/imports/api','typeList.push(','.app-tests.','import\x20{\x20typeDefs\x20as\x20','api/publications.js','9GSIRZq','apollo','getProjectConfig','log','error','-api.','tsx','test','maka\x20g:api\x20todos','toString','register-','Resolvers);\x0a\x0a','withRest','/graphql/typeDefs','index.','pathFromApp','if\x20\x5c(typeList','injectAtBeginningOfFile','rewriteDestinationPathForEngine','api/tests.js','options','server','maka:rest','installMeteorPackage','977418CnVTex','injectAtEndOfFile','fixtures.','rpc-methods.','none','push','RPC\x20(Methods)','length','injectIntoFile','create','withMethods','Scaffolding\x20for\x20an\x20api\x20concept\x20(i.e.\x20Todos).','resolverList.push(','template','388745RKyKUu','includes','search','6kGDcYB','import\x20\x27./register-','maka\x20{generate,\x20g}:{api}\x20<resource-name>','GraphQL','16DkuryZ','\x27;\x0a','api/methods.js','exit','-api\x27;','checkMeteorPackage','apply','/graphql/resolvers','rest-api.','startup','graphql','collection','ddp-rate-limiter','withPubs','findGenerator','2611270tfoAPy','1464879RsSXLw','TypeDefs);\x0a'];a56c=function(){return C;};return a56c();}Generator[a56z(0x1e9)]({'name':a56z(0x21b),'aliases':['a'],'usage':a56z(0x1f3),'shortDesc':a56z(0x1eb),'validOpts':[a56z(0x20a)],'examples':[a56z(0x22d)]},async function(a,b){const A=a56z;try{const c=this[A(0x20e)][A(0x227)](),d=[{'name':A(0x1e6),'value':'withMethods'},{'name':A(0x209),'value':A(0x207)},{'name':'Publications','value':'withPubs'}];c[A(0x212)][A(0x21b)]===A(0x20b)&&d['push']({'name':A(0x214),'value':A(0x231)});c['engines'][A(0x1ff)]===A(0x226)&&d[A(0x1e5)]({'name':A(0x1f4),'value':A(0x218)});const f={'type':'checkbox','name':'apiAnswers','message':'API\x20boundaries\x20to\x20create','pageSize':0x64,'choices':d},{apiAnswers:g}=await Actions[A(0x1dc)](f);g[A(0x1e7)]===0x0&&(Log[A(0x229)]('No\x20API\x20boundaries\x20selected'),process[A(0x1f8)](0x1)),this['fsi']['withValue'](c,async()=>{const B=A,h=this['fsi'][B(0x1d7)]({}),i=a[0x0],j=paramCase(i),k=camelCase(i),l=b[B(0x20a)]?'/'+b[B(0x20a)]+'/':'/',m={'name':pascalCase(i),'fileName':j,'camelCase':pascalCase(i),'optsDir':l,'api':c[B(0x212)][B(0x21b)],'graphql':c['engines'][B(0x1ff)],'test':c[B(0x212)][B(0x22c)],'noRename':!![],'withPubs':g['includes']('withPubs'),'withFixtures':g['includes'](B(0x207)),'withMethods':g['includes'](B(0x1ea)),'withRest':g[B(0x1ef)](B(0x231))};let n='js';c['engines']['js']===B(0x22b)&&(n='ts');(!this[B(0x20e)][B(0x1fa)](B(0x1de))||!this[B(0x20e)][B(0x1fa)](B(0x210))||!this[B(0x20e)][B(0x1fa)](B(0x201))||!this[B(0x20e)][B(0x1fa)]('mdg:validated-method')||!this[B(0x20e)][B(0x1fa)]('mongo'))&&(Log[B(0x21e)](B(0x20f)),await this['fsi'][B(0x1df)]('maka:rest\x20maka:check\x20ddp-rate-limiter\x20mdg:validated-method\x20mongo',{'cwd':h}));const o=a56e[B(0x203)](B(0x200));o&&await o[B(0x21d)]([j],{'config':c,'where':B(0x1dd)});c[B(0x212)][B(0x21b)]===B(0x20b)&&(m[B(0x231)]&&this[B(0x20e)][B(0x1ed)]({'srcPath':B(0x21a),'destPath':this[B(0x20e)][B(0x1d7)]({'pathParts':['imports',B(0x21b),b[B(0x20a)],j,B(0x1fd)+n]}),'context':m,'config':c}));m[B(0x1ea)]&&this[B(0x20e)][B(0x1ed)]({'srcPath':B(0x1f7),'destPath':this[B(0x20e)][B(0x1d7)]({'pathParts':[B(0x208),B(0x21b),b[B(0x20a)],j,B(0x1e3)+n]}),'context':m,'config':c});m['withFixtures']&&this[B(0x20e)][B(0x1ed)]({'srcPath':B(0x211),'destPath':this[B(0x20e)][B(0x1d7)]({'pathParts':[B(0x208),B(0x21b),b['dir'],j,B(0x1e2)+n]}),'context':m,'config':c});c[B(0x212)][B(0x22c)]!==B(0x1e4)&&this[B(0x20e)]['template']({'srcPath':B(0x1db),'destPath':this[B(0x20e)][B(0x1d7)]({'pathParts':[B(0x208),B(0x21b),b['dir'],j,j+B(0x222)+n]}),'context':m,'config':c});m[B(0x202)]&&this['fsi'][B(0x1ed)]({'srcPath':B(0x224),'destPath':this[B(0x20e)][B(0x1d7)]({'pathParts':['imports',B(0x21b),b[B(0x20a)],j,'publications.'+n]}),'context':m,'config':c});if(c['engines'][B(0x1ff)]==='apollo'){if(g[B(0x1ef)](B(0x218))){const q=this[B(0x20e)][B(0x1d7)]({'pathParts':[B(0x208),B(0x1fe),B(0x1dd),B(0x1d6)+c[B(0x212)]['js']]}),r=this[B(0x20e)][B(0x1da)]({'pathParts':[q],'config':c}),s=this[B(0x20e)][B(0x1d7)]({'pathParts':[B(0x208),B(0x21b),b[B(0x20a)],j,B(0x1ff),'typeDefs.'+n]}),t='/imports/api'+l+j+B(0x1d5);this['fsi']['template']({'srcPath':B(0x21c),'destPath':s,'context':m,'config':c}),this['fsi'][B(0x1d9)]({'filePath':r,'content':B(0x223)+k+'TypeDefs\x20}\x20from\x20\x27'+t+B(0x1f6)}),this[B(0x20e)][B(0x1e8)]({'filePath':r,'content':B(0x221)+k+B(0x206),'begin':'const','end':B(0x1d8)});const u=this[B(0x20e)]['pathFromApp']({'pathParts':[B(0x208),B(0x21b),b[B(0x20a)],j,'graphql',B(0x219)+n]}),v=B(0x220)+l+j+B(0x1fc);this[B(0x20e)][B(0x1ed)]({'srcPath':B(0x213),'destPath':u,'context':m,'config':c}),this[B(0x20e)][B(0x1d9)]({'filePath':r,'content':'\x0aimport\x20{\x20resolvers\x20as\x20'+k+'Resolvers\x20}\x20from\x20\x27'+v+'\x27;'}),this[B(0x20e)][B(0x1e8)]({'filePath':r,'content':B(0x1ec)+k+B(0x230),'begin':B(0x21f),'end':B(0x1d8)});}}this[B(0x20e)][B(0x1ed)]({'srcPath':'api/register-api.js','destPath':this[B(0x20e)]['pathFromApp']({'pathParts':[B(0x208),B(0x1fe),B(0x1dd),B(0x22f)+j+B(0x22a)+n]}),'context':m,'config':c,'force':!![]});const p=this['fsi'][B(0x1d7)]({'pathParts':[B(0x208),B(0x1fe),B(0x1dd),B(0x1d6)+c['engines']['js']]});this[B(0x20e)][B(0x1e1)]({'filePath':p,'content':B(0x1f2)+j+B(0x1f9)});});}catch(h){console[A(0x228)](h),process['exit'](0x0);}});
@@ -1 +1 @@
1
- const a57n=a57d;(function(a,b){const k=a57d,c=a();while(!![]){try{const d=parseInt(k(0x20d))/0x1+parseInt(k(0x1f4))/0x2+parseInt(k(0x1f8))/0x3+parseInt(k(0x213))/0x4*(parseInt(k(0x1fc))/0x5)+-parseInt(k(0x211))/0x6*(parseInt(k(0x1fb))/0x7)+-parseInt(k(0x217))/0x8+parseInt(k(0x20c))/0x9*(-parseInt(k(0x1f9))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x54eae));function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a57d(a,b);}const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a57d;if(c){const e=c[l(0x21b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const m=a57d;return a57a[m(0x1f1)]()[m(0x1f5)](m(0x212))[m(0x1f1)]()[m(0x201)](a57a)['search']('(((.+)+)+)+$');});a57a();function a57c(){const q=['engines','\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','3082221lnufHM','337172fVUooO','collections','appPathPrefix','import\x20\x27./collections','18qilzjL','(((.+)+)+)+$','1136jJfoYT','imports','maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','where','5530184ncsmdk','checkMeteorPackage','Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...','tsx','apply','toString','template','mongo','1214988sESWIk','search','dir','notice','1091631CPhUoJ','10Cmiqpp','pathFromApp','890547Ruaund','8005Wuoejm','none','Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...','injectAtEndOfFile','col','constructor','fsi','collection/collection.js','installMeteorPackage','maka:check','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','test','getProjectConfig','startup'];a57c=function(){return q;};return a57c();}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';Generator['create']({'name':'collection','aliases':[a57n(0x200)],'usage':a57n(0x215),'checkWhere':!![],'shortDesc':a57n(0x206),'validOpts':[a57n(0x1f6),'where'],'description':a57n(0x20b),'examples':['maka\x20g:collection\x20todos']},async function(a,b){const o=a57n;try{const c=this[o(0x202)]['pathFromApp']({}),d=this['fsi'][o(0x208)]();this[o(0x202)]['withValue'](d,async()=>{const p=o,f=paramCase(b['resourceName']),g={'name':pascalCase(b['resourceName']),'collectionName':pascalCase(b['resourceName']),'fileName':f,'where':b[p(0x216)],'test':d[p(0x20a)][p(0x207)],'noRename':!![]};let h='js';d[p(0x20a)]['js']===p(0x21a)&&(h='ts');!this['fsi']['checkMeteorPackage'](p(0x1f3))&&(Log['notice'](p(0x219)),await this['fsi'][p(0x204)]('mongo',{'cwd':c}));!this[p(0x202)][p(0x218)](p(0x205))&&(Log[p(0x1f7)](p(0x1fe)),await this[p(0x202)][p(0x204)](p(0x205),{'cwd':c}));this[p(0x202)][p(0x1f2)]({'srcPath':p(0x203),'destPath':this[p(0x202)][p(0x1fa)]({'pathParts':['imports',p(0x209),b[p(0x20f)],p(0x20e),b['dir'],f+'.'+h]}),'context':g,'config':d});d[p(0x20a)][p(0x207)]!==p(0x1fd)&&this[p(0x202)][p(0x1f2)]({'srcPath':'collection/tests.js','destPath':this[p(0x202)][p(0x1fa)]({'pathParts':[p(0x214),p(0x209),b[p(0x20f)],'collections',b[p(0x1f6)],f+'.app-tests.'+h]}),'context':g,'config':d});const i=b[p(0x1f6)]?'/'+b[p(0x1f6)]+'/':'/',j=this[p(0x202)][p(0x1fa)]({'pathParts':[p(0x214),p(0x209),b[p(0x20f)],'index.'+d[p(0x20a)]['js']]});this[p(0x202)][p(0x1ff)]({'filePath':j,'content':p(0x210)+i+f+'\x27;'});});}catch(f){Log['error'](f);}});
1
+ const a57n=a57d;(function(a,b){const k=a57d,c=a();while(!![]){try{const d=-parseInt(k(0x184))/0x1+parseInt(k(0x165))/0x2*(parseInt(k(0x171))/0x3)+parseInt(k(0x16e))/0x4*(-parseInt(k(0x162))/0x5)+parseInt(k(0x168))/0x6+parseInt(k(0x182))/0x7*(parseInt(k(0x183))/0x8)+parseInt(k(0x15e))/0x9*(-parseInt(k(0x17f))/0xa)+parseInt(k(0x172))/0xb*(parseInt(k(0x16a))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a57c,0x6422b));function a57c(){const q=['getProjectConfig','12ycHWZP','imports','Verifying\x20meteor\x20package\x20requirements:\x20mongo\x20...','dir','4DmGziZ','search','engines','115698RorPhk','6106837uUZHkV','.app-tests.','test','template','pathFromApp','Scaffolding\x20for\x20a\x20Meteor\x20(Mongo)\x20Collection','withValue','installMeteorPackage','maka:check','apply','where','mongo','collection/collection.js','4149290qrkuSk','resourceName','notice','652855tVcLrE','8DJuNOm','59316luderM','collections','col','constructor','appPathPrefix','toString','9cQyYaG','(((.+)+)+)+$','maka\x20g:collection\x20todos','checkMeteorPackage','2934390DxCxQP','injectAtEndOfFile','startup','24vbyHVf','fsi','index.','2160324sKMHVZ'];a57c=function(){return q;};return a57c();}const a57b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a57d;if(c){const e=c[l(0x17b)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a57a=a57b(this,function(){const m=a57d;return a57a[m(0x15d)]()['search'](m(0x15f))[m(0x15d)]()[m(0x15b)](a57a)[m(0x16f)](m(0x15f));});a57a();import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a57d(a,b){const c=a57c();return a57d=function(d,e){d=d-0x15a;let f=c[d];return f;},a57d(a,b);}import{Log}from'../tools/log/log.class.js';Generator['create']({'name':'collection','aliases':[a57n(0x15a)],'usage':'maka\x20{generate,\x20g}:{collection,\x20col}\x20<name>','checkWhere':!![],'shortDesc':a57n(0x177),'validOpts':['dir','where'],'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':[a57n(0x160)]},async function(a,b){const o=a57n;try{const c=this[o(0x166)][o(0x176)]({}),d=this[o(0x166)][o(0x169)]();this[o(0x166)][o(0x178)](d,async()=>{const p=o,f=paramCase(b[p(0x180)]),g={'name':pascalCase(b['resourceName']),'collectionName':pascalCase(b[p(0x180)]),'fileName':f,'where':b[p(0x17c)],'test':d[p(0x170)][p(0x174)],'noRename':!![]};let h='js';d[p(0x170)]['js']==='tsx'&&(h='ts');!this[p(0x166)]['checkMeteorPackage'](p(0x17d))&&(Log[p(0x181)](p(0x16c)),await this[p(0x166)][p(0x179)](p(0x17d),{'cwd':c}));!this[p(0x166)][p(0x161)](p(0x17a))&&(Log[p(0x181)]('Verifying\x20meteor\x20package\x20requirements:\x20maka:check\x20...'),await this[p(0x166)][p(0x179)](p(0x17a),{'cwd':c}));this[p(0x166)][p(0x175)]({'srcPath':p(0x17e),'destPath':this[p(0x166)]['pathFromApp']({'pathParts':[p(0x16b),p(0x164),b[p(0x15c)],p(0x185),b[p(0x16d)],f+'.'+h]}),'context':g,'config':d});d[p(0x170)][p(0x174)]!=='none'&&this[p(0x166)][p(0x175)]({'srcPath':'collection/tests.js','destPath':this['fsi'][p(0x176)]({'pathParts':[p(0x16b),p(0x164),b[p(0x15c)],p(0x185),b['dir'],f+p(0x173)+h]}),'context':g,'config':d});const i=b[p(0x16d)]?'/'+b['dir']+'/':'/',j=this[p(0x166)]['pathFromApp']({'pathParts':['imports',p(0x164),b[p(0x15c)],p(0x167)+d[p(0x170)]['js']]});this[p(0x166)][p(0x163)]({'filePath':j,'content':'import\x20\x27./collections'+i+f+'\x27;'});});}catch(f){Log['error'](f);}});
@@ -1 +1 @@
1
- const a58q=a58d;(function(a,b){const n=a58d,c=a();while(!![]){try{const d=-parseInt(n(0x18a))/0x1+-parseInt(n(0x191))/0x2*(parseInt(n(0x197))/0x3)+parseInt(n(0x18e))/0x4+parseInt(n(0x193))/0x5+parseInt(n(0x170))/0x6+parseInt(n(0x184))/0x7*(-parseInt(n(0x166))/0x8)+parseInt(n(0x161))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0x27623));const a58b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a58d;if(c){const e=c[o(0x17a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a58a=a58b(this,function(){const p=a58d;return a58a[p(0x195)]()[p(0x159)]('(((.+)+)+)+$')[p(0x195)]()[p(0x171)](a58a)[p(0x159)](p(0x199));});function a58c(){const t=['98lCtUnP','create','client','rewriteDestinationPathForEngine','installNpmPackage','assign','207176xFGovp','graphql','fsi','string','216380otvsUR','reflux','engines','1070JXnszr','imports','1384670aFpCin','component','toString','warn','1137RPGCYh','comp','(((.+)+)+)+$','template','fileName','withValue','css','search','setTemplate','tsx','import\x20\x27./','\x20};\x0a','true','withTranslations','resourceName','3746826JjOcQS','.js','component/component.js','react','lib','177760bZBMqH','ramda','\x27;\x0a','.css','\x20}\x20from\x20\x27','none','root','theme','import\x20\x27','startup','809958HaYbuH','constructor','pathFromProject','.tests.js','injectAtBeginningOfFile','injectAtEndOfFile','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','pathFromApp','checkNpmPackage','relative','apply','features','ssr','import\x20{\x20','test/test.js','dir','templates.js','test','className','cssCaseName'];a58c=function(){return t;};return a58c();}a58a();import a58e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a58d(a,b){const c=a58c();return a58d=function(d,e){d=d-0x158;let f=c[d];return f;},a58d(a,b);}import{Log}from'../tools/log/log.class.js';const aliases=[a58q(0x198)];Generator[a58q(0x185)]({'name':a58q(0x194),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','shortDesc':'Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','validOpts':[a58q(0x17f)],'examples':['maka\x20g:comp\x20todos/todos-item']},async function(a,b){const r=a58q;try{const c=this['fsi']['findAppDirectory'](),d='/imports/ui/components',f=this['fsi'][r(0x177)]({'pathParts':[d,b[r(0x17f)],paramCase(b['resourceName']),paramCase(b[r(0x160)])]}),g=await this[r(0x18c)]['getProjectConfig']();this['fsi'][r(0x19c)](g,async()=>{const s=r;typeof g[s(0x19a)][s(0x181)]===s(0x18d)&&(g['template'][s(0x181)]=g['template'][s(0x181)]===s(0x15e)?!![]:![],this[s(0x18c)]['setTemplate']('test',g[s(0x19a)]['test']));typeof g[s(0x19a)][s(0x158)]===s(0x18d)&&(g[s(0x19a)][s(0x158)]=g[s(0x19a)][s(0x158)]===s(0x15e)?!![]:![],this[s(0x18c)][s(0x15a)](s(0x158),g[s(0x19a)][s(0x158)]));typeof g[s(0x19a)]['js']===s(0x18d)&&(g[s(0x19a)]['js']=g[s(0x19a)]['js']===s(0x15e)?!![]:![],this['fsi'][s(0x15a)]('js',g[s(0x19a)]['js']));!g[s(0x17b)]&&(g['features']={});!b[s(0x16c)]&&!this[s(0x18c)]['checkNpmPackage'](s(0x167))&&(Log[s(0x196)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[s(0x18c)][s(0x188)](s(0x167),{'cwd':c}));if(!b[s(0x16c)]&&!this['fsi'][s(0x178)]('react')){Log['error'](s(0x176));return;}const h={'name':pascalCase(b[s(0x160)]),'myPath':a58e[s(0x179)](this['fsi'][s(0x172)]({}),f),'cssCaseName':paramCase(b[s(0x160)]),'className':pascalCase(b[s(0x160)]),'camelCaseName':camelCase(b[s(0x160)]),'fileName':paramCase(b['resourceName']),'graphql':g[s(0x190)][s(0x18b)],'features':g[s(0x17b)],'client':g['engines'][s(0x186)],'api':g[s(0x190)]['api'],'ssr':g[s(0x190)][s(0x17c)],'test':g[s(0x190)][s(0x181)],'theme':g[s(0x190)][s(0x16d)],'isLayout':![],'isComponent':!![],'withTranslations':g['features'][s(0x15f)]};this['fsi']['template']({'srcPath':s(0x163),'destPath':f+s(0x162),'context':h,'framework':'react','config':g});g[s(0x190)][s(0x181)]!==s(0x16b)&&this['fsi']['template']({'srcPath':s(0x17e),'destPath':f+s(0x173),'context':h,'framework':s(0x164),'config':g});g[s(0x19a)][s(0x158)]&&(this['fsi']['template']({'srcPath':'template/template.css','destPath':f+s(0x169),'context':Object[s(0x189)]({},h,{'className':paramCase(b[s(0x160)])}),'config':g}),this[s(0x18c)][s(0x174)]({'filePath':f+'.'+g[s(0x190)]['js'],'content':s(0x15c)+h[s(0x183)]+'.'+g[s(0x190)]['css']+'\x27;'}));const i=b[s(0x17f)]?'/'+b[s(0x17f)]+'/':'/',j=''+d+i+h[s(0x19b)]+'/'+h[s(0x19b)];let k;if(g[s(0x190)]['ssr']===s(0x15e)){const l=this[s(0x18c)]['pathFromApp']({'pathParts':[s(0x192),s(0x16f),s(0x165),'templates.js']});k=this[s(0x18c)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':g});}else{const m=this[s(0x18c)][s(0x177)]({'pathParts':[s(0x192),s(0x16f),s(0x186),s(0x180)]});k=this[s(0x18c)][s(0x187)]({'pathParts':[m],'config':g});}g['engines'][s(0x186)]==='react'||g[s(0x190)][s(0x186)]===s(0x18f)?(g['engines']['js']===s(0x15b)?this[s(0x18c)]['injectAtBeginningOfFile']({'filePath':k,'content':'import\x20{\x20'+h[s(0x182)]+s(0x16a)+j+s(0x168)}):this[s(0x18c)]['injectAtBeginningOfFile']({'filePath':k,'content':s(0x17d)+h[s(0x182)]+s(0x16a)+j+'.'+g[s(0x190)]['js']+s(0x168)}),this['fsi'][s(0x175)]({'filePath':k,'content':'export\x20{\x20'+h['className']+s(0x15d)})):this[s(0x18c)][s(0x175)]({'filePath':k,'content':s(0x16e)+j+'.'+g[s(0x190)]['js']+s(0x168)});});}catch(h){Log['error'](h);}});
1
+ const a58q=a58d;(function(a,b){const n=a58d,c=a();while(!![]){try{const d=-parseInt(n(0x20a))/0x1+-parseInt(n(0x219))/0x2+-parseInt(n(0x216))/0x3+-parseInt(n(0x1dc))/0x4+-parseInt(n(0x1e6))/0x5+-parseInt(n(0x217))/0x6+parseInt(n(0x1df))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a58c,0x34290));function a58d(a,b){const c=a58c();return a58d=function(d,e){d=d-0x1d7;let f=c[d];return f;},a58d(a,b);}const a58b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a58d;if(c){const e=c[o(0x204)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a58a=a58b(this,function(){const p=a58d;return a58a[p(0x201)]()['search'](p(0x200))[p(0x201)]()[p(0x1ed)](a58a)[p(0x1f6)](p(0x200));});a58a();import a58e from'path';import{camelCase,paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a58c(){const t=['string','import\x20{\x20','cssCaseName','theme','\x20}\x20from\x20\x27','error','true','ramda','102615lSLAvJ','2342298CvOOTr','startup','34662LeuYHI','fileName','injectAtBeginningOfFile','test/test.js','pathFromApp','api','211996MbkyLJ','fsi','tsx','6290991LBHbxQ','className','.css','templates.js','/imports/ui/components','ssr','template/template.css','910605hQHYXi','checkNpmPackage','\x27;\x0a','engines','installNpmPackage','imports','injectAtEndOfFile','constructor','withValue','react','export\x20{\x20','template','\x20};\x0a','features','Scaffolding\x20for\x20a\x20React\x20Component.\x0ahttps://reactjs.org/docs/react-component.html','lib','search','resourceName','assign','import\x20\x27./','create','import\x20\x27','getProjectConfig','root','pathFromProject','css','(((.+)+)+)+$','toString','reflux','test','apply','dir','maka\x20{generate,\x20g}:{comp}\x20[path/]<name>','findAppDirectory','relative','setTemplate','8026bLETGT','.js','maka\x20g:comp\x20todos/todos-item','rewriteDestinationPathForEngine'];a58c=function(){return t;};return a58c();}import{Log}from'../tools/log/log.class.js';const aliases=['comp'];Generator[a58q(0x1fa)]({'name':'component','aliases':aliases,'usage':a58q(0x206),'shortDesc':a58q(0x1f4),'validOpts':['dir'],'examples':[a58q(0x20c)]},async function(a,b){const r=a58q;try{const c=this['fsi'][r(0x207)](),d=r(0x1e3),f=this[r(0x1dd)][r(0x1da)]({'pathParts':[d,b[r(0x205)],paramCase(b[r(0x1f7)]),paramCase(b[r(0x1f7)])]}),g=await this[r(0x1dd)][r(0x1fc)]();this[r(0x1dd)][r(0x1ee)](g,async()=>{const s=r;typeof g[s(0x1f1)][s(0x203)]===s(0x20e)&&(g['template']['test']=g[s(0x1f1)][s(0x203)]===s(0x214)?!![]:![],this['fsi'][s(0x209)]('test',g[s(0x1f1)][s(0x203)]));typeof g['template'][s(0x1ff)]===s(0x20e)&&(g[s(0x1f1)][s(0x1ff)]=g[s(0x1f1)][s(0x1ff)]==='true'?!![]:![],this[s(0x1dd)][s(0x209)](s(0x1ff),g['template'][s(0x1ff)]));typeof g[s(0x1f1)]['js']===s(0x20e)&&(g[s(0x1f1)]['js']=g[s(0x1f1)]['js']===s(0x214)?!![]:![],this['fsi'][s(0x209)]('js',g[s(0x1f1)]['js']));!g['features']&&(g[s(0x1f3)]={});!b[s(0x1fd)]&&!this['fsi'][s(0x1e7)](s(0x215))&&(Log['warn']('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),await this[s(0x1dd)][s(0x1ea)](s(0x215),{'cwd':c}));if(!b['root']&&!this[s(0x1dd)][s(0x1e7)]('react')){Log[s(0x213)]('This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator');return;}const h={'name':pascalCase(b['resourceName']),'myPath':a58e[s(0x208)](this[s(0x1dd)][s(0x1fe)]({}),f),'cssCaseName':paramCase(b[s(0x1f7)]),'className':pascalCase(b[s(0x1f7)]),'camelCaseName':camelCase(b[s(0x1f7)]),'fileName':paramCase(b[s(0x1f7)]),'graphql':g['engines']['graphql'],'features':g[s(0x1f3)],'client':g[s(0x1e9)]['client'],'api':g[s(0x1e9)][s(0x1db)],'ssr':g[s(0x1e9)][s(0x1e4)],'test':g['engines'][s(0x203)],'theme':g['engines'][s(0x211)],'isLayout':![],'isComponent':!![],'withTranslations':g[s(0x1f3)]['withTranslations']};this[s(0x1dd)][s(0x1f1)]({'srcPath':'component/component.js','destPath':f+s(0x20b),'context':h,'framework':s(0x1ef),'config':g});g[s(0x1e9)][s(0x203)]!=='none'&&this[s(0x1dd)][s(0x1f1)]({'srcPath':s(0x1d9),'destPath':f+'.tests.js','context':h,'framework':s(0x1ef),'config':g});g[s(0x1f1)][s(0x1ff)]&&(this[s(0x1dd)][s(0x1f1)]({'srcPath':s(0x1e5),'destPath':f+s(0x1e1),'context':Object[s(0x1f8)]({},h,{'className':paramCase(b[s(0x1f7)])}),'config':g}),this['fsi']['injectAtBeginningOfFile']({'filePath':f+'.'+g[s(0x1e9)]['js'],'content':s(0x1f9)+h[s(0x210)]+'.'+g[s(0x1e9)]['css']+'\x27;'}));const i=b[s(0x205)]?'/'+b['dir']+'/':'/',j=''+d+i+h[s(0x1d7)]+'/'+h['fileName'];let k;if(g[s(0x1e9)][s(0x1e4)]===s(0x214)){const l=this[s(0x1dd)][s(0x1da)]({'pathParts':[s(0x1eb),s(0x218),s(0x1f5),s(0x1e2)]});k=this[s(0x1dd)][s(0x20d)]({'pathParts':[l],'config':g});}else{const m=this[s(0x1dd)]['pathFromApp']({'pathParts':[s(0x1eb),'startup','client','templates.js']});k=this[s(0x1dd)][s(0x20d)]({'pathParts':[m],'config':g});}g[s(0x1e9)]['client']==='react'||g[s(0x1e9)]['client']===s(0x202)?(g['engines']['js']===s(0x1de)?this[s(0x1dd)][s(0x1d8)]({'filePath':k,'content':s(0x20f)+h[s(0x1e0)]+'\x20}\x20from\x20\x27'+j+s(0x1e8)}):this[s(0x1dd)][s(0x1d8)]({'filePath':k,'content':s(0x20f)+h[s(0x1e0)]+s(0x212)+j+'.'+g[s(0x1e9)]['js']+'\x27;\x0a'}),this[s(0x1dd)][s(0x1ec)]({'filePath':k,'content':s(0x1f0)+h[s(0x1e0)]+s(0x1f2)})):this[s(0x1dd)]['injectAtEndOfFile']({'filePath':k,'content':s(0x1fb)+j+'.'+g[s(0x1e9)]['js']+'\x27;\x0a'});});}catch(h){Log[r(0x213)](h);}});
@@ -1 +1 @@
1
- const a59k=a59d;(function(a,b){const h=a59d,c=a();while(!![]){try{const d=parseInt(h(0x1cf))/0x1*(parseInt(h(0x1d0))/0x2)+-parseInt(h(0x1d1))/0x3+-parseInt(h(0x1e4))/0x4*(-parseInt(h(0x1e0))/0x5)+-parseInt(h(0x1e7))/0x6*(-parseInt(h(0x1cc))/0x7)+parseInt(h(0x1c9))/0x8*(parseInt(h(0x1d3))/0x9)+parseInt(h(0x1d4))/0xa*(parseInt(h(0x1e3))/0xb)+-parseInt(h(0x1de))/0xc*(parseInt(h(0x1dd))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0xe973b));const a59b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a59d;if(c){const e=c[i(0x1e8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a59a=a59b(this,function(){const j=a59d;return a59a[j(0x1dc)]()[j(0x1ce)](j(0x1d6))[j(0x1dc)]()[j(0x1e6)](a59a)[j(0x1ce)](j(0x1d6));});function a59c(){const n=['11BgBlzT','8508AqcXnu','prod','constructor','402DvUawO','apply','231464Ctmzcw','template','isDocker','74893AbZEDE','config','search','31442ZVVPuU','100EhPUoX','4877664hmXwWK','pathFromProject','342oBRkWK','16000610ywUpcS','getProjectConfig','(((.+)+)+)+$','create','config/settings.json','process.env','production','settings.json','toString','581633vLhbUG','804vkPvbc','resourceName','1390mWffxP','fsi','appName'];a59c=function(){return n;};return a59c();}function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0x1c9;let f=c[d];return f;},a59d(a,b);}a59a();import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a59k(0x1d7)]({'name':a59k(0x1cd),'usage':'maka\x20{generate,\x20g}:{config}\x20<name>','shortDesc':'Generate\x20configuration\x20settings.','validOpts':[a59k(0x1cb)],'examples':['maka\x20g:config\x20production']},function(a,b){const l=a59k,c=this[l(0x1e1)][l(0x1d5)]();this['fsi']['withValue'](c,async()=>{const m=l,d={'app':c[m(0x1e2)],'appFileCase':paramCase(c[m(0x1e2)]),'name':pascalCase(b[m(0x1df)]),'fileName':paramCase(b[m(0x1df)]),'camelCase':camelCase(b['resourceName']),'userName':'ubuntu','isDocker':b['isDocker']};let e=a[0x0];if(e==='dev')e='development';else e===m(0x1e5)&&(e=m(0x1da));const f=this[m(0x1e1)][m(0x1d2)]({'pathParts':[m(0x1cd),e,m(0x1db)]});this[m(0x1e1)][m(0x1ca)]({'srcPath':m(0x1d8),'destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this[m(0x1e1)][m(0x1d2)]({'pathParts':[m(0x1cd),e,m(0x1d9)]});this['fsi'][m(0x1ca)]({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});
1
+ function a59c(){const n=['config/settings.json','development','fsi','5820388jYcmAH','isDocker','(((.+)+)+)+$','3225304uOyUcW','template','pathFromProject','Generate\x20configuration\x20settings.','7166268ixzNZD','10aYyLhC','4483248eyDFyE','dev','create','toString','maka\x20{generate,\x20g}:{config}\x20<name>','apply','ubuntu','3015534HjKnJi','maka\x20g:config\x20production','8xIFfcK','23820804CTesYl','constructor','resourceName','prod','config','467615gOeeFv','search','appName'];a59c=function(){return n;};return a59c();}const a59k=a59d;(function(a,b){const h=a59d,c=a();while(!![]){try{const d=parseInt(h(0xaa))/0x1+parseInt(h(0xb3))/0x2+parseInt(h(0xb9))/0x3+-parseInt(h(0xb7))/0x4+-parseInt(h(0xb8))/0x5*(-parseInt(h(0xc0))/0x6)+-parseInt(h(0xb0))/0x7*(-parseInt(h(0xc2))/0x8)+-parseInt(h(0xc3))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a59c,0xed8de));const a59b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a59d;if(c){const e=c[i(0xbe)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a59a=a59b(this,function(){const j=a59d;return a59a[j(0xbc)]()['search'](j(0xb2))[j(0xbc)]()[j(0xc4)](a59a)[j(0xab)](j(0xb2));});a59a();import{Generator}from'../generator.js';function a59d(a,b){const c=a59c();return a59d=function(d,e){d=d-0xa9;let f=c[d];return f;},a59d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a59k(0xbb)]({'name':a59k(0xa9),'usage':a59k(0xbd),'shortDesc':a59k(0xb6),'validOpts':['isDocker'],'examples':[a59k(0xc1)]},function(a,b){const l=a59k,c=this[l(0xaf)]['getProjectConfig']();this[l(0xaf)]['withValue'](c,async()=>{const m=l,d={'app':c[m(0xac)],'appFileCase':paramCase(c[m(0xac)]),'name':pascalCase(b[m(0xc5)]),'fileName':paramCase(b[m(0xc5)]),'camelCase':camelCase(b[m(0xc5)]),'userName':m(0xbf),'isDocker':b[m(0xb1)]};let e=a[0x0];if(e===m(0xba))e=m(0xae);else e===m(0xc6)&&(e='production');const f=this['fsi']['pathFromProject']({'pathParts':[m(0xa9),e,'settings.json']});this[m(0xaf)][m(0xb4)]({'srcPath':m(0xad),'destPath':f,'context':d,'config':c});if(!b['isDocker']){const g=this['fsi'][m(0xb5)]({'pathParts':[m(0xa9),e,'process.env']});this[m(0xaf)][m(0xb4)]({'srcPath':'config/process.env','destPath':g,'context':d,'config':c});}});});
@@ -1 +1 @@
1
- const a60p=a60d;(function(a,b){const n=a60d,c=a();while(!![]){try{const d=-parseInt(n(0x21a))/0x1+-parseInt(n(0x20c))/0x2*(-parseInt(n(0x218))/0x3)+parseInt(n(0x21c))/0x4+-parseInt(n(0x21f))/0x5+-parseInt(n(0x21b))/0x6+-parseInt(n(0x20d))/0x7*(-parseInt(n(0x228))/0x8)+-parseInt(n(0x1f3))/0x9*(-parseInt(n(0x1fa))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0x62c89));const a60b=(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;};}()),a60a=a60b(this,function(){const o=a60d;return a60a['toString']()[o(0x214)](o(0x220))[o(0x210)]()[o(0x215)](a60a)['search'](o(0x220));});function a60c(){const s=['withValue','installNpmPackage','toString','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','index.','imports','search','constructor','config.','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','438oOlRWT','create','282604XMkNdl','830712vbWRsU','74904ilYLLm','maka\x20g:dbc\x20geoserver\x20--type=pgsql','startup','1698425owzDJV','(((.+)+)+)+$','import\x20\x27./register-','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','dir','checkNpmPackage','resourceName','Invalid\x20type\x20','template','1184mxQKki','pgsql','getProjectConfig','dbAnswer','better-sqlite3','mssql','pathFromApp','sqlite','1414386FFLpwI','dbc/register-dbc.js','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','maka\x20g:dbc\x20todos\x20--type=sqlite','DB\x20Driver','MS\x20SQL','injectAtEndOfFile','30wZcBCP','(blank)','-dbc.','warn','PostgreSQL','fsi','tsx','engines','options','server','type','dbc/config.js','indexOf','dbc',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','-dbc\x27;','conn.','error','1042RZXlhB','28336DCoNRq'];a60c=function(){return s;};return a60c();}a60a();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 a60d(a,b){const c=a60c();return a60d=function(d,e){d=d-0x1f1;let f=c[d];return f;},a60d(a,b);}Generator[a60p(0x219)]({'name':a60p(0x207),'usage':a60p(0x211),'shortDesc':a60p(0x217),'validOpts':['type',a60p(0x223)],'examples':[a60p(0x21d),'maka\x20g:dbc\x20azure\x20--type=mssql',a60p(0x1f6)]},async function(a,b){const q=a60p;try{const c=await this[q(0x1ff)][q(0x22a)](),d=this[q(0x1ff)][q(0x1f1)]({}),f=paramCase(b['resourceName']);if(!b['type']){const h={'type':'list','name':q(0x22b),'message':q(0x1f7),'choices':[{'name':q(0x1fe),'value':q(0x229)},{'name':q(0x1f8),'value':'mssql'}]},{dbAnswer:i}=await Actions[q(0x202)](h);i&&(b['type']=i);}const g={'name':pascalCase(b[q(0x225)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[q(0x225)]),'type':b['type'],'engine':c[q(0x201)]['js'],'noRename':!![]};this[q(0x1ff)][q(0x20e)](c,async()=>{const r=q;let j='js';c[r(0x201)]['js']===r(0x200)&&(j='ts');const k=[r(0x22d),'pgsql'];if(k[r(0x206)](g[r(0x204)])<0x0){const m=g[r(0x204)]?g[r(0x204)]:r(0x1fb);Log[r(0x20b)](r(0x226)+m+r(0x208));return;}b[r(0x204)]===r(0x229)&&!this[r(0x1ff)][r(0x224)]('pg')&&(Log['warn'](r(0x222)),await this['fsi']['installNpmPackage']('pg',{'cwd':d}));b['type']==='mssql'&&!this[r(0x1ff)][r(0x224)](r(0x22d))&&(Log['warn']('Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...'),await this[r(0x1ff)][r(0x20f)]('mssql',{'cwd':d}));b[r(0x204)]===r(0x1f2)&&!this[r(0x1ff)][r(0x224)](r(0x22c))&&(Log[r(0x1fd)](r(0x1f5)),await this[r(0x1ff)]['installNpmPackage'](r(0x22c),{'cwd':d}));this[r(0x1ff)]['template']({'srcPath':r(0x205),'destPath':this[r(0x1ff)]['pathFromApp']({'pathParts':[r(0x213),r(0x21e),r(0x203),'dbc',b[r(0x223)],f,r(0x216)+j]}),'context':g,'config':c}),this['fsi'][r(0x227)]({'srcPath':'dbc/conn.js','destPath':this['fsi']['pathFromApp']({'pathParts':[r(0x213),r(0x21e),r(0x203),r(0x207),b[r(0x223)],f,r(0x20a)+j]}),'context':g,'config':c}),this[r(0x1ff)][r(0x227)]({'srcPath':r(0x1f4),'destPath':this[r(0x1ff)][r(0x1f1)]({'pathParts':[r(0x213),'startup',r(0x203),'register-'+f+r(0x1fc)+j]}),'context':g,'config':c});const l=this[r(0x1ff)][r(0x1f1)]({'pathParts':[r(0x213),r(0x21e),'server',r(0x212)+c[r(0x201)]['js']]});this[r(0x1ff)][r(0x1f9)]({'filePath':l,'content':r(0x221)+f+r(0x209)});});}catch(j){Log[q(0x20b)](j);}});
1
+ const a60q=a60d;(function(a,b){const n=a60d,c=a();while(!![]){try{const d=parseInt(n(0x1e1))/0x1*(-parseInt(n(0x1c4))/0x2)+parseInt(n(0x1bb))/0x3+parseInt(n(0x1e2))/0x4+-parseInt(n(0x1af))/0x5+parseInt(n(0x1d4))/0x6+parseInt(n(0x1b3))/0x7*(-parseInt(n(0x1de))/0x8)+-parseInt(n(0x1d1))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a60c,0x625c4));const a60b=(function(){let a=!![];return function(b,c){const d=a?function(){const o=a60d;if(c){const e=c[o(0x1c8)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a60a=a60b(this,function(){const p=a60d;return a60a['toString']()[p(0x1cb)](p(0x1ba))['toString']()['constructor'](a60a)[p(0x1cb)]('(((.+)+)+)+$');});a60a();function a60c(){const t=['apply','sqlite',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','search','resourceName','withValue','-dbc.','warn','injectAtEndOfFile','1661526QUeHJu','fsi','config.','2144118DJcsTV','mssql','maka\x20g:dbc\x20geoserver\x20--type=pgsql','error','Scaffolding\x20for\x20creating\x20a\x20for\x20a\x20database\x20connection.','(blank)','dir','Npm\x20package\x20\x22pg\x22\x20not\x20installed,\x20installing...','type','tsx','32vxYtNN','PostgreSQL','dbc/conn.js','170LqsfVy','2580568CfxUqn','template','3878165yBUsmf','dbc','server','better-sqlite3','35987ztQfmQ','maka\x20{generate,\x20g}:{dbc}\x20<connection-name>','list','imports','startup','installNpmPackage','Invalid\x20type\x20','(((.+)+)+)+$','2377800tfHwaT','pgsql','dbAnswer','checkNpmPackage','-dbc\x27;','engines','import\x20\x27./register-','Npm\x20package\x20\x22better-sqlite3\x22\x20not\x20installed,\x20installing...','MS\x20SQL','4840OdgIaY','DB\x20Driver','options','pathFromApp'];a60c=function(){return t;};return a60c();}import{camelCase,paramCase,pascalCase}from'change-case';function a60d(a,b){const c=a60c();return a60d=function(d,e){d=d-0x1af;let f=c[d];return f;},a60d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{Actions}from'../tools/actions/actions.class.js';Generator['create']({'name':a60q(0x1b0),'usage':a60q(0x1b4),'shortDesc':a60q(0x1d8),'validOpts':[a60q(0x1dc),'dir'],'examples':[a60q(0x1d6),'maka\x20g:dbc\x20azure\x20--type=mssql','maka\x20g:dbc\x20todos\x20--type=sqlite']},async function(a,b){const r=a60q;try{const c=await this[r(0x1d2)]['getProjectConfig'](),d=this[r(0x1d2)][r(0x1c7)]({}),f=paramCase(b[r(0x1cc)]);if(!b['type']){const h={'type':r(0x1b5),'name':r(0x1bd),'message':r(0x1c5),'choices':[{'name':r(0x1df),'value':r(0x1bc)},{'name':r(0x1c3),'value':'mssql'}]},{dbAnswer:i}=await Actions[r(0x1c6)](h);i&&(b[r(0x1dc)]=i);}const g={'name':pascalCase(b['resourceName']),'fileName':paramCase(b[r(0x1cc)]),'camelCase':camelCase(b[r(0x1cc)]),'type':b[r(0x1dc)],'engine':c[r(0x1c0)]['js'],'noRename':!![]};this[r(0x1d2)][r(0x1cd)](c,async()=>{const s=r;let j='js';c[s(0x1c0)]['js']===s(0x1dd)&&(j='ts');const k=[s(0x1d5),s(0x1bc)];if(k['indexOf'](g[s(0x1dc)])<0x0){const m=g[s(0x1dc)]?g[s(0x1dc)]:s(0x1d9);Log[s(0x1d7)](s(0x1b9)+m+s(0x1ca));return;}b['type']===s(0x1bc)&&!this[s(0x1d2)][s(0x1be)]('pg')&&(Log[s(0x1cf)](s(0x1db)),await this[s(0x1d2)]['installNpmPackage']('pg',{'cwd':d}));b[s(0x1dc)]===s(0x1d5)&&!this[s(0x1d2)]['checkNpmPackage']('mssql')&&(Log[s(0x1cf)]('Npm\x20package\x20\x22mssql\x22\x20not\x20installed,\x20installing...'),await this['fsi'][s(0x1b8)](s(0x1d5),{'cwd':d}));b[s(0x1dc)]===s(0x1c9)&&!this[s(0x1d2)][s(0x1be)]('better-sqlite3')&&(Log[s(0x1cf)](s(0x1c2)),await this['fsi'][s(0x1b8)](s(0x1b2),{'cwd':d}));this[s(0x1d2)]['template']({'srcPath':'dbc/config.js','destPath':this['fsi'][s(0x1c7)]({'pathParts':[s(0x1b6),'startup',s(0x1b1),s(0x1b0),b[s(0x1da)],f,s(0x1d3)+j]}),'context':g,'config':c}),this['fsi'][s(0x1e3)]({'srcPath':s(0x1e0),'destPath':this['fsi']['pathFromApp']({'pathParts':[s(0x1b6),'startup',s(0x1b1),s(0x1b0),b['dir'],f,'conn.'+j]}),'context':g,'config':c}),this[s(0x1d2)][s(0x1e3)]({'srcPath':'dbc/register-dbc.js','destPath':this[s(0x1d2)][s(0x1c7)]({'pathParts':['imports','startup',s(0x1b1),'register-'+f+s(0x1ce)+j]}),'context':g,'config':c});const l=this[s(0x1d2)]['pathFromApp']({'pathParts':[s(0x1b6),s(0x1b7),s(0x1b1),'index.'+c[s(0x1c0)]['js']]});this['fsi'][s(0x1d0)]({'filePath':l,'content':s(0x1c1)+f+s(0x1bf)});});}catch(j){Log[r(0x1d7)](j);}});
@@ -1 +1 @@
1
- const a61i=a61d;(function(a,b){const f=a61d,c=a();while(!![]){try{const d=-parseInt(f(0xbe))/0x1*(-parseInt(f(0xd4))/0x2)+parseInt(f(0xc1))/0x3*(-parseInt(f(0xba))/0x4)+parseInt(f(0xcd))/0x5*(-parseInt(f(0xbf))/0x6)+-parseInt(f(0xd1))/0x7*(-parseInt(f(0xdc))/0x8)+-parseInt(f(0xca))/0x9*(-parseInt(f(0xd3))/0xa)+parseInt(f(0xdb))/0xb*(-parseInt(f(0xc9))/0xc)+parseInt(f(0xc0))/0xd;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0x2cba2));function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0xba;let f=c[d];return f;},a61d(a,b);}const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a61d;if(c){const e=c[g(0xbc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const h=a61d;return a61a[h(0xc6)]()[h(0xd5)](h(0xd2))[h(0xc6)]()[h(0xbd)](a61a)[h(0xd5)]('(((.+)+)+)+$');});a61a();function a61c(){const l=['99564xeGOGE','join','apply','constructor','21001fAlgus','1005234cHBbzY','2852057LaJSQX','27noSmVK','Dockerfile','fsi','service','findProjectDirectory','toString','template','create','238956fMNHEt','147816pAPObv','docker/Dockerfile','isFile','5ZumirW','error','maka\x20{generate,\x20g}:dockerfile','getProjectConfig','7mTHruU','(((.+)+)+)+$','10IlSLnS','2wXzUel','search','cert','Generate\x20an\x20updated\x20dockerfile','dockerfile','build','appName','22FGJaGY','2862176qyWvKr','app.tar.gz','maka\x20g:dockerfile'];a61c=function(){return l;};return a61c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a61e from'path';Generator[a61i(0xc8)]({'name':a61i(0xd8),'usage':a61i(0xcf),'shortDesc':a61i(0xd7),'validOpts':[],'noResource':!![],'examples':[a61i(0xde)]},async function(){const j=a61i;try{const a=await this[j(0xc3)][j(0xd0)](),b=await this['fsi']['getGlobalConfig'](),c=this[j(0xc3)][j(0xc5)]();this[j(0xc3)]['withValue'](a,async()=>{const k=j,d={'app':b[k(0xda)],'config':a,'appPath':a61e['join'](c,'app'),'bundlePath':a61e[k(0xbb)](c,k(0xd9),k(0xdd)),'useCert':this[k(0xc3)][k(0xcc)](b[k(0xd6)])};this[k(0xc3)][k(0xc7)]({'srcPath':k(0xcb),'destPath':a61e[k(0xbb)](c,k(0xc2)),'framework':k(0xc4),'context':d,'config':a});});}catch(d){Log[j(0xce)](d);}});
1
+ function a61c(){const l=['Generate\x20an\x20updated\x20dockerfile','getGlobalConfig','findProjectDirectory','3575230dLCLIy','apply','(((.+)+)+)+$','toString','7IeqLQC','5263137egoCVV','search','template','3044432LTQjqF','cert','104403CpTVoJ','create','fsi','app.tar.gz','482176PzMpSo','join','dockerfile','maka\x20{generate,\x20g}:dockerfile','22ydYxoe','build','maka\x20g:dockerfile','app','2580066bqGeCE','313648qwqKcV','getProjectConfig'];a61c=function(){return l;};return a61c();}const a61i=a61d;function a61d(a,b){const c=a61c();return a61d=function(d,e){d=d-0xf7;let f=c[d];return f;},a61d(a,b);}(function(a,b){const f=a61d,c=a();while(!![]){try{const d=parseInt(f(0x108))/0x1+parseInt(f(0x10c))/0x2*(parseInt(f(0x104))/0x3)+-parseInt(f(0x102))/0x4+-parseInt(f(0xfa))/0x5+-parseInt(f(0x110))/0x6*(-parseInt(f(0xfe))/0x7)+parseInt(f(0x111))/0x8+parseInt(f(0xff))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a61c,0x6c1db));const a61b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a61d;if(c){const e=c[g(0xfb)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a61a=a61b(this,function(){const h=a61d;return a61a['toString']()[h(0x100)]('(((.+)+)+)+$')[h(0xfd)]()['constructor'](a61a)[h(0x100)](h(0xfc));});a61a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a61e from'path';Generator[a61i(0x105)]({'name':a61i(0x10a),'usage':a61i(0x10b),'shortDesc':a61i(0xf7),'validOpts':[],'noResource':!![],'examples':[a61i(0x10e)]},async function(){const j=a61i;try{const a=await this[j(0x106)][j(0x112)](),b=await this['fsi'][j(0xf8)](),c=this[j(0x106)][j(0xf9)]();this[j(0x106)]['withValue'](a,async()=>{const k=j,d={'app':b['appName'],'config':a,'appPath':a61e[k(0x109)](c,k(0x10f)),'bundlePath':a61e[k(0x109)](c,k(0x10d),k(0x107)),'useCert':this[k(0x106)]['isFile'](b[k(0x103)])};this[k(0x106)][k(0x101)]({'srcPath':'docker/Dockerfile','destPath':a61e[k(0x109)](c,'Dockerfile'),'framework':'service','context':d,'config':a});});}catch(d){Log['error'](d);}});
@@ -1 +1 @@
1
- const a62r=a62d;(function(a,b){const o=a62d,c=a();while(!![]){try{const d=-parseInt(o(0x1ba))/0x1*(parseInt(o(0x19e))/0x2)+-parseInt(o(0x1b9))/0x3*(parseInt(o(0x1ac))/0x4)+-parseInt(o(0x195))/0x5+parseInt(o(0x1af))/0x6*(parseInt(o(0x1b2))/0x7)+-parseInt(o(0x17e))/0x8+parseInt(o(0x1bc))/0x9*(-parseInt(o(0x1a9))/0xa)+parseInt(o(0x1b4))/0xb*(parseInt(o(0x180))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0x2a761));const a62b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a62d;if(c){const e=c[p(0x189)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a62a=a62b(this,function(){const q=a62d;return a62a[q(0x194)]()['search'](q(0x1b7))[q(0x194)]()[q(0x1ad)](a62a)[q(0x1bb)](q(0x1b7));});a62a();import a62e 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';function a62d(a,b){const c=a62c();return a62d=function(d,e){d=d-0x17b;let f=c[d];return f;},a62d(a,b);}Generator[a62r(0x186)]({'name':a62r(0x1ae),'aliases':['h'],'checkWhere':![],'usage':'maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','shortDesc':a62r(0x17b),'validOpts':[a62r(0x184)],'examples':[a62r(0x1a3)]},async function(a,b){const s=a62r;try{const c=this[s(0x181)][s(0x1a5)](s(0x187));if(!c){Log[s(0x19b)](s(0x1a0));throw new UsageError();}const d=this[s(0x181)][s(0x1bd)](b),f='/imports/ui/hooks',g=this[s(0x181)][s(0x1bd)]({'pathParts':[f,b[s(0x184)],paramCase(b[s(0x19a)]),paramCase(b[s(0x19a)])]}),h=await this['fsi'][s(0x17d)]();this['fsi'][s(0x18a)](h,async()=>{const t=s;typeof h['template'][t(0x185)]==='string'&&(h['template'][t(0x185)]=h['template'][t(0x185)]===t(0x1b5)?!![]:![],this[t(0x181)][t(0x1a7)]('css',h[t(0x18d)]['css']));h[t(0x1be)][t(0x1a4)]==='apollo'&&!this[t(0x1a5)](t(0x191))&&(Log[t(0x1a6)](t(0x18c)),await this[t(0x181)][t(0x19c)]('@apollo/client\x20isomorphic-fetch',{'cwd':d}));const i={'cssCaseName':paramCase(b[t(0x19a)]),'className':pascalCase(b['resourceName']),'name':pascalCase(b[t(0x19a)]),'graphql':h[t(0x1be)][t(0x1a4)],'theme':h[t(0x1be)]['theme'],'features':h[t(0x199)],'myPath':a62e[t(0x190)](this[t(0x181)]['pathFromProject']({}),g),'fileName':paramCase(b[t(0x19a)]),'isComponent':![],'isLayout':![],'withTranslations':h[t(0x199)][t(0x1a1)]};this[t(0x181)]['template']({'srcPath':t(0x196),'destPath':g+t(0x1b1),'context':i,'config':h,'framework':'react'});h[t(0x18d)][t(0x185)]&&(this[t(0x181)][t(0x18d)]({'srcPath':t(0x19f),'destPath':g+'.css','context':Object['assign']({},i,{'className':i[t(0x17f)]}),'config':h}),this[t(0x181)][t(0x197)]({'filePath':g+'.'+h[t(0x1be)]['js'],'content':'import\x20\x27./'+i[t(0x1ab)]+'.'+h[t(0x1be)][t(0x185)]+'\x27;'}));h[t(0x1be)][t(0x1a8)]!==t(0x18e)&&this['fsi'][t(0x18d)]({'srcPath':'test/test.js','destPath':g+t(0x19d),'framework':t(0x187),'context':i,'config':h});const j=b[t(0x184)]?'/'+b[t(0x184)]+'/':'/',k=''+f+j+i['fileName']+'/'+i[t(0x1ab)];let l;if(h['engines'][t(0x18b)]===t(0x1b5)){const m=this[t(0x181)][t(0x1bd)]({'pathParts':[t(0x18f),t(0x17c),'lib',t(0x1a2)]});l=this['fsi'][t(0x188)]({'pathParts':[m],'config':h});}else{const n=this['fsi'][t(0x1bd)]({'pathParts':[t(0x18f),'startup',t(0x192),t(0x1a2)]});l=this['fsi'][t(0x188)]({'pathParts':[n],'config':h});}h[t(0x1be)][t(0x192)]===t(0x187)?(h[t(0x1be)]['js']===t(0x1b3)?this['fsi'][t(0x197)]({'filePath':l,'content':t(0x1b0)+i['className']+t(0x1aa)+k+'\x27;\x0a'}):this['fsi'][t(0x197)]({'filePath':l,'content':t(0x1b0)+i[t(0x183)]+t(0x1aa)+k+'.'+h[t(0x1be)]['js']+'\x27;\x0a'}),this[t(0x181)][t(0x193)]({'filePath':l,'content':t(0x182)+i[t(0x183)]+t(0x1b6)})):this[t(0x181)][t(0x193)]({'filePath':l,'content':t(0x1b8)+k+'.'+h[t(0x1be)]['js']+t(0x198)});});}catch(i){Log[s(0x19b)](i);}});function a62c(){const u=['export\x20{\x20','className','dir','css','create','react','rewriteDestinationPathForEngine','apply','withValue','ssr','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','template','none','imports','relative','@apollo/client','client','injectAtEndOfFile','toString','1663360CQRvRO','hook/hook.js','injectAtBeginningOfFile','\x27;\x0a','features','resourceName','error','installNpmPackage','.app-tests.js','2IKHstu','template/template.css','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','withTranslations','templates.js','maka\x20g:hook\x20cool-hook','graphql','checkNpmPackage','warn','setTemplate','test','10PDlyjW','\x20}\x20from\x20\x27','fileName','3188IIRbkL','constructor','hook','222EXcNGX','import\x20{\x20','.js','25263xRIhej','tsx','35519vbDigB','true','\x20};\x0a','(((.+)+)+)+$','import\x20\x27','501nTYKRk','106200mhciuH','search','180909JDjZRb','pathFromApp','engines','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','startup','getProjectConfig','1940792RCBqmP','cssCaseName','3252neFkTr','fsi'];a62c=function(){return u;};return a62c();}
1
+ const a62r=a62d;(function(a,b){const o=a62d,c=a();while(!![]){try{const d=-parseInt(o(0xe8))/0x1*(-parseInt(o(0xe4))/0x2)+-parseInt(o(0xd2))/0x3*(-parseInt(o(0xb9))/0x4)+-parseInt(o(0xf6))/0x5+parseInt(o(0xcb))/0x6+parseInt(o(0xc5))/0x7*(-parseInt(o(0xe7))/0x8)+parseInt(o(0xbc))/0x9+parseInt(o(0xb6))/0xa*(-parseInt(o(0xd1))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a62c,0xc566b));const a62b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a62d;if(c){const e=c[p(0xcf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a62a=a62b(this,function(){const q=a62d;return a62a[q(0xc6)]()[q(0xbd)](q(0xba))['toString']()['constructor'](a62a)[q(0xbd)]('(((.+)+)+)+$');});a62a();import a62e from'path';function a62d(a,b){const c=a62c();return a62d=function(d,e){d=d-0xb6;let f=c[d];return f;},a62d(a,b);}import{paramCase,pascalCase}from'change-case';import{Generator}from'../generator.js';function a62c(){const u=['4LNaSgn','(((.+)+)+)+$','withValue','1602603uCXtJZ','search','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','.app-tests.js','client','@apollo/client\x20isomorphic-fetch','test','dir','css','763TCDOWc','toString','engines','\x27;\x0a','template/template.css','Generate\x20a\x20React\x20hook.\x0ahttps://reactjs.org/docs/hooks-intro.html','4069002ThiEAH','import\x20\x27','.css','\x20};\x0a','apply','maka\x20{generate|\x20g}:{hook\x20|\x20h}\x20[path/]<name>','484nxDaaR','1217397LfALmV','checkNpmPackage','className','template','startup','/imports/ui/hooks','cssCaseName','injectAtBeginningOfFile','apollo','string','error','import\x20{\x20','rewriteDestinationPathForEngine','fileName','none','true','ssr','theme','995312QBAqbD','imports','maka\x20g:hook\x20cool-hook','15936bdZTJZ','1DVbgtd','getProjectConfig','assign','injectAtEndOfFile','create','lib','templates.js','fsi','.js','react','graphql','pathFromApp','relative','import\x20\x27./','649210mDaVbK','137310TjmEmY','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','resourceName'];a62c=function(){return u;};return a62c();}import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';Generator[a62r(0xec)]({'name':'hook','aliases':['h'],'checkWhere':![],'usage':a62r(0xd0),'shortDesc':a62r(0xca),'validOpts':[a62r(0xc3)],'examples':[a62r(0xe6)]},async function(a,b){const s=a62r;try{const c=this[s(0xef)][s(0xd3)](s(0xf1));if(!c){Log[s(0xdc)](s(0xb7));throw new UsageError();}const d=this[s(0xef)]['pathFromApp'](b),f=s(0xd7),g=this['fsi'][s(0xf3)]({'pathParts':[f,b[s(0xc3)],paramCase(b[s(0xb8)]),paramCase(b[s(0xb8)])]}),h=await this[s(0xef)][s(0xe9)]();this[s(0xef)][s(0xbb)](h,async()=>{const t=s;typeof h[t(0xd5)][t(0xc4)]===t(0xdb)&&(h[t(0xd5)]['css']=h[t(0xd5)]['css']===t(0xe1)?!![]:![],this[t(0xef)]['setTemplate'](t(0xc4),h[t(0xd5)][t(0xc4)]));h[t(0xc7)][t(0xf2)]===t(0xda)&&!this['checkNpmPackage']('@apollo/client')&&(Log['warn'](t(0xbe)),await this[t(0xef)]['installNpmPackage'](t(0xc1),{'cwd':d}));const i={'cssCaseName':paramCase(b[t(0xb8)]),'className':pascalCase(b[t(0xb8)]),'name':pascalCase(b[t(0xb8)]),'graphql':h[t(0xc7)]['graphql'],'theme':h['engines'][t(0xe3)],'features':h['features'],'myPath':a62e[t(0xf4)](this[t(0xef)]['pathFromProject']({}),g),'fileName':paramCase(b[t(0xb8)]),'isComponent':![],'isLayout':![],'withTranslations':h['features']['withTranslations']};this[t(0xef)][t(0xd5)]({'srcPath':'hook/hook.js','destPath':g+t(0xf0),'context':i,'config':h,'framework':'react'});h[t(0xd5)][t(0xc4)]&&(this[t(0xef)][t(0xd5)]({'srcPath':t(0xc9),'destPath':g+t(0xcd),'context':Object[t(0xea)]({},i,{'className':i[t(0xd8)]}),'config':h}),this[t(0xef)][t(0xd9)]({'filePath':g+'.'+h[t(0xc7)]['js'],'content':t(0xf5)+i[t(0xdf)]+'.'+h[t(0xc7)][t(0xc4)]+'\x27;'}));h['engines'][t(0xc2)]!==t(0xe0)&&this[t(0xef)][t(0xd5)]({'srcPath':'test/test.js','destPath':g+t(0xbf),'framework':t(0xf1),'context':i,'config':h});const j=b[t(0xc3)]?'/'+b[t(0xc3)]+'/':'/',k=''+f+j+i[t(0xdf)]+'/'+i[t(0xdf)];let l;if(h[t(0xc7)][t(0xe2)]===t(0xe1)){const m=this['fsi'][t(0xf3)]({'pathParts':[t(0xe5),t(0xd6),t(0xed),t(0xee)]});l=this[t(0xef)][t(0xde)]({'pathParts':[m],'config':h});}else{const n=this[t(0xef)][t(0xf3)]({'pathParts':['imports',t(0xd6),t(0xc0),t(0xee)]});l=this[t(0xef)]['rewriteDestinationPathForEngine']({'pathParts':[n],'config':h});}h[t(0xc7)][t(0xc0)]===t(0xf1)?(h['engines']['js']==='tsx'?this[t(0xef)][t(0xd9)]({'filePath':l,'content':t(0xdd)+i[t(0xd4)]+'\x20}\x20from\x20\x27'+k+t(0xc8)}):this[t(0xef)][t(0xd9)]({'filePath':l,'content':'import\x20{\x20'+i['className']+'\x20}\x20from\x20\x27'+k+'.'+h[t(0xc7)]['js']+t(0xc8)}),this[t(0xef)][t(0xeb)]({'filePath':l,'content':'export\x20{\x20'+i[t(0xd4)]+t(0xce)})):this[t(0xef)][t(0xeb)]({'filePath':l,'content':t(0xcc)+k+'.'+h[t(0xc7)]['js']+'\x27;\x0a'});});}catch(i){Log['error'](i);}});
@@ -1 +1 @@
1
- function a63d(a,b){const c=a63c();return a63d=function(d,e){d=d-0x78;let f=c[d];return f;},a63d(a,b);}const a63j=a63d;(function(a,b){const h=a63d,c=a();while(!![]){try{const d=parseInt(h(0x86))/0x1*(-parseInt(h(0x81))/0x2)+parseInt(h(0x78))/0x3+-parseInt(h(0x88))/0x4+-parseInt(h(0x7f))/0x5*(parseInt(h(0x91))/0x6)+-parseInt(h(0x92))/0x7+parseInt(h(0x7c))/0x8+parseInt(h(0x95))/0x9*(parseInt(h(0x8f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x45e04));const a63b=(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;};}()),a63a=a63b(this,function(){const i=a63d;return a63a[i(0x89)]()[i(0x79)](i(0x82))[i(0x89)]()['constructor'](a63a)['search'](i(0x82));});a63a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a63c(){const m=[',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','10448577wjoDrO','773811yqQwhI','search','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','maka\x20g:k\x20city-map\x20--type=leaflet-map','2661968UyeCDu','fsi','NIE','72125pjTzCP','login','24IMHVkI','(((.+)+)+)+$','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','error','type','28087uchQhe','create','1336660lJHwSA','toString','notice','leaflet-map','maka\x20g:kit\x20--type=map','resourceName','getProjectConfig','10fBrcLc','indexOf','228BrBVbE','1722455CwSxMP','(blank)'];a63c=function(){return m;};return a63c();}Generator[a63j(0x87)]({'name':'kit','aliases':['k'],'usage':a63j(0x83),'shortDesc':a63j(0x7a),'validOpts':[a63j(0x85)],'examples':[a63j(0x8c),a63j(0x7b)]},async function(a,b){const k=a63j;try{const c=this['fsi'][k(0x8e)]();this[k(0x7d)]['withValue'](c,async()=>{const l=k,d={'name':pascalCase(b[l(0x8d)]),'fileName':paramCase(b['resourceName']),'camelCase':camelCase(b[l(0x8d)]),'type':b[l(0x85)],'engine':c['engines']['js'],'noRename':!![]},f=[l(0x8b),l(0x80)];if(f[l(0x90)](d[l(0x85)])<0x0){const g=d[l(0x85)]?d['type']:l(0x93);Log[l(0x84)]('Invalid\x20type\x20'+g+l(0x94));return;}b[l(0x85)]==='map'&&Log[l(0x8a)](l(0x7e)),b['type']===l(0x80)&&Log[l(0x8a)](l(0x7e));});}catch(d){Log[k(0x84)](d);}});
1
+ const a63k=a63d;(function(a,b){const h=a63d,c=a();while(!![]){try{const d=-parseInt(h(0xea))/0x1*(parseInt(h(0xf2))/0x2)+parseInt(h(0xef))/0x3+parseInt(h(0xfa))/0x4*(parseInt(h(0xe7))/0x5)+parseInt(h(0xfd))/0x6+-parseInt(h(0xde))/0x7*(-parseInt(h(0xf1))/0x8)+parseInt(h(0xdf))/0x9+-parseInt(h(0xe8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a63c,0x69289));const a63b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a63d;if(c){const e=c[i(0xfc)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a63a=a63b(this,function(){const j=a63d;return a63a['toString']()[j(0xf6)](j(0xe2))[j(0xec)]()[j(0xee)](a63a)[j(0xf6)](j(0xe2));});a63a();function a63d(a,b){const c=a63c();return a63d=function(d,e){d=d-0xdc;let f=c[d];return f;},a63d(a,b);}function a63c(){const n=['constructor','2465331fzGxxD','withValue','8MOyNeu','82642WTXpOL','login','leaflet-map','notice','search','type',',\x20you\x20must\x20provide\x20a\x20valid\x20type\x20as\x20an\x20argument','NIE','456440dePyjk','Invalid\x20type\x20','apply','3388050TQItgt','indexOf','(Placeholder)\x20Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','2930221MeRVNd','4211883uxMtrt','error','maka\x20{generate,\x20g}:{kit}\x20<kit-name>','(((.+)+)+)+$','kit','getProjectConfig','resourceName','fsi','25sPZeBz','22475790qcrHfX','engines','4CesBpu','(blank)','toString','create'];a63c=function(){return n;};return a63c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator[a63k(0xed)]({'name':a63k(0xe3),'aliases':['k'],'usage':a63k(0xe1),'shortDesc':a63k(0xdd),'validOpts':[a63k(0xf7)],'examples':['maka\x20g:kit\x20--type=map','maka\x20g:k\x20city-map\x20--type=leaflet-map']},async function(a,b){const l=a63k;try{const c=this[l(0xe6)][l(0xe4)]();this['fsi'][l(0xf0)](c,async()=>{const m=l,d={'name':pascalCase(b['resourceName']),'fileName':paramCase(b[m(0xe5)]),'camelCase':camelCase(b['resourceName']),'type':b[m(0xf7)],'engine':c[m(0xe9)]['js'],'noRename':!![]},f=[m(0xf4),m(0xf3)];if(f[m(0xdc)](d[m(0xf7)])<0x0){const g=d[m(0xf7)]?d[m(0xf7)]:m(0xeb);Log[m(0xe0)](m(0xfb)+g+m(0xf8));return;}b['type']==='map'&&Log[m(0xf5)](m(0xf9)),b['type']===m(0xf3)&&Log['notice'](m(0xf9));});}catch(d){Log[l(0xe0)](d);}});
@@ -1 +1 @@
1
- const a64r=a64d;(function(a,b){const o=a64d,c=a();while(!![]){try{const d=-parseInt(o(0x14c))/0x1*(parseInt(o(0x163))/0x2)+parseInt(o(0x146))/0x3*(-parseInt(o(0x153))/0x4)+-parseInt(o(0x165))/0x5*(-parseInt(o(0x11e))/0x6)+parseInt(o(0x122))/0x7*(parseInt(o(0x14e))/0x8)+parseInt(o(0x128))/0x9*(-parseInt(o(0x132))/0xa)+-parseInt(o(0x15b))/0xb*(-parseInt(o(0x13b))/0xc)+parseInt(o(0x126))/0xd*(parseInt(o(0x11d))/0xe);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0x3f235));const a64b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a64d;if(c){const e=c[p(0x15d)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a64a=a64b(this,function(){const q=a64d;return a64a[q(0x134)]()[q(0x125)]('(((.+)+)+)+$')['toString']()[q(0x121)](a64a)['search'](q(0x11f));});function a64c(){const u=['graphql','search','429GhrTbT','withHook','9LTyoOK','component/component.js','css','.app-tests.js','tsx','create','className','relative','fsi','resourceName','2410130gxBiFW','imports','toString','Scaffolding\x20for\x20a\x20React\x20Layout.','withTranslations','setTemplate','api','\x20}\x20from\x20\x27','layout','12VqyHMU','features','string','injectAtEndOfFile','import\x20\x27./','/imports/ui/layouts','react','test','getProjectConfig','template','engines','549nJCgUJ','template/template.css','pathFromApp','none','maka\x20g:l\x20web/safari','true','17zgvdIi','pathFromProject','120HAGXDp','theme','templates.js','.js','export\x20{\x20','4268tmMAeB','ramda','maka\x20g:layout\x20mobile/iPhone8','findAppDirectory','client','test/test.js','ssr','startup','3681007SrbGcx','installNpmPackage','apply','fileName','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','import\x20{\x20','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','38788qCYOUv','withHooks','12805AEmxzH','dir','rewriteDestinationPathForEngine','checkNpmPackage','withValue','\x27;\x0a','82474XEBWua','780vQJLsG','(((.+)+)+)+$','includes','constructor','75887CiqQLp','warn'];a64c=function(){return u;};return a64c();}a64a();import a64e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0x11a;let f=c[d];return f;},a64d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a64r(0x12d)]({'name':a64r(0x13a),'aliases':aliases,'usage':a64r(0x162),'shortDesc':a64r(0x135),'validOpts':[],'examples':[a64r(0x155),a64r(0x14a)]},function(a,b){const s=a64r,c=s(0x140),d=this[s(0x130)][s(0x156)](),e=this[s(0x130)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b[s(0x131)]),paramCase(b['resourceName'])]}),f=this['fsi'][s(0x143)]();this[s(0x130)][s(0x11b)](f,()=>{const t=s;typeof f['template']['test']==='string'&&(f[t(0x144)][t(0x142)]=f[t(0x144)][t(0x142)]===t(0x14b)?!![]:![],this[t(0x130)]['setTemplate'](t(0x142),f[t(0x144)][t(0x142)]));typeof f[t(0x144)][t(0x12a)]===t(0x13d)&&(f[t(0x144)][t(0x12a)]=f[t(0x144)][t(0x12a)]==='true'?!![]:![],this[t(0x130)]['setTemplate']('css',f[t(0x144)][t(0x12a)]));typeof f[t(0x144)]['js']===t(0x13d)&&(f['template']['js']=f[t(0x144)]['js']===t(0x14b)?!![]:![],this[t(0x130)][t(0x137)]('js',f[t(0x144)]['js']));!f[t(0x13c)]&&(f[t(0x13c)]={});const g=b['_']?b['_'][0x0]['split'](':')[0x1]:![],h=b['_']&&aliases[t(0x120)](g);h&&!this[t(0x11a)]('ramda')&&(Log[t(0x123)](t(0x15f)),this[t(0x130)][t(0x15c)](t(0x154),{'cwd':d}));if(h&&!this[t(0x11a)](t(0x141))){Log[t(0x123)](t(0x160));return;}const i={'name':pascalCase(b[t(0x131)]),'myPath':a64e[t(0x12f)](this[t(0x130)][t(0x14d)]({}),e),'cssCaseName':paramCase(b[t(0x131)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[t(0x131)]),'graphql':f[t(0x145)][t(0x124)],'features':f[t(0x13c)],'client':f[t(0x145)]['client'],'api':f[t(0x145)][t(0x138)],'ssr':f[t(0x145)][t(0x159)],'test':f[t(0x145)][t(0x142)],'theme':f[t(0x145)][t(0x14f)],'isComponent':![],'isLayout':!![],'withTranslations':f[t(0x13c)][t(0x136)]};f[t(0x13c)]?.[t(0x164)]||b[t(0x127)]?this['fsi'][t(0x144)]({'srcPath':'hook/hook.js','destPath':e+t(0x151),'framework':t(0x141),'context':i,'config':f}):this[t(0x130)][t(0x144)]({'srcPath':t(0x129),'destPath':e+t(0x151),'framework':'react','context':i,'config':f});f['engines'][t(0x142)]!==t(0x149)&&this['fsi']['template']({'srcPath':t(0x158),'destPath':e+t(0x12b),'framework':t(0x141),'context':i,'config':f});f['template']['css']&&(this[t(0x130)][t(0x144)]({'srcPath':t(0x147),'destPath':e+'.css','context':Object['assign']({},i,{'className':paramCase(b[t(0x131)])}),'config':f}),this[t(0x130)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[t(0x145)]['js'],'content':t(0x13f)+i['fileName']+'.'+f[t(0x145)][t(0x12a)]+'\x27;'}));const j=b['dir']?'/'+b[t(0x166)]+'/':'/',k=''+c+j+i[t(0x15e)]+'/'+i[t(0x15e)];let l;if(f[t(0x145)][t(0x159)]===t(0x14b)){const m=this[t(0x130)][t(0x148)]({'pathParts':['imports',t(0x15a),'lib',t(0x150)]});l=this[t(0x130)][t(0x167)]({'pathParts':[m],'config':f});}else{const n=this[t(0x130)][t(0x148)]({'pathParts':[t(0x133),t(0x15a),t(0x157),t(0x150)]});l=this[t(0x130)][t(0x167)]({'pathParts':[n],'config':f});}f[t(0x145)][t(0x157)]===t(0x141)?(f[t(0x145)]['js']===t(0x12c)?this[t(0x130)]['injectAtBeginningOfFile']({'filePath':l,'content':t(0x161)+i[t(0x12e)]+t(0x139)+k+t(0x11c)}):this[t(0x130)]['injectAtBeginningOfFile']({'filePath':l,'content':t(0x161)+i[t(0x12e)]+'\x20}\x20from\x20\x27'+k+'.'+f[t(0x145)]['js']+t(0x11c)}),this[t(0x130)]['injectAtEndOfFile']({'filePath':l,'content':t(0x152)+i[t(0x12e)]+'\x20};\x0a'})):this[t(0x130)][t(0x13e)]({'filePath':l,'content':'import\x20\x27'+k+'.'+f[t(0x145)]['js']+t(0x11c)});});});
1
+ const a64q=a64d;(function(a,b){const o=a64d,c=a();while(!![]){try{const d=parseInt(o(0x94))/0x1*(-parseInt(o(0x7d))/0x2)+-parseInt(o(0x9e))/0x3+parseInt(o(0x83))/0x4+parseInt(o(0xb9))/0x5+-parseInt(o(0xb6))/0x6+-parseInt(o(0xbf))/0x7+parseInt(o(0xb3))/0x8*(parseInt(o(0x84))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a64c,0x344b7));const a64b=(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;};}()),a64a=a64b(this,function(){const p=a64d;return a64a[p(0xba)]()['search'](p(0xa6))['toString']()['constructor'](a64a)[p(0x8a)](p(0xa6));});function a64c(){const t=['setTemplate','export\x20{\x20','checkNpmPackage','(((.+)+)+)+$','import\x20\x27./','findAppDirectory','templates.js','imports','template','graphql','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','withValue','includes','ramda','theme','maka\x20g:l\x20web/safari','24qPSjjO','injectAtEndOfFile','Scaffolding\x20for\x20a\x20React\x20Layout.','379794RnJgVb','test','string','1832195oaIWEC','toString','create','test/test.js','ssr','api','1479415lXMkJC','fsi','lib','engines','.js','.css','9746ZnxJPf','tsx','pathFromApp','\x27;\x0a','client','maka\x20g:layout\x20mobile/iPhone8','200760Mkacpu','1221021JDTiov','warn','import\x20{\x20','none','resourceName','withTranslations','search','pathFromProject','startup','react','injectAtBeginningOfFile','template/template.css','css','true','dir','features','19xuHwZp','assign','import\x20\x27','relative','hook/hook.js','split','installNpmPackage','.app-tests.js','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','rewriteDestinationPathForEngine','726618WKrAxp','\x20}\x20from\x20\x27','className','fileName','/imports/ui/layouts'];a64c=function(){return t;};return a64c();}a64a();import a64e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a64d(a,b){const c=a64c();return a64d=function(d,e){d=d-0x7a;let f=c[d];return f;},a64d(a,b);}const aliases=['l'];Generator[a64q(0xbb)]({'name':'layout','aliases':aliases,'usage':'maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','shortDesc':a64q(0xb5),'validOpts':[],'examples':[a64q(0x82),a64q(0xb2)]},function(a,b){const r=a64q,c=r(0xa2),d=this[r(0xc0)][r(0xa8)](),e=this[r(0xc0)][r(0x7f)]({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[r(0x88)])]}),f=this[r(0xc0)]['getProjectConfig']();this[r(0xc0)][r(0xae)](f,()=>{const s=r;typeof f['template'][s(0xb7)]===s(0xb8)&&(f['template']['test']=f['template'][s(0xb7)]===s(0x91)?!![]:![],this['fsi'][s(0xa3)]('test',f['template'][s(0xb7)]));typeof f[s(0xab)][s(0x90)]===s(0xb8)&&(f['template']['css']=f[s(0xab)]['css']===s(0x91)?!![]:![],this[s(0xc0)][s(0xa3)](s(0x90),f[s(0xab)][s(0x90)]));typeof f[s(0xab)]['js']===s(0xb8)&&(f['template']['js']=f[s(0xab)]['js']==='true'?!![]:![],this['fsi']['setTemplate']('js',f[s(0xab)]['js']));!f[s(0x93)]&&(f['features']={});const g=b['_']?b['_'][0x0][s(0x99)](':')[0x1]:![],h=b['_']&&aliases[s(0xaf)](g);h&&!this[s(0xa5)](s(0xb0))&&(Log[s(0x85)](s(0xad)),this[s(0xc0)][s(0x9a)](s(0xb0),{'cwd':d}));if(h&&!this[s(0xa5)](s(0x8d))){Log['warn'](s(0x9c));return;}const i={'name':pascalCase(b[s(0x88)]),'myPath':a64e[s(0x97)](this['fsi'][s(0x8b)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[s(0x88)]),'camelCaseName':camelCase(b[s(0x88)]),'fileName':paramCase(b[s(0x88)]),'graphql':f['engines'][s(0xac)],'features':f[s(0x93)],'client':f[s(0x7a)]['client'],'api':f[s(0x7a)][s(0xbe)],'ssr':f[s(0x7a)][s(0xbd)],'test':f[s(0x7a)][s(0xb7)],'theme':f[s(0x7a)][s(0xb1)],'isComponent':![],'isLayout':!![],'withTranslations':f[s(0x93)][s(0x89)]};f['features']?.['withHooks']||b['withHook']?this['fsi']['template']({'srcPath':s(0x98),'destPath':e+s(0x7b),'framework':s(0x8d),'context':i,'config':f}):this[s(0xc0)][s(0xab)]({'srcPath':'component/component.js','destPath':e+s(0x7b),'framework':s(0x8d),'context':i,'config':f});f[s(0x7a)]['test']!==s(0x87)&&this[s(0xc0)][s(0xab)]({'srcPath':s(0xbc),'destPath':e+s(0x9b),'framework':s(0x8d),'context':i,'config':f});f[s(0xab)][s(0x90)]&&(this[s(0xc0)][s(0xab)]({'srcPath':s(0x8f),'destPath':e+s(0x7c),'context':Object[s(0x95)]({},i,{'className':paramCase(b[s(0x88)])}),'config':f}),this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f[s(0x7a)]['js'],'content':s(0xa7)+i[s(0xa1)]+'.'+f[s(0x7a)][s(0x90)]+'\x27;'}));const j=b['dir']?'/'+b[s(0x92)]+'/':'/',k=''+c+j+i[s(0xa1)]+'/'+i[s(0xa1)];let l;if(f[s(0x7a)]['ssr']===s(0x91)){const m=this[s(0xc0)][s(0x7f)]({'pathParts':[s(0xaa),s(0x8c),s(0xc1),s(0xa9)]});l=this[s(0xc0)][s(0x9d)]({'pathParts':[m],'config':f});}else{const n=this['fsi'][s(0x7f)]({'pathParts':[s(0xaa),s(0x8c),s(0x81),s(0xa9)]});l=this['fsi'][s(0x9d)]({'pathParts':[n],'config':f});}f[s(0x7a)][s(0x81)]===s(0x8d)?(f['engines']['js']===s(0x7e)?this[s(0xc0)][s(0x8e)]({'filePath':l,'content':s(0x86)+i[s(0xa0)]+'\x20}\x20from\x20\x27'+k+s(0x80)}):this['fsi']['injectAtBeginningOfFile']({'filePath':l,'content':'import\x20{\x20'+i['className']+s(0x9f)+k+'.'+f[s(0x7a)]['js']+'\x27;\x0a'}),this['fsi'][s(0xb4)]({'filePath':l,'content':s(0xa4)+i[s(0xa0)]+'\x20};\x0a'})):this[s(0xc0)]['injectAtEndOfFile']({'filePath':l,'content':s(0x96)+k+'.'+f['engines']['js']+'\x27;\x0a'});});});
@@ -1 +1 @@
1
- const a65i=a65d;(function(a,b){const f=a65d,c=a();while(!![]){try{const d=parseInt(f(0xb8))/0x1+parseInt(f(0xaa))/0x2+-parseInt(f(0xb0))/0x3+parseInt(f(0xb2))/0x4+-parseInt(f(0xb7))/0x5+-parseInt(f(0xab))/0x6+parseInt(f(0xae))/0x7;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0x5ab70));function a65d(a,b){const c=a65c();return a65d=function(d,e){d=d-0xa9;let f=c[d];return f;},a65d(a,b);}const a65b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a65d;if(c){const e=c[g(0xaf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a65a=a65b(this,function(){const h=a65d;return a65a['toString']()['search'](h(0xa9))[h(0xba)]()[h(0xac)](a65a)[h(0xb5)]('(((.+)+)+)+$');});a65a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a65i(0xad),'shortDesc':a65i(0xb1),'validOpts':[],'description':a65i(0xb4),'usage':a65i(0xb9),'examples':[a65i(0xb6),a65i(0xb3)]},function(){return null;});function a65c(){const j=['Maka!','1914092zGVMEE','maka\x20g:hook\x20cool-hook','\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','search','maka\x20generate:api\x20Trucks','2037825tdZIKz','175074bixwtN','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','toString','(((.+)+)+)+$','1292320xzLBEK','3758652SoKlgr','constructor','maka','1708035PVukUl','apply','414561eRgEPM'];a65c=function(){return j;};return a65c();}export default MakaGen;
1
+ const a65i=a65d;(function(a,b){const f=a65d,c=a();while(!![]){try{const d=-parseInt(f(0x18c))/0x1+-parseInt(f(0x182))/0x2*(parseInt(f(0x181))/0x3)+-parseInt(f(0x18b))/0x4*(parseInt(f(0x18a))/0x5)+-parseInt(f(0x186))/0x6*(parseInt(f(0x191))/0x7)+-parseInt(f(0x183))/0x8*(parseInt(f(0x189))/0x9)+-parseInt(f(0x180))/0xa*(parseInt(f(0x188))/0xb)+-parseInt(f(0x193))/0xc*(-parseInt(f(0x17d))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a65c,0x774fe));function a65c(){const j=['3ASaNdC','1465218IfsaSz','328ZWSKnK','toString','apply','2172zjnvRz','maka\x20<generate>:<entity>\x20[<args>]\x20[<opts>]','99594tnzzuU','151029MeCIqx','110dabFeR','92464YDCqBO','182475qPiQns','maka\x20generate:api\x20Trucks','search','maka\x20g:hook\x20cool-hook','\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','16884hVZXwm','(((.+)+)+)+$','3228PkICii','200681PKQcRE','maka','Maka!','750lxzxfd'];a65c=function(){return j;};return a65c();}const a65b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a65d;if(c){const e=c[g(0x185)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a65a=a65b(this,function(){const h=a65d;return a65a['toString']()[h(0x18e)](h(0x192))[h(0x184)]()['constructor'](a65a)['search'](h(0x192));});function a65d(a,b){const c=a65c();return a65d=function(d,e){d=d-0x17d;let f=c[d];return f;},a65d(a,b);}a65a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':a65i(0x17e),'shortDesc':a65i(0x17f),'validOpts':[],'description':a65i(0x190),'usage':a65i(0x187),'examples':[a65i(0x18d),a65i(0x18f)]},function(){return null;});export default MakaGen;
@@ -1 +1 @@
1
- const a66n=a66d;(function(a,b){const k=a66d,c=a();while(!![]){try{const d=-parseInt(k(0xfb))/0x1+-parseInt(k(0xff))/0x2+parseInt(k(0xf3))/0x3*(parseInt(k(0xdf))/0x4)+-parseInt(k(0x106))/0x5+-parseInt(k(0x104))/0x6+parseInt(k(0xf6))/0x7+parseInt(k(0xf7))/0x8*(parseInt(k(0xf2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0x2aecc));const a66b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a66d;if(c){const e=c[l(0xe0)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a66a=a66b(this,function(){const m=a66d;return a66a[m(0xee)]()[m(0xe9)](m(0xe1))[m(0xee)]()[m(0xf8)](a66a)[m(0xe9)](m(0xe1));});a66a();function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0xdc;let f=c[d];return f;},a66d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a66c(){const q=['-rpc-method\x27;','688524akkpHU','index.','startup','template','resourceName','1653276qYojau','appPathPrefix','1619195VnjJZp','dir','installMeteorPackage','import\x20\x27./methods','4UREROY','apply','(((.+)+)+)+$','methods','-rpc-method.','mdg:validated-method','checkMeteorPackage','method','maka\x20g:method\x20todos','pathFromApp','search','check','create','ddp-rate-limiter','fsi','toString','method/method.js','engines','imports','1697778cVZUGy','974904ulHrMj','injectAtEndOfFile','check\x20ddp-rate-limiter\x20mdg:validated-method','2181179vkXgBn','24GzERcy','constructor','error','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','83024vCYIcz','withValue','tsx'];a66c=function(){return q;};return a66c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a66n(0xeb)]({'name':a66n(0xe6),'aliases':['m'],'usage':'maka\x20{generate,\x20g}:{method,\x20m}\x20name','checkWhere':!![],'shortDesc':a66n(0xfa),'validOpts':[a66n(0xdc)],'examples':[a66n(0xe7)]},function(a,b){const o=a66n;try{const c=this['fsi']['getProjectConfig']();this[o(0xed)][o(0xfc)](c,async()=>{const p=o,d=paramCase(b['resourceName']),f={'name':b[p(0x103)],'fileName':d,'className':pascalCase(b[p(0x103)]),'camelCase':camelCase(b[p(0x103)]),'noRename':!![]};let g='js';c[p(0xf0)]['js']===p(0xfd)&&(g='ts');const h=this['fsi'][p(0xe8)]({});(!this[p(0xed)][p(0xe5)](p(0xea))||!this[p(0xed)][p(0xe5)](p(0xec))||!this[p(0xed)]['checkMeteorPackage'](p(0xe4)))&&(Log['warn']('Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...'),this[p(0xed)][p(0xdd)](p(0xf5),{'cwd':h}));this[p(0xed)][p(0x102)]({'srcPath':p(0xef),'destPath':this[p(0xed)][p(0xe8)]({'pathParts':[p(0xf1),p(0x101),b[p(0x105)],p(0xe2),b['dir'],d+p(0xe3)+g]}),'context':f,'config':c});const i=b[p(0xdc)]?'/'+b[p(0xdc)]+'/':'/',j=this[p(0xed)][p(0xe8)]({'pathParts':[p(0xf1),p(0x101),b['appPathPrefix'],p(0x100)+c[p(0xf0)]['js']]});this[p(0xed)][p(0xf4)]({'filePath':j,'content':p(0xde)+i+d+p(0xfe)});});}catch(d){Log[o(0xf9)](d);}});
1
+ function a66d(a,b){const c=a66c();return a66d=function(d,e){d=d-0xfe;let f=c[d];return f;},a66d(a,b);}const a66n=a66d;(function(a,b){const k=a66d,c=a();while(!![]){try{const d=-parseInt(k(0x104))/0x1*(parseInt(k(0x111))/0x2)+-parseInt(k(0x100))/0x3+parseInt(k(0x107))/0x4*(-parseInt(k(0x115))/0x5)+parseInt(k(0x11f))/0x6*(-parseInt(k(0x10b))/0x7)+-parseInt(k(0x110))/0x8+parseInt(k(0xfe))/0x9+parseInt(k(0x119))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a66c,0xd7c3d));const a66b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a66d;if(c){const e=c[l(0x113)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a66a=a66b(this,function(){const m=a66d;return a66a[m(0x10c)]()['search'](m(0x11c))[m(0x10c)]()[m(0x120)](a66a)['search'](m(0x11c));});a66a();import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a66c(){const q=['resourceName','404682MUVxtp','constructor','error','checkMeteorPackage','maka\x20g:method\x20todos','check\x20ddp-rate-limiter\x20mdg:validated-method','10658349UrXwxa','mdg:validated-method','5251317RXzatb','warn','dir','startup','2MQiSrS','injectAtEndOfFile','maka\x20{generate,\x20g}:{method,\x20m}\x20name','1850908zAhlHL','index.','engines','fsi','35RmBper','toString','template','appPathPrefix','method','8373648mAEiER','169722izCdFw','create','apply','Meteor\x20package\x20\x22check\x22\x20or\x20\x22ddp-rate-limiter\x22\x20or\x20\x22mdg:validated-method\x22\x20is\x20not\x20installed,\x20installing...','5bZtYBD','getProjectConfig','pathFromApp','-rpc-method\x27;','34663410RduxdQ','imports','installMeteorPackage','(((.+)+)+)+$','check'];a66c=function(){return q;};return a66c();}Generator[a66n(0x112)]({'name':a66n(0x10f),'aliases':['m'],'usage':a66n(0x106),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a66n(0x102)],'examples':[a66n(0x123)]},function(a,b){const o=a66n;try{const c=this['fsi'][o(0x116)]();this[o(0x10a)]['withValue'](c,async()=>{const p=o,d=paramCase(b[p(0x11e)]),f={'name':b[p(0x11e)],'fileName':d,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[p(0x11e)]),'noRename':!![]};let g='js';c[p(0x109)]['js']==='tsx'&&(g='ts');const h=this[p(0x10a)][p(0x117)]({});(!this[p(0x10a)]['checkMeteorPackage'](p(0x11d))||!this[p(0x10a)][p(0x122)]('ddp-rate-limiter')||!this[p(0x10a)][p(0x122)](p(0xff)))&&(Log[p(0x101)](p(0x114)),this[p(0x10a)][p(0x11b)](p(0x124),{'cwd':h}));this[p(0x10a)][p(0x10d)]({'srcPath':'method/method.js','destPath':this[p(0x10a)][p(0x117)]({'pathParts':[p(0x11a),p(0x103),b[p(0x10e)],'methods',b[p(0x102)],d+'-rpc-method.'+g]}),'context':f,'config':c});const i=b[p(0x102)]?'/'+b[p(0x102)]+'/':'/',j=this[p(0x10a)]['pathFromApp']({'pathParts':[p(0x11a),p(0x103),b['appPathPrefix'],p(0x108)+c[p(0x109)]['js']]});this[p(0x10a)][p(0x105)]({'filePath':j,'content':'import\x20\x27./methods'+i+d+p(0x118)});});}catch(d){Log[o(0x121)](d);}});
@@ -1 +1 @@
1
- const a67n=a67d;(function(a,b){const l=a67d,c=a();while(!![]){try{const d=parseInt(l(0x178))/0x1*(-parseInt(l(0x189))/0x2)+-parseInt(l(0x183))/0x3*(-parseInt(l(0x174))/0x4)+-parseInt(l(0x187))/0x5*(-parseInt(l(0x180))/0x6)+parseInt(l(0x182))/0x7*(-parseInt(l(0x177))/0x8)+-parseInt(l(0x18c))/0x9*(-parseInt(l(0x17f))/0xa)+parseInt(l(0x190))/0xb+-parseInt(l(0x198))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0xe00ab));const a67b=(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;};}()),a67a=a67b(this,function(){const m=a67d;return a67a['toString']()['search'](m(0x17b))[m(0x188)]()['constructor'](a67a)['search'](m(0x17b));});function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x171;let f=c[d];return f;},a67d(a,b);}a67a();import a67e from'path';import{Generator}from'../generator.js';function a67c(){const r=['engines','graphql','5970710eKXsLU','80502QTDItA','template/template.js','4334449FAKpFP','219gynDWG','theme','pathFromProject','package.js','305cPWkbY','toString','271426fllXfO','.js','fsi','9HvAtMD','resourceName','layout','create','8410633FuUvHs','relative','tests/client','forEach','tests/server','hasOwnProperty','pathFromApp','/client/','3538152InuVsF','template','features','/package.js','store','getProjectConfig','lib','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','package/','22276LynjXi','pathFromAppWithNoReWrite','ssr','16yObWFp','1sZWQcc','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','packages','(((.+)+)+)+$','maka\x20g:package\x20todos:package'];a67c=function(){return r;};return a67c();}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a67n(0x18f)]({'name':'package','aliases':['p'],'usage':a67n(0x179),'shortDesc':a67n(0x172),'validOpts':['dir'],'examples':[a67n(0x17c)]},async function(a,b){const o=a67n,c=paramCase(b[o(0x18d)]),d=this[o(0x18b)][o(0x196)]({'pathParts':['packages',b['dir'],c]}),e=this[o(0x18b)][o(0x175)]({'pathParts':[o(0x17a),b['dir'],c,o(0x186)]}),f=this[o(0x18b)][o(0x19d)]();this[o(0x18b)]['withValue'](f,async()=>{const p=o,g={'name':paramCase(b[p(0x18d)]),'myPath':a67e[p(0x191)](this[p(0x18b)][p(0x185)]({}),d),'cssCaseName':paramCase(b[p(0x18d)]),'className':pascalCase(b[p(0x18d)]),'camelCaseName':camelCase(b[p(0x18d)]),'fileName':c,'client':f[p(0x17d)]['client'],'graphql':f['engines'][p(0x17e)],'ssr':f['engines'][p(0x176)],'isComponent':b[p(0x195)]('component'),'isLayout':b['hasOwnProperty'](p(0x18e)),'isStore':b[p(0x195)](p(0x19c)),'features':f[p(0x19a)],'noRename':!![],'theme':f[p(0x17d)][p(0x184)]};this['fsi'][p(0x199)]({'srcPath':'package/package.js','destPath':e,'context':g,'config':f}),g['noRename']=![];const h=d+p(0x197)+c+'.js';this[p(0x18b)][p(0x199)]({'srcPath':p(0x181),'destPath':h,'context':g,'config':f});const i=[p(0x171),'server',p(0x192),p(0x194)];i[p(0x193)](j=>{const q=p,k=d+'/'+j+'/'+c+q(0x18a);this[q(0x18b)][q(0x199)]({'srcPath':q(0x173)+j+q(0x19b),'destPath':k,'context':g,'config':f});});});});
1
+ const a67o=a67d;function a67d(a,b){const c=a67c();return a67d=function(d,e){d=d-0x11c;let f=c[d];return f;},a67d(a,b);}(function(a,b){const l=a67d,c=a();while(!![]){try{const d=parseInt(l(0x140))/0x1+-parseInt(l(0x130))/0x2+-parseInt(l(0x145))/0x3*(-parseInt(l(0x12b))/0x4)+-parseInt(l(0x12c))/0x5*(parseInt(l(0x133))/0x6)+parseInt(l(0x132))/0x7+parseInt(l(0x129))/0x8+parseInt(l(0x124))/0x9*(-parseInt(l(0x11c))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a67c,0x610b1));const a67b=(function(){let a=!![];return function(b,c){const d=a?function(){const m=a67d;if(c){const e=c[m(0x12a)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a67a=a67b(this,function(){const n=a67d;return a67a[n(0x141)]()[n(0x137)](n(0x136))[n(0x141)]()['constructor'](a67a)[n(0x137)](n(0x136));});function a67c(){const s=['packages','dir','server','template','hasOwnProperty','engines','292563HrwtJy','toString','ssr','theme','pathFromAppWithNoReWrite','9144ZOuIKD','8080kVnCJo','layout','package/package.js','noRename','forEach','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','component','fsi','10566KWaElY','template/template.js','relative','maka\x20g:package\x20todos:package','.js','5390104SRbdIg','apply','556lZQqAh','2929205ntIXTm','/client/','features','tests/server','17806KMGTmc','package.js','3855789oEUiYD','6NNEkaB','package','resourceName','(((.+)+)+)+$','search','pathFromProject','store'];a67c=function(){return s;};return a67c();}a67a();import a67e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a67o(0x134),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a67o(0x121),'validOpts':[a67o(0x13b)],'examples':[a67o(0x127)]},async function(a,b){const p=a67o,c=paramCase(b[p(0x135)]),d=this['fsi']['pathFromApp']({'pathParts':[p(0x13a),b['dir'],c]}),e=this[p(0x123)][p(0x144)]({'pathParts':[p(0x13a),b[p(0x13b)],c,p(0x131)]}),f=this[p(0x123)]['getProjectConfig']();this[p(0x123)]['withValue'](f,async()=>{const q=p,g={'name':paramCase(b['resourceName']),'myPath':a67e[q(0x126)](this[q(0x123)][q(0x138)]({}),d),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[q(0x135)]),'camelCaseName':camelCase(b[q(0x135)]),'fileName':c,'client':f[q(0x13f)]['client'],'graphql':f[q(0x13f)]['graphql'],'ssr':f['engines'][q(0x142)],'isComponent':b['hasOwnProperty'](q(0x122)),'isLayout':b[q(0x13e)](q(0x11d)),'isStore':b[q(0x13e)](q(0x139)),'features':f[q(0x12e)],'noRename':!![],'theme':f[q(0x13f)][q(0x143)]};this[q(0x123)]['template']({'srcPath':q(0x11e),'destPath':e,'context':g,'config':f}),g[q(0x11f)]=![];const h=d+q(0x12d)+c+q(0x128);this[q(0x123)][q(0x13d)]({'srcPath':q(0x125),'destPath':h,'context':g,'config':f});const i=['lib',q(0x13c),'tests/client',q(0x12f)];i[q(0x120)](j=>{const r=q,k=d+'/'+j+'/'+c+r(0x128);this['fsi'][r(0x13d)]({'srcPath':'package/'+j+'/package.js','destPath':k,'context':g,'config':f});});});});
@@ -1 +1 @@
1
- function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0x100;let f=c[d];return f;},a68d(a,b);}const a68p=a68d;(function(a,b){const m=a68d,c=a();while(!![]){try{const d=-parseInt(m(0x134))/0x1+parseInt(m(0x145))/0x2*(parseInt(m(0x149))/0x3)+-parseInt(m(0x146))/0x4*(parseInt(m(0x129))/0x5)+-parseInt(m(0x107))/0x6*(-parseInt(m(0x117))/0x7)+parseInt(m(0x116))/0x8*(-parseInt(m(0x119))/0x9)+-parseInt(m(0x138))/0xa*(-parseInt(m(0x13d))/0xb)+parseInt(m(0x139))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x9a2f0));const a68b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a68d;if(c){const e=c[n(0x10c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a68a=a68b(this,function(){const o=a68d;return a68a[o(0x12a)]()[o(0x147)](o(0x132))[o(0x12a)]()[o(0x12b)](a68a)['search'](o(0x132));});a68a();import a68e 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 a68c(){const s=['client','\x20};\x0a','\x27;\x0a','606234DTXGuK','theme','import\x20\x27','api','rewriteDestinationPathForEngine','apply','.js','ssr','Updating\x20npm\x20packages\x20...','ramda','imports','.app-tests.js','getProjectConfig','injectAtEndOfFile','templates.js','402352JQPqNb','14XaXyyP','setTemplate','9siLqWh','test/test.js','export\x20{\x20','features','withValue','className','withHook','.css','test','injectAtBeginningOfFile','hasOwnProperty','import\x20{\x20','withTranslations','none','vanilla','component','5YHnvdJ','toString','constructor','dir','component/component.js','template/template.css','\x20}\x20from\x20\x27','fileName','true','(((.+)+)+)+$','css','391500JHqovw','root','startup','template','10KEnWEP','9887688CNfZMk','pathFromProject','layout','string','5748633JqrIxn','fsi','hook/hook.js','engines','import\x20\x27./','resourceName','template/template.html','page','93510ucvEUK','3397460UFLFpc','search','relative','24rfMsBV','html','maka\x20g:page\x20todos/todos-item','pathFromApp','react'];a68c=function(){return s;};return a68c();}Generator['create']({'name':a68p(0x144),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':'Generate\x20a\x20page.','validOpts':[a68p(0x12c),a68p(0x11f)],'examples':[a68p(0x101)]},function(a,b){const q=a68p,c='/imports/ui/pages',d=this[q(0x13e)][q(0x102)](b),e=this[q(0x13e)][q(0x102)]({'pathParts':[c,b[q(0x12c)],paramCase(b[q(0x142)]),paramCase(b['resourceName'])]}),f=this[q(0x13e)][q(0x113)]();this['fsi'][q(0x11d)](f,()=>{const r=q;typeof f['template'][r(0x100)]===r(0x13c)&&(f[r(0x137)][r(0x100)]=f[r(0x137)]['html']===r(0x131)?!![]:![],this[r(0x13e)][r(0x118)]('html',f['template']['html']));typeof f['template']['test']===r(0x13c)&&(f[r(0x137)]['test']=f[r(0x137)][r(0x121)]===r(0x131)?!![]:![],this[r(0x13e)]['setTemplate']('test',f[r(0x137)]['test']));typeof f['template'][r(0x133)]==='string'&&(f['template']['css']=f[r(0x137)]['css']===r(0x131)?!![]:![],this['fsi'][r(0x118)](r(0x133),f[r(0x137)][r(0x133)]));typeof f[r(0x137)]['js']==='string'&&(f[r(0x137)]['js']=f[r(0x137)]['js']==='true'?!![]:![],this[r(0x13e)]['setTemplate']('js',f[r(0x137)]['js']));!f[r(0x11c)]&&(f[r(0x11c)]={});!b[r(0x135)]&&!this[r(0x13e)]['checkNpmPackage'](r(0x110))&&(Log['warn'](r(0x10f)),this[r(0x13e)]['installNpmPackage'](r(0x110),{'cwd':d}));const g={'name':pascalCase(b[r(0x142)]),'myPath':a68e[r(0x148)](this['fsi'][r(0x13a)]({}),e),'cssCaseName':paramCase(b['resourceName']),'className':pascalCase(b[r(0x142)]),'camelCaseName':camelCase(b[r(0x142)]),'fileName':paramCase(b['resourceName']),'graphql':f['engines']['graphql'],'features':f['features'],'client':f[r(0x140)][r(0x104)],'api':f['engines'][r(0x10a)],'ssr':f['engines'][r(0x10e)],'isStore':b['hasOwnProperty']('store'),'isComponent':b[r(0x123)](r(0x128)),'isLayout':b[r(0x123)](r(0x13b)),'withTranslations':f[r(0x11c)][r(0x125)],'test':f[r(0x140)][r(0x121)],'theme':f[r(0x140)][r(0x108)]};f[r(0x137)][r(0x100)]&&this[r(0x13e)][r(0x137)]({'srcPath':r(0x143),'destPath':e+'.html','context':g,'config':f});f[r(0x11c)]?.['withHooks']||b['withHook']?this[r(0x13e)][r(0x137)]({'srcPath':r(0x13f),'destPath':e+r(0x10d),'framework':r(0x103),'context':g,'config':f}):this[r(0x13e)][r(0x137)]({'srcPath':r(0x12d),'destPath':e+r(0x10d),'framework':r(0x103),'context':g,'config':f});f[r(0x140)][r(0x121)]!==r(0x126)&&this[r(0x13e)][r(0x137)]({'srcPath':r(0x11a),'destPath':e+r(0x112),'framework':r(0x103),'context':g,'config':f});f[r(0x137)][r(0x133)]&&this['fsi'][r(0x137)]({'srcPath':r(0x12e),'destPath':e+r(0x120),'context':Object['assign']({},g,{'className':paramCase(b['resourceName'])}),'config':f});f[r(0x140)][r(0x104)]!==r(0x103)&&f[r(0x140)]['client']!==r(0x127)?(f[r(0x137)][r(0x133)]&&this[r(0x13e)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0x140)]['js'],'content':'import\x20\x27./'+g[r(0x130)]+'.'+f[r(0x140)][r(0x100)]+r(0x106)+'import\x20\x27./'+g[r(0x130)]+'.'+f[r(0x140)][r(0x133)]+'\x27;'}),!f[r(0x137)][r(0x133)]&&this[r(0x13e)][r(0x122)]({'filePath':e+'.'+f['engines']['js'],'content':'import\x20\x27./'+g['fileName']+'.'+f[r(0x140)][r(0x100)]+'\x27;'})):f[r(0x137)][r(0x133)]&&this[r(0x13e)]['injectAtBeginningOfFile']({'filePath':e+'.'+f[r(0x140)]['js'],'content':r(0x141)+g[r(0x130)]+'.'+f[r(0x140)]['css']+'\x27;'});const h=b[r(0x12c)]?'/'+b[r(0x12c)]+'/':'/',i=''+c+h+g['fileName']+'/'+g['fileName'];let j;if(f[r(0x140)]['ssr']===r(0x131)){const k=this['fsi'][r(0x102)]({'pathParts':[r(0x111),r(0x136),'lib',r(0x115)]});j=this[r(0x13e)][r(0x10b)]({'pathParts':[k],'config':f});}else{const l=this[r(0x13e)][r(0x102)]({'pathParts':[r(0x111),r(0x136),r(0x104),r(0x115)]});j=this[r(0x13e)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':f});}f[r(0x140)][r(0x104)]===r(0x103)?(f[r(0x140)]['js']==='tsx'?this[r(0x13e)]['injectAtBeginningOfFile']({'filePath':j,'content':r(0x124)+g[r(0x11e)]+r(0x12f)+i+r(0x106)}):this[r(0x13e)]['injectAtBeginningOfFile']({'filePath':j,'content':r(0x124)+g[r(0x11e)]+r(0x12f)+i+'.'+f[r(0x140)]['js']+r(0x106)}),this['fsi'][r(0x114)]({'filePath':j,'content':r(0x11b)+g[r(0x11e)]+r(0x105)})):this[r(0x13e)][r(0x114)]({'filePath':j,'content':r(0x109)+i+'.'+f['engines']['js']+r(0x106)});});});
1
+ function a68c(){const r=['layout','export\x20{\x20','test','\x20};\x0a','imports','templates.js','rewriteDestinationPathForEngine','react','\x27;\x0a','graphql','component/component.js','import\x20{\x20','1967wdqNNP','getProjectConfig','691116KhyBqm','template','hook/hook.js','client','installNpmPackage','8112DEWkdn','css','features','template/template.html','warn','template/template.css','(((.+)+)+)+$','none','Updating\x20npm\x20packages\x20...','tsx','.html','true','1536245bryDyA','import\x20\x27','120msYIuv','string','\x20}\x20from\x20\x27','withHooks','root','withValue','resourceName','lib','assign','toString','3648ufZZii','import\x20\x27./','78009fTTQxL','relative','fsi','ramda','engines','search','.css','2894976ZFImqx','checkNpmPackage','hasOwnProperty','html','4cHNAod','pathFromApp','test/test.js','pathFromProject','withTranslations','className','startup','vanilla','5794530KxUySC','.js','dir','withHook','/imports/ui/pages','api','constructor','fileName','injectAtBeginningOfFile','page','ssr','maka\x20g:page\x20todos/todos-item'];a68c=function(){return r;};return a68c();}const a68o=a68d;(function(a,b){const m=a68d,c=a();while(!![]){try{const d=parseInt(m(0xf9))/0x1+parseInt(m(0xf7))/0x2*(-parseInt(m(0xed))/0x3)+parseInt(m(0x104))/0x4*(parseInt(m(0xeb))/0x5)+-parseInt(m(0x126))/0x6+parseInt(m(0x124))/0x7*(-parseInt(m(0x12b))/0x8)+-parseInt(m(0x100))/0x9+parseInt(m(0x10c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a68c,0x297ef));const a68b=(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;};}()),a68a=a68b(this,function(){const n=a68d;return a68a[n(0xf6)]()['search'](n(0xe5))['toString']()[n(0x112)](a68a)[n(0xfe)](n(0xe5));});a68a();import a68e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';function a68d(a,b){const c=a68c();return a68d=function(d,e){d=d-0xe2;let f=c[d];return f;},a68d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator['create']({'name':a68o(0x115),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':'Generate\x20a\x20page.','validOpts':[a68o(0x10e),a68o(0x10f)],'examples':[a68o(0x117)]},function(a,b){const p=a68o,c=p(0x110),d=this[p(0xfb)]['pathFromApp'](b),e=this[p(0xfb)][p(0x105)]({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[p(0xf3)])]}),f=this[p(0xfb)][p(0x125)]();this[p(0xfb)][p(0xf2)](f,()=>{const q=p;typeof f[q(0x127)]['html']===q(0xee)&&(f[q(0x127)]['html']=f[q(0x127)][q(0x103)]==='true'?!![]:![],this[q(0xfb)]['setTemplate'](q(0x103),f[q(0x127)][q(0x103)]));typeof f[q(0x127)][q(0x11a)]===q(0xee)&&(f['template'][q(0x11a)]=f[q(0x127)][q(0x11a)]==='true'?!![]:![],this['fsi']['setTemplate']('test',f[q(0x127)][q(0x11a)]));typeof f[q(0x127)][q(0x12c)]===q(0xee)&&(f[q(0x127)][q(0x12c)]=f[q(0x127)][q(0x12c)]===q(0xea)?!![]:![],this['fsi']['setTemplate'](q(0x12c),f[q(0x127)][q(0x12c)]));typeof f['template']['js']===q(0xee)&&(f[q(0x127)]['js']=f[q(0x127)]['js']===q(0xea)?!![]:![],this[q(0xfb)]['setTemplate']('js',f[q(0x127)]['js']));!f[q(0x12d)]&&(f[q(0x12d)]={});!b[q(0xf1)]&&!this['fsi'][q(0x101)]('ramda')&&(Log[q(0xe3)](q(0xe7)),this[q(0xfb)][q(0x12a)](q(0xfc),{'cwd':d}));const g={'name':pascalCase(b[q(0xf3)]),'myPath':a68e[q(0xfa)](this['fsi'][q(0x107)]({}),e),'cssCaseName':paramCase(b[q(0xf3)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b['resourceName']),'fileName':paramCase(b[q(0xf3)]),'graphql':f['engines'][q(0x121)],'features':f[q(0x12d)],'client':f[q(0xfd)][q(0x129)],'api':f[q(0xfd)][q(0x111)],'ssr':f['engines'][q(0x116)],'isStore':b[q(0x102)]('store'),'isComponent':b[q(0x102)]('component'),'isLayout':b[q(0x102)](q(0x118)),'withTranslations':f[q(0x12d)][q(0x108)],'test':f['engines'][q(0x11a)],'theme':f[q(0xfd)]['theme']};f['template'][q(0x103)]&&this[q(0xfb)][q(0x127)]({'srcPath':q(0xe2),'destPath':e+q(0xe9),'context':g,'config':f});f[q(0x12d)]?.[q(0xf0)]||b[q(0x10f)]?this['fsi'][q(0x127)]({'srcPath':q(0x128),'destPath':e+q(0x10d),'framework':q(0x11f),'context':g,'config':f}):this['fsi'][q(0x127)]({'srcPath':q(0x122),'destPath':e+'.js','framework':q(0x11f),'context':g,'config':f});f['engines'][q(0x11a)]!==q(0xe6)&&this[q(0xfb)][q(0x127)]({'srcPath':q(0x106),'destPath':e+'.app-tests.js','framework':'react','context':g,'config':f});f[q(0x127)]['css']&&this['fsi'][q(0x127)]({'srcPath':q(0xe4),'destPath':e+q(0xff),'context':Object[q(0xf5)]({},g,{'className':paramCase(b['resourceName'])}),'config':f});f[q(0xfd)]['client']!==q(0x11f)&&f['engines'][q(0x129)]!==q(0x10b)?(f[q(0x127)][q(0x12c)]&&this['fsi']['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':q(0xf8)+g[q(0x113)]+'.'+f['engines'][q(0x103)]+q(0x120)+'import\x20\x27./'+g['fileName']+'.'+f[q(0xfd)][q(0x12c)]+'\x27;'}),!f[q(0x127)][q(0x12c)]&&this['fsi'][q(0x114)]({'filePath':e+'.'+f[q(0xfd)]['js'],'content':q(0xf8)+g[q(0x113)]+'.'+f[q(0xfd)][q(0x103)]+'\x27;'})):f[q(0x127)][q(0x12c)]&&this['fsi'][q(0x114)]({'filePath':e+'.'+f[q(0xfd)]['js'],'content':q(0xf8)+g[q(0x113)]+'.'+f['engines'][q(0x12c)]+'\x27;'});const h=b[q(0x10e)]?'/'+b[q(0x10e)]+'/':'/',i=''+c+h+g[q(0x113)]+'/'+g[q(0x113)];let j;if(f[q(0xfd)][q(0x116)]===q(0xea)){const k=this[q(0xfb)][q(0x105)]({'pathParts':[q(0x11c),'startup',q(0xf4),q(0x11d)]});j=this[q(0xfb)][q(0x11e)]({'pathParts':[k],'config':f});}else{const l=this[q(0xfb)][q(0x105)]({'pathParts':[q(0x11c),q(0x10a),q(0x129),q(0x11d)]});j=this[q(0xfb)]['rewriteDestinationPathForEngine']({'pathParts':[l],'config':f});}f[q(0xfd)]['client']==='react'?(f[q(0xfd)]['js']===q(0xe8)?this[q(0xfb)][q(0x114)]({'filePath':j,'content':'import\x20{\x20'+g[q(0x109)]+q(0xef)+i+q(0x120)}):this['fsi'][q(0x114)]({'filePath':j,'content':q(0x123)+g[q(0x109)]+q(0xef)+i+'.'+f[q(0xfd)]['js']+'\x27;\x0a'}),this[q(0xfb)]['injectAtEndOfFile']({'filePath':j,'content':q(0x119)+g[q(0x109)]+q(0x11b)})):this[q(0xfb)]['injectAtEndOfFile']({'filePath':j,'content':q(0xec)+i+'.'+f[q(0xfd)]['js']+q(0x120)});});});
@@ -1 +1 @@
1
- function a69c(){const m=['withValue','getProjectConfig','server/publish.','1169399PhnSXg','39582sfSKKZ','templateContent','644768zUtYMB','595696wOxfkl','181653DjZdxG','(((.+)+)+)+$','create','2427597xWRiTd','2UCwLBY','fsi','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','120183YEuHcg','search','toString','constructor','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','injectAtEndOfFile','110EbcRvi','resourceName','publish/publish.','rewriteDestinationPathForEngine','maka\x20g:publish\x20todos','engines'];a69c=function(){return m;};return a69c();}const a69j=a69d;(function(a,b){const h=a69d,c=a();while(!![]){try{const d=parseInt(h(0x180))/0x1+-parseInt(h(0x17d))/0x2*(parseInt(h(0x194))/0x3)+parseInt(h(0x192))/0x4+-parseInt(h(0x186))/0x5*(parseInt(h(0x190))/0x6)+-parseInt(h(0x18f))/0x7+-parseInt(h(0x193))/0x8+parseInt(h(0x197))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x195e0));const a69b=(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;};}()),a69a=a69b(this,function(){const i=a69d;return a69a[i(0x182)]()['search'](i(0x195))[i(0x182)]()[i(0x183)](a69a)[i(0x181)]('(((.+)+)+)+$');});a69a();import{paramCase}from'change-case';function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0x17d;let f=c[d];return f;},a69d(a,b);}import{Generator}from'../generator.js';Generator[a69j(0x196)]({'name':'publish','aliases':['p'],'usage':a69j(0x17f),'shortDesc':a69j(0x184),'validOpts':[],'examples':[a69j(0x18a)]},async function(a,b){const k=a69j,c=this[k(0x17e)][k(0x18d)]();this[k(0x17e)][k(0x18c)](c,async()=>{const l=k,d={'name':b[l(0x187)],'collection':paramCase(b[l(0x187)]),'noRename':!![]};let e='js';c[l(0x18b)]['js']==='tsx'&&(e='ts');const f=this[l(0x17e)][l(0x189)]({'pathParts':[l(0x18e)+c['engines']['js']]}),g=this[l(0x17e)][l(0x191)]({'srcPath':l(0x188)+e,'context':d,'config':c});this[l(0x17e)][l(0x185)]({'filePath':f,'content':'\x0a'+g});});});
1
+ const a69k=a69d;(function(a,b){const h=a69d,c=a();while(!![]){try{const d=parseInt(h(0xd2))/0x1*(parseInt(h(0xd5))/0x2)+-parseInt(h(0xd3))/0x3*(-parseInt(h(0xd0))/0x4)+parseInt(h(0xc2))/0x5+parseInt(h(0xc9))/0x6+parseInt(h(0xcb))/0x7+-parseInt(h(0xc0))/0x8+parseInt(h(0xd7))/0x9*(-parseInt(h(0xd6))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a69c,0x31d52));function a69d(a,b){const c=a69c();return a69d=function(d,e){d=d-0xbc;let f=c[d];return f;},a69d(a,b);}const a69b=(function(){let a=!![];return function(b,c){const d=a?function(){const i=a69d;if(c){const e=c[i(0xc4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a69a=a69b(this,function(){const j=a69d;return a69a[j(0xbd)]()[j(0xc7)](j(0xc6))[j(0xbd)]()[j(0xc5)](a69a)[j(0xc7)]('(((.+)+)+)+$');});a69a();import{paramCase}from'change-case';import{Generator}from'../generator.js';function a69c(){const n=['3CbsXwk','tsx','2BcWaGC','44830XooduQ','855OrAlzS','resourceName','maka\x20g:publish\x20todos','rewriteDestinationPathForEngine','publish','toString','maka\x20{generate,\x20g}:{publish,\x20p}\x20<name>','create','902648XkdkvJ','withValue','419490luCfVI','publish/publish.','apply','constructor','(((.+)+)+)+$','search','fsi','1553100iRlJci','Scaffolding\x20for\x20a\x20publish\x20function.\x0ahttps://docs.meteor.com/api/pubsub.html','794675bqMHqI','getProjectConfig','server/publish.','engines','templateContent','388508dThZEw','injectAtEndOfFile','189430ESpdyO'];a69c=function(){return n;};return a69c();}Generator[a69k(0xbf)]({'name':a69k(0xbc),'aliases':['p'],'usage':a69k(0xbe),'shortDesc':a69k(0xca),'validOpts':[],'examples':[a69k(0xd9)]},async function(a,b){const l=a69k,c=this['fsi'][l(0xcc)]();this['fsi'][l(0xc1)](c,async()=>{const m=l,d={'name':b[m(0xd8)],'collection':paramCase(b[m(0xd8)]),'noRename':!![]};let e='js';c[m(0xce)]['js']===m(0xd4)&&(e='ts');const f=this['fsi'][m(0xda)]({'pathParts':[m(0xcd)+c[m(0xce)]['js']]}),g=this[m(0xc8)][m(0xcf)]({'srcPath':m(0xc3)+e,'context':d,'config':c});this['fsi'][m(0xd1)]({'filePath':f,'content':'\x0a'+g});});});
@@ -1 +1 @@
1
- const a70y=a70d;(function(a,b){const v=a70d,c=a();while(!![]){try{const d=parseInt(v(0xa0))/0x1*(parseInt(v(0xc3))/0x2)+-parseInt(v(0x99))/0x3+parseInt(v(0xc2))/0x4+-parseInt(v(0xae))/0x5*(-parseInt(v(0x9e))/0x6)+parseInt(v(0xbe))/0x7*(parseInt(v(0xa9))/0x8)+parseInt(v(0xad))/0x9+-parseInt(v(0xb9))/0xa*(parseInt(v(0xa5))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x3f9f9));const a70b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a70d;if(c){const e=c[w(0x9c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){const x=a70d;return a70a[x(0xd5)]()[x(0xc6)](x(0x9b))[x(0xd5)]()['constructor'](a70a)['search'](x(0x9b));});a70a();function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x96;let f=c[d];return f;},a70d(a,b);}import a70e from'path';function a70c(){const H=['\x22*\x22','\x0a\x09\x09','194958dVqxdN','27340HANAsR','fsi','pathFromApp','templateContent','Scaffolding\x20for\x20a\x20Route.','rewriteDestinationPathForEngine','vanilla','join','PrivateLayout','maka\x20g:route\x20lists/listIndex\x20lists','routes.js','5044050YbvTxD','true','maka\x20g:route\x20todosEdit\x20todos/:id/edit','withTranslations','react','11564ZtEtYM','injectAtEndOfFile','readFileLines','only','50436wtCfro','27760NhAGeV','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','error','search','getProjectConfig','findGenerator','startup','map','includes','<Router','indexOf','url','<Route','root','client','layout','const\x20privateRoutes\x20=\x20(<>','route/route.js','toString','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','warn','create','</Router>','const\x20publicRoutes\x20=\x20(<>','942291PrTSgP','engines','(((.+)+)+)+$','apply','withValue','318MMyKds','length','20JLoMRU','config','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','invoke','private','11otsYuu','route','filter','injectIntoFile','2312SSmaSX','injectAfterLineNumber'];a70c=function(){return H;};return a70c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a70f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['r'];Generator[a70y(0x96)]({'name':a70y(0xa6),'aliases':aliases,'validOpts':[a70y(0xa4),a70y(0xd2),a70y(0xc1),'cwd',a70y(0xa1),'root','withHook',a70y(0xce)],'usage':a70y(0xd6),'shortDesc':a70y(0xb2),'examples':['maka\x20g:route\x20todosIndex\x20todos',a70y(0xbb),a70y(0xc4),a70y(0xb7)]},function(a,b){const z=a70y;try{const c=this[z(0xaf)][z(0xc7)]();this[z(0xaf)][z(0x9d)](c,async()=>{const A=z,d=b[A(0xa4)]??![];let f=paramCase(a[0x0]),g='/'+f;a['length']>0x1&&(g='/'+a[A(0xa7)](function(l){return l!=='/';})[A(0xb5)]('/')['toLowerCase']());f=camelCase(f);b['layout']&&(b[A(0xd2)]=camelCase(b[A(0xd2)]));const h=a70e[A(0xb5)]('/imports/ui/pages',f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b[A(0xd2)]||'MasterLayout','templatePath':h,'templateName':pascalCase(f),'client':c[A(0x9a)][A(0xd1)],'newForm':![],'withTranslations':c['features'][A(0xbc)]};d&&(i[A(0xd2)]=A(0xb6));if(!b[A(0xd0)]){const l=a70f[A(0xc8)]('page');l&&await l[A(0xa3)](a,b);}let j,k;if(c[A(0x9a)][A(0xd1)]===A(0xbd)){if(c['engines']['ssr']===A(0xba)){const p=this['fsi'][A(0xb0)]({'pathParts':['imports',A(0xc9),'lib',A(0xb8)]});j=this[A(0xaf)][A(0xb3)]({'pathParts':[p],'config':c});}else{const q=this[A(0xaf)]['pathFromApp']({'pathParts':['imports',A(0xc9),A(0xd1),A(0xb8)]});j=this[A(0xaf)][A(0xb3)]({'pathParts':[q],'config':c});}const m=this[A(0xaf)][A(0xc0)](j)[A(0xca)]((r,s)=>{const B=A;return r[B(0xcb)]('import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;')?s+0x1:null;})[A(0xa7)](r=>r!==null);let n=this[A(0xaf)][A(0xc0)](j)[A(0xca)]((r,s)=>{const C=A;return r[C(0xcb)](C(0x98))?s+0x1:null;})[A(0xa7)](r=>r!==null),o=this['fsi'][A(0xc0)](j)[A(0xca)]((r,s)=>{const D=A;return r[D(0xcb)](D(0xd3))?s+0x1:null;})[A(0xa7)](r=>r!==null);n[A(0x9f)]>0x0&&o[A(0x9f)]>0x0&&(i['newForm']=!![]);k=this['fsi'][A(0xb1)]({'srcPath':A(0xd4),'framework':A(0xbd),'context':i,'config':c});if(n[A(0x9f)]>0x0||o[A(0x9f)]>0x0){this[A(0xaf)][A(0xaa)]({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[A(0x9f)]>0x0)o=this[A(0xaf)]['readFileLines'](j)[A(0xca)]((r,s)=>{const E=A;return r['includes'](E(0xd3))?s+0x1:null;})[A(0xa7)](r=>r!==null),this[A(0xaf)][A(0xaa)]({'filePath':j,'content':'\x09{'+i['templateName']+'}','lineNumber':o[0x0]});else n[A(0x9f)]>0x0?(n=this[A(0xaf)][A(0xc0)](j)[A(0xca)]((r,s)=>{const F=A;return r['includes'](F(0x98))?s+0x1:null;})[A(0xa7)](r=>r!==null),this[A(0xaf)][A(0xaa)]({'filePath':j,'content':'\x09{'+i['templateName']+'}','lineNumber':n[0x0]})):Log[A(0xd7)](A(0xa2)+j);}else{const r=this[A(0xaf)][A(0xc0)](j)[A(0xca)](u=>{const G=A;return u[G(0xcb)](G(0xab));}),s=r[A(0xcd)](!![])>-0x1,t=s?A(0xcf):A(0x97);this[A(0xaf)][A(0xa8)]({'filePath':j,'content':A(0xac)+k+'\x0a\x09\x09','begin':A(0xcc),'end':t});}}else{if(c[A(0x9a)][A(0xd1)]===A(0xb4)){const u=this[A(0xaf)][A(0xb0)]({'pathParts':['imports','startup',A(0xd1),A(0xb8)]});j=this[A(0xaf)][A(0xb3)]({'pathParts':[u],'config':c}),k=this['fsi'][A(0xb1)]({'srcPath':A(0xd4),'context':i}),this['fsi'][A(0xbf)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log[z(0xc5)](d);}});
1
+ const a70y=a70d;(function(a,b){const v=a70d,c=a();while(!![]){try{const d=-parseInt(v(0x1e7))/0x1+parseInt(v(0x1d4))/0x2*(-parseInt(v(0x1df))/0x3)+-parseInt(v(0x1e9))/0x4+parseInt(v(0x1cf))/0x5+-parseInt(v(0x1b4))/0x6+-parseInt(v(0x1bf))/0x7+parseInt(v(0x1b1))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a70c,0x9b200));const a70b=(function(){let a=!![];return function(b,c){const d=a?function(){const w=a70d;if(c){const e=c[w(0x1ed)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a70a=a70b(this,function(){const x=a70d;return a70a['toString']()['search']('(((.+)+)+)+$')[x(0x1d9)]()[x(0x1ca)](a70a)[x(0x1e6)](x(0x1c9));});a70a();import a70e from'path';function a70c(){const H=['30466912wbJnrc','join','injectAtEndOfFile','4244040HrbjTe','\x22*\x22','route/route.js','invoke','rewriteDestinationPathForEngine','\x0a\x09\x09','Could\x20not\x20find\x20a\x20suitable\x20location\x20to\x20enable\x20this\x20route.\x20\x20Please\x20inspect\x20','page','private','true','layout','7087381QTtwgv','Scaffolding\x20for\x20a\x20Route.','create','lib','imports','getProjectConfig','<Route','route','only','root','(((.+)+)+)+$','constructor','findGenerator','includes','/imports/ui/pages','routes.js','307940NkMSzX','url','config','withValue','toLowerCase','28328EwgIhN','readFileLines','fsi','newForm','cwd','toString','pathFromApp','filter','const\x20publicRoutes\x20=\x20(<>','templateName','maka\x20g:route\x20usersShow\x20users/:id/show\x20--layout\x20userView','48cUbYKq','length','injectIntoFile','react','withHook','import\x20*\x20as\x20Component\x20from\x20\x27./templates\x27;','injectAfterLineNumber','search','689051cHkwey','maka\x20{generate,\x20g}:{route,\x20r}\x20[path/]<name>\x20[url]\x20[--private]','2396248jYNdkw','const\x20privateRoutes\x20=\x20(<>','MasterLayout','features','apply','templateContent','client','engines','map','startup'];a70c=function(){return H;};return a70c();}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import a70f from'../generators/maka.gen.js';import{camelCase,paramCase,pascalCase}from'change-case';function a70d(a,b){const c=a70c();return a70d=function(d,e){d=d-0x1ae;let f=c[d];return f;},a70d(a,b);}const aliases=['r'];Generator[a70y(0x1c1)]({'name':a70y(0x1c6),'aliases':aliases,'validOpts':['private',a70y(0x1be),a70y(0x1c7),a70y(0x1d8),a70y(0x1d1),a70y(0x1c8),a70y(0x1e3),a70y(0x1d0)],'usage':a70y(0x1e8),'shortDesc':a70y(0x1c0),'examples':['maka\x20g:route\x20todosIndex\x20todos','maka\x20g:route\x20todosEdit\x20todos/:id/edit',a70y(0x1de),'maka\x20g:route\x20lists/listIndex\x20lists']},function(a,b){const z=a70y;try{const c=this[z(0x1d6)][z(0x1c4)]();this['fsi'][z(0x1d2)](c,async()=>{const A=z,d=b[A(0x1bc)]??![];let f=paramCase(a[0x0]),g='/'+f;a[A(0x1e0)]>0x1&&(g='/'+a[A(0x1db)](function(l){return l!=='/';})[A(0x1b2)]('/')[A(0x1d3)]());f=camelCase(f);b['layout']&&(b[A(0x1be)]=camelCase(b[A(0x1be)]));const h=a70e[A(0x1b2)](A(0x1cd),f,f),i={'name':f,'fileCase':paramCase(f),'camelCaseName':camelCase(f),'url':g,'layout':b[A(0x1be)]||A(0x1eb),'templatePath':h,'templateName':pascalCase(f),'client':c['engines'][A(0x1ef)],'newForm':![],'withTranslations':c[A(0x1ec)]['withTranslations']};d&&(i[A(0x1be)]='PrivateLayout');if(!b[A(0x1c8)]){const l=a70f[A(0x1cb)](A(0x1bb));l&&await l[A(0x1b7)](a,b);}let j,k;if(c[A(0x1ae)][A(0x1ef)]===A(0x1e2)){if(c['engines']['ssr']===A(0x1bd)){const p=this[A(0x1d6)][A(0x1da)]({'pathParts':['imports',A(0x1b0),A(0x1c2),A(0x1ce)]});j=this[A(0x1d6)][A(0x1b8)]({'pathParts':[p],'config':c});}else{const q=this[A(0x1d6)][A(0x1da)]({'pathParts':[A(0x1c3),A(0x1b0),A(0x1ef),A(0x1ce)]});j=this[A(0x1d6)][A(0x1b8)]({'pathParts':[q],'config':c});}const m=this[A(0x1d6)][A(0x1d5)](j)[A(0x1af)]((r,s)=>{const B=A;return r[B(0x1cc)](B(0x1e4))?s+0x1:null;})['filter'](r=>r!==null);let n=this[A(0x1d6)][A(0x1d5)](j)[A(0x1af)]((r,s)=>{const C=A;return r[C(0x1cc)](C(0x1dc))?s+0x1:null;})[A(0x1db)](r=>r!==null),o=this[A(0x1d6)][A(0x1d5)](j)[A(0x1af)]((r,s)=>{const D=A;return r[D(0x1cc)](D(0x1ea))?s+0x1:null;})[A(0x1db)](r=>r!==null);n[A(0x1e0)]>0x0&&o['length']>0x0&&(i[A(0x1d7)]=!![]);k=this[A(0x1d6)]['templateContent']({'srcPath':A(0x1b6),'framework':A(0x1e2),'context':i,'config':c});if(n['length']>0x0||o[A(0x1e0)]>0x0){this[A(0x1d6)]['injectAfterLineNumber']({'filePath':j,'content':k,'lineNumber':m[0x0]});if(d&&o[A(0x1e0)]>0x0)o=this[A(0x1d6)][A(0x1d5)](j)[A(0x1af)]((r,s)=>{const E=A;return r[E(0x1cc)](E(0x1ea))?s+0x1:null;})[A(0x1db)](r=>r!==null),this[A(0x1d6)][A(0x1e5)]({'filePath':j,'content':'\x09{'+i[A(0x1dd)]+'}','lineNumber':o[0x0]});else n[A(0x1e0)]>0x0?(n=this['fsi'][A(0x1d5)](j)[A(0x1af)]((r,s)=>{const F=A;return r[F(0x1cc)](F(0x1dc))?s+0x1:null;})['filter'](r=>r!==null),this[A(0x1d6)]['injectAfterLineNumber']({'filePath':j,'content':'\x09{'+i[A(0x1dd)]+'}','lineNumber':n[0x0]})):Log['warn'](A(0x1ba)+j);}else{const r=this['fsi'][A(0x1d5)](j)[A(0x1af)](u=>{const G=A;return u[G(0x1cc)](G(0x1b5));}),s=r['indexOf'](!![])>-0x1,t=s?A(0x1c5):'</Router>';this['fsi'][A(0x1e1)]({'filePath':j,'content':A(0x1b9)+k+'\x0a\x09\x09','begin':'<Router','end':t});}}else{if(c[A(0x1ae)][A(0x1ef)]==='vanilla'){const u=this[A(0x1d6)]['pathFromApp']({'pathParts':[A(0x1c3),'startup',A(0x1ef),A(0x1ce)]});j=this[A(0x1d6)]['rewriteDestinationPathForEngine']({'pathParts':[u],'config':c}),k=this['fsi'][A(0x1ee)]({'srcPath':A(0x1b6),'context':i}),this['fsi'][A(0x1b3)]({'filePath':j,'content':'\x0a'+k});}}});}catch(d){Log['error'](d);}});