@minecraft-docker/mcctl-console 2.12.1 → 2.14.0

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 (115) hide show
  1. package/.next/standalone/platform/services/mcctl-console/.next/BUILD_ID +1 -1
  2. package/.next/standalone/platform/services/mcctl-console/.next/app-build-manifest.json +34 -34
  3. package/.next/standalone/platform/services/mcctl-console/.next/app-path-routes-manifest.json +1 -1
  4. package/.next/standalone/platform/services/mcctl-console/.next/build-manifest.json +4 -4
  5. package/.next/standalone/platform/services/mcctl-console/.next/prerender-manifest.json +1 -1
  6. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/admin/users/page_client-reference-manifest.js +1 -1
  7. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page.js +5 -5
  8. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page.js.nft.json +1 -1
  9. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page_client-reference-manifest.js +1 -1
  10. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page_client-reference-manifest.js +1 -1
  11. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page.js +1 -1
  12. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page_client-reference-manifest.js +1 -1
  13. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/players/page_client-reference-manifest.js +1 -1
  14. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/routing/page_client-reference-manifest.js +1 -1
  15. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/console/page_client-reference-manifest.js +1 -1
  16. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page.js +1 -1
  17. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page.js.nft.json +1 -1
  18. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page_client-reference-manifest.js +1 -1
  19. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page.js +1 -1
  20. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page.js.nft.json +1 -1
  21. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page_client-reference-manifest.js +1 -1
  22. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/settings/page_client-reference-manifest.js +1 -1
  23. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page.js +1 -1
  24. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page_client-reference-manifest.js +1 -1
  25. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  26. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found.html +1 -1
  27. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found.rsc +1 -1
  28. package/.next/standalone/platform/services/mcctl-console/.next/server/app/api/mods/projects/route.js +1 -0
  29. package/.next/standalone/platform/services/mcctl-console/.next/server/app/api/mods/projects/route.js.nft.json +1 -0
  30. package/.next/standalone/platform/services/mcctl-console/.next/server/app/audit-logs.html +1 -1
  31. package/.next/standalone/platform/services/mcctl-console/.next/server/app/audit-logs.rsc +3 -3
  32. package/.next/standalone/platform/services/mcctl-console/.next/server/app/backups.html +1 -1
  33. package/.next/standalone/platform/services/mcctl-console/.next/server/app/backups.rsc +2 -2
  34. package/.next/standalone/platform/services/mcctl-console/.next/server/app/dashboard.html +1 -1
  35. package/.next/standalone/platform/services/mcctl-console/.next/server/app/dashboard.rsc +3 -3
  36. package/.next/standalone/platform/services/mcctl-console/.next/server/app/index.html +1 -1
  37. package/.next/standalone/platform/services/mcctl-console/.next/server/app/index.rsc +1 -1
  38. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login/page_client-reference-manifest.js +1 -1
  39. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login.html +1 -1
  40. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login.rsc +1 -1
  41. package/.next/standalone/platform/services/mcctl-console/.next/server/app/page_client-reference-manifest.js +1 -1
  42. package/.next/standalone/platform/services/mcctl-console/.next/server/app/players.html +1 -1
  43. package/.next/standalone/platform/services/mcctl-console/.next/server/app/players.rsc +3 -3
  44. package/.next/standalone/platform/services/mcctl-console/.next/server/app/routing.html +1 -1
  45. package/.next/standalone/platform/services/mcctl-console/.next/server/app/routing.rsc +2 -2
  46. package/.next/standalone/platform/services/mcctl-console/.next/server/app/servers.html +1 -1
  47. package/.next/standalone/platform/services/mcctl-console/.next/server/app/servers.rsc +2 -2
  48. package/.next/standalone/platform/services/mcctl-console/.next/server/app/settings.html +1 -1
  49. package/.next/standalone/platform/services/mcctl-console/.next/server/app/settings.rsc +2 -2
  50. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup/page_client-reference-manifest.js +1 -1
  51. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup.html +1 -1
  52. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup.rsc +1 -1
  53. package/.next/standalone/platform/services/mcctl-console/.next/server/app/worlds.html +1 -1
  54. package/.next/standalone/platform/services/mcctl-console/.next/server/app/worlds.rsc +2 -2
  55. package/.next/standalone/platform/services/mcctl-console/.next/server/app-paths-manifest.json +21 -20
  56. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/1302.js +1 -0
  57. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/1309.js +1 -1
  58. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/{7049.js → 2359.js} +6 -6
  59. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/2650.js +1 -0
  60. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/354.js +1 -1
  61. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/5843.js +1 -1
  62. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/7573.js +1 -1
  63. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/8243.js +1 -1
  64. package/.next/standalone/platform/services/mcctl-console/.next/server/middleware-build-manifest.js +1 -1
  65. package/.next/standalone/platform/services/mcctl-console/.next/server/middleware-manifest.json +5 -5
  66. package/.next/standalone/platform/services/mcctl-console/.next/server/pages/404.html +1 -1
  67. package/.next/standalone/platform/services/mcctl-console/.next/server/pages/500.html +1 -1
  68. package/.next/standalone/platform/services/mcctl-console/.next/server/server-reference-manifest.json +1 -1
  69. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/1002-a00b243cef6b3efd.js +1 -0
  70. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/4302-487e76466a64d13a.js +1 -0
  71. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/6798-eb703f1c1303853c.js +1 -0
  72. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/6918-a51d55370b6c7caa.js +1 -0
  73. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/7648-2f814761281d3467.js +1 -0
  74. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/9022-598befdec2960f02.js +1 -0
  75. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/audit-logs/page-807f95cdc901e568.js +1 -0
  76. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/dashboard/{page-3cf14179dcdd7ac6.js → page-3343dd199353868b.js} +1 -1
  77. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/{layout-49deaa08620bff5b.js → layout-46198c04ba71ec0e.js} +1 -1
  78. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/players/page-17fac813cd35d4ca.js +1 -0
  79. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/page-4fdf404cb21708a7.js +1 -0
  80. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/{main-58b18a5a50224bc7.js → main-b146ccfc9c3834c3.js} +1 -1
  81. package/.next/static/chunks/1002-a00b243cef6b3efd.js +1 -0
  82. package/.next/static/chunks/4302-487e76466a64d13a.js +1 -0
  83. package/.next/static/chunks/6798-eb703f1c1303853c.js +1 -0
  84. package/.next/static/chunks/6918-a51d55370b6c7caa.js +1 -0
  85. package/.next/static/chunks/7648-2f814761281d3467.js +1 -0
  86. package/.next/static/chunks/9022-598befdec2960f02.js +1 -0
  87. package/.next/static/chunks/app/(main)/audit-logs/page-807f95cdc901e568.js +1 -0
  88. package/.next/static/chunks/app/(main)/dashboard/{page-3cf14179dcdd7ac6.js → page-3343dd199353868b.js} +1 -1
  89. package/.next/static/chunks/app/(main)/{layout-49deaa08620bff5b.js → layout-46198c04ba71ec0e.js} +1 -1
  90. package/.next/static/chunks/app/(main)/players/page-17fac813cd35d4ca.js +1 -0
  91. package/.next/static/chunks/app/(main)/servers/[name]/page-4fdf404cb21708a7.js +1 -0
  92. package/.next/static/chunks/{main-58b18a5a50224bc7.js → main-b146ccfc9c3834c3.js} +1 -1
  93. package/package.json +2 -2
  94. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/2698-b163080d7b32e5e3.js +0 -1
  95. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/4036-c4d6006e9e913068.js +0 -1
  96. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/4240-16f6e4c7e86ef2ce.js +0 -1
  97. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/4474-b7d88543d50f7f58.js +0 -1
  98. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/6895-948ae5bf5302e12e.js +0 -1
  99. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/9788-03286ddd24a074b7.js +0 -1
  100. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/audit-logs/page-d65c062a803fc4b2.js +0 -1
  101. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/players/page-430dd294c3b34903.js +0 -1
  102. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/page-16a7918b3d3736ed.js +0 -1
  103. package/.next/static/chunks/2698-b163080d7b32e5e3.js +0 -1
  104. package/.next/static/chunks/4036-c4d6006e9e913068.js +0 -1
  105. package/.next/static/chunks/4240-16f6e4c7e86ef2ce.js +0 -1
  106. package/.next/static/chunks/4474-b7d88543d50f7f58.js +0 -1
  107. package/.next/static/chunks/6895-948ae5bf5302e12e.js +0 -1
  108. package/.next/static/chunks/9788-03286ddd24a074b7.js +0 -1
  109. package/.next/static/chunks/app/(main)/audit-logs/page-d65c062a803fc4b2.js +0 -1
  110. package/.next/static/chunks/app/(main)/players/page-430dd294c3b34903.js +0 -1
  111. package/.next/static/chunks/app/(main)/servers/[name]/page-16a7918b3d3736ed.js +0 -1
  112. /package/.next/standalone/platform/services/mcctl-console/.next/static/{7sS9MOwdyyBZ3UoHGY6I6 → 8WaN6q-o9WUaI6Ue--Q1D}/_buildManifest.js +0 -0
  113. /package/.next/standalone/platform/services/mcctl-console/.next/static/{7sS9MOwdyyBZ3UoHGY6I6 → 8WaN6q-o9WUaI6Ue--Q1D}/_ssgManifest.js +0 -0
  114. /package/.next/static/{7sS9MOwdyyBZ3UoHGY6I6 → 8WaN6q-o9WUaI6Ue--Q1D}/_buildManifest.js +0 -0
  115. /package/.next/static/{7sS9MOwdyyBZ3UoHGY6I6 → 8WaN6q-o9WUaI6Ue--Q1D}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/6a2c381c71b398da.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-7e31802f06defd3e.js"/><script src="/_next/static/chunks/3b518dcd-5724e59d48f01b72.js" async=""></script><script src="/_next/static/chunks/2757-058492b5c236cb62.js" async=""></script><script src="/_next/static/chunks/main-app-666bf3e0c0f3dee2.js" async=""></script><script src="/_next/static/chunks/6812-f5924f14ef351036.js" async=""></script><script src="/_next/static/chunks/9760-3b9261fc2cfda017.js" async=""></script><script src="/_next/static/chunks/5004-6ecca3df16643209.js" async=""></script><script src="/_next/static/chunks/7296-063cc1cf1200429d.js" async=""></script><script src="/_next/static/chunks/7436-dc5c09a9f287522b.js" async=""></script><script src="/_next/static/chunks/1071-235049df1c3caba7.js" async=""></script><script src="/_next/static/chunks/540-4b925f2c57833962.js" async=""></script><script src="/_next/static/chunks/4416-2385e5784dc036d6.js" async=""></script><script src="/_next/static/chunks/2538-09440cfe5c38aa16.js" async=""></script><script src="/_next/static/chunks/880-be7151cc9c502be6.js" async=""></script><script src="/_next/static/chunks/5511-7a419d84918a8d64.js" async=""></script><script src="/_next/static/chunks/7073-3b047d20c07ac065.js" async=""></script><script src="/_next/static/chunks/140-25eb9312925d8fea.js" async=""></script><script src="/_next/static/chunks/2666-060d67b8e56af9d0.js" async=""></script><script src="/_next/static/chunks/app/(main)/worlds/page-874ad606cffc439d.js" async=""></script><script src="/_next/static/chunks/2542-6ea12719b9ca1b7c.js" async=""></script><script src="/_next/static/chunks/55-cc17f03142ace10c.js" async=""></script><script src="/_next/static/chunks/4219-26d64443218aac0b.js" async=""></script><script src="/_next/static/chunks/8347-d55cd74fb316fad0.js" async=""></script><script src="/_next/static/chunks/9097-3bc29153e9b2c9d1.js" async=""></script><script src="/_next/static/chunks/4240-16f6e4c7e86ef2ce.js" async=""></script><script src="/_next/static/chunks/4036-c4d6006e9e913068.js" async=""></script><script src="/_next/static/chunks/app/(main)/layout-49deaa08620bff5b.js" async=""></script><script src="/_next/static/chunks/7087-64ab6928ccdc0ca7.js" async=""></script><script src="/_next/static/chunks/app/layout-eaefe334d7b2816a.js" async=""></script><title>Minecraft Server Manager</title><meta name="description" content="Web-based management console for Minecraft server infrastructure"/><link rel="icon" href="/icon.svg?0f68875a168deab8" type="image/svg+xml" sizes="any"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><style data-emotion="mui-global hcxkty">html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box;-webkit-text-size-adjust:100%;}*,*::before,*::after{box-sizing:inherit;}strong,b{font-weight:700;}body{margin:0;color:#ffffff;font-family:"Roboto","Helvetica","Arial",sans-serif;font-weight:400;font-size:1rem;line-height:1.5;letter-spacing:0.00938em;background-color:#16181c;}@media print{body{background-color:#fff;}}body::backdrop{background-color:#16181c;}body{scrollbar-color:#313338 #16181c;}body::-webkit-scrollbar,body *::-webkit-scrollbar{background-color:#16181c;width:8px;}body::-webkit-scrollbar-thumb,body *::-webkit-scrollbar-thumb{border-radius:8px;background-color:#313338;min-height:24px;}body::-webkit-scrollbar-thumb:hover,body *::-webkit-scrollbar-thumb:hover{background-color:#26282e;}</style></head><body><div id="__next"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--></div><script src="/_next/static/chunks/webpack-7e31802f06defd3e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/6a2c381c71b398da.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[39943,[],\"\"]\n4:I[68067,[],\"ClientPageRoot\"]\n5:I[36405,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"5004\",\"static/chunks/5004-6ecca3df16643209.js\",\"7296\",\"static/chunks/7296-063cc1cf1200429d.js\",\"7436\",\"static/chunks/7436-dc5c09a9f287522b.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"4416\",\"static/chunks/4416-2385e5784dc036d6.js\",\"2538\",\"static/chunks/2538-09440cfe5c38aa16.js\",\"880\",\"static/chunks/880-be7151cc9c502be6.js\",\"5511\",\"static/chunks/5511-7a419d84918a8d64.js\",\"7073\",\"static/chunks/7073-3b047d20c07ac065.js\",\"140\",\"static/chunks/140-25eb9312925d8fea.js\",\"2666\",\"static/chunks/2666-060d67b8e56af9d0.js\",\"7701\",\"static/chunks/app/(main)/worlds/page-874ad606cffc439d.js\"],\"default\",1]\n6:I[14224,[],\"\"]\n7:I[2863,[],\"\"]\n8:I[6453,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"5004\",\"static/chunks/5004-6ecca3df16643209.js\",\"7296\",\"static/chunks/7296-063cc1cf1200429d.js\",\"7436\",\"static/chunks/7436-dc5c09a9f287522b.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"2542\",\"static/chunks/2542-6ea12719b9ca1b7c.js\",\"55\",\"static/chunks/55-cc17f03142ace10c.js\",\"4219\",\"static/chunks/4219-26d64443218aac0b.js\",\"8347\",\"static/chunks/8347-d55cd74fb316fad0.js\",\"9097\",\"static/chunks/9097-3bc29153e9b2c9d1.js\",\"4240\",\"static/chunks/4240-16f6e4c7e86ef2ce.js\",\"4036\",\"static/chunks/4036-c4d6006e9e913068.js\",\"4095\",\"static/chunks/app/(main)/layout-49deaa08620bff5b.js\"],\"default\",1]\na:I[89083,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"default\"]\nb:I[48283,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"ThemeProvider\"]\nc:I[22237,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"5"])</script><script>self.__next_f.push([1,"40\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"QueryProvider\"]\nd:\"$Sreact.suspense\"\ne:I[3454,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"LoadingProvider\"]\n14:I[19253,[],\"\"]\n9:{}\nf:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n10:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n11:{\"display\":\"inline-block\"}\n12:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n15:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"7sS9MOwdyyBZ3UoHGY6I6\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"worlds\"],\"initialTree\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}],null],null],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\",\"worlds\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":\"$9\"}]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/6a2c381c71b398da.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"id\":\"__next\",\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$10\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$11\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$12\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]}]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L13\"],\"globalErrorComponent\":\"$14\",\"missingSlots\":\"$W15\"}]\n"])</script><script>self.__next_f.push([1,"13:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Minecraft Server Manager\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Web-based management console for Minecraft server infrastructure\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/icon.svg?0f68875a168deab8\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}]]\n3:null\n"])</script></body></html>
1
+ <!DOCTYPE html><html lang="en"><head><meta charSet="utf-8"/><meta name="viewport" content="width=device-width, initial-scale=1"/><link rel="stylesheet" href="/_next/static/css/6a2c381c71b398da.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-7e31802f06defd3e.js"/><script src="/_next/static/chunks/3b518dcd-5724e59d48f01b72.js" async=""></script><script src="/_next/static/chunks/2757-058492b5c236cb62.js" async=""></script><script src="/_next/static/chunks/main-app-666bf3e0c0f3dee2.js" async=""></script><script src="/_next/static/chunks/6812-f5924f14ef351036.js" async=""></script><script src="/_next/static/chunks/9760-3b9261fc2cfda017.js" async=""></script><script src="/_next/static/chunks/5004-6ecca3df16643209.js" async=""></script><script src="/_next/static/chunks/7296-063cc1cf1200429d.js" async=""></script><script src="/_next/static/chunks/7436-dc5c09a9f287522b.js" async=""></script><script src="/_next/static/chunks/1071-235049df1c3caba7.js" async=""></script><script src="/_next/static/chunks/540-4b925f2c57833962.js" async=""></script><script src="/_next/static/chunks/4416-2385e5784dc036d6.js" async=""></script><script src="/_next/static/chunks/2538-09440cfe5c38aa16.js" async=""></script><script src="/_next/static/chunks/880-be7151cc9c502be6.js" async=""></script><script src="/_next/static/chunks/5511-7a419d84918a8d64.js" async=""></script><script src="/_next/static/chunks/7073-3b047d20c07ac065.js" async=""></script><script src="/_next/static/chunks/140-25eb9312925d8fea.js" async=""></script><script src="/_next/static/chunks/2666-060d67b8e56af9d0.js" async=""></script><script src="/_next/static/chunks/app/(main)/worlds/page-874ad606cffc439d.js" async=""></script><script src="/_next/static/chunks/2542-6ea12719b9ca1b7c.js" async=""></script><script src="/_next/static/chunks/55-cc17f03142ace10c.js" async=""></script><script src="/_next/static/chunks/4219-26d64443218aac0b.js" async=""></script><script src="/_next/static/chunks/8347-d55cd74fb316fad0.js" async=""></script><script src="/_next/static/chunks/9097-3bc29153e9b2c9d1.js" async=""></script><script src="/_next/static/chunks/9022-598befdec2960f02.js" async=""></script><script src="/_next/static/chunks/6918-a51d55370b6c7caa.js" async=""></script><script src="/_next/static/chunks/app/(main)/layout-46198c04ba71ec0e.js" async=""></script><script src="/_next/static/chunks/7087-64ab6928ccdc0ca7.js" async=""></script><script src="/_next/static/chunks/app/layout-eaefe334d7b2816a.js" async=""></script><title>Minecraft Server Manager</title><meta name="description" content="Web-based management console for Minecraft server infrastructure"/><link rel="icon" href="/icon.svg?0f68875a168deab8" type="image/svg+xml" sizes="any"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><style data-emotion="mui-global hcxkty">html{-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;box-sizing:border-box;-webkit-text-size-adjust:100%;}*,*::before,*::after{box-sizing:inherit;}strong,b{font-weight:700;}body{margin:0;color:#ffffff;font-family:"Roboto","Helvetica","Arial",sans-serif;font-weight:400;font-size:1rem;line-height:1.5;letter-spacing:0.00938em;background-color:#16181c;}@media print{body{background-color:#fff;}}body::backdrop{background-color:#16181c;}body{scrollbar-color:#313338 #16181c;}body::-webkit-scrollbar,body *::-webkit-scrollbar{background-color:#16181c;width:8px;}body::-webkit-scrollbar-thumb,body *::-webkit-scrollbar-thumb{border-radius:8px;background-color:#313338;min-height:24px;}body::-webkit-scrollbar-thumb:hover,body *::-webkit-scrollbar-thumb:hover{background-color:#26282e;}</style></head><body><div id="__next"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--></div><script src="/_next/static/chunks/webpack-7e31802f06defd3e.js" async=""></script><script>(self.__next_f=self.__next_f||[]).push([0]);self.__next_f.push([2,null])</script><script>self.__next_f.push([1,"1:HL[\"/_next/static/css/6a2c381c71b398da.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"2:I[39943,[],\"\"]\n4:I[68067,[],\"ClientPageRoot\"]\n5:I[36405,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"5004\",\"static/chunks/5004-6ecca3df16643209.js\",\"7296\",\"static/chunks/7296-063cc1cf1200429d.js\",\"7436\",\"static/chunks/7436-dc5c09a9f287522b.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"4416\",\"static/chunks/4416-2385e5784dc036d6.js\",\"2538\",\"static/chunks/2538-09440cfe5c38aa16.js\",\"880\",\"static/chunks/880-be7151cc9c502be6.js\",\"5511\",\"static/chunks/5511-7a419d84918a8d64.js\",\"7073\",\"static/chunks/7073-3b047d20c07ac065.js\",\"140\",\"static/chunks/140-25eb9312925d8fea.js\",\"2666\",\"static/chunks/2666-060d67b8e56af9d0.js\",\"7701\",\"static/chunks/app/(main)/worlds/page-874ad606cffc439d.js\"],\"default\",1]\n6:I[14224,[],\"\"]\n7:I[2863,[],\"\"]\n8:I[6453,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"5004\",\"static/chunks/5004-6ecca3df16643209.js\",\"7296\",\"static/chunks/7296-063cc1cf1200429d.js\",\"7436\",\"static/chunks/7436-dc5c09a9f287522b.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"2542\",\"static/chunks/2542-6ea12719b9ca1b7c.js\",\"55\",\"static/chunks/55-cc17f03142ace10c.js\",\"4219\",\"static/chunks/4219-26d64443218aac0b.js\",\"8347\",\"static/chunks/8347-d55cd74fb316fad0.js\",\"9097\",\"static/chunks/9097-3bc29153e9b2c9d1.js\",\"9022\",\"static/chunks/9022-598befdec2960f02.js\",\"6918\",\"static/chunks/6918-a51d55370b6c7caa.js\",\"4095\",\"static/chunks/app/(main)/layout-46198c04ba71ec0e.js\"],\"default\",1]\na:I[89083,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"default\"]\nb:I[48283,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"ThemeProvider\"]\nc:I[22237,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"5"])</script><script>self.__next_f.push([1,"40\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"QueryProvider\"]\nd:\"$Sreact.suspense\"\ne:I[3454,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"7087\",\"static/chunks/7087-64ab6928ccdc0ca7.js\",\"3185\",\"static/chunks/app/layout-eaefe334d7b2816a.js\"],\"LoadingProvider\"]\n14:I[19253,[],\"\"]\n9:{}\nf:{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"}\n10:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n11:{\"display\":\"inline-block\"}\n12:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n15:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L2\",null,{\"buildId\":\"8WaN6q-o9WUaI6Ue--Q1D\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"worlds\"],\"initialTree\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{},[[\"$L3\",[\"$\",\"$L4\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$5\"}],null],null],null]},[null,[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\",\"worlds\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"$L8\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":{\"fontFamily\":\"system-ui,\\\"Segoe UI\\\",Roboto,Helvetica,Arial,sans-serif,\\\"Apple Color Emoji\\\",\\\"Segoe UI Emoji\\\"\",\"height\":\"100vh\",\"textAlign\":\"center\",\"display\":\"flex\",\"flexDirection\":\"column\",\"alignItems\":\"center\",\"justifyContent\":\"center\"},\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"},\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":{\"display\":\"inline-block\"},\"children\":[\"$\",\"h2\",null,{\"style\":{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0},\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}],\"params\":\"$9\"}]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/6a2c381c71b398da.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"children\":[\"$\",\"div\",null,{\"id\":\"__next\",\"children\":[\"$\",\"$La\",null,{\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$d\",null,{\"fallback\":null,\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$L6\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L7\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$f\",\"children\":[\"$\",\"div\",null,{\"children\":[[\"$\",\"style\",null,{\"dangerouslySetInnerHTML\":{\"__html\":\"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}\"}}],[\"$\",\"h1\",null,{\"className\":\"next-error-h1\",\"style\":\"$10\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$11\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$12\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]}]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L13\"],\"globalErrorComponent\":\"$14\",\"missingSlots\":\"$W15\"}]\n"])</script><script>self.__next_f.push([1,"13:[[\"$\",\"meta\",\"0\",{\"name\":\"viewport\",\"content\":\"width=device-width, initial-scale=1\"}],[\"$\",\"meta\",\"1\",{\"charSet\":\"utf-8\"}],[\"$\",\"title\",\"2\",{\"children\":\"Minecraft Server Manager\"}],[\"$\",\"meta\",\"3\",{\"name\":\"description\",\"content\":\"Web-based management console for Minecraft server infrastructure\"}],[\"$\",\"link\",\"4\",{\"rel\":\"icon\",\"href\":\"/icon.svg?0f68875a168deab8\",\"type\":\"image/svg+xml\",\"sizes\":\"any\"}]]\n3:null\n"])</script></body></html>
@@ -2,7 +2,7 @@
2
2
  3:I[36405,["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","5004","static/chunks/5004-6ecca3df16643209.js","7296","static/chunks/7296-063cc1cf1200429d.js","7436","static/chunks/7436-dc5c09a9f287522b.js","1071","static/chunks/1071-235049df1c3caba7.js","540","static/chunks/540-4b925f2c57833962.js","4416","static/chunks/4416-2385e5784dc036d6.js","2538","static/chunks/2538-09440cfe5c38aa16.js","880","static/chunks/880-be7151cc9c502be6.js","5511","static/chunks/5511-7a419d84918a8d64.js","7073","static/chunks/7073-3b047d20c07ac065.js","140","static/chunks/140-25eb9312925d8fea.js","2666","static/chunks/2666-060d67b8e56af9d0.js","7701","static/chunks/app/(main)/worlds/page-874ad606cffc439d.js"],"default",1]
3
3
  4:I[14224,[],""]
4
4
  5:I[2863,[],""]
5
- 6:I[6453,["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","5004","static/chunks/5004-6ecca3df16643209.js","7296","static/chunks/7296-063cc1cf1200429d.js","7436","static/chunks/7436-dc5c09a9f287522b.js","1071","static/chunks/1071-235049df1c3caba7.js","2542","static/chunks/2542-6ea12719b9ca1b7c.js","55","static/chunks/55-cc17f03142ace10c.js","4219","static/chunks/4219-26d64443218aac0b.js","8347","static/chunks/8347-d55cd74fb316fad0.js","9097","static/chunks/9097-3bc29153e9b2c9d1.js","4240","static/chunks/4240-16f6e4c7e86ef2ce.js","4036","static/chunks/4036-c4d6006e9e913068.js","4095","static/chunks/app/(main)/layout-49deaa08620bff5b.js"],"default",1]
5
+ 6:I[6453,["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","5004","static/chunks/5004-6ecca3df16643209.js","7296","static/chunks/7296-063cc1cf1200429d.js","7436","static/chunks/7436-dc5c09a9f287522b.js","1071","static/chunks/1071-235049df1c3caba7.js","2542","static/chunks/2542-6ea12719b9ca1b7c.js","55","static/chunks/55-cc17f03142ace10c.js","4219","static/chunks/4219-26d64443218aac0b.js","8347","static/chunks/8347-d55cd74fb316fad0.js","9097","static/chunks/9097-3bc29153e9b2c9d1.js","9022","static/chunks/9022-598befdec2960f02.js","6918","static/chunks/6918-a51d55370b6c7caa.js","4095","static/chunks/app/(main)/layout-46198c04ba71ec0e.js"],"default",1]
6
6
  8:I[89083,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","7087","static/chunks/7087-64ab6928ccdc0ca7.js","3185","static/chunks/app/layout-eaefe334d7b2816a.js"],"default"]
7
7
  9:I[48283,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","7087","static/chunks/7087-64ab6928ccdc0ca7.js","3185","static/chunks/app/layout-eaefe334d7b2816a.js"],"ThemeProvider"]
8
8
  a:I[22237,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","7087","static/chunks/7087-64ab6928ccdc0ca7.js","3185","static/chunks/app/layout-eaefe334d7b2816a.js"],"QueryProvider"]
@@ -13,6 +13,6 @@ d:{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Appl
13
13
  e:{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"}
14
14
  f:{"display":"inline-block"}
15
15
  10:{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0}
16
- 0:["7sS9MOwdyyBZ3UoHGY6I6",[[["",{"children":["(main)",{"children":["worlds",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(main)",{"children":["worlds",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(main)","children","worlds","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(main)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6a2c381c71b398da.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","div",null,{"id":"__next","children":["$","$L8",null,{"children":["$","$L9",null,{"children":["$","$La",null,{"children":["$","$b",null,{"fallback":null,"children":["$","$Lc",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$d","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$e","children":"404"}],["$","div",null,{"style":"$f","children":["$","h2",null,{"style":"$10","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]}]}]}]}]}]],null],null],["$L11",null]]]]
16
+ 0:["8WaN6q-o9WUaI6Ue--Q1D",[[["",{"children":["(main)",{"children":["worlds",{"children":["__PAGE__",{}]}]}]},"$undefined","$undefined",true],["",{"children":["(main)",{"children":["worlds",{"children":["__PAGE__",{},[["$L1",["$","$L2",null,{"props":{"params":{},"searchParams":{}},"Component":"$3"}],null],null],null]},[null,["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(main)","children","worlds","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":"$undefined","notFoundStyles":"$undefined"}]],null]},[[null,["$","$L6",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children","(main)","children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":{"fontFamily":"system-ui,\"Segoe UI\",Roboto,Helvetica,Arial,sans-serif,\"Apple Color Emoji\",\"Segoe UI Emoji\"","height":"100vh","textAlign":"center","display":"flex","flexDirection":"column","alignItems":"center","justifyContent":"center"},"children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":{"display":"inline-block","margin":"0 20px 0 0","padding":"0 23px 0 0","fontSize":24,"fontWeight":500,"verticalAlign":"top","lineHeight":"49px"},"children":"404"}],["$","div",null,{"style":{"display":"inline-block"},"children":["$","h2",null,{"style":{"fontSize":14,"fontWeight":400,"lineHeight":"49px","margin":0},"children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}],"params":"$7"}]],null],null]},[[[["$","link","0",{"rel":"stylesheet","href":"/_next/static/css/6a2c381c71b398da.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"children":["$","div",null,{"id":"__next","children":["$","$L8",null,{"children":["$","$L9",null,{"children":["$","$La",null,{"children":["$","$b",null,{"fallback":null,"children":["$","$Lc",null,{"children":["$","$L4",null,{"parallelRouterKey":"children","segmentPath":["children"],"error":"$undefined","errorStyles":"$undefined","errorScripts":"$undefined","template":["$","$L5",null,{}],"templateStyles":"$undefined","templateScripts":"$undefined","notFound":[["$","title",null,{"children":"404: This page could not be found."}],["$","div",null,{"style":"$d","children":["$","div",null,{"children":[["$","style",null,{"dangerouslySetInnerHTML":{"__html":"body{color:#000;background:#fff;margin:0}.next-error-h1{border-right:1px solid rgba(0,0,0,.3)}@media (prefers-color-scheme:dark){body{color:#fff;background:#000}.next-error-h1{border-right:1px solid rgba(255,255,255,.3)}}"}}],["$","h1",null,{"className":"next-error-h1","style":"$e","children":"404"}],["$","div",null,{"style":"$f","children":["$","h2",null,{"style":"$10","children":"This page could not be found."}]}]]}]}]],"notFoundStyles":[]}]}]}]}]}]}]}]}]}]],null],null],["$L11",null]]]]
17
17
  11:[["$","meta","0",{"name":"viewport","content":"width=device-width, initial-scale=1"}],["$","meta","1",{"charSet":"utf-8"}],["$","title","2",{"children":"Minecraft Server Manager"}],["$","meta","3",{"name":"description","content":"Web-based management console for Minecraft server infrastructure"}],["$","link","4",{"rel":"icon","href":"/icon.svg?0f68875a168deab8","type":"image/svg+xml","sizes":"any"}]]
18
18
  1:null
@@ -1,55 +1,56 @@
1
1
  {
2
2
  "/_not-found/page": "app/_not-found/page.js",
3
3
  "/icon.svg/route": "app/icon.svg/route.js",
4
- "/page": "app/page.js",
5
4
  "/login/page": "app/login/page.js",
5
+ "/page": "app/page.js",
6
6
  "/signup/page": "app/signup/page.js",
7
- "/api/audit-logs/stats/route": "app/api/audit-logs/stats/route.js",
8
- "/api/audit-logs/export/route": "app/api/audit-logs/export/route.js",
7
+ "/api/audit-logs/[id]/route": "app/api/audit-logs/[id]/route.js",
9
8
  "/api/audit-logs/route": "app/api/audit-logs/route.js",
10
9
  "/api/auth/[...all]/route": "app/api/auth/[...all]/route.js",
10
+ "/api/audit-logs/export/route": "app/api/audit-logs/export/route.js",
11
11
  "/api/audit-logs/stream/route": "app/api/audit-logs/stream/route.js",
12
- "/api/backup/history/route": "app/api/backup/history/route.js",
13
12
  "/api/backup/restore/route": "app/api/backup/restore/route.js",
14
- "/api/backup/route": "app/api/backup/route.js",
13
+ "/api/backup/history/route": "app/api/backup/history/route.js",
14
+ "/api/mods/projects/route": "app/api/mods/projects/route.js",
15
15
  "/api/mods/search/route": "app/api/mods/search/route.js",
16
+ "/api/backup/route": "app/api/backup/route.js",
16
17
  "/api/players/kick/route": "app/api/players/kick/route.js",
17
- "/api/players/op/[player]/route": "app/api/players/op/[player]/route.js",
18
18
  "/api/players/ban/route": "app/api/players/ban/route.js",
19
+ "/api/players/op/[player]/route": "app/api/players/op/[player]/route.js",
19
20
  "/api/players/route": "app/api/players/route.js",
20
- "/api/players/op/route": "app/api/players/op/route.js",
21
- "/api/playit/start/route": "app/api/playit/start/route.js",
22
- "/api/players/whitelist/status/route": "app/api/players/whitelist/status/route.js",
23
21
  "/api/players/whitelist/route": "app/api/players/whitelist/route.js",
24
- "/api/playit/stop/route": "app/api/playit/stop/route.js",
22
+ "/api/audit-logs/stats/route": "app/api/audit-logs/stats/route.js",
23
+ "/api/players/whitelist/status/route": "app/api/players/whitelist/status/route.js",
24
+ "/api/playit/start/route": "app/api/playit/start/route.js",
25
+ "/api/playit/status/route": "app/api/playit/status/route.js",
25
26
  "/api/router/status/route": "app/api/router/status/route.js",
26
- "/api/audit-logs/[id]/route": "app/api/audit-logs/[id]/route.js",
27
- "/api/servers/[name]/[action]/route": "app/api/servers/[name]/[action]/route.js",
28
- "/api/servers/[name]/config/route": "app/api/servers/[name]/config/route.js",
27
+ "/api/playit/stop/route": "app/api/playit/stop/route.js",
29
28
  "/api/servers/[name]/exec/route": "app/api/servers/[name]/exec/route.js",
30
- "/api/servers/[name]/files/download/route": "app/api/servers/[name]/files/download/route.js",
29
+ "/api/servers/[name]/config/route": "app/api/servers/[name]/config/route.js",
30
+ "/api/servers/[name]/[action]/route": "app/api/servers/[name]/[action]/route.js",
31
31
  "/api/servers/[name]/files/mkdir/route": "app/api/servers/[name]/files/mkdir/route.js",
32
32
  "/api/servers/[name]/files/read/route": "app/api/servers/[name]/files/read/route.js",
33
33
  "/api/servers/[name]/files/rename/route": "app/api/servers/[name]/files/rename/route.js",
34
- "/api/servers/[name]/files/upload/route": "app/api/servers/[name]/files/upload/route.js",
35
- "/api/servers/[name]/files/route": "app/api/servers/[name]/files/route.js",
34
+ "/api/servers/[name]/files/download/route": "app/api/servers/[name]/files/download/route.js",
36
35
  "/api/servers/[name]/files/write/route": "app/api/servers/[name]/files/write/route.js",
36
+ "/api/servers/[name]/files/route": "app/api/servers/[name]/files/route.js",
37
37
  "/api/servers/[name]/mods/[slug]/route": "app/api/servers/[name]/mods/[slug]/route.js",
38
+ "/api/servers/[name]/files/upload/route": "app/api/servers/[name]/files/upload/route.js",
38
39
  "/api/servers/[name]/hostnames/route": "app/api/servers/[name]/hostnames/route.js",
39
40
  "/api/servers/[name]/mods/route": "app/api/servers/[name]/mods/route.js",
40
41
  "/api/servers/[name]/world/reset/route": "app/api/servers/[name]/world/reset/route.js",
41
42
  "/api/servers/[name]/route": "app/api/servers/[name]/route.js",
42
43
  "/api/servers/route": "app/api/servers/route.js",
43
44
  "/api/user-servers/[id]/route": "app/api/user-servers/[id]/route.js",
44
- "/api/users/route": "app/api/users/route.js",
45
45
  "/api/sse/[...path]/route": "app/api/sse/[...path]/route.js",
46
+ "/api/users/route": "app/api/users/route.js",
46
47
  "/api/user-servers/route": "app/api/user-servers/route.js",
47
48
  "/api/worlds/[name]/[action]/route": "app/api/worlds/[name]/[action]/route.js",
48
- "/api/worlds/[name]/route": "app/api/worlds/[name]/route.js",
49
+ "/api/players/op/route": "app/api/players/op/route.js",
49
50
  "/api/worlds/route": "app/api/worlds/route.js",
50
- "/api/playit/status/route": "app/api/playit/status/route.js",
51
- "/(main)/backups/page": "app/(main)/backups/page.js",
51
+ "/api/worlds/[name]/route": "app/api/worlds/[name]/route.js",
52
52
  "/(main)/audit-logs/page": "app/(main)/audit-logs/page.js",
53
+ "/(main)/backups/page": "app/(main)/backups/page.js",
53
54
  "/(main)/dashboard/page": "app/(main)/dashboard/page.js",
54
55
  "/(main)/players/page": "app/(main)/players/page.js",
55
56
  "/(main)/routing/page": "app/(main)/routing/page.js",
@@ -0,0 +1 @@
1
+ "use strict";exports.id=1302,exports.ids=[1302],exports.modules={78787:(e,t,o)=>{var a=o(66682);t.Z=void 0;var n=a(o(7750)),l=o(58120);t.Z=(0,n.default)((0,l.jsx)("path",{d:"M19 3h-4.18C14.4 1.84 13.3 1 12 1c-1.3 0-2.4.84-2.82 2H5c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h14c1.1 0 2-.9 2-2V5c0-1.1-.9-2-2-2m-7 0c.55 0 1 .45 1 1s-.45 1-1 1-1-.45-1-1 .45-1 1-1m2 14H7v-2h7zm3-4H7v-2h10zm0-4H7V7h10z"}),"Assignment")},56846:(e,t,o)=>{var a=o(66682);t.Z=void 0;var n=a(o(7750)),l=o(58120);t.Z=(0,n.default)((0,l.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},86202:(e,t,o)=>{var a=o(66682);t.Z=void 0;var n=a(o(7750)),l=o(58120);t.Z=(0,n.default)((0,l.jsx)("path",{d:"M5 20h14v-2H5zM19 9h-4V3H9v6H5l7 7z"}),"Download")},72690:(e,t,o)=>{var a=o(66682);t.Z=void 0;var n=a(o(7750)),l=o(58120);t.Z=(0,n.default)((0,l.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error")},82538:(e,t,o)=>{var a=o(66682);t.Z=void 0;var n=a(o(7750)),l=o(58120);t.Z=(0,n.default)((0,l.jsx)("path",{d:"M7.41 8.59 12 13.17l4.59-4.58L18 10l-6 6-6-6z"}),"KeyboardArrowDown")},47481:(e,t,o)=>{var a=o(66682);t.Z=void 0;var n=a(o(7750)),l=o(58120);t.Z=(0,n.default)((0,l.jsx)("path",{d:"M7.41 15.41 12 10.83l4.59 4.58L18 14l-6-6-6 6z"}),"KeyboardArrowUp")},664:(e,t,o)=>{o.d(t,{Z:()=>g});var a=o(4981),n=o(36885),l=o(36372),s=o(30330),r=o(3693),i=o(9103),c=o(62923),u=o(89206),d=o(7967);function p(e){return(0,d.ZP)("MuiTableContainer",e)}(0,u.Z)("MuiTableContainer",["root"]);var Z=o(58120);let h=["className","component"],v=e=>{let{classes:t}=e;return(0,r.Z)({root:["root"]},p,t)},m=(0,c.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),g=l.forwardRef(function(e,t){let o=(0,i.i)({props:e,name:"MuiTableContainer"}),{className:l,component:r="div"}=o,c=(0,n.Z)(o,h),u=(0,a.Z)({},o,{component:r}),d=v(u);return(0,Z.jsx)(m,(0,a.Z)({ref:t,as:r,className:(0,s.Z)(d.root,l),ownerState:u},c))})},91236:(e,t,o)=>{o.d(t,{Z:()=>K});var a,n=o(36885),l=o(4981),s=o(36372),r=o(30330),i=o(3693),c=o(5384),u=o(62923),d=o(9103),p=o(6232),Z=o(99634),h=o(73276),v=o(75698),m=o(39497),g=o(10587),b=o(29235),x=o(63645),P=o(54365),f=o(59647),B=o(58120);let I=(0,f.Z)((0,B.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),w=(0,f.Z)((0,B.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),M=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],R=s.forwardRef(function(e,t){var o,a,s,r,i,c,u,d;let{backIconButtonProps:p,count:Z,disabled:h=!1,getItemAriaLabel:v,nextIconButtonProps:m,onPageChange:f,page:R,rowsPerPage:j,showFirstButton:L,showLastButton:y,slots:C={},slotProps:S={}}=e,z=(0,n.Z)(e,M),T=(0,g.V)(),k=null!=(o=C.firstButton)?o:P.Z,H=null!=(a=C.lastButton)?a:P.Z,$=null!=(s=C.nextButton)?s:P.Z,N=null!=(r=C.previousButton)?r:P.Z,A=null!=(i=C.firstButtonIcon)?i:w,V=null!=(c=C.lastButtonIcon)?c:I,D=null!=(u=C.nextButtonIcon)?u:x.Z,F=null!=(d=C.previousButtonIcon)?d:b.Z,E=T?H:k,K=T?$:N,G=T?N:$,O=T?k:H,U=T?S.lastButton:S.firstButton,X=T?S.nextButton:S.previousButton,q=T?S.previousButton:S.nextButton,J=T?S.firstButton:S.lastButton;return(0,B.jsxs)("div",(0,l.Z)({ref:t},z,{children:[L&&(0,B.jsx)(E,(0,l.Z)({onClick:e=>{f(e,0)},disabled:h||0===R,"aria-label":v("first",R),title:v("first",R)},U,{children:T?(0,B.jsx)(V,(0,l.Z)({},S.lastButtonIcon)):(0,B.jsx)(A,(0,l.Z)({},S.firstButtonIcon))})),(0,B.jsx)(K,(0,l.Z)({onClick:e=>{f(e,R-1)},disabled:h||0===R,color:"inherit","aria-label":v("previous",R),title:v("previous",R)},null!=X?X:p,{children:T?(0,B.jsx)(D,(0,l.Z)({},S.nextButtonIcon)):(0,B.jsx)(F,(0,l.Z)({},S.previousButtonIcon))})),(0,B.jsx)(G,(0,l.Z)({onClick:e=>{f(e,R+1)},disabled:h||-1!==Z&&R>=Math.ceil(Z/j)-1,color:"inherit","aria-label":v("next",R),title:v("next",R)},null!=q?q:m,{children:T?(0,B.jsx)(F,(0,l.Z)({},S.previousButtonIcon)):(0,B.jsx)(D,(0,l.Z)({},S.nextButtonIcon))})),y&&(0,B.jsx)(O,(0,l.Z)({onClick:e=>{f(e,Math.max(0,Math.ceil(Z/j)-1))},disabled:h||R>=Math.ceil(Z/j)-1,"aria-label":v("last",R),title:v("last",R)},J,{children:T?(0,B.jsx)(A,(0,l.Z)({},S.firstButtonIcon)):(0,B.jsx)(V,(0,l.Z)({},S.lastButtonIcon))}))]}))});var j=o(59906),L=o(89206),y=o(7967);function C(e){return(0,y.ZP)("MuiTablePagination",e)}let S=(0,L.Z)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),z=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],T=(0,u.ZP)(v.Z,{name:"MuiTablePagination",slot:"Root",overridesResolver:(e,t)=>t.root})(({theme:e})=>({overflow:"auto",color:(e.vars||e).palette.text.primary,fontSize:e.typography.pxToRem(14),"&:last-child":{padding:0}})),k=(0,u.ZP)(m.Z,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>(0,l.Z)({[`& .${S.actions}`]:t.actions},t.toolbar)})(({theme:e})=>({minHeight:52,paddingRight:2,[`${e.breakpoints.up("xs")} and (orientation: landscape)`]:{minHeight:52},[e.breakpoints.up("sm")]:{minHeight:52,paddingRight:2},[`& .${S.actions}`]:{flexShrink:0,marginLeft:20}})),H=(0,u.ZP)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),$=(0,u.ZP)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>(0,l.Z)({},e.typography.body2,{flexShrink:0})),N=(0,u.ZP)(h.Z,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>(0,l.Z)({[`& .${S.selectIcon}`]:t.selectIcon,[`& .${S.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${S.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),A=(0,u.ZP)(Z.Z,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),V=(0,u.ZP)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>(0,l.Z)({},e.typography.body2,{flexShrink:0}));function D({from:e,to:t,count:o}){return`${e}–${t} of ${-1!==o?o:`more than ${t}`}`}function F(e){return`Go to ${e} page`}let E=e=>{let{classes:t}=e;return(0,i.Z)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},C,t)},K=s.forwardRef(function(e,t){var o;let i;let u=(0,d.i)({props:e,name:"MuiTablePagination"}),{ActionsComponent:Z=R,backIconButtonProps:h,className:m,colSpan:g,component:b=v.Z,count:x,disabled:P=!1,getItemAriaLabel:f=F,labelDisplayedRows:I=D,labelRowsPerPage:w="Rows per page:",nextIconButtonProps:M,onPageChange:L,onRowsPerPageChange:y,page:C,rowsPerPage:S,rowsPerPageOptions:K=[10,25,50,100],SelectProps:G={},showFirstButton:O=!1,showLastButton:U=!1,slotProps:X={},slots:q={}}=u,J=(0,n.Z)(u,z),Q=E(u),W=null!=(o=null==X?void 0:X.select)?o:G,Y=W.native?"option":A;(b===v.Z||"td"===b)&&(i=g||1e3);let _=(0,j.Z)(W.id),ee=(0,j.Z)(W.labelId);return(0,B.jsx)(T,(0,l.Z)({colSpan:i,ref:t,as:b,ownerState:u,className:(0,r.Z)(Q.root,m)},J,{children:(0,B.jsxs)(k,{className:Q.toolbar,children:[(0,B.jsx)(H,{className:Q.spacer}),K.length>1&&(0,B.jsx)($,{className:Q.selectLabel,id:ee,children:w}),K.length>1&&(0,B.jsx)(N,(0,l.Z)({variant:"standard"},!W.variant&&{input:a||(a=(0,B.jsx)(p.ZP,{}))},{value:S,onChange:y,id:_,labelId:ee},W,{classes:(0,l.Z)({},W.classes,{root:(0,r.Z)(Q.input,Q.selectRoot,(W.classes||{}).root),select:(0,r.Z)(Q.select,(W.classes||{}).select),icon:(0,r.Z)(Q.selectIcon,(W.classes||{}).icon)}),disabled:P,children:K.map(e=>(0,s.createElement)(Y,(0,l.Z)({},!(0,c.Z)(Y)&&{ownerState:u},{className:Q.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e))})),(0,B.jsx)(V,{className:Q.displayedRows,children:I({from:0===x?0:C*S+1,to:-1===x?(C+1)*S:-1===S?x:Math.min(x,(C+1)*S),count:-1===x?-1:x,page:C})}),(0,B.jsx)(Z,{className:Q.actions,backIconButtonProps:h,count:x,nextIconButtonProps:M,onPageChange:L,page:C,rowsPerPage:S,showFirstButton:O,showLastButton:U,slotProps:X.actions,slots:q.actions,getItemAriaLabel:f,disabled:P})]})}))})}};
@@ -1,4 +1,4 @@
1
- "use strict";exports.id=1309,exports.ids=[1309],exports.modules={78649:(e,t,s)=>{s.d(t,{F0:()=>a,zB:()=>r});class r extends Error{constructor(e,t,s){super(s),this.statusCode=e,this.error=t,this.name="McctlApiError"}}class n{constructor(e){this.baseUrl=e.baseUrl.replace(/\/$/,""),this.apiKey=e.apiKey,this.userContext=e.userContext}async fetch(e,t={}){let s=`${this.baseUrl}${e}`,n={"X-API-Key":this.apiKey};t.body&&(n["Content-Type"]="application/json"),this.userContext&&(n["X-User"]=this.userContext.username,n["X-Role"]=this.userContext.role);let a=await fetch(s,{...t,headers:{...n,...t.headers}});if(!a.ok){let e=await a.json().catch(()=>({error:"UnknownError",message:a.statusText}));throw new r(a.status,e.error,e.message)}return a.json()}async getServers(){return this.fetch("/api/servers")}async getServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}`)}async createServer(e){return this.fetch("/api/servers",{method:"POST",body:JSON.stringify(e)})}async deleteServer(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}${t?"?force=true":""}`,{method:"DELETE"})}async startServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/start`,{method:"POST"})}async stopServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/stop`,{method:"POST"})}async restartServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/restart`,{method:"POST"})}async execCommand(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/exec`,{method:"POST",body:JSON.stringify({command:t})})}async getLogs(e,t=100){return this.fetch(`/api/servers/${encodeURIComponent(e)}/logs?lines=${t}`)}async getWorlds(){return this.fetch("/api/worlds")}async getWorld(e){return this.fetch(`/api/worlds/${encodeURIComponent(e)}`)}async createWorld(e){return this.fetch("/api/worlds",{method:"POST",body:JSON.stringify(e)})}async assignWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}/assign`,{method:"POST",body:JSON.stringify({serverName:t})})}async releaseWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}/release${t?"?force=true":""}`,{method:"POST"})}async deleteWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}${t?"?force=true":""}`,{method:"DELETE"})}async getServerConfig(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/config`)}async updateServerConfig(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/config`,{method:"PATCH",body:JSON.stringify(t)})}async resetWorld(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/world/reset`,{method:"POST"})}async getRouterStatus(){return this.fetch("/api/router/status")}async getBackupStatus(){return this.fetch("/api/backup/status")}async pushBackup(e){let t=e?JSON.stringify({message:e}):void 0;return this.fetch("/api/backup/push",{method:"POST",body:t})}async getBackupHistory(e=20){return this.fetch(`/api/backup/history?limit=${e}`)}async restoreBackup(e){return this.fetch("/api/backup/restore",{method:"POST",body:JSON.stringify({commitHash:e})})}async getWhitelist(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist`)}async getWhitelistStatus(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/status`)}async setWhitelistStatus(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/status`,{method:"PUT",body:JSON.stringify({enabled:t})})}async addToWhitelist(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist`,{method:"POST",body:JSON.stringify({player:t})})}async removeFromWhitelist(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/${encodeURIComponent(t)}`,{method:"DELETE"})}async getBans(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans`)}async banPlayer(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans`,{method:"POST",body:JSON.stringify({player:t,reason:s})})}async unbanPlayer(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans/${encodeURIComponent(t)}`,{method:"DELETE"})}async getOpsWithLevel(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops`)}async addOpWithLevel(e,t,s=4){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops`,{method:"POST",body:JSON.stringify({player:t,level:s})})}async updateOpLevel(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops/${encodeURIComponent(t)}`,{method:"PATCH",body:JSON.stringify({level:s})})}async removeOp(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops/${encodeURIComponent(t)}`,{method:"DELETE"})}async getOps(e){return this.getOpsWithLevel(e).then(e=>({players:e.operators.map(e=>e.name),total:e.count,source:e.source}))}async addOp(e,t){return this.addOpWithLevel(e,t,4).then(e=>({success:e.success,message:e.message||`Added ${t} as operator`,source:e.source}))}async getHostnames(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/hostnames`)}async updateHostnames(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/hostnames`,{method:"PUT",body:JSON.stringify({customHostnames:t})})}async getServerMods(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods`)}async addServerMods(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods`,{method:"POST",body:JSON.stringify({slugs:t,source:s})})}async removeServerMod(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods/${encodeURIComponent(t)}`,{method:"DELETE"})}async searchMods(e,t=10,s=0){let r=new URLSearchParams({q:e,limit:String(t),offset:String(s)});return this.fetch(`/api/mods/search?${r}`)}async getPlayitStatus(){return this.fetch("/api/playit/status")}async startPlayit(){return this.fetch("/api/playit/start",{method:"POST"})}async stopPlayit(){return this.fetch("/api/playit/stop",{method:"POST"})}async listFiles(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files?${s}`)}async readFile(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/read?${s}`)}async writeFile(e,t,s){let r=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/write?${r}`,{method:"PUT",body:JSON.stringify({content:s})})}async deleteFile(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files?${s}`,{method:"DELETE"})}async createDirectory(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/mkdir?${s}`,{method:"POST"})}async renameFile(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/rename`,{method:"POST",body:JSON.stringify({oldPath:t,newPath:s})})}}function a(e){let t=process.env.MCCTL_API_URL||"http://localhost:5001",s=process.env.MCCTL_API_KEY||"";return s||console.warn("MCCTL_API_KEY is not set. API requests may fail."),new n({baseUrl:t,apiKey:s,userContext:e})}},31969:(e,t,s)=>{s.d(t,{I:()=>u,Z:()=>p});var r=s(33580),n=s(5944),a=s(90224),o=s(22587),i=s(8290);let d=process.env.BETTER_AUTH_BASE_URL||`http://localhost:${process.env.PORT||5e3}`,c=d.startsWith("https://"),u=(0,r.kj)({baseURL:d,secret:process.env.BETTER_AUTH_SECRET,database:(0,n.s)(o.db,{provider:"sqlite",schema:{user:i.users,session:i.sessions,account:i.accounts,verification:i.verifications}}),emailAndPassword:{enabled:!0,requireEmailVerification:!1},session:{expiresIn:604800,updateAge:86400,cookieCache:{enabled:!0,maxAge:300}},advanced:{useSecureCookies:c},user:{additionalFields:{role:{type:"string",required:!1,defaultValue:"user",input:!1}}},plugins:[(0,a.SA)({defaultRole:"user",adminRole:"admin"})],trustedOrigins:e=>{let t=["http://localhost:5000","http://localhost:3000",d,process.env.NEXT_PUBLIC_APP_URL];if(e){let s=e.headers.get("origin");s&&function(e){try{let t=new URL(e).hostname;return"localhost"===t||"127.0.0.1"===t||"::1"===t||t.startsWith("192.168.")||t.startsWith("10.")||/^172\.(1[6-9]|2\d|3[01])\./.test(t)||t.endsWith(".local")}catch{return!1}}(s)&&t.push(s)}return t}});async function p(e){return u.api.getSession({headers:e})}},22587:(e,t,s)=>{s.d(t,{db:()=>h});var r=s(85890),n=s.n(r),a=s(31590),o=s(8290),i=s(55315),d=s.n(i),c=s(92048);let u=function(){if(process.env.DATABASE_URL)return process.env.DATABASE_URL;let e=process.env.MCCTL_ROOT||process.cwd(),t=d().join(e,"data");return d().join(t,"mcctl.db")}();!function(e){if(":memory:"===e)return;let t=d().dirname(e);(0,c.existsSync)(t)||(0,c.mkdirSync)(t,{recursive:!0})}(u);let p=new(n())(u);p.pragma("journal_mode = WAL"),p.pragma("foreign_keys = ON"),p.exec(`
1
+ "use strict";exports.id=1309,exports.ids=[1309],exports.modules={78649:(e,t,s)=>{s.d(t,{F0:()=>a,zB:()=>r});class r extends Error{constructor(e,t,s){super(s),this.statusCode=e,this.error=t,this.name="McctlApiError"}}class n{constructor(e){this.baseUrl=e.baseUrl.replace(/\/$/,""),this.apiKey=e.apiKey,this.userContext=e.userContext}async fetch(e,t={}){let s=`${this.baseUrl}${e}`,n={"X-API-Key":this.apiKey};t.body&&(n["Content-Type"]="application/json"),this.userContext&&(n["X-User"]=this.userContext.username,n["X-Role"]=this.userContext.role);let a=await fetch(s,{...t,headers:{...n,...t.headers}});if(!a.ok){let e=await a.json().catch(()=>({error:"UnknownError",message:a.statusText}));throw new r(a.status,e.error,e.message)}return a.json()}async getServers(){return this.fetch("/api/servers")}async getServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}`)}async createServer(e){return this.fetch("/api/servers",{method:"POST",body:JSON.stringify(e)})}async deleteServer(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}${t?"?force=true":""}`,{method:"DELETE"})}async startServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/start`,{method:"POST"})}async stopServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/stop`,{method:"POST"})}async restartServer(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/restart`,{method:"POST"})}async execCommand(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/exec`,{method:"POST",body:JSON.stringify({command:t})})}async getLogs(e,t=100){return this.fetch(`/api/servers/${encodeURIComponent(e)}/logs?lines=${t}`)}async getWorlds(){return this.fetch("/api/worlds")}async getWorld(e){return this.fetch(`/api/worlds/${encodeURIComponent(e)}`)}async createWorld(e){return this.fetch("/api/worlds",{method:"POST",body:JSON.stringify(e)})}async assignWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}/assign`,{method:"POST",body:JSON.stringify({serverName:t})})}async releaseWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}/release${t?"?force=true":""}`,{method:"POST"})}async deleteWorld(e,t){return this.fetch(`/api/worlds/${encodeURIComponent(e)}${t?"?force=true":""}`,{method:"DELETE"})}async getServerConfig(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/config`)}async updateServerConfig(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/config`,{method:"PATCH",body:JSON.stringify(t)})}async resetWorld(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/world/reset`,{method:"POST"})}async getRouterStatus(){return this.fetch("/api/router/status")}async getBackupStatus(){return this.fetch("/api/backup/status")}async pushBackup(e){let t=e?JSON.stringify({message:e}):void 0;return this.fetch("/api/backup/push",{method:"POST",body:t})}async getBackupHistory(e=20){return this.fetch(`/api/backup/history?limit=${e}`)}async restoreBackup(e){return this.fetch("/api/backup/restore",{method:"POST",body:JSON.stringify({commitHash:e})})}async getWhitelist(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist`)}async getWhitelistStatus(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/status`)}async setWhitelistStatus(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/status`,{method:"PUT",body:JSON.stringify({enabled:t})})}async addToWhitelist(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist`,{method:"POST",body:JSON.stringify({player:t})})}async removeFromWhitelist(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/whitelist/${encodeURIComponent(t)}`,{method:"DELETE"})}async getBans(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans`)}async banPlayer(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans`,{method:"POST",body:JSON.stringify({player:t,reason:s})})}async unbanPlayer(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/bans/${encodeURIComponent(t)}`,{method:"DELETE"})}async getOpsWithLevel(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops`)}async addOpWithLevel(e,t,s=4){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops`,{method:"POST",body:JSON.stringify({player:t,level:s})})}async updateOpLevel(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops/${encodeURIComponent(t)}`,{method:"PATCH",body:JSON.stringify({level:s})})}async removeOp(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/ops/${encodeURIComponent(t)}`,{method:"DELETE"})}async getOps(e){return this.getOpsWithLevel(e).then(e=>({players:e.operators.map(e=>e.name),total:e.count,source:e.source}))}async addOp(e,t){return this.addOpWithLevel(e,t,4).then(e=>({success:e.success,message:e.message||`Added ${t} as operator`,source:e.source}))}async getHostnames(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/hostnames`)}async updateHostnames(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/hostnames`,{method:"PUT",body:JSON.stringify({customHostnames:t})})}async getServerMods(e){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods`)}async addServerMods(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods`,{method:"POST",body:JSON.stringify({slugs:t,source:s})})}async removeServerMod(e,t){return this.fetch(`/api/servers/${encodeURIComponent(e)}/mods/${encodeURIComponent(t)}`,{method:"DELETE"})}async searchMods(e,t=10,s=0){let r=new URLSearchParams({q:e,limit:String(t),offset:String(s)});return this.fetch(`/api/mods/search?${r}`)}async getModProjects(e,t){let s=new URLSearchParams({slugs:e.join(",")});return t&&s.set("source",t),this.fetch(`/api/mods/projects?${s}`)}async getPlayitStatus(){return this.fetch("/api/playit/status")}async startPlayit(){return this.fetch("/api/playit/start",{method:"POST"})}async stopPlayit(){return this.fetch("/api/playit/stop",{method:"POST"})}async listFiles(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files?${s}`)}async readFile(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/read?${s}`)}async writeFile(e,t,s){let r=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/write?${r}`,{method:"PUT",body:JSON.stringify({content:s})})}async deleteFile(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files?${s}`,{method:"DELETE"})}async createDirectory(e,t){let s=new URLSearchParams({path:t});return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/mkdir?${s}`,{method:"POST"})}async renameFile(e,t,s){return this.fetch(`/api/servers/${encodeURIComponent(e)}/files/rename`,{method:"POST",body:JSON.stringify({oldPath:t,newPath:s})})}}function a(e){let t=process.env.MCCTL_API_URL||"http://localhost:5001",s=process.env.MCCTL_API_KEY||"";return s||console.warn("MCCTL_API_KEY is not set. API requests may fail."),new n({baseUrl:t,apiKey:s,userContext:e})}},31969:(e,t,s)=>{s.d(t,{I:()=>u,Z:()=>p});var r=s(33580),n=s(5944),a=s(90224),o=s(22587),i=s(8290);let d=process.env.BETTER_AUTH_BASE_URL||`http://localhost:${process.env.PORT||5e3}`,c=d.startsWith("https://"),u=(0,r.kj)({baseURL:d,secret:process.env.BETTER_AUTH_SECRET,database:(0,n.s)(o.db,{provider:"sqlite",schema:{user:i.users,session:i.sessions,account:i.accounts,verification:i.verifications}}),emailAndPassword:{enabled:!0,requireEmailVerification:!1},session:{expiresIn:604800,updateAge:86400,cookieCache:{enabled:!0,maxAge:300}},advanced:{useSecureCookies:c},user:{additionalFields:{role:{type:"string",required:!1,defaultValue:"user",input:!1}}},plugins:[(0,a.SA)({defaultRole:"user",adminRole:"admin"})],trustedOrigins:e=>{let t=["http://localhost:5000","http://localhost:3000",d,process.env.NEXT_PUBLIC_APP_URL];if(e){let s=e.headers.get("origin");s&&function(e){try{let t=new URL(e).hostname;return"localhost"===t||"127.0.0.1"===t||"::1"===t||t.startsWith("192.168.")||t.startsWith("10.")||/^172\.(1[6-9]|2\d|3[01])\./.test(t)||t.endsWith(".local")}catch{return!1}}(s)&&t.push(s)}return t}});async function p(e){return u.api.getSession({headers:e})}},22587:(e,t,s)=>{s.d(t,{db:()=>h});var r=s(85890),n=s.n(r),a=s(31590),o=s(8290),i=s(55315),d=s.n(i),c=s(92048);let u=function(){if(process.env.DATABASE_URL)return process.env.DATABASE_URL;let e=process.env.MCCTL_ROOT||process.cwd(),t=d().join(e,"data");return d().join(t,"mcctl.db")}();!function(e){if(":memory:"===e)return;let t=d().dirname(e);(0,c.existsSync)(t)||(0,c.mkdirSync)(t,{recursive:!0})}(u);let p=new(n())(u);p.pragma("journal_mode = WAL"),p.pragma("foreign_keys = ON"),p.exec(`
2
2
  CREATE TABLE IF NOT EXISTS users (
3
3
  id TEXT PRIMARY KEY,
4
4
  name TEXT NOT NULL,
@@ -1,4 +1,4 @@
1
- "use strict";exports.id=7049,exports.ids=[7049],exports.modules={29564:(r,e,a)=>{var t=a(66682);e.Z=void 0;var o=t(a(7750)),n=a(58120);e.Z=(0,o.default)((0,n.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},56846:(r,e,a)=>{var t=a(66682);e.Z=void 0;var o=t(a(7750)),n=a(58120);e.Z=(0,o.default)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},72690:(r,e,a)=>{var t=a(66682);e.Z=void 0;var o=t(a(7750)),n=a(58120);e.Z=(0,o.default)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error")},30463:(r,e,a)=>{var t=a(66682);e.Z=void 0;var o=t(a(7750)),n=a(58120);e.Z=(0,o.default)((0,n.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link")},95223:(r,e,a)=>{a.d(e,{Z:()=>R});var t=a(36885),o=a(4981),n=a(36372),i=a(30330),s=a(3693),l=a(84199),u=a(93445),d=a(10587),f=a(29251),c=a(62923),m=a(9103),b=a(89206),v=a(7967);function h(r){return(0,v.ZP)("MuiLinearProgress",r)}(0,b.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var p=a(58120);let g=["className","color","value","valueBuffer","variant"],Z=r=>r,y,C,x,$,k,M,P=(0,l.F4)(y||(y=Z`
1
+ "use strict";exports.id=2359,exports.ids=[2359],exports.modules={29564:(r,e,a)=>{var t=a(66682);e.Z=void 0;var o=t(a(7750)),n=a(58120);e.Z=(0,o.default)((0,n.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},30463:(r,e,a)=>{var t=a(66682);e.Z=void 0;var o=t(a(7750)),n=a(58120);e.Z=(0,o.default)((0,n.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link")},95223:(r,e,a)=>{a.d(e,{Z:()=>R});var t=a(36885),o=a(4981),n=a(36372),i=a(30330),s=a(3693),l=a(84199),u=a(93445),d=a(10587),f=a(29251),c=a(62923),b=a(9103),m=a(89206),v=a(7967);function h(r){return(0,v.ZP)("MuiLinearProgress",r)}(0,m.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var p=a(58120);let g=["className","color","value","valueBuffer","variant"],Z=r=>r,y,C,x,$,P,k,M=(0,l.F4)(y||(y=Z`
2
2
  0% {
3
3
  left: -35%;
4
4
  right: 100%;
@@ -28,7 +28,7 @@
28
28
  left: 107%;
29
29
  right: -8%;
30
30
  }
31
- `)),S=(0,l.F4)(x||(x=Z`
31
+ `)),w=(0,l.F4)(x||(x=Z`
32
32
  0% {
33
33
  opacity: 1;
34
34
  background-position: 0 -23px;
@@ -43,12 +43,12 @@
43
43
  opacity: 1;
44
44
  background-position: -200px -23px;
45
45
  }
46
- `)),w=r=>{let{classes:e,variant:a,color:t}=r,o={root:["root",`color${(0,f.Z)(t)}`,a],dashed:["dashed",`dashedColor${(0,f.Z)(t)}`],bar1:["bar",`barColor${(0,f.Z)(t)}`,("indeterminate"===a||"query"===a)&&"bar1Indeterminate","determinate"===a&&"bar1Determinate","buffer"===a&&"bar1Buffer"],bar2:["bar","buffer"!==a&&`barColor${(0,f.Z)(t)}`,"buffer"===a&&`color${(0,f.Z)(t)}`,("indeterminate"===a||"query"===a)&&"bar2Indeterminate","buffer"===a&&"bar2Buffer"]};return(0,s.Z)(o,h,e)},j=(r,e)=>"inherit"===e?"currentColor":r.vars?r.vars.palette.LinearProgress[`${e}Bg`]:"light"===r.palette.mode?(0,u.$n)(r.palette[e].main,.62):(0,u._j)(r.palette[e].main,.5),z=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.root,e[`color${(0,f.Z)(a.color)}`],e[a.variant]]}})(({ownerState:r,theme:e})=>(0,o.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:j(e,r.color)},"inherit"===r.color&&"buffer"!==r.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===r.variant&&{backgroundColor:"transparent"},"query"===r.variant&&{transform:"rotate(180deg)"})),B=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.dashed,e[`dashedColor${(0,f.Z)(a.color)}`]]}})(({ownerState:r,theme:e})=>{let a=j(e,r.color);return(0,o.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===r.color&&{opacity:.3},{backgroundImage:`radial-gradient(${a} 0%, ${a} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,l.iv)($||($=Z`
46
+ `)),S=r=>{let{classes:e,variant:a,color:t}=r,o={root:["root",`color${(0,f.Z)(t)}`,a],dashed:["dashed",`dashedColor${(0,f.Z)(t)}`],bar1:["bar",`barColor${(0,f.Z)(t)}`,("indeterminate"===a||"query"===a)&&"bar1Indeterminate","determinate"===a&&"bar1Determinate","buffer"===a&&"bar1Buffer"],bar2:["bar","buffer"!==a&&`barColor${(0,f.Z)(t)}`,"buffer"===a&&`color${(0,f.Z)(t)}`,("indeterminate"===a||"query"===a)&&"bar2Indeterminate","buffer"===a&&"bar2Buffer"]};return(0,s.Z)(o,h,e)},B=(r,e)=>"inherit"===e?"currentColor":r.vars?r.vars.palette.LinearProgress[`${e}Bg`]:"light"===r.palette.mode?(0,u.$n)(r.palette[e].main,.62):(0,u._j)(r.palette[e].main,.5),I=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.root,e[`color${(0,f.Z)(a.color)}`],e[a.variant]]}})(({ownerState:r,theme:e})=>(0,o.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:B(e,r.color)},"inherit"===r.color&&"buffer"!==r.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===r.variant&&{backgroundColor:"transparent"},"query"===r.variant&&{transform:"rotate(180deg)"})),j=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.dashed,e[`dashedColor${(0,f.Z)(a.color)}`]]}})(({ownerState:r,theme:e})=>{let a=B(e,r.color);return(0,o.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===r.color&&{opacity:.3},{backgroundImage:`radial-gradient(${a} 0%, ${a} 16%, transparent 42%)`,backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,l.iv)($||($=Z`
47
47
  animation: ${0} 3s infinite linear;
48
- `),S)),I=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.bar,e[`barColor${(0,f.Z)(a.color)}`],("indeterminate"===a.variant||"query"===a.variant)&&e.bar1Indeterminate,"determinate"===a.variant&&e.bar1Determinate,"buffer"===a.variant&&e.bar1Buffer]}})(({ownerState:r,theme:e})=>(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===r.color?"currentColor":(e.vars||e).palette[r.color].main},"determinate"===r.variant&&{transition:"transform .4s linear"},"buffer"===r.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:r})=>("indeterminate"===r.variant||"query"===r.variant)&&(0,l.iv)(k||(k=Z`
48
+ `),w)),q=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.bar,e[`barColor${(0,f.Z)(a.color)}`],("indeterminate"===a.variant||"query"===a.variant)&&e.bar1Indeterminate,"determinate"===a.variant&&e.bar1Determinate,"buffer"===a.variant&&e.bar1Buffer]}})(({ownerState:r,theme:e})=>(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===r.color?"currentColor":(e.vars||e).palette[r.color].main},"determinate"===r.variant&&{transition:"transform .4s linear"},"buffer"===r.variant&&{zIndex:1,transition:"transform .4s linear"}),({ownerState:r})=>("indeterminate"===r.variant||"query"===r.variant)&&(0,l.iv)(P||(P=Z`
49
49
  width: auto;
50
50
  animation: ${0} 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;
51
- `),P)),q=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.bar,e[`barColor${(0,f.Z)(a.color)}`],("indeterminate"===a.variant||"query"===a.variant)&&e.bar2Indeterminate,"buffer"===a.variant&&e.bar2Buffer]}})(({ownerState:r,theme:e})=>(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==r.variant&&{backgroundColor:"inherit"===r.color?"currentColor":(e.vars||e).palette[r.color].main},"inherit"===r.color&&{opacity:.3},"buffer"===r.variant&&{backgroundColor:j(e,r.color),transition:"transform .4s linear"}),({ownerState:r})=>("indeterminate"===r.variant||"query"===r.variant)&&(0,l.iv)(M||(M=Z`
51
+ `),M)),z=(0,c.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(r,e)=>{let{ownerState:a}=r;return[e.bar,e[`barColor${(0,f.Z)(a.color)}`],("indeterminate"===a.variant||"query"===a.variant)&&e.bar2Indeterminate,"buffer"===a.variant&&e.bar2Buffer]}})(({ownerState:r,theme:e})=>(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==r.variant&&{backgroundColor:"inherit"===r.color?"currentColor":(e.vars||e).palette[r.color].main},"inherit"===r.color&&{opacity:.3},"buffer"===r.variant&&{backgroundColor:B(e,r.color),transition:"transform .4s linear"}),({ownerState:r})=>("indeterminate"===r.variant||"query"===r.variant)&&(0,l.iv)(k||(k=Z`
52
52
  width: auto;
53
53
  animation: ${0} 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;
54
- `),L)),R=n.forwardRef(function(r,e){let a=(0,m.i)({props:r,name:"MuiLinearProgress"}),{className:n,color:s="primary",value:l,valueBuffer:u,variant:f="indeterminate"}=a,c=(0,t.Z)(a,g),b=(0,o.Z)({},a,{color:s,variant:f}),v=w(b),h=(0,d.V)(),Z={},y={bar1:{},bar2:{}};if(("determinate"===f||"buffer"===f)&&void 0!==l){Z["aria-valuenow"]=Math.round(l),Z["aria-valuemin"]=0,Z["aria-valuemax"]=100;let r=l-100;h&&(r=-r),y.bar1.transform=`translateX(${r}%)`}if("buffer"===f&&void 0!==u){let r=(u||0)-100;h&&(r=-r),y.bar2.transform=`translateX(${r}%)`}return(0,p.jsxs)(z,(0,o.Z)({className:(0,i.Z)(v.root,n),ownerState:b,role:"progressbar"},Z,{ref:e},c,{children:["buffer"===f?(0,p.jsx)(B,{className:v.dashed,ownerState:b}):null,(0,p.jsx)(I,{className:v.bar1,ownerState:b,style:y.bar1}),"determinate"===f?null:(0,p.jsx)(q,{className:v.bar2,ownerState:b,style:y.bar2})]}))})},98693:(r,e,a)=>{a.d(e,{Z:()=>l});var t=a(36372),o=a(38144),n=a(35492),i=a(42377);let s=t.useSyncExternalStore;function l(r,e={}){let a=(0,i.Z)(),{defaultMatches:l=!1,matchMedia:u=null,ssrMatchMedia:d=null,noSsr:f=!1}=(0,n.Z)({name:"MuiUseMediaQuery",props:e,theme:a}),c="function"==typeof r?r(a):r;return(void 0!==s?function(r,e,a,o,n){let i=t.useCallback(()=>e,[e]),l=t.useMemo(()=>{if(n&&a)return()=>a(r).matches;if(null!==o){let{matches:e}=o(r);return()=>e}return i},[i,r,o,n,a]),[u,d]=t.useMemo(()=>{if(null===a)return[i,()=>()=>{}];let e=a(r);return[()=>e.matches,r=>(e.addListener(r),()=>{e.removeListener(r)})]},[i,a,r]);return s(d,u,l)}:function(r,e,a,n,i){let[s,l]=t.useState(()=>i&&a?a(r).matches:n?n(r).matches:e);return(0,o.Z)(()=>{let e=!0;if(!a)return;let t=a(r),o=()=>{e&&l(t.matches)};return o(),t.addListener(o),()=>{e=!1,t.removeListener(o)}},[r,a]),s})(c=c.replace(/^@media( ?)/m,""),l,u,d,f)}}};
54
+ `),L)),R=n.forwardRef(function(r,e){let a=(0,b.i)({props:r,name:"MuiLinearProgress"}),{className:n,color:s="primary",value:l,valueBuffer:u,variant:f="indeterminate"}=a,c=(0,t.Z)(a,g),m=(0,o.Z)({},a,{color:s,variant:f}),v=S(m),h=(0,d.V)(),Z={},y={bar1:{},bar2:{}};if(("determinate"===f||"buffer"===f)&&void 0!==l){Z["aria-valuenow"]=Math.round(l),Z["aria-valuemin"]=0,Z["aria-valuemax"]=100;let r=l-100;h&&(r=-r),y.bar1.transform=`translateX(${r}%)`}if("buffer"===f&&void 0!==u){let r=(u||0)-100;h&&(r=-r),y.bar2.transform=`translateX(${r}%)`}return(0,p.jsxs)(I,(0,o.Z)({className:(0,i.Z)(v.root,n),ownerState:m,role:"progressbar"},Z,{ref:e},c,{children:["buffer"===f?(0,p.jsx)(j,{className:v.dashed,ownerState:m}):null,(0,p.jsx)(q,{className:v.bar1,ownerState:m,style:y.bar1}),"determinate"===f?null:(0,p.jsx)(z,{className:v.bar2,ownerState:m,style:y.bar2})]}))})},98693:(r,e,a)=>{a.d(e,{Z:()=>l});var t=a(36372),o=a(38144),n=a(35492),i=a(42377);let s=t.useSyncExternalStore;function l(r,e={}){let a=(0,i.Z)(),{defaultMatches:l=!1,matchMedia:u=null,ssrMatchMedia:d=null,noSsr:f=!1}=(0,n.Z)({name:"MuiUseMediaQuery",props:e,theme:a}),c="function"==typeof r?r(a):r;return(void 0!==s?function(r,e,a,o,n){let i=t.useCallback(()=>e,[e]),l=t.useMemo(()=>{if(n&&a)return()=>a(r).matches;if(null!==o){let{matches:e}=o(r);return()=>e}return i},[i,r,o,n,a]),[u,d]=t.useMemo(()=>{if(null===a)return[i,()=>()=>{}];let e=a(r);return[()=>e.matches,r=>(e.addListener(r),()=>{e.removeListener(r)})]},[i,a,r]);return s(d,u,l)}:function(r,e,a,n,i){let[s,l]=t.useState(()=>i&&a?a(r).matches:n?n(r).matches:e);return(0,o.Z)(()=>{let e=!0;if(!a)return;let t=a(r),o=()=>{e&&l(t.matches)};return o(),t.addListener(o),()=>{e=!1,t.removeListener(o)}},[r,a]),s})(c=c.replace(/^@media( ?)/m,""),l,u,d,f)}}};
@@ -0,0 +1 @@
1
+ "use strict";exports.id=2650,exports.ids=[2650],exports.modules={71438:(e,t,r)=>{r.d(t,{I:()=>n});var s=r(58120),a=r(48787),i=r(39928);function n({action:e,size:t="small"}){let r=i.Lu[e]||"default",n=i.n3[e]||e;return s.jsx(a.Z,{label:n,color:r,size:t,variant:"filled",sx:{fontWeight:600,fontSize:"small"===t?"0.7rem":"0.8rem"}})}},55049:(e,t,r)=>{r.d(t,{c:()=>l});var s=r(58120),a=r(48787),i=r(56846),n=r(72690);function l({status:e,size:t="small"}){return s.jsx(a.Z,{icon:"success"===e?s.jsx(i.Z,{}):s.jsx(n.Z,{}),label:"success"===e?"OK":"Error",color:"success"===e?"success":"error",size:t,variant:"outlined",sx:{fontWeight:500,fontSize:"small"===t?"0.7rem":"0.8rem"}})}},15558:(e,t,r)=>{r.d(t,{x:()=>W});var s=r(58120),a=r(36372),i=r(89352),n=r(37891),l=r(88916),o=r(75698),d=r(664),c=r(70862),x=r(59059),h=r(91236),u=r(52329),p=r(2365),m=r(98243),j=r(68913),g=r(66757),Z=r(10257),y=r(48787),v=r(5374),f=r(54365),b=r(82538),w=r(47481),k=r(43908),S=r(38481),T=r(78787),C=r(40611),z=r(71438),D=r(55049);function P({log:e,onClick:t,hideTargetColumn:r}){var d,c;let[h,u]=(0,a.useState)("failure"===e.status),j=e.details&&Object.keys(e.details).length>0,Z="failure"===e.status&&e.errorMessage,T=j||Z,P=(d=e.targetType,c=e.targetName,"server"===d?`/servers/${encodeURIComponent(c)}`:"player"===d?"/players":null);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(x.Z,{hover:!0,sx:{cursor:"pointer","&:last-child td, &:last-child th":{border:0}},onClick:()=>t?.(e),tabIndex:0,onKeyDown:r=>{("Enter"===r.key||" "===r.key)&&(r.preventDefault(),t?.(e))},role:"button","aria-label":`${e.action} by ${e.actor} on ${e.targetName}`,children:[s.jsx(o.Z,{padding:"checkbox",sx:{width:48},children:T&&s.jsx(f.Z,{size:"small",onClick:e=>{e.stopPropagation(),u(!h)},"aria-label":h?"Collapse details":"Expand details",children:h?s.jsx(w.Z,{}):s.jsx(b.Z,{})})}),s.jsx(o.Z,{children:s.jsx(m.Z,{title:function(e){let t=new Date(e);return new Intl.DateTimeFormat(void 0,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit",timeZoneName:"short"}).format(t)}(e.timestamp),arrow:!0,children:s.jsx(p.Z,{variant:"body2",color:"text.secondary",sx:{whiteSpace:"nowrap"},children:function(e){let t=new Date,r=new Date(e),s=Math.floor((t.getTime()-r.getTime())/1e3),a=Math.floor(s/60),i=Math.floor(a/60),n=Math.floor(i/24);return s<60?"just now":a<60?`${a}m ago`:i<24?`${i}h ago`:n<7?`${n}d ago`:new Intl.DateTimeFormat(void 0,{month:"short",day:"numeric"}).format(r)}(e.timestamp)})})}),s.jsx(o.Z,{children:s.jsx(z.I,{action:e.action})}),s.jsx(o.Z,{children:e.actor.startsWith("cli:")?s.jsx(y.Z,{label:e.actor.replace("cli:",""),size:"small",variant:"outlined",sx:{fontSize:"0.75rem"}}):s.jsx(p.Z,{variant:"body2",children:e.actor.replace("api:","")})}),!r&&s.jsx(o.Z,{children:(0,s.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center"},children:[function(e){switch(e){case"server":return s.jsx(k.Z,{sx:{fontSize:16,mr:.5,color:"text.secondary"}});case"player":return s.jsx(S.Z,{sx:{fontSize:16,mr:.5,color:"text.secondary"}});default:return null}}(e.targetType),P?s.jsx(C.default,{href:P,style:{textDecoration:"none"},onClick:e=>e.stopPropagation(),children:s.jsx(p.Z,{variant:"body2",sx:{color:"primary.main","&:hover":{textDecoration:"underline"}},children:e.targetName})}):s.jsx(p.Z,{variant:"body2",children:e.targetName})]})}),s.jsx(o.Z,{children:s.jsx(D.c,{status:e.status})})]}),T&&s.jsx(x.Z,{children:s.jsx(o.Z,{sx:{py:0},colSpan:r?5:6,children:s.jsx(v.Z,{in:h,timeout:"auto",unmountOnExit:!0,children:(0,s.jsxs)(i.Z,{sx:{py:2,px:2},children:[Z&&s.jsx(g.Z,{severity:"error",sx:{mb:2},children:e.errorMessage}),j&&(0,s.jsxs)(i.Z,{children:[s.jsx(p.Z,{variant:"caption",color:"text.secondary",sx:{mb:1,display:"block"},children:"Details"}),s.jsx(n.Z,{size:"small",sx:{width:"auto"},children:s.jsx(l.Z,{children:Object.entries(e.details).map(([e,t])=>(0,s.jsxs)(x.Z,{children:[s.jsx(o.Z,{sx:{fontWeight:600,color:"text.secondary",border:"none",py:.5,pl:0},children:e}),s.jsx(o.Z,{sx:{border:"none",py:.5},children:String(t)})]},e))})})]})]})})})})]})}function W({logs:e,total:t,isLoading:r,error:a,filters:i,onFiltersChange:m,onRowClick:y,onRetry:v,hideTargetColumn:f,rowsPerPageOptions:b=[25,50,100]}){let w=Math.floor((i.offset||0)/(i.limit||50)),k=i.limit||50;return r?s.jsx(u.Z,{children:s.jsx(d.Z,{children:(0,s.jsxs)(n.Z,{children:[s.jsx(c.Z,{children:(0,s.jsxs)(x.Z,{children:[s.jsx(o.Z,{padding:"checkbox"}),s.jsx(o.Z,{children:"Timestamp"}),s.jsx(o.Z,{children:"Action"}),s.jsx(o.Z,{children:"Actor"}),!f&&s.jsx(o.Z,{children:"Target"}),s.jsx(o.Z,{children:"Status"})]})}),s.jsx(l.Z,{children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,s.jsxs)(x.Z,{children:[s.jsx(o.Z,{padding:"checkbox"}),s.jsx(o.Z,{children:s.jsx(j.Z,{variant:"text",width:80})}),s.jsx(o.Z,{children:s.jsx(j.Z,{variant:"rounded",width:70,height:24})}),s.jsx(o.Z,{children:s.jsx(j.Z,{variant:"text",width:60})}),!f&&s.jsx(o.Z,{children:s.jsx(j.Z,{variant:"text",width:100})}),s.jsx(o.Z,{children:s.jsx(j.Z,{variant:"rounded",width:50,height:24})})]},t))})]})})}):a?s.jsx(g.Z,{severity:"error",action:v&&s.jsx(Z.Z,{color:"inherit",size:"small",onClick:v,children:"Retry"}),children:a.message||"Failed to load audit logs"}):0===e.length?(0,s.jsxs)(u.Z,{sx:{p:6,textAlign:"center"},children:[s.jsx(T.Z,{sx:{fontSize:64,color:"text.disabled",mb:2}}),s.jsx(p.Z,{variant:"h6",color:"text.secondary",gutterBottom:!0,children:"No audit logs found"}),s.jsx(p.Z,{variant:"body2",color:"text.disabled",sx:{mb:2},children:"Try adjusting your filters or check back later."}),s.jsx(Z.Z,{variant:"outlined",size:"small",onClick:()=>m({limit:i.limit,sort:i.sort}),children:"Reset Filters"})]}):(0,s.jsxs)(u.Z,{children:[s.jsx(d.Z,{sx:{overflowX:"auto"},children:(0,s.jsxs)(n.Z,{size:"small",children:[s.jsx(c.Z,{children:(0,s.jsxs)(x.Z,{children:[s.jsx(o.Z,{padding:"checkbox",sx:{width:48}}),s.jsx(o.Z,{sx:{fontWeight:600,whiteSpace:"nowrap"},children:"Timestamp"}),s.jsx(o.Z,{sx:{fontWeight:600},children:"Action"}),s.jsx(o.Z,{sx:{fontWeight:600},children:"Actor"}),!f&&s.jsx(o.Z,{sx:{fontWeight:600},children:"Target"}),s.jsx(o.Z,{sx:{fontWeight:600},children:"Status"})]})}),s.jsx(l.Z,{children:e.map(e=>s.jsx(P,{log:e,onClick:y,hideTargetColumn:f},e.id))})]})}),s.jsx(h.Z,{component:"div",count:t,page:w,onPageChange:(e,t)=>{m({...i,offset:t*k})},rowsPerPage:k,onRowsPerPageChange:e=>{let t=parseInt(e.target.value,10);m({...i,limit:t,offset:0})},rowsPerPageOptions:b,"aria-label":"Audit log pagination"})]})}},15784:(e,t,r)=>{r.d(t,{DM:()=>n,HZ:()=>o,VM:()=>l,hT:()=>i,oL:()=>d});var s=r(28872),a=r(43137);function i(e={},t){let r=function(e){let t=new URLSearchParams;e.action&&t.set("action",e.action),e.actor&&t.set("actor",e.actor),e.targetType&&t.set("targetType",e.targetType),e.targetName&&t.set("targetName",e.targetName),e.status&&t.set("status",e.status),e.from&&t.set("from",e.from),e.to&&t.set("to",e.to),void 0!==e.limit&&t.set("limit",String(e.limit)),void 0!==e.offset&&t.set("offset",String(e.offset)),e.sort&&t.set("sort",e.sort);let r=t.toString();return r?`?${r}`:""}(e);return(0,s.a)({queryKey:["audit-logs",e],queryFn:()=>(0,a.SC)(`/api/audit-logs${r}`),enabled:t?.enabled!==!1})}function n(e){return(0,s.a)({queryKey:["audit-logs","stats"],queryFn:()=>(0,a.SC)("/api/audit-logs/stats"),enabled:e?.enabled!==!1,refetchInterval:3e4})}function l(e,t){return(0,s.a)({queryKey:["audit-logs",e],queryFn:()=>(0,a.SC)(`/api/audit-logs/${encodeURIComponent(e)}`),enabled:t?.enabled!==!1&&!!e})}function o(e,t){return i({targetType:"server",targetName:e,limit:t?.limit??20,...t?.extraParams},{enabled:t?.enabled!==!1&&!!e})}function d(e=10){return i({limit:e,sort:"timestamp:desc"})}},39928:(e,t,r)=>{r.d(t,{KK:()=>l,Lu:()=>s,Xn:()=>n,n3:()=>a,xg:()=>i});let s={"server.create":"success","server.delete":"error","server.start":"info","server.stop":"warning","server.restart":"secondary","player.whitelist.add":"success","player.whitelist.remove":"warning","player.ban":"error","player.unban":"success","player.op":"info","player.deop":"warning","player.kick":"error","audit.purge":"default"},a={"server.create":"Create","server.delete":"Delete","server.start":"Start","server.stop":"Stop","server.restart":"Restart","player.whitelist.add":"Whitelist Add","player.whitelist.remove":"Whitelist Remove","player.ban":"Ban","player.unban":"Unban","player.op":"Op","player.deop":"Deop","player.kick":"Kick","audit.purge":"Purge"},i=["server.create","server.delete","server.start","server.stop","server.restart","player.whitelist.add","player.whitelist.remove","player.ban","player.unban","player.op","player.deop","player.kick","audit.purge"],n=["server.create","server.delete","server.start","server.stop","server.restart"],l=["player.whitelist.add","player.whitelist.remove","player.ban","player.unban","player.op","player.deop","player.kick"]}};
@@ -1 +1 @@
1
- exports.id=354,exports.ids=[354],exports.modules={78729:(e,r,t)=>{Promise.resolve().then(t.bind(t,47600))},47600:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>_});var a=t(58120),s=t(36372),i=t(89352),n=t(56539),l=t(40611),o=t(22053),c=t(39497),d=t(54365),x=t(2365),h=t(33549),m=t(58664),p=t(73091),u=t(19609),f=t(63654),g=t(63856),b=t(6695),j=t(33615),y=t(6545),v=t(43908),Z=t(28669),w=t(32130),C=t(88517),k=t(1877),S=t(37372),P=t(34081),z=t(60417);function I(e){return(0,a.jsxs)(z.Z,{...e,viewBox:"0 0 32 32",children:[a.jsx("rect",{width:"32",height:"32",fill:"#5DA840"}),a.jsx("rect",{x:"4",y:"8",width:"8",height:"8",fill:"#000"}),a.jsx("rect",{x:"20",y:"8",width:"8",height:"8",fill:"#000"}),a.jsx("rect",{x:"12",y:"16",width:"8",height:"4",fill:"#000"}),a.jsx("rect",{x:"8",y:"20",width:"16",height:"8",fill:"#000"}),a.jsx("rect",{x:"8",y:"28",width:"4",height:"4",fill:"#000"}),a.jsx("rect",{x:"20",y:"28",width:"4",height:"4",fill:"#000"}),a.jsx("rect",{x:"0",y:"0",width:"4",height:"4",fill:"#4A9030",opacity:"0.5"}),a.jsx("rect",{x:"8",y:"4",width:"4",height:"4",fill:"#4A9030",opacity:"0.5"}),a.jsx("rect",{x:"24",y:"0",width:"4",height:"4",fill:"#4A9030",opacity:"0.5"}),a.jsx("rect",{x:"28",y:"8",width:"4",height:"4",fill:"#4A9030",opacity:"0.5"}),a.jsx("rect",{x:"0",y:"24",width:"4",height:"4",fill:"#4A9030",opacity:"0.5"})]})}var W=t(36597),A=t(68763);let D=[{label:"Dashboard",href:"/dashboard",icon:a.jsx(y.Z,{})},{label:"Servers",href:"/servers",icon:a.jsx(v.Z,{})},{label:"Worlds",href:"/worlds",icon:a.jsx(k.Z,{})},{label:"Players",href:"/players",icon:a.jsx(Z.Z,{})},{label:"Audit",href:"/audit-logs",icon:a.jsx(C.Z,{})},{label:"Backups",href:"/backups",icon:a.jsx(S.Z,{})},{label:"Routing",href:"/routing",icon:a.jsx(w.Z,{})}];function T({mobileOpen:e,onMenuToggle:r}){let t=(0,n.usePathname)(),{data:s}=(0,A.kP)(),y=e=>"/dashboard"===e?"/dashboard"===t||"/"===t:t.startsWith(e);return(0,a.jsxs)(a.Fragment,{children:[a.jsx(o.Z,{position:"fixed",elevation:0,sx:{backgroundColor:"background.paper",borderBottom:"1px solid",borderColor:"divider",zIndex:e=>e.zIndex.drawer+1},children:(0,a.jsxs)(c.Z,{sx:{maxWidth:"1400px",width:"100%",mx:"auto",px:{xs:2,sm:3}},children:[a.jsx(d.Z,{color:"inherit","aria-label":"open menu",edge:"start",onClick:r,sx:{mr:2,display:{md:"none"}},children:a.jsx(b.Z,{})}),(0,a.jsxs)(l.default,{href:"/",style:{textDecoration:"none",display:"flex",alignItems:"center"},children:[a.jsx(I,{sx:{fontSize:28,color:"primary.main",mr:1}}),a.jsx(x.Z,{variant:"h6",component:"span",sx:{fontFamily:'"Minecraft", sans-serif',fontWeight:400,color:"common.white",letterSpacing:"0.05em",fontSize:"1.1rem"},children:"Minecraft Console"})]}),a.jsx(i.Z,{component:"nav",sx:{display:{xs:"none",md:"flex"},alignItems:"center",gap:1,ml:4,flex:1},children:D.map(e=>{let r=y(e.href);return a.jsx(l.default,{href:e.href,style:{textDecoration:"none"},onClick:()=>!r&&(0,W.Av)(),children:(0,a.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,px:2,py:1,borderRadius:2,color:r?"primary.main":"text.secondary",backgroundColor:r?"action.selected":"transparent",transition:"all 0.2s ease","&:hover":{backgroundColor:"action.hover",color:r?"primary.main":"text.primary"}},children:[a.jsx(i.Z,{component:"span",sx:{display:"flex",alignItems:"center","& svg":{fontSize:20}},children:e.icon}),a.jsx(x.Z,{variant:"body2",sx:{fontWeight:r?600:400},children:e.label})]})},e.href)})}),a.jsx(i.Z,{sx:{display:"flex",alignItems:"center",gap:2},children:a.jsx(P.Ie,{})})]})}),a.jsx(h.ZP,{variant:"temporary",anchor:"left",open:e,onClose:r,ModalProps:{keepMounted:!0},sx:{display:{xs:"block",md:"none"},"& .MuiDrawer-paper":{boxSizing:"border-box",width:280,backgroundColor:"background.paper"}},children:(0,a.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",height:"100%"},children:[(0,a.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",px:2,py:2,minHeight:64,borderBottom:"1px solid",borderColor:"divider"},children:[(0,a.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center"},children:[a.jsx(I,{sx:{fontSize:24,color:"primary.main",mr:1}}),a.jsx(x.Z,{variant:"h6",component:"span",sx:{fontFamily:'"Minecraft", sans-serif',fontWeight:400,color:"primary.main",letterSpacing:"0.05em",fontSize:"1rem"},children:"Minecraft Console"})]}),a.jsx(d.Z,{onClick:r,"aria-label":"close menu",children:a.jsx(j.Z,{})})]}),a.jsx(m.Z,{sx:{flex:1,px:1,py:2},children:D.map(e=>{let t=y(e.href);return a.jsx(p.ZP,{disablePadding:!0,sx:{mb:.5},children:(0,a.jsxs)(u.Z,{component:l.default,href:e.href,onClick:()=>{r(),t||(0,W.Av)()},"aria-current":t?"page":void 0,sx:{borderRadius:2,backgroundColor:t?"action.selected":"transparent","&:hover":{backgroundColor:"action.hover"}},children:[a.jsx(f.Z,{sx:{color:t?"primary.main":"text.secondary",minWidth:40},children:e.icon}),a.jsx(g.Z,{primary:e.label,primaryTypographyProps:{fontWeight:t?600:400,color:t?"primary.main":"text.primary"}})]})},e.href)})})]})})]})}var M=t(23972),q=t(42578),R=t(80336),U=t(3984),E=t(60028);function H(e){return a.jsx(z.Z,{...e,viewBox:"0 0 24 24",children:a.jsx("path",{d:"M13.983 11.078h2.119a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.119a.185.185 0 00-.185.185v1.888c0 .102.083.185.185.185m-2.954-5.43h2.118a.186.186 0 00.186-.186V3.574a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.186m0 2.716h2.118a.187.187 0 00.186-.186V6.29a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.887c0 .102.082.185.185.186m-2.93 0h2.12a.186.186 0 00.184-.186V6.29a.185.185 0 00-.185-.185H8.1a.185.185 0 00-.185.185v1.887c0 .102.083.185.185.186m-2.964 0h2.119a.186.186 0 00.185-.186V6.29a.185.185 0 00-.185-.185H5.136a.186.186 0 00-.186.185v1.887c0 .102.084.185.186.186m5.893 2.715h2.118a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m-2.93 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.083.185.185.185m-2.964 0h2.119a.185.185 0 00.185-.185V9.006a.185.185 0 00-.184-.186h-2.12a.186.186 0 00-.186.186v1.887c0 .102.084.185.186.185m-2.92 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.082.185.185.185M23.763 9.89c-.065-.051-.672-.51-1.954-.51-.338.001-.676.03-1.01.087-.248-1.7-1.653-2.53-1.716-2.566l-.344-.199-.226.327c-.284.438-.49.922-.612 1.43-.23.97-.09 1.882.403 2.661-.595.332-1.55.413-1.744.42H.751a.751.751 0 00-.75.748 11.376 11.376 0 00.692 4.062c.545 1.428 1.355 2.48 2.41 3.124 1.18.723 3.1 1.137 5.275 1.137.983.003 1.963-.086 2.93-.266a12.248 12.248 0 003.823-1.389c.98-.567 1.86-1.288 2.61-2.136 1.252-1.418 1.998-2.997 2.553-4.4h.221c1.372 0 2.215-.549 2.68-1.009.309-.293.55-.65.707-1.046l.098-.288z"})})}let B=[{title:"Resources",links:[{label:"Getting Started",href:"https://minecraft-server-manager.readthedocs.io/en/latest/getting-started/",external:!0},{label:"Configuration",href:"https://minecraft-server-manager.readthedocs.io/en/latest/configuration/",external:!0},{label:"Troubleshooting",href:"https://minecraft-server-manager.readthedocs.io/en/latest/troubleshooting/",external:!0}]},{title:"Documentation",links:[{label:"CLI Commands",href:"https://minecraft-server-manager.readthedocs.io/en/latest/cli/",external:!0},{label:"API Reference",href:"https://minecraft-server-manager.readthedocs.io/en/latest/console/",external:!0},{label:"itzg Reference",href:"https://minecraft-server-manager.readthedocs.io/en/latest/itzg-reference/",external:!0}]},{title:"Community",links:[{label:"GitHub",href:"https://github.com/smallmiro/minecraft-server-manager",external:!0},{label:"Issues",href:"https://github.com/smallmiro/minecraft-server-manager/issues",external:!0}]},{title:"About",links:[{label:"License",href:"https://github.com/smallmiro/minecraft-server-manager/blob/main/LICENSE",external:!0},{label:"Docker Hub",href:"https://hub.docker.com/r/itzg/minecraft-server",external:!0}]}];function V(){let e=new Date().getFullYear();return a.jsx(i.Z,{component:"footer",sx:{backgroundColor:"background.paper",borderTop:"1px solid",borderColor:"divider",mt:"auto"},children:(0,a.jsxs)(M.Z,{maxWidth:"lg",sx:{py:6},children:[a.jsx(i.Z,{sx:{display:"grid",gridTemplateColumns:{xs:"repeat(2, 1fr)",sm:"repeat(4, 1fr)"},gap:4,mb:4},children:B.map(e=>(0,a.jsxs)(i.Z,{children:[a.jsx(x.Z,{variant:"subtitle2",sx:{fontWeight:600,color:"text.primary",mb:2},children:e.title}),a.jsx(i.Z,{component:"ul",sx:{listStyle:"none",p:0,m:0},children:e.links.map(e=>a.jsx(i.Z,{component:"li",sx:{mb:1},children:a.jsx(q.Z,{href:e.href,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,underline:"hover",sx:{color:"text.secondary",fontSize:"0.875rem",transition:"color 0.2s ease","&:hover":{color:"primary.main"}},children:e.label})},e.label))})]},e.title))}),a.jsx(R.Z,{sx:{mb:3}}),(0,a.jsxs)(i.Z,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},justifyContent:"space-between",alignItems:{xs:"flex-start",sm:"center"},gap:2},children:[(0,a.jsxs)(x.Z,{variant:"body2",sx:{color:"text.tertiary"},children:[e," \xa9"," ",a.jsx(q.Z,{href:"https://github.com/smallmiro/minecraft-server-manager",target:"_blank",rel:"noopener noreferrer",underline:"hover",sx:{color:"primary.main"},children:"Minecraft Server Management Console"})]}),(0,a.jsxs)(i.Z,{sx:{display:"flex",gap:2},children:[a.jsx(q.Z,{href:"https://github.com/smallmiro/minecraft-server-manager",target:"_blank",rel:"noopener noreferrer","aria-label":"GitHub",sx:{color:"text.secondary",transition:"color 0.2s ease","&:hover":{color:"text.primary"}},children:a.jsx(U.Z,{fontSize:"small"})}),a.jsx(q.Z,{href:"https://minecraft-server-manager.readthedocs.io/",target:"_blank",rel:"noopener noreferrer","aria-label":"Documentation",sx:{color:"text.secondary",transition:"color 0.2s ease","&:hover":{color:"text.primary"}},children:a.jsx(E.Z,{fontSize:"small"})}),a.jsx(q.Z,{href:"https://hub.docker.com/r/itzg/minecraft-server",target:"_blank",rel:"noopener noreferrer","aria-label":"Docker Hub",sx:{color:"text.secondary",transition:"color 0.2s ease","&:hover":{color:"text.primary"}},children:a.jsx(H,{fontSize:"small"})})]})]})]})})}function _({children:e}){let[r,t]=(0,s.useState)(!1);return(0,a.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",backgroundColor:"background.default"},children:[a.jsx(T,{mobileOpen:r,onMenuToggle:()=>{t(!r)}}),a.jsx(i.Z,{component:"main",sx:{flexGrow:1,display:"flex",flexDirection:"column",pt:{xs:"88px",sm:"96px"},pb:{xs:3,sm:4},px:{xs:2,sm:3,md:4},maxWidth:"1400px",width:"100%",mx:"auto"},children:e}),a.jsx(V,{})]})}},34081:(e,r,t)=>{"use strict";t.d(r,{U0:()=>p,WS:()=>u,Ie:()=>I});var a=t(58120),s=t(36372),i=t(89352),n=t(66757),l=t(6275),o=t(92559),c=t(54365),d=t(10257),x=t(3643),h=t(8721),m=t(68763);function p({onSuccess:e}){let[r,t]=(0,s.useState)(""),[p,u]=(0,s.useState)(""),[f,g]=(0,s.useState)(!1),[b,j]=(0,s.useState)({}),[y,v]=(0,s.useState)(null),[Z,w]=(0,s.useState)(!1),C=()=>{let e={};return r?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r)||(e.email="Invalid email address"):e.email="Email is required",p||(e.password="Password is required"),j(e),0===Object.keys(e).length},k=async t=>{if(t.preventDefault(),v(null),C()){w(!0);try{let t=await m.cg.email({email:r,password:p});if(t.error){v(t.error.message||"Invalid credentials"),w(!1);return}e&&e()}catch(e){v("An unexpected error occurred. Please try again."),w(!1)}}};return(0,a.jsxs)(i.Z,{component:"form",onSubmit:k,sx:{display:"flex",flexDirection:"column",gap:2},children:[y&&a.jsx(n.Z,{severity:"error",onClose:()=>v(null),children:y}),a.jsx(l.Z,{label:"Email",type:"email",value:r,onChange:e=>t(e.target.value),error:!!b.email,helperText:b.email,disabled:Z,fullWidth:!0,required:!0}),a.jsx(l.Z,{label:"Password",type:f?"text":"password",value:p,onChange:e=>u(e.target.value),error:!!b.password,helperText:b.password,disabled:Z,fullWidth:!0,required:!0,InputProps:{endAdornment:a.jsx(o.Z,{position:"end",children:a.jsx(c.Z,{"aria-label":"toggle password visibility",onClick:()=>{g(!f)},edge:"end",children:f?a.jsx(x.Z,{}):a.jsx(h.Z,{})})})}}),a.jsx(d.Z,{type:"submit",variant:"contained",color:"primary",disabled:Z,fullWidth:!0,size:"large",children:Z?"Signing in...":"Sign In"})]})}function u({onSuccess:e}){let[r,t]=(0,s.useState)(""),[p,u]=(0,s.useState)(""),[f,g]=(0,s.useState)(""),[b,j]=(0,s.useState)(""),[y,v]=(0,s.useState)(!1),[Z,w]=(0,s.useState)(!1),[C,k]=(0,s.useState)({}),[S,P]=(0,s.useState)(null),[z,I]=(0,s.useState)(!1),W=()=>{let e={};return r||(e.name="Name is required"),p?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p)||(e.email="Invalid email address"):e.email="Email is required",f?f.length<8&&(e.password="Password must be at least 8 characters"):e.password="Password is required",b?f!==b&&(e.confirmPassword="Passwords do not match"):e.confirmPassword="Please confirm your password",k(e),0===Object.keys(e).length},A=async t=>{if(t.preventDefault(),P(null),W()){I(!0);try{let t=await m.y1.email({email:p,password:f,name:r});if(t.error){P(t.error.message||"Registration failed"),I(!1);return}e&&e()}catch(e){P("An unexpected error occurred. Please try again."),I(!1)}}};return(0,a.jsxs)(i.Z,{component:"form",onSubmit:A,sx:{display:"flex",flexDirection:"column",gap:2},children:[S&&a.jsx(n.Z,{severity:"error",onClose:()=>P(null),children:S}),a.jsx(l.Z,{label:"Name",type:"text",value:r,onChange:e=>t(e.target.value),error:!!C.name,helperText:C.name,disabled:z,fullWidth:!0,required:!0}),a.jsx(l.Z,{label:"Email",type:"email",value:p,onChange:e=>u(e.target.value),error:!!C.email,helperText:C.email,disabled:z,fullWidth:!0,required:!0}),a.jsx(l.Z,{label:"Password",type:y?"text":"password",value:f,onChange:e=>g(e.target.value),error:!!C.password,helperText:C.password,disabled:z,fullWidth:!0,required:!0,InputProps:{endAdornment:a.jsx(o.Z,{position:"end",children:a.jsx(c.Z,{"aria-label":"toggle password visibility",onClick:()=>{v(!y)},edge:"end",children:y?a.jsx(x.Z,{}):a.jsx(h.Z,{})})})}}),a.jsx(l.Z,{label:"Confirm Password",type:Z?"text":"password",value:b,onChange:e=>j(e.target.value),error:!!C.confirmPassword,helperText:C.confirmPassword,disabled:z,fullWidth:!0,required:!0,InputProps:{endAdornment:a.jsx(o.Z,{position:"end",children:a.jsx(c.Z,{"aria-label":"toggle password visibility",onClick:()=>{w(!Z)},edge:"end",children:Z?a.jsx(x.Z,{}):a.jsx(h.Z,{})})})}}),a.jsx(d.Z,{type:"submit",variant:"contained",color:"primary",disabled:z,fullWidth:!0,size:"large",children:z?"Creating account...":"Sign Up"})]})}var f=t(56539),g=t(79943),b=t(61573),j=t(81030),y=t(2365),v=t(48787),Z=t(80336),w=t(99634),C=t(63654),k=t(63856),S=t(62178),P=t(50210),z=t(49185);function I(){let e=(0,f.useRouter)(),{data:r,isPending:t}=(0,m.kP)(),[n,l]=(0,s.useState)(null),o=()=>{l(null)},x=async()=>{o(),await (0,m.w7)(),e.push("/login")};if(t)return a.jsx(i.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:a.jsx(g.Z,{size:24})});if(!r?.user)return a.jsx(d.Z,{variant:"contained",color:"primary",onClick:()=>{e.push("/login")},children:"Sign In"});let{user:h}=r,p=((e,r)=>{if(e){let r=e.split(" ");return r.length>=2?`${r[0][0]}${r[1][0]}`.toUpperCase():e.substring(0,2).toUpperCase()}return r?r[0].toUpperCase():"?"})(h.name,h.email);return(0,a.jsxs)(a.Fragment,{children:[a.jsx(c.Z,{onClick:e=>{l(e.currentTarget)},"aria-label":"user menu",children:a.jsx(b.Z,{sx:{bgcolor:"primary.main"},children:p})}),(0,a.jsxs)(j.Z,{anchorEl:n,open:!!n,onClose:o,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},sx:{mt:1},children:[(0,a.jsxs)(i.Z,{sx:{px:2,py:1.5,minWidth:200},children:[a.jsx(y.Z,{variant:"subtitle1",fontWeight:"600",children:h.name||"User"}),a.jsx(y.Z,{variant:"body2",color:"text.secondary",children:h.email}),"admin"===h.role&&a.jsx(v.Z,{label:"Admin",size:"small",color:"primary",sx:{mt:1}})]}),a.jsx(Z.Z,{}),"admin"===h.role&&(0,a.jsxs)(w.Z,{onClick:()=>{o(),e.push("/admin/users")},children:[a.jsx(C.Z,{children:a.jsx(S.Z,{fontSize:"small"})}),a.jsx(k.Z,{children:"Users"})]}),(0,a.jsxs)(w.Z,{onClick:()=>{o(),e.push("/settings")},children:[a.jsx(C.Z,{children:a.jsx(P.Z,{fontSize:"small"})}),a.jsx(k.Z,{children:"Settings"})]}),(0,a.jsxs)(w.Z,{onClick:x,children:[a.jsx(C.Z,{children:a.jsx(z.Z,{fontSize:"small"})}),a.jsx(k.Z,{children:"Logout"})]})]})]})}},36597:(e,r,t)=>{"use strict";t.d(r,{Av:()=>a.startLoading});var a=t(21908)},68763:(e,r,t)=>{"use strict";t.d(r,{Cp:()=>x,Nq:()=>d,cg:()=>n,kP:()=>c,w7:()=>l,y1:()=>o,zB:()=>h});var a=t(19106),s=t(82829);let i=(0,a.X)({baseURL:process.env.NEXT_PUBLIC_BETTER_AUTH_URL||"",plugins:[(0,s.zB)()]}),{signIn:n,signOut:l,signUp:o,useSession:c,updateUser:d,changePassword:x}=i,h=i.admin},26072:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>a});let a=(0,t(2325).createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/layout.tsx#default`)},52001:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>s});var a=t(15505);let s=e=>[{type:"image/svg+xml",sizes:"any",url:(0,a.fillMetadataSegment)(".",e.params,"icon.svg")+"?0f68875a168deab8"}]}};
1
+ exports.id=354,exports.ids=[354],exports.modules={78729:(e,r,t)=>{Promise.resolve().then(t.bind(t,47600))},47600:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>_});var a=t(58120),s=t(36372),i=t(89352),n=t(56539),l=t(40611),o=t(22053),c=t(39497),d=t(54365),x=t(2365),h=t(33549),m=t(58664),p=t(73091),u=t(19609),f=t(63654),g=t(63856),b=t(6695),j=t(33615),y=t(6545),v=t(43908),Z=t(28669),w=t(32130),C=t(88517),k=t(765),S=t(37372),P=t(34081),z=t(60417);function I(e){return(0,a.jsxs)(z.Z,{...e,viewBox:"0 0 32 32",children:[a.jsx("rect",{width:"32",height:"32",fill:"#5DA840"}),a.jsx("rect",{x:"4",y:"8",width:"8",height:"8",fill:"#000"}),a.jsx("rect",{x:"20",y:"8",width:"8",height:"8",fill:"#000"}),a.jsx("rect",{x:"12",y:"16",width:"8",height:"4",fill:"#000"}),a.jsx("rect",{x:"8",y:"20",width:"16",height:"8",fill:"#000"}),a.jsx("rect",{x:"8",y:"28",width:"4",height:"4",fill:"#000"}),a.jsx("rect",{x:"20",y:"28",width:"4",height:"4",fill:"#000"}),a.jsx("rect",{x:"0",y:"0",width:"4",height:"4",fill:"#4A9030",opacity:"0.5"}),a.jsx("rect",{x:"8",y:"4",width:"4",height:"4",fill:"#4A9030",opacity:"0.5"}),a.jsx("rect",{x:"24",y:"0",width:"4",height:"4",fill:"#4A9030",opacity:"0.5"}),a.jsx("rect",{x:"28",y:"8",width:"4",height:"4",fill:"#4A9030",opacity:"0.5"}),a.jsx("rect",{x:"0",y:"24",width:"4",height:"4",fill:"#4A9030",opacity:"0.5"})]})}var W=t(36597),A=t(68763);let D=[{label:"Dashboard",href:"/dashboard",icon:a.jsx(y.Z,{})},{label:"Servers",href:"/servers",icon:a.jsx(v.Z,{})},{label:"Worlds",href:"/worlds",icon:a.jsx(k.Z,{})},{label:"Players",href:"/players",icon:a.jsx(Z.Z,{})},{label:"Audit",href:"/audit-logs",icon:a.jsx(C.Z,{})},{label:"Backups",href:"/backups",icon:a.jsx(S.Z,{})},{label:"Routing",href:"/routing",icon:a.jsx(w.Z,{})}];function T({mobileOpen:e,onMenuToggle:r}){let t=(0,n.usePathname)(),{data:s}=(0,A.kP)(),y=e=>"/dashboard"===e?"/dashboard"===t||"/"===t:t.startsWith(e);return(0,a.jsxs)(a.Fragment,{children:[a.jsx(o.Z,{position:"fixed",elevation:0,sx:{backgroundColor:"background.paper",borderBottom:"1px solid",borderColor:"divider",zIndex:e=>e.zIndex.drawer+1},children:(0,a.jsxs)(c.Z,{sx:{maxWidth:"1400px",width:"100%",mx:"auto",px:{xs:2,sm:3}},children:[a.jsx(d.Z,{color:"inherit","aria-label":"open menu",edge:"start",onClick:r,sx:{mr:2,display:{md:"none"}},children:a.jsx(b.Z,{})}),(0,a.jsxs)(l.default,{href:"/",style:{textDecoration:"none",display:"flex",alignItems:"center"},children:[a.jsx(I,{sx:{fontSize:28,color:"primary.main",mr:1}}),a.jsx(x.Z,{variant:"h6",component:"span",sx:{fontFamily:'"Minecraft", sans-serif',fontWeight:400,color:"common.white",letterSpacing:"0.05em",fontSize:"1.1rem"},children:"Minecraft Console"})]}),a.jsx(i.Z,{component:"nav",sx:{display:{xs:"none",md:"flex"},alignItems:"center",gap:1,ml:4,flex:1},children:D.map(e=>{let r=y(e.href);return a.jsx(l.default,{href:e.href,style:{textDecoration:"none"},onClick:()=>!r&&(0,W.Av)(),children:(0,a.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,px:2,py:1,borderRadius:2,color:r?"primary.main":"text.secondary",backgroundColor:r?"action.selected":"transparent",transition:"all 0.2s ease","&:hover":{backgroundColor:"action.hover",color:r?"primary.main":"text.primary"}},children:[a.jsx(i.Z,{component:"span",sx:{display:"flex",alignItems:"center","& svg":{fontSize:20}},children:e.icon}),a.jsx(x.Z,{variant:"body2",sx:{fontWeight:r?600:400},children:e.label})]})},e.href)})}),a.jsx(i.Z,{sx:{display:"flex",alignItems:"center",gap:2},children:a.jsx(P.Ie,{})})]})}),a.jsx(h.ZP,{variant:"temporary",anchor:"left",open:e,onClose:r,ModalProps:{keepMounted:!0},sx:{display:{xs:"block",md:"none"},"& .MuiDrawer-paper":{boxSizing:"border-box",width:280,backgroundColor:"background.paper"}},children:(0,a.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",height:"100%"},children:[(0,a.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",px:2,py:2,minHeight:64,borderBottom:"1px solid",borderColor:"divider"},children:[(0,a.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center"},children:[a.jsx(I,{sx:{fontSize:24,color:"primary.main",mr:1}}),a.jsx(x.Z,{variant:"h6",component:"span",sx:{fontFamily:'"Minecraft", sans-serif',fontWeight:400,color:"primary.main",letterSpacing:"0.05em",fontSize:"1rem"},children:"Minecraft Console"})]}),a.jsx(d.Z,{onClick:r,"aria-label":"close menu",children:a.jsx(j.Z,{})})]}),a.jsx(m.Z,{sx:{flex:1,px:1,py:2},children:D.map(e=>{let t=y(e.href);return a.jsx(p.ZP,{disablePadding:!0,sx:{mb:.5},children:(0,a.jsxs)(u.Z,{component:l.default,href:e.href,onClick:()=>{r(),t||(0,W.Av)()},"aria-current":t?"page":void 0,sx:{borderRadius:2,backgroundColor:t?"action.selected":"transparent","&:hover":{backgroundColor:"action.hover"}},children:[a.jsx(f.Z,{sx:{color:t?"primary.main":"text.secondary",minWidth:40},children:e.icon}),a.jsx(g.Z,{primary:e.label,primaryTypographyProps:{fontWeight:t?600:400,color:t?"primary.main":"text.primary"}})]})},e.href)})})]})})]})}var M=t(23972),q=t(42578),R=t(80336),U=t(3984),E=t(60028);function H(e){return a.jsx(z.Z,{...e,viewBox:"0 0 24 24",children:a.jsx("path",{d:"M13.983 11.078h2.119a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.119a.185.185 0 00-.185.185v1.888c0 .102.083.185.185.185m-2.954-5.43h2.118a.186.186 0 00.186-.186V3.574a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.186m0 2.716h2.118a.187.187 0 00.186-.186V6.29a.186.186 0 00-.186-.185h-2.118a.185.185 0 00-.185.185v1.887c0 .102.082.185.185.186m-2.93 0h2.12a.186.186 0 00.184-.186V6.29a.185.185 0 00-.185-.185H8.1a.185.185 0 00-.185.185v1.887c0 .102.083.185.185.186m-2.964 0h2.119a.186.186 0 00.185-.186V6.29a.185.185 0 00-.185-.185H5.136a.186.186 0 00-.186.185v1.887c0 .102.084.185.186.186m5.893 2.715h2.118a.186.186 0 00.186-.185V9.006a.186.186 0 00-.186-.186h-2.118a.185.185 0 00-.185.185v1.888c0 .102.082.185.185.185m-2.93 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.083.185.185.185m-2.964 0h2.119a.185.185 0 00.185-.185V9.006a.185.185 0 00-.184-.186h-2.12a.186.186 0 00-.186.186v1.887c0 .102.084.185.186.185m-2.92 0h2.12a.185.185 0 00.184-.185V9.006a.185.185 0 00-.184-.186h-2.12a.185.185 0 00-.184.185v1.888c0 .102.082.185.185.185M23.763 9.89c-.065-.051-.672-.51-1.954-.51-.338.001-.676.03-1.01.087-.248-1.7-1.653-2.53-1.716-2.566l-.344-.199-.226.327c-.284.438-.49.922-.612 1.43-.23.97-.09 1.882.403 2.661-.595.332-1.55.413-1.744.42H.751a.751.751 0 00-.75.748 11.376 11.376 0 00.692 4.062c.545 1.428 1.355 2.48 2.41 3.124 1.18.723 3.1 1.137 5.275 1.137.983.003 1.963-.086 2.93-.266a12.248 12.248 0 003.823-1.389c.98-.567 1.86-1.288 2.61-2.136 1.252-1.418 1.998-2.997 2.553-4.4h.221c1.372 0 2.215-.549 2.68-1.009.309-.293.55-.65.707-1.046l.098-.288z"})})}let B=[{title:"Resources",links:[{label:"Getting Started",href:"https://minecraft-server-manager.readthedocs.io/en/latest/getting-started/",external:!0},{label:"Configuration",href:"https://minecraft-server-manager.readthedocs.io/en/latest/configuration/",external:!0},{label:"Troubleshooting",href:"https://minecraft-server-manager.readthedocs.io/en/latest/troubleshooting/",external:!0}]},{title:"Documentation",links:[{label:"CLI Commands",href:"https://minecraft-server-manager.readthedocs.io/en/latest/cli/",external:!0},{label:"API Reference",href:"https://minecraft-server-manager.readthedocs.io/en/latest/console/",external:!0},{label:"itzg Reference",href:"https://minecraft-server-manager.readthedocs.io/en/latest/itzg-reference/",external:!0}]},{title:"Community",links:[{label:"GitHub",href:"https://github.com/smallmiro/minecraft-server-manager",external:!0},{label:"Issues",href:"https://github.com/smallmiro/minecraft-server-manager/issues",external:!0}]},{title:"About",links:[{label:"License",href:"https://github.com/smallmiro/minecraft-server-manager/blob/main/LICENSE",external:!0},{label:"Docker Hub",href:"https://hub.docker.com/r/itzg/minecraft-server",external:!0}]}];function V(){let e=new Date().getFullYear();return a.jsx(i.Z,{component:"footer",sx:{backgroundColor:"background.paper",borderTop:"1px solid",borderColor:"divider",mt:"auto"},children:(0,a.jsxs)(M.Z,{maxWidth:"lg",sx:{py:6},children:[a.jsx(i.Z,{sx:{display:"grid",gridTemplateColumns:{xs:"repeat(2, 1fr)",sm:"repeat(4, 1fr)"},gap:4,mb:4},children:B.map(e=>(0,a.jsxs)(i.Z,{children:[a.jsx(x.Z,{variant:"subtitle2",sx:{fontWeight:600,color:"text.primary",mb:2},children:e.title}),a.jsx(i.Z,{component:"ul",sx:{listStyle:"none",p:0,m:0},children:e.links.map(e=>a.jsx(i.Z,{component:"li",sx:{mb:1},children:a.jsx(q.Z,{href:e.href,target:e.external?"_blank":void 0,rel:e.external?"noopener noreferrer":void 0,underline:"hover",sx:{color:"text.secondary",fontSize:"0.875rem",transition:"color 0.2s ease","&:hover":{color:"primary.main"}},children:e.label})},e.label))})]},e.title))}),a.jsx(R.Z,{sx:{mb:3}}),(0,a.jsxs)(i.Z,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},justifyContent:"space-between",alignItems:{xs:"flex-start",sm:"center"},gap:2},children:[(0,a.jsxs)(x.Z,{variant:"body2",sx:{color:"text.tertiary"},children:[e," \xa9"," ",a.jsx(q.Z,{href:"https://github.com/smallmiro/minecraft-server-manager",target:"_blank",rel:"noopener noreferrer",underline:"hover",sx:{color:"primary.main"},children:"Minecraft Server Management Console"})]}),(0,a.jsxs)(i.Z,{sx:{display:"flex",gap:2},children:[a.jsx(q.Z,{href:"https://github.com/smallmiro/minecraft-server-manager",target:"_blank",rel:"noopener noreferrer","aria-label":"GitHub",sx:{color:"text.secondary",transition:"color 0.2s ease","&:hover":{color:"text.primary"}},children:a.jsx(U.Z,{fontSize:"small"})}),a.jsx(q.Z,{href:"https://minecraft-server-manager.readthedocs.io/",target:"_blank",rel:"noopener noreferrer","aria-label":"Documentation",sx:{color:"text.secondary",transition:"color 0.2s ease","&:hover":{color:"text.primary"}},children:a.jsx(E.Z,{fontSize:"small"})}),a.jsx(q.Z,{href:"https://hub.docker.com/r/itzg/minecraft-server",target:"_blank",rel:"noopener noreferrer","aria-label":"Docker Hub",sx:{color:"text.secondary",transition:"color 0.2s ease","&:hover":{color:"text.primary"}},children:a.jsx(H,{fontSize:"small"})})]})]})]})})}function _({children:e}){let[r,t]=(0,s.useState)(!1);return(0,a.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",minHeight:"100vh",backgroundColor:"background.default"},children:[a.jsx(T,{mobileOpen:r,onMenuToggle:()=>{t(!r)}}),a.jsx(i.Z,{component:"main",sx:{flexGrow:1,display:"flex",flexDirection:"column",pt:{xs:"88px",sm:"96px"},pb:{xs:3,sm:4},px:{xs:2,sm:3,md:4},maxWidth:"1400px",width:"100%",mx:"auto"},children:e}),a.jsx(V,{})]})}},34081:(e,r,t)=>{"use strict";t.d(r,{U0:()=>p,WS:()=>u,Ie:()=>I});var a=t(58120),s=t(36372),i=t(89352),n=t(66757),l=t(6275),o=t(92559),c=t(54365),d=t(10257),x=t(3643),h=t(8721),m=t(68763);function p({onSuccess:e}){let[r,t]=(0,s.useState)(""),[p,u]=(0,s.useState)(""),[f,g]=(0,s.useState)(!1),[b,j]=(0,s.useState)({}),[y,v]=(0,s.useState)(null),[Z,w]=(0,s.useState)(!1),C=()=>{let e={};return r?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(r)||(e.email="Invalid email address"):e.email="Email is required",p||(e.password="Password is required"),j(e),0===Object.keys(e).length},k=async t=>{if(t.preventDefault(),v(null),C()){w(!0);try{let t=await m.cg.email({email:r,password:p});if(t.error){v(t.error.message||"Invalid credentials"),w(!1);return}e&&e()}catch(e){v("An unexpected error occurred. Please try again."),w(!1)}}};return(0,a.jsxs)(i.Z,{component:"form",onSubmit:k,sx:{display:"flex",flexDirection:"column",gap:2},children:[y&&a.jsx(n.Z,{severity:"error",onClose:()=>v(null),children:y}),a.jsx(l.Z,{label:"Email",type:"email",value:r,onChange:e=>t(e.target.value),error:!!b.email,helperText:b.email,disabled:Z,fullWidth:!0,required:!0}),a.jsx(l.Z,{label:"Password",type:f?"text":"password",value:p,onChange:e=>u(e.target.value),error:!!b.password,helperText:b.password,disabled:Z,fullWidth:!0,required:!0,InputProps:{endAdornment:a.jsx(o.Z,{position:"end",children:a.jsx(c.Z,{"aria-label":"toggle password visibility",onClick:()=>{g(!f)},edge:"end",children:f?a.jsx(x.Z,{}):a.jsx(h.Z,{})})})}}),a.jsx(d.Z,{type:"submit",variant:"contained",color:"primary",disabled:Z,fullWidth:!0,size:"large",children:Z?"Signing in...":"Sign In"})]})}function u({onSuccess:e}){let[r,t]=(0,s.useState)(""),[p,u]=(0,s.useState)(""),[f,g]=(0,s.useState)(""),[b,j]=(0,s.useState)(""),[y,v]=(0,s.useState)(!1),[Z,w]=(0,s.useState)(!1),[C,k]=(0,s.useState)({}),[S,P]=(0,s.useState)(null),[z,I]=(0,s.useState)(!1),W=()=>{let e={};return r||(e.name="Name is required"),p?/^[^\s@]+@[^\s@]+\.[^\s@]+$/.test(p)||(e.email="Invalid email address"):e.email="Email is required",f?f.length<8&&(e.password="Password must be at least 8 characters"):e.password="Password is required",b?f!==b&&(e.confirmPassword="Passwords do not match"):e.confirmPassword="Please confirm your password",k(e),0===Object.keys(e).length},A=async t=>{if(t.preventDefault(),P(null),W()){I(!0);try{let t=await m.y1.email({email:p,password:f,name:r});if(t.error){P(t.error.message||"Registration failed"),I(!1);return}e&&e()}catch(e){P("An unexpected error occurred. Please try again."),I(!1)}}};return(0,a.jsxs)(i.Z,{component:"form",onSubmit:A,sx:{display:"flex",flexDirection:"column",gap:2},children:[S&&a.jsx(n.Z,{severity:"error",onClose:()=>P(null),children:S}),a.jsx(l.Z,{label:"Name",type:"text",value:r,onChange:e=>t(e.target.value),error:!!C.name,helperText:C.name,disabled:z,fullWidth:!0,required:!0}),a.jsx(l.Z,{label:"Email",type:"email",value:p,onChange:e=>u(e.target.value),error:!!C.email,helperText:C.email,disabled:z,fullWidth:!0,required:!0}),a.jsx(l.Z,{label:"Password",type:y?"text":"password",value:f,onChange:e=>g(e.target.value),error:!!C.password,helperText:C.password,disabled:z,fullWidth:!0,required:!0,InputProps:{endAdornment:a.jsx(o.Z,{position:"end",children:a.jsx(c.Z,{"aria-label":"toggle password visibility",onClick:()=>{v(!y)},edge:"end",children:y?a.jsx(x.Z,{}):a.jsx(h.Z,{})})})}}),a.jsx(l.Z,{label:"Confirm Password",type:Z?"text":"password",value:b,onChange:e=>j(e.target.value),error:!!C.confirmPassword,helperText:C.confirmPassword,disabled:z,fullWidth:!0,required:!0,InputProps:{endAdornment:a.jsx(o.Z,{position:"end",children:a.jsx(c.Z,{"aria-label":"toggle password visibility",onClick:()=>{w(!Z)},edge:"end",children:Z?a.jsx(x.Z,{}):a.jsx(h.Z,{})})})}}),a.jsx(d.Z,{type:"submit",variant:"contained",color:"primary",disabled:z,fullWidth:!0,size:"large",children:z?"Creating account...":"Sign Up"})]})}var f=t(56539),g=t(79943),b=t(61573),j=t(81030),y=t(2365),v=t(48787),Z=t(80336),w=t(99634),C=t(63654),k=t(63856),S=t(62178),P=t(50210),z=t(49185);function I(){let e=(0,f.useRouter)(),{data:r,isPending:t}=(0,m.kP)(),[n,l]=(0,s.useState)(null),o=()=>{l(null)},x=async()=>{o(),await (0,m.w7)(),e.push("/login")};if(t)return a.jsx(i.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center"},children:a.jsx(g.Z,{size:24})});if(!r?.user)return a.jsx(d.Z,{variant:"contained",color:"primary",onClick:()=>{e.push("/login")},children:"Sign In"});let{user:h}=r,p=((e,r)=>{if(e){let r=e.split(" ");return r.length>=2?`${r[0][0]}${r[1][0]}`.toUpperCase():e.substring(0,2).toUpperCase()}return r?r[0].toUpperCase():"?"})(h.name,h.email);return(0,a.jsxs)(a.Fragment,{children:[a.jsx(c.Z,{onClick:e=>{l(e.currentTarget)},"aria-label":"user menu",children:a.jsx(b.Z,{sx:{bgcolor:"primary.main"},children:p})}),(0,a.jsxs)(j.Z,{anchorEl:n,open:!!n,onClose:o,anchorOrigin:{vertical:"bottom",horizontal:"right"},transformOrigin:{vertical:"top",horizontal:"right"},sx:{mt:1},children:[(0,a.jsxs)(i.Z,{sx:{px:2,py:1.5,minWidth:200},children:[a.jsx(y.Z,{variant:"subtitle1",fontWeight:"600",children:h.name||"User"}),a.jsx(y.Z,{variant:"body2",color:"text.secondary",children:h.email}),"admin"===h.role&&a.jsx(v.Z,{label:"Admin",size:"small",color:"primary",sx:{mt:1}})]}),a.jsx(Z.Z,{}),"admin"===h.role&&(0,a.jsxs)(w.Z,{onClick:()=>{o(),e.push("/admin/users")},children:[a.jsx(C.Z,{children:a.jsx(S.Z,{fontSize:"small"})}),a.jsx(k.Z,{children:"Users"})]}),(0,a.jsxs)(w.Z,{onClick:()=>{o(),e.push("/settings")},children:[a.jsx(C.Z,{children:a.jsx(P.Z,{fontSize:"small"})}),a.jsx(k.Z,{children:"Settings"})]}),(0,a.jsxs)(w.Z,{onClick:x,children:[a.jsx(C.Z,{children:a.jsx(z.Z,{fontSize:"small"})}),a.jsx(k.Z,{children:"Logout"})]})]})]})}},36597:(e,r,t)=>{"use strict";t.d(r,{Av:()=>a.startLoading});var a=t(21908)},68763:(e,r,t)=>{"use strict";t.d(r,{Cp:()=>x,Nq:()=>d,cg:()=>n,kP:()=>c,w7:()=>l,y1:()=>o,zB:()=>h});var a=t(19106),s=t(82829);let i=(0,a.X)({baseURL:process.env.NEXT_PUBLIC_BETTER_AUTH_URL||"",plugins:[(0,s.zB)()]}),{signIn:n,signOut:l,signUp:o,useSession:c,updateUser:d,changePassword:x}=i,h=i.admin},26072:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>a});let a=(0,t(2325).createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/layout.tsx#default`)},52001:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>s});var a=t(15505);let s=e=>[{type:"image/svg+xml",sizes:"any",url:(0,a.fillMetadataSegment)(".",e.params,"icon.svg")+"?0f68875a168deab8"}]}};