INNER CODE UNIT · JavaScript
$
oncologylab/fp-tools · src/fp_tools/resources/static_browser/app.js:3
const $ = (id) => document.getElementById(id);
const bootstrap = window.fpToolsBrowserBootstrap || { mode: "bundle" };
const plotControls = window.fpToolsPlotControls;
const state = {
mode: bootstrap.mode === "embedded" ? "embedded" : "bundle",
review: null,
metadata: null,
entry: null,
comparisonIndex: 0,
payload: null,
motifs: [],
aggregate: new Map(),
profileAxis: [],
first: "",
second: "",
selected: [],
active: 0,
sampleStyles: new Map(),