col-browser 2.9.0 → 2.10.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.
Files changed (63) hide show
  1. package/README.md +29 -1
  2. package/basemap/style.json +1 -1
  3. package/es/bibtex.js +1 -1
  4. package/es/chunks/{BibTex-Bmiqb90o.js → BibTex-2E8oB2c5.js} +2 -2
  5. package/es/chunks/{BibTex-Bmiqb90o.js.map → BibTex-2E8oB2c5.js.map} +1 -1
  6. package/es/chunks/{DatasetCitation-BtDwIIDX.js → DatasetCitation-CqEmtLlj.js} +3 -3
  7. package/es/chunks/{DatasetCitation-BtDwIIDX.js.map → DatasetCitation-CqEmtLlj.js.map} +1 -1
  8. package/es/chunks/{DatasetlogoWithFallback-CMPmcG2C.js → DatasetlogoWithFallback-DLNEhUlR.js} +2 -2
  9. package/es/chunks/{DatasetlogoWithFallback-CMPmcG2C.js.map → DatasetlogoWithFallback-DLNEhUlR.js.map} +1 -1
  10. package/es/chunks/Distributions-mIlSFgUC.js +230 -0
  11. package/es/chunks/Distributions-mIlSFgUC.js.map +1 -0
  12. package/es/chunks/{ErrorMsg-B-kvpMgH.js → ErrorMsg-Co668fRd.js} +8 -7
  13. package/es/chunks/{ErrorMsg-B-kvpMgH.js.map → ErrorMsg-Co668fRd.js.map} +1 -1
  14. package/es/chunks/{MetricsPresentation-DKCJQOtf.js → MetricsPresentation-D0lWPxCu.js} +2 -2
  15. package/es/chunks/{MetricsPresentation-DKCJQOtf.js.map → MetricsPresentation-D0lWPxCu.js.map} +1 -1
  16. package/es/chunks/{TaxonBreakdown-CILXbINQ.js → TaxonBreakdown-C2tMPpaB.js} +16 -15
  17. package/es/chunks/{TaxonBreakdown-CILXbINQ.js.map → TaxonBreakdown-C2tMPpaB.js.map} +1 -1
  18. package/es/chunks/{XrGutter-CPe8vyRy.js → XrGutter-CQdnOGIa.js} +2 -2
  19. package/es/chunks/{XrGutter-CPe8vyRy.js.map → XrGutter-CQdnOGIa.js.map} +1 -1
  20. package/es/chunks/client-CTn6s1A6.js +57 -0
  21. package/es/chunks/client-CTn6s1A6.js.map +1 -0
  22. package/es/chunks/{config-DFtvmQdF.js → config-9UwXwMRq.js} +2 -2
  23. package/es/chunks/{config-DFtvmQdF.js.map → config-9UwXwMRq.js.map} +1 -1
  24. package/es/chunks/{dataset-BKggpI8E.js → dataset-Dz2EA1A4.js} +3 -3
  25. package/es/chunks/{dataset-BKggpI8E.js.map → dataset-Dz2EA1A4.js.map} +1 -1
  26. package/es/chunks/{enumeration-aHxx2gjA.js → enumeration-DV0R7nXc.js} +3 -3
  27. package/es/chunks/{enumeration-aHxx2gjA.js.map → enumeration-DV0R7nXc.js.map} +1 -1
  28. package/es/chunks/index-CJZY-Eu5.js +1107 -0
  29. package/es/chunks/index-CJZY-Eu5.js.map +1 -0
  30. package/es/chunks/router-2hWSOoof.js +56 -0
  31. package/es/chunks/router-2hWSOoof.js.map +1 -0
  32. package/es/chunks/{sector-DdCBeUzI.js → sector-CRBn67UW.js} +3 -3
  33. package/es/chunks/{sector-DdCBeUzI.js.map → sector-CRBn67UW.js.map} +1 -1
  34. package/es/col-browser.css +1 -1
  35. package/es/config.js +1 -1
  36. package/es/index.js +1 -1
  37. package/es/map.js +30 -0
  38. package/es/map.js.map +1 -0
  39. package/es/search.js +99 -98
  40. package/es/search.js.map +1 -1
  41. package/es/sourceDataset.js +24 -23
  42. package/es/sourceDataset.js.map +1 -1
  43. package/es/sourceDatasetList.js +29 -28
  44. package/es/sourceDatasetList.js.map +1 -1
  45. package/es/taxon.js +52 -51
  46. package/es/taxon.js.map +1 -1
  47. package/es/taxonBreakdown.js +9 -8
  48. package/es/taxonBreakdown.js.map +1 -1
  49. package/es/taxonDistribution.js +18 -17
  50. package/es/taxonDistribution.js.map +1 -1
  51. package/es/tree.js +9 -8
  52. package/es/tree.js.map +1 -1
  53. package/package.json +5 -1
  54. package/types/map.d.ts +99 -0
  55. package/umd/col-browser.js +974 -233
  56. package/umd/col-browser.js.map +1 -1
  57. package/umd/col-browser.min.js +5 -5
  58. package/umd/col-browser.min.js.map +1 -1
  59. package/umd/main.css +2 -23
  60. package/es/chunks/Distributions-D_yRCeZ3.js +0 -1232
  61. package/es/chunks/Distributions-D_yRCeZ3.js.map +0 -1
  62. package/es/chunks/router-CssZk5qZ.js +0 -109
  63. package/es/chunks/router-CssZk5qZ.js.map +0 -1
package/es/taxon.js CHANGED
@@ -6,25 +6,26 @@ import { w as r2 } from "./chunks/withTheme-Dh6PRuII.js";
6
6
  import { j as t } from "./chunks/jsx-runtime-BzflLqGi.js";
7
7
  import * as r3 from "react";
8
8
  import n3, { useRef as l2, useState as X, useEffect as C3 } from "react";
9
- import { c as R } from "./chunks/config-DFtvmQdF.js";
10
- import { g as s2 } from "./chunks/sector-DdCBeUzI.js";
11
- import { b as R3 } from "./chunks/dataset-BKggpI8E.js";
9
+ import { c as R } from "./chunks/config-9UwXwMRq.js";
10
+ import { g as s2 } from "./chunks/sector-CRBn67UW.js";
11
+ import { b as R3 } from "./chunks/dataset-Dz2EA1A4.js";
12
12
  import h3 from "dataloader";
13
- import { c as P, L as p3, p as i2, R as Y3, s as p2, b as d2 } from "./chunks/router-CssZk5qZ.js";
14
- import { Row as d3, Col as U, Popover as H3, Tag as u3, Space as c2, Tooltip as F3, Table as y2, message as f2, Form as y3, Modal as g2, Alert as i3, Spin as m2, Input as w3, Button as M3, Rate as C2 } from "antd";
15
- import { isArray as u2, get as l, capitalize as D3, values as E2, startCase as P3 } from "lodash-es";
16
- import h2 from "react-jss";
17
- import { w as F2, P as $, g as z3 } from "./chunks/PresentationItem-C4yZ555-.js";
18
- import { a as W3, R as Z3, D as B2 } from "./chunks/Distributions-D_yRCeZ3.js";
19
- import { X as l3 } from "./chunks/XrGutter-CPe8vyRy.js";
13
+ import { c as P, p as i2, s as p2 } from "./chunks/client-CTn6s1A6.js";
14
+ import { Row as p3, Col as U, Popover as Y3, Tag as u3, Space as d2, Tooltip as F3, Table as c2, message as y2, Form as y3, Modal as f2, Alert as i3, Spin as g2, Input as w3, Button as M3, Rate as m2 } from "antd";
15
+ import { isArray as C2, get as l, capitalize as D3, values as u2, startCase as H3 } from "lodash-es";
16
+ import E2 from "react-jss";
17
+ import { w as h2, P as $, g as P3 } from "./chunks/PresentationItem-C4yZ555-.js";
18
+ import { a as z3, R as W3, D as F2 } from "./chunks/Distributions-mIlSFgUC.js";
19
+ import { X as l3 } from "./chunks/XrGutter-CQdnOGIa.js";
20
20
  import E3 from "linkify-html";
21
21
  import { R as B3 } from "./chunks/LinkOutlined-2IkQWTV7.js";
22
22
  import { I as j3 } from "./chunks/AntdIcon-B1nMlqyh.js";
23
- import { b as k2, g as x2, a as S2 } from "./chunks/enumeration-aHxx2gjA.js";
23
+ import { b as B2, g as k2, a as x2 } from "./chunks/enumeration-DV0R7nXc.js";
24
+ import { L as d3, R as Z3, b as S2 } from "./chunks/router-2hWSOoof.js";
24
25
  import b3 from "dompurify";
25
- import { E as f3, M as I3 } from "./chunks/ErrorMsg-B-kvpMgH.js";
26
- import { D as j2 } from "./chunks/DatasetlogoWithFallback-CMPmcG2C.js";
27
- import { T as b2 } from "./chunks/TaxonBreakdown-CILXbINQ.js";
26
+ import { E as f3, M as I3 } from "./chunks/ErrorMsg-Co668fRd.js";
27
+ import { D as j2 } from "./chunks/DatasetlogoWithFallback-DLNEhUlR.js";
28
+ import { T as b2 } from "./chunks/TaxonBreakdown-C2tMPpaB.js";
28
29
  import { marked as A2 } from "marked";
29
30
  var $2 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M505.7 661a8 8 0 0012.6 0l112-141.7c4.1-5.2.4-12.9-6.3-12.9h-74.1V168c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v338.3H400c-6.7 0-10.4 7.7-6.3 12.9l112 141.8zM878 626h-60c-4.4 0-8 3.6-8 8v154H214V634c0-4.4-3.6-8-8-8h-60c-4.4 0-8 3.6-8 8v198c0 17.7 14.3 32 32 32h684c17.7 0 32-14.3 32-32V634c0-4.4-3.6-8-8-8z" } }] }, name: "download", theme: "outlined" };
30
31
  function k3() {
@@ -109,8 +110,8 @@ const I2 = {
109
110
  let p;
110
111
  return Array.isArray(s) && s.length > 0 ? p = s.map((e, o) => /* @__PURE__ */ t.jsx("span", { className: r.content, children: e }, o)) : !Array.isArray(s) && typeof s < "u" && (p = /* @__PURE__ */ t.jsx("span", { className: r.content, children: s })), p;
111
112
  }, i = a === "medium" ? r.mediumMargin : r.smallMargin;
112
- return /* @__PURE__ */ t.jsx(d3, { className: r.formItem, children: /* @__PURE__ */ t.jsx(U, { span: 24, className: i, children: n() }) });
113
- }, G3 = F2()(h2(I2)(T2)), q3 = ({ style: r = {}, decision: s, popoverPlacement: a }) => {
113
+ return /* @__PURE__ */ t.jsx(p3, { className: r.formItem, children: /* @__PURE__ */ t.jsx(U, { span: 24, className: i, children: n() }) });
114
+ }, G3 = h2()(E2(I2)(T2)), q3 = ({ style: r = {}, decision: s, popoverPlacement: a }) => {
114
115
  const n = l2(Math.random().toString(36).substring(2, 15)), {
115
116
  subject: i,
116
117
  originalSubjectId: p,
@@ -123,7 +124,7 @@ const I2 = {
123
124
  ...B
124
125
  } = s;
125
126
  return /* @__PURE__ */ t.jsx("div", { style: { display: "inline" }, id: n.current, children: /* @__PURE__ */ t.jsx(
126
- H3,
127
+ Y3,
127
128
  {
128
129
  getPopupContainer: () => document.getElementById(n.current),
129
130
  title: "Editorial decision",
@@ -167,7 +168,7 @@ const I2 = {
167
168
  let a = r != null && r.gbifKey && (r == null ? void 0 : r.gbifPublisherKey) === ((i = R) == null ? void 0 : i.plaziGbifPublisherKey) ? `https://www.gbif.org/occurrence/${r == null ? void 0 : r.gbifKey}/${s.id}` : "";
168
169
  !a && ((p = s == null ? void 0 : s.link) != null && p.startsWith("https://www.gbif.org/occurrence/")) && (a = s == null ? void 0 : s.link);
169
170
  const n = s != null && s.associatedSequences && (s == null ? void 0 : s.associatedSequences.indexOf("ncbi.")) > -1 ? s == null ? void 0 : s.associatedSequences : "";
170
- return (a || n) && /* @__PURE__ */ t.jsx("span", { id: `${s.id}-type-material-links`, children: /* @__PURE__ */ t.jsxs(c2, { children: [
171
+ return (a || n) && /* @__PURE__ */ t.jsx("span", { id: `${s.id}-type-material-links`, children: /* @__PURE__ */ t.jsxs(d2, { children: [
171
172
  a && /* @__PURE__ */ t.jsx(F3, { title: "Occurrence in GBIF", getPopupContainer: () => document.getElementById(`${s.id}-type-material-links`) || document.body, children: /* @__PURE__ */ t.jsxs("a", { style: { marginLeft: 4 }, href: a, target: "_blank", rel: "noreferrer", children: [
172
173
  "GBIF ",
173
174
  /* @__PURE__ */ t.jsx(B3, {})
@@ -205,7 +206,7 @@ class _2 extends n3.Component {
205
206
  _(this, "getData", () => {
206
207
  const { nameId: a, datasetKey: n, references: i } = this.props;
207
208
  if (referenceId) {
208
- const p = u2(referenceId) ? referenceId : [referenceId], e = [];
209
+ const p = C2(referenceId) ? referenceId : [referenceId], e = [];
209
210
  this.setState({ loading: !0 }), Promise.all(
210
211
  p.map(
211
212
  (o) => l(i, o) ? Promise.resolve(e.push(i[a])) : P(
@@ -234,7 +235,7 @@ class _2 extends n3.Component {
234
235
  _(this, "render", () => {
235
236
  const { typeMaterial: a, nameId: n } = this.props;
236
237
  return ((a == null ? void 0 : a[n]) || []).length > 0 ? /* @__PURE__ */ t.jsxs(
237
- H3,
238
+ Y3,
238
239
  {
239
240
  getPopupContainer: () => document.getElementById(`type_popover_${n}`),
240
241
  placement: this.props.placement || "left",
@@ -273,7 +274,7 @@ const X3 = ({ total: r, visible: s, showAll: a, onChange: n }) => r <= s && !a ?
273
274
  const [n, i] = X(null);
274
275
  if (C3(() => {
275
276
  let e = !1;
276
- return k2().then((o) => {
277
+ return B2().then((o) => {
277
278
  e || i(o);
278
279
  }).catch(() => {
279
280
  }), () => {
@@ -315,7 +316,7 @@ const X3 = ({ total: r, visible: s, showAll: a, onChange: n }) => r <= s && !a ?
315
316
  children: /* @__PURE__ */ t.jsxs("span", { style: I ? { marginLeft: "10px" } : null, children: [
316
317
  u ? "" : k === !0 ? "≡ " : "= ",
317
318
  " ",
318
- /* @__PURE__ */ t.jsx(p3, { to: "taxon", args: l(d, "id"), children: /* @__PURE__ */ t.jsx(
319
+ /* @__PURE__ */ t.jsx(d3, { to: "taxon", args: l(d, "id"), children: /* @__PURE__ */ t.jsx(
319
320
  "span",
320
321
  {
321
322
  dangerouslySetInnerHTML: {
@@ -358,7 +359,7 @@ const X3 = ({ total: r, visible: s, showAll: a, onChange: n }) => r <= s && !a ?
358
359
  l(d, "status") === "misapplied" && l(d, "accordingTo") ? l(d, "accordingTo") : "",
359
360
  l(d, "status") === "ambiguous synonym" && "(Ambiguous)",
360
361
  /* @__PURE__ */ t.jsx(
361
- W3,
362
+ z3,
362
363
  {
363
364
  datasetKey: r,
364
365
  references: n,
@@ -387,7 +388,7 @@ class Y2 extends n3.Component {
387
388
  super(a);
388
389
  _(this, "componentDidMount", () => {
389
390
  const { data: a } = this.props;
390
- x2().then((n) => {
391
+ k2().then((n) => {
391
392
  const i = {}, p = {};
392
393
  n.forEach((o) => {
393
394
  i[o.alpha3] = o, p[o.alpha2] = o;
@@ -457,7 +458,7 @@ class Y2 extends n3.Component {
457
458
  dataIndex: "referenceId",
458
459
  key: "referenceId",
459
460
  render: (i, p) => i ? /* @__PURE__ */ t.jsx(
460
- W3,
461
+ z3,
461
462
  {
462
463
  referenceId: i,
463
464
  references: n,
@@ -473,7 +474,7 @@ class Y2 extends n3.Component {
473
474
  const { style: a } = this.props, { data: n, columns: i, showAll: p } = this.state, e = p ? n : n.slice(0, 5);
474
475
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
475
476
  /* @__PURE__ */ t.jsx(
476
- y2,
477
+ c2,
477
478
  {
478
479
  style: a,
479
480
  className: "colplus-taxon-page-list",
@@ -506,7 +507,7 @@ const H2 = {
506
507
  a.rank,
507
508
  ": "
508
509
  ] }),
509
- /* @__PURE__ */ t.jsx(p3, { to: "taxon", args: a.id, children: /* @__PURE__ */ t.jsx("span", { dangerouslySetInnerHTML: { __html: a.labelHtml } }) }),
510
+ /* @__PURE__ */ t.jsx(d3, { to: "taxon", args: a.id, children: /* @__PURE__ */ t.jsx("span", { dangerouslySetInnerHTML: { __html: a.labelHtml } }) }),
510
511
  n < r.length - 1 && " >"
511
512
  ] }, a.rank))
512
513
  ] }), z2 = (r, s) => {
@@ -580,9 +581,9 @@ const H2 = {
580
581
  style: a,
581
582
  primarySourceDatasetKey: n
582
583
  }) => (C3(() => {
583
- }, [s]), /* @__PURE__ */ t.jsx("div", { style: a, className: "col-reference-link-container", children: E2(r).map((i) => {
584
+ }, [s]), /* @__PURE__ */ t.jsx("div", { style: a, className: "col-reference-link-container", children: u2(r).map((i) => {
584
585
  var p, e;
585
- return /* @__PURE__ */ t.jsxs(d3, { children: [
586
+ return /* @__PURE__ */ t.jsxs(p3, { children: [
586
587
  /* @__PURE__ */ t.jsx(U, { style: { paddingRight: "5px" }, children: l(s, i.id) && /* @__PURE__ */ t.jsx("span", { children: `[${l(s, i.id)}]` }) }),
587
588
  /* @__PURE__ */ t.jsx(U, { span: 20, style: { paddingLeft: "18px" }, children: /* @__PURE__ */ t.jsxs(
588
589
  l3,
@@ -602,7 +603,7 @@ const H2 = {
602
603
  }
603
604
  }
604
605
  ),
605
- /* @__PURE__ */ t.jsx(Z3, { reference: i })
606
+ /* @__PURE__ */ t.jsx(W3, { reference: i })
606
607
  ]
607
608
  }
608
609
  ) })
@@ -645,7 +646,7 @@ const H2 = {
645
646
  const [s, a] = X(null);
646
647
  return C3(() => {
647
648
  let n = !1;
648
- return S2().then((i) => {
649
+ return x2().then((i) => {
649
650
  n || a(i);
650
651
  }).catch(() => {
651
652
  }), () => {
@@ -932,7 +933,7 @@ function J2() {
932
933
  })(g3)), g3.exports;
933
934
  }
934
935
  var X2 = J2();
935
- const t2 = /* @__PURE__ */ z3(X2);
936
+ const t2 = /* @__PURE__ */ P3(X2);
936
937
  var m3 = { exports: {} }, Q2 = m3.exports, N3;
937
938
  function t1() {
938
939
  return N3 || (N3 = 1, (function(r, s) {
@@ -959,7 +960,7 @@ function t1() {
959
960
  })(m3)), m3.exports;
960
961
  }
961
962
  var e1 = t1();
962
- const a1 = /* @__PURE__ */ z3(e1), o1 = ({ data: r, style: s, rank: a, taxon: n }) => {
963
+ const a1 = /* @__PURE__ */ P3(e1), o1 = ({ data: r, style: s, rank: a, taxon: n }) => {
963
964
  const i = a.reduce(
964
965
  (p, e) => (p[e.value] = e.plural, p),
965
966
  {}
@@ -970,10 +971,10 @@ const a1 = /* @__PURE__ */ z3(e1), o1 = ({ data: r, style: s, rank: a, taxon: n
970
971
  $,
971
972
  {
972
973
  md: 6,
973
- label: P3(i[p.value] || p.value),
974
+ label: H3(i[p.value] || p.value),
974
975
  classes: { formItem: { borderBottom: "none" } },
975
976
  children: /* @__PURE__ */ t.jsx(
976
- p3,
977
+ d3,
977
978
  {
978
979
  to: "search",
979
980
  args: {
@@ -1042,7 +1043,7 @@ const a1 = /* @__PURE__ */ z3(e1), o1 = ({ data: r, style: s, rank: a, taxon: n
1042
1043
  return (e = r == null ? void 0 : r.source) != null && e.secondarySources ? l1((o = r == null ? void 0 : r.source) == null ? void 0 : o.secondarySources).map(({ id: u, src: E, keys: b }) => {
1043
1044
  var c;
1044
1045
  return /* @__PURE__ */ t.jsxs(n3.Fragment, { children: [
1045
- b.map((B) => P3(B)).join(", "),
1046
+ b.map((B) => H3(B)).join(", "),
1046
1047
  ":",
1047
1048
  " ",
1048
1049
  /* @__PURE__ */ t.jsx(
@@ -1055,7 +1056,7 @@ const a1 = /* @__PURE__ */ z3(e1), o1 = ({ data: r, style: s, rank: a, taxon: n
1055
1056
  ] }, u);
1056
1057
  }) : null;
1057
1058
  };
1058
- f2.config({
1059
+ y2.config({
1059
1060
  getContainer: () => document.getElementsByClassName("catalogue-of-life")[0]
1060
1061
  });
1061
1062
  const i1 = (r) => {
@@ -1083,7 +1084,7 @@ const i1 = (r) => {
1083
1084
  };
1084
1085
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1085
1086
  /* @__PURE__ */ t.jsxs(
1086
- g2,
1087
+ f2,
1087
1088
  {
1088
1089
  getContainer: ".catalogue-of-life",
1089
1090
  title: "Feedback",
@@ -1120,7 +1121,7 @@ const i1 = (r) => {
1120
1121
  /* @__PURE__ */ t.jsx("a", { href: "https://github.com/CatalogueofLife/data/issues", target: "_blank", children: "github issue" }),
1121
1122
  " which you can monitor or use to further discuss with us."
1122
1123
  ] }),
1123
- /* @__PURE__ */ t.jsx(m2, { spinning: n, children: /* @__PURE__ */ t.jsxs(
1124
+ /* @__PURE__ */ t.jsx(g2, { spinning: n, children: /* @__PURE__ */ t.jsxs(
1124
1125
  y3,
1125
1126
  {
1126
1127
  ...M,
@@ -1149,7 +1150,7 @@ const i1 = (r) => {
1149
1150
  ]
1150
1151
  }
1151
1152
  ),
1152
- /* @__PURE__ */ t.jsxs(d3, { children: [
1153
+ /* @__PURE__ */ t.jsxs(p3, { children: [
1153
1154
  /* @__PURE__ */ t.jsx(U, { flex: "auto" }),
1154
1155
  /* @__PURE__ */ t.jsx(U, {}),
1155
1156
  /* @__PURE__ */ t.jsxs(M3, { href: `https://www.checklistbank.org/dataset/${r}/download?taxonID=${s}`, style: { marginTop: "12px", marginRight: "4px" }, size: "small", children: [
@@ -1387,7 +1388,7 @@ class e2 extends n3.Component {
1387
1388
  },
1388
1389
  children: [
1389
1390
  B && /* @__PURE__ */ t.jsx(i3, { message: /* @__PURE__ */ t.jsx(f3, { error: B }), type: "error" }),
1390
- e && /* @__PURE__ */ t.jsxs(d3, { align: "bottom", children: [
1391
+ e && /* @__PURE__ */ t.jsxs(p3, { align: "bottom", children: [
1391
1392
  /* @__PURE__ */ t.jsx(U, { flex: "auto", children: /* @__PURE__ */ t.jsxs("div", { style: { marginLeft: (o3 = o == null ? void 0 : o.usage) != null && o3.merged ? "-22px" : 0 }, children: [
1392
1393
  ((t3 = o == null ? void 0 : o.usage) == null ? void 0 : t3.merged) && /* @__PURE__ */ t.jsx(
1393
1394
  I3,
@@ -1448,7 +1449,7 @@ class e2 extends n3.Component {
1448
1449
  " ",
1449
1450
  l(e, "status") === "misapplied" ? "to" : "of",
1450
1451
  " ",
1451
- /* @__PURE__ */ t.jsx(p3, { to: "taxon", args: l(e, "accepted.id"), children: /* @__PURE__ */ t.jsx(
1452
+ /* @__PURE__ */ t.jsx(d3, { to: "taxon", args: l(e, "accepted.id"), children: /* @__PURE__ */ t.jsx(
1452
1453
  "span",
1453
1454
  {
1454
1455
  dangerouslySetInnerHTML: {
@@ -1528,7 +1529,7 @@ class e2 extends n3.Component {
1528
1529
  }
1529
1530
  }
1530
1531
  ),
1531
- /* @__PURE__ */ t.jsx(Z3, { reference: l(e, "name.publishedIn") })
1532
+ /* @__PURE__ */ t.jsx(W3, { reference: l(e, "name.publishedIn") })
1532
1533
  ] })
1533
1534
  ] }),
1534
1535
  l(e, "status") && /* @__PURE__ */ t.jsxs($, { md: j, label: "Checklist status", children: [
@@ -1659,7 +1660,7 @@ class e2 extends n3.Component {
1659
1660
  // (label included) when there is nothing to show — including after
1660
1661
  // the async GBIF occurrence lookup comes back empty.
1661
1662
  /* @__PURE__ */ t.jsx(
1662
- B2,
1663
+ F2,
1663
1664
  {
1664
1665
  label: "Distributions",
1665
1666
  md: j,
@@ -1681,7 +1682,7 @@ class e2 extends n3.Component {
1681
1682
  `)
1682
1683
  }
1683
1684
  ) }),
1684
- /* @__PURE__ */ t.jsx(d3, { children: l(e, "accordingTo") && /* @__PURE__ */ t.jsx(U, { span: 12, children: /* @__PURE__ */ t.jsxs($, { md: j * 2, label: "According to", children: [
1685
+ /* @__PURE__ */ t.jsx(p3, { children: l(e, "accordingTo") && /* @__PURE__ */ t.jsx(U, { span: 12, children: /* @__PURE__ */ t.jsxs($, { md: j * 2, label: "According to", children: [
1685
1686
  `${l(e, "accordingTo")}`,
1686
1687
  l(e, "accordingToDate") && `, ${t2(l(e, "accordingToDate")).format("LL")}`
1687
1688
  ] }) }) }),
@@ -1711,10 +1712,10 @@ class e2 extends n3.Component {
1711
1712
  }
1712
1713
  ) : l(E, "alias"),
1713
1714
  ": ",
1714
- /* @__PURE__ */ t.jsx(p3, { to: "source", args: l(E, "key"), children: l(E, "title") }),
1715
+ /* @__PURE__ */ t.jsx(d3, { to: "source", args: l(E, "key"), children: l(E, "title") }),
1715
1716
  /* @__PURE__ */ t.jsx("span", { style: { marginLeft: "10px" }, children: l(E, "completeness") && l(E, "completeness") + "%" }),
1716
1717
  l(E, "confidence") && /* @__PURE__ */ t.jsx(
1717
- C2,
1718
+ m2,
1718
1719
  {
1719
1720
  style: { marginLeft: "10px" },
1720
1721
  value: l(E, "confidence"),
@@ -1743,7 +1744,7 @@ class e2 extends n3.Component {
1743
1744
  ) });
1744
1745
  }
1745
1746
  }
1746
- _(e2, "contextType", Y3);
1747
+ _(e2, "contextType", Z3);
1747
1748
  function y1({
1748
1749
  taxonKey: r,
1749
1750
  datasetKey: s,
@@ -1755,7 +1756,7 @@ function y1({
1755
1756
  auth: o,
1756
1757
  ...u
1757
1758
  }) {
1758
- return /* @__PURE__ */ t.jsx(Y3.Provider, { value: d2(u), children: /* @__PURE__ */ t.jsx(
1759
+ return /* @__PURE__ */ t.jsx(Z3.Provider, { value: S2(u), children: /* @__PURE__ */ t.jsx(
1759
1760
  e2,
1760
1761
  {
1761
1762
  taxonKey: r,
@@ -1769,8 +1770,8 @@ function y1({
1769
1770
  }
1770
1771
  ) });
1771
1772
  }
1772
- const _1 = r2(n2(y1));
1773
+ const N1 = r2(n2(y1));
1773
1774
  export {
1774
- _1 as Taxon
1775
+ N1 as Taxon
1775
1776
  };
1776
1777
  //# sourceMappingURL=taxon.js.map