ments[1] && arguments[1];
              (p === t && c !== t) ||
                (a ||
                  (a =
                    p >= 0
                      ? d({ i: p, dir: -1, duration: 600, reversed: e })
                      : Promise.resolve()),
                a.then(function () {
                  (a = void 0),
                    p === t && d({ i: t, dir: 1, duration: 600, reversed: e });
                }),
                (p = t));
            },
          };
        }
        fun