"use client";
import { __exports as n } from "../../../../../_virtual/has.js";
import { __require as q } from "../_internal/isDeepKey.js";
import { __require as y } from "../_internal/isIndex.js";
import { __require as d } from "../predicate/isArguments.js";
import { __require as g } from "../util/toPath.js";
var a;
function S() {
  return a ? n : (a = 1, (function(o) {
    Object.defineProperty(o, Symbol.toStringTag, { value: "Module" });
    const f = /* @__PURE__ */ q(), l = /* @__PURE__ */ y(), m = /* @__PURE__ */ d(), c = /* @__PURE__ */ g();
    function _(u, e) {
      let s;
      if (Array.isArray(e) ? s = e : typeof e == "string" && f.isDeepKey(e) && u?.[e] == null ? s = c.toPath(e) : s = [e], s.length === 0)
        return !1;
      let r = u;
      for (let t = 0; t < s.length; t++) {
        const i = s[t];
        if ((r == null || !Object.hasOwn(r, i)) && !((Array.isArray(r) || m.isArguments(r)) && l.isIndex(i) && i < r.length))
          return !1;
        r = r[i];
      }
      return !0;
    }
    o.has = _;
  })(n), n);
}
export {
  S as __require
};
