import{__exports as r}from"../../../_virtual/es.promise.race.mjs";import{__require as e}from"../internals/export.mjs";import{__require as i}from"../internals/function-call.mjs";import{__require as t}from"../internals/a-callable.mjs";import{__require as s}from"../internals/new-promise-capability.mjs";import{__require as o}from"../internals/perform.mjs";import{__require as a}from"../internals/iterate.mjs";import{__require as n}from"../internals/promise-statics-incorrect-iteration.mjs";var m;function _(){if(m)return r;m=1;var _=e(),u=i(),f=t(),l=s(),p=o(),c=a();return _({target:"Promise",stat:!0,forced:n()},{race:function(r){var e=this,i=l.f(e),t=i.reject,s=p(function(){var s=f(e.resolve);c(r,function(r){u(s,e,r).then(i.resolve,t)})});return s.error&&t(s.value),i.promise}}),r}export{_ as __require};