import{j as e,at as s}from"./vendor-mui-core-DnR6WYuU.js";import{u as a}from"./index-VFqVu6RK.js";function i({labelProps:t,className:l,style:n,...o}){const r={...t,labelPlacement:t?.labelPlacement||"start"};return e.jsx(m,{className:l,style:n,labelPlacement:t?.labelPlacement,children:e.jsx(a,{labelProps:r,...o})})}i.propTypes=a.propTypes;const m=s.div`
  max-width: ${({labelPlacement:t})=>t==="end"?"100%":"300px"};
  > label {
    display: flex;
    justify-content: ${({labelPlacement:t})=>t==="end"?"flex-start":"space-between"};
    width: 100%;
    margin-left: 0;
    margin-right: 0;
  }
  .MuiFormControlLabel-labelPlacementEnd {
    .MuiSwitch-root {
      margin-right: 8px;
    }
  }
  ${({theme:t})=>t.breakpoints.down("sm")} {
    max-width: 100%;
  }
`;export{i as S};
