function p(t, e, u, i) {
  let r;
  if (r !== void 0)
    return !!r;
  if (t === e)
    return !0;
  if (typeof t != "object" || !t || typeof e != "object" || !e)
    return !1;
  const n = Object.keys(t), l = Object.keys(e);
  if (n.length !== l.length)
    return !1;
  const c = Object.prototype.hasOwnProperty.bind(e);
  for (let s = 0; s < n.length; s++) {
    const o = n[s];
    if (!c(o))
      return !1;
    const f = t[o], a = e[o];
    if (r = void 0, r === !1 || r === void 0 && f !== a)
      return !1;
  }
  return !0;
}
export {
  p as shallowEqual
};
//# sourceMappingURL=index.js.map
