import e from "./index-getPrototypeOf.js";
import u from "./index-isNativeReflectConstruct.js";
import i from "./index-possibleConstructorReturn.js";
function p(o) {
  var s = u();
  return function() {
    var t, r = e(o);
    if (s) {
      var n = e(this).constructor;
      t = Reflect.construct(r, arguments, n);
    } else t = r.apply(this, arguments);
    return i(this, t);
  };
}
export {
  p as default
};
