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