import{m as u,n as g,f as d,q as b,r as f,t as m,j as v,v as T,w as x}from"./index-3141de2d.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=m({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 v.jsx(w,{as:e,className:T(c.root,r),ref:o,ownerState:n,...p})}),M=C;export{M as T};
