import{__require as r}from"./function-call.mjs";import{__require as e}from"./a-callable.mjs";import{__require as a}from"./is-callable.mjs";import{__require as t}from"./an-object.mjs";var i,o;function s(){if(o)return i;o=1;var s=r(),n=e(),l=a(),m=t(),u=TypeError;return i=function(r,e){var a,t=m(this),i=n(t.get),o=n(t.has),_=n(t.set),c=arguments.length>2?arguments[2]:void 0;if(!l(e)&&!l(c))throw new u("At least one callback required");return s(o,t,r)?(a=s(i,t,r),l(e)&&(a=e(a),s(_,t,r,a))):l(c)&&(a=c(),s(_,t,r,a)),a},i}export{s as __require};