@ts4nfdi/terminology-service-suite 7.8.0 → 7.9.0

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,69 +1,69 @@
1
1
  "use client";
2
- var Uo = Object.defineProperty;
3
- var zo = (e, t, n) => t in e ? Uo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
- var H = (e, t, n) => zo(e, typeof t != "symbol" ? t + "" : t, n);
2
+ var zo = Object.defineProperty;
3
+ var jo = (e, t, n) => t in e ? zo(e, t, { enumerable: !0, configurable: !0, writable: !0, value: n }) : e[t] = n;
4
+ var H = (e, t, n) => jo(e, typeof t != "symbol" ? t + "" : t, n);
5
5
  import rn from "axios";
6
6
  import { jsx as i, jsxs as h, Fragment as E } from "react/jsx-runtime";
7
- import kt, { useState as q, useContext as Gr, useRef as dt, createContext as jo, useLayoutEffect as Wo, useEffect as Re, useReducer as Bo, useMemo as bt, useCallback as Vr, memo as Yr } from "react";
8
- import { EuiIconTip as Ho, EuiBadge as $o, EuiIcon as Ct, EuiLoadingSpinner as De, EuiText as ae, EuiFlexItem as V, EuiLink as Tt, EuiButtonIcon as Pt, EuiPanel as Xe, EuiFlexGroup as Je, EuiTitle as qn, EuiButton as Mt, EuiSpacer as Te, EuiAccordion as Jo, EuiHealth as Qt, EuiCard as en, EuiBasicTable as qr, EuiPopover as bi, EuiTextColor as Go, EuiButtonEmpty as Xr, EuiImage as Vo, EuiProvider as Kr, EuiFormRow as jt, EuiFieldText as Yo, EuiSwitch as Wn, EuiTabbedContent as qo, euiPaletteColorBlind as Xo, EuiComboBox as Qr, EuiToolTip as Ko, EuiHighlight as ri, EuiFieldSearch as Qo, EuiCheckbox as Vt, EuiInMemoryTable as Un, EuiModal as Zo, EuiModalHeader as es, EuiModalHeaderTitle as ts, EuiModalBody as ns, EuiCallOut as is, EuiHorizontalRule as Zr, EuiScreenReaderOnly as rs, EuiDescriptionList as os, EuiSelectable as An, EuiTablePagination as ss } from "@elastic/eui";
9
- import { useQuery as Ae, QueryClient as eo, QueryClientProvider as as } from "react-query";
10
- import { DataSet as hr } from "vis-data";
7
+ import kt, { useState as q, useContext as Yr, useRef as dt, createContext as Wo, useLayoutEffect as Bo, useEffect as Re, useReducer as Ho, useMemo as bt, useCallback as qr, memo as Xr } from "react";
8
+ import { EuiIconTip as $o, EuiBadge as Jo, EuiIcon as Ct, EuiLoadingSpinner as De, EuiText as ae, EuiFlexItem as V, EuiLink as Tt, EuiButtonIcon as Pt, EuiPanel as Xe, EuiFlexGroup as Je, EuiTitle as qn, EuiButton as Mt, EuiSpacer as Te, EuiAccordion as Go, EuiHealth as Qt, EuiCard as en, EuiBasicTable as Kr, EuiPopover as bi, EuiTextColor as Vo, EuiButtonEmpty as Qr, EuiImage as Yo, EuiProvider as Ci, EuiFormRow as jt, EuiFieldText as qo, EuiSwitch as Wn, EuiTabbedContent as Xo, euiPaletteColorBlind as Ko, EuiComboBox as Zr, EuiToolTip as Qo, EuiHighlight as ri, EuiFieldSearch as Zo, EuiCheckbox as Vt, EuiInMemoryTable as Un, EuiModal as es, EuiModalHeader as ts, EuiModalHeaderTitle as ns, EuiModalBody as is, EuiCallOut as rs, EuiHorizontalRule as eo, EuiScreenReaderOnly as os, EuiDescriptionList as ss, EuiSelectable as An, EuiTablePagination as as } from "@elastic/eui";
9
+ import { useQuery as Ae, QueryClient as Oi, QueryClientProvider as to } from "react-query";
10
+ import { DataSet as fr } from "vis-data";
11
11
  import { Network as ls } from "vis-network";
12
12
  import "@google/model-viewer";
13
- import { css as Ci } from "@emotion/react";
13
+ import { css as xi } from "@emotion/react";
14
14
  const Dt = [
15
15
  "class",
16
16
  "term",
17
17
  "skos:Concept",
18
18
  "http://www.w3.org/2004/02/skos/core#Concept"
19
- ], to = [
19
+ ], no = [
20
20
  "property",
21
21
  "annotationProperty",
22
22
  "dataProperty",
23
23
  "objectProperty"
24
- ], no = ["individual"], Oi = ["ontology"], vn = [
24
+ ], io = ["individual"], _i = ["ontology"], vn = [
25
25
  ...Dt,
26
- ...no,
27
- ...to
28
- ], io = [
26
+ ...io,
27
+ ...no
28
+ ], ro = [
29
29
  ...vn,
30
- ...Oi
30
+ ..._i
31
31
  ];
32
32
  function wn(e) {
33
33
  return Dt.includes(e);
34
34
  }
35
- function xi(e) {
36
- return to.includes(e);
35
+ function Ni(e) {
36
+ return no.includes(e);
37
37
  }
38
38
  function St(e) {
39
- return no.includes(e);
39
+ return io.includes(e);
40
40
  }
41
- function _i(e) {
42
- return Oi.includes(e);
41
+ function Ai(e) {
42
+ return _i.includes(e);
43
43
  }
44
- function Ni(e) {
44
+ function Li(e) {
45
45
  return vn.includes(e);
46
46
  }
47
- function Ai(e) {
48
- return io.includes(e);
47
+ function Ri(e) {
48
+ return ro.includes(e);
49
49
  }
50
50
  function gn(e) {
51
51
  return wn(e.getType());
52
52
  }
53
53
  function yn(e) {
54
- return xi(e.getType());
54
+ return Ni(e.getType());
55
55
  }
56
- function Li(e) {
56
+ function Di(e) {
57
57
  return St(e.getType());
58
58
  }
59
59
  function on(e) {
60
- return Ni(e.getType());
60
+ return Li(e.getType());
61
61
  }
62
62
  function cs(e) {
63
- return _i(e.getType());
63
+ return Ai(e.getType());
64
64
  }
65
65
  function ds(e) {
66
- if (xi(e))
66
+ if (Ni(e))
67
67
  return "property";
68
68
  if (St(e))
69
69
  return "individual";
@@ -105,14 +105,14 @@ const us = "https://raw.githubusercontent.com/OBOFoundry/OBOFoundry.github.io/ma
105
105
  function j(e) {
106
106
  return Array.isArray(e) ? e : e ? [e] : [];
107
107
  }
108
- function pr(e) {
108
+ function gr(e) {
109
109
  return e instanceof K ? e : K.fromJson(e)[0];
110
110
  }
111
111
  const hs = !0;
112
112
  function $e(e) {
113
113
  return e !== void 0 ? e : hs;
114
114
  }
115
- function ro(e) {
115
+ function oo(e) {
116
116
  return e === "term" ? "class" : e;
117
117
  }
118
118
  function xt(e) {
@@ -132,12 +132,12 @@ function Et(e, t, n, o) {
132
132
  }
133
133
  function yt(e, t) {
134
134
  for (const n of j(e))
135
- if (Ai(n)) {
135
+ if (Ri(n)) {
136
136
  if (wn(n))
137
137
  return $e(t) ? "terms" : "classes";
138
- if (xi(n)) return "properties";
138
+ if (Ni(n)) return "properties";
139
139
  if (St(n)) return "individuals";
140
- if (_i(n)) return "ontologies";
140
+ if (Ai(n)) return "ontologies";
141
141
  }
142
142
  throw new Error("No thingType found to pluralize in provided typeArray.");
143
143
  }
@@ -149,7 +149,7 @@ function ps(e, t) {
149
149
  return;
150
150
  }
151
151
  }
152
- function oo(e, t) {
152
+ function so(e, t) {
153
153
  for (const n of j(e))
154
154
  switch (n) {
155
155
  case "terms":
@@ -194,8 +194,8 @@ function gs(e, t) {
194
194
  function ot(e, t = "information") {
195
195
  return e.message === "Response contains 0 elements" ? "No elements found" : `No ${t} available`;
196
196
  }
197
- function so(e) {
198
- let t = e.filter((n) => Ai(n));
197
+ function ao(e) {
198
+ let t = e.filter((n) => Ri(n));
199
199
  if (t = t.map(
200
200
  (n) => n === "annotationProperty" || n === "objectProperty" || n === "dataProperty" ? "property" : n
201
201
  ), t = [
@@ -229,7 +229,7 @@ function zn(e, t, n, o) {
229
229
  ...je(o)
230
230
  };
231
231
  }
232
- function Ri(e) {
232
+ function ki(e) {
233
233
  const t = {
234
234
  rows: e == null ? void 0 : e.size
235
235
  };
@@ -242,7 +242,7 @@ function ms(e, t, n, o) {
242
242
  };
243
243
  return s.q = e.query, e.groupByIri && (s.groupField = e.groupByIri), e.types && (s.type = e.types), e.ontology && (s.ontology = e.ontology), r && e.queryFields && (s.queryFields = e.queryFields), {
244
244
  ...s,
245
- ...Ri(t),
245
+ ...ki(t),
246
246
  ...n,
247
247
  ...je(o)
248
248
  };
@@ -261,12 +261,12 @@ function ws(e) {
261
261
  (a === "ontologyId" || a === "type") && (t[a] = s);
262
262
  }), t;
263
263
  }
264
- function fr(e, t, n, o) {
264
+ function yr(e, t, n, o) {
265
265
  return {
266
266
  ...{
267
267
  q: e.query
268
268
  },
269
- ...Ri(t),
269
+ ...ki(t),
270
270
  ...n,
271
271
  ...je(o)
272
272
  };
@@ -276,7 +276,7 @@ function bs(e, t, n, o) {
276
276
  ...{
277
277
  q: e.query
278
278
  },
279
- ...Ri(t),
279
+ ...ki(t),
280
280
  ...n,
281
281
  ...je(o)
282
282
  };
@@ -284,7 +284,7 @@ function bs(e, t, n, o) {
284
284
  function Ln(e) {
285
285
  return e === "http://www.w3.org/2002/07/owl#Thing" || e === "http://www.w3.org/2002/07/owl#TopObjectProperty";
286
286
  }
287
- function Di(e) {
287
+ function Pi(e) {
288
288
  if (e.error)
289
289
  throw Error(
290
290
  e.status + " " + e.error + " - " + e.message + " - " + e.exception + " at " + e.path
@@ -293,7 +293,7 @@ function Di(e) {
293
293
  throw Error("Response contains 0 elements");
294
294
  return e;
295
295
  }
296
- class ki {
296
+ class Mi {
297
297
  constructor(t) {
298
298
  H(this, "axiosInstance");
299
299
  this.axiosInstance = typeof t == "string" ? rn.create({
@@ -303,7 +303,7 @@ class ki {
303
303
  }
304
304
  async makeCall(t, n, o) {
305
305
  const r = $e(o) ? "" : "v2/", s = (await this.axiosInstance.get(r + t, n)).data;
306
- return Di(s);
306
+ return Pi(s);
307
307
  }
308
308
  getFullUrl(t, n, o) {
309
309
  const r = $e(o) ? "" : "v2/";
@@ -333,7 +333,7 @@ class bn {
333
333
  return this.linkedEntities[t];
334
334
  }
335
335
  }
336
- class ao {
336
+ class lo {
337
337
  constructor(t) {
338
338
  H(this, "properties");
339
339
  this.properties = t;
@@ -386,7 +386,7 @@ class ao {
386
386
  return this.properties.annotation && this.properties.annotation.depiction ? this.properties.annotation.depiction : [];
387
387
  }
388
388
  }
389
- class Pi extends ao {
389
+ class Fi extends lo {
390
390
  isCanonical() {
391
391
  return this.properties.is_defining_ontology === !0;
392
392
  }
@@ -493,7 +493,7 @@ class Pi extends ao {
493
493
  return o.getMetadata();
494
494
  }
495
495
  }
496
- class Ts extends Pi {
496
+ class Ts extends Fi {
497
497
  getType() {
498
498
  return "class";
499
499
  }
@@ -530,7 +530,7 @@ class Ts extends Pi {
530
530
  return j(this.properties.in_subset) || [];
531
531
  }
532
532
  }
533
- class vs extends Pi {
533
+ class vs extends Fi {
534
534
  getType() {
535
535
  return "individual";
536
536
  }
@@ -591,7 +591,7 @@ class Is {
591
591
  );
592
592
  }
593
593
  }
594
- class Es extends ao {
594
+ class Es extends lo {
595
595
  getType() {
596
596
  return "ontology";
597
597
  }
@@ -708,7 +708,7 @@ class Es extends ao {
708
708
  return this.properties.config.annotations.license;
709
709
  }
710
710
  }
711
- class Ss extends Pi {
711
+ class Ss extends Fi {
712
712
  getType() {
713
713
  return "property";
714
714
  }
@@ -751,7 +751,7 @@ class Ss extends Pi {
751
751
  );
752
752
  }
753
753
  }
754
- class lo {
754
+ class co {
755
755
  constructor(t) {
756
756
  H(this, "properties");
757
757
  this.properties = t;
@@ -769,7 +769,7 @@ class lo {
769
769
  getType() {
770
770
  const t = this.properties.type;
771
771
  for (const n of t)
772
- if (Ai(n))
772
+ if (Ri(n))
773
773
  return n;
774
774
  throw new Error("unknown type");
775
775
  }
@@ -830,7 +830,7 @@ class lo {
830
830
  return this.properties[t] && typeof this.properties[t] == "string" ? [this.properties[t]] : Array.isArray(this.properties[t]) ? this.properties[t] : [];
831
831
  }
832
832
  }
833
- class Mi extends lo {
833
+ class Ui extends co {
834
834
  isCanonical() {
835
835
  return this.properties.isDefiningOntology;
836
836
  }
@@ -925,7 +925,7 @@ class Mi extends lo {
925
925
  return o.getMetadata();
926
926
  }
927
927
  }
928
- class Cs extends Mi {
928
+ class Cs extends Ui {
929
929
  getParents() {
930
930
  return K.fromJson(this.properties.hierarchicalParent);
931
931
  }
@@ -953,7 +953,7 @@ class Cs extends Mi {
953
953
  ) || [];
954
954
  }
955
955
  }
956
- class Os extends Mi {
956
+ class Os extends Ui {
957
957
  getParents() {
958
958
  return K.fromJson(this.properties.directParent);
959
959
  }
@@ -1011,7 +1011,7 @@ class xs {
1011
1011
  );
1012
1012
  }
1013
1013
  }
1014
- class _s extends lo {
1014
+ class _s extends co {
1015
1015
  getOntologyId() {
1016
1016
  return this.properties.ontologyId;
1017
1017
  }
@@ -1108,7 +1108,7 @@ class _s extends lo {
1108
1108
  return this.properties.allowDownload;
1109
1109
  }
1110
1110
  }
1111
- class Ns extends Mi {
1111
+ class Ns extends Ui {
1112
1112
  getParents() {
1113
1113
  return K.fromJson(
1114
1114
  this.properties["http://www.w3.org/2000/01/rdf-schema#subPropertyOf"]
@@ -1168,7 +1168,7 @@ function ct(e) {
1168
1168
  n = "ontology";
1169
1169
  else {
1170
1170
  if (e.elements[0] === void 0) throw Error("Empty response.");
1171
- n = so(e.elements[0].type);
1171
+ n = ao(e.elements[0].type);
1172
1172
  }
1173
1173
  if (n === void 0)
1174
1174
  throw Error("Entity type could not be correctly inferred.");
@@ -1235,7 +1235,7 @@ function Rt(e, t, n) {
1235
1235
  if (e.length > 0) return e[0];
1236
1236
  throw Error("Empty response.");
1237
1237
  }
1238
- class Me extends ki {
1238
+ class Me extends Mi {
1239
1239
  constructor() {
1240
1240
  super(...arguments);
1241
1241
  /**
@@ -1640,7 +1640,7 @@ class Ds {
1640
1640
  return this.properties.synonym;
1641
1641
  }
1642
1642
  }
1643
- class Fi extends ki {
1643
+ class zi extends Mi {
1644
1644
  constructor() {
1645
1645
  super(...arguments);
1646
1646
  H(this, "search", async (n, o, r, s, a) => this.makeCall(
@@ -1659,7 +1659,7 @@ class Fi extends ki {
1659
1659
  H(this, "select", async (n, o, r, s) => this.makeCall(
1660
1660
  "select",
1661
1661
  {
1662
- params: fr(
1662
+ params: yr(
1663
1663
  n,
1664
1664
  o,
1665
1665
  r,
@@ -1705,7 +1705,7 @@ class Fi extends ki {
1705
1705
  return this.getFullUrl(
1706
1706
  "select",
1707
1707
  {
1708
- params: fr(
1708
+ params: yr(
1709
1709
  n,
1710
1710
  o,
1711
1711
  r,
@@ -1721,7 +1721,7 @@ function ks(e) {
1721
1721
  }
1722
1722
  function $n({ text: e }) {
1723
1723
  return /* @__PURE__ */ i(
1724
- Ho,
1724
+ $o,
1725
1725
  {
1726
1726
  css: {
1727
1727
  maxWidth: "580px",
@@ -1750,7 +1750,7 @@ function tn({
1750
1750
  r.key === "Enter" && r.currentTarget.click();
1751
1751
  },
1752
1752
  children: /* @__PURE__ */ i(
1753
- $o,
1753
+ Jo,
1754
1754
  {
1755
1755
  className: t ? "badge clickable-badge" : "badge",
1756
1756
  color: o || "#6dccb1",
@@ -1864,11 +1864,11 @@ function Ps(e) {
1864
1864
  )
1865
1865
  ] });
1866
1866
  }
1867
- function co(e) {
1867
+ function uo(e) {
1868
1868
  const { descText: t, description: n, isLoading: o, error: r, className: s } = e;
1869
1869
  return /* @__PURE__ */ i("div", { className: s || "ts4nfdi-description-style", "data-testid": "description", children: o ? /* @__PURE__ */ i("div", { "data-testid": "description", children: /* @__PURE__ */ i(De, { size: "s" }) }) : r ? /* @__PURE__ */ i("div", { "data-testid": "description", children: /* @__PURE__ */ i(ae, { children: ot(r, "description") }) }) : /* @__PURE__ */ i(ae, { children: t || n }) });
1870
1870
  }
1871
- class sn extends ki {
1871
+ class sn extends Mi {
1872
1872
  constructor() {
1873
1873
  super(...arguments);
1874
1874
  H(this, "getOntologies", async (n, o, r, s, a = !0) => this.makeCall(
@@ -1953,7 +1953,7 @@ class sn extends ki {
1953
1953
  return ct(s);
1954
1954
  }
1955
1955
  }
1956
- class Ui {
1956
+ class ji {
1957
1957
  constructor(t) {
1958
1958
  H(this, "axiosInstance");
1959
1959
  H(this, "entityService");
@@ -1965,11 +1965,11 @@ class Ui {
1965
1965
  }
1966
1966
  async makeCall(t, n, o) {
1967
1967
  const r = $e(o) ? "" : "v2/", s = (await this.axiosInstance.get(r + t, n)).data;
1968
- return Di(s);
1968
+ return Pi(s);
1969
1969
  }
1970
1970
  async getThingObject(t, n, o, r, s) {
1971
1971
  if (n)
1972
- if (_i(n)) {
1972
+ if (Ai(n)) {
1973
1973
  if (o)
1974
1974
  return await this.ontologyService.getOntologyObject(
1975
1975
  o,
@@ -1977,11 +1977,11 @@ class Ui {
1977
1977
  s
1978
1978
  );
1979
1979
  throw new Error(
1980
- `ontologyId has to be provided if thingType in {"${Oi.join(
1980
+ `ontologyId has to be provided if thingType in {"${_i.join(
1981
1981
  '", "'
1982
1982
  )}"}.`
1983
1983
  );
1984
- } else if (Ni(n)) {
1984
+ } else if (Li(n)) {
1985
1985
  if (t)
1986
1986
  return await this.entityService.getEntityObject(
1987
1987
  t,
@@ -1997,7 +1997,7 @@ class Ui {
1997
1997
  );
1998
1998
  } else
1999
1999
  throw new Error(
2000
- `Unsupported thingType "${n}" provided. Must be in {"${io.join(
2000
+ `Unsupported thingType "${n}" provided. Must be in {"${ro.join(
2001
2001
  '", "'
2002
2002
  )}"}.`
2003
2003
  );
@@ -2034,7 +2034,7 @@ function Fs(e) {
2034
2034
  useLegacy: l,
2035
2035
  className: c,
2036
2036
  ...u
2037
- } = e, p = new Ui(t), { data: y, isLoading: T, isError: b, error: f } = Ae(
2037
+ } = e, p = new ji(t), { data: y, isLoading: T, isError: b, error: f } = Ae(
2038
2038
  ["description", t, a, s, o, n, l],
2039
2039
  async () => p.getThingObject(
2040
2040
  o,
@@ -2045,7 +2045,7 @@ function Fs(e) {
2045
2045
  )
2046
2046
  );
2047
2047
  return /* @__PURE__ */ i(
2048
- co,
2048
+ uo,
2049
2049
  {
2050
2050
  description: y ? y.getDescription() : Ms,
2051
2051
  descText: r,
@@ -2093,7 +2093,7 @@ function mn(e) {
2093
2093
  s < e.ontolist.length - 1 && /* @__PURE__ */ i(E, { children: " " })
2094
2094
  ] }, pe())) });
2095
2095
  }
2096
- function zi(e) {
2096
+ function Wi(e) {
2097
2097
  const t = e.className || "ts4nfdi-entity-defined-by-style";
2098
2098
  return /* @__PURE__ */ i("div", { className: t, children: e.ontolist && e.ontolist.length > 0 && /* @__PURE__ */ h(ae, { style: { fontWeight: "normal" }, children: [
2099
2099
  "Defined by ",
@@ -2124,7 +2124,7 @@ function tc(e) {
2124
2124
  ))._embedded;
2125
2125
  f = I[Object.keys(I)[0]].filter(
2126
2126
  (A) => A.is_defining_ontology
2127
- ).map((A) => A.ontology_name), v = r || oo(Object.keys(I)[0]), m = I[Object.keys(I)[0]][0].label;
2127
+ ).map((A) => A.ontology_name), v = r || so(Object.keys(I)[0]), m = I[Object.keys(I)[0]][0].label;
2128
2128
  } else {
2129
2129
  const I = await c.getEntityObject(
2130
2130
  t,
@@ -2140,7 +2140,7 @@ function tc(e) {
2140
2140
  );
2141
2141
  return /* @__PURE__ */ h("div", { "data-testid": "entity-defined-by", children: [
2142
2142
  y && u && /* @__PURE__ */ i(
2143
- zi,
2143
+ Wi,
2144
2144
  {
2145
2145
  ontolist: u.ontoList,
2146
2146
  entityType: u.entityType,
@@ -2154,7 +2154,7 @@ function tc(e) {
2154
2154
  T && /* @__PURE__ */ i(ae, { children: ot(b, "ontology list") })
2155
2155
  ] });
2156
2156
  }
2157
- function ji(e) {
2157
+ function Bi(e) {
2158
2158
  const t = e.className || "ts4nfdi-entity-onto-list-style";
2159
2159
  return /* @__PURE__ */ i("div", { className: t, children: e.ontolist && e.ontolist.length > 0 && /* @__PURE__ */ h(ae, { style: { fontWeight: "normal" }, children: [
2160
2160
  "Also appears in ",
@@ -2185,7 +2185,7 @@ function nc(e) {
2185
2185
  ))._embedded, A = I[Object.keys(I)[0]].filter(
2186
2186
  (S) => S.is_defining_ontology
2187
2187
  ).map((S) => S.ontology_name);
2188
- f = I[Object.keys(I)[0]].map((S) => S.ontology_name).filter((S) => !A.includes(S)), v = r || oo(Object.keys(I)[0]), m = I[Object.keys(I)[0]][0].label;
2188
+ f = I[Object.keys(I)[0]].map((S) => S.ontology_name).filter((S) => !A.includes(S)), v = r || so(Object.keys(I)[0]), m = I[Object.keys(I)[0]][0].label;
2189
2189
  } else {
2190
2190
  const I = await c.getEntityObject(
2191
2191
  t,
@@ -2201,7 +2201,7 @@ function nc(e) {
2201
2201
  );
2202
2202
  return /* @__PURE__ */ h("div", { "data-testid": "entity-onto-list", children: [
2203
2203
  y && u && /* @__PURE__ */ i(
2204
- ji,
2204
+ Bi,
2205
2205
  {
2206
2206
  ontolist: u.ontoList,
2207
2207
  entityType: u.entityType,
@@ -2215,7 +2215,7 @@ function nc(e) {
2215
2215
  T && /* @__PURE__ */ i(ae, { children: ot(b, "ontology list") })
2216
2216
  ] });
2217
2217
  }
2218
- function uo(e) {
2218
+ function ho(e) {
2219
2219
  const {
2220
2220
  iri: t,
2221
2221
  iriText: n,
@@ -2278,14 +2278,14 @@ var Ti = function() {
2278
2278
  for (var t, n = 1, o = arguments.length; n < o; n++) for (var r in t = arguments[n]) Object.prototype.hasOwnProperty.call(t, r) && (e[r] = t[r]);
2279
2279
  return e;
2280
2280
  }).apply(this, arguments);
2281
- }, Yt, qt, Xt, vi = jo(void 0), gr = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-MML-AM_CHTML", yr = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.js", mr = "https://cdn.jsdelivr.net/npm/mathjax@4.1.0/tex-mml-chtml.js", Us = function(y) {
2282
- var t = y.config, n = y.version, n = n === void 0 ? 4 : n, o = y.src, o = o === void 0 ? n === 2 ? gr : n === 3 ? yr : mr : o, r = y.onStartup, s = y.onLoad, c = y.asyncLoad, a = c !== void 0 && c, l = y.onError, c = y.typesettingOptions, u = y.renderMode, u = u === void 0 ? "post" : u, p = y.hideUntilTypeset, y = y.children, b = Gr(vi);
2281
+ }, Yt, qt, Xt, vi = Wo(void 0), mr = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/2.7.9/MathJax.js?config=TeX-MML-AM_CHTML", wr = "https://cdnjs.cloudflare.com/ajax/libs/mathjax/3.2.2/es5/tex-mml-chtml.js", br = "https://cdn.jsdelivr.net/npm/mathjax@4.1.0/tex-mml-chtml.js", Us = function(y) {
2282
+ var t = y.config, n = y.version, n = n === void 0 ? 4 : n, o = y.src, o = o === void 0 ? n === 2 ? mr : n === 3 ? wr : br : o, r = y.onStartup, s = y.onLoad, c = y.asyncLoad, a = c !== void 0 && c, l = y.onError, c = y.typesettingOptions, u = y.renderMode, u = u === void 0 ? "post" : u, p = y.hideUntilTypeset, y = y.children, b = Yr(vi);
2283
2283
  if ((b == null ? void 0 : b.version) !== void 0 && (b == null ? void 0 : b.version) !== n) throw Error("Cannot nest MathJaxContexts with different versions. MathJaxContexts should not be nested at all but if they are, they cannot have different versions. Stick with one version of MathJax in your app and avoid using more than one MathJaxContext.");
2284
2284
  if (n === 2 && (qt !== void 0 || Xt !== void 0) || n === 3 && (Yt !== void 0 || Xt !== void 0) || n === 4 && (Yt !== void 0 || qt !== void 0)) throw Error("Cannot use two MathJax versions simultaneously in the same app due to how MathJax is set up in the browser; either you have multiple MathJaxContexts with different versions or you have mounted and unmounted MathJaxContexts with different versions. Please stick with one version of MathJax in your app. File an issue in the project Github page if you need this feature.");
2285
2285
  var T = dt(b), b = dt((b == null ? void 0 : b.version) || null);
2286
2286
  if (b.current === null) b.current = n;
2287
2287
  else if (b.current !== n) throw Error("Cannot change version of MathJax in a MathJaxContext after it has mounted. Reload the page with a new version when this must happen.");
2288
- var f = o || (n === 2 ? gr : n === 3 ? yr : mr);
2288
+ var f = o || (n === 2 ? mr : n === 3 ? wr : br);
2289
2289
  function v(m, I) {
2290
2290
  t && (window.MathJax = t);
2291
2291
  var A = document.createElement("script");
@@ -2326,8 +2326,8 @@ var Ti = function() {
2326
2326
  var O;
2327
2327
  v === "every" && A && m === "post" && b.current !== null && (b.current.style.visibility = (O = (O = y.style) == null ? void 0 : O.visibility) != null ? O : "visible"), S.current || (v === "first" && b.current !== null && (b.current.style.visibility = "visible"), r && r(), S.current = !0), s && s(), g.current = !1;
2328
2328
  }
2329
- var o = e.inline, n = o !== void 0 && o, o = e.hideUntilTypeset, r = e.onInitTypeset, s = e.onTypeset, a = e.text, l = e.dynamic, c = e.typesettingOptions, u = e.renderMode, p = e.children, y = zs(e, ["inline", "hideUntilTypeset", "onInitTypeset", "onTypeset", "text", "dynamic", "typesettingOptions", "renderMode", "children"]), T = dt(""), b = dt(null), f = Gr(vi), v = o ?? (f == null ? void 0 : f.hideUntilTypeset), m = u ?? (f == null ? void 0 : f.renderMode), I = c ?? (f == null ? void 0 : f.typesettingOptions), A = l !== !1 && (l || process.env.NODE_ENV !== "production"), S = dt(!1), g = dt(!1);
2330
- return !g.current && b.current !== null && A && v === "every" && m === "post" && (b.current.style.visibility = "hidden"), (typeof window < "u" ? Wo : Re)(function() {
2329
+ var o = e.inline, n = o !== void 0 && o, o = e.hideUntilTypeset, r = e.onInitTypeset, s = e.onTypeset, a = e.text, l = e.dynamic, c = e.typesettingOptions, u = e.renderMode, p = e.children, y = zs(e, ["inline", "hideUntilTypeset", "onInitTypeset", "onTypeset", "text", "dynamic", "typesettingOptions", "renderMode", "children"]), T = dt(""), b = dt(null), f = Yr(vi), v = o ?? (f == null ? void 0 : f.hideUntilTypeset), m = u ?? (f == null ? void 0 : f.renderMode), I = c ?? (f == null ? void 0 : f.typesettingOptions), A = l !== !1 && (l || process.env.NODE_ENV !== "production"), S = dt(!1), g = dt(!1);
2330
+ return !g.current && b.current !== null && A && v === "every" && m === "post" && (b.current.style.visibility = "hidden"), (typeof window < "u" ? Bo : Re)(function() {
2331
2331
  if ((A || !S.current) && b.current !== null) {
2332
2332
  if (!f) throw Error("MathJax was not loaded, did you use the MathJax component outside of a MathJaxContext?");
2333
2333
  if (m === "pre") {
@@ -2366,7 +2366,7 @@ var Ti = function() {
2366
2366
  }), kt.createElement("span", Lt({}, y, { style: Lt(Lt({ display: n ? "inline" : "block" }, y.style), { visibility: v ? "hidden" : (e = y.style) == null ? void 0 : e.visibility }), ref: b }), p);
2367
2367
  };
2368
2368
  /*! @license DOMPurify 3.4.14 | (c) Cure53 and other contributors | Released under the Apache license 2.0 and Mozilla Public License 2.0 | github.com/cure53/DOMPurify/blob/3.4.14/LICENSE */
2369
- function wr(e, t) {
2369
+ function Tr(e, t) {
2370
2370
  (t == null || t > e.length) && (t = e.length);
2371
2371
  for (var n = 0, o = Array(t); n < t; n++) o[n] = e[n];
2372
2372
  return o;
@@ -2401,13 +2401,13 @@ function $s(e, t) {
2401
2401
  }
2402
2402
  function Js(e, t) {
2403
2403
  if (e) {
2404
- if (typeof e == "string") return wr(e, t);
2404
+ if (typeof e == "string") return Tr(e, t);
2405
2405
  var n = {}.toString.call(e).slice(8, -1);
2406
- return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? wr(e, t) : void 0;
2406
+ return n === "Object" && e.constructor && (n = e.constructor.name), n === "Map" || n === "Set" ? Array.from(e) : n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n) ? Tr(e, t) : void 0;
2407
2407
  }
2408
2408
  }
2409
- const ho = Object.entries, br = Object.setPrototypeOf, Gs = Object.isFrozen, Vs = Object.getPrototypeOf, Ys = Object.getOwnPropertyDescriptor;
2410
- let We = Object.freeze, Be = Object.seal, Kt = Object.create, po = typeof Reflect < "u" && Reflect, Ii = po.apply, Ei = po.construct;
2409
+ const po = Object.entries, vr = Object.setPrototypeOf, Gs = Object.isFrozen, Vs = Object.getPrototypeOf, Ys = Object.getOwnPropertyDescriptor;
2410
+ let We = Object.freeze, Be = Object.seal, Kt = Object.create, fo = typeof Reflect < "u" && Reflect, Ii = fo.apply, Ei = fo.construct;
2411
2411
  We || (We = function(t) {
2412
2412
  return t;
2413
2413
  });
@@ -2424,7 +2424,7 @@ Ei || (Ei = function(t) {
2424
2424
  o[r - 1] = arguments[r];
2425
2425
  return new t(...o);
2426
2426
  });
2427
- const Wt = Ue(Array.prototype.forEach), qs = Ue(Array.prototype.lastIndexOf), Tr = Ue(Array.prototype.pop), un = Ue(Array.prototype.push), Xs = Ue(Array.prototype.splice), Zt = Array.isArray, fn = Ue(String.prototype.toLowerCase), li = Ue(String.prototype.toString), vr = Ue(String.prototype.match), hn = Ue(String.prototype.replace), Ir = Ue(String.prototype.indexOf), Ks = Ue(String.prototype.trim), Qs = Ue(Number.prototype.toString), Zs = Ue(Boolean.prototype.toString), Er = typeof BigInt > "u" ? null : Ue(BigInt.prototype.toString), Sr = typeof Symbol > "u" ? null : Ue(Symbol.prototype.toString), rt = Ue(Object.prototype.hasOwnProperty), pn = Ue(Object.prototype.toString), qe = Ue(RegExp.prototype.test), Ut = ea(TypeError);
2427
+ const Wt = Ue(Array.prototype.forEach), qs = Ue(Array.prototype.lastIndexOf), Ir = Ue(Array.prototype.pop), un = Ue(Array.prototype.push), Xs = Ue(Array.prototype.splice), Zt = Array.isArray, fn = Ue(String.prototype.toLowerCase), li = Ue(String.prototype.toString), Er = Ue(String.prototype.match), hn = Ue(String.prototype.replace), Sr = Ue(String.prototype.indexOf), Ks = Ue(String.prototype.trim), Qs = Ue(Number.prototype.toString), Zs = Ue(Boolean.prototype.toString), Cr = typeof BigInt > "u" ? null : Ue(BigInt.prototype.toString), Or = typeof Symbol > "u" ? null : Ue(Symbol.prototype.toString), rt = Ue(Object.prototype.hasOwnProperty), pn = Ue(Object.prototype.toString), qe = Ue(RegExp.prototype.test), Ut = ea(TypeError);
2428
2428
  function Ue(e) {
2429
2429
  return function(t) {
2430
2430
  t instanceof RegExp && (t.lastIndex = 0);
@@ -2442,7 +2442,7 @@ function ea(e) {
2442
2442
  }
2443
2443
  function be(e, t) {
2444
2444
  let n = arguments.length > 2 && arguments[2] !== void 0 ? arguments[2] : fn;
2445
- if (br && br(e, null), !Zt(t))
2445
+ if (vr && vr(e, null), !Zt(t))
2446
2446
  return e;
2447
2447
  let o = t.length;
2448
2448
  for (; o--; ) {
@@ -2462,7 +2462,7 @@ function ta(e) {
2462
2462
  }
2463
2463
  function lt(e) {
2464
2464
  const t = Kt(null);
2465
- for (const o of ho(e)) {
2465
+ for (const o of po(e)) {
2466
2466
  var n = $s(o, 2);
2467
2467
  const r = n[0], s = n[1];
2468
2468
  rt(e, r) && (Zt(s) ? t[r] = ta(s) : s && typeof s == "object" && s.constructor === Object ? t[r] = lt(s) : t[r] = s);
@@ -2478,9 +2478,9 @@ function na(e) {
2478
2478
  case "boolean":
2479
2479
  return Zs(e);
2480
2480
  case "bigint":
2481
- return Er ? Er(e) : "0";
2481
+ return Cr ? Cr(e) : "0";
2482
2482
  case "symbol":
2483
- return Sr ? Sr(e) : "Symbol()";
2483
+ return Or ? Or(e) : "Symbol()";
2484
2484
  case "undefined":
2485
2485
  return pn(e);
2486
2486
  case "function":
@@ -2521,13 +2521,13 @@ function ia(e) {
2521
2521
  return !1;
2522
2522
  }
2523
2523
  }
2524
- const Cr = We(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ci = We(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), di = We(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ra = We(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ui = We(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), oa = We(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), Or = We(["#text"]), xr = We(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), hi = We(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "pointer-events", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "vector-effect", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), _r = We(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Rn = We(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), sa = Be(/{{[\w\W]*|^[\w\W]*}}/g), aa = Be(/<%[\w\W]*|^[\w\W]*%>/g), la = Be(/\${[\w\W]*/g), ca = Be(/^data-[\-\w.\u00B7-\uFFFF]+$/), da = Be(/^aria-[\-\w]+$/), Nr = Be(
2524
+ const xr = We(["a", "abbr", "acronym", "address", "area", "article", "aside", "audio", "b", "bdi", "bdo", "big", "blink", "blockquote", "body", "br", "button", "canvas", "caption", "center", "cite", "code", "col", "colgroup", "content", "data", "datalist", "dd", "decorator", "del", "details", "dfn", "dialog", "dir", "div", "dl", "dt", "element", "em", "fieldset", "figcaption", "figure", "font", "footer", "form", "h1", "h2", "h3", "h4", "h5", "h6", "head", "header", "hgroup", "hr", "html", "i", "img", "input", "ins", "kbd", "label", "legend", "li", "main", "map", "mark", "marquee", "menu", "menuitem", "meter", "nav", "nobr", "ol", "optgroup", "option", "output", "p", "picture", "pre", "progress", "q", "rp", "rt", "ruby", "s", "samp", "search", "section", "select", "shadow", "slot", "small", "source", "spacer", "span", "strike", "strong", "style", "sub", "summary", "sup", "table", "tbody", "td", "template", "textarea", "tfoot", "th", "thead", "time", "tr", "track", "tt", "u", "ul", "var", "video", "wbr"]), ci = We(["svg", "a", "altglyph", "altglyphdef", "altglyphitem", "animatecolor", "animatemotion", "animatetransform", "circle", "clippath", "defs", "desc", "ellipse", "enterkeyhint", "exportparts", "filter", "font", "g", "glyph", "glyphref", "hkern", "image", "inputmode", "line", "lineargradient", "marker", "mask", "metadata", "mpath", "part", "path", "pattern", "polygon", "polyline", "radialgradient", "rect", "stop", "style", "switch", "symbol", "text", "textpath", "title", "tref", "tspan", "view", "vkern"]), di = We(["feBlend", "feColorMatrix", "feComponentTransfer", "feComposite", "feConvolveMatrix", "feDiffuseLighting", "feDisplacementMap", "feDistantLight", "feDropShadow", "feFlood", "feFuncA", "feFuncB", "feFuncG", "feFuncR", "feGaussianBlur", "feImage", "feMerge", "feMergeNode", "feMorphology", "feOffset", "fePointLight", "feSpecularLighting", "feSpotLight", "feTile", "feTurbulence"]), ra = We(["animate", "color-profile", "cursor", "discard", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "foreignobject", "hatch", "hatchpath", "mesh", "meshgradient", "meshpatch", "meshrow", "missing-glyph", "script", "set", "solidcolor", "unknown", "use"]), ui = We(["math", "menclose", "merror", "mfenced", "mfrac", "mglyph", "mi", "mlabeledtr", "mmultiscripts", "mn", "mo", "mover", "mpadded", "mphantom", "mroot", "mrow", "ms", "mspace", "msqrt", "mstyle", "msub", "msup", "msubsup", "mtable", "mtd", "mtext", "mtr", "munder", "munderover", "mprescripts"]), oa = We(["maction", "maligngroup", "malignmark", "mlongdiv", "mscarries", "mscarry", "msgroup", "mstack", "msline", "msrow", "semantics", "annotation", "annotation-xml", "mprescripts", "none"]), _r = We(["#text"]), Nr = We(["accept", "action", "align", "alt", "autocapitalize", "autocomplete", "autopictureinpicture", "autoplay", "background", "bgcolor", "border", "capture", "cellpadding", "cellspacing", "checked", "cite", "class", "clear", "color", "cols", "colspan", "command", "commandfor", "controls", "controlslist", "coords", "crossorigin", "datetime", "decoding", "default", "dir", "disabled", "disablepictureinpicture", "disableremoteplayback", "download", "draggable", "enctype", "enterkeyhint", "exportparts", "face", "for", "headers", "height", "hidden", "high", "href", "hreflang", "id", "inert", "inputmode", "integrity", "ismap", "kind", "label", "lang", "list", "loading", "loop", "low", "max", "maxlength", "media", "method", "min", "minlength", "multiple", "muted", "name", "nonce", "noshade", "novalidate", "nowrap", "open", "optimum", "part", "pattern", "placeholder", "playsinline", "popover", "popovertarget", "popovertargetaction", "poster", "preload", "pubdate", "radiogroup", "readonly", "rel", "required", "rev", "reversed", "role", "rows", "rowspan", "spellcheck", "scope", "selected", "shape", "size", "sizes", "slot", "span", "srclang", "start", "src", "srcset", "step", "style", "summary", "tabindex", "title", "translate", "type", "usemap", "valign", "value", "width", "wrap", "xmlns"]), hi = We(["accent-height", "accumulate", "additive", "alignment-baseline", "amplitude", "ascent", "attributename", "attributetype", "azimuth", "basefrequency", "baseline-shift", "begin", "bias", "by", "class", "clip", "clippathunits", "clip-path", "clip-rule", "color", "color-interpolation", "color-interpolation-filters", "color-profile", "color-rendering", "cx", "cy", "d", "dx", "dy", "diffuseconstant", "direction", "display", "divisor", "dominant-baseline", "dur", "edgemode", "elevation", "end", "exponent", "fill", "fill-opacity", "fill-rule", "filter", "filterunits", "flood-color", "flood-opacity", "font-family", "font-size", "font-size-adjust", "font-stretch", "font-style", "font-variant", "font-weight", "fx", "fy", "g1", "g2", "glyph-name", "glyphref", "gradientunits", "gradienttransform", "height", "href", "id", "image-rendering", "in", "in2", "intercept", "k", "k1", "k2", "k3", "k4", "kerning", "keypoints", "keysplines", "keytimes", "lang", "lengthadjust", "letter-spacing", "kernelmatrix", "kernelunitlength", "lighting-color", "local", "marker-end", "marker-mid", "marker-start", "markerheight", "markerunits", "markerwidth", "maskcontentunits", "maskunits", "max", "mask", "mask-type", "media", "method", "mode", "min", "name", "numoctaves", "offset", "operator", "opacity", "order", "orient", "orientation", "origin", "overflow", "paint-order", "path", "pathlength", "patterncontentunits", "patterntransform", "patternunits", "pointer-events", "points", "preservealpha", "preserveaspectratio", "primitiveunits", "r", "rx", "ry", "radius", "refx", "refy", "repeatcount", "repeatdur", "restart", "result", "rotate", "scale", "seed", "shape-rendering", "slope", "specularconstant", "specularexponent", "spreadmethod", "startoffset", "stddeviation", "stitchtiles", "stop-color", "stop-opacity", "stroke-dasharray", "stroke-dashoffset", "stroke-linecap", "stroke-linejoin", "stroke-miterlimit", "stroke-opacity", "stroke", "stroke-width", "style", "surfacescale", "systemlanguage", "tabindex", "tablevalues", "targetx", "targety", "transform", "transform-origin", "text-anchor", "text-decoration", "text-orientation", "text-rendering", "textlength", "type", "u1", "u2", "unicode", "values", "vector-effect", "viewbox", "visibility", "version", "vert-adv-y", "vert-origin-x", "vert-origin-y", "width", "word-spacing", "wrap", "writing-mode", "xchannelselector", "ychannelselector", "x", "x1", "x2", "xmlns", "y", "y1", "y2", "z", "zoomandpan"]), Ar = We(["accent", "accentunder", "align", "bevelled", "close", "columnalign", "columnlines", "columnspacing", "columnspan", "denomalign", "depth", "dir", "display", "displaystyle", "encoding", "fence", "frame", "height", "href", "id", "largeop", "length", "linethickness", "lquote", "lspace", "mathbackground", "mathcolor", "mathsize", "mathvariant", "maxsize", "minsize", "movablelimits", "notation", "numalign", "open", "rowalign", "rowlines", "rowspacing", "rowspan", "rspace", "rquote", "scriptlevel", "scriptminsize", "scriptsizemultiplier", "selection", "separator", "separators", "stretchy", "subscriptshift", "supscriptshift", "symmetric", "voffset", "width", "xmlns"]), Rn = We(["xlink:href", "xml:id", "xlink:title", "xml:space", "xmlns:xlink"]), sa = Be(/{{[\w\W]*|^[\w\W]*}}/g), aa = Be(/<%[\w\W]*|^[\w\W]*%>/g), la = Be(/\${[\w\W]*/g), ca = Be(/^data-[\-\w.\u00B7-\uFFFF]+$/), da = Be(/^aria-[\-\w]+$/), Lr = Be(
2525
2525
  /^(?:(?:(?:f|ht)tps?|mailto|tel|callto|sms|cid|xmpp|matrix):|[^a-z]|[a-z+.\-]+(?:[^a-z+.\-:]|$))/i
2526
2526
  // eslint-disable-line no-useless-escape
2527
2527
  ), ua = Be(/^(?:\w+script|data):/i), ha = Be(
2528
2528
  /[\u0000-\u0020\u00A0\u1680\u180E\u2000-\u2029\u205F\u3000]/g
2529
2529
  // eslint-disable-line no-control-regex
2530
- ), pa = Be(/^html$/i), fa = Be(/^[a-z][.\w]*(-[.\w]+)+$/i), Ar = Be(/<[/\w!]/g), Lr = Be(/<[/\w]/g), ga = Be(/<\/no(script|embed|frames)/i), ya = Be(/\/>/i), at = {
2530
+ ), pa = Be(/^html$/i), fa = Be(/^[a-z][.\w]*(-[.\w]+)+$/i), Rr = Be(/<[/\w!]/g), Dr = Be(/<[/\w]/g), ga = Be(/<\/no(script|embed|frames)/i), ya = Be(/\/>/i), at = {
2531
2531
  element: 1,
2532
2532
  attribute: 2,
2533
2533
  text: 3,
@@ -2543,9 +2543,9 @@ const Cr = We(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
2543
2543
  documentFragment: 11,
2544
2544
  notation: 12
2545
2545
  // Deprecated
2546
- }, fo = ["style", "script", "xmp", "iframe", "noembed", "noframes", "plaintext", "noscript"], ma = We(be({}, fo)), wa = (function() {
2546
+ }, go = ["style", "script", "xmp", "iframe", "noembed", "noframes", "plaintext", "noscript"], ma = We(be({}, go)), wa = (function() {
2547
2547
  const e = {};
2548
- return Wt(fo, (t) => {
2548
+ return Wt(go, (t) => {
2549
2549
  e[t] = Be(new RegExp("</" + t + "(?=[\\t\\n\\f\\r />])", "i"));
2550
2550
  }), We(e);
2551
2551
  })(), ba = function() {
@@ -2569,7 +2569,7 @@ const Cr = We(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
2569
2569
  } catch {
2570
2570
  return console.warn("TrustedTypes policy " + s + " could not be created."), null;
2571
2571
  }
2572
- }, Rr = function() {
2572
+ }, kr = function() {
2573
2573
  return {
2574
2574
  afterSanitizeAttributes: [],
2575
2575
  afterSanitizeElements: [],
@@ -2587,9 +2587,9 @@ const Cr = We(["a", "abbr", "acronym", "address", "area", "article", "aside", "a
2587
2587
  const r = rt(t, n) ? t[n] : void 0;
2588
2588
  return r && typeof r == "object" ? lt(r) : o();
2589
2589
  };
2590
- function go() {
2590
+ function yo() {
2591
2591
  let e = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : ba();
2592
- const t = (R) => go(R);
2592
+ const t = (R) => yo(R);
2593
2593
  if (t.version = "3.4.14", t.removed = [], !e || !e.document || e.document.nodeType !== at.document || !e.Element)
2594
2594
  return t.isSupported = !1, t;
2595
2595
  let n = e.document;
@@ -2627,13 +2627,13 @@ function go() {
2627
2627
  }, Ie = function() {
2628
2628
  return L || (x = Ta(y, r), L = !0), x;
2629
2629
  }, Fe = n, He = Fe.implementation, Ge = Fe.createNodeIterator, le = Fe.createDocumentFragment, ve = Fe.getElementsByTagName, ne = o.importNode;
2630
- let D = Rr();
2631
- t.isSupported = typeof ho == "function" && typeof I == "function" && He && He.createHTMLDocument !== void 0;
2630
+ let D = kr();
2631
+ t.isSupported = typeof po == "function" && typeof I == "function" && He && He.createHTMLDocument !== void 0;
2632
2632
  const ce = sa, Se = aa, Ce = la, F = ca, W = da, Z = ua, Q = ha, M = fa;
2633
- let fe = Nr, Y = null;
2634
- const J = be({}, [...Cr, ...ci, ...di, ...ui, ...Or]);
2633
+ let fe = Lr, Y = null;
2634
+ const J = be({}, [...xr, ...ci, ...di, ...ui, ..._r]);
2635
2635
  let P = null;
2636
- const Le = be({}, [...xr, ...hi, ..._r, ...Rn]);
2636
+ const Le = be({}, [...Nr, ...hi, ...Ar, ...Rn]);
2637
2637
  let de = Object.seal(Kt(null, {
2638
2638
  tagNameCheck: {
2639
2639
  writable: !0,
@@ -2708,57 +2708,57 @@ function go() {
2708
2708
  "video",
2709
2709
  "xmp"
2710
2710
  ]);
2711
- let Vi = null;
2712
- const Yi = be({}, ["audio", "video", "img", "source", "image", "track"]);
2713
2711
  let qi = null;
2714
- const Xi = be({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), In = "http://www.w3.org/1998/Math/MathML", En = "http://www.w3.org/2000/svg", vt = "http://www.w3.org/1999/xhtml";
2712
+ const Xi = be({}, ["audio", "video", "img", "source", "image", "track"]);
2713
+ let Ki = null;
2714
+ const Qi = be({}, ["alt", "class", "for", "id", "label", "name", "pattern", "placeholder", "role", "summary", "title", "value", "style", "xmlns"]), In = "http://www.w3.org/1998/Math/MathML", En = "http://www.w3.org/2000/svg", vt = "http://www.w3.org/1999/xhtml";
2715
2715
  let $t = vt, Xn = !1, Kn = null;
2716
- const Io = be({}, [In, En, vt], li), Ki = We(["mi", "mo", "mn", "ms", "mtext"]);
2717
- let Qn = be({}, Ki);
2718
- const Qi = We(["annotation-xml"]);
2719
- let Zn = be({}, Qi);
2720
- const Eo = be({}, ["title", "style", "font", "a", "script"]);
2716
+ const Eo = be({}, [In, En, vt], li), Zi = We(["mi", "mo", "mn", "ms", "mtext"]);
2717
+ let Qn = be({}, Zi);
2718
+ const er = We(["annotation-xml"]);
2719
+ let Zn = be({}, er);
2720
+ const So = be({}, ["title", "style", "font", "a", "script"]);
2721
2721
  let ln = null;
2722
- const So = ["application/xhtml+xml", "text/html"], Co = "text/html";
2722
+ const Co = ["application/xhtml+xml", "text/html"], Oo = "text/html";
2723
2723
  let Pe = null, Jt = null;
2724
- const Oo = n.createElement("form"), Zi = function(d) {
2724
+ const xo = n.createElement("form"), tr = function(d) {
2725
2725
  return d instanceof RegExp || d instanceof Function;
2726
2726
  }, ei = function() {
2727
2727
  let d = arguments.length > 0 && arguments[0] !== void 0 ? arguments[0] : {};
2728
2728
  if (Jt && Jt === d)
2729
2729
  return;
2730
2730
  (!d || typeof d != "object") && (d = {}), d = lt(d), ln = // eslint-disable-next-line unicorn/prefer-includes
2731
- So.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? Co : d.PARSER_MEDIA_TYPE, Pe = ln === "application/xhtml+xml" ? li : fn, Y = At(d, "ALLOWED_TAGS", J, {
2731
+ Co.indexOf(d.PARSER_MEDIA_TYPE) === -1 ? Oo : d.PARSER_MEDIA_TYPE, Pe = ln === "application/xhtml+xml" ? li : fn, Y = At(d, "ALLOWED_TAGS", J, {
2732
2732
  transform: Pe
2733
2733
  }), P = At(d, "ALLOWED_ATTR", Le, {
2734
2734
  transform: Pe
2735
- }), Kn = At(d, "ALLOWED_NAMESPACES", Io, {
2735
+ }), Kn = At(d, "ALLOWED_NAMESPACES", Eo, {
2736
2736
  transform: li
2737
- }), qi = At(d, "ADD_URI_SAFE_ATTR", Xi, {
2737
+ }), Ki = At(d, "ADD_URI_SAFE_ATTR", Qi, {
2738
2738
  transform: Pe,
2739
- base: Xi
2740
- }), Vi = At(d, "ADD_DATA_URI_TAGS", Yi, {
2739
+ base: Qi
2740
+ }), qi = At(d, "ADD_DATA_URI_TAGS", Xi, {
2741
2741
  transform: Pe,
2742
- base: Yi
2742
+ base: Xi
2743
2743
  }), Ot = At(d, "FORBID_CONTENTS", an, {
2744
2744
  transform: Pe
2745
2745
  }), Ee = At(d, "FORBID_TAGS", lt({}), {
2746
2746
  transform: Pe
2747
2747
  }), we = At(d, "FORBID_ATTR", lt({}), {
2748
2748
  transform: Pe
2749
- }), ft = rt(d, "USE_PROFILES") ? d.USE_PROFILES && typeof d.USE_PROFILES == "object" ? lt(d.USE_PROFILES) : d.USE_PROFILES : !1, Oe = d.ALLOW_ARIA_ATTR !== !1, xe = d.ALLOW_DATA_ATTR !== !1, Ve = d.ALLOW_UNKNOWN_PROTOCOLS || !1, ut = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, st = d.SAFE_FOR_TEMPLATES || !1, ht = d.SAFE_FOR_XML !== !1, pt = d.WHOLE_DOCUMENT || !1, G = d.RETURN_DOM || !1, _e = d.RETURN_DOM_FRAGMENT || !1, he = d.RETURN_TRUSTED_TYPE || !1, ye = d.FORCE_BODY || !1, Ye = d.SANITIZE_DOM !== !1, Ke = d.SANITIZE_NAMED_PROPS || !1, tt = d.KEEP_CONTENT !== !1, mt = d.IN_PLACE || !1, fe = ia(d.ALLOWED_URI_REGEXP) ? d.ALLOWED_URI_REGEXP : Nr, $t = typeof d.NAMESPACE == "string" ? d.NAMESPACE : vt, Qn = pi(
2749
+ }), ft = rt(d, "USE_PROFILES") ? d.USE_PROFILES && typeof d.USE_PROFILES == "object" ? lt(d.USE_PROFILES) : d.USE_PROFILES : !1, Oe = d.ALLOW_ARIA_ATTR !== !1, xe = d.ALLOW_DATA_ATTR !== !1, Ve = d.ALLOW_UNKNOWN_PROTOCOLS || !1, ut = d.ALLOW_SELF_CLOSE_IN_ATTR !== !1, st = d.SAFE_FOR_TEMPLATES || !1, ht = d.SAFE_FOR_XML !== !1, pt = d.WHOLE_DOCUMENT || !1, G = d.RETURN_DOM || !1, _e = d.RETURN_DOM_FRAGMENT || !1, he = d.RETURN_TRUSTED_TYPE || !1, ye = d.FORCE_BODY || !1, Ye = d.SANITIZE_DOM !== !1, Ke = d.SANITIZE_NAMED_PROPS || !1, tt = d.KEEP_CONTENT !== !1, mt = d.IN_PLACE || !1, fe = ia(d.ALLOWED_URI_REGEXP) ? d.ALLOWED_URI_REGEXP : Lr, $t = typeof d.NAMESPACE == "string" ? d.NAMESPACE : vt, Qn = pi(
2750
2750
  d,
2751
2751
  "MATHML_TEXT_INTEGRATION_POINTS",
2752
- () => be({}, Ki)
2752
+ () => be({}, Zi)
2753
2753
  // Default built-in map
2754
2754
  ), Zn = pi(
2755
2755
  d,
2756
2756
  "HTML_INTEGRATION_POINTS",
2757
- () => be({}, Qi)
2757
+ () => be({}, er)
2758
2758
  // Default built-in map
2759
2759
  );
2760
2760
  const w = pi(d, "CUSTOM_ELEMENT_HANDLING", () => Kt(null));
2761
- if (de = Kt(null), rt(w, "tagNameCheck") && Zi(w.tagNameCheck) && (de.tagNameCheck = w.tagNameCheck), rt(w, "attributeNameCheck") && Zi(w.attributeNameCheck) && (de.attributeNameCheck = w.attributeNameCheck), rt(w, "allowCustomizedBuiltInElements") && typeof w.allowCustomizedBuiltInElements == "boolean" && (de.allowCustomizedBuiltInElements = w.allowCustomizedBuiltInElements), Be(de), st && (xe = !1), _e && (G = !0), ft && (Y = be({}, Or), P = Kt(null), ft.html === !0 && (be(Y, Cr), be(P, xr)), ft.svg === !0 && (be(Y, ci), be(P, hi), be(P, Rn)), ft.svgFilters === !0 && (be(Y, di), be(P, hi), be(P, Rn)), ft.mathMl === !0 && (be(Y, ui), be(P, _r), be(P, Rn))), ue.tagCheck = null, ue.attributeCheck = null, rt(d, "ADD_TAGS") && (typeof d.ADD_TAGS == "function" ? ue.tagCheck = d.ADD_TAGS : Zt(d.ADD_TAGS) && (Y === J && (Y = lt(Y)), be(Y, d.ADD_TAGS, Pe))), rt(d, "ADD_ATTR") && (typeof d.ADD_ATTR == "function" ? ue.attributeCheck = d.ADD_ATTR : Zt(d.ADD_ATTR) && (P === Le && (P = lt(P)), be(P, d.ADD_ATTR, Pe))), rt(d, "ADD_FORBID_CONTENTS") && Zt(d.ADD_FORBID_CONTENTS) && (Ot === an && (Ot = lt(Ot)), be(Ot, d.ADD_FORBID_CONTENTS, Pe)), tt && (Y["#text"] = !0), pt && be(Y, ["html", "head", "body"]), Y.table && (be(Y, ["tbody"]), delete Ee.tbody), d.TRUSTED_TYPES_POLICY) {
2761
+ if (de = Kt(null), rt(w, "tagNameCheck") && tr(w.tagNameCheck) && (de.tagNameCheck = w.tagNameCheck), rt(w, "attributeNameCheck") && tr(w.attributeNameCheck) && (de.attributeNameCheck = w.attributeNameCheck), rt(w, "allowCustomizedBuiltInElements") && typeof w.allowCustomizedBuiltInElements == "boolean" && (de.allowCustomizedBuiltInElements = w.allowCustomizedBuiltInElements), Be(de), st && (xe = !1), _e && (G = !0), ft && (Y = be({}, _r), P = Kt(null), ft.html === !0 && (be(Y, xr), be(P, Nr)), ft.svg === !0 && (be(Y, ci), be(P, hi), be(P, Rn)), ft.svgFilters === !0 && (be(Y, di), be(P, hi), be(P, Rn)), ft.mathMl === !0 && (be(Y, ui), be(P, Ar), be(P, Rn))), ue.tagCheck = null, ue.attributeCheck = null, rt(d, "ADD_TAGS") && (typeof d.ADD_TAGS == "function" ? ue.tagCheck = d.ADD_TAGS : Zt(d.ADD_TAGS) && (Y === J && (Y = lt(Y)), be(Y, d.ADD_TAGS, Pe))), rt(d, "ADD_ATTR") && (typeof d.ADD_ATTR == "function" ? ue.attributeCheck = d.ADD_ATTR : Zt(d.ADD_ATTR) && (P === Le && (P = lt(P)), be(P, d.ADD_ATTR, Pe))), rt(d, "ADD_FORBID_CONTENTS") && Zt(d.ADD_FORBID_CONTENTS) && (Ot === an && (Ot = lt(Ot)), be(Ot, d.ADD_FORBID_CONTENTS, Pe)), tt && (Y["#text"] = !0), pt && be(Y, ["html", "head", "body"]), Y.table && (be(Y, ["tbody"]), delete Ee.tbody), d.TRUSTED_TYPES_POLICY) {
2762
2762
  if (typeof d.TRUSTED_TYPES_POLICY.createHTML != "function")
2763
2763
  throw Ut('TRUSTED_TYPES_POLICY configuration option must provide a "createHTML" hook.');
2764
2764
  if (typeof d.TRUSTED_TYPES_POLICY.createScriptURL != "function")
@@ -2772,20 +2772,20 @@ function go() {
2772
2772
  }
2773
2773
  } else d.TRUSTED_TYPES_POLICY === null ? (U = void 0, oe = "") : (U === void 0 && (U = Ie()), U && typeof oe == "string" && (oe = ee("")));
2774
2774
  We && We(d), Jt = d;
2775
- }, er = be({}, [...ci, ...di, ...ra]), tr = be({}, [...ui, ...oa]), xo = function(d, w, N) {
2776
- return w.namespaceURI === vt ? d === "svg" : w.namespaceURI === In ? d === "svg" && (N === "annotation-xml" || Qn[N]) : !!er[d];
2777
- }, _o = function(d, w, N) {
2778
- return w.namespaceURI === vt ? d === "math" : w.namespaceURI === En ? d === "math" && Zn[N] : !!tr[d];
2775
+ }, nr = be({}, [...ci, ...di, ...ra]), ir = be({}, [...ui, ...oa]), _o = function(d, w, N) {
2776
+ return w.namespaceURI === vt ? d === "svg" : w.namespaceURI === In ? d === "svg" && (N === "annotation-xml" || Qn[N]) : !!nr[d];
2779
2777
  }, No = function(d, w, N) {
2780
- return w.namespaceURI === En && !Zn[N] || w.namespaceURI === In && !Qn[N] ? !1 : !tr[d] && (Eo[d] || !er[d]);
2781
- }, Ao = function(d) {
2778
+ return w.namespaceURI === vt ? d === "math" : w.namespaceURI === En ? d === "math" && Zn[N] : !!ir[d];
2779
+ }, Ao = function(d, w, N) {
2780
+ return w.namespaceURI === En && !Zn[N] || w.namespaceURI === In && !Qn[N] ? !1 : !ir[d] && (So[d] || !nr[d]);
2781
+ }, Lo = function(d) {
2782
2782
  let w = I(d);
2783
2783
  (!w || !w.tagName) && (w = {
2784
2784
  namespaceURI: $t,
2785
2785
  tagName: "template"
2786
2786
  });
2787
2787
  const N = fn(d.tagName), z = fn(w.tagName);
2788
- return Kn[d.namespaceURI] ? d.namespaceURI === En ? xo(N, w, z) : d.namespaceURI === In ? _o(N, w, z) : d.namespaceURI === vt ? No(N, w, z) : !!(ln === "application/xhtml+xml" && Kn[d.namespaceURI]) : !1;
2788
+ return Kn[d.namespaceURI] ? d.namespaceURI === En ? _o(N, w, z) : d.namespaceURI === In ? No(N, w, z) : d.namespaceURI === vt ? Ao(N, w, z) : !!(ln === "application/xhtml+xml" && Kn[d.namespaceURI]) : !1;
2789
2789
  }, Nt = function(d) {
2790
2790
  un(t.removed, {
2791
2791
  element: d
@@ -2796,7 +2796,7 @@ function go() {
2796
2796
  if (f(d), !I(d))
2797
2797
  throw Ut("a node selected for removal could not be detached from its tree and cannot be safely returned; refusing to sanitize in place");
2798
2798
  }
2799
- }, nr = function(d, w, N) {
2799
+ }, rr = function(d, w, N) {
2800
2800
  try {
2801
2801
  d.removeAttributeNode(w);
2802
2802
  } catch {
@@ -2823,7 +2823,7 @@ function go() {
2823
2823
  if (N)
2824
2824
  for (let z = N.length - 1; z >= 0; --z) {
2825
2825
  const X = N[z], re = X && X.name;
2826
- typeof re == "string" && nr(d, X, re);
2826
+ typeof re == "string" && rr(d, X, re);
2827
2827
  }
2828
2828
  }, Ft = function(d, w, N) {
2829
2829
  if (!N)
@@ -2855,32 +2855,32 @@ function go() {
2855
2855
  w.setAttribute(d, "");
2856
2856
  } catch {
2857
2857
  }
2858
- }, Lo = function(d) {
2858
+ }, Ro = function(d) {
2859
2859
  const w = S(d);
2860
2860
  if (w)
2861
2861
  for (let N = w.length - 1; N >= 0; --N) {
2862
2862
  const z = w[N], X = z && z.name;
2863
- typeof X != "string" || P[Pe(X)] || nr(d, z, X);
2863
+ typeof X != "string" || P[Pe(X)] || rr(d, z, X);
2864
2864
  }
2865
2865
  }, Cn = function(d) {
2866
2866
  const w = [d];
2867
2867
  for (; w.length > 0; ) {
2868
2868
  const N = w.pop();
2869
- _(N) === at.element && Lo(N);
2869
+ _(N) === at.element && Ro(N);
2870
2870
  const X = m(N);
2871
2871
  if (X)
2872
2872
  for (let re = X.length - 1; re >= 0; --re)
2873
2873
  w.push(X[re]);
2874
2874
  }
2875
- }, ir = function(d, w) {
2875
+ }, or = function(d, w) {
2876
2876
  return ht ? d === "patchsrc" ? !0 : d === "for" && w !== "label" && w !== "output" : !1;
2877
- }, Ro = function(d) {
2877
+ }, Do = function(d) {
2878
2878
  if (!ht)
2879
2879
  return;
2880
2880
  const w = [d];
2881
2881
  for (; w.length > 0; ) {
2882
2882
  const N = w.pop(), z = _(N);
2883
- if (z === at.processingInstruction || z === at.comment && qe(Lr, N.data)) {
2883
+ if (z === at.processingInstruction || z === at.comment && qe(Dr, N.data)) {
2884
2884
  try {
2885
2885
  f(N);
2886
2886
  } catch {
@@ -2890,7 +2890,7 @@ function go() {
2890
2890
  if (z === at.element) {
2891
2891
  const re = N, Ne = Pe(k(N));
2892
2892
  try {
2893
- re.hasAttribute && re.hasAttribute("patchsrc") && re.removeAttribute("patchsrc"), re.hasAttribute && re.hasAttribute("for") && ir("for", Ne) && re.removeAttribute("for");
2893
+ re.hasAttribute && re.hasAttribute("patchsrc") && re.removeAttribute("patchsrc"), re.hasAttribute && re.hasAttribute("for") && or("for", Ne) && re.removeAttribute("for");
2894
2894
  } catch {
2895
2895
  }
2896
2896
  }
@@ -2899,12 +2899,12 @@ function go() {
2899
2899
  for (let re = X.length - 1; re >= 0; --re)
2900
2900
  w.push(X[re]);
2901
2901
  }
2902
- }, rr = function(d) {
2902
+ }, sr = function(d) {
2903
2903
  let w = null, N = null;
2904
2904
  if (ye)
2905
2905
  d = "<remove></remove>" + d;
2906
2906
  else {
2907
- const re = vr(d, /^[\r\n\t ]+/);
2907
+ const re = Er(d, /^[\r\n\t ]+/);
2908
2908
  N = re && re[0];
2909
2909
  }
2910
2910
  ln === "application/xhtml+xml" && $t === vt && (d = '<html xmlns="http://www.w3.org/1999/xhtml"><head></head><body>' + d + "</body></html>");
@@ -2923,7 +2923,7 @@ function go() {
2923
2923
  }
2924
2924
  const X = w.body || w.documentElement;
2925
2925
  return d && N && X.insertBefore(n.createTextNode(N), X.childNodes[0] || null), $t === vt ? ve.call(w, pt ? "html" : "body")[0] : pt ? w.documentElement : X;
2926
- }, or = function(d) {
2926
+ }, ar = function(d) {
2927
2927
  const w = C ? C(d) : d.ownerDocument;
2928
2928
  return Ge.call(
2929
2929
  w || d,
@@ -2999,8 +2999,8 @@ function go() {
2999
2999
  N.call(t, d, w, Jt);
3000
3000
  });
3001
3001
  }
3002
- const Do = function(d, w) {
3003
- return !!(ht && d.hasChildNodes() && !cn(d.firstElementChild) && qe(Ar, d.textContent) && qe(Ar, d.innerHTML) || ht && d.namespaceURI === vt && ma[w] && (cn(d.firstElementChild) || typeof d.textContent == "string" && qe(wa[w], d.textContent)) || d.nodeType === at.processingInstruction || ht && d.nodeType === at.comment && qe(Lr, d.data));
3002
+ const ko = function(d, w) {
3003
+ return !!(ht && d.hasChildNodes() && !cn(d.firstElementChild) && qe(Rr, d.textContent) && qe(Rr, d.innerHTML) || ht && d.namespaceURI === vt && ma[w] && (cn(d.firstElementChild) || typeof d.textContent == "string" && qe(wa[w], d.textContent)) || d.nodeType === at.processingInstruction || ht && d.nodeType === at.comment && qe(Dr, d.data));
3004
3004
  }, _n = function(d, w) {
3005
3005
  if (d instanceof RegExp)
3006
3006
  return qe(d, w);
@@ -3010,8 +3010,8 @@ function go() {
3010
3010
  return !!d(w, ...z);
3011
3011
  }
3012
3012
  return !1;
3013
- }, ko = function(d, w, N) {
3014
- if (!Ee[w] && dr(w) && _n(de.tagNameCheck, w))
3013
+ }, Po = function(d, w, N) {
3014
+ if (!Ee[w] && hr(w) && _n(de.tagNameCheck, w))
3015
3015
  return !1;
3016
3016
  if (tt && !Ot[w]) {
3017
3017
  const z = I(d), X = m(d);
@@ -3024,28 +3024,28 @@ function go() {
3024
3024
  }
3025
3025
  }
3026
3026
  return Nt(d), !0;
3027
- }, sr = function(d, w, N, z) {
3027
+ }, lr = function(d, w, N, z) {
3028
3028
  return d.length === 0 ? w : w === N || w === z ? lt(w) : w;
3029
- }, ar = function(d, w) {
3029
+ }, cr = function(d, w) {
3030
3030
  return d === w || I(d) !== null ? !1 : (mt && Cn(d), !0);
3031
- }, lr = function(d, w) {
3032
- if (It(D.beforeSanitizeElements, d, null), ar(d, w))
3031
+ }, dr = function(d, w) {
3032
+ if (It(D.beforeSanitizeElements, d, null), cr(d, w))
3033
3033
  return !0;
3034
3034
  if (xn(d))
3035
3035
  return Nt(d), !0;
3036
3036
  const N = Pe(k(d));
3037
- if (Y = sr(D.uponSanitizeElement, Y, J, ie), It(D.uponSanitizeElement, d, {
3037
+ if (Y = lr(D.uponSanitizeElement, Y, J, ie), It(D.uponSanitizeElement, d, {
3038
3038
  tagName: N,
3039
3039
  allowedTags: Y
3040
- }), ar(d, w))
3040
+ }), cr(d, w))
3041
3041
  return !0;
3042
- if (Do(d, N))
3042
+ if (ko(d, N))
3043
3043
  return Nt(d), !0;
3044
3044
  if (Ee[N] || !(ue.tagCheck instanceof Function && ue.tagCheck(N)) && !Y[N]) {
3045
- const X = ko(d, N, w);
3045
+ const X = Po(d, N, w);
3046
3046
  return X === !1 && It(D.afterSanitizeElements, d, null), X;
3047
3047
  }
3048
- if (_(d) === at.element && !Ao(d) || (N === "noscript" || N === "noembed" || N === "noframes") && qe(ga, d.innerHTML))
3048
+ if (_(d) === at.element && !Lo(d) || (N === "noscript" || N === "noembed" || N === "noframes") && qe(ga, d.innerHTML))
3049
3049
  return Nt(d), !0;
3050
3050
  if (st && d.nodeType === at.text) {
3051
3051
  const X = On(d.textContent);
@@ -3054,22 +3054,22 @@ function go() {
3054
3054
  }), d.textContent = X);
3055
3055
  }
3056
3056
  return It(D.afterSanitizeElements, d, null), !1;
3057
- }, cr = function(d, w, N) {
3058
- if (we[w] || ir(w, d) || Ye && (w === "id" || w === "name") && (N in n || N in Oo))
3057
+ }, ur = function(d, w, N) {
3058
+ if (we[w] || or(w, d) || Ye && (w === "id" || w === "name") && (N in n || N in xo))
3059
3059
  return !1;
3060
3060
  const z = P[w] || ue.attributeCheck instanceof Function && ue.attributeCheck(w, d);
3061
- return xe && qe(F, w) || Oe && qe(W, w) ? !0 : z ? qi[w] || qe(fe, hn(N, Q, "")) || (w === "src" || w === "xlink:href" || w === "href") && d !== "script" && Ir(N, "data:") === 0 && Vi[d] || Ve && !qe(Z, hn(N, Q, "")) ? !0 : !N : (
3061
+ return xe && qe(F, w) || Oe && qe(W, w) ? !0 : z ? Ki[w] || qe(fe, hn(N, Q, "")) || (w === "src" || w === "xlink:href" || w === "href") && d !== "script" && Sr(N, "data:") === 0 && qi[d] || Ve && !qe(Z, hn(N, Q, "")) ? !0 : !N : (
3062
3062
  // Condition a) covers a basically valid custom element tag name whose
3063
3063
  // tag passes the configured tagNameCheck and whose attribute name
3064
3064
  // passes the configured attributeNameCheck ...
3065
- dr(d) && _n(de.tagNameCheck, d) && _n(de.attributeNameCheck, w, d) || // Condition b) covers an `is` attribute whose value passes the
3065
+ hr(d) && _n(de.tagNameCheck, d) && _n(de.attributeNameCheck, w, d) || // Condition b) covers an `is` attribute whose value passes the
3066
3066
  // configured tagNameCheck while customized built-in elements are
3067
3067
  // allowed.
3068
3068
  w === "is" && de.allowCustomizedBuiltInElements && _n(de.tagNameCheck, N)
3069
3069
  );
3070
- }, Po = be({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), dr = function(d) {
3071
- return !Po[fn(d)] && qe(M, d);
3072
- }, Mo = function(d, w, N, z) {
3070
+ }, Mo = be({}, ["annotation-xml", "color-profile", "font-face", "font-face-format", "font-face-name", "font-face-src", "font-face-uri", "missing-glyph"]), hr = function(d) {
3071
+ return !Mo[fn(d)] && qe(M, d);
3072
+ }, Fo = function(d, w, N, z) {
3073
3073
  if (U && typeof y == "object" && typeof y.getAttributeType == "function" && !N)
3074
3074
  switch (y.getAttributeType(d, w)) {
3075
3075
  case "TrustedHTML":
@@ -3078,18 +3078,18 @@ function go() {
3078
3078
  return te(z);
3079
3079
  }
3080
3080
  return z;
3081
- }, Fo = function(d, w, N, z) {
3081
+ }, Uo = function(d, w, N, z) {
3082
3082
  try {
3083
- N ? d.setAttributeNS(N, w, z) : d.setAttribute(w, z), xn(d) ? Nt(d) : Tr(t.removed);
3083
+ N ? d.setAttributeNS(N, w, z) : d.setAttribute(w, z), xn(d) ? Nt(d) : Ir(t.removed);
3084
3084
  } catch {
3085
3085
  Ft(w, d);
3086
3086
  }
3087
- }, ur = function(d) {
3087
+ }, pr = function(d) {
3088
3088
  It(D.beforeSanitizeAttributes, d, null);
3089
3089
  const w = d.attributes;
3090
3090
  if (!w || xn(d))
3091
3091
  return;
3092
- P = sr(D.uponSanitizeAttribute, P, Le, se);
3092
+ P = lr(D.uponSanitizeAttribute, P, Le, se);
3093
3093
  const N = {
3094
3094
  attrName: "",
3095
3095
  attrValue: "",
@@ -3102,11 +3102,11 @@ function go() {
3102
3102
  for (; z--; ) {
3103
3103
  const re = w[z], Ne = re.name, ke = re.namespaceURI, nt = re.value, it = Pe(Ne), ii = nt;
3104
3104
  let Qe = Ne === "value" ? ii : Ks(ii);
3105
- if (N.attrName = it, N.attrValue = Qe, N.keepAttr = !0, N.forceKeepAttr = void 0, It(D.uponSanitizeAttribute, d, N), Qe = N.attrValue, Ke && (it === "id" || it === "name") && Ir(Qe, et) !== 0 && (Ft(Ne, d, re), Qe = et + Qe), ht && qe(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Qe)) {
3105
+ if (N.attrName = it, N.attrValue = Qe, N.keepAttr = !0, N.forceKeepAttr = void 0, It(D.uponSanitizeAttribute, d, N), Qe = N.attrValue, Ke && (it === "id" || it === "name") && Sr(Qe, et) !== 0 && (Ft(Ne, d, re), Qe = et + Qe), ht && qe(/((--!?|])>)|<\/(style|script|title|xmp|textarea|noscript|iframe|noembed|noframes)/i, Qe)) {
3106
3106
  Ft(Ne, d, re);
3107
3107
  continue;
3108
3108
  }
3109
- if (it === "attributename" && vr(Qe, "href")) {
3109
+ if (it === "attributename" && Er(Qe, "href")) {
3110
3110
  Ft(Ne, d, re);
3111
3111
  continue;
3112
3112
  }
@@ -3119,19 +3119,19 @@ function go() {
3119
3119
  Ft(Ne, d, re);
3120
3120
  continue;
3121
3121
  }
3122
- if (st && (Qe = On(Qe)), !cr(X, it, Qe)) {
3122
+ if (st && (Qe = On(Qe)), !ur(X, it, Qe)) {
3123
3123
  Ft(Ne, d, re);
3124
3124
  continue;
3125
3125
  }
3126
- Qe = Mo(X, it, ke, Qe), Qe !== ii && Fo(d, Ne, ke, Qe);
3126
+ Qe = Fo(X, it, ke, Qe), Qe !== ii && Uo(d, Ne, ke, Qe);
3127
3127
  }
3128
3128
  }
3129
3129
  It(D.afterSanitizeAttributes, d, null);
3130
3130
  }, Nn = function(d) {
3131
3131
  let w = null;
3132
- const N = or(d);
3132
+ const N = ar(d);
3133
3133
  for (It(D.beforeSanitizeShadowDOM, d, null); w = N.nextNode(); )
3134
- if (It(D.uponSanitizeShadowNode, w, null), lr(w, d), ur(w), Gt(w.content) && Nn(w.content), _(w) === at.element) {
3134
+ if (It(D.uponSanitizeShadowNode, w, null), dr(w, d), pr(w), Gt(w.content) && Nn(w.content), _(w) === at.element) {
3135
3135
  const z = A(w);
3136
3136
  Gt(z) && (ni(z), Nn(z));
3137
3137
  }
@@ -3185,7 +3185,7 @@ function go() {
3185
3185
  B ? (Y = ie, P = se) : ei(d), (D.uponSanitizeElement.length > 0 || D.uponSanitizeAttribute.length > 0) && (Y = lt(Y)), D.uponSanitizeAttribute.length > 0 && (P = lt(P)), t.removed = [];
3186
3186
  const re = mt && typeof R != "string" && cn(R);
3187
3187
  if (re) {
3188
- Ro(R);
3188
+ Do(R);
3189
3189
  const nt = k(R);
3190
3190
  if (typeof nt == "string") {
3191
3191
  const it = Pe(nt);
@@ -3200,20 +3200,20 @@ function go() {
3200
3200
  throw Sn(R), it;
3201
3201
  }
3202
3202
  } else if (cn(R))
3203
- w = rr("<!---->"), N = w.ownerDocument.importNode(R, !0), N.nodeType === at.element && N.nodeName === "BODY" || N.nodeName === "HTML" ? w = N : w.appendChild(N), ni(N);
3203
+ w = sr("<!---->"), N = w.ownerDocument.importNode(R, !0), N.nodeType === at.element && N.nodeName === "BODY" || N.nodeName === "HTML" ? w = N : w.appendChild(N), ni(N);
3204
3204
  else {
3205
3205
  if (!G && !st && !pt && // eslint-disable-next-line unicorn/prefer-includes
3206
3206
  R.indexOf("<") === -1)
3207
3207
  return U && he ? ee(R) : R;
3208
- if (w = rr(R), !w)
3208
+ if (w = sr(R), !w)
3209
3209
  return G ? null : he ? oe : "";
3210
3210
  }
3211
3211
  w && ye && Nt(w.firstChild);
3212
3212
  const Ne = re ? R : w;
3213
3213
  try {
3214
- const nt = or(Ne);
3214
+ const nt = ar(Ne);
3215
3215
  for (; z = nt.nextNode(); )
3216
- lr(z, Ne), ur(z), Gt(z.content) && Nn(z.content);
3216
+ dr(z, Ne), pr(z), Gt(z.content) && Nn(z.content);
3217
3217
  } catch (nt) {
3218
3218
  throw re && (Sn(R), Wt(t.removed, (it) => {
3219
3219
  it.element && Cn(it.element);
@@ -3242,7 +3242,7 @@ function go() {
3242
3242
  }, t.isValidAttribute = function(R, d, w) {
3243
3243
  Jt || ei({});
3244
3244
  const N = Pe(R), z = Pe(d);
3245
- return cr(N, z, w);
3245
+ return ur(N, z, w);
3246
3246
  }, t.addHook = function(R, d) {
3247
3247
  typeof d == "function" && rt(D, R) && un(D[R], d);
3248
3248
  }, t.removeHook = function(R, d) {
@@ -3251,15 +3251,15 @@ function go() {
3251
3251
  const w = qs(D[R], d);
3252
3252
  return w === -1 ? void 0 : Xs(D[R], w, 1)[0];
3253
3253
  }
3254
- return Tr(D[R]);
3254
+ return Ir(D[R]);
3255
3255
  }
3256
3256
  }, t.removeHooks = function(R) {
3257
3257
  rt(D, R) && (D[R] = []);
3258
3258
  }, t.removeAllHooks = function() {
3259
- D = Rr();
3259
+ D = kr();
3260
3260
  }, t;
3261
3261
  }
3262
- var va = go();
3262
+ var va = yo();
3263
3263
  const Ia = [
3264
3264
  "math",
3265
3265
  "mrow",
@@ -3354,7 +3354,7 @@ function fi(e) {
3354
3354
  }
3355
3355
  );
3356
3356
  }
3357
- function yo(e) {
3357
+ function mo(e) {
3358
3358
  const t = e.className || "ts4nfdi-altNameTab-style";
3359
3359
  Re(() => {
3360
3360
  e.error && console.error("Loading the alternative names failed:", e.error);
@@ -3384,7 +3384,7 @@ function ic(e) {
3384
3384
  )
3385
3385
  );
3386
3386
  return /* @__PURE__ */ i("div", { "data-testid": "alternative-name", children: /* @__PURE__ */ i(
3387
- yo,
3387
+ mo,
3388
3388
  {
3389
3389
  synonyms: u ? on(u) ? u.getSynonyms().map((T) => T.value) : [] : [],
3390
3390
  isLoading: p,
@@ -3393,7 +3393,7 @@ function ic(e) {
3393
3393
  }
3394
3394
  ) });
3395
3395
  }
3396
- function mo(e) {
3396
+ function wo(e) {
3397
3397
  const t = e.className || "ts4nfdi-altNameTab-style";
3398
3398
  Re(() => {
3399
3399
  e.error && console.error("Loading the cross references failed:", e.error);
@@ -3415,7 +3415,7 @@ function rc(e) {
3415
3415
  )
3416
3416
  );
3417
3417
  return /* @__PURE__ */ i("div", { "data-testid": "cross-ref", children: /* @__PURE__ */ i(
3418
- mo,
3418
+ wo,
3419
3419
  {
3420
3420
  crossrefs: u ? on(u) ? K.fromJson(u.getCrossReferences()).map((T) => T.value) : [] : [],
3421
3421
  isLoading: p,
@@ -3652,7 +3652,7 @@ class Tn {
3652
3652
  }
3653
3653
  async makeCall(t, n, o) {
3654
3654
  const r = $e(o) ? "" : "v2/", s = (await this.axiosInstance.get(r + t, n)).data;
3655
- return Di(s);
3655
+ return Pi(s);
3656
3656
  }
3657
3657
  async getAncestors(t, n, o, r = !1, s = !1, a) {
3658
3658
  let l;
@@ -4130,7 +4130,7 @@ class Tn {
4130
4130
  )).map((n) => this.entityToEntityData(n));
4131
4131
  }
4132
4132
  }
4133
- function Dr(e) {
4133
+ function Pr(e) {
4134
4134
  return {
4135
4135
  iri: e["@id"],
4136
4136
  label: e.prefLabel,
@@ -4138,7 +4138,7 @@ function Dr(e) {
4138
4138
  parents: []
4139
4139
  };
4140
4140
  }
4141
- class Wi {
4141
+ class Hi {
4142
4142
  constructor(t, n) {
4143
4143
  H(this, "axiosInstance");
4144
4144
  H(this, "apiKey");
@@ -4161,7 +4161,7 @@ class Wi {
4161
4161
  throw Error("entityType has to be specified for OntoPortal API.");
4162
4162
  const a = [], l = /* @__PURE__ */ new Map(), c = /* @__PURE__ */ new Map(), u = /* @__PURE__ */ new Set(), p = /* @__PURE__ */ new Set();
4163
4163
  function y(v) {
4164
- if (l.set(v["@id"], Dr(v)), v.hasChildren && v.children.length > 0) {
4164
+ if (l.set(v["@id"], Pr(v)), v.hasChildren && v.children.length > 0) {
4165
4165
  c.set(
4166
4166
  v["@id"],
4167
4167
  v.children.map((m) => ({ childIri: m["@id"] }))
@@ -4239,7 +4239,7 @@ class Wi {
4239
4239
  entitiesData: l,
4240
4240
  allChildrenPresent: u,
4241
4241
  roots: f,
4242
- api: new Wi(this.axiosInstance.getUri(), this.apiKey),
4242
+ api: new Hi(this.axiosInstance.getUri(), this.apiKey),
4243
4243
  ontologyId: o,
4244
4244
  mainEntityIri: n,
4245
4245
  keepExpansionStates: t.keepExpansionStates,
@@ -4263,7 +4263,7 @@ class Wi {
4263
4263
  language: "EN"
4264
4264
  }
4265
4265
  }
4266
- )).collection.map((a) => Dr(a));
4266
+ )).collection.map((a) => Pr(a));
4267
4267
  }
4268
4268
  }
4269
4269
  class gi {
@@ -4300,7 +4300,7 @@ class gi {
4300
4300
  };
4301
4301
  }
4302
4302
  }
4303
- class Bi {
4303
+ class $i {
4304
4304
  constructor(t) {
4305
4305
  H(this, "axiosInstance");
4306
4306
  this.axiosInstance = rn.create({
@@ -4408,7 +4408,7 @@ class Bi {
4408
4408
  entitiesData: c,
4409
4409
  allChildrenPresent: u,
4410
4410
  roots: b,
4411
- api: new Bi(this.axiosInstance.getUri()),
4411
+ api: new $i(this.axiosInstance.getUri()),
4412
4412
  ontologyId: o,
4413
4413
  mainEntityIri: n,
4414
4414
  keepExpansionStates: t.keepExpansionStates,
@@ -4529,7 +4529,7 @@ function _a(e) {
4529
4529
  ] })
4530
4530
  ] });
4531
4531
  }
4532
- const [, oe] = Bo(
4532
+ const [, oe] = Ho(
4533
4533
  (D) => D + 1 % Number.MAX_SAFE_INTEGER,
4534
4534
  0
4535
4535
  ), [x, L] = kt.useState(!1), [$, ge] = kt.useState(!1), ee = bt(() => {
@@ -4537,9 +4537,9 @@ function _a(e) {
4537
4537
  case "ols":
4538
4538
  return new Tn(t);
4539
4539
  case "skosmos":
4540
- return new Bi(t);
4540
+ return new $i(t);
4541
4541
  case "ontoportal":
4542
- return new Wi(t, o || "");
4542
+ return new Hi(t, o || "");
4543
4543
  default:
4544
4544
  return new Tn(t);
4545
4545
  }
@@ -4597,7 +4597,7 @@ function _a(e) {
4597
4597
  {
4598
4598
  refetchOnWindowFocus: !1
4599
4599
  }
4600
- ), Fe = Vr(
4600
+ ), Fe = qr(
4601
4601
  (D) => {
4602
4602
  if (!(te instanceof nn))
4603
4603
  throw Error(
@@ -4730,7 +4730,7 @@ function _a(e) {
4730
4730
  O && _ && /* @__PURE__ */ h(V, { children: [
4731
4731
  /* @__PURE__ */ i(Te, { size: "s" }),
4732
4732
  /* @__PURE__ */ i(
4733
- Jo,
4733
+ Go,
4734
4734
  {
4735
4735
  buttonContent: $ ? "Hide Legend" : "Show Legend",
4736
4736
  id: "",
@@ -4803,8 +4803,8 @@ function _a(e) {
4803
4803
  )
4804
4804
  ] }) : /* @__PURE__ */ i(Xe, { children: /* @__PURE__ */ i(De, {}) }) });
4805
4805
  }
4806
- const Hi = "https://terminology.services.base4nfdi.de/api-gateway/ols4/api/", Na = "https://terminology.services.base4nfdi.de/api-gateway/", Ze = !0;
4807
- function kr() {
4806
+ const Ji = "https://terminology.services.base4nfdi.de/api-gateway/ols4/api/", Na = "https://terminology.services.base4nfdi.de/api-gateway/", Ze = !0;
4807
+ function Mr() {
4808
4808
  return /* @__PURE__ */ i("span", { style: { margin: "0 0.15em" } });
4809
4809
  }
4810
4810
  function gt({
@@ -4821,7 +4821,7 @@ function gt({
4821
4821
  return /* @__PURE__ */ i("span", { className: "highlight", children: e.getLabel() });
4822
4822
  if (!l)
4823
4823
  return s.startsWith("http") ? /* @__PURE__ */ i("a", { className: "clickable", href: s, children: a }) : /* @__PURE__ */ i("span", { children: a });
4824
- const u = l.definedBy ? l.definedBy.filter((y) => y !== c) : [], p = l.type ? so(l.type) : e.getType();
4824
+ const u = l.definedBy ? l.definedBy.filter((y) => y !== c) : [], p = l.type ? ao(l.type) : e.getType();
4825
4825
  return u.length === 1 ? l.hasLocalDefinition ? /* @__PURE__ */ h(E, { children: [
4826
4826
  /* @__PURE__ */ i(
4827
4827
  "button",
@@ -4909,7 +4909,7 @@ function gt({
4909
4909
  ] }) : /* @__PURE__ */ h(E, { children: [
4910
4910
  /* @__PURE__ */ i("a", { className: "clickable", href: s, children: a }),
4911
4911
  o && /* @__PURE__ */ h(E, { children: [
4912
- /* @__PURE__ */ i(kr, {}),
4912
+ /* @__PURE__ */ i(Mr, {}),
4913
4913
  /* @__PURE__ */ h(
4914
4914
  tn,
4915
4915
  {
@@ -4945,7 +4945,7 @@ function gt({
4945
4945
  ) }) : parseInt(l.numAppearsIn) > 0 ? /* @__PURE__ */ h(E, { children: [
4946
4946
  /* @__PURE__ */ i("a", { className: "clickable", href: s, children: a }),
4947
4947
  o && /* @__PURE__ */ h(E, { children: [
4948
- /* @__PURE__ */ i(kr, {}),
4948
+ /* @__PURE__ */ i(Mr, {}),
4949
4949
  /* @__PURE__ */ h(
4950
4950
  tn,
4951
4951
  {
@@ -5424,7 +5424,7 @@ function me({
5424
5424
  return s;
5425
5425
  }
5426
5426
  const Aa = !0;
5427
- function Pr(e, t) {
5427
+ function Fr(e, t) {
5428
5428
  return t === !1 && typeof e == "object" && Array.isArray(e.type) && e.type.includes("reification");
5429
5429
  }
5430
5430
  function La(e) {
@@ -5715,7 +5715,7 @@ function La(e) {
5715
5715
  for (const le of ee) {
5716
5716
  const ve = j(x.properties[le]);
5717
5717
  for (const ne of ve) {
5718
- if (Pr(ne, u) && typeof ne.value == "string" && U(ne.value)) {
5718
+ if (Fr(ne, u) && typeof ne.value == "string" && U(ne.value)) {
5719
5719
  const D = [];
5720
5720
  j(ne.axioms).forEach((ce) => {
5721
5721
  Object.keys(ce).forEach((Se) => {
@@ -5782,7 +5782,7 @@ function La(e) {
5782
5782
  " ",
5783
5783
  /* @__PURE__ */ i("span", { style: { fontSize: "medium", color: "gray" }, children: "▸" }),
5784
5784
  " ",
5785
- Pr(ne, u) ? /* @__PURE__ */ i(E, { children: j(ne.axioms).map((D) => /* @__PURE__ */ i("ul", { style: { listStyleType: "circle" }, children: Object.keys(D).map((ce) => /* @__PURE__ */ h("li", { children: [
5785
+ Fr(ne, u) ? /* @__PURE__ */ i(E, { children: j(ne.axioms).map((D) => /* @__PURE__ */ i("ul", { style: { listStyleType: "circle" }, children: Object.keys(D).map((ce) => /* @__PURE__ */ h("li", { children: [
5786
5786
  /* @__PURE__ */ i(
5787
5787
  me,
5788
5788
  {
@@ -5889,7 +5889,7 @@ function La(e) {
5889
5889
  maxWidth: "720px"
5890
5890
  },
5891
5891
  children: /* @__PURE__ */ i(
5892
- qr,
5892
+ Kr,
5893
5893
  {
5894
5894
  tableCaption: "Formula symbols",
5895
5895
  responsiveBreakpoint: !1,
@@ -5981,7 +5981,7 @@ function La(e) {
5981
5981
  en,
5982
5982
  {
5983
5983
  "data-testid": "entity-info",
5984
- title: a ? (l ? xt(ro(l)) : t ? xt(t.getType()) : "") + " Information" : "",
5984
+ title: a ? (l ? xt(oo(l)) : t ? xt(t.getType()) : "") + " Information" : "",
5985
5985
  layout: "horizontal",
5986
5986
  children: [
5987
5987
  n && /* @__PURE__ */ i(De, { size: "s" }),
@@ -5998,7 +5998,7 @@ function La(e) {
5998
5998
  O(t),
5999
5999
  C(t)
6000
6000
  ] }),
6001
- Li(t) && /* @__PURE__ */ i(E, { children: _(t) }),
6001
+ Di(t) && /* @__PURE__ */ i(E, { children: _(t) }),
6002
6002
  k(t)
6003
6003
  ] }),
6004
6004
  o !== void 0 && /* @__PURE__ */ i(ae, { children: ot(o, "information") })
@@ -6057,7 +6057,7 @@ function Ht(e, t, n = Ze, o) {
6057
6057
  _t,
6058
6058
  {
6059
6059
  parentEntity: e,
6060
- reified: pr(t[0]),
6060
+ reified: gr(t[0]),
6061
6061
  showBadges: n,
6062
6062
  onNavigates: o
6063
6063
  }
@@ -6066,7 +6066,7 @@ function Ht(e, t, n = Ze, o) {
6066
6066
  _t,
6067
6067
  {
6068
6068
  parentEntity: e,
6069
- reified: pr(r),
6069
+ reified: gr(r),
6070
6070
  showBadges: n,
6071
6071
  onNavigates: o
6072
6072
  }
@@ -6121,7 +6121,7 @@ function Ua(e, t = Ze, n) {
6121
6121
  Ht(e, o, t, n)
6122
6122
  ] });
6123
6123
  }
6124
- function Mr(e, t, n = Ze, o) {
6124
+ function Ur(e, t, n = Ze, o) {
6125
6125
  return j(e).slice().reverse().map((r, s) => /* @__PURE__ */ h("span", { children: [
6126
6126
  /* @__PURE__ */ i(
6127
6127
  me,
@@ -6142,14 +6142,14 @@ function za(e, t = Ze, n) {
6142
6142
  return /* @__PURE__ */ h(V, { children: [
6143
6143
  /* @__PURE__ */ i("b", { children: r ? "Property chains" : "Property chain" }),
6144
6144
  r ? /* @__PURE__ */ h(E, { children: [
6145
- /* @__PURE__ */ i("ul", { children: o.map((s) => /* @__PURE__ */ i("li", { children: Mr(
6145
+ /* @__PURE__ */ i("ul", { children: o.map((s) => /* @__PURE__ */ i("li", { children: Ur(
6146
6146
  s,
6147
6147
  e,
6148
6148
  t,
6149
6149
  n
6150
6150
  ) }, pe())) }),
6151
6151
  /* @__PURE__ */ i("p", {})
6152
- ] }) : /* @__PURE__ */ i("p", { children: Mr(
6152
+ ] }) : /* @__PURE__ */ i("p", { children: Ur(
6153
6153
  o,
6154
6154
  e,
6155
6155
  t,
@@ -6253,7 +6253,7 @@ function $a(e) {
6253
6253
  };
6254
6254
  function b(f, v) {
6255
6255
  let m = [];
6256
- return Li(f) && m.push(
6256
+ return Di(f) && m.push(
6257
6257
  ka(f, l, T),
6258
6258
  Pa(f, l, T),
6259
6259
  Ma(f, l, T)
@@ -6276,7 +6276,7 @@ function $a(e) {
6276
6276
  en,
6277
6277
  {
6278
6278
  "data-testid": "entity-relations",
6279
- title: s ? (a ? xt(ro(a)) : t ? xt(t.getType()) : "") + " Relations" : "",
6279
+ title: s ? (a ? xt(oo(a)) : t ? xt(t.getType()) : "") + " Relations" : "",
6280
6280
  layout: "horizontal",
6281
6281
  children: [
6282
6282
  o && /* @__PURE__ */ i(De, { size: "s" }),
@@ -6442,7 +6442,7 @@ function Ga(e) {
6442
6442
  }
6443
6443
  );
6444
6444
  }
6445
- const x = () => O((ee) => !ee), L = () => O(!1), $ = /* @__PURE__ */ i(Xr, { iconType: "info", iconSide: "right", onClick: x, children: "Guide me" }), ge = () => {
6445
+ const x = () => O((ee) => !ee), L = () => O(!1), $ = /* @__PURE__ */ i(Qr, { iconType: "info", iconSide: "right", onClick: x, children: "Guide me" }), ge = () => {
6446
6446
  document.fullscreenElement ? (document.exitFullscreen(), _(!1)) : k.current && (k.current.requestFullscreen(), _(!0));
6447
6447
  };
6448
6448
  return /* @__PURE__ */ i(
@@ -6517,7 +6517,7 @@ function Ga(e) {
6517
6517
  }
6518
6518
  ),
6519
6519
  A && /* @__PURE__ */ i(
6520
- Go,
6520
+ Vo,
6521
6521
  {
6522
6522
  color: "red",
6523
6523
  style: {
@@ -6588,7 +6588,7 @@ function Ga(e) {
6588
6588
  }
6589
6589
  );
6590
6590
  }
6591
- const Fr = {
6591
+ const zr = {
6592
6592
  enabled: !0,
6593
6593
  //@ts-ignore
6594
6594
  direction: "DU",
@@ -6743,7 +6743,7 @@ async function Xa(e) {
6743
6743
  }
6744
6744
  return { termRelations: l };
6745
6745
  }
6746
- function Ur(e) {
6746
+ function jr(e) {
6747
6747
  let t = [];
6748
6748
  for (let n of e) {
6749
6749
  if (n.parent === "#") {
@@ -6809,8 +6809,8 @@ function Ka(e) {
6809
6809
  parameter: p
6810
6810
  });
6811
6811
  }
6812
- ), Y = dt(new hr([])), J = dt(new hr([])), P = dt({}), Le = dt(null), de = dt(/* @__PURE__ */ new Map());
6813
- if (a && (Dn.layout.hierarchical = Fr), Z && (v || S)) {
6812
+ ), Y = dt(new fr([])), J = dt(new fr([])), P = dt({}), Le = dt(null), de = dt(/* @__PURE__ */ new Map());
6813
+ if (a && (Dn.layout.hierarchical = zr), Z && (v || S)) {
6814
6814
  let B = { ..._ }, ie = { nodes: [], edges: [] };
6815
6815
  ie = Z.termRelations ?? ie, Z.treeData && r && (v || S) && !a ? ie = ut(
6816
6816
  Z.treeData,
@@ -6938,9 +6938,9 @@ function Ka(e) {
6938
6938
  );
6939
6939
  }
6940
6940
  function ut(B, ie, se, ye) {
6941
- let G = { nodes: [], edges: [] }, _e = Ur(B);
6941
+ let G = { nodes: [], edges: [] }, _e = jr(B);
6942
6942
  if (xe(G, _e), S || Ve(G, ie), Ie && se) {
6943
- let he = Ur(
6943
+ let he = jr(
6944
6944
  se
6945
6945
  );
6946
6946
  xe(G, he, !0), S || Ve(G, ye, !0);
@@ -7011,7 +7011,7 @@ function Ka(e) {
7011
7011
  }, [e.targetIri]), Re(() => {
7012
7012
  e.iri && b !== e.iri && (A(!1), P.current.destroy(), Y.current.clear(), J.current.clear(), f(e.iri), m(!0), C(O + 1));
7013
7013
  }, [e.iri]), Re(() => {
7014
- a ? Dn.layout.hierarchical = Fr : Dn.layout.hierarchical = { enabled: !1 }, C(O + 1);
7014
+ a ? Dn.layout.hierarchical = zr : Dn.layout.hierarchical = { enabled: !1 }, C(O + 1);
7015
7015
  }, [a]), Re(() => {
7016
7016
  S && (P.current.setOptions({ physics: !0 }), setTimeout(() => {
7017
7017
  P.current.setOptions({ physics: !1 });
@@ -7226,7 +7226,7 @@ function el(e) {
7226
7226
  }
7227
7227
  );
7228
7228
  }
7229
- function wo(e) {
7229
+ function bo(e) {
7230
7230
  const { depictionUrls: t, isLoading: n, error: o } = e;
7231
7231
  return /* @__PURE__ */ h("div", { "data-testid": "term-depiction", children: [
7232
7232
  n && /* @__PURE__ */ i(De, { size: "s" }),
@@ -7245,7 +7245,7 @@ function wo(e) {
7245
7245
  }
7246
7246
  ) : /* @__PURE__ */ h(E, { children: [
7247
7247
  /* @__PURE__ */ i(
7248
- Vo,
7248
+ Yo,
7249
7249
  {
7250
7250
  size: "m",
7251
7251
  hasShadow: !0,
@@ -7260,10 +7260,10 @@ function wo(e) {
7260
7260
  ] });
7261
7261
  }
7262
7262
  function oc(e) {
7263
- return /* @__PURE__ */ i(Kr, { colorMode: "light", globalStyles: !1, children: /* @__PURE__ */ i(wo, { ...e }) });
7263
+ return /* @__PURE__ */ i(Ci, { colorMode: "light", globalStyles: !1, children: /* @__PURE__ */ i(bo, { ...e }) });
7264
7264
  }
7265
- function bo(e) {
7266
- const { api: t, iri: n, ontologyId: o, useLegacy: r } = e, s = new Ui(t), { data: a, isLoading: l, isLoadingError: c, error: u } = Ae(
7265
+ function To(e) {
7266
+ const { api: t, iri: n, ontologyId: o, useLegacy: r } = e, s = new ji(t), { data: a, isLoading: l, isLoadingError: c, error: u } = Ae(
7267
7267
  ["termDepiction", t, n, o, r],
7268
7268
  async () => s.getThingObject(
7269
7269
  n,
@@ -7274,7 +7274,7 @@ function bo(e) {
7274
7274
  )
7275
7275
  );
7276
7276
  return /* @__PURE__ */ i(
7277
- wo,
7277
+ bo,
7278
7278
  {
7279
7279
  depictionUrls: a == null ? void 0 : a.getDepictionUrl(),
7280
7280
  isLoading: l,
@@ -7283,9 +7283,9 @@ function bo(e) {
7283
7283
  );
7284
7284
  }
7285
7285
  function sc(e) {
7286
- const t = new eo();
7287
- return /* @__PURE__ */ i(Kr, { colorMode: "light", children: /* @__PURE__ */ i(as, { client: t, children: /* @__PURE__ */ i(
7288
- bo,
7286
+ const t = new Oi();
7287
+ return /* @__PURE__ */ i(Ci, { colorMode: "light", children: /* @__PURE__ */ i(to, { client: t, children: /* @__PURE__ */ i(
7288
+ To,
7289
7289
  {
7290
7290
  api: e.api,
7291
7291
  iri: e.iri,
@@ -7294,7 +7294,7 @@ function sc(e) {
7294
7294
  }
7295
7295
  ) }) });
7296
7296
  }
7297
- function zr({
7297
+ function Wr({
7298
7298
  entityLabel: e,
7299
7299
  onTargetIriChange: t,
7300
7300
  initialTargetIri: n,
@@ -7302,7 +7302,7 @@ function zr({
7302
7302
  }) {
7303
7303
  const [r, s] = q(n || ""), [a, l] = q(
7304
7304
  n
7305
- ), c = Vr(() => {
7305
+ ), c = qr(() => {
7306
7306
  const p = r.trim() || void 0;
7307
7307
  l(p), t(p);
7308
7308
  }, [r, t]);
@@ -7310,7 +7310,7 @@ function zr({
7310
7310
  s(n || ""), n !== a && l(n);
7311
7311
  }, [n]), /* @__PURE__ */ i(E, { children: /* @__PURE__ */ i(Xe, { hasShadow: !1, className: o, paddingSize: "m", children: /* @__PURE__ */ i(jt, { fullWidth: !0, style: { marginBottom: -10 }, children: /* @__PURE__ */ h(Je, { gutterSize: "s", alignItems: "center", children: [
7312
7312
  /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(
7313
- Yo,
7313
+ qo,
7314
7314
  {
7315
7315
  placeholder: "Enter a target IRI to compare against",
7316
7316
  value: r,
@@ -7350,7 +7350,7 @@ function tl(e) {
7350
7350
  const o = e.className || "ts4nfdi-tab-style", r = [];
7351
7351
  (e.altNamesTab === void 0 || e.altNamesTab) && r.push({
7352
7352
  content: /* @__PURE__ */ i(
7353
- yo,
7353
+ mo,
7354
7354
  {
7355
7355
  synonyms: n ? n.getSynonyms().map((T) => T.value) : [],
7356
7356
  isLoading: e.isLoading,
@@ -7379,7 +7379,7 @@ function tl(e) {
7379
7379
  /* @__PURE__ */ i(Te, { size: "s" })
7380
7380
  ] }) }) }) }),
7381
7381
  /* @__PURE__ */ i(V, { children: e.enableComparisonMode && s && /* @__PURE__ */ i(
7382
- zr,
7382
+ Wr,
7383
7383
  {
7384
7384
  entityLabel: (u = n.getLabel) == null ? void 0 : u.call(n),
7385
7385
  initialTargetIri: e.targetIri,
@@ -7411,7 +7411,7 @@ function tl(e) {
7411
7411
  name: "Hierarchy"
7412
7412
  }), (e.crossRefTab === void 0 || e.crossRefTab) && r.push({
7413
7413
  content: /* @__PURE__ */ i(
7414
- mo,
7414
+ wo,
7415
7415
  {
7416
7416
  crossrefs: n ? K.fromJson(n.getCrossReferences()).map((T) => T.value) : [],
7417
7417
  isLoading: e.isLoading,
@@ -7450,7 +7450,7 @@ function tl(e) {
7450
7450
  /* @__PURE__ */ i(Te, { size: "s" })
7451
7451
  ] }) }) }) }),
7452
7452
  /* @__PURE__ */ i(V, { children: e.enableComparisonMode && s && /* @__PURE__ */ i(
7453
- zr,
7453
+ Wr,
7454
7454
  {
7455
7455
  entityLabel: (y = n.getLabel) == null ? void 0 : y.call(n),
7456
7456
  initialTargetIri: e.targetIri,
@@ -7477,7 +7477,7 @@ function tl(e) {
7477
7477
  name: "Graph View"
7478
7478
  }), (e.termDepictionTab === void 0 || e.termDepictionTab) && r.push({
7479
7479
  content: /* @__PURE__ */ i(
7480
- bo,
7480
+ To,
7481
7481
  {
7482
7482
  api: e.api,
7483
7483
  ontologyId: e.ontologyId || n.getOntologyId(),
@@ -7537,7 +7537,7 @@ function tl(e) {
7537
7537
  width: "100%"
7538
7538
  },
7539
7539
  children: /* @__PURE__ */ i(
7540
- qo,
7540
+ Xo,
7541
7541
  {
7542
7542
  size: "s",
7543
7543
  tabs: r,
@@ -7547,7 +7547,7 @@ function tl(e) {
7547
7547
  }
7548
7548
  );
7549
7549
  }
7550
- return /* @__PURE__ */ i(E, { children: on(e.data) || yn(e.data) || Li(e.data) ? t(e.data) : null });
7550
+ return /* @__PURE__ */ i(E, { children: on(e.data) || yn(e.data) || Di(e.data) ? t(e.data) : null });
7551
7551
  }
7552
7552
  function nl(e) {
7553
7553
  const {
@@ -7693,7 +7693,7 @@ function il(e) {
7693
7693
  }
7694
7694
  ) }) }),
7695
7695
  /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(Je, { direction: "column", children: /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(Je, { children: /* @__PURE__ */ i(V, { grow: !1, children: /* @__PURE__ */ i(
7696
- uo,
7696
+ ho,
7697
7697
  {
7698
7698
  iri: S,
7699
7699
  className: `${C}-iri`,
@@ -7704,7 +7704,7 @@ function il(e) {
7704
7704
  }
7705
7705
  ) }) }) }) }) }),
7706
7706
  /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(
7707
- co,
7707
+ uo,
7708
7708
  {
7709
7709
  description: o ?? "",
7710
7710
  className: `${C}-description`,
@@ -7715,7 +7715,7 @@ function il(e) {
7715
7715
  ) }),
7716
7716
  ((r ?? []).length > 0 || (s ?? []).length > 0) && /* @__PURE__ */ h("div", { style: { margin: "0 12px 0" }, children: [
7717
7717
  /* @__PURE__ */ i(
7718
- ji,
7718
+ Bi,
7719
7719
  {
7720
7720
  iri: S,
7721
7721
  label: t || "",
@@ -7726,7 +7726,7 @@ function il(e) {
7726
7726
  }
7727
7727
  ),
7728
7728
  /* @__PURE__ */ i(
7729
- zi,
7729
+ Wi,
7730
7730
  {
7731
7731
  iri: S,
7732
7732
  ontolist: s ?? [],
@@ -7831,7 +7831,7 @@ function ac(e) {
7831
7831
  className: u,
7832
7832
  onNavigateTo: p,
7833
7833
  href: y
7834
- } = e, T = new Ui(o), { data: b, isLoading: f, isSuccess: v, isError: m, error: I } = Ae(
7834
+ } = e, T = new ji(o), { data: b, isLoading: f, isSuccess: v, isError: m, error: I } = Ae(
7835
7835
  ["titleData", o, a, s, t, n, l],
7836
7836
  async () => T.getThingObject(
7837
7837
  t,
@@ -7858,7 +7858,7 @@ function ac(e) {
7858
7858
  }
7859
7859
  ) });
7860
7860
  }
7861
- const jr = (e, t) => {
7861
+ const Br = (e, t) => {
7862
7862
  const n = e.toLowerCase(), o = t.toLowerCase();
7863
7863
  let r = 0;
7864
7864
  const s = Math.min(n.length, o.length);
@@ -7871,9 +7871,9 @@ const jr = (e, t) => {
7871
7871
  return "";
7872
7872
  if (!t)
7873
7873
  return e[0];
7874
- let n = e[0], o = jr(e[0], t);
7874
+ let n = e[0], o = Br(e[0], t);
7875
7875
  for (let r = 1; r < e.length; r++) {
7876
- const s = jr(e[r], t);
7876
+ const s = Br(e[r], t);
7877
7877
  s > o && (o = s, n = e[r]);
7878
7878
  }
7879
7879
  return n;
@@ -7948,7 +7948,7 @@ function lc(e) {
7948
7948
  onNavigateToOntology: f,
7949
7949
  showApiRequestButton: v = !0,
7950
7950
  ...m
7951
- } = e, I = new Fi(t), A = new Me(t), S = Xo(), [g, O] = q(
7951
+ } = e, I = new zi(t), A = new Me(t), S = Ko(), [g, O] = q(
7952
7952
  b ?? ""
7953
7953
  ), [C, _] = q([]), [k, U] = q([]), oe = y || "ts4nfdi-autocomplete-style", [x, L] = q(!1), [$, ge] = q("");
7954
7954
  Re(() => {
@@ -8223,7 +8223,7 @@ Synonyms: ` + Q.synonyms.join(", "));
8223
8223
  }
8224
8224
  return /* @__PURE__ */ i("div", { className: oe, children: /* @__PURE__ */ h(Je, { gutterSize: "xs", alignItems: "center", responsive: !1, children: [
8225
8225
  /* @__PURE__ */ i(V, { children: /* @__PURE__ */ i(
8226
- Qr,
8226
+ Zr,
8227
8227
  {
8228
8228
  "data-testid": "autocomplete",
8229
8229
  isClearable: !0,
@@ -8244,7 +8244,7 @@ Synonyms: ` + Q.synonyms.join(", "));
8244
8244
  noSuggestions: !x
8245
8245
  }
8246
8246
  ) }),
8247
- v && /* @__PURE__ */ i(V, { grow: !1, children: /* @__PURE__ */ i(Ko, { content: "Open current search request as JSON in a new tab", children: /* @__PURE__ */ i(
8247
+ v && /* @__PURE__ */ i(V, { grow: !1, children: /* @__PURE__ */ i(Qo, { content: "Open current search request as JSON in a new tab", children: /* @__PURE__ */ i(
8248
8248
  Mt,
8249
8249
  {
8250
8250
  iconType: "document",
@@ -8286,18 +8286,18 @@ function Pn({
8286
8286
  e === 1 ? n : o
8287
8287
  ] });
8288
8288
  }
8289
- function Wr(e) {
8289
+ function Hr(e) {
8290
8290
  const t = new Date(e).toISOString(), n = t.slice(0, 10), o = t.slice(11);
8291
8291
  return o === "00:00:00.000Z" ? n : `${n} ${o.slice(0, 5)} UTC`;
8292
8292
  }
8293
- function Br(e) {
8293
+ function $r(e) {
8294
8294
  const { isError: t, isLoading: n, dataUpdatedAt: o, ontologiesData: r, ...s } = e;
8295
8295
  return t ? /* @__PURE__ */ i(
8296
8296
  en,
8297
8297
  {
8298
8298
  "data-testid": "data-content",
8299
8299
  title: "Data Content",
8300
- description: o ? `Updated ${Wr(o)}` : "",
8300
+ description: o ? `Updated ${Hr(o)}` : "",
8301
8301
  layout: "horizontal",
8302
8302
  children: /* @__PURE__ */ i(ae, { ...s, children: "No data content available" })
8303
8303
  }
@@ -8306,7 +8306,7 @@ function Br(e) {
8306
8306
  {
8307
8307
  "data-testid": "data-content",
8308
8308
  title: "Data Content",
8309
- description: o ? `Updated at ${Wr(o)}` : "",
8309
+ description: o ? `Updated at ${Hr(o)}` : "",
8310
8310
  layout: "horizontal",
8311
8311
  children: /* @__PURE__ */ i(ae, { ...s, children: n ? /* @__PURE__ */ i(De, { size: "s" }) : /* @__PURE__ */ h("ul", { children: [
8312
8312
  /* @__PURE__ */ i(
@@ -8427,8 +8427,8 @@ function cc(e) {
8427
8427
  collectionId: o,
8428
8428
  enabled: !!o
8429
8429
  });
8430
- return o ? /* @__PURE__ */ i(Br, { ...r, ...y }) : /* @__PURE__ */ i(
8431
- Br,
8430
+ return o ? /* @__PURE__ */ i($r, { ...r, ...y }) : /* @__PURE__ */ i(
8431
+ $r,
8432
8432
  {
8433
8433
  ...r,
8434
8434
  ontologiesData: l,
@@ -8438,7 +8438,7 @@ function cc(e) {
8438
8438
  }
8439
8439
  );
8440
8440
  }
8441
- function To(e) {
8441
+ function vo(e) {
8442
8442
  return e.trim().replace(/\s+/g, " ");
8443
8443
  }
8444
8444
  function ml(e, t) {
@@ -8451,11 +8451,11 @@ function ml(e, t) {
8451
8451
  function Vn(e) {
8452
8452
  return e === "property" || e === "annotationProperty" || e === "dataProperty" || e === "objectProperty";
8453
8453
  }
8454
- function $i(e) {
8454
+ function Gi(e) {
8455
8455
  return e === "individual";
8456
8456
  }
8457
8457
  function dc(e) {
8458
- const { api: t, ontologyId: n, parameter: o, entityType: r } = e, s = r && Ni(r) ? r : void 0, a = bt(() => {
8458
+ const { api: t, ontologyId: n, parameter: o, entityType: r } = e, s = r && Li(r) ? r : void 0, a = bt(() => {
8459
8459
  if (!(!t || typeof t != "string"))
8460
8460
  return ks(t);
8461
8461
  }, [t]), l = bt(() => {
@@ -8466,7 +8466,7 @@ function dc(e) {
8466
8466
  g.current.abort();
8467
8467
  }), [t, n, o, r]), Re(() => {
8468
8468
  const ge = setTimeout(() => {
8469
- const ee = To(T);
8469
+ const ee = vo(T);
8470
8470
  u(0), v(ee);
8471
8471
  }, 300);
8472
8472
  return () => clearTimeout(ge);
@@ -8507,7 +8507,7 @@ function dc(e) {
8507
8507
  return { rows: [], totalItemCount: 0 };
8508
8508
  if (f) {
8509
8509
  const ee = `${o}&search=**${f}**`;
8510
- return await Hr(
8510
+ return await Jr(
8511
8511
  l,
8512
8512
  n,
8513
8513
  ee,
@@ -8517,7 +8517,7 @@ function dc(e) {
8517
8517
  ge
8518
8518
  );
8519
8519
  }
8520
- return await Hr(
8520
+ return await Jr(
8521
8521
  l,
8522
8522
  n,
8523
8523
  o ?? "",
@@ -8561,17 +8561,17 @@ function dc(e) {
8561
8561
  );
8562
8562
  }
8563
8563
  function wl(e) {
8564
- return Ji((e == null ? void 0 : e.label) ?? (e == null ? void 0 : e.title) ?? (e == null ? void 0 : e.name));
8564
+ return Vi((e == null ? void 0 : e.label) ?? (e == null ? void 0 : e.title) ?? (e == null ? void 0 : e.name));
8565
8565
  }
8566
8566
  function bl(e) {
8567
8567
  const t = (e == null ? void 0 : e.curie) ?? (e == null ? void 0 : e.obo_id) ?? (e == null ? void 0 : e.short_form) ?? (e == null ? void 0 : e.id);
8568
8568
  return t ? String(t) : "—";
8569
8569
  }
8570
8570
  function Tl(e) {
8571
- return Ji((e == null ? void 0 : e.domain) ?? (e == null ? void 0 : e.domains));
8571
+ return Vi((e == null ? void 0 : e.domain) ?? (e == null ? void 0 : e.domains));
8572
8572
  }
8573
8573
  function vl(e) {
8574
- return Ji((e == null ? void 0 : e.range) ?? (e == null ? void 0 : e.ranges));
8574
+ return Vi((e == null ? void 0 : e.range) ?? (e == null ? void 0 : e.ranges));
8575
8575
  }
8576
8576
  function Il(e) {
8577
8577
  var l;
@@ -8605,7 +8605,7 @@ function Il(e) {
8605
8605
  console.log(`No label was found for the IRI: ${r}`);
8606
8606
  return (r.includes("#") ? r.split("#").pop() : r.split("/").pop()) || "—";
8607
8607
  }
8608
- function Ji(e) {
8608
+ function Vi(e) {
8609
8609
  if (e == null) return "—";
8610
8610
  if (Array.isArray(e)) {
8611
8611
  const t = e.map((n) => Yn(n)).filter(Boolean);
@@ -8629,14 +8629,14 @@ function Yn(e) {
8629
8629
  function El(e, t) {
8630
8630
  if (Array.isArray(e == null ? void 0 : e.elements)) return e.elements;
8631
8631
  const n = e == null ? void 0 : e._embedded;
8632
- return !n || typeof n != "object" ? [] : Vn(t) ? Array.isArray(n.properties) ? n.properties : [] : $i(t) ? Array.isArray(n.individuals) ? n.individuals : [] : Array.isArray(n.classes) ? n.classes : [];
8632
+ return !n || typeof n != "object" ? [] : Vn(t) ? Array.isArray(n.properties) ? n.properties : [] : Gi(t) ? Array.isArray(n.individuals) ? n.individuals : [] : Array.isArray(n.classes) ? n.classes : [];
8633
8633
  }
8634
8634
  function Sl(e, t) {
8635
8635
  var o;
8636
8636
  const n = (e == null ? void 0 : e.totalElements) ?? (e == null ? void 0 : e.numElements) ?? ((o = e == null ? void 0 : e.page) == null ? void 0 : o.totalElements);
8637
8637
  return typeof n == "number" && Number.isFinite(n) ? n : (typeof n == "string" || typeof n == "bigint") && Number.isFinite(Number(n)) ? Number(n) : t;
8638
8638
  }
8639
- async function Hr(e, t, n, o, r, s, a) {
8639
+ async function Jr(e, t, n, o, r, s, a) {
8640
8640
  const l = { page: String(r), size: String(s) }, c = o ?? "class", u = ds(c), p = await Ls(
8641
8641
  e,
8642
8642
  u,
@@ -8653,12 +8653,12 @@ async function Hr(e, t, n, o, r, s, a) {
8653
8653
  rowIndex: T + f,
8654
8654
  domain: Vn(c) ? Tl(b) : void 0,
8655
8655
  range: Vn(c) ? vl(b) : void 0,
8656
- type: $i(c) ? Il(b) : void 0
8656
+ type: Gi(c) ? Il(b) : void 0
8657
8657
  })),
8658
8658
  totalItemCount: Sl(p, y.length)
8659
8659
  };
8660
8660
  }
8661
- new eo();
8661
+ new Oi();
8662
8662
  function Cl(e) {
8663
8663
  const {
8664
8664
  isLoading: t,
@@ -8687,7 +8687,7 @@ function Cl(e) {
8687
8687
  sortable: !0
8688
8688
  },
8689
8689
  { field: "range", name: "Range", truncateText: !0, sortable: !0 }
8690
- ), $i(y) && m.push({
8690
+ ), Gi(y) && m.push({
8691
8691
  field: "type",
8692
8692
  name: "Type",
8693
8693
  truncateText: !0,
@@ -8706,7 +8706,7 @@ function Cl(e) {
8706
8706
  ] }) }) }),
8707
8707
  /* @__PURE__ */ i(Te, { size: "s" }),
8708
8708
  /* @__PURE__ */ i(
8709
- Qo,
8709
+ Zo,
8710
8710
  {
8711
8711
  fullWidth: !0,
8712
8712
  incremental: !0,
@@ -8721,9 +8721,9 @@ function Cl(e) {
8721
8721
  ),
8722
8722
  /* @__PURE__ */ i(Te, { size: "m" }),
8723
8723
  /* @__PURE__ */ i(
8724
- qr,
8724
+ Kr,
8725
8725
  {
8726
- css: Ci`
8726
+ css: xi`
8727
8727
  tbody .euiTableRow:nth-of-type(odd) {
8728
8728
  background-color: #ffffff;
8729
8729
  }
@@ -8760,11 +8760,11 @@ function Ol(e) {
8760
8760
  raw: t
8761
8761
  };
8762
8762
  }
8763
- async function Gi(e, t) {
8763
+ async function Yi(e, t) {
8764
8764
  var c;
8765
8765
  const { iri: n, ontologyId: o, api: r, parameter: s } = e;
8766
8766
  if (!n && !o) throw Error("No IRI or ontologyId provided");
8767
- const a = r || Hi;
8767
+ const a = r || Ji;
8768
8768
  let l;
8769
8769
  if (n) {
8770
8770
  const u = await new Me(a).getEntity(
@@ -8795,7 +8795,7 @@ async function Gi(e, t) {
8795
8795
  (u) => u.provider !== void 0
8796
8796
  );
8797
8797
  }
8798
- function vo(e) {
8798
+ function Io(e) {
8799
8799
  var n;
8800
8800
  return (n = e.find(
8801
8801
  (o) => {
@@ -8805,10 +8805,10 @@ function vo(e) {
8805
8805
  ) || e[0]) == null ? void 0 : n.provider;
8806
8806
  }
8807
8807
  async function uc(e, t) {
8808
- return (await Gi(e, t)).map((o) => o.provider);
8808
+ return (await Yi(e, t)).map((o) => o.provider);
8809
8809
  }
8810
8810
  async function hc(e, t) {
8811
- return vo(await Gi(e, t));
8811
+ return Io(await Yi(e, t));
8812
8812
  }
8813
8813
  const Fn = {
8814
8814
  providers: [],
@@ -8827,14 +8827,14 @@ function pc(e) {
8827
8827
  }
8828
8828
  let c = !1;
8829
8829
  const u = new AbortController();
8830
- return l({ ...Fn, isLoading: !0 }), Gi(
8830
+ return l({ ...Fn, isLoading: !0 }), Yi(
8831
8831
  { iri: t, ontologyId: n, api: o, parameter: r },
8832
8832
  u.signal
8833
8833
  ).then(
8834
8834
  (p) => {
8835
8835
  c || l({
8836
8836
  providers: p.map((y) => y.provider),
8837
- provider: vo(p),
8837
+ provider: Io(p),
8838
8838
  isLoading: !1,
8839
8839
  isSuccess: !0,
8840
8840
  isError: !1,
@@ -8887,7 +8887,7 @@ class xl {
8887
8887
  });
8888
8888
  }
8889
8889
  }
8890
- function $r(e) {
8890
+ function Gr(e) {
8891
8891
  const t = new Date(e ?? "");
8892
8892
  return isNaN(t.getTime()) ? "—" : t.toLocaleString("en-GB", {
8893
8893
  day: "2-digit",
@@ -8897,7 +8897,7 @@ function $r(e) {
8897
8897
  minute: "2-digit"
8898
8898
  });
8899
8899
  }
8900
- const _l = { csv: ",", tsv: " " }, Jr = "coli-conc@gbv.de";
8900
+ const _l = { csv: ",", tsv: " " }, Vr = "coli-conc@gbv.de";
8901
8901
  function Nl(e) {
8902
8902
  const { mapping: t, MappingDetailBackgroundColor: n = "#fff5fa", onClose: o } = e, { fromScheme: r, toScheme: s, modified: a, identifier: l, partOf: c, uri: u } = t, p = c == null ? void 0 : c.split("/").pop(), y = {
8903
8903
  type: t.type,
@@ -8969,10 +8969,10 @@ function Nl(e) {
8969
8969
  {
8970
8970
  label: "Feedback:",
8971
8971
  value: /* @__PURE__ */ h(E, { children: [
8972
- /* @__PURE__ */ i(Tt, { href: `mailto:${Jr}`, children: "provide feedback via email" }),
8972
+ /* @__PURE__ */ i(Tt, { href: `mailto:${Vr}`, children: "provide feedback via email" }),
8973
8973
  " ",
8974
8974
  "(",
8975
- Jr,
8975
+ Vr,
8976
8976
  ")"
8977
8977
  ] })
8978
8978
  }
@@ -9067,7 +9067,7 @@ const Al = "12%", Ll = {
9067
9067
  /* @__PURE__ */ i("line", { x1: "4", y1: "12", x2: "20", y2: "12" }),
9068
9068
  /* @__PURE__ */ i("polyline", { points: "15 7 20 12 15 17" })
9069
9069
  ] })
9070
- }, zt = Yr(({ type: e }) => {
9070
+ }, zt = Xr(({ type: e }) => {
9071
9071
  const t = Ll[e];
9072
9072
  return t ? /* @__PURE__ */ i(
9073
9073
  "svg",
@@ -9083,7 +9083,7 @@ const Al = "12%", Ll = {
9083
9083
  children: t
9084
9084
  }
9085
9085
  ) : null;
9086
- }), Rl = Yr(({ style: e, ...t }) => /* @__PURE__ */ h(
9086
+ }), Rl = Xr(({ style: e, ...t }) => /* @__PURE__ */ h(
9087
9087
  "svg",
9088
9088
  {
9089
9089
  viewBox: "0 0 24 24",
@@ -9615,7 +9615,7 @@ function Dl(e) {
9615
9615
  /* @__PURE__ */ i("div", { children: /* @__PURE__ */ i(
9616
9616
  Un,
9617
9617
  {
9618
- css: Ci`
9618
+ css: xi`
9619
9619
  thead .euiTableHeaderCell .eui-textTruncate {
9620
9620
  white-space: normal !important;
9621
9621
  overflow-wrap: anywhere;
@@ -9695,17 +9695,17 @@ function Dl(e) {
9695
9695
  }
9696
9696
  ) }),
9697
9697
  u && /* @__PURE__ */ h(
9698
- Zo,
9698
+ es,
9699
9699
  {
9700
9700
  onClose: () => p(null),
9701
9701
  maxWidth: 800,
9702
9702
  outsideClickCloses: !0,
9703
9703
  children: [
9704
- /* @__PURE__ */ i(es, { children: /* @__PURE__ */ i(ts, { size: "s", children: "Entity metadata" }) }),
9705
- /* @__PURE__ */ i(ns, { children: /* @__PURE__ */ i(
9704
+ /* @__PURE__ */ i(ts, { children: /* @__PURE__ */ i(ns, { size: "s", children: "Entity metadata" }) }),
9705
+ /* @__PURE__ */ i(is, { children: /* @__PURE__ */ i(
9706
9706
  rl,
9707
9707
  {
9708
- api: Hi,
9708
+ api: Ji,
9709
9709
  iri: u.iri,
9710
9710
  ontologyId: u.ontologyId,
9711
9711
  useLegacy: !1
@@ -9724,7 +9724,7 @@ function Pl(e) {
9724
9724
  source: n,
9725
9725
  rowColor: o = kl,
9726
9726
  MappingDetailBackgroundColor: r
9727
- } = e, s = bt(() => new xl(t), [t]), a = bt(() => new Me(Hi), []), { data: l, isLoading: c, isError: u, error: p } = Ae(
9727
+ } = e, s = bt(() => new xl(t), [t]), a = bt(() => new Me(Ji), []), { data: l, isLoading: c, isError: u, error: p } = Ae(
9728
9728
  ["mappings", n],
9729
9729
  () => s.getMappingsByFrom(n)
9730
9730
  ), [y, T] = q({}), [b, f] = q({}), [v, m] = q(!1), [I, A] = q(null), [S, g] = q(""), [O, C] = q([]), [_, k] = q([]), U = (M) => {
@@ -9788,11 +9788,11 @@ function Pl(e) {
9788
9788
  creator: ((_e = (G = (ye = M.creator) == null ? void 0 : ye[0]) == null ? void 0 : G.prefLabel) == null ? void 0 : _e.en) ?? "—",
9789
9789
  type: ((Ye = (he = M.type) == null ? void 0 : he[0]) == null ? void 0 : Ye.split("#").pop()) ?? "—",
9790
9790
  created: M.created ?? "—",
9791
- createdLabel: $r(M.created ?? "—"),
9791
+ createdLabel: Gr(M.created ?? "—"),
9792
9792
  fromScheme: ((et = (Ke = M.fromScheme) == null ? void 0 : Ke.notation) == null ? void 0 : et[0]) ?? "—",
9793
9793
  toScheme: ((mt = (tt = M.toScheme) == null ? void 0 : tt.notation) == null ? void 0 : mt[0]) ?? "—",
9794
9794
  identifier: ((ft = M.identifier) == null ? void 0 : ft[0]) ?? "—",
9795
- modified: $r(M.modified ?? "—"),
9795
+ modified: Gr(M.modified ?? "—"),
9796
9796
  uri: M.uri ?? "—",
9797
9797
  partOf: ((an = (Ot = M.partOf) == null ? void 0 : Ot[0]) == null ? void 0 : an.uri) ?? "—"
9798
9798
  };
@@ -9800,7 +9800,7 @@ function Pl(e) {
9800
9800
  [l, y, b]
9801
9801
  ), ge = {
9802
9802
  onChange: ({ query: M }) => {
9803
- const fe = To((M == null ? void 0 : M.text) ?? "");
9803
+ const fe = vo((M == null ? void 0 : M.text) ?? "");
9804
9804
  g(fe);
9805
9805
  },
9806
9806
  box: {
@@ -9844,7 +9844,8 @@ function Pl(e) {
9844
9844
  );
9845
9845
  }
9846
9846
  function gc(e) {
9847
- return /* @__PURE__ */ i(
9847
+ const t = new Oi();
9848
+ return /* @__PURE__ */ i(Ci, { colorMode: "light", children: /* @__PURE__ */ i(to, { client: t, children: /* @__PURE__ */ i(
9848
9849
  Pl,
9849
9850
  {
9850
9851
  api: e.api,
@@ -9852,7 +9853,7 @@ function gc(e) {
9852
9853
  rowColor: e.rowColor,
9853
9854
  MappingDetailBackgroundColor: e.MappingDetailBackgroundColor
9854
9855
  }
9855
- );
9856
+ ) }) });
9856
9857
  }
9857
9858
  function Ml(e) {
9858
9859
  const {
@@ -9906,7 +9907,7 @@ function Ml(e) {
9906
9907
  {
9907
9908
  name: "Description",
9908
9909
  field: "config.description",
9909
- css: Ci`
9910
+ css: xi`
9910
9911
  display: block;
9911
9912
  max-height: 200px;
9912
9913
  overflow: auto;
@@ -9986,7 +9987,7 @@ function Ml(e) {
9986
9987
  children: `${oe}`
9987
9988
  }
9988
9989
  )
9989
- }), O[g.ontologyId] = /* @__PURE__ */ i(os, { listItems: x });
9990
+ }), O[g.ontologyId] = /* @__PURE__ */ i(ss, { listItems: x });
9990
9991
  }
9991
9992
  p(O);
9992
9993
  }, m = [
@@ -9995,7 +9996,7 @@ function Ml(e) {
9995
9996
  align: "right",
9996
9997
  width: "40px",
9997
9998
  isExpander: !0,
9998
- name: /* @__PURE__ */ i(rs, { children: /* @__PURE__ */ i("span", { children: "Expand row" }) }),
9999
+ name: /* @__PURE__ */ i(os, { children: /* @__PURE__ */ i("span", { children: "Expand row" }) }),
9999
10000
  mobileOptions: { header: !1 },
10000
10001
  render: (g) => {
10001
10002
  const O = { ...u };
@@ -10030,7 +10031,7 @@ function Ml(e) {
10030
10031
  });
10031
10032
  return /* @__PURE__ */ h("div", { className: b, "data-testid": "resources", children: [
10032
10033
  !n && !o && /* @__PURE__ */ h(E, { children: [
10033
- /* @__PURE__ */ i(is, { title: "Licenses", iconType: "info", color: "warning", children: /* @__PURE__ */ i("p", { children: "The use and distribution of the terminologies beyond this service is only permitted in compliance with the license conditions of the respective terminology, also in compliance with the license conditions in the respective countries." }) }),
10034
+ /* @__PURE__ */ i(rs, { title: "Licenses", iconType: "info", color: "warning", children: /* @__PURE__ */ i("p", { children: "The use and distribution of the terminologies beyond this service is only permitted in compliance with the license conditions of the respective terminology, also in compliance with the license conditions in the respective countries." }) }),
10034
10035
  /* @__PURE__ */ i(Te, { size: "m" }),
10035
10036
  /* @__PURE__ */ h(ae, { size: "xs", children: [
10036
10037
  "Showing ",
@@ -10039,7 +10040,7 @@ function Ml(e) {
10039
10040
  /* @__PURE__ */ i("strong", { children: "Ontologies" })
10040
10041
  ] }),
10041
10042
  /* @__PURE__ */ i(Te, { size: "s" }),
10042
- /* @__PURE__ */ i(Zr, { margin: "none", style: { height: 2 } }),
10043
+ /* @__PURE__ */ i(eo, { margin: "none", style: { height: 2 } }),
10043
10044
  /* @__PURE__ */ i(
10044
10045
  Un,
10045
10046
  {
@@ -10137,7 +10138,7 @@ function yc(e) {
10137
10138
  );
10138
10139
  }
10139
10140
  function zl(e) {
10140
- const { api: t, query: n, selectionChangedEvent: o, ...r } = e, s = new Fi(t), [a, l] = q(), [c, u] = q([]), [p, y] = q(n), T = (v) => {
10141
+ const { api: t, query: n, selectionChangedEvent: o, ...r } = e, s = new zi(t), [a, l] = q(), [c, u] = q([]), [p, y] = q(n), T = (v) => {
10141
10142
  u(v);
10142
10143
  }, b = (v) => {
10143
10144
  if (!v.trim().toLowerCase())
@@ -10178,7 +10179,7 @@ function zl(e) {
10178
10179
  }))
10179
10180
  );
10180
10181
  }, [c]), /* @__PURE__ */ i("div", { "data-testid": "search-bar", children: /* @__PURE__ */ i(
10181
- Qr,
10182
+ Zr,
10182
10183
  {
10183
10184
  id: "suggest",
10184
10185
  isClearable: !0,
@@ -10300,12 +10301,12 @@ function Wl(e) {
10300
10301
  }
10301
10302
  ),
10302
10303
  /* @__PURE__ */ i(Te, { size: "s" }),
10303
- n.type != "ontology" ? /* @__PURE__ */ i(uo, { iri: n.iri, className: `${r}-iri` }) : void 0,
10304
+ n.type != "ontology" ? /* @__PURE__ */ i(ho, { iri: n.iri, className: `${r}-iri` }) : void 0,
10304
10305
  /* @__PURE__ */ i(Te, { size: "s" }),
10305
10306
  v && /* @__PURE__ */ i(ae, { size: "xs", color: "subdued", children: ot(m, "ontology information") }),
10306
10307
  f && /* @__PURE__ */ h("div", { style: { maxWidth: 600 }, children: [
10307
10308
  /* @__PURE__ */ i(
10308
- ji,
10309
+ Bi,
10309
10310
  {
10310
10311
  iri: n.iri,
10311
10312
  label: n.label || "",
@@ -10316,7 +10317,7 @@ function Wl(e) {
10316
10317
  }
10317
10318
  ),
10318
10319
  /* @__PURE__ */ i(
10319
- zi,
10320
+ Wi,
10320
10321
  {
10321
10322
  iri: n.iri,
10322
10323
  ontolist: f.definedBy,
@@ -10359,7 +10360,7 @@ function mc(e) {
10359
10360
  useLegacy: p = !0,
10360
10361
  className: y,
10361
10362
  ...T
10362
- } = e, b = new Fi(t), f = y || "ts4nfdi-searchResult-style", [v, m] = q(n), [I, A] = q(0), [S, g] = q(0), [O, C] = q(r), [_, k] = q(0), [U, oe] = q(!1), [x, L] = q(!1), [$, ge] = q([]), [ee, te] = q([]), Ie = e.query || "*";
10363
+ } = e, b = new zi(t), f = y || "ts4nfdi-searchResult-style", [v, m] = q(n), [I, A] = q(0), [S, g] = q(0), [O, C] = q(r), [_, k] = q(0), [U, oe] = q(!1), [x, L] = q(!1), [$, ge] = q([]), [ee, te] = q([]), Ie = e.query || "*";
10363
10364
  Re(() => {
10364
10365
  m(n);
10365
10366
  }, [n]), Re(() => {
@@ -10582,7 +10583,7 @@ function mc(e) {
10582
10583
  ] })
10583
10584
  }
10584
10585
  ) }),
10585
- /* @__PURE__ */ i(Xr, { onClick: fe, children: "Clear all filters" })
10586
+ /* @__PURE__ */ i(Qr, { onClick: fe, children: "Clear all filters" })
10586
10587
  ] }) }),
10587
10588
  /* @__PURE__ */ i(V, { grow: 7, children: /* @__PURE__ */ h(Xe, { color: "transparent", grow: !1, children: [
10588
10589
  /* @__PURE__ */ h(Je, { children: [
@@ -10630,10 +10631,10 @@ function mc(e) {
10630
10631
  " results"
10631
10632
  ] }) : "Result number not available" }),
10632
10633
  /* @__PURE__ */ i(Te, { size: "s" }),
10633
- /* @__PURE__ */ i(Zr, { margin: "none", style: { height: 2 } }),
10634
+ /* @__PURE__ */ i(eo, { margin: "none", style: { height: 2 } }),
10634
10635
  /* @__PURE__ */ i(Te, { size: "s" }),
10635
10636
  /* @__PURE__ */ i(
10636
- ss,
10637
+ as,
10637
10638
  {
10638
10639
  "aria-label": "Search result pagination",
10639
10640
  pageCount: S,
@@ -10700,31 +10701,31 @@ function mc(e) {
10700
10701
  ] }) });
10701
10702
  }
10702
10703
  export {
10703
- yo as AlternativeNameTabPresentation,
10704
+ mo as AlternativeNameTabPresentation,
10704
10705
  ic as AlternativeNameTabWidget,
10705
10706
  lc as AutocompleteWidget,
10706
10707
  Gn as BreadcrumbPresentation,
10707
10708
  Ps as BreadcrumbWidget,
10708
- mo as CrossRefTabPresentation,
10709
+ wo as CrossRefTabPresentation,
10709
10710
  rc as CrossRefTabWidget,
10710
- Br as DataContentPresentation,
10711
+ $r as DataContentPresentation,
10711
10712
  cc as DataContentWidget,
10712
- co as DescriptionPresentation,
10713
+ uo as DescriptionPresentation,
10713
10714
  Fs as DescriptionWidget,
10714
- zi as EntityDefinedByPresentation,
10715
+ Wi as EntityDefinedByPresentation,
10715
10716
  tc as EntityDefinedByWidget,
10716
10717
  La as EntityInfoPresentation,
10717
10718
  Ra as EntityInfoWidget,
10718
10719
  Cl as EntityListPresentation,
10719
10720
  dc as EntityListWidget,
10720
- ji as EntityOntoListPresentation,
10721
+ Bi as EntityOntoListPresentation,
10721
10722
  nc as EntityOntoListWidget,
10722
10723
  $a as EntityRelationsPresentation,
10723
10724
  Ja as EntityRelationsWidget,
10724
10725
  Ga as GraphViewPresentation,
10725
10726
  Ka as GraphViewWidget,
10726
10727
  _a as HierarchyWidget,
10727
- uo as IriWidget,
10728
+ ho as IriWidget,
10728
10729
  fc as JsonApiWidget,
10729
10730
  Pl as MappingListWidget,
10730
10731
  fi as MathFormulaWidget,
@@ -10738,8 +10739,8 @@ export {
10738
10739
  mc as SearchResultsListWidget,
10739
10740
  tl as TabPresentation,
10740
10741
  nl as TabWidget,
10741
- wo as TermDepictionPresentation,
10742
- bo as TermDepictionWidget,
10742
+ bo as TermDepictionPresentation,
10743
+ To as TermDepictionWidget,
10743
10744
  ac as TitleWidget,
10744
10745
  gc as WrappedMappingListWidget,
10745
10746
  oc as WrappedTermDepictionPresentation,