@peasant-labs/fairtrade 0.0.6 → 0.0.7

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (36) hide show
  1. package/LICENSE +202 -21
  2. package/dist/lib/InUseShell-VRWaysXY.js +2488 -0
  3. package/dist/lib/commons.js +801 -836
  4. package/dist/lib/components.css +1 -1
  5. package/dist/lib/graph.css +1 -1
  6. package/dist/lib/graph.js +684 -285
  7. package/dist/lib/types/CommitGraph.d.ts +12 -3
  8. package/dist/lib/types/MapCanvas.d.ts +45 -2
  9. package/dist/lib/types/ProviderIcon.d.ts +23 -20
  10. package/dist/lib/types/commons/providers.d.ts +7 -8
  11. package/dist/lib/types/commons/types.d.ts +3 -6
  12. package/dist/lib/types/graph/Changes.d.ts +8 -4
  13. package/dist/lib/types/graph/CodeMap.d.ts +17 -1
  14. package/dist/lib/types/graph/CodeMapComposition.d.ts +25 -1
  15. package/dist/lib/types/graph/CodeMapNavigator.d.ts +35 -0
  16. package/dist/lib/types/graph/changeGraph.d.ts +12 -0
  17. package/dist/lib/types/graph/codeMapState.d.ts +136 -0
  18. package/dist/lib/types/graph/index.d.ts +15 -1
  19. package/dist/lib/types/graph/timelineNavigation.d.ts +33 -0
  20. package/dist/lib/types/graph/types.d.ts +67 -440
  21. package/dist/lib/types/index.d.ts +2 -0
  22. package/dist/lib/types/provider-policy.d.ts +27 -0
  23. package/dist/lib/types/transcript/TranscriptViewer.d.ts +1 -1
  24. package/dist/lib/types/transcript/adapter.d.ts +5 -40
  25. package/dist/lib/types/transcript/graph/GraphLegend.d.ts +3 -3
  26. package/dist/lib/types/transcript/graph/GraphTurnNode.d.ts +2 -2
  27. package/dist/lib/types/transcript/index.d.ts +3 -1
  28. package/dist/lib/types/transcript/initial-position.d.ts +80 -0
  29. package/dist/lib/types/transcript/state-capabilities.d.ts +22 -1
  30. package/dist/lib/types/transcript/useTranscriptInitialPosition.d.ts +26 -0
  31. package/dist/lib/types/transcript/view-model.d.ts +16 -16
  32. package/dist/lib/types/transcript/wire-types.d.ts +46 -308
  33. package/dist/lib/{ui-TG4XLhWL.js → ui-CKqVB4x2.js} +3395 -3401
  34. package/dist/lib/ui.js +4 -4
  35. package/package.json +51 -26
  36. package/dist/lib/InUseShell-CjtqHauP.js +0 -1532
@@ -1,26 +1,27 @@
1
- import { Cn as e, Ct as t, Dt as n, G as r, Gn as i, J as a, Ot as o, Rn as s, St as c, Tt as l, Un as u, Vn as d, Wn as f, Y as p, Z as m, kt as h, q as g, wt as _, yn as v } from "./ui-TG4XLhWL.js";
2
- import { useEffect as y, useId as b, useMemo as x, useRef as S, useState as C } from "react";
3
- import { Fragment as w, jsx as T, jsxs as E } from "react/jsx-runtime";
4
- import { AlertTriangle as D, ArrowRight as O, Check as k, ChevronDown as A, ChevronRight as j, CircleDot as M, Compass as N, Copy as P, ExternalLink as F, Eye as I, EyeOff as L, FileText as R, FolderGit2 as z, GitBranch as B, Hash as V, LayoutGrid as ee, List as te, Lock as H, LogOut as U, Plus as W, SearchX as ne, Settings as G, ShieldAlert as K, ShieldCheck as q, Terminal as J, Upload as re, User as ie, UserPlus as Y, Users as X, X as Z } from "lucide-react";
1
+ import { At as e, Dt as t, Et as n, Gn as r, Q as i, Rn as a, Tn as o, Tt as s, Un as c, Vn as l, Wn as u, et as d, it as f, jt as p, kt as m, nt as h, tt as g, xn as _ } from "./ui-CKqVB4x2.js";
2
+ import { N as v, j as y, k as b } from "./InUseShell-VRWaysXY.js";
3
+ import { useEffect as x, useId as S, useMemo as C, useRef as w, useState as T } from "react";
4
+ import { Fragment as E, jsx as D, jsxs as O } from "react/jsx-runtime";
5
+ import { AlertTriangle as k, ArrowRight as A, Check as j, ChevronDown as M, ChevronRight as N, CircleDot as P, Compass as F, Copy as I, ExternalLink as L, Eye as R, EyeOff as z, FileText as B, FolderGit2 as V, GitBranch as H, Hash as U, LayoutGrid as ee, List as te, Lock as W, LogOut as G, Plus as ne, SearchX as re, Settings as K, ShieldAlert as q, ShieldCheck as ie, Upload as J, User as ae, UserPlus as Y, Users as X, X as Z } from "lucide-react";
5
6
  //#region src/ui/commons/types.js
6
- var ae = Object.freeze([
7
+ var oe = Object.freeze([
7
8
  "public",
8
9
  "private",
9
10
  "shared"
10
- ]), oe = Object.freeze([
11
+ ]), se = Object.freeze([
11
12
  "open",
12
13
  "verified_only",
13
14
  "curated"
14
- ]), se = Object.freeze([
15
+ ]), Q = Object.freeze([
15
16
  "members_only",
16
17
  "contributors",
17
18
  "public"
18
- ]), Q = Object.freeze(["user_choice", "mandatory"]), $ = Object.freeze([
19
+ ]), $ = Object.freeze(["user_choice", "mandatory"]), ce = Object.freeze([
19
20
  "owner",
20
21
  "member",
21
22
  "contributor",
22
23
  "pending"
23
- ]), ce = Object.freeze({
24
+ ]), le = Object.freeze({
24
25
  transcripts: {
25
26
  transcripts: [
26
27
  {
@@ -177,21 +178,21 @@ var ae = Object.freeze([
177
178
  usageCount: 24
178
179
  }
179
180
  ]
180
- }), le = (e) => e.toLocaleString("en-US"), ue = (e) => {
181
+ }), ue = (e) => e.toLocaleString("en-US"), de = (e) => {
181
182
  let t = Math.max(0, Math.round(e / 6e4));
182
183
  return t >= 60 ? `${Math.floor(t / 60)}h ${String(t % 60).padStart(2, "0")}m` : `${t}min`;
183
- }, de = (e) => {
184
+ }, fe = (e) => {
184
185
  let t = new Date(e);
185
186
  return Number.isNaN(t.getTime()) ? "" : t.toLocaleDateString("en-US", {
186
187
  month: "short",
187
188
  day: "numeric",
188
189
  year: "numeric"
189
190
  });
190
- }, fe = (e = "") => e.split(/[\s-]+/).filter(Boolean).slice(0, 2).map((e) => e[0]).join("").toUpperCase() || "?", pe = (e) => e.trim().toLowerCase();
191
- function me(e) {
191
+ }, pe = (e = "") => e.split(/[\s-]+/).filter(Boolean).slice(0, 2).map((e) => e[0]).join("").toUpperCase() || "?", me = (e) => e.trim().toLowerCase();
192
+ function he(e) {
192
193
  return e ? e.length ? e[0].toUpperCase() + e.slice(1) : e : "";
193
194
  }
194
- function he(e, t) {
195
+ function ge(e, t) {
195
196
  let n = /* @__PURE__ */ new Map();
196
197
  for (let r of e) {
197
198
  let e = t(r);
@@ -199,120 +200,120 @@ function he(e, t) {
199
200
  }
200
201
  return n;
201
202
  }
202
- function ge(e, t, n) {
203
+ function _e(e, t, n) {
203
204
  t && (e.preventDefault(), t(n));
204
205
  }
205
- function _e(e) {
206
- return e ?? ce;
206
+ function ve(e) {
207
+ return e ?? le;
207
208
  }
208
- function ve({ transcript: e, href: t, onOpen: n }) {
209
- let i = /* @__PURE__ */ E(w, { children: [
210
- /* @__PURE__ */ E("div", {
209
+ function ye({ transcript: e, href: t, onOpen: n }) {
210
+ let r = /* @__PURE__ */ O(E, { children: [
211
+ /* @__PURE__ */ O("div", {
211
212
  className: "card-head",
212
- children: [/* @__PURE__ */ E("span", {
213
+ children: [/* @__PURE__ */ O("span", {
213
214
  className: "metaitem cex-model",
214
- children: [/* @__PURE__ */ T(c, {
215
+ children: [/* @__PURE__ */ D(y, {
215
216
  harness: e.modelProvider,
216
217
  accent: !0
217
- }), /* @__PURE__ */ T("span", {
218
+ }), /* @__PURE__ */ D("span", {
218
219
  className: "mono",
219
220
  children: e.modelName || e.modelProvider
220
221
  })]
221
- }), /* @__PURE__ */ T(r, { visibility: e.visibility })]
222
+ }), /* @__PURE__ */ D(i, { visibility: e.visibility })]
222
223
  }),
223
- /* @__PURE__ */ T("h3", {
224
+ /* @__PURE__ */ D("h3", {
224
225
  className: "cex-title",
225
- children: me(e.title || "untitled transcript")
226
+ children: he(e.title || "untitled transcript")
226
227
  }),
227
- e.projectName && /* @__PURE__ */ T("p", {
228
+ e.projectName && /* @__PURE__ */ D("p", {
228
229
  className: "cex-proj",
229
230
  children: e.projectName
230
231
  }),
231
- /* @__PURE__ */ T("p", {
232
+ /* @__PURE__ */ D("p", {
232
233
  className: "cex-desc",
233
234
  children: e.tags.map((e) => `#${e.name}`).join(" ")
234
235
  }),
235
- /* @__PURE__ */ E("div", {
236
+ /* @__PURE__ */ O("div", {
236
237
  className: "cex-foot row",
237
- children: [/* @__PURE__ */ E("span", {
238
+ children: [/* @__PURE__ */ O("span", {
238
239
  className: "cex-author",
239
- children: [/* @__PURE__ */ T("span", {
240
+ children: [/* @__PURE__ */ D("span", {
240
241
  className: "avatar",
241
242
  "aria-hidden": "true",
242
- children: fe(e.owner.displayName || e.owner.githubUsername)
243
- }), /* @__PURE__ */ E("span", {
243
+ children: pe(e.owner.displayName || e.owner.githubUsername)
244
+ }), /* @__PURE__ */ O("span", {
244
245
  className: "cex-handle mono",
245
246
  children: ["@", e.owner.githubUsername]
246
247
  })]
247
- }), /* @__PURE__ */ T("span", {
248
+ }), /* @__PURE__ */ D("span", {
248
249
  className: "cex-date tnum",
249
- children: de(e.sessionStart || e.sessionEnd || "")
250
+ children: fe(e.sessionStart || e.sessionEnd || "")
250
251
  })]
251
252
  })
252
253
  ] });
253
- return t ? /* @__PURE__ */ T("a", {
254
+ return t ? /* @__PURE__ */ D("a", {
254
255
  href: t,
255
256
  className: "card cex-tcard",
256
- onClick: (t) => ge(t, n, e),
257
- children: i
258
- }) : /* @__PURE__ */ T("button", {
257
+ onClick: (t) => _e(t, n, e),
258
+ children: r
259
+ }) : /* @__PURE__ */ D("button", {
259
260
  type: "button",
260
261
  className: "card cex-tcard",
261
262
  onClick: () => n?.(e),
262
- children: i
263
+ children: r
263
264
  });
264
265
  }
265
- function ye({ transcript: e, href: t, onOpen: n }) {
266
- let i = /* @__PURE__ */ E(w, { children: [
267
- /* @__PURE__ */ E("span", {
266
+ function be({ transcript: e, href: t, onOpen: n }) {
267
+ let r = /* @__PURE__ */ O(E, { children: [
268
+ /* @__PURE__ */ O("span", {
268
269
  className: "cex-trow-model",
269
- children: [/* @__PURE__ */ T(c, { harness: e.modelProvider }), /* @__PURE__ */ T("b", { children: e.modelName || e.modelProvider })]
270
+ children: [/* @__PURE__ */ D(y, { harness: e.modelProvider }), /* @__PURE__ */ D("b", { children: e.modelName || e.modelProvider })]
270
271
  }),
271
- /* @__PURE__ */ T("span", {
272
+ /* @__PURE__ */ D("span", {
272
273
  className: "cex-trow-title",
273
- children: me(e.title || "untitled transcript")
274
+ children: he(e.title || "untitled transcript")
274
275
  }),
275
- /* @__PURE__ */ E("span", {
276
+ /* @__PURE__ */ O("span", {
276
277
  className: "cex-trow-stats mono tnum",
277
278
  children: [
278
- e.durationMs != null && /* @__PURE__ */ T("span", { children: ue(e.durationMs) }),
279
- e.turnCount != null && /* @__PURE__ */ E("span", { children: [e.turnCount, " turns"] }),
280
- e.toolCallCount != null && /* @__PURE__ */ E("span", { children: [e.toolCallCount, " tools"] })
279
+ e.durationMs != null && /* @__PURE__ */ D("span", { children: de(e.durationMs) }),
280
+ e.turnCount != null && /* @__PURE__ */ O("span", { children: [e.turnCount, " turns"] }),
281
+ e.toolCallCount != null && /* @__PURE__ */ O("span", { children: [e.toolCallCount, " tools"] })
281
282
  ]
282
283
  }),
283
- /* @__PURE__ */ T("span", {
284
+ /* @__PURE__ */ D("span", {
284
285
  className: "cex-trow-date mono tnum",
285
- children: de(e.sessionStart || e.sessionEnd || "")
286
+ children: fe(e.sessionStart || e.sessionEnd || "")
286
287
  }),
287
- /* @__PURE__ */ T(r, { visibility: e.visibility })
288
+ /* @__PURE__ */ D(i, { visibility: e.visibility })
288
289
  ] });
289
- return t ? /* @__PURE__ */ T("a", {
290
+ return t ? /* @__PURE__ */ D("a", {
290
291
  href: t,
291
292
  className: "row cex-trow",
292
- onClick: (t) => ge(t, n, e),
293
- children: i
294
- }) : /* @__PURE__ */ T("button", {
293
+ onClick: (t) => _e(t, n, e),
294
+ children: r
295
+ }) : /* @__PURE__ */ D("button", {
295
296
  type: "button",
296
297
  className: "row cex-trow",
297
298
  onClick: () => n?.(e),
298
- children: i
299
+ children: r
299
300
  });
300
301
  }
301
- function be({ collective: e, href: t, onOpen: n }) {
302
- let r = /* @__PURE__ */ E(w, { children: [
303
- /* @__PURE__ */ E("div", {
302
+ function xe({ collective: e, href: t, onOpen: n }) {
303
+ let r = /* @__PURE__ */ O(E, { children: [
304
+ /* @__PURE__ */ O("div", {
304
305
  className: "cex-cname",
305
- children: [/* @__PURE__ */ T("span", {
306
+ children: [/* @__PURE__ */ D("span", {
306
307
  className: "avatar",
307
308
  "aria-hidden": "true",
308
309
  children: "C"
309
- }), /* @__PURE__ */ T("b", { children: e.name })]
310
+ }), /* @__PURE__ */ D("b", { children: e.name })]
310
311
  }),
311
- e.description && /* @__PURE__ */ T("p", {
312
+ e.description && /* @__PURE__ */ D("p", {
312
313
  className: "cex-desc",
313
314
  children: e.description
314
315
  }),
315
- /* @__PURE__ */ E("div", {
316
+ /* @__PURE__ */ O("div", {
316
317
  className: "cex-cfoot mono tnum",
317
318
  children: [
318
319
  e.memberCount,
@@ -322,91 +323,91 @@ function be({ collective: e, href: t, onOpen: n }) {
322
323
  ]
323
324
  })
324
325
  ] });
325
- return t ? /* @__PURE__ */ T("a", {
326
+ return t ? /* @__PURE__ */ D("a", {
326
327
  href: t,
327
328
  className: "card cex-ccard",
328
- onClick: (t) => ge(t, n, e),
329
+ onClick: (t) => _e(t, n, e),
329
330
  children: r
330
- }) : /* @__PURE__ */ T("button", {
331
+ }) : /* @__PURE__ */ D("button", {
331
332
  type: "button",
332
333
  className: "card cex-ccard",
333
334
  onClick: () => n?.(e),
334
335
  children: r
335
336
  });
336
337
  }
337
- function xe({ data: t, className: n = "", onFiltersChange: i, onOpenTranscript: a, onOpenProfile: o, onOpenCollective: s, transcriptHref: l, profileHref: u, collectiveHref: d }) {
338
- let f = _e(t), h = f.transcripts.transcripts, [g, _] = C(""), [v, b] = C(""), [w, D] = C("recent"), [O, k] = C("all"), [A, j] = C(() => /* @__PURE__ */ new Set()), [M, P] = C("grid"), [F, I] = C(1), [L, z] = C(null), [B, V] = C("browse"), H = S(!0);
339
- y(() => {
338
+ function Se({ data: e, className: t = "", onFiltersChange: n, onOpenTranscript: r, onOpenProfile: a, onOpenCollective: s, transcriptHref: c, profileHref: l, collectiveHref: u }) {
339
+ let d = ve(e), p = d.transcripts.transcripts, [m, g] = T(""), [_, v] = T(""), [b, S] = T("recent"), [E, k] = T("all"), [A, j] = T(() => /* @__PURE__ */ new Set()), [M, N] = T("grid"), [P, I] = T(1), [L, R] = T(null), [z, V] = T("browse"), H = w(!0);
340
+ x(() => {
340
341
  if (H.current) {
341
- H.current = !1, b(g);
342
+ H.current = !1, v(m);
342
343
  return;
343
344
  }
344
- let e = setTimeout(() => b(g), 250);
345
+ let e = setTimeout(() => v(m), 250);
345
346
  return () => clearTimeout(e);
346
- }, [H, g]), y(() => {
347
+ }, [H, m]), x(() => {
347
348
  I(1);
348
349
  }, [
349
- v,
350
- w,
351
- O,
350
+ _,
351
+ b,
352
+ E,
352
353
  A
353
- ]), y(() => {
354
- i?.({
355
- query: v,
356
- provider: O,
354
+ ]), x(() => {
355
+ n?.({
356
+ query: _,
357
+ provider: E,
357
358
  topics: [...A],
358
- order: w,
359
- page: F
359
+ order: b,
360
+ page: P
360
361
  });
361
362
  }, [
362
- w,
363
- i,
364
- F,
365
- O,
366
- v,
363
+ b,
364
+ n,
365
+ P,
366
+ E,
367
+ _,
367
368
  A
368
- ]), y(() => {
369
- f.transcripts.page && f.transcripts.page !== F && I(f.transcripts.page);
370
- }, [F, f.transcripts.page]);
371
- let U = h.find((e) => e.id === L) ?? h[0] ?? null, W = U?.owner ?? null, G = W ? h.filter((e) => e.owner.githubUsername === W.githubUsername) : [], K = x(() => {
369
+ ]), x(() => {
370
+ d.transcripts.page && d.transcripts.page !== P && I(d.transcripts.page);
371
+ }, [P, d.transcripts.page]);
372
+ let U = p.find((e) => e.id === L) ?? p[0] ?? null, W = U?.owner ?? null, G = W ? p.filter((e) => e.owner.githubUsername === W.githubUsername) : [], ne = C(() => {
372
373
  let e = /* @__PURE__ */ new Map();
373
- for (let t of h) e.set(t.modelProvider, (e.get(t.modelProvider) || 0) + 1);
374
+ for (let t of p) e.set(t.modelProvider, (e.get(t.modelProvider) || 0) + 1);
374
375
  return [{
375
376
  slug: "all",
376
- count: h.length
377
+ count: p.length
377
378
  }, ...[...e.entries()].map(([e, t]) => ({
378
379
  slug: e,
379
380
  count: t
380
381
  }))];
381
- }, [h]);
382
- y(() => {
383
- L && !h.some((e) => e.id === L) && (z(null), V("browse"));
384
- }, [L, h]);
385
- let q = x(() => {
386
- let e = pe(v);
387
- return e ? f.collectives.filter((t) => [
382
+ }, [p]);
383
+ x(() => {
384
+ L && !p.some((e) => e.id === L) && (R(null), V("browse"));
385
+ }, [L, p]);
386
+ let K = C(() => {
387
+ let e = me(_);
388
+ return e ? d.collectives.filter((t) => [
388
389
  t.name,
389
390
  t.description,
390
391
  t.linkedGithubOrg
391
392
  ].filter(Boolean).join(" ").toLowerCase().includes(e)) : null;
392
- }, [f.collectives, v]), J = h, re = A.size, Y = f.transcripts.total ?? h.length, X = f.transcripts.page || F, Z = f.transcripts.limit || h.length || 1, ae = (e) => {
393
- if (a) {
394
- a(e);
393
+ }, [d.collectives, _]), q = p, ie = A.size, J = d.transcripts.total ?? p.length, Y = d.transcripts.page || P, X = d.transcripts.limit || p.length || 1, Z = (e) => {
394
+ if (r) {
395
+ r(e);
395
396
  return;
396
397
  }
397
- z(e.id), V("detail");
398
+ R(e.id), V("detail");
398
399
  }, oe = () => {
399
- if (o && W) {
400
- o(W);
400
+ if (a && W) {
401
+ a(W);
401
402
  return;
402
403
  }
403
- U ? (z(U.id), V("profile")) : h[0] && (z(h[0].id), V("profile"));
404
+ U ? (R(U.id), V("profile")) : p[0] && (R(p[0].id), V("profile"));
404
405
  }, se = () => {
405
- _(""), b(""), D("recent"), k("all"), j(/* @__PURE__ */ new Set()), I(1);
406
- }, Q = x(() => W ? [...he(G, (e) => e.projectName || "untitled project").entries()].map(([e, t]) => ({
406
+ g(""), v(""), S("recent"), k("all"), j(/* @__PURE__ */ new Set()), I(1);
407
+ }, Q = C(() => W ? [...ge(G, (e) => e.projectName || "untitled project").entries()].map(([e, t]) => ({
407
408
  project: e,
408
409
  items: t
409
- })) : [], [G, W]), $ = x(() => {
410
+ })) : [], [G, W]), $ = C(() => {
410
411
  let e = G.reduce((e, t) => e + (t.tokenCount || 0), 0);
411
412
  return {
412
413
  transcripts: G.length,
@@ -414,63 +415,63 @@ function xe({ data: t, className: n = "", onFiltersChange: i, onOpenTranscript:
414
415
  tokens: e
415
416
  };
416
417
  }, [G, Q.length]);
417
- return B === "detail" && U ? /* @__PURE__ */ E("div", {
418
- className: `cex-root cex-detail ${n}`.trim(),
419
- children: [/* @__PURE__ */ E("div", {
418
+ return z === "detail" && U ? /* @__PURE__ */ O("div", {
419
+ className: `cex-root cex-detail ${t}`.trim(),
420
+ children: [/* @__PURE__ */ O("div", {
420
421
  className: "cex-detail-back",
421
- children: [/* @__PURE__ */ E("button", {
422
+ children: [/* @__PURE__ */ O("button", {
422
423
  type: "button",
423
424
  className: "btn btn-secondary btn-sm",
424
425
  onClick: () => V("browse"),
425
- children: [/* @__PURE__ */ T(R, {
426
+ children: [/* @__PURE__ */ D(B, {
426
427
  size: 14,
427
428
  "aria-hidden": "true"
428
429
  }), " back to explore"]
429
- }), /* @__PURE__ */ E("button", {
430
+ }), /* @__PURE__ */ O("button", {
430
431
  type: "button",
431
432
  className: "btn btn-secondary btn-sm",
432
433
  onClick: oe,
433
- children: [/* @__PURE__ */ T(ie, {
434
+ children: [/* @__PURE__ */ D(ae, {
434
435
  size: 14,
435
436
  "aria-hidden": "true"
436
437
  }), " profile"]
437
438
  })]
438
- }), /* @__PURE__ */ E("div", {
439
+ }), /* @__PURE__ */ O("div", {
439
440
  className: "window cex-viewer",
440
- children: [/* @__PURE__ */ E("div", {
441
+ children: [/* @__PURE__ */ O("div", {
441
442
  className: "win-head cex-viewer-head",
442
443
  children: [
443
- /* @__PURE__ */ T("div", {
444
+ /* @__PURE__ */ D("div", {
444
445
  className: "cex-head-top",
445
- children: /* @__PURE__ */ E("div", {
446
+ children: /* @__PURE__ */ O("div", {
446
447
  className: "crumb",
447
448
  children: [
448
449
  "commons ",
449
- /* @__PURE__ */ T("span", {
450
+ /* @__PURE__ */ D("span", {
450
451
  "aria-hidden": "true",
451
452
  children: "›"
452
453
  }),
453
454
  " explore ",
454
- /* @__PURE__ */ T("span", {
455
+ /* @__PURE__ */ D("span", {
455
456
  "aria-hidden": "true",
456
457
  children: "›"
457
458
  }),
458
459
  " ",
459
- /* @__PURE__ */ T("span", {
460
+ /* @__PURE__ */ D("span", {
460
461
  className: "cur mono",
461
462
  children: U.id
462
463
  })
463
464
  ]
464
465
  })
465
466
  }),
466
- /* @__PURE__ */ E("div", {
467
+ /* @__PURE__ */ O("div", {
467
468
  className: "cex-hero-title",
468
- children: [/* @__PURE__ */ T("h2", {
469
+ children: [/* @__PURE__ */ D("h2", {
469
470
  className: "win-title cex-vtitle",
470
- children: me(U.title || "untitled transcript")
471
- }), /* @__PURE__ */ T(r, { visibility: U.visibility })]
471
+ children: he(U.title || "untitled transcript")
472
+ }), /* @__PURE__ */ D(i, { visibility: U.visibility })]
472
473
  }),
473
- /* @__PURE__ */ E("p", {
474
+ /* @__PURE__ */ O("p", {
474
475
  className: "cex-vdesc",
475
476
  children: [
476
477
  U.projectName || "shared transcript",
@@ -478,20 +479,20 @@ function xe({ data: t, className: n = "", onFiltersChange: i, onOpenTranscript:
478
479
  U.owner.displayName || U.owner.githubUsername
479
480
  ]
480
481
  }),
481
- /* @__PURE__ */ E("div", {
482
+ /* @__PURE__ */ O("div", {
482
483
  className: "cex-vmeta win-meta",
483
484
  children: [
484
- /* @__PURE__ */ E("span", {
485
+ /* @__PURE__ */ O("span", {
485
486
  className: "metaitem",
486
- children: [/* @__PURE__ */ T(c, {
487
+ children: [/* @__PURE__ */ D(y, {
487
488
  harness: U.modelProvider,
488
489
  accent: !0
489
- }), /* @__PURE__ */ T("span", { children: U.modelName || U.modelProvider })]
490
+ }), /* @__PURE__ */ D("span", { children: U.modelName || U.modelProvider })]
490
491
  }),
491
- /* @__PURE__ */ E("span", {
492
+ /* @__PURE__ */ O("span", {
492
493
  className: "metaitem mono tnum",
493
494
  children: [
494
- /* @__PURE__ */ T(R, {
495
+ /* @__PURE__ */ D(B, {
495
496
  size: 14,
496
497
  "aria-hidden": "true"
497
498
  }),
@@ -500,85 +501,85 @@ function xe({ data: t, className: n = "", onFiltersChange: i, onOpenTranscript:
500
501
  " turns"
501
502
  ]
502
503
  }),
503
- /* @__PURE__ */ E("span", {
504
+ /* @__PURE__ */ O("span", {
504
505
  className: "metaitem mono tnum",
505
506
  children: [
506
- /* @__PURE__ */ T("span", {
507
+ /* @__PURE__ */ D("span", {
507
508
  "aria-hidden": "true",
508
509
  children: "#"
509
510
  }),
510
511
  " ",
511
- le(U.tokenCount || 0),
512
+ ue(U.tokenCount || 0),
512
513
  " tokens"
513
514
  ]
514
515
  }),
515
- /* @__PURE__ */ E("span", {
516
+ /* @__PURE__ */ O("span", {
516
517
  className: "metaitem mono tnum",
517
518
  children: [U.toolCallCount ?? 0, " tools"]
518
519
  })
519
520
  ]
520
521
  })
521
522
  ]
522
- }), /* @__PURE__ */ E("div", {
523
+ }), /* @__PURE__ */ O("div", {
523
524
  className: "cex-viewer-body",
524
- children: [/* @__PURE__ */ E("div", {
525
+ children: [/* @__PURE__ */ O("div", {
525
526
  className: "cex-stream",
526
527
  role: "tabpanel",
527
528
  tabIndex: -1,
528
- children: [/* @__PURE__ */ E("div", {
529
+ children: [/* @__PURE__ */ O("div", {
529
530
  className: "phase",
530
- children: [/* @__PURE__ */ T("span", {
531
+ children: [/* @__PURE__ */ D("span", {
531
532
  className: "lbl",
532
533
  children: "about"
533
- }), /* @__PURE__ */ T("span", {
534
+ }), /* @__PURE__ */ D("span", {
534
535
  className: "meta mono tnum",
535
- children: de(U.sessionStart || U.sessionEnd || "")
536
+ children: fe(U.sessionStart || U.sessionEnd || "")
536
537
  })]
537
- }), /* @__PURE__ */ E("div", {
538
+ }), /* @__PURE__ */ O("div", {
538
539
  className: "turn",
539
- children: [/* @__PURE__ */ T("div", {
540
+ children: [/* @__PURE__ */ D("div", {
540
541
  className: "head",
541
- children: /* @__PURE__ */ T("span", {
542
+ children: /* @__PURE__ */ D("span", {
542
543
  className: "name",
543
544
  children: "session summary"
544
545
  })
545
- }), /* @__PURE__ */ E("div", {
546
+ }), /* @__PURE__ */ O("div", {
546
547
  className: "body",
547
- children: [/* @__PURE__ */ T("p", { children: "This view surfaces the loaded transcript metadata, then lets the user move to the owner profile without leaving the shared surface." }), U.tags.length > 0 && /* @__PURE__ */ T("div", {
548
+ children: [/* @__PURE__ */ D("p", { children: "This view surfaces the loaded transcript metadata, then lets the user move to the owner profile without leaving the shared surface." }), U.tags.length > 0 && /* @__PURE__ */ D("div", {
548
549
  className: "cex-tags",
549
- children: U.tags.map((e) => /* @__PURE__ */ E("span", {
550
+ children: U.tags.map((e) => /* @__PURE__ */ O("span", {
550
551
  className: "chip",
551
552
  children: ["#", e.name]
552
553
  }, e.id))
553
554
  })]
554
555
  })]
555
556
  })]
556
- }), /* @__PURE__ */ E("aside", {
557
+ }), /* @__PURE__ */ O("aside", {
557
558
  className: "cex-psec",
558
559
  "aria-label": "owner snapshot",
559
560
  children: [
560
- /* @__PURE__ */ T("h3", {
561
+ /* @__PURE__ */ D("h3", {
561
562
  className: "cex-psec-title",
562
563
  children: "owner snapshot"
563
564
  }),
564
- /* @__PURE__ */ E("div", {
565
+ /* @__PURE__ */ O("div", {
565
566
  className: "cex-phero",
566
- children: [/* @__PURE__ */ T("div", {
567
+ children: [/* @__PURE__ */ D("div", {
567
568
  className: "cex-phero-av",
568
569
  "aria-hidden": "true",
569
- children: fe(U.owner.displayName || U.owner.githubUsername)
570
- }), /* @__PURE__ */ E("div", {
570
+ children: pe(U.owner.displayName || U.owner.githubUsername)
571
+ }), /* @__PURE__ */ O("div", {
571
572
  className: "cex-phero-id",
572
- children: [/* @__PURE__ */ T("h2", {
573
+ children: [/* @__PURE__ */ D("h2", {
573
574
  className: "cex-h2 cex-pname",
574
575
  children: U.owner.displayName || U.owner.githubUsername
575
- }), /* @__PURE__ */ E("span", {
576
+ }), /* @__PURE__ */ O("span", {
576
577
  className: "cex-phandle mono",
577
578
  children: ["@", U.owner.githubUsername]
578
579
  })]
579
580
  })]
580
581
  }),
581
- /* @__PURE__ */ T(p, { tiles: [
582
+ /* @__PURE__ */ D(h, { tiles: [
582
583
  {
583
584
  key: "transcripts",
584
585
  label: "transcripts",
@@ -592,69 +593,69 @@ function xe({ data: t, className: n = "", onFiltersChange: i, onOpenTranscript:
592
593
  {
593
594
  key: "tokens",
594
595
  label: "tokens",
595
- value: le($.tokens)
596
+ value: ue($.tokens)
596
597
  }
597
598
  ] })
598
599
  ]
599
600
  })]
600
601
  })]
601
602
  })]
602
- }) : B === "profile" && W ? /* @__PURE__ */ E("div", {
603
- className: `cex-root cex-profile ${n}`.trim(),
603
+ }) : z === "profile" && W ? /* @__PURE__ */ O("div", {
604
+ className: `cex-root cex-profile ${t}`.trim(),
604
605
  children: [
605
- /* @__PURE__ */ E("div", {
606
+ /* @__PURE__ */ O("div", {
606
607
  className: "cex-detail-back",
607
- children: [/* @__PURE__ */ E("button", {
608
+ children: [/* @__PURE__ */ O("button", {
608
609
  type: "button",
609
610
  className: "btn btn-secondary btn-sm",
610
611
  onClick: () => V("detail"),
611
- children: [/* @__PURE__ */ T(R, {
612
+ children: [/* @__PURE__ */ D(B, {
612
613
  size: 14,
613
614
  "aria-hidden": "true"
614
615
  }), " back to transcript"]
615
- }), /* @__PURE__ */ E("button", {
616
+ }), /* @__PURE__ */ O("button", {
616
617
  type: "button",
617
618
  className: "btn btn-secondary btn-sm",
618
619
  onClick: () => V("browse"),
619
- children: [/* @__PURE__ */ T(N, {
620
+ children: [/* @__PURE__ */ D(F, {
620
621
  size: 14,
621
622
  "aria-hidden": "true"
622
623
  }), " back to explore"]
623
624
  })]
624
625
  }),
625
- /* @__PURE__ */ E("div", {
626
+ /* @__PURE__ */ O("div", {
626
627
  className: "crumb cex-profile-crumb",
627
628
  children: [
628
629
  "commons ",
629
- /* @__PURE__ */ T("span", {
630
+ /* @__PURE__ */ D("span", {
630
631
  "aria-hidden": "true",
631
632
  children: "›"
632
633
  }),
633
634
  " ",
634
- /* @__PURE__ */ E("span", {
635
+ /* @__PURE__ */ O("span", {
635
636
  className: "cur mono",
636
637
  children: ["@", W.githubUsername]
637
638
  })
638
639
  ]
639
640
  }),
640
- /* @__PURE__ */ E("header", {
641
+ /* @__PURE__ */ O("header", {
641
642
  className: "cex-phero",
642
- children: [/* @__PURE__ */ T("div", {
643
+ children: [/* @__PURE__ */ D("div", {
643
644
  className: "cex-phero-av",
644
645
  "aria-hidden": "true",
645
- children: fe(W.displayName || W.githubUsername)
646
- }), /* @__PURE__ */ E("div", {
646
+ children: pe(W.displayName || W.githubUsername)
647
+ }), /* @__PURE__ */ O("div", {
647
648
  className: "cex-phero-id",
648
- children: [/* @__PURE__ */ T("h2", {
649
+ children: [/* @__PURE__ */ D("h2", {
649
650
  className: "cex-h2 cex-pname",
650
651
  children: W.displayName || W.githubUsername
651
- }), /* @__PURE__ */ E("span", {
652
+ }), /* @__PURE__ */ O("span", {
652
653
  className: "cex-phandle mono",
653
654
  children: ["@", W.githubUsername]
654
655
  })]
655
656
  })]
656
657
  }),
657
- /* @__PURE__ */ T(p, { tiles: [
658
+ /* @__PURE__ */ D(h, { tiles: [
658
659
  {
659
660
  key: "transcripts",
660
661
  label: "transcripts",
@@ -668,41 +669,41 @@ function xe({ data: t, className: n = "", onFiltersChange: i, onOpenTranscript:
668
669
  {
669
670
  key: "tokens",
670
671
  label: "tokens",
671
- value: le($.tokens)
672
+ value: ue($.tokens)
672
673
  }
673
674
  ] }),
674
- /* @__PURE__ */ E("section", {
675
+ /* @__PURE__ */ O("section", {
675
676
  className: "cex-psec",
676
677
  "aria-label": "published library",
677
- children: [/* @__PURE__ */ T("h3", {
678
+ children: [/* @__PURE__ */ D("h3", {
678
679
  className: "cex-psec-title",
679
680
  children: "published library"
680
- }), Q.length === 0 ? /* @__PURE__ */ E("div", {
681
+ }), Q.length === 0 ? /* @__PURE__ */ O("div", {
681
682
  className: "empty cex-empty",
682
683
  children: [
683
- /* @__PURE__ */ T("div", {
684
+ /* @__PURE__ */ D("div", {
684
685
  className: "ring",
685
- children: /* @__PURE__ */ T(N, {
686
+ children: /* @__PURE__ */ D(F, {
686
687
  size: 20,
687
688
  "aria-hidden": "true"
688
689
  })
689
690
  }),
690
- /* @__PURE__ */ T("h3", { children: "no transcripts yet" }),
691
- /* @__PURE__ */ T("p", { children: "this profile has not shared any transcripts in the commons." })
691
+ /* @__PURE__ */ D("h3", { children: "no transcripts yet" }),
692
+ /* @__PURE__ */ D("p", { children: "this profile has not shared any transcripts in the commons." })
692
693
  ]
693
- }) : /* @__PURE__ */ T("div", {
694
+ }) : /* @__PURE__ */ D("div", {
694
695
  className: "cex-projects",
695
- children: Q.map(({ project: e, items: t }) => /* @__PURE__ */ E("div", {
696
+ children: Q.map(({ project: e, items: t }) => /* @__PURE__ */ O("div", {
696
697
  className: "cex-project",
697
- children: [/* @__PURE__ */ E("div", {
698
+ children: [/* @__PURE__ */ O("div", {
698
699
  className: "cex-project-head",
699
- children: [/* @__PURE__ */ E("span", {
700
+ children: [/* @__PURE__ */ O("span", {
700
701
  className: "cex-project-name",
701
- children: [/* @__PURE__ */ T("span", {
702
+ children: [/* @__PURE__ */ D("span", {
702
703
  "aria-hidden": "true",
703
704
  children: "▣"
704
- }), /* @__PURE__ */ T("b", { children: e })]
705
- }), /* @__PURE__ */ E("span", {
705
+ }), /* @__PURE__ */ D("b", { children: e })]
706
+ }), /* @__PURE__ */ O("span", {
706
707
  className: "cex-project-cnt mono tnum",
707
708
  children: [
708
709
  t.length,
@@ -710,61 +711,61 @@ function xe({ data: t, className: n = "", onFiltersChange: i, onOpenTranscript:
710
711
  t.length === 1 ? "" : "s"
711
712
  ]
712
713
  })]
713
- }), /* @__PURE__ */ T("div", {
714
+ }), /* @__PURE__ */ D("div", {
714
715
  className: "cex-lib-rows",
715
- children: t.map((e) => /* @__PURE__ */ T(ye, {
716
+ children: t.map((e) => /* @__PURE__ */ D(be, {
716
717
  transcript: e,
717
- href: l?.(e),
718
- onOpen: ae
718
+ href: c?.(e),
719
+ onOpen: Z
719
720
  }, e.id))
720
721
  })]
721
722
  }, e))
722
723
  })]
723
724
  })
724
725
  ]
725
- }) : /* @__PURE__ */ E("div", {
726
- className: `cex-root ${n}`.trim(),
727
- children: [/* @__PURE__ */ E("header", {
726
+ }) : /* @__PURE__ */ O("div", {
727
+ className: `cex-root ${t}`.trim(),
728
+ children: [/* @__PURE__ */ O("header", {
728
729
  className: "cex-explore-head",
729
730
  children: [
730
- /* @__PURE__ */ T("h2", {
731
+ /* @__PURE__ */ D("h2", {
731
732
  className: "cex-h2",
732
733
  children: "explore transcripts"
733
734
  }),
734
- /* @__PURE__ */ T("p", {
735
+ /* @__PURE__ */ D("p", {
735
736
  className: "cex-deck",
736
737
  children: "search redacted ai agent transcripts shared by the community."
737
738
  }),
738
- /* @__PURE__ */ E("div", {
739
+ /* @__PURE__ */ O("div", {
739
740
  className: "input-ico cex-searchbar",
740
- children: [/* @__PURE__ */ T("input", {
741
+ children: [/* @__PURE__ */ D("input", {
741
742
  className: "input",
742
743
  type: "text",
743
- value: g,
744
- onChange: (e) => _(e.target.value),
744
+ value: m,
745
+ onChange: (e) => g(e.target.value),
745
746
  placeholder: "search transcripts, collectives, projects, models...",
746
747
  "aria-label": "search transcripts, collectives, projects, models"
747
- }), g && /* @__PURE__ */ T("button", {
748
+ }), m && /* @__PURE__ */ D("button", {
748
749
  type: "button",
749
750
  className: "cex-clear",
750
751
  "aria-label": "clear search",
751
- onClick: () => _(""),
752
- children: /* @__PURE__ */ T(ne, {
752
+ onClick: () => g(""),
753
+ children: /* @__PURE__ */ D(re, {
753
754
  size: 14,
754
755
  "aria-hidden": "true"
755
756
  })
756
757
  })]
757
758
  })
758
759
  ]
759
- }), /* @__PURE__ */ E("div", {
760
+ }), /* @__PURE__ */ O("div", {
760
761
  className: "cex-explore-body",
761
- children: [/* @__PURE__ */ T(m, {
762
- order: w,
763
- onOrder: (e) => D(e),
764
- providers: K,
765
- activeProviders: O === "all" ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([O]),
762
+ children: [/* @__PURE__ */ D(f, {
763
+ order: b,
764
+ onOrder: (e) => S(e),
765
+ providers: ne,
766
+ activeProviders: E === "all" ? /* @__PURE__ */ new Set() : /* @__PURE__ */ new Set([E]),
766
767
  onProvider: (e) => k((t) => t === e ? "all" : e),
767
- topics: f.popularTags.map((e) => ({
768
+ topics: d.popularTags.map((e) => ({
768
769
  tag: e.name,
769
770
  count: e.usageCount
770
771
  })),
@@ -777,127 +778,127 @@ function xe({ data: t, className: n = "", onFiltersChange: i, onOpenTranscript:
777
778
  },
778
779
  onClear: se,
779
780
  className: "cex-rail"
780
- }), /* @__PURE__ */ E("div", {
781
+ }), /* @__PURE__ */ O("div", {
781
782
  className: "cex-results",
782
783
  children: [
783
- q && /* @__PURE__ */ E("section", {
784
+ K && /* @__PURE__ */ O("section", {
784
785
  className: "cex-coll-results",
785
786
  "aria-label": "matching collectives",
786
- children: [/* @__PURE__ */ T("div", {
787
+ children: [/* @__PURE__ */ D("div", {
787
788
  className: "cex-results-head",
788
- children: /* @__PURE__ */ E("span", {
789
+ children: /* @__PURE__ */ O("span", {
789
790
  className: "cex-eyebrow",
790
- children: ["collectives ", /* @__PURE__ */ T("span", {
791
+ children: ["collectives ", /* @__PURE__ */ D("span", {
791
792
  className: "cex-count tnum",
792
- children: q.length
793
+ children: K.length
793
794
  })]
794
795
  })
795
- }), q.length === 0 ? /* @__PURE__ */ T("p", {
796
+ }), K.length === 0 ? /* @__PURE__ */ D("p", {
796
797
  className: "cex-nomatch-inline mono",
797
798
  children: "no matching collectives."
798
- }) : /* @__PURE__ */ T("div", {
799
+ }) : /* @__PURE__ */ D("div", {
799
800
  className: "cex-coll-grid",
800
- children: q.map((e) => /* @__PURE__ */ T(be, {
801
+ children: K.map((e) => /* @__PURE__ */ D(xe, {
801
802
  collective: e,
802
- href: d?.(e),
803
+ href: u?.(e),
803
804
  onOpen: s
804
805
  }, e.id))
805
806
  })]
806
807
  }),
807
- /* @__PURE__ */ E("div", {
808
+ /* @__PURE__ */ O("div", {
808
809
  className: "cex-results-head",
809
- children: [/* @__PURE__ */ E("span", {
810
+ children: [/* @__PURE__ */ O("span", {
810
811
  className: "cex-eyebrow",
811
- children: ["transcripts ", /* @__PURE__ */ T("span", {
812
+ children: ["transcripts ", /* @__PURE__ */ D("span", {
812
813
  className: "cex-count tnum",
813
814
  role: "status",
814
815
  "aria-live": "polite",
815
- children: Y
816
+ children: J
816
817
  })]
817
- }), /* @__PURE__ */ E("div", {
818
+ }), /* @__PURE__ */ O("div", {
818
819
  className: "bs-seg cex-viewseg",
819
820
  role: "group",
820
821
  "aria-label": "view mode",
821
822
  children: [
822
- /* @__PURE__ */ E("button", {
823
+ /* @__PURE__ */ O("button", {
823
824
  type: "button",
824
825
  className: "bs-seg-opt",
825
826
  "aria-pressed": M === "grid",
826
827
  "aria-label": "grid view",
827
- onClick: () => P("grid"),
828
- children: [/* @__PURE__ */ T(ee, { size: 14 }), " grid"]
828
+ onClick: () => N("grid"),
829
+ children: [/* @__PURE__ */ D(ee, { size: 14 }), " grid"]
829
830
  }),
830
- /* @__PURE__ */ E("button", {
831
+ /* @__PURE__ */ O("button", {
831
832
  type: "button",
832
833
  className: "bs-seg-opt",
833
834
  "aria-pressed": M === "list",
834
835
  "aria-label": "list view",
835
- onClick: () => P("list"),
836
- children: [/* @__PURE__ */ T(te, { size: 14 }), " list"]
836
+ onClick: () => N("list"),
837
+ children: [/* @__PURE__ */ D(te, { size: 14 }), " list"]
837
838
  }),
838
- /* @__PURE__ */ E("button", {
839
+ /* @__PURE__ */ O("button", {
839
840
  type: "button",
840
841
  className: "bs-seg-opt",
841
- "aria-pressed": B === "profile",
842
+ "aria-pressed": z === "profile",
842
843
  "aria-label": "profile view",
843
844
  onClick: oe,
844
- disabled: !J.length,
845
- children: [/* @__PURE__ */ T(ie, { size: 14 }), " profile"]
845
+ disabled: !q.length,
846
+ children: [/* @__PURE__ */ D(ae, { size: 14 }), " profile"]
846
847
  })
847
848
  ]
848
849
  })]
849
850
  }),
850
- J.length === 0 ? v.trim() || O !== "all" || re ? /* @__PURE__ */ E("div", {
851
+ q.length === 0 ? _.trim() || E !== "all" || ie ? /* @__PURE__ */ O("div", {
851
852
  className: "empty cex-empty",
852
853
  children: [
853
- /* @__PURE__ */ T("div", {
854
+ /* @__PURE__ */ D("div", {
854
855
  className: "ring",
855
- children: /* @__PURE__ */ T(ne, {
856
+ children: /* @__PURE__ */ D(re, {
856
857
  size: 20,
857
858
  "aria-hidden": "true"
858
859
  })
859
860
  }),
860
- /* @__PURE__ */ T("h3", { children: "no matches" }),
861
- /* @__PURE__ */ T("p", { children: "no transcripts match your search and filters. broaden the query or clear the filters." }),
862
- /* @__PURE__ */ T("button", {
861
+ /* @__PURE__ */ D("h3", { children: "no matches" }),
862
+ /* @__PURE__ */ D("p", { children: "no transcripts match your search and filters. broaden the query or clear the filters." }),
863
+ /* @__PURE__ */ D("button", {
863
864
  type: "button",
864
865
  className: "btn btn-secondary btn-sm",
865
866
  onClick: se,
866
867
  children: "clear filters"
867
868
  })
868
869
  ]
869
- }) : /* @__PURE__ */ E("div", {
870
+ }) : /* @__PURE__ */ O("div", {
870
871
  className: "empty cex-empty",
871
872
  children: [
872
- /* @__PURE__ */ T("div", {
873
+ /* @__PURE__ */ D("div", {
873
874
  className: "ring",
874
- children: /* @__PURE__ */ T(N, {
875
+ children: /* @__PURE__ */ D(F, {
875
876
  size: 20,
876
877
  "aria-hidden": "true"
877
878
  })
878
879
  }),
879
- /* @__PURE__ */ T("h3", { children: "the commons is empty" }),
880
- /* @__PURE__ */ T("p", { children: "no transcripts have been shared yet. once contributors publish, they show up here." })
880
+ /* @__PURE__ */ D("h3", { children: "the commons is empty" }),
881
+ /* @__PURE__ */ D("p", { children: "no transcripts have been shared yet. once contributors publish, they show up here." })
881
882
  ]
882
- }) : M === "grid" ? /* @__PURE__ */ T("div", {
883
+ }) : M === "grid" ? /* @__PURE__ */ D("div", {
883
884
  className: "cex-grid",
884
- children: J.map((e) => /* @__PURE__ */ T(ve, {
885
+ children: q.map((e) => /* @__PURE__ */ D(ye, {
885
886
  transcript: e,
886
- href: l?.(e),
887
- onOpen: ae
887
+ href: c?.(e),
888
+ onOpen: Z
888
889
  }, e.id))
889
- }) : /* @__PURE__ */ T("div", {
890
+ }) : /* @__PURE__ */ D("div", {
890
891
  className: "cex-list",
891
- children: J.map((e) => /* @__PURE__ */ T(ye, {
892
+ children: q.map((e) => /* @__PURE__ */ D(be, {
892
893
  transcript: e,
893
- href: l?.(e),
894
- onOpen: ae
894
+ href: c?.(e),
895
+ onOpen: Z
895
896
  }, e.id))
896
897
  }),
897
- Y > Z && /* @__PURE__ */ T(e, {
898
- page: X,
899
- totalItems: Y,
900
- pageSize: Z,
898
+ J > X && /* @__PURE__ */ D(o, {
899
+ page: Y,
900
+ totalItems: J,
901
+ pageSize: X,
901
902
  onChange: I,
902
903
  className: "cex-pgn"
903
904
  })
@@ -908,87 +909,51 @@ function xe({ data: t, className: n = "", onFiltersChange: i, onOpenTranscript:
908
909
  }
909
910
  //#endregion
910
911
  //#region src/ui/commons/providers.js
911
- var Se = {
912
- "claude-code": "Claude Code",
913
- "gemini-cli": "Gemini",
914
- opencode: "OpenCode",
915
- codex: "Codex"
916
- };
917
912
  function Ce(e) {
918
913
  return String(e || "unknown").replace(/[-_]+/g, " ").replace(/\b\w/g, (e) => e.toUpperCase());
919
914
  }
920
915
  function we(e) {
921
- return Se[e] || Ce(e);
916
+ return v(e);
922
917
  }
923
918
  //#endregion
924
919
  //#region src/mockups/inuse/CommonsManage.jsx
925
- function Te({ id: e }) {
926
- let t = {
927
- "claude-code": "g-claude",
928
- "gemini-cli": "g-gemini",
929
- opencode: "g-opencode",
930
- codex: "g-codex"
931
- }[e], n = {
932
- "claude-code": "#b-claude",
933
- "gemini-cli": "#b-gemini",
934
- opencode: "#b-opencode"
935
- }[e];
936
- return n ? /* @__PURE__ */ T("span", {
937
- className: t,
938
- children: /* @__PURE__ */ T("svg", {
939
- className: "brand",
940
- width: "14",
941
- height: "14",
942
- viewBox: "0 0 24 24",
943
- "aria-hidden": "true",
944
- children: /* @__PURE__ */ T("use", { href: n })
945
- })
946
- }) : /* @__PURE__ */ T("span", {
947
- className: t,
948
- children: /* @__PURE__ */ T(J, {
949
- className: "lucide",
950
- size: 14,
951
- "aria-hidden": "true"
952
- })
953
- });
954
- }
955
- function Ee({ cmd: e, note: t }) {
956
- let [n, r] = C(!1);
920
+ function Te({ cmd: e, note: t }) {
921
+ let [n, r] = T(!1);
957
922
  function i() {
958
923
  try {
959
924
  navigator.clipboard?.writeText(e);
960
925
  } catch {}
961
926
  r(!0), window.setTimeout(() => r(!1), 2e3);
962
927
  }
963
- return /* @__PURE__ */ E("div", {
928
+ return /* @__PURE__ */ O("div", {
964
929
  className: "cmg-cmd",
965
930
  children: [
966
- /* @__PURE__ */ E("code", {
931
+ /* @__PURE__ */ O("code", {
967
932
  className: "cmg-cmd-text mono",
968
- children: [/* @__PURE__ */ T("span", {
933
+ children: [/* @__PURE__ */ D("span", {
969
934
  className: "cmg-cmd-prompt",
970
935
  "aria-hidden": "true",
971
936
  children: "$ "
972
937
  }), e]
973
938
  }),
974
- /* @__PURE__ */ E("button", {
939
+ /* @__PURE__ */ O("button", {
975
940
  type: "button",
976
941
  className: "btn btn-sm btn-secondary cmg-cmd-copy",
977
942
  onClick: i,
978
943
  "aria-label": n ? "copied" : "copy command",
979
- children: [T(n ? k : P, {
944
+ children: [D(n ? j : I, {
980
945
  size: 14,
981
946
  "aria-hidden": "true"
982
947
  }), n ? "copied" : "copy"]
983
948
  }),
984
- t ? /* @__PURE__ */ T("span", {
949
+ t ? /* @__PURE__ */ D("span", {
985
950
  className: "cmg-cmd-note mono",
986
951
  children: t
987
952
  }) : null
988
953
  ]
989
954
  });
990
955
  }
991
- var De = [
956
+ var Ee = [
992
957
  {
993
958
  id: "a1",
994
959
  provider: "claude-code",
@@ -1025,7 +990,7 @@ var De = [
1025
990
  turns: 128,
1026
991
  project: "platform"
1027
992
  }
1028
- ], Oe = [
993
+ ], De = [
1029
994
  {
1030
995
  n: 1,
1031
996
  title: "install the cli",
@@ -1048,10 +1013,10 @@ var De = [
1048
1013
  cmd: "peasant village push --dry-run --visibility public"
1049
1014
  }
1050
1015
  ];
1051
- function ke({ v: e, names: t }) {
1016
+ function Oe({ v: e, names: t }) {
1052
1017
  let n = {
1053
1018
  public: {
1054
- Icon: I,
1019
+ Icon: R,
1055
1020
  label: "visible to everyone",
1056
1021
  cls: ""
1057
1022
  },
@@ -1061,121 +1026,121 @@ function ke({ v: e, names: t }) {
1061
1026
  cls: "cmg-eye-shared"
1062
1027
  },
1063
1028
  private: {
1064
- Icon: L,
1029
+ Icon: z,
1065
1030
  label: "only visible to you",
1066
1031
  cls: "cmg-eye-private"
1067
1032
  }
1068
1033
  }, { Icon: r, label: i, cls: a } = n[e] || n.private;
1069
- return /* @__PURE__ */ E("span", {
1034
+ return /* @__PURE__ */ O("span", {
1070
1035
  className: "cmg-eye " + a,
1071
1036
  title: i,
1072
- children: [/* @__PURE__ */ T(r, {
1037
+ children: [/* @__PURE__ */ D(r, {
1073
1038
  size: 14,
1074
1039
  "aria-hidden": "true"
1075
- }), /* @__PURE__ */ T("span", {
1040
+ }), /* @__PURE__ */ D("span", {
1076
1041
  className: "cmg-sr",
1077
1042
  children: i
1078
1043
  })]
1079
1044
  });
1080
1045
  }
1081
- function Ae() {
1082
- let [e, t] = C(!0), [n, r] = C(!1);
1083
- return /* @__PURE__ */ E("div", {
1046
+ function ke() {
1047
+ let [e, t] = T(!0), [n, r] = T(!1);
1048
+ return /* @__PURE__ */ O("div", {
1084
1049
  className: "cmg-root",
1085
- children: [/* @__PURE__ */ E("div", {
1050
+ children: [/* @__PURE__ */ O("div", {
1086
1051
  className: "cmg-page",
1087
1052
  children: [
1088
- /* @__PURE__ */ E("div", {
1053
+ /* @__PURE__ */ O("div", {
1089
1054
  className: "crumb cmg-crumb",
1090
1055
  children: [
1091
1056
  "village ",
1092
- /* @__PURE__ */ T(j, {
1057
+ /* @__PURE__ */ D(N, {
1093
1058
  size: 13,
1094
1059
  "aria-hidden": "true"
1095
1060
  }),
1096
1061
  " ",
1097
- /* @__PURE__ */ T("span", {
1062
+ /* @__PURE__ */ D("span", {
1098
1063
  className: "cur",
1099
1064
  children: "publish"
1100
1065
  })
1101
1066
  ]
1102
1067
  }),
1103
- /* @__PURE__ */ T("header", {
1068
+ /* @__PURE__ */ D("header", {
1104
1069
  className: "cmg-head",
1105
- children: /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
1070
+ children: /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("h2", {
1106
1071
  className: "cmg-title",
1107
1072
  children: "publishing dashboard"
1108
- }), /* @__PURE__ */ T("p", {
1073
+ }), /* @__PURE__ */ D("p", {
1109
1074
  className: "cmg-deck",
1110
1075
  children: "push transcripts from the peasant cli to the village."
1111
1076
  })] })
1112
1077
  }),
1113
- e && /* @__PURE__ */ E("section", {
1078
+ e && /* @__PURE__ */ O("section", {
1114
1079
  className: "cmg-gs card",
1115
1080
  "aria-labelledby": "cmg-gs-h",
1116
- children: [/* @__PURE__ */ E("div", {
1081
+ children: [/* @__PURE__ */ O("div", {
1117
1082
  className: "cmg-gs-head",
1118
- children: [/* @__PURE__ */ E("span", {
1083
+ children: [/* @__PURE__ */ O("span", {
1119
1084
  className: "cmg-gs-h-l",
1120
- children: [/* @__PURE__ */ T(J, {
1085
+ children: [/* @__PURE__ */ D(Terminal, {
1121
1086
  size: 16,
1122
1087
  "aria-hidden": "true",
1123
1088
  className: "cmg-gs-ico"
1124
- }), /* @__PURE__ */ T("h3", {
1089
+ }), /* @__PURE__ */ D("h3", {
1125
1090
  id: "cmg-gs-h",
1126
1091
  className: "cmg-sub",
1127
1092
  children: "getting started"
1128
1093
  })]
1129
- }), /* @__PURE__ */ T("button", {
1094
+ }), /* @__PURE__ */ D("button", {
1130
1095
  type: "button",
1131
1096
  className: "btn btn-sm btn-icon btn-ghost",
1132
1097
  onClick: () => t(!1),
1133
1098
  "aria-label": "dismiss getting started",
1134
- children: /* @__PURE__ */ T(Z, {
1099
+ children: /* @__PURE__ */ D(Z, {
1135
1100
  size: 14,
1136
1101
  "aria-hidden": "true"
1137
1102
  })
1138
1103
  })]
1139
- }), /* @__PURE__ */ E("div", {
1104
+ }), /* @__PURE__ */ O("div", {
1140
1105
  className: "cmg-gs-body",
1141
- children: [/* @__PURE__ */ E("div", {
1106
+ children: [/* @__PURE__ */ O("div", {
1142
1107
  className: "cmg-step",
1143
- children: [/* @__PURE__ */ T("span", {
1108
+ children: [/* @__PURE__ */ D("span", {
1144
1109
  className: "cmg-step-n tnum",
1145
1110
  "aria-hidden": "true",
1146
1111
  children: "1"
1147
- }), /* @__PURE__ */ E("div", {
1112
+ }), /* @__PURE__ */ O("div", {
1148
1113
  className: "cmg-step-main",
1149
1114
  children: [
1150
- /* @__PURE__ */ T("div", {
1115
+ /* @__PURE__ */ D("div", {
1151
1116
  className: "cmg-step-title",
1152
1117
  children: "run the setup wizard"
1153
1118
  }),
1154
- /* @__PURE__ */ T("p", {
1119
+ /* @__PURE__ */ D("p", {
1155
1120
  className: "cmg-step-desc",
1156
1121
  children: "connects github, discovers agent transcripts, configures providers (Claude Code / OpenCode), sets your redaction level."
1157
1122
  }),
1158
- /* @__PURE__ */ T(Ee, { cmd: "peasant kickstart" })
1123
+ /* @__PURE__ */ D(Te, { cmd: "peasant kickstart" })
1159
1124
  ]
1160
1125
  })]
1161
- }), /* @__PURE__ */ E("div", {
1126
+ }), /* @__PURE__ */ O("div", {
1162
1127
  className: "cmg-step",
1163
- children: [/* @__PURE__ */ T("span", {
1128
+ children: [/* @__PURE__ */ D("span", {
1164
1129
  className: "cmg-step-n tnum",
1165
1130
  "aria-hidden": "true",
1166
1131
  children: "2"
1167
- }), /* @__PURE__ */ E("div", {
1132
+ }), /* @__PURE__ */ O("div", {
1168
1133
  className: "cmg-step-main",
1169
1134
  children: [
1170
- /* @__PURE__ */ T("div", {
1135
+ /* @__PURE__ */ D("div", {
1171
1136
  className: "cmg-step-title",
1172
1137
  children: "push transcripts"
1173
1138
  }),
1174
- /* @__PURE__ */ T("p", {
1139
+ /* @__PURE__ */ D("p", {
1175
1140
  className: "cmg-step-desc",
1176
1141
  children: "auto-redaction runs before upload. add --dry-run to preview, or --visibility public to override."
1177
1142
  }),
1178
- /* @__PURE__ */ T(Ee, {
1143
+ /* @__PURE__ */ D(Te, {
1179
1144
  cmd: "peasant village push",
1180
1145
  note: "--dry-run preview · --visibility public override"
1181
1146
  })
@@ -1184,48 +1149,48 @@ function Ae() {
1184
1149
  })]
1185
1150
  })]
1186
1151
  }),
1187
- /* @__PURE__ */ E("section", {
1152
+ /* @__PURE__ */ O("section", {
1188
1153
  className: "cmg-recent card",
1189
1154
  "aria-labelledby": "cmg-recent-h",
1190
- children: [/* @__PURE__ */ E("div", {
1155
+ children: [/* @__PURE__ */ O("div", {
1191
1156
  className: "cmg-recent-head",
1192
- children: [/* @__PURE__ */ T("h3", {
1157
+ children: [/* @__PURE__ */ D("h3", {
1193
1158
  id: "cmg-recent-h",
1194
1159
  className: "cmg-sub",
1195
1160
  children: "recent publishes"
1196
- }), /* @__PURE__ */ E("button", {
1161
+ }), /* @__PURE__ */ O("button", {
1197
1162
  type: "button",
1198
1163
  className: "btn btn-sm btn-secondary",
1199
1164
  onClick: () => r(!0),
1200
- children: [/* @__PURE__ */ T(re, {
1165
+ children: [/* @__PURE__ */ D(J, {
1201
1166
  size: 14,
1202
1167
  "aria-hidden": "true"
1203
1168
  }), " import"]
1204
1169
  })]
1205
- }), De.length === 0 ? /* @__PURE__ */ T("div", {
1170
+ }), Ee.length === 0 ? /* @__PURE__ */ D("div", {
1206
1171
  className: "cmg-recent-empty mono",
1207
1172
  children: "no transcripts published yet."
1208
- }) : /* @__PURE__ */ T("ul", {
1173
+ }) : /* @__PURE__ */ D("ul", {
1209
1174
  className: "cmg-pub-list",
1210
- children: De.map((e) => /* @__PURE__ */ E("li", {
1175
+ children: Ee.map((e) => /* @__PURE__ */ O("li", {
1211
1176
  className: "cmg-pub-row",
1212
1177
  children: [
1213
- /* @__PURE__ */ T("span", {
1178
+ /* @__PURE__ */ D("span", {
1214
1179
  className: "cmg-pub-prov",
1215
- children: /* @__PURE__ */ T(Te, { id: e.provider })
1180
+ children: /* @__PURE__ */ D(ProviderMark, { id: e.provider })
1216
1181
  }),
1217
- /* @__PURE__ */ T("span", {
1182
+ /* @__PURE__ */ D("span", {
1218
1183
  className: "cmg-pub-title",
1219
1184
  children: e.title
1220
1185
  }),
1221
- /* @__PURE__ */ T("span", {
1186
+ /* @__PURE__ */ D("span", {
1222
1187
  className: "cmg-pub-meta mono",
1223
1188
  children: e.project
1224
1189
  }),
1225
- /* @__PURE__ */ E("span", {
1190
+ /* @__PURE__ */ O("span", {
1226
1191
  className: "cmg-pub-meta mono tnum",
1227
1192
  children: [
1228
- /* @__PURE__ */ T(V, {
1193
+ /* @__PURE__ */ D(U, {
1229
1194
  size: 13,
1230
1195
  "aria-hidden": "true"
1231
1196
  }),
@@ -1233,8 +1198,8 @@ function Ae() {
1233
1198
  e.turns
1234
1199
  ]
1235
1200
  }),
1236
- /* @__PURE__ */ T(ke, { v: e.visibility }),
1237
- /* @__PURE__ */ T("span", {
1201
+ /* @__PURE__ */ D(Oe, { v: e.visibility }),
1202
+ /* @__PURE__ */ D("span", {
1238
1203
  className: "cmg-pub-date mono tnum",
1239
1204
  children: e.date
1240
1205
  })
@@ -1243,11 +1208,11 @@ function Ae() {
1243
1208
  })]
1244
1209
  })
1245
1210
  ]
1246
- }), n && /* @__PURE__ */ T("div", {
1211
+ }), n && /* @__PURE__ */ D("div", {
1247
1212
  className: "cmg-scrim",
1248
1213
  role: "presentation",
1249
1214
  onClick: () => r(!1),
1250
- children: /* @__PURE__ */ E("div", {
1215
+ children: /* @__PURE__ */ O("div", {
1251
1216
  className: "cmg-dialog",
1252
1217
  role: "dialog",
1253
1218
  "aria-modal": "true",
@@ -1255,42 +1220,42 @@ function Ae() {
1255
1220
  onClick: (e) => e.stopPropagation(),
1256
1221
  onKeyDown: (e) => e.key === "Escape" && r(!1),
1257
1222
  children: [
1258
- /* @__PURE__ */ E("div", {
1223
+ /* @__PURE__ */ O("div", {
1259
1224
  className: "cmg-dlg-head",
1260
- children: [/* @__PURE__ */ T("h3", {
1225
+ children: [/* @__PURE__ */ D("h3", {
1261
1226
  id: "cmg-import-h",
1262
1227
  className: "cmg-sub",
1263
1228
  children: "how to import transcripts"
1264
- }), /* @__PURE__ */ T("button", {
1229
+ }), /* @__PURE__ */ D("button", {
1265
1230
  type: "button",
1266
1231
  className: "btn btn-sm btn-icon btn-ghost",
1267
1232
  onClick: () => r(!1),
1268
1233
  "aria-label": "close dialog",
1269
- children: /* @__PURE__ */ T(Z, {
1234
+ children: /* @__PURE__ */ D(Z, {
1270
1235
  size: 14,
1271
1236
  "aria-hidden": "true"
1272
1237
  })
1273
1238
  })]
1274
1239
  }),
1275
- /* @__PURE__ */ E("div", {
1240
+ /* @__PURE__ */ O("div", {
1276
1241
  className: "cmg-dlg-body",
1277
- children: [/* @__PURE__ */ T("p", {
1242
+ children: [/* @__PURE__ */ D("p", {
1278
1243
  className: "cmg-dlg-intro mono",
1279
1244
  children: "transcripts are imported through the peasant cli, not the web ui. follow these steps from a terminal:"
1280
- }), /* @__PURE__ */ T("ol", {
1245
+ }), /* @__PURE__ */ D("ol", {
1281
1246
  className: "cmg-import-steps",
1282
- children: Oe.map((e) => /* @__PURE__ */ E("li", {
1247
+ children: De.map((e) => /* @__PURE__ */ O("li", {
1283
1248
  className: "cmg-step",
1284
- children: [/* @__PURE__ */ T("span", {
1249
+ children: [/* @__PURE__ */ D("span", {
1285
1250
  className: "cmg-step-n tnum",
1286
1251
  "aria-hidden": "true",
1287
1252
  children: e.n
1288
- }), /* @__PURE__ */ E("div", {
1253
+ }), /* @__PURE__ */ O("div", {
1289
1254
  className: "cmg-step-main",
1290
- children: [/* @__PURE__ */ T("div", {
1255
+ children: [/* @__PURE__ */ D("div", {
1291
1256
  className: "cmg-step-title",
1292
1257
  children: e.title
1293
- }), /* @__PURE__ */ T(Ee, {
1258
+ }), /* @__PURE__ */ D(Te, {
1294
1259
  cmd: e.cmd,
1295
1260
  note: e.note
1296
1261
  })]
@@ -1298,9 +1263,9 @@ function Ae() {
1298
1263
  }, e.n))
1299
1264
  })]
1300
1265
  }),
1301
- /* @__PURE__ */ T("div", {
1266
+ /* @__PURE__ */ D("div", {
1302
1267
  className: "cmg-dlg-foot",
1303
- children: /* @__PURE__ */ T("button", {
1268
+ children: /* @__PURE__ */ D("button", {
1304
1269
  type: "button",
1305
1270
  className: "btn btn-sm btn-secondary",
1306
1271
  onClick: () => r(!1),
@@ -1312,7 +1277,7 @@ function Ae() {
1312
1277
  })]
1313
1278
  });
1314
1279
  }
1315
- var je = [
1280
+ var Ae = [
1316
1281
  {
1317
1282
  value: "open",
1318
1283
  short: "Open",
@@ -1331,7 +1296,7 @@ var je = [
1331
1296
  label: "curated",
1332
1297
  rationale: "the owner must approve each share before it appears."
1333
1298
  }
1334
- ], Me = [
1299
+ ], je = [
1335
1300
  {
1336
1301
  value: "members_only",
1337
1302
  short: "Members only",
@@ -1350,11 +1315,11 @@ var je = [
1350
1315
  label: "public",
1351
1316
  rationale: "anyone at all can browse the dataset."
1352
1317
  }
1353
- ], Ne = [
1318
+ ], Me = [
1354
1319
  "@anthropic-labs",
1355
1320
  "@data-collective",
1356
1321
  "@openai-research"
1357
- ], Pe = [
1322
+ ], Ne = [
1358
1323
  {
1359
1324
  id: "c1",
1360
1325
  name: "AI Research Team",
@@ -1386,72 +1351,72 @@ var je = [
1386
1351
  since: "Joined today"
1387
1352
  }
1388
1353
  ];
1389
- function Fe({ mode: e }) {
1390
- let t = je.find((t) => t.value === e);
1391
- return /* @__PURE__ */ T("span", {
1354
+ function Pe({ mode: e }) {
1355
+ let t = Ae.find((t) => t.value === e);
1356
+ return /* @__PURE__ */ D("span", {
1392
1357
  className: "chip " + (e === "open" ? "chip-ok" : e === "curated" ? "chip-warn" : ""),
1393
1358
  children: t ? t.short.toLowerCase() : e
1394
1359
  });
1395
1360
  }
1396
- function Ie({ data: e = {}, actions: t = {} } = {}) {
1397
- let { collectives: n = Pe, linkedOrgs: r = Ne, title: i = "collectives", deck: a = "groups that govern shared data together.", crumb: s = "collectives", createLabel: c = "new collective", createBusy: l = !1 } = e, { onCreateCollective: u, onOpenCollective: d } = t, [f, p] = C(!1), [m, h] = C(""), [g, _] = C(""), [v, y] = C("open"), [x, S] = C("members_only"), [D, O] = C(""), k = b();
1398
- return /* @__PURE__ */ T("div", {
1361
+ function Fe({ data: t = {}, actions: n = {} } = {}) {
1362
+ let { collectives: r = Ne, linkedOrgs: i = Me, title: a = "collectives", deck: o = "groups that govern shared data together.", crumb: s = "collectives", createLabel: c = "new collective", createBusy: l = !1 } = t, { onCreateCollective: u, onOpenCollective: d } = n, [f, p] = T(!1), [m, h] = T(""), [g, _] = T(""), [v, y] = T("open"), [b, x] = T("members_only"), [C, w] = T(""), k = S();
1363
+ return /* @__PURE__ */ D("div", {
1399
1364
  className: "cmg-root",
1400
- children: /* @__PURE__ */ E("div", {
1365
+ children: /* @__PURE__ */ O("div", {
1401
1366
  className: "cmg-page",
1402
1367
  children: [
1403
- /* @__PURE__ */ E("div", {
1368
+ /* @__PURE__ */ O("div", {
1404
1369
  className: "crumb cmg-crumb",
1405
1370
  children: [
1406
1371
  "village ",
1407
- /* @__PURE__ */ T(j, {
1372
+ /* @__PURE__ */ D(N, {
1408
1373
  size: 13,
1409
1374
  "aria-hidden": "true"
1410
1375
  }),
1411
1376
  " ",
1412
- /* @__PURE__ */ T("span", {
1377
+ /* @__PURE__ */ D("span", {
1413
1378
  className: "cur",
1414
1379
  children: s
1415
1380
  })
1416
1381
  ]
1417
1382
  }),
1418
- /* @__PURE__ */ E("header", {
1383
+ /* @__PURE__ */ O("header", {
1419
1384
  className: "cmg-head",
1420
- children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
1385
+ children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("h2", {
1421
1386
  className: "cmg-title",
1422
- children: i
1423
- }), /* @__PURE__ */ T("p", {
1424
- className: "cmg-deck",
1425
1387
  children: a
1426
- })] }), /* @__PURE__ */ E("button", {
1388
+ }), /* @__PURE__ */ D("p", {
1389
+ className: "cmg-deck",
1390
+ children: o
1391
+ })] }), /* @__PURE__ */ O("button", {
1427
1392
  type: "button",
1428
1393
  className: "btn btn-sm " + (f ? "btn-secondary" : "btn-primary"),
1429
1394
  "aria-expanded": f,
1430
1395
  onClick: () => p((e) => !e),
1431
- children: [T(f ? Z : W, {
1396
+ children: [D(f ? Z : ne, {
1432
1397
  size: 14,
1433
1398
  "aria-hidden": "true"
1434
1399
  }), f ? "cancel" : c]
1435
1400
  })]
1436
1401
  }),
1437
- f && /* @__PURE__ */ E("section", {
1402
+ f && /* @__PURE__ */ O("section", {
1438
1403
  className: "cmg-form card",
1439
1404
  "aria-labelledby": "cmg-form-h",
1440
1405
  children: [
1441
- /* @__PURE__ */ T("h3", {
1406
+ /* @__PURE__ */ D("h3", {
1442
1407
  id: "cmg-form-h",
1443
1408
  className: "cmg-sub",
1444
1409
  children: "create a collective"
1445
1410
  }),
1446
- /* @__PURE__ */ E("div", {
1411
+ /* @__PURE__ */ O("div", {
1447
1412
  className: "cmg-form-grid",
1448
1413
  children: [
1449
- /* @__PURE__ */ E("label", {
1414
+ /* @__PURE__ */ O("label", {
1450
1415
  className: "cmg-field",
1451
- children: [/* @__PURE__ */ T("span", {
1416
+ children: [/* @__PURE__ */ D("span", {
1452
1417
  className: "label",
1453
1418
  children: "name"
1454
- }), /* @__PURE__ */ T("input", {
1419
+ }), /* @__PURE__ */ D("input", {
1455
1420
  className: "input",
1456
1421
  type: "text",
1457
1422
  placeholder: "AI Research Collective",
@@ -1459,12 +1424,12 @@ function Ie({ data: e = {}, actions: t = {} } = {}) {
1459
1424
  onChange: (e) => h(e.target.value)
1460
1425
  })]
1461
1426
  }),
1462
- /* @__PURE__ */ E("label", {
1427
+ /* @__PURE__ */ O("label", {
1463
1428
  className: "cmg-field cmg-field-wide",
1464
- children: [/* @__PURE__ */ T("span", {
1429
+ children: [/* @__PURE__ */ D("span", {
1465
1430
  className: "label",
1466
1431
  children: "purpose"
1467
- }), /* @__PURE__ */ T("textarea", {
1432
+ }), /* @__PURE__ */ D("textarea", {
1468
1433
  className: "input",
1469
1434
  rows: 2,
1470
1435
  placeholder: "What does this collective do?",
@@ -1472,47 +1437,47 @@ function Ie({ data: e = {}, actions: t = {} } = {}) {
1472
1437
  onChange: (e) => _(e.target.value)
1473
1438
  })]
1474
1439
  }),
1475
- /* @__PURE__ */ T("div", {
1440
+ /* @__PURE__ */ D("div", {
1476
1441
  className: "cmg-field",
1477
- children: /* @__PURE__ */ T(o, {
1442
+ children: /* @__PURE__ */ D(e, {
1478
1443
  variant: "select",
1479
1444
  label: "acceptance mode",
1480
1445
  name: "acceptance-mode",
1481
1446
  value: v,
1482
1447
  onChange: y,
1483
- options: je
1448
+ options: Ae
1484
1449
  })
1485
1450
  }),
1486
- /* @__PURE__ */ T("div", {
1451
+ /* @__PURE__ */ D("div", {
1487
1452
  className: "cmg-field",
1488
- children: /* @__PURE__ */ T(o, {
1453
+ children: /* @__PURE__ */ D(e, {
1489
1454
  variant: "select",
1490
1455
  label: "data access policy",
1491
1456
  name: "data-access",
1492
- value: x,
1493
- onChange: S,
1494
- options: Me
1457
+ value: b,
1458
+ onChange: x,
1459
+ options: je
1495
1460
  })
1496
1461
  }),
1497
- /* @__PURE__ */ E("label", {
1462
+ /* @__PURE__ */ O("label", {
1498
1463
  className: "cmg-field",
1499
- children: [/* @__PURE__ */ T("span", {
1464
+ children: [/* @__PURE__ */ D("span", {
1500
1465
  className: "label",
1501
1466
  children: "link to github org (optional)"
1502
- }), /* @__PURE__ */ E("div", {
1467
+ }), /* @__PURE__ */ O("div", {
1503
1468
  className: "select-wrap",
1504
- children: [/* @__PURE__ */ E("select", {
1469
+ children: [/* @__PURE__ */ O("select", {
1505
1470
  className: "select",
1506
- value: D,
1507
- onChange: (e) => O(e.target.value),
1508
- children: [/* @__PURE__ */ T("option", {
1471
+ value: C,
1472
+ onChange: (e) => w(e.target.value),
1473
+ children: [/* @__PURE__ */ D("option", {
1509
1474
  value: "",
1510
1475
  children: "Not linked"
1511
- }), r.map((e) => /* @__PURE__ */ T("option", {
1476
+ }), i.map((e) => /* @__PURE__ */ D("option", {
1512
1477
  value: e,
1513
1478
  children: e
1514
1479
  }, e))]
1515
- }), /* @__PURE__ */ T(A, {
1480
+ }), /* @__PURE__ */ D(M, {
1516
1481
  className: "lucide",
1517
1482
  "aria-hidden": "true"
1518
1483
  })]
@@ -1520,9 +1485,9 @@ function Ie({ data: e = {}, actions: t = {} } = {}) {
1520
1485
  })
1521
1486
  ]
1522
1487
  }),
1523
- /* @__PURE__ */ E("div", {
1488
+ /* @__PURE__ */ O("div", {
1524
1489
  className: "cmg-form-foot",
1525
- children: [/* @__PURE__ */ T("button", {
1490
+ children: [/* @__PURE__ */ D("button", {
1526
1491
  type: "button",
1527
1492
  className: "btn btn-sm btn-primary",
1528
1493
  disabled: !m.trim() || l,
@@ -1531,69 +1496,69 @@ function Ie({ data: e = {}, actions: t = {} } = {}) {
1531
1496
  name: m,
1532
1497
  purpose: g,
1533
1498
  mode: v,
1534
- access: x,
1535
- org: D
1499
+ access: b,
1500
+ org: C
1536
1501
  }),
1537
1502
  children: l ? "creating…" : "create collective"
1538
- }), /* @__PURE__ */ T("span", {
1503
+ }), /* @__PURE__ */ D("span", {
1539
1504
  id: k,
1540
1505
  className: "cmg-form-hint mono",
1541
- children: je.find((e) => e.value === v)?.rationale
1506
+ children: Ae.find((e) => e.value === v)?.rationale
1542
1507
  })]
1543
1508
  })
1544
1509
  ]
1545
1510
  }),
1546
- /* @__PURE__ */ T("ul", {
1511
+ /* @__PURE__ */ D("ul", {
1547
1512
  className: "cmg-grid",
1548
- children: n.map((e) => /* @__PURE__ */ T("li", { children: /* @__PURE__ */ E("button", {
1513
+ children: r.map((e) => /* @__PURE__ */ D("li", { children: /* @__PURE__ */ O("button", {
1549
1514
  type: "button",
1550
1515
  className: "card cmg-col-card",
1551
1516
  onClick: () => d?.(e.id),
1552
1517
  children: [
1553
- /* @__PURE__ */ T("span", {
1518
+ /* @__PURE__ */ D("span", {
1554
1519
  className: "cmg-col-ico",
1555
1520
  "aria-hidden": "true",
1556
- children: /* @__PURE__ */ T(X, { size: 18 })
1521
+ children: /* @__PURE__ */ D(X, { size: 18 })
1557
1522
  }),
1558
- /* @__PURE__ */ E("span", {
1523
+ /* @__PURE__ */ O("span", {
1559
1524
  className: "cmg-col-main",
1560
1525
  children: [
1561
- /* @__PURE__ */ E("span", {
1526
+ /* @__PURE__ */ O("span", {
1562
1527
  className: "cmg-col-head",
1563
- children: [/* @__PURE__ */ T("span", {
1528
+ children: [/* @__PURE__ */ D("span", {
1564
1529
  className: "cmg-col-name",
1565
1530
  children: e.name
1566
- }), /* @__PURE__ */ T(Fe, { mode: e.mode })]
1531
+ }), /* @__PURE__ */ D(Pe, { mode: e.mode })]
1567
1532
  }),
1568
- /* @__PURE__ */ T("span", {
1533
+ /* @__PURE__ */ D("span", {
1569
1534
  className: "cmg-col-desc",
1570
1535
  children: e.desc
1571
1536
  }),
1572
- /* @__PURE__ */ E("span", {
1537
+ /* @__PURE__ */ O("span", {
1573
1538
  className: "cmg-col-foot mono",
1574
1539
  children: [
1575
- /* @__PURE__ */ T("span", {
1540
+ /* @__PURE__ */ D("span", {
1576
1541
  className: "cmg-col-role",
1577
1542
  children: e.role
1578
1543
  }),
1579
- e.since ? /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("span", {
1544
+ e.since ? /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D("span", {
1580
1545
  className: "cmg-dot",
1581
1546
  "aria-hidden": "true",
1582
1547
  children: "·"
1583
- }), /* @__PURE__ */ T("span", { children: e.since })] }) : null,
1584
- e.members == null ? null : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("span", {
1548
+ }), /* @__PURE__ */ D("span", { children: e.since })] }) : null,
1549
+ e.members == null ? null : /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D("span", {
1585
1550
  className: "cmg-dot",
1586
1551
  "aria-hidden": "true",
1587
1552
  children: "·"
1588
- }), /* @__PURE__ */ E("span", {
1553
+ }), /* @__PURE__ */ O("span", {
1589
1554
  className: "tnum",
1590
1555
  children: [e.members, " members"]
1591
1556
  })] }),
1592
- e.transcripts == null ? null : /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ T("span", {
1557
+ e.transcripts == null ? null : /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ D("span", {
1593
1558
  className: "cmg-dot",
1594
1559
  "aria-hidden": "true",
1595
1560
  children: "·"
1596
- }), /* @__PURE__ */ E("span", {
1561
+ }), /* @__PURE__ */ O("span", {
1597
1562
  className: "tnum",
1598
1563
  children: [e.transcripts, " transcripts"]
1599
1564
  })] })
@@ -1601,7 +1566,7 @@ function Ie({ data: e = {}, actions: t = {} } = {}) {
1601
1566
  })
1602
1567
  ]
1603
1568
  }),
1604
- /* @__PURE__ */ T(j, {
1569
+ /* @__PURE__ */ D(N, {
1605
1570
  size: 16,
1606
1571
  "aria-hidden": "true",
1607
1572
  className: "cmg-col-chev"
@@ -1613,12 +1578,12 @@ function Ie({ data: e = {}, actions: t = {} } = {}) {
1613
1578
  })
1614
1579
  });
1615
1580
  }
1616
- var Le = [
1581
+ var Ie = [
1617
1582
  "owner",
1618
1583
  "member",
1619
1584
  "contributor",
1620
1585
  "guest"
1621
- ], Re = [
1586
+ ], Le = [
1622
1587
  {
1623
1588
  id: "claude-code",
1624
1589
  pct: 58
@@ -1635,7 +1600,7 @@ var Le = [
1635
1600
  id: "codex",
1636
1601
  pct: 6
1637
1602
  }
1638
- ], ze = [
1603
+ ], Re = [
1639
1604
  {
1640
1605
  id: "p1",
1641
1606
  provider: "claude-code",
@@ -1654,7 +1619,7 @@ var Le = [
1654
1619
  title: "Multi-agent debugging session",
1655
1620
  by: "@bob-ai"
1656
1621
  }
1657
- ], Be = [
1622
+ ], ze = [
1658
1623
  {
1659
1624
  handle: "@alice-dev",
1660
1625
  name: "Alice Developer",
@@ -1679,7 +1644,7 @@ var Le = [
1679
1644
  role: "contributor",
1680
1645
  n: 9
1681
1646
  }
1682
- ], Ve = [
1647
+ ], Be = [
1683
1648
  {
1684
1649
  id: "r1",
1685
1650
  cat: "CREDENTIAL",
@@ -1720,113 +1685,113 @@ var Le = [
1720
1685
  summary: "local path detected"
1721
1686
  }
1722
1687
  ];
1723
- function He({ item: e }) {
1724
- let [t, n] = C(!1), r = e.confidence < 70;
1725
- return /* @__PURE__ */ E("div", {
1688
+ function Ve({ item: e }) {
1689
+ let [t, n] = T(!1), r = e.confidence < 70;
1690
+ return /* @__PURE__ */ O("div", {
1726
1691
  className: "cmg-redact" + (t ? " cmg-redact-exposed" : "") + (r && !t ? " cmg-redact-low" : ""),
1727
1692
  children: [
1728
- /* @__PURE__ */ E("div", {
1693
+ /* @__PURE__ */ O("div", {
1729
1694
  className: "cmg-redact-head",
1730
- children: [/* @__PURE__ */ E("span", {
1695
+ children: [/* @__PURE__ */ O("span", {
1731
1696
  className: "cmg-redact-badges",
1732
1697
  children: [
1733
- /* @__PURE__ */ T("span", {
1698
+ /* @__PURE__ */ D("span", {
1734
1699
  className: "chip " + e.catTone,
1735
1700
  title: e.tip,
1736
1701
  children: e.catLabel.toLowerCase()
1737
1702
  }),
1738
- /* @__PURE__ */ E("span", {
1703
+ /* @__PURE__ */ O("span", {
1739
1704
  className: "chip " + (r ? "chip-warn" : ""),
1740
1705
  children: [
1741
- r ? /* @__PURE__ */ T(D, {
1706
+ r ? /* @__PURE__ */ D(k, {
1742
1707
  size: 13,
1743
1708
  "aria-hidden": "true"
1744
1709
  }) : null,
1745
- /* @__PURE__ */ E("span", {
1710
+ /* @__PURE__ */ O("span", {
1746
1711
  className: "tnum",
1747
1712
  children: [e.confidence, "%"]
1748
1713
  }),
1749
1714
  " confidence"
1750
1715
  ]
1751
1716
  }),
1752
- t ? /* @__PURE__ */ T("span", {
1717
+ t ? /* @__PURE__ */ D("span", {
1753
1718
  className: "chip chip-err",
1754
1719
  children: "un-redacted"
1755
1720
  }) : null
1756
1721
  ]
1757
- }), /* @__PURE__ */ T("span", {
1722
+ }), /* @__PURE__ */ D("span", {
1758
1723
  className: "cmg-redact-file mono",
1759
1724
  children: e.file
1760
1725
  })]
1761
1726
  }),
1762
- /* @__PURE__ */ T("p", {
1727
+ /* @__PURE__ */ D("p", {
1763
1728
  className: "cmg-redact-summary mono",
1764
1729
  children: e.summary
1765
1730
  }),
1766
- /* @__PURE__ */ E("div", {
1731
+ /* @__PURE__ */ O("div", {
1767
1732
  className: "diff cmg-redact-diff",
1768
1733
  children: [
1769
- /* @__PURE__ */ E("div", {
1734
+ /* @__PURE__ */ O("div", {
1770
1735
  className: "dl ctx",
1771
1736
  children: [
1772
- /* @__PURE__ */ T("span", { className: "rail" }),
1773
- /* @__PURE__ */ T("span", {
1737
+ /* @__PURE__ */ D("span", { className: "rail" }),
1738
+ /* @__PURE__ */ D("span", {
1774
1739
  className: "gut tnum",
1775
1740
  children: e.line - 1
1776
1741
  }),
1777
- /* @__PURE__ */ T("span", { className: "sign" }),
1778
- /* @__PURE__ */ T("span", {
1742
+ /* @__PURE__ */ D("span", { className: "sign" }),
1743
+ /* @__PURE__ */ D("span", {
1779
1744
  className: "t",
1780
1745
  children: "func configure() {"
1781
1746
  })
1782
1747
  ]
1783
1748
  }),
1784
- /* @__PURE__ */ E("div", {
1749
+ /* @__PURE__ */ O("div", {
1785
1750
  className: "dl del",
1786
1751
  children: [
1787
- /* @__PURE__ */ T("span", { className: "rail" }),
1788
- /* @__PURE__ */ T("span", {
1752
+ /* @__PURE__ */ D("span", { className: "rail" }),
1753
+ /* @__PURE__ */ D("span", {
1789
1754
  className: "gut tnum",
1790
1755
  children: e.line
1791
1756
  }),
1792
- /* @__PURE__ */ T("span", {
1757
+ /* @__PURE__ */ D("span", {
1793
1758
  className: "sign",
1794
1759
  children: "−"
1795
1760
  }),
1796
- /* @__PURE__ */ T("span", {
1761
+ /* @__PURE__ */ D("span", {
1797
1762
  className: "t cmg-strike",
1798
1763
  children: e.original
1799
1764
  })
1800
1765
  ]
1801
1766
  }),
1802
- /* @__PURE__ */ E("div", {
1767
+ /* @__PURE__ */ O("div", {
1803
1768
  className: "dl add",
1804
1769
  children: [
1805
- /* @__PURE__ */ T("span", { className: "rail" }),
1806
- /* @__PURE__ */ T("span", {
1770
+ /* @__PURE__ */ D("span", { className: "rail" }),
1771
+ /* @__PURE__ */ D("span", {
1807
1772
  className: "gut tnum",
1808
1773
  children: e.line
1809
1774
  }),
1810
- /* @__PURE__ */ T("span", {
1775
+ /* @__PURE__ */ D("span", {
1811
1776
  className: "sign",
1812
1777
  children: "+"
1813
1778
  }),
1814
- /* @__PURE__ */ T("span", {
1779
+ /* @__PURE__ */ D("span", {
1815
1780
  className: "t",
1816
1781
  children: e.replacement
1817
1782
  })
1818
1783
  ]
1819
1784
  }),
1820
- /* @__PURE__ */ E("div", {
1785
+ /* @__PURE__ */ O("div", {
1821
1786
  className: "dl ctx",
1822
1787
  children: [
1823
- /* @__PURE__ */ T("span", { className: "rail" }),
1824
- /* @__PURE__ */ T("span", {
1788
+ /* @__PURE__ */ D("span", { className: "rail" }),
1789
+ /* @__PURE__ */ D("span", {
1825
1790
  className: "gut tnum",
1826
1791
  children: e.line + 1
1827
1792
  }),
1828
- /* @__PURE__ */ T("span", { className: "sign" }),
1829
- /* @__PURE__ */ T("span", {
1793
+ /* @__PURE__ */ D("span", { className: "sign" }),
1794
+ /* @__PURE__ */ D("span", {
1830
1795
  className: "t",
1831
1796
  children: "}"
1832
1797
  })
@@ -1834,33 +1799,33 @@ function He({ item: e }) {
1834
1799
  })
1835
1800
  ]
1836
1801
  }),
1837
- /* @__PURE__ */ E("div", {
1802
+ /* @__PURE__ */ O("div", {
1838
1803
  className: "cmg-redact-foot",
1839
- children: [t ? /* @__PURE__ */ E("span", {
1804
+ children: [t ? /* @__PURE__ */ O("span", {
1840
1805
  className: "cmg-redact-warn mono",
1841
- children: [/* @__PURE__ */ T(D, {
1806
+ children: [/* @__PURE__ */ D(k, {
1842
1807
  size: 13,
1843
1808
  "aria-hidden": "true"
1844
1809
  }), " this content will be exposed"]
1845
- }) : /* @__PURE__ */ E("span", {
1810
+ }) : /* @__PURE__ */ O("span", {
1846
1811
  className: "cmg-redact-safe mono",
1847
- children: [/* @__PURE__ */ T(q, {
1812
+ children: [/* @__PURE__ */ D(ie, {
1848
1813
  size: 13,
1849
1814
  "aria-hidden": "true"
1850
1815
  }), " redacted (safe default)"]
1851
- }), t ? /* @__PURE__ */ E("button", {
1816
+ }), t ? /* @__PURE__ */ O("button", {
1852
1817
  type: "button",
1853
1818
  className: "btn btn-sm btn-secondary",
1854
1819
  onClick: () => n(!1),
1855
- children: [/* @__PURE__ */ T(L, {
1820
+ children: [/* @__PURE__ */ D(z, {
1856
1821
  size: 14,
1857
1822
  "aria-hidden": "true"
1858
1823
  }), " redact"]
1859
- }) : /* @__PURE__ */ E("button", {
1824
+ }) : /* @__PURE__ */ O("button", {
1860
1825
  type: "button",
1861
1826
  className: "btn btn-sm btn-danger",
1862
1827
  onClick: () => n(!0),
1863
- children: [/* @__PURE__ */ T(I, {
1828
+ children: [/* @__PURE__ */ D(R, {
1864
1829
  size: 14,
1865
1830
  "aria-hidden": "true"
1866
1831
  }), " opt out"]
@@ -1869,12 +1834,12 @@ function He({ item: e }) {
1869
1834
  ]
1870
1835
  });
1871
1836
  }
1872
- function Ue({ data: e = {}, actions: t = {} } = {}) {
1837
+ function He({ data: e = {}, actions: n = {} } = {}) {
1873
1838
  let { collective: r = {
1874
1839
  name: "AI Research Team",
1875
1840
  description: "Sharing transcripts related to AI research",
1876
1841
  linkedGithubOrg: "@anthropic-labs"
1877
- }, providerShare: i = Re, pendingReview: o = ze, members: s = Be, redactions: c = Ve, browseRows: u = [
1842
+ }, providerShare: i = Le, pendingReview: a = Re, members: o = ze, redactions: s = Be, browseRows: c = [
1878
1843
  {
1879
1844
  title: "Building a REST API from scratch",
1880
1845
  contributor: "@alice-dev",
@@ -1902,57 +1867,57 @@ function Ue({ data: e = {}, actions: t = {} } = {}) {
1902
1867
  tokens: "121K",
1903
1868
  date: "Jun 12"
1904
1869
  }
1905
- ], roleOptions: d = Le, initialRole: f = "owner", initialShowRedaction: m = !0, initialBrowseGated: h = !1, targetCollective: _ = Ke, stats: v = {
1870
+ ], roleOptions: l = Ie, initialRole: u = "owner", initialShowRedaction: f = !0, initialBrowseGated: p = !1, targetCollective: _ = Ge, stats: v = {
1906
1871
  transcripts: "248",
1907
1872
  projects: "31 projects",
1908
1873
  tokens: "4.2M",
1909
1874
  turns: "18.4K turns",
1910
1875
  contributors: "12",
1911
1876
  hours: "63h total"
1912
- } } = e, { onRoleChange: y, onJoin: b, onLeave: x, onSettings: S, onToggleBrowse: D, onContribute: O } = t, [k, N] = C(f), [P, F] = C(m), [L, R] = C(h), B = k === "owner", V = k === "guest", ee = (e) => {
1913
- N(e), y?.(e);
1877
+ } } = e, { onRoleChange: y, onJoin: x, onLeave: S, onSettings: C, onToggleBrowse: w, onContribute: k } = n, [A, j] = T(u), [F, I] = T(f), [L, z] = T(p), B = A === "owner", H = A === "guest", U = (e) => {
1878
+ j(e), y?.(e);
1914
1879
  };
1915
- return /* @__PURE__ */ T("div", {
1880
+ return /* @__PURE__ */ D("div", {
1916
1881
  className: "cmg-root",
1917
- children: /* @__PURE__ */ E("div", {
1882
+ children: /* @__PURE__ */ O("div", {
1918
1883
  className: "cmg-detail",
1919
1884
  children: [
1920
- /* @__PURE__ */ E("header", {
1885
+ /* @__PURE__ */ O("header", {
1921
1886
  className: "cmg-d-hero",
1922
- children: [/* @__PURE__ */ E("div", {
1887
+ children: [/* @__PURE__ */ O("div", {
1923
1888
  className: "crumb cmg-crumb",
1924
1889
  children: [
1925
1890
  "village ",
1926
- /* @__PURE__ */ T(j, {
1891
+ /* @__PURE__ */ D(N, {
1927
1892
  size: 13,
1928
1893
  "aria-hidden": "true"
1929
1894
  }),
1930
1895
  " collectives ",
1931
- /* @__PURE__ */ T(j, {
1896
+ /* @__PURE__ */ D(N, {
1932
1897
  size: 13,
1933
1898
  "aria-hidden": "true"
1934
1899
  }),
1935
1900
  " ",
1936
- /* @__PURE__ */ T("span", {
1901
+ /* @__PURE__ */ D("span", {
1937
1902
  className: "cur",
1938
1903
  children: r.name
1939
1904
  })
1940
1905
  ]
1941
- }), /* @__PURE__ */ E("div", {
1906
+ }), /* @__PURE__ */ O("div", {
1942
1907
  className: "cmg-d-hero-row",
1943
- children: [/* @__PURE__ */ E("div", { children: [
1944
- /* @__PURE__ */ T("h2", {
1908
+ children: [/* @__PURE__ */ O("div", { children: [
1909
+ /* @__PURE__ */ D("h2", {
1945
1910
  className: "cmg-title",
1946
1911
  children: r.name
1947
1912
  }),
1948
- /* @__PURE__ */ T("p", {
1913
+ /* @__PURE__ */ D("p", {
1949
1914
  className: "cmg-deck",
1950
1915
  children: r.description
1951
1916
  }),
1952
- /* @__PURE__ */ E("span", {
1917
+ /* @__PURE__ */ O("span", {
1953
1918
  className: "cmg-orgpill mono",
1954
1919
  children: [
1955
- /* @__PURE__ */ T(z, {
1920
+ /* @__PURE__ */ D(V, {
1956
1921
  size: 13,
1957
1922
  "aria-hidden": "true"
1958
1923
  }),
@@ -1960,53 +1925,53 @@ function Ue({ data: e = {}, actions: t = {} } = {}) {
1960
1925
  r.linkedGithubOrg || "not linked"
1961
1926
  ]
1962
1927
  })
1963
- ] }), /* @__PURE__ */ E("div", {
1928
+ ] }), /* @__PURE__ */ O("div", {
1964
1929
  className: "cmg-d-actions btn-row",
1965
1930
  children: [
1966
- /* @__PURE__ */ T("div", {
1931
+ /* @__PURE__ */ D("div", {
1967
1932
  className: "cmg-roleswitch",
1968
1933
  role: "group",
1969
1934
  "aria-label": "view as role",
1970
- children: d.map((e) => /* @__PURE__ */ T("button", {
1935
+ children: l.map((e) => /* @__PURE__ */ D("button", {
1971
1936
  type: "button",
1972
1937
  className: "cmg-roleseg",
1973
- "aria-pressed": k === e,
1974
- onClick: () => ee(e),
1938
+ "aria-pressed": A === e,
1939
+ onClick: () => U(e),
1975
1940
  children: e
1976
1941
  }, e))
1977
1942
  }),
1978
- V && /* @__PURE__ */ E("button", {
1943
+ H && /* @__PURE__ */ O("button", {
1979
1944
  type: "button",
1980
1945
  className: "btn btn-sm btn-primary",
1981
- onClick: () => b?.(),
1982
- children: [/* @__PURE__ */ T(Y, {
1946
+ onClick: () => x?.(),
1947
+ children: [/* @__PURE__ */ D(Y, {
1983
1948
  size: 14,
1984
1949
  "aria-hidden": "true"
1985
1950
  }), " join as contributor"]
1986
1951
  }),
1987
- (k === "member" || k === "contributor") && /* @__PURE__ */ E("button", {
1952
+ (A === "member" || A === "contributor") && /* @__PURE__ */ O("button", {
1988
1953
  type: "button",
1989
1954
  className: "btn btn-sm btn-primary",
1990
- onClick: () => O?.(),
1991
- children: [/* @__PURE__ */ T(re, {
1955
+ onClick: () => k?.(),
1956
+ children: [/* @__PURE__ */ D(J, {
1992
1957
  size: 14,
1993
1958
  "aria-hidden": "true"
1994
1959
  }), " contribute"]
1995
1960
  }),
1996
- (k === "member" || k === "contributor") && /* @__PURE__ */ E("button", {
1961
+ (A === "member" || A === "contributor") && /* @__PURE__ */ O("button", {
1997
1962
  type: "button",
1998
1963
  className: "btn btn-sm btn-danger",
1999
- onClick: () => x?.(),
2000
- children: [/* @__PURE__ */ T(U, {
1964
+ onClick: () => S?.(),
1965
+ children: [/* @__PURE__ */ D(G, {
2001
1966
  size: 14,
2002
1967
  "aria-hidden": "true"
2003
1968
  }), " leave"]
2004
1969
  }),
2005
- B && /* @__PURE__ */ E("button", {
1970
+ B && /* @__PURE__ */ O("button", {
2006
1971
  type: "button",
2007
1972
  className: "btn btn-sm btn-secondary",
2008
- onClick: () => S?.(),
2009
- children: [/* @__PURE__ */ T(G, {
1973
+ onClick: () => C?.(),
1974
+ children: [/* @__PURE__ */ D(K, {
2010
1975
  size: 14,
2011
1976
  "aria-hidden": "true"
2012
1977
  }), " settings"]
@@ -2015,26 +1980,26 @@ function Ue({ data: e = {}, actions: t = {} } = {}) {
2015
1980
  })]
2016
1981
  })]
2017
1982
  }),
2018
- /* @__PURE__ */ E("div", {
1983
+ /* @__PURE__ */ O("div", {
2019
1984
  className: "cmg-tiles",
2020
1985
  children: [
2021
- /* @__PURE__ */ T(g, {
1986
+ /* @__PURE__ */ D(d, {
2022
1987
  label: "contributions",
2023
1988
  value: r.acceptanceMode || "open",
2024
1989
  tone: "teal"
2025
1990
  }),
2026
- /* @__PURE__ */ T(g, {
1991
+ /* @__PURE__ */ D(d, {
2027
1992
  label: "access",
2028
1993
  value: r.dataAccess || "members only",
2029
1994
  tone: "amber"
2030
1995
  }),
2031
- /* @__PURE__ */ T(g, {
1996
+ /* @__PURE__ */ D(d, {
2032
1997
  label: "your role",
2033
- value: k
1998
+ value: A
2034
1999
  })
2035
2000
  ]
2036
2001
  }),
2037
- /* @__PURE__ */ T(p, { tiles: [
2002
+ /* @__PURE__ */ D(h, { tiles: [
2038
2003
  {
2039
2004
  key: "transcripts",
2040
2005
  label: "transcripts",
@@ -2054,19 +2019,19 @@ function Ue({ data: e = {}, actions: t = {} } = {}) {
2054
2019
  sub: v.hours
2055
2020
  }
2056
2021
  ] }),
2057
- /* @__PURE__ */ E("div", {
2022
+ /* @__PURE__ */ O("div", {
2058
2023
  className: "cmg-d-grid",
2059
- children: [/* @__PURE__ */ E("main", {
2024
+ children: [/* @__PURE__ */ O("main", {
2060
2025
  className: "cmg-d-main",
2061
2026
  children: [
2062
- /* @__PURE__ */ E("section", {
2027
+ /* @__PURE__ */ O("section", {
2063
2028
  className: "card cmg-share",
2064
2029
  "aria-labelledby": "cmg-share-h",
2065
- children: [/* @__PURE__ */ T("h3", {
2030
+ children: [/* @__PURE__ */ D("h3", {
2066
2031
  id: "cmg-share-h",
2067
2032
  className: "cmg-sub",
2068
2033
  children: "provider share"
2069
- }), /* @__PURE__ */ T(a, {
2034
+ }), /* @__PURE__ */ D(g, {
2070
2035
  label: "provider share",
2071
2036
  total: 100,
2072
2037
  data: i.map((e) => ({
@@ -2075,15 +2040,15 @@ function Ue({ data: e = {}, actions: t = {} } = {}) {
2075
2040
  }))
2076
2041
  })]
2077
2042
  }),
2078
- B && /* @__PURE__ */ T("div", {
2043
+ B && /* @__PURE__ */ D("div", {
2079
2044
  style: {
2080
2045
  overflow: "auto",
2081
2046
  maxWidth: "100%"
2082
2047
  },
2083
- children: /* @__PURE__ */ T(n, {
2048
+ children: /* @__PURE__ */ D(m, {
2084
2049
  title: "pending review",
2085
2050
  emptyLabel: "no shares awaiting review.",
2086
- items: o.map((e) => ({
2051
+ items: a.map((e) => ({
2087
2052
  id: e.id,
2088
2053
  kind: "share",
2089
2054
  who: e.title,
@@ -2091,133 +2056,133 @@ function Ue({ data: e = {}, actions: t = {} } = {}) {
2091
2056
  }))
2092
2057
  })
2093
2058
  }),
2094
- /* @__PURE__ */ E("section", {
2059
+ /* @__PURE__ */ O("section", {
2095
2060
  className: "card cmg-redact-sec",
2096
2061
  "aria-labelledby": "cmg-redact-h",
2097
- children: [/* @__PURE__ */ E("div", {
2062
+ children: [/* @__PURE__ */ O("div", {
2098
2063
  className: "cmg-queue-head",
2099
- children: [/* @__PURE__ */ E("h3", {
2064
+ children: [/* @__PURE__ */ O("h3", {
2100
2065
  id: "cmg-redact-h",
2101
2066
  className: "cmg-sub",
2102
- children: [/* @__PURE__ */ T(K, {
2067
+ children: [/* @__PURE__ */ D(q, {
2103
2068
  size: 15,
2104
2069
  "aria-hidden": "true"
2105
2070
  }), " redaction review"]
2106
- }), /* @__PURE__ */ E("button", {
2071
+ }), /* @__PURE__ */ O("button", {
2107
2072
  type: "button",
2108
2073
  className: "btn btn-sm btn-ghost",
2109
- "aria-expanded": P,
2110
- onClick: () => F((e) => !e),
2111
- children: [T(P ? A : j, {
2074
+ "aria-expanded": F,
2075
+ onClick: () => I((e) => !e),
2076
+ children: [D(F ? M : N, {
2112
2077
  size: 14,
2113
2078
  "aria-hidden": "true"
2114
- }), P ? "hide" : "show"]
2079
+ }), F ? "hide" : "show"]
2115
2080
  })]
2116
- }), P && /* @__PURE__ */ E(w, { children: [/* @__PURE__ */ E("div", {
2081
+ }), F && /* @__PURE__ */ O(E, { children: [/* @__PURE__ */ O("div", {
2117
2082
  className: "callout cmg-redact-note",
2118
- children: [/* @__PURE__ */ T(K, {
2083
+ children: [/* @__PURE__ */ D(q, {
2119
2084
  size: 16,
2120
2085
  "aria-hidden": "true"
2121
- }), /* @__PURE__ */ T("div", { children: "safe by default: every detected item stays redacted unless you opt out per item. there is no bulk accept." })]
2122
- }), /* @__PURE__ */ T("div", {
2086
+ }), /* @__PURE__ */ D("div", { children: "safe by default: every detected item stays redacted unless you opt out per item. there is no bulk accept." })]
2087
+ }), /* @__PURE__ */ D("div", {
2123
2088
  className: "cmg-redact-list",
2124
- children: c.map((e) => /* @__PURE__ */ T(He, { item: e }, e.id))
2089
+ children: s.map((e) => /* @__PURE__ */ D(Ve, { item: e }, e.id))
2125
2090
  })] })]
2126
2091
  }),
2127
- /* @__PURE__ */ E("section", {
2092
+ /* @__PURE__ */ O("section", {
2128
2093
  className: "card cmg-browser",
2129
2094
  "aria-labelledby": "cmg-browser-h",
2130
- children: [/* @__PURE__ */ E("div", {
2095
+ children: [/* @__PURE__ */ O("div", {
2131
2096
  className: "cmg-queue-head",
2132
- children: [/* @__PURE__ */ T("h3", {
2097
+ children: [/* @__PURE__ */ D("h3", {
2133
2098
  id: "cmg-browser-h",
2134
2099
  className: "cmg-sub",
2135
2100
  children: "data"
2136
- }), /* @__PURE__ */ E("button", {
2101
+ }), /* @__PURE__ */ O("button", {
2137
2102
  type: "button",
2138
2103
  className: "btn btn-sm btn-ghost",
2139
2104
  "aria-pressed": L,
2140
2105
  onClick: () => {
2141
- R((e) => {
2106
+ z((e) => {
2142
2107
  let t = !e;
2143
- return D?.(t), t;
2108
+ return w?.(t), t;
2144
2109
  });
2145
2110
  },
2146
- children: [T(L ? H : I, {
2111
+ children: [D(L ? W : R, {
2147
2112
  size: 14,
2148
2113
  "aria-hidden": "true"
2149
2114
  }), L ? "gated view" : "open view"]
2150
2115
  })]
2151
- }), L ? /* @__PURE__ */ E("div", {
2116
+ }), L ? /* @__PURE__ */ O("div", {
2152
2117
  className: "empty cmg-locked",
2153
2118
  children: [
2154
- /* @__PURE__ */ T("span", {
2119
+ /* @__PURE__ */ D("span", {
2155
2120
  className: "ring",
2156
- children: /* @__PURE__ */ T(H, {
2121
+ children: /* @__PURE__ */ D(W, {
2157
2122
  size: 20,
2158
2123
  "aria-hidden": "true"
2159
2124
  })
2160
2125
  }),
2161
- /* @__PURE__ */ T("h3", { children: "data access restricted" }),
2162
- /* @__PURE__ */ T("p", { children: "this collective is members-only. join as a full member to browse the dataset." }),
2163
- V && /* @__PURE__ */ E("button", {
2126
+ /* @__PURE__ */ D("h3", { children: "data access restricted" }),
2127
+ /* @__PURE__ */ D("p", { children: "this collective is members-only. join as a full member to browse the dataset." }),
2128
+ H && /* @__PURE__ */ O("button", {
2164
2129
  type: "button",
2165
2130
  className: "btn btn-sm btn-primary",
2166
- children: [/* @__PURE__ */ T(Y, {
2131
+ children: [/* @__PURE__ */ D(Y, {
2167
2132
  size: 14,
2168
2133
  "aria-hidden": "true"
2169
2134
  }), " join as contributor"]
2170
2135
  })
2171
2136
  ]
2172
- }) : /* @__PURE__ */ E("table", {
2137
+ }) : /* @__PURE__ */ O("table", {
2173
2138
  className: "dtable cmg-dtable",
2174
- children: [/* @__PURE__ */ T("thead", { children: /* @__PURE__ */ E("tr", { children: [
2175
- /* @__PURE__ */ T("th", {
2139
+ children: [/* @__PURE__ */ D("thead", { children: /* @__PURE__ */ O("tr", { children: [
2140
+ /* @__PURE__ */ D("th", {
2176
2141
  scope: "col",
2177
2142
  children: "title"
2178
2143
  }),
2179
- /* @__PURE__ */ T("th", {
2144
+ /* @__PURE__ */ D("th", {
2180
2145
  scope: "col",
2181
2146
  children: "contributor"
2182
2147
  }),
2183
- /* @__PURE__ */ T("th", {
2148
+ /* @__PURE__ */ D("th", {
2184
2149
  scope: "col",
2185
2150
  children: "provider"
2186
2151
  }),
2187
- /* @__PURE__ */ T("th", {
2152
+ /* @__PURE__ */ D("th", {
2188
2153
  scope: "col",
2189
2154
  className: "cmg-num",
2190
2155
  children: "turns"
2191
2156
  }),
2192
- /* @__PURE__ */ T("th", {
2157
+ /* @__PURE__ */ D("th", {
2193
2158
  scope: "col",
2194
2159
  className: "cmg-num",
2195
2160
  children: "tokens"
2196
2161
  }),
2197
- /* @__PURE__ */ T("th", {
2162
+ /* @__PURE__ */ D("th", {
2198
2163
  scope: "col",
2199
2164
  children: "date"
2200
2165
  })
2201
- ] }) }), /* @__PURE__ */ T("tbody", { children: u.map((e) => /* @__PURE__ */ E("tr", { children: [
2202
- /* @__PURE__ */ T("td", { children: e.title }),
2203
- /* @__PURE__ */ T("td", {
2166
+ ] }) }), /* @__PURE__ */ D("tbody", { children: c.map((e) => /* @__PURE__ */ O("tr", { children: [
2167
+ /* @__PURE__ */ D("td", { children: e.title }),
2168
+ /* @__PURE__ */ D("td", {
2204
2169
  className: "mono",
2205
2170
  children: e.contributor
2206
2171
  }),
2207
- /* @__PURE__ */ E("td", { children: [
2208
- /* @__PURE__ */ T(Te, { id: e.providerId || "codex" }),
2172
+ /* @__PURE__ */ O("td", { children: [
2173
+ /* @__PURE__ */ D(b, { harness: e.providerId }),
2209
2174
  " ",
2210
- e.provider
2175
+ we(e.providerId)
2211
2176
  ] }),
2212
- /* @__PURE__ */ T("td", {
2177
+ /* @__PURE__ */ D("td", {
2213
2178
  className: "cmg-num tnum",
2214
2179
  children: e.turns
2215
2180
  }),
2216
- /* @__PURE__ */ T("td", {
2181
+ /* @__PURE__ */ D("td", {
2217
2182
  className: "cmg-num tnum",
2218
2183
  children: e.tokens
2219
2184
  }),
2220
- /* @__PURE__ */ T("td", {
2185
+ /* @__PURE__ */ D("td", {
2221
2186
  className: "mono tnum",
2222
2187
  children: e.date
2223
2188
  })
@@ -2225,16 +2190,16 @@ function Ue({ data: e = {}, actions: t = {} } = {}) {
2225
2190
  })]
2226
2191
  })
2227
2192
  ]
2228
- }), /* @__PURE__ */ E("aside", {
2193
+ }), /* @__PURE__ */ O("aside", {
2229
2194
  className: "sidebar cmg-d-rail",
2230
2195
  "aria-label": "collective sidebar",
2231
2196
  children: [
2232
- B && /* @__PURE__ */ T("div", {
2197
+ B && /* @__PURE__ */ D("div", {
2233
2198
  style: {
2234
2199
  overflow: "auto",
2235
2200
  maxWidth: "100%"
2236
2201
  },
2237
- children: /* @__PURE__ */ T(n, {
2202
+ children: /* @__PURE__ */ D(m, {
2238
2203
  title: "pending requests",
2239
2204
  emptyLabel: "no pending requests.",
2240
2205
  items: [{
@@ -2244,15 +2209,15 @@ function Ue({ data: e = {}, actions: t = {} } = {}) {
2244
2209
  }]
2245
2210
  })
2246
2211
  }),
2247
- /* @__PURE__ */ T("div", {
2212
+ /* @__PURE__ */ D("div", {
2248
2213
  style: {
2249
2214
  overflow: "auto",
2250
2215
  maxWidth: "100%"
2251
2216
  },
2252
- children: /* @__PURE__ */ T(l, {
2217
+ children: /* @__PURE__ */ D(t, {
2253
2218
  title: "members",
2254
2219
  roles: ["member", "contributor"],
2255
- members: s.map((e) => ({
2220
+ members: o.map((e) => ({
2256
2221
  handle: e.handle,
2257
2222
  name: e.name,
2258
2223
  role: e.role,
@@ -2260,11 +2225,11 @@ function Ue({ data: e = {}, actions: t = {} } = {}) {
2260
2225
  }))
2261
2226
  })
2262
2227
  }),
2263
- /* @__PURE__ */ E("div", {
2228
+ /* @__PURE__ */ O("div", {
2264
2229
  className: "sb-sec",
2265
- children: [/* @__PURE__ */ E("div", {
2230
+ children: [/* @__PURE__ */ O("div", {
2266
2231
  className: "sb-head",
2267
- children: [/* @__PURE__ */ T(z, {
2232
+ children: [/* @__PURE__ */ D(V, {
2268
2233
  size: 14,
2269
2234
  "aria-hidden": "true",
2270
2235
  style: {
@@ -2272,12 +2237,12 @@ function Ue({ data: e = {}, actions: t = {} } = {}) {
2272
2237
  marginRight: 6
2273
2238
  }
2274
2239
  }), " linked repositories"]
2275
- }), /* @__PURE__ */ E("div", {
2240
+ }), /* @__PURE__ */ O("div", {
2276
2241
  className: "cmg-repo-note callout",
2277
- children: [/* @__PURE__ */ T(M, {
2242
+ children: [/* @__PURE__ */ D(P, {
2278
2243
  size: 16,
2279
2244
  "aria-hidden": "true"
2280
- }), /* @__PURE__ */ T("div", { children: r.linkedGithubOrg ? `linked to ${r.linkedGithubOrg}.` : "the github connection isn't set up. an admin must register the github app to overlay commit timelines." })]
2245
+ }), /* @__PURE__ */ D("div", { children: r.linkedGithubOrg ? `linked to ${r.linkedGithubOrg}.` : "the github connection isn't set up. an admin must register the github app to overlay commit timelines." })]
2281
2246
  })]
2282
2247
  })
2283
2248
  ]
@@ -2287,85 +2252,85 @@ function Ue({ data: e = {}, actions: t = {} } = {}) {
2287
2252
  })
2288
2253
  });
2289
2254
  }
2290
- function We() {
2291
- let [e, n] = C("AI Research Team"), [r, a] = C("Sharing transcripts related to AI research"), [o, c] = C("curated"), [p, m] = C("members_only"), [h, g] = C(!0), [y, b] = C("user_choice"), [x, S] = C(!1);
2292
- return /* @__PURE__ */ T("div", {
2255
+ function Ue() {
2256
+ let [e, i] = T("AI Research Team"), [o, d] = T("Sharing transcripts related to AI research"), [f, p] = T("curated"), [m, h] = T("members_only"), [g, v] = T(!0), [y, b] = T("user_choice"), [x, S] = T(!1);
2257
+ return /* @__PURE__ */ D("div", {
2293
2258
  className: "cmg-root cmg-settings",
2294
- children: /* @__PURE__ */ E("div", {
2259
+ children: /* @__PURE__ */ O("div", {
2295
2260
  className: "cmg-detail",
2296
2261
  children: [
2297
- /* @__PURE__ */ E("div", {
2262
+ /* @__PURE__ */ O("div", {
2298
2263
  className: "crumb cmg-crumb",
2299
2264
  children: [
2300
2265
  "village ",
2301
- /* @__PURE__ */ T(j, {
2266
+ /* @__PURE__ */ D(N, {
2302
2267
  size: 13,
2303
2268
  "aria-hidden": "true"
2304
2269
  }),
2305
2270
  " collectives ",
2306
- /* @__PURE__ */ T(j, {
2271
+ /* @__PURE__ */ D(N, {
2307
2272
  size: 13,
2308
2273
  "aria-hidden": "true"
2309
2274
  }),
2310
- /* @__PURE__ */ T("span", {
2275
+ /* @__PURE__ */ D("span", {
2311
2276
  className: "cur",
2312
2277
  children: "settings"
2313
2278
  })
2314
2279
  ]
2315
2280
  }),
2316
- /* @__PURE__ */ T("header", {
2281
+ /* @__PURE__ */ D("header", {
2317
2282
  className: "cmg-d-hero",
2318
- children: /* @__PURE__ */ E("div", {
2283
+ children: /* @__PURE__ */ O("div", {
2319
2284
  className: "cmg-d-hero-row",
2320
- children: [/* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
2285
+ children: [/* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("h2", {
2321
2286
  className: "cmg-title",
2322
2287
  children: "collective settings"
2323
- }), /* @__PURE__ */ T("p", {
2288
+ }), /* @__PURE__ */ D("p", {
2324
2289
  className: "cmg-deck",
2325
2290
  children: "edit how this collective accepts contributions and shares data."
2326
- })] }), /* @__PURE__ */ T(v, { children: "settings" })]
2291
+ })] }), /* @__PURE__ */ D(_, { children: "settings" })]
2327
2292
  })
2328
2293
  }),
2329
- /* @__PURE__ */ E("div", {
2294
+ /* @__PURE__ */ O("div", {
2330
2295
  className: "cmg-d-grid",
2331
- children: [/* @__PURE__ */ E("main", {
2296
+ children: [/* @__PURE__ */ O("main", {
2332
2297
  className: "cmg-d-main",
2333
- children: [/* @__PURE__ */ E("form", {
2298
+ children: [/* @__PURE__ */ O("form", {
2334
2299
  className: "card cmg-settings-form",
2335
2300
  onSubmit: (e) => {
2336
2301
  e.preventDefault(), S(!0), window.setTimeout(() => S(!1), 1800);
2337
2302
  },
2338
- children: [/* @__PURE__ */ E("div", {
2303
+ children: [/* @__PURE__ */ O("div", {
2339
2304
  className: "cmg-queue-head",
2340
- children: [/* @__PURE__ */ T("h3", {
2305
+ children: [/* @__PURE__ */ D("h3", {
2341
2306
  className: "cmg-sub",
2342
2307
  children: "general"
2343
- }), x ? /* @__PURE__ */ T("span", {
2308
+ }), x ? /* @__PURE__ */ D("span", {
2344
2309
  className: "chip chip-ok",
2345
2310
  children: "saved"
2346
2311
  }) : null]
2347
- }), /* @__PURE__ */ E("div", {
2312
+ }), /* @__PURE__ */ O("div", {
2348
2313
  className: "cmg-settings-stack",
2349
2314
  children: [
2350
- /* @__PURE__ */ T(u, {
2315
+ /* @__PURE__ */ D(c, {
2351
2316
  label: "Name",
2352
2317
  id: "cmg-name",
2353
2318
  value: e,
2354
- onChange: (e) => n(e.target.value),
2319
+ onChange: (e) => i(e.target.value),
2355
2320
  required: !0
2356
2321
  }),
2357
- /* @__PURE__ */ T(i, {
2322
+ /* @__PURE__ */ D(r, {
2358
2323
  label: "Description",
2359
2324
  id: "cmg-description",
2360
- value: r,
2361
- onChange: (e) => a(e.target.value),
2325
+ value: o,
2326
+ onChange: (e) => d(e.target.value),
2362
2327
  rows: 2
2363
2328
  }),
2364
- /* @__PURE__ */ T(f, {
2329
+ /* @__PURE__ */ D(u, {
2365
2330
  label: "Acceptance mode",
2366
2331
  id: "cmg-acceptance",
2367
- value: o,
2368
- onChange: (e) => c(e.target.value),
2332
+ value: f,
2333
+ onChange: (e) => p(e.target.value),
2369
2334
  options: [
2370
2335
  {
2371
2336
  value: "open",
@@ -2381,11 +2346,11 @@ function We() {
2381
2346
  }
2382
2347
  ]
2383
2348
  }),
2384
- /* @__PURE__ */ T(f, {
2349
+ /* @__PURE__ */ D(u, {
2385
2350
  label: "Data access",
2386
2351
  id: "cmg-access",
2387
- value: p,
2388
- onChange: (e) => m(e.target.value),
2352
+ value: m,
2353
+ onChange: (e) => h(e.target.value),
2389
2354
  options: [
2390
2355
  {
2391
2356
  value: "members_only",
@@ -2401,92 +2366,92 @@ function We() {
2401
2366
  }
2402
2367
  ]
2403
2368
  }),
2404
- /* @__PURE__ */ E("div", {
2369
+ /* @__PURE__ */ O("div", {
2405
2370
  className: "sw-stack",
2406
2371
  children: [
2407
- /* @__PURE__ */ T("label", {
2372
+ /* @__PURE__ */ D("label", {
2408
2373
  htmlFor: "cmg-display-members",
2409
2374
  className: "sw-label",
2410
2375
  children: "Show the members card on the collective page"
2411
2376
  }),
2412
- /* @__PURE__ */ T("span", {
2377
+ /* @__PURE__ */ D("span", {
2413
2378
  className: "sw-hint",
2414
2379
  children: "When off, only owners can see the member list."
2415
2380
  }),
2416
- /* @__PURE__ */ T("div", {
2381
+ /* @__PURE__ */ D("div", {
2417
2382
  className: "sw-toggle-row",
2418
- children: /* @__PURE__ */ T(s, {
2383
+ children: /* @__PURE__ */ D(a, {
2419
2384
  id: "cmg-display-members",
2420
- checked: h,
2421
- onChange: (e) => g(e)
2385
+ checked: g,
2386
+ onChange: (e) => v(e)
2422
2387
  })
2423
2388
  })
2424
2389
  ]
2425
2390
  }),
2426
- /* @__PURE__ */ T(d, {
2391
+ /* @__PURE__ */ D(l, {
2427
2392
  name: "cmg-deletion-policy",
2428
2393
  ariaLabel: "Transcript retention on leave",
2429
2394
  value: y,
2430
2395
  onChange: b,
2431
2396
  options: [{
2432
2397
  value: "user_choice",
2433
- label: /* @__PURE__ */ E("span", {
2398
+ label: /* @__PURE__ */ O("span", {
2434
2399
  className: "flex flex-col gap-0.5",
2435
- children: [/* @__PURE__ */ T("span", {
2400
+ children: [/* @__PURE__ */ D("span", {
2436
2401
  className: "font-mono text-[14px] text-ink-2 lowercase",
2437
2402
  children: "User's choice"
2438
- }), /* @__PURE__ */ T("span", {
2403
+ }), /* @__PURE__ */ D("span", {
2439
2404
  className: "muted lowercase",
2440
2405
  children: "Each leaving member decides whether to retract their contributions."
2441
2406
  })]
2442
2407
  })
2443
2408
  }, {
2444
2409
  value: "mandatory",
2445
- label: /* @__PURE__ */ E("span", {
2410
+ label: /* @__PURE__ */ O("span", {
2446
2411
  className: "flex flex-col gap-0.5",
2447
- children: [/* @__PURE__ */ T("span", {
2412
+ children: [/* @__PURE__ */ D("span", {
2448
2413
  className: "font-mono text-[14px] text-ink-2 lowercase",
2449
2414
  children: "Mandatory"
2450
- }), /* @__PURE__ */ T("span", {
2415
+ }), /* @__PURE__ */ D("span", {
2451
2416
  className: "muted lowercase",
2452
2417
  children: "All of a leaving member's contributions are auto-retracted."
2453
2418
  })]
2454
2419
  })
2455
2420
  }]
2456
2421
  }),
2457
- /* @__PURE__ */ E("div", {
2422
+ /* @__PURE__ */ O("div", {
2458
2423
  className: "flex items-center gap-3",
2459
- children: [/* @__PURE__ */ T("button", {
2424
+ children: [/* @__PURE__ */ D("button", {
2460
2425
  type: "submit",
2461
2426
  className: "btn btn-sm btn-primary",
2462
2427
  children: "save changes"
2463
- }), /* @__PURE__ */ T(t, {
2428
+ }), /* @__PURE__ */ D(s, {
2464
2429
  label: "reset form",
2465
2430
  onConfirm: () => S(!1)
2466
2431
  })]
2467
2432
  })
2468
2433
  ]
2469
2434
  })]
2470
- }), /* @__PURE__ */ E(_, {
2435
+ }), /* @__PURE__ */ O(n, {
2471
2436
  title: "danger zone",
2472
- children: [/* @__PURE__ */ T("p", {
2437
+ children: [/* @__PURE__ */ D("p", {
2473
2438
  className: "mono",
2474
2439
  children: "deleting this collective removes the governance settings and member roster."
2475
- }), /* @__PURE__ */ T(t, {
2440
+ }), /* @__PURE__ */ D(s, {
2476
2441
  label: "delete collective",
2477
2442
  confirmLabel: "delete",
2478
2443
  onConfirm: () => S(!1)
2479
2444
  })]
2480
2445
  })]
2481
- }), /* @__PURE__ */ T("aside", {
2446
+ }), /* @__PURE__ */ D("aside", {
2482
2447
  className: "sidebar cmg-d-rail",
2483
2448
  "aria-label": "settings sidebar",
2484
- children: /* @__PURE__ */ T("div", {
2449
+ children: /* @__PURE__ */ D("div", {
2485
2450
  style: {
2486
2451
  overflow: "auto",
2487
2452
  maxWidth: "100%"
2488
2453
  },
2489
- children: /* @__PURE__ */ T(l, {
2454
+ children: /* @__PURE__ */ D(t, {
2490
2455
  title: "members",
2491
2456
  roles: ["member", "contributor"],
2492
2457
  members: [
@@ -2520,7 +2485,7 @@ function We() {
2520
2485
  })
2521
2486
  });
2522
2487
  }
2523
- var Ge = [
2488
+ var We = [
2524
2489
  {
2525
2490
  id: "village",
2526
2491
  name: "village",
@@ -2569,14 +2534,14 @@ var Ge = [
2569
2534
  visibility: "private"
2570
2535
  }]
2571
2536
  }
2572
- ], Ke = {
2537
+ ], Ge = {
2573
2538
  name: "AI Research Team",
2574
2539
  members: 12
2575
2540
  };
2576
- function qe() {
2577
- let [e, t] = C(() => /* @__PURE__ */ new Set(["v1"])), [n, r] = C(() => new Set(Ge.map((e) => e.id))), [i, a] = C(!1), o = x(() => {
2541
+ function Ke() {
2542
+ let [e, t] = T(() => /* @__PURE__ */ new Set(["v1"])), [n, r] = T(() => new Set(We.map((e) => e.id))), [i, a] = T(!1), o = C(() => {
2578
2543
  let e = {};
2579
- return Ge.forEach((t) => t.transcripts.forEach((n) => e[n.id] = {
2544
+ return We.forEach((t) => t.transcripts.forEach((n) => e[n.id] = {
2580
2545
  ...n,
2581
2546
  project: t.name
2582
2547
  })), e;
@@ -2605,53 +2570,53 @@ function qe() {
2605
2570
  });
2606
2571
  }
2607
2572
  let d = [...e].map((e) => o[e]).filter(Boolean), f = d.filter((e) => e.visibility === "private").length;
2608
- return /* @__PURE__ */ E("div", {
2573
+ return /* @__PURE__ */ O("div", {
2609
2574
  className: "cmg-root",
2610
- children: [/* @__PURE__ */ E("div", {
2575
+ children: [/* @__PURE__ */ O("div", {
2611
2576
  className: "cmg-page",
2612
2577
  children: [
2613
- /* @__PURE__ */ E("div", {
2578
+ /* @__PURE__ */ O("div", {
2614
2579
  className: "crumb cmg-crumb",
2615
2580
  children: [
2616
2581
  "village ",
2617
- /* @__PURE__ */ T(j, {
2582
+ /* @__PURE__ */ D(N, {
2618
2583
  size: 13,
2619
2584
  "aria-hidden": "true"
2620
2585
  }),
2621
2586
  " AI Research Team ",
2622
- /* @__PURE__ */ T(j, {
2587
+ /* @__PURE__ */ D(N, {
2623
2588
  size: 13,
2624
2589
  "aria-hidden": "true"
2625
2590
  }),
2626
2591
  " ",
2627
- /* @__PURE__ */ T("span", {
2592
+ /* @__PURE__ */ D("span", {
2628
2593
  className: "cur",
2629
2594
  children: "contribute"
2630
2595
  })
2631
2596
  ]
2632
2597
  }),
2633
- /* @__PURE__ */ T("header", {
2598
+ /* @__PURE__ */ D("header", {
2634
2599
  className: "cmg-head",
2635
- children: /* @__PURE__ */ E("div", { children: [/* @__PURE__ */ T("h2", {
2600
+ children: /* @__PURE__ */ O("div", { children: [/* @__PURE__ */ D("h2", {
2636
2601
  className: "cmg-title",
2637
2602
  children: "contribute to AI Research Team"
2638
- }), /* @__PURE__ */ T("p", {
2603
+ }), /* @__PURE__ */ D("p", {
2639
2604
  className: "cmg-deck",
2640
2605
  children: "select your own transcripts to share with this collective."
2641
2606
  })] })
2642
2607
  }),
2643
- /* @__PURE__ */ T("section", {
2608
+ /* @__PURE__ */ D("section", {
2644
2609
  className: "card cmg-contribute",
2645
2610
  "aria-label": "your transcripts by project",
2646
- children: Ge.map((t) => {
2611
+ children: We.map((t) => {
2647
2612
  let r = c(t), i = n.has(t.id);
2648
- return /* @__PURE__ */ E("div", {
2613
+ return /* @__PURE__ */ O("div", {
2649
2614
  className: "cmg-proj",
2650
- children: [/* @__PURE__ */ E("div", {
2615
+ children: [/* @__PURE__ */ O("div", {
2651
2616
  className: "cmg-proj-head",
2652
- children: [/* @__PURE__ */ T("label", {
2617
+ children: [/* @__PURE__ */ D("label", {
2653
2618
  className: "check cmg-proj-check",
2654
- children: /* @__PURE__ */ T("input", {
2619
+ children: /* @__PURE__ */ D("input", {
2655
2620
  type: "checkbox",
2656
2621
  className: "check-box",
2657
2622
  checked: r === "all",
@@ -2659,24 +2624,24 @@ function qe() {
2659
2624
  onChange: () => l(t),
2660
2625
  "aria-label": `select all in ${t.name}`
2661
2626
  })
2662
- }), /* @__PURE__ */ E("button", {
2627
+ }), /* @__PURE__ */ O("button", {
2663
2628
  type: "button",
2664
2629
  className: "cmg-proj-toggle",
2665
2630
  "aria-expanded": i,
2666
2631
  onClick: () => u(t.id),
2667
2632
  children: [
2668
- T(i ? A : j, {
2633
+ D(i ? M : N, {
2669
2634
  size: 15,
2670
2635
  "aria-hidden": "true"
2671
2636
  }),
2672
- /* @__PURE__ */ T("span", {
2637
+ /* @__PURE__ */ D("span", {
2673
2638
  className: "cmg-proj-name mono",
2674
2639
  children: t.name
2675
2640
  }),
2676
- /* @__PURE__ */ E("span", {
2641
+ /* @__PURE__ */ O("span", {
2677
2642
  className: "cmg-proj-branch mono",
2678
2643
  children: [
2679
- /* @__PURE__ */ T(B, {
2644
+ /* @__PURE__ */ D(H, {
2680
2645
  size: 12,
2681
2646
  "aria-hidden": "true"
2682
2647
  }),
@@ -2684,20 +2649,20 @@ function qe() {
2684
2649
  t.branch
2685
2650
  ]
2686
2651
  }),
2687
- /* @__PURE__ */ T("span", {
2652
+ /* @__PURE__ */ D("span", {
2688
2653
  className: "cmg-proj-cnt mono tnum",
2689
2654
  children: t.transcripts.length
2690
2655
  })
2691
2656
  ]
2692
2657
  })]
2693
- }), i && /* @__PURE__ */ T("ul", {
2658
+ }), i && /* @__PURE__ */ D("ul", {
2694
2659
  className: "cmg-tx-list",
2695
- children: t.transcripts.map((t) => /* @__PURE__ */ E("li", {
2660
+ children: t.transcripts.map((t) => /* @__PURE__ */ O("li", {
2696
2661
  className: "cmg-tx-row",
2697
2662
  children: [
2698
- /* @__PURE__ */ T("label", {
2663
+ /* @__PURE__ */ D("label", {
2699
2664
  className: "check cmg-tx-check",
2700
- children: /* @__PURE__ */ T("input", {
2665
+ children: /* @__PURE__ */ D("input", {
2701
2666
  type: "checkbox",
2702
2667
  className: "check-box",
2703
2668
  checked: e.has(t.id),
@@ -2705,24 +2670,24 @@ function qe() {
2705
2670
  "aria-label": `select ${t.title}`
2706
2671
  })
2707
2672
  }),
2708
- /* @__PURE__ */ T("span", {
2673
+ /* @__PURE__ */ D("span", {
2709
2674
  className: "cmg-pub-prov",
2710
- children: /* @__PURE__ */ T(Te, { id: t.provider })
2675
+ children: /* @__PURE__ */ D(ProviderMark, { id: t.provider })
2711
2676
  }),
2712
- /* @__PURE__ */ T("span", {
2677
+ /* @__PURE__ */ D("span", {
2713
2678
  className: "cmg-tx-title",
2714
2679
  children: t.title
2715
2680
  }),
2716
- /* @__PURE__ */ T(ke, { v: t.visibility }),
2717
- /* @__PURE__ */ T("span", {
2681
+ /* @__PURE__ */ D(Oe, { v: t.visibility }),
2682
+ /* @__PURE__ */ D("span", {
2718
2683
  className: "cmg-tx-date mono tnum",
2719
2684
  children: t.date
2720
2685
  }),
2721
- /* @__PURE__ */ T("button", {
2686
+ /* @__PURE__ */ D("button", {
2722
2687
  type: "button",
2723
2688
  className: "btn btn-sm btn-icon btn-ghost",
2724
2689
  "aria-label": `preview ${t.title}`,
2725
- children: /* @__PURE__ */ T(F, {
2690
+ children: /* @__PURE__ */ D(L, {
2726
2691
  size: 14,
2727
2692
  "aria-hidden": "true"
2728
2693
  })
@@ -2733,21 +2698,21 @@ function qe() {
2733
2698
  }, t.id);
2734
2699
  })
2735
2700
  }),
2736
- /* @__PURE__ */ E("div", {
2701
+ /* @__PURE__ */ O("div", {
2737
2702
  className: "cmg-contribute-foot",
2738
- children: [/* @__PURE__ */ E("span", {
2703
+ children: [/* @__PURE__ */ O("span", {
2739
2704
  className: "cmg-sel-count mono",
2740
2705
  children: [
2741
- /* @__PURE__ */ T("span", {
2706
+ /* @__PURE__ */ D("span", {
2742
2707
  className: "tnum",
2743
2708
  children: e.size
2744
2709
  }),
2745
2710
  " selected",
2746
- f > 0 ? /* @__PURE__ */ E("span", {
2711
+ f > 0 ? /* @__PURE__ */ O("span", {
2747
2712
  className: "cmg-sel-warn",
2748
2713
  children: [
2749
2714
  " · ",
2750
- /* @__PURE__ */ T("span", {
2715
+ /* @__PURE__ */ D("span", {
2751
2716
  className: "tnum",
2752
2717
  children: f
2753
2718
  }),
@@ -2755,13 +2720,13 @@ function qe() {
2755
2720
  ]
2756
2721
  }) : null
2757
2722
  ]
2758
- }), /* @__PURE__ */ E("button", {
2723
+ }), /* @__PURE__ */ O("button", {
2759
2724
  type: "button",
2760
2725
  className: "btn btn-sm btn-primary",
2761
2726
  disabled: e.size === 0,
2762
2727
  onClick: () => a(!0),
2763
2728
  children: [
2764
- /* @__PURE__ */ T(re, {
2729
+ /* @__PURE__ */ D(J, {
2765
2730
  size: 14,
2766
2731
  "aria-hidden": "true"
2767
2732
  }),
@@ -2773,24 +2738,24 @@ function qe() {
2773
2738
  })]
2774
2739
  })
2775
2740
  ]
2776
- }), /* @__PURE__ */ T(h, {
2741
+ }), /* @__PURE__ */ D(p, {
2777
2742
  open: i,
2778
- title: /* @__PURE__ */ E(w, { children: [
2743
+ title: /* @__PURE__ */ O(E, { children: [
2779
2744
  "make ",
2780
2745
  f > 1 ? "these" : "this",
2781
2746
  " visible?"
2782
2747
  ] }),
2783
- intro: f > 0 ? /* @__PURE__ */ E("p", { children: [
2784
- /* @__PURE__ */ T("span", {
2748
+ intro: f > 0 ? /* @__PURE__ */ O("p", { children: [
2749
+ /* @__PURE__ */ D("span", {
2785
2750
  className: "tnum",
2786
2751
  children: f
2787
2752
  }),
2788
2753
  " private transcript",
2789
2754
  f === 1 ? "" : "s",
2790
2755
  " will become visible to members of ",
2791
- /* @__PURE__ */ T("b", { children: Ke.name }),
2756
+ /* @__PURE__ */ D("b", { children: Ge.name }),
2792
2757
  ". visibility will change from private to shared."
2793
- ] }) : /* @__PURE__ */ E("p", { children: [
2758
+ ] }) : /* @__PURE__ */ O("p", { children: [
2794
2759
  "contributing ",
2795
2760
  e.size,
2796
2761
  " already-visible transcript",
@@ -2798,7 +2763,7 @@ function qe() {
2798
2763
  ". no visibility change."
2799
2764
  ] }),
2800
2765
  axes: [{
2801
- icon: I,
2766
+ icon: R,
2802
2767
  key: "visibility",
2803
2768
  value: f > 0 ? "private → shared" : "unchanged",
2804
2769
  scope: f > 0 ? `${f} transcript${f === 1 ? "" : "s"} newly exposed` : "no visibility change",
@@ -2806,28 +2771,28 @@ function qe() {
2806
2771
  }, {
2807
2772
  icon: X,
2808
2773
  key: "shared with",
2809
- value: Ke.name,
2810
- scope: `${Ke.members} members can see it`,
2774
+ value: Ge.name,
2775
+ scope: `${Ge.members} members can see it`,
2811
2776
  tone: "open"
2812
2777
  }],
2813
2778
  requireConsent: f > 0,
2814
2779
  confirmLabel: f > 0 ? "contribute & make visible" : "contribute",
2815
- confirmIcon: O,
2780
+ confirmIcon: A,
2816
2781
  onCancel: () => a(!1),
2817
2782
  onConfirm: () => a(!1),
2818
- children: /* @__PURE__ */ E("ul", {
2783
+ children: /* @__PURE__ */ O("ul", {
2819
2784
  className: "cmg-confirm-list",
2820
- children: [d.slice(0, 5).map((e) => /* @__PURE__ */ E("li", {
2785
+ children: [d.slice(0, 5).map((e) => /* @__PURE__ */ O("li", {
2821
2786
  className: "cmg-confirm-tx",
2822
2787
  children: [
2823
- /* @__PURE__ */ T(Te, { id: e.provider }),
2824
- /* @__PURE__ */ T("span", {
2788
+ /* @__PURE__ */ D(ProviderMark, { id: e.provider }),
2789
+ /* @__PURE__ */ D("span", {
2825
2790
  className: "cmg-confirm-title",
2826
2791
  children: e.title
2827
2792
  }),
2828
- /* @__PURE__ */ T(ke, { v: e.visibility })
2793
+ /* @__PURE__ */ D(Oe, { v: e.visibility })
2829
2794
  ]
2830
- }, e.id)), d.length > 5 ? /* @__PURE__ */ E("li", {
2795
+ }, e.id)), d.length > 5 ? /* @__PURE__ */ O("li", {
2831
2796
  className: "cmg-confirm-more mono",
2832
2797
  children: [
2833
2798
  "…and ",
@@ -2841,7 +2806,7 @@ function qe() {
2841
2806
  }
2842
2807
  //#endregion
2843
2808
  //#region src/ui/commons/Manage.jsx
2844
- var Je = {
2809
+ var qe = {
2845
2810
  name: "",
2846
2811
  description: null,
2847
2812
  linkedGithubOrg: null,
@@ -2849,15 +2814,15 @@ var Je = {
2849
2814
  dataAccess: "",
2850
2815
  role: "",
2851
2816
  memberSince: null
2852
- }, Ye = {
2817
+ }, Je = {
2853
2818
  transcripts: "0",
2854
2819
  projects: "0 providers",
2855
2820
  tokens: "0",
2856
2821
  turns: "0 turns",
2857
2822
  contributors: "0 members",
2858
2823
  hours: "0 total"
2859
- }, Xe = {
2860
- collective: Je,
2824
+ }, Ye = {
2825
+ collective: qe,
2861
2826
  providerShare: [],
2862
2827
  pendingReview: [],
2863
2828
  members: [],
@@ -2867,14 +2832,14 @@ var Je = {
2867
2832
  initialRole: "",
2868
2833
  initialShowRedaction: !1,
2869
2834
  initialBrowseGated: !1,
2870
- stats: Ye
2871
- }, Ze = [
2835
+ stats: Je
2836
+ }, Xe = [
2872
2837
  "owner",
2873
2838
  "member",
2874
2839
  "contributor",
2875
2840
  "guest"
2876
2841
  ];
2877
- function Qe(e) {
2842
+ function Ze(e) {
2878
2843
  if (!e) return "unknown";
2879
2844
  let t = new Date(e);
2880
2845
  return Number.isNaN(t.getTime()) ? "unknown" : new Intl.DateTimeFormat("en-US", {
@@ -2882,51 +2847,51 @@ function Qe(e) {
2882
2847
  day: "numeric"
2883
2848
  }).format(t);
2884
2849
  }
2885
- function $e({ data: e = Xe, actions: t = {}, demoRoleSwitcher: r = !1 } = {}) {
2886
- let { collective: i = Je, providerShare: o = [], pendingReview: s = [], members: c = [], redactions: u = [], browseRows: d = [], roleOptions: f = [], initialRole: m = "", initialShowRedaction: h = !1, initialBrowseGated: _ = !1, stats: y = Ye } = e || Xe, { onRoleChange: b, onJoin: S, onLeave: w, onSettings: D, onContribute: O, onToggleBrowse: k } = t || {}, [A, M] = C(m || i.role || ""), [N, P] = C(!!h), [F, R] = C(!!_), B = A || i.role || "guest", V = B === "owner", ee = B === "guest", te = r && f.length > 0, W = x(() => te ? f : [], [te, f]), ne = (e) => {
2887
- M(e), b?.(e);
2850
+ function Qe({ data: e = Ye, actions: n = {}, demoRoleSwitcher: r = !1 } = {}) {
2851
+ let { collective: i = qe, providerShare: a = [], pendingReview: o = [], members: s = [], redactions: c = [], browseRows: l = [], roleOptions: u = [], initialRole: f = "", initialShowRedaction: p = !1, initialBrowseGated: v = !1, stats: y = Je } = e || Ye, { onRoleChange: b, onJoin: x, onLeave: S, onSettings: w, onContribute: E, onToggleBrowse: k } = n || {}, [A, j] = T(f || i.role || ""), [M, P] = T(!!p), [F, I] = T(!!v), L = A || i.role || "guest", B = L === "owner", H = L === "guest", U = r && u.length > 0, ee = C(() => U ? u : [], [U, u]), te = (e) => {
2852
+ j(e), b?.(e);
2888
2853
  };
2889
- return /* @__PURE__ */ T("div", {
2854
+ return /* @__PURE__ */ D("div", {
2890
2855
  className: "cmg-root",
2891
- children: /* @__PURE__ */ E("div", {
2856
+ children: /* @__PURE__ */ O("div", {
2892
2857
  className: "cmg-detail",
2893
2858
  children: [
2894
- /* @__PURE__ */ E("header", {
2859
+ /* @__PURE__ */ O("header", {
2895
2860
  className: "cmg-d-hero",
2896
- children: [/* @__PURE__ */ E("div", {
2861
+ children: [/* @__PURE__ */ O("div", {
2897
2862
  className: "crumb cmg-crumb",
2898
2863
  children: [
2899
2864
  "village ",
2900
- /* @__PURE__ */ T(j, {
2865
+ /* @__PURE__ */ D(N, {
2901
2866
  size: 13,
2902
2867
  "aria-hidden": "true"
2903
2868
  }),
2904
2869
  " collectives",
2905
2870
  " ",
2906
- /* @__PURE__ */ T(j, {
2871
+ /* @__PURE__ */ D(N, {
2907
2872
  size: 13,
2908
2873
  "aria-hidden": "true"
2909
2874
  }),
2910
- /* @__PURE__ */ T("span", {
2875
+ /* @__PURE__ */ D("span", {
2911
2876
  className: "cur",
2912
2877
  children: i.name || "collective"
2913
2878
  })
2914
2879
  ]
2915
- }), /* @__PURE__ */ E("div", {
2880
+ }), /* @__PURE__ */ O("div", {
2916
2881
  className: "cmg-d-hero-row",
2917
- children: [/* @__PURE__ */ E("div", { children: [
2918
- /* @__PURE__ */ T("h2", {
2882
+ children: [/* @__PURE__ */ O("div", { children: [
2883
+ /* @__PURE__ */ D("h2", {
2919
2884
  className: "cmg-title",
2920
2885
  children: i.name || "collective"
2921
2886
  }),
2922
- /* @__PURE__ */ T("p", {
2887
+ /* @__PURE__ */ D("p", {
2923
2888
  className: "cmg-deck",
2924
2889
  children: i.description || "shared collective governance"
2925
2890
  }),
2926
- /* @__PURE__ */ E("span", {
2891
+ /* @__PURE__ */ O("span", {
2927
2892
  className: "cmg-orgpill mono",
2928
2893
  children: [
2929
- /* @__PURE__ */ T(z, {
2894
+ /* @__PURE__ */ D(V, {
2930
2895
  size: 13,
2931
2896
  "aria-hidden": "true"
2932
2897
  }),
@@ -2934,64 +2899,64 @@ function $e({ data: e = Xe, actions: t = {}, demoRoleSwitcher: r = !1 } = {}) {
2934
2899
  i.linkedGithubOrg || "not linked"
2935
2900
  ]
2936
2901
  })
2937
- ] }), /* @__PURE__ */ E("div", {
2902
+ ] }), /* @__PURE__ */ O("div", {
2938
2903
  className: "cmg-d-actions btn-row",
2939
2904
  children: [
2940
- te ? /* @__PURE__ */ T("div", {
2905
+ U ? /* @__PURE__ */ D("div", {
2941
2906
  className: "cmg-roleswitch",
2942
2907
  role: "group",
2943
2908
  "aria-label": "view as role",
2944
- children: W.map((e) => /* @__PURE__ */ T("button", {
2909
+ children: ee.map((e) => /* @__PURE__ */ D("button", {
2945
2910
  type: "button",
2946
2911
  className: "cmg-roleseg",
2947
2912
  "aria-pressed": A === e,
2948
- onClick: () => ne(e),
2913
+ onClick: () => te(e),
2949
2914
  children: e
2950
2915
  }, e))
2951
- }) : /* @__PURE__ */ T("div", {
2916
+ }) : /* @__PURE__ */ D("div", {
2952
2917
  className: "cmg-roleswitch",
2953
2918
  role: "group",
2954
2919
  "aria-label": "your role",
2955
- children: Ze.map((e) => /* @__PURE__ */ T("span", {
2920
+ children: Xe.map((e) => /* @__PURE__ */ D("span", {
2956
2921
  className: "cmg-roleseg",
2957
- "aria-current": B === e ? "true" : void 0,
2958
- "data-active": B === e || void 0,
2922
+ "aria-current": L === e ? "true" : void 0,
2923
+ "data-active": L === e || void 0,
2959
2924
  style: { cursor: "default" },
2960
2925
  children: e
2961
2926
  }, e))
2962
2927
  }),
2963
- ee ? /* @__PURE__ */ E("button", {
2928
+ H ? /* @__PURE__ */ O("button", {
2964
2929
  type: "button",
2965
2930
  className: "btn btn-sm btn-primary",
2966
- onClick: () => S?.(),
2967
- children: [/* @__PURE__ */ T(Y, {
2931
+ onClick: () => x?.(),
2932
+ children: [/* @__PURE__ */ D(Y, {
2968
2933
  size: 14,
2969
2934
  "aria-hidden": "true"
2970
2935
  }), " join as contributor"]
2971
2936
  }) : null,
2972
- (B === "member" || B === "contributor") && O ? /* @__PURE__ */ E("button", {
2937
+ (L === "member" || L === "contributor") && E ? /* @__PURE__ */ O("button", {
2973
2938
  type: "button",
2974
2939
  className: "btn btn-sm btn-primary",
2975
- onClick: () => O?.(),
2976
- children: [/* @__PURE__ */ T(K, {
2940
+ onClick: () => E?.(),
2941
+ children: [/* @__PURE__ */ D(q, {
2977
2942
  size: 14,
2978
2943
  "aria-hidden": "true"
2979
2944
  }), " contribute"]
2980
2945
  }) : null,
2981
- (B === "member" || B === "contributor") && w ? /* @__PURE__ */ E("button", {
2946
+ (L === "member" || L === "contributor") && S ? /* @__PURE__ */ O("button", {
2982
2947
  type: "button",
2983
2948
  className: "btn btn-sm btn-danger",
2984
- onClick: () => w?.(),
2985
- children: [/* @__PURE__ */ T(U, {
2949
+ onClick: () => S?.(),
2950
+ children: [/* @__PURE__ */ D(G, {
2986
2951
  size: 14,
2987
2952
  "aria-hidden": "true"
2988
2953
  }), " leave"]
2989
2954
  }) : null,
2990
- V && D ? /* @__PURE__ */ E("button", {
2955
+ B && w ? /* @__PURE__ */ O("button", {
2991
2956
  type: "button",
2992
2957
  className: "btn btn-sm btn-secondary",
2993
- onClick: () => D?.(),
2994
- children: [/* @__PURE__ */ T(G, {
2958
+ onClick: () => w?.(),
2959
+ children: [/* @__PURE__ */ D(K, {
2995
2960
  size: 14,
2996
2961
  "aria-hidden": "true"
2997
2962
  }), " settings"]
@@ -3000,26 +2965,26 @@ function $e({ data: e = Xe, actions: t = {}, demoRoleSwitcher: r = !1 } = {}) {
3000
2965
  })]
3001
2966
  })]
3002
2967
  }),
3003
- /* @__PURE__ */ E("div", {
2968
+ /* @__PURE__ */ O("div", {
3004
2969
  className: "cmg-tiles",
3005
2970
  children: [
3006
- /* @__PURE__ */ T(g, {
2971
+ /* @__PURE__ */ D(d, {
3007
2972
  label: "contributions",
3008
2973
  value: i.acceptanceMode || "open",
3009
2974
  tone: "teal"
3010
2975
  }),
3011
- /* @__PURE__ */ T(g, {
2976
+ /* @__PURE__ */ D(d, {
3012
2977
  label: "access",
3013
2978
  value: i.dataAccess || "members only",
3014
2979
  tone: "amber"
3015
2980
  }),
3016
- /* @__PURE__ */ T(g, {
2981
+ /* @__PURE__ */ D(d, {
3017
2982
  label: "your role",
3018
- value: B
2983
+ value: L
3019
2984
  })
3020
2985
  ]
3021
2986
  }),
3022
- /* @__PURE__ */ T(p, { tiles: [
2987
+ /* @__PURE__ */ D(h, { tiles: [
3023
2988
  {
3024
2989
  key: "transcripts",
3025
2990
  label: "transcripts",
@@ -3039,36 +3004,36 @@ function $e({ data: e = Xe, actions: t = {}, demoRoleSwitcher: r = !1 } = {}) {
3039
3004
  sub: y.hours
3040
3005
  }
3041
3006
  ] }),
3042
- /* @__PURE__ */ E("div", {
3007
+ /* @__PURE__ */ O("div", {
3043
3008
  className: "cmg-d-grid",
3044
- children: [/* @__PURE__ */ E("main", {
3009
+ children: [/* @__PURE__ */ O("main", {
3045
3010
  className: "cmg-d-main",
3046
3011
  children: [
3047
- o.length > 0 ? /* @__PURE__ */ E("section", {
3012
+ a.length > 0 ? /* @__PURE__ */ O("section", {
3048
3013
  className: "card cmg-share",
3049
3014
  "aria-labelledby": "cmg-share-h",
3050
- children: [/* @__PURE__ */ T("h3", {
3015
+ children: [/* @__PURE__ */ D("h3", {
3051
3016
  id: "cmg-share-h",
3052
3017
  className: "cmg-sub",
3053
3018
  children: "provider share"
3054
- }), /* @__PURE__ */ T(a, {
3019
+ }), /* @__PURE__ */ D(g, {
3055
3020
  label: "provider share",
3056
3021
  total: 100,
3057
- data: o.map((e) => ({
3022
+ data: a.map((e) => ({
3058
3023
  label: we(e.id),
3059
3024
  value: e.pct
3060
3025
  }))
3061
3026
  })]
3062
3027
  }) : null,
3063
- s.length > 0 ? /* @__PURE__ */ T("div", {
3028
+ o.length > 0 ? /* @__PURE__ */ D("div", {
3064
3029
  style: {
3065
3030
  overflow: "auto",
3066
3031
  maxWidth: "100%"
3067
3032
  },
3068
- children: /* @__PURE__ */ T(n, {
3033
+ children: /* @__PURE__ */ D(m, {
3069
3034
  title: "pending review",
3070
3035
  emptyLabel: "no shares awaiting review.",
3071
- items: s.map((e) => ({
3036
+ items: o.map((e) => ({
3072
3037
  id: e.id,
3073
3038
  kind: "share",
3074
3039
  who: e.title || "untitled transcript",
@@ -3076,188 +3041,188 @@ function $e({ data: e = Xe, actions: t = {}, demoRoleSwitcher: r = !1 } = {}) {
3076
3041
  }))
3077
3042
  })
3078
3043
  }) : null,
3079
- u.length > 0 ? /* @__PURE__ */ E("section", {
3044
+ c.length > 0 ? /* @__PURE__ */ O("section", {
3080
3045
  className: "card cmg-redact-sec",
3081
3046
  "aria-labelledby": "cmg-redact-h",
3082
- children: [/* @__PURE__ */ E("div", {
3047
+ children: [/* @__PURE__ */ O("div", {
3083
3048
  className: "cmg-queue-head",
3084
- children: [/* @__PURE__ */ E("h3", {
3049
+ children: [/* @__PURE__ */ O("h3", {
3085
3050
  id: "cmg-redact-h",
3086
3051
  className: "cmg-sub",
3087
- children: [/* @__PURE__ */ T(K, {
3052
+ children: [/* @__PURE__ */ D(q, {
3088
3053
  size: 15,
3089
3054
  "aria-hidden": "true"
3090
3055
  }), " redaction review"]
3091
- }), /* @__PURE__ */ E("button", {
3056
+ }), /* @__PURE__ */ O("button", {
3092
3057
  type: "button",
3093
3058
  className: "btn btn-sm btn-ghost",
3094
- "aria-expanded": N,
3059
+ "aria-expanded": M,
3095
3060
  onClick: () => P((e) => !e),
3096
- children: [T(N ? L : I, {
3061
+ children: [D(M ? z : R, {
3097
3062
  size: 14,
3098
3063
  "aria-hidden": "true"
3099
- }), N ? "hide" : "show"]
3064
+ }), M ? "hide" : "show"]
3100
3065
  })]
3101
- }), N ? /* @__PURE__ */ T("div", {
3066
+ }), M ? /* @__PURE__ */ D("div", {
3102
3067
  className: "cmg-redact-list",
3103
- children: u.map((e) => /* @__PURE__ */ E("article", {
3068
+ children: c.map((e) => /* @__PURE__ */ O("article", {
3104
3069
  className: "cmg-redact",
3105
3070
  children: [
3106
- /* @__PURE__ */ E("div", {
3071
+ /* @__PURE__ */ O("div", {
3107
3072
  className: "cmg-redact-head",
3108
- children: [/* @__PURE__ */ T("span", {
3073
+ children: [/* @__PURE__ */ D("span", {
3109
3074
  className: "cmg-redact-badges",
3110
- children: /* @__PURE__ */ T(v, { children: String(e.catLabel || e.cat || "item").toLowerCase() })
3111
- }), /* @__PURE__ */ T("span", {
3075
+ children: /* @__PURE__ */ D(_, { children: String(e.catLabel || e.cat || "item").toLowerCase() })
3076
+ }), /* @__PURE__ */ D("span", {
3112
3077
  className: "cmg-redact-file mono",
3113
3078
  children: e.file || "unknown"
3114
3079
  })]
3115
3080
  }),
3116
- /* @__PURE__ */ T("p", {
3081
+ /* @__PURE__ */ D("p", {
3117
3082
  className: "cmg-redact-summary mono",
3118
3083
  children: e.summary || "redaction review item"
3119
3084
  }),
3120
- /* @__PURE__ */ E("div", {
3085
+ /* @__PURE__ */ O("div", {
3121
3086
  className: "callout cmg-redact-note",
3122
- children: [/* @__PURE__ */ T(K, {
3087
+ children: [/* @__PURE__ */ D(q, {
3123
3088
  size: 16,
3124
3089
  "aria-hidden": "true"
3125
- }), /* @__PURE__ */ T("div", { children: e.tip || "review this redaction item before exposing it." })]
3090
+ }), /* @__PURE__ */ D("div", { children: e.tip || "review this redaction item before exposing it." })]
3126
3091
  })
3127
3092
  ]
3128
3093
  }, e.id))
3129
3094
  }) : null]
3130
3095
  }) : null,
3131
- /* @__PURE__ */ E("section", {
3096
+ /* @__PURE__ */ O("section", {
3132
3097
  className: "card cmg-browser",
3133
3098
  "aria-labelledby": "cmg-browser-h",
3134
- children: [/* @__PURE__ */ E("div", {
3099
+ children: [/* @__PURE__ */ O("div", {
3135
3100
  className: "cmg-queue-head",
3136
- children: [/* @__PURE__ */ T("h3", {
3101
+ children: [/* @__PURE__ */ D("h3", {
3137
3102
  id: "cmg-browser-h",
3138
3103
  className: "cmg-sub",
3139
3104
  children: "data"
3140
- }), /* @__PURE__ */ E("button", {
3105
+ }), /* @__PURE__ */ O("button", {
3141
3106
  type: "button",
3142
3107
  className: "btn btn-sm btn-ghost",
3143
3108
  "aria-pressed": F,
3144
3109
  onClick: () => {
3145
- R((e) => {
3110
+ I((e) => {
3146
3111
  let t = !e;
3147
3112
  return k?.(t), t;
3148
3113
  });
3149
3114
  },
3150
- children: [T(F ? H : I, {
3115
+ children: [D(F ? W : R, {
3151
3116
  size: 14,
3152
3117
  "aria-hidden": "true"
3153
3118
  }), F ? "gated view" : "open view"]
3154
3119
  })]
3155
- }), F ? /* @__PURE__ */ E("div", {
3120
+ }), F ? /* @__PURE__ */ O("div", {
3156
3121
  className: "empty cmg-locked",
3157
3122
  children: [
3158
- /* @__PURE__ */ T("span", {
3123
+ /* @__PURE__ */ D("span", {
3159
3124
  className: "ring",
3160
- children: /* @__PURE__ */ T(H, {
3125
+ children: /* @__PURE__ */ D(W, {
3161
3126
  size: 20,
3162
3127
  "aria-hidden": "true"
3163
3128
  })
3164
3129
  }),
3165
- /* @__PURE__ */ T("h3", { children: "data access restricted" }),
3166
- /* @__PURE__ */ T("p", { children: "this collective is members-only. join as a full member to browse the dataset." }),
3167
- ee ? /* @__PURE__ */ E("button", {
3130
+ /* @__PURE__ */ D("h3", { children: "data access restricted" }),
3131
+ /* @__PURE__ */ D("p", { children: "this collective is members-only. join as a full member to browse the dataset." }),
3132
+ H ? /* @__PURE__ */ O("button", {
3168
3133
  type: "button",
3169
3134
  className: "btn btn-sm btn-primary",
3170
- onClick: () => S?.(),
3171
- children: [/* @__PURE__ */ T(Y, {
3135
+ onClick: () => x?.(),
3136
+ children: [/* @__PURE__ */ D(Y, {
3172
3137
  size: 14,
3173
3138
  "aria-hidden": "true"
3174
3139
  }), " join as contributor"]
3175
3140
  }) : null
3176
3141
  ]
3177
- }) : d.length > 0 ? /* @__PURE__ */ E("table", {
3142
+ }) : l.length > 0 ? /* @__PURE__ */ O("table", {
3178
3143
  className: "dtable cmg-dtable",
3179
- children: [/* @__PURE__ */ T("thead", { children: /* @__PURE__ */ E("tr", { children: [
3180
- /* @__PURE__ */ T("th", {
3144
+ children: [/* @__PURE__ */ D("thead", { children: /* @__PURE__ */ O("tr", { children: [
3145
+ /* @__PURE__ */ D("th", {
3181
3146
  scope: "col",
3182
3147
  children: "title"
3183
3148
  }),
3184
- /* @__PURE__ */ T("th", {
3149
+ /* @__PURE__ */ D("th", {
3185
3150
  scope: "col",
3186
3151
  children: "contributor"
3187
3152
  }),
3188
- /* @__PURE__ */ T("th", {
3153
+ /* @__PURE__ */ D("th", {
3189
3154
  scope: "col",
3190
3155
  children: "provider"
3191
3156
  }),
3192
- /* @__PURE__ */ T("th", {
3157
+ /* @__PURE__ */ D("th", {
3193
3158
  scope: "col",
3194
3159
  className: "cmg-num",
3195
3160
  children: "turns"
3196
3161
  }),
3197
- /* @__PURE__ */ T("th", {
3162
+ /* @__PURE__ */ D("th", {
3198
3163
  scope: "col",
3199
3164
  className: "cmg-num",
3200
3165
  children: "tokens"
3201
3166
  }),
3202
- /* @__PURE__ */ T("th", {
3167
+ /* @__PURE__ */ D("th", {
3203
3168
  scope: "col",
3204
3169
  children: "date"
3205
3170
  })
3206
- ] }) }), /* @__PURE__ */ T("tbody", { children: d.map((e) => /* @__PURE__ */ E("tr", { children: [
3207
- /* @__PURE__ */ T("td", { children: e.title || "untitled transcript" }),
3208
- /* @__PURE__ */ T("td", {
3171
+ ] }) }), /* @__PURE__ */ D("tbody", { children: l.map((e) => /* @__PURE__ */ O("tr", { children: [
3172
+ /* @__PURE__ */ D("td", { children: e.title || "untitled transcript" }),
3173
+ /* @__PURE__ */ D("td", {
3209
3174
  className: "mono",
3210
3175
  children: e.contributor || "anon"
3211
3176
  }),
3212
- /* @__PURE__ */ E("td", { children: [
3213
- /* @__PURE__ */ T(z, {
3177
+ /* @__PURE__ */ O("td", { children: [
3178
+ /* @__PURE__ */ D(V, {
3214
3179
  size: 12,
3215
3180
  "aria-hidden": "true"
3216
3181
  }),
3217
3182
  " ",
3218
- e.providerId ? we(e.providerId) : e.provider || Ce(e.providerId)
3183
+ e.providerId ? we(e.providerId) : Ce(e.provider)
3219
3184
  ] }),
3220
- /* @__PURE__ */ T("td", {
3185
+ /* @__PURE__ */ D("td", {
3221
3186
  className: "cmg-num tnum",
3222
3187
  children: e.turns || "0"
3223
3188
  }),
3224
- /* @__PURE__ */ T("td", {
3189
+ /* @__PURE__ */ D("td", {
3225
3190
  className: "cmg-num tnum",
3226
3191
  children: e.tokens || "0"
3227
3192
  }),
3228
- /* @__PURE__ */ T("td", {
3193
+ /* @__PURE__ */ D("td", {
3229
3194
  className: "mono tnum",
3230
- children: e.date || Qe(null)
3195
+ children: e.date || Ze(null)
3231
3196
  })
3232
3197
  ] }, `${e.title}-${e.contributor}`)) })]
3233
- }) : /* @__PURE__ */ E("div", {
3198
+ }) : /* @__PURE__ */ O("div", {
3234
3199
  className: "empty cmg-locked",
3235
3200
  children: [
3236
- /* @__PURE__ */ T("span", {
3201
+ /* @__PURE__ */ D("span", {
3237
3202
  className: "ring",
3238
- children: /* @__PURE__ */ T(X, {
3203
+ children: /* @__PURE__ */ D(X, {
3239
3204
  size: 20,
3240
3205
  "aria-hidden": "true"
3241
3206
  })
3242
3207
  }),
3243
- /* @__PURE__ */ T("h3", { children: "no data yet" }),
3244
- /* @__PURE__ */ T("p", { children: "this collective has no visible transcripts to browse." })
3208
+ /* @__PURE__ */ D("h3", { children: "no data yet" }),
3209
+ /* @__PURE__ */ D("p", { children: "this collective has no visible transcripts to browse." })
3245
3210
  ]
3246
3211
  })]
3247
3212
  })
3248
3213
  ]
3249
- }), c.length > 0 ? /* @__PURE__ */ T("aside", {
3214
+ }), s.length > 0 ? /* @__PURE__ */ D("aside", {
3250
3215
  className: "sidebar cmg-d-rail",
3251
3216
  "aria-label": "collective sidebar",
3252
- children: /* @__PURE__ */ T("div", {
3217
+ children: /* @__PURE__ */ D("div", {
3253
3218
  style: {
3254
3219
  overflow: "auto",
3255
3220
  maxWidth: "100%"
3256
3221
  },
3257
- children: /* @__PURE__ */ T(l, {
3222
+ children: /* @__PURE__ */ D(t, {
3258
3223
  title: "members",
3259
3224
  roles: ["member", "contributor"],
3260
- members: c.map((e) => ({
3225
+ members: s.map((e) => ({
3261
3226
  handle: e.handle || e.githubUsername || "@unknown",
3262
3227
  name: e.name || e.displayName || e.githubUsername || "unknown",
3263
3228
  role: e.role || "member",
@@ -3272,4 +3237,4 @@ function $e({ data: e = Xe, actions: t = {}, demoRoleSwitcher: r = !1 } = {}) {
3272
3237
  });
3273
3238
  }
3274
3239
  //#endregion
3275
- export { oe as ACCEPTANCE_MODES, $ as COLLECTIVE_ROLES, Ue as CollectiveDetailView, We as CollectiveSettingsView, Ie as CollectivesView, qe as ContributeView, se as DATA_ACCESS_POLICIES, xe as Explore, $e as Manage, Ae as PublishView, Q as TRANSCRIPT_DELETION_POLICIES, ae as TRANSCRIPT_VISIBILITIES };
3240
+ export { se as ACCEPTANCE_MODES, ce as COLLECTIVE_ROLES, He as CollectiveDetailView, Ue as CollectiveSettingsView, Fe as CollectivesView, Ke as ContributeView, Q as DATA_ACCESS_POLICIES, Se as Explore, Qe as Manage, ke as PublishView, $ as TRANSCRIPT_DELETION_POLICIES, oe as TRANSCRIPT_VISIBILITIES };