PageSourceSearch

https://epsmasdash-ms8uwkec.manus.space/assets/alert-HWzlhw99.js

js epsmasdash-ms8uwkec.manus.space collected 2026-10-03 05:02:50 UTC 1,810 bytes, 69 lines download raw bytes

1import { c as createLucideIcon, j as jsxRuntimeExports, V as cn, a5 as cva } from './index-CNT5CkK7.js';
2
3/**
4 * @license lucide-react v0.453.0 - ISC
5 *
6 * This source code is licensed under the ISC license.
7 * See the LICENSE file in the root directory of this source tree.
8 */
9
10
11const Delete = createLucideIcon("Delete", [
12  [
13    "path",
14    {
15      d: "M10 5a2 2 0 0 0-1.344.519l-6.328 5.74a1 1 0 0 0 0 1.481l6.328 5.741A2 2 0 0 0 10 19h10a2 2 0 0 0 2-2V7a2 2 0 0 0-2-2z",
16      key: "1yo7s0"
17    }
18  ],
19  ["path", { d: "m12 9 6 6", key: "anjzzh" }],
20  ["path", { d: "m18 9-6 6", key: "1fp51s" }]
21]);
22
23const alertVariants = cva(
24  "relative w-full rounded-lg border px-4 py-3 text-sm grid has-[>svg]:grid-cols-[calc(var(--spacing)*4)_1fr] grid-cols-[0_1fr] has-[>svg]:gap-x-3 gap-y-0.5 items-start [&>svg]:size-4 [&>svg]:translate-y-0.5 [&>svg]:text-current",
25  {
26    variants: {
27      variant: {
28        default: "bg-card text-card-foreground",
29        destructive: "text-destructive bg-card [&>svg]:text-current *:data-[slot=alert-description]:text-destructive/90"
30      }
31    },
32    defaultVariants: {
33      variant: "default"
34    }
35  }
36);
37function Alert({
38  className,
39  variant,
40  ...props
41}) {
42  return /* @__PURE__ */ jsxRuntimeExports.jsx(
43    "div",
44    {
45      "data-slot": "alert",
46      role: "alert",
47      className: cn(alertVariants({ variant }), className),
48      ...props
49    }
50  );
51}
52function AlertDescription({
53  className,
54  ...props
55}) {
56  return /* @__PURE__ */ jsxRuntimeExports.jsx(
57    "div",
58    {
59      "data-slot": "alert-description",
60      className: cn(
61        "text-muted-foreground col-start-2 grid justify-items-start gap-1 text-sm [&_p]:leading-relaxed",
62        className
63      ),
64      ...props
65    }
66  );
67}
68
69export { Alert as A, Delete as D, AlertDescription as a };

Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.