import { f as u } from "./index.es456.js";
import { t as h } from "./index.es588.js";
import { t as m } from "./index.es500.js";
import { r as g } from "./index.es528.js";
var a = u, l = h, d = m, p = g, A = a("".charAt), c = a("".charCodeAt), b = a("".slice), s = function(i) {
  return function(v, f) {
    var t = d(p(v)), r = l(f), n = t.length, e, o;
    return r < 0 || r >= n ? i ? "" : void 0 : (e = c(t, r), e < 55296 || e > 56319 || r + 1 === n || (o = c(t, r + 1)) < 56320 || o > 57343 ? i ? A(t, r) : e : i ? b(t, r, r + 2) : (e - 55296 << 10) + (o - 56320) + 65536);
  };
}, C = {
  // `String.prototype.codePointAt` method
  // https://tc39.es/ecma262/#sec-string.prototype.codepointat
  codeAt: s(!1),
  // `String.prototype.at` method
  // https://github.com/mathiasbynens/String.prototype.at
  charAt: s(!0)
};
export {
  C as s
};
//# sourceMappingURL=index.es499.js.map
