import { evaluateVisibilityStepCondition as l } from "../evaluateVisibilityStepCondition/index.js";
const f = (o, i, r, s) => {
  const t = [];
  for (let e = 0; e < o && e < i.length; e++) {
    const n = i[e];
    l(
      n,
      r || {},
      s
    ) && t.push({
      step: n,
      originalIndex: e
    });
  }
  return t;
};
export {
  f as findAllVisibleStepsBefore
};
