Include Component Props in Performance Track (#33655)

Similar to how we can include a Promise resolved value we can include
Component Props.

For now I left out props for Client Components for perf unless they
error. I'll try it for Client Components in general in a separate PR.

<img width="730" alt="Screenshot 2025-06-26 at 5 54 29 PM"
src="https://github.com/user-attachments/assets/f0c86911-2899-4b5f-b45f-5326bdbc630f"
/>
<img width="762" alt="Screenshot 2025-06-26 at 5 54 12 PM"
src="https://github.com/user-attachments/assets/97540d19-5950-4346-99e6-066af086040e"
/>

DiffTrain build for [d2a288febf](https://github.com/facebook/react/commit/d2a288febf61a1755b78ce98b3cb17dd412b81e3)
This commit is contained in:
sebmarkbage
2025-06-27 05:51:37 -07:00
parent 562aaeb636
commit fd62043fd8
34 changed files with 1304 additions and 96 deletions
+1 -1
View File
@@ -1 +1 @@
bb6c9d521e7f44eb9a9754a14cde62c8e6439e5e
d2a288febf61a1755b78ce98b3cb17dd412b81e3
+1 -1
View File
@@ -1 +1 @@
bb6c9d521e7f44eb9a9754a14cde62c8e6439e5e
d2a288febf61a1755b78ce98b3cb17dd412b81e3
+1 -1
View File
@@ -1479,7 +1479,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1479,7 +1479,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
+1 -1
View File
@@ -630,4 +630,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -634,7 +634,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+155 -4
View File
@@ -1101,6 +1101,149 @@ __DEV__ &&
function is(x, y) {
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
}
function getArrayKind(array) {
for (var kind = 0, i = 0; i < array.length; i++) {
var value = array[i];
if ("object" === typeof value && null !== value)
if (
isArrayImpl(value) &&
2 === value.length &&
"string" === typeof value[0]
) {
if (0 !== kind && 3 !== kind) return 1;
kind = 3;
} else return 1;
else {
if (
"function" === typeof value ||
("string" === typeof value && 50 < value.length) ||
(0 !== kind && 2 !== kind)
)
return 1;
kind = 2;
}
}
return kind;
}
function addObjectToProperties(object, properties, indent) {
for (var key in object)
hasOwnProperty.call(object, key) &&
"_" !== key[0] &&
addValueToProperties(key, object[key], properties, indent);
}
function addValueToProperties(propertyName, value, properties, indent) {
switch (typeof value) {
case "object":
if (null === value) {
value = "null";
break;
} else {
if (value.$$typeof === REACT_ELEMENT_TYPE) {
var typeName = getComponentNameFromType(value.type) || "\u2026",
key = value.key;
value = value.props;
var propsKeys = Object.keys(value),
propsLength = propsKeys.length;
if (null == key && 0 === propsLength) {
value = "<" + typeName + " />";
break;
}
if (
3 > indent ||
(1 === propsLength &&
"children" === propsKeys[0] &&
null == key)
) {
value = "<" + typeName + " \u2026 />";
break;
}
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"<" + typeName
]);
null !== key &&
addValueToProperties("key", key, properties, indent + 1);
propertyName = !1;
for (var propKey in value)
"children" === propKey
? null != value.children &&
(!isArrayImpl(value.children) ||
0 < value.children.length) &&
(propertyName = !0)
: hasOwnProperty.call(value, propKey) &&
"_" !== propKey[0] &&
addValueToProperties(
propKey,
value[propKey],
properties,
indent + 1
);
properties.push([
"",
propertyName ? ">\u2026</" + typeName + ">" : "/>"
]);
return;
}
typeName = Object.prototype.toString.call(value);
typeName = typeName.slice(8, typeName.length - 1);
if ("Array" === typeName)
if (
((propKey = getArrayKind(value)),
2 === propKey || 0 === propKey)
) {
value = JSON.stringify(value);
break;
} else if (3 === propKey) {
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
""
]);
for (
propertyName = 0;
propertyName < value.length;
propertyName++
)
(typeName = value[propertyName]),
addValueToProperties(
typeName[0],
typeName[1],
properties,
indent + 1
);
return;
}
"Object" === typeName &&
(propKey = Object.getPrototypeOf(value)) &&
"function" === typeof propKey.constructor &&
(typeName = propKey.constructor.name);
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
]);
3 > indent && addObjectToProperties(value, properties, indent + 1);
return;
}
case "function":
value = "" === value.name ? "() => {}" : value.name + "() {}";
break;
case "string":
value =
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." ===
value
? "\u2026"
: JSON.stringify(value);
break;
case "undefined":
value = "undefined";
break;
case "boolean":
value = value ? "true" : "false";
break;
default:
value = String(value);
}
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
}
function setCurrentTrackFromLanes(lanes) {
currentTrack =
lanes & 127
@@ -1209,6 +1352,10 @@ __DEV__ &&
: String(capturedValue)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, properties, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, properties, 0);
null == debugTask && (debugTask = fiber._debugTask);
fiber = {
start: startTime,
@@ -1262,6 +1409,10 @@ __DEV__ &&
: String(error)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, selfTime, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
startTime = {
start: startTime,
end: endTime,
@@ -17048,6 +17199,7 @@ __DEV__ &&
}
console.error(error);
},
hasOwnProperty = Object.prototype.hasOwnProperty,
supportsUserTiming =
"undefined" !== typeof console &&
"function" === typeof console.timeStamp,
@@ -17207,7 +17359,6 @@ __DEV__ &&
};
var resumedCache = createCursor(null),
transitionStack = createCursor(null),
hasOwnProperty = Object.prototype.hasOwnProperty,
ReactStrictModeWarnings = {
recordUnsafeLifecycleWarnings: function () {},
flushPendingUnsafeLifecycleWarnings: function () {},
@@ -19073,10 +19224,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-bb6c9d52-20250625",
version: "19.2.0-www-classic-d2a288fe-20250627",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-classic-d2a288fe-20250627"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -19110,7 +19261,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+155 -4
View File
@@ -1007,6 +1007,149 @@ __DEV__ &&
function is(x, y) {
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
}
function getArrayKind(array) {
for (var kind = 0, i = 0; i < array.length; i++) {
var value = array[i];
if ("object" === typeof value && null !== value)
if (
isArrayImpl(value) &&
2 === value.length &&
"string" === typeof value[0]
) {
if (0 !== kind && 3 !== kind) return 1;
kind = 3;
} else return 1;
else {
if (
"function" === typeof value ||
("string" === typeof value && 50 < value.length) ||
(0 !== kind && 2 !== kind)
)
return 1;
kind = 2;
}
}
return kind;
}
function addObjectToProperties(object, properties, indent) {
for (var key in object)
hasOwnProperty.call(object, key) &&
"_" !== key[0] &&
addValueToProperties(key, object[key], properties, indent);
}
function addValueToProperties(propertyName, value, properties, indent) {
switch (typeof value) {
case "object":
if (null === value) {
value = "null";
break;
} else {
if (value.$$typeof === REACT_ELEMENT_TYPE) {
var typeName = getComponentNameFromType(value.type) || "\u2026",
key = value.key;
value = value.props;
var propsKeys = Object.keys(value),
propsLength = propsKeys.length;
if (null == key && 0 === propsLength) {
value = "<" + typeName + " />";
break;
}
if (
3 > indent ||
(1 === propsLength &&
"children" === propsKeys[0] &&
null == key)
) {
value = "<" + typeName + " \u2026 />";
break;
}
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"<" + typeName
]);
null !== key &&
addValueToProperties("key", key, properties, indent + 1);
propertyName = !1;
for (var propKey in value)
"children" === propKey
? null != value.children &&
(!isArrayImpl(value.children) ||
0 < value.children.length) &&
(propertyName = !0)
: hasOwnProperty.call(value, propKey) &&
"_" !== propKey[0] &&
addValueToProperties(
propKey,
value[propKey],
properties,
indent + 1
);
properties.push([
"",
propertyName ? ">\u2026</" + typeName + ">" : "/>"
]);
return;
}
typeName = Object.prototype.toString.call(value);
typeName = typeName.slice(8, typeName.length - 1);
if ("Array" === typeName)
if (
((propKey = getArrayKind(value)),
2 === propKey || 0 === propKey)
) {
value = JSON.stringify(value);
break;
} else if (3 === propKey) {
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
""
]);
for (
propertyName = 0;
propertyName < value.length;
propertyName++
)
(typeName = value[propertyName]),
addValueToProperties(
typeName[0],
typeName[1],
properties,
indent + 1
);
return;
}
"Object" === typeName &&
(propKey = Object.getPrototypeOf(value)) &&
"function" === typeof propKey.constructor &&
(typeName = propKey.constructor.name);
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
]);
3 > indent && addObjectToProperties(value, properties, indent + 1);
return;
}
case "function":
value = "" === value.name ? "() => {}" : value.name + "() {}";
break;
case "string":
value =
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." ===
value
? "\u2026"
: JSON.stringify(value);
break;
case "undefined":
value = "undefined";
break;
case "boolean":
value = value ? "true" : "false";
break;
default:
value = String(value);
}
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
}
function setCurrentTrackFromLanes(lanes) {
currentTrack =
lanes & 127
@@ -1115,6 +1258,10 @@ __DEV__ &&
: String(capturedValue)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, properties, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, properties, 0);
null == debugTask && (debugTask = fiber._debugTask);
fiber = {
start: startTime,
@@ -1168,6 +1315,10 @@ __DEV__ &&
: String(error)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, selfTime, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
startTime = {
start: startTime,
end: endTime,
@@ -16821,6 +16972,7 @@ __DEV__ &&
}
console.error(error);
},
hasOwnProperty = Object.prototype.hasOwnProperty,
supportsUserTiming =
"undefined" !== typeof console &&
"function" === typeof console.timeStamp,
@@ -16980,7 +17132,6 @@ __DEV__ &&
};
var resumedCache = createCursor(null),
transitionStack = createCursor(null),
hasOwnProperty = Object.prototype.hasOwnProperty,
ReactStrictModeWarnings = {
recordUnsafeLifecycleWarnings: function () {},
flushPendingUnsafeLifecycleWarnings: function () {},
@@ -18845,10 +18996,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-bb6c9d52-20250625",
version: "19.2.0-www-modern-d2a288fe-20250627",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-modern-d2a288fe-20250627"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18882,7 +19033,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -950,6 +950,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
}
console.error(error);
},
hasOwnProperty = Object.prototype.hasOwnProperty,
prefix,
suffix;
function describeBuiltInComponentFrame(name) {
@@ -1750,7 +1751,6 @@ function getSuspendedCache() {
? null
: { parent: CacheContext._currentValue2, pool: cacheFromPool };
}
var hasOwnProperty = Object.prototype.hasOwnProperty;
function shallowEqual(objA, objB) {
if (objectIs(objA, objB)) return !0;
if (
@@ -11346,10 +11346,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1629 = {
bundleType: 0,
version: "19.2.0-www-classic-bb6c9d52-20250625",
version: "19.2.0-www-classic-d2a288fe-20250627",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-classic-d2a288fe-20250627"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1630 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11375,4 +11375,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
@@ -808,6 +808,7 @@ var objectIs = "function" === typeof Object.is ? Object.is : is,
}
console.error(error);
},
hasOwnProperty = Object.prototype.hasOwnProperty,
prefix,
suffix;
function describeBuiltInComponentFrame(name) {
@@ -1608,7 +1609,6 @@ function getSuspendedCache() {
? null
: { parent: CacheContext._currentValue2, pool: cacheFromPool };
}
var hasOwnProperty = Object.prototype.hasOwnProperty;
function shallowEqual(objA, objB) {
if (objectIs(objA, objB)) return !0;
if (
@@ -11062,10 +11062,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1602 = {
bundleType: 0,
version: "19.2.0-www-modern-bb6c9d52-20250625",
version: "19.2.0-www-modern-d2a288fe-20250627",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-modern-d2a288fe-20250627"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1603 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11091,4 +11091,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
+156 -5
View File
@@ -3609,6 +3609,149 @@ __DEV__ &&
function is(x, y) {
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
}
function getArrayKind(array) {
for (var kind = 0, i = 0; i < array.length; i++) {
var value = array[i];
if ("object" === typeof value && null !== value)
if (
isArrayImpl(value) &&
2 === value.length &&
"string" === typeof value[0]
) {
if (0 !== kind && 3 !== kind) return 1;
kind = 3;
} else return 1;
else {
if (
"function" === typeof value ||
("string" === typeof value && 50 < value.length) ||
(0 !== kind && 2 !== kind)
)
return 1;
kind = 2;
}
}
return kind;
}
function addObjectToProperties(object, properties, indent) {
for (var key in object)
hasOwnProperty.call(object, key) &&
"_" !== key[0] &&
addValueToProperties(key, object[key], properties, indent);
}
function addValueToProperties(propertyName, value, properties, indent) {
switch (typeof value) {
case "object":
if (null === value) {
value = "null";
break;
} else {
if (value.$$typeof === REACT_ELEMENT_TYPE) {
var typeName = getComponentNameFromType(value.type) || "\u2026",
key = value.key;
value = value.props;
var propsKeys = Object.keys(value),
propsLength = propsKeys.length;
if (null == key && 0 === propsLength) {
value = "<" + typeName + " />";
break;
}
if (
3 > indent ||
(1 === propsLength &&
"children" === propsKeys[0] &&
null == key)
) {
value = "<" + typeName + " \u2026 />";
break;
}
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"<" + typeName
]);
null !== key &&
addValueToProperties("key", key, properties, indent + 1);
propertyName = !1;
for (var propKey in value)
"children" === propKey
? null != value.children &&
(!isArrayImpl(value.children) ||
0 < value.children.length) &&
(propertyName = !0)
: hasOwnProperty.call(value, propKey) &&
"_" !== propKey[0] &&
addValueToProperties(
propKey,
value[propKey],
properties,
indent + 1
);
properties.push([
"",
propertyName ? ">\u2026</" + typeName + ">" : "/>"
]);
return;
}
typeName = Object.prototype.toString.call(value);
typeName = typeName.slice(8, typeName.length - 1);
if ("Array" === typeName)
if (
((propKey = getArrayKind(value)),
2 === propKey || 0 === propKey)
) {
value = JSON.stringify(value);
break;
} else if (3 === propKey) {
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
""
]);
for (
propertyName = 0;
propertyName < value.length;
propertyName++
)
(typeName = value[propertyName]),
addValueToProperties(
typeName[0],
typeName[1],
properties,
indent + 1
);
return;
}
"Object" === typeName &&
(propKey = Object.getPrototypeOf(value)) &&
"function" === typeof propKey.constructor &&
(typeName = propKey.constructor.name);
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
]);
3 > indent && addObjectToProperties(value, properties, indent + 1);
return;
}
case "function":
value = "" === value.name ? "() => {}" : value.name + "() {}";
break;
case "string":
value =
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." ===
value
? "\u2026"
: JSON.stringify(value);
break;
case "undefined":
value = "undefined";
break;
case "boolean":
value = value ? "true" : "false";
break;
default:
value = String(value);
}
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
}
function setCurrentTrackFromLanes(lanes) {
currentTrack =
lanes & 127
@@ -3717,6 +3860,10 @@ __DEV__ &&
: String(capturedValue)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, properties, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, properties, 0);
null == debugTask && (debugTask = fiber._debugTask);
fiber = {
start: startTime,
@@ -3770,6 +3917,10 @@ __DEV__ &&
: String(error)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, selfTime, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
startTime = {
start: startTime,
end: endTime,
@@ -31449,11 +31600,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-bb6c9d52-20250625" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-d2a288fe-20250627" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-classic-bb6c9d52-20250625\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31496,10 +31647,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-bb6c9d52-20250625",
version: "19.2.0-www-classic-d2a288fe-20250627",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-classic-d2a288fe-20250627"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32099,7 +32250,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+156 -5
View File
@@ -3501,6 +3501,149 @@ __DEV__ &&
function is(x, y) {
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
}
function getArrayKind(array) {
for (var kind = 0, i = 0; i < array.length; i++) {
var value = array[i];
if ("object" === typeof value && null !== value)
if (
isArrayImpl(value) &&
2 === value.length &&
"string" === typeof value[0]
) {
if (0 !== kind && 3 !== kind) return 1;
kind = 3;
} else return 1;
else {
if (
"function" === typeof value ||
("string" === typeof value && 50 < value.length) ||
(0 !== kind && 2 !== kind)
)
return 1;
kind = 2;
}
}
return kind;
}
function addObjectToProperties(object, properties, indent) {
for (var key in object)
hasOwnProperty.call(object, key) &&
"_" !== key[0] &&
addValueToProperties(key, object[key], properties, indent);
}
function addValueToProperties(propertyName, value, properties, indent) {
switch (typeof value) {
case "object":
if (null === value) {
value = "null";
break;
} else {
if (value.$$typeof === REACT_ELEMENT_TYPE) {
var typeName = getComponentNameFromType(value.type) || "\u2026",
key = value.key;
value = value.props;
var propsKeys = Object.keys(value),
propsLength = propsKeys.length;
if (null == key && 0 === propsLength) {
value = "<" + typeName + " />";
break;
}
if (
3 > indent ||
(1 === propsLength &&
"children" === propsKeys[0] &&
null == key)
) {
value = "<" + typeName + " \u2026 />";
break;
}
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"<" + typeName
]);
null !== key &&
addValueToProperties("key", key, properties, indent + 1);
propertyName = !1;
for (var propKey in value)
"children" === propKey
? null != value.children &&
(!isArrayImpl(value.children) ||
0 < value.children.length) &&
(propertyName = !0)
: hasOwnProperty.call(value, propKey) &&
"_" !== propKey[0] &&
addValueToProperties(
propKey,
value[propKey],
properties,
indent + 1
);
properties.push([
"",
propertyName ? ">\u2026</" + typeName + ">" : "/>"
]);
return;
}
typeName = Object.prototype.toString.call(value);
typeName = typeName.slice(8, typeName.length - 1);
if ("Array" === typeName)
if (
((propKey = getArrayKind(value)),
2 === propKey || 0 === propKey)
) {
value = JSON.stringify(value);
break;
} else if (3 === propKey) {
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
""
]);
for (
propertyName = 0;
propertyName < value.length;
propertyName++
)
(typeName = value[propertyName]),
addValueToProperties(
typeName[0],
typeName[1],
properties,
indent + 1
);
return;
}
"Object" === typeName &&
(propKey = Object.getPrototypeOf(value)) &&
"function" === typeof propKey.constructor &&
(typeName = propKey.constructor.name);
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
]);
3 > indent && addObjectToProperties(value, properties, indent + 1);
return;
}
case "function":
value = "" === value.name ? "() => {}" : value.name + "() {}";
break;
case "string":
value =
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." ===
value
? "\u2026"
: JSON.stringify(value);
break;
case "undefined":
value = "undefined";
break;
case "boolean":
value = value ? "true" : "false";
break;
default:
value = String(value);
}
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
}
function setCurrentTrackFromLanes(lanes) {
currentTrack =
lanes & 127
@@ -3609,6 +3752,10 @@ __DEV__ &&
: String(capturedValue)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, properties, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, properties, 0);
null == debugTask && (debugTask = fiber._debugTask);
fiber = {
start: startTime,
@@ -3662,6 +3809,10 @@ __DEV__ &&
: String(error)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, selfTime, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
startTime = {
start: startTime,
end: endTime,
@@ -31235,11 +31386,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-bb6c9d52-20250625" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-d2a288fe-20250627" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-modern-bb6c9d52-20250625\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31282,10 +31433,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-bb6c9d52-20250625",
version: "19.2.0-www-modern-d2a288fe-20250627",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-modern-d2a288fe-20250627"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31885,7 +32036,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19538,14 +19538,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2088 = React.version;
if (
"19.2.0-www-classic-bb6c9d52-20250625" !==
"19.2.0-www-classic-d2a288fe-20250627" !==
isomorphicReactPackageVersion$jscomp$inline_2088
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2088,
"19.2.0-www-classic-bb6c9d52-20250625"
"19.2.0-www-classic-d2a288fe-20250627"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19563,10 +19563,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2701 = {
bundleType: 0,
version: "19.2.0-www-classic-bb6c9d52-20250625",
version: "19.2.0-www-classic-d2a288fe-20250627",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-classic-d2a288fe-20250627"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2702 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19978,4 +19978,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
@@ -19271,14 +19271,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2078 = React.version;
if (
"19.2.0-www-modern-bb6c9d52-20250625" !==
"19.2.0-www-modern-d2a288fe-20250627" !==
isomorphicReactPackageVersion$jscomp$inline_2078
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2078,
"19.2.0-www-modern-bb6c9d52-20250625"
"19.2.0-www-modern-d2a288fe-20250627"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19296,10 +19296,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2683 = {
bundleType: 0,
version: "19.2.0-www-modern-bb6c9d52-20250625",
version: "19.2.0-www-modern-d2a288fe-20250627",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-modern-d2a288fe-20250627"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2684 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -19711,4 +19711,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
@@ -21520,14 +21520,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2332 = React.version;
if (
"19.2.0-www-classic-bb6c9d52-20250625" !==
"19.2.0-www-classic-d2a288fe-20250627" !==
isomorphicReactPackageVersion$jscomp$inline_2332
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2332,
"19.2.0-www-classic-bb6c9d52-20250625"
"19.2.0-www-classic-d2a288fe-20250627"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21545,10 +21545,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2334 = {
bundleType: 0,
version: "19.2.0-www-classic-bb6c9d52-20250625",
version: "19.2.0-www-classic-d2a288fe-20250627",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-classic-d2a288fe-20250627"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2334.getLaneLabelMap = getLaneLabelMap),
@@ -21963,7 +21963,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -21318,14 +21318,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2322 = React.version;
if (
"19.2.0-www-modern-bb6c9d52-20250625" !==
"19.2.0-www-modern-d2a288fe-20250627" !==
isomorphicReactPackageVersion$jscomp$inline_2322
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2322,
"19.2.0-www-modern-bb6c9d52-20250625"
"19.2.0-www-modern-d2a288fe-20250627"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -21343,10 +21343,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2324 = {
bundleType: 0,
version: "19.2.0-www-modern-bb6c9d52-20250625",
version: "19.2.0-www-modern-d2a288fe-20250627",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-modern-d2a288fe-20250627"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2324.getLaneLabelMap = getLaneLabelMap),
@@ -21761,7 +21761,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -10172,5 +10172,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
})();
@@ -10101,5 +10101,5 @@ __DEV__ &&
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
})();
@@ -6888,4 +6888,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
@@ -6820,4 +6820,4 @@ exports.renderToString = function (children, options) {
'The server used "renderToString" which does not support Suspense. If you intended for this Suspense boundary to render the fallback content on the server consider throwing an Error somewhere within the Suspense boundary. If you intended to have the server wait for the suspended component please switch to "renderToReadableStream" which supports Suspense on the server'
);
};
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
@@ -3650,6 +3650,149 @@ __DEV__ &&
function is(x, y) {
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
}
function getArrayKind(array) {
for (var kind = 0, i = 0; i < array.length; i++) {
var value = array[i];
if ("object" === typeof value && null !== value)
if (
isArrayImpl(value) &&
2 === value.length &&
"string" === typeof value[0]
) {
if (0 !== kind && 3 !== kind) return 1;
kind = 3;
} else return 1;
else {
if (
"function" === typeof value ||
("string" === typeof value && 50 < value.length) ||
(0 !== kind && 2 !== kind)
)
return 1;
kind = 2;
}
}
return kind;
}
function addObjectToProperties(object, properties, indent) {
for (var key in object)
hasOwnProperty.call(object, key) &&
"_" !== key[0] &&
addValueToProperties(key, object[key], properties, indent);
}
function addValueToProperties(propertyName, value, properties, indent) {
switch (typeof value) {
case "object":
if (null === value) {
value = "null";
break;
} else {
if (value.$$typeof === REACT_ELEMENT_TYPE) {
var typeName = getComponentNameFromType(value.type) || "\u2026",
key = value.key;
value = value.props;
var propsKeys = Object.keys(value),
propsLength = propsKeys.length;
if (null == key && 0 === propsLength) {
value = "<" + typeName + " />";
break;
}
if (
3 > indent ||
(1 === propsLength &&
"children" === propsKeys[0] &&
null == key)
) {
value = "<" + typeName + " \u2026 />";
break;
}
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"<" + typeName
]);
null !== key &&
addValueToProperties("key", key, properties, indent + 1);
propertyName = !1;
for (var propKey in value)
"children" === propKey
? null != value.children &&
(!isArrayImpl(value.children) ||
0 < value.children.length) &&
(propertyName = !0)
: hasOwnProperty.call(value, propKey) &&
"_" !== propKey[0] &&
addValueToProperties(
propKey,
value[propKey],
properties,
indent + 1
);
properties.push([
"",
propertyName ? ">\u2026</" + typeName + ">" : "/>"
]);
return;
}
typeName = Object.prototype.toString.call(value);
typeName = typeName.slice(8, typeName.length - 1);
if ("Array" === typeName)
if (
((propKey = getArrayKind(value)),
2 === propKey || 0 === propKey)
) {
value = JSON.stringify(value);
break;
} else if (3 === propKey) {
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
""
]);
for (
propertyName = 0;
propertyName < value.length;
propertyName++
)
(typeName = value[propertyName]),
addValueToProperties(
typeName[0],
typeName[1],
properties,
indent + 1
);
return;
}
"Object" === typeName &&
(propKey = Object.getPrototypeOf(value)) &&
"function" === typeof propKey.constructor &&
(typeName = propKey.constructor.name);
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
]);
3 > indent && addObjectToProperties(value, properties, indent + 1);
return;
}
case "function":
value = "" === value.name ? "() => {}" : value.name + "() {}";
break;
case "string":
value =
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." ===
value
? "\u2026"
: JSON.stringify(value);
break;
case "undefined":
value = "undefined";
break;
case "boolean":
value = value ? "true" : "false";
break;
default:
value = String(value);
}
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
}
function setCurrentTrackFromLanes(lanes) {
currentTrack =
lanes & 127
@@ -3758,6 +3901,10 @@ __DEV__ &&
: String(capturedValue)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, properties, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, properties, 0);
null == debugTask && (debugTask = fiber._debugTask);
fiber = {
start: startTime,
@@ -3811,6 +3958,10 @@ __DEV__ &&
: String(error)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, selfTime, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
startTime = {
start: startTime,
end: endTime,
@@ -31770,11 +31921,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-bb6c9d52-20250625" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-d2a288fe-20250627" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-classic-bb6c9d52-20250625\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31817,10 +31968,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-bb6c9d52-20250625",
version: "19.2.0-www-classic-d2a288fe-20250627",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-classic-d2a288fe-20250627"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32586,5 +32737,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
})();
@@ -3542,6 +3542,149 @@ __DEV__ &&
function is(x, y) {
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
}
function getArrayKind(array) {
for (var kind = 0, i = 0; i < array.length; i++) {
var value = array[i];
if ("object" === typeof value && null !== value)
if (
isArrayImpl(value) &&
2 === value.length &&
"string" === typeof value[0]
) {
if (0 !== kind && 3 !== kind) return 1;
kind = 3;
} else return 1;
else {
if (
"function" === typeof value ||
("string" === typeof value && 50 < value.length) ||
(0 !== kind && 2 !== kind)
)
return 1;
kind = 2;
}
}
return kind;
}
function addObjectToProperties(object, properties, indent) {
for (var key in object)
hasOwnProperty.call(object, key) &&
"_" !== key[0] &&
addValueToProperties(key, object[key], properties, indent);
}
function addValueToProperties(propertyName, value, properties, indent) {
switch (typeof value) {
case "object":
if (null === value) {
value = "null";
break;
} else {
if (value.$$typeof === REACT_ELEMENT_TYPE) {
var typeName = getComponentNameFromType(value.type) || "\u2026",
key = value.key;
value = value.props;
var propsKeys = Object.keys(value),
propsLength = propsKeys.length;
if (null == key && 0 === propsLength) {
value = "<" + typeName + " />";
break;
}
if (
3 > indent ||
(1 === propsLength &&
"children" === propsKeys[0] &&
null == key)
) {
value = "<" + typeName + " \u2026 />";
break;
}
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"<" + typeName
]);
null !== key &&
addValueToProperties("key", key, properties, indent + 1);
propertyName = !1;
for (var propKey in value)
"children" === propKey
? null != value.children &&
(!isArrayImpl(value.children) ||
0 < value.children.length) &&
(propertyName = !0)
: hasOwnProperty.call(value, propKey) &&
"_" !== propKey[0] &&
addValueToProperties(
propKey,
value[propKey],
properties,
indent + 1
);
properties.push([
"",
propertyName ? ">\u2026</" + typeName + ">" : "/>"
]);
return;
}
typeName = Object.prototype.toString.call(value);
typeName = typeName.slice(8, typeName.length - 1);
if ("Array" === typeName)
if (
((propKey = getArrayKind(value)),
2 === propKey || 0 === propKey)
) {
value = JSON.stringify(value);
break;
} else if (3 === propKey) {
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
""
]);
for (
propertyName = 0;
propertyName < value.length;
propertyName++
)
(typeName = value[propertyName]),
addValueToProperties(
typeName[0],
typeName[1],
properties,
indent + 1
);
return;
}
"Object" === typeName &&
(propKey = Object.getPrototypeOf(value)) &&
"function" === typeof propKey.constructor &&
(typeName = propKey.constructor.name);
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
]);
3 > indent && addObjectToProperties(value, properties, indent + 1);
return;
}
case "function":
value = "" === value.name ? "() => {}" : value.name + "() {}";
break;
case "string":
value =
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." ===
value
? "\u2026"
: JSON.stringify(value);
break;
case "undefined":
value = "undefined";
break;
case "boolean":
value = value ? "true" : "false";
break;
default:
value = String(value);
}
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
}
function setCurrentTrackFromLanes(lanes) {
currentTrack =
lanes & 127
@@ -3650,6 +3793,10 @@ __DEV__ &&
: String(capturedValue)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, properties, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, properties, 0);
null == debugTask && (debugTask = fiber._debugTask);
fiber = {
start: startTime,
@@ -3703,6 +3850,10 @@ __DEV__ &&
: String(error)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, selfTime, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
startTime = {
start: startTime,
end: endTime,
@@ -31556,11 +31707,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-bb6c9d52-20250625" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-d2a288fe-20250627" !== isomorphicReactPackageVersion)
throw Error(
'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' +
(isomorphicReactPackageVersion +
"\n - react-dom: 19.2.0-www-modern-bb6c9d52-20250625\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-d2a288fe-20250627\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -31603,10 +31754,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-bb6c9d52-20250625",
version: "19.2.0-www-modern-d2a288fe-20250627",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-modern-d2a288fe-20250627"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -32372,5 +32523,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
})();
@@ -19854,14 +19854,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2117 = React.version;
if (
"19.2.0-www-classic-bb6c9d52-20250625" !==
"19.2.0-www-classic-d2a288fe-20250627" !==
isomorphicReactPackageVersion$jscomp$inline_2117
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2117,
"19.2.0-www-classic-bb6c9d52-20250625"
"19.2.0-www-classic-d2a288fe-20250627"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19879,10 +19879,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2735 = {
bundleType: 0,
version: "19.2.0-www-classic-bb6c9d52-20250625",
version: "19.2.0-www-classic-d2a288fe-20250627",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-classic-d2a288fe-20250627"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2736 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20445,4 +20445,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
@@ -19587,14 +19587,14 @@ function getCrossOriginStringAs(as, input) {
}
var isomorphicReactPackageVersion$jscomp$inline_2107 = React.version;
if (
"19.2.0-www-modern-bb6c9d52-20250625" !==
"19.2.0-www-modern-d2a288fe-20250627" !==
isomorphicReactPackageVersion$jscomp$inline_2107
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2107,
"19.2.0-www-modern-bb6c9d52-20250625"
"19.2.0-www-modern-d2a288fe-20250627"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19612,10 +19612,10 @@ Internals.Events = [
];
var internals$jscomp$inline_2717 = {
bundleType: 0,
version: "19.2.0-www-modern-bb6c9d52-20250625",
version: "19.2.0-www-modern-d2a288fe-20250627",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-modern-d2a288fe-20250627"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2718 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -20178,4 +20178,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
@@ -1029,6 +1029,149 @@ __DEV__ &&
function is(x, y) {
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
}
function getArrayKind(array) {
for (var kind = 0, i = 0; i < array.length; i++) {
var value = array[i];
if ("object" === typeof value && null !== value)
if (
isArrayImpl(value) &&
2 === value.length &&
"string" === typeof value[0]
) {
if (0 !== kind && 3 !== kind) return 1;
kind = 3;
} else return 1;
else {
if (
"function" === typeof value ||
("string" === typeof value && 50 < value.length) ||
(0 !== kind && 2 !== kind)
)
return 1;
kind = 2;
}
}
return kind;
}
function addObjectToProperties(object, properties, indent) {
for (var key in object)
hasOwnProperty.call(object, key) &&
"_" !== key[0] &&
addValueToProperties(key, object[key], properties, indent);
}
function addValueToProperties(propertyName, value, properties, indent) {
switch (typeof value) {
case "object":
if (null === value) {
value = "null";
break;
} else {
if (value.$$typeof === REACT_ELEMENT_TYPE) {
var typeName = getComponentNameFromType(value.type) || "\u2026",
key = value.key;
value = value.props;
var propsKeys = Object.keys(value),
propsLength = propsKeys.length;
if (null == key && 0 === propsLength) {
value = "<" + typeName + " />";
break;
}
if (
3 > indent ||
(1 === propsLength &&
"children" === propsKeys[0] &&
null == key)
) {
value = "<" + typeName + " \u2026 />";
break;
}
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"<" + typeName
]);
null !== key &&
addValueToProperties("key", key, properties, indent + 1);
propertyName = !1;
for (var propKey in value)
"children" === propKey
? null != value.children &&
(!isArrayImpl(value.children) ||
0 < value.children.length) &&
(propertyName = !0)
: hasOwnProperty.call(value, propKey) &&
"_" !== propKey[0] &&
addValueToProperties(
propKey,
value[propKey],
properties,
indent + 1
);
properties.push([
"",
propertyName ? ">\u2026</" + typeName + ">" : "/>"
]);
return;
}
typeName = Object.prototype.toString.call(value);
typeName = typeName.slice(8, typeName.length - 1);
if ("Array" === typeName)
if (
((propKey = getArrayKind(value)),
2 === propKey || 0 === propKey)
) {
value = JSON.stringify(value);
break;
} else if (3 === propKey) {
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
""
]);
for (
propertyName = 0;
propertyName < value.length;
propertyName++
)
(typeName = value[propertyName]),
addValueToProperties(
typeName[0],
typeName[1],
properties,
indent + 1
);
return;
}
"Object" === typeName &&
(propKey = Object.getPrototypeOf(value)) &&
"function" === typeof propKey.constructor &&
(typeName = propKey.constructor.name);
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
]);
3 > indent && addObjectToProperties(value, properties, indent + 1);
return;
}
case "function":
value = "" === value.name ? "() => {}" : value.name + "() {}";
break;
case "string":
value =
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." ===
value
? "\u2026"
: JSON.stringify(value);
break;
case "undefined":
value = "undefined";
break;
case "boolean":
value = value ? "true" : "false";
break;
default:
value = String(value);
}
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
}
function setCurrentTrackFromLanes(lanes) {
currentTrack =
lanes & 127
@@ -1137,6 +1280,10 @@ __DEV__ &&
: String(capturedValue)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, properties, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, properties, 0);
null == debugTask && (debugTask = fiber._debugTask);
fiber = {
start: startTime,
@@ -1190,6 +1337,10 @@ __DEV__ &&
: String(error)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, selfTime, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
startTime = {
start: startTime,
end: endTime,
@@ -19475,6 +19626,7 @@ __DEV__ &&
}
console.error(error);
},
hasOwnProperty = Object.prototype.hasOwnProperty,
supportsUserTiming =
"undefined" !== typeof console &&
"function" === typeof console.timeStamp,
@@ -19660,7 +19812,6 @@ __DEV__ &&
};
var resumedCache = createCursor(null),
transitionStack = createCursor(null),
hasOwnProperty = Object.prototype.hasOwnProperty,
ReactStrictModeWarnings = {
recordUnsafeLifecycleWarnings: function () {},
flushPendingUnsafeLifecycleWarnings: function () {},
@@ -21909,7 +22060,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-classic-d2a288fe-20250627"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -935,6 +935,149 @@ __DEV__ &&
function is(x, y) {
return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);
}
function getArrayKind(array) {
for (var kind = 0, i = 0; i < array.length; i++) {
var value = array[i];
if ("object" === typeof value && null !== value)
if (
isArrayImpl(value) &&
2 === value.length &&
"string" === typeof value[0]
) {
if (0 !== kind && 3 !== kind) return 1;
kind = 3;
} else return 1;
else {
if (
"function" === typeof value ||
("string" === typeof value && 50 < value.length) ||
(0 !== kind && 2 !== kind)
)
return 1;
kind = 2;
}
}
return kind;
}
function addObjectToProperties(object, properties, indent) {
for (var key in object)
hasOwnProperty.call(object, key) &&
"_" !== key[0] &&
addValueToProperties(key, object[key], properties, indent);
}
function addValueToProperties(propertyName, value, properties, indent) {
switch (typeof value) {
case "object":
if (null === value) {
value = "null";
break;
} else {
if (value.$$typeof === REACT_ELEMENT_TYPE) {
var typeName = getComponentNameFromType(value.type) || "\u2026",
key = value.key;
value = value.props;
var propsKeys = Object.keys(value),
propsLength = propsKeys.length;
if (null == key && 0 === propsLength) {
value = "<" + typeName + " />";
break;
}
if (
3 > indent ||
(1 === propsLength &&
"children" === propsKeys[0] &&
null == key)
) {
value = "<" + typeName + " \u2026 />";
break;
}
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"<" + typeName
]);
null !== key &&
addValueToProperties("key", key, properties, indent + 1);
propertyName = !1;
for (var propKey in value)
"children" === propKey
? null != value.children &&
(!isArrayImpl(value.children) ||
0 < value.children.length) &&
(propertyName = !0)
: hasOwnProperty.call(value, propKey) &&
"_" !== propKey[0] &&
addValueToProperties(
propKey,
value[propKey],
properties,
indent + 1
);
properties.push([
"",
propertyName ? ">\u2026</" + typeName + ">" : "/>"
]);
return;
}
typeName = Object.prototype.toString.call(value);
typeName = typeName.slice(8, typeName.length - 1);
if ("Array" === typeName)
if (
((propKey = getArrayKind(value)),
2 === propKey || 0 === propKey)
) {
value = JSON.stringify(value);
break;
} else if (3 === propKey) {
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
""
]);
for (
propertyName = 0;
propertyName < value.length;
propertyName++
)
(typeName = value[propertyName]),
addValueToProperties(
typeName[0],
typeName[1],
properties,
indent + 1
);
return;
}
"Object" === typeName &&
(propKey = Object.getPrototypeOf(value)) &&
"function" === typeof propKey.constructor &&
(typeName = propKey.constructor.name);
properties.push([
"\u00a0\u00a0".repeat(indent) + propertyName,
"Object" === typeName ? (3 > indent ? "" : "\u2026") : typeName
]);
3 > indent && addObjectToProperties(value, properties, indent + 1);
return;
}
case "function":
value = "" === value.name ? "() => {}" : value.name + "() {}";
break;
case "string":
value =
"This object has been omitted by React in the console log to avoid sending too much data from the server. Try logging smaller or more specific objects." ===
value
? "\u2026"
: JSON.stringify(value);
break;
case "undefined":
value = "undefined";
break;
case "boolean":
value = value ? "true" : "false";
break;
default:
value = String(value);
}
properties.push(["\u00a0\u00a0".repeat(indent) + propertyName, value]);
}
function setCurrentTrackFromLanes(lanes) {
currentTrack =
lanes & 127
@@ -1043,6 +1186,10 @@ __DEV__ &&
: String(capturedValue)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, properties, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, properties, 0);
null == debugTask && (debugTask = fiber._debugTask);
fiber = {
start: startTime,
@@ -1096,6 +1243,10 @@ __DEV__ &&
: String(error)
]);
}
null !== fiber.key &&
addValueToProperties("key", fiber.key, selfTime, 0);
null !== fiber.memoizedProps &&
addObjectToProperties(fiber.memoizedProps, selfTime, 0);
startTime = {
start: startTime,
end: endTime,
@@ -19257,6 +19408,7 @@ __DEV__ &&
}
console.error(error);
},
hasOwnProperty = Object.prototype.hasOwnProperty,
supportsUserTiming =
"undefined" !== typeof console &&
"function" === typeof console.timeStamp,
@@ -19442,7 +19594,6 @@ __DEV__ &&
};
var resumedCache = createCursor(null),
transitionStack = createCursor(null),
hasOwnProperty = Object.prototype.hasOwnProperty,
ReactStrictModeWarnings = {
recordUnsafeLifecycleWarnings: function () {},
flushPendingUnsafeLifecycleWarnings: function () {},
@@ -21690,7 +21841,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-modern-d2a288fe-20250627"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13149,6 +13149,7 @@ module.exports = function ($$$config) {
}
console.error(error);
},
hasOwnProperty = Object.prototype.hasOwnProperty,
prefix,
suffix,
reentry = !1,
@@ -13245,7 +13246,6 @@ module.exports = function ($$$config) {
};
var resumedCache = createCursor(null),
transitionStack = createCursor(null),
hasOwnProperty = Object.prototype.hasOwnProperty,
SuspenseException = Error(formatProdErrorMessage(460)),
SuspenseyCommitException = Error(formatProdErrorMessage(474)),
SuspenseActionException = Error(formatProdErrorMessage(542)),
@@ -14109,7 +14109,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-classic-d2a288fe-20250627"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -12870,6 +12870,7 @@ module.exports = function ($$$config) {
}
console.error(error);
},
hasOwnProperty = Object.prototype.hasOwnProperty,
prefix,
suffix,
reentry = !1,
@@ -12966,7 +12967,6 @@ module.exports = function ($$$config) {
};
var resumedCache = createCursor(null),
transitionStack = createCursor(null),
hasOwnProperty = Object.prototype.hasOwnProperty,
SuspenseException = Error(formatProdErrorMessage(460)),
SuspenseyCommitException = Error(formatProdErrorMessage(474)),
SuspenseActionException = Error(formatProdErrorMessage(542)),
@@ -13830,7 +13830,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-modern-d2a288fe-20250627"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13557,6 +13557,7 @@ __DEV__ &&
}
console.error(error);
},
hasOwnProperty = Object.prototype.hasOwnProperty,
disabledDepth = 0,
prevLog,
prevInfo,
@@ -13647,7 +13648,6 @@ __DEV__ &&
prevOnStartTransitionFinish(transition, returnValue);
};
var resumedCache = createCursor(null),
hasOwnProperty = Object.prototype.hasOwnProperty,
ReactStrictModeWarnings = {
recordUnsafeLifecycleWarnings: function () {},
flushPendingUnsafeLifecycleWarnings: function () {},
@@ -15429,10 +15429,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-bb6c9d52-20250625",
version: "19.2.0-www-classic-d2a288fe-20250627",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-classic-d2a288fe-20250627"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15567,5 +15567,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-classic-bb6c9d52-20250625";
exports.version = "19.2.0-www-classic-d2a288fe-20250627";
})();
@@ -13557,6 +13557,7 @@ __DEV__ &&
}
console.error(error);
},
hasOwnProperty = Object.prototype.hasOwnProperty,
disabledDepth = 0,
prevLog,
prevInfo,
@@ -13647,7 +13648,6 @@ __DEV__ &&
prevOnStartTransitionFinish(transition, returnValue);
};
var resumedCache = createCursor(null),
hasOwnProperty = Object.prototype.hasOwnProperty,
ReactStrictModeWarnings = {
recordUnsafeLifecycleWarnings: function () {},
flushPendingUnsafeLifecycleWarnings: function () {},
@@ -15429,10 +15429,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-bb6c9d52-20250625",
version: "19.2.0-www-modern-d2a288fe-20250627",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-bb6c9d52-20250625"
reconcilerVersion: "19.2.0-www-modern-d2a288fe-20250627"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15567,5 +15567,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-modern-bb6c9d52-20250625";
exports.version = "19.2.0-www-modern-d2a288fe-20250627";
})();
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-classic-bb6c9d52-20250625
19.2.0-www-classic-d2a288fe-20250627
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-modern-bb6c9d52-20250625
19.2.0-www-modern-d2a288fe-20250627