import{__exports as r}from"../../../_virtual/es.map.group-by.mjs";import{__require as e}from"../internals/export.mjs";import{__require as t}from"../internals/function-uncurry-this.mjs";import{__require as i}from"../internals/a-callable.mjs";import{__require as a}from"../internals/require-object-coercible.mjs";import{__require as s}from"../internals/iterate.mjs";import{__require as n}from"../internals/map-helpers.mjs";import{__require as o}from"../internals/is-pure.mjs";import{__require as m}from"../internals/fails.mjs";var u;function p(){if(u)return r;u=1;var p=e(),_=t(),f=i(),l=a(),c=s(),j=n(),q=o(),g=m(),b=j.Map,h=j.has,v=j.get,y=j.set,x=_([].push),B=q||g(function(){return 1!==b.groupBy("ab",function(r){return r}).get("a").length});return p({target:"Map",stat:!0,forced:q||B},{groupBy:function(r,e){l(r),f(e);var t=new b,i=0;return c(r,function(r){var a=e(r,i++);h(t,a)?x(v(t,a),r):y(t,a,[r])}),t}}),r}export{p as __require};