"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[6466],{69488:(e,o,a)=>{a.d(o,{Z:()=>Z});var i=a(55559),r=a(30984),n=a(66204),t=a(56317),s=a(58029),d=a(57369),c=a(61125),m=a(34525),l=a(43188);const u=["children","className","component","image","src","style"],p=(0,c.ZP)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:a}=e,{isMediaComponent:i,isImageComponent:r}=a;return[o.root,i&&o.media,r&&o.img]}})((({ownerState:e})=>(0,r.Z)({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center"},e.isMediaComponent&&{width:"100%"},e.isImageComponent&&{objectFit:"cover"}))),g=["video","audio","picture","iframe","img"],C=["picture","img"],Z=n.forwardRef((function(e,o){const a=(0,d.Z)({props:e,name:"MuiCardMedia"}),{children:n,className:c,component:Z="div",image:b,src:M,style:v}=a,w=(0,i.Z)(a,u),f=-1!==g.indexOf(Z),h=!f&&b?(0,r.Z)({backgroundImage:`url("${b}")`},v):v,k=(0,r.Z)({},a,{component:Z,isMediaComponent:f,isImageComponent:-1!==C.indexOf(Z)}),y=(e=>{const{classes:o,isMediaComponent:a,isImageComponent:i}=e,r={root:["root",a&&"media",i&&"img"]};return(0,s.Z)(r,m.a,o)})(k);return(0,l.jsx)(p,(0,r.Z)({className:(0,t.Z)(y.root,c),as:Z,role:!f&&b?"img":void 0,ref:o,style:h,ownerState:k,src:f?b||M:void 0},w,{children:n}))}))},34525:(e,o,a)=>{a.d(o,{Z:()=>t,a:()=>n});var i=a(58109),r=a(95201);function n(e){return(0,r.Z)("MuiCardMedia",e)}const t=(0,i.Z)("MuiCardMedia",["root","media","img"])},26466:(e,o,a)=>{a.r(o),a.d(o,{cardMediaClasses:()=>r.Z,default:()=>i.Z,getCardMediaUtilityClass:()=>r.a});var i=a(69488),r=a(34525)}}]);
//# sourceMappingURL=6466.5921fdcb.chunk.js.map