import{r as i}from"./index-BP8_t0zE.js";import{n as s,s as p}from"./defaultI18nProvider-C_r1y4tu.js";import{T as l}from"./Toolbar-C8uTbHq-.js";var o=function(){return o=Object.assign||function(r){for(var e,t=1,n=arguments.length;t<n;t++){e=arguments[t];for(var a in e)Object.prototype.hasOwnProperty.call(e,a)&&(r[a]=e[a])}return r},o.apply(this,arguments)},u=function(r,e){var t={};for(var n in r)Object.prototype.hasOwnProperty.call(r,n)&&e.indexOf(n)<0&&(t[n]=r[n]);if(r!=null&&typeof Object.getOwnPropertySymbols=="function")for(var a=0,n=Object.getOwnPropertySymbols(r);a<n.length;a++)e.indexOf(n[a])<0&&Object.prototype.propertyIsEnumerable.call(r,n[a])&&(t[n[a]]=r[n[a]]);return t},v=function(r){var e=s(function(t){return t.breakpoints.down("sm")});return i.createElement(f,o({disableGutters:!0,variant:e?"regular":"dense"},c(r)))},d="RaTopToolbar",f=p(l,{name:d,overridesResolver:function(r,e){return e.root}})(function(r){var e,t=r.theme;return e={display:"flex",justifyContent:"flex-end",alignItems:"flex-end",gap:t.spacing(1),whiteSpace:"nowrap",flex:"0 1 auto",padding:t.spacing(.5),paddingBottom:t.spacing(1)},e[t.breakpoints.down("md")]={flex:"0 1 100%"},e[t.breakpoints.down("sm")]={backgroundColor:t.palette.background.paper,padding:0,paddingBottom:0},e}),c=function(r){r.hasCreate;var e=u(r,["hasCreate"]);return e};export{v as T};
