import c from "../../@babel/runtime/helpers/esm/defineProperty.mjs";
import * as r from "react";
import m from "../../classnames/index.mjs";
var p = function(e) {
  for (var o = e.prefixCls, i = e.level, d = e.isStart, l = e.isEnd, a = "".concat(o, "-indent-unit"), s = [], t = 0; t < i; t += 1) {
    var n;
    s.push(/* @__PURE__ */ r.createElement("span", {
      key: t,
      className: m(a, (n = {}, c(n, "".concat(a, "-start"), d[t]), c(n, "".concat(a, "-end"), l[t]), n))
    }));
  }
  return /* @__PURE__ */ r.createElement("span", {
    "aria-hidden": "true",
    className: "".concat(o, "-indent")
  }, s);
};
const E = /* @__PURE__ */ r.memo(p);
export {
  E as default
};
