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