<commit_before>import { createElement } from 'react';
import LogMonitor from 'redux-devtools-log-monitor';
import ChartMonitor from 'redux-devtools-chart-monitor';
import SliderMonitor from 'redux-slider-monitor';
import DiffMonitor from './DiffMonitor';
import InspectorMonitor from 'redux-devtools-inspector';

const monitorTypes = location.hash ? location.hash.substr(1).split('/') : {};

export default (props) => {
  switch (monitorTypes[0]) {
    case 'SliderMonitor': return createElement(SliderMonitor, props);
    case 'ChartMonitor': return createElement(ChartMonitor, props);<commit_msg>Use `defaultIsVisible` prop for Chart Monitor 1.2.0<commit_after>import { createElement } from 'react';
import LogMonitor from 'redux-devtools-log-monitor';
import ChartMonitor from 'redux-devtools-chart-monitor';
import SliderMonitor from 'redux-slider-monitor';
import DiffMonitor from './DiffMonitor';
import InspectorMonitor from 'redux-devtools-inspector';

const monitorTypes = location.hash ? location.hash.substr(1).split('/') : {};

export default (props) => {
  switch (monitorTypes[0]) {
    case 'SliderMonitor': return createElement(SliderMonitor, props);
    case 'ChartMonitor': return createElement(ChartMonitor, { ...props, defaultIsVisible: true });
{'fraction_non_alphanumeric': 0.12885375494071147, 'fraction_numerical': 0.005533596837944664, 'mean_word_length': 6.193181818181818, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '7294427', 'n_tokens_mistral': 350, 'n_tokens_neox': 348, 'n_words': 93}