import{j as a,Q as l,gY as i,gc as g,ag as p}from"./index-ea7817a2.js";const n={label:{"> div":{py:0,pl:"4px",pr:"8px",alignItems:"center"},"> div:hover":{div:{backgroundColor:"grayShade3",borderColor:"transparent"}}}},c={label:{div:{backgroundColor:"white"}}},x=({children:r,icon:e,white:s=!1,size:t="md",...o})=>a.jsx(l,{sx:s?i(c,n):n,alignItems:"center",children:a.jsxs(g,{...o,children:[a.jsx(p,{p:"4px !important",size:t,icon:e}),r]})}),b=(r,e,s)=>r.filter(({[s]:t})=>Array.isArray(e)?e.length?e.includes(t):r:e===t);export{x as F,b as f};
