col-browser 2.6.4 → 2.6.6

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.
package/es/taxon.js CHANGED
@@ -1,79 +1,79 @@
1
- var a2 = Object.defineProperty;
2
- var e2 = (n, i, a) => i in n ? a2(n, i, { enumerable: !0, configurable: !0, writable: !0, value: a }) : n[i] = a;
3
- var _ = (n, i, a) => e2(n, typeof i != "symbol" ? i + "" : i, a);
4
- import { a as o2 } from "./chunks/withDatasetKey-BgMY05XE.js";
5
- import { w as n2 } from "./chunks/withTheme-Dh6PRuII.js";
1
+ var e2 = Object.defineProperty;
2
+ var o2 = (n, i, a) => i in n ? e2(n, i, { enumerable: !0, configurable: !0, writable: !0, value: a }) : n[i] = a;
3
+ var _ = (n, i, a) => o2(n, typeof i != "symbol" ? i + "" : i, a);
4
+ import { a as n2 } from "./chunks/withDatasetKey-BgMY05XE.js";
5
+ 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
- import n3, { useRef as r2, useState as Q, useEffect as C3 } from "react";
8
+ import n3, { useRef as l2, useState as Q, useEffect as C3 } from "react";
9
9
  import { c as Y } from "./chunks/config--bs_09I6.js";
10
- import { g as l2 } from "./chunks/sector-ucUgPp75.js";
11
- import { b as N3 } from "./chunks/dataset-BZpjo3Yq.js";
12
- import E3 from "dataloader";
13
- import { c as U, L as p3, p as s2, R as R3, s as i2, b as p2 } from "./chunks/router-CssZk5qZ.js";
14
- import { Row as d3, Col as V, Popover as Y3, Tag as u3, Space as d2, Tooltip as h3, Table as c2, message as y2, Form as y3, Modal as g2, Alert as i3, Spin as f2, Input as $3, Button as w3, Rate as m2 } from "antd";
15
- import { isArray as C2, get as s, capitalize as M3, values as u2, startCase as P3 } from "lodash-es";
16
- import E2 from "react-jss";
17
- import { w as h2, P as L, g as H3 } from "./chunks/PresentationItem-C4yZ555-.js";
18
- import { a as z3, R as F2, D as B2 } from "./chunks/Distributions-CvS4r1hC.js";
10
+ import { g as s2 } from "./chunks/sector-ucUgPp75.js";
11
+ import { b as R3 } from "./chunks/dataset-BZpjo3Yq.js";
12
+ import h3 from "dataloader";
13
+ import { c as U, 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 V, Popover as H3, Tag as u3, Space as c2, Tooltip as F3, Table as y2, message as g2, Form as y3, Modal as f2, Alert as i3, Spin as m2, Input as w3, Button as M3, Rate as C2 } from "antd";
15
+ import { isArray as u2, get as s, 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 L, g as z3 } from "./chunks/PresentationItem-C4yZ555-.js";
18
+ import { a as W3, R as Z3, D as B2 } from "./chunks/Distributions-CHjEIZ3F.js";
19
19
  import { X as l3 } from "./chunks/XrGutter-nBDDl_Lq.js";
20
- import S3 from "linkify-html";
21
- import { R as F3 } from "./chunks/LinkOutlined-2IkQWTV7.js";
20
+ import E3 from "linkify-html";
21
+ import { R as B3 } from "./chunks/LinkOutlined-2IkQWTV7.js";
22
22
  import { I as j3 } from "./chunks/AntdIcon-B1nMlqyh.js";
23
23
  import { b as k2, g as x2, a as S2 } from "./chunks/enumeration-nKPV2qHV.js";
24
- import W3 from "dompurify";
25
- import { E as g3, M as D3 } from "./chunks/ErrorMsg-D5nALHuK.js";
24
+ import A3 from "dompurify";
25
+ import { E as g3, M as I3 } from "./chunks/ErrorMsg-D5nALHuK.js";
26
26
  import { D as j2 } from "./chunks/DatasetlogoWithFallback-Bb-kmHts.js";
27
27
  import { T as A2 } from "./chunks/TaxonBreakdown-DqdQ18QM.js";
28
28
  import { marked as b2 } from "marked";
29
29
  var v2 = { 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
- function B3() {
31
- return B3 = Object.assign ? Object.assign.bind() : function(n) {
30
+ function k3() {
31
+ return k3 = Object.assign ? Object.assign.bind() : function(n) {
32
32
  for (var i = 1; i < arguments.length; i++) {
33
33
  var a = arguments[i];
34
34
  for (var l in a)
35
35
  Object.prototype.hasOwnProperty.call(a, l) && (n[l] = a[l]);
36
36
  }
37
37
  return n;
38
- }, B3.apply(this, arguments);
38
+ }, k3.apply(this, arguments);
39
39
  }
40
- const L2 = (n, i) => /* @__PURE__ */ r3.createElement(j3, B3({}, n, {
40
+ const L2 = (n, i) => /* @__PURE__ */ r3.createElement(j3, k3({}, n, {
41
41
  ref: i,
42
42
  icon: v2
43
- })), A3 = /* @__PURE__ */ r3.forwardRef(L2);
44
- process.env.NODE_ENV !== "production" && (A3.displayName = "DownloadOutlined");
43
+ })), b3 = /* @__PURE__ */ r3.forwardRef(L2);
44
+ process.env.NODE_ENV !== "production" && (b3.displayName = "DownloadOutlined");
45
45
  var $2 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M924.3 338.4a447.57 447.57 0 00-96.1-143.3 443.09 443.09 0 00-143-96.3A443.91 443.91 0 00512 64h-2c-60.5.3-119 12.3-174.1 35.9a444.08 444.08 0 00-141.7 96.5 445 445 0 00-95 142.8A449.89 449.89 0 0065 514.1c.3 69.4 16.9 138.3 47.9 199.9v152c0 25.4 20.6 46 45.9 46h151.8a447.72 447.72 0 00199.5 48h2.1c59.8 0 117.7-11.6 172.3-34.3A443.2 443.2 0 00827 830.5c41.2-40.9 73.6-88.7 96.3-142 23.5-55.2 35.5-113.9 35.8-174.5.2-60.9-11.6-120-34.8-175.6zM312.4 560c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.4 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48zm199.6 0c-26.4 0-47.9-21.5-47.9-48s21.5-48 47.9-48 47.9 21.5 47.9 48-21.5 48-47.9 48z" } }] }, name: "message", theme: "filled" };
46
- function k3() {
47
- return k3 = Object.assign ? Object.assign.bind() : function(n) {
46
+ function x3() {
47
+ return x3 = Object.assign ? Object.assign.bind() : function(n) {
48
48
  for (var i = 1; i < arguments.length; i++) {
49
49
  var a = arguments[i];
50
50
  for (var l in a)
51
51
  Object.prototype.hasOwnProperty.call(a, l) && (n[l] = a[l]);
52
52
  }
53
53
  return n;
54
- }, k3.apply(this, arguments);
54
+ }, x3.apply(this, arguments);
55
55
  }
56
- const w2 = (n, i) => /* @__PURE__ */ r3.createElement(j3, k3({}, n, {
56
+ const w2 = (n, i) => /* @__PURE__ */ r3.createElement(j3, x3({}, n, {
57
57
  ref: i,
58
58
  icon: $2
59
- })), Z3 = /* @__PURE__ */ r3.forwardRef(w2);
60
- process.env.NODE_ENV !== "production" && (Z3.displayName = "MessageFilled");
59
+ })), U3 = /* @__PURE__ */ r3.forwardRef(w2);
60
+ process.env.NODE_ENV !== "production" && (U3.displayName = "MessageFilled");
61
61
  var M2 = { icon: { tag: "svg", attrs: { viewBox: "64 64 896 896", focusable: "false" }, children: [{ tag: "path", attrs: { d: "M938 458.8l-29.6-312.6c-1.5-16.2-14.4-29-30.6-30.6L565.2 86h-.4c-3.2 0-5.7 1-7.6 2.9L88.9 557.2a9.96 9.96 0 000 14.1l363.8 363.8c1.9 1.9 4.4 2.9 7.1 2.9s5.2-1 7.1-2.9l468.3-468.3c2-2.1 3-5 2.8-8zM459.7 834.7L189.3 564.3 589 164.6 836 188l23.4 247-399.7 399.7zM680 256c-48.5 0-88 39.5-88 88s39.5 88 88 88 88-39.5 88-88-39.5-88-88-88zm0 120c-17.7 0-32-14.3-32-32s14.3-32 32-32 32 14.3 32 32-14.3 32-32 32z" } }] }, name: "tag", theme: "outlined" };
62
- function x3() {
63
- return x3 = Object.assign ? Object.assign.bind() : function(n) {
62
+ function S3() {
63
+ return S3 = Object.assign ? Object.assign.bind() : function(n) {
64
64
  for (var i = 1; i < arguments.length; i++) {
65
65
  var a = arguments[i];
66
66
  for (var l in a)
67
67
  Object.prototype.hasOwnProperty.call(a, l) && (n[l] = a[l]);
68
68
  }
69
69
  return n;
70
- }, x3.apply(this, arguments);
70
+ }, S3.apply(this, arguments);
71
71
  }
72
- const D2 = (n, i) => /* @__PURE__ */ r3.createElement(j3, x3({}, n, {
72
+ const D2 = (n, i) => /* @__PURE__ */ r3.createElement(j3, S3({}, n, {
73
73
  ref: i,
74
74
  icon: M2
75
- })), U3 = /* @__PURE__ */ r3.forwardRef(D2);
76
- process.env.NODE_ENV !== "production" && (U3.displayName = "TagOutlined");
75
+ })), V3 = /* @__PURE__ */ r3.forwardRef(D2);
76
+ process.env.NODE_ENV !== "production" && (V3.displayName = "TagOutlined");
77
77
  const I2 = {
78
78
  formItem: {
79
79
  paddingBottom: 0,
@@ -110,8 +110,8 @@ const I2 = {
110
110
  return Array.isArray(i) && i.length > 0 ? p = i.map((e, o) => /* @__PURE__ */ t.jsx("span", { className: n.content, children: e }, o)) : !Array.isArray(i) && typeof i < "u" && (p = /* @__PURE__ */ t.jsx("span", { className: n.content, children: i })), p;
111
111
  }, r = a === "medium" ? n.mediumMargin : n.smallMargin;
112
112
  return /* @__PURE__ */ t.jsx(d3, { className: n.formItem, children: /* @__PURE__ */ t.jsx(V, { span: 24, className: r, children: l() }) });
113
- }, V3 = h2()(E2(I2)(T2)), G3 = ({ style: n = {}, decision: i, popoverPlacement: a }) => {
114
- const l = r2(Math.random().toString(36).substring(2, 15)), {
113
+ }, G3 = F2()(h2(I2)(T2)), q3 = ({ style: n = {}, decision: i, popoverPlacement: a }) => {
114
+ const l = l2(Math.random().toString(36).substring(2, 15)), {
115
115
  subject: r,
116
116
  originalSubjectId: p,
117
117
  subjectDatasetKey: e,
@@ -123,7 +123,7 @@ const I2 = {
123
123
  ...k
124
124
  } = i;
125
125
  return /* @__PURE__ */ t.jsx("div", { style: { display: "inline" }, id: l.current, children: /* @__PURE__ */ t.jsx(
126
- Y3,
126
+ H3,
127
127
  {
128
128
  getPopupContainer: () => document.getElementById(l.current),
129
129
  title: "Editorial decision",
@@ -159,7 +159,7 @@ const I2 = {
159
159
  )
160
160
  }
161
161
  ) });
162
- }, q3 = (n) => {
162
+ }, J3 = (n) => {
163
163
  const i = n ? n.toUpperCase() : "";
164
164
  return ["HOLOTYPE", "LECTOTYPE", "NEOTYPE"].includes(i) ? "#e2614a" : ["PARATYPE", "PARALECTOTYPE", "SYNTYPE"].includes(i) ? "#f1eb0b" : ["ALLOTYPE"].includes(i) ? "#7edaff" : null;
165
165
  }, K2 = (n, i) => {
@@ -167,17 +167,17 @@ const I2 = {
167
167
  let a = n != null && n.gbifKey && (n == null ? void 0 : n.gbifPublisherKey) === ((r = Y) == null ? void 0 : r.plaziGbifPublisherKey) ? `https://www.gbif.org/occurrence/${n == null ? void 0 : n.gbifKey}/${i.id}` : "";
168
168
  !a && ((p = i == null ? void 0 : i.link) != null && p.startsWith("https://www.gbif.org/occurrence/")) && (a = i == null ? void 0 : i.link);
169
169
  const l = i != null && i.associatedSequences && (i == null ? void 0 : i.associatedSequences.indexOf("ncbi.")) > -1 ? i == null ? void 0 : i.associatedSequences : "";
170
- return (a || l) && /* @__PURE__ */ t.jsx("span", { id: `${i.id}-type-material-links`, children: /* @__PURE__ */ t.jsxs(d2, { children: [
171
- a && /* @__PURE__ */ t.jsx(h3, { title: "Occurrence in GBIF", getPopupContainer: () => document.getElementById(`${i.id}-type-material-links`) || document.body, children: /* @__PURE__ */ t.jsxs("a", { style: { marginLeft: 4 }, href: a, target: "_blank", rel: "noreferrer", children: [
170
+ return (a || l) && /* @__PURE__ */ t.jsx("span", { id: `${i.id}-type-material-links`, children: /* @__PURE__ */ t.jsxs(c2, { children: [
171
+ a && /* @__PURE__ */ t.jsx(F3, { title: "Occurrence in GBIF", getPopupContainer: () => document.getElementById(`${i.id}-type-material-links`) || document.body, children: /* @__PURE__ */ t.jsxs("a", { style: { marginLeft: 4 }, href: a, target: "_blank", rel: "noreferrer", children: [
172
172
  "GBIF ",
173
- /* @__PURE__ */ t.jsx(F3, {})
173
+ /* @__PURE__ */ t.jsx(B3, {})
174
174
  ] }) }),
175
- l && /* @__PURE__ */ t.jsx(h3, { title: "DNA sequence in GenBank", children: /* @__PURE__ */ t.jsxs("a", { href: l, target: "_blank", rel: "noreferrer", children: [
175
+ l && /* @__PURE__ */ t.jsx(F3, { title: "DNA sequence in GenBank", children: /* @__PURE__ */ t.jsxs("a", { href: l, target: "_blank", rel: "noreferrer", children: [
176
176
  "GenBank ",
177
- /* @__PURE__ */ t.jsx(F3, {})
177
+ /* @__PURE__ */ t.jsx(B3, {})
178
178
  ] }) })
179
179
  ] }) });
180
- }, O2 = ({ dataset: n, data: i, nameID: a, style: l }) => i[a] ? /* @__PURE__ */ t.jsx("div", { style: l, children: i[a].map((r) => /* @__PURE__ */ t.jsx(V3, { children: /* @__PURE__ */ t.jsxs(
180
+ }, O2 = ({ dataset: n, data: i, nameID: a, style: l }) => i[a] ? /* @__PURE__ */ t.jsx("div", { style: l, children: i[a].map((r) => /* @__PURE__ */ t.jsx(G3, { children: /* @__PURE__ */ t.jsxs(
181
181
  l3,
182
182
  {
183
183
  merged: r.merged,
@@ -186,14 +186,14 @@ const I2 = {
186
186
  verbatimSourceKey: r == null ? void 0 : r.verbatimSourceKey,
187
187
  sourceDatasetKey: r == null ? void 0 : r.sourceDatasetKey,
188
188
  children: [
189
- /* @__PURE__ */ t.jsx(u3, { color: q3(r == null ? void 0 : r.status), children: r == null ? void 0 : r.status }),
189
+ /* @__PURE__ */ t.jsx(u3, { color: J3(r == null ? void 0 : r.status), children: r == null ? void 0 : r.status }),
190
190
  " ",
191
191
  K2(n, r),
192
192
  " ",
193
193
  (r == null ? void 0 : r.citation) && /* @__PURE__ */ t.jsx(
194
194
  "span",
195
195
  {
196
- dangerouslySetInnerHTML: { __html: S3((r == null ? void 0 : r.citation) || "") }
196
+ dangerouslySetInnerHTML: { __html: E3((r == null ? void 0 : r.citation) || "") }
197
197
  }
198
198
  )
199
199
  ]
@@ -205,7 +205,7 @@ class _2 extends n3.Component {
205
205
  _(this, "getData", () => {
206
206
  const { nameId: a, datasetKey: l, references: r } = this.props;
207
207
  if (referenceId) {
208
- const p = C2(referenceId) ? referenceId : [referenceId], e = [];
208
+ const p = u2(referenceId) ? referenceId : [referenceId], e = [];
209
209
  this.setState({ loading: !0 }), Promise.all(
210
210
  p.map(
211
211
  (o) => s(r, o) ? Promise.resolve(e.push(r[a])) : U(
@@ -219,13 +219,13 @@ class _2 extends n3.Component {
219
219
  const { typeMaterial: a, nameId: l } = this.props, r = (a == null ? void 0 : a[l]) || [];
220
220
  if (r.length > 0)
221
221
  return /* @__PURE__ */ t.jsx("div", { children: r.map((p) => /* @__PURE__ */ t.jsx("div", { style: { marginBottom: "8px", paddingLeft: "18px" }, children: /* @__PURE__ */ t.jsxs(l3, { merged: p.merged, children: [
222
- /* @__PURE__ */ t.jsx(u3, { color: q3(p == null ? void 0 : p.status), children: p == null ? void 0 : p.status }),
222
+ /* @__PURE__ */ t.jsx(u3, { color: J3(p == null ? void 0 : p.status), children: p == null ? void 0 : p.status }),
223
223
  " ",
224
224
  (p == null ? void 0 : p.citation) && /* @__PURE__ */ t.jsx(
225
225
  "span",
226
226
  {
227
227
  dangerouslySetInnerHTML: {
228
- __html: S3((p == null ? void 0 : p.citation) || "")
228
+ __html: E3((p == null ? void 0 : p.citation) || "")
229
229
  }
230
230
  }
231
231
  )
@@ -234,7 +234,7 @@ class _2 extends n3.Component {
234
234
  _(this, "render", () => {
235
235
  const { typeMaterial: a, nameId: l } = this.props;
236
236
  return ((a == null ? void 0 : a[l]) || []).length > 0 ? /* @__PURE__ */ t.jsxs(
237
- Y3,
237
+ H3,
238
238
  {
239
239
  getPopupContainer: () => document.getElementById(`type_popover_${l}`),
240
240
  placement: this.props.placement || "left",
@@ -243,7 +243,7 @@ class _2 extends n3.Component {
243
243
  trigger: "click",
244
244
  children: [
245
245
  " ",
246
- /* @__PURE__ */ t.jsx(U3, { style: { cursor: "pointer" }, id: `type_popover_${l}` })
246
+ /* @__PURE__ */ t.jsx(V3, { style: { cursor: "pointer" }, id: `type_popover_${l}` })
247
247
  ]
248
248
  }
249
249
  ) : "";
@@ -255,7 +255,7 @@ class _2 extends n3.Component {
255
255
  };
256
256
  }
257
257
  }
258
- const J3 = ({ total: n, visible: i, showAll: a, onChange: l }) => n <= i && !a ? null : /* @__PURE__ */ t.jsx("a", { onClick: () => l(!a), style: { cursor: "pointer" }, children: a ? "Show less" : `Show all (${n})` }), N2 = /* @__PURE__ */ new Set([
258
+ const X3 = ({ total: n, visible: i, showAll: a, onChange: l }) => n <= i && !a ? null : /* @__PURE__ */ t.jsx("a", { onClick: () => l(!a), style: { cursor: "pointer" }, children: a ? "Show less" : `Show all (${n})` }), N2 = /* @__PURE__ */ new Set([
259
259
  "bacterial",
260
260
  "botanical",
261
261
  "cultivars",
@@ -269,7 +269,7 @@ const J3 = ({ total: n, visible: i, showAll: a, onChange: l }) => n <= i && !a ?
269
269
  if (!l) return i;
270
270
  const r = N2.has(a) && typeof l[a] == "string" ? a : "zoological";
271
271
  return l[r] || l.name || i;
272
- }, X3 = ({ nomStatus: n, code: i, brackets: a }) => {
272
+ }, Q3 = ({ nomStatus: n, code: i, brackets: a }) => {
273
273
  const [l, r] = Q(null);
274
274
  if (C3(() => {
275
275
  let e = !1;
@@ -282,7 +282,7 @@ const J3 = ({ total: n, visible: i, showAll: a, onChange: l }) => n <= i && !a ?
282
282
  }, []), !n) return null;
283
283
  const p = R2(l, n, i);
284
284
  return /* @__PURE__ */ t.jsx(t.Fragment, { children: a ? `(${p})` : p });
285
- }, I3 = 5, T3 = ({
285
+ }, T3 = 5, K3 = ({
286
286
  datasetKey: n,
287
287
  data: i,
288
288
  style: a,
@@ -303,7 +303,7 @@ const J3 = ({ total: n, visible: i, showAll: a, onChange: l }) => n <= i && !a ?
303
303
  k.push({ syn: B, homotypic: M > 0, indent: M > 0 });
304
304
  });
305
305
  }));
306
- const $ = k.length, A = F ? k : k.slice(0, I3), w = ({ syn: d, homotypic: B, indent: M }) => /* @__PURE__ */ t.jsxs(V3, { children: [
306
+ const $ = k.length, A = F ? k : k.slice(0, T3), w = ({ syn: d, homotypic: B, indent: M }) => /* @__PURE__ */ t.jsxs(G3, { children: [
307
307
  /* @__PURE__ */ t.jsx(
308
308
  l3,
309
309
  {
@@ -335,7 +335,7 @@ const J3 = ({ total: n, visible: i, showAll: a, onChange: l }) => n <= i && !a ?
335
335
  }
336
336
  ),
337
337
  " ",
338
- (r == null ? void 0 : r[d == null ? void 0 : d.id]) && /* @__PURE__ */ t.jsx(G3, { decision: r == null ? void 0 : r[d == null ? void 0 : d.id] }),
338
+ (r == null ? void 0 : r[d == null ? void 0 : d.id]) && /* @__PURE__ */ t.jsx(q3, { decision: r == null ? void 0 : r[d == null ? void 0 : d.id] }),
339
339
  /* @__PURE__ */ t.jsx(
340
340
  _2,
341
341
  {
@@ -347,7 +347,7 @@ const J3 = ({ total: n, visible: i, showAll: a, onChange: l }) => n <= i && !a ?
347
347
  ),
348
348
  " ",
349
349
  /* @__PURE__ */ t.jsx(
350
- X3,
350
+ Q3,
351
351
  {
352
352
  nomStatus: s(d, "name.nomStatus"),
353
353
  code: s(d, "name.code"),
@@ -358,7 +358,7 @@ const J3 = ({ total: n, visible: i, showAll: a, onChange: l }) => n <= i && !a ?
358
358
  s(d, "status") === "misapplied" && s(d, "accordingTo") ? s(d, "accordingTo") : "",
359
359
  s(d, "status") === "ambiguous synonym" && "(Ambiguous)",
360
360
  /* @__PURE__ */ t.jsx(
361
- z3,
361
+ W3,
362
362
  {
363
363
  datasetKey: n,
364
364
  references: l,
@@ -372,10 +372,10 @@ const J3 = ({ total: n, visible: i, showAll: a, onChange: l }) => n <= i && !a ?
372
372
  return /* @__PURE__ */ t.jsxs("div", { style: a, children: [
373
373
  A.map(w),
374
374
  /* @__PURE__ */ t.jsx(
375
- J3,
375
+ X3,
376
376
  {
377
377
  total: $,
378
- visible: I3,
378
+ visible: T3,
379
379
  showAll: F,
380
380
  onChange: j
381
381
  }
@@ -457,7 +457,7 @@ class Y2 extends n3.Component {
457
457
  dataIndex: "referenceId",
458
458
  key: "referenceId",
459
459
  render: (r, p) => r ? /* @__PURE__ */ t.jsx(
460
- z3,
460
+ W3,
461
461
  {
462
462
  referenceId: r,
463
463
  references: l,
@@ -473,7 +473,7 @@ class Y2 extends n3.Component {
473
473
  const { style: a } = this.props, { data: l, columns: r, showAll: p } = this.state, e = p ? l : l.slice(0, 5);
474
474
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
475
475
  /* @__PURE__ */ t.jsx(
476
- c2,
476
+ y2,
477
477
  {
478
478
  style: a,
479
479
  className: "colplus-taxon-page-list",
@@ -485,7 +485,7 @@ class Y2 extends n3.Component {
485
485
  }
486
486
  ),
487
487
  /* @__PURE__ */ t.jsx(
488
- J3,
488
+ X3,
489
489
  {
490
490
  total: l.length,
491
491
  visible: 5,
@@ -496,13 +496,13 @@ class Y2 extends n3.Component {
496
496
  ] });
497
497
  }
498
498
  }
499
- const P2 = {
499
+ const H2 = {
500
500
  color: "rgba(0, 0, 0, 0.45)",
501
501
  fontSize: "11px"
502
- }, H2 = ({ data: n, style: i }) => /* @__PURE__ */ t.jsxs("div", { style: i, children: [
502
+ }, P2 = ({ data: n, style: i }) => /* @__PURE__ */ t.jsxs("div", { style: i, children: [
503
503
  " ",
504
504
  n.map((a, l) => /* @__PURE__ */ t.jsxs("div", { style: { float: "left", marginRight: "3px" }, children: [
505
- /* @__PURE__ */ t.jsxs("span", { style: P2, children: [
505
+ /* @__PURE__ */ t.jsxs("span", { style: H2, children: [
506
506
  a.rank,
507
507
  ": "
508
508
  ] }),
@@ -527,7 +527,7 @@ const P2 = {
527
527
  case "type":
528
528
  return "Type of";
529
529
  default:
530
- return M3(n.type);
530
+ return D3(n.type);
531
531
  }
532
532
  else
533
533
  switch (n.type) {
@@ -546,9 +546,9 @@ const P2 = {
546
546
  case "type":
547
547
  return "Type";
548
548
  default:
549
- return M3(n.type);
549
+ return D3(n.type);
550
550
  }
551
- }, K3 = ({ data: n, md: i, reverse: a }) => n.map((l, r) => /* @__PURE__ */ t.jsxs(
551
+ }, O3 = ({ data: n, md: i, reverse: a }) => n.map((l, r) => /* @__PURE__ */ t.jsxs(
552
552
  L,
553
553
  {
554
554
  md: i,
@@ -580,7 +580,7 @@ const P2 = {
580
580
  style: a,
581
581
  primarySourceDatasetKey: l
582
582
  }) => (C3(() => {
583
- }, [i]), /* @__PURE__ */ t.jsx("div", { style: a, className: "col-reference-link-container", children: u2(n).map((r) => {
583
+ }, [i]), /* @__PURE__ */ t.jsx("div", { style: a, className: "col-reference-link-container", children: E2(n).map((r) => {
584
584
  var p, e;
585
585
  return /* @__PURE__ */ t.jsxs(d3, { children: [
586
586
  /* @__PURE__ */ t.jsx(V, { style: { paddingRight: "5px" }, children: s(i, r.id) && /* @__PURE__ */ t.jsx("span", { children: `[${s(i, r.id)}]` }) }),
@@ -598,11 +598,11 @@ const P2 = {
598
598
  {
599
599
  id: `col-reference-${r.id}`,
600
600
  dangerouslySetInnerHTML: {
601
- __html: S3(W3.sanitize(r.citation))
601
+ __html: E3(A3.sanitize(r.citation))
602
602
  }
603
603
  }
604
604
  ),
605
- /* @__PURE__ */ t.jsx(F2, { reference: r })
605
+ /* @__PURE__ */ t.jsx(Z3, { reference: r })
606
606
  ]
607
607
  }
608
608
  ) })
@@ -653,21 +653,21 @@ const P2 = {
653
653
  };
654
654
  }, []), /* @__PURE__ */ t.jsx("div", { className: "col-identifier-list", children: n.map((l) => /* @__PURE__ */ t.jsx(V2, { ...U2(String(l), i) }, l)) });
655
655
  };
656
- var f3 = { exports: {} }, q2 = f3.exports, O3;
656
+ var f3 = { exports: {} }, q2 = f3.exports, _3;
657
657
  function J2() {
658
- return O3 || (O3 = 1, (function(n, i) {
658
+ return _3 || (_3 = 1, (function(n, i) {
659
659
  (function(a, l) {
660
660
  n.exports = l();
661
661
  })(q2, (function() {
662
662
  var a = 1e3, l = 6e4, r = 36e5, p = "millisecond", e = "second", o = "minute", C = "hour", F = "day", j = "week", c = "month", k = "quarter", $ = "year", A = "date", w = "Invalid Date", d = /^(\d{4})[-/]?(\d{1,2})?[-/]?(\d{0,2})[Tt\s]*(\d{1,2})?:?(\d{1,2})?:?(\d{1,2})?[.:]?(\d+)?$/, B = /\[([^\]]+)]|YYYY|YY|M{1,4}|D{1,2}|d{1,4}|H{1,2}|h{1,2}|a|A|m{1,2}|s{1,2}|Z{1,2}|SSS/g, M = { name: "en", weekdays: "Sunday_Monday_Tuesday_Wednesday_Thursday_Friday_Saturday".split("_"), months: "January_February_March_April_May_June_July_August_September_October_November_December".split("_"), ordinal: function(u) {
663
663
  var f = ["th", "st", "nd", "rd"], y = u % 100;
664
664
  return "[" + u + (f[(y - 20) % 10] || f[y] || f[0]) + "]";
665
- } }, P = function(u, f, y) {
665
+ } }, H = function(u, f, y) {
666
666
  var m = String(u);
667
667
  return !m || m.length >= f ? u : "" + Array(f + 1 - m.length).join(y) + u;
668
- }, N = { s: P, z: function(u) {
668
+ }, N = { s: H, z: function(u) {
669
669
  var f = -u.utcOffset(), y = Math.abs(f), m = Math.floor(y / 60), g = y % 60;
670
- return (f <= 0 ? "+" : "-") + P(m, 2, "0") + ":" + P(g, 2, "0");
670
+ return (f <= 0 ? "+" : "-") + H(m, 2, "0") + ":" + H(g, 2, "0");
671
671
  }, m: function u(f, y) {
672
672
  if (f.date() < y.date()) return -u(y, f);
673
673
  var m = 12 * (y.year() - f.year()) + (y.month() - f.month()), g = f.clone().add(m, c), E = y - g < 0, h = f.clone().add(m + (E ? -1 : 1), c);
@@ -745,8 +745,8 @@ function J2() {
745
745
  return this.$d.getTime();
746
746
  }, f.startOf = function(y, m) {
747
747
  var g = this, E = !!x.u(m) || m, h = x.p(y), S = function(Z, K) {
748
- var H = x.w(g.$u ? Date.UTC(g.$y, K, Z) : new Date(g.$y, K, Z), g);
749
- return E ? H : H.endOf(F);
748
+ var P = x.w(g.$u ? Date.UTC(g.$y, K, Z) : new Date(g.$y, K, Z), g);
749
+ return E ? P : P.endOf(F);
750
750
  }, v = function(Z, K) {
751
751
  return x.w(g.toDate()[Z].apply(g.toDate("s"), (E ? [0, 0, 0, 0] : [23, 59, 59, 999]).slice(K)), g);
752
752
  }, I = this.$W, T = this.$M, R = this.$D, q = "set" + (this.$u ? "UTC" : "");
@@ -801,16 +801,16 @@ function J2() {
801
801
  }, f.format = function(y) {
802
802
  var m = this, g = this.$locale();
803
803
  if (!this.isValid()) return g.invalidDate || w;
804
- var E = y || "YYYY-MM-DDTHH:mm:ssZ", h = x.z(this), S = this.$H, v = this.$m, I = this.$M, T = g.weekdays, R = g.months, q = g.meridiem, W = function(K, H, X, e3) {
805
- return K && (K[H] || K(m, E)) || X[H].slice(0, e3);
804
+ var E = y || "YYYY-MM-DDTHH:mm:ssZ", h = x.z(this), S = this.$H, v = this.$m, I = this.$M, T = g.weekdays, R = g.months, q = g.meridiem, W = function(K, P, X, e3) {
805
+ return K && (K[P] || K(m, E)) || X[P].slice(0, e3);
806
806
  }, J = function(K) {
807
807
  return x.s(S % 12 || 12, K, "0");
808
- }, Z = q || function(K, H, X) {
808
+ }, Z = q || function(K, P, X) {
809
809
  var e3 = K < 12 ? "AM" : "PM";
810
810
  return X ? e3.toLowerCase() : e3;
811
811
  };
812
- return E.replace(B, (function(K, H) {
813
- return H || (function(X) {
812
+ return E.replace(B, (function(K, P) {
813
+ return P || (function(X) {
814
814
  switch (X) {
815
815
  case "YY":
816
816
  return String(m.$y).slice(-2);
@@ -932,10 +932,10 @@ function J2() {
932
932
  })(f3)), f3.exports;
933
933
  }
934
934
  var X2 = J2();
935
- const Q3 = /* @__PURE__ */ H3(X2);
936
- var m3 = { exports: {} }, Q2 = m3.exports, _3;
935
+ const t2 = /* @__PURE__ */ z3(X2);
936
+ var m3 = { exports: {} }, Q2 = m3.exports, N3;
937
937
  function t1() {
938
- return _3 || (_3 = 1, (function(n, i) {
938
+ return N3 || (N3 = 1, (function(n, i) {
939
939
  (function(a, l) {
940
940
  n.exports = l();
941
941
  })(Q2, (function() {
@@ -947,8 +947,8 @@ function t1() {
947
947
  var F = this.$locale().formats, j = (function(c, k) {
948
948
  return c.replace(/(\[[^\]]+])|(LTS?|l{1,4}|L{1,4})/g, (function($, A, w) {
949
949
  var d = w && w.toUpperCase();
950
- return A || k[w] || a[w] || k[d].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(B, M, P) {
951
- return M || P.slice(1);
950
+ return A || k[w] || a[w] || k[d].replace(/(\[[^\]]+])|(MMMM|MM|DD|dddd)/g, (function(B, M, H) {
951
+ return M || H.slice(1);
952
952
  }));
953
953
  }));
954
954
  })(C, F === void 0 ? {} : F);
@@ -959,7 +959,7 @@ function t1() {
959
959
  })(m3)), m3.exports;
960
960
  }
961
961
  var a1 = t1();
962
- const e1 = /* @__PURE__ */ H3(a1), o1 = ({ data: n, style: i, rank: a, taxon: l }) => {
962
+ const e1 = /* @__PURE__ */ z3(a1), o1 = ({ data: n, style: i, rank: a, taxon: l }) => {
963
963
  const r = a.reduce(
964
964
  (p, e) => (p[e.value] = e.plural, p),
965
965
  {}
@@ -1015,7 +1015,7 @@ const e1 = /* @__PURE__ */ H3(a1), o1 = ({ data: n, style: i, rank: a, taxon: l
1015
1015
  var C;
1016
1016
  (C = n == null ? void 0 : n.source) != null && C.secondarySources && p();
1017
1017
  }, [n]);
1018
- const r = new E3((C) => N3(C, i)), p = async () => {
1018
+ const r = new h3((C) => R3(C, i)), p = async () => {
1019
1019
  var F;
1020
1020
  const C = {};
1021
1021
  try {
@@ -1035,7 +1035,7 @@ const e1 = /* @__PURE__ */ H3(a1), o1 = ({ data: n, style: i, rank: a, taxon: l
1035
1035
  l(C);
1036
1036
  };
1037
1037
  return (e = n == null ? void 0 : n.source) != null && e.secondarySources ? Object.keys(((o = n == null ? void 0 : n.source) == null ? void 0 : o.secondarySources) || {}).map((C) => {
1038
- var F, j, c, k, $, A, w, d, B, M, P, N, z;
1038
+ var F, j, c, k, $, A, w, d, B, M, H, N, z;
1039
1039
  return /* @__PURE__ */ t.jsxs(n3.Fragment, { children: [
1040
1040
  P3(C),
1041
1041
  ":",
@@ -1044,13 +1044,13 @@ const e1 = /* @__PURE__ */ H3(a1), o1 = ({ data: n, style: i, rank: a, taxon: l
1044
1044
  "a",
1045
1045
  {
1046
1046
  href: `https://www.checklistbank.org/dataset/${(c = (j = (F = n == null ? void 0 : n.source) == null ? void 0 : F.secondarySources) == null ? void 0 : j[C]) == null ? void 0 : c.datasetKey}/taxon/${encodeURIComponent((A = ($ = (k = n == null ? void 0 : n.source) == null ? void 0 : k.secondarySources) == null ? void 0 : $[C]) == null ? void 0 : A.id)}`,
1047
- children: ((M = a[(B = (d = (w = n == null ? void 0 : n.source) == null ? void 0 : w.secondarySources) == null ? void 0 : d[C]) == null ? void 0 : B.datasetKey]) == null ? void 0 : M.title) || ((z = (N = (P = n == null ? void 0 : n.source) == null ? void 0 : P.secondarySources) == null ? void 0 : N[C]) == null ? void 0 : z.datasetKey)
1047
+ children: ((M = a[(B = (d = (w = n == null ? void 0 : n.source) == null ? void 0 : w.secondarySources) == null ? void 0 : d[C]) == null ? void 0 : B.datasetKey]) == null ? void 0 : M.title) || ((z = (N = (H = n == null ? void 0 : n.source) == null ? void 0 : H.secondarySources) == null ? void 0 : N[C]) == null ? void 0 : z.datasetKey)
1048
1048
  }
1049
1049
  )
1050
1050
  ] }, C);
1051
1051
  }) : null;
1052
1052
  };
1053
- y2.config({
1053
+ g2.config({
1054
1054
  getContainer: () => document.getElementsByClassName("catalogue-of-life")[0]
1055
1055
  });
1056
1056
  const s1 = (n) => {
@@ -1060,7 +1060,7 @@ const s1 = (n) => {
1060
1060
  const [a] = y3.useForm(), [l, r] = Q(!1), [p, e] = Q(!1), [o, C] = Q(null), [F, j] = Q(null), c = ({ errorFields: A }) => {
1061
1061
  a.scrollToField(A[0].name);
1062
1062
  }, k = (A) => {
1063
- s2.post(
1063
+ i2.post(
1064
1064
  `${Y.dataApi}dataset/${n}/nameusage/${i}/feedback`,
1065
1065
  A
1066
1066
  ).then((w) => {
@@ -1078,7 +1078,7 @@ const s1 = (n) => {
1078
1078
  };
1079
1079
  return /* @__PURE__ */ t.jsxs(t.Fragment, { children: [
1080
1080
  /* @__PURE__ */ t.jsxs(
1081
- g2,
1081
+ f2,
1082
1082
  {
1083
1083
  getContainer: ".catalogue-of-life",
1084
1084
  title: "Feedback",
@@ -1115,7 +1115,7 @@ const s1 = (n) => {
1115
1115
  /* @__PURE__ */ t.jsx("a", { href: "https://github.com/CatalogueofLife/data/issues", target: "_blank", children: "github issue" }),
1116
1116
  " which you can monitor or use to further discuss with us."
1117
1117
  ] }),
1118
- /* @__PURE__ */ t.jsx(f2, { spinning: l, children: /* @__PURE__ */ t.jsxs(
1118
+ /* @__PURE__ */ t.jsx(m2, { spinning: l, children: /* @__PURE__ */ t.jsxs(
1119
1119
  y3,
1120
1120
  {
1121
1121
  ...$,
@@ -1123,7 +1123,7 @@ const s1 = (n) => {
1123
1123
  onFinish: k,
1124
1124
  onFinishFailed: c,
1125
1125
  children: [
1126
- /* @__PURE__ */ t.jsx(y3.Item, { name: "message", label: "Message", rules: [{ required: !0 }], children: /* @__PURE__ */ t.jsx($3.TextArea, { rows: 8 }) }),
1126
+ /* @__PURE__ */ t.jsx(y3.Item, { name: "message", label: "Message", rules: [{ required: !0 }], children: /* @__PURE__ */ t.jsx(w3.TextArea, { rows: 8 }) }),
1127
1127
  /* @__PURE__ */ t.jsx(
1128
1128
  y3.Item,
1129
1129
  {
@@ -1134,7 +1134,7 @@ const s1 = (n) => {
1134
1134
  type: "email"
1135
1135
  }
1136
1136
  ],
1137
- children: /* @__PURE__ */ t.jsx($3, { type: "email" })
1137
+ children: /* @__PURE__ */ t.jsx(w3, { type: "email" })
1138
1138
  }
1139
1139
  )
1140
1140
  ]
@@ -1147,27 +1147,27 @@ const s1 = (n) => {
1147
1147
  /* @__PURE__ */ t.jsxs(d3, { children: [
1148
1148
  /* @__PURE__ */ t.jsx(V, { flex: "auto" }),
1149
1149
  /* @__PURE__ */ t.jsx(V, {}),
1150
- /* @__PURE__ */ t.jsxs(w3, { href: `https://www.checklistbank.org/dataset/${n}/download?taxonID=${i}`, style: { marginTop: "12px", marginRight: "4px" }, size: "small", children: [
1150
+ /* @__PURE__ */ t.jsxs(M3, { href: `https://www.checklistbank.org/dataset/${n}/download?taxonID=${i}`, style: { marginTop: "12px", marginRight: "4px" }, size: "small", children: [
1151
1151
  "Download ",
1152
- /* @__PURE__ */ t.jsx(A3, {})
1152
+ /* @__PURE__ */ t.jsx(b3, {})
1153
1153
  ] }),
1154
- /* @__PURE__ */ t.jsxs(w3, { style: { marginTop: "12px" }, size: "small", onClick: () => e(!0), children: [
1154
+ /* @__PURE__ */ t.jsxs(M3, { style: { marginTop: "12px" }, size: "small", onClick: () => e(!0), children: [
1155
1155
  "Feedback ",
1156
- /* @__PURE__ */ t.jsx(Z3, {})
1156
+ /* @__PURE__ */ t.jsx(U3, {})
1157
1157
  ] })
1158
1158
  ] })
1159
1159
  ] });
1160
1160
  };
1161
- Q3.extend(e1);
1161
+ t2.extend(e1);
1162
1162
  const b = 5, d1 = ({ source: n }) => /* @__PURE__ */ t.jsx(
1163
1163
  "span",
1164
1164
  {
1165
1165
  dangerouslySetInnerHTML: {
1166
- __html: W3.sanitize(b2.parse(n))
1166
+ __html: A3.sanitize(b2.parse(n))
1167
1167
  }
1168
1168
  }
1169
1169
  );
1170
- class t2 extends n3.Component {
1170
+ class a2 extends n3.Component {
1171
1171
  constructor(a) {
1172
1172
  super(a);
1173
1173
  _(this, "componentDidMount", () => {
@@ -1181,11 +1181,11 @@ class t2 extends n3.Component {
1181
1181
  }).catch((l) => {
1182
1182
  });
1183
1183
  });
1184
- _(this, "datasetLoader", new E3(
1185
- (a) => N3(a, this.props.datasetKey)
1184
+ _(this, "datasetLoader", new h3(
1185
+ (a) => R3(a, this.props.datasetKey)
1186
1186
  ));
1187
- _(this, "sectorLoader", new E3(
1188
- (a) => l2(a, this.props.datasetKey)
1187
+ _(this, "sectorLoader", new h3(
1188
+ (a) => s2(a, this.props.datasetKey)
1189
1189
  ));
1190
1190
  _(this, "decorateWithSectorsAndDataset", async (a) => {
1191
1191
  const { datasetKey: l } = this.props, r = {};
@@ -1273,8 +1273,8 @@ class t2 extends n3.Component {
1273
1273
  );
1274
1274
  let w = s(c, "data.synonyms") ? await this.decorateWithSectorsAndDataset(s(c, "data.synonyms")) : null;
1275
1275
  (o = c == null ? void 0 : c.data) != null && o.nameRelations && ((C = c == null ? void 0 : c.data) != null && C.names) && ((F = c == null ? void 0 : c.data) == null || F.nameRelations.forEach((d) => {
1276
- var B, M, P, N;
1277
- d.relatedName = (M = (B = c == null ? void 0 : c.data) == null ? void 0 : B.names) == null ? void 0 : M[d == null ? void 0 : d.relatedNameId], d.name = (N = (P = c == null ? void 0 : c.data) == null ? void 0 : P.names) == null ? void 0 : N[d == null ? void 0 : d.nameId];
1276
+ var B, M, H, N;
1277
+ d.relatedName = (M = (B = c == null ? void 0 : c.data) == null ? void 0 : B.names) == null ? void 0 : M[d == null ? void 0 : d.relatedNameId], d.name = (N = (H = c == null ? void 0 : c.data) == null ? void 0 : H.names) == null ? void 0 : N[d == null ? void 0 : d.nameId];
1278
1278
  })), this.setState({
1279
1279
  infoLoading: !1,
1280
1280
  info: c.data,
@@ -1309,7 +1309,7 @@ class t2 extends n3.Component {
1309
1309
  });
1310
1310
  });
1311
1311
  });
1312
- i2(this.props.auth), this.state = {
1312
+ p2(this.props.auth), this.state = {
1313
1313
  taxon: null,
1314
1314
  info: null,
1315
1315
  taxonLoading: !0,
@@ -1336,7 +1336,7 @@ class t2 extends n3.Component {
1336
1336
  }
1337
1337
  }
1338
1338
  render() {
1339
- var o3, t3, D, x, a3, s3, u, f, y, m, g, E, h, S, v, I, T, R, q, W, J, Z, K, H, X, e3, b3, v3, L3;
1339
+ var o3, t3, D, x, a3, s3, u, f, y, m, g, E, h, S, v, I, T, R, q, W, J, Z, K, P, X, e3, v3, L3, $3;
1340
1340
  const {
1341
1341
  datasetKey: a,
1342
1342
  showDistributionMap: l,
@@ -1356,7 +1356,7 @@ class t2 extends n3.Component {
1356
1356
  status: d,
1357
1357
  catalogue: B,
1358
1358
  referenceIndexMap: M
1359
- } = this.state, P = c ? c.indexOf("genus") : -1, N = ["synonym", "ambiguous synonym", "misapplied"].includes(
1359
+ } = this.state, H = c ? c.indexOf("genus") : -1, N = ["synonym", "ambiguous synonym", "misapplied"].includes(
1360
1360
  s(e, "status")
1361
1361
  ), z = s(o, "synonyms.homotypic", []), G = s(o, "synonyms.heterotypic", []), c3 = s(o, "synonyms.misapplied", []);
1362
1362
  return [
@@ -1377,7 +1377,7 @@ class t2 extends n3.Component {
1377
1377
  e && /* @__PURE__ */ t.jsxs(d3, { align: "bottom", children: [
1378
1378
  /* @__PURE__ */ t.jsx(V, { flex: "auto", children: /* @__PURE__ */ t.jsxs("div", { style: { marginLeft: (o3 = o == null ? void 0 : o.usage) != null && o3.merged ? "-22px" : 0 }, children: [
1379
1379
  ((t3 = o == null ? void 0 : o.usage) == null ? void 0 : t3.merged) && /* @__PURE__ */ t.jsx(
1380
- D3,
1380
+ I3,
1381
1381
  {
1382
1382
  style: { marginBottom: "10px" },
1383
1383
  createdBy: (D = o == null ? void 0 : o.usage) == null ? void 0 : D.createdBy,
@@ -1461,11 +1461,11 @@ class t2 extends n3.Component {
1461
1461
  e,
1462
1462
  "id"
1463
1463
  )}`,
1464
- children: /* @__PURE__ */ t.jsx(F3, {})
1464
+ children: /* @__PURE__ */ t.jsx(B3, {})
1465
1465
  }
1466
1466
  ),
1467
1467
  /* @__PURE__ */ t.jsx(
1468
- h3,
1468
+ F3,
1469
1469
  {
1470
1470
  title: "Download data for this taxon and descendants",
1471
1471
  getPopupContainer: () => document.getElementById(`col-download-${s(e, "id")}`) || document.body,
@@ -1479,7 +1479,7 @@ class t2 extends n3.Component {
1479
1479
  e,
1480
1480
  "id"
1481
1481
  ))}`,
1482
- children: /* @__PURE__ */ t.jsx(A3, {})
1482
+ children: /* @__PURE__ */ t.jsx(b3, {})
1483
1483
  }
1484
1484
  )
1485
1485
  }
@@ -1498,13 +1498,25 @@ class t2 extends n3.Component {
1498
1498
  ) }),
1499
1499
  s(e, "name.publishedIn.citation") && /* @__PURE__ */ t.jsxs(L, { md: b, label: "Published in", children: [
1500
1500
  s(o, "source.secondarySources['published in']") && /* @__PURE__ */ t.jsx(
1501
- D3,
1501
+ I3,
1502
1502
  {
1503
1503
  sourceDatasetKey: s(o, "source.secondarySources['published in'].datasetKey"),
1504
1504
  sourceId: s(o, "source.secondarySources['published in'].id")
1505
1505
  }
1506
1506
  ),
1507
- s(e, "name.publishedIn.citation")
1507
+ /* @__PURE__ */ t.jsxs("span", { className: "col-published-in", children: [
1508
+ /* @__PURE__ */ t.jsx(
1509
+ "span",
1510
+ {
1511
+ dangerouslySetInnerHTML: {
1512
+ __html: E3(
1513
+ A3.sanitize(s(e, "name.publishedIn.citation"))
1514
+ )
1515
+ }
1516
+ }
1517
+ ),
1518
+ /* @__PURE__ */ t.jsx(Z3, { reference: s(e, "name.publishedIn") })
1519
+ ] })
1508
1520
  ] }),
1509
1521
  s(e, "status") && /* @__PURE__ */ t.jsxs(L, { md: b, label: "Checklist status", children: [
1510
1522
  `${s(e, "status")} ${s(e, "name.rank")}`,
@@ -1515,7 +1527,7 @@ class t2 extends n3.Component {
1515
1527
  " ",
1516
1528
  "decision",
1517
1529
  /* @__PURE__ */ t.jsx(
1518
- G3,
1530
+ q3,
1519
1531
  {
1520
1532
  style: { marginLeft: "10px" },
1521
1533
  decision: (g = o == null ? void 0 : o.decisions) == null ? void 0 : g[e == null ? void 0 : e.id]
@@ -1524,7 +1536,7 @@ class t2 extends n3.Component {
1524
1536
  ] })
1525
1537
  ] }),
1526
1538
  s(e, "name.nomStatus") && /* @__PURE__ */ t.jsx(L, { md: b, label: "Nomenclatural Status", children: /* @__PURE__ */ t.jsx(
1527
- X3,
1539
+ Q3,
1528
1540
  {
1529
1541
  nomStatus: s(e, "name.nomStatus"),
1530
1542
  code: s(e, "name.code")
@@ -1532,7 +1544,7 @@ class t2 extends n3.Component {
1532
1544
  ) }),
1533
1545
  w && /* @__PURE__ */ t.jsx(i3, { message: /* @__PURE__ */ t.jsx(g3, { error: w }), type: "error" }),
1534
1546
  !N && s(o, "synonyms") && /* @__PURE__ */ t.jsx(L, { md: b, label: "Synonyms and combinations", children: /* @__PURE__ */ t.jsx(
1535
- T3,
1547
+ K3,
1536
1548
  {
1537
1549
  primarySource: F,
1538
1550
  data: s(o, "synonyms"),
@@ -1545,7 +1557,7 @@ class t2 extends n3.Component {
1545
1557
  }
1546
1558
  ) }),
1547
1559
  !N && c3.length > 0 && /* @__PURE__ */ t.jsx(L, { md: b, label: "Misapplied names", children: /* @__PURE__ */ t.jsx(
1548
- T3,
1560
+ K3,
1549
1561
  {
1550
1562
  misapplied: !0,
1551
1563
  primarySource: F,
@@ -1566,7 +1578,7 @@ class t2 extends n3.Component {
1566
1578
  }
1567
1579
  ) }),
1568
1580
  s(o, "nameRelations") && o.nameRelations.filter((O) => (O == null ? void 0 : O.usageId) === (e == null ? void 0 : e.id)).length > 0 && /* @__PURE__ */ t.jsx(
1569
- K3,
1581
+ O3,
1570
1582
  {
1571
1583
  md: b,
1572
1584
  style: { marginTop: "-3px" },
@@ -1576,7 +1588,7 @@ class t2 extends n3.Component {
1576
1588
  }
1577
1589
  ),
1578
1590
  s(o, "nameRelations") && o.nameRelations.filter((O) => (O == null ? void 0 : O.usageId) !== (e == null ? void 0 : e.id)).length > 0 && /* @__PURE__ */ t.jsx(
1579
- K3,
1591
+ O3,
1580
1592
  {
1581
1593
  md: b,
1582
1594
  reverse: !0,
@@ -1595,7 +1607,7 @@ class t2 extends n3.Component {
1595
1607
  }
1596
1608
  ),
1597
1609
  C && /* @__PURE__ */ t.jsx(L, { md: b, label: "Classification", children: /* @__PURE__ */ t.jsx(
1598
- H2,
1610
+ P2,
1599
1611
  {
1600
1612
  style: { marginTop: "-3px", marginLeft: "-3px" },
1601
1613
  data: C,
@@ -1603,7 +1615,7 @@ class t2 extends n3.Component {
1603
1615
  datasetKey: a
1604
1616
  }
1605
1617
  ) }),
1606
- !N && (e && c.indexOf(s(e, "name.rank")) < P && c.indexOf(s(e, "name.rank")) > -1 || s(e, "name.rank") === "unranked" && s(e, "name.scientificName") === "Biota") && /* @__PURE__ */ t.jsx(L, { md: b, label: "Breakdown", children: /* @__PURE__ */ t.jsx(
1618
+ !N && (e && c.indexOf(s(e, "name.rank")) < H && c.indexOf(s(e, "name.rank")) > -1 || s(e, "name.rank") === "unranked" && s(e, "name.scientificName") === "Biota") && /* @__PURE__ */ t.jsx(L, { md: b, label: "Breakdown", children: /* @__PURE__ */ t.jsx(
1607
1619
  A2,
1608
1620
  {
1609
1621
  taxon: e,
@@ -1659,7 +1671,7 @@ class t2 extends n3.Component {
1659
1671
  ) }),
1660
1672
  /* @__PURE__ */ t.jsx(d3, { children: s(e, "accordingTo") && /* @__PURE__ */ t.jsx(V, { span: 12, children: /* @__PURE__ */ t.jsxs(L, { md: b * 2, label: "According to", children: [
1661
1673
  `${s(e, "accordingTo")}`,
1662
- s(e, "accordingToDate") && `, ${Q3(s(e, "accordingToDate")).format("LL")}`
1674
+ s(e, "accordingToDate") && `, ${t2(s(e, "accordingToDate")).format("LL")}`
1663
1675
  ] }) }) }),
1664
1676
  s(e, "scrutinizer") && /* @__PURE__ */ t.jsx(V, { span: 12, children: /* @__PURE__ */ t.jsx(L, { md: b * 2, label: "Taxonomic scrutiny", children: `${s(e, "scrutinizer")}${s(e, "scrutinizerDate") ? ", " + s(e, "scrutinizerDate") : ""}` }) }),
1665
1677
  s(F, "title") && /* @__PURE__ */ t.jsx(L, { md: b, label: "Source", children: /* @__PURE__ */ t.jsx(
@@ -1690,7 +1702,7 @@ class t2 extends n3.Component {
1690
1702
  /* @__PURE__ */ t.jsx(p3, { to: "source", args: s(F, "key"), children: s(F, "title") }),
1691
1703
  /* @__PURE__ */ t.jsx("span", { style: { marginLeft: "10px" }, children: s(F, "completeness") && s(F, "completeness") + "%" }),
1692
1704
  s(F, "confidence") && /* @__PURE__ */ t.jsx(
1693
- m2,
1705
+ C2,
1694
1706
  {
1695
1707
  style: { marginLeft: "10px" },
1696
1708
  value: s(F, "confidence"),
@@ -1703,7 +1715,7 @@ class t2 extends n3.Component {
1703
1715
  }
1704
1716
  ) }),
1705
1717
  s(e, "link") && /* @__PURE__ */ t.jsx(L, { md: b, label: "Original record", children: /* @__PURE__ */ t.jsx("a", { href: s(e, "link"), children: s(e, "link") }) }),
1706
- ((H = o == null ? void 0 : o.source) == null ? void 0 : H.secondarySources) && /* @__PURE__ */ t.jsx(L, { md: b, label: "Secondary Sources", children: /* @__PURE__ */ t.jsx(l1, { info: o, datasetKey: a }) }),
1718
+ ((P = o == null ? void 0 : o.source) == null ? void 0 : P.secondarySources) && /* @__PURE__ */ t.jsx(L, { md: b, label: "Secondary Sources", children: /* @__PURE__ */ t.jsx(l1, { info: o, datasetKey: a }) }),
1707
1719
  s(o, "references") && /* @__PURE__ */ t.jsx(L, { md: b, label: "References", children: /* @__PURE__ */ t.jsx(
1708
1720
  W2,
1709
1721
  {
@@ -1713,13 +1725,13 @@ class t2 extends n3.Component {
1713
1725
  style: { marginTop: "-3px" }
1714
1726
  }
1715
1727
  ) }),
1716
- ((b3 = (e3 = window == null ? void 0 : window.location) == null ? void 0 : e3.hostname) == null ? void 0 : b3.endsWith("catalogueoflife.org")) && /* @__PURE__ */ t.jsx(L, { md: b, label: "", children: /* @__PURE__ */ t.jsx(p1, { taxonKey: (L3 = (v3 = this == null ? void 0 : this.state) == null ? void 0 : v3.taxon) == null ? void 0 : L3.id, datasetKey: this.props.datasetKey }) })
1728
+ ((v3 = (e3 = window == null ? void 0 : window.location) == null ? void 0 : e3.hostname) == null ? void 0 : v3.endsWith("catalogueoflife.org")) && /* @__PURE__ */ t.jsx(L, { md: b, label: "", children: /* @__PURE__ */ t.jsx(p1, { taxonKey: ($3 = (L3 = this == null ? void 0 : this.state) == null ? void 0 : L3.taxon) == null ? void 0 : $3.id, datasetKey: this.props.datasetKey }) })
1717
1729
  ]
1718
1730
  }
1719
1731
  ) });
1720
1732
  }
1721
1733
  }
1722
- _(t2, "contextType", R3);
1734
+ _(a2, "contextType", Y3);
1723
1735
  function c1({
1724
1736
  taxonKey: n,
1725
1737
  datasetKey: i,
@@ -1731,8 +1743,8 @@ function c1({
1731
1743
  auth: o,
1732
1744
  ...C
1733
1745
  }) {
1734
- return /* @__PURE__ */ t.jsx(R3.Provider, { value: p2(C), children: /* @__PURE__ */ t.jsx(
1735
- t2,
1746
+ return /* @__PURE__ */ t.jsx(Y3.Provider, { value: d2(C), children: /* @__PURE__ */ t.jsx(
1747
+ a2,
1736
1748
  {
1737
1749
  taxonKey: n,
1738
1750
  datasetKey: i,
@@ -1745,7 +1757,7 @@ function c1({
1745
1757
  }
1746
1758
  ) });
1747
1759
  }
1748
- const O1 = n2(o2(c1));
1760
+ const O1 = r2(n2(c1));
1749
1761
  export {
1750
1762
  O1 as Taxon
1751
1763
  };