import{__exports as r}from"../../../_virtual/es.iterator.concat.mjs";import{__require as t}from"../internals/export.mjs";import{__require as e}from"../internals/function-call.mjs";import{__require as i}from"../internals/a-callable.mjs";import{__require as a}from"../internals/an-object.mjs";import{__require as n}from"../internals/get-iterator-method.mjs";import{__require as o}from"../internals/iterator-create-proxy.mjs";var s;function l(){if(s)return r;s=1;var l=t(),m=e(),u=i(),f=a(),_=n(),h=o(),x=Array,c=h(function(){for(;;){var r=this.iterator;if(!r){var t=this.nextIterableIndex++,e=this.iterables;if(t>=e.length)return void(this.done=!0);var i=e[t];this.iterables[t]=null,r=this.iterator=m(i.method,i.iterable),this.next=r.next}var a=f(m(this.next,r));if(!a.done)return a.value;this.iterator=null,this.next=null}});return l({target:"Iterator",stat:!0},{concat:function(){for(var r=arguments.length,t=x(r),e=0;e<r;e++){var i=f(arguments[e]);t[e]={iterable:i,method:u(_(i))}}return new c({iterables:t,nextIterableIndex:0,iterator:null,next:null})}}),r}export{l as __require};