import React from "react"; import { ShieldCheck, Lock, Sparkles, Trash2, X } from "lucide-react"; import { C, FD, FB, FM } from "../theme.js"; // Privacy disclosure for the hosted Space. Shown once on first run (localStorage) and // re-openable any time via the "Privacy" button. The Space keeps NOTHING: uploads are // isolated per-browser and deleted on exit / Clear / within 24h, and nothing derived // from them ever leaves (enricher + sharing are off — HER_ENRICH=0 / HER_SHARE=0). The // only outbound call is the one-time model download from Hugging Face. const SEEN_KEY = "her.disclaimer.v1"; export function needsDisclaimer() { try { return localStorage.getItem(SEEN_KEY) !== "1"; } catch { return true; } } export default function DisclaimerModal({ onDone }) { function close() { try { localStorage.setItem(SEEN_KEY, "1"); } catch { /* ignore */ } onDone(); } return (
e.stopPropagation()} style={{ width: "min(540px,94vw)", background: C.panel, border: `1px solid ${C.border}`, borderRadius: 14, boxShadow: "0 24px 70px rgba(0,0,0,.55)", overflow: "hidden" }}> {/* header */}
Your sessions are private
हेर · what you upload stays yours
{/* body */}
{/* footer */}
Findings are computed here; your uploads are never retained.
Got it
); } function Row({ icon: Icon, c, title, body }) { return (
{title}
{body}
); }