@minecraft-docker/mcctl-console 2.6.1 → 2.7.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.next/standalone/platform/services/mcctl-console/.next/BUILD_ID +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/app-build-manifest.json +56 -56
- 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 +5 -5
- 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.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/admin/users/page.js.nft.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 +1 -1
- 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.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page.js.nft.json +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.js.nft.json +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.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/players/page.js.nft.json +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.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/routing/page.js.nft.json +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.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/console/page.js.nft.json +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.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/settings/page.js.nft.json +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.js.nft.json +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.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found/page.js.nft.json +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 +5 -5
- 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 +6 -6
- 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 +5 -5
- 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 +5 -5
- 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 +5 -5
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/login/page.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/login/page.js.nft.json +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 +5 -5
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/page.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/page.js.nft.json +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 +5 -5
- 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 +6 -6
- 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 +5 -5
- 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 +6 -6
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup/page.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup/page.js.nft.json +1 -1
- 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 +5 -5
- 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 +5 -5
- package/.next/standalone/platform/services/mcctl-console/.next/server/app-paths-manifest.json +21 -21
- package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/5843.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/6175.js +57 -0
- package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/6591.js +2 -0
- package/.next/standalone/platform/services/mcctl-console/.next/server/middleware-build-manifest.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/next-font-manifest.js +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/server/next-font-manifest.json +1 -1
- 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/2724-6be0c6be94353443.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/5787-bea4ee84b4bf2dea.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/7965-e1d52a92f5303aca.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/admin/users/{page-b4483a2e5c12dce7.js → page-db10014c56588381.js} +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/audit-logs/page-b8468e574885e74f.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/page-37b9107156ee1587.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/layout-37a5eb78e96aa17e.js +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/{webpack-c5f126aae1eac753.js → webpack-198a420ca2ddb7de.js} +1 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/css/0c287cf361a10682.css +1 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/0ea4f4df910e6120-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/1f160ec2cb9962ef-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/739c2d8941231bb4-s.p.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/ad8a7e2c3c2c120b-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/cde148027b808b99-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/e61ae719f7cc4155-s.woff2 +0 -0
- package/.next/static/chunks/2724-6be0c6be94353443.js +1 -0
- package/.next/static/chunks/5787-bea4ee84b4bf2dea.js +1 -0
- package/.next/static/chunks/7965-e1d52a92f5303aca.js +1 -0
- package/.next/static/chunks/app/(main)/admin/users/{page-b4483a2e5c12dce7.js → page-db10014c56588381.js} +1 -1
- package/.next/static/chunks/app/(main)/audit-logs/page-b8468e574885e74f.js +1 -0
- package/.next/static/chunks/app/(main)/servers/[name]/page-37b9107156ee1587.js +1 -0
- package/.next/static/chunks/app/layout-37a5eb78e96aa17e.js +1 -0
- package/.next/static/chunks/{webpack-c5f126aae1eac753.js → webpack-198a420ca2ddb7de.js} +1 -1
- package/.next/static/css/0c287cf361a10682.css +1 -0
- package/.next/static/media/0ea4f4df910e6120-s.woff2 +0 -0
- package/.next/static/media/1f160ec2cb9962ef-s.woff2 +0 -0
- package/.next/static/media/739c2d8941231bb4-s.p.woff2 +0 -0
- package/.next/static/media/ad8a7e2c3c2c120b-s.woff2 +0 -0
- package/.next/static/media/cde148027b808b99-s.woff2 +0 -0
- package/.next/static/media/e61ae719f7cc4155-s.woff2 +0 -0
- package/package.json +2 -2
- package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/4533.js +0 -2
- package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/613.js +0 -57
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/5645-d306bb768b5907c8.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/5787-3387a2b82bbb1e66.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/7965-51dfb844f8b8584c.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/audit-logs/page-90479d797d04efdb.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/page-2ec271596e09c5f1.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/layout-e0e626ece42c56d9.js +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/css/4d6bfee1e91e393d.css +0 -1
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/12a3e8885b69eb86-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/14d38ce06836ffee-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/19bbd60ccc95b5d0-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/23822ac40846484b-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/2fec16f4e3247070-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/33a864272e2b3e97-s.p.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/387866ce4a39ca39-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/3ecd40fce058ee61-s.p.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/4b1cfd3867993fed-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/64b603a0050c6c5e-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/70d2fd2b9078a5a3-s.p.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/77f5a85cac4ea515-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/854d2e4705543874-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/b188519314c42064-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/b22cdab1bc584ea3-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/b664222af7dcc13c-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/bda87828535b47a7-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/c99b890c5ded8d2e-s.p.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/cf66601165af2130-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/d39dd0fe2707b73f-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/dbd9849a8a735d72-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/e8773fdd4b7ad26f-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/eeeb642bd71d217b-s.woff2 +0 -0
- package/.next/standalone/platform/services/mcctl-console/.next/static/media/f882d86c499cfa5a-s.woff2 +0 -0
- package/.next/static/chunks/5645-d306bb768b5907c8.js +0 -1
- package/.next/static/chunks/5787-3387a2b82bbb1e66.js +0 -1
- package/.next/static/chunks/7965-51dfb844f8b8584c.js +0 -1
- package/.next/static/chunks/app/(main)/audit-logs/page-90479d797d04efdb.js +0 -1
- package/.next/static/chunks/app/(main)/servers/[name]/page-2ec271596e09c5f1.js +0 -1
- package/.next/static/chunks/app/layout-e0e626ece42c56d9.js +0 -1
- package/.next/static/css/4d6bfee1e91e393d.css +0 -1
- package/.next/static/media/12a3e8885b69eb86-s.woff2 +0 -0
- package/.next/static/media/14d38ce06836ffee-s.woff2 +0 -0
- package/.next/static/media/19bbd60ccc95b5d0-s.woff2 +0 -0
- package/.next/static/media/23822ac40846484b-s.woff2 +0 -0
- package/.next/static/media/2fec16f4e3247070-s.woff2 +0 -0
- package/.next/static/media/33a864272e2b3e97-s.p.woff2 +0 -0
- package/.next/static/media/387866ce4a39ca39-s.woff2 +0 -0
- package/.next/static/media/3ecd40fce058ee61-s.p.woff2 +0 -0
- package/.next/static/media/4b1cfd3867993fed-s.woff2 +0 -0
- package/.next/static/media/64b603a0050c6c5e-s.woff2 +0 -0
- package/.next/static/media/70d2fd2b9078a5a3-s.p.woff2 +0 -0
- package/.next/static/media/77f5a85cac4ea515-s.woff2 +0 -0
- package/.next/static/media/854d2e4705543874-s.woff2 +0 -0
- package/.next/static/media/b188519314c42064-s.woff2 +0 -0
- package/.next/static/media/b22cdab1bc584ea3-s.woff2 +0 -0
- package/.next/static/media/b664222af7dcc13c-s.woff2 +0 -0
- package/.next/static/media/bda87828535b47a7-s.woff2 +0 -0
- package/.next/static/media/c99b890c5ded8d2e-s.p.woff2 +0 -0
- package/.next/static/media/cf66601165af2130-s.woff2 +0 -0
- package/.next/static/media/d39dd0fe2707b73f-s.woff2 +0 -0
- package/.next/static/media/dbd9849a8a735d72-s.woff2 +0 -0
- package/.next/static/media/e8773fdd4b7ad26f-s.woff2 +0 -0
- package/.next/static/media/eeeb642bd71d217b-s.woff2 +0 -0
- package/.next/static/media/f882d86c499cfa5a-s.woff2 +0 -0
- /package/.next/standalone/platform/services/mcctl-console/.next/static/{vFi0GyYVE0v9zPFVmRQHq → Yn14R25oBpteEUUEyZNGO}/_buildManifest.js +0 -0
- /package/.next/standalone/platform/services/mcctl-console/.next/static/{vFi0GyYVE0v9zPFVmRQHq → Yn14R25oBpteEUUEyZNGO}/_ssgManifest.js +0 -0
- /package/.next/static/{vFi0GyYVE0v9zPFVmRQHq → Yn14R25oBpteEUUEyZNGO}/_buildManifest.js +0 -0
- /package/.next/static/{vFi0GyYVE0v9zPFVmRQHq → Yn14R25oBpteEUUEyZNGO}/_ssgManifest.js +0 -0
package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page.js
CHANGED
|
@@ -48,4 +48,4 @@
|
|
|
48
48
|
right: 0;
|
|
49
49
|
top: 0;
|
|
50
50
|
}
|
|
51
|
-
`),C,(t.vars||t).palette.action.hover)),k=n.forwardRef(function(e,t){let r=(0,u.i)({props:e,name:"MuiSkeleton"}),{animation:n="pulse",className:o,component:l="span",height:c,style:d,variant:x="text",width:h}=r,p=(0,a.Z)(r,g),v=(0,s.Z)({},r,{animation:n,component:l,variant:x,hasChildren:!!p.children}),Z=y(v);return(0,m.jsx)(S,(0,s.Z)({as:l,ref:t,className:(0,i.Z)(Z.root,o),ownerState:v},p,{style:(0,s.Z)({width:h,height:c},d)}))})},664:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var a=r(4981),s=r(36885),n=r(36372),i=r(30330),o=r(3693),l=r(9103),c=r(62923),d=r(89206),u=r(7967);function x(e){return(0,u.ZP)("MuiTableContainer",e)}(0,d.Z)("MuiTableContainer",["root"]);var h=r(58120);let p=["className","component"],m=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"]},x,t)},g=(0,c.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),v=n.forwardRef(function(e,t){let r=(0,l.i)({props:e,name:"MuiTableContainer"}),{className:n,component:o="div"}=r,c=(0,s.Z)(r,p),d=(0,a.Z)({},r,{component:o}),u=m(d);return(0,h.jsx)(g,(0,a.Z)({ref:t,as:o,className:(0,i.Z)(u.root,n),ownerState:d},c))})},57404:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>e5});var a,s=r(58120),n=r(36372),i=r(56539),o=r(89352),l=r(52329),c=r(2365),d=r(48787),u=r(95940),x=r(88517),h=r(69500),p=r(71438),m=r(55049),g=r(73100),v=r(67073),Z=r(92797),f=r(68913),j=r(78787),b=r(56846),y=r(73411),w=r(28669);function C({stats:e,isLoading:t}){if(t)return s.jsx(g.ZP,{container:!0,spacing:2,children:[0,1,2,3].map(e=>s.jsx(g.ZP,{item:!0,xs:6,md:3,children:s.jsx(v.Z,{children:(0,s.jsxs)(Z.Z,{children:[s.jsx(f.Z,{variant:"text",width:"60%"}),s.jsx(f.Z,{variant:"text",width:"40%",height:40}),s.jsx(f.Z,{variant:"text",width:"80%"})]})})},e))});let r=e?.total??0,a=r>0?((e?.byStatus.success??0)/r*100).toFixed(1):"0.0",n=e?.byStatus.failure??0,i=e?Object.keys(e.byActor).length:0,l=[{title:"Total Logs",value:r.toLocaleString(),icon:s.jsx(j.Z,{fontSize:"large"}),color:"#1bd96a",description:"All audit log entries"},{title:"Success Rate",value:`${a}%`,icon:s.jsx(b.Z,{fontSize:"large"}),color:"#22c55e",description:"Successful operations"},{title:"Failures",value:n,icon:s.jsx(y.Z,{fontSize:"large"}),color:"#ef4444",description:"Failed operations"},{title:"Active Users",value:i,icon:s.jsx(w.Z,{fontSize:"large"}),color:"#3b82f6",description:"Unique actors"}];return s.jsx(g.ZP,{container:!0,spacing:2,children:l.map(e=>s.jsx(g.ZP,{item:!0,xs:6,md:3,children:s.jsx(v.Z,{sx:{height:"100%",position:"relative",overflow:"hidden","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,height:"4px",background:e.color}},children:(0,s.jsxs)(Z.Z,{children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[s.jsx(c.Z,{variant:"body2",color:"text.secondary",sx:{fontWeight:500},children:e.title}),s.jsx(o.Z,{sx:{color:e.color,opacity:.8},children:e.icon})]}),s.jsx(c.Z,{variant:"h3",component:"div",sx:{fontWeight:700,color:"text.primary",mb:1},children:e.value}),s.jsx(c.Z,{variant:"caption",color:"text.secondary",children:e.description})]})})},e.title))})}var S=r(6275),k=r(73276),P=r(99634),T=r(32486),z=r(2200),M=r(10257),R=r(5374),I=r(54365),L=r(95661),A=r(95257),$=r(4503),B=r(85793),N=r(96468),F=r(84527),D=r(69807),E=r(39928);function W(e){return"server"===e?E.Xn:"player"===e?E.KK:E.xg}function q({filters:e,onFiltersChange:t,onExport:r}){let a;let[i,l]=(0,n.useState)(!0),u=(a=0,e.action&&a++,e.actor&&a++,e.targetType&&a++,e.targetName&&a++,e.status&&a++,e.from&&a++,e.to&&a++,a),x=W(e.targetType),h=(r,a)=>{let s={...e};""===a||void 0===a?delete s[r]:s[r]=a,"targetType"===r&&s.action&&!W(a).includes(s.action)&&delete s.action,s.offset=0,t(s)};return(0,s.jsxs)(o.Z,{sx:{mb:3},children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:i?2:0},children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,s.jsxs)(I.Z,{onClick:()=>l(!i),size:"small","aria-label":i?"Collapse filters":"Expand filters",children:[s.jsx($.Z,{}),i?s.jsx(D.Z,{sx:{fontSize:14}}):s.jsx(F.Z,{sx:{fontSize:14}})]}),s.jsx(c.Z,{variant:"subtitle2",color:"text.secondary",children:"Filters"}),u>0&&s.jsx(d.Z,{label:u,size:"small",color:"primary",sx:{height:20,fontSize:"0.7rem"}})]}),(0,s.jsxs)(o.Z,{sx:{display:"flex",gap:1},children:[u>0&&s.jsx(M.Z,{size:"small",startIcon:s.jsx(B.Z,{}),onClick:()=>{t({limit:e.limit,sort:e.sort})},color:"inherit",children:"Clear All"}),r&&s.jsx(M.Z,{size:"small",variant:"outlined",onClick:r,children:"Export"})]})]}),s.jsx(R.Z,{in:i,children:(0,s.jsxs)(o.Z,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},gap:2,flexWrap:"wrap"},children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",gap:1,alignItems:"center"},children:[s.jsx(S.Z,{type:"date",label:"From",size:"small",value:e.from?e.from.split("T")[0]:"",onChange:e=>{let t=e.target.value;h("from",t?`${t}T00:00:00Z`:void 0)},InputLabelProps:{shrink:!0},sx:{minWidth:150}}),s.jsx(c.Z,{variant:"body2",color:"text.secondary",children:"~"}),s.jsx(S.Z,{type:"date",label:"To",size:"small",value:e.to?e.to.split("T")[0]:"",onChange:e=>{let t=e.target.value;h("to",t?`${t}T23:59:59Z`:void 0)},InputLabelProps:{shrink:!0},sx:{minWidth:150}})]}),(0,s.jsxs)(T.Z,{size:"small",sx:{minWidth:160},children:[s.jsx(z.Z,{children:"Action"}),(0,s.jsxs)(k.Z,{value:e.action||"",label:"Action",onChange:e=>h("action",e.target.value||void 0),children:[s.jsx(P.Z,{value:"",children:"All Actions"}),x.map(e=>s.jsx(P.Z,{value:e,children:E.n3[e]||e},e))]})]}),s.jsx(o.Z,{children:(0,s.jsxs)(A.Z,{value:e.targetType||"",exclusive:!0,onChange:(e,t)=>h("targetType",t||void 0),size:"small",children:[s.jsx(L.Z,{value:"","aria-label":"All targets",children:"All"}),s.jsx(L.Z,{value:"server","aria-label":"Server targets",children:"Server"}),s.jsx(L.Z,{value:"player","aria-label":"Player targets",children:"Player"})]})}),s.jsx(o.Z,{children:(0,s.jsxs)(A.Z,{value:e.status||"",exclusive:!0,onChange:(e,t)=>h("status",t||void 0),size:"small",children:[s.jsx(L.Z,{value:"","aria-label":"All statuses",children:"All"}),s.jsx(L.Z,{value:"success","aria-label":"Success only",children:"Success"}),s.jsx(L.Z,{value:"failure","aria-label":"Failure only",children:"Failure"})]})}),s.jsx(S.Z,{label:"Target Name",placeholder:"Search...",size:"small",value:e.targetName||"",onChange:e=>h("targetName",e.target.value||void 0),InputProps:{startAdornment:s.jsx(N.Z,{sx:{color:"text.secondary",mr:.5,fontSize:18}})},sx:{minWidth:160}}),s.jsx(S.Z,{label:"Actor",placeholder:"e.g., api:admin",size:"small",value:e.actor||"",onChange:e=>h("actor",e.target.value||void 0),sx:{minWidth:140}})]})})]})}var O=r(37891),_=r(88916),H=r(75698),U=r(664),K=r(70862),V=r(59059),X=r(36885),G=r(4981),J=r(30330),Q=r(3693),Y=r(5384),ee=r(62923),et=r(9103),er=r(6232),ea=r(39497),es=r(10587),en=r(29235),ei=r(63645),eo=r(59647);let el=(0,eo.Z)((0,s.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),ec=(0,eo.Z)((0,s.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),ed=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],eu=n.forwardRef(function(e,t){var r,a,n,i,o,l,c,d;let{backIconButtonProps:u,count:x,disabled:h=!1,getItemAriaLabel:p,nextIconButtonProps:m,onPageChange:g,page:v,rowsPerPage:Z,showFirstButton:f,showLastButton:j,slots:b={},slotProps:y={}}=e,w=(0,X.Z)(e,ed),C=(0,es.V)(),S=null!=(r=b.firstButton)?r:I.Z,k=null!=(a=b.lastButton)?a:I.Z,P=null!=(n=b.nextButton)?n:I.Z,T=null!=(i=b.previousButton)?i:I.Z,z=null!=(o=b.firstButtonIcon)?o:ec,M=null!=(l=b.lastButtonIcon)?l:el,R=null!=(c=b.nextButtonIcon)?c:ei.Z,L=null!=(d=b.previousButtonIcon)?d:en.Z,A=C?k:S,$=C?P:T,B=C?T:P,N=C?S:k,F=C?y.lastButton:y.firstButton,D=C?y.nextButton:y.previousButton,E=C?y.previousButton:y.nextButton,W=C?y.firstButton:y.lastButton;return(0,s.jsxs)("div",(0,G.Z)({ref:t},w,{children:[f&&(0,s.jsx)(A,(0,G.Z)({onClick:e=>{g(e,0)},disabled:h||0===v,"aria-label":p("first",v),title:p("first",v)},F,{children:C?(0,s.jsx)(M,(0,G.Z)({},y.lastButtonIcon)):(0,s.jsx)(z,(0,G.Z)({},y.firstButtonIcon))})),(0,s.jsx)($,(0,G.Z)({onClick:e=>{g(e,v-1)},disabled:h||0===v,color:"inherit","aria-label":p("previous",v),title:p("previous",v)},null!=D?D:u,{children:C?(0,s.jsx)(R,(0,G.Z)({},y.nextButtonIcon)):(0,s.jsx)(L,(0,G.Z)({},y.previousButtonIcon))})),(0,s.jsx)(B,(0,G.Z)({onClick:e=>{g(e,v+1)},disabled:h||-1!==x&&v>=Math.ceil(x/Z)-1,color:"inherit","aria-label":p("next",v),title:p("next",v)},null!=E?E:m,{children:C?(0,s.jsx)(L,(0,G.Z)({},y.previousButtonIcon)):(0,s.jsx)(R,(0,G.Z)({},y.nextButtonIcon))})),j&&(0,s.jsx)(N,(0,G.Z)({onClick:e=>{g(e,Math.max(0,Math.ceil(x/Z)-1))},disabled:h||v>=Math.ceil(x/Z)-1,"aria-label":p("last",v),title:p("last",v)},W,{children:C?(0,s.jsx)(z,(0,G.Z)({},y.firstButtonIcon)):(0,s.jsx)(M,(0,G.Z)({},y.lastButtonIcon))}))]}))});var ex=r(59906),eh=r(89206),ep=r(7967);function em(e){return(0,ep.ZP)("MuiTablePagination",e)}let eg=(0,eh.Z)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),ev=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],eZ=(0,ee.ZP)(H.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}})),ef=(0,ee.ZP)(ea.Z,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>(0,G.Z)({[`& .${eg.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},[`& .${eg.actions}`]:{flexShrink:0,marginLeft:20}})),ej=(0,ee.ZP)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),eb=(0,ee.ZP)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>(0,G.Z)({},e.typography.body2,{flexShrink:0})),ey=(0,ee.ZP)(k.Z,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>(0,G.Z)({[`& .${eg.selectIcon}`]:t.selectIcon,[`& .${eg.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${eg.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),ew=(0,ee.ZP)(P.Z,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),eC=(0,ee.ZP)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>(0,G.Z)({},e.typography.body2,{flexShrink:0}));function eS({from:e,to:t,count:r}){return`${e}–${t} of ${-1!==r?r:`more than ${t}`}`}function ek(e){return`Go to ${e} page`}let eP=e=>{let{classes:t}=e;return(0,Q.Z)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},em,t)},eT=n.forwardRef(function(e,t){var r;let i;let o=(0,et.i)({props:e,name:"MuiTablePagination"}),{ActionsComponent:l=eu,backIconButtonProps:c,className:d,colSpan:u,component:x=H.Z,count:h,disabled:p=!1,getItemAriaLabel:m=ek,labelDisplayedRows:g=eS,labelRowsPerPage:v="Rows per page:",nextIconButtonProps:Z,onPageChange:f,onRowsPerPageChange:j,page:b,rowsPerPage:y,rowsPerPageOptions:w=[10,25,50,100],SelectProps:C={},showFirstButton:S=!1,showLastButton:k=!1,slotProps:P={},slots:T={}}=o,z=(0,X.Z)(o,ev),M=eP(o),R=null!=(r=null==P?void 0:P.select)?r:C,I=R.native?"option":ew;(x===H.Z||"td"===x)&&(i=u||1e3);let L=(0,ex.Z)(R.id),A=(0,ex.Z)(R.labelId);return(0,s.jsx)(eZ,(0,G.Z)({colSpan:i,ref:t,as:x,ownerState:o,className:(0,J.Z)(M.root,d)},z,{children:(0,s.jsxs)(ef,{className:M.toolbar,children:[(0,s.jsx)(ej,{className:M.spacer}),w.length>1&&(0,s.jsx)(eb,{className:M.selectLabel,id:A,children:v}),w.length>1&&(0,s.jsx)(ey,(0,G.Z)({variant:"standard"},!R.variant&&{input:a||(a=(0,s.jsx)(er.ZP,{}))},{value:y,onChange:j,id:L,labelId:A},R,{classes:(0,G.Z)({},R.classes,{root:(0,J.Z)(M.input,M.selectRoot,(R.classes||{}).root),select:(0,J.Z)(M.select,(R.classes||{}).select),icon:(0,J.Z)(M.selectIcon,(R.classes||{}).icon)}),disabled:p,children:w.map(e=>(0,n.createElement)(I,(0,G.Z)({},!(0,Y.Z)(I)&&{ownerState:o},{className:M.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e))})),(0,s.jsx)(eC,{className:M.displayedRows,children:g({from:0===h?0:b*y+1,to:-1===h?(b+1)*y:-1===y?h:Math.min(h,(b+1)*y),count:-1===h?-1:h,page:b})}),(0,s.jsx)(l,{className:M.actions,backIconButtonProps:c,count:h,nextIconButtonProps:Z,onPageChange:f,page:b,rowsPerPage:y,showFirstButton:S,showLastButton:k,slotProps:P.actions,slots:T.actions,getItemAriaLabel:m,disabled:p})]})}))});var ez=r(98243),eM=r(66757),eR=r(82538),eI=r(47481),eL=r(43908),eA=r(38481),e$=r(40611);function eB({log:e,onClick:t}){var r,a;let[i,l]=(0,n.useState)("failure"===e.status),u=e.details&&Object.keys(e.details).length>0,x="failure"===e.status&&e.errorMessage,h=u||x,g=(r=e.targetType,a=e.targetName,"server"===r?`/servers/${encodeURIComponent(a)}`:"player"===r?"/players":null);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(V.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(H.Z,{padding:"checkbox",sx:{width:48},children:h&&s.jsx(I.Z,{size:"small",onClick:e=>{e.stopPropagation(),l(!i)},"aria-label":i?"Collapse details":"Expand details",children:i?s.jsx(eI.Z,{}):s.jsx(eR.Z,{})})}),s.jsx(H.Z,{children:s.jsx(ez.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(c.Z,{variant:"body2",color:"text.secondary",sx:{whiteSpace:"nowrap"},children:function(e){let t=new Date,r=new Date(e),a=Math.floor((t.getTime()-r.getTime())/1e3),s=Math.floor(a/60),n=Math.floor(s/60),i=Math.floor(n/24);return a<60?"just now":s<60?`${s}m ago`:n<24?`${n}h ago`:i<7?`${i}d ago`:new Intl.DateTimeFormat(void 0,{month:"short",day:"numeric"}).format(r)}(e.timestamp)})})}),s.jsx(H.Z,{children:s.jsx(p.I,{action:e.action})}),s.jsx(H.Z,{children:e.actor.startsWith("cli:")?s.jsx(d.Z,{label:e.actor.replace("cli:",""),size:"small",variant:"outlined",sx:{fontSize:"0.75rem"}}):s.jsx(c.Z,{variant:"body2",children:e.actor.replace("api:","")})}),s.jsx(H.Z,{children:(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center"},children:[function(e){switch(e){case"server":return s.jsx(eL.Z,{sx:{fontSize:16,mr:.5,color:"text.secondary"}});case"player":return s.jsx(eA.Z,{sx:{fontSize:16,mr:.5,color:"text.secondary"}});default:return null}}(e.targetType),g?s.jsx(e$.default,{href:g,style:{textDecoration:"none"},onClick:e=>e.stopPropagation(),children:s.jsx(c.Z,{variant:"body2",sx:{color:"primary.main","&:hover":{textDecoration:"underline"}},children:e.targetName})}):s.jsx(c.Z,{variant:"body2",children:e.targetName})]})}),s.jsx(H.Z,{children:s.jsx(m.c,{status:e.status})})]}),h&&s.jsx(V.Z,{children:s.jsx(H.Z,{sx:{py:0},colSpan:6,children:s.jsx(R.Z,{in:i,timeout:"auto",unmountOnExit:!0,children:(0,s.jsxs)(o.Z,{sx:{py:2,px:2},children:[x&&s.jsx(eM.Z,{severity:"error",sx:{mb:2},children:e.errorMessage}),u&&(0,s.jsxs)(o.Z,{children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{mb:1,display:"block"},children:"Details"}),s.jsx(O.Z,{size:"small",sx:{width:"auto"},children:s.jsx(_.Z,{children:Object.entries(e.details).map(([e,t])=>(0,s.jsxs)(V.Z,{children:[s.jsx(H.Z,{sx:{fontWeight:600,color:"text.secondary",border:"none",py:.5,pl:0},children:e}),s.jsx(H.Z,{sx:{border:"none",py:.5},children:String(t)})]},e))})})]})]})})})})]})}function eN({logs:e,total:t,isLoading:r,error:a,filters:n,onFiltersChange:i,onRowClick:o,onRetry:d}){let u=Math.floor((n.offset||0)/(n.limit||50)),x=n.limit||50;return r?s.jsx(l.Z,{children:s.jsx(U.Z,{children:(0,s.jsxs)(O.Z,{children:[s.jsx(K.Z,{children:(0,s.jsxs)(V.Z,{children:[s.jsx(H.Z,{padding:"checkbox"}),s.jsx(H.Z,{children:"Timestamp"}),s.jsx(H.Z,{children:"Action"}),s.jsx(H.Z,{children:"Actor"}),s.jsx(H.Z,{children:"Target"}),s.jsx(H.Z,{children:"Status"})]})}),s.jsx(_.Z,{children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,s.jsxs)(V.Z,{children:[s.jsx(H.Z,{padding:"checkbox"}),s.jsx(H.Z,{children:s.jsx(f.Z,{variant:"text",width:80})}),s.jsx(H.Z,{children:s.jsx(f.Z,{variant:"rounded",width:70,height:24})}),s.jsx(H.Z,{children:s.jsx(f.Z,{variant:"text",width:60})}),s.jsx(H.Z,{children:s.jsx(f.Z,{variant:"text",width:100})}),s.jsx(H.Z,{children:s.jsx(f.Z,{variant:"rounded",width:50,height:24})})]},t))})]})})}):a?s.jsx(eM.Z,{severity:"error",action:d&&s.jsx(M.Z,{color:"inherit",size:"small",onClick:d,children:"Retry"}),children:a.message||"Failed to load audit logs"}):0===e.length?(0,s.jsxs)(l.Z,{sx:{p:6,textAlign:"center"},children:[s.jsx(j.Z,{sx:{fontSize:64,color:"text.disabled",mb:2}}),s.jsx(c.Z,{variant:"h6",color:"text.secondary",gutterBottom:!0,children:"No audit logs found"}),s.jsx(c.Z,{variant:"body2",color:"text.disabled",sx:{mb:2},children:"Try adjusting your filters or check back later."}),s.jsx(M.Z,{variant:"outlined",size:"small",onClick:()=>i({limit:n.limit,sort:n.sort}),children:"Reset Filters"})]}):(0,s.jsxs)(l.Z,{children:[s.jsx(U.Z,{sx:{overflowX:"auto"},children:(0,s.jsxs)(O.Z,{size:"small",children:[s.jsx(K.Z,{children:(0,s.jsxs)(V.Z,{children:[s.jsx(H.Z,{padding:"checkbox",sx:{width:48}}),s.jsx(H.Z,{sx:{fontWeight:600,whiteSpace:"nowrap"},children:"Timestamp"}),s.jsx(H.Z,{sx:{fontWeight:600},children:"Action"}),s.jsx(H.Z,{sx:{fontWeight:600},children:"Actor"}),s.jsx(H.Z,{sx:{fontWeight:600},children:"Target"}),s.jsx(H.Z,{sx:{fontWeight:600},children:"Status"})]})}),s.jsx(_.Z,{children:e.map(e=>s.jsx(eB,{log:e,onClick:o},e.id))})]})}),s.jsx(eT,{component:"div",count:t,page:u,onPageChange:(e,t)=>{i({...n,offset:t*x})},rowsPerPage:x,onRowsPerPageChange:e=>{let t=parseInt(e.target.value,10);i({...n,limit:t,offset:0})},rowsPerPageOptions:[25,50,100],"aria-label":"Audit log pagination"})]})}var eF=r(33549),eD=r(80336),eE=r(65137),eW=r(22599),eq=r(58664),eO=r(73091),e_=r(63856),eH=r(79943),eU=r(33615),eK=r(15784);function eV({logs:e}){return 0===e.length?s.jsx(c.Z,{variant:"body2",color:"text.secondary",sx:{py:2,textAlign:"center"},children:"No related logs found"}):s.jsx(eq.Z,{dense:!0,sx:{py:0},children:e.map(e=>s.jsx(eO.ZP,{sx:{px:0,py:1,"&:not(:last-child)":{borderBottom:"1px solid",borderColor:"divider"}},children:s.jsx(e_.Z,{primary:(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[s.jsx(p.I,{action:e.action,size:"small"}),e.targetName&&s.jsx(c.Z,{variant:"body2",color:"text.secondary",children:e.targetName})]}),secondary:function(e){let t=new Date,r=new Date(e),a=Math.floor((t.getTime()-r.getTime())/6e4),s=Math.floor(a/60);return a<60?`${a}m ago`:s<24?`${s}h ago`:`${Math.floor(s/24)}d ago`}(e.timestamp)})},e.id))})}function eX({log:e,open:t,onClose:r}){let[a,i]=(0,n.useState)(0),{data:l,isLoading:d}=(0,eK.VM)(e?.id??null,{enabled:t&&!!e});return(0,s.jsxs)(eF.ZP,{anchor:"right",open:t,onClose:r,sx:{"& .MuiDrawer-paper":{width:{xs:"100%",sm:420},maxWidth:"100%"}},children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",p:2,borderBottom:"1px solid",borderColor:"divider"},children:[s.jsx(c.Z,{variant:"h6",component:"h2",children:"Audit Log Detail"}),s.jsx(I.Z,{onClick:r,"aria-label":"Close detail drawer",autoFocus:!0,children:s.jsx(eU.Z,{})})]}),s.jsx(o.Z,{sx:{p:2,overflow:"auto",flex:1},children:e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"ID"}),s.jsx(c.Z,{variant:"body2",sx:{fontFamily:"monospace",fontSize:"0.8rem",wordBreak:"break-all"},children:e.id})]}),(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"Timestamp"}),s.jsx(c.Z,{variant:"body2",children: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)})]}),(0,s.jsxs)(o.Z,{sx:{display:"flex",gap:3,mb:3},children:[(0,s.jsxs)(o.Z,{children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"Action"}),s.jsx(p.I,{action:e.action,size:"medium"})]}),(0,s.jsxs)(o.Z,{children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"Status"}),s.jsx(m.c,{status:e.status,size:"medium"})]})]}),(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"Actor"}),s.jsx(c.Z,{variant:"body2",children:e.actor})]}),(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"Target"}),(0,s.jsxs)(c.Z,{variant:"body2",children:[e.targetType,"/",e.targetName]})]}),"failure"===e.status&&e.errorMessage&&s.jsx(eM.Z,{severity:"error",sx:{mb:3},children:e.errorMessage}),e.details&&Object.keys(e.details).length>0&&(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(eD.Z,{sx:{mb:2}}),s.jsx(c.Z,{variant:"subtitle2",sx:{mb:1},children:"Details"}),s.jsx(O.Z,{size:"small",children:s.jsx(_.Z,{children:Object.entries(e.details).map(([e,t])=>(0,s.jsxs)(V.Z,{children:[s.jsx(H.Z,{sx:{fontWeight:600,color:"text.secondary",border:"none",py:.5,pl:0,width:"40%"},children:e}),s.jsx(H.Z,{sx:{border:"none",py:.5},children:String(t)})]},e))})})]}),s.jsx(eD.Z,{sx:{mb:2}}),s.jsx(c.Z,{variant:"subtitle2",sx:{mb:1},children:"Related Logs"}),d?s.jsx(o.Z,{sx:{display:"flex",justifyContent:"center",py:3},children:s.jsx(eH.Z,{size:24})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(eE.Z,{value:a,onChange:(e,t)=>i(t),sx:{mb:1},children:[s.jsx(eW.Z,{label:`Same Target (${l?.relatedLogs.sameTarget.length??0})`,sx:{textTransform:"none",fontSize:"0.8rem"}}),s.jsx(eW.Z,{label:`Same Actor (${l?.relatedLogs.sameActor.length??0})`,sx:{textTransform:"none",fontSize:"0.8rem"}})]}),0===a&&s.jsx(eV,{logs:l?.relatedLogs.sameTarget??[]}),1===a&&s.jsx(eV,{logs:l?.relatedLogs.sameActor??[]})]})]}):s.jsx(c.Z,{color:"text.secondary",children:"No log selected"})})]})}var eG=r(34443),eJ=r(44696),eQ=r(15539),eY=r(51290),e0=r(86202);function e1({open:e,onClose:t,filters:r,totalCount:a}){let[i,l]=(0,n.useState)("csv"),[d,u]=(0,n.useState)(!1),[x,h]=(0,n.useState)(null),p=function(e){let t=[];return e.action&&t.push(`Action: ${e.action}`),e.actor&&t.push(`Actor: ${e.actor}`),e.targetType&&t.push(`Type: ${e.targetType}`),e.targetName&&t.push(`Target: ${e.targetName}`),e.status&&t.push(`Status: ${e.status}`),e.from&&t.push(`From: ${e.from.split("T")[0]}`),e.to&&t.push(`To: ${e.to.split("T")[0]}`),t}(r),m=async()=>{u(!0),h(null);try{let e=function(e,t){let r=new URLSearchParams;return r.set("format",t),e.action&&r.set("action",e.action),e.actor&&r.set("actor",e.actor),e.targetType&&r.set("targetType",e.targetType),e.targetName&&r.set("targetName",e.targetName),e.status&&r.set("status",e.status),e.from&&r.set("from",e.from),e.to&&r.set("to",e.to),`/api/audit-logs/export?${r.toString()}`}(r,i),a=await fetch(e);if(!a.ok){let e=await a.json().catch(()=>({message:"Export failed"}));throw Error(e.message||"Export failed")}let s=await a.blob(),n=window.URL.createObjectURL(s),o=document.createElement("a");o.href=n;let l=a.headers.get("Content-Disposition"),c=l?.match(/filename="?([^"]+)"?/);o.download=c?.[1]||`audit-logs.${i}`,document.body.appendChild(o),o.click(),document.body.removeChild(o),window.URL.revokeObjectURL(n),t()}catch(e){h(e instanceof Error?e.message:"Export failed")}finally{u(!1)}};return(0,s.jsxs)(eG.Z,{open:e,onClose:t,maxWidth:"sm",fullWidth:!0,children:[s.jsx(eJ.Z,{children:"Export Audit Logs"}),(0,s.jsxs)(eQ.Z,{children:[(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"subtitle2",sx:{mb:1},children:"Format"}),(0,s.jsxs)(A.Z,{value:i,exclusive:!0,onChange:(e,t)=>t&&l(t),size:"small",children:[s.jsx(L.Z,{value:"csv",children:"CSV"}),s.jsx(L.Z,{value:"json",children:"JSON"})]})]}),(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"subtitle2",sx:{mb:1},children:"Applied Filters"}),p.length>0?s.jsx(o.Z,{sx:{display:"flex",flexDirection:"column",gap:.5},children:p.map(e=>s.jsx(c.Z,{variant:"body2",color:"text.secondary",children:e},e))}):s.jsx(c.Z,{variant:"body2",color:"text.secondary",children:"No filters applied (all logs)"})]}),(0,s.jsxs)(o.Z,{sx:{mb:2},children:[s.jsx(c.Z,{variant:"subtitle2",sx:{mb:.5},children:"Estimated Rows"}),(0,s.jsxs)(c.Z,{variant:"body2",color:"text.secondary",children:[Math.min(a,5e3).toLocaleString()," rows"]})]}),a>5e3&&(0,s.jsxs)(eM.Z,{severity:"warning",sx:{mb:2},children:["Export is limited to ",5e3.toLocaleString()," rows. Total matching logs: ",a.toLocaleString(),". Consider narrowing your filters for a complete export."]}),x&&s.jsx(eM.Z,{severity:"error",sx:{mb:2},children:x})]}),(0,s.jsxs)(eY.Z,{children:[s.jsx(M.Z,{onClick:t,disabled:d,children:"Cancel"}),s.jsx(M.Z,{variant:"contained",startIcon:d?s.jsx(eH.Z,{size:16,color:"inherit"}):s.jsx(e0.Z,{}),onClick:m,disabled:d,children:d?"Exporting...":`Export ${i.toUpperCase()}`})]})]})}var e2=r(47893);function e5(){(0,i.useRouter)();let e=(0,i.useSearchParams)(),[t,r]=(0,n.useState)(()=>(function(e){let t={},r=e.get("action"),a=e.get("actor"),s=e.get("targetType"),n=e.get("targetName"),i=e.get("status"),o=e.get("from"),l=e.get("to"),c=e.get("limit"),d=e.get("offset"),u=e.get("sort");return r&&(t.action=r),a&&(t.actor=a),s&&(t.targetType=s),n&&(t.targetName=n),i&&(t.status=i),o&&(t.from=o),l&&(t.to=l),c&&(t.limit=parseInt(c,10)),d&&(t.offset=parseInt(d,10)),("timestamp:asc"===u||"timestamp:desc"===u)&&(t.sort=u),t})(e)),[a,p]=(0,n.useState)(null),[m,g]=(0,n.useState)(!1),[v,Z]=(0,n.useState)(!1),[f,j]=(0,n.useState)(0),b=(0,n.useRef)(new Set),{data:y,isLoading:w,error:S,refetch:k}=(0,eK.hT)(t),{data:P,isLoading:T}=(0,eK.DM)(),{isConnected:z}=(0,e2.D)({url:"/api/audit-logs/stream",enabled:!0,onMessage:(0,n.useCallback)(e=>{if("audit-log"===e.type){let t=e.data;if("id"in t&&"string"==typeof t.id){if(b.current.has(t.id))return;if(b.current.add(t.id),b.current.size>1e3){let e=Array.from(b.current);b.current=new Set(e.slice(e.length-500))}}j(e=>e+1)}},[]),reconnectInterval:3e3,maxReconnectAttempts:1/0}),M=(0,n.useCallback)(e=>{r(e),j(0)},[]),R=(0,n.useCallback)(e=>{p(e),g(!0)},[]),I=(0,n.useCallback)(()=>{j(0),k()},[k]);return(0,s.jsxs)(s.Fragment,{children:[s.jsx(l.Z,{elevation:0,sx:{mb:4,p:3,background:e=>`linear-gradient(135deg, ${(0,u.Fq)(e.palette.warning.main,.1)} 0%, ${(0,u.Fq)(e.palette.error.main,.1)} 100%)`,borderRadius:2,border:e=>`1px solid ${(0,u.Fq)(e.palette.warning.main,.2)}`},children:(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",gap:2},children:[s.jsx(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:2,bgcolor:"warning.main",color:"warning.contrastText"},children:s.jsx(x.Z,{sx:{fontSize:32}})}),(0,s.jsxs)(o.Z,{sx:{flex:1},children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",gap:1.5},children:[s.jsx(c.Z,{variant:"h4",component:"h1",fontWeight:"bold",children:"Audit Log"}),s.jsx(d.Z,{icon:s.jsx(h.Z,{sx:{fontSize:10,color:z?"success.main":"text.disabled",animation:z?"pulse 2s infinite":"none","@keyframes pulse":{"0%":{opacity:1},"50%":{opacity:.4},"100%":{opacity:1}}}}),label:z?"Live":"Offline",size:"small",variant:"outlined",sx:{fontSize:"0.7rem"}})]}),s.jsx(c.Z,{variant:"body1",color:"text.secondary",children:"Monitor all management activities across your servers"})]})]})}),s.jsx(o.Z,{sx:{mb:3},children:s.jsx(C,{stats:P,isLoading:T})}),f>0&&s.jsx(o.Z,{sx:{mb:2,p:1.5,textAlign:"center",bgcolor:"primary.main",color:"primary.contrastText",borderRadius:1,cursor:"pointer","&:hover":{opacity:.9}},onClick:I,role:"button","aria-label":`${f} new logs, click to refresh`,children:(0,s.jsxs)(c.Z,{variant:"body2",fontWeight:600,children:[f," new ",1===f?"log":"logs"," available - Click to refresh"]})}),s.jsx(q,{filters:t,onFiltersChange:M,onExport:()=>Z(!0)}),s.jsx(eN,{logs:y?.logs??[],total:y?.total??0,isLoading:w,error:S,filters:t,onFiltersChange:M,onRowClick:R,onRetry:()=>k()}),s.jsx(eX,{log:a,open:m,onClose:()=>{g(!1),p(null)}}),s.jsx(e1,{open:v,onClose:()=>Z(!1),filters:t,totalCount:y?.total??0})]})}},71438:(e,t,r)=>{"use strict";r.d(t,{I:()=>i});var a=r(58120),s=r(48787),n=r(39928);function i({action:e,size:t="small"}){let r=n.Lu[e]||"default",i=n.n3[e]||e;return a.jsx(s.Z,{label:i,color:r,size:t,variant:"filled",sx:{fontWeight:600,fontSize:"small"===t?"0.7rem":"0.8rem"}})}},55049:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var a=r(58120),s=r(48787),n=r(56846),i=r(72690);function o({status:e,size:t="small"}){return a.jsx(s.Z,{icon:"success"===e?a.jsx(n.Z,{}):a.jsx(i.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"}})}},43137:(e,t,r)=>{"use strict";async function a(e,t={}){let r={...t.headers};t.body&&(r["Content-Type"]="application/json");let a=await fetch(e,{...t,headers:r});if(!a.ok){let e=await a.json().catch(()=>({error:"UnknownError",message:a.statusText})),t=Error(e.message);throw t.statusCode=a.status,t.code=e.error,t}return a.json()}r.d(t,{SC:()=>a})},15784:(e,t,r)=>{"use strict";r.d(t,{DM:()=>i,HZ:()=>l,VM:()=>o,hT:()=>n,oL:()=>c});var a=r(28872),s=r(43137);function n(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,a.a)({queryKey:["audit-logs",e],queryFn:()=>(0,s.SC)(`/api/audit-logs${r}`),enabled:t?.enabled!==!1})}function i(e){return(0,a.a)({queryKey:["audit-logs","stats"],queryFn:()=>(0,s.SC)("/api/audit-logs/stats"),enabled:e?.enabled!==!1,refetchInterval:3e4})}function o(e,t){return(0,a.a)({queryKey:["audit-logs",e],queryFn:()=>(0,s.SC)(`/api/audit-logs/${encodeURIComponent(e)}`),enabled:t?.enabled!==!1&&!!e})}function l(e,t){return n({targetType:"server",targetName:e,limit:t?.limit??20},{enabled:t?.enabled!==!1&&!!e})}function c(e=10){return n({limit:e,sort:"timestamp:desc"})}},47893:(e,t,r)=>{"use strict";r.d(t,{D:()=>s});var a=r(36372);function s(e){let{url:t,onMessage:r,onError:s,reconnectInterval:n=3e3,maxReconnectAttempts:i=1/0,enabled:o=!0,withCredentials:l=!1}=e,[c,d]=(0,a.useState)(null),[u,x]=(0,a.useState)("disconnected"),[h,p]=(0,a.useState)(null),[m,g]=(0,a.useState)(0),v=(0,a.useRef)(null);return(0,a.useCallback)(e=>{d(e),r?.(e)},[r]),(0,a.useCallback)(e=>{x(e),"connected"===e&&g(0)},[]),(0,a.useCallback)(e=>{p(e),"number"==typeof e.retryCount&&g(e.retryCount),s?.(e)},[s]),{data:c,isConnected:"connected"===u,state:u,error:h,retryCount:m,reconnect:(0,a.useCallback)(()=>{v.current&&(v.current.reconnect(),g(v.current.getRetryCount()))},[]),disconnect:(0,a.useCallback)(()=>{v.current&&v.current.disconnect()},[])}}},39928:(e,t,r)=>{"use strict";r.d(t,{KK:()=>o,Lu:()=>a,Xn:()=>i,n3:()=>s,xg:()=>n});let a={"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"},s={"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"},n=["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"],i=["server.create","server.delete","server.start","server.stop","server.restart"],o=["player.whitelist.add","player.whitelist.remove","player.ban","player.unban","player.op","player.deop","player.kick"]},2461:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});let a=(0,r(2325).createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/audit-logs/page.tsx#default`)}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[9836,1489,4533,3043,8847,7573,8872,4859,8243,6088,8504,1645,9874,613,354],()=>r(68840));module.exports=a})();
|
|
51
|
+
`),C,(t.vars||t).palette.action.hover)),k=n.forwardRef(function(e,t){let r=(0,u.i)({props:e,name:"MuiSkeleton"}),{animation:n="pulse",className:o,component:l="span",height:c,style:d,variant:x="text",width:h}=r,p=(0,a.Z)(r,g),v=(0,s.Z)({},r,{animation:n,component:l,variant:x,hasChildren:!!p.children}),Z=y(v);return(0,m.jsx)(S,(0,s.Z)({as:l,ref:t,className:(0,i.Z)(Z.root,o),ownerState:v},p,{style:(0,s.Z)({width:h,height:c},d)}))})},664:(e,t,r)=>{"use strict";r.d(t,{Z:()=>v});var a=r(4981),s=r(36885),n=r(36372),i=r(30330),o=r(3693),l=r(9103),c=r(62923),d=r(89206),u=r(7967);function x(e){return(0,u.ZP)("MuiTableContainer",e)}(0,d.Z)("MuiTableContainer",["root"]);var h=r(58120);let p=["className","component"],m=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"]},x,t)},g=(0,c.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),v=n.forwardRef(function(e,t){let r=(0,l.i)({props:e,name:"MuiTableContainer"}),{className:n,component:o="div"}=r,c=(0,s.Z)(r,p),d=(0,a.Z)({},r,{component:o}),u=m(d);return(0,h.jsx)(g,(0,a.Z)({ref:t,as:o,className:(0,i.Z)(u.root,n),ownerState:d},c))})},57404:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>e5});var a,s=r(58120),n=r(36372),i=r(56539),o=r(89352),l=r(52329),c=r(2365),d=r(48787),u=r(95940),x=r(88517),h=r(69500),p=r(71438),m=r(55049),g=r(73100),v=r(67073),Z=r(92797),f=r(68913),j=r(78787),b=r(56846),y=r(73411),w=r(28669);function C({stats:e,isLoading:t}){if(t)return s.jsx(g.ZP,{container:!0,spacing:2,children:[0,1,2,3].map(e=>s.jsx(g.ZP,{item:!0,xs:6,md:3,children:s.jsx(v.Z,{children:(0,s.jsxs)(Z.Z,{children:[s.jsx(f.Z,{variant:"text",width:"60%"}),s.jsx(f.Z,{variant:"text",width:"40%",height:40}),s.jsx(f.Z,{variant:"text",width:"80%"})]})})},e))});let r=e?.total??0,a=r>0?((e?.byStatus.success??0)/r*100).toFixed(1):"0.0",n=e?.byStatus.failure??0,i=e?Object.keys(e.byActor).length:0,l=[{title:"Total Logs",value:r.toLocaleString(),icon:s.jsx(j.Z,{fontSize:"large"}),color:"#1bd96a",description:"All audit log entries"},{title:"Success Rate",value:`${a}%`,icon:s.jsx(b.Z,{fontSize:"large"}),color:"#22c55e",description:"Successful operations"},{title:"Failures",value:n,icon:s.jsx(y.Z,{fontSize:"large"}),color:"#ef4444",description:"Failed operations"},{title:"Active Users",value:i,icon:s.jsx(w.Z,{fontSize:"large"}),color:"#3b82f6",description:"Unique actors"}];return s.jsx(g.ZP,{container:!0,spacing:2,children:l.map(e=>s.jsx(g.ZP,{item:!0,xs:6,md:3,children:s.jsx(v.Z,{sx:{height:"100%",position:"relative",overflow:"hidden","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,height:"4px",background:e.color}},children:(0,s.jsxs)(Z.Z,{children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[s.jsx(c.Z,{variant:"body2",color:"text.secondary",sx:{fontWeight:500},children:e.title}),s.jsx(o.Z,{sx:{color:e.color,opacity:.8},children:e.icon})]}),s.jsx(c.Z,{variant:"h3",component:"div",sx:{fontWeight:700,color:"text.primary",mb:1},children:e.value}),s.jsx(c.Z,{variant:"caption",color:"text.secondary",children:e.description})]})})},e.title))})}var S=r(6275),k=r(73276),P=r(99634),T=r(32486),z=r(2200),M=r(10257),R=r(5374),I=r(54365),L=r(95661),A=r(95257),$=r(4503),B=r(85793),N=r(96468),F=r(84527),D=r(69807),E=r(39928);function W(e){return"server"===e?E.Xn:"player"===e?E.KK:E.xg}function q({filters:e,onFiltersChange:t,onExport:r}){let a;let[i,l]=(0,n.useState)(!0),u=(a=0,e.action&&a++,e.actor&&a++,e.targetType&&a++,e.targetName&&a++,e.status&&a++,e.from&&a++,e.to&&a++,a),x=W(e.targetType),h=(r,a)=>{let s={...e};""===a||void 0===a?delete s[r]:s[r]=a,"targetType"===r&&s.action&&!W(a).includes(s.action)&&delete s.action,s.offset=0,t(s)};return(0,s.jsxs)(o.Z,{sx:{mb:3},children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:i?2:0},children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,s.jsxs)(I.Z,{onClick:()=>l(!i),size:"small","aria-label":i?"Collapse filters":"Expand filters",children:[s.jsx($.Z,{}),i?s.jsx(D.Z,{sx:{fontSize:14}}):s.jsx(F.Z,{sx:{fontSize:14}})]}),s.jsx(c.Z,{variant:"subtitle2",color:"text.secondary",children:"Filters"}),u>0&&s.jsx(d.Z,{label:u,size:"small",color:"primary",sx:{height:20,fontSize:"0.7rem"}})]}),(0,s.jsxs)(o.Z,{sx:{display:"flex",gap:1},children:[u>0&&s.jsx(M.Z,{size:"small",startIcon:s.jsx(B.Z,{}),onClick:()=>{t({limit:e.limit,sort:e.sort})},color:"inherit",children:"Clear All"}),r&&s.jsx(M.Z,{size:"small",variant:"outlined",onClick:r,children:"Export"})]})]}),s.jsx(R.Z,{in:i,children:(0,s.jsxs)(o.Z,{sx:{display:"flex",flexDirection:{xs:"column",md:"row"},gap:2,flexWrap:"wrap"},children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",gap:1,alignItems:"center"},children:[s.jsx(S.Z,{type:"date",label:"From",size:"small",value:e.from?e.from.split("T")[0]:"",onChange:e=>{let t=e.target.value;h("from",t?`${t}T00:00:00Z`:void 0)},InputLabelProps:{shrink:!0},sx:{minWidth:150}}),s.jsx(c.Z,{variant:"body2",color:"text.secondary",children:"~"}),s.jsx(S.Z,{type:"date",label:"To",size:"small",value:e.to?e.to.split("T")[0]:"",onChange:e=>{let t=e.target.value;h("to",t?`${t}T23:59:59Z`:void 0)},InputLabelProps:{shrink:!0},sx:{minWidth:150}})]}),(0,s.jsxs)(T.Z,{size:"small",sx:{minWidth:160},children:[s.jsx(z.Z,{children:"Action"}),(0,s.jsxs)(k.Z,{value:e.action||"",label:"Action",onChange:e=>h("action",e.target.value||void 0),children:[s.jsx(P.Z,{value:"",children:"All Actions"}),x.map(e=>s.jsx(P.Z,{value:e,children:E.n3[e]||e},e))]})]}),s.jsx(o.Z,{children:(0,s.jsxs)(A.Z,{value:e.targetType||"",exclusive:!0,onChange:(e,t)=>h("targetType",t||void 0),size:"small",children:[s.jsx(L.Z,{value:"","aria-label":"All targets",children:"All"}),s.jsx(L.Z,{value:"server","aria-label":"Server targets",children:"Server"}),s.jsx(L.Z,{value:"player","aria-label":"Player targets",children:"Player"})]})}),s.jsx(o.Z,{children:(0,s.jsxs)(A.Z,{value:e.status||"",exclusive:!0,onChange:(e,t)=>h("status",t||void 0),size:"small",children:[s.jsx(L.Z,{value:"","aria-label":"All statuses",children:"All"}),s.jsx(L.Z,{value:"success","aria-label":"Success only",children:"Success"}),s.jsx(L.Z,{value:"failure","aria-label":"Failure only",children:"Failure"})]})}),s.jsx(S.Z,{label:"Target Name",placeholder:"Search...",size:"small",value:e.targetName||"",onChange:e=>h("targetName",e.target.value||void 0),InputProps:{startAdornment:s.jsx(N.Z,{sx:{color:"text.secondary",mr:.5,fontSize:18}})},sx:{minWidth:160}}),s.jsx(S.Z,{label:"Actor",placeholder:"e.g., api:admin",size:"small",value:e.actor||"",onChange:e=>h("actor",e.target.value||void 0),sx:{minWidth:140}})]})})]})}var O=r(37891),_=r(88916),H=r(75698),U=r(664),K=r(70862),V=r(59059),X=r(36885),G=r(4981),J=r(30330),Q=r(3693),Y=r(5384),ee=r(62923),et=r(9103),er=r(6232),ea=r(39497),es=r(10587),en=r(29235),ei=r(63645),eo=r(59647);let el=(0,eo.Z)((0,s.jsx)("path",{d:"M5.59 7.41L10.18 12l-4.59 4.59L7 18l6-6-6-6zM16 6h2v12h-2z"}),"LastPage"),ec=(0,eo.Z)((0,s.jsx)("path",{d:"M18.41 16.59L13.82 12l4.59-4.59L17 6l-6 6 6 6zM6 6h2v12H6z"}),"FirstPage"),ed=["backIconButtonProps","count","disabled","getItemAriaLabel","nextIconButtonProps","onPageChange","page","rowsPerPage","showFirstButton","showLastButton","slots","slotProps"],eu=n.forwardRef(function(e,t){var r,a,n,i,o,l,c,d;let{backIconButtonProps:u,count:x,disabled:h=!1,getItemAriaLabel:p,nextIconButtonProps:m,onPageChange:g,page:v,rowsPerPage:Z,showFirstButton:f,showLastButton:j,slots:b={},slotProps:y={}}=e,w=(0,X.Z)(e,ed),C=(0,es.V)(),S=null!=(r=b.firstButton)?r:I.Z,k=null!=(a=b.lastButton)?a:I.Z,P=null!=(n=b.nextButton)?n:I.Z,T=null!=(i=b.previousButton)?i:I.Z,z=null!=(o=b.firstButtonIcon)?o:ec,M=null!=(l=b.lastButtonIcon)?l:el,R=null!=(c=b.nextButtonIcon)?c:ei.Z,L=null!=(d=b.previousButtonIcon)?d:en.Z,A=C?k:S,$=C?P:T,B=C?T:P,N=C?S:k,F=C?y.lastButton:y.firstButton,D=C?y.nextButton:y.previousButton,E=C?y.previousButton:y.nextButton,W=C?y.firstButton:y.lastButton;return(0,s.jsxs)("div",(0,G.Z)({ref:t},w,{children:[f&&(0,s.jsx)(A,(0,G.Z)({onClick:e=>{g(e,0)},disabled:h||0===v,"aria-label":p("first",v),title:p("first",v)},F,{children:C?(0,s.jsx)(M,(0,G.Z)({},y.lastButtonIcon)):(0,s.jsx)(z,(0,G.Z)({},y.firstButtonIcon))})),(0,s.jsx)($,(0,G.Z)({onClick:e=>{g(e,v-1)},disabled:h||0===v,color:"inherit","aria-label":p("previous",v),title:p("previous",v)},null!=D?D:u,{children:C?(0,s.jsx)(R,(0,G.Z)({},y.nextButtonIcon)):(0,s.jsx)(L,(0,G.Z)({},y.previousButtonIcon))})),(0,s.jsx)(B,(0,G.Z)({onClick:e=>{g(e,v+1)},disabled:h||-1!==x&&v>=Math.ceil(x/Z)-1,color:"inherit","aria-label":p("next",v),title:p("next",v)},null!=E?E:m,{children:C?(0,s.jsx)(L,(0,G.Z)({},y.previousButtonIcon)):(0,s.jsx)(R,(0,G.Z)({},y.nextButtonIcon))})),j&&(0,s.jsx)(N,(0,G.Z)({onClick:e=>{g(e,Math.max(0,Math.ceil(x/Z)-1))},disabled:h||v>=Math.ceil(x/Z)-1,"aria-label":p("last",v),title:p("last",v)},W,{children:C?(0,s.jsx)(z,(0,G.Z)({},y.firstButtonIcon)):(0,s.jsx)(M,(0,G.Z)({},y.lastButtonIcon))}))]}))});var ex=r(59906),eh=r(89206),ep=r(7967);function em(e){return(0,ep.ZP)("MuiTablePagination",e)}let eg=(0,eh.Z)("MuiTablePagination",["root","toolbar","spacer","selectLabel","selectRoot","select","selectIcon","input","menuItem","displayedRows","actions"]),ev=["ActionsComponent","backIconButtonProps","className","colSpan","component","count","disabled","getItemAriaLabel","labelDisplayedRows","labelRowsPerPage","nextIconButtonProps","onPageChange","onRowsPerPageChange","page","rowsPerPage","rowsPerPageOptions","SelectProps","showFirstButton","showLastButton","slotProps","slots"],eZ=(0,ee.ZP)(H.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}})),ef=(0,ee.ZP)(ea.Z,{name:"MuiTablePagination",slot:"Toolbar",overridesResolver:(e,t)=>(0,G.Z)({[`& .${eg.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},[`& .${eg.actions}`]:{flexShrink:0,marginLeft:20}})),ej=(0,ee.ZP)("div",{name:"MuiTablePagination",slot:"Spacer",overridesResolver:(e,t)=>t.spacer})({flex:"1 1 100%"}),eb=(0,ee.ZP)("p",{name:"MuiTablePagination",slot:"SelectLabel",overridesResolver:(e,t)=>t.selectLabel})(({theme:e})=>(0,G.Z)({},e.typography.body2,{flexShrink:0})),ey=(0,ee.ZP)(k.Z,{name:"MuiTablePagination",slot:"Select",overridesResolver:(e,t)=>(0,G.Z)({[`& .${eg.selectIcon}`]:t.selectIcon,[`& .${eg.select}`]:t.select},t.input,t.selectRoot)})({color:"inherit",fontSize:"inherit",flexShrink:0,marginRight:32,marginLeft:8,[`& .${eg.select}`]:{paddingLeft:8,paddingRight:24,textAlign:"right",textAlignLast:"right"}}),ew=(0,ee.ZP)(P.Z,{name:"MuiTablePagination",slot:"MenuItem",overridesResolver:(e,t)=>t.menuItem})({}),eC=(0,ee.ZP)("p",{name:"MuiTablePagination",slot:"DisplayedRows",overridesResolver:(e,t)=>t.displayedRows})(({theme:e})=>(0,G.Z)({},e.typography.body2,{flexShrink:0}));function eS({from:e,to:t,count:r}){return`${e}–${t} of ${-1!==r?r:`more than ${t}`}`}function ek(e){return`Go to ${e} page`}let eP=e=>{let{classes:t}=e;return(0,Q.Z)({root:["root"],toolbar:["toolbar"],spacer:["spacer"],selectLabel:["selectLabel"],select:["select"],input:["input"],selectIcon:["selectIcon"],menuItem:["menuItem"],displayedRows:["displayedRows"],actions:["actions"]},em,t)},eT=n.forwardRef(function(e,t){var r;let i;let o=(0,et.i)({props:e,name:"MuiTablePagination"}),{ActionsComponent:l=eu,backIconButtonProps:c,className:d,colSpan:u,component:x=H.Z,count:h,disabled:p=!1,getItemAriaLabel:m=ek,labelDisplayedRows:g=eS,labelRowsPerPage:v="Rows per page:",nextIconButtonProps:Z,onPageChange:f,onRowsPerPageChange:j,page:b,rowsPerPage:y,rowsPerPageOptions:w=[10,25,50,100],SelectProps:C={},showFirstButton:S=!1,showLastButton:k=!1,slotProps:P={},slots:T={}}=o,z=(0,X.Z)(o,ev),M=eP(o),R=null!=(r=null==P?void 0:P.select)?r:C,I=R.native?"option":ew;(x===H.Z||"td"===x)&&(i=u||1e3);let L=(0,ex.Z)(R.id),A=(0,ex.Z)(R.labelId);return(0,s.jsx)(eZ,(0,G.Z)({colSpan:i,ref:t,as:x,ownerState:o,className:(0,J.Z)(M.root,d)},z,{children:(0,s.jsxs)(ef,{className:M.toolbar,children:[(0,s.jsx)(ej,{className:M.spacer}),w.length>1&&(0,s.jsx)(eb,{className:M.selectLabel,id:A,children:v}),w.length>1&&(0,s.jsx)(ey,(0,G.Z)({variant:"standard"},!R.variant&&{input:a||(a=(0,s.jsx)(er.ZP,{}))},{value:y,onChange:j,id:L,labelId:A},R,{classes:(0,G.Z)({},R.classes,{root:(0,J.Z)(M.input,M.selectRoot,(R.classes||{}).root),select:(0,J.Z)(M.select,(R.classes||{}).select),icon:(0,J.Z)(M.selectIcon,(R.classes||{}).icon)}),disabled:p,children:w.map(e=>(0,n.createElement)(I,(0,G.Z)({},!(0,Y.Z)(I)&&{ownerState:o},{className:M.menuItem,key:e.label?e.label:e,value:e.value?e.value:e}),e.label?e.label:e))})),(0,s.jsx)(eC,{className:M.displayedRows,children:g({from:0===h?0:b*y+1,to:-1===h?(b+1)*y:-1===y?h:Math.min(h,(b+1)*y),count:-1===h?-1:h,page:b})}),(0,s.jsx)(l,{className:M.actions,backIconButtonProps:c,count:h,nextIconButtonProps:Z,onPageChange:f,page:b,rowsPerPage:y,showFirstButton:S,showLastButton:k,slotProps:P.actions,slots:T.actions,getItemAriaLabel:m,disabled:p})]})}))});var ez=r(98243),eM=r(66757),eR=r(82538),eI=r(47481),eL=r(43908),eA=r(38481),e$=r(40611);function eB({log:e,onClick:t}){var r,a;let[i,l]=(0,n.useState)("failure"===e.status),u=e.details&&Object.keys(e.details).length>0,x="failure"===e.status&&e.errorMessage,h=u||x,g=(r=e.targetType,a=e.targetName,"server"===r?`/servers/${encodeURIComponent(a)}`:"player"===r?"/players":null);return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(V.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(H.Z,{padding:"checkbox",sx:{width:48},children:h&&s.jsx(I.Z,{size:"small",onClick:e=>{e.stopPropagation(),l(!i)},"aria-label":i?"Collapse details":"Expand details",children:i?s.jsx(eI.Z,{}):s.jsx(eR.Z,{})})}),s.jsx(H.Z,{children:s.jsx(ez.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(c.Z,{variant:"body2",color:"text.secondary",sx:{whiteSpace:"nowrap"},children:function(e){let t=new Date,r=new Date(e),a=Math.floor((t.getTime()-r.getTime())/1e3),s=Math.floor(a/60),n=Math.floor(s/60),i=Math.floor(n/24);return a<60?"just now":s<60?`${s}m ago`:n<24?`${n}h ago`:i<7?`${i}d ago`:new Intl.DateTimeFormat(void 0,{month:"short",day:"numeric"}).format(r)}(e.timestamp)})})}),s.jsx(H.Z,{children:s.jsx(p.I,{action:e.action})}),s.jsx(H.Z,{children:e.actor.startsWith("cli:")?s.jsx(d.Z,{label:e.actor.replace("cli:",""),size:"small",variant:"outlined",sx:{fontSize:"0.75rem"}}):s.jsx(c.Z,{variant:"body2",children:e.actor.replace("api:","")})}),s.jsx(H.Z,{children:(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center"},children:[function(e){switch(e){case"server":return s.jsx(eL.Z,{sx:{fontSize:16,mr:.5,color:"text.secondary"}});case"player":return s.jsx(eA.Z,{sx:{fontSize:16,mr:.5,color:"text.secondary"}});default:return null}}(e.targetType),g?s.jsx(e$.default,{href:g,style:{textDecoration:"none"},onClick:e=>e.stopPropagation(),children:s.jsx(c.Z,{variant:"body2",sx:{color:"primary.main","&:hover":{textDecoration:"underline"}},children:e.targetName})}):s.jsx(c.Z,{variant:"body2",children:e.targetName})]})}),s.jsx(H.Z,{children:s.jsx(m.c,{status:e.status})})]}),h&&s.jsx(V.Z,{children:s.jsx(H.Z,{sx:{py:0},colSpan:6,children:s.jsx(R.Z,{in:i,timeout:"auto",unmountOnExit:!0,children:(0,s.jsxs)(o.Z,{sx:{py:2,px:2},children:[x&&s.jsx(eM.Z,{severity:"error",sx:{mb:2},children:e.errorMessage}),u&&(0,s.jsxs)(o.Z,{children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{mb:1,display:"block"},children:"Details"}),s.jsx(O.Z,{size:"small",sx:{width:"auto"},children:s.jsx(_.Z,{children:Object.entries(e.details).map(([e,t])=>(0,s.jsxs)(V.Z,{children:[s.jsx(H.Z,{sx:{fontWeight:600,color:"text.secondary",border:"none",py:.5,pl:0},children:e}),s.jsx(H.Z,{sx:{border:"none",py:.5},children:String(t)})]},e))})})]})]})})})})]})}function eN({logs:e,total:t,isLoading:r,error:a,filters:n,onFiltersChange:i,onRowClick:o,onRetry:d}){let u=Math.floor((n.offset||0)/(n.limit||50)),x=n.limit||50;return r?s.jsx(l.Z,{children:s.jsx(U.Z,{children:(0,s.jsxs)(O.Z,{children:[s.jsx(K.Z,{children:(0,s.jsxs)(V.Z,{children:[s.jsx(H.Z,{padding:"checkbox"}),s.jsx(H.Z,{children:"Timestamp"}),s.jsx(H.Z,{children:"Action"}),s.jsx(H.Z,{children:"Actor"}),s.jsx(H.Z,{children:"Target"}),s.jsx(H.Z,{children:"Status"})]})}),s.jsx(_.Z,{children:[void 0,void 0,void 0,void 0,void 0].map((e,t)=>(0,s.jsxs)(V.Z,{children:[s.jsx(H.Z,{padding:"checkbox"}),s.jsx(H.Z,{children:s.jsx(f.Z,{variant:"text",width:80})}),s.jsx(H.Z,{children:s.jsx(f.Z,{variant:"rounded",width:70,height:24})}),s.jsx(H.Z,{children:s.jsx(f.Z,{variant:"text",width:60})}),s.jsx(H.Z,{children:s.jsx(f.Z,{variant:"text",width:100})}),s.jsx(H.Z,{children:s.jsx(f.Z,{variant:"rounded",width:50,height:24})})]},t))})]})})}):a?s.jsx(eM.Z,{severity:"error",action:d&&s.jsx(M.Z,{color:"inherit",size:"small",onClick:d,children:"Retry"}),children:a.message||"Failed to load audit logs"}):0===e.length?(0,s.jsxs)(l.Z,{sx:{p:6,textAlign:"center"},children:[s.jsx(j.Z,{sx:{fontSize:64,color:"text.disabled",mb:2}}),s.jsx(c.Z,{variant:"h6",color:"text.secondary",gutterBottom:!0,children:"No audit logs found"}),s.jsx(c.Z,{variant:"body2",color:"text.disabled",sx:{mb:2},children:"Try adjusting your filters or check back later."}),s.jsx(M.Z,{variant:"outlined",size:"small",onClick:()=>i({limit:n.limit,sort:n.sort}),children:"Reset Filters"})]}):(0,s.jsxs)(l.Z,{children:[s.jsx(U.Z,{sx:{overflowX:"auto"},children:(0,s.jsxs)(O.Z,{size:"small",children:[s.jsx(K.Z,{children:(0,s.jsxs)(V.Z,{children:[s.jsx(H.Z,{padding:"checkbox",sx:{width:48}}),s.jsx(H.Z,{sx:{fontWeight:600,whiteSpace:"nowrap"},children:"Timestamp"}),s.jsx(H.Z,{sx:{fontWeight:600},children:"Action"}),s.jsx(H.Z,{sx:{fontWeight:600},children:"Actor"}),s.jsx(H.Z,{sx:{fontWeight:600},children:"Target"}),s.jsx(H.Z,{sx:{fontWeight:600},children:"Status"})]})}),s.jsx(_.Z,{children:e.map(e=>s.jsx(eB,{log:e,onClick:o},e.id))})]})}),s.jsx(eT,{component:"div",count:t,page:u,onPageChange:(e,t)=>{i({...n,offset:t*x})},rowsPerPage:x,onRowsPerPageChange:e=>{let t=parseInt(e.target.value,10);i({...n,limit:t,offset:0})},rowsPerPageOptions:[25,50,100],"aria-label":"Audit log pagination"})]})}var eF=r(33549),eD=r(80336),eE=r(65137),eW=r(22599),eq=r(58664),eO=r(73091),e_=r(63856),eH=r(79943),eU=r(33615),eK=r(15784);function eV({logs:e}){return 0===e.length?s.jsx(c.Z,{variant:"body2",color:"text.secondary",sx:{py:2,textAlign:"center"},children:"No related logs found"}):s.jsx(eq.Z,{dense:!0,sx:{py:0},children:e.map(e=>s.jsx(eO.ZP,{sx:{px:0,py:1,"&:not(:last-child)":{borderBottom:"1px solid",borderColor:"divider"}},children:s.jsx(e_.Z,{primary:(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[s.jsx(p.I,{action:e.action,size:"small"}),e.targetName&&s.jsx(c.Z,{variant:"body2",color:"text.secondary",children:e.targetName})]}),secondary:function(e){let t=new Date,r=new Date(e),a=Math.floor((t.getTime()-r.getTime())/6e4),s=Math.floor(a/60);return a<60?`${a}m ago`:s<24?`${s}h ago`:`${Math.floor(s/24)}d ago`}(e.timestamp)})},e.id))})}function eX({log:e,open:t,onClose:r}){let[a,i]=(0,n.useState)(0),{data:l,isLoading:d}=(0,eK.VM)(e?.id??null,{enabled:t&&!!e});return(0,s.jsxs)(eF.ZP,{anchor:"right",open:t,onClose:r,sx:{"& .MuiDrawer-paper":{width:{xs:"100%",sm:420},maxWidth:"100%"}},children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",p:2,borderBottom:"1px solid",borderColor:"divider"},children:[s.jsx(c.Z,{variant:"h6",component:"h2",children:"Audit Log Detail"}),s.jsx(I.Z,{onClick:r,"aria-label":"Close detail drawer",autoFocus:!0,children:s.jsx(eU.Z,{})})]}),s.jsx(o.Z,{sx:{p:2,overflow:"auto",flex:1},children:e?(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"ID"}),s.jsx(c.Z,{variant:"body2",sx:{fontFamily:'"Roboto Mono", monospace',fontSize:"0.8rem",wordBreak:"break-all"},children:e.id})]}),(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"Timestamp"}),s.jsx(c.Z,{variant:"body2",children: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)})]}),(0,s.jsxs)(o.Z,{sx:{display:"flex",gap:3,mb:3},children:[(0,s.jsxs)(o.Z,{children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"Action"}),s.jsx(p.I,{action:e.action,size:"medium"})]}),(0,s.jsxs)(o.Z,{children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"Status"}),s.jsx(m.c,{status:e.status,size:"medium"})]})]}),(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"Actor"}),s.jsx(c.Z,{variant:"body2",children:e.actor})]}),(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"caption",color:"text.secondary",sx:{display:"block",mb:.5},children:"Target"}),(0,s.jsxs)(c.Z,{variant:"body2",children:[e.targetType,"/",e.targetName]})]}),"failure"===e.status&&e.errorMessage&&s.jsx(eM.Z,{severity:"error",sx:{mb:3},children:e.errorMessage}),e.details&&Object.keys(e.details).length>0&&(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(eD.Z,{sx:{mb:2}}),s.jsx(c.Z,{variant:"subtitle2",sx:{mb:1},children:"Details"}),s.jsx(O.Z,{size:"small",children:s.jsx(_.Z,{children:Object.entries(e.details).map(([e,t])=>(0,s.jsxs)(V.Z,{children:[s.jsx(H.Z,{sx:{fontWeight:600,color:"text.secondary",border:"none",py:.5,pl:0,width:"40%"},children:e}),s.jsx(H.Z,{sx:{border:"none",py:.5},children:String(t)})]},e))})})]}),s.jsx(eD.Z,{sx:{mb:2}}),s.jsx(c.Z,{variant:"subtitle2",sx:{mb:1},children:"Related Logs"}),d?s.jsx(o.Z,{sx:{display:"flex",justifyContent:"center",py:3},children:s.jsx(eH.Z,{size:24})}):(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(eE.Z,{value:a,onChange:(e,t)=>i(t),sx:{mb:1},children:[s.jsx(eW.Z,{label:`Same Target (${l?.relatedLogs.sameTarget.length??0})`,sx:{textTransform:"none",fontSize:"0.8rem"}}),s.jsx(eW.Z,{label:`Same Actor (${l?.relatedLogs.sameActor.length??0})`,sx:{textTransform:"none",fontSize:"0.8rem"}})]}),0===a&&s.jsx(eV,{logs:l?.relatedLogs.sameTarget??[]}),1===a&&s.jsx(eV,{logs:l?.relatedLogs.sameActor??[]})]})]}):s.jsx(c.Z,{color:"text.secondary",children:"No log selected"})})]})}var eG=r(34443),eJ=r(44696),eQ=r(15539),eY=r(51290),e0=r(86202);function e1({open:e,onClose:t,filters:r,totalCount:a}){let[i,l]=(0,n.useState)("csv"),[d,u]=(0,n.useState)(!1),[x,h]=(0,n.useState)(null),p=function(e){let t=[];return e.action&&t.push(`Action: ${e.action}`),e.actor&&t.push(`Actor: ${e.actor}`),e.targetType&&t.push(`Type: ${e.targetType}`),e.targetName&&t.push(`Target: ${e.targetName}`),e.status&&t.push(`Status: ${e.status}`),e.from&&t.push(`From: ${e.from.split("T")[0]}`),e.to&&t.push(`To: ${e.to.split("T")[0]}`),t}(r),m=async()=>{u(!0),h(null);try{let e=function(e,t){let r=new URLSearchParams;return r.set("format",t),e.action&&r.set("action",e.action),e.actor&&r.set("actor",e.actor),e.targetType&&r.set("targetType",e.targetType),e.targetName&&r.set("targetName",e.targetName),e.status&&r.set("status",e.status),e.from&&r.set("from",e.from),e.to&&r.set("to",e.to),`/api/audit-logs/export?${r.toString()}`}(r,i),a=await fetch(e);if(!a.ok){let e=await a.json().catch(()=>({message:"Export failed"}));throw Error(e.message||"Export failed")}let s=await a.blob(),n=window.URL.createObjectURL(s),o=document.createElement("a");o.href=n;let l=a.headers.get("Content-Disposition"),c=l?.match(/filename="?([^"]+)"?/);o.download=c?.[1]||`audit-logs.${i}`,document.body.appendChild(o),o.click(),document.body.removeChild(o),window.URL.revokeObjectURL(n),t()}catch(e){h(e instanceof Error?e.message:"Export failed")}finally{u(!1)}};return(0,s.jsxs)(eG.Z,{open:e,onClose:t,maxWidth:"sm",fullWidth:!0,children:[s.jsx(eJ.Z,{children:"Export Audit Logs"}),(0,s.jsxs)(eQ.Z,{children:[(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"subtitle2",sx:{mb:1},children:"Format"}),(0,s.jsxs)(A.Z,{value:i,exclusive:!0,onChange:(e,t)=>t&&l(t),size:"small",children:[s.jsx(L.Z,{value:"csv",children:"CSV"}),s.jsx(L.Z,{value:"json",children:"JSON"})]})]}),(0,s.jsxs)(o.Z,{sx:{mb:3},children:[s.jsx(c.Z,{variant:"subtitle2",sx:{mb:1},children:"Applied Filters"}),p.length>0?s.jsx(o.Z,{sx:{display:"flex",flexDirection:"column",gap:.5},children:p.map(e=>s.jsx(c.Z,{variant:"body2",color:"text.secondary",children:e},e))}):s.jsx(c.Z,{variant:"body2",color:"text.secondary",children:"No filters applied (all logs)"})]}),(0,s.jsxs)(o.Z,{sx:{mb:2},children:[s.jsx(c.Z,{variant:"subtitle2",sx:{mb:.5},children:"Estimated Rows"}),(0,s.jsxs)(c.Z,{variant:"body2",color:"text.secondary",children:[Math.min(a,5e3).toLocaleString()," rows"]})]}),a>5e3&&(0,s.jsxs)(eM.Z,{severity:"warning",sx:{mb:2},children:["Export is limited to ",5e3.toLocaleString()," rows. Total matching logs: ",a.toLocaleString(),". Consider narrowing your filters for a complete export."]}),x&&s.jsx(eM.Z,{severity:"error",sx:{mb:2},children:x})]}),(0,s.jsxs)(eY.Z,{children:[s.jsx(M.Z,{onClick:t,disabled:d,children:"Cancel"}),s.jsx(M.Z,{variant:"contained",startIcon:d?s.jsx(eH.Z,{size:16,color:"inherit"}):s.jsx(e0.Z,{}),onClick:m,disabled:d,children:d?"Exporting...":`Export ${i.toUpperCase()}`})]})]})}var e2=r(47893);function e5(){(0,i.useRouter)();let e=(0,i.useSearchParams)(),[t,r]=(0,n.useState)(()=>(function(e){let t={},r=e.get("action"),a=e.get("actor"),s=e.get("targetType"),n=e.get("targetName"),i=e.get("status"),o=e.get("from"),l=e.get("to"),c=e.get("limit"),d=e.get("offset"),u=e.get("sort");return r&&(t.action=r),a&&(t.actor=a),s&&(t.targetType=s),n&&(t.targetName=n),i&&(t.status=i),o&&(t.from=o),l&&(t.to=l),c&&(t.limit=parseInt(c,10)),d&&(t.offset=parseInt(d,10)),("timestamp:asc"===u||"timestamp:desc"===u)&&(t.sort=u),t})(e)),[a,p]=(0,n.useState)(null),[m,g]=(0,n.useState)(!1),[v,Z]=(0,n.useState)(!1),[f,j]=(0,n.useState)(0),b=(0,n.useRef)(new Set),{data:y,isLoading:w,error:S,refetch:k}=(0,eK.hT)(t),{data:P,isLoading:T}=(0,eK.DM)(),{isConnected:z}=(0,e2.D)({url:"/api/audit-logs/stream",enabled:!0,onMessage:(0,n.useCallback)(e=>{if("audit-log"===e.type){let t=e.data;if("id"in t&&"string"==typeof t.id){if(b.current.has(t.id))return;if(b.current.add(t.id),b.current.size>1e3){let e=Array.from(b.current);b.current=new Set(e.slice(e.length-500))}}j(e=>e+1)}},[]),reconnectInterval:3e3,maxReconnectAttempts:1/0}),M=(0,n.useCallback)(e=>{r(e),j(0)},[]),R=(0,n.useCallback)(e=>{p(e),g(!0)},[]),I=(0,n.useCallback)(()=>{j(0),k()},[k]);return(0,s.jsxs)(s.Fragment,{children:[s.jsx(l.Z,{elevation:0,sx:{mb:4,p:3,background:e=>`linear-gradient(135deg, ${(0,u.Fq)(e.palette.warning.main,.1)} 0%, ${(0,u.Fq)(e.palette.error.main,.1)} 100%)`,borderRadius:2,border:e=>`1px solid ${(0,u.Fq)(e.palette.warning.main,.2)}`},children:(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",gap:2},children:[s.jsx(o.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:2,bgcolor:"warning.main",color:"warning.contrastText"},children:s.jsx(x.Z,{sx:{fontSize:32}})}),(0,s.jsxs)(o.Z,{sx:{flex:1},children:[(0,s.jsxs)(o.Z,{sx:{display:"flex",alignItems:"center",gap:1.5},children:[s.jsx(c.Z,{variant:"h4",component:"h1",fontWeight:"bold",children:"Audit Log"}),s.jsx(d.Z,{icon:s.jsx(h.Z,{sx:{fontSize:10,color:z?"success.main":"text.disabled",animation:z?"pulse 2s infinite":"none","@keyframes pulse":{"0%":{opacity:1},"50%":{opacity:.4},"100%":{opacity:1}}}}),label:z?"Live":"Offline",size:"small",variant:"outlined",sx:{fontSize:"0.7rem"}})]}),s.jsx(c.Z,{variant:"body1",color:"text.secondary",children:"Monitor all management activities across your servers"})]})]})}),s.jsx(o.Z,{sx:{mb:3},children:s.jsx(C,{stats:P,isLoading:T})}),f>0&&s.jsx(o.Z,{sx:{mb:2,p:1.5,textAlign:"center",bgcolor:"primary.main",color:"primary.contrastText",borderRadius:1,cursor:"pointer","&:hover":{opacity:.9}},onClick:I,role:"button","aria-label":`${f} new logs, click to refresh`,children:(0,s.jsxs)(c.Z,{variant:"body2",fontWeight:600,children:[f," new ",1===f?"log":"logs"," available - Click to refresh"]})}),s.jsx(q,{filters:t,onFiltersChange:M,onExport:()=>Z(!0)}),s.jsx(eN,{logs:y?.logs??[],total:y?.total??0,isLoading:w,error:S,filters:t,onFiltersChange:M,onRowClick:R,onRetry:()=>k()}),s.jsx(eX,{log:a,open:m,onClose:()=>{g(!1),p(null)}}),s.jsx(e1,{open:v,onClose:()=>Z(!1),filters:t,totalCount:y?.total??0})]})}},71438:(e,t,r)=>{"use strict";r.d(t,{I:()=>i});var a=r(58120),s=r(48787),n=r(39928);function i({action:e,size:t="small"}){let r=n.Lu[e]||"default",i=n.n3[e]||e;return a.jsx(s.Z,{label:i,color:r,size:t,variant:"filled",sx:{fontWeight:600,fontSize:"small"===t?"0.7rem":"0.8rem"}})}},55049:(e,t,r)=>{"use strict";r.d(t,{c:()=>o});var a=r(58120),s=r(48787),n=r(56846),i=r(72690);function o({status:e,size:t="small"}){return a.jsx(s.Z,{icon:"success"===e?a.jsx(n.Z,{}):a.jsx(i.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"}})}},43137:(e,t,r)=>{"use strict";async function a(e,t={}){let r={...t.headers};t.body&&(r["Content-Type"]="application/json");let a=await fetch(e,{...t,headers:r});if(!a.ok){let e=await a.json().catch(()=>({error:"UnknownError",message:a.statusText})),t=Error(e.message);throw t.statusCode=a.status,t.code=e.error,t}return a.json()}r.d(t,{SC:()=>a})},15784:(e,t,r)=>{"use strict";r.d(t,{DM:()=>i,HZ:()=>l,VM:()=>o,hT:()=>n,oL:()=>c});var a=r(28872),s=r(43137);function n(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,a.a)({queryKey:["audit-logs",e],queryFn:()=>(0,s.SC)(`/api/audit-logs${r}`),enabled:t?.enabled!==!1})}function i(e){return(0,a.a)({queryKey:["audit-logs","stats"],queryFn:()=>(0,s.SC)("/api/audit-logs/stats"),enabled:e?.enabled!==!1,refetchInterval:3e4})}function o(e,t){return(0,a.a)({queryKey:["audit-logs",e],queryFn:()=>(0,s.SC)(`/api/audit-logs/${encodeURIComponent(e)}`),enabled:t?.enabled!==!1&&!!e})}function l(e,t){return n({targetType:"server",targetName:e,limit:t?.limit??20},{enabled:t?.enabled!==!1&&!!e})}function c(e=10){return n({limit:e,sort:"timestamp:desc"})}},47893:(e,t,r)=>{"use strict";r.d(t,{D:()=>s});var a=r(36372);function s(e){let{url:t,onMessage:r,onError:s,reconnectInterval:n=3e3,maxReconnectAttempts:i=1/0,enabled:o=!0,withCredentials:l=!1}=e,[c,d]=(0,a.useState)(null),[u,x]=(0,a.useState)("disconnected"),[h,p]=(0,a.useState)(null),[m,g]=(0,a.useState)(0),v=(0,a.useRef)(null);return(0,a.useCallback)(e=>{d(e),r?.(e)},[r]),(0,a.useCallback)(e=>{x(e),"connected"===e&&g(0)},[]),(0,a.useCallback)(e=>{p(e),"number"==typeof e.retryCount&&g(e.retryCount),s?.(e)},[s]),{data:c,isConnected:"connected"===u,state:u,error:h,retryCount:m,reconnect:(0,a.useCallback)(()=>{v.current&&(v.current.reconnect(),g(v.current.getRetryCount()))},[]),disconnect:(0,a.useCallback)(()=>{v.current&&v.current.disconnect()},[])}}},39928:(e,t,r)=>{"use strict";r.d(t,{KK:()=>o,Lu:()=>a,Xn:()=>i,n3:()=>s,xg:()=>n});let a={"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"},s={"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"},n=["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"],i=["server.create","server.delete","server.start","server.stop","server.restart"],o=["player.whitelist.add","player.whitelist.remove","player.ban","player.unban","player.op","player.deop","player.kick"]},2461:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>a});let a=(0,r(2325).createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/audit-logs/page.tsx#default`)}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),a=t.X(0,[9836,1489,6591,3043,8847,7573,8872,4859,8243,6088,8504,1645,9874,6175,354],()=>r(68840));module.exports=a})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/bindings","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/package.json","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/file-uri-to-path","../../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/async-local-storage.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/package.json","../../../../../../../../package.json","../../../../../node_modules/better-sqlite3","../../../../../node_modules/next","../../../../../package.json","../../../../package.json","../../../chunks/1489.js","../../../chunks/1645.js","../../../chunks/3043.js","../../../chunks/3439.js","../../../chunks/354.js","../../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/bindings","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/package.json","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/file-uri-to-path","../../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/async-local-storage.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/package.json","../../../../../../../../package.json","../../../../../node_modules/better-sqlite3","../../../../../node_modules/next","../../../../../package.json","../../../../package.json","../../../chunks/1489.js","../../../chunks/1645.js","../../../chunks/3043.js","../../../chunks/3439.js","../../../chunks/354.js","../../../chunks/4859.js","../../../chunks/5863.js","../../../chunks/6088.js","../../../chunks/6175.js","../../../chunks/6591.js","../../../chunks/6782.js","../../../chunks/7573.js","../../../chunks/8243.js","../../../chunks/8504.js","../../../chunks/8847.js","../../../chunks/8872.js","../../../chunks/8896.js","../../../chunks/9836.js","../../../chunks/9874.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(main)/audit-logs/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"2863":{"*":{"id":"97952","name":"*","chunks":[],"async":false}},"3454":{"*":{"id":"21908","name":"*","chunks":[],"async":false}},"6453":{"*":{"id":"47600","name":"*","chunks":[],"async":false}},"6643":{"*":{"id":"68508","name":"*","chunks":[],"async":false}},"7854":{"*":{"id":"48054","name":"*","chunks":[],"async":false}},"10672":{"*":{"id":"76258","name":"*","chunks":[],"async":false}},"12256":{"*":{"id":"60519","name":"*","chunks":[],"async":false}},"14224":{"*":{"id":"68123","name":"*","chunks":[],"async":false}},"19253":{"*":{"id":"20881","name":"*","chunks":[],"async":false}},"22237":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"23599":{"*":{"id":"69806","name":"*","chunks":[],"async":false}},"26854":{"*":{"id":"40860","name":"*","chunks":[],"async":false}},"32050":{"*":{"id":"59976","name":"*","chunks":[],"async":false}},"32539":{"*":{"id":"29664","name":"*","chunks":[],"async":false}},"34488":{"*":{"id":"85764","name":"*","chunks":[],"async":false}},"36405":{"*":{"id":"92753","name":"*","chunks":[],"async":false}},"38538":{"*":{"id":"1316","name":"*","chunks":[],"async":false}},"39943":{"*":{"id":"67348","name":"*","chunks":[],"async":false}},"46812":{"*":{"id":"86528","name":"*","chunks":[],"async":false}},"48283":{"*":{"id":"93551","name":"*","chunks":[],"async":false}},"52791":{"*":{"id":"57404","name":"*","chunks":[],"async":false}},"64924":{"*":{"id":"57889","name":"*","chunks":[],"async":false}},"68067":{"*":{"id":"98985","name":"*","chunks":[],"async":false}},"85795":{"*":{"id":"85171","name":"*","chunks":[],"async":false}},"88904":{"*":{"id":"53966","name":"*","chunks":[],"async":false}},"89083":{"*":{"id":"83053","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/app-router.js":{"id":39943,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/app-router.js":{"id":39943,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/client-page.js":{"id":68067,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/client-page.js":{"id":68067,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/error-boundary.js":{"id":19253,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":19253,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/layout-router.js":{"id":14224,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/layout-router.js":{"id":14224,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/not-found-boundary.js":{"id":23599,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":23599,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/render-from-template-context.js":{"id":2863,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":2863,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/@mui+material-nextjs@5.18.0_@emotion+cache@11.14.0_@mui+material@5.18.0_@emotion+react@11.14._xfceg66236xjlk4ddzora6ngm4/node_modules/@mui/material-nextjs/v13-appRouter/appRouterV13.js":{"id":89083,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","5645","static/chunks/5645-d306bb768b5907c8.js","3185","static/chunks/app/layout-e0e626ece42c56d9.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Ubuntu\",\"arguments\":[{\"weight\":[\"300\",\"400\",\"500\",\"700\"],\"subsets\":[\"latin\"]}],\"variableName\":\"ubuntu\"}":{"id":20284,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","5645","static/chunks/5645-d306bb768b5907c8.js","3185","static/chunks/app/layout-e0e626ece42c56d9.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/globals.css":{"id":46639,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","5645","static/chunks/5645-d306bb768b5907c8.js","3185","static/chunks/app/layout-e0e626ece42c56d9.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/components/providers/LoadingProvider.tsx":{"id":3454,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","5645","static/chunks/5645-d306bb768b5907c8.js","3185","static/chunks/app/layout-e0e626ece42c56d9.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/lib/QueryProvider.tsx":{"id":22237,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","5645","static/chunks/5645-d306bb768b5907c8.js","3185","static/chunks/app/layout-e0e626ece42c56d9.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/theme/muiTheme.ts":{"id":88904,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","5645","static/chunks/5645-d306bb768b5907c8.js","3185","static/chunks/app/layout-e0e626ece42c56d9.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/theme/ThemeProvider.tsx":{"id":48283,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","5645","static/chunks/5645-d306bb768b5907c8.js","3185","static/chunks/app/layout-e0e626ece42c56d9.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/login/page.tsx":{"id":10672,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/page.tsx":{"id":26854,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","2542","static/chunks/2542-6ea12719b9ca1b7c.js","1931","static/chunks/app/page-06fbf91c6bf684a9.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/signup/page.tsx":{"id":85795,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/backups/page.tsx":{"id":6643,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/layout.tsx":{"id":6453,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","6758","static/chunks/6758-d0a2d1008691eff1.js","680","static/chunks/680-61e3cda59bad5959.js","1668","static/chunks/1668-c41281dc3163e1c2.js","7436","static/chunks/7436-44378c85b24787cc.js","1071","static/chunks/1071-235049df1c3caba7.js","2542","static/chunks/2542-6ea12719b9ca1b7c.js","55","static/chunks/55-cc17f03142ace10c.js","7727","static/chunks/7727-2552fac729c5514a.js","8347","static/chunks/8347-d55cd74fb316fad0.js","9949","static/chunks/9949-92aa4cba630945d3.js","4240","static/chunks/4240-16f6e4c7e86ef2ce.js","212","static/chunks/212-b904d9ae152f2360.js","4095","static/chunks/app/(main)/layout-e6d8aef242d7e516.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/audit-logs/page.tsx":{"id":52791,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","6758","static/chunks/6758-d0a2d1008691eff1.js","680","static/chunks/680-61e3cda59bad5959.js","1668","static/chunks/1668-c41281dc3163e1c2.js","7436","static/chunks/7436-44378c85b24787cc.js","1071","static/chunks/1071-235049df1c3caba7.js","540","static/chunks/540-4b925f2c57833962.js","4416","static/chunks/4416-2385e5784dc036d6.js","2538","static/chunks/2538-09440cfe5c38aa16.js","5511","static/chunks/5511-7a419d84918a8d64.js","880","static/chunks/880-be7151cc9c502be6.js","55","static/chunks/55-cc17f03142ace10c.js","2844","static/chunks/2844-de6e17c136b0de1e.js","8347","static/chunks/8347-d55cd74fb316fad0.js","6909","static/chunks/6909-9750e61adcf6f5e5.js","4187","static/chunks/4187-07672ba5a9f76f7c.js","4240","static/chunks/4240-16f6e4c7e86ef2ce.js","8233","static/chunks/8233-0fdf0ee81a8cadce.js","4743","static/chunks/app/(main)/audit-logs/page-90479d797d04efdb.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/dashboard/page.tsx":{"id":64924,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/players/page.tsx":{"id":38538,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/routing/page.tsx":{"id":34488,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/servers/[name]/console/page.tsx":{"id":32050,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/servers/page.tsx":{"id":7854,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/servers/[name]/page.tsx":{"id":46812,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/worlds/page.tsx":{"id":36405,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/settings/page.tsx":{"id":32539,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/admin/users/page.tsx":{"id":12256,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/":[],"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/layout":["static/css/4d6bfee1e91e393d.css"],"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/page":[],"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/layout":[],"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/audit-logs/page":[]}}
|
|
1
|
+
globalThis.__RSC_MANIFEST=(globalThis.__RSC_MANIFEST||{});globalThis.__RSC_MANIFEST["/(main)/audit-logs/page"]={"moduleLoading":{"prefix":"/_next/","crossOrigin":null},"ssrModuleMapping":{"2863":{"*":{"id":"97952","name":"*","chunks":[],"async":false}},"3454":{"*":{"id":"21908","name":"*","chunks":[],"async":false}},"6453":{"*":{"id":"47600","name":"*","chunks":[],"async":false}},"6643":{"*":{"id":"68508","name":"*","chunks":[],"async":false}},"7854":{"*":{"id":"48054","name":"*","chunks":[],"async":false}},"10672":{"*":{"id":"76258","name":"*","chunks":[],"async":false}},"12256":{"*":{"id":"60519","name":"*","chunks":[],"async":false}},"14224":{"*":{"id":"68123","name":"*","chunks":[],"async":false}},"19253":{"*":{"id":"20881","name":"*","chunks":[],"async":false}},"22237":{"*":{"id":"53014","name":"*","chunks":[],"async":false}},"23599":{"*":{"id":"69806","name":"*","chunks":[],"async":false}},"26854":{"*":{"id":"40860","name":"*","chunks":[],"async":false}},"32050":{"*":{"id":"59976","name":"*","chunks":[],"async":false}},"32539":{"*":{"id":"29664","name":"*","chunks":[],"async":false}},"34488":{"*":{"id":"85764","name":"*","chunks":[],"async":false}},"36405":{"*":{"id":"92753","name":"*","chunks":[],"async":false}},"38538":{"*":{"id":"1316","name":"*","chunks":[],"async":false}},"39943":{"*":{"id":"67348","name":"*","chunks":[],"async":false}},"46812":{"*":{"id":"86528","name":"*","chunks":[],"async":false}},"48283":{"*":{"id":"93551","name":"*","chunks":[],"async":false}},"52791":{"*":{"id":"57404","name":"*","chunks":[],"async":false}},"64924":{"*":{"id":"57889","name":"*","chunks":[],"async":false}},"68067":{"*":{"id":"98985","name":"*","chunks":[],"async":false}},"85795":{"*":{"id":"85171","name":"*","chunks":[],"async":false}},"88904":{"*":{"id":"53966","name":"*","chunks":[],"async":false}},"89083":{"*":{"id":"83053","name":"*","chunks":[],"async":false}}},"edgeSSRModuleMapping":{},"clientModules":{"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/app-router.js":{"id":39943,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/app-router.js":{"id":39943,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/client-page.js":{"id":68067,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/client-page.js":{"id":68067,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/error-boundary.js":{"id":19253,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/error-boundary.js":{"id":19253,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/layout-router.js":{"id":14224,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/layout-router.js":{"id":14224,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/not-found-boundary.js":{"id":23599,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/not-found-boundary.js":{"id":23599,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/render-from-template-context.js":{"id":2863,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/esm/client/components/render-from-template-context.js":{"id":2863,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/@mui+material-nextjs@5.18.0_@emotion+cache@11.14.0_@mui+material@5.18.0_@emotion+react@11.14._xfceg66236xjlk4ddzora6ngm4/node_modules/@mui/material-nextjs/v13-appRouter/appRouterV13.js":{"id":89083,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/font/google/target.css?{\"path\":\"src/app/layout.tsx\",\"import\":\"Roboto_Mono\",\"arguments\":[{\"subsets\":[\"latin\"],\"variable\":\"--font-roboto-mono\"}],\"variableName\":\"robotoMono\"}":{"id":58678,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/globals.css":{"id":46639,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/components/providers/LoadingProvider.tsx":{"id":3454,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/lib/QueryProvider.tsx":{"id":22237,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/theme/muiTheme.ts":{"id":88904,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/theme/ThemeProvider.tsx":{"id":48283,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","540","static/chunks/540-4b925f2c57833962.js","2724","static/chunks/2724-6be0c6be94353443.js","3185","static/chunks/app/layout-37a5eb78e96aa17e.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/login/page.tsx":{"id":10672,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/page.tsx":{"id":26854,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","2542","static/chunks/2542-6ea12719b9ca1b7c.js","1931","static/chunks/app/page-06fbf91c6bf684a9.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/signup/page.tsx":{"id":85795,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/backups/page.tsx":{"id":6643,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/layout.tsx":{"id":6453,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","6758","static/chunks/6758-d0a2d1008691eff1.js","680","static/chunks/680-61e3cda59bad5959.js","1668","static/chunks/1668-c41281dc3163e1c2.js","7436","static/chunks/7436-44378c85b24787cc.js","1071","static/chunks/1071-235049df1c3caba7.js","2542","static/chunks/2542-6ea12719b9ca1b7c.js","55","static/chunks/55-cc17f03142ace10c.js","7727","static/chunks/7727-2552fac729c5514a.js","8347","static/chunks/8347-d55cd74fb316fad0.js","9949","static/chunks/9949-92aa4cba630945d3.js","4240","static/chunks/4240-16f6e4c7e86ef2ce.js","212","static/chunks/212-b904d9ae152f2360.js","4095","static/chunks/app/(main)/layout-e6d8aef242d7e516.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/audit-logs/page.tsx":{"id":52791,"name":"*","chunks":["6812","static/chunks/6812-f5924f14ef351036.js","9760","static/chunks/9760-3b9261fc2cfda017.js","6758","static/chunks/6758-d0a2d1008691eff1.js","680","static/chunks/680-61e3cda59bad5959.js","1668","static/chunks/1668-c41281dc3163e1c2.js","7436","static/chunks/7436-44378c85b24787cc.js","1071","static/chunks/1071-235049df1c3caba7.js","540","static/chunks/540-4b925f2c57833962.js","4416","static/chunks/4416-2385e5784dc036d6.js","2538","static/chunks/2538-09440cfe5c38aa16.js","5511","static/chunks/5511-7a419d84918a8d64.js","880","static/chunks/880-be7151cc9c502be6.js","55","static/chunks/55-cc17f03142ace10c.js","2844","static/chunks/2844-de6e17c136b0de1e.js","8347","static/chunks/8347-d55cd74fb316fad0.js","6909","static/chunks/6909-9750e61adcf6f5e5.js","4187","static/chunks/4187-07672ba5a9f76f7c.js","4240","static/chunks/4240-16f6e4c7e86ef2ce.js","8233","static/chunks/8233-0fdf0ee81a8cadce.js","4743","static/chunks/app/(main)/audit-logs/page-b8468e574885e74f.js"],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/dashboard/page.tsx":{"id":64924,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/routing/page.tsx":{"id":34488,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/players/page.tsx":{"id":38538,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/servers/[name]/console/page.tsx":{"id":32050,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/servers/[name]/page.tsx":{"id":46812,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/servers/page.tsx":{"id":7854,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/worlds/page.tsx":{"id":36405,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/settings/page.tsx":{"id":32539,"name":"*","chunks":[],"async":false},"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/admin/users/page.tsx":{"id":12256,"name":"*","chunks":[],"async":false}},"entryCSSFiles":{"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/":[],"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/layout":["static/css/0c287cf361a10682.css"],"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/page":[],"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/layout":[],"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/audit-logs/page":[]}}
|
package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
(()=>{var e={};e.id=6302,e.ids=[6302],e.modules={85890:e=>{"use strict";e.exports=require("better-sqlite3")},72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},92048:e=>{"use strict";e.exports=require("fs")},55315:e=>{"use strict";e.exports=require("path")},17360:e=>{"use strict";e.exports=require("url")},69367:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>a.a,__next_app__:()=>h,originalPathname:()=>u,pages:()=>d,routeModule:()=>p,tree:()=>c}),r(69218),r(26072),r(82395),r(97759);var s=r(95530),n=r(45086),i=r(13937),a=r.n(i),o=r(45587),l={};for(let e in o)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);r.d(t,l);let c=["",{children:["(main)",{children:["backups",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,69218)),"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/backups/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,26072)),"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,82395,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,52001))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,97759)),"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,82395,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,52001))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],d=["/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/backups/page.tsx"],u="/(main)/backups/page",h={require:r,loadChunk:()=>Promise.resolve()},p=new s.AppPageRouteModule({definition:{kind:n.x.APP_PAGE,page:"/(main)/backups/page",pathname:"/backups",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},75421:(e,t,r)=>{Promise.resolve().then(r.bind(r,68508))},56846:(e,t,r)=>{"use strict";var s=r(66682);t.Z=void 0;var n=s(r(7750)),i=r(58120);t.Z=(0,n.default)((0,i.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")},40238:(e,t,r)=>{"use strict";var s=r(66682);t.Z=void 0;var n=s(r(7750)),i=r(58120);t.Z=(0,n.default)((0,i.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload")},72690:(e,t,r)=>{"use strict";var s=r(66682);t.Z=void 0;var n=s(r(7750)),i=r(58120);t.Z=(0,n.default)((0,i.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")},4899:(e,t,r)=>{"use strict";var s=r(66682);t.Z=void 0;var n=s(r(7750)),i=r(58120);t.Z=(0,n.default)((0,i.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"Restore")},67073:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var s=r(4981),n=r(36885),i=r(36372),a=r(30330),o=r(3693),l=r(62923),c=r(9103),d=r(52329),u=r(89206),h=r(7967);function p(e){return(0,h.ZP)("MuiCard",e)}(0,u.Z)("MuiCard",["root"]);var m=r(58120);let x=["className","raised"],Z=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"]},p,t)},f=(0,l.ZP)(d.Z,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),g=i.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiCard"}),{className:i,raised:o=!1}=r,l=(0,n.Z)(r,x),d=(0,s.Z)({},r,{raised:o}),u=Z(d);return(0,m.jsx)(f,(0,s.Z)({className:(0,a.Z)(u.root,i),elevation:o?8:void 0,ref:t,ownerState:d},l))})},92797:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var s=r(4981),n=r(36885),i=r(36372),a=r(30330),o=r(3693),l=r(62923),c=r(9103),d=r(89206),u=r(7967);function h(e){return(0,u.ZP)("MuiCardContent",e)}(0,d.Z)("MuiCardContent",["root"]);var p=r(58120);let m=["className","component"],x=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"]},h,t)},Z=(0,l.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),f=i.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiCardContent"}),{className:i,component:o="div"}=r,l=(0,n.Z)(r,m),d=(0,s.Z)({},r,{component:o}),u=x(d);return(0,p.jsx)(Z,(0,s.Z)({as:o,className:(0,a.Z)(u.root,i),ownerState:d,ref:t},l))})},51290:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var s=r(36885),n=r(4981),i=r(36372),a=r(30330),o=r(3693),l=r(62923),c=r(9103),d=r(89206),u=r(7967);function h(e){return(0,u.ZP)("MuiDialogActions",e)}(0,d.Z)("MuiDialogActions",["root","spacing"]);var p=r(58120);let m=["className","disableSpacing"],x=e=>{let{classes:t,disableSpacing:r}=e;return(0,o.Z)({root:["root",!r&&"spacing"]},h,t)},Z=(0,l.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>(0,n.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),f=i.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiDialogActions"}),{className:i,disableSpacing:o=!1}=r,l=(0,s.Z)(r,m),d=(0,n.Z)({},r,{disableSpacing:o}),u=x(d);return(0,p.jsx)(Z,(0,n.Z)({className:(0,a.Z)(u.root,i),ownerState:d,ref:t},l))})},23016:(e,t,r)=>{"use strict";r.d(t,{Z:()=>w});var s=r(36885),n=r(4981),i=r(36372),a=r(30330),o=r(25208),l=r(7967),c=r(3693),d=r(94212),u=r(48057),h=r(18882),p=r(92049),m=r(77239),x=r(29442),Z=r(58120);let f=["component","direction","spacing","divider","children","className","useFlexGap"],g=(0,p.Z)(),v=(0,d.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function j(e){return(0,u.Z)({props:e,name:"MuiStack",defaultTheme:g})}let b=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],y=({ownerState:e,theme:t})=>{let r=(0,n.Z)({display:"flex",flexDirection:"column"},(0,m.k9)({theme:t},(0,m.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){let s=(0,x.hB)(t),n=Object.keys(t.breakpoints.values).reduce((t,r)=>(("object"==typeof e.spacing&&null!=e.spacing[r]||"object"==typeof e.direction&&null!=e.direction[r])&&(t[r]=!0),t),{}),i=(0,m.P$)({values:e.direction,base:n}),a=(0,m.P$)({values:e.spacing,base:n});"object"==typeof i&&Object.keys(i).forEach((e,t,r)=>{if(!i[e]){let s=t>0?i[r[t-1]]:"column";i[e]=s}}),r=(0,o.Z)(r,(0,m.k9)({theme:t},a,(t,r)=>e.useFlexGap?{gap:(0,x.NA)(s,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${b(r?i[r]:e.direction)}`]:(0,x.NA)(s,t)}}))}return(0,m.dt)(t.breakpoints,r)};var k=r(62923),C=r(9103);let w=function(e={}){let{createStyledComponent:t=v,useThemeProps:r=j,componentName:o="MuiStack"}=e,d=()=>(0,c.Z)({root:["root"]},e=>(0,l.ZP)(o,e),{}),u=t(y);return i.forwardRef(function(e,t){let o=r(e),l=(0,h.Z)(o),{component:c="div",direction:p="column",spacing:m=0,divider:x,children:g,className:v,useFlexGap:j=!1}=l,b=(0,s.Z)(l,f),y=d();return(0,Z.jsx)(u,(0,n.Z)({as:c,ownerState:{direction:p,spacing:m,useFlexGap:j},ref:t,className:(0,a.Z)(y.root,v)},b,{children:x?function(e,t){let r=i.Children.toArray(e).filter(Boolean);return r.reduce((e,s,n)=>(e.push(s),n<r.length-1&&e.push(i.cloneElement(t,{key:`separator-${n}`})),e),[])}(g,x):g}))})}({createStyledComponent:(0,k.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,C.i)({props:e,name:"MuiStack"})})},664:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var s=r(4981),n=r(36885),i=r(36372),a=r(30330),o=r(3693),l=r(9103),c=r(62923),d=r(89206),u=r(7967);function h(e){return(0,u.ZP)("MuiTableContainer",e)}(0,d.Z)("MuiTableContainer",["root"]);var p=r(58120);let m=["className","component"],x=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"]},h,t)},Z=(0,c.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),f=i.forwardRef(function(e,t){let r=(0,l.i)({props:e,name:"MuiTableContainer"}),{className:i,component:o="div"}=r,c=(0,n.Z)(r,m),d=(0,s.Z)({},r,{component:o}),u=x(d);return(0,p.jsx)(Z,(0,s.Z)({ref:t,as:o,className:(0,a.Z)(u.root,i),ownerState:d},c))})},95940:(e,t,r)=>{"use strict";r.d(t,{Fq:()=>i});var s=r(13708),n=r(38425);function i(e,t){return e=function e(t){let r;if(t.type)return t;if("#"===t.charAt(0))return e(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(t));let n=t.indexOf("("),i=t.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw Error((0,s.Z)(9,t));let a=t.substring(n+1,t.length-1);if("color"===i){if(r=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw Error((0,s.Z)(10,r))}else a=a.split(",");return{type:i,values:a=a.map(e=>parseFloat(e)),colorSpace:r}}(e),t=function(e,t=0,r=1){return(0,n.Z)(e,t,r)}(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){let{type:t,colorSpace:r}=e,{values:s}=e;return -1!==t.indexOf("rgb")?s=s.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),s=-1!==t.indexOf("color")?`${r} ${s.join(" ")}`:`${s.join(", ")}`,`${t}(${s})`}(e)}},68508:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>I});var s=r(58120),n=r(2365),i=r(89352),a=r(52329),o=r(23016),l=r(95940),c=r(40238),d=r(67073),u=r(92797),h=r(48787),p=r(56846),m=r(72690),x=r(74151);function Z(){let{data:e,isLoading:t,error:r}=(0,x.mj)();if(t)return s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[s.jsx(n.Z,{variant:"h6",gutterBottom:!0,children:"Backup Status"}),s.jsx(n.Z,{color:"text.secondary",children:"Loading..."})]})});if(r)return s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[s.jsx(n.Z,{variant:"h6",gutterBottom:!0,children:"Backup Status"}),s.jsx(n.Z,{color:"error",children:"Failed to load backup status"})]})});let{configured:a,lastBackup:o,repository:l}=e||{};return s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[(0,s.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2},children:[s.jsx(n.Z,{variant:"h6",children:"Backup Status"}),s.jsx(h.Z,{icon:a?s.jsx(p.Z,{}):s.jsx(m.Z,{}),label:a?"Configured":"Not Configured",color:a?"success":"error",size:"small"})]}),a?(0,s.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",gap:1},children:[l&&(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Repository"}),s.jsx(n.Z,{variant:"body2",sx:{fontFamily:"monospace",fontSize:"0.875rem"},children:l})]}),o&&(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Last Backup"}),s.jsx(n.Z,{variant:"body2",children:function(e){let t=new Date,r=new Date(e),s=Math.floor((t.getTime()-r.getTime())/6e4),n=Math.floor(s/60);return s<1?"just now":s<60?`${s} minutes ago`:n<24?`${n} hours ago`:`${Math.floor(n/24)} days ago`}(o)})]}),!o&&s.jsx(n.Z,{variant:"body2",color:"text.secondary",children:"No backups yet"})]}):s.jsx(n.Z,{variant:"body2",color:"text.secondary",children:"GitHub backup is not configured. Please configure BACKUP_REPO_URL in your environment."})]})})}var f=r(36372),g=r(37891),v=r(88916),j=r(75698),b=r(664),y=r(70862),k=r(59059),C=r(54365),w=r(4899),P=r(10257),M=r(34443),R=r(51290),S=r(15539),$=r(54458),B=r(44696),F=r(66757),A=r(79943);function _({open:e,commit:t,onClose:r}){var a;let{mutate:o,isPending:l}=(0,x.s8)(),[c,d]=(0,f.useState)(""),[u,h]=(0,f.useState)(""),p=()=>{l||(d(""),h(""),r())};return(0,s.jsxs)(M.Z,{open:e,onClose:p,maxWidth:"sm",fullWidth:!0,children:[s.jsx(B.Z,{children:"Restore Backup"}),(0,s.jsxs)(S.Z,{children:[s.jsx(F.Z,{severity:"warning",sx:{mb:2},children:"This will restore all worlds from the selected backup. Current world data will be overwritten."}),c&&s.jsx(F.Z,{severity:"success",sx:{mb:2},children:c}),u&&s.jsx(F.Z,{severity:"error",sx:{mb:2},children:u}),s.jsx($.Z,{sx:{mb:2},children:"Are you sure you want to restore from this backup?"}),(0,s.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",gap:1},children:[(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Commit Hash"}),s.jsx(n.Z,{variant:"body2",sx:{fontFamily:"monospace",fontSize:"0.875rem"},children:t.hash})]}),(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Date"}),s.jsx(n.Z,{variant:"body2",children:(a=t.date,new Intl.DateTimeFormat(void 0,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date(a)))})]}),(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Message"}),s.jsx(n.Z,{variant:"body2",children:t.message})]}),(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Author"}),s.jsx(n.Z,{variant:"body2",children:t.author})]})]})]}),(0,s.jsxs)(R.Z,{children:[s.jsx(P.Z,{onClick:p,disabled:l,children:"Cancel"}),s.jsx(P.Z,{onClick:()=>{d(""),h(""),o(t.hash,{onSuccess:()=>{d(`Backup restored successfully from ${t.hash.substring(0,7)}`),setTimeout(()=>{r()},2e3)},onError:e=>{h(`Failed to restore backup: ${e.message}`)}})},variant:"contained",color:"warning",disabled:l,startIcon:l?s.jsx(A.Z,{size:16}):s.jsx(w.Z,{}),children:l?"Restoring...":"Restore"})]})]})}function D(){let{data:e,isLoading:t,error:r}=(0,x.$t)(20),[i,a]=(0,f.useState)(null),o=e=>{a(e)};if(t)return s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[s.jsx(n.Z,{variant:"h6",gutterBottom:!0,children:"Backup History"}),s.jsx(n.Z,{color:"text.secondary",children:"Loading..."})]})});if(r)return s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[s.jsx(n.Z,{variant:"h6",gutterBottom:!0,children:"Backup History"}),s.jsx(n.Z,{color:"error",children:"Failed to load backup history"})]})});let l=e?.commits||[];return(0,s.jsxs)(s.Fragment,{children:[s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[s.jsx(n.Z,{variant:"h6",gutterBottom:!0,children:"Backup History"}),0===l.length?s.jsx(n.Z,{color:"text.secondary",children:"No backup history available"}):s.jsx(b.Z,{children:(0,s.jsxs)(g.Z,{children:[s.jsx(y.Z,{children:(0,s.jsxs)(k.Z,{children:[s.jsx(j.Z,{children:"Commit"}),s.jsx(j.Z,{children:"Date"}),s.jsx(j.Z,{children:"Message"}),s.jsx(j.Z,{children:"Author"}),s.jsx(j.Z,{align:"right",children:"Actions"})]})}),s.jsx(v.Z,{children:l.map(e=>{var t;return(0,s.jsxs)(k.Z,{children:[s.jsx(j.Z,{children:s.jsx(h.Z,{label:e.hash.substring(0,7),size:"small",variant:"outlined",sx:{fontFamily:"monospace"}})}),s.jsx(j.Z,{children:s.jsx(n.Z,{variant:"body2",children:(t=e.date,new Intl.DateTimeFormat(void 0,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(new Date(t)))})}),s.jsx(j.Z,{children:s.jsx(n.Z,{variant:"body2",children:e.message})}),s.jsx(j.Z,{children:s.jsx(n.Z,{variant:"body2",color:"text.secondary",children:e.author})}),s.jsx(j.Z,{align:"right",children:s.jsx(C.Z,{size:"small",color:"primary",onClick:()=>o(e),title:"Restore this backup",children:s.jsx(w.Z,{})})})]},e.hash)})})]})})]})}),i&&s.jsx(_,{open:!!i,commit:i,onClose:()=>{a(null)}})]})}var T=r(6275),q=r(37372);function N({disabled:e}){let[t,r]=(0,f.useState)(!1),[n,i]=(0,f.useState)(""),[a,o]=(0,f.useState)(""),[l,c]=(0,f.useState)(""),{mutate:d,isPending:u}=(0,x.c5)(),h=()=>{u||(r(!1),i(""),o(""),c(""))};return(0,s.jsxs)(s.Fragment,{children:[s.jsx(P.Z,{variant:"contained",startIcon:s.jsx(q.Z,{}),onClick:()=>{r(!0),o(""),c(""),i(`Backup ${new Date().toISOString().split("T")[0]}`)},disabled:e||u,children:"Push Backup"}),(0,s.jsxs)(M.Z,{open:t,onClose:h,maxWidth:"sm",fullWidth:!0,children:[s.jsx(B.Z,{children:"Push Backup"}),(0,s.jsxs)(S.Z,{children:[a&&s.jsx(F.Z,{severity:"success",sx:{mb:2},children:a}),l&&s.jsx(F.Z,{severity:"error",sx:{mb:2},children:l}),s.jsx(T.Z,{autoFocus:!0,margin:"dense",label:"Commit Message",type:"text",fullWidth:!0,variant:"outlined",value:n,onChange:e=>i(e.target.value),disabled:u,helperText:"Optional message describing this backup"})]}),(0,s.jsxs)(R.Z,{children:[s.jsx(P.Z,{onClick:h,disabled:u,children:"Cancel"}),s.jsx(P.Z,{onClick:()=>{o(""),c(""),d({message:n||void 0},{onSuccess:e=>{o(e.commitHash?`Backup pushed successfully (${e.commitHash.substring(0,7)})`:"Backup pushed successfully"),setTimeout(()=>{h()},2e3)},onError:e=>{c(`Failed to push backup: ${e.message}`)}})},variant:"contained",disabled:u,startIcon:u?s.jsx(A.Z,{size:16}):s.jsx(q.Z,{}),children:u?"Pushing...":"Push"})]})]})]})}function I(){let{data:e}=(0,x.mj)(),t=e?.configured??!1;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(a.Z,{elevation:0,sx:{mb:4,p:3,background:e=>`linear-gradient(135deg, ${(0,l.Fq)(e.palette.secondary.main,.1)} 0%, ${(0,l.Fq)(e.palette.info.main,.1)} 100%)`,borderRadius:2,border:e=>`1px solid ${(0,l.Fq)(e.palette.secondary.main,.2)}`,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,s.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:2},children:[s.jsx(i.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:2,bgcolor:"secondary.main",color:"secondary.contrastText"},children:s.jsx(c.Z,{sx:{fontSize:32}})}),(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"h4",component:"h1",fontWeight:"bold",children:"Backups"}),s.jsx(n.Z,{variant:"body1",color:"text.secondary",children:"Manage world backups and restore points"})]})]}),s.jsx(N,{disabled:!t})]}),(0,s.jsxs)(o.Z,{spacing:3,children:[s.jsx(Z,{}),t&&s.jsx(D,{})]})]})}},9219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return r}});class r{static get(e,t,r){let s=Reflect.get(e,t,r);return"function"==typeof s?s.bind(e):s}static set(e,t,r,s){return Reflect.set(e,t,r,s)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},69218:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(2325).createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/backups/page.tsx#default`)}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[9836,1489,4533,3043,8847,7573,8872,6088,8504,613,354,4609],()=>r(69367));module.exports=s})();
|
|
1
|
+
(()=>{var e={};e.id=6302,e.ids=[6302],e.modules={85890:e=>{"use strict";e.exports=require("better-sqlite3")},72934:e=>{"use strict";e.exports=require("next/dist/client/components/action-async-storage.external.js")},54580:e=>{"use strict";e.exports=require("next/dist/client/components/request-async-storage.external.js")},45869:e=>{"use strict";e.exports=require("next/dist/client/components/static-generation-async-storage.external.js")},20399:e=>{"use strict";e.exports=require("next/dist/compiled/next-server/app-page.runtime.prod.js")},92048:e=>{"use strict";e.exports=require("fs")},55315:e=>{"use strict";e.exports=require("path")},17360:e=>{"use strict";e.exports=require("url")},69367:(e,t,r)=>{"use strict";r.r(t),r.d(t,{GlobalError:()=>a.a,__next_app__:()=>h,originalPathname:()=>u,pages:()=>d,routeModule:()=>p,tree:()=>c}),r(69218),r(26072),r(82395),r(97759);var s=r(95530),n=r(45086),i=r(13937),a=r.n(i),o=r(45587),l={};for(let e in o)0>["default","tree","pages","GlobalError","originalPathname","__next_app__","routeModule"].indexOf(e)&&(l[e]=()=>o[e]);r.d(t,l);let c=["",{children:["(main)",{children:["backups",{children:["__PAGE__",{},{page:[()=>Promise.resolve().then(r.bind(r,69218)),"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/backups/page.tsx"]}]},{}]},{layout:[()=>Promise.resolve().then(r.bind(r,26072)),"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,82395,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,52001))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}]},{layout:[()=>Promise.resolve().then(r.bind(r,97759)),"/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/layout.tsx"],"not-found":[()=>Promise.resolve().then(r.t.bind(r,82395,23)),"next/dist/client/components/not-found-error"],metadata:{icon:[async e=>(await Promise.resolve().then(r.bind(r,52001))).default(e)],apple:[],openGraph:[],twitter:[],manifest:void 0}}],d=["/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/backups/page.tsx"],u="/(main)/backups/page",h={require:r,loadChunk:()=>Promise.resolve()},p=new s.AppPageRouteModule({definition:{kind:n.x.APP_PAGE,page:"/(main)/backups/page",pathname:"/backups",bundlePath:"",filename:"",appPaths:[]},userland:{loaderTree:c}})},75421:(e,t,r)=>{Promise.resolve().then(r.bind(r,68508))},56846:(e,t,r)=>{"use strict";var s=r(66682);t.Z=void 0;var n=s(r(7750)),i=r(58120);t.Z=(0,n.default)((0,i.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")},40238:(e,t,r)=>{"use strict";var s=r(66682);t.Z=void 0;var n=s(r(7750)),i=r(58120);t.Z=(0,n.default)((0,i.jsx)("path",{d:"M19.35 10.04C18.67 6.59 15.64 4 12 4 9.11 4 6.6 5.64 5.35 8.04 2.34 8.36 0 10.91 0 14c0 3.31 2.69 6 6 6h13c2.76 0 5-2.24 5-5 0-2.64-2.05-4.78-4.65-4.96M14 13v4h-4v-4H7l5-5 5 5z"}),"CloudUpload")},72690:(e,t,r)=>{"use strict";var s=r(66682);t.Z=void 0;var n=s(r(7750)),i=r(58120);t.Z=(0,n.default)((0,i.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")},4899:(e,t,r)=>{"use strict";var s=r(66682);t.Z=void 0;var n=s(r(7750)),i=r(58120);t.Z=(0,n.default)((0,i.jsx)("path",{d:"M13 3c-4.97 0-9 4.03-9 9H1l3.89 3.89.07.14L9 12H6c0-3.87 3.13-7 7-7s7 3.13 7 7-3.13 7-7 7c-1.93 0-3.68-.79-4.94-2.06l-1.42 1.42C8.27 19.99 10.51 21 13 21c4.97 0 9-4.03 9-9s-4.03-9-9-9m-1 5v5l4.28 2.54.72-1.21-3.5-2.08V8z"}),"Restore")},67073:(e,t,r)=>{"use strict";r.d(t,{Z:()=>g});var s=r(4981),n=r(36885),i=r(36372),a=r(30330),o=r(3693),l=r(62923),c=r(9103),d=r(52329),u=r(89206),h=r(7967);function p(e){return(0,h.ZP)("MuiCard",e)}(0,u.Z)("MuiCard",["root"]);var m=r(58120);let x=["className","raised"],Z=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"]},p,t)},f=(0,l.ZP)(d.Z,{name:"MuiCard",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({overflow:"hidden"})),g=i.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiCard"}),{className:i,raised:o=!1}=r,l=(0,n.Z)(r,x),d=(0,s.Z)({},r,{raised:o}),u=Z(d);return(0,m.jsx)(f,(0,s.Z)({className:(0,a.Z)(u.root,i),elevation:o?8:void 0,ref:t,ownerState:d},l))})},92797:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var s=r(4981),n=r(36885),i=r(36372),a=r(30330),o=r(3693),l=r(62923),c=r(9103),d=r(89206),u=r(7967);function h(e){return(0,u.ZP)("MuiCardContent",e)}(0,d.Z)("MuiCardContent",["root"]);var p=r(58120);let m=["className","component"],x=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"]},h,t)},Z=(0,l.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(e,t)=>t.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}})),f=i.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiCardContent"}),{className:i,component:o="div"}=r,l=(0,n.Z)(r,m),d=(0,s.Z)({},r,{component:o}),u=x(d);return(0,p.jsx)(Z,(0,s.Z)({as:o,className:(0,a.Z)(u.root,i),ownerState:d,ref:t},l))})},51290:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var s=r(36885),n=r(4981),i=r(36372),a=r(30330),o=r(3693),l=r(62923),c=r(9103),d=r(89206),u=r(7967);function h(e){return(0,u.ZP)("MuiDialogActions",e)}(0,d.Z)("MuiDialogActions",["root","spacing"]);var p=r(58120);let m=["className","disableSpacing"],x=e=>{let{classes:t,disableSpacing:r}=e;return(0,o.Z)({root:["root",!r&&"spacing"]},h,t)},Z=(0,l.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(({ownerState:e})=>(0,n.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})),f=i.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiDialogActions"}),{className:i,disableSpacing:o=!1}=r,l=(0,s.Z)(r,m),d=(0,n.Z)({},r,{disableSpacing:o}),u=x(d);return(0,p.jsx)(Z,(0,n.Z)({className:(0,a.Z)(u.root,i),ownerState:d,ref:t},l))})},23016:(e,t,r)=>{"use strict";r.d(t,{Z:()=>w});var s=r(36885),n=r(4981),i=r(36372),a=r(30330),o=r(25208),l=r(7967),c=r(3693),d=r(94212),u=r(48057),h=r(18882),p=r(92049),m=r(77239),x=r(29442),Z=r(58120);let f=["component","direction","spacing","divider","children","className","useFlexGap"],g=(0,p.Z)(),v=(0,d.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root});function j(e){return(0,u.Z)({props:e,name:"MuiStack",defaultTheme:g})}let b=e=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[e],y=({ownerState:e,theme:t})=>{let r=(0,n.Z)({display:"flex",flexDirection:"column"},(0,m.k9)({theme:t},(0,m.P$)({values:e.direction,breakpoints:t.breakpoints.values}),e=>({flexDirection:e})));if(e.spacing){let s=(0,x.hB)(t),n=Object.keys(t.breakpoints.values).reduce((t,r)=>(("object"==typeof e.spacing&&null!=e.spacing[r]||"object"==typeof e.direction&&null!=e.direction[r])&&(t[r]=!0),t),{}),i=(0,m.P$)({values:e.direction,base:n}),a=(0,m.P$)({values:e.spacing,base:n});"object"==typeof i&&Object.keys(i).forEach((e,t,r)=>{if(!i[e]){let s=t>0?i[r[t-1]]:"column";i[e]=s}}),r=(0,o.Z)(r,(0,m.k9)({theme:t},a,(t,r)=>e.useFlexGap?{gap:(0,x.NA)(s,t)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${b(r?i[r]:e.direction)}`]:(0,x.NA)(s,t)}}))}return(0,m.dt)(t.breakpoints,r)};var k=r(62923),C=r(9103);let w=function(e={}){let{createStyledComponent:t=v,useThemeProps:r=j,componentName:o="MuiStack"}=e,d=()=>(0,c.Z)({root:["root"]},e=>(0,l.ZP)(o,e),{}),u=t(y);return i.forwardRef(function(e,t){let o=r(e),l=(0,h.Z)(o),{component:c="div",direction:p="column",spacing:m=0,divider:x,children:g,className:v,useFlexGap:j=!1}=l,b=(0,s.Z)(l,f),y=d();return(0,Z.jsx)(u,(0,n.Z)({as:c,ownerState:{direction:p,spacing:m,useFlexGap:j},ref:t,className:(0,a.Z)(y.root,v)},b,{children:x?function(e,t){let r=i.Children.toArray(e).filter(Boolean);return r.reduce((e,s,n)=>(e.push(s),n<r.length-1&&e.push(i.cloneElement(t,{key:`separator-${n}`})),e),[])}(g,x):g}))})}({createStyledComponent:(0,k.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(e,t)=>t.root}),useThemeProps:e=>(0,C.i)({props:e,name:"MuiStack"})})},664:(e,t,r)=>{"use strict";r.d(t,{Z:()=>f});var s=r(4981),n=r(36885),i=r(36372),a=r(30330),o=r(3693),l=r(9103),c=r(62923),d=r(89206),u=r(7967);function h(e){return(0,u.ZP)("MuiTableContainer",e)}(0,d.Z)("MuiTableContainer",["root"]);var p=r(58120);let m=["className","component"],x=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"]},h,t)},Z=(0,c.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"}),f=i.forwardRef(function(e,t){let r=(0,l.i)({props:e,name:"MuiTableContainer"}),{className:i,component:o="div"}=r,c=(0,n.Z)(r,m),d=(0,s.Z)({},r,{component:o}),u=x(d);return(0,p.jsx)(Z,(0,s.Z)({ref:t,as:o,className:(0,a.Z)(u.root,i),ownerState:d},c))})},95940:(e,t,r)=>{"use strict";r.d(t,{Fq:()=>i});var s=r(13708),n=r(38425);function i(e,t){return e=function e(t){let r;if(t.type)return t;if("#"===t.charAt(0))return e(function(e){e=e.slice(1);let t=RegExp(`.{1,${e.length>=6?2:1}}`,"g"),r=e.match(t);return r&&1===r[0].length&&(r=r.map(e=>e+e)),r?`rgb${4===r.length?"a":""}(${r.map((e,t)=>t<3?parseInt(e,16):Math.round(parseInt(e,16)/255*1e3)/1e3).join(", ")})`:""}(t));let n=t.indexOf("("),i=t.substring(0,n);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(i))throw Error((0,s.Z)(9,t));let a=t.substring(n+1,t.length-1);if("color"===i){if(r=(a=a.split(" ")).shift(),4===a.length&&"/"===a[3].charAt(0)&&(a[3]=a[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw Error((0,s.Z)(10,r))}else a=a.split(",");return{type:i,values:a=a.map(e=>parseFloat(e)),colorSpace:r}}(e),t=function(e,t=0,r=1){return(0,n.Z)(e,t,r)}(t),("rgb"===e.type||"hsl"===e.type)&&(e.type+="a"),"color"===e.type?e.values[3]=`/${t}`:e.values[3]=t,function(e){let{type:t,colorSpace:r}=e,{values:s}=e;return -1!==t.indexOf("rgb")?s=s.map((e,t)=>t<3?parseInt(e,10):e):-1!==t.indexOf("hsl")&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),s=-1!==t.indexOf("color")?`${r} ${s.join(" ")}`:`${s.join(", ")}`,`${t}(${s})`}(e)}},68508:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>I});var s=r(58120),n=r(2365),i=r(89352),a=r(52329),o=r(23016),l=r(95940),c=r(40238),d=r(67073),u=r(92797),h=r(48787),p=r(56846),m=r(72690),x=r(74151);function Z(){let{data:e,isLoading:t,error:r}=(0,x.mj)();if(t)return s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[s.jsx(n.Z,{variant:"h6",gutterBottom:!0,children:"Backup Status"}),s.jsx(n.Z,{color:"text.secondary",children:"Loading..."})]})});if(r)return s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[s.jsx(n.Z,{variant:"h6",gutterBottom:!0,children:"Backup Status"}),s.jsx(n.Z,{color:"error",children:"Failed to load backup status"})]})});let{configured:a,lastBackup:o,repository:l}=e||{};return s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[(0,s.jsxs)(i.Z,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",mb:2},children:[s.jsx(n.Z,{variant:"h6",children:"Backup Status"}),s.jsx(h.Z,{icon:a?s.jsx(p.Z,{}):s.jsx(m.Z,{}),label:a?"Configured":"Not Configured",color:a?"success":"error",size:"small"})]}),a?(0,s.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",gap:1},children:[l&&(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Repository"}),s.jsx(n.Z,{variant:"body2",sx:{fontFamily:"monospace",fontSize:"0.875rem"},children:l})]}),o&&(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Last Backup"}),s.jsx(n.Z,{variant:"body2",children:function(e){let t=new Date,r=new Date(e),s=Math.floor((t.getTime()-r.getTime())/6e4),n=Math.floor(s/60);return s<1?"just now":s<60?`${s} minutes ago`:n<24?`${n} hours ago`:`${Math.floor(n/24)} days ago`}(o)})]}),!o&&s.jsx(n.Z,{variant:"body2",color:"text.secondary",children:"No backups yet"})]}):s.jsx(n.Z,{variant:"body2",color:"text.secondary",children:"GitHub backup is not configured. Please configure BACKUP_REPO_URL in your environment."})]})})}var f=r(36372),g=r(37891),v=r(88916),j=r(75698),b=r(664),y=r(70862),k=r(59059),C=r(54365),w=r(4899),P=r(10257),M=r(34443),R=r(51290),S=r(15539),$=r(54458),B=r(44696),F=r(66757),A=r(79943);function _({open:e,commit:t,onClose:r}){var a;let{mutate:o,isPending:l}=(0,x.s8)(),[c,d]=(0,f.useState)(""),[u,h]=(0,f.useState)(""),p=()=>{l||(d(""),h(""),r())};return(0,s.jsxs)(M.Z,{open:e,onClose:p,maxWidth:"sm",fullWidth:!0,children:[s.jsx(B.Z,{children:"Restore Backup"}),(0,s.jsxs)(S.Z,{children:[s.jsx(F.Z,{severity:"warning",sx:{mb:2},children:"This will restore all worlds from the selected backup. Current world data will be overwritten."}),c&&s.jsx(F.Z,{severity:"success",sx:{mb:2},children:c}),u&&s.jsx(F.Z,{severity:"error",sx:{mb:2},children:u}),s.jsx($.Z,{sx:{mb:2},children:"Are you sure you want to restore from this backup?"}),(0,s.jsxs)(i.Z,{sx:{display:"flex",flexDirection:"column",gap:1},children:[(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Commit Hash"}),s.jsx(n.Z,{variant:"body2",sx:{fontFamily:"monospace",fontSize:"0.875rem"},children:t.hash})]}),(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Date"}),s.jsx(n.Z,{variant:"body2",children:(a=t.date,new Intl.DateTimeFormat(void 0,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",second:"2-digit"}).format(new Date(a)))})]}),(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Message"}),s.jsx(n.Z,{variant:"body2",children:t.message})]}),(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"caption",color:"text.secondary",children:"Author"}),s.jsx(n.Z,{variant:"body2",children:t.author})]})]})]}),(0,s.jsxs)(R.Z,{children:[s.jsx(P.Z,{onClick:p,disabled:l,children:"Cancel"}),s.jsx(P.Z,{onClick:()=>{d(""),h(""),o(t.hash,{onSuccess:()=>{d(`Backup restored successfully from ${t.hash.substring(0,7)}`),setTimeout(()=>{r()},2e3)},onError:e=>{h(`Failed to restore backup: ${e.message}`)}})},variant:"contained",color:"warning",disabled:l,startIcon:l?s.jsx(A.Z,{size:16}):s.jsx(w.Z,{}),children:l?"Restoring...":"Restore"})]})]})}function D(){let{data:e,isLoading:t,error:r}=(0,x.$t)(20),[i,a]=(0,f.useState)(null),o=e=>{a(e)};if(t)return s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[s.jsx(n.Z,{variant:"h6",gutterBottom:!0,children:"Backup History"}),s.jsx(n.Z,{color:"text.secondary",children:"Loading..."})]})});if(r)return s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[s.jsx(n.Z,{variant:"h6",gutterBottom:!0,children:"Backup History"}),s.jsx(n.Z,{color:"error",children:"Failed to load backup history"})]})});let l=e?.commits||[];return(0,s.jsxs)(s.Fragment,{children:[s.jsx(d.Z,{children:(0,s.jsxs)(u.Z,{children:[s.jsx(n.Z,{variant:"h6",gutterBottom:!0,children:"Backup History"}),0===l.length?s.jsx(n.Z,{color:"text.secondary",children:"No backup history available"}):s.jsx(b.Z,{children:(0,s.jsxs)(g.Z,{children:[s.jsx(y.Z,{children:(0,s.jsxs)(k.Z,{children:[s.jsx(j.Z,{children:"Commit"}),s.jsx(j.Z,{children:"Date"}),s.jsx(j.Z,{children:"Message"}),s.jsx(j.Z,{children:"Author"}),s.jsx(j.Z,{align:"right",children:"Actions"})]})}),s.jsx(v.Z,{children:l.map(e=>{var t;return(0,s.jsxs)(k.Z,{children:[s.jsx(j.Z,{children:s.jsx(h.Z,{label:e.hash.substring(0,7),size:"small",variant:"outlined",sx:{fontFamily:"monospace"}})}),s.jsx(j.Z,{children:s.jsx(n.Z,{variant:"body2",children:(t=e.date,new Intl.DateTimeFormat(void 0,{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit"}).format(new Date(t)))})}),s.jsx(j.Z,{children:s.jsx(n.Z,{variant:"body2",children:e.message})}),s.jsx(j.Z,{children:s.jsx(n.Z,{variant:"body2",color:"text.secondary",children:e.author})}),s.jsx(j.Z,{align:"right",children:s.jsx(C.Z,{size:"small",color:"primary",onClick:()=>o(e),title:"Restore this backup",children:s.jsx(w.Z,{})})})]},e.hash)})})]})})]})}),i&&s.jsx(_,{open:!!i,commit:i,onClose:()=>{a(null)}})]})}var T=r(6275),q=r(37372);function N({disabled:e}){let[t,r]=(0,f.useState)(!1),[n,i]=(0,f.useState)(""),[a,o]=(0,f.useState)(""),[l,c]=(0,f.useState)(""),{mutate:d,isPending:u}=(0,x.c5)(),h=()=>{u||(r(!1),i(""),o(""),c(""))};return(0,s.jsxs)(s.Fragment,{children:[s.jsx(P.Z,{variant:"contained",startIcon:s.jsx(q.Z,{}),onClick:()=>{r(!0),o(""),c(""),i(`Backup ${new Date().toISOString().split("T")[0]}`)},disabled:e||u,children:"Push Backup"}),(0,s.jsxs)(M.Z,{open:t,onClose:h,maxWidth:"sm",fullWidth:!0,children:[s.jsx(B.Z,{children:"Push Backup"}),(0,s.jsxs)(S.Z,{children:[a&&s.jsx(F.Z,{severity:"success",sx:{mb:2},children:a}),l&&s.jsx(F.Z,{severity:"error",sx:{mb:2},children:l}),s.jsx(T.Z,{autoFocus:!0,margin:"dense",label:"Commit Message",type:"text",fullWidth:!0,variant:"outlined",value:n,onChange:e=>i(e.target.value),disabled:u,helperText:"Optional message describing this backup"})]}),(0,s.jsxs)(R.Z,{children:[s.jsx(P.Z,{onClick:h,disabled:u,children:"Cancel"}),s.jsx(P.Z,{onClick:()=>{o(""),c(""),d({message:n||void 0},{onSuccess:e=>{o(e.commitHash?`Backup pushed successfully (${e.commitHash.substring(0,7)})`:"Backup pushed successfully"),setTimeout(()=>{h()},2e3)},onError:e=>{c(`Failed to push backup: ${e.message}`)}})},variant:"contained",disabled:u,startIcon:u?s.jsx(A.Z,{size:16}):s.jsx(q.Z,{}),children:u?"Pushing...":"Push"})]})]})]})}function I(){let{data:e}=(0,x.mj)(),t=e?.configured??!1;return(0,s.jsxs)(s.Fragment,{children:[(0,s.jsxs)(a.Z,{elevation:0,sx:{mb:4,p:3,background:e=>`linear-gradient(135deg, ${(0,l.Fq)(e.palette.secondary.main,.1)} 0%, ${(0,l.Fq)(e.palette.info.main,.1)} 100%)`,borderRadius:2,border:e=>`1px solid ${(0,l.Fq)(e.palette.secondary.main,.2)}`,display:"flex",justifyContent:"space-between",alignItems:"center"},children:[(0,s.jsxs)(i.Z,{sx:{display:"flex",alignItems:"center",gap:2},children:[s.jsx(i.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:2,bgcolor:"secondary.main",color:"secondary.contrastText"},children:s.jsx(c.Z,{sx:{fontSize:32}})}),(0,s.jsxs)(i.Z,{children:[s.jsx(n.Z,{variant:"h4",component:"h1",fontWeight:"bold",children:"Backups"}),s.jsx(n.Z,{variant:"body1",color:"text.secondary",children:"Manage world backups and restore points"})]})]}),s.jsx(N,{disabled:!t})]}),(0,s.jsxs)(o.Z,{spacing:3,children:[s.jsx(Z,{}),t&&s.jsx(D,{})]})]})}},9219:(e,t)=>{"use strict";Object.defineProperty(t,"__esModule",{value:!0}),Object.defineProperty(t,"ReflectAdapter",{enumerable:!0,get:function(){return r}});class r{static get(e,t,r){let s=Reflect.get(e,t,r);return"function"==typeof s?s.bind(e):s}static set(e,t,r,s){return Reflect.set(e,t,r,s)}static has(e,t){return Reflect.has(e,t)}static deleteProperty(e,t){return Reflect.deleteProperty(e,t)}}},69218:(e,t,r)=>{"use strict";r.r(t),r.d(t,{default:()=>s});let s=(0,r(2325).createProxy)(String.raw`/home/runner/work/minecraft-server-manager/minecraft-server-manager/platform/services/mcctl-console/src/app/(main)/backups/page.tsx#default`)}};var t=require("../../../webpack-runtime.js");t.C(e);var r=e=>t(t.s=e),s=t.X(0,[9836,1489,6591,3043,8847,7573,8872,6088,8504,6175,354,4609],()=>r(69367));module.exports=s})();
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":1,"files":["../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/bindings","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/package.json","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/file-uri-to-path","../../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/async-local-storage.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/package.json","../../../../../../../../package.json","../../../../../node_modules/better-sqlite3","../../../../../node_modules/next","../../../../../package.json","../../../../package.json","../../../chunks/1489.js","../../../chunks/3043.js","../../../chunks/3439.js","../../../chunks/354.js","../../../chunks/
|
|
1
|
+
{"version":1,"files":["../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/build/Release/better_sqlite3.node","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/database.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/index.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/aggregate.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/backup.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/function.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/inspect.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/pragma.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/serialize.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/table.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/transaction.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/methods/wrappers.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/sqlite-error.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/lib/util.js","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/better-sqlite3/package.json","../../../../../../../../node_modules/.pnpm/better-sqlite3@12.6.2/node_modules/bindings","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/bindings.js","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/bindings/package.json","../../../../../../../../node_modules/.pnpm/bindings@1.5.0/node_modules/file-uri-to-path","../../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/index.js","../../../../../../../../node_modules/.pnpm/file-uri-to-path@1.0.0/node_modules/file-uri-to-path/package.json","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/action-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/action-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/async-local-storage.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/request-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/request-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/static-generation-async-storage-instance.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/client/components/static-generation-async-storage.external.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/@opentelemetry/api/index.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/@opentelemetry/api/package.json","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/compiled/next-server/app-page.runtime.prod.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/lib/trace/constants.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/dist/server/lib/trace/tracer.js","../../../../../../../../node_modules/.pnpm/next@14.2.35_@babel+core@7.28.6_@playwright+test@1.58.0_react-dom@18.3.1_react@18.3.1__react@18.3.1/node_modules/next/package.json","../../../../../../../../package.json","../../../../../node_modules/better-sqlite3","../../../../../node_modules/next","../../../../../package.json","../../../../package.json","../../../chunks/1489.js","../../../chunks/3043.js","../../../chunks/3439.js","../../../chunks/354.js","../../../chunks/4609.js","../../../chunks/5863.js","../../../chunks/6088.js","../../../chunks/6175.js","../../../chunks/6591.js","../../../chunks/6782.js","../../../chunks/7573.js","../../../chunks/8504.js","../../../chunks/8847.js","../../../chunks/8872.js","../../../chunks/8896.js","../../../chunks/9836.js","../../../webpack-runtime.js","page_client-reference-manifest.js"]}
|