import{__require as r}from"./function-uncurry-this.mjs";import{__require as e}from"./to-integer-or-infinity.mjs";import{__require as t}from"./to-string.mjs";import{__require as i}from"./require-object-coercible.mjs";var o,n;function u(){if(n)return o;n=1;var u=r(),c=e(),m=t(),s=i(),a=u("".charAt),f=u("".charCodeAt),_=u("".slice),q=function(r){return function(e,t){var i,o,n=m(s(e)),u=c(t),q=n.length;return u<0||u>=q?r?"":void 0:(i=f(n,u))<55296||i>56319||u+1===q||(o=f(n,u+1))<56320||o>57343?r?a(n,u):i:r?_(n,u,u+2):o-56320+(i-55296<<10)+65536}};return o={codeAt:q(!1),charAt:q(!0)}}export{u as __require};