@weng-lab/ui-components 1.2.1-beta.1 → 1.2.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,4 +1,4 @@
1
- import { _ as f } from "./index-Dvku0UK7.js";
1
+ import { _ as f } from "./index-0GheV_kP.js";
2
2
  const o = {
3
3
  config: {
4
4
  isInitialized: !1
@@ -75,4 +75,4 @@ async function I() {
75
75
  export {
76
76
  I as default
77
77
  };
78
- //# sourceMappingURL=get-context-Bup2O1Q8.js.map
78
+ //# sourceMappingURL=get-context-99Dc0eIz.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"get-context-Bup2O1Q8.js","sources":["../../../node_modules/.pnpm/@mui+x-telemetry@8.18.0/node_modules/@mui/x-telemetry/esm/context.js","../../../node_modules/.pnpm/@mui+x-telemetry@8.18.0/node_modules/@mui/x-telemetry/esm/runtime/window-storage.js","../../../node_modules/.pnpm/@mui+x-telemetry@8.18.0/node_modules/@mui/x-telemetry/esm/runtime/get-context.js"],"sourcesContent":["// This file will be modified by the `postinstall` script.\n// See postinstall/index.ts for more information.\n\nconst defaultValue = {\n config: {\n isInitialized: false\n },\n traits: {}\n};\nexport default defaultValue;","const prefix = '__mui_x_telemetry_';\nfunction getStorageKey(key) {\n return prefix + btoa(key);\n}\nexport function setWindowStorageItem(type, key, value) {\n try {\n if (typeof window !== 'undefined' && window[type]) {\n window[type].setItem(getStorageKey(key), value);\n return true;\n }\n } catch (_) {\n // Storage is unavailable, skip it\n }\n return false;\n}\nexport function getWindowStorageItem(type, key) {\n try {\n if (typeof window !== 'undefined' && window[type]) {\n return window[type].getItem(getStorageKey(key));\n }\n } catch (_) {\n // Storage is unavailable, skip it\n }\n return null;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport telemetryContext from \"../context.js\";\nimport { getWindowStorageItem, setWindowStorageItem } from \"./window-storage.js\";\nfunction generateId(length) {\n let result = '';\n const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n const charactersLength = characters.length;\n let counter = 0;\n while (counter < length) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n counter += 1;\n }\n return result;\n}\nfunction pick(obj, keys) {\n return keys.reduce((acc, key) => {\n acc[key] = obj[key];\n return acc;\n }, {});\n}\nconst getBrowserFingerprint = typeof window === 'undefined' || process.env.NODE_ENV === 'test' ? () => undefined : async () => {\n const fingerprintLCKey = 'fingerprint';\n try {\n const existingFingerprint = getWindowStorageItem('localStorage', fingerprintLCKey);\n if (existingFingerprint) {\n return JSON.parse(existingFingerprint);\n }\n const FingerprintJS = await import('@fingerprintjs/fingerprintjs');\n const fp = await FingerprintJS.load({\n monitoring: false\n });\n const fpResult = await fp.get();\n const components = _extends({}, fpResult.components);\n delete components.cookiesEnabled;\n const fullHash = FingerprintJS.hashComponents(components);\n const coreHash = FingerprintJS.hashComponents(_extends({}, pick(components, ['fonts', 'audio', 'languages', 'deviceMemory', 'timezone', 'sessionStorage', 'localStorage', 'indexedDB', 'openDatabase', 'platform', 'canvas', 'vendor', 'vendorFlavors', 'colorGamut', 'forcedColors', 'monochrome', 'contrast', 'reducedMotion', 'math', 'videoCard', 'architecture'])));\n const result = {\n fullHash,\n coreHash\n };\n setWindowStorageItem('localStorage', fingerprintLCKey, JSON.stringify(result));\n return result;\n } catch (_) {\n return null;\n }\n};\nfunction getAnonymousId() {\n const localStorageKey = 'anonymous_id';\n const existingAnonymousId = getWindowStorageItem('localStorage', localStorageKey);\n if (existingAnonymousId) {\n return existingAnonymousId;\n }\n const generated = `anid_${generateId(32)}`;\n if (setWindowStorageItem('localStorage', localStorageKey, generated)) {\n return generated;\n }\n return '';\n}\nfunction getSessionId() {\n const localStorageKey = 'session_id';\n const existingSessionId = getWindowStorageItem('sessionStorage', localStorageKey);\n if (existingSessionId) {\n return existingSessionId;\n }\n const generated = `sesid_${generateId(32)}`;\n if (setWindowStorageItem('sessionStorage', localStorageKey, generated)) {\n return generated;\n }\n return `sestp_${generateId(32)}`;\n}\nasync function getTelemetryContext() {\n telemetryContext.traits.sessionId = getSessionId();\n\n // Initialize the context if it hasn't been initialized yet\n // (e.g. postinstall not run)\n if (!telemetryContext.config.isInitialized) {\n telemetryContext.traits.anonymousId = getAnonymousId();\n telemetryContext.config.isInitialized = true;\n }\n if (!telemetryContext.traits.fingerprint) {\n telemetryContext.traits.fingerprint = await getBrowserFingerprint();\n }\n return telemetryContext;\n}\nexport default getTelemetryContext;"],"names":["defaultValue","prefix","getStorageKey","key","setWindowStorageItem","type","value","getWindowStorageItem","generateId","length","result","characters","charactersLength","counter","pick","obj","keys","acc","getBrowserFingerprint","fingerprintLCKey","existingFingerprint","FingerprintJS","fpResult","components","_extends","fullHash","coreHash","getAnonymousId","localStorageKey","existingAnonymousId","generated","getSessionId","existingSessionId","getTelemetryContext","telemetryContext"],"mappings":";AAGA,MAAMA,IAAe;AAAA,EACnB,QAAQ;AAAA,IACN,eAAe;AAAA,EACnB;AAAA,EACE,QAAQ,CAAA;AACV,GCRMC,IAAS;AACf,SAASC,EAAcC,GAAK;AAC1B,SAAOF,IAAS,KAAKE,CAAG;AAC1B;AACO,SAASC,EAAqBC,GAAMF,GAAKG,GAAO;AACrD,MAAI;AACF,QAAI,OAAO,SAAW,OAAe,OAAOD,CAAI;AAC9C,oBAAOA,CAAI,EAAE,QAAQH,EAAcC,CAAG,GAAGG,CAAK,GACvC;AAAA,EAEX,QAAY;AAAA,EAEZ;AACA,SAAO;AACT;AACO,SAASC,EAAqBF,GAAMF,GAAK;AAC9C,MAAI;AACF,QAAI,OAAO,SAAW,OAAe,OAAOE,CAAI;AAC9C,aAAO,OAAOA,CAAI,EAAE,QAAQH,EAAcC,CAAG,CAAC;AAAA,EAElD,QAAY;AAAA,EAEZ;AACA,SAAO;AACT;ACrBA,SAASK,EAAWC,GAAQ;AAC1B,MAAIC,IAAS;AACb,QAAMC,IAAa,kEACbC,IAAmBD,EAAW;AACpC,MAAIE,IAAU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tB,EAAW,EAAE,CAAC;AACxC,SAAIJ,EAAqB,gBAAgBwB,GAAiBE,CAAS,IAC1DA,IAEF;AACT;AACA,SAASC,IAAe;AACtB,QAAMH,IAAkB,cAClBI,IAAoBzB,EAAqB,kBAAkBqB,CAAe;AAChF,MAAII;AACF,WAAOA;AAET,QAAMF,IAAY,SAAStB,EAAW,EAAE,CAAC;AACzC,SAAIJ,EAAqB,kBAAkBwB,GAAiBE,CAAS,IAC5DA,IAEF,SAAStB,EAAW,EAAE,CAAC;AAChC;AACA,eAAeyB,IAAsB;AACnCC,SAAAA,EAAiB,OAAO,YAAYH,EAAY,GAI3CG,EAAiB,OAAO,kBAC3BA,EAAiB,OAAO,cAAcP,EAAc,GACpDO,EAAiB,OAAO,gBAAgB,KAErCA,EAAiB,OAAO,gBAC3BA,EAAiB,OAAO,cAAc,MAAMhB,EAAqB,IAE5DgB;AACT;","x_google_ignoreList":[0,1,2]}
1
+ {"version":3,"file":"get-context-99Dc0eIz.js","sources":["../../../node_modules/.pnpm/@mui+x-telemetry@8.18.0/node_modules/@mui/x-telemetry/esm/context.js","../../../node_modules/.pnpm/@mui+x-telemetry@8.18.0/node_modules/@mui/x-telemetry/esm/runtime/window-storage.js","../../../node_modules/.pnpm/@mui+x-telemetry@8.18.0/node_modules/@mui/x-telemetry/esm/runtime/get-context.js"],"sourcesContent":["// This file will be modified by the `postinstall` script.\n// See postinstall/index.ts for more information.\n\nconst defaultValue = {\n config: {\n isInitialized: false\n },\n traits: {}\n};\nexport default defaultValue;","const prefix = '__mui_x_telemetry_';\nfunction getStorageKey(key) {\n return prefix + btoa(key);\n}\nexport function setWindowStorageItem(type, key, value) {\n try {\n if (typeof window !== 'undefined' && window[type]) {\n window[type].setItem(getStorageKey(key), value);\n return true;\n }\n } catch (_) {\n // Storage is unavailable, skip it\n }\n return false;\n}\nexport function getWindowStorageItem(type, key) {\n try {\n if (typeof window !== 'undefined' && window[type]) {\n return window[type].getItem(getStorageKey(key));\n }\n } catch (_) {\n // Storage is unavailable, skip it\n }\n return null;\n}","import _extends from \"@babel/runtime/helpers/esm/extends\";\nimport telemetryContext from \"../context.js\";\nimport { getWindowStorageItem, setWindowStorageItem } from \"./window-storage.js\";\nfunction generateId(length) {\n let result = '';\n const characters = 'ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz0123456789';\n const charactersLength = characters.length;\n let counter = 0;\n while (counter < length) {\n result += characters.charAt(Math.floor(Math.random() * charactersLength));\n counter += 1;\n }\n return result;\n}\nfunction pick(obj, keys) {\n return keys.reduce((acc, key) => {\n acc[key] = obj[key];\n return acc;\n }, {});\n}\nconst getBrowserFingerprint = typeof window === 'undefined' || process.env.NODE_ENV === 'test' ? () => undefined : async () => {\n const fingerprintLCKey = 'fingerprint';\n try {\n const existingFingerprint = getWindowStorageItem('localStorage', fingerprintLCKey);\n if (existingFingerprint) {\n return JSON.parse(existingFingerprint);\n }\n const FingerprintJS = await import('@fingerprintjs/fingerprintjs');\n const fp = await FingerprintJS.load({\n monitoring: false\n });\n const fpResult = await fp.get();\n const components = _extends({}, fpResult.components);\n delete components.cookiesEnabled;\n const fullHash = FingerprintJS.hashComponents(components);\n const coreHash = FingerprintJS.hashComponents(_extends({}, pick(components, ['fonts', 'audio', 'languages', 'deviceMemory', 'timezone', 'sessionStorage', 'localStorage', 'indexedDB', 'openDatabase', 'platform', 'canvas', 'vendor', 'vendorFlavors', 'colorGamut', 'forcedColors', 'monochrome', 'contrast', 'reducedMotion', 'math', 'videoCard', 'architecture'])));\n const result = {\n fullHash,\n coreHash\n };\n setWindowStorageItem('localStorage', fingerprintLCKey, JSON.stringify(result));\n return result;\n } catch (_) {\n return null;\n }\n};\nfunction getAnonymousId() {\n const localStorageKey = 'anonymous_id';\n const existingAnonymousId = getWindowStorageItem('localStorage', localStorageKey);\n if (existingAnonymousId) {\n return existingAnonymousId;\n }\n const generated = `anid_${generateId(32)}`;\n if (setWindowStorageItem('localStorage', localStorageKey, generated)) {\n return generated;\n }\n return '';\n}\nfunction getSessionId() {\n const localStorageKey = 'session_id';\n const existingSessionId = getWindowStorageItem('sessionStorage', localStorageKey);\n if (existingSessionId) {\n return existingSessionId;\n }\n const generated = `sesid_${generateId(32)}`;\n if (setWindowStorageItem('sessionStorage', localStorageKey, generated)) {\n return generated;\n }\n return `sestp_${generateId(32)}`;\n}\nasync function getTelemetryContext() {\n telemetryContext.traits.sessionId = getSessionId();\n\n // Initialize the context if it hasn't been initialized yet\n // (e.g. postinstall not run)\n if (!telemetryContext.config.isInitialized) {\n telemetryContext.traits.anonymousId = getAnonymousId();\n telemetryContext.config.isInitialized = true;\n }\n if (!telemetryContext.traits.fingerprint) {\n telemetryContext.traits.fingerprint = await getBrowserFingerprint();\n }\n return telemetryContext;\n}\nexport default getTelemetryContext;"],"names":["defaultValue","prefix","getStorageKey","key","setWindowStorageItem","type","value","getWindowStorageItem","generateId","length","result","characters","charactersLength","counter","pick","obj","keys","acc","getBrowserFingerprint","fingerprintLCKey","existingFingerprint","FingerprintJS","fpResult","components","_extends","fullHash","coreHash","getAnonymousId","localStorageKey","existingAnonymousId","generated","getSessionId","existingSessionId","getTelemetryContext","telemetryContext"],"mappings":";AAGA,MAAMA,IAAe;AAAA,EACnB,QAAQ;AAAA,IACN,eAAe;AAAA,EACnB;AAAA,EACE,QAAQ,CAAA;AACV,GCRMC,IAAS;AACf,SAASC,EAAcC,GAAK;AAC1B,SAAOF,IAAS,KAAKE,CAAG;AAC1B;AACO,SAASC,EAAqBC,GAAMF,GAAKG,GAAO;AACrD,MAAI;AACF,QAAI,OAAO,SAAW,OAAe,OAAOD,CAAI;AAC9C,oBAAOA,CAAI,EAAE,QAAQH,EAAcC,CAAG,GAAGG,CAAK,GACvC;AAAA,EAEX,QAAY;AAAA,EAEZ;AACA,SAAO;AACT;AACO,SAASC,EAAqBF,GAAMF,GAAK;AAC9C,MAAI;AACF,QAAI,OAAO,SAAW,OAAe,OAAOE,CAAI;AAC9C,aAAO,OAAOA,CAAI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CAAC,GACtEA;AAAA,EACT,QAAY;AACV,WAAO;AAAA,EACT;AACF;AACA,SAASiB,IAAiB;AACxB,QAAMC,IAAkB,gBAClBC,IAAsBtB,EAAqB,gBAAgBqB,CAAe;AAChF,MAAIC;AACF,WAAOA;AAET,QAAMC,IAAY,QAAQtB,EAAW,EAAE,CAAC;AACxC,SAAIJ,EAAqB,gBAAgBwB,GAAiBE,CAAS,IAC1DA,IAEF;AACT;AACA,SAASC,IAAe;AACtB,QAAMH,IAAkB,cAClBI,IAAoBzB,EAAqB,kBAAkBqB,CAAe;AAChF,MAAII;AACF,WAAOA;AAET,QAAMF,IAAY,SAAStB,EAAW,EAAE,CAAC;AACzC,SAAIJ,EAAqB,kBAAkBwB,GAAiBE,CAAS,IAC5DA,IAEF,SAAStB,EAAW,EAAE,CAAC;AAChC;AACA,eAAeyB,IAAsB;AACnCC,SAAAA,EAAiB,OAAO,YAAYH,EAAY,GAI3CG,EAAiB,OAAO,kBAC3BA,EAAiB,OAAO,cAAcP,EAAc,GACpDO,EAAiB,OAAO,gBAAgB,KAErCA,EAAiB,OAAO,gBAC3BA,EAAiB,OAAO,cAAc,MAAMhB,EAAqB,IAE5DgB;AACT;","x_google_ignoreList":[0,1,2]}
@@ -47253,7 +47253,7 @@ async function wU(e) {
47253
47253
  return;
47254
47254
  const {
47255
47255
  default: t
47256
- } = await import("./get-context-Bup2O1Q8.js"), n = await t();
47256
+ } = await import("./get-context-99Dc0eIz.js"), n = await t();
47257
47257
  if (!e || !vU(n))
47258
47258
  return;
47259
47259
  const r = x({}, e, {
@@ -51236,7 +51236,7 @@ const FW = ({
51236
51236
  }, [e]);
51237
51237
  Xt(e, Ut.DataSource, "rowTreeCreation", n), Xt(e, Ut.DataSource, "filtering", r), Xt(e, Ut.DataSource, "sorting", s), Xt(e, Ut.DataSource, "visibleRowsLookupCreation", od);
51238
51238
  }, Nh = async () => {
51239
- const e = await import("./exceljs.min-B4muYodk.js").then((t) => t.e);
51239
+ const e = await import("./exceljs.min-CzNdLbKw.js").then((t) => t.e);
51240
51240
  return e.default ?? e;
51241
51241
  }, jE = (e, t, n, r) => {
51242
51242
  const s = Math.max(...t.map(({
@@ -59386,17 +59386,18 @@ const dl = {
59386
59386
  filename: n,
59387
59387
  disabled: r = !1,
59388
59388
  displayName: s,
59389
- assay: i
59389
+ assay: i,
59390
+ ontology: l
59390
59391
  }) => {
59391
- const [l, a] = Fn(null), { onDownload: c } = r0(), u = (g) => {
59392
- g && t && !l && nf(t, a);
59393
- }, d = (g) => {
59394
- if (c && t) {
59395
- let b;
59396
- s && i ? b = `${s}_${i}` : b = n || t.split("/").pop() || "download", c(t, b);
59397
- }
59398
- }, f = l ? of(l) : "Loading file size";
59399
- return /* @__PURE__ */ h.jsx(wi, { onMouseEnter: () => u(!0), onMouseLeave: () => u(!1), children: /* @__PURE__ */ h.jsx(au, { title: e ? e(f) : null, placement: "left", arrow: !0, children: /* @__PURE__ */ h.jsx("span", { children: /* @__PURE__ */ h.jsx(ov, { href: t, download: n, disabled: r, onClick: d, children: /* @__PURE__ */ h.jsx(rv, {}) }) }) }) });
59392
+ const [a, c] = Fn(null), { onDownload: u } = r0(), d = (b) => {
59393
+ b && t && !a && nf(t, c);
59394
+ }, f = (b) => {
59395
+ if (u && t) {
59396
+ let y;
59397
+ s && i ? y = `${l ? `${l}_` : ""}${s}_${i}` : y = n || t.split("/").pop() || "download", u(t, y);
59398
+ }
59399
+ }, g = a ? of(a) : "Loading file size";
59400
+ return /* @__PURE__ */ h.jsx(wi, { onMouseEnter: () => d(!0), onMouseLeave: () => d(!1), children: /* @__PURE__ */ h.jsx(au, { title: e ? e(g) : null, placement: "left", arrow: !0, children: /* @__PURE__ */ h.jsx("span", { children: /* @__PURE__ */ h.jsx(ov, { href: t, download: n, disabled: r, onClick: f, children: /* @__PURE__ */ h.jsx(rv, {}) }) }) }) });
59400
59401
  }, z9 = {
59401
59402
  adipose: [{ label: "All Biosamples", filename: "adipose.noccl.cCREs.bed" }],
59402
59403
  adrenal_gland: [{ label: "All Biosamples", filename: "adrenal_gland.noccl.cCREs.bed" }],
@@ -59499,17 +59500,16 @@ const dl = {
59499
59500
  }, C = Vr(() => {
59500
59501
  if (!g || g.length === 0) return;
59501
59502
  const v = [];
59502
- r && v.push(b), i && v.push(y), v.forEach((P, E) => {
59503
- if (!P) return;
59504
- const T = `https://downloads.wenglab.org/${P}`;
59503
+ r && b && v.push({ filename: b, label: "excluding_cancer_cell_lines" }), i && y && v.push({ filename: y, label: "all_biosamples" }), v.forEach(({ filename: P, label: E }, T) => {
59504
+ const S = `https://downloads.wenglab.org/${P}`;
59505
59505
  setTimeout(() => {
59506
59506
  if (f) {
59507
- const I = `${e}_aggregate`;
59508
- f(T, I);
59507
+ const k = `${e}_aggregate_ccres_${E}`;
59508
+ f(S, k);
59509
59509
  }
59510
- const S = document.createElement("a");
59511
- S.href = T, S.download = P, document.body.appendChild(S), S.click(), document.body.removeChild(S);
59512
- }, E * 500);
59510
+ const I = document.createElement("a");
59511
+ I.href = S, I.download = P, document.body.appendChild(I), I.click(), document.body.removeChild(I);
59512
+ }, T * 500);
59513
59513
  });
59514
59514
  }, [i, y, g, b, r, f, e]);
59515
59515
  return /* @__PURE__ */ h.jsxs(h.Fragment, { children: [
@@ -59773,7 +59773,8 @@ const dl = {
59773
59773
  message: (t) => `Download DNase z-score by cCRE (.tsv) - ${t}`,
59774
59774
  url: e.value,
59775
59775
  displayName: e.row.displayname,
59776
- assay: "DNase"
59776
+ assay: "DNase",
59777
+ ontology: e.row.ontology
59777
59778
  }
59778
59779
  ),
59779
59780
  groupable: !1,
@@ -59788,7 +59789,8 @@ const dl = {
59788
59789
  message: (t) => `Download H3K4me3 z-score by cCRE (.tsv) - ${t}`,
59789
59790
  url: e.value,
59790
59791
  displayName: e.row.displayname,
59791
- assay: "H3K4me3"
59792
+ assay: "H3K4me3",
59793
+ ontology: e.row.ontology
59792
59794
  }
59793
59795
  ),
59794
59796
  groupable: !1,
@@ -59803,7 +59805,8 @@ const dl = {
59803
59805
  message: (t) => `Download H3K27ac z-score by cCRE (.tsv) - ${t}`,
59804
59806
  url: e.value,
59805
59807
  displayName: e.row.displayname,
59806
- assay: "H3K27ac"
59808
+ assay: "H3K27ac",
59809
+ ontology: e.row.ontology
59807
59810
  }
59808
59811
  ),
59809
59812
  groupable: !1,
@@ -59818,7 +59821,8 @@ const dl = {
59818
59821
  message: (t) => `Download CTCF z-score by cCRE (.tsv) - ${t}`,
59819
59822
  url: e.value,
59820
59823
  displayName: e.row.displayname,
59821
- assay: "CTCF"
59824
+ assay: "CTCF",
59825
+ ontology: e.row.ontology
59822
59826
  }
59823
59827
  ),
59824
59828
  groupable: !1,
@@ -59833,7 +59837,8 @@ const dl = {
59833
59837
  message: (t) => `Download ATAC z-score by cCRE (.tsv) - ${t}`,
59834
59838
  url: e.value,
59835
59839
  displayName: e.row.displayname,
59836
- assay: "ATAC"
59840
+ assay: "ATAC",
59841
+ ontology: e.row.ontology
59837
59842
  }
59838
59843
  ),
59839
59844
  groupable: !1,
@@ -59847,7 +59852,8 @@ const dl = {
59847
59852
  message: (t) => `Download DNase Signal (.bigWig) - ${t}`,
59848
59853
  url: e.value,
59849
59854
  displayName: e.row.displayname,
59850
- assay: "DNase"
59855
+ assay: "DNase",
59856
+ ontology: e.row.ontology
59851
59857
  }
59852
59858
  ),
59853
59859
  groupable: !1,
@@ -59861,7 +59867,8 @@ const dl = {
59861
59867
  message: (t) => `Download H3K4me3 Signal (.bigWig) - ${t}`,
59862
59868
  url: e.value,
59863
59869
  displayName: e.row.displayname,
59864
- assay: "H3K4me3"
59870
+ assay: "H3K4me3",
59871
+ ontology: e.row.ontology
59865
59872
  }
59866
59873
  ),
59867
59874
  groupable: !1,
@@ -59875,7 +59882,8 @@ const dl = {
59875
59882
  message: (t) => `Download H3K27ac Signal (.bigWig) - ${t}`,
59876
59883
  url: e.value,
59877
59884
  displayName: e.row.displayname,
59878
- assay: "H3K27ac"
59885
+ assay: "H3K27ac",
59886
+ ontology: e.row.ontology
59879
59887
  }
59880
59888
  ),
59881
59889
  groupable: !1,
@@ -59889,7 +59897,8 @@ const dl = {
59889
59897
  message: (t) => `Download CTCF Signal (.bigWig) - ${t}`,
59890
59898
  url: e.value,
59891
59899
  displayName: e.row.displayname,
59892
- assay: "CTCF"
59900
+ assay: "CTCF",
59901
+ ontology: e.row.ontology
59893
59902
  }
59894
59903
  ),
59895
59904
  groupable: !1,
@@ -59903,7 +59912,8 @@ const dl = {
59903
59912
  message: (t) => `Download ATAC Signal (.bigWig) - ${t}`,
59904
59913
  url: e.value,
59905
59914
  displayName: e.row.displayname,
59906
- assay: "ATAC"
59915
+ assay: "ATAC",
59916
+ ontology: e.row.ontology
59907
59917
  }
59908
59918
  ),
59909
59919
  groupable: !1,
@@ -59917,7 +59927,8 @@ const dl = {
59917
59927
  message: (t) => `Download ChromHMM States (.bigBed) - ${t}`,
59918
59928
  url: e.value,
59919
59929
  displayName: e.row.displayname,
59920
- assay: "ChromHMM"
59930
+ assay: "ChromHMM",
59931
+ ontology: e.row.ontology
59921
59932
  }
59922
59933
  ),
59923
59934
  groupable: !1,
@@ -59951,7 +59962,8 @@ const dl = {
59951
59962
  url: e.value,
59952
59963
  disabled: !e.value,
59953
59964
  displayName: e.row.displayname,
59954
- assay: "cCREs"
59965
+ assay: "cCREs",
59966
+ ontology: e.row.ontology
59955
59967
  }
59956
59968
  );
59957
59969
  },
@@ -59967,7 +59979,8 @@ const dl = {
59967
59979
  url: e.value,
59968
59980
  disabled: !e.value,
59969
59981
  displayName: e.row.displayname,
59970
- assay: "cCREs"
59982
+ assay: "cCREs",
59983
+ ontology: e.row.ontology
59971
59984
  }
59972
59985
  ),
59973
59986
  groupable: !1,
@@ -62786,4 +62799,4 @@ export {
62786
62799
  Ex as y,
62787
62800
  hL as z
62788
62801
  };
62789
- //# sourceMappingURL=index-Dvku0UK7.js.map
62802
+ //# sourceMappingURL=index-0GheV_kP.js.map