import{a as e,n as t}from"./preload-helper-DxX6f4wy.js";import{$ as n,E as r,F as i,I as a,P as o,d as s,g as c,n as l}from"./Fade-Bj1YUcWe.js";import{i as u,n as d}from"./DialogContent-1cFv81I0.js";var f=e(t());function p(e){return i(`MuiDialogActions`,e)}o(`MuiDialogActions`,[`root`,`spacing`]);var m=n(),h=e=>{let{classes:t,disableSpacing:n}=e;return r({root:[`root`,!n&&`spacing`]},p,t)},g=c(`div`,{name:`MuiDialogActions`,slot:`Root`,overridesResolver:(e,t)=>{let{ownerState:n}=e;return[t.root,!n.disableSpacing&&t.spacing]}})({display:`flex`,alignItems:`center`,padding:8,justifyContent:`flex-end`,flex:`0 0 auto`,variants:[{props:({ownerState:e})=>!e.disableSpacing,style:{"& > :not(style) ~ :not(style)":{marginLeft:8}}}]}),_=f.forwardRef(function(e,t){let n=s({props:e,name:`MuiDialogActions`}),{className:r,disableSpacing:i=!1,...o}=n,c={...n,disableSpacing:i},l=h(c);return(0,m.jsx)(g,{className:a(l.root,r),ownerState:c,ref:t,...o})}),v=e=>{let{classes:t}=e;return r({root:[`root`]},d,t)},y=c(l,{name:`MuiDialogTitle`,slot:`Root`,overridesResolver:(e,t)=>t.root})({padding:`16px 24px`,flex:`0 0 auto`}),b=f.forwardRef(function(e,t){let n=s({props:e,name:`MuiDialogTitle`}),{className:r,id:i,...o}=n,c=n,l=v(c),{titleId:d=i}=f.useContext(u);return(0,m.jsx)(y,{component:`h2`,className:a(l.root,r),ownerState:c,ref:t,variant:`h6`,id:i??d,...o})});export{_ as n,b as t};