import { jsx as e } from "react/jsx-runtime";
import l from "../../modules/ScrollingText/scrollingText.module.css";
import { cn as i } from "../../utils/cn/cn.es.js";
import { InfiniteScroll as n } from "../../components/InfiniteScroll/InfiniteScroll.es.js";
import { Typography as a } from "../../components/Typography/Typography.es.js";
const o = ({ label: r, url: t }) => t ? /* @__PURE__ */ e("a", { href: t, className: l.label, children: /* @__PURE__ */ e(a, { defaultVariant: "labelMd", emphasis: !0, mobileVariant: "labelSm", weight: "regular", children: r }) }) : /* @__PURE__ */ e("div", { className: i(l.label, l.default), children: /* @__PURE__ */ e(a, { defaultVariant: "labelMd", emphasis: !0, mobileVariant: "labelSm", weight: "regular", children: r }) }), f = ({ labels: r }) => /* @__PURE__ */ e("section", { className: l.root, children: r.length > 0 && /* @__PURE__ */ e("div", { className: l.footer, children: /* @__PURE__ */ e(n, { items: r, renderItem: o }) }) });
export {
  f as ScrollingText
};
