import { jsx as a } from "react/jsx-runtime";
import { u, e as h, B as S, l as k } from "./PrizeCard-C2El3VOB.js";
const x = (e) => ({
  // Main container with background overlay (with ScoreStateWrapper)
  mainContainerWithWrapper: {
    boxShadow: "md",
    border: `${e.borderSize} solid ${e.borderColor}`,
    overflow: "hidden",
    backgroundImage: e.backgroundImage,
    backgroundSize: "cover",
    backgroundPosition: "center",
    position: "relative",
    borderRadius: e.mdBorderRadius,
    minHeight: "250px",
    "&::before": {
      content: '""',
      position: "absolute",
      top: 0,
      left: 0,
      right: 0,
      bottom: 0,
      borderRadius: "inherit",
      zIndex: 0,
      background: e.imageBackgroundGradient
    }
  },
  // Main container with background overlay (without ScoreStateWrapper)
  mainContainer: {
    display: "flex",
    flexDirection: "column",
    gap: "40px",
    p: e.spacingScale.xl,
    boxShadow: "md",
    border: `${e.borderSize} solid ${e.borderColor}`,
    overflow: "hidden",
    backgroundImage: e.backgroundImage,
    backgroundPosition: "center",
    backgroundSize: "cover",
    position: "relative",
    borderRadius: e.mdBorderRadius,
    minHeight: "250px",
    "&::before": {
      content: '""',
      position: "absolute",
      top: 0,
      left: 0,
      right: 0,
      bottom: 0,
      borderRadius: "inherit",
      zIndex: 0,
      background: e.imageBackgroundGradient
    }
  }
}), R = ({
  entity: e,
  backgroundImage: d,
  imageBackgroundGradient: c,
  children: l,
  isWrappedWithScoreStateWrapper: n = !1
}) => {
  var t;
  const o = u(), s = h(), r = ((t = e.branding) == null ? void 0 : t.colors) || null, b = o.customRadius.light.md, g = o.border.light.size, m = (r == null ? void 0 : r.borderColor) || o.colorSchemes.dark.secondaryContainer, i = x({
    spacingScale: s,
    mdBorderRadius: b,
    borderSize: g,
    borderColor: m,
    backgroundImage: d,
    imageBackgroundGradient: c,
    isWrappedWithScoreStateWrapper: n
  });
  return /* @__PURE__ */ a(
    S,
    {
      sx: n ? i.mainContainerWithWrapper : i.mainContainer,
      children: l
    }
  );
}, z = k(/* @__PURE__ */ a("path", {
  d: "M16.01 11H4v2h12.01v3L20 12l-3.99-4z"
}), "ArrowRightAlt");
export {
  z as A,
  R as O
};
