import "react";
const f = /* @__PURE__ */ new WeakMap();
function c(t) {
  let e = f.get(t);
  if (e != null)
    return e;
  e = 0;
  for (let a of t)
    a.type === "section" ? e += c(a.childNodes) : e++;
  return f.set(t, e), e;
}
export {
  c as getItemCount
};
//# sourceMappingURL=module.es.js.map
