import{__require as r}from"./function-call.mjs";import{__require as e}from"./is-object.mjs";import{__require as i}from"./is-symbol.mjs";import{__require as o}from"./get-method.mjs";import{__require as t}from"./ordinary-to-primitive.mjs";import{__require as m}from"./well-known-symbol.mjs";var n,u;function s(){if(u)return n;u=1;var s=r(),a=e(),f=i(),_=o(),p=t(),v=m(),j=TypeError,l=v("toPrimitive");return n=function(r,e){if(!a(r)||f(r))return r;var i,o=_(r,l);if(o){if(void 0===e&&(e="default"),i=s(o,r,e),!a(i)||f(i))return i;throw new j("Can't convert object to primitive value")}return void 0===e&&(e="number"),p(r,e)}}export{s as __require};