import{jsxs as a,jsx as c}from"react/jsx-runtime";import{B as i}from"./badge-CFi7bqqA.js";import{AlertCircle as m,XCircle as l,Clock as p,CheckCircle as S}from"lucide-react";import{T as n,S as C,c as T}from"./constants-DljxNoU5.js";import"@radix-ui/react-slot";import"class-variance-authority";import"./utils-CMbmcP35.js";import"clsx";import"tailwind-merge";const g=({status:r})=>{const o=n[r.toLowerCase()]||"failed",s=C[o],e=T[o],t={success:S,pending:p,failed:l,expired:m}[o];return a(i,{className:e,children:[c(t,{className:"w-3 h-3 mr-1"}),s]})};export{g as StatusBadge};
