console.error("MUI: Unsupported props received by `<Hidden implementation=\"css\" />`: ".concat(unknownProps.join(', '), ". Did you forget to wrap this component in a ThemeProvider declaring these breakpoints?"));
}
}
var breakpoints = [];
for (var i = 0; i < theme.breakpoints.keys.length; i += 1) {
var breakpoint = theme.breakpoints.keys[i];
var breakpointUp = other["".concat(breakpoint, "Up")];
var breakpointDown = other["".concat(breakpoint, "Down")];
if (breakpointUp) {
breakpoints.push({
breakpoint: breakpoint,
dir: 'up'
});
}
if (breakpointDown) {
breakpoints.push({
breakpoint: breakpoint,
dir: 'down'
});
}
}
if (only) {
var onlyBreakpoints = Array.isArray(only) ? only : [only];