"use client";
import Link from "next/link";
import { useRouter } from "next/navigation";
import { useState } from "react";
import { Button } from "@/components/ui/button";
import { clipBenchHref } from "@/lib/hrefs";
import { announceManifestChanged, refusalOf, timelineOp } from "../timelineApi";
// THE REMOVED LIST (the Cut tab): the clips taken out on record (removed.json: Reject, Wrong speaker) that are
// still out of the cut, newest first, each with Restore -- un-reject (lib/report/manifest.mjs restoreRemoved):
// the clip back as the newest revision holding it had it, at its old place, every later write kept. The CLI
// twin is `umtool timeline
removed` and `restore `.
export type RemovedRow = {
id: string;
/** Where it came from (manifest.mjs removedSourceOf): `/