import { __require as requireType } from "../../es-errors/type.js";
import { __require as requireObjectInspect } from "../../object-inspect/index.js";
import { __require as requireIsPropertyKey } from "../helpers/isPropertyKey.js";
import { __require as requireIsObject } from "../../es-object-atoms/isObject.js";
var Get;
var hasRequiredGet;
function requireGet() {
  if (hasRequiredGet) return Get;
  hasRequiredGet = 1;
  var $TypeError = requireType();
  var inspect = requireObjectInspect();
  var isPropertyKey = requireIsPropertyKey();
  var isObject = requireIsObject();
  Get = function Get2(O, P) {
    if (!isObject(O)) {
      throw new $TypeError("Assertion failed: Type(O) is not Object");
    }
    if (!isPropertyKey(P)) {
      throw new $TypeError("Assertion failed: P is not a Property Key, got " + inspect(P));
    }
    return O[P];
  };
  return Get;
}
export {
  requireGet as __require
};
