@peasant-labs/fairtrade 0.0.60 → 0.0.62

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,5 +1,5 @@
1
1
  import { Dt as e, Tt as t, ft as n, mt as r, pt as i } from "./GraphLegend-e9x79JtU.js";
2
- import { $n as a, Bn as o, Ct as s, Et as c, O as l, St as u, Yn as d, _r as f, an as p, at as ee, er as m, in as h, k as g, lt as _, nr as v, ot as y, rn as b, rt as x, tn as S, ut as C, wt as w, xt as T, yt as E } from "./ui-DoP5-XrV.js";
2
+ import { Cr as a, Ct as o, Et as s, Kn as c, O as l, St as u, an as d, ar as f, at as p, cr as ee, in as m, k as h, lt as g, or as _, ot as v, rn as y, rt as b, tn as x, tr as S, ut as C, wt as w, xt as T, yt as E } from "./ui-B112SqIJ.js";
3
3
  import { p as D } from "./time-CpVBzcqQ.js";
4
4
  import { i as O, o as k, r as A } from "./format-B3uT2wzU.js";
5
5
  import { useEffect as j, useId as te, useMemo as M, useRef as N, useState as P } from "react";
@@ -217,7 +217,7 @@ function Fe({ transcript: e, href: t, onOpen: n, cardHeading: i = "h3" }) {
217
217
  className: "mono",
218
218
  children: e.modelName || e.modelProvider
219
219
  })]
220
- }), /* @__PURE__ */ I(x, { visibility: e.visibility })]
220
+ }), /* @__PURE__ */ I(b, { visibility: e.visibility })]
221
221
  }),
222
222
  /* @__PURE__ */ I(i, {
223
223
  className: "cex-title",
@@ -286,7 +286,7 @@ function Ie({ transcript: e, href: t, onOpen: n }) {
286
286
  children: [/* @__PURE__ */ I("span", {
287
287
  className: "cex-trow-date mono tnum",
288
288
  children: De(e.sessionStart || e.sessionEnd || "")
289
- }), /* @__PURE__ */ I(x, { visibility: e.visibility })]
289
+ }), /* @__PURE__ */ I(b, { visibility: e.visibility })]
290
290
  })
291
291
  ] });
292
292
  return t ? /* @__PURE__ */ I("a", {
@@ -337,8 +337,8 @@ function Le({ collective: e, href: t, onOpen: n }) {
337
337
  children: r
338
338
  });
339
339
  }
340
- function Re({ data: e, className: n = "", title: i = "explore transcripts", resultsFooter: a, defaultLayout: o = "grid", onFiltersChange: s, onOpenTranscript: u, onOpenProfile: d, onOpenCollective: f, transcriptHref: p, profileHref: ee, collectiveHref: m, headingLevel: h }) {
341
- let _ = g(h, "Explore"), v = l(_, 0), y = l(_, 1), b = l(_, 2), S = Ne(e), C = S.transcripts.transcripts, [T, E] = P(""), [D, O] = P(""), [k, A] = P("recent"), [F, ne] = P("all"), [R, re] = P(() => /* @__PURE__ */ new Set()), [z, ie] = P(o), [oe, se] = P(!1), B = te(), [V, H] = P(() => Pe(S.transcripts.page)), [U, W] = P(null), [le, G] = P("browse"), K = N(!0), q = N(null);
340
+ function Re({ data: e, className: n = "", title: i = "explore transcripts", resultsFooter: a, defaultLayout: o = "grid", onFiltersChange: c, onOpenTranscript: u, onOpenProfile: d, onOpenCollective: f, transcriptHref: p, profileHref: ee, collectiveHref: m, headingLevel: g }) {
341
+ let _ = h(g, "Explore"), v = l(_, 0), y = l(_, 1), x = l(_, 2), S = Ne(e), C = S.transcripts.transcripts, [T, E] = P(""), [D, O] = P(""), [k, A] = P("recent"), [F, ne] = P("all"), [R, re] = P(() => /* @__PURE__ */ new Set()), [z, ie] = P(o), [oe, se] = P(!1), B = te(), [V, H] = P(() => Pe(S.transcripts.page)), [U, W] = P(null), [le, G] = P("browse"), K = N(!0), q = N(null);
342
342
  j(() => {
343
343
  if (K.current) {
344
344
  K.current = !1, O(T);
@@ -364,7 +364,7 @@ function Re({ data: e, className: n = "", title: i = "explore transcripts", resu
364
364
  F,
365
365
  R
366
366
  ]), j(() => {
367
- s?.({
367
+ c?.({
368
368
  query: D,
369
369
  provider: F,
370
370
  topics: [...R],
@@ -373,7 +373,7 @@ function Re({ data: e, className: n = "", title: i = "explore transcripts", resu
373
373
  });
374
374
  }, [
375
375
  k,
376
- s,
376
+ c,
377
377
  V,
378
378
  F,
379
379
  D,
@@ -479,7 +479,7 @@ function Re({ data: e, className: n = "", title: i = "explore transcripts", resu
479
479
  children: [/* @__PURE__ */ I(v, {
480
480
  className: "win-title cex-vtitle",
481
481
  children: Ae(J.title || "untitled transcript")
482
- }), /* @__PURE__ */ I(x, { visibility: J.visibility })]
482
+ }), /* @__PURE__ */ I(b, { visibility: J.visibility })]
483
483
  }),
484
484
  /* @__PURE__ */ L("p", {
485
485
  className: "cex-vdesc",
@@ -580,7 +580,7 @@ function Re({ data: e, className: n = "", title: i = "explore transcripts", resu
580
580
  children: Oe(J.owner.displayName || J.owner.githubUsername)
581
581
  }), /* @__PURE__ */ L("div", {
582
582
  className: "cex-phero-id",
583
- children: [/* @__PURE__ */ I(b, {
583
+ children: [/* @__PURE__ */ I(x, {
584
584
  className: "cex-h2 cex-pname",
585
585
  children: J.owner.displayName || J.owner.githubUsername
586
586
  }), /* @__PURE__ */ L("span", {
@@ -788,7 +788,7 @@ function Re({ data: e, className: n = "", title: i = "explore transcripts", resu
788
788
  /* @__PURE__ */ I("div", {
789
789
  id: B,
790
790
  className: `cex-filter-panel${oe ? " is-open" : ""}`,
791
- children: /* @__PURE__ */ I(c, {
791
+ children: /* @__PURE__ */ I(s, {
792
792
  order: k,
793
793
  onOrder: (e) => A(e),
794
794
  providers: me,
@@ -1380,7 +1380,7 @@ function Je() {
1380
1380
  return n.has(e) ? n.delete(e) : n.add(e), n;
1381
1381
  });
1382
1382
  }
1383
- let d = [...e].map((e) => o[e]).filter(Boolean), f = d.filter((e) => e.visibility === "private").length;
1383
+ let f = [...e].map((e) => o[e]).filter(Boolean), p = f.filter((e) => e.visibility === "private").length;
1384
1384
  return /* @__PURE__ */ L("div", {
1385
1385
  className: "cmg-root",
1386
1386
  children: [/* @__PURE__ */ L("div", {
@@ -1516,13 +1516,13 @@ function Je() {
1516
1516
  children: e.size
1517
1517
  }),
1518
1518
  " selected",
1519
- f > 0 ? /* @__PURE__ */ L("span", {
1519
+ p > 0 ? /* @__PURE__ */ L("span", {
1520
1520
  className: "cmg-sel-warn",
1521
1521
  children: [
1522
1522
  ", ",
1523
1523
  /* @__PURE__ */ I("span", {
1524
1524
  className: "tnum",
1525
- children: f
1525
+ children: p
1526
1526
  }),
1527
1527
  " private"
1528
1528
  ]
@@ -1546,20 +1546,20 @@ function Je() {
1546
1546
  })]
1547
1547
  })
1548
1548
  ]
1549
- }), /* @__PURE__ */ I(p, {
1549
+ }), /* @__PURE__ */ I(d, {
1550
1550
  open: i,
1551
1551
  title: /* @__PURE__ */ L(F, { children: [
1552
1552
  "make ",
1553
- f > 1 ? "these" : "this",
1553
+ p > 1 ? "these" : "this",
1554
1554
  " visible?"
1555
1555
  ] }),
1556
- intro: f > 0 ? /* @__PURE__ */ L("p", { children: [
1556
+ intro: p > 0 ? /* @__PURE__ */ L("p", { children: [
1557
1557
  /* @__PURE__ */ I("span", {
1558
1558
  className: "tnum",
1559
- children: f
1559
+ children: p
1560
1560
  }),
1561
1561
  " private transcript",
1562
- f === 1 ? "" : "s",
1562
+ p === 1 ? "" : "s",
1563
1563
  " will become visible to members of ",
1564
1564
  /* @__PURE__ */ I("b", { children: qe.name }),
1565
1565
  ". visibility will change from private to shared."
@@ -1573,9 +1573,9 @@ function Je() {
1573
1573
  axes: [{
1574
1574
  icon: B,
1575
1575
  key: "visibility",
1576
- value: f > 0 ? "private → shared" : "unchanged",
1577
- scope: f > 0 ? `${f} transcript${f === 1 ? "" : "s"} newly exposed` : "no visibility change",
1578
- tone: f > 0 ? "reveal" : "open"
1576
+ value: p > 0 ? "private → shared" : "unchanged",
1577
+ scope: p > 0 ? `${p} transcript${p === 1 ? "" : "s"} newly exposed` : "no visibility change",
1578
+ tone: p > 0 ? "reveal" : "open"
1579
1579
  }, {
1580
1580
  icon: Q,
1581
1581
  key: "shared with",
@@ -1583,14 +1583,14 @@ function Je() {
1583
1583
  scope: `${qe.members} members can see it`,
1584
1584
  tone: "open"
1585
1585
  }],
1586
- requireConsent: f > 0,
1587
- confirmLabel: f > 0 ? "contribute & make visible" : "contribute",
1586
+ requireConsent: p > 0,
1587
+ confirmLabel: p > 0 ? "contribute & make visible" : "contribute",
1588
1588
  confirmIcon: ne,
1589
1589
  onCancel: () => a(!1),
1590
1590
  onConfirm: () => a(!1),
1591
1591
  children: /* @__PURE__ */ L("ul", {
1592
1592
  className: "cmg-confirm-list",
1593
- children: [d.slice(0, 5).map((e) => /* @__PURE__ */ L("li", {
1593
+ children: [f.slice(0, 5).map((e) => /* @__PURE__ */ L("li", {
1594
1594
  className: "cmg-confirm-tx",
1595
1595
  children: [
1596
1596
  /* @__PURE__ */ I(ProviderMark, { id: e.provider }),
@@ -1600,11 +1600,11 @@ function Je() {
1600
1600
  }),
1601
1601
  /* @__PURE__ */ I(We, { v: e.visibility })
1602
1602
  ]
1603
- }, e.id)), d.length > 5 ? /* @__PURE__ */ L("li", {
1603
+ }, e.id)), f.length > 5 ? /* @__PURE__ */ L("li", {
1604
1604
  className: "cmg-confirm-more mono",
1605
1605
  children: [
1606
1606
  "…and ",
1607
- d.length - 5,
1607
+ f.length - 5,
1608
1608
  " more"
1609
1609
  ]
1610
1610
  }) : null]
@@ -1668,7 +1668,7 @@ function et(e, t, n) {
1668
1668
  }, e));
1669
1669
  }
1670
1670
  function tt({ data: e = {}, actions: t = {} } = {}) {
1671
- let { collectives: n = [], linkedOrgs: r = [], title: i = "collectives", deck: a, crumb: s, caption: c = "collectives", createLabel: l = "new collective", createBusy: u = !1, whoCanPublish: d = Ye, whoCanRead: p = Xe } = e, { onCreateCollective: ee, onOpenCollective: m, onSearchCollectives: g } = t, [_, y] = P(!1), [b, x] = P(""), [S, C] = P(""), [w, T] = P(d[0]?.value ?? ""), [E, D] = P(p[0]?.value ?? ""), [O, A] = P(""), [j, M] = P(""), N = te(), F = [
1671
+ let { collectives: n = [], linkedOrgs: r = [], title: i = "collectives", deck: o, crumb: s, caption: l = "collectives", createLabel: u = "new collective", createBusy: d = !1, whoCanPublish: f = Ye, whoCanRead: p = Xe } = e, { onCreateCollective: h, onOpenCollective: g, onSearchCollectives: _ } = t, [v, y] = P(!1), [b, x] = P(""), [S, C] = P(""), [w, T] = P(f[0]?.value ?? ""), [E, D] = P(p[0]?.value ?? ""), [O, A] = P(""), [j, M] = P(""), N = te(), F = [
1672
1672
  {
1673
1673
  key: "name",
1674
1674
  label: "name",
@@ -1677,7 +1677,7 @@ function tt({ data: e = {}, actions: t = {} } = {}) {
1677
1677
  children: [/* @__PURE__ */ I("button", {
1678
1678
  type: "button",
1679
1679
  className: "cmg-table-link",
1680
- onClick: () => m?.(t.id),
1680
+ onClick: () => g?.(t.id),
1681
1681
  children: t.name
1682
1682
  }), t.desc ? /* @__PURE__ */ I("span", {
1683
1683
  className: "cmg-cell-desc",
@@ -1729,7 +1729,7 @@ function tt({ data: e = {}, actions: t = {} } = {}) {
1729
1729
  children: [
1730
1730
  s ? /* @__PURE__ */ I("div", {
1731
1731
  className: "cmg-crumb",
1732
- children: /* @__PURE__ */ I(v, { items: [{ label: s }] })
1732
+ children: /* @__PURE__ */ I(ee, { items: [{ label: s }] })
1733
1733
  }) : null,
1734
1734
  /* @__PURE__ */ L("header", {
1735
1735
  className: "iu-page-head",
@@ -1740,8 +1740,8 @@ function tt({ data: e = {}, actions: t = {} } = {}) {
1740
1740
  children: i
1741
1741
  }), /* @__PURE__ */ L("button", {
1742
1742
  type: "button",
1743
- className: "btn btn-sm " + (_ ? "btn-secondary" : "btn-primary"),
1744
- "aria-expanded": _,
1743
+ className: "btn btn-sm " + (v ? "btn-secondary" : "btn-primary"),
1744
+ "aria-expanded": v,
1745
1745
  onClick: () => y((e) => !e),
1746
1746
  children: [
1747
1747
  /* @__PURE__ */ I(Y, {
@@ -1749,15 +1749,15 @@ function tt({ data: e = {}, actions: t = {} } = {}) {
1749
1749
  "aria-hidden": "true"
1750
1750
  }),
1751
1751
  " ",
1752
- _ ? "close" : l
1752
+ v ? "close" : u
1753
1753
  ]
1754
1754
  })]
1755
- }), a ? /* @__PURE__ */ I("p", {
1755
+ }), o ? /* @__PURE__ */ I("p", {
1756
1756
  className: "iu-page-sub",
1757
- children: a
1757
+ children: o
1758
1758
  }) : null]
1759
1759
  }),
1760
- _ && /* @__PURE__ */ L("section", {
1760
+ v && /* @__PURE__ */ L("section", {
1761
1761
  className: "cmg-form card",
1762
1762
  "aria-labelledby": `${N}-form`,
1763
1763
  children: [
@@ -1795,13 +1795,13 @@ function tt({ data: e = {}, actions: t = {} } = {}) {
1795
1795
  }),
1796
1796
  /* @__PURE__ */ I("div", {
1797
1797
  className: "cmg-field",
1798
- children: /* @__PURE__ */ I(h, {
1798
+ children: /* @__PURE__ */ I(m, {
1799
1799
  variant: "select",
1800
1800
  label: "who can publish",
1801
1801
  name: "who-can-publish",
1802
1802
  value: w,
1803
1803
  onChange: T,
1804
- options: d.map((e) => ({
1804
+ options: f.map((e) => ({
1805
1805
  ...e,
1806
1806
  rationale: e.help
1807
1807
  }))
@@ -1809,7 +1809,7 @@ function tt({ data: e = {}, actions: t = {} } = {}) {
1809
1809
  }),
1810
1810
  /* @__PURE__ */ I("div", {
1811
1811
  className: "cmg-field",
1812
- children: /* @__PURE__ */ I(h, {
1812
+ children: /* @__PURE__ */ I(m, {
1813
1813
  variant: "select",
1814
1814
  label: "who can read",
1815
1815
  name: "who-can-read",
@@ -1846,28 +1846,28 @@ function tt({ data: e = {}, actions: t = {} } = {}) {
1846
1846
  children: [/* @__PURE__ */ I("button", {
1847
1847
  type: "button",
1848
1848
  className: "btn btn-sm btn-primary",
1849
- disabled: !b.trim() || u,
1849
+ disabled: !b.trim() || d,
1850
1850
  "aria-describedby": N,
1851
- onClick: () => ee?.({
1851
+ onClick: () => h?.({
1852
1852
  name: b,
1853
1853
  purpose: S,
1854
1854
  mode: w,
1855
1855
  access: E,
1856
1856
  org: O
1857
1857
  }),
1858
- children: u ? "creating" : "create collective"
1858
+ children: d ? "creating" : "create collective"
1859
1859
  }), /* @__PURE__ */ I("span", {
1860
1860
  id: N,
1861
1861
  className: "cmg-form-hint mono",
1862
- children: d.find((e) => e.value === w)?.help
1862
+ children: f.find((e) => e.value === w)?.help
1863
1863
  })]
1864
1864
  })
1865
1865
  ]
1866
1866
  }),
1867
1867
  /* @__PURE__ */ L("div", {
1868
1868
  className: "cmg-section",
1869
- children: [/* @__PURE__ */ I(o, {
1870
- caption: `${c} ${n.length}`,
1869
+ children: [/* @__PURE__ */ I(c, {
1870
+ caption: `${l} ${n.length}`,
1871
1871
  columns: F,
1872
1872
  rows: n,
1873
1873
  rowKey: (e) => e.id
@@ -1876,7 +1876,7 @@ function tt({ data: e = {}, actions: t = {} } = {}) {
1876
1876
  children: "in a curated collective, each transcript you publish waits for the owner to approve it."
1877
1877
  }) : null]
1878
1878
  }),
1879
- g && /* @__PURE__ */ L("section", {
1879
+ _ && /* @__PURE__ */ L("section", {
1880
1880
  className: "cmg-section",
1881
1881
  "aria-labelledby": `${N}-find`,
1882
1882
  children: [/* @__PURE__ */ I("h3", {
@@ -1887,9 +1887,9 @@ function tt({ data: e = {}, actions: t = {} } = {}) {
1887
1887
  className: "cmg-find",
1888
1888
  role: "search",
1889
1889
  onSubmit: (e) => {
1890
- e.preventDefault(), g(j);
1890
+ e.preventDefault(), _(j);
1891
1891
  },
1892
- children: [/* @__PURE__ */ I(f, {
1892
+ children: [/* @__PURE__ */ I(a, {
1893
1893
  label: "collective or github org",
1894
1894
  type: "search",
1895
1895
  iconLeft: fe,
@@ -1927,7 +1927,7 @@ function rt(e = {}) {
1927
1927
  };
1928
1928
  }
1929
1929
  function it({ data: e = {}, actions: t = {} } = {}) {
1930
- let { owners: r = [], linkedRepos: i = [], hrefFor: a } = e, s = rt(e.collective), { onSettings: c, onContribute: l, onReview: u, onOpenTranscript: d, onOpenPullRequest: f, onLinkRepos: p, onShowMore: h } = t, [g, _] = P(!1), y = te(), b = s.transcriptCount ?? s.transcripts.length, x = [
1930
+ let { owners: r = [], linkedRepos: i = [], hrefFor: a } = e, o = rt(e.collective), { onSettings: s, onContribute: l, onReview: u, onOpenTranscript: d, onOpenPullRequest: f, onLinkRepos: m, onShowMore: h } = t, [g, v] = P(!1), y = te(), b = o.transcriptCount ?? o.transcripts.length, x = [
1931
1931
  {
1932
1932
  key: "title",
1933
1933
  label: "title",
@@ -1992,17 +1992,17 @@ function it({ data: e = {}, actions: t = {} } = {}) {
1992
1992
  {
1993
1993
  key: "read",
1994
1994
  title: "who can read",
1995
- text: s.whoCanRead
1995
+ text: o.whoCanRead
1996
1996
  },
1997
1997
  {
1998
1998
  key: "publish",
1999
1999
  title: "who can publish",
2000
- text: s.whoCanPublish
2000
+ text: o.whoCanPublish
2001
2001
  },
2002
2002
  {
2003
2003
  key: "role",
2004
2004
  title: "your role",
2005
- text: s.yourRole
2005
+ text: o.yourRole
2006
2006
  }
2007
2007
  ].filter((e) => e.text);
2008
2008
  return /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ L("div", {
@@ -2010,10 +2010,10 @@ function it({ data: e = {}, actions: t = {} } = {}) {
2010
2010
  children: [
2011
2011
  /* @__PURE__ */ I("div", {
2012
2012
  className: "cmg-crumb-content",
2013
- children: /* @__PURE__ */ I(v, { items: [{
2013
+ children: /* @__PURE__ */ I(ee, { items: [{
2014
2014
  label: "collectives",
2015
2015
  href: a?.("collectives")
2016
- }, { label: s.name }] })
2016
+ }, { label: o.name }] })
2017
2017
  }),
2018
2018
  /* @__PURE__ */ L("header", {
2019
2019
  className: "iu-page-head",
@@ -2022,18 +2022,18 @@ function it({ data: e = {}, actions: t = {} } = {}) {
2022
2022
  children: [/* @__PURE__ */ I("h2", {
2023
2023
  className: "iu-page-title iu-page-title-content",
2024
2024
  id: y,
2025
- children: s.name
2025
+ children: o.name
2026
2026
  }), /* @__PURE__ */ L("span", {
2027
2027
  className: "cmg-actions",
2028
- children: [s.role === "owner" && c && /* @__PURE__ */ L("button", {
2028
+ children: [o.role === "owner" && s && /* @__PURE__ */ L("button", {
2029
2029
  type: "button",
2030
2030
  className: "btn btn-secondary btn-sm",
2031
- onClick: () => c(),
2031
+ onClick: () => s(),
2032
2032
  children: [/* @__PURE__ */ I(X, {
2033
2033
  size: 14,
2034
2034
  "aria-hidden": "true"
2035
2035
  }), " settings"]
2036
- }), (l || u) && /* @__PURE__ */ I(m, {
2036
+ }), (l || u) && /* @__PURE__ */ I(_, {
2037
2037
  icon: J,
2038
2038
  ariaLabel: "more",
2039
2039
  size: "sm",
@@ -2049,9 +2049,9 @@ function it({ data: e = {}, actions: t = {} } = {}) {
2049
2049
  }] : []]
2050
2050
  })]
2051
2051
  })]
2052
- }), s.purpose ? /* @__PURE__ */ I("p", {
2052
+ }), o.purpose ? /* @__PURE__ */ I("p", {
2053
2053
  className: "iu-page-sub",
2054
- children: s.purpose
2054
+ children: o.purpose
2055
2055
  }) : null]
2056
2056
  }),
2057
2057
  S.length > 0 && /* @__PURE__ */ I("ul", {
@@ -2069,17 +2069,17 @@ function it({ data: e = {}, actions: t = {} } = {}) {
2069
2069
  }, e.key))
2070
2070
  }),
2071
2071
  /* @__PURE__ */ I(T, {
2072
- items: s.stats,
2073
- label: `${s.name} in numbers`
2072
+ items: o.stats,
2073
+ label: `${o.name} in numbers`
2074
2074
  }),
2075
2075
  /* @__PURE__ */ L("div", {
2076
2076
  className: "cmg-home",
2077
2077
  children: [/* @__PURE__ */ L("div", {
2078
2078
  className: "cmg-home-main",
2079
- children: [/* @__PURE__ */ I(o, {
2079
+ children: [/* @__PURE__ */ I(c, {
2080
2080
  caption: `transcripts ${b}`,
2081
2081
  columns: x,
2082
- rows: s.transcripts,
2082
+ rows: o.transcripts,
2083
2083
  rowKey: (e) => e.id
2084
2084
  }), /* @__PURE__ */ L("div", {
2085
2085
  className: "iu-page-foot",
@@ -2089,7 +2089,7 @@ function it({ data: e = {}, actions: t = {} } = {}) {
2089
2089
  "showing ",
2090
2090
  /* @__PURE__ */ I("span", {
2091
2091
  className: "tnum",
2092
- children: s.transcripts.length
2092
+ children: o.transcripts.length
2093
2093
  }),
2094
2094
  " of ",
2095
2095
  /* @__PURE__ */ I("span", {
@@ -2097,7 +2097,7 @@ function it({ data: e = {}, actions: t = {} } = {}) {
2097
2097
  children: b
2098
2098
  })
2099
2099
  ]
2100
- }), b > s.transcripts.length && h && /* @__PURE__ */ I("button", {
2100
+ }), b > o.transcripts.length && h && /* @__PURE__ */ I("button", {
2101
2101
  type: "button",
2102
2102
  className: "btn btn-secondary btn-sm",
2103
2103
  onClick: () => h(),
@@ -2112,36 +2112,36 @@ function it({ data: e = {}, actions: t = {} } = {}) {
2112
2112
  children: [/* @__PURE__ */ I("h3", {
2113
2113
  className: "cmg-rail-title",
2114
2114
  children: "github orgs"
2115
- }), s.org ? /* @__PURE__ */ L("p", {
2115
+ }), o.org ? /* @__PURE__ */ L("p", {
2116
2116
  className: "cmg-rail-line",
2117
2117
  children: [
2118
2118
  /* @__PURE__ */ I(H, { "aria-hidden": "true" }),
2119
2119
  " ",
2120
2120
  /* @__PURE__ */ I("span", {
2121
2121
  className: "mono",
2122
- children: s.org.login
2122
+ children: o.org.login
2123
2123
  }),
2124
- typeof s.org.total == "number" ? /* @__PURE__ */ L(F, { children: [
2124
+ typeof o.org.total == "number" ? /* @__PURE__ */ L(F, { children: [
2125
2125
  ", ",
2126
2126
  /* @__PURE__ */ I("span", {
2127
2127
  className: "tnum",
2128
- children: s.org.linked ?? 0
2128
+ children: o.org.linked ?? 0
2129
2129
  }),
2130
2130
  " of ",
2131
2131
  /* @__PURE__ */ I("span", {
2132
2132
  className: "tnum",
2133
- children: s.org.total
2133
+ children: o.org.total
2134
2134
  }),
2135
2135
  " repos linked"
2136
2136
  ] }) : null,
2137
- s.role === "owner" && p && /* @__PURE__ */ I("button", {
2137
+ o.role === "owner" && m && /* @__PURE__ */ I("button", {
2138
2138
  type: "button",
2139
2139
  className: "btn btn-ghost btn-sm",
2140
- onClick: () => _(!0),
2140
+ onClick: () => v(!0),
2141
2141
  children: "manage"
2142
2142
  })
2143
2143
  ]
2144
- }) : s.org === null ? /* @__PURE__ */ I("p", {
2144
+ }) : o.org === null ? /* @__PURE__ */ I("p", {
2145
2145
  className: "cmg-rail-line cmg-none",
2146
2146
  children: "nothing linked"
2147
2147
  }) : null]
@@ -2150,33 +2150,33 @@ function it({ data: e = {}, actions: t = {} } = {}) {
2150
2150
  children: [
2151
2151
  /* @__PURE__ */ L("h3", {
2152
2152
  className: "cmg-rail-title",
2153
- children: ["members", typeof s.memberCount == "number" ? /* @__PURE__ */ L(F, { children: [" ", /* @__PURE__ */ I("span", {
2153
+ children: ["members", typeof o.memberCount == "number" ? /* @__PURE__ */ L(F, { children: [" ", /* @__PURE__ */ I("span", {
2154
2154
  className: "tnum cmg-count",
2155
- children: s.memberCount
2155
+ children: o.memberCount
2156
2156
  })] }) : null]
2157
2157
  }),
2158
- s.memberBreakdown ? /* @__PURE__ */ I("p", {
2158
+ o.memberBreakdown ? /* @__PURE__ */ I("p", {
2159
2159
  className: "cmg-note",
2160
- children: s.memberBreakdown
2160
+ children: o.memberBreakdown
2161
2161
  }) : null,
2162
2162
  /* @__PURE__ */ I(nt, {
2163
- members: s.members,
2164
- count: s.memberCount ?? s.members.length
2163
+ members: o.members,
2164
+ count: o.memberCount ?? o.members.length
2165
2165
  })
2166
2166
  ]
2167
2167
  })]
2168
2168
  })]
2169
2169
  })
2170
2170
  ]
2171
- }), p && /* @__PURE__ */ I(ee, {
2171
+ }), m && /* @__PURE__ */ I(p, {
2172
2172
  open: g,
2173
- onClose: () => _(!1),
2173
+ onClose: () => v(!1),
2174
2174
  owners: r,
2175
2175
  initialSelected: i,
2176
- title: `link repositories from ${s.org?.login ?? "github"}`,
2177
- description: `pull requests in linked repos show the transcripts published to ${s.name}.`,
2176
+ title: `link repositories from ${o.org?.login ?? "github"}`,
2177
+ description: `pull requests in linked repos show the transcripts published to ${o.name}.`,
2178
2178
  onSave: (e) => {
2179
- p(e), _(!1);
2179
+ m(e), v(!1);
2180
2180
  }
2181
2181
  })] });
2182
2182
  }
@@ -2207,27 +2207,27 @@ var lt = {
2207
2207
  "danger zone": ge
2208
2208
  };
2209
2209
  function ut({ data: e = {}, actions: t = {} } = {}) {
2210
- let { owners: n = [], linkedRepos: r = [], showOnPullRequests: i = !1, whoCanPublish: a = Ye, whoCanRead: o = Xe, memberLeavesChoices: s = at, hrefFor: c } = e, l = rt(e.collective), u = (e) => (n) => t.onCommit ? t.onCommit(e, n) : Promise.resolve(), [p, m] = P(!1), [h, g] = P(""), b = !!(t.onTransferOwnership || t.onDelete), x = [
2210
+ let { owners: n = [], linkedRepos: r = [], showOnPullRequests: i = !1, whoCanPublish: o = Ye, whoCanRead: s = Xe, memberLeavesChoices: c = at, hrefFor: l } = e, u = rt(e.collective), d = (e) => (n) => t.onCommit ? t.onCommit(e, n) : Promise.resolve(), [f, m] = P(!1), [h, _] = P(""), y = !!(t.onTransferOwnership || t.onDelete), b = [
2211
2211
  "general",
2212
2212
  "access",
2213
2213
  "members",
2214
2214
  "github orgs",
2215
2215
  "pull requests",
2216
- ...b ? ["danger zone"] : []
2217
- ], S = (e) => `cmg-settings-${e.replace(/ /g, "-")}`;
2216
+ ...y ? ["danger zone"] : []
2217
+ ], x = (e) => `cmg-settings-${e.replace(/ /g, "-")}`;
2218
2218
  return /* @__PURE__ */ L(F, { children: [/* @__PURE__ */ L("div", {
2219
2219
  className: "iu-page cmg-settings",
2220
2220
  children: [
2221
2221
  /* @__PURE__ */ I("div", {
2222
2222
  className: "cmg-crumb-content",
2223
- children: /* @__PURE__ */ I(v, { items: [
2223
+ children: /* @__PURE__ */ I(ee, { items: [
2224
2224
  {
2225
2225
  label: "collectives",
2226
- href: c?.("collectives")
2226
+ href: l?.("collectives")
2227
2227
  },
2228
2228
  {
2229
- label: l.name,
2230
- href: c?.("collective", l.id)
2229
+ label: u.name,
2230
+ href: l?.("collective", u.id)
2231
2231
  },
2232
2232
  { label: "settings" }
2233
2233
  ] })
@@ -2238,72 +2238,72 @@ function ut({ data: e = {}, actions: t = {} } = {}) {
2238
2238
  className: "iu-page-title",
2239
2239
  children: [/* @__PURE__ */ I("span", {
2240
2240
  className: "iu-page-title-content",
2241
- children: l.name
2241
+ children: u.name
2242
2242
  }), ", settings"]
2243
2243
  })
2244
2244
  }),
2245
- /* @__PURE__ */ L(y, {
2246
- sections: x.map((e) => ({
2247
- id: S(e),
2245
+ /* @__PURE__ */ L(v, {
2246
+ sections: b.map((e) => ({
2247
+ id: x(e),
2248
2248
  label: e,
2249
- href: `#${S(e)}`,
2249
+ href: `#${x(e)}`,
2250
2250
  icon: lt[e]
2251
2251
  })),
2252
- currentId: S(x[0]),
2252
+ currentId: x(b[0]),
2253
2253
  spy: !0,
2254
2254
  children: [
2255
- /* @__PURE__ */ L(_, {
2255
+ /* @__PURE__ */ L(g, {
2256
2256
  label: "general",
2257
2257
  defaultOpen: !0,
2258
- id: S("general"),
2258
+ id: x("general"),
2259
2259
  children: [/* @__PURE__ */ I(C, {
2260
2260
  label: "name",
2261
2261
  control: "text",
2262
- value: l.name,
2263
- onCommit: u("name")
2262
+ value: u.name,
2263
+ onCommit: d("name")
2264
2264
  }), /* @__PURE__ */ I(C, {
2265
2265
  label: "purpose",
2266
2266
  control: "text",
2267
- value: l.purpose ?? "",
2268
- onCommit: u("purpose")
2267
+ value: u.purpose ?? "",
2268
+ onCommit: d("purpose")
2269
2269
  })]
2270
2270
  }),
2271
- /* @__PURE__ */ L(_, {
2271
+ /* @__PURE__ */ L(g, {
2272
2272
  label: "access",
2273
2273
  defaultOpen: !0,
2274
- id: S("access"),
2274
+ id: x("access"),
2275
2275
  children: [/* @__PURE__ */ I(C, {
2276
2276
  label: "who can publish",
2277
- help: ((e) => e.filter((e) => e.help).map((e) => `${e.label}: ${e.help}`).join(" "))(a),
2277
+ help: ((e) => e.filter((e) => e.help).map((e) => `${e.label}: ${e.help}`).join(" "))(o),
2278
2278
  control: "select",
2279
- value: st(l.mode, a),
2280
- options: ot(l.mode, a),
2281
- onCommit: u("mode")
2279
+ value: st(u.mode, o),
2280
+ options: ot(u.mode, o),
2281
+ onCommit: d("mode")
2282
2282
  }), /* @__PURE__ */ I(C, {
2283
2283
  label: "who can read",
2284
2284
  help: "members read and publish. contributors publish, and read only if who can read allows it.",
2285
2285
  control: "select",
2286
- value: st(l.access, o),
2287
- options: ot(l.access, o),
2288
- onCommit: u("access")
2286
+ value: st(u.access, s),
2287
+ options: ot(u.access, s),
2288
+ onCommit: d("access")
2289
2289
  })]
2290
2290
  }),
2291
- /* @__PURE__ */ L(_, {
2291
+ /* @__PURE__ */ L(g, {
2292
2292
  label: "members",
2293
2293
  defaultOpen: !0,
2294
- count: l.memberCount ?? null,
2294
+ count: u.memberCount ?? null,
2295
2295
  noun: ["member", "members"],
2296
- id: S("members"),
2296
+ id: x("members"),
2297
2297
  children: [
2298
2298
  t.onInvite && /* @__PURE__ */ L("form", {
2299
2299
  className: "srow cmg-invite",
2300
2300
  onSubmit: (e) => {
2301
- e.preventDefault(), t.onInvite(h), g("");
2301
+ e.preventDefault(), t.onInvite(h), _("");
2302
2302
  },
2303
- children: [/* @__PURE__ */ I(f, {
2303
+ children: [/* @__PURE__ */ I(a, {
2304
2304
  label: "invite by github username",
2305
2305
  value: h,
2306
- onChange: (e) => g(e.target.value),
2306
+ onChange: (e) => _(e.target.value),
2307
2307
  placeholder: "github username"
2308
2308
  }), /* @__PURE__ */ I("button", {
2309
2309
  type: "submit",
@@ -2315,10 +2315,10 @@ function ut({ data: e = {}, actions: t = {} } = {}) {
2315
2315
  /* @__PURE__ */ I("ul", {
2316
2316
  className: "cmg-member-list",
2317
2317
  "aria-label": "members",
2318
- children: l.members.map((e) => /* @__PURE__ */ L("li", {
2318
+ children: u.members.map((e) => /* @__PURE__ */ L("li", {
2319
2319
  className: "cmg-member",
2320
2320
  children: [
2321
- /* @__PURE__ */ I(d, {
2321
+ /* @__PURE__ */ I(S, {
2322
2322
  name: e.name ?? e.handle,
2323
2323
  size: "sm"
2324
2324
  }),
@@ -2368,36 +2368,36 @@ function ut({ data: e = {}, actions: t = {} } = {}) {
2368
2368
  label: "when a member leaves",
2369
2369
  help: "what happens to the transcripts they published here.",
2370
2370
  control: "select",
2371
- value: st(l.memberLeaves, s),
2372
- options: ot(l.memberLeaves, s),
2373
- onCommit: u("memberLeaves")
2371
+ value: st(u.memberLeaves, c),
2372
+ options: ot(u.memberLeaves, c),
2373
+ onCommit: d("memberLeaves")
2374
2374
  })
2375
2375
  ]
2376
2376
  }),
2377
- /* @__PURE__ */ I(_, {
2377
+ /* @__PURE__ */ I(g, {
2378
2378
  label: "github orgs",
2379
2379
  defaultOpen: !0,
2380
- count: l.org === void 0 ? null : +!!l.org,
2380
+ count: u.org === void 0 ? null : +!!u.org,
2381
2381
  noun: ["org", "orgs"],
2382
- id: S("github orgs"),
2382
+ id: x("github orgs"),
2383
2383
  children: /* @__PURE__ */ L("div", {
2384
2384
  className: "srow",
2385
2385
  children: [/* @__PURE__ */ L("span", {
2386
2386
  className: "srow-text-col",
2387
2387
  children: [/* @__PURE__ */ I("span", {
2388
2388
  className: "srow-label",
2389
- children: l.org ? l.org.login : l.org === null ? "no org linked" : "github org"
2389
+ children: u.org ? u.org.login : u.org === null ? "no org linked" : "github org"
2390
2390
  }), /* @__PURE__ */ L("span", {
2391
2391
  className: "srow-help",
2392
- children: [typeof l.org?.total == "number" ? /* @__PURE__ */ L(F, { children: [
2392
+ children: [typeof u.org?.total == "number" ? /* @__PURE__ */ L(F, { children: [
2393
2393
  /* @__PURE__ */ I("span", {
2394
2394
  className: "tnum",
2395
- children: l.org.linked ?? 0
2395
+ children: u.org.linked ?? 0
2396
2396
  }),
2397
2397
  " of ",
2398
2398
  /* @__PURE__ */ I("span", {
2399
2399
  className: "tnum",
2400
- children: l.org.total
2400
+ children: u.org.total
2401
2401
  }),
2402
2402
  " repos linked. "
2403
2403
  ] }) : null, "a collective links one github org today."]
@@ -2410,24 +2410,24 @@ function ut({ data: e = {}, actions: t = {} } = {}) {
2410
2410
  })]
2411
2411
  })
2412
2412
  }),
2413
- /* @__PURE__ */ I(_, {
2413
+ /* @__PURE__ */ I(g, {
2414
2414
  label: "pull requests",
2415
2415
  defaultOpen: !0,
2416
2416
  count: 1,
2417
- id: S("pull requests"),
2417
+ id: x("pull requests"),
2418
2418
  children: /* @__PURE__ */ I(C, {
2419
2419
  label: "show transcripts on pull requests",
2420
2420
  help: "adds a peasant / prompts comment and check on pull requests in this collective's repos, listing which commits have transcripts. it never blocks merging.",
2421
2421
  control: "switch",
2422
2422
  value: i,
2423
- onCommit: u("showOnPullRequests")
2423
+ onCommit: d("showOnPullRequests")
2424
2424
  })
2425
2425
  }),
2426
- b && /* @__PURE__ */ L(_, {
2426
+ y && /* @__PURE__ */ L(g, {
2427
2427
  label: "danger zone",
2428
2428
  defaultOpen: !0,
2429
2429
  count: null,
2430
- id: S("danger zone"),
2430
+ id: x("danger zone"),
2431
2431
  children: [t.onTransferOwnership && /* @__PURE__ */ L("div", {
2432
2432
  className: "srow",
2433
2433
  children: [/* @__PURE__ */ I("span", {
@@ -2445,13 +2445,13 @@ function ut({ data: e = {}, actions: t = {} } = {}) {
2445
2445
  className: "srow-help",
2446
2446
  children: [
2447
2447
  "delete ",
2448
- l.name,
2448
+ u.name,
2449
2449
  " for ",
2450
- typeof l.memberCount == "number" ? /* @__PURE__ */ L(F, { children: [
2450
+ typeof u.memberCount == "number" ? /* @__PURE__ */ L(F, { children: [
2451
2451
  "all ",
2452
2452
  /* @__PURE__ */ I("span", {
2453
2453
  className: "tnum",
2454
- children: l.memberCount
2454
+ children: u.memberCount
2455
2455
  }),
2456
2456
  " members"
2457
2457
  ] }) : "all its members",
@@ -2468,12 +2468,12 @@ function ut({ data: e = {}, actions: t = {} } = {}) {
2468
2468
  ]
2469
2469
  })
2470
2470
  ]
2471
- }), t.onLinkRepos && /* @__PURE__ */ I(ee, {
2472
- open: p,
2471
+ }), t.onLinkRepos && /* @__PURE__ */ I(p, {
2472
+ open: f,
2473
2473
  onClose: () => m(!1),
2474
2474
  owners: n,
2475
2475
  initialSelected: r,
2476
- title: `link repositories from ${l.org?.login ?? "github"}`,
2476
+ title: `link repositories from ${u.org?.login ?? "github"}`,
2477
2477
  onSave: (e) => {
2478
2478
  t.onLinkRepos(e), m(!1);
2479
2479
  }
@@ -2525,7 +2525,7 @@ function ht(e) {
2525
2525
  }).format(t).toLowerCase();
2526
2526
  }
2527
2527
  function gt({ data: e = pt, actions: t = {}, demoRoleSwitcher: n = !1 } = {}) {
2528
- let { collective: r = dt, providerShare: i = [], pendingReview: o = [], members: c = [], redactions: l = [], browseRows: d = [], roleOptions: f = [], initialRole: p = "", initialShowRedaction: ee = !1, initialBrowseGated: m = !1, stats: h = ft } = e || pt, { onRoleChange: g, onJoin: _, onLeave: v, onSettings: y, onContribute: x, onToggleBrowse: C } = t || {}, [T, E] = P(p || r.role || ""), [D, O] = P(!!ee), [k, A] = P(!!m), j = T || r.role || "guest", te = j === "owner", N = j === "guest", F = n && f.length > 0, ne = M(() => F ? f : [], [F, f]), R = (e) => {
2528
+ let { collective: r = dt, providerShare: i = [], pendingReview: a = [], members: s = [], redactions: c = [], browseRows: l = [], roleOptions: d = [], initialRole: p = "", initialShowRedaction: ee = !1, initialBrowseGated: m = !1, stats: h = ft } = e || pt, { onRoleChange: g, onJoin: _, onLeave: v, onSettings: b, onContribute: S, onToggleBrowse: C } = t || {}, [T, E] = P(p || r.role || ""), [D, O] = P(!!ee), [k, A] = P(!!m), j = T || r.role || "guest", te = j === "owner", N = j === "guest", F = n && d.length > 0, ne = M(() => F ? d : [], [F, d]), R = (e) => {
2529
2529
  E(e), g?.(e);
2530
2530
  };
2531
2531
  return /* @__PURE__ */ I("div", {
@@ -2611,10 +2611,10 @@ function gt({ data: e = pt, actions: t = {}, demoRoleSwitcher: n = !1 } = {}) {
2611
2611
  "aria-hidden": "true"
2612
2612
  }), " join as contributor"]
2613
2613
  }) : null,
2614
- (j === "member" || j === "contributor") && x ? /* @__PURE__ */ L("button", {
2614
+ (j === "member" || j === "contributor") && S ? /* @__PURE__ */ L("button", {
2615
2615
  type: "button",
2616
2616
  className: "btn btn-sm btn-primary",
2617
- onClick: () => x?.(),
2617
+ onClick: () => S?.(),
2618
2618
  children: [/* @__PURE__ */ I(me, {
2619
2619
  size: 14,
2620
2620
  "aria-hidden": "true"
@@ -2629,10 +2629,10 @@ function gt({ data: e = pt, actions: t = {}, demoRoleSwitcher: n = !1 } = {}) {
2629
2629
  "aria-hidden": "true"
2630
2630
  }), " leave"]
2631
2631
  }) : null,
2632
- te && y ? /* @__PURE__ */ L("button", {
2632
+ te && b ? /* @__PURE__ */ L("button", {
2633
2633
  type: "button",
2634
2634
  className: "btn btn-sm btn-secondary",
2635
- onClick: () => y?.(),
2635
+ onClick: () => b?.(),
2636
2636
  children: [/* @__PURE__ */ I(X, {
2637
2637
  size: 14,
2638
2638
  "aria-hidden": "true"
@@ -2693,7 +2693,7 @@ function gt({ data: e = pt, actions: t = {}, demoRoleSwitcher: n = !1 } = {}) {
2693
2693
  id: "cmg-share-h",
2694
2694
  className: "cmg-sub",
2695
2695
  children: "provider share"
2696
- }), /* @__PURE__ */ I(s, {
2696
+ }), /* @__PURE__ */ I(o, {
2697
2697
  label: "provider share",
2698
2698
  total: 100,
2699
2699
  data: i.map((e) => ({
@@ -2702,15 +2702,15 @@ function gt({ data: e = pt, actions: t = {}, demoRoleSwitcher: n = !1 } = {}) {
2702
2702
  }))
2703
2703
  })]
2704
2704
  }) : null,
2705
- o.length > 0 ? /* @__PURE__ */ I("div", {
2705
+ a.length > 0 ? /* @__PURE__ */ I("div", {
2706
2706
  style: {
2707
2707
  overflow: "auto",
2708
2708
  maxWidth: "100%"
2709
2709
  },
2710
- children: /* @__PURE__ */ I(b, {
2710
+ children: /* @__PURE__ */ I(y, {
2711
2711
  title: "pending review",
2712
2712
  emptyLabel: "no shares awaiting review.",
2713
- items: o.map((e) => ({
2713
+ items: a.map((e) => ({
2714
2714
  id: e.id,
2715
2715
  kind: "share",
2716
2716
  who: e.title || "untitled transcript",
@@ -2718,7 +2718,7 @@ function gt({ data: e = pt, actions: t = {}, demoRoleSwitcher: n = !1 } = {}) {
2718
2718
  }))
2719
2719
  })
2720
2720
  }) : null,
2721
- l.length > 0 ? /* @__PURE__ */ L("section", {
2721
+ c.length > 0 ? /* @__PURE__ */ L("section", {
2722
2722
  className: "card cmg-redact-sec",
2723
2723
  "aria-labelledby": "cmg-redact-h",
2724
2724
  children: [/* @__PURE__ */ L("div", {
@@ -2742,14 +2742,14 @@ function gt({ data: e = pt, actions: t = {}, demoRoleSwitcher: n = !1 } = {}) {
2742
2742
  })]
2743
2743
  }), D ? /* @__PURE__ */ I("div", {
2744
2744
  className: "cmg-redact-list",
2745
- children: l.map((e) => /* @__PURE__ */ L("article", {
2745
+ children: c.map((e) => /* @__PURE__ */ L("article", {
2746
2746
  className: "cmg-redact",
2747
2747
  children: [
2748
2748
  /* @__PURE__ */ L("div", {
2749
2749
  className: "cmg-redact-head",
2750
2750
  children: [/* @__PURE__ */ I("span", {
2751
2751
  className: "cmg-redact-badges",
2752
- children: /* @__PURE__ */ I(a, { children: String(e.catLabel || e.cat || "item").toLowerCase() })
2752
+ children: /* @__PURE__ */ I(f, { children: String(e.catLabel || e.cat || "item").toLowerCase() })
2753
2753
  }), /* @__PURE__ */ I("span", {
2754
2754
  className: "cmg-redact-file mono",
2755
2755
  children: e.file || "unknown"
@@ -2816,7 +2816,7 @@ function gt({ data: e = pt, actions: t = {}, demoRoleSwitcher: n = !1 } = {}) {
2816
2816
  }), " join as contributor"]
2817
2817
  }) : null
2818
2818
  ]
2819
- }) : d.length > 0 ? /* @__PURE__ */ L("table", {
2819
+ }) : l.length > 0 ? /* @__PURE__ */ L("table", {
2820
2820
  className: "dtable cmg-dtable",
2821
2821
  children: [/* @__PURE__ */ I("thead", { children: /* @__PURE__ */ L("tr", { children: [
2822
2822
  /* @__PURE__ */ I("th", {
@@ -2845,7 +2845,7 @@ function gt({ data: e = pt, actions: t = {}, demoRoleSwitcher: n = !1 } = {}) {
2845
2845
  scope: "col",
2846
2846
  children: "date"
2847
2847
  })
2848
- ] }) }), /* @__PURE__ */ I("tbody", { children: d.map((e) => /* @__PURE__ */ L("tr", { children: [
2848
+ ] }) }), /* @__PURE__ */ I("tbody", { children: l.map((e) => /* @__PURE__ */ L("tr", { children: [
2849
2849
  /* @__PURE__ */ I("td", { children: e.title || "untitled transcript" }),
2850
2850
  /* @__PURE__ */ I("td", {
2851
2851
  className: "mono",
@@ -2888,7 +2888,7 @@ function gt({ data: e = pt, actions: t = {}, demoRoleSwitcher: n = !1 } = {}) {
2888
2888
  })]
2889
2889
  })
2890
2890
  ]
2891
- }), c.length > 0 ? /* @__PURE__ */ I("aside", {
2891
+ }), s.length > 0 ? /* @__PURE__ */ I("aside", {
2892
2892
  className: "sidebar cmg-d-rail",
2893
2893
  "aria-label": "collective sidebar",
2894
2894
  children: /* @__PURE__ */ I("div", {
@@ -2896,10 +2896,10 @@ function gt({ data: e = pt, actions: t = {}, demoRoleSwitcher: n = !1 } = {}) {
2896
2896
  overflow: "auto",
2897
2897
  maxWidth: "100%"
2898
2898
  },
2899
- children: /* @__PURE__ */ I(S, {
2899
+ children: /* @__PURE__ */ I(x, {
2900
2900
  title: "members",
2901
2901
  roles: ["member", "contributor"],
2902
- members: c.map((e) => ({
2902
+ members: s.map((e) => ({
2903
2903
  handle: e.handle || e.githubUsername || "@unknown",
2904
2904
  name: e.name || e.displayName || e.githubUsername || "unknown",
2905
2905
  role: e.role || "member",