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