"use client";
'use strict';

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

var __defProp = Object.defineProperty;
var __name = (target, value) => __defProp(target, "name", { value, configurable: true });
function cn(...inputs) {
  return tailwindMerge.twMerge(clsx.clsx(inputs));
}
__name(cn, "cn");
var alertVariants = classVarianceAuthority.cva(
  "[&>svg]:text-text-default relative w-full rounded-lg border p-4 [&>svg]:absolute [&>svg]:top-4 [&>svg]:left-4 [&>svg+div]:translate-y-[-3px] [&>svg~*]:pl-7",
  {
    variants: {
      variant: {
        default: "bg-bg-tertiary text-text-default",
        info: "text-text-secondary [&>svg]:text-text-secondary bg-gray-250 border-gray-100 border-gray-200",
        destructive: "border-[#4d0408] bg-[#2d0607] text-[#ff9ea1] [&>svg]:text-[#ff9ea1]",
        warning: "border-yellow-800 bg-yellow-900 text-yellow-400 [&>svg]:text-yellow-400",
        success: "border-green-800 bg-green-900 text-green-400 [&>svg]:text-green-400",
        download: "border-gray-800 bg-gray-900 text-cyan-400 [&>svg]:text-cyan-400"
      }
    },
    defaultVariants: {
      variant: "default"
    }
  }
);
var Alert = /* @__PURE__ */ __name(({ className, variant, ref, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
  "div",
  {
    className: cn(alertVariants({ variant }), className),
    ref,
    role: "alert",
    ...props
  }
), "Alert");
Alert.displayName = "Alert";
var AlertTitle = /* @__PURE__ */ __name(({ className, ref, ...props }) => /* @__PURE__ */ jsxRuntime.jsx(
  "h5",
  {
    className: cn("mb-1 leading-none font-medium tracking-tight", className),
    ref,
    ...props
  }
), "AlertTitle");
AlertTitle.displayName = "AlertTitle";
var AlertDescription = /* @__PURE__ */ __name(({
  className,
  ref,
  ...props
}) => /* @__PURE__ */ jsxRuntime.jsx(
  "div",
  {
    className: cn("text-sm [&_p]:leading-relaxed", className),
    ref,
    ...props
  }
), "AlertDescription");
AlertDescription.displayName = "AlertDescription";

exports.Alert = Alert;
exports.AlertDescription = AlertDescription;
exports.AlertTitle = AlertTitle;
