@maka/maka-cli 5.0.14 → 5.0.15

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 (166) hide show
  1. package/bundle/obf/package.json +1 -1
  2. package/bundle/obf/src/command.js +1 -1
  3. package/bundle/obf/src/commands/_index.js +1 -1
  4. package/bundle/obf/src/commands/ai.js +1 -1
  5. package/bundle/obf/src/commands/aws/_index.js +1 -1
  6. package/bundle/obf/src/commands/aws/aws.command.js +1 -1
  7. package/bundle/obf/src/commands/aws/cecr.sub.cmd.js +1 -1
  8. package/bundle/obf/src/commands/aws/chz.sub.cmd.js +1 -1
  9. package/bundle/obf/src/commands/aws/ci.sub.cmd.js +1 -1
  10. package/bundle/obf/src/commands/aws/ckp.sub.cmd.js +1 -1
  11. package/bundle/obf/src/commands/aws/csg.sub.cmd.js +1 -1
  12. package/bundle/obf/src/commands/aws/decr.sub.cmd.js +1 -1
  13. package/bundle/obf/src/commands/aws/di.sub.cmd.js +1 -1
  14. package/bundle/obf/src/commands/aws/dkp.sub.cmd.js +1 -1
  15. package/bundle/obf/src/commands/aws/dsg.sub.cmd.js +1 -1
  16. package/bundle/obf/src/commands/aws/lecr.sub.cmd.js +1 -1
  17. package/bundle/obf/src/commands/aws/rbi.sub.cmd.js +1 -1
  18. package/bundle/obf/src/commands/aws/rdn.sub.cmd.js +1 -1
  19. package/bundle/obf/src/commands/aws/rkp.sub.cmd.js +1 -1
  20. package/bundle/obf/src/commands/aws/sth.sub.cmd.js +1 -1
  21. package/bundle/obf/src/commands/aws/ti.sub.cmd.js +1 -1
  22. package/bundle/obf/src/commands/build/_index.js +1 -1
  23. package/bundle/obf/src/commands/build/build.js +1 -1
  24. package/bundle/obf/src/commands/build/docker.sub.cmd.js +1 -1
  25. package/bundle/obf/src/commands/create.js +1 -1
  26. package/bundle/obf/src/commands/debug.js +1 -1
  27. package/bundle/obf/src/commands/deploy/_index.js +1 -1
  28. package/bundle/obf/src/commands/deploy/deploy.command.js +1 -1
  29. package/bundle/obf/src/commands/deploy/galaxy.sub.cmd.js +1 -1
  30. package/bundle/obf/src/commands/deploy/ubuntu.sub.cmd.js +1 -1
  31. package/bundle/obf/src/commands/game/_index.js +1 -1
  32. package/bundle/obf/src/commands/game/battleship.sub.cmd.js +1 -1
  33. package/bundle/obf/src/commands/game/play.command.js +1 -1
  34. package/bundle/obf/src/commands/game/pong.sub.cmd.js +1 -1
  35. package/bundle/obf/src/commands/game/sideQuest/commands/command.js +1 -1
  36. package/bundle/obf/src/commands/game/sideQuest/commands/drop.js +1 -1
  37. package/bundle/obf/src/commands/game/sideQuest/commands/equip.js +1 -1
  38. package/bundle/obf/src/commands/game/sideQuest/commands/go.js +1 -1
  39. package/bundle/obf/src/commands/game/sideQuest/commands/lock.js +1 -1
  40. package/bundle/obf/src/commands/game/sideQuest/commands/look.js +1 -1
  41. package/bundle/obf/src/commands/game/sideQuest/commands/say.js +1 -1
  42. package/bundle/obf/src/commands/game/sideQuest/commands/search.js +1 -1
  43. package/bundle/obf/src/commands/game/sideQuest/commands/solve.js +1 -1
  44. package/bundle/obf/src/commands/game/sideQuest/commands/take.js +1 -1
  45. package/bundle/obf/src/commands/game/sideQuest/commands/unequip.js +1 -1
  46. package/bundle/obf/src/commands/game/sideQuest/commands/unlock.js +1 -1
  47. package/bundle/obf/src/commands/game/sideQuest/commands/use.js +1 -1
  48. package/bundle/obf/src/commands/game/sideQuest/factories/commandF.js +1 -1
  49. package/bundle/obf/src/commands/game/sideQuest/factories/roomsF.js +1 -1
  50. package/bundle/obf/src/commands/game/sideQuest/game.js +1 -1
  51. package/bundle/obf/src/commands/game/sideQuest/models/_index.js +1 -1
  52. package/bundle/obf/src/commands/game/sideQuest/models/door.js +1 -1
  53. package/bundle/obf/src/commands/game/sideQuest/models/inventory.js +1 -1
  54. package/bundle/obf/src/commands/game/sideQuest/models/item.js +1 -1
  55. package/bundle/obf/src/commands/game/sideQuest/models/npc.js +1 -1
  56. package/bundle/obf/src/commands/game/sideQuest/models/player.js +1 -1
  57. package/bundle/obf/src/commands/game/sideQuest/models/puzzle.js +1 -1
  58. package/bundle/obf/src/commands/game/sideQuest/models/room.js +1 -1
  59. package/bundle/obf/src/commands/game/sideQuest/models/scene.js +1 -1
  60. package/bundle/obf/src/commands/game/sideQuest/scenes/items.js +1 -1
  61. package/bundle/obf/src/commands/game/sideQuest/scenes/rooms.js +1 -1
  62. package/bundle/obf/src/commands/game/sideQuest/types/abstracts.js +1 -1
  63. package/bundle/obf/src/commands/game/sideQuest/types/enums.js +1 -1
  64. package/bundle/obf/src/commands/game/sideQuest/types/interfaces.js +1 -1
  65. package/bundle/obf/src/commands/game/sideQuest/types/types.js +1 -1
  66. package/bundle/obf/src/commands/game/sideQuest/ui.js +1 -1
  67. package/bundle/obf/src/commands/game/sideQuest/utilities/logger.js +1 -1
  68. package/bundle/obf/src/commands/game/sideQuest.sub.cmd.js +1 -1
  69. package/bundle/obf/src/commands/game/snake.sub.cmd.js +1 -1
  70. package/bundle/obf/src/commands/game/tetris.sub.cmd.js +1 -1
  71. package/bundle/obf/src/commands/generate.js +1 -1
  72. package/bundle/obf/src/commands/get/_index.js +1 -1
  73. package/bundle/obf/src/commands/get/get.command.js +1 -1
  74. package/bundle/obf/src/commands/get/global.sub.cmd.js +1 -1
  75. package/bundle/obf/src/commands/get/local.sub.cmd.js +1 -1
  76. package/bundle/obf/src/commands/get/whoami.sub.cmd.js +1 -1
  77. package/bundle/obf/src/commands/help.js +1 -1
  78. package/bundle/obf/src/commands/install.js +1 -1
  79. package/bundle/obf/src/commands/jsdoc.js +1 -1
  80. package/bundle/obf/src/commands/lint.js +1 -1
  81. package/bundle/obf/src/commands/login.js +1 -1
  82. package/bundle/obf/src/commands/logout.js +1 -1
  83. package/bundle/obf/src/commands/logs.js +1 -1
  84. package/bundle/obf/src/commands/maka.cmd.js +1 -1
  85. package/bundle/obf/src/commands/murder.js +1 -1
  86. package/bundle/obf/src/commands/profile.js +1 -1
  87. package/bundle/obf/src/commands/proxy.js +1 -1
  88. package/bundle/obf/src/commands/reconfig.js +1 -1
  89. package/bundle/obf/src/commands/register.js +1 -1
  90. package/bundle/obf/src/commands/run/_index.js +1 -1
  91. package/bundle/obf/src/commands/run/docker.sub.cmd.js +1 -1
  92. package/bundle/obf/src/commands/run/run.command.js +1 -1
  93. package/bundle/obf/src/commands/set/_index.js +1 -1
  94. package/bundle/obf/src/commands/set/global.sub.cmd.js +1 -1
  95. package/bundle/obf/src/commands/set/local.sub.cmd.js +1 -1
  96. package/bundle/obf/src/commands/set/set.command.js +1 -1
  97. package/bundle/obf/src/commands/ssh.js +1 -1
  98. package/bundle/obf/src/commands/ssl.js +1 -1
  99. package/bundle/obf/src/commands/test.js +1 -1
  100. package/bundle/obf/src/commands/undo.js +1 -1
  101. package/bundle/obf/src/commands/version.js +1 -1
  102. package/bundle/obf/src/error.js +1 -1
  103. package/bundle/obf/src/exec.js +1 -1
  104. package/bundle/obf/src/generator.js +1 -1
  105. package/bundle/obf/src/generators/_index.js +1 -1
  106. package/bundle/obf/src/generators/api.js +1 -1
  107. package/bundle/obf/src/generators/aws/_index.js +1 -1
  108. package/bundle/obf/src/generators/aws/aws.js +1 -1
  109. package/bundle/obf/src/generators/aws/cloudformation/_index.js +1 -1
  110. package/bundle/obf/src/generators/aws/cloudformation/cloudformation.js +1 -1
  111. package/bundle/obf/src/generators/aws/cloudformation/create-ec2-instance.cf.gen.js +1 -1
  112. package/bundle/obf/src/generators/collection.js +1 -1
  113. package/bundle/obf/src/generators/component.js +1 -1
  114. package/bundle/obf/src/generators/config.js +1 -1
  115. package/bundle/obf/src/generators/dbc.js +1 -1
  116. package/bundle/obf/src/generators/dockerfile.js +1 -1
  117. package/bundle/obf/src/generators/hook.js +1 -1
  118. package/bundle/obf/src/generators/kits/_index.js +1 -1
  119. package/bundle/obf/src/generators/kits/auth/_index.js +1 -1
  120. package/bundle/obf/src/generators/kits/auth/auth.generator.js +1 -1
  121. package/bundle/obf/src/generators/kits/auth/basic-meteor.auth.gen.js +1 -1
  122. package/bundle/obf/src/generators/kits/auth/provider.auth.gen.js +1 -1
  123. package/bundle/obf/src/generators/kits/esri/_index.js +1 -1
  124. package/bundle/obf/src/generators/kits/esri/esri.generator.js +1 -1
  125. package/bundle/obf/src/generators/kits/esri/map.esri.gen.js +1 -1
  126. package/bundle/obf/src/generators/kits/kit.js +1 -1
  127. package/bundle/obf/src/generators/kits/mui/_index.js +1 -1
  128. package/bundle/obf/src/generators/kits/mui/auth.mui.gen.js +1 -1
  129. package/bundle/obf/src/generators/kits/mui/frame.mui.gen.js +1 -1
  130. package/bundle/obf/src/generators/kits/mui/mui.generator.js +1 -1
  131. package/bundle/obf/src/generators/layout.js +1 -1
  132. package/bundle/obf/src/generators/maka.gen.js +1 -1
  133. package/bundle/obf/src/generators/methods.js +1 -1
  134. package/bundle/obf/src/generators/package.js +1 -1
  135. package/bundle/obf/src/generators/page.js +1 -1
  136. package/bundle/obf/src/generators/publish.js +1 -1
  137. package/bundle/obf/src/generators/route.js +1 -1
  138. package/bundle/obf/src/generators/service.js +1 -1
  139. package/bundle/obf/src/generators/services/_index.js +1 -1
  140. package/bundle/obf/src/generators/services/openssl.js +1 -1
  141. package/bundle/obf/src/generators/services/translation.js +1 -1
  142. package/bundle/obf/src/maka.js +1 -1
  143. package/bundle/obf/src/tool.js +1 -1
  144. package/bundle/obf/src/tools/actions/actions.class.js +1 -1
  145. package/bundle/obf/src/tools/aws/aws.class.js +1 -1
  146. package/bundle/obf/src/tools/aws/aws.interfaces.js +1 -1
  147. package/bundle/obf/src/tools/cfg/cfg.class.js +1 -1
  148. package/bundle/obf/src/tools/docker/docker.class.js +1 -1
  149. package/bundle/obf/src/tools/docker/docker.interfaces.js +1 -1
  150. package/bundle/obf/src/tools/fsi/fsi.class.js +1 -1
  151. package/bundle/obf/src/tools/fsi/fsi.interfaces.js +1 -1
  152. package/bundle/obf/src/tools/https/https.class.js +1 -1
  153. package/bundle/obf/src/tools/https/https.interface.js +1 -1
  154. package/bundle/obf/src/tools/log/log.class.js +1 -1
  155. package/bundle/obf/src/tools/log/log.interfaces.js +1 -1
  156. package/bundle/obf/src/tools/mpi/mpi.class.js +1 -1
  157. package/bundle/obf/src/tools/options/options.class.js +1 -1
  158. package/bundle/obf/src/tools/pkg/pkg.class.js +1 -1
  159. package/bundle/obf/src/tools/progress/progress.class.js +1 -1
  160. package/bundle/obf/src/tools/scaffold/scaffold.class.js +1 -1
  161. package/bundle/obf/src/tools/spawn-async/spawn-async.class.js +1 -1
  162. package/bundle/obf/src/tools/spawn-async/spawn-async.interfaces.js +1 -1
  163. package/bundle/obf/src/tools/ssh/ssh.class.js +1 -1
  164. package/bundle/obf/src/tools/ssh/ssh.interfaces.js +1 -1
  165. package/bundle/obf/src/tools/ssl/ssl.class.js +1 -1
  166. package/package.json +1 -1
@@ -1 +1 @@
1
- (function(a,b){var f=a117d,c=a();while(!![]){try{var d=parseInt(f(0xff))/0x1*(-parseInt(f(0xf8))/0x2)+-parseInt(f(0xfb))/0x3+-parseInt(f(0xf6))/0x4+parseInt(f(0xf1))/0x5*(parseInt(f(0xf3))/0x6)+-parseInt(f(0xfc))/0x7*(parseInt(f(0x100))/0x8)+-parseInt(f(0xf5))/0x9+-parseInt(f(0xfa))/0xa*(-parseInt(f(0xf4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xcbf3b));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0xf2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a[h(0xf9)]()[h(0xf7)](h(0xfe))['toString']()[h(0xfd)](a117a)[h(0xf7)](h(0xfe));});function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0xf1;var f=c[d];return f;},a117d(a,b);}a117a();import'./kit.js';import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';function a117c(){var i=['search','384312rsBbix','toString','3421670dLBdBM','672615bYYZmB','416675GaEDuJ','constructor','(((.+)+)+)+$','1qHaCvi','112pheorJ','1700210OArFoy','apply','18LxoWly','88uiJINY','129042ikXotV','6632104TfICAg'];a117c=function(){return i;};return a117c();}
1
+ (function(a,b){var f=a117d,c=a();while(!![]){try{var d=-parseInt(f(0x185))/0x1*(parseInt(f(0x181))/0x2)+-parseInt(f(0x180))/0x3+-parseInt(f(0x18b))/0x4+-parseInt(f(0x186))/0x5+-parseInt(f(0x189))/0x6+-parseInt(f(0x18a))/0x7+parseInt(f(0x188))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a117c,0xbaebe));var a117b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a117d;if(c){var e=c[g(0x184)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a117a=a117b(this,function(){var h=a117d;return a117a[h(0x187)]()[h(0x183)](h(0x182))['toString']()['constructor'](a117a)[h(0x183)](h(0x182));});a117a();function a117d(a,b){var c=a117c();return a117d=function(d,e){d=d-0x180;var f=c[d];return f;},a117d(a,b);}import'./kit.js';function a117c(){var i=['2011962YsHbjC','4319553UvVFKo','2516LYDcqD','2697147JcUzVG','2811718owiAhY','(((.+)+)+)+$','search','apply','1mPEBfe','7472265PEMmpC','toString','44144208NreffR'];a117c=function(){return i;};return a117c();}import'./mui/_index.js';import'./esri/_index.js';import'./auth/_index.js';
@@ -1 +1 @@
1
- function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x12c;var f=c[d];return f;},a118d(a,b);}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=-parseInt(f(0x138))/0x1+parseInt(f(0x137))/0x2*(parseInt(f(0x12d))/0x3)+parseInt(f(0x134))/0x4+-parseInt(f(0x131))/0x5*(-parseInt(f(0x13a))/0x6)+-parseInt(f(0x133))/0x7*(parseInt(f(0x13b))/0x8)+parseInt(f(0x136))/0x9*(-parseInt(f(0x12f))/0xa)+parseInt(f(0x132))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x19da3));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x139)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x130)]()['search'](h(0x135))['toString']()[h(0x12c)](a118a)[h(0x12e)](h(0x135));});a118a();import'./auth.generator.js';function a118c(){var i=['6czCzpW','search','868520FLWyWf','toString','208495SrXDAM','480744ChUaIq','310037tROTcn','553700rqBgNc','(((.+)+)+)+$','18mFjiQq','115436nJzZTR','140475TViOsQ','apply','24SkOWoz','8GuZELa','constructor'];a118c=function(){return i;};return a118c();}import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
1
+ function a118c(){var i=['5sHvbGl','8tHvkwH','232040DZRNuo','462148zMLhia','1554456LRhbbU','constructor','search','toString','901773PVoTPX','2615770GbGZcd','apply','(((.+)+)+)+$','42LBPjmg','2583091SezkKX','11GUGZId','28874aKJoWf'];a118c=function(){return i;};return a118c();}(function(a,b){var f=a118d,c=a();while(!![]){try{var d=parseInt(f(0x1d6))/0x1+parseInt(f(0x1e3))/0x2*(-parseInt(f(0x1e0))/0x3)+parseInt(f(0x1d7))/0x4*(parseInt(f(0x1e4))/0x5)+parseInt(f(0x1d8))/0x6+-parseInt(f(0x1e1))/0x7*(parseInt(f(0x1d5))/0x8)+-parseInt(f(0x1dc))/0x9+-parseInt(f(0x1dd))/0xa*(-parseInt(f(0x1e2))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a118c,0x30126));var a118b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a118d;if(c){var e=c[g(0x1de)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a118a=a118b(this,function(){var h=a118d;return a118a[h(0x1db)]()[h(0x1da)]('(((.+)+)+)+$')[h(0x1db)]()[h(0x1d9)](a118a)['search'](h(0x1df));});function a118d(a,b){var c=a118c();return a118d=function(d,e){d=d-0x1d5;var f=c[d];return f;},a118d(a,b);}a118a();import'./auth.generator.js';import'./provider.auth.gen.js';import'./basic-meteor.auth.gen.js';
@@ -1 +1 @@
1
- const a119i=a119d;function a119c(){const k=['auth','create','Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','apply','126hGJtUZ','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','444670WQZlWb','1562472WcwMwy','3790647PmSkTH','20BOQTEw','242118QnBiUS','97101GbmQoU','search','(((.+)+)+)+$','maka\x20g:kit:a','54887myLLVz','87669idStXM','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','NIE'];a119c=function(){return k;};return a119c();}(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x19b))/0x1+parseInt(f(0x1a9))/0x2+parseInt(f(0x196))/0x3*(parseInt(f(0x1a8))/0x4)+-parseInt(f(0x1a5))/0x5+-parseInt(f(0x1a3))/0x6*(-parseInt(f(0x19a))/0x7)+parseInt(f(0x1a6))/0x8+-parseInt(f(0x1a7))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0x35d00));const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x1a2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x19c)]()[h(0x197)](h(0x198))[h(0x19c)]()['constructor'](a119a)[h(0x197)](h(0x198));});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator[a119i(0x1a0)]({'name':a119i(0x19f),'aliases':['a'],'usage':a119i(0x19d),'noNeedResource':!![],'shortDesc':a119i(0x1a1),'validOpts':[''],'isPro':!![],'examples':[a119i(0x199)],'description':a119i(0x1a4)},async function(){const j=a119i;throw j(0x19e);},async function(){},a119e);function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x196;let f=c[d];return f;},a119d(a,b);}export default AuthGen;
1
+ const a119i=a119d;(function(a,b){const f=a119d,c=a();while(!![]){try{const d=parseInt(f(0x138))/0x1+parseInt(f(0x132))/0x2+-parseInt(f(0x128))/0x3+-parseInt(f(0x129))/0x4+-parseInt(f(0x134))/0x5*(-parseInt(f(0x12b))/0x6)+parseInt(f(0x12d))/0x7*(parseInt(f(0x12f))/0x8)+parseInt(f(0x136))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a119c,0xd861f));function a119d(a,b){const c=a119c();return a119d=function(d,e){d=d-0x128;let f=c[d];return f;},a119d(a,b);}const a119b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a119d;if(c){const e=c[g(0x133)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a119a=a119b(this,function(){const h=a119d;return a119a[h(0x135)]()['search'](h(0x13a))[h(0x135)]()[h(0x139)](a119a)[h(0x12c)]('(((.+)+)+)+$');});a119a();import{Generator}from'../../../generator.js';import a119e from'../kit.js';const AuthGen=Generator[a119i(0x12e)]({'name':a119i(0x137),'aliases':['a'],'usage':a119i(0x131),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20an\x20Auth\x20Provider','validOpts':[''],'isPro':!![],'examples':[a119i(0x12a)],'description':a119i(0x130)},async function(){throw'NIE';},async function(){},a119e);export default AuthGen;function a119c(){const j=['200jhqXLJ','toString','8788572aUisFx','auth','309768csmblc','constructor','(((.+)+)+)+$','573528xJWDVS','5158116wSJCfZ','maka\x20g:kit:a','24702Vlronh','search','35NFemCz','create','1296216njkhxm','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x20\x20','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:<kit-name>','211834MTCKQC','apply'];a119c=function(){return j;};return a119c();}
@@ -1 +1 @@
1
- const a120q=a120d;(function(a,b){const o=a120d,c=a();while(!![]){try{const d=-parseInt(o(0x147))/0x1*(-parseInt(o(0x162))/0x2)+-parseInt(o(0x14e))/0x3*(-parseInt(o(0x172))/0x4)+-parseInt(o(0x16b))/0x5*(-parseInt(o(0x16c))/0x6)+-parseInt(o(0x171))/0x7+-parseInt(o(0x16a))/0x8*(-parseInt(o(0x186))/0x9)+-parseInt(o(0x151))/0xa*(parseInt(o(0x174))/0xb)+-parseInt(o(0x187))/0xc*(parseInt(o(0x14b))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0x46b31));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const p=a120d;return a120a[p(0x146)]()['search'](p(0x164))[p(0x146)]()[p(0x142)](a120a)[p(0x17a)](p(0x164));});a120a();import{Generator}from'../../../generator.js';function a120c(){const s=['443748hHMDKk','processAndRunGenerator','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','Accounts','true','2733577gbxYDF','4ZySpuI','engines','11wUUaxs','pkg','ssr','force','startup','alanning:roles','search','scaffold','/imports/startup/lib/authentication-service','Meteor.publish','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','injectIntoFile','publish','/imports/startup/client/authentication-service','imports','meteor','pathFromApp','meteor/meteor','807516JgzImp','6979524ptpfqh','fsi','constructor','meteor/accounts-base','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','error','toString','3191IIZLyQ','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','const\x20resetPasswordWithToken','auth/roles','13VKBvfb','injectIntoCodeBlock','server','824523XOHItB','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','3516610trcyxw','authentication-service','create','getMakaProjectConfig','const\x20registerNewUser','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','.js','const\x20sendForgotPasswordEmail','meteor/maka:react-tracker','const\x20authenticateToken','const\x20deauthenticateUser','findProjectDirectory','/imports/startup/client','template','Meteor','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','react','326oHOUZT','kit/auth/service/meteor-auth-service.js','(((.+)+)+)+$','injectImport','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','useTracker','REACT','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','40XkmGXk','25KcPtVA'];a120c=function(){return s;};return a120c();}import{Log}from'../../../tools/log/log.class.js';import a120e from'./auth.generator.js';import a120f from'../../../generators/maka.gen.js';function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x142;let f=c[d];return f;},a120d(a,b);}import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120q(0x153)]({'name':a120q(0x183),'aliases':['m'],'usage':a120q(0x16e),'shortDesc':a120q(0x148),'validOpts':['force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120q(0x168)]},'description':a120q(0x144)},async function(a,b){const r=a120q;try{const c=b[r(0x177)]||![];await this[r(0x175)]['checkMeteorPackage'](['accounts-password',r(0x179)],{'shouldInstall':!![]});const d=this[r(0x188)][r(0x15c)](),f=await this['cfg'][r(0x154)](),g=f[r(0x173)][r(0x176)]===r(0x170);await a120f[r(0x16d)]('kit:auth:provider',[],{'force':c,'cwd':d,'config':f});const h=await a120f[r(0x16d)](r(0x180),[r(0x14a)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?'/imports/startup/lib':r(0x15d),j=this[r(0x17b)]['pathFromApp']({'pathParts':[i,'','',r(0x152)]});await this['scaffold'][r(0x15e)]({'srcPath':r(0x163),'destPath':j+r(0x157),'framework':r(0x161),'context':{},'config':f,'force':c,'ignore':![]});const k=this[r(0x17b)][r(0x184)]({'pathParts':[i,'','','authentication-provider']}),l=f['engines']['js'];await this['scaffold'][r(0x165)]({'filePath':k+'.'+l,'importName':'AuthService','modulePath':g?r(0x17c):r(0x181),'isNamedExport':![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x156),'begin':'const\x20authenticateUser','replace':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x160),'begin':r(0x15a),'replace':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','begin':'const\x20getUserAuthorizations','replace':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x14f),'begin':r(0x15b),'replace':!![]}),await this[r(0x17b)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':r(0x169),'begin':r(0x158),'replace':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x155),'replace':!![]}),await this['scaffold'][r(0x14c)]({'filePath':k+'.'+l,'content':r(0x17e),'begin':r(0x149),'replace':!![]});g&&(await this[r(0x17b)][r(0x165)]({'filePath':k+'.'+l,'importName':r(0x167),'modulePath':r(0x159),'isNamedExport':!![]}),await this[r(0x17b)][r(0x17f)]({'filePath':k+'.'+l,'content':r(0x150),'begin':'export\x20const\x20AuthProvider','end':'return\x20\x5c('}));await this[r(0x17b)]['injectImport']({'filePath':h,'importName':r(0x15f),'modulePath':r(0x185),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][r(0x14c)]({'filePath':h,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','begin':r(0x17d),'replace':!![]});const m=this[r(0x17b)][r(0x184)]({'pathParts':[r(0x182),r(0x178),r(0x14d),'index']});await this[r(0x17b)]['injectImport']({'filePath':m+'.'+l,'importName':r(0x16f),'modulePath':r(0x143),'isNamedExport':!![]}),await this[r(0x17b)][r(0x14c)]({'filePath':m+'.'+l,'content':r(0x166),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[r(0x145)](n),process['exit'](0x1);}},async function(){},a120e);
1
+ const a120r=a120d;function a120c(){const t=['51170NABrYx','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.resetPasswordWithToken(token,\x20password);\x0a\x20\x20\x20\x20\x20\x20','authentication-service','export\x20const\x20AuthProvider','auth/roles','852898IJOePb','useTracker','(((.+)+)+)+$','/imports/startup/client','6hOvITL','\x0a\x20\x20\x20\x20\x20\x20const\x20authorizations\x20=\x20await\x20AuthService.getUserAuthorizations(user.id);\x0a\x20\x20\x20\x20\x20\x20return\x20authorizations;\x0a\x20\x20\x20\x20\x20\x20','kit/auth/service/meteor-auth-service.js','injectIntoFile','207zqENkN','pathFromApp','meteor/accounts-base','Accounts','react','toString','/imports/startup/lib/authentication-service','263500gfALaL','718548WLgPWE','meteor/maka:react-tracker','5oTaZCs','server','AuthService','\x0a\x20\x20\x20\x20\x20\x20\x20\x20//\x20If\x20logged\x20in,\x20return\x20documents\x20owned\x20by\x20this\x20user.\x20Otherwise\x20return\x20nothing.\x0a\x20\x20\x20\x20\x20\x20\x20\x20if\x20(this.userId)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.roleAssignment.find({\x20\x27user._id\x27:\x20this.userId\x20});\x0a\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20[];\x0a\x20\x20\x20\x20\x20\x20','create','index','cfg','REACT','1331548FwEtnO','findProjectDirectory','exit','maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{meteor,\x20m}','\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateUser(username,\x20password);\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','constructor','injectIntoCodeBlock','publish','kit:auth:provider','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context\x20using\x20Meteors\x20default\x20accounts\x20system.','/imports/startup/lib','const\x20authenticateToken','ssr','force','1168XSfkfy','\x0a\x20\x20\x20\x20\x20\x20WebAppInternals.setInlineScriptsAllowed(false);\x0a\x0a\x20\x20\x20\x20\x20\x20Accounts.urls.resetPassword\x20=\x20function\x20(token)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20Meteor.absoluteUrl(\x27reset-password/\x27\x20+\x20token);\x0a\x20\x20\x20\x20\x20\x20};\x0a\x20\x20\x20\x20\x20\x20','\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.deauthenticateUser();\x0a\x20\x20\x20\x20\x20\x20','alanning:roles','Meteor.publish','true','\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20AuthService.registerNewUser(email,\x20password);\x0a\x20\x20\x20\x20\x20\x20','const\x20sendForgotPasswordEmail','apply','checkMeteorPackage','scaffold','743892ezhgXM','Meteor','/imports/startup/client/authentication-service','meteor/meteor','621564ySeTeN','startup','injectImport','return\x20\x5c(','search','error','imports','engines','pkg','processAndRunGenerator','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20start\x20by\x20generating\x20your\x20auth\x20provider\x20and\x20context,\x20and\x20then\x20setup\x20Meteor\x20Accounts\x0a\x20\x20\x20\x20to\x20handle\x20authentication\x20and\x20authorization.\x0a\x20\x20','110hTgTXJ'];a120c=function(){return t;};return a120c();}(function(a,b){const o=a120d,c=a();while(!![]){try{const d=parseInt(o(0x22c))/0x1+-parseInt(o(0x21c))/0x2+parseInt(o(0x220))/0x3*(parseInt(o(0x1ee))/0x4)+-parseInt(o(0x22e))/0x5*(parseInt(o(0x20b))/0x6)+parseInt(o(0x217))/0x7*(parseInt(o(0x1fc))/0x8)+parseInt(o(0x224))/0x9*(-parseInt(o(0x22b))/0xa)+-parseInt(o(0x216))/0xb*(parseInt(o(0x207))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a120c,0xa9d1b));const a120b=(function(){let a=!![];return function(b,c){const d=a?function(){const p=a120d;if(c){const e=c[p(0x204)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a120a=a120b(this,function(){const q=a120d;return a120a[q(0x229)]()[q(0x20f)]('(((.+)+)+)+$')['toString']()[q(0x1f3)](a120a)['search'](q(0x21e));});a120a();function a120d(a,b){const c=a120c();return a120d=function(d,e){d=d-0x1ea;let f=c[d];return f;},a120d(a,b);}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a120e from'./auth.generator.js';import a120f from'../../../generators/maka.gen.js';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a120r(0x1ea)]({'name':'meteor','aliases':['m'],'usage':a120r(0x1f1),'shortDesc':a120r(0x1f7),'validOpts':[a120r(0x1fb)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a120r(0x1ed)]},'description':a120r(0x215)},async function(a,b){const s=a120r;try{const c=b[s(0x1fb)]||![];await this[s(0x213)][s(0x205)](['accounts-password',s(0x1ff)],{'shouldInstall':!![]});const d=this['fsi'][s(0x1ef)](),f=await this[s(0x1ec)]['getMakaProjectConfig'](),g=f[s(0x212)][s(0x1fa)]===s(0x201);await a120f['processAndRunGenerator'](s(0x1f6),[],{'force':c,'cwd':d,'config':f});const h=await a120f[s(0x214)](s(0x1f5),[s(0x21b)],{'force':c,'globalPublish':!![],'cwd':d,'config':f}),i=g?s(0x1f8):s(0x21f),j=this['scaffold']['pathFromApp']({'pathParts':[i,'','',s(0x219)]});await this[s(0x206)]['template']({'srcPath':s(0x222),'destPath':j+'.js','framework':s(0x228),'context':{},'config':f,'force':c,'ignore':![]});const k=this[s(0x206)][s(0x225)]({'pathParts':[i,'','','authentication-provider']}),l=f[s(0x212)]['js'];await this[s(0x206)][s(0x20d)]({'filePath':k+'.'+l,'importName':s(0x230),'modulePath':g?s(0x22a):s(0x209),'isNamedExport':![]}),await this['scaffold'][s(0x1f4)]({'filePath':k+'.'+l,'content':s(0x1f2),'begin':'const\x20authenticateUser','replace':!![]}),await this[s(0x206)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20const\x20user\x20=\x20await\x20AuthService.authenticateToken();\x0a\x20\x20\x20\x20\x20\x20\x20\x20return\x20user;\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x1f9),'replace':!![]}),await this[s(0x206)][s(0x1f4)]({'filePath':k+'.'+l,'content':s(0x221),'begin':'const\x20getUserAuthorizations','replace':!![]}),await this[s(0x206)][s(0x1f4)]({'filePath':k+'.'+l,'content':s(0x1fe),'begin':'const\x20deauthenticateUser','replace':!![]}),await this[s(0x206)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20await\x20AuthService.sendForgotPasswordEmail(email);\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x203),'replace':!![]}),await this[s(0x206)][s(0x1f4)]({'filePath':k+'.'+l,'content':s(0x202),'begin':'const\x20registerNewUser','replace':!![]}),await this[s(0x206)]['injectIntoCodeBlock']({'filePath':k+'.'+l,'content':s(0x218),'begin':'const\x20resetPasswordWithToken','replace':!![]});g&&(await this['scaffold'][s(0x20d)]({'filePath':k+'.'+l,'importName':s(0x21d),'modulePath':s(0x22d),'isNamedExport':!![]}),await this[s(0x206)][s(0x223)]({'filePath':k+'.'+l,'content':'\x0a\x20\x20\x20\x20\x20\x20\x20\x20useTracker(()\x20=>\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.isClient)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20if\x20(Meteor.user()\x20&&\x20!currentUser)\x20{\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20setCurrentUser(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20fetchUserAuthorizations(Meteor.user());\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20}\x0a\x20\x20\x20\x20\x20\x20\x20\x20});\x0a\x0a\x20\x20\x20\x20\x20\x20','begin':s(0x21a),'end':s(0x20e)}));await this[s(0x206)][s(0x20d)]({'filePath':h,'importName':s(0x208),'modulePath':s(0x20a),'isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold']['injectIntoCodeBlock']({'filePath':h,'content':s(0x231),'begin':s(0x200),'replace':!![]});const m=this['scaffold'][s(0x225)]({'pathParts':[s(0x211),s(0x20c),s(0x22f),s(0x1eb)]});await this[s(0x206)][s(0x20d)]({'filePath':m+'.'+l,'importName':s(0x227),'modulePath':s(0x226),'isNamedExport':!![]}),await this[s(0x206)]['injectIntoCodeBlock']({'filePath':m+'.'+l,'content':s(0x1fd),'begin':'Meteor.startup','replace':!![]});}catch(n){Log[s(0x210)](n),process[s(0x1f0)](0x1);}},async function(){},a120e);
@@ -1 +1 @@
1
- const a121w=a121d;function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x10b;let f=c[d];return f;},a121d(a,b);}(function(a,b){const u=a121d,c=a();while(!![]){try{const d=parseInt(u(0x118))/0x1+-parseInt(u(0x139))/0x2+parseInt(u(0x12c))/0x3+-parseInt(u(0x13b))/0x4+-parseInt(u(0x11a))/0x5+-parseInt(u(0x137))/0x6*(parseInt(u(0x131))/0x7)+-parseInt(u(0x12f))/0x8*(-parseInt(u(0x12e))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x4b246));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const v=a121d;return a121a[v(0x111)]()[v(0x12d)]('(((.+)+)+)+$')[v(0x111)]()[v(0x112)](a121a)[v(0x12d)](v(0x10f));});a121a();function a121c(){const y=['<AuthProvider>','replaceAll','template','engines','create','pathFromApp','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','Creating\x20an\x20AuthProvider\x20and\x20AuthContext','split','function\x20useAuth','appName','injectIntoCodeBlock','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','<AppRoutes\x20/>','/imports/startup/lib','scaffold','provider','1518336UPfJnT','search','9kjWFvS','6023768zuVuam','injectImport','742HkLudx','/routes','injectAroundString','/imports/startup/lib/authentication-provider','AuthContext','REACT','2778zsVWGE','react','362792jisgut','</AuthProvider>','1272128jtuYBc','true','cfg','const\x20useAuth','/imports/startup/client/index','(((.+)+)+)+$','getMakaProjectConfig','toString','constructor','authentication-provider','/imports/startup/client/authentication-provider','useContext','/imports/startup/server/index','force','150842XAYhrI','.js','2768185ngthnw'];a121c=function(){return y;};return a121c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a121w(0x11f)]({'name':a121w(0x12b),'aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121w(0x121),'validOpts':[a121w(0x117)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121w(0x136)]},'description':a121w(0x127)},async function(a,b){const x=a121w;try{const c=b['force']||![];Log['bright'](x(0x122));const d=await this[x(0x10c)][x(0x110)](),f=d[x(0x11e)]['ssr']===x(0x10b),g={'name':headerCase(d[x(0x125)])[x(0x11c)]('-','\x20')},h=f?x(0x129):'/imports/startup/client',i=this[x(0x12a)]['pathFromApp']({'pathParts':[h,'','',x(0x113)]});await this['scaffold'][x(0x11d)]({'srcPath':'kit/auth/provider/authentication-provider.js','destPath':i+x(0x119),'framework':x(0x138),'context':g,'config':d,'force':c,'ignore':![]});const j=d['engines']['js'],k=h+x(0x132),l=k[x(0x123)]('/'),m=this[x(0x12a)]['pathFromApp']({'pathParts':l});await this[x(0x12a)][x(0x130)]({'filePath':m+'.'+j,'importName':x(0x135),'modulePath':f?x(0x134):x(0x114),'isNamedExport':!![]}),await this[x(0x12a)]['injectImport']({'filePath':m+'.'+j,'importName':x(0x115),'modulePath':'react','isNamedExport':!![],'injectAtStart':!![]}),await this['scaffold'][x(0x126)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':[x(0x10d),x(0x124)],'replace':!![]}),await this['scaffold'][x(0x126)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','begin':['const\x20PrivateRoute'],'replace':!![]});const n=x(0x10e),o=n[x(0x123)]('/'),p=this[x(0x12a)][x(0x120)]({'pathParts':o});await this[x(0x12a)][x(0x130)]({'filePath':p+'.'+j,'importName':'AuthProvider','modulePath':f?x(0x134):x(0x114),'isNamedExport':!![]}),await this['scaffold'][x(0x133)]({'filePath':p+'.'+j,'aboveContent':x(0x11b),'belowContent':'</AuthProvider>','targetString':x(0x128),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x116),r=q['split']('/'),s=this[x(0x12a)]['pathFromApp']({'pathParts':r});await this[x(0x12a)][x(0x130)]({'filePath':s+'.'+j,'importName':'AuthProvider','modulePath':f?x(0x134):x(0x114),'isNamedExport':!![]}),await this[x(0x12a)][x(0x133)]({'filePath':s+'.'+j,'aboveContent':x(0x11b),'belowContent':x(0x13a),'targetString':x(0x128),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process['exit'](0x1);}},async function(){},a121e);
1
+ const a121w=a121d;(function(a,b){const u=a121d,c=a();while(!![]){try{const d=-parseInt(u(0x168))/0x1+parseInt(u(0x17b))/0x2*(parseInt(u(0x180))/0x3)+-parseInt(u(0x173))/0x4+parseInt(u(0x16f))/0x5+-parseInt(u(0x17d))/0x6*(parseInt(u(0x183))/0x7)+parseInt(u(0x185))/0x8*(-parseInt(u(0x172))/0x9)+parseInt(u(0x186))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a121c,0x691aa));const a121b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a121a=a121b(this,function(){const v=a121d;return a121a['toString']()['search']('(((.+)+)+)+$')[v(0x192)]()[v(0x181)](a121a)['search'](v(0x16a));});a121a();function a121c(){const y=['/imports/startup/lib/authentication-provider','/imports/startup/server/index','Generate\x20a\x20React\x20Authentication\x20Provider\x20and\x20Context','injectAroundString','52WblLTX','react','7458LiCbng','ssr','true','15231wCENLI','constructor','injectIntoCodeBlock','2079NqSnhv','const\x20useAuth','56cUsGFy','9031190ExGifT','REACT','AuthProvider','\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useAuth();\x0a\x20\x20\x20\x20\x20\x20if\x20(loading)\x20return\x20<div>Loading...</div>;\x0a\x20\x20\x20\x20\x20\x20return\x20(currentUser)\x20?\x20<Outlet/>\x20:\x20<Navigate\x20to=\x22/login\x22\x20/>;\x0a\x20\x20\x20\x20\x20\x20','split','cfg','</AuthProvider>','kit/auth/provider/authentication-provider.js','/routes','exit','template','<AppRoutes\x20/>','toString','/imports/startup/client/authentication-provider','<AuthProvider>','bright','scaffold','authentication-provider','engines','65775xrSixF','function\x20useAuth','(((.+)+)+)+$','create','/imports/startup/client','appName','replaceAll','2369280pDsLjF','/imports/startup/lib','\x0a\x20\x20\x20\x20This\x20kit\x20will\x20create\x20a\x20starting\x20point\x20for\x20an\x20Authentication\x20Provider.\x0a\x0a\x20\x20\x20\x20It\x20will\x20also\x20update\x20your\x20Routes\x20file\x20to\x20include\x20the\x20AuthProvider\x20and\x20Context.\x0a\x20\x20\x20\x20for\x20navigation\x20checking.\x0a\x20\x20','516906LIaaat','965948NNZVCt','injectImport','pathFromApp','force'];a121c=function(){return y;};return a121c();}import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a121e from'./auth.generator.js';import{headerCase}from'change-case';import{ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';function a121d(a,b){const c=a121c();return a121d=function(d,e){d=d-0x168;let f=c[d];return f;},a121d(a,b);}Generator[a121w(0x16b)]({'name':'provider','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{kit,\x20k}:{auth,\x20a}:{provider,\x20p}','shortDesc':a121w(0x179),'validOpts':[a121w(0x176)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a121w(0x187)]},'description':a121w(0x171)},async function(a,b){const x=a121w;try{const c=b[x(0x176)]||![];Log[x(0x195)]('Creating\x20an\x20AuthProvider\x20and\x20AuthContext');const d=await this[x(0x18b)]['getMakaProjectConfig'](),f=d[x(0x198)][x(0x17e)]===x(0x17f),g={'name':headerCase(d[x(0x16d)])[x(0x16e)]('-','\x20')},h=f?x(0x170):x(0x16c),i=this['scaffold'][x(0x175)]({'pathParts':[h,'','',x(0x197)]});await this[x(0x196)][x(0x190)]({'srcPath':x(0x18d),'destPath':i+'.js','framework':x(0x17c),'context':g,'config':d,'force':c,'ignore':![]});const j=d[x(0x198)]['js'],k=h+x(0x18e),l=k[x(0x18a)]('/'),m=this['scaffold']['pathFromApp']({'pathParts':l});await this[x(0x196)][x(0x174)]({'filePath':m+'.'+j,'importName':'AuthContext','modulePath':f?x(0x177):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x196)][x(0x174)]({'filePath':m+'.'+j,'importName':'useContext','modulePath':x(0x17c),'isNamedExport':!![],'injectAtStart':!![]}),await this[x(0x196)][x(0x182)]({'filePath':m+'.'+j,'content':'\x0a\x20\x20\x20\x20\x20\x20const\x20{\x20currentUser,\x20loading\x20}\x20=\x20useContext(AuthContext);\x0a\x20\x20\x20\x20\x20\x20return\x20{\x20currentUser,\x20loading\x20};\x0a\x20\x20\x20\x20\x20\x20','begin':[x(0x184),x(0x169)],'replace':!![]}),await this[x(0x196)][x(0x182)]({'filePath':m+'.'+j,'content':x(0x189),'begin':['const\x20PrivateRoute'],'replace':!![]});const n='/imports/startup/client/index',o=n['split']('/'),p=this['scaffold'][x(0x175)]({'pathParts':o});await this[x(0x196)]['injectImport']({'filePath':p+'.'+j,'importName':x(0x188),'modulePath':f?x(0x177):'/imports/startup/client/authentication-provider','isNamedExport':!![]}),await this[x(0x196)][x(0x17a)]({'filePath':p+'.'+j,'aboveContent':x(0x194),'belowContent':x(0x18c),'targetString':x(0x191),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});if(f){const q=x(0x178),r=q[x(0x18a)]('/'),s=this[x(0x196)]['pathFromApp']({'pathParts':r});await this[x(0x196)]['injectImport']({'filePath':s+'.'+j,'importName':x(0x188),'modulePath':f?'/imports/startup/lib/authentication-provider':x(0x193),'isNamedExport':!![]}),await this[x(0x196)]['injectAroundString']({'filePath':s+'.'+j,'aboveContent':'<AuthProvider>','belowContent':x(0x18c),'targetString':x(0x191),'indentAdjustment':0x2,'targetIndentAdjustment':0x6});}}catch(t){Log['error'](t),process[x(0x18f)](0x1);}},async function(){},a121e);
@@ -1 +1 @@
1
- (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x1c8))/0x1+parseInt(f(0x1c3))/0x2*(parseInt(f(0x1c9))/0x3)+-parseInt(f(0x1c0))/0x4+-parseInt(f(0x1c2))/0x5+-parseInt(f(0x1c6))/0x6*(-parseInt(f(0x1cb))/0x7)+-parseInt(f(0x1ce))/0x8*(-parseInt(f(0x1cc))/0x9)+parseInt(f(0x1cd))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xa82a7));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a122d;if(c){var e=c[g(0x1c7)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var h=a122d;return a122a[h(0x1ca)]()[h(0x1c4)](h(0x1c5))['toString']()[h(0x1c1)](a122a)[h(0x1c4)](h(0x1c5));});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x1c0;var f=c[d];return f;},a122d(a,b);}import'./esri.generator.js';import'./map.esri.gen.js';function a122c(){var i=['430503CZzkdU','3080631feReMg','toString','1074451izjZBI','1741041fGIbsJ','866290TDIVlx','40lqUTOD','2685292huPigG','constructor','6523085BDQRRM','2fQjPCI','search','(((.+)+)+)+$','6ewCTia','apply'];a122c=function(){return i;};return a122c();}
1
+ (function(a,b){var f=a122d,c=a();while(!![]){try{var d=parseInt(f(0x76))/0x1+parseInt(f(0x73))/0x2+-parseInt(f(0x6e))/0x3*(-parseInt(f(0x79))/0x4)+-parseInt(f(0x74))/0x5+-parseInt(f(0x72))/0x6+-parseInt(f(0x71))/0x7*(parseInt(f(0x75))/0x8)+-parseInt(f(0x6f))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a122c,0xdb83e));var a122b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a122a=a122b(this,function(){var g=a122d;return a122a['toString']()[g(0x77)](g(0x78))[g(0x70)]()['constructor'](a122a)[g(0x77)](g(0x78));});a122a();function a122d(a,b){var c=a122c();return a122d=function(d,e){d=d-0x6e;var f=c[d];return f;},a122d(a,b);}function a122c(){var h=['search','(((.+)+)+)+$','60ceFyRP','331623DAWclL','5554116ALwQzL','toString','637LKGECo','8372250qGnLio','3323760RgCzOv','4439745ruyXRB','16712yodqlb','669686tXIicu'];a122c=function(){return h;};return a122c();}import'./esri.generator.js';import'./map.esri.gen.js';
@@ -1 +1 @@
1
- const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=parseInt(f(0x122))/0x1*(-parseInt(f(0x133))/0x2)+-parseInt(f(0x127))/0x3*(-parseInt(f(0x123))/0x4)+parseInt(f(0x12d))/0x5+parseInt(f(0x12a))/0x6+parseInt(f(0x126))/0x7+-parseInt(f(0x128))/0x8+parseInt(f(0x12b))/0x9*(parseInt(f(0x12f))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0x2a839));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0x12c)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0x132)]()[h(0x131)](h(0x130))[h(0x132)]()[h(0x125)](a123a)[h(0x131)](h(0x130));});a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';function a123c(){const k=['constructor','322105uBFGUL','3kntrxS','1170752GiGQNQ','maka\x20g:kit:e','1083378feYpUy','9tQGgnm','apply','159585YYpgOD','Starting\x20point\x20for\x20generating\x20Esri\x20Maps','993390GmNtnP','(((.+)+)+)+$','search','toString','2VGgcMN','esri','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','122434QwtFyU','340324bUxaBk','/foo/bar'];a123c=function(){return k;};return a123c();}const EsriGen=Generator['create']({'name':a123i(0x134),'aliases':['e'],'usage':a123i(0x121),'noNeedResource':!![],'shortDesc':a123i(0x12e),'validOpts':[''],'isPro':!![],'examples':[a123i(0x129)],'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20'},async function(){const j=a123i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x124)],'filesUpdated':['/foo']}};},async function(){},a123e);function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x121;let f=c[d];return f;},a123d(a,b);}export default EsriGen;
1
+ const a123i=a123d;(function(a,b){const f=a123d,c=a();while(!![]){try{const d=-parseInt(f(0x9f))/0x1*(parseInt(f(0x9d))/0x2)+-parseInt(f(0x9b))/0x3*(parseInt(f(0xa0))/0x4)+parseInt(f(0xa5))/0x5*(-parseInt(f(0xab))/0x6)+-parseInt(f(0xa7))/0x7+parseInt(f(0xa1))/0x8+-parseInt(f(0xa9))/0x9+parseInt(f(0x9c))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a123c,0xe36a4));const a123b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a123d;if(c){const e=c[g(0xa4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a123a=a123b(this,function(){const h=a123d;return a123a[h(0xac)]()[h(0xa6)](h(0xa2))[h(0xac)]()['constructor'](a123a)[h(0xa6)]('(((.+)+)+)+$');});function a123d(a,b){const c=a123c();return a123d=function(d,e){d=d-0x9a;let f=c[d];return f;},a123d(a,b);}a123a();import{Generator}from'../../../generator.js';import a123e from'../kit.js';function a123c(){const k=['65010870YcQTlD','2SXClsJ','/foo/bar','1561597bqdokr','8eQgtzW','2788528aQIYXR','(((.+)+)+)+$','esri','apply','724905hpkaha','search','6423970JTtLEX','/foo','13930128rqHUNq','create','72JhsDuq','toString','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:<kit-name>','maka\x20g:kit:e','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20kit\x20for\x20Esri\x20Maps.\x20Starting\x20with\x20a\x20basic\x20map,\x0a\x20\x20\x20\x20but\x20with\x20the\x20ability\x20to\x20add\x20more\x20components\x20to\x20the\x20kit.\x0a\x20\x20','226935uOIClL'];a123c=function(){return k;};return a123c();}const EsriGen=Generator[a123i(0xaa)]({'name':a123i(0xa3),'aliases':['e'],'usage':a123i(0xad),'noNeedResource':!![],'shortDesc':'Starting\x20point\x20for\x20generating\x20Esri\x20Maps','validOpts':[''],'isPro':!![],'examples':[a123i(0xae)],'description':a123i(0x9a)},async function(){const j=a123i;return{'success':!![],'message':'Esri\x20Kit\x20generated\x20successfully','details':{'filesCreated':[j(0x9e)],'filesUpdated':[j(0xa8)]}};},async function(){},a123e);export default EsriGen;
@@ -1 +1 @@
1
- const a124s=a124d;(function(a,b){const p=a124d,c=a();while(!![]){try{const d=parseInt(p(0xcf))/0x1+parseInt(p(0xca))/0x2+parseInt(p(0xc0))/0x3+-parseInt(p(0xd4))/0x4*(parseInt(p(0xc2))/0x5)+-parseInt(p(0xb1))/0x6+-parseInt(p(0xb3))/0x7+-parseInt(p(0xc3))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x79f7e));function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0xa2;let f=c[d];return f;},a124d(a,b);}const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a124d;if(c){const e=c[q(0xd5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const r=a124d;return a124a['toString']()['search'](r(0xc5))[r(0xcb)]()['constructor'](a124a)['search'](r(0xc5));});a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124s(0xa6)]({'name':a124s(0xc9),'aliases':['m'],'usage':a124s(0xb8),'shortDesc':a124s(0xb7),'validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines[a124s(0xbd)],'ssr':SsrEngines[a124s(0xb5)]},'description':a124s(0xa2)},async function(a,b){const t=a124s;try{Log[t(0xba)](t(0xb9));const c=t(0xab);await this[t(0xc4)]['checkNpmPackage'](['@esri/react-arcgis',t(0xc7)],{'shouldInstall':!![]});const d=this[t(0xbb)][t(0xaf)](),f=await this[t(0xd0)][t(0xa8)](),g=f[t(0xd3)]['ssr']===t(0xb2),h=await a124f[t(0xa9)](t(0xbf),[t(0xc9)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0xb0)])[t(0xac)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0xc6)]?t(0xd2)+b[t(0xc6)]:t(0xb4),k=this['scaffold']['pathFromApp']({'pathParts':[j,b['dir'],paramCase(c),paramCase(c)]});await this[t(0xaa)][t(0xae)]({'srcPath':t(0xd1)+c+t(0xbc),'destPath':k+'.js','framework':'react','context':i,'config':f,'force':![],'ignore':![]});const l=''+j+b[t(0xc1)]+'/'+c+'/'+c;await this['scaffold']['injectTemplateModule'](c,f,l);const m=h[t(0xbe)]('/'),n=this[t(0xaa)][t(0xa3)]({'pathParts':m});await this['scaffold'][t(0xa5)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0xcd):t(0xa4),'isNamedExport':!![]}),await this[t(0xaa)][t(0xce)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+t(0xa7),'begin':[t(0xc8),t(0xc8)],'end':[t(0xcc)],'replace':!![]});}catch(o){Log[t(0xad)](o),process[t(0xb6)](0x1);}},async function(){},a124e);function a124c(){const u=['error','template','findProjectDirectory','appName','987024ZogUTZ','true','6205374lXziGL','/imports/ui/hooks','FALSE','exit','Generate\x20an\x20Esri\x20map\x20component','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','Generating\x20a\x20map\x20component','bright','fsi','.js','REACT','split','page','2546745Razoal','dir','29825HKhujz','1925032tuOsaF','pkg','(((.+)+)+)+$','baseDir','esri-loader','<div\x20id=\x22map\x22>','map','1657042yZApKC','toString','</div>','/imports/startup/lib/templates','injectIntoFile','119726zUNXKq','cfg','kit/esri/map/','/imports/ui/','engines','4ryXGgN','apply','\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20','pathFromApp','/imports/startup/client/templates','injectImport','create','\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','getMakaProjectConfig','processAndRunGenerator','scaffold','basic-map','replaceAll'];a124c=function(){return u;};return a124c();}
1
+ const a124s=a124d;(function(a,b){const p=a124d,c=a();while(!![]){try{const d=parseInt(p(0x86))/0x1*(parseInt(p(0x8e))/0x2)+-parseInt(p(0x79))/0x3*(-parseInt(p(0x7a))/0x4)+-parseInt(p(0x87))/0x5*(-parseInt(p(0x9d))/0x6)+parseInt(p(0x94))/0x7+-parseInt(p(0x8d))/0x8+parseInt(p(0xa0))/0x9*(parseInt(p(0x9b))/0xa)+parseInt(p(0x77))/0xb*(-parseInt(p(0x92))/0xc);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a124c,0x6929d));const a124b=(function(){let a=!![];return function(b,c){const d=a?function(){const q=a124d;if(c){const e=c[q(0x9e)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a124a=a124b(this,function(){const r=a124d;return a124a['toString']()[r(0x7d)](r(0x82))[r(0x99)]()[r(0x8a)](a124a)['search'](r(0x82));});function a124d(a,b){const c=a124c();return a124d=function(d,e){d=d-0x6b;let f=c[d];return f;},a124d(a,b);}a124a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';function a124c(){const u=['baseDir','exit','cfg','toString','/imports/startup/lib/templates','10oJrPLJ','getMakaProjectConfig','77046RoRmVf','apply','bright','2877309GODDha','pathFromApp','create','split','findProjectDirectory','true','/imports/startup/client/templates','react','/imports/ui/hooks','dir','@esri/react-arcgis','maka\x20{generate,\x20g}:{kit,\x20k}:{esri,\x20e}:{map,\x20m}','map','template','92818dBqwGE','checkNpmPackage','3438UqTNLK','924lZrWKN','scaffold','<div\x20id=\x22map\x22>','search','.js','injectIntoFile','appName','page','(((.+)+)+)+$','kit/esri/map/','injectTemplateModule','ssr','70292aXrHAI','230sbBIdU','</div>','replaceAll','constructor','basic-map','fsi','1299096askfHG','18yXkpdb','/imports/ui/','FALSE','processAndRunGenerator','1848rBJftz','injectImport','593929GJfkVo','esri-loader'];a124c=function(){return u;};return a124c();}import a124e from'./esri.generator.js';import a124f from'../../../generators/maka.gen.js';import{paramCase,headerCase,pascalCase}from'change-case';import{ClientEngines,SsrEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a124s(0x6b)]({'name':a124s(0x75),'aliases':['m'],'usage':a124s(0x74),'shortDesc':'Generate\x20an\x20Esri\x20map\x20component','validOpts':[''],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'client':ClientEngines['REACT'],'ssr':SsrEngines[a124s(0x90)]},'description':'\x0a\x20\x20\x20\x20This\x20generator\x20will\x20create\x20a\x20map\x20component\x20in\x20the\x20/imports/ui/hooks\x20directory.\x0a\x0a\x20\x20\x20\x20It\x27ll\x20also\x20create\x20a\x20page\x20component\x20in\x20the\x20/imports/ui/pages/map\x20directory.\x0a\x0a\x20\x20\x20\x20The\x20map\x20component\x20will\x20be\x20named\x20\x27BasicMap\x27\x20by\x20default.\x0a\x0a\x20\x20'},async function(a,b){const t=a124s;try{Log[t(0x9f)]('Generating\x20a\x20map\x20component');const c=t(0x8b);await this['pkg'][t(0x78)]([t(0x73),t(0x95)],{'shouldInstall':!![]});const d=this[t(0x8c)][t(0x6d)](),f=await this[t(0x98)][t(0x9c)](),g=f['engines'][t(0x85)]===t(0x6e),h=await a124f[t(0x91)](t(0x81),[t(0x75)],{'cwd':d,'config':f}),i={'name':headerCase(f[t(0x80)])[t(0x89)]('-','\x20'),'componentName':pascalCase(c)},j=b[t(0x96)]?t(0x8f)+b['baseDir']:t(0x71),k=this[t(0x7b)][t(0xa1)]({'pathParts':[j,b[t(0x72)],paramCase(c),paramCase(c)]});await this[t(0x7b)][t(0x76)]({'srcPath':t(0x83)+c+t(0x7e),'destPath':k+'.js','framework':t(0x70),'context':i,'config':f,'force':![],'ignore':![]});const l=''+j+b[t(0x72)]+'/'+c+'/'+c;await this['scaffold'][t(0x84)](c,f,l);const m=h[t(0x6c)]('/'),n=this[t(0x7b)][t(0xa1)]({'pathParts':m});await this[t(0x7b)][t(0x93)]({'filePath':n,'importName':pascalCase(c),'modulePath':g?t(0x9a):t(0x6f),'isNamedExport':!![]}),await this[t(0x7b)][t(0x7f)]({'filePath':n,'content':'\x0a<'+pascalCase(c)+'\x20webMapId=\x228df8e6f7d4c34f56a1cf8b1473e57f6a\x22\x20/>\x0a','begin':[t(0x7c),t(0x7c)],'end':[t(0x88)],'replace':!![]});}catch(o){Log['error'](o),process[t(0x97)](0x1);}},async function(){},a124e);
@@ -1 +1 @@
1
- const a125i=a125d;(function(a,b){const f=a125d,c=a();while(!![]){try{const d=parseInt(f(0xa1))/0x1*(-parseInt(f(0x9a))/0x2)+parseInt(f(0xaf))/0x3*(-parseInt(f(0xa6))/0x4)+parseInt(f(0x9b))/0x5*(-parseInt(f(0xab))/0x6)+-parseInt(f(0xa4))/0x7+parseInt(f(0xa3))/0x8*(parseInt(f(0xa8))/0x9)+parseInt(f(0xb0))/0xa*(parseInt(f(0xac))/0xb)+parseInt(f(0x9c))/0xc;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x9f8ea));function a125c(){const j=['308722oUCByj','1735eXphuo','20199972QFCICK','constructor','maka\x20{generate,\x20g}:{kit}\x20<name>','(((.+)+)+)+$','toString','1CwlQTz','maka\x20g:kit','389192GZOdyV','5211948Llmhkx','apply','2892yuCqAG','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','117PXZDJv','create','kit','11106PRjRFO','5134789gJcFyv','search','maka\x20g:k','2439OPGtSd','10OKOiPb'];a125c=function(){return j;};return a125c();}function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0x9a;let f=c[d];return f;},a125d(a,b);}const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a125d;if(c){const e=c[g(0xa5)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const h=a125d;return a125a[h(0xa0)]()[h(0xad)](h(0x9f))[h(0xa0)]()[h(0x9d)](a125a)[h(0xad)](h(0x9f));});a125a();import{Generator}from'../../generator.js';const KitGen=Generator[a125i(0xa9)]({'name':a125i(0xaa),'aliases':['k'],'usage':a125i(0x9e),'shortDesc':a125i(0xa7),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a125i(0xa2),a125i(0xae)]},async function(){});export default KitGen;
1
+ const a125h=a125d;function a125d(a,b){const c=a125c();return a125d=function(d,e){d=d-0xdc;let f=c[d];return f;},a125d(a,b);}(function(a,b){const f=a125d,c=a();while(!![]){try{const d=-parseInt(f(0xe5))/0x1+parseInt(f(0xed))/0x2*(-parseInt(f(0xe2))/0x3)+-parseInt(f(0xe8))/0x4*(-parseInt(f(0xea))/0x5)+parseInt(f(0xe0))/0x6*(-parseInt(f(0xe1))/0x7)+parseInt(f(0xe9))/0x8*(-parseInt(f(0xdd))/0x9)+parseInt(f(0xe3))/0xa+parseInt(f(0xe6))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a125c,0x6cf36));const a125b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a125a=a125b(this,function(){const g=a125d;return a125a['toString']()['search']('(((.+)+)+)+$')[g(0xdc)]()[g(0xe7)](a125a)[g(0xeb)]('(((.+)+)+)+$');});a125a();function a125c(){const i=['search','kit','306044dLftrV','toString','9315BKndaB','Generate\x20a\x20pre-built\x20\x22kit\x22\x20to\x20speed\x20up\x20your\x20development.','create','1044EVnzid','9842plcWMF','15fgKAkq','4058660qfULoS','maka\x20g:kit','223105wxampj','16364502lmwsMh','constructor','1046692EJrzUu','3680DQZlsw','5BgbVud'];a125c=function(){return i;};return a125c();}import{Generator}from'../../generator.js';const KitGen=Generator[a125h(0xdf)]({'name':a125h(0xec),'aliases':['k'],'usage':'maka\x20{generate,\x20g}:{kit}\x20<name>','shortDesc':a125h(0xde),'minArgLength':0x1,'isPro':!![],'validOpts':[],'noNeedResource':!![],'examples':[a125h(0xe4),'maka\x20g:k']},async function(){});export default KitGen;
@@ -1 +1 @@
1
- function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x18d;var f=c[d];return f;},a126d(a,b);}(function(a,b){var f=a126d,c=a();while(!![]){try{var d=parseInt(f(0x190))/0x1*(parseInt(f(0x191))/0x2)+parseInt(f(0x19b))/0x3*(parseInt(f(0x198))/0x4)+parseInt(f(0x197))/0x5+-parseInt(f(0x19a))/0x6*(parseInt(f(0x193))/0x7)+parseInt(f(0x195))/0x8*(parseInt(f(0x19d))/0x9)+parseInt(f(0x18e))/0xa*(-parseInt(f(0x192))/0xb)+parseInt(f(0x194))/0xc*(-parseInt(f(0x18f))/0xd);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x22a3a));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){if(c){var e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var g=a126d;return a126a[g(0x18d)]()[g(0x199)](g(0x196))[g(0x18d)]()[g(0x19c)](a126a)[g(0x199)](g(0x196));});a126a();function a126c(){var h=['22314lGNOyJ','177DGGSdi','constructor','873nhaleA','toString','90TNPnUg','64831ZASxth','1ZWepIH','12170qszvlf','237171agPCOh','483gGfwsx','60gKrvIz','13544TzcTSU','(((.+)+)+)+$','1386845YHHPbP','11512JLMJRH','search'];a126c=function(){return h;};return a126c();}import'./mui.generator.js';import'./frame.mui.gen.js';import'./auth.mui.gen.js';
1
+ (function(a,b){var f=a126d,c=a();while(!![]){try{var d=parseInt(f(0x1e6))/0x1+-parseInt(f(0x1e2))/0x2*(-parseInt(f(0x1e0))/0x3)+parseInt(f(0x1e7))/0x4*(-parseInt(f(0x1ea))/0x5)+parseInt(f(0x1e1))/0x6*(parseInt(f(0x1de))/0x7)+-parseInt(f(0x1e3))/0x8+-parseInt(f(0x1dc))/0x9+-parseInt(f(0x1db))/0xa*(-parseInt(f(0x1e4))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a126c,0x8c593));var a126b=(function(){var a=!![];return function(b,c){var d=a?function(){var g=a126d;if(c){var e=c[g(0x1df)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a126a=a126b(this,function(){var h=a126d;return a126a[h(0x1e9)]()[h(0x1e8)](h(0x1dd))['toString']()[h(0x1e5)](a126a)[h(0x1e8)](h(0x1dd));});a126a();import'./mui.generator.js';function a126d(a,b){var c=a126c();return a126d=function(d,e){d=d-0x1db;var f=c[d];return f;},a126d(a,b);}import'./frame.mui.gen.js';import'./auth.mui.gen.js';function a126c(){var i=['49010ZkHLdG','9192699VdMRgW','(((.+)+)+)+$','66423vaRFJL','apply','12TFPBuw','438xxOTeA','219304XNJmvs','5749792PoeBSz','3751vjwOVo','constructor','310954kuSZIf','8dyEJOs','search','toString','1996245yguujS'];a126c=function(){return i;};return a126c();}
@@ -1 +1 @@
1
- const a127J=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(0x1e5))/0x1+-parseInt(G(0x20b))/0x2*(-parseInt(G(0x1d4))/0x3)+parseInt(G(0x1dc))/0x4*(parseInt(G(0x200))/0x5)+-parseInt(G(0x1e6))/0x6*(-parseInt(G(0x213))/0x7)+-parseInt(G(0x1f5))/0x8+-parseInt(G(0x1ec))/0x9+-parseInt(G(0x1db))/0xa*(-parseInt(G(0x202))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0x58422));const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a127d;if(c){const e=c[H(0x1cf)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const I=a127d;return a127a[I(0x1e2)]()[I(0x1f7)](I(0x1cd))[I(0x1e2)]()[I(0x1df)](a127a)[I(0x1f7)](I(0x1cd));});a127a();import{Generator}from'../../../generator.js';function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x1cb;let f=c[d];return f;},a127d(a,b);}import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';function a127c(){const M=['1741648LwDCvV','force','search','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','processAndRunGenerator','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','split','Cleaning\x20up...','appName','.js','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','10dAuoLo','login','566962XpOcpj','injectImport','/imports/startup/client/authentication-provider','Meteor\x20Accounts','basic-forgot-password-page','/imports/startup/lib/authentication-provider','ssr','register','dir','4dotEfJ','kit:auth:meteor','cfg','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','basic-password-reset-page','getMakaProjectConfig','AuthContext','kit/mui/auth/register/','7beXTyX','scaffold','route','basic-login-page','(((.+)+)+)+$','fsi','apply','basic-logout-page','/imports/ui/','replaceAll','custom','751911dbqXFr','layouts','kit/mui/auth/password-reset/','meteor','injectTemplateModule','true','kit/mui/auth/logout/','60FGtOhY','737092IjqvGS','kit/mui/auth/login/','log','constructor','list','maka\x20generate:kit:mui:frame','toString','kit:auth:provider','react','457611HUpEpT','657714gDiKvR','findProjectDirectory','/imports/ui/pages/auth','engines','kit/mui/auth/forgot-password/','auth','2266812OFtUrU','template','pathFromApp','baseDir','logout','basic-register-page','create','authType','error'];a127c=function(){return M;};return a127c();}import a127f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a127J(0x1f2)]({'name':a127J(0x1eb),'aliases':['a'],'usage':a127J(0x1f8),'shortDesc':a127J(0x1ff),'validOpts':[a127J(0x1d5),'force'],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines['REACT']},'examples':[a127J(0x1e1),'maka\x20g:k:m:f'],'description':a127J(0x20e)},async function(a,b){const K=a127J;try{const c=b[K(0x1f6)]||![],d=this[K(0x1ce)][K(0x1e7)](),f=await this[K(0x20d)][K(0x210)](),{authType:g}=await Actions['options']({'type':K(0x1e0),'name':K(0x1f3),'message':K(0x1fa),'choices':[{'name':K(0x205),'value':'meteor'},{'name':'Custom\x20(roll\x20your\x20own)','value':K(0x1d3)}]}),h=K(0x1cc),i=K(0x1d0),j=K(0x1f1),k=K(0x20f),l=K(0x206),m=b[K(0x1ef)]?K(0x1d1)+b['baseDir']:K(0x1e8),n=this[K(0x214)]['pathFromApp']({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this[K(0x214)][K(0x1ee)]({'pathParts':[m,b[K(0x20a)],paramCase(i),paramCase(i)]}),p=this[K(0x214)][K(0x1ee)]({'pathParts':[m,b[K(0x20a)],paramCase(j),paramCase(j)]}),q=this[K(0x214)]['pathFromApp']({'pathParts':[m,b[K(0x20a)],paramCase(k),paramCase(k)]}),r=this[K(0x214)][K(0x1ee)]({'pathParts':[m,b[K(0x20a)],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1fd)])[K(0x1d2)]('-','\x20')};await this[K(0x214)]['template']({'srcPath':K(0x1dd)+h+K(0x1fe),'destPath':n+K(0x1fe),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this['scaffold'][K(0x1ed)]({'srcPath':K(0x1da)+i+K(0x1fe),'destPath':o+'.js','framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x214)][K(0x1ed)]({'srcPath':K(0x212)+j+K(0x1fe),'destPath':p+K(0x1fe),'framework':K(0x1e4),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x214)]['template']({'srcPath':K(0x1d6)+k+'.js','destPath':q+K(0x1fe),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x214)][K(0x1ed)]({'srcPath':K(0x1ea)+l+K(0x1fe),'destPath':r+K(0x1fe),'framework':K(0x1e4),'context':s,'config':f,'force':c,'ignore':![]});const t=''+m+b[K(0x20a)]+'/'+h+'/'+h;await this[K(0x214)][K(0x1d8)](h,f,t);const u=''+m+b['dir']+'/'+i+'/'+i;await this[K(0x214)][K(0x1d8)](i,f,u);const v=''+m+b[K(0x20a)]+'/'+j+'/'+j;await this[K(0x214)][K(0x1d8)](j,f,v);const w=''+m+b[K(0x20a)]+'/'+k+'/'+k;await this[K(0x214)]['injectTemplateModule'](k,f,w);const x=''+m+b[K(0x20a)]+'/'+l+'/'+l;await this[K(0x214)][K(0x1d8)](l,f,x),await a127e['processAndRunGenerator'](K(0x1cb),[K(0x1cc)],{'route':K(0x201),'cwd':d,'config':f}),await a127e[K(0x1f9)](K(0x1cb),[K(0x1d0)],{'route':K(0x1f0),'private':!![],'cwd':d,'config':f}),await a127e[K(0x1f9)]('route',[K(0x1f1)],{'route':K(0x209),'cwd':d,'config':f}),await a127e[K(0x1f9)](K(0x1cb),['basic-password-reset-page'],{'route':'reset-password/:token','cwd':d,'config':f}),await a127e[K(0x1f9)](K(0x1cb),[K(0x206)],{'route':'forgot-password','cwd':d,'config':f});g===K(0x1d7)&&await a127e[K(0x1f9)](K(0x20c),[],{'force':c,'cwd':d,'config':f});g===K(0x1d3)&&await a127e['processAndRunGenerator'](K(0x1e3),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x1e9)][K(0x208)]===K(0x1d9),z=f['engines']['js'],A=this['scaffold'][K(0x1ee)]({'pathParts':t[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':A+'.'+z,'importName':'AuthContext','modulePath':y?K(0x207):K(0x204),'isNamedExport':!![]});const B=this[K(0x214)][K(0x1ee)]({'pathParts':u[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':B+'.'+z,'importName':K(0x211),'modulePath':y?K(0x207):K(0x204),'isNamedExport':!![]});const C=this[K(0x214)][K(0x1ee)]({'pathParts':v['split']('/')});await this[K(0x214)][K(0x203)]({'filePath':C+'.'+z,'importName':K(0x211),'modulePath':y?K(0x207):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const D=this['scaffold']['pathFromApp']({'pathParts':w[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':D+'.'+z,'importName':K(0x211),'modulePath':y?K(0x207):K(0x204),'isNamedExport':!![]});const E=this[K(0x214)][K(0x1ee)]({'pathParts':x[K(0x1fb)]('/')});await this[K(0x214)][K(0x203)]({'filePath':E+'.'+z,'importName':K(0x211),'modulePath':y?'/imports/startup/lib/authentication-provider':'/imports/startup/client/authentication-provider','isNamedExport':!![]});}catch(F){Log[K(0x1f4)](F);}},async function(){const L=a127J;console[L(0x1de)](L(0x1fc));},a127f);
1
+ function a127d(a,b){const c=a127c();return a127d=function(d,e){d=d-0x193;let f=c[d];return f;},a127d(a,b);}const a127J=a127d;(function(a,b){const G=a127d,c=a();while(!![]){try{const d=-parseInt(G(0x19b))/0x1+parseInt(G(0x1d2))/0x2*(-parseInt(G(0x1bb))/0x3)+-parseInt(G(0x1ac))/0x4+parseInt(G(0x1ad))/0x5+-parseInt(G(0x196))/0x6+-parseInt(G(0x1a2))/0x7*(parseInt(G(0x1c5))/0x8)+-parseInt(G(0x1b1))/0x9*(-parseInt(G(0x193))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a127c,0xc93b6));function a127c(){const L=['20RCkYwr','toString','injectTemplateModule','2952312tDfmQh','apply','login','basic-logout-page','layouts','942355QGRSSX','kit/mui/auth/logout/','/imports/startup/client/authentication-provider','engines','injectImport','/imports/ui/pages/auth','logout','4554487oTLvNm','Custom\x20(roll\x20your\x20own)','scaffold','dir','pathFromApp','true','REACT','route','Generate\x20a\x20standard\x20MUI\x20Login,\x20Logout,\x20Register,\x20and\x20Password\x20Reset\x20page','cfg','4025424mKXqWJ','2360100JgYhUj','/imports/startup/lib/authentication-provider','kit:auth:meteor','processAndRunGenerator','21064437pYiAiM','getMakaProjectConfig','basic-password-reset-page','kit/mui/auth/register/','basic-login-page','ssr','/imports/ui/','Meteor\x20Accounts','meteor','basic-forgot-password-page','6495zBHcaP','appName','maka\x20generate:kit:mui:frame','register','.js','split','reset-password/:token','kit:auth:provider','kit/mui/auth/password-reset/','constructor','16uwNyWy','basic-register-page','replaceAll','custom','(((.+)+)+)+$','What\x20sort\x20of\x20Authentication\x20/\x20Authorization\x20are\x20you\x20using?','template','force','error','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f','kit/mui/auth/login/','AuthContext','kit/mui/auth/forgot-password/','542zZgyXV','options','findProjectDirectory','baseDir','react'];a127c=function(){return L;};return a127c();}const a127b=(function(){let a=!![];return function(b,c){const d=a?function(){const H=a127d;if(c){const e=c[H(0x197)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a127a=a127b(this,function(){const I=a127d;return a127a['toString']()['search'](I(0x1c9))[I(0x194)]()[I(0x1c4)](a127a)['search'](I(0x1c9));});a127a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';import a127e from'../../../generators/maka.gen.js';import a127f from'./mui.generator.js';import{paramCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'auth','aliases':['a'],'usage':a127J(0x1ce),'shortDesc':a127J(0x1aa),'validOpts':[a127J(0x19a),a127J(0x1cc)],'isPro':!![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines['MATERIAL'],'client':ClientEngines[a127J(0x1a8)]},'examples':[a127J(0x1bd),'maka\x20g:k:m:f'],'description':'\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20fram\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20'},async function(a,b){const K=a127J;try{const c=b[K(0x1cc)]||![],d=this['fsi'][K(0x1d4)](),f=await this[K(0x1ab)][K(0x1b2)](),{authType:g}=await Actions[K(0x1d3)]({'type':'list','name':'authType','message':K(0x1ca),'choices':[{'name':K(0x1b8),'value':K(0x1b9)},{'name':K(0x1a3),'value':K(0x1c8)}]}),h=K(0x1b5),i=K(0x199),j=K(0x1c6),k=K(0x1b3),l='basic-forgot-password-page',m=b[K(0x1d5)]?K(0x1b7)+b['baseDir']:K(0x1a0),n=this['scaffold'][K(0x1a6)]({'pathParts':[m,b['dir'],paramCase(h),paramCase(h)]}),o=this['scaffold'][K(0x1a6)]({'pathParts':[m,b['dir'],paramCase(i),paramCase(i)]}),p=this['scaffold']['pathFromApp']({'pathParts':[m,b[K(0x1a5)],paramCase(j),paramCase(j)]}),q=this[K(0x1a4)][K(0x1a6)]({'pathParts':[m,b[K(0x1a5)],paramCase(k),paramCase(k)]}),r=this[K(0x1a4)][K(0x1a6)]({'pathParts':[m,b['dir'],paramCase(l),paramCase(l)]}),s={'name':headerCase(f[K(0x1bc)])[K(0x1c7)]('-','\x20')};await this['scaffold'][K(0x1cb)]({'srcPath':K(0x1cf)+h+'.js','destPath':n+K(0x1bf),'framework':'react','context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1a4)][K(0x1cb)]({'srcPath':K(0x19c)+i+K(0x1bf),'destPath':o+K(0x1bf),'framework':K(0x1d6),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1a4)][K(0x1cb)]({'srcPath':K(0x1b4)+j+'.js','destPath':p+K(0x1bf),'framework':K(0x1d6),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1a4)][K(0x1cb)]({'srcPath':K(0x1c3)+k+K(0x1bf),'destPath':q+K(0x1bf),'framework':K(0x1d6),'context':s,'config':f,'force':c,'ignore':![]}),await this[K(0x1a4)][K(0x1cb)]({'srcPath':K(0x1d1)+l+'.js','destPath':r+K(0x1bf),'framework':K(0x1d6),'context':s,'config':f,'force':c,'ignore':![]});const t=''+m+b[K(0x1a5)]+'/'+h+'/'+h;await this[K(0x1a4)][K(0x195)](h,f,t);const u=''+m+b[K(0x1a5)]+'/'+i+'/'+i;await this['scaffold'][K(0x195)](i,f,u);const v=''+m+b[K(0x1a5)]+'/'+j+'/'+j;await this[K(0x1a4)]['injectTemplateModule'](j,f,v);const w=''+m+b[K(0x1a5)]+'/'+k+'/'+k;await this['scaffold'][K(0x195)](k,f,w);const x=''+m+b[K(0x1a5)]+'/'+l+'/'+l;await this[K(0x1a4)]['injectTemplateModule'](l,f,x),await a127e['processAndRunGenerator']('route',[K(0x1b5)],{'route':K(0x198),'cwd':d,'config':f}),await a127e[K(0x1b0)](K(0x1a9),[K(0x199)],{'route':K(0x1a1),'private':!![],'cwd':d,'config':f}),await a127e[K(0x1b0)](K(0x1a9),[K(0x1c6)],{'route':K(0x1be),'cwd':d,'config':f}),await a127e['processAndRunGenerator'](K(0x1a9),['basic-password-reset-page'],{'route':K(0x1c1),'cwd':d,'config':f}),await a127e[K(0x1b0)]('route',[K(0x1ba)],{'route':'forgot-password','cwd':d,'config':f});g===K(0x1b9)&&await a127e[K(0x1b0)](K(0x1af),[],{'force':c,'cwd':d,'config':f});g==='custom'&&await a127e[K(0x1b0)](K(0x1c2),[],{'force':c,'cwd':d,'config':f});const y=f[K(0x19e)][K(0x1b6)]===K(0x1a7),z=f['engines']['js'],A=this[K(0x1a4)][K(0x1a6)]({'pathParts':t[K(0x1c0)]('/')});await this[K(0x1a4)][K(0x19f)]({'filePath':A+'.'+z,'importName':K(0x1d0),'modulePath':y?'/imports/startup/lib/authentication-provider':K(0x19d),'isNamedExport':!![]});const B=this[K(0x1a4)][K(0x1a6)]({'pathParts':u[K(0x1c0)]('/')});await this[K(0x1a4)][K(0x19f)]({'filePath':B+'.'+z,'importName':K(0x1d0),'modulePath':y?K(0x1ae):'/imports/startup/client/authentication-provider','isNamedExport':!![]});const C=this[K(0x1a4)][K(0x1a6)]({'pathParts':v[K(0x1c0)]('/')});await this[K(0x1a4)]['injectImport']({'filePath':C+'.'+z,'importName':K(0x1d0),'modulePath':y?K(0x1ae):K(0x19d),'isNamedExport':!![]});const D=this['scaffold']['pathFromApp']({'pathParts':w[K(0x1c0)]('/')});await this[K(0x1a4)][K(0x19f)]({'filePath':D+'.'+z,'importName':K(0x1d0),'modulePath':y?K(0x1ae):K(0x19d),'isNamedExport':!![]});const E=this['scaffold'][K(0x1a6)]({'pathParts':x[K(0x1c0)]('/')});await this[K(0x1a4)][K(0x19f)]({'filePath':E+'.'+z,'importName':'AuthContext','modulePath':y?K(0x1ae):K(0x19d),'isNamedExport':!![]});}catch(F){Log[K(0x1cd)](F);}},async function(){console['log']('Cleaning\x20up...');},a127f);
@@ -1 +1 @@
1
- const a128D=a128d;(function(a,b){const B=a128d,c=a();while(!![]){try{const d=parseInt(B(0xf5))/0x1+parseInt(B(0x106))/0x2*(parseInt(B(0xe4))/0x3)+-parseInt(B(0xf1))/0x4*(-parseInt(B(0x127))/0x5)+-parseInt(B(0xfb))/0x6*(-parseInt(B(0x12a))/0x7)+-parseInt(B(0x126))/0x8*(parseInt(B(0xe8))/0x9)+parseInt(B(0x114))/0xa+-parseInt(B(0xea))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0x63cc7));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const C=a128d;return a128a[C(0x11a)]()[C(0xe7)]('(((.+)+)+)+$')[C(0x11a)]()[C(0xe6)](a128a)[C(0xe7)](C(0x111));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128c(){const G=['force','/imports/ui/components','298206cQhnSj','tsx','join','layouts','tests','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','1184952rBKCUe','appName','getFiles','jsx','test','react','app-tests','@mui/material/Container','error','true','ssr','6fcDCeu','/imports/startup/lib/templates','kit/mui/frame/drawers/','maka\x20generate:kit:mui:frame','<div\x20id=\x22','<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','Cleaning\x20up...','MATERIAL','<Outlet\x20/>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','@mui/material/Box','(((.+)+)+)+$','checkbox','</div>','3704230pkzbto','imports','/imports/ui/','findAppDirectory','\x20/>\x0a','injectAroundString','toString','dir','basic-drawer','length','basic-sticky-footer','Box','kit/mui/frame/footers/','frame','No\x20layouts\x20selected','injectImport','scaffold','maka:react-tracker','24DKJBly','5nzOmAE','injectIntoFile','replaceAll','14hUYAxY','kit/mui/frame/app-bars/','create','basic-app-bar','<Outlet/>','Container','getMakaProjectConfig','fsi','757641HupzyA','/imports/startup/client/templates','constructor','search','37899KzAsWY','-hook\x22>','18782335KnLmxZ','pathFromApp','pkg','.js','Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','template','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','1230556uzxNXV','baseDir'];a128c=function(){return G;};return a128c();}import a128e from'path';import a128f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xdd;let f=c[d];return f;},a128d(a,b);}import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator[a128D(0xde)]({'name':a128D(0x121),'aliases':['f'],'usage':a128D(0xf0),'shortDesc':a128D(0xee),'validOpts':[a128D(0xf8),a128D(0xf2),'dir',a128D(0xf3)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128D(0x10d)],'client':ClientEngines['REACT']},'examples':[a128D(0x109),'maka\x20g:k:m:f'],'description':a128D(0x10f)},async function(a,b){const E=a128D;try{const c=b['force']||![],d=E(0xdf),f=E(0x11c),g=E(0x11e),h=await this['cfg'][E(0xe2)](),i=h['engines'][E(0x105)]===E(0x104);await this[E(0xec)]['checkMeteorPackage'](['session',E(0x125)],{'shouldInstall':!![]});const j=this['fsi'][E(0x117)](),k=a128e[E(0xf7)](j,E(0x115),'ui',E(0xf8)),l=this[E(0xe3)]['getDirectories'](k),m=await Actions['options']({'type':E(0x112),'name':'layouts','message':E(0xfa),'choices':l});if(m[E(0xf8)][E(0x11d)]===0x0){Log[E(0x103)](E(0x122));return;}const n=b[E(0xf2)]?E(0x116)+b[E(0xf2)]:E(0xf4),o=this[E(0x124)]['pathFromApp']({'pathParts':[n,b[E(0x11b)],paramCase(d),paramCase(d)]}),p=this['scaffold'][E(0xeb)]({'pathParts':[n,b[E(0x11b)],paramCase(f),paramCase(f)]}),q=this['scaffold'][E(0xeb)]({'pathParts':[n,b['dir'],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[E(0xfc)])[E(0x129)]('-','\x20')};await this[E(0x124)]['template']({'srcPath':E(0xdd)+d+'.js','destPath':o+'.js','framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[E(0x124)][E(0xef)]({'srcPath':E(0x108)+f+'.js','destPath':p+E(0xed),'framework':E(0x100),'context':r,'config':h,'force':c,'ignore':![]}),await this[E(0x124)][E(0xef)]({'srcPath':E(0x120)+g+E(0xed),'destPath':q+E(0xed),'framework':E(0x100),'context':r,'config':h,'force':c,'ignore':![]});const s=''+n+b[E(0x11b)]+'/'+d+'/'+d;await this[E(0x124)]['injectTemplateModule'](d,h,s);const t=''+n+b[E(0x11b)]+'/'+f+'/'+f;await this[E(0x124)]['injectTemplateModule'](f,h,t);const u=''+n+b[E(0x11b)]+'/'+g+'/'+g;await this[E(0x124)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this[E(0xe3)][E(0xfd)](a128e[E(0xf7)](k,w),{'extensions':[E(0xfe),E(0xf6)],'omit':[E(0x101),E(0xf9),E(0xff)]});for(const y of x){const z=a128e[E(0xf7)](k,w,y);await this['scaffold'][E(0x123)]({'filePath':z,'importName':E(0x11f),'modulePath':E(0x110),'isNamedExport':![]}),await this[E(0x124)][E(0x123)]({'filePath':z,'importName':E(0xe1),'modulePath':E(0x102),'isNamedExport':![]}),await this[E(0x124)][E(0x123)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?'/imports/startup/lib/templates':E(0xe5),'isNamedExport':!![]}),await this[E(0x124)][E(0x128)]({'filePath':z,'content':'<'+pascalCase(d)+E(0x118),'begin':[E(0x10a)+w+'\x22>',E(0x10a)+w+E(0xe9)],'end':[E(0xe0),'<Outlet\x20/>']}),await this['scaffold'][E(0x123)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?E(0x107):E(0xe5),'isNamedExport':!![]}),await this[E(0x124)][E(0x128)]({'filePath':z,'content':'<'+pascalCase(f)+E(0x118),'begin':[E(0x10a)+w+'\x22>',E(0x10a)+w+E(0xe9)],'end':['<Outlet/>','<Outlet\x20/>']}),await this[E(0x124)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(g)+E(0x118),'begin':[E(0xe0),E(0x10e)],'end':[E(0x113)]}),await this['scaffold'][E(0x123)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?E(0x107):E(0xe5),'isNamedExport':!![]}),await this[E(0x124)][E(0x119)]({'filePath':z,'aboveContent':E(0x10b),'belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[E(0xe0),'<Outlet\x20/>'],'targetIndentAdjustment':0x6});}}}catch(A){Log[E(0x103)](A);}},async function(){const F=a128D;console['log'](F(0x10c));},a128f);
1
+ const a128E=a128d;function a128c(){const H=['baseDir','<Outlet\x20/>','scaffold','toString','basic-app-bar','<Outlet/>','test','injectTemplateModule','engines','\x20/>\x0a','getDirectories','28ZctCTh','template','session','kit/mui/frame/footers/','/imports/ui/','getFiles','19aLHrGp','injectIntoFile','checkMeteorPackage','replaceAll','@mui/material/Container','/imports/startup/lib/templates','cfg','pkg','(((.+)+)+)+$','getMakaProjectConfig','force','tsx','MATERIAL','243590baameI','maka:react-tracker','tests','layouts','maka\x20{generate,\x20g}:{kit}:{mui,\x20m}:{frame,\x20f}','14177512aIdjNX','</div>','\x0a\x20\x20\x20\x20Generates\x20a\x20standard\x20MUI\x20frame\x20that\x20contains\x20a\x20basic\x20app\x20bar\x20and\x20a\x20drawer.\x0a\x20\x20','Cleaning\x20up...','basic-sticky-footer','react','dir','apply','@mui/material/Box','780xzpnLU','9TnFANo','21385380kMGcDO','/imports/ui/components','length','kit/mui/frame/app-bars/','-hook\x22>','checkbox','Which\x20layouts\x20do\x20you\x20wish\x20to\x20update?','.js','pathFromApp','jsx','search','1624629YyxXXQ','<div\x20id=\x22','appName','injectImport','Container','join','error','/imports/startup/client/templates','injectAroundString','maka\x20g:k:m:f','kit/mui/frame/drawers/','1670676DDmOdQ','constructor','6968395kmEJhm','REACT'];a128c=function(){return H;};return a128c();}(function(a,b){const B=a128d,c=a();while(!![]){try{const d=parseInt(B(0xdb))/0x1*(parseInt(B(0xf6))/0x2)+-parseInt(B(0x103))/0x3+-parseInt(B(0xd5))/0x4*(-parseInt(B(0xe8))/0x5)+-parseInt(B(0x10e))/0x6+parseInt(B(0x110))/0x7+parseInt(B(0xed))/0x8*(-parseInt(B(0xf7))/0x9)+parseInt(B(0xf8))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a128c,0xd95a9));const a128b=(function(){let a=!![];return function(b,c){const d=a?function(){const C=a128d;if(c){const e=c[C(0xf4)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a128a=a128b(this,function(){const D=a128d;return a128a[D(0x115)]()[D(0x102)](D(0xe3))['toString']()[D(0x10f)](a128a)[D(0x102)](D(0xe3));});a128a();import{Generator}from'../../../generator.js';import{Log}from'../../../tools/log/log.class.js';import{Actions}from'../../../tools/actions/actions.class.js';function a128d(a,b){const c=a128c();return a128d=function(d,e){d=d-0xd2;let f=c[d];return f;},a128d(a,b);}import a128e from'path';import a128f from'./mui.generator.js';import{paramCase,pascalCase,headerCase}from'change-case';import{ThemeEngines,ClientEngines}from'../../../tools/fsi/fsi.interfaces.js';Generator['create']({'name':'frame','aliases':['f'],'usage':a128E(0xec),'shortDesc':'Generate\x20a\x20standard\x20MUI\x20frame\x20that\x20injects\x20into\x20a\x20layout','validOpts':['layouts',a128E(0x112),'dir',a128E(0xe5)],'isPro':![],'mustBeInMakaProject':!![],'noNeedResource':!![],'requiredEngines':{'theme':ThemeEngines[a128E(0xe7)],'client':ClientEngines[a128E(0x111)]},'examples':['maka\x20generate:kit:mui:frame',a128E(0x10c)],'description':a128E(0xef)},async function(a,b){const F=a128E;try{const c=b[F(0xe5)]||![],d=F(0x116),f='basic-drawer',g=F(0xf1),h=await this[F(0xe1)][F(0xe4)](),i=h[F(0xd2)]['ssr']==='true';await this[F(0xe2)][F(0xdd)]([F(0xd7),F(0xe9)],{'shouldInstall':!![]});const j=this['fsi']['findAppDirectory'](),k=a128e[F(0x108)](j,'imports','ui','layouts'),l=this['fsi'][F(0xd4)](k),m=await Actions['options']({'type':F(0xfd),'name':F(0xeb),'message':F(0xfe),'choices':l});if(m[F(0xeb)][F(0xfa)]===0x0){Log[F(0x109)]('No\x20layouts\x20selected');return;}const n=b[F(0x112)]?F(0xd9)+b[F(0x112)]:F(0xf9),o=this[F(0x114)][F(0x100)]({'pathParts':[n,b[F(0xf3)],paramCase(d),paramCase(d)]}),p=this[F(0x114)][F(0x100)]({'pathParts':[n,b['dir'],paramCase(f),paramCase(f)]}),q=this['scaffold'][F(0x100)]({'pathParts':[n,b[F(0xf3)],paramCase(g),paramCase(g)]}),r={'name':headerCase(h[F(0x105)])[F(0xde)]('-','\x20')};await this['scaffold'][F(0xd6)]({'srcPath':F(0xfb)+d+F(0xff),'destPath':o+F(0xff),'framework':F(0xf2),'context':r,'config':h,'force':c,'ignore':![]}),await this['scaffold']['template']({'srcPath':F(0x10d)+f+F(0xff),'destPath':p+F(0xff),'framework':'react','context':r,'config':h,'force':c,'ignore':![]}),await this[F(0x114)][F(0xd6)]({'srcPath':F(0xd8)+g+'.js','destPath':q+'.js','framework':F(0xf2),'context':r,'config':h,'force':c,'ignore':![]});const s=''+n+b['dir']+'/'+d+'/'+d;await this[F(0x114)][F(0x119)](d,h,s);const t=''+n+b[F(0xf3)]+'/'+f+'/'+f;await this['scaffold'][F(0x119)](f,h,t);const u=''+n+b[F(0xf3)]+'/'+g+'/'+g;await this[F(0x114)]['injectTemplateModule'](g,h,u);const {layouts:v}=m;for(const w of v){const x=this['fsi'][F(0xda)](a128e[F(0x108)](k,w),{'extensions':[F(0x101),F(0xe6)],'omit':['app-tests',F(0xea),F(0x118)]});for(const y of x){const z=a128e[F(0x108)](k,w,y);await this[F(0x114)]['injectImport']({'filePath':z,'importName':'Box','modulePath':F(0xf5),'isNamedExport':![]}),await this[F(0x114)][F(0x106)]({'filePath':z,'importName':F(0x107),'modulePath':F(0xdf),'isNamedExport':![]}),await this[F(0x114)][F(0x106)]({'filePath':z,'importName':pascalCase(d),'modulePath':i?F(0xe0):'/imports/startup/client/templates','isNamedExport':!![]}),await this['scaffold'][F(0xdc)]({'filePath':z,'content':'<'+pascalCase(d)+F(0xd3),'begin':[F(0x104)+w+'\x22>',F(0x104)+w+F(0xfc)],'end':[F(0x117),'<Outlet\x20/>']}),await this[F(0x114)][F(0x106)]({'filePath':z,'importName':pascalCase(f),'modulePath':i?F(0xe0):F(0x10a),'isNamedExport':!![]}),await this[F(0x114)]['injectIntoFile']({'filePath':z,'content':'<'+pascalCase(f)+F(0xd3),'begin':[F(0x104)+w+'\x22>',F(0x104)+w+'-hook\x22>'],'end':[F(0x117),F(0x113)]}),await this[F(0x114)][F(0xdc)]({'filePath':z,'content':'<'+pascalCase(g)+'\x20/>\x0a','begin':[F(0x117),F(0x113)],'end':[F(0xee)]}),await this[F(0x114)][F(0x106)]({'filePath':z,'importName':pascalCase(g),'modulePath':i?'/imports/startup/lib/templates':F(0x10a),'isNamedExport':!![]}),await this['scaffold'][F(0x10b)]({'filePath':z,'aboveContent':'<Box\x20style={{\x20display:\x20\x27flex\x27,\x20flexDirection:\x20\x27column\x27,\x20minHeight:\x20\x27calc(100vh\x20-\x20157px)\x27\x20}}>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20<Container\x20component=\x22main\x22>','belowContent':'</Container>\x0a\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20</Box>','targetString':[F(0x117),F(0x113)],'targetIndentAdjustment':0x6});}}}catch(A){Log[F(0x109)](A);}},async function(){const G=a128E;console['log'](G(0xf0));},a128f);
@@ -1 +1 @@
1
- const a129i=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=-parseInt(g(0x1c3))/0x1+-parseInt(g(0x1b3))/0x2*(-parseInt(g(0x1d4))/0x3)+parseInt(g(0x1c6))/0x4+-parseInt(g(0x1c2))/0x5*(parseInt(g(0x1cb))/0x6)+-parseInt(g(0x1d0))/0x7+-parseInt(g(0x1be))/0x8+parseInt(g(0x1b6))/0x9*(parseInt(g(0x1b7))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x827e4));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const h=a129d;return a129a['toString']()[h(0x1bf)](h(0x1d5))[h(0x1bc)]()['constructor'](a129a)[h(0x1bf)](h(0x1d5));});a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0x1b2;let f=c[d];return f;},a129d(a,b);}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';function a129c(){const k=['Material-UI\x20Kit','18sIpLHL','mui','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!','auth','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','5967598AEAOcU','fsi','getMakaProjectConfig','maka\x20g:kit:m','774AnGxlr','(((.+)+)+)+$','frame','7066QZollj','create','info','63XyfFhw','1325870kProov','kit:mui:auth','No\x20MUI\x20kits\x20selected.\x20Exiting.','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','cfg','toString','kit:mui:frame','3768384nFrMyP','search','notice','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','712870eEhfSQ','96068BKyoWr','options','processAndRunGenerator','2168916ezPEDY','kitChoices','includes','checkbox'];a129c=function(){return k;};return a129c();}import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator[a129i(0x1b4)]({'name':a129i(0x1cc),'aliases':['m'],'usage':a129i(0x1c1),'noNeedResource':!![],'shortDesc':a129i(0x1ca),'validOpts':[''],'isPro':!![],'examples':[a129i(0x1d3)]},async function(){const j=a129i;Log[j(0x1b5)](j(0x1cd)),Log[j(0x1c0)]('\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20');const {kitChoices:a}=await Actions[j(0x1c4)]({'type':j(0x1c9),'name':j(0x1c7),'message':j(0x1cf),'choices':[{'name':'Header,\x20Footer,\x20and\x20Drawer','value':j(0x1b2)},{'name':j(0x1ba),'value':j(0x1ce)}]}),b=this[j(0x1d1)]['findProjectDirectory'](),c=this[j(0x1bb)][j(0x1d2)]();a['includes']('frame')&&await a129e[j(0x1c5)](j(0x1bd),[],{'force':!![],'cwd':b,'config':c});a[j(0x1c8)]('auth')&&await a129e['processAndRunGenerator'](j(0x1b8),[],{'force':!![],'cwd':b,'config':c});if(a['length']===0x0){Log[j(0x1b5)](j(0x1b9));return;}},async function(){},a129f);export default MuiGen;
1
+ const a129i=a129d;(function(a,b){const g=a129d,c=a();while(!![]){try{const d=parseInt(g(0xd8))/0x1+-parseInt(g(0xe0))/0x2*(-parseInt(g(0xe4))/0x3)+parseInt(g(0xe6))/0x4+parseInt(g(0xe7))/0x5*(parseInt(g(0xd6))/0x6)+parseInt(g(0xd3))/0x7+-parseInt(g(0xc6))/0x8+-parseInt(g(0xe3))/0x9*(parseInt(g(0xe5))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a129c,0x21a45));const a129b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a129a=a129b(this,function(){const h=a129d;return a129a[h(0xd0)]()[h(0xca)](h(0xdc))['toString']()[h(0xce)](a129a)['search']('(((.+)+)+)+$');});function a129c(){const k=['create','Material-UI\x20Kit','search','processAndRunGenerator','\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&####%&@@@@@@@@@@@@@@@@@@@&&%###&@@@@@@&%###%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#(((((##%&&@@@@@@@@@&&%%#(((((#&@@@@@&#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((#%&&@&&%##(((((((((#&@@@@&&#((##%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((((((((((((#((((((((((((((#&@@@@@&%&&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#%%%%##((((((((#%%&%#((((#&@@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@&&%###%%&@@@@&#((((#&@@@@@@@@&&&&@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@@@&#((((#&@@@@@&%#(((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&#((((#&&@@@@@@@@@@@@@@&%##((((#&@@@@&%#((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@&%#(((#&&@@@@@@@@@&&%##(((((((#%&@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@&%#%&@@@@@@@@&#((((((((##%&@@@@@@@&%(((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((%&@@@@@@@@@&%#((((((%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@&&#((((((#%%&@@&&%##((((((((#%@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@&%%#((((((((##((((((((##%&@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&%##(((((((((##%&@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@&&%##(#%&&@@@@@@@@@@@@@@@@@@@@@@@@\x0a@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@\x0a\x0a\x20\x20This\x20generator\x20will\x20help\x20you\x20add\x20MUI\x20to\x20your\x20project.\x0a\x20\x20Choose\x20from\x20a\x20selection\x20of\x20premade\x20MUI\x20components.\x0a\x20\x20','frame','constructor','mui','toString','kit:mui:auth','cfg','124936wvaFde','auth','kitChoices','324366FfMgpN','Which\x20MUI\x20Kits\x20would\x20you\x20like\x20to\x20generate?','110275wAOcjy','notice','maka\x20g:kit:m','findProjectDirectory','(((.+)+)+)+$','getMakaProjectConfig','length','checkbox','110438FuAZRc','Header,\x20Footer,\x20and\x20Drawer','Auth\x20workflow\x20(login,\x20logout,\x20etc.)','9eNkmhn','3cRupQv','4344790idTudW','1068440IanSKe','25NwTGwz','maka\x20{generate,\x20g}:{kit,\x20k}:{mui,\x20m}\x20<kit-name>','info','1187848tHfjiZ','Welcome\x20to\x20the\x20MUI\x20Kit\x20generator!'];a129c=function(){return k;};return a129c();}a129a();function a129d(a,b){const c=a129c();return a129d=function(d,e){d=d-0xc6;let f=c[d];return f;},a129d(a,b);}import{Generator}from'../../../generator.js';import{Actions}from'../../../tools/actions/actions.class.js';import{Log}from'../../../tools/log/log.class.js';import a129e from'../../../generators/maka.gen.js';import a129f from'../kit.js';const MuiGen=Generator[a129i(0xc8)]({'name':a129i(0xcf),'aliases':['m'],'usage':a129i(0xe8),'noNeedResource':!![],'shortDesc':a129i(0xc9),'validOpts':[''],'isPro':!![],'examples':[a129i(0xda)]},async function(){const j=a129i;Log[j(0xe9)](j(0xc7)),Log[j(0xd9)](j(0xcc));const {kitChoices:a}=await Actions['options']({'type':j(0xdf),'name':j(0xd5),'message':j(0xd7),'choices':[{'name':j(0xe1),'value':j(0xcd)},{'name':j(0xe2),'value':'auth'}]}),b=this['fsi'][j(0xdb)](),c=this[j(0xd2)][j(0xdd)]();a['includes'](j(0xcd))&&await a129e['processAndRunGenerator']('kit:mui:frame',[],{'force':!![],'cwd':b,'config':c});a['includes'](j(0xd4))&&await a129e[j(0xcb)](j(0xd1),[],{'force':!![],'cwd':b,'config':c});if(a[j(0xde)]===0x0){Log['info']('No\x20MUI\x20kits\x20selected.\x20Exiting.');return;}},async function(){},a129f);export default MuiGen;
@@ -1 +1 @@
1
- const a130n=a130d;(function(a,b){const l=a130d,c=a();while(!![]){try{const d=parseInt(l(0x1ba))/0x1+-parseInt(l(0x1a4))/0x2+parseInt(l(0x1b2))/0x3*(-parseInt(l(0x1a6))/0x4)+-parseInt(l(0x1c9))/0x5*(-parseInt(l(0x1c4))/0x6)+parseInt(l(0x1a9))/0x7+parseInt(l(0x1bd))/0x8*(-parseInt(l(0x1b5))/0x9)+parseInt(l(0x1a0))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0xccb87));function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x191;let f=c[d];return f;},a130d(a,b);}const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const m=a130d;return a130a[m(0x1c7)]()[m(0x1c1)](m(0x1be))['toString']()[m(0x191)](a130a)[m(0x1c1)](m(0x1be));});a130a();import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator[a130n(0x19a)]({'name':a130n(0x19e),'aliases':aliases,'usage':a130n(0x1a5),'shortDesc':a130n(0x1b3),'validOpts':[a130n(0x1cb)],'examples':[a130n(0x1b6),a130n(0x1c0)]},async function(a,b){const o=a130n,c=o(0x198),d=this['fsi'][o(0x1cf)](),e=this[o(0x1ab)]['pathFromApp']({'pathParts':[c,b['dir'],paramCase(b['resourceName']),paramCase(b[o(0x1b9)])]}),f=await this[o(0x1a2)][o(0x19d)]();typeof f[o(0x1ce)]['test']==='string'&&this[o(0x1a2)][o(0x19c)]('test',f[o(0x1ce)][o(0x1a7)]);typeof f[o(0x1ce)]['css']==='string'&&this[o(0x1a2)][o(0x19c)](o(0x19f),f[o(0x1ce)][o(0x19f)]);typeof f[o(0x1ce)]['js']===o(0x1bb)&&this['cfg'][o(0x19c)]('js',f[o(0x1ce)]['js']);const g=b['_']?b['_'][0x0][o(0x1bc)](':')[0x1]:![],h=b['_']&&aliases[o(0x1b0)](g);h&&!this['pkg'][o(0x1cd)](o(0x19b))&&(Log[o(0x1c2)](o(0x1b7)),this[o(0x1aa)][o(0x1b8)](o(0x19b),{'cwd':d}));if(h&&!this[o(0x1aa)][o(0x1cd)](o(0x199))){Log['warn'](o(0x1d1));return;}const i={'name':pascalCase(b[o(0x1b9)]),'myPath':a130e[o(0x1a8)](this[o(0x1a1)]['findProjectDirectory'](),e),'cssCaseName':paramCase(b[o(0x1b9)]),'className':pascalCase(b['resourceName']),'camelCaseName':camelCase(b[o(0x1b9)]),'fileName':paramCase(b['resourceName']),'graphql':f[o(0x1bf)][o(0x1c8)],'features':f[o(0x1ca)],'client':f[o(0x1bf)][o(0x196)],'api':f[o(0x1bf)][o(0x1d0)],'ssr':f[o(0x1bf)]['ssr'],'test':f[o(0x1bf)][o(0x1a7)],'theme':f[o(0x1bf)][o(0x1c5)],'isComponent':![],'isLayout':!![],'withTranslations':f[o(0x1ca)][o(0x1a3)]};f[o(0x1ca)]?.[o(0x1af)]||b[o(0x1cb)]?await this[o(0x1ab)][o(0x1ce)]({'srcPath':'hook/hook.js','destPath':e+o(0x1ad),'framework':'react','context':i,'config':f}):await this[o(0x1ab)][o(0x1ce)]({'srcPath':o(0x192),'destPath':e+o(0x1ad),'framework':o(0x199),'context':i,'config':f});f[o(0x1bf)][o(0x1a7)]!==o(0x1b1)&&await this[o(0x1ab)]['template']({'srcPath':o(0x194),'destPath':e+'.app-tests.js','framework':o(0x199),'context':i,'config':f});f['template'][o(0x19f)]&&(await this['scaffold'][o(0x1ce)]({'srcPath':o(0x1cc),'destPath':e+o(0x1ae),'context':Object[o(0x1b4)]({},i,{'className':paramCase(b['resourceName'])}),'config':f}),await this['scaffold'][o(0x193)]({'filePath':e+'.'+f[o(0x1bf)]['js'],'content':o(0x1ac)+i[o(0x1c6)]+'.'+f[o(0x1bf)][o(0x19f)]+'\x27;'}));const j=b[o(0x195)]?'/'+b[o(0x195)]+'/':'/',k=''+c+j+i[o(0x1c6)]+'/'+i['fileName'];await this[o(0x1ab)][o(0x197)](i[o(0x1c3)],f,k);});function a130c(){const p=['24896pCknYn','test','relative','9649409lTXzeb','pkg','scaffold','import\x20\x27./','.js','.css','withHooks','includes','none','645dzcFKy','Scaffolding\x20for\x20a\x20React\x20Layout.','assign','855ctjBvl','maka\x20g:layout\x20mobile/iPhone8','Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...','installNpmPackage','resourceName','1248913kwVavh','string','split','17528FOXFhM','(((.+)+)+)+$','engines','maka\x20g:l\x20web/safari','search','warn','className','11652tGHKpZ','theme','fileName','toString','graphql','710rAyrPa','features','withHook','template/template.css','checkNpmPackage','template','findAppDirectory','api','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','constructor','component/component.js','injectAtBeginningOfFile','test/test.js','dir','client','injectTemplateModule','/imports/ui/layouts','react','create','ramda','setTemplate','getMakaProjectConfig','layout','css','7851360NnSZmu','fsi','cfg','withTranslations','2606920WJywJf','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>'];a130c=function(){return p;};return a130c();}
1
+ const a130n=a130d;(function(a,b){const l=a130d,c=a();while(!![]){try{const d=-parseInt(l(0xae))/0x1*(-parseInt(l(0xac))/0x2)+parseInt(l(0xa2))/0x3*(-parseInt(l(0xb7))/0x4)+-parseInt(l(0xab))/0x5*(parseInt(l(0xa7))/0x6)+parseInt(l(0xa8))/0x7+parseInt(l(0xc3))/0x8+-parseInt(l(0xa0))/0x9+parseInt(l(0xb2))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a130c,0x64957));const a130b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a130a=a130b(this,function(){const m=a130d;return a130a[m(0xbb)]()['search']('(((.+)+)+)+$')[m(0xbb)]()['constructor'](a130a)[m(0xd7)](m(0xcf));});function a130c(){const p=['3UNRlKi','withTranslations','none','hook/hook.js','import\x20\x27./','164832cDgGhN','973581KPbmjw','string','test/test.js','85fXqfcW','17418yTTYHP','layout','5zgwxlP','template','withHook','ramda','16621640cgzLcK','css','react','maka\x20g:l\x20web/safari','maka\x20{generate,\x20g}:{layout,\x20l}\x20[path/]<name>','3219492luVAat','setTemplate','fsi','dir','toString','className','graphql','.css','theme','/imports/ui/layouts','withHooks','ssr','843936sQivFN','engines','findProjectDirectory','template/template.css','client','installNpmPackage','checkNpmPackage','cfg','relative','Scaffolding\x20for\x20a\x20React\x20Layout.','features','component/component.js','(((.+)+)+)+$','resourceName','This\x20project\x20must\x20be\x20a\x20React\x20type\x20project\x20to\x20use\x20the\x20hooks\x20generator','injectTemplateModule','warn','maka\x20g:layout\x20mobile/iPhone8','fileName','getMakaProjectConfig','search','api','split','pkg','scaffold','2397564LYHstH','test'];a130c=function(){return p;};return a130c();}a130a();function a130d(a,b){const c=a130c();return a130d=function(d,e){d=d-0x9c;let f=c[d];return f;},a130d(a,b);}import a130e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['l'];Generator['create']({'name':a130n(0xad),'aliases':aliases,'usage':a130n(0xb6),'shortDesc':a130n(0xcc),'validOpts':[a130n(0xb0)],'examples':[a130n(0xd4),a130n(0xb5)]},async function(a,b){const o=a130n,c=o(0xc0),d=this[o(0xb9)]['findAppDirectory'](),e=this[o(0x9f)]['pathFromApp']({'pathParts':[c,b[o(0xba)],paramCase(b[o(0xd0)]),paramCase(b['resourceName'])]}),f=await this['cfg'][o(0xd6)]();typeof f['template'][o(0xa1)]===o(0xa9)&&this[o(0xca)][o(0xb8)]('test',f[o(0xaf)][o(0xa1)]);typeof f[o(0xaf)][o(0xb3)]===o(0xa9)&&this['cfg'][o(0xb8)](o(0xb3),f[o(0xaf)]['css']);typeof f[o(0xaf)]['js']===o(0xa9)&&this[o(0xca)][o(0xb8)]('js',f[o(0xaf)]['js']);const g=b['_']?b['_'][0x0][o(0x9d)](':')[0x1]:![],h=b['_']&&aliases['includes'](g);h&&!this[o(0x9e)][o(0xc9)](o(0xb1))&&(Log[o(0xd3)]('Npm\x20package\x20\x22@apollo/client\x22\x20not\x20installed,\x20installing...'),this['pkg'][o(0xc8)]('ramda',{'cwd':d}));if(h&&!this[o(0x9e)]['checkNpmPackage'](o(0xb4))){Log[o(0xd3)](o(0xd1));return;}const i={'name':pascalCase(b['resourceName']),'myPath':a130e[o(0xcb)](this['fsi'][o(0xc5)](),e),'cssCaseName':paramCase(b[o(0xd0)]),'className':pascalCase(b[o(0xd0)]),'camelCaseName':camelCase(b[o(0xd0)]),'fileName':paramCase(b['resourceName']),'graphql':f[o(0xc4)][o(0xbd)],'features':f['features'],'client':f['engines'][o(0xc7)],'api':f[o(0xc4)][o(0x9c)],'ssr':f[o(0xc4)][o(0xc2)],'test':f[o(0xc4)][o(0xa1)],'theme':f[o(0xc4)][o(0xbf)],'isComponent':![],'isLayout':!![],'withTranslations':f[o(0xcd)][o(0xa3)]};f[o(0xcd)]?.[o(0xc1)]||b[o(0xb0)]?await this[o(0x9f)]['template']({'srcPath':o(0xa5),'destPath':e+'.js','framework':o(0xb4),'context':i,'config':f}):await this['scaffold']['template']({'srcPath':o(0xce),'destPath':e+'.js','framework':'react','context':i,'config':f});f['engines'][o(0xa1)]!==o(0xa4)&&await this[o(0x9f)][o(0xaf)]({'srcPath':o(0xaa),'destPath':e+'.app-tests.js','framework':o(0xb4),'context':i,'config':f});f['template'][o(0xb3)]&&(await this[o(0x9f)][o(0xaf)]({'srcPath':o(0xc6),'destPath':e+o(0xbe),'context':Object['assign']({},i,{'className':paramCase(b[o(0xd0)])}),'config':f}),await this['scaffold']['injectAtBeginningOfFile']({'filePath':e+'.'+f['engines']['js'],'content':o(0xa6)+i[o(0xd5)]+'.'+f[o(0xc4)]['css']+'\x27;'}));const j=b[o(0xba)]?'/'+b[o(0xba)]+'/':'/',k=''+c+j+i[o(0xd5)]+'/'+i[o(0xd5)];await this[o(0x9f)][o(0xd2)](i[o(0xbc)],f,k);});
@@ -1 +1 @@
1
- function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0x17c;let f=c[d];return f;},a131d(a,b);}const a131i=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=parseInt(f(0x18d))/0x1+parseInt(f(0x186))/0x2+parseInt(f(0x183))/0x3*(parseInt(f(0x192))/0x4)+parseInt(f(0x187))/0x5*(parseInt(f(0x180))/0x6)+parseInt(f(0x188))/0x7*(parseInt(f(0x17f))/0x8)+-parseInt(f(0x191))/0x9+-parseInt(f(0x18b))/0xa*(parseInt(f(0x18e))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0xead33));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){const g=a131d;if(c){const e=c[g(0x190)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const h=a131d;return a131a[h(0x184)]()[h(0x185)](h(0x18a))[h(0x184)]()['constructor'](a131a)[h(0x185)](h(0x18a));});a131a();import{Generator}from'../generator.js';function a131c(){const j=['1002679BSwdtd','22463474yJpXgY','generate','apply','8293833zGoqqy','12onqfma','maka\x20g:dbc\x20geoserver\x20--type=pgsql','maka\x20g:package\x20package:name','maka\x20generate:scaffold\x20todos','31384zkyctb','716922wBHquh','maka\x20g:route\x20todos/edit','maka\x20{generate,\x20g}:<generator>\x20<name>','395697zDxAxy','toString','search','3691800rBEAhQ','35rCnKsn','3367qapbsT','maka\x20g:template\x20todos/todo_item','(((.+)+)+)+$','20feyKYP','Scaffold\x20various\x20parts\x20of\x20your\x20application'];a131c=function(){return j;};return a131c();}const MakaGen=new Generator({'name':a131i(0x18f),'aliases':['g'],'usage':a131i(0x182),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a131i(0x18c),'examples':[a131i(0x17e),'maka\x20g:scaffold\x20todos',a131i(0x189),a131i(0x17d),a131i(0x181),'maka\x20g:api\x20trucks',a131i(0x17c)]},async function(){});export default MakaGen;
1
+ function a131d(a,b){const c=a131c();return a131d=function(d,e){d=d-0xe6;let f=c[d];return f;},a131d(a,b);}const a131h=a131d;(function(a,b){const f=a131d,c=a();while(!![]){try{const d=-parseInt(f(0xef))/0x1*(parseInt(f(0xf1))/0x2)+-parseInt(f(0xf5))/0x3+parseInt(f(0xf3))/0x4+-parseInt(f(0xf8))/0x5*(parseInt(f(0xee))/0x6)+-parseInt(f(0xf7))/0x7+parseInt(f(0xf6))/0x8+parseInt(f(0xf2))/0x9*(parseInt(f(0xeb))/0xa);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a131c,0x73434));const a131b=(function(){let a=!![];return function(b,c){const d=a?function(){if(c){const e=c['apply'](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a131a=a131b(this,function(){const g=a131d;return a131a[g(0xe8)]()[g(0xe6)](g(0xf0))[g(0xe8)]()['constructor'](a131a)[g(0xe6)](g(0xf0));});a131a();import{Generator}from'../generator.js';const MakaGen=new Generator({'name':'generate','aliases':['g'],'usage':a131h(0xed),'validOpts':[],'mustBeInMakaProject':!![],'minArgLength':0x1,'isRoot':!![],'noNeedResource':!![],'shortDesc':a131h(0xe7),'examples':[a131h(0xec),'maka\x20g:scaffold\x20todos',a131h(0xf9),'maka\x20g:package\x20package:name',a131h(0xf4),a131h(0xe9),a131h(0xea)]},async function(){});function a131c(){const i=['3953264UBIxJY','3165099ZZAVkC','530235HagVWn','maka\x20g:template\x20todos/todo_item','search','Scaffold\x20various\x20parts\x20of\x20your\x20application','toString','maka\x20g:api\x20trucks','maka\x20g:dbc\x20geoserver\x20--type=pgsql','5480XYDdTw','maka\x20generate:scaffold\x20todos','maka\x20{generate,\x20g}:<generator>\x20<name>','48OlCrkq','3WWEUPw','(((.+)+)+)+$','367074jhOGyh','30213VUqaJD','2293792DliDUp','maka\x20g:route\x20todos/edit','1751946akyHdg'];a131c=function(){return i;};return a131c();}export default MakaGen;
@@ -1 +1 @@
1
- const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x1a7))/0x1*(-parseInt(k(0x1a0))/0x2)+parseInt(k(0x199))/0x3+parseInt(k(0x197))/0x4+-parseInt(k(0x1a1))/0x5+parseInt(k(0x19e))/0x6+parseInt(k(0x1ad))/0x7+-parseInt(k(0x19a))/0x8;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0x9eb62));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x192)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x1ab)]()[m(0x19f)](m(0x19d))[m(0x1ab)]()[m(0x1b1)](a132a)['search'](m(0x19d));});a132a();import{Generator}from'../generator.js';function a132c(){const p=['5811911vdsOHA','imports','maka\x20{generate,\x20g}:{method,\x20m}\x20name','maka\x20g:method\x20todos','constructor','getMakaProjectConfig','index.','method/method.js','apply','dir','method','-rpc-method.','mdg:validated-method','1499584BNtXfP','scaffold','401958cmpxjj','6888456lOInAL','cfg','pkg','(((.+)+)+)+$','1789596uSZJOU','search','29334ZlNeyn','1438095keLTkt','engines','startup','appPathPrefix','resourceName','-rpc-method\x27;','11VZROsh','methods','pathFromApp','injectAtEndOfFile','toString','checkMeteorPackage'];a132c=function(){return p;};return a132c();}import{Log}from'../tools/log/log.class.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x192;let f=c[d];return f;},a132d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator['create']({'name':a132n(0x194),'aliases':['m'],'usage':a132n(0x1af),'checkWhere':!![],'shortDesc':'Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','validOpts':[a132n(0x193)],'examples':[a132n(0x1b0)]},async function(a,b){const o=a132n;try{const c=await this[o(0x19b)][o(0x1b2)](),d=b[o(0x193)]?'/'+b[o(0x193)]+'/':'/',f=paramCase(b[o(0x1a5)]),g={'name':b[o(0x1a5)],'fileName':f,'className':pascalCase(b[o(0x1a5)]),'camelCase':camelCase(b['resourceName']),'noRename':!![]};let h='js';c['engines']['js']==='tsx'&&(h='ts');await this[o(0x19c)][o(0x1ac)](['maka:check','ddp-rate-limiter',o(0x196)],{'shouldInstall':!![]}),await this[o(0x198)]['template']({'srcPath':o(0x1b4),'destPath':this[o(0x198)][o(0x1a9)]({'pathParts':[o(0x1ae),'startup',b[o(0x1a4)],o(0x1a8),d,f+o(0x195)+h]}),'context':g,'config':c});const i=this[o(0x198)][o(0x1a9)]({'pathParts':[o(0x1ae),o(0x1a3),b[o(0x1a4)],o(0x1b3)+c[o(0x1a2)]['js']]});await this[o(0x198)][o(0x1aa)]({'filePath':i,'content':'import\x20\x27./methods'+d+f+o(0x1a6)});}catch(j){Log['error'](j);}});
1
+ const a132n=a132d;(function(a,b){const k=a132d,c=a();while(!![]){try{const d=-parseInt(k(0x1a6))/0x1+-parseInt(k(0x1af))/0x2*(parseInt(k(0x19b))/0x3)+parseInt(k(0x1b6))/0x4*(-parseInt(k(0x195))/0x5)+-parseInt(k(0x1bd))/0x6+-parseInt(k(0x1b5))/0x7+-parseInt(k(0x199))/0x8*(parseInt(k(0x1b2))/0x9)+-parseInt(k(0x1b7))/0xa*(-parseInt(k(0x1bb))/0xb);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a132c,0xc7ce6));const a132b=(function(){let a=!![];return function(b,c){const d=a?function(){const l=a132d;if(c){const e=c[l(0x1ae)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a132a=a132b(this,function(){const m=a132d;return a132a[m(0x1ab)]()[m(0x1b4)](m(0x1b9))['toString']()[m(0x1a1)](a132a)[m(0x1b4)](m(0x1b9));});a132a();import{Generator}from'../generator.js';function a132d(a,b){const c=a132c();return a132d=function(d,e){d=d-0x193;let f=c[d];return f;},a132d(a,b);}import{Log}from'../tools/log/log.class.js';import{camelCase,paramCase,pascalCase}from'change-case';function a132c(){const p=['template','scaffold','4115qTLpRL','appPathPrefix','pkg','startup','5424SsuwVF','-rpc-method\x27;','110139lfMTJF','pathFromApp','engines','method/method.js','-rpc-method.','tsx','constructor','injectAtEndOfFile','imports','ddp-rate-limiter','method','1223393SVbQtz','resourceName','cfg','maka\x20g:method\x20todos','dir','toString','create','checkMeteorPackage','apply','62jMBrTw','maka:check','error','17757PZfCAp','getMakaProjectConfig','search','7330498Dylqes','3512HDVDNB','18325040dGJtrm','Scaffolding\x20for\x20a\x20Meteor\x20Method.\x0ahttps://guide.meteor.com/methods.html','(((.+)+)+)+$','index.','44InEIEA','maka\x20{generate,\x20g}:{method,\x20m}\x20name','6255672pRvfOl','methods','import\x20\x27./methods'];a132c=function(){return p;};return a132c();}Generator[a132n(0x1ac)]({'name':a132n(0x1a5),'aliases':['m'],'usage':a132n(0x1bc),'checkWhere':!![],'shortDesc':a132n(0x1b8),'validOpts':[a132n(0x1aa)],'examples':[a132n(0x1a9)]},async function(a,b){const o=a132n;try{const c=await this[o(0x1a8)][o(0x1b3)](),d=b[o(0x1aa)]?'/'+b[o(0x1aa)]+'/':'/',f=paramCase(b[o(0x1a7)]),g={'name':b['resourceName'],'fileName':f,'className':pascalCase(b['resourceName']),'camelCase':camelCase(b[o(0x1a7)]),'noRename':!![]};let h='js';c[o(0x19d)]['js']===o(0x1a0)&&(h='ts');await this[o(0x197)][o(0x1ad)]([o(0x1b0),o(0x1a4),'mdg:validated-method'],{'shouldInstall':!![]}),await this[o(0x194)][o(0x193)]({'srcPath':o(0x19e),'destPath':this[o(0x194)][o(0x19c)]({'pathParts':[o(0x1a3),o(0x198),b[o(0x196)],o(0x1be),d,f+o(0x19f)+h]}),'context':g,'config':c});const i=this[o(0x194)][o(0x19c)]({'pathParts':[o(0x1a3),o(0x198),b[o(0x196)],o(0x1ba)+c['engines']['js']]});await this[o(0x194)][o(0x1a2)]({'filePath':i,'content':o(0x1bf)+d+f+o(0x19a)});}catch(j){Log[o(0x1b1)](j);}});
@@ -1 +1 @@
1
- const a133p=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0x12f))/0x1+-parseInt(m(0x10f))/0x2+parseInt(m(0x128))/0x3*(-parseInt(m(0x11f))/0x4)+parseInt(m(0x120))/0x5+-parseInt(m(0x11a))/0x6*(parseInt(m(0x108))/0x7)+parseInt(m(0x10e))/0x8*(-parseInt(m(0x12b))/0x9)+parseInt(m(0x12d))/0xa;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xea5fb));const a133b=(function(){let a=!![];return function(b,c){const d=a?function(){const n=a133d;if(c){const e=c[n(0x127)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a133a=a133b(this,function(){const o=a133d;return a133a[o(0x10a)]()[o(0x12c)]('(((.+)+)+)+$')[o(0x10a)]()[o(0x116)](a133a)[o(0x12c)]('(((.+)+)+)+$');});function a133c(){const r=['10850970kcKPAR','package/package.js','noRename','theme','pathFromAppWithNoReWrite','3372620kUIreJ','2057555ZwDGho','findProjectDirectory','graphql','package','dir','cfg','pathFromApp','apply','6eDGWVS','layout','lib','6939981QFZmcB','search','49587860unnguK','engines','1293709edMCrk','ssr','hasOwnProperty','template/template.js','getMakaProjectConfig','template','/client/','.js','7xTDAIE','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','toString','store','create','relative','8kguTnO','2876194alfLoS','tests/server','tests/client','package.js','maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','component','resourceName','constructor','scaffold','fsi','packages'];a133c=function(){return r;};return a133c();}a133a();import a133e from'path';import{Generator}from'../generator.js';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x104;let f=c[d];return f;},a133d(a,b);}import{camelCase,paramCase,pascalCase}from'change-case';Generator[a133p(0x10c)]({'name':a133p(0x123),'aliases':['p'],'usage':a133p(0x113),'shortDesc':a133p(0x109),'validOpts':[a133p(0x124)],'examples':['maka\x20g:package\x20todos:package']},async function(a,b){const q=a133p,c=paramCase(b[q(0x115)]),d=b[q(0x124)]?'/'+b['dir']+'/':'/',e=this[q(0x117)][q(0x126)]({'pathParts':[q(0x119),d,c]}),f=this[q(0x117)][q(0x11e)]({'pathParts':[q(0x119),d,c,q(0x112)]}),g=await this[q(0x125)][q(0x104)](),h={'name':paramCase(b[q(0x115)]),'myPath':a133e[q(0x10d)](this[q(0x118)][q(0x121)](),e),'cssCaseName':paramCase(b[q(0x115)]),'className':pascalCase(b[q(0x115)]),'camelCaseName':camelCase(b[q(0x115)]),'fileName':c,'client':g[q(0x12e)]['client'],'graphql':g[q(0x12e)][q(0x122)],'ssr':g['engines'][q(0x130)],'isComponent':b[q(0x131)](q(0x114)),'isLayout':b[q(0x131)](q(0x129)),'isStore':b[q(0x131)](q(0x10b)),'features':g['features'],'noRename':!![],'theme':g[q(0x12e)][q(0x11d)]};await this[q(0x117)][q(0x105)]({'srcPath':q(0x11b),'destPath':f,'context':h,'config':g}),h[q(0x11c)]=![];const i=e+q(0x106)+c+q(0x107);await this[q(0x117)][q(0x105)]({'srcPath':q(0x132),'destPath':i,'context':h,'config':g});const j=[q(0x12a),'server',q(0x111),q(0x110)];for(const k of j){const l=e+'/'+k+'/'+c+q(0x107);await this['scaffold'][q(0x105)]({'srcPath':'package/'+k+'/package.js','destPath':l,'context':h,'config':g});}});
1
+ function a133c(){const q=['maka\x20g:package\x20todos:package','pathFromApp','pathFromAppWithNoReWrite','24cThbqA','57GilEcB','dir','128650LQijFN','noRename','24GKuJFb','/package.js','cfg','findProjectDirectory','fsi','constructor','220959uCHaab','search','ssr','6391390VXwWyH','graphql','213715mXUJAx','package/','resourceName','(((.+)+)+)+$','toString','408AsoBHE','template','/client/','features','layout','create','8195286wMoJln','155897jzHLKL','theme','relative','scaffold','engines','582525zjKkEh','tests/client','hasOwnProperty','package.js','Scaffolding\x20for\x20a\x20Meteor\x20Package.\x0ahttps://docs.meteor.com/api/packagejs.html','client','packages'];a133c=function(){return q;};return a133c();}const a133o=a133d;(function(a,b){const m=a133d,c=a();while(!![]){try{const d=parseInt(m(0x182))/0x1+parseInt(m(0x18f))/0x2*(-parseInt(m(0x18d))/0x3)+parseInt(m(0x18c))/0x4*(-parseInt(m(0x19c))/0x5)+parseInt(m(0x1a1))/0x6*(parseInt(m(0x1a8))/0x7)+-parseInt(m(0x191))/0x8*(-parseInt(m(0x197))/0x9)+-parseInt(m(0x19a))/0xa+parseInt(m(0x1a7))/0xb;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a133c,0xc2ca4));const a133b=(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;};}()),a133a=a133b(this,function(){const n=a133d;return a133a[n(0x1a0)]()[n(0x198)](n(0x19f))[n(0x1a0)]()[n(0x196)](a133a)['search'](n(0x19f));});a133a();import a133e from'path';import{Generator}from'../generator.js';import{camelCase,paramCase,pascalCase}from'change-case';function a133d(a,b){const c=a133c();return a133d=function(d,e){d=d-0x182;let f=c[d];return f;},a133d(a,b);}Generator[a133o(0x1a6)]({'name':'package','aliases':['p'],'usage':'maka\x20{generate,\x20g}:{package,\x20p}\x20[path/]<name>','shortDesc':a133o(0x186),'validOpts':[a133o(0x18e)],'examples':[a133o(0x189)]},async function(a,b){const p=a133o,c=paramCase(b[p(0x19e)]),d=b['dir']?'/'+b['dir']+'/':'/',e=this[p(0x1ab)][p(0x18a)]({'pathParts':[p(0x188),d,c]}),f=this[p(0x1ab)][p(0x18b)]({'pathParts':[p(0x188),d,c,p(0x185)]}),g=await this[p(0x193)]['getMakaProjectConfig'](),h={'name':paramCase(b[p(0x19e)]),'myPath':a133e[p(0x1aa)](this[p(0x195)][p(0x194)](),e),'cssCaseName':paramCase(b[p(0x19e)]),'className':pascalCase(b[p(0x19e)]),'camelCaseName':camelCase(b[p(0x19e)]),'fileName':c,'client':g[p(0x1ac)][p(0x187)],'graphql':g[p(0x1ac)][p(0x19b)],'ssr':g['engines'][p(0x199)],'isComponent':b[p(0x184)]('component'),'isLayout':b[p(0x184)](p(0x1a5)),'isStore':b['hasOwnProperty']('store'),'features':g[p(0x1a4)],'noRename':!![],'theme':g[p(0x1ac)][p(0x1a9)]};await this[p(0x1ab)][p(0x1a2)]({'srcPath':'package/package.js','destPath':f,'context':h,'config':g}),h[p(0x190)]=![];const i=e+p(0x1a3)+c+'.js';await this['scaffold'][p(0x1a2)]({'srcPath':'template/template.js','destPath':i,'context':h,'config':g});const j=['lib','server',p(0x183),'tests/server'];for(const k of j){const l=e+'/'+k+'/'+c+'.js';await this[p(0x1ab)][p(0x1a2)]({'srcPath':p(0x19d)+k+p(0x192),'destPath':l,'context':h,'config':g});}});
@@ -1 +1 @@
1
- function a134c(){const v=['1512890LgQMNP','resourceName','replaceAll','Generate\x20a\x20page.','maka\x20g:page\x20todos/todos-item','component','3obsXvA','1997484HssaHJ','getMakaProjectConfig','21841272csEmED','create','hasOwnProperty','hook/hook.js','className','features','/>}/>\x0a','import\x20\x27./','join','lib','<Route\x20path=\x22','injectIntoFile','true','scaffold','constructor','withTranslations','store','none','</Route>','includes','cfg','setTemplate','routes.','test','toLowerCase','substring','warn','string','template','page','installNpmPackage','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','ramda','6678596IBNhrk','html','maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','component/component.js','trim','4856136khfipd','split','pkg','fileName','template/template.css','url','client','withHooks','pathFromApp','error','.app-tests.js','engines','fsi','search','replace','relative','/imports/ui/pages','indexOf','injectAtBeginningOfFile','react','graphql','private','toString','ssr','root','3376675MIMHOW','(((.+)+)+)+$','findProjectDirectory','css','.js','test/test.js','assign','dir','checkNpmPackage','theme','endsWith','14021zGBYgO','2936tncCny'];a134c=function(){return v;};return a134c();}const a134t=a134d;function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0xa6;let f=c[d];return f;},a134d(a,b);}(function(a,b){const r=a134d,c=a();while(!![]){try{const d=parseInt(r(0xb4))/0x1+parseInt(r(0xbb))/0x2+-parseInt(r(0xba))/0x3*(-parseInt(r(0xde))/0x4)+parseInt(r(0xa7))/0x5+-parseInt(r(0xe3))/0x6+parseInt(r(0xb2))/0x7*(-parseInt(r(0xb3))/0x8)+-parseInt(r(0xbd))/0x9;if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0xd8267));const a134b=(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;};}()),a134a=a134b(this,function(){const s=a134d;return a134a[s(0xf9)]()[s(0xf0)](s(0xa8))['toString']()[s(0xcb)](a134a)['search']('(((.+)+)+)+$');});a134a();import a134e from'path';import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a134t(0xbe)]({'name':a134t(0xda),'aliases':aliases,'usage':a134t(0xe0),'shortDesc':a134t(0xb7),'validOpts':[{'name':a134t(0xf8),'boolFlag':!![]},{'name':a134t(0xe8)}],'examples':[a134t(0xb8)]},async function(a,b){const u=a134t,c=u(0xf3),d=this[u(0xef)]['findAppDirectory'](),e=b['resourceName'][u(0xd0)](':')?b[u(0xb5)][u(0xe4)](':')[0x0][u(0xe2)]():b[u(0xb5)]['trim'](),f=b['dir'][u(0xb6)]('/','_')+'_'+e[u(0xb6)]('/','_'),g=this['scaffold'][u(0xeb)]({'pathParts':[c,b[u(0xae)],paramCase(f),paramCase(f)]}),h=await this[u(0xd1)][u(0xbc)]();let i='';typeof h['template']['html']===u(0xd8)&&this[u(0xd1)][u(0xd2)]('html',h['template']['html']);typeof h[u(0xd9)]['test']===u(0xd8)&&this[u(0xd1)][u(0xd2)](u(0xd4),h[u(0xd9)][u(0xd4)]);typeof h[u(0xd9)]['css']==='string'&&this['cfg'][u(0xd2)](u(0xaa),h[u(0xd9)][u(0xaa)]);typeof h[u(0xd9)]['js']===u(0xd8)&&this['cfg']['setTemplate']('js',h['template']['js']);!b[u(0xa6)]&&!this[u(0xe5)][u(0xaf)]('ramda')&&(Log[u(0xd7)]('Updating\x20npm\x20packages\x20...'),this[u(0xe5)][u(0xdb)](u(0xdd),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e[u(0xf2)](this[u(0xef)][u(0xa9)](),g),'cssCaseName':paramCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':paramCase(f),'graphql':h[u(0xee)][u(0xf7)],'features':h[u(0xc2)],'client':h[u(0xee)][u(0xe9)],'api':h[u(0xee)]['api'],'ssr':h['engines'][u(0xfa)],'isStore':b[u(0xbf)](u(0xcd)),'isComponent':b[u(0xbf)](u(0xb9)),'isLayout':b['hasOwnProperty']('layout'),'withTranslations':h['features'][u(0xcc)],'test':h[u(0xee)]['test'],'theme':h[u(0xee)][u(0xb0)]};h[u(0xd9)][u(0xdf)]&&await this[u(0xca)][u(0xd9)]({'srcPath':'template/template.html','destPath':g+'.html','context':j,'config':h});h['features']?.[u(0xea)]?await this[u(0xca)][u(0xd9)]({'srcPath':u(0xc0),'destPath':g+u(0xab),'framework':u(0xf6),'context':j,'config':h}):await this['scaffold'][u(0xd9)]({'srcPath':u(0xe1),'destPath':g+u(0xab),'framework':u(0xf6),'context':j,'config':h});h['engines'][u(0xd4)]!==u(0xce)&&await this[u(0xca)]['template']({'srcPath':u(0xac),'destPath':g+u(0xed),'framework':u(0xf6),'context':j,'config':h});h[u(0xd9)][u(0xaa)]&&await this[u(0xca)][u(0xd9)]({'srcPath':u(0xe7),'destPath':g+'.css','context':Object[u(0xad)]({},j,{'className':paramCase(b[u(0xb5)])}),'config':h});h[u(0xee)]['client']!=='react'&&h[u(0xee)]['client']!=='vanilla'?(h['template']['css']&&await this['scaffold'][u(0xf5)]({'filePath':g+'.'+h[u(0xee)]['js'],'content':'import\x20\x27./'+j[u(0xe6)]+'.'+h['engines'][u(0xdf)]+'\x27;\x0a'+u(0xc4)+j[u(0xe6)]+'.'+h[u(0xee)]['css']+'\x27;'}),!h['template'][u(0xaa)]&&await this[u(0xca)]['injectAtBeginningOfFile']({'filePath':g+'.'+h[u(0xee)]['js'],'content':u(0xc4)+j[u(0xe6)]+'.'+h[u(0xee)][u(0xdf)]+'\x27;'})):h[u(0xd9)][u(0xaa)]&&await this[u(0xca)][u(0xf5)]({'filePath':g+'.'+h[u(0xee)]['js'],'content':u(0xc4)+j['fileName']+'.'+h[u(0xee)][u(0xaa)]+'\x27;'});const k=b[u(0xae)]?'/'+b[u(0xae)]+'/':'/';i=''+c+k+j[u(0xe6)]+'/'+j[u(0xe6)],await this[u(0xca)]['injectTemplateModule'](j[u(0xc1)],h,i);if(!b['root']){const l=b[u(0xf8)]??![];if(!f){Log[u(0xec)](u(0xdc));throw new UsageError();}let m=b[u(0xe8)]?b[u(0xe8)]:'/'+b['dir'][u(0xe2)]()+'/'+b[u(0xb5)][u(0xe2)]()[u(0xf1)](/\\/g,'/')[u(0xf1)](/\/+$/,'')[u(0xd5)]();const n=b[u(0xb5)][u(0xf4)](':');n!==-0x1&&(m+='/'+b[u(0xb5)][u(0xd6)](0x0,n)[u(0xe2)]());m[u(0xb1)]('/')&&(m=m['slice'](0x0,-0x1));m=m['replace'](/\/\//g,'/');const o=h['engines']['js'],p=h[u(0xee)][u(0xfa)]===u(0xc9)?u(0xc6):u(0xe9),q=a134e[u(0xc5)](d,'imports','startup',p,u(0xd3)+o);l?await this['scaffold'][u(0xc8)]({'filePath':q,'content':'<Route\x20path=\x22'+m+'\x22\x20element={<Component.'+pascalCase(f)+u(0xc3),'begin':['<Route\x20element={<PrivateRoute\x20/>}>'],'end':[u(0xcf)]}):await this[u(0xca)]['injectIntoFile']({'filePath':q,'content':u(0xc7)+m+'\x22\x20element={<Component.'+pascalCase(f)+u(0xc3),'begin':['<Route\x20index'],'end':['<Route\x20path=\x22*\x22']});}});
1
+ const a134u=a134d;(function(a,b){const r=a134d,c=a();while(!![]){try{const d=parseInt(r(0x1d3))/0x1+parseInt(r(0x1a3))/0x2+-parseInt(r(0x1b5))/0x3+parseInt(r(0x1a2))/0x4+parseInt(r(0x19b))/0x5+parseInt(r(0x1b8))/0x6*(parseInt(r(0x19c))/0x7)+parseInt(r(0x19e))/0x8*(-parseInt(r(0x1c2))/0x9);if(d===b)break;else c['push'](c['shift']());}catch(e){c['push'](c['shift']());}}}(a134c,0x7fd03));const a134b=(function(){let a=!![];return function(b,c){const d=a?function(){const s=a134d;if(c){const e=c[s(0x1b2)](b,arguments);return c=null,e;}}:function(){};return a=![],d;};}()),a134a=a134b(this,function(){const t=a134d;return a134a[t(0x1bd)]()[t(0x1ae)](t(0x1cb))[t(0x1bd)]()[t(0x198)](a134a)[t(0x1ae)](t(0x1cb));});function a134c(){const w=['2051936JtYNmZ','1989674KVYWWo','html','\x27;\x0a','none','assign','hook/hook.js','features','setTemplate','warn','/>}/>\x0a','routes.','search','template/template.html','scaffold','fileName','apply','<Route\x20element={<PrivateRoute\x20/>}>','<Route\x20path=\x22*\x22','2795073iZCSuJ','startup','hasOwnProperty','6RmUeda','split','endsWith','<Route\x20index','cfg','toString','component','substring','layout','Please\x20specify\x20a\x20name\x20for\x20the\x20route.','5841MvtCBD','pathFromApp','graphql','indexOf','injectAtBeginningOfFile','join','root','dir','includes','(((.+)+)+)+$','true','<Route\x20path=\x22','string','.js','Generate\x20a\x20page.','template/template.css','</Route>','769465BHDcxx','ramda','.css','engines','resourceName','toLowerCase','checkNpmPackage','lib','test/test.js','findAppDirectory','trim','private','replaceAll','ssr','page','.html','findProjectDirectory','import\x20\x27./','relative','fsi','theme','create','error','withTranslations','css','react','maka\x20g:page\x20todos/todos-item','injectIntoFile','client','store','.app-tests.js','imports','constructor','replace','template','2433075EYqMWX','2328438jbCiNz','url','20232LuGwoo','test','vanilla','component/component.js'];a134c=function(){return w;};return a134c();}a134a();import a134e from'path';function a134d(a,b){const c=a134c();return a134d=function(d,e){d=d-0x180;let f=c[d];return f;},a134d(a,b);}import{Generator}from'../generator.js';import{Log}from'../tools/log/log.class.js';import{UsageError}from'../error.js';import{camelCase,paramCase,pascalCase}from'change-case';const aliases=['p'];Generator[a134u(0x18d)]({'name':a134u(0x186),'aliases':aliases,'usage':'maka\x20{generate,\x20g}:{page,\x20p}\x20[path/]<name>','shortDesc':a134u(0x1d0),'validOpts':[{'name':'private','boolFlag':!![]},{'name':a134u(0x19d)}],'examples':[a134u(0x192)]},async function(a,b){const v=a134u,c='/imports/ui/pages',d=this['fsi'][v(0x181)](),e=b['resourceName'][v(0x1ca)](':')?b[v(0x1d7)][v(0x1b9)](':')[0x0][v(0x182)]():b[v(0x1d7)][v(0x182)](),f=b[v(0x1c9)]['replaceAll']('/','_')+'_'+e[v(0x184)]('/','_'),g=this[v(0x1b0)][v(0x1c3)]({'pathParts':[c,b[v(0x1c9)],paramCase(f),paramCase(f)]}),h=await this[v(0x1bc)]['getMakaProjectConfig']();let i='';typeof h[v(0x19a)][v(0x1a4)]==='string'&&this['cfg'][v(0x1aa)]('html',h[v(0x19a)][v(0x1a4)]);typeof h[v(0x19a)][v(0x19f)]===v(0x1ce)&&this[v(0x1bc)][v(0x1aa)](v(0x19f),h[v(0x19a)][v(0x19f)]);typeof h['template'][v(0x190)]==='string'&&this[v(0x1bc)][v(0x1aa)](v(0x190),h[v(0x19a)]['css']);typeof h[v(0x19a)]['js']===v(0x1ce)&&this['cfg'][v(0x1aa)]('js',h[v(0x19a)]['js']);!b[v(0x1c8)]&&!this['pkg'][v(0x1d9)](v(0x1d4))&&(Log[v(0x1ab)]('Updating\x20npm\x20packages\x20...'),this['pkg']['installNpmPackage'](v(0x1d4),{'cwd':d}));const j={'name':pascalCase(f),'myPath':a134e[v(0x18a)](this[v(0x18b)][v(0x188)](),g),'cssCaseName':paramCase(f),'className':pascalCase(f),'camelCaseName':camelCase(f),'fileName':paramCase(f),'graphql':h[v(0x1d6)][v(0x1c4)],'features':h[v(0x1a9)],'client':h['engines'][v(0x194)],'api':h[v(0x1d6)]['api'],'ssr':h['engines'][v(0x185)],'isStore':b[v(0x1b7)](v(0x195)),'isComponent':b[v(0x1b7)](v(0x1be)),'isLayout':b['hasOwnProperty'](v(0x1c0)),'withTranslations':h['features'][v(0x18f)],'test':h[v(0x1d6)][v(0x19f)],'theme':h[v(0x1d6)][v(0x18c)]};h[v(0x19a)][v(0x1a4)]&&await this[v(0x1b0)][v(0x19a)]({'srcPath':v(0x1af),'destPath':g+v(0x187),'context':j,'config':h});h[v(0x1a9)]?.['withHooks']?await this['scaffold'][v(0x19a)]({'srcPath':v(0x1a8),'destPath':g+v(0x1cf),'framework':v(0x191),'context':j,'config':h}):await this[v(0x1b0)][v(0x19a)]({'srcPath':v(0x1a1),'destPath':g+v(0x1cf),'framework':v(0x191),'context':j,'config':h});h[v(0x1d6)][v(0x19f)]!==v(0x1a6)&&await this[v(0x1b0)]['template']({'srcPath':v(0x180),'destPath':g+v(0x196),'framework':'react','context':j,'config':h});h[v(0x19a)][v(0x190)]&&await this[v(0x1b0)][v(0x19a)]({'srcPath':v(0x1d1),'destPath':g+v(0x1d5),'context':Object[v(0x1a7)]({},j,{'className':paramCase(b[v(0x1d7)])}),'config':h});h[v(0x1d6)]['client']!=='react'&&h[v(0x1d6)][v(0x194)]!==v(0x1a0)?(h[v(0x19a)][v(0x190)]&&await this[v(0x1b0)][v(0x1c6)]({'filePath':g+'.'+h[v(0x1d6)]['js'],'content':'import\x20\x27./'+j[v(0x1b1)]+'.'+h[v(0x1d6)][v(0x1a4)]+v(0x1a5)+v(0x189)+j[v(0x1b1)]+'.'+h[v(0x1d6)][v(0x190)]+'\x27;'}),!h[v(0x19a)][v(0x190)]&&await this[v(0x1b0)][v(0x1c6)]({'filePath':g+'.'+h[v(0x1d6)]['js'],'content':'import\x20\x27./'+j[v(0x1b1)]+'.'+h[v(0x1d6)][v(0x1a4)]+'\x27;'})):h['template'][v(0x190)]&&await this[v(0x1b0)][v(0x1c6)]({'filePath':g+'.'+h['engines']['js'],'content':v(0x189)+j[v(0x1b1)]+'.'+h[v(0x1d6)][v(0x190)]+'\x27;'});const k=b['dir']?'/'+b[v(0x1c9)]+'/':'/';i=''+c+k+j[v(0x1b1)]+'/'+j[v(0x1b1)],await this[v(0x1b0)]['injectTemplateModule'](j['className'],h,i);if(!b['root']){const l=b[v(0x183)]??![];if(!f){Log[v(0x18e)](v(0x1c1));throw new UsageError();}let m=b[v(0x19d)]?b[v(0x19d)]:'/'+b[v(0x1c9)][v(0x182)]()+'/'+b[v(0x1d7)][v(0x182)]()[v(0x199)](/\\/g,'/')['replace'](/\/+$/,'')[v(0x1d8)]();const n=b[v(0x1d7)][v(0x1c5)](':');n!==-0x1&&(m+='/'+b[v(0x1d7)][v(0x1bf)](0x0,n)['trim']());m[v(0x1ba)]('/')&&(m=m['slice'](0x0,-0x1));m=m[v(0x199)](/\/\//g,'/');const o=h[v(0x1d6)]['js'],p=h[v(0x1d6)]['ssr']===v(0x1cc)?v(0x1da):'client',q=a134e[v(0x1c7)](d,v(0x197),v(0x1b6),p,v(0x1ad)+o);l?await this[v(0x1b0)][v(0x193)]({'filePath':q,'content':v(0x1cd)+m+'\x22\x20element={<Component.'+pascalCase(f)+v(0x1ac),'begin':[v(0x1b3)],'end':[v(0x1d2)]}):await this[v(0x1b0)]['injectIntoFile']({'filePath':q,'content':v(0x1cd)+m+'\x22\x20element={<Component.'+pascalCase(f)+v(0x1ac),'begin':[v(0x1bb)],'end':[v(0x1b4)]});}});