42 lines
1.3 KiB
JavaScript
42 lines
1.3 KiB
JavaScript
/*
|
|
* Extracted from browser-delivered Turbopack chunk: 5d5b47876e53e564.da1ba52a93.js
|
|
* Module id: 65932
|
|
* For reading/searching only; this factory depends on the original Turbopack runtime.
|
|
*/
|
|
|
|
const moduleFactory = (e, t, r) => {
|
|
"use strict";
|
|
t.exports = function e(t, r) {
|
|
if (t === r) return !0;
|
|
if (t && r && "object" == typeof t && "object" == typeof r) {
|
|
if (t.constructor !== r.constructor) return !1;
|
|
if (Array.isArray(t)) {
|
|
if ((n = t.length) != r.length) return !1;
|
|
for (o = n; 0 != o--; ) if (!e(t[o], r[o])) return !1;
|
|
return !0;
|
|
}
|
|
if (t.constructor === RegExp)
|
|
return t.source === r.source && t.flags === r.flags;
|
|
if (t.valueOf !== Object.prototype.valueOf)
|
|
return t.valueOf() === r.valueOf();
|
|
if (t.toString !== Object.prototype.toString)
|
|
return t.toString() === r.toString();
|
|
if ((n = (a = Object.keys(t)).length) !== Object.keys(r).length)
|
|
return !1;
|
|
for (o = n; 0 != o--; )
|
|
if (!Object.prototype.hasOwnProperty.call(r, a[o])) return !1;
|
|
for (o = n; 0 != o--; ) {
|
|
var n,
|
|
o,
|
|
a,
|
|
i = a[o];
|
|
if (!e(t[i], r[i])) return !1;
|
|
}
|
|
return !0;
|
|
}
|
|
return t != t && r != r;
|
|
};
|
|
};
|
|
|
|
export default moduleFactory;
|