import { t as e } from "../../utils-B7XIe3qq.js";
import { t } from "../../chevron-right-DuHRAn8w.js";
import { t as n } from "../../ellipsis-QzwbUxFu.js";
import "react";
import { jsx as r, jsxs as i } from "react/jsx-runtime";
//#region src/react/primitives/breadcrumb.tsx
function a({ className: t, ...n }) {
	return /* @__PURE__ */ r("nav", {
		"data-slot": "breadcrumb",
		"aria-label": "Breadcrumb",
		className: e(t),
		...n
	});
}
function o({ className: t, ...n }) {
	return /* @__PURE__ */ r("ol", {
		"data-slot": "breadcrumb-list",
		className: e("text-foreground-secondary flex flex-wrap items-center gap-1.5 text-sm sm:gap-2", t),
		...n
	});
}
function s({ className: t, ...n }) {
	return /* @__PURE__ */ r("li", {
		"data-slot": "breadcrumb-item",
		className: e("inline-flex items-center gap-1.5", t),
		...n
	});
}
function c({ className: t, asChild: n, ...i }) {
	return r(n ? "span" : "a", {
		"data-slot": "breadcrumb-link",
		className: e("text-foreground-secondary hover:text-foreground transition-colors", t),
		...i
	});
}
function l({ className: t, ...n }) {
	return /* @__PURE__ */ r("span", {
		"data-slot": "breadcrumb-page",
		role: "link",
		"aria-disabled": "true",
		"aria-current": "page",
		className: e("text-foreground font-medium", t),
		...n
	});
}
function u({ children: n, className: i, ...a }) {
	return /* @__PURE__ */ r("li", {
		"data-slot": "breadcrumb-separator",
		role: "presentation",
		"aria-hidden": "true",
		className: e("text-foreground-secondary/60 [&>svg]:size-3.5", i),
		...a,
		children: n ?? /* @__PURE__ */ r(t, {})
	});
}
function d({ className: t, ...a }) {
	return /* @__PURE__ */ i("span", {
		"data-slot": "breadcrumb-ellipsis",
		role: "presentation",
		"aria-hidden": "true",
		className: e("flex size-9 items-center justify-center", t),
		...a,
		children: [/* @__PURE__ */ r(n, { className: "size-4" }), /* @__PURE__ */ r("span", {
			className: "sr-only",
			children: "More"
		})]
	});
}
//#endregion
export { a as Breadcrumb, d as BreadcrumbEllipsis, s as BreadcrumbItem, c as BreadcrumbLink, o as BreadcrumbList, l as BreadcrumbPage, u as BreadcrumbSeparator };

//# sourceMappingURL=breadcrumb.js.map