"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[6075],{6075:(e,o,i)=>{i.r(o),i.d(o,{cardMediaClasses:()=>l,default:()=>b,getCardMediaUtilityClass:()=>m});var a=i(7552),r=i(93878),t=i(75100),n=i(80317),s=i(50864),d=i(51062),c=i(2958);function m(e){return(0,c.Ay)("MuiCardMedia",e)}const l=(0,d.A)("MuiCardMedia",["root","media","img"]);var u=i(69500);const p=(0,n.Ay)("div",{name:"MuiCardMedia",slot:"Root",overridesResolver:(e,o)=>{const{ownerState:i}=e,{isMediaComponent:a,isImageComponent:r}=i;return[o.root,a&&o.media,r&&o.img]}})({display:"block",backgroundSize:"cover",backgroundRepeat:"no-repeat",backgroundPosition:"center",variants:[{props:{isMediaComponent:!0},style:{width:"100%"}},{props:{isImageComponent:!0},style:{objectFit:"cover"}}]}),g=["video","audio","picture","iframe","img"],C=["picture","img"],b=a.forwardRef(function(e,o){const i=(0,s.b)({props:e,name:"MuiCardMedia"}),{children:a,className:n,component:d="div",image:c,src:l,style:b,...M}=i,v=g.includes(d),w=!v&&c?{backgroundImage:`url("${c}")`,...b}:b,k={...i,component:d,isMediaComponent:v,isImageComponent:C.includes(d)},h=(e=>{const{classes:o,isMediaComponent:i,isImageComponent:a}=e,r={root:["root",i&&"media",a&&"img"]};return(0,t.A)(r,m,o)})(k);return(0,u.jsx)(p,{className:(0,r.A)(h.root,n),as:d,role:!v&&c?"img":void 0,ref:o,style:w,ownerState:k,src:v?c||l:void 0,...M,children:a})})}}]);
//# sourceMappingURL=6075.61d101ac.chunk.js.map