import{__exports as r}from"../../../_virtual/esnext.set.reduce.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/a-callable.mjs";import{__require as i}from"../internals/a-set.mjs";import{__require as o}from"../internals/set-iterate.mjs";var a;function n(){if(a)return r;a=1;var n=e(),s=t(),m=i(),u=o(),_=TypeError;return n({target:"Set",proto:!0,real:!0,forced:!0},{reduce:function(r){var e=m(this),t=arguments.length<2,i=t?void 0:arguments[1];if(s(r),u(e,function(o){t?(t=!1,i=o):i=r(i,o,o,e)}),t)throw new _("Reduce of empty set with no initial value");return i}}),r}export{n as __require};