"use client";
"use client";
import { r as e } from "../../../useRenderElement-CmuWsiNa.js";
import { cn as t } from "../../../lib/utils.js";
import { t as n } from "../../../useRender-B4Oazk_w.js";
import { jsx as r, jsxs as i } from "react/jsx-runtime";
import { ChevronRightIcon as a, MoreHorizontalIcon as o } from "lucide-react";
//#region lib/components/ui/atoms/breadcrumb.tsx
function s({ className: e, ...n }) {
	return /* @__PURE__ */ r("nav", {
		"aria-label": "breadcrumb",
		className: t(e),
		"data-slot": "breadcrumb",
		...n
	});
}
function c({ className: e, ...n }) {
	return /* @__PURE__ */ r("ol", {
		className: t("wrap-break-word flex flex-wrap items-center gap-1.5 text-muted-foreground text-sm", e),
		"data-slot": "breadcrumb-list",
		...n
	});
}
function l({ className: e, ...n }) {
	return /* @__PURE__ */ r("li", {
		className: t("inline-flex items-center gap-1", e),
		"data-slot": "breadcrumb-item",
		...n
	});
}
function u({ className: r, render: i, ...a }) {
	return n({
		defaultTagName: "a",
		props: e({ className: t("transition-colors hover:text-foreground", r) }, a),
		render: i,
		state: { slot: "breadcrumb-link" }
	});
}
function d({ className: e, ...n }) {
	return /* @__PURE__ */ r("span", {
		"aria-current": "page",
		className: t("font-normal text-foreground", e),
		"data-slot": "breadcrumb-page",
		...n
	});
}
function f({ children: e, className: n, ...i }) {
	return /* @__PURE__ */ r("li", {
		"aria-hidden": "true",
		className: t("[&>svg]:size-3.5", n),
		"data-slot": "breadcrumb-separator",
		role: "presentation",
		...i,
		children: e ?? /* @__PURE__ */ r(a, {})
	});
}
function p({ className: e, ...n }) {
	return /* @__PURE__ */ i("span", {
		"aria-hidden": "true",
		className: t("flex size-5 items-center justify-center [&>svg]:size-4", e),
		"data-slot": "breadcrumb-ellipsis",
		role: "presentation",
		...n,
		children: [/* @__PURE__ */ r(o, {}), /* @__PURE__ */ r("span", {
			className: "sr-only",
			children: "More"
		})]
	});
}
//#endregion
export { s as Breadcrumb, p as BreadcrumbEllipsis, l as BreadcrumbItem, u as BreadcrumbLink, c as BreadcrumbList, d as BreadcrumbPage, f as BreadcrumbSeparator };
