"use strict";
var __webpack_require__ = {};
(()=>{
    __webpack_require__.n = (module)=>{
        var getter = module && module.__esModule ? ()=>module['default'] : ()=>module;
        __webpack_require__.d(getter, {
            a: getter
        });
        return getter;
    };
})();
(()=>{
    __webpack_require__.d = (exports1, definition)=>{
        for(var key in definition)if (__webpack_require__.o(definition, key) && !__webpack_require__.o(exports1, key)) Object.defineProperty(exports1, key, {
            enumerable: true,
            get: definition[key]
        });
    };
})();
(()=>{
    __webpack_require__.o = (obj, prop)=>Object.prototype.hasOwnProperty.call(obj, prop);
})();
(()=>{
    __webpack_require__.r = (exports1)=>{
        if ("u" > typeof Symbol && Symbol.toStringTag) Object.defineProperty(exports1, Symbol.toStringTag, {
            value: 'Module'
        });
        Object.defineProperty(exports1, '__esModule', {
            value: true
        });
    };
})();
var __webpack_exports__ = {};
__webpack_require__.r(__webpack_exports__);
__webpack_require__.d(__webpack_exports__, {
    apolloMaterialUiThemeFutureLight: ()=>apolloMaterialUiThemeFutureLight,
    apolloMaterialUiThemeDarkHC: ()=>apolloMaterialUiThemeDarkHC,
    apolloMaterialUiThemeDark: ()=>apolloMaterialUiThemeDark,
    apolloMaterialUiThemeLight: ()=>apolloMaterialUiThemeLight,
    apolloMaterialUiThemeLightHC: ()=>apolloMaterialUiThemeLightHC,
    apolloMaterialUiThemeFutureDark: ()=>apolloMaterialUiThemeFutureDark
});
const styles_namespaceObject = require("@mui/material/styles");
const apollo_core_namespaceObject = require("@uipath/apollo-core");
const palette_namespaceObject = require("@uipath/apollo-core/tokens/jss/palette");
const defaultsDeep_namespaceObject = require("lodash/defaultsDeep");
var defaultsDeep_default = /*#__PURE__*/ __webpack_require__.n(defaultsDeep_namespaceObject);
const external_breakpoints_cjs_namespaceObject = require("./breakpoints.cjs");
var external_breakpoints_cjs_default = /*#__PURE__*/ __webpack_require__.n(external_breakpoints_cjs_namespaceObject);
const index_cjs_namespaceObject = require("./overrides/index.cjs");
const external_spacing_cjs_namespaceObject = require("./spacing.cjs");
var external_spacing_cjs_default = /*#__PURE__*/ __webpack_require__.n(external_spacing_cjs_namespaceObject);
const external_typography_cjs_namespaceObject = require("./typography.cjs");
var external_typography_cjs_default = /*#__PURE__*/ __webpack_require__.n(external_typography_cjs_namespaceObject);
const globalPropOverrides = {
    MuiTextField: {
        defaultProps: {
            InputLabelProps: {
                shrink: true
            }
        }
    },
    MuiButtonBase: {
        defaultProps: {
            disableRipple: true,
            disableTouchRipple: true
        }
    }
};
const getGlobalVariantOverrides = (palette)=>({
        MuiTypography: {
            variants: [
                {
                    props: {
                        color: 'primary'
                    },
                    style: {
                        color: palette.semantic.colorPrimary
                    }
                },
                {
                    props: {
                        color: 'textPrimary'
                    },
                    style: {
                        color: palette.semantic.colorForegroundDeEmp
                    }
                },
                {
                    props: {
                        color: 'textSecondary'
                    },
                    style: {
                        color: palette.semantic.colorForegroundDeEmp
                    }
                }
            ]
        },
        MuiIconButton: {
            variants: [
                {
                    props: {
                        color: 'default'
                    },
                    style: {
                        color: palette.semantic.colorIconDefault
                    }
                }
            ]
        }
    });
const apolloMaterialUiThemeLight = (0, styles_namespaceObject.createTheme)({
    palette: {
        ...apollo_core_namespaceObject.lightPalette,
        mode: 'light'
    },
    spacing: external_spacing_cjs_default(),
    breakpoints: external_breakpoints_cjs_default(),
    components: defaultsDeep_default()(index_cjs_namespaceObject.lightOverrides, globalPropOverrides, getGlobalVariantOverrides(apollo_core_namespaceObject.lightPalette)),
    typography: external_typography_cjs_default()
});
const apolloMaterialUiThemeLightHC = (0, styles_namespaceObject.createTheme)({
    palette: {
        ...palette_namespaceObject.lightHighContrastPalette,
        mode: 'light'
    },
    spacing: external_spacing_cjs_default(),
    breakpoints: external_breakpoints_cjs_default(),
    components: defaultsDeep_default()(index_cjs_namespaceObject.lightHighContrastOverrides, globalPropOverrides, getGlobalVariantOverrides(palette_namespaceObject.lightHighContrastPalette)),
    typography: external_typography_cjs_default()
});
const apolloMaterialUiThemeDark = (0, styles_namespaceObject.createTheme)({
    palette: {
        ...apollo_core_namespaceObject.darkPalette,
        mode: 'dark'
    },
    spacing: external_spacing_cjs_default(),
    breakpoints: external_breakpoints_cjs_default(),
    components: defaultsDeep_default()(index_cjs_namespaceObject.darkOverrides, globalPropOverrides, getGlobalVariantOverrides(apollo_core_namespaceObject.darkPalette)),
    typography: external_typography_cjs_default()
});
const apolloMaterialUiThemeDarkHC = (0, styles_namespaceObject.createTheme)({
    palette: {
        ...palette_namespaceObject.darkHighContrastPalette,
        mode: 'dark'
    },
    spacing: external_spacing_cjs_default(),
    breakpoints: external_breakpoints_cjs_default(),
    components: defaultsDeep_default()(index_cjs_namespaceObject.darkHighContrastOverrides, globalPropOverrides, getGlobalVariantOverrides(palette_namespaceObject.darkHighContrastPalette)),
    typography: external_typography_cjs_default()
});
const apolloMaterialUiThemeFutureDark = (0, styles_namespaceObject.createTheme)({
    palette: {
        ...apollo_core_namespaceObject.futureDarkPalette,
        mode: 'dark'
    },
    spacing: external_spacing_cjs_default(),
    breakpoints: external_breakpoints_cjs_default(),
    components: defaultsDeep_default()(index_cjs_namespaceObject.futureDarkOverrides, globalPropOverrides, getGlobalVariantOverrides(apollo_core_namespaceObject.futureDarkPalette)),
    typography: external_typography_cjs_default()
});
const apolloMaterialUiThemeFutureLight = (0, styles_namespaceObject.createTheme)({
    palette: {
        ...apollo_core_namespaceObject.futureLightPalette,
        mode: 'light'
    },
    spacing: external_spacing_cjs_default(),
    breakpoints: external_breakpoints_cjs_default(),
    components: defaultsDeep_default()(index_cjs_namespaceObject.futureLightOverrides, globalPropOverrides, getGlobalVariantOverrides(apollo_core_namespaceObject.futureLightPalette)),
    typography: external_typography_cjs_default()
});
exports.apolloMaterialUiThemeDark = __webpack_exports__.apolloMaterialUiThemeDark;
exports.apolloMaterialUiThemeDarkHC = __webpack_exports__.apolloMaterialUiThemeDarkHC;
exports.apolloMaterialUiThemeFutureDark = __webpack_exports__.apolloMaterialUiThemeFutureDark;
exports.apolloMaterialUiThemeFutureLight = __webpack_exports__.apolloMaterialUiThemeFutureLight;
exports.apolloMaterialUiThemeLight = __webpack_exports__.apolloMaterialUiThemeLight;
exports.apolloMaterialUiThemeLightHC = __webpack_exports__.apolloMaterialUiThemeLightHC;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "apolloMaterialUiThemeDark",
    "apolloMaterialUiThemeDarkHC",
    "apolloMaterialUiThemeFutureDark",
    "apolloMaterialUiThemeFutureLight",
    "apolloMaterialUiThemeLight",
    "apolloMaterialUiThemeLightHC"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
