import { jsx as m } from "react/jsx-runtime";
import { useMemo as C } from "react";
import { c as u, s as y, a as f } from "../tools/tools.js";
const d = function(e) {
  const { as: r = "div", className: s, dropOldClass: a, style: o, variables: t, ...n } = e, l = C(() => {
    const i = u(!a && "carousel-caption", s), c = y((v, p) => ({ tKey: f(p) }), t, o);
    return { className: i, style: c };
  }, [s, a, o, t]);
  return /* @__PURE__ */ m(r, { ...n, ...l });
};
d.displayName = "BRL.CarouselCaption";
export {
  d as C
};
//# sourceMappingURL=carousel-caption.js.map
