'use strict';

var chunkY3NOL3WI_cjs = require('./chunk-Y3NOL3WI.cjs');
var chunk5XB54L7P_cjs = require('./chunk-5XB54L7P.cjs');
var css = require('@onbeam/styled-system/css');
var recipes = require('@onbeam/styled-system/recipes');
var jsxRuntime = require('react/jsx-runtime');

var n=chunk5XB54L7P_cjs.a(({as:t="div",linkComponent:i="a",label:d,image:p,href:l,buttonLabel:c="open",imageClassName:f,isExternal:C=!1,onClick:v,className:g,...G},N)=>{let a=recipes.gameCard();return jsxRuntime.jsxs(t,{ref:N,className:css.cx(recipes.noiseBackground(),a.root,g),...G,children:[jsxRuntime.jsx("div",{className:a.imageContainer,children:jsxRuntime.jsx("div",{className:css.cx(recipes.gridBackground(),a.image,f),children:p})}),jsxRuntime.jsxs("div",{className:a.content,children:[jsxRuntime.jsx("span",{className:a.title,children:d}),jsxRuntime.jsx(chunkY3NOL3WI_cjs.a,{as:i,href:l,target:C?"_blank":"_self",rel:"noopener noreferrer",className:a.button,size:"sm",variant:"primary",onClick:v,children:c})]})]})});n.displayName="GameCard";

exports.a = n;
//# sourceMappingURL=out.js.map
//# sourceMappingURL=chunk-IM2PVU43.cjs.map