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