"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__, {
    MuiSwitch: ()=>MuiSwitch
});
const apollo_core_namespaceObject = require("@uipath/apollo-core");
var apollo_core_default = /*#__PURE__*/ __webpack_require__.n(apollo_core_namespaceObject);
const MuiSwitch = (palette)=>({
        root: {
            padding: apollo_core_default().Padding.PadXxl,
            width: '60px',
            height: '40px',
            '&:has(.Mui-focusVisible)': {
                outline: `2px solid ${palette.semantic.colorFocusIndicator}`,
                outlineOffset: '2px'
            },
            '& .MuiSwitch-switchBase': {
                padding: apollo_core_default().Padding.PadXl,
                marginLeft: '2px',
                '&.Mui-checked': {
                    transform: 'translateX(16px)',
                    '&.Mui-focusVisible': {
                        outline: 'unset',
                        backgroundColor: 'unset'
                    }
                },
                '&.Mui-focusVisible': {
                    outline: `2px solid ${palette.semantic.colorFocusIndicator} !important`,
                    boxShadow: `inset 0 0 0 1px ${palette.semantic.colorBackground}`,
                    backgroundColor: 'unset'
                }
            },
            '& .MuiSwitch-track': {
                backgroundColor: palette.semantic.colorForegroundDeEmp,
                opacity: 1,
                borderRadius: '10px'
            },
            '& .MuiSwitch-thumb': {
                backgroundColor: palette.semantic.colorBackground,
                height: '14px',
                width: '14px',
                borderRadius: '10px',
                position: 'relative',
                top: '3px',
                left: '3px',
                boxShadow: 'rgba(0, 0, 0, 0.12) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.2) 0px 1px 3px 0px'
            },
            '& .MuiSwitch-switchBase.Mui-disabled + .MuiSwitch-track': {
                backgroundColor: palette.semantic.colorToggleTrackOffDisabled,
                opacity: 1
            },
            '& .MuiSwitch-switchBase.Mui-disabled .MuiSwitch-thumb': {
                backgroundColor: palette.semantic.colorForegroundDisable,
                boxShadow: 'rgba(0, 0, 0, 0.06) 0px 2px 1px 0px, rgba(0, 0, 0, 0.07) 0px 1px 1px 0px, rgba(0, 0, 0, 0.1) 0px 1px 3px 0px !important'
            },
            '& .MuiSwitch-switchBase.Mui-checked + .MuiSwitch-track': {
                backgroundColor: palette.semantic.colorToggleThumbOn,
                opacity: 1
            },
            '& .MuiSwitch-switchBase.Mui-checked .MuiSwitch-thumb': {
                backgroundColor: palette.semantic.colorBackground
            },
            '& .MuiSwitch-switchBase.Mui-checked.Mui-disabled + .MuiSwitch-track': {
                backgroundColor: palette.semantic.colorBackgroundDisabled
            },
            '& .MuiSwitch-switchBase.Mui-checked.Mui-disabled .MuiSwitch-thumb': {
                backgroundColor: palette.semantic.colorForegroundDisable
            }
        },
        thumb: {
            boxShadow: 'rgba(0, 0, 0, 0.12) 0px 2px 1px -1px, rgba(0, 0, 0, 0.14) 0px 1px 1px 0px, rgba(0, 0, 0, 0.2) 0px 1px 3px 0px'
        },
        switchBase: {
            padding: apollo_core_default().Padding.PadXl,
            marginLeft: '2px',
            '&.Mui-checked': {
                transform: 'translateX(16px)'
            },
            '&.Mui-focusVisible': {
                outline: `2px solid ${palette.semantic.colorFocusIndicator} !important`,
                boxShadow: `inset 0 0 0 1px ${palette.semantic.colorBackground}`
            }
        },
        track: {
            borderRadius: '10px'
        }
    });
exports.MuiSwitch = __webpack_exports__.MuiSwitch;
for(var __rspack_i in __webpack_exports__)if (-1 === [
    "MuiSwitch"
].indexOf(__rspack_i)) exports[__rspack_i] = __webpack_exports__[__rspack_i];
Object.defineProperty(exports, '__esModule', {
    value: true
});
