import{__require as r}from"./function-uncurry-this.mjs";import{__require as t}from"./fails.mjs";import{__require as e}from"./is-callable.mjs";import{__require as n}from"./classof.mjs";import{__require as i}from"./get-built-in.mjs";import{__require as c}from"./inspect-source.mjs";var u,s;function o(){if(s)return u;s=1;var o=r(),a=t(),f=e(),m=n(),_=i(),l=c(),p=function(){},j=_("Reflect","construct"),q=/^\s*(?:class|function)\b/,h=o(q.exec),y=!q.test(p),b=function(r){if(!f(r))return!1;try{return j(p,[],r),!0}catch(r){return!1}},v=function(r){if(!f(r))return!1;switch(m(r)){case"AsyncFunction":case"GeneratorFunction":case"AsyncGeneratorFunction":return!1}try{return y||!!h(q,l(r))}catch(r){return!0}};return v.sham=!0,u=!j||a(function(){var r;return b(b.call)||!b(Object)||!b(function(){r=!0})||r})?v:b}export{o as __require};