Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
import InstrumentPanel from './instrumentpanel';
import IpNavBar from './navbar';
import SettingsPanel from './settings/settingspanel';
import StreamBundle from '../streambundle';
import HelpComponent from '../util/help';
import {getUrlParameter} from '../util/browser';
import {ResetComponent} from './settings/resetsettings';
import {TouchAppComponent} from '../svg/SvgTouchApp24px';
import {retrieveColorScheme} from '../util/localstorage';
import {CS_BY_OS} from './settings/colorschemesettings';
var streamBundle = new StreamBundle();
var instrumentPanel = new InstrumentPanel(streamBundle);
const notificationPageId = -1;
instrumentPanel.colorSchemeTool = prefersColorScheme();
var model = BaconModel.Model.combine({
isLocked: BaconModel.Model(true),
settingsVisible: BaconModel.Model(false),
gridSettings: instrumentPanel.gridSettingsModel,
helpVisible: BaconModel.Model(window.location.hash === '#help')
});
const ReactGridLayout = WidthProvider(RGL);
class App extends React.Component {
constructor(props) {
super(props);
this.state = this.props.model.get();
this.wrapWidget = this.wrapWidget.bind(this);
this.generateClickmeElement = this.generateClickmeElement.bind(this);