({
                    t: a > 0 ? 1 : 0,
                    duration: d,
                    easing: h,
                    targets: s,
                    autoplay: !0,
                  })).finished.then(function () {
                    (v = !0), (o = void 0), t();
                  });
                })
              );
            },
            p = -1;
          return {
            setState: function (t) {
              var e =
                arguments.length > 1 && void 0 !== argu