import { g as getAugmentedNamespace } from './_commonjsHelpers-57e89916.js';
import { p as ponyfillGlobal, T as ThemeProvider } from './ThemeProvider-9c227100.js';
export { a as ThemeProvider } from './ThemeProvider-9c227100.js';
import { _ as _createClass, S as SheetsRegistry, c as createGenerateClassName, a as StylesProvider, b as _extends, P as PropTypes, g as getDisplayName, d as _objectWithoutProperties, u as useTheme, j as jssPreset, m as makeStyles, e as mergeClasses, s as sheetsManager, f as StylesContext } from './defaultTheme-49a26576.js';
import { c as createStyles$2 } from './createStyles-16423e9e.js';
import { g as getThemeProps, w as withStylesWithoutDefault } from './withStyles-99aeb25b.js';
import { _ as _classCallCheck } from './Modal-5d521807.js';
import React__default from 'react';
import { s as styled } from './styled-339d0187.js';
import { c as chainPropTypes, h as hoistNonReactStatics_cjs } from './hoist-non-react-statics.cjs-b718ab87.js';
export { default as Accordion } from './components/Accordion.js';
export { default as Alert } from './components/Alert.js';
export { default as Typography } from './components/Typography.js';
export { default as Button } from './components/Button.js';
export { default as Icon } from './components/Icon.js';
export { default as Pagination } from './components/Pagination.js';
export { default as RangeSlider } from './components/RangeSlider.js';
export { default as ThumbnailInfoBar } from './components/ThumbnailInfoBar.js';
export { default as Status } from './components/Status.js';
export { default as Switcher } from './components/Switcher.js';
export { S as StepConnector } from './StepConnector-396bef63.js';
export { default as StepIcon } from './components/StepIcon.js';
export { default as StepLabel } from './components/StepLabel.js';
export { default as StepLabelText } from './components/StepLabelText.js';
export { default as Stepper } from './components/Stepper.js';
export { default as ParallaxBox } from './components/ParallaxBox.js';
export { default as Dots } from './components/Dots.js';
export { default as Input } from './components/Input.js';
export { default as Select } from './components/Select.js';
export { default as InputAdornment } from './components/InputAdornment.js';
export { default as InputLabel } from './components/InputLabel.js';
export { default as TextField } from './components/TextField.js';
export { default as SelectField } from './components/SelectField.js';
export { default as NumericField } from './components/NumericField.js';
export { A as AutocompleteDropdown } from './AutocompleteDropdown-d9450bc7.js';
export { default as SelectAutocompleteDropdown } from './components/SelectAutocompleteDropdown.js';
export { default as Card } from './components/Card.js';
export { default as GridItem } from './components/GridItem.js';
export { default as GridContainer } from './components/GridContainer.js';
export { default as Container } from './components/Container.js';
export { default as Modal } from './components/Modal.js';
export { default as TableHeadSort } from './components/TableHeadSort.js';
export { default as TableSortLabel } from './components/TableSortLabel.js';
export { default as TableContainer } from './components/TableContainer.js';
export { default as TableContainerSort } from './components/TableContainerSort.js';
export { M as Table, a as TableBody } from './TableContainer-e3324a72.js';
export { a as TableCell, b as TableHead, M as TableRow } from './TableRow-b30398d4.js';
import './tslib.es6-20a2a300.js';
import 'react/jsx-runtime';
import './styled-components.esm-a98d7870.js';
import './elementAcceptingRef-29f38505.js';
import './elementTypeAcceptingRef-7677eeee.js';
import './HTMLElementType-a5d51d34.js';
import './refType-5cc24a92.js';
import './theme/colors.js';
import './theme/lineHeight.js';
import './theme/fontSize.js';
import './theme/fontFamily.js';
import './theme/fontWeight.js';
import './theme/borders.js';
import './theme/inputs.js';
import './overrides/MuiCssBaseline.js';
import './overrides/MuiTypography.js';
import './overrides/MuiButton.js';
import './overrides/MuiIconButton.js';
import './overrides/MuiCard.js';
import './overrides/MuiTable.js';
import './overrides/MuiTableCell.js';
import './overrides/MuiTableRow.js';
import './overrides/MuiInputBase.js';
import './overrides/MuiInputLabel.js';
import './overrides/MuiSelect.js';
import './overrides/MuiFormHelperText.js';
import './overrides/MuiList.js';
import './overrides/MuiListItem.js';
import './overrides/MuiMenuItem.js';
import './overrides/MuiMobileStepper.js';
import './overrides/MuiBackDrop.js';
import './overrides/MuiAccordion.js';
import './overrides/MuiAccordionSummary.js';
import './overrides/MuiAccordionDetails.js';
import 'react-dom';
import './deprecatedPropType-0232df1e.js';
import './ownerDocument-e276d08d.js';
import './Portal-ea11d671.js';
import './useForkRef-4ff8cc89.js';
import './useEventCallback-8817ed1c.js';
import './clsx.m-6243b874.js';
import './makeStyles-c9a99c7a.js';
import './useControlled-ca779f8e.js';
import './Paper-cfd8f963.js';
import './utils-2b600105.js';
import './TransitionGroupContext-2ba64e99.js';
import './useTheme-27496d89.js';
import './Box-581dc061.js';
import './ButtonBase-11d3cdb5.js';
import './useIsFocusVisible-c048447c.js';
import './IconButton-7563dc0d.js';
import './capitalize-5d3e9aac.js';
import './createSvgIcon-6fb7d1b7.js';
import './Close-9f6801e0.js';
import './Typography-649a8eff.js';
import './icons/ArrowRight.js';
import './icons/ArrowRightCircle.js';
import './icons/Check.js';
import './icons/CheckCircle.js';
import './icons/ChevronRight.js';
import './icons/CrossCircle.js';
import './icons/DollarSign.js';
import './icons/InfoCircle.js';
import './icons/Link.js';
import './icons/TriangleUp.js';
import './icons/TriangleDown.js';
import './icons/TriangleLeft.js';
import './icons/Copy.js';
import './icons/SortUp.js';
import './icons/Cross.js';
import './icons/Search.js';
import './icons/Range.js';
import './components/IconButton.js';
import './useFormControl-dc7cf5d6.js';
import './FormControlContext-64eed5c2.js';
import './Input-d5c36a50.js';
import './formControlState-da4d15f8.js';
import './components/FormHelperText.js';
import './FormControl-1f6cf8f3.js';
import './Fade-e167cb2c.js';
import './Grid-7099154b.js';
import './useMediaQuery-d0d673c2.js';
import './components/TableSortLabelIcon.js';

var createStyles$1 = {};

var ServerStyleSheets = /*#__PURE__*/function () {
  function ServerStyleSheets() {
    var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};

    _classCallCheck(this, ServerStyleSheets);

    this.options = options;
  }

  _createClass(ServerStyleSheets, [{
    key: "collect",
    value: function collect(children) {
      // This is needed in order to deduplicate the injection of CSS in the page.
      var sheetsManager = new Map(); // This is needed in order to inject the critical CSS.

      this.sheetsRegistry = new SheetsRegistry(); // A new class name generator

      var generateClassName = createGenerateClassName();
      return /*#__PURE__*/React__default.createElement(StylesProvider, _extends({
        sheetsManager: sheetsManager,
        serverGenerateClassName: generateClassName,
        sheetsRegistry: this.sheetsRegistry
      }, this.options), children);
    }
  }, {
    key: "toString",
    value: function toString() {
      return this.sheetsRegistry ? this.sheetsRegistry.toString() : '';
    }
  }, {
    key: "getStyleElement",
    value: function getStyleElement(props) {
      return /*#__PURE__*/React__default.createElement('style', _extends({
        id: 'jss-server-side',
        key: 'jss-server-side',
        dangerouslySetInnerHTML: {
          __html: this.toString()
        }
      }, props));
    }
  }]);

  return ServerStyleSheets;
}();

function withThemeCreator() {
  var options = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {};
  var defaultTheme = options.defaultTheme;

  var withTheme = function withTheme(Component) {
    if (process.env.NODE_ENV !== 'production') {
      if (Component === undefined) {
        throw new Error(['You are calling withTheme(Component) with an undefined component.', 'You may have forgotten to import it.'].join('\n'));
      }
    }

    var WithTheme = /*#__PURE__*/React__default.forwardRef(function WithTheme(props, ref) {
      var innerRef = props.innerRef,
          other = _objectWithoutProperties(props, ["innerRef"]);

      var theme = useTheme() || defaultTheme;
      return /*#__PURE__*/React__default.createElement(Component, _extends({
        theme: theme,
        ref: innerRef || ref
      }, other));
    });
    process.env.NODE_ENV !== "production" ? WithTheme.propTypes = {
      /**
       * Use that prop to pass a ref to the decorated component.
       * @deprecated
       */
      innerRef: chainPropTypes(PropTypes.oneOfType([PropTypes.func, PropTypes.object]), function (props) {
        if (props.innerRef == null) {
          return null;
        }

        return new Error('Material-UI: The `innerRef` prop is deprecated and will be removed in v5. ' + 'Refs are now automatically forwarded to the inner component.');
      })
    } : void 0;

    if (process.env.NODE_ENV !== 'production') {
      WithTheme.displayName = "WithTheme(".concat(getDisplayName(Component), ")");
    }

    hoistNonReactStatics_cjs(WithTheme, Component);

    if (process.env.NODE_ENV !== 'production') {
      // Exposed for test purposes.
      WithTheme.Naked = Component;
    }

    return WithTheme;
  };

  return withTheme;
} // Provide the theme object as a prop to the input component.
// It's an alternative API to useTheme().
// We encourage the usage of useTheme() where possible.

var withTheme = withThemeCreator();
var withTheme$1 = withTheme;

/** @license Material-UI v4.11.4
 *
 * This source code is licensed under the MIT license found in the
 * LICENSE file in the root directory of this source tree.
 */
/* Warning if there are several instances of @material-ui/styles */

if (process.env.NODE_ENV !== 'production' && process.env.NODE_ENV !== 'test' && typeof window !== 'undefined') {
  ponyfillGlobal['__@material-ui/styles-init__'] = ponyfillGlobal['__@material-ui/styles-init__'] || 0;

  if (ponyfillGlobal['__@material-ui/styles-init__'] === 1) {
    console.warn(['It looks like there are several instances of `@material-ui/styles` initialized in this application.', 'This may cause theme propagation issues, broken class names, ' + 'specificity issues, and makes your application bigger without a good reason.', '', 'See https://material-ui.com/r/styles-instance-warning for more info.'].join('\n'));
  }

  ponyfillGlobal['__@material-ui/styles-init__'] += 1;
}

var esm = /*#__PURE__*/Object.freeze({
  __proto__: null,
  createGenerateClassName: createGenerateClassName,
  createStyles: createStyles$2,
  getThemeProps: getThemeProps,
  jssPreset: jssPreset,
  makeStyles: makeStyles,
  mergeClasses: mergeClasses,
  ServerStyleSheets: ServerStyleSheets,
  styled: styled,
  StylesProvider: StylesProvider,
  ThemeProvider: ThemeProvider,
  useTheme: useTheme,
  withStyles: withStylesWithoutDefault,
  withTheme: withTheme$1,
  sheetsManager: sheetsManager,
  StylesContext: StylesContext,
  withThemeCreator: withThemeCreator
});

var require$$0 = /*@__PURE__*/getAugmentedNamespace(esm);

Object.defineProperty(createStyles$1, "__esModule", {
  value: true
});
var _default = createStyles$1.default = createStyles;

var _styles = require$$0;

// let warnOnce = false;
// To remove in v5
function createStyles(styles) {
  // warning(
  //   warnOnce,
  //   [
  //     'Material-UI: createStyles from @material-ui/core/styles is deprecated.',
  //     'Please use @material-ui/styles/createStyles',
  //   ].join('\n'),
  // );
  // warnOnce = true;
  return (0, _styles.createStyles)(styles);
}

export { _default as makeStyles };
