import{__require as r}from"./a-callable.mjs";import{__require as t}from"./an-object.mjs";import{__require as e}from"./function-call.mjs";import{__require as i}from"./to-integer-or-infinity.mjs";import{__require as s}from"./get-iterator-direct.mjs";var o,n;function a(){if(n)return o;n=1;var a=r(),u=t(),m=e(),f=i(),h=s(),_="Invalid size",c=RangeError,p=TypeError,l=Math.max,j=function(r,t){this.set=r,this.size=l(t,0),this.has=a(r.has),this.keys=a(r.keys)};return j.prototype={getIterator:function(){return h(u(m(this.keys,this.set)))},includes:function(r){return m(this.has,this.set,r)}},o=function(r){u(r);var t=+r.size;if(t!=t)throw new p(_);var e=f(t);if(e<0)throw new c(_);return new j(r,e)}}export{a as __require};