Allow Passing Blob/File/MediaSource/MediaStream to src of <img>, <video> and <audio> (#32828)

Behind the `enableSrcObject` flag. This is revisiting a variant of what
was discussed in #11163.

Instead of supporting the [`srcObject`
property](https://developer.mozilla.org/en-US/docs/Web/API/HTMLMediaElement/srcObject)
as a separate name, this adds an overload of `src` to allow objects to
be passed. The DOM needs to add separate properties for the object forms
since you read back but it doesn't make sense for React's write-only API
to do that. Similar to how we'll like add an overload for
`popoverTarget` instead of calling it `popoverTargetElement` and how
`style` accepts an object and it's not `styleObject={{...}}`.

There are a number of reason to revisit this.

- It's just way more convenient to have this built-in and it makes
conceptual sense. We typically support declarative APIs and polyfill
them when necessary.
- RSC supports Blobs and by having it built-in you don't need a Client
Component wrapper to render it where as doing it with effects would
require more complex wrappers. By picking Blobs over base64,
client-navigations can use the more optimized binary encoding in the RSC
protocol.
- The timing aspect of coordinating it with Suspensey images and image
decoding is a bit tricky to get right because if you set it in an effect
it's too late because you've already rendered it.
- SSR gets complicated when done in user space because you have to
handle both branches. Likely with `useSyncExternalStore`.
- By having it built-in we could optimize the payloads shared between
RSC payloads embedded in the HTML and data URLs.

This does not support objects for `<source src>` nor `<img srcset>`.
Those don't really have equivalents in the DOM neither. They're mainly
for picking an option when you don't know programmatically. However, for
this use case you're really better off picking a variant before
generating the blobs.

We may support Response objects in the future too as per
https://github.com/whatwg/fetch/issues/49

DiffTrain build for [ea05b750a5](https://github.com/facebook/react/commit/ea05b750a5374458fc8c74ea0918059c818d1167)
This commit is contained in:
sebmarkbage
2025-04-08 09:18:31 -07:00
parent 5959f7d082
commit b154791a6c
36 changed files with 515 additions and 523 deletions
+291 -301
View File
@@ -4616,306 +4616,296 @@ function isValidIdentifier(name, reserved = true) {
var lib$1 = {};
var hasRequiredLib$1;
function requireLib$1 () {
if (hasRequiredLib$1) return lib$1;
hasRequiredLib$1 = 1;
Object.defineProperty(lib$1, "__esModule", {
value: true
});
lib$1.readCodePoint = readCodePoint;
lib$1.readInt = readInt;
lib$1.readStringContents = readStringContents;
var _isDigit = function isDigit(code) {
return code >= 48 && code <= 57;
};
const forbiddenNumericSeparatorSiblings = {
decBinOct: new Set([46, 66, 69, 79, 95, 98, 101, 111]),
hex: new Set([46, 88, 95, 120])
};
const isAllowedNumericSeparatorSibling = {
bin: ch => ch === 48 || ch === 49,
oct: ch => ch >= 48 && ch <= 55,
dec: ch => ch >= 48 && ch <= 57,
hex: ch => ch >= 48 && ch <= 57 || ch >= 65 && ch <= 70 || ch >= 97 && ch <= 102
};
function readStringContents(type, input, pos, lineStart, curLine, errors) {
const initialPos = pos;
const initialLineStart = lineStart;
const initialCurLine = curLine;
let out = "";
let firstInvalidLoc = null;
let chunkStart = pos;
const {
length
} = input;
for (;;) {
if (pos >= length) {
errors.unterminated(initialPos, initialLineStart, initialCurLine);
out += input.slice(chunkStart, pos);
break;
}
const ch = input.charCodeAt(pos);
if (isStringEnd(type, ch, input, pos)) {
out += input.slice(chunkStart, pos);
break;
}
if (ch === 92) {
out += input.slice(chunkStart, pos);
const res = readEscapedChar(input, pos, lineStart, curLine, type === "template", errors);
if (res.ch === null && !firstInvalidLoc) {
firstInvalidLoc = {
pos,
lineStart,
curLine
};
} else {
out += res.ch;
}
({
pos,
lineStart,
curLine
} = res);
chunkStart = pos;
} else if (ch === 8232 || ch === 8233) {
++pos;
++curLine;
lineStart = pos;
} else if (ch === 10 || ch === 13) {
if (type === "template") {
out += input.slice(chunkStart, pos) + "\n";
++pos;
if (ch === 13 && input.charCodeAt(pos) === 10) {
++pos;
}
++curLine;
chunkStart = lineStart = pos;
} else {
errors.unterminated(initialPos, initialLineStart, initialCurLine);
}
} else {
++pos;
}
}
return {
pos,
str: out,
firstInvalidLoc,
lineStart,
curLine,
containsInvalid: !!firstInvalidLoc
};
}
function isStringEnd(type, ch, input, pos) {
if (type === "template") {
return ch === 96 || ch === 36 && input.charCodeAt(pos + 1) === 123;
}
return ch === (type === "double" ? 34 : 39);
}
function readEscapedChar(input, pos, lineStart, curLine, inTemplate, errors) {
const throwOnInvalid = !inTemplate;
pos++;
const res = ch => ({
pos,
ch,
lineStart,
curLine
});
const ch = input.charCodeAt(pos++);
switch (ch) {
case 110:
return res("\n");
case 114:
return res("\r");
case 120:
{
let code;
({
code,
pos
} = readHexChar(input, pos, lineStart, curLine, 2, false, throwOnInvalid, errors));
return res(code === null ? null : String.fromCharCode(code));
}
case 117:
{
let code;
({
code,
pos
} = readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors));
return res(code === null ? null : String.fromCodePoint(code));
}
case 116:
return res("\t");
case 98:
return res("\b");
case 118:
return res("\u000b");
case 102:
return res("\f");
case 13:
if (input.charCodeAt(pos) === 10) {
++pos;
}
case 10:
lineStart = pos;
++curLine;
case 8232:
case 8233:
return res("");
case 56:
case 57:
if (inTemplate) {
return res(null);
} else {
errors.strictNumericEscape(pos - 1, lineStart, curLine);
}
default:
if (ch >= 48 && ch <= 55) {
const startPos = pos - 1;
const match = /^[0-7]+/.exec(input.slice(startPos, pos + 2));
let octalStr = match[0];
let octal = parseInt(octalStr, 8);
if (octal > 255) {
octalStr = octalStr.slice(0, -1);
octal = parseInt(octalStr, 8);
}
pos += octalStr.length - 1;
const next = input.charCodeAt(pos);
if (octalStr !== "0" || next === 56 || next === 57) {
if (inTemplate) {
return res(null);
} else {
errors.strictNumericEscape(startPos, lineStart, curLine);
}
}
return res(String.fromCharCode(octal));
}
return res(String.fromCharCode(ch));
}
}
function readHexChar(input, pos, lineStart, curLine, len, forceLen, throwOnInvalid, errors) {
const initialPos = pos;
let n;
({
n,
pos
} = readInt(input, pos, lineStart, curLine, 16, len, forceLen, false, errors, !throwOnInvalid));
if (n === null) {
if (throwOnInvalid) {
errors.invalidEscapeSequence(initialPos, lineStart, curLine);
} else {
pos = initialPos - 1;
}
}
return {
code: n,
pos
};
}
function readInt(input, pos, lineStart, curLine, radix, len, forceLen, allowNumSeparator, errors, bailOnError) {
const start = pos;
const forbiddenSiblings = radix === 16 ? forbiddenNumericSeparatorSiblings.hex : forbiddenNumericSeparatorSiblings.decBinOct;
const isAllowedSibling = radix === 16 ? isAllowedNumericSeparatorSibling.hex : radix === 10 ? isAllowedNumericSeparatorSibling.dec : radix === 8 ? isAllowedNumericSeparatorSibling.oct : isAllowedNumericSeparatorSibling.bin;
let invalid = false;
let total = 0;
for (let i = 0, e = len == null ? Infinity : len; i < e; ++i) {
const code = input.charCodeAt(pos);
let val;
if (code === 95 && allowNumSeparator !== "bail") {
const prev = input.charCodeAt(pos - 1);
const next = input.charCodeAt(pos + 1);
if (!allowNumSeparator) {
if (bailOnError) return {
n: null,
pos
};
errors.numericSeparatorInEscapeSequence(pos, lineStart, curLine);
} else if (Number.isNaN(next) || !isAllowedSibling(next) || forbiddenSiblings.has(prev) || forbiddenSiblings.has(next)) {
if (bailOnError) return {
n: null,
pos
};
errors.unexpectedNumericSeparator(pos, lineStart, curLine);
}
++pos;
continue;
}
if (code >= 97) {
val = code - 97 + 10;
} else if (code >= 65) {
val = code - 65 + 10;
} else if (_isDigit(code)) {
val = code - 48;
} else {
val = Infinity;
}
if (val >= radix) {
if (val <= 9 && bailOnError) {
return {
n: null,
pos
};
} else if (val <= 9 && errors.invalidDigit(pos, lineStart, curLine, radix)) {
val = 0;
} else if (forceLen) {
val = 0;
invalid = true;
} else {
break;
}
}
++pos;
total = total * radix + val;
}
if (pos === start || len != null && pos - start !== len || invalid) {
return {
n: null,
pos
};
}
return {
n: total,
pos
};
}
function readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors) {
const ch = input.charCodeAt(pos);
let code;
if (ch === 123) {
++pos;
({
code,
pos
} = readHexChar(input, pos, lineStart, curLine, input.indexOf("}", pos) - pos, true, throwOnInvalid, errors));
++pos;
if (code !== null && code > 0x10ffff) {
if (throwOnInvalid) {
errors.invalidCodePoint(pos, lineStart, curLine);
} else {
return {
code: null,
pos
};
}
}
} else {
({
code,
pos
} = readHexChar(input, pos, lineStart, curLine, 4, false, throwOnInvalid, errors));
}
return {
code,
pos
};
}
return lib$1;
Object.defineProperty(lib$1, "__esModule", {
value: true
});
lib$1.readCodePoint = readCodePoint;
lib$1.readInt = readInt;
lib$1.readStringContents = readStringContents;
var _isDigit = function isDigit(code) {
return code >= 48 && code <= 57;
};
const forbiddenNumericSeparatorSiblings = {
decBinOct: new Set([46, 66, 69, 79, 95, 98, 101, 111]),
hex: new Set([46, 88, 95, 120])
};
const isAllowedNumericSeparatorSibling = {
bin: ch => ch === 48 || ch === 49,
oct: ch => ch >= 48 && ch <= 55,
dec: ch => ch >= 48 && ch <= 57,
hex: ch => ch >= 48 && ch <= 57 || ch >= 65 && ch <= 70 || ch >= 97 && ch <= 102
};
function readStringContents(type, input, pos, lineStart, curLine, errors) {
const initialPos = pos;
const initialLineStart = lineStart;
const initialCurLine = curLine;
let out = "";
let firstInvalidLoc = null;
let chunkStart = pos;
const {
length
} = input;
for (;;) {
if (pos >= length) {
errors.unterminated(initialPos, initialLineStart, initialCurLine);
out += input.slice(chunkStart, pos);
break;
}
const ch = input.charCodeAt(pos);
if (isStringEnd(type, ch, input, pos)) {
out += input.slice(chunkStart, pos);
break;
}
if (ch === 92) {
out += input.slice(chunkStart, pos);
const res = readEscapedChar(input, pos, lineStart, curLine, type === "template", errors);
if (res.ch === null && !firstInvalidLoc) {
firstInvalidLoc = {
pos,
lineStart,
curLine
};
} else {
out += res.ch;
}
({
pos,
lineStart,
curLine
} = res);
chunkStart = pos;
} else if (ch === 8232 || ch === 8233) {
++pos;
++curLine;
lineStart = pos;
} else if (ch === 10 || ch === 13) {
if (type === "template") {
out += input.slice(chunkStart, pos) + "\n";
++pos;
if (ch === 13 && input.charCodeAt(pos) === 10) {
++pos;
}
++curLine;
chunkStart = lineStart = pos;
} else {
errors.unterminated(initialPos, initialLineStart, initialCurLine);
}
} else {
++pos;
}
}
return {
pos,
str: out,
firstInvalidLoc,
lineStart,
curLine,
containsInvalid: !!firstInvalidLoc
};
}
function isStringEnd(type, ch, input, pos) {
if (type === "template") {
return ch === 96 || ch === 36 && input.charCodeAt(pos + 1) === 123;
}
return ch === (type === "double" ? 34 : 39);
}
function readEscapedChar(input, pos, lineStart, curLine, inTemplate, errors) {
const throwOnInvalid = !inTemplate;
pos++;
const res = ch => ({
pos,
ch,
lineStart,
curLine
});
const ch = input.charCodeAt(pos++);
switch (ch) {
case 110:
return res("\n");
case 114:
return res("\r");
case 120:
{
let code;
({
code,
pos
} = readHexChar(input, pos, lineStart, curLine, 2, false, throwOnInvalid, errors));
return res(code === null ? null : String.fromCharCode(code));
}
case 117:
{
let code;
({
code,
pos
} = readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors));
return res(code === null ? null : String.fromCodePoint(code));
}
case 116:
return res("\t");
case 98:
return res("\b");
case 118:
return res("\u000b");
case 102:
return res("\f");
case 13:
if (input.charCodeAt(pos) === 10) {
++pos;
}
case 10:
lineStart = pos;
++curLine;
case 8232:
case 8233:
return res("");
case 56:
case 57:
if (inTemplate) {
return res(null);
} else {
errors.strictNumericEscape(pos - 1, lineStart, curLine);
}
default:
if (ch >= 48 && ch <= 55) {
const startPos = pos - 1;
const match = /^[0-7]+/.exec(input.slice(startPos, pos + 2));
let octalStr = match[0];
let octal = parseInt(octalStr, 8);
if (octal > 255) {
octalStr = octalStr.slice(0, -1);
octal = parseInt(octalStr, 8);
}
pos += octalStr.length - 1;
const next = input.charCodeAt(pos);
if (octalStr !== "0" || next === 56 || next === 57) {
if (inTemplate) {
return res(null);
} else {
errors.strictNumericEscape(startPos, lineStart, curLine);
}
}
return res(String.fromCharCode(octal));
}
return res(String.fromCharCode(ch));
}
}
function readHexChar(input, pos, lineStart, curLine, len, forceLen, throwOnInvalid, errors) {
const initialPos = pos;
let n;
({
n,
pos
} = readInt(input, pos, lineStart, curLine, 16, len, forceLen, false, errors, !throwOnInvalid));
if (n === null) {
if (throwOnInvalid) {
errors.invalidEscapeSequence(initialPos, lineStart, curLine);
} else {
pos = initialPos - 1;
}
}
return {
code: n,
pos
};
}
function readInt(input, pos, lineStart, curLine, radix, len, forceLen, allowNumSeparator, errors, bailOnError) {
const start = pos;
const forbiddenSiblings = radix === 16 ? forbiddenNumericSeparatorSiblings.hex : forbiddenNumericSeparatorSiblings.decBinOct;
const isAllowedSibling = radix === 16 ? isAllowedNumericSeparatorSibling.hex : radix === 10 ? isAllowedNumericSeparatorSibling.dec : radix === 8 ? isAllowedNumericSeparatorSibling.oct : isAllowedNumericSeparatorSibling.bin;
let invalid = false;
let total = 0;
for (let i = 0, e = len == null ? Infinity : len; i < e; ++i) {
const code = input.charCodeAt(pos);
let val;
if (code === 95 && allowNumSeparator !== "bail") {
const prev = input.charCodeAt(pos - 1);
const next = input.charCodeAt(pos + 1);
if (!allowNumSeparator) {
if (bailOnError) return {
n: null,
pos
};
errors.numericSeparatorInEscapeSequence(pos, lineStart, curLine);
} else if (Number.isNaN(next) || !isAllowedSibling(next) || forbiddenSiblings.has(prev) || forbiddenSiblings.has(next)) {
if (bailOnError) return {
n: null,
pos
};
errors.unexpectedNumericSeparator(pos, lineStart, curLine);
}
++pos;
continue;
}
if (code >= 97) {
val = code - 97 + 10;
} else if (code >= 65) {
val = code - 65 + 10;
} else if (_isDigit(code)) {
val = code - 48;
} else {
val = Infinity;
}
if (val >= radix) {
if (val <= 9 && bailOnError) {
return {
n: null,
pos
};
} else if (val <= 9 && errors.invalidDigit(pos, lineStart, curLine, radix)) {
val = 0;
} else if (forceLen) {
val = 0;
invalid = true;
} else {
break;
}
}
++pos;
total = total * radix + val;
}
if (pos === start || len != null && pos - start !== len || invalid) {
return {
n: null,
pos
};
}
return {
n: total,
pos
};
}
function readCodePoint(input, pos, lineStart, curLine, throwOnInvalid, errors) {
const ch = input.charCodeAt(pos);
let code;
if (ch === 123) {
++pos;
({
code,
pos
} = readHexChar(input, pos, lineStart, curLine, input.indexOf("}", pos) - pos, true, throwOnInvalid, errors));
++pos;
if (code !== null && code > 0x10ffff) {
if (throwOnInvalid) {
errors.invalidCodePoint(pos, lineStart, curLine);
} else {
return {
code: null,
pos
};
}
}
} else {
({
code,
pos
} = readHexChar(input, pos, lineStart, curLine, 4, false, throwOnInvalid, errors));
}
return {
code,
pos
};
}
var constants = {};
@@ -5240,7 +5230,7 @@ function requireCore () {
var _is = requireIs();
var _isValidIdentifier = isValidIdentifier$1;
var _helperValidatorIdentifier = lib$2;
var _helperStringParser = requireLib$1();
var _helperStringParser = lib$1;
var _index = constants;
var _utils = requireUtils();
const defineType = (0, _utils.defineAliasedType)("Standardized");
+1 -1
View File
@@ -1 +1 @@
336614679600af371b06371c0fbdd31fd9838231
ea05b750a5374458fc8c74ea0918059c818d1167
+1 -1
View File
@@ -1 +1 @@
336614679600af371b06371c0fbdd31fd9838231
ea05b750a5374458fc8c74ea0918059c818d1167
+1 -1
View File
@@ -1538,7 +1538,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-classic-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -1538,7 +1538,7 @@ __DEV__ &&
exports.useTransition = function () {
return resolveDispatcher().useTransition();
};
exports.version = "19.2.0-www-modern-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+1 -1
View File
@@ -636,4 +636,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
+1 -1
View File
@@ -636,4 +636,4 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
@@ -640,7 +640,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-classic-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -640,7 +640,7 @@ exports.useSyncExternalStore = function (
exports.useTransition = function () {
return ReactSharedInternals.H.useTransition();
};
exports.version = "19.2.0-www-modern-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -18526,10 +18526,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-33661467-20250407",
version: "19.2.0-www-classic-ea05b750-20250408",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-33661467-20250407"
reconcilerVersion: "19.2.0-www-classic-ea05b750-20250408"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18563,7 +18563,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+3 -3
View File
@@ -18298,10 +18298,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-33661467-20250407",
version: "19.2.0-www-modern-ea05b750-20250408",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-33661467-20250407"
reconcilerVersion: "19.2.0-www-modern-ea05b750-20250408"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -18335,7 +18335,7 @@ __DEV__ &&
exports.Shape = Shape;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -11217,10 +11217,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1593 = {
bundleType: 0,
version: "19.2.0-www-classic-33661467-20250407",
version: "19.2.0-www-classic-ea05b750-20250408",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-33661467-20250407"
reconcilerVersion: "19.2.0-www-classic-ea05b750-20250408"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1594 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -11246,4 +11246,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-classic-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
@@ -10930,10 +10930,10 @@ var slice = Array.prototype.slice,
})(React.Component);
var internals$jscomp$inline_1566 = {
bundleType: 0,
version: "19.2.0-www-modern-33661467-20250407",
version: "19.2.0-www-modern-ea05b750-20250408",
rendererPackageName: "react-art",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-33661467-20250407"
reconcilerVersion: "19.2.0-www-modern-ea05b750-20250408"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_1567 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -10959,4 +10959,4 @@ exports.RadialGradient = RadialGradient;
exports.Shape = TYPES.SHAPE;
exports.Surface = Surface;
exports.Text = Text;
exports.version = "19.2.0-www-modern-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
@@ -30369,11 +30369,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-33661467-20250407" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-ea05b750-20250408" !== 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-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-ea05b750-20250408\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30416,10 +30416,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-33661467-20250407",
version: "19.2.0-www-classic-ea05b750-20250408",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-33661467-20250407"
reconcilerVersion: "19.2.0-www-classic-ea05b750-20250408"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31017,7 +31017,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+5 -5
View File
@@ -30155,11 +30155,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-33661467-20250407" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-ea05b750-20250408" !== 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-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-ea05b750-20250408\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30202,10 +30202,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-33661467-20250407",
version: "19.2.0-www-modern-ea05b750-20250408",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-33661467-20250407"
reconcilerVersion: "19.2.0-www-modern-ea05b750-20250408"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -30803,7 +30803,7 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
+27 -27
View File
@@ -14718,20 +14718,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
(nativeEventTarget[internalScrollTimer] = targetInst));
}
for (
var i$jscomp$inline_1730 = 0;
i$jscomp$inline_1730 < simpleEventPluginEvents.length;
i$jscomp$inline_1730++
var i$jscomp$inline_1731 = 0;
i$jscomp$inline_1731 < simpleEventPluginEvents.length;
i$jscomp$inline_1731++
) {
var eventName$jscomp$inline_1731 =
simpleEventPluginEvents[i$jscomp$inline_1730],
domEventName$jscomp$inline_1732 =
eventName$jscomp$inline_1731.toLowerCase(),
capitalizedEvent$jscomp$inline_1733 =
eventName$jscomp$inline_1731[0].toUpperCase() +
eventName$jscomp$inline_1731.slice(1);
var eventName$jscomp$inline_1732 =
simpleEventPluginEvents[i$jscomp$inline_1731],
domEventName$jscomp$inline_1733 =
eventName$jscomp$inline_1732.toLowerCase(),
capitalizedEvent$jscomp$inline_1734 =
eventName$jscomp$inline_1732[0].toUpperCase() +
eventName$jscomp$inline_1732.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1732,
"on" + capitalizedEvent$jscomp$inline_1733
domEventName$jscomp$inline_1733,
"on" + capitalizedEvent$jscomp$inline_1734
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -18935,16 +18935,16 @@ function getCrossOriginStringAs(as, input) {
if ("string" === typeof input)
return "use-credentials" === input ? input : "";
}
var isomorphicReactPackageVersion$jscomp$inline_1975 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_1976 = React.version;
if (
"19.2.0-www-classic-33661467-20250407" !==
isomorphicReactPackageVersion$jscomp$inline_1975
"19.2.0-www-classic-ea05b750-20250408" !==
isomorphicReactPackageVersion$jscomp$inline_1976
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1975,
"19.2.0-www-classic-33661467-20250407"
isomorphicReactPackageVersion$jscomp$inline_1976,
"19.2.0-www-classic-ea05b750-20250408"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18960,24 +18960,24 @@ Internals.Events = [
return fn(a);
}
];
var internals$jscomp$inline_2559 = {
var internals$jscomp$inline_2560 = {
bundleType: 0,
version: "19.2.0-www-classic-33661467-20250407",
version: "19.2.0-www-classic-ea05b750-20250408",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-33661467-20250407"
reconcilerVersion: "19.2.0-www-classic-ea05b750-20250408"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2560 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2561 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2560.isDisabled &&
hook$jscomp$inline_2560.supportsFiber
!hook$jscomp$inline_2561.isDisabled &&
hook$jscomp$inline_2561.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2560.inject(
internals$jscomp$inline_2559
(rendererID = hook$jscomp$inline_2561.inject(
internals$jscomp$inline_2560
)),
(injectedHook = hook$jscomp$inline_2560);
(injectedHook = hook$jscomp$inline_2561);
} catch (err) {}
}
function ReactDOMRoot(internalRoot) {
@@ -19329,4 +19329,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
+27 -27
View File
@@ -14452,20 +14452,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
(nativeEventTarget[internalScrollTimer] = targetInst));
}
for (
var i$jscomp$inline_1720 = 0;
i$jscomp$inline_1720 < simpleEventPluginEvents.length;
i$jscomp$inline_1720++
var i$jscomp$inline_1721 = 0;
i$jscomp$inline_1721 < simpleEventPluginEvents.length;
i$jscomp$inline_1721++
) {
var eventName$jscomp$inline_1721 =
simpleEventPluginEvents[i$jscomp$inline_1720],
domEventName$jscomp$inline_1722 =
eventName$jscomp$inline_1721.toLowerCase(),
capitalizedEvent$jscomp$inline_1723 =
eventName$jscomp$inline_1721[0].toUpperCase() +
eventName$jscomp$inline_1721.slice(1);
var eventName$jscomp$inline_1722 =
simpleEventPluginEvents[i$jscomp$inline_1721],
domEventName$jscomp$inline_1723 =
eventName$jscomp$inline_1722.toLowerCase(),
capitalizedEvent$jscomp$inline_1724 =
eventName$jscomp$inline_1722[0].toUpperCase() +
eventName$jscomp$inline_1722.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1722,
"on" + capitalizedEvent$jscomp$inline_1723
domEventName$jscomp$inline_1723,
"on" + capitalizedEvent$jscomp$inline_1724
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -18664,16 +18664,16 @@ function getCrossOriginStringAs(as, input) {
if ("string" === typeof input)
return "use-credentials" === input ? input : "";
}
var isomorphicReactPackageVersion$jscomp$inline_1965 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_1966 = React.version;
if (
"19.2.0-www-modern-33661467-20250407" !==
isomorphicReactPackageVersion$jscomp$inline_1965
"19.2.0-www-modern-ea05b750-20250408" !==
isomorphicReactPackageVersion$jscomp$inline_1966
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1965,
"19.2.0-www-modern-33661467-20250407"
isomorphicReactPackageVersion$jscomp$inline_1966,
"19.2.0-www-modern-ea05b750-20250408"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -18689,24 +18689,24 @@ Internals.Events = [
return fn(a);
}
];
var internals$jscomp$inline_2541 = {
var internals$jscomp$inline_2542 = {
bundleType: 0,
version: "19.2.0-www-modern-33661467-20250407",
version: "19.2.0-www-modern-ea05b750-20250408",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-33661467-20250407"
reconcilerVersion: "19.2.0-www-modern-ea05b750-20250408"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2542 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2543 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2542.isDisabled &&
hook$jscomp$inline_2542.supportsFiber
!hook$jscomp$inline_2543.isDisabled &&
hook$jscomp$inline_2543.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2542.inject(
internals$jscomp$inline_2541
(rendererID = hook$jscomp$inline_2543.inject(
internals$jscomp$inline_2542
)),
(injectedHook = hook$jscomp$inline_2542);
(injectedHook = hook$jscomp$inline_2543);
} catch (err) {}
}
function ReactDOMRoot(internalRoot) {
@@ -19058,4 +19058,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
@@ -16674,20 +16674,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
(nativeEventTarget[internalScrollTimer] = targetInst));
}
for (
var i$jscomp$inline_1926 = 0;
i$jscomp$inline_1926 < simpleEventPluginEvents.length;
i$jscomp$inline_1926++
var i$jscomp$inline_1927 = 0;
i$jscomp$inline_1927 < simpleEventPluginEvents.length;
i$jscomp$inline_1927++
) {
var eventName$jscomp$inline_1927 =
simpleEventPluginEvents[i$jscomp$inline_1926],
domEventName$jscomp$inline_1928 =
eventName$jscomp$inline_1927.toLowerCase(),
capitalizedEvent$jscomp$inline_1929 =
eventName$jscomp$inline_1927[0].toUpperCase() +
eventName$jscomp$inline_1927.slice(1);
var eventName$jscomp$inline_1928 =
simpleEventPluginEvents[i$jscomp$inline_1927],
domEventName$jscomp$inline_1929 =
eventName$jscomp$inline_1928.toLowerCase(),
capitalizedEvent$jscomp$inline_1930 =
eventName$jscomp$inline_1928[0].toUpperCase() +
eventName$jscomp$inline_1928.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1928,
"on" + capitalizedEvent$jscomp$inline_1929
domEventName$jscomp$inline_1929,
"on" + capitalizedEvent$jscomp$inline_1930
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -20900,16 +20900,16 @@ function getCrossOriginStringAs(as, input) {
if ("string" === typeof input)
return "use-credentials" === input ? input : "";
}
var isomorphicReactPackageVersion$jscomp$inline_2171 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_2172 = React.version;
if (
"19.2.0-www-classic-33661467-20250407" !==
isomorphicReactPackageVersion$jscomp$inline_2171
"19.2.0-www-classic-ea05b750-20250408" !==
isomorphicReactPackageVersion$jscomp$inline_2172
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2171,
"19.2.0-www-classic-33661467-20250407"
isomorphicReactPackageVersion$jscomp$inline_2172,
"19.2.0-www-classic-ea05b750-20250408"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20925,27 +20925,27 @@ Internals.Events = [
return fn(a);
}
];
var internals$jscomp$inline_2173 = {
var internals$jscomp$inline_2174 = {
bundleType: 0,
version: "19.2.0-www-classic-33661467-20250407",
version: "19.2.0-www-classic-ea05b750-20250408",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-33661467-20250407"
reconcilerVersion: "19.2.0-www-classic-ea05b750-20250408"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2173.getLaneLabelMap = getLaneLabelMap),
(internals$jscomp$inline_2173.injectProfilingHooks = injectProfilingHooks));
((internals$jscomp$inline_2174.getLaneLabelMap = getLaneLabelMap),
(internals$jscomp$inline_2174.injectProfilingHooks = injectProfilingHooks));
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2751 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2752 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2751.isDisabled &&
hook$jscomp$inline_2751.supportsFiber
!hook$jscomp$inline_2752.isDisabled &&
hook$jscomp$inline_2752.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2751.inject(
internals$jscomp$inline_2173
(rendererID = hook$jscomp$inline_2752.inject(
internals$jscomp$inline_2174
)),
(injectedHook = hook$jscomp$inline_2751);
(injectedHook = hook$jscomp$inline_2752);
} catch (err) {}
}
function ReactDOMRoot(internalRoot) {
@@ -21297,7 +21297,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -16477,20 +16477,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
(nativeEventTarget[internalScrollTimer] = targetInst));
}
for (
var i$jscomp$inline_1916 = 0;
i$jscomp$inline_1916 < simpleEventPluginEvents.length;
i$jscomp$inline_1916++
var i$jscomp$inline_1917 = 0;
i$jscomp$inline_1917 < simpleEventPluginEvents.length;
i$jscomp$inline_1917++
) {
var eventName$jscomp$inline_1917 =
simpleEventPluginEvents[i$jscomp$inline_1916],
domEventName$jscomp$inline_1918 =
eventName$jscomp$inline_1917.toLowerCase(),
capitalizedEvent$jscomp$inline_1919 =
eventName$jscomp$inline_1917[0].toUpperCase() +
eventName$jscomp$inline_1917.slice(1);
var eventName$jscomp$inline_1918 =
simpleEventPluginEvents[i$jscomp$inline_1917],
domEventName$jscomp$inline_1919 =
eventName$jscomp$inline_1918.toLowerCase(),
capitalizedEvent$jscomp$inline_1920 =
eventName$jscomp$inline_1918[0].toUpperCase() +
eventName$jscomp$inline_1918.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1918,
"on" + capitalizedEvent$jscomp$inline_1919
domEventName$jscomp$inline_1919,
"on" + capitalizedEvent$jscomp$inline_1920
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -20698,16 +20698,16 @@ function getCrossOriginStringAs(as, input) {
if ("string" === typeof input)
return "use-credentials" === input ? input : "";
}
var isomorphicReactPackageVersion$jscomp$inline_2161 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_2162 = React.version;
if (
"19.2.0-www-modern-33661467-20250407" !==
isomorphicReactPackageVersion$jscomp$inline_2161
"19.2.0-www-modern-ea05b750-20250408" !==
isomorphicReactPackageVersion$jscomp$inline_2162
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2161,
"19.2.0-www-modern-33661467-20250407"
isomorphicReactPackageVersion$jscomp$inline_2162,
"19.2.0-www-modern-ea05b750-20250408"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -20723,27 +20723,27 @@ Internals.Events = [
return fn(a);
}
];
var internals$jscomp$inline_2163 = {
var internals$jscomp$inline_2164 = {
bundleType: 0,
version: "19.2.0-www-modern-33661467-20250407",
version: "19.2.0-www-modern-ea05b750-20250408",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-33661467-20250407"
reconcilerVersion: "19.2.0-www-modern-ea05b750-20250408"
};
enableSchedulingProfiler &&
((internals$jscomp$inline_2163.getLaneLabelMap = getLaneLabelMap),
(internals$jscomp$inline_2163.injectProfilingHooks = injectProfilingHooks));
((internals$jscomp$inline_2164.getLaneLabelMap = getLaneLabelMap),
(internals$jscomp$inline_2164.injectProfilingHooks = injectProfilingHooks));
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2733 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2734 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2733.isDisabled &&
hook$jscomp$inline_2733.supportsFiber
!hook$jscomp$inline_2734.isDisabled &&
hook$jscomp$inline_2734.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2733.inject(
internals$jscomp$inline_2163
(rendererID = hook$jscomp$inline_2734.inject(
internals$jscomp$inline_2164
)),
(injectedHook = hook$jscomp$inline_2733);
(injectedHook = hook$jscomp$inline_2734);
} catch (err) {}
}
function ReactDOMRoot(internalRoot) {
@@ -21095,7 +21095,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -9440,5 +9440,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-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
})();
@@ -9369,5 +9369,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-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
})();
@@ -6203,4 +6203,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-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
@@ -6115,4 +6115,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-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
@@ -30690,11 +30690,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-classic-33661467-20250407" !== isomorphicReactPackageVersion)
if ("19.2.0-www-classic-ea05b750-20250408" !== 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-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-classic-ea05b750-20250408\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30737,10 +30737,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-33661467-20250407",
version: "19.2.0-www-classic-ea05b750-20250408",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-33661467-20250407"
reconcilerVersion: "19.2.0-www-classic-ea05b750-20250408"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31504,5 +31504,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
})();
@@ -30476,11 +30476,11 @@ __DEV__ &&
return_targetInst = null;
(function () {
var isomorphicReactPackageVersion = React.version;
if ("19.2.0-www-modern-33661467-20250407" !== isomorphicReactPackageVersion)
if ("19.2.0-www-modern-ea05b750-20250408" !== 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-33661467-20250407\nLearn more: https://react.dev/warnings/version-mismatch")
"\n - react-dom: 19.2.0-www-modern-ea05b750-20250408\nLearn more: https://react.dev/warnings/version-mismatch")
);
})();
("function" === typeof Map &&
@@ -30523,10 +30523,10 @@ __DEV__ &&
!(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-33661467-20250407",
version: "19.2.0-www-modern-ea05b750-20250408",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-33661467-20250407"
reconcilerVersion: "19.2.0-www-modern-ea05b750-20250408"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -31290,5 +31290,5 @@ __DEV__ &&
exports.useFormStatus = function () {
return resolveDispatcher().useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
})();
@@ -14990,20 +14990,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
(nativeEventTarget[internalScrollTimer] = targetInst));
}
for (
var i$jscomp$inline_1759 = 0;
i$jscomp$inline_1759 < simpleEventPluginEvents.length;
i$jscomp$inline_1759++
var i$jscomp$inline_1760 = 0;
i$jscomp$inline_1760 < simpleEventPluginEvents.length;
i$jscomp$inline_1760++
) {
var eventName$jscomp$inline_1760 =
simpleEventPluginEvents[i$jscomp$inline_1759],
domEventName$jscomp$inline_1761 =
eventName$jscomp$inline_1760.toLowerCase(),
capitalizedEvent$jscomp$inline_1762 =
eventName$jscomp$inline_1760[0].toUpperCase() +
eventName$jscomp$inline_1760.slice(1);
var eventName$jscomp$inline_1761 =
simpleEventPluginEvents[i$jscomp$inline_1760],
domEventName$jscomp$inline_1762 =
eventName$jscomp$inline_1761.toLowerCase(),
capitalizedEvent$jscomp$inline_1763 =
eventName$jscomp$inline_1761[0].toUpperCase() +
eventName$jscomp$inline_1761.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1761,
"on" + capitalizedEvent$jscomp$inline_1762
domEventName$jscomp$inline_1762,
"on" + capitalizedEvent$jscomp$inline_1763
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -19251,16 +19251,16 @@ function getCrossOriginStringAs(as, input) {
if ("string" === typeof input)
return "use-credentials" === input ? input : "";
}
var isomorphicReactPackageVersion$jscomp$inline_2004 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_2005 = React.version;
if (
"19.2.0-www-classic-33661467-20250407" !==
isomorphicReactPackageVersion$jscomp$inline_2004
"19.2.0-www-classic-ea05b750-20250408" !==
isomorphicReactPackageVersion$jscomp$inline_2005
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_2004,
"19.2.0-www-classic-33661467-20250407"
isomorphicReactPackageVersion$jscomp$inline_2005,
"19.2.0-www-classic-ea05b750-20250408"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19276,24 +19276,24 @@ Internals.Events = [
return fn(a);
}
];
var internals$jscomp$inline_2593 = {
var internals$jscomp$inline_2594 = {
bundleType: 0,
version: "19.2.0-www-classic-33661467-20250407",
version: "19.2.0-www-classic-ea05b750-20250408",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-33661467-20250407"
reconcilerVersion: "19.2.0-www-classic-ea05b750-20250408"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2594 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2595 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2594.isDisabled &&
hook$jscomp$inline_2594.supportsFiber
!hook$jscomp$inline_2595.isDisabled &&
hook$jscomp$inline_2595.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2594.inject(
internals$jscomp$inline_2593
(rendererID = hook$jscomp$inline_2595.inject(
internals$jscomp$inline_2594
)),
(injectedHook = hook$jscomp$inline_2594);
(injectedHook = hook$jscomp$inline_2595);
} catch (err) {}
}
function ReactDOMRoot(internalRoot) {
@@ -19796,4 +19796,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-classic-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
@@ -14724,20 +14724,20 @@ function debounceScrollEnd(targetInst, nativeEvent, nativeEventTarget) {
(nativeEventTarget[internalScrollTimer] = targetInst));
}
for (
var i$jscomp$inline_1749 = 0;
i$jscomp$inline_1749 < simpleEventPluginEvents.length;
i$jscomp$inline_1749++
var i$jscomp$inline_1750 = 0;
i$jscomp$inline_1750 < simpleEventPluginEvents.length;
i$jscomp$inline_1750++
) {
var eventName$jscomp$inline_1750 =
simpleEventPluginEvents[i$jscomp$inline_1749],
domEventName$jscomp$inline_1751 =
eventName$jscomp$inline_1750.toLowerCase(),
capitalizedEvent$jscomp$inline_1752 =
eventName$jscomp$inline_1750[0].toUpperCase() +
eventName$jscomp$inline_1750.slice(1);
var eventName$jscomp$inline_1751 =
simpleEventPluginEvents[i$jscomp$inline_1750],
domEventName$jscomp$inline_1752 =
eventName$jscomp$inline_1751.toLowerCase(),
capitalizedEvent$jscomp$inline_1753 =
eventName$jscomp$inline_1751[0].toUpperCase() +
eventName$jscomp$inline_1751.slice(1);
registerSimpleEvent(
domEventName$jscomp$inline_1751,
"on" + capitalizedEvent$jscomp$inline_1752
domEventName$jscomp$inline_1752,
"on" + capitalizedEvent$jscomp$inline_1753
);
}
registerSimpleEvent(ANIMATION_END, "onAnimationEnd");
@@ -18980,16 +18980,16 @@ function getCrossOriginStringAs(as, input) {
if ("string" === typeof input)
return "use-credentials" === input ? input : "";
}
var isomorphicReactPackageVersion$jscomp$inline_1994 = React.version;
var isomorphicReactPackageVersion$jscomp$inline_1995 = React.version;
if (
"19.2.0-www-modern-33661467-20250407" !==
isomorphicReactPackageVersion$jscomp$inline_1994
"19.2.0-www-modern-ea05b750-20250408" !==
isomorphicReactPackageVersion$jscomp$inline_1995
)
throw Error(
formatProdErrorMessage(
527,
isomorphicReactPackageVersion$jscomp$inline_1994,
"19.2.0-www-modern-33661467-20250407"
isomorphicReactPackageVersion$jscomp$inline_1995,
"19.2.0-www-modern-ea05b750-20250408"
)
);
Internals.findDOMNode = function (componentOrElement) {
@@ -19005,24 +19005,24 @@ Internals.Events = [
return fn(a);
}
];
var internals$jscomp$inline_2575 = {
var internals$jscomp$inline_2576 = {
bundleType: 0,
version: "19.2.0-www-modern-33661467-20250407",
version: "19.2.0-www-modern-ea05b750-20250408",
rendererPackageName: "react-dom",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-33661467-20250407"
reconcilerVersion: "19.2.0-www-modern-ea05b750-20250408"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2576 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
var hook$jscomp$inline_2577 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
if (
!hook$jscomp$inline_2576.isDisabled &&
hook$jscomp$inline_2576.supportsFiber
!hook$jscomp$inline_2577.isDisabled &&
hook$jscomp$inline_2577.supportsFiber
)
try {
(rendererID = hook$jscomp$inline_2576.inject(
internals$jscomp$inline_2575
(rendererID = hook$jscomp$inline_2577.inject(
internals$jscomp$inline_2576
)),
(injectedHook = hook$jscomp$inline_2576);
(injectedHook = hook$jscomp$inline_2577);
} catch (err) {}
}
function ReactDOMRoot(internalRoot) {
@@ -19525,4 +19525,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactSharedInternals.H.useHostTransitionStatus();
};
exports.version = "19.2.0-www-modern-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
@@ -21209,7 +21209,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-33661467-20250407"
reconcilerVersion: "19.2.0-www-classic-ea05b750-20250408"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -20990,7 +20990,7 @@ __DEV__ &&
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-33661467-20250407"
reconcilerVersion: "19.2.0-www-modern-ea05b750-20250408"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13799,7 +13799,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-33661467-20250407"
reconcilerVersion: "19.2.0-www-classic-ea05b750-20250408"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -13516,7 +13516,7 @@ module.exports = function ($$$config) {
version: rendererVersion,
rendererPackageName: rendererPackageName,
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-33661467-20250407"
reconcilerVersion: "19.2.0-www-modern-ea05b750-20250408"
};
null !== extraDevToolsConfig &&
(internals.rendererConfig = extraDevToolsConfig);
@@ -15106,10 +15106,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-classic-33661467-20250407",
version: "19.2.0-www-classic-ea05b750-20250408",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-classic-33661467-20250407"
reconcilerVersion: "19.2.0-www-classic-ea05b750-20250408"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15244,5 +15244,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-classic-33661467-20250407";
exports.version = "19.2.0-www-classic-ea05b750-20250408";
})();
@@ -15106,10 +15106,10 @@ __DEV__ &&
(function () {
var internals = {
bundleType: 1,
version: "19.2.0-www-modern-33661467-20250407",
version: "19.2.0-www-modern-ea05b750-20250408",
rendererPackageName: "react-test-renderer",
currentDispatcherRef: ReactSharedInternals,
reconcilerVersion: "19.2.0-www-modern-33661467-20250407"
reconcilerVersion: "19.2.0-www-modern-ea05b750-20250408"
};
internals.overrideHookState = overrideHookState;
internals.overrideHookStateDeletePath = overrideHookStateDeletePath;
@@ -15244,5 +15244,5 @@ __DEV__ &&
exports.unstable_batchedUpdates = function (fn, a) {
return fn(a);
};
exports.version = "19.2.0-www-modern-33661467-20250407";
exports.version = "19.2.0-www-modern-ea05b750-20250408";
})();
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-classic-33661467-20250407
19.2.0-www-classic-ea05b750-20250408
+1 -1
View File
@@ -1 +1 @@
19.2.0-www-modern-33661467-20250407
19.2.0-www-modern-ea05b750-20250408
@@ -210,6 +210,8 @@ export default [
"Only plain objects can be passed to Server Functions from the Client. Objects with symbol properties like %s are not supported.%s",
"Only plain objects can be passed to Server Functions from the Client. Objects with toJSON methods are not supported. Convert it manually to a simple value before passing it to props.%s",
"Pass a `value` prop if you set dangerouslyInnerHTML so React knows which value should be selected.",
"Passing Blob, MediaSource or MediaStream to <%s src> is not supported.",
"Passing Blob, MediaSource or MediaStream to <source src> is not supported. Pass it directly to <img src>, <video src> or <audio src> instead.",
"Popping the context provider did not return back to the original snapshot. This is a bug in React.",
"Profiler must specify an \"id\" of type `string` as a prop. Received the type `%s` instead.",
"React Context Providers cannot be passed to Server Functions from the Client.%s",