import{o as e}from"./locale-BzBS6Wyn.js";var t=e();function n({image:e,title:n,description:r,href:i,onClick:a,priority:o=!1}){let s=()=>{a?a():i&&(window.location.href=i)},c=!!(i||a);return(0,t.jsxs)(`div`,{className:`skinCard`,style:c?void 0:{cursor:`default`},...c?{onClick:s,role:`button`,tabIndex:0,onKeyDown:e=>e.key===`Enter`&&s()}:{},children:[(0,t.jsx)(`img`,{className:`skinCardBg${o?``:` reveal-image`}`,src:e,alt:``,loading:o?`eager`:`lazy`,decoding:`async`,fetchPriority:o?`high`:`auto`}),(0,t.jsx)(`div`,{className:`skinCardOverlay`}),(0,t.jsxs)(`div`,{className:`skinCardBody`,children:[(0,t.jsx)(`h3`,{className:`skinCardTitle`,children:n}),r&&(0,t.jsx)(`p`,{className:`skinCardDescription`,children:r})]})]})}export{n as t};