"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[1598],{26875:(e,a,t)=>{t.d(a,{A:()=>m});var r=t(7552),o=t(70799),n=t(90175),s=t(36715),l=t(51148),d=t(4785),i=t(63439),c=t(43045),p=t(69500);const u=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Root",overridesResolver:(e,a)=>[{[`& .${i.A.title}`]:a.title},{[`& .${i.A.subheader}`]:a.subheader},a.root]})({display:"flex",alignItems:"center",padding:16}),h=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Avatar",overridesResolver:(e,a)=>a.avatar})({display:"flex",flex:"0 0 auto",marginRight:16}),y=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Action",overridesResolver:(e,a)=>a.action})({flex:"0 0 auto",alignSelf:"flex-start",marginTop:-4,marginRight:-8,marginBottom:-4}),A=(0,l.Ay)("div",{name:"MuiCardHeader",slot:"Content",overridesResolver:(e,a)=>a.content})({flex:"1 1 auto",[`.${n.A.root}:where(& .${i.A.title})`]:{display:"block"},[`.${n.A.root}:where(& .${i.A.subheader})`]:{display:"block"}}),m=r.forwardRef((function(e,a){const t=(0,d.b)({props:e,name:"MuiCardHeader"}),{action:r,avatar:n,component:l="div",disableTypography:m=!1,subheader:b,subheaderTypographyProps:v,title:w,titleTypographyProps:x,slots:g={},slotProps:f={},...C}=t,T={...t,component:l,disableTypography:m},P=(e=>{const{classes:a}=e;return(0,o.A)({root:["root"],avatar:["avatar"],action:["action"],content:["content"],title:["title"],subheader:["subheader"]},i.u,a)})(T),H={slots:g,slotProps:{title:x,subheader:v,...f}};let j=w;const[R,S]=(0,c.A)("title",{className:P.title,elementType:s.A,externalForwardedProps:H,ownerState:T,additionalProps:{variant:n?"body2":"h5",component:"span"}});null==j||j.type===s.A||m||(j=(0,p.jsx)(R,{...S,children:j}));let M=b;const[k,F]=(0,c.A)("subheader",{className:P.subheader,elementType:s.A,externalForwardedProps:H,ownerState:T,additionalProps:{variant:n?"body2":"body1",color:"textSecondary",component:"span"}});null==M||M.type===s.A||m||(M=(0,p.jsx)(k,{...F,children:M}));const[N,$]=(0,c.A)("root",{ref:a,className:P.root,elementType:u,externalForwardedProps:{...H,...C,component:l},ownerState:T}),[_,B]=(0,c.A)("avatar",{className:P.avatar,elementType:h,externalForwardedProps:H,ownerState:T}),[I,U]=(0,c.A)("content",{className:P.content,elementType:A,externalForwardedProps:H,ownerState:T}),[q,z]=(0,c.A)("action",{className:P.action,elementType:y,externalForwardedProps:H,ownerState:T});return(0,p.jsxs)(N,{...$,children:[n&&(0,p.jsx)(_,{...B,children:n}),(0,p.jsxs)(I,{...U,children:[j,M]}),r&&(0,p.jsx)(q,{...z,children:r})]})}))},63439:(e,a,t)=>{t.d(a,{A:()=>s,u:()=>n});var r=t(33761),o=t(85693);function n(e){return(0,o.Ay)("MuiCardHeader",e)}const s=(0,r.A)("MuiCardHeader",["root","avatar","action","content","title","subheader"])},31598:(e,a,t)=>{t.r(a),t.d(a,{cardHeaderClasses:()=>o.A,default:()=>r.A,getCardHeaderUtilityClass:()=>o.u});var r=t(26875),o=t(63439)}}]);
//# sourceMappingURL=1598.911d0a87.chunk.js.map