import{__exports as r}from"../../../_virtual/esnext.map.update.mjs";import{__require as e}from"../internals/export.mjs";import{__require as a}from"../internals/a-callable.mjs";import{__require as t}from"../internals/a-map.mjs";import{__require as i}from"../internals/map-helpers.mjs";var s;function o(){if(s)return r;s=1;var o=e(),n=a(),m=t(),p=i(),u=TypeError,_=p.get,l=p.has,f=p.set;return o({target:"Map",proto:!0,real:!0,forced:!0},{update:function(r,e){var a=m(this),t=arguments.length;n(e);var i=l(a,r);if(!i&&t<3)throw new u("Updating absent value");var s=i?_(a,r):n(t>2?arguments[2]:void 0)(r,a);return f(a,r,e(s,r,a)),a}}),r}export{o as __require};