1import{o as e}from"./chunk.js";import{ma as t,za as n}from"./actions.js";import{s as r}from"./react-is.js";import{q as i}from"./createSimplePaletteValueFilter.js";import{t as a}from"./Grid2.js";import{t as o}from"./Collapse.js";import{t as s}from"./IconButton.js";import{t as c}from"./ExpandMore.js";import{t as l}from"./ExpandLess.js";var u=e(r()),d=t.create(()=>({subTitle:{cursor:`pointer`,alignItems:`center`},icon:{marginLeft:10}})),f=i(),p=({children:e,title:t,justify:r=`space-between`,typography_variant:i=`subtitle2`,default_value:p=!1,value:m,setValue:h,...g})=>{let{classes:_}=d(),[v,y]=(0,u.useState)(p),b=e=>{m!==void 0&&h?h(e):y(e)},x=(0,u.useMemo)(()=>m!==void 0&&h?m:v,[m,v,h]);return(0,f.jsxs)(f.Fragment,{children:[(0,f.jsxs)(a,{container:!0,className:_.subTitle,onClick:()=>b(!x),sx:[{justifyContent:r},...Array.isArray(g.sx)?g.sx:[g.sx]],size:12,children:[(0,f.jsx)(n,{variant:i,children:t}),(0,f.jsx)(s,{className:_.icon,size:`small`,children:x?(0,f.jsx)(l,{}):(0,f.jsx)(c,{})})]}),(0,f.jsx)(o,{in:x,children:e})]})};export{p as t};
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.