import React from "react"; import memory from "../memory"; import { RequestCluster } from "../request-cluster"; import StolenDataCluster from "./stolen-data-cluster"; import { getshorthost } from "../util"; export function StolenData({ origin, minValueLength, refreshToken, refresh, cookiesOnly, }: { origin: string; refreshToken: number; refresh: () => void; minValueLength: number; cookiesOnly: boolean; }) { if (!origin) { return
; } const clusters = Object.values(memory.getClustersForOrigin(origin)).sort( RequestCluster.sortCompare ); return (