import{j as e}from"./index-D4ZMoJFe.js";import{c as r}from"./adminUtils-Qmlne9KJ.js";function n({previous:a,next:l}){const s=r(a,l);return e.jsx("div",{className:"table-shell overflow-x-auto",children:e.jsxs("table",{className:"min-w-full text-sm",children:[e.jsx("thead",{children:e.jsxs("tr",{className:"bg-surface2 text-left text-xs uppercase tracking-[0.16em] text-textMuted",children:[e.jsx("th",{className:"px-4 py-3",children:"Champ"}),e.jsx("th",{className:"px-4 py-3",children:"Ancienne valeur"}),e.jsx("th",{className:"px-4 py-3",children:"Nouvelle valeur"})]})}),e.jsx("tbody",{children:s.length?s.map(t=>e.jsxs("tr",{className:`border-t border-border/70 align-top ${t.changed?"bg-gold/5":""}`,children:[e.jsx("td",{className:"px-4 py-3 font-medium text-text",children:t.path}),e.jsx("td",{className:"px-4 py-3 font-mono text-xs whitespace-pre-wrap text-textMuted",children:t.oldValue||"—"}),e.jsx("td",{className:"px-4 py-3 font-mono text-xs whitespace-pre-wrap text-text",children:t.newValue||"—"})]},t.path)):e.jsx("tr",{className:"border-t border-border/70",children:e.jsx("td",{colSpan:3,className:"px-4 py-6 text-center text-textMuted",children:"Aucune différence disponible."})})})]})})}export{n as J};
