{
  "version": 3,
  "sources": ["../../../src/utils/visual/switchTheme.ts"],
  "sourcesContent": ["import { safeWindow } from 'constants/window.constants';\nimport { ThemesEnum } from 'types/theme.types';\n\nexport function switchTheme(theme: `${ThemesEnum}`) {\n  try {\n    if (!safeWindow) {\n      return;\n    }\n    safeWindow.document.documentElement.dataset.mvxTheme = theme;\n  } catch (_err) {\n    console.log('Error switching the theme!');\n  }\n}\n"],
  "mappings": "yaAAA,IAAAA,EAAA,GAAAC,EAAAD,EAAA,iBAAAE,IAAA,eAAAC,EAAAH,GAAA,IAAAI,EAA2B,sCAGpB,SAASF,EAAYG,EAAwB,CAClD,GAAI,CACF,GAAI,CAAC,aACH,OAEF,aAAW,SAAS,gBAAgB,QAAQ,SAAWA,CACzD,MAAe,CACb,QAAQ,IAAI,4BAA4B,CAC1C,CACF",
  "names": ["switchTheme_exports", "__export", "switchTheme", "__toCommonJS", "import_window", "theme"]
}
