import { _ as a } from "./index.es323.js";
import { p as n } from "./index.es452.js";
import { f } from "./index.es463.js";
import { g as m } from "./index.es364.js";
import { i as u } from "./index.es367.js";
import { s as p } from "./index.es497.js";
import { p as c } from "./index.es498.js";
var v = a, o = n, l = f, C = m, h = u, N = p, s = c, $ = o && o.prototype, P = !!o && l(function() {
  $.finally.call({ then: function() {
  } }, function() {
  });
});
v({ target: "Promise", proto: !0, real: !0, forced: P }, {
  finally: function(r) {
    var e = N(this, C("Promise")), i = h(r);
    return this.then(
      i ? function(t) {
        return s(e, r()).then(function() {
          return t;
        });
      } : r,
      i ? function(t) {
        return s(e, r()).then(function() {
          throw t;
        });
      } : r
    );
  }
});
//# sourceMappingURL=index.es439.js.map
