@dracor/react 1.0.0 → 1.1.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.
package/dist/index.es.js CHANGED
@@ -1,38 +1,38 @@
1
- import f1, { useState as j, useEffect as P, Fragment as n1, useRef as _1 } from "react";
2
- import g1 from "swagger-ui-react";
1
+ import f1, { useState as j, useEffect as H, Fragment as n1, useRef as u1 } from "react";
2
+ import _1 from "swagger-ui-react";
3
3
  import { faGithub as c1 } from "@fortawesome/free-brands-svg-icons";
4
- import { FontAwesomeIcon as b } from "@fortawesome/react-fontawesome";
4
+ import { FontAwesomeIcon as w } from "@fortawesome/react-fontawesome";
5
5
  import p1 from "react-markdown";
6
- import { faClipboard as j1, faLanguage as b1, faCaretDown as w1, faPenFancy as E1, faTheaterMasks as N1, faBook as M1 } from "@fortawesome/free-solid-svg-icons";
6
+ import { faClipboard as b1, faLanguage as j1, faCaretDown as w1, faPenFancy as N1, faTheaterMasks as E1, faBook as M1 } from "@fortawesome/free-solid-svg-icons";
7
7
  import { CopyToClipboard as y1 } from "react-copy-to-clipboard";
8
8
  import { Menu as i1, MenuButton as o1, Transition as h1, MenuItems as d1, MenuItem as v1 } from "@headlessui/react";
9
- import { Link as q, useLocation as k1 } from "@tanstack/react-router";
10
- import { useReactTable as Z1, getFilteredRowModel as C1, getSortedRowModel as T1, getCoreRowModel as A1, flexRender as a1 } from "@tanstack/react-table";
9
+ import { Link as I, useLocation as k1 } from "@tanstack/react-router";
10
+ import { useReactTable as Z1, getFilteredRowModel as A1, getSortedRowModel as C1, getCoreRowModel as T1, flexRender as a1 } from "@tanstack/react-table";
11
11
  import R1 from "CETEIcean";
12
- var L = { exports: {} }, A = {};
12
+ var V = { exports: {} }, R = {};
13
13
  var s1;
14
14
  function S1() {
15
- if (s1) return A;
15
+ if (s1) return R;
16
16
  s1 = 1;
17
17
  var s = /* @__PURE__ */ Symbol.for("react.transitional.element"), l = /* @__PURE__ */ Symbol.for("react.fragment");
18
18
  function r(t, c, n) {
19
- var h = null;
20
- if (n !== void 0 && (h = "" + n), c.key !== void 0 && (h = "" + c.key), "key" in c) {
19
+ var o = null;
20
+ if (n !== void 0 && (o = "" + n), c.key !== void 0 && (o = "" + c.key), "key" in c) {
21
21
  n = {};
22
- for (var v in c)
23
- v !== "key" && (n[v] = c[v]);
22
+ for (var d in c)
23
+ d !== "key" && (n[d] = c[d]);
24
24
  } else n = c;
25
25
  return c = n.ref, {
26
26
  $$typeof: s,
27
27
  type: t,
28
- key: h,
28
+ key: o,
29
29
  ref: c !== void 0 ? c : null,
30
30
  props: n
31
31
  };
32
32
  }
33
- return A.Fragment = l, A.jsx = r, A.jsxs = r, A;
33
+ return R.Fragment = l, R.jsx = r, R.jsxs = r, R;
34
34
  }
35
- var R = {};
35
+ var S = {};
36
36
  var t1;
37
37
  function P1() {
38
38
  return t1 || (t1 = 1, process.env.NODE_ENV !== "production" && (function() {
@@ -42,24 +42,24 @@ function P1() {
42
42
  return a.$$typeof === T ? null : a.displayName || a.name || null;
43
43
  if (typeof a == "string") return a;
44
44
  switch (a) {
45
- case Z:
45
+ case A:
46
46
  return "Fragment";
47
- case E:
47
+ case N:
48
48
  return "Profiler";
49
49
  case F:
50
50
  return "StrictMode";
51
51
  case C:
52
52
  return "Suspense";
53
- case H:
53
+ case $:
54
54
  return "SuspenseList";
55
- case z:
55
+ case O:
56
56
  return "Activity";
57
57
  }
58
58
  if (typeof a == "object")
59
59
  switch (typeof a.tag == "number" && console.error(
60
60
  "Received an unexpected object in getComponentNameFromType(). This is likely a bug in React. Please file an issue."
61
61
  ), a.$$typeof) {
62
- case I:
62
+ case M:
63
63
  return "Portal";
64
64
  case D:
65
65
  return a.displayName || "Context";
@@ -68,9 +68,9 @@ function P1() {
68
68
  case B:
69
69
  var i = a.render;
70
70
  return a = a.displayName, a || (a = i.displayName || i.name || "", a = a !== "" ? "ForwardRef(" + a + ")" : "ForwardRef"), a;
71
- case $:
71
+ case z:
72
72
  return i = a.displayName || null, i !== null ? i : s(a.type) || "Memo";
73
- case M:
73
+ case y:
74
74
  i = a._payload, a = a._init;
75
75
  try {
76
76
  return s(a(i));
@@ -91,17 +91,17 @@ function P1() {
91
91
  }
92
92
  if (i) {
93
93
  i = console;
94
- var x = i.error, u = typeof Symbol == "function" && Symbol.toStringTag && a[Symbol.toStringTag] || a.constructor.name || "Object";
94
+ var x = i.error, g = typeof Symbol == "function" && Symbol.toStringTag && a[Symbol.toStringTag] || a.constructor.name || "Object";
95
95
  return x.call(
96
96
  i,
97
97
  "The provided key is an unsupported type %s. This value must be coerced to a string before using it here.",
98
- u
98
+ g
99
99
  ), l(a);
100
100
  }
101
101
  }
102
102
  function t(a) {
103
- if (a === Z) return "<>";
104
- if (typeof a == "object" && a !== null && a.$$typeof === M)
103
+ if (a === A) return "<>";
104
+ if (typeof a == "object" && a !== null && a.$$typeof === y)
105
105
  return "<...>";
106
106
  try {
107
107
  var i = s(a);
@@ -111,20 +111,20 @@ function P1() {
111
111
  }
112
112
  }
113
113
  function c() {
114
- var a = N.A;
114
+ var a = E.A;
115
115
  return a === null ? null : a.getOwner();
116
116
  }
117
117
  function n() {
118
118
  return Error("react-stack-top-frame");
119
119
  }
120
- function h(a) {
121
- if (y.call(a, "key")) {
120
+ function o(a) {
121
+ if (k.call(a, "key")) {
122
122
  var i = Object.getOwnPropertyDescriptor(a, "key").get;
123
123
  if (i && i.isReactWarning) return !1;
124
124
  }
125
125
  return a.key !== void 0;
126
126
  }
127
- function v(a, i) {
127
+ function d(a, i) {
128
128
  function x() {
129
129
  J || (J = !0, console.error(
130
130
  "%s: `key` is not a prop. Trying to access it will result in `undefined` being returned. If you need to access the same value within the child component, you should pass it as a different prop. (https://react.dev/link/special-props)",
@@ -136,23 +136,23 @@ function P1() {
136
136
  configurable: !0
137
137
  });
138
138
  }
139
- function _() {
139
+ function u() {
140
140
  var a = s(this.type);
141
141
  return X[a] || (X[a] = !0, console.error(
142
142
  "Accessing element.ref was removed in React 19. ref is now a regular prop. It will be removed from the JSX Element type in a future release."
143
143
  )), a = this.props.ref, a !== void 0 ? a : null;
144
144
  }
145
- function o(a, i, x, u, O, Y) {
145
+ function v(a, i, x, g, L, Y) {
146
146
  var f = x.ref;
147
147
  return a = {
148
- $$typeof: w,
148
+ $$typeof: b,
149
149
  type: a,
150
150
  key: i,
151
151
  props: x,
152
- _owner: u
152
+ _owner: g
153
153
  }, (f !== void 0 ? f : null) !== null ? Object.defineProperty(a, "ref", {
154
154
  enumerable: !1,
155
- get: _
155
+ get: u
156
156
  }) : Object.defineProperty(a, "ref", { enumerable: !1, value: null }), a._store = {}, Object.defineProperty(a._store, "validated", {
157
157
  configurable: !1,
158
158
  enumerable: !1,
@@ -167,7 +167,7 @@ function P1() {
167
167
  configurable: !1,
168
168
  enumerable: !1,
169
169
  writable: !0,
170
- value: O
170
+ value: L
171
171
  }), Object.defineProperty(a, "_debugTask", {
172
172
  configurable: !1,
173
173
  enumerable: !1,
@@ -175,104 +175,104 @@ function P1() {
175
175
  value: Y
176
176
  }), Object.freeze && (Object.freeze(a.props), Object.freeze(a)), a;
177
177
  }
178
- function d(a, i, x, u, O, Y) {
178
+ function m(a, i, x, g, L, Y) {
179
179
  var f = i.children;
180
180
  if (f !== void 0)
181
- if (u)
181
+ if (g)
182
182
  if (x1(f)) {
183
- for (u = 0; u < f.length; u++)
184
- m(f[u]);
183
+ for (g = 0; g < f.length; g++)
184
+ h(f[g]);
185
185
  Object.freeze && Object.freeze(f);
186
186
  } else
187
187
  console.error(
188
188
  "React.jsx: Static children should always be an array. You are likely explicitly calling React.jsxs or React.jsxDEV. Use the Babel transform instead."
189
189
  );
190
- else m(f);
191
- if (y.call(i, "key")) {
190
+ else h(f);
191
+ if (k.call(i, "key")) {
192
192
  f = s(a);
193
- var k = Object.keys(i).filter(function(u1) {
194
- return u1 !== "key";
193
+ var Z = Object.keys(i).filter(function(g1) {
194
+ return g1 !== "key";
195
195
  });
196
- u = 0 < k.length ? "{key: someKey, " + k.join(": ..., ") + ": ...}" : "{key: someKey}", e1[f + u] || (k = 0 < k.length ? "{" + k.join(": ..., ") + ": ...}" : "{}", console.error(
196
+ g = 0 < Z.length ? "{key: someKey, " + Z.join(": ..., ") + ": ...}" : "{key: someKey}", e1[f + g] || (Z = 0 < Z.length ? "{" + Z.join(": ..., ") + ": ...}" : "{}", console.error(
197
197
  `A props object containing a "key" prop is being spread into JSX:
198
198
  let props = %s;
199
199
  <%s {...props} />
200
200
  React keys must be passed directly to JSX without using spread:
201
201
  let props = %s;
202
202
  <%s key={someKey} {...props} />`,
203
- u,
203
+ g,
204
204
  f,
205
- k,
205
+ Z,
206
206
  f
207
- ), e1[f + u] = !0);
207
+ ), e1[f + g] = !0);
208
208
  }
209
- if (f = null, x !== void 0 && (r(x), f = "" + x), h(i) && (r(i.key), f = "" + i.key), "key" in i) {
209
+ if (f = null, x !== void 0 && (r(x), f = "" + x), o(i) && (r(i.key), f = "" + i.key), "key" in i) {
210
210
  x = {};
211
211
  for (var G in i)
212
212
  G !== "key" && (x[G] = i[G]);
213
213
  } else x = i;
214
- return f && v(
214
+ return f && d(
215
215
  x,
216
216
  typeof a == "function" ? a.displayName || a.name || "Unknown" : a
217
- ), o(
217
+ ), v(
218
218
  a,
219
219
  f,
220
220
  x,
221
221
  c(),
222
- O,
222
+ L,
223
223
  Y
224
224
  );
225
225
  }
226
- function m(a) {
227
- p(a) ? a._store && (a._store.validated = 1) : typeof a == "object" && a !== null && a.$$typeof === M && (a._payload.status === "fulfilled" ? p(a._payload.value) && a._payload.value._store && (a._payload.value._store.validated = 1) : a._store && (a._store.validated = 1));
226
+ function h(a) {
227
+ p(a) ? a._store && (a._store.validated = 1) : typeof a == "object" && a !== null && a.$$typeof === y && (a._payload.status === "fulfilled" ? p(a._payload.value) && a._payload.value._store && (a._payload.value._store.validated = 1) : a._store && (a._store.validated = 1));
228
228
  }
229
229
  function p(a) {
230
- return typeof a == "object" && a !== null && a.$$typeof === w;
230
+ return typeof a == "object" && a !== null && a.$$typeof === b;
231
231
  }
232
- var g = f1, w = /* @__PURE__ */ Symbol.for("react.transitional.element"), I = /* @__PURE__ */ Symbol.for("react.portal"), Z = /* @__PURE__ */ Symbol.for("react.fragment"), F = /* @__PURE__ */ Symbol.for("react.strict_mode"), E = /* @__PURE__ */ Symbol.for("react.profiler"), U = /* @__PURE__ */ Symbol.for("react.consumer"), D = /* @__PURE__ */ Symbol.for("react.context"), B = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), H = /* @__PURE__ */ Symbol.for("react.suspense_list"), $ = /* @__PURE__ */ Symbol.for("react.memo"), M = /* @__PURE__ */ Symbol.for("react.lazy"), z = /* @__PURE__ */ Symbol.for("react.activity"), T = /* @__PURE__ */ Symbol.for("react.client.reference"), N = g.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, y = Object.prototype.hasOwnProperty, x1 = Array.isArray, W = console.createTask ? console.createTask : function() {
232
+ var _ = f1, b = /* @__PURE__ */ Symbol.for("react.transitional.element"), M = /* @__PURE__ */ Symbol.for("react.portal"), A = /* @__PURE__ */ Symbol.for("react.fragment"), F = /* @__PURE__ */ Symbol.for("react.strict_mode"), N = /* @__PURE__ */ Symbol.for("react.profiler"), U = /* @__PURE__ */ Symbol.for("react.consumer"), D = /* @__PURE__ */ Symbol.for("react.context"), B = /* @__PURE__ */ Symbol.for("react.forward_ref"), C = /* @__PURE__ */ Symbol.for("react.suspense"), $ = /* @__PURE__ */ Symbol.for("react.suspense_list"), z = /* @__PURE__ */ Symbol.for("react.memo"), y = /* @__PURE__ */ Symbol.for("react.lazy"), O = /* @__PURE__ */ Symbol.for("react.activity"), T = /* @__PURE__ */ Symbol.for("react.client.reference"), E = _.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE, k = Object.prototype.hasOwnProperty, x1 = Array.isArray, W = console.createTask ? console.createTask : function() {
233
233
  return null;
234
234
  };
235
- g = {
235
+ _ = {
236
236
  react_stack_bottom_frame: function(a) {
237
237
  return a();
238
238
  }
239
239
  };
240
- var J, X = {}, Q = g.react_stack_bottom_frame.bind(
241
- g,
240
+ var J, X = {}, Q = _.react_stack_bottom_frame.bind(
241
+ _,
242
242
  n
243
243
  )(), K = W(t(n)), e1 = {};
244
- R.Fragment = Z, R.jsx = function(a, i, x) {
245
- var u = 1e4 > N.recentlyCreatedOwnerStacks++;
246
- return d(
244
+ S.Fragment = A, S.jsx = function(a, i, x) {
245
+ var g = 1e4 > E.recentlyCreatedOwnerStacks++;
246
+ return m(
247
247
  a,
248
248
  i,
249
249
  x,
250
250
  !1,
251
- u ? Error("react-stack-top-frame") : Q,
252
- u ? W(t(a)) : K
251
+ g ? Error("react-stack-top-frame") : Q,
252
+ g ? W(t(a)) : K
253
253
  );
254
- }, R.jsxs = function(a, i, x) {
255
- var u = 1e4 > N.recentlyCreatedOwnerStacks++;
256
- return d(
254
+ }, S.jsxs = function(a, i, x) {
255
+ var g = 1e4 > E.recentlyCreatedOwnerStacks++;
256
+ return m(
257
257
  a,
258
258
  i,
259
259
  x,
260
260
  !0,
261
- u ? Error("react-stack-top-frame") : Q,
262
- u ? W(t(a)) : K
261
+ g ? Error("react-stack-top-frame") : Q,
262
+ g ? W(t(a)) : K
263
263
  );
264
264
  };
265
- })()), R;
265
+ })()), S;
266
266
  }
267
267
  var r1;
268
268
  function H1() {
269
- return r1 || (r1 = 1, process.env.NODE_ENV === "production" ? L.exports = S1() : L.exports = P1()), L.exports;
269
+ return r1 || (r1 = 1, process.env.NODE_ENV === "production" ? V.exports = S1() : V.exports = P1()), V.exports;
270
270
  }
271
271
  var e = H1();
272
272
  function x0({ url: s, title: l }) {
273
273
  return /* @__PURE__ */ e.jsxs("div", { children: [
274
274
  l !== void 0 && /* @__PURE__ */ e.jsx("title", { children: l }),
275
- /* @__PURE__ */ e.jsx(g1, { url: s, deepLinking: !0 })
275
+ /* @__PURE__ */ e.jsx(_1, { url: s, deepLinking: !0 })
276
276
  ] });
277
277
  }
278
278
  const $1 = [
@@ -300,36 +300,49 @@ const $1 = [
300
300
  label: "ISNI",
301
301
  url: "https://isni.org/isni"
302
302
  },
303
+ {
304
+ schema: "gnd",
305
+ label: "GND",
306
+ url: "https://d-nb.info/gnd",
307
+ pattern: "https?://d-nb.info/gnd",
308
+ classes: "pl-[23px] bg-(image:--img-dnb) bg-[length:15px]"
309
+ },
303
310
  {
304
311
  schema: "pnd",
305
- label: "PND",
312
+ label: "GND",
306
313
  url: "https://d-nb.info/gnd"
314
+ },
315
+ {
316
+ schema: "viaf",
317
+ label: "VIAF",
318
+ url: "https://viaf.org/viaf",
319
+ classes: "pl-[23px] bg-(image:--img-oclc) bg-[length:15px]"
307
320
  }
308
321
  ];
309
322
  function m1({ showLabel: s, children: l, className: r }) {
310
323
  let t = "inline-flex bg-white bg-no-repeat bg-[5px] rounded-sm px-1.5 gap-1 align-text-bottom", c;
311
- const n = $1.find(({ pattern: o, url: d, schema: m }) => {
324
+ const n = $1.find(({ pattern: v, url: m, schema: h }) => {
312
325
  const p = new RegExp(
313
- `^(?:${o || d}/|${m}:)([a-z\\d]+)$`,
326
+ `^(?:${v || m}/|${h}:)([a-z\\d]+)$`,
314
327
  "i"
315
- ), g = l.match(p);
316
- return g ? (c = g[1], !0) : !1;
328
+ ), _ = l.match(p);
329
+ return _ ? (c = _[1], !0) : !1;
317
330
  });
318
331
  if (!n)
319
332
  return /* @__PURE__ */ e.jsx("span", { className: t, children: l });
320
- const { url: h, label: v, classes: _ = "" } = n;
321
- return t += ` ${_}`, /* @__PURE__ */ e.jsxs("span", { className: t, children: [
322
- s && `${v}: `,
323
- /* @__PURE__ */ e.jsx("a", { className: r, href: `${h}/${c}`, title: v, children: c })
333
+ const { url: o, label: d, classes: u = "" } = n;
334
+ return t += ` ${u}`, /* @__PURE__ */ e.jsxs("span", { className: t, children: [
335
+ s && `${d}: `,
336
+ /* @__PURE__ */ e.jsx("a", { className: r, href: `${o}/${c}`, title: d, children: c })
324
337
  ] });
325
338
  }
326
- function S(s, l = 0) {
339
+ function P(s, l = 0) {
327
340
  if (s === null)
328
341
  return "";
329
342
  const r = parseInt(s, 10);
330
343
  return r < 0 ? `${r * -1} BCE` : r < l ? `${r} CE` : String(r);
331
344
  }
332
- function V(s, l = "en-GB") {
345
+ function q(s, l = "en-GB") {
333
346
  const r = `${s}`;
334
347
  if (r.match("^-[0-9]{4}/-[0-9]{4}$")) {
335
348
  const t = r.split("/").map((c) => parseInt(c, 10) * -1);
@@ -337,7 +350,7 @@ function V(s, l = "en-GB") {
337
350
  }
338
351
  if (r.match("^-?[0-9]{4}/-?[0-9]{4}$")) {
339
352
  const t = r.split("/");
340
- return `${S(t[0])}-${S(t[1], 1e3)}`;
353
+ return `${P(t[0])}-${P(t[1], 1e3)}`;
341
354
  }
342
355
  if (r.match("^[0-9]{4}-[0-9]{2}$"))
343
356
  return new Date(r).toLocaleDateString(l, { month: "long", year: "numeric" });
@@ -349,35 +362,35 @@ function V(s, l = "en-GB") {
349
362
  });
350
363
  if (r.match("^>-?[0-9]{4}")) {
351
364
  const t = r.substring(1);
352
- return `after ${S(t, 1e3)}`;
365
+ return `after ${P(t, 1e3)}`;
353
366
  }
354
367
  if (r.match("^<-?[0-9]{4}")) {
355
368
  const t = r.substring(1);
356
- return `before ${S(t, 1e3)}`;
369
+ return `before ${P(t, 1e3)}`;
357
370
  }
358
- return r.match("^-?[0-9]{4}") ? S(r, 1e3) : r;
371
+ return r.match("^-?[0-9]{4}") ? P(r, 1e3) : r;
359
372
  }
360
373
  const z1 = "https://query.wikidata.org/sparql", O1 = "data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' xmlns:xlink='http://www.w3.org/1999/xlink' version='1.1' width='102' height='137' viewBox='-305 -516 610 820'%3E%3Ctitle%3EWikimedia Commons Logo%3C/title%3E%3Cdefs%3E%3CclipPath id='c'%3E%3Ccircle r='298'/%3E%3C/clipPath%3E%3C/defs%3E%3Ccircle r='100' fill='%23900'/%3E%3Cg fill='%23069'%3E%3Cg id='arrow' clip-path='url(%23c)'%3E%3Cpath d='m-11 180v118h22v-118'/%3E%3Cpath d='m-43 185l43-75 43 75'/%3E%3C/g%3E%3Cg id='arrows3'%3E%3Cuse xlink:href='%23arrow' transform='rotate(45)'/%3E%3Cuse xlink:href='%23arrow' transform='rotate(90)'/%3E%3Cuse xlink:href='%23arrow' transform='rotate(135)'/%3E%3C/g%3E%3Cuse xlink:href='%23arrows3' transform='scale(-1 1)'/%3E%3Cpath id='blue_path' transform='rotate(-45)' stroke='%23069' stroke-width='84' fill='none' d='M 0,-256 A 256 256 0 1 0 256,0 C 256,-100 155,-150 250,-275'/%3E%3Cpath id='arrow_top' d='m-23-515s-36 135-80 185 116-62 170-5-90-180-90-180z'/%3E%3C/g%3E%3C/svg%3E";
361
- function u0({
374
+ function g0({
362
375
  wikidataId: s,
363
376
  name: l,
364
377
  birthLabel: r = "b.",
365
378
  deathLabel: t = "d.",
366
379
  unknownLabel: c = "unknown"
367
380
  }) {
368
- const [n, h] = j(null);
369
- P(() => {
370
- function p(w) {
371
- return w.startsWith("http://www.wikidata.org/.well-known/genid") ? c : V(w.replace(/^(-?\d{4}).*$/, "$1"));
381
+ const [n, o] = j(null);
382
+ H(() => {
383
+ function p(b) {
384
+ return b.startsWith("http://www.wikidata.org/.well-known/genid") ? c : q(b.replace(/^(-?\d{4}).*$/, "$1"));
372
385
  }
373
- async function g(w) {
374
- const I = `
386
+ async function _(b) {
387
+ const M = `
375
388
  SELECT ?author ?authorLabel ?birthDate ?deathDate ?gender ?genderLabel
376
389
  ?birthPlace ?birthPlaceLabel ?birthCoord
377
390
  ?deathPlace ?deathPlaceLabel ?deathCoord
378
391
  ?img ?gnd
379
392
  WHERE {
380
- BIND (wd:${w} AS ?author)
393
+ BIND (wd:${b} AS ?author)
381
394
  OPTIONAL { ?author wdt:P569 ?birthDate. }
382
395
  OPTIONAL { ?author wdt:P570 ?deathDate. }
383
396
  OPTIONAL { ?author wdt:P21 ?gender. }
@@ -388,36 +401,36 @@ WHERE {
388
401
  OPTIONAL { ?author wdt:P227 ?gnd. }
389
402
  SERVICE wikibase:label { bd:serviceParam wikibase:language "de,en". }
390
403
  }
391
- `, Z = `${z1}?query=${encodeURIComponent(I)}`, F = {
404
+ `, A = `${z1}?query=${encodeURIComponent(M)}`, F = {
392
405
  method: "GET",
393
406
  headers: {
394
407
  Accept: "application/json"
395
408
  }
396
409
  };
397
410
  try {
398
- const E = await fetch(Z, F);
399
- if (E.status !== 200) {
400
- console.log(E.status);
411
+ const N = await fetch(A, F);
412
+ if (N.status !== 200) {
413
+ console.log(N.status);
401
414
  return;
402
415
  }
403
- const D = (await E.json()).results?.bindings || [], {
416
+ const D = (await N.json()).results?.bindings || [], {
404
417
  authorLabel: B,
405
418
  img: C,
406
- birthDate: H,
407
- birthPlaceLabel: $,
408
- deathDate: M,
409
- deathPlaceLabel: z
410
- } = D[0], T = [], N = [];
411
- H?.value && T.push(p(H.value)), $?.value && T.push($.value), M?.value && N.push(p(M.value)), z?.value && N.push(z.value);
412
- const y = { name: B.value, birth: T, death: N };
413
- C?.value && (y.imageUrl = C.value.replace(/^http:/, "https:"), y.commonsPage = C.value.replace(/Special:FilePath\//, "File:").replace(/^http:/, "https:")), h(y);
414
- } catch (E) {
415
- console.log(E);
419
+ birthDate: $,
420
+ birthPlaceLabel: z,
421
+ deathDate: y,
422
+ deathPlaceLabel: O
423
+ } = D[0], T = [], E = [];
424
+ $?.value && T.push(p($.value)), z?.value && T.push(z.value), y?.value && E.push(p(y.value)), O?.value && E.push(O.value);
425
+ const k = { name: B.value, birth: T, death: E };
426
+ C?.value && (k.imageUrl = C.value.replace(/^http:/, "https:"), k.commonsPage = C.value.replace(/Special:FilePath\//, "File:").replace(/^http:/, "https:")), o(k);
427
+ } catch (N) {
428
+ console.log(N);
416
429
  }
417
430
  }
418
- s && g(s);
431
+ s && _(s);
419
432
  }, [s, c]);
420
- const { name: v, imageUrl: _, commonsPage: o, birth: d = [], death: m = [] } = n || {};
433
+ const { name: d, imageUrl: u, commonsPage: v, birth: m = [], death: h = [] } = n || {};
421
434
  return /* @__PURE__ */ e.jsxs("div", { className: "flex whitespace-nowrap", children: [
422
435
  /* @__PURE__ */ e.jsxs(
423
436
  "div",
@@ -425,19 +438,19 @@ WHERE {
425
438
  className: "relative w-[5em] h-[6em] overflow-hidden bg-(image:--img-author) bg-no-repeat bg-center bg-primary rounded-md border-2 border-primary mr-4",
426
439
  style: { backgroundSize: "70%" },
427
440
  children: [
428
- _ && /* @__PURE__ */ e.jsx(
441
+ u && /* @__PURE__ */ e.jsx(
429
442
  "img",
430
443
  {
431
- src: _,
432
- title: v,
444
+ src: u,
445
+ title: d,
433
446
  alt: "",
434
447
  className: "object-cover object-top w-full h-full"
435
448
  }
436
449
  ),
437
- o && /* @__PURE__ */ e.jsx(
450
+ v && /* @__PURE__ */ e.jsx(
438
451
  "a",
439
452
  {
440
- href: o,
453
+ href: v,
441
454
  title: "© Wikimedia Commons",
442
455
  className: "absolute flex inset-0 z-10 bg-white/0 hover:bg-white/60",
443
456
  children: /* @__PURE__ */ e.jsx(
@@ -455,17 +468,17 @@ WHERE {
455
468
  }
456
469
  ),
457
470
  /* @__PURE__ */ e.jsxs("span", { children: [
458
- /* @__PURE__ */ e.jsx("div", { className: "text-lg", children: l || v }),
471
+ /* @__PURE__ */ e.jsx("div", { className: "text-lg", children: l || d }),
459
472
  s && /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(m1, { children: `wikidata:${s}` }) }),
460
- d.length > 0 && /* @__PURE__ */ e.jsxs("div", { children: [
473
+ m.length > 0 && /* @__PURE__ */ e.jsxs("div", { children: [
461
474
  r,
462
475
  " ",
463
- d.join(", ")
476
+ m.join(", ")
464
477
  ] }),
465
- m.length > 0 && /* @__PURE__ */ e.jsxs("div", { children: [
478
+ h.length > 0 && /* @__PURE__ */ e.jsxs("div", { children: [
466
479
  t,
467
480
  " ",
468
- m.join(", ")
481
+ h.join(", ")
469
482
  ] })
470
483
  ] })
471
484
  ] });
@@ -483,7 +496,7 @@ const f0 = ({ data: s }) => /* @__PURE__ */ e.jsx(e.Fragment, { children: s.map(
483
496
  /* @__PURE__ */ e.jsx("small", { children: /* @__PURE__ */ e.jsx(m1, { children: l.ref }) })
484
497
  ] })
485
498
  ] }, `${r}-${l.name}`)) });
486
- function _0({ repo: s, children: l }) {
499
+ function u0({ repo: s, children: l }) {
487
500
  const r = l.trim(), t = r.substring(0, 7), c = `${s}/commit/${r}`;
488
501
  return s ? /* @__PURE__ */ e.jsxs(
489
502
  "a",
@@ -493,7 +506,7 @@ function _0({ repo: s, children: l }) {
493
506
  rel: "noreferrer noopener",
494
507
  className: "text-sm",
495
508
  children: [
496
- /* @__PURE__ */ e.jsx(b, { icon: c1, size: "lg", className: "mr-1" }),
509
+ /* @__PURE__ */ e.jsx(w, { icon: c1, size: "lg", className: "mr-1" }),
497
510
  t
498
511
  ]
499
512
  }
@@ -506,52 +519,64 @@ function L1({
506
519
  ...t
507
520
  }) {
508
521
  const [c, n] = j(s);
509
- return P(() => {
522
+ return H(() => {
510
523
  n(s);
511
- }, [s]), P(() => {
512
- const h = setTimeout(() => {
524
+ }, [s]), H(() => {
525
+ const o = setTimeout(() => {
513
526
  l(c);
514
527
  }, r);
515
- return () => clearTimeout(h);
528
+ return () => clearTimeout(o);
516
529
  }, [c]), /* @__PURE__ */ e.jsx(
517
530
  "input",
518
531
  {
519
532
  ...t,
520
533
  value: c,
521
- onChange: (h) => n(h.target.value)
534
+ onChange: (o) => n(o.target.value)
522
535
  }
523
536
  );
524
537
  }
525
- function g0({ url: s, match: l }) {
526
- const [r, t] = j(""), [c, n] = j("");
527
- return P(() => {
528
- async function h(_) {
538
+ function _0({
539
+ url: s,
540
+ match: l,
541
+ components: r,
542
+ rehypePlugins: t
543
+ }) {
544
+ const [c, n] = j(""), [o, d] = j("");
545
+ return H(() => {
546
+ async function u(m) {
529
547
  try {
530
- const o = await fetch(_, { method: "GET" });
531
- if (o.status == 404) {
532
- t("Not Found"), n("Not Found");
548
+ const h = await fetch(m, { method: "GET" });
549
+ if (h.status == 404) {
550
+ n("Not Found"), d("Not Found");
533
551
  return;
534
552
  }
535
- if (o.status !== 200)
536
- throw console.log(o.status), new Error(`Request failed with status ${o.status}`);
537
- const d = o.headers.get("content-type");
538
- if (!d || !d.includes("text/markdown")) {
539
- t("Oops, we haven't got Markdown!"), n("No Markdown");
553
+ if (h.status !== 200)
554
+ throw console.log(h.status), new Error(`Request failed with status ${h.status}`);
555
+ const p = h.headers.get("content-type");
556
+ if (!p || !p.includes("text/markdown")) {
557
+ n("Oops, we haven't got Markdown!"), d("No Markdown");
540
558
  return;
541
559
  }
542
- const m = await o.text();
543
- t(m);
544
- const g = m.replace(/^\s+/, "").split(/(\n|\r|\r\n){2,}/)[0].match(/^#\s*(.+)/);
545
- n(g ? g[1] : "...");
546
- } catch (o) {
547
- o instanceof Error && o.message === "Request failed with status code 404" ? (t("Not Found"), n("Not Found")) : (t("Something went wrong."), n("Error"), console.error(o));
560
+ const _ = await h.text();
561
+ n(_);
562
+ const M = _.replace(/^\s+/, "").split(/(\n|\r|\r\n){2,}/)[0].match(/^#\s*(.+)/);
563
+ d(M ? M[1] : "...");
564
+ } catch (h) {
565
+ h instanceof Error && h.message === "Request failed with status code 404" ? (n("Not Found"), d("Not Found")) : (n("Something went wrong."), d("Error"), console.error(h));
548
566
  }
549
567
  }
550
568
  const v = s || (l ? l() : null);
551
- v && h(v);
569
+ v && u(v);
552
570
  }, [s, l]), /* @__PURE__ */ e.jsxs("div", { children: [
553
- c && /* @__PURE__ */ e.jsx("title", { children: c }),
554
- /* @__PURE__ */ e.jsx(p1, { children: r })
571
+ o && /* @__PURE__ */ e.jsx("title", { children: o }),
572
+ /* @__PURE__ */ e.jsx(
573
+ p1,
574
+ {
575
+ children: c,
576
+ components: r,
577
+ rehypePlugins: t
578
+ }
579
+ )
555
580
  ] });
556
581
  }
557
582
  const V1 = (s) => /* @__PURE__ */ e.jsxs(
@@ -1225,14 +1250,14 @@ const U1 = (s) => /* @__PURE__ */ e.jsxs("svg", { xmlns: "http://www.w3.org/2000
1225
1250
  ] })
1226
1251
  }
1227
1252
  ), { protocol: X1, host: Q1 } = window.location, K1 = `${X1}//${Q1}/id/`;
1228
- function j0({
1253
+ function b0({
1229
1254
  children: s,
1230
1255
  className: l = "",
1231
1256
  uri: r,
1232
1257
  prefix: t,
1233
1258
  icon: c
1234
1259
  }) {
1235
- const n = s, h = r || `${t || K1}${n}`;
1260
+ const n = s, o = r || `${t || K1}${n}`;
1236
1261
  return /* @__PURE__ */ e.jsxs(
1237
1262
  "span",
1238
1263
  {
@@ -1240,21 +1265,21 @@ function j0({
1240
1265
  children: [
1241
1266
  c === "ein" && /* @__PURE__ */ e.jsx(J1, { style: { width: "25px" } }),
1242
1267
  c === "dracor" && /* @__PURE__ */ e.jsx(U1, { style: { width: "15px" } }),
1243
- /* @__PURE__ */ e.jsx(y1, { text: h, children: /* @__PURE__ */ e.jsxs("span", { title: "copy to clipboard", children: [
1268
+ /* @__PURE__ */ e.jsx(y1, { text: o, children: /* @__PURE__ */ e.jsxs("span", { title: "copy to clipboard", children: [
1244
1269
  /* @__PURE__ */ e.jsx("span", { className: "pr-1", children: n }),
1245
- /* @__PURE__ */ e.jsx(b, { icon: j1, size: "sm" })
1270
+ /* @__PURE__ */ e.jsx(w, { icon: b1, size: "sm" })
1246
1271
  ] }) })
1247
1272
  ]
1248
1273
  }
1249
1274
  );
1250
1275
  }
1251
- function b0({
1276
+ function j0({
1252
1277
  languages: s,
1253
1278
  current: l = "",
1254
1279
  onSelect: r
1255
1280
  }) {
1256
1281
  return /* @__PURE__ */ e.jsxs(i1, { as: "div", className: "relative inline-block text-left", children: [
1257
- /* @__PURE__ */ e.jsx(o1, { className: "relative justify-center inline-flex mr-8 hover:text-neutral-100", children: /* @__PURE__ */ e.jsx(b, { icon: b1, size: "2x" }) }),
1282
+ /* @__PURE__ */ e.jsx(o1, { className: "relative justify-center inline-flex mr-8 hover:text-neutral-100", children: /* @__PURE__ */ e.jsx(w, { icon: j1, size: "2x" }) }),
1258
1283
  /* @__PURE__ */ e.jsx(
1259
1284
  h1,
1260
1285
  {
@@ -1291,7 +1316,7 @@ function e0({ label: s, to: l, params: r, href: t, className: c }) {
1291
1316
  children: s
1292
1317
  }
1293
1318
  ) : /* @__PURE__ */ e.jsx(
1294
- q,
1319
+ I,
1295
1320
  {
1296
1321
  to: l,
1297
1322
  params: r,
@@ -1303,10 +1328,10 @@ function e0({ label: s, to: l, params: r, href: t, className: c }) {
1303
1328
  const l1 = "group flex w-full items-center rounded-sm px-2 py-1 text-sm text-gray-900 hover:text-gray-900 hover:bg-blue-100";
1304
1329
  function a0({ label: s, items: l, menuClass: r }) {
1305
1330
  const t = k1();
1306
- function c({ to: h }) {
1307
- return h && t.pathname.startsWith(h);
1331
+ function c({ to: o }) {
1332
+ return o && t.pathname.startsWith(o);
1308
1333
  }
1309
- const n = !!l.find((h) => c(h));
1334
+ const n = !!l.find((o) => c(o));
1310
1335
  return /* @__PURE__ */ e.jsxs(i1, { as: "div", className: "relative inline-block text-left", children: [
1311
1336
  /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsxs(
1312
1337
  o1,
@@ -1315,7 +1340,7 @@ function a0({ label: s, items: l, menuClass: r }) {
1315
1340
  children: [
1316
1341
  s,
1317
1342
  /* @__PURE__ */ e.jsx(
1318
- b,
1343
+ w,
1319
1344
  {
1320
1345
  icon: w1,
1321
1346
  className: "ml-2 mt-1",
@@ -1336,24 +1361,24 @@ function a0({ label: s, items: l, menuClass: r }) {
1336
1361
  leave: "transition ease-in duration-75",
1337
1362
  leaveFrom: "transform opacity-100 scale-100",
1338
1363
  leaveTo: "transform opacity-0 scale-95",
1339
- children: /* @__PURE__ */ e.jsx(d1, { className: "absolute left-0 mt-2 min-w-fit whitespace-nowrap origin-top-right divide-y divide-gray-100 rounded-sm bg-white shadow-lg focus:outline-hidden", children: /* @__PURE__ */ e.jsx("div", { className: "px-1 py-1", children: l.map(({ to: h, href: v, params: _, label: o }) => /* @__PURE__ */ e.jsx(v1, { children: v?.startsWith("http") || v?.startsWith("mailto:") ? /* @__PURE__ */ e.jsx(
1364
+ children: /* @__PURE__ */ e.jsx(d1, { className: "absolute left-0 mt-2 min-w-fit whitespace-nowrap origin-top-right divide-y divide-gray-100 rounded-sm bg-white shadow-lg focus:outline-hidden", children: /* @__PURE__ */ e.jsx("div", { className: "px-1 py-1", children: l.map(({ to: o, href: d, params: u, label: v }) => /* @__PURE__ */ e.jsx(v1, { children: d?.startsWith("http") || d?.startsWith("mailto:") ? /* @__PURE__ */ e.jsx(
1340
1365
  "a",
1341
1366
  {
1342
- href: v,
1367
+ href: d,
1343
1368
  className: l1,
1344
1369
  target: "_blank",
1345
1370
  rel: "noopener noreferrer",
1346
- children: o
1371
+ children: v
1347
1372
  }
1348
1373
  ) : /* @__PURE__ */ e.jsx(
1349
- q,
1374
+ I,
1350
1375
  {
1351
- to: h,
1352
- params: _,
1376
+ to: o,
1377
+ params: u,
1353
1378
  className: l1 + " [&.active]:bg-blue-300 [&.active]:text-white [&.active]:font-medium [&.active]:hover:bg-blue-100 [&.active]:hover:text-gray-900",
1354
- children: o
1379
+ children: v
1355
1380
  }
1356
- ) }, o)) }) })
1381
+ ) }, v)) }) })
1357
1382
  }
1358
1383
  )
1359
1384
  ] });
@@ -1365,13 +1390,13 @@ function w0({
1365
1390
  version: t,
1366
1391
  gitHubUrl: c,
1367
1392
  gitHubIcon: n,
1368
- gitHubTitle: h,
1369
- addItem: v,
1370
- navItems: _
1393
+ gitHubTitle: o,
1394
+ addItem: d,
1395
+ navItems: u
1371
1396
  }) {
1372
- const [o, d] = j(!1);
1397
+ const [v, m] = j(!1);
1373
1398
  return /* @__PURE__ */ e.jsxs("nav", { className: "flex items-center justify-between flex-wrap p-4 bg-primary text-white font-medium", children: [
1374
- /* @__PURE__ */ e.jsx(q, { to: "/", children: l ? /* @__PURE__ */ e.jsx(
1399
+ /* @__PURE__ */ e.jsx(I, { to: "/", children: l ? /* @__PURE__ */ e.jsx(
1375
1400
  "img",
1376
1401
  {
1377
1402
  alt: `${s} logo`,
@@ -1384,7 +1409,7 @@ function w0({
1384
1409
  "button",
1385
1410
  {
1386
1411
  className: "flex items-center px-3 py-2 hover:text-blue-100",
1387
- onClick: () => d(!o),
1412
+ onClick: () => m(!v),
1388
1413
  children: /* @__PURE__ */ e.jsxs(
1389
1414
  "svg",
1390
1415
  {
@@ -1402,26 +1427,26 @@ function w0({
1402
1427
  /* @__PURE__ */ e.jsxs(
1403
1428
  "div",
1404
1429
  {
1405
- className: `block md:flex grow md:items-center w-full md:w-auto ${o ? "" : "hidden"}`,
1430
+ className: `block md:flex grow md:items-center w-full md:w-auto ${v ? "" : "hidden"}`,
1406
1431
  children: [
1407
- _?.length && /* @__PURE__ */ e.jsx("div", { className: "my-2 md:grow md:flex-row flex justify-center flex-col gap-4", children: _.map(
1408
- (m) => "items" in m ? /* @__PURE__ */ e.jsx(
1432
+ u?.length && /* @__PURE__ */ e.jsx("div", { className: "my-2 md:grow md:flex-row flex justify-center flex-col gap-4", children: u.map(
1433
+ (h) => "items" in h ? /* @__PURE__ */ e.jsx(
1409
1434
  a0,
1410
1435
  {
1411
- label: m.label,
1412
- items: m.items
1436
+ label: h.label,
1437
+ items: h.items
1413
1438
  },
1414
- m.label
1415
- ) : /* @__PURE__ */ e.jsx(e0, { label: m.label, to: m.to }, m.label)
1439
+ h.label
1440
+ ) : /* @__PURE__ */ e.jsx(e0, { label: h.label, to: h.to }, h.label)
1416
1441
  ) }),
1417
- v,
1442
+ d,
1418
1443
  c && /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(
1419
1444
  "a",
1420
1445
  {
1421
1446
  href: c,
1422
- title: h || "GitHub",
1447
+ title: o || "GitHub",
1423
1448
  className: "text-white text-2xl",
1424
- children: n || /* @__PURE__ */ e.jsx(b, { icon: c1, size: "2xl" })
1449
+ children: n || /* @__PURE__ */ e.jsx(w, { icon: c1, size: "2xl" })
1425
1450
  }
1426
1451
  ) })
1427
1452
  ]
@@ -1429,19 +1454,19 @@ function w0({
1429
1454
  )
1430
1455
  ] });
1431
1456
  }
1432
- function E0({ columns: s, data: l, defaultSort: r = [] }) {
1433
- const [t, c] = j(r), [n, h] = j(""), [v] = j(l), _ = Z1({
1434
- data: v,
1457
+ function N0({ columns: s, data: l, defaultSort: r = [] }) {
1458
+ const [t, c] = j(r), [n, o] = j(""), [d] = j(l), u = Z1({
1459
+ data: d,
1435
1460
  columns: s,
1436
1461
  state: {
1437
1462
  sorting: t,
1438
1463
  globalFilter: n
1439
1464
  },
1440
1465
  onSortingChange: c,
1441
- onGlobalFilterChange: h,
1442
- getCoreRowModel: A1(),
1443
- getSortedRowModel: T1(),
1444
- getFilteredRowModel: C1(),
1466
+ onGlobalFilterChange: o,
1467
+ getCoreRowModel: T1(),
1468
+ getSortedRowModel: C1(),
1469
+ getFilteredRowModel: A1(),
1445
1470
  debugTable: !0
1446
1471
  });
1447
1472
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
@@ -1450,33 +1475,33 @@ function E0({ columns: s, data: l, defaultSort: r = [] }) {
1450
1475
  L1,
1451
1476
  {
1452
1477
  value: n ?? "",
1453
- onChange: (o) => h(String(o)),
1478
+ onChange: (v) => o(String(v)),
1454
1479
  placeholder: "Search"
1455
1480
  }
1456
1481
  ),
1457
1482
  n !== "" && /* @__PURE__ */ e.jsxs("span", { className: "ml-2", children: [
1458
1483
  "(",
1459
- _.getRowModel().rows.length,
1484
+ u.getRowModel().rows.length,
1460
1485
  ")"
1461
1486
  ] })
1462
1487
  ] }),
1463
1488
  /* @__PURE__ */ e.jsx("div", { className: "flex", children: /* @__PURE__ */ e.jsxs("table", { children: [
1464
- /* @__PURE__ */ e.jsx("thead", { children: _.getHeaderGroups().map((o) => /* @__PURE__ */ e.jsx("tr", { children: o.headers.map((d) => /* @__PURE__ */ e.jsx("th", { colSpan: d.colSpan, children: d.isPlaceholder ? null : /* @__PURE__ */ e.jsxs(
1489
+ /* @__PURE__ */ e.jsx("thead", { children: u.getHeaderGroups().map((v) => /* @__PURE__ */ e.jsx("tr", { children: v.headers.map((m) => /* @__PURE__ */ e.jsx("th", { colSpan: m.colSpan, children: m.isPlaceholder ? null : /* @__PURE__ */ e.jsxs(
1465
1490
  "div",
1466
1491
  {
1467
- className: d.column.getCanSort() ? "cursor-pointer select-none" : "",
1468
- onClick: d.column.getToggleSortingHandler(),
1492
+ className: m.column.getCanSort() ? "cursor-pointer select-none" : "",
1493
+ onClick: m.column.getToggleSortingHandler(),
1469
1494
  children: [
1470
1495
  a1(
1471
- d.column.columnDef.header,
1472
- d.getContext()
1496
+ m.column.columnDef.header,
1497
+ m.getContext()
1473
1498
  ),
1474
1499
  " ",
1475
- /* @__PURE__ */ e.jsx(s0, { status: d.column.getIsSorted() })
1500
+ /* @__PURE__ */ e.jsx(s0, { status: m.column.getIsSorted() })
1476
1501
  ]
1477
1502
  }
1478
- ) }, d.id)) }, o.id)) }),
1479
- /* @__PURE__ */ e.jsx("tbody", { children: _.getRowModel().rows.map((o, d) => /* @__PURE__ */ e.jsx("tr", { className: d % 2 ? "" : "bg-neutral-200", children: o.getVisibleCells().map((m) => /* @__PURE__ */ e.jsx("td", { children: a1(m.column.columnDef.cell, m.getContext()) }, m.id)) }, o.id)) })
1503
+ ) }, m.id)) }, v.id)) }),
1504
+ /* @__PURE__ */ e.jsx("tbody", { children: u.getRowModel().rows.map((v, m) => /* @__PURE__ */ e.jsx("tr", { className: m % 2 ? "" : "bg-neutral-200", children: v.getVisibleCells().map((h) => /* @__PURE__ */ e.jsx("td", { children: a1(h.column.columnDef.cell, h.getContext()) }, h.id)) }, v.id)) })
1480
1505
  ] }) })
1481
1506
  ] });
1482
1507
  }
@@ -1486,13 +1511,13 @@ function s0({ status: s }) {
1486
1511
  /* @__PURE__ */ e.jsx("span", { className: s !== "desc" ? "opacity-40" : "", children: "▼" })
1487
1512
  ] });
1488
1513
  }
1489
- function N0({ data: s }) {
1514
+ function E0({ data: s }) {
1490
1515
  const l = "inline-block p-4 border-b-2 text-gray-500 hover:text-gray-600 border-transparent hover:border-gray-300 [&.active]:border-primary";
1491
- return /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-center text-gray-500 border-b border-gray-200 dark:text-gray-400 dark:border-gray-700", children: /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap -mb-px gap-3", children: s.map(({ label: r, to: t }) => /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(q, { to: t, className: l, children: r }) }, r)) }) });
1516
+ return /* @__PURE__ */ e.jsx("div", { className: "text-sm font-medium text-center text-gray-500 border-b border-gray-200 dark:text-gray-400 dark:border-gray-700", children: /* @__PURE__ */ e.jsx("div", { className: "flex flex-wrap -mb-px gap-3", children: s.map(({ label: r, to: t }) => /* @__PURE__ */ e.jsx("div", { children: /* @__PURE__ */ e.jsx(I, { to: t, className: l, children: r }) }, r)) }) });
1492
1517
  }
1493
1518
  function M0({ url: s }) {
1494
- const l = _1(null);
1495
- return P(() => {
1519
+ const l = u1(null);
1520
+ return H(() => {
1496
1521
  const r = new R1();
1497
1522
  for (; l.current?.firstChild; )
1498
1523
  l.current.removeChild(l.current.firstChild);
@@ -1508,49 +1533,49 @@ function y0({
1508
1533
  locale: t,
1509
1534
  labelPremiered: c = "premiered",
1510
1535
  labelPrinted: n = "printed",
1511
- labelWritten: h = "written"
1536
+ labelWritten: o = "written"
1512
1537
  }) {
1513
1538
  return /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1514
1539
  s && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1515
- /* @__PURE__ */ e.jsxs("span", { title: h, children: [
1516
- /* @__PURE__ */ e.jsx(b, { icon: E1, size: "sm" }),
1540
+ /* @__PURE__ */ e.jsxs("span", { title: o, children: [
1541
+ /* @__PURE__ */ e.jsx(w, { icon: N1, size: "sm" }),
1517
1542
  " ",
1518
- V(s, t)
1543
+ q(s, t)
1519
1544
  ] }),
1520
1545
  " "
1521
1546
  ] }),
1522
1547
  l && /* @__PURE__ */ e.jsxs(e.Fragment, { children: [
1523
1548
  /* @__PURE__ */ e.jsxs("span", { title: c, children: [
1524
- /* @__PURE__ */ e.jsx(b, { icon: N1, size: "sm" }),
1549
+ /* @__PURE__ */ e.jsx(w, { icon: E1, size: "sm" }),
1525
1550
  " ",
1526
- V(l, t)
1551
+ q(l, t)
1527
1552
  ] }),
1528
1553
  " "
1529
1554
  ] }),
1530
1555
  r && /* @__PURE__ */ e.jsxs("span", { title: n, children: [
1531
- /* @__PURE__ */ e.jsx(b, { icon: M1, size: "sm" }),
1556
+ /* @__PURE__ */ e.jsx(w, { icon: M1, size: "sm" }),
1532
1557
  " ",
1533
- V(r, t)
1558
+ q(r, t)
1534
1559
  ] })
1535
1560
  ] });
1536
1561
  }
1537
1562
  export {
1538
1563
  x0 as ApiDoc,
1539
- u0 as AuthorInfo,
1564
+ g0 as AuthorInfo,
1540
1565
  f0 as Authors,
1541
- _0 as Commit,
1566
+ u0 as Commit,
1542
1567
  L1 as DebouncedInput,
1543
- g0 as DocPage,
1568
+ _0 as DocPage,
1544
1569
  p0 as DownloadButton,
1545
- j0 as IdCopy,
1570
+ b0 as IdCopy,
1546
1571
  m1 as IdLink,
1547
- b0 as LanguageMenu,
1572
+ j0 as LanguageMenu,
1548
1573
  w0 as NavBar,
1549
1574
  M0 as TEIText,
1550
- E0 as Table,
1551
- N0 as Tabs,
1575
+ N0 as Table,
1576
+ E0 as Tabs,
1552
1577
  y0 as Years,
1553
- S as formatEra,
1554
- V as formatYear
1578
+ P as formatEra,
1579
+ q as formatYear
1555
1580
  };
1556
1581
  //# sourceMappingURL=index.es.js.map