import{__require as r}from"./global-this.mjs";import{__require as e}from"./promise-native-constructor.mjs";import{__require as i}from"./is-callable.mjs";import{__require as o}from"./is-forced.mjs";import{__require as t}from"./inspect-source.mjs";import{__require as n}from"./well-known-symbol.mjs";import{__require as s}from"./environment.mjs";import{__require as m}from"./is-pure.mjs";import{__require as u}from"./environment-v8-version.mjs";var f,a;function c(){if(a)return f;a=1;var c=r(),_=e(),p=i(),v=o(),j=t(),l=n(),q=s(),E=m(),R=u(),S=_&&_.prototype,N=l("species"),O=!1,C=p(c.PromiseRejectionEvent),T=v("Promise",function(){var r=j(_),e=r!==String(_);if(!e&&66===R)return!0;if(E&&(!S.catch||!S.finally))return!0;if(!R||R<51||!/native code/.test(r)){var i=new _(function(r){r(1)}),o=function(r){r(function(){},function(){})};if((i.constructor={})[N]=o,!(O=i.then(function(){})instanceof o))return!0}return!(e||"BROWSER"!==q&&"DENO"!==q||C)});return f={CONSTRUCTOR:T,REJECTION_EVENT:C,SUBCLASSING:O}}export{c as __require};