import { jsx as y } from "react/jsx-runtime";
import { useMemo as f } from "react";
import { c as g, s as u, a as v } from "../tools/tools.js";
const x = function(i) {
  const {
    active: s,
    as: r = "li",
    className: a,
    disabled: t,
    dropOldClass: e,
    style: o,
    variables: n,
    ...l
  } = i, m = f(() => {
    const c = g(!e && "page-item", t && "disabled", s && "active", a), p = u((b, d) => ({ tKey: v(d) }), n, o);
    return {
      className: c,
      style: p
    };
  }, [s, a, t, e, o, n]);
  return /* @__PURE__ */ y(r, { ...l, ...m });
};
x.displayName = "BRL.PaginationItem";
export {
  x as P
};
//# sourceMappingURL=pagination-item.js.map
