import{__require as r}from"./function-bind-context.mjs";import{__require as t}from"./function-uncurry-this.mjs";import{__require as e}from"./to-object.mjs";import{__require as o}from"./is-constructor.mjs";import{__require as i}from"./get-async-iterator.mjs";import{__require as m}from"./get-iterator.mjs";import{__require as s}from"./get-iterator-direct.mjs";import{__require as n}from"./get-iterator-method.mjs";import{__require as a}from"./get-method.mjs";import{__require as u}from"./get-built-in.mjs";import{__require as _}from"./get-built-in-prototype-method.mjs";import{__require as f}from"./well-known-symbol.mjs";import{__require as c}from"./async-from-sync-iterator.mjs";import{__require as p}from"./async-iterator-iteration.mjs";var j,q;function y(){if(q)return j;q=1;var y=r(),v=t(),d=e(),h=o(),g=i(),l=m(),w=s(),b=n(),x=a(),A=u(),k=_(),I=f(),P=c(),z=p().toArray,B=I("asyncIterator"),C=v(k("Array","values")),D=v(C([]).next),E=function(){return new F(this)},F=function(r){this.iterator=C(r)};return F.prototype.next=function(){return D(this.iterator)},j=function(r){var t=this,e=arguments.length,o=e>1?arguments[1]:void 0,i=e>2?arguments[2]:void 0;return new(A("Promise"))(function(e){var m=d(r);void 0!==o&&(o=y(o,i));var s=x(m,B),n=s?void 0:b(m)||E,a=h(t)?new t:[],u=s?g(m,s):new P(w(l(m,n)));e(z(u,o,a))})},j}export{y as __require};