[DOM] Shrink ReactDOMCurrentDispatcher method names (#28770)

Stacked on #28771

ReactDOMCurrentDispatcher has longer property names for various methods.
These methods are only ever called internally and don't need to be
represented with as many characters. This change shortens the names and
aligns them with the hint codes we use in Flight. This alignment is
passive since not all dispatcher methods will exist as flight
instructions but where they can line up it seems reasonable to make them
do so

DiffTrain build for [97c90ed883](https://github.com/facebook/react/commit/97c90ed8835401e325e42de22f38a803c5e6fc6d)
This commit is contained in:
gnoff
2024-04-08 20:59:15 +00:00
parent 9ea88c8279
commit 7739cd4a3d
21 changed files with 1395 additions and 741 deletions
+1 -1
View File
@@ -1 +1 @@
9007fdc8f103a5d9247be384791496db9a3be91d
97c90ed8835401e325e42de22f38a803c5e6fc6d
+179 -83
View File
@@ -3024,14 +3024,30 @@ if (__DEV__) {
function noop$3() {}
var DefaultDispatcher = {
flushSyncWork: noop$3,
prefetchDNS: noop$3,
preconnect: noop$3,
preload: noop$3,
preloadModule: noop$3,
preinitScript: noop$3,
preinitStyle: noop$3,
preinitModuleScript: noop$3
f:
/* flushSyncWork */
noop$3,
D:
/* prefetchDNS */
noop$3,
C:
/* preconnect */
noop$3,
L:
/* preload */
noop$3,
m:
/* preloadModule */
noop$3,
X:
/* preinitScript */
noop$3,
S:
/* preinitStyle */
noop$3,
M:
/* preinitModuleScript */
noop$3
};
var Internals = {
Events: null,
@@ -36162,7 +36178,7 @@ if (__DEV__) {
return root;
}
var ReactVersion = "19.0.0-www-classic-393dd949";
var ReactVersion = "19.0.0-www-classic-42767cb4";
function createPortal$1(
children,
@@ -45606,14 +45622,31 @@ if (__DEV__) {
Internals.d =
/* ReactDOMCurrentDispatcher */
{
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS$1,
preconnect: preconnect$1,
preload: preload$1,
preloadModule: preloadModule$1,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f:
/* flushSyncWork */
previousDispatcher.f,
/* flushSyncWork */
D:
/* prefetchDNS */
prefetchDNS$1,
C:
/* preconnect */
preconnect$1,
L:
/* preload */
preload$1,
m:
/* preloadModule */
preloadModule$1,
X:
/* preinitScript */
preinitScript,
S:
/* preinitStyle */
preinitStyle,
M:
/* preinitModuleScript */
preinitModuleScript
};
// how we resolve the HoistableRoot for ReactDOM.pre*() methods. Because we support calling
// these methods outside of render there is no way to know which Document or ShadowRoot is 'scoped'
@@ -45658,17 +45691,29 @@ if (__DEV__) {
}
function prefetchDNS$1(href) {
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(
/* prefetchDNS */
href
);
preconnectAs("dns-prefetch", href, null);
}
function preconnect$1(href, crossOrigin) {
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(
/* preconnect */
href,
crossOrigin
);
preconnectAs("preconnect", href, crossOrigin);
}
function preload$1(href, as, options) {
previousDispatcher.preload(href, as, options);
previousDispatcher.L(
/* preload */
href,
as,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href && as) {
@@ -45765,7 +45810,11 @@ if (__DEV__) {
}
function preloadModule$1(href, options) {
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(
/* preloadModule */
href,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href) {
@@ -45831,7 +45880,12 @@ if (__DEV__) {
}
function preinitStyle(href, precedence, options) {
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(
/* preinitStyle */
href,
precedence,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href) {
@@ -45904,7 +45958,11 @@ if (__DEV__) {
}
function preinitScript(src, options) {
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(
/* preinitScript */
src,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && src) {
@@ -45957,7 +46015,11 @@ if (__DEV__) {
}
function preinitModuleScript(src, options) {
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(
/* preinitModuleScript */
src,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && src) {
@@ -48710,7 +48772,10 @@ if (__DEV__) {
if (typeof href === "string") {
Internals.d
/* ReactDOMCurrentDispatcher */
.prefetchDNS(href);
.D(
/* prefetchDNS */
href
);
} // We don't error because preconnect needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -48741,7 +48806,11 @@ if (__DEV__) {
: null;
Internals.d
/* ReactDOMCurrentDispatcher */
.preconnect(href, crossOrigin);
.C(
/* preconnect */
href,
crossOrigin
);
} // We don't error because preconnect needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -48787,33 +48856,39 @@ if (__DEV__) {
var crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
Internals.d
/* ReactDOMCurrentDispatcher */
.preload(href, as, {
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined,
type: typeof options.type === "string" ? options.type : undefined,
fetchPriority:
typeof options.fetchPriority === "string"
? options.fetchPriority
: undefined,
referrerPolicy:
typeof options.referrerPolicy === "string"
? options.referrerPolicy
: undefined,
imageSrcSet:
typeof options.imageSrcSet === "string"
? options.imageSrcSet
: undefined,
imageSizes:
typeof options.imageSizes === "string"
? options.imageSizes
: undefined,
media: typeof options.media === "string" ? options.media : undefined
});
.L(
/* preload */
href,
as,
{
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined,
type: typeof options.type === "string" ? options.type : undefined,
fetchPriority:
typeof options.fetchPriority === "string"
? options.fetchPriority
: undefined,
referrerPolicy:
typeof options.referrerPolicy === "string"
? options.referrerPolicy
: undefined,
imageSrcSet:
typeof options.imageSrcSet === "string"
? options.imageSrcSet
: undefined,
imageSizes:
typeof options.imageSizes === "string"
? options.imageSizes
: undefined,
media:
typeof options.media === "string" ? options.media : undefined
}
);
} // We don't error because preload needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -48861,21 +48936,28 @@ if (__DEV__) {
);
Internals.d
/* ReactDOMCurrentDispatcher */
.preloadModule(href, {
as:
typeof options.as === "string" && options.as !== "script"
? options.as
: undefined,
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined
});
.m(
/* preloadModule */
href,
{
as:
typeof options.as === "string" && options.as !== "script"
? options.as
: undefined,
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined
}
);
} else {
Internals.d
/* ReactDOMCurrentDispatcher */
.preloadModule(href);
.m(
/* preloadModule */
href
);
}
} // We don't error because preload needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
@@ -48918,7 +49000,8 @@ if (__DEV__) {
if (as === "style") {
Internals.d
/* ReactDOMCurrentDispatcher */
.preinitStyle(
.S(
/* preinitStyle */
href,
typeof options.precedence === "string"
? options.precedence
@@ -48932,13 +49015,17 @@ if (__DEV__) {
} else if (as === "script") {
Internals.d
/* ReactDOMCurrentDispatcher */
.preinitScript(href, {
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
});
.X(
/* preinitScript */
href,
{
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
}
);
}
} // We don't error because preinit needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
@@ -49007,20 +49094,29 @@ if (__DEV__) {
);
Internals.d
/* ReactDOMCurrentDispatcher */
.preinitModuleScript(href, {
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
});
.M(
/* preinitModuleScript */
href,
{
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string"
? options.nonce
: undefined
}
);
}
} else if (options == null) {
Internals.d
/* ReactDOMCurrentDispatcher */
.preinitModuleScript(href);
.M(
/* preinitModuleScript */
href
);
}
} // We don't error because preinit needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
+184 -85
View File
@@ -1920,14 +1920,30 @@ if (__DEV__) {
function noop$3() {}
var DefaultDispatcher = {
flushSyncWork: noop$3,
prefetchDNS: noop$3,
preconnect: noop$3,
preload: noop$3,
preloadModule: noop$3,
preinitScript: noop$3,
preinitStyle: noop$3,
preinitModuleScript: noop$3
f:
/* flushSyncWork */
noop$3,
D:
/* prefetchDNS */
noop$3,
C:
/* preconnect */
noop$3,
L:
/* preload */
noop$3,
m:
/* preloadModule */
noop$3,
X:
/* preinitScript */
noop$3,
S:
/* preinitStyle */
noop$3,
M:
/* preinitModuleScript */
noop$3
};
var Internals = {
Events: null,
@@ -43914,19 +43930,38 @@ if (__DEV__) {
Internals.d =
/* ReactDOMCurrentDispatcher */
{
flushSyncWork: flushSyncWork,
prefetchDNS: prefetchDNS$1,
preconnect: preconnect$1,
preload: preload$1,
preloadModule: preloadModule$1,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f:
/* flushSyncWork */
flushSyncWork,
/* flushSyncWork */
D:
/* prefetchDNS */
prefetchDNS$1,
C:
/* preconnect */
preconnect$1,
L:
/* preload */
preload$1,
m:
/* preloadModule */
preloadModule$1,
X:
/* preinitScript */
preinitScript,
S:
/* preinitStyle */
preinitStyle,
M:
/* preinitModuleScript */
preinitModuleScript
};
function flushSyncWork() {
{
var previousWasRendering = previousDispatcher.flushSyncWork();
var previousWasRendering = previousDispatcher.f();
/* flushSyncWork */
var wasRendering = flushSyncWork$1(); // Since multiple dispatchers can flush sync work during a single flushSync call
// we need to return true if any of them were rendering.
@@ -43976,17 +44011,29 @@ if (__DEV__) {
}
function prefetchDNS$1(href) {
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(
/* prefetchDNS */
href
);
preconnectAs("dns-prefetch", href, null);
}
function preconnect$1(href, crossOrigin) {
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(
/* preconnect */
href,
crossOrigin
);
preconnectAs("preconnect", href, crossOrigin);
}
function preload$1(href, as, options) {
previousDispatcher.preload(href, as, options);
previousDispatcher.L(
/* preload */
href,
as,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href && as) {
@@ -44083,7 +44130,11 @@ if (__DEV__) {
}
function preloadModule$1(href, options) {
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(
/* preloadModule */
href,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href) {
@@ -44149,7 +44200,12 @@ if (__DEV__) {
}
function preinitStyle(href, precedence, options) {
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(
/* preinitStyle */
href,
precedence,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href) {
@@ -44222,7 +44278,11 @@ if (__DEV__) {
}
function preinitScript(src, options) {
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(
/* preinitScript */
src,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && src) {
@@ -44275,7 +44335,11 @@ if (__DEV__) {
}
function preinitModuleScript(src, options) {
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(
/* preinitModuleScript */
src,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && src) {
@@ -45593,7 +45657,7 @@ if (__DEV__) {
return root;
}
var ReactVersion = "19.0.0-www-modern-67454cc7";
var ReactVersion = "19.0.0-www-modern-4bf48d34";
function createPortal$1(
children,
@@ -47554,7 +47618,8 @@ if (__DEV__) {
previousUpdatePriority;
var wasInRender = Internals.d
/* ReactDOMCurrentDispatcher */
.flushSyncWork();
.f();
/* flushSyncWork */
{
if (wasInRender) {
@@ -47619,7 +47684,10 @@ if (__DEV__) {
if (typeof href === "string") {
Internals.d
/* ReactDOMCurrentDispatcher */
.prefetchDNS(href);
.D(
/* prefetchDNS */
href
);
} // We don't error because preconnect needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -47650,7 +47718,11 @@ if (__DEV__) {
: null;
Internals.d
/* ReactDOMCurrentDispatcher */
.preconnect(href, crossOrigin);
.C(
/* preconnect */
href,
crossOrigin
);
} // We don't error because preconnect needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -47696,33 +47768,39 @@ if (__DEV__) {
var crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
Internals.d
/* ReactDOMCurrentDispatcher */
.preload(href, as, {
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined,
type: typeof options.type === "string" ? options.type : undefined,
fetchPriority:
typeof options.fetchPriority === "string"
? options.fetchPriority
: undefined,
referrerPolicy:
typeof options.referrerPolicy === "string"
? options.referrerPolicy
: undefined,
imageSrcSet:
typeof options.imageSrcSet === "string"
? options.imageSrcSet
: undefined,
imageSizes:
typeof options.imageSizes === "string"
? options.imageSizes
: undefined,
media: typeof options.media === "string" ? options.media : undefined
});
.L(
/* preload */
href,
as,
{
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined,
type: typeof options.type === "string" ? options.type : undefined,
fetchPriority:
typeof options.fetchPriority === "string"
? options.fetchPriority
: undefined,
referrerPolicy:
typeof options.referrerPolicy === "string"
? options.referrerPolicy
: undefined,
imageSrcSet:
typeof options.imageSrcSet === "string"
? options.imageSrcSet
: undefined,
imageSizes:
typeof options.imageSizes === "string"
? options.imageSizes
: undefined,
media:
typeof options.media === "string" ? options.media : undefined
}
);
} // We don't error because preload needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -47770,21 +47848,28 @@ if (__DEV__) {
);
Internals.d
/* ReactDOMCurrentDispatcher */
.preloadModule(href, {
as:
typeof options.as === "string" && options.as !== "script"
? options.as
: undefined,
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined
});
.m(
/* preloadModule */
href,
{
as:
typeof options.as === "string" && options.as !== "script"
? options.as
: undefined,
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined
}
);
} else {
Internals.d
/* ReactDOMCurrentDispatcher */
.preloadModule(href);
.m(
/* preloadModule */
href
);
}
} // We don't error because preload needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
@@ -47827,7 +47912,8 @@ if (__DEV__) {
if (as === "style") {
Internals.d
/* ReactDOMCurrentDispatcher */
.preinitStyle(
.S(
/* preinitStyle */
href,
typeof options.precedence === "string"
? options.precedence
@@ -47841,13 +47927,17 @@ if (__DEV__) {
} else if (as === "script") {
Internals.d
/* ReactDOMCurrentDispatcher */
.preinitScript(href, {
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
});
.X(
/* preinitScript */
href,
{
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
}
);
}
} // We don't error because preinit needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
@@ -47916,20 +48006,29 @@ if (__DEV__) {
);
Internals.d
/* ReactDOMCurrentDispatcher */
.preinitModuleScript(href, {
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
});
.M(
/* preinitModuleScript */
href,
{
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string"
? options.nonce
: undefined
}
);
}
} else if (options == null) {
Internals.d
/* ReactDOMCurrentDispatcher */
.preinitModuleScript(href);
.M(
/* preinitModuleScript */
href
);
}
} // We don't error because preinit needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
+35 -35
View File
@@ -724,14 +724,14 @@ function noop$3() {}
var Internals = {
Events: null,
d: {
flushSyncWork: noop$3,
prefetchDNS: noop$3,
preconnect: noop$3,
preload: noop$3,
preloadModule: noop$3,
preinitScript: noop$3,
preinitStyle: noop$3,
preinitModuleScript: noop$3
f: noop$3,
D: noop$3,
C: noop$3,
L: noop$3,
m: noop$3,
X: noop$3,
S: noop$3,
M: noop$3
},
p: 0,
findDOMNode: null
@@ -15506,14 +15506,14 @@ function getHoistableRoot(container) {
}
var previousDispatcher = Internals.d;
Internals.d = {
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS$1,
preconnect: preconnect$1,
preload: preload$1,
preloadModule: preloadModule$1,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f: previousDispatcher.f,
D: prefetchDNS$1,
C: preconnect$1,
L: preload$1,
m: preloadModule$1,
X: preinitScript,
S: preinitStyle,
M: preinitModuleScript
};
var globalDocument = "undefined" === typeof document ? null : document;
function preconnectAs(rel, href, crossOrigin) {
@@ -15536,15 +15536,15 @@ function preconnectAs(rel, href, crossOrigin) {
}
}
function prefetchDNS$1(href) {
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(href);
preconnectAs("dns-prefetch", href, null);
}
function preconnect$1(href, crossOrigin) {
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(href, crossOrigin);
preconnectAs("preconnect", href, crossOrigin);
}
function preload$1(href, as, options) {
previousDispatcher.preload(href, as, options);
previousDispatcher.L(href, as, options);
var ownerDocument = globalDocument;
if (ownerDocument && href && as) {
var preloadSelector =
@@ -15605,7 +15605,7 @@ function preload$1(href, as, options) {
}
}
function preloadModule$1(href, options) {
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(href, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var as = options && "string" === typeof options.as ? options.as : "script",
@@ -15649,7 +15649,7 @@ function preloadModule$1(href, options) {
}
}
function preinitStyle(href, precedence, options) {
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(href, precedence, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var styles = getResourcesFromRoot(ownerDocument).hoistableStyles,
@@ -15698,7 +15698,7 @@ function preinitStyle(href, precedence, options) {
}
}
function preinitScript(src, options) {
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -15724,7 +15724,7 @@ function preinitScript(src, options) {
}
}
function preinitModuleScript(src, options) {
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -16979,7 +16979,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1727 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-classic-eb2872a8",
version: "19.0.0-www-classic-0213c015",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2160 = {
@@ -17009,7 +17009,7 @@ var internals$jscomp$inline_2160 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-classic-eb2872a8"
reconcilerVersion: "19.0.0-www-classic-0213c015"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2161 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -17297,10 +17297,10 @@ exports.preconnect = function (href, options) {
: ""
: void 0))
: (options = null),
Internals.d.preconnect(href, options));
Internals.d.C(href, options));
};
exports.prefetchDNS = function (href) {
"string" === typeof href && Internals.d.prefetchDNS(href);
"string" === typeof href && Internals.d.D(href);
};
exports.preinit = function (href, options) {
if ("string" === typeof href && options && "string" === typeof options.as) {
@@ -17313,7 +17313,7 @@ exports.preinit = function (href, options) {
? options.fetchPriority
: void 0;
"style" === as
? Internals.d.preinitStyle(
? Internals.d.S(
href,
"string" === typeof options.precedence ? options.precedence : void 0,
{
@@ -17323,7 +17323,7 @@ exports.preinit = function (href, options) {
}
)
: "script" === as &&
Internals.d.preinitScript(href, {
Internals.d.X(href, {
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
@@ -17339,14 +17339,14 @@ exports.preinitModule = function (href, options) {
options.as,
options.crossOrigin
);
Internals.d.preinitModuleScript(href, {
Internals.d.M(href, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
nonce: "string" === typeof options.nonce ? options.nonce : void 0
});
}
} else null == options && Internals.d.preinitModuleScript(href);
} else null == options && Internals.d.M(href);
};
exports.preload = function (href, options) {
if (
@@ -17357,7 +17357,7 @@ exports.preload = function (href, options) {
) {
var as = options.as,
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
Internals.d.preload(href, as, {
Internals.d.L(href, as, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
@@ -17383,7 +17383,7 @@ exports.preloadModule = function (href, options) {
if ("string" === typeof href)
if (options) {
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
Internals.d.preloadModule(href, {
Internals.d.m(href, {
as:
"string" === typeof options.as && "script" !== options.as
? options.as
@@ -17392,7 +17392,7 @@ exports.preloadModule = function (href, options) {
integrity:
"string" === typeof options.integrity ? options.integrity : void 0
});
} else Internals.d.preloadModule(href);
} else Internals.d.m(href);
};
exports.render = function (element, container, callback) {
if (!isValidContainerLegacy(container))
@@ -17475,4 +17475,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactCurrentDispatcher$2.current.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-eb2872a8";
exports.version = "19.0.0-www-classic-0213c015";
+37 -37
View File
@@ -335,14 +335,14 @@ function noop$3() {}
var Internals = {
Events: null,
d: {
flushSyncWork: noop$3,
prefetchDNS: noop$3,
preconnect: noop$3,
preload: noop$3,
preloadModule: noop$3,
preinitScript: noop$3,
preinitStyle: noop$3,
preinitModuleScript: noop$3
f: noop$3,
D: noop$3,
C: noop$3,
L: noop$3,
m: noop$3,
X: noop$3,
S: noop$3,
M: noop$3
},
p: 0,
findDOMNode: null
@@ -14797,17 +14797,17 @@ function getHoistableRoot(container) {
}
var previousDispatcher = Internals.d;
Internals.d = {
flushSyncWork: flushSyncWork,
prefetchDNS: prefetchDNS$1,
preconnect: preconnect$1,
preload: preload$1,
preloadModule: preloadModule$1,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f: flushSyncWork,
D: prefetchDNS$1,
C: preconnect$1,
L: preload$1,
m: preloadModule$1,
X: preinitScript,
S: preinitStyle,
M: preinitModuleScript
};
function flushSyncWork() {
var previousWasRendering = previousDispatcher.flushSyncWork(),
var previousWasRendering = previousDispatcher.f(),
wasRendering = flushSyncWork$1();
return previousWasRendering || wasRendering;
}
@@ -14832,15 +14832,15 @@ function preconnectAs(rel, href, crossOrigin) {
}
}
function prefetchDNS$1(href) {
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(href);
preconnectAs("dns-prefetch", href, null);
}
function preconnect$1(href, crossOrigin) {
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(href, crossOrigin);
preconnectAs("preconnect", href, crossOrigin);
}
function preload$1(href, as, options) {
previousDispatcher.preload(href, as, options);
previousDispatcher.L(href, as, options);
var ownerDocument = globalDocument;
if (ownerDocument && href && as) {
var preloadSelector =
@@ -14901,7 +14901,7 @@ function preload$1(href, as, options) {
}
}
function preloadModule$1(href, options) {
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(href, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var as = options && "string" === typeof options.as ? options.as : "script",
@@ -14945,7 +14945,7 @@ function preloadModule$1(href, options) {
}
}
function preinitStyle(href, precedence, options) {
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(href, precedence, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var styles = getResourcesFromRoot(ownerDocument).hoistableStyles,
@@ -14994,7 +14994,7 @@ function preinitStyle(href, precedence, options) {
}
}
function preinitScript(src, options) {
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -15020,7 +15020,7 @@ function preinitScript(src, options) {
}
}
function preinitModuleScript(src, options) {
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -16344,7 +16344,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1720 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-modern-93a9698c",
version: "19.0.0-www-modern-c8552266",
rendererPackageName: "react-dom"
};
var internals$jscomp$inline_2162 = {
@@ -16374,7 +16374,7 @@ var internals$jscomp$inline_2162 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-modern-93a9698c"
reconcilerVersion: "19.0.0-www-modern-c8552266"
};
if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {
var hook$jscomp$inline_2163 = __REACT_DEVTOOLS_GLOBAL_HOOK__;
@@ -16474,7 +16474,7 @@ exports.flushSync = function (fn) {
} finally {
(ReactCurrentBatchConfig.transition = previousTransition),
(Internals.p = previousUpdatePriority),
Internals.d.flushSyncWork();
Internals.d.f();
}
};
exports.hydrateRoot = function (container, initialChildren, options) {
@@ -16545,10 +16545,10 @@ exports.preconnect = function (href, options) {
: ""
: void 0))
: (options = null),
Internals.d.preconnect(href, options));
Internals.d.C(href, options));
};
exports.prefetchDNS = function (href) {
"string" === typeof href && Internals.d.prefetchDNS(href);
"string" === typeof href && Internals.d.D(href);
};
exports.preinit = function (href, options) {
if ("string" === typeof href && options && "string" === typeof options.as) {
@@ -16561,7 +16561,7 @@ exports.preinit = function (href, options) {
? options.fetchPriority
: void 0;
"style" === as
? Internals.d.preinitStyle(
? Internals.d.S(
href,
"string" === typeof options.precedence ? options.precedence : void 0,
{
@@ -16571,7 +16571,7 @@ exports.preinit = function (href, options) {
}
)
: "script" === as &&
Internals.d.preinitScript(href, {
Internals.d.X(href, {
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
@@ -16587,14 +16587,14 @@ exports.preinitModule = function (href, options) {
options.as,
options.crossOrigin
);
Internals.d.preinitModuleScript(href, {
Internals.d.M(href, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
nonce: "string" === typeof options.nonce ? options.nonce : void 0
});
}
} else null == options && Internals.d.preinitModuleScript(href);
} else null == options && Internals.d.M(href);
};
exports.preload = function (href, options) {
if (
@@ -16605,7 +16605,7 @@ exports.preload = function (href, options) {
) {
var as = options.as,
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
Internals.d.preload(href, as, {
Internals.d.L(href, as, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
@@ -16631,7 +16631,7 @@ exports.preloadModule = function (href, options) {
if ("string" === typeof href)
if (options) {
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
Internals.d.preloadModule(href, {
Internals.d.m(href, {
as:
"string" === typeof options.as && "script" !== options.as
? options.as
@@ -16640,7 +16640,7 @@ exports.preloadModule = function (href, options) {
integrity:
"string" === typeof options.integrity ? options.integrity : void 0
});
} else Internals.d.preloadModule(href);
} else Internals.d.m(href);
};
exports.unstable_batchedUpdates = unstable_batchedUpdates;
exports.unstable_createEventHandle = function (type, options) {
@@ -16683,4 +16683,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactCurrentDispatcher$2.current.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-93a9698c";
exports.version = "19.0.0-www-modern-c8552266";
@@ -860,14 +860,14 @@ function noop$3() {}
var Internals = {
Events: null,
d: {
flushSyncWork: noop$3,
prefetchDNS: noop$3,
preconnect: noop$3,
preload: noop$3,
preloadModule: noop$3,
preinitScript: noop$3,
preinitStyle: noop$3,
preinitModuleScript: noop$3
f: noop$3,
D: noop$3,
C: noop$3,
L: noop$3,
m: noop$3,
X: noop$3,
S: noop$3,
M: noop$3
},
p: 0,
findDOMNode: null
@@ -16254,14 +16254,14 @@ function getHoistableRoot(container) {
}
var previousDispatcher = Internals.d;
Internals.d = {
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS$1,
preconnect: preconnect$1,
preload: preload$1,
preloadModule: preloadModule$1,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f: previousDispatcher.f,
D: prefetchDNS$1,
C: preconnect$1,
L: preload$1,
m: preloadModule$1,
X: preinitScript,
S: preinitStyle,
M: preinitModuleScript
};
var globalDocument = "undefined" === typeof document ? null : document;
function preconnectAs(rel, href, crossOrigin) {
@@ -16284,15 +16284,15 @@ function preconnectAs(rel, href, crossOrigin) {
}
}
function prefetchDNS$1(href) {
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(href);
preconnectAs("dns-prefetch", href, null);
}
function preconnect$1(href, crossOrigin) {
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(href, crossOrigin);
preconnectAs("preconnect", href, crossOrigin);
}
function preload$1(href, as, options) {
previousDispatcher.preload(href, as, options);
previousDispatcher.L(href, as, options);
var ownerDocument = globalDocument;
if (ownerDocument && href && as) {
var preloadSelector =
@@ -16353,7 +16353,7 @@ function preload$1(href, as, options) {
}
}
function preloadModule$1(href, options) {
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(href, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var as = options && "string" === typeof options.as ? options.as : "script",
@@ -16397,7 +16397,7 @@ function preloadModule$1(href, options) {
}
}
function preinitStyle(href, precedence, options) {
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(href, precedence, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var styles = getResourcesFromRoot(ownerDocument).hoistableStyles,
@@ -16446,7 +16446,7 @@ function preinitStyle(href, precedence, options) {
}
}
function preinitScript(src, options) {
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -16472,7 +16472,7 @@ function preinitScript(src, options) {
}
}
function preinitModuleScript(src, options) {
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -17727,7 +17727,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1813 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-classic-8471758c",
version: "19.0.0-www-classic-59814ebe",
rendererPackageName: "react-dom"
};
(function (internals) {
@@ -17771,7 +17771,7 @@ var devToolsConfig$jscomp$inline_1813 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-classic-8471758c"
reconcilerVersion: "19.0.0-www-classic-59814ebe"
});
var ReactFiberErrorDialogWWW = require("ReactFiberErrorDialog");
if ("function" !== typeof ReactFiberErrorDialogWWW.showErrorDialog)
@@ -18046,10 +18046,10 @@ exports.preconnect = function (href, options) {
: ""
: void 0))
: (options = null),
Internals.d.preconnect(href, options));
Internals.d.C(href, options));
};
exports.prefetchDNS = function (href) {
"string" === typeof href && Internals.d.prefetchDNS(href);
"string" === typeof href && Internals.d.D(href);
};
exports.preinit = function (href, options) {
if ("string" === typeof href && options && "string" === typeof options.as) {
@@ -18062,7 +18062,7 @@ exports.preinit = function (href, options) {
? options.fetchPriority
: void 0;
"style" === as
? Internals.d.preinitStyle(
? Internals.d.S(
href,
"string" === typeof options.precedence ? options.precedence : void 0,
{
@@ -18072,7 +18072,7 @@ exports.preinit = function (href, options) {
}
)
: "script" === as &&
Internals.d.preinitScript(href, {
Internals.d.X(href, {
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
@@ -18088,14 +18088,14 @@ exports.preinitModule = function (href, options) {
options.as,
options.crossOrigin
);
Internals.d.preinitModuleScript(href, {
Internals.d.M(href, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
nonce: "string" === typeof options.nonce ? options.nonce : void 0
});
}
} else null == options && Internals.d.preinitModuleScript(href);
} else null == options && Internals.d.M(href);
};
exports.preload = function (href, options) {
if (
@@ -18106,7 +18106,7 @@ exports.preload = function (href, options) {
) {
var as = options.as,
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
Internals.d.preload(href, as, {
Internals.d.L(href, as, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
@@ -18132,7 +18132,7 @@ exports.preloadModule = function (href, options) {
if ("string" === typeof href)
if (options) {
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
Internals.d.preloadModule(href, {
Internals.d.m(href, {
as:
"string" === typeof options.as && "script" !== options.as
? options.as
@@ -18141,7 +18141,7 @@ exports.preloadModule = function (href, options) {
integrity:
"string" === typeof options.integrity ? options.integrity : void 0
});
} else Internals.d.preloadModule(href);
} else Internals.d.m(href);
};
exports.render = function (element, container, callback) {
if (!isValidContainerLegacy(container))
@@ -18224,7 +18224,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactCurrentDispatcher$2.current.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-8471758c";
exports.version = "19.0.0-www-classic-59814ebe";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -471,14 +471,14 @@ function noop$3() {}
var Internals = {
Events: null,
d: {
flushSyncWork: noop$3,
prefetchDNS: noop$3,
preconnect: noop$3,
preload: noop$3,
preloadModule: noop$3,
preinitScript: noop$3,
preinitStyle: noop$3,
preinitModuleScript: noop$3
f: noop$3,
D: noop$3,
C: noop$3,
L: noop$3,
m: noop$3,
X: noop$3,
S: noop$3,
M: noop$3
},
p: 0,
findDOMNode: null
@@ -15518,17 +15518,17 @@ function getHoistableRoot(container) {
}
var previousDispatcher = Internals.d;
Internals.d = {
flushSyncWork: flushSyncWork,
prefetchDNS: prefetchDNS$1,
preconnect: preconnect$1,
preload: preload$1,
preloadModule: preloadModule$1,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f: flushSyncWork,
D: prefetchDNS$1,
C: preconnect$1,
L: preload$1,
m: preloadModule$1,
X: preinitScript,
S: preinitStyle,
M: preinitModuleScript
};
function flushSyncWork() {
var previousWasRendering = previousDispatcher.flushSyncWork(),
var previousWasRendering = previousDispatcher.f(),
wasRendering = flushSyncWork$1();
return previousWasRendering || wasRendering;
}
@@ -15553,15 +15553,15 @@ function preconnectAs(rel, href, crossOrigin) {
}
}
function prefetchDNS$1(href) {
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(href);
preconnectAs("dns-prefetch", href, null);
}
function preconnect$1(href, crossOrigin) {
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(href, crossOrigin);
preconnectAs("preconnect", href, crossOrigin);
}
function preload$1(href, as, options) {
previousDispatcher.preload(href, as, options);
previousDispatcher.L(href, as, options);
var ownerDocument = globalDocument;
if (ownerDocument && href && as) {
var preloadSelector =
@@ -15622,7 +15622,7 @@ function preload$1(href, as, options) {
}
}
function preloadModule$1(href, options) {
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(href, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var as = options && "string" === typeof options.as ? options.as : "script",
@@ -15666,7 +15666,7 @@ function preloadModule$1(href, options) {
}
}
function preinitStyle(href, precedence, options) {
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(href, precedence, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var styles = getResourcesFromRoot(ownerDocument).hoistableStyles,
@@ -15715,7 +15715,7 @@ function preinitStyle(href, precedence, options) {
}
}
function preinitScript(src, options) {
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -15741,7 +15741,7 @@ function preinitScript(src, options) {
}
}
function preinitModuleScript(src, options) {
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -17075,7 +17075,7 @@ Internals.Events = [
var devToolsConfig$jscomp$inline_1806 = {
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-modern-1bf8461f",
version: "19.0.0-www-modern-3a232590",
rendererPackageName: "react-dom"
};
(function (internals) {
@@ -17119,7 +17119,7 @@ var devToolsConfig$jscomp$inline_1806 = {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-modern-1bf8461f"
reconcilerVersion: "19.0.0-www-modern-3a232590"
});
var ReactFiberErrorDialogWWW = require("ReactFiberErrorDialog");
if ("function" !== typeof ReactFiberErrorDialogWWW.showErrorDialog)
@@ -17206,7 +17206,7 @@ exports.flushSync = function (fn) {
} finally {
(ReactCurrentBatchConfig.transition = previousTransition),
(Internals.p = previousUpdatePriority),
Internals.d.flushSyncWork();
Internals.d.f();
}
};
exports.hydrateRoot = function (container, initialChildren, options) {
@@ -17277,10 +17277,10 @@ exports.preconnect = function (href, options) {
: ""
: void 0))
: (options = null),
Internals.d.preconnect(href, options));
Internals.d.C(href, options));
};
exports.prefetchDNS = function (href) {
"string" === typeof href && Internals.d.prefetchDNS(href);
"string" === typeof href && Internals.d.D(href);
};
exports.preinit = function (href, options) {
if ("string" === typeof href && options && "string" === typeof options.as) {
@@ -17293,7 +17293,7 @@ exports.preinit = function (href, options) {
? options.fetchPriority
: void 0;
"style" === as
? Internals.d.preinitStyle(
? Internals.d.S(
href,
"string" === typeof options.precedence ? options.precedence : void 0,
{
@@ -17303,7 +17303,7 @@ exports.preinit = function (href, options) {
}
)
: "script" === as &&
Internals.d.preinitScript(href, {
Internals.d.X(href, {
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
@@ -17319,14 +17319,14 @@ exports.preinitModule = function (href, options) {
options.as,
options.crossOrigin
);
Internals.d.preinitModuleScript(href, {
Internals.d.M(href, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
nonce: "string" === typeof options.nonce ? options.nonce : void 0
});
}
} else null == options && Internals.d.preinitModuleScript(href);
} else null == options && Internals.d.M(href);
};
exports.preload = function (href, options) {
if (
@@ -17337,7 +17337,7 @@ exports.preload = function (href, options) {
) {
var as = options.as,
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
Internals.d.preload(href, as, {
Internals.d.L(href, as, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
@@ -17363,7 +17363,7 @@ exports.preloadModule = function (href, options) {
if ("string" === typeof href)
if (options) {
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
Internals.d.preloadModule(href, {
Internals.d.m(href, {
as:
"string" === typeof options.as && "script" !== options.as
? options.as
@@ -17372,7 +17372,7 @@ exports.preloadModule = function (href, options) {
integrity:
"string" === typeof options.integrity ? options.integrity : void 0
});
} else Internals.d.preloadModule(href);
} else Internals.d.m(href);
};
exports.unstable_batchedUpdates = unstable_batchedUpdates;
exports.unstable_createEventHandle = function (type, options) {
@@ -17415,7 +17415,7 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactCurrentDispatcher$2.current.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-1bf8461f";
exports.version = "19.0.0-www-modern-3a232590";
"undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ &&
"function" ===
typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop &&
@@ -19,7 +19,7 @@ if (__DEV__) {
var React = require("react");
var ReactDOM = require("react-dom");
var ReactVersion = "19.0.0-www-classic-e7ce3381";
var ReactVersion = "19.0.0-www-classic-dda4ebf9";
// This refers to a WWW module.
var warningWWW = require("warning");
@@ -2372,14 +2372,31 @@ if (__DEV__) {
ReactDOMSharedInternals.d =
/* ReactDOMCurrentDispatcher */
{
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS,
preconnect: preconnect,
preload: preload,
preloadModule: preloadModule,
preinitScript: preinitScript,
preinitStyle: preinitStyle,
preinitModuleScript: preinitModuleScript
f:
/* flushSyncWork */
previousDispatcher.f,
/* flushSyncWork */
D:
/* prefetchDNS */
prefetchDNS,
C:
/* preconnect */
preconnect,
L:
/* preload */
preload,
m:
/* preloadModule */
preloadModule,
X:
/* preinitScript */
preinitScript,
S:
/* preinitStyle */
preinitStyle,
M:
/* preinitModuleScript */
preinitModuleScript
}; // We make every property of the descriptor optional because it is not a contract that
var ScriptStreamingFormat = 0;
var DataStreamingFormat = 1;
@@ -7456,7 +7473,10 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(
/* prefetchDNS */
href
);
return;
}
@@ -7515,7 +7535,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(
/* preconnect */
href,
crossOrigin
);
return;
}
@@ -7580,7 +7604,12 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preload(href, as, options);
previousDispatcher.L(
/* preload */
href,
as,
options
);
return;
}
@@ -7815,7 +7844,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(
/* preloadModule */
href,
options
);
return;
}
@@ -7893,7 +7926,12 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(
/* preinitStyle */
href,
precedence,
options
);
return;
}
@@ -7975,7 +8013,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(
/* preinitScript */
src,
options
);
return;
}
@@ -8041,7 +8083,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(
/* preinitModuleScript */
src,
options
);
return;
}
@@ -19,7 +19,7 @@ if (__DEV__) {
var React = require("react");
var ReactDOM = require("react-dom");
var ReactVersion = "19.0.0-www-modern-f0bfd9eb";
var ReactVersion = "19.0.0-www-modern-b5e17d1d";
// This refers to a WWW module.
var warningWWW = require("warning");
@@ -2372,14 +2372,31 @@ if (__DEV__) {
ReactDOMSharedInternals.d =
/* ReactDOMCurrentDispatcher */
{
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS,
preconnect: preconnect,
preload: preload,
preloadModule: preloadModule,
preinitScript: preinitScript,
preinitStyle: preinitStyle,
preinitModuleScript: preinitModuleScript
f:
/* flushSyncWork */
previousDispatcher.f,
/* flushSyncWork */
D:
/* prefetchDNS */
prefetchDNS,
C:
/* preconnect */
preconnect,
L:
/* preload */
preload,
m:
/* preloadModule */
preloadModule,
X:
/* preinitScript */
preinitScript,
S:
/* preinitStyle */
preinitStyle,
M:
/* preinitModuleScript */
preinitModuleScript
}; // We make every property of the descriptor optional because it is not a contract that
var ScriptStreamingFormat = 0;
var DataStreamingFormat = 1;
@@ -7456,7 +7473,10 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(
/* prefetchDNS */
href
);
return;
}
@@ -7515,7 +7535,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(
/* preconnect */
href,
crossOrigin
);
return;
}
@@ -7580,7 +7604,12 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preload(href, as, options);
previousDispatcher.L(
/* preload */
href,
as,
options
);
return;
}
@@ -7815,7 +7844,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(
/* preloadModule */
href,
options
);
return;
}
@@ -7893,7 +7926,12 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(
/* preinitStyle */
href,
precedence,
options
);
return;
}
@@ -7975,7 +8013,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(
/* preinitScript */
src,
options
);
return;
}
@@ -8041,7 +8083,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(
/* preinitModuleScript */
src,
options
);
return;
}
@@ -298,14 +298,14 @@ var ReactSharedInternals =
ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
previousDispatcher = ReactDOMSharedInternals.d;
ReactDOMSharedInternals.d = {
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS,
preconnect: preconnect,
preload: preload,
preloadModule: preloadModule,
preinitScript: preinitScript,
preinitStyle: preinitStyle,
preinitModuleScript: preinitModuleScript
f: previousDispatcher.f,
D: prefetchDNS,
C: preconnect,
L: preload,
m: preloadModule,
X: preinitScript,
S: preinitStyle,
M: preinitModuleScript
};
var PRELOAD_NO_CREDS = [],
scriptRegex = /(<\/|<)(s)(cript)/gi;
@@ -2237,7 +2237,7 @@ function prefetchDNS(href) {
}
enqueueFlush(request);
}
} else previousDispatcher.prefetchDNS(href);
} else previousDispatcher.D(href);
}
function preconnect(href, crossOrigin) {
var request = currentRequest ? currentRequest : null;
@@ -2291,7 +2291,7 @@ function preconnect(href, crossOrigin) {
}
enqueueFlush(request);
}
} else previousDispatcher.preconnect(href, crossOrigin);
} else previousDispatcher.C(href, crossOrigin);
}
function preload(href, as, options) {
var request = currentRequest ? currentRequest : null;
@@ -2405,7 +2405,7 @@ function preload(href, as, options) {
}
enqueueFlush(request);
}
} else previousDispatcher.preload(href, as, options);
} else previousDispatcher.L(href, as, options);
}
function preloadModule(href, options) {
var request = currentRequest ? currentRequest : null;
@@ -2441,7 +2441,7 @@ function preloadModule(href, options) {
renderState.bulkPreloads.add(as);
enqueueFlush(request);
}
} else previousDispatcher.preloadModule(href, options);
} else previousDispatcher.m(href, options);
}
function preinitStyle(href, precedence, options) {
var request = currentRequest ? currentRequest : null;
@@ -2481,7 +2481,7 @@ function preinitStyle(href, precedence, options) {
styleQueue.sheets.set(href, precedence),
enqueueFlush(request));
}
} else previousDispatcher.preinitStyle(href, precedence, options);
} else previousDispatcher.S(href, precedence, options);
}
function preinitScript(src, options) {
var request = currentRequest ? currentRequest : null;
@@ -2505,7 +2505,7 @@ function preinitScript(src, options) {
pushScriptImpl(src, options),
enqueueFlush(request));
}
} else previousDispatcher.preinitScript(src, options);
} else previousDispatcher.X(src, options);
}
function preinitModuleScript(src, options) {
var request = currentRequest ? currentRequest : null;
@@ -2531,7 +2531,7 @@ function preinitModuleScript(src, options) {
pushScriptImpl(src, options),
enqueueFlush(request));
}
} else previousDispatcher.preinitModuleScript(src, options);
} else previousDispatcher.M(src, options);
}
function adoptPreloadCredentials(target, preloadState) {
null == target.crossOrigin && (target.crossOrigin = preloadState[0]);
@@ -5677,4 +5677,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.0.0-www-classic-d1aec401";
exports.version = "19.0.0-www-classic-8d6ed462";
@@ -298,14 +298,14 @@ var ReactSharedInternals =
ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
previousDispatcher = ReactDOMSharedInternals.d;
ReactDOMSharedInternals.d = {
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS,
preconnect: preconnect,
preload: preload,
preloadModule: preloadModule,
preinitScript: preinitScript,
preinitStyle: preinitStyle,
preinitModuleScript: preinitModuleScript
f: previousDispatcher.f,
D: prefetchDNS,
C: preconnect,
L: preload,
m: preloadModule,
X: preinitScript,
S: preinitStyle,
M: preinitModuleScript
};
var PRELOAD_NO_CREDS = [],
scriptRegex = /(<\/|<)(s)(cript)/gi;
@@ -2237,7 +2237,7 @@ function prefetchDNS(href) {
}
enqueueFlush(request);
}
} else previousDispatcher.prefetchDNS(href);
} else previousDispatcher.D(href);
}
function preconnect(href, crossOrigin) {
var request = currentRequest ? currentRequest : null;
@@ -2291,7 +2291,7 @@ function preconnect(href, crossOrigin) {
}
enqueueFlush(request);
}
} else previousDispatcher.preconnect(href, crossOrigin);
} else previousDispatcher.C(href, crossOrigin);
}
function preload(href, as, options) {
var request = currentRequest ? currentRequest : null;
@@ -2405,7 +2405,7 @@ function preload(href, as, options) {
}
enqueueFlush(request);
}
} else previousDispatcher.preload(href, as, options);
} else previousDispatcher.L(href, as, options);
}
function preloadModule(href, options) {
var request = currentRequest ? currentRequest : null;
@@ -2441,7 +2441,7 @@ function preloadModule(href, options) {
renderState.bulkPreloads.add(as);
enqueueFlush(request);
}
} else previousDispatcher.preloadModule(href, options);
} else previousDispatcher.m(href, options);
}
function preinitStyle(href, precedence, options) {
var request = currentRequest ? currentRequest : null;
@@ -2481,7 +2481,7 @@ function preinitStyle(href, precedence, options) {
styleQueue.sheets.set(href, precedence),
enqueueFlush(request));
}
} else previousDispatcher.preinitStyle(href, precedence, options);
} else previousDispatcher.S(href, precedence, options);
}
function preinitScript(src, options) {
var request = currentRequest ? currentRequest : null;
@@ -2505,7 +2505,7 @@ function preinitScript(src, options) {
pushScriptImpl(src, options),
enqueueFlush(request));
}
} else previousDispatcher.preinitScript(src, options);
} else previousDispatcher.X(src, options);
}
function preinitModuleScript(src, options) {
var request = currentRequest ? currentRequest : null;
@@ -2531,7 +2531,7 @@ function preinitModuleScript(src, options) {
pushScriptImpl(src, options),
enqueueFlush(request));
}
} else previousDispatcher.preinitModuleScript(src, options);
} else previousDispatcher.M(src, options);
}
function adoptPreloadCredentials(target, preloadState) {
null == target.crossOrigin && (target.crossOrigin = preloadState[0]);
@@ -5655,4 +5655,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.0.0-www-modern-17053e45";
exports.version = "19.0.0-www-modern-2f688027";
@@ -2369,14 +2369,31 @@ if (__DEV__) {
ReactDOMSharedInternals.d =
/* ReactDOMCurrentDispatcher */
{
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS,
preconnect: preconnect,
preload: preload,
preloadModule: preloadModule,
preinitScript: preinitScript,
preinitStyle: preinitStyle,
preinitModuleScript: preinitModuleScript
f:
/* flushSyncWork */
previousDispatcher.f,
/* flushSyncWork */
D:
/* prefetchDNS */
prefetchDNS,
C:
/* preconnect */
preconnect,
L:
/* preload */
preload,
m:
/* preloadModule */
preloadModule,
X:
/* preinitScript */
preinitScript,
S:
/* preinitStyle */
preinitStyle,
M:
/* preinitModuleScript */
preinitModuleScript
}; // We make every property of the descriptor optional because it is not a contract that
var ScriptStreamingFormat = 0;
var DataStreamingFormat = 1;
@@ -7452,7 +7469,10 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(
/* prefetchDNS */
href
);
return;
}
@@ -7511,7 +7531,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(
/* preconnect */
href,
crossOrigin
);
return;
}
@@ -7576,7 +7600,12 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preload(href, as, options);
previousDispatcher.L(
/* preload */
href,
as,
options
);
return;
}
@@ -7811,7 +7840,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(
/* preloadModule */
href,
options
);
return;
}
@@ -7889,7 +7922,12 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(
/* preinitStyle */
href,
precedence,
options
);
return;
}
@@ -7971,7 +8009,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(
/* preinitScript */
src,
options
);
return;
}
@@ -8037,7 +8079,11 @@ if (__DEV__) {
// the resources for this call in either case we opt to do nothing. We can consider making this a warning
// but there may be times where calling a function outside of render is intentional (i.e. to warm up data
// fetching) and we don't want to warn in those cases.
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(
/* preinitModuleScript */
src,
options
);
return;
}
@@ -290,14 +290,14 @@ var ReactSharedInternals =
ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
previousDispatcher = ReactDOMSharedInternals.d;
ReactDOMSharedInternals.d = {
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS,
preconnect: preconnect,
preload: preload,
preloadModule: preloadModule,
preinitScript: preinitScript,
preinitStyle: preinitStyle,
preinitModuleScript: preinitModuleScript
f: previousDispatcher.f,
D: prefetchDNS,
C: preconnect,
L: preload,
m: preloadModule,
X: preinitScript,
S: preinitStyle,
M: preinitModuleScript
};
var PRELOAD_NO_CREDS = [],
scriptRegex = /(<\/|<)(s)(cript)/gi;
@@ -2254,7 +2254,7 @@ function prefetchDNS(href) {
}
enqueueFlush(request);
}
} else previousDispatcher.prefetchDNS(href);
} else previousDispatcher.D(href);
}
function preconnect(href, crossOrigin) {
var request = currentRequest ? currentRequest : null;
@@ -2308,7 +2308,7 @@ function preconnect(href, crossOrigin) {
}
enqueueFlush(request);
}
} else previousDispatcher.preconnect(href, crossOrigin);
} else previousDispatcher.C(href, crossOrigin);
}
function preload(href, as, options) {
var request = currentRequest ? currentRequest : null;
@@ -2422,7 +2422,7 @@ function preload(href, as, options) {
}
enqueueFlush(request);
}
} else previousDispatcher.preload(href, as, options);
} else previousDispatcher.L(href, as, options);
}
function preloadModule(href, options) {
var request = currentRequest ? currentRequest : null;
@@ -2458,7 +2458,7 @@ function preloadModule(href, options) {
renderState.bulkPreloads.add(as);
enqueueFlush(request);
}
} else previousDispatcher.preloadModule(href, options);
} else previousDispatcher.m(href, options);
}
function preinitStyle(href, precedence, options) {
var request = currentRequest ? currentRequest : null;
@@ -2498,7 +2498,7 @@ function preinitStyle(href, precedence, options) {
styleQueue.sheets.set(href, precedence),
enqueueFlush(request));
}
} else previousDispatcher.preinitStyle(href, precedence, options);
} else previousDispatcher.S(href, precedence, options);
}
function preinitScript(src, options) {
var request = currentRequest ? currentRequest : null;
@@ -2522,7 +2522,7 @@ function preinitScript(src, options) {
pushScriptImpl(src, options),
enqueueFlush(request));
}
} else previousDispatcher.preinitScript(src, options);
} else previousDispatcher.X(src, options);
}
function preinitModuleScript(src, options) {
var request = currentRequest ? currentRequest : null;
@@ -2548,7 +2548,7 @@ function preinitModuleScript(src, options) {
pushScriptImpl(src, options),
enqueueFlush(request));
}
} else previousDispatcher.preinitModuleScript(src, options);
} else previousDispatcher.M(src, options);
}
function adoptPreloadCredentials(target, preloadState) {
null == target.crossOrigin && (target.crossOrigin = preloadState[0]);
@@ -3016,14 +3016,30 @@ if (__DEV__) {
function noop$4() {}
var DefaultDispatcher$1 = {
flushSyncWork: noop$4,
prefetchDNS: noop$4,
preconnect: noop$4,
preload: noop$4,
preloadModule: noop$4,
preinitScript: noop$4,
preinitStyle: noop$4,
preinitModuleScript: noop$4
f:
/* flushSyncWork */
noop$4,
D:
/* prefetchDNS */
noop$4,
C:
/* preconnect */
noop$4,
L:
/* preload */
noop$4,
m:
/* preloadModule */
noop$4,
X:
/* preinitScript */
noop$4,
S:
/* preinitStyle */
noop$4,
M:
/* preinitModuleScript */
noop$4
};
var Internals$1 = {
Events: null,
@@ -36786,7 +36802,7 @@ if (__DEV__) {
return root;
}
var ReactVersion = "19.0.0-www-classic-438c6c1d";
var ReactVersion = "19.0.0-www-classic-45fdacd4";
function createPortal$1(
children,
@@ -46362,14 +46378,31 @@ if (__DEV__) {
Internals$1.d =
/* ReactDOMCurrentDispatcher */
{
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS$1,
preconnect: preconnect$1,
preload: preload$1,
preloadModule: preloadModule$1,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f:
/* flushSyncWork */
previousDispatcher.f,
/* flushSyncWork */
D:
/* prefetchDNS */
prefetchDNS$1,
C:
/* preconnect */
preconnect$1,
L:
/* preload */
preload$1,
m:
/* preloadModule */
preloadModule$1,
X:
/* preinitScript */
preinitScript,
S:
/* preinitStyle */
preinitStyle,
M:
/* preinitModuleScript */
preinitModuleScript
};
// how we resolve the HoistableRoot for ReactDOM.pre*() methods. Because we support calling
// these methods outside of render there is no way to know which Document or ShadowRoot is 'scoped'
@@ -46414,17 +46447,29 @@ if (__DEV__) {
}
function prefetchDNS$1(href) {
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(
/* prefetchDNS */
href
);
preconnectAs("dns-prefetch", href, null);
}
function preconnect$1(href, crossOrigin) {
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(
/* preconnect */
href,
crossOrigin
);
preconnectAs("preconnect", href, crossOrigin);
}
function preload$1(href, as, options) {
previousDispatcher.preload(href, as, options);
previousDispatcher.L(
/* preload */
href,
as,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href && as) {
@@ -46521,7 +46566,11 @@ if (__DEV__) {
}
function preloadModule$1(href, options) {
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(
/* preloadModule */
href,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href) {
@@ -46587,7 +46636,12 @@ if (__DEV__) {
}
function preinitStyle(href, precedence, options) {
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(
/* preinitStyle */
href,
precedence,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href) {
@@ -46660,7 +46714,11 @@ if (__DEV__) {
}
function preinitScript(src, options) {
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(
/* preinitScript */
src,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && src) {
@@ -46713,7 +46771,11 @@ if (__DEV__) {
}
function preinitModuleScript(src, options) {
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(
/* preinitModuleScript */
src,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && src) {
@@ -49466,7 +49528,10 @@ if (__DEV__) {
if (typeof href === "string") {
Internals$1.d
/* ReactDOMCurrentDispatcher */
.prefetchDNS(href);
.D(
/* prefetchDNS */
href
);
} // We don't error because preconnect needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -49497,7 +49562,11 @@ if (__DEV__) {
: null;
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preconnect(href, crossOrigin);
.C(
/* preconnect */
href,
crossOrigin
);
} // We don't error because preconnect needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -49543,33 +49612,39 @@ if (__DEV__) {
var crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preload(href, as, {
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined,
type: typeof options.type === "string" ? options.type : undefined,
fetchPriority:
typeof options.fetchPriority === "string"
? options.fetchPriority
: undefined,
referrerPolicy:
typeof options.referrerPolicy === "string"
? options.referrerPolicy
: undefined,
imageSrcSet:
typeof options.imageSrcSet === "string"
? options.imageSrcSet
: undefined,
imageSizes:
typeof options.imageSizes === "string"
? options.imageSizes
: undefined,
media: typeof options.media === "string" ? options.media : undefined
});
.L(
/* preload */
href,
as,
{
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined,
type: typeof options.type === "string" ? options.type : undefined,
fetchPriority:
typeof options.fetchPriority === "string"
? options.fetchPriority
: undefined,
referrerPolicy:
typeof options.referrerPolicy === "string"
? options.referrerPolicy
: undefined,
imageSrcSet:
typeof options.imageSrcSet === "string"
? options.imageSrcSet
: undefined,
imageSizes:
typeof options.imageSizes === "string"
? options.imageSizes
: undefined,
media:
typeof options.media === "string" ? options.media : undefined
}
);
} // We don't error because preload needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -49617,21 +49692,28 @@ if (__DEV__) {
);
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preloadModule(href, {
as:
typeof options.as === "string" && options.as !== "script"
? options.as
: undefined,
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined
});
.m(
/* preloadModule */
href,
{
as:
typeof options.as === "string" && options.as !== "script"
? options.as
: undefined,
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined
}
);
} else {
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preloadModule(href);
.m(
/* preloadModule */
href
);
}
} // We don't error because preload needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
@@ -49674,7 +49756,8 @@ if (__DEV__) {
if (as === "style") {
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preinitStyle(
.S(
/* preinitStyle */
href,
typeof options.precedence === "string"
? options.precedence
@@ -49688,13 +49771,17 @@ if (__DEV__) {
} else if (as === "script") {
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preinitScript(href, {
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
});
.X(
/* preinitScript */
href,
{
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
}
);
}
} // We don't error because preinit needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
@@ -49763,20 +49850,29 @@ if (__DEV__) {
);
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preinitModuleScript(href, {
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
});
.M(
/* preinitModuleScript */
href,
{
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string"
? options.nonce
: undefined
}
);
}
} else if (options == null) {
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preinitModuleScript(href);
.M(
/* preinitModuleScript */
href
);
}
} // We don't error because preinit needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
@@ -50334,14 +50430,30 @@ if (__DEV__) {
function noop() {}
var DefaultDispatcher = {
flushSyncWork: noop,
prefetchDNS: noop,
preconnect: noop,
preload: noop,
preloadModule: noop,
preinitScript: noop,
preinitStyle: noop,
preinitModuleScript: noop
f:
/* flushSyncWork */
noop,
D:
/* prefetchDNS */
noop,
C:
/* preconnect */
noop,
L:
/* preload */
noop,
m:
/* preloadModule */
noop,
X:
/* preinitScript */
noop,
S:
/* preinitStyle */
noop,
M:
/* preinitModuleScript */
noop
};
var Internals = {
d:
@@ -1912,14 +1912,30 @@ if (__DEV__) {
function noop$4() {}
var DefaultDispatcher$1 = {
flushSyncWork: noop$4,
prefetchDNS: noop$4,
preconnect: noop$4,
preload: noop$4,
preloadModule: noop$4,
preinitScript: noop$4,
preinitStyle: noop$4,
preinitModuleScript: noop$4
f:
/* flushSyncWork */
noop$4,
D:
/* prefetchDNS */
noop$4,
C:
/* preconnect */
noop$4,
L:
/* preload */
noop$4,
m:
/* preloadModule */
noop$4,
X:
/* preinitScript */
noop$4,
S:
/* preinitStyle */
noop$4,
M:
/* preinitModuleScript */
noop$4
};
var Internals$1 = {
Events: null,
@@ -44670,19 +44686,38 @@ if (__DEV__) {
Internals$1.d =
/* ReactDOMCurrentDispatcher */
{
flushSyncWork: flushSyncWork,
prefetchDNS: prefetchDNS$1,
preconnect: preconnect$1,
preload: preload$1,
preloadModule: preloadModule$1,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f:
/* flushSyncWork */
flushSyncWork,
/* flushSyncWork */
D:
/* prefetchDNS */
prefetchDNS$1,
C:
/* preconnect */
preconnect$1,
L:
/* preload */
preload$1,
m:
/* preloadModule */
preloadModule$1,
X:
/* preinitScript */
preinitScript,
S:
/* preinitStyle */
preinitStyle,
M:
/* preinitModuleScript */
preinitModuleScript
};
function flushSyncWork() {
{
var previousWasRendering = previousDispatcher.flushSyncWork();
var previousWasRendering = previousDispatcher.f();
/* flushSyncWork */
var wasRendering = flushSyncWork$1(); // Since multiple dispatchers can flush sync work during a single flushSync call
// we need to return true if any of them were rendering.
@@ -44732,17 +44767,29 @@ if (__DEV__) {
}
function prefetchDNS$1(href) {
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(
/* prefetchDNS */
href
);
preconnectAs("dns-prefetch", href, null);
}
function preconnect$1(href, crossOrigin) {
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(
/* preconnect */
href,
crossOrigin
);
preconnectAs("preconnect", href, crossOrigin);
}
function preload$1(href, as, options) {
previousDispatcher.preload(href, as, options);
previousDispatcher.L(
/* preload */
href,
as,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href && as) {
@@ -44839,7 +44886,11 @@ if (__DEV__) {
}
function preloadModule$1(href, options) {
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(
/* preloadModule */
href,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href) {
@@ -44905,7 +44956,12 @@ if (__DEV__) {
}
function preinitStyle(href, precedence, options) {
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(
/* preinitStyle */
href,
precedence,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && href) {
@@ -44978,7 +45034,11 @@ if (__DEV__) {
}
function preinitScript(src, options) {
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(
/* preinitScript */
src,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && src) {
@@ -45031,7 +45091,11 @@ if (__DEV__) {
}
function preinitModuleScript(src, options) {
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(
/* preinitModuleScript */
src,
options
);
var ownerDocument = getGlobalDocument();
if (ownerDocument && src) {
@@ -46349,7 +46413,7 @@ if (__DEV__) {
return root;
}
var ReactVersion = "19.0.0-www-modern-a48d0d31";
var ReactVersion = "19.0.0-www-modern-9fe0b367";
function createPortal$1(
children,
@@ -48310,7 +48374,8 @@ if (__DEV__) {
previousUpdatePriority;
var wasInRender = Internals$1.d
/* ReactDOMCurrentDispatcher */
.flushSyncWork();
.f();
/* flushSyncWork */
{
if (wasInRender) {
@@ -48375,7 +48440,10 @@ if (__DEV__) {
if (typeof href === "string") {
Internals$1.d
/* ReactDOMCurrentDispatcher */
.prefetchDNS(href);
.D(
/* prefetchDNS */
href
);
} // We don't error because preconnect needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -48406,7 +48474,11 @@ if (__DEV__) {
: null;
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preconnect(href, crossOrigin);
.C(
/* preconnect */
href,
crossOrigin
);
} // We don't error because preconnect needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -48452,33 +48524,39 @@ if (__DEV__) {
var crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preload(href, as, {
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined,
type: typeof options.type === "string" ? options.type : undefined,
fetchPriority:
typeof options.fetchPriority === "string"
? options.fetchPriority
: undefined,
referrerPolicy:
typeof options.referrerPolicy === "string"
? options.referrerPolicy
: undefined,
imageSrcSet:
typeof options.imageSrcSet === "string"
? options.imageSrcSet
: undefined,
imageSizes:
typeof options.imageSizes === "string"
? options.imageSizes
: undefined,
media: typeof options.media === "string" ? options.media : undefined
});
.L(
/* preload */
href,
as,
{
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined,
type: typeof options.type === "string" ? options.type : undefined,
fetchPriority:
typeof options.fetchPriority === "string"
? options.fetchPriority
: undefined,
referrerPolicy:
typeof options.referrerPolicy === "string"
? options.referrerPolicy
: undefined,
imageSrcSet:
typeof options.imageSrcSet === "string"
? options.imageSrcSet
: undefined,
imageSizes:
typeof options.imageSizes === "string"
? options.imageSizes
: undefined,
media:
typeof options.media === "string" ? options.media : undefined
}
);
} // We don't error because preload needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
// so we favor silent bailout over warning or erroring.
@@ -48526,21 +48604,28 @@ if (__DEV__) {
);
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preloadModule(href, {
as:
typeof options.as === "string" && options.as !== "script"
? options.as
: undefined,
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined
});
.m(
/* preloadModule */
href,
{
as:
typeof options.as === "string" && options.as !== "script"
? options.as
: undefined,
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined
}
);
} else {
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preloadModule(href);
.m(
/* preloadModule */
href
);
}
} // We don't error because preload needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
@@ -48583,7 +48668,8 @@ if (__DEV__) {
if (as === "style") {
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preinitStyle(
.S(
/* preinitStyle */
href,
typeof options.precedence === "string"
? options.precedence
@@ -48597,13 +48683,17 @@ if (__DEV__) {
} else if (as === "script") {
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preinitScript(href, {
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
});
.X(
/* preinitScript */
href,
{
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
}
);
}
} // We don't error because preinit needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
@@ -48672,20 +48762,29 @@ if (__DEV__) {
);
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preinitModuleScript(href, {
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string" ? options.nonce : undefined
});
.M(
/* preinitModuleScript */
href,
{
crossOrigin: crossOrigin,
integrity:
typeof options.integrity === "string"
? options.integrity
: undefined,
nonce:
typeof options.nonce === "string"
? options.nonce
: undefined
}
);
}
} else if (options == null) {
Internals$1.d
/* ReactDOMCurrentDispatcher */
.preinitModuleScript(href);
.M(
/* preinitModuleScript */
href
);
}
} // We don't error because preinit needs to be resilient to being called in a variety of scopes
// and the runtime may not be capable of responding. The function is optimistic and not critical
@@ -48818,14 +48917,30 @@ if (__DEV__) {
function noop() {}
var DefaultDispatcher = {
flushSyncWork: noop,
prefetchDNS: noop,
preconnect: noop,
preload: noop,
preloadModule: noop,
preinitScript: noop,
preinitStyle: noop,
preinitModuleScript: noop
f:
/* flushSyncWork */
noop,
D:
/* prefetchDNS */
noop,
C:
/* preconnect */
noop,
L:
/* preload */
noop,
m:
/* preloadModule */
noop,
X:
/* preinitScript */
noop,
S:
/* preinitStyle */
noop,
M:
/* preinitModuleScript */
noop
};
var Internals = {
d:
@@ -724,14 +724,14 @@ function noop$3() {}
var Internals = {
Events: null,
d: {
flushSyncWork: noop$3,
prefetchDNS: noop$3,
preconnect: noop$3,
preload: noop$3,
preloadModule: noop$3,
preinitScript: noop$3,
preinitStyle: noop$3,
preinitModuleScript: noop$3
f: noop$3,
D: noop$3,
C: noop$3,
L: noop$3,
m: noop$3,
X: noop$3,
S: noop$3,
M: noop$3
},
p: 0,
findDOMNode: null
@@ -12813,7 +12813,7 @@ function injectIntoDevTools(devToolsConfig) {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-classic-38b8cfc1"
reconcilerVersion: "19.0.0-www-classic-e0b31053"
};
if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)
devToolsConfig = !1;
@@ -15879,14 +15879,14 @@ function getHoistableRoot(container) {
}
var previousDispatcher = Internals.d;
Internals.d = {
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS$1,
preconnect: preconnect$1,
preload: preload$1,
preloadModule: preloadModule$1,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f: previousDispatcher.f,
D: prefetchDNS$1,
C: preconnect$1,
L: preload$1,
m: preloadModule$1,
X: preinitScript,
S: preinitStyle,
M: preinitModuleScript
};
var globalDocument = "undefined" === typeof document ? null : document;
function preconnectAs(rel, href, crossOrigin) {
@@ -15909,15 +15909,15 @@ function preconnectAs(rel, href, crossOrigin) {
}
}
function prefetchDNS$1(href) {
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(href);
preconnectAs("dns-prefetch", href, null);
}
function preconnect$1(href, crossOrigin) {
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(href, crossOrigin);
preconnectAs("preconnect", href, crossOrigin);
}
function preload$1(href, as, options) {
previousDispatcher.preload(href, as, options);
previousDispatcher.L(href, as, options);
var ownerDocument = globalDocument;
if (ownerDocument && href && as) {
var preloadSelector =
@@ -15978,7 +15978,7 @@ function preload$1(href, as, options) {
}
}
function preloadModule$1(href, options) {
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(href, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var as = options && "string" === typeof options.as ? options.as : "script",
@@ -16022,7 +16022,7 @@ function preloadModule$1(href, options) {
}
}
function preinitStyle(href, precedence, options) {
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(href, precedence, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var styles = getResourcesFromRoot(ownerDocument).hoistableStyles,
@@ -16071,7 +16071,7 @@ function preinitStyle(href, precedence, options) {
}
}
function preinitScript(src, options) {
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -16097,7 +16097,7 @@ function preinitScript(src, options) {
}
}
function preinitModuleScript(src, options) {
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -17352,7 +17352,7 @@ Internals.Events = [
injectIntoDevTools({
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-classic-38b8cfc1",
version: "19.0.0-www-classic-e0b31053",
rendererPackageName: "react-dom"
});
var ReactFiberErrorDialogWWW = require("ReactFiberErrorDialog");
@@ -17485,7 +17485,7 @@ assign(Internals, {
injectIntoDevTools({
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-classic-38b8cfc1",
version: "19.0.0-www-classic-e0b31053",
rendererPackageName: "react-dom"
});
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
@@ -17777,10 +17777,10 @@ exports.preconnect = function (href, options) {
: ""
: void 0))
: (options = null),
Internals.d.preconnect(href, options));
Internals.d.C(href, options));
};
exports.prefetchDNS = function (href) {
"string" === typeof href && Internals.d.prefetchDNS(href);
"string" === typeof href && Internals.d.D(href);
};
exports.preinit = function (href, options) {
if ("string" === typeof href && options && "string" === typeof options.as) {
@@ -17793,7 +17793,7 @@ exports.preinit = function (href, options) {
? options.fetchPriority
: void 0;
"style" === as
? Internals.d.preinitStyle(
? Internals.d.S(
href,
"string" === typeof options.precedence ? options.precedence : void 0,
{
@@ -17803,7 +17803,7 @@ exports.preinit = function (href, options) {
}
)
: "script" === as &&
Internals.d.preinitScript(href, {
Internals.d.X(href, {
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
@@ -17819,14 +17819,14 @@ exports.preinitModule = function (href, options) {
options.as,
options.crossOrigin
);
Internals.d.preinitModuleScript(href, {
Internals.d.M(href, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
nonce: "string" === typeof options.nonce ? options.nonce : void 0
});
}
} else null == options && Internals.d.preinitModuleScript(href);
} else null == options && Internals.d.M(href);
};
exports.preload = function (href, options) {
if (
@@ -17837,7 +17837,7 @@ exports.preload = function (href, options) {
) {
var as = options.as,
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
Internals.d.preload(href, as, {
Internals.d.L(href, as, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
@@ -17863,7 +17863,7 @@ exports.preloadModule = function (href, options) {
if ("string" === typeof href)
if (options) {
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
Internals.d.preloadModule(href, {
Internals.d.m(href, {
as:
"string" === typeof options.as && "script" !== options.as
? options.as
@@ -17872,7 +17872,7 @@ exports.preloadModule = function (href, options) {
integrity:
"string" === typeof options.integrity ? options.integrity : void 0
});
} else Internals.d.preloadModule(href);
} else Internals.d.m(href);
};
exports.render = function (element, container, callback) {
if (!isValidContainerLegacy(container))
@@ -17955,4 +17955,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactCurrentDispatcher$2.current.useHostTransitionStatus();
};
exports.version = "19.0.0-www-classic-38b8cfc1";
exports.version = "19.0.0-www-classic-e0b31053";
@@ -335,14 +335,14 @@ function noop$3() {}
var Internals = {
Events: null,
d: {
flushSyncWork: noop$3,
prefetchDNS: noop$3,
preconnect: noop$3,
preload: noop$3,
preloadModule: noop$3,
preinitScript: noop$3,
preinitStyle: noop$3,
preinitModuleScript: noop$3
f: noop$3,
D: noop$3,
C: noop$3,
L: noop$3,
m: noop$3,
X: noop$3,
S: noop$3,
M: noop$3
},
p: 0,
findDOMNode: null
@@ -15185,17 +15185,17 @@ function getHoistableRoot(container) {
}
var previousDispatcher = Internals.d;
Internals.d = {
flushSyncWork: flushSyncWork,
prefetchDNS: prefetchDNS$1,
preconnect: preconnect$1,
preload: preload$1,
preloadModule: preloadModule$1,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f: flushSyncWork,
D: prefetchDNS$1,
C: preconnect$1,
L: preload$1,
m: preloadModule$1,
X: preinitScript,
S: preinitStyle,
M: preinitModuleScript
};
function flushSyncWork() {
var previousWasRendering = previousDispatcher.flushSyncWork(),
var previousWasRendering = previousDispatcher.f(),
wasRendering = flushSyncWork$1();
return previousWasRendering || wasRendering;
}
@@ -15220,15 +15220,15 @@ function preconnectAs(rel, href, crossOrigin) {
}
}
function prefetchDNS$1(href) {
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(href);
preconnectAs("dns-prefetch", href, null);
}
function preconnect$1(href, crossOrigin) {
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(href, crossOrigin);
preconnectAs("preconnect", href, crossOrigin);
}
function preload$1(href, as, options) {
previousDispatcher.preload(href, as, options);
previousDispatcher.L(href, as, options);
var ownerDocument = globalDocument;
if (ownerDocument && href && as) {
var preloadSelector =
@@ -15289,7 +15289,7 @@ function preload$1(href, as, options) {
}
}
function preloadModule$1(href, options) {
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(href, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var as = options && "string" === typeof options.as ? options.as : "script",
@@ -15333,7 +15333,7 @@ function preloadModule$1(href, options) {
}
}
function preinitStyle(href, precedence, options) {
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(href, precedence, options);
var ownerDocument = globalDocument;
if (ownerDocument && href) {
var styles = getResourcesFromRoot(ownerDocument).hoistableStyles,
@@ -15382,7 +15382,7 @@ function preinitStyle(href, precedence, options) {
}
}
function preinitScript(src, options) {
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -15408,7 +15408,7 @@ function preinitScript(src, options) {
}
}
function preinitModuleScript(src, options) {
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(src, options);
var ownerDocument = globalDocument;
if (ownerDocument && src) {
var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,
@@ -16074,7 +16074,7 @@ function injectIntoDevTools(devToolsConfig) {
scheduleRoot: null,
setRefreshHandler: null,
getCurrentFiber: null,
reconcilerVersion: "19.0.0-www-modern-014c1b8c"
reconcilerVersion: "19.0.0-www-modern-c7d8d92e"
};
if ("undefined" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__)
devToolsConfig = !1;
@@ -16776,7 +16776,7 @@ Internals.Events = [
injectIntoDevTools({
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-modern-014c1b8c",
version: "19.0.0-www-modern-c7d8d92e",
rendererPackageName: "react-dom"
});
if ("function" !== typeof require("ReactFiberErrorDialog").showErrorDialog)
@@ -16784,7 +16784,7 @@ if ("function" !== typeof require("ReactFiberErrorDialog").showErrorDialog)
injectIntoDevTools({
findFiberByHostInstance: getClosestInstanceFromNode,
bundleType: 0,
version: "19.0.0-www-modern-014c1b8c",
version: "19.0.0-www-modern-c7d8d92e",
rendererPackageName: "react-dom"
});
exports.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED = Internals;
@@ -16928,7 +16928,7 @@ exports.flushSync = function (fn) {
} finally {
(ReactCurrentBatchConfig.transition = previousTransition),
(Internals.p = previousUpdatePriority),
Internals.d.flushSyncWork();
Internals.d.f();
}
};
exports.focusWithin = function (hostRoot, selectors) {
@@ -17065,10 +17065,10 @@ exports.preconnect = function (href, options) {
: ""
: void 0))
: (options = null),
Internals.d.preconnect(href, options));
Internals.d.C(href, options));
};
exports.prefetchDNS = function (href) {
"string" === typeof href && Internals.d.prefetchDNS(href);
"string" === typeof href && Internals.d.D(href);
};
exports.preinit = function (href, options) {
if ("string" === typeof href && options && "string" === typeof options.as) {
@@ -17081,7 +17081,7 @@ exports.preinit = function (href, options) {
? options.fetchPriority
: void 0;
"style" === as
? Internals.d.preinitStyle(
? Internals.d.S(
href,
"string" === typeof options.precedence ? options.precedence : void 0,
{
@@ -17091,7 +17091,7 @@ exports.preinit = function (href, options) {
}
)
: "script" === as &&
Internals.d.preinitScript(href, {
Internals.d.X(href, {
crossOrigin: crossOrigin,
integrity: integrity,
fetchPriority: fetchPriority,
@@ -17107,14 +17107,14 @@ exports.preinitModule = function (href, options) {
options.as,
options.crossOrigin
);
Internals.d.preinitModuleScript(href, {
Internals.d.M(href, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
nonce: "string" === typeof options.nonce ? options.nonce : void 0
});
}
} else null == options && Internals.d.preinitModuleScript(href);
} else null == options && Internals.d.M(href);
};
exports.preload = function (href, options) {
if (
@@ -17125,7 +17125,7 @@ exports.preload = function (href, options) {
) {
var as = options.as,
crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);
Internals.d.preload(href, as, {
Internals.d.L(href, as, {
crossOrigin: crossOrigin,
integrity:
"string" === typeof options.integrity ? options.integrity : void 0,
@@ -17151,7 +17151,7 @@ exports.preloadModule = function (href, options) {
if ("string" === typeof href)
if (options) {
var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);
Internals.d.preloadModule(href, {
Internals.d.m(href, {
as:
"string" === typeof options.as && "script" !== options.as
? options.as
@@ -17160,7 +17160,7 @@ exports.preloadModule = function (href, options) {
integrity:
"string" === typeof options.integrity ? options.integrity : void 0
});
} else Internals.d.preloadModule(href);
} else Internals.d.m(href);
};
exports.unstable_batchedUpdates = unstable_batchedUpdates;
exports.unstable_createEventHandle = function (type, options) {
@@ -17202,4 +17202,4 @@ exports.useFormState = function (action, initialState, permalink) {
exports.useFormStatus = function () {
return ReactCurrentDispatcher$2.current.useHostTransitionStatus();
};
exports.version = "19.0.0-www-modern-014c1b8c";
exports.version = "19.0.0-www-modern-c7d8d92e";
@@ -89,7 +89,10 @@ if (__DEV__) {
case "D": {
var refined = refineModel(code, model);
var href = refined;
dispatcher.prefetchDNS(href);
dispatcher.D(
/* prefetchDNS */
href
);
return;
}
@@ -98,11 +101,18 @@ if (__DEV__) {
if (typeof _refined === "string") {
var _href = _refined;
dispatcher.preconnect(_href);
dispatcher.C(
/* preconnect */
_href
);
} else {
var _href2 = _refined[0];
var crossOrigin = _refined[1];
dispatcher.preconnect(_href2, crossOrigin);
dispatcher.C(
/* preconnect */
_href2,
crossOrigin
);
}
return;
@@ -116,9 +126,18 @@ if (__DEV__) {
if (_refined2.length === 3) {
var options = _refined2[2];
dispatcher.preload(_href3, as, options);
dispatcher.L(
/* preload */
_href3,
as,
options
);
} else {
dispatcher.preload(_href3, as);
dispatcher.L(
/* preload */
_href3,
as
);
}
return;
@@ -129,44 +148,66 @@ if (__DEV__) {
if (typeof _refined3 === "string") {
var _href4 = _refined3;
dispatcher.preloadModule(_href4);
dispatcher.m(
/* preloadModule */
_href4
);
} else {
var _href5 = _refined3[0];
var _options = _refined3[1];
dispatcher.preloadModule(_href5, _options);
}
return;
}
case "S": {
var _refined4 = refineModel(code, model);
if (typeof _refined4 === "string") {
var _href6 = _refined4;
dispatcher.preinitStyle(_href6);
} else {
var _href7 = _refined4[0];
var precedence = _refined4[1] === 0 ? undefined : _refined4[1];
var _options2 = _refined4.length === 3 ? _refined4[2] : undefined;
dispatcher.preinitStyle(_href7, precedence, _options2);
dispatcher.m(
/* preloadModule */
_href5,
_options
);
}
return;
}
case "X": {
var _refined4 = refineModel(code, model);
if (typeof _refined4 === "string") {
var _href6 = _refined4;
dispatcher.X(
/* preinitScript */
_href6
);
} else {
var _href7 = _refined4[0];
var _options2 = _refined4[1];
dispatcher.X(
/* preinitScript */
_href7,
_options2
);
}
return;
}
case "S": {
var _refined5 = refineModel(code, model);
if (typeof _refined5 === "string") {
var _href8 = _refined5;
dispatcher.preinitScript(_href8);
dispatcher.S(
/* preinitStyle */
_href8
);
} else {
var _href9 = _refined5[0];
var _options3 = _refined5[1];
dispatcher.preinitScript(_href9, _options3);
var precedence = _refined5[1] === 0 ? undefined : _refined5[1];
var _options3 = _refined5.length === 3 ? _refined5[2] : undefined;
dispatcher.S(
/* preinitStyle */
_href9,
precedence,
_options3
);
}
return;
@@ -177,11 +218,18 @@ if (__DEV__) {
if (typeof _refined6 === "string") {
var _href10 = _refined6;
dispatcher.preinitModuleScript(_href10);
dispatcher.M(
/* preinitModuleScript */
_href10
);
} else {
var _href11 = _refined6[0];
var _options4 = _refined6[1];
dispatcher.preinitModuleScript(_href11, _options4);
dispatcher.M(
/* preinitModuleScript */
_href11,
_options4
);
}
return;
@@ -477,43 +477,43 @@ function startReadingFromStream(response, stream) {
rowTag = ReactDOMSharedInternals.d;
switch (rowID) {
case "D":
rowTag.prefetchDNS(rowLength);
rowTag.D(rowLength);
break;
case "C":
"string" === typeof rowLength
? rowTag.preconnect(rowLength)
: rowTag.preconnect(rowLength[0], rowLength[1]);
? rowTag.C(rowLength)
: rowTag.C(rowLength[0], rowLength[1]);
break;
case "L":
rowID = rowLength[0];
i = rowLength[1];
3 === rowLength.length
? rowTag.preload(rowID, i, rowLength[2])
: rowTag.preload(rowID, i);
? rowTag.L(rowID, i, rowLength[2])
: rowTag.L(rowID, i);
break;
case "m":
"string" === typeof rowLength
? rowTag.preloadModule(rowLength)
: rowTag.preloadModule(rowLength[0], rowLength[1]);
? rowTag.m(rowLength)
: rowTag.m(rowLength[0], rowLength[1]);
break;
case "X":
"string" === typeof rowLength
? rowTag.X(rowLength)
: rowTag.X(rowLength[0], rowLength[1]);
break;
case "S":
"string" === typeof rowLength
? rowTag.preinitStyle(rowLength)
: rowTag.preinitStyle(
? rowTag.S(rowLength)
: rowTag.S(
rowLength[0],
0 === rowLength[1] ? void 0 : rowLength[1],
3 === rowLength.length ? rowLength[2] : void 0
);
break;
case "X":
"string" === typeof rowLength
? rowTag.preinitScript(rowLength)
: rowTag.preinitScript(rowLength[0], rowLength[1]);
break;
case "M":
"string" === typeof rowLength
? rowTag.preinitModuleScript(rowLength)
: rowTag.preinitModuleScript(rowLength[0], rowLength[1]);
? rowTag.M(rowLength)
: rowTag.M(rowLength[0], rowLength[1]);
}
break;
case 69:
@@ -166,14 +166,31 @@ if (__DEV__) {
ReactDOMSharedInternals.d =
/* ReactDOMCurrentDispatcher */
{
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS,
preconnect: preconnect,
preload: preload,
preloadModule: preloadModule,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f:
/* flushSyncWork */
previousDispatcher.f,
/* flushSyncWork */
D:
/* prefetchDNS */
prefetchDNS,
C:
/* preconnect */
preconnect,
L:
/* preload */
preload,
m:
/* preloadModule */
preloadModule,
X:
/* preinitScript */
preinitScript,
S:
/* preinitStyle */
preinitStyle,
M:
/* preinitModuleScript */
preinitModuleScript
};
function prefetchDNS(href) {
@@ -192,7 +209,10 @@ if (__DEV__) {
hints.add(key);
emitHint(request, "D", href);
} else {
previousDispatcher.prefetchDNS(href);
previousDispatcher.D(
/* prefetchDNS */
href
);
}
}
}
@@ -219,7 +239,11 @@ if (__DEV__) {
emitHint(request, "C", href);
}
} else {
previousDispatcher.preconnect(href, crossOrigin);
previousDispatcher.C(
/* preconnect */
href,
crossOrigin
);
}
}
}
@@ -256,7 +280,12 @@ if (__DEV__) {
emitHint(request, "L", [href, as]);
}
} else {
previousDispatcher.preload(href, as, options);
previousDispatcher.L(
/* preload */
href,
as,
options
);
}
}
}
@@ -283,7 +312,11 @@ if (__DEV__) {
return emitHint(request, "m", href);
}
} else {
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(
/* preloadModule */
href,
options
);
}
}
}
@@ -316,7 +349,12 @@ if (__DEV__) {
return emitHint(request, "S", href);
}
} else {
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(
/* preinitStyle */
href,
precedence,
options
);
}
}
}
@@ -343,7 +381,11 @@ if (__DEV__) {
return emitHint(request, "X", src);
}
} else {
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(
/* preinitScript */
src,
options
);
}
}
}
@@ -370,7 +412,11 @@ if (__DEV__) {
return emitHint(request, "M", src);
}
} else {
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(
/* preinitModuleScript */
src,
options
);
}
}
} // Flight normally encodes undefined as a special character however for directive option
@@ -30,14 +30,14 @@ var ReactDOMSharedInternals =
ReactDOM.__SECRET_INTERNALS_DO_NOT_USE_OR_YOU_WILL_BE_FIRED,
previousDispatcher = ReactDOMSharedInternals.d;
ReactDOMSharedInternals.d = {
flushSyncWork: previousDispatcher.flushSyncWork,
prefetchDNS: prefetchDNS,
preconnect: preconnect,
preload: preload,
preloadModule: preloadModule,
preinitStyle: preinitStyle,
preinitScript: preinitScript,
preinitModuleScript: preinitModuleScript
f: previousDispatcher.f,
D: prefetchDNS,
C: preconnect,
L: preload,
m: preloadModule,
X: preinitScript,
S: preinitStyle,
M: preinitModuleScript
};
function prefetchDNS(href) {
if ("string" === typeof href && href) {
@@ -46,7 +46,7 @@ function prefetchDNS(href) {
var hints = request.hints,
key = "D|" + href;
hints.has(key) || (hints.add(key), emitHint(request, "D", href));
} else previousDispatcher.prefetchDNS(href);
} else previousDispatcher.D(href);
}
}
function preconnect(href, crossOrigin) {
@@ -60,7 +60,7 @@ function preconnect(href, crossOrigin) {
"string" === typeof crossOrigin
? emitHint(request, "C", [href, crossOrigin])
: emitHint(request, "C", href));
} else previousDispatcher.preconnect(href, crossOrigin);
} else previousDispatcher.C(href, crossOrigin);
}
}
function preload(href, as, options) {
@@ -85,7 +85,7 @@ function preload(href, as, options) {
(options = trimOptions(options))
? emitHint(request, "L", [href, as, options])
: emitHint(request, "L", [href, as]));
} else previousDispatcher.preload(href, as, options);
} else previousDispatcher.L(href, as, options);
}
}
function preloadModule(href, options) {
@@ -100,7 +100,7 @@ function preloadModule(href, options) {
? emitHint(request, "m", [href, options])
: emitHint(request, "m", href);
}
previousDispatcher.preloadModule(href, options);
previousDispatcher.m(href, options);
}
}
function preinitStyle(href, precedence, options) {
@@ -121,7 +121,7 @@ function preinitStyle(href, precedence, options) {
? emitHint(request, "S", [href, precedence])
: emitHint(request, "S", href);
}
previousDispatcher.preinitStyle(href, precedence, options);
previousDispatcher.S(href, precedence, options);
}
}
function preinitScript(src, options) {
@@ -136,7 +136,7 @@ function preinitScript(src, options) {
? emitHint(request, "X", [src, options])
: emitHint(request, "X", src);
}
previousDispatcher.preinitScript(src, options);
previousDispatcher.X(src, options);
}
}
function preinitModuleScript(src, options) {
@@ -151,7 +151,7 @@ function preinitModuleScript(src, options) {
? emitHint(request, "M", [src, options])
: emitHint(request, "M", src);
}
previousDispatcher.preinitModuleScript(src, options);
previousDispatcher.M(src, options);
}
}
function trimOptions(options) {