import{__exports as r}from"../../../_virtual/esnext.async-iterator.drop.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/function-call.mjs";import{__require as n}from"../internals/an-object.mjs";import{__require as i}from"../internals/get-iterator-direct.mjs";import{__require as o}from"../internals/not-a-nan.mjs";import{__require as a}from"../internals/to-positive-integer.mjs";import{__require as s}from"../internals/async-iterator-create-proxy.mjs";import{__require as m}from"../internals/create-iter-result-object.mjs";var u;function c(){if(u)return r;u=1;var c=e(),_=t(),f=n(),p=i(),l=o(),j=a(),v=s(),q=m(),d=v(function(r){var e=this;return new r(function(t,n){var i=function(r){e.done=!0,n(r)},o=function(){try{r.resolve(f(_(e.next,e.iterator))).then(function(r){try{f(r).done?(e.done=!0,t(q(void 0,!0))):e.remaining?(e.remaining--,o()):t(q(r.value,!1))}catch(r){i(r)}},i)}catch(r){i(r)}};o()})});return c({target:"AsyncIterator",proto:!0,real:!0,forced:!0},{drop:function(r){f(this);var e=j(l(+r));return new d(p(this),{remaining:e})}}),r}export{c as __require};