import{n as u,o as g,f as d,t as b,r as f,v,j as m,w as T,x}from"./index-c3f592b2.js";function y(s){return u("MuiToolbar",s)}g("MuiToolbar",["root","gutters","regular","dense"]);const R=s=>{const{classes:t,disableGutters:o,variant:a}=s;return x({root:["root",!o&&"gutters",a]},y,t)},w=d("div",{name:"MuiToolbar",slot:"Root",overridesResolver:(s,t)=>{const{ownerState:o}=s;return[t.root,!o.disableGutters&&t.gutters,t[o.variant]]}})(b(({theme:s})=>({position:"relative",display:"flex",alignItems:"center",variants:[{props:({ownerState:t})=>!t.disableGutters,style:{paddingLeft:s.spacing(2),paddingRight:s.spacing(2),[s.breakpoints.up("sm")]:{paddingLeft:s.spacing(3),paddingRight:s.spacing(3)}}},{props:{variant:"dense"},style:{minHeight:48}},{props:{variant:"regular"},style:s.mixins.toolbar}]}))),C=f.forwardRef(function(t,o){const a=v({props:t,name:"MuiToolbar"}),{className:r,component:e="div",disableGutters:i=!1,variant:l="regular",...p}=a,n={...a,component:e,disableGutters:i,variant:l},c=R(n);return m.jsx(w,{as:e,className:T(c.root,r),ref:o,ownerState:n,...p})}),M=C;export{M as T};
