import{ak as g,al as f,r as C,an as A,ap as b,j as r,ah as m,am as n,as as x,at as l,b5 as y}from"./vendor-ClLR6ncd.js";import{C as v}from"./CheckboxWithLabel-D5KtBcIx.js";import{E as R}from"./Messages-BRmQDxrZ.js";function H(s){return g("MuiCardActionArea",s)}const c=f("MuiCardActionArea",["root","focusVisible","focusHighlight"]),j=["children","className","focusVisibleClassName"],N=s=>{const{classes:o}=s;return x({root:["root"],focusHighlight:["focusHighlight"]},H,o)},E=l(y,{name:"MuiCardActionArea",slot:"Root",overridesResolver:(s,o)=>o.root})(({theme:s})=>({display:"block",textAlign:"inherit",borderRadius:"inherit",width:"100%",[`&:hover .${c.focusHighlight}`]:{opacity:(s.vars||s).palette.action.hoverOpacity,"@media (hover: none)":{opacity:0}},[`&.${c.focusVisible} .${c.focusHighlight}`]:{opacity:(s.vars||s).palette.action.focusOpacity}})),M=l("span",{name:"MuiCardActionArea",slot:"FocusHighlight",overridesResolver:(s,o)=>o.focusHighlight})(({theme:s})=>({overflow:"hidden",pointerEvents:"none",position:"absolute",top:0,right:0,bottom:0,left:0,borderRadius:"inherit",opacity:0,backgroundColor:"currentcolor",transition:s.transitions.create("opacity",{duration:s.transitions.duration.short})})),F=C.forwardRef(function(o,a){const t=A({props:o,name:"MuiCardActionArea"}),{children:u,className:d,focusVisibleClassName:h}=t,p=b(t,j),e=t,i=N(e);return r.jsxs(E,m({className:n(i.root,d),focusVisibleClassName:n(h,i.focusVisible),ref:a,ownerState:e},p,{children:[u,r.jsx(M,{className:i.focusHighlight,ownerState:e})]}))});function U({disabled:s,setter:o,value:a,mutation:t}){return r.jsxs(r.Fragment,{children:[r.jsx(R,{error:t.error,resetError:t.reset}),r.jsx(v,{disabled:s||t.isLoading,label:"RDF-star semantics",setter:o,value:a})]})}export{F as C,U as R};
