import{__exports as r}from"../../../_virtual/es.error.is-error.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/get-built-in.mjs";import{__require as o}from"../internals/is-object.mjs";import{__require as i}from"../internals/classof.mjs";import{__require as s}from"../internals/fails.mjs";var n;function a(){if(n)return r;n=1;var a=e(),m=t(),_=o(),u=i(),f=s(),p="Error",c="DOMException",j=Object.setPrototypeOf||{}.__proto__,l=m(c),q=Error,E=q.isError;return a({target:"Error",stat:!0,sham:!0,forced:!E||!j||f(function(){return l&&!E(new l(c))||!E(new q(p,{cause:function(){}}))||E(m("Object","create")(q.prototype))})},{isError:function(r){if(!_(r))return!1;var e=u(r);return e===p||e===c}}),r}export{a as __require};