"use strict";(self.webpackChunk_jbrowse_web=self.webpackChunk_jbrowse_web||[]).push([[5071],{79118:(e,a,t)=>{t.d(a,{Z:()=>m});var r=t(31461),o=t(7896),s=t(41867),n=t(66184),l=t(92705),i=t(51590),d=t(90293),c=t(75693),p=t(97427),u=t(80838);const h=["action","avatar","className","component","disableTypography","subheader","subheaderTypographyProps","title","titleTypographyProps"],v=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,a)=>(0,o.Z)({["& .".concat(p.Z.title)]:a.title,["& .".concat(p.Z.subheader)]:a.subheader},a.root)})({display:"flex",alignItems:"center",padding:16}),y=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,a)=>a.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),Z=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,a)=>a.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),b=(0,c.ZP)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,a)=>a.content})({flex:"1 1 auto"}),m=s.forwardRef((function(e,a){const t=(0,d.Z)({props:e,name:"MuiCardHeader"}),{action:s,avatar:c,className:m,component:g="div",disableTypography:f=!1,subheader:x,subheaderTypographyProps:C,title:w,titleTypographyProps:H}=t,j=(0,r.Z)(t,h),N=(0,o.Z)({},t,{component:g,disableTypography:f}),P=(e=>{const{classes:a}=e;return(0,l.Z)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},p.J,a)})(N);let R=w;null==R||R.type===i.Z||f||(R=(0,u.jsx)(i.Z,(0,o.Z)({variant:c?"body2":"h5",className:P.title,component:"span",display:"block"},H,{children:R})));let T=x;return null==T||T.type===i.Z||f||(T=(0,u.jsx)(i.Z,(0,o.Z)({variant:c?"body2":"body1",className:P.subheader,color:"text.secondary",component:"span",display:"block"},C,{children:T}))),(0,u.jsxs)(v,(0,o.Z)({className:(0,n.Z)(P.root,m),as:g,ref:a,ownerState:N},j,{children:[c&&(0,u.jsx)(y,{className:P.avatar,ownerState:N,children:c}),(0,u.jsxs)(b,{className:P.content,ownerState:N,children:[R,T]}),s&&(0,u.jsx)(Z,{className:P.action,ownerState:N,children:s})]}))}))},97427:(e,a,t)=>{t.d(a,{J:()=>s,Z:()=>n});var r=t(70101),o=t(88498);function s(e){return(0,o.Z)("MuiCardHeader",e)}const n=(0,r.Z)("MuiCardHeader",["root","avatar","action","content","title","subheader"])},45071:(e,a,t)=>{t.r(a),t.d(a,{cardHeaderClasses:()=>o.Z,default:()=>r.Z,getCardHeaderUtilityClass:()=>o.J});var r=t(79118),o=t(97427)}}]);
//# sourceMappingURL=5071.5e906797.chunk.js.map