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A,EAAAA,WAAS,GACzCoX,GAAiBF,EAAAA,EAAAA,GAAY7c,GAcnC,OAZA8I,EAAAA,EAAAA,YAAU,MACe,IAAnBiU,IAAsC,IAAX/c,GAC7B8c,GAAe,GAGjB,MAAME,EAAUC,YAAW,KACzBH,GAAe,EAAM,GACpBV,GAEH,MAAO,IAAMc,aAAaF,EAAQ,GACjC,CAACD,EAAgB/c,EAAQoc,IAErB9b,CACT,C","sources":["webpack://groot/./src/components/themed/button/Button.js","webpack://groot/./src/components/themed/button/index.js","webpack://groot/./src/components/themed/icon_button/IconButton.js","webpack://groot/./src/components/themed/select/Select.js","webpack://groot/./src/components/force_reload/ForceReload.js","webpack://groot/./src/components/accept_cookies/AcceptCookies.js","webpack://groot/./src/containers/AcceptCookies.js","webpack://groot/./src/components/news_radar/NewsRadar.js","webpack://groot/./src/hooks/usePrefersDarkMode.js","webpack://groot/./src/containers/NewsRadar.js","webpack://groot/./src/containers/WithMuiTheme.js","webpack://groot/./src/components/themed/autocomplete/Autocomplete.js","webpack://groot/./src/components/themed/browse_button/BrowseButton.js","webpack://groot/./src/components/themed/dialog/Dialog.js","webpack://groot/./src/components/themed/input/Input.js","webpack://groot/./src/components/themed/date_picker/utils.js","webpack://groot/./src/components/themed/date_picker/DatePicker.js","webpack://groot/./src/components/themed/date_picker/inline_date_picker/InlineDatePicker.js","webpack://groot/./src/components/themed/date_picker/date_time_picker/DateTimePicker.js","webpack://groot/./src/components/themed/date_picker/inline_date_time_picker/InlineDateTimePicker.js","webpack://groot/./src/components/themed/date_picker/static_date_picker/StaticDatePicker.js","webpack://groot/./src/components/themed/date_picker/static_time_picker/StaticTimePicker.js","webpack://groot/./src/components/themed/menu/Menu.js","webpack://groot/./src/components/themed/popover/Popover.js","webpack://groot/./src/components/themed/autocomplete_async/AutocompleteAsync.js","webpack://groot/./src/hooks/useI18n.js","webpack://groot/./src/hooks/useInterval.js","webpack://groot/./src/hooks/usePrevious.js","webpack://groot/./src/hooks/useSavingSuccess.js"],"sourcesContent":["import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport CheckIcon from '@mui/icons-material/Check'\nimport { makeStyles } from 'tss-react/mui'\nimport { keyframes } from 'tss-react'\nimport useSavingSuccess from 'hooks/useSavingSuccess'\nimport { Button, CircularProgress } from '@mui/material'\nimport { alpha } from '@mui/material/styles'\nimport { green } from '@mui/material/colors'\n\nconst useStyles = makeStyles()(theme => ({\n loading: {\n position: 'relative'\n },\n indicator: {\n position: 'absolute',\n color: theme.palette.grey[500],\n '@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)': {\n left: '47.5%'\n }\n },\n success: {\n position: 'absolute',\n color: green[500],\n opacity: 0,\n animation: `${keyframes`\n 0% {\n opacity: 0;\n transform: scale(1);\n }\n 25% {\n opacity: 1;\n transform: scale(2);\n }\n 50% {\n opacity: 1;\n transform: scale(1);\n }\n 100% {\n opacity: 0;\n transform: scale(1);\n }\n `} 2s;`,\n '@media screen and (-ms-high-contrast: active), (-ms-high-contrast: none)': {\n left: '47.5%'\n }\n },\n defaultContained: {\n color: theme.palette.getContrastText(theme.palette.grey[300]),\n backgroundColor: theme.palette.grey[300],\n\n '&:hover': {\n boxShadow: '0px 2px 4px -1px rgb(0 0 0 / 20%), 0px 4px 5px 0px rgb(0 0 0 / 14%), 0px 1px 10px 0px rgb(0 0 0 / 12%)',\n backgroundColor: '#d5d5d5'\n }\n },\n defaultOutlined: {\n color: theme.palette.text.primary,\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n\n '&.Mui-disabled': {\n border: `1px solid ${theme.palette.action.disabledBackground}`\n },\n\n '&:hover': {\n borderColor:\n theme.palette.mode === 'light'\n ? 'rgba(0, 0, 0, 0.23)'\n : 'rgba(255, 255, 255, 0.23)',\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity\n )\n }\n },\n defaultText: {\n color: theme.palette.text.primary,\n '&:hover': {\n backgroundColor: alpha(\n theme.palette.text.primary,\n theme.palette.action.hoverOpacity\n )\n }\n }\n}))\n\nconst MuiButton = ({ loading, saving, children, innerRef, ...props }) => {\n const { classes, cx } = useStyles()\n const showSuccess = useSavingSuccess(saving)\n\n const buttonProps = { ...props }\n\n if (buttonProps.color === 'default' || !buttonProps.color) {\n buttonProps.color = 'primary'\n buttonProps.classes = buttonProps.classes || {}\n\n if (!buttonProps.variant || buttonProps.variant === 'text') {\n buttonProps.classes = { ...buttonProps.classes, root: cx(classes.defaultText, buttonProps.classes.root) }\n } else if (buttonProps.variant === 'contained') {\n buttonProps.classes = { ...buttonProps.classes, root: cx(classes.defaultContained, buttonProps.classes.root) }\n } else if (buttonProps.variant === 'outlined') {\n buttonProps.classes = { ...buttonProps.classes, root: cx(classes.defaultOutlined, buttonProps.classes.root) }\n }\n }\n\n if (loading || saving || showSuccess) {\n buttonProps.disabled = true\n buttonProps.className = cx(buttonProps.className, classes.loading)\n }\n\n return (\n \n {children}\n\n {loading || saving ? (\n \n ) : null}\n\n {showSuccess && }\n \n )\n}\n\nfunction ButtonWrapper(props, ref) {\n return (\n \n )\n}\n\nexport default forwardRef(ButtonWrapper)\n\nMuiButton.propTypes = {\n children: PropTypes.any,\n disabled: PropTypes.bool,\n loading: PropTypes.bool,\n saving: PropTypes.bool,\n innerRef: PropTypes.any\n}\n","import React from 'react'\n\nimport Button from './Button'\n\nexport { Button }\n\nexport const PrimaryButton = props => (\n \n)\n\nexport const RaisedPrimaryButton = props => (\n \n)\n\nexport const SecondaryButton = props => (\n \n)\n\nexport const RaisedSecondaryButton = props => (\n \n)\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport CheckIcon from '@mui/icons-material/Check'\nimport { makeStyles } from 'tss-react/mui'\nimport { keyframes } from 'tss-react'\nimport useSavingSuccess from 'hooks/useSavingSuccess'\nimport { green } from '@mui/material/colors'\nimport { CircularProgress, IconButton, Icon } from '@mui/material'\n\nconst useStyles = makeStyles()({\n loading: {\n position: 'relative'\n },\n success: {\n top: 12,\n left: 12,\n position: 'absolute',\n color: green[500],\n opacity: 0,\n animation: `${keyframes`\n 0% {\n opacity: 0;\n transform: scale(1);\n }\n 25% {\n opacity: 1;\n transform: scale(2);\n }\n 50% {\n opacity: 1;\n transform: scale(1);\n }\n 100% {\n opacity: 0;\n transform: 'scale(1);\n }\n `} 2s;`\n }\n})\n\nconst MuiIconButton = ({ innerRef, loading, saving, children, ...props }) => {\n const { classes, cx } = useStyles()\n const showSuccess = useSavingSuccess(saving)\n\n const buttonProps = { ...props }\n\n if (loading || saving || showSuccess) {\n buttonProps.disabled = true\n buttonProps.className = cx(buttonProps.className, classes.loading)\n }\n\n const iconComp = typeof props.icon === 'string' ? {props.icon} : props.icon\n\n return (\n \n {loading || saving ? (\n \n ) : (\n <>\n {iconComp}\n {children}\n \n )}\n\n {showSuccess && }\n \n )\n}\n\nfunction IconButtonWrapper(props, ref) {\n return (\n \n )\n}\n\nexport default forwardRef(IconButtonWrapper)\n\nMuiIconButton.propTypes = {\n children: PropTypes.any,\n disabled: PropTypes.bool,\n icon: PropTypes.any,\n loading: PropTypes.bool,\n saving: PropTypes.bool,\n innerRef: PropTypes.any\n}\n","import React from 'react'\nimport PropTypes from 'prop-types'\n\nimport useI18n from 'hooks/useI18n'\n\nimport {\n FormControl,\n FormHelperText,\n InputLabel,\n MenuItem,\n Select as MuiSelect,\n ListSubheader\n} from '@mui/material'\n\nconst emptyValueDummy = 'dummy_empty_value'\n\nexport default function Select({\n options,\n required,\n label,\n value,\n error,\n info,\n disabled,\n name,\n size,\n onChange,\n displayEmpty,\n variant,\n open,\n onOpen,\n onClose\n}) {\n const i18n = useI18n()\n\n let errorText\n\n if (error === true) {\n errorText = {i18n.get('required_field')}\n } else if (error) {\n errorText = {error}\n } else if (required && !value) {\n errorText = {i18n.get('required_field')}\n } else if (info) {\n errorText = {info}\n }\n\n let newOptions = options\n let newValue = value\n\n if (displayEmpty) {\n const hasEmptyValue = options.find(o => o.value === '')\n\n if (hasEmptyValue) {\n newOptions = options.map(o => (o.value === '' ? { ...o, value: emptyValueDummy } : o))\n newValue = value || emptyValueDummy\n }\n }\n\n return (\n \n \n {label}\n \n (\n onChange(\n options.find(o => o.value === (event.target.value === emptyValueDummy ? '' : event.target.value))\n )\n )}\n open={open}\n onClose={onClose}\n onOpen={onOpen}\n label={label}\n size={size}\n >\n {\n newOptions.map(option => {\n if (option.isCategory) {\n return (\n \n {option.label}\n \n )\n }\n\n return (\n \n {option.label}\n \n )\n })\n }\n \n\n {errorText}\n \n )\n}\n\nSelect.defaultProps = {\n value: '',\n onChange: () => null,\n required: false,\n displayEmpty: false,\n size: 'medium'\n}\n\nSelect.propTypes = {\n label: PropTypes.string.isRequired,\n value: PropTypes.any,\n options: PropTypes.array.isRequired,\n required: PropTypes.bool,\n error: PropTypes.any,\n info: PropTypes.any,\n name: PropTypes.string,\n size: PropTypes.string,\n variant: PropTypes.string,\n displayEmpty: PropTypes.bool,\n disabled: PropTypes.bool,\n onChange: PropTypes.func,\n open: PropTypes.bool,\n onOpen: PropTypes.func,\n onClose: PropTypes.func\n}\n","/* global window */\nimport React, { useState } from 'react'\nimport ErrorIcon from '@mui/icons-material/Error'\nimport { makeStyles } from 'tss-react/mui'\n\nimport { Button } from 'containers/themed'\n\nimport useInterval from 'hooks/useInterval'\nimport useI18n from 'hooks/useI18n'\n\nimport { Snackbar, SnackbarContent } from '@mui/material'\n\nconst useStyles = makeStyles()(theme => ({\n message: {\n display: 'flex',\n alignItems: 'center'\n },\n icon: {\n fontSize: 50,\n marginRight: 10\n },\n snackbarContent: {\n color: theme.palette.common.white,\n backgroundColor: theme.palette.secondary.main,\n maxWidth: '100vw'\n }\n}))\n\nconst maxSeconds = 60\n\nconst reload = () => {\n window.location.reload()\n}\n\nexport default function ForceReload() {\n const { classes } = useStyles()\n const i18n = useI18n()\n const [seconds, setSeconds] = useState(0)\n const diff = maxSeconds - seconds\n\n useInterval(() => {\n setSeconds(seconds + 1)\n }, 1000)\n\n if (seconds >= maxSeconds) {\n reload()\n }\n\n return (\n \n \n
\n \n\n
\n
\n {i18n.get('force_reload_title')}\n
\n
\n {i18n.get('force_reload_body', { seconds: diff < 0 ? 0 : diff })}\n
\n
\n
\n \n )}\n action={(\n \n {i18n.get('reload_now')}\n \n )}\n />\n \n )\n}\n","import React, { useState } from 'react'\nimport PropTypes from 'prop-types'\nimport { makeStyles } from 'tss-react/mui'\n\nimport { Dialog, Button } from 'containers/themed'\nimport { WithWhitelabelMuiTheme } from 'containers/WithMuiTheme'\n\nimport useI18n from 'hooks/useI18n'\n\nimport { Typography, Radio, RadioGroup, FormControlLabel, Switch } from '@mui/material'\n\nconst useStyles = makeStyles()({\n switchContainer: {\n display: 'flex',\n justifyContent: 'space-between'\n }\n})\n\nconst AcceptCookies = ({ onAccept }) => {\n const i18n = useI18n()\n const { classes } = useStyles()\n\n const [showDetailledInfo, setShowDetailledInfo] = useState(false)\n const [cookieOption, setCookieOption] = useState('accept_all')\n const [allowGoogleCookies, setAllowGoogleCookies] = useState(true)\n\n const handleSave = () => {\n let currentOption\n\n if (allowGoogleCookies) {\n currentOption = 'accept_all'\n }\n\n if (!allowGoogleCookies) {\n currentOption = 'only_necessary'\n }\n\n onAccept({ cookieOption: currentOption })\n }\n\n const handleSetCookieOption = option => {\n if (option === 'accept_all') {\n setAllowGoogleCookies(true)\n }\n\n if (option === 'only_necessary') {\n setAllowGoogleCookies(false)\n }\n\n setCookieOption(option)\n }\n\n const renderMainInfo = () => {\n if (showDetailledInfo) {\n return (\n <>\n setShowDetailledInfo(false)}\n >\n {i18n.get('back_title')}\n \n \n {i18n.get('details_and_settings')}\n \n\n
\n\n \n {i18n.get('technically_necessary_cookies')}\n \n )}\n />\n \n\n \n\n
\n\n \n {i18n.get('google_cookies')}\n setAllowGoogleCookies(e.target.checked)}\n />\n )}\n />\n \n\n \n \n )\n }\n\n return (\n <>\n \n {i18n.get('dsgvo_2')}\n \n\n handleSetCookieOption(target.value)}\n >\n }\n />\n }\n />\n \n setShowDetailledInfo(true)}\n >\n {i18n.get('details_and_settings')}\n \n \n )\n }\n\n return (\n handleSave()}\n >\n {i18n.get('save')}\n \n )]}\n >\n {renderMainInfo()}\n \n )\n}\n\nAcceptCookies.propTypes = {\n onAccept: PropTypes.func.isRequired\n}\n\nexport default WithWhitelabelMuiTheme(AcceptCookies)\n","import { connect } from 'react-redux'\n\nimport AcceptCookies from 'components/accept_cookies'\n\nimport { setCookieOption } from 'actions/user'\n\nexport default connect(\n null,\n {\n onAccept: setCookieOption\n }\n)(AcceptCookies)\n","import React, { useEffect } from 'react'\nimport PropTypes from 'prop-types'\nimport { CacheProvider } from '@emotion/react'\nimport { GlobalStyles, TssCacheProvider } from 'tss-react'\nimport createCache from '@emotion/cache'\nimport { Outlet } from 'react-router-dom'\nimport { SnackbarProvider } from 'notistack'\nimport { CssBaseline } from '@mui/material'\nimport { useTheme } from '@mui/material/styles'\n\nimport WithMuiTheme from 'containers/WithMuiTheme'\nimport ForceReload from 'components/force_reload'\nimport AcceptCookies from 'containers/AcceptCookies'\n\nimport usePrefersDarkMode from 'hooks/usePrefersDarkMode'\n\nexport const muiCache = createCache({\n key: 'mui',\n prepend: true\n})\n\nexport const tssCache = createCache({\n key: 'nrx'\n})\n\nconst NewsRadar = ({\n initEnvironment,\n environmentIsLoaded,\n forceReload,\n showCookieDialog,\n isYouTubeReview\n}) => {\n usePrefersDarkMode()\n const theme = useTheme()\n\n useEffect(() => {\n initEnvironment()\n }, [])\n\n // const routesElement = useRoutes(route.routes)\n\n let reloadComp\n\n if (forceReload) {\n reloadComp = \n }\n\n let body\n\n if (environmentIsLoaded) {\n body = (\n <>\n \n {showCookieDialog && }\n \n \n )\n }\n\n if (!body) {\n return null\n }\n\n return (\n <>\n \n\n {isYouTubeReview && (\n \n )}\n\n {reloadComp}\n {body}\n \n )\n}\n\nNewsRadar.propTypes = {\n environmentIsLoaded: PropTypes.bool.isRequired,\n initEnvironment: PropTypes.func.isRequired,\n forceReload: PropTypes.bool.isRequired,\n showCookieDialog: PropTypes.bool.isRequired,\n isYouTubeReview: PropTypes.bool.isRequired\n}\n\nconst StyledNewsRadar = WithMuiTheme(NewsRadar)\n\nexport default function NRX(props) {\n return (\n \n \n \n \n \n \n \n )\n}\n","import { useEffect } from 'react'\nimport { useDispatch } from 'react-redux'\nimport { setPrefersDarkMode } from 'actions/user'\n\nimport { useMediaQuery } from '@mui/material'\n\nexport default function usePrefersDarkMode() {\n const prefersDarkMode = useMediaQuery('(prefers-color-scheme: dark)')\n const dispatch = useDispatch()\n\n useEffect(() => {\n dispatch(setPrefersDarkMode(prefersDarkMode))\n }, [prefersDarkMode])\n\n return prefersDarkMode\n}\n","import { connect } from 'react-redux'\n\nimport NewsRadar from 'components/news_radar'\nimport { initEnvironment } from 'actions/environment'\nimport { getEnvironment, getForceReload, getShowCookieDialog, isYouTubeReview } from 'selectors'\n\nconst mapStateToProps = state => ({\n environmentIsLoaded: getEnvironment(state).get('environmentIsLoaded'),\n forceReload: getForceReload(state),\n showCookieDialog: getShowCookieDialog(state),\n isYouTubeReview: isYouTubeReview(state)\n})\n\nexport default connect(\n mapStateToProps,\n {\n initEnvironment\n }\n)(NewsRadar)\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport { connect } from 'react-redux'\nimport { createTheme, ThemeProvider } from '@mui/material/styles'\nimport { getColors, getWhitelabelColors, getDarkMode, getWhitelabelTheme, getSavedDashboardDarkMode, isInfoboard } from 'selectors'\nimport grey from '@mui/material/colors/grey'\nimport orange from '@mui/material/colors/orange'\n\nconst customPalette = {\n plotlights: {\n light: {\n background: {\n paper: '#FAFAFA',\n default: '#FFFFFF'\n }\n },\n dark: {\n background: {\n paper: '#143D52',\n default: '#1F465A'\n }\n }\n },\n nrx: {\n light: {},\n dark: {}\n }\n}\n\nconst customProps = (primary, accent) => ({\n plotlights: {\n light: {\n paper: {\n backgroundPaperColor: grey[50],\n paperOnBackgroundPaperColor: customPalette.plotlights.light.background.default,\n paperOnBackgroundColor: customPalette.plotlights.light.background.default\n },\n drawer: {\n linkColor: grey[900],\n activeLinkColor: accent\n },\n appBar: {\n backgroundColor: 'inherit'\n },\n charts: {\n axesLabelColor: '#000000',\n axesStrokeColor: '#ffffff',\n labelBackgroundColor: '#ffffff',\n labelColor: grey[700],\n topLabelColor: grey[500],\n backgroundColor: '#ffffff'\n }\n },\n dark: {\n paper: {\n backgroundPaperColor: customPalette.plotlights.dark.background.paper,\n paperOnBackgroundPaperColor: customPalette.plotlights.dark.background.default,\n paperOnBackgroundColor: customPalette.plotlights.dark.background.default\n },\n drawer: {\n linkColor: grey[200],\n activeLinkColor: accent\n },\n appBar: {\n backgroundColor: 'inherit'\n },\n charts: {\n axesLabelColor: '#ffffff',\n axesStrokeColor: '#789789',\n labelBackgroundColor: '#143D52',\n labelColor: '#ffffff',\n topLabelColor: '#ffffff',\n backgroundColor: '#143D52'\n }\n }\n },\n nrx: {\n light: {\n paper: {\n backgroundPaperColor: grey[200],\n paperOnBackgroundColor: grey[200]\n },\n charts: {\n axesLabelColor: '#000000',\n axesStrokeColor: '#ffffff',\n labelBackgroundColor: '#ffffff',\n labelColor: grey[700],\n topLabelColor: grey[500],\n gradientStartColor: '#f6efa6',\n gradientEndColor: '#bf444c'\n }\n },\n dark: {\n paper: {\n backgroundPaperColor: grey[800],\n paperOnBackgroundColor: grey[800]\n },\n drawer: {\n linkColor: grey[200],\n activeLinkColor: primary\n },\n charts: {\n axesLabelColor: '#ffffff',\n axesStrokeColor: '#ffffff',\n labelBackgroundColor: '#1e1e1e',\n labelColor: '#ffffff',\n topLabelColor: '#ffffff',\n backgroundColor: '#1e1e1e',\n gradientStartColor: '#f6efa6',\n gradientEndColor: '#bf444c'\n }\n }\n }\n})\n\nconst componentOverrides = {\n plotlights: {\n light: {},\n dark: {\n MuiPaper: {\n styleOverrides: {\n root: {\n backgroundImage: 'unset'\n }\n }\n }\n }\n },\n nrx: {\n light: {},\n dark: {}\n }\n}\n\nconst cachedThemes = {}\nexport const createThemeWithColors = (primary, accent, highlighting, highlightingBackground, darkMode, whitelabelTheme) => {\n const cacheKey = `${primary}${accent}${highlighting}${highlightingBackground}${darkMode}${whitelabelTheme}`\n const cached = cachedThemes[cacheKey]\n const type = darkMode ? 'dark' : 'light'\n const isPlotlights = whitelabelTheme === 'plotlights'\n\n if (cached) {\n return cached\n }\n\n const theme = createTheme({\n breakpoints: {\n values: {\n xs: 0,\n sm: 600,\n md: 960,\n lg: 1280,\n xl: 1920\n }\n },\n palette: {\n mode: type,\n primary: {\n main: primary,\n contrastText: grey[200]\n },\n secondary: {\n main: accent,\n contrastText: grey[200]\n },\n warning: {\n main: '#ED6C02',\n light: orange[500],\n dark: orange[900],\n contrastText: grey[200]\n },\n ...customPalette[whitelabelTheme][type]\n },\n components: { ...componentOverrides[whitelabelTheme][type] },\n nrx: {\n colors: {\n highlighting: !isPlotlights && darkMode && highlighting === '#000000' ? grey[600] : highlighting,\n highlightingBackground\n },\n drawer: {\n linkColor: grey[900],\n activeLinkColor: primary\n },\n appBar: {\n backgroundColor: 'default'\n },\n smallScrollbar: {\n scrollbarWidth: 'thin',\n scrollbarColor: `${grey[500]} transparent`,\n '&::-webkit-scrollbar': {\n width: '5px'\n },\n '&::-webkit-scrollbar-track': {\n background: 'transparent'\n },\n '&::-webkit-scrollbar-thumb': {\n backgroundColor: grey[500],\n borderRadius: '20px'\n }\n },\n ...customProps(primary, accent)[whitelabelTheme][type]\n },\n isDark: type === 'dark',\n isPlotlights\n })\n\n cachedThemes[cacheKey] = theme\n\n return theme\n}\n\nconst buildHoc = colorSelector => Comp => {\n const WrapperComponent = ({ nrxColors, darkMode, whitelabelTheme, ...props }) => {\n const theme = createThemeWithColors(\n nrxColors.get('primary'),\n nrxColors.get('accent'),\n nrxColors.get('highlighting'),\n nrxColors.get('highlightingBackground'),\n darkMode,\n whitelabelTheme\n )\n\n const compProps = { ...props }\n delete compProps.dispatch\n\n return (\n \n \n \n )\n }\n\n WrapperComponent.propTypes = {\n nrxColors: PropTypes.object.isRequired,\n darkMode: PropTypes.bool.isRequired,\n whitelabelTheme: PropTypes.string.isRequired\n }\n\n WrapperComponent.displayName = `WithMuiTheme(${Comp.name})`\n\n const useDarkMode = (darkMode, state) => {\n if (darkMode !== undefined) {\n return darkMode\n }\n\n if (isInfoboard(state)) {\n return getSavedDashboardDarkMode(state) || false\n }\n\n return getDarkMode(state)\n }\n\n const mapStateToProps = (state, { darkMode }) => ({\n nrxColors: colorSelector(state),\n darkMode: useDarkMode(darkMode, state),\n whitelabelTheme: getWhitelabelTheme(state)\n })\n\n return connect(mapStateToProps)(WrapperComponent)\n}\n\nconst WithMuiTheme = buildHoc(getColors)\nexport const WithWhitelabelMuiTheme = buildHoc(getWhitelabelColors)\n\nexport default WithMuiTheme\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport Select from 'react-select'\nimport CreatableSelect from 'react-select/creatable'\nimport CancelIcon from '@mui/icons-material/Cancel'\nimport classnames from 'classnames'\nimport { emphasize, useTheme } from '@mui/material/styles'\nimport { Typography, TextField, Paper, Chip, MenuItem } from '@mui/material'\n\nimport { makeStyles } from 'tss-react/mui'\n\nconst useStyles = makeStyles()(theme => ({\n root: {\n flexGrow: 1,\n height: 250\n },\n input: {\n display: 'flex',\n padding: 0,\n height: 'auto'\n },\n valueContainer: {\n display: 'flex',\n flexWrap: 'wrap',\n flex: 1,\n alignItems: 'center',\n overflowY: 'auto',\n overflowX: 'hidden',\n maxHeight: 200\n },\n chip: {\n margin: theme.spacing(0.5, 0.25)\n },\n chipFocused: {\n backgroundColor: emphasize(\n theme.palette.mode === 'light' ? theme.palette.grey[300] : theme.palette.grey[700],\n 0.08\n )\n },\n noOptionsMessage: {\n padding: theme.spacing(1, 2)\n },\n singleValue: {\n fontSize: 16\n },\n placeholder: {\n position: 'absolute',\n left: 2,\n bottom: 6,\n fontSize: 16\n },\n paper: {\n position: 'absolute',\n zIndex: 300,\n marginTop: theme.spacing(1),\n left: 0,\n right: 0\n },\n divider: {\n height: theme.spacing(2)\n },\n outlinedValueContainer: {\n minHeight: 51,\n paddingTop: 5,\n paddingLeft: 5\n },\n outlinedValueContainerSingle: {\n paddingLeft: 14\n }\n}))\n\nconst NoOptionsMessage = props => (\n \n {props.children}\n \n)\n\nNoOptionsMessage.propTypes = {\n selectProps: PropTypes.object,\n innerProps: PropTypes.object,\n children: PropTypes.any\n}\n\nconst InputComp = ({ innerRef, inputRef: _inputRef, ...props }) => (\n \n)\n\nInputComp.propTypes = {\n innerRef: PropTypes.any,\n inputRef: PropTypes.any\n}\n\nconst InputCompWrapper = (props, ref) => (\n \n)\n\nconst InputComponent = forwardRef(InputCompWrapper)\n\nconst Control = props => {\n const textFieldProps = { ...props.selectProps.textFieldProps }\n const InputLabelProps = { ...textFieldProps.InputLabelProps }\n InputLabelProps.shrink = InputLabelProps.shrink === undefined ? props.hasValue || undefined : InputLabelProps.shrink\n textFieldProps.label = textFieldProps.label || props.selectProps.label\n textFieldProps.required = textFieldProps.required || props.selectProps.required\n textFieldProps.InputLabelProps = InputLabelProps\n\n return (\n \n )\n}\n\nControl.propTypes = {\n selectProps: PropTypes.object,\n innerProps: PropTypes.object,\n innerRef: PropTypes.any,\n children: PropTypes.any,\n hasValue: PropTypes.bool\n}\n\nconst Option = props => {\n const option = props.options.find(o => o.value === props.value)\n\n let style = {\n fontWeight: props.isSelected ? 500 : 400\n }\n\n if (option && option.style) {\n style = { ...style, ...option.style }\n }\n\n return (\n \n {props.children}\n \n )\n}\n\nOption.propTypes = {\n innerProps: PropTypes.object,\n innerRef: PropTypes.any,\n isSelected: PropTypes.bool,\n isFocused: PropTypes.bool,\n children: PropTypes.any,\n options: PropTypes.array,\n value: PropTypes.any\n}\n\nconst Placeholder = props => (\n \n {props.children}\n \n)\n\nPlaceholder.propTypes = {\n selectProps: PropTypes.object,\n innerProps: PropTypes.object,\n children: PropTypes.any\n}\n\nconst SingleValue = props => (\n \n {props.children}\n \n)\n\nSingleValue.propTypes = {\n selectProps: PropTypes.object,\n innerProps: PropTypes.object,\n data: PropTypes.object,\n children: PropTypes.any\n}\n\nconst ValueContainer = props => {\n const { classes } = props.selectProps\n\n const variant = props.selectProps.variant || 'outlined'\n\n return (\n
\n {props.children}\n
\n )\n}\n\nValueContainer.propTypes = {\n selectProps: PropTypes.object,\n children: PropTypes.any\n}\n\nconst MultiValue = props => {\n if (props.selectProps.hideValues) {\n return
\n }\n\n const children = props.children || ''\n let label = children.slice(0, 30)\n\n if (label.length < children.length) {\n label = `${label}...`\n }\n\n if (props.selectProps.renderValue) {\n return props.selectProps.renderValue(props.data)\n }\n\n return (\n }\n />\n )\n}\n\nMultiValue.propTypes = {\n selectProps: PropTypes.object,\n data: PropTypes.object,\n removeProps: PropTypes.object,\n isFocused: PropTypes.bool,\n children: PropTypes.any,\n hideValues: PropTypes.bool\n}\n\nconst Menu = props => (\n \n {props.children}\n \n)\n\nMenu.propTypes = {\n selectProps: PropTypes.object,\n innerProps: PropTypes.object,\n children: PropTypes.any\n}\n\nconst components = {\n Control,\n Menu,\n MultiValue,\n NoOptionsMessage,\n Option,\n Placeholder,\n SingleValue,\n ValueContainer\n}\n\nconst noOptionsMessage = () => '-'\n\nconst MuiAutocomplete = ({ creatable, disableOptionsSelect, ...props }) => {\n const { classes } = useStyles()\n const theme = useTheme()\n\n const selectStyles = {\n input: base => ({\n ...base,\n color: theme.palette.text.primary,\n '& input': {\n font: 'inherit'\n }\n }),\n indicatorsContainer: base => ({\n ...base,\n cursor: 'pointer'\n })\n }\n\n let Comp = Select\n\n if (creatable) {\n Comp = CreatableSelect\n }\n\n let newComponents = components\n\n if (disableOptionsSelect) {\n newComponents = {\n ...components,\n Menu: () => null,\n DropdownIndicator: () => null,\n IndicatorsContainer: () => null\n }\n }\n\n return (\n \n )\n}\n\nMuiAutocomplete.propTypes = {\n isMulti: PropTypes.bool,\n creatable: PropTypes.bool,\n disableOptionsSelect: PropTypes.bool\n}\n\nexport default MuiAutocomplete\n","import React, { forwardRef, useState } from 'react'\nimport { v4 } from 'uuid'\nimport PropTypes from 'prop-types'\n\nimport { Button } from '../button'\n\nconst MuiBrowseButton = ({ children, innerRef, accept, ...props }) => {\n const id = useState(`upload-${v4()}`)\n const buttonProps = { ...props }\n\n return (\n
\n \n \n
\n )\n}\n\nfunction BrowseButtonWrapper(props, ref) {\n return (\n \n )\n}\n\nexport default forwardRef(BrowseButtonWrapper)\n\nMuiBrowseButton.propTypes = {\n children: PropTypes.any,\n accept: PropTypes.string,\n disabled: PropTypes.bool,\n onChange: PropTypes.func,\n innerRef: PropTypes.any\n}\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport { makeStyles } from 'tss-react/mui'\nimport {\n Dialog,\n DialogActions,\n DialogContent,\n Slide,\n Zoom,\n Typography,\n AppBar,\n Toolbar,\n useMediaQuery\n} from '@mui/material'\nimport { useTheme } from '@mui/material/styles'\n\nimport { IconButton } from 'containers/themed'\n\nconst useStyles = makeStyles()((theme, { toolbar, padding }) => {\n const dialogContent = {}\n\n if (!padding) {\n dialogContent.padding = 0\n }\n\n if (!toolbar) {\n dialogContent.position = 'relative'\n }\n\n return ({\n spacer: {\n flex: 1\n },\n close: {\n color: 'white !important'\n },\n dialogContent,\n closeNoToolbar: {\n position: 'absolute',\n top: 0,\n right: 0,\n zIndex: 300\n }\n })\n})\n\nexport default function MuiDialog({\n onClose,\n open,\n title,\n actions,\n toolbar,\n padding,\n children,\n fullScreen: fScreen,\n classes,\n dialogContentClasses: dialogContentClassesFromProps,\n maxWidth,\n Transition,\n dividers,\n disableBackClick\n}) {\n const { classes: customClasses, cx } = useStyles({ toolbar, padding })\n const theme = useTheme()\n const fullScreen = fScreen || useMediaQuery(theme.breakpoints.down('md'))\n const TransitionComp = Transition || (fullScreen ? Slide : Zoom)\n const TransitionProps = fullScreen ? { direction: 'up' } : undefined\n\n const dialogContentClasses = { ...(dialogContentClassesFromProps || {}) }\n dialogContentClasses.root = cx(customClasses.dialogContent, dialogContentClasses.root)\n\n return (\n onClose() : null}\n maxWidth={maxWidth}\n classes={classes}\n >\n {title && toolbar && (\n \n \n \n
\n {onClose && (\n onClose()}\n size=\"small\"\n />\n )}\n \n \n )}\n\n {title && !toolbar && onClose && (\n
\n onClose()}\n size=\"large\"\n />\n
\n )}\n\n \n {children}\n \n\n {actions && (!Array.isArray(actions) || actions.length > 0) && (\n \n {actions}\n \n )}\n \n )\n}\n\nMuiDialog.defaultProps = {\n maxWidth: 'lg',\n dividers: false,\n disableBackClick: false,\n toolbar: true,\n padding: true\n}\n\nMuiDialog.propTypes = {\n open: PropTypes.bool.isRequired,\n fullScreen: PropTypes.bool,\n actions: PropTypes.any,\n children: PropTypes.any,\n title: PropTypes.string,\n onClose: PropTypes.func,\n maxWidth: PropTypes.string,\n classes: PropTypes.object,\n dialogContentClasses: PropTypes.object,\n Transition: PropTypes.any,\n dividers: PropTypes.bool,\n disableBackClick: PropTypes.bool,\n toolbar: PropTypes.bool,\n padding: PropTypes.bool\n}\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport { TextField } from '@mui/material'\n\nconst MuiInput = ({ innerRef, ...props }) => (\n \n)\n\nfunction InputWrapper(props, ref) {\n return (\n \n )\n}\n\nexport default forwardRef(InputWrapper)\n\nMuiInput.defaultProps = {\n fullWidth: true\n}\n\nMuiInput.propTypes = {\n innerRef: PropTypes.any,\n fullWidth: PropTypes.bool\n}\n","import React, { forwardRef } from 'react'\nimport PropTypes from 'prop-types'\nimport moment from 'moment-timezone'\nimport CloseIcon from '@mui/icons-material/Close'\nimport { TextField, InputAdornment, IconButton } from '@mui/material'\n\nconst Reset = forwardRef(({ handleChange, ...props }, ref) => {\n const InputProps = {\n ...(props.InputProps || {}),\n endAdornment: (\n <>\n {props.InputProps.endAdornment}\n\n \n handleChange(null)}>\n \n \n \n \n )\n }\n\n return (\n \n )\n})\n\nReset.propTypes = {\n handleChange: PropTypes.func.isRequired,\n InputProps: PropTypes.object\n}\n\nexport const handleProps = ({ resettable, ...props }) => {\n const newProps = { ...props }\n delete newProps.dispatch\n\n newProps.maxDate = newProps.maxDate ? moment(newProps.maxDate) : (newProps.maxDate || undefined)\n newProps.minDate = newProps.minDate ? moment(newProps.minDate) : (newProps.minDate || undefined)\n newProps.value = newProps.value ? moment(newProps.value) : (newProps.value || null)\n\n newProps.onChange = value => {\n if (props.onChange && (!value || (value && moment(value).isValid()))) {\n props.onChange(value)\n }\n }\n\n if (!resettable) {\n return newProps\n }\n\n const slots = props.slots || {}\n const slotProps = props.slotProps || {}\n\n slots.textField = Reset\n\n slotProps.textField = {\n handleChange: newProps.onChange,\n foo: 'bar'\n }\n\n newProps.slots = slots\n newProps.slotProps = slotProps\n\n return newProps\n}\n","import React from 'react'\nimport { DatePicker as MuiDatePicker } from '@mui/x-date-pickers/DatePicker'\nimport { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment'\nimport { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'\n\nimport useI18n from 'hooks/useI18n'\nimport { handleProps } from './utils'\n\nexport default function DatePicker(props) {\n const i18n = useI18n()\n const newProps = handleProps(props)\n\n return (\n \n \n \n )\n}\n","import React from 'react'\nimport { DesktopDatePicker } from '@mui/x-date-pickers/DesktopDatePicker'\nimport { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment'\nimport { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'\nimport moment from 'moment'\n\nimport { handleProps } from '../utils'\n\nexport default function InlineDatePicker(props) {\n const newProps = handleProps(props)\n\n return (\n \n \n \n )\n}\n","import React from 'react'\nimport { MobileDateTimePicker } from '@mui/x-date-pickers/MobileDateTimePicker'\nimport { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment'\nimport { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'\n\nimport useI18n from 'hooks/useI18n'\nimport { handleProps } from '../utils'\n\nexport default function DateTimePicker(props) {\n const i18n = useI18n()\n const newProps = handleProps(props)\n\n return (\n \n \n \n )\n}\n","import React from 'react'\nimport { DesktopDateTimePicker } from '@mui/x-date-pickers/DesktopDateTimePicker'\nimport { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment'\nimport { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'\n\nimport { handleProps } from '../utils'\n\nexport default function InlineDateTimePicker(props) {\n const newProps = handleProps(props)\n\n return (\n \n \n \n )\n}\n","import React from 'react'\nimport { StaticDatePicker as MuiStaticDatePicker } from '@mui/x-date-pickers/StaticDatePicker'\nimport { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment'\nimport { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'\nimport moment from 'moment'\n\nimport { handleProps } from '../utils'\n\nexport default function StaticDatePicker(props) {\n const newProps = handleProps(props)\n\n return (\n \n \n \n )\n}\n","import React from 'react'\nimport { StaticTimePicker as MuiStaticTimePicker } from '@mui/x-date-pickers/StaticTimePicker'\nimport { AdapterMoment } from '@mui/x-date-pickers/AdapterMoment'\nimport { LocalizationProvider } from '@mui/x-date-pickers/LocalizationProvider'\nimport moment from 'moment'\n\nimport { handleProps } from '../utils'\n\nexport default function StaticTimePicker(props) {\n const newProps = handleProps(props)\n\n return (\n \n \n \n )\n}\n","import React, { forwardRef, useState } from 'react'\nimport PropTypes from 'prop-types'\nimport MoreVertIcon from '@mui/icons-material/MoreVert'\n\nimport { Menu, IconButton } from '@mui/material'\n\nconst MuiMenu = ({ children, innerRef, handle, ...props }) => {\n const [anchorEl, setAnchorEl] = useState(null)\n const newHandle = React.cloneElement(handle, {\n onClick: event => setAnchorEl(event.currentTarget)\n })\n\n const newChildren = React.Children.map(\n children,\n child => {\n let clickHandler = () => setAnchorEl(null)\n\n if (child && child.props && child.props.onClick) {\n clickHandler = (...args) => {\n child.props.onClick(...args)\n setAnchorEl(null)\n }\n\n return React.cloneElement(child, {\n onClick: clickHandler\n })\n }\n\n return child\n }\n )\n\n return (\n <>\n {newHandle}\n\n setAnchorEl(null)}\n open={Boolean(anchorEl)}\n {...props}\n >\n {newChildren}\n \n \n )\n}\n\nfunction MenuWrapper(props, ref) {\n return (\n \n )\n}\n\nexport default forwardRef(MenuWrapper)\n\nMuiMenu.defaultProps = {\n handle: (\n \n \n \n )\n}\n\nMuiMenu.propTypes = {\n children: PropTypes.any,\n handle: PropTypes.any,\n innerRef: PropTypes.any\n}\n","import React, { forwardRef, useState, useEffect } from 'react'\nimport PropTypes from 'prop-types'\nimport MoreVertIcon from '@mui/icons-material/MoreVert'\n\nimport { Popover, IconButton } from '@mui/material'\n\nconst MuiPopover = ({\n children,\n innerRef,\n handle,\n hover,\n anchorOrigin: aO,\n transformOrigin: tO,\n onOpenChange,\n sx: sxx,\n ...props\n}) => {\n const [anchorEl, setAnchorEl] = useState(null)\n\n useEffect(() => {\n if (onOpenChange) {\n onOpenChange(Boolean(anchorEl))\n }\n }, [anchorEl, onOpenChange])\n\n let eventHandlers = {\n onClick: event => setAnchorEl(event.currentTarget)\n }\n\n let anchorOrigin\n let transformOrigin\n let sx\n\n if (hover) {\n eventHandlers = {\n onMouseEnter: event => setAnchorEl(event.currentTarget),\n onMouseLeave: () => setAnchorEl(null)\n }\n anchorOrigin = { ...({\n vertical: 'bottom',\n horizontal: 'left'\n }),\n ...(aO || {}) }\n transformOrigin = { ...({\n vertical: 'top',\n horizontal: 'left'\n }),\n ...(tO || {}) }\n sx = { ...({\n pointerEvents: 'none'\n }),\n ...(sxx || {}) }\n }\n\n const newHandle = React.cloneElement(handle, eventHandlers)\n\n const newChildren = React.Children.map(\n children,\n child => {\n let clickHandler = () => setAnchorEl(null)\n\n if (child && child.props && child.props.onClick) {\n clickHandler = (...args) => {\n child.props.onClick(...args)\n setAnchorEl(null)\n }\n\n return React.cloneElement(child, {\n onClick: clickHandler\n })\n }\n\n return child\n }\n )\n\n return (\n <>\n {newHandle}\n\n setAnchorEl(null)}\n open={Boolean(anchorEl)}\n anchorOrigin={anchorOrigin || aO}\n transformOrigin={transformOrigin || tO}\n sx={sx}\n {...props}\n >\n {newChildren}\n \n \n )\n}\n\nfunction PopoverWrapper(props, ref) {\n return (\n \n )\n}\n\nexport default forwardRef(PopoverWrapper)\n\nMuiPopover.defaultProps = {\n handle: (\n \n \n \n )\n}\n\nMuiPopover.propTypes = {\n children: PropTypes.any,\n handle: PropTypes.any,\n innerRef: PropTypes.any,\n hover: PropTypes.bool,\n anchorOrigin: PropTypes.object,\n transformOrigin: PropTypes.object,\n sx: PropTypes.object,\n\n onOpenChange: PropTypes.func\n}\n","import React from 'react'\nimport PropTypes from 'prop-types'\nimport TextField from '@mui/material/TextField'\nimport Autocomplete from '@mui/material/Autocomplete'\nimport CircularProgress from '@mui/material/CircularProgress'\nimport { IconButton } from 'containers/themed'\nimport YoutubeSearchedFor from '@mui/icons-material/YoutubeSearchedFor'\nimport AddCircle from '@mui/icons-material/AddCircle'\n\nconst AutocompleteAsync = props => {\n const [options, setOptions] = React.useState([])\n const loading = options.length === 0\n\n React.useEffect(() => {\n if (!loading) {\n return undefined\n }\n\n return () => {\n }\n }, [loading])\n\n React.useEffect(() => {\n if (props.options.length > 0) {\n setOptions(props.options)\n }\n }, [props])\n\n return (\n option.title === value}\n getOptionLabel={option => option.title}\n renderInput={params => (\n \n {props.loading ? (\n \n ) : null}\n {/* {params.InputProps.endAdornment} */}\n \n \n \n \n \n \n \n )\n }}\n />\n )}\n />\n )\n}\n\nAutocompleteAsync.propTypes = {\n loading: PropTypes.bool.isRequired,\n options: PropTypes.array.isRequired,\n label: PropTypes.string.isRequired\n}\n\nexport default AutocompleteAsync\n","import { useSelector } from 'react-redux'\nimport { getI18n } from 'selectors'\n\nexport default function useI18n() {\n return useSelector(getI18n)\n}\n","import { useEffect, useRef, useState } from 'react'\n\nexport default function useInterval(callback, delay) {\n const savedCallback = useRef()\n const [intervalId, setIntervalId] = useState(null)\n\n useEffect(() => {\n savedCallback.current = callback\n }, [callback])\n\n useEffect(() => {\n const tick = () => savedCallback.current()\n\n const id = setInterval(tick, delay)\n setIntervalId(id)\n\n return () => clearInterval(id)\n }, [delay])\n\n return intervalId\n}\n","import { useEffect, useRef } from 'react'\n\nexport default function usePrevious(value) {\n const ref = useRef()\n\n useEffect(() => {\n ref.current = value\n }, [value])\n\n if (ref.current === undefined) {\n return value\n }\n\n return ref.current\n}\n","import { useState, useEffect } from 'react'\n\nimport usePrevious from 'hooks/usePrevious'\n\nexport default function useSavingSuccess(saving, delay = 2000) {\n const [showSuccess, setShowSuccess] = useState(false)\n const previousSaving = usePrevious(saving)\n\n useEffect(() => {\n if (previousSaving === true && saving === false) {\n setShowSuccess(true)\n }\n\n const timeout = setTimeout(() => {\n setShowSuccess(false)\n }, delay)\n\n return () => clearTimeout(timeout)\n }, [previousSaving, saving, delay])\n\n return showSuccess\n}\n"],"names":["useStyles","makeStyles","theme","loading","position","indicator","color","palette","grey","left","success","green","opacity","animation","keyframes","defaultContained","getContrastText","backgroundColor","boxShadow","defaultOutlined","text","primary","borderColor","mode","border","action","disabledBackground","alpha","hoverOpacity","defaultText","MuiButton","_ref","saving","children","innerRef","props","classes","cx","showSuccess","useSavingSuccess","buttonProps","variant","root","disabled","className","React","_Button","_extends","ref","_CircularProgress","size","CheckIcon","ButtonWrapper","forwardRef","propTypes","PropTypes","PrimaryButton","Button","RaisedPrimaryButton","SecondaryButton","RaisedSecondaryButton","top","MuiIconButton","iconComp","icon","_Icon","key","_IconButton","IconButtonWrapper","emptyValueDummy","Select","options","required","label","value","error","info","name","onChange","displayEmpty","open","onOpen","onClose","i18n","useI18n","errorText","_FormHelperText","get","newOptions","newValue","find","o","map","_FormControl","Boolean","fullWidth","_InputLabel","_Select","event","target","option","isCategory","_ListSubheader","_MenuItem","title","defaultProps","message","display","alignItems","fontSize","marginRight","snackbarContent","common","white","secondary","main","maxWidth","reload","window","location","ForceReload","seconds","setSeconds","useState","diff","useInterval","_Snackbar","anchorOrigin","vertical","horizontal","_SnackbarContent","ErrorIcon","onClick","switchContainer","justifyContent","AcceptCookies","onAccept","showDetailledInfo","setShowDetailledInfo","cookieOption","setCookieOption","allowGoogleCookies","setAllowGoogleCookies","Dialog","actions","handleSave","currentOption","_Typography","_FormControlLabel","control","_Switch","checked","dangerouslySetInnerHTML","__html","e","_RadioGroup","_ref2","_Radio","WithWhitelabelMuiTheme","connect","muiCache","createCache","prepend","tssCache","NewsRadar","initEnvironment","environmentIsLoaded","forceReload","showCookieDialog","isYouTubeReview","prefersDarkMode","_useMediaQuery","dispatch","useDispatch","useEffect","setPrefersDarkMode","usePrefersDarkMode","useTheme","reloadComp","body","_CssBaseline","Outlet","GlobalStyles","styles","fontFamily","li","listStyleType","ul","a","textDecoration","letterSpacing","breakpoints","only","overflowX","nrx","colors","highlighting","highlightingBackground","padding","fontWeight","fontStyle","borderRadius","background","paper","outline","fill","default","StyledNewsRadar","WithMuiTheme","state","getEnvironment","getForceReload","getShowCookieDialog","CacheProvider","TssCacheProvider","SnackbarProvider","maxSnack","preventDuplicate","customPalette","plotlights","light","dark","customProps","accent","backgroundPaperColor","paperOnBackgroundPaperColor","paperOnBackgroundColor","drawer","linkColor","activeLinkColor","appBar","charts","axesLabelColor","axesStrokeColor","labelBackgroundColor","labelColor","topLabelColor","gradientStartColor","gradientEndColor","componentOverrides","MuiPaper","styleOverrides","backgroundImage","cachedThemes","buildHoc","colorSelector","Comp","WrapperComponent","nrxColors","darkMode","whitelabelTheme","createThemeWithColors","cacheKey","cached","type","isPlotlights","createTheme","values","xs","sm","md","lg","xl","contrastText","warning","orange","components","smallScrollbar","scrollbarWidth","scrollbarColor","width","isDark","compProps","ThemeProvider","displayName","useDarkMode","undefined","isInfoboard","getSavedDashboardDarkMode","getDarkMode","mapStateToProps","getWhitelabelTheme","getColors","getWhitelabelColors","flexGrow","height","input","valueContainer","flexWrap","flex","overflowY","maxHeight","chip","margin","spacing","chipFocused","emphasize","noOptionsMessage","singleValue","placeholder","bottom","zIndex","marginTop","right","divider","outlinedValueContainer","minHeight","paddingTop","paddingLeft","outlinedValueContainerSingle","NoOptionsMessage","selectProps","innerProps","InputComp","inputRef","_inputRef","InputCompWrapper","InputComponent","Control","textFieldProps","InputLabelProps","shrink","hasValue","_TextField","isDisabled","InputProps","sx","inputComponent","inputProps","Option","style","isSelected","selected","isFocused","component","Placeholder","SingleValue","data","ValueContainer","classnames","isMulti","MultiValue","hideValues","slice","length","renderValue","_Chip","tabIndex","onDelete","removeProps","deleteIcon","CancelIcon","Menu","_Paper","square","MuiAutocomplete","creatable","disableOptionsSelect","selectStyles","base","font","indicatorsContainer","cursor","CreatableSelect","newComponents","DropdownIndicator","IndicatorsContainer","closeMenuOnSelect","MuiBrowseButton","accept","id","v4","htmlFor","BrowseButtonWrapper","toolbar","dialogContent","spacer","close","closeNoToolbar","MuiDialog","fullScreen","fScreen","dialogContentClasses","dialogContentClassesFromProps","Transition","dividers","disableBackClick","customClasses","down","TransitionComp","_Slide","_Zoom","TransitionProps","direction","_Dialog","TransitionComponent","_AppBar","enableColorOnDark","_Toolbar","IconButton","_DialogContent","Array","isArray","_DialogActions","MuiInput","InputWrapper","Reset","handleChange","endAdornment","_InputAdornment","CloseIcon","handleProps","resettable","newProps","maxDate","moment","minDate","isValid","slots","slotProps","textField","foo","DatePicker","LocalizationProvider","dateAdapter","AdapterMoment","MuiDatePicker","autoOk","clearable","localeText","cancelButtonLabel","clearButtonLabel","InlineDatePicker","dateLibInstance","DesktopDatePicker","DateTimePicker","MobileDateTimePicker","InlineDateTimePicker","DesktopDateTimePicker","StaticDatePicker","MuiStaticDatePicker","StaticTimePicker","MuiStaticTimePicker","MuiMenu","handle","anchorEl","setAnchorEl","newHandle","currentTarget","newChildren","child","clickHandler","arguments","_Menu","MenuWrapper","MoreVertIcon","MuiPopover","hover","aO","transformOrigin","tO","onOpenChange","sxx","eventHandlers","onMouseEnter","onMouseLeave","pointerEvents","_Popover","PopoverWrapper","AutocompleteAsync","setOptions","Autocomplete","isOptionEqualToValue","getOptionLabel","renderInput","params","TextField","autoFocus","CircularProgress","YoutubeSearchedFor","AddCircle","useSelector","getI18n","callback","delay","savedCallback","useRef","intervalId","setIntervalId","current","setInterval","tick","clearInterval","usePrevious","setShowSuccess","previousSaving","timeout","setTimeout","clearTimeout"],"sourceRoot":""}