"use client";
'use strict';

var clsx = require('clsx');
var tailwindMerge = require('tailwind-merge');
var jsxRuntime = require('react/jsx-runtime');

// lib/utils.ts
function cn(...inputs) {
  return tailwindMerge.twMerge(clsx.clsx(inputs));
}
function DiagonalCrossFadeCenter({ className, children }) {
  return /* @__PURE__ */ jsxRuntime.jsxs(
    "section",
    {
      className: cn(
        "relative flex min-h-screen w-full items-center justify-center",
        className
      ),
      children: [
        /* @__PURE__ */ jsxRuntime.jsx(
          "div",
          {
            className: "absolute inset-0 z-0",
            style: {
              backgroundImage: `
            repeating-linear-gradient(45deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px),
            repeating-linear-gradient(135deg, transparent, transparent 32px, hsl(var(--muted)) 32px, hsl(var(--muted)) 33px)
          `,
              WebkitMaskImage: "radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%)",
              maskImage: "radial-gradient(ellipse 60% 60% at 50% 50%, #000 30%, transparent 70%)"
            }
          }
        ),
        /* @__PURE__ */ jsxRuntime.jsx("div", { className: "relative z-10", children })
      ]
    }
  );
}

exports.DiagonalCrossFadeCenter = DiagonalCrossFadeCenter;
//# sourceMappingURL=diagonal-cross-fade-center.cjs.map
//# sourceMappingURL=diagonal-cross-fade-center.cjs.map