var f = Object.defineProperty;
var e = (t, r) => f(t, "name", { value: r, configurable: !0 });
function a(t, r) {
  return r instanceof t ? r : new t(r);
}
e(a, "normalize");
function d(t, r) {
  function o(n) {
    return n.done === !0 ? n : {
      done: n.done,
      value: a(t, n.value)
    };
  }
  return e(o, "transform"), {
    [Symbol.asyncIterator]() {
      const n = r[Symbol.asyncIterator](), u = {
        next: /* @__PURE__ */ e(() => n.next().then(o), "next")
      };
      return n.throw !== void 0 && (u.throw = (i) => n.throw(i).then(o)), n.return !== void 0 && (u.return = (i) => n.return(i).then(o)), u;
    }
  };
}
e(d, "normalizeIterable");
export {
  a as normalize,
  d as normalizeIterable
};
