import { __require as requireType } from "../../es-errors/type.js";
import { __require as requirePropertyDescriptor } from "../helpers/records/property-descriptor.js";
import { __require as requireFromPropertyDescriptor$1 } from "../helpers/fromPropertyDescriptor.js";
var FromPropertyDescriptor;
var hasRequiredFromPropertyDescriptor;
function requireFromPropertyDescriptor() {
  if (hasRequiredFromPropertyDescriptor) return FromPropertyDescriptor;
  hasRequiredFromPropertyDescriptor = 1;
  var $TypeError = requireType();
  var isPropertyDescriptor = requirePropertyDescriptor();
  var fromPropertyDescriptor = requireFromPropertyDescriptor$1();
  FromPropertyDescriptor = function FromPropertyDescriptor2(Desc) {
    if (typeof Desc !== "undefined" && !isPropertyDescriptor(Desc)) {
      throw new $TypeError("Assertion failed: `Desc` must be a Property Descriptor");
    }
    return fromPropertyDescriptor(Desc);
  };
  return FromPropertyDescriptor;
}
export {
  requireFromPropertyDescriptor as __require
};
