import{j as e,h as s,S as i,ay as o,o as c}from"./vendor-ClLR6ncd.js";import{A as l,a as d,b as x}from"./AccordionDetails-Bqc4B-Ut.js";function j({title:n,explanation:r,secondLineExplanation:a}){return e.jsxs(e.Fragment,{children:[e.jsx(s,{variant:"body1",children:n}),e.jsx(s,{variant:"body2",color:"text.secondary",children:r}),e.jsx(s,{variant:"body2",color:"text.secondary",children:a})]})}function u({title:n}){return e.jsxs(i,{direction:"row",spacing:2,alignItems:"center",children:[e.jsx(o,{}),e.jsx(s,{children:n})]})}function t({title:n,children:r}){return e.jsxs(l,{elevation:1,children:[e.jsx(d,{expandIcon:e.jsx(c,{}),children:e.jsx(u,{title:n})}),e.jsx(x,{children:r})]})}function g({title:n="Help",helpText:r,...a}){return e.jsx(t,{title:n,children:e.jsx(s,{...a,children:r})})}function p({explanations:n}){return e.jsx(t,{title:"Table columns legend",children:n.map(r=>e.jsx(j,{...r},r.title))})}export{g as H,p as T,u as a};
