"use strict";(globalThis.webpackChunk_jbrowse_web=globalThis.webpackChunk_jbrowse_web||[]).push([[6585],{36585:(o,i,e)=>{e.r(i),e.d(i,{cardActionAreaClasses:()=>f,default:()=>C,getCardActionAreaUtilityClass:()=>d});var t=e(30984),s=e(55559),r=e(66204),a=e(56317),c=e(58029),n=e(57369),l=e(61125),u=e(58109),h=e(95201);function d(o){return(0,h.Z)("MuiCardActionArea",o)}const f=(0,u.Z)("MuiCardActionArea",["root","focusVisible","focusHighlight"]);var g=e(42870),b=e(43188);const p=["children","className","focusVisibleClassName"],A=(0,l.ZP)(g.Z,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(o,i)=>i.root})((({theme:o})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${f.focusHighlight}`]:{opacity:(o.vars||o).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${f.focusVisible} .${f.focusHighlight}`]:{opacity:(o.vars||o).palette.action.focusOpacity}}))),m=(0,l.ZP)("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(o,i)=>i.focusHighlight})((({theme:o})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:o.transitions.create("opacity",{duration:o.transitions.duration.short})}))),C=r.forwardRef((function(o,i){const e=(0,n.Z)({props:o,name:"MuiCardActionArea"}),{children:r,className:l,focusVisibleClassName:u}=e,h=(0,s.Z)(e,p),f=e,g=(o=>{const{classes:i}=o;return(0,c.Z)({root:["root"],focusHighlight:["focusHighlight"]},d,i)})(f);return(0,b.jsxs)(A,(0,t.Z)({className:(0,a.Z)(g.root,l),focusVisibleClassName:(0,a.Z)(u,g.focusVisible),ref:i,ownerState:f},h,{children:[r,(0,b.jsx)(m,{className:g.focusHighlight,ownerState:f})]}))}))}}]);
//# sourceMappingURL=6585.f646d1ce.chunk.js.map