import { __require as requireGetIntrinsic } from "../../get-intrinsic/index.js";
import { __require as requireIsPrimitive } from "../helpers/isPrimitive.js";
var IsExtensible;
var hasRequiredIsExtensible;
function requireIsExtensible() {
  if (hasRequiredIsExtensible) return IsExtensible;
  hasRequiredIsExtensible = 1;
  var GetIntrinsic = requireGetIntrinsic();
  var $preventExtensions = GetIntrinsic("%Object.preventExtensions%", true);
  var $isExtensible = GetIntrinsic("%Object.isExtensible%", true);
  var isPrimitive = requireIsPrimitive();
  IsExtensible = $preventExtensions ? function IsExtensible2(obj) {
    return !isPrimitive(obj) && $isExtensible(obj);
  } : function IsExtensible2(obj) {
    return !isPrimitive(obj);
  };
  return IsExtensible;
}
export {
  requireIsExtensible as __require
};
