diff --git a/examples/reproduction-template/package.json b/examples/reproduction-template/package.json index 41e8c157b9f25..b6cb427956f4a 100644 --- a/examples/reproduction-template/package.json +++ b/examples/reproduction-template/package.json @@ -7,8 +7,8 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-5dcb0097-20240918", - "react-dom": "19.0.0-rc-5dcb0097-20240918" + "react": "19.0.0-rc-e740d4b1-20240919", + "react-dom": "19.0.0-rc-e740d4b1-20240919" }, "devDependencies": { "@types/node": "20.12.12", diff --git a/package.json b/package.json index 47e35f383e95e..015c55aecf06c 100644 --- a/package.json +++ b/package.json @@ -206,19 +206,19 @@ "pretty-bytes": "5.3.0", "pretty-ms": "7.0.0", "random-seed": "0.3.0", - "react": "19.0.0-rc-5dcb0097-20240918", + "react": "19.0.0-rc-e740d4b1-20240919", "react-17": "npm:react@17.0.2", - "react-builtin": "npm:react@19.0.0-rc-5dcb0097-20240918", - "react-dom": "19.0.0-rc-5dcb0097-20240918", + "react-builtin": "npm:react@19.0.0-rc-e740d4b1-20240919", + "react-dom": "19.0.0-rc-e740d4b1-20240919", "react-dom-17": "npm:react-dom@17.0.2", - "react-dom-builtin": "npm:react-dom@19.0.0-rc-5dcb0097-20240918", - "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-5dcb0097-20240918", - "react-experimental-builtin": "npm:react@0.0.0-experimental-5dcb0097-20240918", - "react-is-builtin": "npm:react-is@19.0.0-rc-5dcb0097-20240918", - "react-server-dom-turbopack": "19.0.0-rc-5dcb0097-20240918", - "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-5dcb0097-20240918", - "react-server-dom-webpack": "19.0.0-rc-5dcb0097-20240918", - "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-5dcb0097-20240918", + "react-dom-builtin": "npm:react-dom@19.0.0-rc-e740d4b1-20240919", + "react-dom-experimental-builtin": "npm:react-dom@0.0.0-experimental-e740d4b1-20240919", + "react-experimental-builtin": "npm:react@0.0.0-experimental-e740d4b1-20240919", + "react-is-builtin": "npm:react-is@19.0.0-rc-e740d4b1-20240919", + "react-server-dom-turbopack": "19.0.0-rc-e740d4b1-20240919", + "react-server-dom-turbopack-experimental": "npm:react-server-dom-turbopack@0.0.0-experimental-e740d4b1-20240919", + "react-server-dom-webpack": "19.0.0-rc-e740d4b1-20240919", + "react-server-dom-webpack-experimental": "npm:react-server-dom-webpack@0.0.0-experimental-e740d4b1-20240919", "react-ssr-prepass": "1.0.8", "react-virtualized": "9.22.3", "relay-compiler": "13.0.2", @@ -228,8 +228,8 @@ "resolve-from": "5.0.0", "sass": "1.54.0", "satori": "0.10.9", - "scheduler-builtin": "npm:scheduler@0.25.0-rc-5dcb0097-20240918", - "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-5dcb0097-20240918", + "scheduler-builtin": "npm:scheduler@0.25.0-rc-e740d4b1-20240919", + "scheduler-experimental-builtin": "npm:scheduler@0.0.0-experimental-e740d4b1-20240919", "seedrandom": "3.0.5", "semver": "7.3.7", "shell-quote": "1.7.3", @@ -269,10 +269,10 @@ "@babel/traverse": "7.22.5", "@types/react": "npm:types-react@19.0.0-rc.0", "@types/react-dom": "npm:types-react-dom@19.0.0-rc.0", - "react": "19.0.0-rc-5dcb0097-20240918", - "react-dom": "19.0.0-rc-5dcb0097-20240918", - "react-is": "19.0.0-rc-5dcb0097-20240918", - "scheduler": "0.25.0-rc-5dcb0097-20240918" + "react": "19.0.0-rc-e740d4b1-20240919", + "react-dom": "19.0.0-rc-e740d4b1-20240919", + "react-is": "19.0.0-rc-e740d4b1-20240919", + "scheduler": "0.25.0-rc-e740d4b1-20240919" }, "patchedDependencies": { "webpack-sources@3.2.3": "patches/webpack-sources@3.2.3.patch" diff --git a/packages/create-next-app/templates/index.ts b/packages/create-next-app/templates/index.ts index acdccf06e5e6a..d9753a2157010 100644 --- a/packages/create-next-app/templates/index.ts +++ b/packages/create-next-app/templates/index.ts @@ -13,7 +13,7 @@ import { GetTemplateFileArgs, InstallTemplateArgs } from "./types"; // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-5dcb0097-20240918"; +const nextjsReactPeerVersion = "19.0.0-rc-e740d4b1-20240919"; /** * Get the file path for a given file in a template, e.g. "next.config.js". diff --git a/packages/next/package.json b/packages/next/package.json index 6a2e3184fdfa7..d39036e47451c 100644 --- a/packages/next/package.json +++ b/packages/next/package.json @@ -107,8 +107,8 @@ "@opentelemetry/api": "^1.1.0", "@playwright/test": "^1.41.2", "babel-plugin-react-compiler": "*", - "react": "19.0.0-rc-5dcb0097-20240918", - "react-dom": "19.0.0-rc-5dcb0097-20240918", + "react": "19.0.0-rc-e740d4b1-20240919", + "react-dom": "19.0.0-rc-e740d4b1-20240919", "sass": "^1.3.0" }, "peerDependenciesMeta": { diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js index 5d051bfeefc5d..9adeffadf740e 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.development.js @@ -352,16 +352,16 @@ } else { try { Fake.call(); - } catch (x$1) { - control = x$1; + } catch (x$0) { + control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); - } catch (x$2) { - control = x$2; + } catch (x$1) { + control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && @@ -3565,43 +3565,28 @@ : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmpm1540785874$1, $jscomp$nullish$tmp0; containerInfo = - null != - ($jscomp$nullish$tmp0 = - null == containerInfo - ? void 0 - : null == - ($jscomp$optchain$tmpm1540785874$1 = - containerInfo.ownerDocument) - ? void 0 - : $jscomp$optchain$tmpm1540785874$1.defaultView) - ? $jscomp$nullish$tmp0 + null != containerInfo && + null != containerInfo.ownerDocument && + null != containerInfo.ownerDocument.defaultView + ? containerInfo.ownerDocument.defaultView : window; for ( - $jscomp$optchain$tmpm1540785874$1 = getActiveElement( - containerInfo.document - ); - $jscomp$optchain$tmpm1540785874$1 instanceof - containerInfo.HTMLIFrameElement; + var element = getActiveElement(containerInfo.document); + element instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = - "string" === - typeof $jscomp$optchain$tmpm1540785874$1.contentWindow.location - .href; + "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } - if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmpm1540785874$1.contentWindow; + if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; - $jscomp$optchain$tmpm1540785874$1 = getActiveElement( - containerInfo.document - ); + element = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmpm1540785874$1; + return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -6619,8 +6604,8 @@ try { (currentTransition = action(prevState, payload)), handleActionReturnValue(actionQueue, node, currentTransition); - } catch (error$4) { - onActionError(actionQueue, node, error$4); + } catch (error$3) { + onActionError(actionQueue, node, error$3); } } function handleActionReturnValue(actionQueue, node, returnValue) { @@ -7602,9 +7587,9 @@ var onUncaughtError = root.onUncaughtError; onUncaughtError(error, { componentStack: errorInfo.stack }); } - } catch (e$5) { + } catch (e$4) { setTimeout(function () { - throw e$5; + throw e$4; }); } } @@ -7619,9 +7604,9 @@ componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); - } catch (e$6) { + } catch (e$5) { setTimeout(function () { - throw e$6; + throw e$5; }); } } @@ -8829,33 +8814,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2239; - var JSCompiler_object_inline_stack_2238 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2238; + var JSCompiler_object_inline_stack_2237 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2236 = !1; + var JSCompiler_object_inline_message_2235 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2239 = didSuspend) || - (JSCompiler_object_inline_componentStack_2239 = + (JSCompiler_object_inline_componentStack_2238 = didSuspend) || + (JSCompiler_object_inline_componentStack_2238 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2239 && - ((JSCompiler_object_inline_message_2236 = !0), + JSCompiler_object_inline_componentStack_2238 && + ((JSCompiler_object_inline_message_2235 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2239 = + JSCompiler_object_inline_componentStack_2238 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2236 + JSCompiler_object_inline_message_2235 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2237 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2236 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2237)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2236)) { c: { - var instance = JSCompiler_object_inline_digest_2237; + var instance = JSCompiler_object_inline_digest_2236; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8896,19 +8881,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2237 + JSCompiler_object_inline_digest_2236 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2237 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2236 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2237 && - ((JSCompiler_object_inline_digest_2237 = - JSCompiler_object_inline_digest_2237.dehydrated), - null !== JSCompiler_object_inline_digest_2237) + null !== JSCompiler_object_inline_digest_2236 && + ((JSCompiler_object_inline_digest_2236 = + JSCompiler_object_inline_digest_2236.dehydrated), + null !== JSCompiler_object_inline_digest_2236) ) return ( - JSCompiler_object_inline_digest_2237.data === + JSCompiler_object_inline_digest_2236.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8916,68 +8901,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2237 = - JSCompiler_object_inline_stack_2238.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2238.fallback; - if (JSCompiler_object_inline_message_2236) + JSCompiler_object_inline_digest_2236 = + JSCompiler_object_inline_stack_2237.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2237.fallback; + if (JSCompiler_object_inline_message_2235) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2238 = + (JSCompiler_object_inline_stack_2237 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2237, + JSCompiler_object_inline_digest_2236, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2236 = workInProgress.child), - (JSCompiler_object_inline_message_2236.memoizedState = + (JSCompiler_object_inline_message_2235 = workInProgress.child), + (JSCompiler_object_inline_message_2235.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2236.childLanes = + (JSCompiler_object_inline_message_2235.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2239, + JSCompiler_object_inline_componentStack_2238, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2238 + JSCompiler_object_inline_stack_2237 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2238.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2237.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2238 = + (JSCompiler_object_inline_stack_2237 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2237, + JSCompiler_object_inline_digest_2236, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2236 = workInProgress.child), - (JSCompiler_object_inline_message_2236.memoizedState = + (JSCompiler_object_inline_message_2235 = workInProgress.child), + (JSCompiler_object_inline_message_2235.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2236.childLanes = + (JSCompiler_object_inline_message_2235.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2239, + JSCompiler_object_inline_componentStack_2238, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2238 + JSCompiler_object_inline_stack_2237 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2237 + JSCompiler_object_inline_digest_2236 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2237 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2237) + ((JSCompiler_object_inline_digest_2236 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2236) ) { if (didSuspend) workInProgress.flags & 256 @@ -8994,94 +8979,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2236 = - JSCompiler_object_inline_stack_2238.fallback), - (JSCompiler_object_inline_digest_2237 = workInProgress.mode), - (JSCompiler_object_inline_stack_2238 = + (JSCompiler_object_inline_message_2235 = + JSCompiler_object_inline_stack_2237.fallback), + (JSCompiler_object_inline_digest_2236 = workInProgress.mode), + (JSCompiler_object_inline_stack_2237 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2238.children + children: JSCompiler_object_inline_stack_2237.children }, - JSCompiler_object_inline_digest_2237 + JSCompiler_object_inline_digest_2236 )), - (JSCompiler_object_inline_message_2236 = + (JSCompiler_object_inline_message_2235 = createFiberFromFragment( - JSCompiler_object_inline_message_2236, - JSCompiler_object_inline_digest_2237, + JSCompiler_object_inline_message_2235, + JSCompiler_object_inline_digest_2236, renderLanes, null )), - (JSCompiler_object_inline_message_2236.flags |= 2), - (JSCompiler_object_inline_stack_2238.return = workInProgress), - (JSCompiler_object_inline_message_2236.return = workInProgress), - (JSCompiler_object_inline_stack_2238.sibling = - JSCompiler_object_inline_message_2236), - (workInProgress.child = JSCompiler_object_inline_stack_2238), + (JSCompiler_object_inline_message_2235.flags |= 2), + (JSCompiler_object_inline_stack_2237.return = workInProgress), + (JSCompiler_object_inline_message_2235.return = workInProgress), + (JSCompiler_object_inline_stack_2237.sibling = + JSCompiler_object_inline_message_2235), + (workInProgress.child = JSCompiler_object_inline_stack_2237), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2238 = workInProgress.child), - (JSCompiler_object_inline_stack_2238.memoizedState = + (JSCompiler_object_inline_stack_2237 = workInProgress.child), + (JSCompiler_object_inline_stack_2237.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2238.childLanes = + (JSCompiler_object_inline_stack_2237.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2239, + JSCompiler_object_inline_componentStack_2238, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2236)); + (workInProgress = JSCompiler_object_inline_message_2235)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2237.data === + JSCompiler_object_inline_digest_2236.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2239 = - JSCompiler_object_inline_digest_2237.nextSibling && - JSCompiler_object_inline_digest_2237.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2239) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2239.dgst; - var message = JSCompiler_object_inline_componentStack_2239.msg; - instance = JSCompiler_object_inline_componentStack_2239.stck; + JSCompiler_object_inline_componentStack_2238 = + JSCompiler_object_inline_digest_2236.nextSibling && + JSCompiler_object_inline_digest_2236.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2238) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2238.dgst; + var message = JSCompiler_object_inline_componentStack_2238.msg; + instance = JSCompiler_object_inline_componentStack_2238.stck; var componentStack = - JSCompiler_object_inline_componentStack_2239.cstck; + JSCompiler_object_inline_componentStack_2238.cstck; } - JSCompiler_object_inline_message_2236 = message; - JSCompiler_object_inline_digest_2237 = JSCompiler_temp; - JSCompiler_object_inline_stack_2238 = instance; - JSCompiler_object_inline_componentStack_2239 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2237 && - ((JSCompiler_object_inline_message_2236 = - JSCompiler_object_inline_message_2236 - ? Error(JSCompiler_object_inline_message_2236) + JSCompiler_object_inline_message_2235 = message; + JSCompiler_object_inline_digest_2236 = JSCompiler_temp; + JSCompiler_object_inline_stack_2237 = instance; + JSCompiler_object_inline_componentStack_2238 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2236 && + ((JSCompiler_object_inline_message_2235 = + JSCompiler_object_inline_message_2235 + ? Error(JSCompiler_object_inline_message_2235) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2236.stack = - JSCompiler_object_inline_stack_2238 || ""), - (JSCompiler_object_inline_message_2236.digest = - JSCompiler_object_inline_digest_2237), - (JSCompiler_object_inline_componentStack_2239 = - void 0 === JSCompiler_object_inline_componentStack_2239 + (JSCompiler_object_inline_message_2235.stack = + JSCompiler_object_inline_stack_2237 || ""), + (JSCompiler_object_inline_message_2235.digest = + JSCompiler_object_inline_digest_2236), + (JSCompiler_object_inline_componentStack_2238 = + void 0 === JSCompiler_object_inline_componentStack_2238 ? null - : JSCompiler_object_inline_componentStack_2239), - "string" === typeof JSCompiler_object_inline_componentStack_2239 && + : JSCompiler_object_inline_componentStack_2238), + "string" === typeof JSCompiler_object_inline_componentStack_2238 && CapturedStacks.set( - JSCompiler_object_inline_message_2236, - JSCompiler_object_inline_componentStack_2239 + JSCompiler_object_inline_message_2235, + JSCompiler_object_inline_componentStack_2238 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2236, + value: JSCompiler_object_inline_message_2235, source: null, - stack: JSCompiler_object_inline_componentStack_2239 + stack: JSCompiler_object_inline_componentStack_2238 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9096,25 +9081,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2239 = + (JSCompiler_object_inline_componentStack_2238 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2239) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2238) ) { - JSCompiler_object_inline_componentStack_2239 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2239) { - JSCompiler_object_inline_stack_2238 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2238 & 42)) - JSCompiler_object_inline_stack_2238 = 1; + JSCompiler_object_inline_componentStack_2238 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2238) { + JSCompiler_object_inline_stack_2237 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2237 & 42)) + JSCompiler_object_inline_stack_2237 = 1; else - switch (JSCompiler_object_inline_stack_2238) { + switch (JSCompiler_object_inline_stack_2237) { case 2: - JSCompiler_object_inline_stack_2238 = 1; + JSCompiler_object_inline_stack_2237 = 1; break; case 8: - JSCompiler_object_inline_stack_2238 = 4; + JSCompiler_object_inline_stack_2237 = 4; break; case 32: - JSCompiler_object_inline_stack_2238 = 16; + JSCompiler_object_inline_stack_2237 = 16; break; case 128: case 256: @@ -9135,40 +9120,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2238 = 64; + JSCompiler_object_inline_stack_2237 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2238 = 134217728; + JSCompiler_object_inline_stack_2237 = 134217728; break; default: - JSCompiler_object_inline_stack_2238 = 0; + JSCompiler_object_inline_stack_2237 = 0; } - JSCompiler_object_inline_stack_2238 = + JSCompiler_object_inline_stack_2237 = 0 !== - (JSCompiler_object_inline_stack_2238 & - (JSCompiler_object_inline_componentStack_2239.suspendedLanes | + (JSCompiler_object_inline_stack_2237 & + (JSCompiler_object_inline_componentStack_2238.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2238; + : JSCompiler_object_inline_stack_2237; if ( - 0 !== JSCompiler_object_inline_stack_2238 && - JSCompiler_object_inline_stack_2238 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2237 && + JSCompiler_object_inline_stack_2237 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2238), + ((prevState.retryLane = JSCompiler_object_inline_stack_2237), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2238 + JSCompiler_object_inline_stack_2237 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2239, + JSCompiler_object_inline_componentStack_2238, current, - JSCompiler_object_inline_stack_2238 + JSCompiler_object_inline_stack_2237 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2237.data === + JSCompiler_object_inline_digest_2236.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9176,7 +9161,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2237.data === + JSCompiler_object_inline_digest_2236.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9184,12 +9169,12 @@ null, current )), - (JSCompiler_object_inline_digest_2237._reactRetry = + (JSCompiler_object_inline_digest_2236._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2237.nextSibling + JSCompiler_object_inline_digest_2236.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9207,54 +9192,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2238.children + JSCompiler_object_inline_stack_2237.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2236) + if (JSCompiler_object_inline_message_2235) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2236 = - JSCompiler_object_inline_stack_2238.fallback), - (JSCompiler_object_inline_digest_2237 = workInProgress.mode), + (JSCompiler_object_inline_message_2235 = + JSCompiler_object_inline_stack_2237.fallback), + (JSCompiler_object_inline_digest_2236 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2238 = createWorkInProgress( + (JSCompiler_object_inline_stack_2237 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2238.children + children: JSCompiler_object_inline_stack_2237.children } )), - (JSCompiler_object_inline_stack_2238.subtreeFlags = + (JSCompiler_object_inline_stack_2237.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2236 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2235 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2236 + JSCompiler_object_inline_message_2235 )) - : ((JSCompiler_object_inline_message_2236 = createFiberFromFragment( - JSCompiler_object_inline_message_2236, - JSCompiler_object_inline_digest_2237, + : ((JSCompiler_object_inline_message_2235 = createFiberFromFragment( + JSCompiler_object_inline_message_2235, + JSCompiler_object_inline_digest_2236, renderLanes, null )), - (JSCompiler_object_inline_message_2236.flags |= 2)), - (JSCompiler_object_inline_message_2236.return = workInProgress), - (JSCompiler_object_inline_stack_2238.return = workInProgress), - (JSCompiler_object_inline_stack_2238.sibling = - JSCompiler_object_inline_message_2236), - (workInProgress.child = JSCompiler_object_inline_stack_2238), - (JSCompiler_object_inline_stack_2238 = - JSCompiler_object_inline_message_2236), - (JSCompiler_object_inline_message_2236 = workInProgress.child), - (JSCompiler_object_inline_digest_2237 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2237 - ? (JSCompiler_object_inline_digest_2237 = + (JSCompiler_object_inline_message_2235.flags |= 2)), + (JSCompiler_object_inline_message_2235.return = workInProgress), + (JSCompiler_object_inline_stack_2237.return = workInProgress), + (JSCompiler_object_inline_stack_2237.sibling = + JSCompiler_object_inline_message_2235), + (workInProgress.child = JSCompiler_object_inline_stack_2237), + (JSCompiler_object_inline_stack_2237 = + JSCompiler_object_inline_message_2235), + (JSCompiler_object_inline_message_2235 = workInProgress.child), + (JSCompiler_object_inline_digest_2236 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2236 + ? (JSCompiler_object_inline_digest_2236 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2237.cachePool), + JSCompiler_object_inline_digest_2236.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9262,38 +9247,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2237 = { + (JSCompiler_object_inline_digest_2236 = { baseLanes: - JSCompiler_object_inline_digest_2237.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2236.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2236.memoizedState = - JSCompiler_object_inline_digest_2237), - (JSCompiler_object_inline_message_2236.childLanes = + (JSCompiler_object_inline_message_2235.memoizedState = + JSCompiler_object_inline_digest_2236), + (JSCompiler_object_inline_message_2235.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2239, + JSCompiler_object_inline_componentStack_2238, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2238 + JSCompiler_object_inline_stack_2237 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2238.children + children: JSCompiler_object_inline_stack_2237.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2239 = + ((JSCompiler_object_inline_componentStack_2238 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2239 + null === JSCompiler_object_inline_componentStack_2238 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2239.push(current)); + : JSCompiler_object_inline_componentStack_2238.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11206,8 +11191,8 @@ recordEffectDuration(current); } else runWithFiberInDEV(current, ref, null); - } catch (error$7) { - captureCommitPhaseError(current, nearestMountedAncestor, error$7); + } catch (error$6) { + captureCommitPhaseError(current, nearestMountedAncestor, error$6); } else ref.current = null; } @@ -11427,7 +11412,7 @@ selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; - } catch (e$3) { + } catch (e$2) { JSCompiler_temp = null; break a; } @@ -15117,8 +15102,8 @@ } workLoopSync(); break; - } catch (thrownValue$9) { - handleThrow(root, thrownValue$9); + } catch (thrownValue$8) { + handleThrow(root, thrownValue$8); } while (1); lanes && root.shellSuspendCounter++; @@ -15276,8 +15261,8 @@ ? workLoopSync() : workLoopConcurrent(); break; - } catch (thrownValue$10) { - handleThrow(root, thrownValue$10); + } catch (thrownValue$9) { + handleThrow(root, thrownValue$9); } while (1); resetContextDependencies(); @@ -24125,7 +24110,7 @@ var nonExtensibleObject = Object.preventExtensions({}); new Map([[nonExtensibleObject, null]]); new Set([nonExtensibleObject]); - } catch (e$8) { + } catch (e$7) { hasBadMapPolyfill = !0; } var DefaultAsyncDispatcher = { @@ -24753,11 +24738,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24794,11 +24779,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-5dcb0097-20240918", + version: "19.0.0-experimental-e740d4b1-20240919", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5dcb0097-20240918" + reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -24940,7 +24925,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js index bc14e910f955a..ab4e85ca0a91f 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-client.production.js @@ -166,16 +166,16 @@ function describeNativeComponentFrame(fn, construct) { } else { try { Fake.call(); - } catch (x$1) { - control = x$1; + } catch (x$0) { + control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); - } catch (x$2) { - control = x$2; + } catch (x$1) { + control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && @@ -364,36 +364,36 @@ function findCurrentFiberUsingSlowPath(fiber) { } if (a.return !== b.return) (a = parentA), (b = parentB); else { - for (var didFindChild = !1, child$3 = parentA.child; child$3; ) { - if (child$3 === a) { + for (var didFindChild = !1, child$2 = parentA.child; child$2; ) { + if (child$2 === a) { didFindChild = !0; a = parentA; b = parentB; break; } - if (child$3 === b) { + if (child$2 === b) { didFindChild = !0; b = parentA; a = parentB; break; } - child$3 = child$3.sibling; + child$2 = child$2.sibling; } if (!didFindChild) { - for (child$3 = parentB.child; child$3; ) { - if (child$3 === a) { + for (child$2 = parentB.child; child$2; ) { + if (child$2 === a) { didFindChild = !0; a = parentB; b = parentA; break; } - if (child$3 === b) { + if (child$2 === b) { didFindChild = !0; b = parentB; a = parentA; break; } - child$3 = child$3.sibling; + child$2 = child$2.sibling; } if (!didFindChild) throw Error(formatProdErrorMessage(189)); } @@ -721,18 +721,18 @@ function markRootFinished( 0 < remainingLanes; ) { - var index$8 = 31 - clz32(remainingLanes), - lane = 1 << index$8; - entanglements[index$8] = 0; - expirationTimes[index$8] = -1; - var hiddenUpdatesForLane = hiddenUpdates[index$8]; + var index$7 = 31 - clz32(remainingLanes), + lane = 1 << index$7; + entanglements[index$7] = 0; + expirationTimes[index$7] = -1; + var hiddenUpdatesForLane = hiddenUpdates[index$7]; if (null !== hiddenUpdatesForLane) for ( - hiddenUpdates[index$8] = null, index$8 = 0; - index$8 < hiddenUpdatesForLane.length; - index$8++ + hiddenUpdates[index$7] = null, index$7 = 0; + index$7 < hiddenUpdatesForLane.length; + index$7++ ) { - var update = hiddenUpdatesForLane[index$8]; + var update = hiddenUpdatesForLane[index$7]; null !== update && (update.lane &= -536870913); } remainingLanes &= ~lane; @@ -757,10 +757,10 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); for (root = root.entanglements; rootEntangledLanes; ) { - var index$9 = 31 - clz32(rootEntangledLanes), - lane = 1 << index$9; - (lane & entangledLanes) | (root[index$9] & entangledLanes) && - (root[index$9] |= entangledLanes); + var index$8 = 31 - clz32(rootEntangledLanes), + lane = 1 << index$8; + (lane & entangledLanes) | (root[index$8] & entangledLanes) && + (root[index$8] |= entangledLanes); rootEntangledLanes &= ~lane; } } @@ -910,8 +910,8 @@ function setValueForAttribute(node, name, value) { node.removeAttribute(name); return; case "boolean": - var prefix$11 = name.toLowerCase().slice(0, 5); - if ("data-" !== prefix$11 && "aria-" !== prefix$11) { + var prefix$10 = name.toLowerCase().slice(0, 5); + if ("data-" !== prefix$10 && "aria-" !== prefix$10) { node.removeAttribute(name); return; } @@ -1244,15 +1244,15 @@ function setValueForStyles(node, styles, prevStyles) { : "float" === styleName ? (node.cssFloat = "") : (node[styleName] = "")); - for (var styleName$17 in styles) - (styleName = styles[styleName$17]), - styles.hasOwnProperty(styleName$17) && - prevStyles[styleName$17] !== styleName && - setValueForStyle(node, styleName$17, styleName); + for (var styleName$16 in styles) + (styleName = styles[styleName$16]), + styles.hasOwnProperty(styleName$16) && + prevStyles[styleName$16] !== styleName && + setValueForStyle(node, styleName$16, styleName); } else - for (var styleName$18 in styles) - styles.hasOwnProperty(styleName$18) && - setValueForStyle(node, styleName$18, styles[styleName$18]); + for (var styleName$17 in styles) + styles.hasOwnProperty(styleName$17) && + setValueForStyle(node, styleName$17, styles[styleName$17]); } function isCustomElement(tagName) { if (-1 === tagName.indexOf("-")) return !1; @@ -1981,19 +1981,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$282; + var JSCompiler_inline_result$jscomp$281; if (canUseDOM) { - var isSupported$jscomp$inline_417 = "oninput" in document; - if (!isSupported$jscomp$inline_417) { - var element$jscomp$inline_418 = document.createElement("div"); - element$jscomp$inline_418.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_417 = - "function" === typeof element$jscomp$inline_418.oninput; + var isSupported$jscomp$inline_416 = "oninput" in document; + if (!isSupported$jscomp$inline_416) { + var element$jscomp$inline_417 = document.createElement("div"); + element$jscomp$inline_417.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_416 = + "function" === typeof element$jscomp$inline_417.oninput; } - JSCompiler_inline_result$jscomp$282 = isSupported$jscomp$inline_417; - } else JSCompiler_inline_result$jscomp$282 = !1; + JSCompiler_inline_result$jscomp$281 = isSupported$jscomp$inline_416; + } else JSCompiler_inline_result$jscomp$281 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$282 && + JSCompiler_inline_result$jscomp$281 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -2108,36 +2108,28 @@ function containsNode(outerNode, innerNode) { : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmpm519113360$1, $jscomp$nullish$tmp0; containerInfo = - null != - ($jscomp$nullish$tmp0 = - null == containerInfo - ? void 0 - : null == - ($jscomp$optchain$tmpm519113360$1 = containerInfo.ownerDocument) - ? void 0 - : $jscomp$optchain$tmpm519113360$1.defaultView) - ? $jscomp$nullish$tmp0 + null != containerInfo && + null != containerInfo.ownerDocument && + null != containerInfo.ownerDocument.defaultView + ? containerInfo.ownerDocument.defaultView : window; for ( - $jscomp$optchain$tmpm519113360$1 = getActiveElement(containerInfo.document); - $jscomp$optchain$tmpm519113360$1 instanceof containerInfo.HTMLIFrameElement; + var element = getActiveElement(containerInfo.document); + element instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = - "string" === - typeof $jscomp$optchain$tmpm519113360$1.contentWindow.location.href; + "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } - if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmpm519113360$1.contentWindow; + if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; - $jscomp$optchain$tmpm519113360$1 = getActiveElement(containerInfo.document); + element = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmpm519113360$1; + return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -3941,7 +3933,7 @@ function updateReducerImpl(hook, current, reducer) { var newBaseQueueFirst = (baseFirst = null), newBaseQueueLast = null, update = current, - didReadFromEntangledAsyncAction$56 = !1; + didReadFromEntangledAsyncAction$55 = !1; do { var updateLane = update.lane & -536870913; if ( @@ -3962,11 +3954,11 @@ function updateReducerImpl(hook, current, reducer) { next: null }), updateLane === currentEntangledLane && - (didReadFromEntangledAsyncAction$56 = !0); + (didReadFromEntangledAsyncAction$55 = !0); else if ((renderLanes & revertLane) === revertLane) { update = update.next; revertLane === currentEntangledLane && - (didReadFromEntangledAsyncAction$56 = !0); + (didReadFromEntangledAsyncAction$55 = !0); continue; } else (updateLane = { @@ -4012,7 +4004,7 @@ function updateReducerImpl(hook, current, reducer) { if ( !objectIs(pendingQueue, hook.memoizedState) && ((didReceiveUpdate = !0), - didReadFromEntangledAsyncAction$56 && + didReadFromEntangledAsyncAction$55 && ((reducer = currentEntangledActionThenable), null !== reducer)) ) throw reducer; @@ -4210,8 +4202,8 @@ function runActionStateAction(actionQueue, node) { try { (prevTransition = action(prevState, payload)), handleActionReturnValue(actionQueue, node, prevTransition); - } catch (error$62) { - onActionError(actionQueue, node, error$62); + } catch (error$61) { + onActionError(actionQueue, node, error$61); } } function handleActionReturnValue(actionQueue, node, returnValue) { @@ -4648,14 +4640,14 @@ function refreshCache(fiber, seedKey, seedValue) { case 3: var lane = requestUpdateLane(); fiber = createUpdate(lane); - var root$65 = enqueueUpdate(provider, fiber, lane); - null !== root$65 && - (scheduleUpdateOnFiber(root$65, provider, lane), - entangleTransitions(root$65, provider, lane)); + var root$64 = enqueueUpdate(provider, fiber, lane); + null !== root$64 && + (scheduleUpdateOnFiber(root$64, provider, lane), + entangleTransitions(root$64, provider, lane)); provider = createCache(); null !== seedKey && void 0 !== seedKey && - null !== root$65 && + null !== root$64 && provider.data.set(seedKey, seedValue); fiber.payload = { cache: provider }; return; @@ -5178,9 +5170,9 @@ function resolveClassComponentProps(Component, baseProps) { } if ((Component = Component.defaultProps)) { newProps === baseProps && (newProps = assign({}, newProps)); - for (var propName$69 in Component) - void 0 === newProps[propName$69] && - (newProps[propName$69] = Component[propName$69]); + for (var propName$68 in Component) + void 0 === newProps[propName$68] && + (newProps[propName$68] = Component[propName$68]); } return newProps; } @@ -5226,9 +5218,9 @@ function logUncaughtError(root, errorInfo) { try { var onUncaughtError = root.onUncaughtError; onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack }); - } catch (e$70) { + } catch (e$69) { setTimeout(function () { - throw e$70; + throw e$69; }); } } @@ -5239,9 +5231,9 @@ function logCaughtError(root, boundary, errorInfo) { componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); - } catch (e$71) { + } catch (e$70) { setTimeout(function () { - throw e$71; + throw e$70; }); } } @@ -7707,8 +7699,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { else if ("function" === typeof ref) try { ref(null); - } catch (error$116) { - captureCommitPhaseError(current, nearestMountedAncestor, error$116); + } catch (error$115) { + captureCommitPhaseError(current, nearestMountedAncestor, error$115); } else ref.current = null; } @@ -7842,7 +7834,7 @@ function commitBeforeMutationEffects(root, firstChild) { selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; - } catch (e$21) { + } catch (e$20) { JSCompiler_temp = null; break a; } @@ -8017,11 +8009,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$115) { + } catch (error$114) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$115 + error$114 ); } } @@ -8175,7 +8167,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); case 6: prevHostParentIsContainer = hostParent; - var prevHostParentIsContainer$123 = hostParentIsContainer; + var prevHostParentIsContainer$122 = hostParentIsContainer; hostParent = null; recursivelyTraverseDeletionEffects( finishedRoot, @@ -8183,7 +8175,7 @@ function commitDeletionEffectsOnFiber( deletedFiber ); hostParent = prevHostParentIsContainer; - hostParentIsContainer = prevHostParentIsContainer$123; + hostParentIsContainer = prevHostParentIsContainer$122; if (null !== hostParent) if (hostParentIsContainer) try { @@ -8811,21 +8803,21 @@ function commitReconciliationEffects(finishedWork) { insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0); break; case 5: - var parent$117 = JSCompiler_inline_result.stateNode; + var parent$116 = JSCompiler_inline_result.stateNode; JSCompiler_inline_result.flags & 32 && - (setTextContent(parent$117, ""), + (setTextContent(parent$116, ""), (JSCompiler_inline_result.flags &= -33)); - var before$118 = getHostSibling(finishedWork); - insertOrAppendPlacementNode(finishedWork, before$118, parent$117); + var before$117 = getHostSibling(finishedWork); + insertOrAppendPlacementNode(finishedWork, before$117, parent$116); break; case 3: case 4: - var parent$119 = JSCompiler_inline_result.stateNode.containerInfo, - before$120 = getHostSibling(finishedWork); + var parent$118 = JSCompiler_inline_result.stateNode.containerInfo, + before$119 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$120, - parent$119 + before$119, + parent$118 ); break; default: @@ -9740,14 +9732,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$135 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$135 = lastTailNode), + for (var lastTailNode$134 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$134 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$135 + null === lastTailNode$134 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$135.sibling = null); + : (lastTailNode$134.sibling = null); } } function bubbleProperties(completedWork) { @@ -9757,19 +9749,19 @@ function bubbleProperties(completedWork) { newChildLanes = 0, subtreeFlags = 0; if (didBailout) - for (var child$136 = completedWork.child; null !== child$136; ) - (newChildLanes |= child$136.lanes | child$136.childLanes), - (subtreeFlags |= child$136.subtreeFlags & 31457280), - (subtreeFlags |= child$136.flags & 31457280), - (child$136.return = completedWork), - (child$136 = child$136.sibling); + for (var child$135 = completedWork.child; null !== child$135; ) + (newChildLanes |= child$135.lanes | child$135.childLanes), + (subtreeFlags |= child$135.subtreeFlags & 31457280), + (subtreeFlags |= child$135.flags & 31457280), + (child$135.return = completedWork), + (child$135 = child$135.sibling); else - for (child$136 = completedWork.child; null !== child$136; ) - (newChildLanes |= child$136.lanes | child$136.childLanes), - (subtreeFlags |= child$136.subtreeFlags), - (subtreeFlags |= child$136.flags), - (child$136.return = completedWork), - (child$136 = child$136.sibling); + for (child$135 = completedWork.child; null !== child$135; ) + (newChildLanes |= child$135.lanes | child$135.childLanes), + (subtreeFlags |= child$135.subtreeFlags), + (subtreeFlags |= child$135.flags), + (child$135.return = completedWork), + (child$135 = child$135.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -10046,11 +10038,11 @@ function completeWork(current, workInProgress, renderLanes) { null !== newProps.alternate.memoizedState && null !== newProps.alternate.memoizedState.cachePool && (type = newProps.alternate.memoizedState.cachePool.pool); - var cache$148 = null; + var cache$147 = null; null !== newProps.memoizedState && null !== newProps.memoizedState.cachePool && - (cache$148 = newProps.memoizedState.cachePool.pool); - cache$148 !== type && (newProps.flags |= 2048); + (cache$147 = newProps.memoizedState.cachePool.pool); + cache$147 !== type && (newProps.flags |= 2048); } renderLanes !== current && renderLanes && @@ -10075,8 +10067,8 @@ function completeWork(current, workInProgress, renderLanes) { type = workInProgress.memoizedState; if (null === type) return bubbleProperties(workInProgress), null; newProps = 0 !== (workInProgress.flags & 128); - cache$148 = type.rendering; - if (null === cache$148) + cache$147 = type.rendering; + if (null === cache$147) if (newProps) cutOffTailIfNeeded(type, !1); else { if ( @@ -10084,11 +10076,11 @@ function completeWork(current, workInProgress, renderLanes) { (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { - cache$148 = findFirstSuspended(current); - if (null !== cache$148) { + cache$147 = findFirstSuspended(current); + if (null !== cache$147) { workInProgress.flags |= 128; cutOffTailIfNeeded(type, !1); - current = cache$148.updateQueue; + current = cache$147.updateQueue; workInProgress.updateQueue = current; scheduleRetryEffect(workInProgress, current); workInProgress.subtreeFlags = 0; @@ -10113,7 +10105,7 @@ function completeWork(current, workInProgress, renderLanes) { } else { if (!newProps) - if (((current = findFirstSuspended(cache$148)), null !== current)) { + if (((current = findFirstSuspended(cache$147)), null !== current)) { if ( ((workInProgress.flags |= 128), (newProps = !0), @@ -10123,7 +10115,7 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(type, !0), null === type.tail && "hidden" === type.tailMode && - !cache$148.alternate && + !cache$147.alternate && !isHydrating) ) return bubbleProperties(workInProgress), null; @@ -10136,13 +10128,13 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); type.isBackwards - ? ((cache$148.sibling = workInProgress.child), - (workInProgress.child = cache$148)) + ? ((cache$147.sibling = workInProgress.child), + (workInProgress.child = cache$147)) : ((current = type.last), null !== current - ? (current.sibling = cache$148) - : (workInProgress.child = cache$148), - (type.last = cache$148)); + ? (current.sibling = cache$147) + : (workInProgress.child = cache$147), + (type.last = cache$147)); } if (null !== type.tail) return ( @@ -10662,9 +10654,9 @@ function markRootSuspended( didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes); didSkipSuspendedSiblings = root.expirationTimes; for (var lanes = suspendedLanes; 0 < lanes; ) { - var index$7 = 31 - clz32(lanes), - lane = 1 << index$7; - didSkipSuspendedSiblings[index$7] = -1; + var index$6 = 31 - clz32(lanes), + lane = 1 << index$6; + didSkipSuspendedSiblings[index$6] = -1; lanes &= ~lane; } 0 !== spawnedLane && @@ -10777,9 +10769,9 @@ function prepareFreshStack(root, lanes) { 0 < allEntangledLanes; ) { - var index$5 = 31 - clz32(allEntangledLanes), - lane = 1 << index$5; - lanes |= root[index$5]; + var index$4 = 31 - clz32(allEntangledLanes), + lane = 1 << index$4; + lanes |= root[index$4]; allEntangledLanes &= ~lane; } entangledRenderLanes = lanes; @@ -10890,8 +10882,8 @@ function renderRootSync(root, lanes) { } workLoopSync(); break; - } catch (thrownValue$163) { - handleThrow(root, thrownValue$163); + } catch (thrownValue$162) { + handleThrow(root, thrownValue$162); } while (1); lanes && root.shellSuspendCounter++; @@ -11000,8 +10992,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrent(); break; - } catch (thrownValue$165) { - handleThrow(root, thrownValue$165); + } catch (thrownValue$164) { + handleThrow(root, thrownValue$164); } while (1); resetContextDependencies(); @@ -11284,7 +11276,7 @@ function releaseRootPooledCache(root, remainingLanes) { } function flushPassiveEffects() { if (null !== rootWithPendingPassiveEffects) { - var root$169 = rootWithPendingPassiveEffects, + var root$168 = rootWithPendingPassiveEffects, remainingLanes = pendingPassiveEffectsRemainingLanes; pendingPassiveEffectsRemainingLanes = 0; var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes), @@ -11323,7 +11315,7 @@ function flushPassiveEffects() { } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition), - releaseRootPooledCache(root$169, remainingLanes); + releaseRootPooledCache(root$168, remainingLanes); } } return !1; @@ -11482,14 +11474,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { isFlushingWork = !0; do { var didPerformSomeWork = !1; - for (var root$171 = firstScheduledRoot; null !== root$171; ) { + for (var root$170 = firstScheduledRoot; null !== root$170; ) { if (!onlyLegacy) if (0 !== syncTransitionLanes) { - var pendingLanes = root$171.pendingLanes; + var pendingLanes = root$170.pendingLanes; if (0 === pendingLanes) var JSCompiler_inline_result = 0; else { - var suspendedLanes = root$171.suspendedLanes, - pingedLanes = root$171.pingedLanes; + var suspendedLanes = root$170.suspendedLanes, + pingedLanes = root$170.pingedLanes; JSCompiler_inline_result = (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; JSCompiler_inline_result &= @@ -11503,17 +11495,17 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { } 0 !== JSCompiler_inline_result && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$171, JSCompiler_inline_result)); + performSyncWorkOnRoot(root$170, JSCompiler_inline_result)); } else (JSCompiler_inline_result = workInProgressRootRenderLanes), (JSCompiler_inline_result = getNextLanes( - root$171, - root$171 === workInProgressRoot ? JSCompiler_inline_result : 0 + root$170, + root$170 === workInProgressRoot ? JSCompiler_inline_result : 0 )), 0 !== (JSCompiler_inline_result & 3) && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$171, JSCompiler_inline_result)); - root$171 = root$171.next; + performSyncWorkOnRoot(root$170, JSCompiler_inline_result)); + root$170 = root$170.next; } } while (didPerformSomeWork); isFlushingWork = !1; @@ -11554,12 +11546,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) { 0 < lanes; ) { - var index$6 = 31 - clz32(lanes), - lane = 1 << index$6, - expirationTime = expirationTimes[index$6]; + var index$5 = 31 - clz32(lanes), + lane = 1 << index$5, + expirationTime = expirationTimes[index$5]; if (-1 === expirationTime) { if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) - expirationTimes[index$6] = computeExpirationTime(lane, currentTime); + expirationTimes[index$5] = computeExpirationTime(lane, currentTime); } else expirationTime <= currentTime && (root.expiredLanes |= lane); lanes &= ~lane; } @@ -11723,20 +11715,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1405 = 0; - i$jscomp$inline_1405 < simpleEventPluginEvents.length; - i$jscomp$inline_1405++ + var i$jscomp$inline_1404 = 0; + i$jscomp$inline_1404 < simpleEventPluginEvents.length; + i$jscomp$inline_1404++ ) { - var eventName$jscomp$inline_1406 = - simpleEventPluginEvents[i$jscomp$inline_1405], - domEventName$jscomp$inline_1407 = - eventName$jscomp$inline_1406.toLowerCase(), - capitalizedEvent$jscomp$inline_1408 = - eventName$jscomp$inline_1406[0].toUpperCase() + - eventName$jscomp$inline_1406.slice(1); + var eventName$jscomp$inline_1405 = + simpleEventPluginEvents[i$jscomp$inline_1404], + domEventName$jscomp$inline_1406 = + eventName$jscomp$inline_1405.toLowerCase(), + capitalizedEvent$jscomp$inline_1407 = + eventName$jscomp$inline_1405[0].toUpperCase() + + eventName$jscomp$inline_1405.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1407, - "on" + capitalizedEvent$jscomp$inline_1408 + domEventName$jscomp$inline_1406, + "on" + capitalizedEvent$jscomp$inline_1407 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -12919,34 +12911,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$185 = props[hasSrc]; - if (null != propValue$185) + var propValue$184 = props[hasSrc]; + if (null != propValue$184) switch (hasSrc) { case "name": - hasSrcSet = propValue$185; + hasSrcSet = propValue$184; break; case "type": - propValue = propValue$185; + propValue = propValue$184; break; case "checked": - checked = propValue$185; + checked = propValue$184; break; case "defaultChecked": - defaultChecked = propValue$185; + defaultChecked = propValue$184; break; case "value": - propKey = propValue$185; + propKey = propValue$184; break; case "defaultValue": - defaultValue = propValue$185; + defaultValue = propValue$184; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$185) + if (null != propValue$184) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$185, props, null); + setProp(domElement, tag, hasSrc, propValue$184, props, null); } } initInput( @@ -13083,14 +13075,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$185 in props) - props.hasOwnProperty(propValue$185) && - ((hasSrc = props[propValue$185]), + for (propValue$184 in props) + props.hasOwnProperty(propValue$184) && + ((hasSrc = props[propValue$184]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$185, + propValue$184, hasSrc, props, void 0 @@ -13138,14 +13130,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$202 in nextProps) { - var propKey = nextProps[propKey$202]; - lastProp = lastProps[propKey$202]; + for (var propKey$201 in nextProps) { + var propKey = nextProps[propKey$201]; + lastProp = lastProps[propKey$201]; if ( - nextProps.hasOwnProperty(propKey$202) && + nextProps.hasOwnProperty(propKey$201) && (null != propKey || null != lastProp) ) - switch (propKey$202) { + switch (propKey$201) { case "type": type = propKey; break; @@ -13174,7 +13166,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$202, + propKey$201, propKey, nextProps, lastProp @@ -13193,7 +13185,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$202 = null; + propKey = value = defaultValue = propKey$201 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -13224,7 +13216,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$202 = type; + propKey$201 = type; break; case "defaultValue": defaultValue = type; @@ -13245,15 +13237,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$202 - ? updateOptions(domElement, !!lastProps, propKey$202, !1) + null != propKey$201 + ? updateOptions(domElement, !!lastProps, propKey$201, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$202 = null; + propKey = propKey$201 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -13277,7 +13269,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$202 = name; + propKey$201 = name; break; case "defaultValue": propKey = name; @@ -13291,17 +13283,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$202, propKey); + updateTextarea(domElement, propKey$201, propKey); return; case "option": - for (var propKey$218 in lastProps) + for (var propKey$217 in lastProps) if ( - ((propKey$202 = lastProps[propKey$218]), - lastProps.hasOwnProperty(propKey$218) && - null != propKey$202 && - !nextProps.hasOwnProperty(propKey$218)) + ((propKey$201 = lastProps[propKey$217]), + lastProps.hasOwnProperty(propKey$217) && + null != propKey$201 && + !nextProps.hasOwnProperty(propKey$217)) ) - switch (propKey$218) { + switch (propKey$217) { case "selected": domElement.selected = !1; break; @@ -13309,33 +13301,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$218, + propKey$217, null, nextProps, - propKey$202 + propKey$201 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$202 = nextProps[lastDefaultValue]), + ((propKey$201 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$202 !== propKey && - (null != propKey$202 || null != propKey)) + propKey$201 !== propKey && + (null != propKey$201 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$202 && - "function" !== typeof propKey$202 && - "symbol" !== typeof propKey$202; + propKey$201 && + "function" !== typeof propKey$201 && + "symbol" !== typeof propKey$201; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$202, + propKey$201, nextProps, propKey ); @@ -13356,24 +13348,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$223 in lastProps) - (propKey$202 = lastProps[propKey$223]), - lastProps.hasOwnProperty(propKey$223) && - null != propKey$202 && - !nextProps.hasOwnProperty(propKey$223) && - setProp(domElement, tag, propKey$223, null, nextProps, propKey$202); + for (var propKey$222 in lastProps) + (propKey$201 = lastProps[propKey$222]), + lastProps.hasOwnProperty(propKey$222) && + null != propKey$201 && + !nextProps.hasOwnProperty(propKey$222) && + setProp(domElement, tag, propKey$222, null, nextProps, propKey$201); for (checked in nextProps) if ( - ((propKey$202 = nextProps[checked]), + ((propKey$201 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$202 !== propKey && - (null != propKey$202 || null != propKey)) + propKey$201 !== propKey && + (null != propKey$201 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$202) + if (null != propKey$201) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -13381,7 +13373,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$202, + propKey$201, nextProps, propKey ); @@ -13389,49 +13381,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$228 in lastProps) - (propKey$202 = lastProps[propKey$228]), - lastProps.hasOwnProperty(propKey$228) && - void 0 !== propKey$202 && - !nextProps.hasOwnProperty(propKey$228) && + for (var propKey$227 in lastProps) + (propKey$201 = lastProps[propKey$227]), + lastProps.hasOwnProperty(propKey$227) && + void 0 !== propKey$201 && + !nextProps.hasOwnProperty(propKey$227) && setPropOnCustomElement( domElement, tag, - propKey$228, + propKey$227, void 0, nextProps, - propKey$202 + propKey$201 ); for (defaultChecked in nextProps) - (propKey$202 = nextProps[defaultChecked]), + (propKey$201 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$202 === propKey || - (void 0 === propKey$202 && void 0 === propKey) || + propKey$201 === propKey || + (void 0 === propKey$201 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$202, + propKey$201, nextProps, propKey ); return; } } - for (var propKey$233 in lastProps) - (propKey$202 = lastProps[propKey$233]), - lastProps.hasOwnProperty(propKey$233) && - null != propKey$202 && - !nextProps.hasOwnProperty(propKey$233) && - setProp(domElement, tag, propKey$233, null, nextProps, propKey$202); + for (var propKey$232 in lastProps) + (propKey$201 = lastProps[propKey$232]), + lastProps.hasOwnProperty(propKey$232) && + null != propKey$201 && + !nextProps.hasOwnProperty(propKey$232) && + setProp(domElement, tag, propKey$232, null, nextProps, propKey$201); for (lastProp in nextProps) - (propKey$202 = nextProps[lastProp]), + (propKey$201 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$202 === propKey || - (null == propKey$202 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$202, nextProps, propKey); + propKey$201 === propKey || + (null == propKey$201 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$201, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -13976,26 +13968,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$241 = getResourcesFromRoot( + var styles$240 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$242 = styles$241.get(type); - resource$242 || + resource$241 = styles$240.get(type); + resource$241 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$242 = { + (resource$241 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$241.set(type, resource$242), - (styles$241 = JSCompiler_inline_result.querySelector( + styles$240.set(type, resource$241), + (styles$240 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$241._p && - ((resource$242.instance = styles$241), - (resource$242.state.loading = 5)), + !styles$240._p && + ((resource$241.instance = styles$240), + (resource$241.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -14008,16 +14000,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$241 || + styles$240 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$242.state + resource$241.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$242; + return resource$241; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -14114,37 +14106,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$247 = hoistableRoot.querySelector( + var instance$246 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$247) + if (instance$246) return ( (resource.state.loading |= 4), - (resource.instance = instance$247), - markNodeAsHoistable(instance$247), - instance$247 + (resource.instance = instance$246), + markNodeAsHoistable(instance$246), + instance$246 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$247 = ( + instance$246 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$247); - var linkInstance = instance$247; + markNodeAsHoistable(instance$246); + var linkInstance = instance$246; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$247, "link", instance); + setInitialProperties(instance$246, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$247, props.precedence, hoistableRoot); - return (resource.instance = instance$247); + insertStylesheet(instance$246, props.precedence, hoistableRoot); + return (resource.instance = instance$246); case "script": - instance$247 = getScriptKey(props.src); + instance$246 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$247) + getScriptSelectorFromKey(instance$246) )) ) return ( @@ -14153,7 +14145,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$247))) + if ((styleProps = preloadPropsMap.get(instance$246))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -15177,16 +15169,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1652 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1651 = React.version; if ( - "19.0.0-experimental-5dcb0097-20240918" !== - isomorphicReactPackageVersion$jscomp$inline_1652 + "19.0.0-experimental-e740d4b1-20240919" !== + isomorphicReactPackageVersion$jscomp$inline_1651 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1652, - "19.0.0-experimental-5dcb0097-20240918" + isomorphicReactPackageVersion$jscomp$inline_1651, + "19.0.0-experimental-e740d4b1-20240919" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15206,25 +15198,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2112 = { +var internals$jscomp$inline_2111 = { bundleType: 0, - version: "19.0.0-experimental-5dcb0097-20240918", + version: "19.0.0-experimental-e740d4b1-20240919", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5dcb0097-20240918" + reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2113 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2112 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2113.isDisabled && - hook$jscomp$inline_2113.supportsFiber + !hook$jscomp$inline_2112.isDisabled && + hook$jscomp$inline_2112.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2113.inject( - internals$jscomp$inline_2112 + (rendererID = hook$jscomp$inline_2112.inject( + internals$jscomp$inline_2111 )), - (injectedHook = hook$jscomp$inline_2113); + (injectedHook = hook$jscomp$inline_2112); } catch (err) {} } exports.createRoot = function (container, options) { @@ -15316,4 +15308,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js index b9a72c6b5f94c..21c6ab22c1ae4 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.development.js @@ -352,16 +352,16 @@ } else { try { Fake.call(); - } catch (x$1) { - control = x$1; + } catch (x$0) { + control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); - } catch (x$2) { - control = x$2; + } catch (x$1) { + control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && @@ -3573,41 +3573,28 @@ : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmpm820836342$1, $jscomp$nullish$tmp0; containerInfo = - null != - ($jscomp$nullish$tmp0 = - null == containerInfo - ? void 0 - : null == - ($jscomp$optchain$tmpm820836342$1 = containerInfo.ownerDocument) - ? void 0 - : $jscomp$optchain$tmpm820836342$1.defaultView) - ? $jscomp$nullish$tmp0 + null != containerInfo && + null != containerInfo.ownerDocument && + null != containerInfo.ownerDocument.defaultView + ? containerInfo.ownerDocument.defaultView : window; for ( - $jscomp$optchain$tmpm820836342$1 = getActiveElement( - containerInfo.document - ); - $jscomp$optchain$tmpm820836342$1 instanceof - containerInfo.HTMLIFrameElement; + var element = getActiveElement(containerInfo.document); + element instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = - "string" === - typeof $jscomp$optchain$tmpm820836342$1.contentWindow.location.href; + "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } - if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmpm820836342$1.contentWindow; + if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; - $jscomp$optchain$tmpm820836342$1 = getActiveElement( - containerInfo.document - ); + element = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmpm820836342$1; + return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -6625,8 +6612,8 @@ try { (currentTransition = action(prevState, payload)), handleActionReturnValue(actionQueue, node, currentTransition); - } catch (error$4) { - onActionError(actionQueue, node, error$4); + } catch (error$3) { + onActionError(actionQueue, node, error$3); } } function handleActionReturnValue(actionQueue, node, returnValue) { @@ -7608,9 +7595,9 @@ var onUncaughtError = root.onUncaughtError; onUncaughtError(error, { componentStack: errorInfo.stack }); } - } catch (e$5) { + } catch (e$4) { setTimeout(function () { - throw e$5; + throw e$4; }); } } @@ -7625,9 +7612,9 @@ componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); - } catch (e$6) { + } catch (e$5) { setTimeout(function () { - throw e$6; + throw e$5; }); } } @@ -8835,33 +8822,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2244; - var JSCompiler_object_inline_stack_2243 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2243; + var JSCompiler_object_inline_stack_2242 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2241 = !1; + var JSCompiler_object_inline_message_2240 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2244 = didSuspend) || - (JSCompiler_object_inline_componentStack_2244 = + (JSCompiler_object_inline_componentStack_2243 = didSuspend) || + (JSCompiler_object_inline_componentStack_2243 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2244 && - ((JSCompiler_object_inline_message_2241 = !0), + JSCompiler_object_inline_componentStack_2243 && + ((JSCompiler_object_inline_message_2240 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2244 = + JSCompiler_object_inline_componentStack_2243 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2241 + JSCompiler_object_inline_message_2240 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2242 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2241 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2242)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2241)) { c: { - var instance = JSCompiler_object_inline_digest_2242; + var instance = JSCompiler_object_inline_digest_2241; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8902,19 +8889,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2242 + JSCompiler_object_inline_digest_2241 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2242 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2241 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2242 && - ((JSCompiler_object_inline_digest_2242 = - JSCompiler_object_inline_digest_2242.dehydrated), - null !== JSCompiler_object_inline_digest_2242) + null !== JSCompiler_object_inline_digest_2241 && + ((JSCompiler_object_inline_digest_2241 = + JSCompiler_object_inline_digest_2241.dehydrated), + null !== JSCompiler_object_inline_digest_2241) ) return ( - JSCompiler_object_inline_digest_2242.data === + JSCompiler_object_inline_digest_2241.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8922,68 +8909,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2242 = - JSCompiler_object_inline_stack_2243.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2243.fallback; - if (JSCompiler_object_inline_message_2241) + JSCompiler_object_inline_digest_2241 = + JSCompiler_object_inline_stack_2242.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2242.fallback; + if (JSCompiler_object_inline_message_2240) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2243 = + (JSCompiler_object_inline_stack_2242 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2242, + JSCompiler_object_inline_digest_2241, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2241 = workInProgress.child), - (JSCompiler_object_inline_message_2241.memoizedState = + (JSCompiler_object_inline_message_2240 = workInProgress.child), + (JSCompiler_object_inline_message_2240.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2241.childLanes = + (JSCompiler_object_inline_message_2240.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2244, + JSCompiler_object_inline_componentStack_2243, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2243 + JSCompiler_object_inline_stack_2242 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2243.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2242.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2243 = + (JSCompiler_object_inline_stack_2242 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2242, + JSCompiler_object_inline_digest_2241, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2241 = workInProgress.child), - (JSCompiler_object_inline_message_2241.memoizedState = + (JSCompiler_object_inline_message_2240 = workInProgress.child), + (JSCompiler_object_inline_message_2240.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2241.childLanes = + (JSCompiler_object_inline_message_2240.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2244, + JSCompiler_object_inline_componentStack_2243, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2243 + JSCompiler_object_inline_stack_2242 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2242 + JSCompiler_object_inline_digest_2241 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2242 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2242) + ((JSCompiler_object_inline_digest_2241 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2241) ) { if (didSuspend) workInProgress.flags & 256 @@ -9000,94 +8987,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2241 = - JSCompiler_object_inline_stack_2243.fallback), - (JSCompiler_object_inline_digest_2242 = workInProgress.mode), - (JSCompiler_object_inline_stack_2243 = + (JSCompiler_object_inline_message_2240 = + JSCompiler_object_inline_stack_2242.fallback), + (JSCompiler_object_inline_digest_2241 = workInProgress.mode), + (JSCompiler_object_inline_stack_2242 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2243.children + children: JSCompiler_object_inline_stack_2242.children }, - JSCompiler_object_inline_digest_2242 + JSCompiler_object_inline_digest_2241 )), - (JSCompiler_object_inline_message_2241 = + (JSCompiler_object_inline_message_2240 = createFiberFromFragment( - JSCompiler_object_inline_message_2241, - JSCompiler_object_inline_digest_2242, + JSCompiler_object_inline_message_2240, + JSCompiler_object_inline_digest_2241, renderLanes, null )), - (JSCompiler_object_inline_message_2241.flags |= 2), - (JSCompiler_object_inline_stack_2243.return = workInProgress), - (JSCompiler_object_inline_message_2241.return = workInProgress), - (JSCompiler_object_inline_stack_2243.sibling = - JSCompiler_object_inline_message_2241), - (workInProgress.child = JSCompiler_object_inline_stack_2243), + (JSCompiler_object_inline_message_2240.flags |= 2), + (JSCompiler_object_inline_stack_2242.return = workInProgress), + (JSCompiler_object_inline_message_2240.return = workInProgress), + (JSCompiler_object_inline_stack_2242.sibling = + JSCompiler_object_inline_message_2240), + (workInProgress.child = JSCompiler_object_inline_stack_2242), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2243 = workInProgress.child), - (JSCompiler_object_inline_stack_2243.memoizedState = + (JSCompiler_object_inline_stack_2242 = workInProgress.child), + (JSCompiler_object_inline_stack_2242.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2243.childLanes = + (JSCompiler_object_inline_stack_2242.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2244, + JSCompiler_object_inline_componentStack_2243, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2241)); + (workInProgress = JSCompiler_object_inline_message_2240)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2242.data === + JSCompiler_object_inline_digest_2241.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2244 = - JSCompiler_object_inline_digest_2242.nextSibling && - JSCompiler_object_inline_digest_2242.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2244) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2244.dgst; - var message = JSCompiler_object_inline_componentStack_2244.msg; - instance = JSCompiler_object_inline_componentStack_2244.stck; + JSCompiler_object_inline_componentStack_2243 = + JSCompiler_object_inline_digest_2241.nextSibling && + JSCompiler_object_inline_digest_2241.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2243) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2243.dgst; + var message = JSCompiler_object_inline_componentStack_2243.msg; + instance = JSCompiler_object_inline_componentStack_2243.stck; var componentStack = - JSCompiler_object_inline_componentStack_2244.cstck; + JSCompiler_object_inline_componentStack_2243.cstck; } - JSCompiler_object_inline_message_2241 = message; - JSCompiler_object_inline_digest_2242 = JSCompiler_temp; - JSCompiler_object_inline_stack_2243 = instance; - JSCompiler_object_inline_componentStack_2244 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2242 && - ((JSCompiler_object_inline_message_2241 = - JSCompiler_object_inline_message_2241 - ? Error(JSCompiler_object_inline_message_2241) + JSCompiler_object_inline_message_2240 = message; + JSCompiler_object_inline_digest_2241 = JSCompiler_temp; + JSCompiler_object_inline_stack_2242 = instance; + JSCompiler_object_inline_componentStack_2243 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2241 && + ((JSCompiler_object_inline_message_2240 = + JSCompiler_object_inline_message_2240 + ? Error(JSCompiler_object_inline_message_2240) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2241.stack = - JSCompiler_object_inline_stack_2243 || ""), - (JSCompiler_object_inline_message_2241.digest = - JSCompiler_object_inline_digest_2242), - (JSCompiler_object_inline_componentStack_2244 = - void 0 === JSCompiler_object_inline_componentStack_2244 + (JSCompiler_object_inline_message_2240.stack = + JSCompiler_object_inline_stack_2242 || ""), + (JSCompiler_object_inline_message_2240.digest = + JSCompiler_object_inline_digest_2241), + (JSCompiler_object_inline_componentStack_2243 = + void 0 === JSCompiler_object_inline_componentStack_2243 ? null - : JSCompiler_object_inline_componentStack_2244), - "string" === typeof JSCompiler_object_inline_componentStack_2244 && + : JSCompiler_object_inline_componentStack_2243), + "string" === typeof JSCompiler_object_inline_componentStack_2243 && CapturedStacks.set( - JSCompiler_object_inline_message_2241, - JSCompiler_object_inline_componentStack_2244 + JSCompiler_object_inline_message_2240, + JSCompiler_object_inline_componentStack_2243 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2241, + value: JSCompiler_object_inline_message_2240, source: null, - stack: JSCompiler_object_inline_componentStack_2244 + stack: JSCompiler_object_inline_componentStack_2243 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9102,25 +9089,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2244 = + (JSCompiler_object_inline_componentStack_2243 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2244) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2243) ) { - JSCompiler_object_inline_componentStack_2244 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2244) { - JSCompiler_object_inline_stack_2243 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2243 & 42)) - JSCompiler_object_inline_stack_2243 = 1; + JSCompiler_object_inline_componentStack_2243 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2243) { + JSCompiler_object_inline_stack_2242 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2242 & 42)) + JSCompiler_object_inline_stack_2242 = 1; else - switch (JSCompiler_object_inline_stack_2243) { + switch (JSCompiler_object_inline_stack_2242) { case 2: - JSCompiler_object_inline_stack_2243 = 1; + JSCompiler_object_inline_stack_2242 = 1; break; case 8: - JSCompiler_object_inline_stack_2243 = 4; + JSCompiler_object_inline_stack_2242 = 4; break; case 32: - JSCompiler_object_inline_stack_2243 = 16; + JSCompiler_object_inline_stack_2242 = 16; break; case 128: case 256: @@ -9141,40 +9128,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2243 = 64; + JSCompiler_object_inline_stack_2242 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2243 = 134217728; + JSCompiler_object_inline_stack_2242 = 134217728; break; default: - JSCompiler_object_inline_stack_2243 = 0; + JSCompiler_object_inline_stack_2242 = 0; } - JSCompiler_object_inline_stack_2243 = + JSCompiler_object_inline_stack_2242 = 0 !== - (JSCompiler_object_inline_stack_2243 & - (JSCompiler_object_inline_componentStack_2244.suspendedLanes | + (JSCompiler_object_inline_stack_2242 & + (JSCompiler_object_inline_componentStack_2243.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2243; + : JSCompiler_object_inline_stack_2242; if ( - 0 !== JSCompiler_object_inline_stack_2243 && - JSCompiler_object_inline_stack_2243 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2242 && + JSCompiler_object_inline_stack_2242 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2243), + ((prevState.retryLane = JSCompiler_object_inline_stack_2242), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2243 + JSCompiler_object_inline_stack_2242 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2244, + JSCompiler_object_inline_componentStack_2243, current, - JSCompiler_object_inline_stack_2243 + JSCompiler_object_inline_stack_2242 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2242.data === + JSCompiler_object_inline_digest_2241.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9182,7 +9169,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2242.data === + JSCompiler_object_inline_digest_2241.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9190,12 +9177,12 @@ null, current )), - (JSCompiler_object_inline_digest_2242._reactRetry = + (JSCompiler_object_inline_digest_2241._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2242.nextSibling + JSCompiler_object_inline_digest_2241.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9213,54 +9200,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2243.children + JSCompiler_object_inline_stack_2242.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2241) + if (JSCompiler_object_inline_message_2240) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2241 = - JSCompiler_object_inline_stack_2243.fallback), - (JSCompiler_object_inline_digest_2242 = workInProgress.mode), + (JSCompiler_object_inline_message_2240 = + JSCompiler_object_inline_stack_2242.fallback), + (JSCompiler_object_inline_digest_2241 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2243 = createWorkInProgress( + (JSCompiler_object_inline_stack_2242 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2243.children + children: JSCompiler_object_inline_stack_2242.children } )), - (JSCompiler_object_inline_stack_2243.subtreeFlags = + (JSCompiler_object_inline_stack_2242.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2241 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2240 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2241 + JSCompiler_object_inline_message_2240 )) - : ((JSCompiler_object_inline_message_2241 = createFiberFromFragment( - JSCompiler_object_inline_message_2241, - JSCompiler_object_inline_digest_2242, + : ((JSCompiler_object_inline_message_2240 = createFiberFromFragment( + JSCompiler_object_inline_message_2240, + JSCompiler_object_inline_digest_2241, renderLanes, null )), - (JSCompiler_object_inline_message_2241.flags |= 2)), - (JSCompiler_object_inline_message_2241.return = workInProgress), - (JSCompiler_object_inline_stack_2243.return = workInProgress), - (JSCompiler_object_inline_stack_2243.sibling = - JSCompiler_object_inline_message_2241), - (workInProgress.child = JSCompiler_object_inline_stack_2243), - (JSCompiler_object_inline_stack_2243 = - JSCompiler_object_inline_message_2241), - (JSCompiler_object_inline_message_2241 = workInProgress.child), - (JSCompiler_object_inline_digest_2242 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2242 - ? (JSCompiler_object_inline_digest_2242 = + (JSCompiler_object_inline_message_2240.flags |= 2)), + (JSCompiler_object_inline_message_2240.return = workInProgress), + (JSCompiler_object_inline_stack_2242.return = workInProgress), + (JSCompiler_object_inline_stack_2242.sibling = + JSCompiler_object_inline_message_2240), + (workInProgress.child = JSCompiler_object_inline_stack_2242), + (JSCompiler_object_inline_stack_2242 = + JSCompiler_object_inline_message_2240), + (JSCompiler_object_inline_message_2240 = workInProgress.child), + (JSCompiler_object_inline_digest_2241 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2241 + ? (JSCompiler_object_inline_digest_2241 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2242.cachePool), + JSCompiler_object_inline_digest_2241.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9268,38 +9255,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2242 = { + (JSCompiler_object_inline_digest_2241 = { baseLanes: - JSCompiler_object_inline_digest_2242.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2241.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2241.memoizedState = - JSCompiler_object_inline_digest_2242), - (JSCompiler_object_inline_message_2241.childLanes = + (JSCompiler_object_inline_message_2240.memoizedState = + JSCompiler_object_inline_digest_2241), + (JSCompiler_object_inline_message_2240.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2244, + JSCompiler_object_inline_componentStack_2243, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2243 + JSCompiler_object_inline_stack_2242 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2243.children + children: JSCompiler_object_inline_stack_2242.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2244 = + ((JSCompiler_object_inline_componentStack_2243 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2244 + null === JSCompiler_object_inline_componentStack_2243 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2244.push(current)); + : JSCompiler_object_inline_componentStack_2243.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11212,8 +11199,8 @@ recordEffectDuration(current); } else runWithFiberInDEV(current, ref, null); - } catch (error$7) { - captureCommitPhaseError(current, nearestMountedAncestor, error$7); + } catch (error$6) { + captureCommitPhaseError(current, nearestMountedAncestor, error$6); } else ref.current = null; } @@ -11433,7 +11420,7 @@ selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; - } catch (e$3) { + } catch (e$2) { JSCompiler_temp = null; break a; } @@ -15127,8 +15114,8 @@ } workLoopSync(); break; - } catch (thrownValue$9) { - handleThrow(root, thrownValue$9); + } catch (thrownValue$8) { + handleThrow(root, thrownValue$8); } while (1); lanes && root.shellSuspendCounter++; @@ -15286,8 +15273,8 @@ ? workLoopSync() : workLoopConcurrent(); break; - } catch (thrownValue$10) { - handleThrow(root, thrownValue$10); + } catch (thrownValue$9) { + handleThrow(root, thrownValue$9); } while (1); resetContextDependencies(); @@ -24180,7 +24167,7 @@ var nonExtensibleObject = Object.preventExtensions({}); new Map([[nonExtensibleObject, null]]); new Set([nonExtensibleObject]); - } catch (e$8) { + } catch (e$7) { hasBadMapPolyfill = !0; } var DefaultAsyncDispatcher = { @@ -24808,11 +24795,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24849,11 +24836,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-5dcb0097-20240918", + version: "19.0.0-experimental-e740d4b1-20240919", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5dcb0097-20240918" + reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25325,7 +25312,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js index 0d012a7e397e3..ff3dbc2bbba9a 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-profiling.profiling.js @@ -226,16 +226,16 @@ function describeNativeComponentFrame(fn, construct) { } else { try { Fake.call(); - } catch (x$1) { - control = x$1; + } catch (x$0) { + control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); - } catch (x$2) { - control = x$2; + } catch (x$1) { + control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && @@ -424,36 +424,36 @@ function findCurrentFiberUsingSlowPath(fiber) { } if (a.return !== b.return) (a = parentA), (b = parentB); else { - for (var didFindChild = !1, child$3 = parentA.child; child$3; ) { - if (child$3 === a) { + for (var didFindChild = !1, child$2 = parentA.child; child$2; ) { + if (child$2 === a) { didFindChild = !0; a = parentA; b = parentB; break; } - if (child$3 === b) { + if (child$2 === b) { didFindChild = !0; b = parentA; a = parentB; break; } - child$3 = child$3.sibling; + child$2 = child$2.sibling; } if (!didFindChild) { - for (child$3 = parentB.child; child$3; ) { - if (child$3 === a) { + for (child$2 = parentB.child; child$2; ) { + if (child$2 === a) { didFindChild = !0; a = parentB; b = parentA; break; } - if (child$3 === b) { + if (child$2 === b) { didFindChild = !0; b = parentB; a = parentA; break; } - child$3 = child$3.sibling; + child$2 = child$2.sibling; } if (!didFindChild) throw Error(formatProdErrorMessage(189)); } @@ -799,18 +799,18 @@ function markRootFinished( 0 < remainingLanes; ) { - var index$8 = 31 - clz32(remainingLanes), - lane = 1 << index$8; - entanglements[index$8] = 0; - expirationTimes[index$8] = -1; - var hiddenUpdatesForLane = hiddenUpdates[index$8]; + var index$7 = 31 - clz32(remainingLanes), + lane = 1 << index$7; + entanglements[index$7] = 0; + expirationTimes[index$7] = -1; + var hiddenUpdatesForLane = hiddenUpdates[index$7]; if (null !== hiddenUpdatesForLane) for ( - hiddenUpdates[index$8] = null, index$8 = 0; - index$8 < hiddenUpdatesForLane.length; - index$8++ + hiddenUpdates[index$7] = null, index$7 = 0; + index$7 < hiddenUpdatesForLane.length; + index$7++ ) { - var update = hiddenUpdatesForLane[index$8]; + var update = hiddenUpdatesForLane[index$7]; null !== update && (update.lane &= -536870913); } remainingLanes &= ~lane; @@ -835,19 +835,19 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); for (root = root.entanglements; rootEntangledLanes; ) { - var index$9 = 31 - clz32(rootEntangledLanes), - lane = 1 << index$9; - (lane & entangledLanes) | (root[index$9] & entangledLanes) && - (root[index$9] |= entangledLanes); + var index$8 = 31 - clz32(rootEntangledLanes), + lane = 1 << index$8; + (lane & entangledLanes) | (root[index$8] & entangledLanes) && + (root[index$8] |= entangledLanes); rootEntangledLanes &= ~lane; } } function addFiberToLanesMap(root, fiber, lanes) { if (isDevToolsPresent) for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) { - var index$11 = 31 - clz32(lanes), - lane = 1 << index$11; - root[index$11].add(fiber); + var index$10 = 31 - clz32(lanes), + lane = 1 << index$10; + root[index$10].add(fiber); lanes &= ~lane; } } @@ -859,16 +859,16 @@ function movePendingFibersToMemoized(root, lanes) { 0 < lanes; ) { - var index$12 = 31 - clz32(lanes); - root = 1 << index$12; - index$12 = pendingUpdatersLaneMap[index$12]; - 0 < index$12.size && - (index$12.forEach(function (fiber) { + var index$11 = 31 - clz32(lanes); + root = 1 << index$11; + index$11 = pendingUpdatersLaneMap[index$11]; + 0 < index$11.size && + (index$11.forEach(function (fiber) { var alternate = fiber.alternate; (null !== alternate && memoizedUpdaters.has(alternate)) || memoizedUpdaters.add(fiber); }), - index$12.clear()); + index$11.clear()); lanes &= ~root; } } @@ -1018,8 +1018,8 @@ function setValueForAttribute(node, name, value) { node.removeAttribute(name); return; case "boolean": - var prefix$13 = name.toLowerCase().slice(0, 5); - if ("data-" !== prefix$13 && "aria-" !== prefix$13) { + var prefix$12 = name.toLowerCase().slice(0, 5); + if ("data-" !== prefix$12 && "aria-" !== prefix$12) { node.removeAttribute(name); return; } @@ -1352,15 +1352,15 @@ function setValueForStyles(node, styles, prevStyles) { : "float" === styleName ? (node.cssFloat = "") : (node[styleName] = "")); - for (var styleName$19 in styles) - (styleName = styles[styleName$19]), - styles.hasOwnProperty(styleName$19) && - prevStyles[styleName$19] !== styleName && - setValueForStyle(node, styleName$19, styleName); + for (var styleName$18 in styles) + (styleName = styles[styleName$18]), + styles.hasOwnProperty(styleName$18) && + prevStyles[styleName$18] !== styleName && + setValueForStyle(node, styleName$18, styleName); } else - for (var styleName$20 in styles) - styles.hasOwnProperty(styleName$20) && - setValueForStyle(node, styleName$20, styles[styleName$20]); + for (var styleName$19 in styles) + styles.hasOwnProperty(styleName$19) && + setValueForStyle(node, styleName$19, styles[styleName$19]); } function isCustomElement(tagName) { if (-1 === tagName.indexOf("-")) return !1; @@ -2089,19 +2089,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$297; + var JSCompiler_inline_result$jscomp$296; if (canUseDOM) { - var isSupported$jscomp$inline_433 = "oninput" in document; - if (!isSupported$jscomp$inline_433) { - var element$jscomp$inline_434 = document.createElement("div"); - element$jscomp$inline_434.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_433 = - "function" === typeof element$jscomp$inline_434.oninput; + var isSupported$jscomp$inline_432 = "oninput" in document; + if (!isSupported$jscomp$inline_432) { + var element$jscomp$inline_433 = document.createElement("div"); + element$jscomp$inline_433.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_432 = + "function" === typeof element$jscomp$inline_433.oninput; } - JSCompiler_inline_result$jscomp$297 = isSupported$jscomp$inline_433; - } else JSCompiler_inline_result$jscomp$297 = !1; + JSCompiler_inline_result$jscomp$296 = isSupported$jscomp$inline_432; + } else JSCompiler_inline_result$jscomp$296 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$297 && + JSCompiler_inline_result$jscomp$296 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -2216,36 +2216,28 @@ function containsNode(outerNode, innerNode) { : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmpm703203814$1, $jscomp$nullish$tmp0; containerInfo = - null != - ($jscomp$nullish$tmp0 = - null == containerInfo - ? void 0 - : null == - ($jscomp$optchain$tmpm703203814$1 = containerInfo.ownerDocument) - ? void 0 - : $jscomp$optchain$tmpm703203814$1.defaultView) - ? $jscomp$nullish$tmp0 + null != containerInfo && + null != containerInfo.ownerDocument && + null != containerInfo.ownerDocument.defaultView + ? containerInfo.ownerDocument.defaultView : window; for ( - $jscomp$optchain$tmpm703203814$1 = getActiveElement(containerInfo.document); - $jscomp$optchain$tmpm703203814$1 instanceof containerInfo.HTMLIFrameElement; + var element = getActiveElement(containerInfo.document); + element instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = - "string" === - typeof $jscomp$optchain$tmpm703203814$1.contentWindow.location.href; + "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } - if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmpm703203814$1.contentWindow; + if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; - $jscomp$optchain$tmpm703203814$1 = getActiveElement(containerInfo.document); + element = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmpm703203814$1; + return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -4155,7 +4147,7 @@ function updateReducerImpl(hook, current, reducer) { var newBaseQueueFirst = (baseFirst = null), newBaseQueueLast = null, update = current, - didReadFromEntangledAsyncAction$58 = !1; + didReadFromEntangledAsyncAction$57 = !1; do { var updateLane = update.lane & -536870913; if ( @@ -4176,11 +4168,11 @@ function updateReducerImpl(hook, current, reducer) { next: null }), updateLane === currentEntangledLane && - (didReadFromEntangledAsyncAction$58 = !0); + (didReadFromEntangledAsyncAction$57 = !0); else if ((renderLanes & revertLane) === revertLane) { update = update.next; revertLane === currentEntangledLane && - (didReadFromEntangledAsyncAction$58 = !0); + (didReadFromEntangledAsyncAction$57 = !0); continue; } else (updateLane = { @@ -4226,7 +4218,7 @@ function updateReducerImpl(hook, current, reducer) { if ( !objectIs(pendingQueue, hook.memoizedState) && ((didReceiveUpdate = !0), - didReadFromEntangledAsyncAction$58 && + didReadFromEntangledAsyncAction$57 && ((reducer = currentEntangledActionThenable), null !== reducer)) ) throw reducer; @@ -4424,8 +4416,8 @@ function runActionStateAction(actionQueue, node) { try { (prevTransition = action(prevState, payload)), handleActionReturnValue(actionQueue, node, prevTransition); - } catch (error$64) { - onActionError(actionQueue, node, error$64); + } catch (error$63) { + onActionError(actionQueue, node, error$63); } } function handleActionReturnValue(actionQueue, node, returnValue) { @@ -4862,14 +4854,14 @@ function refreshCache(fiber, seedKey, seedValue) { case 3: var lane = requestUpdateLane(); fiber = createUpdate(lane); - var root$67 = enqueueUpdate(provider, fiber, lane); - null !== root$67 && - (scheduleUpdateOnFiber(root$67, provider, lane), - entangleTransitions(root$67, provider, lane)); + var root$66 = enqueueUpdate(provider, fiber, lane); + null !== root$66 && + (scheduleUpdateOnFiber(root$66, provider, lane), + entangleTransitions(root$66, provider, lane)); provider = createCache(); null !== seedKey && void 0 !== seedKey && - null !== root$67 && + null !== root$66 && provider.data.set(seedKey, seedValue); fiber.payload = { cache: provider }; return; @@ -5392,9 +5384,9 @@ function resolveClassComponentProps(Component, baseProps) { } if ((Component = Component.defaultProps)) { newProps === baseProps && (newProps = assign({}, newProps)); - for (var propName$71 in Component) - void 0 === newProps[propName$71] && - (newProps[propName$71] = Component[propName$71]); + for (var propName$70 in Component) + void 0 === newProps[propName$70] && + (newProps[propName$70] = Component[propName$70]); } return newProps; } @@ -5440,9 +5432,9 @@ function logUncaughtError(root, errorInfo) { try { var onUncaughtError = root.onUncaughtError; onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack }); - } catch (e$72) { + } catch (e$71) { setTimeout(function () { - throw e$72; + throw e$71; }); } } @@ -5453,9 +5445,9 @@ function logCaughtError(root, boundary, errorInfo) { componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); - } catch (e$73) { + } catch (e$72) { setTimeout(function () { - throw e$73; + throw e$72; }); } } @@ -7956,8 +7948,8 @@ function safelyCallComponentWillUnmount( } else try { instance.componentWillUnmount(); - } catch (error$121) { - captureCommitPhaseError(current, nearestMountedAncestor, error$121); + } catch (error$120) { + captureCommitPhaseError(current, nearestMountedAncestor, error$120); } } function safelyAttachRef(current, nearestMountedAncestor) { @@ -8017,8 +8009,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { recordEffectDuration(current); } else ref(null); - } catch (error$122) { - captureCommitPhaseError(current, nearestMountedAncestor, error$122); + } catch (error$121) { + captureCommitPhaseError(current, nearestMountedAncestor, error$121); } else ref.current = null; } @@ -8187,7 +8179,7 @@ function commitBeforeMutationEffects(root, firstChild) { selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; - } catch (e$23) { + } catch (e$22) { JSCompiler_temp = null; break a; } @@ -8357,11 +8349,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { } else try { finishedRoot.componentDidMount(); - } catch (error$118) { + } catch (error$117) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$118 + error$117 ); } else { @@ -8378,11 +8370,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$119) { + } catch (error$118) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$119 + error$118 ); } recordEffectDuration(); @@ -8393,11 +8385,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$120) { + } catch (error$119) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$120 + error$119 ); } } @@ -8574,7 +8566,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); case 6: prevHostParentIsContainer = hostParent; - var prevHostParentIsContainer$130 = hostParentIsContainer; + var prevHostParentIsContainer$129 = hostParentIsContainer; hostParent = null; recursivelyTraverseDeletionEffects( finishedRoot, @@ -8582,7 +8574,7 @@ function commitDeletionEffectsOnFiber( deletedFiber ); hostParent = prevHostParentIsContainer; - hostParentIsContainer = prevHostParentIsContainer$130; + hostParentIsContainer = prevHostParentIsContainer$129; if (null !== hostParent) if (hostParentIsContainer) try { @@ -9237,21 +9229,21 @@ function commitReconciliationEffects(finishedWork) { insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0); break; case 5: - var parent$123 = JSCompiler_inline_result.stateNode; + var parent$122 = JSCompiler_inline_result.stateNode; JSCompiler_inline_result.flags & 32 && - (setTextContent(parent$123, ""), + (setTextContent(parent$122, ""), (JSCompiler_inline_result.flags &= -33)); - var before$124 = getHostSibling(finishedWork); - insertOrAppendPlacementNode(finishedWork, before$124, parent$123); + var before$123 = getHostSibling(finishedWork); + insertOrAppendPlacementNode(finishedWork, before$123, parent$122); break; case 3: case 4: - var parent$125 = JSCompiler_inline_result.stateNode.containerInfo, - before$126 = getHostSibling(finishedWork); + var parent$124 = JSCompiler_inline_result.stateNode.containerInfo, + before$125 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$126, - parent$125 + before$125, + parent$124 ); break; default: @@ -10282,14 +10274,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$145 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$145 = lastTailNode), + for (var lastTailNode$144 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$144 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$145 + null === lastTailNode$144 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$145.sibling = null); + : (lastTailNode$144.sibling = null); } } function bubbleProperties(completedWork) { @@ -10301,53 +10293,53 @@ function bubbleProperties(completedWork) { if (didBailout) if (0 !== (completedWork.mode & 2)) { for ( - var treeBaseDuration$147 = completedWork.selfBaseDuration, - child$148 = completedWork.child; - null !== child$148; + var treeBaseDuration$146 = completedWork.selfBaseDuration, + child$147 = completedWork.child; + null !== child$147; ) - (newChildLanes |= child$148.lanes | child$148.childLanes), - (subtreeFlags |= child$148.subtreeFlags & 31457280), - (subtreeFlags |= child$148.flags & 31457280), - (treeBaseDuration$147 += child$148.treeBaseDuration), - (child$148 = child$148.sibling); - completedWork.treeBaseDuration = treeBaseDuration$147; + (newChildLanes |= child$147.lanes | child$147.childLanes), + (subtreeFlags |= child$147.subtreeFlags & 31457280), + (subtreeFlags |= child$147.flags & 31457280), + (treeBaseDuration$146 += child$147.treeBaseDuration), + (child$147 = child$147.sibling); + completedWork.treeBaseDuration = treeBaseDuration$146; } else for ( - treeBaseDuration$147 = completedWork.child; - null !== treeBaseDuration$147; + treeBaseDuration$146 = completedWork.child; + null !== treeBaseDuration$146; ) (newChildLanes |= - treeBaseDuration$147.lanes | treeBaseDuration$147.childLanes), - (subtreeFlags |= treeBaseDuration$147.subtreeFlags & 31457280), - (subtreeFlags |= treeBaseDuration$147.flags & 31457280), - (treeBaseDuration$147.return = completedWork), - (treeBaseDuration$147 = treeBaseDuration$147.sibling); + treeBaseDuration$146.lanes | treeBaseDuration$146.childLanes), + (subtreeFlags |= treeBaseDuration$146.subtreeFlags & 31457280), + (subtreeFlags |= treeBaseDuration$146.flags & 31457280), + (treeBaseDuration$146.return = completedWork), + (treeBaseDuration$146 = treeBaseDuration$146.sibling); else if (0 !== (completedWork.mode & 2)) { - treeBaseDuration$147 = completedWork.actualDuration; - child$148 = completedWork.selfBaseDuration; + treeBaseDuration$146 = completedWork.actualDuration; + child$147 = completedWork.selfBaseDuration; for (var child = completedWork.child; null !== child; ) (newChildLanes |= child.lanes | child.childLanes), (subtreeFlags |= child.subtreeFlags), (subtreeFlags |= child.flags), - (treeBaseDuration$147 += child.actualDuration), - (child$148 += child.treeBaseDuration), + (treeBaseDuration$146 += child.actualDuration), + (child$147 += child.treeBaseDuration), (child = child.sibling); - completedWork.actualDuration = treeBaseDuration$147; - completedWork.treeBaseDuration = child$148; + completedWork.actualDuration = treeBaseDuration$146; + completedWork.treeBaseDuration = child$147; } else for ( - treeBaseDuration$147 = completedWork.child; - null !== treeBaseDuration$147; + treeBaseDuration$146 = completedWork.child; + null !== treeBaseDuration$146; ) (newChildLanes |= - treeBaseDuration$147.lanes | treeBaseDuration$147.childLanes), - (subtreeFlags |= treeBaseDuration$147.subtreeFlags), - (subtreeFlags |= treeBaseDuration$147.flags), - (treeBaseDuration$147.return = completedWork), - (treeBaseDuration$147 = treeBaseDuration$147.sibling); + treeBaseDuration$146.lanes | treeBaseDuration$146.childLanes), + (subtreeFlags |= treeBaseDuration$146.subtreeFlags), + (subtreeFlags |= treeBaseDuration$146.flags), + (treeBaseDuration$146.return = completedWork), + (treeBaseDuration$146 = treeBaseDuration$146.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -10640,11 +10632,11 @@ function completeWork(current, workInProgress, renderLanes) { null !== newProps.alternate.memoizedState && null !== newProps.alternate.memoizedState.cachePool && (type = newProps.alternate.memoizedState.cachePool.pool); - var cache$163 = null; + var cache$162 = null; null !== newProps.memoizedState && null !== newProps.memoizedState.cachePool && - (cache$163 = newProps.memoizedState.cachePool.pool); - cache$163 !== type && (newProps.flags |= 2048); + (cache$162 = newProps.memoizedState.cachePool.pool); + cache$162 !== type && (newProps.flags |= 2048); } renderLanes !== current && renderLanes && @@ -10674,8 +10666,8 @@ function completeWork(current, workInProgress, renderLanes) { type = workInProgress.memoizedState; if (null === type) return bubbleProperties(workInProgress), null; newProps = 0 !== (workInProgress.flags & 128); - cache$163 = type.rendering; - if (null === cache$163) + cache$162 = type.rendering; + if (null === cache$162) if (newProps) cutOffTailIfNeeded(type, !1); else { if ( @@ -10683,11 +10675,11 @@ function completeWork(current, workInProgress, renderLanes) { (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { - cache$163 = findFirstSuspended(current); - if (null !== cache$163) { + cache$162 = findFirstSuspended(current); + if (null !== cache$162) { workInProgress.flags |= 128; cutOffTailIfNeeded(type, !1); - current = cache$163.updateQueue; + current = cache$162.updateQueue; workInProgress.updateQueue = current; scheduleRetryEffect(workInProgress, current); workInProgress.subtreeFlags = 0; @@ -10712,7 +10704,7 @@ function completeWork(current, workInProgress, renderLanes) { } else { if (!newProps) - if (((current = findFirstSuspended(cache$163)), null !== current)) { + if (((current = findFirstSuspended(cache$162)), null !== current)) { if ( ((workInProgress.flags |= 128), (newProps = !0), @@ -10722,7 +10714,7 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(type, !0), null === type.tail && "hidden" === type.tailMode && - !cache$163.alternate && + !cache$162.alternate && !isHydrating) ) return bubbleProperties(workInProgress), null; @@ -10735,13 +10727,13 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); type.isBackwards - ? ((cache$163.sibling = workInProgress.child), - (workInProgress.child = cache$163)) + ? ((cache$162.sibling = workInProgress.child), + (workInProgress.child = cache$162)) : ((current = type.last), null !== current - ? (current.sibling = cache$163) - : (workInProgress.child = cache$163), - (type.last = cache$163)); + ? (current.sibling = cache$162) + : (workInProgress.child = cache$162), + (type.last = cache$162)); } if (null !== type.tail) return ( @@ -11272,9 +11264,9 @@ function markRootSuspended( didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes); didSkipSuspendedSiblings = root.expirationTimes; for (var lanes = suspendedLanes; 0 < lanes; ) { - var index$7 = 31 - clz32(lanes), - lane = 1 << index$7; - didSkipSuspendedSiblings[index$7] = -1; + var index$6 = 31 - clz32(lanes), + lane = 1 << index$6; + didSkipSuspendedSiblings[index$6] = -1; lanes &= ~lane; } 0 !== spawnedLane && @@ -11390,9 +11382,9 @@ function prepareFreshStack(root, lanes) { 0 < allEntangledLanes; ) { - var index$5 = 31 - clz32(allEntangledLanes), - lane = 1 << index$5; - lanes |= root[index$5]; + var index$4 = 31 - clz32(allEntangledLanes), + lane = 1 << index$4; + lanes |= root[index$4]; allEntangledLanes &= ~lane; } entangledRenderLanes = lanes; @@ -11515,8 +11507,8 @@ function renderRootSync(root, lanes) { } workLoopSync(); break; - } catch (thrownValue$178) { - handleThrow(root, thrownValue$178); + } catch (thrownValue$177) { + handleThrow(root, thrownValue$177); } while (1); lanes && root.shellSuspendCounter++; @@ -11634,8 +11626,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrent(); break; - } catch (thrownValue$180) { - handleThrow(root, thrownValue$180); + } catch (thrownValue$179) { + handleThrow(root, thrownValue$179); } while (1); resetContextDependencies(); @@ -11940,7 +11932,7 @@ function releaseRootPooledCache(root, remainingLanes) { } function flushPassiveEffects() { if (null !== rootWithPendingPassiveEffects) { - var root$184 = rootWithPendingPassiveEffects, + var root$183 = rootWithPendingPassiveEffects, remainingLanes = pendingPassiveEffectsRemainingLanes; pendingPassiveEffectsRemainingLanes = 0; var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes), @@ -12002,7 +11994,7 @@ function flushPassiveEffects() { } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition), - releaseRootPooledCache(root$184, remainingLanes); + releaseRootPooledCache(root$183, remainingLanes); } } return !1; @@ -12168,14 +12160,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { isFlushingWork = !0; do { var didPerformSomeWork = !1; - for (var root$186 = firstScheduledRoot; null !== root$186; ) { + for (var root$185 = firstScheduledRoot; null !== root$185; ) { if (!onlyLegacy) if (0 !== syncTransitionLanes) { - var pendingLanes = root$186.pendingLanes; + var pendingLanes = root$185.pendingLanes; if (0 === pendingLanes) var JSCompiler_inline_result = 0; else { - var suspendedLanes = root$186.suspendedLanes, - pingedLanes = root$186.pingedLanes; + var suspendedLanes = root$185.suspendedLanes, + pingedLanes = root$185.pingedLanes; JSCompiler_inline_result = (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; JSCompiler_inline_result &= @@ -12189,17 +12181,17 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { } 0 !== JSCompiler_inline_result && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$186, JSCompiler_inline_result)); + performSyncWorkOnRoot(root$185, JSCompiler_inline_result)); } else (JSCompiler_inline_result = workInProgressRootRenderLanes), (JSCompiler_inline_result = getNextLanes( - root$186, - root$186 === workInProgressRoot ? JSCompiler_inline_result : 0 + root$185, + root$185 === workInProgressRoot ? JSCompiler_inline_result : 0 )), 0 !== (JSCompiler_inline_result & 3) && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$186, JSCompiler_inline_result)); - root$186 = root$186.next; + performSyncWorkOnRoot(root$185, JSCompiler_inline_result)); + root$185 = root$185.next; } } while (didPerformSomeWork); isFlushingWork = !1; @@ -12240,12 +12232,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) { 0 < lanes; ) { - var index$6 = 31 - clz32(lanes), - lane = 1 << index$6, - expirationTime = expirationTimes[index$6]; + var index$5 = 31 - clz32(lanes), + lane = 1 << index$5, + expirationTime = expirationTimes[index$5]; if (-1 === expirationTime) { if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) - expirationTimes[index$6] = computeExpirationTime(lane, currentTime); + expirationTimes[index$5] = computeExpirationTime(lane, currentTime); } else expirationTime <= currentTime && (root.expiredLanes |= lane); lanes &= ~lane; } @@ -12409,20 +12401,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1453 = 0; - i$jscomp$inline_1453 < simpleEventPluginEvents.length; - i$jscomp$inline_1453++ + var i$jscomp$inline_1452 = 0; + i$jscomp$inline_1452 < simpleEventPluginEvents.length; + i$jscomp$inline_1452++ ) { - var eventName$jscomp$inline_1454 = - simpleEventPluginEvents[i$jscomp$inline_1453], - domEventName$jscomp$inline_1455 = - eventName$jscomp$inline_1454.toLowerCase(), - capitalizedEvent$jscomp$inline_1456 = - eventName$jscomp$inline_1454[0].toUpperCase() + - eventName$jscomp$inline_1454.slice(1); + var eventName$jscomp$inline_1453 = + simpleEventPluginEvents[i$jscomp$inline_1452], + domEventName$jscomp$inline_1454 = + eventName$jscomp$inline_1453.toLowerCase(), + capitalizedEvent$jscomp$inline_1455 = + eventName$jscomp$inline_1453[0].toUpperCase() + + eventName$jscomp$inline_1453.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1455, - "on" + capitalizedEvent$jscomp$inline_1456 + domEventName$jscomp$inline_1454, + "on" + capitalizedEvent$jscomp$inline_1455 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -13605,34 +13597,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$200 = props[hasSrc]; - if (null != propValue$200) + var propValue$199 = props[hasSrc]; + if (null != propValue$199) switch (hasSrc) { case "name": - hasSrcSet = propValue$200; + hasSrcSet = propValue$199; break; case "type": - propValue = propValue$200; + propValue = propValue$199; break; case "checked": - checked = propValue$200; + checked = propValue$199; break; case "defaultChecked": - defaultChecked = propValue$200; + defaultChecked = propValue$199; break; case "value": - propKey = propValue$200; + propKey = propValue$199; break; case "defaultValue": - defaultValue = propValue$200; + defaultValue = propValue$199; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$200) + if (null != propValue$199) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$200, props, null); + setProp(domElement, tag, hasSrc, propValue$199, props, null); } } initInput( @@ -13769,14 +13761,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$200 in props) - props.hasOwnProperty(propValue$200) && - ((hasSrc = props[propValue$200]), + for (propValue$199 in props) + props.hasOwnProperty(propValue$199) && + ((hasSrc = props[propValue$199]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$200, + propValue$199, hasSrc, props, void 0 @@ -13824,14 +13816,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$217 in nextProps) { - var propKey = nextProps[propKey$217]; - lastProp = lastProps[propKey$217]; + for (var propKey$216 in nextProps) { + var propKey = nextProps[propKey$216]; + lastProp = lastProps[propKey$216]; if ( - nextProps.hasOwnProperty(propKey$217) && + nextProps.hasOwnProperty(propKey$216) && (null != propKey || null != lastProp) ) - switch (propKey$217) { + switch (propKey$216) { case "type": type = propKey; break; @@ -13860,7 +13852,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$217, + propKey$216, propKey, nextProps, lastProp @@ -13879,7 +13871,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$217 = null; + propKey = value = defaultValue = propKey$216 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -13910,7 +13902,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$217 = type; + propKey$216 = type; break; case "defaultValue": defaultValue = type; @@ -13931,15 +13923,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$217 - ? updateOptions(domElement, !!lastProps, propKey$217, !1) + null != propKey$216 + ? updateOptions(domElement, !!lastProps, propKey$216, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$217 = null; + propKey = propKey$216 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -13963,7 +13955,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$217 = name; + propKey$216 = name; break; case "defaultValue": propKey = name; @@ -13977,17 +13969,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$217, propKey); + updateTextarea(domElement, propKey$216, propKey); return; case "option": - for (var propKey$233 in lastProps) + for (var propKey$232 in lastProps) if ( - ((propKey$217 = lastProps[propKey$233]), - lastProps.hasOwnProperty(propKey$233) && - null != propKey$217 && - !nextProps.hasOwnProperty(propKey$233)) + ((propKey$216 = lastProps[propKey$232]), + lastProps.hasOwnProperty(propKey$232) && + null != propKey$216 && + !nextProps.hasOwnProperty(propKey$232)) ) - switch (propKey$233) { + switch (propKey$232) { case "selected": domElement.selected = !1; break; @@ -13995,33 +13987,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$233, + propKey$232, null, nextProps, - propKey$217 + propKey$216 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$217 = nextProps[lastDefaultValue]), + ((propKey$216 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$217 !== propKey && - (null != propKey$217 || null != propKey)) + propKey$216 !== propKey && + (null != propKey$216 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$217 && - "function" !== typeof propKey$217 && - "symbol" !== typeof propKey$217; + propKey$216 && + "function" !== typeof propKey$216 && + "symbol" !== typeof propKey$216; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$217, + propKey$216, nextProps, propKey ); @@ -14042,24 +14034,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$238 in lastProps) - (propKey$217 = lastProps[propKey$238]), - lastProps.hasOwnProperty(propKey$238) && - null != propKey$217 && - !nextProps.hasOwnProperty(propKey$238) && - setProp(domElement, tag, propKey$238, null, nextProps, propKey$217); + for (var propKey$237 in lastProps) + (propKey$216 = lastProps[propKey$237]), + lastProps.hasOwnProperty(propKey$237) && + null != propKey$216 && + !nextProps.hasOwnProperty(propKey$237) && + setProp(domElement, tag, propKey$237, null, nextProps, propKey$216); for (checked in nextProps) if ( - ((propKey$217 = nextProps[checked]), + ((propKey$216 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$217 !== propKey && - (null != propKey$217 || null != propKey)) + propKey$216 !== propKey && + (null != propKey$216 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$217) + if (null != propKey$216) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -14067,7 +14059,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$217, + propKey$216, nextProps, propKey ); @@ -14075,49 +14067,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$243 in lastProps) - (propKey$217 = lastProps[propKey$243]), - lastProps.hasOwnProperty(propKey$243) && - void 0 !== propKey$217 && - !nextProps.hasOwnProperty(propKey$243) && + for (var propKey$242 in lastProps) + (propKey$216 = lastProps[propKey$242]), + lastProps.hasOwnProperty(propKey$242) && + void 0 !== propKey$216 && + !nextProps.hasOwnProperty(propKey$242) && setPropOnCustomElement( domElement, tag, - propKey$243, + propKey$242, void 0, nextProps, - propKey$217 + propKey$216 ); for (defaultChecked in nextProps) - (propKey$217 = nextProps[defaultChecked]), + (propKey$216 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$217 === propKey || - (void 0 === propKey$217 && void 0 === propKey) || + propKey$216 === propKey || + (void 0 === propKey$216 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$217, + propKey$216, nextProps, propKey ); return; } } - for (var propKey$248 in lastProps) - (propKey$217 = lastProps[propKey$248]), - lastProps.hasOwnProperty(propKey$248) && - null != propKey$217 && - !nextProps.hasOwnProperty(propKey$248) && - setProp(domElement, tag, propKey$248, null, nextProps, propKey$217); + for (var propKey$247 in lastProps) + (propKey$216 = lastProps[propKey$247]), + lastProps.hasOwnProperty(propKey$247) && + null != propKey$216 && + !nextProps.hasOwnProperty(propKey$247) && + setProp(domElement, tag, propKey$247, null, nextProps, propKey$216); for (lastProp in nextProps) - (propKey$217 = nextProps[lastProp]), + (propKey$216 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$217 === propKey || - (null == propKey$217 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$217, nextProps, propKey); + propKey$216 === propKey || + (null == propKey$216 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$216, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -14662,26 +14654,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$256 = getResourcesFromRoot( + var styles$255 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$257 = styles$256.get(type); - resource$257 || + resource$256 = styles$255.get(type); + resource$256 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$257 = { + (resource$256 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$256.set(type, resource$257), - (styles$256 = JSCompiler_inline_result.querySelector( + styles$255.set(type, resource$256), + (styles$255 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$256._p && - ((resource$257.instance = styles$256), - (resource$257.state.loading = 5)), + !styles$255._p && + ((resource$256.instance = styles$255), + (resource$256.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -14694,16 +14686,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$256 || + styles$255 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$257.state + resource$256.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$257; + return resource$256; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -14800,37 +14792,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$262 = hoistableRoot.querySelector( + var instance$261 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$262) + if (instance$261) return ( (resource.state.loading |= 4), - (resource.instance = instance$262), - markNodeAsHoistable(instance$262), - instance$262 + (resource.instance = instance$261), + markNodeAsHoistable(instance$261), + instance$261 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$262 = ( + instance$261 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$262); - var linkInstance = instance$262; + markNodeAsHoistable(instance$261); + var linkInstance = instance$261; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$262, "link", instance); + setInitialProperties(instance$261, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$262, props.precedence, hoistableRoot); - return (resource.instance = instance$262); + insertStylesheet(instance$261, props.precedence, hoistableRoot); + return (resource.instance = instance$261); case "script": - instance$262 = getScriptKey(props.src); + instance$261 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$262) + getScriptSelectorFromKey(instance$261) )) ) return ( @@ -14839,7 +14831,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$262))) + if ((styleProps = preloadPropsMap.get(instance$261))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -15879,16 +15871,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1700 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1699 = React.version; if ( - "19.0.0-experimental-5dcb0097-20240918" !== - isomorphicReactPackageVersion$jscomp$inline_1700 + "19.0.0-experimental-e740d4b1-20240919" !== + isomorphicReactPackageVersion$jscomp$inline_1699 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1700, - "19.0.0-experimental-5dcb0097-20240918" + isomorphicReactPackageVersion$jscomp$inline_1699, + "19.0.0-experimental-e740d4b1-20240919" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15908,25 +15900,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2125 = { +var internals$jscomp$inline_2124 = { bundleType: 0, - version: "19.0.0-experimental-5dcb0097-20240918", + version: "19.0.0-experimental-e740d4b1-20240919", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5dcb0097-20240918" + reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2126 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2125 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2126.isDisabled && - hook$jscomp$inline_2126.supportsFiber + !hook$jscomp$inline_2125.isDisabled && + hook$jscomp$inline_2125.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2126.inject( - internals$jscomp$inline_2125 + (rendererID = hook$jscomp$inline_2125.inject( + internals$jscomp$inline_2124 )), - (injectedHook = hook$jscomp$inline_2126); + (injectedHook = hook$jscomp$inline_2125); } catch (err) {} } function noop() {} @@ -16179,7 +16171,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js index 3ee52c00258a6..f34176d792ee8 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.development.js @@ -9290,5 +9290,5 @@ '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-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js index b282ff566ca6e..13bb78def450e 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.browser.production.js @@ -6054,4 +6054,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-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js index 8823b80e4b24a..1900b45d02754 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.development.js @@ -9290,5 +9290,5 @@ '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 "renderToPipeableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js index b5744830c23e3..ceb6aa2e1845b 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server-legacy.node.production.js @@ -6146,4 +6146,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 "renderToPipeableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js index 57ed34433a373..beb0105ab01a7 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.development.js @@ -8190,11 +8190,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -9974,5 +9974,5 @@ startWork(request); }); }; - exports.version = "19.0.0-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js index b490c9858fbc0..9e6c77953b627 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.browser.production.js @@ -6585,12 +6585,12 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion, - "19.0.0-experimental-5dcb0097-20240918" + "19.0.0-experimental-e740d4b1-20240919" ) ); } @@ -6845,4 +6845,4 @@ exports.resumeAndPrerender = function (children, postponedState, options) { startWork(request); }); }; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js index 5c98cad35dabc..a5d700c494f99 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.bun.production.js @@ -6067,13 +6067,13 @@ function addToReplayParent(node, parentKeyPath, trackedPostpones) { } var isomorphicReactPackageVersion$jscomp$inline_783 = React.version; if ( - "19.0.0-experimental-5dcb0097-20240918" !== + "19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion$jscomp$inline_783 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_783 + - "\n - react-dom: 19.0.0-experimental-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -6161,4 +6161,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js index a16f2f6693785..0b2a53bfdc75f 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.development.js @@ -8213,11 +8213,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); } var React = require("next/dist/compiled/react-experimental"), @@ -10004,5 +10004,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.0.0-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js index cd79422a50841..183b6725bc995 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.edge.production.js @@ -6693,11 +6693,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6962,4 +6962,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js index 127bd6c5625bb..1f9ba315db28e 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.development.js @@ -8071,11 +8071,11 @@ } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); } function createDrainHandler(destination, request) { @@ -9848,5 +9848,5 @@ } }; }; - exports.version = "19.0.0-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js index 6c992ea580290..2789a0233d97c 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-server.node.production.js @@ -6566,11 +6566,11 @@ function getPostponedState(request) { } function ensureCorrectIsomorphicReactVersion() { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); } ensureCorrectIsomorphicReactVersion(); @@ -6821,4 +6821,4 @@ exports.resumeToPipeableStream = function (children, postponedState, options) { } }; }; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js index 04a9790662b7b..1dcb049c90b08 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.development.js @@ -352,16 +352,16 @@ } else { try { Fake.call(); - } catch (x$1) { - control = x$1; + } catch (x$0) { + control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); - } catch (x$2) { - control = x$2; + } catch (x$1) { + control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && @@ -3606,41 +3606,28 @@ : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmp147699024$1, $jscomp$nullish$tmp0; containerInfo = - null != - ($jscomp$nullish$tmp0 = - null == containerInfo - ? void 0 - : null == - ($jscomp$optchain$tmp147699024$1 = containerInfo.ownerDocument) - ? void 0 - : $jscomp$optchain$tmp147699024$1.defaultView) - ? $jscomp$nullish$tmp0 + null != containerInfo && + null != containerInfo.ownerDocument && + null != containerInfo.ownerDocument.defaultView + ? containerInfo.ownerDocument.defaultView : window; for ( - $jscomp$optchain$tmp147699024$1 = getActiveElement( - containerInfo.document - ); - $jscomp$optchain$tmp147699024$1 instanceof - containerInfo.HTMLIFrameElement; + var element = getActiveElement(containerInfo.document); + element instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = - "string" === - typeof $jscomp$optchain$tmp147699024$1.contentWindow.location.href; + "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } - if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmp147699024$1.contentWindow; + if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; - $jscomp$optchain$tmp147699024$1 = getActiveElement( - containerInfo.document - ); + element = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmp147699024$1; + return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -6658,8 +6645,8 @@ try { (currentTransition = action(prevState, payload)), handleActionReturnValue(actionQueue, node, currentTransition); - } catch (error$4) { - onActionError(actionQueue, node, error$4); + } catch (error$3) { + onActionError(actionQueue, node, error$3); } } function handleActionReturnValue(actionQueue, node, returnValue) { @@ -7641,9 +7628,9 @@ var onUncaughtError = root.onUncaughtError; onUncaughtError(error, { componentStack: errorInfo.stack }); } - } catch (e$5) { + } catch (e$4) { setTimeout(function () { - throw e$5; + throw e$4; }); } } @@ -7658,9 +7645,9 @@ componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); - } catch (e$6) { + } catch (e$5) { setTimeout(function () { - throw e$6; + throw e$5; }); } } @@ -8868,33 +8855,33 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_componentStack_2273; - var JSCompiler_object_inline_stack_2272 = workInProgress.pendingProps; + var JSCompiler_object_inline_componentStack_2272; + var JSCompiler_object_inline_stack_2271 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_message_2270 = !1; + var JSCompiler_object_inline_message_2269 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_componentStack_2273 = didSuspend) || - (JSCompiler_object_inline_componentStack_2273 = + (JSCompiler_object_inline_componentStack_2272 = didSuspend) || + (JSCompiler_object_inline_componentStack_2272 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_componentStack_2273 && - ((JSCompiler_object_inline_message_2270 = !0), + JSCompiler_object_inline_componentStack_2272 && + ((JSCompiler_object_inline_message_2269 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_componentStack_2273 = + JSCompiler_object_inline_componentStack_2272 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_message_2270 + JSCompiler_object_inline_message_2269 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_digest_2271 = nextHydratableInstance; + var JSCompiler_object_inline_digest_2270 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2271)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_digest_2270)) { c: { - var instance = JSCompiler_object_inline_digest_2271; + var instance = JSCompiler_object_inline_digest_2270; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8935,19 +8922,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_digest_2271 + JSCompiler_object_inline_digest_2270 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_digest_2271 = workInProgress.memoizedState; + JSCompiler_object_inline_digest_2270 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_digest_2271 && - ((JSCompiler_object_inline_digest_2271 = - JSCompiler_object_inline_digest_2271.dehydrated), - null !== JSCompiler_object_inline_digest_2271) + null !== JSCompiler_object_inline_digest_2270 && + ((JSCompiler_object_inline_digest_2270 = + JSCompiler_object_inline_digest_2270.dehydrated), + null !== JSCompiler_object_inline_digest_2270) ) return ( - JSCompiler_object_inline_digest_2271.data === + JSCompiler_object_inline_digest_2270.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8955,68 +8942,68 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_digest_2271 = - JSCompiler_object_inline_stack_2272.children; - JSCompiler_temp = JSCompiler_object_inline_stack_2272.fallback; - if (JSCompiler_object_inline_message_2270) + JSCompiler_object_inline_digest_2270 = + JSCompiler_object_inline_stack_2271.children; + JSCompiler_temp = JSCompiler_object_inline_stack_2271.fallback; + if (JSCompiler_object_inline_message_2269) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2272 = + (JSCompiler_object_inline_stack_2271 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2271, + JSCompiler_object_inline_digest_2270, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2270 = workInProgress.child), - (JSCompiler_object_inline_message_2270.memoizedState = + (JSCompiler_object_inline_message_2269 = workInProgress.child), + (JSCompiler_object_inline_message_2269.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2270.childLanes = + (JSCompiler_object_inline_message_2269.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2273, + JSCompiler_object_inline_componentStack_2272, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2272 + JSCompiler_object_inline_stack_2271 ); if ( "number" === - typeof JSCompiler_object_inline_stack_2272.unstable_expectedLoadTime + typeof JSCompiler_object_inline_stack_2271.unstable_expectedLoadTime ) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_stack_2272 = + (JSCompiler_object_inline_stack_2271 = mountSuspenseFallbackChildren( workInProgress, - JSCompiler_object_inline_digest_2271, + JSCompiler_object_inline_digest_2270, JSCompiler_temp, renderLanes )), - (JSCompiler_object_inline_message_2270 = workInProgress.child), - (JSCompiler_object_inline_message_2270.memoizedState = + (JSCompiler_object_inline_message_2269 = workInProgress.child), + (JSCompiler_object_inline_message_2269.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_message_2270.childLanes = + (JSCompiler_object_inline_message_2269.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2273, + JSCompiler_object_inline_componentStack_2272, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress.lanes = 4194304), - JSCompiler_object_inline_stack_2272 + JSCompiler_object_inline_stack_2271 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_digest_2271 + JSCompiler_object_inline_digest_2270 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_digest_2271 = prevState.dehydrated), - null !== JSCompiler_object_inline_digest_2271) + ((JSCompiler_object_inline_digest_2270 = prevState.dehydrated), + null !== JSCompiler_object_inline_digest_2270) ) { if (didSuspend) workInProgress.flags & 256 @@ -9033,94 +9020,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2270 = - JSCompiler_object_inline_stack_2272.fallback), - (JSCompiler_object_inline_digest_2271 = workInProgress.mode), - (JSCompiler_object_inline_stack_2272 = + (JSCompiler_object_inline_message_2269 = + JSCompiler_object_inline_stack_2271.fallback), + (JSCompiler_object_inline_digest_2270 = workInProgress.mode), + (JSCompiler_object_inline_stack_2271 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2272.children + children: JSCompiler_object_inline_stack_2271.children }, - JSCompiler_object_inline_digest_2271 + JSCompiler_object_inline_digest_2270 )), - (JSCompiler_object_inline_message_2270 = + (JSCompiler_object_inline_message_2269 = createFiberFromFragment( - JSCompiler_object_inline_message_2270, - JSCompiler_object_inline_digest_2271, + JSCompiler_object_inline_message_2269, + JSCompiler_object_inline_digest_2270, renderLanes, null )), - (JSCompiler_object_inline_message_2270.flags |= 2), - (JSCompiler_object_inline_stack_2272.return = workInProgress), - (JSCompiler_object_inline_message_2270.return = workInProgress), - (JSCompiler_object_inline_stack_2272.sibling = - JSCompiler_object_inline_message_2270), - (workInProgress.child = JSCompiler_object_inline_stack_2272), + (JSCompiler_object_inline_message_2269.flags |= 2), + (JSCompiler_object_inline_stack_2271.return = workInProgress), + (JSCompiler_object_inline_message_2269.return = workInProgress), + (JSCompiler_object_inline_stack_2271.sibling = + JSCompiler_object_inline_message_2269), + (workInProgress.child = JSCompiler_object_inline_stack_2271), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2272 = workInProgress.child), - (JSCompiler_object_inline_stack_2272.memoizedState = + (JSCompiler_object_inline_stack_2271 = workInProgress.child), + (JSCompiler_object_inline_stack_2271.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2272.childLanes = + (JSCompiler_object_inline_stack_2271.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2273, + JSCompiler_object_inline_componentStack_2272, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - (workInProgress = JSCompiler_object_inline_message_2270)); + (workInProgress = JSCompiler_object_inline_message_2269)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_digest_2271.data === + JSCompiler_object_inline_digest_2270.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_componentStack_2273 = - JSCompiler_object_inline_digest_2271.nextSibling && - JSCompiler_object_inline_digest_2271.nextSibling.dataset; - if (JSCompiler_object_inline_componentStack_2273) { - JSCompiler_temp = JSCompiler_object_inline_componentStack_2273.dgst; - var message = JSCompiler_object_inline_componentStack_2273.msg; - instance = JSCompiler_object_inline_componentStack_2273.stck; + JSCompiler_object_inline_componentStack_2272 = + JSCompiler_object_inline_digest_2270.nextSibling && + JSCompiler_object_inline_digest_2270.nextSibling.dataset; + if (JSCompiler_object_inline_componentStack_2272) { + JSCompiler_temp = JSCompiler_object_inline_componentStack_2272.dgst; + var message = JSCompiler_object_inline_componentStack_2272.msg; + instance = JSCompiler_object_inline_componentStack_2272.stck; var componentStack = - JSCompiler_object_inline_componentStack_2273.cstck; + JSCompiler_object_inline_componentStack_2272.cstck; } - JSCompiler_object_inline_message_2270 = message; - JSCompiler_object_inline_digest_2271 = JSCompiler_temp; - JSCompiler_object_inline_stack_2272 = instance; - JSCompiler_object_inline_componentStack_2273 = componentStack; - "POSTPONE" !== JSCompiler_object_inline_digest_2271 && - ((JSCompiler_object_inline_message_2270 = - JSCompiler_object_inline_message_2270 - ? Error(JSCompiler_object_inline_message_2270) + JSCompiler_object_inline_message_2269 = message; + JSCompiler_object_inline_digest_2270 = JSCompiler_temp; + JSCompiler_object_inline_stack_2271 = instance; + JSCompiler_object_inline_componentStack_2272 = componentStack; + "POSTPONE" !== JSCompiler_object_inline_digest_2270 && + ((JSCompiler_object_inline_message_2269 = + JSCompiler_object_inline_message_2269 + ? Error(JSCompiler_object_inline_message_2269) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." )), - (JSCompiler_object_inline_message_2270.stack = - JSCompiler_object_inline_stack_2272 || ""), - (JSCompiler_object_inline_message_2270.digest = - JSCompiler_object_inline_digest_2271), - (JSCompiler_object_inline_componentStack_2273 = - void 0 === JSCompiler_object_inline_componentStack_2273 + (JSCompiler_object_inline_message_2269.stack = + JSCompiler_object_inline_stack_2271 || ""), + (JSCompiler_object_inline_message_2269.digest = + JSCompiler_object_inline_digest_2270), + (JSCompiler_object_inline_componentStack_2272 = + void 0 === JSCompiler_object_inline_componentStack_2272 ? null - : JSCompiler_object_inline_componentStack_2273), - "string" === typeof JSCompiler_object_inline_componentStack_2273 && + : JSCompiler_object_inline_componentStack_2272), + "string" === typeof JSCompiler_object_inline_componentStack_2272 && CapturedStacks.set( - JSCompiler_object_inline_message_2270, - JSCompiler_object_inline_componentStack_2273 + JSCompiler_object_inline_message_2269, + JSCompiler_object_inline_componentStack_2272 ), queueHydrationError({ - value: JSCompiler_object_inline_message_2270, + value: JSCompiler_object_inline_message_2269, source: null, - stack: JSCompiler_object_inline_componentStack_2273 + stack: JSCompiler_object_inline_componentStack_2272 })); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9135,25 +9122,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_componentStack_2273 = + (JSCompiler_object_inline_componentStack_2272 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_componentStack_2273) + didReceiveUpdate || JSCompiler_object_inline_componentStack_2272) ) { - JSCompiler_object_inline_componentStack_2273 = workInProgressRoot; - if (null !== JSCompiler_object_inline_componentStack_2273) { - JSCompiler_object_inline_stack_2272 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2272 & 42)) - JSCompiler_object_inline_stack_2272 = 1; + JSCompiler_object_inline_componentStack_2272 = workInProgressRoot; + if (null !== JSCompiler_object_inline_componentStack_2272) { + JSCompiler_object_inline_stack_2271 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2271 & 42)) + JSCompiler_object_inline_stack_2271 = 1; else - switch (JSCompiler_object_inline_stack_2272) { + switch (JSCompiler_object_inline_stack_2271) { case 2: - JSCompiler_object_inline_stack_2272 = 1; + JSCompiler_object_inline_stack_2271 = 1; break; case 8: - JSCompiler_object_inline_stack_2272 = 4; + JSCompiler_object_inline_stack_2271 = 4; break; case 32: - JSCompiler_object_inline_stack_2272 = 16; + JSCompiler_object_inline_stack_2271 = 16; break; case 128: case 256: @@ -9174,40 +9161,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2272 = 64; + JSCompiler_object_inline_stack_2271 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2272 = 134217728; + JSCompiler_object_inline_stack_2271 = 134217728; break; default: - JSCompiler_object_inline_stack_2272 = 0; + JSCompiler_object_inline_stack_2271 = 0; } - JSCompiler_object_inline_stack_2272 = + JSCompiler_object_inline_stack_2271 = 0 !== - (JSCompiler_object_inline_stack_2272 & - (JSCompiler_object_inline_componentStack_2273.suspendedLanes | + (JSCompiler_object_inline_stack_2271 & + (JSCompiler_object_inline_componentStack_2272.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2272; + : JSCompiler_object_inline_stack_2271; if ( - 0 !== JSCompiler_object_inline_stack_2272 && - JSCompiler_object_inline_stack_2272 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2271 && + JSCompiler_object_inline_stack_2271 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2272), + ((prevState.retryLane = JSCompiler_object_inline_stack_2271), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2272 + JSCompiler_object_inline_stack_2271 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_componentStack_2273, + JSCompiler_object_inline_componentStack_2272, current, - JSCompiler_object_inline_stack_2272 + JSCompiler_object_inline_stack_2271 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_digest_2271.data === + JSCompiler_object_inline_digest_2270.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -9215,7 +9202,7 @@ renderLanes ); } else - JSCompiler_object_inline_digest_2271.data === + JSCompiler_object_inline_digest_2270.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -9223,12 +9210,12 @@ null, current )), - (JSCompiler_object_inline_digest_2271._reactRetry = + (JSCompiler_object_inline_digest_2270._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_digest_2271.nextSibling + JSCompiler_object_inline_digest_2270.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9246,54 +9233,54 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2272.children + JSCompiler_object_inline_stack_2271.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_message_2270) + if (JSCompiler_object_inline_message_2269) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_message_2270 = - JSCompiler_object_inline_stack_2272.fallback), - (JSCompiler_object_inline_digest_2271 = workInProgress.mode), + (JSCompiler_object_inline_message_2269 = + JSCompiler_object_inline_stack_2271.fallback), + (JSCompiler_object_inline_digest_2270 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2272 = createWorkInProgress( + (JSCompiler_object_inline_stack_2271 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2272.children + children: JSCompiler_object_inline_stack_2271.children } )), - (JSCompiler_object_inline_stack_2272.subtreeFlags = + (JSCompiler_object_inline_stack_2271.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_message_2270 = createWorkInProgress( + ? (JSCompiler_object_inline_message_2269 = createWorkInProgress( instance, - JSCompiler_object_inline_message_2270 + JSCompiler_object_inline_message_2269 )) - : ((JSCompiler_object_inline_message_2270 = createFiberFromFragment( - JSCompiler_object_inline_message_2270, - JSCompiler_object_inline_digest_2271, + : ((JSCompiler_object_inline_message_2269 = createFiberFromFragment( + JSCompiler_object_inline_message_2269, + JSCompiler_object_inline_digest_2270, renderLanes, null )), - (JSCompiler_object_inline_message_2270.flags |= 2)), - (JSCompiler_object_inline_message_2270.return = workInProgress), - (JSCompiler_object_inline_stack_2272.return = workInProgress), - (JSCompiler_object_inline_stack_2272.sibling = - JSCompiler_object_inline_message_2270), - (workInProgress.child = JSCompiler_object_inline_stack_2272), - (JSCompiler_object_inline_stack_2272 = - JSCompiler_object_inline_message_2270), - (JSCompiler_object_inline_message_2270 = workInProgress.child), - (JSCompiler_object_inline_digest_2271 = current.child.memoizedState), - null === JSCompiler_object_inline_digest_2271 - ? (JSCompiler_object_inline_digest_2271 = + (JSCompiler_object_inline_message_2269.flags |= 2)), + (JSCompiler_object_inline_message_2269.return = workInProgress), + (JSCompiler_object_inline_stack_2271.return = workInProgress), + (JSCompiler_object_inline_stack_2271.sibling = + JSCompiler_object_inline_message_2269), + (workInProgress.child = JSCompiler_object_inline_stack_2271), + (JSCompiler_object_inline_stack_2271 = + JSCompiler_object_inline_message_2269), + (JSCompiler_object_inline_message_2269 = workInProgress.child), + (JSCompiler_object_inline_digest_2270 = current.child.memoizedState), + null === JSCompiler_object_inline_digest_2270 + ? (JSCompiler_object_inline_digest_2270 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_digest_2271.cachePool), + JSCompiler_object_inline_digest_2270.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9301,38 +9288,38 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_digest_2271 = { + (JSCompiler_object_inline_digest_2270 = { baseLanes: - JSCompiler_object_inline_digest_2271.baseLanes | renderLanes, + JSCompiler_object_inline_digest_2270.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_message_2270.memoizedState = - JSCompiler_object_inline_digest_2271), - (JSCompiler_object_inline_message_2270.childLanes = + (JSCompiler_object_inline_message_2269.memoizedState = + JSCompiler_object_inline_digest_2270), + (JSCompiler_object_inline_message_2269.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_componentStack_2273, + JSCompiler_object_inline_componentStack_2272, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2272 + JSCompiler_object_inline_stack_2271 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2272.children + children: JSCompiler_object_inline_stack_2271.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_componentStack_2273 = + ((JSCompiler_object_inline_componentStack_2272 = workInProgress.deletions), - null === JSCompiler_object_inline_componentStack_2273 + null === JSCompiler_object_inline_componentStack_2272 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_componentStack_2273.push(current)); + : JSCompiler_object_inline_componentStack_2272.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11245,8 +11232,8 @@ recordEffectDuration(current); } else runWithFiberInDEV(current, ref, null); - } catch (error$7) { - captureCommitPhaseError(current, nearestMountedAncestor, error$7); + } catch (error$6) { + captureCommitPhaseError(current, nearestMountedAncestor, error$6); } else ref.current = null; } @@ -11466,7 +11453,7 @@ selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; - } catch (e$3) { + } catch (e$2) { JSCompiler_temp = null; break a; } @@ -15338,8 +15325,8 @@ } workLoopSync(); break; - } catch (thrownValue$9) { - handleThrow(root, thrownValue$9); + } catch (thrownValue$8) { + handleThrow(root, thrownValue$8); } while (1); lanes && root.shellSuspendCounter++; @@ -15497,8 +15484,8 @@ ? workLoopSync() : workLoopConcurrent(); break; - } catch (thrownValue$10) { - handleThrow(root, thrownValue$10); + } catch (thrownValue$9) { + handleThrow(root, thrownValue$9); } while (1); resetContextDependencies(); @@ -24452,7 +24439,7 @@ var nonExtensibleObject = Object.preventExtensions({}); new Map([[nonExtensibleObject, null]]); new Set([nonExtensibleObject]); - } catch (e$8) { + } catch (e$7) { hasBadMapPolyfill = !0; } var DefaultAsyncDispatcher = { @@ -25085,11 +25072,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-experimental-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-experimental-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-experimental-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-experimental-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -25126,11 +25113,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-experimental-5dcb0097-20240918", + version: "19.0.0-experimental-e740d4b1-20240919", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5dcb0097-20240918" + reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25438,5 +25425,5 @@ } }; }; - exports.version = "19.0.0-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js index c488914b3feb5..ac17328df4d9f 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom-unstable_testing.production.js @@ -166,16 +166,16 @@ function describeNativeComponentFrame(fn, construct) { } else { try { Fake.call(); - } catch (x$1) { - control = x$1; + } catch (x$0) { + control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); - } catch (x$2) { - control = x$2; + } catch (x$1) { + control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && @@ -364,36 +364,36 @@ function findCurrentFiberUsingSlowPath(fiber) { } if (a.return !== b.return) (a = parentA), (b = parentB); else { - for (var didFindChild = !1, child$3 = parentA.child; child$3; ) { - if (child$3 === a) { + for (var didFindChild = !1, child$2 = parentA.child; child$2; ) { + if (child$2 === a) { didFindChild = !0; a = parentA; b = parentB; break; } - if (child$3 === b) { + if (child$2 === b) { didFindChild = !0; b = parentA; a = parentB; break; } - child$3 = child$3.sibling; + child$2 = child$2.sibling; } if (!didFindChild) { - for (child$3 = parentB.child; child$3; ) { - if (child$3 === a) { + for (child$2 = parentB.child; child$2; ) { + if (child$2 === a) { didFindChild = !0; a = parentB; b = parentA; break; } - if (child$3 === b) { + if (child$2 === b) { didFindChild = !0; b = parentB; a = parentA; break; } - child$3 = child$3.sibling; + child$2 = child$2.sibling; } if (!didFindChild) throw Error(formatProdErrorMessage(189)); } @@ -721,18 +721,18 @@ function markRootFinished( 0 < remainingLanes; ) { - var index$8 = 31 - clz32(remainingLanes), - lane = 1 << index$8; - entanglements[index$8] = 0; - expirationTimes[index$8] = -1; - var hiddenUpdatesForLane = hiddenUpdates[index$8]; + var index$7 = 31 - clz32(remainingLanes), + lane = 1 << index$7; + entanglements[index$7] = 0; + expirationTimes[index$7] = -1; + var hiddenUpdatesForLane = hiddenUpdates[index$7]; if (null !== hiddenUpdatesForLane) for ( - hiddenUpdates[index$8] = null, index$8 = 0; - index$8 < hiddenUpdatesForLane.length; - index$8++ + hiddenUpdates[index$7] = null, index$7 = 0; + index$7 < hiddenUpdatesForLane.length; + index$7++ ) { - var update = hiddenUpdatesForLane[index$8]; + var update = hiddenUpdatesForLane[index$7]; null !== update && (update.lane &= -536870913); } remainingLanes &= ~lane; @@ -757,10 +757,10 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); for (root = root.entanglements; rootEntangledLanes; ) { - var index$9 = 31 - clz32(rootEntangledLanes), - lane = 1 << index$9; - (lane & entangledLanes) | (root[index$9] & entangledLanes) && - (root[index$9] |= entangledLanes); + var index$8 = 31 - clz32(rootEntangledLanes), + lane = 1 << index$8; + (lane & entangledLanes) | (root[index$8] & entangledLanes) && + (root[index$8] |= entangledLanes); rootEntangledLanes &= ~lane; } } @@ -996,8 +996,8 @@ function setValueForAttribute(node, name, value) { node.removeAttribute(name); return; case "boolean": - var prefix$11 = name.toLowerCase().slice(0, 5); - if ("data-" !== prefix$11 && "aria-" !== prefix$11) { + var prefix$10 = name.toLowerCase().slice(0, 5); + if ("data-" !== prefix$10 && "aria-" !== prefix$10) { node.removeAttribute(name); return; } @@ -1330,15 +1330,15 @@ function setValueForStyles(node, styles, prevStyles) { : "float" === styleName ? (node.cssFloat = "") : (node[styleName] = "")); - for (var styleName$17 in styles) - (styleName = styles[styleName$17]), - styles.hasOwnProperty(styleName$17) && - prevStyles[styleName$17] !== styleName && - setValueForStyle(node, styleName$17, styleName); + for (var styleName$16 in styles) + (styleName = styles[styleName$16]), + styles.hasOwnProperty(styleName$16) && + prevStyles[styleName$16] !== styleName && + setValueForStyle(node, styleName$16, styleName); } else - for (var styleName$18 in styles) - styles.hasOwnProperty(styleName$18) && - setValueForStyle(node, styleName$18, styles[styleName$18]); + for (var styleName$17 in styles) + styles.hasOwnProperty(styleName$17) && + setValueForStyle(node, styleName$17, styles[styleName$17]); } function isCustomElement(tagName) { if (-1 === tagName.indexOf("-")) return !1; @@ -2067,19 +2067,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$283; + var JSCompiler_inline_result$jscomp$282; if (canUseDOM) { - var isSupported$jscomp$inline_422 = "oninput" in document; - if (!isSupported$jscomp$inline_422) { - var element$jscomp$inline_423 = document.createElement("div"); - element$jscomp$inline_423.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_422 = - "function" === typeof element$jscomp$inline_423.oninput; + var isSupported$jscomp$inline_421 = "oninput" in document; + if (!isSupported$jscomp$inline_421) { + var element$jscomp$inline_422 = document.createElement("div"); + element$jscomp$inline_422.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_421 = + "function" === typeof element$jscomp$inline_422.oninput; } - JSCompiler_inline_result$jscomp$283 = isSupported$jscomp$inline_422; - } else JSCompiler_inline_result$jscomp$283 = !1; + JSCompiler_inline_result$jscomp$282 = isSupported$jscomp$inline_421; + } else JSCompiler_inline_result$jscomp$282 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$283 && + JSCompiler_inline_result$jscomp$282 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -2194,36 +2194,28 @@ function containsNode(outerNode, innerNode) { : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmp2021609766$1, $jscomp$nullish$tmp0; containerInfo = - null != - ($jscomp$nullish$tmp0 = - null == containerInfo - ? void 0 - : null == - ($jscomp$optchain$tmp2021609766$1 = containerInfo.ownerDocument) - ? void 0 - : $jscomp$optchain$tmp2021609766$1.defaultView) - ? $jscomp$nullish$tmp0 + null != containerInfo && + null != containerInfo.ownerDocument && + null != containerInfo.ownerDocument.defaultView + ? containerInfo.ownerDocument.defaultView : window; for ( - $jscomp$optchain$tmp2021609766$1 = getActiveElement(containerInfo.document); - $jscomp$optchain$tmp2021609766$1 instanceof containerInfo.HTMLIFrameElement; + var element = getActiveElement(containerInfo.document); + element instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = - "string" === - typeof $jscomp$optchain$tmp2021609766$1.contentWindow.location.href; + "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } - if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmp2021609766$1.contentWindow; + if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; - $jscomp$optchain$tmp2021609766$1 = getActiveElement(containerInfo.document); + element = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmp2021609766$1; + return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -4027,7 +4019,7 @@ function updateReducerImpl(hook, current, reducer) { var newBaseQueueFirst = (baseFirst = null), newBaseQueueLast = null, update = current, - didReadFromEntangledAsyncAction$56 = !1; + didReadFromEntangledAsyncAction$55 = !1; do { var updateLane = update.lane & -536870913; if ( @@ -4048,11 +4040,11 @@ function updateReducerImpl(hook, current, reducer) { next: null }), updateLane === currentEntangledLane && - (didReadFromEntangledAsyncAction$56 = !0); + (didReadFromEntangledAsyncAction$55 = !0); else if ((renderLanes & revertLane) === revertLane) { update = update.next; revertLane === currentEntangledLane && - (didReadFromEntangledAsyncAction$56 = !0); + (didReadFromEntangledAsyncAction$55 = !0); continue; } else (updateLane = { @@ -4098,7 +4090,7 @@ function updateReducerImpl(hook, current, reducer) { if ( !objectIs(pendingQueue, hook.memoizedState) && ((didReceiveUpdate = !0), - didReadFromEntangledAsyncAction$56 && + didReadFromEntangledAsyncAction$55 && ((reducer = currentEntangledActionThenable), null !== reducer)) ) throw reducer; @@ -4296,8 +4288,8 @@ function runActionStateAction(actionQueue, node) { try { (prevTransition = action(prevState, payload)), handleActionReturnValue(actionQueue, node, prevTransition); - } catch (error$62) { - onActionError(actionQueue, node, error$62); + } catch (error$61) { + onActionError(actionQueue, node, error$61); } } function handleActionReturnValue(actionQueue, node, returnValue) { @@ -4734,14 +4726,14 @@ function refreshCache(fiber, seedKey, seedValue) { case 3: var lane = requestUpdateLane(); fiber = createUpdate(lane); - var root$65 = enqueueUpdate(provider, fiber, lane); - null !== root$65 && - (scheduleUpdateOnFiber(root$65, provider, lane), - entangleTransitions(root$65, provider, lane)); + var root$64 = enqueueUpdate(provider, fiber, lane); + null !== root$64 && + (scheduleUpdateOnFiber(root$64, provider, lane), + entangleTransitions(root$64, provider, lane)); provider = createCache(); null !== seedKey && void 0 !== seedKey && - null !== root$65 && + null !== root$64 && provider.data.set(seedKey, seedValue); fiber.payload = { cache: provider }; return; @@ -5264,9 +5256,9 @@ function resolveClassComponentProps(Component, baseProps) { } if ((Component = Component.defaultProps)) { newProps === baseProps && (newProps = assign({}, newProps)); - for (var propName$69 in Component) - void 0 === newProps[propName$69] && - (newProps[propName$69] = Component[propName$69]); + for (var propName$68 in Component) + void 0 === newProps[propName$68] && + (newProps[propName$68] = Component[propName$68]); } return newProps; } @@ -5312,9 +5304,9 @@ function logUncaughtError(root, errorInfo) { try { var onUncaughtError = root.onUncaughtError; onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack }); - } catch (e$70) { + } catch (e$69) { setTimeout(function () { - throw e$70; + throw e$69; }); } } @@ -5325,9 +5317,9 @@ function logCaughtError(root, boundary, errorInfo) { componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); - } catch (e$71) { + } catch (e$70) { setTimeout(function () { - throw e$71; + throw e$70; }); } } @@ -7793,8 +7785,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { else if ("function" === typeof ref) try { ref(null); - } catch (error$116) { - captureCommitPhaseError(current, nearestMountedAncestor, error$116); + } catch (error$115) { + captureCommitPhaseError(current, nearestMountedAncestor, error$115); } else ref.current = null; } @@ -7928,7 +7920,7 @@ function commitBeforeMutationEffects(root, firstChild) { selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; - } catch (e$21) { + } catch (e$20) { JSCompiler_temp = null; break a; } @@ -8103,11 +8095,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$115) { + } catch (error$114) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$115 + error$114 ); } } @@ -8261,7 +8253,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); case 6: prevHostParentIsContainer = hostParent; - var prevHostParentIsContainer$123 = hostParentIsContainer; + var prevHostParentIsContainer$122 = hostParentIsContainer; hostParent = null; recursivelyTraverseDeletionEffects( finishedRoot, @@ -8269,7 +8261,7 @@ function commitDeletionEffectsOnFiber( deletedFiber ); hostParent = prevHostParentIsContainer; - hostParentIsContainer = prevHostParentIsContainer$123; + hostParentIsContainer = prevHostParentIsContainer$122; if (null !== hostParent) if (hostParentIsContainer) try { @@ -8897,21 +8889,21 @@ function commitReconciliationEffects(finishedWork) { insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0); break; case 5: - var parent$117 = JSCompiler_inline_result.stateNode; + var parent$116 = JSCompiler_inline_result.stateNode; JSCompiler_inline_result.flags & 32 && - (setTextContent(parent$117, ""), + (setTextContent(parent$116, ""), (JSCompiler_inline_result.flags &= -33)); - var before$118 = getHostSibling(finishedWork); - insertOrAppendPlacementNode(finishedWork, before$118, parent$117); + var before$117 = getHostSibling(finishedWork); + insertOrAppendPlacementNode(finishedWork, before$117, parent$116); break; case 3: case 4: - var parent$119 = JSCompiler_inline_result.stateNode.containerInfo, - before$120 = getHostSibling(finishedWork); + var parent$118 = JSCompiler_inline_result.stateNode.containerInfo, + before$119 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$120, - parent$119 + before$119, + parent$118 ); break; default: @@ -9826,14 +9818,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$135 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$135 = lastTailNode), + for (var lastTailNode$134 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$134 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$135 + null === lastTailNode$134 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$135.sibling = null); + : (lastTailNode$134.sibling = null); } } function bubbleProperties(completedWork) { @@ -9843,19 +9835,19 @@ function bubbleProperties(completedWork) { newChildLanes = 0, subtreeFlags = 0; if (didBailout) - for (var child$136 = completedWork.child; null !== child$136; ) - (newChildLanes |= child$136.lanes | child$136.childLanes), - (subtreeFlags |= child$136.subtreeFlags & 31457280), - (subtreeFlags |= child$136.flags & 31457280), - (child$136.return = completedWork), - (child$136 = child$136.sibling); + for (var child$135 = completedWork.child; null !== child$135; ) + (newChildLanes |= child$135.lanes | child$135.childLanes), + (subtreeFlags |= child$135.subtreeFlags & 31457280), + (subtreeFlags |= child$135.flags & 31457280), + (child$135.return = completedWork), + (child$135 = child$135.sibling); else - for (child$136 = completedWork.child; null !== child$136; ) - (newChildLanes |= child$136.lanes | child$136.childLanes), - (subtreeFlags |= child$136.subtreeFlags), - (subtreeFlags |= child$136.flags), - (child$136.return = completedWork), - (child$136 = child$136.sibling); + for (child$135 = completedWork.child; null !== child$135; ) + (newChildLanes |= child$135.lanes | child$135.childLanes), + (subtreeFlags |= child$135.subtreeFlags), + (subtreeFlags |= child$135.flags), + (child$135.return = completedWork), + (child$135 = child$135.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -10132,11 +10124,11 @@ function completeWork(current, workInProgress, renderLanes) { null !== newProps.alternate.memoizedState && null !== newProps.alternate.memoizedState.cachePool && (type = newProps.alternate.memoizedState.cachePool.pool); - var cache$148 = null; + var cache$147 = null; null !== newProps.memoizedState && null !== newProps.memoizedState.cachePool && - (cache$148 = newProps.memoizedState.cachePool.pool); - cache$148 !== type && (newProps.flags |= 2048); + (cache$147 = newProps.memoizedState.cachePool.pool); + cache$147 !== type && (newProps.flags |= 2048); } renderLanes !== current && renderLanes && @@ -10161,8 +10153,8 @@ function completeWork(current, workInProgress, renderLanes) { type = workInProgress.memoizedState; if (null === type) return bubbleProperties(workInProgress), null; newProps = 0 !== (workInProgress.flags & 128); - cache$148 = type.rendering; - if (null === cache$148) + cache$147 = type.rendering; + if (null === cache$147) if (newProps) cutOffTailIfNeeded(type, !1); else { if ( @@ -10170,11 +10162,11 @@ function completeWork(current, workInProgress, renderLanes) { (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { - cache$148 = findFirstSuspended(current); - if (null !== cache$148) { + cache$147 = findFirstSuspended(current); + if (null !== cache$147) { workInProgress.flags |= 128; cutOffTailIfNeeded(type, !1); - current = cache$148.updateQueue; + current = cache$147.updateQueue; workInProgress.updateQueue = current; scheduleRetryEffect(workInProgress, current); workInProgress.subtreeFlags = 0; @@ -10199,7 +10191,7 @@ function completeWork(current, workInProgress, renderLanes) { } else { if (!newProps) - if (((current = findFirstSuspended(cache$148)), null !== current)) { + if (((current = findFirstSuspended(cache$147)), null !== current)) { if ( ((workInProgress.flags |= 128), (newProps = !0), @@ -10209,7 +10201,7 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(type, !0), null === type.tail && "hidden" === type.tailMode && - !cache$148.alternate && + !cache$147.alternate && !isHydrating) ) return bubbleProperties(workInProgress), null; @@ -10222,13 +10214,13 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); type.isBackwards - ? ((cache$148.sibling = workInProgress.child), - (workInProgress.child = cache$148)) + ? ((cache$147.sibling = workInProgress.child), + (workInProgress.child = cache$147)) : ((current = type.last), null !== current - ? (current.sibling = cache$148) - : (workInProgress.child = cache$148), - (type.last = cache$148)); + ? (current.sibling = cache$147) + : (workInProgress.child = cache$147), + (type.last = cache$147)); } if (null !== type.tail) return ( @@ -10934,9 +10926,9 @@ function markRootSuspended( didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes); didSkipSuspendedSiblings = root.expirationTimes; for (var lanes = suspendedLanes; 0 < lanes; ) { - var index$7 = 31 - clz32(lanes), - lane = 1 << index$7; - didSkipSuspendedSiblings[index$7] = -1; + var index$6 = 31 - clz32(lanes), + lane = 1 << index$6; + didSkipSuspendedSiblings[index$6] = -1; lanes &= ~lane; } 0 !== spawnedLane && @@ -11049,9 +11041,9 @@ function prepareFreshStack(root, lanes) { 0 < allEntangledLanes; ) { - var index$5 = 31 - clz32(allEntangledLanes), - lane = 1 << index$5; - lanes |= root[index$5]; + var index$4 = 31 - clz32(allEntangledLanes), + lane = 1 << index$4; + lanes |= root[index$4]; allEntangledLanes &= ~lane; } entangledRenderLanes = lanes; @@ -11162,8 +11154,8 @@ function renderRootSync(root, lanes) { } workLoopSync(); break; - } catch (thrownValue$164) { - handleThrow(root, thrownValue$164); + } catch (thrownValue$163) { + handleThrow(root, thrownValue$163); } while (1); lanes && root.shellSuspendCounter++; @@ -11272,8 +11264,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrent(); break; - } catch (thrownValue$166) { - handleThrow(root, thrownValue$166); + } catch (thrownValue$165) { + handleThrow(root, thrownValue$165); } while (1); resetContextDependencies(); @@ -11556,7 +11548,7 @@ function releaseRootPooledCache(root, remainingLanes) { } function flushPassiveEffects() { if (null !== rootWithPendingPassiveEffects) { - var root$170 = rootWithPendingPassiveEffects, + var root$169 = rootWithPendingPassiveEffects, remainingLanes = pendingPassiveEffectsRemainingLanes; pendingPassiveEffectsRemainingLanes = 0; var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes), @@ -11595,7 +11587,7 @@ function flushPassiveEffects() { } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition), - releaseRootPooledCache(root$170, remainingLanes); + releaseRootPooledCache(root$169, remainingLanes); } } return !1; @@ -11754,14 +11746,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { isFlushingWork = !0; do { var didPerformSomeWork = !1; - for (var root$172 = firstScheduledRoot; null !== root$172; ) { + for (var root$171 = firstScheduledRoot; null !== root$171; ) { if (!onlyLegacy) if (0 !== syncTransitionLanes) { - var pendingLanes = root$172.pendingLanes; + var pendingLanes = root$171.pendingLanes; if (0 === pendingLanes) var JSCompiler_inline_result = 0; else { - var suspendedLanes = root$172.suspendedLanes, - pingedLanes = root$172.pingedLanes; + var suspendedLanes = root$171.suspendedLanes, + pingedLanes = root$171.pingedLanes; JSCompiler_inline_result = (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; JSCompiler_inline_result &= @@ -11775,17 +11767,17 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { } 0 !== JSCompiler_inline_result && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$172, JSCompiler_inline_result)); + performSyncWorkOnRoot(root$171, JSCompiler_inline_result)); } else (JSCompiler_inline_result = workInProgressRootRenderLanes), (JSCompiler_inline_result = getNextLanes( - root$172, - root$172 === workInProgressRoot ? JSCompiler_inline_result : 0 + root$171, + root$171 === workInProgressRoot ? JSCompiler_inline_result : 0 )), 0 !== (JSCompiler_inline_result & 3) && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$172, JSCompiler_inline_result)); - root$172 = root$172.next; + performSyncWorkOnRoot(root$171, JSCompiler_inline_result)); + root$171 = root$171.next; } } while (didPerformSomeWork); isFlushingWork = !1; @@ -11826,12 +11818,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) { 0 < lanes; ) { - var index$6 = 31 - clz32(lanes), - lane = 1 << index$6, - expirationTime = expirationTimes[index$6]; + var index$5 = 31 - clz32(lanes), + lane = 1 << index$5, + expirationTime = expirationTimes[index$5]; if (-1 === expirationTime) { if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) - expirationTimes[index$6] = computeExpirationTime(lane, currentTime); + expirationTimes[index$5] = computeExpirationTime(lane, currentTime); } else expirationTime <= currentTime && (root.expiredLanes |= lane); lanes &= ~lane; } @@ -11995,20 +11987,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1434 = 0; - i$jscomp$inline_1434 < simpleEventPluginEvents.length; - i$jscomp$inline_1434++ + var i$jscomp$inline_1433 = 0; + i$jscomp$inline_1433 < simpleEventPluginEvents.length; + i$jscomp$inline_1433++ ) { - var eventName$jscomp$inline_1435 = - simpleEventPluginEvents[i$jscomp$inline_1434], - domEventName$jscomp$inline_1436 = - eventName$jscomp$inline_1435.toLowerCase(), - capitalizedEvent$jscomp$inline_1437 = - eventName$jscomp$inline_1435[0].toUpperCase() + - eventName$jscomp$inline_1435.slice(1); + var eventName$jscomp$inline_1434 = + simpleEventPluginEvents[i$jscomp$inline_1433], + domEventName$jscomp$inline_1435 = + eventName$jscomp$inline_1434.toLowerCase(), + capitalizedEvent$jscomp$inline_1436 = + eventName$jscomp$inline_1434[0].toUpperCase() + + eventName$jscomp$inline_1434.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1436, - "on" + capitalizedEvent$jscomp$inline_1437 + domEventName$jscomp$inline_1435, + "on" + capitalizedEvent$jscomp$inline_1436 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -13191,34 +13183,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$186 = props[hasSrc]; - if (null != propValue$186) + var propValue$185 = props[hasSrc]; + if (null != propValue$185) switch (hasSrc) { case "name": - hasSrcSet = propValue$186; + hasSrcSet = propValue$185; break; case "type": - propValue = propValue$186; + propValue = propValue$185; break; case "checked": - checked = propValue$186; + checked = propValue$185; break; case "defaultChecked": - defaultChecked = propValue$186; + defaultChecked = propValue$185; break; case "value": - propKey = propValue$186; + propKey = propValue$185; break; case "defaultValue": - defaultValue = propValue$186; + defaultValue = propValue$185; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$186) + if (null != propValue$185) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$186, props, null); + setProp(domElement, tag, hasSrc, propValue$185, props, null); } } initInput( @@ -13355,14 +13347,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$186 in props) - props.hasOwnProperty(propValue$186) && - ((hasSrc = props[propValue$186]), + for (propValue$185 in props) + props.hasOwnProperty(propValue$185) && + ((hasSrc = props[propValue$185]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$186, + propValue$185, hasSrc, props, void 0 @@ -13410,14 +13402,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$203 in nextProps) { - var propKey = nextProps[propKey$203]; - lastProp = lastProps[propKey$203]; + for (var propKey$202 in nextProps) { + var propKey = nextProps[propKey$202]; + lastProp = lastProps[propKey$202]; if ( - nextProps.hasOwnProperty(propKey$203) && + nextProps.hasOwnProperty(propKey$202) && (null != propKey || null != lastProp) ) - switch (propKey$203) { + switch (propKey$202) { case "type": type = propKey; break; @@ -13446,7 +13438,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$203, + propKey$202, propKey, nextProps, lastProp @@ -13465,7 +13457,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$203 = null; + propKey = value = defaultValue = propKey$202 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -13496,7 +13488,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$203 = type; + propKey$202 = type; break; case "defaultValue": defaultValue = type; @@ -13517,15 +13509,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$203 - ? updateOptions(domElement, !!lastProps, propKey$203, !1) + null != propKey$202 + ? updateOptions(domElement, !!lastProps, propKey$202, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$203 = null; + propKey = propKey$202 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -13549,7 +13541,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$203 = name; + propKey$202 = name; break; case "defaultValue": propKey = name; @@ -13563,17 +13555,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$203, propKey); + updateTextarea(domElement, propKey$202, propKey); return; case "option": - for (var propKey$219 in lastProps) + for (var propKey$218 in lastProps) if ( - ((propKey$203 = lastProps[propKey$219]), - lastProps.hasOwnProperty(propKey$219) && - null != propKey$203 && - !nextProps.hasOwnProperty(propKey$219)) + ((propKey$202 = lastProps[propKey$218]), + lastProps.hasOwnProperty(propKey$218) && + null != propKey$202 && + !nextProps.hasOwnProperty(propKey$218)) ) - switch (propKey$219) { + switch (propKey$218) { case "selected": domElement.selected = !1; break; @@ -13581,33 +13573,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$219, + propKey$218, null, nextProps, - propKey$203 + propKey$202 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$203 = nextProps[lastDefaultValue]), + ((propKey$202 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$203 !== propKey && - (null != propKey$203 || null != propKey)) + propKey$202 !== propKey && + (null != propKey$202 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$203 && - "function" !== typeof propKey$203 && - "symbol" !== typeof propKey$203; + propKey$202 && + "function" !== typeof propKey$202 && + "symbol" !== typeof propKey$202; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$203, + propKey$202, nextProps, propKey ); @@ -13628,24 +13620,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$224 in lastProps) - (propKey$203 = lastProps[propKey$224]), - lastProps.hasOwnProperty(propKey$224) && - null != propKey$203 && - !nextProps.hasOwnProperty(propKey$224) && - setProp(domElement, tag, propKey$224, null, nextProps, propKey$203); + for (var propKey$223 in lastProps) + (propKey$202 = lastProps[propKey$223]), + lastProps.hasOwnProperty(propKey$223) && + null != propKey$202 && + !nextProps.hasOwnProperty(propKey$223) && + setProp(domElement, tag, propKey$223, null, nextProps, propKey$202); for (checked in nextProps) if ( - ((propKey$203 = nextProps[checked]), + ((propKey$202 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$203 !== propKey && - (null != propKey$203 || null != propKey)) + propKey$202 !== propKey && + (null != propKey$202 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$203) + if (null != propKey$202) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -13653,7 +13645,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$203, + propKey$202, nextProps, propKey ); @@ -13661,49 +13653,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$229 in lastProps) - (propKey$203 = lastProps[propKey$229]), - lastProps.hasOwnProperty(propKey$229) && - void 0 !== propKey$203 && - !nextProps.hasOwnProperty(propKey$229) && + for (var propKey$228 in lastProps) + (propKey$202 = lastProps[propKey$228]), + lastProps.hasOwnProperty(propKey$228) && + void 0 !== propKey$202 && + !nextProps.hasOwnProperty(propKey$228) && setPropOnCustomElement( domElement, tag, - propKey$229, + propKey$228, void 0, nextProps, - propKey$203 + propKey$202 ); for (defaultChecked in nextProps) - (propKey$203 = nextProps[defaultChecked]), + (propKey$202 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$203 === propKey || - (void 0 === propKey$203 && void 0 === propKey) || + propKey$202 === propKey || + (void 0 === propKey$202 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$203, + propKey$202, nextProps, propKey ); return; } } - for (var propKey$234 in lastProps) - (propKey$203 = lastProps[propKey$234]), - lastProps.hasOwnProperty(propKey$234) && - null != propKey$203 && - !nextProps.hasOwnProperty(propKey$234) && - setProp(domElement, tag, propKey$234, null, nextProps, propKey$203); + for (var propKey$233 in lastProps) + (propKey$202 = lastProps[propKey$233]), + lastProps.hasOwnProperty(propKey$233) && + null != propKey$202 && + !nextProps.hasOwnProperty(propKey$233) && + setProp(domElement, tag, propKey$233, null, nextProps, propKey$202); for (lastProp in nextProps) - (propKey$203 = nextProps[lastProp]), + (propKey$202 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$203 === propKey || - (null == propKey$203 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$203, nextProps, propKey); + propKey$202 === propKey || + (null == propKey$202 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$202, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -14305,26 +14297,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$242 = getResourcesFromRoot( + var styles$241 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$243 = styles$242.get(type); - resource$243 || + resource$242 = styles$241.get(type); + resource$242 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$243 = { + (resource$242 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$242.set(type, resource$243), - (styles$242 = JSCompiler_inline_result.querySelector( + styles$241.set(type, resource$242), + (styles$241 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$242._p && - ((resource$243.instance = styles$242), - (resource$243.state.loading = 5)), + !styles$241._p && + ((resource$242.instance = styles$241), + (resource$242.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -14337,16 +14329,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$242 || + styles$241 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$243.state + resource$242.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$243; + return resource$242; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -14443,37 +14435,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$248 = hoistableRoot.querySelector( + var instance$247 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$248) + if (instance$247) return ( (resource.state.loading |= 4), - (resource.instance = instance$248), - markNodeAsHoistable(instance$248), - instance$248 + (resource.instance = instance$247), + markNodeAsHoistable(instance$247), + instance$247 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$248 = ( + instance$247 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$248); - var linkInstance = instance$248; + markNodeAsHoistable(instance$247); + var linkInstance = instance$247; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$248, "link", instance); + setInitialProperties(instance$247, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$248, props.precedence, hoistableRoot); - return (resource.instance = instance$248); + insertStylesheet(instance$247, props.precedence, hoistableRoot); + return (resource.instance = instance$247); case "script": - instance$248 = getScriptKey(props.src); + instance$247 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$248) + getScriptSelectorFromKey(instance$247) )) ) return ( @@ -14482,7 +14474,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$248))) + if ((styleProps = preloadPropsMap.get(instance$247))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -15506,16 +15498,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1681 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1680 = React.version; if ( - "19.0.0-experimental-5dcb0097-20240918" !== - isomorphicReactPackageVersion$jscomp$inline_1681 + "19.0.0-experimental-e740d4b1-20240919" !== + isomorphicReactPackageVersion$jscomp$inline_1680 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1681, - "19.0.0-experimental-5dcb0097-20240918" + isomorphicReactPackageVersion$jscomp$inline_1680, + "19.0.0-experimental-e740d4b1-20240919" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15535,25 +15527,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2146 = { +var internals$jscomp$inline_2145 = { bundleType: 0, - version: "19.0.0-experimental-5dcb0097-20240918", + version: "19.0.0-experimental-e740d4b1-20240919", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-experimental-5dcb0097-20240918" + reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2147 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2146 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2147.isDisabled && - hook$jscomp$inline_2147.supportsFiber + !hook$jscomp$inline_2146.isDisabled && + hook$jscomp$inline_2146.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2147.inject( - internals$jscomp$inline_2146 + (rendererID = hook$jscomp$inline_2146.inject( + internals$jscomp$inline_2145 )), - (injectedHook = hook$jscomp$inline_2147); + (injectedHook = hook$jscomp$inline_2146); } catch (err) {} } exports.createComponentSelector = function (component) { @@ -15796,4 +15788,4 @@ exports.observeVisibleRects = function ( } }; }; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js index 4034269a56893..62247400b17be 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.development.js @@ -416,7 +416,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js index 62edeb96f19aa..2e488902c7369 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.production.js @@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js index a09516f0fbf67..68237864e152f 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.development.js @@ -336,5 +336,5 @@ })) : Internals.d.m(href)); }; - exports.version = "19.0.0-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js index 933230a2223d3..dacf17f11f796 100644 --- a/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js +++ b/packages/next/src/compiled/react-dom-experimental/cjs/react-dom.react-server.production.js @@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) { }); } else Internals.d.m(href); }; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom-experimental/package.json b/packages/next/src/compiled/react-dom-experimental/package.json index c015cc0c49b9a..7c209294152c2 100644 --- a/packages/next/src/compiled/react-dom-experimental/package.json +++ b/packages/next/src/compiled/react-dom-experimental/package.json @@ -72,10 +72,10 @@ "./package.json": "./package.json" }, "dependencies": { - "scheduler": "0.0.0-experimental-5dcb0097-20240918" + "scheduler": "0.0.0-experimental-e740d4b1-20240919" }, "peerDependencies": { - "react": "0.0.0-experimental-5dcb0097-20240918" + "react": "0.0.0-experimental-e740d4b1-20240919" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js index 803b3ec5e15a0..76020c64dadee 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-client.development.js @@ -352,16 +352,16 @@ } else { try { Fake.call(); - } catch (x$1) { - control = x$1; + } catch (x$0) { + control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); - } catch (x$2) { - control = x$2; + } catch (x$1) { + control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && @@ -3519,43 +3519,28 @@ : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmpm1725346839$1, $jscomp$nullish$tmp0; containerInfo = - null != - ($jscomp$nullish$tmp0 = - null == containerInfo - ? void 0 - : null == - ($jscomp$optchain$tmpm1725346839$1 = - containerInfo.ownerDocument) - ? void 0 - : $jscomp$optchain$tmpm1725346839$1.defaultView) - ? $jscomp$nullish$tmp0 + null != containerInfo && + null != containerInfo.ownerDocument && + null != containerInfo.ownerDocument.defaultView + ? containerInfo.ownerDocument.defaultView : window; for ( - $jscomp$optchain$tmpm1725346839$1 = getActiveElement( - containerInfo.document - ); - $jscomp$optchain$tmpm1725346839$1 instanceof - containerInfo.HTMLIFrameElement; + var element = getActiveElement(containerInfo.document); + element instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = - "string" === - typeof $jscomp$optchain$tmpm1725346839$1.contentWindow.location - .href; + "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } - if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmpm1725346839$1.contentWindow; + if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; - $jscomp$optchain$tmpm1725346839$1 = getActiveElement( - containerInfo.document - ); + element = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmpm1725346839$1; + return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -6474,8 +6459,8 @@ try { (currentTransition = action(prevState, payload)), handleActionReturnValue(actionQueue, node, currentTransition); - } catch (error$4) { - onActionError(actionQueue, node, error$4); + } catch (error$3) { + onActionError(actionQueue, node, error$3); } } function handleActionReturnValue(actionQueue, node, returnValue) { @@ -7426,9 +7411,9 @@ var onUncaughtError = root.onUncaughtError; onUncaughtError(error, { componentStack: errorInfo.stack }); } - } catch (e$5) { + } catch (e$4) { setTimeout(function () { - throw e$5; + throw e$4; }); } } @@ -7443,9 +7428,9 @@ componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); - } catch (e$6) { + } catch (e$5) { setTimeout(function () { - throw e$6; + throw e$5; }); } } @@ -8633,32 +8618,32 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2288; - var JSCompiler_object_inline_stack_2289 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2287; + var JSCompiler_object_inline_stack_2288 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2290 = !1; + var JSCompiler_object_inline_componentStack_2289 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2288 = didSuspend) || - (JSCompiler_object_inline_digest_2288 = + (JSCompiler_object_inline_digest_2287 = didSuspend) || + (JSCompiler_object_inline_digest_2287 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2288 && - ((JSCompiler_object_inline_componentStack_2290 = !0), + JSCompiler_object_inline_digest_2287 && + ((JSCompiler_object_inline_componentStack_2289 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2288 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2287 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2290 + JSCompiler_object_inline_componentStack_2289 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2287 = nextHydratableInstance; + var JSCompiler_object_inline_message_2286 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2287)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2286)) { c: { - var instance = JSCompiler_object_inline_message_2287; + var instance = JSCompiler_object_inline_message_2286; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8699,19 +8684,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2287 + JSCompiler_object_inline_message_2286 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2287 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2286 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2287 && - ((JSCompiler_object_inline_message_2287 = - JSCompiler_object_inline_message_2287.dehydrated), - null !== JSCompiler_object_inline_message_2287) + null !== JSCompiler_object_inline_message_2286 && + ((JSCompiler_object_inline_message_2286 = + JSCompiler_object_inline_message_2286.dehydrated), + null !== JSCompiler_object_inline_message_2286) ) return ( - JSCompiler_object_inline_message_2287.data === + JSCompiler_object_inline_message_2286.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8719,58 +8704,58 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2287 = - JSCompiler_object_inline_stack_2289.children; - JSCompiler_object_inline_stack_2289 = - JSCompiler_object_inline_stack_2289.fallback; - if (JSCompiler_object_inline_componentStack_2290) + JSCompiler_object_inline_message_2286 = + JSCompiler_object_inline_stack_2288.children; + JSCompiler_object_inline_stack_2288 = + JSCompiler_object_inline_stack_2288.fallback; + if (JSCompiler_object_inline_componentStack_2289) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2290 = + (JSCompiler_object_inline_componentStack_2289 = workInProgress.mode), - (JSCompiler_object_inline_message_2287 = + (JSCompiler_object_inline_message_2286 = mountWorkInProgressOffscreenFiber( { mode: "hidden", - children: JSCompiler_object_inline_message_2287 + children: JSCompiler_object_inline_message_2286 }, - JSCompiler_object_inline_componentStack_2290 + JSCompiler_object_inline_componentStack_2289 )), - (JSCompiler_object_inline_stack_2289 = createFiberFromFragment( - JSCompiler_object_inline_stack_2289, - JSCompiler_object_inline_componentStack_2290, + (JSCompiler_object_inline_stack_2288 = createFiberFromFragment( + JSCompiler_object_inline_stack_2288, + JSCompiler_object_inline_componentStack_2289, renderLanes, null )), - (JSCompiler_object_inline_message_2287.return = workInProgress), - (JSCompiler_object_inline_stack_2289.return = workInProgress), - (JSCompiler_object_inline_message_2287.sibling = - JSCompiler_object_inline_stack_2289), - (workInProgress.child = JSCompiler_object_inline_message_2287), - (JSCompiler_object_inline_componentStack_2290 = + (JSCompiler_object_inline_message_2286.return = workInProgress), + (JSCompiler_object_inline_stack_2288.return = workInProgress), + (JSCompiler_object_inline_message_2286.sibling = + JSCompiler_object_inline_stack_2288), + (workInProgress.child = JSCompiler_object_inline_message_2286), + (JSCompiler_object_inline_componentStack_2289 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2290.memoizedState = + (JSCompiler_object_inline_componentStack_2289.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2290.childLanes = + (JSCompiler_object_inline_componentStack_2289.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2288, + JSCompiler_object_inline_digest_2287, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2289 + JSCompiler_object_inline_stack_2288 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2287 + JSCompiler_object_inline_message_2286 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2287 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2287) + ((JSCompiler_object_inline_message_2286 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2286) ) { if (didSuspend) workInProgress.flags & 256 @@ -8787,94 +8772,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2290 = - JSCompiler_object_inline_stack_2289.fallback), - (JSCompiler_object_inline_message_2287 = workInProgress.mode), - (JSCompiler_object_inline_stack_2289 = + (JSCompiler_object_inline_componentStack_2289 = + JSCompiler_object_inline_stack_2288.fallback), + (JSCompiler_object_inline_message_2286 = workInProgress.mode), + (JSCompiler_object_inline_stack_2288 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2289.children + children: JSCompiler_object_inline_stack_2288.children }, - JSCompiler_object_inline_message_2287 + JSCompiler_object_inline_message_2286 )), - (JSCompiler_object_inline_componentStack_2290 = + (JSCompiler_object_inline_componentStack_2289 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2290, - JSCompiler_object_inline_message_2287, + JSCompiler_object_inline_componentStack_2289, + JSCompiler_object_inline_message_2286, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2290.flags |= 2), - (JSCompiler_object_inline_stack_2289.return = workInProgress), - (JSCompiler_object_inline_componentStack_2290.return = + (JSCompiler_object_inline_componentStack_2289.flags |= 2), + (JSCompiler_object_inline_stack_2288.return = workInProgress), + (JSCompiler_object_inline_componentStack_2289.return = workInProgress), - (JSCompiler_object_inline_stack_2289.sibling = - JSCompiler_object_inline_componentStack_2290), - (workInProgress.child = JSCompiler_object_inline_stack_2289), + (JSCompiler_object_inline_stack_2288.sibling = + JSCompiler_object_inline_componentStack_2289), + (workInProgress.child = JSCompiler_object_inline_stack_2288), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2289 = workInProgress.child), - (JSCompiler_object_inline_stack_2289.memoizedState = + (JSCompiler_object_inline_stack_2288 = workInProgress.child), + (JSCompiler_object_inline_stack_2288.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2289.childLanes = + (JSCompiler_object_inline_stack_2288.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2288, + JSCompiler_object_inline_digest_2287, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2290)); + JSCompiler_object_inline_componentStack_2289)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2287.data === + JSCompiler_object_inline_message_2286.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2288 = - JSCompiler_object_inline_message_2287.nextSibling && - JSCompiler_object_inline_message_2287.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2288) { - JSCompiler_temp = JSCompiler_object_inline_digest_2288.dgst; - var message = JSCompiler_object_inline_digest_2288.msg; - instance = JSCompiler_object_inline_digest_2288.stck; - var componentStack = JSCompiler_object_inline_digest_2288.cstck; + JSCompiler_object_inline_digest_2287 = + JSCompiler_object_inline_message_2286.nextSibling && + JSCompiler_object_inline_message_2286.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2287) { + JSCompiler_temp = JSCompiler_object_inline_digest_2287.dgst; + var message = JSCompiler_object_inline_digest_2287.msg; + instance = JSCompiler_object_inline_digest_2287.stck; + var componentStack = JSCompiler_object_inline_digest_2287.cstck; } - JSCompiler_object_inline_message_2287 = message; - JSCompiler_object_inline_digest_2288 = JSCompiler_temp; - JSCompiler_object_inline_stack_2289 = instance; - JSCompiler_object_inline_componentStack_2290 = componentStack; - JSCompiler_object_inline_message_2287 = - JSCompiler_object_inline_message_2287 - ? Error(JSCompiler_object_inline_message_2287) + JSCompiler_object_inline_message_2286 = message; + JSCompiler_object_inline_digest_2287 = JSCompiler_temp; + JSCompiler_object_inline_stack_2288 = instance; + JSCompiler_object_inline_componentStack_2289 = componentStack; + JSCompiler_object_inline_message_2286 = + JSCompiler_object_inline_message_2286 + ? Error(JSCompiler_object_inline_message_2286) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2287.stack = - JSCompiler_object_inline_stack_2289 || ""; - JSCompiler_object_inline_message_2287.digest = - JSCompiler_object_inline_digest_2288; - JSCompiler_object_inline_digest_2288 = - void 0 === JSCompiler_object_inline_componentStack_2290 + JSCompiler_object_inline_message_2286.stack = + JSCompiler_object_inline_stack_2288 || ""; + JSCompiler_object_inline_message_2286.digest = + JSCompiler_object_inline_digest_2287; + JSCompiler_object_inline_digest_2287 = + void 0 === JSCompiler_object_inline_componentStack_2289 ? null - : JSCompiler_object_inline_componentStack_2290; - "string" === typeof JSCompiler_object_inline_digest_2288 && + : JSCompiler_object_inline_componentStack_2289; + "string" === typeof JSCompiler_object_inline_digest_2287 && CapturedStacks.set( - JSCompiler_object_inline_message_2287, - JSCompiler_object_inline_digest_2288 + JSCompiler_object_inline_message_2286, + JSCompiler_object_inline_digest_2287 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2287, + value: JSCompiler_object_inline_message_2286, source: null, - stack: JSCompiler_object_inline_digest_2288 + stack: JSCompiler_object_inline_digest_2287 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8889,25 +8874,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_digest_2288 = + (JSCompiler_object_inline_digest_2287 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2288) + didReceiveUpdate || JSCompiler_object_inline_digest_2287) ) { - JSCompiler_object_inline_digest_2288 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2288) { - JSCompiler_object_inline_stack_2289 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2289 & 42)) - JSCompiler_object_inline_stack_2289 = 1; + JSCompiler_object_inline_digest_2287 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2287) { + JSCompiler_object_inline_stack_2288 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2288 & 42)) + JSCompiler_object_inline_stack_2288 = 1; else - switch (JSCompiler_object_inline_stack_2289) { + switch (JSCompiler_object_inline_stack_2288) { case 2: - JSCompiler_object_inline_stack_2289 = 1; + JSCompiler_object_inline_stack_2288 = 1; break; case 8: - JSCompiler_object_inline_stack_2289 = 4; + JSCompiler_object_inline_stack_2288 = 4; break; case 32: - JSCompiler_object_inline_stack_2289 = 16; + JSCompiler_object_inline_stack_2288 = 16; break; case 128: case 256: @@ -8928,40 +8913,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2289 = 64; + JSCompiler_object_inline_stack_2288 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2289 = 134217728; + JSCompiler_object_inline_stack_2288 = 134217728; break; default: - JSCompiler_object_inline_stack_2289 = 0; + JSCompiler_object_inline_stack_2288 = 0; } - JSCompiler_object_inline_stack_2289 = + JSCompiler_object_inline_stack_2288 = 0 !== - (JSCompiler_object_inline_stack_2289 & - (JSCompiler_object_inline_digest_2288.suspendedLanes | + (JSCompiler_object_inline_stack_2288 & + (JSCompiler_object_inline_digest_2287.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2289; + : JSCompiler_object_inline_stack_2288; if ( - 0 !== JSCompiler_object_inline_stack_2289 && - JSCompiler_object_inline_stack_2289 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2288 && + JSCompiler_object_inline_stack_2288 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2289), + ((prevState.retryLane = JSCompiler_object_inline_stack_2288), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2289 + JSCompiler_object_inline_stack_2288 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2288, + JSCompiler_object_inline_digest_2287, current, - JSCompiler_object_inline_stack_2289 + JSCompiler_object_inline_stack_2288 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2287.data === + JSCompiler_object_inline_message_2286.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8969,7 +8954,7 @@ renderLanes ); } else - JSCompiler_object_inline_message_2287.data === + JSCompiler_object_inline_message_2286.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -8977,12 +8962,12 @@ null, current )), - (JSCompiler_object_inline_message_2287._reactRetry = + (JSCompiler_object_inline_message_2286._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2287.nextSibling + JSCompiler_object_inline_message_2286.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9000,57 +8985,57 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2289.children + JSCompiler_object_inline_stack_2288.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2290) + if (JSCompiler_object_inline_componentStack_2289) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2290 = - JSCompiler_object_inline_stack_2289.fallback), - (JSCompiler_object_inline_message_2287 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2289 = + JSCompiler_object_inline_stack_2288.fallback), + (JSCompiler_object_inline_message_2286 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2289 = createWorkInProgress( + (JSCompiler_object_inline_stack_2288 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2289.children + children: JSCompiler_object_inline_stack_2288.children } )), - (JSCompiler_object_inline_stack_2289.subtreeFlags = + (JSCompiler_object_inline_stack_2288.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2290 = + ? (JSCompiler_object_inline_componentStack_2289 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2290 + JSCompiler_object_inline_componentStack_2289 )) - : ((JSCompiler_object_inline_componentStack_2290 = + : ((JSCompiler_object_inline_componentStack_2289 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2290, - JSCompiler_object_inline_message_2287, + JSCompiler_object_inline_componentStack_2289, + JSCompiler_object_inline_message_2286, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2290.flags |= 2)), - (JSCompiler_object_inline_componentStack_2290.return = + (JSCompiler_object_inline_componentStack_2289.flags |= 2)), + (JSCompiler_object_inline_componentStack_2289.return = workInProgress), - (JSCompiler_object_inline_stack_2289.return = workInProgress), - (JSCompiler_object_inline_stack_2289.sibling = - JSCompiler_object_inline_componentStack_2290), - (workInProgress.child = JSCompiler_object_inline_stack_2289), - (JSCompiler_object_inline_stack_2289 = - JSCompiler_object_inline_componentStack_2290), - (JSCompiler_object_inline_componentStack_2290 = workInProgress.child), - (JSCompiler_object_inline_message_2287 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2287 - ? (JSCompiler_object_inline_message_2287 = + (JSCompiler_object_inline_stack_2288.return = workInProgress), + (JSCompiler_object_inline_stack_2288.sibling = + JSCompiler_object_inline_componentStack_2289), + (workInProgress.child = JSCompiler_object_inline_stack_2288), + (JSCompiler_object_inline_stack_2288 = + JSCompiler_object_inline_componentStack_2289), + (JSCompiler_object_inline_componentStack_2289 = workInProgress.child), + (JSCompiler_object_inline_message_2286 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2286 + ? (JSCompiler_object_inline_message_2286 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2287.cachePool), + JSCompiler_object_inline_message_2286.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9058,37 +9043,37 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2287 = { + (JSCompiler_object_inline_message_2286 = { baseLanes: - JSCompiler_object_inline_message_2287.baseLanes | renderLanes, + JSCompiler_object_inline_message_2286.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2290.memoizedState = - JSCompiler_object_inline_message_2287), - (JSCompiler_object_inline_componentStack_2290.childLanes = + (JSCompiler_object_inline_componentStack_2289.memoizedState = + JSCompiler_object_inline_message_2286), + (JSCompiler_object_inline_componentStack_2289.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2288, + JSCompiler_object_inline_digest_2287, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2289 + JSCompiler_object_inline_stack_2288 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2289.children + children: JSCompiler_object_inline_stack_2288.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2288 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2288 + ((JSCompiler_object_inline_digest_2287 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2287 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2288.push(current)); + : JSCompiler_object_inline_digest_2287.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11026,8 +11011,8 @@ recordEffectDuration(current); } else runWithFiberInDEV(current, ref, null); - } catch (error$7) { - captureCommitPhaseError(current, nearestMountedAncestor, error$7); + } catch (error$6) { + captureCommitPhaseError(current, nearestMountedAncestor, error$6); } else ref.current = null; } @@ -11247,7 +11232,7 @@ selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; - } catch (e$3) { + } catch (e$2) { JSCompiler_temp = null; break a; } @@ -14844,8 +14829,8 @@ } workLoopSync(); break; - } catch (thrownValue$9) { - handleThrow(root, thrownValue$9); + } catch (thrownValue$8) { + handleThrow(root, thrownValue$8); } while (1); lanes && root.shellSuspendCounter++; @@ -15005,8 +14990,8 @@ ? workLoopSync() : workLoopConcurrent(); break; - } catch (thrownValue$10) { - handleThrow(root, thrownValue$10); + } catch (thrownValue$9) { + handleThrow(root, thrownValue$9); } while (1); resetContextDependencies(); @@ -23843,7 +23828,7 @@ var nonExtensibleObject = Object.preventExtensions({}); new Map([[nonExtensibleObject, null]]); new Set([nonExtensibleObject]); - } catch (e$8) { + } catch (e$7) { hasBadMapPolyfill = !0; } var DefaultAsyncDispatcher = { @@ -24471,11 +24456,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24512,11 +24497,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-rc-5dcb0097-20240918", + version: "19.0.0-rc-e740d4b1-20240919", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-5dcb0097-20240918" + reconcilerVersion: "19.0.0-rc-e740d4b1-20240919" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -24660,7 +24645,7 @@ listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; - exports.version = "19.0.0-rc-5dcb0097-20240918"; + exports.version = "19.0.0-rc-e740d4b1-20240919"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js index c6dc60e2c7605..28dca111034f6 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-client.production.js @@ -164,16 +164,16 @@ function describeNativeComponentFrame(fn, construct) { } else { try { Fake.call(); - } catch (x$1) { - control = x$1; + } catch (x$0) { + control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); - } catch (x$2) { - control = x$2; + } catch (x$1) { + control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && @@ -362,36 +362,36 @@ function findCurrentFiberUsingSlowPath(fiber) { } if (a.return !== b.return) (a = parentA), (b = parentB); else { - for (var didFindChild = !1, child$3 = parentA.child; child$3; ) { - if (child$3 === a) { + for (var didFindChild = !1, child$2 = parentA.child; child$2; ) { + if (child$2 === a) { didFindChild = !0; a = parentA; b = parentB; break; } - if (child$3 === b) { + if (child$2 === b) { didFindChild = !0; b = parentA; a = parentB; break; } - child$3 = child$3.sibling; + child$2 = child$2.sibling; } if (!didFindChild) { - for (child$3 = parentB.child; child$3; ) { - if (child$3 === a) { + for (child$2 = parentB.child; child$2; ) { + if (child$2 === a) { didFindChild = !0; a = parentB; b = parentA; break; } - if (child$3 === b) { + if (child$2 === b) { didFindChild = !0; b = parentB; a = parentA; break; } - child$3 = child$3.sibling; + child$2 = child$2.sibling; } if (!didFindChild) throw Error(formatProdErrorMessage(189)); } @@ -719,18 +719,18 @@ function markRootFinished( 0 < remainingLanes; ) { - var index$8 = 31 - clz32(remainingLanes), - lane = 1 << index$8; - entanglements[index$8] = 0; - expirationTimes[index$8] = -1; - var hiddenUpdatesForLane = hiddenUpdates[index$8]; + var index$7 = 31 - clz32(remainingLanes), + lane = 1 << index$7; + entanglements[index$7] = 0; + expirationTimes[index$7] = -1; + var hiddenUpdatesForLane = hiddenUpdates[index$7]; if (null !== hiddenUpdatesForLane) for ( - hiddenUpdates[index$8] = null, index$8 = 0; - index$8 < hiddenUpdatesForLane.length; - index$8++ + hiddenUpdates[index$7] = null, index$7 = 0; + index$7 < hiddenUpdatesForLane.length; + index$7++ ) { - var update = hiddenUpdatesForLane[index$8]; + var update = hiddenUpdatesForLane[index$7]; null !== update && (update.lane &= -536870913); } remainingLanes &= ~lane; @@ -755,10 +755,10 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); for (root = root.entanglements; rootEntangledLanes; ) { - var index$9 = 31 - clz32(rootEntangledLanes), - lane = 1 << index$9; - (lane & entangledLanes) | (root[index$9] & entangledLanes) && - (root[index$9] |= entangledLanes); + var index$8 = 31 - clz32(rootEntangledLanes), + lane = 1 << index$8; + (lane & entangledLanes) | (root[index$8] & entangledLanes) && + (root[index$8] |= entangledLanes); rootEntangledLanes &= ~lane; } } @@ -908,8 +908,8 @@ function setValueForAttribute(node, name, value) { node.removeAttribute(name); return; case "boolean": - var prefix$11 = name.toLowerCase().slice(0, 5); - if ("data-" !== prefix$11 && "aria-" !== prefix$11) { + var prefix$10 = name.toLowerCase().slice(0, 5); + if ("data-" !== prefix$10 && "aria-" !== prefix$10) { node.removeAttribute(name); return; } @@ -1242,15 +1242,15 @@ function setValueForStyles(node, styles, prevStyles) { : "float" === styleName ? (node.cssFloat = "") : (node[styleName] = "")); - for (var styleName$17 in styles) - (styleName = styles[styleName$17]), - styles.hasOwnProperty(styleName$17) && - prevStyles[styleName$17] !== styleName && - setValueForStyle(node, styleName$17, styleName); + for (var styleName$16 in styles) + (styleName = styles[styleName$16]), + styles.hasOwnProperty(styleName$16) && + prevStyles[styleName$16] !== styleName && + setValueForStyle(node, styleName$16, styleName); } else - for (var styleName$18 in styles) - styles.hasOwnProperty(styleName$18) && - setValueForStyle(node, styleName$18, styles[styleName$18]); + for (var styleName$17 in styles) + styles.hasOwnProperty(styleName$17) && + setValueForStyle(node, styleName$17, styles[styleName$17]); } function isCustomElement(tagName) { if (-1 === tagName.indexOf("-")) return !1; @@ -1979,19 +1979,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$279; + var JSCompiler_inline_result$jscomp$278; if (canUseDOM) { - var isSupported$jscomp$inline_415 = "oninput" in document; - if (!isSupported$jscomp$inline_415) { - var element$jscomp$inline_416 = document.createElement("div"); - element$jscomp$inline_416.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_415 = - "function" === typeof element$jscomp$inline_416.oninput; + var isSupported$jscomp$inline_414 = "oninput" in document; + if (!isSupported$jscomp$inline_414) { + var element$jscomp$inline_415 = document.createElement("div"); + element$jscomp$inline_415.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_414 = + "function" === typeof element$jscomp$inline_415.oninput; } - JSCompiler_inline_result$jscomp$279 = isSupported$jscomp$inline_415; - } else JSCompiler_inline_result$jscomp$279 = !1; + JSCompiler_inline_result$jscomp$278 = isSupported$jscomp$inline_414; + } else JSCompiler_inline_result$jscomp$278 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$279 && + JSCompiler_inline_result$jscomp$278 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -2106,36 +2106,28 @@ function containsNode(outerNode, innerNode) { : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmp175290385$1, $jscomp$nullish$tmp0; containerInfo = - null != - ($jscomp$nullish$tmp0 = - null == containerInfo - ? void 0 - : null == - ($jscomp$optchain$tmp175290385$1 = containerInfo.ownerDocument) - ? void 0 - : $jscomp$optchain$tmp175290385$1.defaultView) - ? $jscomp$nullish$tmp0 + null != containerInfo && + null != containerInfo.ownerDocument && + null != containerInfo.ownerDocument.defaultView + ? containerInfo.ownerDocument.defaultView : window; for ( - $jscomp$optchain$tmp175290385$1 = getActiveElement(containerInfo.document); - $jscomp$optchain$tmp175290385$1 instanceof containerInfo.HTMLIFrameElement; + var element = getActiveElement(containerInfo.document); + element instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = - "string" === - typeof $jscomp$optchain$tmp175290385$1.contentWindow.location.href; + "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } - if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmp175290385$1.contentWindow; + if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; - $jscomp$optchain$tmp175290385$1 = getActiveElement(containerInfo.document); + element = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmp175290385$1; + return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -3901,7 +3893,7 @@ function updateReducerImpl(hook, current, reducer) { var newBaseQueueFirst = (baseFirst = null), newBaseQueueLast = null, update = current, - didReadFromEntangledAsyncAction$55 = !1; + didReadFromEntangledAsyncAction$54 = !1; do { var updateLane = update.lane & -536870913; if ( @@ -3922,11 +3914,11 @@ function updateReducerImpl(hook, current, reducer) { next: null }), updateLane === currentEntangledLane && - (didReadFromEntangledAsyncAction$55 = !0); + (didReadFromEntangledAsyncAction$54 = !0); else if ((renderLanes & revertLane) === revertLane) { update = update.next; revertLane === currentEntangledLane && - (didReadFromEntangledAsyncAction$55 = !0); + (didReadFromEntangledAsyncAction$54 = !0); continue; } else (updateLane = { @@ -3972,7 +3964,7 @@ function updateReducerImpl(hook, current, reducer) { if ( !objectIs(pendingQueue, hook.memoizedState) && ((didReceiveUpdate = !0), - didReadFromEntangledAsyncAction$55 && + didReadFromEntangledAsyncAction$54 && ((reducer = currentEntangledActionThenable), null !== reducer)) ) throw reducer; @@ -4170,8 +4162,8 @@ function runActionStateAction(actionQueue, node) { try { (prevTransition = action(prevState, payload)), handleActionReturnValue(actionQueue, node, prevTransition); - } catch (error$61) { - onActionError(actionQueue, node, error$61); + } catch (error$60) { + onActionError(actionQueue, node, error$60); } } function handleActionReturnValue(actionQueue, node, returnValue) { @@ -4586,10 +4578,10 @@ function refreshCache(fiber) { case 3: var lane = requestUpdateLane(); fiber = createUpdate(lane); - var root$64 = enqueueUpdate(provider, fiber, lane); - null !== root$64 && - (scheduleUpdateOnFiber(root$64, provider, lane), - entangleTransitions(root$64, provider, lane)); + var root$63 = enqueueUpdate(provider, fiber, lane); + null !== root$63 && + (scheduleUpdateOnFiber(root$63, provider, lane), + entangleTransitions(root$63, provider, lane)); provider = { cache: createCache() }; fiber.payload = provider; return; @@ -5100,9 +5092,9 @@ function resolveClassComponentProps(Component, baseProps) { } if ((Component = Component.defaultProps)) { newProps === baseProps && (newProps = assign({}, newProps)); - for (var propName$68 in Component) - void 0 === newProps[propName$68] && - (newProps[propName$68] = Component[propName$68]); + for (var propName$67 in Component) + void 0 === newProps[propName$67] && + (newProps[propName$67] = Component[propName$67]); } return newProps; } @@ -5148,9 +5140,9 @@ function logUncaughtError(root, errorInfo) { try { var onUncaughtError = root.onUncaughtError; onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack }); - } catch (e$69) { + } catch (e$68) { setTimeout(function () { - throw e$69; + throw e$68; }); } } @@ -5161,9 +5153,9 @@ function logCaughtError(root, boundary, errorInfo) { componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); - } catch (e$70) { + } catch (e$69) { setTimeout(function () { - throw e$70; + throw e$69; }); } } @@ -7563,8 +7555,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { else if ("function" === typeof ref) try { ref(null); - } catch (error$113) { - captureCommitPhaseError(current, nearestMountedAncestor, error$113); + } catch (error$112) { + captureCommitPhaseError(current, nearestMountedAncestor, error$112); } else ref.current = null; } @@ -7698,7 +7690,7 @@ function commitBeforeMutationEffects(root, firstChild) { selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; - } catch (e$21) { + } catch (e$20) { JSCompiler_temp = null; break a; } @@ -7860,11 +7852,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$112) { + } catch (error$111) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$112 + error$111 ); } } @@ -8018,7 +8010,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); case 6: prevHostParentIsContainer = hostParent; - var prevHostParentIsContainer$120 = hostParentIsContainer; + var prevHostParentIsContainer$119 = hostParentIsContainer; hostParent = null; recursivelyTraverseDeletionEffects( finishedRoot, @@ -8026,7 +8018,7 @@ function commitDeletionEffectsOnFiber( deletedFiber ); hostParent = prevHostParentIsContainer; - hostParentIsContainer = prevHostParentIsContainer$120; + hostParentIsContainer = prevHostParentIsContainer$119; if (null !== hostParent) if (hostParentIsContainer) try { @@ -8654,21 +8646,21 @@ function commitReconciliationEffects(finishedWork) { insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0); break; case 5: - var parent$114 = JSCompiler_inline_result.stateNode; + var parent$113 = JSCompiler_inline_result.stateNode; JSCompiler_inline_result.flags & 32 && - (setTextContent(parent$114, ""), + (setTextContent(parent$113, ""), (JSCompiler_inline_result.flags &= -33)); - var before$115 = getHostSibling(finishedWork); - insertOrAppendPlacementNode(finishedWork, before$115, parent$114); + var before$114 = getHostSibling(finishedWork); + insertOrAppendPlacementNode(finishedWork, before$114, parent$113); break; case 3: case 4: - var parent$116 = JSCompiler_inline_result.stateNode.containerInfo, - before$117 = getHostSibling(finishedWork); + var parent$115 = JSCompiler_inline_result.stateNode.containerInfo, + before$116 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$117, - parent$116 + before$116, + parent$115 ); break; default: @@ -9583,14 +9575,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$132 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$132 = lastTailNode), + for (var lastTailNode$131 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$131 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$132 + null === lastTailNode$131 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$132.sibling = null); + : (lastTailNode$131.sibling = null); } } function bubbleProperties(completedWork) { @@ -9600,19 +9592,19 @@ function bubbleProperties(completedWork) { newChildLanes = 0, subtreeFlags = 0; if (didBailout) - for (var child$133 = completedWork.child; null !== child$133; ) - (newChildLanes |= child$133.lanes | child$133.childLanes), - (subtreeFlags |= child$133.subtreeFlags & 31457280), - (subtreeFlags |= child$133.flags & 31457280), - (child$133.return = completedWork), - (child$133 = child$133.sibling); + for (var child$132 = completedWork.child; null !== child$132; ) + (newChildLanes |= child$132.lanes | child$132.childLanes), + (subtreeFlags |= child$132.subtreeFlags & 31457280), + (subtreeFlags |= child$132.flags & 31457280), + (child$132.return = completedWork), + (child$132 = child$132.sibling); else - for (child$133 = completedWork.child; null !== child$133; ) - (newChildLanes |= child$133.lanes | child$133.childLanes), - (subtreeFlags |= child$133.subtreeFlags), - (subtreeFlags |= child$133.flags), - (child$133.return = completedWork), - (child$133 = child$133.sibling); + for (child$132 = completedWork.child; null !== child$132; ) + (newChildLanes |= child$132.lanes | child$132.childLanes), + (subtreeFlags |= child$132.subtreeFlags), + (subtreeFlags |= child$132.flags), + (child$132.return = completedWork), + (child$132 = child$132.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -9889,11 +9881,11 @@ function completeWork(current, workInProgress, renderLanes) { null !== newProps.alternate.memoizedState && null !== newProps.alternate.memoizedState.cachePool && (type = newProps.alternate.memoizedState.cachePool.pool); - var cache$145 = null; + var cache$144 = null; null !== newProps.memoizedState && null !== newProps.memoizedState.cachePool && - (cache$145 = newProps.memoizedState.cachePool.pool); - cache$145 !== type && (newProps.flags |= 2048); + (cache$144 = newProps.memoizedState.cachePool.pool); + cache$144 !== type && (newProps.flags |= 2048); } renderLanes !== current && renderLanes && @@ -9918,8 +9910,8 @@ function completeWork(current, workInProgress, renderLanes) { type = workInProgress.memoizedState; if (null === type) return bubbleProperties(workInProgress), null; newProps = 0 !== (workInProgress.flags & 128); - cache$145 = type.rendering; - if (null === cache$145) + cache$144 = type.rendering; + if (null === cache$144) if (newProps) cutOffTailIfNeeded(type, !1); else { if ( @@ -9927,11 +9919,11 @@ function completeWork(current, workInProgress, renderLanes) { (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { - cache$145 = findFirstSuspended(current); - if (null !== cache$145) { + cache$144 = findFirstSuspended(current); + if (null !== cache$144) { workInProgress.flags |= 128; cutOffTailIfNeeded(type, !1); - current = cache$145.updateQueue; + current = cache$144.updateQueue; workInProgress.updateQueue = current; scheduleRetryEffect(workInProgress, current); workInProgress.subtreeFlags = 0; @@ -9956,7 +9948,7 @@ function completeWork(current, workInProgress, renderLanes) { } else { if (!newProps) - if (((current = findFirstSuspended(cache$145)), null !== current)) { + if (((current = findFirstSuspended(cache$144)), null !== current)) { if ( ((workInProgress.flags |= 128), (newProps = !0), @@ -9966,7 +9958,7 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(type, !0), null === type.tail && "hidden" === type.tailMode && - !cache$145.alternate && + !cache$144.alternate && !isHydrating) ) return bubbleProperties(workInProgress), null; @@ -9979,13 +9971,13 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); type.isBackwards - ? ((cache$145.sibling = workInProgress.child), - (workInProgress.child = cache$145)) + ? ((cache$144.sibling = workInProgress.child), + (workInProgress.child = cache$144)) : ((current = type.last), null !== current - ? (current.sibling = cache$145) - : (workInProgress.child = cache$145), - (type.last = cache$145)); + ? (current.sibling = cache$144) + : (workInProgress.child = cache$144), + (type.last = cache$144)); } if (null !== type.tail) return ( @@ -10505,9 +10497,9 @@ function markRootSuspended( didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes); didSkipSuspendedSiblings = root.expirationTimes; for (var lanes = suspendedLanes; 0 < lanes; ) { - var index$7 = 31 - clz32(lanes), - lane = 1 << index$7; - didSkipSuspendedSiblings[index$7] = -1; + var index$6 = 31 - clz32(lanes), + lane = 1 << index$6; + didSkipSuspendedSiblings[index$6] = -1; lanes &= ~lane; } 0 !== spawnedLane && @@ -10620,9 +10612,9 @@ function prepareFreshStack(root, lanes) { 0 < allEntangledLanes; ) { - var index$5 = 31 - clz32(allEntangledLanes), - lane = 1 << index$5; - lanes |= root[index$5]; + var index$4 = 31 - clz32(allEntangledLanes), + lane = 1 << index$4; + lanes |= root[index$4]; allEntangledLanes &= ~lane; } entangledRenderLanes = lanes; @@ -10728,8 +10720,8 @@ function renderRootSync(root, lanes) { } workLoopSync(); break; - } catch (thrownValue$160) { - handleThrow(root, thrownValue$160); + } catch (thrownValue$159) { + handleThrow(root, thrownValue$159); } while (1); lanes && root.shellSuspendCounter++; @@ -10838,8 +10830,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrent(); break; - } catch (thrownValue$162) { - handleThrow(root, thrownValue$162); + } catch (thrownValue$161) { + handleThrow(root, thrownValue$161); } while (1); resetContextDependencies(); @@ -11122,7 +11114,7 @@ function releaseRootPooledCache(root, remainingLanes) { } function flushPassiveEffects() { if (null !== rootWithPendingPassiveEffects) { - var root$166 = rootWithPendingPassiveEffects, + var root$165 = rootWithPendingPassiveEffects, remainingLanes = pendingPassiveEffectsRemainingLanes; pendingPassiveEffectsRemainingLanes = 0; var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes), @@ -11161,7 +11153,7 @@ function flushPassiveEffects() { } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition), - releaseRootPooledCache(root$166, remainingLanes); + releaseRootPooledCache(root$165, remainingLanes); } } return !1; @@ -11320,14 +11312,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { isFlushingWork = !0; do { var didPerformSomeWork = !1; - for (var root$168 = firstScheduledRoot; null !== root$168; ) { + for (var root$167 = firstScheduledRoot; null !== root$167; ) { if (!onlyLegacy) if (0 !== syncTransitionLanes) { - var pendingLanes = root$168.pendingLanes; + var pendingLanes = root$167.pendingLanes; if (0 === pendingLanes) var JSCompiler_inline_result = 0; else { - var suspendedLanes = root$168.suspendedLanes, - pingedLanes = root$168.pingedLanes; + var suspendedLanes = root$167.suspendedLanes, + pingedLanes = root$167.pingedLanes; JSCompiler_inline_result = (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; JSCompiler_inline_result &= @@ -11341,17 +11333,17 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { } 0 !== JSCompiler_inline_result && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$168, JSCompiler_inline_result)); + performSyncWorkOnRoot(root$167, JSCompiler_inline_result)); } else (JSCompiler_inline_result = workInProgressRootRenderLanes), (JSCompiler_inline_result = getNextLanes( - root$168, - root$168 === workInProgressRoot ? JSCompiler_inline_result : 0 + root$167, + root$167 === workInProgressRoot ? JSCompiler_inline_result : 0 )), 0 !== (JSCompiler_inline_result & 3) && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$168, JSCompiler_inline_result)); - root$168 = root$168.next; + performSyncWorkOnRoot(root$167, JSCompiler_inline_result)); + root$167 = root$167.next; } } while (didPerformSomeWork); isFlushingWork = !1; @@ -11392,12 +11384,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) { 0 < lanes; ) { - var index$6 = 31 - clz32(lanes), - lane = 1 << index$6, - expirationTime = expirationTimes[index$6]; + var index$5 = 31 - clz32(lanes), + lane = 1 << index$5, + expirationTime = expirationTimes[index$5]; if (-1 === expirationTime) { if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) - expirationTimes[index$6] = computeExpirationTime(lane, currentTime); + expirationTimes[index$5] = computeExpirationTime(lane, currentTime); } else expirationTime <= currentTime && (root.expiredLanes |= lane); lanes &= ~lane; } @@ -11561,20 +11553,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1412 = 0; - i$jscomp$inline_1412 < simpleEventPluginEvents.length; - i$jscomp$inline_1412++ + var i$jscomp$inline_1411 = 0; + i$jscomp$inline_1411 < simpleEventPluginEvents.length; + i$jscomp$inline_1411++ ) { - var eventName$jscomp$inline_1413 = - simpleEventPluginEvents[i$jscomp$inline_1412], - domEventName$jscomp$inline_1414 = - eventName$jscomp$inline_1413.toLowerCase(), - capitalizedEvent$jscomp$inline_1415 = - eventName$jscomp$inline_1413[0].toUpperCase() + - eventName$jscomp$inline_1413.slice(1); + var eventName$jscomp$inline_1412 = + simpleEventPluginEvents[i$jscomp$inline_1411], + domEventName$jscomp$inline_1413 = + eventName$jscomp$inline_1412.toLowerCase(), + capitalizedEvent$jscomp$inline_1414 = + eventName$jscomp$inline_1412[0].toUpperCase() + + eventName$jscomp$inline_1412.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1414, - "on" + capitalizedEvent$jscomp$inline_1415 + domEventName$jscomp$inline_1413, + "on" + capitalizedEvent$jscomp$inline_1414 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -12757,34 +12749,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$182 = props[hasSrc]; - if (null != propValue$182) + var propValue$181 = props[hasSrc]; + if (null != propValue$181) switch (hasSrc) { case "name": - hasSrcSet = propValue$182; + hasSrcSet = propValue$181; break; case "type": - propValue = propValue$182; + propValue = propValue$181; break; case "checked": - checked = propValue$182; + checked = propValue$181; break; case "defaultChecked": - defaultChecked = propValue$182; + defaultChecked = propValue$181; break; case "value": - propKey = propValue$182; + propKey = propValue$181; break; case "defaultValue": - defaultValue = propValue$182; + defaultValue = propValue$181; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$182) + if (null != propValue$181) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$182, props, null); + setProp(domElement, tag, hasSrc, propValue$181, props, null); } } initInput( @@ -12921,14 +12913,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$182 in props) - props.hasOwnProperty(propValue$182) && - ((hasSrc = props[propValue$182]), + for (propValue$181 in props) + props.hasOwnProperty(propValue$181) && + ((hasSrc = props[propValue$181]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$182, + propValue$181, hasSrc, props, void 0 @@ -12976,14 +12968,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$199 in nextProps) { - var propKey = nextProps[propKey$199]; - lastProp = lastProps[propKey$199]; + for (var propKey$198 in nextProps) { + var propKey = nextProps[propKey$198]; + lastProp = lastProps[propKey$198]; if ( - nextProps.hasOwnProperty(propKey$199) && + nextProps.hasOwnProperty(propKey$198) && (null != propKey || null != lastProp) ) - switch (propKey$199) { + switch (propKey$198) { case "type": type = propKey; break; @@ -13012,7 +13004,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$199, + propKey$198, propKey, nextProps, lastProp @@ -13031,7 +13023,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$199 = null; + propKey = value = defaultValue = propKey$198 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -13062,7 +13054,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$199 = type; + propKey$198 = type; break; case "defaultValue": defaultValue = type; @@ -13083,15 +13075,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$199 - ? updateOptions(domElement, !!lastProps, propKey$199, !1) + null != propKey$198 + ? updateOptions(domElement, !!lastProps, propKey$198, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$199 = null; + propKey = propKey$198 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -13115,7 +13107,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$199 = name; + propKey$198 = name; break; case "defaultValue": propKey = name; @@ -13129,17 +13121,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$199, propKey); + updateTextarea(domElement, propKey$198, propKey); return; case "option": - for (var propKey$215 in lastProps) + for (var propKey$214 in lastProps) if ( - ((propKey$199 = lastProps[propKey$215]), - lastProps.hasOwnProperty(propKey$215) && - null != propKey$199 && - !nextProps.hasOwnProperty(propKey$215)) + ((propKey$198 = lastProps[propKey$214]), + lastProps.hasOwnProperty(propKey$214) && + null != propKey$198 && + !nextProps.hasOwnProperty(propKey$214)) ) - switch (propKey$215) { + switch (propKey$214) { case "selected": domElement.selected = !1; break; @@ -13147,33 +13139,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$215, + propKey$214, null, nextProps, - propKey$199 + propKey$198 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$199 = nextProps[lastDefaultValue]), + ((propKey$198 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$199 !== propKey && - (null != propKey$199 || null != propKey)) + propKey$198 !== propKey && + (null != propKey$198 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$199 && - "function" !== typeof propKey$199 && - "symbol" !== typeof propKey$199; + propKey$198 && + "function" !== typeof propKey$198 && + "symbol" !== typeof propKey$198; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$199, + propKey$198, nextProps, propKey ); @@ -13194,24 +13186,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$220 in lastProps) - (propKey$199 = lastProps[propKey$220]), - lastProps.hasOwnProperty(propKey$220) && - null != propKey$199 && - !nextProps.hasOwnProperty(propKey$220) && - setProp(domElement, tag, propKey$220, null, nextProps, propKey$199); + for (var propKey$219 in lastProps) + (propKey$198 = lastProps[propKey$219]), + lastProps.hasOwnProperty(propKey$219) && + null != propKey$198 && + !nextProps.hasOwnProperty(propKey$219) && + setProp(domElement, tag, propKey$219, null, nextProps, propKey$198); for (checked in nextProps) if ( - ((propKey$199 = nextProps[checked]), + ((propKey$198 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$199 !== propKey && - (null != propKey$199 || null != propKey)) + propKey$198 !== propKey && + (null != propKey$198 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$199) + if (null != propKey$198) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -13219,7 +13211,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$199, + propKey$198, nextProps, propKey ); @@ -13227,49 +13219,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$225 in lastProps) - (propKey$199 = lastProps[propKey$225]), - lastProps.hasOwnProperty(propKey$225) && - void 0 !== propKey$199 && - !nextProps.hasOwnProperty(propKey$225) && + for (var propKey$224 in lastProps) + (propKey$198 = lastProps[propKey$224]), + lastProps.hasOwnProperty(propKey$224) && + void 0 !== propKey$198 && + !nextProps.hasOwnProperty(propKey$224) && setPropOnCustomElement( domElement, tag, - propKey$225, + propKey$224, void 0, nextProps, - propKey$199 + propKey$198 ); for (defaultChecked in nextProps) - (propKey$199 = nextProps[defaultChecked]), + (propKey$198 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$199 === propKey || - (void 0 === propKey$199 && void 0 === propKey) || + propKey$198 === propKey || + (void 0 === propKey$198 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$199, + propKey$198, nextProps, propKey ); return; } } - for (var propKey$230 in lastProps) - (propKey$199 = lastProps[propKey$230]), - lastProps.hasOwnProperty(propKey$230) && - null != propKey$199 && - !nextProps.hasOwnProperty(propKey$230) && - setProp(domElement, tag, propKey$230, null, nextProps, propKey$199); + for (var propKey$229 in lastProps) + (propKey$198 = lastProps[propKey$229]), + lastProps.hasOwnProperty(propKey$229) && + null != propKey$198 && + !nextProps.hasOwnProperty(propKey$229) && + setProp(domElement, tag, propKey$229, null, nextProps, propKey$198); for (lastProp in nextProps) - (propKey$199 = nextProps[lastProp]), + (propKey$198 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$199 === propKey || - (null == propKey$199 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$199, nextProps, propKey); + propKey$198 === propKey || + (null == propKey$198 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$198, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -13814,26 +13806,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$238 = getResourcesFromRoot( + var styles$237 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$239 = styles$238.get(type); - resource$239 || + resource$238 = styles$237.get(type); + resource$238 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$239 = { + (resource$238 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$238.set(type, resource$239), - (styles$238 = JSCompiler_inline_result.querySelector( + styles$237.set(type, resource$238), + (styles$237 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$238._p && - ((resource$239.instance = styles$238), - (resource$239.state.loading = 5)), + !styles$237._p && + ((resource$238.instance = styles$237), + (resource$238.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -13846,16 +13838,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$238 || + styles$237 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$239.state + resource$238.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$239; + return resource$238; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -13952,37 +13944,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$244 = hoistableRoot.querySelector( + var instance$243 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$244) + if (instance$243) return ( (resource.state.loading |= 4), - (resource.instance = instance$244), - markNodeAsHoistable(instance$244), - instance$244 + (resource.instance = instance$243), + markNodeAsHoistable(instance$243), + instance$243 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$244 = ( + instance$243 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$244); - var linkInstance = instance$244; + markNodeAsHoistable(instance$243); + var linkInstance = instance$243; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$244, "link", instance); + setInitialProperties(instance$243, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$244, props.precedence, hoistableRoot); - return (resource.instance = instance$244); + insertStylesheet(instance$243, props.precedence, hoistableRoot); + return (resource.instance = instance$243); case "script": - instance$244 = getScriptKey(props.src); + instance$243 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$244) + getScriptSelectorFromKey(instance$243) )) ) return ( @@ -13991,7 +13983,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$244))) + if ((styleProps = preloadPropsMap.get(instance$243))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -15015,16 +15007,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1659 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1658 = React.version; if ( - "19.0.0-rc-5dcb0097-20240918" !== - isomorphicReactPackageVersion$jscomp$inline_1659 + "19.0.0-rc-e740d4b1-20240919" !== + isomorphicReactPackageVersion$jscomp$inline_1658 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1659, - "19.0.0-rc-5dcb0097-20240918" + isomorphicReactPackageVersion$jscomp$inline_1658, + "19.0.0-rc-e740d4b1-20240919" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15044,25 +15036,25 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_2125 = { +var internals$jscomp$inline_2124 = { bundleType: 0, - version: "19.0.0-rc-5dcb0097-20240918", + version: "19.0.0-rc-e740d4b1-20240919", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-5dcb0097-20240918" + reconcilerVersion: "19.0.0-rc-e740d4b1-20240919" }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2126 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2125 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2126.isDisabled && - hook$jscomp$inline_2126.supportsFiber + !hook$jscomp$inline_2125.isDisabled && + hook$jscomp$inline_2125.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2126.inject( - internals$jscomp$inline_2125 + (rendererID = hook$jscomp$inline_2125.inject( + internals$jscomp$inline_2124 )), - (injectedHook = hook$jscomp$inline_2126); + (injectedHook = hook$jscomp$inline_2125); } catch (err) {} } exports.createRoot = function (container, options) { @@ -15154,4 +15146,4 @@ exports.hydrateRoot = function (container, initialChildren, options) { listenToAllSupportedEvents(container); return new ReactDOMHydrationRoot(initialChildren); }; -exports.version = "19.0.0-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js index bb804c926eb37..7ff60ec8e81ab 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.development.js @@ -352,16 +352,16 @@ } else { try { Fake.call(); - } catch (x$1) { - control = x$1; + } catch (x$0) { + control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); - } catch (x$2) { - control = x$2; + } catch (x$1) { + control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && @@ -3527,43 +3527,28 @@ : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmpm2093859904$1, $jscomp$nullish$tmp0; containerInfo = - null != - ($jscomp$nullish$tmp0 = - null == containerInfo - ? void 0 - : null == - ($jscomp$optchain$tmpm2093859904$1 = - containerInfo.ownerDocument) - ? void 0 - : $jscomp$optchain$tmpm2093859904$1.defaultView) - ? $jscomp$nullish$tmp0 + null != containerInfo && + null != containerInfo.ownerDocument && + null != containerInfo.ownerDocument.defaultView + ? containerInfo.ownerDocument.defaultView : window; for ( - $jscomp$optchain$tmpm2093859904$1 = getActiveElement( - containerInfo.document - ); - $jscomp$optchain$tmpm2093859904$1 instanceof - containerInfo.HTMLIFrameElement; + var element = getActiveElement(containerInfo.document); + element instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = - "string" === - typeof $jscomp$optchain$tmpm2093859904$1.contentWindow.location - .href; + "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } - if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmpm2093859904$1.contentWindow; + if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; - $jscomp$optchain$tmpm2093859904$1 = getActiveElement( - containerInfo.document - ); + element = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmpm2093859904$1; + return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -6482,8 +6467,8 @@ try { (currentTransition = action(prevState, payload)), handleActionReturnValue(actionQueue, node, currentTransition); - } catch (error$4) { - onActionError(actionQueue, node, error$4); + } catch (error$3) { + onActionError(actionQueue, node, error$3); } } function handleActionReturnValue(actionQueue, node, returnValue) { @@ -7434,9 +7419,9 @@ var onUncaughtError = root.onUncaughtError; onUncaughtError(error, { componentStack: errorInfo.stack }); } - } catch (e$5) { + } catch (e$4) { setTimeout(function () { - throw e$5; + throw e$4; }); } } @@ -7451,9 +7436,9 @@ componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); - } catch (e$6) { + } catch (e$5) { setTimeout(function () { - throw e$6; + throw e$5; }); } } @@ -8641,32 +8626,32 @@ return current; } function updateSuspenseComponent(current, workInProgress, renderLanes) { - var JSCompiler_object_inline_digest_2293; - var JSCompiler_object_inline_stack_2294 = workInProgress.pendingProps; + var JSCompiler_object_inline_digest_2292; + var JSCompiler_object_inline_stack_2293 = workInProgress.pendingProps; shouldSuspendImpl(workInProgress) && (workInProgress.flags |= 128); - var JSCompiler_object_inline_componentStack_2295 = !1; + var JSCompiler_object_inline_componentStack_2294 = !1; var didSuspend = 0 !== (workInProgress.flags & 128); - (JSCompiler_object_inline_digest_2293 = didSuspend) || - (JSCompiler_object_inline_digest_2293 = + (JSCompiler_object_inline_digest_2292 = didSuspend) || + (JSCompiler_object_inline_digest_2292 = null !== current && null === current.memoizedState ? !1 : 0 !== (suspenseStackCursor.current & ForceSuspenseFallback)); - JSCompiler_object_inline_digest_2293 && - ((JSCompiler_object_inline_componentStack_2295 = !0), + JSCompiler_object_inline_digest_2292 && + ((JSCompiler_object_inline_componentStack_2294 = !0), (workInProgress.flags &= -129)); - JSCompiler_object_inline_digest_2293 = 0 !== (workInProgress.flags & 32); + JSCompiler_object_inline_digest_2292 = 0 !== (workInProgress.flags & 32); workInProgress.flags &= -33; if (null === current) { if (isHydrating) { - JSCompiler_object_inline_componentStack_2295 + JSCompiler_object_inline_componentStack_2294 ? pushPrimaryTreeSuspenseHandler(workInProgress) : reuseSuspenseHandlerOnStack(workInProgress); if (isHydrating) { - var JSCompiler_object_inline_message_2292 = nextHydratableInstance; + var JSCompiler_object_inline_message_2291 = nextHydratableInstance; var JSCompiler_temp; - if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2292)) { + if (!(JSCompiler_temp = !JSCompiler_object_inline_message_2291)) { c: { - var instance = JSCompiler_object_inline_message_2292; + var instance = JSCompiler_object_inline_message_2291; for ( JSCompiler_temp = rootOrSingletonContext; 8 !== instance.nodeType; @@ -8707,19 +8692,19 @@ JSCompiler_temp && (warnNonHydratedInstance( workInProgress, - JSCompiler_object_inline_message_2292 + JSCompiler_object_inline_message_2291 ), throwOnHydrationMismatch(workInProgress)); } - JSCompiler_object_inline_message_2292 = workInProgress.memoizedState; + JSCompiler_object_inline_message_2291 = workInProgress.memoizedState; if ( - null !== JSCompiler_object_inline_message_2292 && - ((JSCompiler_object_inline_message_2292 = - JSCompiler_object_inline_message_2292.dehydrated), - null !== JSCompiler_object_inline_message_2292) + null !== JSCompiler_object_inline_message_2291 && + ((JSCompiler_object_inline_message_2291 = + JSCompiler_object_inline_message_2291.dehydrated), + null !== JSCompiler_object_inline_message_2291) ) return ( - JSCompiler_object_inline_message_2292.data === + JSCompiler_object_inline_message_2291.data === SUSPENSE_FALLBACK_START_DATA ? (workInProgress.lanes = 16) : (workInProgress.lanes = 536870912), @@ -8727,58 +8712,58 @@ ); popSuspenseHandler(workInProgress); } - JSCompiler_object_inline_message_2292 = - JSCompiler_object_inline_stack_2294.children; - JSCompiler_object_inline_stack_2294 = - JSCompiler_object_inline_stack_2294.fallback; - if (JSCompiler_object_inline_componentStack_2295) + JSCompiler_object_inline_message_2291 = + JSCompiler_object_inline_stack_2293.children; + JSCompiler_object_inline_stack_2293 = + JSCompiler_object_inline_stack_2293.fallback; + if (JSCompiler_object_inline_componentStack_2294) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2295 = + (JSCompiler_object_inline_componentStack_2294 = workInProgress.mode), - (JSCompiler_object_inline_message_2292 = + (JSCompiler_object_inline_message_2291 = mountWorkInProgressOffscreenFiber( { mode: "hidden", - children: JSCompiler_object_inline_message_2292 + children: JSCompiler_object_inline_message_2291 }, - JSCompiler_object_inline_componentStack_2295 + JSCompiler_object_inline_componentStack_2294 )), - (JSCompiler_object_inline_stack_2294 = createFiberFromFragment( - JSCompiler_object_inline_stack_2294, - JSCompiler_object_inline_componentStack_2295, + (JSCompiler_object_inline_stack_2293 = createFiberFromFragment( + JSCompiler_object_inline_stack_2293, + JSCompiler_object_inline_componentStack_2294, renderLanes, null )), - (JSCompiler_object_inline_message_2292.return = workInProgress), - (JSCompiler_object_inline_stack_2294.return = workInProgress), - (JSCompiler_object_inline_message_2292.sibling = - JSCompiler_object_inline_stack_2294), - (workInProgress.child = JSCompiler_object_inline_message_2292), - (JSCompiler_object_inline_componentStack_2295 = + (JSCompiler_object_inline_message_2291.return = workInProgress), + (JSCompiler_object_inline_stack_2293.return = workInProgress), + (JSCompiler_object_inline_message_2291.sibling = + JSCompiler_object_inline_stack_2293), + (workInProgress.child = JSCompiler_object_inline_message_2291), + (JSCompiler_object_inline_componentStack_2294 = workInProgress.child), - (JSCompiler_object_inline_componentStack_2295.memoizedState = + (JSCompiler_object_inline_componentStack_2294.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_componentStack_2295.childLanes = + (JSCompiler_object_inline_componentStack_2294.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2293, + JSCompiler_object_inline_digest_2292, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2294 + JSCompiler_object_inline_stack_2293 ); pushPrimaryTreeSuspenseHandler(workInProgress); return mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_message_2292 + JSCompiler_object_inline_message_2291 ); } var prevState = current.memoizedState; if ( null !== prevState && - ((JSCompiler_object_inline_message_2292 = prevState.dehydrated), - null !== JSCompiler_object_inline_message_2292) + ((JSCompiler_object_inline_message_2291 = prevState.dehydrated), + null !== JSCompiler_object_inline_message_2291) ) { if (didSuspend) workInProgress.flags & 256 @@ -8795,94 +8780,94 @@ (workInProgress.flags |= 128), (workInProgress = null)) : (reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2295 = - JSCompiler_object_inline_stack_2294.fallback), - (JSCompiler_object_inline_message_2292 = workInProgress.mode), - (JSCompiler_object_inline_stack_2294 = + (JSCompiler_object_inline_componentStack_2294 = + JSCompiler_object_inline_stack_2293.fallback), + (JSCompiler_object_inline_message_2291 = workInProgress.mode), + (JSCompiler_object_inline_stack_2293 = mountWorkInProgressOffscreenFiber( { mode: "visible", - children: JSCompiler_object_inline_stack_2294.children + children: JSCompiler_object_inline_stack_2293.children }, - JSCompiler_object_inline_message_2292 + JSCompiler_object_inline_message_2291 )), - (JSCompiler_object_inline_componentStack_2295 = + (JSCompiler_object_inline_componentStack_2294 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2295, - JSCompiler_object_inline_message_2292, + JSCompiler_object_inline_componentStack_2294, + JSCompiler_object_inline_message_2291, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2295.flags |= 2), - (JSCompiler_object_inline_stack_2294.return = workInProgress), - (JSCompiler_object_inline_componentStack_2295.return = + (JSCompiler_object_inline_componentStack_2294.flags |= 2), + (JSCompiler_object_inline_stack_2293.return = workInProgress), + (JSCompiler_object_inline_componentStack_2294.return = workInProgress), - (JSCompiler_object_inline_stack_2294.sibling = - JSCompiler_object_inline_componentStack_2295), - (workInProgress.child = JSCompiler_object_inline_stack_2294), + (JSCompiler_object_inline_stack_2293.sibling = + JSCompiler_object_inline_componentStack_2294), + (workInProgress.child = JSCompiler_object_inline_stack_2293), reconcileChildFibers( workInProgress, current.child, null, renderLanes ), - (JSCompiler_object_inline_stack_2294 = workInProgress.child), - (JSCompiler_object_inline_stack_2294.memoizedState = + (JSCompiler_object_inline_stack_2293 = workInProgress.child), + (JSCompiler_object_inline_stack_2293.memoizedState = mountSuspenseOffscreenState(renderLanes)), - (JSCompiler_object_inline_stack_2294.childLanes = + (JSCompiler_object_inline_stack_2293.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2293, + JSCompiler_object_inline_digest_2292, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), (workInProgress = - JSCompiler_object_inline_componentStack_2295)); + JSCompiler_object_inline_componentStack_2294)); else if ( (pushPrimaryTreeSuspenseHandler(workInProgress), isHydrating && console.error( "We should not be hydrating here. This is a bug in React. Please file a bug." ), - JSCompiler_object_inline_message_2292.data === + JSCompiler_object_inline_message_2291.data === SUSPENSE_FALLBACK_START_DATA) ) { - JSCompiler_object_inline_digest_2293 = - JSCompiler_object_inline_message_2292.nextSibling && - JSCompiler_object_inline_message_2292.nextSibling.dataset; - if (JSCompiler_object_inline_digest_2293) { - JSCompiler_temp = JSCompiler_object_inline_digest_2293.dgst; - var message = JSCompiler_object_inline_digest_2293.msg; - instance = JSCompiler_object_inline_digest_2293.stck; - var componentStack = JSCompiler_object_inline_digest_2293.cstck; + JSCompiler_object_inline_digest_2292 = + JSCompiler_object_inline_message_2291.nextSibling && + JSCompiler_object_inline_message_2291.nextSibling.dataset; + if (JSCompiler_object_inline_digest_2292) { + JSCompiler_temp = JSCompiler_object_inline_digest_2292.dgst; + var message = JSCompiler_object_inline_digest_2292.msg; + instance = JSCompiler_object_inline_digest_2292.stck; + var componentStack = JSCompiler_object_inline_digest_2292.cstck; } - JSCompiler_object_inline_message_2292 = message; - JSCompiler_object_inline_digest_2293 = JSCompiler_temp; - JSCompiler_object_inline_stack_2294 = instance; - JSCompiler_object_inline_componentStack_2295 = componentStack; - JSCompiler_object_inline_message_2292 = - JSCompiler_object_inline_message_2292 - ? Error(JSCompiler_object_inline_message_2292) + JSCompiler_object_inline_message_2291 = message; + JSCompiler_object_inline_digest_2292 = JSCompiler_temp; + JSCompiler_object_inline_stack_2293 = instance; + JSCompiler_object_inline_componentStack_2294 = componentStack; + JSCompiler_object_inline_message_2291 = + JSCompiler_object_inline_message_2291 + ? Error(JSCompiler_object_inline_message_2291) : Error( "The server could not finish this Suspense boundary, likely due to an error during server rendering. Switched to client rendering." ); - JSCompiler_object_inline_message_2292.stack = - JSCompiler_object_inline_stack_2294 || ""; - JSCompiler_object_inline_message_2292.digest = - JSCompiler_object_inline_digest_2293; - JSCompiler_object_inline_digest_2293 = - void 0 === JSCompiler_object_inline_componentStack_2295 + JSCompiler_object_inline_message_2291.stack = + JSCompiler_object_inline_stack_2293 || ""; + JSCompiler_object_inline_message_2291.digest = + JSCompiler_object_inline_digest_2292; + JSCompiler_object_inline_digest_2292 = + void 0 === JSCompiler_object_inline_componentStack_2294 ? null - : JSCompiler_object_inline_componentStack_2295; - "string" === typeof JSCompiler_object_inline_digest_2293 && + : JSCompiler_object_inline_componentStack_2294; + "string" === typeof JSCompiler_object_inline_digest_2292 && CapturedStacks.set( - JSCompiler_object_inline_message_2292, - JSCompiler_object_inline_digest_2293 + JSCompiler_object_inline_message_2291, + JSCompiler_object_inline_digest_2292 ); queueHydrationError({ - value: JSCompiler_object_inline_message_2292, + value: JSCompiler_object_inline_message_2291, source: null, - stack: JSCompiler_object_inline_digest_2293 + stack: JSCompiler_object_inline_digest_2292 }); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8897,25 +8882,25 @@ renderLanes, !1 ), - (JSCompiler_object_inline_digest_2293 = + (JSCompiler_object_inline_digest_2292 = 0 !== (renderLanes & current.childLanes)), - didReceiveUpdate || JSCompiler_object_inline_digest_2293) + didReceiveUpdate || JSCompiler_object_inline_digest_2292) ) { - JSCompiler_object_inline_digest_2293 = workInProgressRoot; - if (null !== JSCompiler_object_inline_digest_2293) { - JSCompiler_object_inline_stack_2294 = renderLanes & -renderLanes; - if (0 !== (JSCompiler_object_inline_stack_2294 & 42)) - JSCompiler_object_inline_stack_2294 = 1; + JSCompiler_object_inline_digest_2292 = workInProgressRoot; + if (null !== JSCompiler_object_inline_digest_2292) { + JSCompiler_object_inline_stack_2293 = renderLanes & -renderLanes; + if (0 !== (JSCompiler_object_inline_stack_2293 & 42)) + JSCompiler_object_inline_stack_2293 = 1; else - switch (JSCompiler_object_inline_stack_2294) { + switch (JSCompiler_object_inline_stack_2293) { case 2: - JSCompiler_object_inline_stack_2294 = 1; + JSCompiler_object_inline_stack_2293 = 1; break; case 8: - JSCompiler_object_inline_stack_2294 = 4; + JSCompiler_object_inline_stack_2293 = 4; break; case 32: - JSCompiler_object_inline_stack_2294 = 16; + JSCompiler_object_inline_stack_2293 = 16; break; case 128: case 256: @@ -8936,40 +8921,40 @@ case 8388608: case 16777216: case 33554432: - JSCompiler_object_inline_stack_2294 = 64; + JSCompiler_object_inline_stack_2293 = 64; break; case 268435456: - JSCompiler_object_inline_stack_2294 = 134217728; + JSCompiler_object_inline_stack_2293 = 134217728; break; default: - JSCompiler_object_inline_stack_2294 = 0; + JSCompiler_object_inline_stack_2293 = 0; } - JSCompiler_object_inline_stack_2294 = + JSCompiler_object_inline_stack_2293 = 0 !== - (JSCompiler_object_inline_stack_2294 & - (JSCompiler_object_inline_digest_2293.suspendedLanes | + (JSCompiler_object_inline_stack_2293 & + (JSCompiler_object_inline_digest_2292.suspendedLanes | renderLanes)) ? 0 - : JSCompiler_object_inline_stack_2294; + : JSCompiler_object_inline_stack_2293; if ( - 0 !== JSCompiler_object_inline_stack_2294 && - JSCompiler_object_inline_stack_2294 !== prevState.retryLane + 0 !== JSCompiler_object_inline_stack_2293 && + JSCompiler_object_inline_stack_2293 !== prevState.retryLane ) throw ( - ((prevState.retryLane = JSCompiler_object_inline_stack_2294), + ((prevState.retryLane = JSCompiler_object_inline_stack_2293), enqueueConcurrentRenderForLane( current, - JSCompiler_object_inline_stack_2294 + JSCompiler_object_inline_stack_2293 ), scheduleUpdateOnFiber( - JSCompiler_object_inline_digest_2293, + JSCompiler_object_inline_digest_2292, current, - JSCompiler_object_inline_stack_2294 + JSCompiler_object_inline_stack_2293 ), SelectiveHydrationException) ); } - JSCompiler_object_inline_message_2292.data === + JSCompiler_object_inline_message_2291.data === SUSPENSE_PENDING_START_DATA || renderDidSuspendDelayIfPossible(); workInProgress = retrySuspenseComponentWithoutHydrating( current, @@ -8977,7 +8962,7 @@ renderLanes ); } else - JSCompiler_object_inline_message_2292.data === + JSCompiler_object_inline_message_2291.data === SUSPENSE_PENDING_START_DATA ? ((workInProgress.flags |= 128), (workInProgress.child = current.child), @@ -8985,12 +8970,12 @@ null, current )), - (JSCompiler_object_inline_message_2292._reactRetry = + (JSCompiler_object_inline_message_2291._reactRetry = workInProgress), (workInProgress = null)) : ((current = prevState.treeContext), (nextHydratableInstance = getNextHydratable( - JSCompiler_object_inline_message_2292.nextSibling + JSCompiler_object_inline_message_2291.nextSibling )), (hydrationParentFiber = workInProgress), (isHydrating = !0), @@ -9008,57 +8993,57 @@ (treeContextProvider = workInProgress)), (workInProgress = mountSuspensePrimaryChildren( workInProgress, - JSCompiler_object_inline_stack_2294.children + JSCompiler_object_inline_stack_2293.children )), (workInProgress.flags |= 4096)); return workInProgress; } - if (JSCompiler_object_inline_componentStack_2295) + if (JSCompiler_object_inline_componentStack_2294) return ( reuseSuspenseHandlerOnStack(workInProgress), - (JSCompiler_object_inline_componentStack_2295 = - JSCompiler_object_inline_stack_2294.fallback), - (JSCompiler_object_inline_message_2292 = workInProgress.mode), + (JSCompiler_object_inline_componentStack_2294 = + JSCompiler_object_inline_stack_2293.fallback), + (JSCompiler_object_inline_message_2291 = workInProgress.mode), (JSCompiler_temp = current.child), (instance = JSCompiler_temp.sibling), - (JSCompiler_object_inline_stack_2294 = createWorkInProgress( + (JSCompiler_object_inline_stack_2293 = createWorkInProgress( JSCompiler_temp, { mode: "hidden", - children: JSCompiler_object_inline_stack_2294.children + children: JSCompiler_object_inline_stack_2293.children } )), - (JSCompiler_object_inline_stack_2294.subtreeFlags = + (JSCompiler_object_inline_stack_2293.subtreeFlags = JSCompiler_temp.subtreeFlags & 31457280), null !== instance - ? (JSCompiler_object_inline_componentStack_2295 = + ? (JSCompiler_object_inline_componentStack_2294 = createWorkInProgress( instance, - JSCompiler_object_inline_componentStack_2295 + JSCompiler_object_inline_componentStack_2294 )) - : ((JSCompiler_object_inline_componentStack_2295 = + : ((JSCompiler_object_inline_componentStack_2294 = createFiberFromFragment( - JSCompiler_object_inline_componentStack_2295, - JSCompiler_object_inline_message_2292, + JSCompiler_object_inline_componentStack_2294, + JSCompiler_object_inline_message_2291, renderLanes, null )), - (JSCompiler_object_inline_componentStack_2295.flags |= 2)), - (JSCompiler_object_inline_componentStack_2295.return = + (JSCompiler_object_inline_componentStack_2294.flags |= 2)), + (JSCompiler_object_inline_componentStack_2294.return = workInProgress), - (JSCompiler_object_inline_stack_2294.return = workInProgress), - (JSCompiler_object_inline_stack_2294.sibling = - JSCompiler_object_inline_componentStack_2295), - (workInProgress.child = JSCompiler_object_inline_stack_2294), - (JSCompiler_object_inline_stack_2294 = - JSCompiler_object_inline_componentStack_2295), - (JSCompiler_object_inline_componentStack_2295 = workInProgress.child), - (JSCompiler_object_inline_message_2292 = current.child.memoizedState), - null === JSCompiler_object_inline_message_2292 - ? (JSCompiler_object_inline_message_2292 = + (JSCompiler_object_inline_stack_2293.return = workInProgress), + (JSCompiler_object_inline_stack_2293.sibling = + JSCompiler_object_inline_componentStack_2294), + (workInProgress.child = JSCompiler_object_inline_stack_2293), + (JSCompiler_object_inline_stack_2293 = + JSCompiler_object_inline_componentStack_2294), + (JSCompiler_object_inline_componentStack_2294 = workInProgress.child), + (JSCompiler_object_inline_message_2291 = current.child.memoizedState), + null === JSCompiler_object_inline_message_2291 + ? (JSCompiler_object_inline_message_2291 = mountSuspenseOffscreenState(renderLanes)) : ((JSCompiler_temp = - JSCompiler_object_inline_message_2292.cachePool), + JSCompiler_object_inline_message_2291.cachePool), null !== JSCompiler_temp ? ((instance = CacheContext._currentValue), (JSCompiler_temp = @@ -9066,37 +9051,37 @@ ? { parent: instance, pool: instance } : JSCompiler_temp)) : (JSCompiler_temp = getSuspendedCache()), - (JSCompiler_object_inline_message_2292 = { + (JSCompiler_object_inline_message_2291 = { baseLanes: - JSCompiler_object_inline_message_2292.baseLanes | renderLanes, + JSCompiler_object_inline_message_2291.baseLanes | renderLanes, cachePool: JSCompiler_temp })), - (JSCompiler_object_inline_componentStack_2295.memoizedState = - JSCompiler_object_inline_message_2292), - (JSCompiler_object_inline_componentStack_2295.childLanes = + (JSCompiler_object_inline_componentStack_2294.memoizedState = + JSCompiler_object_inline_message_2291), + (JSCompiler_object_inline_componentStack_2294.childLanes = getRemainingWorkInPrimaryTree( current, - JSCompiler_object_inline_digest_2293, + JSCompiler_object_inline_digest_2292, renderLanes )), (workInProgress.memoizedState = SUSPENDED_MARKER), - JSCompiler_object_inline_stack_2294 + JSCompiler_object_inline_stack_2293 ); pushPrimaryTreeSuspenseHandler(workInProgress); renderLanes = current.child; current = renderLanes.sibling; renderLanes = createWorkInProgress(renderLanes, { mode: "visible", - children: JSCompiler_object_inline_stack_2294.children + children: JSCompiler_object_inline_stack_2293.children }); renderLanes.return = workInProgress; renderLanes.sibling = null; null !== current && - ((JSCompiler_object_inline_digest_2293 = workInProgress.deletions), - null === JSCompiler_object_inline_digest_2293 + ((JSCompiler_object_inline_digest_2292 = workInProgress.deletions), + null === JSCompiler_object_inline_digest_2292 ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16)) - : JSCompiler_object_inline_digest_2293.push(current)); + : JSCompiler_object_inline_digest_2292.push(current)); workInProgress.child = renderLanes; workInProgress.memoizedState = null; return renderLanes; @@ -11034,8 +11019,8 @@ recordEffectDuration(current); } else runWithFiberInDEV(current, ref, null); - } catch (error$7) { - captureCommitPhaseError(current, nearestMountedAncestor, error$7); + } catch (error$6) { + captureCommitPhaseError(current, nearestMountedAncestor, error$6); } else ref.current = null; } @@ -11255,7 +11240,7 @@ selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; - } catch (e$3) { + } catch (e$2) { JSCompiler_temp = null; break a; } @@ -14856,8 +14841,8 @@ } workLoopSync(); break; - } catch (thrownValue$9) { - handleThrow(root, thrownValue$9); + } catch (thrownValue$8) { + handleThrow(root, thrownValue$8); } while (1); lanes && root.shellSuspendCounter++; @@ -15017,8 +15002,8 @@ ? workLoopSync() : workLoopConcurrent(); break; - } catch (thrownValue$10) { - handleThrow(root, thrownValue$10); + } catch (thrownValue$9) { + handleThrow(root, thrownValue$9); } while (1); resetContextDependencies(); @@ -23900,7 +23885,7 @@ var nonExtensibleObject = Object.preventExtensions({}); new Map([[nonExtensibleObject, null]]); new Set([nonExtensibleObject]); - } catch (e$8) { + } catch (e$7) { hasBadMapPolyfill = !0; } var DefaultAsyncDispatcher = { @@ -24528,11 +24513,11 @@ }; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); ("function" === typeof Map && @@ -24569,11 +24554,11 @@ !(function () { var internals = { bundleType: 1, - version: "19.0.0-rc-5dcb0097-20240918", + version: "19.0.0-rc-e740d4b1-20240919", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-5dcb0097-20240918" + reconcilerVersion: "19.0.0-rc-e740d4b1-20240919" }; internals.overrideHookState = overrideHookState; internals.overrideHookStateDeletePath = overrideHookStateDeletePath; @@ -25047,7 +25032,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-rc-5dcb0097-20240918"; + exports.version = "19.0.0-rc-e740d4b1-20240919"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js index 7ecbfed14e24f..4212d35fcf2d8 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-profiling.profiling.js @@ -168,16 +168,16 @@ function describeNativeComponentFrame(fn, construct) { } else { try { Fake.call(); - } catch (x$1) { - control = x$1; + } catch (x$0) { + control = x$0; } fn.call(Fake.prototype); } } else { try { throw Error(); - } catch (x$2) { - control = x$2; + } catch (x$1) { + control = x$1; } (Fake = fn()) && "function" === typeof Fake.catch && @@ -366,36 +366,36 @@ function findCurrentFiberUsingSlowPath(fiber) { } if (a.return !== b.return) (a = parentA), (b = parentB); else { - for (var didFindChild = !1, child$3 = parentA.child; child$3; ) { - if (child$3 === a) { + for (var didFindChild = !1, child$2 = parentA.child; child$2; ) { + if (child$2 === a) { didFindChild = !0; a = parentA; b = parentB; break; } - if (child$3 === b) { + if (child$2 === b) { didFindChild = !0; b = parentA; a = parentB; break; } - child$3 = child$3.sibling; + child$2 = child$2.sibling; } if (!didFindChild) { - for (child$3 = parentB.child; child$3; ) { - if (child$3 === a) { + for (child$2 = parentB.child; child$2; ) { + if (child$2 === a) { didFindChild = !0; a = parentB; b = parentA; break; } - if (child$3 === b) { + if (child$2 === b) { didFindChild = !0; b = parentB; a = parentA; break; } - child$3 = child$3.sibling; + child$2 = child$2.sibling; } if (!didFindChild) throw Error(formatProdErrorMessage(189)); } @@ -788,18 +788,18 @@ function markRootFinished( 0 < remainingLanes; ) { - var index$8 = 31 - clz32(remainingLanes), - lane = 1 << index$8; - entanglements[index$8] = 0; - expirationTimes[index$8] = -1; - var hiddenUpdatesForLane = hiddenUpdates[index$8]; + var index$7 = 31 - clz32(remainingLanes), + lane = 1 << index$7; + entanglements[index$7] = 0; + expirationTimes[index$7] = -1; + var hiddenUpdatesForLane = hiddenUpdates[index$7]; if (null !== hiddenUpdatesForLane) for ( - hiddenUpdates[index$8] = null, index$8 = 0; - index$8 < hiddenUpdatesForLane.length; - index$8++ + hiddenUpdates[index$7] = null, index$7 = 0; + index$7 < hiddenUpdatesForLane.length; + index$7++ ) { - var update = hiddenUpdatesForLane[index$8]; + var update = hiddenUpdatesForLane[index$7]; null !== update && (update.lane &= -536870913); } remainingLanes &= ~lane; @@ -824,19 +824,19 @@ function markSpawnedDeferredLane(root, spawnedLane, entangledLanes) { function markRootEntangled(root, entangledLanes) { var rootEntangledLanes = (root.entangledLanes |= entangledLanes); for (root = root.entanglements; rootEntangledLanes; ) { - var index$9 = 31 - clz32(rootEntangledLanes), - lane = 1 << index$9; - (lane & entangledLanes) | (root[index$9] & entangledLanes) && - (root[index$9] |= entangledLanes); + var index$8 = 31 - clz32(rootEntangledLanes), + lane = 1 << index$8; + (lane & entangledLanes) | (root[index$8] & entangledLanes) && + (root[index$8] |= entangledLanes); rootEntangledLanes &= ~lane; } } function addFiberToLanesMap(root, fiber, lanes) { if (isDevToolsPresent) for (root = root.pendingUpdatersLaneMap; 0 < lanes; ) { - var index$11 = 31 - clz32(lanes), - lane = 1 << index$11; - root[index$11].add(fiber); + var index$10 = 31 - clz32(lanes), + lane = 1 << index$10; + root[index$10].add(fiber); lanes &= ~lane; } } @@ -848,16 +848,16 @@ function movePendingFibersToMemoized(root, lanes) { 0 < lanes; ) { - var index$12 = 31 - clz32(lanes); - root = 1 << index$12; - index$12 = pendingUpdatersLaneMap[index$12]; - 0 < index$12.size && - (index$12.forEach(function (fiber) { + var index$11 = 31 - clz32(lanes); + root = 1 << index$11; + index$11 = pendingUpdatersLaneMap[index$11]; + 0 < index$11.size && + (index$11.forEach(function (fiber) { var alternate = fiber.alternate; (null !== alternate && memoizedUpdaters.has(alternate)) || memoizedUpdaters.add(fiber); }), - index$12.clear()); + index$11.clear()); lanes &= ~root; } } @@ -1007,8 +1007,8 @@ function setValueForAttribute(node, name, value) { node.removeAttribute(name); return; case "boolean": - var prefix$13 = name.toLowerCase().slice(0, 5); - if ("data-" !== prefix$13 && "aria-" !== prefix$13) { + var prefix$12 = name.toLowerCase().slice(0, 5); + if ("data-" !== prefix$12 && "aria-" !== prefix$12) { node.removeAttribute(name); return; } @@ -1341,15 +1341,15 @@ function setValueForStyles(node, styles, prevStyles) { : "float" === styleName ? (node.cssFloat = "") : (node[styleName] = "")); - for (var styleName$19 in styles) - (styleName = styles[styleName$19]), - styles.hasOwnProperty(styleName$19) && - prevStyles[styleName$19] !== styleName && - setValueForStyle(node, styleName$19, styleName); + for (var styleName$18 in styles) + (styleName = styles[styleName$18]), + styles.hasOwnProperty(styleName$18) && + prevStyles[styleName$18] !== styleName && + setValueForStyle(node, styleName$18, styleName); } else - for (var styleName$20 in styles) - styles.hasOwnProperty(styleName$20) && - setValueForStyle(node, styleName$20, styles[styleName$20]); + for (var styleName$19 in styles) + styles.hasOwnProperty(styleName$19) && + setValueForStyle(node, styleName$19, styles[styleName$19]); } function isCustomElement(tagName) { if (-1 === tagName.indexOf("-")) return !1; @@ -2078,19 +2078,19 @@ function getTargetInstForChangeEvent(domEventName, targetInst) { } var isInputEventSupported = !1; if (canUseDOM) { - var JSCompiler_inline_result$jscomp$295; + var JSCompiler_inline_result$jscomp$294; if (canUseDOM) { - var isSupported$jscomp$inline_432 = "oninput" in document; - if (!isSupported$jscomp$inline_432) { - var element$jscomp$inline_433 = document.createElement("div"); - element$jscomp$inline_433.setAttribute("oninput", "return;"); - isSupported$jscomp$inline_432 = - "function" === typeof element$jscomp$inline_433.oninput; + var isSupported$jscomp$inline_431 = "oninput" in document; + if (!isSupported$jscomp$inline_431) { + var element$jscomp$inline_432 = document.createElement("div"); + element$jscomp$inline_432.setAttribute("oninput", "return;"); + isSupported$jscomp$inline_431 = + "function" === typeof element$jscomp$inline_432.oninput; } - JSCompiler_inline_result$jscomp$295 = isSupported$jscomp$inline_432; - } else JSCompiler_inline_result$jscomp$295 = !1; + JSCompiler_inline_result$jscomp$294 = isSupported$jscomp$inline_431; + } else JSCompiler_inline_result$jscomp$294 = !1; isInputEventSupported = - JSCompiler_inline_result$jscomp$295 && + JSCompiler_inline_result$jscomp$294 && (!document.documentMode || 9 < document.documentMode); } function stopWatchingForValueChange() { @@ -2205,36 +2205,28 @@ function containsNode(outerNode, innerNode) { : !1; } function getActiveElementDeep(containerInfo) { - var $jscomp$optchain$tmp264729013$1, $jscomp$nullish$tmp0; containerInfo = - null != - ($jscomp$nullish$tmp0 = - null == containerInfo - ? void 0 - : null == - ($jscomp$optchain$tmp264729013$1 = containerInfo.ownerDocument) - ? void 0 - : $jscomp$optchain$tmp264729013$1.defaultView) - ? $jscomp$nullish$tmp0 + null != containerInfo && + null != containerInfo.ownerDocument && + null != containerInfo.ownerDocument.defaultView + ? containerInfo.ownerDocument.defaultView : window; for ( - $jscomp$optchain$tmp264729013$1 = getActiveElement(containerInfo.document); - $jscomp$optchain$tmp264729013$1 instanceof containerInfo.HTMLIFrameElement; + var element = getActiveElement(containerInfo.document); + element instanceof containerInfo.HTMLIFrameElement; ) { try { var JSCompiler_inline_result = - "string" === - typeof $jscomp$optchain$tmp264729013$1.contentWindow.location.href; + "string" === typeof element.contentWindow.location.href; } catch (err) { JSCompiler_inline_result = !1; } - if (JSCompiler_inline_result) - containerInfo = $jscomp$optchain$tmp264729013$1.contentWindow; + if (JSCompiler_inline_result) containerInfo = element.contentWindow; else break; - $jscomp$optchain$tmp264729013$1 = getActiveElement(containerInfo.document); + element = getActiveElement(containerInfo.document); } - return $jscomp$optchain$tmp264729013$1; + return element; } function hasSelectionCapabilities(elem) { var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase(); @@ -4054,7 +4046,7 @@ function updateReducerImpl(hook, current, reducer) { var newBaseQueueFirst = (baseFirst = null), newBaseQueueLast = null, update = current, - didReadFromEntangledAsyncAction$57 = !1; + didReadFromEntangledAsyncAction$56 = !1; do { var updateLane = update.lane & -536870913; if ( @@ -4075,11 +4067,11 @@ function updateReducerImpl(hook, current, reducer) { next: null }), updateLane === currentEntangledLane && - (didReadFromEntangledAsyncAction$57 = !0); + (didReadFromEntangledAsyncAction$56 = !0); else if ((renderLanes & revertLane) === revertLane) { update = update.next; revertLane === currentEntangledLane && - (didReadFromEntangledAsyncAction$57 = !0); + (didReadFromEntangledAsyncAction$56 = !0); continue; } else (updateLane = { @@ -4125,7 +4117,7 @@ function updateReducerImpl(hook, current, reducer) { if ( !objectIs(pendingQueue, hook.memoizedState) && ((didReceiveUpdate = !0), - didReadFromEntangledAsyncAction$57 && + didReadFromEntangledAsyncAction$56 && ((reducer = currentEntangledActionThenable), null !== reducer)) ) throw reducer; @@ -4323,8 +4315,8 @@ function runActionStateAction(actionQueue, node) { try { (prevTransition = action(prevState, payload)), handleActionReturnValue(actionQueue, node, prevTransition); - } catch (error$63) { - onActionError(actionQueue, node, error$63); + } catch (error$62) { + onActionError(actionQueue, node, error$62); } } function handleActionReturnValue(actionQueue, node, returnValue) { @@ -4739,10 +4731,10 @@ function refreshCache(fiber) { case 3: var lane = requestUpdateLane(); fiber = createUpdate(lane); - var root$66 = enqueueUpdate(provider, fiber, lane); - null !== root$66 && - (scheduleUpdateOnFiber(root$66, provider, lane), - entangleTransitions(root$66, provider, lane)); + var root$65 = enqueueUpdate(provider, fiber, lane); + null !== root$65 && + (scheduleUpdateOnFiber(root$65, provider, lane), + entangleTransitions(root$65, provider, lane)); provider = { cache: createCache() }; fiber.payload = provider; return; @@ -5261,9 +5253,9 @@ function resolveClassComponentProps(Component, baseProps) { } if ((Component = Component.defaultProps)) { newProps === baseProps && (newProps = assign({}, newProps)); - for (var propName$70 in Component) - void 0 === newProps[propName$70] && - (newProps[propName$70] = Component[propName$70]); + for (var propName$69 in Component) + void 0 === newProps[propName$69] && + (newProps[propName$69] = Component[propName$69]); } return newProps; } @@ -5309,9 +5301,9 @@ function logUncaughtError(root, errorInfo) { try { var onUncaughtError = root.onUncaughtError; onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack }); - } catch (e$71) { + } catch (e$70) { setTimeout(function () { - throw e$71; + throw e$70; }); } } @@ -5322,9 +5314,9 @@ function logCaughtError(root, boundary, errorInfo) { componentStack: errorInfo.stack, errorBoundary: 1 === boundary.tag ? boundary.stateNode : null }); - } catch (e$72) { + } catch (e$71) { setTimeout(function () { - throw e$72; + throw e$71; }); } } @@ -7817,8 +7809,8 @@ function safelyCallComponentWillUnmount( } else try { instance.componentWillUnmount(); - } catch (error$118) { - captureCommitPhaseError(current, nearestMountedAncestor, error$118); + } catch (error$117) { + captureCommitPhaseError(current, nearestMountedAncestor, error$117); } } function safelyAttachRef(current, nearestMountedAncestor) { @@ -7878,8 +7870,8 @@ function safelyDetachRef(current, nearestMountedAncestor) { recordEffectDuration(current); } else ref(null); - } catch (error$119) { - captureCommitPhaseError(current, nearestMountedAncestor, error$119); + } catch (error$118) { + captureCommitPhaseError(current, nearestMountedAncestor, error$118); } else ref.current = null; } @@ -8048,7 +8040,7 @@ function commitBeforeMutationEffects(root, firstChild) { selection = selection.focusOffset; try { JSCompiler_temp.nodeType, focusNode.nodeType; - } catch (e$23) { + } catch (e$22) { JSCompiler_temp = null; break a; } @@ -8204,11 +8196,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { } else try { finishedRoot.componentDidMount(); - } catch (error$115) { + } catch (error$114) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$115 + error$114 ); } else { @@ -8225,11 +8217,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$116) { + } catch (error$115) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$116 + error$115 ); } recordEffectDuration(); @@ -8240,11 +8232,11 @@ function commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) { current, finishedRoot.__reactInternalSnapshotBeforeUpdate ); - } catch (error$117) { + } catch (error$116) { captureCommitPhaseError( finishedWork, finishedWork.return, - error$117 + error$116 ); } } @@ -8411,7 +8403,7 @@ function commitDeletionEffectsOnFiber( safelyDetachRef(deletedFiber, nearestMountedAncestor); case 6: prevHostParentIsContainer = hostParent; - var prevHostParentIsContainer$127 = hostParentIsContainer; + var prevHostParentIsContainer$126 = hostParentIsContainer; hostParent = null; recursivelyTraverseDeletionEffects( finishedRoot, @@ -8419,7 +8411,7 @@ function commitDeletionEffectsOnFiber( deletedFiber ); hostParent = prevHostParentIsContainer; - hostParentIsContainer = prevHostParentIsContainer$127; + hostParentIsContainer = prevHostParentIsContainer$126; if (null !== hostParent) if (hostParentIsContainer) try { @@ -9062,21 +9054,21 @@ function commitReconciliationEffects(finishedWork) { insertOrAppendPlacementNode(finishedWork, before, parent$jscomp$0); break; case 5: - var parent$120 = JSCompiler_inline_result.stateNode; + var parent$119 = JSCompiler_inline_result.stateNode; JSCompiler_inline_result.flags & 32 && - (setTextContent(parent$120, ""), + (setTextContent(parent$119, ""), (JSCompiler_inline_result.flags &= -33)); - var before$121 = getHostSibling(finishedWork); - insertOrAppendPlacementNode(finishedWork, before$121, parent$120); + var before$120 = getHostSibling(finishedWork); + insertOrAppendPlacementNode(finishedWork, before$120, parent$119); break; case 3: case 4: - var parent$122 = JSCompiler_inline_result.stateNode.containerInfo, - before$123 = getHostSibling(finishedWork); + var parent$121 = JSCompiler_inline_result.stateNode.containerInfo, + before$122 = getHostSibling(finishedWork); insertOrAppendPlacementNodeIntoContainer( finishedWork, - before$123, - parent$122 + before$122, + parent$121 ); break; default: @@ -10038,14 +10030,14 @@ function cutOffTailIfNeeded(renderState, hasRenderedATailFallback) { break; case "collapsed": lastTailNode = renderState.tail; - for (var lastTailNode$142 = null; null !== lastTailNode; ) - null !== lastTailNode.alternate && (lastTailNode$142 = lastTailNode), + for (var lastTailNode$141 = null; null !== lastTailNode; ) + null !== lastTailNode.alternate && (lastTailNode$141 = lastTailNode), (lastTailNode = lastTailNode.sibling); - null === lastTailNode$142 + null === lastTailNode$141 ? hasRenderedATailFallback || null === renderState.tail ? (renderState.tail = null) : (renderState.tail.sibling = null) - : (lastTailNode$142.sibling = null); + : (lastTailNode$141.sibling = null); } } function bubbleProperties(completedWork) { @@ -10057,53 +10049,53 @@ function bubbleProperties(completedWork) { if (didBailout) if (0 !== (completedWork.mode & 2)) { for ( - var treeBaseDuration$144 = completedWork.selfBaseDuration, - child$145 = completedWork.child; - null !== child$145; + var treeBaseDuration$143 = completedWork.selfBaseDuration, + child$144 = completedWork.child; + null !== child$144; ) - (newChildLanes |= child$145.lanes | child$145.childLanes), - (subtreeFlags |= child$145.subtreeFlags & 31457280), - (subtreeFlags |= child$145.flags & 31457280), - (treeBaseDuration$144 += child$145.treeBaseDuration), - (child$145 = child$145.sibling); - completedWork.treeBaseDuration = treeBaseDuration$144; + (newChildLanes |= child$144.lanes | child$144.childLanes), + (subtreeFlags |= child$144.subtreeFlags & 31457280), + (subtreeFlags |= child$144.flags & 31457280), + (treeBaseDuration$143 += child$144.treeBaseDuration), + (child$144 = child$144.sibling); + completedWork.treeBaseDuration = treeBaseDuration$143; } else for ( - treeBaseDuration$144 = completedWork.child; - null !== treeBaseDuration$144; + treeBaseDuration$143 = completedWork.child; + null !== treeBaseDuration$143; ) (newChildLanes |= - treeBaseDuration$144.lanes | treeBaseDuration$144.childLanes), - (subtreeFlags |= treeBaseDuration$144.subtreeFlags & 31457280), - (subtreeFlags |= treeBaseDuration$144.flags & 31457280), - (treeBaseDuration$144.return = completedWork), - (treeBaseDuration$144 = treeBaseDuration$144.sibling); + treeBaseDuration$143.lanes | treeBaseDuration$143.childLanes), + (subtreeFlags |= treeBaseDuration$143.subtreeFlags & 31457280), + (subtreeFlags |= treeBaseDuration$143.flags & 31457280), + (treeBaseDuration$143.return = completedWork), + (treeBaseDuration$143 = treeBaseDuration$143.sibling); else if (0 !== (completedWork.mode & 2)) { - treeBaseDuration$144 = completedWork.actualDuration; - child$145 = completedWork.selfBaseDuration; + treeBaseDuration$143 = completedWork.actualDuration; + child$144 = completedWork.selfBaseDuration; for (var child = completedWork.child; null !== child; ) (newChildLanes |= child.lanes | child.childLanes), (subtreeFlags |= child.subtreeFlags), (subtreeFlags |= child.flags), - (treeBaseDuration$144 += child.actualDuration), - (child$145 += child.treeBaseDuration), + (treeBaseDuration$143 += child.actualDuration), + (child$144 += child.treeBaseDuration), (child = child.sibling); - completedWork.actualDuration = treeBaseDuration$144; - completedWork.treeBaseDuration = child$145; + completedWork.actualDuration = treeBaseDuration$143; + completedWork.treeBaseDuration = child$144; } else for ( - treeBaseDuration$144 = completedWork.child; - null !== treeBaseDuration$144; + treeBaseDuration$143 = completedWork.child; + null !== treeBaseDuration$143; ) (newChildLanes |= - treeBaseDuration$144.lanes | treeBaseDuration$144.childLanes), - (subtreeFlags |= treeBaseDuration$144.subtreeFlags), - (subtreeFlags |= treeBaseDuration$144.flags), - (treeBaseDuration$144.return = completedWork), - (treeBaseDuration$144 = treeBaseDuration$144.sibling); + treeBaseDuration$143.lanes | treeBaseDuration$143.childLanes), + (subtreeFlags |= treeBaseDuration$143.subtreeFlags), + (subtreeFlags |= treeBaseDuration$143.flags), + (treeBaseDuration$143.return = completedWork), + (treeBaseDuration$143 = treeBaseDuration$143.sibling); completedWork.subtreeFlags |= subtreeFlags; completedWork.childLanes = newChildLanes; return didBailout; @@ -10396,11 +10388,11 @@ function completeWork(current, workInProgress, renderLanes) { null !== newProps.alternate.memoizedState && null !== newProps.alternate.memoizedState.cachePool && (type = newProps.alternate.memoizedState.cachePool.pool); - var cache$160 = null; + var cache$159 = null; null !== newProps.memoizedState && null !== newProps.memoizedState.cachePool && - (cache$160 = newProps.memoizedState.cachePool.pool); - cache$160 !== type && (newProps.flags |= 2048); + (cache$159 = newProps.memoizedState.cachePool.pool); + cache$159 !== type && (newProps.flags |= 2048); } renderLanes !== current && renderLanes && @@ -10430,8 +10422,8 @@ function completeWork(current, workInProgress, renderLanes) { type = workInProgress.memoizedState; if (null === type) return bubbleProperties(workInProgress), null; newProps = 0 !== (workInProgress.flags & 128); - cache$160 = type.rendering; - if (null === cache$160) + cache$159 = type.rendering; + if (null === cache$159) if (newProps) cutOffTailIfNeeded(type, !1); else { if ( @@ -10439,11 +10431,11 @@ function completeWork(current, workInProgress, renderLanes) { (null !== current && 0 !== (current.flags & 128)) ) for (current = workInProgress.child; null !== current; ) { - cache$160 = findFirstSuspended(current); - if (null !== cache$160) { + cache$159 = findFirstSuspended(current); + if (null !== cache$159) { workInProgress.flags |= 128; cutOffTailIfNeeded(type, !1); - current = cache$160.updateQueue; + current = cache$159.updateQueue; workInProgress.updateQueue = current; scheduleRetryEffect(workInProgress, current); workInProgress.subtreeFlags = 0; @@ -10468,7 +10460,7 @@ function completeWork(current, workInProgress, renderLanes) { } else { if (!newProps) - if (((current = findFirstSuspended(cache$160)), null !== current)) { + if (((current = findFirstSuspended(cache$159)), null !== current)) { if ( ((workInProgress.flags |= 128), (newProps = !0), @@ -10478,7 +10470,7 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(type, !0), null === type.tail && "hidden" === type.tailMode && - !cache$160.alternate && + !cache$159.alternate && !isHydrating) ) return bubbleProperties(workInProgress), null; @@ -10491,13 +10483,13 @@ function completeWork(current, workInProgress, renderLanes) { cutOffTailIfNeeded(type, !1), (workInProgress.lanes = 4194304)); type.isBackwards - ? ((cache$160.sibling = workInProgress.child), - (workInProgress.child = cache$160)) + ? ((cache$159.sibling = workInProgress.child), + (workInProgress.child = cache$159)) : ((current = type.last), null !== current - ? (current.sibling = cache$160) - : (workInProgress.child = cache$160), - (type.last = cache$160)); + ? (current.sibling = cache$159) + : (workInProgress.child = cache$159), + (type.last = cache$159)); } if (null !== type.tail) return ( @@ -11028,9 +11020,9 @@ function markRootSuspended( didSkipSuspendedSiblings || (root.warmLanes |= suspendedLanes); didSkipSuspendedSiblings = root.expirationTimes; for (var lanes = suspendedLanes; 0 < lanes; ) { - var index$7 = 31 - clz32(lanes), - lane = 1 << index$7; - didSkipSuspendedSiblings[index$7] = -1; + var index$6 = 31 - clz32(lanes), + lane = 1 << index$6; + didSkipSuspendedSiblings[index$6] = -1; lanes &= ~lane; } 0 !== spawnedLane && @@ -11145,9 +11137,9 @@ function prepareFreshStack(root, lanes) { 0 < allEntangledLanes; ) { - var index$5 = 31 - clz32(allEntangledLanes), - lane = 1 << index$5; - lanes |= root[index$5]; + var index$4 = 31 - clz32(allEntangledLanes), + lane = 1 << index$4; + lanes |= root[index$4]; allEntangledLanes &= ~lane; } entangledRenderLanes = lanes; @@ -11292,8 +11284,8 @@ function renderRootSync(root, lanes) { } workLoopSync(); break; - } catch (thrownValue$175) { - handleThrow(root, thrownValue$175); + } catch (thrownValue$174) { + handleThrow(root, thrownValue$174); } while (1); lanes && root.shellSuspendCounter++; @@ -11413,8 +11405,8 @@ function renderRootConcurrent(root, lanes) { } workLoopConcurrent(); break; - } catch (thrownValue$177) { - handleThrow(root, thrownValue$177); + } catch (thrownValue$176) { + handleThrow(root, thrownValue$176); } while (1); resetContextDependencies(); @@ -11735,7 +11727,7 @@ function releaseRootPooledCache(root, remainingLanes) { } function flushPassiveEffects() { if (null !== rootWithPendingPassiveEffects) { - var root$181 = rootWithPendingPassiveEffects, + var root$180 = rootWithPendingPassiveEffects, remainingLanes = pendingPassiveEffectsRemainingLanes; pendingPassiveEffectsRemainingLanes = 0; var renderPriority = lanesToEventPriority(pendingPassiveEffectsLanes), @@ -11785,7 +11777,7 @@ function flushPassiveEffects() { } finally { (ReactDOMSharedInternals.p = previousPriority), (ReactSharedInternals.T = prevTransition), - releaseRootPooledCache(root$181, remainingLanes); + releaseRootPooledCache(root$180, remainingLanes); } } return !1; @@ -11951,14 +11943,14 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { isFlushingWork = !0; do { var didPerformSomeWork = !1; - for (var root$183 = firstScheduledRoot; null !== root$183; ) { + for (var root$182 = firstScheduledRoot; null !== root$182; ) { if (!onlyLegacy) if (0 !== syncTransitionLanes) { - var pendingLanes = root$183.pendingLanes; + var pendingLanes = root$182.pendingLanes; if (0 === pendingLanes) var JSCompiler_inline_result = 0; else { - var suspendedLanes = root$183.suspendedLanes, - pingedLanes = root$183.pingedLanes; + var suspendedLanes = root$182.suspendedLanes, + pingedLanes = root$182.pingedLanes; JSCompiler_inline_result = (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1; JSCompiler_inline_result &= @@ -11972,17 +11964,17 @@ function flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) { } 0 !== JSCompiler_inline_result && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$183, JSCompiler_inline_result)); + performSyncWorkOnRoot(root$182, JSCompiler_inline_result)); } else (JSCompiler_inline_result = workInProgressRootRenderLanes), (JSCompiler_inline_result = getNextLanes( - root$183, - root$183 === workInProgressRoot ? JSCompiler_inline_result : 0 + root$182, + root$182 === workInProgressRoot ? JSCompiler_inline_result : 0 )), 0 !== (JSCompiler_inline_result & 3) && ((didPerformSomeWork = !0), - performSyncWorkOnRoot(root$183, JSCompiler_inline_result)); - root$183 = root$183.next; + performSyncWorkOnRoot(root$182, JSCompiler_inline_result)); + root$182 = root$182.next; } } while (didPerformSomeWork); isFlushingWork = !1; @@ -12023,12 +12015,12 @@ function scheduleTaskForRootDuringMicrotask(root, currentTime) { 0 < lanes; ) { - var index$6 = 31 - clz32(lanes), - lane = 1 << index$6, - expirationTime = expirationTimes[index$6]; + var index$5 = 31 - clz32(lanes), + lane = 1 << index$5, + expirationTime = expirationTimes[index$5]; if (-1 === expirationTime) { if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes)) - expirationTimes[index$6] = computeExpirationTime(lane, currentTime); + expirationTimes[index$5] = computeExpirationTime(lane, currentTime); } else expirationTime <= currentTime && (root.expiredLanes |= lane); lanes &= ~lane; } @@ -12192,20 +12184,20 @@ function extractEvents$1( } } for ( - var i$jscomp$inline_1502 = 0; - i$jscomp$inline_1502 < simpleEventPluginEvents.length; - i$jscomp$inline_1502++ + var i$jscomp$inline_1501 = 0; + i$jscomp$inline_1501 < simpleEventPluginEvents.length; + i$jscomp$inline_1501++ ) { - var eventName$jscomp$inline_1503 = - simpleEventPluginEvents[i$jscomp$inline_1502], - domEventName$jscomp$inline_1504 = - eventName$jscomp$inline_1503.toLowerCase(), - capitalizedEvent$jscomp$inline_1505 = - eventName$jscomp$inline_1503[0].toUpperCase() + - eventName$jscomp$inline_1503.slice(1); + var eventName$jscomp$inline_1502 = + simpleEventPluginEvents[i$jscomp$inline_1501], + domEventName$jscomp$inline_1503 = + eventName$jscomp$inline_1502.toLowerCase(), + capitalizedEvent$jscomp$inline_1504 = + eventName$jscomp$inline_1502[0].toUpperCase() + + eventName$jscomp$inline_1502.slice(1); registerSimpleEvent( - domEventName$jscomp$inline_1504, - "on" + capitalizedEvent$jscomp$inline_1505 + domEventName$jscomp$inline_1503, + "on" + capitalizedEvent$jscomp$inline_1504 ); } registerSimpleEvent(ANIMATION_END, "onAnimationEnd"); @@ -13388,34 +13380,34 @@ function setInitialProperties(domElement, tag, props) { defaultChecked = null; for (hasSrc in props) if (props.hasOwnProperty(hasSrc)) { - var propValue$197 = props[hasSrc]; - if (null != propValue$197) + var propValue$196 = props[hasSrc]; + if (null != propValue$196) switch (hasSrc) { case "name": - hasSrcSet = propValue$197; + hasSrcSet = propValue$196; break; case "type": - propValue = propValue$197; + propValue = propValue$196; break; case "checked": - checked = propValue$197; + checked = propValue$196; break; case "defaultChecked": - defaultChecked = propValue$197; + defaultChecked = propValue$196; break; case "value": - propKey = propValue$197; + propKey = propValue$196; break; case "defaultValue": - defaultValue = propValue$197; + defaultValue = propValue$196; break; case "children": case "dangerouslySetInnerHTML": - if (null != propValue$197) + if (null != propValue$196) throw Error(formatProdErrorMessage(137, tag)); break; default: - setProp(domElement, tag, hasSrc, propValue$197, props, null); + setProp(domElement, tag, hasSrc, propValue$196, props, null); } } initInput( @@ -13552,14 +13544,14 @@ function setInitialProperties(domElement, tag, props) { return; default: if (isCustomElement(tag)) { - for (propValue$197 in props) - props.hasOwnProperty(propValue$197) && - ((hasSrc = props[propValue$197]), + for (propValue$196 in props) + props.hasOwnProperty(propValue$196) && + ((hasSrc = props[propValue$196]), void 0 !== hasSrc && setPropOnCustomElement( domElement, tag, - propValue$197, + propValue$196, hasSrc, props, void 0 @@ -13607,14 +13599,14 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp(domElement, tag, propKey, null, nextProps, lastProp); } } - for (var propKey$214 in nextProps) { - var propKey = nextProps[propKey$214]; - lastProp = lastProps[propKey$214]; + for (var propKey$213 in nextProps) { + var propKey = nextProps[propKey$213]; + lastProp = lastProps[propKey$213]; if ( - nextProps.hasOwnProperty(propKey$214) && + nextProps.hasOwnProperty(propKey$213) && (null != propKey || null != lastProp) ) - switch (propKey$214) { + switch (propKey$213) { case "type": type = propKey; break; @@ -13643,7 +13635,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$214, + propKey$213, propKey, nextProps, lastProp @@ -13662,7 +13654,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ); return; case "select": - propKey = value = defaultValue = propKey$214 = null; + propKey = value = defaultValue = propKey$213 = null; for (type in lastProps) if ( ((lastDefaultValue = lastProps[type]), @@ -13693,7 +13685,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (name) { case "value": - propKey$214 = type; + propKey$213 = type; break; case "defaultValue": defaultValue = type; @@ -13714,15 +13706,15 @@ function updateProperties(domElement, tag, lastProps, nextProps) { tag = defaultValue; lastProps = value; nextProps = propKey; - null != propKey$214 - ? updateOptions(domElement, !!lastProps, propKey$214, !1) + null != propKey$213 + ? updateOptions(domElement, !!lastProps, propKey$213, !1) : !!nextProps !== !!lastProps && (null != tag ? updateOptions(domElement, !!lastProps, tag, !0) : updateOptions(domElement, !!lastProps, lastProps ? [] : "", !1)); return; case "textarea": - propKey = propKey$214 = null; + propKey = propKey$213 = null; for (defaultValue in lastProps) if ( ((name = lastProps[defaultValue]), @@ -13746,7 +13738,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { ) switch (value) { case "value": - propKey$214 = name; + propKey$213 = name; break; case "defaultValue": propKey = name; @@ -13760,17 +13752,17 @@ function updateProperties(domElement, tag, lastProps, nextProps) { name !== type && setProp(domElement, tag, value, name, nextProps, type); } - updateTextarea(domElement, propKey$214, propKey); + updateTextarea(domElement, propKey$213, propKey); return; case "option": - for (var propKey$230 in lastProps) + for (var propKey$229 in lastProps) if ( - ((propKey$214 = lastProps[propKey$230]), - lastProps.hasOwnProperty(propKey$230) && - null != propKey$214 && - !nextProps.hasOwnProperty(propKey$230)) + ((propKey$213 = lastProps[propKey$229]), + lastProps.hasOwnProperty(propKey$229) && + null != propKey$213 && + !nextProps.hasOwnProperty(propKey$229)) ) - switch (propKey$230) { + switch (propKey$229) { case "selected": domElement.selected = !1; break; @@ -13778,33 +13770,33 @@ function updateProperties(domElement, tag, lastProps, nextProps) { setProp( domElement, tag, - propKey$230, + propKey$229, null, nextProps, - propKey$214 + propKey$213 ); } for (lastDefaultValue in nextProps) if ( - ((propKey$214 = nextProps[lastDefaultValue]), + ((propKey$213 = nextProps[lastDefaultValue]), (propKey = lastProps[lastDefaultValue]), nextProps.hasOwnProperty(lastDefaultValue) && - propKey$214 !== propKey && - (null != propKey$214 || null != propKey)) + propKey$213 !== propKey && + (null != propKey$213 || null != propKey)) ) switch (lastDefaultValue) { case "selected": domElement.selected = - propKey$214 && - "function" !== typeof propKey$214 && - "symbol" !== typeof propKey$214; + propKey$213 && + "function" !== typeof propKey$213 && + "symbol" !== typeof propKey$213; break; default: setProp( domElement, tag, lastDefaultValue, - propKey$214, + propKey$213, nextProps, propKey ); @@ -13825,24 +13817,24 @@ function updateProperties(domElement, tag, lastProps, nextProps) { case "track": case "wbr": case "menuitem": - for (var propKey$235 in lastProps) - (propKey$214 = lastProps[propKey$235]), - lastProps.hasOwnProperty(propKey$235) && - null != propKey$214 && - !nextProps.hasOwnProperty(propKey$235) && - setProp(domElement, tag, propKey$235, null, nextProps, propKey$214); + for (var propKey$234 in lastProps) + (propKey$213 = lastProps[propKey$234]), + lastProps.hasOwnProperty(propKey$234) && + null != propKey$213 && + !nextProps.hasOwnProperty(propKey$234) && + setProp(domElement, tag, propKey$234, null, nextProps, propKey$213); for (checked in nextProps) if ( - ((propKey$214 = nextProps[checked]), + ((propKey$213 = nextProps[checked]), (propKey = lastProps[checked]), nextProps.hasOwnProperty(checked) && - propKey$214 !== propKey && - (null != propKey$214 || null != propKey)) + propKey$213 !== propKey && + (null != propKey$213 || null != propKey)) ) switch (checked) { case "children": case "dangerouslySetInnerHTML": - if (null != propKey$214) + if (null != propKey$213) throw Error(formatProdErrorMessage(137, tag)); break; default: @@ -13850,7 +13842,7 @@ function updateProperties(domElement, tag, lastProps, nextProps) { domElement, tag, checked, - propKey$214, + propKey$213, nextProps, propKey ); @@ -13858,49 +13850,49 @@ function updateProperties(domElement, tag, lastProps, nextProps) { return; default: if (isCustomElement(tag)) { - for (var propKey$240 in lastProps) - (propKey$214 = lastProps[propKey$240]), - lastProps.hasOwnProperty(propKey$240) && - void 0 !== propKey$214 && - !nextProps.hasOwnProperty(propKey$240) && + for (var propKey$239 in lastProps) + (propKey$213 = lastProps[propKey$239]), + lastProps.hasOwnProperty(propKey$239) && + void 0 !== propKey$213 && + !nextProps.hasOwnProperty(propKey$239) && setPropOnCustomElement( domElement, tag, - propKey$240, + propKey$239, void 0, nextProps, - propKey$214 + propKey$213 ); for (defaultChecked in nextProps) - (propKey$214 = nextProps[defaultChecked]), + (propKey$213 = nextProps[defaultChecked]), (propKey = lastProps[defaultChecked]), !nextProps.hasOwnProperty(defaultChecked) || - propKey$214 === propKey || - (void 0 === propKey$214 && void 0 === propKey) || + propKey$213 === propKey || + (void 0 === propKey$213 && void 0 === propKey) || setPropOnCustomElement( domElement, tag, defaultChecked, - propKey$214, + propKey$213, nextProps, propKey ); return; } } - for (var propKey$245 in lastProps) - (propKey$214 = lastProps[propKey$245]), - lastProps.hasOwnProperty(propKey$245) && - null != propKey$214 && - !nextProps.hasOwnProperty(propKey$245) && - setProp(domElement, tag, propKey$245, null, nextProps, propKey$214); + for (var propKey$244 in lastProps) + (propKey$213 = lastProps[propKey$244]), + lastProps.hasOwnProperty(propKey$244) && + null != propKey$213 && + !nextProps.hasOwnProperty(propKey$244) && + setProp(domElement, tag, propKey$244, null, nextProps, propKey$213); for (lastProp in nextProps) - (propKey$214 = nextProps[lastProp]), + (propKey$213 = nextProps[lastProp]), (propKey = lastProps[lastProp]), !nextProps.hasOwnProperty(lastProp) || - propKey$214 === propKey || - (null == propKey$214 && null == propKey) || - setProp(domElement, tag, lastProp, propKey$214, nextProps, propKey); + propKey$213 === propKey || + (null == propKey$213 && null == propKey) || + setProp(domElement, tag, lastProp, propKey$213, nextProps, propKey); } var eventsEnabled = null, selectionInformation = null; @@ -14445,26 +14437,26 @@ function getResource(type, currentProps, pendingProps, currentResource) { "string" === typeof pendingProps.precedence ) { type = getStyleKey(pendingProps.href); - var styles$253 = getResourcesFromRoot( + var styles$252 = getResourcesFromRoot( JSCompiler_inline_result ).hoistableStyles, - resource$254 = styles$253.get(type); - resource$254 || + resource$253 = styles$252.get(type); + resource$253 || ((JSCompiler_inline_result = JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result), - (resource$254 = { + (resource$253 = { type: "stylesheet", instance: null, count: 0, state: { loading: 0, preload: null } }), - styles$253.set(type, resource$254), - (styles$253 = JSCompiler_inline_result.querySelector( + styles$252.set(type, resource$253), + (styles$252 = JSCompiler_inline_result.querySelector( getStylesheetSelectorFromKey(type) )) && - !styles$253._p && - ((resource$254.instance = styles$253), - (resource$254.state.loading = 5)), + !styles$252._p && + ((resource$253.instance = styles$252), + (resource$253.state.loading = 5)), preloadPropsMap.has(type) || ((pendingProps = { rel: "preload", @@ -14477,16 +14469,16 @@ function getResource(type, currentProps, pendingProps, currentResource) { referrerPolicy: pendingProps.referrerPolicy }), preloadPropsMap.set(type, pendingProps), - styles$253 || + styles$252 || preloadStylesheet( JSCompiler_inline_result, type, pendingProps, - resource$254.state + resource$253.state ))); if (currentProps && null === currentResource) throw Error(formatProdErrorMessage(528, "")); - return resource$254; + return resource$253; } if (currentProps && null !== currentResource) throw Error(formatProdErrorMessage(529, "")); @@ -14583,37 +14575,37 @@ function acquireResource(hoistableRoot, resource, props) { return (resource.instance = instance); case "stylesheet": styleProps = getStyleKey(props.href); - var instance$259 = hoistableRoot.querySelector( + var instance$258 = hoistableRoot.querySelector( getStylesheetSelectorFromKey(styleProps) ); - if (instance$259) + if (instance$258) return ( (resource.state.loading |= 4), - (resource.instance = instance$259), - markNodeAsHoistable(instance$259), - instance$259 + (resource.instance = instance$258), + markNodeAsHoistable(instance$258), + instance$258 ); instance = stylesheetPropsFromRawProps(props); (styleProps = preloadPropsMap.get(styleProps)) && adoptPreloadPropsForStylesheet(instance, styleProps); - instance$259 = ( + instance$258 = ( hoistableRoot.ownerDocument || hoistableRoot ).createElement("link"); - markNodeAsHoistable(instance$259); - var linkInstance = instance$259; + markNodeAsHoistable(instance$258); + var linkInstance = instance$258; linkInstance._p = new Promise(function (resolve, reject) { linkInstance.onload = resolve; linkInstance.onerror = reject; }); - setInitialProperties(instance$259, "link", instance); + setInitialProperties(instance$258, "link", instance); resource.state.loading |= 4; - insertStylesheet(instance$259, props.precedence, hoistableRoot); - return (resource.instance = instance$259); + insertStylesheet(instance$258, props.precedence, hoistableRoot); + return (resource.instance = instance$258); case "script": - instance$259 = getScriptKey(props.src); + instance$258 = getScriptKey(props.src); if ( (styleProps = hoistableRoot.querySelector( - getScriptSelectorFromKey(instance$259) + getScriptSelectorFromKey(instance$258) )) ) return ( @@ -14622,7 +14614,7 @@ function acquireResource(hoistableRoot, resource, props) { styleProps ); instance = props; - if ((styleProps = preloadPropsMap.get(instance$259))) + if ((styleProps = preloadPropsMap.get(instance$258))) (instance = assign({}, props)), adoptPreloadPropsForScript(instance, styleProps); hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot; @@ -15665,16 +15657,16 @@ ReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) { 0 === i && attemptExplicitHydrationTarget(target); } }; -var isomorphicReactPackageVersion$jscomp$inline_1751 = React.version; +var isomorphicReactPackageVersion$jscomp$inline_1750 = React.version; if ( - "19.0.0-rc-5dcb0097-20240918" !== - isomorphicReactPackageVersion$jscomp$inline_1751 + "19.0.0-rc-e740d4b1-20240919" !== + isomorphicReactPackageVersion$jscomp$inline_1750 ) throw Error( formatProdErrorMessage( 527, - isomorphicReactPackageVersion$jscomp$inline_1751, - "19.0.0-rc-5dcb0097-20240918" + isomorphicReactPackageVersion$jscomp$inline_1750, + "19.0.0-rc-e740d4b1-20240919" ) ); ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { @@ -15694,18 +15686,18 @@ ReactDOMSharedInternals.findDOMNode = function (componentOrElement) { null === componentOrElement ? null : componentOrElement.stateNode; return componentOrElement; }; -var internals$jscomp$inline_1758 = { +var internals$jscomp$inline_1757 = { bundleType: 0, - version: "19.0.0-rc-5dcb0097-20240918", + version: "19.0.0-rc-e740d4b1-20240919", rendererPackageName: "react-dom", currentDispatcherRef: ReactSharedInternals, findFiberByHostInstance: getClosestInstanceFromNode, - reconcilerVersion: "19.0.0-rc-5dcb0097-20240918", + reconcilerVersion: "19.0.0-rc-e740d4b1-20240919", getLaneLabelMap: function () { for ( - var map = new Map(), lane = 1, index$276 = 0; - 31 > index$276; - index$276++ + var map = new Map(), lane = 1, index$275 = 0; + 31 > index$275; + index$275++ ) { var label = getLabelForLane(lane); map.set(lane, label); @@ -15718,16 +15710,16 @@ var internals$jscomp$inline_1758 = { } }; if ("undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) { - var hook$jscomp$inline_2182 = __REACT_DEVTOOLS_GLOBAL_HOOK__; + var hook$jscomp$inline_2181 = __REACT_DEVTOOLS_GLOBAL_HOOK__; if ( - !hook$jscomp$inline_2182.isDisabled && - hook$jscomp$inline_2182.supportsFiber + !hook$jscomp$inline_2181.isDisabled && + hook$jscomp$inline_2181.supportsFiber ) try { - (rendererID = hook$jscomp$inline_2182.inject( - internals$jscomp$inline_1758 + (rendererID = hook$jscomp$inline_2181.inject( + internals$jscomp$inline_1757 )), - (injectedHook = hook$jscomp$inline_2182); + (injectedHook = hook$jscomp$inline_2181); } catch (err) {} } function noop() {} @@ -15980,7 +15972,7 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js index ceede0e90b9b8..38bea26ed2df7 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.development.js @@ -8565,5 +8565,5 @@ '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-rc-5dcb0097-20240918"; + exports.version = "19.0.0-rc-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js index e94c8e0a3b691..b048d4172b57c 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.browser.production.js @@ -5621,4 +5621,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-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js index a752682993df2..ce55afd8a3644 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.development.js @@ -8565,5 +8565,5 @@ '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 "renderToPipeableStream" which supports Suspense on the server' ); }; - exports.version = "19.0.0-rc-5dcb0097-20240918"; + exports.version = "19.0.0-rc-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js index 3d4d5380383d0..e2754b6346426 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server-legacy.node.production.js @@ -5699,4 +5699,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 "renderToPipeableStream" which supports Suspense on the server' ); }; -exports.version = "19.0.0-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js index 6c8ee96bc883e..b4fcf190314d8 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.development.js @@ -8752,11 +8752,11 @@ didWarnAboutMaps = !1; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); exports.renderToReadableStream = function (children, options) { @@ -8849,5 +8849,5 @@ startWork(request$jscomp$0); }); }; - exports.version = "19.0.0-rc-5dcb0097-20240918"; + exports.version = "19.0.0-rc-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js index 51578fd4b931c..7ea07d0c189b8 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.browser.production.js @@ -5910,14 +5910,14 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_731 = React.version; if ( - "19.0.0-rc-5dcb0097-20240918" !== + "19.0.0-rc-e740d4b1-20240919" !== isomorphicReactPackageVersion$jscomp$inline_731 ) throw Error( formatProdErrorMessage( 527, isomorphicReactPackageVersion$jscomp$inline_731, - "19.0.0-rc-5dcb0097-20240918" + "19.0.0-rc-e740d4b1-20240919" ) ); exports.renderToReadableStream = function (children, options) { @@ -6006,4 +6006,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js index 347cf72d4c0d0..3521fac9e5a6c 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.bun.production.js @@ -5594,13 +5594,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_735 = React.version; if ( - "19.0.0-rc-5dcb0097-20240918" !== + "19.0.0-rc-e740d4b1-20240919" !== isomorphicReactPackageVersion$jscomp$inline_735 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_735 + - "\n - react-dom: 19.0.0-rc-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -5688,4 +5688,4 @@ exports.renderToReadableStream = function (children, options) { startWork(request); }); }; -exports.version = "19.0.0-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js index 9ed2251cdc8b7..3d9ce7e67ec51 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.development.js @@ -8771,11 +8771,11 @@ didWarnAboutMaps = !1; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); exports.renderToReadableStream = function (children, options) { @@ -8879,5 +8879,5 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; - exports.version = "19.0.0-rc-5dcb0097-20240918"; + exports.version = "19.0.0-rc-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js index 24713e50e373e..abda582e749ed 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.edge.production.js @@ -6004,13 +6004,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_739 = React.version; if ( - "19.0.0-rc-5dcb0097-20240918" !== + "19.0.0-rc-e740d4b1-20240919" !== isomorphicReactPackageVersion$jscomp$inline_739 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_739 + - "\n - react-dom: 19.0.0-rc-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); exports.renderToReadableStream = function (children, options) { return new Promise(function (resolve, reject) { @@ -6109,4 +6109,4 @@ const setTimeoutOrImmediate = ? globalThis['set' + 'Immediate'] : setTimeout; -exports.version = "19.0.0-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js index b1e8253103fc1..dff761f4f2704 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.development.js @@ -8622,11 +8622,11 @@ didWarnAboutMaps = !1; (function () { var isomorphicReactPackageVersion = React.version; - if ("19.0.0-rc-5dcb0097-20240918" !== isomorphicReactPackageVersion) + if ("19.0.0-rc-e740d4b1-20240919" !== isomorphicReactPackageVersion) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion + - "\n - react-dom: 19.0.0-rc-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); })(); exports.renderToPipeableStream = function (children, options) { @@ -8668,5 +8668,5 @@ } }; }; - exports.version = "19.0.0-rc-5dcb0097-20240918"; + exports.version = "19.0.0-rc-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js index 5184a0bd27781..53de4638c808a 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom-server.node.production.js @@ -5626,13 +5626,13 @@ function abort(request, reason) { } var isomorphicReactPackageVersion$jscomp$inline_762 = React.version; if ( - "19.0.0-rc-5dcb0097-20240918" !== + "19.0.0-rc-e740d4b1-20240919" !== isomorphicReactPackageVersion$jscomp$inline_762 ) throw Error( 'Incompatible React versions: The "react" and "react-dom" packages must have the exact same version. Instead got:\n - react: ' + (isomorphicReactPackageVersion$jscomp$inline_762 + - "\n - react-dom: 19.0.0-rc-5dcb0097-20240918\nLearn more: https://react.dev/warnings/version-mismatch") + "\n - react-dom: 19.0.0-rc-e740d4b1-20240919\nLearn more: https://react.dev/warnings/version-mismatch") ); function createDrainHandler(destination, request) { return function () { @@ -5934,4 +5934,4 @@ exports.renderToPipeableStream = function (children, options) { } }; }; -exports.version = "19.0.0-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js index ff667812dacb4..9ce0f5e686b68 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.development.js @@ -416,7 +416,7 @@ exports.useFormStatus = function () { return resolveDispatcher().useHostTransitionStatus(); }; - exports.version = "19.0.0-rc-5dcb0097-20240918"; + exports.version = "19.0.0-rc-e740d4b1-20240919"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom.production.js index 9491fc98c4fb0..c4086dc4d746e 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.production.js @@ -207,4 +207,4 @@ exports.useFormState = function (action, initialState, permalink) { exports.useFormStatus = function () { return ReactSharedInternals.H.useHostTransitionStatus(); }; -exports.version = "19.0.0-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js index 00169d1658f5a..6b666f817b2ec 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.development.js @@ -336,5 +336,5 @@ })) : Internals.d.m(href)); }; - exports.version = "19.0.0-rc-5dcb0097-20240918"; + exports.version = "19.0.0-rc-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js index b88e1961eff96..a58b432df7179 100644 --- a/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js +++ b/packages/next/src/compiled/react-dom/cjs/react-dom.react-server.production.js @@ -149,4 +149,4 @@ exports.preloadModule = function (href, options) { }); } else Internals.d.m(href); }; -exports.version = "19.0.0-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-dom/package.json b/packages/next/src/compiled/react-dom/package.json index 29b4e8c0d0c71..6b218c20faf14 100644 --- a/packages/next/src/compiled/react-dom/package.json +++ b/packages/next/src/compiled/react-dom/package.json @@ -67,10 +67,10 @@ "./package.json": "./package.json" }, "dependencies": { - "scheduler": "0.25.0-rc-5dcb0097-20240918" + "scheduler": "0.25.0-rc-e740d4b1-20240919" }, "peerDependencies": { - "react": "19.0.0-rc-5dcb0097-20240918" + "react": "19.0.0-rc-e740d4b1-20240919" }, "browser": { "./server.js": "./server.browser.js", diff --git a/packages/next/src/compiled/react-experimental/cjs/react.development.js b/packages/next/src/compiled/react-experimental/cjs/react.development.js index 86a6fc1afe8c4..748a9101d8570 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.development.js @@ -1232,7 +1232,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react-experimental/cjs/react.production.js b/packages/next/src/compiled/react-experimental/cjs/react.production.js index c8ef11079408d..fbc855771d54d 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.production.js @@ -562,4 +562,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js b/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js index bde193e7d7d6f..b937818f22e99 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.react-server.development.js @@ -978,5 +978,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.0.0-experimental-5dcb0097-20240918"; + exports.version = "19.0.0-experimental-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js b/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js index 9ef1937129f15..2f879ab399e83 100644 --- a/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js +++ b/packages/next/src/compiled/react-experimental/cjs/react.react-server.production.js @@ -567,4 +567,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.0.0-experimental-5dcb0097-20240918"; +exports.version = "19.0.0-experimental-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react-is/package.json b/packages/next/src/compiled/react-is/package.json index ffd26cdbaa865..7659489aa9903 100644 --- a/packages/next/src/compiled/react-is/package.json +++ b/packages/next/src/compiled/react-is/package.json @@ -1,6 +1,6 @@ { "name": "react-is", - "version": "19.0.0-rc-5dcb0097-20240918", + "version": "19.0.0-rc-e740d4b1-20240919", "description": "Brand checking of React Elements.", "main": "index.js", "sideEffects": false, diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js index becf8584b026c..42eebd8a86683 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/cjs/react-server-dom-turbopack-client.browser.development.js @@ -2494,10 +2494,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-experimental-5dcb0097-20240918", + version: "19.0.0-experimental-e740d4b1-20240919", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-experimental-5dcb0097-20240918", + reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json index 8675647536c15..13e18fe7f94ae 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack-experimental/package.json @@ -48,7 +48,7 @@ "neo-async": "^2.6.1" }, "peerDependencies": { - "react": "0.0.0-experimental-5dcb0097-20240918", - "react-dom": "0.0.0-experimental-5dcb0097-20240918" + "react": "0.0.0-experimental-e740d4b1-20240919", + "react-dom": "0.0.0-experimental-e740d4b1-20240919" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js index 6f7568fd62905..5e8fb75b6f2d6 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-turbopack/cjs/react-server-dom-turbopack-client.browser.development.js @@ -2294,10 +2294,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-rc-5dcb0097-20240918", + version: "19.0.0-rc-e740d4b1-20240919", rendererPackageName: "react-server-dom-turbopack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-rc-5dcb0097-20240918", + reconcilerVersion: "19.0.0-rc-e740d4b1-20240919", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-turbopack/package.json b/packages/next/src/compiled/react-server-dom-turbopack/package.json index 7fb94a6ca8322..538999cdeaf4f 100644 --- a/packages/next/src/compiled/react-server-dom-turbopack/package.json +++ b/packages/next/src/compiled/react-server-dom-turbopack/package.json @@ -48,7 +48,7 @@ "neo-async": "^2.6.1" }, "peerDependencies": { - "react": "19.0.0-rc-5dcb0097-20240918", - "react-dom": "19.0.0-rc-5dcb0097-20240918" + "react": "19.0.0-rc-e740d4b1-20240919", + "react-dom": "19.0.0-rc-e740d4b1-20240919" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js index 459df09e6af00..a8fec58c2eb35 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/cjs/react-server-dom-webpack-client.browser.development.js @@ -2507,10 +2507,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-experimental-5dcb0097-20240918", + version: "19.0.0-experimental-e740d4b1-20240919", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-experimental-5dcb0097-20240918", + reconcilerVersion: "19.0.0-experimental-e740d4b1-20240919", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json index 436a9f4031ff6..c400ae5d5d9ad 100644 --- a/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack-experimental/package.json @@ -64,8 +64,8 @@ "webpack-sources": "^3.2.0" }, "peerDependencies": { - "react": "0.0.0-experimental-5dcb0097-20240918", - "react-dom": "0.0.0-experimental-5dcb0097-20240918", + "react": "0.0.0-experimental-e740d4b1-20240919", + "react-dom": "0.0.0-experimental-e740d4b1-20240919", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js index c3446714ab774..5fe6cab0df4a7 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js +++ b/packages/next/src/compiled/react-server-dom-webpack/cjs/react-server-dom-webpack-client.browser.development.js @@ -2307,10 +2307,10 @@ return hook.checkDCE ? !0 : !1; })({ bundleType: 1, - version: "19.0.0-rc-5dcb0097-20240918", + version: "19.0.0-rc-e740d4b1-20240919", rendererPackageName: "react-server-dom-webpack", currentDispatcherRef: ReactSharedInternals, - reconcilerVersion: "19.0.0-rc-5dcb0097-20240918", + reconcilerVersion: "19.0.0-rc-e740d4b1-20240919", getCurrentComponentInfo: function () { return currentOwnerInDEV; } diff --git a/packages/next/src/compiled/react-server-dom-webpack/package.json b/packages/next/src/compiled/react-server-dom-webpack/package.json index 8c0ea1962dfed..9ed88af66e60d 100644 --- a/packages/next/src/compiled/react-server-dom-webpack/package.json +++ b/packages/next/src/compiled/react-server-dom-webpack/package.json @@ -64,8 +64,8 @@ "webpack-sources": "^3.2.0" }, "peerDependencies": { - "react": "19.0.0-rc-5dcb0097-20240918", - "react-dom": "19.0.0-rc-5dcb0097-20240918", + "react": "19.0.0-rc-e740d4b1-20240919", + "react-dom": "19.0.0-rc-e740d4b1-20240919", "webpack": "^5.59.0" } } \ No newline at end of file diff --git a/packages/next/src/compiled/react/cjs/react.development.js b/packages/next/src/compiled/react/cjs/react.development.js index d91709b14e29e..d584b14aa3951 100644 --- a/packages/next/src/compiled/react/cjs/react.development.js +++ b/packages/next/src/compiled/react/cjs/react.development.js @@ -1516,7 +1516,7 @@ exports.useTransition = function () { return resolveDispatcher().useTransition(); }; - exports.version = "19.0.0-rc-5dcb0097-20240918"; + exports.version = "19.0.0-rc-e740d4b1-20240919"; "undefined" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ && "function" === typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.registerInternalModuleStop && diff --git a/packages/next/src/compiled/react/cjs/react.production.js b/packages/next/src/compiled/react/cjs/react.production.js index 8d76b2a171f99..a3075659a03a9 100644 --- a/packages/next/src/compiled/react/cjs/react.production.js +++ b/packages/next/src/compiled/react/cjs/react.production.js @@ -536,4 +536,4 @@ exports.useSyncExternalStore = function ( exports.useTransition = function () { return ReactSharedInternals.H.useTransition(); }; -exports.version = "19.0.0-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/react/cjs/react.react-server.development.js b/packages/next/src/compiled/react/cjs/react.react-server.development.js index 39da00c3176fc..cfa4a745dc5ff 100644 --- a/packages/next/src/compiled/react/cjs/react.react-server.development.js +++ b/packages/next/src/compiled/react/cjs/react.react-server.development.js @@ -1113,5 +1113,5 @@ exports.useMemo = function (create, deps) { return resolveDispatcher().useMemo(create, deps); }; - exports.version = "19.0.0-rc-5dcb0097-20240918"; + exports.version = "19.0.0-rc-e740d4b1-20240919"; })(); diff --git a/packages/next/src/compiled/react/cjs/react.react-server.production.js b/packages/next/src/compiled/react/cjs/react.react-server.production.js index 2ce544587cf08..9f0317d8c184a 100644 --- a/packages/next/src/compiled/react/cjs/react.react-server.production.js +++ b/packages/next/src/compiled/react/cjs/react.react-server.production.js @@ -424,4 +424,4 @@ exports.useId = function () { exports.useMemo = function (create, deps) { return ReactSharedInternals.H.useMemo(create, deps); }; -exports.version = "19.0.0-rc-5dcb0097-20240918"; +exports.version = "19.0.0-rc-e740d4b1-20240919"; diff --git a/packages/next/src/compiled/unistore/unistore.js b/packages/next/src/compiled/unistore/unistore.js index 936831b1372dc..5bd857dd2b5bf 100644 --- a/packages/next/src/compiled/unistore/unistore.js +++ b/packages/next/src/compiled/unistore/unistore.js @@ -1 +1 @@ -(()=>{var t={601:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a{var t={468:t=>{function n(t,i){for(var _ in i)t[_]=i[_];return t}t.exports=function(t){var i=[];function u(t){for(var _=[],a=0;a=18'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919 peerDependenciesMeta: '@types/react': optional: true @@ -5928,8 +5928,8 @@ packages: peerDependencies: '@babel/core': 7.22.5 - babel-plugin-react-compiler@0.0.0-experimental-24ec0eb-20240918: - resolution: {integrity: sha512-3uFbIPB/q68AUwoPlv4nleIARMdLnzco0FL9f1Iv05kb0/wwOX8sE6rHz+6fyXEScBWf8cogTq1lnlHBc/dyNQ==} + babel-plugin-react-compiler@0.0.0-experimental-6067d4e-20240919: + resolution: {integrity: sha512-3BHXXnd3GzOkHHWMhYLARTUa03PyMzhbAA3ptG+WXujJu0mx1BT3CslcqDlKMh7j508uspT5JCXRZh0ZIN9a0g==} babel-plugin-react-compiler@0.0.0-experimental-c23de8d-20240515: resolution: {integrity: sha512-0XN2gmpT55QtAz5n7d5g91y1AuO9tRhWBaLgCRyc4ExHrlr7+LfxW+YTb3mOwxngkkiggwM8HyYsaEK9MqhnlQ==} @@ -10233,7 +10233,7 @@ packages: lucide-react@0.383.0: resolution: {integrity: sha512-13xlG0CQCJtzjSQYwwJ3WRqMHtRj3EXmLlorrARt7y+IHnxUCp3XyFNL1DfaGySWxHObDvnu1u1dV+0VMKHUSg==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 lz-string@1.5.0: resolution: {integrity: sha512-h5bgJWpxJNswbU7qCrV0tIKQCaS3blPDrqKWx+QxzuzL1zGUzij9XCWLrSLsJPu5t+eWA/ycetzYAO5IOMcWAQ==} @@ -12432,28 +12432,28 @@ packages: resolution: {integrity: sha512-y3bGgqKj3QBdxLbLkomlohkvsA8gdAiUQlSBJnBhfn+BPxg4bc62d8TcBW15wavDfgexCgccckhcZvywyQYPOw==} hasBin: true - react-dom@0.0.0-experimental-5dcb0097-20240918: - resolution: {integrity: sha512-RyM2Bej00U8EHuPzsoCsGxpjUSeDgC/T7kTlKVtTTqNrndMR5bzajzyKW5Ufz5Rcbz3H8VDMblCMlst6O2w2sw==} + react-dom@0.0.0-experimental-e740d4b1-20240919: + resolution: {integrity: sha512-LGivltgtP8VKmxJH7Z/NI8a32ng2cKFnbJtfSGSEM+gCkpp/IqjFR6ir7w/Fd9sO3o4xknXcFp0lmlAZJ1Wx8w==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 react-dom@17.0.2: resolution: {integrity: sha512-s4h96KtLDUQlsENhMn1ar8t2bEa+q/YAtj8pPPdIjPDGBDIVNsrD9aXNWqspUe6AzKCIG0C1HZZLqLV7qpOBGA==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 - react-dom@19.0.0-rc-5dcb0097-20240918: - resolution: {integrity: sha512-QV5mYzXL8okN43EIxsMhjOMi6AP+mkZBbs3nmMcIKp3RbflINO/lUIdHnGsSm6Pc/Mc34QXCHy8RaN1DZ5o8fw==} + react-dom@19.0.0-rc-e740d4b1-20240919: + resolution: {integrity: sha512-4vvVhTQYf9CxJuTtBqoRbqswnt2MA3xVl5UOQP9jnqC5wfkBeWM2gNk/tH4avLFWv5k6YZP75EqhNphiW7EXnA==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 react-dom@19.0.0-rc-f90a6bcc-20240827: resolution: {integrity: sha512-oUa/reDvGtjRcxi8u+GYHaDHanudaO28+G+Wvxm50CItW1xwIFN2Nn7foJxxDS9lFLGdRWZvjxldZEPAUSuXbg==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 - react-is@19.0.0-rc-5dcb0097-20240918: - resolution: {integrity: sha512-ntphFZK4sjyOsVLvJExLYcf6XLaRJE8duCzHbYX9IDzdu71fSXgCrHsj/2VzECURVM3opCcSlyThlKM+kfL8WA==} + react-is@19.0.0-rc-e740d4b1-20240919: + resolution: {integrity: sha512-2VVmhaQsMUGii5MiKv1tibflakPwLIQrv/9q9BM0LwK7g3DYfnLvJ38IaX/S03M7IgVu2PspFMP1tvYVKwOPBg==} react-is@19.0.0-rc-f90a6bcc-20240827: resolution: {integrity: sha512-1tXoLFzVbqHAQeY3CwpyF5IYbkwgSoNHhrhS8qOrfiZIh2461h/C1BP/JVIxwyL51wHhUgLsAc/M8g0OcEhV1A==} @@ -12464,8 +12464,8 @@ packages: react-number-format@5.4.0: resolution: {integrity: sha512-NWdICrqLhI7rAS8yUeLVd6Wr4cN7UjJ9IBTS0f/a9i7UB4x4Ti70kGnksBtZ7o4Z7YRbvCMMR/jQmkoOBa/4fg==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919 react-refresh@0.12.0: resolution: {integrity: sha512-suLIhrU2IHKL5JEKR/fAwJv7bbeq4kJ+pJopf77jHwuR+HmJS/HbrPIGsTBUVfw7tXPOmYv7UJ7PCaN49e8x4A==} @@ -12476,7 +12476,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 peerDependenciesMeta: '@types/react': optional: true @@ -12486,58 +12486,58 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 peerDependenciesMeta: '@types/react': optional: true - react-server-dom-turbopack@0.0.0-experimental-5dcb0097-20240918: - resolution: {integrity: sha512-EL1RuyxnAS6BFMxKgZBQIoptw2fbZj/8IkrISfc7OV2NAFM4xcXcVKD+q33YkEgP8YducJfQwetD0sxFt6Tmaw==} + react-server-dom-turbopack@0.0.0-experimental-e740d4b1-20240919: + resolution: {integrity: sha512-IS0w+UXxY18TxGblDyYKXJCSE/tSha78SxY+OJDat6E5Ceyl/GQ7iYZkJ0SKcUrXnKqpodqFQF10IY7/VRDgSg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919 - react-server-dom-turbopack@19.0.0-rc-5dcb0097-20240918: - resolution: {integrity: sha512-dFu02ajhk41LqUvOAxKDl25vbDjxGHgmVY0uzWRMzVfAw0b3gyUwtMxq5Ad5paU8GhDP2zhL9MOCoojAP35i+Q==} + react-server-dom-turbopack@19.0.0-rc-e740d4b1-20240919: + resolution: {integrity: sha512-P7909dYBJQF990blq2Nhe40quTFKedfSyPlatX4w0FHDiimhgB88SNNwhrwrXrj6YcatN2vzeMdSS+VDjwqrRA==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919 - react-server-dom-webpack@0.0.0-experimental-5dcb0097-20240918: - resolution: {integrity: sha512-PxfOVntco63trxo4alDgBECihTS4N5TKRzI3NzJDKaz9cZ9Tgluh4SmW0zotz022dL412Aez3YOppBwov7lG8w==} + react-server-dom-webpack@0.0.0-experimental-e740d4b1-20240919: + resolution: {integrity: sha512-Z5V1coDQE+hlFA6RUIUUkD1JGROzxKmzHN+Yr/ZGTMyOTwl5eUaqly/CoaWIMh4F+LFwasoMH6IxPjqrdbxAHg==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919 webpack: 5.90.0 - react-server-dom-webpack@19.0.0-rc-5dcb0097-20240918: - resolution: {integrity: sha512-F8kaJe3MVx85Ln9F/cWeJMFsx8VqDGYBZ3lwuK14HrWx4fj1LOW0M0Ti+teZ8/qIVvAr+0R0IFhGaTqTpmQRhA==} + react-server-dom-webpack@19.0.0-rc-e740d4b1-20240919: + resolution: {integrity: sha512-vwe80FPSbkCZRFgYnOyvrrqh50ZLjHEX97csMnMC8N//d78hxoV+st334HXAHL7+Dm4o1Wxp6yEvcIMxxW33bQ==} engines: {node: '>=0.10.0'} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919 webpack: 5.90.0 react-shallow-renderer@16.15.0: resolution: {integrity: sha512-oScf2FqQ9LFVQgA73vr86xl2NaOIX73rh+YFqcOp68CWj56tSfgtGKrEbyhCj0rSijyG9M1CYprTh39fBi5hzA==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 react-ssr-prepass@1.0.8: resolution: {integrity: sha512-O0gfRA1SaK+9ITKxqfnXsej2jF+OHGP/+GxD4unROQaM/0/UczGF9fuF+wTboxaQoKdIf4FvS3h/OigWh704VA==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 - react-is: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + react-is: 19.0.0-rc-e740d4b1-20240919 react-style-singleton@2.2.1: resolution: {integrity: sha512-ZWj0fHEMyWkHzKYUr2Bs/4zU6XLmq9HsgBURm7g5pAVfyn49DgUiNgY2d4lXRlYSiCif9YBGpQleewkcqddc7g==} engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 peerDependenciesMeta: '@types/react': optional: true @@ -12545,30 +12545,30 @@ packages: react-test-renderer@18.2.0: resolution: {integrity: sha512-JWD+aQ0lh2gvh4NM3bBM42Kx+XybOxCpgYK7F8ugAlpaTSnWsX+39Z4XkOykGZAHrjwwTZT3x3KxswVWxHPUqA==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 react-textarea-autosize@8.5.3: resolution: {integrity: sha512-XT1024o2pqCuZSuBt9FwHlaDeNtVrtCXu0Rnz88t1jUGheCLa3PhjE1GH8Ctm2axEtvdCl5SUHYschyQ0L5QHQ==} engines: {node: '>=10'} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 react-virtualized@9.22.3: resolution: {integrity: sha512-MKovKMxWTcwPSxE1kK1HcheQTWfuCxAuBoSTf2gwyMM21NdX/PXUhnoP8Uc5dRKd+nKm8v41R36OellhdCpkrw==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919 - react@0.0.0-experimental-5dcb0097-20240918: - resolution: {integrity: sha512-05b6+Aw0jDCb6R54XLQf0vnN7niw9SVvtsYpv397fkloWIuyExU3EB6G8Gx3KsqRMPiGQaLv425N0tasP8sswA==} + react@0.0.0-experimental-e740d4b1-20240919: + resolution: {integrity: sha512-lNTe59EgyL5IEW9Lto/7vGUvxeAf2OnX8cPA4GGpFSyd1TjTAZR+TsBTCAhez9iA/hd/UjWhKXg561tKHZpYpQ==} engines: {node: '>=0.10.0'} react@17.0.2: resolution: {integrity: sha512-gnhPt75i/dq/z3/6q/0asP78D0u592D5L1pd7M8P+dck6Fu/jJeL6iVVK23fptSUZj8Vjf++7wXA8UNclGQcbA==} engines: {node: '>=0.10.0'} - react@19.0.0-rc-5dcb0097-20240918: - resolution: {integrity: sha512-kpRDycbFGXguigJtTLzT67L6FJjWUJYLru40Yk/7GSYDPy2hAfdLVXwfjczfRrnKVyIO76EVbnlBuR+zNX0bdQ==} + react@19.0.0-rc-e740d4b1-20240919: + resolution: {integrity: sha512-lQRkQYhG+6xPI0KV3e5H3uIaRCe1zjaOYy4MqhDsL23a07gcnDD/dIR0zS+1QTr2r4Msu7TPimExQroK0ySNGw==} engines: {node: '>=0.10.0'} react@19.0.0-rc-f90a6bcc-20240827: @@ -13081,11 +13081,11 @@ packages: resolution: {integrity: sha512-xAg7SOnEhrm5zI3puOOKyy1OMcMlIJZYNJY7xLBwSze0UjhPLnWfj2GF2EpT0jmzaJKIWKHLsaSSajf35bcYnA==} engines: {node: '>=v12.22.7'} - scheduler@0.0.0-experimental-5dcb0097-20240918: - resolution: {integrity: sha512-DQOQQIv61EhqH8n5MqmteGQgTuQNoyodKqEavr1J4wKNfFQoaCpNc0QDLtwK7SpIwUVRf/aREtXROSbzzURb+A==} + scheduler@0.0.0-experimental-e740d4b1-20240919: + resolution: {integrity: sha512-s+uau/z1xPMJ3E00NSRU5uFjR3ErAPc4+Ju9UaMnZDF0D/ZW5OinOVZbsOEOQUYnskWzE0AIuVS9lG8EjRBwqg==} - scheduler@0.25.0-rc-5dcb0097-20240918: - resolution: {integrity: sha512-Sr3CaLDHJIA1p7wzNF8EyZ/JzetrV21S0sY6byC3AhREQMoEuKol8BSmXM5gd8Aoxo92uW9WCjWL0hwdb2DtqQ==} + scheduler@0.25.0-rc-e740d4b1-20240919: + resolution: {integrity: sha512-PRZr9KJzwg8HQgZdmngBza+DrzG0sElnUTvJIDiZWdWpSb9kkdousacJFEKFtLbV/NCq3sTOaX6LaMGyhXl5ug==} schema-utils@2.7.1: resolution: {integrity: sha512-SHiNtMOUGWBQJwzISiVYKu82GiV4QYGePp3odlY1tuKO7gPtphAT5R/py0fA6xtbgLL/RvtJZnU9b8s0F1q0Xg==} @@ -13627,8 +13627,8 @@ packages: engines: {node: '>= 16'} peerDependencies: babel-plugin-styled-components: '>= 2' - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919 peerDependenciesMeta: babel-plugin-styled-components: optional: true @@ -13642,7 +13642,7 @@ packages: peerDependencies: '@babel/core': '*' babel-plugin-macros: '*' - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 peerDependenciesMeta: '@babel/core': optional: true @@ -13719,7 +13719,7 @@ packages: swr@2.2.4: resolution: {integrity: sha512-njiZ/4RiIhoOlAaLYDqwz5qH/KZXVilRLvomrx83HjzCWTfa+InyfAjv05PSFxnmLzZkNO9ZfvgoqzAaEI4sGQ==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 symbol-observable@1.0.1: resolution: {integrity: sha512-Kb3PrPYz4HanVF1LVGuAdW6LoVgIwjUYJGzFe7NDrBLCN4lsV/5J0MFurV+ygS4bRVwrCEt2c7MQ1R2a72oJDw==} @@ -14436,7 +14436,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 peerDependenciesMeta: '@types/react': optional: true @@ -14444,13 +14444,13 @@ packages: use-composed-ref@1.3.0: resolution: {integrity: sha512-GLMG0Jc/jiKov/3Ulid1wbv3r54K9HlMW29IWcDFPEqFkSO2nS0MuefWgMJpeHQ9YJeXDL3ZUF+P3jdXlZX/cQ==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 use-isomorphic-layout-effect@1.1.2: resolution: {integrity: sha512-49L8yCO3iGT/ZF9QttjwLF/ZD9Iwto5LnH5LmEdk/6cFmXddqi2ulF0edxTwjj+7mqvpVVGQWvbXZdn32wRSHA==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 peerDependenciesMeta: '@types/react': optional: true @@ -14459,7 +14459,7 @@ packages: resolution: {integrity: sha512-xA+AVm/Wlg3e2P/JiItTziwS7FK92LWrDB0p+hgXloIMuVCeJJ8v6f0eeHyPZaJrM+usM1FkFfbNCrJGs8A/zw==} peerDependencies: '@types/react': '*' - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 peerDependenciesMeta: '@types/react': optional: true @@ -14469,7 +14469,7 @@ packages: engines: {node: '>=10'} peerDependencies: '@types/react': npm:types-react@19.0.0-rc.0 - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 peerDependenciesMeta: '@types/react': optional: true @@ -14477,7 +14477,7 @@ packages: use-sync-external-store@1.2.0: resolution: {integrity: sha512-eEgnFxGQ1Ife9bzYs6VLi8/4X6CObHMw9Qr9tPY43iKwsPw8xE8+EFsf/2cFZ5S3esXgpWgtSCtLNS41F+sKPA==} peerDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 util-deprecate@1.0.2: resolution: {integrity: sha512-EPD5q1uXyFxJpCrLnCc1nHnq3gOa6DZBocAIiI2TaSCA7VCJ1UJDMagCzIkXNsUYfD1daK//LTEQ8xiIbrHtcw==} @@ -16999,17 +16999,17 @@ snapshots: '@emotion/memoize@0.8.1': {} - '@emotion/react@11.11.1(react@19.0.0-rc-5dcb0097-20240918)(types-react@19.0.0-rc.0)': + '@emotion/react@11.11.1(react@19.0.0-rc-e740d4b1-20240919)(types-react@19.0.0-rc.0)': dependencies: '@babel/runtime': 7.22.5 '@emotion/babel-plugin': 11.11.0 '@emotion/cache': 11.11.0 '@emotion/serialize': 1.1.2 - '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.0.0-rc-5dcb0097-20240918) + '@emotion/use-insertion-effect-with-fallbacks': 1.0.1(react@19.0.0-rc-e740d4b1-20240919) '@emotion/utils': 1.2.1 '@emotion/weak-memoize': 0.3.1 hoist-non-react-statics: 3.3.2 - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 optionalDependencies: '@types/react': types-react@19.0.0-rc.0 transitivePeerDependencies: @@ -17027,9 +17027,9 @@ snapshots: '@emotion/unitless@0.8.1': {} - '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.0.0-rc-5dcb0097-20240918)': + '@emotion/use-insertion-effect-with-fallbacks@1.0.1(react@19.0.0-rc-e740d4b1-20240919)': dependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 '@emotion/utils@1.2.1': {} @@ -18389,11 +18389,11 @@ snapshots: transitivePeerDependencies: - supports-color - '@mdx-js/react@2.2.1(react@19.0.0-rc-5dcb0097-20240918)': + '@mdx-js/react@2.2.1(react@19.0.0-rc-e740d4b1-20240919)': dependencies: '@types/mdx': 2.0.3 '@types/react': types-react@19.0.0-rc.0 - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 '@mdx-js/react@2.2.1(react@19.0.0-rc-f90a6bcc-20240827)': dependencies: @@ -19214,13 +19214,13 @@ snapshots: '@types/jest': 29.5.5 jest: 29.7.0(@types/node@20.12.3)(babel-plugin-macros@3.1.0) - '@testing-library/react@15.0.7(react-dom@19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918))(react@19.0.0-rc-5dcb0097-20240918)(types-react@19.0.0-rc.0)': + '@testing-library/react@15.0.7(react-dom@19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919))(react@19.0.0-rc-e740d4b1-20240919)(types-react@19.0.0-rc.0)': dependencies: '@babel/runtime': 7.22.5 '@testing-library/dom': 10.1.0 '@types/react-dom': types-react-dom@19.0.0-rc.0 - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918) + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919) optionalDependencies: '@types/react': types-react@19.0.0-rc.0 @@ -20461,7 +20461,7 @@ snapshots: - supports-color optional: true - babel-plugin-react-compiler@0.0.0-experimental-24ec0eb-20240918: + babel-plugin-react-compiler@0.0.0-experimental-6067d4e-20240919: dependencies: '@babel/generator': 7.2.0 '@babel/types': 7.22.5 @@ -24009,7 +24009,7 @@ snapshots: hoist-non-react-statics@3.3.2: dependencies: - react-is: 19.0.0-rc-5dcb0097-20240918 + react-is: 19.0.0-rc-e740d4b1-20240919 homedir-polyfill@1.0.3: dependencies: @@ -28333,25 +28333,25 @@ snapshots: '@jest/types': 24.9.0 ansi-regex: 4.1.0 ansi-styles: 3.2.1 - react-is: 19.0.0-rc-5dcb0097-20240918 + react-is: 19.0.0-rc-e740d4b1-20240919 pretty-format@27.5.1: dependencies: ansi-regex: 5.0.1 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-5dcb0097-20240918 + react-is: 19.0.0-rc-e740d4b1-20240919 pretty-format@29.5.0: dependencies: '@jest/schemas': 29.4.3 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-5dcb0097-20240918 + react-is: 19.0.0-rc-e740d4b1-20240919 pretty-format@29.7.0: dependencies: '@jest/schemas': 29.6.3 ansi-styles: 5.2.0 - react-is: 19.0.0-rc-5dcb0097-20240918 + react-is: 19.0.0-rc-e740d4b1-20240919 pretty-ms@7.0.0: dependencies: @@ -28408,7 +28408,7 @@ snapshots: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react-is: 19.0.0-rc-5dcb0097-20240918 + react-is: 19.0.0-rc-e740d4b1-20240919 property-information@5.6.0: dependencies: @@ -28580,29 +28580,29 @@ snapshots: minimist: 1.2.8 strip-json-comments: 2.0.1 - react-dom@0.0.0-experimental-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918): + react-dom@0.0.0-experimental-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919): dependencies: - react: 19.0.0-rc-5dcb0097-20240918 - scheduler: 0.25.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + scheduler: 0.25.0-rc-e740d4b1-20240919 - react-dom@17.0.2(react@19.0.0-rc-5dcb0097-20240918): + react-dom@17.0.2(react@19.0.0-rc-e740d4b1-20240919): dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react: 19.0.0-rc-5dcb0097-20240918 - scheduler: 0.25.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + scheduler: 0.25.0-rc-e740d4b1-20240919 - react-dom@19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918): + react-dom@19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919): dependencies: - react: 19.0.0-rc-5dcb0097-20240918 - scheduler: 0.25.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + scheduler: 0.25.0-rc-e740d4b1-20240919 react-dom@19.0.0-rc-f90a6bcc-20240827(react@19.0.0-rc-f90a6bcc-20240827): dependencies: react: 19.0.0-rc-f90a6bcc-20240827 - scheduler: 0.25.0-rc-5dcb0097-20240918 + scheduler: 0.25.0-rc-e740d4b1-20240919 - react-is@19.0.0-rc-5dcb0097-20240918: {} + react-is@19.0.0-rc-e740d4b1-20240919: {} react-is@19.0.0-rc-f90a6bcc-20240827: {} @@ -28635,48 +28635,48 @@ snapshots: optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - react-server-dom-turbopack@0.0.0-experimental-5dcb0097-20240918(react-dom@19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918))(react@19.0.0-rc-5dcb0097-20240918): + react-server-dom-turbopack@0.0.0-experimental-e740d4b1-20240919(react-dom@19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919))(react@19.0.0-rc-e740d4b1-20240919): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918) + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919) - react-server-dom-turbopack@19.0.0-rc-5dcb0097-20240918(react-dom@19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918))(react@19.0.0-rc-5dcb0097-20240918): + react-server-dom-turbopack@19.0.0-rc-e740d4b1-20240919(react-dom@19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919))(react@19.0.0-rc-e740d4b1-20240919): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918) + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919) - react-server-dom-webpack@0.0.0-experimental-5dcb0097-20240918(react-dom@19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918))(react@19.0.0-rc-5dcb0097-20240918)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): + react-server-dom-webpack@0.0.0-experimental-e740d4b1-20240919(react-dom@19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919))(react@19.0.0-rc-e740d4b1-20240919)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918) + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919) webpack: 5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-server-dom-webpack@19.0.0-rc-5dcb0097-20240918(react-dom@19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918))(react@19.0.0-rc-5dcb0097-20240918)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): + react-server-dom-webpack@19.0.0-rc-e740d4b1-20240919(react-dom@19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919))(react@19.0.0-rc-e740d4b1-20240919)(webpack@5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13))): dependencies: acorn-loose: 8.3.0 neo-async: 2.6.1 - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918) + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919) webpack: 5.90.0(@swc/core@1.6.13(@swc/helpers@0.5.13)) webpack-sources: 3.2.3(patch_hash=jbynf5dc46ambamq3wuyho6hkq) - react-shallow-renderer@16.15.0(react@19.0.0-rc-5dcb0097-20240918): + react-shallow-renderer@16.15.0(react@19.0.0-rc-e740d4b1-20240919): dependencies: object-assign: 4.1.1 - react: 19.0.0-rc-5dcb0097-20240918 - react-is: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + react-is: 19.0.0-rc-e740d4b1-20240919 - react-ssr-prepass@1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-5dcb0097-20240918): + react-ssr-prepass@1.0.8(react-is@19.0.0-rc-f90a6bcc-20240827)(react@19.0.0-rc-e740d4b1-20240919): dependencies: object-is: 1.0.2 - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 react-is: 19.0.0-rc-f90a6bcc-20240827 react-style-singleton@2.2.1(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): @@ -28688,12 +28688,12 @@ snapshots: optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - react-test-renderer@18.2.0(react@19.0.0-rc-5dcb0097-20240918): + react-test-renderer@18.2.0(react@19.0.0-rc-e740d4b1-20240919): dependencies: - react: 19.0.0-rc-5dcb0097-20240918 - react-is: 19.0.0-rc-5dcb0097-20240918 - react-shallow-renderer: 16.15.0(react@19.0.0-rc-5dcb0097-20240918) - scheduler: 0.25.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 + react-is: 19.0.0-rc-e740d4b1-20240919 + react-shallow-renderer: 16.15.0(react@19.0.0-rc-e740d4b1-20240919) + scheduler: 0.25.0-rc-e740d4b1-20240919 react-textarea-autosize@8.5.3(react@19.0.0-rc-f90a6bcc-20240827)(types-react@19.0.0-rc.0): dependencies: @@ -28704,25 +28704,25 @@ snapshots: transitivePeerDependencies: - '@types/react' - react-virtualized@9.22.3(react-dom@19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918))(react@19.0.0-rc-5dcb0097-20240918): + react-virtualized@9.22.3(react-dom@19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919))(react@19.0.0-rc-e740d4b1-20240919): dependencies: '@babel/runtime': 7.22.5 clsx: 1.1.1 dom-helpers: 5.2.1 loose-envify: 1.4.0 prop-types: 15.8.1 - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918) + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919) react-lifecycles-compat: 3.0.4 - react@0.0.0-experimental-5dcb0097-20240918: {} + react@0.0.0-experimental-e740d4b1-20240919: {} react@17.0.2: dependencies: loose-envify: 1.4.0 object-assign: 4.1.1 - react@19.0.0-rc-5dcb0097-20240918: {} + react@19.0.0-rc-e740d4b1-20240919: {} react@19.0.0-rc-f90a6bcc-20240827: {} @@ -29405,9 +29405,9 @@ snapshots: dependencies: xmlchars: 2.2.0 - scheduler@0.0.0-experimental-5dcb0097-20240918: {} + scheduler@0.0.0-experimental-e740d4b1-20240919: {} - scheduler@0.25.0-rc-5dcb0097-20240918: {} + scheduler@0.25.0-rc-e740d4b1-20240919: {} schema-utils@2.7.1: dependencies: @@ -30009,7 +30009,7 @@ snapshots: dependencies: inline-style-parser: 0.1.1 - styled-components@6.0.0-rc.3(react-dom@19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918))(react@19.0.0-rc-5dcb0097-20240918): + styled-components@6.0.0-rc.3(react-dom@19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919))(react@19.0.0-rc-e740d4b1-20240919): dependencies: '@babel/cli': 7.21.5(@babel/core@7.22.5) '@babel/core': 7.22.5 @@ -30024,8 +30024,8 @@ snapshots: '@emotion/unitless': 0.8.1 css-to-react-native: 3.2.0 postcss: 8.4.31 - react: 19.0.0-rc-5dcb0097-20240918 - react-dom: 19.0.0-rc-5dcb0097-20240918(react@19.0.0-rc-5dcb0097-20240918) + react: 19.0.0-rc-e740d4b1-20240919 + react-dom: 19.0.0-rc-e740d4b1-20240919(react@19.0.0-rc-e740d4b1-20240919) shallowequal: 1.1.0 stylis: 4.2.0 tslib: 2.5.3 @@ -30037,10 +30037,10 @@ snapshots: postcss: 7.0.32 postcss-load-plugins: 2.3.0 - styled-jsx@5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-5dcb0097-20240918): + styled-jsx@5.1.6(@babel/core@7.22.5)(babel-plugin-macros@3.1.0)(react@19.0.0-rc-e740d4b1-20240919): dependencies: client-only: 0.0.1 - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 optionalDependencies: '@babel/core': 7.22.5 babel-plugin-macros: 3.1.0 @@ -30130,11 +30130,11 @@ snapshots: picocolors: 1.0.1 stable: 0.1.8 - swr@2.2.4(react@19.0.0-rc-5dcb0097-20240918): + swr@2.2.4(react@19.0.0-rc-e740d4b1-20240919): dependencies: client-only: 0.0.1 - react: 19.0.0-rc-5dcb0097-20240918 - use-sync-external-store: 1.2.0(react@19.0.0-rc-5dcb0097-20240918) + react: 19.0.0-rc-e740d4b1-20240919 + use-sync-external-store: 1.2.0(react@19.0.0-rc-e740d4b1-20240919) symbol-observable@1.0.1: {} @@ -30799,9 +30799,9 @@ snapshots: unist-util-is: 5.2.0 unist-util-visit-parents: 5.1.3 - unistore@3.4.1(react@19.0.0-rc-5dcb0097-20240918): + unistore@3.4.1(react@19.0.0-rc-e740d4b1-20240919): optionalDependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 universal-github-app-jwt@1.1.1: dependencies: @@ -30919,9 +30919,9 @@ snapshots: optionalDependencies: '@types/react': types-react@19.0.0-rc.0 - use-sync-external-store@1.2.0(react@19.0.0-rc-5dcb0097-20240918): + use-sync-external-store@1.2.0(react@19.0.0-rc-e740d4b1-20240919): dependencies: - react: 19.0.0-rc-5dcb0097-20240918 + react: 19.0.0-rc-e740d4b1-20240919 util-deprecate@1.0.2: {} diff --git a/run-tests.js b/run-tests.js index f77352ecf59a0..f5735e90c9308 100644 --- a/run-tests.js +++ b/run-tests.js @@ -20,7 +20,7 @@ const { getTestFilter } = require('./test/get-test-filter') // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-5dcb0097-20240918"; +const nextjsReactPeerVersion = "19.0.0-rc-e740d4b1-20240919"; let argv = require('yargs/yargs')(process.argv.slice(2)) .string('type') diff --git a/test/.stats-app/package.json b/test/.stats-app/package.json index e3e0c7c9ca5b1..d8fd5deb7e143 100644 --- a/test/.stats-app/package.json +++ b/test/.stats-app/package.json @@ -4,8 +4,8 @@ "license": "MIT", "dependencies": { "next": "latest", - "react": "19.0.0-rc-5dcb0097-20240918", - "react-dom": "19.0.0-rc-5dcb0097-20240918" + "react": "19.0.0-rc-e740d4b1-20240919", + "react-dom": "19.0.0-rc-e740d4b1-20240919" }, "engines": { "node": ">=18.18.0" diff --git a/test/e2e/next-test/first-time-setup-js/package.json b/test/e2e/next-test/first-time-setup-js/package.json index 9aa4cafff9c6c..1b78ddf0148a2 100644 --- a/test/e2e/next-test/first-time-setup-js/package.json +++ b/test/e2e/next-test/first-time-setup-js/package.json @@ -8,7 +8,7 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-5dcb0097-20240918", - "react-dom": "19.0.0-rc-5dcb0097-20240918" + "react": "19.0.0-rc-e740d4b1-20240919", + "react-dom": "19.0.0-rc-e740d4b1-20240919" } } diff --git a/test/e2e/next-test/first-time-setup-ts/package.json b/test/e2e/next-test/first-time-setup-ts/package.json index 45141769df313..df7f43aa0d232 100644 --- a/test/e2e/next-test/first-time-setup-ts/package.json +++ b/test/e2e/next-test/first-time-setup-ts/package.json @@ -8,8 +8,8 @@ }, "dependencies": { "next": "canary", - "react": "19.0.0-rc-5dcb0097-20240918", - "react-dom": "19.0.0-rc-5dcb0097-20240918" + "react": "19.0.0-rc-e740d4b1-20240919", + "react-dom": "19.0.0-rc-e740d4b1-20240919" }, "devDependencies": { "@types/react": "^18", diff --git a/test/lib/next-modes/base.ts b/test/lib/next-modes/base.ts index ff5b21e804458..d55c9ea49f211 100644 --- a/test/lib/next-modes/base.ts +++ b/test/lib/next-modes/base.ts @@ -51,7 +51,7 @@ type OmitFirstArgument = F extends ( // Do not rename or format. sync-react script relies on this line. // prettier-ignore -const nextjsReactPeerVersion = "19.0.0-rc-5dcb0097-20240918"; +const nextjsReactPeerVersion = "19.0.0-rc-e740d4b1-20240919"; export class NextInstance { protected files: FileRef | { [filename: string]: string | FileRef }