@minecraft-docker/mcctl-console 2.6.0 → 2.7.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 (187) 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 +66 -66
  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 +5 -5
  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.js +1 -1
  7. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/admin/users/page.js.nft.json +1 -1
  8. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/admin/users/page_client-reference-manifest.js +1 -1
  9. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page.js +1 -1
  10. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page.js.nft.json +1 -1
  11. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page_client-reference-manifest.js +1 -1
  12. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page.js +1 -1
  13. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page.js.nft.json +1 -1
  14. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page_client-reference-manifest.js +1 -1
  15. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page.js +1 -1
  16. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page.js.nft.json +1 -1
  17. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page_client-reference-manifest.js +1 -1
  18. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/players/page.js +1 -1
  19. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/players/page.js.nft.json +1 -1
  20. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/players/page_client-reference-manifest.js +1 -1
  21. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/routing/page.js +1 -1
  22. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/routing/page.js.nft.json +1 -1
  23. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/routing/page_client-reference-manifest.js +1 -1
  24. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/console/page.js +1 -1
  25. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/console/page.js.nft.json +1 -1
  26. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/console/page_client-reference-manifest.js +1 -1
  27. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page.js +1 -1
  28. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page.js.nft.json +1 -1
  29. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page_client-reference-manifest.js +1 -1
  30. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page.js +1 -1
  31. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page.js.nft.json +1 -1
  32. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page_client-reference-manifest.js +1 -1
  33. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/settings/page.js +1 -1
  34. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/settings/page.js.nft.json +1 -1
  35. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/settings/page_client-reference-manifest.js +1 -1
  36. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page.js +1 -1
  37. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page.js.nft.json +1 -1
  38. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page_client-reference-manifest.js +1 -1
  39. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found/page.js +1 -1
  40. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found/page.js.nft.json +1 -1
  41. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  42. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found.html +1 -1
  43. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found.rsc +5 -5
  44. package/.next/standalone/platform/services/mcctl-console/.next/server/app/audit-logs.html +1 -1
  45. package/.next/standalone/platform/services/mcctl-console/.next/server/app/audit-logs.rsc +6 -6
  46. package/.next/standalone/platform/services/mcctl-console/.next/server/app/backups.html +1 -1
  47. package/.next/standalone/platform/services/mcctl-console/.next/server/app/backups.rsc +5 -5
  48. package/.next/standalone/platform/services/mcctl-console/.next/server/app/dashboard.html +1 -1
  49. package/.next/standalone/platform/services/mcctl-console/.next/server/app/dashboard.rsc +5 -5
  50. package/.next/standalone/platform/services/mcctl-console/.next/server/app/index.html +1 -1
  51. package/.next/standalone/platform/services/mcctl-console/.next/server/app/index.rsc +5 -5
  52. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login/page.js +1 -1
  53. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login/page.js.nft.json +1 -1
  54. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login/page_client-reference-manifest.js +1 -1
  55. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login.html +1 -1
  56. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login.rsc +5 -5
  57. package/.next/standalone/platform/services/mcctl-console/.next/server/app/page.js +1 -1
  58. package/.next/standalone/platform/services/mcctl-console/.next/server/app/page.js.nft.json +1 -1
  59. package/.next/standalone/platform/services/mcctl-console/.next/server/app/page_client-reference-manifest.js +1 -1
  60. package/.next/standalone/platform/services/mcctl-console/.next/server/app/players.html +1 -1
  61. package/.next/standalone/platform/services/mcctl-console/.next/server/app/players.rsc +5 -5
  62. package/.next/standalone/platform/services/mcctl-console/.next/server/app/routing.html +1 -1
  63. package/.next/standalone/platform/services/mcctl-console/.next/server/app/routing.rsc +6 -6
  64. package/.next/standalone/platform/services/mcctl-console/.next/server/app/servers.html +1 -1
  65. package/.next/standalone/platform/services/mcctl-console/.next/server/app/servers.rsc +5 -5
  66. package/.next/standalone/platform/services/mcctl-console/.next/server/app/settings.html +1 -1
  67. package/.next/standalone/platform/services/mcctl-console/.next/server/app/settings.rsc +6 -6
  68. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup/page.js +1 -1
  69. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup/page.js.nft.json +1 -1
  70. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup/page_client-reference-manifest.js +1 -1
  71. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup.html +1 -1
  72. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup.rsc +5 -5
  73. package/.next/standalone/platform/services/mcctl-console/.next/server/app/worlds.html +1 -1
  74. package/.next/standalone/platform/services/mcctl-console/.next/server/app/worlds.rsc +5 -5
  75. package/.next/standalone/platform/services/mcctl-console/.next/server/app-paths-manifest.json +17 -17
  76. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/354.js +1 -1
  77. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/5843.js +1 -1
  78. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/6175.js +57 -0
  79. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/6591.js +2 -0
  80. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/7573.js +1 -1
  81. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/8243.js +1 -1
  82. package/.next/standalone/platform/services/mcctl-console/.next/server/middleware-build-manifest.js +1 -1
  83. package/.next/standalone/platform/services/mcctl-console/.next/server/middleware-manifest.json +5 -5
  84. package/.next/standalone/platform/services/mcctl-console/.next/server/next-font-manifest.js +1 -1
  85. package/.next/standalone/platform/services/mcctl-console/.next/server/next-font-manifest.json +1 -1
  86. package/.next/standalone/platform/services/mcctl-console/.next/server/pages/404.html +1 -1
  87. package/.next/standalone/platform/services/mcctl-console/.next/server/pages/500.html +1 -1
  88. package/.next/standalone/platform/services/mcctl-console/.next/server/server-reference-manifest.json +1 -1
  89. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/2724-6be0c6be94353443.js +1 -0
  90. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/5787-bea4ee84b4bf2dea.js +1 -0
  91. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/7965-e1d52a92f5303aca.js +1 -0
  92. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/admin/users/{page-b4483a2e5c12dce7.js → page-db10014c56588381.js} +1 -1
  93. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/audit-logs/page-b8468e574885e74f.js +1 -0
  94. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/page-37b9107156ee1587.js +1 -0
  95. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/layout-37a5eb78e96aa17e.js +1 -0
  96. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/{webpack-c5f126aae1eac753.js → webpack-198a420ca2ddb7de.js} +1 -1
  97. package/.next/standalone/platform/services/mcctl-console/.next/static/css/0c287cf361a10682.css +1 -0
  98. package/.next/standalone/platform/services/mcctl-console/.next/static/media/0ea4f4df910e6120-s.woff2 +0 -0
  99. package/.next/standalone/platform/services/mcctl-console/.next/static/media/1f160ec2cb9962ef-s.woff2 +0 -0
  100. package/.next/standalone/platform/services/mcctl-console/.next/static/media/739c2d8941231bb4-s.p.woff2 +0 -0
  101. package/.next/standalone/platform/services/mcctl-console/.next/static/media/ad8a7e2c3c2c120b-s.woff2 +0 -0
  102. package/.next/standalone/platform/services/mcctl-console/.next/static/media/cde148027b808b99-s.woff2 +0 -0
  103. package/.next/standalone/platform/services/mcctl-console/.next/static/media/e61ae719f7cc4155-s.woff2 +0 -0
  104. package/.next/static/chunks/2724-6be0c6be94353443.js +1 -0
  105. package/.next/static/chunks/5787-bea4ee84b4bf2dea.js +1 -0
  106. package/.next/static/chunks/7965-e1d52a92f5303aca.js +1 -0
  107. package/.next/static/chunks/app/(main)/admin/users/{page-b4483a2e5c12dce7.js → page-db10014c56588381.js} +1 -1
  108. package/.next/static/chunks/app/(main)/audit-logs/page-b8468e574885e74f.js +1 -0
  109. package/.next/static/chunks/app/(main)/servers/[name]/page-37b9107156ee1587.js +1 -0
  110. package/.next/static/chunks/app/layout-37a5eb78e96aa17e.js +1 -0
  111. package/.next/static/chunks/{webpack-c5f126aae1eac753.js → webpack-198a420ca2ddb7de.js} +1 -1
  112. package/.next/static/css/0c287cf361a10682.css +1 -0
  113. package/.next/static/media/0ea4f4df910e6120-s.woff2 +0 -0
  114. package/.next/static/media/1f160ec2cb9962ef-s.woff2 +0 -0
  115. package/.next/static/media/739c2d8941231bb4-s.p.woff2 +0 -0
  116. package/.next/static/media/ad8a7e2c3c2c120b-s.woff2 +0 -0
  117. package/.next/static/media/cde148027b808b99-s.woff2 +0 -0
  118. package/.next/static/media/e61ae719f7cc4155-s.woff2 +0 -0
  119. package/package.json +2 -2
  120. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/4533.js +0 -2
  121. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/613.js +0 -57
  122. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/5645-d306bb768b5907c8.js +0 -1
  123. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/5787-3387a2b82bbb1e66.js +0 -1
  124. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/7965-51dfb844f8b8584c.js +0 -1
  125. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/audit-logs/page-90479d797d04efdb.js +0 -1
  126. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/page-ab34db97055578dd.js +0 -1
  127. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/layout-e0e626ece42c56d9.js +0 -1
  128. package/.next/standalone/platform/services/mcctl-console/.next/static/css/4d6bfee1e91e393d.css +0 -1
  129. package/.next/standalone/platform/services/mcctl-console/.next/static/media/12a3e8885b69eb86-s.woff2 +0 -0
  130. package/.next/standalone/platform/services/mcctl-console/.next/static/media/14d38ce06836ffee-s.woff2 +0 -0
  131. package/.next/standalone/platform/services/mcctl-console/.next/static/media/19bbd60ccc95b5d0-s.woff2 +0 -0
  132. package/.next/standalone/platform/services/mcctl-console/.next/static/media/23822ac40846484b-s.woff2 +0 -0
  133. package/.next/standalone/platform/services/mcctl-console/.next/static/media/2fec16f4e3247070-s.woff2 +0 -0
  134. package/.next/standalone/platform/services/mcctl-console/.next/static/media/33a864272e2b3e97-s.p.woff2 +0 -0
  135. package/.next/standalone/platform/services/mcctl-console/.next/static/media/387866ce4a39ca39-s.woff2 +0 -0
  136. package/.next/standalone/platform/services/mcctl-console/.next/static/media/3ecd40fce058ee61-s.p.woff2 +0 -0
  137. package/.next/standalone/platform/services/mcctl-console/.next/static/media/4b1cfd3867993fed-s.woff2 +0 -0
  138. package/.next/standalone/platform/services/mcctl-console/.next/static/media/64b603a0050c6c5e-s.woff2 +0 -0
  139. package/.next/standalone/platform/services/mcctl-console/.next/static/media/70d2fd2b9078a5a3-s.p.woff2 +0 -0
  140. package/.next/standalone/platform/services/mcctl-console/.next/static/media/77f5a85cac4ea515-s.woff2 +0 -0
  141. package/.next/standalone/platform/services/mcctl-console/.next/static/media/854d2e4705543874-s.woff2 +0 -0
  142. package/.next/standalone/platform/services/mcctl-console/.next/static/media/b188519314c42064-s.woff2 +0 -0
  143. package/.next/standalone/platform/services/mcctl-console/.next/static/media/b22cdab1bc584ea3-s.woff2 +0 -0
  144. package/.next/standalone/platform/services/mcctl-console/.next/static/media/b664222af7dcc13c-s.woff2 +0 -0
  145. package/.next/standalone/platform/services/mcctl-console/.next/static/media/bda87828535b47a7-s.woff2 +0 -0
  146. package/.next/standalone/platform/services/mcctl-console/.next/static/media/c99b890c5ded8d2e-s.p.woff2 +0 -0
  147. package/.next/standalone/platform/services/mcctl-console/.next/static/media/cf66601165af2130-s.woff2 +0 -0
  148. package/.next/standalone/platform/services/mcctl-console/.next/static/media/d39dd0fe2707b73f-s.woff2 +0 -0
  149. package/.next/standalone/platform/services/mcctl-console/.next/static/media/dbd9849a8a735d72-s.woff2 +0 -0
  150. package/.next/standalone/platform/services/mcctl-console/.next/static/media/e8773fdd4b7ad26f-s.woff2 +0 -0
  151. package/.next/standalone/platform/services/mcctl-console/.next/static/media/eeeb642bd71d217b-s.woff2 +0 -0
  152. package/.next/standalone/platform/services/mcctl-console/.next/static/media/f882d86c499cfa5a-s.woff2 +0 -0
  153. package/.next/static/chunks/5645-d306bb768b5907c8.js +0 -1
  154. package/.next/static/chunks/5787-3387a2b82bbb1e66.js +0 -1
  155. package/.next/static/chunks/7965-51dfb844f8b8584c.js +0 -1
  156. package/.next/static/chunks/app/(main)/audit-logs/page-90479d797d04efdb.js +0 -1
  157. package/.next/static/chunks/app/(main)/servers/[name]/page-ab34db97055578dd.js +0 -1
  158. package/.next/static/chunks/app/layout-e0e626ece42c56d9.js +0 -1
  159. package/.next/static/css/4d6bfee1e91e393d.css +0 -1
  160. package/.next/static/media/12a3e8885b69eb86-s.woff2 +0 -0
  161. package/.next/static/media/14d38ce06836ffee-s.woff2 +0 -0
  162. package/.next/static/media/19bbd60ccc95b5d0-s.woff2 +0 -0
  163. package/.next/static/media/23822ac40846484b-s.woff2 +0 -0
  164. package/.next/static/media/2fec16f4e3247070-s.woff2 +0 -0
  165. package/.next/static/media/33a864272e2b3e97-s.p.woff2 +0 -0
  166. package/.next/static/media/387866ce4a39ca39-s.woff2 +0 -0
  167. package/.next/static/media/3ecd40fce058ee61-s.p.woff2 +0 -0
  168. package/.next/static/media/4b1cfd3867993fed-s.woff2 +0 -0
  169. package/.next/static/media/64b603a0050c6c5e-s.woff2 +0 -0
  170. package/.next/static/media/70d2fd2b9078a5a3-s.p.woff2 +0 -0
  171. package/.next/static/media/77f5a85cac4ea515-s.woff2 +0 -0
  172. package/.next/static/media/854d2e4705543874-s.woff2 +0 -0
  173. package/.next/static/media/b188519314c42064-s.woff2 +0 -0
  174. package/.next/static/media/b22cdab1bc584ea3-s.woff2 +0 -0
  175. package/.next/static/media/b664222af7dcc13c-s.woff2 +0 -0
  176. package/.next/static/media/bda87828535b47a7-s.woff2 +0 -0
  177. package/.next/static/media/c99b890c5ded8d2e-s.p.woff2 +0 -0
  178. package/.next/static/media/cf66601165af2130-s.woff2 +0 -0
  179. package/.next/static/media/d39dd0fe2707b73f-s.woff2 +0 -0
  180. package/.next/static/media/dbd9849a8a735d72-s.woff2 +0 -0
  181. package/.next/static/media/e8773fdd4b7ad26f-s.woff2 +0 -0
  182. package/.next/static/media/eeeb642bd71d217b-s.woff2 +0 -0
  183. package/.next/static/media/f882d86c499cfa5a-s.woff2 +0 -0
  184. /package/.next/standalone/platform/services/mcctl-console/.next/static/{fdYvEyTkN35IFbAO8RHVv → Yn14R25oBpteEUUEyZNGO}/_buildManifest.js +0 -0
  185. /package/.next/standalone/platform/services/mcctl-console/.next/static/{fdYvEyTkN35IFbAO8RHVv → Yn14R25oBpteEUUEyZNGO}/_ssgManifest.js +0 -0
  186. /package/.next/static/{fdYvEyTkN35IFbAO8RHVv → Yn14R25oBpteEUUEyZNGO}/_buildManifest.js +0 -0
  187. /package/.next/static/{fdYvEyTkN35IFbAO8RHVv → Yn14R25oBpteEUUEyZNGO}/_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="preload" href="/_next/static/media/33a864272e2b3e97-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/3ecd40fce058ee61-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/70d2fd2b9078a5a3-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="preload" href="/_next/static/media/c99b890c5ded8d2e-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/4d6bfee1e91e393d.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-c5f126aae1eac753.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/6758-d0a2d1008691eff1.js" async=""></script><script src="/_next/static/chunks/680-61e3cda59bad5959.js" async=""></script><script src="/_next/static/chunks/1668-c41281dc3163e1c2.js" async=""></script><script src="/_next/static/chunks/7436-44378c85b24787cc.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/5511-7a419d84918a8d64.js" async=""></script><script src="/_next/static/chunks/880-be7151cc9c502be6.js" async=""></script><script src="/_next/static/chunks/6909-9750e61adcf6f5e5.js" async=""></script><script src="/_next/static/chunks/3333-7e2d13faa47ed67e.js" async=""></script><script src="/_next/static/chunks/2666-060d67b8e56af9d0.js" async=""></script><script src="/_next/static/chunks/app/(main)/worlds/page-7f194148444c39f3.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/7727-2552fac729c5514a.js" async=""></script><script src="/_next/static/chunks/8347-d55cd74fb316fad0.js" async=""></script><script src="/_next/static/chunks/9949-92aa4cba630945d3.js" async=""></script><script src="/_next/static/chunks/4240-16f6e4c7e86ef2ce.js" async=""></script><script src="/_next/static/chunks/212-b904d9ae152f2360.js" async=""></script><script src="/_next/static/chunks/app/(main)/layout-e6d8aef242d7e516.js" async=""></script><script src="/_next/static/chunks/5645-d306bb768b5907c8.js" async=""></script><script src="/_next/static/chunks/app/layout-e0e626ece42c56d9.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"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><style data-emotion="mui-global 1kft0z8">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:"Ubuntu","Roboto","Helvetica","Arial",sans-serif;font-weight:400;font-size:1rem;line-height:1.5;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 class="__className_1d908f"><div id="__next"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--></div><script src="/_next/static/chunks/webpack-c5f126aae1eac753.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/media/33a864272e2b3e97-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/media/3ecd40fce058ee61-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n3:HL[\"/_next/static/media/70d2fd2b9078a5a3-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n4:HL[\"/_next/static/media/c99b890c5ded8d2e-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n5:HL[\"/_next/static/css/4d6bfee1e91e393d.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"6:I[39943,[],\"\"]\n8:I[68067,[],\"ClientPageRoot\"]\n9:I[36405,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"6758\",\"static/chunks/6758-d0a2d1008691eff1.js\",\"680\",\"static/chunks/680-61e3cda59bad5959.js\",\"1668\",\"static/chunks/1668-c41281dc3163e1c2.js\",\"7436\",\"static/chunks/7436-44378c85b24787cc.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\",\"5511\",\"static/chunks/5511-7a419d84918a8d64.js\",\"880\",\"static/chunks/880-be7151cc9c502be6.js\",\"6909\",\"static/chunks/6909-9750e61adcf6f5e5.js\",\"3333\",\"static/chunks/3333-7e2d13faa47ed67e.js\",\"2666\",\"static/chunks/2666-060d67b8e56af9d0.js\",\"7701\",\"static/chunks/app/(main)/worlds/page-7f194148444c39f3.js\"],\"default\",1]\na:I[14224,[],\"\"]\nb:I[2863,[],\"\"]\nc:I[6453,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"6758\",\"static/chunks/6758-d0a2d1008691eff1.js\",\"680\",\"static/chunks/680-61e3cda59bad5959.js\",\"1668\",\"static/chunks/1668-c41281dc3163e1c2.js\",\"7436\",\"static/chunks/7436-44378c85b24787cc.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"2542\",\"static/chunks/2542-6ea12719b9ca1b7c.js\",\"55\",\"static/chunks/55-cc17f03142ace10c.js\",\"7727\",\"static/chunks/7727-2552fac729c5514a.js\",\"8347\",\"static/chunks/8347-d55cd74fb316fad0.js\",\"9949\",\"static/chunks/9949-92aa4cba630945d3.js\",\"4240\",\"static/chunks/4240-16f6e4c7e86ef2ce.js\",\"212\",\"static/chunks/212-b904d9ae152f2360.js\",\"4095\",\"static/chunks/app/(main)/layout-e6d8aef242d7e516.js\"],\"default\",1]\ne:I[89083,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"5645\",\"static/chunks/5645-d306bb768b5907c8.js\",\"3185\",\"static/chunks/app/layout-e0e626ece42c56d9.js\"],\"default\"]\nf:I[48283,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"5645\",\"static/chunks/5645-d306bb768b5907c8.js\",\"3185\",\"static/chunks/app/layout-e0e626ec"])</script><script>self.__next_f.push([1,"e42c56d9.js\"],\"ThemeProvider\"]\n10:I[22237,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"5645\",\"static/chunks/5645-d306bb768b5907c8.js\",\"3185\",\"static/chunks/app/layout-e0e626ece42c56d9.js\"],\"QueryProvider\"]\n11:\"$Sreact.suspense\"\n12:I[3454,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"5645\",\"static/chunks/5645-d306bb768b5907c8.js\",\"3185\",\"static/chunks/app/layout-e0e626ece42c56d9.js\"],\"LoadingProvider\"]\n18:I[19253,[],\"\"]\nd:{}\n13:{\"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\"}\n14:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n15:{\"display\":\"inline-block\"}\n16:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n19:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L6\",null,{\"buildId\":\"fdYvEyTkN35IFbAO8RHVv\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"worlds\"],\"initialTree\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{},[[\"$L7\",[\"$\",\"$L8\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$9\"}],null],null],null]},[null,[\"$\",\"$La\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\",\"worlds\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lb\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$La\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lb\",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\":\"$d\"}]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/4d6bfee1e91e393d.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__className_1d908f\",\"children\":[\"$\",\"div\",null,{\"id\":\"__next\",\"children\":[\"$\",\"$Le\",null,{\"children\":[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$L10\",null,{\"children\":[\"$\",\"$11\",null,{\"fallback\":null,\"children\":[\"$\",\"$L12\",null,{\"children\":[\"$\",\"$La\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$Lb\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$13\",\"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\":\"$14\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$15\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$16\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]}]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L17\"],\"globalErrorComponent\":\"$18\",\"missingSlots\":\"$W19\"}]\n"])</script><script>self.__next_f.push([1,"17:[[\"$\",\"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\"}],[\"$\",\"meta\",\"5\",{\"name\":\"next-size-adjust\"}]]\n7: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="preload" href="/_next/static/media/739c2d8941231bb4-s.p.woff2" as="font" crossorigin="" type="font/woff2"/><link rel="stylesheet" href="/_next/static/css/0c287cf361a10682.css" data-precedence="next"/><link rel="preload" as="script" fetchPriority="low" href="/_next/static/chunks/webpack-198a420ca2ddb7de.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/6758-d0a2d1008691eff1.js" async=""></script><script src="/_next/static/chunks/680-61e3cda59bad5959.js" async=""></script><script src="/_next/static/chunks/1668-c41281dc3163e1c2.js" async=""></script><script src="/_next/static/chunks/7436-44378c85b24787cc.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/5511-7a419d84918a8d64.js" async=""></script><script src="/_next/static/chunks/880-be7151cc9c502be6.js" async=""></script><script src="/_next/static/chunks/6909-9750e61adcf6f5e5.js" async=""></script><script src="/_next/static/chunks/3333-7e2d13faa47ed67e.js" async=""></script><script src="/_next/static/chunks/2666-060d67b8e56af9d0.js" async=""></script><script src="/_next/static/chunks/app/(main)/worlds/page-7f194148444c39f3.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/7727-2552fac729c5514a.js" async=""></script><script src="/_next/static/chunks/8347-d55cd74fb316fad0.js" async=""></script><script src="/_next/static/chunks/9949-92aa4cba630945d3.js" async=""></script><script src="/_next/static/chunks/4240-16f6e4c7e86ef2ce.js" async=""></script><script src="/_next/static/chunks/212-b904d9ae152f2360.js" async=""></script><script src="/_next/static/chunks/app/(main)/layout-e6d8aef242d7e516.js" async=""></script><script src="/_next/static/chunks/2724-6be0c6be94353443.js" async=""></script><script src="/_next/static/chunks/app/layout-37a5eb78e96aa17e.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"/><meta name="next-size-adjust"/><script src="/_next/static/chunks/polyfills-42372ed130431b0a.js" noModule=""></script><style data-emotion="mui-global 1f47rfc">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:var(--font-roboto-mono),"Roboto Mono",monospace;font-weight:400;font-size:1rem;line-height:1.5;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 class="__variable_5899e0 __className_5899e0"><div id="__next"><!--$!--><template data-dgst="BAILOUT_TO_CLIENT_SIDE_RENDERING"></template><!--/$--></div><script src="/_next/static/chunks/webpack-198a420ca2ddb7de.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/media/739c2d8941231bb4-s.p.woff2\",\"font\",{\"crossOrigin\":\"\",\"type\":\"font/woff2\"}]\n2:HL[\"/_next/static/css/0c287cf361a10682.css\",\"style\"]\n"])</script><script>self.__next_f.push([1,"3:I[39943,[],\"\"]\n5:I[68067,[],\"ClientPageRoot\"]\n6:I[36405,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"6758\",\"static/chunks/6758-d0a2d1008691eff1.js\",\"680\",\"static/chunks/680-61e3cda59bad5959.js\",\"1668\",\"static/chunks/1668-c41281dc3163e1c2.js\",\"7436\",\"static/chunks/7436-44378c85b24787cc.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\",\"5511\",\"static/chunks/5511-7a419d84918a8d64.js\",\"880\",\"static/chunks/880-be7151cc9c502be6.js\",\"6909\",\"static/chunks/6909-9750e61adcf6f5e5.js\",\"3333\",\"static/chunks/3333-7e2d13faa47ed67e.js\",\"2666\",\"static/chunks/2666-060d67b8e56af9d0.js\",\"7701\",\"static/chunks/app/(main)/worlds/page-7f194148444c39f3.js\"],\"default\",1]\n7:I[14224,[],\"\"]\n8:I[2863,[],\"\"]\n9:I[6453,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"9760\",\"static/chunks/9760-3b9261fc2cfda017.js\",\"6758\",\"static/chunks/6758-d0a2d1008691eff1.js\",\"680\",\"static/chunks/680-61e3cda59bad5959.js\",\"1668\",\"static/chunks/1668-c41281dc3163e1c2.js\",\"7436\",\"static/chunks/7436-44378c85b24787cc.js\",\"1071\",\"static/chunks/1071-235049df1c3caba7.js\",\"2542\",\"static/chunks/2542-6ea12719b9ca1b7c.js\",\"55\",\"static/chunks/55-cc17f03142ace10c.js\",\"7727\",\"static/chunks/7727-2552fac729c5514a.js\",\"8347\",\"static/chunks/8347-d55cd74fb316fad0.js\",\"9949\",\"static/chunks/9949-92aa4cba630945d3.js\",\"4240\",\"static/chunks/4240-16f6e4c7e86ef2ce.js\",\"212\",\"static/chunks/212-b904d9ae152f2360.js\",\"4095\",\"static/chunks/app/(main)/layout-e6d8aef242d7e516.js\"],\"default\",1]\nb:I[89083,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78e96aa17e.js\"],\"default\"]\nc:I[48283,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78"])</script><script>self.__next_f.push([1,"e96aa17e.js\"],\"ThemeProvider\"]\nd:I[22237,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78e96aa17e.js\"],\"QueryProvider\"]\ne:\"$Sreact.suspense\"\nf:I[3454,[\"6812\",\"static/chunks/6812-f5924f14ef351036.js\",\"540\",\"static/chunks/540-4b925f2c57833962.js\",\"2724\",\"static/chunks/2724-6be0c6be94353443.js\",\"3185\",\"static/chunks/app/layout-37a5eb78e96aa17e.js\"],\"LoadingProvider\"]\n15:I[19253,[],\"\"]\na:{}\n10:{\"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\"}\n11:{\"display\":\"inline-block\",\"margin\":\"0 20px 0 0\",\"padding\":\"0 23px 0 0\",\"fontSize\":24,\"fontWeight\":500,\"verticalAlign\":\"top\",\"lineHeight\":\"49px\"}\n12:{\"display\":\"inline-block\"}\n13:{\"fontSize\":14,\"fontWeight\":400,\"lineHeight\":\"49px\",\"margin\":0}\n16:[]\n"])</script><script>self.__next_f.push([1,"0:[\"$\",\"$L3\",null,{\"buildId\":\"Yn14R25oBpteEUUEyZNGO\",\"assetPrefix\":\"\",\"urlParts\":[\"\",\"worlds\"],\"initialTree\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{}]}]}]},\"$undefined\",\"$undefined\",true],\"initialSeedData\":[\"\",{\"children\":[\"(main)\",{\"children\":[\"worlds\",{\"children\":[\"__PAGE__\",{},[[\"$L4\",[\"$\",\"$L5\",null,{\"props\":{\"params\":{},\"searchParams\":{}},\"Component\":\"$6\"}],null],null],null]},[null,[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\",\"worlds\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":\"$undefined\",\"notFoundStyles\":\"$undefined\"}]],null]},[[null,[\"$\",\"$L9\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\",\"(main)\",\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",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\":\"$a\"}]],null],null]},[[[[\"$\",\"link\",\"0\",{\"rel\":\"stylesheet\",\"href\":\"/_next/static/css/0c287cf361a10682.css\",\"precedence\":\"next\",\"crossOrigin\":\"$undefined\"}]],[\"$\",\"html\",null,{\"lang\":\"en\",\"children\":[\"$\",\"body\",null,{\"className\":\"__variable_5899e0 __className_5899e0\",\"children\":[\"$\",\"div\",null,{\"id\":\"__next\",\"children\":[\"$\",\"$Lb\",null,{\"children\":[\"$\",\"$Lc\",null,{\"children\":[\"$\",\"$Ld\",null,{\"children\":[\"$\",\"$e\",null,{\"fallback\":null,\"children\":[\"$\",\"$Lf\",null,{\"children\":[\"$\",\"$L7\",null,{\"parallelRouterKey\":\"children\",\"segmentPath\":[\"children\"],\"error\":\"$undefined\",\"errorStyles\":\"$undefined\",\"errorScripts\":\"$undefined\",\"template\":[\"$\",\"$L8\",null,{}],\"templateStyles\":\"$undefined\",\"templateScripts\":\"$undefined\",\"notFound\":[[\"$\",\"title\",null,{\"children\":\"404: This page could not be found.\"}],[\"$\",\"div\",null,{\"style\":\"$10\",\"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\":\"$11\",\"children\":\"404\"}],[\"$\",\"div\",null,{\"style\":\"$12\",\"children\":[\"$\",\"h2\",null,{\"style\":\"$13\",\"children\":\"This page could not be found.\"}]}]]}]}]],\"notFoundStyles\":[]}]}]}]}]}]}]}]}]}]],null],null],\"couldBeIntercepted\":false,\"initialHead\":[null,\"$L14\"],\"globalErrorComponent\":\"$15\",\"missingSlots\":\"$W16\"}]\n"])</script><script>self.__next_f.push([1,"14:[[\"$\",\"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\"}],[\"$\",\"meta\",\"5\",{\"name\":\"next-size-adjust\"}]]\n4:null\n"])</script></body></html>
@@ -3,16 +3,16 @@
3
3
  4:I[14224,[],""]
4
4
  5:I[2863,[],""]
5
5
  6:I[6453,["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","6758","static/chunks/6758-d0a2d1008691eff1.js","680","static/chunks/680-61e3cda59bad5959.js","1668","static/chunks/1668-c41281dc3163e1c2.js","7436","static/chunks/7436-44378c85b24787cc.js","1071","static/chunks/1071-235049df1c3caba7.js","2542","static/chunks/2542-6ea12719b9ca1b7c.js","55","static/chunks/55-cc17f03142ace10c.js","7727","static/chunks/7727-2552fac729c5514a.js","8347","static/chunks/8347-d55cd74fb316fad0.js","9949","static/chunks/9949-92aa4cba630945d3.js","4240","static/chunks/4240-16f6e4c7e86ef2ce.js","212","static/chunks/212-b904d9ae152f2360.js","4095","static/chunks/app/(main)/layout-e6d8aef242d7e516.js"],"default",1]
6
- 8:I[89083,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","5645","static/chunks/5645-d306bb768b5907c8.js","3185","static/chunks/app/layout-e0e626ece42c56d9.js"],"default"]
7
- 9:I[48283,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","5645","static/chunks/5645-d306bb768b5907c8.js","3185","static/chunks/app/layout-e0e626ece42c56d9.js"],"ThemeProvider"]
8
- a:I[22237,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","5645","static/chunks/5645-d306bb768b5907c8.js","3185","static/chunks/app/layout-e0e626ece42c56d9.js"],"QueryProvider"]
6
+ 8:I[89083,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"default"]
7
+ 9:I[48283,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"ThemeProvider"]
8
+ a:I[22237,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"QueryProvider"]
9
9
  b:"$Sreact.suspense"
10
- c:I[3454,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","5645","static/chunks/5645-d306bb768b5907c8.js","3185","static/chunks/app/layout-e0e626ece42c56d9.js"],"LoadingProvider"]
10
+ c:I[3454,["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"LoadingProvider"]
11
11
  7:{}
12
12
  d:{"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"}
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:["fdYvEyTkN35IFbAO8RHVv",[[["",{"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/4d6bfee1e91e393d.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__className_1d908f","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:["Yn14R25oBpteEUUEyZNGO",[[["",{"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/0c287cf361a10682.css","precedence":"next","crossOrigin":"$undefined"}]],["$","html",null,{"lang":"en","children":["$","body",null,{"className":"__variable_5899e0 __className_5899e0","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"}],["$","meta","5",{"name":"next-size-adjust"}]]
18
18
  1:null
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "/_not-found/page": "app/_not-found/page.js",
3
- "/icon.svg/route": "app/icon.svg/route.js",
4
3
  "/login/page": "app/login/page.js",
4
+ "/icon.svg/route": "app/icon.svg/route.js",
5
5
  "/page": "app/page.js",
6
6
  "/signup/page": "app/signup/page.js",
7
7
  "/api/audit-logs/[id]/route": "app/api/audit-logs/[id]/route.js",
@@ -9,47 +9,47 @@
9
9
  "/api/auth/[...all]/route": "app/api/auth/[...all]/route.js",
10
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/audit-logs/stats/route": "app/api/audit-logs/stats/route.js",
12
+ "/api/backup/history/route": "app/api/backup/history/route.js",
13
13
  "/api/backup/restore/route": "app/api/backup/restore/route.js",
14
- "/api/mods/search/route": "app/api/mods/search/route.js",
15
14
  "/api/backup/route": "app/api/backup/route.js",
16
15
  "/api/players/kick/route": "app/api/players/kick/route.js",
17
- "/api/players/ban/route": "app/api/players/ban/route.js",
16
+ "/api/mods/search/route": "app/api/mods/search/route.js",
18
17
  "/api/players/op/[player]/route": "app/api/players/op/[player]/route.js",
19
- "/api/players/route": "app/api/players/route.js",
20
- "/api/backup/history/route": "app/api/backup/history/route.js",
18
+ "/api/audit-logs/stats/route": "app/api/audit-logs/stats/route.js",
21
19
  "/api/players/whitelist/route": "app/api/players/whitelist/route.js",
20
+ "/api/players/op/route": "app/api/players/op/route.js",
21
+ "/api/players/route": "app/api/players/route.js",
22
22
  "/api/playit/status/route": "app/api/playit/status/route.js",
23
- "/api/playit/stop/route": "app/api/playit/stop/route.js",
24
23
  "/api/playit/start/route": "app/api/playit/start/route.js",
25
- "/api/servers/[name]/exec/route": "app/api/servers/[name]/exec/route.js",
24
+ "/api/playit/stop/route": "app/api/playit/stop/route.js",
25
+ "/api/router/status/route": "app/api/router/status/route.js",
26
26
  "/api/players/whitelist/status/route": "app/api/players/whitelist/status/route.js",
27
- "/api/servers/[name]/hostnames/route": "app/api/servers/[name]/hostnames/route.js",
27
+ "/api/servers/[name]/exec/route": "app/api/servers/[name]/exec/route.js",
28
28
  "/api/servers/[name]/config/route": "app/api/servers/[name]/config/route.js",
29
- "/api/servers/[name]/mods/route": "app/api/servers/[name]/mods/route.js",
30
29
  "/api/servers/[name]/[action]/route": "app/api/servers/[name]/[action]/route.js",
31
- "/api/router/status/route": "app/api/router/status/route.js",
32
- "/api/players/op/route": "app/api/players/op/route.js",
30
+ "/api/servers/[name]/hostnames/route": "app/api/servers/[name]/hostnames/route.js",
31
+ "/api/servers/[name]/mods/route": "app/api/servers/[name]/mods/route.js",
32
+ "/api/players/ban/route": "app/api/players/ban/route.js",
33
+ "/api/servers/route": "app/api/servers/route.js",
33
34
  "/api/servers/[name]/route": "app/api/servers/[name]/route.js",
34
35
  "/api/servers/[name]/world/reset/route": "app/api/servers/[name]/world/reset/route.js",
35
- "/api/servers/route": "app/api/servers/route.js",
36
36
  "/api/user-servers/route": "app/api/user-servers/route.js",
37
37
  "/api/user-servers/[id]/route": "app/api/user-servers/[id]/route.js",
38
38
  "/api/sse/[...path]/route": "app/api/sse/[...path]/route.js",
39
39
  "/api/users/route": "app/api/users/route.js",
40
40
  "/api/worlds/[name]/[action]/route": "app/api/worlds/[name]/[action]/route.js",
41
- "/api/worlds/route": "app/api/worlds/route.js",
42
41
  "/api/worlds/[name]/route": "app/api/worlds/[name]/route.js",
42
+ "/api/worlds/route": "app/api/worlds/route.js",
43
43
  "/api/servers/[name]/mods/[slug]/route": "app/api/servers/[name]/mods/[slug]/route.js",
44
- "/(main)/audit-logs/page": "app/(main)/audit-logs/page.js",
45
44
  "/(main)/backups/page": "app/(main)/backups/page.js",
45
+ "/(main)/audit-logs/page": "app/(main)/audit-logs/page.js",
46
46
  "/(main)/dashboard/page": "app/(main)/dashboard/page.js",
47
- "/(main)/players/page": "app/(main)/players/page.js",
48
47
  "/(main)/routing/page": "app/(main)/routing/page.js",
48
+ "/(main)/players/page": "app/(main)/players/page.js",
49
49
  "/(main)/servers/[name]/console/page": "app/(main)/servers/[name]/console/page.js",
50
50
  "/(main)/servers/[name]/page": "app/(main)/servers/[name]/page.js",
51
- "/(main)/worlds/page": "app/(main)/worlds/page.js",
52
51
  "/(main)/servers/page": "app/(main)/servers/page.js",
52
+ "/(main)/worlds/page": "app/(main)/worlds/page.js",
53
53
  "/(main)/settings/page": "app/(main)/settings/page.js",
54
54
  "/(main)/admin/users/page": "app/(main)/admin/users/page.js"
55
55
  }
@@ -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(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(51232),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(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(51232),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 +1 @@
1
- "use strict";exports.id=5843,exports.ids=[5843],exports.modules={5414:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)([(0,a.jsx)("path",{d:"m7.3 14.7 1.2-1.2c-1-1-1.5-2.3-1.5-3.5 0-1.3.5-2.6 1.5-3.5L7.3 5.3c-1.3 1.3-2 3-2 4.7s.7 3.4 2 4.7M19.1 2.9l-1.2 1.2c1.6 1.6 2.4 3.8 2.4 5.9 0 2.1-.8 4.3-2.4 5.9l1.2 1.2c2-2 2.9-4.5 2.9-7.1 0-2.6-1-5.1-2.9-7.1"},"0"),(0,a.jsx)("path",{d:"M6.1 4.1 4.9 2.9C3 4.9 2 7.4 2 10c0 2.6 1 5.1 2.9 7.1l1.2-1.2c-1.6-1.6-2.4-3.8-2.4-5.9 0-2.1.8-4.3 2.4-5.9m10.6 10.6c1.3-1.3 2-3 2-4.7-.1-1.7-.7-3.4-2-4.7l-1.2 1.2c1 1 1.5 2.3 1.5 3.5 0 1.3-.5 2.6-1.5 3.5zM14.5 10c0-1.38-1.12-2.5-2.5-2.5S9.5 8.62 9.5 10c0 .76.34 1.42.87 1.88L7 22h2l.67-2h4.67l.66 2h2l-3.37-10.12c.53-.46.87-1.12.87-1.88m-4.17 8L12 13l1.67 5z"},"1")],"CellTower")},94304:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.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-6h2zm0-8h-2V7h2z"}),"Info")},79603:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M15.9 5c-.17 0-.32.09-.41.23l-.07.15-5.18 11.65c-.16.29-.26.61-.26.96 0 1.11.9 2.01 2.01 2.01.96 0 1.77-.68 1.96-1.59l.01-.03L16.4 5.5c0-.28-.22-.5-.5-.5M1 9l2 2c2.88-2.88 6.79-4.08 10.53-3.62l1.19-2.68C9.89 3.84 4.74 5.27 1 9m20 2 2-2c-1.64-1.64-3.55-2.82-5.59-3.57l-.53 2.82c1.5.62 2.9 1.53 4.12 2.75m-4 4 2-2c-.8-.8-1.7-1.42-2.66-1.89l-.55 2.92c.42.27.83.59 1.21.97M5 13l2 2c1.13-1.13 2.56-1.79 4.03-2l1.28-2.88c-2.63-.08-5.3.87-7.31 2.88"}),"NetworkCheck")},97441:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew")},84292:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M6 6h12v12H6z"}),"Stop")},95843:(e,s,r)=>{r.d(s,{eE:()=>Q,E4:()=>N,SB:()=>k,ms:()=>$,hI:()=>j,aY:()=>ec,zd:()=>L,Ik:()=>C});var t=r(58120),n=r(67073),a=r(92797),l=r(2365),i=r(89352),o=r(48787),c=r(37891),d=r(88916),x=r(59059),h=r(75698),u=r(79795);let m={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},p={border:0,py:1};function j({router:e}){var s;let r=(s=e.mode)?s.includes("in-docker")||s.includes("auto-discovery")?{label:"Auto Discovery",color:"info"}:s.includes("mapping")?{label:"Manual Mapping",color:"warning"}:{label:s,color:"default"}:{label:"Unknown",color:"default"};return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(u.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Platform Information"})]}),t.jsx(c.Z,{size:"small",children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Router Name"}),t.jsx(h.Z,{sx:p,children:e.name})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Port"}),t.jsx(h.Z,{sx:p,children:e.port})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Mode"}),t.jsx(h.Z,{sx:p,children:t.jsx(o.Z,{label:r.label,size:"small",color:r.color,variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Uptime"}),t.jsx(h.Z,{sx:p,children:e.uptime||"-"})]})]})})]})})}var Z=r(98243),f=r(95009),g=r(4587),y=r(45912),v=r(32130),w=r(84527);function b(e){switch(e){case"running":return"#4caf50";case"exited":case"dead":case"not_found":case"not_created":return"#f44336";case"created":case"restarting":case"paused":return"#ff9800";default:return"#9e9e9e"}}function S({status:e}){return t.jsx(Z.Z,{title:e,arrow:!0,children:t.jsx(i.Z,{sx:{width:10,height:10,borderRadius:"50%",bgcolor:b(e),flexShrink:0,boxShadow:"running"===e?`0 0 6px ${b(e)}`:"none"}})})}function C({router:e}){let s=function(e){let s=new Map;for(let r of e){let e=r.target.replace(/^mc-/,"").replace(/:25565$/,""),t=s.get(e);t?t.hostnames.push(r.hostname):s.set(e,{status:r.serverStatus,hostnames:[r.hostname],serverType:r.serverType,serverVersion:r.serverVersion})}return s}(e.routes);return t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(v.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"MC-Router Status"}),(0,t.jsxs)(i.Z,{sx:{ml:"auto",display:"flex",gap:1},children:[t.jsx(o.Z,{label:e.status,size:"small",color:function(e){switch(e){case"running":return"success";case"exited":case"dead":case"not_found":case"not_created":return"error";case"created":case"restarting":case"paused":return"warning";default:return"default"}}(e.status)}),t.jsx(o.Z,{label:e.health,size:"small",color:function(e){switch(e){case"healthy":return"success";case"unhealthy":return"error";case"starting":return"warning";default:return"default"}}(e.health),variant:"outlined"})]})]}),t.jsx(l.Z,{variant:"subtitle2",sx:{mb:1,mt:3},children:"Routing Table"}),0===e.routes.length?t.jsx(l.Z,{variant:"body2",color:"text.secondary",sx:{py:2,textAlign:"center"},children:"No routes configured"}):t.jsx(i.Z,{sx:{mt:1},children:Array.from(s.entries()).map(([e,{status:s,hostnames:r,serverType:n,serverVersion:a}])=>(0,t.jsxs)(f.Z,{defaultExpanded:!0,disableGutters:!0,elevation:0,sx:{border:1,borderColor:"divider","&:not(:last-child)":{borderBottom:0},"&::before":{display:"none"}},children:[t.jsx(g.Z,{expandIcon:t.jsx(w.Z,{}),children:(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%",pr:1},children:[t.jsx(S,{status:s}),t.jsx(l.Z,{variant:"subtitle2",sx:{fontWeight:600},children:e}),(n||a)&&t.jsx(l.Z,{variant:"caption",color:"text.secondary",children:[n,a].filter(Boolean).join(" ")}),(0,t.jsxs)(l.Z,{variant:"caption",color:"text.secondary",sx:{ml:"auto"},children:[r.length," ",1===r.length?"route":"routes"]})]})}),t.jsx(y.Z,{sx:{pt:0},children:t.jsx(i.Z,{sx:{display:"flex",flexDirection:"column",gap:.5},children:r.map(e=>t.jsx(l.Z,{variant:"body2",sx:{fontFamily:"monospace",fontSize:"0.85rem",color:"text.secondary"},children:e},e))})})]},e))})]})})}var z=r(79603);let P={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},I={border:0,py:1};function k({router:e}){var s;let r=e.routes.filter(e=>"running"===e.serverStatus).length,u=e.routes.length;return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(z.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Network Settings"})]}),t.jsx(c.Z,{size:"small",children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Listening Port"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:e.port,size:"small",variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Routing Mode"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:(s=e.mode)?s.includes("in-docker")||s.includes("auto-discovery")?"Auto Discovery":s.includes("mapping")?"Manual Mapping":s:"Unknown",size:"small",color:"info",variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Total Routes"}),t.jsx(h.Z,{sx:I,children:u})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Active Routes"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:`${r} / ${u}`,size:"small",color:r>0?"success":"default",variant:"outlined"})})]})]})})]})})}var A=r(5414);function N({avahi:e}){let s=e?.status??"unknown";return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(A.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"mDNS (Avahi)"}),t.jsx(o.Z,{label:s,size:"small",color:"running"===s?"success":s.includes("not running")?"warning":"not installed"===s?"error":"default",sx:{ml:"auto"}})]}),(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",children:["Avahi mDNS daemon enables ",t.jsx("code",{children:".local"})," hostname resolution for Minecraft servers on the local network."]})]})})}var D=r(36372),M=r(6275),T=r(10257),W=r(79943),E=r(38481),F=r(68763);function L({onSuccess:e,onError:s}){let{data:r}=(0,F.kP)(),[c,d]=(0,D.useState)(r?.user?.name||""),[x,h]=(0,D.useState)(!1),[u,m]=(0,D.useState)(!1),p=r?.user,j=c!==(p?.name||""),Z=async()=>{if(j&&c.trim()){h(!0);try{let{error:r}=await (0,F.Nq)({name:c.trim()});r?s(r.message||"Failed to update profile"):e("Profile updated successfully")}catch{s("Failed to update profile")}finally{h(!1)}}};return p?t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[t.jsx(E.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Profile"})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",gap:2.5},children:[t.jsx(M.Z,{label:"Name",value:c,onChange:e=>d(e.target.value),fullWidth:!0,size:"small"}),t.jsx(M.Z,{label:"Email",value:p.email,fullWidth:!0,size:"small",disabled:!0,helperText:"Email cannot be changed"}),(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx(l.Z,{variant:"body2",color:"text.secondary",children:"Role:"}),t.jsx(o.Z,{label:"admin"===p.role?"Admin":"User",size:"small",color:"admin"===p.role?"primary":"default",variant:"outlined"})]}),t.jsx(i.Z,{sx:{display:"flex",justifyContent:"flex-end"},children:t.jsx(T.Z,{variant:"contained",onClick:Z,disabled:!j||!c.trim()||x,startIcon:x?t.jsx(W.Z,{size:16}):null,children:x?"Saving...":"Save Changes"})})]})]})}):null}var R=r(92559),U=r(54365),B=r(61960),V=r(27767),q=r(36739);function $({onSuccess:e,onError:s}){let[r,o]=(0,D.useState)(""),[c,d]=(0,D.useState)(""),[x,h]=(0,D.useState)(""),[u,m]=(0,D.useState)(!1),[p,j]=(0,D.useState)(!1),[Z,f]=(0,D.useState)(!1),[g,y]=(0,D.useState)(!1),[v,w]=(0,D.useState)({}),b=()=>{let e={};return r||(e.currentPassword="Current password is required"),c?c.length<8&&(e.newPassword="Password must be at least 8 characters"):e.newPassword="New password is required",x?c!==x&&(e.confirmPassword="Passwords do not match"):e.confirmPassword="Please confirm your new password",r&&c&&r===c&&(e.newPassword="New password must be different from current password"),w(e),0===Object.keys(e).length},S=async t=>{if(t.preventDefault(),b()){y(!0);try{let{error:t}=await (0,F.Cp)({currentPassword:r,newPassword:c,revokeOtherSessions:!1});t?s(t.message||"Failed to change password"):(e("Password changed successfully"),o(""),d(""),h(""),w({}))}catch{s("Failed to change password")}finally{y(!1)}}},C=(e,s)=>t.jsx(R.Z,{position:"end",children:t.jsx(U.Z,{"aria-label":e?"hide password":"show password",onClick:()=>s(!e),edge:"end",size:"small",children:e?t.jsx(q.Z,{fontSize:"small"}):t.jsx(V.Z,{fontSize:"small"})})});return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[t.jsx(B.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Change Password"})]}),(0,t.jsxs)(i.Z,{component:"form",onSubmit:S,sx:{display:"flex",flexDirection:"column",gap:2.5},children:[t.jsx(M.Z,{label:"Current Password",type:u?"text":"password",value:r,onChange:e=>{o(e.target.value),v.currentPassword&&w(e=>({...e,currentPassword:""}))},error:!!v.currentPassword,helperText:v.currentPassword,fullWidth:!0,size:"small",autoComplete:"current-password",InputProps:{endAdornment:C(u,m)}}),t.jsx(M.Z,{label:"New Password",type:p?"text":"password",value:c,onChange:e=>{d(e.target.value),v.newPassword&&w(e=>({...e,newPassword:""}))},error:!!v.newPassword,helperText:v.newPassword||"Minimum 8 characters",fullWidth:!0,size:"small",autoComplete:"new-password",InputProps:{endAdornment:C(p,j)}}),t.jsx(M.Z,{label:"Confirm New Password",type:Z?"text":"password",value:x,onChange:e=>{h(e.target.value),v.confirmPassword&&w(e=>({...e,confirmPassword:""}))},error:!!v.confirmPassword,helperText:v.confirmPassword,fullWidth:!0,size:"small",autoComplete:"new-password",InputProps:{endAdornment:C(Z,f)}}),t.jsx(i.Z,{sx:{display:"flex",justifyContent:"flex-end"},children:t.jsx(T.Z,{type:"submit",variant:"contained",disabled:g,startIcon:g?t.jsx(W.Z,{size:16}):null,children:g?"Changing...":"Change Password"})})]})]})})}var _=r(94304);let O={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},H={border:0,py:1};function K(e){return e?("string"==typeof e?new Date(e):e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"}):"-"}function Q(){let{data:e}=(0,F.kP)(),s=e?.user;return s?t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(_.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Account Information"})]}),t.jsx(c.Z,{size:"small",children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Account ID"}),t.jsx(h.Z,{sx:H,children:t.jsx(l.Z,{variant:"body2",sx:{fontFamily:"monospace",fontSize:"0.8rem"},children:s.id})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Created"}),t.jsx(h.Z,{sx:H,children:K(s.createdAt)})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Last Updated"}),t.jsx(h.Z,{sx:H,children:K(s.updatedAt)})]})]})})]})}):null}var Y=r(70862),G=r(68913),J=r(66757),X=r(765),ee=r(29553),es=r(84292),er=r(97441),et=r(51999),en=r(53825),ea=r(15934);let el={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},ei={border:0,py:1};function eo({text:e}){let[s,r]=(0,D.useState)(!1),n=async()=>{try{await navigator.clipboard.writeText(e),r(!0),setTimeout(()=>r(!1),2e3)}catch(e){console.error("Failed to copy:",e)}};return t.jsx(U.Z,{size:"small",onClick:n,sx:{ml:1,color:s?"success.main":"text.secondary","&:hover":{bgcolor:"action.hover"}},"aria-label":s?"Copied":"Copy to clipboard",children:s?t.jsx(en.Z,{sx:{fontSize:16}}):t.jsx(et.Z,{sx:{fontSize:16}})})}function ec(){let{data:e,isLoading:s,error:r}=(0,ea.UW)(),u=(0,ea.Bc)(),m=(0,ea.N$)();if(r)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(X.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,t.jsxs)(J.Z,{severity:"error",children:["Failed to load playit status: ",r.message]})]})});if(s)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(G.Z,{variant:"circular",width:24,height:24}),t.jsx(G.Z,{variant:"text",width:"40%",height:32})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[t.jsx(G.Z,{variant:"text",width:"35%"}),t.jsx(G.Z,{variant:"text",width:"40%"})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[t.jsx(G.Z,{variant:"text",width:"35%"}),t.jsx(G.Z,{variant:"text",width:"40%"})]})]})});if(!e?.enabled)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(X.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,t.jsxs)(J.Z,{severity:"info",children:[t.jsx(l.Z,{variant:"body2",fontWeight:500,sx:{mb:.5},children:"Not configured"}),t.jsx(l.Z,{variant:"body2",color:"text.secondary",children:"playit.gg agent is not set up. Configure PLAYIT_SECRET to enable external access."})]})]})});let p=e.agentRunning&&"running"===e.containerStatus,j=u.isPending||m.isPending,Z=u.error||m.error;return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:1},children:[t.jsx(X.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),Z&&t.jsx(J.Z,{severity:"error",sx:{mb:2},children:Z.message||"Action failed"}),(0,t.jsxs)(i.Z,{sx:{display:"flex",gap:1,mb:2,flexWrap:"wrap"},children:[p?t.jsx(T.Z,{variant:"outlined",size:"small",color:"error",startIcon:j?t.jsx(W.Z,{size:16}):t.jsx(es.Z,{}),onClick:()=>{m.mutate()},disabled:j,sx:{fontSize:12},children:j?"Stopping...":"Stop Agent"}):t.jsx(T.Z,{variant:"contained",size:"small",color:"success",startIcon:j?t.jsx(W.Z,{size:16,color:"inherit"}):t.jsx(ee.Z,{}),onClick:()=>{u.mutate()},disabled:j,sx:{fontSize:12},children:j?"Starting...":"Start Agent"}),t.jsx(T.Z,{component:"a",href:"https://playit.gg/account/tunnels",target:"_blank",rel:"noopener noreferrer",size:"small",startIcon:t.jsx(er.Z,{}),sx:{fontSize:12},children:"View Dashboard"})]}),t.jsx(c.Z,{size:"small",sx:{mb:3},children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:el,children:"Agent Status"}),t.jsx(h.Z,{sx:ei,children:t.jsx(o.Z,{label:p?"Running":"Stopped",size:"small",color:p?"success":"default",variant:"outlined"})})]}),e.uptime&&(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:el,children:"Uptime"}),t.jsx(h.Z,{sx:ei,children:e.uptime})]})]})}),e.servers&&e.servers.length>0&&(()=>{let s=e.servers.filter(e=>e.playitDomain),r=e.servers.filter(e=>!e.playitDomain);return(0,t.jsxs)(t.Fragment,{children:[t.jsx(l.Z,{variant:"subtitle2",sx:{mb:1.5,fontWeight:600},children:"Server Domains"}),s.length>0?(0,t.jsxs)(c.Z,{size:"small",sx:{mb:r.length>0?2:0},children:[t.jsx(Y.Z,{children:(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:{fontWeight:600,borderBottom:2,borderColor:"divider"},children:"Server"}),t.jsx(h.Z,{sx:{fontWeight:600,borderBottom:2,borderColor:"divider"},children:"External Domain"})]})}),t.jsx(d.Z,{children:s.map(e=>(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:{py:1.5,borderBottom:1,borderColor:"divider"},children:e.serverName}),t.jsx(h.Z,{sx:{py:1.5,borderBottom:1,borderColor:"divider"},children:(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center"},children:[t.jsx(l.Z,{variant:"body2",sx:{fontFamily:"monospace"},children:e.playitDomain}),t.jsx(eo,{text:e.playitDomain})]})})]},e.serverName))})]}):(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",sx:{mb:2},children:["No servers with external domains configured. Use ",t.jsx("code",{children:"mcctl create --playit-domain"})," to register a domain."]}),r.length>0&&(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",children:[r.length," server",r.length>1?"s":""," without external domain: ",r.map(e=>e.serverName).join(", ")]})]})})()]})})}},43137:(e,s,r)=>{async function t(e,s={}){let r={...s.headers};s.body&&(r["Content-Type"]="application/json");let t=await fetch(e,{...s,headers:r});if(!t.ok){let e=await t.json().catch(()=>({error:"UnknownError",message:t.statusText})),s=Error(e.message);throw s.statusCode=t.status,s.code=e.error,s}return t.json()}r.d(s,{SC:()=>t})},15934:(e,s,r)=>{r.d(s,{Bc:()=>o,N$:()=>c,UW:()=>i});var t=r(28872),n=r(95343),a=r(20042),l=r(43137);function i(){return(0,t.a)({queryKey:["playit-status"],queryFn:()=>(0,l.SC)("/api/playit/status"),refetchInterval:3e4})}function o(){let e=(0,n.NL)();return(0,a.D)({mutationFn:()=>(0,l.SC)("/api/playit/start",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}function c(){let e=(0,n.NL)();return(0,a.D)({mutationFn:()=>(0,l.SC)("/api/playit/stop",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}}};
1
+ "use strict";exports.id=5843,exports.ids=[5843],exports.modules={5414:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)([(0,a.jsx)("path",{d:"m7.3 14.7 1.2-1.2c-1-1-1.5-2.3-1.5-3.5 0-1.3.5-2.6 1.5-3.5L7.3 5.3c-1.3 1.3-2 3-2 4.7s.7 3.4 2 4.7M19.1 2.9l-1.2 1.2c1.6 1.6 2.4 3.8 2.4 5.9 0 2.1-.8 4.3-2.4 5.9l1.2 1.2c2-2 2.9-4.5 2.9-7.1 0-2.6-1-5.1-2.9-7.1"},"0"),(0,a.jsx)("path",{d:"M6.1 4.1 4.9 2.9C3 4.9 2 7.4 2 10c0 2.6 1 5.1 2.9 7.1l1.2-1.2c-1.6-1.6-2.4-3.8-2.4-5.9 0-2.1.8-4.3 2.4-5.9m10.6 10.6c1.3-1.3 2-3 2-4.7-.1-1.7-.7-3.4-2-4.7l-1.2 1.2c1 1 1.5 2.3 1.5 3.5 0 1.3-.5 2.6-1.5 3.5zM14.5 10c0-1.38-1.12-2.5-2.5-2.5S9.5 8.62 9.5 10c0 .76.34 1.42.87 1.88L7 22h2l.67-2h4.67l.66 2h2l-3.37-10.12c.53-.46.87-1.12.87-1.88m-4.17 8L12 13l1.67 5z"},"1")],"CellTower")},94304:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.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-6h2zm0-8h-2V7h2z"}),"Info")},79603:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M15.9 5c-.17 0-.32.09-.41.23l-.07.15-5.18 11.65c-.16.29-.26.61-.26.96 0 1.11.9 2.01 2.01 2.01.96 0 1.77-.68 1.96-1.59l.01-.03L16.4 5.5c0-.28-.22-.5-.5-.5M1 9l2 2c2.88-2.88 6.79-4.08 10.53-3.62l1.19-2.68C9.89 3.84 4.74 5.27 1 9m20 2 2-2c-1.64-1.64-3.55-2.82-5.59-3.57l-.53 2.82c1.5.62 2.9 1.53 4.12 2.75m-4 4 2-2c-.8-.8-1.7-1.42-2.66-1.89l-.55 2.92c.42.27.83.59 1.21.97M5 13l2 2c1.13-1.13 2.56-1.79 4.03-2l1.28-2.88c-2.63-.08-5.3.87-7.31 2.88"}),"NetworkCheck")},97441:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M19 19H5V5h7V3H5c-1.11 0-2 .9-2 2v14c0 1.1.89 2 2 2h14c1.1 0 2-.9 2-2v-7h-2zM14 3v2h3.59l-9.83 9.83 1.41 1.41L19 6.41V10h2V3z"}),"OpenInNew")},84292:(e,s,r)=>{var t=r(66682);s.Z=void 0;var n=t(r(7750)),a=r(58120);s.Z=(0,n.default)((0,a.jsx)("path",{d:"M6 6h12v12H6z"}),"Stop")},95843:(e,s,r)=>{r.d(s,{eE:()=>Q,E4:()=>M,SB:()=>k,ms:()=>$,hI:()=>j,aY:()=>ec,zd:()=>F,Ik:()=>C});var t=r(58120),n=r(67073),a=r(92797),l=r(2365),i=r(89352),o=r(48787),c=r(37891),d=r(88916),x=r(59059),h=r(75698),u=r(79795);let m={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},p={border:0,py:1};function j({router:e}){var s;let r=(s=e.mode)?s.includes("in-docker")||s.includes("auto-discovery")?{label:"Auto Discovery",color:"info"}:s.includes("mapping")?{label:"Manual Mapping",color:"warning"}:{label:s,color:"default"}:{label:"Unknown",color:"default"};return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(u.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Platform Information"})]}),t.jsx(c.Z,{size:"small",children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Router Name"}),t.jsx(h.Z,{sx:p,children:e.name})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Port"}),t.jsx(h.Z,{sx:p,children:e.port})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Mode"}),t.jsx(h.Z,{sx:p,children:t.jsx(o.Z,{label:r.label,size:"small",color:r.color,variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:m,children:"Uptime"}),t.jsx(h.Z,{sx:p,children:e.uptime||"-"})]})]})})]})})}var Z=r(98243),f=r(95009),g=r(4587),y=r(45912),v=r(32130),b=r(84527);function w(e){switch(e){case"running":return"#4caf50";case"exited":case"dead":case"not_found":case"not_created":return"#f44336";case"created":case"restarting":case"paused":return"#ff9800";default:return"#9e9e9e"}}function S({status:e}){return t.jsx(Z.Z,{title:e,arrow:!0,children:t.jsx(i.Z,{sx:{width:10,height:10,borderRadius:"50%",bgcolor:w(e),flexShrink:0,boxShadow:"running"===e?`0 0 6px ${w(e)}`:"none"}})})}function C({router:e}){let s=function(e){let s=new Map;for(let r of e){let e=r.target.replace(/^mc-/,"").replace(/:25565$/,""),t=s.get(e);t?t.hostnames.push(r.hostname):s.set(e,{status:r.serverStatus,hostnames:[r.hostname],serverType:r.serverType,serverVersion:r.serverVersion})}return s}(e.routes);return t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(v.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"MC-Router Status"}),(0,t.jsxs)(i.Z,{sx:{ml:"auto",display:"flex",gap:1},children:[t.jsx(o.Z,{label:e.status,size:"small",color:function(e){switch(e){case"running":return"success";case"exited":case"dead":case"not_found":case"not_created":return"error";case"created":case"restarting":case"paused":return"warning";default:return"default"}}(e.status)}),t.jsx(o.Z,{label:e.health,size:"small",color:function(e){switch(e){case"healthy":return"success";case"unhealthy":return"error";case"starting":return"warning";default:return"default"}}(e.health),variant:"outlined"})]})]}),t.jsx(l.Z,{variant:"subtitle2",sx:{mb:1,mt:3},children:"Routing Table"}),0===e.routes.length?t.jsx(l.Z,{variant:"body2",color:"text.secondary",sx:{py:2,textAlign:"center"},children:"No routes configured"}):t.jsx(i.Z,{sx:{mt:1},children:Array.from(s.entries()).map(([e,{status:s,hostnames:r,serverType:n,serverVersion:a}])=>(0,t.jsxs)(f.Z,{defaultExpanded:!0,disableGutters:!0,elevation:0,sx:{border:1,borderColor:"divider","&:not(:last-child)":{borderBottom:0},"&::before":{display:"none"}},children:[t.jsx(g.Z,{expandIcon:t.jsx(b.Z,{}),children:(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%",pr:1},children:[t.jsx(S,{status:s}),t.jsx(l.Z,{variant:"subtitle2",sx:{fontWeight:600},children:e}),(n||a)&&t.jsx(l.Z,{variant:"caption",color:"text.secondary",children:[n,a].filter(Boolean).join(" ")}),(0,t.jsxs)(l.Z,{variant:"caption",color:"text.secondary",sx:{ml:"auto"},children:[r.length," ",1===r.length?"route":"routes"]})]})}),t.jsx(y.Z,{sx:{pt:0},children:t.jsx(i.Z,{sx:{display:"flex",flexDirection:"column",gap:.5},children:r.map(e=>t.jsx(l.Z,{variant:"body2",sx:{fontFamily:'"Roboto Mono", monospace',fontSize:"0.85rem",color:"text.secondary"},children:e},e))})})]},e))})]})})}var z=r(79603);let P={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},I={border:0,py:1};function k({router:e}){var s;let r=e.routes.filter(e=>"running"===e.serverStatus).length,u=e.routes.length;return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(z.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Network Settings"})]}),t.jsx(c.Z,{size:"small",children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Listening Port"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:e.port,size:"small",variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Routing Mode"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:(s=e.mode)?s.includes("in-docker")||s.includes("auto-discovery")?"Auto Discovery":s.includes("mapping")?"Manual Mapping":s:"Unknown",size:"small",color:"info",variant:"outlined"})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Total Routes"}),t.jsx(h.Z,{sx:I,children:u})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:P,children:"Active Routes"}),t.jsx(h.Z,{sx:I,children:t.jsx(o.Z,{label:`${r} / ${u}`,size:"small",color:r>0?"success":"default",variant:"outlined"})})]})]})})]})})}var A=r(5414);function M({avahi:e}){let s=e?.status??"unknown";return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(A.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"mDNS (Avahi)"}),t.jsx(o.Z,{label:s,size:"small",color:"running"===s?"success":s.includes("not running")?"warning":"not installed"===s?"error":"default",sx:{ml:"auto"}})]}),(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",children:["Avahi mDNS daemon enables ",t.jsx("code",{children:".local"})," hostname resolution for Minecraft servers on the local network."]})]})})}var N=r(36372),D=r(6275),T=r(10257),W=r(79943),R=r(38481),E=r(68763);function F({onSuccess:e,onError:s}){let{data:r}=(0,E.kP)(),[c,d]=(0,N.useState)(r?.user?.name||""),[x,h]=(0,N.useState)(!1),[u,m]=(0,N.useState)(!1),p=r?.user,j=c!==(p?.name||""),Z=async()=>{if(j&&c.trim()){h(!0);try{let{error:r}=await (0,E.Nq)({name:c.trim()});r?s(r.message||"Failed to update profile"):e("Profile updated successfully")}catch{s("Failed to update profile")}finally{h(!1)}}};return p?t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[t.jsx(R.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Profile"})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",gap:2.5},children:[t.jsx(D.Z,{label:"Name",value:c,onChange:e=>d(e.target.value),fullWidth:!0,size:"small"}),t.jsx(D.Z,{label:"Email",value:p.email,fullWidth:!0,size:"small",disabled:!0,helperText:"Email cannot be changed"}),(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[t.jsx(l.Z,{variant:"body2",color:"text.secondary",children:"Role:"}),t.jsx(o.Z,{label:"admin"===p.role?"Admin":"User",size:"small",color:"admin"===p.role?"primary":"default",variant:"outlined"})]}),t.jsx(i.Z,{sx:{display:"flex",justifyContent:"flex-end"},children:t.jsx(T.Z,{variant:"contained",onClick:Z,disabled:!j||!c.trim()||x,startIcon:x?t.jsx(W.Z,{size:16}):null,children:x?"Saving...":"Save Changes"})})]})]})}):null}var L=r(92559),U=r(54365),B=r(61960),V=r(27767),q=r(36739);function $({onSuccess:e,onError:s}){let[r,o]=(0,N.useState)(""),[c,d]=(0,N.useState)(""),[x,h]=(0,N.useState)(""),[u,m]=(0,N.useState)(!1),[p,j]=(0,N.useState)(!1),[Z,f]=(0,N.useState)(!1),[g,y]=(0,N.useState)(!1),[v,b]=(0,N.useState)({}),w=()=>{let e={};return r||(e.currentPassword="Current password is required"),c?c.length<8&&(e.newPassword="Password must be at least 8 characters"):e.newPassword="New password is required",x?c!==x&&(e.confirmPassword="Passwords do not match"):e.confirmPassword="Please confirm your new password",r&&c&&r===c&&(e.newPassword="New password must be different from current password"),b(e),0===Object.keys(e).length},S=async t=>{if(t.preventDefault(),w()){y(!0);try{let{error:t}=await (0,E.Cp)({currentPassword:r,newPassword:c,revokeOtherSessions:!1});t?s(t.message||"Failed to change password"):(e("Password changed successfully"),o(""),d(""),h(""),b({}))}catch{s("Failed to change password")}finally{y(!1)}}},C=(e,s)=>t.jsx(L.Z,{position:"end",children:t.jsx(U.Z,{"aria-label":e?"hide password":"show password",onClick:()=>s(!e),edge:"end",size:"small",children:e?t.jsx(q.Z,{fontSize:"small"}):t.jsx(V.Z,{fontSize:"small"})})});return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[t.jsx(B.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Change Password"})]}),(0,t.jsxs)(i.Z,{component:"form",onSubmit:S,sx:{display:"flex",flexDirection:"column",gap:2.5},children:[t.jsx(D.Z,{label:"Current Password",type:u?"text":"password",value:r,onChange:e=>{o(e.target.value),v.currentPassword&&b(e=>({...e,currentPassword:""}))},error:!!v.currentPassword,helperText:v.currentPassword,fullWidth:!0,size:"small",autoComplete:"current-password",InputProps:{endAdornment:C(u,m)}}),t.jsx(D.Z,{label:"New Password",type:p?"text":"password",value:c,onChange:e=>{d(e.target.value),v.newPassword&&b(e=>({...e,newPassword:""}))},error:!!v.newPassword,helperText:v.newPassword||"Minimum 8 characters",fullWidth:!0,size:"small",autoComplete:"new-password",InputProps:{endAdornment:C(p,j)}}),t.jsx(D.Z,{label:"Confirm New Password",type:Z?"text":"password",value:x,onChange:e=>{h(e.target.value),v.confirmPassword&&b(e=>({...e,confirmPassword:""}))},error:!!v.confirmPassword,helperText:v.confirmPassword,fullWidth:!0,size:"small",autoComplete:"new-password",InputProps:{endAdornment:C(Z,f)}}),t.jsx(i.Z,{sx:{display:"flex",justifyContent:"flex-end"},children:t.jsx(T.Z,{type:"submit",variant:"contained",disabled:g,startIcon:g?t.jsx(W.Z,{size:16}):null,children:g?"Changing...":"Change Password"})})]})]})})}var _=r(94304);let O={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},H={border:0,py:1};function K(e){return e?("string"==typeof e?new Date(e):e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"}):"-"}function Q(){let{data:e}=(0,E.kP)(),s=e?.user;return s?t.jsx(n.Z,{sx:{height:"100%"},children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(_.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"Account Information"})]}),t.jsx(c.Z,{size:"small",children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Account ID"}),t.jsx(h.Z,{sx:H,children:t.jsx(l.Z,{variant:"body2",sx:{fontFamily:'"Roboto Mono", monospace',fontSize:"0.8rem"},children:s.id})})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Created"}),t.jsx(h.Z,{sx:H,children:K(s.createdAt)})]}),(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:O,children:"Last Updated"}),t.jsx(h.Z,{sx:H,children:K(s.updatedAt)})]})]})})]})}):null}var Y=r(70862),G=r(68913),J=r(66757),X=r(1877),ee=r(29553),es=r(84292),er=r(97441),et=r(51999),en=r(53825),ea=r(15934);let el={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},ei={border:0,py:1};function eo({text:e}){let[s,r]=(0,N.useState)(!1),n=async()=>{try{await navigator.clipboard.writeText(e),r(!0),setTimeout(()=>r(!1),2e3)}catch(e){console.error("Failed to copy:",e)}};return t.jsx(U.Z,{size:"small",onClick:n,sx:{ml:1,color:s?"success.main":"text.secondary","&:hover":{bgcolor:"action.hover"}},"aria-label":s?"Copied":"Copy to clipboard",children:s?t.jsx(en.Z,{sx:{fontSize:16}}):t.jsx(et.Z,{sx:{fontSize:16}})})}function ec(){let{data:e,isLoading:s,error:r}=(0,ea.UW)(),u=(0,ea.Bc)(),m=(0,ea.N$)();if(r)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(X.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,t.jsxs)(J.Z,{severity:"error",children:["Failed to load playit status: ",r.message]})]})});if(s)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(G.Z,{variant:"circular",width:24,height:24}),t.jsx(G.Z,{variant:"text",width:"40%",height:32})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[t.jsx(G.Z,{variant:"text",width:"35%"}),t.jsx(G.Z,{variant:"text",width:"40%"})]}),(0,t.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[t.jsx(G.Z,{variant:"text",width:"35%"}),t.jsx(G.Z,{variant:"text",width:"40%"})]})]})});if(!e?.enabled)return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[t.jsx(X.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,t.jsxs)(J.Z,{severity:"info",children:[t.jsx(l.Z,{variant:"body2",fontWeight:500,sx:{mb:.5},children:"Not configured"}),t.jsx(l.Z,{variant:"body2",color:"text.secondary",children:"playit.gg agent is not set up. Configure PLAYIT_SECRET to enable external access."})]})]})});let p=e.agentRunning&&"running"===e.containerStatus,j=u.isPending||m.isPending,Z=u.error||m.error;return t.jsx(n.Z,{children:(0,t.jsxs)(a.Z,{children:[(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:1},children:[t.jsx(X.Z,{color:"primary"}),t.jsx(l.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),Z&&t.jsx(J.Z,{severity:"error",sx:{mb:2},children:Z.message||"Action failed"}),(0,t.jsxs)(i.Z,{sx:{display:"flex",gap:1,mb:2,flexWrap:"wrap"},children:[p?t.jsx(T.Z,{variant:"outlined",size:"small",color:"error",startIcon:j?t.jsx(W.Z,{size:16}):t.jsx(es.Z,{}),onClick:()=>{m.mutate()},disabled:j,sx:{fontSize:12},children:j?"Stopping...":"Stop Agent"}):t.jsx(T.Z,{variant:"contained",size:"small",color:"success",startIcon:j?t.jsx(W.Z,{size:16,color:"inherit"}):t.jsx(ee.Z,{}),onClick:()=>{u.mutate()},disabled:j,sx:{fontSize:12},children:j?"Starting...":"Start Agent"}),t.jsx(T.Z,{component:"a",href:"https://playit.gg/account/tunnels",target:"_blank",rel:"noopener noreferrer",size:"small",startIcon:t.jsx(er.Z,{}),sx:{fontSize:12},children:"View Dashboard"})]}),t.jsx(c.Z,{size:"small",sx:{mb:3},children:(0,t.jsxs)(d.Z,{children:[(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:el,children:"Agent Status"}),t.jsx(h.Z,{sx:ei,children:t.jsx(o.Z,{label:p?"Running":"Stopped",size:"small",color:p?"success":"default",variant:"outlined"})})]}),e.uptime&&(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:el,children:"Uptime"}),t.jsx(h.Z,{sx:ei,children:e.uptime})]})]})}),e.servers&&e.servers.length>0&&(()=>{let s=e.servers.filter(e=>e.playitDomain),r=e.servers.filter(e=>!e.playitDomain);return(0,t.jsxs)(t.Fragment,{children:[t.jsx(l.Z,{variant:"subtitle2",sx:{mb:1.5,fontWeight:600},children:"Server Domains"}),s.length>0?(0,t.jsxs)(c.Z,{size:"small",sx:{mb:r.length>0?2:0},children:[t.jsx(Y.Z,{children:(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:{fontWeight:600,borderBottom:2,borderColor:"divider"},children:"Server"}),t.jsx(h.Z,{sx:{fontWeight:600,borderBottom:2,borderColor:"divider"},children:"External Domain"})]})}),t.jsx(d.Z,{children:s.map(e=>(0,t.jsxs)(x.Z,{children:[t.jsx(h.Z,{sx:{py:1.5,borderBottom:1,borderColor:"divider"},children:e.serverName}),t.jsx(h.Z,{sx:{py:1.5,borderBottom:1,borderColor:"divider"},children:(0,t.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center"},children:[t.jsx(l.Z,{variant:"body2",sx:{fontFamily:'"Roboto Mono", monospace'},children:e.playitDomain}),t.jsx(eo,{text:e.playitDomain})]})})]},e.serverName))})]}):(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",sx:{mb:2},children:["No servers with external domains configured. Use ",t.jsx("code",{children:"mcctl create --playit-domain"})," to register a domain."]}),r.length>0&&(0,t.jsxs)(l.Z,{variant:"body2",color:"text.secondary",children:[r.length," server",r.length>1?"s":""," without external domain: ",r.map(e=>e.serverName).join(", ")]})]})})()]})})}},43137:(e,s,r)=>{async function t(e,s={}){let r={...s.headers};s.body&&(r["Content-Type"]="application/json");let t=await fetch(e,{...s,headers:r});if(!t.ok){let e=await t.json().catch(()=>({error:"UnknownError",message:t.statusText})),s=Error(e.message);throw s.statusCode=t.status,s.code=e.error,s}return t.json()}r.d(s,{SC:()=>t})},15934:(e,s,r)=>{r.d(s,{Bc:()=>o,N$:()=>c,UW:()=>i});var t=r(28872),n=r(95343),a=r(20042),l=r(43137);function i(){return(0,t.a)({queryKey:["playit-status"],queryFn:()=>(0,l.SC)("/api/playit/status"),refetchInterval:3e4})}function o(){let e=(0,n.NL)();return(0,a.D)({mutationFn:()=>(0,l.SC)("/api/playit/start",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}function c(){let e=(0,n.NL)();return(0,a.D)({mutationFn:()=>(0,l.SC)("/api/playit/stop",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}}};
@@ -0,0 +1,57 @@
1
+ exports.id=6175,exports.ids=[6175],exports.modules={24705:(e,r,t)=>{Promise.resolve().then(t.bind(t,83053)),Promise.resolve().then(t.bind(t,21908)),Promise.resolve().then(t.bind(t,53014)),Promise.resolve().then(t.bind(t,53966)),Promise.resolve().then(t.bind(t,93551))},81323:(e,r,t)=>{Promise.resolve().then(t.t.bind(t,67348,23)),Promise.resolve().then(t.t.bind(t,98985,23)),Promise.resolve().then(t.t.bind(t,20881,23)),Promise.resolve().then(t.t.bind(t,68123,23)),Promise.resolve().then(t.t.bind(t,69806,23)),Promise.resolve().then(t.t.bind(t,97952,23))},21908:(e,r,t)=>{"use strict";t.d(r,{LoadingProvider:()=>o,startLoading:()=>d,stopLoading:()=>c});var s=t(58120);t(36372);var a=t(56539),i=t(42070),n=t.n(i);function o({children:e}){return(0,a.usePathname)(),(0,a.useSearchParams)(),s.jsx(s.Fragment,{children:e})}function d(){n().start()}function c(){n().done()}n().configure({showSpinner:!1,speed:300,minimum:.1})},53014:(e,r,t)=>{"use strict";t.d(r,{QueryProvider:()=>n});var s=t(58120),a=t(85084),i=t(95343);function n({children:e}){let r=new a.S({defaultOptions:{queries:{staleTime:6e4,refetchOnWindowFocus:!1}}});return s.jsx(i.aH,{client:r,children:e})}},93551:(e,r,t)=>{"use strict";t.d(r,{ThemeProvider:()=>o});var s=t(58120),a=t(94756),i=t(57879),n=t(53966);function o({children:e}){return(0,s.jsxs)(a.Z,{theme:n.darkTheme,children:[s.jsx(i.ZP,{}),e]})}},53966:(e,r,t)=>{"use strict";t.d(r,{darkTheme:()=>i});var s=t(16476);let a={bgBase:"#16181c",bgRaised:"#1a1d22",bgSurface:"#26282e",bgElevated:"#313338",textPrimary:"#ffffff",textSecondary:"#9a9a9a",border:"#2e3035",primary:"#1bd96a",primaryLight:"#4de38a",primaryDark:"#15a852",secondary:"#7c3aed",secondaryLight:"#9f67f0",secondaryDark:"#5b21b6"},i=(0,s.Z)({palette:{mode:"dark",primary:{main:a.primary,light:a.primaryLight,dark:a.primaryDark},secondary:{main:a.secondary,light:a.secondaryLight,dark:a.secondaryDark},background:{default:a.bgBase,paper:a.bgRaised},success:{main:"#22c55e"},error:{main:"#ef4444"},warning:{main:"#f59e0b"},text:{primary:a.textPrimary,secondary:a.textSecondary},divider:a.border,action:{hover:a.bgSurface,selected:a.bgSurface}},typography:{fontFamily:'var(--font-roboto-mono), "Roboto Mono", monospace'},components:{MuiCard:{styleOverrides:{root:{backgroundColor:a.bgRaised,borderRadius:"12px",border:`1px solid ${a.border}`}}},MuiPaper:{styleOverrides:{root:{backgroundImage:"none"}}},MuiButton:{styleOverrides:{root:{borderRadius:"8px",textTransform:"none"}}},MuiAppBar:{styleOverrides:{root:{backgroundColor:a.bgRaised,borderBottom:`1px solid ${a.border}`}}},MuiDrawer:{styleOverrides:{paper:{backgroundColor:a.bgRaised,borderRight:`1px solid ${a.border}`}}},MuiCssBaseline:{styleOverrides:{body:{scrollbarColor:`${a.bgElevated} ${a.bgBase}`,"&::-webkit-scrollbar, & *::-webkit-scrollbar":{backgroundColor:a.bgBase,width:8},"&::-webkit-scrollbar-thumb, & *::-webkit-scrollbar-thumb":{borderRadius:8,backgroundColor:a.bgElevated,minHeight:24},"&::-webkit-scrollbar-thumb:hover, & *::-webkit-scrollbar-thumb:hover":{backgroundColor:a.bgSurface}}}}}})},97759:(e,r,t)=>{"use strict";t.r(r),t.d(r,{default:()=>T,metadata:()=>m});var s=t(8203),a=t(38888),i=t.n(a),n=t(84898),o=t(65577),d=t(2325);(0,d.createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/theme/muiTheme.ts#darkTheme`);let c=(0,d.createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/theme/ThemeProvider.tsx#ThemeProvider`),l=(0,d.createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/lib/QueryProvider.tsx#QueryProvider`);t(22587),t(8290),t(60154);let u=(0,d.createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/components/providers/LoadingProvider.tsx#LoadingProvider`);(0,d.createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/components/providers/LoadingProvider.tsx#startLoading`),(0,d.createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/components/providers/LoadingProvider.tsx#stopLoading`),t(56825);let m={title:"Minecraft Server Manager",description:"Web-based management console for Minecraft server infrastructure"};function T({children:e}){return s.jsx("html",{lang:"en",children:s.jsx("body",{className:`${i().variable} ${i().className}`,children:s.jsx("div",{id:"__next",children:s.jsx(o.Z,{children:s.jsx(c,{children:s.jsx(l,{children:s.jsx(n.Suspense,{fallback:null,children:s.jsx(u,{children:e})})})})})})})})}},60154:(e,r,t)=>{"use strict";t.d(r,{Ke:()=>l,kF:()=>c,l4:()=>o,mk:()=>d});var s=t(31969),a=t(22587),i=t(8290),n=t(30579);class o extends Error{constructor(e,r=401){super(e),this.statusCode=r,this.name="AuthError"}}async function d(e){let r=await (0,s.Z)(e);if(!r)throw new o("Unauthorized",401);return r}async function c(e){let r=await d(e);if("admin"!==r.user.role)throw new o("Forbidden: Admin access required",403);return r}async function l(e,r,t="view"){let s=await d(e);if("admin"===s.user.role)return s;let c=await a.db.select().from(i.userServers).where((0,n.xD)((0,n.eq)(i.userServers.userId,s.user.id),(0,n.eq)(i.userServers.serverId,r))).limit(1);if(0===c.length)throw new o("Forbidden: No access to this server",403);let l=c[0].permission,u={view:1,manage:2,admin:3};if(u[l]<u[t])throw new o(`Forbidden: Requires ${t} permission`,403);return s}},31969:(e,r,t)=>{"use strict";t.d(r,{I:()=>l,Z:()=>u});var s=t(33580),a=t(5944),i=t(90224),n=t(22587),o=t(8290);let d=process.env.BETTER_AUTH_BASE_URL||`http://localhost:${process.env.PORT||5e3}`,c=d.startsWith("https://"),l=(0,s.kj)({baseURL:d,secret:process.env.BETTER_AUTH_SECRET,database:(0,a.s)(n.db,{provider:"sqlite",schema:{user:o.users,session:o.sessions,account:o.accounts,verification:o.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,i.SA)({defaultRole:"user",adminRole:"admin"})],trustedOrigins:e=>{let r=["http://localhost:5000","http://localhost:3000",d,process.env.NEXT_PUBLIC_APP_URL];if(e){let t=e.headers.get("origin");t&&function(e){try{let r=new URL(e).hostname;return"localhost"===r||"127.0.0.1"===r||"::1"===r||r.startsWith("192.168.")||r.startsWith("10.")||/^172\.(1[6-9]|2\d|3[01])\./.test(r)||r.endsWith(".local")}catch{return!1}}(t)&&r.push(t)}return r}});async function u(e){return l.api.getSession({headers:e})}},22587:(e,r,t)=>{"use strict";t.d(r,{db:()=>m});var s=t(85890),a=t.n(s),i=t(31590),n=t(8290),o=t(55315),d=t.n(o),c=t(92048);let l=function(){if(process.env.DATABASE_URL)return process.env.DATABASE_URL;let e=process.env.MCCTL_ROOT||process.cwd(),r=d().join(e,"data");return d().join(r,"mcctl.db")}();!function(e){if(":memory:"===e)return;let r=d().dirname(e);(0,c.existsSync)(r)||(0,c.mkdirSync)(r,{recursive:!0})}(l);let u=new(a())(l);u.pragma("journal_mode = WAL"),u.pragma("foreign_keys = ON"),u.exec(`
2
+ CREATE TABLE IF NOT EXISTS users (
3
+ id TEXT PRIMARY KEY,
4
+ name TEXT NOT NULL,
5
+ email TEXT NOT NULL UNIQUE,
6
+ email_verified INTEGER NOT NULL DEFAULT 0,
7
+ image TEXT,
8
+ role TEXT NOT NULL DEFAULT 'user',
9
+ banned INTEGER DEFAULT 0,
10
+ ban_reason TEXT,
11
+ ban_expires INTEGER,
12
+ created_at INTEGER NOT NULL,
13
+ updated_at INTEGER NOT NULL
14
+ );
15
+ CREATE TABLE IF NOT EXISTS accounts (
16
+ id TEXT PRIMARY KEY,
17
+ account_id TEXT NOT NULL,
18
+ provider_id TEXT NOT NULL,
19
+ user_id TEXT NOT NULL REFERENCES users(id) ON DELETE CASCADE,
20
+ access_token TEXT,
21
+ refresh_token TEXT,
22
+ id_token TEXT,
23
+ access_token_expires_at INTEGER,
24
+ refresh_token_expires_at INTEGER,
25
+ scope TEXT,
26
+ password TEXT,
27
+ created_at INTEGER NOT NULL,
28
+ updated_at INTEGER NOT NULL
29
+ );
30
+ CREATE TABLE IF NOT EXISTS sessions (
31
+ id TEXT PRIMARY KEY,
32
+ expires_at INTEGER NOT NULL,
33
+ token TEXT NOT NULL UNIQUE,
34
+ ip_address TEXT,
35
+ user_agent TEXT,
36
+ user_id TEXT NOT NULL REFERENCES users(id) ON DELETE CASCADE,
37
+ created_at INTEGER NOT NULL,
38
+ updated_at INTEGER NOT NULL
39
+ );
40
+ CREATE TABLE IF NOT EXISTS verifications (
41
+ id TEXT PRIMARY KEY,
42
+ identifier TEXT NOT NULL,
43
+ value TEXT NOT NULL,
44
+ expires_at INTEGER NOT NULL,
45
+ created_at INTEGER,
46
+ updated_at INTEGER
47
+ );
48
+ CREATE TABLE IF NOT EXISTS user_servers (
49
+ id TEXT PRIMARY KEY,
50
+ user_id TEXT NOT NULL REFERENCES users(id) ON DELETE CASCADE,
51
+ server_id TEXT NOT NULL,
52
+ permission TEXT NOT NULL DEFAULT 'view',
53
+ created_at INTEGER NOT NULL,
54
+ updated_at INTEGER NOT NULL
55
+ );
56
+ CREATE INDEX IF NOT EXISTS user_server_idx ON user_servers(user_id, server_id);
57
+ `);let m=(0,i.t)(u,{schema:n})},8290:(e,r,t)=>{"use strict";t.r(r),t.d(r,{accounts:()=>c,sessions:()=>d,userServers:()=>u,users:()=>o,verifications:()=>l});var s=t(80722),a=t(10160),i=t(30304),n=t(76303);let o=(0,s.Px)("users",{id:(0,a.fL)("id").primaryKey(),name:(0,a.fL)("name").notNull(),email:(0,a.fL)("email").notNull().unique(),emailVerified:(0,i._L)("email_verified",{mode:"boolean"}).notNull().default(!1),image:(0,a.fL)("image"),role:(0,a.fL)("role").notNull().default("user"),banned:(0,i._L)("banned",{mode:"boolean"}).default(!1),banReason:(0,a.fL)("ban_reason"),banExpires:(0,i._L)("ban_expires",{mode:"timestamp"}),createdAt:(0,i._L)("created_at",{mode:"timestamp"}).notNull().$defaultFn(()=>new Date),updatedAt:(0,i._L)("updated_at",{mode:"timestamp"}).notNull().$defaultFn(()=>new Date)}),d=(0,s.Px)("sessions",{id:(0,a.fL)("id").primaryKey(),expiresAt:(0,i._L)("expires_at",{mode:"timestamp"}).notNull(),token:(0,a.fL)("token").notNull().unique(),ipAddress:(0,a.fL)("ip_address"),userAgent:(0,a.fL)("user_agent"),userId:(0,a.fL)("user_id").notNull().references(()=>o.id,{onDelete:"cascade"}),createdAt:(0,i._L)("created_at",{mode:"timestamp"}).notNull().$defaultFn(()=>new Date),updatedAt:(0,i._L)("updated_at",{mode:"timestamp"}).notNull().$defaultFn(()=>new Date)}),c=(0,s.Px)("accounts",{id:(0,a.fL)("id").primaryKey(),accountId:(0,a.fL)("account_id").notNull(),providerId:(0,a.fL)("provider_id").notNull(),userId:(0,a.fL)("user_id").notNull().references(()=>o.id,{onDelete:"cascade"}),accessToken:(0,a.fL)("access_token"),refreshToken:(0,a.fL)("refresh_token"),idToken:(0,a.fL)("id_token"),accessTokenExpiresAt:(0,i._L)("access_token_expires_at",{mode:"timestamp"}),refreshTokenExpiresAt:(0,i._L)("refresh_token_expires_at",{mode:"timestamp"}),scope:(0,a.fL)("scope"),password:(0,a.fL)("password"),createdAt:(0,i._L)("created_at",{mode:"timestamp"}).notNull().$defaultFn(()=>new Date),updatedAt:(0,i._L)("updated_at",{mode:"timestamp"}).notNull().$defaultFn(()=>new Date)}),l=(0,s.Px)("verifications",{id:(0,a.fL)("id").primaryKey(),identifier:(0,a.fL)("identifier").notNull(),value:(0,a.fL)("value").notNull(),expiresAt:(0,i._L)("expires_at",{mode:"timestamp"}).notNull(),createdAt:(0,i._L)("created_at",{mode:"timestamp"}).$defaultFn(()=>new Date),updatedAt:(0,i._L)("updated_at",{mode:"timestamp"}).$defaultFn(()=>new Date)}),u=(0,s.Px)("user_servers",{id:(0,a.fL)("id").primaryKey().$defaultFn(()=>crypto.randomUUID()),userId:(0,a.fL)("user_id").notNull().references(()=>o.id,{onDelete:"cascade"}),serverId:(0,a.fL)("server_id").notNull(),permission:(0,a.fL)("permission").$type().notNull().default("view"),createdAt:(0,i._L)("created_at",{mode:"timestamp"}).notNull().$defaultFn(()=>new Date),updatedAt:(0,i._L)("updated_at",{mode:"timestamp"}).notNull().$defaultFn(()=>new Date)},e=>({userServerIdx:(0,n.Kz)("user_server_idx").on(e.userId,e.serverId)}))},56825:()=>{}};