@minecraft-docker/mcctl-console 2.8.0 → 2.8.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (136) hide show
  1. package/.next/standalone/platform/services/mcctl-console/.next/BUILD_ID +1 -1
  2. package/.next/standalone/platform/services/mcctl-console/.next/app-build-manifest.json +74 -72
  3. package/.next/standalone/platform/services/mcctl-console/.next/app-path-routes-manifest.json +1 -1
  4. package/.next/standalone/platform/services/mcctl-console/.next/build-manifest.json +2 -2
  5. package/.next/standalone/platform/services/mcctl-console/.next/prerender-manifest.json +1 -1
  6. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/admin/users/page.js +1 -1
  7. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/admin/users/page_client-reference-manifest.js +1 -1
  8. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/audit-logs/page_client-reference-manifest.js +1 -1
  9. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page.js +1 -1
  10. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/backups/page_client-reference-manifest.js +1 -1
  11. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page.js +4 -4
  12. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page.js.nft.json +1 -1
  13. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/dashboard/page_client-reference-manifest.js +1 -1
  14. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/players/page_client-reference-manifest.js +1 -1
  15. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/routing/page_client-reference-manifest.js +1 -1
  16. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/console/page.js +1 -1
  17. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/console/page_client-reference-manifest.js +1 -1
  18. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page.js +1 -54
  19. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page.js.nft.json +1 -1
  20. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/[name]/page_client-reference-manifest.js +1 -1
  21. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page.js +1 -54
  22. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page.js.nft.json +1 -1
  23. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/servers/page_client-reference-manifest.js +1 -1
  24. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/settings/page_client-reference-manifest.js +1 -1
  25. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page.js +1 -1
  26. package/.next/standalone/platform/services/mcctl-console/.next/server/app/(main)/worlds/page_client-reference-manifest.js +1 -1
  27. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found/page_client-reference-manifest.js +1 -1
  28. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found.html +1 -1
  29. package/.next/standalone/platform/services/mcctl-console/.next/server/app/_not-found.rsc +1 -1
  30. package/.next/standalone/platform/services/mcctl-console/.next/server/app/audit-logs.html +1 -1
  31. package/.next/standalone/platform/services/mcctl-console/.next/server/app/audit-logs.rsc +2 -2
  32. package/.next/standalone/platform/services/mcctl-console/.next/server/app/backups.html +1 -1
  33. package/.next/standalone/platform/services/mcctl-console/.next/server/app/backups.rsc +3 -3
  34. package/.next/standalone/platform/services/mcctl-console/.next/server/app/dashboard.html +1 -1
  35. package/.next/standalone/platform/services/mcctl-console/.next/server/app/dashboard.rsc +3 -3
  36. package/.next/standalone/platform/services/mcctl-console/.next/server/app/index.html +1 -1
  37. package/.next/standalone/platform/services/mcctl-console/.next/server/app/index.rsc +1 -1
  38. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login/page_client-reference-manifest.js +1 -1
  39. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login.html +1 -1
  40. package/.next/standalone/platform/services/mcctl-console/.next/server/app/login.rsc +2 -2
  41. package/.next/standalone/platform/services/mcctl-console/.next/server/app/page_client-reference-manifest.js +1 -1
  42. package/.next/standalone/platform/services/mcctl-console/.next/server/app/players.html +1 -1
  43. package/.next/standalone/platform/services/mcctl-console/.next/server/app/players.rsc +3 -3
  44. package/.next/standalone/platform/services/mcctl-console/.next/server/app/routing.html +1 -1
  45. package/.next/standalone/platform/services/mcctl-console/.next/server/app/routing.rsc +3 -3
  46. package/.next/standalone/platform/services/mcctl-console/.next/server/app/servers.html +1 -1
  47. package/.next/standalone/platform/services/mcctl-console/.next/server/app/servers.rsc +3 -3
  48. package/.next/standalone/platform/services/mcctl-console/.next/server/app/settings.html +1 -1
  49. package/.next/standalone/platform/services/mcctl-console/.next/server/app/settings.rsc +3 -3
  50. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup/page_client-reference-manifest.js +1 -1
  51. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup.html +1 -1
  52. package/.next/standalone/platform/services/mcctl-console/.next/server/app/signup.rsc +2 -2
  53. package/.next/standalone/platform/services/mcctl-console/.next/server/app/worlds.html +1 -1
  54. package/.next/standalone/platform/services/mcctl-console/.next/server/app/worlds.rsc +3 -3
  55. package/.next/standalone/platform/services/mcctl-console/.next/server/app-paths-manifest.json +21 -21
  56. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/1088.js +1 -0
  57. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/5843.js +1 -1
  58. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/7049.js +54 -0
  59. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/8389.js +1 -1
  60. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/8847.js +1 -1
  61. package/.next/standalone/platform/services/mcctl-console/.next/server/middleware-manifest.json +5 -5
  62. package/.next/standalone/platform/services/mcctl-console/.next/server/pages/404.html +1 -1
  63. package/.next/standalone/platform/services/mcctl-console/.next/server/pages/500.html +1 -1
  64. package/.next/standalone/platform/services/mcctl-console/.next/server/server-reference-manifest.json +1 -1
  65. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/1047-1957808ef6d146f3.js +1 -0
  66. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/{1658-1c16e5a05aaa11ee.js → 1658-43a798763bcc82ae.js} +1 -1
  67. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/{7727-2552fac729c5514a.js → 2539-6bce0edb99b4e538.js} +1 -1
  68. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/5787-04cc23df05f9da2e.js +1 -0
  69. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/6039-38b0b8c06d25892e.js +1 -0
  70. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/6646-c5d039d1ad306467.js +1 -0
  71. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/682-6192991ddec396b8.js +1 -0
  72. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/7965-420dbb1f781fdc83.js +1 -0
  73. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/837-f4fbf77c24343b1f.js +1 -0
  74. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/8854-b34262a2493987c4.js +1 -0
  75. package/.next/{static/chunks/9949-92aa4cba630945d3.js → standalone/platform/services/mcctl-console/.next/static/chunks/9949-2daeb31bdedf25c7.js} +1 -1
  76. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/admin/users/page-e8263fc89b5d349a.js +1 -0
  77. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/dashboard/page-3cf14179dcdd7ac6.js +1 -0
  78. package/.next/{static/chunks/app/(main)/layout-22d4db17be3f8c25.js → standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/layout-bf1846a6b0c68959.js} +1 -1
  79. package/.next/{static/chunks/app/(main)/players/page-fef43a34b56c2fcf.js → standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/players/page-c4760429d9828ad3.js} +1 -1
  80. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/console/{page-1287129ad47a4440.js → page-a0050b5b439d954f.js} +1 -1
  81. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/page-f82acaf60a615953.js +1 -0
  82. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/page-382a14f87768df2c.js +1 -0
  83. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/worlds/page-a194d5d6a77d7e06.js +1 -0
  84. package/.next/{static/chunks/app/login/page-55283ea041e00fc0.js → standalone/platform/services/mcctl-console/.next/static/chunks/app/login/page-b7ec94d60aae14ce.js} +1 -1
  85. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/signup/{page-d3f96f0e775636fd.js → page-6f03571bb9914130.js} +1 -1
  86. package/.next/static/chunks/1047-1957808ef6d146f3.js +1 -0
  87. package/.next/static/chunks/{1658-1c16e5a05aaa11ee.js → 1658-43a798763bcc82ae.js} +1 -1
  88. package/.next/static/chunks/{7727-2552fac729c5514a.js → 2539-6bce0edb99b4e538.js} +1 -1
  89. package/.next/static/chunks/5787-04cc23df05f9da2e.js +1 -0
  90. package/.next/static/chunks/6039-38b0b8c06d25892e.js +1 -0
  91. package/.next/static/chunks/6646-c5d039d1ad306467.js +1 -0
  92. package/.next/static/chunks/682-6192991ddec396b8.js +1 -0
  93. package/.next/static/chunks/7965-420dbb1f781fdc83.js +1 -0
  94. package/.next/static/chunks/837-f4fbf77c24343b1f.js +1 -0
  95. package/.next/static/chunks/8854-b34262a2493987c4.js +1 -0
  96. package/.next/{standalone/platform/services/mcctl-console/.next/static/chunks/9949-92aa4cba630945d3.js → static/chunks/9949-2daeb31bdedf25c7.js} +1 -1
  97. package/.next/static/chunks/app/(main)/admin/users/page-e8263fc89b5d349a.js +1 -0
  98. package/.next/static/chunks/app/(main)/dashboard/page-3cf14179dcdd7ac6.js +1 -0
  99. package/.next/{standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/layout-22d4db17be3f8c25.js → static/chunks/app/(main)/layout-bf1846a6b0c68959.js} +1 -1
  100. package/.next/{standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/players/page-fef43a34b56c2fcf.js → static/chunks/app/(main)/players/page-c4760429d9828ad3.js} +1 -1
  101. package/.next/static/chunks/app/(main)/servers/[name]/console/{page-1287129ad47a4440.js → page-a0050b5b439d954f.js} +1 -1
  102. package/.next/static/chunks/app/(main)/servers/[name]/page-f82acaf60a615953.js +1 -0
  103. package/.next/static/chunks/app/(main)/servers/page-382a14f87768df2c.js +1 -0
  104. package/.next/static/chunks/app/(main)/worlds/page-a194d5d6a77d7e06.js +1 -0
  105. package/.next/{standalone/platform/services/mcctl-console/.next/static/chunks/app/login/page-55283ea041e00fc0.js → static/chunks/app/login/page-b7ec94d60aae14ce.js} +1 -1
  106. package/.next/static/chunks/app/signup/{page-d3f96f0e775636fd.js → page-6f03571bb9914130.js} +1 -1
  107. package/package.json +2 -2
  108. package/.next/standalone/platform/services/mcctl-console/.next/server/chunks/8091.js +0 -1
  109. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/1476-a0570078fdf78fae.js +0 -1
  110. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/3333-7e2d13faa47ed67e.js +0 -1
  111. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/4436-bf86b627021ca7ab.js +0 -1
  112. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/5787-bea4ee84b4bf2dea.js +0 -1
  113. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/7965-e1d52a92f5303aca.js +0 -1
  114. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/8468-8346b1d9ff3f7efa.js +0 -1
  115. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/8854-11e2a182afd76dcd.js +0 -1
  116. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/admin/users/page-3cc240ec265dc135.js +0 -1
  117. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/dashboard/page-fba60ccdbc06c136.js +0 -1
  118. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/[name]/page-1becd4dc3adb9b97.js +0 -1
  119. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/servers/page-bebe3d652d7cf3fb.js +0 -1
  120. package/.next/standalone/platform/services/mcctl-console/.next/static/chunks/app/(main)/worlds/page-e78b9914366748cf.js +0 -1
  121. package/.next/static/chunks/1476-a0570078fdf78fae.js +0 -1
  122. package/.next/static/chunks/3333-7e2d13faa47ed67e.js +0 -1
  123. package/.next/static/chunks/4436-bf86b627021ca7ab.js +0 -1
  124. package/.next/static/chunks/5787-bea4ee84b4bf2dea.js +0 -1
  125. package/.next/static/chunks/7965-e1d52a92f5303aca.js +0 -1
  126. package/.next/static/chunks/8468-8346b1d9ff3f7efa.js +0 -1
  127. package/.next/static/chunks/8854-11e2a182afd76dcd.js +0 -1
  128. package/.next/static/chunks/app/(main)/admin/users/page-3cc240ec265dc135.js +0 -1
  129. package/.next/static/chunks/app/(main)/dashboard/page-fba60ccdbc06c136.js +0 -1
  130. package/.next/static/chunks/app/(main)/servers/[name]/page-1becd4dc3adb9b97.js +0 -1
  131. package/.next/static/chunks/app/(main)/servers/page-bebe3d652d7cf3fb.js +0 -1
  132. package/.next/static/chunks/app/(main)/worlds/page-e78b9914366748cf.js +0 -1
  133. /package/.next/standalone/platform/services/mcctl-console/.next/static/{89Bssec70Vx75pcmzcDoG → S1X5jEkA1d_pSlIMuZWrE}/_buildManifest.js +0 -0
  134. /package/.next/standalone/platform/services/mcctl-console/.next/static/{89Bssec70Vx75pcmzcDoG → S1X5jEkA1d_pSlIMuZWrE}/_ssgManifest.js +0 -0
  135. /package/.next/static/{89Bssec70Vx75pcmzcDoG → S1X5jEkA1d_pSlIMuZWrE}/_buildManifest.js +0 -0
  136. /package/.next/static/{89Bssec70Vx75pcmzcDoG → S1X5jEkA1d_pSlIMuZWrE}/_ssgManifest.js +0 -0
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7727],{86702:function(e,t,r){r.d(t,{Z:function(){return w}});var n=r(32324),o=r(81500),a=r(35106),i=r(70316),s=r(65951),l=r(34519),c=r(28057),d=r(61626),u=r(94655),p=(0,d.Z)((0,u.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person"),m=r(11379),v=r(9049);function f(e){return(0,v.ZP)("MuiAvatar",e)}(0,m.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var h=r(3510);let g=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],y=e=>{let{classes:t,variant:r,colorDefault:n}=e;return(0,s.Z)({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},f,t)},Z=(0,l.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(e=>{let{theme:t}=e;return{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:(0,o.Z)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:(0,o.Z)({backgroundColor:t.palette.grey[400]},t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})))}]}}),b=(0,l.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),x=(0,l.ZP)(p,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});var w=a.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiAvatar"}),{alt:s,children:l,className:d,component:p="div",slots:m={},slotProps:v={},imgProps:f,sizes:w,src:C,srcSet:k,variant:P="circular"}=r,S=(0,n.Z)(r,g),M=null,A=function(e){let{crossOrigin:t,referrerPolicy:r,src:n,srcSet:o}=e,[i,s]=a.useState(!1);return a.useEffect(()=>{if(!n&&!o)return;s(!1);let e=!0,a=new Image;return a.onload=()=>{e&&s("loaded")},a.onerror=()=>{e&&s("error")},a.crossOrigin=t,a.referrerPolicy=r,a.src=n,o&&(a.srcset=o),()=>{e=!1}},[t,r,n,o]),i}((0,o.Z)({},f,{src:C,srcSet:k})),R=C||k,I=R&&"error"!==A,j=(0,o.Z)({},r,{colorDefault:!I,component:p,variant:P}),O=y(j),[L,N]=(0,h.Z)("img",{className:O.img,elementType:b,externalForwardedProps:{slots:m,slotProps:{img:(0,o.Z)({},f,v.img)}},additionalProps:{alt:s,src:C,srcSet:k,sizes:w},ownerState:j});return M=I?(0,u.jsx)(L,(0,o.Z)({},N)):l||0===l?l:R&&s?s[0]:(0,u.jsx)(x,{ownerState:j,className:O.fallback}),(0,u.jsx)(Z,(0,o.Z)({as:p,ownerState:j,className:(0,i.Z)(O.root,d),ref:t},S,{children:M}))})},16945:function(e,t,r){r.d(t,{V:function(){return a}});var n=r(11379),o=r(9049);function a(e){return(0,o.ZP)("MuiDivider",e)}let i=(0,n.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);t.Z=i},52082:function(e,t,r){r.d(t,{Z:function(){return C}});var n,o=r(32324),a=r(81500),i=r(35106),s=r(70316),l=r(65951),c=r(38762),d=r(31317),u=r(14406),p=r(85016),m=r(34519),v=r(11379),f=r(9049);function h(e){return(0,f.ZP)("MuiInputAdornment",e)}let g=(0,v.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var y=r(28057),Z=r(94655);let b=["children","className","component","disablePointerEvents","disableTypography","position","variant"],x=e=>{let{classes:t,disablePointerEvents:r,hiddenLabel:n,position:o,size:a,variant:i}=e,s={root:["root",r&&"disablePointerEvents",o&&"position".concat((0,c.Z)(o)),i,n&&"hiddenLabel",a&&"size".concat((0,c.Z)(a))]};return(0,l.Z)(s,h,t)},w=(0,m.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["position".concat((0,c.Z)(r.position))],!0===r.disablePointerEvents&&t.disablePointerEvents,t[r.variant]]}})(e=>{let{theme:t,ownerState:r}=e;return(0,a.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===r.variant&&{["&.".concat(g.positionStart,"&:not(.").concat(g.hiddenLabel,")")]:{marginTop:16}},"start"===r.position&&{marginRight:8},"end"===r.position&&{marginLeft:8},!0===r.disablePointerEvents&&{pointerEvents:"none"})});var C=i.forwardRef(function(e,t){let r=(0,y.i)({props:e,name:"MuiInputAdornment"}),{children:l,className:c,component:m="div",disablePointerEvents:v=!1,disableTypography:f=!1,position:h,variant:g}=r,C=(0,o.Z)(r,b),k=(0,p.Z)()||{},P=g;g&&k.variant,k&&!P&&(P=k.variant);let S=(0,a.Z)({},r,{hiddenLabel:k.hiddenLabel,size:k.size,disablePointerEvents:v,position:h,variant:P}),M=x(S);return(0,Z.jsx)(u.Z.Provider,{value:null,children:(0,Z.jsx)(w,(0,a.Z)({as:m,ownerState:S,className:(0,s.Z)(M.root,c),ref:t},C,{children:"string"!=typeof l||f?(0,Z.jsxs)(i.Fragment,{children:["start"===h?n||(n=(0,Z.jsx)("span",{className:"notranslate",children:"​"})):null,l]}):(0,Z.jsx)(d.Z,{color:"text.secondary",children:l})}))})})},33326:function(e,t,r){r.d(t,{f:function(){return a}});var n=r(11379),o=r(9049);function a(e){return(0,o.ZP)("MuiListItemIcon",e)}let i=(0,n.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);t.Z=i},7178:function(e,t,r){r.d(t,{Z:function(){return M}});var n=r(32324),o=r(81500),a=r(35106),i=r(70316),s=r(65951),l=r(64577),c=r(34519),d=r(15651),u=r(28057),p=r(75084),m=r(29084),v=r(65425),f=r(38481),h=r(16945),g=r(33326),y=r(64769),Z=r(11379),b=r(9049);function x(e){return(0,b.ZP)("MuiMenuItem",e)}let w=(0,Z.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var C=r(94655);let k=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],P=e=>{let{disabled:t,dense:r,divider:n,disableGutters:a,selected:i,classes:l}=e,c=(0,s.Z)({root:["root",r&&"dense",t&&"disabled",!a&&"gutters",n&&"divider",i&&"selected"]},x,l);return(0,o.Z)({},l,c)},S=(0,c.ZP)(m.Z,{shouldForwardProp:e=>(0,d.Z)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})(e=>{let{theme:t,ownerState:r}=e;return(0,o.Z)({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(w.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(w.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(w.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}},["&.".concat(w.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(w.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity},["& + .".concat(h.Z.root)]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},["& + .".concat(h.Z.inset)]:{marginLeft:52},["& .".concat(y.Z.root)]:{marginTop:0,marginBottom:0},["& .".concat(y.Z.inset)]:{paddingLeft:36},["& .".concat(g.Z.root)]:{minWidth:36}},!r.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},r.dense&&(0,o.Z)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{["& .".concat(g.Z.root," svg")]:{fontSize:"1.25rem"}}))});var M=a.forwardRef(function(e,t){let r;let s=(0,u.i)({props:e,name:"MuiMenuItem"}),{autoFocus:l=!1,component:c="li",dense:d=!1,divider:m=!1,disableGutters:h=!1,focusVisibleClassName:g,role:y="menuitem",tabIndex:Z,className:b}=s,x=(0,n.Z)(s,k),w=a.useContext(p.Z),M=a.useMemo(()=>({dense:d||w.dense||!1,disableGutters:h}),[w.dense,d,h]),A=a.useRef(null);(0,v.Z)(()=>{l&&A.current&&A.current.focus()},[l]);let R=(0,o.Z)({},s,{dense:M.dense,divider:m,disableGutters:h}),I=P(s),j=(0,f.Z)(A,t);return s.disabled||(r=void 0!==Z?Z:-1),(0,C.jsx)(p.Z.Provider,{value:M,children:(0,C.jsx)(S,(0,o.Z)({ref:j,role:y,tabIndex:r,component:c,focusVisibleClassName:(0,i.Z)(I.focusVisible,g),className:(0,i.Z)(I.root,b)},x,{ownerState:R,classes:I}))})})},48442:function(e,t,r){r.d(t,{Z:function(){return y}});var n=r(81500),o=r(32324),a=r(14526),i=r(41499),s=r(8557),l=r(72686);let c=["ownerState"],d=["variants"],u=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function m(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}let v=(0,s.Z)(),f=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function h({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function g(e,t,r){let{ownerState:i}=t,s=(0,o.Z)(t,c),l="function"==typeof e?e((0,n.Z)({ownerState:i},s)):e;if(Array.isArray(l))return l.flatMap(e=>g(e,(0,n.Z)({ownerState:i},s),r));if(l&&"object"==typeof l&&Array.isArray(l.variants)){let{variants:e=[]}=l,t=(0,o.Z)(l,d);return e.forEach(e=>{let o=!0;if("function"==typeof e.props?o=e.props((0,n.Z)({ownerState:i},s,i)):Object.keys(e.props).forEach(t=>{(null==i?void 0:i[t])!==e.props[t]&&s[t]!==e.props[t]&&(o=!1)}),o){Array.isArray(t)||(t=[t]);let o="function"==typeof e.style?e.style((0,n.Z)({ownerState:i},s,i)):e.style;t.push(r?m((0,a.internal_serializeStyles)(o),r):o)}}),t}return r?m((0,a.internal_serializeStyles)(l),r):l}var y=function(e={}){let{themeId:t,defaultTheme:r=v,rootShouldForwardProp:s=p,slotShouldForwardProp:c=p}=e,d=e=>(0,l.Z)((0,n.Z)({},e,{theme:h((0,n.Z)({},e,{defaultTheme:r,themeId:t}))}));return d.__mui_systemSx=!0,(e,l={})=>{var m;let v;(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:y,slot:Z,skipVariantsResolver:b,skipSx:x,overridesResolver:w=(m=f(Z))?(e,t)=>t[m]:null}=l,C=(0,o.Z)(l,u),k=y&&y.startsWith("Mui")||Z?"components":"custom",P=void 0!==b?b:Z&&"Root"!==Z&&"root"!==Z||!1,S=x||!1,M=p;"Root"===Z||"root"===Z?M=s:Z?M=c:"string"==typeof e&&e.charCodeAt(0)>96&&(M=void 0);let A=(0,a.default)(e,(0,n.Z)({shouldForwardProp:M,label:v},C)),R=e=>"function"==typeof e&&e.__emotion_real!==e||(0,i.P)(e)?o=>{let a=h({theme:o.theme,defaultTheme:r,themeId:t});return g(e,(0,n.Z)({},o,{theme:a}),a.modularCssLayers?k:void 0)}:e,I=(o,...a)=>{let i=R(o),s=a?a.map(R):[];y&&w&&s.push(e=>{let o=h((0,n.Z)({},e,{defaultTheme:r,themeId:t}));if(!o.components||!o.components[y]||!o.components[y].styleOverrides)return null;let a=o.components[y].styleOverrides,i={};return Object.entries(a).forEach(([t,r])=>{i[t]=g(r,(0,n.Z)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),w(e,i)}),y&&!P&&s.push(e=>{var o;let a=h((0,n.Z)({},e,{defaultTheme:r,themeId:t}));return g({variants:null==a||null==(o=a.components)||null==(o=o[y])?void 0:o.variants},(0,n.Z)({},e,{theme:a}),a.modularCssLayers?"theme":void 0)}),S||s.push(d);let l=s.length-a.length;if(Array.isArray(o)&&l>0){let e=Array(l).fill("");(i=[...o,...e]).raw=[...o.raw,...e]}let c=A(i,...s);return e.muiName&&(c.muiName=e.muiName),c};return A.withConfig&&(I.withConfig=A.withConfig),I}}()},54569:function(e,t,r){r.d(t,{Z:function(){return a}});var n=r(71483),o=r(32730);function a(e){let{props:t,name:r,defaultTheme:a,themeId:i}=e,s=(0,o.Z)(a);return i&&(s=s[i]||s),function(e){let{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,o):o}({theme:s,name:r,props:t})}}}]);
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2539],{86702:function(e,t,r){r.d(t,{Z:function(){return w}});var n=r(32324),o=r(81500),a=r(35106),i=r(70316),s=r(65951),l=r(34519),c=r(28057),d=r(61626),u=r(94655),p=(0,d.Z)((0,u.jsx)("path",{d:"M12 12c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm0 2c-2.67 0-8 1.34-8 4v2h16v-2c0-2.66-5.33-4-8-4z"}),"Person"),m=r(11379),v=r(9049);function f(e){return(0,v.ZP)("MuiAvatar",e)}(0,m.Z)("MuiAvatar",["root","colorDefault","circular","rounded","square","img","fallback"]);var h=r(3510);let g=["alt","children","className","component","slots","slotProps","imgProps","sizes","src","srcSet","variant"],y=e=>{let{classes:t,variant:r,colorDefault:n}=e;return(0,s.Z)({root:["root",r,n&&"colorDefault"],img:["img"],fallback:["fallback"]},f,t)},Z=(0,l.ZP)("div",{name:"MuiAvatar",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.variant],r.colorDefault&&t.colorDefault]}})(e=>{let{theme:t}=e;return{position:"relative",display:"flex",alignItems:"center",justifyContent:"center",flexShrink:0,width:40,height:40,fontFamily:t.typography.fontFamily,fontSize:t.typography.pxToRem(20),lineHeight:1,borderRadius:"50%",overflow:"hidden",userSelect:"none",variants:[{props:{variant:"rounded"},style:{borderRadius:(t.vars||t).shape.borderRadius}},{props:{variant:"square"},style:{borderRadius:0}},{props:{colorDefault:!0},style:(0,o.Z)({color:(t.vars||t).palette.background.default},t.vars?{backgroundColor:t.vars.palette.Avatar.defaultBg}:(0,o.Z)({backgroundColor:t.palette.grey[400]},t.applyStyles("dark",{backgroundColor:t.palette.grey[600]})))}]}}),b=(0,l.ZP)("img",{name:"MuiAvatar",slot:"Img",overridesResolver:(e,t)=>t.img})({width:"100%",height:"100%",textAlign:"center",objectFit:"cover",color:"transparent",textIndent:1e4}),x=(0,l.ZP)(p,{name:"MuiAvatar",slot:"Fallback",overridesResolver:(e,t)=>t.fallback})({width:"75%",height:"75%"});var w=a.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiAvatar"}),{alt:s,children:l,className:d,component:p="div",slots:m={},slotProps:v={},imgProps:f,sizes:w,src:C,srcSet:k,variant:P="circular"}=r,S=(0,n.Z)(r,g),M=null,A=function(e){let{crossOrigin:t,referrerPolicy:r,src:n,srcSet:o}=e,[i,s]=a.useState(!1);return a.useEffect(()=>{if(!n&&!o)return;s(!1);let e=!0,a=new Image;return a.onload=()=>{e&&s("loaded")},a.onerror=()=>{e&&s("error")},a.crossOrigin=t,a.referrerPolicy=r,a.src=n,o&&(a.srcset=o),()=>{e=!1}},[t,r,n,o]),i}((0,o.Z)({},f,{src:C,srcSet:k})),R=C||k,I=R&&"error"!==A,j=(0,o.Z)({},r,{colorDefault:!I,component:p,variant:P}),O=y(j),[L,N]=(0,h.Z)("img",{className:O.img,elementType:b,externalForwardedProps:{slots:m,slotProps:{img:(0,o.Z)({},f,v.img)}},additionalProps:{alt:s,src:C,srcSet:k,sizes:w},ownerState:j});return M=I?(0,u.jsx)(L,(0,o.Z)({},N)):l||0===l?l:R&&s?s[0]:(0,u.jsx)(x,{ownerState:j,className:O.fallback}),(0,u.jsx)(Z,(0,o.Z)({as:p,ownerState:j,className:(0,i.Z)(O.root,d),ref:t},S,{children:M}))})},16945:function(e,t,r){r.d(t,{V:function(){return a}});var n=r(11379),o=r(9049);function a(e){return(0,o.ZP)("MuiDivider",e)}let i=(0,n.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);t.Z=i},52082:function(e,t,r){r.d(t,{Z:function(){return C}});var n,o=r(32324),a=r(81500),i=r(35106),s=r(70316),l=r(65951),c=r(38762),d=r(31317),u=r(14406),p=r(85016),m=r(34519),v=r(11379),f=r(9049);function h(e){return(0,f.ZP)("MuiInputAdornment",e)}let g=(0,v.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var y=r(28057),Z=r(94655);let b=["children","className","component","disablePointerEvents","disableTypography","position","variant"],x=e=>{let{classes:t,disablePointerEvents:r,hiddenLabel:n,position:o,size:a,variant:i}=e,s={root:["root",r&&"disablePointerEvents",o&&"position".concat((0,c.Z)(o)),i,n&&"hiddenLabel",a&&"size".concat((0,c.Z)(a))]};return(0,l.Z)(s,h,t)},w=(0,m.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["position".concat((0,c.Z)(r.position))],!0===r.disablePointerEvents&&t.disablePointerEvents,t[r.variant]]}})(e=>{let{theme:t,ownerState:r}=e;return(0,a.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===r.variant&&{["&.".concat(g.positionStart,"&:not(.").concat(g.hiddenLabel,")")]:{marginTop:16}},"start"===r.position&&{marginRight:8},"end"===r.position&&{marginLeft:8},!0===r.disablePointerEvents&&{pointerEvents:"none"})});var C=i.forwardRef(function(e,t){let r=(0,y.i)({props:e,name:"MuiInputAdornment"}),{children:l,className:c,component:m="div",disablePointerEvents:v=!1,disableTypography:f=!1,position:h,variant:g}=r,C=(0,o.Z)(r,b),k=(0,p.Z)()||{},P=g;g&&k.variant,k&&!P&&(P=k.variant);let S=(0,a.Z)({},r,{hiddenLabel:k.hiddenLabel,size:k.size,disablePointerEvents:v,position:h,variant:P}),M=x(S);return(0,Z.jsx)(u.Z.Provider,{value:null,children:(0,Z.jsx)(w,(0,a.Z)({as:m,ownerState:S,className:(0,s.Z)(M.root,c),ref:t},C,{children:"string"!=typeof l||f?(0,Z.jsxs)(i.Fragment,{children:["start"===h?n||(n=(0,Z.jsx)("span",{className:"notranslate",children:"​"})):null,l]}):(0,Z.jsx)(d.Z,{color:"text.secondary",children:l})}))})})},33326:function(e,t,r){r.d(t,{f:function(){return a}});var n=r(11379),o=r(9049);function a(e){return(0,o.ZP)("MuiListItemIcon",e)}let i=(0,n.Z)("MuiListItemIcon",["root","alignItemsFlexStart"]);t.Z=i},7178:function(e,t,r){r.d(t,{Z:function(){return M}});var n=r(32324),o=r(81500),a=r(35106),i=r(70316),s=r(65951),l=r(64577),c=r(34519),d=r(15651),u=r(28057),p=r(75084),m=r(29084),v=r(65425),f=r(38481),h=r(16945),g=r(33326),y=r(64769),Z=r(11379),b=r(9049);function x(e){return(0,b.ZP)("MuiMenuItem",e)}let w=(0,Z.Z)("MuiMenuItem",["root","focusVisible","dense","disabled","divider","gutters","selected"]);var C=r(94655);let k=["autoFocus","component","dense","divider","disableGutters","focusVisibleClassName","role","tabIndex","className"],P=e=>{let{disabled:t,dense:r,divider:n,disableGutters:a,selected:i,classes:l}=e,c=(0,s.Z)({root:["root",r&&"dense",t&&"disabled",!a&&"gutters",n&&"divider",i&&"selected"]},x,l);return(0,o.Z)({},l,c)},S=(0,c.ZP)(m.Z,{shouldForwardProp:e=>(0,d.Z)(e)||"classes"===e,name:"MuiMenuItem",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.dense&&t.dense,r.divider&&t.divider,!r.disableGutters&&t.gutters]}})(e=>{let{theme:t,ownerState:r}=e;return(0,o.Z)({},t.typography.body1,{display:"flex",justifyContent:"flex-start",alignItems:"center",position:"relative",textDecoration:"none",minHeight:48,paddingTop:6,paddingBottom:6,boxSizing:"border-box",whiteSpace:"nowrap"},!r.disableGutters&&{paddingLeft:16,paddingRight:16},r.divider&&{borderBottom:"1px solid ".concat((t.vars||t).palette.divider),backgroundClip:"padding-box"},{"&:hover":{textDecoration:"none",backgroundColor:(t.vars||t).palette.action.hover,"@media (hover: none)":{backgroundColor:"transparent"}},["&.".concat(w.selected)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity),["&.".concat(w.focusVisible)]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.focusOpacity,"))"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.focusOpacity)}},["&.".concat(w.selected,":hover")]:{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / calc(").concat(t.vars.palette.action.selectedOpacity," + ").concat(t.vars.palette.action.hoverOpacity,"))"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity+t.palette.action.hoverOpacity),"@media (hover: none)":{backgroundColor:t.vars?"rgba(".concat(t.vars.palette.primary.mainChannel," / ").concat(t.vars.palette.action.selectedOpacity,")"):(0,l.Fq)(t.palette.primary.main,t.palette.action.selectedOpacity)}},["&.".concat(w.focusVisible)]:{backgroundColor:(t.vars||t).palette.action.focus},["&.".concat(w.disabled)]:{opacity:(t.vars||t).palette.action.disabledOpacity},["& + .".concat(h.Z.root)]:{marginTop:t.spacing(1),marginBottom:t.spacing(1)},["& + .".concat(h.Z.inset)]:{marginLeft:52},["& .".concat(y.Z.root)]:{marginTop:0,marginBottom:0},["& .".concat(y.Z.inset)]:{paddingLeft:36},["& .".concat(g.Z.root)]:{minWidth:36}},!r.dense&&{[t.breakpoints.up("sm")]:{minHeight:"auto"}},r.dense&&(0,o.Z)({minHeight:32,paddingTop:4,paddingBottom:4},t.typography.body2,{["& .".concat(g.Z.root," svg")]:{fontSize:"1.25rem"}}))});var M=a.forwardRef(function(e,t){let r;let s=(0,u.i)({props:e,name:"MuiMenuItem"}),{autoFocus:l=!1,component:c="li",dense:d=!1,divider:m=!1,disableGutters:h=!1,focusVisibleClassName:g,role:y="menuitem",tabIndex:Z,className:b}=s,x=(0,n.Z)(s,k),w=a.useContext(p.Z),M=a.useMemo(()=>({dense:d||w.dense||!1,disableGutters:h}),[w.dense,d,h]),A=a.useRef(null);(0,v.Z)(()=>{l&&A.current&&A.current.focus()},[l]);let R=(0,o.Z)({},s,{dense:M.dense,divider:m,disableGutters:h}),I=P(s),j=(0,f.Z)(A,t);return s.disabled||(r=void 0!==Z?Z:-1),(0,C.jsx)(p.Z.Provider,{value:M,children:(0,C.jsx)(S,(0,o.Z)({ref:j,role:y,tabIndex:r,component:c,focusVisibleClassName:(0,i.Z)(I.focusVisible,g),className:(0,i.Z)(I.root,b)},x,{ownerState:R,classes:I}))})})},48442:function(e,t,r){r.d(t,{Z:function(){return y}});var n=r(81500),o=r(32324),a=r(14526),i=r(41499),s=r(8557),l=r(72686);let c=["ownerState"],d=["variants"],u=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function m(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}let v=(0,s.Z)(),f=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function h({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function g(e,t,r){let{ownerState:i}=t,s=(0,o.Z)(t,c),l="function"==typeof e?e((0,n.Z)({ownerState:i},s)):e;if(Array.isArray(l))return l.flatMap(e=>g(e,(0,n.Z)({ownerState:i},s),r));if(l&&"object"==typeof l&&Array.isArray(l.variants)){let{variants:e=[]}=l,t=(0,o.Z)(l,d);return e.forEach(e=>{let o=!0;if("function"==typeof e.props?o=e.props((0,n.Z)({ownerState:i},s,i)):Object.keys(e.props).forEach(t=>{(null==i?void 0:i[t])!==e.props[t]&&s[t]!==e.props[t]&&(o=!1)}),o){Array.isArray(t)||(t=[t]);let o="function"==typeof e.style?e.style((0,n.Z)({ownerState:i},s,i)):e.style;t.push(r?m((0,a.internal_serializeStyles)(o),r):o)}}),t}return r?m((0,a.internal_serializeStyles)(l),r):l}var y=function(e={}){let{themeId:t,defaultTheme:r=v,rootShouldForwardProp:s=p,slotShouldForwardProp:c=p}=e,d=e=>(0,l.Z)((0,n.Z)({},e,{theme:h((0,n.Z)({},e,{defaultTheme:r,themeId:t}))}));return d.__mui_systemSx=!0,(e,l={})=>{var m;let v;(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:y,slot:Z,skipVariantsResolver:b,skipSx:x,overridesResolver:w=(m=f(Z))?(e,t)=>t[m]:null}=l,C=(0,o.Z)(l,u),k=y&&y.startsWith("Mui")||Z?"components":"custom",P=void 0!==b?b:Z&&"Root"!==Z&&"root"!==Z||!1,S=x||!1,M=p;"Root"===Z||"root"===Z?M=s:Z?M=c:"string"==typeof e&&e.charCodeAt(0)>96&&(M=void 0);let A=(0,a.default)(e,(0,n.Z)({shouldForwardProp:M,label:v},C)),R=e=>"function"==typeof e&&e.__emotion_real!==e||(0,i.P)(e)?o=>{let a=h({theme:o.theme,defaultTheme:r,themeId:t});return g(e,(0,n.Z)({},o,{theme:a}),a.modularCssLayers?k:void 0)}:e,I=(o,...a)=>{let i=R(o),s=a?a.map(R):[];y&&w&&s.push(e=>{let o=h((0,n.Z)({},e,{defaultTheme:r,themeId:t}));if(!o.components||!o.components[y]||!o.components[y].styleOverrides)return null;let a=o.components[y].styleOverrides,i={};return Object.entries(a).forEach(([t,r])=>{i[t]=g(r,(0,n.Z)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),w(e,i)}),y&&!P&&s.push(e=>{var o;let a=h((0,n.Z)({},e,{defaultTheme:r,themeId:t}));return g({variants:null==a||null==(o=a.components)||null==(o=o[y])?void 0:o.variants},(0,n.Z)({},e,{theme:a}),a.modularCssLayers?"theme":void 0)}),S||s.push(d);let l=s.length-a.length;if(Array.isArray(o)&&l>0){let e=Array(l).fill("");(i=[...o,...e]).raw=[...o.raw,...e]}let c=A(i,...s);return e.muiName&&(c.muiName=e.muiName),c};return A.withConfig&&(I.withConfig=A.withConfig),I}}()},13864:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(71483);function o(e){let{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,o):o}},14189:function(e,t,r){r.d(t,{Z:function(){return a}});var n=r(13864),o=r(32730);function a(e){let{props:t,name:r,defaultTheme:a,themeId:i}=e,s=(0,o.Z)(a);return i&&(s=s[i]||s),(0,n.Z)({theme:s,name:r,props:t})}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5787],{3454:function(e,t,n){n.d(t,{LoadingProvider:function(){return i},startLoading:function(){return a},stopLoading:function(){return u}});var r=n(94655),o=n(35106),s=n(74228),l=n(31477),c=n.n(l);function i(e){let{children:t}=e,n=(0,s.usePathname)(),l=(0,s.useSearchParams)();return(0,o.useEffect)(()=>{c().done()},[n,l]),(0,r.jsx)(r.Fragment,{children:t})}function a(){c().start()}function u(){c().done()}c().configure({showSpinner:!1,speed:300,minimum:.1})},8690:function(e,t,n){n.d(t,{Av:function(){return r.startLoading}});var r=n(3454)},73660:function(e,t,n){n.d(t,{K:function(){return w}});var r=n(94655),o=n(35106),s=n(18844),l=n.n(s),c=n(7281),i=n(69899),a=n(97436),u=n(30417),d=n(90829),h=n(79983),p=n(31317),m=n(25333),f=n(40064),g=n(45547),x=n(70115),C=n(69123),v=n(93017),b=n(11141),S=n(19127),R=n(69366),y=n(163);let j=[{label:"say",template:"say "},{label:"give",template:"give "},{label:"tp",template:"tp "},{label:"gamemode",template:"gamemode "}],k=new(l())({fg:"#aaa",bg:"#000",newline:!1,escapeXML:!0,colors:{0:"#000000",1:"#cc0000",2:"#4e9a06",3:"#c4a000",4:"#3465a4",5:"#75507b",6:"#06989a",7:"#d3d7cf",8:"#555753",9:"#ef2929",10:"#8ae234",11:"#fce94f",12:"#729fcf",13:"#ad7fa8",14:"#34e2e2",15:"#eeeeec"}}),Z=(0,o.memo)(function(e){let{log:t}=e,n=(0,o.useMemo)(()=>(function(e){let t=e.replace(/\x1b\[\?[\d;]*[a-zA-Z]/g,"").replace(/\x1b\[[0-9;]*[KJH]/g,"").replace(/\x1b=/g,"").replace(/\[\?[\d;]*[a-zA-Z]/g,"").replace(/\[[0-9;]*[KJH]/g,"").replace(/\[m/g,"").replace(/\[(\d+)m/g,"\x1b[$1m").replace(/>\.\.\.\.\r?/g,"").replace(/\r/g,"");return k.toHtml(t)})(t),[t]);return(0,r.jsx)(c.Z,{sx:{py:.25,whiteSpace:"pre-wrap",wordBreak:"break-all","& span":{}},dangerouslySetInnerHTML:{__html:n}})});function w(e){let{serverName:t}=e,[n,s]=(0,o.useState)(""),[l,k]=(0,o.useState)([]),[w,E]=(0,o.useState)(-1),[N,T]=(0,o.useState)("ALL"),[A,O]=(0,o.useState)(!0),[I,L]=(0,o.useState)(!0),[z,D]=(0,o.useState)(!1),M=(0,o.useRef)(null),F=(0,o.useRef)(null),{logs:H,isConnected:W,clearLogs:P,reconnect:_,retryCount:J}=(0,y.Y)({serverName:t}),K=(0,o.useMemo)(()=>{let e=H;return I&&(e=e.filter(e=>!e.includes("RCON Listener")&&!e.includes("RCON Client")&&!e.includes("RconClient"))),"ALL"!==N&&(e=e.filter(e=>(e.includes("/ERROR]")||e.includes("/ERROR:")?"ERROR":e.includes("/WARN]")||e.includes("/WARN:")?"WARN":(e.includes("/INFO]")||e.includes("/INFO:"),"INFO"))===N)),e},[H,N,I]);(0,o.useEffect)(()=>{A&&F.current&&(F.current.scrollTop=F.current.scrollHeight)},[K,A]);let U=(0,o.useCallback)(async()=>{let e=n.trim();if(e&&!z){D(!0);try{k(t=>[...t,e]),E(-1),await fetch("/api/servers/".concat(encodeURIComponent(t),"/exec"),{method:"POST",headers:{"Content-Type":"application/json"},body:JSON.stringify({command:e})}),s("")}catch(e){console.error("Failed to execute command:",e)}finally{D(!1)}}},[n,t,z]),B=(0,o.useCallback)(e=>{if("Enter"===e.key)e.preventDefault(),U();else if("ArrowUp"===e.key){if(e.preventDefault(),0===l.length)return;let t=-1===w?l.length-1:Math.max(0,w-1);E(t),s(l[t])}else if("ArrowDown"===e.key){if(e.preventDefault(),-1===w)return;let t=w+1;t>=l.length?(E(-1),s("")):(E(t),s(l[t]))}},[l,w,U]),Y=(0,o.useCallback)(e=>{var t;s(e),null===(t=M.current)||void 0===t||t.focus()},[]),G=W?{text:"Connected",color:"success"}:J>0?{text:"Disconnected (Retry ".concat(J,")"),color:"warning"}:{text:"Disconnected",color:"error"};return(0,r.jsxs)(i.Z,{"data-testid":"server-console",sx:{display:"flex",flexDirection:"column",height:"100%",minHeight:400},children:[(0,r.jsxs)(c.Z,{sx:{display:"flex",flexDirection:{xs:"column",sm:"row"},alignItems:{xs:"flex-start",sm:"center"},justifyContent:"space-between",px:2,py:1,gap:1,borderBottom:1,borderColor:"divider"},children:[(0,r.jsxs)(x.Z,{direction:"row",spacing:1,alignItems:"center",children:[(0,r.jsx)(p.Z,{variant:"subtitle2",children:"Console"}),(0,r.jsx)(m.Z,{"data-testid":"connection-status",label:G.text,color:G.color,size:"small"})]}),(0,r.jsxs)(x.Z,{direction:"row",spacing:1,alignItems:"center",flexWrap:"wrap",useFlexGap:!0,children:[(0,r.jsx)(d.Z,{size:"small",variant:"outlined",children:["ALL","INFO","WARN","ERROR"].map(e=>(0,r.jsx)(u.Z,{onClick:()=>T(e),variant:N===e?"contained":"outlined",children:e},e))}),(0,r.jsx)(f.Z,{control:(0,r.jsx)(g.Z,{checked:A,onChange:e=>O(e.target.checked),size:"small",inputProps:{"aria-label":"Auto-scroll"}}),label:"Auto-scroll"}),(0,r.jsx)(f.Z,{control:(0,r.jsx)(g.Z,{checked:I,onChange:e=>L(e.target.checked),size:"small",inputProps:{"aria-label":"Hide RCON"}}),label:"Hide RCON"}),(0,r.jsx)(h.Z,{size:"small",onClick:P,"aria-label":"Clear logs",title:"Clear logs",children:(0,r.jsx)(S.Z,{})}),!W&&(0,r.jsx)(u.Z,{size:"small",startIcon:(0,r.jsx)(R.Z,{}),onClick:_,"aria-label":"Reconnect",children:"Reconnect"})]})]}),(0,r.jsx)(c.Z,{ref:F,sx:{flex:1,overflow:"auto",bgcolor:"#1a1a1a",p:1,fontFamily:'"Roboto Mono", monospace',fontSize:"0.85rem"},children:0===K.length?(0,r.jsx)(p.Z,{color:"text.secondary",sx:{textAlign:"center",py:4,color:"#666"},children:"Waiting for logs..."}):K.map((e,t)=>(0,r.jsx)(Z,{log:e},t))}),(0,r.jsx)(C.Z,{}),(0,r.jsx)(c.Z,{sx:{px:2,py:1,bgcolor:"background.default"},children:(0,r.jsxs)(x.Z,{direction:"row",spacing:1,children:[(0,r.jsx)(p.Z,{variant:"caption",color:"text.secondary",sx:{alignSelf:"center"},children:"Quick:"}),j.map(e=>(0,r.jsx)(u.Z,{size:"small",variant:"outlined",onClick:()=>Y(e.template),children:e.label},e.label))]})}),(0,r.jsx)(C.Z,{}),(0,r.jsxs)(c.Z,{sx:{display:"flex",p:1,gap:1},children:[(0,r.jsx)(a.Z,{inputRef:M,fullWidth:!0,size:"small",placeholder:"Enter command...",value:n,onChange:e=>s(e.target.value),onKeyDown:B,disabled:!W||z,InputProps:{sx:{fontFamily:'"Roboto Mono", monospace'}}}),(0,r.jsx)(u.Z,{variant:"contained",onClick:U,disabled:!n.trim()||!W||z,startIcon:z?(0,r.jsx)(v.Z,{size:16}):(0,r.jsx)(b.Z,{}),"aria-label":"Send command",children:"Send"})]})]})}},31358:function(e,t,n){n.d(t,{x:function(){return l}});var r=n(74228),o=n(35106),s=n(8690);function l(){let e=(0,r.useRouter)(),t=(0,o.useCallback)((t,n)=>{(0,s.Av)(),e.push(t,n)},[e]),n=(0,o.useCallback)((t,n)=>{(0,s.Av)(),e.replace(t,n)},[e]);return(0,o.useMemo)(()=>({...e,push:t,replace:n}),[e,t,n])}},93757:function(e,t,n){n.d(t,{D:function(){return s}});var r=n(35106);class o{connect(e){this.options=e,this.shouldReconnect=!0,this.establishConnection()}establishConnection(){this.options&&(this.updateState("connecting"),this.eventSource&&this.eventSource.close(),this.eventSource=new EventSource(this.options.url,{withCredentials:this.options.withCredentials||!1}),this.eventSource.onopen=()=>{this.updateState("connected"),this.retryCount=0,this.lastError=null},this.eventSource.onmessage=e=>{if(!e.data.startsWith(":"))try{var t,n;let r=JSON.parse(e.data);null===(n=this.options)||void 0===n||null===(t=n.onMessage)||void 0===t||t.call(n,r)}catch(e){console.warn("Failed to parse SSE message:",e)}},this.eventSource.onerror=()=>{var e,t;let n={message:"SSE connection error",code:"CONNECTION_ERROR",retryCount:this.retryCount,timestamp:new Date};this.lastError=n,this.updateState("error"),null===(t=this.options)||void 0===t||null===(e=t.onError)||void 0===e||e.call(t,n),this.shouldReconnect&&this.scheduleReconnect()})}scheduleReconnect(){var e,t;if(!this.options)return;let n=null!==(e=this.options.maxReconnectAttempts)&&void 0!==e?e:1/0;if(this.retryCount>=n)return;this.reconnectTimer&&clearTimeout(this.reconnectTimer);let r=null!==(t=this.options.reconnectInterval)&&void 0!==t?t:3e3;this.reconnectTimer=setTimeout(()=>{this.retryCount++,this.establishConnection()},r)}disconnect(){this.shouldReconnect=!1,this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.eventSource&&(this.eventSource.close(),this.eventSource=null),this.updateState("disconnected")}getState(){return this.state}isConnected(){return"connected"===this.state}getLastError(){return this.lastError}getRetryCount(){return this.retryCount}reconnect(){this.retryCount++,this.shouldReconnect=!0,this.eventSource&&(this.eventSource.close(),this.eventSource=null),this.reconnectTimer&&(clearTimeout(this.reconnectTimer),this.reconnectTimer=null),this.establishConnection()}updateState(e){var t,n;this.state=e,null===(n=this.options)||void 0===n||null===(t=n.onStateChange)||void 0===t||t.call(n,e)}constructor(){this.eventSource=null,this.state="disconnected",this.retryCount=0,this.lastError=null,this.reconnectTimer=null,this.options=null,this.shouldReconnect=!0}}function s(e){let{url:t,onMessage:n,onError:s,reconnectInterval:l=3e3,maxReconnectAttempts:c=1/0,enabled:i=!0,withCredentials:a=!1}=e,[u,d]=(0,r.useState)(null),[h,p]=(0,r.useState)("disconnected"),[m,f]=(0,r.useState)(null),[g,x]=(0,r.useState)(0),C=(0,r.useRef)(null),v=(0,r.useCallback)(e=>{d(e),null==n||n(e)},[n]),b=(0,r.useCallback)(e=>{p(e),"connected"===e&&x(0)},[]),S=(0,r.useCallback)(e=>{f(e),"number"==typeof e.retryCount&&x(e.retryCount),null==s||s(e)},[s]),R=(0,r.useCallback)(()=>{C.current&&(C.current.reconnect(),x(C.current.getRetryCount()))},[]),y=(0,r.useCallback)(()=>{C.current&&C.current.disconnect()},[]);return(0,r.useEffect)(()=>{if(!i){C.current&&(C.current.disconnect(),C.current=null);return}return C.current||(C.current=new o),C.current.connect({url:t,onMessage:v,onStateChange:b,onError:S,reconnectInterval:l,maxReconnectAttempts:c,withCredentials:a}),()=>{C.current&&(C.current.disconnect(),C.current=null)}},[t,i,l,c,a,v,b,S]),{data:u,isConnected:"connected"===h,state:h,error:m,retryCount:g,reconnect:R,disconnect:y}}},163:function(e,t,n){n.d(t,{Y:function(){return s}});var r=n(35106),o=n(93757);function s(e){let{serverName:t,maxLines:n=500,enabled:s=!0,reconnectInterval:l=3e3}=e,[c,i]=(0,r.useState)([]);(0,r.useEffect)(()=>{i([])},[t]);let a=(0,r.useCallback)(e=>{let t;"server-log"===e.type?t=e.data.log:"log"in e&&"string"==typeof e.log&&(t=e.log),t&&i(e=>{let r=[...e,t];return r.length>n?r.slice(r.length-n):r})},[n]),{isConnected:u,reconnect:d,retryCount:h}=(0,o.D)({url:"/api/sse/servers/".concat(encodeURIComponent(t),"/logs"),onMessage:a,enabled:s,reconnectInterval:l});return{logs:c,isConnected:u,clearLogs:(0,r.useCallback)(()=>{i([])},[]),reconnect:d,retryCount:h}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6039],{33104:function(t,e,i){var s=i(8091);e.Z=void 0;var n=s(i(66758)),r=i(94655);e.Z=(0,n.default)([(0,r.jsx)("path",{d:"M11.99 2C6.47 2 2 6.48 2 12s4.47 10 9.99 10C17.52 22 22 17.52 22 12S17.52 2 11.99 2M12 20c-4.42 0-8-3.58-8-8s3.58-8 8-8 8 3.58 8 8-3.58 8-8 8"},"0"),(0,r.jsx)("path",{d:"M12.5 7H11v6l5.25 3.15.75-1.23-4.5-2.67z"},"1")],"AccessTime")},32366:function(t,e,i){var s=i(8091);e.Z=void 0;var n=s(i(66758)),r=i(94655);e.Z=(0,n.default)((0,r.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},21111:function(t,e,i){var s=i(8091);e.Z=void 0;var n=s(i(66758)),r=i(94655);e.Z=(0,n.default)((0,r.jsx)("path",{d:"M6 19c0 1.1.9 2 2 2h8c1.1 0 2-.9 2-2V7H6zM19 4h-3.5l-1-1h-5l-1 1H5v2h14z"}),"Delete")},96292:function(t,e,i){var s=i(8091);e.Z=void 0;var n=s(i(66758)),r=i(94655);e.Z=(0,n.default)((0,r.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link")},97812:function(t,e,i){var s=i(8091);e.Z=void 0;var n=s(i(66758)),r=i(94655);e.Z=(0,n.default)((0,r.jsx)("path",{d:"M17 7h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1 0 1.43-.98 2.63-2.31 2.98l1.46 1.46C20.88 15.61 22 13.95 22 12c0-2.76-2.24-5-5-5m-1 4h-2.19l2 2H16zM2 4.27l3.11 3.11C3.29 8.12 2 9.91 2 12c0 2.76 2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1 0-1.59 1.21-2.9 2.76-3.07L8.73 11H8v2h2.73L13 15.27V17h1.73l4.01 4L20 19.74 3.27 3z"}),"LinkOff")},84974:function(t,e,i){var s=i(8091);e.Z=void 0;var n=s(i(66758)),r=i(94655);e.Z=(0,n.default)((0,r.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-1 17.93c-3.95-.49-7-3.85-7-7.93 0-.62.08-1.21.21-1.79L9 15v1c0 1.1.9 2 2 2zm6.9-2.54c-.26-.81-1-1.39-1.9-1.39h-1v-3c0-.55-.45-1-1-1H8v-2h2c.55 0 1-.45 1-1V7h2c1.1 0 2-.9 2-2v-.41c2.93 1.19 5 4.06 5 7.41 0 2.08-.8 3.97-2.1 5.39"}),"Public")},78067:function(t,e,i){var s=i(8091);e.Z=void 0;var n=s(i(66758)),r=i(94655);e.Z=(0,n.default)((0,r.jsx)("path",{d:"M2 20h20v-4H2zm2-3h2v2H4zM2 4v4h20V4zm4 3H4V5h2zm-4 7h20v-4H2zm2-3h2v2H4z"}),"Storage")},25935:function(t,e,i){i.d(e,{Z:function(){return y}});var s=i(32324),n=i(81500),r=i(35106),o=i(70316),a=i(65951),u=i(34519),c=i(28057),h=i(11379),l=i(9049);function d(t){return(0,l.ZP)("MuiCardActions",t)}(0,h.Z)("MuiCardActions",["root","spacing"]);var p=i(94655);let m=["disableSpacing","className"],v=t=>{let{classes:e,disableSpacing:i}=t;return(0,a.Z)({root:["root",!i&&"spacing"]},d,e)},f=(0,u.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:i}=t;return[e.root,!i.disableSpacing&&e.spacing]}})(t=>{let{ownerState:e}=t;return(0,n.Z)({display:"flex",alignItems:"center",padding:8},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})});var y=r.forwardRef(function(t,e){let i=(0,c.i)({props:t,name:"MuiCardActions"}),{disableSpacing:r=!1,className:a}=i,u=(0,s.Z)(i,m),h=(0,n.Z)({},i,{disableSpacing:r}),l=v(h);return(0,p.jsx)(f,(0,n.Z)({className:(0,o.Z)(l.root,a),ownerState:h,ref:e},u))})},52082:function(t,e,i){i.d(e,{Z:function(){return C}});var s,n=i(32324),r=i(81500),o=i(35106),a=i(70316),u=i(65951),c=i(38762),h=i(31317),l=i(14406),d=i(85016),p=i(34519),m=i(11379),v=i(9049);function f(t){return(0,v.ZP)("MuiInputAdornment",t)}let y=(0,m.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var b=i(28057),M=i(94655);let Z=["children","className","component","disablePointerEvents","disableTypography","position","variant"],g=t=>{let{classes:e,disablePointerEvents:i,hiddenLabel:s,position:n,size:r,variant:o}=t,a={root:["root",i&&"disablePointerEvents",n&&"position".concat((0,c.Z)(n)),o,s&&"hiddenLabel",r&&"size".concat((0,c.Z)(r))]};return(0,u.Z)(a,f,e)},x=(0,p.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:i}=t;return[e.root,e["position".concat((0,c.Z)(i.position))],!0===i.disablePointerEvents&&e.disablePointerEvents,e[i.variant]]}})(t=>{let{theme:e,ownerState:i}=t;return(0,r.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(e.vars||e).palette.action.active},"filled"===i.variant&&{["&.".concat(y.positionStart,"&:not(.").concat(y.hiddenLabel,")")]:{marginTop:16}},"start"===i.position&&{marginRight:8},"end"===i.position&&{marginLeft:8},!0===i.disablePointerEvents&&{pointerEvents:"none"})});var C=o.forwardRef(function(t,e){let i=(0,b.i)({props:t,name:"MuiInputAdornment"}),{children:u,className:c,component:p="div",disablePointerEvents:m=!1,disableTypography:v=!1,position:f,variant:y}=i,C=(0,n.Z)(i,Z),w=(0,d.Z)()||{},P=y;y&&w.variant,w&&!P&&(P=w.variant);let S=(0,r.Z)({},i,{hiddenLabel:w.hiddenLabel,size:w.size,disablePointerEvents:m,position:f,variant:P}),R=g(S);return(0,M.jsx)(l.Z.Provider,{value:null,children:(0,M.jsx)(x,(0,r.Z)({as:p,ownerState:S,className:(0,a.Z)(R.root,c),ref:e},C,{children:"string"!=typeof u||v?(0,M.jsxs)(o.Fragment,{children:["start"===f?s||(s=(0,M.jsx)("span",{className:"notranslate",children:"​"})):null,u]}):(0,M.jsx)(h.Z,{color:"text.secondary",children:u})}))})})},64769:function(t,e,i){i.d(e,{L:function(){return r}});var s=i(11379),n=i(9049);function r(t){return(0,n.ZP)("MuiListItemText",t)}let o=(0,s.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);e.Z=o},44059:function(t,e,i){i.d(e,{Z:function(){return c}});var s,n=i(35106),r=i(93207),o=i(13864),a=i(25246);let u=(s||(s=i.t(n,2))).useSyncExternalStore;function c(t){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},i=(0,a.Z)(),s="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:c=!1,matchMedia:h=s?window.matchMedia:null,ssrMatchMedia:l=null,noSsr:d=!1}=(0,o.Z)({name:"MuiUseMediaQuery",props:e,theme:i}),p="function"==typeof t?t(i):t;return(void 0!==u?function(t,e,i,s,r){let o=n.useCallback(()=>e,[e]),a=n.useMemo(()=>{if(r&&i)return()=>i(t).matches;if(null!==s){let{matches:e}=s(t);return()=>e}return o},[o,t,s,r,i]),[c,h]=n.useMemo(()=>{if(null===i)return[o,()=>()=>{}];let e=i(t);return[()=>e.matches,t=>(e.addListener(t),()=>{e.removeListener(t)})]},[o,i,t]);return u(h,c,a)}:function(t,e,i,s,o){let[a,u]=n.useState(()=>o&&i?i(t).matches:s?s(t).matches:e);return(0,r.Z)(()=>{let e=!0;if(!i)return;let s=i(t),n=()=>{e&&u(s.matches)};return n(),s.addListener(n),()=>{e=!1,s.removeListener(n)}},[t,i]),a})(p=p.replace(/^@media( ?)/m,""),c,h,l,d)}},13864:function(t,e,i){i.d(e,{Z:function(){return n}});var s=i(71483);function n(t){let{theme:e,name:i,props:n}=t;return e&&e.components&&e.components[i]&&e.components[i].defaultProps?(0,s.Z)(e.components[i].defaultProps,n):n}},98091:function(t,e,i){i.d(e,{R:function(){return a},m:function(){return o}});var s=i(11430),n=i(23620),r=i(97639),o=class extends n.F{#t;#e;#i;#s;constructor(t){super(),this.#t=t.client,this.mutationId=t.mutationId,this.#i=t.mutationCache,this.#e=[],this.state=t.state||a(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#e.includes(t)||(this.#e.push(t),this.clearGcTimeout(),this.#i.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#e=this.#e.filter(e=>e!==t),this.scheduleGc(),this.#i.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#e.length||("pending"===this.state.status?this.scheduleGc():this.#i.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(t){let e=()=>{this.#n({type:"continue"})},i={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=(0,r.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(t,i):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#n({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#n({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#i.canRun(this)});let s="pending"===this.state.status,n=!this.#s.canStart();try{if(s)e();else{this.#n({type:"pending",variables:t,isPaused:n}),this.#i.config.onMutate&&await this.#i.config.onMutate(t,this,i);let e=await this.options.onMutate?.(t,i);e!==this.state.context&&this.#n({type:"pending",context:e,variables:t,isPaused:n})}let r=await this.#s.start();return await this.#i.config.onSuccess?.(r,t,this.state.context,this,i),await this.options.onSuccess?.(r,t,this.state.context,i),await this.#i.config.onSettled?.(r,null,this.state.variables,this.state.context,this,i),await this.options.onSettled?.(r,null,t,this.state.context,i),this.#n({type:"success",data:r}),r}catch(e){try{await this.#i.config.onError?.(e,t,this.state.context,this,i)}catch(t){Promise.reject(t)}try{await this.options.onError?.(e,t,this.state.context,i)}catch(t){Promise.reject(t)}try{await this.#i.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this,i)}catch(t){Promise.reject(t)}try{await this.options.onSettled?.(void 0,e,t,this.state.context,i)}catch(t){Promise.reject(t)}throw this.#n({type:"error",error:e}),e}finally{this.#i.runNext(this)}}#n(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),s.Vr.batch(()=>{this.#e.forEach(e=>{e.onMutationUpdate(t)}),this.#i.notify({mutation:this,type:"updated",action:t})})}};function a(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},20367:function(t,e,i){i.d(e,{D:function(){return h}});var s=i(35106),n=i(98091),r=i(11430),o=i(12835),a=i(80375),u=class extends o.l{#t;#r=void 0;#o;#a;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#u()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#t.defaultMutationOptions(t),(0,a.VS)(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#o,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,a.Ym)(e.mutationKey)!==(0,a.Ym)(this.options.mutationKey)?this.reset():this.#o?.state.status==="pending"&&this.#o.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#o?.removeObserver(this)}onMutationUpdate(t){this.#u(),this.#c(t)}getCurrentResult(){return this.#r}reset(){this.#o?.removeObserver(this),this.#o=void 0,this.#u(),this.#c()}mutate(t,e){return this.#a=e,this.#o?.removeObserver(this),this.#o=this.#t.getMutationCache().build(this.#t,this.options),this.#o.addObserver(this),this.#o.execute(t)}#u(){let t=this.#o?.state??(0,n.R)();this.#r={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#c(t){r.Vr.batch(()=>{if(this.#a&&this.hasListeners()){let e=this.#r.variables,i=this.#r.context,s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#a.onSuccess?.(t.data,e,i,s)}catch(t){Promise.reject(t)}try{this.#a.onSettled?.(t.data,null,e,i,s)}catch(t){Promise.reject(t)}}else if(t?.type==="error"){try{this.#a.onError?.(t.error,e,i,s)}catch(t){Promise.reject(t)}try{this.#a.onSettled?.(void 0,t.error,e,i,s)}catch(t){Promise.reject(t)}}}this.listeners.forEach(t=>{t(this.#r)})})}},c=i(58919);function h(t,e){let i=(0,c.NL)(e),[n]=s.useState(()=>new u(i,t));s.useEffect(()=>{n.setOptions(t)},[n,t]);let o=s.useSyncExternalStore(s.useCallback(t=>n.subscribe(r.Vr.batchCalls(t)),[n]),()=>n.getCurrentResult(),()=>n.getCurrentResult()),h=s.useCallback((t,e)=>{n.mutate(t,e).catch(a.ZT)},[n]);if(o.error&&(0,a.L3)(n.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:h,mutateAsync:o.mutate}}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[6646],{27171:function(e,t,r){var n=r(8091);t.Z=void 0;var o=n(r(66758)),a=r(94655);t.Z=(0,o.default)((0,a.jsx)("path",{d:"M20 13H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1v-6c0-.55-.45-1-1-1M7 19c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2M20 3H4c-.55 0-1 .45-1 1v6c0 .55.45 1 1 1h16c.55 0 1-.45 1-1V4c0-.55-.45-1-1-1M7 9c-1.1 0-2-.9-2-2s.9-2 2-2 2 .9 2 2-.9 2-2 2"}),"Dns")},93315:function(e,t,r){var n=r(8091);t.Z=void 0;var o=n(r(66758)),a=r(94655);t.Z=(0,o.default)((0,a.jsx)("path",{d:"M6 6h12v12H6z"}),"Stop")},78067:function(e,t,r){var n=r(8091);t.Z=void 0;var o=n(r(66758)),a=r(94655);t.Z=(0,o.default)((0,a.jsx)("path",{d:"M2 20h20v-4H2zm2-3h2v2H4zM2 4v4h20V4zm4 3H4V5h2zm-4 7h20v-4H2zm2-3h2v2H4z"}),"Storage")},25935:function(e,t,r){r.d(t,{Z:function(){return h}});var n=r(32324),o=r(81500),a=r(35106),i=r(70316),l=r(65951),s=r(34519),c=r(28057),u=r(11379),d=r(9049);function p(e){return(0,d.ZP)("MuiCardActions",e)}(0,u.Z)("MuiCardActions",["root","spacing"]);var v=r(94655);let m=["disableSpacing","className"],f=e=>{let{classes:t,disableSpacing:r}=e;return(0,l.Z)({root:["root",!r&&"spacing"]},p,t)},Z=(0,s.ZP)("div",{name:"MuiCardActions",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,!r.disableSpacing&&t.spacing]}})(e=>{let{ownerState:t}=e;return(0,o.Z)({display:"flex",alignItems:"center",padding:8},!t.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})});var h=a.forwardRef(function(e,t){let r=(0,c.i)({props:e,name:"MuiCardActions"}),{disableSpacing:a=!1,className:l}=r,s=(0,n.Z)(r,m),u=(0,o.Z)({},r,{disableSpacing:a}),d=f(u);return(0,v.jsx)(Z,(0,o.Z)({className:(0,i.Z)(d.root,l),ownerState:u,ref:t},s))})},52082:function(e,t,r){r.d(t,{Z:function(){return g}});var n,o=r(32324),a=r(81500),i=r(35106),l=r(70316),s=r(65951),c=r(38762),u=r(31317),d=r(14406),p=r(85016),v=r(34519),m=r(11379),f=r(9049);function Z(e){return(0,f.ZP)("MuiInputAdornment",e)}let h=(0,m.Z)("MuiInputAdornment",["root","filled","standard","outlined","positionStart","positionEnd","disablePointerEvents","hiddenLabel","sizeSmall"]);var b=r(28057),x=r(94655);let y=["children","className","component","disablePointerEvents","disableTypography","position","variant"],S=e=>{let{classes:t,disablePointerEvents:r,hiddenLabel:n,position:o,size:a,variant:i}=e,l={root:["root",r&&"disablePointerEvents",o&&"position".concat((0,c.Z)(o)),i,n&&"hiddenLabel",a&&"size".concat((0,c.Z)(a))]};return(0,s.Z)(l,Z,t)},L=(0,v.ZP)("div",{name:"MuiInputAdornment",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["position".concat((0,c.Z)(r.position))],!0===r.disablePointerEvents&&t.disablePointerEvents,t[r.variant]]}})(e=>{let{theme:t,ownerState:r}=e;return(0,a.Z)({display:"flex",height:"0.01em",maxHeight:"2em",alignItems:"center",whiteSpace:"nowrap",color:(t.vars||t).palette.action.active},"filled"===r.variant&&{["&.".concat(h.positionStart,"&:not(.").concat(h.hiddenLabel,")")]:{marginTop:16}},"start"===r.position&&{marginRight:8},"end"===r.position&&{marginLeft:8},!0===r.disablePointerEvents&&{pointerEvents:"none"})});var g=i.forwardRef(function(e,t){let r=(0,b.i)({props:e,name:"MuiInputAdornment"}),{children:s,className:c,component:v="div",disablePointerEvents:m=!1,disableTypography:f=!1,position:Z,variant:h}=r,g=(0,o.Z)(r,y),M=(0,p.Z)()||{},C=h;h&&M.variant,M&&!C&&(C=M.variant);let P=(0,a.Z)({},r,{hiddenLabel:M.hiddenLabel,size:M.size,disablePointerEvents:m,position:Z,variant:C}),R=S(P);return(0,x.jsx)(d.Z.Provider,{value:null,children:(0,x.jsx)(L,(0,a.Z)({as:v,ownerState:P,className:(0,l.Z)(R.root,c),ref:t},g,{children:"string"!=typeof s||f?(0,x.jsxs)(i.Fragment,{children:["start"===Z?n||(n=(0,x.jsx)("span",{className:"notranslate",children:"​"})):null,s]}):(0,x.jsx)(u.Z,{color:"text.secondary",children:s})}))})})},64769:function(e,t,r){r.d(t,{L:function(){return a}});var n=r(11379),o=r(9049);function a(e){return(0,o.ZP)("MuiListItemText",e)}let i=(0,n.Z)("MuiListItemText",["root","multiline","dense","inset","primary","secondary"]);t.Z=i},82285:function(e,t,r){r.d(t,{Z:function(){return x}});var n=r(32324),o=r(81500),a=r(35106),i=r(70316),l=r(65951),s=r(24702),c=r(42248),u=r(28057),d=r(34519),p=r(11379),v=r(9049);function m(e){return(0,v.ZP)("MuiStep",e)}(0,p.Z)("MuiStep",["root","horizontal","vertical","alternativeLabel","completed"]);var f=r(94655);let Z=["active","children","className","component","completed","disabled","expanded","index","last"],h=e=>{let{classes:t,orientation:r,alternativeLabel:n,completed:o}=e;return(0,l.Z)({root:["root",r,n&&"alternativeLabel",o&&"completed"]},m,t)},b=(0,d.ZP)("div",{name:"MuiStep",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation],r.alternativeLabel&&t.alternativeLabel,r.completed&&t.completed]}})(e=>{let{ownerState:t}=e;return(0,o.Z)({},"horizontal"===t.orientation&&{paddingLeft:8,paddingRight:8},t.alternativeLabel&&{flex:1,position:"relative"})});var x=a.forwardRef(function(e,t){let r=(0,u.i)({props:e,name:"MuiStep"}),{active:l,children:d,className:p,component:v="div",completed:m,disabled:x,expanded:y=!1,index:S,last:L}=r,g=(0,n.Z)(r,Z),{activeStep:M,connector:C,alternativeLabel:P,orientation:R,nonLinear:w}=a.useContext(s.Z),[j=!1,z=!1,N=!1]=[l,m,x];M===S?j=void 0===l||l:!w&&M>S?z=void 0===m||m:!w&&M<S&&(N=void 0===x||x);let A=a.useMemo(()=>({index:S,last:L,expanded:y,icon:S+1,active:j,completed:z,disabled:N}),[S,L,y,j,z,N]),I=(0,o.Z)({},r,{active:j,orientation:R,alternativeLabel:P,completed:z,disabled:N,expanded:y,component:v}),_=h(I),k=(0,f.jsxs)(b,(0,o.Z)({as:v,className:(0,i.Z)(_.root,p),ref:t,ownerState:I},g,{children:[C&&P&&0!==S?C:null,d]}));return(0,f.jsx)(c.Z.Provider,{value:A,children:C&&!P&&0!==S?(0,f.jsxs)(a.Fragment,{children:[C,k]}):k})})},42248:function(e,t,r){let n=r(35106).createContext({});t.Z=n},13609:function(e,t,r){r.d(t,{Z:function(){return E}});var n,o=r(32324),a=r(81500),i=r(35106),l=r(70316),s=r(65951),c=r(34519),u=r(28057),d=r(61626),p=r(94655),v=(0,d.Z)((0,p.jsx)("path",{d:"M12 0a12 12 0 1 0 0 24 12 12 0 0 0 0-24zm-2 17l-5-5 1.4-1.4 3.6 3.6 7.6-7.6L19 8l-9 9z"}),"CheckCircle"),m=(0,d.Z)((0,p.jsx)("path",{d:"M1 21h22L12 2 1 21zm12-3h-2v-2h2v2zm0-4h-2v-4h2v4z"}),"Warning"),f=r(64779),Z=r(11379),h=r(9049);function b(e){return(0,h.ZP)("MuiStepIcon",e)}let x=(0,Z.Z)("MuiStepIcon",["root","active","completed","error","text"]),y=["active","className","completed","error","icon"],S=e=>{let{classes:t,active:r,completed:n,error:o}=e;return(0,s.Z)({root:["root",r&&"active",n&&"completed",o&&"error"],text:["text"]},b,t)},L=(0,c.ZP)(f.Z,{name:"MuiStepIcon",slot:"Root",overridesResolver:(e,t)=>t.root})(e=>{let{theme:t}=e;return{display:"block",transition:t.transitions.create("color",{duration:t.transitions.duration.shortest}),color:(t.vars||t).palette.text.disabled,["&.".concat(x.completed)]:{color:(t.vars||t).palette.primary.main},["&.".concat(x.active)]:{color:(t.vars||t).palette.primary.main},["&.".concat(x.error)]:{color:(t.vars||t).palette.error.main}}}),g=(0,c.ZP)("text",{name:"MuiStepIcon",slot:"Text",overridesResolver:(e,t)=>t.text})(e=>{let{theme:t}=e;return{fill:(t.vars||t).palette.primary.contrastText,fontSize:t.typography.caption.fontSize,fontFamily:t.typography.fontFamily}}),M=i.forwardRef(function(e,t){let r=(0,u.i)({props:e,name:"MuiStepIcon"}),{active:i=!1,className:s,completed:c=!1,error:d=!1,icon:f}=r,Z=(0,o.Z)(r,y),h=(0,a.Z)({},r,{active:i,completed:c,error:d}),b=S(h);if("number"==typeof f||"string"==typeof f){let e=(0,l.Z)(s,b.root);return d?(0,p.jsx)(L,(0,a.Z)({as:m,className:e,ref:t,ownerState:h},Z)):c?(0,p.jsx)(L,(0,a.Z)({as:v,className:e,ref:t,ownerState:h},Z)):(0,p.jsxs)(L,(0,a.Z)({className:e,ref:t,ownerState:h},Z,{children:[n||(n=(0,p.jsx)("circle",{cx:"12",cy:"12",r:"12"})),(0,p.jsx)(g,{className:b.text,x:"12",y:"12",textAnchor:"middle",dominantBaseline:"central",ownerState:h,children:f})]}))}return f});var C=r(24702),P=r(42248);function R(e){return(0,h.ZP)("MuiStepLabel",e)}let w=(0,Z.Z)("MuiStepLabel",["root","horizontal","vertical","label","active","completed","error","disabled","iconContainer","alternativeLabel","labelContainer"]),j=["children","className","componentsProps","error","icon","optional","slotProps","StepIconComponent","StepIconProps"],z=e=>{let{classes:t,orientation:r,active:n,completed:o,error:a,disabled:i,alternativeLabel:l}=e;return(0,s.Z)({root:["root",r,a&&"error",i&&"disabled",l&&"alternativeLabel"],label:["label",n&&"active",o&&"completed",a&&"error",i&&"disabled",l&&"alternativeLabel"],iconContainer:["iconContainer",n&&"active",o&&"completed",a&&"error",i&&"disabled",l&&"alternativeLabel"],labelContainer:["labelContainer",l&&"alternativeLabel"]},R,t)},N=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation]]}})(e=>{let{ownerState:t}=e;return(0,a.Z)({display:"flex",alignItems:"center",["&.".concat(w.alternativeLabel)]:{flexDirection:"column"},["&.".concat(w.disabled)]:{cursor:"default"}},"vertical"===t.orientation&&{textAlign:"left",padding:"8px 0"})}),A=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"Label",overridesResolver:(e,t)=>t.label})(e=>{let{theme:t}=e;return(0,a.Z)({},t.typography.body2,{display:"block",transition:t.transitions.create("color",{duration:t.transitions.duration.shortest}),["&.".concat(w.active)]:{color:(t.vars||t).palette.text.primary,fontWeight:500},["&.".concat(w.completed)]:{color:(t.vars||t).palette.text.primary,fontWeight:500},["&.".concat(w.alternativeLabel)]:{marginTop:16},["&.".concat(w.error)]:{color:(t.vars||t).palette.error.main}})}),I=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"IconContainer",overridesResolver:(e,t)=>t.iconContainer})(()=>({flexShrink:0,display:"flex",paddingRight:8,["&.".concat(w.alternativeLabel)]:{paddingRight:0}})),_=(0,c.ZP)("span",{name:"MuiStepLabel",slot:"LabelContainer",overridesResolver:(e,t)=>t.labelContainer})(e=>{let{theme:t}=e;return{width:"100%",color:(t.vars||t).palette.text.secondary,["&.".concat(w.alternativeLabel)]:{textAlign:"center"}}}),k=i.forwardRef(function(e,t){var r;let n=(0,u.i)({props:e,name:"MuiStepLabel"}),{children:s,className:c,componentsProps:d={},error:v=!1,icon:m,optional:f,slotProps:Z={},StepIconComponent:h,StepIconProps:b}=n,x=(0,o.Z)(n,j),{alternativeLabel:y,orientation:S}=i.useContext(C.Z),{active:L,disabled:g,completed:R,icon:w}=i.useContext(P.Z),k=m||w,E=h;k&&!E&&(E=M);let H=(0,a.Z)({},n,{active:L,alternativeLabel:y,completed:R,disabled:g,error:v,orientation:S}),T=z(H),W=null!=(r=Z.label)?r:d.label;return(0,p.jsxs)(N,(0,a.Z)({className:(0,l.Z)(T.root,c),ref:t,ownerState:H},x,{children:[k||E?(0,p.jsx)(I,{className:T.iconContainer,ownerState:H,children:(0,p.jsx)(E,(0,a.Z)({completed:R,active:L,error:v,icon:k},b))}):null,(0,p.jsxs)(_,{className:T.labelContainer,ownerState:H,children:[s?(0,p.jsx)(A,(0,a.Z)({ownerState:H},W,{className:(0,l.Z)(T.label,null==W?void 0:W.className),children:s})):null,f]})]}))});k.muiName="StepLabel";var E=k},73383:function(e,t,r){r.d(t,{Z:function(){return R}});var n=r(32324),o=r(81500),a=r(35106),i=r(70316),l=r(65951),s=r(28057),c=r(34519),u=r(11379),d=r(9049);function p(e){return(0,d.ZP)("MuiStepper",e)}(0,u.Z)("MuiStepper",["root","horizontal","vertical","nonLinear","alternativeLabel"]);var v=r(38762),m=r(24702),f=r(42248);function Z(e){return(0,d.ZP)("MuiStepConnector",e)}(0,u.Z)("MuiStepConnector",["root","horizontal","vertical","alternativeLabel","active","completed","disabled","line","lineHorizontal","lineVertical"]);var h=r(94655);let b=["className"],x=e=>{let{classes:t,orientation:r,alternativeLabel:n,active:o,completed:a,disabled:i}=e,s={root:["root",r,n&&"alternativeLabel",o&&"active",a&&"completed",i&&"disabled"],line:["line","line".concat((0,v.Z)(r))]};return(0,l.Z)(s,Z,t)},y=(0,c.ZP)("div",{name:"MuiStepConnector",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation],r.alternativeLabel&&t.alternativeLabel,r.completed&&t.completed]}})(e=>{let{ownerState:t}=e;return(0,o.Z)({flex:"1 1 auto"},"vertical"===t.orientation&&{marginLeft:12},t.alternativeLabel&&{position:"absolute",top:12,left:"calc(-50% + 20px)",right:"calc(50% + 20px)"})}),S=(0,c.ZP)("span",{name:"MuiStepConnector",slot:"Line",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.line,t["line".concat((0,v.Z)(r.orientation))]]}})(e=>{let{ownerState:t,theme:r}=e,n="light"===r.palette.mode?r.palette.grey[400]:r.palette.grey[600];return(0,o.Z)({display:"block",borderColor:r.vars?r.vars.palette.StepConnector.border:n},"horizontal"===t.orientation&&{borderTopStyle:"solid",borderTopWidth:1},"vertical"===t.orientation&&{borderLeftStyle:"solid",borderLeftWidth:1,minHeight:24})}),L=a.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiStepConnector"}),{className:l}=r,c=(0,n.Z)(r,b),{alternativeLabel:u,orientation:d="horizontal"}=a.useContext(m.Z),{active:p,disabled:v,completed:Z}=a.useContext(f.Z),L=(0,o.Z)({},r,{alternativeLabel:u,orientation:d,active:p,completed:Z,disabled:v}),g=x(L);return(0,h.jsx)(y,(0,o.Z)({className:(0,i.Z)(g.root,l),ref:t,ownerState:L},c,{children:(0,h.jsx)(S,{className:g.line,ownerState:L})}))}),g=["activeStep","alternativeLabel","children","className","component","connector","nonLinear","orientation"],M=e=>{let{orientation:t,nonLinear:r,alternativeLabel:n,classes:o}=e;return(0,l.Z)({root:["root",t,r&&"nonLinear",n&&"alternativeLabel"]},p,o)},C=(0,c.ZP)("div",{name:"MuiStepper",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[r.orientation],r.alternativeLabel&&t.alternativeLabel,r.nonLinear&&t.nonLinear]}})(e=>{let{ownerState:t}=e;return(0,o.Z)({display:"flex"},"horizontal"===t.orientation&&{flexDirection:"row",alignItems:"center"},"vertical"===t.orientation&&{flexDirection:"column"},t.alternativeLabel&&{alignItems:"flex-start"})}),P=(0,h.jsx)(L,{});var R=a.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiStepper"}),{activeStep:l=0,alternativeLabel:c=!1,children:u,className:d,component:p="div",connector:v=P,nonLinear:f=!1,orientation:Z="horizontal"}=r,b=(0,n.Z)(r,g),x=(0,o.Z)({},r,{nonLinear:f,alternativeLabel:c,orientation:Z,component:p}),y=M(x),S=a.Children.toArray(u).filter(Boolean),L=S.map((e,t)=>a.cloneElement(e,(0,o.Z)({index:t,last:t+1===S.length},e.props))),R=a.useMemo(()=>({activeStep:l,alternativeLabel:c,connector:v,nonLinear:f,orientation:Z}),[l,c,v,f,Z]);return(0,h.jsx)(m.Z.Provider,{value:R,children:(0,h.jsx)(C,(0,o.Z)({as:p,ownerState:x,className:(0,i.Z)(y.root,d),ref:t},b,{children:L}))})})},24702:function(e,t,r){let n=r(35106).createContext({});t.Z=n},48442:function(e,t,r){r.d(t,{Z:function(){return b}});var n=r(81500),o=r(32324),a=r(14526),i=r(41499),l=r(8557),s=r(72686);let c=["ownerState"],u=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function v(e,t){return t&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${t}{${String(e.styles)}}`),e}let m=(0,l.Z)(),f=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function Z({defaultTheme:e,theme:t,themeId:r}){return 0===Object.keys(t).length?e:t[r]||t}function h(e,t,r){let{ownerState:i}=t,l=(0,o.Z)(t,c),s="function"==typeof e?e((0,n.Z)({ownerState:i},l)):e;if(Array.isArray(s))return s.flatMap(e=>h(e,(0,n.Z)({ownerState:i},l),r));if(s&&"object"==typeof s&&Array.isArray(s.variants)){let{variants:e=[]}=s,t=(0,o.Z)(s,u);return e.forEach(e=>{let o=!0;if("function"==typeof e.props?o=e.props((0,n.Z)({ownerState:i},l,i)):Object.keys(e.props).forEach(t=>{(null==i?void 0:i[t])!==e.props[t]&&l[t]!==e.props[t]&&(o=!1)}),o){Array.isArray(t)||(t=[t]);let o="function"==typeof e.style?e.style((0,n.Z)({ownerState:i},l,i)):e.style;t.push(r?v((0,a.internal_serializeStyles)(o),r):o)}}),t}return r?v((0,a.internal_serializeStyles)(s),r):s}var b=function(e={}){let{themeId:t,defaultTheme:r=m,rootShouldForwardProp:l=p,slotShouldForwardProp:c=p}=e,u=e=>(0,s.Z)((0,n.Z)({},e,{theme:Z((0,n.Z)({},e,{defaultTheme:r,themeId:t}))}));return u.__mui_systemSx=!0,(e,s={})=>{var v;let m;(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:b,slot:x,skipVariantsResolver:y,skipSx:S,overridesResolver:L=(v=f(x))?(e,t)=>t[v]:null}=s,g=(0,o.Z)(s,d),M=b&&b.startsWith("Mui")||x?"components":"custom",C=void 0!==y?y:x&&"Root"!==x&&"root"!==x||!1,P=S||!1,R=p;"Root"===x||"root"===x?R=l:x?R=c:"string"==typeof e&&e.charCodeAt(0)>96&&(R=void 0);let w=(0,a.default)(e,(0,n.Z)({shouldForwardProp:R,label:m},g)),j=e=>"function"==typeof e&&e.__emotion_real!==e||(0,i.P)(e)?o=>{let a=Z({theme:o.theme,defaultTheme:r,themeId:t});return h(e,(0,n.Z)({},o,{theme:a}),a.modularCssLayers?M:void 0)}:e,z=(o,...a)=>{let i=j(o),l=a?a.map(j):[];b&&L&&l.push(e=>{let o=Z((0,n.Z)({},e,{defaultTheme:r,themeId:t}));if(!o.components||!o.components[b]||!o.components[b].styleOverrides)return null;let a=o.components[b].styleOverrides,i={};return Object.entries(a).forEach(([t,r])=>{i[t]=h(r,(0,n.Z)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),L(e,i)}),b&&!C&&l.push(e=>{var o;let a=Z((0,n.Z)({},e,{defaultTheme:r,themeId:t}));return h({variants:null==a||null==(o=a.components)||null==(o=o[b])?void 0:o.variants},(0,n.Z)({},e,{theme:a}),a.modularCssLayers?"theme":void 0)}),P||l.push(u);let s=l.length-a.length;if(Array.isArray(o)&&s>0){let e=Array(s).fill("");(i=[...o,...e]).raw=[...o.raw,...e]}let c=w(i,...l);return e.muiName&&(c.muiName=e.muiName),c};return w.withConfig&&(z.withConfig=w.withConfig),z}}()},13864:function(e,t,r){r.d(t,{Z:function(){return o}});var n=r(71483);function o(e){let{theme:t,name:r,props:o}=e;return t&&t.components&&t.components[r]&&t.components[r].defaultProps?(0,n.Z)(t.components[r].defaultProps,o):o}},14189:function(e,t,r){r.d(t,{Z:function(){return a}});var n=r(13864),o=r(32730);function a(e){let{props:t,name:r,defaultTheme:a,themeId:i}=e,l=(0,o.Z)(a);return i&&(l=l[i]||l),(0,n.Z)({theme:l,name:r,props:t})}},74228:function(e,t,r){var n=r(73310);r.o(n,"useParams")&&r.d(t,{useParams:function(){return n.useParams}}),r.o(n,"usePathname")&&r.d(t,{usePathname:function(){return n.usePathname}}),r.o(n,"useRouter")&&r.d(t,{useRouter:function(){return n.useRouter}}),r.o(n,"useSearchParams")&&r.d(t,{useSearchParams:function(){return n.useSearchParams}}),r.o(n,"useServerInsertedHTML")&&r.d(t,{useServerInsertedHTML:function(){return n.useServerInsertedHTML}})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[682],{66758:function(e,r,t){Object.defineProperty(r,"__esModule",{value:!0}),Object.defineProperty(r,"default",{enumerable:!0,get:function(){return n.createSvgIcon}});var n=t(26505)},26138:function(e,r,t){t.d(r,{Z:function(){return A}});var n=t(81500),o=t(32324),a=t(35106),l=t(70316),i=t(65951),s=t(95582),u=t(34519),c=t(28057),d=t(31317),p=t(64577),f=t(61626),m=t(94655),Z=(0,f.Z)((0,m.jsx)("path",{d:"M6 10c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm12 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2zm-6 0c-1.1 0-2 .9-2 2s.9 2 2 2 2-.9 2-2-.9-2-2-2z"}),"MoreHoriz"),h=t(29084);let y=["slots","slotProps"],v=(0,u.ZP)(h.Z,{name:"MuiBreadcrumbCollapsed"})(e=>{let{theme:r}=e;return(0,n.Z)({display:"flex",marginLeft:"calc(".concat(r.spacing(1)," * 0.5)"),marginRight:"calc(".concat(r.spacing(1)," * 0.5)")},"light"===r.palette.mode?{backgroundColor:r.palette.grey[100],color:r.palette.grey[700]}:{backgroundColor:r.palette.grey[700],color:r.palette.grey[100]},{borderRadius:2,"&:hover, &:focus":(0,n.Z)({},"light"===r.palette.mode?{backgroundColor:r.palette.grey[200]}:{backgroundColor:r.palette.grey[600]}),"&:active":(0,n.Z)({boxShadow:r.shadows[0]},"light"===r.palette.mode?{backgroundColor:(0,p._4)(r.palette.grey[200],.12)}:{backgroundColor:(0,p._4)(r.palette.grey[600],.12)})})}),g=(0,u.ZP)(Z)({width:24,height:16});var b=function(e){let{slots:r={},slotProps:t={}}=e,a=(0,o.Z)(e,y);return(0,m.jsx)("li",{children:(0,m.jsx)(v,(0,n.Z)({focusRipple:!0},a,{ownerState:e,children:(0,m.jsx)(g,(0,n.Z)({as:r.CollapsedIcon,ownerState:e},t.collapsedIcon))}))})},x=t(11379),C=t(9049);function S(e){return(0,C.ZP)("MuiBreadcrumbs",e)}let w=(0,x.Z)("MuiBreadcrumbs",["root","ol","li","separator"]),P=["children","className","component","slots","slotProps","expandText","itemsAfterCollapse","itemsBeforeCollapse","maxItems","separator"],k=e=>{let{classes:r}=e;return(0,i.Z)({root:["root"],li:["li"],ol:["ol"],separator:["separator"]},S,r)},R=(0,u.ZP)(d.Z,{name:"MuiBreadcrumbs",slot:"Root",overridesResolver:(e,r)=>[{["& .".concat(w.li)]:r.li},r.root]})({}),M=(0,u.ZP)("ol",{name:"MuiBreadcrumbs",slot:"Ol",overridesResolver:(e,r)=>r.ol})({display:"flex",flexWrap:"wrap",alignItems:"center",padding:0,margin:0,listStyle:"none"}),_=(0,u.ZP)("li",{name:"MuiBreadcrumbs",slot:"Separator",overridesResolver:(e,r)=>r.separator})({display:"flex",userSelect:"none",marginLeft:8,marginRight:8});var A=a.forwardRef(function(e,r){var t,i;let u=(0,c.i)({props:e,name:"MuiBreadcrumbs"}),{children:d,className:p,component:f="nav",slots:Z={},slotProps:h={},expandText:y="Show path",itemsAfterCollapse:v=1,itemsBeforeCollapse:g=1,maxItems:x=8,separator:C="/"}=u,S=(0,o.Z)(u,P),[w,A]=a.useState(!1),j=(0,n.Z)({},u,{component:f,expanded:w,expandText:y,itemsAfterCollapse:v,itemsBeforeCollapse:g,maxItems:x,separator:C}),I=k(j),L=(0,s.Z)({elementType:Z.CollapsedIcon,externalSlotProps:h.collapsedIcon,ownerState:j}),N=a.useRef(null),B=a.Children.toArray(d).filter(e=>a.isValidElement(e)).map((e,r)=>(0,m.jsx)("li",{className:I.li,children:e},"child-".concat(r)));return(0,m.jsx)(R,(0,n.Z)({ref:r,component:f,color:"text.secondary",className:(0,l.Z)(I.root,p),ownerState:j},S,{children:(0,m.jsx)(M,{className:I.ol,ref:N,ownerState:j,children:(t=w||x&&B.length<=x?B:g+v>=B.length?B:[...B.slice(0,g),(0,m.jsx)(b,{"aria-label":y,slots:{CollapsedIcon:Z.CollapsedIcon},slotProps:{collapsedIcon:L},onClick:()=>{A(!0);let e=N.current.querySelector("a[href],button,[tabindex]");e&&e.focus()}},"ellipsis"),...B.slice(B.length-v,B.length)],i=I.separator,t.reduce((e,r,n)=>(n<t.length-1?e=e.concat(r,(0,m.jsx)(_,{"aria-hidden":!0,className:i,ownerState:j,children:C},"separator-".concat(n))):e.push(r),e),[]))})}))})},16945:function(e,r,t){t.d(r,{V:function(){return a}});var n=t(11379),o=t(9049);function a(e){return(0,o.ZP)("MuiDivider",e)}let l=(0,n.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);r.Z=l},41261:function(e,r,t){t.d(r,{Z:function(){return R}});var n=t(32324),o=t(81500),a=t(35106),l=t(70316),i=t(65951),s=t(38762),u=t(34519),c=t(28057),d=t(22125),p=t(38481),f=t(31317),m=t(11379),Z=t(9049);function h(e){return(0,Z.ZP)("MuiLink",e)}let y=(0,m.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var v=t(20219),g=t(64577);let b={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},x=e=>b[e]||e;var C=e=>{let{theme:r,ownerState:t}=e,n=x(t.color),o=(0,v.DW)(r,"palette.".concat(n),!1)||t.color,a=(0,v.DW)(r,"palette.".concat(n,"Channel"));return"vars"in r&&a?"rgba(".concat(a," / 0.4)"):(0,g.Fq)(o,.4)},S=t(94655);let w=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],P=e=>{let{classes:r,component:t,focusVisible:n,underline:o}=e,a={root:["root","underline".concat((0,s.Z)(o)),"button"===t&&"button",n&&"focusVisible"]};return(0,i.Z)(a,h,r)},k=(0,u.ZP)(f.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,r)=>{let{ownerState:t}=e;return[r.root,r["underline".concat((0,s.Z)(t.underline))],"button"===t.component&&r.button]}})(e=>{let{theme:r,ownerState:t}=e;return(0,o.Z)({},"none"===t.underline&&{textDecoration:"none"},"hover"===t.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===t.underline&&(0,o.Z)({textDecoration:"underline"},"inherit"!==t.color&&{textDecorationColor:C({theme:r,ownerState:t})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===t.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(y.focusVisible)]:{outline:"auto"}})});var R=a.forwardRef(function(e,r){let t=(0,c.i)({props:e,name:"MuiLink"}),{className:i,color:s="primary",component:u="a",onBlur:f,onFocus:m,TypographyClasses:Z,underline:h="always",variant:y="inherit",sx:v}=t,g=(0,n.Z)(t,w),{isFocusVisibleRef:x,onBlur:C,onFocus:R,ref:M}=(0,d.Z)(),[_,A]=a.useState(!1),j=(0,p.Z)(r,M),I=(0,o.Z)({},t,{color:s,component:u,focusVisible:_,underline:h,variant:y}),L=P(I);return(0,S.jsx)(k,(0,o.Z)({color:s,className:(0,l.Z)(L.root,i),classes:Z,component:u,onBlur:e=>{C(e),!1===x.current&&A(!1),f&&f(e)},onFocus:e=>{R(e),!0===x.current&&A(!0),m&&m(e)},ref:j,ownerState:I,variant:y,sx:[...Object.keys(b).includes(s)?[]:[{color:s}],...Array.isArray(v)?v:[v]]},g))})},27350:function(e,r,t){var n=t(34834);r.Z=n.Z},26505:function(e,r,t){t.r(r),t.d(r,{capitalize:function(){return o.Z},createChainedFunction:function(){return a.Z},createSvgIcon:function(){return l.Z},debounce:function(){return i.Z},deprecatedPropType:function(){return s},isMuiElement:function(){return u.Z},ownerDocument:function(){return c.Z},ownerWindow:function(){return d.Z},requirePropFactory:function(){return p},setRef:function(){return f},unstable_ClassNameGenerator:function(){return x},unstable_useEnhancedEffect:function(){return m.Z},unstable_useId:function(){return Z.Z},unsupportedProp:function(){return h},useControlled:function(){return y.Z},useEventCallback:function(){return v.Z},useForkRef:function(){return g.Z},useIsFocusVisible:function(){return b.Z}});var n=t(74055),o=t(38762),a=t(27350),l=t(61626),i=t(19521),s=function(e,r){return()=>null},u=t(9290),c=t(34713),d=t(99466);t(81500);var p=function(e,r){return()=>null},f=t(25880).Z,m=t(65425),Z=t(88207),h=function(e,r,t,n,o){return null},y=t(18280),v=t(10620),g=t(38481),b=t(22125);let x={configure:e=>{n.Z.configure(e)}}},88207:function(e,r,t){var n=t(40552);r.Z=n.Z},48442:function(e,r,t){t.d(r,{Z:function(){return v}});var n=t(81500),o=t(32324),a=t(14526),l=t(41499),i=t(8557),s=t(72686);let u=["ownerState"],c=["variants"],d=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function p(e){return"ownerState"!==e&&"theme"!==e&&"sx"!==e&&"as"!==e}function f(e,r){return r&&e&&"object"==typeof e&&e.styles&&!e.styles.startsWith("@layer")&&(e.styles=`@layer ${r}{${String(e.styles)}}`),e}let m=(0,i.Z)(),Z=e=>e?e.charAt(0).toLowerCase()+e.slice(1):e;function h({defaultTheme:e,theme:r,themeId:t}){return 0===Object.keys(r).length?e:r[t]||r}function y(e,r,t){let{ownerState:l}=r,i=(0,o.Z)(r,u),s="function"==typeof e?e((0,n.Z)({ownerState:l},i)):e;if(Array.isArray(s))return s.flatMap(e=>y(e,(0,n.Z)({ownerState:l},i),t));if(s&&"object"==typeof s&&Array.isArray(s.variants)){let{variants:e=[]}=s,r=(0,o.Z)(s,c);return e.forEach(e=>{let o=!0;if("function"==typeof e.props?o=e.props((0,n.Z)({ownerState:l},i,l)):Object.keys(e.props).forEach(r=>{(null==l?void 0:l[r])!==e.props[r]&&i[r]!==e.props[r]&&(o=!1)}),o){Array.isArray(r)||(r=[r]);let o="function"==typeof e.style?e.style((0,n.Z)({ownerState:l},i,l)):e.style;r.push(t?f((0,a.internal_serializeStyles)(o),t):o)}}),r}return t?f((0,a.internal_serializeStyles)(s),t):s}var v=function(e={}){let{themeId:r,defaultTheme:t=m,rootShouldForwardProp:i=p,slotShouldForwardProp:u=p}=e,c=e=>(0,s.Z)((0,n.Z)({},e,{theme:h((0,n.Z)({},e,{defaultTheme:t,themeId:r}))}));return c.__mui_systemSx=!0,(e,s={})=>{var f;let m;(0,a.internal_processStyles)(e,e=>e.filter(e=>!(null!=e&&e.__mui_systemSx)));let{name:v,slot:g,skipVariantsResolver:b,skipSx:x,overridesResolver:C=(f=Z(g))?(e,r)=>r[f]:null}=s,S=(0,o.Z)(s,d),w=v&&v.startsWith("Mui")||g?"components":"custom",P=void 0!==b?b:g&&"Root"!==g&&"root"!==g||!1,k=x||!1,R=p;"Root"===g||"root"===g?R=i:g?R=u:"string"==typeof e&&e.charCodeAt(0)>96&&(R=void 0);let M=(0,a.default)(e,(0,n.Z)({shouldForwardProp:R,label:m},S)),_=e=>"function"==typeof e&&e.__emotion_real!==e||(0,l.P)(e)?o=>{let a=h({theme:o.theme,defaultTheme:t,themeId:r});return y(e,(0,n.Z)({},o,{theme:a}),a.modularCssLayers?w:void 0)}:e,A=(o,...a)=>{let l=_(o),i=a?a.map(_):[];v&&C&&i.push(e=>{let o=h((0,n.Z)({},e,{defaultTheme:t,themeId:r}));if(!o.components||!o.components[v]||!o.components[v].styleOverrides)return null;let a=o.components[v].styleOverrides,l={};return Object.entries(a).forEach(([r,t])=>{l[r]=y(t,(0,n.Z)({},e,{theme:o}),o.modularCssLayers?"theme":void 0)}),C(e,l)}),v&&!P&&i.push(e=>{var o;let a=h((0,n.Z)({},e,{defaultTheme:t,themeId:r}));return y({variants:null==a||null==(o=a.components)||null==(o=o[v])?void 0:o.variants},(0,n.Z)({},e,{theme:a}),a.modularCssLayers?"theme":void 0)}),k||i.push(c);let s=i.length-a.length;if(Array.isArray(o)&&s>0){let e=Array(s).fill("");(l=[...o,...e]).raw=[...o.raw,...e]}let u=M(l,...i);return e.muiName&&(u.muiName=e.muiName),u};return M.withConfig&&(A.withConfig=M.withConfig),A}}()},13864:function(e,r,t){t.d(r,{Z:function(){return o}});var n=t(71483);function o(e){let{theme:r,name:t,props:o}=e;return r&&r.components&&r.components[t]&&r.components[t].defaultProps?(0,n.Z)(r.components[t].defaultProps,o):o}},14189:function(e,r,t){t.d(r,{Z:function(){return a}});var n=t(13864),o=t(32730);function a(e){let{props:r,name:t,defaultTheme:a,themeId:l}=e,i=(0,o.Z)(a);return l&&(i=i[l]||i),(0,n.Z)({theme:i,name:t,props:r})}},74228:function(e,r,t){var n=t(73310);t.o(n,"useParams")&&t.d(r,{useParams:function(){return n.useParams}}),t.o(n,"usePathname")&&t.d(r,{usePathname:function(){return n.usePathname}}),t.o(n,"useRouter")&&t.d(r,{useRouter:function(){return n.useRouter}}),t.o(n,"useSearchParams")&&t.d(r,{useSearchParams:function(){return n.useSearchParams}}),t.o(n,"useServerInsertedHTML")&&t.d(r,{useServerInsertedHTML:function(){return n.useServerInsertedHTML}})}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[7965],{57965:function(e,r,s){s.d(r,{eE:function(){return Q},E4:function(){return N},SB:function(){return k},ms:function(){return X},hI:function(){return j},aY:function(){return ec},zd:function(){return U},Ik:function(){return P}});var n=s(94655),t=s(628),i=s(41565),a=s(31317),l=s(7281),o=s(25333),c=s(21138),d=s(84811),x=s(70366),u=s(47001),h=s(59602);let m={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},p={border:0,py:1};function j(e){var r;let{router:s}=e,j=(r=s.mode)?r.includes("in-docker")||r.includes("auto-discovery")?{label:"Auto Discovery",color:"info"}:r.includes("mapping")?{label:"Manual Mapping",color:"warning"}:{label:r,color:"default"}:{label:"Unknown",color:"default"};return(0,n.jsx)(t.Z,{children:(0,n.jsxs)(i.Z,{children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[(0,n.jsx)(h.Z,{color:"primary"}),(0,n.jsx)(a.Z,{variant:"h6",component:"h2",children:"Platform Information"})]}),(0,n.jsx)(c.Z,{size:"small",children:(0,n.jsxs)(d.Z,{children:[(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:m,children:"Router Name"}),(0,n.jsx)(u.Z,{sx:p,children:s.name})]}),(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:m,children:"Port"}),(0,n.jsx)(u.Z,{sx:p,children:s.port})]}),(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:m,children:"Mode"}),(0,n.jsx)(u.Z,{sx:p,children:(0,n.jsx)(o.Z,{label:j.label,size:"small",color:j.color,variant:"outlined"})})]}),(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:m,children:"Uptime"}),(0,n.jsx)(u.Z,{sx:p,children:s.uptime||"-"})]})]})})]})})}var Z=s(95511),f=s(66561),g=s(12795),y=s(96407),v=s(29983),b=s(81960);function w(e){switch(e){case"running":return"#4caf50";case"exited":case"dead":case"not_found":case"not_created":return"#f44336";case"created":case"restarting":case"paused":return"#ff9800";default:return"#9e9e9e"}}function S(e){let{status:r}=e;return(0,n.jsx)(Z.Z,{title:r,arrow:!0,children:(0,n.jsx)(l.Z,{sx:{width:10,height:10,borderRadius:"50%",bgcolor:w(r),flexShrink:0,boxShadow:"running"===r?"0 0 6px ".concat(w(r)):"none"}})})}function P(e){let{router:r}=e,s=function(e){let r=new Map;for(let s of e){let e=s.target.replace(/^mc-/,"").replace(/:25565$/,""),n=r.get(e);n?n.hostnames.push(s.hostname):r.set(e,{status:s.serverStatus,hostnames:[s.hostname],serverType:s.serverType,serverVersion:s.serverVersion})}return r}(r.routes);return(0,n.jsx)(t.Z,{sx:{height:"100%"},children:(0,n.jsxs)(i.Z,{children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[(0,n.jsx)(v.Z,{color:"primary"}),(0,n.jsx)(a.Z,{variant:"h6",component:"h2",children:"MC-Router Status"}),(0,n.jsxs)(l.Z,{sx:{ml:"auto",display:"flex",gap:1},children:[(0,n.jsx)(o.Z,{label:r.status,size:"small",color:function(e){switch(e){case"running":return"success";case"exited":case"dead":case"not_found":case"not_created":return"error";case"created":case"restarting":case"paused":return"warning";default:return"default"}}(r.status)}),(0,n.jsx)(o.Z,{label:r.health,size:"small",color:function(e){switch(e){case"healthy":return"success";case"unhealthy":return"error";case"starting":return"warning";default:return"default"}}(r.health),variant:"outlined"})]})]}),(0,n.jsx)(a.Z,{variant:"subtitle2",sx:{mb:1,mt:3},children:"Routing Table"}),0===r.routes.length?(0,n.jsx)(a.Z,{variant:"body2",color:"text.secondary",sx:{py:2,textAlign:"center"},children:"No routes configured"}):(0,n.jsx)(l.Z,{sx:{mt:1},children:Array.from(s.entries()).map(e=>{let[r,{status:s,hostnames:t,serverType:i,serverVersion:o}]=e;return(0,n.jsxs)(f.Z,{defaultExpanded:!0,disableGutters:!0,elevation:0,sx:{border:1,borderColor:"divider","&:not(:last-child)":{borderBottom:0},"&::before":{display:"none"}},children:[(0,n.jsx)(g.Z,{expandIcon:(0,n.jsx)(b.Z,{}),children:(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,width:"100%",pr:1},children:[(0,n.jsx)(S,{status:s}),(0,n.jsx)(a.Z,{variant:"subtitle2",sx:{fontWeight:600},children:r}),(i||o)&&(0,n.jsx)(a.Z,{variant:"caption",color:"text.secondary",children:[i,o].filter(Boolean).join(" ")}),(0,n.jsxs)(a.Z,{variant:"caption",color:"text.secondary",sx:{ml:"auto"},children:[t.length," ",1===t.length?"route":"routes"]})]})}),(0,n.jsx)(y.Z,{sx:{pt:0},children:(0,n.jsx)(l.Z,{sx:{display:"flex",flexDirection:"column",gap:.5},children:t.map(e=>(0,n.jsx)(a.Z,{variant:"body2",sx:{fontFamily:'"Roboto Mono", monospace',fontSize:"0.85rem",color:"text.secondary"},children:e},e))})})]},r)})})]})})}var C=s(21605);let z={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},I={border:0,py:1};function k(e){var r;let{router:s}=e,h=s.routes.filter(e=>"running"===e.serverStatus).length,m=s.routes.length;return(0,n.jsx)(t.Z,{children:(0,n.jsxs)(i.Z,{children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[(0,n.jsx)(C.Z,{color:"primary"}),(0,n.jsx)(a.Z,{variant:"h6",component:"h2",children:"Network Settings"})]}),(0,n.jsx)(l.Z,{sx:{overflowX:"auto"},children:(0,n.jsx)(c.Z,{size:"small",children:(0,n.jsxs)(d.Z,{children:[(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:z,children:"Listening Port"}),(0,n.jsx)(u.Z,{sx:I,children:(0,n.jsx)(o.Z,{label:s.port,size:"small",variant:"outlined"})})]}),(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:z,children:"Routing Mode"}),(0,n.jsx)(u.Z,{sx:I,children:(0,n.jsx)(o.Z,{label:(r=s.mode)?r.includes("in-docker")||r.includes("auto-discovery")?"Auto Discovery":r.includes("mapping")?"Manual Mapping":r:"Unknown",size:"small",color:"info",variant:"outlined"})})]}),(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:z,children:"Total Routes"}),(0,n.jsx)(u.Z,{sx:I,children:m})]}),(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:z,children:"Active Routes"}),(0,n.jsx)(u.Z,{sx:I,children:(0,n.jsx)(o.Z,{label:"".concat(h," / ").concat(m),size:"small",color:h>0?"success":"default",variant:"outlined"})})]})]})})})]})})}var A=s(76544);function N(e){var r;let{avahi:s}=e,c=null!==(r=null==s?void 0:s.status)&&void 0!==r?r:"unknown";return(0,n.jsx)(t.Z,{children:(0,n.jsxs)(i.Z,{children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[(0,n.jsx)(A.Z,{color:"primary"}),(0,n.jsx)(a.Z,{variant:"h6",component:"h2",children:"mDNS (Avahi)"}),(0,n.jsx)(o.Z,{label:c,size:"small",color:"running"===c?"success":c.includes("not running")?"warning":"not installed"===c?"error":"default",sx:{ml:"auto"}})]}),(0,n.jsxs)(a.Z,{variant:"body2",color:"text.secondary",children:["Avahi mDNS daemon enables ",(0,n.jsx)("code",{children:".local"})," hostname resolution for Minecraft servers on the local network."]})]})})}var D=s(35106),T=s(97436),E=s(30417),R=s(93017),W=s(30114),B=s(6986);function U(e){var r;let{onSuccess:s,onError:c}=e,{data:d}=(0,B.kP)(),[x,u]=(0,D.useState)((null==d?void 0:null===(r=d.user)||void 0===r?void 0:r.name)||""),[h,m]=(0,D.useState)(!1),[p,j]=(0,D.useState)(!1),Z=null==d?void 0:d.user;(0,D.useEffect)(()=>{(null==Z?void 0:Z.name)&&!p&&(u(Z.name),j(!0))},[null==Z?void 0:Z.name,p]);let f=x!==((null==Z?void 0:Z.name)||""),g=async()=>{if(f&&x.trim()){m(!0);try{let{error:e}=await (0,B.Nq)({name:x.trim()});e?c(e.message||"Failed to update profile"):s("Profile updated successfully")}catch(e){c("Failed to update profile")}finally{m(!1)}}};return Z?(0,n.jsx)(t.Z,{sx:{height:"100%"},children:(0,n.jsxs)(i.Z,{children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[(0,n.jsx)(W.Z,{color:"primary"}),(0,n.jsx)(a.Z,{variant:"h6",component:"h2",children:"Profile"})]}),(0,n.jsxs)(l.Z,{sx:{display:"flex",flexDirection:"column",gap:2.5},children:[(0,n.jsx)(T.Z,{label:"Name",value:x,onChange:e=>u(e.target.value),fullWidth:!0,size:"small"}),(0,n.jsx)(T.Z,{label:"Email",value:Z.email,fullWidth:!0,size:"small",disabled:!0,helperText:"Email cannot be changed"}),(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,n.jsx)(a.Z,{variant:"body2",color:"text.secondary",children:"Role:"}),(0,n.jsx)(o.Z,{label:"admin"===Z.role?"Admin":"User",size:"small",color:"admin"===Z.role?"primary":"default",variant:"outlined"})]}),(0,n.jsx)(l.Z,{sx:{display:"flex",justifyContent:"flex-end"},children:(0,n.jsx)(E.Z,{variant:"contained",onClick:g,disabled:!f||!x.trim()||h,startIcon:h?(0,n.jsx)(R.Z,{size:16}):null,children:h?"Saving...":"Save Changes"})})]})]})}):null}var _=s(52082),F=s(79983),M=s(70603),L=s(28058),q=s(42730);function X(e){let{onSuccess:r,onError:s}=e,[o,c]=(0,D.useState)(""),[d,x]=(0,D.useState)(""),[u,h]=(0,D.useState)(""),[m,p]=(0,D.useState)(!1),[j,Z]=(0,D.useState)(!1),[f,g]=(0,D.useState)(!1),[y,v]=(0,D.useState)(!1),[b,w]=(0,D.useState)({}),S=()=>{let e={};return o||(e.currentPassword="Current password is required"),d?d.length<8&&(e.newPassword="Password must be at least ".concat(8," characters")):e.newPassword="New password is required",u?d!==u&&(e.confirmPassword="Passwords do not match"):e.confirmPassword="Please confirm your new password",o&&d&&o===d&&(e.newPassword="New password must be different from current password"),w(e),0===Object.keys(e).length},P=async e=>{if(e.preventDefault(),S()){v(!0);try{let{error:e}=await (0,B.Cp)({currentPassword:o,newPassword:d,revokeOtherSessions:!1});e?s(e.message||"Failed to change password"):(r("Password changed successfully"),c(""),x(""),h(""),w({}))}catch(e){s("Failed to change password")}finally{v(!1)}}},C=(e,r)=>(0,n.jsx)(_.Z,{position:"end",children:(0,n.jsx)(F.Z,{"aria-label":e?"hide password":"show password",onClick:()=>r(!e),edge:"end",size:"small",children:e?(0,n.jsx)(q.Z,{fontSize:"small"}):(0,n.jsx)(L.Z,{fontSize:"small"})})});return(0,n.jsx)(t.Z,{children:(0,n.jsxs)(i.Z,{children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:3},children:[(0,n.jsx)(M.Z,{color:"primary"}),(0,n.jsx)(a.Z,{variant:"h6",component:"h2",children:"Change Password"})]}),(0,n.jsxs)(l.Z,{component:"form",onSubmit:P,sx:{display:"flex",flexDirection:"column",gap:2.5},children:[(0,n.jsx)(T.Z,{label:"Current Password",type:m?"text":"password",value:o,onChange:e=>{c(e.target.value),b.currentPassword&&w(e=>({...e,currentPassword:""}))},error:!!b.currentPassword,helperText:b.currentPassword,fullWidth:!0,size:"small",autoComplete:"current-password",InputProps:{endAdornment:C(m,p)}}),(0,n.jsx)(T.Z,{label:"New Password",type:j?"text":"password",value:d,onChange:e=>{x(e.target.value),b.newPassword&&w(e=>({...e,newPassword:""}))},error:!!b.newPassword,helperText:b.newPassword||"Minimum ".concat(8," characters"),fullWidth:!0,size:"small",autoComplete:"new-password",InputProps:{endAdornment:C(j,Z)}}),(0,n.jsx)(T.Z,{label:"Confirm New Password",type:f?"text":"password",value:u,onChange:e=>{h(e.target.value),b.confirmPassword&&w(e=>({...e,confirmPassword:""}))},error:!!b.confirmPassword,helperText:b.confirmPassword,fullWidth:!0,size:"small",autoComplete:"new-password",InputProps:{endAdornment:C(f,g)}}),(0,n.jsx)(l.Z,{sx:{display:"flex",justifyContent:"flex-end"},children:(0,n.jsx)(E.Z,{type:"submit",variant:"contained",disabled:y,startIcon:y?(0,n.jsx)(R.Z,{size:16}):null,children:y?"Changing...":"Change Password"})})]})]})})}var O=s(23695);let K={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},V={border:0,py:1};function $(e){return e?("string"==typeof e?new Date(e):e).toLocaleDateString("en-US",{year:"numeric",month:"long",day:"numeric",hour:"2-digit",minute:"2-digit"}):"-"}function Q(){let{data:e}=(0,B.kP)(),r=null==e?void 0:e.user;return r?(0,n.jsx)(t.Z,{sx:{height:"100%"},children:(0,n.jsxs)(i.Z,{children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[(0,n.jsx)(O.Z,{color:"primary"}),(0,n.jsx)(a.Z,{variant:"h6",component:"h2",children:"Account Information"})]}),(0,n.jsx)(c.Z,{size:"small",children:(0,n.jsxs)(d.Z,{children:[(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:K,children:"Account ID"}),(0,n.jsx)(u.Z,{sx:V,children:(0,n.jsx)(a.Z,{variant:"body2",sx:{fontFamily:'"Roboto Mono", monospace',fontSize:"0.8rem"},children:r.id})})]}),(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:K,children:"Created"}),(0,n.jsx)(u.Z,{sx:V,children:$(r.createdAt)})]}),(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:K,children:"Last Updated"}),(0,n.jsx)(u.Z,{sx:V,children:$(r.updatedAt)})]})]})})]})}):null}var Y=s(11254),G=s(10721),H=s(81071),J=s(84974),ee=s(5501),er=s(93315),es=s(9078),en=s(10449),et=s(24559),ei=s(37228);let ea={fontWeight:500,color:"text.secondary",border:0,width:"40%",py:1},el={border:0,py:1};function eo(e){let{text:r}=e,[s,t]=(0,D.useState)(!1),i=async()=>{try{await navigator.clipboard.writeText(r),t(!0),setTimeout(()=>t(!1),2e3)}catch(e){console.error("Failed to copy:",e)}};return(0,n.jsx)(F.Z,{size:"small",onClick:i,sx:{ml:1,color:s?"success.main":"text.secondary","&:hover":{bgcolor:"action.hover"}},"aria-label":s?"Copied":"Copy to clipboard",children:s?(0,n.jsx)(et.Z,{sx:{fontSize:16}}):(0,n.jsx)(en.Z,{sx:{fontSize:16}})})}function ec(){let{data:e,isLoading:r,error:s}=(0,ei.UW)(),h=(0,ei.Bc)(),m=(0,ei.N$)();if(s)return(0,n.jsx)(t.Z,{children:(0,n.jsxs)(i.Z,{children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[(0,n.jsx)(J.Z,{color:"primary"}),(0,n.jsx)(a.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,n.jsxs)(H.Z,{severity:"error",children:["Failed to load playit status: ",s.message]})]})});if(r)return(0,n.jsx)(t.Z,{children:(0,n.jsxs)(i.Z,{children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[(0,n.jsx)(G.Z,{variant:"circular",width:24,height:24}),(0,n.jsx)(G.Z,{variant:"text",width:"40%",height:32})]}),(0,n.jsxs)(l.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[(0,n.jsx)(G.Z,{variant:"text",width:"35%"}),(0,n.jsx)(G.Z,{variant:"text",width:"40%"})]}),(0,n.jsxs)(l.Z,{sx:{display:"flex",justifyContent:"space-between",py:.75},children:[(0,n.jsx)(G.Z,{variant:"text",width:"35%"}),(0,n.jsx)(G.Z,{variant:"text",width:"40%"})]})]})});if(!(null==e?void 0:e.enabled))return(0,n.jsx)(t.Z,{children:(0,n.jsxs)(i.Z,{children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:2},children:[(0,n.jsx)(J.Z,{color:"primary"}),(0,n.jsx)(a.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),(0,n.jsxs)(H.Z,{severity:"info",children:[(0,n.jsx)(a.Z,{variant:"body2",fontWeight:500,sx:{mb:.5},children:"Not configured"}),(0,n.jsx)(a.Z,{variant:"body2",color:"text.secondary",children:"playit.gg agent is not set up. Configure PLAYIT_SECRET to enable external access."})]})]})});let p=e.agentRunning&&"running"===e.containerStatus,j=h.isPending||m.isPending,Z=h.error||m.error;return(0,n.jsx)(t.Z,{children:(0,n.jsxs)(i.Z,{children:[(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",gap:1,mb:1},children:[(0,n.jsx)(J.Z,{color:"primary"}),(0,n.jsx)(a.Z,{variant:"h6",component:"h2",children:"External Access (playit.gg)"})]}),Z&&(0,n.jsx)(H.Z,{severity:"error",sx:{mb:2},children:Z.message||"Action failed"}),(0,n.jsxs)(l.Z,{sx:{display:"flex",gap:1,mb:2,flexWrap:"wrap"},children:[p?(0,n.jsx)(E.Z,{variant:"outlined",size:"small",color:"error",startIcon:j?(0,n.jsx)(R.Z,{size:16}):(0,n.jsx)(er.Z,{}),onClick:()=>{m.mutate()},disabled:j,sx:{fontSize:12},children:j?"Stopping...":"Stop Agent"}):(0,n.jsx)(E.Z,{variant:"contained",size:"small",color:"success",startIcon:j?(0,n.jsx)(R.Z,{size:16,color:"inherit"}):(0,n.jsx)(ee.Z,{}),onClick:()=>{h.mutate()},disabled:j,sx:{fontSize:12},children:j?"Starting...":"Start Agent"}),(0,n.jsx)(E.Z,{component:"a",href:"https://playit.gg/account/tunnels",target:"_blank",rel:"noopener noreferrer",size:"small",startIcon:(0,n.jsx)(es.Z,{}),sx:{fontSize:12},children:"View Dashboard"})]}),(0,n.jsx)(l.Z,{sx:{overflowX:"auto"},children:(0,n.jsx)(c.Z,{size:"small",sx:{mb:3},children:(0,n.jsxs)(d.Z,{children:[(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:ea,children:"Agent Status"}),(0,n.jsx)(u.Z,{sx:el,children:(0,n.jsx)(o.Z,{label:p?"Running":"Stopped",size:"small",color:p?"success":"default",variant:"outlined"})})]}),e.uptime&&(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:ea,children:"Uptime"}),(0,n.jsx)(u.Z,{sx:el,children:e.uptime})]})]})})}),e.servers&&e.servers.length>0&&(()=>{let r=e.servers.filter(e=>e.playitDomain),s=e.servers.filter(e=>!e.playitDomain);return(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(a.Z,{variant:"subtitle2",sx:{mb:1.5,fontWeight:600},children:"Server Domains"}),r.length>0?(0,n.jsx)(l.Z,{sx:{overflowX:"auto"},children:(0,n.jsxs)(c.Z,{size:"small",sx:{mb:s.length>0?2:0},children:[(0,n.jsx)(Y.Z,{children:(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:{fontWeight:600,borderBottom:2,borderColor:"divider"},children:"Server"}),(0,n.jsx)(u.Z,{sx:{fontWeight:600,borderBottom:2,borderColor:"divider"},children:"External Domain"})]})}),(0,n.jsx)(d.Z,{children:r.map(e=>(0,n.jsxs)(x.Z,{children:[(0,n.jsx)(u.Z,{sx:{py:1.5,borderBottom:1,borderColor:"divider"},children:e.serverName}),(0,n.jsx)(u.Z,{sx:{py:1.5,borderBottom:1,borderColor:"divider"},children:(0,n.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center"},children:[(0,n.jsx)(a.Z,{variant:"body2",sx:{fontFamily:'"Roboto Mono", monospace',wordBreak:"break-all"},children:e.playitDomain}),(0,n.jsx)(eo,{text:e.playitDomain})]})})]},e.serverName))})]})}):(0,n.jsxs)(a.Z,{variant:"body2",color:"text.secondary",sx:{mb:2},children:["No servers with external domains configured. Use ",(0,n.jsx)("code",{children:"mcctl create --playit-domain"})," to register a domain."]}),s.length>0&&(0,n.jsxs)(a.Z,{variant:"body2",color:"text.secondary",children:[s.length," server",s.length>1?"s":""," without external domain: ",s.map(e=>e.serverName).join(", ")]})]})})()]})})}},37228:function(e,r,s){s.d(r,{Bc:function(){return o},N$:function(){return c},UW:function(){return l}});var n=s(5632),t=s(58919),i=s(20367),a=s(42936);function l(){return(0,n.a)({queryKey:["playit-status"],queryFn:()=>(0,a.SC)("/api/playit/status"),refetchInterval:3e4})}function o(){let e=(0,t.NL)();return(0,i.D)({mutationFn:()=>(0,a.SC)("/api/playit/start",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}function c(){let e=(0,t.NL)();return(0,i.D)({mutationFn:()=>(0,a.SC)("/api/playit/stop",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}},6986:function(e,r,s){s.d(r,{Cp:function(){return u},Nq:function(){return x},cg:function(){return l},kP:function(){return d},w7:function(){return o},y1:function(){return c},zB:function(){return h}});var n=s(77054),t=s(61648),i=s(35016);let a=(0,n.X)({baseURL:i.env.NEXT_PUBLIC_BETTER_AUTH_URL||"",plugins:[(0,t.zB)()]}),{signIn:l,signOut:o,signUp:c,useSession:d,updateUser:x,changePassword:u}=a,h=a.admin}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[837],{32366:function(r,e,n){var t=n(8091);e.Z=void 0;var a=t(n(66758)),o=n(94655);e.Z=(0,a.default)((0,o.jsx)("path",{d:"M19 13h-6v6h-2v-6H5v-2h6V5h2v6h6z"}),"Add")},46207:function(r,e,n){var t=n(8091);e.Z=void 0;var a=t(n(66758)),o=n(94655);e.Z=(0,a.default)((0,o.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")},71185:function(r,e,n){var t=n(8091);e.Z=void 0;var a=t(n(66758)),o=n(94655);e.Z=(0,a.default)((0,o.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},43436:function(r,e,n){var t=n(8091);e.Z=void 0;var a=t(n(66758)),o=n(94655);e.Z=(0,a.default)((0,o.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")},96292:function(r,e,n){var t=n(8091);e.Z=void 0;var a=t(n(66758)),o=n(94655);e.Z=(0,a.default)((0,o.jsx)("path",{d:"M3.9 12c0-1.71 1.39-3.1 3.1-3.1h4V7H7c-2.76 0-5 2.24-5 5s2.24 5 5 5h4v-1.9H7c-1.71 0-3.1-1.39-3.1-3.1M8 13h8v-2H8zm9-6h-4v1.9h4c1.71 0 3.1 1.39 3.1 3.1s-1.39 3.1-3.1 3.1h-4V17h4c2.76 0 5-2.24 5-5s-2.24-5-5-5"}),"Link")},4405:function(r,e,n){n.d(e,{Z:function(){return A}});var t=n(16295),a=n(32324),o=n(81500),i=n(35106),u=n(70316),l=n(65951),c=n(41060),s=n(64577),f=n(16501),d=n(38762),b=n(34519),m=n(28057),v=n(11379),h=n(9049);function p(r){return(0,h.ZP)("MuiLinearProgress",r)}(0,v.Z)("MuiLinearProgress",["root","colorPrimary","colorSecondary","determinate","indeterminate","buffer","query","dashed","dashedColorPrimary","dashedColorSecondary","bar","barColorPrimary","barColorSecondary","bar1Indeterminate","bar1Determinate","bar1Buffer","bar2Indeterminate","bar2Buffer"]);var g=n(94655);function Z(){let r=(0,t._)(["\n 0% {\n left: -35%;\n right: 100%;\n }\n\n 60% {\n left: 100%;\n right: -90%;\n }\n\n 100% {\n left: 100%;\n right: -90%;\n }\n"]);return Z=function(){return r},r}function C(){let r=(0,t._)(["\n 0% {\n left: -200%;\n right: 100%;\n }\n\n 60% {\n left: 107%;\n right: -8%;\n }\n\n 100% {\n left: 107%;\n right: -8%;\n }\n"]);return C=function(){return r},r}function y(){let r=(0,t._)(["\n 0% {\n opacity: 1;\n background-position: 0 -23px;\n }\n\n 60% {\n opacity: 0;\n background-position: 0 -23px;\n }\n\n 100% {\n opacity: 1;\n background-position: -200px -23px;\n }\n"]);return y=function(){return r},r}function k(){let r=(0,t._)(["\n animation: "," 3s infinite linear;\n "]);return k=function(){return r},r}function x(){let r=(0,t._)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.65, 0.815, 0.735, 0.395) infinite;\n "]);return x=function(){return r},r}function w(){let r=(0,t._)(["\n width: auto;\n animation: "," 2.1s cubic-bezier(0.165, 0.84, 0.44, 1) 1.15s infinite;\n "]);return w=function(){return r},r}let M=["className","color","value","valueBuffer","variant"],P=r=>r,L,S,j,z,_,B,I=(0,c.F4)(L||(L=P(Z()))),q=(0,c.F4)(S||(S=P(C()))),N=(0,c.F4)(j||(j=P(y()))),R=r=>{let{classes:e,variant:n,color:t}=r,a={root:["root","color".concat((0,d.Z)(t)),n],dashed:["dashed","dashedColor".concat((0,d.Z)(t))],bar1:["bar","barColor".concat((0,d.Z)(t)),("indeterminate"===n||"query"===n)&&"bar1Indeterminate","determinate"===n&&"bar1Determinate","buffer"===n&&"bar1Buffer"],bar2:["bar","buffer"!==n&&"barColor".concat((0,d.Z)(t)),"buffer"===n&&"color".concat((0,d.Z)(t)),("indeterminate"===n||"query"===n)&&"bar2Indeterminate","buffer"===n&&"bar2Buffer"]};return(0,l.Z)(a,p,e)},V=(r,e)=>"inherit"===e?"currentColor":r.vars?r.vars.palette.LinearProgress["".concat(e,"Bg")]:"light"===r.palette.mode?(0,s.$n)(r.palette[e].main,.62):(0,s._j)(r.palette[e].main,.5),D=(0,b.ZP)("span",{name:"MuiLinearProgress",slot:"Root",overridesResolver:(r,e)=>{let{ownerState:n}=r;return[e.root,e["color".concat((0,d.Z)(n.color))],e[n.variant]]}})(r=>{let{ownerState:e,theme:n}=r;return(0,o.Z)({position:"relative",overflow:"hidden",display:"block",height:4,zIndex:0,"@media print":{colorAdjust:"exact"},backgroundColor:V(n,e.color)},"inherit"===e.color&&"buffer"!==e.variant&&{backgroundColor:"none","&::before":{content:'""',position:"absolute",left:0,top:0,right:0,bottom:0,backgroundColor:"currentColor",opacity:.3}},"buffer"===e.variant&&{backgroundColor:"transparent"},"query"===e.variant&&{transform:"rotate(180deg)"})}),E=(0,b.ZP)("span",{name:"MuiLinearProgress",slot:"Dashed",overridesResolver:(r,e)=>{let{ownerState:n}=r;return[e.dashed,e["dashedColor".concat((0,d.Z)(n.color))]]}})(r=>{let{ownerState:e,theme:n}=r,t=V(n,e.color);return(0,o.Z)({position:"absolute",marginTop:0,height:"100%",width:"100%"},"inherit"===e.color&&{opacity:.3},{backgroundImage:"radial-gradient(".concat(t," 0%, ").concat(t," 16%, transparent 42%)"),backgroundSize:"10px 10px",backgroundPosition:"0 -23px"})},(0,c.iv)(z||(z=P(k(),0)),N)),H=(0,b.ZP)("span",{name:"MuiLinearProgress",slot:"Bar1",overridesResolver:(r,e)=>{let{ownerState:n}=r;return[e.bar,e["barColor".concat((0,d.Z)(n.color))],("indeterminate"===n.variant||"query"===n.variant)&&e.bar1Indeterminate,"determinate"===n.variant&&e.bar1Determinate,"buffer"===n.variant&&e.bar1Buffer]}})(r=>{let{ownerState:e,theme:n}=r;return(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left",backgroundColor:"inherit"===e.color?"currentColor":(n.vars||n).palette[e.color].main},"determinate"===e.variant&&{transition:"transform .".concat(4,"s linear")},"buffer"===e.variant&&{zIndex:1,transition:"transform .".concat(4,"s linear")})},r=>{let{ownerState:e}=r;return("indeterminate"===e.variant||"query"===e.variant)&&(0,c.iv)(_||(_=P(x(),0)),I)}),F=(0,b.ZP)("span",{name:"MuiLinearProgress",slot:"Bar2",overridesResolver:(r,e)=>{let{ownerState:n}=r;return[e.bar,e["barColor".concat((0,d.Z)(n.color))],("indeterminate"===n.variant||"query"===n.variant)&&e.bar2Indeterminate,"buffer"===n.variant&&e.bar2Buffer]}})(r=>{let{ownerState:e,theme:n}=r;return(0,o.Z)({width:"100%",position:"absolute",left:0,bottom:0,top:0,transition:"transform 0.2s linear",transformOrigin:"left"},"buffer"!==e.variant&&{backgroundColor:"inherit"===e.color?"currentColor":(n.vars||n).palette[e.color].main},"inherit"===e.color&&{opacity:.3},"buffer"===e.variant&&{backgroundColor:V(n,e.color),transition:"transform .".concat(4,"s linear")})},r=>{let{ownerState:e}=r;return("indeterminate"===e.variant||"query"===e.variant)&&(0,c.iv)(B||(B=P(w(),0)),q)});var A=i.forwardRef(function(r,e){let n=(0,m.i)({props:r,name:"MuiLinearProgress"}),{className:t,color:i="primary",value:l,valueBuffer:c,variant:s="indeterminate"}=n,d=(0,a.Z)(n,M),b=(0,o.Z)({},n,{color:i,variant:s}),v=R(b),h=(0,f.V)(),p={},Z={bar1:{},bar2:{}};if(("determinate"===s||"buffer"===s)&&void 0!==l){p["aria-valuenow"]=Math.round(l),p["aria-valuemin"]=0,p["aria-valuemax"]=100;let r=l-100;h&&(r=-r),Z.bar1.transform="translateX(".concat(r,"%)")}if("buffer"===s&&void 0!==c){let r=(c||0)-100;h&&(r=-r),Z.bar2.transform="translateX(".concat(r,"%)")}return(0,g.jsxs)(D,(0,o.Z)({className:(0,u.Z)(v.root,t),ownerState:b,role:"progressbar"},p,{ref:e},d,{children:["buffer"===s?(0,g.jsx)(E,{className:v.dashed,ownerState:b}):null,(0,g.jsx)(H,{className:v.bar1,ownerState:b,style:Z.bar1}),"determinate"===s?null:(0,g.jsx)(F,{className:v.bar2,ownerState:b,style:Z.bar2})]}))})},44059:function(r,e,n){n.d(e,{Z:function(){return c}});var t,a=n(35106),o=n(93207),i=n(13864),u=n(25246);let l=(t||(t=n.t(a,2))).useSyncExternalStore;function c(r){let e=arguments.length>1&&void 0!==arguments[1]?arguments[1]:{},n=(0,u.Z)(),t="undefined"!=typeof window&&void 0!==window.matchMedia,{defaultMatches:c=!1,matchMedia:s=t?window.matchMedia:null,ssrMatchMedia:f=null,noSsr:d=!1}=(0,i.Z)({name:"MuiUseMediaQuery",props:e,theme:n}),b="function"==typeof r?r(n):r;return(void 0!==l?function(r,e,n,t,o){let i=a.useCallback(()=>e,[e]),u=a.useMemo(()=>{if(o&&n)return()=>n(r).matches;if(null!==t){let{matches:e}=t(r);return()=>e}return i},[i,r,t,o,n]),[c,s]=a.useMemo(()=>{if(null===n)return[i,()=>()=>{}];let e=n(r);return[()=>e.matches,r=>(e.addListener(r),()=>{e.removeListener(r)})]},[i,n,r]);return l(s,c,u)}:function(r,e,n,t,i){let[u,l]=a.useState(()=>i&&n?n(r).matches:t?t(r).matches:e);return(0,o.Z)(()=>{let e=!0;if(!n)return;let t=n(r),a=()=>{e&&l(t.matches)};return a(),t.addListener(a),()=>{e=!1,t.removeListener(a)}},[r,n]),u})(b=b.replace(/^@media( ?)/m,""),c,s,f,d)}}}]);
@@ -0,0 +1 @@
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[8854],{34675:function(t,e,r){var s=r(8091);e.Z=void 0;var i=s(r(66758)),n=r(94655);e.Z=(0,i.default)((0,n.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"}),"Backup")},46207:function(t,e,r){var s=r(8091);e.Z=void 0;var i=s(r(66758)),n=r(94655);e.Z=(0,i.default)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m-2 15-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8z"}),"CheckCircle")},91606:function(t,e,r){var s=r(8091);e.Z=void 0;var i=s(r(66758)),n=r(94655);e.Z=(0,i.default)((0,n.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")},43436:function(t,e,r){var s=r(8091);e.Z=void 0;var i=s(r(66758)),n=r(94655);e.Z=(0,i.default)((0,n.jsx)("path",{d:"M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2m1 15h-2v-2h2zm0-4h-2V7h2z"}),"Error")},97731:function(t,e,r){var s=r(8091);e.Z=void 0;var i=s(r(66758)),n=r(94655);e.Z=(0,i.default)((0,n.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")},628:function(t,e,r){r.d(e,{Z:function(){return Z}});var s=r(81500),i=r(32324),n=r(35106),o=r(70316),a=r(65951),u=r(34519),l=r(28057),c=r(69899),h=r(11379),d=r(9049);function p(t){return(0,d.ZP)("MuiCard",t)}(0,h.Z)("MuiCard",["root"]);var f=r(94655);let m=["className","raised"],v=t=>{let{classes:e}=t;return(0,a.Z)({root:["root"]},p,e)},y=(0,u.ZP)(c.Z,{name:"MuiCard",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({overflow:"hidden"}));var Z=n.forwardRef(function(t,e){let r=(0,l.i)({props:t,name:"MuiCard"}),{className:n,raised:a=!1}=r,u=(0,i.Z)(r,m),c=(0,s.Z)({},r,{raised:a}),h=v(c);return(0,f.jsx)(y,(0,s.Z)({className:(0,o.Z)(h.root,n),elevation:a?8:void 0,ref:e,ownerState:c},u))})},41565:function(t,e,r){r.d(e,{Z:function(){return y}});var s=r(81500),i=r(32324),n=r(35106),o=r(70316),a=r(65951),u=r(34519),l=r(28057),c=r(11379),h=r(9049);function d(t){return(0,h.ZP)("MuiCardContent",t)}(0,c.Z)("MuiCardContent",["root"]);var p=r(94655);let f=["className","component"],m=t=>{let{classes:e}=t;return(0,a.Z)({root:["root"]},d,e)},v=(0,u.ZP)("div",{name:"MuiCardContent",slot:"Root",overridesResolver:(t,e)=>e.root})(()=>({padding:16,"&:last-child":{paddingBottom:24}}));var y=n.forwardRef(function(t,e){let r=(0,l.i)({props:t,name:"MuiCardContent"}),{className:n,component:a="div"}=r,u=(0,i.Z)(r,f),c=(0,s.Z)({},r,{component:a}),h=m(c);return(0,p.jsx)(v,(0,s.Z)({as:a,className:(0,o.Z)(h.root,n),ownerState:c,ref:e},u))})},76678:function(t,e,r){r.d(e,{Z:function(){return y}});var s=r(32324),i=r(81500),n=r(35106),o=r(70316),a=r(65951),u=r(34519),l=r(28057),c=r(11379),h=r(9049);function d(t){return(0,h.ZP)("MuiDialogActions",t)}(0,c.Z)("MuiDialogActions",["root","spacing"]);var p=r(94655);let f=["className","disableSpacing"],m=t=>{let{classes:e,disableSpacing:r}=t;return(0,a.Z)({root:["root",!r&&"spacing"]},d,e)},v=(0,u.ZP)("div",{name:"MuiDialogActions",slot:"Root",overridesResolver:(t,e)=>{let{ownerState:r}=t;return[e.root,!r.disableSpacing&&e.spacing]}})(t=>{let{ownerState:e}=t;return(0,i.Z)({display:"flex",alignItems:"center",padding:8,justifyContent:"flex-end",flex:"0 0 auto"},!e.disableSpacing&&{"& > :not(style) ~ :not(style)":{marginLeft:8}})});var y=n.forwardRef(function(t,e){let r=(0,l.i)({props:t,name:"MuiDialogActions"}),{className:n,disableSpacing:a=!1}=r,u=(0,s.Z)(r,f),c=(0,i.Z)({},r,{disableSpacing:a}),h=m(c);return(0,p.jsx)(v,(0,i.Z)({className:(0,o.Z)(h.root,n),ownerState:c,ref:e},u))})},65087:function(t,e,r){r.d(e,{Z:function(){return g}});var s=r(32324),i=r(81500),n=r(35106),o=r(70316),a=r(65951),u=r(34519),l=r(15651),c=r(28057),h=r(31317),d=r(11379),p=r(9049);function f(t){return(0,p.ZP)("MuiDialogContentText",t)}(0,d.Z)("MuiDialogContentText",["root"]);var m=r(94655);let v=["children","className"],y=t=>{let{classes:e}=t,r=(0,a.Z)({root:["root"]},f,e);return(0,i.Z)({},e,r)},Z=(0,u.ZP)(h.Z,{shouldForwardProp:t=>(0,l.Z)(t)||"classes"===t,name:"MuiDialogContentText",slot:"Root",overridesResolver:(t,e)=>e.root})({});var g=n.forwardRef(function(t,e){let r=(0,c.i)({props:t,name:"MuiDialogContentText"}),{className:n}=r,a=(0,s.Z)(r,v),u=y(a);return(0,m.jsx)(Z,(0,i.Z)({component:"p",variant:"body1",color:"text.secondary",ref:e,ownerState:a,className:(0,o.Z)(u.root,n)},r,{classes:u}))})},70115:function(t,e,r){r.d(e,{Z:function(){return R}});var s=r(32324),i=r(81500),n=r(35106),o=r(70316),a=r(41499),u=r(9049),l=r(65951),c=r(48442),h=r(14189),d=r(28131),p=r(8557),f=r(43513),m=r(95731),v=r(94655);let y=["component","direction","spacing","divider","children","className","useFlexGap"],Z=(0,p.Z)(),g=(0,c.Z)("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root});function b(t){return(0,h.Z)({props:t,name:"MuiStack",defaultTheme:Z})}let C=t=>({row:"Left","row-reverse":"Right",column:"Top","column-reverse":"Bottom"})[t],M=({ownerState:t,theme:e})=>{let r=(0,i.Z)({display:"flex",flexDirection:"column"},(0,f.k9)({theme:e},(0,f.P$)({values:t.direction,breakpoints:e.breakpoints.values}),t=>({flexDirection:t})));if(t.spacing){let s=(0,m.hB)(e),i=Object.keys(e.breakpoints.values).reduce((e,r)=>(("object"==typeof t.spacing&&null!=t.spacing[r]||"object"==typeof t.direction&&null!=t.direction[r])&&(e[r]=!0),e),{}),n=(0,f.P$)({values:t.direction,base:i}),o=(0,f.P$)({values:t.spacing,base:i});"object"==typeof n&&Object.keys(n).forEach((t,e,r)=>{if(!n[t]){let s=e>0?n[r[e-1]]:"column";n[t]=s}}),r=(0,a.Z)(r,(0,f.k9)({theme:e},o,(e,r)=>t.useFlexGap?{gap:(0,m.NA)(s,e)}:{"& > :not(style):not(style)":{margin:0},"& > :not(style) ~ :not(style)":{[`margin${C(r?n[r]:t.direction)}`]:(0,m.NA)(s,e)}}))}return(0,f.dt)(e.breakpoints,r)};var x=r(34519),w=r(28057),R=function(t={}){let{createStyledComponent:e=g,useThemeProps:r=b,componentName:a="MuiStack"}=t,c=()=>(0,l.Z)({root:["root"]},t=>(0,u.ZP)(a,t),{}),h=e(M);return n.forwardRef(function(t,e){let a=r(t),u=(0,d.Z)(a),{component:l="div",direction:p="column",spacing:f=0,divider:m,children:Z,className:g,useFlexGap:b=!1}=u,C=(0,s.Z)(u,y),M=c();return(0,v.jsx)(h,(0,i.Z)({as:l,ownerState:{direction:p,spacing:f,useFlexGap:b},ref:e,className:(0,o.Z)(M.root,g)},C,{children:m?function(t,e){let r=n.Children.toArray(t).filter(Boolean);return r.reduce((t,s,i)=>(t.push(s),i<r.length-1&&t.push(n.cloneElement(e,{key:`separator-${i}`})),t),[])}(Z,m):Z}))})}({createStyledComponent:(0,x.ZP)("div",{name:"MuiStack",slot:"Root",overridesResolver:(t,e)=>e.root}),useThemeProps:t=>(0,w.i)({props:t,name:"MuiStack"})})},53281:function(t,e,r){r.d(e,{Z:function(){return y}});var s=r(81500),i=r(32324),n=r(35106),o=r(70316),a=r(65951),u=r(28057),l=r(34519),c=r(11379),h=r(9049);function d(t){return(0,h.ZP)("MuiTableContainer",t)}(0,c.Z)("MuiTableContainer",["root"]);var p=r(94655);let f=["className","component"],m=t=>{let{classes:e}=t;return(0,a.Z)({root:["root"]},d,e)},v=(0,l.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(t,e)=>e.root})({width:"100%",overflowX:"auto"});var y=n.forwardRef(function(t,e){let r=(0,u.i)({props:t,name:"MuiTableContainer"}),{className:n,component:a="div"}=r,l=(0,i.Z)(r,f),c=(0,s.Z)({},r,{component:a}),h=m(c);return(0,p.jsx)(v,(0,s.Z)({ref:e,as:a,className:(0,o.Z)(h.root,n),ownerState:c},l))})},76492:function(t,e,r){r.d(e,{Fq:function(){return n}});var s=r(22085),i=r(34272);function n(t,e){return t=function t(e){let r;if(e.type)return e;if("#"===e.charAt(0))return t(function(t){t=t.slice(1);let e=RegExp(`.{1,${t.length>=6?2:1}}`,"g"),r=t.match(e);return r&&1===r[0].length&&(r=r.map(t=>t+t)),r?`rgb${4===r.length?"a":""}(${r.map((t,e)=>e<3?parseInt(t,16):Math.round(parseInt(t,16)/255*1e3)/1e3).join(", ")})`:""}(e));let i=e.indexOf("("),n=e.substring(0,i);if(-1===["rgb","rgba","hsl","hsla","color"].indexOf(n))throw Error((0,s.Z)(9,e));let o=e.substring(i+1,e.length-1);if("color"===n){if(r=(o=o.split(" ")).shift(),4===o.length&&"/"===o[3].charAt(0)&&(o[3]=o[3].slice(1)),-1===["srgb","display-p3","a98-rgb","prophoto-rgb","rec-2020"].indexOf(r))throw Error((0,s.Z)(10,r))}else o=o.split(",");return{type:n,values:o=o.map(t=>parseFloat(t)),colorSpace:r}}(t),e=function(t,e=0,r=1){return(0,i.Z)(t,e,r)}(e),("rgb"===t.type||"hsl"===t.type)&&(t.type+="a"),"color"===t.type?t.values[3]=`/${e}`:t.values[3]=e,function(t){let{type:e,colorSpace:r}=t,{values:s}=t;return -1!==e.indexOf("rgb")?s=s.map((t,e)=>e<3?parseInt(t,10):t):-1!==e.indexOf("hsl")&&(s[1]=`${s[1]}%`,s[2]=`${s[2]}%`),s=-1!==e.indexOf("color")?`${r} ${s.join(" ")}`:`${s.join(", ")}`,`${e}(${s})`}(t)}},48442:function(t,e,r){r.d(e,{Z:function(){return Z}});var s=r(81500),i=r(32324),n=r(14526),o=r(41499),a=r(8557),u=r(72686);let l=["ownerState"],c=["variants"],h=["name","slot","skipVariantsResolver","skipSx","overridesResolver"];function d(t){return"ownerState"!==t&&"theme"!==t&&"sx"!==t&&"as"!==t}function p(t,e){return e&&t&&"object"==typeof t&&t.styles&&!t.styles.startsWith("@layer")&&(t.styles=`@layer ${e}{${String(t.styles)}}`),t}let f=(0,a.Z)(),m=t=>t?t.charAt(0).toLowerCase()+t.slice(1):t;function v({defaultTheme:t,theme:e,themeId:r}){return 0===Object.keys(e).length?t:e[r]||e}function y(t,e,r){let{ownerState:o}=e,a=(0,i.Z)(e,l),u="function"==typeof t?t((0,s.Z)({ownerState:o},a)):t;if(Array.isArray(u))return u.flatMap(t=>y(t,(0,s.Z)({ownerState:o},a),r));if(u&&"object"==typeof u&&Array.isArray(u.variants)){let{variants:t=[]}=u,e=(0,i.Z)(u,c);return t.forEach(t=>{let i=!0;if("function"==typeof t.props?i=t.props((0,s.Z)({ownerState:o},a,o)):Object.keys(t.props).forEach(e=>{(null==o?void 0:o[e])!==t.props[e]&&a[e]!==t.props[e]&&(i=!1)}),i){Array.isArray(e)||(e=[e]);let i="function"==typeof t.style?t.style((0,s.Z)({ownerState:o},a,o)):t.style;e.push(r?p((0,n.internal_serializeStyles)(i),r):i)}}),e}return r?p((0,n.internal_serializeStyles)(u),r):u}var Z=function(t={}){let{themeId:e,defaultTheme:r=f,rootShouldForwardProp:a=d,slotShouldForwardProp:l=d}=t,c=t=>(0,u.Z)((0,s.Z)({},t,{theme:v((0,s.Z)({},t,{defaultTheme:r,themeId:e}))}));return c.__mui_systemSx=!0,(t,u={})=>{var p;let f;(0,n.internal_processStyles)(t,t=>t.filter(t=>!(null!=t&&t.__mui_systemSx)));let{name:Z,slot:g,skipVariantsResolver:b,skipSx:C,overridesResolver:M=(p=m(g))?(t,e)=>e[p]:null}=u,x=(0,i.Z)(u,h),w=Z&&Z.startsWith("Mui")||g?"components":"custom",R=void 0!==b?b:g&&"Root"!==g&&"root"!==g||!1,S=C||!1,P=d;"Root"===g||"root"===g?P=a:g?P=l:"string"==typeof t&&t.charCodeAt(0)>96&&(P=void 0);let j=(0,n.default)(t,(0,s.Z)({shouldForwardProp:P,label:f},x)),O=t=>"function"==typeof t&&t.__emotion_real!==t||(0,o.P)(t)?i=>{let n=v({theme:i.theme,defaultTheme:r,themeId:e});return y(t,(0,s.Z)({},i,{theme:n}),n.modularCssLayers?w:void 0)}:t,k=(i,...n)=>{let o=O(i),a=n?n.map(O):[];Z&&M&&a.push(t=>{let i=v((0,s.Z)({},t,{defaultTheme:r,themeId:e}));if(!i.components||!i.components[Z]||!i.components[Z].styleOverrides)return null;let n=i.components[Z].styleOverrides,o={};return Object.entries(n).forEach(([e,r])=>{o[e]=y(r,(0,s.Z)({},t,{theme:i}),i.modularCssLayers?"theme":void 0)}),M(t,o)}),Z&&!R&&a.push(t=>{var i;let n=v((0,s.Z)({},t,{defaultTheme:r,themeId:e}));return y({variants:null==n||null==(i=n.components)||null==(i=i[Z])?void 0:i.variants},(0,s.Z)({},t,{theme:n}),n.modularCssLayers?"theme":void 0)}),S||a.push(c);let u=a.length-n.length;if(Array.isArray(i)&&u>0){let t=Array(u).fill("");(o=[...i,...t]).raw=[...i.raw,...t]}let l=j(o,...a);return t.muiName&&(l.muiName=t.muiName),l};return j.withConfig&&(k.withConfig=j.withConfig),k}}()},13864:function(t,e,r){r.d(e,{Z:function(){return i}});var s=r(71483);function i(t){let{theme:e,name:r,props:i}=t;return e&&e.components&&e.components[r]&&e.components[r].defaultProps?(0,s.Z)(e.components[r].defaultProps,i):i}},14189:function(t,e,r){r.d(e,{Z:function(){return n}});var s=r(13864),i=r(32730);function n(t){let{props:e,name:r,defaultTheme:n,themeId:o}=t,a=(0,i.Z)(n);return o&&(a=a[o]||a),(0,s.Z)({theme:a,name:r,props:e})}},98091:function(t,e,r){r.d(e,{R:function(){return a},m:function(){return o}});var s=r(11430),i=r(23620),n=r(97639),o=class extends i.F{#t;#e;#r;#s;constructor(t){super(),this.#t=t.client,this.mutationId=t.mutationId,this.#r=t.mutationCache,this.#e=[],this.state=t.state||a(),this.setOptions(t.options),this.scheduleGc()}setOptions(t){this.options=t,this.updateGcTime(this.options.gcTime)}get meta(){return this.options.meta}addObserver(t){this.#e.includes(t)||(this.#e.push(t),this.clearGcTimeout(),this.#r.notify({type:"observerAdded",mutation:this,observer:t}))}removeObserver(t){this.#e=this.#e.filter(e=>e!==t),this.scheduleGc(),this.#r.notify({type:"observerRemoved",mutation:this,observer:t})}optionalRemove(){this.#e.length||("pending"===this.state.status?this.scheduleGc():this.#r.remove(this))}continue(){return this.#s?.continue()??this.execute(this.state.variables)}async execute(t){let e=()=>{this.#i({type:"continue"})},r={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};this.#s=(0,n.Mz)({fn:()=>this.options.mutationFn?this.options.mutationFn(t,r):Promise.reject(Error("No mutationFn found")),onFail:(t,e)=>{this.#i({type:"failed",failureCount:t,error:e})},onPause:()=>{this.#i({type:"pause"})},onContinue:e,retry:this.options.retry??0,retryDelay:this.options.retryDelay,networkMode:this.options.networkMode,canRun:()=>this.#r.canRun(this)});let s="pending"===this.state.status,i=!this.#s.canStart();try{if(s)e();else{this.#i({type:"pending",variables:t,isPaused:i}),this.#r.config.onMutate&&await this.#r.config.onMutate(t,this,r);let e=await this.options.onMutate?.(t,r);e!==this.state.context&&this.#i({type:"pending",context:e,variables:t,isPaused:i})}let n=await this.#s.start();return await this.#r.config.onSuccess?.(n,t,this.state.context,this,r),await this.options.onSuccess?.(n,t,this.state.context,r),await this.#r.config.onSettled?.(n,null,this.state.variables,this.state.context,this,r),await this.options.onSettled?.(n,null,t,this.state.context,r),this.#i({type:"success",data:n}),n}catch(e){try{await this.#r.config.onError?.(e,t,this.state.context,this,r)}catch(t){Promise.reject(t)}try{await this.options.onError?.(e,t,this.state.context,r)}catch(t){Promise.reject(t)}try{await this.#r.config.onSettled?.(void 0,e,this.state.variables,this.state.context,this,r)}catch(t){Promise.reject(t)}try{await this.options.onSettled?.(void 0,e,t,this.state.context,r)}catch(t){Promise.reject(t)}throw this.#i({type:"error",error:e}),e}finally{this.#r.runNext(this)}}#i(t){this.state=(e=>{switch(t.type){case"failed":return{...e,failureCount:t.failureCount,failureReason:t.error};case"pause":return{...e,isPaused:!0};case"continue":return{...e,isPaused:!1};case"pending":return{...e,context:t.context,data:void 0,failureCount:0,failureReason:null,error:null,isPaused:t.isPaused,status:"pending",variables:t.variables,submittedAt:Date.now()};case"success":return{...e,data:t.data,failureCount:0,failureReason:null,error:null,status:"success",isPaused:!1};case"error":return{...e,data:void 0,error:t.error,failureCount:e.failureCount+1,failureReason:t.error,isPaused:!1,status:"error"}}})(this.state),s.Vr.batch(()=>{this.#e.forEach(e=>{e.onMutationUpdate(t)}),this.#r.notify({mutation:this,type:"updated",action:t})})}};function a(){return{context:void 0,data:void 0,error:null,failureCount:0,failureReason:null,isPaused:!1,status:"idle",variables:void 0,submittedAt:0}}},20367:function(t,e,r){r.d(e,{D:function(){return c}});var s=r(35106),i=r(98091),n=r(11430),o=r(12835),a=r(80375),u=class extends o.l{#t;#n=void 0;#o;#a;constructor(t,e){super(),this.#t=t,this.setOptions(e),this.bindMethods(),this.#u()}bindMethods(){this.mutate=this.mutate.bind(this),this.reset=this.reset.bind(this)}setOptions(t){let e=this.options;this.options=this.#t.defaultMutationOptions(t),(0,a.VS)(this.options,e)||this.#t.getMutationCache().notify({type:"observerOptionsUpdated",mutation:this.#o,observer:this}),e?.mutationKey&&this.options.mutationKey&&(0,a.Ym)(e.mutationKey)!==(0,a.Ym)(this.options.mutationKey)?this.reset():this.#o?.state.status==="pending"&&this.#o.setOptions(this.options)}onUnsubscribe(){this.hasListeners()||this.#o?.removeObserver(this)}onMutationUpdate(t){this.#u(),this.#l(t)}getCurrentResult(){return this.#n}reset(){this.#o?.removeObserver(this),this.#o=void 0,this.#u(),this.#l()}mutate(t,e){return this.#a=e,this.#o?.removeObserver(this),this.#o=this.#t.getMutationCache().build(this.#t,this.options),this.#o.addObserver(this),this.#o.execute(t)}#u(){let t=this.#o?.state??(0,i.R)();this.#n={...t,isPending:"pending"===t.status,isSuccess:"success"===t.status,isError:"error"===t.status,isIdle:"idle"===t.status,mutate:this.mutate,reset:this.reset}}#l(t){n.Vr.batch(()=>{if(this.#a&&this.hasListeners()){let e=this.#n.variables,r=this.#n.context,s={client:this.#t,meta:this.options.meta,mutationKey:this.options.mutationKey};if(t?.type==="success"){try{this.#a.onSuccess?.(t.data,e,r,s)}catch(t){Promise.reject(t)}try{this.#a.onSettled?.(t.data,null,e,r,s)}catch(t){Promise.reject(t)}}else if(t?.type==="error"){try{this.#a.onError?.(t.error,e,r,s)}catch(t){Promise.reject(t)}try{this.#a.onSettled?.(void 0,t.error,e,r,s)}catch(t){Promise.reject(t)}}}this.listeners.forEach(t=>{t(this.#n)})})}},l=r(58919);function c(t,e){let r=(0,l.NL)(e),[i]=s.useState(()=>new u(r,t));s.useEffect(()=>{i.setOptions(t)},[i,t]);let o=s.useSyncExternalStore(s.useCallback(t=>i.subscribe(n.Vr.batchCalls(t)),[i]),()=>i.getCurrentResult(),()=>i.getCurrentResult()),c=s.useCallback((t,e)=>{i.mutate(t,e).catch(a.ZT)},[i]);if(o.error&&(0,a.L3)(i.options.throwOnError,[o.error]))throw o.error;return{...o,mutate:c,mutateAsync:o.mutate}}}}]);
@@ -1 +1 @@
1
- "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9949],{25169:function(e,t,r){var i=r(61626),n=r(94655);t.Z=(0,i.Z)((0,n.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group")},78319:function(e,t,r){var i=r(61626),n=r(94655);t.Z=(0,i.Z)((0,n.jsx)("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"}),"Logout")},41094:function(e,t,r){var i=r(61626),n=r(94655);t.Z=(0,i.Z)((0,n.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},554:function(e,t,r){var i=r(61626),n=r(94655);t.Z=(0,i.Z)((0,n.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},36848:function(e,t,r){var i=r(61626),n=r(94655);t.Z=(0,i.Z)((0,n.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff")},67337:function(e,t,r){r.d(t,{Z:function(){return y}});var i=r(32324),n=r(81500),o=r(35106),a=r(70316),l=r(9049),c=r(65951),s=r(6014),d=r(54569),u=r(48442),p=r(8557),h=r(94655);let m=["className","component","disableGutters","fixed","maxWidth","classes"],v=(0,p.Z)(),f=(0,u.Z)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,s.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),g=e=>(0,d.Z)({props:e,name:"MuiContainer",defaultTheme:v}),x=(e,t)=>{let{classes:r,fixed:i,disableGutters:n,maxWidth:o}=e,a={root:["root",o&&`maxWidth${(0,s.Z)(String(o))}`,i&&"fixed",n&&"disableGutters"]};return(0,c.Z)(a,e=>(0,l.ZP)(t,e),r)};var b=r(38762),Z=r(34519),w=r(28057),y=function(e={}){let{createStyledComponent:t=f,useThemeProps:r=g,componentName:l="MuiContainer"}=e,c=t(({theme:e,ownerState:t})=>(0,n.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,r)=>{let i=e.breakpoints.values[r];return 0!==i&&(t[e.breakpoints.up(r)]={maxWidth:`${i}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>(0,n.Z)({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}));return o.forwardRef(function(e,t){let o=r(e),{className:s,component:d="div",disableGutters:u=!1,fixed:p=!1,maxWidth:v="lg"}=o,f=(0,i.Z)(o,m),g=(0,n.Z)({},o,{component:d,disableGutters:u,fixed:p,maxWidth:v}),b=x(g,l);return(0,h.jsx)(c,(0,n.Z)({as:d,ownerState:g,className:(0,a.Z)(b.root,s),ref:t},f))})}({createStyledComponent:(0,Z.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["maxWidth".concat((0,b.Z)(String(r.maxWidth)))],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,w.i)({props:e,name:"MuiContainer"})})},69123:function(e,t,r){var i=r(32324),n=r(81500),o=r(35106),a=r(70316),l=r(65951),c=r(64577),s=r(34519),d=r(28057),u=r(16945),p=r(94655);let h=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],m=e=>{let{absolute:t,children:r,classes:i,flexItem:n,light:o,orientation:a,textAlign:c,variant:s}=e;return(0,l.Z)({root:["root",t&&"absolute",s,o&&"light","vertical"===a&&"vertical",n&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===c&&"vertical"!==a&&"textAlignRight","left"===c&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},u.V,i)},v=(0,s.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})(e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},r.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},r.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,c.Fq)(t.palette.divider,.08)},"inset"===r.variant&&{marginLeft:72},"middle"===r.variant&&"horizontal"===r.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===r.variant&&"vertical"===r.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===r.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},r.flexItem&&{alignSelf:"stretch",height:"auto"})},e=>{let{ownerState:t}=e;return(0,n.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})},e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({},r.children&&"vertical"!==r.orientation&&{"&::before, &::after":{width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider),borderTopStyle:"inherit"}})},e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({},r.children&&"vertical"===r.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:"thin solid ".concat((t.vars||t).palette.divider),borderLeftStyle:"inherit"}})},e=>{let{ownerState:t}=e;return(0,n.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})}),f=(0,s.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})(e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===r.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})}),g=o.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiDivider"}),{absolute:o=!1,children:l,className:c,component:s=l?"div":"hr",flexItem:u=!1,light:g=!1,orientation:x="horizontal",role:b="hr"!==s?"separator":void 0,textAlign:Z="center",variant:w="fullWidth"}=r,y=(0,i.Z)(r,h),S=(0,n.Z)({},r,{absolute:o,component:s,flexItem:u,light:g,orientation:x,role:b,textAlign:Z,variant:w}),k=m(S);return(0,p.jsx)(v,(0,n.Z)({as:s,className:(0,a.Z)(k.root,c),role:b,ref:t,ownerState:S},y,{children:l?(0,p.jsx)(f,{className:k.wrapper,ownerState:S,children:l}):null}))});g.muiSkipListHighlight=!0,t.Z=g},41261:function(e,t,r){r.d(t,{Z:function(){return W}});var i=r(32324),n=r(81500),o=r(35106),a=r(70316),l=r(65951),c=r(38762),s=r(34519),d=r(28057),u=r(22125),p=r(38481),h=r(31317),m=r(11379),v=r(9049);function f(e){return(0,v.ZP)("MuiLink",e)}let g=(0,m.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var x=r(20219),b=r(64577);let Z={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},w=e=>Z[e]||e;var y=e=>{let{theme:t,ownerState:r}=e,i=w(r.color),n=(0,x.DW)(t,"palette.".concat(i),!1)||r.color,o=(0,x.DW)(t,"palette.".concat(i,"Channel"));return"vars"in t&&o?"rgba(".concat(o," / 0.4)"):(0,b.Fq)(n,.4)},S=r(94655);let k=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],C=e=>{let{classes:t,component:r,focusVisible:i,underline:n}=e,o={root:["root","underline".concat((0,c.Z)(n)),"button"===r&&"button",i&&"focusVisible"]};return(0,l.Z)(o,f,t)},M=(0,s.ZP)(h.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["underline".concat((0,c.Z)(r.underline))],"button"===r.component&&t.button]}})(e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({},"none"===r.underline&&{textDecoration:"none"},"hover"===r.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===r.underline&&(0,n.Z)({textDecoration:"underline"},"inherit"!==r.color&&{textDecorationColor:y({theme:t,ownerState:r})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===r.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(g.focusVisible)]:{outline:"auto"}})});var W=o.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiLink"}),{className:l,color:c="primary",component:s="a",onBlur:h,onFocus:m,TypographyClasses:v,underline:f="always",variant:g="inherit",sx:x}=r,b=(0,i.Z)(r,k),{isFocusVisibleRef:w,onBlur:y,onFocus:W,ref:R}=(0,u.Z)(),[L,A]=o.useState(!1),I=(0,p.Z)(t,R),V=(0,n.Z)({},r,{color:c,component:s,focusVisible:L,underline:f,variant:g}),j=C(V);return(0,S.jsx)(M,(0,n.Z)({color:c,className:(0,a.Z)(j.root,l),classes:v,component:s,onBlur:e=>{y(e),!1===w.current&&A(!1),h&&h(e)},onFocus:e=>{W(e),!0===w.current&&A(!0),m&&m(e)},ref:I,ownerState:V,variant:g,sx:[...Object.keys(Z).includes(c)?[]:[{color:c}],...Array.isArray(x)?x:[x]]},b))})},17820:function(e,t,r){var i=r(32324),n=r(81500),o=r(35106),a=r(70316),l=r(65951),c=r(34519),s=r(28057),d=r(33326),u=r(75084),p=r(94655);let h=["className"],m=e=>{let{alignItems:t,classes:r}=e;return(0,l.Z)({root:["root","flex-start"===t&&"alignItemsFlexStart"]},d.f,r)},v=(0,c.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})(e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===r.alignItems&&{marginTop:8})}),f=o.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiListItemIcon"}),{className:l}=r,c=(0,i.Z)(r,h),d=o.useContext(u.Z),f=(0,n.Z)({},r,{alignItems:d.alignItems}),g=m(f);return(0,p.jsx)(v,(0,n.Z)({className:(0,a.Z)(g.root,l),ownerState:f,ref:t},c))});t.Z=f}}]);
1
+ "use strict";(self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[9949],{25169:function(e,t,r){var i=r(61626),n=r(94655);t.Z=(0,i.Z)((0,n.jsx)("path",{d:"M16 11c1.66 0 2.99-1.34 2.99-3S17.66 5 16 5c-1.66 0-3 1.34-3 3s1.34 3 3 3m-8 0c1.66 0 2.99-1.34 2.99-3S9.66 5 8 5C6.34 5 5 6.34 5 8s1.34 3 3 3m0 2c-2.33 0-7 1.17-7 3.5V19h14v-2.5c0-2.33-4.67-3.5-7-3.5m8 0c-.29 0-.62.02-.97.05 1.16.84 1.97 1.97 1.97 3.45V19h6v-2.5c0-2.33-4.67-3.5-7-3.5"}),"Group")},78319:function(e,t,r){var i=r(61626),n=r(94655);t.Z=(0,i.Z)((0,n.jsx)("path",{d:"m17 7-1.41 1.41L18.17 11H8v2h10.17l-2.58 2.58L17 17l5-5zM4 5h8V3H4c-1.1 0-2 .9-2 2v14c0 1.1.9 2 2 2h8v-2H4z"}),"Logout")},41094:function(e,t,r){var i=r(61626),n=r(94655);t.Z=(0,i.Z)((0,n.jsx)("path",{d:"M19.14 12.94c.04-.3.06-.61.06-.94 0-.32-.02-.64-.07-.94l2.03-1.58c.18-.14.23-.41.12-.61l-1.92-3.32c-.12-.22-.37-.29-.59-.22l-2.39.96c-.5-.38-1.03-.7-1.62-.94l-.36-2.54c-.04-.24-.24-.41-.48-.41h-3.84c-.24 0-.43.17-.47.41l-.36 2.54c-.59.24-1.13.57-1.62.94l-2.39-.96c-.22-.08-.47 0-.59.22L2.74 8.87c-.12.21-.08.47.12.61l2.03 1.58c-.05.3-.09.63-.09.94s.02.64.07.94l-2.03 1.58c-.18.14-.23.41-.12.61l1.92 3.32c.12.22.37.29.59.22l2.39-.96c.5.38 1.03.7 1.62.94l.36 2.54c.05.24.24.41.48.41h3.84c.24 0 .44-.17.47-.41l.36-2.54c.59-.24 1.13-.56 1.62-.94l2.39.96c.22.08.47 0 .59-.22l1.92-3.32c.12-.22.07-.47-.12-.61zM12 15.6c-1.98 0-3.6-1.62-3.6-3.6s1.62-3.6 3.6-3.6 3.6 1.62 3.6 3.6-1.62 3.6-3.6 3.6"}),"Settings")},554:function(e,t,r){var i=r(61626),n=r(94655);t.Z=(0,i.Z)((0,n.jsx)("path",{d:"M12 4.5C7 4.5 2.73 7.61 1 12c1.73 4.39 6 7.5 11 7.5s9.27-3.11 11-7.5c-1.73-4.39-6-7.5-11-7.5M12 17c-2.76 0-5-2.24-5-5s2.24-5 5-5 5 2.24 5 5-2.24 5-5 5m0-8c-1.66 0-3 1.34-3 3s1.34 3 3 3 3-1.34 3-3-1.34-3-3-3"}),"Visibility")},36848:function(e,t,r){var i=r(61626),n=r(94655);t.Z=(0,i.Z)((0,n.jsx)("path",{d:"M12 7c2.76 0 5 2.24 5 5 0 .65-.13 1.26-.36 1.83l2.92 2.92c1.51-1.26 2.7-2.89 3.43-4.75-1.73-4.39-6-7.5-11-7.5-1.4 0-2.74.25-3.98.7l2.16 2.16C10.74 7.13 11.35 7 12 7M2 4.27l2.28 2.28.46.46C3.08 8.3 1.78 10.02 1 12c1.73 4.39 6 7.5 11 7.5 1.55 0 3.03-.3 4.38-.84l.42.42L19.73 22 21 20.73 3.27 3zM7.53 9.8l1.55 1.55c-.05.21-.08.43-.08.65 0 1.66 1.34 3 3 3 .22 0 .44-.03.65-.08l1.55 1.55c-.67.33-1.41.53-2.2.53-2.76 0-5-2.24-5-5 0-.79.2-1.53.53-2.2m4.31-.78 3.15 3.15.02-.16c0-1.66-1.34-3-3-3z"}),"VisibilityOff")},67337:function(e,t,r){r.d(t,{Z:function(){return y}});var i=r(32324),n=r(81500),o=r(35106),a=r(70316),l=r(9049),c=r(65951),s=r(6014),d=r(14189),u=r(48442),p=r(8557),h=r(94655);let m=["className","component","disableGutters","fixed","maxWidth","classes"],v=(0,p.Z)(),f=(0,u.Z)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t[`maxWidth${(0,s.Z)(String(r.maxWidth))}`],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),g=e=>(0,d.Z)({props:e,name:"MuiContainer",defaultTheme:v}),x=(e,t)=>{let{classes:r,fixed:i,disableGutters:n,maxWidth:o}=e,a={root:["root",o&&`maxWidth${(0,s.Z)(String(o))}`,i&&"fixed",n&&"disableGutters"]};return(0,c.Z)(a,e=>(0,l.ZP)(t,e),r)};var b=r(38762),Z=r(34519),w=r(28057),y=function(e={}){let{createStyledComponent:t=f,useThemeProps:r=g,componentName:l="MuiContainer"}=e,c=t(({theme:e,ownerState:t})=>(0,n.Z)({width:"100%",marginLeft:"auto",boxSizing:"border-box",marginRight:"auto",display:"block"},!t.disableGutters&&{paddingLeft:e.spacing(2),paddingRight:e.spacing(2),[e.breakpoints.up("sm")]:{paddingLeft:e.spacing(3),paddingRight:e.spacing(3)}}),({theme:e,ownerState:t})=>t.fixed&&Object.keys(e.breakpoints.values).reduce((t,r)=>{let i=e.breakpoints.values[r];return 0!==i&&(t[e.breakpoints.up(r)]={maxWidth:`${i}${e.breakpoints.unit}`}),t},{}),({theme:e,ownerState:t})=>(0,n.Z)({},"xs"===t.maxWidth&&{[e.breakpoints.up("xs")]:{maxWidth:Math.max(e.breakpoints.values.xs,444)}},t.maxWidth&&"xs"!==t.maxWidth&&{[e.breakpoints.up(t.maxWidth)]:{maxWidth:`${e.breakpoints.values[t.maxWidth]}${e.breakpoints.unit}`}}));return o.forwardRef(function(e,t){let o=r(e),{className:s,component:d="div",disableGutters:u=!1,fixed:p=!1,maxWidth:v="lg"}=o,f=(0,i.Z)(o,m),g=(0,n.Z)({},o,{component:d,disableGutters:u,fixed:p,maxWidth:v}),b=x(g,l);return(0,h.jsx)(c,(0,n.Z)({as:d,ownerState:g,className:(0,a.Z)(b.root,s),ref:t},f))})}({createStyledComponent:(0,Z.ZP)("div",{name:"MuiContainer",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["maxWidth".concat((0,b.Z)(String(r.maxWidth)))],r.fixed&&t.fixed,r.disableGutters&&t.disableGutters]}}),useThemeProps:e=>(0,w.i)({props:e,name:"MuiContainer"})})},69123:function(e,t,r){var i=r(32324),n=r(81500),o=r(35106),a=r(70316),l=r(65951),c=r(64577),s=r(34519),d=r(28057),u=r(16945),p=r(94655);let h=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],m=e=>{let{absolute:t,children:r,classes:i,flexItem:n,light:o,orientation:a,textAlign:c,variant:s}=e;return(0,l.Z)({root:["root",t&&"absolute",s,o&&"light","vertical"===a&&"vertical",n&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===c&&"vertical"!==a&&"textAlignRight","left"===c&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},u.V,i)},v=(0,s.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})(e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},r.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},r.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,c.Fq)(t.palette.divider,.08)},"inset"===r.variant&&{marginLeft:72},"middle"===r.variant&&"horizontal"===r.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===r.variant&&"vertical"===r.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===r.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},r.flexItem&&{alignSelf:"stretch",height:"auto"})},e=>{let{ownerState:t}=e;return(0,n.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})},e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({},r.children&&"vertical"!==r.orientation&&{"&::before, &::after":{width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider),borderTopStyle:"inherit"}})},e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({},r.children&&"vertical"===r.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:"thin solid ".concat((t.vars||t).palette.divider),borderLeftStyle:"inherit"}})},e=>{let{ownerState:t}=e;return(0,n.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})}),f=(0,s.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})(e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===r.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})}),g=o.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiDivider"}),{absolute:o=!1,children:l,className:c,component:s=l?"div":"hr",flexItem:u=!1,light:g=!1,orientation:x="horizontal",role:b="hr"!==s?"separator":void 0,textAlign:Z="center",variant:w="fullWidth"}=r,y=(0,i.Z)(r,h),S=(0,n.Z)({},r,{absolute:o,component:s,flexItem:u,light:g,orientation:x,role:b,textAlign:Z,variant:w}),k=m(S);return(0,p.jsx)(v,(0,n.Z)({as:s,className:(0,a.Z)(k.root,c),role:b,ref:t,ownerState:S},y,{children:l?(0,p.jsx)(f,{className:k.wrapper,ownerState:S,children:l}):null}))});g.muiSkipListHighlight=!0,t.Z=g},41261:function(e,t,r){r.d(t,{Z:function(){return W}});var i=r(32324),n=r(81500),o=r(35106),a=r(70316),l=r(65951),c=r(38762),s=r(34519),d=r(28057),u=r(22125),p=r(38481),h=r(31317),m=r(11379),v=r(9049);function f(e){return(0,v.ZP)("MuiLink",e)}let g=(0,m.Z)("MuiLink",["root","underlineNone","underlineHover","underlineAlways","button","focusVisible"]);var x=r(20219),b=r(64577);let Z={primary:"primary.main",textPrimary:"text.primary",secondary:"secondary.main",textSecondary:"text.secondary",error:"error.main"},w=e=>Z[e]||e;var y=e=>{let{theme:t,ownerState:r}=e,i=w(r.color),n=(0,x.DW)(t,"palette.".concat(i),!1)||r.color,o=(0,x.DW)(t,"palette.".concat(i,"Channel"));return"vars"in t&&o?"rgba(".concat(o," / 0.4)"):(0,b.Fq)(n,.4)},S=r(94655);let k=["className","color","component","onBlur","onFocus","TypographyClasses","underline","variant","sx"],C=e=>{let{classes:t,component:r,focusVisible:i,underline:n}=e,o={root:["root","underline".concat((0,c.Z)(n)),"button"===r&&"button",i&&"focusVisible"]};return(0,l.Z)(o,f,t)},M=(0,s.ZP)(h.Z,{name:"MuiLink",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,t["underline".concat((0,c.Z)(r.underline))],"button"===r.component&&t.button]}})(e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({},"none"===r.underline&&{textDecoration:"none"},"hover"===r.underline&&{textDecoration:"none","&:hover":{textDecoration:"underline"}},"always"===r.underline&&(0,n.Z)({textDecoration:"underline"},"inherit"!==r.color&&{textDecorationColor:y({theme:t,ownerState:r})},{"&:hover":{textDecorationColor:"inherit"}}),"button"===r.component&&{position:"relative",WebkitTapHighlightColor:"transparent",backgroundColor:"transparent",outline:0,border:0,margin:0,borderRadius:0,padding:0,cursor:"pointer",userSelect:"none",verticalAlign:"middle",MozAppearance:"none",WebkitAppearance:"none","&::-moz-focus-inner":{borderStyle:"none"},["&.".concat(g.focusVisible)]:{outline:"auto"}})});var W=o.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiLink"}),{className:l,color:c="primary",component:s="a",onBlur:h,onFocus:m,TypographyClasses:v,underline:f="always",variant:g="inherit",sx:x}=r,b=(0,i.Z)(r,k),{isFocusVisibleRef:w,onBlur:y,onFocus:W,ref:R}=(0,u.Z)(),[L,A]=o.useState(!1),I=(0,p.Z)(t,R),V=(0,n.Z)({},r,{color:c,component:s,focusVisible:L,underline:f,variant:g}),j=C(V);return(0,S.jsx)(M,(0,n.Z)({color:c,className:(0,a.Z)(j.root,l),classes:v,component:s,onBlur:e=>{y(e),!1===w.current&&A(!1),h&&h(e)},onFocus:e=>{W(e),!0===w.current&&A(!0),m&&m(e)},ref:I,ownerState:V,variant:g,sx:[...Object.keys(Z).includes(c)?[]:[{color:c}],...Array.isArray(x)?x:[x]]},b))})},17820:function(e,t,r){var i=r(32324),n=r(81500),o=r(35106),a=r(70316),l=r(65951),c=r(34519),s=r(28057),d=r(33326),u=r(75084),p=r(94655);let h=["className"],m=e=>{let{alignItems:t,classes:r}=e;return(0,l.Z)({root:["root","flex-start"===t&&"alignItemsFlexStart"]},d.f,r)},v=(0,c.ZP)("div",{name:"MuiListItemIcon",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,"flex-start"===r.alignItems&&t.alignItemsFlexStart]}})(e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({minWidth:56,color:(t.vars||t).palette.action.active,flexShrink:0,display:"inline-flex"},"flex-start"===r.alignItems&&{marginTop:8})}),f=o.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiListItemIcon"}),{className:l}=r,c=(0,i.Z)(r,h),d=o.useContext(u.Z),f=(0,n.Z)({},r,{alignItems:d.alignItems}),g=m(f);return(0,p.jsx)(v,(0,n.Z)({className:(0,a.Z)(g.root,l),ownerState:f,ref:t},c))});t.Z=f}}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[5931],{66289:function(e,t,r){Promise.resolve().then(r.bind(r,12256))},71185:function(e,t,r){"use strict";var i=r(8091);t.Z=void 0;var n=i(r(66758)),l=r(94655);t.Z=(0,n.default)((0,l.jsx)("path",{d:"M19 6.41 17.59 5 12 10.59 6.41 5 5 6.41 10.59 12 5 17.59 6.41 19 12 13.41 17.59 19 19 17.59 13.41 12z"}),"Close")},69123:function(e,t,r){"use strict";var i=r(32324),n=r(81500),l=r(35106),a=r(70316),o=r(65951),s=r(64577),c=r(34519),d=r(28057),h=r(16945),u=r(94655);let x=["absolute","children","className","component","flexItem","light","orientation","role","textAlign","variant"],m=e=>{let{absolute:t,children:r,classes:i,flexItem:n,light:l,orientation:a,textAlign:s,variant:c}=e;return(0,o.Z)({root:["root",t&&"absolute",c,l&&"light","vertical"===a&&"vertical",n&&"flexItem",r&&"withChildren",r&&"vertical"===a&&"withChildrenVertical","right"===s&&"vertical"!==a&&"textAlignRight","left"===s&&"vertical"!==a&&"textAlignLeft"],wrapper:["wrapper","vertical"===a&&"wrapperVertical"]},h.V,i)},v=(0,c.ZP)("div",{name:"MuiDivider",slot:"Root",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.root,r.absolute&&t.absolute,t[r.variant],r.light&&t.light,"vertical"===r.orientation&&t.vertical,r.flexItem&&t.flexItem,r.children&&t.withChildren,r.children&&"vertical"===r.orientation&&t.withChildrenVertical,"right"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignRight,"left"===r.textAlign&&"vertical"!==r.orientation&&t.textAlignLeft]}})(e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({margin:0,flexShrink:0,borderWidth:0,borderStyle:"solid",borderColor:(t.vars||t).palette.divider,borderBottomWidth:"thin"},r.absolute&&{position:"absolute",bottom:0,left:0,width:"100%"},r.light&&{borderColor:t.vars?"rgba(".concat(t.vars.palette.dividerChannel," / 0.08)"):(0,s.Fq)(t.palette.divider,.08)},"inset"===r.variant&&{marginLeft:72},"middle"===r.variant&&"horizontal"===r.orientation&&{marginLeft:t.spacing(2),marginRight:t.spacing(2)},"middle"===r.variant&&"vertical"===r.orientation&&{marginTop:t.spacing(1),marginBottom:t.spacing(1)},"vertical"===r.orientation&&{height:"100%",borderBottomWidth:0,borderRightWidth:"thin"},r.flexItem&&{alignSelf:"stretch",height:"auto"})},e=>{let{ownerState:t}=e;return(0,n.Z)({},t.children&&{display:"flex",whiteSpace:"nowrap",textAlign:"center",border:0,borderTopStyle:"solid",borderLeftStyle:"solid","&::before, &::after":{content:'""',alignSelf:"center"}})},e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({},r.children&&"vertical"!==r.orientation&&{"&::before, &::after":{width:"100%",borderTop:"thin solid ".concat((t.vars||t).palette.divider),borderTopStyle:"inherit"}})},e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({},r.children&&"vertical"===r.orientation&&{flexDirection:"column","&::before, &::after":{height:"100%",borderLeft:"thin solid ".concat((t.vars||t).palette.divider),borderLeftStyle:"inherit"}})},e=>{let{ownerState:t}=e;return(0,n.Z)({},"right"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"90%"},"&::after":{width:"10%"}},"left"===t.textAlign&&"vertical"!==t.orientation&&{"&::before":{width:"10%"},"&::after":{width:"90%"}})}),f=(0,c.ZP)("span",{name:"MuiDivider",slot:"Wrapper",overridesResolver:(e,t)=>{let{ownerState:r}=e;return[t.wrapper,"vertical"===r.orientation&&t.wrapperVertical]}})(e=>{let{theme:t,ownerState:r}=e;return(0,n.Z)({display:"inline-block",paddingLeft:"calc(".concat(t.spacing(1)," * 1.2)"),paddingRight:"calc(".concat(t.spacing(1)," * 1.2)")},"vertical"===r.orientation&&{paddingTop:"calc(".concat(t.spacing(1)," * 1.2)"),paddingBottom:"calc(".concat(t.spacing(1)," * 1.2)")})}),Z=l.forwardRef(function(e,t){let r=(0,d.i)({props:e,name:"MuiDivider"}),{absolute:l=!1,children:o,className:s,component:c=o?"div":"hr",flexItem:h=!1,light:Z=!1,orientation:p="horizontal",role:g="hr"!==c?"separator":void 0,textAlign:j="center",variant:b="fullWidth"}=r,y=(0,i.Z)(r,x),w=(0,n.Z)({},r,{absolute:l,component:c,flexItem:h,light:Z,orientation:p,role:g,textAlign:j,variant:b}),C=m(w);return(0,u.jsx)(v,(0,n.Z)({as:c,className:(0,a.Z)(C.root,s),role:g,ref:t,ownerState:w},y,{children:o?(0,u.jsx)(f,{className:C.wrapper,ownerState:w,children:o}):null}))});Z.muiSkipListHighlight=!0,t.Z=Z},16945:function(e,t,r){"use strict";r.d(t,{V:function(){return l}});var i=r(11379),n=r(9049);function l(e){return(0,n.ZP)("MuiDivider",e)}let a=(0,i.Z)("MuiDivider",["root","absolute","fullWidth","inset","middle","flexItem","light","vertical","withChildren","withChildrenVertical","textAlignRight","textAlignLeft","wrapper","wrapperVertical"]);t.Z=a},53281:function(e,t,r){"use strict";r.d(t,{Z:function(){return Z}});var i=r(81500),n=r(32324),l=r(35106),a=r(70316),o=r(65951),s=r(28057),c=r(34519),d=r(11379),h=r(9049);function u(e){return(0,h.ZP)("MuiTableContainer",e)}(0,d.Z)("MuiTableContainer",["root"]);var x=r(94655);let m=["className","component"],v=e=>{let{classes:t}=e;return(0,o.Z)({root:["root"]},u,t)},f=(0,c.ZP)("div",{name:"MuiTableContainer",slot:"Root",overridesResolver:(e,t)=>t.root})({width:"100%",overflowX:"auto"});var Z=l.forwardRef(function(e,t){let r=(0,s.i)({props:e,name:"MuiTableContainer"}),{className:l,component:o="div"}=r,c=(0,n.Z)(r,m),d=(0,i.Z)({},r,{component:o}),h=v(d);return(0,x.jsx)(f,(0,i.Z)({ref:t,as:o,className:(0,a.Z)(h.root,l),ownerState:d},c))})},12256:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return R}});var i=r(94655),n=r(35106),l=r(7281),a=r(93017),o=r(81071),s=r(31317),c=r(5632),d=r(6986),h=r(53281),u=r(69899),x=r(21138),m=r(11254),v=r(70366),f=r(47001),Z=r(84811),p=r(25333);function g(e){let{users:t,onUserClick:r}=e;return 0===t.length?(0,i.jsx)(l.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"200px",p:4},children:(0,i.jsx)(s.Z,{variant:"body1",color:"text.secondary",children:"No users found"})}):(0,i.jsx)(h.Z,{component:u.Z,sx:{overflowX:"auto"},children:(0,i.jsxs)(x.Z,{children:[(0,i.jsx)(m.Z,{children:(0,i.jsxs)(v.Z,{children:[(0,i.jsx)(f.Z,{children:"Email"}),(0,i.jsx)(f.Z,{children:"Name"}),(0,i.jsx)(f.Z,{children:"Role"}),(0,i.jsx)(f.Z,{children:"Status"}),(0,i.jsx)(f.Z,{children:"Created At"})]})}),(0,i.jsx)(Z.Z,{children:t.map(e=>(0,i.jsxs)(v.Z,{hover:!0,onClick:()=>r(e),sx:{cursor:"pointer"},children:[(0,i.jsx)(f.Z,{children:e.email}),(0,i.jsx)(f.Z,{children:e.name||"N/A"}),(0,i.jsx)(f.Z,{children:"admin"===e.role?(0,i.jsx)(p.Z,{label:"Admin",color:"primary",size:"small"}):(0,i.jsx)(p.Z,{label:"User",size:"small"})}),(0,i.jsx)(f.Z,{children:e.banned?(0,i.jsx)(p.Z,{label:"Banned",color:"error",size:"small"}):(0,i.jsx)(p.Z,{label:"Active",color:"success",size:"small"})}),(0,i.jsx)(f.Z,{children:new Date(e.createdAt).toLocaleString("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1})})]},e.id))})]})})}var j=r(99770),b=r(62508),y=r(79983),w=r(5682),C=r(69123),A=r(71185);function S(e){let{user:t,open:r,onClose:n}=e;return(0,i.jsxs)(j.Z,{open:r,onClose:n,maxWidth:"sm",fullWidth:!0,children:[(0,i.jsx)(b.Z,{children:(0,i.jsxs)(l.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between"},children:[(0,i.jsx)(s.Z,{variant:"h6",children:"User Details"}),(0,i.jsx)(y.Z,{onClick:n,size:"small","aria-label":"close",children:(0,i.jsx)(A.Z,{})})]})}),(0,i.jsx)(w.Z,{children:(0,i.jsxs)(l.Z,{sx:{display:"flex",flexDirection:"column",gap:2},children:[(0,i.jsxs)(l.Z,{children:[(0,i.jsx)(s.Z,{variant:"caption",color:"text.secondary",children:"Email"}),(0,i.jsx)(s.Z,{variant:"body1",children:t.email})]}),(0,i.jsxs)(l.Z,{children:[(0,i.jsx)(s.Z,{variant:"caption",color:"text.secondary",children:"Name"}),(0,i.jsx)(s.Z,{variant:"body1",children:t.name||"N/A"})]}),(0,i.jsxs)(l.Z,{children:[(0,i.jsx)(s.Z,{variant:"caption",color:"text.secondary",children:"Role"}),(0,i.jsx)(l.Z,{sx:{mt:.5},children:"admin"===t.role?(0,i.jsx)(p.Z,{label:"Admin",color:"primary",size:"small"}):(0,i.jsx)(p.Z,{label:"User",size:"small"})})]}),(0,i.jsxs)(l.Z,{children:[(0,i.jsx)(s.Z,{variant:"caption",color:"text.secondary",children:"Status"}),(0,i.jsx)(l.Z,{sx:{mt:.5},children:t.banned?(0,i.jsx)(p.Z,{label:"Banned",color:"error",size:"small"}):(0,i.jsx)(p.Z,{label:"Active",color:"success",size:"small"})})]}),(0,i.jsx)(C.Z,{}),(0,i.jsxs)(l.Z,{children:[(0,i.jsx)(s.Z,{variant:"caption",color:"text.secondary",children:"Created At"}),(0,i.jsx)(s.Z,{variant:"body2",children:new Date(t.createdAt).toLocaleString("en-US",{year:"numeric",month:"2-digit",day:"2-digit",hour:"2-digit",minute:"2-digit",hour12:!1})})]}),(0,i.jsxs)(l.Z,{children:[(0,i.jsx)(s.Z,{variant:"caption",color:"text.secondary",children:"User ID"}),(0,i.jsx)(s.Z,{variant:"body2",sx:{fontFamily:'"Roboto Mono", monospace',fontSize:"0.875rem"},children:t.id})]})]})})]})}function R(){let{data:e,isLoading:t,isError:r,error:h}=(0,c.a)({queryKey:["admin","users"],queryFn:async()=>{let{data:e,error:t}=await d.zB.listUsers({query:{}});if(t)throw Error(t.message||"Failed to fetch users");return(null==e?void 0:e.users)?e.users.map(e=>{var t,r,i;return{id:e.id,email:e.email,name:null!==(t=e.name)&&void 0!==t?t:null,role:null!==(r=e.role)&&void 0!==r?r:"user",banned:null!==(i=e.banned)&&void 0!==i&&i,createdAt:new Date(e.createdAt)}}):[]}}),[u,x]=(0,n.useState)(null);return t?(0,i.jsx)(l.Z,{sx:{display:"flex",justifyContent:"center",alignItems:"center",minHeight:"400px"},children:(0,i.jsx)(a.Z,{})}):r?(0,i.jsx)(l.Z,{sx:{p:3},children:(0,i.jsxs)(o.Z,{severity:"error",children:["Failed to load users. ",(null==h?void 0:h.message)||"Please try again later."]})}):(0,i.jsxs)(l.Z,{sx:{p:3},children:[(0,i.jsx)(s.Z,{variant:"h4",component:"h1",gutterBottom:!0,children:"User Management"}),(0,i.jsx)(g,{users:e||[],onUserClick:e=>{x(e)}}),u&&(0,i.jsx)(S,{user:u,open:!0,onClose:()=>{x(null)}})]})}},6986:function(e,t,r){"use strict";r.d(t,{Cp:function(){return u},Nq:function(){return h},cg:function(){return o},kP:function(){return d},w7:function(){return s},y1:function(){return c},zB:function(){return x}});var i=r(77054),n=r(61648),l=r(35016);let a=(0,i.X)({baseURL:l.env.NEXT_PUBLIC_BETTER_AUTH_URL||"",plugins:[(0,n.zB)()]}),{signIn:o,signOut:s,signUp:c,useSession:d,updateUser:h,changePassword:u}=a,x=a.admin}},function(e){e.O(0,[6812,9760,5004,1071,540,4416,2542,880,2844,3669,2757,1744],function(){return e(e.s=66289)}),_N_E=e.O()}]);
@@ -0,0 +1 @@
1
+ (self.webpackChunk_N_E=self.webpackChunk_N_E||[]).push([[2248],{12121:function(e,t,r){Promise.resolve().then(r.bind(r,64924))},64924:function(e,t,r){"use strict";r.r(t),r.d(t,{default:function(){return B}});var n=r(94655),s=r(69899),i=r(76492),a=r(7281),l=r(31317),o=r(84840),c=r(628),d=r(41565),x=r(10721),h=r(25065),u=r(91179),p=r(11767),m=r(53832),j=r(30164),f=r(92666),g=r(59104);function Z(e){let{title:t,value:r,icon:s,color:i="primary",description:o}=e,x={primary:"#1bd96a",success:"#22c55e",info:"#3b82f6",secondary:"#7c3aed"};return(0,n.jsx)(c.Z,{"data-testid":"stat-card",sx:{height:"100%",position:"relative",overflow:"hidden","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,height:"4px",background:x[i]}},children:(0,n.jsxs)(d.Z,{children:[(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[(0,n.jsx)(l.Z,{variant:"body2",color:"text.secondary",sx:{fontWeight:500},children:t}),s&&(0,n.jsx)(a.Z,{sx:{color:x[i],opacity:.8},children:s})]}),(0,n.jsx)(l.Z,{variant:"h3",component:"div",sx:{fontWeight:700,color:"text.primary",mb:o?1:0},children:r}),o&&(0,n.jsx)(l.Z,{variant:"caption",color:"text.secondary",children:o})]})})}var v=r(98406),y=r(93017),b=r(25333),w=r(46725),S=r(8690),C=r(31358),z=r(97511);function I(e){let{servers:t,statusMap:r={},isLoading:s,maxItems:i,showViewAll:o=!1,onServerClick:x}=e,h=(0,C.x)(),u=i?t.slice(0,i):t,p=e=>{x?x(e):h.push("/servers/".concat(e))},m=e=>{switch(e){case"running":return"success";case"stopped":case"exited":return"error";case"created":return"warning";default:return"default"}},j=e=>{switch(e){case"healthy":return"success";case"unhealthy":return"error";case"starting":return"warning";default:return"default"}};return s?(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(v.Z,{title:"Servers"}),(0,n.jsx)(d.Z,{children:(0,n.jsx)(a.Z,{sx:{display:"flex",justifyContent:"center",py:4},children:(0,n.jsx)(y.Z,{})})})]}):0===t.length?(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(v.Z,{title:"Servers"}),(0,n.jsx)(d.Z,{children:(0,n.jsx)(l.Z,{color:"text.secondary",align:"center",children:"No servers found. Create your first server to get started."})})]}):(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(v.Z,{title:"Servers",action:o&&t.length>(i||0)?(0,n.jsxs)(w.default,{href:"/servers",onClick:()=>(0,S.Av)(),style:{textDecoration:"none",color:"inherit",fontSize:"0.875rem"},children:["View All (",t.length,")"]}):null}),(0,n.jsx)(d.Z,{children:(0,n.jsx)(a.Z,{sx:{display:"flex",flexDirection:"column",gap:2},children:u.map(e=>{let t=r[e.name],s=(null==t?void 0:t.status)||e.status,i=(null==t?void 0:t.health)||e.health;return(0,n.jsx)(a.Z,{role:"button",onClick:()=>p(e.name),sx:{p:2,borderRadius:1,border:"1px solid",borderColor:"divider",cursor:"pointer",transition:"all 0.2s","&:hover":{borderColor:"primary.main",backgroundColor:"action.hover"}},children:(0,n.jsxs)(a.Z,{sx:{display:"flex",justifyContent:"space-between",alignItems:"center",flexWrap:"wrap",gap:1},children:[(0,n.jsxs)(a.Z,{sx:{minWidth:0,flex:1},children:[(0,n.jsx)(l.Z,{variant:"subtitle1",fontWeight:600,noWrap:!0,children:e.name}),(0,n.jsx)(z.h,{hostname:e.hostname,fontSize:12})]}),(0,n.jsxs)(a.Z,{sx:{display:"flex",gap:.5,flexShrink:0},children:[(0,n.jsx)(b.Z,{label:s,color:m(s),size:"small"}),"none"!==i&&(0,n.jsx)(b.Z,{label:i,color:j(i),size:"small",variant:"outlined"})]})]})},e.name)})})})]})}var k=r(35106),P=r(41261);function W(e){let{maxVersions:t=2,title:r="Recent Updates"}=e,[s,i]=(0,k.useState)([]),[o,h]=(0,k.useState)(!0),[u,p]=(0,k.useState)(null);return((0,k.useEffect)(()=>{(async function(){try{let e=await fetch("https://api.github.com/repos/smallmiro/minecraft-server-manager/contents/CHANGELOG.md",{headers:{Accept:"application/vnd.github.v3+json"}});if(!e.ok)throw Error("Failed to fetch changelog");let r=await e.json(),n=atob(r.content),s=function(e,t){let r=[],n=e.split("\n"),s=null,i="added";for(let e of n){let n=e.match(/^## \[([^\]]+)\] - (\d{4}-\d{2}-\d{2})/);if(n){if(s&&(r.push(s),r.length>=t))break;s={version:n[1],date:n[2],items:[]};continue}let a=e.match(/^### (Added|Fixed|Changed)/i);if(a){i=a[1].toLowerCase();continue}let l=e.match(/^- \*\*([^*]+)\*\*\s*[-–]?\s*(.*)$/);l&&s&&s.items.push({type:i,message:l[1].trim()})}return s&&r.length<t&&r.push(s),r}(n,t);i(s)}catch(e){p(e instanceof Error?e.message:"Unknown error")}finally{h(!1)}})()},[t]),o)?(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(v.Z,{title:r}),(0,n.jsxs)(d.Z,{children:[(0,n.jsx)(x.Z,{variant:"text",width:"60%",height:28}),(0,n.jsx)(x.Z,{variant:"text",width:"80%"}),(0,n.jsx)(x.Z,{variant:"text",width:"70%"}),(0,n.jsxs)(a.Z,{sx:{mt:2},children:[(0,n.jsx)(x.Z,{variant:"text",width:"60%",height:28}),(0,n.jsx)(x.Z,{variant:"text",width:"75%"})]})]})]}):u?(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(v.Z,{title:r}),(0,n.jsx)(d.Z,{children:(0,n.jsx)(l.Z,{color:"text.secondary",align:"center",children:"Unable to load updates"})})]}):(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(v.Z,{title:r,action:(0,n.jsx)(P.Z,{href:"https://github.com/smallmiro/minecraft-server-manager/blob/develop/CHANGELOG.md",target:"_blank",rel:"noopener",sx:{fontSize:13,mr:1},children:"View all"})}),(0,n.jsx)(d.Z,{sx:{pt:0},children:s.map((e,t)=>{let r=e.items.filter(e=>"added"===e.type),i=e.items.filter(e=>"fixed"===e.type),o=e.items.filter(e=>"changed"===e.type);return(0,n.jsxs)(a.Z,{sx:{mb:t<s.length-1?2.5:0,pb:t<s.length-1?2:0,borderBottom:t<s.length-1?"1px solid":"none",borderColor:"divider"},children:[(0,n.jsxs)(l.Z,{variant:"subtitle2",sx:{fontWeight:600,color:"primary.main",mb:1},children:["[",e.version,"] - ",e.date]}),r.length>0&&(0,n.jsxs)(a.Z,{sx:{mb:1},children:[(0,n.jsx)(b.Z,{label:"Added",size:"small",sx:{bgcolor:"success.main",color:"success.contrastText",fontSize:11,height:20,mb:.5}}),r.map((e,t)=>(0,n.jsxs)(l.Z,{variant:"body2",sx:{color:"text.secondary",pl:1},children:["• ",e.message]},t))]}),i.length>0&&(0,n.jsxs)(a.Z,{sx:{mb:1},children:[(0,n.jsx)(b.Z,{label:"Fixed",size:"small",sx:{bgcolor:"warning.main",color:"warning.contrastText",fontSize:11,height:20,mb:.5}}),i.map((e,t)=>(0,n.jsxs)(l.Z,{variant:"body2",sx:{color:"text.secondary",pl:1},children:["• ",e.message]},t))]}),o.length>0&&(0,n.jsxs)(a.Z,{children:[(0,n.jsx)(b.Z,{label:"Changed",size:"small",sx:{bgcolor:"info.main",color:"info.contrastText",fontSize:11,height:20,mb:.5}}),o.map((e,t)=>(0,n.jsxs)(l.Z,{variant:"body2",sx:{color:"text.secondary",pl:1},children:["• ",e.message]},t))]})]},e.version)})})]})}var F=r(30417),T=r(90158),A=r(58347),N=r(73424),q=r(95511),D=r(26577),L=r(56813),R=r(26892),E=r(84509);function O(e){var t;let{maxItems:r=5}=e,{data:s,isLoading:i,error:o}=(0,E.oL)(r),h=null!==(t=null==s?void 0:s.logs)&&void 0!==t?t:[];return(0,n.jsxs)(c.Z,{children:[(0,n.jsx)(v.Z,{title:"Recent Activity",action:(0,n.jsx)(F.Z,{component:w.default,href:"/audit-logs",size:"small",endIcon:(0,n.jsx)(D.Z,{}),sx:{textTransform:"none"},children:"View All"})}),(0,n.jsx)(d.Z,{sx:{pt:0},children:i?(0,n.jsx)(T.Z,{sx:{py:0},children:[...Array(r)].map((e,t)=>(0,n.jsx)(A.ZP,{sx:{px:0,py:1.5},children:(0,n.jsx)(N.Z,{primary:(0,n.jsxs)(a.Z,{sx:{display:"flex",gap:1},children:[(0,n.jsx)(x.Z,{variant:"rounded",width:60,height:24}),(0,n.jsx)(x.Z,{variant:"text",width:80}),(0,n.jsx)(x.Z,{variant:"text",width:60})]}),secondary:(0,n.jsx)(x.Z,{variant:"text",width:50})})},t))}):o?(0,n.jsx)(l.Z,{color:"text.secondary",align:"center",children:"Failed to load recent activity"}):0===h.length?(0,n.jsx)(l.Z,{color:"text.secondary",align:"center",sx:{py:2},children:"No recent activity"}):(0,n.jsx)(T.Z,{sx:{py:0},children:h.map(e=>{var t;return(0,n.jsx)(A.ZP,{sx:{px:0,py:1.5,"&:not(:last-child)":{borderBottom:"1px solid",borderColor:"divider"}},children:(0,n.jsx)(N.Z,{primary:(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",gap:1,flexWrap:"wrap"},children:[(0,n.jsx)(L.I,{action:e.action,size:"small"}),(0,n.jsx)(l.Z,{variant:"body2",sx:{fontWeight:500},children:e.targetName}),(0,n.jsxs)(l.Z,{variant:"body2",color:"text.secondary",children:["by ",e.actor.replace("api:","").replace("cli:","")]}),"failure"===e.status&&(0,n.jsx)(R.c,{status:e.status,size:"small"})]}),secondary:(0,n.jsx)(q.Z,{title:(t=e.timestamp,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(new Date(t))),arrow:!0,children:(0,n.jsx)(l.Z,{variant:"caption",component:"span",color:"text.disabled",children:function(e){let t=new Date,r=new Date(e),n=Math.floor((t.getTime()-r.getTime())/6e4),s=Math.floor(n/60);return n<1?"just now":n<60?"".concat(n,"m ago"):s<24?"".concat(s,"h ago"):"".concat(Math.floor(s/24),"d ago")}(e.timestamp)})})})},e.id)})})})]})}var K=r(84974),M=r(37228);function U(){let{data:e,isLoading:t}=(0,M.UW)();if(t)return(0,n.jsx)(c.Z,{children:(0,n.jsxs)(d.Z,{children:[(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,n.jsx)(x.Z,{variant:"circular",width:20,height:20}),(0,n.jsx)(x.Z,{variant:"text",width:120})]}),(0,n.jsx)(x.Z,{variant:"rounded",width:60,height:24})]}),(0,n.jsx)(x.Z,{variant:"text",width:"50%",height:32}),(0,n.jsx)(x.Z,{variant:"text",width:"70%"})]})});if(!(null==e?void 0:e.enabled))return(0,n.jsx)(c.Z,{children:(0,n.jsxs)(d.Z,{children:[(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,n.jsx)(K.Z,{sx:{fontSize:20,color:"text.secondary"}}),(0,n.jsx)(l.Z,{variant:"body2",fontWeight:500,color:"text.secondary",children:"External Access"})]}),(0,n.jsx)(b.Z,{label:"Not configured",size:"small",variant:"outlined"})]}),(0,n.jsx)(l.Z,{variant:"body2",color:"text.secondary",sx:{mb:2},children:"playit.gg is not configured"}),(0,n.jsx)(F.Z,{component:w.default,href:"/routing",size:"small",endIcon:(0,n.jsx)(D.Z,{}),sx:{fontSize:12},children:"Manage"})]})});let r=e.agentRunning&&"running"===e.containerStatus,s=e.servers.length,i=e.servers.filter(e=>e.playitDomain).length;return(0,n.jsx)(c.Z,{children:(0,n.jsxs)(d.Z,{children:[(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",gap:1},children:[(0,n.jsx)(K.Z,{sx:{fontSize:20,color:"primary.main"}}),(0,n.jsx)(l.Z,{variant:"body2",fontWeight:500,children:"External Access"})]}),(0,n.jsx)(b.Z,{label:r?"Running":"Stopped",size:"small",color:r?"success":"default",variant:"outlined"})]}),(0,n.jsxs)(l.Z,{variant:"h6",sx:{mb:.5},children:[i," / ",s," servers"]}),(0,n.jsx)(l.Z,{variant:"body2",color:"text.secondary",sx:{mb:2},children:"With external domains"}),(0,n.jsx)(F.Z,{component:w.default,href:"/routing",size:"small",endIcon:(0,n.jsx)(D.Z,{}),sx:{fontSize:12},children:"Manage"})]})})}function B(){let{data:e,isLoading:t}=(0,f.x$)(),{data:r,isLoading:v}=(0,f.Sr)(),{statusMap:y}=(0,g.d)(),b=t||v,w=(null==e?void 0:e.total)||0,S=(null==e?void 0:e.servers.filter(e=>{let t=y[e.name];return"running"===((null==t?void 0:t.status)||e.status)}).length)||0,C=(null==r?void 0:r.total)||0;return b?(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.Z,{elevation:0,sx:{mb:4,p:3,background:e=>"linear-gradient(135deg, ".concat((0,i.Fq)(e.palette.secondary.main,.1)," 0%, ").concat((0,i.Fq)(e.palette.primary.main,.1)," 100%)"),borderRadius:2,border:e=>"1px solid ".concat((0,i.Fq)(e.palette.secondary.main,.2))},children:(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",gap:2},children:[(0,n.jsx)(a.Z,{sx:{display:{xs:"none",sm:"flex"},alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:2,bgcolor:"primary.main",color:"primary.contrastText"},children:(0,n.jsx)(h.Z,{sx:{fontSize:32}})}),(0,n.jsxs)(a.Z,{children:[(0,n.jsx)(l.Z,{variant:"h4",component:"h1",fontWeight:"bold",sx:{fontSize:{xs:"1.5rem",sm:"2.125rem"}},children:"Dashboard"}),(0,n.jsx)(l.Z,{variant:"body1",color:"text.secondary",children:"Overview of your Minecraft server infrastructure"})]})]})}),(0,n.jsx)(o.ZP,{container:!0,spacing:3,sx:{mb:4},children:[0,1,2,3].map(e=>(0,n.jsx)(o.ZP,{item:!0,xs:12,sm:6,md:3,children:(0,n.jsx)(c.Z,{sx:{height:"100%",position:"relative",overflow:"hidden","&::before":{content:'""',position:"absolute",top:0,left:0,right:0,height:"4px",background:"grey.300"}},children:(0,n.jsxs)(d.Z,{children:[(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",justifyContent:"space-between",mb:2},children:[(0,n.jsx)(x.Z,{variant:"text",width:"60%"}),(0,n.jsx)(x.Z,{variant:"circular",width:32,height:32})]}),(0,n.jsx)(x.Z,{variant:"text",width:"40%",height:48}),(0,n.jsx)(x.Z,{variant:"text",width:"70%"})]})})},e))}),(0,n.jsxs)(o.ZP,{container:!0,spacing:3,children:[(0,n.jsx)(o.ZP,{item:!0,xs:12,md:7,children:(0,n.jsx)(c.Z,{children:(0,n.jsxs)(d.Z,{children:[(0,n.jsx)(x.Z,{variant:"text",width:"30%",height:32,sx:{mb:2}}),[0,1,2,3,4].map(e=>(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",gap:2,py:1.5,borderBottom:"1px solid",borderColor:"divider"},children:[(0,n.jsx)(x.Z,{variant:"circular",width:10,height:10}),(0,n.jsx)(x.Z,{variant:"text",width:"25%"}),(0,n.jsx)(x.Z,{variant:"rounded",width:60,height:24,sx:{ml:"auto"}})]},e))]})})}),(0,n.jsx)(o.ZP,{item:!0,xs:12,md:5,children:(0,n.jsxs)(a.Z,{sx:{display:"flex",flexDirection:"column",gap:3},children:[(0,n.jsx)(c.Z,{children:(0,n.jsxs)(d.Z,{children:[(0,n.jsx)(x.Z,{variant:"text",width:"40%",height:32,sx:{mb:2}}),[0,1,2,3].map(e=>(0,n.jsxs)(a.Z,{sx:{display:"flex",gap:1.5,py:1,borderBottom:"1px solid",borderColor:"divider"},children:[(0,n.jsx)(x.Z,{variant:"circular",width:24,height:24}),(0,n.jsxs)(a.Z,{sx:{flex:1},children:[(0,n.jsx)(x.Z,{variant:"text",width:"80%"}),(0,n.jsx)(x.Z,{variant:"text",width:"50%"})]})]},e))]})}),(0,n.jsx)(c.Z,{children:(0,n.jsxs)(d.Z,{children:[(0,n.jsx)(x.Z,{variant:"text",width:"35%",height:32,sx:{mb:2}}),[0,1].map(e=>(0,n.jsxs)(a.Z,{sx:{py:1,borderBottom:"1px solid",borderColor:"divider"},children:[(0,n.jsx)(x.Z,{variant:"text",width:"60%"}),(0,n.jsx)(x.Z,{variant:"text",width:"90%"})]},e))]})})]})})]})]}):(0,n.jsxs)(n.Fragment,{children:[(0,n.jsx)(s.Z,{elevation:0,sx:{mb:4,p:3,background:e=>"linear-gradient(135deg, ".concat((0,i.Fq)(e.palette.secondary.main,.1)," 0%, ").concat((0,i.Fq)(e.palette.primary.main,.1)," 100%)"),borderRadius:2,border:e=>"1px solid ".concat((0,i.Fq)(e.palette.secondary.main,.2))},children:(0,n.jsxs)(a.Z,{sx:{display:"flex",alignItems:"center",gap:2},children:[(0,n.jsx)(a.Z,{sx:{display:{xs:"none",sm:"flex"},alignItems:"center",justifyContent:"center",width:56,height:56,borderRadius:2,bgcolor:"secondary.main",color:"secondary.contrastText"},children:(0,n.jsx)(h.Z,{sx:{fontSize:32}})}),(0,n.jsxs)(a.Z,{children:[(0,n.jsx)(l.Z,{variant:"h4",component:"h1",fontWeight:"bold",sx:{fontSize:{xs:"1.5rem",sm:"2.125rem"}},children:"Dashboard"}),(0,n.jsx)(l.Z,{variant:"body1",color:"text.secondary",children:"Overview of your Minecraft server infrastructure"})]})]})}),(0,n.jsxs)(o.ZP,{container:!0,spacing:3,sx:{mb:4},children:[(0,n.jsx)(o.ZP,{item:!0,xs:12,sm:6,md:3,children:(0,n.jsx)(Z,{title:"Total Servers",value:w,icon:(0,n.jsx)(u.Z,{fontSize:"large"}),color:"primary",description:"All configured servers"})}),(0,n.jsx)(o.ZP,{item:!0,xs:12,sm:6,md:3,children:(0,n.jsx)(Z,{title:"Online Servers",value:S,icon:(0,n.jsx)(p.Z,{fontSize:"large"}),color:"success",description:"Currently running"})}),(0,n.jsx)(o.ZP,{item:!0,xs:12,sm:6,md:3,children:(0,n.jsx)(Z,{title:"Total Players",value:0,icon:(0,n.jsx)(m.Z,{fontSize:"large"}),color:"info",description:"Across all servers"})}),(0,n.jsx)(o.ZP,{item:!0,xs:12,sm:6,md:3,children:(0,n.jsx)(Z,{title:"Total Worlds",value:C,icon:(0,n.jsx)(j.Z,{fontSize:"large"}),color:"secondary",description:"Available worlds"})})]}),(0,n.jsxs)(o.ZP,{container:!0,spacing:3,children:[(0,n.jsx)(o.ZP,{item:!0,xs:12,md:7,children:(0,n.jsx)(I,{servers:(null==e?void 0:e.servers)||[],statusMap:y,isLoading:t,maxItems:5,showViewAll:!0})}),(0,n.jsx)(o.ZP,{item:!0,xs:12,md:5,children:(0,n.jsxs)(a.Z,{sx:{display:"flex",flexDirection:"column",gap:3},children:[(0,n.jsx)(U,{}),(0,n.jsx)(O,{maxItems:5}),(0,n.jsx)(W,{maxVersions:2})]})})]})]})}},56813:function(e,t,r){"use strict";r.d(t,{I:function(){return a}});var n=r(94655),s=r(25333),i=r(82925);function a(e){let{action:t,size:r="small"}=e,a=i.Lu[t]||"default",l=i.n3[t]||t;return(0,n.jsx)(s.Z,{label:l,color:a,size:r,variant:"filled",sx:{fontWeight:600,fontSize:"small"===r?"0.7rem":"0.8rem"}})}},26892:function(e,t,r){"use strict";r.d(t,{c:function(){return l}});var n=r(94655),s=r(25333),i=r(46207),a=r(43436);function l(e){let{status:t,size:r="small"}=e;return(0,n.jsx)(s.Z,{icon:"success"===t?(0,n.jsx)(i.Z,{}):(0,n.jsx)(a.Z,{}),label:"success"===t?"OK":"Error",color:"success"===t?"success":"error",size:r,variant:"outlined",sx:{fontWeight:500,fontSize:"small"===r?"0.7rem":"0.8rem"}})}},84509:function(e,t,r){"use strict";r.d(t,{DM:function(){return a},HZ:function(){return o},VM:function(){return l},hT:function(){return i},oL:function(){return c}});var n=r(5632),s=r(42936);function i(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:{},t=arguments.length>1?arguments[1]:void 0,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?"?".concat(r):""}(e);return(0,n.a)({queryKey:["audit-logs",e],queryFn:()=>(0,s.SC)("/api/audit-logs".concat(r)),enabled:(null==t?void 0:t.enabled)!==!1})}function a(e){return(0,n.a)({queryKey:["audit-logs","stats"],queryFn:()=>(0,s.SC)("/api/audit-logs/stats"),enabled:(null==e?void 0:e.enabled)!==!1,refetchInterval:3e4})}function l(e,t){return(0,n.a)({queryKey:["audit-logs",e],queryFn:()=>(0,s.SC)("/api/audit-logs/".concat(encodeURIComponent(e))),enabled:(null==t?void 0:t.enabled)!==!1&&!!e})}function o(e,t){var r;return i({targetType:"server",targetName:e,limit:null!==(r=null==t?void 0:t.limit)&&void 0!==r?r:20},{enabled:(null==t?void 0:t.enabled)!==!1&&!!e})}function c(){let e=arguments.length>0&&void 0!==arguments[0]?arguments[0]:10;return i({limit:e,sort:"timestamp:desc"})}},37228:function(e,t,r){"use strict";r.d(t,{Bc:function(){return o},N$:function(){return c},UW:function(){return l}});var n=r(5632),s=r(58919),i=r(20367),a=r(42936);function l(){return(0,n.a)({queryKey:["playit-status"],queryFn:()=>(0,a.SC)("/api/playit/status"),refetchInterval:3e4})}function o(){let e=(0,s.NL)();return(0,i.D)({mutationFn:()=>(0,a.SC)("/api/playit/start",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}function c(){let e=(0,s.NL)();return(0,i.D)({mutationFn:()=>(0,a.SC)("/api/playit/stop",{method:"POST"}),onSuccess:()=>{e.invalidateQueries({queryKey:["playit-status"]})}})}},82925:function(e,t,r){"use strict";r.d(t,{KK:function(){return l},Lu:function(){return n},Xn:function(){return a},n3:function(){return s},xg:function(){return i}});let n={"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"},i=["server.create","server.delete","server.start","server.stop","server.restart","player.whitelist.add","player.whitelist.remove","player.ban","player.unban","player.op","player.deop","player.kick","audit.purge"],a=["server.create","server.delete","server.start","server.stop","server.restart"],l=["player.whitelist.add","player.whitelist.remove","player.ban","player.unban","player.op","player.deop","player.kick"]}},function(e){e.O(0,[6812,9760,5004,7296,540,4416,2538,5511,55,8347,5123,2666,2701,3669,2757,1744],function(){return e(e.s=12121)}),_N_E=e.O()}]);