{"version":3,"file":"index.js","sources":["webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.css","webpack://next/./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.css","webpack://next/./src/next-devtools/dev-overlay/components/instant-navs/instant-navs-panel.css","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-explorer.css","webpack://next/./src/next-devtools/dev-overlay/components/request-insights/request-insights-panel.css","webpack://next/./src/next-devtools/dev-overlay/components/toast/style.css","webpack://next/./src/next-devtools/dev-overlay/components/tooltip/tooltip.css","webpack://next/./src/next-devtools/dev-overlay/global.css","webpack://next/./src/next-devtools/dev-overlay/menu/panel-router.css","webpack://next/./src/next-devtools/dev-overlay/normalize.css","webpack://next/./src/next-devtools/dev-overlay/panel/dynamic-panel.css","webpack://next/./src/next-devtools/dev-overlay/styles/colors.css","webpack://next/./src/next-devtools/dev-overlay/styles/dark-theme.css","webpack://next/./src/next-devtools/dev-overlay/styles/default-theme.css","webpack://next/../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js","webpack://next/../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js","webpack://next/../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js","webpack://next/../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js","webpack://next/../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js","webpack://next/../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js","webpack://next/../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js","webpack://next/./dist/compiled/anser/index.js","webpack://next/./dist/compiled/react-dom/cjs/react-dom-client.production.js","webpack://next/./dist/compiled/react-dom/cjs/react-dom.production.js","webpack://next/./dist/compiled/react-dom/client.js","webpack://next/./dist/compiled/react-dom/index.js","webpack://next/./dist/compiled/react/cjs/react-compiler-runtime.production.js","webpack://next/./dist/compiled/react/cjs/react-jsx-runtime.production.js","webpack://next/./dist/compiled/react/cjs/react.production.js","webpack://next/./dist/compiled/react/compiler-runtime.js","webpack://next/./dist/compiled/react/index.js","webpack://next/./dist/compiled/react/jsx-runtime.js","webpack://next/./dist/compiled/scheduler/cjs/scheduler.production.js","webpack://next/./dist/compiled/scheduler/index.js","webpack://next/./dist/compiled/stacktrace-parser/stack-trace-parser.cjs.js","webpack://next/./dist/compiled/strip-ansi/index.js","webpack://next/./src/build/webpack/loaders/devtool/devtool-style-inject.js","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/status-indicator.tsx","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/styleHookMapping.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/popupStateMapping.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/composite/list/useCompositeListItem.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/checkbox-item/MenuCheckboxItemDataAttributes.js","webpack://next/./src/next-devtools/dev-overlay/global.css?cb78","webpack://next/./src/next-devtools/dev-overlay/components/toast/style.css?d986","webpack://next/./src/next-devtools/dev-overlay/font/font-styles.tsx","webpack://next/./src/next-devtools/dev-overlay/components/shadow-portal.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overlay/styles.tsx","webpack://next/./src/next-devtools/dev-overlay/components/terminal/editor-link.tsx","webpack://next/./src/next-devtools/dev-overlay/components/terminal/terminal.tsx","webpack://next/./src/next-devtools/dev-overlay/container/build-error.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/eye-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/light-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/dark-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/system-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/dev-tools-info/shortcut-recorder.tsx","webpack://next/./src/next-devtools/shared/devtools-config-schema.ts","webpack://next/./src/next-devtools/dev-overlay/utils/save-devtools-config.ts","webpack://next/./src/next-devtools/shared/deepmerge.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/dev-tools-info/user-preferences.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-toolbar/use-restart-server.ts","webpack://next/./src/next-devtools/dev-overlay/styles/component-styles.tsx","webpack://next/./src/next-devtools/dev-overlay/hooks/use-delayed-render.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay/error-overlay.tsx","webpack://next/./src/next-devtools/dev-overlay/container/runtime-error/render-error.tsx","webpack://next/./src/next-devtools/dev-overlay/styles/scale-updater.tsx","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.css?211a","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/hooks/use-update-animation.ts","webpack://next/./src/next-devtools/dev-overlay/icons/cross.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/warning.tsx","webpack://next/./src/next-devtools/dev-overlay/hooks/use-indicator-display.ts","webpack://next/./src/next-devtools/dev-overlay/menu/context.tsx","webpack://next/./src/next-devtools/dev-overlay/menu/issue-bucket-state.ts","webpack://next/./src/next-devtools/dev-overlay/utils/indicator-metrics.ts","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/next-logo.tsx","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/hooks/use-measure-width.ts","webpack://next/./src/next-devtools/dev-overlay/components/toast/toast.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/drag-context.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/draggable.tsx","webpack://next/./src/next-devtools/dev-overlay/components/devtools-indicator/devtools-indicator.tsx","webpack://next/./src/next-devtools/dev-overlay/menu/dev-overlay-menu.tsx","webpack://next/./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-provider.tsx","webpack://next/./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.css?3775","webpack://next/./src/next-devtools/dev-overlay/components/devtools-panel/resize/resize-handle.tsx","webpack://next/./src/next-devtools/dev-overlay/panel/dynamic-panel.css?8698","webpack://next/./src/next-devtools/dev-overlay/panel/dynamic-panel.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/dev-tools-info/route-info.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-explorer.css?4db2","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.css?73cc","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/useRefWithInit.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/useOnMount.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/useTimeout.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/useEventCallback.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/useControlled.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/safeReact.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/useId.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/createEventEmitter.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/useIsoLayoutEffect.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingTree.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFloatingRootContext.js","webpack://next/../../node_modules/.pnpm/@floating-ui+utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.dom.mjs","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/useLatestRef.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/detectBrowser.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/event.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/constants.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/element.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/createAttribute.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useHover.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/nodes.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/safePolygon.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFocus.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/useAnimationFrame.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/constants.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useDismiss.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useRole.js","webpack://next/../../node_modules/.pnpm/@floating-ui+utils@0.2.10/node_modules/@floating-ui/utils/dist/floating-ui.utils.mjs","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/composite.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/enqueueFocus.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useListNavigation.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useInteractions.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/root/MenuRootContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menubar/MenubarContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/useTransitionStatus.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/useOpenChangeComplete.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/useAnimationsFinished.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/direction-provider/DirectionContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/owner.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/noop.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/useScrollLock.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/translateOpenChangeReason.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/context-menu/root/ContextMenuRootContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/submenu-root/MenuSubmenuRootContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/mergeObjects.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/merge-props/mergeProps.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/root/MenuRoot.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/useOpenInteractionType.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/useEnhancedClickHandler.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useClick.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useTypeahead.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/useMixedToggleClickHander.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/useMergedRefs.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/reactVersion.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/useRenderElement.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/resolveClassName.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/getStyleHookProps.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/composite/root/CompositeRootContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/use-button/useButton.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/useFocusableWhenDisabled.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/composite/list/CompositeListContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/composite/item/CompositeItem.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/composite/item/useCompositeItem.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/trigger/MenuTrigger.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/getPseudoElementBounds.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/visuallyHidden.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/FocusGuard.js","webpack://next/../../node_modules/.pnpm/tabbable@6.2.0/node_modules/tabbable/src/index.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/tabbable.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingPortal.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/portal/MenuPortalContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/portal/MenuPortal.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/positioner/MenuPositionerContext.js","webpack://next/../../node_modules/.pnpm/@floating-ui+core@1.7.3/node_modules/@floating-ui/core/dist/floating-ui.core.mjs","webpack://next/../../node_modules/.pnpm/@floating-ui+dom@1.7.3/node_modules/@floating-ui/dom/dist/floating-ui.dom.mjs","webpack://next/../../node_modules/.pnpm/@floating-ui+react-dom@2.1.5_react-dom@19.3.0-canary-cbb046ab-20260731_react@19.3.0-can_232b3deb4e27ccf9af1f74bb9c62f946/node_modules/@floating-ui/react-dom/dist/floating-ui.react-dom.mjs","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/useAnchorPositioning.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/middleware/arrow.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useFloating.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/composite/list/CompositeList.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/InternalBackdrop.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/positioner/MenuPositioner.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+utils@0.1.0_@types+react@19.2.18_react-dom@19.3.0-canary-cbb046ab-2_61bb8ac42b54e441f0b5733d13289f28/node_modules/@base-ui-components/utils/esm/inertValue.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/utils/markOthers.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingFocusManager.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/popup/MenuPopup.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/group/MenuGroupContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/group/MenuGroup.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/useBaseUiId.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/group-label/MenuGroupLabel.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/item/useMenuItem.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/item/MenuItem.js","webpack://next/./src/server/app-render/segment-explorer-path.ts","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-boundary-trigger.tsx","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/root/TooltipRootContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/trigger/TooltipTrigger.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/positioner/TooltipPositionerContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/arrow/TooltipArrow.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/popup/TooltipPopup.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/portal/TooltipPortalContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/positioner/TooltipPositioner.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/utils/FloatingPortalLite.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/portal/TooltipPortal.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/components/FloatingDelayGroup.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/provider/TooltipProviderContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/provider/TooltipProvider.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/floating-ui-react/hooks/useClientPoint.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/root/TooltipRoot.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/tooltip/utils/constants.js","webpack://next/./src/next-devtools/dev-overlay/components/tooltip/tooltip.css?2364","webpack://next/./src/next-devtools/dev-overlay/components/tooltip/tooltip.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-suggestion.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overview/segment-explorer.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/dev-tools-info/dev-tools-header.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/gear-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/loading-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/components/instant-navs/instant-navs-panel.css?1553","webpack://next/./src/next-devtools/dev-overlay/components/instant-navs/instant-navs-panel.tsx","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/checkbox-item/MenuCheckboxItemContext.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/utils/styleHookMapping.js","webpack://next/../../node_modules/.pnpm/@base-ui-components+react@1.0.0-beta.2_@types+react@19.2.18_react-dom@19.3.0-canary-cbb_290fc49d6392fca5d8aca9873ffd5a59/node_modules/@base-ui-components/react/esm/menu/checkbox-item/MenuCheckboxItem.js","webpack://next/./src/next-devtools/dev-overlay/components/request-insights/format-duration.ts","webpack://next/./src/next-devtools/dev-overlay/components/request-insights/request-list.ts","webpack://next/./src/next-devtools/dev-overlay/components/request-insights/trace-viewer.ts","webpack://next/./src/next-devtools/dev-overlay/components/request-insights/request-insights-panel.css?157f","webpack://next/./src/next-devtools/dev-overlay/components/request-insights/request-insights-panel.tsx","webpack://next/./src/next-devtools/dev-overlay/menu/panel-router.css?a3eb","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/dev-tools-info/cache-disabled.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/dev-tools-info/cold-cache.tsx","webpack://next/./src/next-devtools/dev-overlay/menu/panel-router.tsx","webpack://next/./src/next-devtools/dev-overlay/hooks/use-shortcuts.ts","webpack://next/./src/next-devtools/dev-overlay/dev-overlay.tsx","webpack://next/./src/next-devtools/dev-overlay.browser.tsx","webpack://next/./src/next-devtools/dev-overlay/event-queue.ts","webpack://next/./src/next-devtools/dev-overlay/components/call-stack-frame/call-stack-frame.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/chevron-up-down.tsx","webpack://next/./src/next-devtools/dev-overlay/components/call-stack/call-stack.tsx","webpack://next/./src/next-devtools/dev-overlay/components/code-frame/code-frame-shell.tsx","webpack://next/./src/next-devtools/dev-overlay/components/code-frame/code-frame.tsx","webpack://next/./src/next-devtools/dev-overlay/components/code-frame/parse-code-frame.ts","webpack://next/./src/next-devtools/dev-overlay/components/copy-button/index.tsx","webpack://next/./src/next-devtools/dev-overlay/components/dialog/dialog-body.tsx","webpack://next/./src/next-devtools/dev-overlay/components/dialog/dialog-content.tsx","webpack://next/./src/next-devtools/dev-overlay/components/dialog/styles.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/dev-tools-indicator/utils.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/environment-name-label/environment-name-label.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-call-stack/error-overlay-call-stack.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/thumbs/thumbs-up.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/thumbs/thumbs-down.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-footer/error-feedback/error-feedback.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-footer/error-overlay-footer.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-toolbar/nodejs-inspector-button.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-toolbar/copy-error-button.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-toolbar/docs-link-button.tsx","webpack://next/./src/next-devtools/dev-overlay/utils/parse-url-from-text.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-toolbar/error-overlay-toolbar.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-message/error-message.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-type-label/error-type-label.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-nav/error-overlay-nav.tsx","webpack://next/./src/next-devtools/dev-overlay/components/dialog/dialog.tsx","webpack://next/./src/next-devtools/dev-overlay/hooks/use-on-click-outside.ts","webpack://next/./src/next-devtools/dev-overlay/components/errors/dialog/dialog.tsx","webpack://next/./src/next-devtools/dev-overlay/components/dialog/dialog-header.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dialog/header.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/dialog/body.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/overlay/overlay.tsx","webpack://next/./src/next-devtools/dev-overlay/components/resizer/index.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-layout/error-overlay-layout.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/left-arrow.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/right-arrow.tsx","webpack://next/./src/next-devtools/dev-overlay/components/errors/error-overlay-pagination/error-overlay-pagination.tsx","webpack://next/./src/shared/lib/magic-identifier.ts","webpack://next/./src/next-devtools/dev-overlay/components/hot-linked-text/index.tsx","webpack://next/./src/next-devtools/dev-overlay/components/instant-navs/instant-nav-cookie.ts","webpack://next/./src/shared/lib/instant-nav-cookie.ts","webpack://next/./src/next-devtools/dev-overlay/components/instant/instant-guidance-data.ts","webpack://next/./src/next-devtools/dev-overlay/icons/fix-card-icons.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/copy-prompt.tsx","webpack://next/./src/next-devtools/dev-overlay/components/instant/instant-guidance.tsx","webpack://next/./src/next-devtools/dev-overlay/components/instant/unrendered-segment-info.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overlay/overlay-backdrop.tsx","webpack://next/./src/next-devtools/dev-overlay/components/overlay/body-locker.ts","webpack://next/./src/next-devtools/dev-overlay/components/overlay/overlay.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/eclipse.tsx","webpack://next/./src/next-devtools/dev-overlay/components/version-staleness-info/version-staleness-info.tsx","webpack://next/./src/next-devtools/shared/version-staleness.ts","webpack://next/./src/next-devtools/dev-overlay/utils/generate-error-info.ts","webpack://next/./src/next-devtools/dev-overlay/container/errors.tsx","webpack://next/./src/next-devtools/dev-overlay/hooks/use-active-runtime-error.ts","webpack://next/./src/lib/error-telemetry-utils.ts","webpack://next/./src/next-devtools/dev-overlay/icons/collapse-icon.tsx","webpack://next/./src/next-devtools/dev-overlay/components/hydration-diff/diff-view.tsx","webpack://next/./src/next-devtools/dev-overlay/container/runtime-error/component-stack-pseudo-html.tsx","webpack://next/./src/next-devtools/dev-overlay/container/runtime-error/error-aggregate-errors.tsx","webpack://next/./src/next-devtools/dev-overlay/container/runtime-error/error-cause.tsx","webpack://next/./src/next-devtools/dev-overlay/container/runtime-error/index.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/external.tsx","webpack://next/./src/next-devtools/dev-overlay/icons/file.tsx","webpack://next/./src/next-devtools/dev-overlay/segment-explorer-trie.ts","webpack://next/./src/next-devtools/shared/console-error.ts","webpack://next/./src/shared/lib/router/utils/interception-routes.ts","webpack://next/./src/shared/lib/router/utils/is-dynamic.ts","webpack://next/./src/lib/constants.ts","webpack://next/./src/shared/lib/escape-regexp.ts","webpack://next/./src/shared/lib/router/utils/get-dynamic-param.ts","webpack://next/./src/next-devtools/dev-overlay/shared.ts","webpack://next/./src/shared/lib/page-path/ensure-leading-slash.ts","webpack://next/./src/shared/lib/router/utils/app-paths.ts","webpack://next/./src/shared/lib/segment.ts","webpack://next/./src/shared/lib/router/utils/route-regex.ts","webpack://next/./src/shared/lib/router/utils/remove-trailing-slash.ts","webpack://next/./src/next-devtools/dev-overlay/utils/css.ts","webpack://next/./src/next-devtools/dev-overlay/utils/cx.ts","webpack://next/./src/next-devtools/dev-overlay/utils/get-error-by-type.ts","webpack://next/./src/next-devtools/dev-overlay/utils/use-open-in-editor.ts","webpack://next/./src/next-devtools/shared/react-19-hydration-error.ts","webpack://next/./src/next-devtools/shared/webpack-module-path.ts","webpack://next/./src/next-devtools/shared/stack-frame.ts","webpack://next/./src/server/lib/parse-stack.ts","webpack://next/./src/shared/lib/error-source.ts","webpack://next/./src/shared/lib/request-insights.ts","webpack://next/./dist/compiled/zod/index.cjs","webpack://next/webpack/runtime/compat_get_default_export","webpack://next/webpack/runtime/create_fake_namespace_object","webpack://next/webpack/runtime/define_property_getters","webpack://next/webpack/runtime/has_own_property","webpack://next/webpack/runtime/make_namespace_object","webpack://next/webpack/runtime/nonce"],"sourcesContent":["// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `[data-nextjs-toast] {\n  &[data-hidden='true'] {\n    display: none;\n  }\n}\n\n.dev-tools-indicator-menu {\n  display: flex;\n  flex-direction: column;\n  align-items: flex-start;\n  background: var(--color-background-100);\n  border: 1px solid var(--color-gray-alpha-400);\n  background-clip: padding-box;\n  box-shadow: var(--shadow-menu);\n  border-radius: var(--rounded-xl);\n  position: absolute;\n  font-family: var(--font-stack-sans);\n  z-index: 3;\n  overflow: hidden;\n  opacity: 0;\n  outline: 0;\n  min-width: 248px;\n  transition: opacity var(--animate-out-duration-ms)\n    var(--animate-out-timing-function);\n\n  &[data-rendered='true'] {\n    opacity: 1;\n    scale: 1;\n  }\n}\n\n.dev-tools-indicator-inner {\n  padding: 6px;\n  width: 100%;\n}\n\n.dev-tools-indicator-item {\n  display: flex;\n  align-items: center;\n  padding: 8px 6px;\n  height: var(--size-36);\n  border-radius: 6px;\n  text-decoration: none !important;\n  user-select: none;\n  white-space: nowrap;\n\n  svg {\n    width: var(--size-16);\n    height: var(--size-16);\n  }\n\n  &:focus-visible {\n    outline: 0;\n  }\n}\n\n.dev-tools-indicator-footer {\n  background: var(--color-background-200);\n  padding: 6px;\n  border-top: 1px solid var(--color-gray-400);\n  width: 100%;\n}\n\n.dev-tools-indicator-item[data-selected='true'] {\n  cursor: pointer;\n  background-color: var(--color-gray-200);\n}\n\n.dev-tools-indicator-label {\n  font-size: var(--size-14);\n  line-height: var(--size-20);\n  color: var(--color-gray-1000);\n}\n\n.dev-tools-indicator-value {\n  font-size: var(--size-14);\n  line-height: var(--size-20);\n  color: var(--color-gray-900);\n  margin-left: auto;\n}\n\n.dev-tools-indicator-issue-counts {\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n}\n\n.dev-tools-indicator-issue-count {\n  --color-primary: var(--color-gray-800);\n  --color-secondary: var(--color-gray-100);\n  display: flex;\n  flex-direction: row;\n  align-items: center;\n  justify-content: center;\n  gap: 8px;\n  min-width: var(--size-40);\n  height: var(--size-24);\n  background: var(--color-background-100);\n  border: 1px solid var(--color-gray-alpha-400);\n  background-clip: padding-box;\n  box-shadow: var(--shadow-small);\n  padding: 2px;\n  color: var(--color-gray-1000);\n  border-radius: 128px;\n  font-weight: 500;\n  font-size: var(--size-13);\n  font-variant-numeric: tabular-nums;\n\n  &[data-has-issues='true'] {\n    --color-primary: var(--color-red-800);\n    --color-secondary: var(--color-red-100);\n  }\n\n  &[data-has-issues='true'][data-variant='insight'] {\n    --color-primary: var(--color-amber-800);\n    --color-secondary: var(--color-amber-100);\n  }\n\n  .dev-tools-indicator-issue-count-indicator {\n    width: var(--size-8);\n    height: var(--size-8);\n    background: var(--color-primary);\n    box-shadow: 0 0 0 2px var(--color-secondary);\n    border-radius: 50%;\n  }\n}\n\n.dev-tools-indicator-shortcut {\n  display: flex;\n  gap: 4px;\n\n  kbd {\n    width: var(--size-20);\n    height: var(--size-20);\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    border-radius: var(--rounded-md);\n    border: 1px solid var(--color-gray-400);\n    font-family: var(--font-stack-sans);\n    background: var(--color-background-100);\n    color: var(--color-gray-1000);\n    text-align: center;\n    font-size: var(--size-12);\n    line-height: var(--size-16);\n  }\n}\n\n.dev-tools-grabbing {\n  cursor: grabbing;\n\n  > * {\n    pointer-events: none;\n  }\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.resize-container {\n  position: absolute;\n  /* todo: better z index */\n  z-index: 10;\n  /* todo: is this needed */\n  background: transparent;\n}\n\n.resize-line {\n  position: absolute;\n  /* todo smarter z index */\n  z-index: -1;\n  pointer-events: none;\n  /* a normal exit animation curve- at this point the exit animation is */\n  /* immediately responsive so we don't need a bespoke curve */\n  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);\n  /* todo: better var? */\n  border: 1px solid var(--color-gray-400);\n}\n\n/* start really fast because we start super hidden initially behind the panel, otherwise feels like an unintended animation delay */\n.resize-container:hover ~ .resize-line {\n  transition: transform 0.25s cubic-bezier(0.23, 1, 0.32, 0.9);\n}\n\n.resize-container.right,\n.resize-container.left {\n  top: 0;\n  height: 100%;\n  width: 22px;\n  cursor: ew-resize;\n}\n\n/* todo: don't hard code all these values/use vars */\n\n.resize-container.bottom,\n.resize-container.top {\n  left: 0;\n  width: 100%;\n  height: 22px;\n  cursor: ns-resize;\n}\n\n.resize-container.top {\n  top: -7px;\n}\n.resize-container.bottom {\n  bottom: -7px;\n}\n.resize-container.left {\n  left: -7px;\n}\n.resize-container.right {\n  right: -7px;\n}\n\n.resize-container.top-left,\n.resize-container.top-right,\n.resize-container.bottom-left,\n.resize-container.bottom-right {\n  width: 26px;\n  height: 26px;\n  z-index: 15;\n}\n\n.resize-container.top-left {\n  top: -5px;\n  left: -5px;\n  cursor: nwse-resize;\n}\n.resize-container.top-right {\n  top: -5px;\n  right: -5px;\n  cursor: nesw-resize;\n}\n.resize-container.bottom-left {\n  bottom: -5px;\n  left: -5px;\n  cursor: nesw-resize;\n}\n.resize-container.bottom-right {\n  bottom: -5px;\n  right: -5px;\n  cursor: nwse-resize;\n}\n\n.resize-line.top,\n.resize-line.bottom {\n  height: 18px;\n  width: 100%;\n  background-color: var(--color-background-200);\n}\n\n.resize-line.left,\n.resize-line.right {\n  width: 18px;\n  height: 100%;\n  background-color: var(--color-background-200);\n}\n\n.resize-line.top {\n  top: -7px;\n  left: calc(-1 * var(--border-left, 2px));\n  width: calc(100% + var(--border-horizontal, 4px));\n  border-radius: var(--rounded-lg) var(--rounded-lg) 0 0;\n  transform: translateY(18px);\n}\n\n.resize-line.bottom {\n  bottom: -7px;\n  left: calc(-1 * var(--border-left, 2px));\n  width: calc(100% + var(--border-horizontal, 4px));\n  border-radius: 0 0 var(--rounded-lg) var(--rounded-lg);\n  transform: translateY(-18px);\n}\n\n.resize-line.left {\n  top: calc(-1 * var(--border-top, 2px));\n  left: -7px;\n  height: calc(100% + var(--border-vertical, 4px));\n  border-radius: var(--rounded-lg) 0 0 var(--rounded-lg);\n  transform: translateX(18px);\n}\n\n.resize-line.right {\n  top: calc(-1 * var(--border-top, 2px));\n  right: -7px;\n  height: calc(100% + var(--border-vertical, 4px));\n  border-radius: 0 var(--rounded-lg) var(--rounded-lg) 0;\n  transform: translateX(-18px);\n}\n\n.resize-container.right:hover ~ .resize-line.right,\n.resize-container.left:hover ~ .resize-line.left,\n.resize-line.right.dragging,\n.resize-line.left.dragging {\n  transform: translateX(0);\n}\n\n.resize-container.bottom:hover ~ .resize-line.bottom,\n.resize-container.top:hover ~ .resize-line.top,\n.resize-line.bottom.dragging,\n.resize-line.top.dragging {\n  transform: translateY(0);\n}\n\n/* make sure that we don't show multiple handles at once\n * we should only ever show the currently resizing handle\n * regardless of hover state \n */\n.resize-container.no-hover.right:hover ~ .resize-line.right {\n  transform: translateX(-20px);\n}\n.resize-container.no-hover.left:hover ~ .resize-line.left {\n  transform: translateX(20px);\n}\n.resize-container.no-hover.bottom:hover ~ .resize-line.bottom {\n  transform: translateY(-20px);\n}\n.resize-container.no-hover.top:hover ~ .resize-line.top {\n  transform: translateY(20px);\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.instant-nav-panel {\n  display: flex;\n  flex-direction: column;\n  height: auto;\n}\n\n.instant-nav-content {\n  overflow: hidden;\n}\n\n.instant-nav-content-container {\n  position: relative;\n  overflow: hidden;\n}\n\n.instant-nav-transition-layer {\n  position: absolute;\n  inset: 0;\n  opacity: var(--instant-nav-layer-opacity, 0);\n  pointer-events: none;\n  transition: opacity var(--instant-nav-layer-transition-duration, 100ms)\n    cubic-bezier(0.25, 0.8, 0.5, 1)\n    var(--instant-nav-layer-transition-delay, 0ms);\n}\n\n.instant-nav-transition-layer.is-visible {\n  z-index: 1;\n  pointer-events: auto;\n}\n\n.instant-nav-transition-layer--no-enter {\n  transition: none;\n}\n\n.instant-nav-state--pending {\n  display: flex;\n  flex-direction: column;\n}\n\n.instant-nav-state-details {\n  padding: 16px 20px 0;\n}\n\n.instant-nav-state-title {\n  margin: 0;\n  font-size: var(--size-14);\n  font-weight: 600;\n  line-height: 21px;\n  color: var(--color-gray-1000);\n  display: flex;\n  align-items: center;\n  gap: 8px;\n}\n\n.instant-nav-state-title-type {\n  color: var(--color-gray-900);\n  font-size: var(--size-11);\n  font-weight: 500;\n  background-color: var(--color-gray-100);\n  padding: 4px 5px;\n  line-height: 1;\n  border-radius: 4px;\n  margin-left: 2px;\n}\n\n.instant-nav-state-description {\n  margin-top: 4px;\n  font-size: var(--size-14);\n  color: var(--color-gray-800);\n}\n\n.instant-nav-waiting-status {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n  width: 100%;\n  height: 42px;\n  padding: 0 20px;\n  background: var(--color-blue-100);\n  box-sizing: border-box;\n}\n@media (prefers-color-scheme: dark) {\n  :host(:not(.light)) {\n    .instant-nav-waiting-status {\n      background: var(--color-blue-300);\n    }\n  }\n}\n\n.instant-nav-waiting-status-dot {\n  position: relative;\n  flex: 0 0 auto;\n  width: 16px;\n  height: 16px;\n  border-radius: 50%;\n  background: #b8cffb;\n}\n@media (prefers-color-scheme: dark) {\n  :host(:not(.light)) {\n    .instant-nav-waiting-status-dot {\n      background: #25548f;\n    }\n  }\n}\n\n.instant-nav-waiting-status-dot::after {\n  content: '';\n  position: absolute;\n  top: 4px;\n  left: 4px;\n  width: 8px;\n  height: 8px;\n  border-radius: 50%;\n  background: var(--color-blue-700);\n}\n@media (prefers-color-scheme: dark) {\n  :host(:not(.light)) {\n    .instant-nav-waiting-status-dot::after {\n      background: #468be2;\n    }\n  }\n}\n\n.instant-nav-waiting-status-title {\n  margin: 0;\n  color: var(--color-gray-1000);\n  font-size: var(--size-13);\n  font-weight: 400;\n  line-height: 1;\n}\n\n.instant-nav-waiting-description {\n  margin: 16px 0 0;\n  padding: 0 20px;\n  color: var(--color-gray-1000);\n  font-size: var(--size-14);\n  line-height: 21px;\n}\n\n.instant-nav-state-url-list {\n  display: flex;\n  flex-direction: column;\n  gap: 6px;\n  margin-top: 21px;\n}\n\n.instant-nav-url-row {\n  display: flex;\n  flex-direction: column;\n  margin-top: 21px;\n  min-width: 0;\n  font-size: var(--size-14);\n  line-height: 21px;\n  color: var(--color-gray-1000);\n}\n\n.instant-nav-state-url-list .instant-nav-url-row {\n  margin-top: 0;\n}\n\n.instant-nav-url-label {\n  flex: 0 0 auto;\n  text-transform: uppercase;\n  font-size: var(--size-10);\n  color: var(--color-gray-700);\n  font-weight: 600;\n  letter-spacing: 5%;\n  line-height: 12px;\n}\n\n.instant-nav-url-value {\n  min-width: 0;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  /* font-family: monospace; */\n  font-weight: 500;\n  font-size: var(--size-12);\n  /* line-height: 1; */\n}\n\n.instant-nav-debugger-paused {\n  display: flex;\n  align-items: center;\n  gap: 12px;\n  width: 100%;\n  height: 42px;\n  padding: 0 20px;\n  border: 0;\n  background: #fef4ab;\n  color: var(--color-gray-1000);\n  font-size: var(--size-13);\n  font-weight: 400;\n  line-height: 1;\n}\n@media (prefers-color-scheme: dark) {\n  :host(:not(.light)) {\n    .instant-nav-debugger-paused {\n      color: #171717;\n      background-color: #e7c755;\n    }\n  }\n}\n\n.instant-nav-debugger-paused-button {\n  margin-left: auto;\n  font-size: var(--size-12);\n  font-weight: 500;\n  color: var(--color-gray-1000);\n  padding: 7px 12px 7px 14px;\n  border-radius: 9999px;\n  background-color: white;\n  border: 1px solid var(--color-gray-alpha-300);\n  display: inline-flex;\n  gap: 8px;\n  align-items: center;\n}\n@media (prefers-color-scheme: dark) {\n  :host(:not(.light)) {\n    .instant-nav-debugger-paused-button {\n      background-color: #000000;\n    }\n    .instant-nav-debugger-paused-button:hover {\n      background-color: #2e2e2e;\n    }\n  }\n}\n\n.instant-nav-debugger-paused-button:hover {\n  background: #fafafa;\n}\n\n.instant-nav-debugger-paused-button:focus-visible {\n  outline: var(--focus-ring);\n  outline-offset: 2px;\n}\n\n.instant-nav-debugger-paused-button svg {\n  flex: 0 0 auto;\n}\n\n.instant-nav-debugger-paused-button span {\n  flex: 1;\n  text-align: left;\n}\n\n.instant-nav-pause-control {\n  display: flex;\n  align-items: center;\n  gap: 16px;\n  padding: 18px 20px;\n  border-top: 1px solid var(--color-gray-400);\n  margin-top: -1px;\n}\n\n.instant-nav-pause-copy {\n  flex: 1;\n  min-width: 0;\n}\n\n.instant-nav-pause-copy label {\n  margin: 0;\n  color: var(--color-gray-1000);\n  font-size: var(--size-14);\n  font-weight: 500;\n  line-height: 21px;\n}\n\n.instant-nav-pause-copy p {\n  margin: 0px;\n  color: var(--color-gray-900);\n  font-size: var(--size-14);\n  line-height: 21px;\n}\n\n.instant-nav-pause-toggle {\n  position: relative;\n  flex: 0 0 auto;\n  width: 36px;\n  height: 20px;\n  padding: 0;\n  border: 0;\n  border-radius: 9999px;\n  background: var(--color-gray-300);\n  box-shadow: inset 0 0 0 1px var(--color-gray-alpha-300);\n  cursor: pointer;\n  transition:\n    background-color 150ms var(--timing-swift),\n    box-shadow 150ms var(--timing-swift);\n}\n\n.instant-nav-pause-toggle[aria-checked='true'] {\n  background: var(--color-blue-700);\n  box-shadow: inset 0 0 0 1px var(--color-blue-700);\n}\n\n.instant-nav-pause-toggle:focus-visible {\n  outline: var(--focus-ring);\n  outline-offset: 2px;\n}\n\n.instant-nav-pause-toggle-thumb {\n  position: absolute;\n  top: 2px;\n  left: 2px;\n  width: 16px;\n  height: 16px;\n  border-radius: 50%;\n  background: var(--color-background-100);\n  box-shadow: 0 1px 2px var(--color-gray-alpha-400);\n  transition: transform 150ms var(--timing-swift);\n}\n\n.instant-nav-pause-toggle[aria-checked='true'] .instant-nav-pause-toggle-thumb {\n  transform: translateX(16px);\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.segment-boundary-trigger {\n  display: flex;\n  align-items: center;\n  gap: 4px;\n  padding: 4px 6px;\n  line-height: 16px;\n  font-weight: 500;\n  color: var(--color-gray-1000);\n  border-radius: 999px;\n  border: none;\n  font-size: var(--size-12);\n  cursor: pointer;\n  transition: background-color 0.15s ease;\n}\n\n.segment-boundary-trigger-text {\n  font-size: var(--size-12);\n  font-weight: 500;\n  user-select: none;\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n}\n\n.segment-boundary-trigger-text .plus-icon {\n  transition: transform 0.25s ease;\n}\n\n.segment-boundary-trigger-text:hover .plus-icon {\n  color: var(--color-gray-800);\n}\n\n.segment-boundary-trigger svg {\n  width: 14px;\n  height: 14px;\n  flex-shrink: 0;\n  vertical-align: middle;\n}\n\n.segment-boundary-trigger:hover svg {\n  color: var(--color-gray-700);\n}\n\n.segment-boundary-trigger[disabled] svg,\n.segment-boundary-trigger[disabled]:hover svg {\n  color: var(--color-gray-400);\n  cursor: not-allowed;\n}\n\n.segment-boundary-dropdown {\n  padding: 8px;\n  background: var(--color-background-100);\n  border: 1px solid var(--color-gray-400);\n  border-radius: 16px;\n  min-width: 120px;\n  user-select: none;\n  cursor: default;\n  box-shadow: 0px 4px 8px -4px\n    color-mix(in srgb, var(--color-gray-900) 4%, transparent);\n}\n\n.segment-boundary-dropdown-positioner {\n  z-index: var(--top-z-index);\n}\n\n.segment-boundary-dropdown-item {\n  display: flex;\n  align-items: center;\n  padding: 8px;\n  line-height: 20px;\n  font-size: 14px;\n  border-radius: 6px;\n  color: var(--color-gray-1000);\n  cursor: pointer;\n  min-width: 220px;\n  border: none;\n  background: none;\n  width: 100%;\n}\n\n.segment-boundary-dropdown-item[data-disabled] {\n  color: var(--color-gray-400);\n  cursor: not-allowed;\n}\n\n.segment-boundary-dropdown-item svg {\n  margin-right: 12px;\n  color: currentColor;\n}\n\n.segment-boundary-dropdown-item:hover {\n  background: var(--color-gray-200);\n}\n\n.segment-boundary-dropdown-item:first-child {\n  border-top-left-radius: 4px;\n  border-top-right-radius: 4px;\n}\n\n.segment-boundary-dropdown-item:last-child {\n  border-bottom-left-radius: 4px;\n  border-bottom-right-radius: 4px;\n}\n\n.segment-boundary-group-label {\n  padding: 8px;\n  font-size: 13px;\n  line-height: 16px;\n  font-weight: 400;\n  color: var(--color-gray-900);\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.segment-explorer-content {\n  font-size: var(--size-14);\n  padding: 0 8px;\n  width: 100%;\n  height: 100%;\n}\n\n.segment-explorer-page-route-bar {\n  display: flex;\n  align-items: center;\n  padding: 14px 16px;\n  background-color: var(--color-background-200);\n  gap: 12px;\n}\n\n.segment-explorer-page-route-bar-path {\n  font-size: var(--size-14);\n  font-weight: 500;\n  color: var(--color-gray-1000);\n  font-family: var(--font-mono);\n  white-space: nowrap;\n  line-height: 20px;\n}\n\n.segment-explorer-item {\n  margin: 4px 0;\n  border-radius: 6px;\n}\n\n.segment-explorer-item:nth-child(even) {\n  background-color: var(--color-background-200);\n}\n.segment-explorer-item-row {\n  display: flex;\n  flex-direction: column;\n  padding-top: 10px;\n  padding-bottom: 10px;\n  padding-right: 4px;\n}\n.segment-explorer-item-row-main {\n  display: flex;\n  align-items: center;\n  white-space: pre;\n  color: var(--color-gray-1000);\n}\n\n.segment-explorer-children--intended {\n  padding-left: 16px;\n}\n\n.segment-explorer-filename {\n  display: inline-flex;\n  width: 100%;\n  align-items: center;\n}\n\n.segment-explorer-filename select {\n  margin-left: auto;\n}\n.segment-explorer-filename--path {\n  margin-right: 8px;\n}\n.segment-explorer-filename--path small {\n  display: inline-block;\n  width: 0;\n  opacity: 0;\n}\n.segment-explorer-filename--name {\n  color: var(--color-gray-800);\n}\n\n.segment-explorer-files {\n  display: inline-flex;\n  gap: 8px;\n  margin-left: auto;\n}\n\n.segment-explorer-files + .segment-boundary-trigger {\n  margin-left: 8px;\n}\n\n.segment-explorer-file-label {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  padding: 0 6px;\n  height: 20px;\n  border-radius: 16px;\n  line-height: 16px;\n  font-size: var(--size-12);\n  font-weight: 500;\n  background-color: var(--color-gray-300);\n  color: var(--color-gray-1000);\n  cursor: pointer;\n  text-align: center;\n}\n\n.segment-explorer-file-label:focus-visible {\n  outline: var(--focus-ring);\n  outline-offset: 2px;\n}\n.segment-explorer-file-label-text {\n  display: inline-flex;\n  align-items: center;\n}\n\n.segment-explorer-file-label--overridden {\n  background-color: var(--color-amber-300);\n  color: var(--color-amber-900);\n}\n\n.segment-explorer-file-label .code-icon {\n  opacity: 0;\n  margin-left: 0;\n  width: 0;\n  transition: all 0.15s ease-in-out;\n}\n.segment-explorer-file-label:hover .code-icon {\n  opacity: 1;\n  width: 12px;\n  margin-left: 4px;\n}\n\n.segment-explorer-file-label:hover {\n  filter: brightness(0.95);\n}\n\n.segment-explorer-file-label--builtin {\n  background-color: transparent;\n  color: var(--color-gray-900);\n  border: 1px dashed var(--color-gray-500);\n  height: 24px;\n}\n.segment-explorer-file-label--builtin svg {\n  margin-left: 4px;\n  margin-right: -4px;\n}\n\n/* Footer styles */\n.segment-explorer-footer {\n  padding: 8px;\n  border-top: 1px solid var(--color-gray-400);\n  user-select: none;\n}\n\n.segment-explorer-footer-button {\n  display: flex;\n  align-items: center;\n  justify-content: center;\n  gap: 8px;\n  width: 100%;\n  padding: 6px;\n  background: var(--color-background-100);\n  border: 1px solid var(--color-gray-400);\n  border-radius: 6px;\n  color: var(--color-gray-1000);\n  font-size: var(--size-14);\n  font-weight: 500;\n  cursor: pointer;\n  transition: background-color 0.15s ease;\n}\n\n.segment-explorer-footer-button:hover:not(:disabled) {\n  background: var(--color-gray-200);\n}\n\n.segment-explorer-footer-button--disabled {\n  cursor: not-allowed;\n}\n\n.segment-explorer-footer-text {\n  text-align: center;\n}\n\n.segment-explorer-footer-badge {\n  display: inline-flex;\n  align-items: center;\n  justify-content: center;\n  min-width: 20px;\n  height: 20px;\n  padding: 0 6px;\n  background: var(--color-amber-300);\n  color: var(--color-amber-900);\n  border-radius: 10px;\n  font-size: var(--size-12);\n  font-weight: 600;\n  line-height: 1;\n}\n\n.segment-explorer-file-label-tooltip--sm {\n  white-space: nowrap;\n}\n\n.segment-explorer-file-label-tooltip--lg {\n  min-width: 200px;\n}\n\n.segment-explorer-suggestions {\n  display: inline-flex;\n  gap: 8px;\n}\n\n.segment-explorer-suggestions-tooltip {\n  width: 200px;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.request-insights-panel {\n  display: grid;\n  grid-template-columns: minmax(210px, 320px) minmax(420px, 1fr);\n  height: 100%;\n  min-height: 0;\n  color: var(--color-gray-1000);\n}\n\n.request-insights-empty {\n  padding: 16px 20px;\n  color: var(--color-gray-900);\n  font-size: var(--size-14);\n}\n\n.request-insights-list-empty {\n  padding: 16px 20px;\n  color: var(--color-gray-900);\n  font-size: var(--size-12);\n  line-height: 1.5;\n}\n\n.request-insights-list {\n  border-right: 1px solid var(--color-gray-400);\n  overflow: auto;\n  min-width: 0;\n}\n\n.request-insights-list-toolbar {\n  position: sticky;\n  top: 0;\n  z-index: 1;\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 8px;\n  min-height: 36px;\n  padding: 4px 10px;\n  border-bottom: 1px solid var(--color-gray-400);\n  background: var(--color-background-100);\n  font-size: var(--size-12);\n}\n\n.request-insights-settings {\n  position: relative;\n  display: inline-flex;\n  align-items: center;\n  gap: 6px;\n}\n\n.request-insights-settings-dot {\n  display: inline-block;\n  width: 6px;\n  height: 6px;\n  border-radius: 999px;\n  background: var(--color-red-800);\n}\n\n.request-insights-settings-trigger {\n  display: inline-flex;\n  width: 24px;\n  height: 24px;\n  align-items: center;\n  justify-content: center;\n  border: 0;\n  border-radius: 4px;\n  background: transparent;\n  color: var(--color-gray-900);\n  cursor: pointer;\n}\n\n.request-insights-settings-trigger:hover,\n.request-insights-settings-trigger[aria-expanded='true'] {\n  background: var(--color-gray-300);\n  color: var(--color-gray-1000);\n}\n\n.request-insights-settings-positioner {\n  z-index: var(--top-z-index);\n}\n\n.request-insights-settings-menu {\n  min-width: 160px;\n  border: 1px solid var(--color-gray-400);\n  border-radius: 8px;\n  background: var(--color-background-100);\n  box-shadow: 0px 4px 8px -4px\n    color-mix(in srgb, var(--color-gray-900) 4%, transparent);\n  padding: 4px;\n  user-select: none;\n}\n\n.request-insights-settings-item {\n  display: flex;\n  align-items: center;\n  gap: 6px;\n  border-radius: 6px;\n  padding: 6px 8px;\n  cursor: pointer;\n  font-size: var(--size-12);\n  color: var(--color-gray-1000);\n}\n\n.request-insights-settings-item[data-highlighted] {\n  background: var(--color-gray-200);\n}\n\n.request-insights-settings-checkbox {\n  display: inline-flex;\n  width: 14px;\n  height: 14px;\n  flex-shrink: 0;\n  align-items: center;\n  justify-content: center;\n  border: 1px solid var(--color-gray-500);\n  border-radius: 4px;\n  background: var(--color-background-100);\n  color: var(--color-background-100);\n}\n\n.request-insights-settings-checkbox[data-checked] {\n  border-color: var(--color-gray-1000);\n  background: var(--color-gray-1000);\n}\n\n.request-insights-row {\n  display: grid;\n  grid-template-columns: 8px minmax(0, 1fr) auto;\n  grid-template-rows: auto auto;\n  align-items: center;\n  column-gap: 8px;\n  row-gap: 2px;\n  width: 100%;\n  min-height: 44px;\n  padding: 7px 10px;\n  border: 0;\n  border-bottom: 1px solid var(--color-gray-400);\n  background: transparent;\n  color: inherit;\n  cursor: pointer;\n  text-align: left;\n}\n\n.request-insights-row:hover,\n.request-insights-row[data-selected='true'] {\n  background: var(--color-gray-100);\n}\n\n.request-insights-row[data-selected='true'] {\n  box-shadow: inset 2px 0 0 var(--color-blue-800);\n}\n\n.request-insights-status {\n  grid-row: 1 / span 2;\n  width: 7px;\n  height: 7px;\n  border-radius: 999px;\n  background: var(--color-gray-700);\n}\n\n.request-insights-status[data-status='ok'] {\n  background: var(--color-green-800);\n}\n\n.request-insights-status[data-status='error'] {\n  background: var(--color-red-800);\n}\n\n.request-insights-route {\n  display: flex;\n  align-items: center;\n  gap: 6px;\n  min-width: 0;\n  font-size: var(--size-13);\n  font-weight: 500;\n}\n\n.request-insights-route-label {\n  min-width: 0;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.request-insights-row[data-internal='true'] .request-insights-route-label {\n  color: var(--color-gray-900);\n  font-weight: 400;\n}\n\n.request-insights-row[data-nested='true'] .request-insights-route {\n  padding-left: 18px;\n}\n\n.request-insights-nested-arrow {\n  flex-shrink: 0;\n  color: var(--color-gray-700);\n}\n\n.request-insights-internal-badge {\n  flex-shrink: 0;\n  margin-right: 6px;\n  border: 1px solid var(--color-gray-500);\n  border-radius: 999px;\n  padding: 1px 6px;\n  color: var(--color-gray-800);\n  font-size: var(--size-10);\n  font-weight: 500;\n  letter-spacing: 0.02em;\n  text-transform: uppercase;\n}\n\n.request-insights-page-load {\n  flex-shrink: 0;\n  border-radius: 999px;\n  padding: 1px 5px;\n  background: var(--color-blue-100);\n  color: var(--color-blue-900);\n  font-size: var(--size-10);\n  font-weight: 600;\n  line-height: 16px;\n  white-space: nowrap;\n}\n\n.request-insights-item-context {\n  min-width: 0;\n  overflow: hidden;\n  color: var(--color-gray-900);\n  font-size: var(--size-11);\n  font-weight: 400;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.request-insights-duration,\n.request-insights-meta {\n  color: var(--color-gray-900);\n  font-size: var(--size-12);\n  white-space: nowrap;\n}\n\n.request-insights-duration {\n  justify-self: end;\n  color: var(--color-gray-1000);\n  font-family: var(--font-mono);\n  text-align: right;\n}\n\n.request-insights-fetch-summary {\n  justify-self: end;\n  text-align: right;\n}\n\n.request-insights-details {\n  display: flex;\n  flex-direction: column;\n  min-width: 0;\n  min-height: 0;\n  overflow: auto;\n}\n\n.request-insights-summary {\n  display: flex;\n  justify-content: space-between;\n  gap: 16px;\n  padding: 12px 16px;\n  border-bottom: 1px solid var(--color-gray-400);\n}\n\n.request-insights-heading {\n  min-width: 0;\n}\n\n.request-insights-title-row {\n  display: flex;\n  align-items: center;\n  gap: 8px;\n  min-width: 0;\n}\n\n.request-insights-title {\n  min-width: 0;\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n  font-size: var(--size-15);\n  font-weight: 600;\n}\n\n.request-insights-copy {\n  flex-shrink: 0;\n}\n\n.request-insights-total {\n  flex-shrink: 0;\n  color: var(--color-gray-1000);\n  font-family: var(--font-mono);\n  font-size: var(--size-13);\n}\n\n.request-insights-overview {\n  display: flex;\n  flex-wrap: wrap;\n  gap: 6px;\n  padding: 8px 16px;\n  border-bottom: 1px solid var(--color-gray-400);\n}\n\n.request-insights-overview span {\n  min-width: 0;\n  border: 1px solid var(--color-gray-400);\n  border-radius: 4px;\n  padding: 2px 6px;\n  color: var(--color-gray-900);\n  font-size: var(--size-12);\n  white-space: nowrap;\n}\n\n.request-insights-error {\n  padding: 8px 16px;\n  border-bottom: 1px solid var(--color-gray-400);\n  color: var(--color-red-900);\n  font-size: var(--size-13);\n}\n\n.request-insights-diagnosis {\n  padding: 10px 16px;\n  border-bottom: 1px solid var(--color-gray-400);\n  color: var(--color-gray-1000);\n  font-size: var(--size-13);\n}\n\n.request-insights-section {\n  padding: 10px 16px;\n  border-bottom: 1px solid var(--color-gray-400);\n}\n\n.request-insights-section-heading {\n  display: flex;\n  align-items: center;\n  justify-content: space-between;\n  gap: 12px;\n  margin-bottom: 8px;\n}\n\n.request-insights-section-title {\n  margin-bottom: 8px;\n  color: var(--color-gray-900);\n  font-size: var(--size-12);\n  font-weight: 600;\n  text-transform: uppercase;\n}\n\n.request-insights-section-heading .request-insights-section-title {\n  margin-bottom: 0;\n}\n\n.request-insights-section-note {\n  color: var(--color-gray-800);\n  font-size: var(--size-11);\n}\n\n.request-insights-muted {\n  color: var(--color-gray-900);\n  font-size: var(--size-13);\n}\n\n.request-insights-trace-viewport {\n  overflow-x: auto;\n}\n\n.request-insights-trace {\n  min-width: 560px;\n}\n\n.request-insights-trace-header,\n.request-insights-span-row {\n  display: grid;\n  grid-template-columns: minmax(180px, 320px) minmax(240px, 1fr) 64px;\n  align-items: center;\n  gap: 10px;\n}\n\n.request-insights-trace-header {\n  min-height: 24px;\n  border-bottom: 1px solid var(--color-gray-400);\n  color: var(--color-gray-800);\n  font-size: var(--size-11);\n  font-weight: 600;\n  text-transform: uppercase;\n}\n\n.request-insights-trace-axis {\n  position: relative;\n  align-self: stretch;\n  font-family: var(--font-mono);\n  font-weight: 400;\n  text-transform: none;\n}\n\n.request-insights-trace-tick {\n  position: absolute;\n  top: 3px;\n  transform: translateX(-50%);\n  white-space: nowrap;\n}\n\n.request-insights-trace-tick::after {\n  position: absolute;\n  top: 14px;\n  left: 50%;\n  width: 1px;\n  height: 4px;\n  background: var(--color-gray-500);\n  content: '';\n}\n\n.request-insights-trace-tick[data-edge='start'] {\n  transform: none;\n}\n\n.request-insights-trace-tick[data-edge='start']::after {\n  left: 0;\n}\n\n.request-insights-trace-tick[data-edge='end'] {\n  transform: translateX(-100%);\n}\n\n.request-insights-trace-tick[data-edge='end']::after {\n  right: 0;\n  left: auto;\n}\n\n.request-insights-trace-duration-heading {\n  text-align: right;\n}\n\n.request-insights-trace-rows {\n  display: flex;\n  flex-direction: column;\n}\n\n.request-insights-span-row {\n  min-height: 28px;\n  border-bottom: 1px solid var(--color-gray-300);\n}\n\n.request-insights-span-row:last-child {\n  border-bottom: 0;\n}\n\n.request-insights-span-name {\n  min-width: 0;\n  overflow: hidden;\n  color: var(--color-gray-900);\n  font-size: var(--size-12);\n}\n\n.request-insights-span-label {\n  display: flex;\n  align-items: center;\n  gap: 6px;\n  min-width: 0;\n}\n\n.request-insights-span-label > span:last-child,\n.request-insights-fetch-url > span:first-child {\n  overflow: hidden;\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.request-insights-span-marker {\n  width: 6px;\n  height: 6px;\n  flex: 0 0 auto;\n  border-radius: 999px;\n  background: var(--color-blue-800);\n}\n\n.request-insights-span-marker[data-kind='fetch'] {\n  background: var(--color-purple-700);\n}\n\n.request-insights-span-row .request-insights-span-marker[data-status='error'] {\n  background: var(--color-red-800);\n}\n\n.request-insights-fetch-host,\n.request-insights-cache-reason {\n  min-width: 0;\n  overflow: hidden;\n  color: var(--color-gray-800);\n  text-overflow: ellipsis;\n  white-space: nowrap;\n}\n\n.request-insights-span-duration {\n  color: var(--color-gray-900);\n  font-family: var(--font-mono);\n  font-size: var(--size-12);\n  text-align: right;\n  white-space: nowrap;\n}\n\n.request-insights-span-track {\n  position: relative;\n  height: 8px;\n  border-radius: 999px;\n}\n\n.request-insights-span-bar {\n  position: absolute;\n  top: 0;\n  bottom: 0;\n  min-width: 2px;\n  border-radius: 999px;\n  background: var(--color-blue-800);\n}\n\n.request-insights-span-row[data-kind='fetch'] .request-insights-span-bar {\n  background: var(--color-purple-700);\n}\n\n.request-insights-span-row .request-insights-span-bar[data-status='error'] {\n  background: var(--color-red-800);\n}\n\n.request-insights-fetch-table {\n  display: flex;\n  flex-direction: column;\n  border-top: 1px solid var(--color-gray-400);\n}\n\n.request-insights-fetch {\n  display: grid;\n  grid-template-columns: 46px minmax(0, 1fr) 58px 42px 58px minmax(92px, 160px);\n  gap: 8px;\n  min-height: 28px;\n  align-items: center;\n  border-bottom: 1px solid var(--color-gray-400);\n  color: var(--color-gray-900);\n  font-family: var(--font-mono);\n  font-size: var(--size-12);\n}\n\n.request-insights-fetch-header {\n  min-height: 24px;\n  color: var(--color-gray-800);\n  font-family: inherit;\n  font-size: var(--size-11);\n  font-weight: 600;\n  text-transform: uppercase;\n}\n\n.request-insights-method {\n  color: var(--color-gray-1000);\n}\n\n.request-insights-fetch-url {\n  display: flex;\n  min-width: 0;\n  overflow: hidden;\n  gap: 8px;\n}\n\n@media (max-width: 900px) {\n  .request-insights-summary {\n    align-items: flex-start;\n  }\n\n  .request-insights-title-row {\n    flex-wrap: wrap;\n  }\n}\n\n@media (max-width: 700px) {\n  .request-insights-panel {\n    grid-template-columns: 1fr;\n  }\n\n  .request-insights-list {\n    max-height: 180px;\n    border-right: 0;\n    border-bottom: 1px solid var(--color-gray-400);\n  }\n\n  .request-insights-fetch {\n    grid-template-columns: 44px minmax(0, 1fr) 56px;\n  }\n\n  .request-insights-fetch > span:nth-child(n + 4) {\n    display: none;\n  }\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.nextjs-toast {\n  position: fixed;\n  z-index: var(--top-z-index);\n  max-width: 420px;\n  box-shadow: 0px 16px 32px rgba(0, 0, 0, 0.25);\n}\n\n.nextjs-toast-errors-parent {\n  padding: 16px;\n  border-radius: var(--rounded-4xl);\n  font-weight: 500;\n  color: var(--color-ansi-bright-white);\n  background-color: var(--color-ansi-red);\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `.tooltip-wrapper {\n  position: relative;\n  display: inline-block;\n  line-height: 1;\n}\n\n.tooltip {\n  position: relative;\n  padding: 6px 12px;\n  border-radius: 8px;\n  font-size: 14px;\n  line-height: 1.4;\n  pointer-events: none;\n  color: var(--color-gray-100);\n  background-color: var(--color-gray-1000);\n}\n\n.tooltip-arrow {\n  position: absolute;\n  width: 0;\n  height: 0;\n  border-style: solid;\n  border-width: var(--arrow-size, 6px);\n  border-color: transparent;\n}\n\n.tooltip-arrow--top {\n  border-width: var(--arrow-size, 6px) var(--arrow-size, 6px) 0\n    var(--arrow-size, 6px);\n  border-top-color: var(--color-gray-1000);\n  bottom: 0;\n  transform: translateY(100%);\n}\n\n.tooltip-arrow--bottom {\n  border-width: 0 var(--arrow-size, 6px) var(--arrow-size, 6px)\n    var(--arrow-size, 6px);\n  border-bottom-color: var(--color-gray-1000);\n  top: 0;\n  transform: translateY(-100%);\n}\n\n.tooltip-arrow--left {\n  border-width: var(--arrow-size, 6px) 0 var(--arrow-size, 6px)\n    var(--arrow-size, 6px);\n  border-left-color: var(--color-gray-1000);\n  right: 0;\n  transform: translateX(100%);\n}\n\n.tooltip-arrow--right {\n  border-width: var(--arrow-size, 6px) var(--arrow-size, 6px)\n    var(--arrow-size, 6px) 0;\n  border-right-color: var(--color-gray-1000);\n  left: 0;\n  transform: translateX(-100%);\n}\n\n.tooltip-positioner {\n  z-index: var(--top-z-index);\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_0___ from \"-!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./normalize.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_1___ from \"-!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./styles/default-theme.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_2___ from \"-!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./styles/dark-theme.css\";\nimport ___CSS_LOADER_AT_RULE_IMPORT_3___ from \"-!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./styles/colors.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_0___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_1___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_2___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_AT_RULE_IMPORT_3___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* devtool global css variables */\n:host {\n  /* variables */\n  --top-z-index: 2147483647;\n}\n\n/* global styles */\n* {\n  -webkit-font-smoothing: antialiased;\n}\n\n/* global reset for draggable content scrollbar styles */\n[data-nextjs-scrollable-content],\n[data-nextjs-scrollable-content] * {\n  &::-webkit-scrollbar {\n    width: 6px;\n    height: 6px;\n    border-radius: 0 0 1rem 1rem;\n    margin-bottom: 1rem;\n  }\n\n  &::-webkit-scrollbar-button {\n    display: none;\n  }\n\n  &::-webkit-scrollbar-track {\n    border-radius: 0 0 1rem 1rem;\n    background-color: var(--color-background-100);\n  }\n\n  &::-webkit-scrollbar-thumb {\n    border-radius: 1rem;\n    background-color: var(--color-gray-500);\n  }\n}\n\n/* Place overflow: hidden on this so we can break out from [data-nextjs-dialog] */\n[data-nextjs-scrollable-content] {\n  overflow: hidden;\n  border-radius: inherit;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* Panel content padding styles */\n.panel-content {\n  padding: 16px;\n  padding-top: 8px;\n  overflow: hidden;\n}\n\n/* User preferences wrapper styles */\n.user-preferences-wrapper {\n  padding: 20px;\n  padding-top: 8px;\n  overflow: hidden;\n}\n\n/* Panel route base styles */\n.panel-route {\n  opacity: var(--panel-opacity);\n  transition: var(--panel-transition);\n}\n\n.turbopack-upgrade-link {\n  text-decoration: underline;\n  font-weight: 500;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host {\n  all: initial;\n\n  /* the direction property is not reset by 'all' */\n  direction: ltr;\n}\n\n/*!\n * Bootstrap Reboot v4.4.1 (https://getbootstrap.com/)\n * Copyright 2011-2019 The Bootstrap Authors\n * Copyright 2011-2019 Twitter, Inc.\n * Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)\n * Forked from Normalize.css, licensed MIT (https://github.com/necolas/normalize.css/blob/master/LICENSE.md)\n */\n*,\n*::before,\n*::after {\n  box-sizing: border-box;\n}\n\n:host {\n  font-family: sans-serif;\n  line-height: 1.15;\n  -webkit-text-size-adjust: 100%;\n  -webkit-tap-highlight-color: rgba(0, 0, 0, 0);\n}\n\narticle,\naside,\nfigcaption,\nfigure,\nfooter,\nheader,\nhgroup,\nmain,\nnav,\nsection {\n  display: block;\n}\n\n:host {\n  margin: 0;\n  font-family:\n    -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue',\n    Arial, 'Noto Sans', sans-serif, 'Apple Color Emoji', 'Segoe UI Emoji',\n    'Segoe UI Symbol', 'Noto Color Emoji';\n  font-size: 16px;\n  font-weight: 400;\n  line-height: 1.5;\n  color: var(--color-font);\n  text-align: left;\n}\n\n:host:not(button) {\n  background-color: #fff;\n}\n\n[tabindex='-1']:focus:not(:focus-visible) {\n  outline: 0 !important;\n}\n\nhr {\n  box-sizing: content-box;\n  height: 0;\n  overflow: visible;\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-top: 0;\n  margin-bottom: 8px;\n}\n\np {\n  margin-top: 0;\n  margin-bottom: 16px;\n}\n\nabbr[title],\nabbr[data-original-title] {\n  text-decoration: underline;\n  -webkit-text-decoration: underline dotted;\n  text-decoration: underline dotted;\n  cursor: help;\n  border-bottom: 0;\n  -webkit-text-decoration-skip-ink: none;\n  text-decoration-skip-ink: none;\n}\n\naddress {\n  margin-bottom: 16px;\n  font-style: normal;\n  line-height: inherit;\n}\n\nol,\nul,\ndl {\n  margin-top: 0;\n  margin-bottom: 16px;\n}\n\nol ol,\nul ul,\nol ul,\nul ol {\n  margin-bottom: 0;\n}\n\ndt {\n  font-weight: 700;\n}\n\ndd {\n  margin-bottom: 8px;\n  margin-left: 0;\n}\n\nblockquote {\n  margin: 0 0 16px;\n}\n\nb,\nstrong {\n  font-weight: bolder;\n}\n\nsmall {\n  font-size: 80%;\n}\n\nsub,\nsup {\n  position: relative;\n  font-size: 75%;\n  line-height: 0;\n  vertical-align: baseline;\n}\n\nsub {\n  bottom: -0.25em;\n}\n\nsup {\n  top: -0.5em;\n}\n\na {\n  color: #007bff;\n  text-decoration: none;\n  background-color: transparent;\n}\n\na:hover {\n  color: #0056b3;\n  text-decoration: underline;\n}\n\na:not([href]) {\n  color: inherit;\n  text-decoration: none;\n}\n\na:not([href]):hover {\n  color: inherit;\n  text-decoration: none;\n}\n\npre,\ncode,\nkbd,\nsamp {\n  font-family:\n    SFMono-Regular, Menlo, Monaco, Consolas, 'Liberation Mono', 'Courier New',\n    monospace;\n  font-size: 1em;\n}\n\npre {\n  margin-top: 0;\n  margin-bottom: 16px;\n  overflow: auto;\n}\n\nfigure {\n  margin: 0 0 16px;\n}\n\nimg {\n  vertical-align: middle;\n  border-style: none;\n}\n\nsvg {\n  overflow: hidden;\n  vertical-align: middle;\n}\n\ntable {\n  border-collapse: collapse;\n}\n\ncaption {\n  padding-top: 12px;\n  padding-bottom: 12px;\n  color: #6c757d;\n  text-align: left;\n  caption-side: bottom;\n}\n\nth {\n  text-align: inherit;\n}\n\nlabel {\n  display: inline-block;\n  margin-bottom: 8px;\n}\n\nbutton {\n  border-radius: 0;\n  border: 0;\n  padding: 0;\n  margin: 0;\n  background: none;\n  appearance: none;\n  -webkit-appearance: none;\n}\n\nbutton:focus {\n  outline: 1px dotted;\n  outline: 5px auto -webkit-focus-ring-color;\n}\n\nbutton:focus:not(:focus-visible) {\n  outline: none;\n}\n\ninput,\nbutton,\nselect,\noptgroup,\ntextarea {\n  margin: 0;\n  font-family: inherit;\n  font-size: inherit;\n  line-height: inherit;\n}\n\nbutton,\ninput {\n  overflow: visible;\n}\n\nbutton,\nselect {\n  text-transform: none;\n}\n\nselect {\n  word-wrap: normal;\n}\n\nbutton,\n[type='button'],\n[type='reset'],\n[type='submit'] {\n  -webkit-appearance: button;\n}\n\nbutton:not(:disabled),\n[type='button']:not(:disabled),\n[type='reset']:not(:disabled),\n[type='submit']:not(:disabled) {\n  cursor: pointer;\n}\n\nbutton::-moz-focus-inner,\n[type='button']::-moz-focus-inner,\n[type='reset']::-moz-focus-inner,\n[type='submit']::-moz-focus-inner {\n  padding: 0;\n  border-style: none;\n}\n\ninput[type='radio'],\ninput[type='checkbox'] {\n  box-sizing: border-box;\n  padding: 0;\n}\n\ninput[type='date'],\ninput[type='time'],\ninput[type='datetime-local'],\ninput[type='month'] {\n  -webkit-appearance: listbox;\n}\n\ntextarea {\n  overflow: auto;\n  resize: vertical;\n}\n\nfieldset {\n  min-width: 0;\n  padding: 0;\n  margin: 0;\n  border: 0;\n}\n\nlegend {\n  display: block;\n  width: 100%;\n  max-width: 100%;\n  padding: 0;\n  margin-bottom: 8px;\n  font-size: 24px;\n  line-height: inherit;\n  color: inherit;\n  white-space: normal;\n}\n\nprogress {\n  vertical-align: baseline;\n}\n\n[type='number']::-webkit-inner-spin-button,\n[type='number']::-webkit-outer-spin-button {\n  height: auto;\n}\n\n[type='search'] {\n  outline-offset: -2px;\n  -webkit-appearance: none;\n}\n\n[type='search']::-webkit-search-decoration {\n  -webkit-appearance: none;\n}\n\n::-webkit-file-upload-button {\n  font: inherit;\n  -webkit-appearance: button;\n}\n\noutput {\n  display: inline-block;\n}\n\nsummary {\n  display: list-item;\n  cursor: pointer;\n}\n\ntemplate {\n  display: none;\n}\n\n[hidden] {\n  display: none !important;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `/* Panel container base styles with dynamic positioning and sizing */\n.dynamic-panel-container {\n  position: fixed;\n  z-index: 2147483646;\n  outline: none;\n  top: var(--panel-top, auto);\n  bottom: var(--panel-bottom, auto);\n  left: var(--panel-left, auto);\n  right: var(--panel-right, auto);\n  width: var(--panel-width);\n  height: var(--panel-height);\n  min-width: var(--panel-min-width);\n  min-height: var(--panel-min-height);\n  max-width: var(--panel-max-width);\n  max-height: var(--panel-max-height);\n}\n\n/* Panel content container styles */\n.panel-content-container {\n  position: relative;\n  width: 100%;\n  height: 100%;\n  border: 1px solid var(--color-gray-alpha-400);\n  border-radius: var(--rounded-xl);\n  background: var(--color-background-100);\n  display: flex;\n  flex-direction: column;\n}\n\n/* Draggable content area styles */\n.draggable-content {\n  flex: 1;\n  overflow: auto;\n  border-radius: inherit;\n  border-top-left-radius: 0;\n  border-top-right-radius: 0;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host {\n  /*\n   * CAUTION: THIS IS A WORKAROUND!\n   * The code frame renderer (next-code-frame) uses hardcoded ANSI colors that don't match\n   * our theme colors. We do a workaround mapping to change the ANSI color matching the theme.\n   *\n   * next-code-frame color scheme:\n   *   cyan (36m):    keywords (const, function, return, etc.)\n   *   yellow (33m):  capitalized identifiers (Component names, types)\n   *   magenta (35m): numbers, regex literals\n   *   green (32m):   strings\n   *   gray (90m):    comments, gutter\n   */\n  /* cyan: keyword */\n  --color-ansi-cyan: var(--color-syntax-keyword);\n  /* yellow: capitalized identifiers */\n  --color-ansi-yellow: var(--color-syntax-function);\n  /* magenta: number, regex */\n  --color-ansi-magenta: var(--color-syntax-keyword);\n  /* green: string */\n  --color-ansi-green: var(--color-syntax-string);\n  /* gray (bright black): comment, gutter */\n  --color-ansi-bright-black: var(--color-syntax-comment);\n\n  /* Ansi - Temporary */\n  --color-ansi-selection: var(--color-gray-alpha-300);\n  --color-ansi-bg: var(--color-background-200);\n  --color-ansi-fg: var(--color-gray-1000);\n\n  --color-ansi-white: var(--color-gray-700);\n  --color-ansi-black: var(--color-gray-200);\n  --color-ansi-blue: var(--color-blue-700);\n  --color-ansi-red: var(--color-red-700);\n  --color-ansi-bright-white: var(--color-gray-1000);\n  --color-ansi-bright-blue: var(--color-blue-800);\n  --color-ansi-bright-cyan: var(--color-blue-800);\n  --color-ansi-bright-green: var(--color-green-800);\n  --color-ansi-bright-magenta: var(--color-blue-800);\n  --color-ansi-bright-red: var(--color-red-800);\n  --color-ansi-bright-yellow: var(--color-amber-900);\n\n  /* Background Light */\n  --color-background-100: #ffffff;\n  --color-background-200: #fafafa;\n\n  /* Syntax Light */\n  --color-syntax-comment: #545454;\n  --color-syntax-constant: #171717;\n  --color-syntax-function: #0054ad;\n  --color-syntax-keyword: #a51850;\n  --color-syntax-link: #066056;\n  --color-syntax-parameter: #8f3e00;\n  --color-syntax-punctuation: #171717;\n  --color-syntax-string: #036157;\n  --color-syntax-string-expression: #066056;\n\n  /* Gray Scale Light */\n  --color-gray-100: #f2f2f2;\n  --color-gray-200: #ebebeb;\n  --color-gray-300: #e6e6e6;\n  --color-gray-400: #eaeaea;\n  --color-gray-500: #c9c9c9;\n  --color-gray-600: #a8a8a8;\n  --color-gray-700: #8f8f8f;\n  --color-gray-800: #7d7d7d;\n  --color-gray-900: #666666;\n  --color-gray-1000: #171717;\n\n  /* Gray Alpha Scale Light */\n  --color-gray-alpha-100: rgba(0, 0, 0, 0.05);\n  --color-gray-alpha-200: rgba(0, 0, 0, 0.081);\n  --color-gray-alpha-300: rgba(0, 0, 0, 0.1);\n  --color-gray-alpha-400: rgba(0, 0, 0, 0.08);\n  --color-gray-alpha-500: rgba(0, 0, 0, 0.21);\n  --color-gray-alpha-600: rgba(0, 0, 0, 0.34);\n  --color-gray-alpha-700: rgba(0, 0, 0, 0.44);\n  --color-gray-alpha-800: rgba(0, 0, 0, 0.51);\n  --color-gray-alpha-900: rgba(0, 0, 0, 0.605);\n  --color-gray-alpha-1000: rgba(0, 0, 0, 0.91);\n\n  /* Blue Scale Light */\n  --color-blue-100: #f0f7ff;\n  --color-blue-200: #edf6ff;\n  --color-blue-300: #e1f0ff;\n  --color-blue-400: #cde7ff;\n  --color-blue-500: #99ceff;\n  --color-blue-600: #52aeff;\n  --color-blue-700: #0070f3;\n  --color-blue-800: #0060d1;\n  --color-blue-900: #0067d6;\n  --color-blue-1000: #0025ad;\n\n  /* Purple Scale Light */\n  --color-purple-100: #f9f3fd;\n  --color-purple-200: #f8f2fd;\n  --color-purple-300: #f1ecfb;\n  --color-purple-400: #eadff7;\n  --color-purple-500: #d4bced;\n  --color-purple-600: #bd92e9;\n  --color-purple-700: #8250dc;\n  --color-purple-800: #6f47c4;\n  --color-purple-900: #6a2db5;\n  --color-purple-1000: #2e004d;\n\n  /* Red Scale Light */\n  --color-red-100: #fff0f0;\n  --color-red-200: #ffebeb;\n  --color-red-300: #ffe5e5;\n  --color-red-400: #fdd8d8;\n  --color-red-500: #f8baba;\n  --color-red-600: #f87274;\n  --color-red-700: #e5484d;\n  --color-red-800: #da3036;\n  --color-red-900: #ca2a30;\n  --color-red-1000: #381316;\n\n  /* Amber Scale Light */\n  --color-amber-100: #fff6e5;\n  --color-amber-200: #fff4d5;\n  --color-amber-300: #fef0cd;\n  --color-amber-400: #ffddbf;\n  --color-amber-500: #ffc96b;\n  --color-amber-600: #f5b047;\n  --color-amber-700: #ffb224;\n  --color-amber-800: #ff990a;\n  --color-amber-900: #a35200;\n  --color-amber-1000: #4e2009;\n\n  /* Green Scale Light */\n  --color-green-100: #effbef;\n  --color-green-200: #eafaea;\n  --color-green-300: #dcf6dc;\n  --color-green-400: #c8f1c9;\n  --color-green-500: #99e59f;\n  --color-green-600: #6cda76;\n  --color-green-700: #46a758;\n  --color-green-800: #388e4a;\n  --color-green-900: #297c3b;\n  --color-green-1000: #18311e;\n\n  /* Instant Guidance Cards */\n  --color-instant-border-blue: rgba(0, 112, 243, 0.4);\n  --color-instant-border-purple: rgba(130, 80, 220, 0.4);\n  --color-instant-border-red: rgba(229, 72, 77, 0.45);\n  --color-instant-border-amber: rgba(180, 110, 0, 0.6);\n  --color-instant-border-teal: rgba(0, 160, 140, 0.55);\n  --color-instant-text-purple: rgb(130, 80, 220);\n  --color-instant-text-amber: rgb(163, 82, 0);\n  --color-instant-text-teal: rgb(0, 130, 115);\n\n  /* Turbopack Light - Temporary */\n  --color-turbopack-text-red: #ff1e56;\n  --color-turbopack-text-blue: #0096ff;\n  --color-turbopack-border-red: #f0adbe;\n  --color-turbopack-border-blue: #adccea;\n  --color-turbopack-background-red: #fff7f9;\n  --color-turbopack-background-blue: #f6fbff;\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host(.dark) {\n  --color-font: white;\n  --color-backdrop: rgba(0, 0, 0, 0.8);\n  --color-border-shadow: rgba(255, 255, 255, 0.145);\n\n  --color-title-color: #fafafa;\n  --color-stack-notes: #a9a9a9;\n\n  /* Background Dark */\n  --color-background-100: #0a0a0a;\n  --color-background-200: #000000;\n\n  /* Syntax Dark */\n  --color-syntax-comment: #a0a0a0;\n  --color-syntax-constant: #ededed;\n  --color-syntax-function: #52a9ff;\n  --color-syntax-keyword: #f76e99;\n  --color-syntax-link: #0ac5b2;\n  --color-syntax-parameter: #f1a10d;\n  --color-syntax-punctuation: #ededed;\n  --color-syntax-string: #0ac5b2;\n  --color-syntax-string-expression: #0ac5b2;\n\n  /* Gray Scale Dark */\n  --color-gray-100: #1a1a1a;\n  --color-gray-200: #1f1f1f;\n  --color-gray-300: #292929;\n  --color-gray-400: #2e2e2e;\n  --color-gray-500: #454545;\n  --color-gray-600: #878787;\n  --color-gray-700: #8f8f8f;\n  --color-gray-800: #7d7d7d;\n  --color-gray-900: #a0a0a0;\n  --color-gray-1000: #ededed;\n\n  /* Gray Alpha Scale Dark */\n  --color-gray-alpha-100: rgba(255, 255, 255, 0.066);\n  --color-gray-alpha-200: rgba(255, 255, 255, 0.087);\n  --color-gray-alpha-300: rgba(255, 255, 255, 0.125);\n  --color-gray-alpha-400: rgba(255, 255, 255, 0.145);\n  --color-gray-alpha-500: rgba(255, 255, 255, 0.239);\n  --color-gray-alpha-600: rgba(255, 255, 255, 0.506);\n  --color-gray-alpha-700: rgba(255, 255, 255, 0.54);\n  --color-gray-alpha-800: rgba(255, 255, 255, 0.47);\n  --color-gray-alpha-900: rgba(255, 255, 255, 0.61);\n  --color-gray-alpha-1000: rgba(255, 255, 255, 0.923);\n\n  /* Blue Scale Dark */\n  --color-blue-100: #0f1b2d;\n  --color-blue-200: #10243e;\n  --color-blue-300: #0f3058;\n  --color-blue-400: #0d3868;\n  --color-blue-500: #0a4481;\n  --color-blue-600: #0091ff;\n  --color-blue-700: #0070f3;\n  --color-blue-800: #0060d1;\n  --color-blue-900: #52a9ff;\n  --color-blue-1000: #eaf6ff;\n\n  /* Purple Scale Dark */\n  --color-purple-100: #391c4a;\n  --color-purple-200: #422154;\n  --color-purple-300: #53306a;\n  --color-purple-400: #5f3a79;\n  --color-purple-500: #6d4790;\n  --color-purple-600: #8e63d2;\n  --color-purple-700: #8e63d2;\n  --color-purple-800: #7d53c4;\n  --color-purple-900: #c79bfb;\n  --color-purple-1000: #f7f0ff;\n\n  /* Red Scale Dark */\n  --color-red-100: #2a1314;\n  --color-red-200: #3d1719;\n  --color-red-300: #551a1e;\n  --color-red-400: #671e22;\n  --color-red-500: #822025;\n  --color-red-600: #e5484d;\n  --color-red-700: #e5484d;\n  --color-red-800: #da3036;\n  --color-red-900: #ff6369;\n  --color-red-1000: #ffecee;\n\n  /* Amber Scale Dark */\n  --color-amber-100: #271700;\n  --color-amber-200: #341c00;\n  --color-amber-300: #4a2900;\n  --color-amber-400: #573300;\n  --color-amber-500: #693f05;\n  --color-amber-600: #e79c13;\n  --color-amber-700: #ffb224;\n  --color-amber-800: #ff990a;\n  --color-amber-900: #f1a10d;\n  --color-amber-1000: #fef3dd;\n\n  /* Green Scale Dark */\n  --color-green-100: #0b2211;\n  --color-green-200: #0f2c17;\n  --color-green-300: #11351b;\n  --color-green-400: #0c461b;\n  --color-green-500: #126427;\n  --color-green-600: #1a9338;\n  --color-green-700: #46a758;\n  --color-green-800: #388e4a;\n  --color-green-900: #63c174;\n  --color-green-1000: #e5fbeb;\n\n  /* Instant Guidance Cards */\n  --color-instant-border-blue: rgba(82, 169, 255, 0.45);\n  --color-instant-border-purple: rgba(160, 120, 240, 0.45);\n  --color-instant-border-red: rgba(255, 99, 105, 0.4);\n  --color-instant-border-amber: rgba(231, 156, 19, 0.5);\n  --color-instant-border-teal: rgba(45, 212, 191, 0.5);\n  --color-instant-text-purple: rgb(160, 120, 240);\n  --color-instant-text-amber: rgb(241, 161, 13);\n  --color-instant-text-teal: rgb(45, 212, 191);\n\n  /* Turbopack Dark - Temporary */\n  --color-turbopack-text-red: #ff6d92;\n  --color-turbopack-text-blue: #45b2ff;\n  --color-turbopack-border-red: #6e293b;\n  --color-turbopack-border-blue: #284f80;\n  --color-turbopack-background-red: #250d12;\n  --color-turbopack-background-blue: #0a1723;\n}\n\n@media (prefers-color-scheme: dark) {\n  :host(:not(.light)) {\n    --color-font: white;\n    --color-backdrop: rgba(0, 0, 0, 0.8);\n    --color-border-shadow: rgba(255, 255, 255, 0.145);\n\n    --color-title-color: #fafafa;\n    --color-stack-notes: #a9a9a9;\n\n    /* Background Dark */\n    --color-background-100: #0a0a0a;\n    --color-background-200: #000000;\n\n    /* Syntax Dark */\n    --color-syntax-comment: #a0a0a0;\n    --color-syntax-constant: #ededed;\n    --color-syntax-function: #52a9ff;\n    --color-syntax-keyword: #f76e99;\n    --color-syntax-link: #0ac5b2;\n    --color-syntax-parameter: #f1a10d;\n    --color-syntax-punctuation: #ededed;\n    --color-syntax-string: #0ac5b2;\n    --color-syntax-string-expression: #0ac5b2;\n\n    /* Gray Scale Dark */\n    --color-gray-100: #1a1a1a;\n    --color-gray-200: #1f1f1f;\n    --color-gray-300: #292929;\n    --color-gray-400: #2e2e2e;\n    --color-gray-500: #454545;\n    --color-gray-600: #878787;\n    --color-gray-700: #8f8f8f;\n    --color-gray-800: #7d7d7d;\n    --color-gray-900: #a0a0a0;\n    --color-gray-1000: #ededed;\n\n    /* Gray Alpha Scale Dark */\n    --color-gray-alpha-100: rgba(255, 255, 255, 0.066);\n    --color-gray-alpha-200: rgba(255, 255, 255, 0.087);\n    --color-gray-alpha-300: rgba(255, 255, 255, 0.125);\n    --color-gray-alpha-400: rgba(255, 255, 255, 0.145);\n    --color-gray-alpha-500: rgba(255, 255, 255, 0.239);\n    --color-gray-alpha-600: rgba(255, 255, 255, 0.506);\n    --color-gray-alpha-700: rgba(255, 255, 255, 0.54);\n    --color-gray-alpha-800: rgba(255, 255, 255, 0.47);\n    --color-gray-alpha-900: rgba(255, 255, 255, 0.61);\n    --color-gray-alpha-1000: rgba(255, 255, 255, 0.923);\n\n    /* Blue Scale Dark */\n    --color-blue-100: #0f1b2d;\n    --color-blue-200: #10243e;\n    --color-blue-300: #0f3058;\n    --color-blue-400: #0d3868;\n    --color-blue-500: #0a4481;\n    --color-blue-600: #0091ff;\n    --color-blue-700: #0070f3;\n    --color-blue-800: #0060d1;\n    --color-blue-900: #52a9ff;\n    --color-blue-1000: #eaf6ff;\n\n    /* Purple Scale Dark */\n    --color-purple-100: #391c4a;\n    --color-purple-200: #422154;\n    --color-purple-300: #53306a;\n    --color-purple-400: #5f3a79;\n    --color-purple-500: #6d4790;\n    --color-purple-600: #8e63d2;\n    --color-purple-700: #8e63d2;\n    --color-purple-800: #7d53c4;\n    --color-purple-900: #c79bfb;\n    --color-purple-1000: #f7f0ff;\n\n    /* Red Scale Dark */\n    --color-red-100: #2a1314;\n    --color-red-200: #3d1719;\n    --color-red-300: #551a1e;\n    --color-red-400: #671e22;\n    --color-red-500: #822025;\n    --color-red-600: #e5484d;\n    --color-red-700: #e5484d;\n    --color-red-800: #da3036;\n    --color-red-900: #ff6369;\n    --color-red-1000: #ffecee;\n\n    /* Amber Scale Dark */\n    --color-amber-100: #271700;\n    --color-amber-200: #341c00;\n    --color-amber-300: #4a2900;\n    --color-amber-400: #573300;\n    --color-amber-500: #693f05;\n    --color-amber-600: #e79c13;\n    --color-amber-700: #ffb224;\n    --color-amber-800: #ff990a;\n    --color-amber-900: #f1a10d;\n    --color-amber-1000: #fef3dd;\n\n    /* Green Scale Dark */\n    --color-green-100: #0b2211;\n    --color-green-200: #0f2c17;\n    --color-green-300: #11351b;\n    --color-green-400: #0c461b;\n    --color-green-500: #126427;\n    --color-green-600: #1a9338;\n    --color-green-700: #46a758;\n    --color-green-800: #388e4a;\n    --color-green-900: #63c174;\n    --color-green-1000: #e5fbeb;\n\n    /* Instant Guidance Cards */\n    --color-instant-border-blue: rgba(82, 169, 255, 0.45);\n    --color-instant-border-purple: rgba(160, 120, 240, 0.45);\n    --color-instant-border-red: rgba(255, 99, 105, 0.4);\n    --color-instant-border-amber: rgba(231, 156, 19, 0.5);\n    --color-instant-border-teal: rgba(45, 212, 191, 0.5);\n    --color-instant-text-purple: rgb(160, 120, 240);\n    --color-instant-text-amber: rgb(241, 161, 13);\n    --color-instant-text-teal: rgb(45, 212, 191);\n\n    /* Turbopack Dark - Temporary */\n    --color-turbopack-text-red: #ff6d92;\n    --color-turbopack-text-blue: #45b2ff;\n    --color-turbopack-border-red: #6e293b;\n    --color-turbopack-border-blue: #284f80;\n    --color-turbopack-background-red: #250d12;\n    --color-turbopack-background-blue: #0a1723;\n  }\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/noSourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_NO_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, `:host {\n  /* \n   * Although the style applied to the shadow host is isolated,\n   * the element that attached the shadow host (i.e. \"nextjs-portal\")\n   * is still affected by the parent's style (e.g. \"body\"). This may\n   * occur style conflicts like \"display: flex\", with other children\n   * elements therefore give the shadow host an absolute position.\n   */\n  position: absolute;\n\n  --color-font: #757575;\n  --color-backdrop: rgba(250, 250, 250, 0.8);\n  --color-border-shadow: rgba(0, 0, 0, 0.145);\n\n  --color-title-color: #1f1f1f;\n  --color-stack-notes: #777;\n\n  --color-accents-1: #808080;\n  --color-accents-2: #222222;\n  --color-accents-3: #404040;\n\n  --font-stack-monospace:\n    '__nextjs-Geist Mono', 'Geist Mono', 'SFMono-Regular', Consolas,\n    'Liberation Mono', Menlo, Courier, monospace;\n  --font-stack-sans:\n    '__nextjs-Geist', 'Geist', -apple-system, 'Source Sans Pro', sans-serif;\n\n  font-family: var(--font-stack-sans);\n  font-variant-ligatures: none;\n\n  /* TODO: Remove replaced ones. */\n  --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);\n  --shadow: 0 1px 3px 0 rgb(0 0 0 / 0.1), 0 1px 2px -1px rgb(0 0 0 / 0.1);\n  --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1), 0 2px 4px -2px rgb(0 0 0 / 0.1);\n  --shadow-lg:\n    0 10px 15px -3px rgb(0 0 0 / 0.1), 0 4px 6px -4px rgb(0 0 0 / 0.1);\n  --shadow-xl:\n    0 20px 25px -5px rgb(0 0 0 / 0.1), 0 8px 10px -6px rgb(0 0 0 / 0.1);\n  --shadow-2xl: 0 25px 50px -12px rgb(0 0 0 / 0.25);\n  --shadow-inner: inset 0 2px 4px 0 rgb(0 0 0 / 0.05);\n  --shadow-none: 0 0 #0000;\n\n  --shadow-small: 0px 2px 2px rgba(0, 0, 0, 0.04);\n  --shadow-menu:\n    0px 1px 1px rgba(0, 0, 0, 0.02), 0px 4px 8px -4px rgba(0, 0, 0, 0.04),\n    0px 16px 24px -8px rgba(0, 0, 0, 0.06);\n\n  --focus-color: var(--color-blue-800);\n  --focus-ring: 2px solid var(--focus-color);\n\n  --timing-swift: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n  --timing-overlay: cubic-bezier(0.175, 0.885, 0.32, 1.1);\n  /* prettier-ignore */\n  --timing-bounce: linear(0 0%, 0.005871 1%, 0.022058 2%, 0.046612 3%, 0.077823 4%, 0.114199 5%, 0.154441 6%, 0.197431 7.000000000000001%, 0.242208 8%, 0.287959 9%, 0.333995 10%, 0.379743 11%, 0.424732 12%, 0.46858 13%, 0.510982 14.000000000000002%, 0.551702 15%, 0.590564 16%, 0.627445 17%, 0.662261 18%, 0.694971 19%, 0.725561 20%, 0.754047 21%, 0.780462 22%, 0.804861 23%, 0.82731 24%, 0.847888 25%, 0.866679 26%, 0.883775 27%, 0.899272 28.000000000000004%, 0.913267 28.999999999999996%, 0.925856 30%, 0.937137 31%, 0.947205 32%, 0.956153 33%, 0.96407 34%, 0.971043 35%, 0.977153 36%, 0.982479 37%, 0.987094 38%, 0.991066 39%, 0.994462 40%, 0.997339 41%, 0.999755 42%, 1.001761 43%, 1.003404 44%, 1.004727 45%, 1.00577 46%, 1.006569 47%, 1.007157 48%, 1.007563 49%, 1.007813 50%, 1.007931 51%, 1.007939 52%, 1.007855 53%, 1.007697 54%, 1.007477 55.00000000000001%, 1.00721 56.00000000000001%, 1.006907 56.99999999999999%, 1.006576 57.99999999999999%, 1.006228 59%, 1.005868 60%, 1.005503 61%, 1.005137 62%, 1.004776 63%, 1.004422 64%, 1.004078 65%, 1.003746 66%, 1.003429 67%, 1.003127 68%, 1.00284 69%, 1.002571 70%, 1.002318 71%, 1.002082 72%, 1.001863 73%, 1.00166 74%, 1.001473 75%, 1.001301 76%, 1.001143 77%, 1.001 78%, 1.000869 79%, 1.000752 80%, 1.000645 81%, 1.00055 82%, 1.000464 83%, 1.000388 84%, 1.000321 85%, 1.000261 86%, 1.000209 87%, 1.000163 88%, 1.000123 89%, 1.000088 90%);\n\n  --rounded-none: 0px;\n  --rounded-sm: 2px;\n  --rounded-md: 4px;\n  --rounded-md-2: 6px;\n  --rounded-lg: 8px;\n  --rounded-xl: 12px;\n  --rounded-2xl: 16px;\n  --rounded-3xl: 24px;\n  --rounded-4xl: 32px;\n  --rounded-full: 9999px;\n\n  /* \n    This value gets set from the Dev Tools preferences,\n    and we use the following --size-* variables to \n    scale the relevant elements.\n\n    The reason why we don't rely on rem values is because\n    if an app sets their root font size to something tiny, \n    it feels unexpected to have the app root size leak \n    into a Next.js surface.\n\n    https://github.com/vercel/next.js/discussions/76812\n  */\n  --nextjs-dev-tools-scale: 1;\n  --size-1: calc(1px / var(--nextjs-dev-tools-scale));\n  --size-2: calc(2px / var(--nextjs-dev-tools-scale));\n  --size-3: calc(3px / var(--nextjs-dev-tools-scale));\n  --size-4: calc(4px / var(--nextjs-dev-tools-scale));\n  --size-5: calc(5px / var(--nextjs-dev-tools-scale));\n  --size-6: calc(6px / var(--nextjs-dev-tools-scale));\n  --size-7: calc(7px / var(--nextjs-dev-tools-scale));\n  --size-8: calc(8px / var(--nextjs-dev-tools-scale));\n  --size-9: calc(9px / var(--nextjs-dev-tools-scale));\n  --size-10: calc(10px / var(--nextjs-dev-tools-scale));\n  --size-11: calc(11px / var(--nextjs-dev-tools-scale));\n  --size-12: calc(12px / var(--nextjs-dev-tools-scale));\n  --size-13: calc(13px / var(--nextjs-dev-tools-scale));\n  --size-14: calc(14px / var(--nextjs-dev-tools-scale));\n  --size-15: calc(15px / var(--nextjs-dev-tools-scale));\n  --size-16: calc(16px / var(--nextjs-dev-tools-scale));\n  --size-17: calc(17px / var(--nextjs-dev-tools-scale));\n  --size-18: calc(18px / var(--nextjs-dev-tools-scale));\n  --size-20: calc(20px / var(--nextjs-dev-tools-scale));\n  --size-22: calc(22px / var(--nextjs-dev-tools-scale));\n  --size-24: calc(24px / var(--nextjs-dev-tools-scale));\n  --size-26: calc(26px / var(--nextjs-dev-tools-scale));\n  --size-28: calc(28px / var(--nextjs-dev-tools-scale));\n  --size-30: calc(30px / var(--nextjs-dev-tools-scale));\n  --size-32: calc(32px / var(--nextjs-dev-tools-scale));\n  --size-34: calc(34px / var(--nextjs-dev-tools-scale));\n  --size-36: calc(36px / var(--nextjs-dev-tools-scale));\n  --size-38: calc(38px / var(--nextjs-dev-tools-scale));\n  --size-40: calc(40px / var(--nextjs-dev-tools-scale));\n  --size-42: calc(42px / var(--nextjs-dev-tools-scale));\n  --size-44: calc(44px / var(--nextjs-dev-tools-scale));\n  --size-46: calc(46px / var(--nextjs-dev-tools-scale));\n  --size-48: calc(48px / var(--nextjs-dev-tools-scale));\n\n  @media print {\n    display: none;\n  }\n}\n\nh1,\nh2,\nh3,\nh4,\nh5,\nh6 {\n  margin-bottom: 8px;\n  font-weight: 500;\n  line-height: 1.5;\n}\n\na {\n  color: var(--color-blue-900);\n  &:hover {\n    color: var(--color-blue-900);\n  }\n  &:focus-visible {\n    outline: var(--focus-ring);\n  }\n}\n`, \"\"]);\n// Exports\nexport default ___CSS_LOADER_EXPORT___;\n","\"use strict\";\n\n/*\n  MIT License http://www.opensource.org/licenses/mit-license.php\n  Author Tobias Koppers @sokra\n*/\nmodule.exports = function (cssWithMappingToString) {\n  var list = [];\n\n  // return the list of modules as css string\n  list.toString = function toString() {\n    return this.map(function (item) {\n      var content = \"\";\n      var needLayer = typeof item[5] !== \"undefined\";\n      if (item[4]) {\n        content += \"@supports (\".concat(item[4], \") {\");\n      }\n      if (item[2]) {\n        content += \"@media \".concat(item[2], \" {\");\n      }\n      if (needLayer) {\n        content += \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\");\n      }\n      content += cssWithMappingToString(item);\n      if (needLayer) {\n        content += \"}\";\n      }\n      if (item[2]) {\n        content += \"}\";\n      }\n      if (item[4]) {\n        content += \"}\";\n      }\n      return content;\n    }).join(\"\");\n  };\n\n  // import a list of modules into the list\n  list.i = function i(modules, media, dedupe, supports, layer) {\n    if (typeof modules === \"string\") {\n      modules = [[null, modules, undefined]];\n    }\n    var alreadyImportedModules = {};\n    if (dedupe) {\n      for (var k = 0; k < this.length; k++) {\n        var id = this[k][0];\n        if (id != null) {\n          alreadyImportedModules[id] = true;\n        }\n      }\n    }\n    for (var _k = 0; _k < modules.length; _k++) {\n      var item = [].concat(modules[_k]);\n      if (dedupe && alreadyImportedModules[item[0]]) {\n        continue;\n      }\n      if (typeof layer !== \"undefined\") {\n        if (typeof item[5] === \"undefined\") {\n          item[5] = layer;\n        } else {\n          item[1] = \"@layer\".concat(item[5].length > 0 ? \" \".concat(item[5]) : \"\", \" {\").concat(item[1], \"}\");\n          item[5] = layer;\n        }\n      }\n      if (media) {\n        if (!item[2]) {\n          item[2] = media;\n        } else {\n          item[1] = \"@media \".concat(item[2], \" {\").concat(item[1], \"}\");\n          item[2] = media;\n        }\n      }\n      if (supports) {\n        if (!item[4]) {\n          item[4] = \"\".concat(supports);\n        } else {\n          item[1] = \"@supports (\".concat(item[4], \") {\").concat(item[1], \"}\");\n          item[4] = supports;\n        }\n      }\n      list.push(item);\n    }\n  };\n  return list;\n};","\"use strict\";\n\nmodule.exports = function (i) {\n  return i[1];\n};","\"use strict\";\n\nvar stylesInDOM = [];\nfunction getIndexByIdentifier(identifier) {\n  var result = -1;\n  for (var i = 0; i < stylesInDOM.length; i++) {\n    if (stylesInDOM[i].identifier === identifier) {\n      result = i;\n      break;\n    }\n  }\n  return result;\n}\nfunction modulesToDom(list, options) {\n  var idCountMap = {};\n  var identifiers = [];\n  for (var i = 0; i < list.length; i++) {\n    var item = list[i];\n    var id = options.base ? item[0] + options.base : item[0];\n    var count = idCountMap[id] || 0;\n    var identifier = \"\".concat(id, \" \").concat(count);\n    idCountMap[id] = count + 1;\n    var indexByIdentifier = getIndexByIdentifier(identifier);\n    var obj = {\n      css: item[1],\n      media: item[2],\n      sourceMap: item[3],\n      supports: item[4],\n      layer: item[5]\n    };\n    if (indexByIdentifier !== -1) {\n      stylesInDOM[indexByIdentifier].references++;\n      stylesInDOM[indexByIdentifier].updater(obj);\n    } else {\n      var updater = addElementStyle(obj, options);\n      options.byIndex = i;\n      stylesInDOM.splice(i, 0, {\n        identifier: identifier,\n        updater: updater,\n        references: 1\n      });\n    }\n    identifiers.push(identifier);\n  }\n  return identifiers;\n}\nfunction addElementStyle(obj, options) {\n  var api = options.domAPI(options);\n  api.update(obj);\n  var updater = function updater(newObj) {\n    if (newObj) {\n      if (newObj.css === obj.css && newObj.media === obj.media && newObj.sourceMap === obj.sourceMap && newObj.supports === obj.supports && newObj.layer === obj.layer) {\n        return;\n      }\n      api.update(obj = newObj);\n    } else {\n      api.remove();\n    }\n  };\n  return updater;\n}\nmodule.exports = function (list, options) {\n  options = options || {};\n  list = list || [];\n  var lastIdentifiers = modulesToDom(list, options);\n  return function update(newList) {\n    newList = newList || [];\n    for (var i = 0; i < lastIdentifiers.length; i++) {\n      var identifier = lastIdentifiers[i];\n      var index = getIndexByIdentifier(identifier);\n      stylesInDOM[index].references--;\n    }\n    var newLastIdentifiers = modulesToDom(newList, options);\n    for (var _i = 0; _i < lastIdentifiers.length; _i++) {\n      var _identifier = lastIdentifiers[_i];\n      var _index = getIndexByIdentifier(_identifier);\n      if (stylesInDOM[_index].references === 0) {\n        stylesInDOM[_index].updater();\n        stylesInDOM.splice(_index, 1);\n      }\n    }\n    lastIdentifiers = newLastIdentifiers;\n  };\n};","\"use strict\";\n\n/* istanbul ignore next  */\nfunction insertStyleElement(options) {\n  var element = document.createElement(\"style\");\n  options.setAttributes(element, options.attributes);\n  options.insert(element, options.options);\n  return element;\n}\nmodule.exports = insertStyleElement;","\"use strict\";\n\n/* istanbul ignore next  */\nfunction setAttributesWithoutAttributes(styleElement) {\n  var nonce = typeof __webpack_nonce__ !== \"undefined\" ? __webpack_nonce__ : null;\n  if (nonce) {\n    styleElement.setAttribute(\"nonce\", nonce);\n  }\n}\nmodule.exports = setAttributesWithoutAttributes;","\"use strict\";\n\n/* istanbul ignore next  */\nfunction apply(styleElement, options, obj) {\n  var css = \"\";\n  if (obj.supports) {\n    css += \"@supports (\".concat(obj.supports, \") {\");\n  }\n  if (obj.media) {\n    css += \"@media \".concat(obj.media, \" {\");\n  }\n  var needLayer = typeof obj.layer !== \"undefined\";\n  if (needLayer) {\n    css += \"@layer\".concat(obj.layer.length > 0 ? \" \".concat(obj.layer) : \"\", \" {\");\n  }\n  css += obj.css;\n  if (needLayer) {\n    css += \"}\";\n  }\n  if (obj.media) {\n    css += \"}\";\n  }\n  if (obj.supports) {\n    css += \"}\";\n  }\n  var sourceMap = obj.sourceMap;\n  if (sourceMap && typeof btoa !== \"undefined\") {\n    css += \"\\n/*# sourceMappingURL=data:application/json;base64,\".concat(btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap)))), \" */\");\n  }\n\n  // For old IE\n  /* istanbul ignore if  */\n  options.styleTagTransform(css, styleElement, options.options);\n}\nfunction removeStyleElement(styleElement) {\n  // istanbul ignore if\n  if (styleElement.parentNode === null) {\n    return false;\n  }\n  styleElement.parentNode.removeChild(styleElement);\n}\n\n/* istanbul ignore next  */\nfunction domAPI(options) {\n  if (typeof document === \"undefined\") {\n    return {\n      update: function update() {},\n      remove: function remove() {}\n    };\n  }\n  var styleElement = options.insertStyleElement(options);\n  return {\n    update: function update(obj) {\n      apply(styleElement, options, obj);\n    },\n    remove: function remove() {\n      removeStyleElement(styleElement);\n    }\n  };\n}\nmodule.exports = domAPI;","\"use strict\";\n\n/* istanbul ignore next  */\nfunction styleTagTransform(css, styleElement) {\n  if (styleElement.styleSheet) {\n    styleElement.styleSheet.cssText = css;\n  } else {\n    while (styleElement.firstChild) {\n      styleElement.removeChild(styleElement.firstChild);\n    }\n    styleElement.appendChild(document.createTextNode(css));\n  }\n}\nmodule.exports = styleTagTransform;","(()=>{\"use strict\";var e={621:e=>{var r=function(){function defineProperties(e,r){for(var n=0;n<r.length;n++){var s=r[n];s.enumerable=s.enumerable||false;s.configurable=true;if(\"value\"in s)s.writable=true;Object.defineProperty(e,s.key,s)}}return function(e,r,n){if(r)defineProperties(e.prototype,r);if(n)defineProperties(e,n);return e}}();function _classCallCheck(e,r){if(!(e instanceof r)){throw new TypeError(\"Cannot call a class as a function\")}}var n=[[{color:\"0, 0, 0\",class:\"ansi-black\"},{color:\"187, 0, 0\",class:\"ansi-red\"},{color:\"0, 187, 0\",class:\"ansi-green\"},{color:\"187, 187, 0\",class:\"ansi-yellow\"},{color:\"0, 0, 187\",class:\"ansi-blue\"},{color:\"187, 0, 187\",class:\"ansi-magenta\"},{color:\"0, 187, 187\",class:\"ansi-cyan\"},{color:\"255,255,255\",class:\"ansi-white\"}],[{color:\"85, 85, 85\",class:\"ansi-bright-black\"},{color:\"255, 85, 85\",class:\"ansi-bright-red\"},{color:\"0, 255, 0\",class:\"ansi-bright-green\"},{color:\"255, 255, 85\",class:\"ansi-bright-yellow\"},{color:\"85, 85, 255\",class:\"ansi-bright-blue\"},{color:\"255, 85, 255\",class:\"ansi-bright-magenta\"},{color:\"85, 255, 255\",class:\"ansi-bright-cyan\"},{color:\"255, 255, 255\",class:\"ansi-bright-white\"}]];var s=function(){r(Anser,null,[{key:\"escapeForHtml\",value:function escapeForHtml(e){return(new Anser).escapeForHtml(e)}},{key:\"linkify\",value:function linkify(e){return(new Anser).linkify(e)}},{key:\"ansiToHtml\",value:function ansiToHtml(e,r){return(new Anser).ansiToHtml(e,r)}},{key:\"ansiToJson\",value:function ansiToJson(e,r){return(new Anser).ansiToJson(e,r)}},{key:\"ansiToText\",value:function ansiToText(e){return(new Anser).ansiToText(e)}}]);function Anser(){_classCallCheck(this,Anser);this.fg=this.bg=this.fg_truecolor=this.bg_truecolor=null;this.bright=0}r(Anser,[{key:\"setupPalette\",value:function setupPalette(){this.PALETTE_COLORS=[];for(var e=0;e<2;++e){for(var r=0;r<8;++r){this.PALETTE_COLORS.push(n[e][r].color)}}var s=[0,95,135,175,215,255];var i=function format(e,r,n){return s[e]+\", \"+s[r]+\", \"+s[n]};var t=void 0,o=void 0,a=void 0;for(var l=0;l<6;++l){for(var c=0;c<6;++c){for(var u=0;u<6;++u){this.PALETTE_COLORS.push(i(l,c,u))}}}var f=8;for(var h=0;h<24;++h,f+=10){this.PALETTE_COLORS.push(i(f,f,f))}}},{key:\"escapeForHtml\",value:function escapeForHtml(e){return e.replace(/[&<>]/gm,(function(e){return e==\"&\"?\"&amp;\":e==\"<\"?\"&lt;\":e==\">\"?\"&gt;\":\"\"}))}},{key:\"linkify\",value:function linkify(e){return e.replace(/(https?:\\/\\/[^\\s]+)/gm,(function(e){return'<a href=\"'+e+'\">'+e+\"</a>\"}))}},{key:\"ansiToHtml\",value:function ansiToHtml(e,r){return this.process(e,r,true)}},{key:\"ansiToJson\",value:function ansiToJson(e,r){r=r||{};r.json=true;r.clearLine=false;return this.process(e,r,true)}},{key:\"ansiToText\",value:function ansiToText(e){return this.process(e,{},false)}},{key:\"process\",value:function process(e,r,n){var s=this;var i=this;var t=e.split(/\\033\\[/);var o=t.shift();if(r===undefined||r===null){r={}}r.clearLine=/\\r/.test(e);var a=t.map((function(e){return s.processChunk(e,r,n)}));if(r&&r.json){var l=i.processChunkJson(\"\");l.content=o;l.clearLine=r.clearLine;a.unshift(l);if(r.remove_empty){a=a.filter((function(e){return!e.isEmpty()}))}return a}else{a.unshift(o)}return a.join(\"\")}},{key:\"processChunkJson\",value:function processChunkJson(e,r,s){r=typeof r==\"undefined\"?{}:r;var i=r.use_classes=typeof r.use_classes!=\"undefined\"&&r.use_classes;var t=r.key=i?\"class\":\"color\";var o={content:e,fg:null,bg:null,fg_truecolor:null,bg_truecolor:null,clearLine:r.clearLine,decoration:null,was_processed:false,isEmpty:function isEmpty(){return!o.content}};var a=e.match(/^([!\\x3c-\\x3f]*)([\\d;]*)([\\x20-\\x2c]*[\\x40-\\x7e])([\\s\\S]*)/m);if(!a)return o;var l=o.content=a[4];var c=a[2].split(\";\");if(a[1]!==\"\"||a[3]!==\"m\"){return o}if(!s){return o}var u=this;u.decoration=null;while(c.length>0){var f=c.shift();var h=parseInt(f);if(isNaN(h)||h===0){u.fg=u.bg=u.decoration=null}else if(h===1){u.decoration=\"bold\"}else if(h===2){u.decoration=\"dim\"}else if(h==3){u.decoration=\"italic\"}else if(h==4){u.decoration=\"underline\"}else if(h==5){u.decoration=\"blink\"}else if(h===7){u.decoration=\"reverse\"}else if(h===8){u.decoration=\"hidden\"}else if(h===9){u.decoration=\"strikethrough\"}else if(h==39){u.fg=null}else if(h==49){u.bg=null}else if(h>=30&&h<38){u.fg=n[0][h%10][t]}else if(h>=90&&h<98){u.fg=n[1][h%10][t]}else if(h>=40&&h<48){u.bg=n[0][h%10][t]}else if(h>=100&&h<108){u.bg=n[1][h%10][t]}else if(h===38||h===48){var p=h===38;if(c.length>=1){var g=c.shift();if(g===\"5\"&&c.length>=1){var v=parseInt(c.shift());if(v>=0&&v<=255){if(!i){if(!this.PALETTE_COLORS){u.setupPalette()}if(p){u.fg=this.PALETTE_COLORS[v]}else{u.bg=this.PALETTE_COLORS[v]}}else{var d=v>=16?\"ansi-palette-\"+v:n[v>7?1:0][v%8][\"class\"];if(p){u.fg=d}else{u.bg=d}}}}else if(g===\"2\"&&c.length>=3){var _=parseInt(c.shift());var b=parseInt(c.shift());var y=parseInt(c.shift());if(_>=0&&_<=255&&b>=0&&b<=255&&y>=0&&y<=255){var k=_+\", \"+b+\", \"+y;if(!i){if(p){u.fg=k}else{u.bg=k}}else{if(p){u.fg=\"ansi-truecolor\";u.fg_truecolor=k}else{u.bg=\"ansi-truecolor\";u.bg_truecolor=k}}}}}}}if(u.fg===null&&u.bg===null&&u.decoration===null){return o}else{var T=[];var m=[];var w={};o.fg=u.fg;o.bg=u.bg;o.fg_truecolor=u.fg_truecolor;o.bg_truecolor=u.bg_truecolor;o.decoration=u.decoration;o.was_processed=true;return o}}},{key:\"processChunk\",value:function processChunk(e,r,n){var s=this;var i=this;r=r||{};var t=this.processChunkJson(e,r,n);if(r.json){return t}if(t.isEmpty()){return\"\"}if(!t.was_processed){return t.content}var o=r.use_classes;var a=[];var l=[];var c={};var u=function render_data(e){var r=[];var n=void 0;for(n in e){if(e.hasOwnProperty(n)){r.push(\"data-\"+n+'=\"'+s.escapeForHtml(e[n])+'\"')}}return r.length>0?\" \"+r.join(\" \"):\"\"};if(t.fg){if(o){l.push(t.fg+\"-fg\");if(t.fg_truecolor!==null){c[\"ansi-truecolor-fg\"]=t.fg_truecolor;t.fg_truecolor=null}}else{a.push(\"color:rgb(\"+t.fg+\")\")}}if(t.bg){if(o){l.push(t.bg+\"-bg\");if(t.bg_truecolor!==null){c[\"ansi-truecolor-bg\"]=t.bg_truecolor;t.bg_truecolor=null}}else{a.push(\"background-color:rgb(\"+t.bg+\")\")}}if(t.decoration){if(o){l.push(\"ansi-\"+t.decoration)}else if(t.decoration===\"bold\"){a.push(\"font-weight:bold\")}else if(t.decoration===\"dim\"){a.push(\"opacity:0.5\")}else if(t.decoration===\"italic\"){a.push(\"font-style:italic\")}else if(t.decoration===\"reverse\"){a.push(\"filter:invert(100%)\")}else if(t.decoration===\"hidden\"){a.push(\"visibility:hidden\")}else if(t.decoration===\"strikethrough\"){a.push(\"text-decoration:line-through\")}else{a.push(\"text-decoration:\"+t.decoration)}}if(o){return'<span class=\"'+l.join(\" \")+'\"'+u(c)+\">\"+t.content+\"</span>\"}else{return'<span style=\"'+a.join(\";\")+'\"'+u(c)+\">\"+t.content+\"</span>\"}}}]);return Anser}();e.exports=s}};var r={};function __nccwpck_require__(n){var s=r[n];if(s!==undefined){return s.exports}var i=r[n]={exports:{}};var t=true;try{e[n](i,i.exports,__nccwpck_require__);t=false}finally{if(t)delete r[n]}return i.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var n=__nccwpck_require__(621);module.exports=n})();","/**\n * @license React\n * react-dom-client.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n/*\n Modernizr 3.0.0pre (Custom Build) | MIT\n*/\n\"use strict\";\nvar Scheduler = require(\"next/dist/compiled/scheduler\"),\n  React = require(\"next/dist/compiled/react\"),\n  ReactDOM = require(\"next/dist/compiled/react-dom\");\nfunction formatProdErrorMessage(code) {\n  var url = \"https://react.dev/errors/\" + code;\n  if (1 < arguments.length) {\n    url += \"?args[]=\" + encodeURIComponent(arguments[1]);\n    for (var i = 2; i < arguments.length; i++)\n      url += \"&args[]=\" + encodeURIComponent(arguments[i]);\n  }\n  return (\n    \"Minified React error #\" +\n    code +\n    \"; visit \" +\n    url +\n    \" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"\n  );\n}\nfunction isValidContainer(node) {\n  return !(\n    !node ||\n    (1 !== node.nodeType && 9 !== node.nodeType && 11 !== node.nodeType)\n  );\n}\nfunction getNearestMountedFiber(fiber) {\n  for (var node = fiber, nextNode = node; nextNode && !nextNode.alternate; )\n    (node = nextNode),\n      0 !== (node.flags & 4098) && (fiber = node.return),\n      (nextNode = node.return);\n  for (; node.return; ) node = node.return;\n  return 3 === node.tag ? fiber : null;\n}\nfunction getSuspenseInstanceFromFiber(fiber) {\n  if (13 === fiber.tag) {\n    var suspenseState = fiber.memoizedState;\n    null === suspenseState &&\n      ((fiber = fiber.alternate),\n      null !== fiber && (suspenseState = fiber.memoizedState));\n    if (null !== suspenseState) return suspenseState.dehydrated;\n  }\n  return null;\n}\nfunction getActivityInstanceFromFiber(fiber) {\n  if (31 === fiber.tag) {\n    var activityState = fiber.memoizedState;\n    null === activityState &&\n      ((fiber = fiber.alternate),\n      null !== fiber && (activityState = fiber.memoizedState));\n    if (null !== activityState) return activityState.dehydrated;\n  }\n  return null;\n}\nfunction assertIsMounted(fiber) {\n  if (getNearestMountedFiber(fiber) !== fiber)\n    throw Error(formatProdErrorMessage(188));\n}\nfunction findCurrentFiberUsingSlowPath(fiber) {\n  var alternate = fiber.alternate;\n  if (!alternate) {\n    alternate = getNearestMountedFiber(fiber);\n    if (null === alternate) throw Error(formatProdErrorMessage(188));\n    return alternate !== fiber ? null : fiber;\n  }\n  for (var a = fiber, b = alternate; ; ) {\n    var parentA = a.return;\n    if (null === parentA) break;\n    var parentB = parentA.alternate;\n    if (null === parentB) {\n      b = parentA.return;\n      if (null !== b) {\n        a = b;\n        continue;\n      }\n      break;\n    }\n    if (parentA.child === parentB.child) {\n      for (parentB = parentA.child; parentB; ) {\n        if (parentB === a) return assertIsMounted(parentA), fiber;\n        if (parentB === b) return assertIsMounted(parentA), alternate;\n        parentB = parentB.sibling;\n      }\n      throw Error(formatProdErrorMessage(188));\n    }\n    if (a.return !== b.return) (a = parentA), (b = parentB);\n    else {\n      for (var didFindChild = !1, child$0 = parentA.child; child$0; ) {\n        if (child$0 === a) {\n          didFindChild = !0;\n          a = parentA;\n          b = parentB;\n          break;\n        }\n        if (child$0 === b) {\n          didFindChild = !0;\n          b = parentA;\n          a = parentB;\n          break;\n        }\n        child$0 = child$0.sibling;\n      }\n      if (!didFindChild) {\n        for (child$0 = parentB.child; child$0; ) {\n          if (child$0 === a) {\n            didFindChild = !0;\n            a = parentB;\n            b = parentA;\n            break;\n          }\n          if (child$0 === b) {\n            didFindChild = !0;\n            b = parentB;\n            a = parentA;\n            break;\n          }\n          child$0 = child$0.sibling;\n        }\n        if (!didFindChild) throw Error(formatProdErrorMessage(189));\n      }\n    }\n    if (a.alternate !== b) throw Error(formatProdErrorMessage(190));\n  }\n  if (3 !== a.tag) throw Error(formatProdErrorMessage(188));\n  return a.stateNode.current === a ? fiber : alternate;\n}\nfunction findCurrentHostFiberImpl(node) {\n  var tag = node.tag;\n  if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return node;\n  for (node = node.child; null !== node; ) {\n    tag = findCurrentHostFiberImpl(node);\n    if (null !== tag) return tag;\n    node = node.sibling;\n  }\n  return null;\n}\nfunction traverseVisibleInstancesAndTextInstances(\n  child,\n  searchWithinHosts,\n  fn,\n  a,\n  b,\n  c\n) {\n  for (; null !== child; ) {\n    if (\n      ((5 === child.tag || 6 === child.tag) && fn(child, a, b, c)) ||\n      ((22 !== child.tag || null === child.memoizedState) &&\n        (searchWithinHosts || 5 !== child.tag) &&\n        traverseVisibleInstancesAndTextInstances(\n          child.child,\n          searchWithinHosts,\n          fn,\n          a,\n          b,\n          c\n        ))\n    )\n      return !0;\n    child = child.sibling;\n  }\n  return !1;\n}\nfunction getFragmentParentInstanceOrContainerFiber(fiber) {\n  for (fiber = fiber.return; null !== fiber; ) {\n    if (3 === fiber.tag || 5 === fiber.tag) return fiber;\n    fiber = fiber.return;\n  }\n  return null;\n}\nfunction findFragmentInstanceOrTextInstanceSiblings(result, self, child) {\n  for (\n    var foundSelf =\n      3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : !1;\n    null !== child;\n\n  ) {\n    if (child === self)\n      if (((foundSelf = !0), child.sibling)) child = child.sibling;\n      else return !0;\n    if (5 === child.tag || 6 === child.tag) {\n      if (foundSelf) return (result[1] = child), !0;\n      result[0] = child;\n    } else if (\n      (22 !== child.tag || null === child.memoizedState) &&\n      findFragmentInstanceOrTextInstanceSiblings(\n        result,\n        self,\n        child.child,\n        foundSelf\n      )\n    )\n      return !0;\n    child = child.sibling;\n  }\n  return !1;\n}\nfunction getInstanceFromHostFiber(fiber) {\n  switch (fiber.tag) {\n    case 5:\n    case 6:\n      return fiber.stateNode;\n    case 3:\n      return fiber.stateNode.containerInfo;\n    default:\n      throw Error(formatProdErrorMessage(559));\n  }\n}\nvar searchTarget = null,\n  searchBoundary = null;\nfunction findNextSibling(child) {\n  searchTarget = child;\n  return !0;\n}\nfunction isFiberPrecedingCheck(child, target, boundary) {\n  return child === boundary\n    ? !0\n    : child === target\n      ? ((searchTarget = child), !0)\n      : !1;\n}\nfunction isFiberFollowingCheck(child, target, boundary) {\n  return child === boundary\n    ? ((searchBoundary = child), !1)\n    : child === target\n      ? (null !== searchBoundary && (searchTarget = child), !0)\n      : !1;\n}\nfunction getParentForFragmentAncestors(inst) {\n  if (null === inst) return null;\n  do inst = null === inst ? null : inst.return;\n  while (inst && 5 !== inst.tag && 27 !== inst.tag && 3 !== inst.tag);\n  return inst ? inst : null;\n}\nfunction getLowestCommonAncestor(instA, instB, getParent) {\n  for (var depthA = 0, tempA = instA; tempA; tempA = getParent(tempA)) depthA++;\n  tempA = 0;\n  for (var tempB = instB; tempB; tempB = getParent(tempB)) tempA++;\n  for (; 0 < depthA - tempA; ) (instA = getParent(instA)), depthA--;\n  for (; 0 < tempA - depthA; ) (instB = getParent(instB)), tempA--;\n  for (; depthA--; ) {\n    if (instA === instB || (null !== instB && instA === instB.alternate))\n      return instA;\n    instA = getParent(instA);\n    instB = getParent(instB);\n  }\n  return null;\n}\nvar assign = Object.assign,\n  REACT_LEGACY_ELEMENT_TYPE = Symbol.for(\"react.element\"),\n  REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n  REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n  REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n  REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n  REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n  REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n  REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n  REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n  REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n  REACT_SUSPENSE_LIST_TYPE = Symbol.for(\"react.suspense_list\"),\n  REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n  REACT_LAZY_TYPE = Symbol.for(\"react.lazy\");\nSymbol.for(\"react.scope\");\nvar REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n  REACT_LEGACY_HIDDEN_TYPE = Symbol.for(\"react.legacy_hidden\");\nSymbol.for(\"react.tracing_marker\");\nvar REACT_MEMO_CACHE_SENTINEL = Symbol.for(\"react.memo_cache_sentinel\"),\n  REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n  REACT_RECOVERABLE_TYPE = Symbol.for(\"react.recoverable\"),\n  MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n  if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n  maybeIterable =\n    (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n    maybeIterable[\"@@iterator\"];\n  return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nvar REACT_CLIENT_REFERENCE = Symbol.for(\"react.client.reference\");\nfunction getComponentNameFromType(type) {\n  if (null == type) return null;\n  if (\"function\" === typeof type)\n    return type.$$typeof === REACT_CLIENT_REFERENCE\n      ? null\n      : type.displayName || type.name || null;\n  if (\"string\" === typeof type) return type;\n  switch (type) {\n    case REACT_FRAGMENT_TYPE:\n      return \"Fragment\";\n    case REACT_PROFILER_TYPE:\n      return \"Profiler\";\n    case REACT_STRICT_MODE_TYPE:\n      return \"StrictMode\";\n    case REACT_SUSPENSE_TYPE:\n      return \"Suspense\";\n    case REACT_SUSPENSE_LIST_TYPE:\n      return \"SuspenseList\";\n    case REACT_ACTIVITY_TYPE:\n      return \"Activity\";\n    case REACT_VIEW_TRANSITION_TYPE:\n      return \"ViewTransition\";\n  }\n  if (\"object\" === typeof type)\n    switch (type.$$typeof) {\n      case REACT_PORTAL_TYPE:\n        return \"Portal\";\n      case REACT_CONTEXT_TYPE:\n        return type.displayName || \"Context\";\n      case REACT_CONSUMER_TYPE:\n        return (type._context.displayName || \"Context\") + \".Consumer\";\n      case REACT_FORWARD_REF_TYPE:\n        var innerType = type.render;\n        type = type.displayName;\n        type ||\n          ((type = innerType.displayName || innerType.name || \"\"),\n          (type = \"\" !== type ? \"ForwardRef(\" + type + \")\" : \"ForwardRef\"));\n        return type;\n      case REACT_MEMO_TYPE:\n        return (\n          (innerType = type.displayName || null),\n          null !== innerType\n            ? innerType\n            : getComponentNameFromType(type.type) || \"Memo\"\n        );\n      case REACT_LAZY_TYPE:\n        innerType = type._payload;\n        type = type._init;\n        try {\n          return getComponentNameFromType(type(innerType));\n        } catch (x) {}\n    }\n  return null;\n}\nvar isArrayImpl = Array.isArray,\n  ReactSharedInternals =\n    React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n  ReactDOMSharedInternals =\n    ReactDOM.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE,\n  sharedNotPendingObject = {\n    pending: !1,\n    data: null,\n    method: null,\n    action: null\n  },\n  valueStack = [],\n  index = -1;\nfunction createCursor(defaultValue) {\n  return { current: defaultValue };\n}\nfunction pop(cursor) {\n  0 > index ||\n    ((cursor.current = valueStack[index]), (valueStack[index] = null), index--);\n}\nfunction push(cursor, value) {\n  index++;\n  valueStack[index] = cursor.current;\n  cursor.current = value;\n}\nvar contextStackCursor = createCursor(null),\n  contextFiberStackCursor = createCursor(null),\n  rootInstanceStackCursor = createCursor(null),\n  hostTransitionProviderCursor = createCursor(null);\nfunction pushHostContainer(fiber, nextRootInstance) {\n  push(rootInstanceStackCursor, nextRootInstance);\n  push(contextFiberStackCursor, fiber);\n  push(contextStackCursor, null);\n  switch (nextRootInstance.nodeType) {\n    case 9:\n    case 11:\n      fiber = (fiber = nextRootInstance.documentElement)\n        ? (fiber = fiber.namespaceURI)\n          ? getOwnHostContext(fiber)\n          : 0\n        : 0;\n      break;\n    default:\n      if (\n        ((fiber = nextRootInstance.tagName),\n        (nextRootInstance = nextRootInstance.namespaceURI))\n      )\n        (nextRootInstance = getOwnHostContext(nextRootInstance)),\n          (fiber = getChildHostContextProd(nextRootInstance, fiber));\n      else\n        switch (fiber) {\n          case \"svg\":\n            fiber = 1;\n            break;\n          case \"math\":\n            fiber = 2;\n            break;\n          default:\n            fiber = 0;\n        }\n  }\n  pop(contextStackCursor);\n  push(contextStackCursor, fiber);\n}\nfunction popHostContainer() {\n  pop(contextStackCursor);\n  pop(contextFiberStackCursor);\n  pop(rootInstanceStackCursor);\n}\nfunction pushHostContext(fiber) {\n  var stateHook = fiber.memoizedState;\n  null !== stateHook &&\n    ((HostTransitionContext._currentValue = stateHook.memoizedState),\n    push(hostTransitionProviderCursor, fiber));\n  stateHook = contextStackCursor.current;\n  var JSCompiler_inline_result = getChildHostContextProd(stateHook, fiber.type);\n  stateHook !== JSCompiler_inline_result &&\n    (push(contextFiberStackCursor, fiber),\n    push(contextStackCursor, JSCompiler_inline_result));\n}\nfunction popHostContext(fiber) {\n  contextFiberStackCursor.current === fiber &&\n    (pop(contextStackCursor), pop(contextFiberStackCursor));\n  hostTransitionProviderCursor.current === fiber &&\n    (pop(hostTransitionProviderCursor),\n    (HostTransitionContext._currentValue = sharedNotPendingObject));\n}\nvar prefix, suffix;\nfunction describeBuiltInComponentFrame(name) {\n  if (void 0 === prefix)\n    try {\n      throw Error();\n    } catch (x) {\n      var match = x.stack.trim().match(/\\n( *(at )?)/);\n      prefix = (match && match[1]) || \"\";\n      suffix =\n        -1 < x.stack.indexOf(\"\\n    at\")\n          ? \" (<anonymous>)\"\n          : -1 < x.stack.indexOf(\"@\")\n            ? \"@unknown:0:0\"\n            : \"\";\n    }\n  return \"\\n\" + prefix + name + suffix;\n}\nvar reentry = !1;\nfunction describeNativeComponentFrame(fn, construct) {\n  if (!fn || reentry) return \"\";\n  reentry = !0;\n  var previousPrepareStackTrace = Error.prepareStackTrace;\n  Error.prepareStackTrace = void 0;\n  try {\n    var RunInRootFrame = {\n      DetermineComponentFrameRoot: function () {\n        try {\n          if (construct) {\n            var Fake = function () {\n              throw Error();\n            };\n            Object.defineProperty(Fake.prototype, \"props\", {\n              set: function () {\n                throw Error();\n              }\n            });\n            if (\"object\" === typeof Reflect && Reflect.construct) {\n              try {\n                Reflect.construct(Fake, []);\n              } catch (x) {\n                var control = x;\n              }\n              Reflect.construct(fn, [], Fake);\n            } else {\n              try {\n                Fake.call();\n              } catch (x$1) {\n                control = x$1;\n              }\n              Fake = !1;\n              try {\n                var prevProps = Object.getOwnPropertyDescriptor(\n                  fn.prototype,\n                  \"props\"\n                );\n                Object.defineProperty(fn.prototype, \"props\", {\n                  configurable: !0,\n                  set: function () {\n                    throw Error();\n                  }\n                });\n                Fake = !0;\n                new fn();\n              } finally {\n                Fake &&\n                  (void 0 !== prevProps\n                    ? Object.defineProperty(fn.prototype, \"props\", prevProps)\n                    : delete fn.prototype.props);\n              }\n            }\n          } else {\n            try {\n              throw Error();\n            } catch (x$2) {\n              control = x$2;\n            }\n            (Fake = fn()) &&\n              \"function\" === typeof Fake.catch &&\n              Fake.catch(function () {});\n          }\n        } catch (sample) {\n          if (sample && control && \"string\" === typeof sample.stack)\n            return [sample.stack, control.stack];\n        }\n        return [null, null];\n      }\n    };\n    RunInRootFrame.DetermineComponentFrameRoot.displayName =\n      \"DetermineComponentFrameRoot\";\n    var namePropDescriptor = Object.getOwnPropertyDescriptor(\n      RunInRootFrame.DetermineComponentFrameRoot,\n      \"name\"\n    );\n    namePropDescriptor &&\n      namePropDescriptor.configurable &&\n      Object.defineProperty(\n        RunInRootFrame.DetermineComponentFrameRoot,\n        \"name\",\n        { value: \"DetermineComponentFrameRoot\" }\n      );\n    var _RunInRootFrame$Deter = RunInRootFrame.DetermineComponentFrameRoot(),\n      sampleStack = _RunInRootFrame$Deter[0],\n      controlStack = _RunInRootFrame$Deter[1];\n    if (sampleStack && controlStack) {\n      var sampleLines = sampleStack.split(\"\\n\"),\n        controlLines = controlStack.split(\"\\n\");\n      for (\n        namePropDescriptor = RunInRootFrame = 0;\n        RunInRootFrame < sampleLines.length &&\n        !sampleLines[RunInRootFrame].includes(\"DetermineComponentFrameRoot\");\n\n      )\n        RunInRootFrame++;\n      for (\n        ;\n        namePropDescriptor < controlLines.length &&\n        !controlLines[namePropDescriptor].includes(\n          \"DetermineComponentFrameRoot\"\n        );\n\n      )\n        namePropDescriptor++;\n      if (\n        RunInRootFrame === sampleLines.length ||\n        namePropDescriptor === controlLines.length\n      )\n        for (\n          RunInRootFrame = sampleLines.length - 1,\n            namePropDescriptor = controlLines.length - 1;\n          1 <= RunInRootFrame &&\n          0 <= namePropDescriptor &&\n          sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor];\n\n        )\n          namePropDescriptor--;\n      for (\n        ;\n        1 <= RunInRootFrame && 0 <= namePropDescriptor;\n        RunInRootFrame--, namePropDescriptor--\n      )\n        if (sampleLines[RunInRootFrame] !== controlLines[namePropDescriptor]) {\n          if (1 !== RunInRootFrame || 1 !== namePropDescriptor) {\n            do\n              if (\n                (RunInRootFrame--,\n                namePropDescriptor--,\n                0 > namePropDescriptor ||\n                  sampleLines[RunInRootFrame] !==\n                    controlLines[namePropDescriptor])\n              ) {\n                var frame =\n                  \"\\n\" +\n                  sampleLines[RunInRootFrame].replace(\" at new \", \" at \");\n                fn.displayName &&\n                  frame.includes(\"<anonymous>\") &&\n                  (frame = frame.replace(\"<anonymous>\", fn.displayName));\n                return frame;\n              }\n            while (1 <= RunInRootFrame && 0 <= namePropDescriptor);\n          }\n          break;\n        }\n    }\n  } finally {\n    (reentry = !1), (Error.prepareStackTrace = previousPrepareStackTrace);\n  }\n  return (previousPrepareStackTrace = fn ? fn.displayName || fn.name : \"\")\n    ? describeBuiltInComponentFrame(previousPrepareStackTrace)\n    : \"\";\n}\nfunction describeFiber(fiber, childFiber) {\n  switch (fiber.tag) {\n    case 26:\n    case 27:\n    case 5:\n      return describeBuiltInComponentFrame(fiber.type);\n    case 16:\n      return describeBuiltInComponentFrame(\"Lazy\");\n    case 13:\n      return fiber.child !== childFiber && null !== childFiber\n        ? describeBuiltInComponentFrame(\"Suspense Fallback\")\n        : describeBuiltInComponentFrame(\"Suspense\");\n    case 19:\n      return describeBuiltInComponentFrame(\"SuspenseList\");\n    case 0:\n    case 15:\n      return describeNativeComponentFrame(fiber.type, !1);\n    case 11:\n      return describeNativeComponentFrame(fiber.type.render, !1);\n    case 1:\n      return describeNativeComponentFrame(fiber.type, !0);\n    case 31:\n      return describeBuiltInComponentFrame(\"Activity\");\n    case 30:\n      return describeBuiltInComponentFrame(\"ViewTransition\");\n    default:\n      return \"\";\n  }\n}\nfunction getStackByFiberInDevAndProd(workInProgress) {\n  try {\n    var info = \"\",\n      previous = null;\n    do\n      (info += describeFiber(workInProgress, previous)),\n        (previous = workInProgress),\n        (workInProgress = workInProgress.return);\n    while (workInProgress);\n    return info;\n  } catch (x) {\n    return \"\\nError generating stack: \" + x.message + \"\\n\" + x.stack;\n  }\n}\nvar hasOwnProperty = Object.prototype.hasOwnProperty,\n  scheduleCallback$3 = Scheduler.unstable_scheduleCallback,\n  cancelCallback$1 = Scheduler.unstable_cancelCallback,\n  shouldYield = Scheduler.unstable_shouldYield,\n  requestPaint = Scheduler.unstable_requestPaint,\n  now = Scheduler.unstable_now,\n  getCurrentPriorityLevel = Scheduler.unstable_getCurrentPriorityLevel,\n  ImmediatePriority = Scheduler.unstable_ImmediatePriority,\n  UserBlockingPriority = Scheduler.unstable_UserBlockingPriority,\n  NormalPriority$1 = Scheduler.unstable_NormalPriority,\n  LowPriority = Scheduler.unstable_LowPriority,\n  IdlePriority = Scheduler.unstable_IdlePriority,\n  log$1 = Scheduler.log,\n  unstable_setDisableYieldValue = Scheduler.unstable_setDisableYieldValue,\n  rendererID = null,\n  injectedHook = null;\nfunction setIsStrictModeForDevtools(newIsStrictMode) {\n  \"function\" === typeof log$1 && unstable_setDisableYieldValue(newIsStrictMode);\n  if (injectedHook && \"function\" === typeof injectedHook.setStrictMode)\n    try {\n      injectedHook.setStrictMode(rendererID, newIsStrictMode);\n    } catch (err) {}\n}\nvar clz32 = Math.clz32 ? Math.clz32 : clz32Fallback,\n  log = Math.log,\n  LN2 = Math.LN2;\nfunction clz32Fallback(x) {\n  x >>>= 0;\n  return 0 === x ? 32 : (31 - ((log(x) / LN2) | 0)) | 0;\n}\nvar nextTransitionUpdateLane = 256,\n  nextTransitionDeferredLane = 262144,\n  nextRetryLane = 4194304;\nfunction getHighestPriorityLanes(lanes) {\n  var pendingSyncLanes = lanes & 42;\n  if (0 !== pendingSyncLanes) return pendingSyncLanes;\n  switch (lanes & -lanes) {\n    case 1:\n      return 1;\n    case 2:\n      return 2;\n    case 4:\n      return 4;\n    case 8:\n      return 8;\n    case 16:\n      return 16;\n    case 32:\n      return 32;\n    case 64:\n      return 64;\n    case 128:\n      return 128;\n    case 256:\n    case 512:\n    case 1024:\n    case 2048:\n    case 4096:\n    case 8192:\n    case 16384:\n    case 32768:\n    case 65536:\n    case 131072:\n      return lanes & 261888;\n    case 262144:\n    case 524288:\n    case 1048576:\n    case 2097152:\n      return lanes & 3932160;\n    case 4194304:\n    case 8388608:\n    case 16777216:\n    case 33554432:\n      return lanes & 62914560;\n    case 67108864:\n      return 67108864;\n    case 134217728:\n      return 134217728;\n    case 268435456:\n      return 268435456;\n    case 536870912:\n      return 536870912;\n    case 1073741824:\n      return 0;\n    default:\n      return lanes;\n  }\n}\nfunction getNextLanes(root, wipLanes, rootHasPendingCommit) {\n  var pendingLanes = root.pendingLanes;\n  if (0 === pendingLanes) return 0;\n  var nextLanes = 0,\n    suspendedLanes = root.suspendedLanes,\n    pingedLanes = root.pingedLanes;\n  root = root.warmLanes;\n  var nonIdlePendingLanes = pendingLanes & 134217727;\n  0 !== nonIdlePendingLanes\n    ? ((pendingLanes = nonIdlePendingLanes & ~suspendedLanes),\n      0 !== pendingLanes\n        ? (nextLanes = getHighestPriorityLanes(pendingLanes))\n        : ((pingedLanes &= nonIdlePendingLanes),\n          0 !== pingedLanes\n            ? (nextLanes = getHighestPriorityLanes(pingedLanes))\n            : rootHasPendingCommit ||\n              ((rootHasPendingCommit = nonIdlePendingLanes & ~root),\n              0 !== rootHasPendingCommit &&\n                (nextLanes = getHighestPriorityLanes(rootHasPendingCommit)))))\n    : ((nonIdlePendingLanes = pendingLanes & ~suspendedLanes),\n      0 !== nonIdlePendingLanes\n        ? (nextLanes = getHighestPriorityLanes(nonIdlePendingLanes))\n        : 0 !== pingedLanes\n          ? (nextLanes = getHighestPriorityLanes(pingedLanes))\n          : rootHasPendingCommit ||\n            ((rootHasPendingCommit = pendingLanes & ~root),\n            0 !== rootHasPendingCommit &&\n              (nextLanes = getHighestPriorityLanes(rootHasPendingCommit))));\n  return 0 === nextLanes\n    ? 0\n    : 0 !== wipLanes &&\n        wipLanes !== nextLanes &&\n        0 === (wipLanes & suspendedLanes) &&\n        ((suspendedLanes = nextLanes & -nextLanes),\n        (rootHasPendingCommit = wipLanes & -wipLanes),\n        suspendedLanes >= rootHasPendingCommit ||\n          (32 === suspendedLanes && 0 !== (rootHasPendingCommit & 4194048)))\n      ? wipLanes\n      : nextLanes;\n}\nfunction checkIfRootIsPrerendering(root, renderLanes) {\n  return (\n    0 ===\n    (root.pendingLanes &\n      ~(root.suspendedLanes & ~root.pingedLanes) &\n      renderLanes)\n  );\n}\nfunction computeExpirationTime(lane, currentTime) {\n  switch (lane) {\n    case 1:\n    case 2:\n    case 4:\n    case 8:\n    case 64:\n      return currentTime + 250;\n    case 16:\n    case 32:\n    case 128:\n    case 256:\n    case 512:\n    case 1024:\n    case 2048:\n    case 4096:\n    case 8192:\n    case 16384:\n    case 32768:\n    case 65536:\n    case 131072:\n    case 262144:\n    case 524288:\n    case 1048576:\n    case 2097152:\n      return currentTime + 5e3;\n    case 4194304:\n    case 8388608:\n    case 16777216:\n    case 33554432:\n      return -1;\n    case 67108864:\n    case 134217728:\n    case 268435456:\n    case 536870912:\n    case 1073741824:\n      return -1;\n    default:\n      return -1;\n  }\n}\nfunction claimNextRetryLane() {\n  var lane = nextRetryLane;\n  nextRetryLane <<= 1;\n  0 === (nextRetryLane & 62914560) && (nextRetryLane = 4194304);\n  return lane;\n}\nfunction createLaneMap(initial) {\n  for (var laneMap = [], i = 0; 31 > i; i++) laneMap.push(initial);\n  return laneMap;\n}\nfunction markRootUpdated$1(root, updateLane) {\n  root.pendingLanes |= updateLane;\n  268435456 !== updateLane &&\n    ((root.suspendedLanes = 0), (root.pingedLanes = 0), (root.warmLanes = 0));\n}\nfunction markRootFinished(\n  root,\n  finishedLanes,\n  remainingLanes,\n  spawnedLane,\n  updatedLanes,\n  suspendedRetryLanes\n) {\n  var previouslyPendingLanes = root.pendingLanes;\n  root.pendingLanes = remainingLanes;\n  root.suspendedLanes = 0;\n  root.pingedLanes = 0;\n  root.warmLanes = 0;\n  root.expiredLanes &= remainingLanes;\n  root.entangledLanes &= remainingLanes;\n  root.errorRecoveryDisabledLanes &= remainingLanes;\n  root.shellSuspendCounter = 0;\n  var entanglements = root.entanglements,\n    expirationTimes = root.expirationTimes,\n    hiddenUpdates = root.hiddenUpdates;\n  for (\n    remainingLanes = previouslyPendingLanes & ~remainingLanes;\n    0 < remainingLanes;\n\n  ) {\n    var index$7 = 31 - clz32(remainingLanes),\n      lane = 1 << index$7;\n    entanglements[index$7] = 0;\n    expirationTimes[index$7] = -1;\n    var hiddenUpdatesForLane = hiddenUpdates[index$7];\n    if (null !== hiddenUpdatesForLane)\n      for (\n        hiddenUpdates[index$7] = null, index$7 = 0;\n        index$7 < hiddenUpdatesForLane.length;\n        index$7++\n      ) {\n        var update = hiddenUpdatesForLane[index$7];\n        null !== update && (update.lane &= -536870913);\n      }\n    remainingLanes &= ~lane;\n  }\n  0 !== spawnedLane && markSpawnedDeferredLane(root, spawnedLane, 0);\n  0 !== suspendedRetryLanes &&\n    0 === updatedLanes &&\n    0 !== root.tag &&\n    (root.suspendedLanes |=\n      suspendedRetryLanes & ~(previouslyPendingLanes & ~finishedLanes));\n}\nfunction markSpawnedDeferredLane(root, spawnedLane, entangledLanes) {\n  root.pendingLanes |= spawnedLane;\n  root.suspendedLanes &= ~spawnedLane;\n  var spawnedLaneIndex = 31 - clz32(spawnedLane);\n  root.entangledLanes |= spawnedLane;\n  root.entanglements[spawnedLaneIndex] =\n    root.entanglements[spawnedLaneIndex] |\n    1073741824 |\n    (entangledLanes & 261930);\n}\nfunction markRootEntangled(root, entangledLanes) {\n  var rootEntangledLanes = (root.entangledLanes |= entangledLanes);\n  for (root = root.entanglements; rootEntangledLanes; ) {\n    var index$8 = 31 - clz32(rootEntangledLanes),\n      lane = 1 << index$8;\n    (lane & entangledLanes) | (root[index$8] & entangledLanes) &&\n      (root[index$8] |= entangledLanes);\n    rootEntangledLanes &= ~lane;\n  }\n}\nfunction getBumpedLaneForHydration(root, renderLanes) {\n  var renderLane = renderLanes & -renderLanes;\n  renderLane =\n    0 !== (renderLane & 42) ? 1 : getBumpedLaneForHydrationByLane(renderLane);\n  return 0 !== (renderLane & (root.suspendedLanes | renderLanes))\n    ? 0\n    : renderLane;\n}\nfunction getBumpedLaneForHydrationByLane(lane) {\n  switch (lane) {\n    case 2:\n      lane = 1;\n      break;\n    case 8:\n      lane = 4;\n      break;\n    case 32:\n      lane = 16;\n      break;\n    case 256:\n    case 512:\n    case 1024:\n    case 2048:\n    case 4096:\n    case 8192:\n    case 16384:\n    case 32768:\n    case 65536:\n    case 131072:\n    case 262144:\n    case 524288:\n    case 1048576:\n    case 2097152:\n    case 4194304:\n    case 8388608:\n    case 16777216:\n    case 33554432:\n      lane = 128;\n      break;\n    case 268435456:\n      lane = 134217728;\n      break;\n    default:\n      lane = 0;\n  }\n  return lane;\n}\nfunction lanesToEventPriority(lanes) {\n  lanes &= -lanes;\n  return 2 < lanes\n    ? 8 < lanes\n      ? 0 !== (lanes & 134217727)\n        ? 32\n        : 268435456\n      : 8\n    : 2;\n}\nfunction resolveUpdatePriority() {\n  var updatePriority = ReactDOMSharedInternals.p;\n  if (0 !== updatePriority) return updatePriority;\n  updatePriority = window.event;\n  return void 0 === updatePriority ? 32 : getEventPriority(updatePriority.type);\n}\nfunction runWithPriority(priority, fn) {\n  var previousPriority = ReactDOMSharedInternals.p;\n  try {\n    return (ReactDOMSharedInternals.p = priority), fn();\n  } finally {\n    ReactDOMSharedInternals.p = previousPriority;\n  }\n}\nvar randomKey = Math.random().toString(36).slice(2),\n  internalInstanceKey = \"__reactFiber$\" + randomKey,\n  internalPropsKey = \"__reactProps$\" + randomKey,\n  internalContainerInstanceKey = \"__reactContainer$\" + randomKey,\n  internalEventHandlersKey = \"__reactEvents$\" + randomKey,\n  internalEventHandlerListenersKey = \"__reactListeners$\" + randomKey,\n  internalEventHandlesSetKey = \"__reactHandles$\" + randomKey,\n  internalRootNodeResourcesKey = \"__reactResources$\" + randomKey,\n  internalHoistableMarker = \"__reactMarker$\" + randomKey,\n  internalLoadPendingKey = \"__reactLoad$\" + randomKey;\nfunction detachDeletedInstance(node) {\n  delete node[internalInstanceKey];\n  delete node[internalPropsKey];\n  delete node[internalEventHandlerListenersKey];\n  delete node[internalEventHandlesSetKey];\n}\nfunction getClosestInstanceFromNode(targetNode) {\n  var targetInst;\n  if ((targetInst = targetNode[internalInstanceKey])) return targetInst;\n  for (var parentNode = targetNode.parentNode; parentNode; ) {\n    if (\n      (targetInst =\n        parentNode[internalContainerInstanceKey] ||\n        parentNode[internalInstanceKey])\n    ) {\n      parentNode = targetInst.alternate;\n      if (\n        null !== targetInst.child ||\n        (null !== parentNode && null !== parentNode.child)\n      )\n        for (\n          targetNode = getParentHydrationBoundary(targetNode);\n          null !== targetNode;\n\n        ) {\n          if ((parentNode = targetNode[internalInstanceKey])) return parentNode;\n          targetNode = getParentHydrationBoundary(targetNode);\n        }\n      return targetInst;\n    }\n    targetNode = parentNode;\n    parentNode = targetNode.parentNode;\n  }\n  return null;\n}\nfunction getInstanceFromNode(node) {\n  if (\n    (node = node[internalInstanceKey] || node[internalContainerInstanceKey])\n  ) {\n    var tag = node.tag;\n    if (\n      5 === tag ||\n      6 === tag ||\n      13 === tag ||\n      31 === tag ||\n      26 === tag ||\n      27 === tag ||\n      3 === tag\n    )\n      return node;\n  }\n  return null;\n}\nfunction getNodeFromInstance(inst) {\n  var tag = inst.tag;\n  if (5 === tag || 26 === tag || 27 === tag || 6 === tag) return inst.stateNode;\n  throw Error(formatProdErrorMessage(33));\n}\nfunction getResourcesFromRoot(root) {\n  var resources = root[internalRootNodeResourcesKey];\n  resources ||\n    (resources = root[internalRootNodeResourcesKey] =\n      { hoistableStyles: new Map(), hoistableScripts: new Map() });\n  return resources;\n}\nfunction markNodeAsHoistable(node) {\n  node[internalHoistableMarker] = !0;\n}\nfunction clearPendingLoadOnNode(node) {\n  node[internalLoadPendingKey] = void 0;\n}\nvar allNativeEvents = new Set(),\n  registrationNameDependencies = {};\nfunction registerTwoPhaseEvent(registrationName, dependencies) {\n  registerDirectEvent(registrationName, dependencies);\n  registerDirectEvent(registrationName + \"Capture\", dependencies);\n}\nfunction registerDirectEvent(registrationName, dependencies) {\n  registrationNameDependencies[registrationName] = dependencies;\n  for (\n    registrationName = 0;\n    registrationName < dependencies.length;\n    registrationName++\n  )\n    allNativeEvents.add(dependencies[registrationName]);\n}\nvar VALID_ATTRIBUTE_NAME_REGEX = RegExp(\n    \"^[:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD][:A-Z_a-z\\\\u00C0-\\\\u00D6\\\\u00D8-\\\\u00F6\\\\u00F8-\\\\u02FF\\\\u0370-\\\\u037D\\\\u037F-\\\\u1FFF\\\\u200C-\\\\u200D\\\\u2070-\\\\u218F\\\\u2C00-\\\\u2FEF\\\\u3001-\\\\uD7FF\\\\uF900-\\\\uFDCF\\\\uFDF0-\\\\uFFFD\\\\-.0-9\\\\u00B7\\\\u0300-\\\\u036F\\\\u203F-\\\\u2040]*$\"\n  ),\n  illegalAttributeNameCache = {},\n  validatedAttributeNameCache = {};\nfunction isAttributeNameSafe(attributeName) {\n  if (hasOwnProperty.call(validatedAttributeNameCache, attributeName))\n    return !0;\n  if (hasOwnProperty.call(illegalAttributeNameCache, attributeName)) return !1;\n  if (VALID_ATTRIBUTE_NAME_REGEX.test(attributeName))\n    return (validatedAttributeNameCache[attributeName] = !0);\n  illegalAttributeNameCache[attributeName] = !0;\n  return !1;\n}\nvar viewTransitionMutationContext = !1;\nfunction pushMutationContext() {\n  var prev = viewTransitionMutationContext;\n  viewTransitionMutationContext = !1;\n  return prev;\n}\nfunction setValueForAttribute(node, name, value) {\n  if (isAttributeNameSafe(name))\n    if (null === value) node.removeAttribute(name);\n    else {\n      switch (typeof value) {\n        case \"undefined\":\n        case \"function\":\n        case \"symbol\":\n          node.removeAttribute(name);\n          return;\n        case \"boolean\":\n          var prefix$10 = name.toLowerCase().slice(0, 5);\n          if (\"data-\" !== prefix$10 && \"aria-\" !== prefix$10) {\n            node.removeAttribute(name);\n            return;\n          }\n      }\n      node.setAttribute(name, value);\n    }\n}\nfunction setValueForKnownAttribute(node, name, value) {\n  if (null === value) node.removeAttribute(name);\n  else {\n    switch (typeof value) {\n      case \"undefined\":\n      case \"function\":\n      case \"symbol\":\n      case \"boolean\":\n        node.removeAttribute(name);\n        return;\n    }\n    node.setAttribute(name, value);\n  }\n}\nfunction setValueForNamespacedAttribute(node, namespace, name, value) {\n  if (null === value) node.removeAttribute(name);\n  else {\n    switch (typeof value) {\n      case \"undefined\":\n      case \"function\":\n      case \"symbol\":\n      case \"boolean\":\n        node.removeAttribute(name);\n        return;\n    }\n    node.setAttributeNS(namespace, name, value);\n  }\n}\nfunction getToStringValue(value) {\n  switch (typeof value) {\n    case \"bigint\":\n    case \"boolean\":\n    case \"number\":\n    case \"string\":\n    case \"undefined\":\n      return value;\n    case \"object\":\n      return value;\n    default:\n      return \"\";\n  }\n}\nfunction isCheckable(elem) {\n  var type = elem.type;\n  return (\n    (elem = elem.nodeName) &&\n    \"input\" === elem.toLowerCase() &&\n    (\"checkbox\" === type || \"radio\" === type)\n  );\n}\nfunction trackValueOnNode(node, valueField, currentValue) {\n  var descriptor = Object.getOwnPropertyDescriptor(\n    node.constructor.prototype,\n    valueField\n  );\n  if (\n    !node.hasOwnProperty(valueField) &&\n    \"undefined\" !== typeof descriptor &&\n    \"function\" === typeof descriptor.get &&\n    \"function\" === typeof descriptor.set\n  ) {\n    var get = descriptor.get,\n      set = descriptor.set;\n    Object.defineProperty(node, valueField, {\n      configurable: !0,\n      get: function () {\n        return get.call(this);\n      },\n      set: function (value) {\n        currentValue = \"\" + value;\n        set.call(this, value);\n      }\n    });\n    Object.defineProperty(node, valueField, {\n      enumerable: descriptor.enumerable\n    });\n    return {\n      getValue: function () {\n        return currentValue;\n      },\n      setValue: function (value) {\n        currentValue = \"\" + value;\n      },\n      stopTracking: function () {\n        node._valueTracker = null;\n        delete node[valueField];\n      }\n    };\n  }\n}\nfunction track(node) {\n  if (!node._valueTracker) {\n    var valueField = isCheckable(node) ? \"checked\" : \"value\";\n    node._valueTracker = trackValueOnNode(\n      node,\n      valueField,\n      \"\" + node[valueField]\n    );\n  }\n}\nfunction updateValueIfChanged(node) {\n  if (!node) return !1;\n  var tracker = node._valueTracker;\n  if (!tracker) return !0;\n  var lastValue = tracker.getValue();\n  var value = \"\";\n  node &&\n    (value = isCheckable(node)\n      ? node.checked\n        ? \"true\"\n        : \"false\"\n      : node.value);\n  node = value;\n  return node !== lastValue ? (tracker.setValue(node), !0) : !1;\n}\nvar escapeSelectorAttributeValueInsideDoubleQuotesRegex = /[\\n\"\\\\]/g;\nfunction escapeSelectorAttributeValueInsideDoubleQuotes(value) {\n  return value.replace(\n    escapeSelectorAttributeValueInsideDoubleQuotesRegex,\n    function (ch) {\n      return \"\\\\\" + ch.charCodeAt(0).toString(16) + \" \";\n    }\n  );\n}\nfunction updateInput(\n  element,\n  value,\n  defaultValue,\n  lastDefaultValue,\n  checked,\n  defaultChecked,\n  type,\n  name\n) {\n  element.name = \"\";\n  null != type &&\n  \"function\" !== typeof type &&\n  \"symbol\" !== typeof type &&\n  \"boolean\" !== typeof type\n    ? (element.type = type)\n    : element.removeAttribute(\"type\");\n  if (null != value)\n    if (\"number\" === type) {\n      if ((0 === value && \"\" === element.value) || element.value != value)\n        element.value = \"\" + getToStringValue(value);\n    } else\n      element.value !== \"\" + getToStringValue(value) &&\n        (element.value = \"\" + getToStringValue(value));\n  else\n    (\"submit\" !== type && \"reset\" !== type) || element.removeAttribute(\"value\");\n  null != value\n    ? \"number\" === type && element.value == value\n      ? setDefaultValue(element, getToStringValue(element.value))\n      : setDefaultValue(element, getToStringValue(value))\n    : null != defaultValue\n      ? setDefaultValue(element, getToStringValue(defaultValue))\n      : null != lastDefaultValue && element.removeAttribute(\"value\");\n  null == checked &&\n    null != defaultChecked &&\n    (element.defaultChecked = !!defaultChecked);\n  null != checked &&\n    (element.checked =\n      checked && \"function\" !== typeof checked && \"symbol\" !== typeof checked);\n  null != name &&\n  \"function\" !== typeof name &&\n  \"symbol\" !== typeof name &&\n  \"boolean\" !== typeof name\n    ? (element.name = \"\" + getToStringValue(name))\n    : element.removeAttribute(\"name\");\n}\nfunction initInput(\n  element,\n  value,\n  defaultValue,\n  checked,\n  defaultChecked,\n  type,\n  name,\n  isHydrating\n) {\n  null != type &&\n    \"function\" !== typeof type &&\n    \"symbol\" !== typeof type &&\n    \"boolean\" !== typeof type &&\n    (element.type = type);\n  if (null != value || null != defaultValue) {\n    if (\n      !(\n        (\"submit\" !== type && \"reset\" !== type) ||\n        (void 0 !== value && null !== value)\n      )\n    ) {\n      track(element);\n      return;\n    }\n    defaultValue =\n      null != defaultValue ? \"\" + getToStringValue(defaultValue) : \"\";\n    value = null != value ? \"\" + getToStringValue(value) : defaultValue;\n    isHydrating || value === element.value || (element.value = value);\n    element.defaultValue = value;\n  }\n  checked = null != checked ? checked : defaultChecked;\n  checked =\n    \"function\" !== typeof checked && \"symbol\" !== typeof checked && !!checked;\n  element.checked = isHydrating ? element.checked : !!checked;\n  element.defaultChecked = !!checked;\n  null != name &&\n    \"function\" !== typeof name &&\n    \"symbol\" !== typeof name &&\n    \"boolean\" !== typeof name &&\n    (element.name = name);\n  track(element);\n}\nfunction setDefaultValue(node, value) {\n  node.defaultValue !== \"\" + value && (node.defaultValue = \"\" + value);\n}\nfunction updateOptions(node, multiple, propValue, setDefaultSelected) {\n  node = node.options;\n  if (multiple) {\n    multiple = {};\n    for (var i = 0; i < propValue.length; i++)\n      multiple[\"$\" + propValue[i]] = !0;\n    for (propValue = 0; propValue < node.length; propValue++)\n      (i = multiple.hasOwnProperty(\"$\" + node[propValue].value)),\n        node[propValue].selected !== i && (node[propValue].selected = i),\n        i && setDefaultSelected && (node[propValue].defaultSelected = !0);\n  } else {\n    propValue = \"\" + getToStringValue(propValue);\n    multiple = null;\n    for (i = 0; i < node.length; i++) {\n      if (node[i].value === propValue) {\n        node[i].selected = !0;\n        setDefaultSelected && (node[i].defaultSelected = !0);\n        return;\n      }\n      null !== multiple || node[i].disabled || (multiple = node[i]);\n    }\n    null !== multiple && (multiple.selected = !0);\n  }\n}\nfunction updateTextarea(element, value, defaultValue) {\n  if (\n    null != value &&\n    ((value = \"\" + getToStringValue(value)),\n    value !== element.value && (element.value = value),\n    null == defaultValue)\n  ) {\n    element.defaultValue !== value && (element.defaultValue = value);\n    return;\n  }\n  element.defaultValue =\n    null != defaultValue ? \"\" + getToStringValue(defaultValue) : \"\";\n}\nfunction initTextarea(element, value, defaultValue, children) {\n  if (null == value) {\n    if (null != children) {\n      if (null != defaultValue) throw Error(formatProdErrorMessage(92));\n      if (isArrayImpl(children)) {\n        if (1 < children.length) throw Error(formatProdErrorMessage(93));\n        children = children[0];\n      }\n      defaultValue = children;\n    }\n    null == defaultValue && (defaultValue = \"\");\n    value = defaultValue;\n  }\n  defaultValue = getToStringValue(value);\n  element.defaultValue = defaultValue;\n  children = element.textContent;\n  children === defaultValue &&\n    \"\" !== children &&\n    null !== children &&\n    (element.value = children);\n  track(element);\n}\nfunction setTextContent(node, text) {\n  if (text) {\n    var firstChild = node.firstChild;\n    if (\n      firstChild &&\n      firstChild === node.lastChild &&\n      3 === firstChild.nodeType\n    ) {\n      firstChild.nodeValue = text;\n      return;\n    }\n  }\n  node.textContent = text;\n}\nvar unitlessNumbers = new Set(\n  \"animationIterationCount aspectRatio borderImageOutset borderImageSlice borderImageWidth boxFlex boxFlexGroup boxOrdinalGroup columnCount columns flex flexGrow flexPositive flexShrink flexNegative flexOrder gridArea gridRow gridRowEnd gridRowSpan gridRowStart gridColumn gridColumnEnd gridColumnSpan gridColumnStart fontWeight lineClamp lineHeight opacity order orphans scale tabSize widows zIndex zoom fillOpacity floodOpacity stopOpacity strokeDasharray strokeDashoffset strokeMiterlimit strokeOpacity strokeWidth MozAnimationIterationCount MozBoxFlex MozBoxFlexGroup MozLineClamp msAnimationIterationCount msFlex msZoom msFlexGrow msFlexNegative msFlexOrder msFlexPositive msFlexShrink msGridColumn msGridColumnSpan msGridRow msGridRowSpan WebkitAnimationIterationCount WebkitBoxFlex WebKitBoxFlexGroup WebkitBoxOrdinalGroup WebkitColumnCount WebkitColumns WebkitFlex WebkitFlexGrow WebkitFlexPositive WebkitFlexShrink WebkitLineClamp\".split(\n    \" \"\n  )\n);\nfunction setValueForStyle(style, styleName, value) {\n  var isCustomProperty = 0 === styleName.indexOf(\"--\");\n  null == value || \"boolean\" === typeof value || \"\" === value\n    ? isCustomProperty\n      ? style.setProperty(styleName, \"\")\n      : \"float\" === styleName\n        ? (style.cssFloat = \"\")\n        : (style[styleName] = \"\")\n    : isCustomProperty\n      ? style.setProperty(styleName, value)\n      : \"number\" !== typeof value ||\n          0 === value ||\n          unitlessNumbers.has(styleName)\n        ? \"float\" === styleName\n          ? (style.cssFloat = value)\n          : (style[styleName] = (\"\" + value).trim())\n        : (style[styleName] = value + \"px\");\n}\nfunction setValueForStyles(node, styles, prevStyles) {\n  if (null != styles && \"object\" !== typeof styles)\n    throw Error(formatProdErrorMessage(62));\n  node = node.style;\n  if (null != prevStyles) {\n    for (var styleName in prevStyles)\n      !prevStyles.hasOwnProperty(styleName) ||\n        (null != styles && styles.hasOwnProperty(styleName)) ||\n        (0 === styleName.indexOf(\"--\")\n          ? node.setProperty(styleName, \"\")\n          : \"float\" === styleName\n            ? (node.cssFloat = \"\")\n            : (node[styleName] = \"\"),\n        (viewTransitionMutationContext = !0));\n    for (var styleName$16 in styles)\n      (styleName = styles[styleName$16]),\n        styles.hasOwnProperty(styleName$16) &&\n          prevStyles[styleName$16] !== styleName &&\n          (setValueForStyle(node, styleName$16, styleName),\n          (viewTransitionMutationContext = !0));\n  } else\n    for (var styleName$17 in styles)\n      styles.hasOwnProperty(styleName$17) &&\n        setValueForStyle(node, styleName$17, styles[styleName$17]);\n}\nfunction isCustomElement(tagName) {\n  if (-1 === tagName.indexOf(\"-\")) return !1;\n  switch (tagName) {\n    case \"annotation-xml\":\n    case \"color-profile\":\n    case \"font-face\":\n    case \"font-face-src\":\n    case \"font-face-uri\":\n    case \"font-face-format\":\n    case \"font-face-name\":\n    case \"missing-glyph\":\n      return !1;\n    default:\n      return !0;\n  }\n}\nvar aliases = new Map([\n    [\"acceptCharset\", \"accept-charset\"],\n    [\"htmlFor\", \"for\"],\n    [\"httpEquiv\", \"http-equiv\"],\n    [\"crossOrigin\", \"crossorigin\"],\n    [\"accentHeight\", \"accent-height\"],\n    [\"alignmentBaseline\", \"alignment-baseline\"],\n    [\"arabicForm\", \"arabic-form\"],\n    [\"baselineShift\", \"baseline-shift\"],\n    [\"capHeight\", \"cap-height\"],\n    [\"clipPath\", \"clip-path\"],\n    [\"clipRule\", \"clip-rule\"],\n    [\"colorInterpolation\", \"color-interpolation\"],\n    [\"colorInterpolationFilters\", \"color-interpolation-filters\"],\n    [\"colorProfile\", \"color-profile\"],\n    [\"colorRendering\", \"color-rendering\"],\n    [\"dominantBaseline\", \"dominant-baseline\"],\n    [\"enableBackground\", \"enable-background\"],\n    [\"fillOpacity\", \"fill-opacity\"],\n    [\"fillRule\", \"fill-rule\"],\n    [\"floodColor\", \"flood-color\"],\n    [\"floodOpacity\", \"flood-opacity\"],\n    [\"fontFamily\", \"font-family\"],\n    [\"fontSize\", \"font-size\"],\n    [\"fontSizeAdjust\", \"font-size-adjust\"],\n    [\"fontStretch\", \"font-stretch\"],\n    [\"fontStyle\", \"font-style\"],\n    [\"fontVariant\", \"font-variant\"],\n    [\"fontWeight\", \"font-weight\"],\n    [\"glyphName\", \"glyph-name\"],\n    [\"glyphOrientationHorizontal\", \"glyph-orientation-horizontal\"],\n    [\"glyphOrientationVertical\", \"glyph-orientation-vertical\"],\n    [\"horizAdvX\", \"horiz-adv-x\"],\n    [\"horizOriginX\", \"horiz-origin-x\"],\n    [\"imageRendering\", \"image-rendering\"],\n    [\"letterSpacing\", \"letter-spacing\"],\n    [\"lightingColor\", \"lighting-color\"],\n    [\"markerEnd\", \"marker-end\"],\n    [\"markerMid\", \"marker-mid\"],\n    [\"markerStart\", \"marker-start\"],\n    [\"maskType\", \"mask-type\"],\n    [\"overlinePosition\", \"overline-position\"],\n    [\"overlineThickness\", \"overline-thickness\"],\n    [\"paintOrder\", \"paint-order\"],\n    [\"panose-1\", \"panose-1\"],\n    [\"pointerEvents\", \"pointer-events\"],\n    [\"renderingIntent\", \"rendering-intent\"],\n    [\"shapeRendering\", \"shape-rendering\"],\n    [\"stopColor\", \"stop-color\"],\n    [\"stopOpacity\", \"stop-opacity\"],\n    [\"strikethroughPosition\", \"strikethrough-position\"],\n    [\"strikethroughThickness\", \"strikethrough-thickness\"],\n    [\"strokeDasharray\", \"stroke-dasharray\"],\n    [\"strokeDashoffset\", \"stroke-dashoffset\"],\n    [\"strokeLinecap\", \"stroke-linecap\"],\n    [\"strokeLinejoin\", \"stroke-linejoin\"],\n    [\"strokeMiterlimit\", \"stroke-miterlimit\"],\n    [\"strokeOpacity\", \"stroke-opacity\"],\n    [\"strokeWidth\", \"stroke-width\"],\n    [\"textAnchor\", \"text-anchor\"],\n    [\"textDecoration\", \"text-decoration\"],\n    [\"textRendering\", \"text-rendering\"],\n    [\"transformOrigin\", \"transform-origin\"],\n    [\"underlinePosition\", \"underline-position\"],\n    [\"underlineThickness\", \"underline-thickness\"],\n    [\"unicodeBidi\", \"unicode-bidi\"],\n    [\"unicodeRange\", \"unicode-range\"],\n    [\"unitsPerEm\", \"units-per-em\"],\n    [\"vAlphabetic\", \"v-alphabetic\"],\n    [\"vHanging\", \"v-hanging\"],\n    [\"vIdeographic\", \"v-ideographic\"],\n    [\"vMathematical\", \"v-mathematical\"],\n    [\"vectorEffect\", \"vector-effect\"],\n    [\"vertAdvY\", \"vert-adv-y\"],\n    [\"vertOriginX\", \"vert-origin-x\"],\n    [\"vertOriginY\", \"vert-origin-y\"],\n    [\"wordSpacing\", \"word-spacing\"],\n    [\"writingMode\", \"writing-mode\"],\n    [\"xmlnsXlink\", \"xmlns:xlink\"],\n    [\"xHeight\", \"x-height\"]\n  ]),\n  isJavaScriptProtocol =\n    /^[\\u0000-\\u001F ]*j[\\r\\n\\t]*a[\\r\\n\\t]*v[\\r\\n\\t]*a[\\r\\n\\t]*s[\\r\\n\\t]*c[\\r\\n\\t]*r[\\r\\n\\t]*i[\\r\\n\\t]*p[\\r\\n\\t]*t[\\r\\n\\t]*:/i;\nfunction sanitizeURL(url) {\n  return isJavaScriptProtocol.test(\"\" + url)\n    ? \"javascript:throw new Error('React has blocked a javascript: URL as a security precaution.')\"\n    : url;\n}\nfunction noop$1() {}\nvar currentReplayingEvent = null;\nfunction getEventTarget(nativeEvent) {\n  nativeEvent = nativeEvent.target || nativeEvent.srcElement || window;\n  nativeEvent.correspondingUseElement &&\n    (nativeEvent = nativeEvent.correspondingUseElement);\n  return 3 === nativeEvent.nodeType ? nativeEvent.parentNode : nativeEvent;\n}\nvar restoreTarget = null,\n  restoreQueue = null;\nfunction restoreStateOfTarget(target) {\n  var internalInstance = getInstanceFromNode(target);\n  if (internalInstance && (target = internalInstance.stateNode)) {\n    var props = target[internalPropsKey] || null;\n    a: switch (((target = internalInstance.stateNode), internalInstance.type)) {\n      case \"input\":\n        updateInput(\n          target,\n          props.value,\n          props.defaultValue,\n          props.defaultValue,\n          props.checked,\n          props.defaultChecked,\n          props.type,\n          props.name\n        );\n        internalInstance = props.name;\n        if (\"radio\" === props.type && null != internalInstance) {\n          for (props = target; props.parentNode; ) props = props.parentNode;\n          props = props.querySelectorAll(\n            'input[name=\"' +\n              escapeSelectorAttributeValueInsideDoubleQuotes(\n                \"\" + internalInstance\n              ) +\n              '\"][type=\"radio\"]'\n          );\n          for (\n            internalInstance = 0;\n            internalInstance < props.length;\n            internalInstance++\n          ) {\n            var otherNode = props[internalInstance];\n            if (otherNode !== target && otherNode.form === target.form) {\n              var otherProps = otherNode[internalPropsKey] || null;\n              if (!otherProps) throw Error(formatProdErrorMessage(90));\n              updateInput(\n                otherNode,\n                otherProps.value,\n                otherProps.defaultValue,\n                otherProps.defaultValue,\n                otherProps.checked,\n                otherProps.defaultChecked,\n                otherProps.type,\n                otherProps.name\n              );\n            }\n          }\n          for (\n            internalInstance = 0;\n            internalInstance < props.length;\n            internalInstance++\n          )\n            (otherNode = props[internalInstance]),\n              otherNode.form === target.form && updateValueIfChanged(otherNode);\n        }\n        break a;\n      case \"textarea\":\n        updateTextarea(target, props.value, props.defaultValue);\n        break a;\n      case \"select\":\n        (internalInstance = props.value),\n          null != internalInstance &&\n            updateOptions(target, !!props.multiple, internalInstance, !1);\n    }\n  }\n}\nvar isInsideEventHandler = !1;\nfunction batchedUpdates$1(fn, a, b) {\n  if (isInsideEventHandler) return fn(a, b);\n  isInsideEventHandler = !0;\n  try {\n    var JSCompiler_inline_result = fn(a);\n    return JSCompiler_inline_result;\n  } finally {\n    if (\n      ((isInsideEventHandler = !1),\n      null !== restoreTarget || null !== restoreQueue)\n    )\n      if (\n        (flushSyncWork$1(),\n        restoreTarget &&\n          ((a = restoreTarget),\n          (fn = restoreQueue),\n          (restoreQueue = restoreTarget = null),\n          restoreStateOfTarget(a),\n          fn))\n      )\n        for (a = 0; a < fn.length; a++) restoreStateOfTarget(fn[a]);\n  }\n}\nfunction getListener(inst, registrationName) {\n  var stateNode = inst.stateNode;\n  if (null === stateNode) return null;\n  var props = stateNode[internalPropsKey] || null;\n  if (null === props) return null;\n  stateNode = props[registrationName];\n  a: switch (registrationName) {\n    case \"onClick\":\n    case \"onClickCapture\":\n    case \"onDoubleClick\":\n    case \"onDoubleClickCapture\":\n    case \"onMouseDown\":\n    case \"onMouseDownCapture\":\n    case \"onMouseMove\":\n    case \"onMouseMoveCapture\":\n    case \"onMouseUp\":\n    case \"onMouseUpCapture\":\n    case \"onMouseEnter\":\n      (props = !props.disabled) ||\n        ((inst = inst.type),\n        (props = !(\n          \"button\" === inst ||\n          \"input\" === inst ||\n          \"select\" === inst ||\n          \"textarea\" === inst\n        )));\n      inst = !props;\n      break a;\n    default:\n      inst = !1;\n  }\n  if (inst) return null;\n  if (stateNode && \"function\" !== typeof stateNode)\n    throw Error(\n      formatProdErrorMessage(231, registrationName, typeof stateNode)\n    );\n  return stateNode;\n}\nvar canUseDOM = !(\n    \"undefined\" === typeof window ||\n    \"undefined\" === typeof window.document ||\n    \"undefined\" === typeof window.document.createElement\n  ),\n  passiveBrowserEventsSupported = !1;\nif (canUseDOM)\n  try {\n    var options = {};\n    Object.defineProperty(options, \"passive\", {\n      get: function () {\n        passiveBrowserEventsSupported = !0;\n      }\n    });\n    window.addEventListener(\"test\", options, options);\n    window.removeEventListener(\"test\", options, options);\n  } catch (e) {\n    passiveBrowserEventsSupported = !1;\n  }\nvar root = null,\n  startText = null,\n  fallbackText = null;\nfunction getData() {\n  if (fallbackText) return fallbackText;\n  var start,\n    startValue = startText,\n    startLength = startValue.length,\n    end,\n    endValue = \"value\" in root ? root.value : root.textContent,\n    endLength = endValue.length;\n  for (\n    start = 0;\n    start < startLength && startValue[start] === endValue[start];\n    start++\n  );\n  var minEnd = startLength - start;\n  for (\n    end = 1;\n    end <= minEnd &&\n    startValue[startLength - end] === endValue[endLength - end];\n    end++\n  );\n  return (fallbackText = endValue.slice(start, 1 < end ? 1 - end : void 0));\n}\nfunction getEventCharCode(nativeEvent) {\n  var keyCode = nativeEvent.keyCode;\n  \"charCode\" in nativeEvent\n    ? ((nativeEvent = nativeEvent.charCode),\n      0 === nativeEvent && 13 === keyCode && (nativeEvent = 13))\n    : (nativeEvent = keyCode);\n  10 === nativeEvent && (nativeEvent = 13);\n  return 32 <= nativeEvent || 13 === nativeEvent ? nativeEvent : 0;\n}\nfunction functionThatReturnsTrue() {\n  return !0;\n}\nfunction functionThatReturnsFalse() {\n  return !1;\n}\nfunction createSyntheticEvent(Interface) {\n  function SyntheticBaseEvent(\n    reactName,\n    reactEventType,\n    targetInst,\n    nativeEvent,\n    nativeEventTarget\n  ) {\n    this._reactName = reactName;\n    this._targetInst = targetInst;\n    this.type = reactEventType;\n    this.nativeEvent = nativeEvent;\n    this.target = nativeEventTarget;\n    this.currentTarget = null;\n    for (var propName in Interface)\n      Interface.hasOwnProperty(propName) &&\n        ((reactName = Interface[propName]),\n        (this[propName] = reactName\n          ? reactName(nativeEvent)\n          : nativeEvent[propName]));\n    this.isDefaultPrevented = (\n      null != nativeEvent.defaultPrevented\n        ? nativeEvent.defaultPrevented\n        : !1 === nativeEvent.returnValue\n    )\n      ? functionThatReturnsTrue\n      : functionThatReturnsFalse;\n    this.isPropagationStopped = functionThatReturnsFalse;\n    return this;\n  }\n  assign(SyntheticBaseEvent.prototype, {\n    preventDefault: function () {\n      this.defaultPrevented = !0;\n      var event = this.nativeEvent;\n      event &&\n        (event.preventDefault\n          ? event.preventDefault()\n          : \"unknown\" !== typeof event.returnValue && (event.returnValue = !1),\n        (this.isDefaultPrevented = functionThatReturnsTrue));\n    },\n    stopPropagation: function () {\n      var event = this.nativeEvent;\n      event &&\n        (event.stopPropagation\n          ? event.stopPropagation()\n          : \"unknown\" !== typeof event.cancelBubble &&\n            (event.cancelBubble = !0),\n        (this.isPropagationStopped = functionThatReturnsTrue));\n    },\n    persist: function () {},\n    isPersistent: functionThatReturnsTrue\n  });\n  return SyntheticBaseEvent;\n}\nvar EventInterface = {\n    eventPhase: 0,\n    bubbles: 0,\n    cancelable: 0,\n    timeStamp: function (event) {\n      return event.timeStamp || Date.now();\n    },\n    defaultPrevented: 0,\n    isTrusted: 0\n  },\n  SyntheticEvent = createSyntheticEvent(EventInterface),\n  UIEventInterface = assign({}, EventInterface, { view: 0, detail: 0 }),\n  SyntheticUIEvent = createSyntheticEvent(UIEventInterface),\n  lastMovementX,\n  lastMovementY,\n  lastMouseEvent,\n  MouseEventInterface = assign({}, UIEventInterface, {\n    screenX: 0,\n    screenY: 0,\n    clientX: 0,\n    clientY: 0,\n    pageX: 0,\n    pageY: 0,\n    ctrlKey: 0,\n    shiftKey: 0,\n    altKey: 0,\n    metaKey: 0,\n    getModifierState: getEventModifierState,\n    button: 0,\n    buttons: 0,\n    relatedTarget: function (event) {\n      return void 0 === event.relatedTarget\n        ? event.fromElement === event.srcElement\n          ? event.toElement\n          : event.fromElement\n        : event.relatedTarget;\n    },\n    movementX: function (event) {\n      if (\"movementX\" in event) return event.movementX;\n      event !== lastMouseEvent &&\n        (lastMouseEvent && \"mousemove\" === event.type\n          ? ((lastMovementX = event.screenX - lastMouseEvent.screenX),\n            (lastMovementY = event.screenY - lastMouseEvent.screenY))\n          : (lastMovementY = lastMovementX = 0),\n        (lastMouseEvent = event));\n      return lastMovementX;\n    },\n    movementY: function (event) {\n      return \"movementY\" in event ? event.movementY : lastMovementY;\n    }\n  }),\n  SyntheticMouseEvent = createSyntheticEvent(MouseEventInterface),\n  DragEventInterface = assign({}, MouseEventInterface, { dataTransfer: 0 }),\n  SyntheticDragEvent = createSyntheticEvent(DragEventInterface),\n  FocusEventInterface = assign({}, UIEventInterface, { relatedTarget: 0 }),\n  SyntheticFocusEvent = createSyntheticEvent(FocusEventInterface),\n  AnimationEventInterface = assign({}, EventInterface, {\n    animationName: 0,\n    elapsedTime: 0,\n    pseudoElement: 0\n  }),\n  SyntheticAnimationEvent = createSyntheticEvent(AnimationEventInterface),\n  ClipboardEventInterface = assign({}, EventInterface, {\n    clipboardData: function (event) {\n      return \"clipboardData\" in event\n        ? event.clipboardData\n        : window.clipboardData;\n    }\n  }),\n  SyntheticClipboardEvent = createSyntheticEvent(ClipboardEventInterface),\n  CompositionEventInterface = assign({}, EventInterface, { data: 0 }),\n  SyntheticCompositionEvent = createSyntheticEvent(CompositionEventInterface),\n  normalizeKey = {\n    Esc: \"Escape\",\n    Spacebar: \" \",\n    Left: \"ArrowLeft\",\n    Up: \"ArrowUp\",\n    Right: \"ArrowRight\",\n    Down: \"ArrowDown\",\n    Del: \"Delete\",\n    Win: \"OS\",\n    Menu: \"ContextMenu\",\n    Apps: \"ContextMenu\",\n    Scroll: \"ScrollLock\",\n    MozPrintableKey: \"Unidentified\"\n  },\n  translateToKey = {\n    8: \"Backspace\",\n    9: \"Tab\",\n    12: \"Clear\",\n    13: \"Enter\",\n    16: \"Shift\",\n    17: \"Control\",\n    18: \"Alt\",\n    19: \"Pause\",\n    20: \"CapsLock\",\n    27: \"Escape\",\n    32: \" \",\n    33: \"PageUp\",\n    34: \"PageDown\",\n    35: \"End\",\n    36: \"Home\",\n    37: \"ArrowLeft\",\n    38: \"ArrowUp\",\n    39: \"ArrowRight\",\n    40: \"ArrowDown\",\n    45: \"Insert\",\n    46: \"Delete\",\n    112: \"F1\",\n    113: \"F2\",\n    114: \"F3\",\n    115: \"F4\",\n    116: \"F5\",\n    117: \"F6\",\n    118: \"F7\",\n    119: \"F8\",\n    120: \"F9\",\n    121: \"F10\",\n    122: \"F11\",\n    123: \"F12\",\n    144: \"NumLock\",\n    145: \"ScrollLock\",\n    224: \"Meta\"\n  },\n  modifierKeyToProp = {\n    Alt: \"altKey\",\n    Control: \"ctrlKey\",\n    Meta: \"metaKey\",\n    Shift: \"shiftKey\"\n  };\nfunction modifierStateGetter(keyArg) {\n  var nativeEvent = this.nativeEvent;\n  return nativeEvent.getModifierState\n    ? nativeEvent.getModifierState(keyArg)\n    : (keyArg = modifierKeyToProp[keyArg])\n      ? !!nativeEvent[keyArg]\n      : !1;\n}\nfunction getEventModifierState() {\n  return modifierStateGetter;\n}\nvar KeyboardEventInterface = assign({}, UIEventInterface, {\n    key: function (nativeEvent) {\n      if (nativeEvent.key) {\n        var key = normalizeKey[nativeEvent.key] || nativeEvent.key;\n        if (\"Unidentified\" !== key) return key;\n      }\n      return \"keypress\" === nativeEvent.type\n        ? ((nativeEvent = getEventCharCode(nativeEvent)),\n          13 === nativeEvent ? \"Enter\" : String.fromCharCode(nativeEvent))\n        : \"keydown\" === nativeEvent.type || \"keyup\" === nativeEvent.type\n          ? translateToKey[nativeEvent.keyCode] || \"Unidentified\"\n          : \"\";\n    },\n    code: 0,\n    location: 0,\n    ctrlKey: 0,\n    shiftKey: 0,\n    altKey: 0,\n    metaKey: 0,\n    repeat: 0,\n    locale: 0,\n    getModifierState: getEventModifierState,\n    charCode: function (event) {\n      return \"keypress\" === event.type ? getEventCharCode(event) : 0;\n    },\n    keyCode: function (event) {\n      return \"keydown\" === event.type || \"keyup\" === event.type\n        ? event.keyCode\n        : 0;\n    },\n    which: function (event) {\n      return \"keypress\" === event.type\n        ? getEventCharCode(event)\n        : \"keydown\" === event.type || \"keyup\" === event.type\n          ? event.keyCode\n          : 0;\n    }\n  }),\n  SyntheticKeyboardEvent = createSyntheticEvent(KeyboardEventInterface),\n  PointerEventInterface = assign({}, MouseEventInterface, {\n    pointerId: 0,\n    width: 0,\n    height: 0,\n    pressure: 0,\n    tangentialPressure: 0,\n    tiltX: 0,\n    tiltY: 0,\n    twist: 0,\n    pointerType: 0,\n    isPrimary: 0\n  }),\n  SyntheticPointerEvent = createSyntheticEvent(PointerEventInterface),\n  SubmitEventInterface = assign({}, EventInterface, { submitter: 0 }),\n  SyntheticSubmitEvent = createSyntheticEvent(SubmitEventInterface),\n  TouchEventInterface = assign({}, UIEventInterface, {\n    touches: 0,\n    targetTouches: 0,\n    changedTouches: 0,\n    altKey: 0,\n    metaKey: 0,\n    ctrlKey: 0,\n    shiftKey: 0,\n    getModifierState: getEventModifierState\n  }),\n  SyntheticTouchEvent = createSyntheticEvent(TouchEventInterface),\n  TransitionEventInterface = assign({}, EventInterface, {\n    propertyName: 0,\n    elapsedTime: 0,\n    pseudoElement: 0\n  }),\n  SyntheticTransitionEvent = createSyntheticEvent(TransitionEventInterface),\n  WheelEventInterface = assign({}, MouseEventInterface, {\n    deltaX: function (event) {\n      return \"deltaX\" in event\n        ? event.deltaX\n        : \"wheelDeltaX\" in event\n          ? -event.wheelDeltaX\n          : 0;\n    },\n    deltaY: function (event) {\n      return \"deltaY\" in event\n        ? event.deltaY\n        : \"wheelDeltaY\" in event\n          ? -event.wheelDeltaY\n          : \"wheelDelta\" in event\n            ? -event.wheelDelta\n            : 0;\n    },\n    deltaZ: 0,\n    deltaMode: 0\n  }),\n  SyntheticWheelEvent = createSyntheticEvent(WheelEventInterface),\n  ToggleEventInterface = assign({}, EventInterface, {\n    newState: 0,\n    oldState: 0\n  }),\n  SyntheticToggleEvent = createSyntheticEvent(ToggleEventInterface),\n  END_KEYCODES = [9, 13, 27, 32],\n  canUseCompositionEvent = canUseDOM && \"CompositionEvent\" in window,\n  documentMode = null;\ncanUseDOM &&\n  \"documentMode\" in document &&\n  (documentMode = document.documentMode);\nvar canUseTextInputEvent = canUseDOM && \"TextEvent\" in window && !documentMode,\n  useFallbackCompositionData =\n    canUseDOM &&\n    (!canUseCompositionEvent ||\n      (documentMode && 8 < documentMode && 11 >= documentMode)),\n  SPACEBAR_CHAR = String.fromCharCode(32),\n  hasSpaceKeypress = !1;\nfunction isFallbackCompositionEnd(domEventName, nativeEvent) {\n  switch (domEventName) {\n    case \"keyup\":\n      return -1 !== END_KEYCODES.indexOf(nativeEvent.keyCode);\n    case \"keydown\":\n      return 229 !== nativeEvent.keyCode;\n    case \"keypress\":\n    case \"mousedown\":\n    case \"focusout\":\n      return !0;\n    default:\n      return !1;\n  }\n}\nfunction getDataFromCustomEvent(nativeEvent) {\n  nativeEvent = nativeEvent.detail;\n  return \"object\" === typeof nativeEvent && \"data\" in nativeEvent\n    ? nativeEvent.data\n    : null;\n}\nvar isComposing = !1;\nfunction getNativeBeforeInputChars(domEventName, nativeEvent) {\n  switch (domEventName) {\n    case \"compositionend\":\n      return getDataFromCustomEvent(nativeEvent);\n    case \"keypress\":\n      if (32 !== nativeEvent.which) return null;\n      hasSpaceKeypress = !0;\n      return SPACEBAR_CHAR;\n    case \"textInput\":\n      return (\n        (domEventName = nativeEvent.data),\n        domEventName === SPACEBAR_CHAR && hasSpaceKeypress ? null : domEventName\n      );\n    default:\n      return null;\n  }\n}\nfunction getFallbackBeforeInputChars(domEventName, nativeEvent) {\n  if (isComposing)\n    return \"compositionend\" === domEventName ||\n      (!canUseCompositionEvent &&\n        isFallbackCompositionEnd(domEventName, nativeEvent))\n      ? ((domEventName = getData()),\n        (fallbackText = startText = root = null),\n        (isComposing = !1),\n        domEventName)\n      : null;\n  switch (domEventName) {\n    case \"paste\":\n      return null;\n    case \"keypress\":\n      if (\n        !(nativeEvent.ctrlKey || nativeEvent.altKey || nativeEvent.metaKey) ||\n        (nativeEvent.ctrlKey && nativeEvent.altKey)\n      ) {\n        if (nativeEvent.char && 1 < nativeEvent.char.length)\n          return nativeEvent.char;\n        if (nativeEvent.which) return String.fromCharCode(nativeEvent.which);\n      }\n      return null;\n    case \"compositionend\":\n      return useFallbackCompositionData && \"ko\" !== nativeEvent.locale\n        ? null\n        : nativeEvent.data;\n    default:\n      return null;\n  }\n}\nvar supportedInputTypes = {\n  color: !0,\n  date: !0,\n  datetime: !0,\n  \"datetime-local\": !0,\n  email: !0,\n  month: !0,\n  number: !0,\n  password: !0,\n  range: !0,\n  search: !0,\n  tel: !0,\n  text: !0,\n  time: !0,\n  url: !0,\n  week: !0\n};\nfunction isTextInputElement(elem) {\n  var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n  return \"input\" === nodeName\n    ? !!supportedInputTypes[elem.type]\n    : \"textarea\" === nodeName\n      ? !0\n      : !1;\n}\nfunction createAndAccumulateChangeEvent(\n  dispatchQueue,\n  inst,\n  nativeEvent,\n  target\n) {\n  restoreTarget\n    ? restoreQueue\n      ? restoreQueue.push(target)\n      : (restoreQueue = [target])\n    : (restoreTarget = target);\n  inst = accumulateTwoPhaseListeners(inst, \"onChange\");\n  0 < inst.length &&\n    ((nativeEvent = new SyntheticEvent(\n      \"onChange\",\n      \"change\",\n      null,\n      nativeEvent,\n      target\n    )),\n    dispatchQueue.push({ event: nativeEvent, listeners: inst }));\n}\nvar activeElement$1 = null,\n  activeElementInst$1 = null;\nfunction runEventInBatch(dispatchQueue) {\n  processDispatchQueue(dispatchQueue, 0);\n}\nfunction getInstIfValueChanged(targetInst) {\n  var targetNode = getNodeFromInstance(targetInst);\n  if (updateValueIfChanged(targetNode)) return targetInst;\n}\nfunction getTargetInstForChangeEvent(domEventName, targetInst) {\n  if (\"change\" === domEventName) return targetInst;\n}\nvar isInputEventSupported = !1;\nif (canUseDOM) {\n  var JSCompiler_inline_result$jscomp$316;\n  if (canUseDOM) {\n    var isSupported$jscomp$inline_476 = \"oninput\" in document;\n    if (!isSupported$jscomp$inline_476) {\n      var element$jscomp$inline_477 = document.createElement(\"div\");\n      element$jscomp$inline_477.setAttribute(\"oninput\", \"return;\");\n      isSupported$jscomp$inline_476 =\n        \"function\" === typeof element$jscomp$inline_477.oninput;\n    }\n    JSCompiler_inline_result$jscomp$316 = isSupported$jscomp$inline_476;\n  } else JSCompiler_inline_result$jscomp$316 = !1;\n  isInputEventSupported =\n    JSCompiler_inline_result$jscomp$316 &&\n    (!document.documentMode || 9 < document.documentMode);\n}\nfunction stopWatchingForValueChange() {\n  activeElement$1 &&\n    (activeElement$1.detachEvent(\"onpropertychange\", handlePropertyChange),\n    (activeElementInst$1 = activeElement$1 = null));\n}\nfunction handlePropertyChange(nativeEvent) {\n  if (\n    \"value\" === nativeEvent.propertyName &&\n    getInstIfValueChanged(activeElementInst$1)\n  ) {\n    var dispatchQueue = [];\n    createAndAccumulateChangeEvent(\n      dispatchQueue,\n      activeElementInst$1,\n      nativeEvent,\n      getEventTarget(nativeEvent)\n    );\n    batchedUpdates$1(runEventInBatch, dispatchQueue);\n  }\n}\nfunction handleEventsForInputEventPolyfill(domEventName, target, targetInst) {\n  \"focusin\" === domEventName\n    ? (stopWatchingForValueChange(),\n      (activeElement$1 = target),\n      (activeElementInst$1 = targetInst),\n      activeElement$1.attachEvent(\"onpropertychange\", handlePropertyChange))\n    : \"focusout\" === domEventName && stopWatchingForValueChange();\n}\nfunction getTargetInstForInputEventPolyfill(domEventName) {\n  if (\n    \"selectionchange\" === domEventName ||\n    \"keyup\" === domEventName ||\n    \"keydown\" === domEventName\n  )\n    return getInstIfValueChanged(activeElementInst$1);\n}\nfunction getTargetInstForClickEvent(domEventName, targetInst) {\n  if (\"click\" === domEventName) return getInstIfValueChanged(targetInst);\n}\nfunction getTargetInstForInputOrChangeEvent(domEventName, targetInst) {\n  if (\"input\" === domEventName || \"change\" === domEventName)\n    return getInstIfValueChanged(targetInst);\n}\nfunction is(x, y) {\n  return (x === y && (0 !== x || 1 / x === 1 / y)) || (x !== x && y !== y);\n}\nvar objectIs = \"function\" === typeof Object.is ? Object.is : is;\nfunction shallowEqual(objA, objB) {\n  if (objectIs(objA, objB)) return !0;\n  if (\n    \"object\" !== typeof objA ||\n    null === objA ||\n    \"object\" !== typeof objB ||\n    null === objB\n  )\n    return !1;\n  var keysA = Object.keys(objA),\n    keysB = Object.keys(objB);\n  if (keysA.length !== keysB.length) return !1;\n  for (keysB = 0; keysB < keysA.length; keysB++) {\n    var currentKey = keysA[keysB];\n    if (\n      !hasOwnProperty.call(objB, currentKey) ||\n      !objectIs(objA[currentKey], objB[currentKey])\n    )\n      return !1;\n  }\n  return !0;\n}\nfunction getActiveElement(doc) {\n  doc = doc || (\"undefined\" !== typeof document ? document : void 0);\n  if (\"undefined\" === typeof doc) return null;\n  try {\n    return doc.activeElement || doc.body;\n  } catch (e$20) {\n    return doc.body;\n  }\n}\nfunction getLeafNode(node) {\n  for (; node && node.firstChild; ) node = node.firstChild;\n  return node;\n}\nfunction getNodeForCharacterOffset(root, offset) {\n  var node = getLeafNode(root);\n  root = 0;\n  for (var nodeEnd; node; ) {\n    if (3 === node.nodeType) {\n      nodeEnd = root + node.textContent.length;\n      if (root <= offset && nodeEnd >= offset)\n        return { node: node, offset: offset - root };\n      root = nodeEnd;\n    }\n    a: {\n      for (; node; ) {\n        if (node.nextSibling) {\n          node = node.nextSibling;\n          break a;\n        }\n        node = node.parentNode;\n      }\n      node = void 0;\n    }\n    node = getLeafNode(node);\n  }\n}\nfunction containsNode(outerNode, innerNode) {\n  return outerNode && innerNode\n    ? outerNode === innerNode\n      ? !0\n      : outerNode && 3 === outerNode.nodeType\n        ? !1\n        : innerNode && 3 === innerNode.nodeType\n          ? containsNode(outerNode, innerNode.parentNode)\n          : \"contains\" in outerNode\n            ? outerNode.contains(innerNode)\n            : outerNode.compareDocumentPosition\n              ? !!(outerNode.compareDocumentPosition(innerNode) & 16)\n              : !1\n    : !1;\n}\nfunction getActiveElementDeep(containerInfo) {\n  containerInfo =\n    null != containerInfo &&\n    null != containerInfo.ownerDocument &&\n    null != containerInfo.ownerDocument.defaultView\n      ? containerInfo.ownerDocument.defaultView\n      : window;\n  for (\n    var element = getActiveElement(containerInfo.document);\n    element instanceof containerInfo.HTMLIFrameElement;\n\n  ) {\n    try {\n      var JSCompiler_inline_result =\n        \"string\" === typeof element.contentWindow.location.href;\n    } catch (err) {\n      JSCompiler_inline_result = !1;\n    }\n    if (JSCompiler_inline_result) containerInfo = element.contentWindow;\n    else break;\n    element = getActiveElement(containerInfo.document);\n  }\n  return element;\n}\nfunction hasSelectionCapabilities(elem) {\n  var nodeName = elem && elem.nodeName && elem.nodeName.toLowerCase();\n  return (\n    nodeName &&\n    ((\"input\" === nodeName &&\n      (\"text\" === elem.type ||\n        \"search\" === elem.type ||\n        \"tel\" === elem.type ||\n        \"url\" === elem.type ||\n        \"password\" === elem.type)) ||\n      \"textarea\" === nodeName ||\n      \"true\" === elem.contentEditable)\n  );\n}\nvar skipSelectionChangeEvent =\n    canUseDOM && \"documentMode\" in document && 11 >= document.documentMode,\n  activeElement = null,\n  activeElementInst = null,\n  lastSelection = null,\n  mouseDown = !1;\nfunction constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget) {\n  var doc =\n    nativeEventTarget.window === nativeEventTarget\n      ? nativeEventTarget.document\n      : 9 === nativeEventTarget.nodeType\n        ? nativeEventTarget\n        : nativeEventTarget.ownerDocument;\n  mouseDown ||\n    null == activeElement ||\n    activeElement !== getActiveElement(doc) ||\n    ((doc = activeElement),\n    \"selectionStart\" in doc && hasSelectionCapabilities(doc)\n      ? (doc = { start: doc.selectionStart, end: doc.selectionEnd })\n      : ((doc = (\n          (doc.ownerDocument && doc.ownerDocument.defaultView) ||\n          window\n        ).getSelection()),\n        (doc = {\n          anchorNode: doc.anchorNode,\n          anchorOffset: doc.anchorOffset,\n          focusNode: doc.focusNode,\n          focusOffset: doc.focusOffset\n        })),\n    (lastSelection && shallowEqual(lastSelection, doc)) ||\n      ((lastSelection = doc),\n      (doc = accumulateTwoPhaseListeners(activeElementInst, \"onSelect\")),\n      0 < doc.length &&\n        ((nativeEvent = new SyntheticEvent(\n          \"onSelect\",\n          \"select\",\n          null,\n          nativeEvent,\n          nativeEventTarget\n        )),\n        dispatchQueue.push({ event: nativeEvent, listeners: doc }),\n        (nativeEvent.target = activeElement))));\n}\nfunction makePrefixMap(styleProp, eventName) {\n  var prefixes = {};\n  prefixes[styleProp.toLowerCase()] = eventName.toLowerCase();\n  prefixes[\"Webkit\" + styleProp] = \"webkit\" + eventName;\n  prefixes[\"Moz\" + styleProp] = \"moz\" + eventName;\n  return prefixes;\n}\nvar vendorPrefixes = {\n    animationend: makePrefixMap(\"Animation\", \"AnimationEnd\"),\n    animationiteration: makePrefixMap(\"Animation\", \"AnimationIteration\"),\n    animationstart: makePrefixMap(\"Animation\", \"AnimationStart\"),\n    transitionrun: makePrefixMap(\"Transition\", \"TransitionRun\"),\n    transitionstart: makePrefixMap(\"Transition\", \"TransitionStart\"),\n    transitioncancel: makePrefixMap(\"Transition\", \"TransitionCancel\"),\n    transitionend: makePrefixMap(\"Transition\", \"TransitionEnd\")\n  },\n  prefixedEventNames = {},\n  style = {};\ncanUseDOM &&\n  ((style = document.createElement(\"div\").style),\n  \"AnimationEvent\" in window ||\n    (delete vendorPrefixes.animationend.animation,\n    delete vendorPrefixes.animationiteration.animation,\n    delete vendorPrefixes.animationstart.animation),\n  \"TransitionEvent\" in window ||\n    delete vendorPrefixes.transitionend.transition);\nfunction getVendorPrefixedEventName(eventName) {\n  if (prefixedEventNames[eventName]) return prefixedEventNames[eventName];\n  if (!vendorPrefixes[eventName]) return eventName;\n  var prefixMap = vendorPrefixes[eventName],\n    styleProp;\n  for (styleProp in prefixMap)\n    if (prefixMap.hasOwnProperty(styleProp) && styleProp in style)\n      return (prefixedEventNames[eventName] = prefixMap[styleProp]);\n  return eventName;\n}\nvar ANIMATION_END = getVendorPrefixedEventName(\"animationend\"),\n  ANIMATION_ITERATION = getVendorPrefixedEventName(\"animationiteration\"),\n  ANIMATION_START = getVendorPrefixedEventName(\"animationstart\"),\n  TRANSITION_RUN = getVendorPrefixedEventName(\"transitionrun\"),\n  TRANSITION_START = getVendorPrefixedEventName(\"transitionstart\"),\n  TRANSITION_CANCEL = getVendorPrefixedEventName(\"transitioncancel\"),\n  TRANSITION_END = getVendorPrefixedEventName(\"transitionend\"),\n  topLevelEventsToReactNames = new Map(),\n  simpleEventPluginEvents =\n    \"abort auxClick beforeToggle cancel canPlay canPlayThrough click close contextMenu copy cut drag dragEnd dragEnter dragExit dragLeave dragOver dragStart drop durationChange emptied encrypted ended error fullscreenChange fullscreenError gotPointerCapture input invalid keyDown keyPress keyUp load loadedData loadedMetadata loadStart lostPointerCapture mouseDown mouseMove mouseOut mouseOver mouseUp paste pause play playing pointerCancel pointerDown pointerMove pointerOut pointerOver pointerUp progress rateChange reset resize seeked seeking stalled submit suspend timeUpdate touchCancel touchEnd touchStart volumeChange scroll toggle touchMove waiting wheel\".split(\n      \" \"\n    );\nsimpleEventPluginEvents.push(\"scrollEnd\");\nfunction registerSimpleEvent(domEventName, reactName) {\n  topLevelEventsToReactNames.set(domEventName, reactName);\n  registerTwoPhaseEvent(reactName, [domEventName]);\n}\nvar globalClientIdCounter$1 = 0;\nfunction getViewTransitionName(props, instance) {\n  if (null != props.name && \"auto\" !== props.name) return props.name;\n  if (null !== instance.autoName) return instance.autoName;\n  props = pendingEffectsRoot.identifierPrefix;\n  var globalClientId = globalClientIdCounter$1++;\n  props = \"_\" + props + \"t_\" + globalClientId.toString(32) + \"_\";\n  return (instance.autoName = props);\n}\nfunction getClassNameByType(classByType) {\n  if (null == classByType || \"string\" === typeof classByType)\n    return classByType;\n  var className = null,\n    activeTypes = pendingTransitionTypes;\n  if (null !== activeTypes)\n    for (var i = 0; i < activeTypes.length; i++) {\n      var match = classByType[activeTypes[i]];\n      if (null != match) {\n        if (\"none\" === match) return \"none\";\n        className = null == className ? match : className + (\" \" + match);\n      }\n    }\n  return null == className ? classByType.default : className;\n}\nfunction getViewTransitionClassName(defaultClass, eventClass) {\n  defaultClass = getClassNameByType(defaultClass);\n  eventClass = getClassNameByType(eventClass);\n  return null == eventClass\n    ? \"auto\" === defaultClass\n      ? null\n      : defaultClass\n    : \"auto\" === eventClass\n      ? null\n      : eventClass;\n}\nvar reportGlobalError =\n    \"function\" === typeof reportError\n      ? reportError\n      : function (error) {\n          if (\n            \"object\" === typeof window &&\n            \"function\" === typeof window.ErrorEvent\n          ) {\n            var event = new window.ErrorEvent(\"error\", {\n              bubbles: !0,\n              cancelable: !0,\n              message:\n                \"object\" === typeof error &&\n                null !== error &&\n                \"string\" === typeof error.message\n                  ? String(error.message)\n                  : String(error),\n              error: error\n            });\n            if (!window.dispatchEvent(event)) return;\n          } else if (\n            \"object\" === typeof process &&\n            \"function\" === typeof process.emit\n          ) {\n            process.emit(\"uncaughtException\", error);\n            return;\n          }\n          console.error(error);\n        },\n  concurrentQueues = [],\n  concurrentQueuesIndex = 0,\n  concurrentlyUpdatedLanes = 0;\nfunction finishQueueingConcurrentUpdates() {\n  for (\n    var endIndex = concurrentQueuesIndex,\n      i = (concurrentlyUpdatedLanes = concurrentQueuesIndex = 0);\n    i < endIndex;\n\n  ) {\n    var fiber = concurrentQueues[i];\n    concurrentQueues[i++] = null;\n    var queue = concurrentQueues[i];\n    concurrentQueues[i++] = null;\n    var update = concurrentQueues[i];\n    concurrentQueues[i++] = null;\n    var lane = concurrentQueues[i];\n    concurrentQueues[i++] = null;\n    if (null !== queue && null !== update) {\n      var pending = queue.pending;\n      null === pending\n        ? (update.next = update)\n        : ((update.next = pending.next), (pending.next = update));\n      queue.pending = update;\n    }\n    0 !== lane && markUpdateLaneFromFiberToRoot(fiber, update, lane);\n  }\n}\nfunction enqueueUpdate$1(fiber, queue, update, lane) {\n  concurrentQueues[concurrentQueuesIndex++] = fiber;\n  concurrentQueues[concurrentQueuesIndex++] = queue;\n  concurrentQueues[concurrentQueuesIndex++] = update;\n  concurrentQueues[concurrentQueuesIndex++] = lane;\n  concurrentlyUpdatedLanes |= lane;\n  fiber.lanes |= lane;\n  fiber = fiber.alternate;\n  null !== fiber && (fiber.lanes |= lane);\n}\nfunction enqueueConcurrentHookUpdate(fiber, queue, update, lane) {\n  enqueueUpdate$1(fiber, queue, update, lane);\n  return getRootForUpdatedFiber(fiber);\n}\nfunction enqueueConcurrentRenderForLane(fiber, lane) {\n  enqueueUpdate$1(fiber, null, null, lane);\n  return getRootForUpdatedFiber(fiber);\n}\nfunction markUpdateLaneFromFiberToRoot(sourceFiber, update, lane) {\n  sourceFiber.lanes |= lane;\n  var alternate = sourceFiber.alternate;\n  null !== alternate && (alternate.lanes |= lane);\n  for (var isHidden = !1, parent = sourceFiber.return; null !== parent; )\n    (parent.childLanes |= lane),\n      (alternate = parent.alternate),\n      null !== alternate && (alternate.childLanes |= lane),\n      22 === parent.tag &&\n        ((sourceFiber = parent.stateNode),\n        null === sourceFiber || sourceFiber._visibility & 1 || (isHidden = !0)),\n      (sourceFiber = parent),\n      (parent = parent.return);\n  return 3 === sourceFiber.tag\n    ? ((parent = sourceFiber.stateNode),\n      isHidden &&\n        null !== update &&\n        ((isHidden = 31 - clz32(lane)),\n        (sourceFiber = parent.hiddenUpdates),\n        (alternate = sourceFiber[isHidden]),\n        null === alternate\n          ? (sourceFiber[isHidden] = [update])\n          : alternate.push(update),\n        (update.lane = lane | 536870912)),\n      parent)\n    : null;\n}\nfunction getRootForUpdatedFiber(sourceFiber) {\n  if (50 < nestedUpdateCount)\n    throw (\n      ((nestedUpdateCount = 0),\n      (rootWithNestedUpdates = null),\n      Error(formatProdErrorMessage(185)))\n    );\n  for (var parent = sourceFiber.return; null !== parent; )\n    (sourceFiber = parent), (parent = sourceFiber.return);\n  return 3 === sourceFiber.tag ? sourceFiber.stateNode : null;\n}\nvar emptyContextObject = {};\nfunction FiberNode(tag, pendingProps, key, mode) {\n  this.tag = tag;\n  this.key = key;\n  this.sibling =\n    this.child =\n    this.return =\n    this.stateNode =\n    this.type =\n    this.elementType =\n      null;\n  this.index = 0;\n  this.refCleanup = this.ref = null;\n  this.pendingProps = pendingProps;\n  this.dependencies =\n    this.memoizedState =\n    this.updateQueue =\n    this.memoizedProps =\n      null;\n  this.mode = mode;\n  this.subtreeFlags = this.flags = 0;\n  this.deletions = null;\n  this.childLanes = this.lanes = 0;\n  this.alternate = null;\n}\nfunction createFiberImplClass(tag, pendingProps, key, mode) {\n  return new FiberNode(tag, pendingProps, key, mode);\n}\nfunction shouldConstruct(Component) {\n  Component = Component.prototype;\n  return !(!Component || !Component.isReactComponent);\n}\nfunction createWorkInProgress(current, pendingProps) {\n  var workInProgress = current.alternate;\n  null === workInProgress\n    ? ((workInProgress = createFiberImplClass(\n        current.tag,\n        pendingProps,\n        current.key,\n        current.mode\n      )),\n      (workInProgress.elementType = current.elementType),\n      (workInProgress.type = current.type),\n      (workInProgress.stateNode = current.stateNode),\n      (workInProgress.alternate = current),\n      (current.alternate = workInProgress))\n    : ((workInProgress.pendingProps = pendingProps),\n      (workInProgress.type = current.type),\n      (workInProgress.flags = 0),\n      (workInProgress.subtreeFlags = 0),\n      (workInProgress.deletions = null));\n  workInProgress.flags = current.flags & 1206910976;\n  workInProgress.childLanes = current.childLanes;\n  workInProgress.lanes = current.lanes;\n  workInProgress.child = current.child;\n  workInProgress.memoizedProps = current.memoizedProps;\n  workInProgress.memoizedState = current.memoizedState;\n  workInProgress.updateQueue = current.updateQueue;\n  pendingProps = current.dependencies;\n  workInProgress.dependencies =\n    null === pendingProps\n      ? null\n      : { lanes: pendingProps.lanes, firstContext: pendingProps.firstContext };\n  workInProgress.sibling = current.sibling;\n  workInProgress.index = current.index;\n  workInProgress.ref = current.ref;\n  workInProgress.refCleanup = current.refCleanup;\n  return workInProgress;\n}\nfunction resetWorkInProgress(workInProgress, renderLanes) {\n  workInProgress.flags &= 1206910978;\n  var current = workInProgress.alternate;\n  null === current\n    ? ((workInProgress.childLanes = 0),\n      (workInProgress.lanes = renderLanes),\n      (workInProgress.child = null),\n      (workInProgress.subtreeFlags = 0),\n      (workInProgress.memoizedProps = null),\n      (workInProgress.memoizedState = null),\n      (workInProgress.updateQueue = null),\n      (workInProgress.dependencies = null),\n      (workInProgress.stateNode = null))\n    : ((workInProgress.childLanes = current.childLanes),\n      (workInProgress.lanes = current.lanes),\n      (workInProgress.child = current.child),\n      (workInProgress.subtreeFlags = 0),\n      (workInProgress.deletions = null),\n      (workInProgress.memoizedProps = current.memoizedProps),\n      (workInProgress.memoizedState = current.memoizedState),\n      (workInProgress.updateQueue = current.updateQueue),\n      (workInProgress.type = current.type),\n      (renderLanes = current.dependencies),\n      (workInProgress.dependencies =\n        null === renderLanes\n          ? null\n          : {\n              lanes: renderLanes.lanes,\n              firstContext: renderLanes.firstContext\n            }));\n  return workInProgress;\n}\nfunction createFiberFromTypeAndProps(\n  type,\n  key,\n  pendingProps,\n  owner,\n  mode,\n  lanes\n) {\n  var fiberTag = 0;\n  owner = type;\n  if (\"function\" === typeof owner) shouldConstruct(owner) && (fiberTag = 1);\n  else if (\"string\" === typeof owner)\n    fiberTag = isHostHoistableType(\n      type,\n      pendingProps,\n      contextStackCursor.current\n    )\n      ? 26\n      : \"html\" === type || \"head\" === type || \"body\" === type\n        ? 27\n        : 5;\n  else\n    a: switch (owner) {\n      case REACT_ACTIVITY_TYPE:\n        return (\n          (type = createFiberImplClass(31, pendingProps, key, mode)),\n          (type.elementType = REACT_ACTIVITY_TYPE),\n          (type.lanes = lanes),\n          type\n        );\n      case REACT_FRAGMENT_TYPE:\n        return createFiberFromFragment(pendingProps.children, mode, lanes, key);\n      case REACT_STRICT_MODE_TYPE:\n        fiberTag = 8;\n        mode |= 24;\n        break;\n      case REACT_PROFILER_TYPE:\n        return (\n          (type = createFiberImplClass(12, pendingProps, key, mode | 2)),\n          (type.elementType = REACT_PROFILER_TYPE),\n          (type.lanes = lanes),\n          type\n        );\n      case REACT_SUSPENSE_TYPE:\n        return (\n          (type = createFiberImplClass(13, pendingProps, key, mode)),\n          (type.elementType = REACT_SUSPENSE_TYPE),\n          (type.lanes = lanes),\n          type\n        );\n      case REACT_SUSPENSE_LIST_TYPE:\n        return (\n          (type = createFiberImplClass(19, pendingProps, key, mode)),\n          (type.elementType = REACT_SUSPENSE_LIST_TYPE),\n          (type.lanes = lanes),\n          type\n        );\n      case REACT_LEGACY_HIDDEN_TYPE:\n      case REACT_VIEW_TRANSITION_TYPE:\n        return (\n          (type = mode | 32),\n          (type = createFiberImplClass(30, pendingProps, key, type)),\n          (type.elementType = REACT_VIEW_TRANSITION_TYPE),\n          (type.lanes = lanes),\n          (type.stateNode = {\n            autoName: null,\n            paired: null,\n            clones: null,\n            ref: null\n          }),\n          type\n        );\n      default:\n        if (\"object\" === typeof owner && null !== owner)\n          switch (owner.$$typeof) {\n            case REACT_CONTEXT_TYPE:\n              fiberTag = 10;\n              break a;\n            case REACT_CONSUMER_TYPE:\n              fiberTag = 9;\n              break a;\n            case REACT_FORWARD_REF_TYPE:\n              fiberTag = 11;\n              break a;\n            case REACT_MEMO_TYPE:\n              fiberTag = 14;\n              break a;\n            case REACT_LAZY_TYPE:\n              fiberTag = 16;\n              owner = null;\n              break a;\n          }\n        fiberTag = 29;\n        pendingProps = Error(\n          formatProdErrorMessage(130, null === type ? \"null\" : typeof type, \"\")\n        );\n        owner = null;\n    }\n  key = createFiberImplClass(fiberTag, pendingProps, key, mode);\n  key.elementType = type;\n  key.type = owner;\n  key.lanes = lanes;\n  return key;\n}\nfunction createFiberFromFragment(elements, mode, lanes, key) {\n  elements = createFiberImplClass(7, elements, key, mode);\n  elements.lanes = lanes;\n  return elements;\n}\nfunction createFiberFromText(content, mode, lanes) {\n  content = createFiberImplClass(6, content, null, mode);\n  content.lanes = lanes;\n  return content;\n}\nfunction createFiberFromDehydratedFragment(dehydratedNode) {\n  var fiber = createFiberImplClass(18, null, null, 0);\n  fiber.stateNode = dehydratedNode;\n  return fiber;\n}\nfunction createFiberFromPortal(portal, mode, lanes) {\n  mode = createFiberImplClass(\n    4,\n    null !== portal.children ? portal.children : [],\n    portal.key,\n    mode\n  );\n  mode.lanes = lanes;\n  mode.stateNode = {\n    containerInfo: portal.containerInfo,\n    pendingChildren: null,\n    implementation: portal.implementation\n  };\n  return mode;\n}\nvar CapturedStacks = new WeakMap();\nfunction createCapturedValueAtFiber(value, source) {\n  if (\"object\" === typeof value && null !== value) {\n    var existing = CapturedStacks.get(value);\n    if (void 0 !== existing) return existing;\n    source = {\n      value: value,\n      source: source,\n      stack: getStackByFiberInDevAndProd(source)\n    };\n    CapturedStacks.set(value, source);\n    return source;\n  }\n  return {\n    value: value,\n    source: source,\n    stack: getStackByFiberInDevAndProd(source)\n  };\n}\nvar forkStack = [],\n  forkStackIndex = 0,\n  treeForkProvider = null,\n  treeForkCount = 0,\n  idStack = [],\n  idStackIndex = 0,\n  treeContextProvider = null,\n  treeContextId = 1,\n  treeContextOverflow = \"\";\nfunction pushTreeFork(workInProgress, totalChildren) {\n  forkStack[forkStackIndex++] = treeForkCount;\n  forkStack[forkStackIndex++] = treeForkProvider;\n  treeForkProvider = workInProgress;\n  treeForkCount = totalChildren;\n}\nfunction pushTreeId(workInProgress, totalChildren, index) {\n  idStack[idStackIndex++] = treeContextId;\n  idStack[idStackIndex++] = treeContextOverflow;\n  idStack[idStackIndex++] = treeContextProvider;\n  treeContextProvider = workInProgress;\n  var baseIdWithLeadingBit = treeContextId;\n  workInProgress = treeContextOverflow;\n  var baseLength = 32 - clz32(baseIdWithLeadingBit) - 1;\n  baseIdWithLeadingBit &= ~(1 << baseLength);\n  index += 1;\n  var length = 32 - clz32(totalChildren) + baseLength;\n  if (30 < length) {\n    var numberOfOverflowBits = baseLength - (baseLength % 5);\n    length = (\n      baseIdWithLeadingBit &\n      ((1 << numberOfOverflowBits) - 1)\n    ).toString(32);\n    baseIdWithLeadingBit >>= numberOfOverflowBits;\n    baseLength -= numberOfOverflowBits;\n    treeContextId =\n      (1 << (32 - clz32(totalChildren) + baseLength)) |\n      (index << baseLength) |\n      baseIdWithLeadingBit;\n    treeContextOverflow = length + workInProgress;\n  } else\n    (treeContextId =\n      (1 << length) | (index << baseLength) | baseIdWithLeadingBit),\n      (treeContextOverflow = workInProgress);\n}\nfunction pushMaterializedTreeId(workInProgress) {\n  null !== workInProgress.return &&\n    (pushTreeFork(workInProgress, 1), pushTreeId(workInProgress, 1, 0));\n}\nfunction popTreeContext(workInProgress) {\n  for (; workInProgress === treeForkProvider; )\n    (treeForkProvider = forkStack[--forkStackIndex]),\n      (forkStack[forkStackIndex] = null),\n      (treeForkCount = forkStack[--forkStackIndex]),\n      (forkStack[forkStackIndex] = null);\n  for (; workInProgress === treeContextProvider; )\n    (treeContextProvider = idStack[--idStackIndex]),\n      (idStack[idStackIndex] = null),\n      (treeContextOverflow = idStack[--idStackIndex]),\n      (idStack[idStackIndex] = null),\n      (treeContextId = idStack[--idStackIndex]),\n      (idStack[idStackIndex] = null);\n}\nfunction restoreSuspendedTreeContext(workInProgress, suspendedContext) {\n  idStack[idStackIndex++] = treeContextId;\n  idStack[idStackIndex++] = treeContextOverflow;\n  idStack[idStackIndex++] = treeContextProvider;\n  treeContextId = suspendedContext.id;\n  treeContextOverflow = suspendedContext.overflow;\n  treeContextProvider = workInProgress;\n}\nvar hydrationParentFiber = null,\n  nextHydratableInstance = null,\n  isHydrating = !1,\n  hydrationErrors = null,\n  rootOrSingletonContext = !1,\n  HydrationMismatchException = Error(formatProdErrorMessage(519));\nfunction throwOnHydrationMismatch(fiber) {\n  var error = Error(\n    formatProdErrorMessage(\n      418,\n      1 < arguments.length && void 0 !== arguments[1] && arguments[1]\n        ? \"text\"\n        : \"HTML\",\n      \"\"\n    )\n  );\n  queueHydrationError(createCapturedValueAtFiber(error, fiber));\n  throw HydrationMismatchException;\n}\nfunction prepareToHydrateHostInstance(fiber) {\n  var instance = fiber.stateNode,\n    type = fiber.type,\n    props = fiber.memoizedProps;\n  instance[internalInstanceKey] = fiber;\n  instance[internalPropsKey] = props;\n  switch (type) {\n    case \"dialog\":\n      listenToNonDelegatedEvent(\"cancel\", instance);\n      listenToNonDelegatedEvent(\"close\", instance);\n      break;\n    case \"iframe\":\n    case \"object\":\n    case \"embed\":\n      listenToNonDelegatedEvent(\"load\", instance);\n      break;\n    case \"video\":\n    case \"audio\":\n      for (type = 0; type < mediaEventTypes.length; type++)\n        listenToNonDelegatedEvent(mediaEventTypes[type], instance);\n      break;\n    case \"source\":\n      listenToNonDelegatedEvent(\"error\", instance);\n      break;\n    case \"img\":\n    case \"image\":\n    case \"link\":\n      listenToNonDelegatedEvent(\"error\", instance);\n      listenToNonDelegatedEvent(\"load\", instance);\n      break;\n    case \"details\":\n      listenToNonDelegatedEvent(\"toggle\", instance);\n      break;\n    case \"input\":\n      listenToNonDelegatedEvent(\"invalid\", instance);\n      initInput(\n        instance,\n        props.value,\n        props.defaultValue,\n        props.checked,\n        props.defaultChecked,\n        props.type,\n        props.name,\n        !0\n      );\n      break;\n    case \"select\":\n      listenToNonDelegatedEvent(\"invalid\", instance);\n      break;\n    case \"textarea\":\n      listenToNonDelegatedEvent(\"invalid\", instance),\n        initTextarea(instance, props.value, props.defaultValue, props.children);\n  }\n  type = props.children;\n  (\"string\" !== typeof type &&\n    \"number\" !== typeof type &&\n    \"bigint\" !== typeof type) ||\n  instance.textContent === \"\" + type ||\n  !0 === props.suppressHydrationWarning ||\n  checkForUnmatchedText(instance.textContent, type)\n    ? (null != props.popover &&\n        (listenToNonDelegatedEvent(\"beforetoggle\", instance),\n        listenToNonDelegatedEvent(\"toggle\", instance)),\n      null != props.onScroll && listenToNonDelegatedEvent(\"scroll\", instance),\n      null != props.onScrollEnd &&\n        listenToNonDelegatedEvent(\"scrollend\", instance),\n      null != props.onClick && (instance.onclick = noop$1),\n      (instance = !0))\n    : (instance = !1);\n  instance || throwOnHydrationMismatch(fiber, !0);\n}\nfunction popToNextHostParent(fiber) {\n  for (hydrationParentFiber = fiber.return; hydrationParentFiber; )\n    switch (hydrationParentFiber.tag) {\n      case 5:\n      case 31:\n      case 13:\n        rootOrSingletonContext = !1;\n        return;\n      case 27:\n      case 3:\n        rootOrSingletonContext = !0;\n        return;\n      default:\n        hydrationParentFiber = hydrationParentFiber.return;\n    }\n}\nfunction popHydrationState(fiber) {\n  if (fiber !== hydrationParentFiber) return !1;\n  if (!isHydrating) return popToNextHostParent(fiber), (isHydrating = !0), !1;\n  var tag = fiber.tag,\n    JSCompiler_temp;\n  if ((JSCompiler_temp = 3 !== tag && 27 !== tag)) {\n    if ((JSCompiler_temp = 5 === tag))\n      (JSCompiler_temp = fiber.type),\n        (JSCompiler_temp =\n          !(\"form\" !== JSCompiler_temp && \"button\" !== JSCompiler_temp) ||\n          shouldSetTextContent(fiber.type, fiber.memoizedProps));\n    JSCompiler_temp = !JSCompiler_temp;\n  }\n  JSCompiler_temp && nextHydratableInstance && throwOnHydrationMismatch(fiber);\n  popToNextHostParent(fiber);\n  if (13 === tag) {\n    fiber = fiber.memoizedState;\n    fiber = null !== fiber ? fiber.dehydrated : null;\n    if (!fiber) throw Error(formatProdErrorMessage(317));\n    nextHydratableInstance =\n      getNextHydratableInstanceAfterHydrationBoundary(fiber);\n  } else if (31 === tag) {\n    fiber = fiber.memoizedState;\n    fiber = null !== fiber ? fiber.dehydrated : null;\n    if (!fiber) throw Error(formatProdErrorMessage(317));\n    nextHydratableInstance =\n      getNextHydratableInstanceAfterHydrationBoundary(fiber);\n  } else\n    27 === tag\n      ? ((tag = nextHydratableInstance),\n        isSingletonScope(fiber.type)\n          ? ((fiber = previousHydratableOnEnteringScopedSingleton),\n            (previousHydratableOnEnteringScopedSingleton = null),\n            (nextHydratableInstance = fiber))\n          : (nextHydratableInstance = tag))\n      : (nextHydratableInstance = hydrationParentFiber\n          ? getNextHydratable(fiber.stateNode.nextSibling)\n          : null);\n  return !0;\n}\nfunction resetHydrationState() {\n  nextHydratableInstance = hydrationParentFiber = null;\n  isHydrating = !1;\n}\nfunction upgradeHydrationErrorsToRecoverable() {\n  var queuedErrors = hydrationErrors;\n  null !== queuedErrors &&\n    (null === workInProgressRootRecoverableErrors\n      ? (workInProgressRootRecoverableErrors = queuedErrors)\n      : workInProgressRootRecoverableErrors.push.apply(\n          workInProgressRootRecoverableErrors,\n          queuedErrors\n        ),\n    (hydrationErrors = null));\n  return queuedErrors;\n}\nfunction queueHydrationError(error) {\n  null === hydrationErrors\n    ? (hydrationErrors = [error])\n    : hydrationErrors.push(error);\n}\nvar valueCursor = createCursor(null),\n  currentlyRenderingFiber$1 = null,\n  lastContextDependency = null;\nfunction pushProvider(providerFiber, context, nextValue) {\n  push(valueCursor, context._currentValue);\n  context._currentValue = nextValue;\n}\nfunction popProvider(context) {\n  context._currentValue = valueCursor.current;\n  pop(valueCursor);\n}\nfunction scheduleContextWorkOnParentPath(parent, renderLanes, propagationRoot) {\n  for (; null !== parent; ) {\n    var alternate = parent.alternate;\n    (parent.childLanes & renderLanes) !== renderLanes\n      ? ((parent.childLanes |= renderLanes),\n        null !== alternate && (alternate.childLanes |= renderLanes))\n      : null !== alternate &&\n        (alternate.childLanes & renderLanes) !== renderLanes &&\n        (alternate.childLanes |= renderLanes);\n    if (parent === propagationRoot) break;\n    parent = parent.return;\n  }\n}\nfunction propagateContextChanges(\n  workInProgress,\n  contexts,\n  renderLanes,\n  forcePropagateEntireTree\n) {\n  var fiber = workInProgress.child;\n  null !== fiber && (fiber.return = workInProgress);\n  for (; null !== fiber; ) {\n    var list = fiber.dependencies;\n    if (null !== list) {\n      var nextFiber = fiber.child;\n      list = list.firstContext;\n      a: for (; null !== list; ) {\n        var dependency = list;\n        list = fiber;\n        for (var i = 0; i < contexts.length; i++)\n          if (dependency.context === contexts[i]) {\n            list.lanes |= renderLanes;\n            dependency = list.alternate;\n            null !== dependency && (dependency.lanes |= renderLanes);\n            scheduleContextWorkOnParentPath(\n              list.return,\n              renderLanes,\n              workInProgress\n            );\n            forcePropagateEntireTree || (nextFiber = null);\n            break a;\n          }\n        list = dependency.next;\n      }\n    } else if (18 === fiber.tag) {\n      nextFiber = fiber.return;\n      if (null === nextFiber) throw Error(formatProdErrorMessage(341));\n      nextFiber.lanes |= renderLanes;\n      list = nextFiber.alternate;\n      null !== list && (list.lanes |= renderLanes);\n      scheduleContextWorkOnParentPath(nextFiber, renderLanes, workInProgress);\n      nextFiber = null;\n    } else\n      13 === fiber.tag &&\n      null !== fiber.memoizedState &&\n      null === fiber.memoizedState.dehydrated\n        ? ((fiber.lanes |= renderLanes),\n          (nextFiber = fiber.alternate),\n          null !== nextFiber && (nextFiber.lanes |= renderLanes),\n          scheduleContextWorkOnParentPath(\n            fiber.return,\n            renderLanes,\n            workInProgress\n          ),\n          (nextFiber = fiber.child),\n          (nextFiber = null !== nextFiber ? nextFiber.sibling : null))\n        : (nextFiber = fiber.child);\n    if (null !== nextFiber) nextFiber.return = fiber;\n    else\n      for (nextFiber = fiber; null !== nextFiber; ) {\n        if (nextFiber === workInProgress) {\n          nextFiber = null;\n          break;\n        }\n        fiber = nextFiber.sibling;\n        if (null !== fiber) {\n          fiber.return = nextFiber.return;\n          nextFiber = fiber;\n          break;\n        }\n        nextFiber = nextFiber.return;\n      }\n    fiber = nextFiber;\n  }\n}\nfunction propagateParentContextChanges(\n  current,\n  workInProgress,\n  renderLanes,\n  forcePropagateEntireTree\n) {\n  current = null;\n  for (\n    var parent = workInProgress, isInsidePropagationBailout = !1;\n    null !== parent;\n\n  ) {\n    if (!isInsidePropagationBailout)\n      if (0 !== (parent.flags & 524288)) isInsidePropagationBailout = !0;\n      else if (0 !== (parent.flags & 262144)) break;\n    if (10 === parent.tag) {\n      var currentParent = parent.alternate;\n      if (null === currentParent) throw Error(formatProdErrorMessage(387));\n      currentParent = currentParent.memoizedProps;\n      if (null !== currentParent) {\n        var context = parent.type;\n        objectIs(parent.pendingProps.value, currentParent.value) ||\n          (null !== current ? current.push(context) : (current = [context]));\n      }\n    } else if (parent === hostTransitionProviderCursor.current) {\n      currentParent = parent.alternate;\n      if (null === currentParent) throw Error(formatProdErrorMessage(387));\n      currentParent.memoizedState.memoizedState !==\n        parent.memoizedState.memoizedState &&\n        (null !== current\n          ? current.push(HostTransitionContext)\n          : (current = [HostTransitionContext]));\n    }\n    parent = parent.return;\n  }\n  null !== current &&\n    propagateContextChanges(\n      workInProgress,\n      current,\n      renderLanes,\n      forcePropagateEntireTree\n    );\n  workInProgress.flags |= 262144;\n  return null !== current;\n}\nfunction checkIfContextChanged(currentDependencies) {\n  for (\n    currentDependencies = currentDependencies.firstContext;\n    null !== currentDependencies;\n\n  ) {\n    if (\n      !objectIs(\n        currentDependencies.context._currentValue,\n        currentDependencies.memoizedValue\n      )\n    )\n      return !0;\n    currentDependencies = currentDependencies.next;\n  }\n  return !1;\n}\nfunction prepareToReadContext(workInProgress) {\n  currentlyRenderingFiber$1 = workInProgress;\n  lastContextDependency = null;\n  workInProgress = workInProgress.dependencies;\n  null !== workInProgress && (workInProgress.firstContext = null);\n}\nfunction readContext(context) {\n  return readContextForConsumer(currentlyRenderingFiber$1, context);\n}\nfunction readContextDuringReconciliation(consumer, context) {\n  null === currentlyRenderingFiber$1 && prepareToReadContext(consumer);\n  return readContextForConsumer(consumer, context);\n}\nfunction readContextForConsumer(consumer, context) {\n  var value = context._currentValue;\n  context = { context: context, memoizedValue: value, next: null };\n  if (null === lastContextDependency) {\n    if (null === consumer) throw Error(formatProdErrorMessage(308));\n    lastContextDependency = context;\n    consumer.dependencies = { lanes: 0, firstContext: context };\n    consumer.flags |= 524288;\n  } else lastContextDependency = lastContextDependency.next = context;\n  return value;\n}\nvar AbortControllerLocal =\n    \"undefined\" !== typeof AbortController\n      ? AbortController\n      : function () {\n          var listeners = [],\n            signal = (this.signal = {\n              aborted: !1,\n              addEventListener: function (type, listener) {\n                listeners.push(listener);\n              }\n            });\n          this.abort = function () {\n            signal.aborted = !0;\n            listeners.forEach(function (listener) {\n              return listener();\n            });\n          };\n        },\n  scheduleCallback$2 = Scheduler.unstable_scheduleCallback,\n  NormalPriority = Scheduler.unstable_NormalPriority,\n  CacheContext = {\n    $$typeof: REACT_CONTEXT_TYPE,\n    Consumer: null,\n    Provider: null,\n    _currentValue: null,\n    _currentValue2: null,\n    _threadCount: 0\n  };\nfunction createCache() {\n  return {\n    controller: new AbortControllerLocal(),\n    data: new Map(),\n    refCount: 0\n  };\n}\nfunction releaseCache(cache) {\n  cache.refCount--;\n  0 === cache.refCount &&\n    scheduleCallback$2(NormalPriority, function () {\n      cache.controller.abort();\n    });\n}\nfunction queueTransitionTypes(root, transitionTypes) {\n  if (0 !== (root.pendingLanes & 4194048)) {\n    var queued = root.transitionTypes;\n    null === queued && (queued = root.transitionTypes = []);\n    for (root = 0; root < transitionTypes.length; root++) {\n      var transitionType = transitionTypes[root];\n      -1 === queued.indexOf(transitionType) && queued.push(transitionType);\n    }\n  }\n}\nvar entangledTransitionTypes = null;\nfunction claimQueuedTransitionTypes(root) {\n  var claimed = root.transitionTypes;\n  root.transitionTypes = null;\n  return claimed;\n}\nvar currentEntangledListeners = null,\n  currentEntangledPendingCount = 0,\n  currentEntangledLane = 0,\n  currentEntangledActionThenable = null;\nfunction entangleAsyncAction(transition, thenable) {\n  if (null === currentEntangledListeners) {\n    var entangledListeners = (currentEntangledListeners = []);\n    currentEntangledPendingCount = 0;\n    currentEntangledLane = requestTransitionLane();\n    currentEntangledActionThenable = {\n      status: \"pending\",\n      value: void 0,\n      then: function (resolve) {\n        entangledListeners.push(resolve);\n      }\n    };\n  }\n  currentEntangledPendingCount++;\n  thenable.then(pingEngtangledActionScope, pingEngtangledActionScope);\n  return thenable;\n}\nfunction pingEngtangledActionScope() {\n  if (\n    0 === --currentEntangledPendingCount &&\n    ((entangledTransitionTypes = null), null !== currentEntangledListeners)\n  ) {\n    null !== currentEntangledActionThenable &&\n      (currentEntangledActionThenable.status = \"fulfilled\");\n    var listeners = currentEntangledListeners;\n    currentEntangledListeners = null;\n    currentEntangledLane = 0;\n    currentEntangledActionThenable = null;\n    for (var i = 0; i < listeners.length; i++) (0, listeners[i])();\n  }\n}\nfunction chainThenableValue(thenable, result) {\n  var listeners = [],\n    thenableWithOverride = {\n      status: \"pending\",\n      value: null,\n      reason: null,\n      then: function (resolve) {\n        listeners.push(resolve);\n      }\n    };\n  thenable.then(\n    function () {\n      thenableWithOverride.status = \"fulfilled\";\n      thenableWithOverride.value = result;\n      for (var i = 0; i < listeners.length; i++) (0, listeners[i])(result);\n    },\n    function (error) {\n      thenableWithOverride.status = \"rejected\";\n      thenableWithOverride.reason = error;\n      for (error = 0; error < listeners.length; error++)\n        (0, listeners[error])(void 0);\n    }\n  );\n  return thenableWithOverride;\n}\nvar prevOnStartTransitionFinish = ReactSharedInternals.S;\nReactSharedInternals.S = function (transition, returnValue) {\n  globalMostRecentTransitionTime = now();\n  \"object\" === typeof returnValue &&\n    null !== returnValue &&\n    \"function\" === typeof returnValue.then &&\n    entangleAsyncAction(transition, returnValue);\n  if (null !== entangledTransitionTypes)\n    for (var root$28 = firstScheduledRoot; null !== root$28; )\n      queueTransitionTypes(root$28, entangledTransitionTypes),\n        (root$28 = root$28.next);\n  root$28 = transition.types;\n  if (null !== root$28) {\n    for (var root$29 = firstScheduledRoot; null !== root$29; )\n      queueTransitionTypes(root$29, root$28), (root$29 = root$29.next);\n    if (0 !== currentEntangledLane) {\n      root$29 = entangledTransitionTypes;\n      null === root$29 && (root$29 = entangledTransitionTypes = []);\n      for (var i = 0; i < root$28.length; i++) {\n        var transitionType = root$28[i];\n        -1 === root$29.indexOf(transitionType) && root$29.push(transitionType);\n      }\n    }\n  }\n  null !== prevOnStartTransitionFinish &&\n    prevOnStartTransitionFinish(transition, returnValue);\n};\nvar resumedCache = createCursor(null);\nfunction peekCacheFromPool() {\n  var cacheResumedFromPreviousRender = resumedCache.current;\n  return null !== cacheResumedFromPreviousRender\n    ? cacheResumedFromPreviousRender\n    : workInProgressRoot.pooledCache;\n}\nfunction pushTransition(offscreenWorkInProgress, prevCachePool) {\n  null === prevCachePool\n    ? push(resumedCache, resumedCache.current)\n    : push(resumedCache, prevCachePool.pool);\n}\nfunction getSuspendedCache() {\n  var cacheFromPool = peekCacheFromPool();\n  return null === cacheFromPool\n    ? null\n    : { parent: CacheContext._currentValue, pool: cacheFromPool };\n}\nvar SuspenseException = Error(formatProdErrorMessage(460)),\n  SuspenseyCommitException = Error(formatProdErrorMessage(474)),\n  SuspenseActionException = Error(formatProdErrorMessage(542)),\n  noopSuspenseyCommitThenable = { then: function () {} };\nfunction isThenableResolved(thenable) {\n  thenable = thenable.status;\n  return \"fulfilled\" === thenable || \"rejected\" === thenable;\n}\nfunction trackUsedThenable(thenableState, thenable, index) {\n  index = thenableState[index];\n  void 0 === index\n    ? thenableState.push(thenable)\n    : index !== thenable && (thenable.then(noop$1, noop$1), (thenable = index));\n  switch (thenable.status) {\n    case \"fulfilled\":\n      return thenable.value;\n    case \"rejected\":\n      thenableState = thenable.reason;\n      checkIfUseWrappedInAsyncCatch(thenableState);\n      if (void 0 === thenableState && !(\"reason\" in thenable))\n        throw Error(formatProdErrorMessage(600));\n      throw thenableState;\n    default:\n      if (\"string\" === typeof thenable.status) thenable.then(noop$1, noop$1);\n      else {\n        thenableState = workInProgressRoot;\n        if (null !== thenableState && 100 < thenableState.shellSuspendCounter)\n          throw Error(formatProdErrorMessage(482));\n        thenableState = thenable;\n        thenableState.status = \"pending\";\n        thenableState.then(\n          function (fulfilledValue) {\n            if (\"pending\" === thenable.status) {\n              var fulfilledThenable = thenable;\n              fulfilledThenable.status = \"fulfilled\";\n              fulfilledThenable.value = fulfilledValue;\n            }\n          },\n          function (error) {\n            if (\"pending\" === thenable.status) {\n              var rejectedThenable = thenable;\n              rejectedThenable.status = \"rejected\";\n              rejectedThenable.reason = error;\n            }\n          }\n        );\n      }\n      switch (thenable.status) {\n        case \"fulfilled\":\n          return thenable.value;\n        case \"rejected\":\n          throw (\n            ((thenableState = thenable.reason),\n            checkIfUseWrappedInAsyncCatch(thenableState),\n            thenableState)\n          );\n      }\n      suspendedThenable = thenable;\n      throw SuspenseException;\n  }\n}\nfunction resolveLazy(lazyType) {\n  try {\n    var init = lazyType._init;\n    return init(lazyType._payload);\n  } catch (x) {\n    if (null !== x && \"object\" === typeof x && \"function\" === typeof x.then)\n      throw ((suspendedThenable = x), SuspenseException);\n    throw x;\n  }\n}\nvar suspendedThenable = null;\nfunction getSuspendedThenable() {\n  if (null === suspendedThenable) throw Error(formatProdErrorMessage(459));\n  var thenable = suspendedThenable;\n  suspendedThenable = null;\n  return thenable;\n}\nfunction checkIfUseWrappedInAsyncCatch(rejectedReason) {\n  if (\n    rejectedReason === SuspenseException ||\n    rejectedReason === SuspenseActionException\n  )\n    throw Error(formatProdErrorMessage(483));\n}\nvar thenableState$1 = null,\n  thenableIndexCounter$1 = 0;\nfunction unwrapThenable(thenable) {\n  var index = thenableIndexCounter$1;\n  thenableIndexCounter$1 += 1;\n  null === thenableState$1 && (thenableState$1 = []);\n  return trackUsedThenable(thenableState$1, thenable, index);\n}\nfunction coerceRef(workInProgress, element) {\n  element = element.props.ref;\n  workInProgress.ref = void 0 !== element ? element : null;\n}\nfunction throwOnInvalidObjectTypeImpl(returnFiber, newChild) {\n  if (newChild.$$typeof === REACT_LEGACY_ELEMENT_TYPE)\n    throw Error(formatProdErrorMessage(525));\n  returnFiber = Object.prototype.toString.call(newChild);\n  throw Error(\n    formatProdErrorMessage(\n      31,\n      \"[object Object]\" === returnFiber\n        ? \"object with keys {\" + Object.keys(newChild).join(\", \") + \"}\"\n        : returnFiber\n    )\n  );\n}\nfunction createChildReconciler(shouldTrackSideEffects) {\n  function deleteChild(returnFiber, childToDelete) {\n    if (shouldTrackSideEffects) {\n      var deletions = returnFiber.deletions;\n      null === deletions\n        ? ((returnFiber.deletions = [childToDelete]), (returnFiber.flags |= 16))\n        : deletions.push(childToDelete);\n    }\n  }\n  function deleteRemainingChildren(returnFiber, currentFirstChild) {\n    if (!shouldTrackSideEffects) return null;\n    for (; null !== currentFirstChild; )\n      deleteChild(returnFiber, currentFirstChild),\n        (currentFirstChild = currentFirstChild.sibling);\n    return null;\n  }\n  function mapRemainingChildren(currentFirstChild) {\n    for (var existingChildren = new Map(); null !== currentFirstChild; )\n      null === currentFirstChild.key\n        ? existingChildren.set(currentFirstChild.index, currentFirstChild)\n        : existingChildren.set(currentFirstChild.key, currentFirstChild),\n        (currentFirstChild = currentFirstChild.sibling);\n    return existingChildren;\n  }\n  function useFiber(fiber, pendingProps) {\n    fiber = createWorkInProgress(fiber, pendingProps);\n    fiber.index = 0;\n    fiber.sibling = null;\n    return fiber;\n  }\n  function placeChild(newFiber, lastPlacedIndex, newIndex) {\n    newFiber.index = newIndex;\n    if (!shouldTrackSideEffects)\n      return (newFiber.flags |= 1048576), lastPlacedIndex;\n    newIndex = newFiber.alternate;\n    if (null !== newIndex)\n      return (\n        (newIndex = newIndex.index),\n        newIndex < lastPlacedIndex\n          ? ((newFiber.flags |= 2), lastPlacedIndex)\n          : newIndex\n      );\n    newFiber.flags |= 134217730;\n    return lastPlacedIndex;\n  }\n  function placeSingleChild(newFiber) {\n    shouldTrackSideEffects &&\n      null === newFiber.alternate &&\n      (newFiber.flags |= 134217730);\n    return newFiber;\n  }\n  function updateTextNode(returnFiber, current, textContent, lanes) {\n    if (null === current || 6 !== current.tag)\n      return (\n        (current = createFiberFromText(textContent, returnFiber.mode, lanes)),\n        (current.return = returnFiber),\n        current\n      );\n    current = useFiber(current, textContent);\n    current.return = returnFiber;\n    return current;\n  }\n  function updateElement(returnFiber, current, element, lanes) {\n    var elementType = element.type;\n    if (elementType === REACT_FRAGMENT_TYPE)\n      return (\n        (returnFiber = updateFragment(\n          returnFiber,\n          current,\n          element.props.children,\n          lanes,\n          element.key\n        )),\n        coerceRef(returnFiber, element),\n        returnFiber\n      );\n    if (\n      null !== current &&\n      (current.elementType === elementType ||\n        (\"object\" === typeof elementType &&\n          null !== elementType &&\n          elementType.$$typeof === REACT_LAZY_TYPE &&\n          resolveLazy(elementType) === current.type))\n    )\n      return (\n        (current = useFiber(current, element.props)),\n        coerceRef(current, element),\n        (current.return = returnFiber),\n        current\n      );\n    current = createFiberFromTypeAndProps(\n      element.type,\n      element.key,\n      element.props,\n      null,\n      returnFiber.mode,\n      lanes\n    );\n    coerceRef(current, element);\n    current.return = returnFiber;\n    return current;\n  }\n  function updatePortal(returnFiber, current, portal, lanes) {\n    if (\n      null === current ||\n      4 !== current.tag ||\n      current.stateNode.containerInfo !== portal.containerInfo ||\n      current.stateNode.implementation !== portal.implementation\n    )\n      return (\n        (current = createFiberFromPortal(portal, returnFiber.mode, lanes)),\n        (current.return = returnFiber),\n        current\n      );\n    current = useFiber(current, portal.children || []);\n    current.return = returnFiber;\n    return current;\n  }\n  function updateFragment(returnFiber, current, fragment, lanes, key) {\n    if (null === current || 7 !== current.tag)\n      return (\n        (current = createFiberFromFragment(\n          fragment,\n          returnFiber.mode,\n          lanes,\n          key\n        )),\n        (current.return = returnFiber),\n        current\n      );\n    current = useFiber(current, fragment);\n    current.return = returnFiber;\n    return current;\n  }\n  function createChild(returnFiber, newChild, lanes) {\n    if (\n      (\"string\" === typeof newChild && \"\" !== newChild) ||\n      \"number\" === typeof newChild ||\n      \"bigint\" === typeof newChild\n    )\n      return (\n        (newChild = createFiberFromText(\n          \"\" + newChild,\n          returnFiber.mode,\n          lanes\n        )),\n        (newChild.return = returnFiber),\n        newChild\n      );\n    if (\"object\" === typeof newChild && null !== newChild) {\n      switch (newChild.$$typeof) {\n        case REACT_ELEMENT_TYPE:\n          return (\n            (lanes = createFiberFromTypeAndProps(\n              newChild.type,\n              newChild.key,\n              newChild.props,\n              null,\n              returnFiber.mode,\n              lanes\n            )),\n            coerceRef(lanes, newChild),\n            (lanes.return = returnFiber),\n            lanes\n          );\n        case REACT_PORTAL_TYPE:\n          return (\n            (newChild = createFiberFromPortal(\n              newChild,\n              returnFiber.mode,\n              lanes\n            )),\n            (newChild.return = returnFiber),\n            newChild\n          );\n        case REACT_LAZY_TYPE:\n          return (\n            (newChild = resolveLazy(newChild)),\n            createChild(returnFiber, newChild, lanes)\n          );\n      }\n      if (isArrayImpl(newChild) || getIteratorFn(newChild))\n        return (\n          (newChild = createFiberFromFragment(\n            newChild,\n            returnFiber.mode,\n            lanes,\n            null\n          )),\n          (newChild.return = returnFiber),\n          newChild\n        );\n      if (\"function\" === typeof newChild.then)\n        return createChild(returnFiber, unwrapThenable(newChild), lanes);\n      if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n        return createChild(\n          returnFiber,\n          readContextDuringReconciliation(returnFiber, newChild),\n          lanes\n        );\n      throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n    }\n    return null;\n  }\n  function updateSlot(returnFiber, oldFiber, newChild, lanes) {\n    var key = null !== oldFiber ? oldFiber.key : null;\n    if (\n      (\"string\" === typeof newChild && \"\" !== newChild) ||\n      \"number\" === typeof newChild ||\n      \"bigint\" === typeof newChild\n    )\n      return null !== key\n        ? null\n        : updateTextNode(returnFiber, oldFiber, \"\" + newChild, lanes);\n    if (\"object\" === typeof newChild && null !== newChild) {\n      switch (newChild.$$typeof) {\n        case REACT_ELEMENT_TYPE:\n          return newChild.key === key\n            ? updateElement(returnFiber, oldFiber, newChild, lanes)\n            : null;\n        case REACT_PORTAL_TYPE:\n          return newChild.key === key\n            ? updatePortal(returnFiber, oldFiber, newChild, lanes)\n            : null;\n        case REACT_LAZY_TYPE:\n          return (\n            (newChild = resolveLazy(newChild)),\n            updateSlot(returnFiber, oldFiber, newChild, lanes)\n          );\n      }\n      if (isArrayImpl(newChild) || getIteratorFn(newChild))\n        return null !== key\n          ? null\n          : updateFragment(returnFiber, oldFiber, newChild, lanes, null);\n      if (\"function\" === typeof newChild.then)\n        return updateSlot(\n          returnFiber,\n          oldFiber,\n          unwrapThenable(newChild),\n          lanes\n        );\n      if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n        return updateSlot(\n          returnFiber,\n          oldFiber,\n          readContextDuringReconciliation(returnFiber, newChild),\n          lanes\n        );\n      throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n    }\n    return null;\n  }\n  function updateFromMap(\n    existingChildren,\n    returnFiber,\n    newIdx,\n    newChild,\n    lanes\n  ) {\n    if (\n      (\"string\" === typeof newChild && \"\" !== newChild) ||\n      \"number\" === typeof newChild ||\n      \"bigint\" === typeof newChild\n    )\n      return (\n        (existingChildren = existingChildren.get(newIdx) || null),\n        updateTextNode(returnFiber, existingChildren, \"\" + newChild, lanes)\n      );\n    if (\"object\" === typeof newChild && null !== newChild) {\n      switch (newChild.$$typeof) {\n        case REACT_ELEMENT_TYPE:\n          return (\n            (existingChildren =\n              existingChildren.get(\n                null === newChild.key ? newIdx : newChild.key\n              ) || null),\n            updateElement(returnFiber, existingChildren, newChild, lanes)\n          );\n        case REACT_PORTAL_TYPE:\n          return (\n            (existingChildren =\n              existingChildren.get(\n                null === newChild.key ? newIdx : newChild.key\n              ) || null),\n            updatePortal(returnFiber, existingChildren, newChild, lanes)\n          );\n        case REACT_LAZY_TYPE:\n          return (\n            (newChild = resolveLazy(newChild)),\n            updateFromMap(\n              existingChildren,\n              returnFiber,\n              newIdx,\n              newChild,\n              lanes\n            )\n          );\n      }\n      if (isArrayImpl(newChild) || getIteratorFn(newChild))\n        return (\n          (existingChildren = existingChildren.get(newIdx) || null),\n          updateFragment(returnFiber, existingChildren, newChild, lanes, null)\n        );\n      if (\"function\" === typeof newChild.then)\n        return updateFromMap(\n          existingChildren,\n          returnFiber,\n          newIdx,\n          unwrapThenable(newChild),\n          lanes\n        );\n      if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n        return updateFromMap(\n          existingChildren,\n          returnFiber,\n          newIdx,\n          readContextDuringReconciliation(returnFiber, newChild),\n          lanes\n        );\n      throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n    }\n    return null;\n  }\n  function reconcileChildrenArray(\n    returnFiber,\n    currentFirstChild,\n    newChildren,\n    lanes\n  ) {\n    for (\n      var resultingFirstChild = null,\n        previousNewFiber = null,\n        oldFiber = currentFirstChild,\n        newIdx = (currentFirstChild = 0),\n        nextOldFiber = null;\n      null !== oldFiber && newIdx < newChildren.length;\n      newIdx++\n    ) {\n      oldFiber.index > newIdx\n        ? ((nextOldFiber = oldFiber), (oldFiber = null))\n        : (nextOldFiber = oldFiber.sibling);\n      var newFiber = updateSlot(\n        returnFiber,\n        oldFiber,\n        newChildren[newIdx],\n        lanes\n      );\n      if (null === newFiber) {\n        null === oldFiber && (oldFiber = nextOldFiber);\n        break;\n      }\n      shouldTrackSideEffects &&\n        oldFiber &&\n        null === newFiber.alternate &&\n        deleteChild(returnFiber, oldFiber);\n      currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n      null === previousNewFiber\n        ? (resultingFirstChild = newFiber)\n        : (previousNewFiber.sibling = newFiber);\n      previousNewFiber = newFiber;\n      oldFiber = nextOldFiber;\n    }\n    if (newIdx === newChildren.length)\n      return (\n        deleteRemainingChildren(returnFiber, oldFiber),\n        isHydrating && pushTreeFork(returnFiber, newIdx),\n        resultingFirstChild\n      );\n    if (null === oldFiber) {\n      for (; newIdx < newChildren.length; newIdx++)\n        (oldFiber = createChild(returnFiber, newChildren[newIdx], lanes)),\n          null !== oldFiber &&\n            ((currentFirstChild = placeChild(\n              oldFiber,\n              currentFirstChild,\n              newIdx\n            )),\n            null === previousNewFiber\n              ? (resultingFirstChild = oldFiber)\n              : (previousNewFiber.sibling = oldFiber),\n            (previousNewFiber = oldFiber));\n      isHydrating && pushTreeFork(returnFiber, newIdx);\n      return resultingFirstChild;\n    }\n    for (\n      oldFiber = mapRemainingChildren(oldFiber);\n      newIdx < newChildren.length;\n      newIdx++\n    )\n      (nextOldFiber = updateFromMap(\n        oldFiber,\n        returnFiber,\n        newIdx,\n        newChildren[newIdx],\n        lanes\n      )),\n        null !== nextOldFiber &&\n          (shouldTrackSideEffects &&\n            ((newFiber = nextOldFiber.alternate),\n            null !== newFiber &&\n              oldFiber.delete(null === newFiber.key ? newIdx : newFiber.key)),\n          (currentFirstChild = placeChild(\n            nextOldFiber,\n            currentFirstChild,\n            newIdx\n          )),\n          null === previousNewFiber\n            ? (resultingFirstChild = nextOldFiber)\n            : (previousNewFiber.sibling = nextOldFiber),\n          (previousNewFiber = nextOldFiber));\n    shouldTrackSideEffects &&\n      oldFiber.forEach(function (child) {\n        return deleteChild(returnFiber, child);\n      });\n    isHydrating && pushTreeFork(returnFiber, newIdx);\n    return resultingFirstChild;\n  }\n  function reconcileChildrenIterator(\n    returnFiber,\n    currentFirstChild,\n    newChildren,\n    lanes\n  ) {\n    if (null == newChildren) throw Error(formatProdErrorMessage(151));\n    for (\n      var resultingFirstChild = null,\n        previousNewFiber = null,\n        oldFiber = currentFirstChild,\n        newIdx = (currentFirstChild = 0),\n        nextOldFiber = null,\n        step = newChildren.next();\n      null !== oldFiber && !step.done;\n      newIdx++, step = newChildren.next()\n    ) {\n      oldFiber.index > newIdx\n        ? ((nextOldFiber = oldFiber), (oldFiber = null))\n        : (nextOldFiber = oldFiber.sibling);\n      var newFiber = updateSlot(returnFiber, oldFiber, step.value, lanes);\n      if (null === newFiber) {\n        null === oldFiber && (oldFiber = nextOldFiber);\n        break;\n      }\n      shouldTrackSideEffects &&\n        oldFiber &&\n        null === newFiber.alternate &&\n        deleteChild(returnFiber, oldFiber);\n      currentFirstChild = placeChild(newFiber, currentFirstChild, newIdx);\n      null === previousNewFiber\n        ? (resultingFirstChild = newFiber)\n        : (previousNewFiber.sibling = newFiber);\n      previousNewFiber = newFiber;\n      oldFiber = nextOldFiber;\n    }\n    if (step.done)\n      return (\n        deleteRemainingChildren(returnFiber, oldFiber),\n        isHydrating && pushTreeFork(returnFiber, newIdx),\n        resultingFirstChild\n      );\n    if (null === oldFiber) {\n      for (; !step.done; newIdx++, step = newChildren.next())\n        (step = createChild(returnFiber, step.value, lanes)),\n          null !== step &&\n            ((currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n            null === previousNewFiber\n              ? (resultingFirstChild = step)\n              : (previousNewFiber.sibling = step),\n            (previousNewFiber = step));\n      isHydrating && pushTreeFork(returnFiber, newIdx);\n      return resultingFirstChild;\n    }\n    for (\n      oldFiber = mapRemainingChildren(oldFiber);\n      !step.done;\n      newIdx++, step = newChildren.next()\n    )\n      (step = updateFromMap(oldFiber, returnFiber, newIdx, step.value, lanes)),\n        null !== step &&\n          (shouldTrackSideEffects &&\n            ((nextOldFiber = step.alternate),\n            null !== nextOldFiber &&\n              oldFiber.delete(\n                null === nextOldFiber.key ? newIdx : nextOldFiber.key\n              )),\n          (currentFirstChild = placeChild(step, currentFirstChild, newIdx)),\n          null === previousNewFiber\n            ? (resultingFirstChild = step)\n            : (previousNewFiber.sibling = step),\n          (previousNewFiber = step));\n    shouldTrackSideEffects &&\n      oldFiber.forEach(function (child) {\n        return deleteChild(returnFiber, child);\n      });\n    isHydrating && pushTreeFork(returnFiber, newIdx);\n    return resultingFirstChild;\n  }\n  function reconcileChildFibersImpl(\n    returnFiber,\n    currentFirstChild,\n    newChild,\n    lanes\n  ) {\n    \"object\" === typeof newChild &&\n      null !== newChild &&\n      newChild.type === REACT_FRAGMENT_TYPE &&\n      null === newChild.key &&\n      void 0 === newChild.props.ref &&\n      (newChild = newChild.props.children);\n    if (\"object\" === typeof newChild && null !== newChild) {\n      switch (newChild.$$typeof) {\n        case REACT_ELEMENT_TYPE:\n          a: {\n            for (var key = newChild.key; null !== currentFirstChild; ) {\n              if (currentFirstChild.key === key) {\n                key = newChild.type;\n                if (key === REACT_FRAGMENT_TYPE) {\n                  if (7 === currentFirstChild.tag) {\n                    deleteRemainingChildren(\n                      returnFiber,\n                      currentFirstChild.sibling\n                    );\n                    lanes = useFiber(\n                      currentFirstChild,\n                      newChild.props.children\n                    );\n                    coerceRef(lanes, newChild);\n                    lanes.return = returnFiber;\n                    returnFiber = lanes;\n                    break a;\n                  }\n                } else if (\n                  currentFirstChild.elementType === key ||\n                  (\"object\" === typeof key &&\n                    null !== key &&\n                    key.$$typeof === REACT_LAZY_TYPE &&\n                    resolveLazy(key) === currentFirstChild.type)\n                ) {\n                  deleteRemainingChildren(\n                    returnFiber,\n                    currentFirstChild.sibling\n                  );\n                  lanes = useFiber(currentFirstChild, newChild.props);\n                  coerceRef(lanes, newChild);\n                  lanes.return = returnFiber;\n                  returnFiber = lanes;\n                  break a;\n                }\n                deleteRemainingChildren(returnFiber, currentFirstChild);\n                break;\n              } else deleteChild(returnFiber, currentFirstChild);\n              currentFirstChild = currentFirstChild.sibling;\n            }\n            newChild.type === REACT_FRAGMENT_TYPE\n              ? ((lanes = createFiberFromFragment(\n                  newChild.props.children,\n                  returnFiber.mode,\n                  lanes,\n                  newChild.key\n                )),\n                coerceRef(lanes, newChild),\n                (lanes.return = returnFiber),\n                (returnFiber = lanes))\n              : ((lanes = createFiberFromTypeAndProps(\n                  newChild.type,\n                  newChild.key,\n                  newChild.props,\n                  null,\n                  returnFiber.mode,\n                  lanes\n                )),\n                coerceRef(lanes, newChild),\n                (lanes.return = returnFiber),\n                (returnFiber = lanes));\n          }\n          return placeSingleChild(returnFiber);\n        case REACT_PORTAL_TYPE:\n          a: {\n            for (key = newChild.key; null !== currentFirstChild; ) {\n              if (currentFirstChild.key === key)\n                if (\n                  4 === currentFirstChild.tag &&\n                  currentFirstChild.stateNode.containerInfo ===\n                    newChild.containerInfo &&\n                  currentFirstChild.stateNode.implementation ===\n                    newChild.implementation\n                ) {\n                  deleteRemainingChildren(\n                    returnFiber,\n                    currentFirstChild.sibling\n                  );\n                  lanes = useFiber(currentFirstChild, newChild.children || []);\n                  lanes.return = returnFiber;\n                  returnFiber = lanes;\n                  break a;\n                } else {\n                  deleteRemainingChildren(returnFiber, currentFirstChild);\n                  break;\n                }\n              else deleteChild(returnFiber, currentFirstChild);\n              currentFirstChild = currentFirstChild.sibling;\n            }\n            lanes = createFiberFromPortal(newChild, returnFiber.mode, lanes);\n            lanes.return = returnFiber;\n            returnFiber = lanes;\n          }\n          return placeSingleChild(returnFiber);\n        case REACT_LAZY_TYPE:\n          return (\n            (newChild = resolveLazy(newChild)),\n            reconcileChildFibersImpl(\n              returnFiber,\n              currentFirstChild,\n              newChild,\n              lanes\n            )\n          );\n      }\n      if (isArrayImpl(newChild))\n        return reconcileChildrenArray(\n          returnFiber,\n          currentFirstChild,\n          newChild,\n          lanes\n        );\n      if (getIteratorFn(newChild)) {\n        key = getIteratorFn(newChild);\n        if (\"function\" !== typeof key) throw Error(formatProdErrorMessage(150));\n        newChild = key.call(newChild);\n        return reconcileChildrenIterator(\n          returnFiber,\n          currentFirstChild,\n          newChild,\n          lanes\n        );\n      }\n      if (\"function\" === typeof newChild.then)\n        return reconcileChildFibersImpl(\n          returnFiber,\n          currentFirstChild,\n          unwrapThenable(newChild),\n          lanes\n        );\n      if (newChild.$$typeof === REACT_CONTEXT_TYPE)\n        return reconcileChildFibersImpl(\n          returnFiber,\n          currentFirstChild,\n          readContextDuringReconciliation(returnFiber, newChild),\n          lanes\n        );\n      throwOnInvalidObjectTypeImpl(returnFiber, newChild);\n    }\n    return (\"string\" === typeof newChild && \"\" !== newChild) ||\n      \"number\" === typeof newChild ||\n      \"bigint\" === typeof newChild\n      ? ((newChild = \"\" + newChild),\n        null !== currentFirstChild && 6 === currentFirstChild.tag\n          ? (deleteRemainingChildren(returnFiber, currentFirstChild.sibling),\n            (lanes = useFiber(currentFirstChild, newChild)),\n            (lanes.return = returnFiber),\n            (returnFiber = lanes))\n          : (deleteRemainingChildren(returnFiber, currentFirstChild),\n            (lanes = createFiberFromText(newChild, returnFiber.mode, lanes)),\n            (lanes.return = returnFiber),\n            (returnFiber = lanes)),\n        placeSingleChild(returnFiber))\n      : deleteRemainingChildren(returnFiber, currentFirstChild);\n  }\n  return function (returnFiber, currentFirstChild, newChild, lanes) {\n    try {\n      thenableIndexCounter$1 = 0;\n      var firstChildFiber = reconcileChildFibersImpl(\n        returnFiber,\n        currentFirstChild,\n        newChild,\n        lanes\n      );\n      thenableState$1 = null;\n      return firstChildFiber;\n    } catch (x) {\n      if (x === SuspenseException || x === SuspenseActionException) throw x;\n      var fiber = createFiberImplClass(29, x, null, returnFiber.mode);\n      fiber.lanes = lanes;\n      fiber.return = returnFiber;\n      return fiber;\n    } finally {\n    }\n  };\n}\nvar reconcileChildFibers = createChildReconciler(!0),\n  mountChildFibers = createChildReconciler(!1),\n  hasForceUpdate = !1;\nfunction initializeUpdateQueue(fiber) {\n  fiber.updateQueue = {\n    baseState: fiber.memoizedState,\n    firstBaseUpdate: null,\n    lastBaseUpdate: null,\n    shared: { pending: null, lanes: 0, hiddenCallbacks: null },\n    callbacks: null\n  };\n}\nfunction cloneUpdateQueue(current, workInProgress) {\n  current = current.updateQueue;\n  workInProgress.updateQueue === current &&\n    (workInProgress.updateQueue = {\n      baseState: current.baseState,\n      firstBaseUpdate: current.firstBaseUpdate,\n      lastBaseUpdate: current.lastBaseUpdate,\n      shared: current.shared,\n      callbacks: null\n    });\n}\nfunction createUpdate(lane) {\n  return { lane: lane, tag: 0, payload: null, callback: null, next: null };\n}\nfunction enqueueUpdate(fiber, update, lane) {\n  var updateQueue = fiber.updateQueue;\n  if (null === updateQueue) return null;\n  updateQueue = updateQueue.shared;\n  if (0 !== (executionContext & 2)) {\n    var pending = updateQueue.pending;\n    null === pending\n      ? (update.next = update)\n      : ((update.next = pending.next), (pending.next = update));\n    updateQueue.pending = update;\n    update = getRootForUpdatedFiber(fiber);\n    markUpdateLaneFromFiberToRoot(fiber, null, lane);\n    return update;\n  }\n  enqueueUpdate$1(fiber, updateQueue, update, lane);\n  return getRootForUpdatedFiber(fiber);\n}\nfunction entangleTransitions(root, fiber, lane) {\n  fiber = fiber.updateQueue;\n  if (null !== fiber && ((fiber = fiber.shared), 0 !== (lane & 4194048))) {\n    var queueLanes = fiber.lanes;\n    queueLanes &= root.pendingLanes;\n    lane |= queueLanes;\n    fiber.lanes = lane;\n    markRootEntangled(root, lane);\n  }\n}\nfunction enqueueCapturedUpdate(workInProgress, capturedUpdate) {\n  var queue = workInProgress.updateQueue,\n    current = workInProgress.alternate;\n  if (\n    null !== current &&\n    ((current = current.updateQueue), queue === current)\n  ) {\n    var newFirst = null,\n      newLast = null;\n    queue = queue.firstBaseUpdate;\n    if (null !== queue) {\n      do {\n        var clone = {\n          lane: queue.lane,\n          tag: queue.tag,\n          payload: queue.payload,\n          callback: null,\n          next: null\n        };\n        null === newLast\n          ? (newFirst = newLast = clone)\n          : (newLast = newLast.next = clone);\n        queue = queue.next;\n      } while (null !== queue);\n      null === newLast\n        ? (newFirst = newLast = capturedUpdate)\n        : (newLast = newLast.next = capturedUpdate);\n    } else newFirst = newLast = capturedUpdate;\n    queue = {\n      baseState: current.baseState,\n      firstBaseUpdate: newFirst,\n      lastBaseUpdate: newLast,\n      shared: current.shared,\n      callbacks: current.callbacks\n    };\n    workInProgress.updateQueue = queue;\n    return;\n  }\n  workInProgress = queue.lastBaseUpdate;\n  null === workInProgress\n    ? (queue.firstBaseUpdate = capturedUpdate)\n    : (workInProgress.next = capturedUpdate);\n  queue.lastBaseUpdate = capturedUpdate;\n}\nvar didReadFromEntangledAsyncAction = !1;\nfunction suspendIfUpdateReadFromEntangledAsyncAction() {\n  if (didReadFromEntangledAsyncAction) {\n    var entangledActionThenable = currentEntangledActionThenable;\n    if (null !== entangledActionThenable) throw entangledActionThenable;\n  }\n}\nfunction processUpdateQueue(\n  workInProgress$jscomp$0,\n  props,\n  instance$jscomp$0,\n  renderLanes\n) {\n  didReadFromEntangledAsyncAction = !1;\n  var queue = workInProgress$jscomp$0.updateQueue;\n  hasForceUpdate = !1;\n  var firstBaseUpdate = queue.firstBaseUpdate,\n    lastBaseUpdate = queue.lastBaseUpdate,\n    pendingQueue = queue.shared.pending;\n  if (null !== pendingQueue) {\n    queue.shared.pending = null;\n    var lastPendingUpdate = pendingQueue,\n      firstPendingUpdate = lastPendingUpdate.next;\n    lastPendingUpdate.next = null;\n    null === lastBaseUpdate\n      ? (firstBaseUpdate = firstPendingUpdate)\n      : (lastBaseUpdate.next = firstPendingUpdate);\n    lastBaseUpdate = lastPendingUpdate;\n    var current = workInProgress$jscomp$0.alternate;\n    null !== current &&\n      ((current = current.updateQueue),\n      (pendingQueue = current.lastBaseUpdate),\n      pendingQueue !== lastBaseUpdate &&\n        (null === pendingQueue\n          ? (current.firstBaseUpdate = firstPendingUpdate)\n          : (pendingQueue.next = firstPendingUpdate),\n        (current.lastBaseUpdate = lastPendingUpdate)));\n  }\n  if (null !== firstBaseUpdate) {\n    var newState = queue.baseState;\n    lastBaseUpdate = 0;\n    current = firstPendingUpdate = lastPendingUpdate = null;\n    pendingQueue = firstBaseUpdate;\n    do {\n      var updateLane = pendingQueue.lane & -536870913,\n        isHiddenUpdate = updateLane !== pendingQueue.lane;\n      if (\n        isHiddenUpdate\n          ? (workInProgressRootRenderLanes & updateLane) === updateLane\n          : (renderLanes & updateLane) === updateLane\n      ) {\n        0 !== updateLane &&\n          updateLane === currentEntangledLane &&\n          (didReadFromEntangledAsyncAction = !0);\n        null !== current &&\n          (current = current.next =\n            {\n              lane: 0,\n              tag: pendingQueue.tag,\n              payload: pendingQueue.payload,\n              callback: null,\n              next: null\n            });\n        a: {\n          var workInProgress = workInProgress$jscomp$0,\n            update = pendingQueue;\n          updateLane = props;\n          var instance = instance$jscomp$0;\n          switch (update.tag) {\n            case 1:\n              workInProgress = update.payload;\n              if (\"function\" === typeof workInProgress) {\n                newState = workInProgress.call(instance, newState, updateLane);\n                break a;\n              }\n              newState = workInProgress;\n              break a;\n            case 3:\n              workInProgress.flags = (workInProgress.flags & -65537) | 128;\n            case 0:\n              workInProgress = update.payload;\n              updateLane =\n                \"function\" === typeof workInProgress\n                  ? workInProgress.call(instance, newState, updateLane)\n                  : workInProgress;\n              if (null === updateLane || void 0 === updateLane) break a;\n              newState = assign({}, newState, updateLane);\n              break a;\n            case 2:\n              hasForceUpdate = !0;\n          }\n        }\n        updateLane = pendingQueue.callback;\n        null !== updateLane &&\n          ((workInProgress$jscomp$0.flags |= 64),\n          isHiddenUpdate && (workInProgress$jscomp$0.flags |= 8192),\n          (isHiddenUpdate = queue.callbacks),\n          null === isHiddenUpdate\n            ? (queue.callbacks = [updateLane])\n            : isHiddenUpdate.push(updateLane));\n      } else\n        (isHiddenUpdate = {\n          lane: updateLane,\n          tag: pendingQueue.tag,\n          payload: pendingQueue.payload,\n          callback: pendingQueue.callback,\n          next: null\n        }),\n          null === current\n            ? ((firstPendingUpdate = current = isHiddenUpdate),\n              (lastPendingUpdate = newState))\n            : (current = current.next = isHiddenUpdate),\n          (lastBaseUpdate |= updateLane);\n      pendingQueue = pendingQueue.next;\n      if (null === pendingQueue)\n        if (((pendingQueue = queue.shared.pending), null === pendingQueue))\n          break;\n        else\n          (isHiddenUpdate = pendingQueue),\n            (pendingQueue = isHiddenUpdate.next),\n            (isHiddenUpdate.next = null),\n            (queue.lastBaseUpdate = isHiddenUpdate),\n            (queue.shared.pending = null);\n    } while (1);\n    null === current && (lastPendingUpdate = newState);\n    queue.baseState = lastPendingUpdate;\n    queue.firstBaseUpdate = firstPendingUpdate;\n    queue.lastBaseUpdate = current;\n    null === firstBaseUpdate && (queue.shared.lanes = 0);\n    workInProgressRootSkippedLanes |= lastBaseUpdate;\n    workInProgress$jscomp$0.lanes = lastBaseUpdate;\n    workInProgress$jscomp$0.memoizedState = newState;\n  }\n}\nfunction callCallback(callback, context) {\n  if (\"function\" !== typeof callback)\n    throw Error(formatProdErrorMessage(191, callback));\n  callback.call(context);\n}\nfunction commitCallbacks(updateQueue, context) {\n  var callbacks = updateQueue.callbacks;\n  if (null !== callbacks)\n    for (\n      updateQueue.callbacks = null, updateQueue = 0;\n      updateQueue < callbacks.length;\n      updateQueue++\n    )\n      callCallback(callbacks[updateQueue], context);\n}\nvar currentTreeHiddenStackCursor = createCursor(null),\n  prevEntangledRenderLanesCursor = createCursor(0);\nfunction pushHiddenContext(fiber, context) {\n  fiber = entangledRenderLanes;\n  push(prevEntangledRenderLanesCursor, fiber);\n  push(currentTreeHiddenStackCursor, context);\n  entangledRenderLanes = fiber | context.baseLanes;\n}\nfunction reuseHiddenContextOnStack() {\n  push(prevEntangledRenderLanesCursor, entangledRenderLanes);\n  push(currentTreeHiddenStackCursor, currentTreeHiddenStackCursor.current);\n}\nfunction popHiddenContext() {\n  entangledRenderLanes = prevEntangledRenderLanesCursor.current;\n  pop(currentTreeHiddenStackCursor);\n  pop(prevEntangledRenderLanesCursor);\n}\nvar suspenseHandlerStackCursor = createCursor(null),\n  shellBoundary = null;\nfunction pushPrimaryTreeSuspenseHandler(handler) {\n  var current = handler.alternate;\n  push(suspenseStackCursor, suspenseStackCursor.current & 1);\n  push(suspenseHandlerStackCursor, handler);\n  null === shellBoundary &&\n    (null === current || null !== currentTreeHiddenStackCursor.current\n      ? (shellBoundary = handler)\n      : null !== current.memoizedState && (shellBoundary = handler));\n}\nfunction pushDehydratedActivitySuspenseHandler(fiber) {\n  push(suspenseStackCursor, suspenseStackCursor.current);\n  push(suspenseHandlerStackCursor, fiber);\n  null === shellBoundary && (shellBoundary = fiber);\n}\nfunction pushOffscreenSuspenseHandler(fiber) {\n  22 === fiber.tag\n    ? (push(suspenseStackCursor, suspenseStackCursor.current),\n      push(suspenseHandlerStackCursor, fiber),\n      null === shellBoundary && (shellBoundary = fiber))\n    : reuseSuspenseHandlerOnStack();\n}\nfunction reuseSuspenseHandlerOnStack() {\n  push(suspenseStackCursor, suspenseStackCursor.current);\n  push(suspenseHandlerStackCursor, suspenseHandlerStackCursor.current);\n}\nfunction popSuspenseHandler(fiber) {\n  pop(suspenseHandlerStackCursor);\n  shellBoundary === fiber && (shellBoundary = null);\n  pop(suspenseStackCursor);\n}\nvar suspenseStackCursor = createCursor(0);\nfunction pushSuspenseListContext(fiber, newContext) {\n  push(suspenseHandlerStackCursor, suspenseHandlerStackCursor.current);\n  push(suspenseStackCursor, newContext);\n}\nfunction popSuspenseListContext(fiber) {\n  pop(suspenseStackCursor);\n  pop(suspenseHandlerStackCursor);\n  shellBoundary === fiber && (shellBoundary = null);\n}\nfunction findFirstSuspended(row) {\n  for (var node = row; null !== node; ) {\n    if (13 === node.tag) {\n      var state = node.memoizedState;\n      if (\n        null !== state &&\n        ((state = state.dehydrated),\n        null === state ||\n          isSuspenseInstancePending(state) ||\n          isSuspenseInstanceFallback(state))\n      )\n        return node;\n    } else if (\n      19 === node.tag &&\n      \"independent\" !== node.memoizedProps.revealOrder\n    ) {\n      if (0 !== (node.flags & 128)) return node;\n    } else if (null !== node.child) {\n      node.child.return = node;\n      node = node.child;\n      continue;\n    }\n    if (node === row) break;\n    for (; null === node.sibling; ) {\n      if (null === node.return || node.return === row) return null;\n      node = node.return;\n    }\n    node.sibling.return = node.return;\n    node = node.sibling;\n  }\n  return null;\n}\nvar renderLanes = 0,\n  currentlyRenderingFiber = null,\n  currentHook = null,\n  workInProgressHook = null,\n  didScheduleRenderPhaseUpdate = !1,\n  didScheduleRenderPhaseUpdateDuringThisPass = !1,\n  shouldDoubleInvokeUserFnsInHooksDEV = !1,\n  localIdCounter = 0,\n  thenableIndexCounter = 0,\n  thenableState = null,\n  globalClientIdCounter = 0;\nfunction throwInvalidHookError() {\n  throw Error(formatProdErrorMessage(321));\n}\nfunction areHookInputsEqual(nextDeps, prevDeps) {\n  if (null === prevDeps) return !1;\n  for (var i = 0; i < prevDeps.length && i < nextDeps.length; i++)\n    if (!objectIs(nextDeps[i], prevDeps[i])) return !1;\n  return !0;\n}\nfunction renderWithHooks(\n  current,\n  workInProgress,\n  Component,\n  props,\n  secondArg,\n  nextRenderLanes\n) {\n  renderLanes = nextRenderLanes;\n  currentlyRenderingFiber = workInProgress;\n  workInProgress.memoizedState = null;\n  workInProgress.updateQueue = null;\n  workInProgress.lanes = 0;\n  ReactSharedInternals.H =\n    null === current || null === current.memoizedState\n      ? HooksDispatcherOnMount\n      : HooksDispatcherOnUpdate;\n  shouldDoubleInvokeUserFnsInHooksDEV = !1;\n  nextRenderLanes = Component(props, secondArg);\n  shouldDoubleInvokeUserFnsInHooksDEV = !1;\n  didScheduleRenderPhaseUpdateDuringThisPass &&\n    (nextRenderLanes = renderWithHooksAgain(\n      workInProgress,\n      Component,\n      props,\n      secondArg\n    ));\n  finishRenderingHooks(current);\n  return nextRenderLanes;\n}\nfunction finishRenderingHooks(current) {\n  ReactSharedInternals.H = ContextOnlyDispatcher;\n  var didRenderTooFewHooks = null !== currentHook && null !== currentHook.next;\n  renderLanes = 0;\n  workInProgressHook = currentHook = currentlyRenderingFiber = null;\n  didScheduleRenderPhaseUpdate = !1;\n  thenableIndexCounter = 0;\n  thenableState = null;\n  if (didRenderTooFewHooks) throw Error(formatProdErrorMessage(300));\n  null === current ||\n    didReceiveUpdate ||\n    ((current = current.dependencies),\n    null !== current &&\n      checkIfContextChanged(current) &&\n      (didReceiveUpdate = !0));\n}\nfunction renderWithHooksAgain(workInProgress, Component, props, secondArg) {\n  currentlyRenderingFiber = workInProgress;\n  var numberOfReRenders = 0;\n  do {\n    didScheduleRenderPhaseUpdateDuringThisPass && (thenableState = null);\n    thenableIndexCounter = 0;\n    didScheduleRenderPhaseUpdateDuringThisPass = !1;\n    if (25 <= numberOfReRenders) throw Error(formatProdErrorMessage(301));\n    numberOfReRenders += 1;\n    workInProgressHook = currentHook = null;\n    if (null != workInProgress.updateQueue) {\n      var children = workInProgress.updateQueue;\n      children.lastEffect = null;\n      children.events = null;\n      children.stores = null;\n      null != children.memoCache && (children.memoCache.index = 0);\n    }\n    ReactSharedInternals.H = HooksDispatcherOnRerender;\n    children = Component(props, secondArg);\n  } while (didScheduleRenderPhaseUpdateDuringThisPass);\n  return children;\n}\nfunction TransitionAwareHostComponent() {\n  var dispatcher = ReactSharedInternals.H,\n    maybeThenable = dispatcher.useState()[0];\n  maybeThenable =\n    \"function\" === typeof maybeThenable.then\n      ? useThenable(maybeThenable)\n      : maybeThenable;\n  dispatcher = dispatcher.useState()[0];\n  (null !== currentHook ? currentHook.memoizedState : null) !== dispatcher &&\n    (currentlyRenderingFiber.flags |= 1024);\n  return maybeThenable;\n}\nfunction checkDidRenderIdHook() {\n  var didRenderIdHook = 0 !== localIdCounter;\n  localIdCounter = 0;\n  return didRenderIdHook;\n}\nfunction bailoutHooks(current, workInProgress, lanes) {\n  workInProgress.updateQueue = current.updateQueue;\n  workInProgress.flags &= -2053;\n  current.lanes &= ~lanes;\n}\nfunction resetHooksOnUnwind(workInProgress) {\n  if (didScheduleRenderPhaseUpdate) {\n    for (\n      workInProgress = workInProgress.memoizedState;\n      null !== workInProgress;\n\n    ) {\n      var queue = workInProgress.queue;\n      null !== queue && (queue.pending = null);\n      workInProgress = workInProgress.next;\n    }\n    didScheduleRenderPhaseUpdate = !1;\n  }\n  renderLanes = 0;\n  workInProgressHook = currentHook = currentlyRenderingFiber = null;\n  didScheduleRenderPhaseUpdateDuringThisPass = !1;\n  thenableIndexCounter = localIdCounter = 0;\n  thenableState = null;\n}\nfunction mountWorkInProgressHook() {\n  var hook = {\n    memoizedState: null,\n    baseState: null,\n    baseQueue: null,\n    queue: null,\n    next: null\n  };\n  null === workInProgressHook\n    ? (currentlyRenderingFiber.memoizedState = workInProgressHook = hook)\n    : (workInProgressHook = workInProgressHook.next = hook);\n  return workInProgressHook;\n}\nfunction updateWorkInProgressHook() {\n  if (null === currentHook) {\n    var nextCurrentHook = currentlyRenderingFiber.alternate;\n    nextCurrentHook =\n      null !== nextCurrentHook ? nextCurrentHook.memoizedState : null;\n  } else nextCurrentHook = currentHook.next;\n  var nextWorkInProgressHook =\n    null === workInProgressHook\n      ? currentlyRenderingFiber.memoizedState\n      : workInProgressHook.next;\n  if (null !== nextWorkInProgressHook)\n    (workInProgressHook = nextWorkInProgressHook),\n      (currentHook = nextCurrentHook);\n  else {\n    if (null === nextCurrentHook) {\n      if (null === currentlyRenderingFiber.alternate)\n        throw Error(formatProdErrorMessage(467));\n      throw Error(formatProdErrorMessage(310));\n    }\n    currentHook = nextCurrentHook;\n    nextCurrentHook = {\n      memoizedState: currentHook.memoizedState,\n      baseState: currentHook.baseState,\n      baseQueue: currentHook.baseQueue,\n      queue: currentHook.queue,\n      next: null\n    };\n    null === workInProgressHook\n      ? (currentlyRenderingFiber.memoizedState = workInProgressHook =\n          nextCurrentHook)\n      : (workInProgressHook = workInProgressHook.next = nextCurrentHook);\n  }\n  return workInProgressHook;\n}\nfunction createFunctionComponentUpdateQueue() {\n  return { lastEffect: null, events: null, stores: null, memoCache: null };\n}\nfunction useThenable(thenable) {\n  var index = thenableIndexCounter;\n  thenableIndexCounter += 1;\n  null === thenableState && (thenableState = []);\n  thenable = trackUsedThenable(thenableState, thenable, index);\n  index = currentlyRenderingFiber;\n  null ===\n    (null === workInProgressHook\n      ? index.memoizedState\n      : workInProgressHook.next) &&\n    ((index = index.alternate),\n    (ReactSharedInternals.H =\n      null === index || null === index.memoizedState\n        ? HooksDispatcherOnMount\n        : HooksDispatcherOnUpdate));\n  return thenable;\n}\nfunction use(usable) {\n  if (null !== usable && \"object\" === typeof usable) {\n    if (\"function\" === typeof usable.then) return useThenable(usable);\n    if (usable.$$typeof === REACT_RECOVERABLE_TYPE) return;\n    if (usable.$$typeof === REACT_CONTEXT_TYPE) return readContext(usable);\n  }\n  throw Error(formatProdErrorMessage(438, String(usable)));\n}\nfunction useMemoCache(size) {\n  var memoCache = null,\n    updateQueue = currentlyRenderingFiber.updateQueue;\n  null !== updateQueue && (memoCache = updateQueue.memoCache);\n  if (null == memoCache) {\n    var current = currentlyRenderingFiber.alternate;\n    null !== current &&\n      ((current = current.updateQueue),\n      null !== current &&\n        ((current = current.memoCache),\n        null != current &&\n          (memoCache = {\n            data: current.data.map(function (array) {\n              return array.slice();\n            }),\n            index: 0\n          })));\n  }\n  null == memoCache && (memoCache = { data: [], index: 0 });\n  null === updateQueue &&\n    ((updateQueue = createFunctionComponentUpdateQueue()),\n    (currentlyRenderingFiber.updateQueue = updateQueue));\n  updateQueue.memoCache = memoCache;\n  updateQueue = memoCache.data[memoCache.index];\n  if (void 0 === updateQueue)\n    for (\n      updateQueue = memoCache.data[memoCache.index] = Array(size), current = 0;\n      current < size;\n      current++\n    )\n      updateQueue[current] = REACT_MEMO_CACHE_SENTINEL;\n  memoCache.index++;\n  return updateQueue;\n}\nfunction basicStateReducer(state, action) {\n  return \"function\" === typeof action ? action(state) : action;\n}\nfunction updateReducer(reducer) {\n  var hook = updateWorkInProgressHook();\n  return updateReducerImpl(hook, currentHook, reducer);\n}\nfunction updateReducerImpl(hook, current, reducer) {\n  var queue = hook.queue;\n  if (null === queue) throw Error(formatProdErrorMessage(311));\n  queue.lastRenderedReducer = reducer;\n  var baseQueue = hook.baseQueue,\n    pendingQueue = queue.pending;\n  if (null !== pendingQueue) {\n    if (null !== baseQueue) {\n      var baseFirst = baseQueue.next;\n      baseQueue.next = pendingQueue.next;\n      pendingQueue.next = baseFirst;\n    }\n    current.baseQueue = baseQueue = pendingQueue;\n    queue.pending = null;\n  }\n  pendingQueue = hook.baseState;\n  if (null === baseQueue) hook.memoizedState = pendingQueue;\n  else {\n    current = baseQueue.next;\n    var newBaseQueueFirst = (baseFirst = null),\n      newBaseQueueLast = null,\n      update = current,\n      didReadFromEntangledAsyncAction$64 = !1;\n    do {\n      var updateLane = update.lane & -536870913;\n      if (\n        updateLane !== update.lane\n          ? (workInProgressRootRenderLanes & updateLane) === updateLane\n          : (renderLanes & updateLane) === updateLane\n      ) {\n        var revertLane = update.revertLane;\n        if (0 === revertLane)\n          null !== newBaseQueueLast &&\n            (newBaseQueueLast = newBaseQueueLast.next =\n              {\n                lane: 0,\n                revertLane: 0,\n                gesture: null,\n                action: update.action,\n                hasEagerState: update.hasEagerState,\n                eagerState: update.eagerState,\n                next: null\n              }),\n            updateLane === currentEntangledLane &&\n              (didReadFromEntangledAsyncAction$64 = !0);\n        else if ((renderLanes & revertLane) === revertLane) {\n          update = update.next;\n          revertLane === currentEntangledLane &&\n            (didReadFromEntangledAsyncAction$64 = !0);\n          continue;\n        } else\n          (updateLane = {\n            lane: 0,\n            revertLane: update.revertLane,\n            gesture: null,\n            action: update.action,\n            hasEagerState: update.hasEagerState,\n            eagerState: update.eagerState,\n            next: null\n          }),\n            null === newBaseQueueLast\n              ? ((newBaseQueueFirst = newBaseQueueLast = updateLane),\n                (baseFirst = pendingQueue))\n              : (newBaseQueueLast = newBaseQueueLast.next = updateLane),\n            (currentlyRenderingFiber.lanes |= revertLane),\n            (workInProgressRootSkippedLanes |= revertLane);\n        updateLane = update.action;\n        shouldDoubleInvokeUserFnsInHooksDEV &&\n          reducer(pendingQueue, updateLane);\n        pendingQueue = update.hasEagerState\n          ? update.eagerState\n          : reducer(pendingQueue, updateLane);\n      } else\n        (revertLane = {\n          lane: updateLane,\n          revertLane: update.revertLane,\n          gesture: update.gesture,\n          action: update.action,\n          hasEagerState: update.hasEagerState,\n          eagerState: update.eagerState,\n          next: null\n        }),\n          null === newBaseQueueLast\n            ? ((newBaseQueueFirst = newBaseQueueLast = revertLane),\n              (baseFirst = pendingQueue))\n            : (newBaseQueueLast = newBaseQueueLast.next = revertLane),\n          (currentlyRenderingFiber.lanes |= updateLane),\n          (workInProgressRootSkippedLanes |= updateLane);\n      update = update.next;\n    } while (null !== update && update !== current);\n    null === newBaseQueueLast\n      ? (baseFirst = pendingQueue)\n      : (newBaseQueueLast.next = newBaseQueueFirst);\n    if (\n      !objectIs(pendingQueue, hook.memoizedState) &&\n      ((didReceiveUpdate = !0),\n      didReadFromEntangledAsyncAction$64 &&\n        ((reducer = currentEntangledActionThenable), null !== reducer))\n    )\n      throw reducer;\n    hook.memoizedState = pendingQueue;\n    hook.baseState = baseFirst;\n    hook.baseQueue = newBaseQueueLast;\n    queue.lastRenderedState = pendingQueue;\n  }\n  null === baseQueue && (queue.lanes = 0);\n  return [hook.memoizedState, queue.dispatch];\n}\nfunction rerenderReducer(reducer) {\n  var hook = updateWorkInProgressHook(),\n    queue = hook.queue;\n  if (null === queue) throw Error(formatProdErrorMessage(311));\n  queue.lastRenderedReducer = reducer;\n  var dispatch = queue.dispatch,\n    lastRenderPhaseUpdate = queue.pending,\n    newState = hook.memoizedState;\n  if (null !== lastRenderPhaseUpdate) {\n    queue.pending = null;\n    var update = (lastRenderPhaseUpdate = lastRenderPhaseUpdate.next);\n    do (newState = reducer(newState, update.action)), (update = update.next);\n    while (update !== lastRenderPhaseUpdate);\n    objectIs(newState, hook.memoizedState) || (didReceiveUpdate = !0);\n    hook.memoizedState = newState;\n    null === hook.baseQueue && (hook.baseState = newState);\n    queue.lastRenderedState = newState;\n  }\n  return [newState, dispatch];\n}\nfunction updateSyncExternalStore(subscribe, getSnapshot, getServerSnapshot) {\n  var fiber = currentlyRenderingFiber,\n    hook = updateWorkInProgressHook(),\n    isHydrating$jscomp$0 = isHydrating;\n  if (isHydrating$jscomp$0) {\n    if (void 0 === getServerSnapshot) throw Error(formatProdErrorMessage(407));\n    getServerSnapshot = getServerSnapshot();\n  } else getServerSnapshot = getSnapshot();\n  var snapshotChanged = !objectIs(\n    (currentHook || hook).memoizedState,\n    getServerSnapshot\n  );\n  snapshotChanged &&\n    ((hook.memoizedState = getServerSnapshot), (didReceiveUpdate = !0));\n  hook = hook.queue;\n  updateEffect(subscribeToStore.bind(null, fiber, hook, subscribe), [\n    subscribe\n  ]);\n  subscribe =\n    hook.getSnapshot !== getSnapshot ||\n    snapshotChanged ||\n    (null !== workInProgressHook &&\n      0 !== (workInProgressHook.memoizedState.tag & 1));\n  pushSimpleEffect(\n    subscribe ? 9 : 8,\n    { destroy: void 0 },\n    updateStoreInstance.bind(null, fiber, hook, getServerSnapshot, getSnapshot),\n    null\n  );\n  if (subscribe) {\n    fiber.flags |= 2048;\n    if (null === workInProgressRoot) throw Error(formatProdErrorMessage(349));\n    isHydrating$jscomp$0 ||\n      0 !== (renderLanes & 127) ||\n      pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);\n  }\n  return getServerSnapshot;\n}\nfunction pushStoreConsistencyCheck(fiber, getSnapshot, renderedSnapshot) {\n  fiber.flags |= 16384;\n  fiber = { getSnapshot: getSnapshot, value: renderedSnapshot };\n  getSnapshot = currentlyRenderingFiber.updateQueue;\n  null === getSnapshot\n    ? ((getSnapshot = createFunctionComponentUpdateQueue()),\n      (currentlyRenderingFiber.updateQueue = getSnapshot),\n      (getSnapshot.stores = [fiber]))\n    : ((renderedSnapshot = getSnapshot.stores),\n      null === renderedSnapshot\n        ? (getSnapshot.stores = [fiber])\n        : renderedSnapshot.push(fiber));\n}\nfunction updateStoreInstance(fiber, inst, nextSnapshot, getSnapshot) {\n  inst.value = nextSnapshot;\n  inst.getSnapshot = getSnapshot;\n  checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);\n}\nfunction subscribeToStore(fiber, inst, subscribe) {\n  return subscribe(function () {\n    checkIfSnapshotChanged(inst) && forceStoreRerender(fiber);\n  });\n}\nfunction checkIfSnapshotChanged(inst) {\n  var latestGetSnapshot = inst.getSnapshot;\n  inst = inst.value;\n  try {\n    var nextValue = latestGetSnapshot();\n    return !objectIs(inst, nextValue);\n  } catch (error) {\n    return !0;\n  }\n}\nfunction forceStoreRerender(fiber) {\n  var root = enqueueConcurrentRenderForLane(fiber, 2);\n  null !== root && scheduleUpdateOnFiber(root, fiber, 2);\n}\nfunction mountStateImpl(initialState) {\n  var hook = mountWorkInProgressHook();\n  if (\"function\" === typeof initialState) {\n    var initialStateInitializer = initialState;\n    initialState = initialStateInitializer();\n    if (shouldDoubleInvokeUserFnsInHooksDEV) {\n      setIsStrictModeForDevtools(!0);\n      try {\n        initialStateInitializer();\n      } finally {\n        setIsStrictModeForDevtools(!1);\n      }\n    }\n  }\n  hook.memoizedState = hook.baseState = initialState;\n  hook.queue = {\n    pending: null,\n    lanes: 0,\n    dispatch: null,\n    lastRenderedReducer: basicStateReducer,\n    lastRenderedState: initialState\n  };\n  return hook;\n}\nfunction updateOptimisticImpl(hook, current, passthrough, reducer) {\n  hook.baseState = passthrough;\n  return updateReducerImpl(\n    hook,\n    currentHook,\n    \"function\" === typeof reducer ? reducer : basicStateReducer\n  );\n}\nfunction dispatchActionState(\n  fiber,\n  actionQueue,\n  setPendingState,\n  setState,\n  payload\n) {\n  if (isRenderPhaseUpdate(fiber)) throw Error(formatProdErrorMessage(485));\n  fiber = actionQueue.action;\n  if (null !== fiber) {\n    var actionNode = {\n      payload: payload,\n      action: fiber,\n      next: null,\n      isTransition: !0,\n      status: \"pending\",\n      value: null,\n      reason: null,\n      listeners: [],\n      then: function (listener) {\n        actionNode.listeners.push(listener);\n      }\n    };\n    null !== ReactSharedInternals.T\n      ? setPendingState(!0)\n      : (actionNode.isTransition = !1);\n    setState(actionNode);\n    setPendingState = actionQueue.pending;\n    null === setPendingState\n      ? ((actionNode.next = actionQueue.pending = actionNode),\n        runActionStateAction(actionQueue, actionNode))\n      : ((actionNode.next = setPendingState.next),\n        (actionQueue.pending = setPendingState.next = actionNode));\n  }\n}\nfunction runActionStateAction(actionQueue, node) {\n  var action = node.action,\n    payload = node.payload,\n    prevState = actionQueue.state;\n  if (node.isTransition) {\n    var prevTransition = ReactSharedInternals.T,\n      currentTransition = {};\n    currentTransition.types =\n      null !== prevTransition ? prevTransition.types : null;\n    ReactSharedInternals.T = currentTransition;\n    try {\n      var returnValue = action(prevState, payload),\n        onStartTransitionFinish = ReactSharedInternals.S;\n      null !== onStartTransitionFinish &&\n        onStartTransitionFinish(currentTransition, returnValue);\n      handleActionReturnValue(actionQueue, node, returnValue);\n    } catch (error) {\n      onActionError(actionQueue, node, error);\n    } finally {\n      null !== prevTransition &&\n        null !== currentTransition.types &&\n        (prevTransition.types = currentTransition.types),\n        (ReactSharedInternals.T = prevTransition);\n    }\n  } else\n    try {\n      (prevTransition = action(prevState, payload)),\n        handleActionReturnValue(actionQueue, node, prevTransition);\n    } catch (error$70) {\n      onActionError(actionQueue, node, error$70);\n    }\n}\nfunction handleActionReturnValue(actionQueue, node, returnValue) {\n  null !== returnValue &&\n  \"object\" === typeof returnValue &&\n  \"function\" === typeof returnValue.then\n    ? returnValue.then(\n        function (nextState) {\n          onActionSuccess(actionQueue, node, nextState);\n        },\n        function (error) {\n          return onActionError(actionQueue, node, error);\n        }\n      )\n    : onActionSuccess(actionQueue, node, returnValue);\n}\nfunction onActionSuccess(actionQueue, actionNode, nextState) {\n  actionNode.status = \"fulfilled\";\n  actionNode.value = nextState;\n  notifyActionListeners(actionNode);\n  actionQueue.state = nextState;\n  actionNode = actionQueue.pending;\n  null !== actionNode &&\n    ((nextState = actionNode.next),\n    nextState === actionNode\n      ? (actionQueue.pending = null)\n      : ((nextState = nextState.next),\n        (actionNode.next = nextState),\n        runActionStateAction(actionQueue, nextState)));\n}\nfunction onActionError(actionQueue, actionNode, error) {\n  var last = actionQueue.pending;\n  actionQueue.pending = null;\n  if (null !== last) {\n    last = last.next;\n    do\n      (actionNode.status = \"rejected\"),\n        (actionNode.reason = error),\n        notifyActionListeners(actionNode),\n        (actionNode = actionNode.next);\n    while (actionNode !== last);\n  }\n  actionQueue.action = null;\n}\nfunction notifyActionListeners(actionNode) {\n  actionNode = actionNode.listeners;\n  for (var i = 0; i < actionNode.length; i++) (0, actionNode[i])();\n}\nfunction actionStateReducer(oldState, newState) {\n  return newState;\n}\nfunction mountActionState(action, initialStateProp) {\n  if (isHydrating) {\n    var ssrFormState = workInProgressRoot.formState;\n    if (null !== ssrFormState) {\n      a: {\n        var JSCompiler_inline_result = currentlyRenderingFiber;\n        if (isHydrating) {\n          if (nextHydratableInstance) {\n            b: {\n              var JSCompiler_inline_result$jscomp$0 = nextHydratableInstance;\n              for (\n                var inRootOrSingleton = rootOrSingletonContext;\n                8 !== JSCompiler_inline_result$jscomp$0.nodeType;\n\n              ) {\n                if (!inRootOrSingleton) {\n                  JSCompiler_inline_result$jscomp$0 = null;\n                  break b;\n                }\n                JSCompiler_inline_result$jscomp$0 = getNextHydratable(\n                  JSCompiler_inline_result$jscomp$0.nextSibling\n                );\n                if (null === JSCompiler_inline_result$jscomp$0) {\n                  JSCompiler_inline_result$jscomp$0 = null;\n                  break b;\n                }\n              }\n              inRootOrSingleton = JSCompiler_inline_result$jscomp$0.data;\n              JSCompiler_inline_result$jscomp$0 =\n                \"F!\" === inRootOrSingleton || \"F\" === inRootOrSingleton\n                  ? JSCompiler_inline_result$jscomp$0\n                  : null;\n            }\n            if (JSCompiler_inline_result$jscomp$0) {\n              nextHydratableInstance = getNextHydratable(\n                JSCompiler_inline_result$jscomp$0.nextSibling\n              );\n              JSCompiler_inline_result =\n                \"F!\" === JSCompiler_inline_result$jscomp$0.data;\n              break a;\n            }\n          }\n          throwOnHydrationMismatch(JSCompiler_inline_result);\n        }\n        JSCompiler_inline_result = !1;\n      }\n      JSCompiler_inline_result && (initialStateProp = ssrFormState[0]);\n    }\n  }\n  ssrFormState = mountWorkInProgressHook();\n  ssrFormState.memoizedState = ssrFormState.baseState = initialStateProp;\n  JSCompiler_inline_result = {\n    pending: null,\n    lanes: 0,\n    dispatch: null,\n    lastRenderedReducer: actionStateReducer,\n    lastRenderedState: initialStateProp\n  };\n  ssrFormState.queue = JSCompiler_inline_result;\n  ssrFormState = dispatchSetState.bind(\n    null,\n    currentlyRenderingFiber,\n    JSCompiler_inline_result\n  );\n  JSCompiler_inline_result.dispatch = ssrFormState;\n  JSCompiler_inline_result = mountStateImpl(!1);\n  inRootOrSingleton = dispatchOptimisticSetState.bind(\n    null,\n    currentlyRenderingFiber,\n    !1,\n    JSCompiler_inline_result.queue\n  );\n  JSCompiler_inline_result = mountWorkInProgressHook();\n  JSCompiler_inline_result$jscomp$0 = {\n    state: initialStateProp,\n    dispatch: null,\n    action: action,\n    pending: null\n  };\n  JSCompiler_inline_result.queue = JSCompiler_inline_result$jscomp$0;\n  ssrFormState = dispatchActionState.bind(\n    null,\n    currentlyRenderingFiber,\n    JSCompiler_inline_result$jscomp$0,\n    inRootOrSingleton,\n    ssrFormState\n  );\n  JSCompiler_inline_result$jscomp$0.dispatch = ssrFormState;\n  JSCompiler_inline_result.memoizedState = action;\n  return [initialStateProp, ssrFormState, !1];\n}\nfunction updateActionState(action) {\n  var stateHook = updateWorkInProgressHook();\n  return updateActionStateImpl(stateHook, currentHook, action);\n}\nfunction updateActionStateImpl(stateHook, currentStateHook, action) {\n  currentStateHook = updateReducerImpl(\n    stateHook,\n    currentStateHook,\n    actionStateReducer\n  )[0];\n  stateHook = updateReducer(basicStateReducer)[0];\n  if (\n    \"object\" === typeof currentStateHook &&\n    null !== currentStateHook &&\n    \"function\" === typeof currentStateHook.then\n  )\n    try {\n      var state = useThenable(currentStateHook);\n    } catch (x) {\n      if (x === SuspenseException) throw SuspenseActionException;\n      throw x;\n    }\n  else state = currentStateHook;\n  currentStateHook = updateWorkInProgressHook();\n  var actionQueue = currentStateHook.queue,\n    dispatch = actionQueue.dispatch;\n  action !== currentStateHook.memoizedState &&\n    ((currentlyRenderingFiber.flags |= 2048),\n    pushSimpleEffect(\n      9,\n      { destroy: void 0 },\n      actionStateActionEffect.bind(null, actionQueue, action),\n      null\n    ));\n  return [state, dispatch, stateHook];\n}\nfunction actionStateActionEffect(actionQueue, action) {\n  actionQueue.action = action;\n}\nfunction rerenderActionState(action) {\n  var stateHook = updateWorkInProgressHook(),\n    currentStateHook = currentHook;\n  if (null !== currentStateHook)\n    return updateActionStateImpl(stateHook, currentStateHook, action);\n  updateWorkInProgressHook();\n  stateHook = stateHook.memoizedState;\n  currentStateHook = updateWorkInProgressHook();\n  var dispatch = currentStateHook.queue.dispatch;\n  currentStateHook.memoizedState = action;\n  return [stateHook, dispatch, !1];\n}\nfunction pushSimpleEffect(tag, inst, create, deps) {\n  tag = { tag: tag, create: create, deps: deps, inst: inst, next: null };\n  inst = currentlyRenderingFiber.updateQueue;\n  null === inst &&\n    ((inst = createFunctionComponentUpdateQueue()),\n    (currentlyRenderingFiber.updateQueue = inst));\n  create = inst.lastEffect;\n  null === create\n    ? (inst.lastEffect = tag.next = tag)\n    : ((deps = create.next),\n      (create.next = tag),\n      (tag.next = deps),\n      (inst.lastEffect = tag));\n  return tag;\n}\nfunction updateRef() {\n  return updateWorkInProgressHook().memoizedState;\n}\nfunction mountEffectImpl(fiberFlags, hookFlags, create, deps) {\n  var hook = mountWorkInProgressHook();\n  currentlyRenderingFiber.flags |= fiberFlags;\n  hook.memoizedState = pushSimpleEffect(\n    1 | hookFlags,\n    { destroy: void 0 },\n    create,\n    void 0 === deps ? null : deps\n  );\n}\nfunction updateEffectImpl(fiberFlags, hookFlags, create, deps) {\n  var hook = updateWorkInProgressHook();\n  deps = void 0 === deps ? null : deps;\n  var inst = hook.memoizedState.inst;\n  null !== currentHook &&\n  null !== deps &&\n  areHookInputsEqual(deps, currentHook.memoizedState.deps)\n    ? (hook.memoizedState = pushSimpleEffect(hookFlags, inst, create, deps))\n    : ((currentlyRenderingFiber.flags |= fiberFlags),\n      (hook.memoizedState = pushSimpleEffect(\n        1 | hookFlags,\n        inst,\n        create,\n        deps\n      )));\n}\nfunction mountEffect(create, deps) {\n  mountEffectImpl(8390656, 8, create, deps);\n}\nfunction updateEffect(create, deps) {\n  updateEffectImpl(2048, 8, create, deps);\n}\nfunction useEffectEventImpl(payload) {\n  currentlyRenderingFiber.flags |= 4;\n  var componentUpdateQueue = currentlyRenderingFiber.updateQueue;\n  if (null === componentUpdateQueue)\n    (componentUpdateQueue = createFunctionComponentUpdateQueue()),\n      (currentlyRenderingFiber.updateQueue = componentUpdateQueue),\n      (componentUpdateQueue.events = [payload]);\n  else {\n    var events = componentUpdateQueue.events;\n    null === events\n      ? (componentUpdateQueue.events = [payload])\n      : events.push(payload);\n  }\n}\nfunction updateEvent(callback) {\n  var ref = updateWorkInProgressHook().memoizedState;\n  useEffectEventImpl({ ref: ref, nextImpl: callback });\n  return function () {\n    if (0 !== (executionContext & 2)) throw Error(formatProdErrorMessage(440));\n    return ref.impl.apply(void 0, arguments);\n  };\n}\nfunction updateInsertionEffect(create, deps) {\n  return updateEffectImpl(4, 2, create, deps);\n}\nfunction updateLayoutEffect(create, deps) {\n  return updateEffectImpl(4, 4, create, deps);\n}\nfunction imperativeHandleEffect(create, ref) {\n  if (\"function\" === typeof ref) {\n    create = create();\n    var refCleanup = ref(create);\n    return function () {\n      \"function\" === typeof refCleanup ? refCleanup() : ref(null);\n    };\n  }\n  if (null !== ref && void 0 !== ref)\n    return (\n      (create = create()),\n      (ref.current = create),\n      function () {\n        ref.current = null;\n      }\n    );\n}\nfunction updateImperativeHandle(ref, create, deps) {\n  deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n  updateEffectImpl(4, 4, imperativeHandleEffect.bind(null, create, ref), deps);\n}\nfunction mountDebugValue() {}\nfunction updateCallback(callback, deps) {\n  var hook = updateWorkInProgressHook();\n  deps = void 0 === deps ? null : deps;\n  var prevState = hook.memoizedState;\n  if (null !== deps && areHookInputsEqual(deps, prevState[1]))\n    return prevState[0];\n  hook.memoizedState = [callback, deps];\n  return callback;\n}\nfunction updateMemo(nextCreate, deps) {\n  var hook = updateWorkInProgressHook();\n  deps = void 0 === deps ? null : deps;\n  var prevState = hook.memoizedState;\n  if (null !== deps && areHookInputsEqual(deps, prevState[1]))\n    return prevState[0];\n  prevState = nextCreate();\n  if (shouldDoubleInvokeUserFnsInHooksDEV) {\n    setIsStrictModeForDevtools(!0);\n    try {\n      nextCreate();\n    } finally {\n      setIsStrictModeForDevtools(!1);\n    }\n  }\n  hook.memoizedState = [prevState, deps];\n  return prevState;\n}\nfunction mountDeferredValueImpl(hook, value, initialValue) {\n  if (\n    void 0 === initialValue ||\n    (0 !== (renderLanes & 1073741824) &&\n      0 === (workInProgressRootRenderLanes & 261930))\n  )\n    return (hook.memoizedState = value);\n  hook.memoizedState = initialValue;\n  hook = requestDeferredLane();\n  currentlyRenderingFiber.lanes |= hook;\n  workInProgressRootSkippedLanes |= hook;\n  return initialValue;\n}\nfunction updateDeferredValueImpl(hook, prevValue, value, initialValue) {\n  if (objectIs(value, prevValue)) return value;\n  if (null !== currentTreeHiddenStackCursor.current)\n    return (\n      (hook = mountDeferredValueImpl(hook, value, initialValue)),\n      objectIs(hook, prevValue) || (didReceiveUpdate = !0),\n      hook\n    );\n  if (\n    0 === (renderLanes & 106) ||\n    (0 !== (renderLanes & 1073741824) &&\n      0 === (workInProgressRootRenderLanes & 261930))\n  )\n    return (didReceiveUpdate = !0), (hook.memoizedState = value);\n  hook = requestDeferredLane();\n  currentlyRenderingFiber.lanes |= hook;\n  workInProgressRootSkippedLanes |= hook;\n  return prevValue;\n}\nfunction startTransition(fiber, queue, pendingState, finishedState, callback) {\n  var previousPriority = ReactDOMSharedInternals.p;\n  ReactDOMSharedInternals.p =\n    0 !== previousPriority && 8 > previousPriority ? previousPriority : 8;\n  var prevTransition = ReactSharedInternals.T,\n    currentTransition = {};\n  currentTransition.types =\n    null !== prevTransition ? prevTransition.types : null;\n  ReactSharedInternals.T = currentTransition;\n  dispatchOptimisticSetState(fiber, !1, queue, pendingState);\n  try {\n    var returnValue = callback(),\n      onStartTransitionFinish = ReactSharedInternals.S;\n    null !== onStartTransitionFinish &&\n      onStartTransitionFinish(currentTransition, returnValue);\n    if (\n      null !== returnValue &&\n      \"object\" === typeof returnValue &&\n      \"function\" === typeof returnValue.then\n    ) {\n      var thenableForFinishedState = chainThenableValue(\n        returnValue,\n        finishedState\n      );\n      dispatchSetStateInternal(\n        fiber,\n        queue,\n        thenableForFinishedState,\n        requestUpdateLane(fiber)\n      );\n    } else\n      dispatchSetStateInternal(\n        fiber,\n        queue,\n        finishedState,\n        requestUpdateLane(fiber)\n      );\n  } catch (error) {\n    dispatchSetStateInternal(\n      fiber,\n      queue,\n      { then: function () {}, status: \"rejected\", reason: error },\n      requestUpdateLane()\n    );\n  } finally {\n    (ReactDOMSharedInternals.p = previousPriority),\n      null !== prevTransition &&\n        null !== currentTransition.types &&\n        (prevTransition.types = currentTransition.types),\n      (ReactSharedInternals.T = prevTransition);\n  }\n}\nfunction noop() {}\nfunction startHostTransition(formFiber, pendingState, action, formData) {\n  if (5 !== formFiber.tag) throw Error(formatProdErrorMessage(476));\n  var queue = ensureFormComponentIsStateful(formFiber).queue;\n  startTransition(\n    formFiber,\n    queue,\n    pendingState,\n    sharedNotPendingObject,\n    null === action\n      ? noop\n      : function () {\n          requestFormReset$1(formFiber);\n          return action(formData);\n        }\n  );\n}\nfunction ensureFormComponentIsStateful(formFiber) {\n  var existingStateHook = formFiber.memoizedState;\n  if (null !== existingStateHook) return existingStateHook;\n  existingStateHook = {\n    memoizedState: sharedNotPendingObject,\n    baseState: sharedNotPendingObject,\n    baseQueue: null,\n    queue: {\n      pending: null,\n      lanes: 0,\n      dispatch: null,\n      lastRenderedReducer: basicStateReducer,\n      lastRenderedState: sharedNotPendingObject\n    },\n    next: null\n  };\n  var initialResetState = {};\n  existingStateHook.next = {\n    memoizedState: initialResetState,\n    baseState: initialResetState,\n    baseQueue: null,\n    queue: {\n      pending: null,\n      lanes: 0,\n      dispatch: null,\n      lastRenderedReducer: basicStateReducer,\n      lastRenderedState: initialResetState\n    },\n    next: null\n  };\n  formFiber.memoizedState = existingStateHook;\n  formFiber = formFiber.alternate;\n  null !== formFiber && (formFiber.memoizedState = existingStateHook);\n  return existingStateHook;\n}\nfunction requestFormReset$1(formFiber) {\n  var stateHook = ensureFormComponentIsStateful(formFiber);\n  null === stateHook.next && (stateHook = formFiber.alternate.memoizedState);\n  dispatchSetStateInternal(\n    formFiber,\n    stateHook.next.queue,\n    {},\n    requestUpdateLane()\n  );\n}\nfunction useHostTransitionStatus() {\n  return readContext(HostTransitionContext);\n}\nfunction updateId() {\n  return updateWorkInProgressHook().memoizedState;\n}\nfunction updateRefresh() {\n  return updateWorkInProgressHook().memoizedState;\n}\nfunction refreshCache(fiber) {\n  for (var provider = fiber.return; null !== provider; ) {\n    switch (provider.tag) {\n      case 24:\n      case 3:\n        var lane = requestUpdateLane();\n        fiber = createUpdate(lane);\n        var root$73 = enqueueUpdate(provider, fiber, lane);\n        null !== root$73 &&\n          (scheduleUpdateOnFiber(root$73, provider, lane),\n          entangleTransitions(root$73, provider, lane));\n        provider = { cache: createCache() };\n        fiber.payload = provider;\n        return;\n    }\n    provider = provider.return;\n  }\n}\nfunction dispatchReducerAction(fiber, queue, action) {\n  var lane = requestUpdateLane();\n  action = {\n    lane: lane,\n    revertLane: 0,\n    gesture: null,\n    action: action,\n    hasEagerState: !1,\n    eagerState: null,\n    next: null\n  };\n  isRenderPhaseUpdate(fiber)\n    ? enqueueRenderPhaseUpdate(queue, action)\n    : ((action = enqueueConcurrentHookUpdate(fiber, queue, action, lane)),\n      null !== action &&\n        (scheduleUpdateOnFiber(action, fiber, lane),\n        entangleTransitionUpdate(action, queue, lane)));\n}\nfunction dispatchSetState(fiber, queue, action) {\n  var lane = requestUpdateLane();\n  dispatchSetStateInternal(fiber, queue, action, lane);\n}\nfunction dispatchSetStateInternal(fiber, queue, action, lane) {\n  var update = {\n    lane: lane,\n    revertLane: 0,\n    gesture: null,\n    action: action,\n    hasEagerState: !1,\n    eagerState: null,\n    next: null\n  };\n  if (isRenderPhaseUpdate(fiber)) enqueueRenderPhaseUpdate(queue, update);\n  else {\n    var alternate = fiber.alternate;\n    if (\n      0 === fiber.lanes &&\n      (null === alternate || 0 === alternate.lanes) &&\n      ((alternate = queue.lastRenderedReducer), null !== alternate)\n    )\n      try {\n        var currentState = queue.lastRenderedState,\n          eagerState = alternate(currentState, action);\n        update.hasEagerState = !0;\n        update.eagerState = eagerState;\n        if (objectIs(eagerState, currentState))\n          return (\n            enqueueUpdate$1(fiber, queue, update, 0),\n            null === workInProgressRoot && finishQueueingConcurrentUpdates(),\n            !1\n          );\n      } catch (error) {\n      } finally {\n      }\n    action = enqueueConcurrentHookUpdate(fiber, queue, update, lane);\n    if (null !== action)\n      return (\n        scheduleUpdateOnFiber(action, fiber, lane),\n        entangleTransitionUpdate(action, queue, lane),\n        !0\n      );\n  }\n  return !1;\n}\nfunction dispatchOptimisticSetState(fiber, throwIfDuringRender, queue, action) {\n  action = {\n    lane: 2,\n    revertLane: requestTransitionLane(),\n    gesture: null,\n    action: action,\n    hasEagerState: !1,\n    eagerState: null,\n    next: null\n  };\n  if (isRenderPhaseUpdate(fiber)) {\n    if (throwIfDuringRender) throw Error(formatProdErrorMessage(479));\n  } else\n    (throwIfDuringRender = enqueueConcurrentHookUpdate(\n      fiber,\n      queue,\n      action,\n      2\n    )),\n      null !== throwIfDuringRender &&\n        scheduleUpdateOnFiber(throwIfDuringRender, fiber, 2);\n}\nfunction isRenderPhaseUpdate(fiber) {\n  var alternate = fiber.alternate;\n  return (\n    fiber === currentlyRenderingFiber ||\n    (null !== alternate && alternate === currentlyRenderingFiber)\n  );\n}\nfunction enqueueRenderPhaseUpdate(queue, update) {\n  didScheduleRenderPhaseUpdateDuringThisPass = didScheduleRenderPhaseUpdate =\n    !0;\n  var pending = queue.pending;\n  null === pending\n    ? (update.next = update)\n    : ((update.next = pending.next), (pending.next = update));\n  queue.pending = update;\n}\nfunction entangleTransitionUpdate(root, queue, lane) {\n  if (0 !== (lane & 4194048)) {\n    var queueLanes = queue.lanes;\n    queueLanes &= root.pendingLanes;\n    lane |= queueLanes;\n    queue.lanes = lane;\n    markRootEntangled(root, lane);\n  }\n}\nvar ContextOnlyDispatcher = {\n    readContext: readContext,\n    use: use,\n    useCallback: throwInvalidHookError,\n    useContext: throwInvalidHookError,\n    useEffect: throwInvalidHookError,\n    useImperativeHandle: throwInvalidHookError,\n    useLayoutEffect: throwInvalidHookError,\n    useInsertionEffect: throwInvalidHookError,\n    useMemo: throwInvalidHookError,\n    useReducer: throwInvalidHookError,\n    useRef: throwInvalidHookError,\n    useState: throwInvalidHookError,\n    useDebugValue: throwInvalidHookError,\n    useDeferredValue: throwInvalidHookError,\n    useTransition: throwInvalidHookError,\n    useSyncExternalStore: throwInvalidHookError,\n    useId: throwInvalidHookError,\n    useHostTransitionStatus: throwInvalidHookError,\n    useFormState: throwInvalidHookError,\n    useActionState: throwInvalidHookError,\n    useOptimistic: throwInvalidHookError,\n    useMemoCache: throwInvalidHookError,\n    useCacheRefresh: throwInvalidHookError,\n    useEffectEvent: throwInvalidHookError\n  },\n  HooksDispatcherOnMount = {\n    readContext: readContext,\n    use: use,\n    useCallback: function (callback, deps) {\n      mountWorkInProgressHook().memoizedState = [\n        callback,\n        void 0 === deps ? null : deps\n      ];\n      return callback;\n    },\n    useContext: readContext,\n    useEffect: mountEffect,\n    useImperativeHandle: function (ref, create, deps) {\n      deps = null !== deps && void 0 !== deps ? deps.concat([ref]) : null;\n      mountEffectImpl(\n        4194308,\n        4,\n        imperativeHandleEffect.bind(null, create, ref),\n        deps\n      );\n    },\n    useLayoutEffect: function (create, deps) {\n      return mountEffectImpl(4194308, 4, create, deps);\n    },\n    useInsertionEffect: function (create, deps) {\n      mountEffectImpl(4, 2, create, deps);\n    },\n    useMemo: function (nextCreate, deps) {\n      var hook = mountWorkInProgressHook();\n      deps = void 0 === deps ? null : deps;\n      var nextValue = nextCreate();\n      if (shouldDoubleInvokeUserFnsInHooksDEV) {\n        setIsStrictModeForDevtools(!0);\n        try {\n          nextCreate();\n        } finally {\n          setIsStrictModeForDevtools(!1);\n        }\n      }\n      hook.memoizedState = [nextValue, deps];\n      return nextValue;\n    },\n    useReducer: function (reducer, initialArg, init) {\n      var hook = mountWorkInProgressHook();\n      if (void 0 !== init) {\n        var initialState = init(initialArg);\n        if (shouldDoubleInvokeUserFnsInHooksDEV) {\n          setIsStrictModeForDevtools(!0);\n          try {\n            init(initialArg);\n          } finally {\n            setIsStrictModeForDevtools(!1);\n          }\n        }\n      } else initialState = initialArg;\n      hook.memoizedState = hook.baseState = initialState;\n      reducer = {\n        pending: null,\n        lanes: 0,\n        dispatch: null,\n        lastRenderedReducer: reducer,\n        lastRenderedState: initialState\n      };\n      hook.queue = reducer;\n      reducer = reducer.dispatch = dispatchReducerAction.bind(\n        null,\n        currentlyRenderingFiber,\n        reducer\n      );\n      return [hook.memoizedState, reducer];\n    },\n    useRef: function (initialValue) {\n      var hook = mountWorkInProgressHook();\n      initialValue = { current: initialValue };\n      return (hook.memoizedState = initialValue);\n    },\n    useState: function (initialState) {\n      initialState = mountStateImpl(initialState);\n      var queue = initialState.queue,\n        dispatch = dispatchSetState.bind(null, currentlyRenderingFiber, queue);\n      queue.dispatch = dispatch;\n      return [initialState.memoizedState, dispatch];\n    },\n    useDebugValue: mountDebugValue,\n    useDeferredValue: function (value, initialValue) {\n      var hook = mountWorkInProgressHook();\n      return mountDeferredValueImpl(hook, value, initialValue);\n    },\n    useTransition: function () {\n      var stateHook = mountStateImpl(!1);\n      stateHook = startTransition.bind(\n        null,\n        currentlyRenderingFiber,\n        stateHook.queue,\n        !0,\n        !1\n      );\n      mountWorkInProgressHook().memoizedState = stateHook;\n      return [!1, stateHook];\n    },\n    useSyncExternalStore: function (subscribe, getSnapshot, getServerSnapshot) {\n      var fiber = currentlyRenderingFiber,\n        hook = mountWorkInProgressHook();\n      if (isHydrating) {\n        if (void 0 === getServerSnapshot)\n          throw Error(formatProdErrorMessage(407));\n        getServerSnapshot = getServerSnapshot();\n      } else {\n        getServerSnapshot = getSnapshot();\n        if (null === workInProgressRoot)\n          throw Error(formatProdErrorMessage(349));\n        0 !== (workInProgressRootRenderLanes & 127) ||\n          pushStoreConsistencyCheck(fiber, getSnapshot, getServerSnapshot);\n      }\n      hook.memoizedState = getServerSnapshot;\n      var inst = { value: getServerSnapshot, getSnapshot: getSnapshot };\n      hook.queue = inst;\n      mountEffect(subscribeToStore.bind(null, fiber, inst, subscribe), [\n        subscribe\n      ]);\n      fiber.flags |= 2048;\n      pushSimpleEffect(\n        9,\n        { destroy: void 0 },\n        updateStoreInstance.bind(\n          null,\n          fiber,\n          inst,\n          getServerSnapshot,\n          getSnapshot\n        ),\n        null\n      );\n      return getServerSnapshot;\n    },\n    useId: function () {\n      var hook = mountWorkInProgressHook(),\n        identifierPrefix = workInProgressRoot.identifierPrefix;\n      if (isHydrating) {\n        var JSCompiler_inline_result = treeContextOverflow;\n        var idWithLeadingBit = treeContextId;\n        JSCompiler_inline_result =\n          (\n            idWithLeadingBit & ~(1 << (32 - clz32(idWithLeadingBit) - 1))\n          ).toString(32) + JSCompiler_inline_result;\n        identifierPrefix =\n          \"_\" + identifierPrefix + \"R_\" + JSCompiler_inline_result;\n        JSCompiler_inline_result = localIdCounter++;\n        0 < JSCompiler_inline_result &&\n          (identifierPrefix += \"H\" + JSCompiler_inline_result.toString(32));\n        identifierPrefix += \"_\";\n      } else\n        (JSCompiler_inline_result = globalClientIdCounter++),\n          (identifierPrefix =\n            \"_\" +\n            identifierPrefix +\n            \"r_\" +\n            JSCompiler_inline_result.toString(32) +\n            \"_\");\n      return (hook.memoizedState = identifierPrefix);\n    },\n    useHostTransitionStatus: useHostTransitionStatus,\n    useFormState: mountActionState,\n    useActionState: mountActionState,\n    useOptimistic: function (passthrough) {\n      var hook = mountWorkInProgressHook();\n      hook.memoizedState = hook.baseState = passthrough;\n      var queue = {\n        pending: null,\n        lanes: 0,\n        dispatch: null,\n        lastRenderedReducer: null,\n        lastRenderedState: null\n      };\n      hook.queue = queue;\n      hook = dispatchOptimisticSetState.bind(\n        null,\n        currentlyRenderingFiber,\n        !0,\n        queue\n      );\n      queue.dispatch = hook;\n      return [passthrough, hook];\n    },\n    useMemoCache: useMemoCache,\n    useCacheRefresh: function () {\n      return (mountWorkInProgressHook().memoizedState = refreshCache.bind(\n        null,\n        currentlyRenderingFiber\n      ));\n    },\n    useEffectEvent: function (callback) {\n      var hook = mountWorkInProgressHook(),\n        ref = { impl: callback };\n      hook.memoizedState = ref;\n      return function () {\n        if (0 !== (executionContext & 2))\n          throw Error(formatProdErrorMessage(440));\n        return ref.impl.apply(void 0, arguments);\n      };\n    }\n  },\n  HooksDispatcherOnUpdate = {\n    readContext: readContext,\n    use: use,\n    useCallback: updateCallback,\n    useContext: readContext,\n    useEffect: updateEffect,\n    useImperativeHandle: updateImperativeHandle,\n    useInsertionEffect: updateInsertionEffect,\n    useLayoutEffect: updateLayoutEffect,\n    useMemo: updateMemo,\n    useReducer: updateReducer,\n    useRef: updateRef,\n    useState: function () {\n      return updateReducer(basicStateReducer);\n    },\n    useDebugValue: mountDebugValue,\n    useDeferredValue: function (value, initialValue) {\n      var hook = updateWorkInProgressHook();\n      return updateDeferredValueImpl(\n        hook,\n        currentHook.memoizedState,\n        value,\n        initialValue\n      );\n    },\n    useTransition: function () {\n      var booleanOrThenable = updateReducer(basicStateReducer)[0],\n        start = updateWorkInProgressHook().memoizedState;\n      return [\n        \"boolean\" === typeof booleanOrThenable\n          ? booleanOrThenable\n          : useThenable(booleanOrThenable),\n        start\n      ];\n    },\n    useSyncExternalStore: updateSyncExternalStore,\n    useId: updateId,\n    useHostTransitionStatus: useHostTransitionStatus,\n    useFormState: updateActionState,\n    useActionState: updateActionState,\n    useOptimistic: function (passthrough, reducer) {\n      var hook = updateWorkInProgressHook();\n      return updateOptimisticImpl(hook, currentHook, passthrough, reducer);\n    },\n    useMemoCache: useMemoCache,\n    useCacheRefresh: updateRefresh,\n    useEffectEvent: updateEvent\n  },\n  HooksDispatcherOnRerender = {\n    readContext: readContext,\n    use: use,\n    useCallback: updateCallback,\n    useContext: readContext,\n    useEffect: updateEffect,\n    useImperativeHandle: updateImperativeHandle,\n    useInsertionEffect: updateInsertionEffect,\n    useLayoutEffect: updateLayoutEffect,\n    useMemo: updateMemo,\n    useReducer: rerenderReducer,\n    useRef: updateRef,\n    useState: function () {\n      return rerenderReducer(basicStateReducer);\n    },\n    useDebugValue: mountDebugValue,\n    useDeferredValue: function (value, initialValue) {\n      var hook = updateWorkInProgressHook();\n      return null === currentHook\n        ? mountDeferredValueImpl(hook, value, initialValue)\n        : updateDeferredValueImpl(\n            hook,\n            currentHook.memoizedState,\n            value,\n            initialValue\n          );\n    },\n    useTransition: function () {\n      var booleanOrThenable = rerenderReducer(basicStateReducer)[0],\n        start = updateWorkInProgressHook().memoizedState;\n      return [\n        \"boolean\" === typeof booleanOrThenable\n          ? booleanOrThenable\n          : useThenable(booleanOrThenable),\n        start\n      ];\n    },\n    useSyncExternalStore: updateSyncExternalStore,\n    useId: updateId,\n    useHostTransitionStatus: useHostTransitionStatus,\n    useFormState: rerenderActionState,\n    useActionState: rerenderActionState,\n    useOptimistic: function (passthrough, reducer) {\n      var hook = updateWorkInProgressHook();\n      if (null !== currentHook)\n        return updateOptimisticImpl(hook, currentHook, passthrough, reducer);\n      hook.baseState = passthrough;\n      return [passthrough, hook.queue.dispatch];\n    },\n    useMemoCache: useMemoCache,\n    useCacheRefresh: updateRefresh,\n    useEffectEvent: updateEvent\n  };\nfunction applyDerivedStateFromProps(\n  workInProgress,\n  ctor,\n  getDerivedStateFromProps,\n  nextProps\n) {\n  ctor = workInProgress.memoizedState;\n  getDerivedStateFromProps = getDerivedStateFromProps(nextProps, ctor);\n  getDerivedStateFromProps =\n    null === getDerivedStateFromProps || void 0 === getDerivedStateFromProps\n      ? ctor\n      : assign({}, ctor, getDerivedStateFromProps);\n  workInProgress.memoizedState = getDerivedStateFromProps;\n  0 === workInProgress.lanes &&\n    (workInProgress.updateQueue.baseState = getDerivedStateFromProps);\n}\nvar classComponentUpdater = {\n  enqueueSetState: function (inst, payload, callback) {\n    inst = inst._reactInternals;\n    var lane = requestUpdateLane(),\n      update = createUpdate(lane);\n    update.payload = payload;\n    void 0 !== callback && null !== callback && (update.callback = callback);\n    payload = enqueueUpdate(inst, update, lane);\n    null !== payload &&\n      (scheduleUpdateOnFiber(payload, inst, lane),\n      entangleTransitions(payload, inst, lane));\n  },\n  enqueueReplaceState: function (inst, payload, callback) {\n    inst = inst._reactInternals;\n    var lane = requestUpdateLane(),\n      update = createUpdate(lane);\n    update.tag = 1;\n    update.payload = payload;\n    void 0 !== callback && null !== callback && (update.callback = callback);\n    payload = enqueueUpdate(inst, update, lane);\n    null !== payload &&\n      (scheduleUpdateOnFiber(payload, inst, lane),\n      entangleTransitions(payload, inst, lane));\n  },\n  enqueueForceUpdate: function (inst, callback) {\n    inst = inst._reactInternals;\n    var lane = requestUpdateLane(),\n      update = createUpdate(lane);\n    update.tag = 2;\n    void 0 !== callback && null !== callback && (update.callback = callback);\n    callback = enqueueUpdate(inst, update, lane);\n    null !== callback &&\n      (scheduleUpdateOnFiber(callback, inst, lane),\n      entangleTransitions(callback, inst, lane));\n  }\n};\nfunction checkShouldComponentUpdate(\n  workInProgress,\n  ctor,\n  oldProps,\n  newProps,\n  oldState,\n  newState,\n  nextContext\n) {\n  workInProgress = workInProgress.stateNode;\n  return \"function\" === typeof workInProgress.shouldComponentUpdate\n    ? workInProgress.shouldComponentUpdate(newProps, newState, nextContext)\n    : ctor.prototype && ctor.prototype.isPureReactComponent\n      ? !shallowEqual(oldProps, newProps) || !shallowEqual(oldState, newState)\n      : !0;\n}\nfunction callComponentWillReceiveProps(\n  workInProgress,\n  instance,\n  newProps,\n  nextContext\n) {\n  workInProgress = instance.state;\n  \"function\" === typeof instance.componentWillReceiveProps &&\n    instance.componentWillReceiveProps(newProps, nextContext);\n  \"function\" === typeof instance.UNSAFE_componentWillReceiveProps &&\n    instance.UNSAFE_componentWillReceiveProps(newProps, nextContext);\n  instance.state !== workInProgress &&\n    classComponentUpdater.enqueueReplaceState(instance, instance.state, null);\n}\nfunction resolveClassComponentProps(Component, baseProps) {\n  var newProps = baseProps;\n  if (\"ref\" in baseProps) {\n    newProps = {};\n    for (var propName in baseProps)\n      \"ref\" !== propName && (newProps[propName] = baseProps[propName]);\n  }\n  if ((Component = Component.defaultProps)) {\n    newProps === baseProps && (newProps = assign({}, newProps));\n    for (var propName$77 in Component)\n      void 0 === newProps[propName$77] &&\n        (newProps[propName$77] = Component[propName$77]);\n  }\n  return newProps;\n}\nfunction defaultOnUncaughtError(error) {\n  reportGlobalError(error);\n}\nfunction defaultOnCaughtError(error) {\n  console.error(error);\n}\nfunction defaultOnRecoverableError(error) {\n  reportGlobalError(error);\n}\nfunction logUncaughtError(root, errorInfo) {\n  try {\n    var onUncaughtError = root.onUncaughtError;\n    onUncaughtError(errorInfo.value, { componentStack: errorInfo.stack });\n  } catch (e$78) {\n    setTimeout(function () {\n      throw e$78;\n    });\n  }\n}\nfunction logCaughtError(root, boundary, errorInfo) {\n  try {\n    var onCaughtError = root.onCaughtError;\n    onCaughtError(errorInfo.value, {\n      componentStack: errorInfo.stack,\n      errorBoundary: 1 === boundary.tag ? boundary.stateNode : null\n    });\n  } catch (e$79) {\n    setTimeout(function () {\n      throw e$79;\n    });\n  }\n}\nfunction createRootErrorUpdate(root, errorInfo, lane) {\n  lane = createUpdate(lane);\n  lane.tag = 3;\n  lane.payload = { element: null };\n  lane.callback = function () {\n    logUncaughtError(root, errorInfo);\n  };\n  return lane;\n}\nfunction createClassErrorUpdate(lane) {\n  lane = createUpdate(lane);\n  lane.tag = 3;\n  return lane;\n}\nfunction initializeClassErrorUpdate(update, root, fiber, errorInfo) {\n  var getDerivedStateFromError = fiber.type.getDerivedStateFromError;\n  if (\"function\" === typeof getDerivedStateFromError) {\n    var error = errorInfo.value;\n    update.payload = function () {\n      return getDerivedStateFromError(error);\n    };\n    update.callback = function () {\n      logCaughtError(root, fiber, errorInfo);\n    };\n  }\n  var inst = fiber.stateNode;\n  null !== inst &&\n    \"function\" === typeof inst.componentDidCatch &&\n    (update.callback = function () {\n      logCaughtError(root, fiber, errorInfo);\n      \"function\" !== typeof getDerivedStateFromError &&\n        (null === legacyErrorBoundariesThatAlreadyFailed\n          ? (legacyErrorBoundariesThatAlreadyFailed = new Set([this]))\n          : legacyErrorBoundariesThatAlreadyFailed.add(this));\n      var stack = errorInfo.stack;\n      this.componentDidCatch(errorInfo.value, {\n        componentStack: null !== stack ? stack : \"\"\n      });\n    });\n}\nfunction throwException(\n  root,\n  returnFiber,\n  sourceFiber,\n  value,\n  rootRenderLanes\n) {\n  sourceFiber.flags |= 32768;\n  if (\n    null !== value &&\n    \"object\" === typeof value &&\n    \"function\" === typeof value.then\n  ) {\n    returnFiber = sourceFiber.alternate;\n    null !== returnFiber &&\n      propagateParentContextChanges(\n        returnFiber,\n        sourceFiber,\n        rootRenderLanes,\n        !0\n      );\n    sourceFiber = suspenseHandlerStackCursor.current;\n    if (null !== sourceFiber) {\n      switch (sourceFiber.tag) {\n        case 31:\n        case 13:\n        case 19:\n          return (\n            null === shellBoundary\n              ? renderDidSuspendDelayIfPossible()\n              : null === sourceFiber.alternate &&\n                0 === workInProgressRootExitStatus &&\n                (workInProgressRootExitStatus = 3),\n            (sourceFiber.flags &= -257),\n            (sourceFiber.flags |= 65536),\n            (sourceFiber.lanes = rootRenderLanes),\n            value === noopSuspenseyCommitThenable\n              ? (sourceFiber.flags |= 16384)\n              : ((returnFiber = sourceFiber.updateQueue),\n                null === returnFiber\n                  ? (sourceFiber.updateQueue = new Set([value]))\n                  : returnFiber.add(value),\n                attachPingListener(root, value, rootRenderLanes)),\n            !1\n          );\n        case 22:\n          return (\n            (sourceFiber.flags |= 65536),\n            value === noopSuspenseyCommitThenable\n              ? (sourceFiber.flags |= 16384)\n              : ((returnFiber = sourceFiber.updateQueue),\n                null === returnFiber\n                  ? ((returnFiber = {\n                      transitions: null,\n                      markerInstances: null,\n                      retryQueue: new Set([value])\n                    }),\n                    (sourceFiber.updateQueue = returnFiber))\n                  : ((sourceFiber = returnFiber.retryQueue),\n                    null === sourceFiber\n                      ? (returnFiber.retryQueue = new Set([value]))\n                      : sourceFiber.add(value)),\n                attachPingListener(root, value, rootRenderLanes)),\n            !1\n          );\n      }\n      throw Error(formatProdErrorMessage(435, sourceFiber.tag));\n    }\n    attachPingListener(root, value, rootRenderLanes);\n    renderDidSuspendDelayIfPossible();\n    return !1;\n  }\n  if (isHydrating)\n    return (\n      (returnFiber = suspenseHandlerStackCursor.current),\n      null !== returnFiber\n        ? (0 === (returnFiber.flags & 65536) && (returnFiber.flags |= 256),\n          (returnFiber.flags |= 65536),\n          (returnFiber.lanes = rootRenderLanes),\n          value !== HydrationMismatchException &&\n            ((root = Error(formatProdErrorMessage(422), { cause: value })),\n            queueHydrationError(createCapturedValueAtFiber(root, sourceFiber))))\n        : (value !== HydrationMismatchException &&\n            ((returnFiber = Error(formatProdErrorMessage(423), {\n              cause: value\n            })),\n            queueHydrationError(\n              createCapturedValueAtFiber(returnFiber, sourceFiber)\n            )),\n          (root = root.current.alternate),\n          (root.flags |= 65536),\n          (rootRenderLanes &= -rootRenderLanes),\n          (root.lanes |= rootRenderLanes),\n          (value = createCapturedValueAtFiber(value, sourceFiber)),\n          (rootRenderLanes = createRootErrorUpdate(\n            root.stateNode,\n            value,\n            rootRenderLanes\n          )),\n          enqueueCapturedUpdate(root, rootRenderLanes),\n          4 !== workInProgressRootExitStatus &&\n            (workInProgressRootExitStatus = 2)),\n      !1\n    );\n  var wrapperError = Error(formatProdErrorMessage(520), { cause: value });\n  wrapperError = createCapturedValueAtFiber(wrapperError, sourceFiber);\n  null === workInProgressRootConcurrentErrors\n    ? (workInProgressRootConcurrentErrors = [wrapperError])\n    : workInProgressRootConcurrentErrors.push(wrapperError);\n  4 !== workInProgressRootExitStatus && (workInProgressRootExitStatus = 2);\n  if (null === returnFiber) return !0;\n  value = createCapturedValueAtFiber(value, sourceFiber);\n  sourceFiber = returnFiber;\n  do {\n    switch (sourceFiber.tag) {\n      case 3:\n        return (\n          (sourceFiber.flags |= 65536),\n          (root = rootRenderLanes & -rootRenderLanes),\n          (sourceFiber.lanes |= root),\n          (root = createRootErrorUpdate(sourceFiber.stateNode, value, root)),\n          enqueueCapturedUpdate(sourceFiber, root),\n          !1\n        );\n      case 1:\n        returnFiber = sourceFiber.type;\n        wrapperError = sourceFiber.stateNode;\n        if (\n          0 === (sourceFiber.flags & 128) &&\n          (\"function\" === typeof returnFiber.getDerivedStateFromError ||\n            (null !== wrapperError &&\n              \"function\" === typeof wrapperError.componentDidCatch &&\n              (null === legacyErrorBoundariesThatAlreadyFailed ||\n                !legacyErrorBoundariesThatAlreadyFailed.has(wrapperError))))\n        )\n          return (\n            (sourceFiber.flags |= 65536),\n            (rootRenderLanes &= -rootRenderLanes),\n            (sourceFiber.lanes |= rootRenderLanes),\n            (rootRenderLanes = createClassErrorUpdate(rootRenderLanes)),\n            initializeClassErrorUpdate(\n              rootRenderLanes,\n              root,\n              sourceFiber,\n              value\n            ),\n            enqueueCapturedUpdate(sourceFiber, rootRenderLanes),\n            !1\n          );\n        break;\n      case 22:\n        if (null !== sourceFiber.memoizedState)\n          return (sourceFiber.flags |= 65536), !1;\n    }\n    sourceFiber = sourceFiber.return;\n  } while (null !== sourceFiber);\n  return !1;\n}\nvar SelectiveHydrationException = Error(formatProdErrorMessage(461)),\n  didReceiveUpdate = !1;\nfunction reconcileChildren(current, workInProgress, nextChildren, renderLanes) {\n  workInProgress.child =\n    null === current\n      ? mountChildFibers(workInProgress, null, nextChildren, renderLanes)\n      : reconcileChildFibers(\n          workInProgress,\n          current.child,\n          nextChildren,\n          renderLanes\n        );\n}\nfunction updateForwardRef(\n  current,\n  workInProgress,\n  Component,\n  nextProps,\n  renderLanes\n) {\n  Component = Component.render;\n  var ref = workInProgress.ref;\n  if (\"ref\" in nextProps) {\n    var propsWithoutRef = {};\n    for (var key in nextProps)\n      \"ref\" !== key && (propsWithoutRef[key] = nextProps[key]);\n  } else propsWithoutRef = nextProps;\n  prepareToReadContext(workInProgress);\n  nextProps = renderWithHooks(\n    current,\n    workInProgress,\n    Component,\n    propsWithoutRef,\n    ref,\n    renderLanes\n  );\n  key = checkDidRenderIdHook();\n  if (null !== current && !didReceiveUpdate)\n    return (\n      bailoutHooks(current, workInProgress, renderLanes),\n      bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n    );\n  isHydrating && key && pushMaterializedTreeId(workInProgress);\n  workInProgress.flags |= 1;\n  reconcileChildren(current, workInProgress, nextProps, renderLanes);\n  return workInProgress.child;\n}\nfunction updateMemoComponent(\n  current,\n  workInProgress,\n  Component,\n  nextProps,\n  renderLanes\n) {\n  if (null === current) {\n    var type = Component.type;\n    if (\n      \"function\" === typeof type &&\n      !shouldConstruct(type) &&\n      void 0 === type.defaultProps &&\n      null === Component.compare\n    )\n      return (\n        (workInProgress.tag = 15),\n        (workInProgress.type = type),\n        updateSimpleMemoComponent(\n          current,\n          workInProgress,\n          type,\n          nextProps,\n          renderLanes\n        )\n      );\n    current = createFiberFromTypeAndProps(\n      Component.type,\n      null,\n      nextProps,\n      workInProgress,\n      workInProgress.mode,\n      renderLanes\n    );\n    current.ref = workInProgress.ref;\n    current.return = workInProgress;\n    return (workInProgress.child = current);\n  }\n  type = current.child;\n  if (!checkScheduledUpdateOrContext(current, renderLanes)) {\n    var prevProps = type.memoizedProps;\n    Component = Component.compare;\n    Component = null !== Component ? Component : shallowEqual;\n    if (Component(prevProps, nextProps) && current.ref === workInProgress.ref)\n      return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n  }\n  workInProgress.flags |= 1;\n  current = createWorkInProgress(type, nextProps);\n  current.ref = workInProgress.ref;\n  current.return = workInProgress;\n  return (workInProgress.child = current);\n}\nfunction updateSimpleMemoComponent(\n  current,\n  workInProgress,\n  Component,\n  nextProps,\n  renderLanes\n) {\n  if (null !== current) {\n    var prevProps = current.memoizedProps;\n    if (\n      shallowEqual(prevProps, nextProps) &&\n      current.ref === workInProgress.ref\n    )\n      if (\n        ((didReceiveUpdate = !1),\n        (workInProgress.pendingProps = nextProps = prevProps),\n        checkScheduledUpdateOrContext(current, renderLanes))\n      )\n        0 !== (current.flags & 131072) && (didReceiveUpdate = !0);\n      else\n        return (\n          (workInProgress.lanes = current.lanes),\n          bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n        );\n  }\n  return updateFunctionComponent(\n    current,\n    workInProgress,\n    Component,\n    nextProps,\n    renderLanes\n  );\n}\nfunction updateOffscreenComponent(\n  current,\n  workInProgress,\n  renderLanes,\n  nextProps\n) {\n  var nextChildren = nextProps.children,\n    prevState = null !== current ? current.memoizedState : null;\n  null === current &&\n    null === workInProgress.stateNode &&\n    (workInProgress.stateNode = {\n      _visibility: 1,\n      _pendingMarkers: null,\n      _retryCache: null,\n      _transitions: null\n    });\n  if (\"hidden\" === nextProps.mode) {\n    if (0 !== (workInProgress.flags & 128)) {\n      prevState =\n        null !== prevState ? prevState.baseLanes | renderLanes : renderLanes;\n      if (null !== current) {\n        nextProps = workInProgress.child = current.child;\n        for (nextChildren = 0; null !== nextProps; )\n          (nextChildren =\n            nextChildren | nextProps.lanes | nextProps.childLanes),\n            (nextProps = nextProps.sibling);\n        nextProps = nextChildren & ~prevState;\n      } else (nextProps = 0), (workInProgress.child = null);\n      return deferHiddenOffscreenComponent(\n        current,\n        workInProgress,\n        prevState,\n        renderLanes,\n        nextProps\n      );\n    }\n    if (0 !== (renderLanes & 536870912))\n      (workInProgress.memoizedState = { baseLanes: 0, cachePool: null }),\n        null !== current &&\n          pushTransition(\n            workInProgress,\n            null !== prevState ? prevState.cachePool : null\n          ),\n        null !== prevState\n          ? pushHiddenContext(workInProgress, prevState)\n          : reuseHiddenContextOnStack(),\n        pushOffscreenSuspenseHandler(workInProgress);\n    else\n      return (\n        (nextProps = workInProgress.lanes = 536870912),\n        deferHiddenOffscreenComponent(\n          current,\n          workInProgress,\n          null !== prevState ? prevState.baseLanes | renderLanes : renderLanes,\n          renderLanes,\n          nextProps\n        )\n      );\n  } else\n    null !== prevState\n      ? (pushTransition(workInProgress, prevState.cachePool),\n        pushHiddenContext(workInProgress, prevState),\n        reuseSuspenseHandlerOnStack(),\n        (workInProgress.memoizedState = null))\n      : (null !== current && pushTransition(workInProgress, null),\n        reuseHiddenContextOnStack(),\n        reuseSuspenseHandlerOnStack());\n  reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n  return workInProgress.child;\n}\nfunction bailoutOffscreenComponent(current, workInProgress) {\n  (null !== current && 22 === current.tag) ||\n    null !== workInProgress.stateNode ||\n    (workInProgress.stateNode = {\n      _visibility: 1,\n      _pendingMarkers: null,\n      _retryCache: null,\n      _transitions: null\n    });\n  return workInProgress.sibling;\n}\nfunction deferHiddenOffscreenComponent(\n  current,\n  workInProgress,\n  nextBaseLanes,\n  renderLanes,\n  remainingChildLanes\n) {\n  var JSCompiler_inline_result = peekCacheFromPool();\n  JSCompiler_inline_result =\n    null === JSCompiler_inline_result\n      ? null\n      : { parent: CacheContext._currentValue, pool: JSCompiler_inline_result };\n  workInProgress.memoizedState = {\n    baseLanes: nextBaseLanes,\n    cachePool: JSCompiler_inline_result\n  };\n  null !== current && pushTransition(workInProgress, null);\n  reuseHiddenContextOnStack();\n  pushOffscreenSuspenseHandler(workInProgress);\n  null !== current &&\n    propagateParentContextChanges(current, workInProgress, renderLanes, !0);\n  workInProgress.childLanes = remainingChildLanes;\n  return null;\n}\nfunction mountActivityChildren(workInProgress, nextProps) {\n  nextProps = mountWorkInProgressOffscreenFiber(\n    { mode: nextProps.mode, children: nextProps.children },\n    workInProgress.mode\n  );\n  nextProps.ref = workInProgress.ref;\n  workInProgress.child = nextProps;\n  nextProps.return = workInProgress;\n  return nextProps;\n}\nfunction retryActivityComponentWithoutHydrating(\n  current,\n  workInProgress,\n  renderLanes\n) {\n  reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n  current = mountActivityChildren(workInProgress, workInProgress.pendingProps);\n  current.flags |= 2;\n  popSuspenseHandler(workInProgress);\n  workInProgress.memoizedState = null;\n  return current;\n}\nfunction updateActivityComponent(current, workInProgress, renderLanes) {\n  var nextProps = workInProgress.pendingProps,\n    didSuspend = 0 !== (workInProgress.flags & 128);\n  workInProgress.flags &= -129;\n  if (null === current) {\n    if (isHydrating) {\n      if (\"hidden\" === nextProps.mode)\n        return (\n          (current = mountActivityChildren(workInProgress, nextProps)),\n          (workInProgress.lanes = 536870912),\n          bailoutOffscreenComponent(null, current)\n        );\n      pushDehydratedActivitySuspenseHandler(workInProgress);\n      (current = nextHydratableInstance)\n        ? ((current = canHydrateHydrationBoundary(\n            current,\n            rootOrSingletonContext\n          )),\n          (current = null !== current && \"&\" === current.data ? current : null),\n          null !== current &&\n            ((workInProgress.memoizedState = {\n              dehydrated: current,\n              treeContext:\n                null !== treeContextProvider\n                  ? { id: treeContextId, overflow: treeContextOverflow }\n                  : null,\n              retryLane: 536870912,\n              hydrationErrors: null\n            }),\n            (renderLanes = createFiberFromDehydratedFragment(current)),\n            (renderLanes.return = workInProgress),\n            (workInProgress.child = renderLanes),\n            (hydrationParentFiber = workInProgress),\n            (nextHydratableInstance = null)))\n        : (current = null);\n      if (null === current) throw throwOnHydrationMismatch(workInProgress);\n      workInProgress.lanes = 536870912;\n      return null;\n    }\n    return mountActivityChildren(workInProgress, nextProps);\n  }\n  var prevState = current.memoizedState;\n  if (null !== prevState) {\n    var dehydrated = prevState.dehydrated;\n    pushDehydratedActivitySuspenseHandler(workInProgress);\n    if (didSuspend)\n      if (workInProgress.flags & 256)\n        (workInProgress.flags &= -257),\n          (workInProgress = retryActivityComponentWithoutHydrating(\n            current,\n            workInProgress,\n            renderLanes\n          ));\n      else if (null !== workInProgress.memoizedState)\n        (workInProgress.child = current.child),\n          (workInProgress.flags |= 128),\n          (workInProgress = null);\n      else throw Error(formatProdErrorMessage(558));\n    else if (\n      (didReceiveUpdate ||\n        propagateParentContextChanges(current, workInProgress, renderLanes, !1),\n      (didSuspend = 0 !== (renderLanes & current.childLanes)),\n      didReceiveUpdate || didSuspend)\n    ) {\n      if (null === currentTreeHiddenStackCursor.current) {\n        nextProps = workInProgressRoot;\n        if (\n          null !== nextProps &&\n          ((dehydrated = getBumpedLaneForHydration(nextProps, renderLanes)),\n          0 !== dehydrated && dehydrated !== prevState.retryLane)\n        )\n          throw (\n            ((prevState.retryLane = dehydrated),\n            enqueueConcurrentRenderForLane(current, dehydrated),\n            scheduleUpdateOnFiber(nextProps, current, dehydrated),\n            SelectiveHydrationException)\n          );\n        renderDidSuspendDelayIfPossible();\n      }\n      workInProgress = retryActivityComponentWithoutHydrating(\n        current,\n        workInProgress,\n        renderLanes\n      );\n    } else\n      (current = prevState.treeContext),\n        (nextHydratableInstance = getNextHydratable(dehydrated.nextSibling)),\n        (hydrationParentFiber = workInProgress),\n        (isHydrating = !0),\n        (hydrationErrors = null),\n        (rootOrSingletonContext = !1),\n        null !== current &&\n          restoreSuspendedTreeContext(workInProgress, current),\n        (workInProgress = mountActivityChildren(workInProgress, nextProps)),\n        (workInProgress.flags |= 134221824);\n    return workInProgress;\n  }\n  current = createWorkInProgress(current.child, {\n    mode: nextProps.mode,\n    children: nextProps.children\n  });\n  current.ref = workInProgress.ref;\n  workInProgress.child = current;\n  current.return = workInProgress;\n  return current;\n}\nfunction markRef(current, workInProgress) {\n  var ref = workInProgress.ref;\n  if (null === ref)\n    null !== current &&\n      null !== current.ref &&\n      (workInProgress.flags |= 4194816);\n  else {\n    if (\"function\" !== typeof ref && \"object\" !== typeof ref)\n      throw Error(formatProdErrorMessage(284));\n    if (null === current || current.ref !== ref)\n      workInProgress.flags |= 4194816;\n  }\n}\nfunction updateFunctionComponent(\n  current,\n  workInProgress,\n  Component,\n  nextProps,\n  renderLanes\n) {\n  prepareToReadContext(workInProgress);\n  Component = renderWithHooks(\n    current,\n    workInProgress,\n    Component,\n    nextProps,\n    void 0,\n    renderLanes\n  );\n  nextProps = checkDidRenderIdHook();\n  if (null !== current && !didReceiveUpdate)\n    return (\n      bailoutHooks(current, workInProgress, renderLanes),\n      bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n    );\n  isHydrating && nextProps && pushMaterializedTreeId(workInProgress);\n  workInProgress.flags |= 1;\n  reconcileChildren(current, workInProgress, Component, renderLanes);\n  return workInProgress.child;\n}\nfunction replayFunctionComponent(\n  current,\n  workInProgress,\n  nextProps,\n  Component,\n  secondArg,\n  renderLanes\n) {\n  prepareToReadContext(workInProgress);\n  workInProgress.updateQueue = null;\n  nextProps = renderWithHooksAgain(\n    workInProgress,\n    Component,\n    nextProps,\n    secondArg\n  );\n  finishRenderingHooks(current);\n  Component = checkDidRenderIdHook();\n  if (null !== current && !didReceiveUpdate)\n    return (\n      bailoutHooks(current, workInProgress, renderLanes),\n      bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes)\n    );\n  isHydrating && Component && pushMaterializedTreeId(workInProgress);\n  workInProgress.flags |= 1;\n  reconcileChildren(current, workInProgress, nextProps, renderLanes);\n  return workInProgress.child;\n}\nfunction updateClassComponent(\n  current,\n  workInProgress,\n  Component,\n  nextProps,\n  renderLanes\n) {\n  prepareToReadContext(workInProgress);\n  if (null === workInProgress.stateNode) {\n    var context = emptyContextObject,\n      contextType = Component.contextType;\n    \"object\" === typeof contextType &&\n      null !== contextType &&\n      (context = readContext(contextType));\n    context = new Component(nextProps, context);\n    workInProgress.memoizedState =\n      null !== context.state && void 0 !== context.state ? context.state : null;\n    context.updater = classComponentUpdater;\n    workInProgress.stateNode = context;\n    context._reactInternals = workInProgress;\n    context = workInProgress.stateNode;\n    context.props = nextProps;\n    context.state = workInProgress.memoizedState;\n    context.refs = {};\n    initializeUpdateQueue(workInProgress);\n    contextType = Component.contextType;\n    context.context =\n      \"object\" === typeof contextType && null !== contextType\n        ? readContext(contextType)\n        : emptyContextObject;\n    context.state = workInProgress.memoizedState;\n    contextType = Component.getDerivedStateFromProps;\n    \"function\" === typeof contextType &&\n      (applyDerivedStateFromProps(\n        workInProgress,\n        Component,\n        contextType,\n        nextProps\n      ),\n      (context.state = workInProgress.memoizedState));\n    \"function\" === typeof Component.getDerivedStateFromProps ||\n      \"function\" === typeof context.getSnapshotBeforeUpdate ||\n      (\"function\" !== typeof context.UNSAFE_componentWillMount &&\n        \"function\" !== typeof context.componentWillMount) ||\n      ((contextType = context.state),\n      \"function\" === typeof context.componentWillMount &&\n        context.componentWillMount(),\n      \"function\" === typeof context.UNSAFE_componentWillMount &&\n        context.UNSAFE_componentWillMount(),\n      contextType !== context.state &&\n        classComponentUpdater.enqueueReplaceState(context, context.state, null),\n      processUpdateQueue(workInProgress, nextProps, context, renderLanes),\n      suspendIfUpdateReadFromEntangledAsyncAction(),\n      (context.state = workInProgress.memoizedState));\n    \"function\" === typeof context.componentDidMount &&\n      (workInProgress.flags |= 4194308);\n    nextProps = !0;\n  } else if (null === current) {\n    context = workInProgress.stateNode;\n    var unresolvedOldProps = workInProgress.memoizedProps,\n      oldProps = resolveClassComponentProps(Component, unresolvedOldProps);\n    context.props = oldProps;\n    var oldContext = context.context,\n      contextType$jscomp$0 = Component.contextType;\n    contextType = emptyContextObject;\n    \"object\" === typeof contextType$jscomp$0 &&\n      null !== contextType$jscomp$0 &&\n      (contextType = readContext(contextType$jscomp$0));\n    var getDerivedStateFromProps = Component.getDerivedStateFromProps;\n    contextType$jscomp$0 =\n      \"function\" === typeof getDerivedStateFromProps ||\n      \"function\" === typeof context.getSnapshotBeforeUpdate;\n    unresolvedOldProps = workInProgress.pendingProps !== unresolvedOldProps;\n    contextType$jscomp$0 ||\n      (\"function\" !== typeof context.UNSAFE_componentWillReceiveProps &&\n        \"function\" !== typeof context.componentWillReceiveProps) ||\n      ((unresolvedOldProps || oldContext !== contextType) &&\n        callComponentWillReceiveProps(\n          workInProgress,\n          context,\n          nextProps,\n          contextType\n        ));\n    hasForceUpdate = !1;\n    var oldState = workInProgress.memoizedState;\n    context.state = oldState;\n    processUpdateQueue(workInProgress, nextProps, context, renderLanes);\n    suspendIfUpdateReadFromEntangledAsyncAction();\n    oldContext = workInProgress.memoizedState;\n    unresolvedOldProps || oldState !== oldContext || hasForceUpdate\n      ? (\"function\" === typeof getDerivedStateFromProps &&\n          (applyDerivedStateFromProps(\n            workInProgress,\n            Component,\n            getDerivedStateFromProps,\n            nextProps\n          ),\n          (oldContext = workInProgress.memoizedState)),\n        (oldProps =\n          hasForceUpdate ||\n          checkShouldComponentUpdate(\n            workInProgress,\n            Component,\n            oldProps,\n            nextProps,\n            oldState,\n            oldContext,\n            contextType\n          ))\n          ? (contextType$jscomp$0 ||\n              (\"function\" !== typeof context.UNSAFE_componentWillMount &&\n                \"function\" !== typeof context.componentWillMount) ||\n              (\"function\" === typeof context.componentWillMount &&\n                context.componentWillMount(),\n              \"function\" === typeof context.UNSAFE_componentWillMount &&\n                context.UNSAFE_componentWillMount()),\n            \"function\" === typeof context.componentDidMount &&\n              (workInProgress.flags |= 4194308))\n          : (\"function\" === typeof context.componentDidMount &&\n              (workInProgress.flags |= 4194308),\n            (workInProgress.memoizedProps = nextProps),\n            (workInProgress.memoizedState = oldContext)),\n        (context.props = nextProps),\n        (context.state = oldContext),\n        (context.context = contextType),\n        (nextProps = oldProps))\n      : (\"function\" === typeof context.componentDidMount &&\n          (workInProgress.flags |= 4194308),\n        (nextProps = !1));\n  } else {\n    context = workInProgress.stateNode;\n    cloneUpdateQueue(current, workInProgress);\n    contextType = workInProgress.memoizedProps;\n    contextType$jscomp$0 = resolveClassComponentProps(Component, contextType);\n    context.props = contextType$jscomp$0;\n    getDerivedStateFromProps = workInProgress.pendingProps;\n    oldState = context.context;\n    oldContext = Component.contextType;\n    oldProps = emptyContextObject;\n    \"object\" === typeof oldContext &&\n      null !== oldContext &&\n      (oldProps = readContext(oldContext));\n    unresolvedOldProps = Component.getDerivedStateFromProps;\n    (oldContext =\n      \"function\" === typeof unresolvedOldProps ||\n      \"function\" === typeof context.getSnapshotBeforeUpdate) ||\n      (\"function\" !== typeof context.UNSAFE_componentWillReceiveProps &&\n        \"function\" !== typeof context.componentWillReceiveProps) ||\n      ((contextType !== getDerivedStateFromProps || oldState !== oldProps) &&\n        callComponentWillReceiveProps(\n          workInProgress,\n          context,\n          nextProps,\n          oldProps\n        ));\n    hasForceUpdate = !1;\n    oldState = workInProgress.memoizedState;\n    context.state = oldState;\n    processUpdateQueue(workInProgress, nextProps, context, renderLanes);\n    suspendIfUpdateReadFromEntangledAsyncAction();\n    var newState = workInProgress.memoizedState;\n    contextType !== getDerivedStateFromProps ||\n    oldState !== newState ||\n    hasForceUpdate ||\n    (null !== current &&\n      null !== current.dependencies &&\n      checkIfContextChanged(current.dependencies))\n      ? (\"function\" === typeof unresolvedOldProps &&\n          (applyDerivedStateFromProps(\n            workInProgress,\n            Component,\n            unresolvedOldProps,\n            nextProps\n          ),\n          (newState = workInProgress.memoizedState)),\n        (contextType$jscomp$0 =\n          hasForceUpdate ||\n          checkShouldComponentUpdate(\n            workInProgress,\n            Component,\n            contextType$jscomp$0,\n            nextProps,\n            oldState,\n            newState,\n            oldProps\n          ) ||\n          (null !== current &&\n            null !== current.dependencies &&\n            checkIfContextChanged(current.dependencies)))\n          ? (oldContext ||\n              (\"function\" !== typeof context.UNSAFE_componentWillUpdate &&\n                \"function\" !== typeof context.componentWillUpdate) ||\n              (\"function\" === typeof context.componentWillUpdate &&\n                context.componentWillUpdate(nextProps, newState, oldProps),\n              \"function\" === typeof context.UNSAFE_componentWillUpdate &&\n                context.UNSAFE_componentWillUpdate(\n                  nextProps,\n                  newState,\n                  oldProps\n                )),\n            \"function\" === typeof context.componentDidUpdate &&\n              (workInProgress.flags |= 4),\n            \"function\" === typeof context.getSnapshotBeforeUpdate &&\n              (workInProgress.flags |= 1024))\n          : (\"function\" !== typeof context.componentDidUpdate ||\n              (contextType === current.memoizedProps &&\n                oldState === current.memoizedState) ||\n              (workInProgress.flags |= 4),\n            \"function\" !== typeof context.getSnapshotBeforeUpdate ||\n              (contextType === current.memoizedProps &&\n                oldState === current.memoizedState) ||\n              (workInProgress.flags |= 1024),\n            (workInProgress.memoizedProps = nextProps),\n            (workInProgress.memoizedState = newState)),\n        (context.props = nextProps),\n        (context.state = newState),\n        (context.context = oldProps),\n        (nextProps = contextType$jscomp$0))\n      : (\"function\" !== typeof context.componentDidUpdate ||\n          (contextType === current.memoizedProps &&\n            oldState === current.memoizedState) ||\n          (workInProgress.flags |= 4),\n        \"function\" !== typeof context.getSnapshotBeforeUpdate ||\n          (contextType === current.memoizedProps &&\n            oldState === current.memoizedState) ||\n          (workInProgress.flags |= 1024),\n        (nextProps = !1));\n  }\n  context = nextProps;\n  markRef(current, workInProgress);\n  nextProps = 0 !== (workInProgress.flags & 128);\n  context || nextProps\n    ? ((context = workInProgress.stateNode),\n      (Component =\n        nextProps && \"function\" !== typeof Component.getDerivedStateFromError\n          ? null\n          : context.render()),\n      (workInProgress.flags |= 1),\n      null !== current && nextProps\n        ? ((workInProgress.child = reconcileChildFibers(\n            workInProgress,\n            current.child,\n            null,\n            renderLanes\n          )),\n          (workInProgress.child = reconcileChildFibers(\n            workInProgress,\n            null,\n            Component,\n            renderLanes\n          )))\n        : reconcileChildren(current, workInProgress, Component, renderLanes),\n      (workInProgress.memoizedState = context.state),\n      (current = workInProgress.child))\n    : (current = bailoutOnAlreadyFinishedWork(\n        current,\n        workInProgress,\n        renderLanes\n      ));\n  return current;\n}\nfunction mountHostRootWithoutHydrating(\n  current,\n  workInProgress,\n  nextChildren,\n  renderLanes\n) {\n  resetHydrationState();\n  workInProgress.flags |= 256;\n  reconcileChildren(current, workInProgress, nextChildren, renderLanes);\n  return workInProgress.child;\n}\nvar SUSPENDED_MARKER = {\n  dehydrated: null,\n  treeContext: null,\n  retryLane: 0,\n  hydrationErrors: null\n};\nfunction mountSuspenseOffscreenState(renderLanes) {\n  return { baseLanes: renderLanes, cachePool: getSuspendedCache() };\n}\nfunction getRemainingWorkInPrimaryTree(\n  current,\n  primaryTreeDidDefer,\n  renderLanes\n) {\n  current = null !== current ? current.childLanes & ~renderLanes : 0;\n  primaryTreeDidDefer && (current |= workInProgressDeferredLane);\n  return current;\n}\nfunction updateSuspenseComponent(current, workInProgress, renderLanes) {\n  var nextProps = workInProgress.pendingProps,\n    showFallback = !1,\n    didSuspend = 0 !== (workInProgress.flags & 128),\n    JSCompiler_temp;\n  (JSCompiler_temp = didSuspend) ||\n    (JSCompiler_temp =\n      null !== current && null === current.memoizedState\n        ? !1\n        : 0 !== (suspenseStackCursor.current & 2));\n  JSCompiler_temp && ((showFallback = !0), (workInProgress.flags &= -129));\n  JSCompiler_temp = 0 !== (workInProgress.flags & 32);\n  workInProgress.flags &= -33;\n  if (null === current) {\n    if (isHydrating) {\n      showFallback\n        ? pushPrimaryTreeSuspenseHandler(workInProgress)\n        : reuseSuspenseHandlerOnStack();\n      (current = nextHydratableInstance)\n        ? ((current = canHydrateHydrationBoundary(\n            current,\n            rootOrSingletonContext\n          )),\n          (current = null !== current && \"&\" !== current.data ? current : null),\n          null !== current &&\n            ((workInProgress.memoizedState = {\n              dehydrated: current,\n              treeContext:\n                null !== treeContextProvider\n                  ? { id: treeContextId, overflow: treeContextOverflow }\n                  : null,\n              retryLane: 536870912,\n              hydrationErrors: null\n            }),\n            (renderLanes = createFiberFromDehydratedFragment(current)),\n            (renderLanes.return = workInProgress),\n            (workInProgress.child = renderLanes),\n            (hydrationParentFiber = workInProgress),\n            (nextHydratableInstance = null)))\n        : (current = null);\n      if (null === current) throw throwOnHydrationMismatch(workInProgress);\n      isSuspenseInstanceFallback(current)\n        ? (workInProgress.lanes = 32)\n        : (workInProgress.lanes = 536870912);\n      return null;\n    }\n    didSuspend = nextProps.children;\n    nextProps = nextProps.fallback;\n    if (showFallback)\n      return (\n        reuseSuspenseHandlerOnStack(),\n        (showFallback = workInProgress.mode),\n        (didSuspend = mountWorkInProgressOffscreenFiber(\n          { mode: \"hidden\", children: didSuspend },\n          showFallback\n        )),\n        (nextProps = createFiberFromFragment(\n          nextProps,\n          showFallback,\n          renderLanes,\n          null\n        )),\n        (didSuspend.return = workInProgress),\n        (nextProps.return = workInProgress),\n        (didSuspend.sibling = nextProps),\n        (workInProgress.child = didSuspend),\n        (nextProps = workInProgress.child),\n        (nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes)),\n        (nextProps.childLanes = getRemainingWorkInPrimaryTree(\n          current,\n          JSCompiler_temp,\n          renderLanes\n        )),\n        (workInProgress.memoizedState = SUSPENDED_MARKER),\n        bailoutOffscreenComponent(null, nextProps)\n      );\n    pushPrimaryTreeSuspenseHandler(workInProgress);\n    return mountSuspensePrimaryChildren(workInProgress, didSuspend);\n  }\n  var prevState = current.memoizedState;\n  if (null !== prevState) {\n    var dehydrated$96 = prevState.dehydrated;\n    if (null !== dehydrated$96)\n      return updateDehydratedSuspenseComponent(\n        current,\n        workInProgress,\n        didSuspend,\n        JSCompiler_temp,\n        nextProps,\n        dehydrated$96,\n        prevState,\n        renderLanes\n      );\n  }\n  if (showFallback)\n    return (\n      reuseSuspenseHandlerOnStack(),\n      (showFallback = nextProps.fallback),\n      (didSuspend = workInProgress.mode),\n      (prevState = current.child),\n      (dehydrated$96 = prevState.sibling),\n      (nextProps = createWorkInProgress(prevState, {\n        mode: \"hidden\",\n        children: nextProps.children\n      })),\n      (nextProps.subtreeFlags = prevState.subtreeFlags & 1206910976),\n      null !== dehydrated$96\n        ? (showFallback = createWorkInProgress(dehydrated$96, showFallback))\n        : ((showFallback = createFiberFromFragment(\n            showFallback,\n            didSuspend,\n            renderLanes,\n            null\n          )),\n          (showFallback.flags |= 2)),\n      (showFallback.return = workInProgress),\n      (nextProps.return = workInProgress),\n      (nextProps.sibling = showFallback),\n      (workInProgress.child = nextProps),\n      bailoutOffscreenComponent(null, nextProps),\n      (nextProps = workInProgress.child),\n      (showFallback = current.child.memoizedState),\n      null === showFallback\n        ? (showFallback = mountSuspenseOffscreenState(renderLanes))\n        : ((didSuspend = showFallback.cachePool),\n          null !== didSuspend\n            ? ((prevState = CacheContext._currentValue),\n              (didSuspend =\n                didSuspend.parent !== prevState\n                  ? { parent: prevState, pool: prevState }\n                  : didSuspend))\n            : (didSuspend = getSuspendedCache()),\n          (showFallback = {\n            baseLanes: showFallback.baseLanes | renderLanes,\n            cachePool: didSuspend\n          })),\n      (nextProps.memoizedState = showFallback),\n      (nextProps.childLanes = getRemainingWorkInPrimaryTree(\n        current,\n        JSCompiler_temp,\n        renderLanes\n      )),\n      (workInProgress.memoizedState = SUSPENDED_MARKER),\n      bailoutOffscreenComponent(current.child, nextProps)\n    );\n  pushPrimaryTreeSuspenseHandler(workInProgress);\n  renderLanes = current.child;\n  current = renderLanes.sibling;\n  renderLanes = createWorkInProgress(renderLanes, {\n    mode: \"visible\",\n    children: nextProps.children\n  });\n  renderLanes.return = workInProgress;\n  renderLanes.sibling = null;\n  null !== current &&\n    ((JSCompiler_temp = workInProgress.deletions),\n    null === JSCompiler_temp\n      ? ((workInProgress.deletions = [current]), (workInProgress.flags |= 16))\n      : JSCompiler_temp.push(current));\n  workInProgress.child = renderLanes;\n  workInProgress.memoizedState = null;\n  return renderLanes;\n}\nfunction mountSuspensePrimaryChildren(workInProgress, primaryChildren) {\n  primaryChildren = mountWorkInProgressOffscreenFiber(\n    { mode: \"visible\", children: primaryChildren },\n    workInProgress.mode\n  );\n  primaryChildren.return = workInProgress;\n  return (workInProgress.child = primaryChildren);\n}\nfunction mountWorkInProgressOffscreenFiber(offscreenProps, mode) {\n  offscreenProps = createFiberImplClass(22, offscreenProps, null, mode);\n  offscreenProps.lanes = 0;\n  return offscreenProps;\n}\nfunction retrySuspenseComponentWithoutHydrating(\n  current,\n  workInProgress,\n  renderLanes\n) {\n  reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n  current = mountSuspensePrimaryChildren(\n    workInProgress,\n    workInProgress.pendingProps.children\n  );\n  current.flags |= 2;\n  workInProgress.memoizedState = null;\n  return current;\n}\nfunction updateDehydratedSuspenseComponent(\n  current,\n  workInProgress,\n  didSuspend,\n  didPrimaryChildrenDefer,\n  nextProps,\n  suspenseInstance,\n  suspenseState,\n  renderLanes\n) {\n  if (didSuspend) {\n    if (workInProgress.flags & 256)\n      return (\n        pushPrimaryTreeSuspenseHandler(workInProgress),\n        (workInProgress.flags &= -257),\n        retrySuspenseComponentWithoutHydrating(\n          current,\n          workInProgress,\n          renderLanes\n        )\n      );\n    if (null !== workInProgress.memoizedState)\n      return (\n        reuseSuspenseHandlerOnStack(),\n        (workInProgress.child = current.child),\n        (workInProgress.flags |= 128),\n        null\n      );\n    reuseSuspenseHandlerOnStack();\n    suspenseInstance = nextProps.fallback;\n    suspenseState = workInProgress.mode;\n    nextProps = mountWorkInProgressOffscreenFiber(\n      { mode: \"visible\", children: nextProps.children },\n      suspenseState\n    );\n    suspenseInstance = createFiberFromFragment(\n      suspenseInstance,\n      suspenseState,\n      renderLanes,\n      null\n    );\n    suspenseInstance.flags |= 2;\n    nextProps.return = workInProgress;\n    suspenseInstance.return = workInProgress;\n    nextProps.sibling = suspenseInstance;\n    workInProgress.child = nextProps;\n    reconcileChildFibers(workInProgress, current.child, null, renderLanes);\n    nextProps = workInProgress.child;\n    nextProps.memoizedState = mountSuspenseOffscreenState(renderLanes);\n    nextProps.childLanes = getRemainingWorkInPrimaryTree(\n      current,\n      didPrimaryChildrenDefer,\n      renderLanes\n    );\n    workInProgress.memoizedState = SUSPENDED_MARKER;\n    return bailoutOffscreenComponent(null, nextProps);\n  }\n  pushPrimaryTreeSuspenseHandler(workInProgress);\n  if (isSuspenseInstanceFallback(suspenseInstance)) {\n    didPrimaryChildrenDefer =\n      suspenseInstance.nextSibling && suspenseInstance.nextSibling.dataset;\n    if (didPrimaryChildrenDefer) var digest = didPrimaryChildrenDefer.dgst;\n    didPrimaryChildrenDefer = digest;\n    \"\" !== didPrimaryChildrenDefer &&\n      ((nextProps = Error(formatProdErrorMessage(419))),\n      (nextProps.stack = \"\"),\n      (nextProps.digest = didPrimaryChildrenDefer),\n      queueHydrationError({ value: nextProps, source: null, stack: null }));\n    return retrySuspenseComponentWithoutHydrating(\n      current,\n      workInProgress,\n      renderLanes\n    );\n  }\n  didReceiveUpdate ||\n    propagateParentContextChanges(current, workInProgress, renderLanes, !1);\n  didPrimaryChildrenDefer = 0 !== (renderLanes & current.childLanes);\n  if (didReceiveUpdate || didPrimaryChildrenDefer) {\n    if (null !== currentTreeHiddenStackCursor.current)\n      return retrySuspenseComponentWithoutHydrating(\n        current,\n        workInProgress,\n        renderLanes\n      );\n    didPrimaryChildrenDefer = workInProgressRoot;\n    if (\n      null !== didPrimaryChildrenDefer &&\n      ((nextProps = getBumpedLaneForHydration(\n        didPrimaryChildrenDefer,\n        renderLanes\n      )),\n      0 !== nextProps && nextProps !== suspenseState.retryLane)\n    )\n      throw (\n        ((suspenseState.retryLane = nextProps),\n        enqueueConcurrentRenderForLane(current, nextProps),\n        scheduleUpdateOnFiber(didPrimaryChildrenDefer, current, nextProps),\n        SelectiveHydrationException)\n      );\n    isSuspenseInstancePending(suspenseInstance) ||\n      renderDidSuspendDelayIfPossible();\n    return retrySuspenseComponentWithoutHydrating(\n      current,\n      workInProgress,\n      renderLanes\n    );\n  }\n  if (isSuspenseInstancePending(suspenseInstance))\n    return (\n      (workInProgress.flags |= 192),\n      (workInProgress.child = current.child),\n      null\n    );\n  current = suspenseState.treeContext;\n  nextHydratableInstance = getNextHydratable(suspenseInstance.nextSibling);\n  hydrationParentFiber = workInProgress;\n  isHydrating = !0;\n  hydrationErrors = null;\n  rootOrSingletonContext = !1;\n  null !== current && restoreSuspendedTreeContext(workInProgress, current);\n  workInProgress = mountSuspensePrimaryChildren(\n    workInProgress,\n    nextProps.children\n  );\n  workInProgress.flags |= 134221824;\n  return workInProgress;\n}\nfunction scheduleSuspenseWorkOnFiber(fiber, renderLanes, propagationRoot) {\n  fiber.lanes |= renderLanes;\n  var alternate = fiber.alternate;\n  null !== alternate && (alternate.lanes |= renderLanes);\n  scheduleContextWorkOnParentPath(fiber.return, renderLanes, propagationRoot);\n}\nfunction findLastContentRow(firstChild) {\n  for (var lastContentRow = null; null !== firstChild; ) {\n    var currentRow = firstChild.alternate;\n    null !== currentRow &&\n      null === findFirstSuspended(currentRow) &&\n      (lastContentRow = firstChild);\n    firstChild = firstChild.sibling;\n  }\n  return lastContentRow;\n}\nfunction initSuspenseListRenderState(\n  workInProgress,\n  isBackwards,\n  tail,\n  lastContentRow,\n  tailMode,\n  treeForkCount\n) {\n  var renderState = workInProgress.memoizedState;\n  null === renderState\n    ? (workInProgress.memoizedState = {\n        isBackwards: isBackwards,\n        rendering: null,\n        renderingStartTime: 0,\n        last: lastContentRow,\n        tail: tail,\n        tailMode: tailMode,\n        treeForkCount: treeForkCount\n      })\n    : ((renderState.isBackwards = isBackwards),\n      (renderState.rendering = null),\n      (renderState.renderingStartTime = 0),\n      (renderState.last = lastContentRow),\n      (renderState.tail = tail),\n      (renderState.tailMode = tailMode),\n      (renderState.treeForkCount = treeForkCount));\n}\nfunction reverseChildren(fiber) {\n  var row = fiber.child;\n  for (fiber.child = null; null !== row; ) {\n    var nextRow = row.sibling;\n    row.sibling = fiber.child;\n    fiber.child = row;\n    row = nextRow;\n  }\n}\nfunction updateSuspenseListComponent(current, workInProgress, renderLanes) {\n  var nextProps = workInProgress.pendingProps,\n    revealOrder = nextProps.revealOrder,\n    tailMode = nextProps.tail;\n  nextProps = nextProps.children;\n  var suspenseContext = suspenseStackCursor.current;\n  if (workInProgress.flags & 128)\n    return pushSuspenseListContext(workInProgress, suspenseContext), null;\n  var shouldForceFallback = 0 !== (suspenseContext & 2);\n  shouldForceFallback\n    ? ((suspenseContext = (suspenseContext & 1) | 2),\n      (workInProgress.flags |= 128))\n    : (suspenseContext &= 1);\n  pushSuspenseListContext(workInProgress, suspenseContext);\n  \"backwards\" === revealOrder && null !== current\n    ? (reverseChildren(current),\n      reconcileChildren(current, workInProgress, nextProps, renderLanes),\n      reverseChildren(current))\n    : reconcileChildren(current, workInProgress, nextProps, renderLanes);\n  nextProps = isHydrating ? treeForkCount : 0;\n  if (!shouldForceFallback && null !== current && 0 !== (current.flags & 128))\n    a: for (current = workInProgress.child; null !== current; ) {\n      if (13 === current.tag)\n        null !== current.memoizedState &&\n          scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n      else if (19 === current.tag)\n        scheduleSuspenseWorkOnFiber(current, renderLanes, workInProgress);\n      else if (null !== current.child) {\n        current.child.return = current;\n        current = current.child;\n        continue;\n      }\n      if (current === workInProgress) break a;\n      for (; null === current.sibling; ) {\n        if (null === current.return || current.return === workInProgress)\n          break a;\n        current = current.return;\n      }\n      current.sibling.return = current.return;\n      current = current.sibling;\n    }\n  switch (revealOrder) {\n    case \"backwards\":\n      renderLanes = findLastContentRow(workInProgress.child);\n      null === renderLanes\n        ? ((revealOrder = workInProgress.child), (workInProgress.child = null))\n        : ((revealOrder = renderLanes.sibling),\n          (renderLanes.sibling = null),\n          reverseChildren(workInProgress));\n      initSuspenseListRenderState(\n        workInProgress,\n        !0,\n        revealOrder,\n        null,\n        tailMode,\n        nextProps\n      );\n      break;\n    case \"unstable_legacy-backwards\":\n      renderLanes = null;\n      revealOrder = workInProgress.child;\n      for (workInProgress.child = null; null !== revealOrder; ) {\n        current = revealOrder.alternate;\n        if (null !== current && null === findFirstSuspended(current)) {\n          workInProgress.child = revealOrder;\n          break;\n        }\n        current = revealOrder.sibling;\n        revealOrder.sibling = renderLanes;\n        renderLanes = revealOrder;\n        revealOrder = current;\n      }\n      initSuspenseListRenderState(\n        workInProgress,\n        !0,\n        renderLanes,\n        null,\n        tailMode,\n        nextProps\n      );\n      break;\n    case \"together\":\n      initSuspenseListRenderState(\n        workInProgress,\n        !1,\n        null,\n        null,\n        void 0,\n        nextProps\n      );\n      break;\n    case \"independent\":\n      workInProgress.memoizedState = null;\n      break;\n    default:\n      (renderLanes = findLastContentRow(workInProgress.child)),\n        null === renderLanes\n          ? ((revealOrder = workInProgress.child),\n            (workInProgress.child = null))\n          : ((revealOrder = renderLanes.sibling), (renderLanes.sibling = null)),\n        initSuspenseListRenderState(\n          workInProgress,\n          !1,\n          revealOrder,\n          renderLanes,\n          tailMode,\n          nextProps\n        );\n  }\n  return workInProgress.child;\n}\nfunction updateContextProvider(current, workInProgress, renderLanes) {\n  var newProps = workInProgress.pendingProps;\n  pushProvider(workInProgress, workInProgress.type, newProps.value);\n  reconcileChildren(current, workInProgress, newProps.children, renderLanes);\n  return workInProgress.child;\n}\nfunction bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes) {\n  null !== current && (workInProgress.dependencies = current.dependencies);\n  workInProgressRootSkippedLanes |= workInProgress.lanes;\n  if (0 === (renderLanes & workInProgress.childLanes))\n    if (null !== current) {\n      if (\n        (propagateParentContextChanges(\n          current,\n          workInProgress,\n          renderLanes,\n          !1\n        ),\n        0 === (renderLanes & workInProgress.childLanes))\n      )\n        return null;\n    } else return null;\n  if (null !== current && workInProgress.child !== current.child)\n    throw Error(formatProdErrorMessage(153));\n  if (null !== workInProgress.child) {\n    current = workInProgress.child;\n    renderLanes = createWorkInProgress(current, current.pendingProps);\n    workInProgress.child = renderLanes;\n    for (renderLanes.return = workInProgress; null !== current.sibling; )\n      (current = current.sibling),\n        (renderLanes = renderLanes.sibling =\n          createWorkInProgress(current, current.pendingProps)),\n        (renderLanes.return = workInProgress);\n    renderLanes.sibling = null;\n  }\n  return workInProgress.child;\n}\nfunction checkScheduledUpdateOrContext(current, renderLanes) {\n  if (0 !== (current.lanes & renderLanes)) return !0;\n  current = current.dependencies;\n  return null !== current && checkIfContextChanged(current) ? !0 : !1;\n}\nfunction attemptEarlyBailoutIfNoScheduledUpdate(\n  current,\n  workInProgress,\n  renderLanes\n) {\n  switch (workInProgress.tag) {\n    case 3:\n      pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);\n      pushProvider(workInProgress, CacheContext, current.memoizedState.cache);\n      resetHydrationState();\n      break;\n    case 27:\n    case 5:\n      pushHostContext(workInProgress);\n      break;\n    case 4:\n      pushHostContainer(workInProgress, workInProgress.stateNode.containerInfo);\n      break;\n    case 10:\n      pushProvider(\n        workInProgress,\n        workInProgress.type,\n        workInProgress.memoizedProps.value\n      );\n      break;\n    case 31:\n      if (null !== workInProgress.memoizedState)\n        return (\n          (workInProgress.flags |= 128),\n          pushDehydratedActivitySuspenseHandler(workInProgress),\n          null\n        );\n      break;\n    case 13:\n      var state$108 = workInProgress.memoizedState;\n      if (null !== state$108) {\n        if (null !== state$108.dehydrated)\n          return (\n            pushPrimaryTreeSuspenseHandler(workInProgress),\n            (workInProgress.flags |= 128),\n            null\n          );\n        state$108 = propagateParentContextChanges(\n          current,\n          workInProgress,\n          renderLanes,\n          !1\n        );\n        var primaryChildLanes = workInProgress.child.childLanes;\n        if (state$108 || 0 !== (renderLanes & primaryChildLanes))\n          return updateSuspenseComponent(current, workInProgress, renderLanes);\n        pushPrimaryTreeSuspenseHandler(workInProgress);\n        current = bailoutOnAlreadyFinishedWork(\n          current,\n          workInProgress,\n          renderLanes\n        );\n        return null !== current ? current.sibling : null;\n      }\n      pushPrimaryTreeSuspenseHandler(workInProgress);\n      break;\n    case 19:\n      if (workInProgress.flags & 128)\n        return updateSuspenseListComponent(\n          current,\n          workInProgress,\n          renderLanes\n        );\n      primaryChildLanes = 0 !== (current.flags & 128);\n      state$108 = 0 !== (renderLanes & workInProgress.childLanes);\n      state$108 ||\n        (propagateParentContextChanges(\n          current,\n          workInProgress,\n          renderLanes,\n          !1\n        ),\n        (state$108 = 0 !== (renderLanes & workInProgress.childLanes)));\n      if (primaryChildLanes) {\n        if (state$108)\n          return updateSuspenseListComponent(\n            current,\n            workInProgress,\n            renderLanes\n          );\n        workInProgress.flags |= 128;\n      }\n      primaryChildLanes = workInProgress.memoizedState;\n      null !== primaryChildLanes &&\n        ((primaryChildLanes.rendering = null),\n        (primaryChildLanes.tail = null),\n        (primaryChildLanes.lastEffect = null));\n      pushSuspenseListContext(workInProgress, suspenseStackCursor.current);\n      if (state$108) break;\n      else return null;\n    case 22:\n      return (\n        (workInProgress.lanes = 0),\n        updateOffscreenComponent(\n          current,\n          workInProgress,\n          renderLanes,\n          workInProgress.pendingProps\n        )\n      );\n    case 24:\n      pushProvider(workInProgress, CacheContext, current.memoizedState.cache);\n  }\n  return bailoutOnAlreadyFinishedWork(current, workInProgress, renderLanes);\n}\nfunction beginWork(current, workInProgress, renderLanes) {\n  if (null !== current)\n    if (current.memoizedProps !== workInProgress.pendingProps)\n      didReceiveUpdate = !0;\n    else {\n      if (\n        !checkScheduledUpdateOrContext(current, renderLanes) &&\n        0 === (workInProgress.flags & 128)\n      )\n        return (\n          (didReceiveUpdate = !1),\n          attemptEarlyBailoutIfNoScheduledUpdate(\n            current,\n            workInProgress,\n            renderLanes\n          )\n        );\n      didReceiveUpdate = 0 !== (current.flags & 131072) ? !0 : !1;\n    }\n  else\n    (didReceiveUpdate = !1),\n      isHydrating &&\n        0 !== (workInProgress.flags & 1048576) &&\n        pushTreeId(workInProgress, treeForkCount, workInProgress.index);\n  workInProgress.lanes = 0;\n  switch (workInProgress.tag) {\n    case 16:\n      a: {\n        var props = workInProgress.pendingProps;\n        current = resolveLazy(workInProgress.elementType);\n        workInProgress.type = current;\n        if (\"function\" === typeof current)\n          shouldConstruct(current)\n            ? ((props = resolveClassComponentProps(current, props)),\n              (workInProgress.tag = 1),\n              (workInProgress = updateClassComponent(\n                null,\n                workInProgress,\n                current,\n                props,\n                renderLanes\n              )))\n            : ((workInProgress.tag = 0),\n              (workInProgress = updateFunctionComponent(\n                null,\n                workInProgress,\n                current,\n                props,\n                renderLanes\n              )));\n        else {\n          if (void 0 !== current && null !== current) {\n            var $$typeof = current.$$typeof;\n            if ($$typeof === REACT_FORWARD_REF_TYPE) {\n              workInProgress.tag = 11;\n              workInProgress = updateForwardRef(\n                null,\n                workInProgress,\n                current,\n                props,\n                renderLanes\n              );\n              break a;\n            } else if ($$typeof === REACT_MEMO_TYPE) {\n              workInProgress.tag = 14;\n              workInProgress = updateMemoComponent(\n                null,\n                workInProgress,\n                current,\n                props,\n                renderLanes\n              );\n              break a;\n            } else if ($$typeof === REACT_CONTEXT_TYPE) {\n              workInProgress.tag = 10;\n              workInProgress.type = current;\n              workInProgress = updateContextProvider(\n                null,\n                workInProgress,\n                renderLanes\n              );\n              break a;\n            }\n          }\n          workInProgress = getComponentNameFromType(current) || current;\n          throw Error(formatProdErrorMessage(306, workInProgress, \"\"));\n        }\n      }\n      return workInProgress;\n    case 0:\n      return updateFunctionComponent(\n        current,\n        workInProgress,\n        workInProgress.type,\n        workInProgress.pendingProps,\n        renderLanes\n      );\n    case 1:\n      return (\n        (props = workInProgress.type),\n        ($$typeof = resolveClassComponentProps(\n          props,\n          workInProgress.pendingProps\n        )),\n        updateClassComponent(\n          current,\n          workInProgress,\n          props,\n          $$typeof,\n          renderLanes\n        )\n      );\n    case 3:\n      a: {\n        pushHostContainer(\n          workInProgress,\n          workInProgress.stateNode.containerInfo\n        );\n        if (null === current) throw Error(formatProdErrorMessage(387));\n        props = workInProgress.pendingProps;\n        var prevState = workInProgress.memoizedState;\n        $$typeof = prevState.element;\n        cloneUpdateQueue(current, workInProgress);\n        processUpdateQueue(workInProgress, props, null, renderLanes);\n        var nextState = workInProgress.memoizedState;\n        props = nextState.cache;\n        pushProvider(workInProgress, CacheContext, props);\n        props !== prevState.cache &&\n          propagateContextChanges(\n            workInProgress,\n            [CacheContext],\n            renderLanes,\n            !0\n          );\n        suspendIfUpdateReadFromEntangledAsyncAction();\n        props = nextState.element;\n        if (prevState.isDehydrated)\n          if (\n            ((prevState = {\n              element: props,\n              isDehydrated: !1,\n              cache: nextState.cache\n            }),\n            (workInProgress.updateQueue.baseState = prevState),\n            (workInProgress.memoizedState = prevState),\n            workInProgress.flags & 256)\n          ) {\n            workInProgress = mountHostRootWithoutHydrating(\n              current,\n              workInProgress,\n              props,\n              renderLanes\n            );\n            break a;\n          } else if (props !== $$typeof) {\n            $$typeof = createCapturedValueAtFiber(\n              Error(formatProdErrorMessage(424)),\n              workInProgress\n            );\n            queueHydrationError($$typeof);\n            workInProgress = mountHostRootWithoutHydrating(\n              current,\n              workInProgress,\n              props,\n              renderLanes\n            );\n            break a;\n          } else {\n            current = workInProgress.stateNode.containerInfo;\n            switch (current.nodeType) {\n              case 9:\n                current = current.body;\n                break;\n              default:\n                current =\n                  \"HTML\" === current.nodeName\n                    ? current.ownerDocument.body\n                    : current;\n            }\n            nextHydratableInstance = getNextHydratable(current.firstChild);\n            hydrationParentFiber = workInProgress;\n            isHydrating = !0;\n            hydrationErrors = null;\n            rootOrSingletonContext = !0;\n            renderLanes = mountChildFibers(\n              workInProgress,\n              null,\n              props,\n              renderLanes\n            );\n            for (workInProgress.child = renderLanes; renderLanes; )\n              (renderLanes.flags = (renderLanes.flags & -3) | 134221824),\n                (renderLanes = renderLanes.sibling);\n          }\n        else {\n          resetHydrationState();\n          if (props === $$typeof) {\n            workInProgress = bailoutOnAlreadyFinishedWork(\n              current,\n              workInProgress,\n              renderLanes\n            );\n            break a;\n          }\n          reconcileChildren(current, workInProgress, props, renderLanes);\n        }\n        workInProgress = workInProgress.child;\n      }\n      return workInProgress;\n    case 26:\n      return (\n        markRef(current, workInProgress),\n        null === current\n          ? (renderLanes = getResource(\n              workInProgress.type,\n              null,\n              workInProgress.pendingProps,\n              null\n            ))\n            ? (workInProgress.memoizedState = renderLanes)\n            : isHydrating ||\n              ((renderLanes = workInProgress.type),\n              (current = workInProgress.pendingProps),\n              (props = getOwnerDocumentFromRootContainer(\n                rootInstanceStackCursor.current\n              ).createElement(renderLanes)),\n              (props[internalInstanceKey] = workInProgress),\n              (props[internalPropsKey] = current),\n              setInitialProperties(props, renderLanes, current),\n              markNodeAsHoistable(props),\n              (workInProgress.stateNode = props))\n          : (workInProgress.memoizedState = getResource(\n              workInProgress.type,\n              current.memoizedProps,\n              workInProgress.pendingProps,\n              current.memoizedState\n            )),\n        null\n      );\n    case 27:\n      return (\n        pushHostContext(workInProgress),\n        null === current &&\n          isHydrating &&\n          ((props = workInProgress.stateNode =\n            resolveSingletonInstance(\n              workInProgress.type,\n              workInProgress.pendingProps,\n              rootInstanceStackCursor.current\n            )),\n          (hydrationParentFiber = workInProgress),\n          (rootOrSingletonContext = !0),\n          ($$typeof = nextHydratableInstance),\n          isSingletonScope(workInProgress.type)\n            ? ((previousHydratableOnEnteringScopedSingleton = $$typeof),\n              (nextHydratableInstance = getNextHydratable(props.firstChild)))\n            : (nextHydratableInstance = $$typeof)),\n        reconcileChildren(\n          current,\n          workInProgress,\n          workInProgress.pendingProps.children,\n          renderLanes\n        ),\n        markRef(current, workInProgress),\n        null === current && (workInProgress.flags |= 4194304),\n        workInProgress.child\n      );\n    case 5:\n      if (null === current && isHydrating) {\n        if (($$typeof = props = nextHydratableInstance))\n          (props = canHydrateInstance(\n            props,\n            workInProgress.type,\n            workInProgress.pendingProps,\n            rootOrSingletonContext\n          )),\n            null !== props\n              ? ((workInProgress.stateNode = props),\n                (hydrationParentFiber = workInProgress),\n                (nextHydratableInstance = getNextHydratable(props.firstChild)),\n                (rootOrSingletonContext = !1),\n                ($$typeof = !0))\n              : ($$typeof = !1);\n        $$typeof || throwOnHydrationMismatch(workInProgress);\n      }\n      pushHostContext(workInProgress);\n      $$typeof = workInProgress.type;\n      prevState = workInProgress.pendingProps;\n      nextState = null !== current ? current.memoizedProps : null;\n      props = prevState.children;\n      shouldSetTextContent($$typeof, prevState)\n        ? (props = null)\n        : null !== nextState &&\n          shouldSetTextContent($$typeof, nextState) &&\n          (workInProgress.flags |= 32);\n      null !== workInProgress.memoizedState &&\n        (($$typeof = renderWithHooks(\n          current,\n          workInProgress,\n          TransitionAwareHostComponent,\n          null,\n          null,\n          renderLanes\n        )),\n        (HostTransitionContext._currentValue = $$typeof));\n      markRef(current, workInProgress);\n      reconcileChildren(current, workInProgress, props, renderLanes);\n      return workInProgress.child;\n    case 6:\n      if (null === current && isHydrating) {\n        if ((current = renderLanes = nextHydratableInstance))\n          (renderLanes = canHydrateTextInstance(\n            renderLanes,\n            workInProgress.pendingProps,\n            rootOrSingletonContext\n          )),\n            null !== renderLanes\n              ? ((workInProgress.stateNode = renderLanes),\n                (hydrationParentFiber = workInProgress),\n                (nextHydratableInstance = null),\n                (current = !0))\n              : (current = !1);\n        current || throwOnHydrationMismatch(workInProgress);\n      }\n      return null;\n    case 13:\n      return updateSuspenseComponent(current, workInProgress, renderLanes);\n    case 4:\n      return (\n        pushHostContainer(\n          workInProgress,\n          workInProgress.stateNode.containerInfo\n        ),\n        (props = workInProgress.pendingProps),\n        null === current\n          ? (workInProgress.child = reconcileChildFibers(\n              workInProgress,\n              null,\n              props,\n              renderLanes\n            ))\n          : reconcileChildren(current, workInProgress, props, renderLanes),\n        workInProgress.child\n      );\n    case 11:\n      return updateForwardRef(\n        current,\n        workInProgress,\n        workInProgress.type,\n        workInProgress.pendingProps,\n        renderLanes\n      );\n    case 7:\n      return (\n        (props = workInProgress.pendingProps),\n        markRef(current, workInProgress),\n        reconcileChildren(current, workInProgress, props, renderLanes),\n        workInProgress.child\n      );\n    case 8:\n      return (\n        reconcileChildren(\n          current,\n          workInProgress,\n          workInProgress.pendingProps.children,\n          renderLanes\n        ),\n        workInProgress.child\n      );\n    case 12:\n      return (\n        reconcileChildren(\n          current,\n          workInProgress,\n          workInProgress.pendingProps.children,\n          renderLanes\n        ),\n        workInProgress.child\n      );\n    case 10:\n      return updateContextProvider(current, workInProgress, renderLanes);\n    case 9:\n      return (\n        ($$typeof = workInProgress.type._context),\n        (props = workInProgress.pendingProps.children),\n        prepareToReadContext(workInProgress),\n        ($$typeof = readContext($$typeof)),\n        (props = props($$typeof)),\n        (workInProgress.flags |= 1),\n        reconcileChildren(current, workInProgress, props, renderLanes),\n        workInProgress.child\n      );\n    case 14:\n      return updateMemoComponent(\n        current,\n        workInProgress,\n        workInProgress.type,\n        workInProgress.pendingProps,\n        renderLanes\n      );\n    case 15:\n      return updateSimpleMemoComponent(\n        current,\n        workInProgress,\n        workInProgress.type,\n        workInProgress.pendingProps,\n        renderLanes\n      );\n    case 19:\n      return updateSuspenseListComponent(current, workInProgress, renderLanes);\n    case 31:\n      return updateActivityComponent(current, workInProgress, renderLanes);\n    case 22:\n      return updateOffscreenComponent(\n        current,\n        workInProgress,\n        renderLanes,\n        workInProgress.pendingProps\n      );\n    case 24:\n      return (\n        prepareToReadContext(workInProgress),\n        (props = readContext(CacheContext)),\n        null === current\n          ? (($$typeof = peekCacheFromPool()),\n            null === $$typeof &&\n              (($$typeof = workInProgressRoot),\n              (prevState = createCache()),\n              ($$typeof.pooledCache = prevState),\n              prevState.refCount++,\n              null !== prevState && ($$typeof.pooledCacheLanes |= renderLanes),\n              ($$typeof = prevState)),\n            (workInProgress.memoizedState = { parent: props, cache: $$typeof }),\n            initializeUpdateQueue(workInProgress),\n            pushProvider(workInProgress, CacheContext, $$typeof))\n          : (0 !== (current.lanes & renderLanes) &&\n              (cloneUpdateQueue(current, workInProgress),\n              processUpdateQueue(workInProgress, null, null, renderLanes),\n              suspendIfUpdateReadFromEntangledAsyncAction()),\n            ($$typeof = current.memoizedState),\n            (prevState = workInProgress.memoizedState),\n            $$typeof.parent !== props\n              ? (($$typeof = { parent: props, cache: props }),\n                (workInProgress.memoizedState = $$typeof),\n                0 === workInProgress.lanes &&\n                  (workInProgress.memoizedState =\n                    workInProgress.updateQueue.baseState =\n                      $$typeof),\n                pushProvider(workInProgress, CacheContext, props))\n              : ((props = prevState.cache),\n                pushProvider(workInProgress, CacheContext, props),\n                props !== $$typeof.cache &&\n                  propagateContextChanges(\n                    workInProgress,\n                    [CacheContext],\n                    renderLanes,\n                    !0\n                  ))),\n        reconcileChildren(\n          current,\n          workInProgress,\n          workInProgress.pendingProps.children,\n          renderLanes\n        ),\n        workInProgress.child\n      );\n    case 30:\n      return (\n        null === workInProgress.stateNode &&\n          (workInProgress.stateNode = {\n            autoName: null,\n            paired: null,\n            clones: null,\n            ref: null\n          }),\n        (props = workInProgress.pendingProps),\n        null != props.name && \"auto\" !== props.name\n          ? (workInProgress.flags |= null === current ? 18882560 : 18874368)\n          : isHydrating && pushMaterializedTreeId(workInProgress),\n        null !== current && current.memoizedProps.name !== props.name\n          ? (workInProgress.flags |= 4194816)\n          : markRef(current, workInProgress),\n        reconcileChildren(current, workInProgress, props.children, renderLanes),\n        workInProgress.child\n      );\n    case 29:\n      throw workInProgress.pendingProps;\n  }\n  throw Error(formatProdErrorMessage(156, workInProgress.tag));\n}\nfunction markUpdate(workInProgress) {\n  workInProgress.flags |= 4;\n}\nfunction preloadInstanceAndSuspendIfNeeded(\n  workInProgress,\n  type,\n  oldProps,\n  newProps,\n  renderLanes\n) {\n  var JSCompiler_temp;\n  if ((JSCompiler_temp = 0 !== (workInProgress.mode & 32)))\n    JSCompiler_temp =\n      null === oldProps\n        ? maySuspendCommit(type, newProps)\n        : maySuspendCommit(type, newProps) &&\n          (newProps.src !== oldProps.src ||\n            newProps.srcSet !== oldProps.srcSet);\n  if (JSCompiler_temp) {\n    if (\n      ((workInProgress.flags |= 16777216),\n      (renderLanes & 335544128) === renderLanes)\n    )\n      if (workInProgress.stateNode.complete) workInProgress.flags |= 8192;\n      else if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;\n      else\n        throw (\n          ((suspendedThenable = noopSuspenseyCommitThenable),\n          SuspenseyCommitException)\n        );\n  } else workInProgress.flags &= -16777217;\n}\nfunction preloadResourceAndSuspendIfNeeded(workInProgress, resource) {\n  if (\"stylesheet\" !== resource.type || 0 !== (resource.state.loading & 4))\n    workInProgress.flags &= -16777217;\n  else if (((workInProgress.flags |= 16777216), !preloadResource(resource)))\n    if (shouldRemainOnPreviousScreen()) workInProgress.flags |= 8192;\n    else\n      throw (\n        ((suspendedThenable = noopSuspenseyCommitThenable),\n        SuspenseyCommitException)\n      );\n}\nfunction scheduleRetryEffect(workInProgress, retryQueue) {\n  null !== retryQueue && (workInProgress.flags |= 4);\n  workInProgress.flags & 16384 &&\n    ((retryQueue =\n      22 !== workInProgress.tag ? claimNextRetryLane() : 536870912),\n    (workInProgress.lanes |= retryQueue),\n    (workInProgressSuspendedRetryLanes |= retryQueue));\n}\nfunction cutOffTailIfNeeded(renderState, hasRenderedATailFallback) {\n  if (!isHydrating)\n    switch (renderState.tailMode) {\n      case \"visible\":\n        break;\n      case \"collapsed\":\n        for (\n          var tailNode = renderState.tail, lastTailNode = null;\n          null !== tailNode;\n\n        )\n          null !== tailNode.alternate && (lastTailNode = tailNode),\n            (tailNode = tailNode.sibling);\n        null === lastTailNode\n          ? hasRenderedATailFallback || null === renderState.tail\n            ? (renderState.tail = null)\n            : (renderState.tail.sibling = null)\n          : (lastTailNode.sibling = null);\n        break;\n      default:\n        hasRenderedATailFallback = renderState.tail;\n        for (tailNode = null; null !== hasRenderedATailFallback; )\n          null !== hasRenderedATailFallback.alternate &&\n            (tailNode = hasRenderedATailFallback),\n            (hasRenderedATailFallback = hasRenderedATailFallback.sibling);\n        null === tailNode\n          ? (renderState.tail = null)\n          : (tailNode.sibling = null);\n    }\n}\nfunction bubbleProperties(completedWork) {\n  var didBailout =\n      null !== completedWork.alternate &&\n      completedWork.alternate.child === completedWork.child,\n    newChildLanes = 0,\n    subtreeFlags = 0;\n  if (didBailout)\n    for (var child$113 = completedWork.child; null !== child$113; )\n      (newChildLanes |= child$113.lanes | child$113.childLanes),\n        (subtreeFlags |= child$113.subtreeFlags & 1206910976),\n        (subtreeFlags |= child$113.flags & 1206910976),\n        (child$113.return = completedWork),\n        (child$113 = child$113.sibling);\n  else\n    for (child$113 = completedWork.child; null !== child$113; )\n      (newChildLanes |= child$113.lanes | child$113.childLanes),\n        (subtreeFlags |= child$113.subtreeFlags),\n        (subtreeFlags |= child$113.flags),\n        (child$113.return = completedWork),\n        (child$113 = child$113.sibling);\n  completedWork.subtreeFlags |= subtreeFlags;\n  completedWork.childLanes = newChildLanes;\n  return didBailout;\n}\nfunction completeWork(current, workInProgress, renderLanes) {\n  var newProps = workInProgress.pendingProps;\n  popTreeContext(workInProgress);\n  switch (workInProgress.tag) {\n    case 16:\n    case 15:\n    case 0:\n    case 11:\n    case 7:\n    case 8:\n    case 12:\n    case 9:\n    case 14:\n      return bubbleProperties(workInProgress), null;\n    case 1:\n      return bubbleProperties(workInProgress), null;\n    case 3:\n      renderLanes = workInProgress.stateNode;\n      newProps = null;\n      null !== current && (newProps = current.memoizedState.cache);\n      workInProgress.memoizedState.cache !== newProps &&\n        (workInProgress.flags |= 2048);\n      popProvider(CacheContext);\n      popHostContainer();\n      renderLanes.pendingContext &&\n        ((renderLanes.context = renderLanes.pendingContext),\n        (renderLanes.pendingContext = null));\n      if (null === current || null === current.child)\n        popHydrationState(workInProgress)\n          ? markUpdate(workInProgress)\n          : null === current ||\n            (current.memoizedState.isDehydrated &&\n              0 === (workInProgress.flags & 256)) ||\n            ((workInProgress.flags |= 1024),\n            upgradeHydrationErrorsToRecoverable());\n      bubbleProperties(workInProgress);\n      return null;\n    case 26:\n      var type = workInProgress.type,\n        nextResource = workInProgress.memoizedState;\n      null === current\n        ? (markUpdate(workInProgress),\n          null !== nextResource\n            ? (bubbleProperties(workInProgress),\n              preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))\n            : (bubbleProperties(workInProgress),\n              preloadInstanceAndSuspendIfNeeded(\n                workInProgress,\n                type,\n                null,\n                newProps,\n                renderLanes\n              )))\n        : nextResource\n          ? nextResource !== current.memoizedState\n            ? (markUpdate(workInProgress),\n              bubbleProperties(workInProgress),\n              preloadResourceAndSuspendIfNeeded(workInProgress, nextResource))\n            : (bubbleProperties(workInProgress),\n              (workInProgress.flags &= -16777217))\n          : ((current = current.memoizedProps),\n            current !== newProps && markUpdate(workInProgress),\n            bubbleProperties(workInProgress),\n            preloadInstanceAndSuspendIfNeeded(\n              workInProgress,\n              type,\n              current,\n              newProps,\n              renderLanes\n            ));\n      return null;\n    case 27:\n      popHostContext(workInProgress);\n      renderLanes = rootInstanceStackCursor.current;\n      type = workInProgress.type;\n      if (null !== current && null != workInProgress.stateNode)\n        current.memoizedProps !== newProps && markUpdate(workInProgress);\n      else {\n        if (!newProps) {\n          if (null === workInProgress.stateNode)\n            throw Error(formatProdErrorMessage(166));\n          bubbleProperties(workInProgress);\n          workInProgress.subtreeFlags &= -33554433;\n          return null;\n        }\n        current = contextStackCursor.current;\n        popHydrationState(workInProgress)\n          ? prepareToHydrateHostInstance(workInProgress, current)\n          : ((current = resolveSingletonInstance(type, newProps, renderLanes)),\n            (workInProgress.stateNode = current),\n            markUpdate(workInProgress));\n      }\n      bubbleProperties(workInProgress);\n      workInProgress.subtreeFlags &= -33554433;\n      return null;\n    case 5:\n      popHostContext(workInProgress);\n      type = workInProgress.type;\n      if (null !== current && null != workInProgress.stateNode)\n        current.memoizedProps !== newProps && markUpdate(workInProgress);\n      else {\n        if (!newProps) {\n          if (null === workInProgress.stateNode)\n            throw Error(formatProdErrorMessage(166));\n          bubbleProperties(workInProgress);\n          workInProgress.subtreeFlags &= -33554433;\n          return null;\n        }\n        nextResource = contextStackCursor.current;\n        if (popHydrationState(workInProgress))\n          prepareToHydrateHostInstance(workInProgress, nextResource);\n        else {\n          var ownerDocument = getOwnerDocumentFromRootContainer(\n            rootInstanceStackCursor.current\n          );\n          switch (nextResource) {\n            case 1:\n              nextResource = ownerDocument.createElementNS(\n                \"http://www.w3.org/2000/svg\",\n                type\n              );\n              break;\n            case 2:\n              nextResource = ownerDocument.createElementNS(\n                \"http://www.w3.org/1998/Math/MathML\",\n                type\n              );\n              break;\n            default:\n              switch (type) {\n                case \"svg\":\n                  nextResource = ownerDocument.createElementNS(\n                    \"http://www.w3.org/2000/svg\",\n                    type\n                  );\n                  break;\n                case \"math\":\n                  nextResource = ownerDocument.createElementNS(\n                    \"http://www.w3.org/1998/Math/MathML\",\n                    type\n                  );\n                  break;\n                case \"script\":\n                  nextResource = ownerDocument.createElement(\"div\");\n                  nextResource.innerHTML = \"<script>\\x3c/script>\";\n                  nextResource = nextResource.removeChild(\n                    nextResource.firstChild\n                  );\n                  break;\n                case \"select\":\n                  nextResource =\n                    \"string\" === typeof newProps.is\n                      ? ownerDocument.createElement(\"select\", {\n                          is: newProps.is\n                        })\n                      : ownerDocument.createElement(\"select\");\n                  newProps.multiple\n                    ? (nextResource.multiple = !0)\n                    : newProps.size && (nextResource.size = newProps.size);\n                  break;\n                default:\n                  nextResource =\n                    \"string\" === typeof newProps.is\n                      ? ownerDocument.createElement(type, { is: newProps.is })\n                      : ownerDocument.createElement(type);\n              }\n          }\n          nextResource[internalInstanceKey] = workInProgress;\n          nextResource[internalPropsKey] = newProps;\n          a: for (\n            ownerDocument = workInProgress.child;\n            null !== ownerDocument;\n\n          ) {\n            if (5 === ownerDocument.tag || 6 === ownerDocument.tag)\n              nextResource.appendChild(ownerDocument.stateNode);\n            else if (\n              4 !== ownerDocument.tag &&\n              27 !== ownerDocument.tag &&\n              null !== ownerDocument.child\n            ) {\n              ownerDocument.child.return = ownerDocument;\n              ownerDocument = ownerDocument.child;\n              continue;\n            }\n            if (ownerDocument === workInProgress) break a;\n            for (; null === ownerDocument.sibling; ) {\n              if (\n                null === ownerDocument.return ||\n                ownerDocument.return === workInProgress\n              )\n                break a;\n              ownerDocument = ownerDocument.return;\n            }\n            ownerDocument.sibling.return = ownerDocument.return;\n            ownerDocument = ownerDocument.sibling;\n          }\n          workInProgress.stateNode = nextResource;\n          a: switch (\n            (setInitialProperties(nextResource, type, newProps), type)\n          ) {\n            case \"button\":\n            case \"input\":\n            case \"select\":\n            case \"textarea\":\n              newProps = !!newProps.autoFocus;\n              break a;\n            case \"img\":\n              newProps = !0;\n              break a;\n            default:\n              newProps = !1;\n          }\n          newProps && markUpdate(workInProgress);\n        }\n      }\n      bubbleProperties(workInProgress);\n      workInProgress.subtreeFlags &= -33554433;\n      preloadInstanceAndSuspendIfNeeded(\n        workInProgress,\n        workInProgress.type,\n        null === current ? null : current.memoizedProps,\n        workInProgress.pendingProps,\n        renderLanes\n      );\n      return null;\n    case 6:\n      if (current && null != workInProgress.stateNode)\n        current.memoizedProps !== newProps && markUpdate(workInProgress);\n      else {\n        if (\"string\" !== typeof newProps && null === workInProgress.stateNode)\n          throw Error(formatProdErrorMessage(166));\n        current = rootInstanceStackCursor.current;\n        if (popHydrationState(workInProgress)) {\n          current = workInProgress.stateNode;\n          renderLanes = workInProgress.memoizedProps;\n          newProps = null;\n          type = hydrationParentFiber;\n          if (null !== type)\n            switch (type.tag) {\n              case 27:\n              case 5:\n                newProps = type.memoizedProps;\n            }\n          current[internalInstanceKey] = workInProgress;\n          current =\n            current.nodeValue === renderLanes ||\n            (null !== newProps && !0 === newProps.suppressHydrationWarning) ||\n            checkForUnmatchedText(current.nodeValue, renderLanes)\n              ? !0\n              : !1;\n          current || throwOnHydrationMismatch(workInProgress, !0);\n        } else\n          (current =\n            getOwnerDocumentFromRootContainer(current).createTextNode(\n              newProps\n            )),\n            (current[internalInstanceKey] = workInProgress),\n            (workInProgress.stateNode = current);\n      }\n      bubbleProperties(workInProgress);\n      return null;\n    case 31:\n      renderLanes = workInProgress.memoizedState;\n      if (null === current || null !== current.memoizedState) {\n        newProps = popHydrationState(workInProgress);\n        if (null !== renderLanes) {\n          if (null === current) {\n            if (!newProps) throw Error(formatProdErrorMessage(318));\n            current = workInProgress.memoizedState;\n            current = null !== current ? current.dehydrated : null;\n            if (!current) throw Error(formatProdErrorMessage(557));\n            current[internalInstanceKey] = workInProgress;\n          } else\n            resetHydrationState(),\n              0 === (workInProgress.flags & 128) &&\n                (workInProgress.memoizedState = null),\n              (workInProgress.flags |= 4);\n          bubbleProperties(workInProgress);\n          current = !1;\n        } else\n          (renderLanes = upgradeHydrationErrorsToRecoverable()),\n            null !== current &&\n              null !== current.memoizedState &&\n              (current.memoizedState.hydrationErrors = renderLanes),\n            (current = !0);\n        if (!current) {\n          if (workInProgress.flags & 256)\n            return popSuspenseHandler(workInProgress), workInProgress;\n          popSuspenseHandler(workInProgress);\n          return null;\n        }\n        if (0 !== (workInProgress.flags & 128))\n          throw Error(formatProdErrorMessage(558));\n      }\n      bubbleProperties(workInProgress);\n      return null;\n    case 13:\n      newProps = workInProgress.memoizedState;\n      if (\n        null === current ||\n        (null !== current.memoizedState &&\n          null !== current.memoizedState.dehydrated)\n      ) {\n        type = popHydrationState(workInProgress);\n        if (null !== newProps && null !== newProps.dehydrated) {\n          if (null === current) {\n            if (!type) throw Error(formatProdErrorMessage(318));\n            type = workInProgress.memoizedState;\n            type = null !== type ? type.dehydrated : null;\n            if (!type) throw Error(formatProdErrorMessage(317));\n            type[internalInstanceKey] = workInProgress;\n          } else\n            resetHydrationState(),\n              0 === (workInProgress.flags & 128) &&\n                (workInProgress.memoizedState = null),\n              (workInProgress.flags |= 4);\n          bubbleProperties(workInProgress);\n          type = !1;\n        } else\n          (type = upgradeHydrationErrorsToRecoverable()),\n            null !== current &&\n              null !== current.memoizedState &&\n              (current.memoizedState.hydrationErrors = type),\n            (type = !0);\n        if (!type) {\n          if (workInProgress.flags & 256)\n            return popSuspenseHandler(workInProgress), workInProgress;\n          popSuspenseHandler(workInProgress);\n          return null;\n        }\n      }\n      popSuspenseHandler(workInProgress);\n      if (0 !== (workInProgress.flags & 128))\n        return (workInProgress.lanes = renderLanes), workInProgress;\n      renderLanes = null !== newProps;\n      current = null !== current && null !== current.memoizedState;\n      renderLanes &&\n        ((newProps = workInProgress.child),\n        (type = null),\n        null !== newProps.alternate &&\n          null !== newProps.alternate.memoizedState &&\n          null !== newProps.alternate.memoizedState.cachePool &&\n          (type = newProps.alternate.memoizedState.cachePool.pool),\n        (nextResource = null),\n        null !== newProps.memoizedState &&\n          null !== newProps.memoizedState.cachePool &&\n          (nextResource = newProps.memoizedState.cachePool.pool),\n        nextResource !== type && (newProps.flags |= 2048));\n      renderLanes !== current &&\n        renderLanes &&\n        (workInProgress.child.flags |= 8192);\n      scheduleRetryEffect(workInProgress, workInProgress.updateQueue);\n      bubbleProperties(workInProgress);\n      return null;\n    case 4:\n      return (\n        popHostContainer(),\n        null === current &&\n          listenToAllSupportedEvents(workInProgress.stateNode.containerInfo),\n        (workInProgress.flags |= 67108864),\n        bubbleProperties(workInProgress),\n        null\n      );\n    case 10:\n      return (\n        popProvider(workInProgress.type), bubbleProperties(workInProgress), null\n      );\n    case 19:\n      popSuspenseListContext(workInProgress);\n      newProps = workInProgress.memoizedState;\n      if (null === newProps) return bubbleProperties(workInProgress), null;\n      type = 0 !== (workInProgress.flags & 128);\n      nextResource = newProps.rendering;\n      if (null === nextResource)\n        if (type) cutOffTailIfNeeded(newProps, !1);\n        else {\n          if (\n            0 !== workInProgressRootExitStatus ||\n            (null !== current && 0 !== (current.flags & 128))\n          )\n            for (current = workInProgress.child; null !== current; ) {\n              nextResource = findFirstSuspended(current);\n              if (null !== nextResource) {\n                workInProgress.flags |= 128;\n                cutOffTailIfNeeded(newProps, !1);\n                current = nextResource.updateQueue;\n                workInProgress.updateQueue = current;\n                scheduleRetryEffect(workInProgress, current);\n                workInProgress.subtreeFlags = 0;\n                current = renderLanes;\n                for (renderLanes = workInProgress.child; null !== renderLanes; )\n                  resetWorkInProgress(renderLanes, current),\n                    (renderLanes = renderLanes.sibling);\n                pushSuspenseListContext(\n                  workInProgress,\n                  (suspenseStackCursor.current & 1) | 2\n                );\n                isHydrating &&\n                  pushTreeFork(workInProgress, newProps.treeForkCount);\n                return workInProgress.child;\n              }\n              current = current.sibling;\n            }\n          null !== newProps.tail &&\n            now() > workInProgressRootRenderTargetTime &&\n            ((workInProgress.flags |= 128),\n            (type = !0),\n            cutOffTailIfNeeded(newProps, !1),\n            (workInProgress.lanes = 4194304));\n        }\n      else {\n        if (!type)\n          if (\n            ((current = findFirstSuspended(nextResource)), null !== current)\n          ) {\n            if (\n              ((workInProgress.flags |= 128),\n              (type = !0),\n              (current = current.updateQueue),\n              (workInProgress.updateQueue = current),\n              scheduleRetryEffect(workInProgress, current),\n              cutOffTailIfNeeded(newProps, !0),\n              null === newProps.tail &&\n                \"collapsed\" !== newProps.tailMode &&\n                \"visible\" !== newProps.tailMode &&\n                !nextResource.alternate &&\n                !isHydrating)\n            )\n              return bubbleProperties(workInProgress), null;\n          } else\n            2 * now() - newProps.renderingStartTime >\n              workInProgressRootRenderTargetTime &&\n              536870912 !== renderLanes &&\n              ((workInProgress.flags |= 128),\n              (type = !0),\n              cutOffTailIfNeeded(newProps, !1),\n              (workInProgress.lanes = 4194304));\n        newProps.isBackwards\n          ? ((nextResource.sibling = workInProgress.child),\n            (workInProgress.child = nextResource))\n          : ((current = newProps.last),\n            null !== current\n              ? (current.sibling = nextResource)\n              : (workInProgress.child = nextResource),\n            (newProps.last = nextResource));\n      }\n      if (null !== newProps.tail) {\n        current = newProps.tail;\n        a: {\n          for (renderLanes = current; null !== renderLanes; ) {\n            if (null !== renderLanes.alternate) {\n              renderLanes = !1;\n              break a;\n            }\n            renderLanes = renderLanes.sibling;\n          }\n          renderLanes = !0;\n        }\n        newProps.rendering = current;\n        newProps.tail = current.sibling;\n        newProps.renderingStartTime = now();\n        current.sibling = null;\n        nextResource = suspenseStackCursor.current;\n        nextResource = type ? (nextResource & 1) | 2 : nextResource & 1;\n        \"visible\" === newProps.tailMode ||\n        \"collapsed\" === newProps.tailMode ||\n        !renderLanes ||\n        isHydrating\n          ? pushSuspenseListContext(workInProgress, nextResource)\n          : ((renderLanes = nextResource),\n            push(suspenseHandlerStackCursor, workInProgress),\n            push(suspenseStackCursor, renderLanes),\n            null === shellBoundary && (shellBoundary = workInProgress));\n        isHydrating && pushTreeFork(workInProgress, newProps.treeForkCount);\n        return current;\n      }\n      bubbleProperties(workInProgress);\n      return null;\n    case 22:\n    case 23:\n      return (\n        popSuspenseHandler(workInProgress),\n        popHiddenContext(),\n        (newProps = null !== workInProgress.memoizedState),\n        null !== current\n          ? (null !== current.memoizedState) !== newProps &&\n            (workInProgress.flags |= 8192)\n          : newProps && (workInProgress.flags |= 8192),\n        newProps\n          ? 0 !== (renderLanes & 536870912) &&\n            0 === (workInProgress.flags & 128) &&\n            (bubbleProperties(workInProgress),\n            workInProgress.subtreeFlags & 6 && (workInProgress.flags |= 8192))\n          : bubbleProperties(workInProgress),\n        (renderLanes = workInProgress.updateQueue),\n        null !== renderLanes &&\n          scheduleRetryEffect(workInProgress, renderLanes.retryQueue),\n        (renderLanes = null),\n        null !== current &&\n          null !== current.memoizedState &&\n          null !== current.memoizedState.cachePool &&\n          (renderLanes = current.memoizedState.cachePool.pool),\n        (newProps = null),\n        null !== workInProgress.memoizedState &&\n          null !== workInProgress.memoizedState.cachePool &&\n          (newProps = workInProgress.memoizedState.cachePool.pool),\n        newProps !== renderLanes && (workInProgress.flags |= 2048),\n        null !== current && pop(resumedCache),\n        null\n      );\n    case 24:\n      return (\n        (renderLanes = null),\n        null !== current && (renderLanes = current.memoizedState.cache),\n        workInProgress.memoizedState.cache !== renderLanes &&\n          (workInProgress.flags |= 2048),\n        popProvider(CacheContext),\n        bubbleProperties(workInProgress),\n        null\n      );\n    case 25:\n      return null;\n    case 30:\n      return (\n        (workInProgress.flags |= 33554432),\n        bubbleProperties(workInProgress),\n        null\n      );\n  }\n  throw Error(formatProdErrorMessage(156, workInProgress.tag));\n}\nfunction unwindWork(current, workInProgress) {\n  popTreeContext(workInProgress);\n  switch (workInProgress.tag) {\n    case 1:\n      return (\n        (current = workInProgress.flags),\n        current & 65536\n          ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n          : null\n      );\n    case 3:\n      return (\n        popProvider(CacheContext),\n        popHostContainer(),\n        (current = workInProgress.flags),\n        0 !== (current & 65536) && 0 === (current & 128)\n          ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n          : null\n      );\n    case 26:\n    case 27:\n    case 5:\n      return popHostContext(workInProgress), null;\n    case 31:\n      if (null !== workInProgress.memoizedState) {\n        popSuspenseHandler(workInProgress);\n        if (null === workInProgress.alternate)\n          throw Error(formatProdErrorMessage(340));\n        resetHydrationState();\n      }\n      current = workInProgress.flags;\n      return current & 65536\n        ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n        : null;\n    case 13:\n      popSuspenseHandler(workInProgress);\n      current = workInProgress.memoizedState;\n      if (null !== current && null !== current.dehydrated) {\n        if (null === workInProgress.alternate)\n          throw Error(formatProdErrorMessage(340));\n        resetHydrationState();\n      }\n      current = workInProgress.flags;\n      return current & 65536\n        ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n        : null;\n    case 19:\n      return (\n        popSuspenseListContext(workInProgress),\n        (current = workInProgress.flags),\n        current & 65536\n          ? ((workInProgress.flags = (current & -65537) | 128),\n            (current = workInProgress.memoizedState),\n            null !== current &&\n              ((current.rendering = null), (current.tail = null)),\n            (workInProgress.flags |= 4),\n            workInProgress)\n          : null\n      );\n    case 4:\n      return popHostContainer(), null;\n    case 10:\n      return popProvider(workInProgress.type), null;\n    case 22:\n    case 23:\n      return (\n        popSuspenseHandler(workInProgress),\n        popHiddenContext(),\n        null !== current && pop(resumedCache),\n        (current = workInProgress.flags),\n        current & 65536\n          ? ((workInProgress.flags = (current & -65537) | 128), workInProgress)\n          : null\n      );\n    case 24:\n      return popProvider(CacheContext), null;\n    case 25:\n      return null;\n    default:\n      return null;\n  }\n}\nfunction unwindInterruptedWork(current, interruptedWork) {\n  popTreeContext(interruptedWork);\n  switch (interruptedWork.tag) {\n    case 3:\n      popProvider(CacheContext);\n      popHostContainer();\n      break;\n    case 26:\n    case 27:\n    case 5:\n      popHostContext(interruptedWork);\n      break;\n    case 4:\n      popHostContainer();\n      break;\n    case 31:\n      null !== interruptedWork.memoizedState &&\n        popSuspenseHandler(interruptedWork);\n      break;\n    case 13:\n      popSuspenseHandler(interruptedWork);\n      break;\n    case 19:\n      popSuspenseListContext(interruptedWork);\n      break;\n    case 10:\n      popProvider(interruptedWork.type);\n      break;\n    case 22:\n    case 23:\n      popSuspenseHandler(interruptedWork);\n      popHiddenContext();\n      null !== current && pop(resumedCache);\n      break;\n    case 24:\n      popProvider(CacheContext);\n  }\n}\nfunction commitHookEffectListMount(flags, finishedWork) {\n  try {\n    var updateQueue = finishedWork.updateQueue,\n      lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;\n    if (null !== lastEffect) {\n      var firstEffect = lastEffect.next;\n      updateQueue = firstEffect;\n      do {\n        if ((updateQueue.tag & flags) === flags) {\n          lastEffect = void 0;\n          var create = updateQueue.create,\n            inst = updateQueue.inst;\n          lastEffect = create();\n          inst.destroy = lastEffect;\n        }\n        updateQueue = updateQueue.next;\n      } while (updateQueue !== firstEffect);\n    }\n  } catch (error) {\n    captureCommitPhaseError(finishedWork, finishedWork.return, error);\n  }\n}\nfunction commitHookEffectListUnmount(\n  flags,\n  finishedWork,\n  nearestMountedAncestor$jscomp$0\n) {\n  try {\n    var updateQueue = finishedWork.updateQueue,\n      lastEffect = null !== updateQueue ? updateQueue.lastEffect : null;\n    if (null !== lastEffect) {\n      var firstEffect = lastEffect.next;\n      updateQueue = firstEffect;\n      do {\n        if ((updateQueue.tag & flags) === flags) {\n          var inst = updateQueue.inst,\n            destroy = inst.destroy;\n          if (void 0 !== destroy) {\n            inst.destroy = void 0;\n            lastEffect = finishedWork;\n            var nearestMountedAncestor = nearestMountedAncestor$jscomp$0,\n              destroy_ = destroy;\n            try {\n              destroy_();\n            } catch (error) {\n              captureCommitPhaseError(\n                lastEffect,\n                nearestMountedAncestor,\n                error\n              );\n            }\n          }\n        }\n        updateQueue = updateQueue.next;\n      } while (updateQueue !== firstEffect);\n    }\n  } catch (error) {\n    captureCommitPhaseError(finishedWork, finishedWork.return, error);\n  }\n}\nfunction commitClassCallbacks(finishedWork) {\n  var updateQueue = finishedWork.updateQueue;\n  if (null !== updateQueue) {\n    var instance = finishedWork.stateNode;\n    try {\n      commitCallbacks(updateQueue, instance);\n    } catch (error) {\n      captureCommitPhaseError(finishedWork, finishedWork.return, error);\n    }\n  }\n}\nfunction safelyCallComponentWillUnmount(\n  current,\n  nearestMountedAncestor,\n  instance\n) {\n  instance.props = resolveClassComponentProps(\n    current.type,\n    current.memoizedProps\n  );\n  instance.state = current.memoizedState;\n  try {\n    instance.componentWillUnmount();\n  } catch (error) {\n    captureCommitPhaseError(current, nearestMountedAncestor, error);\n  }\n}\nfunction safelyAttachRef(current, nearestMountedAncestor) {\n  try {\n    var ref = current.ref;\n    if (null !== ref) {\n      switch (current.tag) {\n        case 26:\n        case 27:\n        case 5:\n          var instanceToUse = current.stateNode;\n          break;\n        case 30:\n          var instance = current.stateNode,\n            name = getViewTransitionName(current.memoizedProps, instance);\n          if (null === instance.ref || instance.ref.name !== name)\n            instance.ref = createViewTransitionInstance(name);\n          instanceToUse = instance.ref;\n          break;\n        case 7:\n          if (null === current.stateNode) {\n            var fragmentInstance = new FragmentInstance(current);\n            traverseVisibleInstancesAndTextInstances(\n              current.child,\n              !1,\n              addFragmentHandleToFiber,\n              fragmentInstance,\n              void 0,\n              void 0\n            );\n            current.stateNode = fragmentInstance;\n          }\n          instanceToUse = current.stateNode;\n          break;\n        default:\n          instanceToUse = current.stateNode;\n      }\n      \"function\" === typeof ref\n        ? (current.refCleanup = ref(instanceToUse))\n        : (ref.current = instanceToUse);\n    }\n  } catch (error) {\n    captureCommitPhaseError(current, nearestMountedAncestor, error);\n  }\n}\nfunction safelyDetachRef(current, nearestMountedAncestor) {\n  var ref = current.ref,\n    refCleanup = current.refCleanup;\n  if (null !== ref)\n    if (\"function\" === typeof refCleanup)\n      try {\n        refCleanup();\n      } catch (error) {\n        captureCommitPhaseError(current, nearestMountedAncestor, error);\n      } finally {\n        (current.refCleanup = null),\n          (current = current.alternate),\n          null != current && (current.refCleanup = null);\n      }\n    else if (\"function\" === typeof ref)\n      try {\n        ref(null);\n      } catch (error$148) {\n        captureCommitPhaseError(current, nearestMountedAncestor, error$148);\n      }\n    else ref.current = null;\n}\nfunction commitHostMount(finishedWork) {\n  var type = finishedWork.type,\n    props = finishedWork.memoizedProps,\n    instance = finishedWork.stateNode;\n  try {\n    a: switch (type) {\n      case \"button\":\n      case \"input\":\n      case \"select\":\n      case \"textarea\":\n        props.autoFocus && instance.focus();\n        break a;\n      case \"img\":\n        props.src\n          ? (instance.src = props.src)\n          : props.srcSet && (instance.srcset = props.srcSet);\n    }\n  } catch (error) {\n    captureCommitPhaseError(finishedWork, finishedWork.return, error);\n  }\n}\nfunction commitHostUpdate(finishedWork, newProps, oldProps) {\n  try {\n    var domElement = finishedWork.stateNode;\n    updateProperties(domElement, finishedWork.type, oldProps, newProps);\n    domElement[internalPropsKey] = newProps;\n  } catch (error) {\n    captureCommitPhaseError(finishedWork, finishedWork.return, error);\n  }\n}\nfunction commitNewChildToFragmentInstances(fiber, parentFragmentInstances) {\n  if (\n    (5 === fiber.tag || 6 === fiber.tag) &&\n    null === fiber.alternate &&\n    null !== parentFragmentInstances\n  )\n    for (var i = 0; i < parentFragmentInstances.length; i++)\n      commitNewChildToFragmentInstance(\n        fiber.stateNode,\n        parentFragmentInstances[i]\n      );\n}\nfunction commitFragmentInstanceDeletionEffects(fiber) {\n  for (var parent = fiber.return; null !== parent; ) {\n    if (isFragmentInstanceParent(parent)) {\n      var fragmentInstance = parent.stateNode;\n      var childInstance = fiber.stateNode;\n      if (3 !== childInstance.nodeType) {\n        var eventListeners = fragmentInstance._eventListeners;\n        if (null !== eventListeners)\n          for (var i = 0; i < eventListeners.length; i++) {\n            var _eventListeners$i4 = eventListeners[i];\n            childInstance.removeEventListener(\n              _eventListeners$i4.type,\n              _eventListeners$i4.listener,\n              _eventListeners$i4.optionsOrUseCapture\n            );\n          }\n        null != childInstance.reactFragments &&\n          childInstance.reactFragments.delete(fragmentInstance);\n      }\n    }\n    if (isHostParent(parent)) break;\n    parent = parent.return;\n  }\n}\nfunction isHostParent(fiber) {\n  return (\n    5 === fiber.tag ||\n    3 === fiber.tag ||\n    26 === fiber.tag ||\n    (27 === fiber.tag && isSingletonScope(fiber.type)) ||\n    4 === fiber.tag\n  );\n}\nfunction isFragmentInstanceParent(fiber) {\n  return fiber && 7 === fiber.tag && null !== fiber.stateNode;\n}\nfunction getHostSibling(fiber) {\n  a: for (;;) {\n    for (; null === fiber.sibling; ) {\n      if (null === fiber.return || isHostParent(fiber.return)) return null;\n      fiber = fiber.return;\n    }\n    fiber.sibling.return = fiber.return;\n    for (\n      fiber = fiber.sibling;\n      5 !== fiber.tag && 6 !== fiber.tag && 18 !== fiber.tag;\n\n    ) {\n      if (27 === fiber.tag && isSingletonScope(fiber.type)) continue a;\n      if (fiber.flags & 2) continue a;\n      if (null === fiber.child || 4 === fiber.tag) continue a;\n      else (fiber.child.return = fiber), (fiber = fiber.child);\n    }\n    if (!(fiber.flags & 2)) return fiber.stateNode;\n  }\n}\nfunction insertOrAppendPlacementNodeIntoContainer(\n  node,\n  before,\n  parent,\n  parentFragmentInstances\n) {\n  var tag = node.tag;\n  if (5 === tag || 6 === tag)\n    (tag = node.stateNode),\n      before\n        ? (9 === parent.nodeType\n            ? parent.body\n            : \"HTML\" === parent.nodeName\n              ? parent.ownerDocument.body\n              : parent\n          ).insertBefore(tag, before)\n        : ((before =\n            9 === parent.nodeType\n              ? parent.body\n              : \"HTML\" === parent.nodeName\n                ? parent.ownerDocument.body\n                : parent),\n          before.appendChild(tag),\n          (parent = parent._reactRootContainer),\n          (null !== parent && void 0 !== parent) ||\n            null !== before.onclick ||\n            (before.onclick = noop$1)),\n      commitNewChildToFragmentInstances(node, parentFragmentInstances),\n      (viewTransitionMutationContext = !0);\n  else if (\n    4 !== tag &&\n    (27 === tag &&\n      isSingletonScope(node.type) &&\n      ((parent = node.stateNode), (before = null)),\n    (node = node.child),\n    null !== node)\n  )\n    for (\n      insertOrAppendPlacementNodeIntoContainer(\n        node,\n        before,\n        parent,\n        parentFragmentInstances\n      ),\n        node = node.sibling;\n      null !== node;\n\n    )\n      insertOrAppendPlacementNodeIntoContainer(\n        node,\n        before,\n        parent,\n        parentFragmentInstances\n      ),\n        (node = node.sibling);\n}\nfunction insertOrAppendPlacementNode(\n  node,\n  before,\n  parent,\n  parentFragmentInstances\n) {\n  var tag = node.tag;\n  if (5 === tag || 6 === tag)\n    (tag = node.stateNode),\n      before ? parent.insertBefore(tag, before) : parent.appendChild(tag),\n      commitNewChildToFragmentInstances(node, parentFragmentInstances),\n      (viewTransitionMutationContext = !0);\n  else if (\n    4 !== tag &&\n    (27 === tag && isSingletonScope(node.type) && (parent = node.stateNode),\n    (node = node.child),\n    null !== node)\n  )\n    for (\n      insertOrAppendPlacementNode(\n        node,\n        before,\n        parent,\n        parentFragmentInstances\n      ),\n        node = node.sibling;\n      null !== node;\n\n    )\n      insertOrAppendPlacementNode(\n        node,\n        before,\n        parent,\n        parentFragmentInstances\n      ),\n        (node = node.sibling);\n}\nfunction commitHostSingletonAcquisition(finishedWork) {\n  var singleton = finishedWork.stateNode,\n    props = finishedWork.memoizedProps;\n  try {\n    for (\n      var type = finishedWork.type, attributes = singleton.attributes;\n      attributes.length;\n\n    )\n      singleton.removeAttributeNode(attributes[0]);\n    setInitialProperties(singleton, type, props);\n    singleton[internalInstanceKey] = finishedWork;\n    singleton[internalPropsKey] = props;\n  } catch (error) {\n    captureCommitPhaseError(finishedWork, finishedWork.return, error);\n  }\n}\nvar shouldStartViewTransition = !1,\n  appearingViewTransitions = null;\nfunction trackEnterViewTransitions(placement) {\n  if (30 === placement.tag || 0 !== (placement.subtreeFlags & 33554432))\n    shouldStartViewTransition = !0;\n}\nvar viewTransitionCancelableChildren = null;\nfunction pushViewTransitionCancelableScope() {\n  var prevChildren = viewTransitionCancelableChildren;\n  viewTransitionCancelableChildren = null;\n  return prevChildren;\n}\nvar viewTransitionHostInstanceIdx = 0;\nfunction applyViewTransitionToHostInstances(\n  fiber,\n  name,\n  className,\n  collectMeasurements,\n  stopAtNestedViewTransitions\n) {\n  viewTransitionHostInstanceIdx = 0;\n  return applyViewTransitionToHostInstancesRecursive(\n    fiber.child,\n    name,\n    className,\n    collectMeasurements,\n    stopAtNestedViewTransitions\n  );\n}\nfunction applyViewTransitionToHostInstancesRecursive(\n  child,\n  name,\n  className,\n  collectMeasurements,\n  stopAtNestedViewTransitions\n) {\n  for (var inViewport = !1; null !== child; ) {\n    if (5 === child.tag) {\n      var instance = child.stateNode;\n      if (null !== collectMeasurements) {\n        var measurement = measureInstance(instance);\n        collectMeasurements.push(measurement);\n        measurement.view && (inViewport = !0);\n      } else\n        inViewport || (measureInstance(instance).view && (inViewport = !0));\n      shouldStartViewTransition = !0;\n      applyViewTransitionName(\n        instance,\n        0 === viewTransitionHostInstanceIdx\n          ? name\n          : name + \"_\" + viewTransitionHostInstanceIdx,\n        className\n      );\n      viewTransitionHostInstanceIdx++;\n    } else if (22 !== child.tag || null === child.memoizedState)\n      (30 === child.tag && stopAtNestedViewTransitions) ||\n        (applyViewTransitionToHostInstancesRecursive(\n          child.child,\n          name,\n          className,\n          collectMeasurements,\n          stopAtNestedViewTransitions\n        ) &&\n          (inViewport = !0));\n    child = child.sibling;\n  }\n  return inViewport;\n}\nfunction restoreViewTransitionOnHostInstances(\n  child,\n  stopAtNestedViewTransitions\n) {\n  for (; null !== child; ) {\n    if (5 === child.tag)\n      restoreViewTransitionName(child.stateNode, child.memoizedProps);\n    else if (22 !== child.tag || null === child.memoizedState)\n      (30 === child.tag && stopAtNestedViewTransitions) ||\n        restoreViewTransitionOnHostInstances(\n          child.child,\n          stopAtNestedViewTransitions\n        );\n    child = child.sibling;\n  }\n}\nfunction commitAppearingPairViewTransitions(placement) {\n  if (0 !== (placement.subtreeFlags & 18874368))\n    for (placement = placement.child; null !== placement; ) {\n      if (22 !== placement.tag || null === placement.memoizedState)\n        if (\n          (commitAppearingPairViewTransitions(placement),\n          30 === placement.tag &&\n            0 !== (placement.flags & 18874368) &&\n            placement.stateNode.paired)\n        ) {\n          var props = placement.memoizedProps;\n          if (null == props.name || \"auto\" === props.name)\n            throw Error(formatProdErrorMessage(544));\n          var name = props.name;\n          props = getViewTransitionClassName(props.default, props.share);\n          \"none\" !== props &&\n            (applyViewTransitionToHostInstances(\n              placement,\n              name,\n              props,\n              null,\n              !1\n            ) ||\n              restoreViewTransitionOnHostInstances(placement.child, !1));\n        }\n      placement = placement.sibling;\n    }\n}\nfunction commitEnterViewTransitions(placement, gesture) {\n  if (30 === placement.tag) {\n    var state = placement.stateNode,\n      props = placement.memoizedProps,\n      name = getViewTransitionName(props, state),\n      className = getViewTransitionClassName(\n        props.default,\n        state.paired ? props.share : props.enter\n      );\n    \"none\" !== className\n      ? applyViewTransitionToHostInstances(placement, name, className, null, !1)\n        ? (commitAppearingPairViewTransitions(placement),\n          state.paired ||\n            gesture ||\n            scheduleViewTransitionEvent(placement, props.onEnter))\n        : restoreViewTransitionOnHostInstances(placement.child, !1)\n      : commitAppearingPairViewTransitions(placement);\n  } else if (0 !== (placement.subtreeFlags & 33554432))\n    for (placement = placement.child; null !== placement; )\n      commitEnterViewTransitions(placement, gesture),\n        (placement = placement.sibling);\n  else commitAppearingPairViewTransitions(placement);\n}\nfunction commitDeletedPairViewTransitions(deletion) {\n  if (\n    null !== appearingViewTransitions &&\n    0 !== appearingViewTransitions.size\n  ) {\n    var pairs = appearingViewTransitions;\n    if (0 !== (deletion.subtreeFlags & 18874368))\n      for (deletion = deletion.child; null !== deletion; ) {\n        if (22 !== deletion.tag || null === deletion.memoizedState) {\n          if (30 === deletion.tag && 0 !== (deletion.flags & 18874368)) {\n            var props = deletion.memoizedProps,\n              name = props.name;\n            if (null != name && \"auto\" !== name) {\n              var pair = pairs.get(name);\n              if (void 0 !== pair) {\n                var className = getViewTransitionClassName(\n                  props.default,\n                  props.share\n                );\n                \"none\" !== className &&\n                  (applyViewTransitionToHostInstances(\n                    deletion,\n                    name,\n                    className,\n                    null,\n                    !1\n                  )\n                    ? ((className = deletion.stateNode),\n                      (pair.paired = className),\n                      (className.paired = pair),\n                      scheduleViewTransitionEvent(deletion, props.onShare))\n                    : restoreViewTransitionOnHostInstances(deletion.child, !1));\n                pairs.delete(name);\n                if (0 === pairs.size) break;\n              }\n            }\n          }\n          commitDeletedPairViewTransitions(deletion);\n        }\n        deletion = deletion.sibling;\n      }\n  }\n}\nfunction commitExitViewTransitions(deletion) {\n  if (30 === deletion.tag) {\n    var props = deletion.memoizedProps,\n      name = getViewTransitionName(props, deletion.stateNode),\n      pair =\n        null !== appearingViewTransitions\n          ? appearingViewTransitions.get(name)\n          : void 0,\n      className = getViewTransitionClassName(\n        props.default,\n        void 0 !== pair ? props.share : props.exit\n      );\n    \"none\" !== className &&\n      (applyViewTransitionToHostInstances(deletion, name, className, null, !1)\n        ? void 0 !== pair\n          ? ((className = deletion.stateNode),\n            (pair.paired = className),\n            (className.paired = pair),\n            appearingViewTransitions.delete(name),\n            scheduleViewTransitionEvent(deletion, props.onShare))\n          : scheduleViewTransitionEvent(deletion, props.onExit)\n        : restoreViewTransitionOnHostInstances(deletion.child, !1));\n    null !== appearingViewTransitions &&\n      commitDeletedPairViewTransitions(deletion);\n  } else if (0 !== (deletion.subtreeFlags & 33554432))\n    for (deletion = deletion.child; null !== deletion; )\n      commitExitViewTransitions(deletion), (deletion = deletion.sibling);\n  else\n    null !== appearingViewTransitions &&\n      commitDeletedPairViewTransitions(deletion);\n}\nfunction commitNestedViewTransitions(changedParent) {\n  for (changedParent = changedParent.child; null !== changedParent; ) {\n    if (30 === changedParent.tag) {\n      var props = changedParent.memoizedProps,\n        name = getViewTransitionName(props, changedParent.stateNode);\n      props = getViewTransitionClassName(props.default, props.update);\n      changedParent.flags &= -5;\n      \"none\" !== props &&\n        applyViewTransitionToHostInstances(\n          changedParent,\n          name,\n          props,\n          (changedParent.memoizedState = []),\n          !1\n        );\n    } else\n      0 !== (changedParent.subtreeFlags & 33554432) &&\n        commitNestedViewTransitions(changedParent);\n    changedParent = changedParent.sibling;\n  }\n}\nfunction restorePairedViewTransitions(parent) {\n  if (0 !== (parent.subtreeFlags & 18874368))\n    for (parent = parent.child; null !== parent; ) {\n      if (22 !== parent.tag || null === parent.memoizedState) {\n        if (30 === parent.tag && 0 !== (parent.flags & 18874368)) {\n          var instance = parent.stateNode;\n          null !== instance.paired &&\n            ((instance.paired = null),\n            restoreViewTransitionOnHostInstances(parent.child, !1));\n        }\n        restorePairedViewTransitions(parent);\n      }\n      parent = parent.sibling;\n    }\n}\nfunction restoreEnterOrExitViewTransitions(fiber) {\n  if (30 === fiber.tag)\n    (fiber.stateNode.paired = null),\n      restoreViewTransitionOnHostInstances(fiber.child, !1),\n      restorePairedViewTransitions(fiber);\n  else if (0 !== (fiber.subtreeFlags & 33554432))\n    for (fiber = fiber.child; null !== fiber; )\n      restoreEnterOrExitViewTransitions(fiber), (fiber = fiber.sibling);\n  else restorePairedViewTransitions(fiber);\n}\nfunction restoreNestedViewTransitions(changedParent) {\n  for (changedParent = changedParent.child; null !== changedParent; )\n    30 === changedParent.tag\n      ? restoreViewTransitionOnHostInstances(changedParent.child, !1)\n      : 0 !== (changedParent.subtreeFlags & 33554432) &&\n        restoreNestedViewTransitions(changedParent),\n      (changedParent = changedParent.sibling);\n}\nfunction measureViewTransitionHostInstancesRecursive(\n  parentViewTransition,\n  child,\n  newName,\n  oldName,\n  className,\n  previousMeasurements,\n  stopAtNestedViewTransitions\n) {\n  for (var inViewport = !1; null !== child; ) {\n    if (5 === child.tag) {\n      var instance = child.stateNode;\n      if (\n        null !== previousMeasurements &&\n        viewTransitionHostInstanceIdx < previousMeasurements.length\n      ) {\n        var previousMeasurement =\n            previousMeasurements[viewTransitionHostInstanceIdx],\n          nextMeasurement = measureInstance(instance);\n        if (previousMeasurement.view || nextMeasurement.view) inViewport = !0;\n        var JSCompiler_temp;\n        if ((JSCompiler_temp = 0 === (parentViewTransition.flags & 4)))\n          if (nextMeasurement.clip) JSCompiler_temp = !0;\n          else {\n            JSCompiler_temp = previousMeasurement.rect;\n            var newRect = nextMeasurement.rect;\n            JSCompiler_temp =\n              JSCompiler_temp.y !== newRect.y ||\n              JSCompiler_temp.x !== newRect.x ||\n              JSCompiler_temp.height !== newRect.height ||\n              JSCompiler_temp.width !== newRect.width;\n          }\n        JSCompiler_temp && (parentViewTransition.flags |= 4);\n        nextMeasurement.abs\n          ? (nextMeasurement = !previousMeasurement.abs)\n          : ((previousMeasurement = previousMeasurement.rect),\n            (nextMeasurement = nextMeasurement.rect),\n            (nextMeasurement =\n              previousMeasurement.height !== nextMeasurement.height ||\n              previousMeasurement.width !== nextMeasurement.width));\n        nextMeasurement && (parentViewTransition.flags |= 32);\n      } else parentViewTransition.flags |= 32;\n      0 !== (parentViewTransition.flags & 4) &&\n        applyViewTransitionName(\n          instance,\n          0 === viewTransitionHostInstanceIdx\n            ? newName\n            : newName + \"_\" + viewTransitionHostInstanceIdx,\n          className\n        );\n      (inViewport && 0 !== (parentViewTransition.flags & 4)) ||\n        (null === viewTransitionCancelableChildren &&\n          (viewTransitionCancelableChildren = []),\n        viewTransitionCancelableChildren.push(\n          instance,\n          0 === viewTransitionHostInstanceIdx\n            ? oldName\n            : oldName + \"_\" + viewTransitionHostInstanceIdx,\n          child.memoizedProps\n        ));\n      viewTransitionHostInstanceIdx++;\n    } else if (22 !== child.tag || null === child.memoizedState)\n      30 === child.tag && stopAtNestedViewTransitions\n        ? (parentViewTransition.flags |= child.flags & 32)\n        : measureViewTransitionHostInstancesRecursive(\n            parentViewTransition,\n            child.child,\n            newName,\n            oldName,\n            className,\n            previousMeasurements,\n            stopAtNestedViewTransitions\n          ) && (inViewport = !0);\n    child = child.sibling;\n  }\n  return inViewport;\n}\nfunction measureNestedViewTransitions(changedParent, gesture) {\n  for (changedParent = changedParent.child; null !== changedParent; ) {\n    if (30 === changedParent.tag) {\n      var props = changedParent.memoizedProps,\n        state = changedParent.stateNode,\n        name = getViewTransitionName(props, state),\n        className = getViewTransitionClassName(props.default, props.update);\n      if (gesture) {\n        state = state.clones;\n        var previousMeasurements =\n          null === state ? null : state.map(measureClonedInstance);\n      } else\n        (previousMeasurements = changedParent.memoizedState),\n          (changedParent.memoizedState = null);\n      state = changedParent;\n      var child = changedParent.child;\n      viewTransitionHostInstanceIdx = 0;\n      name = measureViewTransitionHostInstancesRecursive(\n        state,\n        child,\n        name,\n        name,\n        className,\n        previousMeasurements,\n        !1\n      );\n      0 !== (changedParent.flags & 4) &&\n        name &&\n        (gesture || scheduleViewTransitionEvent(changedParent, props.onUpdate));\n    } else\n      0 !== (changedParent.subtreeFlags & 33554432) &&\n        measureNestedViewTransitions(changedParent, gesture);\n    changedParent = changedParent.sibling;\n  }\n}\nvar offscreenSubtreeIsHidden = !1,\n  offscreenSubtreeWasHidden = !1,\n  offscreenDirectParentIsHidden = !1,\n  needsFormReset = !1,\n  PossiblyWeakSet = \"function\" === typeof WeakSet ? WeakSet : Set,\n  nextEffect = null,\n  viewTransitionContextChanged = !1,\n  inUpdateViewTransition = !1,\n  rootViewTransitionAffected = !1,\n  rootViewTransitionNameCanceled = !1;\nfunction commitBeforeMutationEffects(root, firstChild, committedLanes) {\n  root = root.containerInfo;\n  eventsEnabled = _enabled;\n  root = getActiveElementDeep(root);\n  if (hasSelectionCapabilities(root)) {\n    if (\"selectionStart\" in root)\n      var JSCompiler_temp = {\n        start: root.selectionStart,\n        end: root.selectionEnd\n      };\n    else\n      a: {\n        JSCompiler_temp =\n          ((JSCompiler_temp = root.ownerDocument) &&\n            JSCompiler_temp.defaultView) ||\n          window;\n        var selection =\n          JSCompiler_temp.getSelection && JSCompiler_temp.getSelection();\n        if (selection && 0 !== selection.rangeCount) {\n          JSCompiler_temp = selection.anchorNode;\n          var anchorOffset = selection.anchorOffset,\n            focusNode = selection.focusNode;\n          selection = selection.focusOffset;\n          try {\n            JSCompiler_temp.nodeType, focusNode.nodeType;\n          } catch (e$21) {\n            JSCompiler_temp = null;\n            break a;\n          }\n          var length = 0,\n            start = -1,\n            end = -1,\n            indexWithinAnchor = 0,\n            indexWithinFocus = 0,\n            node = root,\n            parentNode = null;\n          b: for (;;) {\n            for (var next; ; ) {\n              node !== JSCompiler_temp ||\n                (0 !== anchorOffset && 3 !== node.nodeType) ||\n                (start = length + anchorOffset);\n              node !== focusNode ||\n                (0 !== selection && 3 !== node.nodeType) ||\n                (end = length + selection);\n              3 === node.nodeType && (length += node.nodeValue.length);\n              if (null === (next = node.firstChild)) break;\n              parentNode = node;\n              node = next;\n            }\n            for (;;) {\n              if (node === root) break b;\n              parentNode === JSCompiler_temp &&\n                ++indexWithinAnchor === anchorOffset &&\n                (start = length);\n              parentNode === focusNode &&\n                ++indexWithinFocus === selection &&\n                (end = length);\n              if (null !== (next = node.nextSibling)) break;\n              node = parentNode;\n              parentNode = node.parentNode;\n            }\n            node = next;\n          }\n          JSCompiler_temp =\n            -1 === start || -1 === end ? null : { start: start, end: end };\n        } else JSCompiler_temp = null;\n      }\n    JSCompiler_temp = JSCompiler_temp || { start: 0, end: 0 };\n  } else JSCompiler_temp = null;\n  selectionInformation = { focusedElem: root, selectionRange: JSCompiler_temp };\n  _enabled = !1;\n  committedLanes = (committedLanes & 335544064) === committedLanes;\n  nextEffect = firstChild;\n  for (firstChild = committedLanes ? 9270 : 1024; null !== nextEffect; ) {\n    root = nextEffect;\n    if (\n      committedLanes &&\n      ((JSCompiler_temp = root.deletions), null !== JSCompiler_temp)\n    )\n      for (\n        anchorOffset = 0;\n        anchorOffset < JSCompiler_temp.length;\n        anchorOffset++\n      )\n        committedLanes &&\n          commitExitViewTransitions(JSCompiler_temp[anchorOffset]);\n    if (null === root.alternate && 0 !== (root.flags & 2))\n      committedLanes && trackEnterViewTransitions(root),\n        commitBeforeMutationEffects_complete(committedLanes);\n    else {\n      if (22 === root.tag)\n        if (((JSCompiler_temp = root.alternate), null !== root.memoizedState)) {\n          null !== JSCompiler_temp &&\n            null === JSCompiler_temp.memoizedState &&\n            committedLanes &&\n            commitExitViewTransitions(JSCompiler_temp);\n          commitBeforeMutationEffects_complete(committedLanes);\n          continue;\n        } else if (\n          null !== JSCompiler_temp &&\n          null !== JSCompiler_temp.memoizedState\n        ) {\n          committedLanes && trackEnterViewTransitions(root);\n          commitBeforeMutationEffects_complete(committedLanes);\n          continue;\n        }\n      JSCompiler_temp = root.child;\n      0 !== (root.subtreeFlags & firstChild) && null !== JSCompiler_temp\n        ? ((JSCompiler_temp.return = root), (nextEffect = JSCompiler_temp))\n        : (committedLanes && commitNestedViewTransitions(root),\n          commitBeforeMutationEffects_complete(committedLanes));\n    }\n  }\n  appearingViewTransitions = null;\n}\nfunction commitBeforeMutationEffects_complete(\n  isViewTransitionEligible$jscomp$0\n) {\n  for (; null !== nextEffect; ) {\n    var fiber = nextEffect,\n      isViewTransitionEligible = isViewTransitionEligible$jscomp$0,\n      current = fiber.alternate,\n      flags = fiber.flags;\n    switch (fiber.tag) {\n      case 0:\n      case 11:\n      case 15:\n        break;\n      case 1:\n        if (0 !== (flags & 1024) && null !== current) {\n          isViewTransitionEligible = void 0;\n          flags = current.memoizedProps;\n          current = current.memoizedState;\n          var instance = fiber.stateNode;\n          try {\n            var resolvedPrevProps = resolveClassComponentProps(\n              fiber.type,\n              flags\n            );\n            isViewTransitionEligible = instance.getSnapshotBeforeUpdate(\n              resolvedPrevProps,\n              current\n            );\n            instance.__reactInternalSnapshotBeforeUpdate =\n              isViewTransitionEligible;\n          } catch (error) {\n            captureCommitPhaseError(fiber, fiber.return, error);\n          }\n        }\n        break;\n      case 3:\n        if (0 !== (flags & 1024))\n          if (\n            ((current = fiber.stateNode.containerInfo),\n            (isViewTransitionEligible = current.nodeType),\n            9 === isViewTransitionEligible)\n          )\n            clearContainerSparingly(current);\n          else if (1 === isViewTransitionEligible)\n            switch (current.nodeName) {\n              case \"HEAD\":\n              case \"HTML\":\n              case \"BODY\":\n                clearContainerSparingly(current);\n                break;\n              default:\n                current.textContent = \"\";\n            }\n        break;\n      case 5:\n      case 26:\n      case 27:\n      case 6:\n      case 4:\n      case 17:\n        break;\n      case 30:\n        isViewTransitionEligible &&\n          null !== current &&\n          ((isViewTransitionEligible = getViewTransitionName(\n            current.memoizedProps,\n            current.stateNode\n          )),\n          (flags = fiber.memoizedProps),\n          (flags = getViewTransitionClassName(flags.default, flags.update)),\n          \"none\" !== flags &&\n            applyViewTransitionToHostInstances(\n              current,\n              isViewTransitionEligible,\n              flags,\n              (current.memoizedState = []),\n              !0\n            ));\n        break;\n      default:\n        if (0 !== (flags & 1024)) throw Error(formatProdErrorMessage(163));\n    }\n    current = fiber.sibling;\n    if (null !== current) {\n      current.return = fiber.return;\n      nextEffect = current;\n      break;\n    }\n    nextEffect = fiber.return;\n  }\n}\nfunction commitLayoutEffectOnFiber(finishedRoot, current, finishedWork) {\n  var flags = finishedWork.flags;\n  switch (finishedWork.tag) {\n    case 0:\n    case 11:\n    case 15:\n      recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n      flags & 4 && commitHookEffectListMount(5, finishedWork);\n      break;\n    case 1:\n      recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n      if (flags & 4)\n        if (((finishedRoot = finishedWork.stateNode), null === current))\n          try {\n            finishedRoot.componentDidMount();\n          } catch (error) {\n            captureCommitPhaseError(finishedWork, finishedWork.return, error);\n          }\n        else {\n          var prevProps = resolveClassComponentProps(\n            finishedWork.type,\n            current.memoizedProps\n          );\n          current = current.memoizedState;\n          try {\n            finishedRoot.componentDidUpdate(\n              prevProps,\n              current,\n              finishedRoot.__reactInternalSnapshotBeforeUpdate\n            );\n          } catch (error$146) {\n            captureCommitPhaseError(\n              finishedWork,\n              finishedWork.return,\n              error$146\n            );\n          }\n        }\n      flags & 64 && commitClassCallbacks(finishedWork);\n      flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n      break;\n    case 3:\n      recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n      if (\n        flags & 64 &&\n        ((finishedRoot = finishedWork.updateQueue), null !== finishedRoot)\n      ) {\n        current = null;\n        if (null !== finishedWork.child)\n          switch (finishedWork.child.tag) {\n            case 27:\n            case 5:\n              current = finishedWork.child.stateNode;\n              break;\n            case 1:\n              current = finishedWork.child.stateNode;\n          }\n        try {\n          commitCallbacks(finishedRoot, current);\n        } catch (error) {\n          captureCommitPhaseError(finishedWork, finishedWork.return, error);\n        }\n      }\n      break;\n    case 27:\n      null === current &&\n        flags & 4 &&\n        commitHostSingletonAcquisition(finishedWork);\n    case 26:\n    case 5:\n      recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n      null === current && flags & 4 && commitHostMount(finishedWork);\n      flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n      break;\n    case 12:\n      recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n      break;\n    case 31:\n      recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n      flags & 4 && commitActivityHydrationCallbacks(finishedRoot, finishedWork);\n      break;\n    case 13:\n      recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n      flags & 4 && commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);\n      flags & 64 &&\n        ((finishedRoot = finishedWork.memoizedState),\n        null !== finishedRoot &&\n          ((finishedRoot = finishedRoot.dehydrated),\n          null !== finishedRoot &&\n            ((finishedWork = retryDehydratedSuspenseBoundary.bind(\n              null,\n              finishedWork\n            )),\n            registerSuspenseInstanceRetry(finishedRoot, finishedWork))));\n      break;\n    case 22:\n      flags = null !== finishedWork.memoizedState || offscreenSubtreeIsHidden;\n      if (!flags) {\n        var newOffscreenSubtreeWasHidden =\n          (null !== current && null !== current.memoizedState) ||\n          offscreenSubtreeWasHidden;\n        current = offscreenSubtreeIsHidden;\n        prevProps = offscreenSubtreeWasHidden;\n        offscreenSubtreeIsHidden = flags;\n        (offscreenSubtreeWasHidden = newOffscreenSubtreeWasHidden) && !prevProps\n          ? ((flags = 2),\n            0 !== (finishedWork.subtreeFlags & 8772) && (flags |= 1),\n            recursivelyTraverseReappearLayoutEffects(\n              finishedRoot,\n              finishedWork,\n              flags\n            ))\n          : recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n        offscreenSubtreeIsHidden = current;\n        offscreenSubtreeWasHidden = prevProps;\n      }\n      break;\n    case 30:\n      recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n      flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n      break;\n    case 7:\n      flags & 512 && safelyAttachRef(finishedWork, finishedWork.return);\n    default:\n      recursivelyTraverseLayoutEffects(finishedRoot, finishedWork);\n  }\n}\nfunction hideOrUnhideAllChildren(parentFiber, isHidden) {\n  for (parentFiber = parentFiber.child; null !== parentFiber; )\n    hideOrUnhideAllChildrenOnFiber(parentFiber, isHidden),\n      (parentFiber = parentFiber.sibling);\n}\nfunction hideOrUnhideAllChildrenOnFiber(fiber, isHidden) {\n  switch (fiber.tag) {\n    case 5:\n    case 26:\n      try {\n        var instance = fiber.stateNode;\n        if (isHidden) {\n          var style = instance.style;\n          \"function\" === typeof style.setProperty\n            ? style.setProperty(\"display\", \"none\", \"important\")\n            : (style.display = \"none\");\n        } else {\n          var instance$jscomp$0 = fiber.stateNode,\n            styleProp = fiber.memoizedProps.style,\n            display =\n              void 0 !== styleProp &&\n              null !== styleProp &&\n              styleProp.hasOwnProperty(\"display\")\n                ? styleProp.display\n                : null;\n          instance$jscomp$0.style.display =\n            null == display || \"boolean\" === typeof display\n              ? \"\"\n              : (\"\" + display).trim();\n        }\n      } catch (error) {\n        captureCommitPhaseError(fiber, fiber.return, error);\n      }\n      hideOrUnhideNearestPortals(fiber, isHidden);\n      break;\n    case 6:\n      try {\n        (fiber.stateNode.nodeValue = isHidden ? \"\" : fiber.memoizedProps),\n          (viewTransitionMutationContext = !0);\n      } catch (error) {\n        captureCommitPhaseError(fiber, fiber.return, error);\n      }\n      break;\n    case 18:\n      try {\n        var instance$jscomp$1 = fiber.stateNode;\n        isHidden\n          ? hideOrUnhideDehydratedBoundary(instance$jscomp$1, !0)\n          : hideOrUnhideDehydratedBoundary(fiber.stateNode, !1);\n      } catch (error) {\n        captureCommitPhaseError(fiber, fiber.return, error);\n      }\n      break;\n    case 22:\n    case 23:\n      null === fiber.memoizedState && hideOrUnhideAllChildren(fiber, isHidden);\n      break;\n    default:\n      hideOrUnhideAllChildren(fiber, isHidden);\n  }\n}\nfunction hideOrUnhideNearestPortals(parentFiber, isHidden$jscomp$0) {\n  if (parentFiber.subtreeFlags & 67108864)\n    for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n      a: {\n        var fiber = parentFiber,\n          isHidden = isHidden$jscomp$0;\n        switch (fiber.tag) {\n          case 4:\n            hideOrUnhideAllChildrenOnFiber(fiber, isHidden);\n            break a;\n          case 22:\n            null === fiber.memoizedState &&\n              hideOrUnhideNearestPortals(fiber, isHidden);\n            break a;\n          default:\n            hideOrUnhideNearestPortals(fiber, isHidden);\n        }\n      }\n      parentFiber = parentFiber.sibling;\n    }\n}\nfunction detachFiberAfterEffects(fiber) {\n  var alternate = fiber.alternate;\n  null !== alternate &&\n    ((fiber.alternate = null), detachFiberAfterEffects(alternate));\n  fiber.child = null;\n  fiber.deletions = null;\n  fiber.sibling = null;\n  5 === fiber.tag &&\n    ((alternate = fiber.stateNode),\n    null !== alternate && detachDeletedInstance(alternate));\n  fiber.stateNode = null;\n  fiber.return = null;\n  fiber.dependencies = null;\n  fiber.memoizedProps = null;\n  fiber.memoizedState = null;\n  fiber.pendingProps = null;\n  fiber.stateNode = null;\n  fiber.updateQueue = null;\n}\nvar hostParent = null,\n  hostParentIsContainer = !1;\nfunction recursivelyTraverseDeletionEffects(\n  finishedRoot,\n  nearestMountedAncestor,\n  parent\n) {\n  for (parent = parent.child; null !== parent; )\n    commitDeletionEffectsOnFiber(finishedRoot, nearestMountedAncestor, parent),\n      (parent = parent.sibling);\n}\nfunction commitDeletionEffectsOnFiber(\n  finishedRoot,\n  nearestMountedAncestor,\n  deletedFiber\n) {\n  if (injectedHook && \"function\" === typeof injectedHook.onCommitFiberUnmount)\n    try {\n      injectedHook.onCommitFiberUnmount(rendererID, deletedFiber);\n    } catch (err) {}\n  switch (deletedFiber.tag) {\n    case 26:\n      offscreenSubtreeWasHidden ||\n        safelyDetachRef(deletedFiber, nearestMountedAncestor);\n      recursivelyTraverseDeletionEffects(\n        finishedRoot,\n        nearestMountedAncestor,\n        deletedFiber\n      );\n      deletedFiber.memoizedState\n        ? deletedFiber.memoizedState.count--\n        : deletedFiber.stateNode &&\n          ((deletedFiber = deletedFiber.stateNode),\n          deletedFiber.parentNode.removeChild(deletedFiber));\n      break;\n    case 27:\n      offscreenSubtreeWasHidden ||\n        safelyDetachRef(deletedFiber, nearestMountedAncestor);\n      var prevHostParent = hostParent,\n        prevHostParentIsContainer = hostParentIsContainer;\n      isSingletonScope(deletedFiber.type) &&\n        ((hostParent = deletedFiber.stateNode), (hostParentIsContainer = !1));\n      recursivelyTraverseDeletionEffects(\n        finishedRoot,\n        nearestMountedAncestor,\n        deletedFiber\n      );\n      releaseSingletonInstance(\n        deletedFiber.stateNode,\n        deletedFiber.type,\n        deletedFiber.memoizedProps\n      );\n      hostParent = prevHostParent;\n      hostParentIsContainer = prevHostParentIsContainer;\n      break;\n    case 5:\n      offscreenSubtreeWasHidden ||\n        safelyDetachRef(deletedFiber, nearestMountedAncestor),\n        (5 !== deletedFiber.tag && 6 !== deletedFiber.tag) ||\n          commitFragmentInstanceDeletionEffects(deletedFiber);\n    case 6:\n      prevHostParent = hostParent;\n      prevHostParentIsContainer = hostParentIsContainer;\n      hostParent = null;\n      recursivelyTraverseDeletionEffects(\n        finishedRoot,\n        nearestMountedAncestor,\n        deletedFiber\n      );\n      hostParent = prevHostParent;\n      hostParentIsContainer = prevHostParentIsContainer;\n      if (null !== hostParent)\n        if (hostParentIsContainer)\n          try {\n            (9 === hostParent.nodeType\n              ? hostParent.body\n              : \"HTML\" === hostParent.nodeName\n                ? hostParent.ownerDocument.body\n                : hostParent\n            ).removeChild(deletedFiber.stateNode),\n              (viewTransitionMutationContext = !0);\n          } catch (error) {\n            captureCommitPhaseError(\n              deletedFiber,\n              nearestMountedAncestor,\n              error\n            );\n          }\n        else\n          try {\n            hostParent.removeChild(deletedFiber.stateNode),\n              (viewTransitionMutationContext = !0);\n          } catch (error) {\n            captureCommitPhaseError(\n              deletedFiber,\n              nearestMountedAncestor,\n              error\n            );\n          }\n      break;\n    case 18:\n      null !== hostParent &&\n        (hostParentIsContainer\n          ? ((finishedRoot = hostParent),\n            clearHydrationBoundary(\n              9 === finishedRoot.nodeType\n                ? finishedRoot.body\n                : \"HTML\" === finishedRoot.nodeName\n                  ? finishedRoot.ownerDocument.body\n                  : finishedRoot,\n              deletedFiber.stateNode\n            ),\n            retryIfBlockedOn(finishedRoot))\n          : clearHydrationBoundary(hostParent, deletedFiber.stateNode));\n      break;\n    case 4:\n      prevHostParent = hostParent;\n      prevHostParentIsContainer = hostParentIsContainer;\n      hostParent = deletedFiber.stateNode.containerInfo;\n      hostParentIsContainer = !0;\n      recursivelyTraverseDeletionEffects(\n        finishedRoot,\n        nearestMountedAncestor,\n        deletedFiber\n      );\n      hostParent = prevHostParent;\n      hostParentIsContainer = prevHostParentIsContainer;\n      break;\n    case 0:\n    case 11:\n    case 14:\n    case 15:\n      commitHookEffectListUnmount(2, deletedFiber, nearestMountedAncestor);\n      offscreenSubtreeWasHidden ||\n        commitHookEffectListUnmount(4, deletedFiber, nearestMountedAncestor);\n      recursivelyTraverseDeletionEffects(\n        finishedRoot,\n        nearestMountedAncestor,\n        deletedFiber\n      );\n      break;\n    case 1:\n      offscreenSubtreeWasHidden ||\n        (safelyDetachRef(deletedFiber, nearestMountedAncestor),\n        (prevHostParent = deletedFiber.stateNode),\n        \"function\" === typeof prevHostParent.componentWillUnmount &&\n          safelyCallComponentWillUnmount(\n            deletedFiber,\n            nearestMountedAncestor,\n            prevHostParent\n          ));\n      recursivelyTraverseDeletionEffects(\n        finishedRoot,\n        nearestMountedAncestor,\n        deletedFiber\n      );\n      break;\n    case 21:\n      recursivelyTraverseDeletionEffects(\n        finishedRoot,\n        nearestMountedAncestor,\n        deletedFiber\n      );\n      break;\n    case 22:\n      offscreenSubtreeWasHidden =\n        (prevHostParent = offscreenSubtreeWasHidden) ||\n        null !== deletedFiber.memoizedState;\n      recursivelyTraverseDeletionEffects(\n        finishedRoot,\n        nearestMountedAncestor,\n        deletedFiber\n      );\n      offscreenSubtreeWasHidden = prevHostParent;\n      break;\n    case 30:\n      safelyDetachRef(deletedFiber, nearestMountedAncestor);\n      recursivelyTraverseDeletionEffects(\n        finishedRoot,\n        nearestMountedAncestor,\n        deletedFiber\n      );\n      break;\n    case 7:\n      offscreenSubtreeWasHidden ||\n        safelyDetachRef(deletedFiber, nearestMountedAncestor);\n      recursivelyTraverseDeletionEffects(\n        finishedRoot,\n        nearestMountedAncestor,\n        deletedFiber\n      );\n      break;\n    default:\n      recursivelyTraverseDeletionEffects(\n        finishedRoot,\n        nearestMountedAncestor,\n        deletedFiber\n      );\n  }\n}\nfunction commitActivityHydrationCallbacks(finishedRoot, finishedWork) {\n  if (\n    null === finishedWork.memoizedState &&\n    ((finishedRoot = finishedWork.alternate),\n    null !== finishedRoot &&\n      ((finishedRoot = finishedRoot.memoizedState), null !== finishedRoot))\n  ) {\n    finishedRoot = finishedRoot.dehydrated;\n    try {\n      retryIfBlockedOn(finishedRoot);\n    } catch (error) {\n      captureCommitPhaseError(finishedWork, finishedWork.return, error);\n    }\n  }\n}\nfunction commitSuspenseHydrationCallbacks(finishedRoot, finishedWork) {\n  if (\n    null === finishedWork.memoizedState &&\n    ((finishedRoot = finishedWork.alternate),\n    null !== finishedRoot &&\n      ((finishedRoot = finishedRoot.memoizedState),\n      null !== finishedRoot &&\n        ((finishedRoot = finishedRoot.dehydrated), null !== finishedRoot)))\n  )\n    try {\n      retryIfBlockedOn(finishedRoot);\n    } catch (error) {\n      captureCommitPhaseError(finishedWork, finishedWork.return, error);\n    }\n}\nfunction getRetryCache(finishedWork) {\n  switch (finishedWork.tag) {\n    case 31:\n    case 13:\n    case 19:\n      var retryCache = finishedWork.stateNode;\n      null === retryCache &&\n        (retryCache = finishedWork.stateNode = new PossiblyWeakSet());\n      return retryCache;\n    case 22:\n      return (\n        (finishedWork = finishedWork.stateNode),\n        (retryCache = finishedWork._retryCache),\n        null === retryCache &&\n          (retryCache = finishedWork._retryCache = new PossiblyWeakSet()),\n        retryCache\n      );\n    default:\n      throw Error(formatProdErrorMessage(435, finishedWork.tag));\n  }\n}\nfunction attachSuspenseRetryListeners(finishedWork, wakeables) {\n  var retryCache = getRetryCache(finishedWork);\n  wakeables.forEach(function (wakeable) {\n    if (!retryCache.has(wakeable)) {\n      retryCache.add(wakeable);\n      var retry = resolveRetryWakeable.bind(null, finishedWork, wakeable);\n      wakeable.then(retry, retry);\n    }\n  });\n}\nfunction recursivelyTraverseMutationEffects(root$jscomp$0, parentFiber, lanes) {\n  var deletions = parentFiber.deletions;\n  if (null !== deletions)\n    for (var i = 0; i < deletions.length; i++) {\n      var childToDelete = deletions[i],\n        root = root$jscomp$0,\n        returnFiber = parentFiber,\n        parent = returnFiber;\n      a: for (; null !== parent; ) {\n        switch (parent.tag) {\n          case 27:\n            if (isSingletonScope(parent.type)) {\n              hostParent = parent.stateNode;\n              hostParentIsContainer = !1;\n              break a;\n            }\n            break;\n          case 5:\n            hostParent = parent.stateNode;\n            hostParentIsContainer = !1;\n            break a;\n          case 3:\n          case 4:\n            hostParent = parent.stateNode.containerInfo;\n            hostParentIsContainer = !0;\n            break a;\n        }\n        parent = parent.return;\n      }\n      if (null === hostParent) throw Error(formatProdErrorMessage(160));\n      commitDeletionEffectsOnFiber(root, returnFiber, childToDelete);\n      hostParent = null;\n      hostParentIsContainer = !1;\n      root = childToDelete.alternate;\n      null !== root && (root.return = null);\n      childToDelete.return = null;\n    }\n  if (parentFiber.subtreeFlags & 13886)\n    for (parentFiber = parentFiber.child; null !== parentFiber; )\n      commitMutationEffectsOnFiber(parentFiber, root$jscomp$0, lanes),\n        (parentFiber = parentFiber.sibling);\n}\nvar currentHoistableRoot = null;\nfunction commitMutationEffectsOnFiber(finishedWork, root, lanes) {\n  var current = finishedWork.alternate,\n    flags = finishedWork.flags;\n  switch (finishedWork.tag) {\n    case 0:\n    case 11:\n    case 14:\n    case 15:\n      if (\n        flags & 4 &&\n        ((current = finishedWork.updateQueue),\n        (current = null !== current ? current.events : null),\n        null !== current)\n      )\n        for (var ii = 0; ii < current.length; ii++) {\n          var _eventPayloads$ii2 = current[ii];\n          _eventPayloads$ii2.ref.impl = _eventPayloads$ii2.nextImpl;\n        }\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      commitReconciliationEffects(finishedWork);\n      flags & 4 &&\n        (commitHookEffectListUnmount(3, finishedWork, finishedWork.return),\n        commitHookEffectListMount(3, finishedWork),\n        commitHookEffectListUnmount(5, finishedWork, finishedWork.return));\n      break;\n    case 1:\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      commitReconciliationEffects(finishedWork);\n      flags & 512 &&\n        (offscreenSubtreeWasHidden ||\n          null === current ||\n          safelyDetachRef(current, current.return));\n      flags & 64 &&\n        offscreenSubtreeIsHidden &&\n        ((finishedWork = finishedWork.updateQueue),\n        null !== finishedWork &&\n          ((root = finishedWork.callbacks),\n          null !== root &&\n            ((lanes = finishedWork.shared.hiddenCallbacks),\n            (finishedWork.shared.hiddenCallbacks =\n              null === lanes ? root : lanes.concat(root)))));\n      break;\n    case 26:\n      ii = currentHoistableRoot;\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      commitReconciliationEffects(finishedWork);\n      flags & 512 &&\n        (offscreenSubtreeWasHidden ||\n          null === current ||\n          safelyDetachRef(current, current.return));\n      if (flags & 4)\n        if (\n          ((lanes = null !== current ? current.memoizedState : null),\n          (root = finishedWork.memoizedState),\n          null === current)\n        )\n          if (null === root)\n            if (null === finishedWork.stateNode) {\n              a: {\n                root = finishedWork.type;\n                lanes = finishedWork.memoizedProps;\n                current = ii.ownerDocument || ii;\n                b: switch (root) {\n                  case \"title\":\n                    flags = current.getElementsByTagName(\"title\")[0];\n                    if (\n                      !flags ||\n                      flags[internalHoistableMarker] ||\n                      flags[internalInstanceKey] ||\n                      \"http://www.w3.org/2000/svg\" === flags.namespaceURI ||\n                      flags.hasAttribute(\"itemprop\")\n                    )\n                      (flags = current.createElement(root)),\n                        current.head.insertBefore(\n                          flags,\n                          current.querySelector(\"head > title\")\n                        );\n                    setInitialProperties(flags, root, lanes);\n                    flags[internalInstanceKey] = finishedWork;\n                    markNodeAsHoistable(flags);\n                    root = flags;\n                    break a;\n                  case \"link\":\n                    if (\n                      (ii = getHydratableHoistableCache(\n                        \"link\",\n                        \"href\",\n                        current\n                      ).get(root + (lanes.href || \"\")))\n                    )\n                      for (\n                        _eventPayloads$ii2 = 0;\n                        _eventPayloads$ii2 < ii.length;\n                        _eventPayloads$ii2++\n                      )\n                        if (\n                          ((flags = ii[_eventPayloads$ii2]),\n                          flags.getAttribute(\"href\") ===\n                            (null == lanes.href || \"\" === lanes.href\n                              ? null\n                              : lanes.href) &&\n                            flags.getAttribute(\"rel\") ===\n                              (null == lanes.rel ? null : lanes.rel) &&\n                            flags.getAttribute(\"title\") ===\n                              (null == lanes.title ? null : lanes.title) &&\n                            flags.getAttribute(\"crossorigin\") ===\n                              (null == lanes.crossOrigin\n                                ? null\n                                : lanes.crossOrigin))\n                        ) {\n                          ii.splice(_eventPayloads$ii2, 1);\n                          break b;\n                        }\n                    flags = current.createElement(root);\n                    setInitialProperties(flags, root, lanes);\n                    current.head.appendChild(flags);\n                    break;\n                  case \"meta\":\n                    if (\n                      (ii = getHydratableHoistableCache(\n                        \"meta\",\n                        \"content\",\n                        current\n                      ).get(root + (lanes.content || \"\")))\n                    )\n                      for (\n                        _eventPayloads$ii2 = 0;\n                        _eventPayloads$ii2 < ii.length;\n                        _eventPayloads$ii2++\n                      )\n                        if (\n                          ((flags = ii[_eventPayloads$ii2]),\n                          flags.getAttribute(\"content\") ===\n                            (null == lanes.content\n                              ? null\n                              : \"\" + lanes.content) &&\n                            flags.getAttribute(\"name\") ===\n                              (null == lanes.name ? null : lanes.name) &&\n                            flags.getAttribute(\"property\") ===\n                              (null == lanes.property\n                                ? null\n                                : lanes.property) &&\n                            flags.getAttribute(\"http-equiv\") ===\n                              (null == lanes.httpEquiv\n                                ? null\n                                : lanes.httpEquiv) &&\n                            flags.getAttribute(\"charset\") ===\n                              (null == lanes.charSet ? null : lanes.charSet))\n                        ) {\n                          ii.splice(_eventPayloads$ii2, 1);\n                          break b;\n                        }\n                    flags = current.createElement(root);\n                    setInitialProperties(flags, root, lanes);\n                    current.head.appendChild(flags);\n                    break;\n                  default:\n                    throw Error(formatProdErrorMessage(468, root));\n                }\n                flags[internalInstanceKey] = finishedWork;\n                markNodeAsHoistable(flags);\n                root = flags;\n              }\n              finishedWork.stateNode = root;\n            } else\n              mountHoistable(ii, finishedWork.type, finishedWork.stateNode);\n          else\n            finishedWork.stateNode = acquireResource(\n              ii,\n              root,\n              finishedWork.memoizedProps\n            );\n        else\n          lanes !== root\n            ? (null === lanes\n                ? null !== current.stateNode &&\n                  ((lanes = current.stateNode),\n                  lanes.parentNode.removeChild(lanes))\n                : lanes.count--,\n              null === root\n                ? mountHoistable(ii, finishedWork.type, finishedWork.stateNode)\n                : acquireResource(ii, root, finishedWork.memoizedProps))\n            : null === root &&\n              null !== finishedWork.stateNode &&\n              commitHostUpdate(\n                finishedWork,\n                finishedWork.memoizedProps,\n                current.memoizedProps\n              );\n      break;\n    case 27:\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      commitReconciliationEffects(finishedWork);\n      flags & 512 &&\n        (offscreenSubtreeWasHidden ||\n          null === current ||\n          safelyDetachRef(current, current.return));\n      null !== current &&\n        flags & 4 &&\n        commitHostUpdate(\n          finishedWork,\n          finishedWork.memoizedProps,\n          current.memoizedProps\n        );\n      break;\n    case 5:\n      ii = offscreenDirectParentIsHidden;\n      offscreenDirectParentIsHidden = !1;\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      offscreenDirectParentIsHidden = ii;\n      commitReconciliationEffects(finishedWork);\n      flags & 512 &&\n        (offscreenSubtreeWasHidden ||\n          null === current ||\n          safelyDetachRef(current, current.return));\n      if (finishedWork.flags & 32) {\n        root = finishedWork.stateNode;\n        try {\n          setTextContent(root, \"\"), (viewTransitionMutationContext = !0);\n        } catch (error) {\n          captureCommitPhaseError(finishedWork, finishedWork.return, error);\n        }\n      }\n      flags & 4 &&\n        null != finishedWork.stateNode &&\n        ((root = finishedWork.memoizedProps),\n        commitHostUpdate(\n          finishedWork,\n          root,\n          null !== current ? current.memoizedProps : root\n        ));\n      flags & 1024 && (needsFormReset = !0);\n      break;\n    case 6:\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      commitReconciliationEffects(finishedWork);\n      if (flags & 4) {\n        if (null === finishedWork.stateNode)\n          throw Error(formatProdErrorMessage(162));\n        root = finishedWork.memoizedProps;\n        lanes = finishedWork.stateNode;\n        try {\n          (lanes.nodeValue = root), (viewTransitionMutationContext = !0);\n        } catch (error) {\n          captureCommitPhaseError(finishedWork, finishedWork.return, error);\n        }\n      }\n      break;\n    case 3:\n      viewTransitionMutationContext = !1;\n      tagCaches = null;\n      ii = currentHoistableRoot;\n      currentHoistableRoot = getHoistableRoot(root.containerInfo);\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      currentHoistableRoot = ii;\n      commitReconciliationEffects(finishedWork);\n      if (flags & 4 && null !== current && current.memoizedState.isDehydrated)\n        try {\n          retryIfBlockedOn(root.containerInfo);\n        } catch (error) {\n          captureCommitPhaseError(finishedWork, finishedWork.return, error);\n        }\n      needsFormReset &&\n        ((needsFormReset = !1), recursivelyResetForms(finishedWork));\n      viewTransitionMutationContext = !1;\n      break;\n    case 4:\n      current = offscreenDirectParentIsHidden;\n      offscreenDirectParentIsHidden = offscreenSubtreeIsHidden;\n      flags = pushMutationContext();\n      ii = currentHoistableRoot;\n      currentHoistableRoot = getHoistableRoot(\n        finishedWork.stateNode.containerInfo\n      );\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      commitReconciliationEffects(finishedWork);\n      currentHoistableRoot = ii;\n      viewTransitionMutationContext &&\n        inUpdateViewTransition &&\n        (rootViewTransitionAffected = !0);\n      viewTransitionMutationContext = flags;\n      offscreenDirectParentIsHidden = current;\n      break;\n    case 12:\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      commitReconciliationEffects(finishedWork);\n      break;\n    case 31:\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      commitReconciliationEffects(finishedWork);\n      flags & 4 &&\n        ((root = finishedWork.updateQueue),\n        null !== root &&\n          ((finishedWork.updateQueue = null),\n          attachSuspenseRetryListeners(finishedWork, root)));\n      break;\n    case 13:\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      commitReconciliationEffects(finishedWork);\n      finishedWork.child.flags & 8192 &&\n        (null !== finishedWork.memoizedState) !==\n          (null !== current && null !== current.memoizedState) &&\n        (globalMostRecentFallbackTime = now());\n      flags & 4 &&\n        ((root = finishedWork.updateQueue),\n        null !== root &&\n          ((finishedWork.updateQueue = null),\n          attachSuspenseRetryListeners(finishedWork, root)));\n      break;\n    case 22:\n      ii = null !== finishedWork.memoizedState;\n      _eventPayloads$ii2 = null !== current && null !== current.memoizedState;\n      var prevOffscreenSubtreeIsHidden = offscreenSubtreeIsHidden,\n        prevOffscreenSubtreeWasHidden = offscreenSubtreeWasHidden,\n        prevOffscreenDirectParentIsHidden$165 = offscreenDirectParentIsHidden;\n      offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden || ii;\n      offscreenDirectParentIsHidden =\n        prevOffscreenDirectParentIsHidden$165 || ii;\n      offscreenSubtreeWasHidden =\n        prevOffscreenSubtreeWasHidden || _eventPayloads$ii2;\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      offscreenSubtreeWasHidden = prevOffscreenSubtreeWasHidden;\n      offscreenDirectParentIsHidden = prevOffscreenDirectParentIsHidden$165;\n      offscreenSubtreeIsHidden = prevOffscreenSubtreeIsHidden;\n      commitReconciliationEffects(finishedWork);\n      flags & 8192 &&\n        ((root = finishedWork.stateNode),\n        (root._visibility = ii ? root._visibility & -2 : root._visibility | 1),\n        ii &&\n          (null === current ||\n            _eventPayloads$ii2 ||\n            offscreenSubtreeIsHidden ||\n            offscreenSubtreeWasHidden ||\n            recursivelyTraverseDisappearLayoutEffects(finishedWork, 2)),\n        (!ii && offscreenDirectParentIsHidden) ||\n          hideOrUnhideAllChildren(finishedWork, ii));\n      flags & 4 &&\n        ((root = finishedWork.updateQueue),\n        null !== root &&\n          ((lanes = root.retryQueue),\n          null !== lanes &&\n            ((root.retryQueue = null),\n            attachSuspenseRetryListeners(finishedWork, lanes))));\n      break;\n    case 19:\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      commitReconciliationEffects(finishedWork);\n      flags & 4 &&\n        ((root = finishedWork.updateQueue),\n        null !== root &&\n          ((finishedWork.updateQueue = null),\n          attachSuspenseRetryListeners(finishedWork, root)));\n      break;\n    case 30:\n      flags & 512 &&\n        (offscreenSubtreeWasHidden ||\n          null === current ||\n          safelyDetachRef(current, current.return));\n      flags = pushMutationContext();\n      ii = inUpdateViewTransition;\n      _eventPayloads$ii2 = (lanes & 335544064) === lanes;\n      prevOffscreenSubtreeIsHidden = finishedWork.memoizedProps;\n      inUpdateViewTransition =\n        _eventPayloads$ii2 &&\n        \"none\" !==\n          getViewTransitionClassName(\n            prevOffscreenSubtreeIsHidden.default,\n            prevOffscreenSubtreeIsHidden.update\n          );\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes);\n      commitReconciliationEffects(finishedWork);\n      _eventPayloads$ii2 &&\n        null !== current &&\n        viewTransitionMutationContext &&\n        (finishedWork.flags |= 4);\n      inUpdateViewTransition = ii;\n      viewTransitionMutationContext = flags;\n      break;\n    case 21:\n      break;\n    case 7:\n      current &&\n        null !== current.stateNode &&\n        (current.stateNode._fragmentFiber = finishedWork);\n    default:\n      recursivelyTraverseMutationEffects(root, finishedWork, lanes),\n        commitReconciliationEffects(finishedWork);\n  }\n}\nfunction commitReconciliationEffects(finishedWork) {\n  var flags = finishedWork.flags;\n  if (flags & 2) {\n    try {\n      for (\n        var hostParentFiber,\n          parentFragmentInstances = null,\n          parentFiber = finishedWork.return;\n        null !== parentFiber;\n\n      ) {\n        if (isFragmentInstanceParent(parentFiber)) {\n          var fragmentInstance = parentFiber.stateNode;\n          null === parentFragmentInstances\n            ? (parentFragmentInstances = [fragmentInstance])\n            : parentFragmentInstances.push(fragmentInstance);\n        }\n        if (isHostParent(parentFiber)) {\n          hostParentFiber = parentFiber;\n          break;\n        }\n        parentFiber = parentFiber.return;\n      }\n      if (null == hostParentFiber) throw Error(formatProdErrorMessage(160));\n      switch (hostParentFiber.tag) {\n        case 27:\n          var parent = hostParentFiber.stateNode,\n            before = getHostSibling(finishedWork);\n          insertOrAppendPlacementNode(\n            finishedWork,\n            before,\n            parent,\n            parentFragmentInstances\n          );\n          break;\n        case 5:\n          var parent$149 = hostParentFiber.stateNode;\n          hostParentFiber.flags & 32 &&\n            (setTextContent(parent$149, \"\"), (hostParentFiber.flags &= -33));\n          var before$150 = getHostSibling(finishedWork);\n          insertOrAppendPlacementNode(\n            finishedWork,\n            before$150,\n            parent$149,\n            parentFragmentInstances\n          );\n          break;\n        case 3:\n        case 4:\n          var parent$151 = hostParentFiber.stateNode.containerInfo,\n            before$152 = getHostSibling(finishedWork);\n          insertOrAppendPlacementNodeIntoContainer(\n            finishedWork,\n            before$152,\n            parent$151,\n            parentFragmentInstances\n          );\n          break;\n        default:\n          throw Error(formatProdErrorMessage(161));\n      }\n    } catch (error) {\n      captureCommitPhaseError(finishedWork, finishedWork.return, error);\n    }\n    finishedWork.flags &= -3;\n  }\n  flags & 4096 && (finishedWork.flags &= -4097);\n}\nfunction recursivelyResetForms(parentFiber) {\n  if (parentFiber.subtreeFlags & 1024)\n    for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n      var fiber = parentFiber;\n      recursivelyResetForms(fiber);\n      5 === fiber.tag &&\n        fiber.flags & 1024 &&\n        ((fiber = fiber.stateNode),\n        (_enabled = !0),\n        fiber.reset(),\n        (_enabled = !1));\n      parentFiber = parentFiber.sibling;\n    }\n}\nfunction recursivelyTraverseAfterMutationEffects(root, parentFiber) {\n  if (parentFiber.subtreeFlags & 9270)\n    for (parentFiber = parentFiber.child; null !== parentFiber; )\n      commitAfterMutationEffectsOnFiber(parentFiber, root),\n        (parentFiber = parentFiber.sibling);\n  else measureNestedViewTransitions(parentFiber, !1);\n}\nfunction commitAfterMutationEffectsOnFiber(finishedWork, root) {\n  var current = finishedWork.alternate;\n  if (null === current) commitEnterViewTransitions(finishedWork, !1);\n  else\n    switch (finishedWork.tag) {\n      case 3:\n        rootViewTransitionNameCanceled = viewTransitionContextChanged = !1;\n        pushViewTransitionCancelableScope();\n        recursivelyTraverseAfterMutationEffects(root, finishedWork);\n        if (!viewTransitionContextChanged && !rootViewTransitionAffected) {\n          finishedWork = viewTransitionCancelableChildren;\n          if (null !== finishedWork)\n            for (var i = 0; i < finishedWork.length; i += 3) {\n              current = finishedWork[i];\n              var oldName = finishedWork[i + 1];\n              restoreViewTransitionName(current, finishedWork[i + 2]);\n              current = current.ownerDocument.documentElement;\n              null !== current &&\n                current.animate(\n                  { opacity: [0, 0], pointerEvents: [\"none\", \"none\"] },\n                  {\n                    duration: 0,\n                    fill: \"forwards\",\n                    pseudoElement: \"::view-transition-group(\" + oldName + \")\"\n                  }\n                );\n            }\n          finishedWork = root.containerInfo;\n          finishedWork =\n            9 === finishedWork.nodeType\n              ? finishedWork.documentElement\n              : finishedWork.ownerDocument.documentElement;\n          null !== finishedWork &&\n            \"\" === finishedWork.style.viewTransitionName &&\n            ((finishedWork.style.viewTransitionName = \"none\"),\n            finishedWork.animate(\n              { opacity: [0, 0], pointerEvents: [\"none\", \"none\"] },\n              {\n                duration: 0,\n                fill: \"forwards\",\n                pseudoElement: \"::view-transition-group(root)\"\n              }\n            ),\n            finishedWork.animate(\n              { width: [0, 0], height: [0, 0] },\n              {\n                duration: 0,\n                fill: \"forwards\",\n                pseudoElement: \"::view-transition\"\n              }\n            ));\n          rootViewTransitionNameCanceled = !0;\n        }\n        viewTransitionCancelableChildren = null;\n        break;\n      case 5:\n        recursivelyTraverseAfterMutationEffects(root, finishedWork);\n        break;\n      case 4:\n        i = viewTransitionContextChanged;\n        viewTransitionContextChanged = !1;\n        recursivelyTraverseAfterMutationEffects(root, finishedWork);\n        viewTransitionContextChanged && (rootViewTransitionAffected = !0);\n        viewTransitionContextChanged = i;\n        break;\n      case 22:\n        null === finishedWork.memoizedState &&\n          (null !== current.memoizedState\n            ? commitEnterViewTransitions(finishedWork, !1)\n            : recursivelyTraverseAfterMutationEffects(root, finishedWork));\n        break;\n      case 30:\n        i = viewTransitionContextChanged;\n        oldName = pushViewTransitionCancelableScope();\n        viewTransitionContextChanged = !1;\n        recursivelyTraverseAfterMutationEffects(root, finishedWork);\n        viewTransitionContextChanged && (finishedWork.flags |= 4);\n        var props = finishedWork.memoizedProps,\n          state = finishedWork.stateNode;\n        root = getViewTransitionName(props, state);\n        state = getViewTransitionName(current.memoizedProps, state);\n        var className = getViewTransitionClassName(props.default, props.update);\n        \"none\" === className\n          ? (root = !1)\n          : ((props = current.memoizedState),\n            (current.memoizedState = null),\n            (current = finishedWork.child),\n            (viewTransitionHostInstanceIdx = 0),\n            (root = measureViewTransitionHostInstancesRecursive(\n              finishedWork,\n              current,\n              root,\n              state,\n              className,\n              props,\n              !0\n            )),\n            viewTransitionHostInstanceIdx !==\n              (null === props ? 0 : props.length) &&\n              (finishedWork.flags |= 32));\n        0 !== (finishedWork.flags & 4) && root\n          ? (scheduleViewTransitionEvent(\n              finishedWork,\n              finishedWork.memoizedProps.onUpdate\n            ),\n            (viewTransitionCancelableChildren = oldName))\n          : null !== oldName &&\n            (oldName.push.apply(oldName, viewTransitionCancelableChildren),\n            (viewTransitionCancelableChildren = oldName));\n        viewTransitionContextChanged = 0 !== (finishedWork.flags & 32) ? !0 : i;\n        break;\n      default:\n        recursivelyTraverseAfterMutationEffects(root, finishedWork);\n    }\n}\nfunction recursivelyTraverseLayoutEffects(root, parentFiber) {\n  if (parentFiber.subtreeFlags & 8772)\n    for (parentFiber = parentFiber.child; null !== parentFiber; )\n      commitLayoutEffectOnFiber(root, parentFiber.alternate, parentFiber),\n        (parentFiber = parentFiber.sibling);\n}\nfunction recursivelyTraverseDisappearLayoutEffects(\n  parentFiber,\n  layoutEffectTraversalFlags$jscomp$0\n) {\n  for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n    var finishedWork = parentFiber,\n      layoutEffectTraversalFlags = layoutEffectTraversalFlags$jscomp$0;\n    switch (finishedWork.tag) {\n      case 0:\n      case 11:\n      case 14:\n      case 15:\n        commitHookEffectListUnmount(4, finishedWork, finishedWork.return);\n        recursivelyTraverseDisappearLayoutEffects(\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n        break;\n      case 1:\n        safelyDetachRef(finishedWork, finishedWork.return);\n        var instance = finishedWork.stateNode;\n        \"function\" === typeof instance.componentWillUnmount &&\n          safelyCallComponentWillUnmount(\n            finishedWork,\n            finishedWork.return,\n            instance\n          );\n        recursivelyTraverseDisappearLayoutEffects(\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n        break;\n      case 27:\n        0 !== (layoutEffectTraversalFlags & 2) &&\n          releaseSingletonInstance(\n            finishedWork.stateNode,\n            finishedWork.type,\n            finishedWork.memoizedProps\n          );\n      case 26:\n      case 5:\n        safelyDetachRef(finishedWork, finishedWork.return);\n        (5 !== finishedWork.tag && 6 !== finishedWork.tag) ||\n          commitFragmentInstanceDeletionEffects(finishedWork);\n        recursivelyTraverseDisappearLayoutEffects(\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n        break;\n      case 22:\n        null === finishedWork.memoizedState &&\n          recursivelyTraverseDisappearLayoutEffects(\n            finishedWork,\n            layoutEffectTraversalFlags\n          );\n        break;\n      case 30:\n        safelyDetachRef(finishedWork, finishedWork.return);\n        recursivelyTraverseDisappearLayoutEffects(\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n        break;\n      case 7:\n        safelyDetachRef(finishedWork, finishedWork.return);\n      default:\n        recursivelyTraverseDisappearLayoutEffects(\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n    }\n    parentFiber = parentFiber.sibling;\n  }\n}\nfunction recursivelyTraverseReappearLayoutEffects(\n  finishedRoot$jscomp$0,\n  parentFiber,\n  layoutEffectTraversalFlags\n) {\n  layoutEffectTraversalFlags =\n    0 !== (parentFiber.subtreeFlags & 8772)\n      ? layoutEffectTraversalFlags\n      : layoutEffectTraversalFlags & -2;\n  for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n    var current = parentFiber.alternate,\n      finishedRoot = finishedRoot$jscomp$0,\n      finishedWork = parentFiber,\n      flags = finishedWork.flags,\n      includeWorkInProgressEffects = 0 !== (layoutEffectTraversalFlags & 1);\n    switch (finishedWork.tag) {\n      case 0:\n      case 11:\n      case 15:\n        recursivelyTraverseReappearLayoutEffects(\n          finishedRoot,\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n        commitHookEffectListMount(4, finishedWork);\n        break;\n      case 1:\n        recursivelyTraverseReappearLayoutEffects(\n          finishedRoot,\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n        current = finishedWork;\n        finishedRoot = current.stateNode;\n        if (\"function\" === typeof finishedRoot.componentDidMount)\n          try {\n            finishedRoot.componentDidMount();\n          } catch (error) {\n            captureCommitPhaseError(current, current.return, error);\n          }\n        current = finishedWork;\n        finishedRoot = current.updateQueue;\n        if (null !== finishedRoot) {\n          var instance = current.stateNode;\n          try {\n            var hiddenCallbacks = finishedRoot.shared.hiddenCallbacks;\n            if (null !== hiddenCallbacks)\n              for (\n                finishedRoot.shared.hiddenCallbacks = null, finishedRoot = 0;\n                finishedRoot < hiddenCallbacks.length;\n                finishedRoot++\n              )\n                callCallback(hiddenCallbacks[finishedRoot], instance);\n          } catch (error) {\n            captureCommitPhaseError(current, current.return, error);\n          }\n        }\n        includeWorkInProgressEffects &&\n          flags & 64 &&\n          commitClassCallbacks(finishedWork);\n        safelyAttachRef(finishedWork, finishedWork.return);\n        break;\n      case 27:\n        0 !== (layoutEffectTraversalFlags & 2) &&\n          commitHostSingletonAcquisition(finishedWork);\n      case 26:\n      case 5:\n        if (5 === finishedWork.tag) {\n          instance = finishedWork;\n          for (var parent = instance.return; null !== parent; ) {\n            isFragmentInstanceParent(parent) &&\n              commitNewChildToFragmentInstance(\n                instance.stateNode,\n                parent.stateNode\n              );\n            if (isHostParent(parent)) break;\n            parent = parent.return;\n          }\n        }\n        recursivelyTraverseReappearLayoutEffects(\n          finishedRoot,\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n        includeWorkInProgressEffects &&\n          null === current &&\n          flags & 4 &&\n          commitHostMount(finishedWork);\n        safelyAttachRef(finishedWork, finishedWork.return);\n        break;\n      case 12:\n        recursivelyTraverseReappearLayoutEffects(\n          finishedRoot,\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n        break;\n      case 31:\n        recursivelyTraverseReappearLayoutEffects(\n          finishedRoot,\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n        includeWorkInProgressEffects &&\n          flags & 4 &&\n          commitActivityHydrationCallbacks(finishedRoot, finishedWork);\n        break;\n      case 13:\n        recursivelyTraverseReappearLayoutEffects(\n          finishedRoot,\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n        includeWorkInProgressEffects &&\n          flags & 4 &&\n          commitSuspenseHydrationCallbacks(finishedRoot, finishedWork);\n        break;\n      case 22:\n        null === finishedWork.memoizedState &&\n          recursivelyTraverseReappearLayoutEffects(\n            finishedRoot,\n            finishedWork,\n            layoutEffectTraversalFlags\n          );\n        safelyAttachRef(finishedWork, finishedWork.return);\n        break;\n      case 30:\n        recursivelyTraverseReappearLayoutEffects(\n          finishedRoot,\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n        safelyAttachRef(finishedWork, finishedWork.return);\n        break;\n      case 7:\n        safelyAttachRef(finishedWork, finishedWork.return);\n      default:\n        recursivelyTraverseReappearLayoutEffects(\n          finishedRoot,\n          finishedWork,\n          layoutEffectTraversalFlags\n        );\n    }\n    parentFiber = parentFiber.sibling;\n  }\n}\nfunction commitOffscreenPassiveMountEffects(current, finishedWork) {\n  var previousCache = null;\n  null !== current &&\n    null !== current.memoizedState &&\n    null !== current.memoizedState.cachePool &&\n    (previousCache = current.memoizedState.cachePool.pool);\n  current = null;\n  null !== finishedWork.memoizedState &&\n    null !== finishedWork.memoizedState.cachePool &&\n    (current = finishedWork.memoizedState.cachePool.pool);\n  current !== previousCache &&\n    (null != current && current.refCount++,\n    null != previousCache && releaseCache(previousCache));\n}\nfunction commitCachePassiveMountEffect(current, finishedWork) {\n  current = null;\n  null !== finishedWork.alternate &&\n    (current = finishedWork.alternate.memoizedState.cache);\n  finishedWork = finishedWork.memoizedState.cache;\n  finishedWork !== current &&\n    (finishedWork.refCount++, null != current && releaseCache(current));\n}\nfunction recursivelyTraversePassiveMountEffects(\n  root,\n  parentFiber,\n  committedLanes,\n  committedTransitions\n) {\n  var isViewTransitionEligible =\n    (committedLanes & 335544064) === committedLanes;\n  if (parentFiber.subtreeFlags & (isViewTransitionEligible ? 10262 : 10256))\n    for (parentFiber = parentFiber.child; null !== parentFiber; )\n      commitPassiveMountOnFiber(\n        root,\n        parentFiber,\n        committedLanes,\n        committedTransitions\n      ),\n        (parentFiber = parentFiber.sibling);\n  else isViewTransitionEligible && restoreNestedViewTransitions(parentFiber);\n}\nfunction commitPassiveMountOnFiber(\n  finishedRoot,\n  finishedWork,\n  committedLanes,\n  committedTransitions\n) {\n  var isViewTransitionEligible =\n    (committedLanes & 335544064) === committedLanes;\n  isViewTransitionEligible &&\n    null === finishedWork.alternate &&\n    null !== finishedWork.return &&\n    null !== finishedWork.return.alternate &&\n    restoreEnterOrExitViewTransitions(finishedWork);\n  var flags = finishedWork.flags;\n  switch (finishedWork.tag) {\n    case 0:\n    case 11:\n    case 15:\n      recursivelyTraversePassiveMountEffects(\n        finishedRoot,\n        finishedWork,\n        committedLanes,\n        committedTransitions\n      );\n      flags & 2048 && commitHookEffectListMount(9, finishedWork);\n      break;\n    case 1:\n      recursivelyTraversePassiveMountEffects(\n        finishedRoot,\n        finishedWork,\n        committedLanes,\n        committedTransitions\n      );\n      break;\n    case 3:\n      recursivelyTraversePassiveMountEffects(\n        finishedRoot,\n        finishedWork,\n        committedLanes,\n        committedTransitions\n      );\n      isViewTransitionEligible &&\n        rootViewTransitionNameCanceled &&\n        ((finishedRoot = finishedRoot.containerInfo),\n        (finishedRoot =\n          9 === finishedRoot.nodeType\n            ? finishedRoot.body\n            : \"HTML\" === finishedRoot.nodeName\n              ? finishedRoot.ownerDocument.body\n              : finishedRoot),\n        \"root\" === finishedRoot.style.viewTransitionName &&\n          (finishedRoot.style.viewTransitionName = \"\"),\n        (finishedRoot = finishedRoot.ownerDocument.documentElement),\n        null !== finishedRoot &&\n          \"none\" === finishedRoot.style.viewTransitionName &&\n          (finishedRoot.style.viewTransitionName = \"\"));\n      flags & 2048 &&\n        ((flags = null),\n        null !== finishedWork.alternate &&\n          (flags = finishedWork.alternate.memoizedState.cache),\n        (finishedWork = finishedWork.memoizedState.cache),\n        finishedWork !== flags &&\n          (finishedWork.refCount++, null != flags && releaseCache(flags)));\n      break;\n    case 12:\n      if (flags & 2048) {\n        recursivelyTraversePassiveMountEffects(\n          finishedRoot,\n          finishedWork,\n          committedLanes,\n          committedTransitions\n        );\n        flags = finishedWork.stateNode;\n        try {\n          var _finishedWork$memoize2 = finishedWork.memoizedProps,\n            id = _finishedWork$memoize2.id,\n            onPostCommit = _finishedWork$memoize2.onPostCommit;\n          \"function\" === typeof onPostCommit &&\n            onPostCommit(\n              id,\n              null === finishedWork.alternate ? \"mount\" : \"update\",\n              flags.passiveEffectDuration,\n              -0\n            );\n        } catch (error) {\n          captureCommitPhaseError(finishedWork, finishedWork.return, error);\n        }\n      } else\n        recursivelyTraversePassiveMountEffects(\n          finishedRoot,\n          finishedWork,\n          committedLanes,\n          committedTransitions\n        );\n      break;\n    case 31:\n      recursivelyTraversePassiveMountEffects(\n        finishedRoot,\n        finishedWork,\n        committedLanes,\n        committedTransitions\n      );\n      break;\n    case 13:\n      recursivelyTraversePassiveMountEffects(\n        finishedRoot,\n        finishedWork,\n        committedLanes,\n        committedTransitions\n      );\n      break;\n    case 23:\n      break;\n    case 22:\n      _finishedWork$memoize2 = finishedWork.stateNode;\n      id = finishedWork.alternate;\n      null !== finishedWork.memoizedState\n        ? (isViewTransitionEligible &&\n            null !== id &&\n            null === id.memoizedState &&\n            restoreEnterOrExitViewTransitions(id),\n          _finishedWork$memoize2._visibility & 2\n            ? recursivelyTraversePassiveMountEffects(\n                finishedRoot,\n                finishedWork,\n                committedLanes,\n                committedTransitions\n              )\n            : recursivelyTraverseAtomicPassiveEffects(\n                finishedRoot,\n                finishedWork\n              ))\n        : (isViewTransitionEligible &&\n            null !== id &&\n            null !== id.memoizedState &&\n            restoreEnterOrExitViewTransitions(finishedWork),\n          _finishedWork$memoize2._visibility & 2\n            ? recursivelyTraversePassiveMountEffects(\n                finishedRoot,\n                finishedWork,\n                committedLanes,\n                committedTransitions\n              )\n            : ((_finishedWork$memoize2._visibility |= 2),\n              recursivelyTraverseReconnectPassiveEffects(\n                finishedRoot,\n                finishedWork,\n                committedLanes,\n                committedTransitions,\n                0 !== (finishedWork.subtreeFlags & 10256) || !1\n              )));\n      flags & 2048 && commitOffscreenPassiveMountEffects(id, finishedWork);\n      break;\n    case 24:\n      recursivelyTraversePassiveMountEffects(\n        finishedRoot,\n        finishedWork,\n        committedLanes,\n        committedTransitions\n      );\n      flags & 2048 &&\n        commitCachePassiveMountEffect(finishedWork.alternate, finishedWork);\n      break;\n    case 30:\n      isViewTransitionEligible &&\n        ((flags = finishedWork.alternate),\n        null !== flags &&\n          (restoreViewTransitionOnHostInstances(flags.child, !0),\n          restoreViewTransitionOnHostInstances(finishedWork.child, !0)));\n      recursivelyTraversePassiveMountEffects(\n        finishedRoot,\n        finishedWork,\n        committedLanes,\n        committedTransitions\n      );\n      break;\n    default:\n      recursivelyTraversePassiveMountEffects(\n        finishedRoot,\n        finishedWork,\n        committedLanes,\n        committedTransitions\n      );\n  }\n}\nfunction recursivelyTraverseReconnectPassiveEffects(\n  finishedRoot$jscomp$0,\n  parentFiber,\n  committedLanes$jscomp$0,\n  committedTransitions$jscomp$0,\n  includeWorkInProgressEffects\n) {\n  includeWorkInProgressEffects =\n    includeWorkInProgressEffects &&\n    (0 !== (parentFiber.subtreeFlags & 10256) || !1);\n  for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n    var finishedRoot = finishedRoot$jscomp$0,\n      finishedWork = parentFiber,\n      committedLanes = committedLanes$jscomp$0,\n      committedTransitions = committedTransitions$jscomp$0,\n      flags = finishedWork.flags;\n    switch (finishedWork.tag) {\n      case 0:\n      case 11:\n      case 15:\n        recursivelyTraverseReconnectPassiveEffects(\n          finishedRoot,\n          finishedWork,\n          committedLanes,\n          committedTransitions,\n          includeWorkInProgressEffects\n        );\n        commitHookEffectListMount(8, finishedWork);\n        break;\n      case 23:\n        break;\n      case 22:\n        var instance = finishedWork.stateNode;\n        null !== finishedWork.memoizedState\n          ? instance._visibility & 2\n            ? recursivelyTraverseReconnectPassiveEffects(\n                finishedRoot,\n                finishedWork,\n                committedLanes,\n                committedTransitions,\n                includeWorkInProgressEffects\n              )\n            : recursivelyTraverseAtomicPassiveEffects(\n                finishedRoot,\n                finishedWork\n              )\n          : ((instance._visibility |= 2),\n            recursivelyTraverseReconnectPassiveEffects(\n              finishedRoot,\n              finishedWork,\n              committedLanes,\n              committedTransitions,\n              includeWorkInProgressEffects\n            ));\n        includeWorkInProgressEffects &&\n          flags & 2048 &&\n          commitOffscreenPassiveMountEffects(\n            finishedWork.alternate,\n            finishedWork\n          );\n        break;\n      case 24:\n        recursivelyTraverseReconnectPassiveEffects(\n          finishedRoot,\n          finishedWork,\n          committedLanes,\n          committedTransitions,\n          includeWorkInProgressEffects\n        );\n        includeWorkInProgressEffects &&\n          flags & 2048 &&\n          commitCachePassiveMountEffect(finishedWork.alternate, finishedWork);\n        break;\n      default:\n        recursivelyTraverseReconnectPassiveEffects(\n          finishedRoot,\n          finishedWork,\n          committedLanes,\n          committedTransitions,\n          includeWorkInProgressEffects\n        );\n    }\n    parentFiber = parentFiber.sibling;\n  }\n}\nfunction recursivelyTraverseAtomicPassiveEffects(\n  finishedRoot$jscomp$0,\n  parentFiber\n) {\n  if (parentFiber.subtreeFlags & 10256)\n    for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n      var finishedRoot = finishedRoot$jscomp$0,\n        finishedWork = parentFiber,\n        flags = finishedWork.flags;\n      switch (finishedWork.tag) {\n        case 22:\n          recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);\n          flags & 2048 &&\n            commitOffscreenPassiveMountEffects(\n              finishedWork.alternate,\n              finishedWork\n            );\n          break;\n        case 24:\n          recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);\n          flags & 2048 &&\n            commitCachePassiveMountEffect(finishedWork.alternate, finishedWork);\n          break;\n        default:\n          recursivelyTraverseAtomicPassiveEffects(finishedRoot, finishedWork);\n      }\n      parentFiber = parentFiber.sibling;\n    }\n}\nvar suspenseyCommitFlag = 8192;\nfunction recursivelyAccumulateSuspenseyCommit(\n  parentFiber,\n  committedLanes,\n  suspendedState\n) {\n  if (parentFiber.subtreeFlags & suspenseyCommitFlag)\n    for (parentFiber = parentFiber.child; null !== parentFiber; )\n      accumulateSuspenseyCommitOnFiber(\n        parentFiber,\n        committedLanes,\n        suspendedState\n      ),\n        (parentFiber = parentFiber.sibling);\n}\nfunction accumulateSuspenseyCommitOnFiber(\n  fiber,\n  committedLanes,\n  suspendedState\n) {\n  switch (fiber.tag) {\n    case 26:\n      recursivelyAccumulateSuspenseyCommit(\n        fiber,\n        committedLanes,\n        suspendedState\n      );\n      fiber.flags & suspenseyCommitFlag &&\n        (null !== fiber.memoizedState\n          ? suspendResource(\n              suspendedState,\n              currentHoistableRoot,\n              fiber.memoizedState,\n              fiber.memoizedProps\n            )\n          : ((fiber = fiber.stateNode),\n            (committedLanes & 335544128) === committedLanes &&\n              suspendInstance(suspendedState, fiber)));\n      break;\n    case 5:\n      recursivelyAccumulateSuspenseyCommit(\n        fiber,\n        committedLanes,\n        suspendedState\n      );\n      fiber.flags & suspenseyCommitFlag &&\n        ((fiber = fiber.stateNode),\n        (committedLanes & 335544128) === committedLanes &&\n          suspendInstance(suspendedState, fiber));\n      break;\n    case 3:\n    case 4:\n      var previousHoistableRoot = currentHoistableRoot;\n      currentHoistableRoot = getHoistableRoot(fiber.stateNode.containerInfo);\n      recursivelyAccumulateSuspenseyCommit(\n        fiber,\n        committedLanes,\n        suspendedState\n      );\n      currentHoistableRoot = previousHoistableRoot;\n      break;\n    case 22:\n      null === fiber.memoizedState &&\n        ((previousHoistableRoot = fiber.alternate),\n        null !== previousHoistableRoot &&\n        null !== previousHoistableRoot.memoizedState\n          ? ((previousHoistableRoot = suspenseyCommitFlag),\n            (suspenseyCommitFlag = 16777216),\n            recursivelyAccumulateSuspenseyCommit(\n              fiber,\n              committedLanes,\n              suspendedState\n            ),\n            (suspenseyCommitFlag = previousHoistableRoot))\n          : recursivelyAccumulateSuspenseyCommit(\n              fiber,\n              committedLanes,\n              suspendedState\n            ));\n      break;\n    case 30:\n      if (\n        0 !== (fiber.flags & suspenseyCommitFlag) &&\n        ((previousHoistableRoot = fiber.memoizedProps.name),\n        null != previousHoistableRoot && \"auto\" !== previousHoistableRoot)\n      ) {\n        var state = fiber.stateNode;\n        state.paired = null;\n        null === appearingViewTransitions &&\n          (appearingViewTransitions = new Map());\n        appearingViewTransitions.set(previousHoistableRoot, state);\n      }\n      recursivelyAccumulateSuspenseyCommit(\n        fiber,\n        committedLanes,\n        suspendedState\n      );\n      break;\n    default:\n      recursivelyAccumulateSuspenseyCommit(\n        fiber,\n        committedLanes,\n        suspendedState\n      );\n  }\n}\nfunction detachAlternateSiblings(parentFiber) {\n  var previousFiber = parentFiber.alternate;\n  if (\n    null !== previousFiber &&\n    ((parentFiber = previousFiber.child), null !== parentFiber)\n  ) {\n    previousFiber.child = null;\n    do\n      (previousFiber = parentFiber.sibling),\n        (parentFiber.sibling = null),\n        (parentFiber = previousFiber);\n    while (null !== parentFiber);\n  }\n}\nfunction recursivelyTraversePassiveUnmountEffects(parentFiber) {\n  var deletions = parentFiber.deletions;\n  if (0 !== (parentFiber.flags & 16)) {\n    if (null !== deletions)\n      for (var i = 0; i < deletions.length; i++) {\n        var childToDelete = deletions[i];\n        nextEffect = childToDelete;\n        commitPassiveUnmountEffectsInsideOfDeletedTree_begin(\n          childToDelete,\n          parentFiber\n        );\n      }\n    detachAlternateSiblings(parentFiber);\n  }\n  if (parentFiber.subtreeFlags & 10256)\n    for (parentFiber = parentFiber.child; null !== parentFiber; )\n      commitPassiveUnmountOnFiber(parentFiber),\n        (parentFiber = parentFiber.sibling);\n}\nfunction commitPassiveUnmountOnFiber(finishedWork) {\n  switch (finishedWork.tag) {\n    case 0:\n    case 11:\n    case 15:\n      recursivelyTraversePassiveUnmountEffects(finishedWork);\n      finishedWork.flags & 2048 &&\n        commitHookEffectListUnmount(9, finishedWork, finishedWork.return);\n      break;\n    case 3:\n      recursivelyTraversePassiveUnmountEffects(finishedWork);\n      break;\n    case 12:\n      recursivelyTraversePassiveUnmountEffects(finishedWork);\n      break;\n    case 22:\n      var instance = finishedWork.stateNode;\n      null !== finishedWork.memoizedState &&\n      instance._visibility & 2 &&\n      (null === finishedWork.return || 13 !== finishedWork.return.tag)\n        ? ((instance._visibility &= -3),\n          recursivelyTraverseDisconnectPassiveEffects(finishedWork))\n        : recursivelyTraversePassiveUnmountEffects(finishedWork);\n      break;\n    default:\n      recursivelyTraversePassiveUnmountEffects(finishedWork);\n  }\n}\nfunction recursivelyTraverseDisconnectPassiveEffects(parentFiber) {\n  var deletions = parentFiber.deletions;\n  if (0 !== (parentFiber.flags & 16)) {\n    if (null !== deletions)\n      for (var i = 0; i < deletions.length; i++) {\n        var childToDelete = deletions[i];\n        nextEffect = childToDelete;\n        commitPassiveUnmountEffectsInsideOfDeletedTree_begin(\n          childToDelete,\n          parentFiber\n        );\n      }\n    detachAlternateSiblings(parentFiber);\n  }\n  for (parentFiber = parentFiber.child; null !== parentFiber; ) {\n    deletions = parentFiber;\n    switch (deletions.tag) {\n      case 0:\n      case 11:\n      case 15:\n        commitHookEffectListUnmount(8, deletions, deletions.return);\n        recursivelyTraverseDisconnectPassiveEffects(deletions);\n        break;\n      case 22:\n        i = deletions.stateNode;\n        i._visibility & 2 &&\n          ((i._visibility &= -3),\n          recursivelyTraverseDisconnectPassiveEffects(deletions));\n        break;\n      default:\n        recursivelyTraverseDisconnectPassiveEffects(deletions);\n    }\n    parentFiber = parentFiber.sibling;\n  }\n}\nfunction commitPassiveUnmountEffectsInsideOfDeletedTree_begin(\n  deletedSubtreeRoot,\n  nearestMountedAncestor\n) {\n  for (; null !== nextEffect; ) {\n    var fiber = nextEffect;\n    switch (fiber.tag) {\n      case 0:\n      case 11:\n      case 15:\n        commitHookEffectListUnmount(8, fiber, nearestMountedAncestor);\n        break;\n      case 23:\n      case 22:\n        if (\n          null !== fiber.memoizedState &&\n          null !== fiber.memoizedState.cachePool\n        ) {\n          var cache = fiber.memoizedState.cachePool.pool;\n          null != cache && cache.refCount++;\n        }\n        break;\n      case 24:\n        releaseCache(fiber.memoizedState.cache);\n    }\n    cache = fiber.child;\n    if (null !== cache) (cache.return = fiber), (nextEffect = cache);\n    else\n      a: for (fiber = deletedSubtreeRoot; null !== nextEffect; ) {\n        cache = nextEffect;\n        var sibling = cache.sibling,\n          returnFiber = cache.return;\n        detachFiberAfterEffects(cache);\n        if (cache === fiber) {\n          nextEffect = null;\n          break a;\n        }\n        if (null !== sibling) {\n          sibling.return = returnFiber;\n          nextEffect = sibling;\n          break a;\n        }\n        nextEffect = returnFiber;\n      }\n  }\n}\nvar DefaultAsyncDispatcher = {\n    getCacheForType: function (resourceType) {\n      var cache = readContext(CacheContext),\n        cacheForType = cache.data.get(resourceType);\n      void 0 === cacheForType &&\n        ((cacheForType = resourceType()),\n        cache.data.set(resourceType, cacheForType));\n      return cacheForType;\n    },\n    cacheSignal: function () {\n      return readContext(CacheContext).controller.signal;\n    }\n  },\n  PossiblyWeakMap = \"function\" === typeof WeakMap ? WeakMap : Map,\n  executionContext = 0,\n  workInProgressRoot = null,\n  workInProgress = null,\n  workInProgressRootRenderLanes = 0,\n  workInProgressSuspendedReason = 0,\n  workInProgressThrownValue = null,\n  workInProgressRootDidSkipSuspendedSiblings = !1,\n  workInProgressRootIsPrerendering = !1,\n  workInProgressRootDidAttachPingListener = !1,\n  entangledRenderLanes = 0,\n  workInProgressRootExitStatus = 0,\n  workInProgressRootSkippedLanes = 0,\n  workInProgressRootInterleavedUpdatedLanes = 0,\n  workInProgressRootPingedLanes = 0,\n  workInProgressDeferredLane = 0,\n  workInProgressSuspendedRetryLanes = 0,\n  workInProgressRootConcurrentErrors = null,\n  workInProgressRootRecoverableErrors = null,\n  workInProgressRootDidIncludeRecursiveRenderUpdate = !1,\n  globalMostRecentFallbackTime = 0,\n  globalMostRecentTransitionTime = 0,\n  workInProgressRootRenderTargetTime = Infinity,\n  workInProgressTransitions = null,\n  legacyErrorBoundariesThatAlreadyFailed = null,\n  pendingEffectsStatus = 0,\n  pendingEffectsRoot = null,\n  pendingFinishedWork = null,\n  pendingEffectsLanes = 0,\n  pendingEffectsRemainingLanes = 0,\n  pendingPassiveTransitions = null,\n  pendingRecoverableErrors = null,\n  pendingViewTransition = null,\n  pendingViewTransitionEvents = null,\n  pendingTransitionTypes = null,\n  nestedUpdateCount = 0,\n  rootWithNestedUpdates = null;\nfunction requestUpdateLane() {\n  return 0 !== (executionContext & 2) && 0 !== workInProgressRootRenderLanes\n    ? workInProgressRootRenderLanes & -workInProgressRootRenderLanes\n    : null !== ReactSharedInternals.T\n      ? requestTransitionLane()\n      : resolveUpdatePriority();\n}\nfunction requestDeferredLane() {\n  if (0 === workInProgressDeferredLane)\n    if (0 === (workInProgressRootRenderLanes & 536870912) || isHydrating) {\n      var lane = nextTransitionDeferredLane;\n      nextTransitionDeferredLane <<= 1;\n      0 === (nextTransitionDeferredLane & 3932160) &&\n        (nextTransitionDeferredLane = 262144);\n      workInProgressDeferredLane = lane;\n    } else workInProgressDeferredLane = 536870912;\n  lane = suspenseHandlerStackCursor.current;\n  null !== lane && (lane.flags |= 32);\n  return workInProgressDeferredLane;\n}\nfunction scheduleViewTransitionEvent(fiber, callback) {\n  if (null != callback) {\n    var state = fiber.stateNode,\n      instance = state.ref;\n    null === instance &&\n      (instance = state.ref =\n        createViewTransitionInstance(\n          getViewTransitionName(fiber.memoizedProps, state)\n        ));\n    null === pendingViewTransitionEvents && (pendingViewTransitionEvents = []);\n    pendingViewTransitionEvents.push(callback.bind(null, instance));\n  }\n}\nfunction scheduleUpdateOnFiber(root, fiber, lane) {\n  if (\n    (root === workInProgressRoot &&\n      (2 === workInProgressSuspendedReason ||\n        9 === workInProgressSuspendedReason)) ||\n    null !== root.cancelPendingCommit\n  )\n    prepareFreshStack(root, 0),\n      markRootSuspended(\n        root,\n        workInProgressRootRenderLanes,\n        workInProgressDeferredLane,\n        !1\n      );\n  markRootUpdated$1(root, lane);\n  if (0 === (executionContext & 2) || root !== workInProgressRoot)\n    root === workInProgressRoot &&\n      (0 === (executionContext & 2) &&\n        (workInProgressRootInterleavedUpdatedLanes |= lane),\n      4 === workInProgressRootExitStatus &&\n        markRootSuspended(\n          root,\n          workInProgressRootRenderLanes,\n          workInProgressDeferredLane,\n          !1\n        )),\n      ensureRootIsScheduled(root);\n}\nfunction performWorkOnRoot(root$jscomp$0, lanes, forceSync) {\n  if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));\n  var shouldTimeSlice =\n      (!forceSync &&\n        0 === (lanes & 127) &&\n        0 === (lanes & root$jscomp$0.expiredLanes)) ||\n      checkIfRootIsPrerendering(root$jscomp$0, lanes),\n    exitStatus = shouldTimeSlice\n      ? renderRootConcurrent(root$jscomp$0, lanes)\n      : renderRootSync(root$jscomp$0, lanes, !0),\n    renderWasConcurrent = shouldTimeSlice;\n  do {\n    if (0 === exitStatus) {\n      workInProgressRootIsPrerendering &&\n        !shouldTimeSlice &&\n        markRootSuspended(root$jscomp$0, lanes, 0, !1);\n      break;\n    } else {\n      forceSync = root$jscomp$0.current.alternate;\n      if (\n        renderWasConcurrent &&\n        !isRenderConsistentWithExternalStores(forceSync)\n      ) {\n        exitStatus = renderRootSync(root$jscomp$0, lanes, !1);\n        renderWasConcurrent = !1;\n        continue;\n      }\n      if (2 === exitStatus) {\n        renderWasConcurrent = lanes;\n        if (root$jscomp$0.errorRecoveryDisabledLanes & renderWasConcurrent)\n          var JSCompiler_inline_result = 0;\n        else\n          (JSCompiler_inline_result = root$jscomp$0.pendingLanes & -536870913),\n            (JSCompiler_inline_result =\n              0 !== JSCompiler_inline_result\n                ? JSCompiler_inline_result\n                : JSCompiler_inline_result & 536870912\n                  ? 536870912\n                  : 0);\n        if (0 !== JSCompiler_inline_result) {\n          lanes = JSCompiler_inline_result;\n          a: {\n            var root = root$jscomp$0;\n            exitStatus = workInProgressRootConcurrentErrors;\n            var wasRootDehydrated = root.current.memoizedState.isDehydrated;\n            wasRootDehydrated &&\n              (prepareFreshStack(root, JSCompiler_inline_result).flags |= 256);\n            JSCompiler_inline_result = renderRootSync(\n              root,\n              JSCompiler_inline_result,\n              !1\n            );\n            if (\n              2 !== JSCompiler_inline_result &&\n              6 !== JSCompiler_inline_result\n            ) {\n              if (\n                workInProgressRootDidAttachPingListener &&\n                !wasRootDehydrated\n              ) {\n                root.errorRecoveryDisabledLanes |= renderWasConcurrent;\n                workInProgressRootInterleavedUpdatedLanes |=\n                  renderWasConcurrent;\n                exitStatus = 4;\n                break a;\n              }\n              renderWasConcurrent = workInProgressRootRecoverableErrors;\n              workInProgressRootRecoverableErrors = exitStatus;\n              null !== renderWasConcurrent &&\n                (null === workInProgressRootRecoverableErrors\n                  ? (workInProgressRootRecoverableErrors = renderWasConcurrent)\n                  : workInProgressRootRecoverableErrors.push.apply(\n                      workInProgressRootRecoverableErrors,\n                      renderWasConcurrent\n                    ));\n            }\n            exitStatus = JSCompiler_inline_result;\n          }\n          renderWasConcurrent = !1;\n          if (2 !== exitStatus) continue;\n        }\n      }\n      if (1 === exitStatus) {\n        prepareFreshStack(root$jscomp$0, 0);\n        markRootSuspended(root$jscomp$0, lanes, 0, !0);\n        break;\n      }\n      a: {\n        shouldTimeSlice = root$jscomp$0;\n        renderWasConcurrent = exitStatus;\n        switch (renderWasConcurrent) {\n          case 0:\n          case 1:\n            throw Error(formatProdErrorMessage(345));\n          case 4:\n            if ((lanes & 4194048) !== lanes && (lanes & 62914560) !== lanes)\n              break;\n          case 6:\n            markRootSuspended(\n              shouldTimeSlice,\n              lanes,\n              workInProgressDeferredLane,\n              !workInProgressRootDidSkipSuspendedSiblings\n            );\n            break a;\n          case 2:\n            workInProgressRootRecoverableErrors = null;\n            break;\n          case 3:\n          case 5:\n            break;\n          default:\n            throw Error(formatProdErrorMessage(329));\n        }\n        if (\n          (lanes & 62914560) === lanes &&\n          ((exitStatus = globalMostRecentFallbackTime + 300 - now()),\n          10 < exitStatus)\n        ) {\n          markRootSuspended(\n            shouldTimeSlice,\n            lanes,\n            workInProgressDeferredLane,\n            !workInProgressRootDidSkipSuspendedSiblings\n          );\n          if (0 !== getNextLanes(shouldTimeSlice, 0, !0)) break a;\n          pendingEffectsLanes = lanes;\n          shouldTimeSlice.timeoutHandle = scheduleTimeout(\n            completeRootWhenReady.bind(\n              null,\n              shouldTimeSlice,\n              forceSync,\n              workInProgressRootRecoverableErrors,\n              workInProgressTransitions,\n              workInProgressRootDidIncludeRecursiveRenderUpdate,\n              lanes,\n              workInProgressDeferredLane,\n              workInProgressRootInterleavedUpdatedLanes,\n              workInProgressSuspendedRetryLanes,\n              workInProgressRootDidSkipSuspendedSiblings,\n              renderWasConcurrent,\n              \"Throttled\",\n              -0,\n              0\n            ),\n            exitStatus\n          );\n          break a;\n        }\n        completeRootWhenReady(\n          shouldTimeSlice,\n          forceSync,\n          workInProgressRootRecoverableErrors,\n          workInProgressTransitions,\n          workInProgressRootDidIncludeRecursiveRenderUpdate,\n          lanes,\n          workInProgressDeferredLane,\n          workInProgressRootInterleavedUpdatedLanes,\n          workInProgressSuspendedRetryLanes,\n          workInProgressRootDidSkipSuspendedSiblings,\n          renderWasConcurrent,\n          null,\n          -0,\n          0\n        );\n      }\n    }\n    break;\n  } while (1);\n  ensureRootIsScheduled(root$jscomp$0);\n}\nfunction completeRootWhenReady(\n  root,\n  finishedWork,\n  recoverableErrors,\n  transitions,\n  didIncludeRenderPhaseUpdate,\n  lanes,\n  spawnedLane,\n  updatedLanes,\n  suspendedRetryLanes,\n  didSkipSuspendedSiblings,\n  exitStatus,\n  suspendedCommitReason,\n  completedRenderStartTime,\n  completedRenderEndTime\n) {\n  root.timeoutHandle = -1;\n  var subtreeFlags = finishedWork.subtreeFlags,\n    isViewTransitionEligible = (lanes & 335544064) === lanes;\n  suspendedCommitReason = null;\n  if (\n    isViewTransitionEligible ||\n    subtreeFlags & 8192 ||\n    16785408 === (subtreeFlags & 16785408)\n  )\n    if (\n      ((suspendedCommitReason = {\n        stylesheets: null,\n        count: 0,\n        imgCount: 0,\n        imgBytes: 0,\n        suspenseyImages: [],\n        waitingForImages: !0,\n        waitingForViewTransition: !1,\n        unsuspend: noop$1\n      }),\n      (appearingViewTransitions = null),\n      accumulateSuspenseyCommitOnFiber(\n        finishedWork,\n        lanes,\n        suspendedCommitReason\n      ),\n      isViewTransitionEligible &&\n        ((subtreeFlags = suspendedCommitReason),\n        (isViewTransitionEligible = root.containerInfo),\n        (isViewTransitionEligible = (\n          9 === isViewTransitionEligible.nodeType\n            ? isViewTransitionEligible\n            : isViewTransitionEligible.ownerDocument\n        ).__reactViewTransition),\n        null != isViewTransitionEligible &&\n          (subtreeFlags.count++,\n          (subtreeFlags.waitingForViewTransition = !0),\n          (subtreeFlags = onUnsuspend.bind(subtreeFlags)),\n          isViewTransitionEligible.finished.then(subtreeFlags, subtreeFlags))),\n      (subtreeFlags =\n        (lanes & 62914560) === lanes\n          ? globalMostRecentFallbackTime - now()\n          : (lanes & 4194048) === lanes\n            ? globalMostRecentTransitionTime - now()\n            : 0),\n      (subtreeFlags = waitForCommitToBeReady(\n        suspendedCommitReason,\n        subtreeFlags\n      )),\n      null !== subtreeFlags)\n    ) {\n      pendingEffectsLanes = lanes;\n      root.cancelPendingCommit = subtreeFlags(\n        completeRoot.bind(\n          null,\n          root,\n          finishedWork,\n          lanes,\n          recoverableErrors,\n          transitions,\n          didIncludeRenderPhaseUpdate,\n          spawnedLane,\n          updatedLanes,\n          suspendedRetryLanes,\n          didSkipSuspendedSiblings,\n          exitStatus,\n          suspendedCommitReason,\n          null,\n          completedRenderStartTime,\n          completedRenderEndTime\n        )\n      );\n      markRootSuspended(root, lanes, spawnedLane, !didSkipSuspendedSiblings);\n      return;\n    }\n  completeRoot(\n    root,\n    finishedWork,\n    lanes,\n    recoverableErrors,\n    transitions,\n    didIncludeRenderPhaseUpdate,\n    spawnedLane,\n    updatedLanes,\n    suspendedRetryLanes,\n    didSkipSuspendedSiblings,\n    exitStatus,\n    suspendedCommitReason\n  );\n}\nfunction isRenderConsistentWithExternalStores(finishedWork) {\n  for (var node = finishedWork; ; ) {\n    var tag = node.tag;\n    if (\n      (0 === tag || 11 === tag || 15 === tag) &&\n      node.flags & 16384 &&\n      ((tag = node.updateQueue),\n      null !== tag && ((tag = tag.stores), null !== tag))\n    )\n      for (var i = 0; i < tag.length; i++) {\n        var check = tag[i],\n          getSnapshot = check.getSnapshot;\n        check = check.value;\n        try {\n          if (!objectIs(getSnapshot(), check)) return !1;\n        } catch (error) {\n          return !1;\n        }\n      }\n    tag = node.child;\n    if (node.subtreeFlags & 16384 && null !== tag)\n      (tag.return = node), (node = tag);\n    else {\n      if (node === finishedWork) break;\n      for (; null === node.sibling; ) {\n        if (null === node.return || node.return === finishedWork) return !0;\n        node = node.return;\n      }\n      node.sibling.return = node.return;\n      node = node.sibling;\n    }\n  }\n  return !0;\n}\nfunction markRootSuspended(\n  root,\n  suspendedLanes,\n  spawnedLane,\n  didAttemptEntireTree\n) {\n  suspendedLanes &= ~workInProgressRootPingedLanes;\n  suspendedLanes &= ~workInProgressRootInterleavedUpdatedLanes;\n  root.suspendedLanes |= suspendedLanes;\n  root.pingedLanes &= ~suspendedLanes;\n  didAttemptEntireTree && (root.warmLanes |= suspendedLanes);\n  didAttemptEntireTree = root.expirationTimes;\n  for (var lanes = suspendedLanes; 0 < lanes; ) {\n    var index$6 = 31 - clz32(lanes),\n      lane = 1 << index$6;\n    didAttemptEntireTree[index$6] = -1;\n    lanes &= ~lane;\n  }\n  0 !== spawnedLane &&\n    markSpawnedDeferredLane(root, spawnedLane, suspendedLanes);\n}\nfunction flushSyncWork$1() {\n  return 0 === (executionContext & 6)\n    ? (flushSyncWorkAcrossRoots_impl(0, !1), !1)\n    : !0;\n}\nfunction resetWorkInProgressStack() {\n  if (null !== workInProgress) {\n    if (0 === workInProgressSuspendedReason)\n      var interruptedWork = workInProgress.return;\n    else\n      (interruptedWork = workInProgress),\n        (lastContextDependency = currentlyRenderingFiber$1 = null),\n        resetHooksOnUnwind(interruptedWork),\n        (thenableState$1 = null),\n        (thenableIndexCounter$1 = 0),\n        (interruptedWork = workInProgress);\n    for (; null !== interruptedWork; )\n      unwindInterruptedWork(interruptedWork.alternate, interruptedWork),\n        (interruptedWork = interruptedWork.return);\n    workInProgress = null;\n  }\n}\nfunction prepareFreshStack(root, lanes) {\n  var timeoutHandle = root.timeoutHandle;\n  -1 !== timeoutHandle &&\n    ((root.timeoutHandle = -1), cancelTimeout(timeoutHandle));\n  timeoutHandle = root.cancelPendingCommit;\n  null !== timeoutHandle &&\n    ((root.cancelPendingCommit = null), timeoutHandle());\n  pendingEffectsLanes = 0;\n  resetWorkInProgressStack();\n  workInProgressRoot = root;\n  workInProgress = timeoutHandle = createWorkInProgress(root.current, null);\n  workInProgressRootRenderLanes = lanes;\n  workInProgressSuspendedReason = 0;\n  workInProgressThrownValue = null;\n  workInProgressRootDidSkipSuspendedSiblings = !1;\n  workInProgressRootIsPrerendering = checkIfRootIsPrerendering(root, lanes);\n  workInProgressRootDidAttachPingListener = !1;\n  workInProgressSuspendedRetryLanes =\n    workInProgressDeferredLane =\n    workInProgressRootPingedLanes =\n    workInProgressRootInterleavedUpdatedLanes =\n    workInProgressRootSkippedLanes =\n    workInProgressRootExitStatus =\n      0;\n  workInProgressRootRecoverableErrors = workInProgressRootConcurrentErrors =\n    null;\n  workInProgressRootDidIncludeRecursiveRenderUpdate = !1;\n  0 !== (lanes & 8) && (lanes |= lanes & 32);\n  var allEntangledLanes = root.entangledLanes;\n  if (0 !== allEntangledLanes)\n    for (\n      root = root.entanglements, allEntangledLanes &= lanes;\n      0 < allEntangledLanes;\n\n    ) {\n      var index$4 = 31 - clz32(allEntangledLanes),\n        lane = 1 << index$4;\n      lanes |= root[index$4];\n      allEntangledLanes &= ~lane;\n    }\n  entangledRenderLanes = lanes;\n  finishQueueingConcurrentUpdates();\n  return timeoutHandle;\n}\nfunction handleThrow(root, thrownValue) {\n  currentlyRenderingFiber = null;\n  ReactSharedInternals.H = ContextOnlyDispatcher;\n  thrownValue === SuspenseException || thrownValue === SuspenseActionException\n    ? ((thrownValue = getSuspendedThenable()),\n      (workInProgressSuspendedReason = 3))\n    : thrownValue === SuspenseyCommitException\n      ? ((thrownValue = getSuspendedThenable()),\n        (workInProgressSuspendedReason = 4))\n      : (workInProgressSuspendedReason =\n          thrownValue === SelectiveHydrationException\n            ? 8\n            : null !== thrownValue &&\n                \"object\" === typeof thrownValue &&\n                \"function\" === typeof thrownValue.then\n              ? 6\n              : 1);\n  workInProgressThrownValue = thrownValue;\n  null === workInProgress &&\n    ((workInProgressRootExitStatus = 1),\n    logUncaughtError(\n      root,\n      createCapturedValueAtFiber(thrownValue, root.current)\n    ));\n}\nfunction shouldRemainOnPreviousScreen() {\n  var handler = suspenseHandlerStackCursor.current;\n  return null === handler\n    ? !0\n    : (workInProgressRootRenderLanes & 4194048) ===\n        workInProgressRootRenderLanes\n      ? null === shellBoundary\n        ? !0\n        : !1\n      : (workInProgressRootRenderLanes & 62914560) ===\n            workInProgressRootRenderLanes ||\n          0 !== (workInProgressRootRenderLanes & 536870912)\n        ? handler === shellBoundary\n        : !1;\n}\nfunction pushDispatcher() {\n  var prevDispatcher = ReactSharedInternals.H;\n  ReactSharedInternals.H = ContextOnlyDispatcher;\n  return null === prevDispatcher ? ContextOnlyDispatcher : prevDispatcher;\n}\nfunction pushAsyncDispatcher() {\n  var prevAsyncDispatcher = ReactSharedInternals.A;\n  ReactSharedInternals.A = DefaultAsyncDispatcher;\n  return prevAsyncDispatcher;\n}\nfunction renderDidSuspendDelayIfPossible() {\n  workInProgressRootExitStatus = 4;\n  workInProgressRootDidSkipSuspendedSiblings ||\n    ((workInProgressRootRenderLanes & 4194048) !==\n      workInProgressRootRenderLanes &&\n      null !== suspenseHandlerStackCursor.current) ||\n    (workInProgressRootIsPrerendering = !0);\n  (0 === (workInProgressRootSkippedLanes & 134217727) &&\n    0 === (workInProgressRootInterleavedUpdatedLanes & 134217727)) ||\n    null === workInProgressRoot ||\n    markRootSuspended(\n      workInProgressRoot,\n      workInProgressRootRenderLanes,\n      workInProgressDeferredLane,\n      !1\n    );\n}\nfunction renderRootSync(root, lanes, shouldYieldForPrerendering) {\n  var prevExecutionContext = executionContext;\n  executionContext |= 2;\n  var prevDispatcher = pushDispatcher(),\n    prevAsyncDispatcher = pushAsyncDispatcher();\n  if (workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes)\n    (workInProgressTransitions = null), prepareFreshStack(root, lanes);\n  lanes = !1;\n  var exitStatus = workInProgressRootExitStatus;\n  a: do\n    try {\n      if (0 !== workInProgressSuspendedReason && null !== workInProgress) {\n        var unitOfWork = workInProgress,\n          thrownValue = workInProgressThrownValue;\n        switch (workInProgressSuspendedReason) {\n          case 8:\n            resetWorkInProgressStack();\n            exitStatus = 6;\n            break a;\n          case 3:\n          case 2:\n          case 9:\n          case 6:\n            null === suspenseHandlerStackCursor.current && (lanes = !0);\n            var reason = workInProgressSuspendedReason;\n            workInProgressSuspendedReason = 0;\n            workInProgressThrownValue = null;\n            throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);\n            if (\n              shouldYieldForPrerendering &&\n              workInProgressRootIsPrerendering\n            ) {\n              exitStatus = 0;\n              break a;\n            }\n            break;\n          default:\n            (reason = workInProgressSuspendedReason),\n              (workInProgressSuspendedReason = 0),\n              (workInProgressThrownValue = null),\n              throwAndUnwindWorkLoop(root, unitOfWork, thrownValue, reason);\n        }\n      }\n      workLoopSync();\n      exitStatus = workInProgressRootExitStatus;\n      break;\n    } catch (thrownValue$180) {\n      handleThrow(root, thrownValue$180);\n    }\n  while (1);\n  lanes && root.shellSuspendCounter++;\n  lastContextDependency = currentlyRenderingFiber$1 = null;\n  executionContext = prevExecutionContext;\n  ReactSharedInternals.H = prevDispatcher;\n  ReactSharedInternals.A = prevAsyncDispatcher;\n  null === workInProgress &&\n    ((workInProgressRoot = null),\n    (workInProgressRootRenderLanes = 0),\n    finishQueueingConcurrentUpdates());\n  return exitStatus;\n}\nfunction workLoopSync() {\n  for (; null !== workInProgress; ) performUnitOfWork(workInProgress);\n}\nfunction renderRootConcurrent(root, lanes) {\n  var prevExecutionContext = executionContext;\n  executionContext |= 2;\n  var prevDispatcher = pushDispatcher(),\n    prevAsyncDispatcher = pushAsyncDispatcher();\n  workInProgressRoot !== root || workInProgressRootRenderLanes !== lanes\n    ? ((workInProgressTransitions = null),\n      (workInProgressRootRenderTargetTime = now() + 500),\n      prepareFreshStack(root, lanes))\n    : (workInProgressRootIsPrerendering = checkIfRootIsPrerendering(\n        root,\n        lanes\n      ));\n  a: do\n    try {\n      if (0 !== workInProgressSuspendedReason && null !== workInProgress) {\n        lanes = workInProgress;\n        var thrownValue = workInProgressThrownValue;\n        b: switch (workInProgressSuspendedReason) {\n          case 1:\n            workInProgressSuspendedReason = 0;\n            workInProgressThrownValue = null;\n            throwAndUnwindWorkLoop(root, lanes, thrownValue, 1);\n            break;\n          case 2:\n          case 9:\n            if (isThenableResolved(thrownValue)) {\n              workInProgressSuspendedReason = 0;\n              workInProgressThrownValue = null;\n              replaySuspendedUnitOfWork(lanes);\n              break;\n            }\n            lanes = function () {\n              (2 !== workInProgressSuspendedReason &&\n                9 !== workInProgressSuspendedReason) ||\n                workInProgressRoot !== root ||\n                (workInProgressSuspendedReason = 7);\n              ensureRootIsScheduled(root);\n            };\n            thrownValue.then(lanes, lanes);\n            break a;\n          case 3:\n            workInProgressSuspendedReason = 7;\n            break a;\n          case 4:\n            workInProgressSuspendedReason = 5;\n            break a;\n          case 7:\n            isThenableResolved(thrownValue)\n              ? ((workInProgressSuspendedReason = 0),\n                (workInProgressThrownValue = null),\n                replaySuspendedUnitOfWork(lanes))\n              : ((workInProgressSuspendedReason = 0),\n                (workInProgressThrownValue = null),\n                throwAndUnwindWorkLoop(root, lanes, thrownValue, 7));\n            break;\n          case 5:\n            var resource = null;\n            switch (workInProgress.tag) {\n              case 26:\n                resource = workInProgress.memoizedState;\n              case 5:\n              case 27:\n                var hostFiber = workInProgress;\n                if (\n                  resource\n                    ? preloadResource(resource)\n                    : hostFiber.stateNode.complete\n                ) {\n                  workInProgressSuspendedReason = 0;\n                  workInProgressThrownValue = null;\n                  var sibling = hostFiber.sibling;\n                  if (null !== sibling) workInProgress = sibling;\n                  else {\n                    var returnFiber = hostFiber.return;\n                    null !== returnFiber\n                      ? ((workInProgress = returnFiber),\n                        completeUnitOfWork(returnFiber))\n                      : (workInProgress = null);\n                  }\n                  break b;\n                }\n            }\n            workInProgressSuspendedReason = 0;\n            workInProgressThrownValue = null;\n            throwAndUnwindWorkLoop(root, lanes, thrownValue, 5);\n            break;\n          case 6:\n            workInProgressSuspendedReason = 0;\n            workInProgressThrownValue = null;\n            throwAndUnwindWorkLoop(root, lanes, thrownValue, 6);\n            break;\n          case 8:\n            resetWorkInProgressStack();\n            workInProgressRootExitStatus = 6;\n            break a;\n          default:\n            throw Error(formatProdErrorMessage(462));\n        }\n      }\n      workLoopConcurrentByScheduler();\n      break;\n    } catch (thrownValue$182) {\n      handleThrow(root, thrownValue$182);\n    }\n  while (1);\n  lastContextDependency = currentlyRenderingFiber$1 = null;\n  ReactSharedInternals.H = prevDispatcher;\n  ReactSharedInternals.A = prevAsyncDispatcher;\n  executionContext = prevExecutionContext;\n  if (null !== workInProgress) return 0;\n  workInProgressRoot = null;\n  workInProgressRootRenderLanes = 0;\n  finishQueueingConcurrentUpdates();\n  return workInProgressRootExitStatus;\n}\nfunction workLoopConcurrentByScheduler() {\n  for (; null !== workInProgress && !shouldYield(); )\n    performUnitOfWork(workInProgress);\n}\nfunction performUnitOfWork(unitOfWork) {\n  var next = beginWork(unitOfWork.alternate, unitOfWork, entangledRenderLanes);\n  unitOfWork.memoizedProps = unitOfWork.pendingProps;\n  null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);\n}\nfunction replaySuspendedUnitOfWork(unitOfWork) {\n  var next = unitOfWork;\n  var current = next.alternate;\n  switch (next.tag) {\n    case 15:\n    case 0:\n      next = replayFunctionComponent(\n        current,\n        next,\n        next.pendingProps,\n        next.type,\n        void 0,\n        workInProgressRootRenderLanes\n      );\n      break;\n    case 11:\n      next = replayFunctionComponent(\n        current,\n        next,\n        next.pendingProps,\n        next.type.render,\n        next.ref,\n        workInProgressRootRenderLanes\n      );\n      break;\n    case 5:\n      resetHooksOnUnwind(next);\n      var fiber = next;\n      fiber === hydrationParentFiber &&\n        (isHydrating\n          ? (popToNextHostParent(fiber),\n            5 === fiber.tag &&\n              null != fiber.stateNode &&\n              (nextHydratableInstance = fiber.stateNode))\n          : (popToNextHostParent(fiber), (isHydrating = !0)));\n    default:\n      unwindInterruptedWork(current, next),\n        (next = workInProgress =\n          resetWorkInProgress(next, entangledRenderLanes)),\n        (next = beginWork(current, next, entangledRenderLanes));\n  }\n  unitOfWork.memoizedProps = unitOfWork.pendingProps;\n  null === next ? completeUnitOfWork(unitOfWork) : (workInProgress = next);\n}\nfunction throwAndUnwindWorkLoop(\n  root,\n  unitOfWork,\n  thrownValue,\n  suspendedReason\n) {\n  lastContextDependency = currentlyRenderingFiber$1 = null;\n  resetHooksOnUnwind(unitOfWork);\n  thenableState$1 = null;\n  thenableIndexCounter$1 = 0;\n  var returnFiber = unitOfWork.return;\n  try {\n    if (\n      throwException(\n        root,\n        returnFiber,\n        unitOfWork,\n        thrownValue,\n        workInProgressRootRenderLanes\n      )\n    ) {\n      workInProgressRootExitStatus = 1;\n      logUncaughtError(\n        root,\n        createCapturedValueAtFiber(thrownValue, root.current)\n      );\n      workInProgress = null;\n      return;\n    }\n  } catch (error) {\n    if (null !== returnFiber) throw ((workInProgress = returnFiber), error);\n    workInProgressRootExitStatus = 1;\n    logUncaughtError(\n      root,\n      createCapturedValueAtFiber(thrownValue, root.current)\n    );\n    workInProgress = null;\n    return;\n  }\n  if (unitOfWork.flags & 32768) {\n    if (isHydrating || 1 === suspendedReason) root = !0;\n    else if (\n      workInProgressRootIsPrerendering ||\n      0 !== (workInProgressRootRenderLanes & 536870912)\n    )\n      root = !1;\n    else if (\n      ((workInProgressRootDidSkipSuspendedSiblings = root = !0),\n      2 === suspendedReason ||\n        9 === suspendedReason ||\n        3 === suspendedReason ||\n        6 === suspendedReason)\n    )\n      (suspendedReason = suspenseHandlerStackCursor.current),\n        null !== suspendedReason &&\n          13 === suspendedReason.tag &&\n          (suspendedReason.flags |= 16384);\n    unwindUnitOfWork(unitOfWork, root);\n  } else completeUnitOfWork(unitOfWork);\n}\nfunction completeUnitOfWork(unitOfWork) {\n  var completedWork = unitOfWork;\n  do {\n    if (0 !== (completedWork.flags & 32768)) {\n      unwindUnitOfWork(\n        completedWork,\n        workInProgressRootDidSkipSuspendedSiblings\n      );\n      return;\n    }\n    unitOfWork = completedWork.return;\n    var next = completeWork(\n      completedWork.alternate,\n      completedWork,\n      entangledRenderLanes\n    );\n    if (null !== next) {\n      workInProgress = next;\n      return;\n    }\n    completedWork = completedWork.sibling;\n    if (null !== completedWork) {\n      workInProgress = completedWork;\n      return;\n    }\n    workInProgress = completedWork = unitOfWork;\n  } while (null !== completedWork);\n  0 === workInProgressRootExitStatus && (workInProgressRootExitStatus = 5);\n}\nfunction unwindUnitOfWork(unitOfWork, skipSiblings) {\n  do {\n    var next = unwindWork(unitOfWork.alternate, unitOfWork);\n    if (null !== next) {\n      next.flags &= 32767;\n      workInProgress = next;\n      return;\n    }\n    next = unitOfWork.return;\n    null !== next &&\n      ((next.flags |= 32768), (next.subtreeFlags = 0), (next.deletions = null));\n    if (\n      !skipSiblings &&\n      ((unitOfWork = unitOfWork.sibling), null !== unitOfWork)\n    ) {\n      workInProgress = unitOfWork;\n      return;\n    }\n    workInProgress = unitOfWork = next;\n  } while (null !== unitOfWork);\n  workInProgressRootExitStatus = 6;\n  workInProgress = null;\n}\nfunction completeRoot(\n  root,\n  finishedWork,\n  lanes,\n  recoverableErrors,\n  transitions,\n  didIncludeRenderPhaseUpdate,\n  spawnedLane,\n  updatedLanes,\n  suspendedRetryLanes,\n  didSkipSuspendedSiblings,\n  exitStatus,\n  suspendedState\n) {\n  root.cancelPendingCommit = null;\n  do flushPendingEffects();\n  while (0 !== pendingEffectsStatus);\n  if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(327));\n  if (null !== finishedWork) {\n    if (finishedWork === root.current) throw Error(formatProdErrorMessage(177));\n    root === workInProgressRoot &&\n      ((workInProgress = workInProgressRoot = null),\n      (workInProgressRootRenderLanes = 0));\n    pendingFinishedWork = finishedWork;\n    pendingEffectsRoot = root;\n    pendingEffectsLanes = lanes;\n    pendingPassiveTransitions = transitions;\n    pendingRecoverableErrors = recoverableErrors;\n    commitRoot(\n      root,\n      finishedWork,\n      lanes,\n      spawnedLane,\n      updatedLanes,\n      suspendedRetryLanes,\n      suspendedState\n    );\n  }\n}\nfunction commitRoot(\n  root,\n  finishedWork,\n  lanes,\n  spawnedLane,\n  updatedLanes,\n  suspendedRetryLanes,\n  suspendedState\n) {\n  var remainingLanes = finishedWork.lanes | finishedWork.childLanes;\n  pendingEffectsRemainingLanes = remainingLanes;\n  remainingLanes |= concurrentlyUpdatedLanes;\n  markRootFinished(\n    root,\n    lanes,\n    remainingLanes,\n    spawnedLane,\n    updatedLanes,\n    suspendedRetryLanes\n  );\n  pendingViewTransitionEvents = null;\n  (lanes & 335544064) === lanes\n    ? ((pendingTransitionTypes = claimQueuedTransitionTypes(root)),\n      (spawnedLane = 10262))\n    : ((pendingTransitionTypes = null), (spawnedLane = 10256));\n  0 !== (finishedWork.subtreeFlags & spawnedLane) ||\n  0 !== (finishedWork.flags & spawnedLane)\n    ? ((root.callbackNode = null),\n      (root.callbackPriority = 0),\n      scheduleCallback$1(NormalPriority$1, function () {\n        flushPassiveEffects();\n        return null;\n      }))\n    : ((root.callbackNode = null), (root.callbackPriority = 0));\n  shouldStartViewTransition = !1;\n  spawnedLane = 0 !== (finishedWork.flags & 13878);\n  if (0 !== (finishedWork.subtreeFlags & 13878) || spawnedLane) {\n    spawnedLane = ReactSharedInternals.T;\n    ReactSharedInternals.T = null;\n    updatedLanes = ReactDOMSharedInternals.p;\n    ReactDOMSharedInternals.p = 2;\n    suspendedRetryLanes = executionContext;\n    executionContext |= 4;\n    try {\n      commitBeforeMutationEffects(root, finishedWork, lanes);\n    } finally {\n      (executionContext = suspendedRetryLanes),\n        (ReactDOMSharedInternals.p = updatedLanes),\n        (ReactSharedInternals.T = spawnedLane);\n    }\n  }\n  pendingEffectsStatus = 1;\n  shouldStartViewTransition\n    ? (pendingViewTransition = startViewTransition(\n        suspendedState,\n        root.containerInfo,\n        pendingTransitionTypes,\n        flushMutationEffects,\n        flushLayoutEffects,\n        flushAfterMutationEffects,\n        flushSpawnedWork,\n        flushPassiveEffects,\n        reportViewTransitionError,\n        null,\n        null\n      ))\n    : (flushMutationEffects(), flushLayoutEffects(), flushSpawnedWork());\n}\nfunction reportViewTransitionError(error) {\n  if (0 !== pendingEffectsStatus) {\n    var onRecoverableError = pendingEffectsRoot.onRecoverableError;\n    onRecoverableError(error, { componentStack: null });\n  }\n}\nfunction flushAfterMutationEffects() {\n  3 === pendingEffectsStatus &&\n    ((pendingEffectsStatus = 0),\n    commitAfterMutationEffectsOnFiber(pendingFinishedWork, pendingEffectsRoot),\n    (pendingEffectsStatus = 4));\n}\nfunction flushMutationEffects() {\n  if (1 === pendingEffectsStatus) {\n    pendingEffectsStatus = 0;\n    var root = pendingEffectsRoot,\n      finishedWork = pendingFinishedWork,\n      lanes = pendingEffectsLanes,\n      rootMutationHasEffect = 0 !== (finishedWork.flags & 13878);\n    if (0 !== (finishedWork.subtreeFlags & 13878) || rootMutationHasEffect) {\n      rootMutationHasEffect = ReactSharedInternals.T;\n      ReactSharedInternals.T = null;\n      var previousPriority = ReactDOMSharedInternals.p;\n      ReactDOMSharedInternals.p = 2;\n      var prevExecutionContext = executionContext;\n      executionContext |= 4;\n      try {\n        inUpdateViewTransition = rootViewTransitionAffected = !1;\n        commitMutationEffectsOnFiber(finishedWork, root, lanes);\n        lanes = selectionInformation;\n        var curFocusedElem = getActiveElementDeep(root.containerInfo),\n          priorFocusedElem = lanes.focusedElem,\n          priorSelectionRange = lanes.selectionRange;\n        if (\n          curFocusedElem !== priorFocusedElem &&\n          priorFocusedElem &&\n          priorFocusedElem.ownerDocument &&\n          containsNode(\n            priorFocusedElem.ownerDocument.documentElement,\n            priorFocusedElem\n          )\n        ) {\n          if (\n            null !== priorSelectionRange &&\n            hasSelectionCapabilities(priorFocusedElem)\n          ) {\n            var start = priorSelectionRange.start,\n              end = priorSelectionRange.end;\n            void 0 === end && (end = start);\n            if (\"selectionStart\" in priorFocusedElem)\n              (priorFocusedElem.selectionStart = start),\n                (priorFocusedElem.selectionEnd = Math.min(\n                  end,\n                  priorFocusedElem.value.length\n                ));\n            else {\n              var doc = priorFocusedElem.ownerDocument || document,\n                win = (doc && doc.defaultView) || window;\n              if (win.getSelection) {\n                var selection = win.getSelection(),\n                  length = priorFocusedElem.textContent.length,\n                  start$jscomp$0 = Math.min(priorSelectionRange.start, length),\n                  end$jscomp$0 =\n                    void 0 === priorSelectionRange.end\n                      ? start$jscomp$0\n                      : Math.min(priorSelectionRange.end, length);\n                !selection.extend &&\n                  start$jscomp$0 > end$jscomp$0 &&\n                  ((curFocusedElem = end$jscomp$0),\n                  (end$jscomp$0 = start$jscomp$0),\n                  (start$jscomp$0 = curFocusedElem));\n                var startMarker = getNodeForCharacterOffset(\n                    priorFocusedElem,\n                    start$jscomp$0\n                  ),\n                  endMarker = getNodeForCharacterOffset(\n                    priorFocusedElem,\n                    end$jscomp$0\n                  );\n                if (\n                  startMarker &&\n                  endMarker &&\n                  (1 !== selection.rangeCount ||\n                    selection.anchorNode !== startMarker.node ||\n                    selection.anchorOffset !== startMarker.offset ||\n                    selection.focusNode !== endMarker.node ||\n                    selection.focusOffset !== endMarker.offset)\n                ) {\n                  var range = doc.createRange();\n                  range.setStart(startMarker.node, startMarker.offset);\n                  selection.removeAllRanges();\n                  start$jscomp$0 > end$jscomp$0\n                    ? (selection.addRange(range),\n                      selection.extend(endMarker.node, endMarker.offset))\n                    : (range.setEnd(endMarker.node, endMarker.offset),\n                      selection.addRange(range));\n                }\n              }\n            }\n          }\n          doc = [];\n          for (\n            selection = priorFocusedElem;\n            (selection = selection.parentNode);\n\n          )\n            1 === selection.nodeType &&\n              doc.push({\n                element: selection,\n                left: selection.scrollLeft,\n                top: selection.scrollTop\n              });\n          \"function\" === typeof priorFocusedElem.focus &&\n            priorFocusedElem.focus();\n          for (\n            priorFocusedElem = 0;\n            priorFocusedElem < doc.length;\n            priorFocusedElem++\n          ) {\n            var info = doc[priorFocusedElem];\n            info.element.scrollLeft = info.left;\n            info.element.scrollTop = info.top;\n          }\n        }\n        _enabled = !!eventsEnabled;\n        selectionInformation = eventsEnabled = null;\n      } finally {\n        (executionContext = prevExecutionContext),\n          (ReactDOMSharedInternals.p = previousPriority),\n          (ReactSharedInternals.T = rootMutationHasEffect);\n      }\n    }\n    root.current = finishedWork;\n    pendingEffectsStatus = 2;\n  }\n}\nfunction flushLayoutEffects() {\n  if (2 === pendingEffectsStatus) {\n    pendingEffectsStatus = 0;\n    var root = pendingEffectsRoot,\n      finishedWork = pendingFinishedWork,\n      rootHasLayoutEffect = 0 !== (finishedWork.flags & 8772);\n    if (0 !== (finishedWork.subtreeFlags & 8772) || rootHasLayoutEffect) {\n      rootHasLayoutEffect = ReactSharedInternals.T;\n      ReactSharedInternals.T = null;\n      var previousPriority = ReactDOMSharedInternals.p;\n      ReactDOMSharedInternals.p = 2;\n      var prevExecutionContext = executionContext;\n      executionContext |= 4;\n      try {\n        commitLayoutEffectOnFiber(root, finishedWork.alternate, finishedWork);\n      } finally {\n        (executionContext = prevExecutionContext),\n          (ReactDOMSharedInternals.p = previousPriority),\n          (ReactSharedInternals.T = rootHasLayoutEffect);\n      }\n    }\n    pendingEffectsStatus = 3;\n  }\n}\nfunction flushSpawnedWork() {\n  if (4 === pendingEffectsStatus || 3 === pendingEffectsStatus) {\n    pendingEffectsStatus = 0;\n    var committedViewTransition = pendingViewTransition;\n    pendingViewTransition = null;\n    requestPaint();\n    var root = pendingEffectsRoot,\n      finishedWork = pendingFinishedWork,\n      lanes = pendingEffectsLanes,\n      recoverableErrors = pendingRecoverableErrors,\n      passiveSubtreeMask = (lanes & 335544064) === lanes ? 10262 : 10256;\n    0 !== (finishedWork.subtreeFlags & passiveSubtreeMask) ||\n    0 !== (finishedWork.flags & passiveSubtreeMask)\n      ? (pendingEffectsStatus = 5)\n      : ((pendingEffectsStatus = 0),\n        (pendingFinishedWork = pendingEffectsRoot = null),\n        releaseRootPooledCache(root, root.pendingLanes));\n    passiveSubtreeMask = root.pendingLanes;\n    0 === passiveSubtreeMask && (legacyErrorBoundariesThatAlreadyFailed = null);\n    lanesToEventPriority(lanes);\n    finishedWork = finishedWork.stateNode;\n    if (injectedHook && \"function\" === typeof injectedHook.onCommitFiberRoot)\n      try {\n        injectedHook.onCommitFiberRoot(\n          rendererID,\n          finishedWork,\n          void 0,\n          128 === (finishedWork.current.flags & 128)\n        );\n      } catch (err) {}\n    if (null !== recoverableErrors) {\n      finishedWork = ReactSharedInternals.T;\n      passiveSubtreeMask = ReactDOMSharedInternals.p;\n      ReactDOMSharedInternals.p = 2;\n      ReactSharedInternals.T = null;\n      try {\n        for (\n          var onRecoverableError = root.onRecoverableError, i = 0;\n          i < recoverableErrors.length;\n          i++\n        ) {\n          var recoverableError = recoverableErrors[i];\n          onRecoverableError(recoverableError.value, {\n            componentStack: recoverableError.stack\n          });\n        }\n      } finally {\n        (ReactSharedInternals.T = finishedWork),\n          (ReactDOMSharedInternals.p = passiveSubtreeMask);\n      }\n    }\n    recoverableErrors = pendingViewTransitionEvents;\n    onRecoverableError = pendingTransitionTypes;\n    pendingTransitionTypes = null;\n    if (\n      null !== recoverableErrors &&\n      ((pendingViewTransitionEvents = null),\n      null === onRecoverableError && (onRecoverableError = []),\n      null !== committedViewTransition)\n    )\n      for (\n        recoverableError = 0;\n        recoverableError < recoverableErrors.length;\n        recoverableError++\n      )\n        (finishedWork = (0, recoverableErrors[recoverableError])(\n          onRecoverableError\n        )),\n          void 0 !== finishedWork &&\n            committedViewTransition.finished.finally(finishedWork);\n    0 !== (pendingEffectsLanes & 3) && flushPendingEffects();\n    ensureRootIsScheduled(root);\n    passiveSubtreeMask = root.pendingLanes;\n    0 !== (lanes & 261930) && 0 !== (passiveSubtreeMask & 42)\n      ? root === rootWithNestedUpdates\n        ? nestedUpdateCount++\n        : ((nestedUpdateCount = 0), (rootWithNestedUpdates = root))\n      : ((nestedUpdateCount = 0), (rootWithNestedUpdates = null));\n    flushSyncWorkAcrossRoots_impl(0, !1);\n  }\n}\nfunction releaseRootPooledCache(root, remainingLanes) {\n  0 === (root.pooledCacheLanes &= remainingLanes) &&\n    ((remainingLanes = root.pooledCache),\n    null != remainingLanes &&\n      ((root.pooledCache = null), releaseCache(remainingLanes)));\n}\nfunction flushPendingEffects() {\n  null !== pendingViewTransition &&\n    (pendingViewTransition.skipTransition(), (pendingViewTransition = null));\n  flushMutationEffects();\n  flushLayoutEffects();\n  flushSpawnedWork();\n  return flushPassiveEffects();\n}\nfunction flushPassiveEffects() {\n  if (5 !== pendingEffectsStatus) return !1;\n  var root = pendingEffectsRoot,\n    remainingLanes = pendingEffectsRemainingLanes;\n  pendingEffectsRemainingLanes = 0;\n  var renderPriority = lanesToEventPriority(pendingEffectsLanes),\n    prevTransition = ReactSharedInternals.T,\n    previousPriority = ReactDOMSharedInternals.p;\n  try {\n    ReactDOMSharedInternals.p = 32 > renderPriority ? 32 : renderPriority;\n    ReactSharedInternals.T = null;\n    renderPriority = pendingPassiveTransitions;\n    pendingPassiveTransitions = null;\n    var root$jscomp$0 = pendingEffectsRoot,\n      lanes = pendingEffectsLanes;\n    pendingEffectsStatus = 0;\n    pendingFinishedWork = pendingEffectsRoot = null;\n    pendingEffectsLanes = 0;\n    if (0 !== (executionContext & 6)) throw Error(formatProdErrorMessage(331));\n    var prevExecutionContext = executionContext;\n    executionContext |= 4;\n    commitPassiveUnmountOnFiber(root$jscomp$0.current);\n    commitPassiveMountOnFiber(\n      root$jscomp$0,\n      root$jscomp$0.current,\n      lanes,\n      renderPriority\n    );\n    executionContext = prevExecutionContext;\n    flushSyncWorkAcrossRoots_impl(0, !1);\n    if (\n      injectedHook &&\n      \"function\" === typeof injectedHook.onPostCommitFiberRoot\n    )\n      try {\n        injectedHook.onPostCommitFiberRoot(rendererID, root$jscomp$0);\n      } catch (err) {}\n    return !0;\n  } finally {\n    (ReactDOMSharedInternals.p = previousPriority),\n      (ReactSharedInternals.T = prevTransition),\n      releaseRootPooledCache(root, remainingLanes);\n  }\n}\nfunction captureCommitPhaseErrorOnRoot(rootFiber, sourceFiber, error) {\n  sourceFiber = createCapturedValueAtFiber(error, sourceFiber);\n  sourceFiber = createRootErrorUpdate(rootFiber.stateNode, sourceFiber, 2);\n  rootFiber = enqueueUpdate(rootFiber, sourceFiber, 2);\n  null !== rootFiber &&\n    (markRootUpdated$1(rootFiber, 2), ensureRootIsScheduled(rootFiber));\n}\nfunction captureCommitPhaseError(sourceFiber, nearestMountedAncestor, error) {\n  if (3 === sourceFiber.tag)\n    captureCommitPhaseErrorOnRoot(sourceFiber, sourceFiber, error);\n  else\n    for (; null !== nearestMountedAncestor; ) {\n      if (3 === nearestMountedAncestor.tag) {\n        captureCommitPhaseErrorOnRoot(\n          nearestMountedAncestor,\n          sourceFiber,\n          error\n        );\n        break;\n      } else if (1 === nearestMountedAncestor.tag) {\n        var instance = nearestMountedAncestor.stateNode;\n        if (\n          \"function\" ===\n            typeof nearestMountedAncestor.type.getDerivedStateFromError ||\n          (\"function\" === typeof instance.componentDidCatch &&\n            (null === legacyErrorBoundariesThatAlreadyFailed ||\n              !legacyErrorBoundariesThatAlreadyFailed.has(instance)))\n        ) {\n          sourceFiber = createCapturedValueAtFiber(error, sourceFiber);\n          error = createClassErrorUpdate(2);\n          instance = enqueueUpdate(nearestMountedAncestor, error, 2);\n          null !== instance &&\n            (initializeClassErrorUpdate(\n              error,\n              instance,\n              nearestMountedAncestor,\n              sourceFiber\n            ),\n            markRootUpdated$1(instance, 2),\n            ensureRootIsScheduled(instance));\n          break;\n        }\n      }\n      nearestMountedAncestor = nearestMountedAncestor.return;\n    }\n}\nfunction attachPingListener(root, wakeable, lanes) {\n  var pingCache = root.pingCache;\n  if (null === pingCache) {\n    pingCache = root.pingCache = new PossiblyWeakMap();\n    var threadIDs = new Set();\n    pingCache.set(wakeable, threadIDs);\n  } else\n    (threadIDs = pingCache.get(wakeable)),\n      void 0 === threadIDs &&\n        ((threadIDs = new Set()), pingCache.set(wakeable, threadIDs));\n  threadIDs.has(lanes) ||\n    ((workInProgressRootDidAttachPingListener = !0),\n    threadIDs.add(lanes),\n    (root = pingSuspendedRoot.bind(null, root, wakeable, lanes)),\n    wakeable.then(root, root));\n}\nfunction pingSuspendedRoot(root, wakeable, pingedLanes) {\n  var pingCache = root.pingCache;\n  null !== pingCache && pingCache.delete(wakeable);\n  root.pingedLanes |= root.suspendedLanes & pingedLanes;\n  root.warmLanes &= ~pingedLanes;\n  workInProgressRoot === root &&\n    (workInProgressRootRenderLanes & pingedLanes) === pingedLanes &&\n    (4 === workInProgressRootExitStatus ||\n    (3 === workInProgressRootExitStatus &&\n      (workInProgressRootRenderLanes & 62914560) ===\n        workInProgressRootRenderLanes &&\n      300 > now() - globalMostRecentFallbackTime)\n      ? 0 === (executionContext & 2)\n        ? prepareFreshStack(root, 0)\n        : (workInProgressRootPingedLanes |= pingedLanes)\n      : (workInProgressRootPingedLanes |= pingedLanes),\n    workInProgressSuspendedRetryLanes === workInProgressRootRenderLanes &&\n      (workInProgressSuspendedRetryLanes = 0));\n  ensureRootIsScheduled(root);\n}\nfunction retryTimedOutBoundary(boundaryFiber, retryLane) {\n  0 === retryLane && (retryLane = claimNextRetryLane());\n  boundaryFiber = enqueueConcurrentRenderForLane(boundaryFiber, retryLane);\n  null !== boundaryFiber &&\n    (markRootUpdated$1(boundaryFiber, retryLane),\n    ensureRootIsScheduled(boundaryFiber));\n}\nfunction retryDehydratedSuspenseBoundary(boundaryFiber) {\n  var suspenseState = boundaryFiber.memoizedState,\n    retryLane = 0;\n  null !== suspenseState && (retryLane = suspenseState.retryLane);\n  retryTimedOutBoundary(boundaryFiber, retryLane);\n}\nfunction resolveRetryWakeable(boundaryFiber, wakeable) {\n  var retryLane = 0;\n  switch (boundaryFiber.tag) {\n    case 31:\n    case 13:\n      var retryCache = boundaryFiber.stateNode;\n      var suspenseState = boundaryFiber.memoizedState;\n      null !== suspenseState && (retryLane = suspenseState.retryLane);\n      break;\n    case 19:\n      retryCache = boundaryFiber.stateNode;\n      break;\n    case 22:\n      retryCache = boundaryFiber.stateNode._retryCache;\n      break;\n    default:\n      throw Error(formatProdErrorMessage(314));\n  }\n  null !== retryCache && retryCache.delete(wakeable);\n  retryTimedOutBoundary(boundaryFiber, retryLane);\n}\nfunction scheduleCallback$1(priorityLevel, callback) {\n  return scheduleCallback$3(priorityLevel, callback);\n}\nvar firstScheduledRoot = null,\n  lastScheduledRoot = null,\n  didScheduleMicrotask = !1,\n  mightHavePendingSyncWork = !1,\n  isFlushingWork = !1,\n  currentEventTransitionLane = 0;\nfunction ensureRootIsScheduled(root) {\n  root !== lastScheduledRoot &&\n    null === root.next &&\n    (null === lastScheduledRoot\n      ? (firstScheduledRoot = lastScheduledRoot = root)\n      : (lastScheduledRoot = lastScheduledRoot.next = root));\n  mightHavePendingSyncWork = !0;\n  didScheduleMicrotask ||\n    ((didScheduleMicrotask = !0), scheduleImmediateRootScheduleTask());\n}\nfunction flushSyncWorkAcrossRoots_impl(syncTransitionLanes, onlyLegacy) {\n  if (!isFlushingWork && mightHavePendingSyncWork) {\n    isFlushingWork = !0;\n    do {\n      var didPerformSomeWork = !1;\n      for (var root$186 = firstScheduledRoot; null !== root$186; ) {\n        if (!onlyLegacy)\n          if (0 !== syncTransitionLanes) {\n            var pendingLanes = root$186.pendingLanes;\n            if (0 === pendingLanes) var JSCompiler_inline_result = 0;\n            else {\n              var suspendedLanes = root$186.suspendedLanes,\n                pingedLanes = root$186.pingedLanes;\n              JSCompiler_inline_result =\n                (1 << (31 - clz32(42 | syncTransitionLanes) + 1)) - 1;\n              JSCompiler_inline_result &=\n                pendingLanes & ~(suspendedLanes & ~pingedLanes);\n              JSCompiler_inline_result =\n                JSCompiler_inline_result & 201326741\n                  ? (JSCompiler_inline_result & 201326741) | 1\n                  : JSCompiler_inline_result\n                    ? JSCompiler_inline_result | 2\n                    : 0;\n            }\n            0 !== JSCompiler_inline_result &&\n              ((didPerformSomeWork = !0),\n              performSyncWorkOnRoot(root$186, JSCompiler_inline_result));\n          } else\n            (JSCompiler_inline_result = workInProgressRootRenderLanes),\n              (JSCompiler_inline_result = getNextLanes(\n                root$186,\n                root$186 === workInProgressRoot ? JSCompiler_inline_result : 0,\n                null !== root$186.cancelPendingCommit ||\n                  -1 !== root$186.timeoutHandle\n              )),\n              0 === (JSCompiler_inline_result & 3) ||\n                checkIfRootIsPrerendering(root$186, JSCompiler_inline_result) ||\n                ((didPerformSomeWork = !0),\n                performSyncWorkOnRoot(root$186, JSCompiler_inline_result));\n        root$186 = root$186.next;\n      }\n    } while (didPerformSomeWork);\n    isFlushingWork = !1;\n  }\n}\nfunction processRootScheduleInImmediateTask() {\n  processRootScheduleInMicrotask();\n}\nfunction processRootScheduleInMicrotask() {\n  mightHavePendingSyncWork = didScheduleMicrotask = !1;\n  var syncTransitionLanes = 0;\n  0 !== currentEventTransitionLane &&\n    shouldAttemptEagerTransition() &&\n    (syncTransitionLanes = currentEventTransitionLane);\n  for (\n    var currentTime = now(), prev = null, root = firstScheduledRoot;\n    null !== root;\n\n  ) {\n    var next = root.next,\n      nextLanes = scheduleTaskForRootDuringMicrotask(root, currentTime);\n    if (0 === nextLanes)\n      (root.next = null),\n        null === prev ? (firstScheduledRoot = next) : (prev.next = next),\n        null === next && (lastScheduledRoot = prev);\n    else if (\n      ((prev = root), 0 !== syncTransitionLanes || 0 !== (nextLanes & 3))\n    )\n      mightHavePendingSyncWork = !0;\n    root = next;\n  }\n  (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus) ||\n    flushSyncWorkAcrossRoots_impl(syncTransitionLanes, !1);\n  0 !== currentEventTransitionLane && (currentEventTransitionLane = 0);\n}\nfunction scheduleTaskForRootDuringMicrotask(root, currentTime) {\n  for (\n    var suspendedLanes = root.suspendedLanes,\n      pingedLanes = root.pingedLanes,\n      expirationTimes = root.expirationTimes,\n      lanes = root.pendingLanes & -62914561;\n    0 < lanes;\n\n  ) {\n    var index$5 = 31 - clz32(lanes),\n      lane = 1 << index$5,\n      expirationTime = expirationTimes[index$5];\n    if (-1 === expirationTime) {\n      if (0 === (lane & suspendedLanes) || 0 !== (lane & pingedLanes))\n        expirationTimes[index$5] = computeExpirationTime(lane, currentTime);\n    } else expirationTime <= currentTime && (root.expiredLanes |= lane);\n    lanes &= ~lane;\n  }\n  currentTime = workInProgressRoot;\n  suspendedLanes = workInProgressRootRenderLanes;\n  suspendedLanes = getNextLanes(\n    root,\n    root === currentTime ? suspendedLanes : 0,\n    null !== root.cancelPendingCommit || -1 !== root.timeoutHandle\n  );\n  pingedLanes = root.callbackNode;\n  if (\n    0 === suspendedLanes ||\n    (root === currentTime &&\n      (2 === workInProgressSuspendedReason ||\n        9 === workInProgressSuspendedReason)) ||\n    null !== root.cancelPendingCommit\n  )\n    return (\n      null !== pingedLanes &&\n        null !== pingedLanes &&\n        cancelCallback$1(pingedLanes),\n      (root.callbackNode = null),\n      (root.callbackPriority = 0)\n    );\n  if (\n    0 === (suspendedLanes & 3) ||\n    checkIfRootIsPrerendering(root, suspendedLanes)\n  ) {\n    currentTime = suspendedLanes & -suspendedLanes;\n    if (currentTime === root.callbackPriority) return currentTime;\n    null !== pingedLanes && cancelCallback$1(pingedLanes);\n    switch (lanesToEventPriority(suspendedLanes)) {\n      case 2:\n      case 8:\n        suspendedLanes = UserBlockingPriority;\n        break;\n      case 32:\n        suspendedLanes = NormalPriority$1;\n        break;\n      case 268435456:\n        suspendedLanes = IdlePriority;\n        break;\n      default:\n        suspendedLanes = NormalPriority$1;\n    }\n    pingedLanes = performWorkOnRootViaSchedulerTask.bind(null, root);\n    suspendedLanes = scheduleCallback$3(suspendedLanes, pingedLanes);\n    root.callbackPriority = currentTime;\n    root.callbackNode = suspendedLanes;\n    return currentTime;\n  }\n  null !== pingedLanes && null !== pingedLanes && cancelCallback$1(pingedLanes);\n  root.callbackPriority = 2;\n  root.callbackNode = null;\n  return 2;\n}\nfunction performWorkOnRootViaSchedulerTask(root, didTimeout) {\n  if (0 !== pendingEffectsStatus && 5 !== pendingEffectsStatus)\n    return (root.callbackNode = null), (root.callbackPriority = 0), null;\n  var originalCallbackNode = root.callbackNode;\n  if (flushPendingEffects() && root.callbackNode !== originalCallbackNode)\n    return null;\n  var workInProgressRootRenderLanes$jscomp$0 = workInProgressRootRenderLanes;\n  workInProgressRootRenderLanes$jscomp$0 = getNextLanes(\n    root,\n    root === workInProgressRoot ? workInProgressRootRenderLanes$jscomp$0 : 0,\n    null !== root.cancelPendingCommit || -1 !== root.timeoutHandle\n  );\n  if (0 === workInProgressRootRenderLanes$jscomp$0) return null;\n  performWorkOnRoot(root, workInProgressRootRenderLanes$jscomp$0, didTimeout);\n  scheduleTaskForRootDuringMicrotask(root, now());\n  return null != root.callbackNode && root.callbackNode === originalCallbackNode\n    ? performWorkOnRootViaSchedulerTask.bind(null, root)\n    : null;\n}\nfunction performSyncWorkOnRoot(root, lanes) {\n  if (flushPendingEffects()) return null;\n  performWorkOnRoot(root, lanes, !0);\n}\nfunction scheduleImmediateRootScheduleTask() {\n  scheduleMicrotask(function () {\n    0 !== (executionContext & 6)\n      ? scheduleCallback$3(\n          ImmediatePriority,\n          processRootScheduleInImmediateTask\n        )\n      : processRootScheduleInMicrotask();\n  });\n}\nfunction requestTransitionLane() {\n  if (0 === currentEventTransitionLane) {\n    var actionScopeLane = currentEntangledLane;\n    0 === actionScopeLane &&\n      ((actionScopeLane = nextTransitionUpdateLane),\n      (nextTransitionUpdateLane <<= 1),\n      0 === (nextTransitionUpdateLane & 261888) &&\n        (nextTransitionUpdateLane = 256));\n    currentEventTransitionLane = actionScopeLane;\n  }\n  return currentEventTransitionLane;\n}\nfunction coerceFormActionProp(actionProp) {\n  return null == actionProp ||\n    \"symbol\" === typeof actionProp ||\n    \"boolean\" === typeof actionProp\n    ? null\n    : \"function\" === typeof actionProp\n      ? actionProp\n      : sanitizeURL(actionProp);\n}\nfunction extractEvents$1(\n  dispatchQueue,\n  domEventName,\n  maybeTargetInst,\n  nativeEvent,\n  nativeEventTarget\n) {\n  if (\n    \"submit\" === domEventName &&\n    maybeTargetInst &&\n    maybeTargetInst.stateNode === nativeEventTarget\n  ) {\n    var action = coerceFormActionProp(\n        (nativeEventTarget[internalPropsKey] || null).action\n      ),\n      submitter = nativeEvent.submitter;\n    submitter &&\n      ((domEventName = (domEventName = submitter[internalPropsKey] || null)\n        ? coerceFormActionProp(domEventName.formAction)\n        : submitter.getAttribute(\"formAction\")),\n      null !== domEventName && ((action = domEventName), (submitter = null)));\n    var event = new SyntheticEvent(\n      \"action\",\n      \"action\",\n      null,\n      nativeEvent,\n      nativeEventTarget\n    );\n    dispatchQueue.push({\n      event: event,\n      listeners: [\n        {\n          instance: null,\n          listener: function () {\n            if (nativeEvent.defaultPrevented) {\n              if (0 !== currentEventTransitionLane) {\n                var formData = new FormData(nativeEventTarget, submitter);\n                startHostTransition(\n                  maybeTargetInst,\n                  {\n                    pending: !0,\n                    data: formData,\n                    method: nativeEventTarget.method,\n                    action: action\n                  },\n                  null,\n                  formData\n                );\n              }\n            } else\n              \"function\" === typeof action &&\n                (event.preventDefault(),\n                (formData = new FormData(nativeEventTarget, submitter)),\n                startHostTransition(\n                  maybeTargetInst,\n                  {\n                    pending: !0,\n                    data: formData,\n                    method: nativeEventTarget.method,\n                    action: action\n                  },\n                  action,\n                  formData\n                ));\n          },\n          currentTarget: nativeEventTarget\n        }\n      ]\n    });\n  }\n}\nfor (\n  var i$jscomp$inline_1690 = 0;\n  i$jscomp$inline_1690 < simpleEventPluginEvents.length;\n  i$jscomp$inline_1690++\n) {\n  var eventName$jscomp$inline_1691 =\n      simpleEventPluginEvents[i$jscomp$inline_1690],\n    domEventName$jscomp$inline_1692 =\n      eventName$jscomp$inline_1691.toLowerCase(),\n    capitalizedEvent$jscomp$inline_1693 =\n      eventName$jscomp$inline_1691[0].toUpperCase() +\n      eventName$jscomp$inline_1691.slice(1);\n  registerSimpleEvent(\n    domEventName$jscomp$inline_1692,\n    \"on\" + capitalizedEvent$jscomp$inline_1693\n  );\n}\nregisterSimpleEvent(ANIMATION_END, \"onAnimationEnd\");\nregisterSimpleEvent(ANIMATION_ITERATION, \"onAnimationIteration\");\nregisterSimpleEvent(ANIMATION_START, \"onAnimationStart\");\nregisterSimpleEvent(\"dblclick\", \"onDoubleClick\");\nregisterSimpleEvent(\"focusin\", \"onFocus\");\nregisterSimpleEvent(\"focusout\", \"onBlur\");\nregisterSimpleEvent(TRANSITION_RUN, \"onTransitionRun\");\nregisterSimpleEvent(TRANSITION_START, \"onTransitionStart\");\nregisterSimpleEvent(TRANSITION_CANCEL, \"onTransitionCancel\");\nregisterSimpleEvent(TRANSITION_END, \"onTransitionEnd\");\nregisterDirectEvent(\"onMouseEnter\", [\"mouseout\", \"mouseover\"]);\nregisterDirectEvent(\"onMouseLeave\", [\"mouseout\", \"mouseover\"]);\nregisterDirectEvent(\"onPointerEnter\", [\"pointerout\", \"pointerover\"]);\nregisterDirectEvent(\"onPointerLeave\", [\"pointerout\", \"pointerover\"]);\nregisterTwoPhaseEvent(\n  \"onChange\",\n  \"change click focusin focusout input keydown keyup selectionchange\".split(\" \")\n);\nregisterTwoPhaseEvent(\n  \"onSelect\",\n  \"focusout contextmenu dragend focusin keydown keyup mousedown mouseup selectionchange\".split(\n    \" \"\n  )\n);\nregisterTwoPhaseEvent(\"onBeforeInput\", [\n  \"compositionend\",\n  \"keypress\",\n  \"textInput\",\n  \"paste\"\n]);\nregisterTwoPhaseEvent(\n  \"onCompositionEnd\",\n  \"compositionend focusout keydown keypress keyup mousedown\".split(\" \")\n);\nregisterTwoPhaseEvent(\n  \"onCompositionStart\",\n  \"compositionstart focusout keydown keypress keyup mousedown\".split(\" \")\n);\nregisterTwoPhaseEvent(\n  \"onCompositionUpdate\",\n  \"compositionupdate focusout keydown keypress keyup mousedown\".split(\" \")\n);\nvar mediaEventTypes =\n    \"abort canplay canplaythrough durationchange emptied encrypted ended error loadeddata loadedmetadata loadstart pause play playing progress ratechange resize seeked seeking stalled suspend timeupdate volumechange waiting\".split(\n      \" \"\n    ),\n  nonDelegatedEvents = new Set(\n    \"beforetoggle cancel close invalid load scroll scrollend toggle\"\n      .split(\" \")\n      .concat(mediaEventTypes)\n  );\nfunction processDispatchQueue(dispatchQueue, eventSystemFlags) {\n  eventSystemFlags = 0 !== (eventSystemFlags & 4);\n  for (var i = 0; i < dispatchQueue.length; i++) {\n    var _dispatchQueue$i = dispatchQueue[i],\n      event = _dispatchQueue$i.event;\n    _dispatchQueue$i = _dispatchQueue$i.listeners;\n    a: {\n      var previousInstance = void 0;\n      if (eventSystemFlags)\n        for (\n          var i$jscomp$0 = _dispatchQueue$i.length - 1;\n          0 <= i$jscomp$0;\n          i$jscomp$0--\n        ) {\n          var _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0],\n            instance = _dispatchListeners$i.instance,\n            currentTarget = _dispatchListeners$i.currentTarget;\n          _dispatchListeners$i = _dispatchListeners$i.listener;\n          if (instance !== previousInstance && event.isPropagationStopped())\n            break a;\n          previousInstance = _dispatchListeners$i;\n          event.currentTarget = currentTarget;\n          try {\n            previousInstance(event);\n          } catch (error) {\n            reportGlobalError(error);\n          }\n          event.currentTarget = null;\n          previousInstance = instance;\n        }\n      else\n        for (\n          i$jscomp$0 = 0;\n          i$jscomp$0 < _dispatchQueue$i.length;\n          i$jscomp$0++\n        ) {\n          _dispatchListeners$i = _dispatchQueue$i[i$jscomp$0];\n          instance = _dispatchListeners$i.instance;\n          currentTarget = _dispatchListeners$i.currentTarget;\n          _dispatchListeners$i = _dispatchListeners$i.listener;\n          if (instance !== previousInstance && event.isPropagationStopped())\n            break a;\n          previousInstance = _dispatchListeners$i;\n          event.currentTarget = currentTarget;\n          try {\n            previousInstance(event);\n          } catch (error) {\n            reportGlobalError(error);\n          }\n          event.currentTarget = null;\n          previousInstance = instance;\n        }\n    }\n  }\n}\nfunction listenToNonDelegatedEvent(domEventName, targetElement) {\n  var JSCompiler_inline_result = targetElement[internalEventHandlersKey];\n  void 0 === JSCompiler_inline_result &&\n    (JSCompiler_inline_result = targetElement[internalEventHandlersKey] =\n      new Set());\n  var listenerSetKey = domEventName + \"__bubble\";\n  JSCompiler_inline_result.has(listenerSetKey) ||\n    (addTrappedEventListener(targetElement, domEventName, 2, !1),\n    JSCompiler_inline_result.add(listenerSetKey));\n}\nfunction listenToNativeEvent(domEventName, isCapturePhaseListener, target) {\n  var eventSystemFlags = 0;\n  isCapturePhaseListener && (eventSystemFlags |= 4);\n  addTrappedEventListener(\n    target,\n    domEventName,\n    eventSystemFlags,\n    isCapturePhaseListener\n  );\n}\nvar listeningMarker = \"_reactListening\" + Math.random().toString(36).slice(2);\nfunction listenToAllSupportedEvents(rootContainerElement) {\n  if (!rootContainerElement[listeningMarker]) {\n    rootContainerElement[listeningMarker] = !0;\n    allNativeEvents.forEach(function (domEventName) {\n      \"selectionchange\" !== domEventName &&\n        (nonDelegatedEvents.has(domEventName) ||\n          listenToNativeEvent(domEventName, !1, rootContainerElement),\n        listenToNativeEvent(domEventName, !0, rootContainerElement));\n    });\n    var ownerDocument =\n      9 === rootContainerElement.nodeType\n        ? rootContainerElement\n        : rootContainerElement.ownerDocument;\n    null === ownerDocument ||\n      ownerDocument[listeningMarker] ||\n      ((ownerDocument[listeningMarker] = !0),\n      listenToNativeEvent(\"selectionchange\", !1, ownerDocument));\n  }\n}\nfunction addTrappedEventListener(\n  targetContainer,\n  domEventName,\n  eventSystemFlags,\n  isCapturePhaseListener\n) {\n  switch (getEventPriority(domEventName)) {\n    case 2:\n      var listenerWrapper = dispatchDiscreteEvent;\n      break;\n    case 8:\n      listenerWrapper = dispatchContinuousEvent;\n      break;\n    default:\n      listenerWrapper = dispatchEvent;\n  }\n  eventSystemFlags = listenerWrapper.bind(\n    null,\n    domEventName,\n    eventSystemFlags,\n    targetContainer\n  );\n  listenerWrapper = void 0;\n  !passiveBrowserEventsSupported ||\n    (\"touchstart\" !== domEventName &&\n      \"touchmove\" !== domEventName &&\n      \"wheel\" !== domEventName) ||\n    (listenerWrapper = !0);\n  isCapturePhaseListener\n    ? void 0 !== listenerWrapper\n      ? targetContainer.addEventListener(domEventName, eventSystemFlags, {\n          capture: !0,\n          passive: listenerWrapper\n        })\n      : targetContainer.addEventListener(domEventName, eventSystemFlags, !0)\n    : void 0 !== listenerWrapper\n      ? targetContainer.addEventListener(domEventName, eventSystemFlags, {\n          passive: listenerWrapper\n        })\n      : targetContainer.addEventListener(domEventName, eventSystemFlags, !1);\n}\nfunction dispatchEventForPluginEventSystem(\n  domEventName,\n  eventSystemFlags,\n  nativeEvent,\n  targetInst$jscomp$0,\n  targetContainer\n) {\n  var ancestorInst = targetInst$jscomp$0;\n  if (\n    0 === (eventSystemFlags & 1) &&\n    0 === (eventSystemFlags & 2) &&\n    null !== targetInst$jscomp$0\n  )\n    a: for (;;) {\n      if (null === targetInst$jscomp$0) return;\n      var nodeTag = targetInst$jscomp$0.tag;\n      if (3 === nodeTag || 4 === nodeTag) {\n        var container = targetInst$jscomp$0.stateNode.containerInfo;\n        if (container === targetContainer) break;\n        if (4 === nodeTag)\n          for (nodeTag = targetInst$jscomp$0.return; null !== nodeTag; ) {\n            var grandTag = nodeTag.tag;\n            if (\n              (3 === grandTag || 4 === grandTag) &&\n              nodeTag.stateNode.containerInfo === targetContainer\n            )\n              return;\n            nodeTag = nodeTag.return;\n          }\n        for (; null !== container; ) {\n          nodeTag = getClosestInstanceFromNode(container);\n          if (null === nodeTag) return;\n          grandTag = nodeTag.tag;\n          if (\n            5 === grandTag ||\n            6 === grandTag ||\n            26 === grandTag ||\n            27 === grandTag\n          ) {\n            targetInst$jscomp$0 = ancestorInst = nodeTag;\n            continue a;\n          }\n          container = container.parentNode;\n        }\n      }\n      targetInst$jscomp$0 = targetInst$jscomp$0.return;\n    }\n  batchedUpdates$1(function () {\n    var targetInst = ancestorInst,\n      nativeEventTarget = getEventTarget(nativeEvent),\n      dispatchQueue = [];\n    a: {\n      var reactName = topLevelEventsToReactNames.get(domEventName);\n      if (void 0 !== reactName) {\n        var SyntheticEventCtor = SyntheticEvent,\n          reactEventType = domEventName;\n        switch (domEventName) {\n          case \"keypress\":\n            if (0 === getEventCharCode(nativeEvent)) break a;\n          case \"keydown\":\n          case \"keyup\":\n            SyntheticEventCtor = SyntheticKeyboardEvent;\n            break;\n          case \"focusin\":\n            reactEventType = \"focus\";\n            SyntheticEventCtor = SyntheticFocusEvent;\n            break;\n          case \"focusout\":\n            reactEventType = \"blur\";\n            SyntheticEventCtor = SyntheticFocusEvent;\n            break;\n          case \"beforeblur\":\n          case \"afterblur\":\n            SyntheticEventCtor = SyntheticFocusEvent;\n            break;\n          case \"click\":\n            if (2 === nativeEvent.button) break a;\n          case \"auxclick\":\n          case \"dblclick\":\n          case \"mousedown\":\n          case \"mousemove\":\n          case \"mouseup\":\n          case \"mouseout\":\n          case \"mouseover\":\n          case \"contextmenu\":\n            SyntheticEventCtor = SyntheticMouseEvent;\n            break;\n          case \"drag\":\n          case \"dragend\":\n          case \"dragenter\":\n          case \"dragexit\":\n          case \"dragleave\":\n          case \"dragover\":\n          case \"dragstart\":\n          case \"drop\":\n            SyntheticEventCtor = SyntheticDragEvent;\n            break;\n          case \"touchcancel\":\n          case \"touchend\":\n          case \"touchmove\":\n          case \"touchstart\":\n            SyntheticEventCtor = SyntheticTouchEvent;\n            break;\n          case ANIMATION_END:\n          case ANIMATION_ITERATION:\n          case ANIMATION_START:\n            SyntheticEventCtor = SyntheticAnimationEvent;\n            break;\n          case TRANSITION_END:\n            SyntheticEventCtor = SyntheticTransitionEvent;\n            break;\n          case \"scroll\":\n          case \"scrollend\":\n            SyntheticEventCtor = SyntheticUIEvent;\n            break;\n          case \"wheel\":\n            SyntheticEventCtor = SyntheticWheelEvent;\n            break;\n          case \"copy\":\n          case \"cut\":\n          case \"paste\":\n            SyntheticEventCtor = SyntheticClipboardEvent;\n            break;\n          case \"gotpointercapture\":\n          case \"lostpointercapture\":\n          case \"pointercancel\":\n          case \"pointerdown\":\n          case \"pointermove\":\n          case \"pointerout\":\n          case \"pointerover\":\n          case \"pointerup\":\n            SyntheticEventCtor = SyntheticPointerEvent;\n            break;\n          case \"submit\":\n            SyntheticEventCtor = SyntheticSubmitEvent;\n            break;\n          case \"toggle\":\n          case \"beforetoggle\":\n            SyntheticEventCtor = SyntheticToggleEvent;\n        }\n        var inCapturePhase = 0 !== (eventSystemFlags & 4),\n          accumulateTargetOnly =\n            !inCapturePhase &&\n            (\"scroll\" === domEventName || \"scrollend\" === domEventName),\n          reactEventName = inCapturePhase\n            ? null !== reactName\n              ? reactName + \"Capture\"\n              : null\n            : reactName;\n        inCapturePhase = [];\n        for (\n          var instance = targetInst, lastHostComponent;\n          null !== instance;\n\n        ) {\n          var _instance = instance;\n          lastHostComponent = _instance.stateNode;\n          _instance = _instance.tag;\n          (5 !== _instance && 26 !== _instance && 27 !== _instance) ||\n            null === lastHostComponent ||\n            null === reactEventName ||\n            ((_instance = getListener(instance, reactEventName)),\n            null != _instance &&\n              inCapturePhase.push(\n                createDispatchListener(instance, _instance, lastHostComponent)\n              ));\n          if (accumulateTargetOnly) break;\n          instance = instance.return;\n        }\n        0 < inCapturePhase.length &&\n          ((reactName = new SyntheticEventCtor(\n            reactName,\n            reactEventType,\n            null,\n            nativeEvent,\n            nativeEventTarget\n          )),\n          dispatchQueue.push({ event: reactName, listeners: inCapturePhase }));\n      }\n    }\n    if (0 === (eventSystemFlags & 7)) {\n      a: {\n        SyntheticEventCtor =\n          \"mouseover\" === domEventName || \"pointerover\" === domEventName;\n        reactName =\n          \"mouseout\" === domEventName || \"pointerout\" === domEventName;\n        if (\n          SyntheticEventCtor &&\n          nativeEvent !== currentReplayingEvent &&\n          (reactEventType =\n            nativeEvent.relatedTarget || nativeEvent.fromElement) &&\n          (getClosestInstanceFromNode(reactEventType) ||\n            reactEventType[internalContainerInstanceKey])\n        )\n          break a;\n        if (reactName || SyntheticEventCtor) {\n          reactEventType =\n            nativeEventTarget.window === nativeEventTarget\n              ? nativeEventTarget\n              : (SyntheticEventCtor = nativeEventTarget.ownerDocument)\n                ? SyntheticEventCtor.defaultView ||\n                  SyntheticEventCtor.parentWindow\n                : window;\n          if (reactName) {\n            if (\n              ((SyntheticEventCtor =\n                nativeEvent.relatedTarget || nativeEvent.toElement),\n              (reactName = targetInst),\n              (SyntheticEventCtor = SyntheticEventCtor\n                ? getClosestInstanceFromNode(SyntheticEventCtor)\n                : null),\n              null !== SyntheticEventCtor &&\n                ((accumulateTargetOnly =\n                  getNearestMountedFiber(SyntheticEventCtor)),\n                (inCapturePhase = SyntheticEventCtor.tag),\n                SyntheticEventCtor !== accumulateTargetOnly ||\n                  (5 !== inCapturePhase &&\n                    27 !== inCapturePhase &&\n                    6 !== inCapturePhase)))\n            )\n              SyntheticEventCtor = null;\n          } else (reactName = null), (SyntheticEventCtor = targetInst);\n          if (reactName !== SyntheticEventCtor) {\n            inCapturePhase = SyntheticMouseEvent;\n            _instance = \"onMouseLeave\";\n            reactEventName = \"onMouseEnter\";\n            instance = \"mouse\";\n            if (\"pointerout\" === domEventName || \"pointerover\" === domEventName)\n              (inCapturePhase = SyntheticPointerEvent),\n                (_instance = \"onPointerLeave\"),\n                (reactEventName = \"onPointerEnter\"),\n                (instance = \"pointer\");\n            accumulateTargetOnly =\n              null == reactName\n                ? reactEventType\n                : getNodeFromInstance(reactName);\n            lastHostComponent =\n              null == SyntheticEventCtor\n                ? reactEventType\n                : getNodeFromInstance(SyntheticEventCtor);\n            reactEventType = new inCapturePhase(\n              _instance,\n              instance + \"leave\",\n              reactName,\n              nativeEvent,\n              nativeEventTarget\n            );\n            reactEventType.target = accumulateTargetOnly;\n            reactEventType.relatedTarget = lastHostComponent;\n            _instance = null;\n            getClosestInstanceFromNode(nativeEventTarget) === targetInst &&\n              ((inCapturePhase = new inCapturePhase(\n                reactEventName,\n                instance + \"enter\",\n                SyntheticEventCtor,\n                nativeEvent,\n                nativeEventTarget\n              )),\n              (inCapturePhase.target = lastHostComponent),\n              (inCapturePhase.relatedTarget = accumulateTargetOnly),\n              (_instance = inCapturePhase));\n            accumulateTargetOnly = _instance;\n            inCapturePhase =\n              reactName && SyntheticEventCtor\n                ? getLowestCommonAncestor(\n                    reactName,\n                    SyntheticEventCtor,\n                    getParent\n                  )\n                : null;\n            null !== reactName &&\n              accumulateEnterLeaveListenersForEvent(\n                dispatchQueue,\n                reactEventType,\n                reactName,\n                inCapturePhase,\n                !1\n              );\n            null !== SyntheticEventCtor &&\n              null !== accumulateTargetOnly &&\n              accumulateEnterLeaveListenersForEvent(\n                dispatchQueue,\n                accumulateTargetOnly,\n                SyntheticEventCtor,\n                inCapturePhase,\n                !0\n              );\n          }\n        }\n      }\n      a: {\n        reactName = targetInst ? getNodeFromInstance(targetInst) : window;\n        SyntheticEventCtor =\n          reactName.nodeName && reactName.nodeName.toLowerCase();\n        if (\n          \"select\" === SyntheticEventCtor ||\n          (\"input\" === SyntheticEventCtor && \"file\" === reactName.type)\n        )\n          var getTargetInstFunc = getTargetInstForChangeEvent;\n        else if (isTextInputElement(reactName))\n          if (isInputEventSupported)\n            getTargetInstFunc = getTargetInstForInputOrChangeEvent;\n          else {\n            getTargetInstFunc = getTargetInstForInputEventPolyfill;\n            var handleEventFunc = handleEventsForInputEventPolyfill;\n          }\n        else\n          (SyntheticEventCtor = reactName.nodeName),\n            !SyntheticEventCtor ||\n            \"input\" !== SyntheticEventCtor.toLowerCase() ||\n            (\"checkbox\" !== reactName.type && \"radio\" !== reactName.type)\n              ? targetInst &&\n                isCustomElement(targetInst.elementType) &&\n                (getTargetInstFunc = getTargetInstForChangeEvent)\n              : (getTargetInstFunc = getTargetInstForClickEvent);\n        if (\n          getTargetInstFunc &&\n          (getTargetInstFunc = getTargetInstFunc(domEventName, targetInst))\n        ) {\n          createAndAccumulateChangeEvent(\n            dispatchQueue,\n            getTargetInstFunc,\n            nativeEvent,\n            nativeEventTarget\n          );\n          break a;\n        }\n        handleEventFunc && handleEventFunc(domEventName, reactName, targetInst);\n      }\n      handleEventFunc = targetInst ? getNodeFromInstance(targetInst) : window;\n      switch (domEventName) {\n        case \"focusin\":\n          if (\n            isTextInputElement(handleEventFunc) ||\n            \"true\" === handleEventFunc.contentEditable\n          )\n            (activeElement = handleEventFunc),\n              (activeElementInst = targetInst),\n              (lastSelection = null);\n          break;\n        case \"focusout\":\n          lastSelection = activeElementInst = activeElement = null;\n          break;\n        case \"mousedown\":\n          mouseDown = !0;\n          break;\n        case \"contextmenu\":\n        case \"mouseup\":\n        case \"dragend\":\n          mouseDown = !1;\n          constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget);\n          break;\n        case \"selectionchange\":\n          if (skipSelectionChangeEvent) break;\n        case \"keydown\":\n        case \"keyup\":\n          constructSelectEvent(dispatchQueue, nativeEvent, nativeEventTarget);\n      }\n      var fallbackData;\n      if (canUseCompositionEvent)\n        b: {\n          switch (domEventName) {\n            case \"compositionstart\":\n              var eventType = \"onCompositionStart\";\n              break b;\n            case \"compositionend\":\n              eventType = \"onCompositionEnd\";\n              break b;\n            case \"compositionupdate\":\n              eventType = \"onCompositionUpdate\";\n              break b;\n          }\n          eventType = void 0;\n        }\n      else\n        isComposing\n          ? isFallbackCompositionEnd(domEventName, nativeEvent) &&\n            (eventType = \"onCompositionEnd\")\n          : \"keydown\" === domEventName &&\n            229 === nativeEvent.keyCode &&\n            (eventType = \"onCompositionStart\");\n      eventType &&\n        (useFallbackCompositionData &&\n          \"ko\" !== nativeEvent.locale &&\n          (isComposing || \"onCompositionStart\" !== eventType\n            ? \"onCompositionEnd\" === eventType &&\n              isComposing &&\n              (fallbackData = getData())\n            : ((root = nativeEventTarget),\n              (startText = \"value\" in root ? root.value : root.textContent),\n              (isComposing = !0))),\n        (handleEventFunc = accumulateTwoPhaseListeners(targetInst, eventType)),\n        0 < handleEventFunc.length &&\n          ((eventType = new SyntheticCompositionEvent(\n            eventType,\n            domEventName,\n            null,\n            nativeEvent,\n            nativeEventTarget\n          )),\n          dispatchQueue.push({ event: eventType, listeners: handleEventFunc }),\n          fallbackData\n            ? (eventType.data = fallbackData)\n            : ((fallbackData = getDataFromCustomEvent(nativeEvent)),\n              null !== fallbackData && (eventType.data = fallbackData))));\n      if (\n        (fallbackData = canUseTextInputEvent\n          ? getNativeBeforeInputChars(domEventName, nativeEvent)\n          : getFallbackBeforeInputChars(domEventName, nativeEvent))\n      )\n        (eventType = accumulateTwoPhaseListeners(targetInst, \"onBeforeInput\")),\n          0 < eventType.length &&\n            ((handleEventFunc = new SyntheticCompositionEvent(\n              \"onBeforeInput\",\n              \"beforeinput\",\n              null,\n              nativeEvent,\n              nativeEventTarget\n            )),\n            dispatchQueue.push({\n              event: handleEventFunc,\n              listeners: eventType\n            }),\n            (handleEventFunc.data = fallbackData));\n      extractEvents$1(\n        dispatchQueue,\n        domEventName,\n        targetInst,\n        nativeEvent,\n        nativeEventTarget\n      );\n    }\n    processDispatchQueue(dispatchQueue, eventSystemFlags);\n  });\n}\nfunction createDispatchListener(instance, listener, currentTarget) {\n  return {\n    instance: instance,\n    listener: listener,\n    currentTarget: currentTarget\n  };\n}\nfunction accumulateTwoPhaseListeners(targetFiber, reactName) {\n  for (\n    var captureName = reactName + \"Capture\", listeners = [];\n    null !== targetFiber;\n\n  ) {\n    var _instance2 = targetFiber,\n      stateNode = _instance2.stateNode;\n    _instance2 = _instance2.tag;\n    (5 !== _instance2 && 26 !== _instance2 && 27 !== _instance2) ||\n      null === stateNode ||\n      ((_instance2 = getListener(targetFiber, captureName)),\n      null != _instance2 &&\n        listeners.unshift(\n          createDispatchListener(targetFiber, _instance2, stateNode)\n        ),\n      (_instance2 = getListener(targetFiber, reactName)),\n      null != _instance2 &&\n        listeners.push(\n          createDispatchListener(targetFiber, _instance2, stateNode)\n        ));\n    if (3 === targetFiber.tag) return listeners;\n    targetFiber = targetFiber.return;\n  }\n  return [];\n}\nfunction getParent(inst) {\n  if (null === inst) return null;\n  do inst = inst.return;\n  while (inst && 5 !== inst.tag && 27 !== inst.tag);\n  return inst ? inst : null;\n}\nfunction accumulateEnterLeaveListenersForEvent(\n  dispatchQueue,\n  event,\n  target,\n  common,\n  inCapturePhase\n) {\n  for (\n    var registrationName = event._reactName, listeners = [];\n    null !== target && target !== common;\n\n  ) {\n    var _instance3 = target,\n      alternate = _instance3.alternate,\n      stateNode = _instance3.stateNode;\n    _instance3 = _instance3.tag;\n    if (null !== alternate && alternate === common) break;\n    (5 !== _instance3 && 26 !== _instance3 && 27 !== _instance3) ||\n      null === stateNode ||\n      ((alternate = stateNode),\n      inCapturePhase\n        ? ((stateNode = getListener(target, registrationName)),\n          null != stateNode &&\n            listeners.unshift(\n              createDispatchListener(target, stateNode, alternate)\n            ))\n        : inCapturePhase ||\n          ((stateNode = getListener(target, registrationName)),\n          null != stateNode &&\n            listeners.push(\n              createDispatchListener(target, stateNode, alternate)\n            )));\n    target = target.return;\n  }\n  0 !== listeners.length &&\n    dispatchQueue.push({ event: event, listeners: listeners });\n}\nvar NORMALIZE_NEWLINES_REGEX = /\\r\\n?/g,\n  NORMALIZE_NULL_AND_REPLACEMENT_REGEX = /\\u0000|\\uFFFD/g;\nfunction normalizeMarkupForTextOrAttribute(markup) {\n  return (\"string\" === typeof markup ? markup : \"\" + markup)\n    .replace(NORMALIZE_NEWLINES_REGEX, \"\\n\")\n    .replace(NORMALIZE_NULL_AND_REPLACEMENT_REGEX, \"\");\n}\nfunction checkForUnmatchedText(serverText, clientText) {\n  clientText = normalizeMarkupForTextOrAttribute(clientText);\n  return normalizeMarkupForTextOrAttribute(serverText) === clientText ? !0 : !1;\n}\nfunction setProp(domElement, tag, key, value, props, prevValue) {\n  switch (key) {\n    case \"children\":\n      if (\"string\" === typeof value)\n        \"body\" === tag ||\n          (\"textarea\" === tag && \"\" === value) ||\n          setTextContent(domElement, value);\n      else if (\"number\" === typeof value || \"bigint\" === typeof value)\n        \"body\" !== tag && setTextContent(domElement, \"\" + value);\n      else return;\n      break;\n    case \"className\":\n      setValueForKnownAttribute(domElement, \"class\", value);\n      break;\n    case \"tabIndex\":\n      setValueForKnownAttribute(domElement, \"tabindex\", value);\n      break;\n    case \"dir\":\n    case \"role\":\n    case \"viewBox\":\n    case \"width\":\n    case \"height\":\n      setValueForKnownAttribute(domElement, key, value);\n      break;\n    case \"style\":\n      setValueForStyles(domElement, value, prevValue);\n      return;\n    case \"data\":\n      if (\"object\" !== tag) {\n        setValueForKnownAttribute(domElement, \"data\", value);\n        break;\n      }\n    case \"src\":\n    case \"href\":\n      if (\"\" === value && (\"a\" !== tag || \"href\" !== key)) {\n        domElement.removeAttribute(key);\n        break;\n      }\n      if (\n        null == value ||\n        \"function\" === typeof value ||\n        \"symbol\" === typeof value ||\n        \"boolean\" === typeof value\n      ) {\n        domElement.removeAttribute(key);\n        break;\n      }\n      value = sanitizeURL(value);\n      domElement.setAttribute(key, value);\n      break;\n    case \"action\":\n    case \"formAction\":\n      if (\"function\" === typeof value) {\n        domElement.setAttribute(\n          key,\n          \"javascript:throw new Error('A React form was unexpectedly submitted. If you called form.submit() manually, consider using form.requestSubmit() instead. If you\\\\'re trying to use event.stopPropagation() in a submit event handler, consider also calling event.preventDefault().')\"\n        );\n        break;\n      } else\n        \"function\" === typeof prevValue &&\n          (\"formAction\" === key\n            ? (\"input\" !== tag &&\n                setProp(domElement, tag, \"name\", props.name, props, null),\n              setProp(\n                domElement,\n                tag,\n                \"formEncType\",\n                props.formEncType,\n                props,\n                null\n              ),\n              setProp(\n                domElement,\n                tag,\n                \"formMethod\",\n                props.formMethod,\n                props,\n                null\n              ),\n              setProp(\n                domElement,\n                tag,\n                \"formTarget\",\n                props.formTarget,\n                props,\n                null\n              ))\n            : (setProp(domElement, tag, \"encType\", props.encType, props, null),\n              setProp(domElement, tag, \"method\", props.method, props, null),\n              setProp(domElement, tag, \"target\", props.target, props, null)));\n      if (\n        null == value ||\n        \"symbol\" === typeof value ||\n        \"boolean\" === typeof value\n      ) {\n        domElement.removeAttribute(key);\n        break;\n      }\n      value = sanitizeURL(value);\n      domElement.setAttribute(key, value);\n      break;\n    case \"onClick\":\n      null != value && (domElement.onclick = noop$1);\n      return;\n    case \"onScroll\":\n      null != value && listenToNonDelegatedEvent(\"scroll\", domElement);\n      return;\n    case \"onScrollEnd\":\n      null != value && listenToNonDelegatedEvent(\"scrollend\", domElement);\n      return;\n    case \"dangerouslySetInnerHTML\":\n      if (null != value) {\n        if (\"object\" !== typeof value || !(\"__html\" in value))\n          throw Error(formatProdErrorMessage(61));\n        key = value.__html;\n        if (null != key) {\n          if (null != props.children) throw Error(formatProdErrorMessage(60));\n          (null != prevValue ? prevValue.__html : void 0) !== key &&\n            (domElement.innerHTML = key);\n        }\n      }\n      break;\n    case \"multiple\":\n      domElement.multiple =\n        value && \"function\" !== typeof value && \"symbol\" !== typeof value;\n      break;\n    case \"muted\":\n      domElement.muted =\n        value && \"function\" !== typeof value && \"symbol\" !== typeof value;\n      break;\n    case \"suppressContentEditableWarning\":\n    case \"suppressHydrationWarning\":\n    case \"defaultValue\":\n    case \"defaultChecked\":\n    case \"innerHTML\":\n    case \"ref\":\n      break;\n    case \"autoFocus\":\n      break;\n    case \"xlinkHref\":\n      if (\n        null == value ||\n        \"function\" === typeof value ||\n        \"boolean\" === typeof value ||\n        \"symbol\" === typeof value\n      ) {\n        domElement.removeAttribute(\"xlink:href\");\n        break;\n      }\n      key = sanitizeURL(value);\n      domElement.setAttributeNS(\n        \"http://www.w3.org/1999/xlink\",\n        \"xlink:href\",\n        key\n      );\n      break;\n    case \"contentEditable\":\n    case \"spellCheck\":\n    case \"draggable\":\n    case \"value\":\n    case \"autoReverse\":\n    case \"externalResourcesRequired\":\n    case \"focusable\":\n    case \"preserveAlpha\":\n      null != value && \"function\" !== typeof value && \"symbol\" !== typeof value\n        ? domElement.setAttribute(key, value)\n        : domElement.removeAttribute(key);\n      break;\n    case \"inert\":\n    case \"allowFullScreen\":\n    case \"async\":\n    case \"autoPlay\":\n    case \"controls\":\n    case \"credentialless\":\n    case \"default\":\n    case \"defer\":\n    case \"disabled\":\n    case \"disablePictureInPicture\":\n    case \"disableRemotePlayback\":\n    case \"formNoValidate\":\n    case \"hidden\":\n    case \"loop\":\n    case \"noModule\":\n    case \"noValidate\":\n    case \"open\":\n    case \"playsInline\":\n    case \"readOnly\":\n    case \"required\":\n    case \"reversed\":\n    case \"scoped\":\n    case \"seamless\":\n    case \"itemScope\":\n      value && \"function\" !== typeof value && \"symbol\" !== typeof value\n        ? domElement.setAttribute(key, \"\")\n        : domElement.removeAttribute(key);\n      break;\n    case \"capture\":\n    case \"download\":\n      !0 === value\n        ? domElement.setAttribute(key, \"\")\n        : !1 !== value &&\n            null != value &&\n            \"function\" !== typeof value &&\n            \"symbol\" !== typeof value\n          ? domElement.setAttribute(key, value)\n          : domElement.removeAttribute(key);\n      break;\n    case \"cols\":\n    case \"rows\":\n    case \"size\":\n    case \"span\":\n      null != value &&\n      \"function\" !== typeof value &&\n      \"symbol\" !== typeof value &&\n      !isNaN(value) &&\n      1 <= value\n        ? domElement.setAttribute(key, value)\n        : domElement.removeAttribute(key);\n      break;\n    case \"rowSpan\":\n    case \"start\":\n      null == value ||\n      \"function\" === typeof value ||\n      \"symbol\" === typeof value ||\n      isNaN(value)\n        ? domElement.removeAttribute(key)\n        : domElement.setAttribute(key, value);\n      break;\n    case \"popover\":\n      listenToNonDelegatedEvent(\"beforetoggle\", domElement);\n      listenToNonDelegatedEvent(\"toggle\", domElement);\n      setValueForAttribute(domElement, \"popover\", value);\n      break;\n    case \"xlinkActuate\":\n      setValueForNamespacedAttribute(\n        domElement,\n        \"http://www.w3.org/1999/xlink\",\n        \"xlink:actuate\",\n        value\n      );\n      break;\n    case \"xlinkArcrole\":\n      setValueForNamespacedAttribute(\n        domElement,\n        \"http://www.w3.org/1999/xlink\",\n        \"xlink:arcrole\",\n        value\n      );\n      break;\n    case \"xlinkRole\":\n      setValueForNamespacedAttribute(\n        domElement,\n        \"http://www.w3.org/1999/xlink\",\n        \"xlink:role\",\n        value\n      );\n      break;\n    case \"xlinkShow\":\n      setValueForNamespacedAttribute(\n        domElement,\n        \"http://www.w3.org/1999/xlink\",\n        \"xlink:show\",\n        value\n      );\n      break;\n    case \"xlinkTitle\":\n      setValueForNamespacedAttribute(\n        domElement,\n        \"http://www.w3.org/1999/xlink\",\n        \"xlink:title\",\n        value\n      );\n      break;\n    case \"xlinkType\":\n      setValueForNamespacedAttribute(\n        domElement,\n        \"http://www.w3.org/1999/xlink\",\n        \"xlink:type\",\n        value\n      );\n      break;\n    case \"xmlBase\":\n      setValueForNamespacedAttribute(\n        domElement,\n        \"http://www.w3.org/XML/1998/namespace\",\n        \"xml:base\",\n        value\n      );\n      break;\n    case \"xmlLang\":\n      setValueForNamespacedAttribute(\n        domElement,\n        \"http://www.w3.org/XML/1998/namespace\",\n        \"xml:lang\",\n        value\n      );\n      break;\n    case \"xmlSpace\":\n      setValueForNamespacedAttribute(\n        domElement,\n        \"http://www.w3.org/XML/1998/namespace\",\n        \"xml:space\",\n        value\n      );\n      break;\n    case \"is\":\n      setValueForAttribute(domElement, \"is\", value);\n      break;\n    case \"innerText\":\n    case \"textContent\":\n      return;\n    default:\n      if (\n        !(2 < key.length) ||\n        (\"o\" !== key[0] && \"O\" !== key[0]) ||\n        (\"n\" !== key[1] && \"N\" !== key[1])\n      )\n        (key = aliases.get(key) || key),\n          setValueForAttribute(domElement, key, value);\n      else return;\n  }\n  viewTransitionMutationContext = !0;\n}\nfunction setPropOnCustomElement(domElement, tag, key, value, props, prevValue) {\n  switch (key) {\n    case \"style\":\n      setValueForStyles(domElement, value, prevValue);\n      return;\n    case \"dangerouslySetInnerHTML\":\n      if (null != value) {\n        if (\"object\" !== typeof value || !(\"__html\" in value))\n          throw Error(formatProdErrorMessage(61));\n        key = value.__html;\n        if (null != key) {\n          if (null != props.children) throw Error(formatProdErrorMessage(60));\n          (null != prevValue ? prevValue.__html : void 0) !== key &&\n            (domElement.innerHTML = key);\n        }\n      }\n      break;\n    case \"children\":\n      if (\"string\" === typeof value) setTextContent(domElement, value);\n      else if (\"number\" === typeof value || \"bigint\" === typeof value)\n        setTextContent(domElement, \"\" + value);\n      else return;\n      break;\n    case \"onScroll\":\n      null != value && listenToNonDelegatedEvent(\"scroll\", domElement);\n      return;\n    case \"onScrollEnd\":\n      null != value && listenToNonDelegatedEvent(\"scrollend\", domElement);\n      return;\n    case \"onClick\":\n      null != value && (domElement.onclick = noop$1);\n      return;\n    case \"suppressContentEditableWarning\":\n    case \"suppressHydrationWarning\":\n    case \"innerHTML\":\n    case \"ref\":\n      return;\n    case \"innerText\":\n    case \"textContent\":\n      return;\n    default:\n      if (!registrationNameDependencies.hasOwnProperty(key))\n        a: {\n          if (\n            \"o\" === key[0] &&\n            \"n\" === key[1] &&\n            ((props = key.endsWith(\"Capture\")),\n            (prevValue = key.slice(2, props ? key.length - 7 : void 0)),\n            (tag = domElement[internalPropsKey] || null),\n            (tag = null != tag ? tag[key] : null),\n            \"function\" === typeof tag &&\n              domElement.removeEventListener(prevValue, tag, props),\n            \"function\" === typeof value)\n          ) {\n            \"function\" !== typeof tag &&\n              null !== tag &&\n              (key in domElement\n                ? (domElement[key] = null)\n                : domElement.hasAttribute(key) &&\n                  domElement.removeAttribute(key));\n            domElement.addEventListener(prevValue, value, props);\n            break a;\n          }\n          viewTransitionMutationContext = !0;\n          key in domElement\n            ? (domElement[key] = value)\n            : !0 === value\n              ? domElement.setAttribute(key, \"\")\n              : setValueForAttribute(domElement, key, value);\n        }\n      return;\n  }\n  viewTransitionMutationContext = !0;\n}\nfunction setInitialProperties(domElement, tag, props) {\n  switch (tag) {\n    case \"div\":\n    case \"span\":\n    case \"svg\":\n    case \"path\":\n    case \"a\":\n    case \"g\":\n    case \"p\":\n    case \"li\":\n      break;\n    case \"img\":\n      listenToNonDelegatedEvent(\"error\", domElement);\n      listenToNonDelegatedEvent(\"load\", domElement);\n      var hasSrc = !1,\n        hasSrcSet = !1,\n        propKey;\n      for (propKey in props)\n        if (props.hasOwnProperty(propKey)) {\n          var propValue = props[propKey];\n          if (null != propValue)\n            switch (propKey) {\n              case \"src\":\n                hasSrc = !0;\n                break;\n              case \"srcSet\":\n                hasSrcSet = !0;\n                break;\n              case \"children\":\n              case \"dangerouslySetInnerHTML\":\n                throw Error(formatProdErrorMessage(137, tag));\n              default:\n                setProp(domElement, tag, propKey, propValue, props, null);\n            }\n        }\n      hasSrcSet &&\n        setProp(domElement, tag, \"srcSet\", props.srcSet, props, null);\n      hasSrc && setProp(domElement, tag, \"src\", props.src, props, null);\n      return;\n    case \"input\":\n      listenToNonDelegatedEvent(\"invalid\", domElement);\n      var defaultValue = (propKey = propValue = hasSrcSet = null),\n        checked = null,\n        defaultChecked = null;\n      for (hasSrc in props)\n        if (props.hasOwnProperty(hasSrc)) {\n          var propValue$200 = props[hasSrc];\n          if (null != propValue$200)\n            switch (hasSrc) {\n              case \"name\":\n                hasSrcSet = propValue$200;\n                break;\n              case \"type\":\n                propValue = propValue$200;\n                break;\n              case \"checked\":\n                checked = propValue$200;\n                break;\n              case \"defaultChecked\":\n                defaultChecked = propValue$200;\n                break;\n              case \"value\":\n                propKey = propValue$200;\n                break;\n              case \"defaultValue\":\n                defaultValue = propValue$200;\n                break;\n              case \"children\":\n              case \"dangerouslySetInnerHTML\":\n                if (null != propValue$200)\n                  throw Error(formatProdErrorMessage(137, tag));\n                break;\n              default:\n                setProp(domElement, tag, hasSrc, propValue$200, props, null);\n            }\n        }\n      initInput(\n        domElement,\n        propKey,\n        defaultValue,\n        checked,\n        defaultChecked,\n        propValue,\n        hasSrcSet,\n        !1\n      );\n      return;\n    case \"select\":\n      listenToNonDelegatedEvent(\"invalid\", domElement);\n      hasSrc = propValue = propKey = null;\n      for (hasSrcSet in props)\n        if (\n          props.hasOwnProperty(hasSrcSet) &&\n          ((defaultValue = props[hasSrcSet]), null != defaultValue)\n        )\n          switch (hasSrcSet) {\n            case \"value\":\n              propKey = defaultValue;\n              break;\n            case \"defaultValue\":\n              propValue = defaultValue;\n              break;\n            case \"multiple\":\n              hasSrc = defaultValue;\n            default:\n              setProp(domElement, tag, hasSrcSet, defaultValue, props, null);\n          }\n      tag = propKey;\n      props = propValue;\n      domElement.multiple = !!hasSrc;\n      null != tag\n        ? updateOptions(domElement, !!hasSrc, tag, !1)\n        : null != props && updateOptions(domElement, !!hasSrc, props, !0);\n      return;\n    case \"textarea\":\n      listenToNonDelegatedEvent(\"invalid\", domElement);\n      propKey = hasSrcSet = hasSrc = null;\n      for (propValue in props)\n        if (\n          props.hasOwnProperty(propValue) &&\n          ((defaultValue = props[propValue]), null != defaultValue)\n        )\n          switch (propValue) {\n            case \"value\":\n              hasSrc = defaultValue;\n              break;\n            case \"defaultValue\":\n              hasSrcSet = defaultValue;\n              break;\n            case \"children\":\n              propKey = defaultValue;\n              break;\n            case \"dangerouslySetInnerHTML\":\n              if (null != defaultValue) throw Error(formatProdErrorMessage(91));\n              break;\n            default:\n              setProp(domElement, tag, propValue, defaultValue, props, null);\n          }\n      initTextarea(domElement, hasSrc, hasSrcSet, propKey);\n      return;\n    case \"option\":\n      for (checked in props)\n        if (\n          props.hasOwnProperty(checked) &&\n          ((hasSrc = props[checked]), null != hasSrc)\n        )\n          switch (checked) {\n            case \"selected\":\n              domElement.selected =\n                hasSrc &&\n                \"function\" !== typeof hasSrc &&\n                \"symbol\" !== typeof hasSrc;\n              break;\n            default:\n              setProp(domElement, tag, checked, hasSrc, props, null);\n          }\n      return;\n    case \"dialog\":\n      listenToNonDelegatedEvent(\"beforetoggle\", domElement);\n      listenToNonDelegatedEvent(\"toggle\", domElement);\n      listenToNonDelegatedEvent(\"cancel\", domElement);\n      listenToNonDelegatedEvent(\"close\", domElement);\n      break;\n    case \"iframe\":\n    case \"object\":\n      listenToNonDelegatedEvent(\"load\", domElement);\n      break;\n    case \"video\":\n    case \"audio\":\n      for (hasSrc = 0; hasSrc < mediaEventTypes.length; hasSrc++)\n        listenToNonDelegatedEvent(mediaEventTypes[hasSrc], domElement);\n      break;\n    case \"image\":\n      listenToNonDelegatedEvent(\"error\", domElement);\n      listenToNonDelegatedEvent(\"load\", domElement);\n      break;\n    case \"details\":\n      listenToNonDelegatedEvent(\"toggle\", domElement);\n      break;\n    case \"embed\":\n    case \"source\":\n    case \"link\":\n      listenToNonDelegatedEvent(\"error\", domElement),\n        listenToNonDelegatedEvent(\"load\", domElement);\n    case \"area\":\n    case \"base\":\n    case \"br\":\n    case \"col\":\n    case \"hr\":\n    case \"keygen\":\n    case \"meta\":\n    case \"param\":\n    case \"track\":\n    case \"wbr\":\n    case \"menuitem\":\n      for (defaultChecked in props)\n        if (\n          props.hasOwnProperty(defaultChecked) &&\n          ((hasSrc = props[defaultChecked]), null != hasSrc)\n        )\n          switch (defaultChecked) {\n            case \"children\":\n            case \"dangerouslySetInnerHTML\":\n              throw Error(formatProdErrorMessage(137, tag));\n            default:\n              setProp(domElement, tag, defaultChecked, hasSrc, props, null);\n          }\n      return;\n    default:\n      if (isCustomElement(tag)) {\n        for (propValue$200 in props)\n          props.hasOwnProperty(propValue$200) &&\n            ((hasSrc = props[propValue$200]),\n            void 0 !== hasSrc &&\n              setPropOnCustomElement(\n                domElement,\n                tag,\n                propValue$200,\n                hasSrc,\n                props,\n                void 0\n              ));\n        return;\n      }\n  }\n  for (defaultValue in props)\n    props.hasOwnProperty(defaultValue) &&\n      ((hasSrc = props[defaultValue]),\n      null != hasSrc &&\n        setProp(domElement, tag, defaultValue, hasSrc, props, null));\n}\nvar emptyProps = {};\nfunction updateProperties(domElement, tag, lastProps, nextProps) {\n  switch (tag) {\n    case \"div\":\n    case \"span\":\n    case \"svg\":\n    case \"path\":\n    case \"a\":\n    case \"g\":\n    case \"p\":\n    case \"li\":\n      break;\n    case \"input\":\n      var name = null,\n        type = null,\n        value = null,\n        defaultValue = null,\n        lastDefaultValue = null,\n        checked = null,\n        defaultChecked = null;\n      for (propKey in lastProps) {\n        var lastProp = lastProps[propKey];\n        if (lastProps.hasOwnProperty(propKey) && null != lastProp)\n          switch (propKey) {\n            case \"checked\":\n              break;\n            case \"value\":\n              break;\n            case \"defaultValue\":\n              lastDefaultValue = lastProp;\n            default:\n              nextProps.hasOwnProperty(propKey) ||\n                setProp(domElement, tag, propKey, null, nextProps, lastProp);\n          }\n      }\n      for (var propKey$217 in nextProps) {\n        var propKey = nextProps[propKey$217];\n        lastProp = lastProps[propKey$217];\n        if (\n          nextProps.hasOwnProperty(propKey$217) &&\n          (null != propKey || null != lastProp)\n        )\n          switch (propKey$217) {\n            case \"type\":\n              propKey !== lastProp && (viewTransitionMutationContext = !0);\n              type = propKey;\n              break;\n            case \"name\":\n              propKey !== lastProp && (viewTransitionMutationContext = !0);\n              name = propKey;\n              break;\n            case \"checked\":\n              propKey !== lastProp && (viewTransitionMutationContext = !0);\n              checked = propKey;\n              break;\n            case \"defaultChecked\":\n              propKey !== lastProp && (viewTransitionMutationContext = !0);\n              defaultChecked = propKey;\n              break;\n            case \"value\":\n              propKey !== lastProp && (viewTransitionMutationContext = !0);\n              value = propKey;\n              break;\n            case \"defaultValue\":\n              propKey !== lastProp && (viewTransitionMutationContext = !0);\n              defaultValue = propKey;\n              break;\n            case \"children\":\n            case \"dangerouslySetInnerHTML\":\n              if (null != propKey)\n                throw Error(formatProdErrorMessage(137, tag));\n              break;\n            default:\n              propKey !== lastProp &&\n                setProp(\n                  domElement,\n                  tag,\n                  propKey$217,\n                  propKey,\n                  nextProps,\n                  lastProp\n                );\n          }\n      }\n      updateInput(\n        domElement,\n        value,\n        defaultValue,\n        lastDefaultValue,\n        checked,\n        defaultChecked,\n        type,\n        name\n      );\n      return;\n    case \"select\":\n      propKey = value = defaultValue = propKey$217 = null;\n      for (type in lastProps)\n        if (\n          ((lastDefaultValue = lastProps[type]),\n          lastProps.hasOwnProperty(type) && null != lastDefaultValue)\n        )\n          switch (type) {\n            case \"value\":\n              break;\n            case \"multiple\":\n              propKey = lastDefaultValue;\n            default:\n              nextProps.hasOwnProperty(type) ||\n                setProp(\n                  domElement,\n                  tag,\n                  type,\n                  null,\n                  nextProps,\n                  lastDefaultValue\n                );\n          }\n      for (name in nextProps)\n        if (\n          ((type = nextProps[name]),\n          (lastDefaultValue = lastProps[name]),\n          nextProps.hasOwnProperty(name) &&\n            (null != type || null != lastDefaultValue))\n        )\n          switch (name) {\n            case \"value\":\n              type !== lastDefaultValue && (viewTransitionMutationContext = !0);\n              propKey$217 = type;\n              break;\n            case \"defaultValue\":\n              type !== lastDefaultValue && (viewTransitionMutationContext = !0);\n              defaultValue = type;\n              break;\n            case \"multiple\":\n              type !== lastDefaultValue && (viewTransitionMutationContext = !0),\n                (value = type);\n            default:\n              type !== lastDefaultValue &&\n                setProp(\n                  domElement,\n                  tag,\n                  name,\n                  type,\n                  nextProps,\n                  lastDefaultValue\n                );\n          }\n      tag = defaultValue;\n      lastProps = value;\n      nextProps = propKey;\n      null != propKey$217\n        ? updateOptions(domElement, !!lastProps, propKey$217, !1)\n        : !!nextProps !== !!lastProps &&\n          (null != tag\n            ? updateOptions(domElement, !!lastProps, tag, !0)\n            : updateOptions(domElement, !!lastProps, lastProps ? [] : \"\", !1));\n      return;\n    case \"textarea\":\n      propKey = propKey$217 = null;\n      for (defaultValue in lastProps)\n        if (\n          ((name = lastProps[defaultValue]),\n          lastProps.hasOwnProperty(defaultValue) &&\n            null != name &&\n            !nextProps.hasOwnProperty(defaultValue))\n        )\n          switch (defaultValue) {\n            case \"value\":\n              break;\n            case \"children\":\n              break;\n            default:\n              setProp(domElement, tag, defaultValue, null, nextProps, name);\n          }\n      for (value in nextProps)\n        if (\n          ((name = nextProps[value]),\n          (type = lastProps[value]),\n          nextProps.hasOwnProperty(value) && (null != name || null != type))\n        )\n          switch (value) {\n            case \"value\":\n              name !== type && (viewTransitionMutationContext = !0);\n              propKey$217 = name;\n              break;\n            case \"defaultValue\":\n              name !== type && (viewTransitionMutationContext = !0);\n              propKey = name;\n              break;\n            case \"children\":\n              break;\n            case \"dangerouslySetInnerHTML\":\n              if (null != name) throw Error(formatProdErrorMessage(91));\n              break;\n            default:\n              name !== type &&\n                setProp(domElement, tag, value, name, nextProps, type);\n          }\n      updateTextarea(domElement, propKey$217, propKey);\n      return;\n    case \"option\":\n      for (var propKey$233 in lastProps)\n        if (\n          ((propKey$217 = lastProps[propKey$233]),\n          lastProps.hasOwnProperty(propKey$233) &&\n            null != propKey$217 &&\n            !nextProps.hasOwnProperty(propKey$233))\n        )\n          switch (propKey$233) {\n            case \"selected\":\n              domElement.selected = !1;\n              break;\n            default:\n              setProp(\n                domElement,\n                tag,\n                propKey$233,\n                null,\n                nextProps,\n                propKey$217\n              );\n          }\n      for (lastDefaultValue in nextProps)\n        if (\n          ((propKey$217 = nextProps[lastDefaultValue]),\n          (propKey = lastProps[lastDefaultValue]),\n          nextProps.hasOwnProperty(lastDefaultValue) &&\n            propKey$217 !== propKey &&\n            (null != propKey$217 || null != propKey))\n        )\n          switch (lastDefaultValue) {\n            case \"selected\":\n              propKey$217 !== propKey && (viewTransitionMutationContext = !0);\n              domElement.selected =\n                propKey$217 &&\n                \"function\" !== typeof propKey$217 &&\n                \"symbol\" !== typeof propKey$217;\n              break;\n            default:\n              setProp(\n                domElement,\n                tag,\n                lastDefaultValue,\n                propKey$217,\n                nextProps,\n                propKey\n              );\n          }\n      return;\n    case \"img\":\n    case \"link\":\n    case \"area\":\n    case \"base\":\n    case \"br\":\n    case \"col\":\n    case \"embed\":\n    case \"hr\":\n    case \"keygen\":\n    case \"meta\":\n    case \"param\":\n    case \"source\":\n    case \"track\":\n    case \"wbr\":\n    case \"menuitem\":\n      for (var propKey$238 in lastProps)\n        (propKey$217 = lastProps[propKey$238]),\n          lastProps.hasOwnProperty(propKey$238) &&\n            null != propKey$217 &&\n            !nextProps.hasOwnProperty(propKey$238) &&\n            setProp(domElement, tag, propKey$238, null, nextProps, propKey$217);\n      for (checked in nextProps)\n        if (\n          ((propKey$217 = nextProps[checked]),\n          (propKey = lastProps[checked]),\n          nextProps.hasOwnProperty(checked) &&\n            propKey$217 !== propKey &&\n            (null != propKey$217 || null != propKey))\n        )\n          switch (checked) {\n            case \"children\":\n            case \"dangerouslySetInnerHTML\":\n              if (null != propKey$217)\n                throw Error(formatProdErrorMessage(137, tag));\n              break;\n            default:\n              setProp(\n                domElement,\n                tag,\n                checked,\n                propKey$217,\n                nextProps,\n                propKey\n              );\n          }\n      return;\n    default:\n      if (isCustomElement(tag)) {\n        for (var propKey$243 in lastProps)\n          (propKey$217 = lastProps[propKey$243]),\n            lastProps.hasOwnProperty(propKey$243) &&\n              void 0 !== propKey$217 &&\n              !nextProps.hasOwnProperty(propKey$243) &&\n              setPropOnCustomElement(\n                domElement,\n                tag,\n                propKey$243,\n                void 0,\n                nextProps,\n                propKey$217\n              );\n        for (defaultChecked in nextProps)\n          (propKey$217 = nextProps[defaultChecked]),\n            (propKey = lastProps[defaultChecked]),\n            !nextProps.hasOwnProperty(defaultChecked) ||\n              propKey$217 === propKey ||\n              (void 0 === propKey$217 && void 0 === propKey) ||\n              setPropOnCustomElement(\n                domElement,\n                tag,\n                defaultChecked,\n                propKey$217,\n                nextProps,\n                propKey\n              );\n        return;\n      }\n  }\n  for (var propKey$248 in lastProps)\n    (propKey$217 = lastProps[propKey$248]),\n      lastProps.hasOwnProperty(propKey$248) &&\n        null != propKey$217 &&\n        !nextProps.hasOwnProperty(propKey$248) &&\n        setProp(domElement, tag, propKey$248, null, nextProps, propKey$217);\n  for (lastProp in nextProps)\n    (propKey$217 = nextProps[lastProp]),\n      (propKey = lastProps[lastProp]),\n      !nextProps.hasOwnProperty(lastProp) ||\n        propKey$217 === propKey ||\n        (null == propKey$217 && null == propKey) ||\n        setProp(domElement, tag, lastProp, propKey$217, nextProps, propKey);\n}\nfunction isLikelyStaticResource(initiatorType) {\n  switch (initiatorType) {\n    case \"css\":\n    case \"script\":\n    case \"font\":\n    case \"img\":\n    case \"image\":\n    case \"input\":\n    case \"link\":\n      return !0;\n    default:\n      return !1;\n  }\n}\nfunction estimateBandwidth() {\n  if (\"function\" === typeof performance.getEntriesByType) {\n    for (\n      var count = 0,\n        bits = 0,\n        resourceEntries = performance.getEntriesByType(\"resource\"),\n        i = 0;\n      i < resourceEntries.length;\n      i++\n    ) {\n      var entry = resourceEntries[i],\n        transferSize = entry.transferSize,\n        initiatorType = entry.initiatorType,\n        duration = entry.duration;\n      if (transferSize && duration && isLikelyStaticResource(initiatorType)) {\n        initiatorType = 0;\n        duration = entry.responseEnd;\n        for (i += 1; i < resourceEntries.length; i++) {\n          var overlapEntry = resourceEntries[i],\n            overlapStartTime = overlapEntry.startTime;\n          if (overlapStartTime > duration) break;\n          var overlapTransferSize = overlapEntry.transferSize,\n            overlapInitiatorType = overlapEntry.initiatorType;\n          overlapTransferSize &&\n            isLikelyStaticResource(overlapInitiatorType) &&\n            ((overlapEntry = overlapEntry.responseEnd),\n            (initiatorType +=\n              overlapTransferSize *\n              (overlapEntry < duration\n                ? 1\n                : (duration - overlapStartTime) /\n                  (overlapEntry - overlapStartTime))));\n        }\n        --i;\n        bits += (8 * (transferSize + initiatorType)) / (entry.duration / 1e3);\n        count++;\n        if (10 < count) break;\n      }\n    }\n    if (0 < count) return bits / count / 1e6;\n  }\n  return navigator.connection &&\n    ((count = navigator.connection.downlink), \"number\" === typeof count)\n    ? count\n    : 5;\n}\nvar eventsEnabled = null,\n  selectionInformation = null;\nfunction getOwnerDocumentFromRootContainer(rootContainerElement) {\n  return 9 === rootContainerElement.nodeType\n    ? rootContainerElement\n    : rootContainerElement.ownerDocument;\n}\nfunction getOwnHostContext(namespaceURI) {\n  switch (namespaceURI) {\n    case \"http://www.w3.org/2000/svg\":\n      return 1;\n    case \"http://www.w3.org/1998/Math/MathML\":\n      return 2;\n    default:\n      return 0;\n  }\n}\nfunction getChildHostContextProd(parentNamespace, type) {\n  if (0 === parentNamespace)\n    switch (type) {\n      case \"svg\":\n        return 1;\n      case \"math\":\n        return 2;\n      default:\n        return 0;\n    }\n  return 1 === parentNamespace && \"foreignObject\" === type\n    ? 0\n    : parentNamespace;\n}\nfunction shouldSetTextContent(type, props) {\n  return (\n    \"textarea\" === type ||\n    \"noscript\" === type ||\n    \"string\" === typeof props.children ||\n    \"number\" === typeof props.children ||\n    \"bigint\" === typeof props.children ||\n    (\"object\" === typeof props.dangerouslySetInnerHTML &&\n      null !== props.dangerouslySetInnerHTML &&\n      null != props.dangerouslySetInnerHTML.__html)\n  );\n}\nvar currentPopstateTransitionEvent = null;\nfunction shouldAttemptEagerTransition() {\n  var event = window.event;\n  if (event && \"popstate\" === event.type) {\n    if (event === currentPopstateTransitionEvent) return !1;\n    currentPopstateTransitionEvent = event;\n    return !0;\n  }\n  currentPopstateTransitionEvent = null;\n  return !1;\n}\nvar scheduleTimeout = \"function\" === typeof setTimeout ? setTimeout : void 0,\n  cancelTimeout = \"function\" === typeof clearTimeout ? clearTimeout : void 0,\n  localPromise = \"function\" === typeof Promise ? Promise : void 0,\n  scheduleMicrotask =\n    \"function\" === typeof queueMicrotask\n      ? queueMicrotask\n      : \"undefined\" !== typeof localPromise\n        ? function (callback) {\n            return localPromise\n              .resolve(null)\n              .then(callback)\n              .catch(handleErrorInNextTick);\n          }\n        : scheduleTimeout;\nfunction handleErrorInNextTick(error) {\n  setTimeout(function () {\n    throw error;\n  });\n}\nfunction isSingletonScope(type) {\n  return \"head\" === type;\n}\nfunction clearHydrationBoundary(parentInstance, hydrationInstance) {\n  var node = hydrationInstance,\n    depth = 0;\n  do {\n    var nextNode = node.nextSibling;\n    parentInstance.removeChild(node);\n    if (nextNode && 8 === nextNode.nodeType)\n      if (((node = nextNode.data), \"/$\" === node || \"/&\" === node)) {\n        if (0 === depth) {\n          parentInstance.removeChild(nextNode);\n          retryIfBlockedOn(hydrationInstance);\n          return;\n        }\n        depth--;\n      } else if (\n        \"$\" === node ||\n        \"$?\" === node ||\n        \"$~\" === node ||\n        \"$!\" === node ||\n        \"&\" === node\n      )\n        depth++;\n      else if (\"html\" === node)\n        clearSingletonPreambleContribution(\n          parentInstance.ownerDocument.documentElement\n        );\n      else if (\"head\" === node) {\n        node = parentInstance.ownerDocument.head;\n        clearSingletonPreambleContribution(node);\n        for (var node$jscomp$0 = node.firstChild; node$jscomp$0; ) {\n          var nextNode$jscomp$0 = node$jscomp$0.nextSibling,\n            nodeName = node$jscomp$0.nodeName;\n          node$jscomp$0[internalHoistableMarker] ||\n            \"SCRIPT\" === nodeName ||\n            \"STYLE\" === nodeName ||\n            (\"LINK\" === nodeName &&\n              \"stylesheet\" === node$jscomp$0.rel.toLowerCase()) ||\n            node.removeChild(node$jscomp$0);\n          node$jscomp$0 = nextNode$jscomp$0;\n        }\n      } else\n        \"body\" === node &&\n          clearSingletonPreambleContribution(parentInstance.ownerDocument.body);\n    node = nextNode;\n  } while (node);\n  retryIfBlockedOn(hydrationInstance);\n}\nfunction hideOrUnhideDehydratedBoundary(suspenseInstance, isHidden) {\n  var node = suspenseInstance;\n  suspenseInstance = 0;\n  do {\n    var nextNode = node.nextSibling;\n    1 === node.nodeType\n      ? isHidden\n        ? ((node._stashedDisplay = node.style.display),\n          (node.style.display = \"none\"))\n        : ((node.style.display = node._stashedDisplay || \"\"),\n          \"\" === node.getAttribute(\"style\") && node.removeAttribute(\"style\"))\n      : 3 === node.nodeType &&\n        (isHidden\n          ? ((node._stashedText = node.nodeValue), (node.nodeValue = \"\"))\n          : (node.nodeValue = node._stashedText || \"\"));\n    if (nextNode && 8 === nextNode.nodeType)\n      if (((node = nextNode.data), \"/$\" === node))\n        if (0 === suspenseInstance) break;\n        else suspenseInstance--;\n      else\n        (\"$\" !== node && \"$?\" !== node && \"$~\" !== node && \"$!\" !== node) ||\n          suspenseInstance++;\n    node = nextNode;\n  } while (node);\n}\nfunction applyViewTransitionName(instance, name, className) {\n  name = CSS.escape(name) !== name ? \"r-\" + btoa(name).replace(/=/g, \"\") : name;\n  instance.style.viewTransitionName = name;\n  null != className && (instance.style.viewTransitionClass = className);\n  className = getComputedStyle(instance);\n  if (\"inline\" === className.display) {\n    name = instance.getClientRects();\n    if (1 === name.length) var JSCompiler_inline_result = 1;\n    else\n      for (var i = (JSCompiler_inline_result = 0); i < name.length; i++) {\n        var rect = name[i];\n        0 < rect.width && 0 < rect.height && JSCompiler_inline_result++;\n      }\n    1 === JSCompiler_inline_result &&\n      ((instance = instance.style),\n      (instance.display = 1 === name.length ? \"inline-block\" : \"block\"),\n      (instance.marginTop = \"-\" + className.paddingTop),\n      (instance.marginBottom = \"-\" + className.paddingBottom));\n  }\n}\nfunction restoreViewTransitionName(instance, props) {\n  instance = instance.style;\n  props = props.style;\n  var viewTransitionName =\n    null != props\n      ? props.hasOwnProperty(\"viewTransitionName\")\n        ? props.viewTransitionName\n        : props.hasOwnProperty(\"view-transition-name\")\n          ? props[\"view-transition-name\"]\n          : null\n      : null;\n  instance.viewTransitionName =\n    null == viewTransitionName || \"boolean\" === typeof viewTransitionName\n      ? \"\"\n      : (\"\" + viewTransitionName).trim();\n  viewTransitionName =\n    null != props\n      ? props.hasOwnProperty(\"viewTransitionClass\")\n        ? props.viewTransitionClass\n        : props.hasOwnProperty(\"view-transition-class\")\n          ? props[\"view-transition-class\"]\n          : null\n      : null;\n  instance.viewTransitionClass =\n    null == viewTransitionName || \"boolean\" === typeof viewTransitionName\n      ? \"\"\n      : (\"\" + viewTransitionName).trim();\n  \"inline-block\" === instance.display &&\n    (null == props\n      ? (instance.display = instance.margin = \"\")\n      : ((viewTransitionName = props.display),\n        (instance.display =\n          null == viewTransitionName || \"boolean\" === typeof viewTransitionName\n            ? \"\"\n            : viewTransitionName),\n        (viewTransitionName = props.margin),\n        null != viewTransitionName\n          ? (instance.margin = viewTransitionName)\n          : ((viewTransitionName = props.hasOwnProperty(\"marginTop\")\n              ? props.marginTop\n              : props[\"margin-top\"]),\n            (instance.marginTop =\n              null == viewTransitionName ||\n              \"boolean\" === typeof viewTransitionName\n                ? \"\"\n                : viewTransitionName),\n            (props = props.hasOwnProperty(\"marginBottom\")\n              ? props.marginBottom\n              : props[\"margin-bottom\"]),\n            (instance.marginBottom =\n              null == props || \"boolean\" === typeof props ? \"\" : props))));\n}\nfunction createMeasurement(rect, computedStyle, element) {\n  element = element.ownerDocument.defaultView;\n  return {\n    rect: rect,\n    abs:\n      \"absolute\" === computedStyle.position ||\n      \"fixed\" === computedStyle.position,\n    clip:\n      \"none\" !== computedStyle.clipPath ||\n      \"visible\" !== computedStyle.overflow ||\n      \"none\" !== computedStyle.filter ||\n      \"none\" !== computedStyle.mask ||\n      \"none\" !== computedStyle.mask ||\n      \"0px\" !== computedStyle.borderRadius,\n    view:\n      0 <= rect.bottom &&\n      0 <= rect.right &&\n      rect.top <= element.innerHeight &&\n      rect.left <= element.innerWidth\n  };\n}\nfunction measureInstance(instance) {\n  var rect = instance.getBoundingClientRect(),\n    computedStyle = getComputedStyle(instance);\n  return createMeasurement(rect, computedStyle, instance);\n}\nfunction measureClonedInstance(instance) {\n  var measuredRect = instance.getBoundingClientRect();\n  measuredRect = new DOMRect(\n    measuredRect.x + 2e4,\n    measuredRect.y + 2e4,\n    measuredRect.width,\n    measuredRect.height\n  );\n  var computedStyle = getComputedStyle(instance);\n  return createMeasurement(measuredRect, computedStyle, instance);\n}\nfunction forceLayout(ownerDocument) {\n  return ownerDocument.documentElement.clientHeight;\n}\nfunction waitForImageToLoad(resolve) {\n  this.addEventListener(\"load\", resolve);\n  this.addEventListener(\"error\", resolve);\n}\nfunction startViewTransition(\n  suspendedState,\n  rootContainer,\n  transitionTypes,\n  mutationCallback,\n  layoutCallback,\n  afterMutationCallback,\n  spawnedWorkCallback,\n  passiveCallback,\n  errorCallback\n) {\n  var ownerDocument =\n    9 === rootContainer.nodeType ? rootContainer : rootContainer.ownerDocument;\n  try {\n    var transition = ownerDocument.startViewTransition({\n      update: function () {\n        var ownerWindow = ownerDocument.defaultView,\n          pendingNavigation =\n            ownerWindow.navigation && ownerWindow.navigation.transition,\n          previousFontLoadingStatus = ownerDocument.fonts.status;\n        mutationCallback();\n        var blockingPromises = [];\n        \"loaded\" === previousFontLoadingStatus &&\n          (forceLayout(ownerDocument),\n          \"loading\" === ownerDocument.fonts.status &&\n            blockingPromises.push(ownerDocument.fonts.ready));\n        previousFontLoadingStatus = blockingPromises.length;\n        if (null !== suspendedState)\n          for (\n            var suspenseyImages = suspendedState.suspenseyImages,\n              imgBytes = 0,\n              i = 0;\n            i < suspenseyImages.length;\n            i++\n          ) {\n            var suspenseyImage = suspenseyImages[i];\n            if (!suspenseyImage.complete) {\n              var rect = suspenseyImage.getBoundingClientRect();\n              if (\n                0 < rect.bottom &&\n                0 < rect.right &&\n                rect.top < ownerWindow.innerHeight &&\n                rect.left < ownerWindow.innerWidth\n              ) {\n                imgBytes += estimateImageBytes(suspenseyImage);\n                if (imgBytes > estimatedBytesWithinLimit) {\n                  blockingPromises.length = previousFontLoadingStatus;\n                  break;\n                }\n                suspenseyImage = new Promise(\n                  waitForImageToLoad.bind(suspenseyImage)\n                );\n                blockingPromises.push(suspenseyImage);\n              }\n            }\n          }\n        if (0 < blockingPromises.length)\n          return (\n            (ownerWindow = Promise.race([\n              Promise.all(blockingPromises),\n              new Promise(function (resolve) {\n                return setTimeout(resolve, 500);\n              })\n            ]).then(layoutCallback, layoutCallback)),\n            (pendingNavigation\n              ? Promise.allSettled([pendingNavigation.finished, ownerWindow])\n              : ownerWindow\n            ).then(afterMutationCallback, afterMutationCallback)\n          );\n        layoutCallback();\n        if (pendingNavigation)\n          return pendingNavigation.finished.then(\n            afterMutationCallback,\n            afterMutationCallback\n          );\n        afterMutationCallback();\n      },\n      types: transitionTypes\n    });\n    ownerDocument.__reactViewTransition = transition;\n    var viewTransitionAnimations = [];\n    transition.ready.then(\n      function () {\n        for (\n          var animations = ownerDocument.documentElement.getAnimations({\n              subtree: !0\n            }),\n            i = 0;\n          i < animations.length;\n          i++\n        ) {\n          var animation = animations[i],\n            effect = animation.effect,\n            pseudoElement = effect.pseudoElement;\n          if (\n            null != pseudoElement &&\n            pseudoElement.startsWith(\"::view-transition\")\n          ) {\n            viewTransitionAnimations.push(animation);\n            animation = effect.getKeyframes();\n            for (\n              var height = (pseudoElement = void 0),\n                unchangedDimensions = !0,\n                j = 0;\n              j < animation.length;\n              j++\n            ) {\n              var keyframe = animation[j],\n                w = keyframe.width;\n              if (void 0 === pseudoElement) pseudoElement = w;\n              else if (pseudoElement !== w) {\n                unchangedDimensions = !1;\n                break;\n              }\n              w = keyframe.height;\n              if (void 0 === height) height = w;\n              else if (height !== w) {\n                unchangedDimensions = !1;\n                break;\n              }\n              delete keyframe.width;\n              delete keyframe.height;\n              \"none\" === keyframe.transform && delete keyframe.transform;\n            }\n            unchangedDimensions &&\n              void 0 !== pseudoElement &&\n              void 0 !== height &&\n              (effect.setKeyframes(animation),\n              (unchangedDimensions = getComputedStyle(\n                effect.target,\n                effect.pseudoElement\n              )),\n              unchangedDimensions.width !== pseudoElement ||\n                unchangedDimensions.height !== height) &&\n              ((unchangedDimensions = animation[0]),\n              (unchangedDimensions.width = pseudoElement),\n              (unchangedDimensions.height = height),\n              (unchangedDimensions = animation[animation.length - 1]),\n              (unchangedDimensions.width = pseudoElement),\n              (unchangedDimensions.height = height),\n              effect.setKeyframes(animation));\n          }\n        }\n        spawnedWorkCallback();\n      },\n      function (error) {\n        ownerDocument.__reactViewTransition === transition &&\n          (ownerDocument.__reactViewTransition = null);\n        try {\n          if (\"object\" === typeof error && null !== error)\n            switch (error.name) {\n              case \"InvalidStateError\":\n                if (\n                  \"View transition was skipped because document visibility state is hidden.\" ===\n                    error.message ||\n                  \"Skipping view transition because document visibility state has become hidden.\" ===\n                    error.message ||\n                  \"Skipping view transition because viewport size changed.\" ===\n                    error.message ||\n                  \"Transition was aborted because of invalid state\" ===\n                    error.message\n                )\n                  error = null;\n            }\n          null !== error && errorCallback(error);\n        } finally {\n          mutationCallback(), layoutCallback(), spawnedWorkCallback();\n        }\n      }\n    );\n    transition.finished.finally(function () {\n      for (var i = 0; i < viewTransitionAnimations.length; i++)\n        viewTransitionAnimations[i].cancel();\n      ownerDocument.__reactViewTransition === transition &&\n        (ownerDocument.__reactViewTransition = null);\n      passiveCallback();\n    });\n    return transition;\n  } catch (x) {\n    return mutationCallback(), layoutCallback(), spawnedWorkCallback(), null;\n  }\n}\nfunction ViewTransitionPseudoElement(pseudo, name) {\n  this._scope = document.documentElement;\n  this._selector = \"::view-transition-\" + pseudo + \"(\" + name + \")\";\n}\nViewTransitionPseudoElement.prototype.animate = function (keyframes, options) {\n  options =\n    \"number\" === typeof options ? { duration: options } : assign({}, options);\n  options.pseudoElement = this._selector;\n  return this._scope.animate(keyframes, options);\n};\nViewTransitionPseudoElement.prototype.getAnimations = function () {\n  for (\n    var scope = this._scope,\n      selector = this._selector,\n      animations = scope.getAnimations({ subtree: !0 }),\n      result = [],\n      i = 0;\n    i < animations.length;\n    i++\n  ) {\n    var effect = animations[i].effect;\n    null !== effect &&\n      effect.target === scope &&\n      effect.pseudoElement === selector &&\n      result.push(animations[i]);\n  }\n  return result;\n};\nViewTransitionPseudoElement.prototype.getComputedStyle = function () {\n  return getComputedStyle(this._scope, this._selector);\n};\nfunction createViewTransitionInstance(name) {\n  return {\n    name: name,\n    group: new ViewTransitionPseudoElement(\"group\", name),\n    imagePair: new ViewTransitionPseudoElement(\"image-pair\", name),\n    old: new ViewTransitionPseudoElement(\"old\", name),\n    new: new ViewTransitionPseudoElement(\"new\", name)\n  };\n}\nfunction FragmentInstance(fragmentFiber) {\n  this._fragmentFiber = fragmentFiber;\n  this._observers = this._eventListeners = null;\n}\nFragmentInstance.prototype.addEventListener = function (\n  type,\n  listener,\n  optionsOrUseCapture\n) {\n  null === this._eventListeners && (this._eventListeners = []);\n  var listeners = this._eventListeners;\n  -1 === indexOfEventListener(listeners, type, listener, optionsOrUseCapture) &&\n    (listeners.push({\n      type: type,\n      listener: listener,\n      optionsOrUseCapture: optionsOrUseCapture\n    }),\n    traverseVisibleInstancesAndTextInstances(\n      this._fragmentFiber.child,\n      !1,\n      addEventListenerToChild,\n      type,\n      listener,\n      optionsOrUseCapture\n    ));\n  this._eventListeners = listeners;\n};\nfunction addEventListenerToChild(child, type, listener, optionsOrUseCapture) {\n  getInstanceFromHostFiber(child).addEventListener(\n    type,\n    listener,\n    optionsOrUseCapture\n  );\n  return !1;\n}\nFragmentInstance.prototype.removeEventListener = function (\n  type,\n  listener,\n  optionsOrUseCapture\n) {\n  var listeners = this._eventListeners;\n  null !== listeners &&\n    \"undefined\" !== typeof listeners &&\n    0 < listeners.length &&\n    (traverseVisibleInstancesAndTextInstances(\n      this._fragmentFiber.child,\n      !1,\n      removeEventListenerFromChild,\n      type,\n      listener,\n      optionsOrUseCapture\n    ),\n    (type = indexOfEventListener(\n      listeners,\n      type,\n      listener,\n      optionsOrUseCapture\n    )),\n    null !== this._eventListeners && this._eventListeners.splice(type, 1));\n};\nfunction removeEventListenerFromChild(\n  child,\n  type,\n  listener,\n  optionsOrUseCapture\n) {\n  getInstanceFromHostFiber(child).removeEventListener(\n    type,\n    listener,\n    optionsOrUseCapture\n  );\n  return !1;\n}\nfunction normalizeListenerOptions(opts) {\n  return null == opts\n    ? \"0\"\n    : \"boolean\" === typeof opts\n      ? \"c=\" + (opts ? \"1\" : \"0\")\n      : \"c=\" + (opts.capture ? \"1\" : \"0\");\n}\nfunction indexOfEventListener(\n  eventListeners,\n  type,\n  listener,\n  optionsOrUseCapture\n) {\n  if (0 === eventListeners.length) return -1;\n  optionsOrUseCapture = normalizeListenerOptions(optionsOrUseCapture);\n  for (var i = 0; i < eventListeners.length; i++) {\n    var item = eventListeners[i];\n    if (\n      item.type === type &&\n      item.listener === listener &&\n      normalizeListenerOptions(item.optionsOrUseCapture) === optionsOrUseCapture\n    )\n      return i;\n  }\n  return -1;\n}\nFragmentInstance.prototype.dispatchEvent = function (event) {\n  var parentHostFiber = getFragmentParentInstanceOrContainerFiber(\n    this._fragmentFiber\n  );\n  if (null === parentHostFiber) return !0;\n  parentHostFiber = getInstanceFromHostFiber(parentHostFiber);\n  var eventListeners = this._eventListeners;\n  if (\n    (null !== eventListeners && 0 < eventListeners.length) ||\n    !event.bubbles\n  ) {\n    var temp = document.createTextNode(\"\");\n    if (eventListeners)\n      for (var i = 0; i < eventListeners.length; i++) {\n        var _eventListeners$i = eventListeners[i];\n        temp.addEventListener(\n          _eventListeners$i.type,\n          _eventListeners$i.listener,\n          _eventListeners$i.optionsOrUseCapture\n        );\n      }\n    parentHostFiber.appendChild(temp);\n    event = temp.dispatchEvent(event);\n    if (eventListeners)\n      for (i = 0; i < eventListeners.length; i++)\n        (_eventListeners$i = eventListeners[i]),\n          temp.removeEventListener(\n            _eventListeners$i.type,\n            _eventListeners$i.listener,\n            _eventListeners$i.optionsOrUseCapture\n          );\n    parentHostFiber.removeChild(temp);\n    return event;\n  }\n  return parentHostFiber.dispatchEvent(event);\n};\nFragmentInstance.prototype.focus = function (focusOptions) {\n  traverseVisibleInstancesAndTextInstances(\n    this._fragmentFiber.child,\n    !0,\n    setFocusOnFiberIfFocusable,\n    focusOptions,\n    void 0,\n    void 0\n  );\n};\nfunction setFocusOnFiberIfFocusable(fiber, focusOptions) {\n  if (6 === fiber.tag) return !1;\n  fiber = getInstanceFromHostFiber(fiber);\n  return setFocusIfFocusable(fiber, focusOptions);\n}\nFragmentInstance.prototype.focusLast = function (focusOptions) {\n  var children = [];\n  traverseVisibleInstancesAndTextInstances(\n    this._fragmentFiber.child,\n    !0,\n    collectChildren,\n    children,\n    void 0,\n    void 0\n  );\n  for (\n    var i = children.length - 1;\n    0 <= i && !setFocusOnFiberIfFocusable(children[i], focusOptions);\n    i--\n  );\n};\nfunction collectChildren(child, collection) {\n  collection.push(child);\n  return !1;\n}\nFragmentInstance.prototype.blur = function () {\n  var parentHostFiber = getFragmentParentInstanceOrContainerFiber(\n    this._fragmentFiber\n  );\n  if (null !== parentHostFiber) {\n    parentHostFiber = getInstanceFromHostFiber(parentHostFiber);\n    var activeElement =\n      getOwnerDocumentFromRootContainer(parentHostFiber).activeElement;\n    null !== activeElement &&\n      parentHostFiber.contains(activeElement) &&\n      traverseVisibleInstancesAndTextInstances(\n        this._fragmentFiber.child,\n        !1,\n        blurActiveElementWithinFragment,\n        activeElement,\n        void 0,\n        void 0\n      );\n  }\n};\nfunction blurActiveElementWithinFragment(child, activeElement) {\n  if (6 === child.tag) return !1;\n  child = getInstanceFromHostFiber(child);\n  return child === activeElement || child.contains(activeElement)\n    ? (activeElement.blur(), !0)\n    : !1;\n}\nFragmentInstance.prototype.observeUsing = function (observer) {\n  null === this._observers && (this._observers = new Set());\n  this._observers.add(observer);\n  traverseVisibleInstancesAndTextInstances(\n    this._fragmentFiber.child,\n    !1,\n    observeChild,\n    observer,\n    void 0,\n    void 0\n  );\n};\nfunction observeChild(child, observer) {\n  if (6 === child.tag) return !1;\n  child = getInstanceFromHostFiber(child);\n  observer.observe(child);\n  return !1;\n}\nFragmentInstance.prototype.unobserveUsing = function (observer) {\n  var observers = this._observers;\n  null !== observers &&\n    observers.has(observer) &&\n    (observers.delete(observer),\n    traverseVisibleInstancesAndTextInstances(\n      this._fragmentFiber.child,\n      !1,\n      unobserveChild,\n      observer,\n      void 0,\n      void 0\n    ));\n};\nfunction unobserveChild(child, observer) {\n  if (6 === child.tag) return !1;\n  child = getInstanceFromHostFiber(child);\n  observer.unobserve(child);\n  return !1;\n}\nFragmentInstance.prototype.getClientRects = function () {\n  var rects = [];\n  traverseVisibleInstancesAndTextInstances(\n    this._fragmentFiber.child,\n    !1,\n    collectClientRects,\n    rects,\n    void 0,\n    void 0\n  );\n  return rects;\n};\nfunction collectClientRects(child, rects) {\n  if (6 === child.tag) {\n    child = child.stateNode;\n    var range = child.ownerDocument.createRange();\n    range.selectNodeContents(child);\n    rects.push.apply(rects, range.getClientRects());\n  } else\n    (child = getInstanceFromHostFiber(child)),\n      rects.push.apply(rects, child.getClientRects());\n  return !1;\n}\nFragmentInstance.prototype.getRootNode = function (getRootNodeOptions) {\n  var parentHostFiber = getFragmentParentInstanceOrContainerFiber(\n    this._fragmentFiber\n  );\n  return null === parentHostFiber\n    ? this\n    : getInstanceFromHostFiber(parentHostFiber).getRootNode(getRootNodeOptions);\n};\nFragmentInstance.prototype.compareDocumentPosition = function (otherNode) {\n  var parentHostFiber = getFragmentParentInstanceOrContainerFiber(\n    this._fragmentFiber\n  );\n  if (null === parentHostFiber) return Node.DOCUMENT_POSITION_DISCONNECTED;\n  var children = [];\n  traverseVisibleInstancesAndTextInstances(\n    this._fragmentFiber.child,\n    !1,\n    collectChildren,\n    children,\n    void 0,\n    void 0\n  );\n  var parentHostInstance = getInstanceFromHostFiber(parentHostFiber);\n  if (0 === children.length) {\n    children = this._fragmentFiber;\n    var parentResult = parentHostInstance.compareDocumentPosition(otherNode);\n    parentHostFiber = parentResult;\n    parentHostInstance === otherNode\n      ? (parentHostFiber = Node.DOCUMENT_POSITION_CONTAINS)\n      : parentResult & Node.DOCUMENT_POSITION_CONTAINED_BY &&\n        (traverseVisibleInstancesAndTextInstances(\n          children.sibling,\n          !1,\n          findNextSibling\n        ),\n        (children = searchTarget),\n        (searchTarget = null),\n        null === children\n          ? (parentHostFiber = Node.DOCUMENT_POSITION_PRECEDING)\n          : ((otherNode =\n              getInstanceFromHostFiber(children).compareDocumentPosition(\n                otherNode\n              )),\n            (parentHostFiber =\n              0 === otherNode || otherNode & Node.DOCUMENT_POSITION_FOLLOWING\n                ? Node.DOCUMENT_POSITION_FOLLOWING\n                : Node.DOCUMENT_POSITION_PRECEDING)));\n    return (parentHostFiber |= Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC);\n  }\n  parentHostFiber = getInstanceFromHostFiber(children[0]);\n  parentResult = getInstanceFromHostFiber(children[children.length - 1]);\n  for (\n    var foundPortalParent = !1, parent = this._fragmentFiber.return;\n    null !== parent;\n\n  ) {\n    4 === parent.tag && (foundPortalParent = !0);\n    if (3 === parent.tag || 5 === parent.tag) break;\n    parent = parent.return;\n  }\n  foundPortalParent = foundPortalParent\n    ? parentHostFiber.parentElement\n    : parentHostInstance;\n  if (null == foundPortalParent) return Node.DOCUMENT_POSITION_DISCONNECTED;\n  parentHostInstance =\n    foundPortalParent.compareDocumentPosition(parentHostFiber) &\n    Node.DOCUMENT_POSITION_CONTAINED_BY;\n  foundPortalParent =\n    foundPortalParent.compareDocumentPosition(parentResult) &\n    Node.DOCUMENT_POSITION_CONTAINED_BY;\n  parent = parentHostFiber.compareDocumentPosition(otherNode);\n  var lastResult = parentResult.compareDocumentPosition(otherNode),\n    otherNodeIsWithinFirstOrLastChild =\n      parent & Node.DOCUMENT_POSITION_CONTAINED_BY ||\n      lastResult & Node.DOCUMENT_POSITION_CONTAINED_BY;\n  lastResult =\n    parentHostInstance &&\n    foundPortalParent &&\n    parent & Node.DOCUMENT_POSITION_FOLLOWING &&\n    lastResult & Node.DOCUMENT_POSITION_PRECEDING;\n  parentHostFiber =\n    (parentHostInstance && parentHostFiber === otherNode) ||\n    (foundPortalParent && parentResult === otherNode) ||\n    otherNodeIsWithinFirstOrLastChild ||\n    lastResult\n      ? Node.DOCUMENT_POSITION_CONTAINED_BY\n      : (!parentHostInstance && parentHostFiber === otherNode) ||\n          (!foundPortalParent && parentResult === otherNode)\n        ? Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC\n        : parent;\n  return parentHostFiber & Node.DOCUMENT_POSITION_DISCONNECTED ||\n    parentHostFiber & Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC ||\n    validateDocumentPositionWithFiberTree(\n      parentHostFiber,\n      this._fragmentFiber,\n      children[0],\n      children[children.length - 1],\n      otherNode\n    )\n    ? parentHostFiber\n    : Node.DOCUMENT_POSITION_IMPLEMENTATION_SPECIFIC;\n};\nfunction validateDocumentPositionWithFiberTree(\n  documentPosition,\n  fragmentFiber,\n  precedingBoundaryFiber,\n  followingBoundaryFiber,\n  otherNode\n) {\n  var otherFiber = getClosestInstanceFromNode(otherNode);\n  if (documentPosition & Node.DOCUMENT_POSITION_CONTAINED_BY) {\n    if ((precedingBoundaryFiber = !!otherFiber))\n      a: {\n        for (; null !== otherFiber; ) {\n          if (\n            7 === otherFiber.tag &&\n            (otherFiber === fragmentFiber ||\n              otherFiber.alternate === fragmentFiber)\n          ) {\n            precedingBoundaryFiber = !0;\n            break a;\n          }\n          otherFiber = otherFiber.return;\n        }\n        precedingBoundaryFiber = !1;\n      }\n    return precedingBoundaryFiber;\n  }\n  if (documentPosition & Node.DOCUMENT_POSITION_CONTAINS) {\n    if (null === otherFiber)\n      return (\n        (otherFiber = otherNode.ownerDocument),\n        otherNode === otherFiber || otherNode === otherFiber.body\n      );\n    a: {\n      otherFiber = fragmentFiber;\n      for (\n        fragmentFiber =\n          getFragmentParentInstanceOrContainerFiber(fragmentFiber);\n        null !== otherFiber;\n\n      ) {\n        if (\n          !(\n            (5 !== otherFiber.tag && 3 !== otherFiber.tag) ||\n            (otherFiber !== fragmentFiber &&\n              otherFiber.alternate !== fragmentFiber)\n          )\n        ) {\n          otherFiber = !0;\n          break a;\n        }\n        otherFiber = otherFiber.return;\n      }\n      otherFiber = !1;\n    }\n    return otherFiber;\n  }\n  return documentPosition & Node.DOCUMENT_POSITION_PRECEDING\n    ? ((fragmentFiber = !!otherFiber) &&\n        !(fragmentFiber = otherFiber === precedingBoundaryFiber) &&\n        ((fragmentFiber = getLowestCommonAncestor(\n          precedingBoundaryFiber,\n          otherFiber,\n          getParentForFragmentAncestors\n        )),\n        null === fragmentFiber\n          ? (fragmentFiber = !1)\n          : (traverseVisibleInstancesAndTextInstances(\n              fragmentFiber,\n              !0,\n              isFiberPrecedingCheck,\n              otherFiber,\n              precedingBoundaryFiber\n            ),\n            (otherFiber = searchTarget),\n            (searchTarget = null),\n            (fragmentFiber = null !== otherFiber))),\n      fragmentFiber)\n    : documentPosition & Node.DOCUMENT_POSITION_FOLLOWING\n      ? ((fragmentFiber = !!otherFiber) &&\n          !(fragmentFiber = otherFiber === followingBoundaryFiber) &&\n          ((fragmentFiber = getLowestCommonAncestor(\n            followingBoundaryFiber,\n            otherFiber,\n            getParentForFragmentAncestors\n          )),\n          null === fragmentFiber\n            ? (fragmentFiber = !1)\n            : (traverseVisibleInstancesAndTextInstances(\n                fragmentFiber,\n                !0,\n                isFiberFollowingCheck,\n                otherFiber,\n                followingBoundaryFiber\n              ),\n              (otherFiber = searchTarget),\n              (searchBoundary = searchTarget = null),\n              (fragmentFiber = null !== otherFiber))),\n        fragmentFiber)\n      : !1;\n}\nfunction scrollTextNodeIntoView(textNode, resolvedAlignToTop) {\n  var range = textNode.ownerDocument.createRange();\n  range.selectNodeContents(textNode);\n  textNode = range.getBoundingClientRect();\n  window.scrollTo(\n    window.scrollX + textNode.left,\n    resolvedAlignToTop\n      ? window.scrollY + textNode.top\n      : window.scrollY + textNode.bottom - window.innerHeight\n  );\n}\nFragmentInstance.prototype.scrollIntoView = function (alignToTop) {\n  if (\"object\" === typeof alignToTop) throw Error(formatProdErrorMessage(566));\n  var children = [];\n  traverseVisibleInstancesAndTextInstances(\n    this._fragmentFiber.child,\n    !1,\n    collectChildren,\n    children,\n    void 0,\n    void 0\n  );\n  var resolvedAlignToTop = !1 !== alignToTop;\n  if (0 === children.length) {\n    var fiber = this._fragmentFiber,\n      result = [null, null],\n      parentHostFiber = getFragmentParentInstanceOrContainerFiber(fiber);\n    null !== parentHostFiber &&\n      findFragmentInstanceOrTextInstanceSiblings(\n        result,\n        fiber,\n        parentHostFiber.child\n      );\n    fiber = resolvedAlignToTop\n      ? result[1] ||\n        result[0] ||\n        getFragmentParentInstanceOrContainerFiber(this._fragmentFiber)\n      : result[0] || result[1];\n    if (null === fiber) return;\n    if (6 === fiber.tag) {\n      alignToTop = getInstanceFromHostFiber(fiber);\n      scrollTextNodeIntoView(alignToTop, resolvedAlignToTop);\n      return;\n    }\n    fiber = getInstanceFromHostFiber(fiber);\n    if (9 !== fiber.nodeType) {\n      if (11 === fiber.nodeType) {\n        resolvedAlignToTop = \"host\" in fiber ? fiber.host : null;\n        null !== resolvedAlignToTop &&\n          resolvedAlignToTop.scrollIntoView(alignToTop);\n        return;\n      }\n      fiber.scrollIntoView(alignToTop);\n    }\n  }\n  for (\n    fiber = resolvedAlignToTop ? children.length - 1 : 0;\n    fiber !== (resolvedAlignToTop ? -1 : children.length);\n\n  )\n    (result = children[fiber]),\n      6 === result.tag\n        ? ((result = getInstanceFromHostFiber(result)),\n          scrollTextNodeIntoView(result, resolvedAlignToTop))\n        : getInstanceFromHostFiber(result).scrollIntoView(alignToTop),\n      (fiber += resolvedAlignToTop ? -1 : 1);\n};\nfunction addFragmentHandleToFiber(child, fragmentInstance) {\n  child = getInstanceFromHostFiber(child);\n  addFragmentHandleToInstance(child, fragmentInstance);\n  return !1;\n}\nfunction addFragmentHandleToInstance(instance, fragmentInstance) {\n  null == instance.reactFragments && (instance.reactFragments = new Set());\n  instance.reactFragments.add(fragmentInstance);\n}\nfunction commitNewChildToFragmentInstance(childInstance, fragmentInstance) {\n  if (3 !== childInstance.nodeType) {\n    var eventListeners = fragmentInstance._eventListeners;\n    if (null !== eventListeners)\n      for (var i = 0; i < eventListeners.length; i++) {\n        var _eventListeners$i3 = eventListeners[i];\n        childInstance.addEventListener(\n          _eventListeners$i3.type,\n          _eventListeners$i3.listener,\n          _eventListeners$i3.optionsOrUseCapture\n        );\n      }\n    null !== fragmentInstance._observers &&\n      fragmentInstance._observers.forEach(function (observer) {\n        observer.observe(childInstance);\n      });\n    addFragmentHandleToInstance(childInstance, fragmentInstance);\n  }\n}\nfunction clearContainerSparingly(container) {\n  var nextNode = container.firstChild;\n  nextNode && 10 === nextNode.nodeType && (nextNode = nextNode.nextSibling);\n  for (; nextNode; ) {\n    var node = nextNode;\n    nextNode = nextNode.nextSibling;\n    switch (node.nodeName) {\n      case \"HTML\":\n      case \"HEAD\":\n      case \"BODY\":\n        clearContainerSparingly(node);\n        detachDeletedInstance(node);\n        continue;\n      case \"SCRIPT\":\n      case \"STYLE\":\n        continue;\n      case \"LINK\":\n        if (\"stylesheet\" === node.rel.toLowerCase()) continue;\n    }\n    container.removeChild(node);\n  }\n}\nfunction canHydrateInstance(instance, type, props, inRootOrSingleton) {\n  for (; 1 === instance.nodeType; ) {\n    var anyProps = props;\n    if (instance.nodeName.toLowerCase() !== type.toLowerCase()) {\n      if (\n        !inRootOrSingleton &&\n        (\"INPUT\" !== instance.nodeName || \"hidden\" !== instance.type)\n      )\n        break;\n    } else if (!inRootOrSingleton)\n      if (\"input\" === type && \"hidden\" === instance.type) {\n        var name = null == anyProps.name ? null : \"\" + anyProps.name;\n        if (\n          \"hidden\" === anyProps.type &&\n          instance.getAttribute(\"name\") === name\n        )\n          return instance;\n      } else return instance;\n    else if (!instance[internalHoistableMarker])\n      switch (type) {\n        case \"meta\":\n          if (!instance.hasAttribute(\"itemprop\")) break;\n          return instance;\n        case \"link\":\n          name = instance.getAttribute(\"rel\");\n          if (\"stylesheet\" === name && instance.hasAttribute(\"data-precedence\"))\n            break;\n          else if (\n            name !== anyProps.rel ||\n            instance.getAttribute(\"href\") !==\n              (null == anyProps.href || \"\" === anyProps.href\n                ? null\n                : anyProps.href) ||\n            instance.getAttribute(\"crossorigin\") !==\n              (null == anyProps.crossOrigin ? null : anyProps.crossOrigin) ||\n            instance.getAttribute(\"title\") !==\n              (null == anyProps.title ? null : anyProps.title)\n          )\n            break;\n          return instance;\n        case \"style\":\n          if (instance.hasAttribute(\"data-precedence\")) break;\n          return instance;\n        case \"script\":\n          name = instance.getAttribute(\"src\");\n          if (\n            (name !== (null == anyProps.src ? null : anyProps.src) ||\n              instance.getAttribute(\"type\") !==\n                (null == anyProps.type ? null : anyProps.type) ||\n              instance.getAttribute(\"crossorigin\") !==\n                (null == anyProps.crossOrigin ? null : anyProps.crossOrigin)) &&\n            name &&\n            instance.hasAttribute(\"async\") &&\n            !instance.hasAttribute(\"itemprop\")\n          )\n            break;\n          return instance;\n        default:\n          return instance;\n      }\n    instance = getNextHydratable(instance.nextSibling);\n    if (null === instance) break;\n  }\n  return null;\n}\nfunction canHydrateTextInstance(instance, text, inRootOrSingleton) {\n  if (\"\" === text) return null;\n  for (; 3 !== instance.nodeType; ) {\n    if (\n      (1 !== instance.nodeType ||\n        \"INPUT\" !== instance.nodeName ||\n        \"hidden\" !== instance.type) &&\n      !inRootOrSingleton\n    )\n      return null;\n    instance = getNextHydratable(instance.nextSibling);\n    if (null === instance) return null;\n  }\n  return instance;\n}\nfunction canHydrateHydrationBoundary(instance, inRootOrSingleton) {\n  for (; 8 !== instance.nodeType; ) {\n    if (\n      (1 !== instance.nodeType ||\n        \"INPUT\" !== instance.nodeName ||\n        \"hidden\" !== instance.type) &&\n      !inRootOrSingleton\n    )\n      return null;\n    instance = getNextHydratable(instance.nextSibling);\n    if (null === instance) return null;\n  }\n  return instance;\n}\nfunction isSuspenseInstancePending(instance) {\n  return \"$?\" === instance.data || \"$~\" === instance.data;\n}\nfunction isSuspenseInstanceFallback(instance) {\n  return (\n    \"$!\" === instance.data ||\n    (\"$?\" === instance.data && \"loading\" !== instance.ownerDocument.readyState)\n  );\n}\nfunction registerSuspenseInstanceRetry(instance, callback) {\n  var ownerDocument = instance.ownerDocument;\n  if (\"$~\" === instance.data) instance._reactRetry = callback;\n  else if (\"$?\" !== instance.data || \"loading\" !== ownerDocument.readyState)\n    callback();\n  else {\n    var listener = function () {\n      callback();\n      ownerDocument.removeEventListener(\"DOMContentLoaded\", listener);\n    };\n    ownerDocument.addEventListener(\"DOMContentLoaded\", listener);\n    instance._reactRetry = listener;\n  }\n}\nfunction getNextHydratable(node) {\n  for (; null != node; node = node.nextSibling) {\n    var nodeType = node.nodeType;\n    if (1 === nodeType || 3 === nodeType) break;\n    if (8 === nodeType) {\n      nodeType = node.data;\n      if (\n        \"$\" === nodeType ||\n        \"$!\" === nodeType ||\n        \"$?\" === nodeType ||\n        \"$~\" === nodeType ||\n        \"&\" === nodeType ||\n        \"F!\" === nodeType ||\n        \"F\" === nodeType\n      )\n        break;\n      if (\"/$\" === nodeType || \"/&\" === nodeType) return null;\n    }\n  }\n  return node;\n}\nvar previousHydratableOnEnteringScopedSingleton = null;\nfunction getNextHydratableInstanceAfterHydrationBoundary(hydrationInstance) {\n  hydrationInstance = hydrationInstance.nextSibling;\n  for (var depth = 0; hydrationInstance; ) {\n    if (8 === hydrationInstance.nodeType) {\n      var data = hydrationInstance.data;\n      if (\"/$\" === data || \"/&\" === data) {\n        if (0 === depth)\n          return getNextHydratable(hydrationInstance.nextSibling);\n        depth--;\n      } else\n        (\"$\" !== data &&\n          \"$!\" !== data &&\n          \"$?\" !== data &&\n          \"$~\" !== data &&\n          \"&\" !== data) ||\n          depth++;\n    }\n    hydrationInstance = hydrationInstance.nextSibling;\n  }\n  return null;\n}\nfunction getParentHydrationBoundary(targetInstance) {\n  targetInstance = targetInstance.previousSibling;\n  for (var depth = 0; targetInstance; ) {\n    if (8 === targetInstance.nodeType) {\n      var data = targetInstance.data;\n      if (\n        \"$\" === data ||\n        \"$!\" === data ||\n        \"$?\" === data ||\n        \"$~\" === data ||\n        \"&\" === data\n      ) {\n        if (0 === depth) return targetInstance;\n        depth--;\n      } else (\"/$\" !== data && \"/&\" !== data) || depth++;\n    }\n    targetInstance = targetInstance.previousSibling;\n  }\n  return null;\n}\nfunction setFocusIfFocusable(node, focusOptions) {\n  function handleFocus() {\n    didFocus = !0;\n  }\n  if (node.ownerDocument.activeElement === node) return !0;\n  var didFocus = !1;\n  try {\n    node.ownerDocument.addEventListener(\"focus\", handleFocus, !0),\n      (node.focus || HTMLElement.prototype.focus).call(node, focusOptions);\n  } finally {\n    node.ownerDocument.removeEventListener(\"focus\", handleFocus, !0);\n  }\n  return didFocus;\n}\nfunction resolveSingletonInstance(type, props, rootContainerInstance) {\n  props = getOwnerDocumentFromRootContainer(rootContainerInstance);\n  switch (type) {\n    case \"html\":\n      type = props.documentElement;\n      if (!type) throw Error(formatProdErrorMessage(452));\n      return type;\n    case \"head\":\n      type = props.head;\n      if (!type) throw Error(formatProdErrorMessage(453));\n      return type;\n    case \"body\":\n      type = props.body;\n      if (!type) throw Error(formatProdErrorMessage(454));\n      return type;\n    default:\n      throw Error(formatProdErrorMessage(451));\n  }\n}\nfunction releaseSingletonInstance(instance, type, props) {\n  for (var propKey in props) {\n    var propValue = props[propKey];\n    props.hasOwnProperty(propKey) &&\n      null != propValue &&\n      setProp(instance, type, propKey, null, emptyProps, propValue);\n  }\n  null != props.dangerouslySetInnerHTML && (instance.textContent = \"\");\n  instance.onclick === noop$1 && (instance.onclick = null);\n  detachDeletedInstance(instance);\n}\nfunction clearSingletonPreambleContribution(instance) {\n  for (var attributes = instance.attributes; attributes.length; )\n    instance.removeAttributeNode(attributes[0]);\n  detachDeletedInstance(instance);\n}\nvar preloadPropsMap = new Map(),\n  preconnectsSet = new Set();\nfunction getHoistableRoot(container) {\n  if (\"function\" === typeof container.getRootNode) {\n    var rootNode = container.getRootNode();\n    if (9 === rootNode.nodeType || 11 === rootNode.nodeType) return rootNode;\n  }\n  return 9 === container.nodeType ? container : container.ownerDocument;\n}\nvar previousDispatcher = ReactDOMSharedInternals.d;\nReactDOMSharedInternals.d = {\n  f: flushSyncWork,\n  r: requestFormReset,\n  D: prefetchDNS,\n  C: preconnect,\n  L: preload,\n  m: preloadModule,\n  X: preinitScript,\n  S: preinitStyle,\n  M: preinitModuleScript\n};\nfunction flushSyncWork() {\n  var previousWasRendering = previousDispatcher.f(),\n    wasRendering = flushSyncWork$1();\n  return previousWasRendering || wasRendering;\n}\nfunction requestFormReset(form) {\n  var formInst = getInstanceFromNode(form);\n  null !== formInst && 5 === formInst.tag && \"form\" === formInst.type\n    ? requestFormReset$1(formInst)\n    : previousDispatcher.r(form);\n}\nvar globalDocument = \"undefined\" === typeof document ? null : document;\nfunction preconnectAs(rel, href, crossOrigin) {\n  var ownerDocument = globalDocument;\n  if (ownerDocument && \"string\" === typeof href && href) {\n    var limitedEscapedHref =\n      escapeSelectorAttributeValueInsideDoubleQuotes(href);\n    limitedEscapedHref =\n      'link[rel=\"' + rel + '\"][href=\"' + limitedEscapedHref + '\"]';\n    \"string\" === typeof crossOrigin &&\n      (limitedEscapedHref += '[crossorigin=\"' + crossOrigin + '\"]');\n    preconnectsSet.has(limitedEscapedHref) ||\n      (preconnectsSet.add(limitedEscapedHref),\n      (rel = { rel: rel, crossOrigin: crossOrigin, href: href }),\n      null === ownerDocument.querySelector(limitedEscapedHref) &&\n        ((href = ownerDocument.createElement(\"link\")),\n        setInitialProperties(href, \"link\", rel),\n        markNodeAsHoistable(href),\n        ownerDocument.head.appendChild(href)));\n  }\n}\nfunction prefetchDNS(href) {\n  previousDispatcher.D(href);\n  preconnectAs(\"dns-prefetch\", href, null);\n}\nfunction preconnect(href, crossOrigin) {\n  previousDispatcher.C(href, crossOrigin);\n  preconnectAs(\"preconnect\", href, crossOrigin);\n}\nfunction preload(href, as, options) {\n  previousDispatcher.L(href, as, options);\n  var ownerDocument = globalDocument;\n  if (ownerDocument && href && as) {\n    var preloadSelector =\n      'link[rel=\"preload\"][as=\"' +\n      escapeSelectorAttributeValueInsideDoubleQuotes(as) +\n      '\"]';\n    \"image\" === as\n      ? options && options.imageSrcSet\n        ? ((preloadSelector +=\n            '[imagesrcset=\"' +\n            escapeSelectorAttributeValueInsideDoubleQuotes(\n              options.imageSrcSet\n            ) +\n            '\"]'),\n          \"string\" === typeof options.imageSizes &&\n            (preloadSelector +=\n              '[imagesizes=\"' +\n              escapeSelectorAttributeValueInsideDoubleQuotes(\n                options.imageSizes\n              ) +\n              '\"]'))\n        : (preloadSelector +=\n            '[href=\"' +\n            escapeSelectorAttributeValueInsideDoubleQuotes(href) +\n            '\"]')\n      : (preloadSelector +=\n          '[href=\"' +\n          escapeSelectorAttributeValueInsideDoubleQuotes(href) +\n          '\"]');\n    var key = preloadSelector;\n    switch (as) {\n      case \"style\":\n        key = getStyleKey(href);\n        break;\n      case \"script\":\n        key = getScriptKey(href);\n    }\n    if (\n      !(\n        preloadPropsMap.has(key) ||\n        ((href = assign(\n          {\n            rel: \"preload\",\n            href:\n              \"image\" === as && options && options.imageSrcSet ? void 0 : href,\n            as: as\n          },\n          options\n        )),\n        preloadPropsMap.set(key, href),\n        null !== ownerDocument.querySelector(preloadSelector) ||\n          (\"style\" === as &&\n            ownerDocument.querySelector(getStylesheetSelectorFromKey(key))) ||\n          (\"script\" === as &&\n            ownerDocument.querySelector(getScriptSelectorFromKey(key))))\n      )\n    ) {\n      var instance = ownerDocument.createElement(\"link\");\n      setInitialProperties(instance, \"link\", href);\n      \"style\" === as &&\n        ((instance[internalLoadPendingKey] = !0),\n        (instance.onload = instance.onerror =\n          function () {\n            clearPendingLoadOnNode(instance);\n          }));\n      markNodeAsHoistable(instance);\n      ownerDocument.head.appendChild(instance);\n    }\n  }\n}\nfunction preloadModule(href, options) {\n  previousDispatcher.m(href, options);\n  var ownerDocument = globalDocument;\n  if (ownerDocument && href) {\n    var as = options && \"string\" === typeof options.as ? options.as : \"script\",\n      preloadSelector =\n        'link[rel=\"modulepreload\"][as=\"' +\n        escapeSelectorAttributeValueInsideDoubleQuotes(as) +\n        '\"][href=\"' +\n        escapeSelectorAttributeValueInsideDoubleQuotes(href) +\n        '\"]',\n      key = preloadSelector;\n    switch (as) {\n      case \"audioworklet\":\n      case \"paintworklet\":\n      case \"serviceworker\":\n      case \"sharedworker\":\n      case \"worker\":\n      case \"script\":\n        key = getScriptKey(href);\n    }\n    if (\n      !preloadPropsMap.has(key) &&\n      ((href = assign({ rel: \"modulepreload\", href: href }, options)),\n      preloadPropsMap.set(key, href),\n      null === ownerDocument.querySelector(preloadSelector))\n    ) {\n      switch (as) {\n        case \"audioworklet\":\n        case \"paintworklet\":\n        case \"serviceworker\":\n        case \"sharedworker\":\n        case \"worker\":\n        case \"script\":\n          if (ownerDocument.querySelector(getScriptSelectorFromKey(key)))\n            return;\n      }\n      as = ownerDocument.createElement(\"link\");\n      setInitialProperties(as, \"link\", href);\n      markNodeAsHoistable(as);\n      ownerDocument.head.appendChild(as);\n    }\n  }\n}\nfunction preinitStyle(href, precedence, options) {\n  previousDispatcher.S(href, precedence, options);\n  var ownerDocument = globalDocument;\n  if (ownerDocument && href) {\n    var styles = getResourcesFromRoot(ownerDocument).hoistableStyles,\n      key = getStyleKey(href);\n    precedence = precedence || \"default\";\n    var resource = styles.get(key);\n    if (!resource) {\n      var state = { loading: 0, preload: null };\n      if (\n        (resource = ownerDocument.querySelector(\n          getStylesheetSelectorFromKey(key)\n        ))\n      )\n        state.loading = 5;\n      else {\n        href = assign(\n          { rel: \"stylesheet\", href: href, \"data-precedence\": precedence },\n          options\n        );\n        (options = preloadPropsMap.get(key)) &&\n          adoptPreloadPropsForStylesheet(href, options);\n        var link = (resource = ownerDocument.createElement(\"link\"));\n        markNodeAsHoistable(link);\n        setInitialProperties(link, \"link\", href);\n        link._p = new Promise(function (resolve, reject) {\n          link.onload = resolve;\n          link.onerror = reject;\n        });\n        link.addEventListener(\"load\", function () {\n          state.loading |= 1;\n        });\n        link.addEventListener(\"error\", function () {\n          state.loading |= 2;\n        });\n        state.loading |= 4;\n        insertStylesheet(resource, precedence, ownerDocument);\n      }\n      resource = {\n        type: \"stylesheet\",\n        instance: resource,\n        count: 1,\n        state: state\n      };\n      styles.set(key, resource);\n    }\n  }\n}\nfunction preinitScript(src, options) {\n  previousDispatcher.X(src, options);\n  var ownerDocument = globalDocument;\n  if (ownerDocument && src) {\n    var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,\n      key = getScriptKey(src),\n      resource = scripts.get(key);\n    resource ||\n      ((resource = ownerDocument.querySelector(getScriptSelectorFromKey(key))),\n      resource ||\n        ((src = assign({ src: src, async: !0 }, options)),\n        (options = preloadPropsMap.get(key)) &&\n          adoptPreloadPropsForScript(src, options),\n        (resource = ownerDocument.createElement(\"script\")),\n        markNodeAsHoistable(resource),\n        setInitialProperties(resource, \"link\", src),\n        ownerDocument.head.appendChild(resource)),\n      (resource = {\n        type: \"script\",\n        instance: resource,\n        count: 1,\n        state: null\n      }),\n      scripts.set(key, resource));\n  }\n}\nfunction preinitModuleScript(src, options) {\n  previousDispatcher.M(src, options);\n  var ownerDocument = globalDocument;\n  if (ownerDocument && src) {\n    var scripts = getResourcesFromRoot(ownerDocument).hoistableScripts,\n      key = getScriptKey(src),\n      resource = scripts.get(key);\n    resource ||\n      ((resource = ownerDocument.querySelector(getScriptSelectorFromKey(key))),\n      resource ||\n        ((src = assign({ src: src, async: !0, type: \"module\" }, options)),\n        (options = preloadPropsMap.get(key)) &&\n          adoptPreloadPropsForScript(src, options),\n        (resource = ownerDocument.createElement(\"script\")),\n        markNodeAsHoistable(resource),\n        setInitialProperties(resource, \"link\", src),\n        ownerDocument.head.appendChild(resource)),\n      (resource = {\n        type: \"script\",\n        instance: resource,\n        count: 1,\n        state: null\n      }),\n      scripts.set(key, resource));\n  }\n}\nfunction getResource(type, currentProps, pendingProps, currentResource) {\n  var JSCompiler_inline_result = (JSCompiler_inline_result =\n    rootInstanceStackCursor.current)\n    ? getHoistableRoot(JSCompiler_inline_result)\n    : null;\n  if (!JSCompiler_inline_result) throw Error(formatProdErrorMessage(446));\n  switch (type) {\n    case \"meta\":\n    case \"title\":\n      return null;\n    case \"style\":\n      return \"string\" === typeof pendingProps.precedence &&\n        \"string\" === typeof pendingProps.href\n        ? ((pendingProps = getStyleKey(pendingProps.href)),\n          (currentProps = getResourcesFromRoot(\n            JSCompiler_inline_result\n          ).hoistableStyles),\n          (currentResource = currentProps.get(pendingProps)),\n          currentResource ||\n            ((currentResource = {\n              type: \"style\",\n              instance: null,\n              count: 0,\n              state: null\n            }),\n            currentProps.set(pendingProps, currentResource)),\n          currentResource)\n        : { type: \"void\", instance: null, count: 0, state: null };\n    case \"link\":\n      if (\n        \"stylesheet\" === pendingProps.rel &&\n        \"string\" === typeof pendingProps.href &&\n        \"string\" === typeof pendingProps.precedence\n      ) {\n        type = getStyleKey(pendingProps.href);\n        var styles$265 = getResourcesFromRoot(\n            JSCompiler_inline_result\n          ).hoistableStyles,\n          resource$266 = styles$265.get(type);\n        resource$266 ||\n          ((JSCompiler_inline_result =\n            JSCompiler_inline_result.ownerDocument || JSCompiler_inline_result),\n          (resource$266 = {\n            type: \"stylesheet\",\n            instance: null,\n            count: 0,\n            state: { loading: 0, preload: null }\n          }),\n          styles$265.set(type, resource$266),\n          (styles$265 = JSCompiler_inline_result.querySelector(\n            getStylesheetSelectorFromKey(type)\n          ))\n            ? styles$265._p ||\n              ((resource$266.instance = styles$265),\n              (resource$266.state.loading = 5))\n            : ((styles$265 = preloadPropsMap.get(type)),\n              styles$265 ||\n                ((styles$265 = {\n                  rel: \"preload\",\n                  as: \"style\",\n                  href: pendingProps.href,\n                  crossOrigin: pendingProps.crossOrigin,\n                  integrity: pendingProps.integrity,\n                  media: pendingProps.media,\n                  hrefLang: pendingProps.hrefLang,\n                  referrerPolicy: pendingProps.referrerPolicy\n                }),\n                preloadPropsMap.set(type, styles$265)),\n              preloadStylesheet(\n                JSCompiler_inline_result,\n                type,\n                styles$265,\n                resource$266.state\n              )));\n        if (currentProps && null === currentResource)\n          throw Error(formatProdErrorMessage(528, \"\"));\n        return resource$266;\n      }\n      if (currentProps && null !== currentResource)\n        throw Error(formatProdErrorMessage(529, \"\"));\n      return null;\n    case \"script\":\n      return (\n        (currentProps = pendingProps.async),\n        (pendingProps = pendingProps.src),\n        \"string\" === typeof pendingProps &&\n        currentProps &&\n        \"function\" !== typeof currentProps &&\n        \"symbol\" !== typeof currentProps\n          ? ((pendingProps = getScriptKey(pendingProps)),\n            (currentProps = getResourcesFromRoot(\n              JSCompiler_inline_result\n            ).hoistableScripts),\n            (currentResource = currentProps.get(pendingProps)),\n            currentResource ||\n              ((currentResource = {\n                type: \"script\",\n                instance: null,\n                count: 0,\n                state: null\n              }),\n              currentProps.set(pendingProps, currentResource)),\n            currentResource)\n          : { type: \"void\", instance: null, count: 0, state: null }\n      );\n    default:\n      throw Error(formatProdErrorMessage(444, type));\n  }\n}\nfunction getStyleKey(href) {\n  return 'href=\"' + escapeSelectorAttributeValueInsideDoubleQuotes(href) + '\"';\n}\nfunction getStylesheetSelectorFromKey(key) {\n  return 'link[rel=\"stylesheet\"][' + key + \"]\";\n}\nfunction stylesheetPropsFromRawProps(rawProps) {\n  return assign({}, rawProps, {\n    \"data-precedence\": rawProps.precedence,\n    precedence: null\n  });\n}\nfunction preloadStylesheet(ownerDocument, key, preloadProps, state) {\n  if (\n    (key = ownerDocument.querySelector(\n      'link[rel=\"preload\"][as=\"style\"][' + key + \"]\"\n    ))\n  ) {\n    if (!0 !== key[internalLoadPendingKey]) {\n      state.loading = 1;\n      return;\n    }\n  } else\n    (key = ownerDocument.createElement(\"link\")),\n      (key[internalLoadPendingKey] = !0),\n      (key.onload = key.onerror = clearPendingLoadOnNode.bind(null, key)),\n      setInitialProperties(key, \"link\", preloadProps),\n      markNodeAsHoistable(key),\n      ownerDocument.head.appendChild(key);\n  state.preload = key;\n  key.addEventListener(\"load\", function () {\n    return (state.loading |= 1);\n  });\n  key.addEventListener(\"error\", function () {\n    return (state.loading |= 2);\n  });\n}\nfunction getScriptKey(src) {\n  return '[src=\"' + escapeSelectorAttributeValueInsideDoubleQuotes(src) + '\"]';\n}\nfunction getScriptSelectorFromKey(key) {\n  return \"script[async]\" + key;\n}\nfunction acquireResource(hoistableRoot, resource, props) {\n  resource.count++;\n  if (null === resource.instance)\n    switch (resource.type) {\n      case \"style\":\n        var instance = hoistableRoot.querySelector(\n          'style[data-href~=\"' +\n            escapeSelectorAttributeValueInsideDoubleQuotes(props.href) +\n            '\"]'\n        );\n        if (instance)\n          return (\n            (resource.instance = instance),\n            markNodeAsHoistable(instance),\n            instance\n          );\n        var styleProps = assign({}, props, {\n          \"data-href\": props.href,\n          \"data-precedence\": props.precedence,\n          href: null,\n          precedence: null\n        });\n        instance = (hoistableRoot.ownerDocument || hoistableRoot).createElement(\n          \"style\"\n        );\n        markNodeAsHoistable(instance);\n        setInitialProperties(instance, \"style\", styleProps);\n        insertStylesheet(instance, props.precedence, hoistableRoot);\n        return (resource.instance = instance);\n      case \"stylesheet\":\n        styleProps = getStyleKey(props.href);\n        var instance$271 = hoistableRoot.querySelector(\n          getStylesheetSelectorFromKey(styleProps)\n        );\n        if (instance$271)\n          return (\n            (resource.state.loading |= 4),\n            (resource.instance = instance$271),\n            markNodeAsHoistable(instance$271),\n            instance$271\n          );\n        instance = stylesheetPropsFromRawProps(props);\n        (styleProps = preloadPropsMap.get(styleProps)) &&\n          adoptPreloadPropsForStylesheet(instance, styleProps);\n        instance$271 = (\n          hoistableRoot.ownerDocument || hoistableRoot\n        ).createElement(\"link\");\n        markNodeAsHoistable(instance$271);\n        var linkInstance = instance$271;\n        linkInstance._p = new Promise(function (resolve, reject) {\n          linkInstance.onload = resolve;\n          linkInstance.onerror = reject;\n        });\n        setInitialProperties(instance$271, \"link\", instance);\n        resource.state.loading |= 4;\n        insertStylesheet(instance$271, props.precedence, hoistableRoot);\n        return (resource.instance = instance$271);\n      case \"script\":\n        instance$271 = getScriptKey(props.src);\n        if (\n          (styleProps = hoistableRoot.querySelector(\n            getScriptSelectorFromKey(instance$271)\n          ))\n        )\n          return (\n            (resource.instance = styleProps),\n            markNodeAsHoistable(styleProps),\n            styleProps\n          );\n        instance = props;\n        if ((styleProps = preloadPropsMap.get(instance$271)))\n          (instance = assign({}, props)),\n            adoptPreloadPropsForScript(instance, styleProps);\n        hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;\n        styleProps = hoistableRoot.createElement(\"script\");\n        markNodeAsHoistable(styleProps);\n        setInitialProperties(styleProps, \"link\", instance);\n        hoistableRoot.head.appendChild(styleProps);\n        return (resource.instance = styleProps);\n      case \"void\":\n        return null;\n      default:\n        throw Error(formatProdErrorMessage(443, resource.type));\n    }\n  else\n    \"stylesheet\" === resource.type &&\n      0 === (resource.state.loading & 4) &&\n      ((instance = resource.instance),\n      (resource.state.loading |= 4),\n      insertStylesheet(instance, props.precedence, hoistableRoot));\n  return resource.instance;\n}\nfunction insertStylesheet(instance, precedence, root) {\n  for (\n    var nodes = root.querySelectorAll(\n        'link[rel=\"stylesheet\"][data-precedence],style[data-precedence]'\n      ),\n      last = nodes.length ? nodes[nodes.length - 1] : null,\n      prior = last,\n      i = 0;\n    i < nodes.length;\n    i++\n  ) {\n    var node = nodes[i];\n    if (node.dataset.precedence === precedence) prior = node;\n    else if (prior !== last) break;\n  }\n  prior\n    ? prior.parentNode.insertBefore(instance, prior.nextSibling)\n    : ((precedence = 9 === root.nodeType ? root.head : root),\n      precedence.insertBefore(instance, precedence.firstChild));\n}\nfunction adoptPreloadPropsForStylesheet(stylesheetProps, preloadProps) {\n  null == stylesheetProps.crossOrigin &&\n    (stylesheetProps.crossOrigin = preloadProps.crossOrigin);\n  null == stylesheetProps.referrerPolicy &&\n    (stylesheetProps.referrerPolicy = preloadProps.referrerPolicy);\n  null == stylesheetProps.title && (stylesheetProps.title = preloadProps.title);\n}\nfunction adoptPreloadPropsForScript(scriptProps, preloadProps) {\n  null == scriptProps.crossOrigin &&\n    (scriptProps.crossOrigin = preloadProps.crossOrigin);\n  null == scriptProps.referrerPolicy &&\n    (scriptProps.referrerPolicy = preloadProps.referrerPolicy);\n  null == scriptProps.integrity &&\n    (scriptProps.integrity = preloadProps.integrity);\n}\nvar tagCaches = null;\nfunction getHydratableHoistableCache(type, keyAttribute, ownerDocument) {\n  if (null === tagCaches) {\n    var cache = new Map();\n    var caches = (tagCaches = new Map());\n    caches.set(ownerDocument, cache);\n  } else\n    (caches = tagCaches),\n      (cache = caches.get(ownerDocument)),\n      cache || ((cache = new Map()), caches.set(ownerDocument, cache));\n  if (cache.has(type)) return cache;\n  cache.set(type, null);\n  ownerDocument = ownerDocument.getElementsByTagName(type);\n  for (caches = 0; caches < ownerDocument.length; caches++) {\n    var node = ownerDocument[caches];\n    if (\n      !(\n        node[internalHoistableMarker] ||\n        node[internalInstanceKey] ||\n        (\"link\" === type && \"stylesheet\" === node.getAttribute(\"rel\"))\n      ) &&\n      \"http://www.w3.org/2000/svg\" !== node.namespaceURI\n    ) {\n      var nodeKey = node.getAttribute(keyAttribute) || \"\";\n      nodeKey = type + nodeKey;\n      var existing = cache.get(nodeKey);\n      existing ? existing.push(node) : cache.set(nodeKey, [node]);\n    }\n  }\n  return cache;\n}\nfunction mountHoistable(hoistableRoot, type, instance) {\n  hoistableRoot = hoistableRoot.ownerDocument || hoistableRoot;\n  hoistableRoot.head.insertBefore(\n    instance,\n    \"title\" === type ? hoistableRoot.querySelector(\"head > title\") : null\n  );\n}\nfunction isHostHoistableType(type, props, hostContext) {\n  if (1 === hostContext || null != props.itemProp) return !1;\n  switch (type) {\n    case \"meta\":\n    case \"title\":\n      return !0;\n    case \"style\":\n      if (\n        \"string\" !== typeof props.precedence ||\n        \"string\" !== typeof props.href ||\n        \"\" === props.href\n      )\n        break;\n      return !0;\n    case \"link\":\n      if (\n        \"string\" !== typeof props.rel ||\n        \"string\" !== typeof props.href ||\n        \"\" === props.href ||\n        props.onLoad ||\n        props.onError\n      )\n        break;\n      switch (props.rel) {\n        case \"stylesheet\":\n          return (\n            (type = props.disabled),\n            \"string\" === typeof props.precedence && null == type\n          );\n        default:\n          return !0;\n      }\n    case \"script\":\n      if (\n        props.async &&\n        \"function\" !== typeof props.async &&\n        \"symbol\" !== typeof props.async &&\n        !props.onLoad &&\n        !props.onError &&\n        props.src &&\n        \"string\" === typeof props.src\n      )\n        return !0;\n  }\n  return !1;\n}\nfunction maySuspendCommit(type, props) {\n  return (\n    \"img\" === type &&\n    null != props.src &&\n    \"\" !== props.src &&\n    null == props.onLoad &&\n    \"lazy\" !== props.loading\n  );\n}\nfunction preloadResource(resource) {\n  return \"stylesheet\" === resource.type && 0 === (resource.state.loading & 3)\n    ? !1\n    : !0;\n}\nfunction estimateImageBytes(instance) {\n  return (\n    (instance.width || 100) *\n    (instance.height || 100) *\n    (\"number\" === typeof devicePixelRatio ? devicePixelRatio : 1) *\n    0.25\n  );\n}\nfunction suspendInstance(state, instance) {\n  \"function\" === typeof instance.decode &&\n    (state.imgCount++,\n    instance.complete ||\n      ((state.imgBytes += estimateImageBytes(instance)),\n      state.suspenseyImages.push(instance)),\n    (state = onUnsuspendImg.bind(state)),\n    instance.decode().then(state, state));\n}\nfunction suspendResource(state, hoistableRoot, resource, props) {\n  if (\n    \"stylesheet\" === resource.type &&\n    (\"string\" !== typeof props.media ||\n      !1 !== matchMedia(props.media).matches) &&\n    0 === (resource.state.loading & 4)\n  ) {\n    if (null === resource.instance) {\n      var key = getStyleKey(props.href),\n        instance = hoistableRoot.querySelector(\n          getStylesheetSelectorFromKey(key)\n        );\n      if (instance) {\n        hoistableRoot = instance._p;\n        null !== hoistableRoot &&\n          \"object\" === typeof hoistableRoot &&\n          \"function\" === typeof hoistableRoot.then &&\n          (state.count++,\n          (state = onUnsuspend.bind(state)),\n          hoistableRoot.then(state, state));\n        resource.state.loading |= 4;\n        resource.instance = instance;\n        markNodeAsHoistable(instance);\n        return;\n      }\n      instance = hoistableRoot.ownerDocument || hoistableRoot;\n      props = stylesheetPropsFromRawProps(props);\n      (key = preloadPropsMap.get(key)) &&\n        adoptPreloadPropsForStylesheet(props, key);\n      instance = instance.createElement(\"link\");\n      markNodeAsHoistable(instance);\n      var linkInstance = instance;\n      linkInstance._p = new Promise(function (resolve, reject) {\n        linkInstance.onload = resolve;\n        linkInstance.onerror = reject;\n      });\n      setInitialProperties(instance, \"link\", props);\n      resource.instance = instance;\n    }\n    null === state.stylesheets && (state.stylesheets = new Map());\n    state.stylesheets.set(resource, hoistableRoot);\n    (hoistableRoot = resource.state.preload) &&\n      0 === (resource.state.loading & 3) &&\n      (state.count++,\n      (resource = onUnsuspend.bind(state)),\n      hoistableRoot.addEventListener(\"load\", resource),\n      hoistableRoot.addEventListener(\"error\", resource));\n  }\n}\nvar estimatedBytesWithinLimit = 0;\nfunction waitForCommitToBeReady(state, timeoutOffset) {\n  state.stylesheets &&\n    0 === state.count &&\n    insertSuspendedStylesheets(state, state.stylesheets);\n  return 0 < state.count || 0 < state.imgCount\n    ? function (commit) {\n        var stylesheetTimer = setTimeout(function () {\n          state.stylesheets &&\n            insertSuspendedStylesheets(state, state.stylesheets);\n          if (state.unsuspend) {\n            var unsuspend = state.unsuspend;\n            state.unsuspend = null;\n            unsuspend();\n          }\n        }, 6e4 + timeoutOffset);\n        0 < state.imgBytes &&\n          0 === estimatedBytesWithinLimit &&\n          (estimatedBytesWithinLimit = 62500 * estimateBandwidth());\n        var imgTimer = setTimeout(\n          function () {\n            state.waitingForImages = !1;\n            if (\n              0 === state.count &&\n              (state.stylesheets &&\n                insertSuspendedStylesheets(state, state.stylesheets),\n              state.unsuspend)\n            ) {\n              var unsuspend = state.unsuspend;\n              state.unsuspend = null;\n              unsuspend();\n            }\n          },\n          (state.imgBytes > estimatedBytesWithinLimit ? 50 : 800) +\n            timeoutOffset\n        );\n        state.unsuspend = commit;\n        return function () {\n          state.unsuspend = null;\n          clearTimeout(stylesheetTimer);\n          clearTimeout(imgTimer);\n        };\n      }\n    : null;\n}\nfunction checkIfFullyUnsuspended(state) {\n  if (0 === state.count && (0 === state.imgCount || !state.waitingForImages))\n    if (state.stylesheets) insertSuspendedStylesheets(state, state.stylesheets);\n    else if (state.unsuspend) {\n      var unsuspend = state.unsuspend;\n      state.unsuspend = null;\n      unsuspend();\n    }\n}\nfunction onUnsuspend() {\n  this.count--;\n  checkIfFullyUnsuspended(this);\n}\nfunction onUnsuspendImg() {\n  this.imgCount--;\n  checkIfFullyUnsuspended(this);\n}\nvar precedencesByRoot = null;\nfunction insertSuspendedStylesheets(state, resources) {\n  state.stylesheets = null;\n  null !== state.unsuspend &&\n    (state.count++,\n    (precedencesByRoot = new Map()),\n    resources.forEach(insertStylesheetIntoRoot, state),\n    (precedencesByRoot = null),\n    onUnsuspend.call(state));\n}\nfunction insertStylesheetIntoRoot(root, resource) {\n  if (!(resource.state.loading & 4)) {\n    var precedences = precedencesByRoot.get(root);\n    if (precedences) var last = precedences.get(null);\n    else {\n      precedences = new Map();\n      precedencesByRoot.set(root, precedences);\n      for (\n        var nodes = root.querySelectorAll(\n            \"link[data-precedence],style[data-precedence]\"\n          ),\n          i = 0;\n        i < nodes.length;\n        i++\n      ) {\n        var node = nodes[i];\n        if (\n          \"LINK\" === node.nodeName ||\n          \"not all\" !== node.getAttribute(\"media\")\n        )\n          precedences.set(node.dataset.precedence, node), (last = node);\n      }\n      last && precedences.set(null, last);\n    }\n    nodes = resource.instance;\n    node = nodes.getAttribute(\"data-precedence\");\n    i = precedences.get(node) || last;\n    i === last && precedences.set(null, nodes);\n    precedences.set(node, nodes);\n    this.count++;\n    last = onUnsuspend.bind(this);\n    nodes.addEventListener(\"load\", last);\n    nodes.addEventListener(\"error\", last);\n    i\n      ? i.parentNode.insertBefore(nodes, i.nextSibling)\n      : ((root = 9 === root.nodeType ? root.head : root),\n        root.insertBefore(nodes, root.firstChild));\n    resource.state.loading |= 4;\n  }\n}\nvar HostTransitionContext = {\n  $$typeof: REACT_CONTEXT_TYPE,\n  Provider: null,\n  Consumer: null,\n  _currentValue: sharedNotPendingObject,\n  _currentValue2: sharedNotPendingObject,\n  _threadCount: 0\n};\nfunction FiberRootNode(\n  containerInfo,\n  tag,\n  hydrate,\n  identifierPrefix,\n  onUncaughtError,\n  onCaughtError,\n  onRecoverableError,\n  onDefaultTransitionIndicator,\n  formState\n) {\n  this.tag = 1;\n  this.containerInfo = containerInfo;\n  this.pingCache = this.current = this.pendingChildren = null;\n  this.timeoutHandle = -1;\n  this.callbackNode =\n    this.next =\n    this.pendingContext =\n    this.context =\n    this.cancelPendingCommit =\n      null;\n  this.callbackPriority = 0;\n  this.expirationTimes = createLaneMap(-1);\n  this.entangledLanes =\n    this.shellSuspendCounter =\n    this.errorRecoveryDisabledLanes =\n    this.expiredLanes =\n    this.warmLanes =\n    this.pingedLanes =\n    this.suspendedLanes =\n    this.pendingLanes =\n      0;\n  this.entanglements = createLaneMap(0);\n  this.hiddenUpdates = createLaneMap(null);\n  this.identifierPrefix = identifierPrefix;\n  this.onUncaughtError = onUncaughtError;\n  this.onCaughtError = onCaughtError;\n  this.onRecoverableError = onRecoverableError;\n  this.pooledCache = null;\n  this.pooledCacheLanes = 0;\n  this.formState = formState;\n  this.transitionTypes = null;\n  this.incompleteTransitions = new Map();\n}\nfunction createFiberRoot(\n  containerInfo,\n  tag,\n  hydrate,\n  initialChildren,\n  hydrationCallbacks,\n  isStrictMode,\n  identifierPrefix,\n  formState,\n  onUncaughtError,\n  onCaughtError,\n  onRecoverableError,\n  onDefaultTransitionIndicator\n) {\n  containerInfo = new FiberRootNode(\n    containerInfo,\n    tag,\n    hydrate,\n    identifierPrefix,\n    onUncaughtError,\n    onCaughtError,\n    onRecoverableError,\n    onDefaultTransitionIndicator,\n    formState\n  );\n  tag = 1;\n  !0 === isStrictMode && (tag |= 24);\n  isStrictMode = createFiberImplClass(3, null, null, tag);\n  containerInfo.current = isStrictMode;\n  isStrictMode.stateNode = containerInfo;\n  tag = createCache();\n  tag.refCount++;\n  containerInfo.pooledCache = tag;\n  tag.refCount++;\n  isStrictMode.memoizedState = {\n    element: initialChildren,\n    isDehydrated: hydrate,\n    cache: tag\n  };\n  initializeUpdateQueue(isStrictMode);\n  return containerInfo;\n}\nfunction getContextForSubtree(parentComponent) {\n  if (!parentComponent) return emptyContextObject;\n  parentComponent = emptyContextObject;\n  return parentComponent;\n}\nfunction updateContainerImpl(\n  rootFiber,\n  lane,\n  element,\n  container,\n  parentComponent,\n  callback\n) {\n  parentComponent = getContextForSubtree(parentComponent);\n  null === container.context\n    ? (container.context = parentComponent)\n    : (container.pendingContext = parentComponent);\n  container = createUpdate(lane);\n  container.payload = { element: element };\n  callback = void 0 === callback ? null : callback;\n  null !== callback && (container.callback = callback);\n  element = enqueueUpdate(rootFiber, container, lane);\n  null !== element &&\n    (scheduleUpdateOnFiber(element, rootFiber, lane),\n    entangleTransitions(element, rootFiber, lane));\n}\nfunction markRetryLaneImpl(fiber, retryLane) {\n  fiber = fiber.memoizedState;\n  if (null !== fiber && null !== fiber.dehydrated) {\n    var a = fiber.retryLane;\n    fiber.retryLane = 0 !== a && a < retryLane ? a : retryLane;\n  }\n}\nfunction markRetryLaneIfNotHydrated(fiber, retryLane) {\n  markRetryLaneImpl(fiber, retryLane);\n  (fiber = fiber.alternate) && markRetryLaneImpl(fiber, retryLane);\n}\nfunction attemptContinuousHydration(fiber) {\n  if (13 === fiber.tag || 31 === fiber.tag) {\n    var root = enqueueConcurrentRenderForLane(fiber, 67108864);\n    null !== root && scheduleUpdateOnFiber(root, fiber, 67108864);\n    markRetryLaneIfNotHydrated(fiber, 67108864);\n  }\n}\nfunction attemptHydrationAtCurrentPriority(fiber) {\n  if (13 === fiber.tag || 31 === fiber.tag) {\n    var lane = requestUpdateLane();\n    lane = getBumpedLaneForHydrationByLane(lane);\n    var root = enqueueConcurrentRenderForLane(fiber, lane);\n    null !== root && scheduleUpdateOnFiber(root, fiber, lane);\n    markRetryLaneIfNotHydrated(fiber, lane);\n  }\n}\nvar _enabled = !0;\nfunction dispatchDiscreteEvent(\n  domEventName,\n  eventSystemFlags,\n  container,\n  nativeEvent\n) {\n  var prevTransition = ReactSharedInternals.T;\n  ReactSharedInternals.T = null;\n  var previousPriority = ReactDOMSharedInternals.p;\n  try {\n    (ReactDOMSharedInternals.p = 2),\n      dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);\n  } finally {\n    (ReactDOMSharedInternals.p = previousPriority),\n      (ReactSharedInternals.T = prevTransition);\n  }\n}\nfunction dispatchContinuousEvent(\n  domEventName,\n  eventSystemFlags,\n  container,\n  nativeEvent\n) {\n  var prevTransition = ReactSharedInternals.T;\n  ReactSharedInternals.T = null;\n  var previousPriority = ReactDOMSharedInternals.p;\n  try {\n    (ReactDOMSharedInternals.p = 8),\n      dispatchEvent(domEventName, eventSystemFlags, container, nativeEvent);\n  } finally {\n    (ReactDOMSharedInternals.p = previousPriority),\n      (ReactSharedInternals.T = prevTransition);\n  }\n}\nfunction dispatchEvent(\n  domEventName,\n  eventSystemFlags,\n  targetContainer,\n  nativeEvent\n) {\n  if (_enabled) {\n    var blockedOn = findInstanceBlockingEvent(nativeEvent);\n    if (null === blockedOn)\n      dispatchEventForPluginEventSystem(\n        domEventName,\n        eventSystemFlags,\n        nativeEvent,\n        return_targetInst,\n        targetContainer\n      ),\n        clearIfContinuousEvent(domEventName, nativeEvent);\n    else if (\n      queueIfContinuousEvent(\n        blockedOn,\n        domEventName,\n        eventSystemFlags,\n        targetContainer,\n        nativeEvent\n      )\n    )\n      nativeEvent.stopPropagation();\n    else if (\n      (clearIfContinuousEvent(domEventName, nativeEvent),\n      eventSystemFlags & 4 &&\n        -1 < discreteReplayableEvents.indexOf(domEventName))\n    ) {\n      for (; null !== blockedOn; ) {\n        var fiber = getInstanceFromNode(blockedOn);\n        if (null !== fiber)\n          switch (fiber.tag) {\n            case 3:\n              fiber = fiber.stateNode;\n              if (fiber.current.memoizedState.isDehydrated) {\n                var lanes = getHighestPriorityLanes(fiber.pendingLanes);\n                if (0 !== lanes) {\n                  var root = fiber;\n                  root.pendingLanes |= 2;\n                  for (root.entangledLanes |= 2; lanes; ) {\n                    var lane = 1 << (31 - clz32(lanes));\n                    root.entanglements[1] |= lane;\n                    lanes &= ~lane;\n                  }\n                  ensureRootIsScheduled(fiber);\n                  0 === (executionContext & 6) &&\n                    ((workInProgressRootRenderTargetTime = now() + 500),\n                    flushSyncWorkAcrossRoots_impl(0, !1));\n                }\n              }\n              break;\n            case 31:\n            case 13:\n              (root = enqueueConcurrentRenderForLane(fiber, 2)),\n                null !== root && scheduleUpdateOnFiber(root, fiber, 2),\n                flushSyncWork$1(),\n                markRetryLaneIfNotHydrated(fiber, 2);\n          }\n        fiber = findInstanceBlockingEvent(nativeEvent);\n        null === fiber &&\n          dispatchEventForPluginEventSystem(\n            domEventName,\n            eventSystemFlags,\n            nativeEvent,\n            return_targetInst,\n            targetContainer\n          );\n        if (fiber === blockedOn) break;\n        blockedOn = fiber;\n      }\n      null !== blockedOn && nativeEvent.stopPropagation();\n    } else\n      dispatchEventForPluginEventSystem(\n        domEventName,\n        eventSystemFlags,\n        nativeEvent,\n        null,\n        targetContainer\n      );\n  }\n}\nfunction findInstanceBlockingEvent(nativeEvent) {\n  nativeEvent = getEventTarget(nativeEvent);\n  return findInstanceBlockingTarget(nativeEvent);\n}\nvar return_targetInst = null;\nfunction findInstanceBlockingTarget(targetNode) {\n  return_targetInst = null;\n  targetNode = getClosestInstanceFromNode(targetNode);\n  if (null !== targetNode) {\n    var nearestMounted = getNearestMountedFiber(targetNode);\n    if (null === nearestMounted) targetNode = null;\n    else {\n      var tag = nearestMounted.tag;\n      if (13 === tag) {\n        targetNode = getSuspenseInstanceFromFiber(nearestMounted);\n        if (null !== targetNode) return targetNode;\n        targetNode = null;\n      } else if (31 === tag) {\n        targetNode = getActivityInstanceFromFiber(nearestMounted);\n        if (null !== targetNode) return targetNode;\n        targetNode = null;\n      } else if (3 === tag) {\n        if (nearestMounted.stateNode.current.memoizedState.isDehydrated)\n          return 3 === nearestMounted.tag\n            ? nearestMounted.stateNode.containerInfo\n            : null;\n        targetNode = null;\n      } else nearestMounted !== targetNode && (targetNode = null);\n    }\n  }\n  return_targetInst = targetNode;\n  return null;\n}\nfunction getEventPriority(domEventName) {\n  switch (domEventName) {\n    case \"beforetoggle\":\n    case \"cancel\":\n    case \"click\":\n    case \"close\":\n    case \"contextmenu\":\n    case \"copy\":\n    case \"cut\":\n    case \"auxclick\":\n    case \"dblclick\":\n    case \"dragend\":\n    case \"dragstart\":\n    case \"drop\":\n    case \"focusin\":\n    case \"focusout\":\n    case \"input\":\n    case \"invalid\":\n    case \"keydown\":\n    case \"keypress\":\n    case \"keyup\":\n    case \"mousedown\":\n    case \"mouseup\":\n    case \"paste\":\n    case \"pause\":\n    case \"play\":\n    case \"pointercancel\":\n    case \"pointerdown\":\n    case \"pointerup\":\n    case \"ratechange\":\n    case \"reset\":\n    case \"seeked\":\n    case \"submit\":\n    case \"toggle\":\n    case \"touchcancel\":\n    case \"touchend\":\n    case \"touchstart\":\n    case \"volumechange\":\n    case \"change\":\n    case \"selectionchange\":\n    case \"textInput\":\n    case \"compositionstart\":\n    case \"compositionend\":\n    case \"compositionupdate\":\n    case \"beforeblur\":\n    case \"afterblur\":\n    case \"beforeinput\":\n    case \"blur\":\n    case \"fullscreenchange\":\n    case \"fullscreenerror\":\n    case \"focus\":\n    case \"hashchange\":\n    case \"popstate\":\n    case \"select\":\n    case \"selectstart\":\n      return 2;\n    case \"drag\":\n    case \"dragenter\":\n    case \"dragexit\":\n    case \"dragleave\":\n    case \"dragover\":\n    case \"mousemove\":\n    case \"mouseout\":\n    case \"mouseover\":\n    case \"pointermove\":\n    case \"pointerout\":\n    case \"pointerover\":\n    case \"resize\":\n    case \"scroll\":\n    case \"touchmove\":\n    case \"wheel\":\n    case \"mouseenter\":\n    case \"mouseleave\":\n    case \"pointerenter\":\n    case \"pointerleave\":\n      return 8;\n    case \"message\":\n      switch (getCurrentPriorityLevel()) {\n        case ImmediatePriority:\n          return 2;\n        case UserBlockingPriority:\n          return 8;\n        case NormalPriority$1:\n        case LowPriority:\n          return 32;\n        case IdlePriority:\n          return 268435456;\n        default:\n          return 32;\n      }\n    default:\n      return 32;\n  }\n}\nvar hasScheduledReplayAttempt = !1,\n  queuedFocus = null,\n  queuedDrag = null,\n  queuedMouse = null,\n  queuedPointers = new Map(),\n  queuedPointerCaptures = new Map(),\n  queuedExplicitHydrationTargets = [],\n  discreteReplayableEvents =\n    \"mousedown mouseup touchcancel touchend touchstart auxclick dblclick pointercancel pointerdown pointerup dragend dragstart drop compositionend compositionstart keydown keypress keyup input textInput copy cut paste click change contextmenu reset\".split(\n      \" \"\n    );\nfunction clearIfContinuousEvent(domEventName, nativeEvent) {\n  switch (domEventName) {\n    case \"focusin\":\n    case \"focusout\":\n      queuedFocus = null;\n      break;\n    case \"dragenter\":\n    case \"dragleave\":\n      queuedDrag = null;\n      break;\n    case \"mouseover\":\n    case \"mouseout\":\n      queuedMouse = null;\n      break;\n    case \"pointerover\":\n    case \"pointerout\":\n      queuedPointers.delete(nativeEvent.pointerId);\n      break;\n    case \"gotpointercapture\":\n    case \"lostpointercapture\":\n      queuedPointerCaptures.delete(nativeEvent.pointerId);\n  }\n}\nfunction accumulateOrCreateContinuousQueuedReplayableEvent(\n  existingQueuedEvent,\n  blockedOn,\n  domEventName,\n  eventSystemFlags,\n  targetContainer,\n  nativeEvent\n) {\n  if (\n    null === existingQueuedEvent ||\n    existingQueuedEvent.nativeEvent !== nativeEvent\n  )\n    return (\n      (existingQueuedEvent = {\n        blockedOn: blockedOn,\n        domEventName: domEventName,\n        eventSystemFlags: eventSystemFlags,\n        nativeEvent: nativeEvent,\n        targetContainers: [targetContainer]\n      }),\n      null !== blockedOn &&\n        ((blockedOn = getInstanceFromNode(blockedOn)),\n        null !== blockedOn && attemptContinuousHydration(blockedOn)),\n      existingQueuedEvent\n    );\n  existingQueuedEvent.eventSystemFlags |= eventSystemFlags;\n  blockedOn = existingQueuedEvent.targetContainers;\n  null !== targetContainer &&\n    -1 === blockedOn.indexOf(targetContainer) &&\n    blockedOn.push(targetContainer);\n  return existingQueuedEvent;\n}\nfunction queueIfContinuousEvent(\n  blockedOn,\n  domEventName,\n  eventSystemFlags,\n  targetContainer,\n  nativeEvent\n) {\n  switch (domEventName) {\n    case \"focusin\":\n      return (\n        (queuedFocus = accumulateOrCreateContinuousQueuedReplayableEvent(\n          queuedFocus,\n          blockedOn,\n          domEventName,\n          eventSystemFlags,\n          targetContainer,\n          nativeEvent\n        )),\n        !0\n      );\n    case \"dragenter\":\n      return (\n        (queuedDrag = accumulateOrCreateContinuousQueuedReplayableEvent(\n          queuedDrag,\n          blockedOn,\n          domEventName,\n          eventSystemFlags,\n          targetContainer,\n          nativeEvent\n        )),\n        !0\n      );\n    case \"mouseover\":\n      return (\n        (queuedMouse = accumulateOrCreateContinuousQueuedReplayableEvent(\n          queuedMouse,\n          blockedOn,\n          domEventName,\n          eventSystemFlags,\n          targetContainer,\n          nativeEvent\n        )),\n        !0\n      );\n    case \"pointerover\":\n      var pointerId = nativeEvent.pointerId;\n      queuedPointers.set(\n        pointerId,\n        accumulateOrCreateContinuousQueuedReplayableEvent(\n          queuedPointers.get(pointerId) || null,\n          blockedOn,\n          domEventName,\n          eventSystemFlags,\n          targetContainer,\n          nativeEvent\n        )\n      );\n      return !0;\n    case \"gotpointercapture\":\n      return (\n        (pointerId = nativeEvent.pointerId),\n        queuedPointerCaptures.set(\n          pointerId,\n          accumulateOrCreateContinuousQueuedReplayableEvent(\n            queuedPointerCaptures.get(pointerId) || null,\n            blockedOn,\n            domEventName,\n            eventSystemFlags,\n            targetContainer,\n            nativeEvent\n          )\n        ),\n        !0\n      );\n  }\n  return !1;\n}\nfunction attemptExplicitHydrationTarget(queuedTarget) {\n  var targetInst = getClosestInstanceFromNode(queuedTarget.target);\n  if (null !== targetInst) {\n    var nearestMounted = getNearestMountedFiber(targetInst);\n    if (null !== nearestMounted)\n      if (((targetInst = nearestMounted.tag), 13 === targetInst)) {\n        if (\n          ((targetInst = getSuspenseInstanceFromFiber(nearestMounted)),\n          null !== targetInst)\n        ) {\n          queuedTarget.blockedOn = targetInst;\n          runWithPriority(queuedTarget.priority, function () {\n            attemptHydrationAtCurrentPriority(nearestMounted);\n          });\n          return;\n        }\n      } else if (31 === targetInst) {\n        if (\n          ((targetInst = getActivityInstanceFromFiber(nearestMounted)),\n          null !== targetInst)\n        ) {\n          queuedTarget.blockedOn = targetInst;\n          runWithPriority(queuedTarget.priority, function () {\n            attemptHydrationAtCurrentPriority(nearestMounted);\n          });\n          return;\n        }\n      } else if (\n        3 === targetInst &&\n        nearestMounted.stateNode.current.memoizedState.isDehydrated\n      ) {\n        queuedTarget.blockedOn =\n          3 === nearestMounted.tag\n            ? nearestMounted.stateNode.containerInfo\n            : null;\n        return;\n      }\n  }\n  queuedTarget.blockedOn = null;\n}\nfunction attemptReplayContinuousQueuedEvent(queuedEvent) {\n  if (null !== queuedEvent.blockedOn) return !1;\n  for (\n    var targetContainers = queuedEvent.targetContainers;\n    0 < targetContainers.length;\n\n  ) {\n    var nextBlockedOn = findInstanceBlockingEvent(queuedEvent.nativeEvent);\n    if (null === nextBlockedOn) {\n      nextBlockedOn = queuedEvent.nativeEvent;\n      var nativeEventClone = new nextBlockedOn.constructor(\n        nextBlockedOn.type,\n        nextBlockedOn\n      );\n      currentReplayingEvent = nativeEventClone;\n      nextBlockedOn.target.dispatchEvent(nativeEventClone);\n      currentReplayingEvent = null;\n    } else\n      return (\n        (targetContainers = getInstanceFromNode(nextBlockedOn)),\n        null !== targetContainers &&\n          attemptContinuousHydration(targetContainers),\n        (queuedEvent.blockedOn = nextBlockedOn),\n        !1\n      );\n    targetContainers.shift();\n  }\n  return !0;\n}\nfunction attemptReplayContinuousQueuedEventInMap(queuedEvent, key, map) {\n  attemptReplayContinuousQueuedEvent(queuedEvent) && map.delete(key);\n}\nfunction replayUnblockedEvents() {\n  hasScheduledReplayAttempt = !1;\n  null !== queuedFocus &&\n    attemptReplayContinuousQueuedEvent(queuedFocus) &&\n    (queuedFocus = null);\n  null !== queuedDrag &&\n    attemptReplayContinuousQueuedEvent(queuedDrag) &&\n    (queuedDrag = null);\n  null !== queuedMouse &&\n    attemptReplayContinuousQueuedEvent(queuedMouse) &&\n    (queuedMouse = null);\n  queuedPointers.forEach(attemptReplayContinuousQueuedEventInMap);\n  queuedPointerCaptures.forEach(attemptReplayContinuousQueuedEventInMap);\n}\nfunction scheduleCallbackIfUnblocked(queuedEvent, unblocked) {\n  queuedEvent.blockedOn === unblocked &&\n    ((queuedEvent.blockedOn = null),\n    hasScheduledReplayAttempt ||\n      ((hasScheduledReplayAttempt = !0),\n      Scheduler.unstable_scheduleCallback(\n        Scheduler.unstable_NormalPriority,\n        replayUnblockedEvents\n      )));\n}\nvar lastScheduledReplayQueue = null;\nfunction scheduleReplayQueueIfNeeded(formReplayingQueue) {\n  lastScheduledReplayQueue !== formReplayingQueue &&\n    ((lastScheduledReplayQueue = formReplayingQueue),\n    Scheduler.unstable_scheduleCallback(\n      Scheduler.unstable_NormalPriority,\n      function () {\n        lastScheduledReplayQueue === formReplayingQueue &&\n          (lastScheduledReplayQueue = null);\n        for (var i = 0; i < formReplayingQueue.length; i += 3) {\n          var form = formReplayingQueue[i],\n            submitterOrAction = formReplayingQueue[i + 1],\n            formData = formReplayingQueue[i + 2];\n          if (\"function\" !== typeof submitterOrAction)\n            if (null === findInstanceBlockingTarget(submitterOrAction || form))\n              continue;\n            else break;\n          var formInst = getInstanceFromNode(form);\n          null !== formInst &&\n            (formReplayingQueue.splice(i, 3),\n            (i -= 3),\n            startHostTransition(\n              formInst,\n              {\n                pending: !0,\n                data: formData,\n                method: form.method,\n                action: submitterOrAction\n              },\n              submitterOrAction,\n              formData\n            ));\n        }\n      }\n    ));\n}\nfunction retryIfBlockedOn(unblocked) {\n  function unblock(queuedEvent) {\n    return scheduleCallbackIfUnblocked(queuedEvent, unblocked);\n  }\n  null !== queuedFocus && scheduleCallbackIfUnblocked(queuedFocus, unblocked);\n  null !== queuedDrag && scheduleCallbackIfUnblocked(queuedDrag, unblocked);\n  null !== queuedMouse && scheduleCallbackIfUnblocked(queuedMouse, unblocked);\n  queuedPointers.forEach(unblock);\n  queuedPointerCaptures.forEach(unblock);\n  for (var i = 0; i < queuedExplicitHydrationTargets.length; i++) {\n    var queuedTarget = queuedExplicitHydrationTargets[i];\n    queuedTarget.blockedOn === unblocked && (queuedTarget.blockedOn = null);\n  }\n  for (\n    ;\n    0 < queuedExplicitHydrationTargets.length &&\n    ((i = queuedExplicitHydrationTargets[0]), null === i.blockedOn);\n\n  )\n    attemptExplicitHydrationTarget(i),\n      null === i.blockedOn && queuedExplicitHydrationTargets.shift();\n  i = (unblocked.ownerDocument || unblocked).$$reactFormReplay;\n  if (null != i)\n    for (queuedTarget = 0; queuedTarget < i.length; queuedTarget += 3) {\n      var form = i[queuedTarget],\n        submitterOrAction = i[queuedTarget + 1],\n        formProps = form[internalPropsKey] || null;\n      if (\"function\" === typeof submitterOrAction)\n        formProps || scheduleReplayQueueIfNeeded(i);\n      else if (formProps) {\n        var action = null;\n        if (submitterOrAction && submitterOrAction.hasAttribute(\"formAction\"))\n          if (\n            ((form = submitterOrAction),\n            (formProps = submitterOrAction[internalPropsKey] || null))\n          )\n            action = formProps.formAction;\n          else {\n            if (null !== findInstanceBlockingTarget(form)) continue;\n          }\n        else action = formProps.action;\n        \"function\" === typeof action\n          ? (i[queuedTarget + 1] = action)\n          : (i.splice(queuedTarget, 3), (queuedTarget -= 3));\n        scheduleReplayQueueIfNeeded(i);\n      }\n    }\n}\nfunction defaultOnDefaultTransitionIndicator() {\n  function handleNavigate(event) {\n    event.canIntercept &&\n      \"react-transition\" === event.info &&\n      event.intercept({\n        handler: function () {\n          return new Promise(function (resolve) {\n            return (pendingResolve = resolve);\n          });\n        },\n        focusReset: \"manual\",\n        scroll: \"manual\"\n      });\n  }\n  function handleNavigateComplete() {\n    null !== pendingResolve && (pendingResolve(), (pendingResolve = null));\n    isCancelled || setTimeout(startFakeNavigation, 20);\n  }\n  function startFakeNavigation() {\n    if (!isCancelled && !navigation.transition) {\n      var currentEntry = navigation.currentEntry;\n      currentEntry &&\n        null != currentEntry.url &&\n        navigation.navigate(currentEntry.url, {\n          state: currentEntry.getState(),\n          info: \"react-transition\",\n          history: \"replace\"\n        });\n    }\n  }\n  if (\"object\" === typeof navigation) {\n    var isCancelled = !1,\n      pendingResolve = null;\n    navigation.addEventListener(\"navigate\", handleNavigate);\n    navigation.addEventListener(\"navigatesuccess\", handleNavigateComplete);\n    navigation.addEventListener(\"navigateerror\", handleNavigateComplete);\n    setTimeout(startFakeNavigation, 100);\n    return function () {\n      isCancelled = !0;\n      navigation.removeEventListener(\"navigate\", handleNavigate);\n      navigation.removeEventListener(\"navigatesuccess\", handleNavigateComplete);\n      navigation.removeEventListener(\"navigateerror\", handleNavigateComplete);\n      null !== pendingResolve && (pendingResolve(), (pendingResolve = null));\n    };\n  }\n}\nfunction ReactDOMRoot(internalRoot) {\n  this._internalRoot = internalRoot;\n}\nReactDOMHydrationRoot.prototype.render = ReactDOMRoot.prototype.render =\n  function (children) {\n    var root = this._internalRoot;\n    if (null === root) throw Error(formatProdErrorMessage(409));\n    var current = root.current,\n      lane = requestUpdateLane();\n    updateContainerImpl(current, lane, children, root, null, null);\n  };\nReactDOMHydrationRoot.prototype.unmount = ReactDOMRoot.prototype.unmount =\n  function () {\n    var root = this._internalRoot;\n    if (null !== root) {\n      this._internalRoot = null;\n      var container = root.containerInfo;\n      updateContainerImpl(root.current, 2, null, root, null, null);\n      flushSyncWork$1();\n      container[internalContainerInstanceKey] = null;\n    }\n  };\nfunction ReactDOMHydrationRoot(internalRoot) {\n  this._internalRoot = internalRoot;\n}\nReactDOMHydrationRoot.prototype.unstable_scheduleHydration = function (target) {\n  if (target) {\n    var updatePriority = resolveUpdatePriority();\n    target = { blockedOn: null, target: target, priority: updatePriority };\n    for (\n      var i = 0;\n      i < queuedExplicitHydrationTargets.length &&\n      0 !== updatePriority &&\n      updatePriority < queuedExplicitHydrationTargets[i].priority;\n      i++\n    );\n    queuedExplicitHydrationTargets.splice(i, 0, target);\n    0 === i && attemptExplicitHydrationTarget(target);\n  }\n};\nvar isomorphicReactPackageVersion$jscomp$inline_2057 = React.version;\nif (\n  \"19.3.0-canary-cbb046ab-20260731\" !==\n  isomorphicReactPackageVersion$jscomp$inline_2057\n)\n  throw Error(\n    formatProdErrorMessage(\n      527,\n      isomorphicReactPackageVersion$jscomp$inline_2057,\n      \"19.3.0-canary-cbb046ab-20260731\"\n    )\n  );\nReactDOMSharedInternals.findDOMNode = function (componentOrElement) {\n  var fiber = componentOrElement._reactInternals;\n  if (void 0 === fiber) {\n    if (\"function\" === typeof componentOrElement.render)\n      throw Error(formatProdErrorMessage(188));\n    componentOrElement = Object.keys(componentOrElement).join(\",\");\n    throw Error(formatProdErrorMessage(268, componentOrElement));\n  }\n  componentOrElement = findCurrentFiberUsingSlowPath(fiber);\n  componentOrElement =\n    null !== componentOrElement\n      ? findCurrentHostFiberImpl(componentOrElement)\n      : null;\n  componentOrElement =\n    null === componentOrElement ? null : componentOrElement.stateNode;\n  return componentOrElement;\n};\nvar internals$jscomp$inline_2605 = {\n  bundleType: 0,\n  version: \"19.3.0-canary-cbb046ab-20260731\",\n  rendererPackageName: \"react-dom\",\n  currentDispatcherRef: ReactSharedInternals,\n  reconcilerVersion: \"19.3.0-canary-cbb046ab-20260731\"\n};\nif (\"undefined\" !== typeof __REACT_DEVTOOLS_GLOBAL_HOOK__) {\n  var hook$jscomp$inline_2606 = __REACT_DEVTOOLS_GLOBAL_HOOK__;\n  if (\n    !hook$jscomp$inline_2606.isDisabled &&\n    hook$jscomp$inline_2606.supportsFiber\n  )\n    try {\n      (rendererID = hook$jscomp$inline_2606.inject(\n        internals$jscomp$inline_2605\n      )),\n        (injectedHook = hook$jscomp$inline_2606);\n    } catch (err) {}\n}\nexports.createRoot = function (container, options) {\n  if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));\n  var isStrictMode = !1,\n    identifierPrefix = \"\",\n    onUncaughtError = defaultOnUncaughtError,\n    onCaughtError = defaultOnCaughtError,\n    onRecoverableError = defaultOnRecoverableError;\n  null !== options &&\n    void 0 !== options &&\n    (!0 === options.unstable_strictMode && (isStrictMode = !0),\n    void 0 !== options.identifierPrefix &&\n      (identifierPrefix = options.identifierPrefix),\n    void 0 !== options.onUncaughtError &&\n      (onUncaughtError = options.onUncaughtError),\n    void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),\n    void 0 !== options.onRecoverableError &&\n      (onRecoverableError = options.onRecoverableError));\n  options = createFiberRoot(\n    container,\n    1,\n    !1,\n    null,\n    null,\n    isStrictMode,\n    identifierPrefix,\n    null,\n    onUncaughtError,\n    onCaughtError,\n    onRecoverableError,\n    defaultOnDefaultTransitionIndicator\n  );\n  container[internalContainerInstanceKey] = options.current;\n  listenToAllSupportedEvents(container);\n  return new ReactDOMRoot(options);\n};\nexports.hydrateRoot = function (container, initialChildren, options) {\n  if (!isValidContainer(container)) throw Error(formatProdErrorMessage(299));\n  var isStrictMode = !1,\n    identifierPrefix = \"\",\n    onUncaughtError = defaultOnUncaughtError,\n    onCaughtError = defaultOnCaughtError,\n    onRecoverableError = defaultOnRecoverableError,\n    formState = null;\n  null !== options &&\n    void 0 !== options &&\n    (!0 === options.unstable_strictMode && (isStrictMode = !0),\n    void 0 !== options.identifierPrefix &&\n      (identifierPrefix = options.identifierPrefix),\n    void 0 !== options.onUncaughtError &&\n      (onUncaughtError = options.onUncaughtError),\n    void 0 !== options.onCaughtError && (onCaughtError = options.onCaughtError),\n    void 0 !== options.onRecoverableError &&\n      (onRecoverableError = options.onRecoverableError),\n    void 0 !== options.formState && (formState = options.formState));\n  initialChildren = createFiberRoot(\n    container,\n    1,\n    !0,\n    initialChildren,\n    null != options ? options : null,\n    isStrictMode,\n    identifierPrefix,\n    formState,\n    onUncaughtError,\n    onCaughtError,\n    onRecoverableError,\n    defaultOnDefaultTransitionIndicator\n  );\n  initialChildren.context = getContextForSubtree(null);\n  options = initialChildren.current;\n  isStrictMode = requestUpdateLane();\n  isStrictMode = getBumpedLaneForHydrationByLane(isStrictMode);\n  identifierPrefix = createUpdate(isStrictMode);\n  identifierPrefix.callback = null;\n  enqueueUpdate(options, identifierPrefix, isStrictMode);\n  options = isStrictMode;\n  initialChildren.current.lanes = options;\n  markRootUpdated$1(initialChildren, options);\n  ensureRootIsScheduled(initialChildren);\n  container[internalContainerInstanceKey] = initialChildren.current;\n  listenToAllSupportedEvents(container);\n  return new ReactDOMHydrationRoot(initialChildren);\n};\nexports.version = \"19.3.0-canary-cbb046ab-20260731\";\n","/**\n * @license React\n * react-dom.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar React = require(\"next/dist/compiled/react\");\nfunction formatProdErrorMessage(code) {\n  var url = \"https://react.dev/errors/\" + code;\n  if (1 < arguments.length) {\n    url += \"?args[]=\" + encodeURIComponent(arguments[1]);\n    for (var i = 2; i < arguments.length; i++)\n      url += \"&args[]=\" + encodeURIComponent(arguments[i]);\n  }\n  return (\n    \"Minified React error #\" +\n    code +\n    \"; visit \" +\n    url +\n    \" for the full message or use the non-minified dev environment for full errors and additional helpful warnings.\"\n  );\n}\nfunction noop() {}\nvar Internals = {\n    d: {\n      f: noop,\n      r: function () {\n        throw Error(formatProdErrorMessage(522));\n      },\n      D: noop,\n      C: noop,\n      L: noop,\n      m: noop,\n      X: noop,\n      S: noop,\n      M: noop\n    },\n    p: 0,\n    findDOMNode: null\n  },\n  REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n  REACT_RECOVERABLE_TYPE = Symbol.for(\"react.recoverable\"),\n  REACT_OPTIMISTIC_KEY = Symbol.for(\"react.optimistic_key\");\nfunction createPortal$1(children, containerInfo, implementation) {\n  var key =\n    3 < arguments.length && void 0 !== arguments[3] ? arguments[3] : null;\n  return {\n    $$typeof: REACT_PORTAL_TYPE,\n    key:\n      null == key\n        ? null\n        : key === REACT_OPTIMISTIC_KEY\n          ? REACT_OPTIMISTIC_KEY\n          : \"\" + key,\n    children: children,\n    containerInfo: containerInfo,\n    implementation: implementation\n  };\n}\nvar ReactSharedInternals =\n  React.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\nfunction getCrossOriginStringAs(as, input) {\n  if (\"font\" === as) return \"\";\n  if (\"string\" === typeof input)\n    return \"use-credentials\" === input ? input : \"\";\n}\nexports.__DOM_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n  Internals;\nexports.browser = function () {\n  var recoverable = Error(formatProdErrorMessage(603));\n  Object.defineProperty(recoverable, \"$$typeof\", {\n    value: REACT_RECOVERABLE_TYPE\n  });\n  return recoverable;\n};\nexports.createPortal = function (children, container) {\n  var key =\n    2 < arguments.length && void 0 !== arguments[2] ? arguments[2] : null;\n  if (\n    !container ||\n    (1 !== container.nodeType &&\n      9 !== container.nodeType &&\n      11 !== container.nodeType)\n  )\n    throw Error(formatProdErrorMessage(299));\n  return createPortal$1(children, container, null, key);\n};\nexports.flushSync = function (fn) {\n  var previousTransition = ReactSharedInternals.T,\n    previousUpdatePriority = Internals.p;\n  try {\n    if (((ReactSharedInternals.T = null), (Internals.p = 2), fn)) return fn();\n  } finally {\n    (ReactSharedInternals.T = previousTransition),\n      (Internals.p = previousUpdatePriority),\n      Internals.d.f();\n  }\n};\nexports.preconnect = function (href, options) {\n  \"string\" === typeof href &&\n    (options\n      ? ((options = options.crossOrigin),\n        (options =\n          \"string\" === typeof options\n            ? \"use-credentials\" === options\n              ? options\n              : \"\"\n            : void 0))\n      : (options = null),\n    Internals.d.C(href, options));\n};\nexports.prefetchDNS = function (href) {\n  \"string\" === typeof href && Internals.d.D(href);\n};\nexports.preinit = function (href, options) {\n  if (\"string\" === typeof href && options && \"string\" === typeof options.as) {\n    var as = options.as,\n      crossOrigin = getCrossOriginStringAs(as, options.crossOrigin),\n      integrity =\n        \"string\" === typeof options.integrity ? options.integrity : void 0,\n      fetchPriority =\n        \"string\" === typeof options.fetchPriority\n          ? options.fetchPriority\n          : void 0;\n    \"style\" === as\n      ? Internals.d.S(\n          href,\n          \"string\" === typeof options.precedence ? options.precedence : void 0,\n          {\n            crossOrigin: crossOrigin,\n            integrity: integrity,\n            fetchPriority: fetchPriority\n          }\n        )\n      : \"script\" === as &&\n        Internals.d.X(href, {\n          crossOrigin: crossOrigin,\n          integrity: integrity,\n          fetchPriority: fetchPriority,\n          nonce: \"string\" === typeof options.nonce ? options.nonce : void 0\n        });\n  }\n};\nexports.preinitModule = function (href, options) {\n  if (\"string\" === typeof href)\n    if (\"object\" === typeof options && null !== options) {\n      if (null == options.as || \"script\" === options.as) {\n        var crossOrigin = getCrossOriginStringAs(\n          options.as,\n          options.crossOrigin\n        );\n        Internals.d.M(href, {\n          crossOrigin: crossOrigin,\n          integrity:\n            \"string\" === typeof options.integrity ? options.integrity : void 0,\n          nonce: \"string\" === typeof options.nonce ? options.nonce : void 0,\n          fetchPriority:\n            \"string\" === typeof options.fetchPriority\n              ? options.fetchPriority\n              : void 0\n        });\n      }\n    } else null == options && Internals.d.M(href);\n};\nexports.preload = function (href, options) {\n  if (\n    \"string\" === typeof href &&\n    \"object\" === typeof options &&\n    null !== options &&\n    \"string\" === typeof options.as\n  ) {\n    var as = options.as,\n      crossOrigin = getCrossOriginStringAs(as, options.crossOrigin);\n    Internals.d.L(href, as, {\n      crossOrigin: crossOrigin,\n      integrity:\n        \"string\" === typeof options.integrity ? options.integrity : void 0,\n      nonce: \"string\" === typeof options.nonce ? options.nonce : void 0,\n      type: \"string\" === typeof options.type ? options.type : void 0,\n      fetchPriority:\n        \"string\" === typeof options.fetchPriority\n          ? options.fetchPriority\n          : void 0,\n      referrerPolicy:\n        \"string\" === typeof options.referrerPolicy\n          ? options.referrerPolicy\n          : void 0,\n      imageSrcSet:\n        \"string\" === typeof options.imageSrcSet ? options.imageSrcSet : void 0,\n      imageSizes:\n        \"string\" === typeof options.imageSizes ? options.imageSizes : void 0,\n      media: \"string\" === typeof options.media ? options.media : void 0\n    });\n  }\n};\nexports.preloadModule = function (href, options) {\n  if (\"string\" === typeof href)\n    if (options) {\n      var crossOrigin = getCrossOriginStringAs(options.as, options.crossOrigin);\n      Internals.d.m(href, {\n        as:\n          \"string\" === typeof options.as && \"script\" !== options.as\n            ? options.as\n            : void 0,\n        crossOrigin: crossOrigin,\n        integrity:\n          \"string\" === typeof options.integrity ? options.integrity : void 0,\n        nonce: \"string\" === typeof options.nonce ? options.nonce : void 0,\n        fetchPriority:\n          \"string\" === typeof options.fetchPriority\n            ? options.fetchPriority\n            : void 0\n      });\n    } else Internals.d.m(href);\n};\nexports.requestFormReset = function (form) {\n  Internals.d.r(form);\n};\nexports.unstable_batchedUpdates = function (fn, a) {\n  return fn(a);\n};\nexports.useFormState = function (action, initialState, permalink) {\n  return ReactSharedInternals.H.useFormState(action, initialState, permalink);\n};\nexports.useFormStatus = function () {\n  return ReactSharedInternals.H.useHostTransitionStatus();\n};\nexports.version = \"19.3.0-canary-cbb046ab-20260731\";\n","'use strict';\n\nfunction checkDCE() {\n  /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n  if (\n    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n  ) {\n    return;\n  }\n  if (process.env.NODE_ENV !== 'production') {\n    // This branch is unreachable because this function is only called\n    // in production, but the condition is true only in development.\n    // Therefore if the branch is still here, dead code elimination wasn't\n    // properly applied.\n    // Don't change the message. React DevTools relies on it. Also make sure\n    // this message doesn't occur elsewhere in this function, or it will cause\n    // a false positive.\n    throw new Error('^_^');\n  }\n  try {\n    // Verify that the code above has been dead code eliminated (DCE'd).\n    __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n  } catch (err) {\n    // DevTools shouldn't crash React, no matter what.\n    // We should still report in case we break this code.\n    console.error(err);\n  }\n}\n\nif (process.env.NODE_ENV === 'production') {\n  // DCE check should happen before ReactDOM bundle executes so that\n  // DevTools can report bad minification during injection.\n  checkDCE();\n  module.exports = require('./cjs/react-dom-client.production.js');\n} else {\n  module.exports = require('./cjs/react-dom-client.development.js');\n}\n","'use strict';\n\nfunction checkDCE() {\n  /* global __REACT_DEVTOOLS_GLOBAL_HOOK__ */\n  if (\n    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__ === 'undefined' ||\n    typeof __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE !== 'function'\n  ) {\n    return;\n  }\n  if (process.env.NODE_ENV !== 'production') {\n    // This branch is unreachable because this function is only called\n    // in production, but the condition is true only in development.\n    // Therefore if the branch is still here, dead code elimination wasn't\n    // properly applied.\n    // Don't change the message. React DevTools relies on it. Also make sure\n    // this message doesn't occur elsewhere in this function, or it will cause\n    // a false positive.\n    throw new Error('^_^');\n  }\n  try {\n    // Verify that the code above has been dead code eliminated (DCE'd).\n    __REACT_DEVTOOLS_GLOBAL_HOOK__.checkDCE(checkDCE);\n  } catch (err) {\n    // DevTools shouldn't crash React, no matter what.\n    // We should still report in case we break this code.\n    console.error(err);\n  }\n}\n\nif (process.env.NODE_ENV === 'production') {\n  // DCE check should happen before ReactDOM bundle executes so that\n  // DevTools can report bad minification during injection.\n  checkDCE();\n  module.exports = require('./cjs/react-dom.production.js');\n} else {\n  module.exports = require('./cjs/react-dom.development.js');\n}\n","/**\n * @license React\n * react-compiler-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar ReactSharedInternals =\n  require(\"next/dist/compiled/react\").__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE;\nexports.c = function (size) {\n  return ReactSharedInternals.H.useMemoCache(size);\n};\n","/**\n * @license React\n * react-jsx-runtime.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n  REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\");\nfunction jsxProd(type, config, maybeKey) {\n  var key = null;\n  void 0 !== maybeKey && (key = \"\" + maybeKey);\n  void 0 !== config.key && (key = \"\" + config.key);\n  if (\"key\" in config) {\n    maybeKey = {};\n    for (var propName in config)\n      \"key\" !== propName && (maybeKey[propName] = config[propName]);\n  } else maybeKey = config;\n  config = maybeKey.ref;\n  return {\n    $$typeof: REACT_ELEMENT_TYPE,\n    type: type,\n    key: key,\n    ref: void 0 !== config ? config : null,\n    props: maybeKey\n  };\n}\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.jsx = jsxProd;\nexports.jsxs = jsxProd;\n","/**\n * @license React\n * react.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nvar REACT_ELEMENT_TYPE = Symbol.for(\"react.transitional.element\"),\n  REACT_PORTAL_TYPE = Symbol.for(\"react.portal\"),\n  REACT_FRAGMENT_TYPE = Symbol.for(\"react.fragment\"),\n  REACT_STRICT_MODE_TYPE = Symbol.for(\"react.strict_mode\"),\n  REACT_PROFILER_TYPE = Symbol.for(\"react.profiler\"),\n  REACT_CONSUMER_TYPE = Symbol.for(\"react.consumer\"),\n  REACT_CONTEXT_TYPE = Symbol.for(\"react.context\"),\n  REACT_FORWARD_REF_TYPE = Symbol.for(\"react.forward_ref\"),\n  REACT_SUSPENSE_TYPE = Symbol.for(\"react.suspense\"),\n  REACT_MEMO_TYPE = Symbol.for(\"react.memo\"),\n  REACT_LAZY_TYPE = Symbol.for(\"react.lazy\"),\n  REACT_ACTIVITY_TYPE = Symbol.for(\"react.activity\"),\n  REACT_VIEW_TRANSITION_TYPE = Symbol.for(\"react.view_transition\"),\n  MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nfunction getIteratorFn(maybeIterable) {\n  if (null === maybeIterable || \"object\" !== typeof maybeIterable) return null;\n  maybeIterable =\n    (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n    maybeIterable[\"@@iterator\"];\n  return \"function\" === typeof maybeIterable ? maybeIterable : null;\n}\nvar ReactNoopUpdateQueue = {\n    isMounted: function () {\n      return !1;\n    },\n    enqueueForceUpdate: function () {},\n    enqueueReplaceState: function () {},\n    enqueueSetState: function () {}\n  },\n  assign = Object.assign,\n  emptyObject = {};\nfunction Component(props, context, updater) {\n  this.props = props;\n  this.context = context;\n  this.refs = emptyObject;\n  this.updater = updater || ReactNoopUpdateQueue;\n}\nComponent.prototype.isReactComponent = {};\nComponent.prototype.setState = function (partialState, callback) {\n  if (\n    \"object\" !== typeof partialState &&\n    \"function\" !== typeof partialState &&\n    null != partialState\n  )\n    throw Error(\n      \"takes an object of state variables to update or a function which returns an object of state variables.\"\n    );\n  this.updater.enqueueSetState(this, partialState, callback, \"setState\");\n};\nComponent.prototype.forceUpdate = function (callback) {\n  this.updater.enqueueForceUpdate(this, callback, \"forceUpdate\");\n};\nfunction ComponentDummy() {}\nComponentDummy.prototype = Component.prototype;\nfunction PureComponent(props, context, updater) {\n  this.props = props;\n  this.context = context;\n  this.refs = emptyObject;\n  this.updater = updater || ReactNoopUpdateQueue;\n}\nvar pureComponentPrototype = (PureComponent.prototype = new ComponentDummy());\npureComponentPrototype.constructor = PureComponent;\nassign(pureComponentPrototype, Component.prototype);\npureComponentPrototype.isPureReactComponent = !0;\nvar isArrayImpl = Array.isArray;\nfunction noop() {}\nvar ReactSharedInternals = { H: null, A: null, T: null, S: null },\n  hasOwnProperty = Object.prototype.hasOwnProperty;\nfunction ReactElement(type, key, props) {\n  var refProp = props.ref;\n  return {\n    $$typeof: REACT_ELEMENT_TYPE,\n    type: type,\n    key: key,\n    ref: void 0 !== refProp ? refProp : null,\n    props: props\n  };\n}\nfunction cloneAndReplaceKey(oldElement, newKey) {\n  return ReactElement(oldElement.type, newKey, oldElement.props);\n}\nfunction isValidElement(object) {\n  return (\n    \"object\" === typeof object &&\n    null !== object &&\n    object.$$typeof === REACT_ELEMENT_TYPE\n  );\n}\nfunction escape(key) {\n  var escaperLookup = { \"=\": \"=0\", \":\": \"=2\" };\n  return (\n    \"$\" +\n    key.replace(/[=:]/g, function (match) {\n      return escaperLookup[match];\n    })\n  );\n}\nvar userProvidedKeyEscapeRegex = /\\/+/g;\nfunction getElementKey(element, index) {\n  return \"object\" === typeof element && null !== element && null != element.key\n    ? escape(\"\" + element.key)\n    : index.toString(36);\n}\nfunction resolveThenable(thenable) {\n  switch (thenable.status) {\n    case \"fulfilled\":\n      return thenable.value;\n    case \"rejected\":\n      throw thenable.reason;\n    default:\n      switch (\n        (\"string\" === typeof thenable.status\n          ? thenable.then(noop, noop)\n          : ((thenable.status = \"pending\"),\n            thenable.then(\n              function (fulfilledValue) {\n                \"pending\" === thenable.status &&\n                  ((thenable.status = \"fulfilled\"),\n                  (thenable.value = fulfilledValue));\n              },\n              function (error) {\n                \"pending\" === thenable.status &&\n                  ((thenable.status = \"rejected\"), (thenable.reason = error));\n              }\n            )),\n        thenable.status)\n      ) {\n        case \"fulfilled\":\n          return thenable.value;\n        case \"rejected\":\n          throw thenable.reason;\n      }\n  }\n  throw thenable;\n}\nfunction mapIntoArray(children, array, escapedPrefix, nameSoFar, callback) {\n  var type = typeof children;\n  if (\"undefined\" === type || \"boolean\" === type) children = null;\n  var invokeCallback = !1;\n  if (null === children) invokeCallback = !0;\n  else\n    switch (type) {\n      case \"bigint\":\n      case \"string\":\n      case \"number\":\n        invokeCallback = !0;\n        break;\n      case \"object\":\n        switch (children.$$typeof) {\n          case REACT_ELEMENT_TYPE:\n          case REACT_PORTAL_TYPE:\n            invokeCallback = !0;\n            break;\n          case REACT_LAZY_TYPE:\n            return (\n              (invokeCallback = children._init),\n              mapIntoArray(\n                invokeCallback(children._payload),\n                array,\n                escapedPrefix,\n                nameSoFar,\n                callback\n              )\n            );\n        }\n    }\n  if (invokeCallback)\n    return (\n      (callback = callback(children)),\n      (invokeCallback =\n        \"\" === nameSoFar ? \".\" + getElementKey(children, 0) : nameSoFar),\n      isArrayImpl(callback)\n        ? ((escapedPrefix = \"\"),\n          null != invokeCallback &&\n            (escapedPrefix =\n              invokeCallback.replace(userProvidedKeyEscapeRegex, \"$&/\") + \"/\"),\n          mapIntoArray(callback, array, escapedPrefix, \"\", function (c) {\n            return c;\n          }))\n        : null != callback &&\n          (isValidElement(callback) &&\n            (callback = cloneAndReplaceKey(\n              callback,\n              escapedPrefix +\n                (null == callback.key ||\n                (children && children.key === callback.key)\n                  ? \"\"\n                  : (\"\" + callback.key).replace(\n                      userProvidedKeyEscapeRegex,\n                      \"$&/\"\n                    ) + \"/\") +\n                invokeCallback\n            )),\n          array.push(callback)),\n      1\n    );\n  invokeCallback = 0;\n  var nextNamePrefix = \"\" === nameSoFar ? \".\" : nameSoFar + \":\";\n  if (isArrayImpl(children))\n    for (var i = 0; i < children.length; i++)\n      (nameSoFar = children[i]),\n        (type = nextNamePrefix + getElementKey(nameSoFar, i)),\n        (invokeCallback += mapIntoArray(\n          nameSoFar,\n          array,\n          escapedPrefix,\n          type,\n          callback\n        ));\n  else if (((i = getIteratorFn(children)), \"function\" === typeof i))\n    for (\n      children = i.call(children), i = 0;\n      !(nameSoFar = children.next()).done;\n\n    )\n      (nameSoFar = nameSoFar.value),\n        (type = nextNamePrefix + getElementKey(nameSoFar, i++)),\n        (invokeCallback += mapIntoArray(\n          nameSoFar,\n          array,\n          escapedPrefix,\n          type,\n          callback\n        ));\n  else if (\"object\" === type) {\n    if (\"function\" === typeof children.then)\n      return mapIntoArray(\n        resolveThenable(children),\n        array,\n        escapedPrefix,\n        nameSoFar,\n        callback\n      );\n    array = String(children);\n    throw Error(\n      \"Objects are not valid as a React child (found: \" +\n        (\"[object Object]\" === array\n          ? \"object with keys {\" + Object.keys(children).join(\", \") + \"}\"\n          : array) +\n        \"). If you meant to render a collection of children, use an array instead.\"\n    );\n  }\n  return invokeCallback;\n}\nfunction mapChildren(children, func, context) {\n  if (null == children) return children;\n  var result = [],\n    count = 0;\n  mapIntoArray(children, result, \"\", \"\", function (child) {\n    return func.call(context, child, count++);\n  });\n  return result;\n}\nfunction lazyInitializer(payload) {\n  if (-1 === payload._status) {\n    var ctor = payload._result,\n      thenable = ctor();\n    thenable.then(\n      function (moduleObject) {\n        if (0 === payload._status || -1 === payload._status)\n          (payload._status = 1),\n            (payload._result = moduleObject),\n            void 0 === thenable.status &&\n              ((thenable.status = \"fulfilled\"),\n              (thenable.value = moduleObject));\n      },\n      function (error) {\n        if (0 === payload._status || -1 === payload._status)\n          (payload._status = 2),\n            (payload._result = error),\n            void 0 === thenable.status &&\n              ((thenable.status = \"rejected\"), (thenable.reason = error));\n      }\n    );\n    -1 === payload._status &&\n      ((payload._status = 0), (payload._result = thenable));\n  }\n  if (1 === payload._status) return payload._result.default;\n  throw payload._result;\n}\nvar reportGlobalError =\n  \"function\" === typeof reportError\n    ? reportError\n    : function (error) {\n        if (\n          \"object\" === typeof window &&\n          \"function\" === typeof window.ErrorEvent\n        ) {\n          var event = new window.ErrorEvent(\"error\", {\n            bubbles: !0,\n            cancelable: !0,\n            message:\n              \"object\" === typeof error &&\n              null !== error &&\n              \"string\" === typeof error.message\n                ? String(error.message)\n                : String(error),\n            error: error\n          });\n          if (!window.dispatchEvent(event)) return;\n        } else if (\n          \"object\" === typeof process &&\n          \"function\" === typeof process.emit\n        ) {\n          process.emit(\"uncaughtException\", error);\n          return;\n        }\n        console.error(error);\n      };\nfunction startTransition(scope) {\n  var prevTransition = ReactSharedInternals.T,\n    currentTransition = {};\n  currentTransition.types =\n    null !== prevTransition ? prevTransition.types : null;\n  ReactSharedInternals.T = currentTransition;\n  try {\n    var returnValue = scope(),\n      onStartTransitionFinish = ReactSharedInternals.S;\n    null !== onStartTransitionFinish &&\n      onStartTransitionFinish(currentTransition, returnValue);\n    \"object\" === typeof returnValue &&\n      null !== returnValue &&\n      \"function\" === typeof returnValue.then &&\n      returnValue.then(noop, reportGlobalError);\n  } catch (error) {\n    reportGlobalError(error);\n  } finally {\n    null !== prevTransition &&\n      null !== currentTransition.types &&\n      (prevTransition.types = currentTransition.types),\n      (ReactSharedInternals.T = prevTransition);\n  }\n}\nfunction addTransitionType(type) {\n  var transition = ReactSharedInternals.T;\n  if (null !== transition) {\n    var transitionTypes = transition.types;\n    null === transitionTypes\n      ? (transition.types = [type])\n      : -1 === transitionTypes.indexOf(type) && transitionTypes.push(type);\n  } else startTransition(addTransitionType.bind(null, type));\n}\nvar Children = {\n  map: mapChildren,\n  forEach: function (children, forEachFunc, forEachContext) {\n    mapChildren(\n      children,\n      function () {\n        forEachFunc.apply(this, arguments);\n      },\n      forEachContext\n    );\n  },\n  count: function (children) {\n    var n = 0;\n    mapChildren(children, function () {\n      n++;\n    });\n    return n;\n  },\n  toArray: function (children) {\n    return (\n      mapChildren(children, function (child) {\n        return child;\n      }) || []\n    );\n  },\n  only: function (children) {\n    if (!isValidElement(children))\n      throw Error(\n        \"React.Children.only expected to receive a single React element child.\"\n      );\n    return children;\n  }\n};\nexports.Activity = REACT_ACTIVITY_TYPE;\nexports.Children = Children;\nexports.Component = Component;\nexports.Fragment = REACT_FRAGMENT_TYPE;\nexports.Profiler = REACT_PROFILER_TYPE;\nexports.PureComponent = PureComponent;\nexports.StrictMode = REACT_STRICT_MODE_TYPE;\nexports.Suspense = REACT_SUSPENSE_TYPE;\nexports.ViewTransition = REACT_VIEW_TRANSITION_TYPE;\nexports.__CLIENT_INTERNALS_DO_NOT_USE_OR_WARN_USERS_THEY_CANNOT_UPGRADE =\n  ReactSharedInternals;\nexports.__COMPILER_RUNTIME = {\n  __proto__: null,\n  c: function (size) {\n    return ReactSharedInternals.H.useMemoCache(size);\n  }\n};\nexports.addTransitionType = addTransitionType;\nexports.cache = function (fn) {\n  return function () {\n    return fn.apply(null, arguments);\n  };\n};\nexports.cacheSignal = function () {\n  return null;\n};\nexports.cloneElement = function (element, config, children) {\n  if (null === element || void 0 === element)\n    throw Error(\n      \"The argument must be a React element, but you passed \" + element + \".\"\n    );\n  var props = assign({}, element.props),\n    key = element.key;\n  if (null != config)\n    for (propName in (void 0 !== config.key && (key = \"\" + config.key), config))\n      !hasOwnProperty.call(config, propName) ||\n        \"key\" === propName ||\n        \"__self\" === propName ||\n        \"__source\" === propName ||\n        (\"ref\" === propName && void 0 === config.ref) ||\n        (props[propName] = config[propName]);\n  var propName = arguments.length - 2;\n  if (1 === propName) props.children = children;\n  else if (1 < propName) {\n    for (var childArray = Array(propName), i = 0; i < propName; i++)\n      childArray[i] = arguments[i + 2];\n    props.children = childArray;\n  }\n  return ReactElement(element.type, key, props);\n};\nexports.createContext = function (defaultValue) {\n  defaultValue = {\n    $$typeof: REACT_CONTEXT_TYPE,\n    _currentValue: defaultValue,\n    _currentValue2: defaultValue,\n    _threadCount: 0,\n    Provider: null,\n    Consumer: null\n  };\n  defaultValue.Provider = defaultValue;\n  defaultValue.Consumer = {\n    $$typeof: REACT_CONSUMER_TYPE,\n    _context: defaultValue\n  };\n  return defaultValue;\n};\nexports.createElement = function (type, config, children) {\n  var propName,\n    props = {},\n    key = null;\n  if (null != config)\n    for (propName in (void 0 !== config.key && (key = \"\" + config.key), config))\n      hasOwnProperty.call(config, propName) &&\n        \"key\" !== propName &&\n        \"__self\" !== propName &&\n        \"__source\" !== propName &&\n        (props[propName] = config[propName]);\n  var childrenLength = arguments.length - 2;\n  if (1 === childrenLength) props.children = children;\n  else if (1 < childrenLength) {\n    for (var childArray = Array(childrenLength), i = 0; i < childrenLength; i++)\n      childArray[i] = arguments[i + 2];\n    props.children = childArray;\n  }\n  if (type && type.defaultProps)\n    for (propName in ((childrenLength = type.defaultProps), childrenLength))\n      void 0 === props[propName] &&\n        (props[propName] = childrenLength[propName]);\n  return ReactElement(type, key, props);\n};\nexports.createRef = function () {\n  return { current: null };\n};\nexports.forwardRef = function (render) {\n  return { $$typeof: REACT_FORWARD_REF_TYPE, render: render };\n};\nexports.isValidElement = isValidElement;\nexports.lazy = function (ctor) {\n  return {\n    $$typeof: REACT_LAZY_TYPE,\n    _payload: { _status: -1, _result: ctor },\n    _init: lazyInitializer\n  };\n};\nexports.memo = function (type, compare) {\n  return {\n    $$typeof: REACT_MEMO_TYPE,\n    type: type,\n    compare: void 0 === compare ? null : compare\n  };\n};\nexports.startTransition = startTransition;\nexports.unstable_useCacheRefresh = function () {\n  return ReactSharedInternals.H.useCacheRefresh();\n};\nexports.use = function (usable) {\n  return ReactSharedInternals.H.use(usable);\n};\nexports.useActionState = function (action, initialState, permalink) {\n  return ReactSharedInternals.H.useActionState(action, initialState, permalink);\n};\nexports.useCallback = function (callback, deps) {\n  return ReactSharedInternals.H.useCallback(callback, deps);\n};\nexports.useContext = function (Context) {\n  return ReactSharedInternals.H.useContext(Context);\n};\nexports.useDebugValue = function () {};\nexports.useDeferredValue = function (value, initialValue) {\n  return ReactSharedInternals.H.useDeferredValue(value, initialValue);\n};\nexports.useEffect = function (create, deps) {\n  return ReactSharedInternals.H.useEffect(create, deps);\n};\nexports.useEffectEvent = function (callback) {\n  return ReactSharedInternals.H.useEffectEvent(callback);\n};\nexports.useId = function () {\n  return ReactSharedInternals.H.useId();\n};\nexports.useImperativeHandle = function (ref, create, deps) {\n  return ReactSharedInternals.H.useImperativeHandle(ref, create, deps);\n};\nexports.useInsertionEffect = function (create, deps) {\n  return ReactSharedInternals.H.useInsertionEffect(create, deps);\n};\nexports.useLayoutEffect = function (create, deps) {\n  return ReactSharedInternals.H.useLayoutEffect(create, deps);\n};\nexports.useMemo = function (create, deps) {\n  return ReactSharedInternals.H.useMemo(create, deps);\n};\nexports.useOptimistic = function (passthrough, reducer) {\n  return ReactSharedInternals.H.useOptimistic(passthrough, reducer);\n};\nexports.useReducer = function (reducer, initialArg, init) {\n  return ReactSharedInternals.H.useReducer(reducer, initialArg, init);\n};\nexports.useRef = function (initialValue) {\n  return ReactSharedInternals.H.useRef(initialValue);\n};\nexports.useState = function (initialState) {\n  return ReactSharedInternals.H.useState(initialState);\n};\nexports.useSyncExternalStore = function (\n  subscribe,\n  getSnapshot,\n  getServerSnapshot\n) {\n  return ReactSharedInternals.H.useSyncExternalStore(\n    subscribe,\n    getSnapshot,\n    getServerSnapshot\n  );\n};\nexports.useTransition = function () {\n  return ReactSharedInternals.H.useTransition();\n};\nexports.version = \"19.3.0-canary-cbb046ab-20260731\";\n","/**\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-compiler-runtime.production.js');\n} else {\n  module.exports = require('./cjs/react-compiler-runtime.development.js');\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react.production.js');\n} else {\n  module.exports = require('./cjs/react.development.js');\n}\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/react-jsx-runtime.production.js');\n} else {\n  module.exports = require('./cjs/react-jsx-runtime.development.js');\n}\n","/**\n * @license React\n * scheduler.production.js\n *\n * Copyright (c) Meta Platforms, Inc. and affiliates.\n *\n * This source code is licensed under the MIT license found in the\n * LICENSE file in the root directory of this source tree.\n */\n\n\"use strict\";\nfunction push(heap, node) {\n  var index = heap.length;\n  heap.push(node);\n  a: for (; 0 < index; ) {\n    var parentIndex = (index - 1) >>> 1,\n      parent = heap[parentIndex];\n    if (0 < compare(parent, node))\n      (heap[parentIndex] = node), (heap[index] = parent), (index = parentIndex);\n    else break a;\n  }\n}\nfunction peek(heap) {\n  return 0 === heap.length ? null : heap[0];\n}\nfunction pop(heap) {\n  if (0 === heap.length) return null;\n  var first = heap[0],\n    last = heap.pop();\n  if (last !== first) {\n    heap[0] = last;\n    a: for (\n      var index = 0, length = heap.length, halfLength = length >>> 1;\n      index < halfLength;\n\n    ) {\n      var leftIndex = 2 * (index + 1) - 1,\n        left = heap[leftIndex],\n        rightIndex = leftIndex + 1,\n        right = heap[rightIndex];\n      if (0 > compare(left, last))\n        rightIndex < length && 0 > compare(right, left)\n          ? ((heap[index] = right),\n            (heap[rightIndex] = last),\n            (index = rightIndex))\n          : ((heap[index] = left),\n            (heap[leftIndex] = last),\n            (index = leftIndex));\n      else if (rightIndex < length && 0 > compare(right, last))\n        (heap[index] = right), (heap[rightIndex] = last), (index = rightIndex);\n      else break a;\n    }\n  }\n  return first;\n}\nfunction compare(a, b) {\n  var diff = a.sortIndex - b.sortIndex;\n  return 0 !== diff ? diff : a.id - b.id;\n}\nexports.unstable_now = void 0;\nif (\"object\" === typeof performance && \"function\" === typeof performance.now) {\n  var localPerformance = performance;\n  exports.unstable_now = function () {\n    return localPerformance.now();\n  };\n} else {\n  var localDate = Date,\n    initialTime = localDate.now();\n  exports.unstable_now = function () {\n    return localDate.now() - initialTime;\n  };\n}\nvar taskQueue = [],\n  timerQueue = [],\n  taskIdCounter = 1,\n  currentTask = null,\n  currentPriorityLevel = 3,\n  isPerformingWork = !1,\n  isHostCallbackScheduled = !1,\n  isHostTimeoutScheduled = !1,\n  needsPaint = !1,\n  localSetTimeout = \"function\" === typeof setTimeout ? setTimeout : null,\n  localClearTimeout = \"function\" === typeof clearTimeout ? clearTimeout : null,\n  localSetImmediate = \"undefined\" !== typeof setImmediate ? setImmediate : null;\nfunction advanceTimers(currentTime) {\n  for (var timer = peek(timerQueue); null !== timer; ) {\n    if (null === timer.callback) pop(timerQueue);\n    else if (timer.startTime <= currentTime)\n      pop(timerQueue),\n        (timer.sortIndex = timer.expirationTime),\n        push(taskQueue, timer);\n    else break;\n    timer = peek(timerQueue);\n  }\n}\nfunction handleTimeout(currentTime) {\n  isHostTimeoutScheduled = !1;\n  advanceTimers(currentTime);\n  if (!isHostCallbackScheduled)\n    if (null !== peek(taskQueue))\n      (isHostCallbackScheduled = !0),\n        isMessageLoopRunning ||\n          ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline());\n    else {\n      var firstTimer = peek(timerQueue);\n      null !== firstTimer &&\n        requestHostTimeout(handleTimeout, firstTimer.startTime - currentTime);\n    }\n}\nvar isMessageLoopRunning = !1,\n  taskTimeoutID = -1,\n  frameInterval = 5,\n  startTime = -1;\nfunction shouldYieldToHost() {\n  return needsPaint\n    ? !0\n    : exports.unstable_now() - startTime < frameInterval\n      ? !1\n      : !0;\n}\nfunction performWorkUntilDeadline() {\n  needsPaint = !1;\n  if (isMessageLoopRunning) {\n    var currentTime = exports.unstable_now();\n    startTime = currentTime;\n    var hasMoreWork = !0;\n    try {\n      a: {\n        isHostCallbackScheduled = !1;\n        isHostTimeoutScheduled &&\n          ((isHostTimeoutScheduled = !1),\n          localClearTimeout(taskTimeoutID),\n          (taskTimeoutID = -1));\n        isPerformingWork = !0;\n        var previousPriorityLevel = currentPriorityLevel;\n        try {\n          b: {\n            advanceTimers(currentTime);\n            for (\n              currentTask = peek(taskQueue);\n              null !== currentTask &&\n              !(\n                currentTask.expirationTime > currentTime && shouldYieldToHost()\n              );\n\n            ) {\n              var callback = currentTask.callback;\n              if (\"function\" === typeof callback) {\n                currentTask.callback = null;\n                currentPriorityLevel = currentTask.priorityLevel;\n                var continuationCallback = callback(\n                  currentTask.expirationTime <= currentTime\n                );\n                currentTime = exports.unstable_now();\n                if (\"function\" === typeof continuationCallback) {\n                  currentTask.callback = continuationCallback;\n                  advanceTimers(currentTime);\n                  hasMoreWork = !0;\n                  break b;\n                }\n                currentTask === peek(taskQueue) && pop(taskQueue);\n                advanceTimers(currentTime);\n              } else pop(taskQueue);\n              currentTask = peek(taskQueue);\n            }\n            if (null !== currentTask) hasMoreWork = !0;\n            else {\n              var firstTimer = peek(timerQueue);\n              null !== firstTimer &&\n                requestHostTimeout(\n                  handleTimeout,\n                  firstTimer.startTime - currentTime\n                );\n              hasMoreWork = !1;\n            }\n          }\n          break a;\n        } finally {\n          (currentTask = null),\n            (currentPriorityLevel = previousPriorityLevel),\n            (isPerformingWork = !1);\n        }\n        hasMoreWork = void 0;\n      }\n    } finally {\n      hasMoreWork\n        ? schedulePerformWorkUntilDeadline()\n        : (isMessageLoopRunning = !1);\n    }\n  }\n}\nvar schedulePerformWorkUntilDeadline;\nif (\"function\" === typeof localSetImmediate)\n  schedulePerformWorkUntilDeadline = function () {\n    localSetImmediate(performWorkUntilDeadline);\n  };\nelse if (\"undefined\" !== typeof MessageChannel) {\n  var channel = new MessageChannel(),\n    port = channel.port2;\n  channel.port1.onmessage = performWorkUntilDeadline;\n  schedulePerformWorkUntilDeadline = function () {\n    port.postMessage(null);\n  };\n} else\n  schedulePerformWorkUntilDeadline = function () {\n    localSetTimeout(performWorkUntilDeadline, 0);\n  };\nfunction requestHostTimeout(callback, ms) {\n  taskTimeoutID = localSetTimeout(function () {\n    callback(exports.unstable_now());\n  }, ms);\n}\nexports.unstable_IdlePriority = 5;\nexports.unstable_ImmediatePriority = 1;\nexports.unstable_LowPriority = 4;\nexports.unstable_NormalPriority = 3;\nexports.unstable_Profiling = null;\nexports.unstable_UserBlockingPriority = 2;\nexports.unstable_cancelCallback = function (task) {\n  task.callback = null;\n};\nexports.unstable_forceFrameRate = function (fps) {\n  0 > fps || 125 < fps\n    ? console.error(\n        \"forceFrameRate takes a positive int between 0 and 125, forcing frame rates higher than 125 fps is not supported\"\n      )\n    : (frameInterval = 0 < fps ? Math.floor(1e3 / fps) : 5);\n};\nexports.unstable_getCurrentPriorityLevel = function () {\n  return currentPriorityLevel;\n};\nexports.unstable_next = function (eventHandler) {\n  switch (currentPriorityLevel) {\n    case 1:\n    case 2:\n    case 3:\n      var priorityLevel = 3;\n      break;\n    default:\n      priorityLevel = currentPriorityLevel;\n  }\n  var previousPriorityLevel = currentPriorityLevel;\n  currentPriorityLevel = priorityLevel;\n  try {\n    return eventHandler();\n  } finally {\n    currentPriorityLevel = previousPriorityLevel;\n  }\n};\nexports.unstable_requestPaint = function () {\n  needsPaint = !0;\n};\nexports.unstable_runWithPriority = function (priorityLevel, eventHandler) {\n  switch (priorityLevel) {\n    case 1:\n    case 2:\n    case 3:\n    case 4:\n    case 5:\n      break;\n    default:\n      priorityLevel = 3;\n  }\n  var previousPriorityLevel = currentPriorityLevel;\n  currentPriorityLevel = priorityLevel;\n  try {\n    return eventHandler();\n  } finally {\n    currentPriorityLevel = previousPriorityLevel;\n  }\n};\nexports.unstable_scheduleCallback = function (\n  priorityLevel,\n  callback,\n  options\n) {\n  var currentTime = exports.unstable_now();\n  \"object\" === typeof options && null !== options\n    ? ((options = options.delay),\n      (options =\n        \"number\" === typeof options && 0 < options\n          ? currentTime + options\n          : currentTime))\n    : (options = currentTime);\n  switch (priorityLevel) {\n    case 1:\n      var timeout = -1;\n      break;\n    case 2:\n      timeout = 250;\n      break;\n    case 5:\n      timeout = 1073741823;\n      break;\n    case 4:\n      timeout = 1e4;\n      break;\n    default:\n      timeout = 5e3;\n  }\n  timeout = options + timeout;\n  priorityLevel = {\n    id: taskIdCounter++,\n    callback: callback,\n    priorityLevel: priorityLevel,\n    startTime: options,\n    expirationTime: timeout,\n    sortIndex: -1\n  };\n  options > currentTime\n    ? ((priorityLevel.sortIndex = options),\n      push(timerQueue, priorityLevel),\n      null === peek(taskQueue) &&\n        priorityLevel === peek(timerQueue) &&\n        (isHostTimeoutScheduled\n          ? (localClearTimeout(taskTimeoutID), (taskTimeoutID = -1))\n          : (isHostTimeoutScheduled = !0),\n        requestHostTimeout(handleTimeout, options - currentTime)))\n    : ((priorityLevel.sortIndex = timeout),\n      push(taskQueue, priorityLevel),\n      isHostCallbackScheduled ||\n        isPerformingWork ||\n        ((isHostCallbackScheduled = !0),\n        isMessageLoopRunning ||\n          ((isMessageLoopRunning = !0), schedulePerformWorkUntilDeadline())));\n  return priorityLevel;\n};\nexports.unstable_shouldYield = shouldYieldToHost;\nexports.unstable_wrapCallback = function (callback) {\n  var parentPriorityLevel = currentPriorityLevel;\n  return function () {\n    var previousPriorityLevel = currentPriorityLevel;\n    currentPriorityLevel = parentPriorityLevel;\n    try {\n      return callback.apply(this, arguments);\n    } finally {\n      currentPriorityLevel = previousPriorityLevel;\n    }\n  };\n};\n","'use strict';\n\nif (process.env.NODE_ENV === 'production') {\n  module.exports = require('./cjs/scheduler.production.js');\n} else {\n  module.exports = require('./cjs/scheduler.development.js');\n}\n","(()=>{\"use strict\";if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var e={};(()=>{var r=e;Object.defineProperty(r,\"__esModule\",{value:true});var n=\"<unknown>\";function parse(e){var r=e.split(\"\\n\");return r.reduce((function(e,r){var n=parseChrome(r)||parseWinjs(r)||parseGecko(r)||parseNode(r)||parseJSC(r);if(n){e.push(n)}return e}),[])}var a=/^\\s*at (.*?) ?\\(((?:file|https?|blob|chrome-extension|native|eval|webpack|webpack-internal|rsc|about|turbopack|<anonymous>|\\/|[a-z]:\\\\|\\\\\\\\).*?)(?::(\\d+))?(?::(\\d+))?\\)?\\s*$/i;var u=/\\((\\S*)(?::(\\d+))(?::(\\d+))\\)/;function parseChrome(e){var r=a.exec(e);if(!r){return null}var l=r[2]&&r[2].indexOf(\"native\")===0;var t=r[2]&&r[2].indexOf(\"eval\")===0;var i=u.exec(r[2]);if(t&&i!=null){r[2]=i[1];r[3]=i[2];r[4]=i[3]}return{file:!l?r[2]:null,methodName:r[1]||n,arguments:l?[r[2]]:[],lineNumber:r[3]?+r[3]:null,column:r[4]?+r[4]:null}}var l=/^\\s*at (?:((?:\\[object object\\])?.+) )?\\(?((?:file|ms-appx|https?|webpack|webpack-internal|rsc|about|turbopack|blob):.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;function parseWinjs(e){var r=l.exec(e);if(!r){return null}return{file:r[2],methodName:r[1]||n,arguments:[],lineNumber:+r[3],column:r[4]?+r[4]:null}}var t=/^\\s*(.*?)(?:\\((.*?)\\))?(?:^|@)((?:file|https?|blob|chrome|webpack|webpack-internal|rsc|about|turbopack|resource|\\[native).*?|[^@]*bundle)(?::(\\d+))?(?::(\\d+))?\\s*$/i;var i=/(\\S+) line (\\d+)(?: > eval line \\d+)* > eval/i;function parseGecko(e){var r=t.exec(e);if(!r){return null}var a=r[3]&&r[3].indexOf(\" > eval\")>-1;var u=i.exec(r[3]);if(a&&u!=null){r[3]=u[1];r[4]=u[2];r[5]=null}return{file:r[3],methodName:r[1]||n,arguments:r[2]?r[2].split(\",\"):[],lineNumber:r[4]?+r[4]:null,column:r[5]?+r[5]:null}}var o=/^\\s*(?:([^@]*)(?:\\((.*?)\\))?@)?(\\S.*?):(\\d+)(?::(\\d+))?\\s*$/i;function parseJSC(e){var r=o.exec(e);if(!r){return null}return{file:r[3],methodName:r[1]||n,arguments:[],lineNumber:+r[4],column:r[5]?+r[5]:null}}var s=/^\\s*at (?:((?:\\[object object\\])?[^\\\\/]+(?: \\[as \\S+\\])?) )?\\(?(.*?):(\\d+)(?::(\\d+))?\\)?\\s*$/i;function parseNode(e){var r=s.exec(e);if(!r){return null}return{file:r[2],methodName:r[1]||n,arguments:[],lineNumber:+r[3],column:r[4]?+r[4]:null}}r.parse=parse})();module.exports=e})();","(()=>{\"use strict\";var e={371:e=>{e.exports=({onlyFirst:e=false}={})=>{const r=[\"[\\\\u001B\\\\u009B][[\\\\]()#;?]*(?:(?:(?:(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]+)*|[a-zA-Z\\\\d]+(?:;[-a-zA-Z\\\\d\\\\/#&.:=?%@~_]*)*)?\\\\u0007)\",\"(?:(?:\\\\d{1,4}(?:;\\\\d{0,4})*)?[\\\\dA-PR-TZcf-ntqry=><~]))\"].join(\"|\");return new RegExp(r,e?undefined:\"g\")}},173:(e,r,_)=>{const t=_(371);e.exports=e=>typeof e===\"string\"?e.replace(t(),\"\"):e}};var r={};function __nccwpck_require__(_){var t=r[_];if(t!==undefined){return t.exports}var a=r[_]={exports:{}};var n=true;try{e[_](a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete r[_]}return a.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var _=__nccwpck_require__(173);module.exports=_})();","/* @ts-check */\n/**\n * Style injection mechanism for Next.js devtools with shadow DOM support\n * Handles caching of style elements when the nextjs-portal shadow root is not available\n */\n\n// Global cache for style elements when shadow root is not available\nif (typeof window !== 'undefined') {\n  window._nextjsDevtoolsStyleCache = window._nextjsDevtoolsStyleCache || {\n    pendingElements: [],\n    isObserving: false,\n    lastInsertedElement: null,\n    cachedShadowRoot: null, // Cache the shadow root once found\n  }\n}\n\n/**\n * @returns {ShadowRoot | null}\n */\nfunction getShadowRoot() {\n  const cache = window._nextjsDevtoolsStyleCache\n\n  // Return cached shadow root if available\n  if (cache.cachedShadowRoot) {\n    return cache.cachedShadowRoot\n  }\n\n  // Query the DOM and cache the result if found\n  const portal = document.querySelector('nextjs-portal')\n  const shadowRoot = portal?.shadowRoot || null\n\n  if (shadowRoot) {\n    cache.cachedShadowRoot = shadowRoot\n  }\n\n  return shadowRoot\n}\n\n/**\n * @param {HTMLElement} element\n * @param {ShadowRoot} shadowRoot\n */\nfunction insertElementIntoShadowRoot(element, shadowRoot) {\n  const cache = window._nextjsDevtoolsStyleCache\n\n  if (!cache.lastInsertedElement) {\n    shadowRoot.insertBefore(element, shadowRoot.firstChild)\n  } else if (cache.lastInsertedElement.nextSibling) {\n    shadowRoot.insertBefore(element, cache.lastInsertedElement.nextSibling)\n  } else {\n    shadowRoot.appendChild(element)\n  }\n\n  cache.lastInsertedElement = element\n}\n\nfunction flushCachedElements() {\n  const cache = window._nextjsDevtoolsStyleCache\n  const shadowRoot = getShadowRoot()\n\n  if (!shadowRoot) {\n    return\n  }\n\n  cache.pendingElements.forEach((element) => {\n    insertElementIntoShadowRoot(element, shadowRoot)\n  })\n  cache.pendingElements = []\n}\n\nfunction startObservingForPortal() {\n  const cache = window._nextjsDevtoolsStyleCache\n\n  if (cache.isObserving) {\n    return\n  }\n  cache.isObserving = true\n\n  // First check if the portal already exists\n  const shadowRoot = getShadowRoot() // This will cache it if found\n  if (shadowRoot) {\n    flushCachedElements()\n    return\n  }\n\n  // Set up MutationObserver to watch for the portal element\n  const observer = new MutationObserver((mutations) => {\n    if (mutations.length === 0) {\n      return\n    }\n\n    // Check all mutations and all added nodes\n    for (const mutation of mutations) {\n      if (mutation.addedNodes.length === 0) continue\n\n      for (const addedNode of mutation.addedNodes) {\n        if (addedNode.nodeType !== Node.ELEMENT_NODE) continue\n\n        const mutationNode = addedNode\n\n        let portalNode = null\n        if (\n          // app router: body > script[data-nextjs-dev-overlay] > nextjs-portal\n          mutationNode.tagName === 'SCRIPT' &&\n          mutationNode.getAttribute('data-nextjs-dev-overlay')\n        ) {\n          portalNode = mutationNode.firstChild\n        } else if (\n          // pages router: body > nextjs-portal\n          mutationNode.tagName === 'NEXTJS-PORTAL'\n        ) {\n          portalNode = mutationNode\n        }\n\n        if (portalNode) {\n          // Wait until shadow root is available\n          const checkShadowRoot = () => {\n            if (getShadowRoot()) {\n              flushCachedElements()\n              observer.disconnect()\n              cache.isObserving = false\n            } else {\n              // Try again after a short delay\n              setTimeout(checkShadowRoot, 20)\n            }\n          }\n          checkShadowRoot()\n          return // Exit early once we find a portal\n        }\n      }\n    }\n  })\n\n  observer.observe(document.body, {\n    childList: true,\n    subtree: true,\n  })\n}\n\n/**\n * @param {HTMLElement} element\n */\nfunction insertAtTop(element) {\n  // Add special recognizable data prop to element\n  element.setAttribute('data-nextjs-dev-tool-style', 'true')\n\n  const shadowRoot = getShadowRoot()\n  if (shadowRoot) {\n    // Shadow root is available, insert directly\n    insertElementIntoShadowRoot(element, shadowRoot)\n  } else {\n    // Shadow root not available, cache the element\n    const cache = window._nextjsDevtoolsStyleCache\n    cache.pendingElements.push(element)\n\n    // Start observing for the portal if not already observing\n    startObservingForPortal()\n  }\n}\n\nmodule.exports = insertAtTop\n","import type { CacheIndicatorState } from '../../cache-indicator'\nimport { css } from '../../utils/css'\n\nexport enum Status {\n  None = 'none',\n  Rendering = 'rendering',\n  RenderingColdCache = 'rendering-cold-cache',\n  RenderingCacheDisabled = 'rendering-cache-disabled',\n  Compiling = 'compiling',\n}\n\nexport function getCurrentStatus(\n  buildingIndicator: boolean,\n  renderingIndicator: boolean,\n  cacheIndicator: CacheIndicatorState\n): Status {\n  // Priority order: compiling > rendering. While a client transition is\n  // pending, the cache state colors and labels the rendering status; once it\n  // settles, the cache state is shown as a persistent badge instead (handled in\n  // next-logo).\n  if (buildingIndicator) {\n    return Status.Compiling\n  }\n  if (renderingIndicator) {\n    if (cacheIndicator === 'cold') {\n      return Status.RenderingColdCache\n    }\n    if (cacheIndicator === 'bypass') {\n      return Status.RenderingCacheDisabled\n    }\n    return Status.Rendering\n  }\n  return Status.None\n}\n\ninterface StatusIndicatorProps {\n  status: Status\n  onClick?: () => void\n}\n\nexport function StatusIndicator({ status, onClick }: StatusIndicatorProps) {\n  const statusText: Record<Status, string> = {\n    [Status.None]: '',\n    [Status.Compiling]: 'Compiling',\n    [Status.Rendering]: 'Rendering',\n    [Status.RenderingColdCache]: 'Rendering (cold cache)',\n    [Status.RenderingCacheDisabled]: 'Rendering (cache disabled)',\n  }\n\n  // Status dot colors: teal while rendering normally, orange when the render\n  // hit a cold cache or bypassed caches.\n  const statusDotColor: Record<Status, string> = {\n    [Status.None]: '',\n    [Status.Compiling]: '#f5a623',\n    [Status.Rendering]: '#50e3c2',\n    [Status.RenderingColdCache]: '#f5a623',\n    [Status.RenderingCacheDisabled]: '#f5a623',\n  }\n\n  if (status === Status.None) {\n    return null\n  }\n\n  return (\n    <>\n      <style>\n        {css`\n          [data-indicator-status] {\n            --padding-left: 8px;\n            display: flex;\n            gap: 6px;\n            align-items: center;\n            padding-left: 12px;\n            padding-right: 8px;\n            height: var(--size-32);\n            margin-right: 2px;\n            border-radius: var(--rounded-full);\n            transition: background var(--duration-short) ease;\n            color: white;\n            font-size: var(--size-13);\n            font-weight: 500;\n            white-space: nowrap;\n            border: none;\n            background: transparent;\n            cursor: pointer;\n            outline: none;\n          }\n\n          [data-indicator-status]:focus-visible {\n            outline: 2px solid var(--color-blue-800, #3b82f6);\n            outline-offset: 3px;\n          }\n\n          [data-status-dot] {\n            width: 8px;\n            height: 8px;\n            border-radius: 50%;\n            flex-shrink: 0;\n          }\n\n          [data-status-text-animation] {\n            display: inline-flex;\n            align-items: center;\n            position: relative;\n            overflow: hidden;\n            height: 100%;\n\n            > * {\n              white-space: nowrap;\n              line-height: 1;\n            }\n\n            [data-status-text-enter] {\n              animation: slotMachineEnter 150ms cubic-bezier(0, 0, 0.2, 1)\n                forwards;\n            }\n          }\n\n          [data-status-ellipsis] {\n            display: inline-flex;\n            margin-left: 2px;\n          }\n\n          [data-status-ellipsis] span {\n            animation: ellipsisFade 1.2s infinite;\n            margin: 0 1px;\n          }\n\n          [data-status-ellipsis] span:nth-child(2) {\n            animation-delay: 0.2s;\n          }\n\n          [data-status-ellipsis] span:nth-child(3) {\n            animation-delay: 0.4s;\n          }\n\n          @keyframes ellipsisFade {\n            0%,\n            60%,\n            100% {\n              opacity: 0.2;\n            }\n            30% {\n              opacity: 1;\n            }\n          }\n\n          @keyframes slotMachineEnter {\n            0% {\n              transform: translateY(0.8em);\n              opacity: 0;\n            }\n            50% {\n              opacity: 0.8;\n            }\n            100% {\n              transform: translateY(0);\n              opacity: 1;\n            }\n          }\n        `}\n      </style>\n      <button\n        data-indicator-status\n        data-nextjs-dev-tools-button\n        onClick={onClick}\n        aria-label={'Open Next.js Dev Tools'}\n      >\n        {statusDotColor[status] && (\n          <div\n            data-status-dot\n            style={{\n              backgroundColor: statusDotColor[status],\n            }}\n          />\n        )}\n        <AnimateStatusText\n          key={status} // Key here triggers re-mount and animation\n          statusKey={status}\n          showEllipsis\n        >\n          {statusText[status]}\n        </AnimateStatusText>\n      </button>\n    </>\n  )\n}\n\nfunction AnimateStatusText({\n  children: text,\n  showEllipsis = true,\n}: {\n  children: string\n  statusKey?: string // Keep for type compatibility but unused\n  showEllipsis?: boolean\n}) {\n  return (\n    <div data-status-text-animation>\n      <div data-status-text-enter>\n        {text}\n        {showEllipsis && (\n          <span data-status-ellipsis>\n            <span>.</span>\n            <span>.</span>\n            <span>.</span>\n          </span>\n        )}\n      </div>\n    </div>\n  )\n}\n","export let TransitionStatusDataAttributes = /*#__PURE__*/function (TransitionStatusDataAttributes) {\n  /**\n   * Present when the component is animating in.\n   */\n  TransitionStatusDataAttributes[\"startingStyle\"] = \"data-starting-style\";\n  /**\n   * Present when the component is animating out.\n   */\n  TransitionStatusDataAttributes[\"endingStyle\"] = \"data-ending-style\";\n  return TransitionStatusDataAttributes;\n}({});\nconst STARTING_HOOK = {\n  [TransitionStatusDataAttributes.startingStyle]: ''\n};\nconst ENDING_HOOK = {\n  [TransitionStatusDataAttributes.endingStyle]: ''\n};\nexport const transitionStatusMapping = {\n  transitionStatus(value) {\n    if (value === 'starting') {\n      return STARTING_HOOK;\n    }\n    if (value === 'ending') {\n      return ENDING_HOOK;\n    }\n    return null;\n  }\n};","import { TransitionStatusDataAttributes } from \"./styleHookMapping.js\";\nexport let CommonPopupDataAttributes = function (CommonPopupDataAttributes) {\n  /**\n   * Present when the popup is open.\n   */\n  CommonPopupDataAttributes[\"open\"] = \"data-open\";\n  /**\n   * Present when the popup is closed.\n   */\n  CommonPopupDataAttributes[\"closed\"] = \"data-closed\";\n  /**\n   * Present when the popup is animating in.\n   */\n  CommonPopupDataAttributes[CommonPopupDataAttributes[\"startingStyle\"] = TransitionStatusDataAttributes.startingStyle] = \"startingStyle\";\n  /**\n   * Present when the popup is animating out.\n   */\n  CommonPopupDataAttributes[CommonPopupDataAttributes[\"endingStyle\"] = TransitionStatusDataAttributes.endingStyle] = \"endingStyle\";\n  /**\n   * Present when the anchor is hidden.\n   */\n  CommonPopupDataAttributes[\"anchorHidden\"] = \"data-anchor-hidden\";\n  return CommonPopupDataAttributes;\n}({});\nexport let CommonTriggerDataAttributes = /*#__PURE__*/function (CommonTriggerDataAttributes) {\n  /**\n   * Present when the popup is open.\n   */\n  CommonTriggerDataAttributes[\"popupOpen\"] = \"data-popup-open\";\n  /**\n   * Present when a pressable trigger is pressed.\n   */\n  CommonTriggerDataAttributes[\"pressed\"] = \"data-pressed\";\n  return CommonTriggerDataAttributes;\n}({});\nconst TRIGGER_HOOK = {\n  [CommonTriggerDataAttributes.popupOpen]: ''\n};\nconst PRESSABLE_TRIGGER_HOOK = {\n  [CommonTriggerDataAttributes.popupOpen]: '',\n  [CommonTriggerDataAttributes.pressed]: ''\n};\nconst POPUP_OPEN_HOOK = {\n  [CommonPopupDataAttributes.open]: ''\n};\nconst POPUP_CLOSED_HOOK = {\n  [CommonPopupDataAttributes.closed]: ''\n};\nconst ANCHOR_HIDDEN_HOOK = {\n  [CommonPopupDataAttributes.anchorHidden]: ''\n};\nexport const triggerOpenStateMapping = {\n  open(value) {\n    if (value) {\n      return TRIGGER_HOOK;\n    }\n    return null;\n  }\n};\nexport const pressableTriggerOpenStateMapping = {\n  open(value) {\n    if (value) {\n      return PRESSABLE_TRIGGER_HOOK;\n    }\n    return null;\n  }\n};\nexport const popupStateMapping = {\n  open(value) {\n    if (value) {\n      return POPUP_OPEN_HOOK;\n    }\n    return POPUP_CLOSED_HOOK;\n  },\n  anchorHidden(value) {\n    if (value) {\n      return ANCHOR_HIDDEN_HOOK;\n    }\n    return null;\n  }\n};","'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { useCompositeListContext } from \"./CompositeListContext.js\";\nexport let IndexGuessBehavior = /*#__PURE__*/function (IndexGuessBehavior) {\n  IndexGuessBehavior[IndexGuessBehavior[\"None\"] = 0] = \"None\";\n  IndexGuessBehavior[IndexGuessBehavior[\"GuessFromOrder\"] = 1] = \"GuessFromOrder\";\n  return IndexGuessBehavior;\n}({});\n\n/**\n * Used to register a list item and its index (DOM position) in the `CompositeList`.\n */\nexport function useCompositeListItem(params = {}) {\n  const {\n    label,\n    metadata,\n    textRef,\n    indexGuessBehavior\n  } = params;\n  const {\n    register,\n    unregister,\n    subscribeMapChange,\n    elementsRef,\n    labelsRef,\n    nextIndexRef\n  } = useCompositeListContext();\n  const indexRef = React.useRef(-1);\n  const [index, setIndex] = React.useState(indexGuessBehavior === IndexGuessBehavior.GuessFromOrder ? () => {\n    if (indexRef.current === -1) {\n      const newIndex = nextIndexRef.current;\n      nextIndexRef.current += 1;\n      indexRef.current = newIndex;\n    }\n    return indexRef.current;\n  } : -1);\n  const componentRef = React.useRef(null);\n  const ref = React.useCallback(node => {\n    componentRef.current = node;\n    if (index !== -1 && node !== null) {\n      elementsRef.current[index] = node;\n      if (labelsRef) {\n        const isLabelDefined = label !== undefined;\n        labelsRef.current[index] = isLabelDefined ? label : textRef?.current?.textContent ?? node.textContent;\n      }\n    }\n  }, [index, elementsRef, labelsRef, label, textRef]);\n  useIsoLayoutEffect(() => {\n    const node = componentRef.current;\n    if (node) {\n      register(node, metadata);\n      return () => {\n        unregister(node);\n      };\n    }\n    return undefined;\n  }, [register, unregister, metadata]);\n  useIsoLayoutEffect(() => {\n    return subscribeMapChange(map => {\n      const i = componentRef.current ? map.get(componentRef.current)?.index : null;\n      if (i != null) {\n        setIndex(i);\n      }\n    });\n  }, [subscribeMapChange, setIndex]);\n  return React.useMemo(() => ({\n    ref,\n    index\n  }), [index, ref]);\n}","export let MenuCheckboxItemDataAttributes = /*#__PURE__*/function (MenuCheckboxItemDataAttributes) {\n  /**\n   * Present when the menu checkbox item is checked.\n   */\n  MenuCheckboxItemDataAttributes[\"checked\"] = \"data-checked\";\n  /**\n   * Present when the menu checkbox item is not checked.\n   */\n  MenuCheckboxItemDataAttributes[\"unchecked\"] = \"data-unchecked\";\n  /**\n   * Present when the menu checkbox item is disabled.\n   */\n  MenuCheckboxItemDataAttributes[\"disabled\"] = \"data-disabled\";\n  /**\n   * Present when the menu checkbox item is highlighted.\n   */\n  MenuCheckboxItemDataAttributes[\"highlighted\"] = \"data-highlighted\";\n  return MenuCheckboxItemDataAttributes;\n}({});","\n      import API from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n      import setAttributes from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./global.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./global.css\";\n       export default content && content.locals ? content.locals : undefined;\n","\n      import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n      import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./style.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./style.css\";\n       export default content && content.locals ? content.locals : undefined;\n","import { css } from '../utils/css'\nimport { useInsertionEffect } from 'react'\n\nexport const FontStyles = () => {\n  useInsertionEffect(() => {\n    const style = document.createElement('style')\n    style.textContent = css`\n      /* latin-ext */\n      @font-face {\n        font-family: '__nextjs-Geist';\n        font-style: normal;\n        font-weight: 400 600;\n        font-display: swap;\n        src: url(/__nextjs_font/geist-latin-ext.woff2) format('woff2');\n        unicode-range:\n          U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,\n          U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,\n          U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n      }\n      /* latin-ext */\n      @font-face {\n        font-family: '__nextjs-Geist Mono';\n        font-style: normal;\n        font-weight: 400 600;\n        font-display: swap;\n        src: url(/__nextjs_font/geist-mono-latin-ext.woff2) format('woff2');\n        unicode-range:\n          U+0100-02BA, U+02BD-02C5, U+02C7-02CC, U+02CE-02D7, U+02DD-02FF,\n          U+0304, U+0308, U+0329, U+1D00-1DBF, U+1E00-1E9F, U+1EF2-1EFF, U+2020,\n          U+20A0-20AB, U+20AD-20C0, U+2113, U+2C60-2C7F, U+A720-A7FF;\n      }\n      /* latin */\n      @font-face {\n        font-family: '__nextjs-Geist';\n        font-style: normal;\n        font-weight: 400 600;\n        font-display: swap;\n        src: url(/__nextjs_font/geist-latin.woff2) format('woff2');\n        unicode-range:\n          U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,\n          U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,\n          U+2212, U+2215, U+FEFF, U+FFFD;\n      }\n      /* latin */\n      @font-face {\n        font-family: '__nextjs-Geist Mono';\n        font-style: normal;\n        font-weight: 400 600;\n        font-display: swap;\n        src: url(/__nextjs_font/geist-mono-latin.woff2) format('woff2');\n        unicode-range:\n          U+0000-00FF, U+0131, U+0152-0153, U+02BB-02BC, U+02C6, U+02DA, U+02DC,\n          U+0304, U+0308, U+0329, U+2000-206F, U+20AC, U+2122, U+2191, U+2193,\n          U+2212, U+2215, U+FEFF, U+FFFD;\n      }\n    `\n    document.head.appendChild(style)\n\n    return () => {\n      document.head.removeChild(style)\n    }\n  }, [])\n\n  return null\n}\n","import { createPortal } from 'react-dom'\nimport { useDevOverlayContext } from '../../dev-overlay.browser'\n\nexport function ShadowPortal({ children }: { children: React.ReactNode }) {\n  const { shadowRoot } = useDevOverlayContext()\n\n  return createPortal(children, shadowRoot)\n}\n","import { css } from '../../utils/css'\n\nconst styles = css`\n  [data-nextjs-dialog-overlay] {\n    position: fixed;\n    top: 0;\n    right: 0;\n    bottom: 0;\n    left: 0;\n    /* secondary z-index, -1 than toast z-index */\n    z-index: 2147483646;\n\n    display: flex;\n    align-content: center;\n    align-items: center;\n    flex-direction: column;\n    padding: 10vh 15px 0;\n    /* color schemes we handle. Every other scheme the UA would need to overwrite */\n    color-scheme: dark light;\n  }\n\n  @media (max-height: 812px) {\n    [data-nextjs-dialog-overlay] {\n      padding: 15px 15px 0;\n    }\n  }\n\n  [data-nextjs-dialog-backdrop] {\n    position: fixed;\n    top: 0;\n    right: 0;\n    bottom: 0;\n    left: 0;\n    background-color: var(--color-backdrop);\n    backdrop-filter: blur(10px);\n    pointer-events: all;\n    z-index: -1;\n  }\n\n  [data-nextjs-dialog-backdrop-fixed] {\n    cursor: not-allowed;\n    -webkit-backdrop-filter: blur(8px);\n    backdrop-filter: blur(8px);\n  }\n`\n\nexport { styles }\n","import { useOpenInEditor } from '../../utils/use-open-in-editor'\n\ntype EditorLinkProps = {\n  file: string\n  isSourceFile: boolean\n  location?: {\n    line: number\n    column: number\n  }\n}\nexport function EditorLink({ file, location }: EditorLinkProps) {\n  const open = useOpenInEditor({\n    file,\n    line1: location?.line ?? 1,\n    column1: location?.column ?? 1,\n  })\n\n  return (\n    <div\n      data-with-open-in-editor-link\n      data-with-open-in-editor-link-import-trace\n      role={'link'}\n      onClick={open}\n      title={'Click to open in your editor'}\n    >\n      {file}\n      {location ? `:${location.line}:${location.column}` : null}\n      <svg\n        xmlns=\"http://www.w3.org/2000/svg\"\n        viewBox=\"0 0 24 24\"\n        fill=\"none\"\n        stroke=\"currentColor\"\n        strokeWidth=\"2\"\n        strokeLinecap=\"round\"\n        strokeLinejoin=\"round\"\n      >\n        <path d=\"M18 13v6a2 2 0 0 1-2 2H5a2 2 0 0 1-2-2V8a2 2 0 0 1 2-2h6\"></path>\n        <polyline points=\"15 3 21 3 21 9\"></polyline>\n        <line x1=\"10\" y1=\"14\" x2=\"21\" y2=\"3\"></line>\n      </svg>\n    </div>\n  )\n}\n\nexport const EDITOR_LINK_STYLES = `\n  [data-with-open-in-editor-link] svg {\n    width: auto;\n    height: var(--size-14);\n    margin-left: 8px;\n  }\n  [data-with-open-in-editor-link] {\n    cursor: pointer;\n  }\n  [data-with-open-in-editor-link]:hover {\n    text-decoration: underline dotted;\n  }\n  [data-with-open-in-editor-link-import-trace] {\n    margin-left: 16px;\n  }\n`\n","import Anser from 'next/dist/compiled/anser'\nimport * as React from 'react'\nimport { HotlinkedText } from '../hot-linked-text'\nimport { EditorLink } from './editor-link'\nimport { ExternalIcon } from '../../icons/external'\nimport { getStackFrameFile, type StackFrame } from '../../../shared/stack-frame'\nimport { useOpenInEditor } from '../../utils/use-open-in-editor'\nimport { FileIcon } from '../../icons/file'\n\ntype TerminalProps = { content: string }\n\nfunction getFile(lines: string[]) {\n  const contentFileName = lines.shift()\n  if (!contentFileName) return null\n  const [fileName, line, column] = contentFileName.split(':', 3)\n\n  const parsedLine = Number(line)\n  const parsedColumn = Number(column)\n  const hasLocation = !Number.isNaN(parsedLine) && !Number.isNaN(parsedColumn)\n\n  return {\n    fileName: hasLocation ? fileName : contentFileName,\n    location: hasLocation\n      ? {\n          line1: parsedLine,\n          column1: parsedColumn,\n        }\n      : undefined,\n  }\n}\n\nfunction getImportTraceFiles(lines: string[]) {\n  if (\n    lines.some((line) => /ReactServerComponentsError:/.test(line)) ||\n    lines.some((line) => /Import trace for requested module:/.test(line))\n  ) {\n    // Grab the lines at the end containing the files\n    const files = []\n    while (\n      /.+\\..+/.test(lines[lines.length - 1]) &&\n      !lines[lines.length - 1].includes(':')\n    ) {\n      const file = lines.pop()!.trim()\n      files.unshift(file)\n    }\n\n    return files\n  }\n\n  return []\n}\n\nfunction getEditorLinks(content: string) {\n  const lines = content.split('\\n')\n  const file = getFile(lines)\n  const importTraceFiles = getImportTraceFiles(lines)\n\n  return { file, source: lines.join('\\n'), importTraceFiles }\n}\n\nexport const Terminal: React.FC<TerminalProps> = function Terminal({\n  content,\n}) {\n  const { file, source, importTraceFiles } = React.useMemo(\n    () => getEditorLinks(content),\n    [content]\n  )\n\n  const decoded = React.useMemo(() => {\n    return Anser.ansiToJson(source, {\n      json: true,\n      use_classes: true,\n      remove_empty: true,\n    })\n  }, [source])\n\n  const open = useOpenInEditor({\n    file: file?.fileName,\n    line1: file?.location?.line1 ?? 1,\n    column1: file?.location?.column1 ?? 1,\n  })\n\n  const stackFrame: StackFrame = {\n    file: file?.fileName ?? null,\n    methodName: '',\n    arguments: [],\n    line1: file?.location?.line1 ?? null,\n    column1: file?.location?.column1 ?? null,\n  }\n\n  const fileExtension = stackFrame?.file?.split('.').pop()\n\n  return (\n    <div data-nextjs-codeframe>\n      <div className=\"code-frame-header\">\n        <div className=\"code-frame-link\">\n          <span className=\"code-frame-icon\">\n            <FileIcon lang={fileExtension} />\n          </span>\n          <span data-text>\n            {/* TODO: Unlike the CodeFrame component, the `methodName` is unavailable. */}\n            {getStackFrameFile(stackFrame)}\n          </span>\n          <button\n            aria-label=\"Open in editor\"\n            data-with-open-in-editor-link-source-file\n            onClick={open}\n          >\n            <span className=\"code-frame-icon\" data-icon=\"right\">\n              <ExternalIcon width={16} height={16} />\n            </span>\n          </button>\n        </div>\n      </div>\n      <pre className=\"code-frame-pre\">\n        <div className=\"code-frame-lines\">\n          {decoded.map((entry, index) => (\n            <span\n              key={`terminal-entry-${index}`}\n              style={{\n                color: entry.fg ? `var(--color-${entry.fg})` : undefined,\n                ...(entry.decoration === 'bold'\n                  ? // TODO(jiwon): This used to be 800, but the symbols like `─┬─` are\n                    // having longer width than expected on Geist Mono font-weight\n                    // above 600, hence a temporary fix is to use 500 for bold.\n                    { fontWeight: 500 }\n                  : entry.decoration === 'italic'\n                    ? { fontStyle: 'italic' }\n                    : undefined),\n              }}\n            >\n              <HotlinkedText text={entry.content} />\n            </span>\n          ))}\n          {importTraceFiles.map((importTraceFile) => (\n            <EditorLink\n              isSourceFile={false}\n              key={importTraceFile}\n              file={importTraceFile}\n            />\n          ))}\n        </div>\n      </pre>\n    </div>\n  )\n}\n\nexport const TERMINAL_STYLES = `\n  [data-nextjs-terminal]::selection,\n  [data-nextjs-terminal] *::selection {\n    background-color: var(--color-ansi-selection);\n  }\n\n  [data-nextjs-terminal] * {\n    color: inherit;\n    background-color: transparent;\n    font-family: var(--font-stack-monospace);\n  }\n\n  [data-nextjs-terminal] > div > p {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    cursor: pointer;\n    margin: 0;\n  }\n  [data-nextjs-terminal] > div > p:hover {\n    text-decoration: underline dotted;\n  }\n  [data-nextjs-terminal] div > pre {\n    overflow: hidden;\n    display: inline-block;\n  }\n`\n","import React, { useCallback, useMemo } from 'react'\nimport stripAnsi from 'next/dist/compiled/strip-ansi'\nimport { Terminal } from '../components/terminal'\nimport { ErrorOverlayLayout } from '../components/errors/error-overlay-layout/error-overlay-layout'\nimport type { ErrorBaseProps } from '../components/errors/error-overlay/error-overlay'\n\ninterface BuildErrorProps extends ErrorBaseProps {\n  message: string\n}\n\nconst getErrorTextFromBuildErrorMessage = (multiLineMessage: string) => {\n  const lines = multiLineMessage.split('\\n')\n  // The multi-line build error message looks like:\n  // <file path>:<line number>:<column number>\n  // <error message>\n  // <error code frame of compiler or bundler>\n  // e.g.\n  // ./path/to/file.js:1:1\n  // SyntaxError: ...\n  // > 1 | con st foo =\n  // ...\n  return (\n    stripAnsi(lines[1] || '')\n      // label will already say that it's an error\n      .replace(/^Error: /, '')\n  )\n}\n\nexport const BuildError: React.FC<BuildErrorProps> = function BuildError({\n  message,\n  ...props\n}) {\n  const noop = useCallback(() => {}, [])\n  const error = new Error(message)\n  const formattedMessage = useMemo(\n    () => getErrorTextFromBuildErrorMessage(message) || 'Failed to compile',\n    [message]\n  )\n\n  const generateErrorInfo = useCallback(async () => {\n    const parts: string[] = []\n\n    // 1. Error Type\n    parts.push(`## Error Type\\nBuild Error`)\n\n    // 2. Error Message\n    if (formattedMessage) {\n      parts.push(`## Error Message\\n${formattedMessage}`)\n    }\n\n    // 3. Build Output (decoded stderr)\n    if (message) {\n      const decodedOutput = stripAnsi(message)\n      parts.push(`## Build Output\\n${decodedOutput}`)\n    }\n\n    // Format as AI prompt\n    const errorInfo = `${parts.join('\\n\\n')}\n\nNext.js version: ${props.versionInfo.installed} (${process.env.__NEXT_BUNDLER})\\n`\n\n    return errorInfo\n  }, [message, formattedMessage, props.versionInfo])\n\n  return (\n    <ErrorOverlayLayout\n      errorType=\"Build Error\"\n      errorMessage={formattedMessage}\n      onClose={noop}\n      error={error}\n      generateErrorInfo={generateErrorInfo}\n      {...props}\n    >\n      <Terminal content={message} />\n    </ErrorOverlayLayout>\n  )\n}\n\nexport const styles = ``\n","export default function EyeIcon() {\n  return (\n    <svg xmlns=\"http://www.w3.org/2000/svg\" width=\"16\" height=\"16\" fill=\"none\">\n      <path\n        fill=\"currentColor\"\n        fillRule=\"evenodd\"\n        d=\"m.191 2.063.56.498 13.5 12 .561.498.997-1.121-.56-.498-1.81-1.608 2.88-3.342v-.98l-3.204-3.72C10.645.923 6.365.686 3.594 3.08L1.748 1.44 1.188.94.19 2.063ZM14.761 8l-2.442 2.836-1.65-1.466a3.001 3.001 0 0 0-4.342-3.86l-1.6-1.422a5.253 5.253 0 0 1 7.251.682L14.76 8ZM7.526 6.576l1.942 1.727a1.499 1.499 0 0 0-1.942-1.727Zm-7.845.935 1.722-2 1.137.979L1.24 8l2.782 3.23A5.25 5.25 0 0 0 9.9 12.703l.54 1.4a6.751 6.751 0 0 1-7.555-1.892L-.318 8.49v-.98Z\"\n        clipRule=\"evenodd\"\n      />\n    </svg>\n  )\n}\n","export default function LightIcon() {\n  return (\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width=\"20\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n    >\n      <g clipPath=\"url(#light_icon_clip_path)\">\n        <path\n          fill=\"currentColor\"\n          fillRule=\"evenodd\"\n          d=\"M8.75.75V0h-1.5v2h1.5V.75ZM3.26 4.32l-.53-.53-.354-.353-.53-.53 1.06-1.061.53.53.354.354.53.53-1.06 1.06Zm8.42-1.06.53-.53.353-.354.53-.53 1.061 1.06-.53.53-.354.354-.53.53-1.06-1.06ZM8 11.25a3.25 3.25 0 1 0 0-6.5 3.25 3.25 0 0 0 0 6.5Zm0 1.5a4.75 4.75 0 1 0 0-9.5 4.75 4.75 0 0 0 0 9.5Zm6-5.5h2v1.5h-2v-1.5Zm-13.25 0H0v1.5h2v-1.5H.75Zm1.62 5.32-.53.53 1.06 1.06.53-.53.354-.353.53-.53-1.06-1.061-.53.53-.354.354Zm10.2 1.06.53.53 1.06-1.06-.53-.53-.354-.354-.53-.53-1.06 1.06.53.53.353.354ZM8.75 14v2h-1.5v-2h1.5Z\"\n          clipRule=\"evenodd\"\n        />\n      </g>\n      <defs>\n        <clipPath id=\"light_icon_clip_path\">\n          <path fill=\"currentColor\" d=\"M0 0h16v16H0z\" />\n        </clipPath>\n      </defs>\n    </svg>\n  )\n}\n","export default function DarkIcon() {\n  return (\n    <svg\n      data-testid=\"geist-icon\"\n      height=\"16\"\n      strokeLinejoin=\"round\"\n      viewBox=\"0 0 16 16\"\n      width=\"16\"\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M1.5 8.00005C1.5 5.53089 2.99198 3.40932 5.12349 2.48889C4.88136 3.19858 4.75 3.95936 4.75 4.7501C4.75 8.61609 7.88401 11.7501 11.75 11.7501C11.8995 11.7501 12.048 11.7454 12.1953 11.7361C11.0955 13.1164 9.40047 14.0001 7.5 14.0001C4.18629 14.0001 1.5 11.3138 1.5 8.00005ZM6.41706 0.577759C2.78784 1.1031 0 4.22536 0 8.00005C0 12.1422 3.35786 15.5001 7.5 15.5001C10.5798 15.5001 13.2244 13.6438 14.3792 10.9921L13.4588 9.9797C12.9218 10.155 12.3478 10.2501 11.75 10.2501C8.71243 10.2501 6.25 7.78767 6.25 4.7501C6.25 3.63431 6.58146 2.59823 7.15111 1.73217L6.41706 0.577759ZM13.25 1V1.75V2.75L14.25 2.75H15V4.25H14.25H13.25V5.25V6H11.75V5.25V4.25H10.75L10 4.25V2.75H10.75L11.75 2.75V1.75V1H13.25Z\"\n        fill=\"currentColor\"\n      ></path>\n    </svg>\n  )\n}\n","export default function SystemIcon() {\n  return (\n    <svg width=\"16\" height=\"16\" strokeLinejoin=\"round\">\n      <path\n        fill=\"currentColor\"\n        fillRule=\"evenodd\"\n        d=\"M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8.5a1 1 0 0 1-1 1H8.75v3h1.75V16h-5v-1.5h1.75v-3H1a1 1 0 0 1-1-1V2Zm1.5.5V10h13V2.5h-13Z\"\n        clipRule=\"evenodd\"\n      />\n    </svg>\n  )\n}\n","import type { JSX } from 'react'\nimport { useState, useRef } from 'react'\nimport { css } from '../../../../utils/css'\n\nconst SUCCESS_SHOW_DELAY_MS = 180\nconst SUCCESS_FADE_DELAY_MS = 1000\n\nconst modifierKeys = ['Meta', 'Control', 'Ctrl', 'Alt', 'Option', 'Shift']\n\nexport function ShortcutRecorder({\n  value,\n  onChange,\n}: {\n  value: string[] | null\n  onChange: (value: string | null) => void\n}) {\n  const [pristine, setPristine] = useState(true)\n  const [show, setShow] = useState(false)\n  const [keys, setKeys] = useState<string[]>(value ?? [])\n  const [success, setSuccess] = useState<boolean>(false)\n  const timeoutRef = useRef<number | null>(null)\n  const buttonRef = useRef<HTMLButtonElement>(null)\n  const hasShortcut = Boolean(value) || keys.length > 0\n\n  function handleKeyDown(e: React.KeyboardEvent<HTMLButtonElement>) {\n    // Don't handle events from the Clear button\n    if (e.target !== buttonRef.current) return\n    if (e.key === 'Tab') return\n    if (timeoutRef.current) clearTimeout(timeoutRef.current)\n\n    if (!show) {\n      setShow(true)\n    }\n\n    // Reset current shortcut on first key press\n    // if this is a fresh recording session\n    if (pristine) {\n      setKeys([])\n      setPristine(false)\n    }\n\n    function handleValidation(next: string[]) {\n      timeoutRef.current = window.setTimeout(() => {\n        setSuccess(true)\n        onChange(next.join('+'))\n        timeoutRef.current = window.setTimeout(() => {\n          setShow(false)\n        }, SUCCESS_FADE_DELAY_MS)\n      }, SUCCESS_SHOW_DELAY_MS)\n    }\n\n    e.preventDefault()\n    e.stopPropagation()\n\n    setKeys((prev) => {\n      // Don't add duplicate keys\n      if (prev.includes(e.code) || prev.includes(e.key)) return prev\n\n      /**\n       * Why are we using `e.code` for non-modifier keys?\n       *\n       * Consider this keybind: Alt + L\n       *\n       * If we capture `e.key` here then it will correspond to an awkward symbol (¬)\n       * because pressing Alt + L creates this symbol.\n       *\n       * While `e.code` will give us `KeyL` as the value which we also later use in\n       * `useShortcuts()` to match the keybind correctly without relying on modifier symbols.\n       */\n      // Handle non-modifier keys (action keys)\n      if (!modifierKeys.includes(e.key)) {\n        // Replace existing non-modifier key if present\n        const existingNonModifierIndex = prev.findIndex(\n          (key) => !modifierKeys.includes(key)\n        )\n        if (existingNonModifierIndex !== -1) {\n          const next = [...prev]\n          next[existingNonModifierIndex] = e.code\n          handleValidation(next)\n          return next\n        }\n        // Add new non-modifier key at the end\n        const next = [...prev, e.code]\n        handleValidation(next)\n        return next\n      }\n\n      // Handle modifier keys\n      const next = [...prev]\n\n      // Find the correct position for the modifier key based on predefined order\n      const keyOrderIndex = modifierKeys.indexOf(e.key)\n      let insertIndex = 0\n\n      // Find where to insert by checking existing modifier keys\n      for (let i = 0; i < next.length; i++) {\n        if (modifierKeys.includes(next[i])) {\n          const existingOrderIndex = modifierKeys.indexOf(next[i])\n          if (keyOrderIndex < existingOrderIndex) {\n            insertIndex = i\n            break\n          }\n          insertIndex = i + 1\n        } else {\n          // Stop at first non-modifier key\n          break\n        }\n      }\n\n      next.splice(insertIndex, 0, e.key)\n      handleValidation(next)\n      return next\n    })\n  }\n\n  function clear() {\n    buttonRef.current?.focus()\n    setKeys([])\n    setSuccess(false)\n    setTimeout(() => {\n      setShow(true)\n    })\n    onChange(null)\n  }\n\n  function onBlur() {\n    setSuccess(false)\n    setShow(false)\n    setPristine(true)\n  }\n\n  function onStart() {\n    // Clear out timeouts for hiding the tooltip after success\n    if (timeoutRef.current) clearTimeout(timeoutRef.current)\n    setShow(true)\n    buttonRef.current?.focus()\n  }\n\n  return (\n    <div className=\"shortcut-recorder\">\n      <button\n        className=\"shortcut-recorder-button\"\n        ref={buttonRef}\n        onClick={onStart}\n        onFocus={onStart}\n        onBlur={onBlur}\n        onKeyDown={handleKeyDown}\n        data-has-shortcut={hasShortcut}\n        data-shortcut-recorder=\"true\"\n      >\n        {!hasShortcut ? (\n          'Record Shortcut'\n        ) : (\n          <div className=\"shortcut-recorder-keys\">\n            {keys.map((key) => (\n              <Kbd key={key}>{key}</Kbd>\n            ))}\n          </div>\n        )}\n        {hasShortcut && (\n          <div\n            className=\"shortcut-recorder-clear-button\"\n            role=\"button\"\n            onClick={clear}\n            onFocus={(e) => e.stopPropagation()}\n            onKeyDown={(e) => {\n              if (e.key === 'Enter' || e.key === ' ') {\n                clear()\n                e.stopPropagation()\n              }\n            }}\n            aria-label=\"Clear shortcut\"\n            tabIndex={0}\n          >\n            <IconCross />\n          </div>\n        )}\n      </button>\n      <div className=\"shortcut-recorder-tooltip\" data-show={show}>\n        <div className=\"shortcut-recorder-status\">\n          <div\n            className=\"shortcut-recorder-status-icon\"\n            data-success={success}\n          />\n          {success ? 'Shortcut set' : 'Recording'}\n        </div>\n        <BottomArrow />\n      </div>\n    </div>\n  )\n}\n\nfunction BottomArrow() {\n  return (\n    <svg\n      fill=\"none\"\n      height=\"6\"\n      viewBox=\"0 0 14 6\"\n      width=\"14\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        d=\"M13.8284 0H0.17157C0.702003 0 1.21071 0.210714 1.58578 0.585787L5.58578 4.58579C6.36683 5.36684 7.63316 5.36683 8.41421 4.58579L12.4142 0.585786C12.7893 0.210714 13.298 0 13.8284 0Z\"\n        fill=\"var(--background)\"\n      />\n    </svg>\n  )\n}\n\nfunction Kbd({ children }: { children: string }) {\n  function renderKey(key: string) {\n    switch (key) {\n      case 'Meta':\n        // Command symbol (⌘) on macOS\n        // On non-macOS, shows \"Ctrl\"\n        return <MetaKey />\n      case 'Alt':\n      case 'Option':\n        // Option symbol (⌥)\n        return '⌥'\n      case 'Control':\n      case 'Ctrl':\n        // Control abbreviation\n        return 'Ctrl'\n      case 'Shift':\n        // Shift symbol (⇧)\n        return '⇧'\n      case 'Enter':\n        // Enter symbol (⏎)\n        return '⏎'\n      case 'Escape':\n      case 'Esc':\n        return 'Esc'\n      case ' ':\n      case 'Space':\n      case 'Spacebar':\n        return 'Space'\n      case 'ArrowUp':\n        return '↑'\n      case 'ArrowDown':\n        return '↓'\n      case 'ArrowLeft':\n        return '←'\n      case 'ArrowRight':\n        return '→'\n      case 'Tab':\n        return 'Tab'\n      case 'Backspace':\n        return '⌫'\n      case 'Delete':\n        return '⌦'\n      default:\n        // Capitalize single letters, otherwise show as-is\n        if (children.length === 1) {\n          return children.toUpperCase()\n        }\n        return children\n    }\n  }\n  const key = renderKey(children)\n  const isSymbol = typeof key === 'string' ? key.length === 1 : false\n  return <kbd data-symbol={isSymbol}>{parseKeyCode(key)}</kbd>\n}\n\nfunction parseKeyCode(code: string | JSX.Element) {\n  if (typeof code !== 'string') return code\n\n  // Map common KeyboardEvent.code values to their corresponding key values\n  const codeToKeyMap: Record<string, string> = {\n    Minus: '-',\n    Equal: '=',\n    BracketLeft: '[',\n    BracketRight: ']',\n    Backslash: '\\\\',\n    Semicolon: ';',\n    Quote: \"'\",\n    Comma: ',',\n    Period: '.',\n    Backquote: '`',\n    Space: ' ',\n    Slash: '/',\n    IntlBackslash: '\\\\',\n    // Add more as needed\n  }\n\n  if (codeToKeyMap[code]) {\n    return codeToKeyMap[code]\n  }\n\n  // Handle KeyA-Z, Digit0-9, Numpad0-9, NumpadAdd, etc.\n  if (/^Key([A-Z])$/.test(code)) {\n    return code.replace(/^Key/, '')\n  }\n  if (/^Digit([0-9])$/.test(code)) {\n    return code.replace(/^Digit/, '')\n  }\n  if (/^Numpad([0-9])$/.test(code)) {\n    return code.replace(/^Numpad/, '')\n  }\n  if (code === 'NumpadAdd') return '+'\n  if (code === 'NumpadSubtract') return '-'\n  if (code === 'NumpadMultiply') return '*'\n  if (code === 'NumpadDivide') return '/'\n  if (code === 'NumpadDecimal') return '.'\n  if (code === 'NumpadEnter') return 'Enter'\n\n  return code\n}\n\nfunction MetaKey() {\n  const label = isApple()\n    ? // Meta is Command on Apple devices, otherwise Control\n      '⌘'\n    : // Explicitly say \"Ctrl\" instead of the symbol \"⌃\"\n      // because most Windows/Linux laptops do not print the symbol\n      // Other keyboard-intensive apps like Linear do this\n      'Ctrl'\n\n  return (\n    <span style={{ minWidth: '1em', display: 'inline-block' }}>{label}</span>\n  )\n}\n\nfunction IconCross() {\n  return (\n    <svg height=\"16\" strokeLinejoin=\"round\" viewBox=\"0 0 16 16\" width=\"16\">\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M12.4697 13.5303L13 14.0607L14.0607 13L13.5303 12.4697L9.06065 7.99999L13.5303 3.53032L14.0607 2.99999L13 1.93933L12.4697 2.46966L7.99999 6.93933L3.53032 2.46966L2.99999 1.93933L1.93933 2.99999L2.46966 3.53032L6.93933 7.99999L2.46966 12.4697L1.93933 13L2.99999 14.0607L3.53032 13.5303L7.99999 9.06065L12.4697 13.5303Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n\nexport const SHORTCUT_RECORDER_STYLES = css`\n  .shortcut-recorder {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    gap: 8px;\n    position: relative;\n    font-family: var(--font-stack-sans);\n\n    .shortcut-recorder-button {\n      display: flex;\n      align-items: center;\n      gap: 4px;\n      background: transparent;\n      border: 1px dashed var(--color-gray-500);\n      border-radius: var(--rounded-lg);\n      padding: 6px 8px;\n      font-weight: 400;\n      font-size: var(--size-14);\n      color: var(--color-gray-1000);\n      transition: border-color 150ms var(--timing-swift);\n\n      &[data-has-shortcut='true'] {\n        border: 1px solid var(--color-gray-alpha-400);\n\n        &:hover {\n          border-color: var(--color-gray-500);\n        }\n      }\n\n      &:hover {\n        border-color: var(--color-gray-600);\n      }\n\n      &::placeholder {\n        color: var(--color-gray-900);\n      }\n\n      &[data-pristine='false']::placeholder {\n        color: transparent;\n      }\n\n      &:focus-visible {\n        outline: var(--focus-ring);\n        outline-offset: -1px;\n      }\n    }\n\n    kbd {\n      display: inline-flex;\n      align-items: center;\n      justify-content: center;\n      font-family: var(--font-stack-sans);\n      background: var(--color-gray-200);\n      min-width: 20px;\n      height: 20px;\n      font-size: 14px;\n      border-radius: 4px;\n      color: var(--color-gray-1000);\n\n      &[data-symbol='false'] {\n        padding: 0 4px;\n      }\n    }\n\n    .shortcut-recorder-clear-button {\n      cursor: pointer;\n      color: var(--color-gray-1000);\n      width: 20px;\n      height: 20px;\n      display: flex;\n      align-items: center;\n      justify-content: center;\n      border-radius: 4px;\n      transition: background 150ms var(--timing-swift);\n\n      &:hover {\n        background: var(--color-gray-300);\n      }\n\n      &:focus-visible {\n        outline: var(--focus-ring);\n      }\n\n      svg {\n        width: 14px;\n        height: 14px;\n      }\n    }\n  }\n\n  .shortcut-recorder-keys {\n    pointer-events: none;\n    user-select: none;\n    display: flex;\n    align-items: center;\n    gap: 2px;\n  }\n\n  .shortcut-recorder-tooltip {\n    --gap: 8px;\n    --background: var(--color-gray-1000);\n    background: var(--background);\n    color: var(--color-background-100);\n    font-size: var(--size-14);\n    padding: 4px 8px;\n    border-radius: 8px;\n    position: absolute;\n    bottom: calc(100% + var(--gap));\n    text-align: center;\n    opacity: 0;\n    scale: 0.96;\n    white-space: nowrap;\n    user-select: none;\n    transition:\n      opacity 150ms var(--timing-swift),\n      scale 150ms var(--timing-swift);\n\n    &[data-show='true'] {\n      opacity: 1;\n      scale: 1;\n    }\n\n    svg {\n      position: absolute;\n      transform: translateX(-50%);\n      bottom: -6px;\n      left: 50%;\n    }\n\n    .shortcut-recorder-status {\n      display: flex;\n      align-items: center;\n      gap: 6px;\n    }\n\n    .shortcut-recorder-status-icon {\n      width: 7px;\n      height: 7px;\n      border-radius: 50%;\n      flex-shrink: 0;\n      background: var(--color-red-700);\n\n      &[data-success='true'] {\n        background: var(--color-green-700);\n      }\n    }\n  }\n`\n\n///////////////////////////////////////////////////////////////////////////////////////////////////\n\nfunction testPlatform(re: RegExp): boolean | undefined {\n  return window.navigator != null\n    ? re.test(window.navigator.platform)\n    : undefined\n}\n\nfunction isMac(): boolean | undefined {\n  return testPlatform(/^Mac/)\n}\n\nfunction isIPhone(): boolean | undefined {\n  return testPlatform(/^iPhone/)\n}\n\nfunction isIPad(): boolean | undefined {\n  return (\n    testPlatform(/^iPad/) ||\n    // iPadOS 13 lies and says it's a Mac, but we can distinguish by detecting touch support.\n    (isMac() && navigator.maxTouchPoints > 1)\n  )\n}\n\nfunction isApple(): boolean | undefined {\n  return isMac() || isIPhone() || isIPad()\n}\n","import type { DevToolsConfig } from '../dev-overlay/shared'\nimport { z } from 'next/dist/compiled/zod'\n\nexport const devToolsConfigSchema: z.ZodType<DevToolsConfig> = z.object({\n  theme: z.enum(['light', 'dark', 'system']).optional(),\n  disableDevIndicator: z.boolean().optional(),\n  devToolsPosition: z\n    .enum(['top-left', 'top-right', 'bottom-left', 'bottom-right'])\n    .optional(),\n  devToolsPanelPosition: z\n    .record(\n      z.string(),\n      z.enum(['top-left', 'top-right', 'bottom-left', 'bottom-right'])\n    )\n    .optional(),\n  devToolsPanelSize: z\n    .record(z.string(), z.object({ width: z.number(), height: z.number() }))\n    .optional(),\n  scale: z.number().optional(),\n  hideShortcut: z.string().nullable().optional(),\n  requestInsights: z\n    .object({\n      showInternal: z.boolean().optional(),\n      verbose: z.boolean().optional(),\n    })\n    .optional(),\n})\n","import type { DevToolsConfig } from '../shared'\nimport { devToolsConfigSchema } from '../../shared/devtools-config-schema'\nimport { deepMerge } from '../../shared/deepmerge'\n\nlet queuedConfigPatch: DevToolsConfig = {}\nlet timer: ReturnType<typeof setTimeout> | null = null\n\nfunction flushPatch() {\n  if (Object.keys(queuedConfigPatch).length === 0) {\n    return\n  }\n\n  const body = JSON.stringify(queuedConfigPatch)\n  queuedConfigPatch = {}\n\n  fetch('/__nextjs_devtools_config', {\n    method: 'POST',\n    headers: { 'Content-Type': 'application/json' },\n    body,\n    // keepalive in case of fetch interrupted, e.g. navigation or reload\n    keepalive: true,\n  }).catch((error) => {\n    console.warn('[Next.js DevTools] Failed to save config:', {\n      data: body,\n      error,\n    })\n  })\n}\n\nexport function saveDevToolsConfig(patch: DevToolsConfig) {\n  const validation = devToolsConfigSchema.safeParse(patch)\n  if (!validation.success) {\n    console.warn(\n      '[Next.js DevTools] Invalid config patch:',\n      validation.error.message\n    )\n    return\n  }\n\n  queuedConfigPatch = deepMerge(queuedConfigPatch, patch)\n\n  if (timer) {\n    clearTimeout(timer)\n  }\n\n  timer = setTimeout(flushPatch, 120)\n}\n","export function deepMerge(target: any, source: any): any {\n  if (!source || typeof source !== 'object' || Array.isArray(source)) {\n    return source\n  }\n\n  if (!target || typeof target !== 'object' || Array.isArray(target)) {\n    return source\n  }\n\n  const result = { ...target }\n\n  for (const key in source) {\n    const sourceValue = source[key]\n    const targetValue = target[key]\n\n    if (sourceValue !== undefined) {\n      if (\n        sourceValue &&\n        typeof sourceValue === 'object' &&\n        !Array.isArray(sourceValue) &&\n        targetValue &&\n        typeof targetValue === 'object' &&\n        !Array.isArray(targetValue)\n      ) {\n        result[key] = deepMerge(targetValue, sourceValue)\n      } else {\n        result[key] = sourceValue\n      }\n    }\n  }\n\n  return result\n}\n","import type {\n  DevToolsIndicatorPosition,\n  DevToolsScale,\n} from '../../../../shared'\n\nimport { useDevOverlayContext } from '../../../../../dev-overlay.browser'\nimport { css } from '../../../../utils/css'\nimport EyeIcon from '../../../../icons/eye-icon'\nimport { NEXT_DEV_TOOLS_SCALE } from '../../../../shared'\nimport LightIcon from '../../../../icons/light-icon'\nimport DarkIcon from '../../../../icons/dark-icon'\nimport SystemIcon from '../../../../icons/system-icon'\nimport { ShortcutRecorder } from './shortcut-recorder'\nimport { useRestartServer } from '../../error-overlay-toolbar/use-restart-server'\nimport { saveDevToolsConfig } from '../../../../utils/save-devtools-config'\n\nexport function UserPreferencesBody({\n  theme,\n  hide,\n  hideShortcut,\n  setHideShortcut,\n  scale,\n  setPosition,\n  setScale,\n  position,\n}: {\n  theme: 'dark' | 'light' | 'system'\n  hide: () => void\n  hideShortcut: string | null\n  setHideShortcut: (value: string | null) => void\n  setPosition: (position: DevToolsIndicatorPosition) => void\n  position: DevToolsIndicatorPosition\n  scale: DevToolsScale\n  setScale: (value: DevToolsScale) => void\n}) {\n  const { restartServer, isPending } = useRestartServer()\n  const { shadowRoot } = useDevOverlayContext()\n\n  const handleThemeChange = (e: React.ChangeEvent<HTMLSelectElement>) => {\n    const portal = shadowRoot.host\n    if (e.target.value === 'system') {\n      portal.classList.remove('dark')\n      portal.classList.remove('light')\n      saveDevToolsConfig({ theme: 'system' })\n      return\n    }\n\n    if (e.target.value === 'dark') {\n      portal.classList.add('dark')\n      portal.classList.remove('light')\n      saveDevToolsConfig({ theme: 'dark' })\n    } else {\n      portal.classList.remove('dark')\n      portal.classList.add('light')\n      saveDevToolsConfig({ theme: 'light' })\n    }\n  }\n\n  function handlePositionChange(e: React.ChangeEvent<HTMLSelectElement>) {\n    setPosition(e.target.value as DevToolsIndicatorPosition)\n    saveDevToolsConfig({\n      devToolsPosition: e.target.value as DevToolsIndicatorPosition,\n    })\n  }\n\n  function handleSizeChange({ target }: React.ChangeEvent<HTMLSelectElement>) {\n    const value = Number(target.value) as DevToolsScale\n    setScale(value)\n    saveDevToolsConfig({ scale: value })\n  }\n\n  return (\n    <div className=\"preferences-container\">\n      <div className=\"preference-section\">\n        <div className=\"preference-header\">\n          <label htmlFor=\"theme\">Theme</label>\n          <p className=\"preference-description\">\n            Select your theme preference.\n          </p>\n        </div>\n        <Select\n          id=\"theme\"\n          name=\"theme\"\n          prefix={<ThemeIcon theme={theme as 'dark' | 'light' | 'system'} />}\n          value={theme}\n          onChange={handleThemeChange}\n        >\n          <option value=\"system\">System</option>\n          <option value=\"light\">Light</option>\n          <option value=\"dark\">Dark</option>\n        </Select>\n      </div>\n\n      <div className=\"preference-section\">\n        <div className=\"preference-header\">\n          <label htmlFor=\"position\">Position</label>\n          <p className=\"preference-description\">\n            Adjust the placement of your dev tools.\n          </p>\n        </div>\n        <Select\n          id=\"position\"\n          name=\"position\"\n          value={position}\n          onChange={handlePositionChange}\n        >\n          <option value=\"bottom-left\">Bottom Left</option>\n          <option value=\"bottom-right\">Bottom Right</option>\n          <option value=\"top-left\">Top Left</option>\n          <option value=\"top-right\">Top Right</option>\n        </Select>\n      </div>\n\n      <div className=\"preference-section\">\n        <div className=\"preference-header\">\n          <label htmlFor=\"size\">Size</label>\n          <p className=\"preference-description\">\n            Adjust the size of your dev tools.\n          </p>\n        </div>\n        <Select id=\"size\" name=\"size\" value={scale} onChange={handleSizeChange}>\n          {Object.entries(NEXT_DEV_TOOLS_SCALE).map(([key, value]) => {\n            return (\n              <option value={value} key={key}>\n                {key}\n              </option>\n            )\n          })}\n        </Select>\n      </div>\n\n      <div className=\"preference-section\">\n        <div className=\"preference-header\">\n          <label id=\"hide-dev-tools\">Hide Dev Tools for this session</label>\n          <p className=\"preference-description\">\n            Hide Dev Tools until you restart your dev server, or 1 day.\n          </p>\n        </div>\n        <div className=\"preference-control\">\n          <button\n            aria-describedby=\"hide-dev-tools\"\n            name=\"hide-dev-tools\"\n            data-hide-dev-tools\n            className=\"action-button\"\n            onClick={hide}\n          >\n            <EyeIcon />\n            <span>Hide</span>\n          </button>\n        </div>\n      </div>\n\n      <div className=\"preference-section\">\n        <div className=\"preference-header\">\n          <label id=\"hide-dev-tools\">Hide Dev Tools shortcut</label>\n          <p className=\"preference-description\">\n            Set a custom keyboard shortcut to toggle visibility.\n          </p>\n        </div>\n        <div className=\"preference-control\">\n          <ShortcutRecorder\n            value={hideShortcut?.split('+') ?? null}\n            onChange={setHideShortcut}\n          />\n        </div>\n      </div>\n\n      <div className=\"preference-section\">\n        <div className=\"preference-header\">\n          <label>Disable Dev Tools for this project</label>\n          <p className=\"preference-description\">\n            To disable this UI completely, set{' '}\n            <code className=\"dev-tools-info-code\">devIndicators: false</code> in\n            your <code className=\"dev-tools-info-code\">next.config</code> file.\n          </p>\n        </div>\n      </div>\n\n      <div className=\"preference-section\">\n        <div className=\"preference-header\">\n          <label id=\"restart-dev-server\">Restart Dev Server</label>\n          <p className=\"preference-description\">\n            Restarts the development server without needing to leave the\n            browser.\n          </p>\n        </div>\n        <div className=\"preference-control\">\n          <button\n            aria-describedby=\"restart-dev-server\"\n            title=\"Restarts the development server without needing to leave the browser.\"\n            name=\"restart-dev-server\"\n            data-restart-dev-server\n            className=\"action-button\"\n            onClick={() => restartServer({ invalidateFileSystemCache: false })}\n            disabled={isPending}\n          >\n            <span>Restart</span>\n          </button>\n        </div>\n      </div>\n\n      {process.env.__NEXT_BUNDLER_HAS_PERSISTENT_CACHE ? (\n        <div className=\"preference-section\">\n          <div className=\"preference-header\">\n            <label id=\"reset-bundler-cache\">Reset Bundler Cache</label>\n            <p className=\"preference-description\">\n              Clears the bundler cache and restarts the dev server. Helpful if\n              you are seeing stale errors or changes are not appearing.\n            </p>\n          </div>\n          <div className=\"preference-control\">\n            <button\n              aria-describedby=\"reset-bundler-cache\"\n              title=\"Clears the bundler cache and restarts the dev server. Helpful if you are seeing stale errors or changes are not appearing.\"\n              name=\"reset-bundler-cache\"\n              data-reset-bundler-cache\n              className=\"action-button\"\n              onClick={() => restartServer({ invalidateFileSystemCache: true })}\n              disabled={isPending}\n            >\n              <span>Reset Cache</span>\n            </button>\n          </div>\n        </div>\n      ) : null}\n    </div>\n  )\n}\n\nfunction Select({\n  children,\n  prefix,\n  ...props\n}: {\n  prefix?: React.ReactNode\n} & Omit<React.HTMLProps<HTMLSelectElement>, 'prefix'>) {\n  return (\n    <div className=\"select-button\">\n      {prefix}\n      <select {...props}>{children}</select>\n      <ChevronDownIcon />\n    </div>\n  )\n}\n\nfunction ThemeIcon({ theme }: { theme: 'dark' | 'light' | 'system' }) {\n  switch (theme) {\n    case 'system':\n      return <SystemIcon />\n    case 'dark':\n      return <DarkIcon />\n    case 'light':\n      return <LightIcon />\n    default:\n      return null\n  }\n}\n\nexport const DEV_TOOLS_INFO_USER_PREFERENCES_STYLES = css`\n  .preferences-container {\n    width: 100%;\n  }\n\n  @media (min-width: 576px) {\n    .preferences-container {\n      width: 480px;\n    }\n  }\n\n  .preference-section:first-child {\n    padding-top: 0;\n  }\n\n  .preference-section {\n    padding: 12px 0;\n    border-bottom: 1px solid var(--color-gray-400);\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    gap: 24px;\n  }\n\n  .preference-section:last-child {\n    border-bottom: none;\n  }\n\n  .preference-header {\n    margin-bottom: 0;\n    flex: 1;\n  }\n\n  .preference-header label {\n    font-size: var(--size-14);\n    font-weight: 500;\n    color: var(--color-gray-1000);\n    margin: 0;\n  }\n\n  .preference-description {\n    color: var(--color-gray-900);\n    font-size: var(--size-14);\n    margin: 0;\n  }\n\n  .select-button,\n  .action-button {\n    display: flex;\n    align-items: center;\n    gap: 8px;\n    background: var(--color-background-100);\n    border: 1px solid var(--color-gray-400);\n    border-radius: var(--rounded-lg);\n    font-weight: 400;\n    font-size: var(--size-14);\n    color: var(--color-gray-1000);\n    padding: 6px 8px;\n    transition: border-color 150ms var(--timing-swift);\n\n    &:hover {\n      border-color: var(--color-gray-500);\n    }\n\n    svg {\n      width: 14px;\n      height: 14px;\n      overflow: visible;\n    }\n  }\n\n  .select-button {\n    &:focus-within {\n      outline: var(--focus-ring);\n      outline-offset: -1px;\n    }\n\n    select {\n      all: unset;\n    }\n\n    option {\n      color: var(--color-gray-1000);\n      background: var(--color-background-100);\n    }\n  }\n\n  .preference-section button:disabled {\n    opacity: 0.6;\n    cursor: not-allowed;\n  }\n\n  :global(.icon) {\n    width: 18px;\n    height: 18px;\n    color: #666;\n  }\n`\n\nfunction ChevronDownIcon() {\n  return (\n    <svg width=\"16\" height=\"16\" viewBox=\"0 0 16 16\" aria-hidden>\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M14.0607 5.49999L13.5303 6.03032L8.7071 10.8535C8.31658 11.2441 7.68341 11.2441 7.29289 10.8535L2.46966 6.03032L1.93933 5.49999L2.99999 4.43933L3.53032 4.96966L7.99999 9.43933L12.4697 4.96966L13 4.43933L14.0607 5.49999Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n","import { useState } from 'react'\n\nexport function useRestartServer() {\n  const [isPending, setIsPending] = useState(false)\n\n  const restartServer = async ({\n    invalidateFileSystemCache,\n  }: {\n    invalidateFileSystemCache: boolean\n  }): Promise<void> => {\n    setIsPending(true)\n\n    const url = invalidateFileSystemCache\n      ? '/__nextjs_restart_dev?invalidateFileSystemCache=1'\n      : '/__nextjs_restart_dev'\n\n    let serverRestarted = false\n\n    try {\n      const curId = await fetch('/__nextjs_server_status')\n        .then((res) => res.json())\n        .then((data) => data.executionId as number)\n        .catch((error) => {\n          console.log(\n            '[Next.js DevTools] Failed to fetch server status while restarting dev server.',\n            error\n          )\n          return null\n        })\n\n      if (!curId) {\n        console.log(\n          '[Next.js DevTools] Failed to get the current server execution ID while restarting dev server.'\n        )\n        return\n      }\n\n      const restartRes = await fetch(url, {\n        method: 'POST',\n      })\n\n      if (!restartRes.ok) {\n        // Use console log to avoid spamming the error overlay which users can't control.\n        console.log(\n          '[Next.js DevTools] Failed to fetch restart server endpoint. Status:',\n          restartRes.status\n        )\n        return\n      }\n\n      // Poll for server restart confirmation.\n      for (let i = 0; i < 10; i++) {\n        // generous 1 second delay for large apps.\n        await new Promise((resolveTimeout) => setTimeout(resolveTimeout, 1_000))\n\n        try {\n          const nextId = await fetch('/__nextjs_server_status')\n            .then((res) => res.json())\n            .then((data) => data.executionId as number)\n\n          // If the execution ID has changed, the server has restarted successfully.\n          if (curId !== nextId) {\n            serverRestarted = true\n            // Reload the page to ensure the connection to the new server.\n            window.location.reload()\n            return\n          }\n        } catch (e) {\n          continue\n        }\n      }\n\n      console.log(\n        '[Next.js DevTools] Failed to restart server. Exhausted all polling attempts.'\n      )\n      return\n    } catch (error) {\n      console.log('[Next.js DevTools] Failed to restart server.', error)\n      return\n    } finally {\n      // If server restarted, don't reset isPending since the page will reload.\n      if (!serverRestarted) {\n        setIsPending(false)\n      }\n    }\n  }\n\n  return {\n    restartServer,\n    isPending,\n  }\n}\n","import { CODE_FRAME_STYLES } from '../components/code-frame/code-frame'\nimport { styles as dialog } from '../components/dialog'\nimport { styles as errorLayout } from '../components/errors/error-overlay-layout/error-overlay-layout'\nimport { styles as pagination } from '../components/errors/error-overlay-pagination/error-overlay-pagination'\nimport { styles as overlay } from '../components/overlay/styles'\nimport { styles as footer } from '../components/errors/error-overlay-footer/error-overlay-footer'\nimport { TERMINAL_STYLES } from '../components/terminal/terminal'\nimport { styles as versionStaleness } from '../components/version-staleness-info/version-staleness-info'\nimport { styles as buildErrorStyles } from '../container/build-error'\nimport { styles as containerErrorStyles } from '../container/errors'\nimport { styles as containerRuntimeErrorStyles } from '../container/runtime-error'\nimport { COPY_BUTTON_STYLES } from '../components/copy-button'\nimport { CALL_STACK_FRAME_STYLES } from '../components/call-stack-frame/call-stack-frame'\nimport { css } from '../utils/css'\nimport { EDITOR_LINK_STYLES } from '../components/terminal/editor-link'\nimport { ENVIRONMENT_NAME_LABEL_STYLES } from '../components/errors/environment-name-label/environment-name-label'\nimport { DEV_TOOLS_INFO_USER_PREFERENCES_STYLES } from '../components/errors/dev-tools-indicator/dev-tools-info/user-preferences'\nimport { CALL_STACK_STYLES } from '../components/call-stack/call-stack'\nimport { SHORTCUT_RECORDER_STYLES } from '../components/errors/dev-tools-indicator/dev-tools-info/shortcut-recorder'\nimport { INSTANT_GUIDANCE_STYLES } from '../components/instant/instant-guidance'\nimport { UNRENDERED_SEGMENT_INFO_STYLES } from '../components/instant/unrendered-segment-info'\n\nexport function ComponentStyles() {\n  return (\n    <style>\n      {css`\n        ${COPY_BUTTON_STYLES}\n        ${CALL_STACK_FRAME_STYLES}\n        ${CALL_STACK_STYLES}\n        ${ENVIRONMENT_NAME_LABEL_STYLES}\n        ${overlay}\n        ${dialog}\n        ${errorLayout}\n        ${footer}\n        ${pagination}\n        ${CODE_FRAME_STYLES}\n        ${TERMINAL_STYLES}\n        ${EDITOR_LINK_STYLES}\n        ${buildErrorStyles}\n        ${containerErrorStyles}\n        ${containerRuntimeErrorStyles}\n        ${versionStaleness}\n        ${DEV_TOOLS_INFO_USER_PREFERENCES_STYLES}\n        ${SHORTCUT_RECORDER_STYLES}\n        ${INSTANT_GUIDANCE_STYLES}\n        ${UNRENDERED_SEGMENT_INFO_STYLES}\n      `}\n    </style>\n  )\n}\n","import { useState, useEffect } from 'react'\n\ninterface Options {\n  enterDelay?: number\n  exitDelay?: number\n  onUnmount?: () => void\n}\n\ntype Timeout = ReturnType<typeof setTimeout>\n\n/**\n * Useful to perform CSS transitions on React components without\n * using libraries like Framer Motion. This hook will defer the\n * unmount of a React component until after a delay.\n *\n * @param active - Whether the component should be rendered\n * @param options - Options for the delayed render\n * @param options.enterDelay - Delay before rendering the component\n * @param options.exitDelay - Delay before unmounting the component\n *\n * const Modal = ({ active }) => {\n * const { mounted, rendered } = useDelayedRender(active, {\n *  exitDelay: 2000,\n * })\n *\n * if (!mounted) return null\n *\n * return (\n *   <Portal>\n *     <div className={rendered ? 'modal visible' : 'modal'}>...</div>\n *   </Portal>\n * )\n *}\n *\n * */\nexport function useDelayedRender(active = false, options: Options = {}) {\n  const [mounted, setMounted] = useState(active)\n  const [rendered, setRendered] = useState(false)\n\n  const { enterDelay = 1, exitDelay = 0 } = options\n  useEffect(() => {\n    let renderTimeout: Timeout | undefined\n    let unmountTimeout: Timeout | undefined\n\n    if (active) {\n      // eslint-disable-next-line react-hooks/set-state-in-effect -- intentional cascading update\n      setMounted(true)\n      if (enterDelay <= 0) {\n        setRendered(true)\n      } else {\n        renderTimeout = setTimeout(() => {\n          setRendered(true)\n        }, enterDelay)\n      }\n    } else {\n      setRendered(false)\n      if (exitDelay <= 0) {\n        setMounted(false)\n      } else {\n        unmountTimeout = setTimeout(() => {\n          setMounted(false)\n        }, exitDelay)\n      }\n    }\n\n    return () => {\n      clearTimeout(renderTimeout)\n      clearTimeout(unmountTimeout)\n    }\n  }, [active, enterDelay, exitDelay])\n\n  return { mounted, rendered }\n}\n","import {\n  ACTION_ERROR_OVERLAY_CLOSE,\n  type OverlayDispatch,\n  type OverlayState,\n} from '../../../shared'\n\nimport { Activity } from 'react'\nimport { BuildError } from '../../../container/build-error'\nimport { Errors, isInstantNavigationError } from '../../../container/errors'\nimport { useDelayedRender } from '../../../hooks/use-delayed-render'\nimport type { ReadyRuntimeError } from '../../../utils/get-error-by-type'\nimport type { HydrationErrorState } from '../../../../shared/hydration-error'\n\nconst transitionDurationMs = 200\n\nexport interface ErrorBaseProps {\n  rendered: boolean\n  transitionDurationMs: number\n  isTurbopack: boolean\n  versionInfo: OverlayState['versionInfo']\n  errorCount: number\n}\n\nexport function ErrorOverlay({\n  state,\n  dispatch,\n  getSquashedHydrationErrorDetails,\n  runtimeErrors,\n  errorCount,\n}: {\n  state: OverlayState\n  dispatch: OverlayDispatch\n  getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n  runtimeErrors: ReadyRuntimeError[]\n  errorCount: number\n}) {\n  const isTurbopack = !!process.env.TURBOPACK\n\n  // This hook lets us do an exit animation before unmounting the component\n  const { mounted, rendered } = useDelayedRender(state.isErrorOverlayOpen, {\n    exitDelay: transitionDurationMs,\n  })\n\n  const commonProps = {\n    rendered,\n    transitionDurationMs,\n    isTurbopack,\n    versionInfo: state.versionInfo,\n    errorCount,\n  }\n\n  if (state.buildError !== null) {\n    return (\n      <BuildError\n        {...commonProps}\n        message={state.buildError}\n        // This is not a runtime error, forcedly display error overlay\n        rendered\n      />\n    )\n  }\n\n  // No Runtime Errors.\n  if (!runtimeErrors.length) {\n    return null\n  }\n\n  // Compute a key that resets tab state when the error composition changes\n  // (e.g., normal errors resolve leaving only instant errors).\n  const hasNormal = runtimeErrors.some(\n    (e) => !isInstantNavigationError(e.error)\n  )\n  const hasInstant = runtimeErrors.some((e) =>\n    isInstantNavigationError(e.error)\n  )\n  const tabKey = `${hasNormal ? 'n' : ''}${hasInstant ? 'i' : ''}`\n\n  return (\n    <Activity mode={mounted ? 'visible' : 'hidden'}>\n      <Errors\n        key={tabKey}\n        {...commonProps}\n        debugInfo={state.debugInfo}\n        getSquashedHydrationErrorDetails={getSquashedHydrationErrorDetails}\n        runtimeErrors={runtimeErrors}\n        onClose={() => {\n          dispatch({ type: ACTION_ERROR_OVERLAY_CLOSE })\n        }}\n      />\n    </Activity>\n  )\n}\n","import type { OverlayState } from '../../shared'\nimport type { StackFrame } from '../../../shared/stack-frame'\n\nimport { useMemo, useState, useEffect } from 'react'\nimport {\n  getErrorByType,\n  type ReadyRuntimeError,\n} from '../../utils/get-error-by-type'\nimport { isInstantNavigationError } from '../errors'\n\nexport type SupportedErrorEvent = {\n  id: number\n  error: Error\n  frames: readonly StackFrame[]\n  type: 'runtime' | 'recoverable' | 'console'\n}\n\ntype Props = {\n  children: (params: {\n    runtimeErrors: ReadyRuntimeError[]\n    totalErrorCount: number\n    normalErrorCount: number\n    instantErrorCount: number\n  }) => React.ReactNode\n  state: OverlayState\n  isAppDir: boolean\n}\n\nexport const RenderError = (props: Props) => {\n  const { state } = props\n  const isBuildError = !!state.buildError\n\n  if (isBuildError) {\n    return <RenderBuildError {...props} />\n  } else {\n    return <RenderRuntimeError {...props} />\n  }\n}\n\nconst RenderRuntimeError = ({ children, state, isAppDir }: Props) => {\n  const { errors } = state\n\n  const [lookups, setLookups] = useState<{\n    [eventId: string]: ReadyRuntimeError\n  }>({})\n\n  const [runtimeErrors, nextError] = useMemo<\n    [ReadyRuntimeError[], SupportedErrorEvent | null]\n  >(() => {\n    let ready: ReadyRuntimeError[] = []\n    let next: SupportedErrorEvent | null = null\n\n    // Ensure errors are displayed in the order they occurred in:\n    for (let idx = 0; idx < errors.length; ++idx) {\n      const e = errors[idx]\n      const { id } = e\n      if (id in lookups) {\n        ready.push(lookups[id])\n        continue\n      }\n\n      next = e\n      break\n    }\n\n    return [ready, next]\n  }, [errors, lookups])\n\n  useEffect(() => {\n    if (nextError == null) {\n      return\n    }\n\n    const resolved = getErrorByType(nextError, isAppDir)\n    // eslint-disable-next-line react-hooks/set-state-in-effect -- TODO: fetch-while-rendering\n    setLookups((m) => ({ ...m, [resolved.id]: resolved }))\n  }, [nextError, isAppDir])\n\n  const totalErrorCount = errors.length\n  const instantErrorCount = useMemo(\n    () => runtimeErrors.filter((e) => isInstantNavigationError(e.error)).length,\n    [runtimeErrors]\n  )\n  const normalErrorCount = runtimeErrors.length - instantErrorCount\n\n  return children({\n    runtimeErrors,\n    totalErrorCount,\n    normalErrorCount,\n    instantErrorCount,\n  })\n}\n\nconst RenderBuildError = ({ children }: Props) => {\n  return children({\n    runtimeErrors: [],\n    // Build errors and missing root layout tags persist until fixed,\n    // so we can set a fixed error count of 1\n    totalErrorCount: 1,\n    normalErrorCount: 1,\n    instantErrorCount: 0,\n  })\n}\n","import { useLayoutEffect } from 'react'\nimport { useDevOverlayContext } from '../../dev-overlay.browser'\n\nexport function ScaleUpdater() {\n  const { shadowRoot, state } = useDevOverlayContext()\n\n  useLayoutEffect(() => {\n    // Update the CSS custom property for scale\n    if (shadowRoot?.host) {\n      ;(shadowRoot.host as HTMLElement).style.setProperty(\n        '--nextjs-dev-tools-scale',\n        String(state.scale || 1)\n      )\n    }\n  }, [shadowRoot, state.scale])\n\n  return null\n}\n","\n      import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n      import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./devtools-indicator.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./devtools-indicator.css\";\n       export default content && content.locals ? content.locals : undefined;\n","import { useEffect, useRef, useState } from 'react'\n\nexport function useUpdateAnimation(\n  issueCount: number,\n  animationDurationMs = 0\n) {\n  const lastUpdatedTimeStamp = useRef<number | null>(null)\n  const [animate, setAnimate] = useState(false)\n\n  useEffect(() => {\n    if (issueCount > 0) {\n      const deltaMs = lastUpdatedTimeStamp.current\n        ? Date.now() - lastUpdatedTimeStamp.current\n        : -1\n      lastUpdatedTimeStamp.current = Date.now()\n\n      // We don't animate if `issueCount` changes too quickly\n      if (deltaMs <= animationDurationMs) {\n        return\n      }\n\n      setAnimate(true)\n      // It is important to use a CSS transitioned state, not a CSS keyframed animation\n      // because if the issue count increases faster than the animation duration, it\n      // will abruptly stop and not transition smoothly back to its original state.\n      const timeoutId = window.setTimeout(() => {\n        setAnimate(false)\n      }, animationDurationMs)\n\n      return () => {\n        clearTimeout(timeoutId)\n      }\n    }\n  }, [issueCount, animationDurationMs])\n\n  return animate\n}\n","export function Cross(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg\n      width=\"12\"\n      height=\"12\"\n      viewBox=\"0 0 14 14\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      {...props}\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M3.08889 11.8384L2.62486 12.3024L1.69678 11.3744L2.16082 10.9103L6.07178 6.99937L2.16082 3.08841L1.69678 2.62437L2.62486 1.69629L3.08889 2.16033L6.99986 6.07129L10.9108 2.16033L11.3749 1.69629L12.3029 2.62437L11.8389 3.08841L7.92793 6.99937L11.8389 10.9103L12.3029 11.3744L11.3749 12.3024L10.9108 11.8384L6.99986 7.92744L3.08889 11.8384Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n","export function Warning(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg\n      width=\"12\"\n      height=\"12\"\n      viewBox=\"0 0 12 12\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      {...props}\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M3.98071 1.125L1.125 3.98071L1.125 8.01929L3.98071 10.875H8.01929L10.875 8.01929V3.98071L8.01929 1.125H3.98071ZM3.82538 0C3.62647 0 3.4357 0.0790176 3.29505 0.21967L0.21967 3.29505C0.0790176 3.4357 0 3.62647 0 3.82538V8.17462C0 8.37353 0.0790178 8.5643 0.21967 8.70495L3.29505 11.7803C3.4357 11.921 3.62647 12 3.82538 12H8.17462C8.37353 12 8.5643 11.921 8.70495 11.7803L11.7803 8.70495C11.921 8.5643 12 8.37353 12 8.17462V3.82538C12 3.62647 11.921 3.4357 11.7803 3.29505L8.70495 0.21967C8.5643 0.0790177 8.37353 0 8.17462 0H3.82538ZM6.5625 2.8125V3.375V6V6.5625H5.4375V6V3.375V2.8125H6.5625ZM6 9C6.41421 9 6.75 8.66421 6.75 8.25C6.75 7.83579 6.41421 7.5 6 7.5C5.58579 7.5 5.25 7.83579 5.25 8.25C5.25 8.66421 5.58579 9 6 9Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n","import { useEffect, useReducer, useState } from 'react'\nimport type { CacheIndicatorState } from '../cache-indicator'\nimport {\n  Status,\n  getCurrentStatus,\n} from '../components/devtools-indicator/status-indicator'\n\n/**\n * The indicator commits to a displayed state for at least this long, in both\n * directions: activity must persist this long before the pill appears, and once\n * shown the pill lingers this long after activity ends before hiding. The exit\n * linger does double duty: it keeps any shown state visible for a minimum time\n * (no one-frame flash) and bridges brief gaps between rapid compile events\n * (intent returning within the window cancels the hide). The two never stack on\n * a single transition, so this is a single show-or-hide window, not a sum.\n * Matches the 200ms transition used elsewhere in the dev overlay (menu, instant\n * navigations).\n */\nconst INDICATOR_TRANSITION_MS = 200\n\n// The cold-cache badge is gated behind an experimental flag while its UI/UX is\n// iterated on. This is a build-time constant (DefinePlugin replaces it), and a\n// Next config change restarts the dev server, so reading it once at module\n// scope is safe.\nconst coldCacheBadgeEnabled = !!process.env.__NEXT_EXPERIMENTAL_COLD_CACHE_BADGE\n\ntype CacheBadge = 'cold' | 'bypass'\n\n/**\n * What the dev-tools indicator should display right now: either a status pill\n * (rendering/compiling, or the bare logo when `None`) with no cache badge, or a\n * persistent \"Cold cache\" / \"Cache disabled\" badge with no pill.\n */\nexport type IndicatorDisplay =\n  /**\n   * A status pill (or the bare logo when `None`); no cache badge.\n   */\n  | { status: Status; cacheBadge: null }\n  /**\n   * A persistent cache badge; no status pill.\n   */\n  | { status: Status.None; cacheBadge: CacheBadge }\n\n/**\n * The intent is the display we'd show immediately if there were no anti-flicker\n * timing: a pill while compiling/rendering, the persistent badge once a load\n * settled cold or with caches bypassed, otherwise nothing. It's derived from\n * the raw server signals on every render and fed into the state machine below.\n */\ntype Intent =\n  | { kind: 'pill'; status: Status }\n  | { kind: 'badge'; cache: CacheBadge }\n  | { kind: 'idle' }\n\nfunction computeIntent(\n  building: boolean,\n  rendering: boolean,\n  cacheIndicator: CacheIndicatorState\n): Intent {\n  const status = getCurrentStatus(building, rendering, cacheIndicator)\n  if (status !== Status.None) {\n    return { kind: 'pill', status }\n  }\n  // The transient cold-cache rendering pill above is shown regardless of the\n  // flag; only the persistent cold badge is gated. The pre-existing \"Cache\n  // disabled\" (bypass) badge is unaffected.\n  if (\n    cacheIndicator === 'bypass' ||\n    (cacheIndicator === 'cold' && coldCacheBadgeEnabled)\n  ) {\n    return { kind: 'badge', cache: cacheIndicator }\n  }\n  return { kind: 'idle' }\n}\n\n/**\n * The indicator is always in exactly one of these phases. `entering` and\n * `exiting` are the timed ones (a pending delay); the other three are stable\n * until the intent changes. A phase carries only the data it actually shows, so\n * the set of possible displays is exactly this union.\n */\ntype State =\n  /**\n   * Bare logo: nothing compiling, rendering, or left behind by a cold/bypassed\n   * load.\n   */\n  | { phase: 'idle' }\n  /**\n   * A pill is wanted but is waiting out the delay, so brief activity never\n   * flashes it. Meanwhile `under` keeps showing a badge carried from a prior\n   * settled load (or the bare logo when null), so the badge -> pill handoff has\n   * no gap. It is display-only: it is never restored as the settle target.\n   */\n  | { phase: 'entering'; status: Status; under: CacheBadge | null }\n  /**\n   * The rendering/compiling pill is shown.\n   */\n  | { phase: 'pill'; status: Status }\n  /**\n   * The pill is still shown but activity ended; it lingers out the delay before\n   * hiding, which also bridges a brief gap if activity resumes.\n   */\n  | { phase: 'exiting'; status: Status }\n  /**\n   * The persistent \"Cold cache\" / \"Cache disabled\" badge is shown.\n   */\n  | { phase: 'badge'; badge: CacheBadge }\n\ntype Action = { type: 'intent'; intent: Intent } | { type: 'timer' }\n\n/**\n * Transitions, driven by the current intent (pill / badge / idle) and, in the\n * two timed phases, by the delay elapsing. A `pill` intent in `entering` or\n * `pill` only relabels the status and stays in the same phase, so it never\n * restarts the delay and the label tracks the live state in real time.\n *\n *     from      | pill      | badge | idle     | timer\n *     ----------+-----------+-------+----------+--------\n *     idle      | entering  | badge | idle     | -\n *     entering  | entering  | badge | idle     | pill\n *     pill      | pill      | badge | exiting  | -\n *     exiting   | pill      | badge | exiting  | idle\n *     badge     | entering  | badge | idle     | -\n *\n * The `pill -> badge` cell is the atomic handoff: the pill becomes the\n * persistent badge in a single commit, so the indicator never blanks to the\n * bare logo between them.\n */\nfunction reducer(state: State, action: Action): State {\n  if (action.type === 'timer') {\n    if (state.phase === 'entering') {\n      return { phase: 'pill', status: state.status }\n    }\n    if (state.phase === 'exiting') {\n      return { phase: 'idle' }\n    }\n    return state\n  }\n\n  const { intent } = action\n  switch (state.phase) {\n    case 'idle':\n      if (intent.kind === 'pill') {\n        return { phase: 'entering', status: intent.status, under: null }\n      }\n      if (intent.kind === 'badge') {\n        return { phase: 'badge', badge: intent.cache }\n      }\n      return state\n\n    case 'entering':\n      if (intent.kind === 'pill') {\n        return { phase: 'entering', status: intent.status, under: state.under }\n      }\n      if (intent.kind === 'badge') {\n        return { phase: 'badge', badge: intent.cache }\n      }\n      // Settled with no cache verdict (the load was warm): clear. `under` only\n      // keeps the display stable during the enter delay; it is never restored\n      // as a fallback, otherwise a stale badge carried from the previous page\n      // would reappear after navigating to a warm one.\n      return { phase: 'idle' }\n\n    case 'pill':\n      if (intent.kind === 'pill') {\n        return state.status === intent.status\n          ? state\n          : { phase: 'pill', status: intent.status }\n      }\n      if (intent.kind === 'badge') {\n        return { phase: 'badge', badge: intent.cache }\n      }\n      return { phase: 'exiting', status: state.status }\n\n    case 'exiting':\n      if (intent.kind === 'pill') {\n        return { phase: 'pill', status: intent.status }\n      }\n      if (intent.kind === 'badge') {\n        return { phase: 'badge', badge: intent.cache }\n      }\n      return state\n\n    case 'badge':\n      if (intent.kind === 'pill') {\n        return { phase: 'entering', status: intent.status, under: state.badge }\n      }\n      if (intent.kind === 'badge') {\n        return state.badge === intent.cache\n          ? state\n          : { phase: 'badge', badge: intent.cache }\n      }\n      return { phase: 'idle' }\n  }\n}\n\n/**\n * Owns the dev-tools indicator's displayed state as a single state machine,\n * driven by the raw server signals (compiling, rendering, cache status). It\n * absorbs brief activity before showing the rendering pill, bridges compile\n * gaps, and hands the pill off to the persistent cache badge atomically so the\n * indicator never collapses to a bare logo between the two.\n */\nexport function useIndicatorDisplay(\n  building: boolean,\n  rendering: boolean,\n  cacheIndicator: CacheIndicatorState\n): IndicatorDisplay {\n  const intent = computeIntent(building, rendering, cacheIndicator)\n  const [state, dispatch] = useReducer(reducer, intent, init)\n\n  // Reconcile the current intent into the machine. Intent is derived from\n  // props, so we apply it during render (React's \"adjust state when an input\n  // changed\" pattern) guarded by a key, rather than from an effect that would\n  // commit the stale state for a frame first.\n  const key = intentKey(intent)\n  const [prevKey, setPrevKey] = useState(key)\n  if (prevKey !== key) {\n    setPrevKey(key)\n    dispatch({ type: 'intent', intent })\n  }\n\n  // Run the delay for whichever timed phase we're in. Keyed on `phase` alone: a\n  // status relabel keeps `phase === 'entering'` so the delay isn't restarted,\n  // while entering a timed phase (a real phase change) starts a fresh one. The\n  // cleanup clears a pending timer on any phase change, so it can't fire stale.\n  const { phase } = state\n  useEffect(() => {\n    if (phase !== 'entering' && phase !== 'exiting') {\n      return\n    }\n    const id = setTimeout(\n      () => dispatch({ type: 'timer' }),\n      INDICATOR_TRANSITION_MS\n    )\n    return () => clearTimeout(id)\n  }, [phase])\n\n  return toDisplay(state)\n}\n\n/**\n * A stable string identity for an intent, so the hook can tell when the derived\n * intent actually changed and only then feed it into the machine.\n */\nfunction intentKey(intent: Intent): string {\n  switch (intent.kind) {\n    case 'pill':\n      return `pill:${intent.status}`\n    case 'badge':\n      return `badge:${intent.cache}`\n    case 'idle':\n      return 'idle'\n  }\n}\n\n/**\n * The phase to start in, so an indicator that mounts already active (or with a\n * cold/bypass verdict replayed on connect) shows the right thing immediately,\n * without waiting out an enter delay.\n */\nfunction init(intent: Intent): State {\n  switch (intent.kind) {\n    case 'pill':\n      return { phase: 'pill', status: intent.status }\n    case 'badge':\n      return { phase: 'badge', badge: intent.cache }\n    case 'idle':\n      return { phase: 'idle' }\n  }\n}\n\n/**\n * Projects a phase onto the two-field display the component renders. This is\n * where the \"status and cacheBadge are mutually exclusive\" invariant is\n * enforced.\n */\nfunction toDisplay(state: State): IndicatorDisplay {\n  switch (state.phase) {\n    case 'idle':\n      return { status: Status.None, cacheBadge: null }\n    case 'entering':\n      return state.under === null\n        ? { status: Status.None, cacheBadge: null }\n        : { status: Status.None, cacheBadge: state.under }\n    case 'pill':\n    case 'exiting':\n      return { status: state.status, cacheBadge: null }\n    case 'badge':\n      return { status: Status.None, cacheBadge: state.badge }\n  }\n}\n","import {\n  createContext,\n  useContext,\n  type Dispatch,\n  type SetStateAction,\n} from 'react'\n\nexport type PanelStateKind =\n  | 'preferences'\n  | 'route-type'\n  | 'segment-explorer'\n  | 'panel-selector'\n  | 'instant-navs'\n  | 'request-insights'\n  | 'turbo-info'\n  | 'cache-disabled'\n  | 'cold-cache'\n\nexport const PanelRouterContext = createContext<{\n  panel: PanelStateKind | null\n  setPanel: Dispatch<SetStateAction<PanelStateKind | null>>\n  triggerRef: React.RefObject<HTMLButtonElement | null>\n  selectedIndex: number\n  setSelectedIndex: Dispatch<SetStateAction<number>>\n}>(null!)\n\nexport const usePanelRouterContext = () => useContext(PanelRouterContext)\n","export type IssueBucketState = {\n  hasNormal: boolean\n  hasInstant: boolean\n  hasAny: boolean\n  insightsOnly: boolean\n  variant: 'issue' | 'insight'\n}\n\nexport function getIssueBucketState(\n  normalErrorCount: number,\n  instantErrorCount: number\n): IssueBucketState {\n  const hasNormal = normalErrorCount > 0\n  const hasInstant = instantErrorCount > 0\n  const insightsOnly = !hasNormal && hasInstant\n  return {\n    hasNormal,\n    hasInstant,\n    hasAny: hasNormal || hasInstant,\n    insightsOnly,\n    variant: insightsOnly ? 'insight' : 'issue',\n  }\n}\n","import { INDICATOR_PADDING } from '../components/devtools-indicator/devtools-indicator'\nimport type { OverlayState } from '../shared'\n\nexport const BASE_LOGO_SIZE = 36\nconst INDICATOR_GAP = 9\n\nfunction getIndicatorSquare(state: OverlayState): number {\n  return BASE_LOGO_SIZE / state.scale\n}\n\nexport function getIndicatorOffset(state: OverlayState): number {\n  return INDICATOR_PADDING + getIndicatorSquare(state) + INDICATOR_GAP\n}\n","import { useRef, useState } from 'react'\nimport { useUpdateAnimation } from './hooks/use-update-animation'\nimport { useMeasureWidth } from './hooks/use-measure-width'\nimport { Cross } from '../../icons/cross'\nimport { Warning } from '../../icons/warning'\nimport { css } from '../../utils/css'\nimport { useDevOverlayContext } from '../../../dev-overlay.browser'\nimport { useRenderErrorContext } from '../../dev-overlay'\nimport { useIndicatorDisplay } from '../../hooks/use-indicator-display'\nimport {\n  ACTION_ERROR_OVERLAY_CLOSE,\n  ACTION_ERROR_OVERLAY_OPEN,\n} from '../../shared'\nimport { usePanelRouterContext } from '../../menu/context'\nimport { getIssueBucketState } from '../../menu/issue-bucket-state'\nimport { BASE_LOGO_SIZE } from '../../utils/indicator-metrics'\nimport { StatusIndicator, Status } from './status-indicator'\n\nconst SHORT_DURATION_MS = 150\n\nfunction Plural({ count, animate }: { count: number; animate: boolean }) {\n  if (count <= 1) return null\n  return (\n    <span aria-hidden data-issues-count-plural data-animate={animate}>\n      s\n    </span>\n  )\n}\n\nfunction PillLabel({\n  normalCount,\n  instantCount,\n  normalCountAnimating,\n  instantCountAnimating,\n}: {\n  normalCount: number\n  instantCount: number\n  normalCountAnimating: boolean\n  instantCountAnimating: boolean\n}) {\n  const hasNormal = normalCount > 0\n  const hasInstant = instantCount > 0\n  return (\n    <>\n      {hasNormal && (\n        <>\n          Issue\n          <Plural\n            count={normalCount}\n            animate={normalCountAnimating && normalCount === 2}\n          />\n        </>\n      )}\n      {hasNormal && hasInstant && ' · '}\n      {hasInstant && (\n        <>\n          {hasNormal && <>{instantCount} </>}\n          Insight\n          <Plural\n            count={instantCount}\n            animate={instantCountAnimating && instantCount === 2}\n          />\n        </>\n      )}\n    </>\n  )\n}\n\nexport function NextLogo({\n  onTriggerClick,\n  ...buttonProps\n}: { onTriggerClick: () => void } & React.ComponentProps<'button'>) {\n  const { state, dispatch } = useDevOverlayContext()\n  const { totalErrorCount, normalErrorCount, instantErrorCount } =\n    useRenderErrorContext()\n  const SIZE = BASE_LOGO_SIZE / state.scale\n  const { panel, triggerRef, setPanel } = usePanelRouterContext()\n  const isMenuOpen = panel === 'panel-selector'\n\n  const hasError = totalErrorCount > 0\n  const { insightsOnly } = getIssueBucketState(\n    normalErrorCount,\n    instantErrorCount\n  )\n  const [isErrorExpanded, setIsErrorExpanded] = useState(hasError)\n  const [previousHasError, setPreviousHasError] = useState(hasError)\n  if (previousHasError !== hasError) {\n    setPreviousHasError(hasError)\n    // Reset the expanded state when the error state changes\n    setIsErrorExpanded(hasError)\n  }\n  const [dismissed, setDismissed] = useState(false)\n  const normalErrorAnimating = useUpdateAnimation(\n    normalErrorCount,\n    SHORT_DURATION_MS\n  )\n  const instantErrorAnimating = useUpdateAnimation(\n    instantErrorCount,\n    SHORT_DURATION_MS\n  )\n  const newErrorDetected = normalErrorAnimating || instantErrorAnimating\n  const leadingCount =\n    normalErrorCount > 0 ? normalErrorCount : instantErrorCount\n  const leadingCountAnimating =\n    normalErrorCount > 0 ? normalErrorAnimating : instantErrorAnimating\n\n  // The status pill and the persistent cache badge are owned by a single state\n  // machine that handles all the show/hide timing and the atomic handoff\n  // between the two (so the indicator never blanks to the bare logo between\n  // them). The two are mutually exclusive.\n  const { status: displayStatus, cacheBadge } = useIndicatorDisplay(\n    state.buildingIndicator,\n    state.renderingIndicator,\n    state.cacheIndicator\n  )\n  const showStatusIndicator = displayStatus !== Status.None\n\n  const ref = useRef<HTMLDivElement | null>(null)\n  const measuredWidth = useMeasureWidth(ref)\n\n  const isExpanded =\n    isErrorExpanded ||\n    cacheBadge !== null ||\n    showStatusIndicator ||\n    state.disableDevIndicator\n  const width = measuredWidth === 0 ? 'auto' : measuredWidth\n\n  return (\n    <div\n      data-next-badge-root\n      style={\n        {\n          '--size': `${SIZE}px`,\n          '--duration-short': `${SHORT_DURATION_MS}ms`,\n          // if the indicator is disabled, hide the badge\n          // also allow the \"disabled\" state be dismissed, as long as there are no build errors\n          display:\n            state.disableDevIndicator && (!hasError || dismissed)\n              ? 'none'\n              : 'block',\n        } as React.CSSProperties\n      }\n    >\n      {/* Styles */}\n      <style>\n        {css`\n          [data-next-badge-root] {\n            --timing: cubic-bezier(0.23, 0.88, 0.26, 0.92);\n            --duration-long: 250ms;\n            --color-outer-border: #171717;\n            --color-inner-border: hsla(0, 0%, 100%, 0.14);\n            --color-hover-alpha-subtle: hsla(0, 0%, 100%, 0.13);\n            --color-hover-alpha-error: hsla(0, 0%, 100%, 0.2);\n            --color-hover-alpha-error-2: hsla(0, 0%, 100%, 0.25);\n            --mark-size: calc(var(--size) - var(--size-2) * 2);\n\n            --focus-color: var(--color-blue-800);\n            --focus-ring: 2px solid var(--focus-color);\n\n            &:has([data-next-badge][data-error='true']) {\n              --focus-color: #fff;\n            }\n          }\n\n          [data-disabled-icon] {\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            padding-right: 4px;\n          }\n\n          [data-next-badge] {\n            width: var(--size);\n            height: var(--size);\n            display: flex;\n            align-items: center;\n            position: relative;\n            background: rgba(0, 0, 0, 0.8);\n            box-shadow:\n              0 0 0 1px var(--color-outer-border),\n              inset 0 0 0 1px var(--color-inner-border),\n              0px 16px 32px -8px rgba(0, 0, 0, 0.24);\n            backdrop-filter: blur(48px);\n            border-radius: var(--rounded-full);\n            user-select: none;\n            cursor: pointer;\n            scale: 1;\n            overflow: hidden;\n            will-change: scale, box-shadow, width, background;\n            transition:\n              scale var(--duration-short) var(--timing),\n              width var(--duration-long) var(--timing),\n              box-shadow var(--duration-long) var(--timing),\n              background var(--duration-short) ease;\n\n            &:active[data-error='false'] {\n              scale: 0.95;\n            }\n\n            &[data-animate='true']:not(:hover) {\n              scale: 1.02;\n            }\n\n            &[data-error='false']:has([data-next-mark]:focus-visible) {\n              outline: var(--focus-ring);\n              outline-offset: 3px;\n            }\n\n            &[data-error='true'] {\n              background: #ca2a30;\n              --color-inner-border: #e5484d;\n\n              [data-next-mark] {\n                background: var(--color-hover-alpha-error);\n                outline-offset: 0px;\n\n                &:focus-visible {\n                  outline: var(--focus-ring);\n                  outline-offset: -1px;\n                }\n\n                &:hover {\n                  background: var(--color-hover-alpha-error-2);\n                }\n              }\n            }\n\n            &[data-cache-badge]:not([data-error='true']) {\n              background: rgba(217, 119, 6, 0.95);\n              --color-inner-border: rgba(245, 158, 11, 0.9);\n\n              [data-issues-open] {\n                color: white;\n              }\n            }\n\n            &[data-insights-only='true']:not([data-error='true']) {\n              background: rgba(217, 119, 6, 0.95);\n              --color-inner-border: rgba(245, 158, 11, 0.9);\n\n              [data-issues-open] {\n                color: white;\n              }\n            }\n\n            &[data-error-expanded='false'][data-error='true'] ~ [data-dot] {\n              scale: 1;\n            }\n\n            > div {\n              display: flex;\n            }\n          }\n\n          [data-issues-collapse]:focus-visible {\n            outline: var(--focus-ring);\n          }\n\n          [data-toast-pill]:has([data-issues-open]:focus-visible) {\n            outline: var(--focus-ring);\n            outline-offset: -1px;\n          }\n\n          [data-dot] {\n            content: '';\n            width: var(--size-8);\n            height: var(--size-8);\n            background: #fff;\n            box-shadow: 0 0 0 1px var(--color-outer-border);\n            border-radius: 50%;\n            position: absolute;\n            top: 2px;\n            right: 0px;\n            scale: 0;\n            pointer-events: none;\n            transition: scale 200ms var(--timing);\n            transition-delay: var(--duration-short);\n          }\n\n          /* Shared pill layout for the errors toast and the cache badge. Keyed\n             on data-toast-pill rather than data-issues so it applies to both,\n             while data-issues stays exclusive to the errors toast. */\n          [data-toast-pill] {\n            --padding-left: 8px;\n            display: flex;\n            gap: 2px;\n            align-items: center;\n            padding-left: 8px;\n            padding-right: 8px;\n            height: var(--size-32);\n            margin-right: 2px;\n            border-radius: var(--rounded-full);\n            transition: background var(--duration-short) ease;\n\n            &:has([data-issues-open]:hover) {\n              background: var(--color-hover-alpha-error);\n            }\n\n            &:has([data-issues-collapse]) {\n              padding-right: calc(var(--padding-left) / 2);\n            }\n          }\n\n          [data-issues-open] {\n            font-size: var(--size-13);\n            color: white;\n            width: fit-content;\n            height: 100%;\n            display: flex;\n            gap: 2px;\n            align-items: center;\n            margin: 0;\n            line-height: var(--size-36);\n            font-weight: 500;\n            z-index: 2;\n            white-space: nowrap;\n\n            &:focus-visible {\n              outline: 0;\n            }\n          }\n\n          [data-issues-collapse] {\n            width: var(--size-24);\n            height: var(--size-24);\n            display: flex;\n            align-items: center;\n            justify-content: center;\n            border-radius: var(--rounded-full);\n            transition: background var(--duration-short) ease;\n\n            &:hover {\n              background: var(--color-hover-alpha-error);\n            }\n          }\n\n          [data-cross] {\n            color: #fff;\n            width: var(--size-12);\n            height: var(--size-12);\n          }\n\n          [data-next-mark] {\n            width: var(--mark-size);\n            height: var(--mark-size);\n            margin: 0 2px;\n            display: flex;\n            align-items: center;\n            border-radius: var(--rounded-full);\n            transition: background var(--duration-long) var(--timing);\n\n            &:focus-visible {\n              outline: 0;\n            }\n\n            &:hover {\n              background: var(--color-hover-alpha-subtle);\n            }\n\n            svg {\n              flex-shrink: 0;\n              width: var(--size-40);\n              height: var(--size-40);\n            }\n          }\n\n          [data-issues-count-animation] {\n            display: grid;\n            place-items: center center;\n            font-variant-numeric: tabular-nums;\n\n            &[data-animate='false'] {\n              [data-issues-count-exit],\n              [data-issues-count-enter] {\n                animation-duration: 0ms;\n              }\n            }\n\n            > * {\n              grid-area: 1 / 1;\n            }\n\n            [data-issues-count-exit] {\n              animation: fadeOut 300ms var(--timing) forwards;\n            }\n\n            [data-issues-count-enter] {\n              animation: fadeIn 300ms var(--timing) forwards;\n            }\n          }\n\n          [data-issues-count-plural] {\n            display: inline-block;\n            &[data-animate='true'] {\n              animation: fadeIn 300ms var(--timing) forwards;\n            }\n          }\n\n          .paused {\n            stroke-dashoffset: 0;\n          }\n\n          @keyframes fadeIn {\n            0% {\n              opacity: 0;\n              filter: blur(2px);\n              transform: translateY(8px);\n            }\n            100% {\n              opacity: 1;\n              filter: blur(0px);\n              transform: translateY(0);\n            }\n          }\n\n          @keyframes fadeOut {\n            0% {\n              opacity: 1;\n              filter: blur(0px);\n              transform: translateY(0);\n            }\n            100% {\n              opacity: 0;\n              transform: translateY(-12px);\n              filter: blur(2px);\n            }\n          }\n\n          @media (prefers-reduced-motion) {\n            [data-issues-count-exit],\n            [data-issues-count-enter],\n            [data-issues-count-plural] {\n              animation-duration: 0ms !important;\n            }\n          }\n        `}\n      </style>\n      <div\n        data-next-badge\n        data-error={hasError && !insightsOnly}\n        data-insights-only={insightsOnly}\n        data-error-expanded={isExpanded}\n        data-status={hasError ? Status.None : displayStatus}\n        data-cache-badge={cacheBadge ?? undefined}\n        data-animate={newErrorDetected}\n        style={{ width }}\n      >\n        <div ref={ref}>\n          {/* Children */}\n          {!state.disableDevIndicator && (\n            <button\n              id=\"next-logo\"\n              ref={triggerRef}\n              data-next-mark\n              onClick={onTriggerClick}\n              disabled={state.disableDevIndicator}\n              aria-haspopup=\"menu\"\n              aria-expanded={isMenuOpen}\n              aria-controls=\"nextjs-dev-tools-menu\"\n              aria-label={`${isMenuOpen ? 'Close' : 'Open'} Next.js Dev Tools`}\n              data-nextjs-dev-tools-button\n              style={{\n                display: showStatusIndicator && !hasError ? 'none' : 'flex',\n              }}\n              {...buttonProps}\n            >\n              <NextMark />\n            </button>\n          )}\n          {isExpanded && (\n            <>\n              {/* Error badge has priority over cache indicator */}\n              {(isErrorExpanded || state.disableDevIndicator) && (\n                <div data-issues data-toast-pill>\n                  <button\n                    data-issues-open\n                    aria-label=\"Open issues overlay\"\n                    onClick={() => {\n                      if (state.isErrorOverlayOpen) {\n                        dispatch({\n                          type: ACTION_ERROR_OVERLAY_CLOSE,\n                        })\n                        return\n                      }\n                      dispatch({ type: ACTION_ERROR_OVERLAY_OPEN })\n                      // Keep the instant navigation panel mounted so its capture\n                      // survives and it stays behind the error overlay backdrop.\n                      // Other panels still close when the overlay opens.\n                      if (panel !== 'instant-navs') {\n                        setPanel(null)\n                      }\n                    }}\n                  >\n                    {state.disableDevIndicator && (\n                      <div data-disabled-icon>\n                        <Warning />\n                      </div>\n                    )}\n                    <AnimateCount\n                      // Used the key to force a re-render when the count changes.\n                      key={leadingCount}\n                      animate={leadingCountAnimating}\n                      data-issues-count-animation\n                    >\n                      {leadingCount}\n                    </AnimateCount>{' '}\n                    <div>\n                      <PillLabel\n                        normalCount={normalErrorCount}\n                        instantCount={instantErrorCount}\n                        normalCountAnimating={normalErrorAnimating}\n                        instantCountAnimating={instantErrorAnimating}\n                      />\n                    </div>\n                  </button>\n                  {!state.buildError && (\n                    <button\n                      data-issues-collapse\n                      aria-label=\"Collapse issues badge\"\n                      onClick={() => {\n                        if (state.disableDevIndicator) {\n                          setDismissed(true)\n                        } else {\n                          setIsErrorExpanded(false)\n                        }\n                        // Move focus to the trigger to prevent having it stuck on this element\n                        triggerRef.current?.focus()\n                      }}\n                    >\n                      <Cross data-cross />\n                    </button>\n                  )}\n                </div>\n              )}\n              {/* Persistent cache badge shown when a load bypassed caches or\n                  rendered with a cold cache and nothing is actively rendering */}\n              {cacheBadge && !hasError && !state.disableDevIndicator && (\n                <CacheStatusBadge\n                  kind={cacheBadge}\n                  onTriggerClick={onTriggerClick}\n                  triggerRef={triggerRef}\n                />\n              )}\n              {/* Status indicator shown while rendering or compiling */}\n              {showStatusIndicator &&\n                !hasError &&\n                !state.disableDevIndicator && (\n                  <StatusIndicator\n                    status={displayStatus}\n                    onClick={onTriggerClick}\n                  />\n                )}\n            </>\n          )}\n        </div>\n      </div>\n      <div aria-hidden data-dot />\n    </div>\n  )\n}\n\nfunction AnimateCount({\n  children: count,\n  animate = true,\n  ...props\n}: {\n  children: number\n  animate: boolean\n}) {\n  return (\n    <div {...props} data-animate={animate}>\n      <div aria-hidden data-issues-count-exit>\n        {count - 1}\n      </div>\n      <div data-issues-count data-issues-count-enter>\n        {count}\n      </div>\n    </div>\n  )\n}\n\nfunction CacheStatusBadge({\n  kind,\n  onTriggerClick,\n  triggerRef,\n}: {\n  kind: 'cold' | 'bypass'\n  onTriggerClick: () => void\n  triggerRef: React.RefObject<HTMLButtonElement | null>\n}) {\n  const [dismissed, setDismissed] = useState(false)\n\n  if (dismissed) {\n    return null\n  }\n\n  const label = kind === 'bypass' ? 'Cache disabled' : 'Cold cache'\n\n  return (\n    // Reuses the errors toast pill styling (data-toast-pill) but is\n    // deliberately not data-issues: that attribute marks the errors toast,\n    // which test utilities click to open the redbox. A cold or cache-disabled\n    // load can also surface a validation error, so a shared data-issues would\n    // let those helpers grab this badge instead of the real toast.\n    <div\n      data-toast-pill\n      data-cache-bypass-badge={kind === 'bypass' ? true : undefined}\n      data-cold-cache-badge={kind === 'cold' ? true : undefined}\n    >\n      <button\n        data-issues-open\n        data-nextjs-dev-tools-button\n        aria-label=\"Open Next.js Dev Tools\"\n        onClick={onTriggerClick}\n      >\n        {label}\n      </button>\n      <button\n        data-issues-collapse\n        aria-label={`Collapse ${label} badge`}\n        onClick={() => {\n          setDismissed(true)\n          // Move focus to the trigger to prevent having it stuck on this element\n          triggerRef.current?.focus()\n        }}\n      >\n        <Cross data-cross />\n      </button>\n    </div>\n  )\n}\n\nfunction NextMark() {\n  return (\n    <svg width=\"40\" height=\"40\" viewBox=\"0 0 40 40\" fill=\"none\">\n      <g transform=\"translate(8.5, 13)\">\n        <path\n          className=\"paused\"\n          d=\"M13.3 15.2 L2.34 1 V12.6\"\n          fill=\"none\"\n          stroke=\"url(#next_logo_paint0_linear_1357_10853)\"\n          strokeWidth=\"1.86\"\n          mask=\"url(#next_logo_mask0)\"\n          strokeDasharray=\"29.6\"\n          strokeDashoffset=\"29.6\"\n        />\n        <path\n          className=\"paused\"\n          d=\"M11.825 1.5 V13.1\"\n          strokeWidth=\"1.86\"\n          stroke=\"url(#next_logo_paint1_linear_1357_10853)\"\n          strokeDasharray=\"11.6\"\n          strokeDashoffset=\"11.6\"\n        />\n      </g>\n      <defs>\n        <linearGradient\n          id=\"next_logo_paint0_linear_1357_10853\"\n          x1=\"9.95555\"\n          y1=\"11.1226\"\n          x2=\"15.4778\"\n          y2=\"17.9671\"\n          gradientUnits=\"userSpaceOnUse\"\n        >\n          <stop stopColor=\"white\" />\n          <stop offset=\"0.604072\" stopColor=\"white\" stopOpacity=\"0\" />\n          <stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n        </linearGradient>\n        <linearGradient\n          id=\"next_logo_paint1_linear_1357_10853\"\n          x1=\"11.8222\"\n          y1=\"1.40039\"\n          x2=\"11.791\"\n          y2=\"9.62542\"\n          gradientUnits=\"userSpaceOnUse\"\n        >\n          <stop stopColor=\"white\" />\n          <stop offset=\"1\" stopColor=\"white\" stopOpacity=\"0\" />\n        </linearGradient>\n        <mask id=\"next_logo_mask0\">\n          <rect width=\"100%\" height=\"100%\" fill=\"white\" />\n          <rect width=\"5\" height=\"1.5\" fill=\"black\" />\n        </mask>\n      </defs>\n    </svg>\n  )\n}\n","import { useEffect, useState } from 'react'\n\nexport function useMeasureWidth(\n  ref: React.RefObject<HTMLDivElement | null>\n): number {\n  const [width, setWidth] = useState<number>(0)\n\n  useEffect(() => {\n    const el = ref.current\n\n    if (!el) {\n      return\n    }\n\n    const observer = new ResizeObserver(([{ contentRect }]) => {\n      setWidth(contentRect.width)\n    })\n\n    observer.observe(el)\n    return () => observer.disconnect()\n  }, [ref])\n\n  return width\n}\n","import * as React from 'react'\nimport { cx } from '../../utils/cx'\ntype ToastProps = React.HTMLProps<HTMLDivElement> & {\n  children?: React.ReactNode\n  onClick?: () => void\n  className?: string\n}\n\nexport const Toast = React.forwardRef<HTMLDivElement, ToastProps>(\n  function Toast({ onClick, children, className, ...props }, ref) {\n    return (\n      <div\n        {...props}\n        ref={ref}\n        onClick={(e) => {\n          if (!(e.target as HTMLElement).closest('a')) {\n            e.preventDefault()\n          }\n          return onClick?.()\n        }}\n        className={cx('nextjs-toast', className)}\n      >\n        {children}\n      </div>\n    )\n  }\n)\n","import React, {\n  createContext,\n  useCallback,\n  useContext,\n  useEffect,\n  useMemo,\n  useRef,\n  type Ref,\n  type RefObject,\n} from 'react'\n\ninterface DragContextValue {\n  register: (el: HTMLElement) => void\n  unregister: (el: HTMLElement) => void\n  handles: Set<HTMLElement>\n  disabled: boolean\n}\n\nconst DragContext = createContext<DragContextValue | null>(null)\n\nexport function DragProvider({\n  children,\n  disabled = false,\n}: {\n  children: React.ReactNode\n  disabled?: boolean\n}) {\n  const handlesRef = useRef<Set<HTMLElement>>(new Set())\n\n  const register = useCallback((el: HTMLElement) => {\n    handlesRef.current.add(el)\n  }, [])\n\n  const unregister = useCallback((el: HTMLElement) => {\n    handlesRef.current.delete(el)\n  }, [])\n\n  const value = useMemo<DragContextValue>(\n    () => ({\n      register,\n      unregister,\n      handles:\n        // eslint-disable-next-line react-hooks/refs -- TODO\n        handlesRef.current,\n      disabled,\n    }),\n    [register, unregister, disabled]\n  )\n\n  return <DragContext.Provider value={value}>{children}</DragContext.Provider>\n}\n\nexport function useDragContext() {\n  return useContext(DragContext)\n}\n\nexport function DragHandle({\n  children,\n  ref,\n  ...props\n}: React.HTMLAttributes<HTMLDivElement> & { ref?: Ref<HTMLDivElement> }) {\n  const internalRef = useRef<HTMLDivElement>(null)\n  const ctx = useDragContext()\n\n  const setRef = useCallback(\n    (node: HTMLDivElement | null) => {\n      internalRef.current = node ?? null\n      if (typeof ref === 'function') {\n        ref(node)\n      } else if (ref && typeof ref === 'object') {\n        ;(ref as RefObject<HTMLDivElement | null>).current = node\n      }\n    },\n    [ref]\n  )\n\n  useEffect(() => {\n    if (!ctx || !internalRef.current || ctx.disabled) return\n    const el = internalRef.current\n    ctx.register(el)\n    return () => ctx.unregister(el)\n  }, [ctx])\n\n  return (\n    <div\n      ref={setRef}\n      {...props}\n      style={{\n        cursor: ctx?.disabled ? 'default' : 'grab',\n        ...(props.style || {}),\n      }}\n    >\n      {children}\n    </div>\n  )\n}\n","import type { Corners } from '../../../shared'\nimport { useCallback, useLayoutEffect, useRef } from 'react'\nimport { useDragContext } from './drag-context'\n\ninterface Point {\n  x: number\n  y: number\n}\n\ninterface Corner {\n  corner: Corners\n  translation: Point\n}\n\nexport function Draggable({\n  children,\n  padding,\n  position: currentCorner,\n  setPosition: setCurrentCorner,\n  onDragStart,\n  dragHandleSelector,\n  disableDrag = false,\n  avoidZone,\n  ...props\n}: {\n  children: React.ReactElement\n  position: Corners\n  padding: number\n  setPosition: (position: Corners) => void\n  onDragStart?: () => void\n  dragHandleSelector?: string\n  disableDrag?: boolean\n  style?: React.CSSProperties\n  avoidZone?: {\n    square: number\n    corner: Corners\n    padding: number\n  }\n}) {\n  const { ref, animate, ...drag } = useDrag({\n    disabled: disableDrag,\n    handles: useDragContext()?.handles,\n    threshold: 5,\n    onDragStart,\n    onDragEnd,\n    onAnimationEnd,\n    dragHandleSelector,\n  })\n\n  function onDragEnd(translation: Point, velocity: Point) {\n    const distance = Math.sqrt(\n      translation.x * translation.x + translation.y * translation.y\n    )\n    if (distance === 0) {\n      ref.current?.style.removeProperty('translate')\n      return\n    }\n\n    const projectedPosition = {\n      x: translation.x + project(velocity.x),\n      y: translation.y + project(velocity.y),\n    }\n    const nearestCorner = getNearestCorner(projectedPosition)\n    animate(nearestCorner)\n  }\n\n  function onAnimationEnd({ corner }: Corner) {\n    setTimeout(() => {\n      ref.current?.style.removeProperty('translate')\n      setCurrentCorner(corner)\n    })\n  }\n\n  function getNearestCorner({ x, y }: Point): Corner {\n    const allCorners = getCorners()\n    const distances = Object.entries(allCorners).map(([key, translation]) => {\n      const distance = Math.sqrt(\n        (x - translation.x) ** 2 + (y - translation.y) ** 2\n      )\n      return { key, distance }\n    })\n    const min = Math.min(...distances.map((d) => d.distance))\n    const nearest = distances.find((d) => d.distance === min)\n    if (!nearest) {\n      // this should be guarded by an invariant, shouldn't ever happen\n      return { corner: currentCorner, translation: allCorners[currentCorner] }\n    }\n    return {\n      translation: allCorners[nearest.key as Corners],\n      corner: nearest.key as Corners,\n    }\n  }\n\n  function getCorners(): Record<Corners, Point> {\n    const offset = padding * 2\n    const triggerWidth = ref.current?.offsetWidth || 0\n    const triggerHeight = ref.current?.offsetHeight || 0\n    const scrollbarWidth =\n      window.innerWidth - document.documentElement.clientWidth\n\n    function getAbsolutePosition(corner: Corners) {\n      const isRight = corner.includes('right')\n      const isBottom = corner.includes('bottom')\n\n      // Base positions flush against the chosen corner\n      let x = isRight\n        ? window.innerWidth - scrollbarWidth - offset - triggerWidth\n        : 0\n      let y = isBottom ? window.innerHeight - offset - triggerHeight : 0\n\n      // Apply avoidZone offset if this corner is occupied. We only move along\n      // the vertical axis to keep the panel within the viewport. For bottom\n      // corners we move the panel up, for top corners we move it down.\n      if (avoidZone && avoidZone.corner === corner) {\n        const delta = avoidZone.square + avoidZone.padding\n        if (isBottom) {\n          // move up\n          y -= delta\n        } else {\n          // move down\n          y += delta\n        }\n      }\n\n      return { x, y }\n    }\n\n    const basePosition = getAbsolutePosition(currentCorner)\n\n    function rel(pos: Point): Point {\n      return {\n        x: pos.x - basePosition.x,\n        y: pos.y - basePosition.y,\n      }\n    }\n\n    return {\n      'top-left': rel(getAbsolutePosition('top-left')),\n      'top-right': rel(getAbsolutePosition('top-right')),\n      'bottom-left': rel(getAbsolutePosition('bottom-left')),\n      'bottom-right': rel(getAbsolutePosition('bottom-right')),\n    }\n  }\n\n  return (\n    <div {...props} {...drag} ref={ref}>\n      {children}\n    </div>\n  )\n}\n\ninterface UseDragOptions {\n  disabled: boolean\n  onDragStart?: () => void\n  onDrag?: (translation: Point) => void\n  onDragEnd?: (translation: Point, velocity: Point) => void\n  onAnimationEnd?: (corner: Corner) => void\n  threshold: number // Minimum movement before drag starts\n  dragHandleSelector?: string\n  handles?: Set<HTMLElement>\n}\n\ninterface Velocity {\n  position: Point\n  timestamp: number\n}\n\nfunction useDrag(options: UseDragOptions) {\n  const ref = useRef<HTMLDivElement>(null)\n  const machine = useRef<\n    | { state: 'idle' | 'press' | 'drag-end' }\n    | { state: 'drag'; pointerId: number }\n  >({\n    state: 'idle',\n  })\n  const cleanup = useRef<() => void>(null)\n\n  const origin = useRef<Point>({ x: 0, y: 0 })\n  const translation = useRef<Point>({ x: 0, y: 0 })\n  const lastTimestamp = useRef(0)\n  const velocities = useRef<Velocity[]>([])\n\n  const cancel = useCallback(() => {\n    if (machine.current.state === 'drag') {\n      ref.current?.releasePointerCapture(machine.current.pointerId)\n    }\n\n    machine.current =\n      machine.current.state === 'drag'\n        ? { state: 'drag-end' }\n        : { state: 'idle' }\n\n    if (cleanup.current !== null) {\n      cleanup.current()\n      cleanup.current = null\n    }\n\n    velocities.current = []\n\n    ref.current?.classList.remove('dev-tools-grabbing')\n    ref.current?.style.removeProperty('-webkit-user-select')\n    document.body.style.removeProperty('user-select')\n    document.body.style.removeProperty('-webkit-user-select')\n  }, [])\n\n  useLayoutEffect(() => {\n    if (options.disabled) {\n      cancel()\n    }\n  }, [cancel, options.disabled])\n\n  function set(position: Point) {\n    if (ref.current) {\n      translation.current = position\n      ref.current.style.translate = `${position.x}px ${position.y}px`\n    }\n  }\n\n  function animate(corner: Corner) {\n    const el = ref.current\n    if (el === null) return\n\n    function listener(e: TransitionEvent) {\n      if (e.propertyName === 'translate') {\n        options.onAnimationEnd?.(corner)\n        translation.current = { x: 0, y: 0 }\n        el!.style.transition = ''\n        el!.removeEventListener('transitionend', listener)\n      }\n    }\n\n    // Generated from https://www.easing.dev/spring\n    el.style.transition = 'translate 491.22ms var(--timing-bounce)'\n    el.addEventListener('transitionend', listener)\n    set(corner.translation)\n  }\n\n  function onClick(e: MouseEvent) {\n    if (machine.current.state === 'drag-end') {\n      e.preventDefault()\n      e.stopPropagation()\n      machine.current = { state: 'idle' }\n      ref.current?.removeEventListener('click', onClick)\n    }\n  }\n\n  function isValidDragHandle(target: EventTarget | null): boolean {\n    if (!target || !ref.current) return true\n\n    if (options.handles && options.handles.size > 0) {\n      let node: HTMLElement | null = target as HTMLElement\n      while (node && node !== ref.current) {\n        if (options.handles.has(node)) return true\n        node = node.parentElement\n      }\n      return false\n    }\n\n    if (options.dragHandleSelector) {\n      const element = target as Element\n      return element.closest(options.dragHandleSelector) !== null\n    }\n\n    return true\n  }\n\n  function onPointerDown(e: React.PointerEvent) {\n    if (e.button !== 0) {\n      return // ignore right click\n    }\n\n    // Check if the pointer down event is on a valid drag handle\n    if (!isValidDragHandle(e.target)) {\n      return\n    }\n\n    origin.current = { x: e.clientX, y: e.clientY }\n    machine.current = { state: 'press' }\n    window.addEventListener('pointermove', onPointerMove)\n    window.addEventListener('pointerup', onPointerUp)\n\n    if (cleanup.current !== null) {\n      cleanup.current()\n      cleanup.current = null\n    }\n    cleanup.current = () => {\n      window.removeEventListener('pointermove', onPointerMove)\n      window.removeEventListener('pointerup', onPointerUp)\n    }\n\n    ref.current?.addEventListener('click', onClick)\n  }\n\n  function onPointerMove(e: PointerEvent) {\n    if (machine.current.state === 'press') {\n      const dx = e.clientX - origin.current.x\n      const dy = e.clientY - origin.current.y\n      const distance = Math.sqrt(dx * dx + dy * dy)\n\n      if (distance >= options.threshold) {\n        machine.current = { state: 'drag', pointerId: e.pointerId }\n        ref.current?.setPointerCapture(e.pointerId)\n        ref.current?.classList.add('dev-tools-grabbing')\n        ref.current?.style.setProperty('-webkit-user-select', 'none')\n        document.body.style.userSelect = 'none'\n        document.body.style.webkitUserSelect = 'none'\n        options.onDragStart?.()\n      }\n    }\n\n    if (machine.current.state !== 'drag') return\n\n    const currentPosition = { x: e.clientX, y: e.clientY }\n\n    const dx = currentPosition.x - origin.current.x\n    const dy = currentPosition.y - origin.current.y\n    origin.current = currentPosition\n\n    const newTranslation = {\n      x: translation.current.x + dx,\n      y: translation.current.y + dy,\n    }\n\n    set(newTranslation)\n\n    // Keep a history of recent positions for velocity calculation\n    // Only store points that are at least 10ms apart to avoid too many samples\n    const now = Date.now()\n    const shouldAddToHistory = now - lastTimestamp.current >= 10\n    if (shouldAddToHistory) {\n      velocities.current = [\n        ...velocities.current.slice(-5),\n        { position: currentPosition, timestamp: now },\n      ]\n    }\n\n    lastTimestamp.current = now\n    options.onDrag?.(translation.current)\n  }\n\n  function onPointerUp() {\n    const velocity = calculateVelocity(velocities.current)\n\n    cancel()\n\n    // TODO: This is the onDragEnd when the pointerdown event was fired not the onDragEnd when the pointerup event was fired\n    options.onDragEnd?.(translation.current, velocity)\n  }\n\n  if (options.disabled) {\n    return {\n      ref,\n      animate,\n    }\n  }\n\n  return {\n    ref,\n    onPointerDown,\n    animate,\n  }\n}\n\nfunction calculateVelocity(\n  history: Array<{ position: Point; timestamp: number }>\n): Point {\n  if (history.length < 2) {\n    return { x: 0, y: 0 }\n  }\n\n  const oldestPoint = history[0]\n  const latestPoint = history[history.length - 1]\n\n  const timeDelta = latestPoint.timestamp - oldestPoint.timestamp\n\n  if (timeDelta === 0) {\n    return { x: 0, y: 0 }\n  }\n\n  // Calculate pixels per millisecond\n  const velocityX =\n    (latestPoint.position.x - oldestPoint.position.x) / timeDelta\n  const velocityY =\n    (latestPoint.position.y - oldestPoint.position.y) / timeDelta\n\n  // Convert to pixels per second for more intuitive values\n  return {\n    x: velocityX * 1000,\n    y: velocityY * 1000,\n  }\n}\n\nfunction project(initialVelocity: number, decelerationRate = 0.999) {\n  return ((initialVelocity / 1000) * decelerationRate) / (1 - decelerationRate)\n}\n","import './devtools-indicator.css'\nimport type { CSSProperties } from 'react'\nimport type { DevToolsIndicatorPosition } from '../../shared'\nimport { NextLogo } from './next-logo'\nimport { Toast } from '../toast'\nimport {\n  MENU_CURVE,\n  MENU_DURATION_MS,\n} from '../errors/dev-tools-indicator/utils'\nimport {\n  ACTION_DEVTOOLS_POSITION,\n  STORE_KEY_SHARED_PANEL_LOCATION,\n  STORAGE_KEY_PANEL_POSITION_PREFIX,\n  ACTION_DEVTOOLS_PANEL_POSITION,\n} from '../../shared'\nimport { Draggable } from '../errors/dev-tools-indicator/draggable'\nimport { useDevOverlayContext } from '../../../dev-overlay.browser'\nimport { usePanelRouterContext } from '../../menu/context'\nimport { saveDevToolsConfig } from '../../utils/save-devtools-config'\n\nexport const INDICATOR_PADDING = 20\n\nexport function DevToolsIndicator() {\n  const { state, dispatch } = useDevOverlayContext()\n  const { panel, setPanel, setSelectedIndex } = usePanelRouterContext()\n  const updateAllPanelPositions = useUpdateAllPanelPositions()\n  const [vertical, horizontal] = state.devToolsPosition.split('-', 2)\n\n  return (\n    // TODO: why is this called a toast\n    <Toast\n      id=\"devtools-indicator\"\n      data-nextjs-toast\n      style={\n        {\n          '--animate-out-duration-ms': `${MENU_DURATION_MS}ms`,\n          '--animate-out-timing-function': MENU_CURVE,\n          boxShadow: 'none',\n          [vertical]: `${INDICATOR_PADDING}px`,\n          [horizontal]: `${INDICATOR_PADDING}px`,\n        } as CSSProperties\n      }\n    >\n      <Draggable\n        // avoids a lot of weird edge cases that would cause jank if the logo and panel were de-synced\n        disableDrag={panel !== null}\n        padding={INDICATOR_PADDING}\n        position={state.devToolsPosition}\n        setPosition={(p) => {\n          dispatch({\n            type: ACTION_DEVTOOLS_POSITION,\n            devToolsPosition: p,\n          })\n          saveDevToolsConfig({ devToolsPosition: p })\n\n          updateAllPanelPositions(p)\n        }}\n      >\n        <NextLogo\n          onTriggerClick={() => {\n            const newPanel =\n              panel === 'panel-selector' ? null : 'panel-selector'\n            setPanel(newPanel)\n            if (!newPanel) {\n              setSelectedIndex(-1)\n              return\n            }\n          }}\n        />\n      </Draggable>\n    </Toast>\n  )\n}\n\n/**\n * makes sure we eventually sync the panel to the logo, otherwise\n * it will be jarring if the panels start appearing on the other\n * side of the logo. This wont teleport the panel because the indicator\n * cannot be dragged when any panel is open\n */\nexport const useUpdateAllPanelPositions = () => {\n  const { state, dispatch } = useDevOverlayContext()\n  return (position: DevToolsIndicatorPosition) => {\n    dispatch({\n      type: ACTION_DEVTOOLS_PANEL_POSITION,\n      devToolsPanelPosition: position,\n      key: STORE_KEY_SHARED_PANEL_LOCATION,\n    })\n\n    const panelPositionKeys = Object.keys(state.devToolsPanelPosition).filter(\n      (key) => key.startsWith(STORAGE_KEY_PANEL_POSITION_PREFIX)\n    )\n\n    const panelPositionPatch: Record<string, DevToolsIndicatorPosition> = {\n      [STORE_KEY_SHARED_PANEL_LOCATION]: position,\n    }\n\n    panelPositionKeys.forEach((key) => {\n      dispatch({\n        type: ACTION_DEVTOOLS_PANEL_POSITION,\n        devToolsPanelPosition: position,\n        key,\n      })\n\n      panelPositionPatch[key] = position\n    })\n\n    saveDevToolsConfig({\n      devToolsPanelPosition: panelPositionPatch,\n    })\n  }\n}\n","import { useDevOverlayContext } from '../../dev-overlay.browser'\nimport { useClickOutsideAndEscape } from '../components/errors/dev-tools-indicator/utils'\nimport {\n  useEffectEvent,\n  useLayoutEffect,\n  useRef,\n  createContext,\n  useContext,\n  type CSSProperties,\n  type Dispatch,\n  type SetStateAction,\n} from 'react'\nimport { getIndicatorOffset } from '../utils/indicator-metrics'\nimport { INDICATOR_PADDING } from '../components/devtools-indicator/devtools-indicator'\nimport { usePanelRouterContext } from './context'\nimport { usePanelContext } from './panel-router'\n\ninterface C {\n  closeMenu?: () => void\n  selectedIndex: number\n  setSelectedIndex: Dispatch<SetStateAction<number>>\n}\n\nconst MenuContext = createContext({} as C)\n\nfunction MenuItem({\n  index,\n  label,\n  value,\n  onClick,\n  href,\n  ...props\n}: {\n  index?: number\n  title?: string\n  label: string\n  value: React.ReactNode\n  href?: string\n  onClick?: () => void\n}) {\n  const isInteractive =\n    typeof onClick === 'function' || typeof href === 'string'\n  const { closeMenu, selectedIndex, setSelectedIndex } = useContext(MenuContext)\n  const selected = selectedIndex === index\n\n  function click() {\n    if (isInteractive) {\n      onClick?.()\n      closeMenu?.()\n      if (href) {\n        window.open(href, '_blank', 'noopener, noreferrer')\n      }\n    }\n  }\n\n  return (\n    <div\n      className=\"dev-tools-indicator-item\"\n      data-index={index}\n      data-selected={selected}\n      onClick={click}\n      // Needs `onMouseMove` instead of enter to work together\n      // with keyboard and mouse input\n      onMouseMove={() => {\n        if (isInteractive && index !== undefined && selectedIndex !== index) {\n          setSelectedIndex(index)\n        }\n      }}\n      onMouseLeave={() => setSelectedIndex(-1)}\n      onKeyDown={(e) => {\n        if (e.key === 'Enter' || e.key === ' ') {\n          click()\n        }\n      }}\n      role={isInteractive ? 'menuitem' : undefined}\n      tabIndex={selected ? 0 : -1}\n      {...props}\n    >\n      <span className=\"dev-tools-indicator-label\">{label}</span>\n      <span className=\"dev-tools-indicator-value\">{value}</span>\n    </div>\n  )\n}\n\nexport const DevtoolMenu = ({\n  closeOnClickOutside = true,\n  items,\n}: {\n  closeOnClickOutside?: boolean\n  items: Array<\n    | false\n    | undefined\n    | null\n    | {\n        onClick?: () => void\n        title?: string\n        label: string\n        value: React.ReactNode\n        attributes?: Record<string, string | boolean>\n        footer?: boolean\n      }\n  >\n}) => {\n  const { state } = useDevOverlayContext()\n  const { setPanel, triggerRef, setSelectedIndex, selectedIndex } =\n    usePanelRouterContext()\n  const { mounted } = usePanelContext()\n\n  const [vertical, horizontal] = state.devToolsPosition.split('-', 2)\n\n  const menuRef = useRef<HTMLDivElement>(null)\n\n  useClickOutsideAndEscape(\n    menuRef,\n    triggerRef,\n    closeOnClickOutside && mounted,\n    (reason) => {\n      switch (reason) {\n        case 'escape': {\n          setPanel(null)\n          setSelectedIndex(-1)\n          return\n        }\n        case 'outside': {\n          if (!closeOnClickOutside) {\n            return\n          }\n          setPanel(null)\n          setSelectedIndex(-1)\n          return\n        }\n        default: {\n          return null!\n        }\n      }\n    }\n  )\n  const fireInitialSelectMenuItem = useEffectEvent(() => {\n    selectMenuItem({\n      index: selectedIndex === -1 ? 'first' : selectedIndex,\n      menuRef,\n      setSelectedIndex,\n    })\n  })\n\n  useLayoutEffect(() => {\n    menuRef.current?.focus() // allows keydown to be captured\n    fireInitialSelectMenuItem()\n  }, [])\n\n  const indicatorOffset = getIndicatorOffset(state)\n\n  const [indicatorVertical, indicatorHorizontal] = state.devToolsPosition.split(\n    '-',\n    2\n  )\n\n  const verticalOffset =\n    vertical === indicatorVertical && horizontal === indicatorHorizontal\n      ? indicatorOffset\n      : INDICATOR_PADDING\n\n  const positionStyle = {\n    [vertical]: `${verticalOffset}px`,\n    [horizontal]: `${INDICATOR_PADDING}px`,\n    [vertical === 'top' ? 'bottom' : 'top']: 'auto',\n    [horizontal === 'left' ? 'right' : 'left']: 'auto',\n  } as CSSProperties\n  const definedItems = items.filter((item) => !!item)\n  const itemsAboveFooter = definedItems.filter((item) => !item.footer)\n  const itemsBelowFooter = definedItems.filter((item) => item.footer)\n\n  function onMenuKeydown(e: React.KeyboardEvent<HTMLDivElement | null>) {\n    e.preventDefault()\n\n    const clickableItems = definedItems.filter((item) => item.onClick)\n    const totalClickableItems = clickableItems.length\n\n    switch (e.key) {\n      case 'ArrowDown':\n        const next =\n          selectedIndex >= totalClickableItems - 1 ? 0 : selectedIndex + 1\n        selectMenuItem({ index: next, menuRef, setSelectedIndex })\n        break\n      case 'ArrowUp':\n        const prev =\n          selectedIndex <= 0 ? totalClickableItems - 1 : selectedIndex - 1\n        selectMenuItem({ index: prev, menuRef, setSelectedIndex })\n        break\n      case 'Home':\n        selectMenuItem({ index: 'first', menuRef, setSelectedIndex })\n        break\n      case 'End':\n        selectMenuItem({ index: 'last', menuRef, setSelectedIndex })\n        break\n      case 'n':\n        if (e.ctrlKey) {\n          const nextCtrl =\n            selectedIndex >= totalClickableItems - 1 ? 0 : selectedIndex + 1\n          selectMenuItem({ index: nextCtrl, menuRef, setSelectedIndex })\n        }\n        break\n      case 'p':\n        if (e.ctrlKey) {\n          const prevCtrl =\n            selectedIndex <= 0 ? totalClickableItems - 1 : selectedIndex - 1\n          selectMenuItem({ index: prevCtrl, menuRef, setSelectedIndex })\n        }\n        break\n      default:\n        break\n    }\n  }\n\n  return (\n    <div\n      ref={menuRef}\n      onKeyDown={onMenuKeydown}\n      id=\"nextjs-dev-tools-menu\"\n      role=\"menu\"\n      dir=\"ltr\"\n      aria-orientation=\"vertical\"\n      aria-label=\"Next.js Dev Tools Items\"\n      tabIndex={-1}\n      style={{\n        outline: 0,\n        WebkitFontSmoothing: 'antialiased',\n        display: 'flex',\n        flexDirection: 'column',\n        alignItems: 'flex-start',\n        background: 'var(--color-background-100)',\n\n        backgroundClip: 'padding-box',\n        boxShadow: 'var(--shadow-menu)',\n        borderRadius: 'var(--rounded-xl)',\n        position: 'fixed',\n        fontFamily: 'var(--font-stack-sans)',\n        zIndex: 'var(--top-z-index)',\n        overflow: 'hidden',\n        opacity: 1,\n        minWidth: '248px',\n        transition:\n          'opacity var(--animate-out-duration-ms) var(--animate-out-timing-function)',\n        border: '1px solid var(--color-gray-alpha-400)',\n        ...positionStyle,\n      }}\n    >\n      <MenuContext\n        value={{\n          selectedIndex,\n          setSelectedIndex,\n        }}\n      >\n        <div style={{ padding: '6px', width: '100%' }}>\n          {itemsAboveFooter.map((item, index) => (\n            <MenuItem\n              key={item.label}\n              title={item.title}\n              label={item.label}\n              value={item.value}\n              onClick={item.onClick}\n              index={\n                item.onClick\n                  ? getAdjustedIndex(itemsAboveFooter, index)\n                  : undefined\n              }\n              {...item.attributes}\n            />\n          ))}\n        </div>\n        <div className=\"dev-tools-indicator-footer\">\n          {itemsBelowFooter.map((item, index) => (\n            <MenuItem\n              key={item.label}\n              title={item.title}\n              label={item.label}\n              value={item.value}\n              onClick={item.onClick}\n              {...item.attributes}\n              index={\n                item.onClick\n                  ? getAdjustedIndex(itemsBelowFooter, index) +\n                    getClickableItemsCount(itemsAboveFooter)\n                  : undefined\n              }\n            />\n          ))}\n        </div>\n      </MenuContext>\n    </div>\n  )\n}\n\nfunction getAdjustedIndex(\n  items: Array<{ onClick?: () => void }>,\n  targetIndex: number\n): number {\n  let adjustedIndex = 0\n\n  for (let i = 0; i <= targetIndex && i < items.length; i++) {\n    if (items[i].onClick) {\n      if (i === targetIndex) {\n        return adjustedIndex\n      }\n      adjustedIndex++\n    }\n  }\n\n  return adjustedIndex\n}\n\nfunction getClickableItemsCount(\n  items: Array<{ onClick?: () => void }>\n): number {\n  return items.filter((item) => item.onClick).length\n}\n\nexport function IssueCount({\n  children,\n  variant = 'issue',\n}: {\n  children: number\n  variant?: 'issue' | 'insight'\n}) {\n  return (\n    <span\n      className=\"dev-tools-indicator-issue-count\"\n      data-has-issues={children > 0}\n      data-variant={variant}\n    >\n      <span className=\"dev-tools-indicator-issue-count-indicator\" />\n      {children}\n    </span>\n  )\n}\n\nexport function ChevronRight() {\n  return (\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n    >\n      <path\n        fill=\"#666\"\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M5.50011 1.93945L6.03044 2.46978L10.8537 7.293C11.2442 7.68353 11.2442 8.31669 10.8537 8.70722L6.03044 13.5304L5.50011 14.0608L4.43945 13.0001L4.96978 12.4698L9.43945 8.00011L4.96978 3.53044L4.43945 3.00011L5.50011 1.93945Z\"\n      />\n    </svg>\n  )\n}\n\nfunction selectMenuItem({\n  index,\n  menuRef,\n  setSelectedIndex,\n}: {\n  index: number | 'first' | 'last'\n  menuRef: React.RefObject<HTMLDivElement | null>\n  setSelectedIndex: (index: number) => void\n}) {\n  if (index === 'first') {\n    setTimeout(() => {\n      const all = menuRef.current?.querySelectorAll('[role=\"menuitem\"]')\n      if (all) {\n        const firstIndex = all[0].getAttribute('data-index')\n        selectMenuItem({ index: Number(firstIndex), menuRef, setSelectedIndex })\n      }\n    })\n    return\n  }\n\n  if (index === 'last') {\n    setTimeout(() => {\n      const all = menuRef.current?.querySelectorAll('[role=\"menuitem\"]')\n      if (all) {\n        const lastIndex = all.length - 1\n        selectMenuItem({ index: lastIndex, menuRef, setSelectedIndex })\n      }\n    })\n    return\n  }\n\n  const el = menuRef.current?.querySelector(\n    `[data-index=\"${index}\"]`\n  ) as HTMLElement\n\n  if (el) {\n    setSelectedIndex(index)\n    el?.focus()\n  }\n}\n","import {\n  createContext,\n  useCallback,\n  useContext,\n  useEffectEvent,\n  useLayoutEffect,\n  useState,\n  type RefObject,\n} from 'react'\nimport { STORE_KEY_SHARED_PANEL_SIZE, type Corners } from '../../../shared'\n\nexport type ResizeDirection =\n  | 'top'\n  | 'right'\n  | 'bottom'\n  | 'left'\n  | 'top-left'\n  | 'top-right'\n  | 'bottom-left'\n  | 'bottom-right'\n\ninterface ResizeContextValue {\n  resizeRef: RefObject<HTMLElement | null>\n  minWidth: number\n  minHeight: number\n  maxWidth?: number\n  maxHeight?: number\n  draggingDirection: ResizeDirection | null\n  setDraggingDirection: (direction: ResizeDirection | null) => void\n  storageKey: string\n}\n\nconst ResizeContext = createContext<ResizeContextValue>(null!)\n\nconst constrainDimensions = (params: {\n  width: number\n  height: number\n  minWidth: number\n  minHeight: number\n}) => {\n  const maxWidth = window.innerWidth * 0.95\n  const maxHeight = window.innerHeight * 0.95\n\n  return {\n    width: Math.min(maxWidth, Math.max(params.minWidth, params.width)),\n    height: Math.min(maxHeight, Math.max(params.minHeight, params.height)),\n  }\n}\n\ninterface ResizeProviderProps {\n  value: {\n    resizeRef: RefObject<HTMLElement | null>\n    minWidth?: number\n    minHeight?: number\n    maxWidth?: number\n    maxHeight?: number\n    devToolsPosition: Corners\n    devToolsPanelSize: Record<string, { width: number; height: number }>\n    storageKey?: string\n    initialSize?: { height: number; width: number }\n  }\n  children: React.ReactNode\n}\n\nexport const ResizeProvider = ({ value, children }: ResizeProviderProps) => {\n  const minWidth = value.minWidth ?? 100\n  const minHeight = value.minHeight ?? 80\n  const maxWidth = value.maxWidth\n  const maxHeight = value.maxHeight\n  const [draggingDirection, setDraggingDirection] =\n    useState<ResizeDirection | null>(null)\n\n  const storageKey = value.storageKey ?? STORE_KEY_SHARED_PANEL_SIZE\n\n  const { resizeRef } = value\n  const applyConstrainedDimensions = useCallback(() => {\n    if (!resizeRef.current) return\n\n    // this feels weird to read local storage on resize, but we don't\n    // track the dimensions of the container, and this is better than\n    // getBoundingClientReact\n\n    // an optimization if this is too expensive is to maintain the current\n    // container size in a ref and update it on resize, which is essentially\n    // what we're doing here, just dumber\n    if (draggingDirection !== null) {\n      // Don't override live resizing operation with stale cached values.\n      return\n    }\n\n    const dim = value.devToolsPanelSize[storageKey]\n    if (!dim) {\n      return\n    }\n    const { height, width } = constrainDimensions({\n      ...dim,\n      minWidth: minWidth ?? 100,\n      minHeight: minHeight ?? 80,\n    })\n\n    resizeRef.current.style.width = `${width}px`\n    resizeRef.current.style.height = `${height}px`\n    return true\n  }, [\n    resizeRef,\n    draggingDirection,\n    storageKey,\n    minWidth,\n    minHeight,\n    value.devToolsPanelSize,\n  ])\n\n  const fireInitialConstrainDimensions = useEffectEvent(() => {\n    const applied = applyConstrainedDimensions()\n    if (\n      !applied &&\n      resizeRef.current &&\n      value.initialSize?.height &&\n      value.initialSize.width\n    ) {\n      const { height, width } = constrainDimensions({\n        height: value.initialSize.height,\n        width: value.initialSize.width,\n        minWidth: minWidth ?? 100,\n        minHeight: minHeight ?? 80,\n      })\n      resizeRef.current.style.width = `${width}px`\n      resizeRef.current.style.height = `${height}px`\n    }\n  })\n\n  useLayoutEffect(() => {\n    fireInitialConstrainDimensions()\n  }, [])\n\n  useLayoutEffect(() => {\n    window.addEventListener('resize', applyConstrainedDimensions)\n    return () =>\n      window.removeEventListener('resize', applyConstrainedDimensions)\n  }, [\n    applyConstrainedDimensions,\n    value.initialSize?.height,\n    value.initialSize?.width,\n    value.resizeRef,\n  ])\n\n  return (\n    <ResizeContext.Provider\n      value={{\n        resizeRef: value.resizeRef,\n        minWidth,\n        minHeight,\n        maxWidth,\n        maxHeight,\n        draggingDirection,\n        setDraggingDirection,\n        storageKey,\n      }}\n    >\n      {children}\n    </ResizeContext.Provider>\n  )\n}\n\nexport const useResize = () => {\n  const context = useContext(ResizeContext)\n  if (!context) {\n    throw new Error('useResize must be used within a Resize provider')\n  }\n  return context\n}\n","\n      import API from \"!../../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"../../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n      import setAttributes from \"!../../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./resize-handle.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./resize-handle.css\";\n       export default content && content.locals ? content.locals : undefined;\n","import { useState, useLayoutEffect } from 'react'\nimport type { Corners } from '../../../shared'\nimport { useResize, type ResizeDirection } from './resize-provider'\nimport './resize-handle.css'\nimport { saveDevToolsConfig } from '../../../utils/save-devtools-config'\n\nexport const ResizeHandle = ({\n  direction,\n  position,\n}: {\n  direction: ResizeDirection\n  position: Corners\n}) => {\n  const {\n    resizeRef,\n    minWidth,\n    minHeight,\n    maxWidth,\n    maxHeight,\n    storageKey,\n    draggingDirection,\n    setDraggingDirection,\n  } = useResize()\n  const [borderWidths, setBorderWidths] = useState({\n    top: 0,\n    right: 0,\n    bottom: 0,\n    left: 0,\n  })\n\n  // TODO: NEXT-4645\n  const shouldShowHandle = () => {\n    const getOppositeCorner = (corner: Corners): ResizeDirection => {\n      switch (corner) {\n        case 'top-left':\n          return 'bottom-right'\n        case 'top-right':\n          return 'bottom-left'\n        case 'bottom-left':\n          return 'top-right'\n        case 'bottom-right':\n          return 'top-left'\n        default: {\n          corner satisfies never\n          return null!\n        }\n      }\n    }\n\n    // we block the sides of the corner its in (bottom-left has bottom and left sides blocked from resizing)\n    // because there shouldn't be anywhere to resize, and if the user decides to resize from that point it\n    // would be unhandled/slightly janky (the component would have to re-magnetic-snap after the resize)\n    if (position.split('-').includes(direction)) return false\n\n    // same logic as above, but the only corner resize that makes\n    // sense is the corner fully exposed (the opposing corner)\n    const isCorner = direction.includes('-')\n    if (isCorner) {\n      const opposite = getOppositeCorner(position)\n      return direction === opposite\n    }\n\n    return true\n  }\n\n  // we want the resize lines to be flush with the entire true width of the containers box\n  // and we don't want the user of ResizeHandle to have to tell us the border width\n  useLayoutEffect(() => {\n    if (!resizeRef.current) return\n\n    const element = resizeRef.current\n    const computedStyle = window.getComputedStyle(element)\n\n    const borderTop = parseFloat(computedStyle.borderTopWidth) || 0\n    const borderRight = parseFloat(computedStyle.borderRightWidth) || 0\n    const borderBottom = parseFloat(computedStyle.borderBottomWidth) || 0\n    const borderLeft = parseFloat(computedStyle.borderLeftWidth) || 0\n\n    setBorderWidths({\n      top: borderTop,\n      right: borderRight,\n      bottom: borderBottom,\n      left: borderLeft,\n    })\n  }, [resizeRef])\n\n  const handleMouseDown = (mouseDownEvent: React.MouseEvent) => {\n    mouseDownEvent.preventDefault()\n    if (!resizeRef.current) return\n    setDraggingDirection(direction)\n\n    const element = resizeRef.current\n    const initialRect = element.getBoundingClientRect()\n    const startX = mouseDownEvent.clientX\n    const startY = mouseDownEvent.clientY\n\n    const handleMouseMove = (mouseMoveEvent: MouseEvent) => {\n      const deltaX = mouseMoveEvent.clientX - startX\n      const deltaY = mouseMoveEvent.clientY - startY\n\n      const { newWidth, newHeight } = getNewDimensions(\n        direction,\n        deltaX,\n        deltaY,\n        initialRect,\n        minWidth,\n        minHeight,\n        maxWidth,\n        maxHeight\n      )\n\n      if (newWidth !== undefined) {\n        element.style.width = `${newWidth}px`\n      }\n      if (newHeight !== undefined) {\n        element.style.height = `${newHeight}px`\n      }\n    }\n\n    const handleMouseUp = () => {\n      setDraggingDirection(null)\n      document.removeEventListener('mousemove', handleMouseMove)\n      document.removeEventListener('mouseup', handleMouseUp)\n      if (!resizeRef.current) {\n        // possible if the user closes during drag\n        return\n      }\n\n      const { width, height } = resizeRef.current.getBoundingClientRect()\n      saveDevToolsConfig({\n        devToolsPanelSize: { [storageKey]: { width, height } },\n      })\n    }\n    document.addEventListener('mousemove', handleMouseMove)\n    document.addEventListener('mouseup', handleMouseUp)\n  }\n\n  if (!shouldShowHandle()) {\n    return null\n  }\n  const totalHorizontalBorder = borderWidths.left + borderWidths.right\n  const totalVerticalBorder = borderWidths.top + borderWidths.bottom\n\n  const isCornerHandle = direction.includes('-')\n\n  return (\n    <>\n      {/* this is what actually captures the events, its partially on the container, and partially off */}\n      <div\n        className={`resize-container ${direction} ${draggingDirection && draggingDirection !== direction ? 'no-hover' : ''}`}\n        onMouseDown={handleMouseDown}\n      />\n\n      {/* this panel appears to capture the click, but its just a visual indicator for user of the resize target */}\n      {!isCornerHandle && (\n        <div\n          className={`resize-line ${direction} ${draggingDirection === direction ? 'dragging' : ''}`}\n          style={\n            {\n              // We want the resize line to appear to come out of the back\n              // of the div flush with the full box, otherwise there are a\n              // few px missing and it looks jank\n              '--border-horizontal': `${totalHorizontalBorder}px`,\n              '--border-vertical': `${totalVerticalBorder}px`,\n              '--border-top': `${borderWidths.top}px`,\n              '--border-right': `${borderWidths.right}px`,\n              '--border-bottom': `${borderWidths.bottom}px`,\n              '--border-left': `${borderWidths.left}px`,\n            } as React.CSSProperties\n          }\n        />\n      )}\n    </>\n  )\n}\n\nconst getNewDimensions = (\n  direction: ResizeDirection,\n  deltaX: number,\n  deltaY: number,\n  initialRect: DOMRect,\n  minWidth: number,\n  minHeight: number,\n  maxWidth?: number,\n  maxHeight?: number\n) => {\n  const effectiveMaxWidth = maxWidth ?? window.innerWidth * 0.95\n  const effectiveMaxHeight = maxHeight ?? window.innerHeight * 0.95\n\n  switch (direction) {\n    case 'right':\n      return {\n        newWidth: Math.min(\n          effectiveMaxWidth,\n          Math.max(minWidth, initialRect.width + deltaX)\n        ),\n        newHeight: initialRect.height,\n      }\n\n    case 'left': {\n      return {\n        newWidth: Math.min(\n          effectiveMaxWidth,\n          Math.max(minWidth, initialRect.width - deltaX)\n        ),\n        newHeight: initialRect.height,\n      }\n    }\n\n    case 'bottom':\n      return {\n        newWidth: initialRect.width,\n        newHeight: Math.min(\n          effectiveMaxHeight,\n          Math.max(minHeight, initialRect.height + deltaY)\n        ),\n      }\n\n    case 'top': {\n      return {\n        newWidth: initialRect.width,\n        newHeight: Math.min(\n          effectiveMaxHeight,\n          Math.max(minHeight, initialRect.height - deltaY)\n        ),\n      }\n    }\n\n    case 'top-left': {\n      return {\n        newWidth: Math.min(\n          effectiveMaxWidth,\n          Math.max(minWidth, initialRect.width - deltaX)\n        ),\n        newHeight: Math.min(\n          effectiveMaxHeight,\n          Math.max(minHeight, initialRect.height - deltaY)\n        ),\n      }\n    }\n\n    case 'top-right': {\n      return {\n        newWidth: Math.min(\n          effectiveMaxWidth,\n          Math.max(minWidth, initialRect.width + deltaX)\n        ),\n        newHeight: Math.min(\n          effectiveMaxHeight,\n          Math.max(minHeight, initialRect.height - deltaY)\n        ),\n      }\n    }\n\n    case 'bottom-left': {\n      return {\n        newWidth: Math.min(\n          effectiveMaxWidth,\n          Math.max(minWidth, initialRect.width - deltaX)\n        ),\n        newHeight: Math.min(\n          effectiveMaxHeight,\n          Math.max(minHeight, initialRect.height + deltaY)\n        ),\n      }\n    }\n\n    case 'bottom-right':\n      return {\n        newWidth: Math.min(\n          effectiveMaxWidth,\n          Math.max(minWidth, initialRect.width + deltaX)\n        ),\n        newHeight: Math.min(\n          effectiveMaxHeight,\n          Math.max(minHeight, initialRect.height + deltaY)\n        ),\n      }\n    default: {\n      direction satisfies never\n      return null!\n    }\n  }\n}\n","\n      import API from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n      import setAttributes from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./dynamic-panel.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./dynamic-panel.css\";\n       export default content && content.locals ? content.locals : undefined;\n","import { useRef, useState, useEffect, type CSSProperties } from 'react'\nimport { useDevOverlayContext } from '../../dev-overlay.browser'\nimport { INDICATOR_PADDING } from '../components/devtools-indicator/devtools-indicator'\nimport { ResizeHandle } from '../components/devtools-panel/resize/resize-handle'\nimport { ResizeProvider } from '../components/devtools-panel/resize/resize-provider'\nimport {\n  DragHandle,\n  DragProvider,\n} from '../components/errors/dev-tools-indicator/drag-context'\nimport { Draggable } from '../components/errors/dev-tools-indicator/draggable'\nimport { useClickOutsideAndEscape } from '../components/errors/dev-tools-indicator/utils'\nimport { usePanelRouterContext } from '../menu/context'\nimport { usePanelContext } from '../menu/panel-router'\nimport {\n  ACTION_DEVTOOLS_PANEL_POSITION,\n  STORAGE_KEY_PANEL_POSITION_PREFIX,\n  STORE_KEY_PANEL_SIZE_PREFIX,\n  STORE_KEY_SHARED_PANEL_LOCATION,\n  STORE_KEY_SHARED_PANEL_SIZE,\n} from '../shared'\nimport { getIndicatorOffset } from '../utils/indicator-metrics'\nimport { saveDevToolsConfig } from '../utils/save-devtools-config'\nimport './dynamic-panel.css'\n\nfunction resolveCSSValue(\n  value: string | number,\n  dimension: 'width' | 'height' = 'width'\n): number {\n  if (typeof value === 'number') return value\n\n  // kinda hacky, might be a better way to do this\n  const temp = document.createElement('div')\n  temp.style.position = 'absolute'\n  temp.style.visibility = 'hidden'\n  if (dimension === 'width') {\n    temp.style.width = value\n  } else {\n    temp.style.height = value\n  }\n  document.body.appendChild(temp)\n  const pixels = dimension === 'width' ? temp.offsetWidth : temp.offsetHeight\n  document.body.removeChild(temp)\n  return pixels\n}\n\nfunction useResolvedDimensions(\n  minWidth?: string | number,\n  minHeight?: string | number,\n  maxWidth?: string | number,\n  maxHeight?: string | number\n) {\n  const [dimensions, setDimensions] = useState(() => ({\n    minWidth: minWidth ? resolveCSSValue(minWidth, 'width') : undefined,\n    minHeight: minHeight ? resolveCSSValue(minHeight, 'height') : undefined,\n    maxWidth: maxWidth ? resolveCSSValue(maxWidth, 'width') : undefined,\n    maxHeight: maxHeight ? resolveCSSValue(maxHeight, 'height') : undefined,\n  }))\n\n  useEffect(() => {\n    const updateDimensions = () => {\n      setDimensions({\n        minWidth: minWidth ? resolveCSSValue(minWidth, 'width') : undefined,\n        minHeight: minHeight ? resolveCSSValue(minHeight, 'height') : undefined,\n        maxWidth: maxWidth ? resolveCSSValue(maxWidth, 'width') : undefined,\n        maxHeight: maxHeight ? resolveCSSValue(maxHeight, 'height') : undefined,\n      })\n    }\n\n    window.addEventListener('resize', updateDimensions)\n    return () => window.removeEventListener('resize', updateDimensions)\n  }, [minWidth, minHeight, maxWidth, maxHeight])\n\n  return dimensions\n}\n\nexport function DynamicPanel({\n  header,\n  children,\n  draggable = false,\n  sizeConfig = {\n    kind: 'resizable',\n    minWidth: 400,\n    minHeight: 350,\n    maxWidth: 1000,\n    maxHeight: 1000,\n    initialSize: {\n      height: 400,\n      width: 500,\n    },\n  },\n  closeOnClickOutside = false,\n  sharePanelSizeGlobally = true,\n  sharePanelPositionGlobally = true,\n  containerProps,\n  onClose,\n  keepBehindErrorOverlay = false,\n}: {\n  header: React.ReactNode\n  children: React.ReactNode\n  draggable?: boolean\n  sharePanelSizeGlobally?: boolean\n  sharePanelPositionGlobally?: boolean\n  containerProps?: React.HTMLProps<HTMLDivElement>\n  sizeConfig?:\n    | {\n        kind: 'resizable'\n        minWidth: string | number\n        minHeight: string | number\n        maxWidth: string | number\n        maxHeight: string | number\n        initialSize: { height: number; width: number }\n        sides?: Array<'horizontal' | 'vertical' | 'diagonal'>\n      }\n    | {\n        kind: 'fixed'\n        height: number\n        width: number\n      }\n    | {\n        kind: 'auto'\n        width: number\n      }\n  closeOnClickOutside?: boolean\n  onClose?: (reason: 'escape' | 'outside') => void\n  keepBehindErrorOverlay?: boolean\n}) {\n  const { setPanel } = usePanelRouterContext()\n  const { name, mounted } = usePanelContext()\n  const resizeStorageKey = sharePanelSizeGlobally\n    ? STORE_KEY_SHARED_PANEL_SIZE\n    : `${STORE_KEY_PANEL_SIZE_PREFIX}_${name}`\n\n  const positionStorageKey = sharePanelPositionGlobally\n    ? STORE_KEY_SHARED_PANEL_LOCATION\n    : `${STORAGE_KEY_PANEL_POSITION_PREFIX}_${name}`\n\n  const { dispatch, state } = useDevOverlayContext()\n  const devtoolsPanelPosition =\n    state.devToolsPanelPosition[positionStorageKey] ?? state.devToolsPosition\n  const [panelVertical, panelHorizontal] = devtoolsPanelPosition.split('-', 2)\n  const resizeContainerRef = useRef<HTMLDivElement>(null)\n  const { triggerRef } = usePanelRouterContext()\n\n  useClickOutsideAndEscape(\n    resizeContainerRef,\n    triggerRef,\n    mounted,\n    (reason) => {\n      if (onClose) {\n        onClose(reason)\n        return\n      }\n      switch (reason) {\n        case 'escape': {\n          setPanel('panel-selector')\n          return\n        }\n        case 'outside': {\n          if (closeOnClickOutside) {\n            setPanel('panel-selector')\n          }\n          return\n        }\n        default: {\n          return null!\n        }\n      }\n    }\n  )\n\n  useEffect(() => {\n    if (mounted) {\n      resizeContainerRef.current?.focus()\n    }\n  }, [mounted])\n\n  const indicatorOffset = getIndicatorOffset(state)\n\n  const [indicatorVertical, indicatorHorizontal] = state.devToolsPosition.split(\n    '-',\n    2\n  )\n\n  const verticalOffset =\n    panelVertical === indicatorVertical &&\n    panelHorizontal === indicatorHorizontal\n      ? indicatorOffset\n      : INDICATOR_PADDING\n\n  const positionStyle = {\n    [panelVertical]: `${verticalOffset}px`,\n    [panelHorizontal]: `${INDICATOR_PADDING}px`,\n    [panelVertical === 'top' ? 'bottom' : 'top']: 'auto',\n    [panelHorizontal === 'left' ? 'right' : 'left']: 'auto',\n  } as CSSProperties\n\n  const isResizable = sizeConfig.kind === 'resizable'\n\n  const isKeptBehindErrorOverlay =\n    keepBehindErrorOverlay && state.isErrorOverlayOpen\n\n  const resolvedDimensions = useResolvedDimensions(\n    isResizable ? sizeConfig.minWidth : undefined,\n    isResizable ? sizeConfig.minHeight : undefined,\n    isResizable ? sizeConfig.maxWidth : undefined,\n    isResizable ? sizeConfig.maxHeight : undefined\n  )\n\n  const minWidth = resolvedDimensions.minWidth\n  const minHeight = resolvedDimensions.minHeight\n  const maxWidth = resolvedDimensions.maxWidth\n  const maxHeight = resolvedDimensions.maxHeight\n\n  const panelSizeKey = name\n    ? `${STORE_KEY_PANEL_SIZE_PREFIX}_${name}`\n    : STORE_KEY_SHARED_PANEL_SIZE\n  const panelSize = state.devToolsPanelSize[panelSizeKey]\n\n  return (\n    <ResizeProvider\n      value={{\n        resizeRef: resizeContainerRef,\n        initialSize:\n          sizeConfig.kind === 'resizable'\n            ? sizeConfig.initialSize\n            : sizeConfig.kind === 'fixed'\n              ? { height: sizeConfig.height, width: sizeConfig.width }\n              : undefined,\n        minWidth,\n        minHeight,\n        maxWidth,\n        maxHeight,\n        devToolsPosition: state.devToolsPosition,\n        devToolsPanelSize: state.devToolsPanelSize,\n        storageKey: resizeStorageKey,\n      }}\n    >\n      <div\n        tabIndex={-1}\n        ref={resizeContainerRef}\n        className=\"dynamic-panel-container\"\n        inert={isKeptBehindErrorOverlay || undefined}\n        style={\n          {\n            // While the error overlay is open, drop below it (2147483646) so the\n            // overlay's blur+dim backdrop covers this panel. Otherwise inherit the\n            // z-index from .dynamic-panel-container in dynamic-panel.css.\n            zIndex: isKeptBehindErrorOverlay ? 2147483645 : undefined,\n            '--panel-top': positionStyle.top,\n            '--panel-bottom': positionStyle.bottom,\n            '--panel-left': positionStyle.left,\n            '--panel-right': positionStyle.right,\n            ...(isResizable\n              ? {\n                  '--panel-min-width': minWidth ? `${minWidth}px` : undefined,\n                  '--panel-min-height': minHeight\n                    ? `${minHeight}px`\n                    : undefined,\n                  '--panel-max-width': maxWidth ? `${maxWidth}px` : undefined,\n                  '--panel-max-height': maxHeight\n                    ? `${maxHeight}px`\n                    : undefined,\n                }\n              : sizeConfig.kind === 'auto'\n                ? {\n                    '--panel-height': 'auto',\n                    '--panel-width': `${panelSize ? panelSize.width : sizeConfig.width}px`,\n                  }\n                : {\n                    '--panel-height': `${panelSize ? panelSize.height : sizeConfig.height}px`,\n                    '--panel-width': `${panelSize ? panelSize.width : sizeConfig.width}px`,\n                  }),\n          } as React.CSSProperties & Record<string, string | number | undefined>\n        }\n      >\n        <DragProvider disabled={!draggable}>\n          <Draggable\n            dragHandleSelector=\".resize-container\"\n            avoidZone={{\n              corner: state.devToolsPosition,\n              square: 25 / state.scale,\n              padding: INDICATOR_PADDING,\n            }}\n            padding={INDICATOR_PADDING}\n            position={devtoolsPanelPosition}\n            setPosition={(p) => {\n              dispatch({\n                type: ACTION_DEVTOOLS_PANEL_POSITION,\n                devToolsPanelPosition: p,\n                key: positionStorageKey,\n              })\n\n              if (sizeConfig.kind === 'resizable') {\n                saveDevToolsConfig({\n                  devToolsPanelPosition: {\n                    [positionStorageKey]: p,\n                  },\n                })\n              }\n            }}\n            style={{\n              overflow: 'auto',\n              width: '100%',\n              height: '100%',\n            }}\n            disableDrag={!draggable}\n          >\n            <>\n              <div\n                {...containerProps}\n                className={`panel-content-container ${containerProps?.className || ''}`}\n                style={{\n                  ...containerProps?.style,\n                }}\n              >\n                <DragHandle>{header}</DragHandle>\n                <div\n                  data-nextjs-scrollable-content\n                  className=\"draggable-content\"\n                >\n                  {children}\n                </div>\n              </div>\n              {isResizable && (\n                <>\n                  {(!sizeConfig.sides ||\n                    sizeConfig.sides.includes('vertical')) && (\n                    <>\n                      <ResizeHandle\n                        position={devtoolsPanelPosition}\n                        direction=\"top\"\n                      />\n                      <ResizeHandle\n                        position={devtoolsPanelPosition}\n                        direction=\"bottom\"\n                      />\n                    </>\n                  )}\n                  {(!sizeConfig.sides ||\n                    sizeConfig.sides.includes('horizontal')) && (\n                    <>\n                      <ResizeHandle\n                        position={devtoolsPanelPosition}\n                        direction=\"right\"\n                      />\n                      <ResizeHandle\n                        position={devtoolsPanelPosition}\n                        direction=\"left\"\n                      />\n                    </>\n                  )}\n                  {(!sizeConfig.sides ||\n                    sizeConfig.sides.includes('diagonal')) && (\n                    <>\n                      <ResizeHandle\n                        position={devtoolsPanelPosition}\n                        direction=\"top-left\"\n                      />\n                      <ResizeHandle\n                        position={devtoolsPanelPosition}\n                        direction=\"top-right\"\n                      />\n                      <ResizeHandle\n                        position={devtoolsPanelPosition}\n                        direction=\"bottom-left\"\n                      />\n                      <ResizeHandle\n                        position={devtoolsPanelPosition}\n                        direction=\"bottom-right\"\n                      />\n                    </>\n                  )}\n                </>\n              )}\n            </>\n          </Draggable>\n        </DragProvider>\n      </div>\n    </ResizeProvider>\n  )\n}\n","import type { ComponentProps } from 'react'\n\nfunction StaticRouteContent({\n  routerType,\n  ...props\n}: { routerType: 'pages' | 'app' } & ComponentProps<'div'>) {\n  return (\n    <article className=\"dev-tools-info-article\" {...props}>\n      <p className=\"dev-tools-info-paragraph\">\n        The path{' '}\n        <code className=\"dev-tools-info-code\">{window.location.pathname}</code>{' '}\n        is marked as \"static\" since it will be prerendered during the build\n        time.\n      </p>\n      <p className=\"dev-tools-info-paragraph\">\n        With Static Rendering, routes are rendered at build time, or in the\n        background after{' '}\n        <a\n          className=\"dev-tools-info-link\"\n          href={\n            routerType === 'pages'\n              ? 'https://nextjs.org/docs/pages/building-your-application/data-fetching/incremental-static-regeneration'\n              : `https://nextjs.org/docs/app/building-your-application/data-fetching/incremental-static-regeneration`\n          }\n          target=\"_blank\"\n          rel=\"noopener noreferrer\"\n        >\n          data revalidation\n        </a>\n        .\n      </p>\n      <p className=\"dev-tools-info-paragraph\">\n        Static rendering is useful when a route has data that is not\n        personalized to the user and can be known at build time, such as a\n        static blog post or a product page.\n      </p>\n    </article>\n  )\n}\n\nfunction DynamicRouteContent({\n  routerType,\n  ...props\n}: { routerType: 'pages' | 'app' } & ComponentProps<'div'>) {\n  return (\n    <article className=\"dev-tools-info-article\" {...props}>\n      <p className=\"dev-tools-info-paragraph\">\n        The path{' '}\n        <code className=\"dev-tools-info-code\">{window.location.pathname}</code>{' '}\n        is marked as \"dynamic\" since it will be rendered for each user at{' '}\n        <strong>request time</strong>.\n      </p>\n      <p className=\"dev-tools-info-paragraph\">\n        Dynamic rendering is useful when a route has data that is personalized\n        to the user or has information that can only be known at request time,\n        such as cookies or the URL's search params.\n      </p>\n      {routerType === 'pages' ? (\n        <p className=\"dev-tools-info-pagraph\">\n          Exporting the{' '}\n          <a\n            className=\"dev-tools-info-link\"\n            href=\"https://nextjs.org/docs/pages/building-your-application/data-fetching/get-server-side-props\"\n            target=\"_blank\"\n            rel=\"noopener noreferrer\"\n          >\n            getServerSideProps\n          </a>{' '}\n          function will opt the route into dynamic rendering. This function will\n          be called by the server on every request.\n        </p>\n      ) : (\n        <p className=\"dev-tools-info-paragraph\">\n          During rendering, if a{' '}\n          <a\n            className=\"dev-tools-info-link\"\n            href=\"https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-apis\"\n            target=\"_blank\"\n            rel=\"noopener noreferrer\"\n          >\n            Dynamic API\n          </a>{' '}\n          or a{' '}\n          <a\n            className=\"dev-tools-info-link\"\n            href=\"https://nextjs.org/docs/app/api-reference/functions/fetch\"\n            target=\"_blank\"\n            rel=\"noopener noreferrer\"\n          >\n            fetch\n          </a>{' '}\n          option of{' '}\n          <code className=\"dev-tools-info-code\">{`{ cache: 'no-store' }`}</code>{' '}\n          is discovered, Next.js will switch to dynamically rendering the whole\n          route.\n        </p>\n      )}\n    </article>\n  )\n}\n\nexport const learnMoreLink = {\n  pages: {\n    static:\n      'https://nextjs.org/docs/pages/building-your-application/rendering/static-site-generation',\n    dynamic:\n      'https://nextjs.org/docs/pages/building-your-application/rendering/server-side-rendering',\n  },\n  app: {\n    static:\n      'https://nextjs.org/docs/app/building-your-application/rendering/server-components#static-rendering-default',\n    dynamic:\n      'https://nextjs.org/docs/app/building-your-application/rendering/server-components#dynamic-rendering',\n  },\n} as const\n\nexport function RouteInfoBody({\n  routerType,\n  isStaticRoute,\n  ...props\n}: {\n  routerType: 'pages' | 'app'\n  isStaticRoute: boolean\n} & ComponentProps<'div'>) {\n  return isStaticRoute ? (\n    <StaticRouteContent routerType={routerType} {...props} />\n  ) : (\n    <DynamicRouteContent routerType={routerType} {...props} />\n  )\n}\n","\n      import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n      import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./segment-explorer.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./segment-explorer.css\";\n       export default content && content.locals ? content.locals : undefined;\n","\n      import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n      import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./segment-boundary-trigger.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./segment-boundary-trigger.css\";\n       export default content && content.locals ? content.locals : undefined;\n","'use client';\n\nimport * as React from 'react';\nconst UNINITIALIZED = {};\n\n/**\n * A React.useRef() that is initialized with a function. Note that it accepts an optional\n * initialization argument, so the initialization function doesn't need to be an inline closure.\n *\n * @usage\n *   const ref = useRefWithInit(sortColumns, columns)\n */\n\nexport function useRefWithInit(init, initArg) {\n  const ref = React.useRef(UNINITIALIZED);\n  if (ref.current === UNINITIALIZED) {\n    ref.current = init(initArg);\n  }\n  return ref;\n}","'use client';\n\nimport * as React from 'react';\nconst EMPTY = [];\n\n/**\n * A React.useEffect equivalent that runs once, when the component is mounted.\n */\nexport function useOnMount(fn) {\n  // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- no need to put `fn` in the dependency array\n  /* eslint-disable react-hooks/exhaustive-deps */\n  React.useEffect(fn, EMPTY);\n  /* eslint-enable react-hooks/exhaustive-deps */\n}","'use client';\n\nimport { useRefWithInit } from \"./useRefWithInit.js\";\nimport { useOnMount } from \"./useOnMount.js\";\nconst EMPTY = 0;\nexport class Timeout {\n  static create() {\n    return new Timeout();\n  }\n  currentId = (() => EMPTY)();\n\n  /**\n   * Executes `fn` after `delay`, clearing any previously scheduled call.\n   */\n  start(delay, fn) {\n    this.clear();\n    this.currentId = setTimeout(() => {\n      this.currentId = EMPTY;\n      fn();\n    }, delay); /* Node.js types are enabled in development */\n  }\n  isStarted() {\n    return this.currentId !== EMPTY;\n  }\n  clear = () => {\n    if (this.currentId !== EMPTY) {\n      clearTimeout(this.currentId);\n      this.currentId = EMPTY;\n    }\n  };\n  disposeEffect = () => {\n    return this.clear;\n  };\n}\n\n/**\n * A `setTimeout` with automatic cleanup and guard.\n */\nexport function useTimeout() {\n  const timeout = useRefWithInit(Timeout.create).current;\n  useOnMount(timeout.disposeEffect);\n  return timeout;\n}","'use client';\n\nimport * as React from 'react';\nimport { useRefWithInit } from \"./useRefWithInit.js\";\n\n// https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379\nconst useInsertionEffect = React[`useInsertionEffect${Math.random().toFixed(1)}`.slice(0, -3)];\nconst useSafeInsertionEffect =\n// React 17 doesn't have useInsertionEffect.\nuseInsertionEffect &&\n// Preact replaces useInsertionEffect with useLayoutEffect and fires too late.\nuseInsertionEffect !== React.useLayoutEffect ? useInsertionEffect : fn => fn();\nexport function useEventCallback(callback) {\n  const stable = useRefWithInit(createStableCallback).current;\n  stable.next = callback;\n  useSafeInsertionEffect(stable.effect);\n  return stable.trampoline;\n}\nfunction createStableCallback() {\n  const stable = {\n    next: undefined,\n    callback: assertNotCalled,\n    trampoline: (...args) => stable.callback?.(...args),\n    effect: () => {\n      stable.callback = stable.next;\n    }\n  };\n  return stable;\n}\nfunction assertNotCalled() {\n  if (process.env.NODE_ENV !== 'production') {\n    throw new Error('Base UI: Cannot call an event handler while rendering.');\n  }\n}","'use client';\n\n// TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler -- process.env never changes, dependency arrays are intentionally ignored\n/* eslint-disable react-hooks/rules-of-hooks, react-hooks/exhaustive-deps */\nimport * as React from 'react';\nexport function useControlled({\n  controlled,\n  default: defaultProp,\n  name,\n  state = 'value'\n}) {\n  // isControlled is ignored in the hook dependency lists as it should never change.\n  const {\n    current: isControlled\n  } = React.useRef(controlled !== undefined);\n  const [valueState, setValue] = React.useState(defaultProp);\n  const value = isControlled ? controlled : valueState;\n  if (process.env.NODE_ENV !== 'production') {\n    React.useEffect(() => {\n      if (isControlled !== (controlled !== undefined)) {\n        console.error([`Base UI: A component is changing the ${isControlled ? '' : 'un'}controlled ${state} state of ${name} to be ${isControlled ? 'un' : ''}controlled.`, 'Elements should not switch from uncontrolled to controlled (or vice versa).', `Decide between using a controlled or uncontrolled ${name} ` + 'element for the lifetime of the component.', \"The nature of the state is determined during the first render. It's considered controlled if the value is not `undefined`.\", 'More info: https://fb.me/react-controlled-components'].join('\\n'));\n      }\n    }, [state, name, controlled]);\n    const {\n      current: defaultValue\n    } = React.useRef(defaultProp);\n    React.useEffect(() => {\n      // Object.is() is not equivalent to the === operator.\n      // See https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/is for more details.\n      if (!isControlled && !Object.is(defaultValue, defaultProp)) {\n        console.error([`Base UI: A component is changing the default ${state} state of an uncontrolled ${name} after being initialized. ` + `To suppress this warning opt to use a controlled ${name}.`].join('\\n'));\n      }\n    }, [JSON.stringify(defaultProp)]);\n  }\n  const setValueIfUncontrolled = React.useCallback(newValue => {\n    if (!isControlled) {\n      setValue(newValue);\n    }\n  }, []);\n  return [value, setValueIfUncontrolled];\n}","import * as React from 'react';\n\n// https://github.com/mui/material-ui/issues/41190#issuecomment-2040873379\nexport const SafeReact = {\n  ...React\n};","'use client';\n\nimport * as React from 'react';\nimport { SafeReact } from \"./safeReact.js\";\nlet globalId = 0;\n\n// TODO React 17: Remove `useGlobalId` once React 17 support is removed\nfunction useGlobalId(idOverride, prefix = 'mui') {\n  const [defaultId, setDefaultId] = React.useState(idOverride);\n  const id = idOverride || defaultId;\n  React.useEffect(() => {\n    if (defaultId == null) {\n      // Fallback to this default id when possible.\n      // Use the incrementing value for client-side rendering only.\n      // We can't use it server-side.\n      // If you want to use random values please consider the Birthday Problem: https://en.wikipedia.org/wiki/Birthday_problem\n      globalId += 1;\n      setDefaultId(`${prefix}-${globalId}`);\n    }\n  }, [defaultId, prefix]);\n  return id;\n}\nconst maybeReactUseId = SafeReact.useId;\n\n/**\n *\n * @example <div id={useId()} />\n * @param idOverride\n * @returns {string}\n */\nexport function useId(idOverride, prefix) {\n  // React.useId() is only available from React 17.0.0.\n  if (maybeReactUseId !== undefined) {\n    const reactId = maybeReactUseId();\n    return idOverride ?? (prefix ? `${prefix}-${reactId}` : reactId);\n  }\n\n  // TODO: uncomment once we enable eslint-plugin-react-compiler // eslint-disable-next-line react-compiler/react-compiler\n  // eslint-disable-next-line react-hooks/rules-of-hooks -- `React.useId` is invariant at runtime.\n  return useGlobalId(idOverride, prefix);\n}","export function createEventEmitter() {\n  const map = new Map();\n  return {\n    emit(event, data) {\n      map.get(event)?.forEach(listener => listener(data));\n    },\n    on(event, listener) {\n      if (!map.has(event)) {\n        map.set(event, new Set());\n      }\n      map.get(event).add(listener);\n    },\n    off(event, listener) {\n      map.get(event)?.delete(listener);\n    }\n  };\n}","'use client';\n\nimport * as React from 'react';\nconst noop = () => {};\nexport const useIsoLayoutEffect = typeof document !== 'undefined' ? React.useLayoutEffect : noop;","import * as React from 'react';\nimport { useId } from '@base-ui-components/utils/useId';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { createEventEmitter } from \"../utils/createEventEmitter.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst FloatingNodeContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") FloatingNodeContext.displayName = \"FloatingNodeContext\";\nconst FloatingTreeContext = /*#__PURE__*/React.createContext(null);\n\n/**\n * Returns the parent node id for nested floating elements, if available.\n * Returns `null` for top-level floating elements.\n */\nif (process.env.NODE_ENV !== \"production\") FloatingTreeContext.displayName = \"FloatingTreeContext\";\nexport const useFloatingParentNodeId = () => React.useContext(FloatingNodeContext)?.id || null;\n\n/**\n * Returns the nearest floating tree context, if available.\n */\nexport const useFloatingTree = () => React.useContext(FloatingTreeContext);\n\n/**\n * Registers a node into the `FloatingTree`, returning its id.\n * @see https://floating-ui.com/docs/FloatingTree\n */\nexport function useFloatingNodeId(customParentId) {\n  const id = useId();\n  const tree = useFloatingTree();\n  const reactParentId = useFloatingParentNodeId();\n  const parentId = customParentId || reactParentId;\n  useIsoLayoutEffect(() => {\n    if (!id) {\n      return undefined;\n    }\n    const node = {\n      id,\n      parentId\n    };\n    tree?.addNode(node);\n    return () => {\n      tree?.removeNode(node);\n    };\n  }, [tree, id, parentId]);\n  return id;\n}\n/**\n * Provides parent node context for nested floating elements.\n * @see https://floating-ui.com/docs/FloatingTree\n * @internal\n */\nexport function FloatingNode(props) {\n  const {\n    children,\n    id\n  } = props;\n  const parentId = useFloatingParentNodeId();\n  return /*#__PURE__*/_jsx(FloatingNodeContext.Provider, {\n    value: React.useMemo(() => ({\n      id,\n      parentId\n    }), [id, parentId]),\n    children: children\n  });\n}\n/**\n * Provides context for nested floating elements when they are not children of\n * each other on the DOM.\n * This is not necessary in all cases, except when there must be explicit communication between parent and child floating elements. It is necessary for:\n * - The `bubbles` option in the `useDismiss()` Hook\n * - Nested virtual list navigation\n * - Nested floating elements that each open on hover\n * - Custom communication between parent and child floating elements\n * @see https://floating-ui.com/docs/FloatingTree\n * @internal\n */\nexport function FloatingTree(props) {\n  const {\n    children\n  } = props;\n  const nodesRef = React.useRef([]);\n  const addNode = React.useCallback(node => {\n    nodesRef.current = [...nodesRef.current, node];\n  }, []);\n  const removeNode = React.useCallback(node => {\n    nodesRef.current = nodesRef.current.filter(n => n !== node);\n  }, []);\n  const [events] = React.useState(() => createEventEmitter());\n  return /*#__PURE__*/_jsx(FloatingTreeContext.Provider, {\n    value: React.useMemo(() => ({\n      nodesRef,\n      addNode,\n      removeNode,\n      events\n    }), [addNode, removeNode, events]),\n    children: children\n  });\n}","import * as React from 'react';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useId } from '@base-ui-components/utils/useId';\nimport { createEventEmitter } from \"../utils/createEventEmitter.js\";\nimport { useFloatingParentNodeId } from \"../components/FloatingTree.js\";\nexport function useFloatingRootContext(options) {\n  const {\n    open = false,\n    onOpenChange: onOpenChangeProp,\n    elements: elementsProp\n  } = options;\n  const floatingId = useId();\n  const dataRef = React.useRef({});\n  const [events] = React.useState(() => createEventEmitter());\n  const nested = useFloatingParentNodeId() != null;\n  if (process.env.NODE_ENV !== 'production') {\n    const optionDomReference = elementsProp.reference;\n    if (optionDomReference && !isElement(optionDomReference)) {\n      console.error('Cannot pass a virtual element to the `elements.reference` option,', 'as it must be a real DOM element. Use `refs.setPositionReference()`', 'instead.');\n    }\n  }\n  const [positionReference, setPositionReference] = React.useState(elementsProp.reference);\n  const onOpenChange = useEventCallback((newOpen, event, reason) => {\n    dataRef.current.openEvent = newOpen ? event : undefined;\n    events.emit('openchange', {\n      open: newOpen,\n      event,\n      reason,\n      nested\n    });\n    onOpenChangeProp?.(newOpen, event, reason);\n  });\n  const refs = React.useMemo(() => ({\n    setPositionReference\n  }), []);\n  const elements = React.useMemo(() => ({\n    reference: positionReference || elementsProp.reference || null,\n    floating: elementsProp.floating || null,\n    domReference: elementsProp.reference\n  }), [positionReference, elementsProp.reference, elementsProp.floating]);\n  return React.useMemo(() => ({\n    dataRef,\n    open,\n    onOpenChange,\n    elements,\n    events,\n    floatingId,\n    refs\n  }), [open, onOpenChange, elements, events, floatingId, refs]);\n}","function hasWindow() {\n  return typeof window !== 'undefined';\n}\nfunction getNodeName(node) {\n  if (isNode(node)) {\n    return (node.nodeName || '').toLowerCase();\n  }\n  // Mocked nodes in testing environments may not be instances of Node. By\n  // returning `#document` an infinite loop won't occur.\n  // https://github.com/floating-ui/floating-ui/issues/2317\n  return '#document';\n}\nfunction getWindow(node) {\n  var _node$ownerDocument;\n  return (node == null || (_node$ownerDocument = node.ownerDocument) == null ? void 0 : _node$ownerDocument.defaultView) || window;\n}\nfunction getDocumentElement(node) {\n  var _ref;\n  return (_ref = (isNode(node) ? node.ownerDocument : node.document) || window.document) == null ? void 0 : _ref.documentElement;\n}\nfunction isNode(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof Node || value instanceof getWindow(value).Node;\n}\nfunction isElement(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof Element || value instanceof getWindow(value).Element;\n}\nfunction isHTMLElement(value) {\n  if (!hasWindow()) {\n    return false;\n  }\n  return value instanceof HTMLElement || value instanceof getWindow(value).HTMLElement;\n}\nfunction isShadowRoot(value) {\n  if (!hasWindow() || typeof ShadowRoot === 'undefined') {\n    return false;\n  }\n  return value instanceof ShadowRoot || value instanceof getWindow(value).ShadowRoot;\n}\nconst invalidOverflowDisplayValues = /*#__PURE__*/new Set(['inline', 'contents']);\nfunction isOverflowElement(element) {\n  const {\n    overflow,\n    overflowX,\n    overflowY,\n    display\n  } = getComputedStyle(element);\n  return /auto|scroll|overlay|hidden|clip/.test(overflow + overflowY + overflowX) && !invalidOverflowDisplayValues.has(display);\n}\nconst tableElements = /*#__PURE__*/new Set(['table', 'td', 'th']);\nfunction isTableElement(element) {\n  return tableElements.has(getNodeName(element));\n}\nconst topLayerSelectors = [':popover-open', ':modal'];\nfunction isTopLayer(element) {\n  return topLayerSelectors.some(selector => {\n    try {\n      return element.matches(selector);\n    } catch (_e) {\n      return false;\n    }\n  });\n}\nconst transformProperties = ['transform', 'translate', 'scale', 'rotate', 'perspective'];\nconst willChangeValues = ['transform', 'translate', 'scale', 'rotate', 'perspective', 'filter'];\nconst containValues = ['paint', 'layout', 'strict', 'content'];\nfunction isContainingBlock(elementOrCss) {\n  const webkit = isWebKit();\n  const css = isElement(elementOrCss) ? getComputedStyle(elementOrCss) : elementOrCss;\n\n  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n  // https://drafts.csswg.org/css-transforms-2/#individual-transforms\n  return transformProperties.some(value => css[value] ? css[value] !== 'none' : false) || (css.containerType ? css.containerType !== 'normal' : false) || !webkit && (css.backdropFilter ? css.backdropFilter !== 'none' : false) || !webkit && (css.filter ? css.filter !== 'none' : false) || willChangeValues.some(value => (css.willChange || '').includes(value)) || containValues.some(value => (css.contain || '').includes(value));\n}\nfunction getContainingBlock(element) {\n  let currentNode = getParentNode(element);\n  while (isHTMLElement(currentNode) && !isLastTraversableNode(currentNode)) {\n    if (isContainingBlock(currentNode)) {\n      return currentNode;\n    } else if (isTopLayer(currentNode)) {\n      return null;\n    }\n    currentNode = getParentNode(currentNode);\n  }\n  return null;\n}\nfunction isWebKit() {\n  if (typeof CSS === 'undefined' || !CSS.supports) return false;\n  return CSS.supports('-webkit-backdrop-filter', 'none');\n}\nconst lastTraversableNodeNames = /*#__PURE__*/new Set(['html', 'body', '#document']);\nfunction isLastTraversableNode(node) {\n  return lastTraversableNodeNames.has(getNodeName(node));\n}\nfunction getComputedStyle(element) {\n  return getWindow(element).getComputedStyle(element);\n}\nfunction getNodeScroll(element) {\n  if (isElement(element)) {\n    return {\n      scrollLeft: element.scrollLeft,\n      scrollTop: element.scrollTop\n    };\n  }\n  return {\n    scrollLeft: element.scrollX,\n    scrollTop: element.scrollY\n  };\n}\nfunction getParentNode(node) {\n  if (getNodeName(node) === 'html') {\n    return node;\n  }\n  const result =\n  // Step into the shadow DOM of the parent of a slotted node.\n  node.assignedSlot ||\n  // DOM Element detected.\n  node.parentNode ||\n  // ShadowRoot detected.\n  isShadowRoot(node) && node.host ||\n  // Fallback.\n  getDocumentElement(node);\n  return isShadowRoot(result) ? result.host : result;\n}\nfunction getNearestOverflowAncestor(node) {\n  const parentNode = getParentNode(node);\n  if (isLastTraversableNode(parentNode)) {\n    return node.ownerDocument ? node.ownerDocument.body : node.body;\n  }\n  if (isHTMLElement(parentNode) && isOverflowElement(parentNode)) {\n    return parentNode;\n  }\n  return getNearestOverflowAncestor(parentNode);\n}\nfunction getOverflowAncestors(node, list, traverseIframes) {\n  var _node$ownerDocument2;\n  if (list === void 0) {\n    list = [];\n  }\n  if (traverseIframes === void 0) {\n    traverseIframes = true;\n  }\n  const scrollableAncestor = getNearestOverflowAncestor(node);\n  const isBody = scrollableAncestor === ((_node$ownerDocument2 = node.ownerDocument) == null ? void 0 : _node$ownerDocument2.body);\n  const win = getWindow(scrollableAncestor);\n  if (isBody) {\n    const frameElement = getFrameElement(win);\n    return list.concat(win, win.visualViewport || [], isOverflowElement(scrollableAncestor) ? scrollableAncestor : [], frameElement && traverseIframes ? getOverflowAncestors(frameElement) : []);\n  }\n  return list.concat(scrollableAncestor, getOverflowAncestors(scrollableAncestor, [], traverseIframes));\n}\nfunction getFrameElement(win) {\n  return win.parent && Object.getPrototypeOf(win.parent) ? win.frameElement : null;\n}\n\nexport { getComputedStyle, getContainingBlock, getDocumentElement, getFrameElement, getNearestOverflowAncestor, getNodeName, getNodeScroll, getOverflowAncestors, getParentNode, getWindow, isContainingBlock, isElement, isHTMLElement, isLastTraversableNode, isNode, isOverflowElement, isShadowRoot, isTableElement, isTopLayer, isWebKit };\n","'use client';\n\nimport { useIsoLayoutEffect } from \"./useIsoLayoutEffect.js\";\nimport { useRefWithInit } from \"./useRefWithInit.js\";\nexport function useLatestRef(value) {\n  const latest = useRefWithInit(createLatestRef, value).current;\n  latest.next = value;\n\n  // eslint-disable-next-line react-hooks/exhaustive-deps\n  useIsoLayoutEffect(latest.effect);\n  return latest;\n}\nfunction createLatestRef(value) {\n  const latest = {\n    current: value,\n    next: value,\n    effect: () => {\n      latest.current = latest.next;\n    }\n  };\n  return latest;\n}","const hasNavigator = typeof navigator !== 'undefined';\nconst nav = getNavigatorData();\nconst platform = getPlatform();\nconst userAgent = getUserAgent();\nexport const isWebKit = typeof CSS === 'undefined' || !CSS.supports ? false : CSS.supports('-webkit-backdrop-filter:none');\nexport const isIOS =\n// iPads can claim to be MacIntel\nnav.platform === 'MacIntel' && nav.maxTouchPoints > 1 ? true : /iP(hone|ad|od)|iOS/.test(nav.platform);\nexport const isFirefox = hasNavigator && /firefox/i.test(userAgent);\nexport const isSafari = hasNavigator && /apple/i.test(navigator.vendor);\nexport const isAndroid = hasNavigator && /android/i.test(platform) || /android/i.test(userAgent);\nexport const isMac = hasNavigator && platform.toLowerCase().startsWith('mac') && !navigator.maxTouchPoints;\nexport const isJSDOM = userAgent.includes('jsdom/');\n\n// Avoid Chrome DevTools blue warning.\nfunction getNavigatorData() {\n  if (!hasNavigator) {\n    return {\n      platform: '',\n      maxTouchPoints: -1\n    };\n  }\n  const uaData = navigator.userAgentData;\n  if (uaData?.platform) {\n    return {\n      platform: uaData.platform,\n      maxTouchPoints: navigator.maxTouchPoints\n    };\n  }\n  return {\n    platform: navigator.platform ?? '',\n    maxTouchPoints: navigator.maxTouchPoints ?? -1\n  };\n}\nfunction getUserAgent() {\n  if (!hasNavigator) {\n    return '';\n  }\n  const uaData = navigator.userAgentData;\n  if (uaData && Array.isArray(uaData.brands)) {\n    return uaData.brands.map(({\n      brand,\n      version\n    }) => `${brand}/${version}`).join(' ');\n  }\n  return navigator.userAgent;\n}\nfunction getPlatform() {\n  if (!hasNavigator) {\n    return '';\n  }\n  const uaData = navigator.userAgentData;\n  if (uaData?.platform) {\n    return uaData.platform;\n  }\n  return navigator.platform ?? '';\n}","import { isAndroid, isJSDOM } from '@base-ui-components/utils/detectBrowser';\nexport function stopEvent(event) {\n  event.preventDefault();\n  event.stopPropagation();\n}\nexport function isReactEvent(event) {\n  return 'nativeEvent' in event;\n}\n\n// License: https://github.com/adobe/react-spectrum/blob/b35d5c02fe900badccd0cf1a8f23bb593419f238/packages/@react-aria/utils/src/isVirtualEvent.ts\nexport function isVirtualClick(event) {\n  // FIXME: Firefox is now emitting a deprecation warning for `mozInputSource`.\n  // Try to find a workaround for this. `react-aria` source still has the check.\n  if (event.mozInputSource === 0 && event.isTrusted) {\n    return true;\n  }\n  if (isAndroid && event.pointerType) {\n    return event.type === 'click' && event.buttons === 1;\n  }\n  return event.detail === 0 && !event.pointerType;\n}\nexport function isVirtualPointerEvent(event) {\n  if (isJSDOM) {\n    return false;\n  }\n  return !isAndroid && event.width === 0 && event.height === 0 || isAndroid && event.width === 1 && event.height === 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'mouse' ||\n  // iOS VoiceOver returns 0.333• for width/height.\n  event.width < 1 && event.height < 1 && event.pressure === 0 && event.detail === 0 && event.pointerType === 'touch';\n}\nexport function isMouseLikePointerType(pointerType, strict) {\n  // On some Linux machines with Chromium, mouse inputs return a `pointerType`\n  // of \"pen\": https://github.com/floating-ui/floating-ui/issues/2015\n  const values = ['mouse', 'pen'];\n  if (!strict) {\n    values.push('', undefined);\n  }\n  return values.includes(pointerType);\n}","export const FOCUSABLE_ATTRIBUTE = 'data-base-ui-focusable';\nexport const ACTIVE_KEY = 'active';\nexport const SELECTED_KEY = 'selected';\nexport const TYPEABLE_SELECTOR = \"input:not([type='hidden']):not([disabled]),\" + \"[contenteditable]:not([contenteditable='false']),textarea:not([disabled])\";\nexport const ARROW_LEFT = 'ArrowLeft';\nexport const ARROW_RIGHT = 'ArrowRight';\nexport const ARROW_UP = 'ArrowUp';\nexport const ARROW_DOWN = 'ArrowDown';","import { isHTMLElement, isShadowRoot } from '@floating-ui/utils/dom';\nimport { isJSDOM } from '@base-ui-components/utils/detectBrowser';\nimport { FOCUSABLE_ATTRIBUTE, TYPEABLE_SELECTOR } from \"./constants.js\";\nexport function activeElement(doc) {\n  let element = doc.activeElement;\n  while (element?.shadowRoot?.activeElement != null) {\n    element = element.shadowRoot.activeElement;\n  }\n  return element;\n}\nexport function contains(parent, child) {\n  if (!parent || !child) {\n    return false;\n  }\n  const rootNode = child.getRootNode?.();\n\n  // First, attempt with faster native method\n  if (parent.contains(child)) {\n    return true;\n  }\n\n  // then fallback to custom implementation with Shadow DOM support\n  if (rootNode && isShadowRoot(rootNode)) {\n    let next = child;\n    while (next) {\n      if (parent === next) {\n        return true;\n      }\n      // @ts-ignore\n      next = next.parentNode || next.host;\n    }\n  }\n\n  // Give up, the result is false\n  return false;\n}\nexport function getTarget(event) {\n  if ('composedPath' in event) {\n    return event.composedPath()[0];\n  }\n\n  // TS thinks `event` is of type never as it assumes all browsers support\n  // `composedPath()`, but browsers without shadow DOM don't.\n  return event.target;\n}\nexport function isEventTargetWithin(event, node) {\n  if (node == null) {\n    return false;\n  }\n  if ('composedPath' in event) {\n    return event.composedPath().includes(node);\n  }\n\n  // TS thinks `event` is of type never as it assumes all browsers support composedPath, but browsers without shadow dom don't\n  const eventAgain = event;\n  return eventAgain.target != null && node.contains(eventAgain.target);\n}\nexport function isRootElement(element) {\n  return element.matches('html,body');\n}\nexport function getDocument(node) {\n  return node?.ownerDocument || document;\n}\nexport function isTypeableElement(element) {\n  return isHTMLElement(element) && element.matches(TYPEABLE_SELECTOR);\n}\nexport function isTypeableCombobox(element) {\n  if (!element) {\n    return false;\n  }\n  return element.getAttribute('role') === 'combobox' && isTypeableElement(element);\n}\nexport function matchesFocusVisible(element) {\n  // We don't want to block focus from working with `visibleOnly`\n  // (JSDOM doesn't match `:focus-visible` when the element has `:focus`)\n  if (!element || isJSDOM) {\n    return true;\n  }\n  try {\n    return element.matches(':focus-visible');\n  } catch (_e) {\n    return true;\n  }\n}\nexport function getFloatingFocusElement(floatingElement) {\n  if (!floatingElement) {\n    return null;\n  }\n  // Try to find the element that has `{...getFloatingProps()}` spread on it.\n  // This indicates the floating element is acting as a positioning wrapper, and\n  // so focus should be managed on the child element with the event handlers and\n  // aria props.\n  return floatingElement.hasAttribute(FOCUSABLE_ATTRIBUTE) ? floatingElement : floatingElement.querySelector(`[${FOCUSABLE_ATTRIBUTE}]`) || floatingElement;\n}","export function createAttribute(name) {\n  return `data-base-ui-${name}`;\n}","import * as React from 'react';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { contains, getDocument, isMouseLikePointerType } from \"../utils.js\";\nimport { useFloatingParentNodeId, useFloatingTree } from \"../components/FloatingTree.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nconst safePolygonIdentifier = createAttribute('safe-polygon');\nexport function getDelay(value, prop, pointerType) {\n  if (pointerType && !isMouseLikePointerType(pointerType)) {\n    return 0;\n  }\n  if (typeof value === 'number') {\n    return value;\n  }\n  if (typeof value === 'function') {\n    const result = value();\n    if (typeof result === 'number') {\n      return result;\n    }\n    return result?.[prop];\n  }\n  return value?.[prop];\n}\nfunction getRestMs(value) {\n  if (typeof value === 'function') {\n    return value();\n  }\n  return value;\n}\n/**\n * Opens the floating element while hovering over the reference element, like\n * CSS `:hover`.\n * @see https://floating-ui.com/docs/useHover\n */\nexport function useHover(context, props = {}) {\n  const {\n    open,\n    onOpenChange,\n    dataRef,\n    events,\n    elements\n  } = context;\n  const {\n    enabled = true,\n    delay = 0,\n    handleClose = null,\n    mouseOnly = false,\n    restMs = 0,\n    move = true\n  } = props;\n  const tree = useFloatingTree();\n  const parentId = useFloatingParentNodeId();\n  const handleCloseRef = useLatestRef(handleClose);\n  const delayRef = useLatestRef(delay);\n  const openRef = useLatestRef(open);\n  const restMsRef = useLatestRef(restMs);\n  const pointerTypeRef = React.useRef(undefined);\n  const timeout = useTimeout();\n  const handlerRef = React.useRef(undefined);\n  const restTimeout = useTimeout();\n  const blockMouseMoveRef = React.useRef(true);\n  const performedPointerEventsMutationRef = React.useRef(false);\n  const unbindMouseMoveRef = React.useRef(() => {});\n  const restTimeoutPendingRef = React.useRef(false);\n  const isHoverOpen = useEventCallback(() => {\n    const type = dataRef.current.openEvent?.type;\n    return type?.includes('mouse') && type !== 'mousedown';\n  });\n\n  // When closing before opening, clear the delay timeouts to cancel it\n  // from showing.\n  React.useEffect(() => {\n    if (!enabled) {\n      return undefined;\n    }\n    function onOpenChangeLocal({\n      open: newOpen\n    }) {\n      if (!newOpen) {\n        timeout.clear();\n        restTimeout.clear();\n        blockMouseMoveRef.current = true;\n        restTimeoutPendingRef.current = false;\n      }\n    }\n    events.on('openchange', onOpenChangeLocal);\n    return () => {\n      events.off('openchange', onOpenChangeLocal);\n    };\n  }, [enabled, events, timeout, restTimeout]);\n  React.useEffect(() => {\n    if (!enabled) {\n      return undefined;\n    }\n    if (!handleCloseRef.current) {\n      return undefined;\n    }\n    if (!open) {\n      return undefined;\n    }\n    function onLeave(event) {\n      if (isHoverOpen()) {\n        onOpenChange(false, event, 'hover');\n      }\n    }\n    const html = getDocument(elements.floating).documentElement;\n    html.addEventListener('mouseleave', onLeave);\n    return () => {\n      html.removeEventListener('mouseleave', onLeave);\n    };\n  }, [elements.floating, open, onOpenChange, enabled, handleCloseRef, isHoverOpen]);\n  const closeWithDelay = React.useCallback((event, runElseBranch = true, reason = 'hover') => {\n    const closeDelay = getDelay(delayRef.current, 'close', pointerTypeRef.current);\n    if (closeDelay && !handlerRef.current) {\n      timeout.start(closeDelay, () => onOpenChange(false, event, reason));\n    } else if (runElseBranch) {\n      timeout.clear();\n      onOpenChange(false, event, reason);\n    }\n  }, [delayRef, onOpenChange, timeout]);\n  const cleanupMouseMoveHandler = useEventCallback(() => {\n    unbindMouseMoveRef.current();\n    handlerRef.current = undefined;\n  });\n  const clearPointerEvents = useEventCallback(() => {\n    if (performedPointerEventsMutationRef.current) {\n      const body = getDocument(elements.floating).body;\n      body.style.pointerEvents = '';\n      body.removeAttribute(safePolygonIdentifier);\n      performedPointerEventsMutationRef.current = false;\n    }\n  });\n  const isClickLikeOpenEvent = useEventCallback(() => {\n    return dataRef.current.openEvent ? ['click', 'mousedown'].includes(dataRef.current.openEvent.type) : false;\n  });\n\n  // Registering the mouse events on the reference directly to bypass React's\n  // delegation system. If the cursor was on a disabled element and then entered\n  // the reference (no gap), `mouseenter` doesn't fire in the delegation system.\n  React.useEffect(() => {\n    if (!enabled) {\n      return undefined;\n    }\n    function onReferenceMouseEnter(event) {\n      timeout.clear();\n      blockMouseMoveRef.current = false;\n      if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current) || getRestMs(restMsRef.current) > 0 && !getDelay(delayRef.current, 'open')) {\n        return;\n      }\n      const openDelay = getDelay(delayRef.current, 'open', pointerTypeRef.current);\n      if (openDelay) {\n        timeout.start(openDelay, () => {\n          if (!openRef.current) {\n            onOpenChange(true, event, 'hover');\n          }\n        });\n      } else if (!open) {\n        onOpenChange(true, event, 'hover');\n      }\n    }\n    function onReferenceMouseLeave(event) {\n      if (isClickLikeOpenEvent()) {\n        clearPointerEvents();\n        return;\n      }\n      unbindMouseMoveRef.current();\n      const doc = getDocument(elements.floating);\n      restTimeout.clear();\n      restTimeoutPendingRef.current = false;\n      if (handleCloseRef.current && dataRef.current.floatingContext) {\n        // Prevent clearing `onScrollMouseLeave` timeout.\n        if (!open) {\n          timeout.clear();\n        }\n        handlerRef.current = handleCloseRef.current({\n          ...dataRef.current.floatingContext,\n          tree,\n          x: event.clientX,\n          y: event.clientY,\n          onClose() {\n            clearPointerEvents();\n            cleanupMouseMoveHandler();\n            if (!isClickLikeOpenEvent()) {\n              closeWithDelay(event, true, 'safe-polygon');\n            }\n          }\n        });\n        const handler = handlerRef.current;\n        doc.addEventListener('mousemove', handler);\n        unbindMouseMoveRef.current = () => {\n          doc.removeEventListener('mousemove', handler);\n        };\n        return;\n      }\n\n      // Allow interactivity without `safePolygon` on touch devices. With a\n      // pointer, a short close delay is an alternative, so it should work\n      // consistently.\n      const shouldClose = pointerTypeRef.current === 'touch' ? !contains(elements.floating, event.relatedTarget) : true;\n      if (shouldClose) {\n        closeWithDelay(event);\n      }\n    }\n\n    // Ensure the floating element closes after scrolling even if the pointer\n    // did not move.\n    // https://github.com/floating-ui/floating-ui/discussions/1692\n    function onScrollMouseLeave(event) {\n      if (isClickLikeOpenEvent()) {\n        return;\n      }\n      if (!dataRef.current.floatingContext) {\n        return;\n      }\n      handleCloseRef.current?.({\n        ...dataRef.current.floatingContext,\n        tree,\n        x: event.clientX,\n        y: event.clientY,\n        onClose() {\n          clearPointerEvents();\n          cleanupMouseMoveHandler();\n          if (!isClickLikeOpenEvent()) {\n            closeWithDelay(event);\n          }\n        }\n      })(event);\n    }\n    function onFloatingMouseEnter() {\n      timeout.clear();\n    }\n    function onFloatingMouseLeave(event) {\n      if (!isClickLikeOpenEvent()) {\n        closeWithDelay(event, false);\n      }\n    }\n    if (isElement(elements.domReference)) {\n      const reference = elements.domReference;\n      const floating = elements.floating;\n      if (open) {\n        reference.addEventListener('mouseleave', onScrollMouseLeave);\n      }\n      if (move) {\n        reference.addEventListener('mousemove', onReferenceMouseEnter, {\n          once: true\n        });\n      }\n      reference.addEventListener('mouseenter', onReferenceMouseEnter);\n      reference.addEventListener('mouseleave', onReferenceMouseLeave);\n      if (floating) {\n        floating.addEventListener('mouseleave', onScrollMouseLeave);\n        floating.addEventListener('mouseenter', onFloatingMouseEnter);\n        floating.addEventListener('mouseleave', onFloatingMouseLeave);\n      }\n      return () => {\n        if (open) {\n          reference.removeEventListener('mouseleave', onScrollMouseLeave);\n        }\n        if (move) {\n          reference.removeEventListener('mousemove', onReferenceMouseEnter);\n        }\n        reference.removeEventListener('mouseenter', onReferenceMouseEnter);\n        reference.removeEventListener('mouseleave', onReferenceMouseLeave);\n        if (floating) {\n          floating.removeEventListener('mouseleave', onScrollMouseLeave);\n          floating.removeEventListener('mouseenter', onFloatingMouseEnter);\n          floating.removeEventListener('mouseleave', onFloatingMouseLeave);\n        }\n      };\n    }\n    return undefined;\n  }, [elements, enabled, context, mouseOnly, move, closeWithDelay, cleanupMouseMoveHandler, clearPointerEvents, onOpenChange, open, openRef, tree, delayRef, handleCloseRef, dataRef, isClickLikeOpenEvent, restMsRef, timeout, restTimeout]);\n\n  // Block pointer-events of every element other than the reference and floating\n  // while the floating element is open and has a `handleClose` handler. Also\n  // handles nested floating elements.\n  // https://github.com/floating-ui/floating-ui/issues/1722\n  useIsoLayoutEffect(() => {\n    if (!enabled) {\n      return undefined;\n    }\n\n    // eslint-disable-next-line no-underscore-dangle\n    if (open && handleCloseRef.current?.__options?.blockPointerEvents && isHoverOpen()) {\n      performedPointerEventsMutationRef.current = true;\n      const floatingEl = elements.floating;\n      if (isElement(elements.domReference) && floatingEl) {\n        const body = getDocument(elements.floating).body;\n        body.setAttribute(safePolygonIdentifier, '');\n        const ref = elements.domReference;\n        const parentFloating = tree?.nodesRef.current.find(node => node.id === parentId)?.context?.elements.floating;\n        if (parentFloating) {\n          parentFloating.style.pointerEvents = '';\n        }\n        body.style.pointerEvents = 'none';\n        ref.style.pointerEvents = 'auto';\n        floatingEl.style.pointerEvents = 'auto';\n        return () => {\n          body.style.pointerEvents = '';\n          ref.style.pointerEvents = '';\n          floatingEl.style.pointerEvents = '';\n        };\n      }\n    }\n    return undefined;\n  }, [enabled, open, parentId, elements, tree, handleCloseRef, isHoverOpen]);\n  useIsoLayoutEffect(() => {\n    if (!open) {\n      pointerTypeRef.current = undefined;\n      restTimeoutPendingRef.current = false;\n      cleanupMouseMoveHandler();\n      clearPointerEvents();\n    }\n  }, [open, cleanupMouseMoveHandler, clearPointerEvents]);\n  React.useEffect(() => {\n    return () => {\n      cleanupMouseMoveHandler();\n      timeout.clear();\n      restTimeout.clear();\n      clearPointerEvents();\n    };\n  }, [enabled, elements.domReference, cleanupMouseMoveHandler, clearPointerEvents, timeout, restTimeout]);\n  const reference = React.useMemo(() => {\n    function setPointerRef(event) {\n      pointerTypeRef.current = event.pointerType;\n    }\n    return {\n      onPointerDown: setPointerRef,\n      onPointerEnter: setPointerRef,\n      onMouseMove(event) {\n        const {\n          nativeEvent\n        } = event;\n        function handleMouseMove() {\n          if (!blockMouseMoveRef.current && !openRef.current) {\n            onOpenChange(true, nativeEvent, 'hover');\n          }\n        }\n        if (mouseOnly && !isMouseLikePointerType(pointerTypeRef.current)) {\n          return;\n        }\n        if (open || getRestMs(restMsRef.current) === 0) {\n          return;\n        }\n\n        // Ignore insignificant movements to account for tremors.\n        if (restTimeoutPendingRef.current && event.movementX ** 2 + event.movementY ** 2 < 2) {\n          return;\n        }\n        restTimeout.clear();\n        if (pointerTypeRef.current === 'touch') {\n          handleMouseMove();\n        } else {\n          restTimeoutPendingRef.current = true;\n          restTimeout.start(getRestMs(restMsRef.current), handleMouseMove);\n        }\n      }\n    };\n  }, [mouseOnly, onOpenChange, open, openRef, restMsRef, restTimeout]);\n  return React.useMemo(() => enabled ? {\n    reference\n  } : {}, [enabled, reference]);\n}","/* eslint-disable @typescript-eslint/no-loop-func */\n\nexport function getNodeChildren(nodes, id, onlyOpenChildren = true) {\n  const directChildren = nodes.filter(node => node.parentId === id && (!onlyOpenChildren || node.context?.open));\n  return directChildren.flatMap(child => [child, ...getNodeChildren(nodes, child.id, onlyOpenChildren)]);\n}\nexport function getDeepestNode(nodes, id) {\n  let deepestNodeId;\n  let maxDepth = -1;\n  function findDeepest(nodeId, depth) {\n    if (depth > maxDepth) {\n      deepestNodeId = nodeId;\n      maxDepth = depth;\n    }\n    const children = getNodeChildren(nodes, nodeId);\n    children.forEach(child => {\n      findDeepest(child.id, depth + 1);\n    });\n  }\n  findDeepest(id, 0);\n  return nodes.find(node => node.id === deepestNodeId);\n}\nexport function getNodeAncestors(nodes, id) {\n  let allAncestors = [];\n  let currentParentId = nodes.find(node => node.id === id)?.parentId;\n  while (currentParentId) {\n    const currentNode = nodes.find(node => node.id === currentParentId);\n    currentParentId = currentNode?.parentId;\n    if (currentNode) {\n      allAncestors = allAncestors.concat(currentNode);\n    }\n  }\n  return allAncestors;\n}","import { isElement } from '@floating-ui/utils/dom';\nimport { Timeout } from '@base-ui-components/utils/useTimeout';\nimport { contains, getTarget } from \"./utils/element.js\";\nimport { getNodeChildren } from \"./utils/nodes.js\";\n\n/* eslint-disable no-nested-ternary */\n\nfunction isPointInPolygon(point, polygon) {\n  const [x, y] = point;\n  let isInsideValue = false;\n  const length = polygon.length;\n  // eslint-disable-next-line no-plusplus\n  for (let i = 0, j = length - 1; i < length; j = i++) {\n    const [xi, yi] = polygon[i] || [0, 0];\n    const [xj, yj] = polygon[j] || [0, 0];\n    const intersect = yi >= y !== yj >= y && x <= (xj - xi) * (y - yi) / (yj - yi) + xi;\n    if (intersect) {\n      isInsideValue = !isInsideValue;\n    }\n  }\n  return isInsideValue;\n}\nfunction isInside(point, rect) {\n  return point[0] >= rect.x && point[0] <= rect.x + rect.width && point[1] >= rect.y && point[1] <= rect.y + rect.height;\n}\n/**\n * Generates a safe polygon area that the user can traverse without closing the\n * floating element once leaving the reference element.\n * @see https://floating-ui.com/docs/useHover#safepolygon\n */\nexport function safePolygon(options = {}) {\n  const {\n    buffer = 0.5,\n    blockPointerEvents = false,\n    requireIntent = true\n  } = options;\n  const timeout = new Timeout();\n  let hasLanded = false;\n  let lastX = null;\n  let lastY = null;\n  let lastCursorTime = typeof performance !== 'undefined' ? performance.now() : 0;\n  function getCursorSpeed(x, y) {\n    const currentTime = performance.now();\n    const elapsedTime = currentTime - lastCursorTime;\n    if (lastX === null || lastY === null || elapsedTime === 0) {\n      lastX = x;\n      lastY = y;\n      lastCursorTime = currentTime;\n      return null;\n    }\n    const deltaX = x - lastX;\n    const deltaY = y - lastY;\n    const distance = Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n    const speed = distance / elapsedTime; // px / ms\n\n    lastX = x;\n    lastY = y;\n    lastCursorTime = currentTime;\n    return speed;\n  }\n  const fn = ({\n    x,\n    y,\n    placement,\n    elements,\n    onClose,\n    nodeId,\n    tree\n  }) => {\n    return function onMouseMove(event) {\n      function close() {\n        timeout.clear();\n        onClose();\n      }\n      timeout.clear();\n      if (!elements.domReference || !elements.floating || placement == null || x == null || y == null) {\n        return undefined;\n      }\n      const {\n        clientX,\n        clientY\n      } = event;\n      const clientPoint = [clientX, clientY];\n      const target = getTarget(event);\n      const isLeave = event.type === 'mouseleave';\n      const isOverFloatingEl = contains(elements.floating, target);\n      const isOverReferenceEl = contains(elements.domReference, target);\n      const refRect = elements.domReference.getBoundingClientRect();\n      const rect = elements.floating.getBoundingClientRect();\n      const side = placement.split('-')[0];\n      const cursorLeaveFromRight = x > rect.right - rect.width / 2;\n      const cursorLeaveFromBottom = y > rect.bottom - rect.height / 2;\n      const isOverReferenceRect = isInside(clientPoint, refRect);\n      const isFloatingWider = rect.width > refRect.width;\n      const isFloatingTaller = rect.height > refRect.height;\n      const left = (isFloatingWider ? refRect : rect).left;\n      const right = (isFloatingWider ? refRect : rect).right;\n      const top = (isFloatingTaller ? refRect : rect).top;\n      const bottom = (isFloatingTaller ? refRect : rect).bottom;\n      if (isOverFloatingEl) {\n        hasLanded = true;\n        if (!isLeave) {\n          return undefined;\n        }\n      }\n      if (isOverReferenceEl) {\n        hasLanded = false;\n      }\n      if (isOverReferenceEl && !isLeave) {\n        hasLanded = true;\n        return undefined;\n      }\n\n      // Prevent overlapping floating element from being stuck in an open-close\n      // loop: https://github.com/floating-ui/floating-ui/issues/1910\n      if (isLeave && isElement(event.relatedTarget) && contains(elements.floating, event.relatedTarget)) {\n        return undefined;\n      }\n\n      // If any nested child is open, abort.\n      if (tree && getNodeChildren(tree.nodesRef.current, nodeId).some(({\n        context\n      }) => context?.open)) {\n        return undefined;\n      }\n\n      // If the pointer is leaving from the opposite side, the \"buffer\" logic\n      // creates a point where the floating element remains open, but should be\n      // ignored.\n      // A constant of 1 handles floating point rounding errors.\n      if (side === 'top' && y >= refRect.bottom - 1 || side === 'bottom' && y <= refRect.top + 1 || side === 'left' && x >= refRect.right - 1 || side === 'right' && x <= refRect.left + 1) {\n        return close();\n      }\n\n      // Ignore when the cursor is within the rectangular trough between the\n      // two elements. Since the triangle is created from the cursor point,\n      // which can start beyond the ref element's edge, traversing back and\n      // forth from the ref to the floating element can cause it to close. This\n      // ensures it always remains open in that case.\n      let rectPoly = [];\n      switch (side) {\n        case 'top':\n          rectPoly = [[left, refRect.top + 1], [left, rect.bottom - 1], [right, rect.bottom - 1], [right, refRect.top + 1]];\n          break;\n        case 'bottom':\n          rectPoly = [[left, rect.top + 1], [left, refRect.bottom - 1], [right, refRect.bottom - 1], [right, rect.top + 1]];\n          break;\n        case 'left':\n          rectPoly = [[rect.right - 1, bottom], [rect.right - 1, top], [refRect.left + 1, top], [refRect.left + 1, bottom]];\n          break;\n        case 'right':\n          rectPoly = [[refRect.right - 1, bottom], [refRect.right - 1, top], [rect.left + 1, top], [rect.left + 1, bottom]];\n          break;\n        default:\n      }\n      function getPolygon([px, py]) {\n        switch (side) {\n          case 'top':\n            {\n              const cursorPointOne = [isFloatingWider ? px + buffer / 2 : cursorLeaveFromRight ? px + buffer * 4 : px - buffer * 4, py + buffer + 1];\n              const cursorPointTwo = [isFloatingWider ? px - buffer / 2 : cursorLeaveFromRight ? px + buffer * 4 : px - buffer * 4, py + buffer + 1];\n              const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.bottom - buffer : isFloatingWider ? rect.bottom - buffer : rect.top], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.bottom - buffer : rect.top : rect.bottom - buffer]];\n              return [cursorPointOne, cursorPointTwo, ...commonPoints];\n            }\n          case 'bottom':\n            {\n              const cursorPointOne = [isFloatingWider ? px + buffer / 2 : cursorLeaveFromRight ? px + buffer * 4 : px - buffer * 4, py - buffer];\n              const cursorPointTwo = [isFloatingWider ? px - buffer / 2 : cursorLeaveFromRight ? px + buffer * 4 : px - buffer * 4, py - buffer];\n              const commonPoints = [[rect.left, cursorLeaveFromRight ? rect.top + buffer : isFloatingWider ? rect.top + buffer : rect.bottom], [rect.right, cursorLeaveFromRight ? isFloatingWider ? rect.top + buffer : rect.bottom : rect.top + buffer]];\n              return [cursorPointOne, cursorPointTwo, ...commonPoints];\n            }\n          case 'left':\n            {\n              const cursorPointOne = [px + buffer + 1, isFloatingTaller ? py + buffer / 2 : cursorLeaveFromBottom ? py + buffer * 4 : py - buffer * 4];\n              const cursorPointTwo = [px + buffer + 1, isFloatingTaller ? py - buffer / 2 : cursorLeaveFromBottom ? py + buffer * 4 : py - buffer * 4];\n              const commonPoints = [[cursorLeaveFromBottom ? rect.right - buffer : isFloatingTaller ? rect.right - buffer : rect.left, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.right - buffer : rect.left : rect.right - buffer, rect.bottom]];\n              return [...commonPoints, cursorPointOne, cursorPointTwo];\n            }\n          case 'right':\n            {\n              const cursorPointOne = [px - buffer, isFloatingTaller ? py + buffer / 2 : cursorLeaveFromBottom ? py + buffer * 4 : py - buffer * 4];\n              const cursorPointTwo = [px - buffer, isFloatingTaller ? py - buffer / 2 : cursorLeaveFromBottom ? py + buffer * 4 : py - buffer * 4];\n              const commonPoints = [[cursorLeaveFromBottom ? rect.left + buffer : isFloatingTaller ? rect.left + buffer : rect.right, rect.top], [cursorLeaveFromBottom ? isFloatingTaller ? rect.left + buffer : rect.right : rect.left + buffer, rect.bottom]];\n              return [cursorPointOne, cursorPointTwo, ...commonPoints];\n            }\n          default:\n            return [];\n        }\n      }\n      if (isPointInPolygon([clientX, clientY], rectPoly)) {\n        return undefined;\n      }\n      if (hasLanded && !isOverReferenceRect) {\n        return close();\n      }\n      if (!isLeave && requireIntent) {\n        const cursorSpeed = getCursorSpeed(event.clientX, event.clientY);\n        const cursorSpeedThreshold = 0.1;\n        if (cursorSpeed !== null && cursorSpeed < cursorSpeedThreshold) {\n          return close();\n        }\n      }\n      if (!isPointInPolygon([clientX, clientY], getPolygon([x, y]))) {\n        close();\n      } else if (!hasLanded && requireIntent) {\n        timeout.start(40, close);\n      }\n      return undefined;\n    };\n  };\n\n  // eslint-disable-next-line no-underscore-dangle\n  fn.__options = {\n    blockPointerEvents\n  };\n  return fn;\n}","import * as React from 'react';\nimport { getWindow, isElement, isHTMLElement } from '@floating-ui/utils/dom';\nimport { isMac, isSafari } from '@base-ui-components/utils/detectBrowser';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { activeElement, contains, getDocument, getTarget, isTypeableElement, matchesFocusVisible } from \"../utils.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nconst isMacSafari = isMac && isSafari;\n/**\n * Opens the floating element while the reference element has focus, like CSS\n * `:focus`.\n * @see https://floating-ui.com/docs/useFocus\n */\nexport function useFocus(context, props = {}) {\n  const {\n    open,\n    onOpenChange,\n    events,\n    dataRef,\n    elements\n  } = context;\n  const {\n    enabled = true,\n    visibleOnly = true\n  } = props;\n  const blockFocusRef = React.useRef(false);\n  const timeout = useTimeout();\n  const keyboardModalityRef = React.useRef(true);\n  React.useEffect(() => {\n    if (!enabled) {\n      return undefined;\n    }\n    const win = getWindow(elements.domReference);\n\n    // If the reference was focused and the user left the tab/window, and the\n    // floating element was not open, the focus should be blocked when they\n    // return to the tab/window.\n    function onBlur() {\n      if (!open && isHTMLElement(elements.domReference) && elements.domReference === activeElement(getDocument(elements.domReference))) {\n        blockFocusRef.current = true;\n      }\n    }\n    function onKeyDown() {\n      keyboardModalityRef.current = true;\n    }\n    function onPointerDown() {\n      keyboardModalityRef.current = false;\n    }\n    win.addEventListener('blur', onBlur);\n    if (isMacSafari) {\n      win.addEventListener('keydown', onKeyDown, true);\n      win.addEventListener('pointerdown', onPointerDown, true);\n    }\n    return () => {\n      win.removeEventListener('blur', onBlur);\n      if (isMacSafari) {\n        win.removeEventListener('keydown', onKeyDown, true);\n        win.removeEventListener('pointerdown', onPointerDown, true);\n      }\n    };\n  }, [elements.domReference, open, enabled]);\n  React.useEffect(() => {\n    if (!enabled) {\n      return undefined;\n    }\n    function onOpenChangeLocal({\n      reason\n    }) {\n      if (reason === 'reference-press' || reason === 'escape-key') {\n        blockFocusRef.current = true;\n      }\n    }\n    events.on('openchange', onOpenChangeLocal);\n    return () => {\n      events.off('openchange', onOpenChangeLocal);\n    };\n  }, [events, enabled]);\n  const reference = React.useMemo(() => ({\n    onMouseLeave() {\n      blockFocusRef.current = false;\n    },\n    onFocus(event) {\n      if (blockFocusRef.current) {\n        return;\n      }\n      const target = getTarget(event.nativeEvent);\n      if (visibleOnly && isElement(target)) {\n        // Safari fails to match `:focus-visible` if focus was initially\n        // outside the document.\n        if (isMacSafari && !event.relatedTarget) {\n          if (!keyboardModalityRef.current && !isTypeableElement(target)) {\n            return;\n          }\n        } else if (!matchesFocusVisible(target)) {\n          return;\n        }\n      }\n      onOpenChange(true, event.nativeEvent, 'focus');\n    },\n    onBlur(event) {\n      blockFocusRef.current = false;\n      const relatedTarget = event.relatedTarget;\n      const nativeEvent = event.nativeEvent;\n\n      // Hit the non-modal focus management portal guard. Focus will be\n      // moved into the floating element immediately after.\n      const movedToFocusGuard = isElement(relatedTarget) && relatedTarget.hasAttribute(createAttribute('focus-guard')) && relatedTarget.getAttribute('data-type') === 'outside';\n\n      // Wait for the window blur listener to fire.\n      timeout.start(0, () => {\n        const activeEl = activeElement(elements.domReference ? elements.domReference.ownerDocument : document);\n\n        // Focus left the page, keep it open.\n        if (!relatedTarget && activeEl === elements.domReference) {\n          return;\n        }\n\n        // When focusing the reference element (e.g. regular click), then\n        // clicking into the floating element, prevent it from hiding.\n        // Note: it must be focusable, e.g. `tabindex=\"-1\"`.\n        // We can not rely on relatedTarget to point to the correct element\n        // as it will only point to the shadow host of the newly focused element\n        // and not the element that actually has received focus if it is located\n        // inside a shadow root.\n        if (contains(dataRef.current.floatingContext?.refs.floating.current, activeEl) || contains(elements.domReference, activeEl) || movedToFocusGuard) {\n          return;\n        }\n        onOpenChange(false, nativeEvent, 'focus');\n      });\n    }\n  }), [dataRef, elements.domReference, onOpenChange, visibleOnly, timeout]);\n  return React.useMemo(() => enabled ? {\n    reference\n  } : {}, [enabled, reference]);\n}","'use client';\n\nimport { useRefWithInit } from \"./useRefWithInit.js\";\nimport { useOnMount } from \"./useOnMount.js\";\n/** Unlike `setTimeout`, rAF doesn't guarantee a positive integer return value, so we can't have\n * a monomorphic `uint` type with `0` meaning empty.\n * See warning note at:\n * https://developer.mozilla.org/en-US/docs/Web/API/Window/requestAnimationFrame#return_value */\nconst EMPTY = null;\nlet LAST_RAF = globalThis.requestAnimationFrame;\nclass Scheduler {\n  /* This implementation uses an array as a backing data-structure for frame callbacks.\n   * It allows `O(1)` callback cancelling by inserting a `null` in the array, though it\n   * never calls the native `cancelAnimationFrame` if there are no frames left. This can\n   * be much more efficient if there is a call pattern that alterns as\n   * \"request-cancel-request-cancel-…\".\n   * But in the case of \"request-request-…-cancel-cancel-…\", it leaves the final animation\n   * frame to run anyway. We turn that frame into a `O(1)` no-op via `callbacksCount`. */\n\n  callbacks = (() => [])();\n  callbacksCount = 0;\n  nextId = 1;\n  startId = 1;\n  isScheduled = false;\n  tick = timestamp => {\n    this.isScheduled = false;\n    const currentCallbacks = this.callbacks;\n    const currentCallbacksCount = this.callbacksCount;\n\n    // Update these before iterating, callbacks could call `requestAnimationFrame` again.\n    this.callbacks = [];\n    this.callbacksCount = 0;\n    this.startId = this.nextId;\n    if (currentCallbacksCount > 0) {\n      for (let i = 0; i < currentCallbacks.length; i += 1) {\n        currentCallbacks[i]?.(timestamp);\n      }\n    }\n  };\n  request(fn) {\n    const id = this.nextId;\n    this.nextId += 1;\n    this.callbacks.push(fn);\n    this.callbacksCount += 1;\n\n    /* In a test environment with fake timers, a fake `requestAnimationFrame` can be called\n     * but there's no guarantee that the animation frame will actually run before the fake\n     * timers are teared, which leaves `isScheduled` set, but won't run our `tick()`. */\n    const didRAFChange = process.env.NODE_ENV === 'test' && LAST_RAF !== requestAnimationFrame && (LAST_RAF = requestAnimationFrame, true);\n    if (!this.isScheduled || didRAFChange) {\n      requestAnimationFrame(this.tick);\n      this.isScheduled = true;\n    }\n    return id;\n  }\n  cancel(id) {\n    const index = id - this.startId;\n    if (index < 0 || index >= this.callbacks.length) {\n      return;\n    }\n    this.callbacks[index] = null;\n    this.callbacksCount -= 1;\n  }\n}\nconst scheduler = new Scheduler();\nexport class AnimationFrame {\n  static create() {\n    return new AnimationFrame();\n  }\n  static request(fn) {\n    return scheduler.request(fn);\n  }\n  static cancel(id) {\n    return scheduler.cancel(id);\n  }\n  currentId = (() => EMPTY)();\n\n  /**\n   * Executes `fn` after `delay`, clearing any previously scheduled call.\n   */\n  request(fn) {\n    this.cancel();\n    this.currentId = scheduler.request(() => {\n      this.currentId = EMPTY;\n      fn();\n    });\n  }\n  cancel = () => {\n    if (this.currentId !== EMPTY) {\n      scheduler.cancel(this.currentId);\n      this.currentId = EMPTY;\n    }\n  };\n  disposeEffect = () => {\n    return this.cancel;\n  };\n}\n\n/**\n * A `requestAnimationFrame` with automatic cleanup and guard.\n */\nexport function useAnimationFrame() {\n  const timeout = useRefWithInit(AnimationFrame.create).current;\n  useOnMount(timeout.disposeEffect);\n  return timeout;\n}","export const TYPEAHEAD_RESET_MS = 500;\nexport const PATIENT_CLICK_THRESHOLD = 500;\nexport const DISABLED_TRANSITIONS_STYLE = {\n  style: {\n    transition: 'none'\n  }\n};\nexport const EMPTY_OBJECT = {};\nexport const EMPTY_ARRAY = [];\nexport const CLICK_TRIGGER_IDENTIFIER = 'data-base-ui-click-trigger';\n\n/**\n * Used for dropdowns that usually strictly prefer top/bottom placements and\n * use `var(--available-height)` to limit their height.\n */\nexport const DROPDOWN_COLLISION_AVOIDANCE = {\n  fallbackAxisSide: 'none'\n};\n\n/**\n * Used by regular popups that usually aren't scrollable and are allowed to\n * freely flip to any axis of placement.\n */\nexport const POPUP_COLLISION_AVOIDANCE = {\n  fallbackAxisSide: 'end'\n};","import * as React from 'react';\nimport { getOverflowAncestors } from '@floating-ui/react-dom';\nimport { getComputedStyle, getParentNode, isElement, isHTMLElement, isLastTraversableNode, isWebKit } from '@floating-ui/utils/dom';\nimport { Timeout, useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { contains, getDocument, getTarget, isEventTargetWithin, isReactEvent, isRootElement, getNodeChildren } from \"../utils.js\";\n\n/* eslint-disable no-underscore-dangle */\n\nimport { useFloatingTree } from \"../components/FloatingTree.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nconst bubbleHandlerKeys = {\n  intentional: 'onClick',\n  sloppy: 'onPointerDown'\n};\nexport function normalizeProp(normalizable) {\n  return {\n    escapeKey: typeof normalizable === 'boolean' ? normalizable : normalizable?.escapeKey ?? false,\n    outsidePress: typeof normalizable === 'boolean' ? normalizable : normalizable?.outsidePress ?? true\n  };\n}\n/**\n * Closes the floating element when a dismissal is requested — by default, when\n * the user presses the `escape` key or outside of the floating element.\n * @see https://floating-ui.com/docs/useDismiss\n */\nexport function useDismiss(context, props = {}) {\n  const {\n    open,\n    onOpenChange,\n    elements,\n    dataRef\n  } = context;\n  const {\n    enabled = true,\n    escapeKey = true,\n    outsidePress: outsidePressProp = true,\n    outsidePressEvent = 'sloppy',\n    referencePress = false,\n    referencePressEvent = 'sloppy',\n    ancestorScroll = false,\n    bubbles,\n    capture\n  } = props;\n  const tree = useFloatingTree();\n  const outsidePressFn = useEventCallback(typeof outsidePressProp === 'function' ? outsidePressProp : () => false);\n  const outsidePress = typeof outsidePressProp === 'function' ? outsidePressFn : outsidePressProp;\n  const endedOrStartedInsideRef = React.useRef(false);\n  const {\n    escapeKey: escapeKeyBubbles,\n    outsidePress: outsidePressBubbles\n  } = normalizeProp(bubbles);\n  const {\n    escapeKey: escapeKeyCapture,\n    outsidePress: outsidePressCapture\n  } = normalizeProp(capture);\n  const touchStateRef = React.useRef(null);\n  const cancelDismissOnEndTimeout = useTimeout();\n  const insideReactTreeTimeout = useTimeout();\n  const isComposingRef = React.useRef(false);\n  const currentPointerTypeRef = React.useRef('');\n  const trackPointerType = useEventCallback(event => {\n    currentPointerTypeRef.current = event.pointerType;\n  });\n  const getOutsidePressEvent = useEventCallback(() => {\n    const type = currentPointerTypeRef.current;\n    const computedType = type === 'pen' || !type ? 'mouse' : type;\n    if (typeof outsidePressEvent === 'string') {\n      return outsidePressEvent;\n    }\n    return outsidePressEvent[computedType];\n  });\n  const closeOnEscapeKeyDown = useEventCallback(event => {\n    if (!open || !enabled || !escapeKey || event.key !== 'Escape') {\n      return;\n    }\n\n    // Wait until IME is settled. Pressing `Escape` while composing should\n    // close the compose menu, but not the floating element.\n    if (isComposingRef.current) {\n      return;\n    }\n    const nodeId = dataRef.current.floatingContext?.nodeId;\n    const children = tree ? getNodeChildren(tree.nodesRef.current, nodeId) : [];\n    if (!escapeKeyBubbles) {\n      event.stopPropagation();\n      if (children.length > 0) {\n        let shouldDismiss = true;\n        children.forEach(child => {\n          if (child.context?.open && !child.context.dataRef.current.__escapeKeyBubbles) {\n            shouldDismiss = false;\n          }\n        });\n        if (!shouldDismiss) {\n          return;\n        }\n      }\n    }\n    onOpenChange(false, isReactEvent(event) ? event.nativeEvent : event, 'escape-key');\n  });\n  const shouldIgnoreEvent = useEventCallback(event => {\n    const computedOutsidePressEvent = getOutsidePressEvent();\n    return computedOutsidePressEvent === 'intentional' && event.type !== 'click' || computedOutsidePressEvent === 'sloppy' && event.type === 'click';\n  });\n  const closeOnEscapeKeyDownCapture = useEventCallback(event => {\n    const callback = () => {\n      closeOnEscapeKeyDown(event);\n      getTarget(event)?.removeEventListener('keydown', callback);\n    };\n    getTarget(event)?.addEventListener('keydown', callback);\n  });\n  const closeOnPressOutside = useEventCallback(event => {\n    if (shouldIgnoreEvent(event)) {\n      return;\n    }\n\n    // Given developers can stop the propagation of the synthetic event,\n    // we can only be confident with a positive value.\n    const insideReactTree = dataRef.current.insideReactTree;\n    dataRef.current.insideReactTree = false;\n\n    // When click outside is lazy (`up` event), handle dragging.\n    // Don't close if:\n    // - The click started inside the floating element.\n    // - The click ended inside the floating element.\n    const endedOrStartedInside = endedOrStartedInsideRef.current;\n    endedOrStartedInsideRef.current = false;\n    if (getOutsidePressEvent() === 'intentional' && endedOrStartedInside) {\n      return;\n    }\n    if (insideReactTree) {\n      return;\n    }\n    if (typeof outsidePress === 'function' && !outsidePress(event)) {\n      return;\n    }\n    const target = getTarget(event);\n    const inertSelector = `[${createAttribute('inert')}]`;\n    const markers = getDocument(elements.floating).querySelectorAll(inertSelector);\n    let targetRootAncestor = isElement(target) ? target : null;\n    while (targetRootAncestor && !isLastTraversableNode(targetRootAncestor)) {\n      const nextParent = getParentNode(targetRootAncestor);\n      if (isLastTraversableNode(nextParent) || !isElement(nextParent)) {\n        break;\n      }\n      targetRootAncestor = nextParent;\n    }\n\n    // Check if the click occurred on a third-party element injected after the\n    // floating element rendered.\n    if (markers.length && isElement(target) && !isRootElement(target) &&\n    // Clicked on a direct ancestor (e.g. FloatingOverlay).\n    !contains(target, elements.floating) &&\n    // If the target root element contains none of the markers, then the\n    // element was injected after the floating element rendered.\n    Array.from(markers).every(marker => !contains(targetRootAncestor, marker))) {\n      return;\n    }\n\n    // Check if the click occurred on the scrollbar\n    if (isHTMLElement(target)) {\n      const lastTraversableNode = isLastTraversableNode(target);\n      const style = getComputedStyle(target);\n      const scrollRe = /auto|scroll/;\n      const isScrollableX = lastTraversableNode || scrollRe.test(style.overflowX);\n      const isScrollableY = lastTraversableNode || scrollRe.test(style.overflowY);\n      const canScrollX = isScrollableX && target.clientWidth > 0 && target.scrollWidth > target.clientWidth;\n      const canScrollY = isScrollableY && target.clientHeight > 0 && target.scrollHeight > target.clientHeight;\n      const isRTL = style.direction === 'rtl';\n\n      // Check click position relative to scrollbar.\n      // In some browsers it is possible to change the <body> (or window)\n      // scrollbar to the left side, but is very rare and is difficult to\n      // check for. Plus, for modal dialogs with backdrops, it is more\n      // important that the backdrop is checked but not so much the window.\n      const pressedVerticalScrollbar = canScrollY && (isRTL ? event.offsetX <= target.offsetWidth - target.clientWidth : event.offsetX > target.clientWidth);\n      const pressedHorizontalScrollbar = canScrollX && event.offsetY > target.clientHeight;\n      if (pressedVerticalScrollbar || pressedHorizontalScrollbar) {\n        return;\n      }\n    }\n    const nodeId = dataRef.current.floatingContext?.nodeId;\n    const targetIsInsideChildren = tree && getNodeChildren(tree.nodesRef.current, nodeId).some(node => isEventTargetWithin(event, node.context?.elements.floating));\n    if (isEventTargetWithin(event, elements.floating) || isEventTargetWithin(event, elements.domReference) || targetIsInsideChildren) {\n      return;\n    }\n    const children = tree ? getNodeChildren(tree.nodesRef.current, nodeId) : [];\n    if (children.length > 0) {\n      let shouldDismiss = true;\n      children.forEach(child => {\n        if (child.context?.open && !child.context.dataRef.current.__outsidePressBubbles) {\n          shouldDismiss = false;\n        }\n      });\n      if (!shouldDismiss) {\n        return;\n      }\n    }\n    onOpenChange(false, event, 'outside-press');\n  });\n  const handlePointerDown = useEventCallback(event => {\n    if (getOutsidePressEvent() !== 'sloppy' || !open || !enabled || isEventTargetWithin(event, elements.floating) || isEventTargetWithin(event, elements.domReference)) {\n      return;\n    }\n    if (event.pointerType === 'touch') {\n      touchStateRef.current = {\n        startTime: Date.now(),\n        startX: event.clientX,\n        startY: event.clientY,\n        dismissOnPointerUp: false,\n        dismissOnMouseDown: true\n      };\n      cancelDismissOnEndTimeout.start(1000, () => {\n        if (touchStateRef.current) {\n          touchStateRef.current.dismissOnPointerUp = false;\n          touchStateRef.current.dismissOnMouseDown = false;\n        }\n      });\n      return;\n    }\n    closeOnPressOutside(event);\n  });\n  const closeOnPressOutsideCapture = useEventCallback(event => {\n    if (shouldIgnoreEvent(event)) {\n      return;\n    }\n    cancelDismissOnEndTimeout.clear();\n    if (event.type === 'mousedown' && touchStateRef.current && !touchStateRef.current.dismissOnMouseDown) {\n      return;\n    }\n    const callback = () => {\n      if (event.type === 'pointerdown') {\n        handlePointerDown(event);\n      } else {\n        closeOnPressOutside(event);\n      }\n      getTarget(event)?.removeEventListener(event.type, callback);\n    };\n    getTarget(event)?.addEventListener(event.type, callback);\n  });\n  const handlePointerMove = useEventCallback(event => {\n    if (getOutsidePressEvent() !== 'sloppy' || event.pointerType !== 'touch' || !touchStateRef.current || isEventTargetWithin(event, elements.floating) || isEventTargetWithin(event, elements.domReference)) {\n      return;\n    }\n    const deltaX = Math.abs(event.clientX - touchStateRef.current.startX);\n    const deltaY = Math.abs(event.clientY - touchStateRef.current.startY);\n    const distance = Math.sqrt(deltaX * deltaX + deltaY * deltaY);\n    if (distance > 5) {\n      touchStateRef.current.dismissOnPointerUp = true;\n    }\n    if (distance > 10) {\n      closeOnPressOutside(event);\n      cancelDismissOnEndTimeout.clear();\n      touchStateRef.current = null;\n    }\n  });\n  const handlePointerUp = useEventCallback(event => {\n    if (getOutsidePressEvent() !== 'sloppy' || event.pointerType !== 'touch' || !touchStateRef.current || isEventTargetWithin(event, elements.floating) || isEventTargetWithin(event, elements.domReference)) {\n      return;\n    }\n    if (touchStateRef.current.dismissOnPointerUp) {\n      closeOnPressOutside(event);\n    }\n    cancelDismissOnEndTimeout.clear();\n    touchStateRef.current = null;\n  });\n  React.useEffect(() => {\n    if (!open || !enabled) {\n      return undefined;\n    }\n    dataRef.current.__escapeKeyBubbles = escapeKeyBubbles;\n    dataRef.current.__outsidePressBubbles = outsidePressBubbles;\n    const compositionTimeout = new Timeout();\n    function onScroll(event) {\n      onOpenChange(false, event, 'ancestor-scroll');\n    }\n    function handleCompositionStart() {\n      compositionTimeout.clear();\n      isComposingRef.current = true;\n    }\n    function handleCompositionEnd() {\n      // Safari fires `compositionend` before `keydown`, so we need to wait\n      // until the next tick to set `isComposing` to `false`.\n      // https://bugs.webkit.org/show_bug.cgi?id=165004\n      compositionTimeout.start(\n      // 0ms or 1ms don't work in Safari. 5ms appears to consistently work.\n      // Only apply to WebKit for the test to remain 0ms.\n      isWebKit() ? 5 : 0, () => {\n        isComposingRef.current = false;\n      });\n    }\n    const doc = getDocument(elements.floating);\n    doc.addEventListener('pointerdown', trackPointerType, true);\n    if (escapeKey) {\n      doc.addEventListener('keydown', escapeKeyCapture ? closeOnEscapeKeyDownCapture : closeOnEscapeKeyDown, escapeKeyCapture);\n      doc.addEventListener('compositionstart', handleCompositionStart);\n      doc.addEventListener('compositionend', handleCompositionEnd);\n    }\n    if (outsidePress) {\n      doc.addEventListener('click', outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n      doc.addEventListener('pointerdown', outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n      doc.addEventListener('pointermove', handlePointerMove, outsidePressCapture);\n      doc.addEventListener('pointerup', handlePointerUp, outsidePressCapture);\n      doc.addEventListener('mousedown', closeOnPressOutsideCapture, outsidePressCapture);\n    }\n    let ancestors = [];\n    if (ancestorScroll) {\n      if (isElement(elements.domReference)) {\n        ancestors = getOverflowAncestors(elements.domReference);\n      }\n      if (isElement(elements.floating)) {\n        ancestors = ancestors.concat(getOverflowAncestors(elements.floating));\n      }\n      if (!isElement(elements.reference) && elements.reference && elements.reference.contextElement) {\n        ancestors = ancestors.concat(getOverflowAncestors(elements.reference.contextElement));\n      }\n    }\n\n    // Ignore the visual viewport for scrolling dismissal (allow pinch-zoom)\n    ancestors = ancestors.filter(ancestor => ancestor !== doc.defaultView?.visualViewport);\n    ancestors.forEach(ancestor => {\n      ancestor.addEventListener('scroll', onScroll, {\n        passive: true\n      });\n    });\n    return () => {\n      doc.removeEventListener('pointerdown', trackPointerType, true);\n      if (escapeKey) {\n        doc.removeEventListener('keydown', escapeKeyCapture ? closeOnEscapeKeyDownCapture : closeOnEscapeKeyDown, escapeKeyCapture);\n        doc.removeEventListener('compositionstart', handleCompositionStart);\n        doc.removeEventListener('compositionend', handleCompositionEnd);\n      }\n      if (outsidePress) {\n        doc.removeEventListener('click', outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n        doc.removeEventListener('pointerdown', outsidePressCapture ? closeOnPressOutsideCapture : closeOnPressOutside, outsidePressCapture);\n        doc.removeEventListener('pointermove', handlePointerMove, outsidePressCapture);\n        doc.removeEventListener('pointerup', handlePointerUp, outsidePressCapture);\n        doc.removeEventListener('mousedown', closeOnPressOutsideCapture, outsidePressCapture);\n      }\n      ancestors.forEach(ancestor => {\n        ancestor.removeEventListener('scroll', onScroll);\n      });\n      compositionTimeout.clear();\n    };\n  }, [dataRef, elements, escapeKey, outsidePress, outsidePressEvent, open, onOpenChange, ancestorScroll, enabled, escapeKeyBubbles, outsidePressBubbles, closeOnEscapeKeyDown, escapeKeyCapture, closeOnEscapeKeyDownCapture, closeOnPressOutside, outsidePressCapture, closeOnPressOutsideCapture, handlePointerDown, handlePointerMove, handlePointerUp, trackPointerType]);\n  React.useEffect(() => {\n    dataRef.current.insideReactTree = false;\n  }, [dataRef, outsidePress]);\n  const reference = React.useMemo(() => ({\n    onKeyDown: closeOnEscapeKeyDown,\n    ...(referencePress && {\n      [bubbleHandlerKeys[referencePressEvent]]: event => {\n        onOpenChange(false, event.nativeEvent, 'reference-press');\n      },\n      ...(referencePressEvent !== 'intentional' && {\n        onClick(event) {\n          onOpenChange(false, event.nativeEvent, 'reference-press');\n        }\n      })\n    })\n  }), [closeOnEscapeKeyDown, onOpenChange, referencePress, referencePressEvent]);\n  const handlePressedInside = useEventCallback(event => {\n    const target = getTarget(event.nativeEvent);\n    if (!contains(elements.floating, target)) {\n      return;\n    }\n    endedOrStartedInsideRef.current = true;\n  });\n  const handleCaptureInside = useEventCallback(() => {\n    dataRef.current.insideReactTree = true;\n    insideReactTreeTimeout.start(0, () => {\n      dataRef.current.insideReactTree = false;\n    });\n  });\n  const floating = React.useMemo(() => ({\n    onKeyDown: closeOnEscapeKeyDown,\n    onMouseDown: handlePressedInside,\n    onMouseUp: handlePressedInside,\n    onPointerDownCapture: handleCaptureInside,\n    onMouseDownCapture: handleCaptureInside,\n    onClickCapture: handleCaptureInside\n  }), [closeOnEscapeKeyDown, handlePressedInside, handleCaptureInside]);\n  return React.useMemo(() => enabled ? {\n    reference,\n    floating\n  } : {}, [enabled, reference, floating]);\n}","import * as React from 'react';\nimport { useId } from '@base-ui-components/utils/useId';\nimport { getFloatingFocusElement } from \"../utils.js\";\nimport { useFloatingParentNodeId } from \"../components/FloatingTree.js\";\nconst componentRoleToAriaRoleMap = new Map([['select', 'listbox'], ['combobox', 'listbox'], ['label', false]]);\n\n/**\n * Adds base screen reader props to the reference and floating elements for a\n * given floating element `role`.\n * @see https://floating-ui.com/docs/useRole\n */\nexport function useRole(context, props = {}) {\n  const {\n    open,\n    elements,\n    floatingId: defaultFloatingId\n  } = context;\n  const {\n    enabled = true,\n    role = 'dialog'\n  } = props;\n  const defaultReferenceId = useId();\n  const referenceId = elements.domReference?.id || defaultReferenceId;\n  const floatingId = React.useMemo(() => getFloatingFocusElement(elements.floating)?.id || defaultFloatingId, [elements.floating, defaultFloatingId]);\n  const ariaRole = componentRoleToAriaRoleMap.get(role) ?? role;\n  const parentId = useFloatingParentNodeId();\n  const isNested = parentId != null;\n  const reference = React.useMemo(() => {\n    if (ariaRole === 'tooltip' || role === 'label') {\n      return {\n        [`aria-${role === 'label' ? 'labelledby' : 'describedby'}`]: open ? floatingId : undefined\n      };\n    }\n    return {\n      'aria-expanded': open ? 'true' : 'false',\n      'aria-haspopup': ariaRole === 'alertdialog' ? 'dialog' : ariaRole,\n      'aria-controls': open ? floatingId : undefined,\n      ...(ariaRole === 'listbox' && {\n        role: 'combobox'\n      }),\n      ...(ariaRole === 'menu' && {\n        id: referenceId\n      }),\n      ...(ariaRole === 'menu' && isNested && {\n        role: 'menuitem'\n      }),\n      ...(role === 'select' && {\n        'aria-autocomplete': 'none'\n      }),\n      ...(role === 'combobox' && {\n        'aria-autocomplete': 'list'\n      })\n    };\n  }, [ariaRole, floatingId, isNested, open, referenceId, role]);\n  const floating = React.useMemo(() => {\n    const floatingProps = {\n      id: floatingId,\n      ...(ariaRole && {\n        role: ariaRole\n      })\n    };\n    if (ariaRole === 'tooltip' || role === 'label') {\n      return floatingProps;\n    }\n    return {\n      ...floatingProps,\n      ...(ariaRole === 'menu' && {\n        'aria-labelledby': referenceId\n      })\n    };\n  }, [ariaRole, floatingId, referenceId, role]);\n  const item = React.useCallback(({\n    active,\n    selected\n  }) => {\n    const commonProps = {\n      role: 'option',\n      ...(active && {\n        id: `${floatingId}-fui-option`\n      })\n    };\n\n    // For `menu`, we are unable to tell if the item is a `menuitemradio`\n    // or `menuitemcheckbox`. For backwards-compatibility reasons, also\n    // avoid defaulting to `menuitem` as it may overwrite custom role props.\n    switch (role) {\n      case 'select':\n      case 'combobox':\n        return {\n          ...commonProps,\n          'aria-selected': selected\n        };\n      default:\n    }\n    return {};\n  }, [floatingId, role]);\n  return React.useMemo(() => enabled ? {\n    reference,\n    floating,\n    item\n  } : {}, [enabled, reference, floating, item]);\n}","/**\n * Custom positioning reference element.\n * @see https://floating-ui.com/docs/virtual-elements\n */\n\nconst sides = ['top', 'right', 'bottom', 'left'];\nconst alignments = ['start', 'end'];\nconst placements = /*#__PURE__*/sides.reduce((acc, side) => acc.concat(side, side + \"-\" + alignments[0], side + \"-\" + alignments[1]), []);\nconst min = Math.min;\nconst max = Math.max;\nconst round = Math.round;\nconst floor = Math.floor;\nconst createCoords = v => ({\n  x: v,\n  y: v\n});\nconst oppositeSideMap = {\n  left: 'right',\n  right: 'left',\n  bottom: 'top',\n  top: 'bottom'\n};\nconst oppositeAlignmentMap = {\n  start: 'end',\n  end: 'start'\n};\nfunction clamp(start, value, end) {\n  return max(start, min(value, end));\n}\nfunction evaluate(value, param) {\n  return typeof value === 'function' ? value(param) : value;\n}\nfunction getSide(placement) {\n  return placement.split('-')[0];\n}\nfunction getAlignment(placement) {\n  return placement.split('-')[1];\n}\nfunction getOppositeAxis(axis) {\n  return axis === 'x' ? 'y' : 'x';\n}\nfunction getAxisLength(axis) {\n  return axis === 'y' ? 'height' : 'width';\n}\nconst yAxisSides = /*#__PURE__*/new Set(['top', 'bottom']);\nfunction getSideAxis(placement) {\n  return yAxisSides.has(getSide(placement)) ? 'y' : 'x';\n}\nfunction getAlignmentAxis(placement) {\n  return getOppositeAxis(getSideAxis(placement));\n}\nfunction getAlignmentSides(placement, rects, rtl) {\n  if (rtl === void 0) {\n    rtl = false;\n  }\n  const alignment = getAlignment(placement);\n  const alignmentAxis = getAlignmentAxis(placement);\n  const length = getAxisLength(alignmentAxis);\n  let mainAlignmentSide = alignmentAxis === 'x' ? alignment === (rtl ? 'end' : 'start') ? 'right' : 'left' : alignment === 'start' ? 'bottom' : 'top';\n  if (rects.reference[length] > rects.floating[length]) {\n    mainAlignmentSide = getOppositePlacement(mainAlignmentSide);\n  }\n  return [mainAlignmentSide, getOppositePlacement(mainAlignmentSide)];\n}\nfunction getExpandedPlacements(placement) {\n  const oppositePlacement = getOppositePlacement(placement);\n  return [getOppositeAlignmentPlacement(placement), oppositePlacement, getOppositeAlignmentPlacement(oppositePlacement)];\n}\nfunction getOppositeAlignmentPlacement(placement) {\n  return placement.replace(/start|end/g, alignment => oppositeAlignmentMap[alignment]);\n}\nconst lrPlacement = ['left', 'right'];\nconst rlPlacement = ['right', 'left'];\nconst tbPlacement = ['top', 'bottom'];\nconst btPlacement = ['bottom', 'top'];\nfunction getSideList(side, isStart, rtl) {\n  switch (side) {\n    case 'top':\n    case 'bottom':\n      if (rtl) return isStart ? rlPlacement : lrPlacement;\n      return isStart ? lrPlacement : rlPlacement;\n    case 'left':\n    case 'right':\n      return isStart ? tbPlacement : btPlacement;\n    default:\n      return [];\n  }\n}\nfunction getOppositeAxisPlacements(placement, flipAlignment, direction, rtl) {\n  const alignment = getAlignment(placement);\n  let list = getSideList(getSide(placement), direction === 'start', rtl);\n  if (alignment) {\n    list = list.map(side => side + \"-\" + alignment);\n    if (flipAlignment) {\n      list = list.concat(list.map(getOppositeAlignmentPlacement));\n    }\n  }\n  return list;\n}\nfunction getOppositePlacement(placement) {\n  return placement.replace(/left|right|bottom|top/g, side => oppositeSideMap[side]);\n}\nfunction expandPaddingObject(padding) {\n  return {\n    top: 0,\n    right: 0,\n    bottom: 0,\n    left: 0,\n    ...padding\n  };\n}\nfunction getPaddingObject(padding) {\n  return typeof padding !== 'number' ? expandPaddingObject(padding) : {\n    top: padding,\n    right: padding,\n    bottom: padding,\n    left: padding\n  };\n}\nfunction rectToClientRect(rect) {\n  const {\n    x,\n    y,\n    width,\n    height\n  } = rect;\n  return {\n    width,\n    height,\n    top: y,\n    left: x,\n    right: x + width,\n    bottom: y + height,\n    x,\n    y\n  };\n}\n\nexport { alignments, clamp, createCoords, evaluate, expandPaddingObject, floor, getAlignment, getAlignmentAxis, getAlignmentSides, getAxisLength, getExpandedPlacements, getOppositeAlignmentPlacement, getOppositeAxis, getOppositeAxisPlacements, getOppositePlacement, getPaddingObject, getSide, getSideAxis, max, min, placements, rectToClientRect, round, sides };\n","import { floor } from '@floating-ui/utils';\nimport { stopEvent } from \"./event.js\";\nimport { ARROW_DOWN, ARROW_LEFT, ARROW_RIGHT, ARROW_UP } from \"./constants.js\";\nexport function isDifferentGridRow(index, cols, prevRow) {\n  return Math.floor(index / cols) !== prevRow;\n}\nexport function isIndexOutOfListBounds(listRef, index) {\n  return index < 0 || index >= listRef.current.length;\n}\nexport function getMinListIndex(listRef, disabledIndices) {\n  return findNonDisabledListIndex(listRef, {\n    disabledIndices\n  });\n}\nexport function getMaxListIndex(listRef, disabledIndices) {\n  return findNonDisabledListIndex(listRef, {\n    decrement: true,\n    startingIndex: listRef.current.length,\n    disabledIndices\n  });\n}\nexport function findNonDisabledListIndex(listRef, {\n  startingIndex = -1,\n  decrement = false,\n  disabledIndices,\n  amount = 1\n} = {}) {\n  let index = startingIndex;\n  do {\n    index += decrement ? -amount : amount;\n  } while (index >= 0 && index <= listRef.current.length - 1 && isListIndexDisabled(listRef, index, disabledIndices));\n  return index;\n}\nexport function getGridNavigatedIndex(listRef, {\n  event,\n  orientation,\n  loop,\n  rtl,\n  cols,\n  disabledIndices,\n  minIndex,\n  maxIndex,\n  prevIndex,\n  stopEvent: stop = false\n}) {\n  let nextIndex = prevIndex;\n  if (event.key === ARROW_UP) {\n    if (stop) {\n      stopEvent(event);\n    }\n    if (prevIndex === -1) {\n      nextIndex = maxIndex;\n    } else {\n      nextIndex = findNonDisabledListIndex(listRef, {\n        startingIndex: nextIndex,\n        amount: cols,\n        decrement: true,\n        disabledIndices\n      });\n      if (loop && (prevIndex - cols < minIndex || nextIndex < 0)) {\n        const col = prevIndex % cols;\n        const maxCol = maxIndex % cols;\n        const offset = maxIndex - (maxCol - col);\n        if (maxCol === col) {\n          nextIndex = maxIndex;\n        } else {\n          nextIndex = maxCol > col ? offset : offset - cols;\n        }\n      }\n    }\n    if (isIndexOutOfListBounds(listRef, nextIndex)) {\n      nextIndex = prevIndex;\n    }\n  }\n  if (event.key === ARROW_DOWN) {\n    if (stop) {\n      stopEvent(event);\n    }\n    if (prevIndex === -1) {\n      nextIndex = minIndex;\n    } else {\n      nextIndex = findNonDisabledListIndex(listRef, {\n        startingIndex: prevIndex,\n        amount: cols,\n        disabledIndices\n      });\n      if (loop && prevIndex + cols > maxIndex) {\n        nextIndex = findNonDisabledListIndex(listRef, {\n          startingIndex: prevIndex % cols - cols,\n          amount: cols,\n          disabledIndices\n        });\n      }\n    }\n    if (isIndexOutOfListBounds(listRef, nextIndex)) {\n      nextIndex = prevIndex;\n    }\n  }\n\n  // Remains on the same row/column.\n  if (orientation === 'both') {\n    const prevRow = floor(prevIndex / cols);\n    if (event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT)) {\n      if (stop) {\n        stopEvent(event);\n      }\n      if (prevIndex % cols !== cols - 1) {\n        nextIndex = findNonDisabledListIndex(listRef, {\n          startingIndex: prevIndex,\n          disabledIndices\n        });\n        if (loop && isDifferentGridRow(nextIndex, cols, prevRow)) {\n          nextIndex = findNonDisabledListIndex(listRef, {\n            startingIndex: prevIndex - prevIndex % cols - 1,\n            disabledIndices\n          });\n        }\n      } else if (loop) {\n        nextIndex = findNonDisabledListIndex(listRef, {\n          startingIndex: prevIndex - prevIndex % cols - 1,\n          disabledIndices\n        });\n      }\n      if (isDifferentGridRow(nextIndex, cols, prevRow)) {\n        nextIndex = prevIndex;\n      }\n    }\n    if (event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT)) {\n      if (stop) {\n        stopEvent(event);\n      }\n      if (prevIndex % cols !== 0) {\n        nextIndex = findNonDisabledListIndex(listRef, {\n          startingIndex: prevIndex,\n          decrement: true,\n          disabledIndices\n        });\n        if (loop && isDifferentGridRow(nextIndex, cols, prevRow)) {\n          nextIndex = findNonDisabledListIndex(listRef, {\n            startingIndex: prevIndex + (cols - prevIndex % cols),\n            decrement: true,\n            disabledIndices\n          });\n        }\n      } else if (loop) {\n        nextIndex = findNonDisabledListIndex(listRef, {\n          startingIndex: prevIndex + (cols - prevIndex % cols),\n          decrement: true,\n          disabledIndices\n        });\n      }\n      if (isDifferentGridRow(nextIndex, cols, prevRow)) {\n        nextIndex = prevIndex;\n      }\n    }\n    const lastRow = floor(maxIndex / cols) === prevRow;\n    if (isIndexOutOfListBounds(listRef, nextIndex)) {\n      if (loop && lastRow) {\n        nextIndex = event.key === (rtl ? ARROW_RIGHT : ARROW_LEFT) ? maxIndex : findNonDisabledListIndex(listRef, {\n          startingIndex: prevIndex - prevIndex % cols - 1,\n          disabledIndices\n        });\n      } else {\n        nextIndex = prevIndex;\n      }\n    }\n  }\n  return nextIndex;\n}\n\n/** For each cell index, gets the item index that occupies that cell */\nexport function createGridCellMap(sizes, cols, dense) {\n  const cellMap = [];\n  let startIndex = 0;\n  sizes.forEach(({\n    width,\n    height\n  }, index) => {\n    if (width > cols) {\n      if (process.env.NODE_ENV !== 'production') {\n        throw new Error(`[Floating UI]: Invalid grid - item width at index ${index} is greater than grid columns`);\n      }\n    }\n    let itemPlaced = false;\n    if (dense) {\n      startIndex = 0;\n    }\n    while (!itemPlaced) {\n      const targetCells = [];\n      for (let i = 0; i < width; i += 1) {\n        for (let j = 0; j < height; j += 1) {\n          targetCells.push(startIndex + i + j * cols);\n        }\n      }\n      if (startIndex % cols + width <= cols && targetCells.every(cell => cellMap[cell] == null)) {\n        targetCells.forEach(cell => {\n          cellMap[cell] = index;\n        });\n        itemPlaced = true;\n      } else {\n        startIndex += 1;\n      }\n    }\n  });\n\n  // convert into a non-sparse array\n  return [...cellMap];\n}\n\n/** Gets cell index of an item's corner or -1 when index is -1. */\nexport function getGridCellIndexOfCorner(index, sizes, cellMap, cols, corner) {\n  if (index === -1) {\n    return -1;\n  }\n  const firstCellIndex = cellMap.indexOf(index);\n  const sizeItem = sizes[index];\n  switch (corner) {\n    case 'tl':\n      return firstCellIndex;\n    case 'tr':\n      if (!sizeItem) {\n        return firstCellIndex;\n      }\n      return firstCellIndex + sizeItem.width - 1;\n    case 'bl':\n      if (!sizeItem) {\n        return firstCellIndex;\n      }\n      return firstCellIndex + (sizeItem.height - 1) * cols;\n    case 'br':\n      return cellMap.lastIndexOf(index);\n    default:\n      return -1;\n  }\n}\n\n/** Gets all cell indices that correspond to the specified indices */\nexport function getGridCellIndices(indices, cellMap) {\n  return cellMap.flatMap((index, cellIndex) => indices.includes(index) ? [cellIndex] : []);\n}\nexport function isListIndexDisabled(listRef, index, disabledIndices) {\n  if (typeof disabledIndices === 'function') {\n    return disabledIndices(index);\n  }\n  if (disabledIndices) {\n    return disabledIndices.includes(index);\n  }\n  const element = listRef.current[index];\n  return element == null || element.hasAttribute('disabled') || element.getAttribute('aria-disabled') === 'true';\n}","let rafId = 0;\nexport function enqueueFocus(el, options = {}) {\n  const {\n    preventScroll = false,\n    cancelPrevious = true,\n    sync = false\n  } = options;\n  if (cancelPrevious) {\n    cancelAnimationFrame(rafId);\n  }\n  const exec = () => el?.focus({\n    preventScroll\n  });\n  if (sync) {\n    exec();\n  } else {\n    rafId = requestAnimationFrame(exec);\n  }\n}","import * as React from 'react';\nimport { isHTMLElement } from '@floating-ui/utils/dom';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { activeElement, contains, getDocument, isTypeableCombobox, isVirtualClick, isVirtualPointerEvent, stopEvent, getFloatingFocusElement, isIndexOutOfListBounds, getMinListIndex, getMaxListIndex, getGridNavigatedIndex, isListIndexDisabled, createGridCellMap, getGridCellIndices, getGridCellIndexOfCorner, findNonDisabledListIndex } from \"../utils.js\";\nimport { useFloatingParentNodeId, useFloatingTree } from \"../components/FloatingTree.js\";\nimport { enqueueFocus } from \"../utils/enqueueFocus.js\";\nimport { ARROW_UP, ARROW_DOWN, ARROW_RIGHT, ARROW_LEFT } from \"../utils/constants.js\";\nexport const ESCAPE = 'Escape';\nfunction doSwitch(orientation, vertical, horizontal) {\n  switch (orientation) {\n    case 'vertical':\n      return vertical;\n    case 'horizontal':\n      return horizontal;\n    default:\n      return vertical || horizontal;\n  }\n}\nfunction isMainOrientationKey(key, orientation) {\n  const vertical = key === ARROW_UP || key === ARROW_DOWN;\n  const horizontal = key === ARROW_LEFT || key === ARROW_RIGHT;\n  return doSwitch(orientation, vertical, horizontal);\n}\nfunction isMainOrientationToEndKey(key, orientation, rtl) {\n  const vertical = key === ARROW_DOWN;\n  const horizontal = rtl ? key === ARROW_LEFT : key === ARROW_RIGHT;\n  return doSwitch(orientation, vertical, horizontal) || key === 'Enter' || key === ' ' || key === '';\n}\nfunction isCrossOrientationOpenKey(key, orientation, rtl) {\n  const vertical = rtl ? key === ARROW_LEFT : key === ARROW_RIGHT;\n  const horizontal = key === ARROW_DOWN;\n  return doSwitch(orientation, vertical, horizontal);\n}\nfunction isCrossOrientationCloseKey(key, orientation, rtl, cols) {\n  const vertical = rtl ? key === ARROW_RIGHT : key === ARROW_LEFT;\n  const horizontal = key === ARROW_UP;\n  if (orientation === 'both' || orientation === 'horizontal' && cols && cols > 1) {\n    return key === ESCAPE;\n  }\n  return doSwitch(orientation, vertical, horizontal);\n}\n/**\n * Adds arrow key-based navigation of a list of items, either using real DOM\n * focus or virtual focus.\n * @see https://floating-ui.com/docs/useListNavigation\n */\nexport function useListNavigation(context, props) {\n  const {\n    open,\n    onOpenChange,\n    elements,\n    floatingId\n  } = context;\n  const {\n    listRef,\n    activeIndex,\n    onNavigate: onNavigateProp = () => {},\n    enabled = true,\n    selectedIndex = null,\n    allowEscape = false,\n    loop = false,\n    nested = false,\n    rtl = false,\n    virtual = false,\n    focusItemOnOpen = 'auto',\n    focusItemOnHover = true,\n    openOnArrowKeyDown = true,\n    disabledIndices = undefined,\n    orientation = 'vertical',\n    parentOrientation,\n    cols = 1,\n    scrollItemIntoView = true,\n    virtualItemRef,\n    itemSizes,\n    dense = false\n  } = props;\n  if (process.env.NODE_ENV !== 'production') {\n    if (allowEscape) {\n      if (!loop) {\n        console.warn('`useListNavigation` looping must be enabled to allow escaping.');\n      }\n      if (!virtual) {\n        console.warn('`useListNavigation` must be virtual to allow escaping.');\n      }\n    }\n    if (orientation === 'vertical' && cols > 1) {\n      console.warn('In grid list navigation mode (`cols` > 1), the `orientation` should', 'be either \"horizontal\" or \"both\".');\n    }\n  }\n  const floatingFocusElement = getFloatingFocusElement(elements.floating);\n  const floatingFocusElementRef = useLatestRef(floatingFocusElement);\n  const parentId = useFloatingParentNodeId();\n  const tree = useFloatingTree();\n  useIsoLayoutEffect(() => {\n    context.dataRef.current.orientation = orientation;\n  }, [context, orientation]);\n  const typeableComboboxReference = isTypeableCombobox(elements.domReference);\n  const focusItemOnOpenRef = React.useRef(focusItemOnOpen);\n  const indexRef = React.useRef(selectedIndex ?? -1);\n  const keyRef = React.useRef(null);\n  const isPointerModalityRef = React.useRef(true);\n  const onNavigate = useEventCallback(() => {\n    onNavigateProp(indexRef.current === -1 ? null : indexRef.current);\n  });\n  const previousOnNavigateRef = React.useRef(onNavigate);\n  const previousMountedRef = React.useRef(!!elements.floating);\n  const previousOpenRef = React.useRef(open);\n  const forceSyncFocusRef = React.useRef(false);\n  const forceScrollIntoViewRef = React.useRef(false);\n  const disabledIndicesRef = useLatestRef(disabledIndices);\n  const latestOpenRef = useLatestRef(open);\n  const scrollItemIntoViewRef = useLatestRef(scrollItemIntoView);\n  const selectedIndexRef = useLatestRef(selectedIndex);\n  const [activeId, setActiveId] = React.useState();\n  const focusItem = useEventCallback(() => {\n    function runFocus(item) {\n      if (virtual) {\n        if (item.id?.endsWith('-fui-option')) {\n          item.id = `${floatingId}-${Math.random().toString(16).slice(2, 10)}`;\n        }\n        setActiveId(item.id);\n        tree?.events.emit('virtualfocus', item);\n        if (virtualItemRef) {\n          virtualItemRef.current = item;\n        }\n      } else {\n        enqueueFocus(item, {\n          sync: forceSyncFocusRef.current,\n          preventScroll: true\n        });\n      }\n    }\n    const initialItem = listRef.current[indexRef.current];\n    const forceScrollIntoView = forceScrollIntoViewRef.current;\n    if (initialItem) {\n      runFocus(initialItem);\n    }\n    const scheduler = forceSyncFocusRef.current ? v => v() : requestAnimationFrame;\n    scheduler(() => {\n      const waitedItem = listRef.current[indexRef.current] || initialItem;\n      if (!waitedItem) {\n        return;\n      }\n      if (!initialItem) {\n        runFocus(waitedItem);\n      }\n      const scrollIntoViewOptions = scrollItemIntoViewRef.current;\n      const shouldScrollIntoView =\n      // eslint-disable-next-line @typescript-eslint/no-use-before-define\n      scrollIntoViewOptions && item && (forceScrollIntoView || !isPointerModalityRef.current);\n      if (shouldScrollIntoView) {\n        // JSDOM doesn't support `.scrollIntoView()` but it's widely supported\n        // by all browsers.\n        waitedItem.scrollIntoView?.(typeof scrollIntoViewOptions === 'boolean' ? {\n          block: 'nearest',\n          inline: 'nearest'\n        } : scrollIntoViewOptions);\n      }\n    });\n  });\n\n  // Sync `selectedIndex` to be the `activeIndex` upon opening the floating\n  // element. Also, reset `activeIndex` upon closing the floating element.\n  useIsoLayoutEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    if (open && elements.floating) {\n      if (focusItemOnOpenRef.current && selectedIndex != null) {\n        // Regardless of the pointer modality, we want to ensure the selected\n        // item comes into view when the floating element is opened.\n        forceScrollIntoViewRef.current = true;\n        indexRef.current = selectedIndex;\n        onNavigate();\n      }\n    } else if (previousMountedRef.current) {\n      // Since the user can specify `onNavigate` conditionally\n      // (onNavigate: open ? setActiveIndex : setSelectedIndex),\n      // we store and call the previous function.\n      indexRef.current = -1;\n      previousOnNavigateRef.current();\n    }\n  }, [enabled, open, elements.floating, selectedIndex, onNavigate]);\n\n  // Sync `activeIndex` to be the focused item while the floating element is\n  // open.\n  useIsoLayoutEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    if (!open) {\n      return;\n    }\n    if (!elements.floating) {\n      return;\n    }\n    if (activeIndex == null) {\n      forceSyncFocusRef.current = false;\n      if (selectedIndexRef.current != null) {\n        return;\n      }\n\n      // Reset while the floating element was open (e.g. the list changed).\n      if (previousMountedRef.current) {\n        indexRef.current = -1;\n        focusItem();\n      }\n\n      // Initial sync.\n      if ((!previousOpenRef.current || !previousMountedRef.current) && focusItemOnOpenRef.current && (keyRef.current != null || focusItemOnOpenRef.current === true && keyRef.current == null)) {\n        let runs = 0;\n        const waitForListPopulated = () => {\n          if (listRef.current[0] == null) {\n            // Avoid letting the browser paint if possible on the first try,\n            // otherwise use rAF. Don't try more than twice, since something\n            // is wrong otherwise.\n            if (runs < 2) {\n              const scheduler = runs ? requestAnimationFrame : queueMicrotask;\n              scheduler(waitForListPopulated);\n            }\n            runs += 1;\n          } else {\n            indexRef.current = keyRef.current == null || isMainOrientationToEndKey(keyRef.current, orientation, rtl) || nested ? getMinListIndex(listRef, disabledIndicesRef.current) : getMaxListIndex(listRef, disabledIndicesRef.current);\n            keyRef.current = null;\n            onNavigate();\n          }\n        };\n        waitForListPopulated();\n      }\n    } else if (!isIndexOutOfListBounds(listRef, activeIndex)) {\n      indexRef.current = activeIndex;\n      focusItem();\n      forceScrollIntoViewRef.current = false;\n    }\n  }, [enabled, open, elements.floating, activeIndex, selectedIndexRef, nested, listRef, orientation, rtl, onNavigate, focusItem, disabledIndicesRef]);\n\n  // Ensure the parent floating element has focus when a nested child closes\n  // to allow arrow key navigation to work after the pointer leaves the child.\n  useIsoLayoutEffect(() => {\n    if (!enabled || elements.floating || !tree || virtual || !previousMountedRef.current) {\n      return;\n    }\n    const nodes = tree.nodesRef.current;\n    const parent = nodes.find(node => node.id === parentId)?.context?.elements.floating;\n    const activeEl = activeElement(getDocument(elements.floating));\n    const treeContainsActiveEl = nodes.some(node => node.context && contains(node.context.elements.floating, activeEl));\n    if (parent && !treeContainsActiveEl && isPointerModalityRef.current) {\n      parent.focus({\n        preventScroll: true\n      });\n    }\n  }, [enabled, elements.floating, tree, parentId, virtual]);\n  useIsoLayoutEffect(() => {\n    previousOnNavigateRef.current = onNavigate;\n    previousOpenRef.current = open;\n    previousMountedRef.current = !!elements.floating;\n  });\n  useIsoLayoutEffect(() => {\n    if (!open) {\n      keyRef.current = null;\n      focusItemOnOpenRef.current = focusItemOnOpen;\n    }\n  }, [open, focusItemOnOpen]);\n  const hasActiveIndex = activeIndex != null;\n  const item = React.useMemo(() => {\n    function syncCurrentTarget(currentTarget) {\n      if (!latestOpenRef.current) {\n        return;\n      }\n      const index = listRef.current.indexOf(currentTarget);\n      if (index !== -1 && indexRef.current !== index) {\n        indexRef.current = index;\n        onNavigate();\n      }\n    }\n    const itemProps = {\n      onFocus({\n        currentTarget\n      }) {\n        forceSyncFocusRef.current = true;\n        syncCurrentTarget(currentTarget);\n      },\n      onClick: ({\n        currentTarget\n      }) => currentTarget.focus({\n        preventScroll: true\n      }),\n      // Safari\n      onMouseMove({\n        currentTarget\n      }) {\n        forceSyncFocusRef.current = true;\n        forceScrollIntoViewRef.current = false;\n        if (focusItemOnHover) {\n          syncCurrentTarget(currentTarget);\n        }\n      },\n      onPointerLeave({\n        pointerType\n      }) {\n        if (!isPointerModalityRef.current || pointerType === 'touch') {\n          return;\n        }\n        forceSyncFocusRef.current = true;\n        if (!focusItemOnHover) {\n          return;\n        }\n        indexRef.current = -1;\n        onNavigate();\n        if (!virtual) {\n          floatingFocusElementRef.current?.focus({\n            preventScroll: true\n          });\n        }\n      }\n    };\n    return itemProps;\n  }, [latestOpenRef, floatingFocusElementRef, focusItemOnHover, listRef, onNavigate, virtual]);\n  const getParentOrientation = React.useCallback(() => {\n    return parentOrientation ?? tree?.nodesRef.current.find(node => node.id === parentId)?.context?.dataRef?.current.orientation;\n  }, [parentId, tree, parentOrientation]);\n  const commonOnKeyDown = useEventCallback(event => {\n    isPointerModalityRef.current = false;\n    forceSyncFocusRef.current = true;\n\n    // When composing a character, Chrome fires ArrowDown twice. Firefox/Safari\n    // don't appear to suffer from this. `event.isComposing` is avoided due to\n    // Safari not supporting it properly (although it's not needed in the first\n    // place for Safari, just avoiding any possible issues).\n    if (event.which === 229) {\n      return;\n    }\n\n    // If the floating element is animating out, ignore navigation. Otherwise,\n    // the `activeIndex` gets set to 0 despite not being open so the next time\n    // the user ArrowDowns, the first item won't be focused.\n    if (!latestOpenRef.current && event.currentTarget === floatingFocusElementRef.current) {\n      return;\n    }\n    if (nested && isCrossOrientationCloseKey(event.key, orientation, rtl, cols)) {\n      // If the nested list's close key is also the parent navigation key,\n      // let the parent navigate. Otherwise, stop propagating the event.\n      if (!isMainOrientationKey(event.key, getParentOrientation())) {\n        stopEvent(event);\n      }\n      onOpenChange(false, event.nativeEvent, 'list-navigation');\n      if (isHTMLElement(elements.domReference)) {\n        if (virtual) {\n          tree?.events.emit('virtualfocus', elements.domReference);\n        } else {\n          elements.domReference.focus();\n        }\n      }\n      return;\n    }\n    const currentIndex = indexRef.current;\n    const minIndex = getMinListIndex(listRef, disabledIndices);\n    const maxIndex = getMaxListIndex(listRef, disabledIndices);\n    if (!typeableComboboxReference) {\n      if (event.key === 'Home') {\n        stopEvent(event);\n        indexRef.current = minIndex;\n        onNavigate();\n      }\n      if (event.key === 'End') {\n        stopEvent(event);\n        indexRef.current = maxIndex;\n        onNavigate();\n      }\n    }\n\n    // Grid navigation.\n    if (cols > 1) {\n      const sizes = itemSizes || Array.from({\n        length: listRef.current.length\n      }, () => ({\n        width: 1,\n        height: 1\n      }));\n      // To calculate movements on the grid, we use hypothetical cell indices\n      // as if every item was 1x1, then convert back to real indices.\n      const cellMap = createGridCellMap(sizes, cols, dense);\n      const minGridIndex = cellMap.findIndex(index => index != null && !isListIndexDisabled(listRef, index, disabledIndices));\n      // last enabled index\n      const maxGridIndex = cellMap.reduce((foundIndex, index, cellIndex) => index != null && !isListIndexDisabled(listRef, index, disabledIndices) ? cellIndex : foundIndex, -1);\n      const index = cellMap[getGridNavigatedIndex({\n        current: cellMap.map(itemIndex => itemIndex != null ? listRef.current[itemIndex] : null)\n      }, {\n        event,\n        orientation,\n        loop,\n        rtl,\n        cols,\n        // treat undefined (empty grid spaces) as disabled indices so we\n        // don't end up in them\n        disabledIndices: getGridCellIndices([...((typeof disabledIndices !== 'function' ? disabledIndices : null) || listRef.current.map((_, listIndex) => isListIndexDisabled(listRef, listIndex, disabledIndices) ? listIndex : undefined)), undefined], cellMap),\n        minIndex: minGridIndex,\n        maxIndex: maxGridIndex,\n        prevIndex: getGridCellIndexOfCorner(indexRef.current > maxIndex ? minIndex : indexRef.current, sizes, cellMap, cols,\n        // use a corner matching the edge closest to the direction\n        // we're moving in so we don't end up in the same item. Prefer\n        // top/left over bottom/right.\n        // eslint-disable-next-line no-nested-ternary\n        event.key === ARROW_DOWN ? 'bl' : event.key === (rtl ? ARROW_LEFT : ARROW_RIGHT) ? 'tr' : 'tl'),\n        stopEvent: true\n      })];\n      if (index != null) {\n        indexRef.current = index;\n        onNavigate();\n      }\n      if (orientation === 'both') {\n        return;\n      }\n    }\n    if (isMainOrientationKey(event.key, orientation)) {\n      stopEvent(event);\n\n      // Reset the index if no item is focused.\n      if (open && !virtual && activeElement(event.currentTarget.ownerDocument) === event.currentTarget) {\n        indexRef.current = isMainOrientationToEndKey(event.key, orientation, rtl) ? minIndex : maxIndex;\n        onNavigate();\n        return;\n      }\n      if (isMainOrientationToEndKey(event.key, orientation, rtl)) {\n        if (loop) {\n          indexRef.current =\n          // eslint-disable-next-line no-nested-ternary\n          currentIndex >= maxIndex ? allowEscape && currentIndex !== listRef.current.length ? -1 : minIndex : findNonDisabledListIndex(listRef, {\n            startingIndex: currentIndex,\n            disabledIndices\n          });\n        } else {\n          indexRef.current = Math.min(maxIndex, findNonDisabledListIndex(listRef, {\n            startingIndex: currentIndex,\n            disabledIndices\n          }));\n        }\n      } else if (loop) {\n        indexRef.current =\n        // eslint-disable-next-line no-nested-ternary\n        currentIndex <= minIndex ? allowEscape && currentIndex !== -1 ? listRef.current.length : maxIndex : findNonDisabledListIndex(listRef, {\n          startingIndex: currentIndex,\n          decrement: true,\n          disabledIndices\n        });\n      } else {\n        indexRef.current = Math.max(minIndex, findNonDisabledListIndex(listRef, {\n          startingIndex: currentIndex,\n          decrement: true,\n          disabledIndices\n        }));\n      }\n      if (isIndexOutOfListBounds(listRef, indexRef.current)) {\n        indexRef.current = -1;\n      }\n      onNavigate();\n    }\n  });\n  const ariaActiveDescendantProp = React.useMemo(() => {\n    return virtual && open && hasActiveIndex && {\n      'aria-activedescendant': activeId\n    };\n  }, [virtual, open, hasActiveIndex, activeId]);\n  const floating = React.useMemo(() => {\n    return {\n      'aria-orientation': orientation === 'both' ? undefined : orientation,\n      ...(!typeableComboboxReference ? ariaActiveDescendantProp : {}),\n      onKeyDown(event) {\n        // Close submenu on Shift+Tab\n        if (event.key === 'Tab' && event.shiftKey && open && !virtual) {\n          stopEvent(event);\n          onOpenChange(false, event.nativeEvent, 'list-navigation');\n          if (isHTMLElement(elements.domReference)) {\n            elements.domReference.focus();\n          }\n          return;\n        }\n        commonOnKeyDown(event);\n      },\n      onPointerMove() {\n        isPointerModalityRef.current = true;\n      }\n    };\n  }, [ariaActiveDescendantProp, commonOnKeyDown, orientation, typeableComboboxReference, onOpenChange, open, virtual, elements.domReference]);\n  const reference = React.useMemo(() => {\n    function checkVirtualMouse(event) {\n      if (focusItemOnOpen === 'auto' && isVirtualClick(event.nativeEvent)) {\n        focusItemOnOpenRef.current = true;\n      }\n    }\n    function checkVirtualPointer(event) {\n      // `pointerdown` fires first, reset the state then perform the checks.\n      focusItemOnOpenRef.current = focusItemOnOpen;\n      if (focusItemOnOpen === 'auto' && isVirtualPointerEvent(event.nativeEvent)) {\n        focusItemOnOpenRef.current = true;\n      }\n    }\n    return {\n      ...ariaActiveDescendantProp,\n      onKeyDown(event) {\n        isPointerModalityRef.current = false;\n        const isArrowKey = event.key.startsWith('Arrow');\n        const isParentCrossOpenKey = isCrossOrientationOpenKey(event.key, getParentOrientation(), rtl);\n        const isMainKey = isMainOrientationKey(event.key, orientation);\n        const isNavigationKey = (nested ? isParentCrossOpenKey : isMainKey) || event.key === 'Enter' || event.key.trim() === '';\n        if (virtual && open) {\n          return commonOnKeyDown(event);\n        }\n\n        // If a floating element should not open on arrow key down, avoid\n        // setting `activeIndex` while it's closed.\n        if (!open && !openOnArrowKeyDown && isArrowKey) {\n          return undefined;\n        }\n        if (isNavigationKey) {\n          const isParentMainKey = isMainOrientationKey(event.key, getParentOrientation());\n          keyRef.current = nested && isParentMainKey ? null : event.key;\n        }\n        if (nested) {\n          if (isParentCrossOpenKey) {\n            stopEvent(event);\n            if (open) {\n              indexRef.current = getMinListIndex(listRef, disabledIndicesRef.current);\n              onNavigate();\n            } else {\n              onOpenChange(true, event.nativeEvent, 'list-navigation');\n            }\n          }\n          return undefined;\n        }\n        if (isMainKey) {\n          if (selectedIndex != null) {\n            indexRef.current = selectedIndex;\n          }\n          stopEvent(event);\n          if (!open && openOnArrowKeyDown) {\n            onOpenChange(true, event.nativeEvent, 'list-navigation');\n          } else {\n            commonOnKeyDown(event);\n          }\n          if (open) {\n            onNavigate();\n          }\n        }\n        return undefined;\n      },\n      onFocus() {\n        if (open && !virtual) {\n          indexRef.current = -1;\n          onNavigate();\n        }\n      },\n      onPointerDown: checkVirtualPointer,\n      onPointerEnter: checkVirtualPointer,\n      onMouseDown: checkVirtualMouse,\n      onClick: checkVirtualMouse\n    };\n  }, [ariaActiveDescendantProp, commonOnKeyDown, disabledIndicesRef, focusItemOnOpen, listRef, nested, onNavigate, onOpenChange, open, openOnArrowKeyDown, orientation, getParentOrientation, rtl, selectedIndex, virtual]);\n  return React.useMemo(() => enabled ? {\n    reference,\n    floating,\n    item\n  } : {}, [enabled, reference, floating, item]);\n}","import * as React from 'react';\nimport { ACTIVE_KEY, FOCUSABLE_ATTRIBUTE, SELECTED_KEY } from \"../utils/constants.js\";\n/**\n * Merges an array of interaction hooks' props into prop getters, allowing\n * event handler functions to be composed together without overwriting one\n * another.\n * @see https://floating-ui.com/docs/useInteractions\n */\nexport function useInteractions(propsList = []) {\n  const referenceDeps = propsList.map(key => key?.reference);\n  const floatingDeps = propsList.map(key => key?.floating);\n  const itemDeps = propsList.map(key => key?.item);\n  const getReferenceProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'reference'),\n  // eslint-disable-next-line react-hooks/exhaustive-deps\n  referenceDeps);\n  const getFloatingProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'floating'),\n  // eslint-disable-next-line react-hooks/exhaustive-deps\n  floatingDeps);\n  const getItemProps = React.useCallback(userProps => mergeProps(userProps, propsList, 'item'),\n  // eslint-disable-next-line react-hooks/exhaustive-deps\n  itemDeps);\n  return React.useMemo(() => ({\n    getReferenceProps,\n    getFloatingProps,\n    getItemProps\n  }), [getReferenceProps, getFloatingProps, getItemProps]);\n}\n\n/* eslint-disable guard-for-in */\n\nfunction mergeProps(userProps, propsList, elementKey) {\n  const eventHandlers = new Map();\n  const isItem = elementKey === 'item';\n  const outputProps = {};\n  if (elementKey === 'floating') {\n    outputProps.tabIndex = -1;\n    outputProps[FOCUSABLE_ATTRIBUTE] = '';\n  }\n  for (const key in userProps) {\n    if (isItem && userProps) {\n      if (key === ACTIVE_KEY || key === SELECTED_KEY) {\n        continue;\n      }\n    }\n    outputProps[key] = userProps[key];\n  }\n  for (let i = 0; i < propsList.length; i += 1) {\n    let props;\n    const propsOrGetProps = propsList[i]?.[elementKey];\n    if (typeof propsOrGetProps === 'function') {\n      props = userProps ? propsOrGetProps(userProps) : null;\n    } else {\n      props = propsOrGetProps;\n    }\n    if (!props) {\n      continue;\n    }\n    mutablyMergeProps(outputProps, props, isItem, eventHandlers);\n  }\n  mutablyMergeProps(outputProps, userProps, isItem, eventHandlers);\n  return outputProps;\n}\nfunction mutablyMergeProps(outputProps, props, isItem, eventHandlers) {\n  for (const key in props) {\n    const value = props[key];\n    if (isItem && (key === ACTIVE_KEY || key === SELECTED_KEY)) {\n      continue;\n    }\n    if (!key.startsWith('on')) {\n      outputProps[key] = value;\n    } else {\n      if (!eventHandlers.has(key)) {\n        eventHandlers.set(key, []);\n      }\n      if (typeof value === 'function') {\n        eventHandlers.get(key)?.push(value);\n        outputProps[key] = (...args) => {\n          return eventHandlers.get(key)?.map(fn => fn(...args)).find(val => val !== undefined);\n        };\n      }\n    }\n  }\n}","'use client';\n\nimport * as React from 'react';\nexport const MenuRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") MenuRootContext.displayName = \"MenuRootContext\";\nexport function useMenuRootContext(optional) {\n  const context = React.useContext(MenuRootContext);\n  if (context === undefined && !optional) {\n    throw new Error('Base UI: MenuRootContext is missing. Menu parts must be placed within <Menu.Root>.');\n  }\n  return context;\n}","'use client';\n\nimport * as React from 'react';\nexport const MenubarContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") MenubarContext.displayName = \"MenubarContext\";\nexport function useMenubarContext(optional) {\n  const context = React.useContext(MenubarContext);\n  if (context === null && !optional) {\n    throw new Error('Base UI: MenubarContext is missing. Menubar parts must be placed within <Menubar>.');\n  }\n  return context;\n}","'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { AnimationFrame } from '@base-ui-components/utils/useAnimationFrame';\n/**\n * Provides a status string for CSS animations.\n * @param open - a boolean that determines if the element is open.\n * @param enableIdleState - a boolean that enables the `'idle'` state between `'starting'` and `'ending'`\n */\nexport function useTransitionStatus(open, enableIdleState = false, deferEndingState = false) {\n  const [transitionStatus, setTransitionStatus] = React.useState(open && enableIdleState ? 'idle' : undefined);\n  const [mounted, setMounted] = React.useState(open);\n  if (open && !mounted) {\n    setMounted(true);\n    setTransitionStatus('starting');\n  }\n  if (!open && mounted && transitionStatus !== 'ending' && !deferEndingState) {\n    setTransitionStatus('ending');\n  }\n  if (!open && !mounted && transitionStatus === 'ending') {\n    setTransitionStatus(undefined);\n  }\n  useIsoLayoutEffect(() => {\n    if (!open && mounted && transitionStatus !== 'ending' && deferEndingState) {\n      const frame = AnimationFrame.request(() => {\n        setTransitionStatus('ending');\n      });\n      return () => {\n        AnimationFrame.cancel(frame);\n      };\n    }\n    return undefined;\n  }, [open, mounted, transitionStatus, deferEndingState]);\n  useIsoLayoutEffect(() => {\n    if (!open || enableIdleState) {\n      return undefined;\n    }\n    const frame = AnimationFrame.request(() => {\n      ReactDOM.flushSync(() => {\n        setTransitionStatus(undefined);\n      });\n    });\n    return () => {\n      AnimationFrame.cancel(frame);\n    };\n  }, [enableIdleState, open]);\n  useIsoLayoutEffect(() => {\n    if (!open || !enableIdleState) {\n      return undefined;\n    }\n    if (open && mounted && transitionStatus !== 'idle') {\n      setTransitionStatus('starting');\n    }\n    const frame = AnimationFrame.request(() => {\n      setTransitionStatus('idle');\n    });\n    return () => {\n      AnimationFrame.cancel(frame);\n    };\n  }, [enableIdleState, open, mounted, setTransitionStatus, transitionStatus]);\n  return React.useMemo(() => ({\n    mounted,\n    setMounted,\n    transitionStatus\n  }), [mounted, transitionStatus]);\n}","'use client';\n\nimport * as React from 'react';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useAnimationsFinished } from \"./useAnimationsFinished.js\";\n\n/**\n * Calls the provided function when the CSS open/close animation or transition completes.\n */\nexport function useOpenChangeComplete(parameters) {\n  const {\n    enabled = true,\n    open,\n    ref,\n    onComplete: onCompleteParam\n  } = parameters;\n  const openRef = useLatestRef(open);\n  const onComplete = useEventCallback(onCompleteParam);\n  const runOnceAnimationsFinish = useAnimationsFinished(ref, open);\n  React.useEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    runOnceAnimationsFinish(() => {\n      if (open === openRef.current) {\n        onComplete();\n      }\n    });\n  }, [enabled, open, onComplete, runOnceAnimationsFinish, openRef]);\n}","'use client';\n\nimport * as ReactDOM from 'react-dom';\nimport { useAnimationFrame } from '@base-ui-components/utils/useAnimationFrame';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\n\n/**\n * Executes a function once all animations have finished on the provided element.\n * @param elementOrRef - The element to watch for animations.\n * @param waitForNextTick - Whether to wait for the next tick before checking for animations.\n */\nexport function useAnimationsFinished(elementOrRef, waitForNextTick = false) {\n  const frame = useAnimationFrame();\n  return useEventCallback((fnToExecute,\n  /**\n   * An optional [AbortSignal](https://developer.mozilla.org/en-US/docs/Web/API/AbortSignal) that\n   * can be used to abort `fnToExecute` before all the animations have finished.\n   * @default null\n   */\n  signal = null) => {\n    frame.cancel();\n    if (elementOrRef == null) {\n      return;\n    }\n    let element;\n    if ('current' in elementOrRef) {\n      if (elementOrRef.current == null) {\n        return;\n      }\n      element = elementOrRef.current;\n    } else {\n      element = elementOrRef;\n    }\n    if (typeof element.getAnimations !== 'function' || globalThis.BASE_UI_ANIMATIONS_DISABLED) {\n      fnToExecute();\n    } else {\n      frame.request(() => {\n        function exec() {\n          if (!element) {\n            return;\n          }\n          Promise.allSettled(element.getAnimations().map(anim => anim.finished)).then(() => {\n            if (signal != null && signal.aborted) {\n              return;\n            }\n            // Synchronously flush the unmounting of the component so that the browser doesn't\n            // paint: https://github.com/mui/base-ui/issues/979\n            ReactDOM.flushSync(fnToExecute);\n          });\n        }\n\n        // `open: true` animations need to wait for the next tick to be detected\n        if (waitForNextTick) {\n          frame.request(exec);\n        } else {\n          exec();\n        }\n      });\n    }\n  });\n}","'use client';\n\nimport * as React from 'react';\n/**\n * @internal\n */\nexport const DirectionContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") DirectionContext.displayName = \"DirectionContext\";\nexport function useDirection(optional = true) {\n  const context = React.useContext(DirectionContext);\n  if (context === undefined && !optional) {\n    throw new Error('Base UI: DirectionContext is missing.');\n  }\n  return context?.direction ?? 'ltr';\n}","export { getWindow as ownerWindow } from '@floating-ui/utils/dom';\nexport function ownerDocument(node) {\n  return node?.ownerDocument || document;\n}","export const NOOP = () => {};","import { isIOS, isWebKit } from '@base-ui-components/utils/detectBrowser';\nimport { ownerDocument, ownerWindow } from '@base-ui-components/utils/owner';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { Timeout } from '@base-ui-components/utils/useTimeout';\nimport { AnimationFrame } from '@base-ui-components/utils/useAnimationFrame';\nimport { NOOP } from \"./noop.js\";\n\n/* eslint-disable lines-between-class-members */\n\nlet originalHtmlStyles = {};\nlet originalBodyStyles = {};\nlet originalHtmlScrollBehavior = '';\nfunction hasInsetScrollbars(referenceElement) {\n  if (typeof document === 'undefined') {\n    return false;\n  }\n  const doc = ownerDocument(referenceElement);\n  const win = ownerWindow(doc);\n  return win.innerWidth - doc.documentElement.clientWidth > 0;\n}\nfunction preventScrollBasic(referenceElement) {\n  const doc = ownerDocument(referenceElement);\n  const html = doc.documentElement;\n  const originalOverflow = html.style.overflow;\n  html.style.overflow = 'hidden';\n  return () => {\n    html.style.overflow = originalOverflow;\n  };\n}\nfunction preventScrollStandard(referenceElement) {\n  const doc = ownerDocument(referenceElement);\n  const html = doc.documentElement;\n  const body = doc.body;\n  const win = ownerWindow(html);\n  let scrollTop = 0;\n  let scrollLeft = 0;\n  const resizeFrame = AnimationFrame.create();\n\n  // Pinch-zoom in Safari causes a shift. Just don't lock scroll if there's any pinch-zoom.\n  if (isWebKit && (win.visualViewport?.scale ?? 1) !== 1) {\n    return () => {};\n  }\n  function lockScroll() {\n    /* DOM reads: */\n\n    const htmlStyles = win.getComputedStyle(html);\n    const bodyStyles = win.getComputedStyle(body);\n    scrollTop = html.scrollTop;\n    scrollLeft = html.scrollLeft;\n    originalHtmlStyles = {\n      scrollbarGutter: html.style.scrollbarGutter,\n      overflowY: html.style.overflowY,\n      overflowX: html.style.overflowX\n    };\n    originalHtmlScrollBehavior = html.style.scrollBehavior;\n    originalBodyStyles = {\n      position: body.style.position,\n      height: body.style.height,\n      width: body.style.width,\n      boxSizing: body.style.boxSizing,\n      overflowY: body.style.overflowY,\n      overflowX: body.style.overflowX,\n      scrollBehavior: body.style.scrollBehavior\n    };\n\n    // Handle `scrollbar-gutter` in Chrome when there is no scrollable content.\n    const supportsStableScrollbarGutter = typeof CSS !== 'undefined' && CSS.supports?.('scrollbar-gutter', 'stable');\n    const isScrollableY = html.scrollHeight > html.clientHeight;\n    const isScrollableX = html.scrollWidth > html.clientWidth;\n    const hasConstantOverflowY = htmlStyles.overflowY === 'scroll' || bodyStyles.overflowY === 'scroll';\n    const hasConstantOverflowX = htmlStyles.overflowX === 'scroll' || bodyStyles.overflowX === 'scroll';\n\n    // Values can be negative in Firefox\n    const scrollbarWidth = Math.max(0, win.innerWidth - html.clientWidth);\n    const scrollbarHeight = Math.max(0, win.innerHeight - html.clientHeight);\n\n    // Avoid shift due to the default <body> margin. This does cause elements to be clipped\n    // with whitespace. Warn if <body> has margins?\n    const marginY = parseFloat(bodyStyles.marginTop) + parseFloat(bodyStyles.marginBottom);\n    const marginX = parseFloat(bodyStyles.marginLeft) + parseFloat(bodyStyles.marginRight);\n\n    /*\n     * DOM writes:\n     * Do not read the DOM past this point!\n     */\n\n    Object.assign(html.style, {\n      scrollbarGutter: 'stable',\n      overflowY: !supportsStableScrollbarGutter && (isScrollableY || hasConstantOverflowY) ? 'scroll' : 'hidden',\n      overflowX: !supportsStableScrollbarGutter && (isScrollableX || hasConstantOverflowX) ? 'scroll' : 'hidden'\n    });\n    Object.assign(body.style, {\n      position: 'relative',\n      height: marginY || scrollbarHeight ? `calc(100dvh - ${marginY + scrollbarHeight}px)` : '100dvh',\n      width: marginX || scrollbarWidth ? `calc(100vw - ${marginX + scrollbarWidth}px)` : '100vw',\n      boxSizing: 'border-box',\n      overflow: 'hidden',\n      scrollBehavior: 'unset'\n    });\n    body.scrollTop = scrollTop;\n    body.scrollLeft = scrollLeft;\n    html.setAttribute('data-base-ui-scroll-locked', '');\n    html.style.scrollBehavior = 'unset';\n  }\n  function cleanup() {\n    Object.assign(html.style, originalHtmlStyles);\n    Object.assign(body.style, originalBodyStyles);\n    html.scrollTop = scrollTop;\n    html.scrollLeft = scrollLeft;\n    html.removeAttribute('data-base-ui-scroll-locked');\n    html.style.scrollBehavior = originalHtmlScrollBehavior;\n  }\n  function handleResize() {\n    cleanup();\n    resizeFrame.request(lockScroll);\n  }\n  lockScroll();\n  win.addEventListener('resize', handleResize);\n  return () => {\n    resizeFrame.cancel();\n    cleanup();\n    win.removeEventListener('resize', handleResize);\n  };\n}\nclass ScrollLocker {\n  lockCount = 0;\n  restore = (() => null)();\n  timeoutLock = (() => Timeout.create())();\n  timeoutUnlock = (() => Timeout.create())();\n  acquire(referenceElement) {\n    this.lockCount += 1;\n    if (this.lockCount === 1 && this.restore === null) {\n      this.timeoutLock.start(0, () => this.lock(referenceElement));\n    }\n    return this.release;\n  }\n  release = () => {\n    this.lockCount -= 1;\n    if (this.lockCount === 0 && this.restore) {\n      this.timeoutUnlock.start(0, this.unlock);\n    }\n  };\n  unlock = () => {\n    if (this.lockCount === 0 && this.restore) {\n      this.restore?.();\n      this.restore = null;\n    }\n  };\n  lock(referenceElement) {\n    if (this.lockCount === 0 || this.restore !== null) {\n      return;\n    }\n    const doc = ownerDocument(referenceElement);\n    const html = doc.documentElement;\n    const htmlOverflowY = ownerWindow(html).getComputedStyle(html).overflowY;\n\n    // If the site author already hid overflow on <html>, respect it and bail out.\n    if (htmlOverflowY === 'hidden' || htmlOverflowY === 'clip') {\n      this.restore = NOOP;\n      return;\n    }\n    const isOverflowHiddenLock = isIOS || !hasInsetScrollbars(referenceElement);\n\n    // On iOS, scroll locking does not work if the navbar is collapsed. Due to numerous\n    // side effects and bugs that arise on iOS, it must be researched extensively before\n    // being enabled to ensure it doesn't cause the following issues:\n    // - Textboxes must scroll into view when focused, nor cause a glitchy scroll animation.\n    // - The navbar must not force itself into view and cause layout shift.\n    // - Scroll containers must not flicker upon closing a popup when it has an exit animation.\n    this.restore = isOverflowHiddenLock ? preventScrollBasic(referenceElement) : preventScrollStandard(referenceElement);\n  }\n}\nconst SCROLL_LOCKER = new ScrollLocker();\n\n/**\n * Locks the scroll of the document when enabled.\n *\n * @param enabled - Whether to enable the scroll lock.\n */\nexport function useScrollLock(params) {\n  const {\n    enabled = true,\n    mounted,\n    open,\n    referenceElement = null\n  } = params;\n\n  // https://github.com/mui/base-ui/issues/1135\n  useIsoLayoutEffect(() => {\n    if (enabled && isWebKit && mounted && !open) {\n      const doc = ownerDocument(referenceElement);\n      const originalUserSelect = doc.body.style.userSelect;\n      const originalWebkitUserSelect = doc.body.style.webkitUserSelect;\n      doc.body.style.userSelect = 'none';\n      doc.body.style.webkitUserSelect = 'none';\n      return () => {\n        doc.body.style.userSelect = originalUserSelect;\n        doc.body.style.webkitUserSelect = originalWebkitUserSelect;\n      };\n    }\n    return undefined;\n  }, [enabled, mounted, open, referenceElement]);\n  useIsoLayoutEffect(() => {\n    if (!enabled) {\n      return undefined;\n    }\n    return SCROLL_LOCKER.acquire(referenceElement);\n  }, [enabled, referenceElement]);\n}","export function translateOpenChangeReason(nativeReason) {\n  if (!nativeReason) {\n    return undefined;\n  }\n  return {\n    // Identical mappings\n    'focus-out': 'focus-out',\n    'escape-key': 'escape-key',\n    'outside-press': 'outside-press',\n    'list-navigation': 'list-navigation',\n    // New mappings\n    click: 'trigger-press',\n    hover: 'trigger-hover',\n    focus: 'trigger-focus',\n    'reference-press': 'trigger-press',\n    'safe-polygon': 'trigger-hover',\n    'ancestor-scroll': undefined // Not supported\n  }[nativeReason];\n}","import * as React from 'react';\nexport const ContextMenuRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") ContextMenuRootContext.displayName = \"ContextMenuRootContext\";\nexport function useContextMenuRootContext(optional = true) {\n  const context = React.useContext(ContextMenuRootContext);\n  if (context === undefined && !optional) {\n    throw new Error('Base UI: ContextMenuRootContext is missing. ContextMenu parts must be placed within <ContextMenu.Root>.');\n  }\n  return context;\n}","import * as React from 'react';\nexport const MenuSubmenuRootContext = /*#__PURE__*/React.createContext(false);\nif (process.env.NODE_ENV !== \"production\") MenuSubmenuRootContext.displayName = \"MenuSubmenuRootContext\";\nexport function useMenuSubmenuRootContext() {\n  return React.useContext(MenuSubmenuRootContext);\n}","export function mergeObjects(a, b) {\n  if (a && !b) {\n    return a;\n  }\n  if (!a && b) {\n    return b;\n  }\n  if (a || b) {\n    return {\n      ...a,\n      ...b\n    };\n  }\n  return undefined;\n}","import { mergeObjects } from '@base-ui-components/utils/mergeObjects';\nconst EMPTY_PROPS = {};\n\n/**\n * Merges multiple sets of React props. It follows the Object.assign pattern where the rightmost object's fields overwrite\n * the conflicting ones from others. This doesn't apply to event handlers, `className` and `style` props.\n * Event handlers are merged such that they are called in sequence (the rightmost one being called first),\n * and allows the user to prevent the subsequent event handlers from being\n * executed by attaching a `preventBaseUIHandler` method.\n * It also merges the `className` and `style` props, whereby the classes are concatenated\n * and the rightmost styles overwrite the subsequent ones.\n *\n * Props can either be provided as objects or as functions that take the previous props as an argument.\n * The function will receive the merged props up to that point (going from left to right):\n * so in the case of `(obj1, obj2, fn, obj3)`, `fn` will receive the merged props of `obj1` and `obj2`.\n * The function is responsible for chaining event handlers if needed (i.e. we don't run the merge logic).\n *\n * Event handlers returned by the functions are not automatically prevented when `preventBaseUIHandler` is called.\n * They must check `event.baseUIHandlerPrevented` themselves and bail out if it's true.\n *\n * @important **`ref` is not merged.**\n * @param props props to merge.\n * @returns the merged props.\n */\n/* eslint-disable id-denylist */\n\nexport function mergeProps(a, b, c, d, e) {\n  // We need to mutably own `merged`\n  let merged = {\n    ...resolvePropsGetter(a, EMPTY_PROPS)\n  };\n  if (b) {\n    merged = mergeOne(merged, b);\n  }\n  if (c) {\n    merged = mergeOne(merged, c);\n  }\n  if (d) {\n    merged = mergeOne(merged, d);\n  }\n  if (e) {\n    merged = mergeOne(merged, e);\n  }\n  return merged;\n}\n/* eslint-enable id-denylist */\n\nexport function mergePropsN(props) {\n  if (props.length === 0) {\n    return EMPTY_PROPS;\n  }\n  if (props.length === 1) {\n    return resolvePropsGetter(props[0], EMPTY_PROPS);\n  }\n\n  // We need to mutably own `merged`\n  let merged = {\n    ...resolvePropsGetter(props[0], EMPTY_PROPS)\n  };\n  for (let i = 1; i < props.length; i += 1) {\n    merged = mergeOne(merged, props[i]);\n  }\n  return merged;\n}\nfunction mergeOne(merged, inputProps) {\n  if (isPropsGetter(inputProps)) {\n    return inputProps(merged);\n  }\n  return mutablyMergeInto(merged, inputProps);\n}\n\n/**\n * Merges two sets of props. In case of conflicts, the external props take precedence.\n */\nfunction mutablyMergeInto(mergedProps, externalProps) {\n  if (!externalProps) {\n    return mergedProps;\n  }\n\n  // eslint-disable-next-line guard-for-in\n  for (const propName in externalProps) {\n    const externalPropValue = externalProps[propName];\n    switch (propName) {\n      case 'style':\n        {\n          mergedProps[propName] = mergeObjects(mergedProps.style, externalPropValue);\n          break;\n        }\n      case 'className':\n        {\n          mergedProps[propName] = mergeClassNames(mergedProps.className, externalPropValue);\n          break;\n        }\n      default:\n        {\n          if (isEventHandler(propName, externalPropValue)) {\n            mergedProps[propName] = mergeEventHandlers(mergedProps[propName], externalPropValue);\n          } else {\n            mergedProps[propName] = externalPropValue;\n          }\n        }\n    }\n  }\n  return mergedProps;\n}\nfunction isEventHandler(key, value) {\n  // This approach is more efficient than using a regex.\n  const code0 = key.charCodeAt(0);\n  const code1 = key.charCodeAt(1);\n  const code2 = key.charCodeAt(2);\n  return code0 === 111 /* o */ && code1 === 110 /* n */ && code2 >= 65 /* A */ && code2 <= 90 /* Z */ && (typeof value === 'function' || typeof value === 'undefined');\n}\nfunction isPropsGetter(inputProps) {\n  return typeof inputProps === 'function';\n}\nfunction resolvePropsGetter(inputProps, previousProps) {\n  if (isPropsGetter(inputProps)) {\n    return inputProps(previousProps);\n  }\n  return inputProps ?? EMPTY_PROPS;\n}\nfunction mergeEventHandlers(ourHandler, theirHandler) {\n  if (!theirHandler) {\n    return ourHandler;\n  }\n  if (!ourHandler) {\n    return theirHandler;\n  }\n  return event => {\n    if (isSyntheticEvent(event)) {\n      const baseUIEvent = event;\n      makeEventPreventable(baseUIEvent);\n      const result = theirHandler(baseUIEvent);\n      if (!baseUIEvent.baseUIHandlerPrevented) {\n        ourHandler?.(baseUIEvent);\n      }\n      return result;\n    }\n    const result = theirHandler(event);\n    ourHandler?.(event);\n    return result;\n  };\n}\nexport function makeEventPreventable(event) {\n  event.preventBaseUIHandler = () => {\n    event.baseUIHandlerPrevented = true;\n  };\n  return event;\n}\nexport function mergeClassNames(ourClassName, theirClassName) {\n  if (theirClassName) {\n    if (ourClassName) {\n      // eslint-disable-next-line prefer-template\n      return theirClassName + ' ' + ourClassName;\n    }\n    return theirClassName;\n  }\n  return ourClassName;\n}\nfunction isSyntheticEvent(event) {\n  return event != null && typeof event === 'object' && 'nativeEvent' in event;\n}","'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useControlled } from '@base-ui-components/utils/useControlled';\nimport { useId } from '@base-ui-components/utils/useId';\nimport { FloatingTree, useClick, useDismiss, useFloatingRootContext, useFocus, useHover, useInteractions, useListNavigation, useRole, useTypeahead, safePolygon } from \"../../floating-ui-react/index.js\";\nimport { MenuRootContext, useMenuRootContext } from \"./MenuRootContext.js\";\nimport { useMenubarContext } from \"../../menubar/MenubarContext.js\";\nimport { useTransitionStatus } from \"../../utils/useTransitionStatus.js\";\nimport { PATIENT_CLICK_THRESHOLD, TYPEAHEAD_RESET_MS } from \"../../utils/constants.js\";\nimport { useOpenChangeComplete } from \"../../utils/useOpenChangeComplete.js\";\nimport { useDirection } from \"../../direction-provider/DirectionContext.js\";\nimport { useScrollLock } from \"../../utils/useScrollLock.js\";\nimport { useOpenInteractionType } from \"../../utils/useOpenInteractionType.js\";\nimport { translateOpenChangeReason } from \"../../utils/translateOpenChangeReason.js\";\nimport { useContextMenuRootContext } from \"../../context-menu/root/ContextMenuRootContext.js\";\nimport { useMenuSubmenuRootContext } from \"../submenu-root/MenuSubmenuRootContext.js\";\nimport { useMixedToggleClickHandler } from \"../../utils/useMixedToggleClickHander.js\";\nimport { mergeProps } from \"../../merge-props/index.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst EMPTY_ARRAY = [];\nconst EMPTY_REF = {\n  current: false\n};\n\n/**\n * Groups all parts of the menu.\n * Doesn’t render its own HTML element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nexport const MenuRoot = function MenuRoot(props) {\n  const {\n    children,\n    open: openProp,\n    onOpenChange,\n    onOpenChangeComplete,\n    defaultOpen = false,\n    disabled = false,\n    modal: modalProp,\n    loop = true,\n    orientation = 'vertical',\n    actionsRef,\n    openOnHover: openOnHoverProp,\n    delay = 100,\n    closeDelay = 0,\n    closeParentOnEsc = true\n  } = props;\n  const [triggerElement, setTriggerElement] = React.useState(null);\n  const [positionerElement, setPositionerElementUnwrapped] = React.useState(null);\n  const [instantType, setInstantType] = React.useState();\n  const [hoverEnabled, setHoverEnabled] = React.useState(true);\n  const [activeIndex, setActiveIndex] = React.useState(null);\n  const [lastOpenChangeReason, setLastOpenChangeReason] = React.useState(null);\n  const [stickIfOpen, setStickIfOpen] = React.useState(true);\n  const [allowMouseEnterState, setAllowMouseEnterState] = React.useState(false);\n  const openEventRef = React.useRef(null);\n  const popupRef = React.useRef(null);\n  const positionerRef = React.useRef(null);\n  const itemDomElements = React.useRef([]);\n  const itemLabels = React.useRef([]);\n  const stickIfOpenTimeout = useTimeout();\n  const contextMenuContext = useContextMenuRootContext(true);\n  const isSubmenu = useMenuSubmenuRootContext();\n  let parent;\n  {\n    const parentContext = useMenuRootContext(true);\n    const menubarContext = useMenubarContext(true);\n    if (isSubmenu && parentContext) {\n      parent = {\n        type: 'menu',\n        context: parentContext\n      };\n    } else if (menubarContext) {\n      parent = {\n        type: 'menubar',\n        context: menubarContext\n      };\n    } else if (contextMenuContext) {\n      parent = {\n        type: 'context-menu',\n        context: contextMenuContext\n      };\n    } else {\n      parent = {\n        type: undefined\n      };\n    }\n  }\n  let rootId = useId();\n  if (parent.type !== undefined) {\n    rootId = parent.context.rootId;\n  }\n  const modal = (parent.type === undefined || parent.type === 'context-menu') && (modalProp ?? true);\n\n  // If this menu is a submenu, it should inherit `allowMouseEnter` from its\n  // parent. Otherwise it manages the state on its own.\n  const allowMouseEnter = parent.type === 'menu' ? parent.context.allowMouseEnter : allowMouseEnterState;\n  const setAllowMouseEnter = parent.type === 'menu' ? parent.context.setAllowMouseEnter : setAllowMouseEnterState;\n  if (process.env.NODE_ENV !== 'production') {\n    if (parent.type !== undefined && modalProp !== undefined) {\n      console.warn('Base UI: The `modal` prop is not supported on nested menus. It will be ignored.');\n    }\n  }\n  const openOnHover = openOnHoverProp ?? (parent.type === 'menu' || parent.type === 'menubar' && parent.context.hasSubmenuOpen);\n  const [open, setOpenUnwrapped] = useControlled({\n    controlled: openProp,\n    default: defaultOpen,\n    name: 'MenuRoot',\n    state: 'open'\n  });\n  const allowOutsidePressDismissalRef = React.useRef(parent.type !== 'context-menu');\n  const allowOutsidePressDismissalTimeout = useTimeout();\n  React.useEffect(() => {\n    if (!open) {\n      openEventRef.current = null;\n    }\n    if (parent.type !== 'context-menu') {\n      return;\n    }\n    if (!open) {\n      allowOutsidePressDismissalTimeout.clear();\n      allowOutsidePressDismissalRef.current = false;\n      return;\n    }\n\n    // With `mousedown` outside press events and long press touch input, there\n    // needs to be a grace period after opening to ensure the dismissal event\n    // doesn't fire immediately after open.\n    allowOutsidePressDismissalTimeout.start(500, () => {\n      allowOutsidePressDismissalRef.current = true;\n    });\n  }, [allowOutsidePressDismissalTimeout, open, parent.type]);\n  const setPositionerElement = React.useCallback(value => {\n    positionerRef.current = value;\n    setPositionerElementUnwrapped(value);\n  }, []);\n  const {\n    mounted,\n    setMounted,\n    transitionStatus\n  } = useTransitionStatus(open);\n  const {\n    openMethod,\n    triggerProps: interactionTypeProps,\n    reset: resetOpenInteractionType\n  } = useOpenInteractionType(open);\n  useScrollLock({\n    enabled: open && modal && lastOpenChangeReason !== 'trigger-hover' && openMethod !== 'touch',\n    mounted,\n    open,\n    referenceElement: positionerElement\n  });\n  if (!open && !hoverEnabled) {\n    setHoverEnabled(true);\n  }\n  const handleUnmount = useEventCallback(() => {\n    setMounted(false);\n    setStickIfOpen(true);\n    setAllowMouseEnter(false);\n    onOpenChangeComplete?.(false);\n    resetOpenInteractionType();\n  });\n  useOpenChangeComplete({\n    enabled: !actionsRef,\n    open,\n    ref: popupRef,\n    onComplete() {\n      if (!open) {\n        handleUnmount();\n      }\n    }\n  });\n  const allowTouchToCloseRef = React.useRef(true);\n  const allowTouchToCloseTimeout = useTimeout();\n  const setOpen = useEventCallback((nextOpen, event, reason) => {\n    if (open === nextOpen) {\n      return;\n    }\n    if (nextOpen === false && event?.type === 'click' && event.pointerType === 'touch' && !allowTouchToCloseRef.current) {\n      return;\n    }\n\n    // Workaround `enableFocusInside` in Floating UI setting `tabindex=0` of a non-highlighted\n    // option upon close when tabbing out due to `keepMounted=true`:\n    // https://github.com/floating-ui/floating-ui/pull/3004/files#diff-962a7439cdeb09ea98d4b622a45d517bce07ad8c3f866e089bda05f4b0bbd875R194-R199\n    // This otherwise causes options to retain `tabindex=0` incorrectly when the popup is closed\n    // when tabbing outside.\n    if (!nextOpen && activeIndex !== null) {\n      const activeOption = itemDomElements.current[activeIndex];\n      // Wait for Floating UI's focus effect to have fired\n      queueMicrotask(() => {\n        activeOption?.setAttribute('tabindex', '-1');\n      });\n    }\n\n    // Prevent the menu from closing on mobile devices that have a delayed click event.\n    // In some cases the menu, when tapped, will fire the focus event first and then the click event.\n    // Without this guard, the menu will close immediately after opening.\n    if (nextOpen && reason === 'trigger-focus') {\n      allowTouchToCloseRef.current = false;\n      allowTouchToCloseTimeout.start(300, () => {\n        allowTouchToCloseRef.current = true;\n      });\n    } else {\n      allowTouchToCloseRef.current = true;\n      allowTouchToCloseTimeout.clear();\n    }\n    const isKeyboardClick = (reason === 'trigger-press' || reason === 'item-press') && event.detail === 0 && event?.isTrusted;\n    const isDismissClose = !nextOpen && (reason === 'escape-key' || reason == null);\n    function changeState() {\n      onOpenChange?.(nextOpen, event, reason);\n      setOpenUnwrapped(nextOpen);\n      setLastOpenChangeReason(reason ?? null);\n      openEventRef.current = event ?? null;\n    }\n    if (reason === 'trigger-hover') {\n      // Only allow \"patient\" clicks to close the menu if it's open.\n      // If they clicked within 500ms of the menu opening, keep it open.\n      setStickIfOpen(true);\n      stickIfOpenTimeout.start(PATIENT_CLICK_THRESHOLD, () => {\n        setStickIfOpen(false);\n      });\n      ReactDOM.flushSync(changeState);\n    } else {\n      changeState();\n    }\n    if (parent.type === 'menubar' && (reason === 'trigger-focus' || reason === 'focus-out' || reason === 'trigger-hover' || reason === 'list-navigation' || reason === 'sibling-open')) {\n      setInstantType('group');\n    } else if (isKeyboardClick || isDismissClose) {\n      setInstantType(isKeyboardClick ? 'click' : 'dismiss');\n    } else {\n      setInstantType(undefined);\n    }\n  });\n  React.useImperativeHandle(actionsRef, () => ({\n    unmount: handleUnmount\n  }), [handleUnmount]);\n  let ctx;\n  if (parent.type === 'context-menu') {\n    ctx = parent.context;\n  }\n  React.useImperativeHandle(ctx?.positionerRef, () => positionerElement, [positionerElement]);\n  React.useImperativeHandle(ctx?.actionsRef, () => ({\n    setOpen\n  }), [setOpen]);\n  React.useEffect(() => {\n    if (!open) {\n      stickIfOpenTimeout.clear();\n    }\n  }, [stickIfOpenTimeout, open]);\n  const floatingRootContext = useFloatingRootContext({\n    elements: {\n      reference: triggerElement,\n      floating: positionerElement\n    },\n    open,\n    onOpenChange(openValue, eventValue, reasonValue) {\n      setOpen(openValue, eventValue, translateOpenChangeReason(reasonValue));\n    }\n  });\n  const hover = useHover(floatingRootContext, {\n    enabled: hoverEnabled && openOnHover && !disabled && parent.type !== 'context-menu' && (parent.type !== 'menubar' || parent.context.hasSubmenuOpen && !open),\n    handleClose: safePolygon({\n      blockPointerEvents: true\n    }),\n    mouseOnly: true,\n    move: parent.type === 'menu',\n    restMs: parent.type === undefined || parent.type === 'menu' && allowMouseEnter ? delay : undefined,\n    delay: parent.type === 'menu' ? {\n      open: allowMouseEnter ? delay : 10 ** 10,\n      close: closeDelay\n    } : {\n      close: closeDelay\n    }\n  });\n  const focus = useFocus(floatingRootContext, {\n    enabled: !disabled && !open && parent.type === 'menubar' && parent.context.hasSubmenuOpen && !contextMenuContext\n  });\n  const click = useClick(floatingRootContext, {\n    enabled: !disabled && parent.type !== 'context-menu',\n    event: open && parent.type === 'menubar' ? 'click' : 'mousedown',\n    toggle: !openOnHover || parent.type !== 'menu',\n    ignoreMouse: openOnHover && parent.type === 'menu',\n    stickIfOpen: parent.type === undefined ? stickIfOpen : false\n  });\n  const dismiss = useDismiss(floatingRootContext, {\n    enabled: !disabled,\n    bubbles: closeParentOnEsc && parent.type === 'menu',\n    outsidePress() {\n      if (parent.type !== 'context-menu' || openEventRef.current?.type === 'contextmenu') {\n        return true;\n      }\n      return allowOutsidePressDismissalRef.current;\n    }\n  });\n  const role = useRole(floatingRootContext, {\n    role: 'menu'\n  });\n  const direction = useDirection();\n  const listNavigation = useListNavigation(floatingRootContext, {\n    enabled: !disabled,\n    listRef: itemDomElements,\n    activeIndex,\n    nested: parent.type !== undefined,\n    loop,\n    orientation,\n    parentOrientation: parent.type === 'menubar' ? parent.context.orientation : undefined,\n    rtl: direction === 'rtl',\n    disabledIndices: EMPTY_ARRAY,\n    onNavigate: setActiveIndex,\n    openOnArrowKeyDown: parent.type !== 'context-menu'\n  });\n  const typingRef = React.useRef(false);\n  const onTypingChange = React.useCallback(nextTyping => {\n    typingRef.current = nextTyping;\n  }, []);\n  const typeahead = useTypeahead(floatingRootContext, {\n    listRef: itemLabels,\n    activeIndex,\n    resetMs: TYPEAHEAD_RESET_MS,\n    onMatch: index => {\n      if (open && index !== activeIndex) {\n        setActiveIndex(index);\n      }\n    },\n    onTypingChange\n  });\n  const {\n    getReferenceProps,\n    getFloatingProps,\n    getItemProps\n  } = useInteractions([hover, click, dismiss, focus, role, listNavigation, typeahead]);\n  const mixedToggleHandlers = useMixedToggleClickHandler({\n    open,\n    enabled: parent.type === 'menubar',\n    mouseDownAction: 'open'\n  });\n  const triggerProps = React.useMemo(() => {\n    const referenceProps = mergeProps(getReferenceProps(), {\n      onMouseEnter() {\n        setHoverEnabled(true);\n      },\n      onMouseMove() {\n        setAllowMouseEnter(true);\n      }\n    }, interactionTypeProps, mixedToggleHandlers);\n    delete referenceProps.role;\n    return referenceProps;\n  }, [getReferenceProps, mixedToggleHandlers, setAllowMouseEnter, interactionTypeProps]);\n  const popupProps = React.useMemo(() => getFloatingProps({\n    onMouseEnter() {\n      if (!openOnHover || parent.type === 'menu') {\n        setHoverEnabled(false);\n      }\n    },\n    onMouseMove() {\n      setAllowMouseEnter(true);\n    },\n    onClick() {\n      if (openOnHover) {\n        setHoverEnabled(false);\n      }\n    }\n  }), [getFloatingProps, openOnHover, parent.type, setAllowMouseEnter]);\n  const itemProps = React.useMemo(() => getItemProps(), [getItemProps]);\n  const context = React.useMemo(() => ({\n    activeIndex,\n    setActiveIndex,\n    allowMouseUpTriggerRef: parent.type ? parent.context.allowMouseUpTriggerRef : EMPTY_REF,\n    floatingRootContext,\n    itemProps,\n    popupProps,\n    triggerProps,\n    itemDomElements,\n    itemLabels,\n    mounted,\n    open,\n    popupRef,\n    positionerRef,\n    setOpen,\n    setPositionerElement,\n    triggerElement,\n    setTriggerElement,\n    transitionStatus,\n    lastOpenChangeReason,\n    instantType,\n    onOpenChangeComplete,\n    setHoverEnabled,\n    typingRef,\n    modal,\n    disabled,\n    parent,\n    rootId,\n    allowMouseEnter,\n    setAllowMouseEnter\n  }), [activeIndex, floatingRootContext, itemProps, popupProps, triggerProps, itemDomElements, itemLabels, mounted, open, positionerRef, setOpen, transitionStatus, triggerElement, setPositionerElement, lastOpenChangeReason, instantType, onOpenChangeComplete, modal, disabled, parent, rootId, allowMouseEnter, setAllowMouseEnter]);\n  const content = /*#__PURE__*/_jsx(MenuRootContext.Provider, {\n    value: context,\n    children: children\n  });\n  if (parent.type === undefined || parent.type === 'context-menu') {\n    // set up a FloatingTree to provide the context to nested menus\n    return /*#__PURE__*/_jsx(FloatingTree, {\n      children: content\n    });\n  }\n  return content;\n};","'use client';\n\nimport * as React from 'react';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useEnhancedClickHandler } from '@base-ui-components/utils/useEnhancedClickHandler';\n\n/**\n * Determines the interaction type (keyboard, mouse, touch, etc.) that opened the component.\n *\n * @param open The open state of the component.\n */\nexport function useOpenInteractionType(open) {\n  const [openMethod, setOpenMethod] = React.useState(null);\n  const handleTriggerClick = useEventCallback((_, interactionType) => {\n    if (!open) {\n      setOpenMethod(interactionType);\n    }\n  });\n  const reset = useEventCallback(() => {\n    setOpenMethod(null);\n  });\n  const {\n    onClick,\n    onPointerDown\n  } = useEnhancedClickHandler(handleTriggerClick);\n  return React.useMemo(() => ({\n    openMethod,\n    reset,\n    triggerProps: {\n      onClick,\n      onPointerDown\n    }\n  }), [openMethod, reset, onClick, onPointerDown]);\n}","import * as React from 'react';\n/**\n * Provides a cross-browser way to determine the type of the pointer used to click.\n * Safari and Firefox do not provide the PointerEvent to the click handler (they use MouseEvent) yet.\n * Additionally, this implementation detects if the click was triggered by the keyboard.\n *\n * @param handler The function to be called when the button is clicked. The first parameter is the original event and the second parameter is the pointer type.\n */\nexport function useEnhancedClickHandler(handler) {\n  const lastClickInteractionTypeRef = React.useRef('');\n  const handlePointerDown = React.useCallback(event => {\n    if (event.defaultPrevented) {\n      return;\n    }\n    lastClickInteractionTypeRef.current = event.pointerType;\n    handler(event, event.pointerType);\n  }, [handler]);\n  const handleClick = React.useCallback(event => {\n    // event.detail has the number of clicks performed on the element. 0 means it was triggered by the keyboard.\n    if (event.detail === 0) {\n      handler(event, 'keyboard');\n      return;\n    }\n    if ('pointerType' in event) {\n      // Chrome and Edge correctly use PointerEvent\n      handler(event, event.pointerType);\n    }\n    handler(event, lastClickInteractionTypeRef.current);\n    lastClickInteractionTypeRef.current = '';\n  }, [handler]);\n  return {\n    onClick: handleClick,\n    onPointerDown: handlePointerDown\n  };\n}","'use client';\n\nimport * as React from 'react';\nimport { useAnimationFrame } from '@base-ui-components/utils/useAnimationFrame';\nimport { EMPTY_OBJECT } from \"../../utils/constants.js\";\nimport { isMouseLikePointerType } from \"../utils.js\";\n/**\n * Opens or closes the floating element when clicking the reference element.\n * @see https://floating-ui.com/docs/useClick\n */\nexport function useClick(context, props = {}) {\n  const {\n    open,\n    onOpenChange,\n    dataRef\n  } = context;\n  const {\n    enabled = true,\n    event: eventOption = 'click',\n    toggle = true,\n    ignoreMouse = false,\n    stickIfOpen = true\n  } = props;\n  const pointerTypeRef = React.useRef(undefined);\n  const frame = useAnimationFrame();\n  const reference = React.useMemo(() => ({\n    onPointerDown(event) {\n      pointerTypeRef.current = event.pointerType;\n    },\n    onMouseDown(event) {\n      const pointerType = pointerTypeRef.current;\n      const nativeEvent = event.nativeEvent;\n\n      // Ignore all buttons except for the \"main\" button.\n      // https://developer.mozilla.org/en-US/docs/Web/API/MouseEvent/button\n      if (event.button !== 0 || eventOption === 'click' || isMouseLikePointerType(pointerType, true) && ignoreMouse) {\n        return;\n      }\n      const openEvent = dataRef.current.openEvent;\n      const openEventType = openEvent?.type;\n      const nextOpen = !(open && toggle && (openEvent && stickIfOpen ? openEventType === 'click' || openEventType === 'mousedown' : true));\n      // Wait until focus is set on the element. This is an alternative to\n      // `event.preventDefault()` to avoid :focus-visible from appearing when using a pointer.\n      frame.request(() => {\n        onOpenChange(nextOpen, nativeEvent, 'click');\n      });\n    },\n    onClick(event) {\n      const pointerType = pointerTypeRef.current;\n      if (eventOption === 'mousedown' && pointerType) {\n        pointerTypeRef.current = undefined;\n        return;\n      }\n      if (isMouseLikePointerType(pointerType, true) && ignoreMouse) {\n        return;\n      }\n      const openEvent = dataRef.current.openEvent;\n      const openEventType = openEvent?.type;\n      const nextOpen = !(open && toggle && (openEvent && stickIfOpen ? openEventType === 'click' || openEventType === 'mousedown' || openEventType === 'keydown' || openEventType === 'keyup' : true));\n      onOpenChange(nextOpen, event.nativeEvent, 'click');\n    },\n    onKeyDown() {\n      pointerTypeRef.current = undefined;\n    }\n  }), [dataRef, eventOption, ignoreMouse, onOpenChange, open, stickIfOpen, toggle, frame]);\n  return React.useMemo(() => enabled ? {\n    reference\n  } : EMPTY_OBJECT, [enabled, reference]);\n}","import * as React from 'react';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { stopEvent } from \"../utils.js\";\n/**\n * Provides a matching callback that can be used to focus an item as the user\n * types, often used in tandem with `useListNavigation()`.\n * @see https://floating-ui.com/docs/useTypeahead\n */\nexport function useTypeahead(context, props) {\n  const {\n    open,\n    dataRef\n  } = context;\n  const {\n    listRef,\n    activeIndex,\n    onMatch: onMatchProp,\n    onTypingChange: onTypingChangeProp,\n    enabled = true,\n    findMatch = null,\n    resetMs = 750,\n    ignoreKeys = [],\n    selectedIndex = null\n  } = props;\n  const timeout = useTimeout();\n  const stringRef = React.useRef('');\n  const prevIndexRef = React.useRef(selectedIndex ?? activeIndex ?? -1);\n  const matchIndexRef = React.useRef(null);\n  const onMatch = useEventCallback(onMatchProp);\n  const onTypingChange = useEventCallback(onTypingChangeProp);\n  const findMatchRef = useLatestRef(findMatch);\n  const ignoreKeysRef = useLatestRef(ignoreKeys);\n  useIsoLayoutEffect(() => {\n    if (open) {\n      timeout.clear();\n      matchIndexRef.current = null;\n      stringRef.current = '';\n    }\n  }, [open, timeout]);\n  useIsoLayoutEffect(() => {\n    // Sync arrow key navigation but not typeahead navigation.\n    if (open && stringRef.current === '') {\n      prevIndexRef.current = selectedIndex ?? activeIndex ?? -1;\n    }\n  }, [open, selectedIndex, activeIndex]);\n  const setTypingChange = useEventCallback(value => {\n    if (value) {\n      if (!dataRef.current.typing) {\n        dataRef.current.typing = value;\n        onTypingChange(value);\n      }\n    } else if (dataRef.current.typing) {\n      dataRef.current.typing = value;\n      onTypingChange(value);\n    }\n  });\n  const onKeyDown = useEventCallback(event => {\n    function getMatchingIndex(list, orderedList, string) {\n      const str = findMatchRef.current ? findMatchRef.current(orderedList, string) : orderedList.find(text => text?.toLocaleLowerCase().indexOf(string.toLocaleLowerCase()) === 0);\n      return str ? list.indexOf(str) : -1;\n    }\n    const listContent = listRef.current;\n    if (stringRef.current.length > 0 && stringRef.current[0] !== ' ') {\n      if (getMatchingIndex(listContent, listContent, stringRef.current) === -1) {\n        setTypingChange(false);\n      } else if (event.key === ' ') {\n        stopEvent(event);\n      }\n    }\n    if (listContent == null || ignoreKeysRef.current.includes(event.key) ||\n    // Character key.\n    event.key.length !== 1 ||\n    // Modifier key.\n    event.ctrlKey || event.metaKey || event.altKey) {\n      return;\n    }\n    if (open && event.key !== ' ') {\n      stopEvent(event);\n      setTypingChange(true);\n    }\n\n    // Bail out if the list contains a word like \"llama\" or \"aaron\". TODO:\n    // allow it in this case, too.\n    const allowRapidSuccessionOfFirstLetter = listContent.every(text => text ? text[0]?.toLocaleLowerCase() !== text[1]?.toLocaleLowerCase() : true);\n\n    // Allows the user to cycle through items that start with the same letter\n    // in rapid succession.\n    if (allowRapidSuccessionOfFirstLetter && stringRef.current === event.key) {\n      stringRef.current = '';\n      prevIndexRef.current = matchIndexRef.current;\n    }\n    stringRef.current += event.key;\n    timeout.start(resetMs, () => {\n      stringRef.current = '';\n      prevIndexRef.current = matchIndexRef.current;\n      setTypingChange(false);\n    });\n    const prevIndex = prevIndexRef.current;\n    const index = getMatchingIndex(listContent, [...listContent.slice((prevIndex || 0) + 1), ...listContent.slice(0, (prevIndex || 0) + 1)], stringRef.current);\n    if (index !== -1) {\n      onMatch(index);\n      matchIndexRef.current = index;\n    } else if (event.key !== ' ') {\n      stringRef.current = '';\n      setTypingChange(false);\n    }\n  });\n  const reference = React.useMemo(() => ({\n    onKeyDown\n  }), [onKeyDown]);\n  const floating = React.useMemo(() => {\n    return {\n      onKeyDown,\n      onKeyUp(event) {\n        if (event.key === ' ') {\n          setTypingChange(false);\n        }\n      }\n    };\n  }, [onKeyDown, setTypingChange]);\n  return React.useMemo(() => enabled ? {\n    reference,\n    floating\n  } : {}, [enabled, reference, floating]);\n}","import * as React from 'react';\nimport { ownerDocument } from '@base-ui-components/utils/owner';\nimport { EMPTY_OBJECT } from \"./constants.js\";\n\n/**\n * Returns `click` and `mousedown` handlers that fix the behavior of triggers of popups that are toggled by different events.\n * For example, a button that opens a popup on mousedown and closes it on click.\n * This hook prevents the popup from closing immediately after the mouse button is released.\n */\nexport function useMixedToggleClickHandler(params) {\n  const {\n    enabled = true,\n    mouseDownAction,\n    open\n  } = params;\n  const ignoreClickRef = React.useRef(false);\n  return React.useMemo(() => {\n    if (!enabled) {\n      return EMPTY_OBJECT;\n    }\n    return {\n      onMouseDown: event => {\n        if (mouseDownAction === 'open' && !open || mouseDownAction === 'close' && open) {\n          ignoreClickRef.current = true;\n          ownerDocument(event.currentTarget).addEventListener('click', () => {\n            ignoreClickRef.current = false;\n          }, {\n            once: true\n          });\n        }\n      },\n      onClick: event => {\n        if (ignoreClickRef.current) {\n          ignoreClickRef.current = false;\n          event.preventBaseUIHandler();\n        }\n      }\n    };\n  }, [enabled, mouseDownAction, open]);\n}","import { useRefWithInit } from \"./useRefWithInit.js\";\n\n/**\n * Merges refs into a single memoized callback ref or `null`.\n * This makes sure multiple refs are updated together and have the same value.\n *\n * This function accepts up to four refs. If you need to merge more, or have an unspecified number of refs to merge,\n * use `useMergedRefsN` instead.\n */\n\nexport function useMergedRefs(a, b, c, d) {\n  const forkRef = useRefWithInit(createForkRef).current;\n  if (didChange(forkRef, a, b, c, d)) {\n    update(forkRef, [a, b, c, d]);\n  }\n  return forkRef.callback;\n}\n\n/**\n * Merges an array of refs into a single memoized callback ref or `null`.\n *\n * If you need to merge a fixed number (up to four) of refs, use `useMergedRefs` instead for better performance.\n */\nexport function useMergedRefsN(refs) {\n  const forkRef = useRefWithInit(createForkRef).current;\n  if (didChangeN(forkRef, refs)) {\n    update(forkRef, refs);\n  }\n  return forkRef.callback;\n}\nfunction createForkRef() {\n  return {\n    callback: null,\n    cleanup: null,\n    refs: []\n  };\n}\nfunction didChange(forkRef, a, b, c, d) {\n  // prettier-ignore\n  return forkRef.refs[0] !== a || forkRef.refs[1] !== b || forkRef.refs[2] !== c || forkRef.refs[3] !== d;\n}\nfunction didChangeN(forkRef, newRefs) {\n  return forkRef.refs.length !== newRefs.length || forkRef.refs.some((ref, index) => ref !== newRefs[index]);\n}\nfunction update(forkRef, refs) {\n  forkRef.refs = refs;\n  if (refs.every(ref => ref == null)) {\n    forkRef.callback = null;\n    return;\n  }\n  forkRef.callback = instance => {\n    if (forkRef.cleanup) {\n      forkRef.cleanup();\n      forkRef.cleanup = null;\n    }\n    if (instance != null) {\n      const cleanupCallbacks = Array(refs.length).fill(null);\n      for (let i = 0; i < refs.length; i += 1) {\n        const ref = refs[i];\n        if (ref == null) {\n          continue;\n        }\n        switch (typeof ref) {\n          case 'function':\n            {\n              const refCleanup = ref(instance);\n              if (typeof refCleanup === 'function') {\n                cleanupCallbacks[i] = refCleanup;\n              }\n              break;\n            }\n          case 'object':\n            {\n              ref.current = instance;\n              break;\n            }\n          default:\n        }\n      }\n      forkRef.cleanup = () => {\n        for (let i = 0; i < refs.length; i += 1) {\n          const ref = refs[i];\n          if (ref == null) {\n            continue;\n          }\n          switch (typeof ref) {\n            case 'function':\n              {\n                const cleanupCallback = cleanupCallbacks[i];\n                if (typeof cleanupCallback === 'function') {\n                  cleanupCallback();\n                } else {\n                  ref(null);\n                }\n                break;\n              }\n            case 'object':\n              {\n                ref.current = null;\n                break;\n              }\n            default:\n          }\n        }\n      };\n    }\n  };\n}","import * as React from 'react';\nconst majorVersion = parseInt(React.version, 10);\nexport function isReactVersionAtLeast(reactVersionToCheck) {\n  return majorVersion >= reactVersionToCheck;\n}","import * as React from 'react';\nimport { useMergedRefs, useMergedRefsN } from '@base-ui-components/utils/useMergedRefs';\nimport { isReactVersionAtLeast } from '@base-ui-components/utils/reactVersion';\nimport { mergeObjects } from '@base-ui-components/utils/mergeObjects';\nimport { getStyleHookProps } from \"./getStyleHookProps.js\";\nimport { resolveClassName } from \"./resolveClassName.js\";\nimport { mergeProps, mergePropsN, mergeClassNames } from \"../merge-props/index.js\";\nimport { EMPTY_OBJECT } from \"./constants.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * Renders a Base UI element.\n *\n * @param element The default HTML element to render. Can be overridden by the `render` prop.\n * @param componentProps An object containing the `render` and `className` props to be used for element customization. Other props are ignored.\n * @param params Additional parameters for rendering the element.\n */\nexport function useRenderElement(element, componentProps, params = {}) {\n  const renderProp = componentProps.render;\n  const outProps = useRenderElementProps(componentProps, params);\n  if (params.enabled === false) {\n    return null;\n  }\n  const state = params.state ?? EMPTY_OBJECT;\n  return evaluateRenderProp(element, renderProp, outProps, state);\n}\n\n/**\n * Computes render element final props.\n */\nfunction useRenderElementProps(componentProps, params = {}) {\n  const {\n    className: classNameProp,\n    render: renderProp\n  } = componentProps;\n  const {\n    state = EMPTY_OBJECT,\n    ref,\n    props,\n    disableStyleHooks,\n    customStyleHookMapping,\n    enabled = true\n  } = params;\n  const className = enabled ? resolveClassName(classNameProp, state) : undefined;\n  let styleHooks;\n  if (disableStyleHooks !== true) {\n    // SAFETY: We use typings to ensure `disableStyleHooks` is either always set or\n    // always unset, so this `if` block is stable across renders.\n    /* eslint-disable-next-line react-hooks/rules-of-hooks */\n    styleHooks = React.useMemo(() => enabled ? getStyleHookProps(state, customStyleHookMapping) : EMPTY_OBJECT, [state, customStyleHookMapping, enabled]);\n  }\n  const outProps = enabled ? mergeObjects(styleHooks, Array.isArray(props) ? mergePropsN(props) : props) ?? EMPTY_OBJECT : EMPTY_OBJECT;\n\n  // SAFETY: The `useMergedRefs` functions use a single hook to store the same value,\n  // switching between them at runtime is safe. If this assertion fails, React will\n  // throw at runtime anyway.\n  // This also skips the `useMergedRefs` call on the server, which is fine because\n  // refs are not used on the server side.\n  /* eslint-disable react-hooks/rules-of-hooks */\n  if (typeof document !== 'undefined') {\n    if (!enabled) {\n      useMergedRefs(null, null);\n    } else if (Array.isArray(ref)) {\n      outProps.ref = useMergedRefsN([outProps.ref, getChildRef(renderProp), ...ref]);\n    } else {\n      outProps.ref = useMergedRefs(outProps.ref, getChildRef(renderProp), ref);\n    }\n  }\n  if (!enabled) {\n    return EMPTY_OBJECT;\n  }\n  if (className !== undefined) {\n    outProps.className = mergeClassNames(outProps.className, className);\n  }\n  return outProps;\n}\nfunction evaluateRenderProp(element, render, props, state) {\n  if (render) {\n    if (typeof render === 'function') {\n      return render(props, state);\n    }\n    const mergedProps = mergeProps(props, render.props);\n    mergedProps.ref = props.ref;\n    return /*#__PURE__*/React.cloneElement(render, mergedProps);\n  }\n  if (element) {\n    if (typeof element === 'string') {\n      return renderTag(element, props);\n    }\n  }\n  // Unreachable, but the typings on `useRenderElement` need to be reworked\n  // to annotate it correctly.\n  throw new Error('Base UI: Render element or function are not defined.');\n}\nfunction renderTag(Tag, props) {\n  if (Tag === 'button') {\n    return /*#__PURE__*/_jsx(\"button\", {\n      type: \"button\",\n      ...props\n    });\n  }\n  if (Tag === 'img') {\n    return /*#__PURE__*/_jsx(\"img\", {\n      alt: \"\",\n      ...props\n    });\n  }\n  return /*#__PURE__*/React.createElement(Tag, props);\n}\nfunction getChildRef(render) {\n  if (render && typeof render !== 'function') {\n    return isReactVersionAtLeast(19) ? render.props.ref : render.ref;\n  }\n  return null;\n}","/**\n * If the provided className is a string, it will be returned as is.\n * Otherwise, the function will call the className function with the state as the first argument.\n *\n * @param className\n * @param state\n */\nexport function resolveClassName(className, state) {\n  return typeof className === 'function' ? className(state) : className;\n}","export function getStyleHookProps(state, customMapping) {\n  const props = {};\n\n  /* eslint-disable-next-line guard-for-in */\n  for (const key in state) {\n    const value = state[key];\n    if (customMapping?.hasOwnProperty(key)) {\n      const customProps = customMapping[key](value);\n      if (customProps != null) {\n        Object.assign(props, customProps);\n      }\n      continue;\n    }\n    if (value === true) {\n      props[`data-${key.toLowerCase()}`] = '';\n    } else if (value) {\n      props[`data-${key.toLowerCase()}`] = value.toString();\n    }\n  }\n  return props;\n}","'use client';\n\nimport * as React from 'react';\nexport const CompositeRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") CompositeRootContext.displayName = \"CompositeRootContext\";\nexport function useCompositeRootContext(optional = false) {\n  const context = React.useContext(CompositeRootContext);\n  if (context === undefined && !optional) {\n    throw new Error('Base UI: CompositeRootContext is missing. Composite parts must be placed within <Composite.Root>.');\n  }\n  return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { error } from '@base-ui-components/utils/error';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { makeEventPreventable, mergeProps } from \"../merge-props/index.js\";\nimport { useCompositeRootContext } from \"../composite/root/CompositeRootContext.js\";\nimport { useFocusableWhenDisabled } from \"../utils/useFocusableWhenDisabled.js\";\nexport function useButton(parameters = {}) {\n  const {\n    disabled = false,\n    focusableWhenDisabled,\n    tabIndex = 0,\n    native: isNativeButton = true\n  } = parameters;\n  const buttonRef = React.useRef(null);\n  const isCompositeItem = useCompositeRootContext(true) !== undefined;\n  const isValidLink = useEventCallback(() => {\n    const element = buttonRef.current;\n    return Boolean(element?.tagName === 'A' && element?.href);\n  });\n  const {\n    props: focusableWhenDisabledProps\n  } = useFocusableWhenDisabled({\n    focusableWhenDisabled,\n    disabled,\n    composite: isCompositeItem,\n    tabIndex,\n    isNativeButton\n  });\n  if (process.env.NODE_ENV !== 'production') {\n    // eslint-disable-next-line react-hooks/rules-of-hooks\n    React.useEffect(() => {\n      if (!buttonRef.current) {\n        return;\n      }\n      const isButtonTag = buttonRef.current.tagName === 'BUTTON';\n      if (isNativeButton) {\n        if (!isButtonTag) {\n          error('A component that acts as a button was not rendered as a native <button>, which does not match the default. Ensure that the element passed to the `render` prop of the component is a real <button>, or set the `nativeButton` prop on the component to `false`.');\n        }\n      } else if (isButtonTag) {\n        error('A component that acts as a button was rendered as a native <button>, which does not match the default. Ensure that the element passed to the `render` prop of the component is not a real <button>, or set the `nativeButton` prop on the component to `true`.');\n      }\n    }, [isNativeButton]);\n  }\n\n  // handles a disabled composite button rendering another button, e.g.\n  // <Toolbar.Button disabled render={<Menu.Trigger />} />\n  // the `disabled` prop needs to pass through 2 `useButton`s then finally\n  // delete the `disabled` attribute from DOM\n  useIsoLayoutEffect(() => {\n    const element = buttonRef.current;\n    if (!(element instanceof HTMLButtonElement)) {\n      return;\n    }\n    if (isCompositeItem && disabled && focusableWhenDisabledProps.disabled === undefined && element.disabled) {\n      element.disabled = false;\n    }\n  }, [disabled, focusableWhenDisabledProps.disabled, isCompositeItem]);\n  const getButtonProps = React.useCallback((externalProps = {}) => {\n    const {\n      onClick: externalOnClick,\n      onMouseDown: externalOnMouseDown,\n      onKeyUp: externalOnKeyUp,\n      onKeyDown: externalOnKeyDown,\n      onPointerDown: externalOnPointerDown,\n      ...otherExternalProps\n    } = externalProps;\n    const type = isNativeButton ? 'button' : undefined;\n    return mergeProps({\n      type,\n      onClick(event) {\n        if (disabled) {\n          event.preventDefault();\n          return;\n        }\n        externalOnClick?.(event);\n      },\n      onMouseDown(event) {\n        if (!disabled) {\n          externalOnMouseDown?.(event);\n        }\n      },\n      onKeyDown(event) {\n        if (!disabled) {\n          makeEventPreventable(event);\n          externalOnKeyDown?.(event);\n        }\n        if (event.baseUIHandlerPrevented) {\n          return;\n        }\n        const shouldClick = event.target === event.currentTarget && !isNativeButton && !isValidLink() && !disabled;\n        const isEnterKey = event.key === 'Enter';\n        const isSpaceKey = event.key === ' ';\n\n        // Keyboard accessibility for non interactive elements\n        if (shouldClick) {\n          if (isSpaceKey || isEnterKey) {\n            event.preventDefault();\n          }\n          if (isEnterKey) {\n            externalOnClick?.(event);\n          }\n        }\n      },\n      onKeyUp(event) {\n        // calling preventDefault in keyUp on a <button> will not dispatch a click event if Space is pressed\n        // https://codesandbox.io/p/sandbox/button-keyup-preventdefault-dn7f0\n        // Keyboard accessibility for non interactive elements\n        if (!disabled) {\n          makeEventPreventable(event);\n          externalOnKeyUp?.(event);\n        }\n        if (event.baseUIHandlerPrevented) {\n          return;\n        }\n        if (event.target === event.currentTarget && !isNativeButton && !disabled && event.key === ' ') {\n          externalOnClick?.(event);\n        }\n      },\n      onPointerDown(event) {\n        if (disabled) {\n          event.preventDefault();\n          return;\n        }\n        externalOnPointerDown?.(event);\n      }\n    }, !isNativeButton ? {\n      role: 'button'\n    } : undefined, focusableWhenDisabledProps, otherExternalProps);\n  }, [disabled, focusableWhenDisabledProps, isNativeButton, isValidLink]);\n  return {\n    getButtonProps,\n    buttonRef\n  };\n}","'use client';\n\nimport * as React from 'react';\nexport function useFocusableWhenDisabled(parameters) {\n  const {\n    focusableWhenDisabled,\n    disabled,\n    composite = false,\n    tabIndex: tabIndexProp = 0,\n    isNativeButton\n  } = parameters;\n  const isFocusableComposite = composite && focusableWhenDisabled !== false;\n  const isNonFocusableComposite = composite && focusableWhenDisabled === false;\n\n  // we can't explicitly assign `undefined` to any of these props because it\n  // would otherwise prevent subsequently merged props from setting them\n  const props = React.useMemo(() => {\n    const additionalProps = {\n      // allow Tabbing away from focusableWhenDisabled elements\n      onKeyDown(event) {\n        if (disabled && focusableWhenDisabled && event.key !== 'Tab') {\n          event.preventDefault();\n        }\n      }\n    };\n    if (!composite) {\n      additionalProps.tabIndex = tabIndexProp;\n      if (!isNativeButton && disabled) {\n        additionalProps.tabIndex = focusableWhenDisabled ? tabIndexProp : -1;\n      }\n    }\n    if (isNativeButton && (focusableWhenDisabled || isFocusableComposite) || !isNativeButton && disabled) {\n      additionalProps['aria-disabled'] = disabled;\n    }\n    if (isNativeButton && (!focusableWhenDisabled || isNonFocusableComposite)) {\n      additionalProps.disabled = disabled;\n    }\n    return additionalProps;\n  }, [composite, disabled, focusableWhenDisabled, isFocusableComposite, isNonFocusableComposite, isNativeButton, tabIndexProp]);\n  return {\n    props\n  };\n}","'use client';\n\nimport * as React from 'react';\nexport const CompositeListContext = /*#__PURE__*/React.createContext({\n  register: () => {},\n  unregister: () => {},\n  subscribeMapChange: () => {\n    return () => {};\n  },\n  elementsRef: {\n    current: []\n  },\n  nextIndexRef: {\n    current: 0\n  }\n});\nif (process.env.NODE_ENV !== \"production\") CompositeListContext.displayName = \"CompositeListContext\";\nexport function useCompositeListContext() {\n  return React.useContext(CompositeListContext);\n}","'use client';\n\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { useCompositeItem } from \"./useCompositeItem.js\";\nimport { EMPTY_OBJECT, EMPTY_ARRAY } from \"../../utils/constants.js\";\n/**\n * @internal\n */\nexport function CompositeItem(componentProps) {\n  const {\n    render,\n    className,\n    state = EMPTY_OBJECT,\n    props = EMPTY_ARRAY,\n    refs = EMPTY_ARRAY,\n    metadata,\n    customStyleHookMapping,\n    tag = 'div',\n    ...elementProps\n  } = componentProps;\n  const {\n    compositeProps,\n    compositeRef\n  } = useCompositeItem({\n    metadata\n  });\n  return useRenderElement(tag, componentProps, {\n    state,\n    ref: [...refs, compositeRef],\n    props: [compositeProps, ...props, elementProps],\n    customStyleHookMapping\n  });\n}","'use client';\n\nimport * as React from 'react';\nimport { useMergedRefs } from '@base-ui-components/utils/useMergedRefs';\nimport { useCompositeRootContext } from \"../root/CompositeRootContext.js\";\nimport { useCompositeListItem } from \"../list/useCompositeListItem.js\";\nexport function useCompositeItem(params = {}) {\n  const {\n    highlightItemOnHover,\n    highlightedIndex,\n    onHighlightedIndexChange\n  } = useCompositeRootContext();\n  const {\n    ref,\n    index\n  } = useCompositeListItem(params);\n  const isHighlighted = highlightedIndex === index;\n  const itemRef = React.useRef(null);\n  const mergedRef = useMergedRefs(ref, itemRef);\n  const compositeProps = React.useMemo(() => ({\n    tabIndex: isHighlighted ? 0 : -1,\n    onFocus() {\n      onHighlightedIndexChange(index);\n    },\n    onMouseMove() {\n      const item = itemRef.current;\n      if (!highlightItemOnHover || !item) {\n        return;\n      }\n      const disabled = item.hasAttribute('disabled') || item.ariaDisabled === 'true';\n      if (!isHighlighted && !disabled) {\n        item.focus();\n      }\n    }\n  }), [isHighlighted, onHighlightedIndexChange, index, highlightItemOnHover]);\n  return {\n    compositeProps,\n    compositeRef: mergedRef,\n    index\n  };\n}","'use client';\n\nimport * as React from 'react';\nimport { getParentNode, isHTMLElement, isLastTraversableNode } from '@floating-ui/utils/dom';\nimport { useMergedRefs } from '@base-ui-components/utils/useMergedRefs';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { ownerDocument } from '@base-ui-components/utils/owner';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { contains } from \"../../floating-ui-react/utils.js\";\nimport { useFloatingTree } from \"../../floating-ui-react/index.js\";\nimport { useMenuRootContext } from \"../root/MenuRootContext.js\";\nimport { pressableTriggerOpenStateMapping } from \"../../utils/popupStateMapping.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { mergeProps } from \"../../merge-props/index.js\";\nimport { useButton } from \"../../use-button/useButton.js\";\nimport { getPseudoElementBounds } from \"../../utils/getPseudoElementBounds.js\";\nimport { CompositeItem } from \"../../composite/item/CompositeItem.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst BOUNDARY_OFFSET = 2;\n\n/**\n * A button that opens the menu.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nexport const MenuTrigger = /*#__PURE__*/React.forwardRef(function MenuTrigger(componentProps, forwardedRef) {\n  const {\n    render,\n    className,\n    disabled: disabledProp = false,\n    nativeButton = true,\n    ...elementProps\n  } = componentProps;\n  const {\n    triggerProps: rootTriggerProps,\n    disabled: menuDisabled,\n    setTriggerElement,\n    open,\n    allowMouseUpTriggerRef,\n    positionerRef,\n    parent,\n    lastOpenChangeReason,\n    rootId\n  } = useMenuRootContext();\n  const disabled = disabledProp || menuDisabled;\n  const triggerRef = React.useRef(null);\n  const allowMouseUpTriggerTimeout = useTimeout();\n  const {\n    getButtonProps,\n    buttonRef\n  } = useButton({\n    disabled,\n    native: nativeButton\n  });\n  const handleRef = useMergedRefs(buttonRef, setTriggerElement);\n  const {\n    events: menuEvents\n  } = useFloatingTree();\n  React.useEffect(() => {\n    if (!open && parent.type === undefined) {\n      allowMouseUpTriggerRef.current = false;\n    }\n  }, [allowMouseUpTriggerRef, open, parent.type]);\n  const handleDocumentMouseUp = useEventCallback(mouseEvent => {\n    if (!triggerRef.current) {\n      return;\n    }\n    allowMouseUpTriggerTimeout.clear();\n    allowMouseUpTriggerRef.current = false;\n    const mouseUpTarget = mouseEvent.target;\n    if (contains(triggerRef.current, mouseUpTarget) || contains(positionerRef.current, mouseUpTarget) || mouseUpTarget === triggerRef.current) {\n      return;\n    }\n    if (mouseUpTarget != null && findRootOwnerId(mouseUpTarget) === rootId) {\n      return;\n    }\n    const bounds = getPseudoElementBounds(triggerRef.current);\n    if (mouseEvent.clientX >= bounds.left - BOUNDARY_OFFSET && mouseEvent.clientX <= bounds.right + BOUNDARY_OFFSET && mouseEvent.clientY >= bounds.top - BOUNDARY_OFFSET && mouseEvent.clientY <= bounds.bottom + BOUNDARY_OFFSET) {\n      return;\n    }\n    menuEvents.emit('close', {\n      domEvent: mouseEvent,\n      reason: 'cancel-open'\n    });\n  });\n  React.useEffect(() => {\n    if (open && lastOpenChangeReason === 'trigger-hover') {\n      const doc = ownerDocument(triggerRef.current);\n      doc.addEventListener('mouseup', handleDocumentMouseUp, {\n        once: true\n      });\n    }\n  }, [open, handleDocumentMouseUp, lastOpenChangeReason]);\n  const isMenubar = parent.type === 'menubar';\n  const getTriggerProps = React.useCallback(externalProps => {\n    return mergeProps(isMenubar ? {\n      role: 'menuitem'\n    } : {}, {\n      'aria-haspopup': 'menu',\n      ref: handleRef,\n      onMouseDown: event => {\n        if (open) {\n          return;\n        }\n\n        // mousedown -> mouseup on menu item should not trigger it within 200ms.\n        allowMouseUpTriggerTimeout.start(200, () => {\n          allowMouseUpTriggerRef.current = true;\n        });\n        const doc = ownerDocument(event.currentTarget);\n        doc.addEventListener('mouseup', handleDocumentMouseUp, {\n          once: true\n        });\n      }\n    }, externalProps, getButtonProps);\n  }, [getButtonProps, handleRef, open, allowMouseUpTriggerRef, allowMouseUpTriggerTimeout, handleDocumentMouseUp, isMenubar]);\n  const state = React.useMemo(() => ({\n    disabled,\n    open\n  }), [disabled, open]);\n  const ref = [triggerRef, forwardedRef, buttonRef];\n  const props = [rootTriggerProps, elementProps, getTriggerProps];\n  const element = useRenderElement('button', componentProps, {\n    enabled: !isMenubar,\n    customStyleHookMapping: pressableTriggerOpenStateMapping,\n    state,\n    ref,\n    props\n  });\n  if (isMenubar) {\n    return /*#__PURE__*/_jsx(CompositeItem, {\n      tag: \"button\",\n      render: render,\n      className: className,\n      state: state,\n      refs: ref,\n      props: props,\n      customStyleHookMapping: pressableTriggerOpenStateMapping\n    });\n  }\n  return element;\n});\nif (process.env.NODE_ENV !== \"production\") MenuTrigger.displayName = \"MenuTrigger\";\nfunction findRootOwnerId(node) {\n  if (isHTMLElement(node) && node.hasAttribute('data-rootownerid')) {\n    return node.getAttribute('data-rootownerid') ?? undefined;\n  }\n  if (isLastTraversableNode(node)) {\n    return undefined;\n  }\n  return findRootOwnerId(getParentNode(node));\n}","export function getPseudoElementBounds(element) {\n  const elementRect = element.getBoundingClientRect();\n\n  // Avoid \"Not implemented: window.getComputedStyle(elt, pseudoElt)\"\n  if (process.env.NODE_ENV === 'test') {\n    return elementRect;\n  }\n  const beforeStyles = window.getComputedStyle(element, '::before');\n  const afterStyles = window.getComputedStyle(element, '::after');\n  const hasPseudoElements = beforeStyles.content !== 'none' || afterStyles.content !== 'none';\n  if (!hasPseudoElements) {\n    return elementRect;\n  }\n\n  // Get dimensions of pseudo-elements\n  const beforeWidth = parseFloat(beforeStyles.width) || 0;\n  const beforeHeight = parseFloat(beforeStyles.height) || 0;\n  const afterWidth = parseFloat(afterStyles.width) || 0;\n  const afterHeight = parseFloat(afterStyles.height) || 0;\n\n  // Calculate max dimensions including pseudo-elements\n  const totalWidth = Math.max(elementRect.width, beforeWidth, afterWidth);\n  const totalHeight = Math.max(elementRect.height, beforeHeight, afterHeight);\n\n  // Calculate the differences to extend the bounds\n  const widthDiff = totalWidth - elementRect.width;\n  const heightDiff = totalHeight - elementRect.height;\n  return {\n    left: elementRect.left - widthDiff / 2,\n    right: elementRect.right + widthDiff / 2,\n    top: elementRect.top - heightDiff / 2,\n    bottom: elementRect.bottom + heightDiff / 2\n  };\n}","export const visuallyHidden = {\n  clip: 'rect(0 0 0 0)',\n  overflow: 'hidden',\n  whiteSpace: 'nowrap',\n  position: 'fixed',\n  top: 0,\n  left: 0,\n  border: 0,\n  padding: 0,\n  width: 1,\n  height: 1,\n  margin: -1\n};","'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { isSafari } from '@base-ui-components/utils/detectBrowser';\nimport { visuallyHidden } from '@base-ui-components/utils/visuallyHidden';\n\n/**\n * @internal\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const FocusGuard = /*#__PURE__*/React.forwardRef(function FocusGuard(props, ref) {\n  const [role, setRole] = React.useState();\n  useIsoLayoutEffect(() => {\n    if (isSafari) {\n      // Unlike other screen readers such as NVDA and JAWS, the virtual cursor\n      // on VoiceOver does trigger the onFocus event, so we can use the focus\n      // trap element. On Safari, only buttons trigger the onFocus event.\n      setRole('button');\n    }\n  }, []);\n  const restProps = {\n    ref,\n    tabIndex: 0,\n    // Role is only for VoiceOver\n    role,\n    'aria-hidden': role ? undefined : true,\n    style: visuallyHidden\n  };\n  return /*#__PURE__*/_jsx(\"span\", {\n    ...props,\n    ...restProps,\n    \"data-base-ui-focus-guard\": \"\"\n  });\n});\nif (process.env.NODE_ENV !== \"production\") FocusGuard.displayName = \"FocusGuard\";","// NOTE: separate `:not()` selectors has broader browser support than the newer\n//  `:not([inert], [inert] *)` (Feb 2023)\n// CAREFUL: JSDom does not support `:not([inert] *)` as a selector; using it causes\n//  the entire query to fail, resulting in no nodes found, which will break a lot\n//  of things... so we have to rely on JS to identify nodes inside an inert container\nconst candidateSelectors = [\n  'input:not([inert])',\n  'select:not([inert])',\n  'textarea:not([inert])',\n  'a[href]:not([inert])',\n  'button:not([inert])',\n  '[tabindex]:not(slot):not([inert])',\n  'audio[controls]:not([inert])',\n  'video[controls]:not([inert])',\n  '[contenteditable]:not([contenteditable=\"false\"]):not([inert])',\n  'details>summary:first-of-type:not([inert])',\n  'details:not([inert])',\n];\nconst candidateSelector = /* #__PURE__ */ candidateSelectors.join(',');\n\nconst NoElement = typeof Element === 'undefined';\n\nconst matches = NoElement\n  ? function () {}\n  : Element.prototype.matches ||\n    Element.prototype.msMatchesSelector ||\n    Element.prototype.webkitMatchesSelector;\n\nconst getRootNode =\n  !NoElement && Element.prototype.getRootNode\n    ? (element) => element?.getRootNode?.()\n    : (element) => element?.ownerDocument;\n\n/**\n * Determines if a node is inert or in an inert ancestor.\n * @param {Element} [node]\n * @param {boolean} [lookUp] If true and `node` is not inert, looks up at ancestors to\n *  see if any of them are inert. If false, only `node` itself is considered.\n * @returns {boolean} True if inert itself or by way of being in an inert ancestor.\n *  False if `node` is falsy.\n */\nconst isInert = function (node, lookUp = true) {\n  // CAREFUL: JSDom does not support inert at all, so we can't use the `HTMLElement.inert`\n  //  JS API property; we have to check the attribute, which can either be empty or 'true';\n  //  if it's `null` (not specified) or 'false', it's an active element\n  const inertAtt = node?.getAttribute?.('inert');\n  const inert = inertAtt === '' || inertAtt === 'true';\n\n  // NOTE: this could also be handled with `node.matches('[inert], :is([inert] *)')`\n  //  if it weren't for `matches()` not being a function on shadow roots; the following\n  //  code works for any kind of node\n  // CAREFUL: JSDom does not appear to support certain selectors like `:not([inert] *)`\n  //  so it likely would not support `:is([inert] *)` either...\n  const result = inert || (lookUp && node && isInert(node.parentNode)); // recursive\n\n  return result;\n};\n\n/**\n * Determines if a node's content is editable.\n * @param {Element} [node]\n * @returns True if it's content-editable; false if it's not or `node` is falsy.\n */\nconst isContentEditable = function (node) {\n  // CAREFUL: JSDom does not support the `HTMLElement.isContentEditable` API so we have\n  //  to use the attribute directly to check for this, which can either be empty or 'true';\n  //  if it's `null` (not specified) or 'false', it's a non-editable element\n  const attValue = node?.getAttribute?.('contenteditable');\n  return attValue === '' || attValue === 'true';\n};\n\n/**\n * @param {Element} el container to check in\n * @param {boolean} includeContainer add container to check\n * @param {(node: Element) => boolean} filter filter candidates\n * @returns {Element[]}\n */\nconst getCandidates = function (el, includeContainer, filter) {\n  // even if `includeContainer=false`, we still have to check it for inertness because\n  //  if it's inert, all its children are inert\n  if (isInert(el)) {\n    return [];\n  }\n\n  let candidates = Array.prototype.slice.apply(\n    el.querySelectorAll(candidateSelector)\n  );\n  if (includeContainer && matches.call(el, candidateSelector)) {\n    candidates.unshift(el);\n  }\n  candidates = candidates.filter(filter);\n  return candidates;\n};\n\n/**\n * @callback GetShadowRoot\n * @param {Element} element to check for shadow root\n * @returns {ShadowRoot|boolean} ShadowRoot if available or boolean indicating if a shadowRoot is attached but not available.\n */\n\n/**\n * @callback ShadowRootFilter\n * @param {Element} shadowHostNode the element which contains shadow content\n * @returns {boolean} true if a shadow root could potentially contain valid candidates.\n */\n\n/**\n * @typedef {Object} CandidateScope\n * @property {Element} scopeParent contains inner candidates\n * @property {Element[]} candidates list of candidates found in the scope parent\n */\n\n/**\n * @typedef {Object} IterativeOptions\n * @property {GetShadowRoot|boolean} getShadowRoot true if shadow support is enabled; falsy if not;\n *  if a function, implies shadow support is enabled and either returns the shadow root of an element\n *  or a boolean stating if it has an undisclosed shadow root\n * @property {(node: Element) => boolean} filter filter candidates\n * @property {boolean} flatten if true then result will flatten any CandidateScope into the returned list\n * @property {ShadowRootFilter} shadowRootFilter filter shadow roots;\n */\n\n/**\n * @param {Element[]} elements list of element containers to match candidates from\n * @param {boolean} includeContainer add container list to check\n * @param {IterativeOptions} options\n * @returns {Array.<Element|CandidateScope>}\n */\nconst getCandidatesIteratively = function (\n  elements,\n  includeContainer,\n  options\n) {\n  const candidates = [];\n  const elementsToCheck = Array.from(elements);\n  while (elementsToCheck.length) {\n    const element = elementsToCheck.shift();\n    if (isInert(element, false)) {\n      // no need to look up since we're drilling down\n      // anything inside this container will also be inert\n      continue;\n    }\n\n    if (element.tagName === 'SLOT') {\n      // add shadow dom slot scope (slot itself cannot be focusable)\n      const assigned = element.assignedElements();\n      const content = assigned.length ? assigned : element.children;\n      const nestedCandidates = getCandidatesIteratively(content, true, options);\n      if (options.flatten) {\n        candidates.push(...nestedCandidates);\n      } else {\n        candidates.push({\n          scopeParent: element,\n          candidates: nestedCandidates,\n        });\n      }\n    } else {\n      // check candidate element\n      const validCandidate = matches.call(element, candidateSelector);\n      if (\n        validCandidate &&\n        options.filter(element) &&\n        (includeContainer || !elements.includes(element))\n      ) {\n        candidates.push(element);\n      }\n\n      // iterate over shadow content if possible\n      const shadowRoot =\n        element.shadowRoot ||\n        // check for an undisclosed shadow\n        (typeof options.getShadowRoot === 'function' &&\n          options.getShadowRoot(element));\n\n      // no inert look up because we're already drilling down and checking for inertness\n      //  on the way down, so all containers to this root node should have already been\n      //  vetted as non-inert\n      const validShadowRoot =\n        !isInert(shadowRoot, false) &&\n        (!options.shadowRootFilter || options.shadowRootFilter(element));\n\n      if (shadowRoot && validShadowRoot) {\n        // add shadow dom scope IIF a shadow root node was given; otherwise, an undisclosed\n        //  shadow exists, so look at light dom children as fallback BUT create a scope for any\n        //  child candidates found because they're likely slotted elements (elements that are\n        //  children of the web component element (which has the shadow), in the light dom, but\n        //  slotted somewhere _inside_ the undisclosed shadow) -- the scope is created below,\n        //  _after_ we return from this recursive call\n        const nestedCandidates = getCandidatesIteratively(\n          shadowRoot === true ? element.children : shadowRoot.children,\n          true,\n          options\n        );\n\n        if (options.flatten) {\n          candidates.push(...nestedCandidates);\n        } else {\n          candidates.push({\n            scopeParent: element,\n            candidates: nestedCandidates,\n          });\n        }\n      } else {\n        // there's not shadow so just dig into the element's (light dom) children\n        //  __without__ giving the element special scope treatment\n        elementsToCheck.unshift(...element.children);\n      }\n    }\n  }\n  return candidates;\n};\n\n/**\n * @private\n * Determines if the node has an explicitly specified `tabindex` attribute.\n * @param {HTMLElement} node\n * @returns {boolean} True if so; false if not.\n */\nconst hasTabIndex = function (node) {\n  return !isNaN(parseInt(node.getAttribute('tabindex'), 10));\n};\n\n/**\n * Determine the tab index of a given node.\n * @param {HTMLElement} node\n * @returns {number} Tab order (negative, 0, or positive number).\n * @throws {Error} If `node` is falsy.\n */\nconst getTabIndex = function (node) {\n  if (!node) {\n    throw new Error('No node provided');\n  }\n\n  if (node.tabIndex < 0) {\n    // in Chrome, <details/>, <audio controls/> and <video controls/> elements get a default\n    // `tabIndex` of -1 when the 'tabindex' attribute isn't specified in the DOM,\n    // yet they are still part of the regular tab order; in FF, they get a default\n    // `tabIndex` of 0; since Chrome still puts those elements in the regular tab\n    // order, consider their tab index to be 0.\n    // Also browsers do not return `tabIndex` correctly for contentEditable nodes;\n    // so if they don't have a tabindex attribute specifically set, assume it's 0.\n    if (\n      (/^(AUDIO|VIDEO|DETAILS)$/.test(node.tagName) ||\n        isContentEditable(node)) &&\n      !hasTabIndex(node)\n    ) {\n      return 0;\n    }\n  }\n\n  return node.tabIndex;\n};\n\n/**\n * Determine the tab index of a given node __for sort order purposes__.\n * @param {HTMLElement} node\n * @param {boolean} [isScope] True for a custom element with shadow root or slot that, by default,\n *  has tabIndex -1, but needs to be sorted by document order in order for its content to be\n *  inserted into the correct sort position.\n * @returns {number} Tab order (negative, 0, or positive number).\n */\nconst getSortOrderTabIndex = function (node, isScope) {\n  const tabIndex = getTabIndex(node);\n\n  if (tabIndex < 0 && isScope && !hasTabIndex(node)) {\n    return 0;\n  }\n\n  return tabIndex;\n};\n\nconst sortOrderedTabbables = function (a, b) {\n  return a.tabIndex === b.tabIndex\n    ? a.documentOrder - b.documentOrder\n    : a.tabIndex - b.tabIndex;\n};\n\nconst isInput = function (node) {\n  return node.tagName === 'INPUT';\n};\n\nconst isHiddenInput = function (node) {\n  return isInput(node) && node.type === 'hidden';\n};\n\nconst isDetailsWithSummary = function (node) {\n  const r =\n    node.tagName === 'DETAILS' &&\n    Array.prototype.slice\n      .apply(node.children)\n      .some((child) => child.tagName === 'SUMMARY');\n  return r;\n};\n\nconst getCheckedRadio = function (nodes, form) {\n  for (let i = 0; i < nodes.length; i++) {\n    if (nodes[i].checked && nodes[i].form === form) {\n      return nodes[i];\n    }\n  }\n};\n\nconst isTabbableRadio = function (node) {\n  if (!node.name) {\n    return true;\n  }\n  const radioScope = node.form || getRootNode(node);\n  const queryRadios = function (name) {\n    return radioScope.querySelectorAll(\n      'input[type=\"radio\"][name=\"' + name + '\"]'\n    );\n  };\n\n  let radioSet;\n  if (\n    typeof window !== 'undefined' &&\n    typeof window.CSS !== 'undefined' &&\n    typeof window.CSS.escape === 'function'\n  ) {\n    radioSet = queryRadios(window.CSS.escape(node.name));\n  } else {\n    try {\n      radioSet = queryRadios(node.name);\n    } catch (err) {\n      // eslint-disable-next-line no-console\n      console.error(\n        'Looks like you have a radio button with a name attribute containing invalid CSS selector characters and need the CSS.escape polyfill: %s',\n        err.message\n      );\n      return false;\n    }\n  }\n\n  const checked = getCheckedRadio(radioSet, node.form);\n  return !checked || checked === node;\n};\n\nconst isRadio = function (node) {\n  return isInput(node) && node.type === 'radio';\n};\n\nconst isNonTabbableRadio = function (node) {\n  return isRadio(node) && !isTabbableRadio(node);\n};\n\n// determines if a node is ultimately attached to the window's document\nconst isNodeAttached = function (node) {\n  // The root node is the shadow root if the node is in a shadow DOM; some document otherwise\n  //  (but NOT _the_ document; see second 'If' comment below for more).\n  // If rootNode is shadow root, it'll have a host, which is the element to which the shadow\n  //  is attached, and the one we need to check if it's in the document or not (because the\n  //  shadow, and all nodes it contains, is never considered in the document since shadows\n  //  behave like self-contained DOMs; but if the shadow's HOST, which is part of the document,\n  //  is hidden, or is not in the document itself but is detached, it will affect the shadow's\n  //  visibility, including all the nodes it contains). The host could be any normal node,\n  //  or a custom element (i.e. web component). Either way, that's the one that is considered\n  //  part of the document, not the shadow root, nor any of its children (i.e. the node being\n  //  tested).\n  // To further complicate things, we have to look all the way up until we find a shadow HOST\n  //  that is attached (or find none) because the node might be in nested shadows...\n  // If rootNode is not a shadow root, it won't have a host, and so rootNode should be the\n  //  document (per the docs) and while it's a Document-type object, that document does not\n  //  appear to be the same as the node's `ownerDocument` for some reason, so it's safer\n  //  to ignore the rootNode at this point, and use `node.ownerDocument`. Otherwise,\n  //  using `rootNode.contains(node)` will _always_ be true we'll get false-positives when\n  //  node is actually detached.\n  // NOTE: If `nodeRootHost` or `node` happens to be the `document` itself (which is possible\n  //  if a tabbable/focusable node was quickly added to the DOM, focused, and then removed\n  //  from the DOM as in https://github.com/focus-trap/focus-trap-react/issues/905), then\n  //  `ownerDocument` will be `null`, hence the optional chaining on it.\n  let nodeRoot = node && getRootNode(node);\n  let nodeRootHost = nodeRoot?.host;\n\n  // in some cases, a detached node will return itself as the root instead of a document or\n  //  shadow root object, in which case, we shouldn't try to look further up the host chain\n  let attached = false;\n  if (nodeRoot && nodeRoot !== node) {\n    attached = !!(\n      nodeRootHost?.ownerDocument?.contains(nodeRootHost) ||\n      node?.ownerDocument?.contains(node)\n    );\n\n    while (!attached && nodeRootHost) {\n      // since it's not attached and we have a root host, the node MUST be in a nested shadow DOM,\n      //  which means we need to get the host's host and check if that parent host is contained\n      //  in (i.e. attached to) the document\n      nodeRoot = getRootNode(nodeRootHost);\n      nodeRootHost = nodeRoot?.host;\n      attached = !!nodeRootHost?.ownerDocument?.contains(nodeRootHost);\n    }\n  }\n\n  return attached;\n};\n\nconst isZeroArea = function (node) {\n  const { width, height } = node.getBoundingClientRect();\n  return width === 0 && height === 0;\n};\nconst isHidden = function (node, { displayCheck, getShadowRoot }) {\n  // NOTE: visibility will be `undefined` if node is detached from the document\n  //  (see notes about this further down), which means we will consider it visible\n  //  (this is legacy behavior from a very long way back)\n  // NOTE: we check this regardless of `displayCheck=\"none\"` because this is a\n  //  _visibility_ check, not a _display_ check\n  if (getComputedStyle(node).visibility === 'hidden') {\n    return true;\n  }\n\n  const isDirectSummary = matches.call(node, 'details>summary:first-of-type');\n  const nodeUnderDetails = isDirectSummary ? node.parentElement : node;\n  if (matches.call(nodeUnderDetails, 'details:not([open]) *')) {\n    return true;\n  }\n\n  if (\n    !displayCheck ||\n    displayCheck === 'full' ||\n    displayCheck === 'legacy-full'\n  ) {\n    if (typeof getShadowRoot === 'function') {\n      // figure out if we should consider the node to be in an undisclosed shadow and use the\n      //  'non-zero-area' fallback\n      const originalNode = node;\n      while (node) {\n        const parentElement = node.parentElement;\n        const rootNode = getRootNode(node);\n        if (\n          parentElement &&\n          !parentElement.shadowRoot &&\n          getShadowRoot(parentElement) === true // check if there's an undisclosed shadow\n        ) {\n          // node has an undisclosed shadow which means we can only treat it as a black box, so we\n          //  fall back to a non-zero-area test\n          return isZeroArea(node);\n        } else if (node.assignedSlot) {\n          // iterate up slot\n          node = node.assignedSlot;\n        } else if (!parentElement && rootNode !== node.ownerDocument) {\n          // cross shadow boundary\n          node = rootNode.host;\n        } else {\n          // iterate up normal dom\n          node = parentElement;\n        }\n      }\n\n      node = originalNode;\n    }\n    // else, `getShadowRoot` might be true, but all that does is enable shadow DOM support\n    //  (i.e. it does not also presume that all nodes might have undisclosed shadows); or\n    //  it might be a falsy value, which means shadow DOM support is disabled\n\n    // Since we didn't find it sitting in an undisclosed shadow (or shadows are disabled)\n    //  now we can just test to see if it would normally be visible or not, provided it's\n    //  attached to the main document.\n    // NOTE: We must consider case where node is inside a shadow DOM and given directly to\n    //  `isTabbable()` or `isFocusable()` -- regardless of `getShadowRoot` option setting.\n\n    if (isNodeAttached(node)) {\n      // this works wherever the node is: if there's at least one client rect, it's\n      //  somehow displayed; it also covers the CSS 'display: contents' case where the\n      //  node itself is hidden in place of its contents; and there's no need to search\n      //  up the hierarchy either\n      return !node.getClientRects().length;\n    }\n\n    // Else, the node isn't attached to the document, which means the `getClientRects()`\n    //  API will __always__ return zero rects (this can happen, for example, if React\n    //  is used to render nodes onto a detached tree, as confirmed in this thread:\n    //  https://github.com/facebook/react/issues/9117#issuecomment-284228870)\n    //\n    // It also means that even window.getComputedStyle(node).display will return `undefined`\n    //  because styles are only computed for nodes that are in the document.\n    //\n    // NOTE: THIS HAS BEEN THE CASE FOR YEARS. It is not new, nor is it caused by tabbable\n    //  somehow. Though it was never stated officially, anyone who has ever used tabbable\n    //  APIs on nodes in detached containers has actually implicitly used tabbable in what\n    //  was later (as of v5.2.0 on Apr 9, 2021) called `displayCheck=\"none\"` mode -- essentially\n    //  considering __everything__ to be visible because of the innability to determine styles.\n    //\n    // v6.0.0: As of this major release, the default 'full' option __no longer treats detached\n    //  nodes as visible with the 'none' fallback.__\n    if (displayCheck !== 'legacy-full') {\n      return true; // hidden\n    }\n    // else, fallback to 'none' mode and consider the node visible\n  } else if (displayCheck === 'non-zero-area') {\n    // NOTE: Even though this tests that the node's client rect is non-zero to determine\n    //  whether it's displayed, and that a detached node will __always__ have a zero-area\n    //  client rect, we don't special-case for whether the node is attached or not. In\n    //  this mode, we do want to consider nodes that have a zero area to be hidden at all\n    //  times, and that includes attached or not.\n    return isZeroArea(node);\n  }\n\n  // visible, as far as we can tell, or per current `displayCheck=none` mode, we assume\n  //  it's visible\n  return false;\n};\n\n// form fields (nested) inside a disabled fieldset are not focusable/tabbable\n//  unless they are in the _first_ <legend> element of the top-most disabled\n//  fieldset\nconst isDisabledFromFieldset = function (node) {\n  if (/^(INPUT|BUTTON|SELECT|TEXTAREA)$/.test(node.tagName)) {\n    let parentNode = node.parentElement;\n    // check if `node` is contained in a disabled <fieldset>\n    while (parentNode) {\n      if (parentNode.tagName === 'FIELDSET' && parentNode.disabled) {\n        // look for the first <legend> among the children of the disabled <fieldset>\n        for (let i = 0; i < parentNode.children.length; i++) {\n          const child = parentNode.children.item(i);\n          // when the first <legend> (in document order) is found\n          if (child.tagName === 'LEGEND') {\n            // if its parent <fieldset> is not nested in another disabled <fieldset>,\n            // return whether `node` is a descendant of its first <legend>\n            return matches.call(parentNode, 'fieldset[disabled] *')\n              ? true\n              : !child.contains(node);\n          }\n        }\n        // the disabled <fieldset> containing `node` has no <legend>\n        return true;\n      }\n      parentNode = parentNode.parentElement;\n    }\n  }\n\n  // else, node's tabbable/focusable state should not be affected by a fieldset's\n  //  enabled/disabled state\n  return false;\n};\n\nconst isNodeMatchingSelectorFocusable = function (options, node) {\n  if (\n    node.disabled ||\n    // we must do an inert look up to filter out any elements inside an inert ancestor\n    //  because we're limited in the type of selectors we can use in JSDom (see related\n    //  note related to `candidateSelectors`)\n    isInert(node) ||\n    isHiddenInput(node) ||\n    isHidden(node, options) ||\n    // For a details element with a summary, the summary element gets the focus\n    isDetailsWithSummary(node) ||\n    isDisabledFromFieldset(node)\n  ) {\n    return false;\n  }\n  return true;\n};\n\nconst isNodeMatchingSelectorTabbable = function (options, node) {\n  if (\n    isNonTabbableRadio(node) ||\n    getTabIndex(node) < 0 ||\n    !isNodeMatchingSelectorFocusable(options, node)\n  ) {\n    return false;\n  }\n  return true;\n};\n\nconst isValidShadowRootTabbable = function (shadowHostNode) {\n  const tabIndex = parseInt(shadowHostNode.getAttribute('tabindex'), 10);\n  if (isNaN(tabIndex) || tabIndex >= 0) {\n    return true;\n  }\n  // If a custom element has an explicit negative tabindex,\n  // browsers will not allow tab targeting said element's children.\n  return false;\n};\n\n/**\n * @param {Array.<Element|CandidateScope>} candidates\n * @returns Element[]\n */\nconst sortByOrder = function (candidates) {\n  const regularTabbables = [];\n  const orderedTabbables = [];\n  candidates.forEach(function (item, i) {\n    const isScope = !!item.scopeParent;\n    const element = isScope ? item.scopeParent : item;\n    const candidateTabindex = getSortOrderTabIndex(element, isScope);\n    const elements = isScope ? sortByOrder(item.candidates) : element;\n    if (candidateTabindex === 0) {\n      isScope\n        ? regularTabbables.push(...elements)\n        : regularTabbables.push(element);\n    } else {\n      orderedTabbables.push({\n        documentOrder: i,\n        tabIndex: candidateTabindex,\n        item: item,\n        isScope: isScope,\n        content: elements,\n      });\n    }\n  });\n\n  return orderedTabbables\n    .sort(sortOrderedTabbables)\n    .reduce((acc, sortable) => {\n      sortable.isScope\n        ? acc.push(...sortable.content)\n        : acc.push(sortable.content);\n      return acc;\n    }, [])\n    .concat(regularTabbables);\n};\n\nconst tabbable = function (container, options) {\n  options = options || {};\n\n  let candidates;\n  if (options.getShadowRoot) {\n    candidates = getCandidatesIteratively(\n      [container],\n      options.includeContainer,\n      {\n        filter: isNodeMatchingSelectorTabbable.bind(null, options),\n        flatten: false,\n        getShadowRoot: options.getShadowRoot,\n        shadowRootFilter: isValidShadowRootTabbable,\n      }\n    );\n  } else {\n    candidates = getCandidates(\n      container,\n      options.includeContainer,\n      isNodeMatchingSelectorTabbable.bind(null, options)\n    );\n  }\n  return sortByOrder(candidates);\n};\n\nconst focusable = function (container, options) {\n  options = options || {};\n\n  let candidates;\n  if (options.getShadowRoot) {\n    candidates = getCandidatesIteratively(\n      [container],\n      options.includeContainer,\n      {\n        filter: isNodeMatchingSelectorFocusable.bind(null, options),\n        flatten: true,\n        getShadowRoot: options.getShadowRoot,\n      }\n    );\n  } else {\n    candidates = getCandidates(\n      container,\n      options.includeContainer,\n      isNodeMatchingSelectorFocusable.bind(null, options)\n    );\n  }\n\n  return candidates;\n};\n\nconst isTabbable = function (node, options) {\n  options = options || {};\n  if (!node) {\n    throw new Error('No node provided');\n  }\n  if (matches.call(node, candidateSelector) === false) {\n    return false;\n  }\n  return isNodeMatchingSelectorTabbable(options, node);\n};\n\nconst focusableCandidateSelector = /* #__PURE__ */ candidateSelectors\n  .concat('iframe')\n  .join(',');\n\nconst isFocusable = function (node, options) {\n  options = options || {};\n  if (!node) {\n    throw new Error('No node provided');\n  }\n  if (matches.call(node, focusableCandidateSelector) === false) {\n    return false;\n  }\n  return isNodeMatchingSelectorFocusable(options, node);\n};\n\nexport { tabbable, focusable, isTabbable, isFocusable, getTabIndex };\n","import { tabbable } from 'tabbable';\nimport { activeElement, contains, getDocument } from \"./element.js\";\nexport const getTabbableOptions = () => ({\n  getShadowRoot: true,\n  displayCheck:\n  // JSDOM does not support the `tabbable` library. To solve this we can\n  // check if `ResizeObserver` is a real function (not polyfilled), which\n  // determines if the current environment is JSDOM-like.\n  typeof ResizeObserver === 'function' && ResizeObserver.toString().includes('[native code]') ? 'full' : 'none'\n});\nfunction getTabbableIn(container, dir) {\n  const list = tabbable(container, getTabbableOptions());\n  const len = list.length;\n  if (len === 0) {\n    return undefined;\n  }\n  const active = activeElement(getDocument(container));\n  const index = list.indexOf(active);\n  // eslint-disable-next-line no-nested-ternary\n  const nextIndex = index === -1 ? dir === 1 ? 0 : len - 1 : index + dir;\n  return list[nextIndex];\n}\nexport function getNextTabbable(referenceElement) {\n  return getTabbableIn(getDocument(referenceElement).body, 1) || referenceElement;\n}\nexport function getPreviousTabbable(referenceElement) {\n  return getTabbableIn(getDocument(referenceElement).body, -1) || referenceElement;\n}\nexport function isOutsideEvent(event, container) {\n  const containerElement = container || event.currentTarget;\n  const relatedTarget = event.relatedTarget;\n  return !relatedTarget || !contains(containerElement, relatedTarget);\n}\nexport function disableFocusInside(container) {\n  const tabbableElements = tabbable(container, getTabbableOptions());\n  tabbableElements.forEach(element => {\n    element.dataset.tabindex = element.getAttribute('tabindex') || '';\n    element.setAttribute('tabindex', '-1');\n  });\n}\nexport function enableFocusInside(container) {\n  const elements = container.querySelectorAll('[data-tabindex]');\n  elements.forEach(element => {\n    const tabindex = element.dataset.tabindex;\n    delete element.dataset.tabindex;\n    if (tabindex) {\n      element.setAttribute('tabindex', tabindex);\n    } else {\n      element.removeAttribute('tabindex');\n    }\n  });\n}","import * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { isNode } from '@floating-ui/utils/dom';\nimport { useId } from '@base-ui-components/utils/useId';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { visuallyHidden } from '@base-ui-components/utils/visuallyHidden';\nimport { FocusGuard } from \"../../utils/FocusGuard.js\";\nimport { enableFocusInside, disableFocusInside, getPreviousTabbable, getNextTabbable, isOutsideEvent } from \"../utils.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst PortalContext = /*#__PURE__*/React.createContext(null);\nif (process.env.NODE_ENV !== \"production\") PortalContext.displayName = \"PortalContext\";\nexport const usePortalContext = () => React.useContext(PortalContext);\nconst attr = createAttribute('portal');\n/**\n * @see https://floating-ui.com/docs/FloatingPortal#usefloatingportalnode\n */\nexport function useFloatingPortalNode(props = {}) {\n  const {\n    id,\n    root\n  } = props;\n  const uniqueId = useId();\n  const portalContext = usePortalContext();\n  const [portalNode, setPortalNode] = React.useState(null);\n  const portalNodeRef = React.useRef(null);\n  useIsoLayoutEffect(() => {\n    return () => {\n      portalNode?.remove();\n      // Allow the subsequent layout effects to create a new node on updates.\n      // The portal node will still be cleaned up on unmount.\n      // https://github.com/floating-ui/floating-ui/issues/2454\n      queueMicrotask(() => {\n        portalNodeRef.current = null;\n      });\n    };\n  }, [portalNode]);\n  useIsoLayoutEffect(() => {\n    // Wait for the uniqueId to be generated before creating the portal node in\n    // React <18 (using `useFloatingId` instead of the native `useId`).\n    // https://github.com/floating-ui/floating-ui/issues/2778\n    if (!uniqueId) {\n      return;\n    }\n    if (portalNodeRef.current) {\n      return;\n    }\n    const existingIdRoot = id ? document.getElementById(id) : null;\n    if (!existingIdRoot) {\n      return;\n    }\n    const subRoot = document.createElement('div');\n    subRoot.id = uniqueId;\n    subRoot.setAttribute(attr, '');\n    existingIdRoot.appendChild(subRoot);\n    portalNodeRef.current = subRoot;\n    setPortalNode(subRoot);\n  }, [id, uniqueId]);\n  useIsoLayoutEffect(() => {\n    // Wait for the root to exist before creating the portal node. The root must\n    // be stored in state, not a ref, for this to work reactively.\n    if (root === null) {\n      return;\n    }\n    if (!uniqueId) {\n      return;\n    }\n    if (portalNodeRef.current) {\n      return;\n    }\n    let container = root || portalContext?.portalNode;\n    if (container && !isNode(container)) {\n      container = container.current;\n    }\n    container = container || document.body;\n    let idWrapper = null;\n    if (id) {\n      idWrapper = document.createElement('div');\n      idWrapper.id = id;\n      container.appendChild(idWrapper);\n    }\n    const subRoot = document.createElement('div');\n    subRoot.id = uniqueId;\n    subRoot.setAttribute(attr, '');\n    container = idWrapper || container;\n    container.appendChild(subRoot);\n    portalNodeRef.current = subRoot;\n    setPortalNode(subRoot);\n  }, [id, root, uniqueId, portalContext]);\n  return portalNode;\n}\n/**\n * Portals the floating element into a given container element — by default,\n * outside of the app root and into the body.\n * This is necessary to ensure the floating element can appear outside any\n * potential parent containers that cause clipping (such as `overflow: hidden`),\n * while retaining its location in the React tree.\n * @see https://floating-ui.com/docs/FloatingPortal\n * @internal\n */\nexport function FloatingPortal(props) {\n  const {\n    children,\n    id,\n    root,\n    preserveTabOrder = true\n  } = props;\n  const portalNode = useFloatingPortalNode({\n    id,\n    root\n  });\n  const [focusManagerState, setFocusManagerState] = React.useState(null);\n  const beforeOutsideRef = React.useRef(null);\n  const afterOutsideRef = React.useRef(null);\n  const beforeInsideRef = React.useRef(null);\n  const afterInsideRef = React.useRef(null);\n  const modal = focusManagerState?.modal;\n  const open = focusManagerState?.open;\n  const shouldRenderGuards =\n  // The FocusManager and therefore floating element are currently open/\n  // rendered.\n  !!focusManagerState &&\n  // Guards are only for non-modal focus management.\n  !focusManagerState.modal &&\n  // Don't render if unmount is transitioning.\n  focusManagerState.open && preserveTabOrder && !!(root || portalNode);\n\n  // https://codesandbox.io/s/tabbable-portal-f4tng?file=/src/TabbablePortal.tsx\n  React.useEffect(() => {\n    if (!portalNode || !preserveTabOrder || modal) {\n      return undefined;\n    }\n\n    // Make sure elements inside the portal element are tabbable only when the\n    // portal has already been focused, either by tabbing into a focus trap\n    // element outside or using the mouse.\n    function onFocus(event) {\n      if (portalNode && isOutsideEvent(event)) {\n        const focusing = event.type === 'focusin';\n        const manageFocus = focusing ? enableFocusInside : disableFocusInside;\n        manageFocus(portalNode);\n      }\n    }\n    // Listen to the event on the capture phase so they run before the focus\n    // trap elements onFocus prop is called.\n    portalNode.addEventListener('focusin', onFocus, true);\n    portalNode.addEventListener('focusout', onFocus, true);\n    return () => {\n      portalNode.removeEventListener('focusin', onFocus, true);\n      portalNode.removeEventListener('focusout', onFocus, true);\n    };\n  }, [portalNode, preserveTabOrder, modal]);\n  React.useEffect(() => {\n    if (!portalNode) {\n      return;\n    }\n    if (open) {\n      return;\n    }\n    enableFocusInside(portalNode);\n  }, [open, portalNode]);\n  return /*#__PURE__*/_jsxs(PortalContext.Provider, {\n    value: React.useMemo(() => ({\n      preserveTabOrder,\n      beforeOutsideRef,\n      afterOutsideRef,\n      beforeInsideRef,\n      afterInsideRef,\n      portalNode,\n      setFocusManagerState\n    }), [preserveTabOrder, portalNode]),\n    children: [shouldRenderGuards && portalNode && /*#__PURE__*/_jsx(FocusGuard, {\n      \"data-type\": \"outside\",\n      ref: beforeOutsideRef,\n      onFocus: event => {\n        if (isOutsideEvent(event, portalNode)) {\n          beforeInsideRef.current?.focus();\n        } else {\n          const domReference = focusManagerState ? focusManagerState.domReference : null;\n          const prevTabbable = getPreviousTabbable(domReference);\n          prevTabbable?.focus();\n        }\n      }\n    }), shouldRenderGuards && portalNode && /*#__PURE__*/_jsx(\"span\", {\n      \"aria-owns\": portalNode.id,\n      style: visuallyHidden\n    }), portalNode && /*#__PURE__*/ReactDOM.createPortal(children, portalNode), shouldRenderGuards && portalNode && /*#__PURE__*/_jsx(FocusGuard, {\n      \"data-type\": \"outside\",\n      ref: afterOutsideRef,\n      onFocus: event => {\n        if (isOutsideEvent(event, portalNode)) {\n          afterInsideRef.current?.focus();\n        } else {\n          const domReference = focusManagerState ? focusManagerState.domReference : null;\n          const nextTabbable = getNextTabbable(domReference);\n          nextTabbable?.focus();\n          if (focusManagerState?.closeOnFocusOut) {\n            focusManagerState?.onOpenChange(false, event.nativeEvent, 'focus-out');\n          }\n        }\n      }\n    })]\n  });\n}","import * as React from 'react';\nexport const MenuPortalContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") MenuPortalContext.displayName = \"MenuPortalContext\";\nexport function useMenuPortalContext() {\n  const value = React.useContext(MenuPortalContext);\n  if (value === undefined) {\n    throw new Error('Base UI: <Menu.Portal> is missing.');\n  }\n  return value;\n}","'use client';\n\nimport * as React from 'react';\nimport { FloatingPortal } from \"../../floating-ui-react/index.js\";\nimport { useMenuRootContext } from \"../root/MenuRootContext.js\";\nimport { MenuPortalContext } from \"./MenuPortalContext.js\";\n\n/**\n * A portal element that moves the popup to a different part of the DOM.\n * By default, the portal element is appended to `<body>`.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function MenuPortal(props) {\n  const {\n    children,\n    keepMounted = false,\n    container\n  } = props;\n  const {\n    mounted\n  } = useMenuRootContext();\n  const shouldRender = mounted || keepMounted;\n  if (!shouldRender) {\n    return null;\n  }\n  return /*#__PURE__*/_jsx(MenuPortalContext.Provider, {\n    value: keepMounted,\n    children: /*#__PURE__*/_jsx(FloatingPortal, {\n      root: container,\n      children: children\n    })\n  });\n}","'use client';\n\nimport * as React from 'react';\nexport const MenuPositionerContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") MenuPositionerContext.displayName = \"MenuPositionerContext\";\nexport function useMenuPositionerContext() {\n  const context = React.useContext(MenuPositionerContext);\n  if (context === undefined) {\n    throw new Error('Base UI: MenuPositionerContext is missing. MenuPositioner parts must be placed within <Menu.Positioner>.');\n  }\n  return context;\n}","import { getSideAxis, getAlignmentAxis, getAxisLength, getSide, getAlignment, evaluate, getPaddingObject, rectToClientRect, min, clamp, placements, getAlignmentSides, getOppositeAlignmentPlacement, getOppositePlacement, getExpandedPlacements, getOppositeAxisPlacements, sides, max, getOppositeAxis } from '@floating-ui/utils';\nexport { rectToClientRect } from '@floating-ui/utils';\n\nfunction computeCoordsFromPlacement(_ref, placement, rtl) {\n  let {\n    reference,\n    floating\n  } = _ref;\n  const sideAxis = getSideAxis(placement);\n  const alignmentAxis = getAlignmentAxis(placement);\n  const alignLength = getAxisLength(alignmentAxis);\n  const side = getSide(placement);\n  const isVertical = sideAxis === 'y';\n  const commonX = reference.x + reference.width / 2 - floating.width / 2;\n  const commonY = reference.y + reference.height / 2 - floating.height / 2;\n  const commonAlign = reference[alignLength] / 2 - floating[alignLength] / 2;\n  let coords;\n  switch (side) {\n    case 'top':\n      coords = {\n        x: commonX,\n        y: reference.y - floating.height\n      };\n      break;\n    case 'bottom':\n      coords = {\n        x: commonX,\n        y: reference.y + reference.height\n      };\n      break;\n    case 'right':\n      coords = {\n        x: reference.x + reference.width,\n        y: commonY\n      };\n      break;\n    case 'left':\n      coords = {\n        x: reference.x - floating.width,\n        y: commonY\n      };\n      break;\n    default:\n      coords = {\n        x: reference.x,\n        y: reference.y\n      };\n  }\n  switch (getAlignment(placement)) {\n    case 'start':\n      coords[alignmentAxis] -= commonAlign * (rtl && isVertical ? -1 : 1);\n      break;\n    case 'end':\n      coords[alignmentAxis] += commonAlign * (rtl && isVertical ? -1 : 1);\n      break;\n  }\n  return coords;\n}\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n *\n * This export does not have any `platform` interface logic. You will need to\n * write one for the platform you are using Floating UI with.\n */\nconst computePosition = async (reference, floating, config) => {\n  const {\n    placement = 'bottom',\n    strategy = 'absolute',\n    middleware = [],\n    platform\n  } = config;\n  const validMiddleware = middleware.filter(Boolean);\n  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(floating));\n  let rects = await platform.getElementRects({\n    reference,\n    floating,\n    strategy\n  });\n  let {\n    x,\n    y\n  } = computeCoordsFromPlacement(rects, placement, rtl);\n  let statefulPlacement = placement;\n  let middlewareData = {};\n  let resetCount = 0;\n  for (let i = 0; i < validMiddleware.length; i++) {\n    const {\n      name,\n      fn\n    } = validMiddleware[i];\n    const {\n      x: nextX,\n      y: nextY,\n      data,\n      reset\n    } = await fn({\n      x,\n      y,\n      initialPlacement: placement,\n      placement: statefulPlacement,\n      strategy,\n      middlewareData,\n      rects,\n      platform,\n      elements: {\n        reference,\n        floating\n      }\n    });\n    x = nextX != null ? nextX : x;\n    y = nextY != null ? nextY : y;\n    middlewareData = {\n      ...middlewareData,\n      [name]: {\n        ...middlewareData[name],\n        ...data\n      }\n    };\n    if (reset && resetCount <= 50) {\n      resetCount++;\n      if (typeof reset === 'object') {\n        if (reset.placement) {\n          statefulPlacement = reset.placement;\n        }\n        if (reset.rects) {\n          rects = reset.rects === true ? await platform.getElementRects({\n            reference,\n            floating,\n            strategy\n          }) : reset.rects;\n        }\n        ({\n          x,\n          y\n        } = computeCoordsFromPlacement(rects, statefulPlacement, rtl));\n      }\n      i = -1;\n    }\n  }\n  return {\n    x,\n    y,\n    placement: statefulPlacement,\n    strategy,\n    middlewareData\n  };\n};\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nasync function detectOverflow(state, options) {\n  var _await$platform$isEle;\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    x,\n    y,\n    platform,\n    rects,\n    elements,\n    strategy\n  } = state;\n  const {\n    boundary = 'clippingAncestors',\n    rootBoundary = 'viewport',\n    elementContext = 'floating',\n    altBoundary = false,\n    padding = 0\n  } = evaluate(options, state);\n  const paddingObject = getPaddingObject(padding);\n  const altContext = elementContext === 'floating' ? 'reference' : 'floating';\n  const element = elements[altBoundary ? altContext : elementContext];\n  const clippingClientRect = rectToClientRect(await platform.getClippingRect({\n    element: ((_await$platform$isEle = await (platform.isElement == null ? void 0 : platform.isElement(element))) != null ? _await$platform$isEle : true) ? element : element.contextElement || (await (platform.getDocumentElement == null ? void 0 : platform.getDocumentElement(elements.floating))),\n    boundary,\n    rootBoundary,\n    strategy\n  }));\n  const rect = elementContext === 'floating' ? {\n    x,\n    y,\n    width: rects.floating.width,\n    height: rects.floating.height\n  } : rects.reference;\n  const offsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(elements.floating));\n  const offsetScale = (await (platform.isElement == null ? void 0 : platform.isElement(offsetParent))) ? (await (platform.getScale == null ? void 0 : platform.getScale(offsetParent))) || {\n    x: 1,\n    y: 1\n  } : {\n    x: 1,\n    y: 1\n  };\n  const elementClientRect = rectToClientRect(platform.convertOffsetParentRelativeRectToViewportRelativeRect ? await platform.convertOffsetParentRelativeRectToViewportRelativeRect({\n    elements,\n    rect,\n    offsetParent,\n    strategy\n  }) : rect);\n  return {\n    top: (clippingClientRect.top - elementClientRect.top + paddingObject.top) / offsetScale.y,\n    bottom: (elementClientRect.bottom - clippingClientRect.bottom + paddingObject.bottom) / offsetScale.y,\n    left: (clippingClientRect.left - elementClientRect.left + paddingObject.left) / offsetScale.x,\n    right: (elementClientRect.right - clippingClientRect.right + paddingObject.right) / offsetScale.x\n  };\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = options => ({\n  name: 'arrow',\n  options,\n  async fn(state) {\n    const {\n      x,\n      y,\n      placement,\n      rects,\n      platform,\n      elements,\n      middlewareData\n    } = state;\n    // Since `element` is required, we don't Partial<> the type.\n    const {\n      element,\n      padding = 0\n    } = evaluate(options, state) || {};\n    if (element == null) {\n      return {};\n    }\n    const paddingObject = getPaddingObject(padding);\n    const coords = {\n      x,\n      y\n    };\n    const axis = getAlignmentAxis(placement);\n    const length = getAxisLength(axis);\n    const arrowDimensions = await platform.getDimensions(element);\n    const isYAxis = axis === 'y';\n    const minProp = isYAxis ? 'top' : 'left';\n    const maxProp = isYAxis ? 'bottom' : 'right';\n    const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n    const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n    const startDiff = coords[axis] - rects.reference[axis];\n    const arrowOffsetParent = await (platform.getOffsetParent == null ? void 0 : platform.getOffsetParent(element));\n    let clientSize = arrowOffsetParent ? arrowOffsetParent[clientProp] : 0;\n\n    // DOM platform can return `window` as the `offsetParent`.\n    if (!clientSize || !(await (platform.isElement == null ? void 0 : platform.isElement(arrowOffsetParent)))) {\n      clientSize = elements.floating[clientProp] || rects.floating[length];\n    }\n    const centerToReference = endDiff / 2 - startDiff / 2;\n\n    // If the padding is large enough that it causes the arrow to no longer be\n    // centered, modify the padding so that it is centered.\n    const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n    const minPadding = min(paddingObject[minProp], largestPossiblePadding);\n    const maxPadding = min(paddingObject[maxProp], largestPossiblePadding);\n\n    // Make sure the arrow doesn't overflow the floating element if the center\n    // point is outside the floating element's bounds.\n    const min$1 = minPadding;\n    const max = clientSize - arrowDimensions[length] - maxPadding;\n    const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n    const offset = clamp(min$1, center, max);\n\n    // If the reference is small enough that the arrow's padding causes it to\n    // to point to nothing for an aligned placement, adjust the offset of the\n    // floating element itself. To ensure `shift()` continues to take action,\n    // a single reset is performed when this is true.\n    const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min$1 ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n    const alignmentOffset = shouldAddOffset ? center < min$1 ? center - min$1 : center - max : 0;\n    return {\n      [axis]: coords[axis] + alignmentOffset,\n      data: {\n        [axis]: offset,\n        centerOffset: center - offset - alignmentOffset,\n        ...(shouldAddOffset && {\n          alignmentOffset\n        })\n      },\n      reset: shouldAddOffset\n    };\n  }\n});\n\nfunction getPlacementList(alignment, autoAlignment, allowedPlacements) {\n  const allowedPlacementsSortedByAlignment = alignment ? [...allowedPlacements.filter(placement => getAlignment(placement) === alignment), ...allowedPlacements.filter(placement => getAlignment(placement) !== alignment)] : allowedPlacements.filter(placement => getSide(placement) === placement);\n  return allowedPlacementsSortedByAlignment.filter(placement => {\n    if (alignment) {\n      return getAlignment(placement) === alignment || (autoAlignment ? getOppositeAlignmentPlacement(placement) !== placement : false);\n    }\n    return true;\n  });\n}\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'autoPlacement',\n    options,\n    async fn(state) {\n      var _middlewareData$autoP, _middlewareData$autoP2, _placementsThatFitOnE;\n      const {\n        rects,\n        middlewareData,\n        placement,\n        platform,\n        elements\n      } = state;\n      const {\n        crossAxis = false,\n        alignment,\n        allowedPlacements = placements,\n        autoAlignment = true,\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n      const placements$1 = alignment !== undefined || allowedPlacements === placements ? getPlacementList(alignment || null, autoAlignment, allowedPlacements) : allowedPlacements;\n      const overflow = await detectOverflow(state, detectOverflowOptions);\n      const currentIndex = ((_middlewareData$autoP = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP.index) || 0;\n      const currentPlacement = placements$1[currentIndex];\n      if (currentPlacement == null) {\n        return {};\n      }\n      const alignmentSides = getAlignmentSides(currentPlacement, rects, await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating)));\n\n      // Make `computeCoords` start from the right place.\n      if (placement !== currentPlacement) {\n        return {\n          reset: {\n            placement: placements$1[0]\n          }\n        };\n      }\n      const currentOverflows = [overflow[getSide(currentPlacement)], overflow[alignmentSides[0]], overflow[alignmentSides[1]]];\n      const allOverflows = [...(((_middlewareData$autoP2 = middlewareData.autoPlacement) == null ? void 0 : _middlewareData$autoP2.overflows) || []), {\n        placement: currentPlacement,\n        overflows: currentOverflows\n      }];\n      const nextPlacement = placements$1[currentIndex + 1];\n\n      // There are more placements to check.\n      if (nextPlacement) {\n        return {\n          data: {\n            index: currentIndex + 1,\n            overflows: allOverflows\n          },\n          reset: {\n            placement: nextPlacement\n          }\n        };\n      }\n      const placementsSortedByMostSpace = allOverflows.map(d => {\n        const alignment = getAlignment(d.placement);\n        return [d.placement, alignment && crossAxis ?\n        // Check along the mainAxis and main crossAxis side.\n        d.overflows.slice(0, 2).reduce((acc, v) => acc + v, 0) :\n        // Check only the mainAxis.\n        d.overflows[0], d.overflows];\n      }).sort((a, b) => a[1] - b[1]);\n      const placementsThatFitOnEachSide = placementsSortedByMostSpace.filter(d => d[2].slice(0,\n      // Aligned placements should not check their opposite crossAxis\n      // side.\n      getAlignment(d[0]) ? 2 : 3).every(v => v <= 0));\n      const resetPlacement = ((_placementsThatFitOnE = placementsThatFitOnEachSide[0]) == null ? void 0 : _placementsThatFitOnE[0]) || placementsSortedByMostSpace[0][0];\n      if (resetPlacement !== placement) {\n        return {\n          data: {\n            index: currentIndex + 1,\n            overflows: allOverflows\n          },\n          reset: {\n            placement: resetPlacement\n          }\n        };\n      }\n      return {};\n    }\n  };\n};\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'flip',\n    options,\n    async fn(state) {\n      var _middlewareData$arrow, _middlewareData$flip;\n      const {\n        placement,\n        middlewareData,\n        rects,\n        initialPlacement,\n        platform,\n        elements\n      } = state;\n      const {\n        mainAxis: checkMainAxis = true,\n        crossAxis: checkCrossAxis = true,\n        fallbackPlacements: specifiedFallbackPlacements,\n        fallbackStrategy = 'bestFit',\n        fallbackAxisSideDirection = 'none',\n        flipAlignment = true,\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n\n      // If a reset by the arrow was caused due to an alignment offset being\n      // added, we should skip any logic now since `flip()` has already done its\n      // work.\n      // https://github.com/floating-ui/floating-ui/issues/2549#issuecomment-1719601643\n      if ((_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n        return {};\n      }\n      const side = getSide(placement);\n      const initialSideAxis = getSideAxis(initialPlacement);\n      const isBasePlacement = getSide(initialPlacement) === initialPlacement;\n      const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n      const fallbackPlacements = specifiedFallbackPlacements || (isBasePlacement || !flipAlignment ? [getOppositePlacement(initialPlacement)] : getExpandedPlacements(initialPlacement));\n      const hasFallbackAxisSideDirection = fallbackAxisSideDirection !== 'none';\n      if (!specifiedFallbackPlacements && hasFallbackAxisSideDirection) {\n        fallbackPlacements.push(...getOppositeAxisPlacements(initialPlacement, flipAlignment, fallbackAxisSideDirection, rtl));\n      }\n      const placements = [initialPlacement, ...fallbackPlacements];\n      const overflow = await detectOverflow(state, detectOverflowOptions);\n      const overflows = [];\n      let overflowsData = ((_middlewareData$flip = middlewareData.flip) == null ? void 0 : _middlewareData$flip.overflows) || [];\n      if (checkMainAxis) {\n        overflows.push(overflow[side]);\n      }\n      if (checkCrossAxis) {\n        const sides = getAlignmentSides(placement, rects, rtl);\n        overflows.push(overflow[sides[0]], overflow[sides[1]]);\n      }\n      overflowsData = [...overflowsData, {\n        placement,\n        overflows\n      }];\n\n      // One or more sides is overflowing.\n      if (!overflows.every(side => side <= 0)) {\n        var _middlewareData$flip2, _overflowsData$filter;\n        const nextIndex = (((_middlewareData$flip2 = middlewareData.flip) == null ? void 0 : _middlewareData$flip2.index) || 0) + 1;\n        const nextPlacement = placements[nextIndex];\n        if (nextPlacement) {\n          const ignoreCrossAxisOverflow = checkCrossAxis === 'alignment' ? initialSideAxis !== getSideAxis(nextPlacement) : false;\n          if (!ignoreCrossAxisOverflow ||\n          // We leave the current main axis only if every placement on that axis\n          // overflows the main axis.\n          overflowsData.every(d => getSideAxis(d.placement) === initialSideAxis ? d.overflows[0] > 0 : true)) {\n            // Try next placement and re-run the lifecycle.\n            return {\n              data: {\n                index: nextIndex,\n                overflows: overflowsData\n              },\n              reset: {\n                placement: nextPlacement\n              }\n            };\n          }\n        }\n\n        // First, find the candidates that fit on the mainAxis side of overflow,\n        // then find the placement that fits the best on the main crossAxis side.\n        let resetPlacement = (_overflowsData$filter = overflowsData.filter(d => d.overflows[0] <= 0).sort((a, b) => a.overflows[1] - b.overflows[1])[0]) == null ? void 0 : _overflowsData$filter.placement;\n\n        // Otherwise fallback.\n        if (!resetPlacement) {\n          switch (fallbackStrategy) {\n            case 'bestFit':\n              {\n                var _overflowsData$filter2;\n                const placement = (_overflowsData$filter2 = overflowsData.filter(d => {\n                  if (hasFallbackAxisSideDirection) {\n                    const currentSideAxis = getSideAxis(d.placement);\n                    return currentSideAxis === initialSideAxis ||\n                    // Create a bias to the `y` side axis due to horizontal\n                    // reading directions favoring greater width.\n                    currentSideAxis === 'y';\n                  }\n                  return true;\n                }).map(d => [d.placement, d.overflows.filter(overflow => overflow > 0).reduce((acc, overflow) => acc + overflow, 0)]).sort((a, b) => a[1] - b[1])[0]) == null ? void 0 : _overflowsData$filter2[0];\n                if (placement) {\n                  resetPlacement = placement;\n                }\n                break;\n              }\n            case 'initialPlacement':\n              resetPlacement = initialPlacement;\n              break;\n          }\n        }\n        if (placement !== resetPlacement) {\n          return {\n            reset: {\n              placement: resetPlacement\n            }\n          };\n        }\n      }\n      return {};\n    }\n  };\n};\n\nfunction getSideOffsets(overflow, rect) {\n  return {\n    top: overflow.top - rect.height,\n    right: overflow.right - rect.width,\n    bottom: overflow.bottom - rect.height,\n    left: overflow.left - rect.width\n  };\n}\nfunction isAnySideFullyClipped(overflow) {\n  return sides.some(side => overflow[side] >= 0);\n}\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'hide',\n    options,\n    async fn(state) {\n      const {\n        rects\n      } = state;\n      const {\n        strategy = 'referenceHidden',\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n      switch (strategy) {\n        case 'referenceHidden':\n          {\n            const overflow = await detectOverflow(state, {\n              ...detectOverflowOptions,\n              elementContext: 'reference'\n            });\n            const offsets = getSideOffsets(overflow, rects.reference);\n            return {\n              data: {\n                referenceHiddenOffsets: offsets,\n                referenceHidden: isAnySideFullyClipped(offsets)\n              }\n            };\n          }\n        case 'escaped':\n          {\n            const overflow = await detectOverflow(state, {\n              ...detectOverflowOptions,\n              altBoundary: true\n            });\n            const offsets = getSideOffsets(overflow, rects.floating);\n            return {\n              data: {\n                escapedOffsets: offsets,\n                escaped: isAnySideFullyClipped(offsets)\n              }\n            };\n          }\n        default:\n          {\n            return {};\n          }\n      }\n    }\n  };\n};\n\nfunction getBoundingRect(rects) {\n  const minX = min(...rects.map(rect => rect.left));\n  const minY = min(...rects.map(rect => rect.top));\n  const maxX = max(...rects.map(rect => rect.right));\n  const maxY = max(...rects.map(rect => rect.bottom));\n  return {\n    x: minX,\n    y: minY,\n    width: maxX - minX,\n    height: maxY - minY\n  };\n}\nfunction getRectsByLine(rects) {\n  const sortedRects = rects.slice().sort((a, b) => a.y - b.y);\n  const groups = [];\n  let prevRect = null;\n  for (let i = 0; i < sortedRects.length; i++) {\n    const rect = sortedRects[i];\n    if (!prevRect || rect.y - prevRect.y > prevRect.height / 2) {\n      groups.push([rect]);\n    } else {\n      groups[groups.length - 1].push(rect);\n    }\n    prevRect = rect;\n  }\n  return groups.map(rect => rectToClientRect(getBoundingRect(rect)));\n}\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'inline',\n    options,\n    async fn(state) {\n      const {\n        placement,\n        elements,\n        rects,\n        platform,\n        strategy\n      } = state;\n      // A MouseEvent's client{X,Y} coords can be up to 2 pixels off a\n      // ClientRect's bounds, despite the event listener being triggered. A\n      // padding of 2 seems to handle this issue.\n      const {\n        padding = 2,\n        x,\n        y\n      } = evaluate(options, state);\n      const nativeClientRects = Array.from((await (platform.getClientRects == null ? void 0 : platform.getClientRects(elements.reference))) || []);\n      const clientRects = getRectsByLine(nativeClientRects);\n      const fallback = rectToClientRect(getBoundingRect(nativeClientRects));\n      const paddingObject = getPaddingObject(padding);\n      function getBoundingClientRect() {\n        // There are two rects and they are disjoined.\n        if (clientRects.length === 2 && clientRects[0].left > clientRects[1].right && x != null && y != null) {\n          // Find the first rect in which the point is fully inside.\n          return clientRects.find(rect => x > rect.left - paddingObject.left && x < rect.right + paddingObject.right && y > rect.top - paddingObject.top && y < rect.bottom + paddingObject.bottom) || fallback;\n        }\n\n        // There are 2 or more connected rects.\n        if (clientRects.length >= 2) {\n          if (getSideAxis(placement) === 'y') {\n            const firstRect = clientRects[0];\n            const lastRect = clientRects[clientRects.length - 1];\n            const isTop = getSide(placement) === 'top';\n            const top = firstRect.top;\n            const bottom = lastRect.bottom;\n            const left = isTop ? firstRect.left : lastRect.left;\n            const right = isTop ? firstRect.right : lastRect.right;\n            const width = right - left;\n            const height = bottom - top;\n            return {\n              top,\n              bottom,\n              left,\n              right,\n              width,\n              height,\n              x: left,\n              y: top\n            };\n          }\n          const isLeftSide = getSide(placement) === 'left';\n          const maxRight = max(...clientRects.map(rect => rect.right));\n          const minLeft = min(...clientRects.map(rect => rect.left));\n          const measureRects = clientRects.filter(rect => isLeftSide ? rect.left === minLeft : rect.right === maxRight);\n          const top = measureRects[0].top;\n          const bottom = measureRects[measureRects.length - 1].bottom;\n          const left = minLeft;\n          const right = maxRight;\n          const width = right - left;\n          const height = bottom - top;\n          return {\n            top,\n            bottom,\n            left,\n            right,\n            width,\n            height,\n            x: left,\n            y: top\n          };\n        }\n        return fallback;\n      }\n      const resetRects = await platform.getElementRects({\n        reference: {\n          getBoundingClientRect\n        },\n        floating: elements.floating,\n        strategy\n      });\n      if (rects.reference.x !== resetRects.reference.x || rects.reference.y !== resetRects.reference.y || rects.reference.width !== resetRects.reference.width || rects.reference.height !== resetRects.reference.height) {\n        return {\n          reset: {\n            rects: resetRects\n          }\n        };\n      }\n      return {};\n    }\n  };\n};\n\nconst originSides = /*#__PURE__*/new Set(['left', 'top']);\n\n// For type backwards-compatibility, the `OffsetOptions` type was also\n// Derivable.\n\nasync function convertValueToCoords(state, options) {\n  const {\n    placement,\n    platform,\n    elements\n  } = state;\n  const rtl = await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating));\n  const side = getSide(placement);\n  const alignment = getAlignment(placement);\n  const isVertical = getSideAxis(placement) === 'y';\n  const mainAxisMulti = originSides.has(side) ? -1 : 1;\n  const crossAxisMulti = rtl && isVertical ? -1 : 1;\n  const rawValue = evaluate(options, state);\n\n  // eslint-disable-next-line prefer-const\n  let {\n    mainAxis,\n    crossAxis,\n    alignmentAxis\n  } = typeof rawValue === 'number' ? {\n    mainAxis: rawValue,\n    crossAxis: 0,\n    alignmentAxis: null\n  } : {\n    mainAxis: rawValue.mainAxis || 0,\n    crossAxis: rawValue.crossAxis || 0,\n    alignmentAxis: rawValue.alignmentAxis\n  };\n  if (alignment && typeof alignmentAxis === 'number') {\n    crossAxis = alignment === 'end' ? alignmentAxis * -1 : alignmentAxis;\n  }\n  return isVertical ? {\n    x: crossAxis * crossAxisMulti,\n    y: mainAxis * mainAxisMulti\n  } : {\n    x: mainAxis * mainAxisMulti,\n    y: crossAxis * crossAxisMulti\n  };\n}\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = function (options) {\n  if (options === void 0) {\n    options = 0;\n  }\n  return {\n    name: 'offset',\n    options,\n    async fn(state) {\n      var _middlewareData$offse, _middlewareData$arrow;\n      const {\n        x,\n        y,\n        placement,\n        middlewareData\n      } = state;\n      const diffCoords = await convertValueToCoords(state, options);\n\n      // If the placement is the same and the arrow caused an alignment offset\n      // then we don't need to change the positioning coordinates.\n      if (placement === ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse.placement) && (_middlewareData$arrow = middlewareData.arrow) != null && _middlewareData$arrow.alignmentOffset) {\n        return {};\n      }\n      return {\n        x: x + diffCoords.x,\n        y: y + diffCoords.y,\n        data: {\n          ...diffCoords,\n          placement\n        }\n      };\n    }\n  };\n};\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'shift',\n    options,\n    async fn(state) {\n      const {\n        x,\n        y,\n        placement\n      } = state;\n      const {\n        mainAxis: checkMainAxis = true,\n        crossAxis: checkCrossAxis = false,\n        limiter = {\n          fn: _ref => {\n            let {\n              x,\n              y\n            } = _ref;\n            return {\n              x,\n              y\n            };\n          }\n        },\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n      const coords = {\n        x,\n        y\n      };\n      const overflow = await detectOverflow(state, detectOverflowOptions);\n      const crossAxis = getSideAxis(getSide(placement));\n      const mainAxis = getOppositeAxis(crossAxis);\n      let mainAxisCoord = coords[mainAxis];\n      let crossAxisCoord = coords[crossAxis];\n      if (checkMainAxis) {\n        const minSide = mainAxis === 'y' ? 'top' : 'left';\n        const maxSide = mainAxis === 'y' ? 'bottom' : 'right';\n        const min = mainAxisCoord + overflow[minSide];\n        const max = mainAxisCoord - overflow[maxSide];\n        mainAxisCoord = clamp(min, mainAxisCoord, max);\n      }\n      if (checkCrossAxis) {\n        const minSide = crossAxis === 'y' ? 'top' : 'left';\n        const maxSide = crossAxis === 'y' ? 'bottom' : 'right';\n        const min = crossAxisCoord + overflow[minSide];\n        const max = crossAxisCoord - overflow[maxSide];\n        crossAxisCoord = clamp(min, crossAxisCoord, max);\n      }\n      const limitedCoords = limiter.fn({\n        ...state,\n        [mainAxis]: mainAxisCoord,\n        [crossAxis]: crossAxisCoord\n      });\n      return {\n        ...limitedCoords,\n        data: {\n          x: limitedCoords.x - x,\n          y: limitedCoords.y - y,\n          enabled: {\n            [mainAxis]: checkMainAxis,\n            [crossAxis]: checkCrossAxis\n          }\n        }\n      };\n    }\n  };\n};\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    options,\n    fn(state) {\n      const {\n        x,\n        y,\n        placement,\n        rects,\n        middlewareData\n      } = state;\n      const {\n        offset = 0,\n        mainAxis: checkMainAxis = true,\n        crossAxis: checkCrossAxis = true\n      } = evaluate(options, state);\n      const coords = {\n        x,\n        y\n      };\n      const crossAxis = getSideAxis(placement);\n      const mainAxis = getOppositeAxis(crossAxis);\n      let mainAxisCoord = coords[mainAxis];\n      let crossAxisCoord = coords[crossAxis];\n      const rawOffset = evaluate(offset, state);\n      const computedOffset = typeof rawOffset === 'number' ? {\n        mainAxis: rawOffset,\n        crossAxis: 0\n      } : {\n        mainAxis: 0,\n        crossAxis: 0,\n        ...rawOffset\n      };\n      if (checkMainAxis) {\n        const len = mainAxis === 'y' ? 'height' : 'width';\n        const limitMin = rects.reference[mainAxis] - rects.floating[len] + computedOffset.mainAxis;\n        const limitMax = rects.reference[mainAxis] + rects.reference[len] - computedOffset.mainAxis;\n        if (mainAxisCoord < limitMin) {\n          mainAxisCoord = limitMin;\n        } else if (mainAxisCoord > limitMax) {\n          mainAxisCoord = limitMax;\n        }\n      }\n      if (checkCrossAxis) {\n        var _middlewareData$offse, _middlewareData$offse2;\n        const len = mainAxis === 'y' ? 'width' : 'height';\n        const isOriginSide = originSides.has(getSide(placement));\n        const limitMin = rects.reference[crossAxis] - rects.floating[len] + (isOriginSide ? ((_middlewareData$offse = middlewareData.offset) == null ? void 0 : _middlewareData$offse[crossAxis]) || 0 : 0) + (isOriginSide ? 0 : computedOffset.crossAxis);\n        const limitMax = rects.reference[crossAxis] + rects.reference[len] + (isOriginSide ? 0 : ((_middlewareData$offse2 = middlewareData.offset) == null ? void 0 : _middlewareData$offse2[crossAxis]) || 0) - (isOriginSide ? computedOffset.crossAxis : 0);\n        if (crossAxisCoord < limitMin) {\n          crossAxisCoord = limitMin;\n        } else if (crossAxisCoord > limitMax) {\n          crossAxisCoord = limitMax;\n        }\n      }\n      return {\n        [mainAxis]: mainAxisCoord,\n        [crossAxis]: crossAxisCoord\n      };\n    }\n  };\n};\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = function (options) {\n  if (options === void 0) {\n    options = {};\n  }\n  return {\n    name: 'size',\n    options,\n    async fn(state) {\n      var _state$middlewareData, _state$middlewareData2;\n      const {\n        placement,\n        rects,\n        platform,\n        elements\n      } = state;\n      const {\n        apply = () => {},\n        ...detectOverflowOptions\n      } = evaluate(options, state);\n      const overflow = await detectOverflow(state, detectOverflowOptions);\n      const side = getSide(placement);\n      const alignment = getAlignment(placement);\n      const isYAxis = getSideAxis(placement) === 'y';\n      const {\n        width,\n        height\n      } = rects.floating;\n      let heightSide;\n      let widthSide;\n      if (side === 'top' || side === 'bottom') {\n        heightSide = side;\n        widthSide = alignment === ((await (platform.isRTL == null ? void 0 : platform.isRTL(elements.floating))) ? 'start' : 'end') ? 'left' : 'right';\n      } else {\n        widthSide = side;\n        heightSide = alignment === 'end' ? 'top' : 'bottom';\n      }\n      const maximumClippingHeight = height - overflow.top - overflow.bottom;\n      const maximumClippingWidth = width - overflow.left - overflow.right;\n      const overflowAvailableHeight = min(height - overflow[heightSide], maximumClippingHeight);\n      const overflowAvailableWidth = min(width - overflow[widthSide], maximumClippingWidth);\n      const noShift = !state.middlewareData.shift;\n      let availableHeight = overflowAvailableHeight;\n      let availableWidth = overflowAvailableWidth;\n      if ((_state$middlewareData = state.middlewareData.shift) != null && _state$middlewareData.enabled.x) {\n        availableWidth = maximumClippingWidth;\n      }\n      if ((_state$middlewareData2 = state.middlewareData.shift) != null && _state$middlewareData2.enabled.y) {\n        availableHeight = maximumClippingHeight;\n      }\n      if (noShift && !alignment) {\n        const xMin = max(overflow.left, 0);\n        const xMax = max(overflow.right, 0);\n        const yMin = max(overflow.top, 0);\n        const yMax = max(overflow.bottom, 0);\n        if (isYAxis) {\n          availableWidth = width - 2 * (xMin !== 0 || xMax !== 0 ? xMin + xMax : max(overflow.left, overflow.right));\n        } else {\n          availableHeight = height - 2 * (yMin !== 0 || yMax !== 0 ? yMin + yMax : max(overflow.top, overflow.bottom));\n        }\n      }\n      await apply({\n        ...state,\n        availableWidth,\n        availableHeight\n      });\n      const nextDimensions = await platform.getDimensions(elements.floating);\n      if (width !== nextDimensions.width || height !== nextDimensions.height) {\n        return {\n          reset: {\n            rects: true\n          }\n        };\n      }\n      return {};\n    }\n  };\n};\n\nexport { arrow, autoPlacement, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, shift, size };\n","import { rectToClientRect, arrow as arrow$1, autoPlacement as autoPlacement$1, detectOverflow as detectOverflow$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1, computePosition as computePosition$1 } from '@floating-ui/core';\nimport { round, createCoords, max, min, floor } from '@floating-ui/utils';\nimport { getComputedStyle, isHTMLElement, isElement, getWindow, isWebKit, getFrameElement, getNodeScroll, getDocumentElement, isTopLayer, getNodeName, isOverflowElement, getOverflowAncestors, getParentNode, isLastTraversableNode, isContainingBlock, isTableElement, getContainingBlock } from '@floating-ui/utils/dom';\nexport { getOverflowAncestors } from '@floating-ui/utils/dom';\n\nfunction getCssDimensions(element) {\n  const css = getComputedStyle(element);\n  // In testing environments, the `width` and `height` properties are empty\n  // strings for SVG elements, returning NaN. Fallback to `0` in this case.\n  let width = parseFloat(css.width) || 0;\n  let height = parseFloat(css.height) || 0;\n  const hasOffset = isHTMLElement(element);\n  const offsetWidth = hasOffset ? element.offsetWidth : width;\n  const offsetHeight = hasOffset ? element.offsetHeight : height;\n  const shouldFallback = round(width) !== offsetWidth || round(height) !== offsetHeight;\n  if (shouldFallback) {\n    width = offsetWidth;\n    height = offsetHeight;\n  }\n  return {\n    width,\n    height,\n    $: shouldFallback\n  };\n}\n\nfunction unwrapElement(element) {\n  return !isElement(element) ? element.contextElement : element;\n}\n\nfunction getScale(element) {\n  const domElement = unwrapElement(element);\n  if (!isHTMLElement(domElement)) {\n    return createCoords(1);\n  }\n  const rect = domElement.getBoundingClientRect();\n  const {\n    width,\n    height,\n    $\n  } = getCssDimensions(domElement);\n  let x = ($ ? round(rect.width) : rect.width) / width;\n  let y = ($ ? round(rect.height) : rect.height) / height;\n\n  // 0, NaN, or Infinity should always fallback to 1.\n\n  if (!x || !Number.isFinite(x)) {\n    x = 1;\n  }\n  if (!y || !Number.isFinite(y)) {\n    y = 1;\n  }\n  return {\n    x,\n    y\n  };\n}\n\nconst noOffsets = /*#__PURE__*/createCoords(0);\nfunction getVisualOffsets(element) {\n  const win = getWindow(element);\n  if (!isWebKit() || !win.visualViewport) {\n    return noOffsets;\n  }\n  return {\n    x: win.visualViewport.offsetLeft,\n    y: win.visualViewport.offsetTop\n  };\n}\nfunction shouldAddVisualOffsets(element, isFixed, floatingOffsetParent) {\n  if (isFixed === void 0) {\n    isFixed = false;\n  }\n  if (!floatingOffsetParent || isFixed && floatingOffsetParent !== getWindow(element)) {\n    return false;\n  }\n  return isFixed;\n}\n\nfunction getBoundingClientRect(element, includeScale, isFixedStrategy, offsetParent) {\n  if (includeScale === void 0) {\n    includeScale = false;\n  }\n  if (isFixedStrategy === void 0) {\n    isFixedStrategy = false;\n  }\n  const clientRect = element.getBoundingClientRect();\n  const domElement = unwrapElement(element);\n  let scale = createCoords(1);\n  if (includeScale) {\n    if (offsetParent) {\n      if (isElement(offsetParent)) {\n        scale = getScale(offsetParent);\n      }\n    } else {\n      scale = getScale(element);\n    }\n  }\n  const visualOffsets = shouldAddVisualOffsets(domElement, isFixedStrategy, offsetParent) ? getVisualOffsets(domElement) : createCoords(0);\n  let x = (clientRect.left + visualOffsets.x) / scale.x;\n  let y = (clientRect.top + visualOffsets.y) / scale.y;\n  let width = clientRect.width / scale.x;\n  let height = clientRect.height / scale.y;\n  if (domElement) {\n    const win = getWindow(domElement);\n    const offsetWin = offsetParent && isElement(offsetParent) ? getWindow(offsetParent) : offsetParent;\n    let currentWin = win;\n    let currentIFrame = getFrameElement(currentWin);\n    while (currentIFrame && offsetParent && offsetWin !== currentWin) {\n      const iframeScale = getScale(currentIFrame);\n      const iframeRect = currentIFrame.getBoundingClientRect();\n      const css = getComputedStyle(currentIFrame);\n      const left = iframeRect.left + (currentIFrame.clientLeft + parseFloat(css.paddingLeft)) * iframeScale.x;\n      const top = iframeRect.top + (currentIFrame.clientTop + parseFloat(css.paddingTop)) * iframeScale.y;\n      x *= iframeScale.x;\n      y *= iframeScale.y;\n      width *= iframeScale.x;\n      height *= iframeScale.y;\n      x += left;\n      y += top;\n      currentWin = getWindow(currentIFrame);\n      currentIFrame = getFrameElement(currentWin);\n    }\n  }\n  return rectToClientRect({\n    width,\n    height,\n    x,\n    y\n  });\n}\n\n// If <html> has a CSS width greater than the viewport, then this will be\n// incorrect for RTL.\nfunction getWindowScrollBarX(element, rect) {\n  const leftScroll = getNodeScroll(element).scrollLeft;\n  if (!rect) {\n    return getBoundingClientRect(getDocumentElement(element)).left + leftScroll;\n  }\n  return rect.left + leftScroll;\n}\n\nfunction getHTMLOffset(documentElement, scroll, ignoreScrollbarX) {\n  if (ignoreScrollbarX === void 0) {\n    ignoreScrollbarX = false;\n  }\n  const htmlRect = documentElement.getBoundingClientRect();\n  const x = htmlRect.left + scroll.scrollLeft - (ignoreScrollbarX ? 0 :\n  // RTL <body> scrollbar.\n  getWindowScrollBarX(documentElement, htmlRect));\n  const y = htmlRect.top + scroll.scrollTop;\n  return {\n    x,\n    y\n  };\n}\n\nfunction convertOffsetParentRelativeRectToViewportRelativeRect(_ref) {\n  let {\n    elements,\n    rect,\n    offsetParent,\n    strategy\n  } = _ref;\n  const isFixed = strategy === 'fixed';\n  const documentElement = getDocumentElement(offsetParent);\n  const topLayer = elements ? isTopLayer(elements.floating) : false;\n  if (offsetParent === documentElement || topLayer && isFixed) {\n    return rect;\n  }\n  let scroll = {\n    scrollLeft: 0,\n    scrollTop: 0\n  };\n  let scale = createCoords(1);\n  const offsets = createCoords(0);\n  const isOffsetParentAnElement = isHTMLElement(offsetParent);\n  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n    if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n      scroll = getNodeScroll(offsetParent);\n    }\n    if (isHTMLElement(offsetParent)) {\n      const offsetRect = getBoundingClientRect(offsetParent);\n      scale = getScale(offsetParent);\n      offsets.x = offsetRect.x + offsetParent.clientLeft;\n      offsets.y = offsetRect.y + offsetParent.clientTop;\n    }\n  }\n  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll, true) : createCoords(0);\n  return {\n    width: rect.width * scale.x,\n    height: rect.height * scale.y,\n    x: rect.x * scale.x - scroll.scrollLeft * scale.x + offsets.x + htmlOffset.x,\n    y: rect.y * scale.y - scroll.scrollTop * scale.y + offsets.y + htmlOffset.y\n  };\n}\n\nfunction getClientRects(element) {\n  return Array.from(element.getClientRects());\n}\n\n// Gets the entire size of the scrollable document area, even extending outside\n// of the `<html>` and `<body>` rect bounds if horizontally scrollable.\nfunction getDocumentRect(element) {\n  const html = getDocumentElement(element);\n  const scroll = getNodeScroll(element);\n  const body = element.ownerDocument.body;\n  const width = max(html.scrollWidth, html.clientWidth, body.scrollWidth, body.clientWidth);\n  const height = max(html.scrollHeight, html.clientHeight, body.scrollHeight, body.clientHeight);\n  let x = -scroll.scrollLeft + getWindowScrollBarX(element);\n  const y = -scroll.scrollTop;\n  if (getComputedStyle(body).direction === 'rtl') {\n    x += max(html.clientWidth, body.clientWidth) - width;\n  }\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\n\nfunction getViewportRect(element, strategy) {\n  const win = getWindow(element);\n  const html = getDocumentElement(element);\n  const visualViewport = win.visualViewport;\n  let width = html.clientWidth;\n  let height = html.clientHeight;\n  let x = 0;\n  let y = 0;\n  if (visualViewport) {\n    width = visualViewport.width;\n    height = visualViewport.height;\n    const visualViewportBased = isWebKit();\n    if (!visualViewportBased || visualViewportBased && strategy === 'fixed') {\n      x = visualViewport.offsetLeft;\n      y = visualViewport.offsetTop;\n    }\n  }\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\n\nconst absoluteOrFixed = /*#__PURE__*/new Set(['absolute', 'fixed']);\n// Returns the inner client rect, subtracting scrollbars if present.\nfunction getInnerBoundingClientRect(element, strategy) {\n  const clientRect = getBoundingClientRect(element, true, strategy === 'fixed');\n  const top = clientRect.top + element.clientTop;\n  const left = clientRect.left + element.clientLeft;\n  const scale = isHTMLElement(element) ? getScale(element) : createCoords(1);\n  const width = element.clientWidth * scale.x;\n  const height = element.clientHeight * scale.y;\n  const x = left * scale.x;\n  const y = top * scale.y;\n  return {\n    width,\n    height,\n    x,\n    y\n  };\n}\nfunction getClientRectFromClippingAncestor(element, clippingAncestor, strategy) {\n  let rect;\n  if (clippingAncestor === 'viewport') {\n    rect = getViewportRect(element, strategy);\n  } else if (clippingAncestor === 'document') {\n    rect = getDocumentRect(getDocumentElement(element));\n  } else if (isElement(clippingAncestor)) {\n    rect = getInnerBoundingClientRect(clippingAncestor, strategy);\n  } else {\n    const visualOffsets = getVisualOffsets(element);\n    rect = {\n      x: clippingAncestor.x - visualOffsets.x,\n      y: clippingAncestor.y - visualOffsets.y,\n      width: clippingAncestor.width,\n      height: clippingAncestor.height\n    };\n  }\n  return rectToClientRect(rect);\n}\nfunction hasFixedPositionAncestor(element, stopNode) {\n  const parentNode = getParentNode(element);\n  if (parentNode === stopNode || !isElement(parentNode) || isLastTraversableNode(parentNode)) {\n    return false;\n  }\n  return getComputedStyle(parentNode).position === 'fixed' || hasFixedPositionAncestor(parentNode, stopNode);\n}\n\n// A \"clipping ancestor\" is an `overflow` element with the characteristic of\n// clipping (or hiding) child elements. This returns all clipping ancestors\n// of the given element up the tree.\nfunction getClippingElementAncestors(element, cache) {\n  const cachedResult = cache.get(element);\n  if (cachedResult) {\n    return cachedResult;\n  }\n  let result = getOverflowAncestors(element, [], false).filter(el => isElement(el) && getNodeName(el) !== 'body');\n  let currentContainingBlockComputedStyle = null;\n  const elementIsFixed = getComputedStyle(element).position === 'fixed';\n  let currentNode = elementIsFixed ? getParentNode(element) : element;\n\n  // https://developer.mozilla.org/en-US/docs/Web/CSS/Containing_block#identifying_the_containing_block\n  while (isElement(currentNode) && !isLastTraversableNode(currentNode)) {\n    const computedStyle = getComputedStyle(currentNode);\n    const currentNodeIsContaining = isContainingBlock(currentNode);\n    if (!currentNodeIsContaining && computedStyle.position === 'fixed') {\n      currentContainingBlockComputedStyle = null;\n    }\n    const shouldDropCurrentNode = elementIsFixed ? !currentNodeIsContaining && !currentContainingBlockComputedStyle : !currentNodeIsContaining && computedStyle.position === 'static' && !!currentContainingBlockComputedStyle && absoluteOrFixed.has(currentContainingBlockComputedStyle.position) || isOverflowElement(currentNode) && !currentNodeIsContaining && hasFixedPositionAncestor(element, currentNode);\n    if (shouldDropCurrentNode) {\n      // Drop non-containing blocks.\n      result = result.filter(ancestor => ancestor !== currentNode);\n    } else {\n      // Record last containing block for next iteration.\n      currentContainingBlockComputedStyle = computedStyle;\n    }\n    currentNode = getParentNode(currentNode);\n  }\n  cache.set(element, result);\n  return result;\n}\n\n// Gets the maximum area that the element is visible in due to any number of\n// clipping ancestors.\nfunction getClippingRect(_ref) {\n  let {\n    element,\n    boundary,\n    rootBoundary,\n    strategy\n  } = _ref;\n  const elementClippingAncestors = boundary === 'clippingAncestors' ? isTopLayer(element) ? [] : getClippingElementAncestors(element, this._c) : [].concat(boundary);\n  const clippingAncestors = [...elementClippingAncestors, rootBoundary];\n  const firstClippingAncestor = clippingAncestors[0];\n  const clippingRect = clippingAncestors.reduce((accRect, clippingAncestor) => {\n    const rect = getClientRectFromClippingAncestor(element, clippingAncestor, strategy);\n    accRect.top = max(rect.top, accRect.top);\n    accRect.right = min(rect.right, accRect.right);\n    accRect.bottom = min(rect.bottom, accRect.bottom);\n    accRect.left = max(rect.left, accRect.left);\n    return accRect;\n  }, getClientRectFromClippingAncestor(element, firstClippingAncestor, strategy));\n  return {\n    width: clippingRect.right - clippingRect.left,\n    height: clippingRect.bottom - clippingRect.top,\n    x: clippingRect.left,\n    y: clippingRect.top\n  };\n}\n\nfunction getDimensions(element) {\n  const {\n    width,\n    height\n  } = getCssDimensions(element);\n  return {\n    width,\n    height\n  };\n}\n\nfunction getRectRelativeToOffsetParent(element, offsetParent, strategy) {\n  const isOffsetParentAnElement = isHTMLElement(offsetParent);\n  const documentElement = getDocumentElement(offsetParent);\n  const isFixed = strategy === 'fixed';\n  const rect = getBoundingClientRect(element, true, isFixed, offsetParent);\n  let scroll = {\n    scrollLeft: 0,\n    scrollTop: 0\n  };\n  const offsets = createCoords(0);\n\n  // If the <body> scrollbar appears on the left (e.g. RTL systems). Use\n  // Firefox with layout.scrollbar.side = 3 in about:config to test this.\n  function setLeftRTLScrollbarOffset() {\n    offsets.x = getWindowScrollBarX(documentElement);\n  }\n  if (isOffsetParentAnElement || !isOffsetParentAnElement && !isFixed) {\n    if (getNodeName(offsetParent) !== 'body' || isOverflowElement(documentElement)) {\n      scroll = getNodeScroll(offsetParent);\n    }\n    if (isOffsetParentAnElement) {\n      const offsetRect = getBoundingClientRect(offsetParent, true, isFixed, offsetParent);\n      offsets.x = offsetRect.x + offsetParent.clientLeft;\n      offsets.y = offsetRect.y + offsetParent.clientTop;\n    } else if (documentElement) {\n      setLeftRTLScrollbarOffset();\n    }\n  }\n  if (isFixed && !isOffsetParentAnElement && documentElement) {\n    setLeftRTLScrollbarOffset();\n  }\n  const htmlOffset = documentElement && !isOffsetParentAnElement && !isFixed ? getHTMLOffset(documentElement, scroll) : createCoords(0);\n  const x = rect.left + scroll.scrollLeft - offsets.x - htmlOffset.x;\n  const y = rect.top + scroll.scrollTop - offsets.y - htmlOffset.y;\n  return {\n    x,\n    y,\n    width: rect.width,\n    height: rect.height\n  };\n}\n\nfunction isStaticPositioned(element) {\n  return getComputedStyle(element).position === 'static';\n}\n\nfunction getTrueOffsetParent(element, polyfill) {\n  if (!isHTMLElement(element) || getComputedStyle(element).position === 'fixed') {\n    return null;\n  }\n  if (polyfill) {\n    return polyfill(element);\n  }\n  let rawOffsetParent = element.offsetParent;\n\n  // Firefox returns the <html> element as the offsetParent if it's non-static,\n  // while Chrome and Safari return the <body> element. The <body> element must\n  // be used to perform the correct calculations even if the <html> element is\n  // non-static.\n  if (getDocumentElement(element) === rawOffsetParent) {\n    rawOffsetParent = rawOffsetParent.ownerDocument.body;\n  }\n  return rawOffsetParent;\n}\n\n// Gets the closest ancestor positioned element. Handles some edge cases,\n// such as table ancestors and cross browser bugs.\nfunction getOffsetParent(element, polyfill) {\n  const win = getWindow(element);\n  if (isTopLayer(element)) {\n    return win;\n  }\n  if (!isHTMLElement(element)) {\n    let svgOffsetParent = getParentNode(element);\n    while (svgOffsetParent && !isLastTraversableNode(svgOffsetParent)) {\n      if (isElement(svgOffsetParent) && !isStaticPositioned(svgOffsetParent)) {\n        return svgOffsetParent;\n      }\n      svgOffsetParent = getParentNode(svgOffsetParent);\n    }\n    return win;\n  }\n  let offsetParent = getTrueOffsetParent(element, polyfill);\n  while (offsetParent && isTableElement(offsetParent) && isStaticPositioned(offsetParent)) {\n    offsetParent = getTrueOffsetParent(offsetParent, polyfill);\n  }\n  if (offsetParent && isLastTraversableNode(offsetParent) && isStaticPositioned(offsetParent) && !isContainingBlock(offsetParent)) {\n    return win;\n  }\n  return offsetParent || getContainingBlock(element) || win;\n}\n\nconst getElementRects = async function (data) {\n  const getOffsetParentFn = this.getOffsetParent || getOffsetParent;\n  const getDimensionsFn = this.getDimensions;\n  const floatingDimensions = await getDimensionsFn(data.floating);\n  return {\n    reference: getRectRelativeToOffsetParent(data.reference, await getOffsetParentFn(data.floating), data.strategy),\n    floating: {\n      x: 0,\n      y: 0,\n      width: floatingDimensions.width,\n      height: floatingDimensions.height\n    }\n  };\n};\n\nfunction isRTL(element) {\n  return getComputedStyle(element).direction === 'rtl';\n}\n\nconst platform = {\n  convertOffsetParentRelativeRectToViewportRelativeRect,\n  getDocumentElement,\n  getClippingRect,\n  getOffsetParent,\n  getElementRects,\n  getClientRects,\n  getDimensions,\n  getScale,\n  isElement,\n  isRTL\n};\n\nfunction rectsAreEqual(a, b) {\n  return a.x === b.x && a.y === b.y && a.width === b.width && a.height === b.height;\n}\n\n// https://samthor.au/2021/observing-dom/\nfunction observeMove(element, onMove) {\n  let io = null;\n  let timeoutId;\n  const root = getDocumentElement(element);\n  function cleanup() {\n    var _io;\n    clearTimeout(timeoutId);\n    (_io = io) == null || _io.disconnect();\n    io = null;\n  }\n  function refresh(skip, threshold) {\n    if (skip === void 0) {\n      skip = false;\n    }\n    if (threshold === void 0) {\n      threshold = 1;\n    }\n    cleanup();\n    const elementRectForRootMargin = element.getBoundingClientRect();\n    const {\n      left,\n      top,\n      width,\n      height\n    } = elementRectForRootMargin;\n    if (!skip) {\n      onMove();\n    }\n    if (!width || !height) {\n      return;\n    }\n    const insetTop = floor(top);\n    const insetRight = floor(root.clientWidth - (left + width));\n    const insetBottom = floor(root.clientHeight - (top + height));\n    const insetLeft = floor(left);\n    const rootMargin = -insetTop + \"px \" + -insetRight + \"px \" + -insetBottom + \"px \" + -insetLeft + \"px\";\n    const options = {\n      rootMargin,\n      threshold: max(0, min(1, threshold)) || 1\n    };\n    let isFirstUpdate = true;\n    function handleObserve(entries) {\n      const ratio = entries[0].intersectionRatio;\n      if (ratio !== threshold) {\n        if (!isFirstUpdate) {\n          return refresh();\n        }\n        if (!ratio) {\n          // If the reference is clipped, the ratio is 0. Throttle the refresh\n          // to prevent an infinite loop of updates.\n          timeoutId = setTimeout(() => {\n            refresh(false, 1e-7);\n          }, 1000);\n        } else {\n          refresh(false, ratio);\n        }\n      }\n      if (ratio === 1 && !rectsAreEqual(elementRectForRootMargin, element.getBoundingClientRect())) {\n        // It's possible that even though the ratio is reported as 1, the\n        // element is not actually fully within the IntersectionObserver's root\n        // area anymore. This can happen under performance constraints. This may\n        // be a bug in the browser's IntersectionObserver implementation. To\n        // work around this, we compare the element's bounding rect now with\n        // what it was at the time we created the IntersectionObserver. If they\n        // are not equal then the element moved, so we refresh.\n        refresh();\n      }\n      isFirstUpdate = false;\n    }\n\n    // Older browsers don't support a `document` as the root and will throw an\n    // error.\n    try {\n      io = new IntersectionObserver(handleObserve, {\n        ...options,\n        // Handle <iframe>s\n        root: root.ownerDocument\n      });\n    } catch (_e) {\n      io = new IntersectionObserver(handleObserve, options);\n    }\n    io.observe(element);\n  }\n  refresh(true);\n  return cleanup;\n}\n\n/**\n * Automatically updates the position of the floating element when necessary.\n * Should only be called when the floating element is mounted on the DOM or\n * visible on the screen.\n * @returns cleanup function that should be invoked when the floating element is\n * removed from the DOM or hidden from the screen.\n * @see https://floating-ui.com/docs/autoUpdate\n */\nfunction autoUpdate(reference, floating, update, options) {\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    ancestorScroll = true,\n    ancestorResize = true,\n    elementResize = typeof ResizeObserver === 'function',\n    layoutShift = typeof IntersectionObserver === 'function',\n    animationFrame = false\n  } = options;\n  const referenceEl = unwrapElement(reference);\n  const ancestors = ancestorScroll || ancestorResize ? [...(referenceEl ? getOverflowAncestors(referenceEl) : []), ...getOverflowAncestors(floating)] : [];\n  ancestors.forEach(ancestor => {\n    ancestorScroll && ancestor.addEventListener('scroll', update, {\n      passive: true\n    });\n    ancestorResize && ancestor.addEventListener('resize', update);\n  });\n  const cleanupIo = referenceEl && layoutShift ? observeMove(referenceEl, update) : null;\n  let reobserveFrame = -1;\n  let resizeObserver = null;\n  if (elementResize) {\n    resizeObserver = new ResizeObserver(_ref => {\n      let [firstEntry] = _ref;\n      if (firstEntry && firstEntry.target === referenceEl && resizeObserver) {\n        // Prevent update loops when using the `size` middleware.\n        // https://github.com/floating-ui/floating-ui/issues/1740\n        resizeObserver.unobserve(floating);\n        cancelAnimationFrame(reobserveFrame);\n        reobserveFrame = requestAnimationFrame(() => {\n          var _resizeObserver;\n          (_resizeObserver = resizeObserver) == null || _resizeObserver.observe(floating);\n        });\n      }\n      update();\n    });\n    if (referenceEl && !animationFrame) {\n      resizeObserver.observe(referenceEl);\n    }\n    resizeObserver.observe(floating);\n  }\n  let frameId;\n  let prevRefRect = animationFrame ? getBoundingClientRect(reference) : null;\n  if (animationFrame) {\n    frameLoop();\n  }\n  function frameLoop() {\n    const nextRefRect = getBoundingClientRect(reference);\n    if (prevRefRect && !rectsAreEqual(prevRefRect, nextRefRect)) {\n      update();\n    }\n    prevRefRect = nextRefRect;\n    frameId = requestAnimationFrame(frameLoop);\n  }\n  update();\n  return () => {\n    var _resizeObserver2;\n    ancestors.forEach(ancestor => {\n      ancestorScroll && ancestor.removeEventListener('scroll', update);\n      ancestorResize && ancestor.removeEventListener('resize', update);\n    });\n    cleanupIo == null || cleanupIo();\n    (_resizeObserver2 = resizeObserver) == null || _resizeObserver2.disconnect();\n    resizeObserver = null;\n    if (animationFrame) {\n      cancelAnimationFrame(frameId);\n    }\n  };\n}\n\n/**\n * Resolves with an object of overflow side offsets that determine how much the\n * element is overflowing a given clipping boundary on each side.\n * - positive = overflowing the boundary by that number of pixels\n * - negative = how many pixels left before it will overflow\n * - 0 = lies flush with the boundary\n * @see https://floating-ui.com/docs/detectOverflow\n */\nconst detectOverflow = detectOverflow$1;\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = offset$1;\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = autoPlacement$1;\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = shift$1;\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = flip$1;\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = size$1;\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = hide$1;\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = arrow$1;\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = inline$1;\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = limitShift$1;\n\n/**\n * Computes the `x` and `y` coordinates that will place the floating element\n * next to a given reference element.\n */\nconst computePosition = (reference, floating, options) => {\n  // This caches the expensive `getClippingElementAncestors` function so that\n  // multiple lifecycle resets re-use the same result. It only lives for a\n  // single call. If other functions become expensive, we can add them as well.\n  const cache = new Map();\n  const mergedOptions = {\n    platform,\n    ...options\n  };\n  const platformWithCache = {\n    ...mergedOptions.platform,\n    _c: cache\n  };\n  return computePosition$1(reference, floating, {\n    ...mergedOptions,\n    platform: platformWithCache\n  });\n};\n\nexport { arrow, autoPlacement, autoUpdate, computePosition, detectOverflow, flip, hide, inline, limitShift, offset, platform, shift, size };\n","import { computePosition, arrow as arrow$2, autoPlacement as autoPlacement$1, flip as flip$1, hide as hide$1, inline as inline$1, limitShift as limitShift$1, offset as offset$1, shift as shift$1, size as size$1 } from '@floating-ui/dom';\nexport { autoUpdate, computePosition, detectOverflow, getOverflowAncestors, platform } from '@floating-ui/dom';\nimport * as React from 'react';\nimport { useLayoutEffect } from 'react';\nimport * as ReactDOM from 'react-dom';\n\nvar isClient = typeof document !== 'undefined';\n\nvar noop = function noop() {};\nvar index = isClient ? useLayoutEffect : noop;\n\n// Fork of `fast-deep-equal` that only does the comparisons we need and compares\n// functions\nfunction deepEqual(a, b) {\n  if (a === b) {\n    return true;\n  }\n  if (typeof a !== typeof b) {\n    return false;\n  }\n  if (typeof a === 'function' && a.toString() === b.toString()) {\n    return true;\n  }\n  let length;\n  let i;\n  let keys;\n  if (a && b && typeof a === 'object') {\n    if (Array.isArray(a)) {\n      length = a.length;\n      if (length !== b.length) return false;\n      for (i = length; i-- !== 0;) {\n        if (!deepEqual(a[i], b[i])) {\n          return false;\n        }\n      }\n      return true;\n    }\n    keys = Object.keys(a);\n    length = keys.length;\n    if (length !== Object.keys(b).length) {\n      return false;\n    }\n    for (i = length; i-- !== 0;) {\n      if (!{}.hasOwnProperty.call(b, keys[i])) {\n        return false;\n      }\n    }\n    for (i = length; i-- !== 0;) {\n      const key = keys[i];\n      if (key === '_owner' && a.$$typeof) {\n        continue;\n      }\n      if (!deepEqual(a[key], b[key])) {\n        return false;\n      }\n    }\n    return true;\n  }\n  return a !== a && b !== b;\n}\n\nfunction getDPR(element) {\n  if (typeof window === 'undefined') {\n    return 1;\n  }\n  const win = element.ownerDocument.defaultView || window;\n  return win.devicePixelRatio || 1;\n}\n\nfunction roundByDPR(element, value) {\n  const dpr = getDPR(element);\n  return Math.round(value * dpr) / dpr;\n}\n\nfunction useLatestRef(value) {\n  const ref = React.useRef(value);\n  index(() => {\n    ref.current = value;\n  });\n  return ref;\n}\n\n/**\n * Provides data to position a floating element.\n * @see https://floating-ui.com/docs/useFloating\n */\nfunction useFloating(options) {\n  if (options === void 0) {\n    options = {};\n  }\n  const {\n    placement = 'bottom',\n    strategy = 'absolute',\n    middleware = [],\n    platform,\n    elements: {\n      reference: externalReference,\n      floating: externalFloating\n    } = {},\n    transform = true,\n    whileElementsMounted,\n    open\n  } = options;\n  const [data, setData] = React.useState({\n    x: 0,\n    y: 0,\n    strategy,\n    placement,\n    middlewareData: {},\n    isPositioned: false\n  });\n  const [latestMiddleware, setLatestMiddleware] = React.useState(middleware);\n  if (!deepEqual(latestMiddleware, middleware)) {\n    setLatestMiddleware(middleware);\n  }\n  const [_reference, _setReference] = React.useState(null);\n  const [_floating, _setFloating] = React.useState(null);\n  const setReference = React.useCallback(node => {\n    if (node !== referenceRef.current) {\n      referenceRef.current = node;\n      _setReference(node);\n    }\n  }, []);\n  const setFloating = React.useCallback(node => {\n    if (node !== floatingRef.current) {\n      floatingRef.current = node;\n      _setFloating(node);\n    }\n  }, []);\n  const referenceEl = externalReference || _reference;\n  const floatingEl = externalFloating || _floating;\n  const referenceRef = React.useRef(null);\n  const floatingRef = React.useRef(null);\n  const dataRef = React.useRef(data);\n  const hasWhileElementsMounted = whileElementsMounted != null;\n  const whileElementsMountedRef = useLatestRef(whileElementsMounted);\n  const platformRef = useLatestRef(platform);\n  const openRef = useLatestRef(open);\n  const update = React.useCallback(() => {\n    if (!referenceRef.current || !floatingRef.current) {\n      return;\n    }\n    const config = {\n      placement,\n      strategy,\n      middleware: latestMiddleware\n    };\n    if (platformRef.current) {\n      config.platform = platformRef.current;\n    }\n    computePosition(referenceRef.current, floatingRef.current, config).then(data => {\n      const fullData = {\n        ...data,\n        // The floating element's position may be recomputed while it's closed\n        // but still mounted (such as when transitioning out). To ensure\n        // `isPositioned` will be `false` initially on the next open, avoid\n        // setting it to `true` when `open === false` (must be specified).\n        isPositioned: openRef.current !== false\n      };\n      if (isMountedRef.current && !deepEqual(dataRef.current, fullData)) {\n        dataRef.current = fullData;\n        ReactDOM.flushSync(() => {\n          setData(fullData);\n        });\n      }\n    });\n  }, [latestMiddleware, placement, strategy, platformRef, openRef]);\n  index(() => {\n    if (open === false && dataRef.current.isPositioned) {\n      dataRef.current.isPositioned = false;\n      setData(data => ({\n        ...data,\n        isPositioned: false\n      }));\n    }\n  }, [open]);\n  const isMountedRef = React.useRef(false);\n  index(() => {\n    isMountedRef.current = true;\n    return () => {\n      isMountedRef.current = false;\n    };\n  }, []);\n  index(() => {\n    if (referenceEl) referenceRef.current = referenceEl;\n    if (floatingEl) floatingRef.current = floatingEl;\n    if (referenceEl && floatingEl) {\n      if (whileElementsMountedRef.current) {\n        return whileElementsMountedRef.current(referenceEl, floatingEl, update);\n      }\n      update();\n    }\n  }, [referenceEl, floatingEl, update, whileElementsMountedRef, hasWhileElementsMounted]);\n  const refs = React.useMemo(() => ({\n    reference: referenceRef,\n    floating: floatingRef,\n    setReference,\n    setFloating\n  }), [setReference, setFloating]);\n  const elements = React.useMemo(() => ({\n    reference: referenceEl,\n    floating: floatingEl\n  }), [referenceEl, floatingEl]);\n  const floatingStyles = React.useMemo(() => {\n    const initialStyles = {\n      position: strategy,\n      left: 0,\n      top: 0\n    };\n    if (!elements.floating) {\n      return initialStyles;\n    }\n    const x = roundByDPR(elements.floating, data.x);\n    const y = roundByDPR(elements.floating, data.y);\n    if (transform) {\n      return {\n        ...initialStyles,\n        transform: \"translate(\" + x + \"px, \" + y + \"px)\",\n        ...(getDPR(elements.floating) >= 1.5 && {\n          willChange: 'transform'\n        })\n      };\n    }\n    return {\n      position: strategy,\n      left: x,\n      top: y\n    };\n  }, [strategy, transform, elements.floating, data.x, data.y]);\n  return React.useMemo(() => ({\n    ...data,\n    update,\n    refs,\n    elements,\n    floatingStyles\n  }), [data, update, refs, elements, floatingStyles]);\n}\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow$1 = options => {\n  function isRef(value) {\n    return {}.hasOwnProperty.call(value, 'current');\n  }\n  return {\n    name: 'arrow',\n    options,\n    fn(state) {\n      const {\n        element,\n        padding\n      } = typeof options === 'function' ? options(state) : options;\n      if (element && isRef(element)) {\n        if (element.current != null) {\n          return arrow$2({\n            element: element.current,\n            padding\n          }).fn(state);\n        }\n        return {};\n      }\n      if (element) {\n        return arrow$2({\n          element,\n          padding\n        }).fn(state);\n      }\n      return {};\n    }\n  };\n};\n\n/**\n * Modifies the placement by translating the floating element along the\n * specified axes.\n * A number (shorthand for `mainAxis` or distance), or an axes configuration\n * object may be passed.\n * @see https://floating-ui.com/docs/offset\n */\nconst offset = (options, deps) => ({\n  ...offset$1(options),\n  options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by shifting it in order to\n * keep it in view when it will overflow the clipping boundary.\n * @see https://floating-ui.com/docs/shift\n */\nconst shift = (options, deps) => ({\n  ...shift$1(options),\n  options: [options, deps]\n});\n\n/**\n * Built-in `limiter` that will stop `shift()` at a certain point.\n */\nconst limitShift = (options, deps) => ({\n  ...limitShift$1(options),\n  options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by flipping the `placement`\n * in order to keep it in view when the preferred placement(s) will overflow the\n * clipping boundary. Alternative to `autoPlacement`.\n * @see https://floating-ui.com/docs/flip\n */\nconst flip = (options, deps) => ({\n  ...flip$1(options),\n  options: [options, deps]\n});\n\n/**\n * Provides data that allows you to change the size of the floating element —\n * for instance, prevent it from overflowing the clipping boundary or match the\n * width of the reference element.\n * @see https://floating-ui.com/docs/size\n */\nconst size = (options, deps) => ({\n  ...size$1(options),\n  options: [options, deps]\n});\n\n/**\n * Optimizes the visibility of the floating element by choosing the placement\n * that has the most space available automatically, without needing to specify a\n * preferred placement. Alternative to `flip`.\n * @see https://floating-ui.com/docs/autoPlacement\n */\nconst autoPlacement = (options, deps) => ({\n  ...autoPlacement$1(options),\n  options: [options, deps]\n});\n\n/**\n * Provides data to hide the floating element in applicable situations, such as\n * when it is not in the same clipping context as the reference element.\n * @see https://floating-ui.com/docs/hide\n */\nconst hide = (options, deps) => ({\n  ...hide$1(options),\n  options: [options, deps]\n});\n\n/**\n * Provides improved positioning for inline reference elements that can span\n * over multiple lines, such as hyperlinks or range selections.\n * @see https://floating-ui.com/docs/inline\n */\nconst inline = (options, deps) => ({\n  ...inline$1(options),\n  options: [options, deps]\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nconst arrow = (options, deps) => ({\n  ...arrow$1(options),\n  options: [options, deps]\n});\n\nexport { arrow, autoPlacement, flip, hide, inline, limitShift, offset, shift, size, useFloating };\n","'use client';\n\nimport * as React from 'react';\nimport { getSide, getAlignment, getSideAxis } from '@floating-ui/utils';\nimport { ownerDocument } from '@base-ui-components/utils/owner';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { autoUpdate, flip, limitShift, offset, shift, useFloating, size, hide } from \"../floating-ui-react/index.js\";\nimport { useDirection } from \"../direction-provider/DirectionContext.js\";\nimport { arrow } from \"../floating-ui-react/middleware/arrow.js\";\nfunction getLogicalSide(sideParam, renderedSide, isRtl) {\n  const isLogicalSideParam = sideParam === 'inline-start' || sideParam === 'inline-end';\n  const logicalRight = isRtl ? 'inline-start' : 'inline-end';\n  const logicalLeft = isRtl ? 'inline-end' : 'inline-start';\n  return {\n    top: 'top',\n    right: isLogicalSideParam ? logicalRight : 'right',\n    bottom: 'bottom',\n    left: isLogicalSideParam ? logicalLeft : 'left'\n  }[renderedSide];\n}\nfunction getOffsetData(state, sideParam, isRtl) {\n  const {\n    rects,\n    placement\n  } = state;\n  const data = {\n    side: getLogicalSide(sideParam, getSide(placement), isRtl),\n    align: getAlignment(placement) || 'center',\n    anchor: {\n      width: rects.reference.width,\n      height: rects.reference.height\n    },\n    positioner: {\n      width: rects.floating.width,\n      height: rects.floating.height\n    }\n  };\n  return data;\n}\n/**\n * Provides standardized anchor positioning behavior for floating elements. Wraps Floating UI's\n * `useFloating` hook.\n */\nexport function useAnchorPositioning(params) {\n  const {\n    // Public parameters\n    anchor,\n    positionMethod = 'absolute',\n    side: sideParam = 'bottom',\n    sideOffset = 0,\n    align = 'center',\n    alignOffset = 0,\n    collisionBoundary,\n    collisionPadding = 5,\n    sticky = false,\n    arrowPadding = 5,\n    trackAnchor = true,\n    // Private parameters\n    keepMounted = false,\n    floatingRootContext,\n    mounted,\n    collisionAvoidance,\n    shiftCrossAxis = false,\n    nodeId,\n    adaptiveOrigin\n  } = params;\n  const collisionAvoidanceSide = collisionAvoidance.side || 'flip';\n  const collisionAvoidanceAlign = collisionAvoidance.align || 'flip';\n  const collisionAvoidanceFallbackAxisSide = collisionAvoidance.fallbackAxisSide || 'end';\n  const anchorFn = typeof anchor === 'function' ? anchor : undefined;\n  const anchorFnCallback = useEventCallback(anchorFn);\n  const anchorDep = anchorFn ? anchorFnCallback : anchor;\n  const anchorValueRef = useLatestRef(anchor);\n  const direction = useDirection();\n  const isRtl = direction === 'rtl';\n  const side = {\n    top: 'top',\n    right: 'right',\n    bottom: 'bottom',\n    left: 'left',\n    'inline-end': isRtl ? 'left' : 'right',\n    'inline-start': isRtl ? 'right' : 'left'\n  }[sideParam];\n  const placement = align === 'center' ? side : `${side}-${align}`;\n  const commonCollisionProps = {\n    boundary: collisionBoundary === 'clipping-ancestors' ? 'clippingAncestors' : collisionBoundary,\n    padding: collisionPadding\n  };\n\n  // Using a ref assumes that the arrow element is always present in the DOM for the lifetime of the\n  // popup. If this assumption ends up being false, we can switch to state to manage the arrow's\n  // presence.\n  const arrowRef = React.useRef(null);\n\n  // Keep these reactive if they're not functions\n  const sideOffsetRef = useLatestRef(sideOffset);\n  const alignOffsetRef = useLatestRef(alignOffset);\n  const sideOffsetDep = typeof sideOffset !== 'function' ? sideOffset : 0;\n  const alignOffsetDep = typeof alignOffset !== 'function' ? alignOffset : 0;\n  const middleware = [offset(state => {\n    const data = getOffsetData(state, sideParam, isRtl);\n    const sideAxis = typeof sideOffsetRef.current === 'function' ? sideOffsetRef.current(data) : sideOffsetRef.current;\n    const alignAxis = typeof alignOffsetRef.current === 'function' ? alignOffsetRef.current(data) : alignOffsetRef.current;\n    return {\n      mainAxis: sideAxis,\n      crossAxis: alignAxis,\n      alignmentAxis: alignAxis\n    };\n  }, [sideOffsetDep, alignOffsetDep, isRtl, sideParam])];\n  const shiftDisabled = collisionAvoidanceAlign === 'none' && collisionAvoidanceSide !== 'shift';\n  const crossAxisShiftEnabled = !shiftDisabled && (sticky || shiftCrossAxis || collisionAvoidanceSide === 'shift');\n  const flipMiddleware = collisionAvoidanceSide === 'none' ? null : flip({\n    ...commonCollisionProps,\n    mainAxis: !shiftCrossAxis && collisionAvoidanceSide === 'flip',\n    crossAxis: collisionAvoidanceAlign === 'flip' ? 'alignment' : false,\n    fallbackAxisSideDirection: collisionAvoidanceFallbackAxisSide\n  });\n  const shiftMiddleware = shiftDisabled ? null : shift(data => {\n    const html = ownerDocument(data.elements.floating).documentElement;\n    return {\n      ...commonCollisionProps,\n      // Use the Layout Viewport to avoid shifting around when pinch-zooming\n      // for context menus.\n      rootBoundary: shiftCrossAxis ? {\n        x: 0,\n        y: 0,\n        width: html.clientWidth,\n        height: html.clientHeight\n      } : undefined,\n      mainAxis: collisionAvoidanceAlign !== 'none',\n      crossAxis: crossAxisShiftEnabled,\n      limiter: sticky || shiftCrossAxis ? undefined : limitShift(() => {\n        if (!arrowRef.current) {\n          return {};\n        }\n        const {\n          height\n        } = arrowRef.current.getBoundingClientRect();\n        return {\n          offset: height / 2 + (typeof collisionPadding === 'number' ? collisionPadding : 0)\n        };\n      })\n    };\n  }, [commonCollisionProps, sticky, shiftCrossAxis, collisionPadding, collisionAvoidanceAlign]);\n\n  // https://floating-ui.com/docs/flip#combining-with-shift\n  if (collisionAvoidanceSide === 'shift' || collisionAvoidanceAlign === 'shift' || align === 'center') {\n    middleware.push(shiftMiddleware, flipMiddleware);\n  } else {\n    middleware.push(flipMiddleware, shiftMiddleware);\n  }\n  middleware.push(size({\n    ...commonCollisionProps,\n    apply({\n      elements: {\n        floating\n      },\n      rects: {\n        reference\n      },\n      availableWidth,\n      availableHeight\n    }) {\n      Object.entries({\n        '--available-width': `${availableWidth}px`,\n        '--available-height': `${availableHeight}px`,\n        '--anchor-width': `${reference.width}px`,\n        '--anchor-height': `${reference.height}px`\n      }).forEach(([key, value]) => {\n        floating.style.setProperty(key, value);\n      });\n    }\n  }), arrow(() => ({\n    // `transform-origin` calculations rely on an element existing. If the arrow hasn't been set,\n    // we'll create a fake element.\n    element: arrowRef.current || document.createElement('div'),\n    padding: arrowPadding,\n    offsetParent: 'floating'\n  }), [arrowPadding]), hide(), {\n    name: 'transformOrigin',\n    fn(state) {\n      const {\n        elements,\n        middlewareData,\n        placement: renderedPlacement,\n        rects,\n        y\n      } = state;\n      const currentRenderedSide = getSide(renderedPlacement);\n      const currentRenderedAxis = getSideAxis(currentRenderedSide);\n      const arrowEl = arrowRef.current;\n      const arrowX = middlewareData.arrow?.x || 0;\n      const arrowY = middlewareData.arrow?.y || 0;\n      const arrowWidth = arrowEl?.clientWidth || 0;\n      const arrowHeight = arrowEl?.clientHeight || 0;\n      const transformX = arrowX + arrowWidth / 2;\n      const transformY = arrowY + arrowHeight / 2;\n      const shiftY = Math.abs(middlewareData.shift?.y || 0);\n      const halfAnchorHeight = rects.reference.height / 2;\n      const isOverlappingAnchor = shiftY > (typeof sideOffset === 'function' ? sideOffset(getOffsetData(state, sideParam, isRtl)) : sideOffset);\n      const adjacentTransformOrigin = {\n        top: `${transformX}px calc(100% + ${sideOffset}px)`,\n        bottom: `${transformX}px ${-sideOffset}px`,\n        left: `calc(100% + ${sideOffset}px) ${transformY}px`,\n        right: `${-sideOffset}px ${transformY}px`\n      }[currentRenderedSide];\n      const overlapTransformOrigin = `${transformX}px ${rects.reference.y + halfAnchorHeight - y}px`;\n      elements.floating.style.setProperty('--transform-origin', crossAxisShiftEnabled && currentRenderedAxis === 'y' && isOverlappingAnchor ? overlapTransformOrigin : adjacentTransformOrigin);\n      return {};\n    }\n  }, adaptiveOrigin);\n\n  // Ensure positioning doesn't run initially for `keepMounted` elements that\n  // aren't initially open.\n  let rootContext = floatingRootContext;\n  if (!mounted && floatingRootContext) {\n    rootContext = {\n      ...floatingRootContext,\n      elements: {\n        reference: null,\n        floating: null,\n        domReference: null\n      }\n    };\n  }\n  const autoUpdateOptions = React.useMemo(() => ({\n    elementResize: trackAnchor && typeof ResizeObserver !== 'undefined',\n    layoutShift: trackAnchor && typeof IntersectionObserver !== 'undefined'\n  }), [trackAnchor]);\n  const {\n    refs,\n    elements,\n    x,\n    y,\n    middlewareData,\n    update,\n    placement: renderedPlacement,\n    context,\n    isPositioned,\n    floatingStyles: originalFloatingStyles\n  } = useFloating({\n    rootContext,\n    placement,\n    middleware,\n    strategy: positionMethod,\n    whileElementsMounted: keepMounted ? undefined : (...args) => autoUpdate(...args, autoUpdateOptions),\n    nodeId\n  });\n  const {\n    sideX,\n    sideY\n  } = middlewareData.adaptiveOrigin || {};\n  const floatingStyles = React.useMemo(() => adaptiveOrigin ? {\n    position: positionMethod,\n    [sideX]: `${x}px`,\n    [sideY]: `${y}px`\n  } : originalFloatingStyles, [adaptiveOrigin, sideX, sideY, positionMethod, x, y, originalFloatingStyles]);\n  const registeredPositionReferenceRef = React.useRef(null);\n  useIsoLayoutEffect(() => {\n    if (!mounted) {\n      return;\n    }\n    const anchorValue = anchorValueRef.current;\n    const resolvedAnchor = typeof anchorValue === 'function' ? anchorValue() : anchorValue;\n    const unwrappedElement = (isRef(resolvedAnchor) ? resolvedAnchor.current : resolvedAnchor) || null;\n    const finalAnchor = unwrappedElement || null;\n    if (finalAnchor !== registeredPositionReferenceRef.current) {\n      refs.setPositionReference(finalAnchor);\n      registeredPositionReferenceRef.current = finalAnchor;\n    }\n  }, [mounted, refs, anchorDep, anchorValueRef]);\n  React.useEffect(() => {\n    if (!mounted) {\n      return;\n    }\n    const anchorValue = anchorValueRef.current;\n\n    // Refs from parent components are set after useLayoutEffect runs and are available in useEffect.\n    // Therefore, if the anchor is a ref, we need to update the position reference in useEffect.\n    if (typeof anchorValue === 'function') {\n      return;\n    }\n    if (isRef(anchorValue) && anchorValue.current !== registeredPositionReferenceRef.current) {\n      refs.setPositionReference(anchorValue.current);\n      registeredPositionReferenceRef.current = anchorValue.current;\n    }\n  }, [mounted, refs, anchorDep, anchorValueRef]);\n  React.useEffect(() => {\n    if (keepMounted && mounted && elements.domReference && elements.floating) {\n      return autoUpdate(elements.domReference, elements.floating, update, autoUpdateOptions);\n    }\n    return undefined;\n  }, [keepMounted, mounted, elements, update, autoUpdateOptions]);\n  const renderedSide = getSide(renderedPlacement);\n  const logicalRenderedSide = getLogicalSide(sideParam, renderedSide, isRtl);\n  const renderedAlign = getAlignment(renderedPlacement) || 'center';\n  const anchorHidden = Boolean(middlewareData.hide?.referenceHidden);\n  const arrowStyles = React.useMemo(() => ({\n    position: 'absolute',\n    top: middlewareData.arrow?.y,\n    left: middlewareData.arrow?.x\n  }), [middlewareData.arrow]);\n  const arrowUncentered = middlewareData.arrow?.centerOffset !== 0;\n  return React.useMemo(() => ({\n    positionerStyles: floatingStyles,\n    arrowStyles,\n    arrowRef,\n    arrowUncentered,\n    side: logicalRenderedSide,\n    align: renderedAlign,\n    anchorHidden,\n    refs,\n    context,\n    isPositioned,\n    update\n  }), [floatingStyles, arrowStyles, arrowRef, arrowUncentered, logicalRenderedSide, renderedAlign, anchorHidden, refs, context, isPositioned, update]);\n}\nfunction isRef(param) {\n  return param != null && 'current' in param;\n}","import { clamp, evaluate, getAlignment, getAlignmentAxis, getAxisLength, getPaddingObject } from '@floating-ui/utils';\n/**\n * Fork of the original `arrow` middleware from Floating UI that allows\n * configuring the offset parent.\n */\nexport const baseArrow = options => ({\n  name: 'arrow',\n  options,\n  async fn(state) {\n    const {\n      x,\n      y,\n      placement,\n      rects,\n      platform,\n      elements,\n      middlewareData\n    } = state;\n    // Since `element` is required, we don't Partial<> the type.\n    const {\n      element,\n      padding = 0,\n      offsetParent = 'real'\n    } = evaluate(options, state) || {};\n    if (element == null) {\n      return {};\n    }\n    const paddingObject = getPaddingObject(padding);\n    const coords = {\n      x,\n      y\n    };\n    const axis = getAlignmentAxis(placement);\n    const length = getAxisLength(axis);\n    const arrowDimensions = await platform.getDimensions(element);\n    const isYAxis = axis === 'y';\n    const minProp = isYAxis ? 'top' : 'left';\n    const maxProp = isYAxis ? 'bottom' : 'right';\n    const clientProp = isYAxis ? 'clientHeight' : 'clientWidth';\n    const endDiff = rects.reference[length] + rects.reference[axis] - coords[axis] - rects.floating[length];\n    const startDiff = coords[axis] - rects.reference[axis];\n    const arrowOffsetParent = offsetParent === 'real' ? await platform.getOffsetParent?.(element) : elements.floating;\n    let clientSize = elements.floating[clientProp] || rects.floating[length];\n\n    // DOM platform can return `window` as the `offsetParent`.\n    if (!clientSize || !(await platform.isElement?.(arrowOffsetParent))) {\n      clientSize = elements.floating[clientProp] || rects.floating[length];\n    }\n    const centerToReference = endDiff / 2 - startDiff / 2;\n\n    // If the padding is large enough that it causes the arrow to no longer be\n    // centered, modify the padding so that it is centered.\n    const largestPossiblePadding = clientSize / 2 - arrowDimensions[length] / 2 - 1;\n    const minPadding = Math.min(paddingObject[minProp], largestPossiblePadding);\n    const maxPadding = Math.min(paddingObject[maxProp], largestPossiblePadding);\n\n    // Make sure the arrow doesn't overflow the floating element if the center\n    // point is outside the floating element's bounds.\n    const min = minPadding;\n    const max = clientSize - arrowDimensions[length] - maxPadding;\n    const center = clientSize / 2 - arrowDimensions[length] / 2 + centerToReference;\n    const offset = clamp(min, center, max);\n\n    // If the reference is small enough that the arrow's padding causes it to\n    // to point to nothing for an aligned placement, adjust the offset of the\n    // floating element itself. To ensure `shift()` continues to take action,\n    // a single reset is performed when this is true.\n    const shouldAddOffset = !middlewareData.arrow && getAlignment(placement) != null && center !== offset && rects.reference[length] / 2 - (center < min ? minPadding : maxPadding) - arrowDimensions[length] / 2 < 0;\n    // eslint-disable-next-line no-nested-ternary\n    const alignmentOffset = shouldAddOffset ? center < min ? center - min : center - max : 0;\n    return {\n      [axis]: coords[axis] + alignmentOffset,\n      data: {\n        [axis]: offset,\n        centerOffset: center - offset - alignmentOffset,\n        ...(shouldAddOffset && {\n          alignmentOffset\n        })\n      },\n      reset: shouldAddOffset\n    };\n  }\n});\n\n/**\n * Provides data to position an inner element of the floating element so that it\n * appears centered to the reference element.\n * This wraps the core `arrow` middleware to allow React refs as the element.\n * @see https://floating-ui.com/docs/arrow\n */\nexport const arrow = (options, deps) => ({\n  ...baseArrow(options),\n  options: [options, deps]\n});","import * as React from 'react';\nimport { useFloating as usePosition } from '@floating-ui/react-dom';\nimport { isElement } from '@floating-ui/utils/dom';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { useFloatingTree } from \"../components/FloatingTree.js\";\nimport { useFloatingRootContext } from \"./useFloatingRootContext.js\";\n\n/**\n * Provides data to position a floating element and context to add interactions.\n * @see https://floating-ui.com/docs/useFloating\n */\nexport function useFloating(options = {}) {\n  const {\n    nodeId\n  } = options;\n  const internalRootContext = useFloatingRootContext({\n    ...options,\n    elements: {\n      reference: null,\n      floating: null,\n      ...options.elements\n    }\n  });\n  const rootContext = options.rootContext || internalRootContext;\n  const computedElements = rootContext.elements;\n  const [domReferenceState, setDomReference] = React.useState(null);\n  const [positionReference, setPositionReferenceRaw] = React.useState(null);\n  const optionDomReference = computedElements?.domReference;\n  const domReference = optionDomReference || domReferenceState;\n  const domReferenceRef = React.useRef(null);\n  const tree = useFloatingTree();\n  useIsoLayoutEffect(() => {\n    if (domReference) {\n      domReferenceRef.current = domReference;\n    }\n  }, [domReference]);\n  const position = usePosition({\n    ...options,\n    elements: {\n      ...computedElements,\n      ...(positionReference && {\n        reference: positionReference\n      })\n    }\n  });\n  const setPositionReference = React.useCallback(node => {\n    const computedPositionReference = isElement(node) ? {\n      getBoundingClientRect: () => node.getBoundingClientRect(),\n      getClientRects: () => node.getClientRects(),\n      contextElement: node\n    } : node;\n    // Store the positionReference in state if the DOM reference is specified externally via the\n    // `elements.reference` option. This ensures that it won't be overridden on future renders.\n    setPositionReferenceRaw(computedPositionReference);\n    position.refs.setReference(computedPositionReference);\n  }, [position.refs]);\n  const setReference = React.useCallback(node => {\n    if (isElement(node) || node === null) {\n      domReferenceRef.current = node;\n      setDomReference(node);\n    }\n\n    // Backwards-compatibility for passing a virtual element to `reference`\n    // after it has set the DOM reference.\n    if (isElement(position.refs.reference.current) || position.refs.reference.current === null ||\n    // Don't allow setting virtual elements using the old technique back to\n    // `null` to support `positionReference` + an unstable `reference`\n    // callback ref.\n    node !== null && !isElement(node)) {\n      position.refs.setReference(node);\n    }\n  }, [position.refs]);\n  const refs = React.useMemo(() => ({\n    ...position.refs,\n    setReference,\n    setPositionReference,\n    domReference: domReferenceRef\n  }), [position.refs, setReference, setPositionReference]);\n  const elements = React.useMemo(() => ({\n    ...position.elements,\n    domReference\n  }), [position.elements, domReference]);\n  const context = React.useMemo(() => ({\n    ...position,\n    ...rootContext,\n    refs,\n    elements,\n    nodeId\n  }), [position, refs, elements, nodeId, rootContext]);\n  useIsoLayoutEffect(() => {\n    rootContext.dataRef.current.floatingContext = context;\n    const node = tree?.nodesRef.current.find(n => n.id === nodeId);\n    if (node) {\n      node.context = context;\n    }\n  });\n  return React.useMemo(() => ({\n    ...position,\n    context,\n    refs,\n    elements\n  }), [position, refs, elements, context]);\n}","/* eslint-disable no-bitwise */\n'use client';\n\nimport * as React from 'react';\nimport { useRefWithInit } from '@base-ui-components/utils/useRefWithInit';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { CompositeListContext } from \"./CompositeListContext.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * Provides context for a list of items in a composite component.\n * @internal\n */\nexport function CompositeList(props) {\n  const {\n    children,\n    elementsRef,\n    labelsRef,\n    onMapChange\n  } = props;\n  const nextIndexRef = React.useRef(0);\n  const listeners = useRefWithInit(createListeners).current;\n\n  // We use a stable `map` to avoid O(n^2) re-allocation costs for large lists.\n  // `mapTick` is our re-render trigger mechanism. We also need to update the\n  // elements and label refs, but there's a lot of async work going on and sometimes\n  // the effect that handles `onMapChange` gets called after those refs have been\n  // filled, and we don't want to lose those values by setting their lengths to `0`.\n  // We also need to have them at the proper length because floating-ui uses that\n  // information for list navigation.\n\n  const map = useRefWithInit(createMap).current;\n  const [mapTick, setMapTick] = React.useState(0);\n  const lastTickRef = React.useRef(mapTick);\n  const register = useEventCallback((node, metadata) => {\n    map.set(node, metadata ?? null);\n    lastTickRef.current += 1;\n    setMapTick(lastTickRef.current);\n  });\n  const unregister = useEventCallback(node => {\n    map.delete(node);\n    lastTickRef.current += 1;\n    setMapTick(lastTickRef.current);\n  });\n  const sortedMap = React.useMemo(() => {\n    // `mapTick` is the `useMemo` trigger as `map` is stable.\n    disableEslintWarning(mapTick);\n    const newMap = new Map();\n    const sortedNodes = Array.from(map.keys()).sort(sortByDocumentPosition);\n    sortedNodes.forEach((node, index) => {\n      const metadata = map.get(node) ?? {};\n      newMap.set(node, {\n        ...metadata,\n        index\n      });\n    });\n    return newMap;\n  }, [map, mapTick]);\n  useIsoLayoutEffect(() => {\n    const shouldUpdateLengths = lastTickRef.current === mapTick;\n    if (shouldUpdateLengths) {\n      if (elementsRef.current.length !== sortedMap.size) {\n        elementsRef.current.length = sortedMap.size;\n      }\n      if (labelsRef && labelsRef.current.length !== sortedMap.size) {\n        labelsRef.current.length = sortedMap.size;\n      }\n    }\n    onMapChange?.(sortedMap);\n  }, [onMapChange, sortedMap, elementsRef, labelsRef, mapTick, lastTickRef]);\n  const subscribeMapChange = useEventCallback(fn => {\n    listeners.add(fn);\n    return () => {\n      listeners.delete(fn);\n    };\n  });\n  useIsoLayoutEffect(() => {\n    listeners.forEach(l => l(sortedMap));\n  }, [listeners, sortedMap]);\n  const contextValue = React.useMemo(() => ({\n    register,\n    unregister,\n    subscribeMapChange,\n    elementsRef,\n    labelsRef,\n    nextIndexRef\n  }), [register, unregister, subscribeMapChange, elementsRef, labelsRef, nextIndexRef]);\n  return /*#__PURE__*/_jsx(CompositeListContext.Provider, {\n    value: contextValue,\n    children: children\n  });\n}\nfunction createMap() {\n  return new Map();\n}\nfunction createListeners() {\n  return new Set();\n}\nfunction sortByDocumentPosition(a, b) {\n  const position = a.compareDocumentPosition(b);\n  if (position & Node.DOCUMENT_POSITION_FOLLOWING || position & Node.DOCUMENT_POSITION_CONTAINED_BY) {\n    return -1;\n  }\n  if (position & Node.DOCUMENT_POSITION_PRECEDING || position & Node.DOCUMENT_POSITION_CONTAINS) {\n    return 1;\n  }\n  return 0;\n}\nfunction disableEslintWarning(_) {}","import * as React from 'react';\n\n/**\n * @internal\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const InternalBackdrop = /*#__PURE__*/React.forwardRef(function InternalBackdrop(props, ref) {\n  const {\n    cutout,\n    ...otherProps\n  } = props;\n  let clipPath;\n  if (cutout) {\n    const rect = cutout?.getBoundingClientRect();\n    clipPath = `polygon(\n      0% 0%,\n      100% 0%,\n      100% 100%,\n      0% 100%,\n      0% 0%,\n      ${rect.left}px ${rect.top}px,\n      ${rect.left}px ${rect.bottom}px,\n      ${rect.right}px ${rect.bottom}px,\n      ${rect.right}px ${rect.top}px,\n      ${rect.left}px ${rect.top}px\n    )`;\n  }\n  return /*#__PURE__*/_jsx(\"div\", {\n    ref: ref,\n    role: \"presentation\"\n    // Ensures Floating UI's outside press detection runs, as it considers\n    // it an element that existed when the popup rendered.\n    ,\n    \"data-base-ui-inert\": \"\",\n    ...otherProps,\n    style: {\n      position: 'fixed',\n      inset: 0,\n      userSelect: 'none',\n      WebkitUserSelect: 'none',\n      clipPath\n    }\n  });\n});\nif (process.env.NODE_ENV !== \"production\") InternalBackdrop.displayName = \"InternalBackdrop\";","'use client';\n\nimport * as React from 'react';\nimport { inertValue } from '@base-ui-components/utils/inertValue';\nimport { FloatingNode, useFloatingNodeId, useFloatingParentNodeId, useFloatingTree } from \"../../floating-ui-react/index.js\";\nimport { MenuPositionerContext } from \"./MenuPositionerContext.js\";\nimport { useMenuRootContext } from \"../root/MenuRootContext.js\";\nimport { useAnchorPositioning } from \"../../utils/useAnchorPositioning.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.js\";\nimport { CompositeList } from \"../../composite/list/CompositeList.js\";\nimport { InternalBackdrop } from \"../../utils/InternalBackdrop.js\";\nimport { useMenuPortalContext } from \"../portal/MenuPortalContext.js\";\nimport { DROPDOWN_COLLISION_AVOIDANCE } from \"../../utils/constants.js\";\nimport { useContextMenuRootContext } from \"../../context-menu/root/ContextMenuRootContext.js\";\n\n/**\n * Positions the menu popup against the trigger.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nexport const MenuPositioner = /*#__PURE__*/React.forwardRef(function MenuPositioner(componentProps, forwardedRef) {\n  const {\n    anchor: anchorProp,\n    positionMethod: positionMethodProp = 'absolute',\n    className,\n    render,\n    side,\n    align: alignProp,\n    sideOffset: sideOffsetProp = 0,\n    alignOffset: alignOffsetProp = 0,\n    collisionBoundary = 'clipping-ancestors',\n    collisionPadding = 5,\n    arrowPadding = 5,\n    sticky = false,\n    trackAnchor = true,\n    collisionAvoidance = DROPDOWN_COLLISION_AVOIDANCE,\n    ...elementProps\n  } = componentProps;\n  const {\n    open,\n    setOpen,\n    floatingRootContext,\n    setPositionerElement,\n    itemDomElements,\n    itemLabels,\n    mounted,\n    modal,\n    lastOpenChangeReason,\n    parent,\n    setHoverEnabled,\n    triggerElement\n  } = useMenuRootContext();\n  const keepMounted = useMenuPortalContext();\n  const nodeId = useFloatingNodeId();\n  const parentNodeId = useFloatingParentNodeId();\n  const contextMenuContext = useContextMenuRootContext(true);\n  let anchor = anchorProp;\n  let sideOffset = sideOffsetProp;\n  let alignOffset = alignOffsetProp;\n  let align = alignProp;\n  if (parent.type === 'context-menu') {\n    anchor = parent.context?.anchor ?? anchorProp;\n    align = componentProps.align ?? 'start';\n    alignOffset = componentProps.alignOffset ?? 2;\n    sideOffset = componentProps.sideOffset ?? -5;\n  }\n  let computedSide = side;\n  let computedAlign = align;\n  if (parent.type === 'menu') {\n    computedSide = computedSide ?? 'inline-end';\n    computedAlign = computedAlign ?? 'start';\n  } else if (parent.type === 'menubar') {\n    computedSide = computedSide ?? 'bottom';\n    computedAlign = computedAlign ?? 'start';\n  }\n  const contextMenu = parent.type === 'context-menu';\n  const positioner = useAnchorPositioning({\n    anchor,\n    floatingRootContext,\n    positionMethod: contextMenuContext ? 'fixed' : positionMethodProp,\n    mounted,\n    side: computedSide,\n    sideOffset,\n    align: computedAlign,\n    alignOffset,\n    arrowPadding: contextMenu ? 0 : arrowPadding,\n    collisionBoundary,\n    collisionPadding,\n    sticky,\n    nodeId,\n    keepMounted,\n    trackAnchor,\n    collisionAvoidance,\n    shiftCrossAxis: contextMenu\n  });\n  const {\n    events: menuEvents\n  } = useFloatingTree();\n  const positionerProps = React.useMemo(() => {\n    const hiddenStyles = {};\n    if (!open) {\n      hiddenStyles.pointerEvents = 'none';\n    }\n    return {\n      role: 'presentation',\n      hidden: !mounted,\n      style: {\n        ...positioner.positionerStyles,\n        ...hiddenStyles\n      }\n    };\n  }, [open, mounted, positioner.positionerStyles]);\n  React.useEffect(() => {\n    function onMenuOpenChange(event) {\n      if (event.open) {\n        if (event.parentNodeId === nodeId) {\n          setHoverEnabled(false);\n        }\n        if (event.nodeId !== nodeId && event.parentNodeId === parentNodeId) {\n          setOpen(false, undefined, 'sibling-open');\n        }\n      } else if (event.parentNodeId === nodeId) {\n        setHoverEnabled(true);\n      }\n    }\n    menuEvents.on('openchange', onMenuOpenChange);\n    return () => {\n      menuEvents.off('openchange', onMenuOpenChange);\n    };\n  }, [menuEvents, nodeId, parentNodeId, setOpen, setHoverEnabled]);\n  React.useEffect(() => {\n    menuEvents.emit('openchange', {\n      open,\n      nodeId,\n      parentNodeId\n    });\n  }, [menuEvents, open, nodeId, parentNodeId]);\n  const state = React.useMemo(() => ({\n    open,\n    side: positioner.side,\n    align: positioner.align,\n    anchorHidden: positioner.anchorHidden,\n    nested: parent.type === 'menu'\n  }), [open, positioner.side, positioner.align, positioner.anchorHidden, parent.type]);\n  const contextValue = React.useMemo(() => ({\n    side: positioner.side,\n    align: positioner.align,\n    arrowRef: positioner.arrowRef,\n    arrowUncentered: positioner.arrowUncentered,\n    arrowStyles: positioner.arrowStyles,\n    floatingContext: positioner.context\n  }), [positioner.side, positioner.align, positioner.arrowRef, positioner.arrowUncentered, positioner.arrowStyles, positioner.context]);\n  const element = useRenderElement('div', componentProps, {\n    state,\n    customStyleHookMapping: popupStateMapping,\n    ref: [forwardedRef, setPositionerElement],\n    props: {\n      ...positionerProps,\n      ...elementProps\n    }\n  });\n  const shouldRenderBackdrop = mounted && parent.type !== 'menu' && (parent.type !== 'menubar' && modal && lastOpenChangeReason !== 'trigger-hover' || parent.type === 'menubar' && parent.context.modal);\n\n  // cuts a hole in the backdrop to allow pointer interaction with the menubar or dropdown menu trigger element\n  let backdropCutout = null;\n  if (parent.type === 'menubar') {\n    backdropCutout = parent.context.contentElement;\n  } else if (parent.type === undefined) {\n    backdropCutout = triggerElement;\n  }\n  return /*#__PURE__*/_jsxs(MenuPositionerContext.Provider, {\n    value: contextValue,\n    children: [shouldRenderBackdrop && /*#__PURE__*/_jsx(InternalBackdrop, {\n      ref: parent.type === 'context-menu' || parent.type === 'nested-context-menu' ? parent.context.internalBackdropRef : null,\n      inert: inertValue(!open),\n      cutout: backdropCutout\n    }), /*#__PURE__*/_jsx(FloatingNode, {\n      id: nodeId,\n      children: /*#__PURE__*/_jsx(CompositeList, {\n        elementsRef: itemDomElements,\n        labelsRef: itemLabels,\n        children: element\n      })\n    })]\n  });\n});\nif (process.env.NODE_ENV !== \"production\") MenuPositioner.displayName = \"MenuPositioner\";","import { isReactVersionAtLeast } from \"./reactVersion.js\";\nexport function inertValue(value) {\n  if (isReactVersionAtLeast(19)) {\n    return value;\n  }\n  // compatibility with React < 19\n  return value ? 'true' : undefined;\n}","// Modified to add conditional `aria-hidden` support:\n// https://github.com/theKashey/aria-hidden/blob/9220c8f4a4fd35f63bee5510a9f41a37264382d4/src/index.ts\nimport { getNodeName } from '@floating-ui/utils/dom';\nimport { getDocument } from \"./element.js\";\nconst counters = {\n  inert: new WeakMap(),\n  'aria-hidden': new WeakMap(),\n  none: new WeakMap()\n};\nfunction getCounterMap(control) {\n  if (control === 'inert') {\n    return counters.inert;\n  }\n  if (control === 'aria-hidden') {\n    return counters['aria-hidden'];\n  }\n  return counters.none;\n}\nlet uncontrolledElementsSet = new WeakSet();\nlet markerMap = {};\nlet lockCount = 0;\nexport const supportsInert = () => typeof HTMLElement !== 'undefined' && 'inert' in HTMLElement.prototype;\nconst unwrapHost = node => node && (node.host || unwrapHost(node.parentNode));\nconst correctElements = (parent, targets) => targets.map(target => {\n  if (parent.contains(target)) {\n    return target;\n  }\n  const correctedTarget = unwrapHost(target);\n  if (parent.contains(correctedTarget)) {\n    return correctedTarget;\n  }\n  return null;\n}).filter(x => x != null);\nfunction applyAttributeToOthers(uncorrectedAvoidElements, body, ariaHidden, inert) {\n  const markerName = 'data-base-ui-inert';\n  // eslint-disable-next-line no-nested-ternary\n  const controlAttribute = inert ? 'inert' : ariaHidden ? 'aria-hidden' : null;\n  const avoidElements = correctElements(body, uncorrectedAvoidElements);\n  const elementsToKeep = new Set();\n  const elementsToStop = new Set(avoidElements);\n  const hiddenElements = [];\n  if (!markerMap[markerName]) {\n    markerMap[markerName] = new WeakMap();\n  }\n  const markerCounter = markerMap[markerName];\n  avoidElements.forEach(keep);\n  deep(body);\n  elementsToKeep.clear();\n  function keep(el) {\n    if (!el || elementsToKeep.has(el)) {\n      return;\n    }\n    elementsToKeep.add(el);\n    if (el.parentNode) {\n      keep(el.parentNode);\n    }\n  }\n  function deep(parent) {\n    if (!parent || elementsToStop.has(parent)) {\n      return;\n    }\n    [].forEach.call(parent.children, node => {\n      if (getNodeName(node) === 'script') {\n        return;\n      }\n      if (elementsToKeep.has(node)) {\n        deep(node);\n      } else {\n        const attr = controlAttribute ? node.getAttribute(controlAttribute) : null;\n        const alreadyHidden = attr !== null && attr !== 'false';\n        const counterMap = getCounterMap(controlAttribute);\n        const counterValue = (counterMap.get(node) || 0) + 1;\n        const markerValue = (markerCounter.get(node) || 0) + 1;\n        counterMap.set(node, counterValue);\n        markerCounter.set(node, markerValue);\n        hiddenElements.push(node);\n        if (counterValue === 1 && alreadyHidden) {\n          uncontrolledElementsSet.add(node);\n        }\n        if (markerValue === 1) {\n          node.setAttribute(markerName, '');\n        }\n        if (!alreadyHidden && controlAttribute) {\n          node.setAttribute(controlAttribute, controlAttribute === 'inert' ? '' : 'true');\n        }\n      }\n    });\n  }\n  lockCount += 1;\n  return () => {\n    hiddenElements.forEach(element => {\n      const counterMap = getCounterMap(controlAttribute);\n      const currentCounterValue = counterMap.get(element) || 0;\n      const counterValue = currentCounterValue - 1;\n      const markerValue = (markerCounter.get(element) || 0) - 1;\n      counterMap.set(element, counterValue);\n      markerCounter.set(element, markerValue);\n      if (!counterValue) {\n        if (!uncontrolledElementsSet.has(element) && controlAttribute) {\n          element.removeAttribute(controlAttribute);\n        }\n        uncontrolledElementsSet.delete(element);\n      }\n      if (!markerValue) {\n        element.removeAttribute(markerName);\n      }\n    });\n    lockCount -= 1;\n    if (!lockCount) {\n      counters.inert = new WeakMap();\n      counters['aria-hidden'] = new WeakMap();\n      counters.none = new WeakMap();\n      uncontrolledElementsSet = new WeakSet();\n      markerMap = {};\n    }\n  };\n}\nexport function markOthers(avoidElements, ariaHidden = false, inert = false) {\n  const body = getDocument(avoidElements[0]).body;\n  return applyAttributeToOthers(avoidElements.concat(Array.from(body.querySelectorAll('[aria-live]'))), body, ariaHidden, inert);\n}","import * as React from 'react';\nimport { tabbable, isTabbable, focusable } from 'tabbable';\nimport { getNodeName, isHTMLElement } from '@floating-ui/utils/dom';\nimport { useMergedRefs } from '@base-ui-components/utils/useMergedRefs';\nimport { useLatestRef } from '@base-ui-components/utils/useLatestRef';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { visuallyHidden } from '@base-ui-components/utils/visuallyHidden';\nimport { useTimeout } from '@base-ui-components/utils/useTimeout';\nimport { FocusGuard } from \"../../utils/FocusGuard.js\";\nimport { activeElement, contains, getDocument, getTarget, isTypeableCombobox, isVirtualClick, isVirtualPointerEvent, stopEvent, getNodeAncestors, getNodeChildren, getFloatingFocusElement, getTabbableOptions, isOutsideEvent, getNextTabbable, getPreviousTabbable } from \"../utils.js\";\nimport { createAttribute } from \"../utils/createAttribute.js\";\nimport { enqueueFocus } from \"../utils/enqueueFocus.js\";\nimport { markOthers } from \"../utils/markOthers.js\";\nimport { usePortalContext } from \"./FloatingPortal.js\";\nimport { useFloatingTree } from \"./FloatingTree.js\";\nimport { CLICK_TRIGGER_IDENTIFIER } from \"../../utils/constants.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nconst LIST_LIMIT = 20;\nlet previouslyFocusedElements = [];\nfunction clearDisconnectedPreviouslyFocusedElements() {\n  previouslyFocusedElements = previouslyFocusedElements.filter(el => el.isConnected);\n}\nfunction addPreviouslyFocusedElement(element) {\n  clearDisconnectedPreviouslyFocusedElements();\n  if (element && getNodeName(element) !== 'body') {\n    previouslyFocusedElements.push(element);\n    if (previouslyFocusedElements.length > LIST_LIMIT) {\n      previouslyFocusedElements = previouslyFocusedElements.slice(-LIST_LIMIT);\n    }\n  }\n}\nfunction getPreviouslyFocusedElement() {\n  clearDisconnectedPreviouslyFocusedElements();\n  return previouslyFocusedElements[previouslyFocusedElements.length - 1];\n}\nfunction getFirstTabbableElement(container) {\n  const tabbableOptions = getTabbableOptions();\n  if (isTabbable(container, tabbableOptions)) {\n    return container;\n  }\n  return tabbable(container, tabbableOptions)[0] || container;\n}\nfunction handleTabIndex(floatingFocusElement, orderRef) {\n  if (!orderRef.current.includes('floating') && !floatingFocusElement.getAttribute('role')?.includes('dialog')) {\n    return;\n  }\n  const options = getTabbableOptions();\n  const focusableElements = focusable(floatingFocusElement, options);\n  const tabbableContent = focusableElements.filter(element => {\n    const dataTabIndex = element.getAttribute('data-tabindex') || '';\n    return isTabbable(element, options) || element.hasAttribute('data-tabindex') && !dataTabIndex.startsWith('-');\n  });\n  const tabIndex = floatingFocusElement.getAttribute('tabindex');\n  if (orderRef.current.includes('floating') || tabbableContent.length === 0) {\n    if (tabIndex !== '0') {\n      floatingFocusElement.setAttribute('tabindex', '0');\n    }\n  } else if (tabIndex !== '-1' || floatingFocusElement.hasAttribute('data-tabindex') && floatingFocusElement.getAttribute('data-tabindex') !== '-1') {\n    floatingFocusElement.setAttribute('tabindex', '-1');\n    floatingFocusElement.setAttribute('data-tabindex', '-1');\n  }\n}\n/**\n * Provides focus management for the floating element.\n * @see https://floating-ui.com/docs/FloatingFocusManager\n * @internal\n */\nexport function FloatingFocusManager(props) {\n  const {\n    context,\n    children,\n    disabled = false,\n    order = ['content'],\n    initialFocus = 0,\n    returnFocus = true,\n    restoreFocus = false,\n    modal = true,\n    closeOnFocusOut = true,\n    getInsideElements: getInsideElementsProp = () => []\n  } = props;\n  const {\n    open,\n    onOpenChange,\n    events,\n    dataRef,\n    elements: {\n      domReference,\n      floating\n    }\n  } = context;\n  const getNodeId = useEventCallback(() => dataRef.current.floatingContext?.nodeId);\n  const getInsideElements = useEventCallback(getInsideElementsProp);\n  const ignoreInitialFocus = typeof initialFocus === 'number' && initialFocus < 0;\n  // If the reference is a combobox and is typeable (e.g. input/textarea),\n  // there are different focus semantics. The guards should not be rendered, but\n  // aria-hidden should be applied to all nodes still. Further, the visually\n  // hidden dismiss button should only appear at the end of the list, not the\n  // start.\n  const isUntrappedTypeableCombobox = isTypeableCombobox(domReference) && ignoreInitialFocus;\n  const orderRef = useLatestRef(order);\n  const initialFocusRef = useLatestRef(initialFocus);\n  const returnFocusRef = useLatestRef(returnFocus);\n  const tree = useFloatingTree();\n  const portalContext = usePortalContext();\n  const startDismissButtonRef = React.useRef(null);\n  const endDismissButtonRef = React.useRef(null);\n  const preventReturnFocusRef = React.useRef(false);\n  const isPointerDownRef = React.useRef(false);\n  const tabbableIndexRef = React.useRef(-1);\n  const blurTimeout = useTimeout();\n  const isInsidePortal = portalContext != null;\n  const floatingFocusElement = getFloatingFocusElement(floating);\n  const getTabbableContent = useEventCallback((container = floatingFocusElement) => {\n    return container ? tabbable(container, getTabbableOptions()) : [];\n  });\n  const getTabbableElements = useEventCallback(container => {\n    const content = getTabbableContent(container);\n    return orderRef.current.map(() => content).filter(Boolean).flat();\n  });\n  React.useEffect(() => {\n    if (disabled) {\n      return undefined;\n    }\n    if (!modal) {\n      return undefined;\n    }\n    function onKeyDown(event) {\n      if (event.key === 'Tab') {\n        // The focus guards have nothing to focus, so we need to stop the event.\n        if (contains(floatingFocusElement, activeElement(getDocument(floatingFocusElement))) && getTabbableContent().length === 0 && !isUntrappedTypeableCombobox) {\n          stopEvent(event);\n        }\n      }\n    }\n    const doc = getDocument(floatingFocusElement);\n    doc.addEventListener('keydown', onKeyDown);\n    return () => {\n      doc.removeEventListener('keydown', onKeyDown);\n    };\n  }, [disabled, domReference, floatingFocusElement, modal, orderRef, isUntrappedTypeableCombobox, getTabbableContent, getTabbableElements]);\n  React.useEffect(() => {\n    if (disabled) {\n      return undefined;\n    }\n    if (!floating) {\n      return undefined;\n    }\n    function handleFocusIn(event) {\n      const target = getTarget(event);\n      const tabbableContent = getTabbableContent();\n      const tabbableIndex = tabbableContent.indexOf(target);\n      if (tabbableIndex !== -1) {\n        tabbableIndexRef.current = tabbableIndex;\n      }\n    }\n    floating.addEventListener('focusin', handleFocusIn);\n    return () => {\n      floating.removeEventListener('focusin', handleFocusIn);\n    };\n  }, [disabled, floating, getTabbableContent]);\n  React.useEffect(() => {\n    if (disabled) {\n      return undefined;\n    }\n    if (!closeOnFocusOut) {\n      return undefined;\n    }\n\n    // In Safari, buttons lose focus when pressing them.\n    function handlePointerDown() {\n      isPointerDownRef.current = true;\n    }\n    function handleFocusOutside(event) {\n      const relatedTarget = event.relatedTarget;\n      const currentTarget = event.currentTarget;\n      const target = getTarget(event);\n      queueMicrotask(() => {\n        const nodeId = getNodeId();\n        const movedToUnrelatedNode = !(contains(domReference, relatedTarget) || contains(floating, relatedTarget) || contains(relatedTarget, floating) || contains(portalContext?.portalNode, relatedTarget) || relatedTarget?.hasAttribute(createAttribute('focus-guard')) || tree && (getNodeChildren(tree.nodesRef.current, nodeId).find(node => contains(node.context?.elements.floating, relatedTarget) || contains(node.context?.elements.domReference, relatedTarget)) || getNodeAncestors(tree.nodesRef.current, nodeId).find(node => [node.context?.elements.floating, getFloatingFocusElement(node.context?.elements.floating)].includes(relatedTarget) || node.context?.elements.domReference === relatedTarget)));\n        if (currentTarget === domReference && floatingFocusElement) {\n          handleTabIndex(floatingFocusElement, orderRef);\n        }\n\n        // Restore focus to the previous tabbable element index to prevent\n        // focus from being lost outside the floating tree.\n        if (restoreFocus && currentTarget !== domReference && !target?.isConnected && activeElement(getDocument(floatingFocusElement)) === getDocument(floatingFocusElement).body) {\n          // Let `FloatingPortal` effect knows that focus is still inside the\n          // floating tree.\n          if (isHTMLElement(floatingFocusElement)) {\n            floatingFocusElement.focus();\n          }\n          const prevTabbableIndex = tabbableIndexRef.current;\n          const tabbableContent = getTabbableContent();\n          const nodeToFocus = tabbableContent[prevTabbableIndex] || tabbableContent[tabbableContent.length - 1] || floatingFocusElement;\n          if (isHTMLElement(nodeToFocus)) {\n            nodeToFocus.focus();\n          }\n        }\n\n        // https://github.com/floating-ui/floating-ui/issues/3060\n        if (dataRef.current.insideReactTree) {\n          dataRef.current.insideReactTree = false;\n          return;\n        }\n        if (isPointerDownRef.current) {\n          isPointerDownRef.current = false;\n          return;\n        }\n\n        // Focus did not move inside the floating tree, and there are no tabbable\n        // portal guards to handle closing.\n        if ((isUntrappedTypeableCombobox ? true : !modal) && relatedTarget && movedToUnrelatedNode &&\n        // Fix React 18 Strict Mode returnFocus due to double rendering.\n        relatedTarget !== getPreviouslyFocusedElement()) {\n          preventReturnFocusRef.current = true;\n          onOpenChange(false, event, 'focus-out');\n        }\n      });\n    }\n    const shouldHandleBlurCapture = Boolean(!tree && portalContext);\n    function markInsideReactTree() {\n      dataRef.current.insideReactTree = true;\n      blurTimeout.start(0, () => {\n        dataRef.current.insideReactTree = false;\n      });\n    }\n    if (floating && isHTMLElement(domReference)) {\n      domReference.addEventListener('focusout', handleFocusOutside);\n      domReference.addEventListener('pointerdown', handlePointerDown);\n      floating.addEventListener('focusout', handleFocusOutside);\n      if (shouldHandleBlurCapture) {\n        floating.addEventListener('focusout', markInsideReactTree, true);\n      }\n      return () => {\n        domReference.removeEventListener('focusout', handleFocusOutside);\n        domReference.removeEventListener('pointerdown', handlePointerDown);\n        floating.removeEventListener('focusout', handleFocusOutside);\n        if (shouldHandleBlurCapture) {\n          floating.removeEventListener('focusout', markInsideReactTree, true);\n        }\n      };\n    }\n    return undefined;\n  }, [disabled, domReference, floating, floatingFocusElement, modal, tree, portalContext, onOpenChange, closeOnFocusOut, restoreFocus, getTabbableContent, isUntrappedTypeableCombobox, getNodeId, orderRef, dataRef, blurTimeout]);\n  const beforeGuardRef = React.useRef(null);\n  const afterGuardRef = React.useRef(null);\n  const mergedBeforeGuardRef = useMergedRefs(beforeGuardRef, portalContext?.beforeInsideRef);\n  const mergedAfterGuardRef = useMergedRefs(afterGuardRef, portalContext?.afterInsideRef);\n  React.useEffect(() => {\n    if (disabled) {\n      return undefined;\n    }\n    if (!floating) {\n      return undefined;\n    }\n\n    // Don't hide portals nested within the parent portal.\n    const portalNodes = Array.from(portalContext?.portalNode?.querySelectorAll(`[${createAttribute('portal')}]`) || []);\n    const ancestors = tree ? getNodeAncestors(tree.nodesRef.current, getNodeId()) : [];\n    const rootAncestorComboboxDomReference = ancestors.find(node => isTypeableCombobox(node.context?.elements.domReference || null))?.context?.elements.domReference;\n    const insideElements = [floating, rootAncestorComboboxDomReference, ...portalNodes, ...getInsideElements(), startDismissButtonRef.current, endDismissButtonRef.current, beforeGuardRef.current, afterGuardRef.current, portalContext?.beforeOutsideRef.current, portalContext?.afterOutsideRef.current, isUntrappedTypeableCombobox ? domReference : null].filter(x => x != null);\n    const cleanup = markOthers(insideElements, modal || isUntrappedTypeableCombobox);\n    return () => {\n      cleanup();\n    };\n  }, [disabled, domReference, floating, modal, orderRef, portalContext, isUntrappedTypeableCombobox, tree, getNodeId, getInsideElements]);\n  useIsoLayoutEffect(() => {\n    if (disabled || !isHTMLElement(floatingFocusElement)) {\n      return;\n    }\n    const doc = getDocument(floatingFocusElement);\n    const previouslyFocusedElement = activeElement(doc);\n\n    // Wait for any layout effect state setters to execute to set `tabIndex`.\n    queueMicrotask(() => {\n      const focusableElements = getTabbableElements(floatingFocusElement);\n      const initialFocusValue = initialFocusRef.current;\n      const elToFocus = (typeof initialFocusValue === 'number' ? focusableElements[initialFocusValue] : initialFocusValue.current) || floatingFocusElement;\n      const focusAlreadyInsideFloatingEl = contains(floatingFocusElement, previouslyFocusedElement);\n      if (!ignoreInitialFocus && !focusAlreadyInsideFloatingEl && open) {\n        enqueueFocus(elToFocus, {\n          preventScroll: elToFocus === floatingFocusElement\n        });\n      }\n    });\n  }, [disabled, open, floatingFocusElement, ignoreInitialFocus, getTabbableElements, initialFocusRef]);\n  useIsoLayoutEffect(() => {\n    if (disabled || !floatingFocusElement) {\n      return undefined;\n    }\n    const doc = getDocument(floatingFocusElement);\n    const previouslyFocusedElement = activeElement(doc);\n    addPreviouslyFocusedElement(previouslyFocusedElement);\n\n    // Dismissing via outside press should always ignore `returnFocus` to\n    // prevent unwanted scrolling.\n    function onOpenChangeLocal({\n      reason,\n      event,\n      nested\n    }) {\n      if (['hover', 'safe-polygon'].includes(reason) && event.type === 'mouseleave') {\n        preventReturnFocusRef.current = true;\n      }\n      if (reason !== 'outside-press') {\n        return;\n      }\n      if (nested) {\n        preventReturnFocusRef.current = false;\n      } else if (isVirtualClick(event) || isVirtualPointerEvent(event)) {\n        preventReturnFocusRef.current = false;\n      } else {\n        let isPreventScrollSupported = false;\n        document.createElement('div').focus({\n          get preventScroll() {\n            isPreventScrollSupported = true;\n            return false;\n          }\n        });\n        if (isPreventScrollSupported) {\n          preventReturnFocusRef.current = false;\n        } else {\n          preventReturnFocusRef.current = true;\n        }\n      }\n    }\n    events.on('openchange', onOpenChangeLocal);\n    const fallbackEl = doc.createElement('span');\n    fallbackEl.setAttribute('tabindex', '-1');\n    fallbackEl.setAttribute('aria-hidden', 'true');\n    Object.assign(fallbackEl.style, visuallyHidden);\n    if (isInsidePortal && domReference) {\n      domReference.insertAdjacentElement('afterend', fallbackEl);\n    }\n    function getReturnElement() {\n      if (typeof returnFocusRef.current === 'boolean') {\n        const el = domReference || getPreviouslyFocusedElement();\n        return el && el.isConnected ? el : fallbackEl;\n      }\n      return returnFocusRef.current.current || fallbackEl;\n    }\n    return () => {\n      events.off('openchange', onOpenChangeLocal);\n      const activeEl = activeElement(doc);\n      const isFocusInsideFloatingTree = contains(floating, activeEl) || tree && getNodeChildren(tree.nodesRef.current, getNodeId(), false).some(node => contains(node.context?.elements.floating, activeEl));\n      const returnElement = getReturnElement();\n      queueMicrotask(() => {\n        // This is `returnElement`, if it's tabbable, or its first tabbable child.\n        const tabbableReturnElement = getFirstTabbableElement(returnElement);\n        if (\n        // eslint-disable-next-line react-hooks/exhaustive-deps\n        returnFocusRef.current && !preventReturnFocusRef.current && isHTMLElement(tabbableReturnElement) && (\n        // If the focus moved somewhere else after mount, avoid returning focus\n        // since it likely entered a different element which should be\n        // respected: https://github.com/floating-ui/floating-ui/issues/2607\n        tabbableReturnElement !== activeEl && activeEl !== doc.body ? isFocusInsideFloatingTree : true)) {\n          tabbableReturnElement.focus({\n            preventScroll: true\n          });\n        }\n        fallbackEl.remove();\n      });\n    };\n  }, [disabled, floating, floatingFocusElement, returnFocusRef, dataRef, events, tree, isInsidePortal, domReference, getNodeId]);\n  React.useEffect(() => {\n    // The `returnFocus` cleanup behavior is inside a microtask; ensure we\n    // wait for it to complete before resetting the flag.\n    queueMicrotask(() => {\n      preventReturnFocusRef.current = false;\n    });\n  }, [disabled]);\n  React.useEffect(() => {\n    if (disabled || !open) {\n      return undefined;\n    }\n    function handlePointerDown(event) {\n      const target = getTarget(event);\n      if (target?.closest(`[${CLICK_TRIGGER_IDENTIFIER}]`)) {\n        isPointerDownRef.current = true;\n      }\n    }\n    const doc = getDocument(floatingFocusElement);\n    doc.addEventListener('pointerdown', handlePointerDown, true);\n    return () => {\n      doc.removeEventListener('pointerdown', handlePointerDown, true);\n    };\n  }, [disabled, open, floatingFocusElement]);\n\n  // Synchronize the `context` & `modal` value to the FloatingPortal context.\n  // It will decide whether or not it needs to render its own guards.\n  useIsoLayoutEffect(() => {\n    if (disabled) {\n      return undefined;\n    }\n    if (!portalContext) {\n      return undefined;\n    }\n    portalContext.setFocusManagerState({\n      modal,\n      closeOnFocusOut,\n      open,\n      onOpenChange,\n      domReference\n    });\n    return () => {\n      portalContext.setFocusManagerState(null);\n    };\n  }, [disabled, portalContext, modal, open, onOpenChange, closeOnFocusOut, domReference]);\n  useIsoLayoutEffect(() => {\n    if (disabled || !floatingFocusElement) {\n      return undefined;\n    }\n    handleTabIndex(floatingFocusElement, orderRef);\n    return () => {\n      queueMicrotask(clearDisconnectedPreviouslyFocusedElements);\n    };\n  }, [disabled, floatingFocusElement, orderRef]);\n  const shouldRenderGuards = !disabled && (modal ? !isUntrappedTypeableCombobox : true) && (isInsidePortal || modal);\n  return /*#__PURE__*/_jsxs(React.Fragment, {\n    children: [shouldRenderGuards && /*#__PURE__*/_jsx(FocusGuard, {\n      \"data-type\": \"inside\",\n      ref: mergedBeforeGuardRef,\n      onFocus: event => {\n        if (modal) {\n          const els = getTabbableElements();\n          enqueueFocus(els[els.length - 1]);\n        } else if (portalContext?.preserveTabOrder && portalContext.portalNode) {\n          preventReturnFocusRef.current = false;\n          if (isOutsideEvent(event, portalContext.portalNode)) {\n            const nextTabbable = getNextTabbable(domReference);\n            nextTabbable?.focus();\n          } else {\n            portalContext.beforeOutsideRef.current?.focus();\n          }\n        }\n      }\n    }), children, shouldRenderGuards && /*#__PURE__*/_jsx(FocusGuard, {\n      \"data-type\": \"inside\",\n      ref: mergedAfterGuardRef,\n      onFocus: event => {\n        if (modal) {\n          enqueueFocus(getTabbableElements()[0]);\n        } else if (portalContext?.preserveTabOrder && portalContext.portalNode) {\n          if (closeOnFocusOut) {\n            preventReturnFocusRef.current = true;\n          }\n          if (isOutsideEvent(event, portalContext.portalNode)) {\n            const prevTabbable = getPreviousTabbable(domReference);\n            prevTabbable?.focus();\n          } else {\n            portalContext.afterOutsideRef.current?.focus();\n          }\n        }\n      }\n    })]\n  });\n}","'use client';\n\nimport * as React from 'react';\nimport { FloatingFocusManager, useFloatingTree } from \"../../floating-ui-react/index.js\";\nimport { useMenuRootContext } from \"../root/MenuRootContext.js\";\nimport { useMenuPositionerContext } from \"../positioner/MenuPositionerContext.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { popupStateMapping as baseMapping } from \"../../utils/popupStateMapping.js\";\nimport { transitionStatusMapping } from \"../../utils/styleHookMapping.js\";\nimport { useOpenChangeComplete } from \"../../utils/useOpenChangeComplete.js\";\nimport { EMPTY_OBJECT, DISABLED_TRANSITIONS_STYLE } from \"../../utils/constants.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst customStyleHookMapping = {\n  ...baseMapping,\n  ...transitionStatusMapping\n};\n\n/**\n * A container for the menu items.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nexport const MenuPopup = /*#__PURE__*/React.forwardRef(function MenuPopup(componentProps, forwardedRef) {\n  const {\n    render,\n    className,\n    finalFocus,\n    ...elementProps\n  } = componentProps;\n  const {\n    open,\n    setOpen,\n    popupRef,\n    transitionStatus,\n    popupProps,\n    mounted,\n    instantType,\n    onOpenChangeComplete,\n    parent,\n    lastOpenChangeReason,\n    rootId\n  } = useMenuRootContext();\n  const {\n    side,\n    align,\n    floatingContext\n  } = useMenuPositionerContext();\n  useOpenChangeComplete({\n    open,\n    ref: popupRef,\n    onComplete() {\n      if (open) {\n        onOpenChangeComplete?.(true);\n      }\n    }\n  });\n  const {\n    events: menuEvents\n  } = useFloatingTree();\n  React.useEffect(() => {\n    function handleClose(event) {\n      setOpen(false, event.domEvent, event.reason);\n    }\n    menuEvents.on('close', handleClose);\n    return () => {\n      menuEvents.off('close', handleClose);\n    };\n  }, [menuEvents, setOpen]);\n  const state = React.useMemo(() => ({\n    transitionStatus,\n    side,\n    align,\n    open,\n    nested: parent.type === 'menu',\n    instant: instantType\n  }), [transitionStatus, side, align, open, parent.type, instantType]);\n  const element = useRenderElement('div', componentProps, {\n    state,\n    ref: [forwardedRef, popupRef],\n    customStyleHookMapping,\n    props: [popupProps, transitionStatus === 'starting' ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT, elementProps, {\n      'data-rootownerid': rootId\n    }]\n  });\n  let returnFocus = parent.type === undefined || parent.type === 'context-menu';\n  if (parent.type === 'menubar' && lastOpenChangeReason !== 'outside-press') {\n    returnFocus = true;\n  }\n  return /*#__PURE__*/_jsx(FloatingFocusManager, {\n    context: floatingContext,\n    modal: false,\n    disabled: !mounted,\n    returnFocus: finalFocus || returnFocus,\n    initialFocus: parent.type === 'menu' ? -1 : 0,\n    restoreFocus: true,\n    children: element\n  });\n});\nif (process.env.NODE_ENV !== \"production\") MenuPopup.displayName = \"MenuPopup\";","import * as React from 'react';\nexport const MenuGroupContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") MenuGroupContext.displayName = \"MenuGroupContext\";\nexport function useMenuGroupRootContext() {\n  const context = React.useContext(MenuGroupContext);\n  if (context === undefined) {\n    throw new Error('Base UI: MenuGroupRootContext is missing. Menu group parts must be used within <Menu.Group>.');\n  }\n  return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { MenuGroupContext } from \"./MenuGroupContext.js\";\n\n/**\n * Groups related menu items with the corresponding label.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const MenuGroup = /*#__PURE__*/React.forwardRef(function MenuGroup(componentProps, forwardedRef) {\n  const {\n    render,\n    className,\n    ...elementProps\n  } = componentProps;\n  const [labelId, setLabelId] = React.useState(undefined);\n  const context = React.useMemo(() => ({\n    setLabelId\n  }), [setLabelId]);\n  const element = useRenderElement('div', componentProps, {\n    ref: forwardedRef,\n    props: {\n      role: 'group',\n      'aria-labelledby': labelId,\n      ...elementProps\n    }\n  });\n  return /*#__PURE__*/_jsx(MenuGroupContext.Provider, {\n    value: context,\n    children: element\n  });\n});\nif (process.env.NODE_ENV !== \"production\") MenuGroup.displayName = \"MenuGroup\";","'use client';\n\nimport { useId } from '@base-ui-components/utils/useId';\n\n/**\n * Wraps `useId` and prefixes generated `id`s with `base-ui-`\n * @param {string | undefined} idOverride overrides the generated id when provided\n * @returns {string | undefined}\n */\nexport function useBaseUiId(idOverride) {\n  return useId(idOverride, 'base-ui');\n}","'use client';\n\nimport * as React from 'react';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { useBaseUiId } from \"../../utils/useBaseUiId.js\";\nimport { useMenuGroupRootContext } from \"../group/MenuGroupContext.js\";\n\n/**\n * An accessible label that is automatically associated with its parent group.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nexport const MenuGroupLabel = /*#__PURE__*/React.forwardRef(function MenuGroupLabelComponent(componentProps, forwardedRef) {\n  const {\n    className,\n    render,\n    id: idProp,\n    ...elementProps\n  } = componentProps;\n  const id = useBaseUiId(idProp);\n  const {\n    setLabelId\n  } = useMenuGroupRootContext();\n  useIsoLayoutEffect(() => {\n    setLabelId(id);\n    return () => {\n      setLabelId(undefined);\n    };\n  }, [setLabelId, id]);\n  return useRenderElement('div', componentProps, {\n    ref: forwardedRef,\n    props: {\n      id,\n      role: 'presentation',\n      ...elementProps\n    }\n  });\n});\nif (process.env.NODE_ENV !== \"production\") MenuGroupLabel.displayName = \"MenuGroupLabel\";","'use client';\n\nimport * as React from 'react';\nimport { useMergedRefs } from '@base-ui-components/utils/useMergedRefs';\nimport { useButton } from \"../../use-button/index.js\";\nimport { mergeProps } from \"../../merge-props/index.js\";\nexport const REGULAR_ITEM = {\n  type: 'regular-item'\n};\nexport function useMenuItem(params) {\n  const {\n    closeOnClick,\n    disabled = false,\n    highlighted,\n    id,\n    menuEvents,\n    allowMouseUpTriggerRef,\n    typingRef,\n    nativeButton,\n    itemMetadata\n  } = params;\n  const itemRef = React.useRef(null);\n  const {\n    getButtonProps,\n    buttonRef\n  } = useButton({\n    disabled,\n    focusableWhenDisabled: true,\n    native: nativeButton\n  });\n  const getItemProps = React.useCallback(externalProps => {\n    return mergeProps({\n      id,\n      role: 'menuitem',\n      tabIndex: highlighted ? 0 : -1,\n      onMouseEnter() {\n        if (itemMetadata.type !== 'submenu-trigger') {\n          return;\n        }\n        itemMetadata.setActive();\n      },\n      onKeyUp: event => {\n        if (event.key === ' ' && typingRef.current) {\n          event.preventBaseUIHandler();\n        }\n      },\n      onClick: event => {\n        if (closeOnClick) {\n          menuEvents.emit('close', {\n            domEvent: event,\n            reason: 'item-press'\n          });\n        }\n      },\n      onMouseUp: () => {\n        if (itemRef.current && allowMouseUpTriggerRef.current) {\n          // This fires whenever the user clicks on the trigger, moves the cursor, and releases it over the item.\n          // We trigger the click and override the `closeOnClick` preference to always close the menu.\n          if (itemMetadata.type === 'regular-item') {\n            itemRef.current.click();\n          }\n        }\n      }\n    }, externalProps, getButtonProps);\n  }, [id, highlighted, getButtonProps, typingRef, closeOnClick, menuEvents, allowMouseUpTriggerRef, itemMetadata]);\n  const mergedRef = useMergedRefs(itemRef, buttonRef);\n  return React.useMemo(() => ({\n    getItemProps,\n    itemRef: mergedRef\n  }), [getItemProps, mergedRef]);\n}","'use client';\n\nimport * as React from 'react';\nimport { useMergedRefs } from '@base-ui-components/utils/useMergedRefs';\nimport { useFloatingTree } from \"../../floating-ui-react/index.js\";\nimport { REGULAR_ITEM, useMenuItem } from \"./useMenuItem.js\";\nimport { useMenuRootContext } from \"../root/MenuRootContext.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { useBaseUiId } from \"../../utils/useBaseUiId.js\";\nimport { useCompositeListItem } from \"../../composite/list/useCompositeListItem.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst InnerMenuItem = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function InnerMenuItem(componentProps, forwardedRef) {\n  const {\n    className,\n    closeOnClick = true,\n    disabled = false,\n    highlighted,\n    id,\n    menuEvents,\n    itemProps,\n    render,\n    allowMouseUpTriggerRef,\n    typingRef,\n    nativeButton,\n    ...elementProps\n  } = componentProps;\n  const {\n    getItemProps,\n    itemRef\n  } = useMenuItem({\n    closeOnClick,\n    disabled,\n    highlighted,\n    id,\n    menuEvents,\n    allowMouseUpTriggerRef,\n    typingRef,\n    nativeButton,\n    itemMetadata: REGULAR_ITEM\n  });\n  const state = React.useMemo(() => ({\n    disabled,\n    highlighted\n  }), [disabled, highlighted]);\n  return useRenderElement('div', componentProps, {\n    state,\n    ref: [itemRef, forwardedRef],\n    props: [itemProps, elementProps, getItemProps]\n  });\n}));\n\n/**\n * An individual interactive item in the menu.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nif (process.env.NODE_ENV !== \"production\") InnerMenuItem.displayName = \"InnerMenuItem\";\nexport const MenuItem = /*#__PURE__*/React.forwardRef(function MenuItem(props, forwardedRef) {\n  const {\n    id: idProp,\n    label,\n    nativeButton = false,\n    ...other\n  } = props;\n  const itemRef = React.useRef(null);\n  const listItem = useCompositeListItem({\n    label\n  });\n  const mergedRef = useMergedRefs(forwardedRef, listItem.ref, itemRef);\n  const {\n    itemProps,\n    activeIndex,\n    allowMouseUpTriggerRef,\n    typingRef\n  } = useMenuRootContext();\n  const id = useBaseUiId(idProp);\n  const highlighted = listItem.index === activeIndex;\n  const {\n    events: menuEvents\n  } = useFloatingTree();\n\n  // This wrapper component is used as a performance optimization.\n  // MenuItem reads the context and re-renders the actual MenuItem\n  // only when it needs to.\n\n  return /*#__PURE__*/_jsx(InnerMenuItem, {\n    ...other,\n    id: id,\n    ref: mergedRef,\n    highlighted: highlighted,\n    menuEvents: menuEvents,\n    itemProps: itemProps,\n    allowMouseUpTriggerRef: allowMouseUpTriggerRef,\n    typingRef: typingRef,\n    nativeButton: nativeButton\n  });\n});\nif (process.env.NODE_ENV !== \"production\") MenuItem.displayName = \"MenuItem\";","import type { LoaderTree } from '../lib/app-dir-module'\n\nexport const BUILTIN_PREFIX = '__next_builtin__'\n\nconst nextInternalPrefixRegex =\n  /^(.*[\\\\/])?next[\\\\/]dist[\\\\/]client[\\\\/]components[\\\\/]builtin[\\\\/]/\n\n/**\n * Normalize a file path to be relative to the project directory.\n * Handles Turbopack [project] prefix and monorepo setups.\n */\nexport function normalizeFilePath(\n  projectDir: string,\n  filePath: string | undefined\n): string {\n  // Turbopack project path is formed as: \"<project root>/<cwd>\".\n  // When project root is not the working directory, we can extract the relative project root path.\n  // This is mostly used for running Next.js inside a monorepo.\n  const cwd = process.env.NEXT_RUNTIME === 'edge' ? '' : process.cwd()\n  const relativeProjectRoot = projectDir.replace(cwd, '').replace(/^[\\\\/]/, '')\n\n  let relativePath = (filePath || '')\n    // remove turbopack [project] prefix\n    .replace(/^\\[project\\][\\\\/]?/, '')\n    // remove the project root from the path (absolute)\n    .replace(projectDir, '')\n    // remove cwd prefix (absolute)\n    .replace(cwd, '')\n    // normalize path separators and remove leading slash\n    .replace(/\\\\/g, '/')\n    .replace(/^\\//, '')\n\n  // remove relative project path prefix (e.g., \"test/e2e/app-dir/actions/\")\n  if (relativeProjectRoot && relativePath.startsWith(relativeProjectRoot)) {\n    relativePath = relativePath\n      .slice(relativeProjectRoot.length)\n      .replace(/^\\//, '')\n  }\n\n  // Handle case where filename is relative to a parent of projectDir\n  // (e.g., in tests where filename is \"test/tmp/next-test-XXX/app/page.js\"\n  // but projectDir is the test temp directory)\n  if (relativePath.includes('/')) {\n    const projectDirName = projectDir.split(/[\\\\/]/).pop() || ''\n    if (projectDirName) {\n      const projectDirWithSlash = projectDirName + '/'\n      const idx = relativePath.indexOf(projectDirWithSlash)\n      if (idx >= 0) {\n        relativePath = relativePath.slice(idx + projectDirWithSlash.length)\n      }\n    }\n  }\n\n  return relativePath\n}\n\nexport function normalizeConventionFilePath(\n  projectDir: string,\n  conventionPath: string | undefined\n) {\n  let relativePath = normalizeFilePath(projectDir, conventionPath)\n    // remove /(src/)?app/ dir prefix\n    .replace(/^(src\\/)?app\\//, '')\n\n  // If it's internal file only keep the filename, strip nextjs internal prefix\n  if (nextInternalPrefixRegex.test(relativePath)) {\n    relativePath = relativePath.replace(nextInternalPrefixRegex, '')\n    // Add a special prefix to let segment explorer know it's a built-in component\n    relativePath = `${BUILTIN_PREFIX}${relativePath}`\n  }\n\n  return relativePath\n}\n\n// if a filepath is a builtin file. e.g.\n// .../project/node_modules/next/dist/client/components/builtin/global-error.js -> true\n// .../project/app/global-error.js -> false\nexport const isNextjsBuiltinFilePath = (filePath: string) => {\n  return nextInternalPrefixRegex.test(filePath)\n}\n\nexport const BOUNDARY_SUFFIX = '@boundary'\nexport function normalizeBoundaryFilename(filename: string) {\n  return filename\n    .replace(new RegExp(`^${BUILTIN_PREFIX}`), '')\n    .replace(new RegExp(`${BOUNDARY_SUFFIX}$`), '')\n}\n\nexport const BOUNDARY_PREFIX = 'boundary:'\nexport function isBoundaryFile(fileType: string) {\n  return fileType.startsWith(BOUNDARY_PREFIX)\n}\n\n// if a filename is a builtin file.\n// __next_builtin__global-error.js -> true\n// page.js -> false\nexport function isBuiltinBoundaryFile(fileType: string) {\n  return fileType.startsWith(BUILTIN_PREFIX)\n}\n\nexport function getBoundaryOriginFileType(fileType: string) {\n  return fileType.replace(BOUNDARY_PREFIX, '')\n}\n\nexport function getConventionPathByType(\n  tree: LoaderTree,\n  dir: string,\n  conventionType:\n    | 'layout'\n    | 'template'\n    | 'page'\n    | 'not-found'\n    | 'error'\n    | 'loading'\n    | 'forbidden'\n    | 'unauthorized'\n    | 'defaultPage'\n    | 'global-error'\n) {\n  const modules = tree[2]\n  const conventionPath = modules[conventionType]\n    ? modules[conventionType][1]\n    : undefined\n  if (conventionPath) {\n    return normalizeConventionFilePath(dir, conventionPath)\n  }\n  return undefined\n}\n","import './segment-boundary-trigger.css'\nimport { useCallback, useState, useRef, useMemo } from 'react'\nimport { Menu } from '@base-ui-components/react/menu'\nimport { useDevOverlayContext } from '../../../dev-overlay.browser'\nimport type {\n  SegmentBoundaryType,\n  SegmentNodeState,\n} from '../../../userspace/app/segment-explorer-node'\nimport { normalizeBoundaryFilename } from '../../../../server/app-render/segment-explorer-path'\nimport { useClickOutsideAndEscape } from '../errors/dev-tools-indicator/utils'\n\nconst composeRefs = (...refs: (React.Ref<HTMLButtonElement> | undefined)[]) => {\n  return (node: HTMLButtonElement | null) => {\n    refs.forEach((ref) => {\n      if (typeof ref === 'function') {\n        ref(node)\n      } else if (ref) {\n        ref.current = node\n      }\n    })\n  }\n}\n\nexport function SegmentBoundaryTrigger({\n  nodeState,\n  boundaries,\n}: {\n  nodeState: SegmentNodeState\n  boundaries: Record<SegmentBoundaryType, string | null>\n}) {\n  const currNode = nodeState\n  const { pagePath, boundaryType, setBoundaryType: onSelectBoundary } = currNode\n\n  const [isOpen, setIsOpen] = useState(false)\n  const { shadowRoot } = useDevOverlayContext()\n  const triggerRef = useRef<HTMLButtonElement>(null)\n  const popupRef = useRef<HTMLDivElement>(null)\n\n  // Click outside of popup should close the menu\n  useClickOutsideAndEscape(\n    popupRef,\n    triggerRef,\n    isOpen,\n    () => {\n      setIsOpen(false)\n    },\n    // eslint-disable-next-line react-hooks/refs -- TODO\n    triggerRef.current?.ownerDocument\n  )\n\n  const firstDefinedBoundary = Object.values(boundaries).find((v) => v !== null)\n  const possibleExtension =\n    (firstDefinedBoundary || '').split('.').pop() || 'js'\n\n  const fileNames = useMemo(() => {\n    return Object.fromEntries(\n      Object.entries(boundaries).map(([key, filePath]) => {\n        const fileName = normalizeBoundaryFilename(\n          (filePath || '').split('/').pop() || `${key}.${possibleExtension}`\n        )\n        return [key, fileName]\n      })\n    ) as Record<keyof typeof boundaries, string>\n  }, [boundaries, possibleExtension])\n\n  const fileName = (pagePath || '').split('/').pop() || ''\n  const pageFileName = normalizeBoundaryFilename(\n    boundaryType\n      ? `page.${possibleExtension}`\n      : fileName || `page.${possibleExtension}`\n  )\n\n  const triggerOptions = [\n    {\n      label: fileNames.loading,\n      value: 'loading',\n      icon: <LoadingIcon />,\n      disabled: !boundaries.loading,\n    },\n    {\n      label: fileNames.error,\n      value: 'error',\n      icon: <ErrorIcon />,\n      disabled: !boundaries.error,\n    },\n    {\n      label: fileNames['not-found'],\n      value: 'not-found',\n      icon: <NotFoundIcon />,\n      disabled: !boundaries['not-found'],\n    },\n  ]\n\n  const resetOption = {\n    label: boundaryType ? 'Reset' : pageFileName,\n    value: 'reset',\n    icon: <ResetIcon />,\n    disabled: boundaryType === null,\n  }\n\n  const openInEditor = useCallback(({ filePath }: { filePath: string }) => {\n    const params = new URLSearchParams({\n      file: filePath,\n      isAppRelativePath: '1',\n    })\n    fetch(\n      `${\n        process.env.__NEXT_ROUTER_BASEPATH || ''\n      }/__nextjs_launch-editor?${params.toString()}`\n      // Log the failures to console, not track them as console errors in error overlay\n    ).catch(console.warn)\n  }, [])\n\n  const handleSelect = useCallback(\n    (value: string) => {\n      switch (value) {\n        case 'not-found':\n        case 'loading':\n        case 'error':\n          onSelectBoundary(value)\n          break\n        case 'reset':\n          onSelectBoundary(null)\n          break\n        case 'open-editor':\n          if (pagePath) {\n            openInEditor({ filePath: pagePath })\n          }\n          break\n        default:\n          break\n      }\n    },\n    [onSelectBoundary, pagePath, openInEditor]\n  )\n\n  const MergedRefTrigger = (\n    triggerProps: React.ComponentProps<'button'> & {\n      ref?: React.Ref<HTMLButtonElement>\n    }\n  ) => {\n    const mergedRef = composeRefs(triggerProps.ref, triggerRef)\n    return <Trigger {...triggerProps} ref={mergedRef} />\n  }\n\n  const hasBoundary = useMemo(() => {\n    const hasPageOrBoundary =\n      nodeState.type !== 'layout' && nodeState.type !== 'template'\n    return (\n      hasPageOrBoundary && Object.values(boundaries).some((v) => v !== null)\n    )\n  }, [nodeState.type, boundaries])\n\n  return (\n    <Menu.Root delay={0} modal={false} open={isOpen} onOpenChange={setIsOpen}>\n      <Menu.Trigger\n        className=\"segment-boundary-trigger\"\n        data-nextjs-dev-overlay-segment-boundary-trigger-button\n        render={MergedRefTrigger}\n        disabled={!hasBoundary}\n      />\n\n      <Menu.Portal container={shadowRoot}>\n        <Menu.Positioner\n          className=\"segment-boundary-dropdown-positioner\"\n          side=\"bottom\"\n          align=\"center\"\n          sideOffset={6}\n          arrowPadding={8}\n          ref={popupRef}\n        >\n          <Menu.Popup className=\"segment-boundary-dropdown\">\n            {\n              <Menu.Group>\n                <Menu.GroupLabel className=\"segment-boundary-group-label\">\n                  Toggle Overrides\n                </Menu.GroupLabel>\n                {triggerOptions.map((option) => (\n                  <Menu.Item\n                    key={option.value}\n                    className=\"segment-boundary-dropdown-item\"\n                    onClick={() => handleSelect(option.value)}\n                    disabled={option.disabled}\n                  >\n                    {option.icon}\n                    {option.label}\n                  </Menu.Item>\n                ))}\n              </Menu.Group>\n            }\n\n            <Menu.Group>\n              {\n                <Menu.Item\n                  key={resetOption.value}\n                  className=\"segment-boundary-dropdown-item\"\n                  onClick={() => handleSelect(resetOption.value)}\n                  disabled={resetOption.disabled}\n                >\n                  {resetOption.icon}\n                  {resetOption.label}\n                </Menu.Item>\n              }\n            </Menu.Group>\n          </Menu.Popup>\n        </Menu.Positioner>\n      </Menu.Portal>\n    </Menu.Root>\n  )\n}\n\nfunction LoadingIcon() {\n  return (\n    <svg\n      width=\"20px\"\n      height=\"20px\"\n      viewBox=\"0 0 20 20\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <g clipPath=\"url(#clip0_2759_1866)\">\n        <path\n          fillRule=\"evenodd\"\n          clipRule=\"evenodd\"\n          d=\"M10 3.5C13.5899 3.5 16.5 6.41015 16.5 10C16.5 13.5899 13.5899 16.5 10 16.5C6.41015 16.5 3.5 13.5899 3.5 10C3.5 6.41015 6.41015 3.5 10 3.5ZM2 10C2 14.4183 5.58172 18 10 18C14.4183 18 18 14.4183 18 10C18 5.58172 14.4183 2 10 2C5.58172 2 2 5.58172 2 10ZM10.75 9.62402V6H9.25V9.875C9.25 10.1898 9.39858 10.486 9.65039 10.6748L11.5498 12.0996L12.1504 12.5498L13.0498 11.3496L12.4502 10.9004L10.75 9.62402Z\"\n          fill=\"currentColor\"\n        />\n      </g>\n      <defs>\n        <clipPath id=\"clip0_2759_1866\">\n          <rect\n            width=\"16\"\n            height=\"16\"\n            fill=\"white\"\n            transform=\"translate(2 2)\"\n          />\n        </clipPath>\n      </defs>\n    </svg>\n  )\n}\n\nfunction ErrorIcon() {\n  return (\n    <svg\n      width=\"20\"\n      height=\"20\"\n      viewBox=\"0 0 20 20\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <g clipPath=\"url(#clip0_2759_1881)\">\n        <path\n          fillRule=\"evenodd\"\n          clipRule=\"evenodd\"\n          d=\"M3.5 7.30762V12.6924L7.30762 16.5H12.6924L16.5 12.6924V7.30762L12.6924 3.5H7.30762L3.5 7.30762ZM18 12.8994L17.9951 12.998C17.9724 13.2271 17.8712 13.4423 17.707 13.6064L13.6064 17.707L13.5332 17.7734C13.3806 17.8985 13.1944 17.9757 12.998 17.9951L12.8994 18H7.10059L7.00195 17.9951C6.80562 17.9757 6.6194 17.8985 6.4668 17.7734L6.39355 17.707L2.29297 13.6064C2.12883 13.4423 2.02756 13.2271 2.00488 12.998L2 12.8994V7.10059C2 6.83539 2.10546 6.58109 2.29297 6.39355L6.39355 2.29297C6.55771 2.12883 6.77294 2.02756 7.00195 2.00488L7.10059 2H12.8994L12.998 2.00488C13.2271 2.02756 13.4423 2.12883 13.6064 2.29297L17.707 6.39355C17.8945 6.58109 18 6.83539 18 7.10059V12.8994ZM9.25 5.75H10.75L10.75 10.75H9.25L9.25 5.75ZM10 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 10 12C9.44772 12 9 12.4477 9 13C9 13.5523 9.44772 14 10 14Z\"\n          fill=\"currentColor\"\n        />\n      </g>\n      <defs>\n        <clipPath id=\"clip0_2759_1881\">\n          <rect\n            width=\"16\"\n            height=\"16\"\n            fill=\"white\"\n            transform=\"translate(2 2)\"\n          />\n        </clipPath>\n      </defs>\n    </svg>\n  )\n}\n\nfunction NotFoundIcon() {\n  return (\n    <svg\n      width=\"20px\"\n      height=\"20px\"\n      viewBox=\"0 0 20 20\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M10.5586 2.5C11.1341 2.50004 11.6588 2.8294 11.9091 3.34766L17.8076 15.5654C18.1278 16.2292 17.6442 16.9997 16.9072 17H3.09274C2.35574 16.9997 1.8721 16.2292 2.19235 15.5654L8.09079 3.34766C8.34109 2.8294 8.86583 2.50004 9.44137 2.5H10.5586ZM3.89059 15.5H16.1093L10.5586 4H9.44137L3.89059 15.5ZM9.24997 6.75H10.75L10.75 10.75H9.24997L9.24997 6.75ZM9.99997 14C10.5523 14 11 13.5523 11 13C11 12.4477 10.5523 12 9.99997 12C9.44768 12 8.99997 12.4477 8.99997 13C8.99997 13.5523 9.44768 14 9.99997 14Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n\nfunction ResetIcon() {\n  return (\n    <svg\n      width=\"20\"\n      height=\"20\"\n      viewBox=\"0 0 20 20\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        d=\"M9.96484 3C13.8463 3.00018 17 6.13012 17 10C17 13.8699 13.8463 16.9998 9.96484 17C7.62404 17 5.54877 15.8617 4.27051 14.1123L3.82812 13.5068L5.03906 12.6221L5.48145 13.2275C6.48815 14.6053 8.12092 15.5 9.96484 15.5C13.0259 15.4998 15.5 13.0335 15.5 10C15.5 6.96654 13.0259 4.50018 9.96484 4.5C7.42905 4.5 5.29544 6.19429 4.63867 8.5H8V10H2.75C2.33579 10 2 9.66421 2 9.25V4H3.5V7.2373C4.57781 4.74376 7.06749 3 9.96484 3Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n\nfunction SwitchIcon(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg strokeLinejoin=\"round\" viewBox=\"0 0 16 16\" {...props}>\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M8.7071 2.39644C8.31658 2.00592 7.68341 2.00592 7.29289 2.39644L4.46966 5.21966L3.93933 5.74999L4.99999 6.81065L5.53032 6.28032L7.99999 3.81065L10.4697 6.28032L11 6.81065L12.0607 5.74999L11.5303 5.21966L8.7071 2.39644ZM5.53032 9.71966L4.99999 9.18933L3.93933 10.25L4.46966 10.7803L7.29289 13.6035C7.68341 13.9941 8.31658 13.9941 8.7071 13.6035L11.5303 10.7803L12.0607 10.25L11 9.18933L10.4697 9.71966L7.99999 12.1893L5.53032 9.71966Z\"\n        fill=\"currentColor\"\n      ></path>\n    </svg>\n  )\n}\n\nfunction Trigger(props: React.ComponentProps<'button'>) {\n  return (\n    <button {...props}>\n      <span className=\"segment-boundary-trigger-text\">\n        <SwitchIcon className=\"plus-icon\" />\n      </span>\n    </button>\n  )\n}\n","'use client';\n\nimport * as React from 'react';\nexport const TooltipRootContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipRootContext.displayName = \"TooltipRootContext\";\nexport function useTooltipRootContext() {\n  const context = React.useContext(TooltipRootContext);\n  if (context === undefined) {\n    throw new Error('Base UI: TooltipRootContext is missing. Tooltip parts must be placed within <Tooltip.Root>.');\n  }\n  return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.js\";\nimport { triggerOpenStateMapping } from \"../../utils/popupStateMapping.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\n\n/**\n * An element to attach the tooltip to.\n * Renders a `<button>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipTrigger = /*#__PURE__*/React.forwardRef(function TooltipTrigger(componentProps, forwardedRef) {\n  const {\n    className,\n    render,\n    ...elementProps\n  } = componentProps;\n  const {\n    open,\n    setTriggerElement,\n    triggerProps\n  } = useTooltipRootContext();\n  const state = React.useMemo(() => ({\n    open\n  }), [open]);\n  const element = useRenderElement('button', componentProps, {\n    state,\n    ref: [forwardedRef, setTriggerElement],\n    props: [triggerProps, elementProps],\n    customStyleHookMapping: triggerOpenStateMapping\n  });\n  return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipTrigger.displayName = \"TooltipTrigger\";","'use client';\n\nimport * as React from 'react';\nexport const TooltipPositionerContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipPositionerContext.displayName = \"TooltipPositionerContext\";\nexport function useTooltipPositionerContext() {\n  const context = React.useContext(TooltipPositionerContext);\n  if (context === undefined) {\n    throw new Error('Base UI: TooltipPositionerContext is missing. TooltipPositioner parts must be placed within <Tooltip.Positioner>.');\n  }\n  return context;\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipPositionerContext } from \"../positioner/TooltipPositionerContext.js\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\n\n/**\n * Displays an element positioned against the tooltip anchor.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipArrow = /*#__PURE__*/React.forwardRef(function TooltipArrow(componentProps, forwardedRef) {\n  const {\n    className,\n    render,\n    ...elementProps\n  } = componentProps;\n  const {\n    open,\n    arrowRef,\n    side,\n    align,\n    arrowUncentered,\n    arrowStyles\n  } = useTooltipPositionerContext();\n  const state = React.useMemo(() => ({\n    open,\n    side,\n    align,\n    uncentered: arrowUncentered\n  }), [open, side, align, arrowUncentered]);\n  const element = useRenderElement('div', componentProps, {\n    state,\n    ref: [forwardedRef, arrowRef],\n    props: [{\n      style: arrowStyles,\n      'aria-hidden': true\n    }, elementProps],\n    customStyleHookMapping: popupStateMapping\n  });\n  return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipArrow.displayName = \"TooltipArrow\";","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.js\";\nimport { useTooltipPositionerContext } from \"../positioner/TooltipPositionerContext.js\";\nimport { popupStateMapping as baseMapping } from \"../../utils/popupStateMapping.js\";\nimport { transitionStatusMapping } from \"../../utils/styleHookMapping.js\";\nimport { useOpenChangeComplete } from \"../../utils/useOpenChangeComplete.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { EMPTY_OBJECT, DISABLED_TRANSITIONS_STYLE } from \"../../utils/constants.js\";\nconst customStyleHookMapping = {\n  ...baseMapping,\n  ...transitionStatusMapping\n};\n\n/**\n * A container for the tooltip contents.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport const TooltipPopup = /*#__PURE__*/React.forwardRef(function TooltipPopup(componentProps, forwardedRef) {\n  const {\n    className,\n    render,\n    ...elementProps\n  } = componentProps;\n  const {\n    open,\n    instantType,\n    transitionStatus,\n    popupProps,\n    popupRef,\n    onOpenChangeComplete\n  } = useTooltipRootContext();\n  const {\n    side,\n    align\n  } = useTooltipPositionerContext();\n  useOpenChangeComplete({\n    open,\n    ref: popupRef,\n    onComplete() {\n      if (open) {\n        onOpenChangeComplete?.(true);\n      }\n    }\n  });\n  const state = React.useMemo(() => ({\n    open,\n    side,\n    align,\n    instant: instantType,\n    transitionStatus\n  }), [open, side, align, instantType, transitionStatus]);\n  const element = useRenderElement('div', componentProps, {\n    state,\n    ref: [forwardedRef, popupRef],\n    props: [popupProps, transitionStatus === 'starting' ? DISABLED_TRANSITIONS_STYLE : EMPTY_OBJECT, elementProps],\n    customStyleHookMapping\n  });\n  return element;\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPopup.displayName = \"TooltipPopup\";","import * as React from 'react';\nexport const TooltipPortalContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipPortalContext.displayName = \"TooltipPortalContext\";\nexport function useTooltipPortalContext() {\n  const value = React.useContext(TooltipPortalContext);\n  if (value === undefined) {\n    throw new Error('Base UI: <Tooltip.Portal> is missing.');\n  }\n  return value;\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.js\";\nimport { TooltipPositionerContext } from \"./TooltipPositionerContext.js\";\nimport { useAnchorPositioning } from \"../../utils/useAnchorPositioning.js\";\nimport { popupStateMapping } from \"../../utils/popupStateMapping.js\";\nimport { useTooltipPortalContext } from \"../portal/TooltipPortalContext.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { POPUP_COLLISION_AVOIDANCE } from \"../../utils/constants.js\";\n\n/**\n * Positions the tooltip against the trigger.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const TooltipPositioner = /*#__PURE__*/React.forwardRef(function TooltipPositioner(componentProps, forwardedRef) {\n  const {\n    render,\n    className,\n    anchor,\n    positionMethod = 'absolute',\n    side = 'top',\n    align = 'center',\n    sideOffset = 0,\n    alignOffset = 0,\n    collisionBoundary = 'clipping-ancestors',\n    collisionPadding = 5,\n    arrowPadding = 5,\n    sticky = false,\n    trackAnchor = true,\n    collisionAvoidance = POPUP_COLLISION_AVOIDANCE,\n    ...elementProps\n  } = componentProps;\n  const {\n    open,\n    setPositionerElement,\n    mounted,\n    floatingRootContext,\n    trackCursorAxis,\n    hoverable\n  } = useTooltipRootContext();\n  const keepMounted = useTooltipPortalContext();\n  const positioning = useAnchorPositioning({\n    anchor,\n    positionMethod,\n    floatingRootContext,\n    mounted,\n    side,\n    sideOffset,\n    align,\n    alignOffset,\n    collisionBoundary,\n    collisionPadding,\n    sticky,\n    arrowPadding,\n    trackAnchor,\n    keepMounted,\n    collisionAvoidance\n  });\n  const defaultProps = React.useMemo(() => {\n    const hiddenStyles = {};\n    if (!open || trackCursorAxis === 'both' || !hoverable) {\n      hiddenStyles.pointerEvents = 'none';\n    }\n    return {\n      role: 'presentation',\n      hidden: !mounted,\n      style: {\n        ...positioning.positionerStyles,\n        ...hiddenStyles\n      }\n    };\n  }, [open, trackCursorAxis, hoverable, mounted, positioning.positionerStyles]);\n  const positioner = React.useMemo(() => ({\n    props: defaultProps,\n    ...positioning\n  }), [defaultProps, positioning]);\n  const state = React.useMemo(() => ({\n    open,\n    side: positioner.side,\n    align: positioner.align,\n    anchorHidden: positioner.anchorHidden\n  }), [open, positioner.side, positioner.align, positioner.anchorHidden]);\n  const contextValue = React.useMemo(() => ({\n    ...state,\n    arrowRef: positioner.arrowRef,\n    arrowStyles: positioner.arrowStyles,\n    arrowUncentered: positioner.arrowUncentered\n  }), [state, positioner.arrowRef, positioner.arrowStyles, positioner.arrowUncentered]);\n  const element = useRenderElement('div', componentProps, {\n    state,\n    props: [positioner.props, elementProps],\n    ref: [forwardedRef, setPositionerElement],\n    customStyleHookMapping: popupStateMapping\n  });\n  return /*#__PURE__*/_jsx(TooltipPositionerContext.Provider, {\n    value: contextValue,\n    children: element\n  });\n});\nif (process.env.NODE_ENV !== \"production\") TooltipPositioner.displayName = \"TooltipPositioner\";","'use client';\n\nimport * as ReactDOM from 'react-dom';\nimport { useFloatingPortalNode } from \"../floating-ui-react/index.js\";\n\n/**\n * `FloatingPortal` includes tabbable logic handling for focus management.\n * For components that don't need tabbable logic, use `FloatingPortalLite`.\n * @internal\n */\nexport function FloatingPortalLite(props) {\n  const node = useFloatingPortalNode({\n    root: props.root\n  });\n  return node && /*#__PURE__*/ReactDOM.createPortal(props.children, node);\n}","'use client';\n\nimport * as React from 'react';\nimport { useTooltipRootContext } from \"../root/TooltipRootContext.js\";\nimport { TooltipPortalContext } from \"./TooltipPortalContext.js\";\nimport { FloatingPortalLite } from \"../../utils/FloatingPortalLite.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\n/**\n * A portal element that moves the popup to a different part of the DOM.\n * By default, the portal element is appended to `<body>`.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nexport function TooltipPortal(props) {\n  const {\n    children,\n    keepMounted = false,\n    container\n  } = props;\n  const {\n    mounted\n  } = useTooltipRootContext();\n  const shouldRender = mounted || keepMounted;\n  if (!shouldRender) {\n    return null;\n  }\n  return /*#__PURE__*/_jsx(TooltipPortalContext.Provider, {\n    value: keepMounted,\n    children: /*#__PURE__*/_jsx(FloatingPortalLite, {\n      root: container,\n      children: children\n    })\n  });\n}","import * as React from 'react';\nimport { useTimeout, Timeout } from '@base-ui-components/utils/useTimeout';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { getDelay } from \"../hooks/useHover.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst FloatingDelayGroupContext = /*#__PURE__*/React.createContext({\n  hasProvider: false,\n  timeoutMs: 0,\n  delayRef: {\n    current: 0\n  },\n  initialDelayRef: {\n    current: 0\n  },\n  timeout: new Timeout(),\n  currentIdRef: {\n    current: null\n  },\n  currentContextRef: {\n    current: null\n  }\n});\nif (process.env.NODE_ENV !== \"production\") FloatingDelayGroupContext.displayName = \"FloatingDelayGroupContext\";\n/**\n * Experimental next version of `FloatingDelayGroup` to become the default\n * in the future. This component is not yet stable.\n * Provides context for a group of floating elements that should share a\n * `delay`. Unlike `FloatingDelayGroup`, `useDelayGroup` with this\n * component does not cause a re-render of unrelated consumers of the\n * context when the delay changes.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n * @internal\n */\nexport function FloatingDelayGroup(props) {\n  const {\n    children,\n    delay,\n    timeoutMs = 0\n  } = props;\n  const delayRef = React.useRef(delay);\n  const initialDelayRef = React.useRef(delay);\n  const currentIdRef = React.useRef(null);\n  const currentContextRef = React.useRef(null);\n  const timeout = useTimeout();\n  return /*#__PURE__*/_jsx(FloatingDelayGroupContext.Provider, {\n    value: React.useMemo(() => ({\n      hasProvider: true,\n      delayRef,\n      initialDelayRef,\n      currentIdRef,\n      timeoutMs,\n      currentContextRef,\n      timeout\n    }), [timeoutMs, timeout]),\n    children: children\n  });\n}\n/**\n * Enables grouping when called inside a component that's a child of a\n * `FloatingDelayGroup`.\n * @see https://floating-ui.com/docs/FloatingDelayGroup\n * @internal\n */\nexport function useDelayGroup(context, options = {}) {\n  const {\n    open,\n    onOpenChange,\n    floatingId\n  } = context;\n  const {\n    enabled = true\n  } = options;\n  const groupContext = React.useContext(FloatingDelayGroupContext);\n  const {\n    currentIdRef,\n    delayRef,\n    timeoutMs,\n    initialDelayRef,\n    currentContextRef,\n    hasProvider,\n    timeout\n  } = groupContext;\n  const [isInstantPhase, setIsInstantPhase] = React.useState(false);\n  useIsoLayoutEffect(() => {\n    function unset() {\n      setIsInstantPhase(false);\n      currentContextRef.current?.setIsInstantPhase(false);\n      currentIdRef.current = null;\n      currentContextRef.current = null;\n      delayRef.current = initialDelayRef.current;\n    }\n    if (!enabled) {\n      return undefined;\n    }\n    if (!currentIdRef.current) {\n      return undefined;\n    }\n    if (!open && currentIdRef.current === floatingId) {\n      setIsInstantPhase(false);\n      if (timeoutMs) {\n        timeout.start(timeoutMs, unset);\n        return () => {\n          timeout.clear();\n        };\n      }\n      unset();\n    }\n    return undefined;\n  }, [enabled, open, floatingId, currentIdRef, delayRef, timeoutMs, initialDelayRef, currentContextRef, timeout]);\n  useIsoLayoutEffect(() => {\n    if (!enabled) {\n      return;\n    }\n    if (!open) {\n      return;\n    }\n    const prevContext = currentContextRef.current;\n    const prevId = currentIdRef.current;\n    currentContextRef.current = {\n      onOpenChange,\n      setIsInstantPhase\n    };\n    currentIdRef.current = floatingId;\n    delayRef.current = {\n      open: 0,\n      close: getDelay(initialDelayRef.current, 'close')\n    };\n    if (prevId !== null && prevId !== floatingId) {\n      timeout.clear();\n      setIsInstantPhase(true);\n      prevContext?.setIsInstantPhase(true);\n      prevContext?.onOpenChange(false);\n    } else {\n      setIsInstantPhase(false);\n      prevContext?.setIsInstantPhase(false);\n    }\n  }, [enabled, open, floatingId, onOpenChange, currentIdRef, delayRef, timeoutMs, initialDelayRef, currentContextRef, timeout]);\n  useIsoLayoutEffect(() => {\n    return () => {\n      currentContextRef.current = null;\n    };\n  }, [currentContextRef]);\n  return React.useMemo(() => ({\n    hasProvider,\n    delayRef,\n    isInstantPhase\n  }), [hasProvider, delayRef, isInstantPhase]);\n}","import * as React from 'react';\nexport const TooltipProviderContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") TooltipProviderContext.displayName = \"TooltipProviderContext\";\nexport function useTooltipProviderContext() {\n  return React.useContext(TooltipProviderContext);\n}","'use client';\n\nimport * as React from 'react';\nimport { FloatingDelayGroup } from \"../../floating-ui-react/index.js\";\nimport { TooltipProviderContext } from \"./TooltipProviderContext.js\";\n\n/**\n * Provides a shared delay for multiple tooltips. The grouping logic ensures that\n * once a tooltip becomes visible, the adjacent tooltips will be shown instantly.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport const TooltipProvider = function TooltipProvider(props) {\n  const {\n    delay,\n    closeDelay,\n    timeout = 400\n  } = props;\n  const contextValue = React.useMemo(() => ({\n    delay,\n    closeDelay\n  }), [delay, closeDelay]);\n  const delayValue = React.useMemo(() => ({\n    open: delay,\n    close: closeDelay\n  }), [delay, closeDelay]);\n  return /*#__PURE__*/_jsx(TooltipProviderContext.Provider, {\n    value: contextValue,\n    children: /*#__PURE__*/_jsx(FloatingDelayGroup, {\n      delay: delayValue,\n      timeoutMs: timeout,\n      children: props.children\n    })\n  });\n};\nif (process.env.NODE_ENV !== \"production\") TooltipProvider.displayName = \"TooltipProvider\";","import * as React from 'react';\nimport { getWindow } from '@floating-ui/utils/dom';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { useIsoLayoutEffect } from '@base-ui-components/utils/useIsoLayoutEffect';\nimport { contains, getTarget, isMouseLikePointerType } from \"../utils.js\";\nfunction createVirtualElement(domElement, data) {\n  let offsetX = null;\n  let offsetY = null;\n  let isAutoUpdateEvent = false;\n  return {\n    contextElement: domElement || undefined,\n    getBoundingClientRect() {\n      const domRect = domElement?.getBoundingClientRect() || {\n        width: 0,\n        height: 0,\n        x: 0,\n        y: 0\n      };\n      const isXAxis = data.axis === 'x' || data.axis === 'both';\n      const isYAxis = data.axis === 'y' || data.axis === 'both';\n      const canTrackCursorOnAutoUpdate = ['mouseenter', 'mousemove'].includes(data.dataRef.current.openEvent?.type || '') && data.pointerType !== 'touch';\n      let width = domRect.width;\n      let height = domRect.height;\n      let x = domRect.x;\n      let y = domRect.y;\n      if (offsetX == null && data.x && isXAxis) {\n        offsetX = domRect.x - data.x;\n      }\n      if (offsetY == null && data.y && isYAxis) {\n        offsetY = domRect.y - data.y;\n      }\n      x -= offsetX || 0;\n      y -= offsetY || 0;\n      width = 0;\n      height = 0;\n      if (!isAutoUpdateEvent || canTrackCursorOnAutoUpdate) {\n        width = data.axis === 'y' ? domRect.width : 0;\n        height = data.axis === 'x' ? domRect.height : 0;\n        x = isXAxis && data.x != null ? data.x : x;\n        y = isYAxis && data.y != null ? data.y : y;\n      } else if (isAutoUpdateEvent && !canTrackCursorOnAutoUpdate) {\n        height = data.axis === 'x' ? domRect.height : height;\n        width = data.axis === 'y' ? domRect.width : width;\n      }\n      isAutoUpdateEvent = true;\n      return {\n        width,\n        height,\n        x,\n        y,\n        top: y,\n        right: x + width,\n        bottom: y + height,\n        left: x\n      };\n    }\n  };\n}\nfunction isMouseBasedEvent(event) {\n  return event != null && event.clientX != null;\n}\n/**\n * Positions the floating element relative to a client point (in the viewport),\n * such as the mouse position. By default, it follows the mouse cursor.\n * @see https://floating-ui.com/docs/useClientPoint\n */\nexport function useClientPoint(context, props = {}) {\n  const {\n    open,\n    dataRef,\n    elements: {\n      floating,\n      domReference\n    },\n    refs\n  } = context;\n  const {\n    enabled = true,\n    axis = 'both',\n    x = null,\n    y = null\n  } = props;\n  const initialRef = React.useRef(false);\n  const cleanupListenerRef = React.useRef(null);\n  const [pointerType, setPointerType] = React.useState();\n  const [reactive, setReactive] = React.useState([]);\n  const setReference = useEventCallback((newX, newY) => {\n    if (initialRef.current) {\n      return;\n    }\n\n    // Prevent setting if the open event was not a mouse-like one\n    // (e.g. focus to open, then hover over the reference element).\n    // Only apply if the event exists.\n    if (dataRef.current.openEvent && !isMouseBasedEvent(dataRef.current.openEvent)) {\n      return;\n    }\n    refs.setPositionReference(createVirtualElement(domReference, {\n      x: newX,\n      y: newY,\n      axis,\n      dataRef,\n      pointerType\n    }));\n  });\n  const handleReferenceEnterOrMove = useEventCallback(event => {\n    if (x != null || y != null) {\n      return;\n    }\n    if (!open) {\n      setReference(event.clientX, event.clientY);\n    } else if (!cleanupListenerRef.current) {\n      // If there's no cleanup, there's no listener, but we want to ensure\n      // we add the listener if the cursor landed on the floating element and\n      // then back on the reference (i.e. it's interactive).\n      setReactive([]);\n    }\n  });\n\n  // If the pointer is a mouse-like pointer, we want to continue following the\n  // mouse even if the floating element is transitioning out. On touch\n  // devices, this is undesirable because the floating element will move to\n  // the dismissal touch point.\n  const openCheck = isMouseLikePointerType(pointerType) ? floating : open;\n  const addListener = React.useCallback(() => {\n    // Explicitly specified `x`/`y` coordinates shouldn't add a listener.\n    if (!openCheck || !enabled || x != null || y != null) {\n      return undefined;\n    }\n    const win = getWindow(floating);\n    function handleMouseMove(event) {\n      const target = getTarget(event);\n      if (!contains(floating, target)) {\n        setReference(event.clientX, event.clientY);\n      } else {\n        win.removeEventListener('mousemove', handleMouseMove);\n        cleanupListenerRef.current = null;\n      }\n    }\n    if (!dataRef.current.openEvent || isMouseBasedEvent(dataRef.current.openEvent)) {\n      win.addEventListener('mousemove', handleMouseMove);\n      const cleanup = () => {\n        win.removeEventListener('mousemove', handleMouseMove);\n        cleanupListenerRef.current = null;\n      };\n      cleanupListenerRef.current = cleanup;\n      return cleanup;\n    }\n    refs.setPositionReference(domReference);\n    return undefined;\n  }, [openCheck, enabled, x, y, floating, dataRef, refs, domReference, setReference]);\n  React.useEffect(() => {\n    return addListener();\n  }, [addListener, reactive]);\n  React.useEffect(() => {\n    if (enabled && !floating) {\n      initialRef.current = false;\n    }\n  }, [enabled, floating]);\n  React.useEffect(() => {\n    if (!enabled && open) {\n      initialRef.current = true;\n    }\n  }, [enabled, open]);\n  useIsoLayoutEffect(() => {\n    if (enabled && (x != null || y != null)) {\n      initialRef.current = false;\n      setReference(x, y);\n    }\n  }, [enabled, x, y, setReference]);\n  const reference = React.useMemo(() => {\n    function setPointerTypeRef(event) {\n      setPointerType(event.pointerType);\n    }\n    return {\n      onPointerDown: setPointerTypeRef,\n      onPointerEnter: setPointerTypeRef,\n      onMouseMove: handleReferenceEnterOrMove,\n      onMouseEnter: handleReferenceEnterOrMove\n    };\n  }, [handleReferenceEnterOrMove]);\n  return React.useMemo(() => enabled ? {\n    reference\n  } : {}, [enabled, reference]);\n}","'use client';\n\nimport * as React from 'react';\nimport * as ReactDOM from 'react-dom';\nimport { useControlled } from '@base-ui-components/utils/useControlled';\nimport { useEventCallback } from '@base-ui-components/utils/useEventCallback';\nimport { TooltipRootContext } from \"./TooltipRootContext.js\";\nimport { useClientPoint, useDelayGroup, useDismiss, useFloatingRootContext, useFocus, useHover, useInteractions, safePolygon } from \"../../floating-ui-react/index.js\";\nimport { useTransitionStatus } from \"../../utils/useTransitionStatus.js\";\nimport { OPEN_DELAY } from \"../utils/constants.js\";\nimport { translateOpenChangeReason } from \"../../utils/translateOpenChangeReason.js\";\nimport { useOpenChangeComplete } from \"../../utils/useOpenChangeComplete.js\";\nimport { useTooltipProviderContext } from \"../provider/TooltipProviderContext.js\";\n\n/**\n * Groups all parts of the tooltip.\n * Doesn’t render its own HTML element.\n *\n * Documentation: [Base UI Tooltip](https://base-ui.com/react/components/tooltip)\n */\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function TooltipRoot(props) {\n  const {\n    disabled = false,\n    defaultOpen = false,\n    onOpenChange,\n    open: openProp,\n    delay,\n    closeDelay,\n    hoverable = true,\n    trackCursorAxis = 'none',\n    actionsRef,\n    onOpenChangeComplete\n  } = props;\n  const delayWithDefault = delay ?? OPEN_DELAY;\n  const closeDelayWithDefault = closeDelay ?? 0;\n  const [triggerElement, setTriggerElement] = React.useState(null);\n  const [positionerElement, setPositionerElement] = React.useState(null);\n  const [instantTypeState, setInstantTypeState] = React.useState();\n  const popupRef = React.useRef(null);\n  const [openState, setOpenState] = useControlled({\n    controlled: openProp,\n    default: defaultOpen,\n    name: 'Tooltip',\n    state: 'open'\n  });\n  const open = !disabled && openState;\n  function setOpenUnwrapped(nextOpen, event, reason) {\n    const isHover = reason === 'trigger-hover';\n    const isFocusOpen = nextOpen && reason === 'trigger-focus';\n    const isDismissClose = !nextOpen && (reason === 'trigger-press' || reason === 'escape-key');\n    function changeState() {\n      onOpenChange?.(nextOpen, event, reason);\n      setOpenState(nextOpen);\n    }\n    if (isHover) {\n      // If a hover reason is provided, we need to flush the state synchronously. This ensures\n      // `node.getAnimations()` knows about the new state.\n      ReactDOM.flushSync(changeState);\n    } else {\n      changeState();\n    }\n    if (isFocusOpen || isDismissClose) {\n      setInstantTypeState(isFocusOpen ? 'focus' : 'dismiss');\n    } else if (reason === 'trigger-hover') {\n      setInstantTypeState(undefined);\n    }\n  }\n  const setOpen = useEventCallback(setOpenUnwrapped);\n  if (openState && disabled) {\n    setOpenUnwrapped(false, undefined, 'disabled');\n  }\n  const {\n    mounted,\n    setMounted,\n    transitionStatus\n  } = useTransitionStatus(open);\n  const handleUnmount = useEventCallback(() => {\n    setMounted(false);\n    onOpenChangeComplete?.(false);\n  });\n  useOpenChangeComplete({\n    enabled: !actionsRef,\n    open,\n    ref: popupRef,\n    onComplete() {\n      if (!open) {\n        handleUnmount();\n      }\n    }\n  });\n  React.useImperativeHandle(actionsRef, () => ({\n    unmount: handleUnmount\n  }), [handleUnmount]);\n  const floatingRootContext = useFloatingRootContext({\n    elements: {\n      reference: triggerElement,\n      floating: positionerElement\n    },\n    open,\n    onOpenChange(openValue, eventValue, reasonValue) {\n      setOpen(openValue, eventValue, translateOpenChangeReason(reasonValue));\n    }\n  });\n  const providerContext = useTooltipProviderContext();\n  const {\n    delayRef,\n    isInstantPhase,\n    hasProvider\n  } = useDelayGroup(floatingRootContext);\n  const instantType = isInstantPhase ? 'delay' : instantTypeState;\n  const hover = useHover(floatingRootContext, {\n    enabled: !disabled,\n    mouseOnly: true,\n    move: false,\n    handleClose: hoverable && trackCursorAxis !== 'both' ? safePolygon() : null,\n    restMs() {\n      const providerDelay = providerContext?.delay;\n      const groupOpenValue = typeof delayRef.current === 'object' ? delayRef.current.open : undefined;\n      let computedRestMs = delayWithDefault;\n      if (hasProvider) {\n        if (groupOpenValue !== 0) {\n          computedRestMs = delay ?? providerDelay ?? delayWithDefault;\n        } else {\n          computedRestMs = 0;\n        }\n      }\n      return computedRestMs;\n    },\n    delay() {\n      const closeValue = typeof delayRef.current === 'object' ? delayRef.current.close : undefined;\n      let computedCloseDelay = closeDelayWithDefault;\n      if (closeDelay == null && hasProvider) {\n        computedCloseDelay = closeValue;\n      }\n      return {\n        close: computedCloseDelay\n      };\n    }\n  });\n  const focus = useFocus(floatingRootContext, {\n    enabled: !disabled\n  });\n  const dismiss = useDismiss(floatingRootContext, {\n    enabled: !disabled,\n    referencePress: true\n  });\n  const clientPoint = useClientPoint(floatingRootContext, {\n    enabled: !disabled && trackCursorAxis !== 'none',\n    axis: trackCursorAxis === 'none' ? undefined : trackCursorAxis\n  });\n  const {\n    getReferenceProps,\n    getFloatingProps\n  } = useInteractions([hover, focus, dismiss, clientPoint]);\n  const tooltipRoot = React.useMemo(() => ({\n    open,\n    setOpen,\n    mounted,\n    setMounted,\n    setTriggerElement,\n    positionerElement,\n    setPositionerElement,\n    popupRef,\n    triggerProps: getReferenceProps(),\n    popupProps: getFloatingProps(),\n    floatingRootContext,\n    instantType,\n    transitionStatus,\n    onOpenChangeComplete\n  }), [open, setOpen, mounted, setMounted, setTriggerElement, positionerElement, setPositionerElement, popupRef, getReferenceProps, getFloatingProps, floatingRootContext, instantType, transitionStatus, onOpenChangeComplete]);\n  const contextValue = React.useMemo(() => ({\n    ...tooltipRoot,\n    delay: delayWithDefault,\n    closeDelay: closeDelayWithDefault,\n    trackCursorAxis,\n    hoverable\n  }), [tooltipRoot, delayWithDefault, closeDelayWithDefault, trackCursorAxis, hoverable]);\n  return /*#__PURE__*/_jsx(TooltipRootContext.Provider, {\n    value: contextValue,\n    children: props.children\n  });\n}","export const OPEN_DELAY = 600;","\n      import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n      import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./tooltip.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./tooltip.css\";\n       export default content && content.locals ? content.locals : undefined;\n","import { forwardRef } from 'react'\nimport { Tooltip as BaseTooltip } from '@base-ui-components/react/tooltip'\nimport { useDevOverlayContext } from '../../../dev-overlay.browser'\nimport { cx } from '../../utils/cx'\nimport './tooltip.css'\n\ntype TooltipDirection = 'top' | 'bottom' | 'left' | 'right'\n\ninterface TooltipProps {\n  children: React.ReactNode\n  title: string | null\n  direction?: TooltipDirection\n  arrowSize?: number\n  offset?: number\n  className?: string\n}\n\nexport const Tooltip = forwardRef<HTMLDivElement, TooltipProps>(\n  function Tooltip(\n    {\n      className,\n      children,\n      title,\n      direction = 'top',\n      arrowSize = 6,\n      offset = 8,\n    },\n    ref\n  ) {\n    const { shadowRoot } = useDevOverlayContext()\n    if (!title) {\n      return children\n    }\n    return (\n      <BaseTooltip.Provider>\n        <BaseTooltip.Root delay={400}>\n          <BaseTooltip.Trigger\n            ref={ref}\n            render={(triggerProps) => {\n              return <span {...triggerProps}>{children}</span>\n            }}\n          />\n\n          <BaseTooltip.Portal container={shadowRoot}>\n            <BaseTooltip.Positioner\n              side={direction}\n              sideOffset={offset + arrowSize}\n              className=\"tooltip-positioner\"\n              style={\n                {\n                  '--anchor-width': `${arrowSize}px`,\n                  '--anchor-height': `${arrowSize}px`,\n                } as React.CSSProperties\n              }\n            >\n              <BaseTooltip.Popup\n                className={cx('tooltip', className)}\n                style={\n                  {\n                    '--arrow-size': `${arrowSize}px`,\n                  } as React.CSSProperties\n                }\n              >\n                {title}\n                <BaseTooltip.Arrow\n                  className={cx('tooltip-arrow', `tooltip-arrow--${direction}`)}\n                  style={\n                    {\n                      '--arrow-size': `${arrowSize}px`,\n                    } as React.CSSProperties\n                  }\n                />\n              </BaseTooltip.Popup>\n            </BaseTooltip.Positioner>\n          </BaseTooltip.Portal>\n        </BaseTooltip.Root>\n      </BaseTooltip.Provider>\n    )\n  }\n)\n","import { Tooltip } from '../tooltip/tooltip'\nimport { InfoIcon } from './segment-explorer'\n\nexport function SegmentSuggestion({\n  possibleExtension,\n  missingGlobalError,\n}: {\n  possibleExtension: string\n  missingGlobalError: boolean\n}) {\n  const tooltip = missingGlobalError\n    ? `No global-error.${possibleExtension} found: Add one to ensure users see a helpful message when an unexpected error occurs.`\n    : null\n  return (\n    <span className=\"segment-explorer-suggestions\">\n      <Tooltip className=\"segment-explorer-suggestions-tooltip\" title={tooltip}>\n        <InfoIcon />\n      </Tooltip>\n    </span>\n  )\n}\n","import './segment-explorer.css'\nimport {\n  useSegmentTree,\n  type SegmentTrieNode,\n} from '../../segment-explorer-trie'\nimport { cx } from '../../utils/cx'\nimport { SegmentBoundaryTrigger } from './segment-boundary-trigger'\nimport { Tooltip } from '../tooltip/tooltip'\nimport { useCallback, useMemo } from 'react'\nimport {\n  BUILTIN_PREFIX,\n  getBoundaryOriginFileType,\n  isBoundaryFile,\n  isBuiltinBoundaryFile,\n  normalizeBoundaryFilename,\n} from '../../../../server/app-render/segment-explorer-path'\nimport { SegmentSuggestion } from './segment-suggestion'\nimport type { SegmentBoundaryType } from '../../../userspace/app/segment-explorer-node'\n\nconst isFileNode = (node: SegmentTrieNode) => {\n  return !!node.value?.type && !!node.value?.pagePath\n}\n\n// Utility functions for global boundary management\nfunction traverseTreeAndResetBoundaries(node: SegmentTrieNode) {\n  // Reset this node's boundary if it has setBoundaryType function\n  if (node.value?.setBoundaryType) {\n    node.value.setBoundaryType(null)\n  }\n\n  // Recursively traverse children\n  Object.values(node.children).forEach((child) => {\n    if (child) {\n      traverseTreeAndResetBoundaries(child)\n    }\n  })\n}\n\nfunction countActiveBoundaries(node: SegmentTrieNode): number {\n  let count = 0\n\n  // Count this node's boundary override if it's active\n  // Only count when there's a non \":boundary\" type and it has an active override (boundaryType is not null)\n  // This means the file is showing an overridden boundary instead of its original file\n  if (\n    node.value?.setBoundaryType &&\n    node.value.boundaryType !== null &&\n    !isBoundaryFile(node.value.type)\n  ) {\n    count++\n  }\n\n  // Recursively count children\n  Object.values(node.children).forEach((child) => {\n    if (child) {\n      count += countActiveBoundaries(child)\n    }\n  })\n\n  return count\n}\n\nfunction PageRouteBar({ page }: { page: string }) {\n  return (\n    <div className=\"segment-explorer-page-route-bar\">\n      <BackArrowIcon />\n      <span className=\"segment-explorer-page-route-bar-path\">{page}</span>\n    </div>\n  )\n}\n\nfunction SegmentExplorerFooter({\n  activeBoundariesCount,\n  onGlobalReset,\n}: {\n  activeBoundariesCount: number\n  onGlobalReset: () => void\n}) {\n  const hasActiveOverrides = activeBoundariesCount > 0\n\n  return (\n    <div className=\"segment-explorer-footer\">\n      <button\n        className={`segment-explorer-footer-button ${!hasActiveOverrides ? 'segment-explorer-footer-button--disabled' : ''}`}\n        onClick={hasActiveOverrides ? onGlobalReset : undefined}\n        disabled={!hasActiveOverrides}\n        type=\"button\"\n      >\n        <span className=\"segment-explorer-footer-text\">\n          Clear Segment Overrides\n        </span>\n        {hasActiveOverrides && (\n          <span className=\"segment-explorer-footer-badge\">\n            {activeBoundariesCount}\n          </span>\n        )}\n      </button>\n    </div>\n  )\n}\n\nfunction FilePill({\n  type,\n  isBuiltin,\n  isOverridden,\n  filePath,\n  fileName,\n}: {\n  type: string\n  isBuiltin: boolean\n  isOverridden: boolean\n  filePath: string\n  fileName: string\n}) {\n  return (\n    <button\n      type=\"button\"\n      className={cx(\n        'segment-explorer-file-label',\n        `segment-explorer-file-label--${type}`,\n        isBuiltin && 'segment-explorer-file-label--builtin',\n        isOverridden && 'segment-explorer-file-label--overridden'\n      )}\n      aria-label={`Open ${fileName} in editor`}\n      onClick={() => {\n        openInEditor({ filePath })\n      }}\n    >\n      <span className=\"segment-explorer-file-label-text\">{fileName}</span>\n      {isBuiltin ? (\n        <InfoIcon aria-hidden />\n      ) : (\n        <CodeIcon className=\"code-icon\" aria-hidden />\n      )}\n    </button>\n  )\n}\n\nexport function PageSegmentTree({ page }: { page: string }) {\n  const tree = useSegmentTree()\n\n  // Count active boundaries for the badge\n  const activeBoundariesCount = useMemo(() => {\n    return countActiveBoundaries(tree)\n  }, [tree])\n\n  // Global reset handler\n  const handleGlobalReset = useCallback(() => {\n    traverseTreeAndResetBoundaries(tree)\n  }, [tree])\n\n  return (\n    <div\n      data-nextjs-devtools-panel-segments-explorer\n      style={{\n        display: 'flex',\n        flexDirection: 'column',\n        height: '100%',\n      }}\n    >\n      <PageRouteBar page={page} />\n      <div\n        className=\"segment-explorer-content\"\n        data-nextjs-devtool-segment-explorer\n        style={{\n          flex: '1 1 auto',\n          overflow: 'auto',\n        }}\n      >\n        <PageSegmentTreeLayerPresentation node={tree} level={0} segment=\"\" />\n      </div>\n      <SegmentExplorerFooter\n        activeBoundariesCount={activeBoundariesCount}\n        onGlobalReset={handleGlobalReset}\n      />\n    </div>\n  )\n}\n\nconst GLOBAL_ERROR_BOUNDARY_TYPE = 'global-error'\n\nfunction PageSegmentTreeLayerPresentation({\n  segment,\n  node,\n  level,\n}: {\n  segment: string\n  node: SegmentTrieNode\n  level: number\n}) {\n  const childrenKeys = useMemo(\n    () => Object.keys(node.children),\n    [node.children]\n  )\n\n  const missingGlobalError = useMemo(() => {\n    const existingBoundaries: string[] = []\n    childrenKeys.forEach((key) => {\n      const childNode = node.children[key]\n      if (!childNode || !childNode.value) return\n      const boundaryType = getBoundaryOriginFileType(childNode.value.type)\n      const isGlobalConvention = boundaryType === GLOBAL_ERROR_BOUNDARY_TYPE\n      if (\n        // If global-* convention is not built-in, it's existed\n        (isGlobalConvention &&\n          !isBuiltinBoundaryFile(childNode.value.pagePath)) ||\n        (!isGlobalConvention &&\n          // If it's non global boundary, we check if file is boundary type\n          isBoundaryFile(childNode.value.type))\n      ) {\n        existingBoundaries.push(boundaryType)\n      }\n    })\n\n    return (\n      level === 0 && !existingBoundaries.includes(GLOBAL_ERROR_BOUNDARY_TYPE)\n    )\n  }, [node.children, childrenKeys, level])\n\n  const sortedChildrenKeys = childrenKeys.sort((a, b) => {\n    // Prioritize files with extensions over directories\n    const aHasExt = a.includes('.')\n    const bHasExt = b.includes('.')\n    if (aHasExt && !bHasExt) return -1\n    if (!aHasExt && bHasExt) return 1\n\n    // For files, sort by priority: layout > template > page > boundaries > others\n    if (aHasExt && bHasExt) {\n      const aType = node.children[a]?.value?.type\n      const bType = node.children[b]?.value?.type\n\n      // Define priority order\n      const getTypePriority = (type: string | undefined): number => {\n        if (!type) return 5\n        if (type === 'layout') return 1\n        if (type === 'template') return 2\n        if (type === 'page') return 3\n        if (isBoundaryFile(type)) return 4\n        return 5\n      }\n\n      const aPriority = getTypePriority(aType)\n      const bPriority = getTypePriority(bType)\n\n      // Sort by priority first\n      if (aPriority !== bPriority) {\n        return aPriority - bPriority\n      }\n\n      // If same priority, sort by file path\n      const aFilePath = node.children[a]?.value?.pagePath || ''\n      const bFilePath = node.children[b]?.value?.pagePath || ''\n      return aFilePath.localeCompare(bFilePath)\n    }\n\n    // For directories, sort alphabetically\n    return a.localeCompare(b)\n  })\n\n  // If it's the 1st level and contains a file, use 'app' as the folder name\n  const folderName = level === 0 && !segment ? 'app' : segment\n\n  const folderChildrenKeys: string[] = []\n  const filesChildrenKeys: string[] = []\n\n  for (const childKey of sortedChildrenKeys) {\n    const childNode = node.children[childKey]\n    if (!childNode) continue\n\n    // If it's a file node, add it to filesChildrenKeys\n    if (isFileNode(childNode)) {\n      filesChildrenKeys.push(childKey)\n      continue\n    }\n\n    // Otherwise, it's a folder node, add it to folderChildrenKeys\n    folderChildrenKeys.push(childKey)\n  }\n\n  const possibleExtension =\n    normalizeBoundaryFilename(filesChildrenKeys[0] || '')\n      .split('.')\n      .pop() || 'js'\n\n  let firstChild = null\n\n  for (let i = sortedChildrenKeys.length - 1; i >= 0; i--) {\n    const childNode = node.children[sortedChildrenKeys[i]]\n    if (!childNode || !childNode.value) continue\n\n    const isBoundary = isBoundaryFile(childNode.value.type)\n\n    if (!firstChild && !isBoundary) {\n      firstChild = childNode\n      break\n    }\n  }\n  let firstBoundaryChild = null\n  for (const childKey of sortedChildrenKeys) {\n    const childNode = node.children[childKey]\n    if (!childNode || !childNode.value) continue\n    if (isBoundaryFile(childNode.value.type)) {\n      firstBoundaryChild = childNode\n      break\n    }\n  }\n  firstChild = firstChild || firstBoundaryChild\n\n  const hasFilesChildren = filesChildrenKeys.length > 0\n  const boundaries: Record<SegmentBoundaryType, string | null> = {\n    'not-found': null,\n    loading: null,\n    error: null,\n    'global-error': null,\n  }\n\n  filesChildrenKeys.forEach((childKey) => {\n    const childNode = node.children[childKey]\n    if (!childNode || !childNode.value) return\n    if (isBoundaryFile(childNode.value.type)) {\n      const boundaryType = getBoundaryOriginFileType(childNode.value.type)\n\n      if (boundaryType in boundaries) {\n        boundaries[boundaryType as keyof typeof boundaries] =\n          childNode.value.pagePath || null\n      }\n    }\n  })\n\n  return (\n    <>\n      {hasFilesChildren && (\n        <div\n          className=\"segment-explorer-item\"\n          data-nextjs-devtool-segment-explorer-segment={segment + '-' + level}\n        >\n          <div\n            className=\"segment-explorer-item-row\"\n            style={{\n              // If it's children levels, show indents if there's any file at that level.\n              // Otherwise it's empty folder, no need to show indents.\n              ...{ paddingLeft: `${(level + 1) * 8}px` },\n            }}\n          >\n            <div className=\"segment-explorer-item-row-main\">\n              <div className=\"segment-explorer-filename\">\n                {folderName && (\n                  <span className=\"segment-explorer-filename--path\">\n                    {folderName}\n                    {/* hidden slashes for testing snapshots */}\n                    <small>{'/'}</small>\n                  </span>\n                )}\n                {missingGlobalError && (\n                  <SegmentSuggestion\n                    possibleExtension={possibleExtension}\n                    missingGlobalError={missingGlobalError}\n                  />\n                )}\n                {/* display all the file segments in this level */}\n                {filesChildrenKeys.length > 0 && (\n                  <span className=\"segment-explorer-files\">\n                    {filesChildrenKeys.map((fileChildSegment) => {\n                      const childNode = node.children[fileChildSegment]\n                      if (!childNode || !childNode.value) {\n                        return null\n                      }\n                      // If it's boundary node, which marks the existence of the boundary not the rendered status,\n                      // we don't need to present in the rendered files.\n                      if (isBoundaryFile(childNode.value.type)) {\n                        return null\n                      }\n                      // If it's a page/default file, don't show it as a separate label since it's represented by the dropdown button\n                      // if (\n                      //   childNode.value.type === 'page' ||\n                      //   childNode.value.type === 'default'\n                      // ) {\n                      //   return null\n                      // }\n                      const filePath = childNode.value.pagePath\n                      const lastSegment = filePath.split('/').pop() || ''\n                      const isBuiltin = filePath.startsWith(BUILTIN_PREFIX)\n                      const fileName = normalizeBoundaryFilename(lastSegment)\n\n                      const tooltipMessage = isBuiltin\n                        ? `The default Next.js ${childNode.value.type} is being shown. You can customize this page by adding your own ${fileName} file to the app/ directory.`\n                        : null\n\n                      const isOverridden = childNode.value.boundaryType !== null\n\n                      return (\n                        <Tooltip\n                          key={fileChildSegment}\n                          className={\n                            'segment-explorer-file-label-tooltip--' +\n                            (isBuiltin ? 'lg' : 'sm')\n                          }\n                          direction={isBuiltin ? 'right' : 'top'}\n                          title={tooltipMessage}\n                          offset={12}\n                        >\n                          <FilePill\n                            type={childNode.value.type}\n                            isBuiltin={isBuiltin}\n                            isOverridden={isOverridden}\n                            filePath={filePath}\n                            fileName={fileName}\n                          />\n                        </Tooltip>\n                      )\n                    })}\n                  </span>\n                )}\n                {firstChild && firstChild.value && (\n                  <SegmentBoundaryTrigger\n                    nodeState={firstChild.value}\n                    boundaries={boundaries}\n                  />\n                )}\n              </div>\n            </div>\n          </div>\n        </div>\n      )}\n\n      {folderChildrenKeys.map((childSegment) => {\n        const child = node.children[childSegment]\n        if (!child) {\n          return null\n        }\n\n        // If it's an folder segment without any files under it,\n        // merge it with the segment in the next level.\n        const nextSegment = hasFilesChildren\n          ? childSegment\n          : segment + ' / ' + childSegment\n        return (\n          <PageSegmentTreeLayerPresentation\n            key={childSegment}\n            segment={nextSegment}\n            node={child}\n            level={hasFilesChildren ? level + 1 : level}\n          />\n        )\n      })}\n    </>\n  )\n}\n\nfunction openInEditor({ filePath }: { filePath: string }) {\n  const params = new URLSearchParams({\n    file: filePath,\n    // Mark the file path is relative to the app directory,\n    // The editor launcher will complete the full path for it.\n    isAppRelativePath: '1',\n  })\n  fetch(\n    `${\n      process.env.__NEXT_ROUTER_BASEPATH || ''\n    }/__nextjs_launch-editor?${params.toString()}`\n  )\n}\n\nexport function InfoIcon(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      {...props}\n    >\n      <path\n        d=\"M14 8C14 11.3137 11.3137 14 8 14C4.68629 14 2 11.3137 2 8C2 4.68629 4.68629 2 8 2C11.3137 2 14 4.68629 14 8Z\"\n        fill=\"var(--color-gray-400)\"\n      />\n      <path\n        d=\"M7.75 7C8.30228 7.00001 8.75 7.44772 8.75 8V11.25H7.25V8.5H6.25V7H7.75ZM8 4C8.55228 4 9 4.44772 9 5C9 5.55228 8.55228 6 8 6C7.44772 6 7 5.55228 7 5C7 4.44772 7.44772 4 8 4Z\"\n        fill=\"var(--color-gray-900)\"\n      />\n    </svg>\n  )\n}\n\nfunction BackArrowIcon() {\n  return (\n    <svg\n      width=\"20\"\n      height=\"20\"\n      viewBox=\"0 0 20 20\"\n      fill=\"var(--color-gray-600)\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path d=\"M4.5 11.25C4.5 11.3881 4.61193 11.5 4.75 11.5H14.4395L11.9395 9L13 7.93945L16.7803 11.7197L16.832 11.7764C17.0723 12.0709 17.0549 12.5057 16.7803 12.7803L13 16.5605L11.9395 15.5L14.4395 13H4.75C3.7835 13 3 12.2165 3 11.25V4.25H4.5V11.25Z\" />\n    </svg>\n  )\n}\n\nfunction CodeIcon(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg\n      width=\"12\"\n      height=\"12\"\n      strokeLinejoin=\"round\"\n      viewBox=\"0 0 16 16\"\n      fill=\"currentColor\"\n      {...props}\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M7.22763 14.1819L10.2276 2.18193L10.4095 1.45432L8.95432 1.09052L8.77242 1.81812L5.77242 13.8181L5.59051 14.5457L7.04573 14.9095L7.22763 14.1819ZM3.75002 12.0607L3.21969 11.5304L0.39647 8.70713C0.00594559 8.31661 0.00594559 7.68344 0.39647 7.29292L3.21969 4.46969L3.75002 3.93936L4.81068 5.00002L4.28035 5.53035L1.81068 8.00003L4.28035 10.4697L4.81068 11L3.75002 12.0607ZM12.25 12.0607L12.7804 11.5304L15.6036 8.70713C15.9941 8.31661 15.9941 7.68344 15.6036 7.29292L12.7804 4.46969L12.25 3.93936L11.1894 5.00002L11.7197 5.53035L14.1894 8.00003L11.7197 10.4697L11.1894 11L12.25 12.0607Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n","import React from 'react'\nimport { usePanelRouterContext } from '../../../../menu/context'\nimport { css } from '../../../../utils/css'\n\ninterface DevToolsHeaderProps {\n  title: React.ReactNode\n  children?: React.ReactNode\n  onClose?: () => void\n}\nexport function DevToolsHeader({\n  title,\n  children,\n  onClose,\n  ref,\n}: DevToolsHeaderProps & { ref?: React.Ref<HTMLDivElement> }) {\n  const { setPanel } = usePanelRouterContext()\n  return (\n    <div\n      style={{\n        width: '100%',\n        display: 'flex',\n        alignItems: 'center',\n        justifyContent: 'space-between',\n        padding: '8px 20px',\n        userSelect: 'none',\n        WebkitUserSelect: 'none',\n        borderBottom: '1px solid var(--color-gray-alpha-400)',\n      }}\n      ref={ref}\n    >\n      <h3\n        style={{\n          margin: 0,\n          fontSize: '14px',\n          color: 'var(--color-text-primary)',\n          fontWeight: 'normal',\n        }}\n      >\n        {title}\n      </h3>\n      {children}\n      <button\n        id=\"_next-devtools-panel-close\"\n        className=\"dev-tools-info-close-button\"\n        onClick={() => {\n          if (onClose) {\n            onClose()\n            return\n          }\n          setPanel('panel-selector')\n        }}\n        aria-label=\"Close devtools panel\"\n        style={{\n          background: 'none',\n          border: 'none',\n          cursor: 'pointer',\n          padding: '4px',\n          display: 'flex',\n          alignItems: 'center',\n          justifyContent: 'center',\n          borderRadius: '4px',\n          color: 'var(--color-gray-900)',\n        }}\n      >\n        <XIcon />\n      </button>\n      <style>{css`\n        .dev-tools-info-close-button:focus-visible {\n          outline: var(--focus-ring);\n        }\n      `}</style>\n    </div>\n  )\n}\n\nfunction XIcon({ size = 22 }: { size?: number }) {\n  return (\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width={size}\n      height={size}\n      viewBox=\"0 0 24 24\"\n      fill=\"none\"\n      stroke=\"currentColor\"\n      strokeWidth=\"2\"\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n    >\n      <path d=\"M18 6 6 18\" />\n      <path d=\"m6 6 12 12\" />\n    </svg>\n  )\n}\n","export default function GearIcon() {\n  return (\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 20 20\"\n      fill=\"none\"\n    >\n      <path\n        fill=\"currentColor\"\n        fillRule=\"evenodd\"\n        d=\"m9.7 3.736.045-.236h.51l.044.236a2.024 2.024 0 0 0 1.334 1.536c.19.066.375.143.554.23.618.301 1.398.29 2.03-.143l.199-.136.36.361-.135.199a2.024 2.024 0 0 0-.143 2.03c.087.179.164.364.23.554.224.65.783 1.192 1.536 1.334l.236.044v.51l-.236.044a2.024 2.024 0 0 0-1.536 1.334 4.95 4.95 0 0 1-.23.554 2.024 2.024 0 0 0 .143 2.03l.136.199-.361.36-.199-.135a2.024 2.024 0 0 0-2.03-.143c-.179.087-.364.164-.554.23a2.024 2.024 0 0 0-1.334 1.536l-.044.236h-.51l-.044-.236a2.024 2.024 0 0 0-1.334-1.536 4.952 4.952 0 0 1-.554-.23 2.024 2.024 0 0 0-2.03.143l-.199.136-.36-.361.135-.199a2.024 2.024 0 0 0 .143-2.03 4.958 4.958 0 0 1-.23-.554 2.024 2.024 0 0 0-1.536-1.334l-.236-.044v-.51l.236-.044a2.024 2.024 0 0 0 1.536-1.334 4.96 4.96 0 0 1 .23-.554 2.024 2.024 0 0 0-.143-2.03l-.136-.199.361-.36.199.135a2.024 2.024 0 0 0 2.03.143c.179-.087.364-.164.554-.23a2.024 2.024 0 0 0 1.334-1.536ZM8.5 2h3l.274 1.46c.034.185.17.333.348.394.248.086.49.186.722.3.17.082.37.074.526-.033l1.226-.839 2.122 2.122-.84 1.226a.524.524 0 0 0-.032.526c.114.233.214.474.3.722.061.177.21.314.394.348L18 8.5v3l-1.46.274a.524.524 0 0 0-.394.348 6.47 6.47 0 0 1-.3.722.524.524 0 0 0 .033.526l.839 1.226-2.122 2.122-1.226-.84a.524.524 0 0 0-.526-.032 6.477 6.477 0 0 1-.722.3.524.524 0 0 0-.348.394L11.5 18h-3l-.274-1.46a.524.524 0 0 0-.348-.394 6.477 6.477 0 0 1-.722-.3.524.524 0 0 0-.526.033l-1.226.839-2.122-2.122.84-1.226a.524.524 0 0 0 .032-.526 6.453 6.453 0 0 1-.3-.722.524.524 0 0 0-.394-.348L2 11.5v-3l1.46-.274a.524.524 0 0 0 .394-.348c.086-.248.186-.49.3-.722a.524.524 0 0 0-.033-.526l-.839-1.226 2.122-2.122 1.226.84a.524.524 0 0 0 .526.032 6.46 6.46 0 0 1 .722-.3.524.524 0 0 0 .348-.394L8.5 2Zm3 8a1.5 1.5 0 1 1-3 0 1.5 1.5 0 0 1 3 0Zm1.5 0a3 3 0 1 1-6 0 3 3 0 0 1 6 0Z\"\n        clipRule=\"evenodd\"\n      />\n    </svg>\n  )\n}\n","export function LoadingIcon() {\n  return (\n    <svg\n      width=\"20px\"\n      height=\"20px\"\n      viewBox=\"0 0 20 20\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <circle\n        cx=\"10\"\n        cy=\"10\"\n        r=\"7\"\n        stroke=\"currentColor\"\n        strokeWidth=\"2\"\n        strokeLinecap=\"round\"\n        strokeDasharray=\"32 12\"\n        opacity=\"0.8\"\n      >\n        <animateTransform\n          attributeName=\"transform\"\n          type=\"rotate\"\n          from=\"0 10 10\"\n          to=\"360 10 10\"\n          dur=\"1s\"\n          repeatCount=\"indefinite\"\n        />\n      </circle>\n    </svg>\n  )\n}\n","\n      import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n      import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./instant-navs-panel.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./instant-navs-panel.css\";\n       export default content && content.locals ? content.locals : undefined;\n","import { useEffect, useState, useSyncExternalStore } from 'react'\nimport type { InstantCookie } from '../../../../shared/lib/app-router-types'\nimport type { InstantNavCookieData } from '../../../../shared/lib/instant-nav-cookie'\nimport { useDevOverlayContext } from '../../../dev-overlay.browser'\nimport { useDelayedRender } from '../../hooks/use-delayed-render'\nimport { usePanelRouterContext } from '../../menu/context'\nimport { ACTION_INSTANT_NAVS_RESET } from '../../shared'\nimport {\n  formatRoutePattern,\n  useInstantNavCookieState,\n} from './instant-nav-cookie'\nimport './instant-navs-panel.css'\n\nconst COOKIE_NAME = 'next-instant-navigation-testing'\ntype InstantNavContentStatus = 'idle' | 'pending' | 'mpa' | 'spa'\n// During a \"Resume\" restart the cookie is briefly absent (it's\n// deleted, then re-written as a new pending cookie). The transient \"restarting\"\n// status keeps the panel on \"Awaiting navigation...\" across that gap instead\n// of flickering back to idle until the new pending cookie lands.\ntype InstantNavStatus = InstantNavContentStatus | 'restarting'\n\n// Transient restart status held at module scope. The panel is a singleton in\n// the dev overlay, so this is safe, and it lets us set the status from the\n// click handler and clear it from an effect without tripping React Compiler\n// rules. It's exposed to React via a useSyncExternalStore hook so the panel\n// re-renders (and stays on \"Awaiting navigation...\") between the cookie delete\n// and the new pending cookie landing.\nlet instantNavTransientStatus: InstantNavStatus = 'idle'\nconst instantNavStatusSubscribers = new Set<() => void>()\n\nfunction setInstantNavTransientStatus(status: InstantNavStatus): void {\n  if (instantNavTransientStatus === status) return\n  instantNavTransientStatus = status\n  for (const sub of instantNavStatusSubscribers) sub()\n}\n\nfunction subscribeInstantNavTransientStatus(cb: () => void): () => void {\n  instantNavStatusSubscribers.add(cb)\n  return () => instantNavStatusSubscribers.delete(cb)\n}\n\nfunction getInstantNavTransientStatus(): InstantNavStatus {\n  return instantNavTransientStatus\n}\n\nfunction isRestartingStatus(\n  status: InstantNavStatus\n): status is Exclude<InstantNavStatus, InstantNavContentStatus> {\n  return status === 'restarting'\n}\n\nfunction getContentStatus(status: InstantNavStatus): InstantNavContentStatus {\n  if (isRestartingStatus(status)) {\n    return 'pending'\n  }\n  return status\n}\n\nfunction getInstantNavStatus(\n  cookieData: InstantNavCookieData | null,\n  restartStatus: InstantNavStatus\n): InstantNavStatus {\n  if (isRestartingStatus(restartStatus)) {\n    return restartStatus\n  }\n  if (cookieData?.state === 'spa') {\n    return 'spa'\n  }\n  if (cookieData?.state === 'mpa') {\n    return 'mpa'\n  }\n  if (cookieData !== null) {\n    return 'pending'\n  }\n  return 'idle'\n}\n\nfunction useInstantNavStatus(\n  cookieData: InstantNavCookieData | null\n): InstantNavStatus {\n  const transientStatus = useSyncExternalStore(\n    subscribeInstantNavTransientStatus,\n    getInstantNavTransientStatus,\n    getInstantNavTransientStatus\n  )\n  return getInstantNavStatus(cookieData, transientStatus)\n}\n\nconst DURATION = 400\nconst EXPANDED_HEIGHT = 225\n\nfunction createPendingInstantNavCookie(): InstantCookie {\n  return [0, `p${Math.random()}`]\n}\n\nfunction setInstantNavCookie(value: InstantCookie): void {\n  if (typeof document === 'undefined') {\n    return\n  }\n  document.cookie = `${COOKIE_NAME}=${JSON.stringify(value)}; Path=/`\n}\n\nfunction deleteInstantNavCookie(): void {\n  if (typeof document === 'undefined') {\n    return\n  }\n  document.cookie = `${COOKIE_NAME}=; Path=/; Max-Age=0`\n}\n\nfunction waitForInstantNavCookieDeleted(): Promise<void> {\n  if (typeof cookieStore !== 'undefined') {\n    return new Promise((resolve) => {\n      function done(): void {\n        cookieStore.removeEventListener('change', handler)\n        resolve()\n      }\n\n      function handler(event: CookieChangeEvent): void {\n        for (const cookie of event.deleted) {\n          if (cookie.name === COOKIE_NAME) {\n            done()\n            return\n          }\n        }\n      }\n\n      cookieStore.addEventListener('change', handler)\n    })\n  }\n  return Promise.resolve()\n}\n\nfunction setPendingInstantNavCookie(): void {\n  setInstantNavCookie(createPendingInstantNavCookie())\n}\n\nfunction getCurrentLocationUrl(): string {\n  if (typeof window === 'undefined') {\n    return '/'\n  }\n  return window.location.pathname + window.location.search\n}\n\n// Ends the capture: deleting the cookie triggers the CookieStore handler in\n// navigation-testing-lock.ts, which releases the lock and soft-refreshes to real data.\nfunction clearInstantNavCaptureCookie(): void {\n  setInstantNavTransientStatus('idle')\n  deleteInstantNavCookie()\n}\n\nexport function InstantNavsPanel() {\n  const { dispatch } = useDevOverlayContext()\n  const { panel } = usePanelRouterContext()\n\n  // The cookie is the sole source of truth for the instant navigation\n  // state, including the from-route URL for SPA captures.\n  const cookieData = useInstantNavCookieState()\n\n  // Reset UI state only, not the cookie: unmount also fires on Fast Refresh\n  // remounts, where ending an active capture would be wrong.\n  useEffect(() => {\n    return () => {\n      setInstantNavTransientStatus('idle')\n      dispatch({ type: ACTION_INSTANT_NAVS_RESET })\n    }\n  }, [dispatch])\n\n  // Leaving the instant panel (menu/logo, X, ESC) ends the capture. The error\n  // overlay is the exception: it keeps `panel` as 'instant-navs' and only moves\n  // the panel behind it, so this effect never fires and the capture survives.\n  useEffect(() => {\n    if (panel !== 'instant-navs') {\n      clearInstantNavCaptureCookie()\n      dispatch({ type: ACTION_INSTANT_NAVS_RESET })\n    }\n  }, [panel, dispatch])\n\n  // Clear the transient restarting status once the new pending cookie has landed\n  // in the panel's view of cookie state, handing the UI back to the cookie.\n  useEffect(() => {\n    if (\n      instantNavTransientStatus === 'restarting' &&\n      cookieData?.state === 'pending'\n    ) {\n      setInstantNavTransientStatus('idle')\n    }\n  }, [cookieData?.state])\n\n  // While we're waiting for a \"Resume\" -> restart to finish,\n  // the cookie is briefly absent. Treat that window as pending so the\n  // panel keeps showing the \"Waiting for navigation...\" UI instead of\n  // flickering back to idle.\n  const status = useInstantNavStatus(cookieData)\n  const contentStatus = getContentStatus(status)\n  const isLocked = status !== 'idle'\n\n  const isClosing = panel !== 'instant-navs'\n  const [displayStatus, setDisplayStatus] = useState(contentStatus)\n\n  if (!isClosing && displayStatus !== contentStatus) {\n    setDisplayStatus(contentStatus)\n  }\n\n  const currentSpaFromUrl =\n    cookieData?.state === 'spa' ? formatRoutePattern(cookieData.fromTree) : null\n  const currentSpaToUrl =\n    cookieData?.state === 'spa' && cookieData.toTree !== null\n      ? formatRoutePattern(cookieData.toTree)\n      : null\n\n  // Keep the most recent SPA URLs available while the outgoing card fades.\n  const [lastSpaFromUrl, setLastSpaFromUrl] = useState<string | null>(\n    currentSpaFromUrl\n  )\n  const [lastSpaToUrl, setLastSpaToUrl] = useState<string | null>(\n    currentSpaToUrl\n  )\n\n  if (currentSpaFromUrl !== null && currentSpaFromUrl !== lastSpaFromUrl) {\n    setLastSpaFromUrl(currentSpaFromUrl)\n  }\n\n  if (currentSpaToUrl !== null && currentSpaToUrl !== lastSpaToUrl) {\n    setLastSpaToUrl(currentSpaToUrl)\n  }\n\n  const spaFromUrl = currentSpaFromUrl ?? lastSpaFromUrl\n  const spaToUrl = currentSpaToUrl ?? lastSpaToUrl\n\n  async function resume(): Promise<void> {\n    // Resume: delete the cookie (which releases the lock and triggers a soft\n    // refresh for real data via the lock listener), then restart capture for\n    // the next navigation by writing a fresh pending cookie. Waiting for the\n    // delete event keeps this as two ordered cookie transitions.\n    setInstantNavTransientStatus('restarting')\n    const pendingCookie = createPendingInstantNavCookie()\n    const deleted = waitForInstantNavCookieDeleted()\n    deleteInstantNavCookie()\n    await deleted\n    setInstantNavCookie(pendingCookie)\n  }\n\n  function togglePaused(): void {\n    if (isLocked) {\n      clearInstantNavCaptureCookie()\n    } else {\n      setPendingInstantNavCookie()\n    }\n  }\n\n  // These two pieces of state are used to preserve the panel's contents\n  // during the collapsing animation.\n  const { mounted } = useDelayedRender(status !== 'idle', {\n    exitDelay: DURATION,\n  })\n  const [renderedStatus, setRenderedStatus] = useState(status)\n  if (status !== renderedStatus && ['pending', 'mpa', 'spa'].includes(status)) {\n    setRenderedStatus(status)\n  }\n\n  const containerHeight = status === 'idle' ? 0 : EXPANDED_HEIGHT\n\n  // This preserves whatever the last height of the expandable container was\n  // when the entire panel is dismissed (via ESC or by pressing X) so that\n  // its height doesn't change during the fade-out animation. We only freeze\n  // the height while leaving the panel; re-entering it must reset back to\n  // null so the container can size to its content again. Otherwise, reopening\n  // the panel before it unmounts (it stays mounted briefly for the fade-out)\n  // would leave the height frozen at the dismissed value (e.g. 0), keeping\n  // the panel permanently collapsed.\n  const [previousPanel, setPreviousPanel] = useState(panel)\n  const [exitingHeight, setExitingHeight] = useState<null | number>(null)\n  if (previousPanel !== panel) {\n    setPreviousPanel(panel)\n    setExitingHeight(panel === 'instant-navs' ? null : containerHeight)\n  }\n\n  return (\n    <div className=\"instant-nav-panel\">\n      <div className=\"instant-nav-content\">\n        <div\n          className=\"instant-nav-content-container\"\n          style={{\n            transition: `height ${DURATION}ms cubic-bezier(0.36, 0.66, 0.04, 1)`,\n            height: exitingHeight !== null ? exitingHeight : containerHeight,\n          }}\n        >\n          {mounted && (\n            <div style={{ height: EXPANDED_HEIGHT }}>\n              {renderedStatus === 'pending' ? (\n                <div className=\" instant-nav-state--pending\">\n                  <div className=\"instant-nav-waiting-status\">\n                    <span className=\"instant-nav-waiting-status-dot\" />\n                    <h3 className=\"instant-nav-waiting-status-title\">\n                      Waiting for navigation...\n                    </h3>\n                  </div>\n                  <p className=\"instant-nav-waiting-description\">\n                    Click any link or refresh the page to inspect the shell.\n                  </p>\n                </div>\n              ) : renderedStatus === 'mpa' ? (\n                <div className=\"\">\n                  <DebuggerPausedButton onClick={resume} />\n                  <div className=\"instant-nav-state-details\">\n                    <h3 className=\"instant-nav-state-title\">\n                      Loading shell\n                      <span className=\"instant-nav-state-title-type\">\n                        Page load\n                      </span>\n                    </h3>\n                    <p className=\"instant-nav-state-description\">\n                      You're viewing the shell for this page's initial load.\n                    </p>\n                    <UrlRow label=\"Target\" value={getCurrentLocationUrl()} />\n                  </div>\n                </div>\n              ) : renderedStatus === 'spa' ? (\n                <div className=\"\">\n                  <DebuggerPausedButton onClick={resume} />\n                  <div className=\"instant-nav-state-details\">\n                    <h3 className=\"instant-nav-state-title\">\n                      Loading shell\n                      <span className=\"instant-nav-state-title-type\">\n                        Client nav\n                      </span>\n                    </h3>\n                    <p className=\"instant-nav-state-description\">\n                      You're viewing the shell for the current navigation.\n                    </p>\n                    <div className=\"instant-nav-state-url-list\">\n                      {spaFromUrl !== null ? (\n                        <UrlRow label=\"Source\" value={spaFromUrl} />\n                      ) : null}\n                      {spaToUrl !== null ? (\n                        <UrlRow label=\"Target\" value={spaToUrl} />\n                      ) : null}\n                    </div>\n                  </div>\n                </div>\n              ) : null}\n            </div>\n          )}\n        </div>\n      </div>\n      <PauseControl checked={isLocked} onClick={togglePaused} />\n    </div>\n  )\n}\n\nfunction DebuggerPausedButton({ onClick }: { onClick: () => void }) {\n  return (\n    <div className=\"instant-nav-debugger-paused\">\n      <InfoIcon />\n      <span>Debugger paused</span>\n      <button\n        type=\"button\"\n        className=\"instant-nav-debugger-paused-button\"\n        onClick={onClick}\n        aria-label=\"Resume\"\n      >\n        Resume\n        <PlayIcon />\n      </button>\n    </div>\n  )\n}\n\nfunction PauseControl({\n  checked,\n  onClick,\n}: {\n  checked: boolean\n  onClick: () => void\n}) {\n  return (\n    <div className=\"instant-nav-pause-control\">\n      <div className=\"instant-nav-pause-copy\">\n        <label htmlFor=\"instant-nav-pause-toggle\">Pause on navigations</label>\n        <p>\n          When enabled, every navigation will pause so you can inspect the\n          loading shell before resuming.\n        </p>\n      </div>\n      <button\n        id=\"instant-nav-pause-toggle\"\n        type=\"button\"\n        role=\"switch\"\n        aria-checked={checked}\n        aria-label=\"Pause on navigations\"\n        className=\"instant-nav-pause-toggle\"\n        onClick={onClick}\n      >\n        <span className=\"instant-nav-pause-toggle-thumb\" />\n      </button>\n    </div>\n  )\n}\n\nfunction UrlRow({ label, value }: { label: string; value: string }) {\n  return (\n    <div className=\"instant-nav-url-row\">\n      <span className=\"instant-nav-url-label\">{label}</span>\n      <span className=\"instant-nav-url-value\" title={value}>\n        {value}\n      </span>\n    </div>\n  )\n}\n\nfunction InfoIcon() {\n  return (\n    <svg\n      viewBox=\"0 0 16 16\"\n      height=\"16\"\n      width=\"16\"\n      aria-hidden=\"true\"\n      style={{ color: 'currentcolor' }}\n    >\n      <path\n        fill=\"currentColor\"\n        fillRule=\"evenodd\"\n        d=\"M8 14.5a6.5 6.5 0 1 0 0-13 6.5 6.5 0 0 0 0 13M8 16A8 8 0 1 0 8 0a8 8 0 0 0 0 16M6.25 7h1.5a1 1 0 0 1 1 1v4.25h-1.5V8.5h-1zM8 6a1 1 0 1 0 0-2 1 1 0 0 0 0 2\"\n        clipRule=\"evenodd\"\n      ></path>\n    </svg>\n  )\n}\n\nfunction PlayIcon() {\n  return (\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      viewBox=\"0 0 20 20\"\n      fill=\"currentColor\"\n      width=\"12\"\n      height=\"12\"\n      aria-hidden=\"true\"\n    >\n      <path d=\"M6.3 2.84A1.5 1.5 0 0 0 4 4.11v11.78a1.5 1.5 0 0 0 2.3 1.27l9.344-5.891a1.5 1.5 0 0 0 0-2.538L6.3 2.841Z\" />\n    </svg>\n  )\n}\n","import * as React from 'react';\nexport const MenuCheckboxItemContext = /*#__PURE__*/React.createContext(undefined);\nif (process.env.NODE_ENV !== \"production\") MenuCheckboxItemContext.displayName = \"MenuCheckboxItemContext\";\nexport function useMenuCheckboxItemContext() {\n  const context = React.useContext(MenuCheckboxItemContext);\n  if (context === undefined) {\n    throw new Error('Base UI: MenuCheckboxItemContext is missing. MenuCheckboxItem parts must be placed within <Menu.CheckboxItem>.');\n  }\n  return context;\n}","import { transitionStatusMapping } from \"../../utils/styleHookMapping.js\";\nimport { MenuCheckboxItemDataAttributes } from \"../checkbox-item/MenuCheckboxItemDataAttributes.js\";\nexport const itemMapping = {\n  checked(value) {\n    if (value) {\n      return {\n        [MenuCheckboxItemDataAttributes.checked]: ''\n      };\n    }\n    return {\n      [MenuCheckboxItemDataAttributes.unchecked]: ''\n    };\n  },\n  ...transitionStatusMapping\n};","'use client';\n\nimport * as React from 'react';\nimport { useMergedRefs } from '@base-ui-components/utils/useMergedRefs';\nimport { useControlled } from '@base-ui-components/utils/useControlled';\nimport { useFloatingTree } from \"../../floating-ui-react/index.js\";\nimport { MenuCheckboxItemContext } from \"./MenuCheckboxItemContext.js\";\nimport { REGULAR_ITEM, useMenuItem } from \"../item/useMenuItem.js\";\nimport { useCompositeListItem } from \"../../composite/list/useCompositeListItem.js\";\nimport { useMenuRootContext } from \"../root/MenuRootContext.js\";\nimport { useRenderElement } from \"../../utils/useRenderElement.js\";\nimport { useBaseUiId } from \"../../utils/useBaseUiId.js\";\nimport { itemMapping } from \"../utils/styleHookMapping.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nconst InnerMenuCheckboxItem = /*#__PURE__*/React.memo(/*#__PURE__*/React.forwardRef(function InnerMenuCheckboxItem(componentProps, forwardedRef) {\n  const {\n    checked: checkedProp,\n    defaultChecked,\n    onCheckedChange,\n    className,\n    closeOnClick,\n    disabled = false,\n    highlighted,\n    id,\n    menuEvents,\n    itemProps,\n    render,\n    allowMouseUpTriggerRef,\n    typingRef,\n    nativeButton,\n    ...elementProps\n  } = componentProps;\n  const [checked, setChecked] = useControlled({\n    controlled: checkedProp,\n    default: defaultChecked ?? false,\n    name: 'MenuCheckboxItem',\n    state: 'checked'\n  });\n  const {\n    getItemProps,\n    itemRef\n  } = useMenuItem({\n    closeOnClick,\n    disabled,\n    highlighted,\n    id,\n    menuEvents,\n    allowMouseUpTriggerRef,\n    typingRef,\n    nativeButton,\n    itemMetadata: REGULAR_ITEM\n  });\n  const state = React.useMemo(() => ({\n    disabled,\n    highlighted,\n    checked\n  }), [disabled, highlighted, checked]);\n  const element = useRenderElement('div', componentProps, {\n    state,\n    customStyleHookMapping: itemMapping,\n    props: [itemProps, {\n      role: 'menuitemcheckbox',\n      'aria-checked': checked,\n      onClick: event => {\n        setChecked(currentlyChecked => !currentlyChecked);\n        onCheckedChange?.(!checked, event.nativeEvent);\n      }\n    }, elementProps, getItemProps],\n    ref: [itemRef, forwardedRef]\n  });\n  return /*#__PURE__*/_jsx(MenuCheckboxItemContext.Provider, {\n    value: state,\n    children: element\n  });\n}));\n\n/**\n * A menu item that toggles a setting on or off.\n * Renders a `<div>` element.\n *\n * Documentation: [Base UI Menu](https://base-ui.com/react/components/menu)\n */\nif (process.env.NODE_ENV !== \"production\") InnerMenuCheckboxItem.displayName = \"InnerMenuCheckboxItem\";\nexport const MenuCheckboxItem = /*#__PURE__*/React.forwardRef(function MenuCheckboxItem(props, forwardedRef) {\n  const {\n    id: idProp,\n    label,\n    closeOnClick = false,\n    nativeButton = false,\n    ...other\n  } = props;\n  const itemRef = React.useRef(null);\n  const listItem = useCompositeListItem({\n    label\n  });\n  const mergedRef = useMergedRefs(forwardedRef, listItem.ref, itemRef);\n  const {\n    itemProps,\n    activeIndex,\n    allowMouseUpTriggerRef,\n    typingRef\n  } = useMenuRootContext();\n  const id = useBaseUiId(idProp);\n  const highlighted = listItem.index === activeIndex;\n  const {\n    events: menuEvents\n  } = useFloatingTree();\n\n  // This wrapper component is used as a performance optimization.\n  // MenuCheckboxItem reads the context and re-renders the actual MenuCheckboxItem\n  // only when it needs to.\n\n  return /*#__PURE__*/_jsx(InnerMenuCheckboxItem, {\n    ...other,\n    id: id,\n    ref: mergedRef,\n    highlighted: highlighted,\n    menuEvents: menuEvents,\n    itemProps: itemProps,\n    allowMouseUpTriggerRef: allowMouseUpTriggerRef,\n    typingRef: typingRef,\n    closeOnClick: closeOnClick,\n    nativeButton: nativeButton\n  });\n});\nif (process.env.NODE_ENV !== \"production\") MenuCheckboxItem.displayName = \"MenuCheckboxItem\";","const SUB_MILLISECOND_DISPLAY_THRESHOLD_MS = 0.1\nconst FRACTIONAL_MILLISECOND_THRESHOLD_MS = 2\n\nexport function formatDuration(durationMs: number | undefined): string {\n  if (durationMs === undefined) {\n    return '-'\n  }\n\n  if (durationMs === 0) {\n    return '0 ms'\n  }\n\n  if (durationMs > 0 && durationMs < SUB_MILLISECOND_DISPLAY_THRESHOLD_MS) {\n    return '<0.1 ms'\n  }\n\n  if (durationMs < FRACTIONAL_MILLISECOND_THRESHOLD_MS) {\n    return `${durationMs.toFixed(1)} ms`\n  }\n\n  if (durationMs < 1000) {\n    return `${Math.round(durationMs)} ms`\n  }\n\n  return `${(durationMs / 1000).toFixed(2)} s`\n}\n","import {\n  getRequestInsightKey,\n  getRequestInsightKind,\n  type RequestInsight,\n} from '../../../shared/request-insights'\n\nexport function getActiveRequestKey(\n  requests: readonly RequestInsight[],\n  selectedRequestKey: string | null\n): string | null {\n  if (\n    selectedRequestKey !== null &&\n    requests.some(\n      (request) => getRequestInsightKey(request) === selectedRequestKey\n    )\n  ) {\n    return selectedRequestKey\n  }\n\n  const request =\n    requests.find((item) => item.fetches.length > 0) ?? requests[0]\n  return request ? getRequestInsightKey(request) : null\n}\n\nexport function isInternalRequestInsight(\n  request: Pick<RequestInsight, 'kind'>\n): boolean {\n  return getRequestInsightKind(request) !== 'request'\n}\n\nexport type RequestListEntry = {\n  request: RequestInsight\n  nested: boolean\n}\n\nexport function getRequestListEntries(\n  requests: readonly RequestInsight[],\n  showInternal: boolean\n): RequestListEntry[] {\n  if (!showInternal) {\n    return requests\n      .filter((request) => !isInternalRequestInsight(request))\n      .map((request) => ({ request, nested: false }))\n  }\n\n  // Group internal records by the request they belong to, and record which\n  // request ids have a parent (non-internal) record present, both in one pass.\n  const internalByRequestId = new Map<string, RequestInsight[]>()\n  const parentRequestIds = new Set<string>()\n  for (const request of requests) {\n    if (isInternalRequestInsight(request)) {\n      const group = internalByRequestId.get(request.requestId)\n      if (group) {\n        group.push(request)\n      } else {\n        internalByRequestId.set(request.requestId, [request])\n      }\n    } else {\n      parentRequestIds.add(request.requestId)\n    }\n  }\n\n  const entries: RequestListEntry[] = []\n  for (const request of requests) {\n    if (isInternalRequestInsight(request)) {\n      // Orphans (no parent request in the list) remain top-level and preserve\n      // their ordering relative to other top-level records. Nested internal\n      // records are emitted under their request below.\n      if (!parentRequestIds.has(request.requestId)) {\n        entries.push({ request, nested: false })\n      }\n      continue\n    }\n\n    entries.push({ request, nested: false })\n    const nested = internalByRequestId.get(request.requestId)\n    if (nested) {\n      for (const internalRequest of nested) {\n        entries.push({ request: internalRequest, nested: true })\n      }\n    }\n  }\n  return entries\n}\n\nexport function isPageLoadRequest(\n  request: Pick<RequestInsight, 'requestId' | 'kind'>,\n  initialRequestId: string | undefined\n): boolean {\n  return (\n    getRequestInsightKind(request) === 'request' &&\n    request.requestId === initialRequestId\n  )\n}\n","import type {\n  RequestInsight,\n  RequestInsightFetch,\n  RequestInsightSpan,\n} from '../../../shared/request-insights'\n\nexport type TraceItem = {\n  id: string\n  spanId?: string\n  parentSpanId?: string\n  spanType?: string\n  category: 'nextjs' | 'application'\n  label: string\n  startTime: number\n  durationMs?: number\n  status: 'ok' | 'error' | 'pending'\n  kind: 'span' | 'fetch'\n  depth: number\n}\n\nexport type TraceRange = {\n  startTime: number\n  durationMs: number\n}\n\ntype UnnestedTraceItem = Omit<TraceItem, 'depth'>\n\nconst FETCH_SPAN_TYPE = 'AppRender.fetch'\nconst DEFAULT_VISIBLE_SPAN_TYPES = new Set([\n  'BaseServer.handleRequest',\n  'Middleware.execute',\n  'NextNodeServer.matchRoute',\n  'DevRouteMatcherManager.ensureRoute',\n  'BaseServer.render',\n  'LoadComponents.loadComponents',\n  'AppRender.prepareAppPageResponse',\n  'AppRender.initializeRender',\n  'AppRender.getBodyResult',\n  'NextNodeServer.createComponentTree',\n  'AppRender.startRSCStream',\n  'AppRender.renderRSCResponse',\n  'AppRender.waitForRSC',\n  'AppRender.renderToNodeFizzStream',\n  'AppRender.waitForHTMLCompletion',\n  'AppRender.instantInsights',\n  'AppRender.instantInsights.prepareValidation',\n  'AppRender.instantInsights.runValidation',\n  FETCH_SPAN_TYPE,\n  'NextNodeServer.waitForFirstResponseChunk',\n  'NextNodeServer.startResponse',\n  'Render.getServerSideProps',\n  'Render.getStaticProps',\n  'Render.renderDocument',\n  'Node.runHandler',\n  'AppRouteRouteHandlers.runHandler',\n  'ResolveMetadata.generateMetadata',\n  'ResolveMetadata.generateViewport',\n])\nconst FIZZ_WORD = /\\bFizz\\b/gi\nconst FLIGHT_WORD = /\\bFlight\\b/gi\nconst SPAN_WORD_CASE: Record<string, string> = {\n  api: 'API',\n  fizz: 'HTML',\n  flight: 'RSC',\n  html: 'HTML',\n  http: 'HTTP',\n  https: 'HTTPS',\n  id: 'ID',\n  node: 'Node',\n  rsc: 'RSC',\n  url: 'URL',\n}\n\nexport function getTraceItems(\n  request: RequestInsight,\n  verbose: boolean\n): TraceItem[] {\n  const fetchSpansByIndex = new Map<number, RequestInsightSpan>()\n\n  for (const span of request.spans) {\n    const fetchIndex = getFetchIndex(span)\n    if (isFetchSpan(span) && fetchIndex !== undefined) {\n      fetchSpansByIndex.set(fetchIndex, span)\n    }\n  }\n\n  const fetchIndexes = new Set(\n    request.fetches\n      .map((fetch) => fetch.index)\n      .filter((index): index is number => index !== undefined)\n  )\n  const items: UnnestedTraceItem[] = []\n\n  request.spans.forEach((span, index) => {\n    const fetchIndex = getFetchIndex(span)\n    if (\n      isFetchSpan(span) &&\n      fetchIndex !== undefined &&\n      fetchIndexes.has(fetchIndex)\n    ) {\n      return\n    }\n\n    items.push(getSpanTraceItem(span, index))\n  })\n\n  request.fetches.forEach((fetch, index) => {\n    const matchingSpan =\n      fetch.index === undefined ? undefined : fetchSpansByIndex.get(fetch.index)\n    const item = getFetchTraceItem(fetch, index, matchingSpan)\n    if (item) {\n      items.push(item)\n    }\n  })\n\n  const nestedItems = nestTraceItems(items)\n  return verbose ? nestedItems : getDefaultTraceItems(nestedItems)\n}\n\nexport function getTraceRange(request: RequestInsight): TraceRange {\n  return {\n    startTime: request.startTime,\n    durationMs: Math.max(request.durationMs ?? 0, 0.1),\n  }\n}\n\nexport function getTracePosition(\n  item: TraceItem,\n  range: TraceRange\n): { left: number; width: number; offsetMs: number } {\n  const rangeEndTime = range.startTime + range.durationMs\n  const visibleStartTime = Math.max(item.startTime, range.startTime)\n  const visibleEndTime = Math.min(\n    item.startTime + (item.durationMs ?? 0),\n    rangeEndTime\n  )\n  const offsetMs = Math.min(\n    Math.max(visibleStartTime - range.startTime, 0),\n    range.durationMs\n  )\n  const left = Math.min((offsetMs / range.durationMs) * 100, 100)\n  const width = Math.min(\n    Math.max(((visibleEndTime - visibleStartTime) / range.durationMs) * 100, 0),\n    100 - left\n  )\n\n  return { left, width, offsetMs }\n}\n\nfunction getSpanTraceItem(\n  span: RequestInsightSpan,\n  index: number\n): UnnestedTraceItem {\n  const type = span.attributes?.['next.span_type']\n\n  return {\n    id: `span:${span.spanId ?? index}:${span.startTime}`,\n    spanId: span.spanId,\n    parentSpanId: span.parentSpanId,\n    spanType: typeof type === 'string' ? type : undefined,\n    category: getSpanCategory(span),\n    label: getSpanLabel(span),\n    startTime: span.startTime,\n    durationMs: span.durationMs,\n    status: span.status ?? 'pending',\n    kind: 'span',\n  }\n}\n\nfunction getFetchTraceItem(\n  fetch: RequestInsightFetch,\n  index: number,\n  matchingSpan: RequestInsightSpan | undefined\n): UnnestedTraceItem | null {\n  const startTime = fetch.startTime ?? matchingSpan?.startTime\n  if (startTime === undefined) {\n    return null\n  }\n\n  return {\n    id: `fetch:${matchingSpan?.spanId ?? fetch.index ?? index}:${startTime}`,\n    spanId: matchingSpan?.spanId,\n    parentSpanId: matchingSpan?.parentSpanId,\n    spanType: FETCH_SPAN_TYPE,\n    category: matchingSpan ? getSpanCategory(matchingSpan) : 'application',\n    label: `${fetch.method ?? 'GET'} ${getUrlPath(fetch.url)}`,\n    startTime,\n    durationMs: fetch.durationMs ?? matchingSpan?.durationMs,\n    status:\n      fetch.statusCode && fetch.statusCode >= 400\n        ? 'error'\n        : (matchingSpan?.status ?? 'ok'),\n    kind: 'fetch',\n  }\n}\n\nfunction nestTraceItems(items: UnnestedTraceItem[]): TraceItem[] {\n  const sortedItems = [...items].sort(compareTraceItems)\n  const itemBySpanId = new Map<string, UnnestedTraceItem>()\n  const childrenByItemId = new Map<string, UnnestedTraceItem[]>()\n  const roots: UnnestedTraceItem[] = []\n\n  for (const item of sortedItems) {\n    if (item.spanId && !itemBySpanId.has(item.spanId)) {\n      itemBySpanId.set(item.spanId, item)\n    }\n  }\n\n  for (const item of sortedItems) {\n    const parent = item.parentSpanId\n      ? itemBySpanId.get(item.parentSpanId)\n      : undefined\n\n    if (!parent || parent.id === item.id) {\n      roots.push(item)\n      continue\n    }\n\n    const children = childrenByItemId.get(parent.id) ?? []\n    children.push(item)\n    childrenByItemId.set(parent.id, children)\n  }\n\n  const nestedItems: TraceItem[] = []\n  const visited = new Set<string>()\n\n  function append(item: UnnestedTraceItem, depth: number): void {\n    if (visited.has(item.id)) {\n      return\n    }\n\n    visited.add(item.id)\n    nestedItems.push({ ...item, depth })\n\n    for (const child of childrenByItemId.get(item.id) ?? []) {\n      append(child, depth + 1)\n    }\n  }\n\n  for (const root of roots) {\n    append(root, 0)\n  }\n\n  // Cyclic or otherwise malformed parent references should not hide spans.\n  for (const item of sortedItems) {\n    append(item, 0)\n  }\n\n  return nestedItems\n}\n\nfunction getDefaultTraceItems(items: TraceItem[]): TraceItem[] {\n  const itemBySpanId = new Map<string, TraceItem>()\n  const visibleDepthBySpanId = new Map<string, number>()\n  const visibleItems: TraceItem[] = []\n\n  for (const item of items) {\n    if (item.spanId) {\n      itemBySpanId.set(item.spanId, item)\n    }\n  }\n\n  for (const item of items) {\n    if (!isDefaultVisible(item)) {\n      continue\n    }\n\n    let depth = 0\n    let parent = item.parentSpanId\n      ? itemBySpanId.get(item.parentSpanId)\n      : undefined\n    const visited = new Set<string>()\n\n    while (parent && !visited.has(parent.id)) {\n      visited.add(parent.id)\n      const parentDepth = parent.spanId\n        ? visibleDepthBySpanId.get(parent.spanId)\n        : undefined\n\n      if (parentDepth !== undefined) {\n        depth = parentDepth + 1\n        break\n      }\n\n      parent = parent.parentSpanId\n        ? itemBySpanId.get(parent.parentSpanId)\n        : undefined\n    }\n\n    const visibleItem = { ...item, depth }\n    visibleItems.push(visibleItem)\n    if (visibleItem.spanId) {\n      visibleDepthBySpanId.set(visibleItem.spanId, depth)\n    }\n  }\n\n  return visibleItems\n}\n\nfunction isDefaultVisible(item: TraceItem): boolean {\n  return (\n    item.spanType === undefined ||\n    item.status === 'error' ||\n    DEFAULT_VISIBLE_SPAN_TYPES.has(item.spanType)\n  )\n}\n\nfunction compareTraceItems(\n  first: UnnestedTraceItem,\n  second: UnnestedTraceItem\n): number {\n  return (\n    first.startTime - second.startTime ||\n    (second.durationMs ?? 0) - (first.durationMs ?? 0) ||\n    first.id.localeCompare(second.id)\n  )\n}\n\nfunction isFetchSpan(span: RequestInsightSpan): boolean {\n  return span.attributes?.['next.span_type'] === FETCH_SPAN_TYPE\n}\n\nfunction getFetchIndex(span: RequestInsightSpan): number | undefined {\n  const index = span.attributes?.['next.fetch.idx']\n  return typeof index === 'number' ? index : undefined\n}\n\nfunction getSpanCategory(span: RequestInsightSpan): 'nextjs' | 'application' {\n  const category = span.attributes?.['next.span_category']\n  if (category === 'nextjs' || category === 'application') {\n    return category\n  }\n\n  if (span.attributes?.['next.span_type'] === FETCH_SPAN_TYPE) {\n    return 'application'\n  }\n\n  return typeof span.attributes?.['next.span_type'] === 'string'\n    ? 'nextjs'\n    : 'application'\n}\n\nfunction getSpanLabel(span: RequestInsightSpan): string {\n  const explicitName = span.attributes?.['next.span_name']\n  const name =\n    typeof explicitName === 'string' && explicitName.trim().length > 0\n      ? explicitName\n      : span.name\n  const displayName = name\n    .replace(FIZZ_WORD, 'HTML')\n    .replace(FLIGHT_WORD, 'RSC')\n\n  if (displayName === 'resolve segment modules') {\n    return 'resolve segment'\n  }\n\n  if (displayName === 'build component tree') {\n    return 'build component tree'\n  }\n\n  if (!displayName.includes('.') && !/[a-z][A-Z]|[_-]/.test(displayName)) {\n    return displayName\n  }\n\n  const identifier = displayName.slice(displayName.lastIndexOf('.') + 1)\n  const words = identifier\n    .replace(/([a-z0-9])([A-Z])/g, '$1 $2')\n    .replace(/([A-Z]+)([A-Z][a-z])/g, '$1 $2')\n    .replace(/[_-]+/g, ' ')\n    .trim()\n    .split(/\\s+/)\n    .map((word) => SPAN_WORD_CASE[word.toLowerCase()] ?? word.toLowerCase())\n    .filter(\n      (word, index, allWords) =>\n        !(\n          (word === 'Node' || word === 'web') &&\n          (allWords[index + 1] === 'HTML' || allWords[index + 1] === 'RSC')\n        )\n    )\n\n  if (words[0] === 'wait' && words[1] !== 'for') {\n    words.splice(1, 0, 'for')\n  }\n\n  return words.join(' ')\n}\n\nfunction getUrlPath(url: string | undefined): string {\n  if (!url) {\n    return 'Unknown URL'\n  }\n\n  try {\n    const parsedUrl = new URL(url, 'http://localhost')\n    return `${parsedUrl.pathname}${parsedUrl.search}`\n  } catch {\n    return url\n  }\n}\n","\n      import API from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"../../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n      import setAttributes from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./request-insights-panel.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./request-insights-panel.css\";\n       export default content && content.locals ? content.locals : undefined;\n","import { useMemo, useState } from 'react'\nimport { Menu } from '@base-ui-components/react/menu'\nimport {\n  getRequestInsightKey,\n  getRequestInsightKind,\n  type RequestInsight,\n  type RequestInsightFetch,\n} from '../../../shared/request-insights'\nimport { useDevOverlayContext } from '../../../dev-overlay.browser'\nimport { ACTION_DEVTOOLS_CONFIG } from '../../shared'\nimport { saveDevToolsConfig } from '../../utils/save-devtools-config'\nimport { CopyButton } from '../copy-button'\nimport GearIcon from '../../icons/gear-icon'\nimport { formatDuration } from './format-duration'\nimport {\n  getActiveRequestKey,\n  getRequestListEntries,\n  isInternalRequestInsight,\n  isPageLoadRequest,\n} from './request-list'\nimport {\n  getTraceItems,\n  getTracePosition,\n  getTraceRange,\n  type TraceItem,\n} from './trace-viewer'\nimport './request-insights-panel.css'\n\nconst TRACE_TICK_COUNT = 5\n\nexport function RequestInsightsPanel() {\n  const { dispatch, state, shadowRoot } = useDevOverlayContext()\n  const requests = useMemo(\n    () => [...state.requestInsights].reverse(),\n    [state.requestInsights]\n  )\n  const { showInternal, verbose } = state.requestInsightsConfig\n  const setRequestInsightsConfig = (patch: {\n    showInternal?: boolean\n    verbose?: boolean\n  }) => {\n    dispatch({\n      type: ACTION_DEVTOOLS_CONFIG,\n      devToolsConfig: { requestInsights: patch },\n    })\n    saveDevToolsConfig({ requestInsights: patch })\n  }\n  const listEntries = useMemo(\n    () => getRequestListEntries(requests, showInternal),\n    [requests, showInternal]\n  )\n  const visibleRequests = useMemo(\n    () => listEntries.map((entry) => entry.request),\n    [listEntries]\n  )\n  const [selectedRequestKey, setSelectedRequestKey] = useState<string | null>(\n    () => getActiveRequestKey(visibleRequests, null)\n  )\n  const activeRequestKey = getActiveRequestKey(\n    visibleRequests,\n    selectedRequestKey\n  )\n  const selectedRequest =\n    visibleRequests.find(\n      (request) => getRequestInsightKey(request) === activeRequestKey\n    ) ?? null\n  const initialRequestId = self.__next_r\n  const internalRequests = useMemo(\n    () => requests.filter((request) => isInternalRequestInsight(request)),\n    [requests]\n  )\n  const hiddenInternalErrorCount = showInternal\n    ? 0\n    : internalRequests.filter((request) => request.status === 'error').length\n  // Only offer the internal-activity toggle once the session has captured\n  // internal activity to reveal.\n  const showInternalToggle = internalRequests.length > 0\n\n  if (requests.length === 0) {\n    return (\n      <div className=\"request-insights-empty\">\n        Request insights will appear after the next App Router request.\n      </div>\n    )\n  }\n\n  return (\n    <div className=\"request-insights-panel\">\n      <div className=\"request-insights-list\">\n        <div className=\"request-insights-list-toolbar\">\n          <strong>Requests</strong>\n          <div className=\"request-insights-settings\">\n            {hiddenInternalErrorCount > 0 ? (\n              <span\n                aria-label={`${hiddenInternalErrorCount} hidden internal error${hiddenInternalErrorCount === 1 ? '' : 's'}`}\n                className=\"request-insights-settings-dot\"\n                role=\"img\"\n              />\n            ) : null}\n            <Menu.Root delay={0} modal={false}>\n              <Menu.Trigger\n                aria-label=\"Request list settings\"\n                className=\"request-insights-settings-trigger\"\n              >\n                <GearIcon />\n              </Menu.Trigger>\n              <Menu.Portal container={shadowRoot}>\n                <Menu.Positioner\n                  align=\"end\"\n                  className=\"request-insights-settings-positioner\"\n                  side=\"bottom\"\n                  sideOffset={4}\n                >\n                  <Menu.Popup className=\"request-insights-settings-menu\">\n                    {showInternalToggle ? (\n                      <Menu.CheckboxItem\n                        checked={showInternal}\n                        className=\"request-insights-settings-item\"\n                        closeOnClick={false}\n                        onCheckedChange={(checked) =>\n                          setRequestInsightsConfig({ showInternal: checked })\n                        }\n                      >\n                        <span\n                          className=\"request-insights-settings-checkbox\"\n                          data-checked={showInternal || undefined}\n                        >\n                          {showInternal ? <CheckIcon /> : null}\n                        </span>\n                        Internal activity\n                      </Menu.CheckboxItem>\n                    ) : null}\n                    <Menu.CheckboxItem\n                      checked={verbose}\n                      className=\"request-insights-settings-item\"\n                      closeOnClick={false}\n                      onCheckedChange={(checked) =>\n                        setRequestInsightsConfig({ verbose: checked })\n                      }\n                    >\n                      <span\n                        className=\"request-insights-settings-checkbox\"\n                        data-checked={verbose || undefined}\n                      >\n                        {verbose ? <CheckIcon /> : null}\n                      </span>\n                      Verbose traces\n                    </Menu.CheckboxItem>\n                  </Menu.Popup>\n                </Menu.Positioner>\n              </Menu.Portal>\n            </Menu.Root>\n          </div>\n        </div>\n        {listEntries.length === 0 ? (\n          <div className=\"request-insights-list-empty\">\n            Only internal activity has been captured. Enable “Internal activity”\n            to view it.\n          </div>\n        ) : (\n          listEntries.map(({ request, nested }) => {\n            const requestKey = getRequestInsightKey(request)\n            return (\n              <RequestRow\n                key={requestKey}\n                nested={nested}\n                request={request}\n                pageLoad={isPageLoadRequest(request, initialRequestId)}\n                selected={requestKey === activeRequestKey}\n                onSelect={() => setSelectedRequestKey(requestKey)}\n              />\n            )\n          })\n        )}\n      </div>\n\n      {selectedRequest && (\n        <RequestDetails request={selectedRequest} verbose={verbose} />\n      )}\n    </div>\n  )\n}\n\nfunction RequestRow({\n  request,\n  nested,\n  pageLoad,\n  selected,\n  onSelect,\n}: {\n  request: RequestInsight\n  nested: boolean\n  pageLoad: boolean\n  selected: boolean\n  onSelect: () => void\n}) {\n  const isInstantInsights =\n    getRequestInsightKind(request) === 'instant-insights'\n  const route = request.route ?? request.url ?? 'Unknown route'\n\n  return (\n    <button\n      className=\"request-insights-row\"\n      data-internal={isInstantInsights || undefined}\n      data-nested={nested || undefined}\n      data-page-load={pageLoad}\n      data-selected={selected}\n      onClick={onSelect}\n      type=\"button\"\n    >\n      <span className=\"request-insights-status\" data-status={request.status} />\n      <span className=\"request-insights-route\">\n        {nested ? <NestedArrowIcon /> : null}\n        {isInstantInsights && !nested ? (\n          <span className=\"request-insights-internal-badge\">Internal</span>\n        ) : null}\n        <span className=\"request-insights-route-label\">\n          {isInstantInsights ? 'Instant Insights' : route}\n        </span>\n        {isInstantInsights && !nested ? (\n          <span className=\"request-insights-item-context\">{route}</span>\n        ) : pageLoad ? (\n          <span className=\"request-insights-page-load\">Page load</span>\n        ) : null}\n      </span>\n      <span className=\"request-insights-duration\">\n        {formatDuration(request.durationMs)}\n      </span>\n      <span className=\"request-insights-meta\">\n        {formatClockTime(request.startTime)}\n      </span>\n      <span className=\"request-insights-meta request-insights-fetch-summary\">\n        {request.fetches.length\n          ? `${request.fetches.length} fetch${request.fetches.length === 1 ? '' : 'es'}`\n          : 'No fetches'}\n      </span>\n    </button>\n  )\n}\n\nfunction NestedArrowIcon() {\n  return (\n    <svg\n      aria-hidden=\"true\"\n      className=\"request-insights-nested-arrow\"\n      fill=\"none\"\n      height=\"12\"\n      stroke=\"currentColor\"\n      strokeLinecap=\"round\"\n      strokeLinejoin=\"round\"\n      strokeWidth=\"1.5\"\n      viewBox=\"0 0 16 16\"\n      width=\"12\"\n    >\n      <path d=\"M4 3v5.5A2.5 2.5 0 0 0 6.5 11H12M12 11l-3-3m3 3-3 3\" />\n    </svg>\n  )\n}\n\nfunction CheckIcon() {\n  return (\n    <svg\n      aria-hidden=\"true\"\n      fill=\"currentColor\"\n      height=\"12\"\n      viewBox=\"0 0 16 16\"\n      width=\"12\"\n    >\n      <path d=\"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z\" />\n    </svg>\n  )\n}\n\nfunction RequestDetails({\n  request,\n  verbose,\n}: {\n  request: RequestInsight\n  verbose: boolean\n}) {\n  const traceItems = useMemo(\n    () => getTraceItems(request, verbose),\n    [request, verbose]\n  )\n  const overview = useMemo(() => getRequestOverview(request), [request])\n  const diagnosis = getDiagnosis(request, traceItems)\n\n  return (\n    <div className=\"request-insights-details\">\n      <div className=\"request-insights-summary\">\n        <div className=\"request-insights-heading\">\n          <div className=\"request-insights-title-row\">\n            <div className=\"request-insights-title\">\n              {getRequestInsightKind(request) === 'instant-insights'\n                ? `Instant Insights · ${request.route ?? request.url ?? request.requestId}`\n                : (request.route ?? request.url ?? request.requestId)}\n            </div>\n            <CopyButton\n              actionLabel=\"Copy request JSON\"\n              className=\"request-insights-copy\"\n              content={JSON.stringify(request, null, 2)}\n              successLabel=\"Copied request JSON\"\n            />\n          </div>\n        </div>\n        <div className=\"request-insights-total\">\n          {formatDuration(request.durationMs)}\n        </div>\n      </div>\n\n      <RequestOverview overview={overview} />\n      {overview.errorSummary ? (\n        <div className=\"request-insights-error\">{overview.errorSummary}</div>\n      ) : null}\n      <div className=\"request-insights-diagnosis\">{diagnosis}</div>\n\n      <Trace items={traceItems} request={request} />\n\n      <FetchTable fetches={request.fetches} />\n    </div>\n  )\n}\n\nfunction RequestOverview({\n  overview,\n}: {\n  overview: ReturnType<typeof getRequestOverview>\n}) {\n  return (\n    <div className=\"request-insights-overview\">\n      {overview.method ? <span>Method {overview.method}</span> : null}\n      <span>Status {overview.statusLabel}</span>\n      <span>{overview.kind}</span>\n      <span>{overview.fetchSummary}</span>\n      <span>{overview.cacheSummary}</span>\n      <span>{overview.spanSummary}</span>\n    </div>\n  )\n}\n\nfunction Trace({\n  request,\n  items,\n}: {\n  request: RequestInsight\n  items: TraceItem[]\n}) {\n  const range = getTraceRange(request)\n  const ticks = Array.from({ length: TRACE_TICK_COUNT }, (_, index) => {\n    const position = index / (TRACE_TICK_COUNT - 1)\n    return {\n      label: formatDuration(range.durationMs * position),\n      position: position * 100,\n    }\n  })\n\n  return (\n    <div className=\"request-insights-section\">\n      <div className=\"request-insights-section-heading\">\n        <div className=\"request-insights-section-title\">Trace</div>\n        <div className=\"request-insights-section-note\">\n          {items.length} span{items.length === 1 ? '' : 's'} ·{' '}\n          {formatDuration(range.durationMs)}\n        </div>\n      </div>\n      <div className=\"request-insights-trace-viewport\">\n        <div className=\"request-insights-trace\">\n          <div className=\"request-insights-trace-header\">\n            <span>Span</span>\n            <span className=\"request-insights-trace-axis\">\n              {ticks.map((tick, index) => (\n                <span\n                  className=\"request-insights-trace-tick\"\n                  data-edge={\n                    index === 0\n                      ? 'start'\n                      : index === ticks.length - 1\n                        ? 'end'\n                        : undefined\n                  }\n                  key={tick.position}\n                  style={{ left: `${tick.position}%` }}\n                >\n                  {tick.label}\n                </span>\n              ))}\n            </span>\n            <span className=\"request-insights-trace-duration-heading\">\n              Duration\n            </span>\n          </div>\n          <div className=\"request-insights-trace-rows\">\n            {items.map((item) => {\n              const position = getTracePosition(item, range)\n\n              return (\n                <div\n                  className=\"request-insights-span-row\"\n                  data-kind={item.kind}\n                  key={item.id}\n                  title={`${item.label} · +${formatDuration(position.offsetMs)} · ${formatDuration(item.durationMs)}`}\n                >\n                  <span\n                    className=\"request-insights-span-name\"\n                    style={{ paddingLeft: `${item.depth * 14 + 4}px` }}\n                  >\n                    <span className=\"request-insights-span-label\">\n                      <span\n                        className=\"request-insights-span-marker\"\n                        data-kind={item.kind}\n                        data-status={item.status}\n                      />\n                      <span>{item.label}</span>\n                    </span>\n                  </span>\n                  <span className=\"request-insights-span-track\">\n                    <span\n                      className=\"request-insights-span-bar\"\n                      data-status={item.status}\n                      style={{\n                        left: `${position.left}%`,\n                        width: `${position.width}%`,\n                      }}\n                    />\n                  </span>\n                  <span className=\"request-insights-span-duration\">\n                    {formatDuration(item.durationMs)}\n                  </span>\n                </div>\n              )\n            })}\n          </div>\n        </div>\n      </div>\n    </div>\n  )\n}\n\nfunction FetchTable({ fetches }: { fetches: RequestInsightFetch[] }) {\n  return (\n    <div className=\"request-insights-section\">\n      <div className=\"request-insights-section-title\">Fetches</div>\n      {fetches.length === 0 ? (\n        <div className=\"request-insights-muted\">\n          No server fetches captured.\n        </div>\n      ) : (\n        <div className=\"request-insights-fetch-table\">\n          <div className=\"request-insights-fetch request-insights-fetch-header\">\n            <span>Method</span>\n            <span>URL</span>\n            <span>Duration</span>\n            <span>Status</span>\n            <span>Cache</span>\n            <span>Reason</span>\n          </div>\n          {fetches.map((fetch, index) => {\n            const urlParts = formatUrl(fetch.url)\n            return (\n              <div className=\"request-insights-fetch\" key={index}>\n                <span className=\"request-insights-method\">\n                  {fetch.method ?? 'GET'}\n                </span>\n                <span className=\"request-insights-fetch-url\">\n                  <span>{urlParts.path}</span>\n                  {urlParts.host ? (\n                    <span className=\"request-insights-fetch-host\">\n                      {urlParts.host}\n                    </span>\n                  ) : null}\n                </span>\n                <span>{formatDuration(fetch.durationMs)}</span>\n                <span>{fetch.statusCode ?? '-'}</span>\n                <span>{fetch.cacheStatus ?? 'unknown'}</span>\n                <span className=\"request-insights-cache-reason\">\n                  {fetch.cacheReason ?? '-'}\n                </span>\n              </div>\n            )\n          })}\n        </div>\n      )}\n    </div>\n  )\n}\n\nfunction getRequestOverview(request: RequestInsight) {\n  const isInstantInsights =\n    getRequestInsightKind(request) === 'instant-insights'\n  const method = isInstantInsights\n    ? undefined\n    : (getFirstStringAttribute(request, 'http.method') ??\n      getMethodFromName(request.spans[0]?.name) ??\n      'GET')\n  const statusCode = getFirstNumberAttribute(request, 'http.status_code')\n  const isRsc = getFirstBooleanAttribute(request, 'next.rsc')\n  const erroredSpan = request.spans.find(\n    (span) => span.status === 'error' || span.error\n  )\n  const errorSummary = erroredSpan\n    ? `${erroredSpan.name}: ${erroredSpan.error?.message ?? erroredSpan.error?.type ?? 'error'}`\n    : undefined\n  const cacheCounts = request.fetches.reduce(\n    (counts, fetch) => {\n      if (fetch.cacheStatus === 'hit') counts.hit += 1\n      else if (fetch.cacheStatus === 'miss') counts.miss += 1\n      else if (fetch.cacheStatus === 'skip') counts.skip += 1\n      else counts.unknown += 1\n      return counts\n    },\n    { hit: 0, miss: 0, skip: 0, unknown: 0 }\n  )\n  const knownCacheCount = cacheCounts.hit + cacheCounts.miss + cacheCounts.skip\n\n  return {\n    method,\n    statusCode,\n    statusLabel: statusCode ?? request.status,\n    kind: isInstantInsights\n      ? 'Instant Insights'\n      : isRsc\n        ? 'RSC request'\n        : 'HTML request',\n    fetchSummary: request.fetches.length\n      ? `${request.fetches.length} fetch${request.fetches.length === 1 ? '' : 'es'}`\n      : 'No fetches',\n    cacheSummary:\n      request.fetches.length === 0\n        ? 'No cache data'\n        : knownCacheCount === 0\n          ? 'Cache status unknown'\n          : `Cache ${cacheCounts.hit} hit, ${cacheCounts.miss} miss, ${cacheCounts.skip} skip${\n              cacheCounts.unknown ? `, ${cacheCounts.unknown} unknown` : ''\n            }`,\n    spanSummary: `${request.spans.length} span${request.spans.length === 1 ? '' : 's'}`,\n    errorSummary,\n  }\n}\n\nfunction getDiagnosis(\n  request: RequestInsight,\n  traceItems: TraceItem[]\n): string {\n  const nestedItems = traceItems.filter((item) => item.depth > 0)\n  const criticalItem = (\n    nestedItems.length > 0 ? nestedItems : traceItems\n  ).reduce<TraceItem | null>((largest, item) => {\n    if (!largest || (item.durationMs ?? 0) > (largest.durationMs ?? 0)) {\n      return item\n    }\n    return largest\n  }, null)\n  const slowestFetch = request.fetches.reduce<RequestInsightFetch | null>(\n    (slowest, fetch) => {\n      if (!slowest || (fetch.durationMs ?? 0) > (slowest.durationMs ?? 0)) {\n        return fetch\n      }\n      return slowest\n    },\n    null\n  )\n\n  if (\n    slowestFetch &&\n    (!criticalItem ||\n      (slowestFetch.durationMs ?? 0) >= (criticalItem.durationMs ?? 0))\n  ) {\n    const urlParts = formatUrl(slowestFetch.url)\n    return `Slowest recorded operation: ${urlParts.path} · ${formatDuration(slowestFetch.durationMs)}${getCacheSummary(slowestFetch)}.`\n  }\n\n  if (criticalItem) {\n    return `Slowest recorded operation: ${criticalItem.label} · ${formatDuration(criticalItem.durationMs)}.`\n  }\n\n  return 'No slow server work was captured for this request.'\n}\n\nfunction getCacheSummary(fetch: RequestInsightFetch): string {\n  if (!fetch.cacheStatus) {\n    return ''\n  }\n\n  const reason = fetch.cacheReason ? `, ${fetch.cacheReason}` : ''\n  return ` (${fetch.cacheStatus}${reason})`\n}\n\nfunction getFirstStringAttribute(\n  request: RequestInsight,\n  key: string\n): string | undefined {\n  for (const span of request.spans) {\n    const value = span.attributes?.[key]\n    if (typeof value === 'string') {\n      return value\n    }\n  }\n}\n\nfunction getFirstNumberAttribute(\n  request: RequestInsight,\n  key: string\n): number | undefined {\n  for (const span of request.spans) {\n    const value = span.attributes?.[key]\n    if (typeof value === 'number') {\n      return value\n    }\n  }\n}\n\nfunction getFirstBooleanAttribute(\n  request: RequestInsight,\n  key: string\n): boolean | undefined {\n  for (const span of request.spans) {\n    const value = span.attributes?.[key]\n    if (typeof value === 'boolean') {\n      return value\n    }\n  }\n}\n\nfunction getMethodFromName(name: string | undefined): string | undefined {\n  const match = name?.match(\n    /^(?:RSC )?(GET|HEAD|POST|PUT|PATCH|DELETE|OPTIONS)\\b/\n  )\n  return match?.[1]\n}\n\nfunction formatUrl(url: string | undefined): { path: string; host?: string } {\n  if (!url) {\n    return { path: 'Unknown URL' }\n  }\n\n  try {\n    const parsedUrl = new URL(url, window.location.origin)\n    const path = `${parsedUrl.pathname}${parsedUrl.search}`\n    const sameHost = parsedUrl.host === window.location.host\n    return {\n      path,\n      host: sameHost ? undefined : parsedUrl.host,\n    }\n  } catch {\n    return { path: url }\n  }\n}\n\nfunction formatClockTime(timestamp: number): string {\n  return new Date(timestamp).toLocaleTimeString(undefined, {\n    hour: '2-digit',\n    minute: '2-digit',\n    second: '2-digit',\n  })\n}\n","\n      import API from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n      import domAPI from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n      import insertFn from \"../../../build/webpack/loaders/devtool/devtool-style-inject.js\";\n      import setAttributes from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n      import insertStyleElement from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n      import styleTagTransformFn from \"!../../../../../../node_modules/.pnpm/style-loader@4.0.0_webpack@5.98.0_@swc+core@1.11.24_@swc+helpers@0.5.23__esbuild@0.25.9_/node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n      import content, * as namedExport from \"!!../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./panel-router.css\";\n      \n      \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\noptions.insert = insertFn;\noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../../../../node_modules/.pnpm/css-loader@7.1.2_@rspack+core@1.6.7_patch_hash=4cf28ea116b0e27c7c80b09035905f9d16a7b18d_067c284db30b31cbdc6daa7c0d971600/node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[3].use[1]!./panel-router.css\";\n       export default content && content.locals ? content.locals : undefined;\n","import type { ComponentProps } from 'react'\n\nexport function CacheDisabledBody(props: ComponentProps<'div'>) {\n  return (\n    <article className=\"dev-tools-info-article\" {...props}>\n      <p className=\"dev-tools-info-paragraph\">\n        While loading this page, all caches were bypassed.\n      </p>\n      <p className=\"dev-tools-info-paragraph\">\n        This is the case when the cache was disabled in the browser's devtools,\n        the page was hard-reloaded, or draft mode is enabled.\n      </p>\n      <p className=\"dev-tools-info-paragraph\">\n        As a result, the loading experience might not be the same as in\n        production. React's DevTools will also not accurately show information\n        about what would normally suspend in the page, and Next.js cannot\n        validate whether a navigation to this page would be instant or blocking.\n      </p>\n    </article>\n  )\n}\n","import type { ComponentProps } from 'react'\n\nexport function ColdCacheBody(props: ComponentProps<'div'>) {\n  return (\n    <article className=\"dev-tools-info-article\" {...props}>\n      <p className=\"dev-tools-info-paragraph\">\n        While loading this page, one or more caches were empty and had to be\n        filled while the response was streaming.\n      </p>\n      <p className=\"dev-tools-info-paragraph\">\n        This happens on the first render after a cache is cleared, for example\n        after a server restart, a revalidation, or an entry expiring, i.e. the\n        request that fills the cache.\n      </p>\n      <p className=\"dev-tools-info-paragraph\">\n        As a result, this load isn't representative of production: cached\n        content streamed in as it was computed instead of being served\n        instantly, and React's DevTools won't accurately show what would\n        normally suspend in the page. Reload the page, now that the caches are\n        warm, to see the production-like loading sequence.\n      </p>\n    </article>\n  )\n}\n","import { usePanelRouterContext, type PanelStateKind } from './context'\nimport { ChevronRight, DevtoolMenu, IssueCount } from './dev-overlay-menu'\nimport { getIssueBucketState } from './issue-bucket-state'\nimport { DynamicPanel } from '../panel/dynamic-panel'\nimport {\n  learnMoreLink,\n  RouteInfoBody,\n} from '../components/errors/dev-tools-indicator/dev-tools-info/route-info'\nimport { PageSegmentTree } from '../components/overview/segment-explorer'\nimport { DevToolsHeader } from '../components/errors/dev-tools-indicator/dev-tools-info/dev-tools-header'\nimport { useDelayedRender } from '../hooks/use-delayed-render'\nimport {\n  MENU_CURVE,\n  MENU_DURATION_MS,\n} from '../components/errors/dev-tools-indicator/utils'\nimport { useDevOverlayContext } from '../../dev-overlay.browser'\nimport { createContext, useContext, useEffect, useRef } from 'react'\nimport { useRenderErrorContext } from '../dev-overlay'\nimport {\n  ACTION_DEV_INDICATOR_SET,\n  ACTION_DEVTOOLS_POSITION,\n  ACTION_DEVTOOLS_SCALE,\n  ACTION_ERROR_OVERLAY_CLOSE,\n  ACTION_ERROR_OVERLAY_OPEN,\n} from '../shared'\nimport GearIcon from '../icons/gear-icon'\nimport { LoadingIcon } from '../icons/loading-icon'\nimport { UserPreferencesBody } from '../components/errors/dev-tools-indicator/dev-tools-info/user-preferences'\nimport { useShortcuts } from '../hooks/use-shortcuts'\nimport { useUpdateAllPanelPositions } from '../components/devtools-indicator/devtools-indicator'\nimport { saveDevToolsConfig } from '../utils/save-devtools-config'\nimport { InstantNavsPanel } from '../components/instant-navs/instant-navs-panel'\nimport { RequestInsightsPanel } from '../components/request-insights/request-insights-panel'\nimport './panel-router.css'\nimport { CacheDisabledBody } from '../components/errors/dev-tools-indicator/dev-tools-info/cache-disabled'\nimport { ColdCacheBody } from '../components/errors/dev-tools-indicator/dev-tools-info/cold-cache'\n\nconst MenuPanel = () => {\n  const { setPanel, setSelectedIndex } = usePanelRouterContext()\n  const { state, dispatch } = useDevOverlayContext()\n  const { normalErrorCount, instantErrorCount } = useRenderErrorContext()\n  const isAppRouter = state.routerType === 'app'\n\n  const { hasNormal, hasInstant, hasAny } = getIssueBucketState(\n    normalErrorCount,\n    instantErrorCount\n  )\n\n  const titleParts: string[] = []\n  if (hasNormal) {\n    titleParts.push(\n      `${normalErrorCount} ${normalErrorCount === 1 ? 'issue' : 'issues'}`\n    )\n  }\n  if (hasInstant) {\n    titleParts.push(\n      `${instantErrorCount} ${instantErrorCount === 1 ? 'insight' : 'insights'}`\n    )\n  }\n  const label =\n    hasNormal && hasInstant\n      ? 'Issues · Insights'\n      : hasInstant\n        ? 'Insights'\n        : 'Issues'\n\n  return (\n    <DevtoolMenu\n      items={[\n        hasAny && {\n          title: `${titleParts.join(' · ')} found. Click to view details in the dev overlay.`,\n          label,\n          value: (\n            <span className=\"dev-tools-indicator-issue-counts\">\n              {hasNormal && (\n                <IssueCount variant=\"issue\">{normalErrorCount}</IssueCount>\n              )}\n              {hasInstant && (\n                <IssueCount variant=\"insight\">{instantErrorCount}</IssueCount>\n              )}\n            </span>\n          ),\n          onClick: () => {\n            if (state.isErrorOverlayOpen) {\n              dispatch({ type: ACTION_ERROR_OVERLAY_CLOSE })\n              setPanel(null)\n              return\n            }\n            setPanel(null)\n            setSelectedIndex(-1)\n            dispatch({ type: ACTION_ERROR_OVERLAY_OPEN })\n          },\n        },\n        state.staticIndicator === 'disabled'\n          ? undefined\n          : state.staticIndicator === 'pending'\n            ? {\n                title: 'Loading...',\n                label: 'Route',\n                value: <LoadingIcon />,\n              }\n            : {\n                title: `Current route is ${state.staticIndicator}.`,\n                label: 'Route',\n                value:\n                  state.staticIndicator === 'static' ? 'Static' : 'Dynamic',\n                onClick: () => setPanel('route-type'),\n                attributes: {\n                  'data-nextjs-route-type': state.staticIndicator,\n                },\n              },\n        !!process.env.TURBOPACK\n          ? {\n              title: 'Turbopack is enabled.',\n              label: 'Bundler',\n              value: 'Turbopack',\n            }\n          : {\n              title:\n                'Learn about Turbopack and how to enable it in your application.',\n              label: 'Bundler',\n              value: (\n                <a\n                  href=\"https://nextjs.org/docs/app/api-reference/config/next-config-js/turbopack\"\n                  target=\"_blank\"\n                  rel=\"noreferrer noopener\"\n                  className=\"turbopack-upgrade-link\"\n                >\n                  {process.env.__NEXT_BUNDLER || 'Turbopack'}\n                </a>\n              ),\n            },\n        !!process.env.__NEXT_CACHE_COMPONENTS && {\n          title: 'Cache Components is enabled.',\n          label: 'Cache Components',\n          value: 'Enabled',\n        },\n        isAppRouter &&\n          !!process.env.__NEXT_INSTANT_NAV_TOGGLE && {\n            title: 'Test instant navigation behavior.',\n            label: 'Navigation Inspector',\n            value: <ChevronRight />,\n            onClick: () => {\n              setPanel('instant-navs')\n            },\n            attributes: {\n              'data-instant-nav': true,\n            },\n          },\n        isAppRouter &&\n          !!process.env.__NEXT_REQUEST_INSIGHTS && {\n            title: 'Inspect recent App Router requests.',\n            label: 'Request Insights',\n            value: <ChevronRight />,\n            onClick: () => {\n              setPanel('request-insights')\n            },\n            attributes: {\n              'data-request-insights': true,\n            },\n          },\n        state.cacheIndicator === 'bypass' && {\n          title:\n            'Caching is currently disabled (bypassed). Click to learn more.',\n          label: 'Cache',\n          value: 'Disabled',\n          onClick: () => setPanel('cache-disabled'),\n          attributes: {\n            'data-cache-disabled': true,\n          },\n        },\n        state.cacheIndicator === 'cold' && {\n          title:\n            'This load filled one or more caches while streaming, so it is not representative of production. Click to learn more.',\n          label: 'Cache',\n          value: 'Cold',\n          onClick: () => setPanel('cold-cache'),\n          attributes: {\n            'data-cold-cache': true,\n          },\n        },\n        isAppRouter && {\n          label: 'Route Info',\n          value: <ChevronRight />,\n          onClick: () => setPanel('segment-explorer'),\n          attributes: {\n            'data-segment-explorer': true,\n          },\n        },\n        {\n          label: 'Preferences',\n          value: <GearIcon />,\n          onClick: () => setPanel('preferences'),\n          footer: true,\n          attributes: {\n            'data-preferences': true,\n          },\n        },\n      ]}\n    />\n  )\n}\n\n// a little hacky but it does the trick\nconst useToggleDevtoolsVisibility = () => {\n  const { state, dispatch, shadowRoot } = useDevOverlayContext()\n  return () => {\n    dispatch({\n      type: ACTION_DEV_INDICATOR_SET,\n      disabled: !state.disableDevIndicator,\n    })\n\n    const menuElement = shadowRoot.getElementById('panel-route') as HTMLElement\n    const indicatorElement = shadowRoot.getElementById(\n      'data-devtools-indicator'\n    ) as HTMLElement\n\n    if (menuElement && menuElement.firstElementChild) {\n      const firstChild = menuElement.firstElementChild as HTMLElement\n      const isCurrentlyHidden = firstChild.style.display === 'none'\n      firstChild.style.display = isCurrentlyHidden ? '' : 'none'\n    }\n\n    if (indicatorElement) {\n      const isCurrentlyHidden = indicatorElement.style.display === 'none'\n      indicatorElement.style.display = isCurrentlyHidden ? '' : 'none'\n    }\n  }\n}\n\nexport const PanelRouter = () => {\n  const { state } = useDevOverlayContext()\n  const { triggerRef, setPanel } = usePanelRouterContext()\n  const toggleDevtools = useToggleDevtoolsVisibility()\n  const isAppRouter = state.routerType === 'app'\n\n  // True while the error overlay is open, cleared on a deferred tick so the single\n  // ESC that closes the overlay does not also release the capture (the instant\n  // panel's ESC handler runs later in that same keystroke). A later ESC releases.\n  const errorOverlayOpenRef = useRef(false)\n  useEffect(() => {\n    if (state.isErrorOverlayOpen) {\n      errorOverlayOpenRef.current = true\n      return\n    }\n    const timeout = setTimeout(() => {\n      errorOverlayOpenRef.current = false\n    })\n    return () => clearTimeout(timeout)\n  }, [state.isErrorOverlayOpen])\n\n  // Returns to the menu, which ends the capture via the panel-switch effect.\n  // Exceptions: clicking outside is ignored (keeps the frozen page interactive);\n  // an ESC that just closed the error overlay is ignored (errorOverlayOpenRef).\n  const closeInstantPanel = (reason?: 'escape' | 'outside') => {\n    if (reason === 'outside') {\n      return\n    }\n    if (reason === 'escape' && errorOverlayOpenRef.current) {\n      return\n    }\n    setPanel('panel-selector')\n  }\n\n  useShortcuts(\n    state.hideShortcut ? { [state.hideShortcut]: toggleDevtools } : {},\n    triggerRef\n  )\n\n  return (\n    <>\n      <PanelRoute name=\"panel-selector\">\n        <MenuPanel />\n      </PanelRoute>\n\n      {/* TODO: NEXT-4644 */}\n      <PanelRoute name=\"preferences\">\n        <DynamicPanel\n          sharePanelSizeGlobally={false}\n          sizeConfig={{\n            kind: 'fixed',\n            height: 500 / state.scale,\n            width: 480 + 32,\n          }}\n          closeOnClickOutside\n          header={<DevToolsHeader title=\"Preferences\" />}\n        >\n          <UserPreferencesWrapper />\n        </DynamicPanel>\n      </PanelRoute>\n\n      {state.staticIndicator !== 'disabled' &&\n        state.staticIndicator !== 'pending' && (\n          <PanelRoute name=\"route-type\">\n            <DynamicPanel\n              key={state.staticIndicator}\n              sharePanelSizeGlobally={false}\n              sizeConfig={{\n                kind: 'fixed',\n                height:\n                  state.staticIndicator === 'static'\n                    ? 300 / state.scale\n                    : 325 / state.scale,\n                width: 400 / state.scale,\n              }}\n              closeOnClickOutside\n              header={\n                <DevToolsHeader\n                  title={`${state.staticIndicator === 'static' ? 'Static' : 'Dynamic'} Route`}\n                />\n              }\n            >\n              <div className=\"panel-content\">\n                <RouteInfoBody\n                  routerType={state.routerType}\n                  isStaticRoute={state.staticIndicator === 'static'}\n                />\n                <InfoFooter\n                  href={learnMoreLink[state.routerType][state.staticIndicator]}\n                />\n              </div>\n            </DynamicPanel>\n          </PanelRoute>\n        )}\n\n      {isAppRouter && (\n        <PanelRoute name=\"segment-explorer\">\n          <DynamicPanel\n            sharePanelSizeGlobally={false}\n            sharePanelPositionGlobally={false}\n            draggable\n            sizeConfig={{\n              kind: 'resizable',\n              maxHeight: '90vh',\n              maxWidth: '90vw',\n              minHeight: 200 / state.scale,\n              minWidth: 250 / state.scale,\n              initialSize: {\n                height: 375 / state.scale,\n                width: 400 / state.scale,\n              },\n            }}\n            header={<DevToolsHeader title=\"Route Info\" />}\n          >\n            <PageSegmentTree page={state.page} />\n          </DynamicPanel>\n        </PanelRoute>\n      )}\n\n      {isAppRouter && !!process.env.__NEXT_INSTANT_NAV_TOGGLE && (\n        <PanelRoute name=\"instant-navs\">\n          <DynamicPanel\n            sharePanelSizeGlobally={false}\n            sharePanelPositionGlobally={false}\n            draggable\n            keepBehindErrorOverlay\n            onClose={closeInstantPanel}\n            sizeConfig={{\n              kind: 'auto',\n              width: 460 / state.scale,\n            }}\n            header={\n              <DevToolsHeader\n                title=\"Navigation Inspector\"\n                onClose={() => closeInstantPanel()}\n              />\n            }\n          >\n            <InstantNavsPanel />\n          </DynamicPanel>\n        </PanelRoute>\n      )}\n\n      {isAppRouter && !!process.env.__NEXT_REQUEST_INSIGHTS && (\n        <PanelRoute name=\"request-insights\">\n          <DynamicPanel\n            sharePanelSizeGlobally={false}\n            sharePanelPositionGlobally={false}\n            draggable\n            sizeConfig={{\n              kind: 'resizable',\n              maxHeight: '90vh',\n              maxWidth: '90vw',\n              minHeight: 260 / state.scale,\n              minWidth: `min(${560 / state.scale}px, 90vw)`,\n              initialSize: {\n                height: 440 / state.scale,\n                width: 760 / state.scale,\n              },\n            }}\n            header={<DevToolsHeader title=\"Request Insights\" />}\n          >\n            <RequestInsightsPanel />\n          </DynamicPanel>\n        </PanelRoute>\n      )}\n\n      {state.cacheIndicator === 'bypass' && (\n        <PanelRoute name=\"cache-disabled\">\n          <DynamicPanel\n            sharePanelSizeGlobally={false}\n            sizeConfig={{\n              kind: 'fixed',\n              height: 340 / state.scale,\n              width: 480 / state.scale,\n            }}\n            closeOnClickOutside\n            header={<DevToolsHeader title=\"Cache disabled\" />}\n          >\n            <div className=\"panel-content\">\n              <CacheDisabledBody />\n            </div>\n          </DynamicPanel>\n        </PanelRoute>\n      )}\n\n      {state.cacheIndicator === 'cold' && (\n        <PanelRoute name=\"cold-cache\">\n          <DynamicPanel\n            sharePanelSizeGlobally={false}\n            sizeConfig={{\n              kind: 'fixed',\n              height: 400 / state.scale,\n              width: 480 / state.scale,\n            }}\n            closeOnClickOutside\n            header={<DevToolsHeader title=\"Cold cache\" />}\n          >\n            <div className=\"panel-content\">\n              <ColdCacheBody />\n            </div>\n          </DynamicPanel>\n        </PanelRoute>\n      )}\n    </>\n  )\n}\n\nconst InfoFooter = ({ href }: { href: string }) => {\n  return (\n    <div className=\"dev-tools-info-button-container\">\n      <a\n        className=\"dev-tools-info-learn-more-button\"\n        href={href}\n        target=\"_blank\"\n        rel=\"noreferrer noopener\"\n      >\n        Learn More\n      </a>\n    </div>\n  )\n}\n\nconst UserPreferencesWrapper = () => {\n  const { dispatch, state } = useDevOverlayContext()\n  const { setPanel, setSelectedIndex } = usePanelRouterContext()\n  const updateAllPanelPositions = useUpdateAllPanelPositions()\n\n  return (\n    <div className=\"user-preferences-wrapper\">\n      <UserPreferencesBody\n        theme={state.theme}\n        position={state.devToolsPosition}\n        scale={state.scale}\n        setScale={(scale) => {\n          dispatch({\n            type: ACTION_DEVTOOLS_SCALE,\n            scale,\n          })\n        }}\n        setPosition={(devToolsPosition) => {\n          dispatch({\n            type: ACTION_DEVTOOLS_POSITION,\n            devToolsPosition,\n          })\n          updateAllPanelPositions(devToolsPosition)\n        }}\n        hideShortcut={state.hideShortcut}\n        setHideShortcut={(value) => {\n          saveDevToolsConfig({ hideShortcut: value })\n        }}\n        hide={() => {\n          dispatch({\n            type: ACTION_DEV_INDICATOR_SET,\n            disabled: true,\n          })\n          setSelectedIndex(-1)\n          setPanel(null)\n          fetch('/__nextjs_disable_dev_indicator', {\n            method: 'POST',\n          })\n        }}\n      />\n    </div>\n  )\n}\n\nexport const usePanelContext = () => useContext(PanelContext)\nconst PanelContext = createContext<{\n  name: PanelStateKind\n  mounted: boolean\n}>(null!)\n// this router can be enhanced by Activity and ViewTransition trivially when we want to use them\nfunction PanelRoute({\n  children,\n  name,\n}: {\n  children: React.ReactNode\n  name: PanelStateKind\n}) {\n  const { panel } = usePanelRouterContext()\n  const { mounted, rendered } = useDelayedRender(name === panel, {\n    enterDelay: 0,\n    exitDelay: MENU_DURATION_MS,\n  })\n\n  if (!mounted) return null\n\n  return (\n    <PanelContext\n      value={{\n        name,\n        mounted,\n      }}\n    >\n      <div\n        id=\"panel-route\"\n        className=\"panel-route\"\n        style={\n          {\n            '--panel-opacity': rendered ? 1 : 0,\n            '--panel-transition': `opacity ${MENU_DURATION_MS}ms ${MENU_CURVE}`,\n          } as React.CSSProperties\n        }\n      >\n        {children}\n      </div>\n    </PanelContext>\n  )\n}\n","import { useEffect } from 'react'\nimport { getActiveElement } from '../components/errors/dev-tools-indicator/utils'\n\nexport function useShortcuts(\n  shortcuts: Record<string, () => void>,\n  rootRef: React.RefObject<HTMLElement | null>\n) {\n  useEffect(() => {\n    function handleKeyDown(e: KeyboardEvent) {\n      if (isFocusedOnElement(rootRef)) return\n\n      const keys = []\n\n      if (e.metaKey) keys.push('Meta')\n      if (e.ctrlKey) keys.push('Control')\n      if (e.altKey) keys.push('Alt')\n      if (e.shiftKey) keys.push('Shift')\n\n      if (\n        e.key !== 'Meta' &&\n        e.key !== 'Control' &&\n        e.key !== 'Alt' &&\n        e.key !== 'Shift'\n      ) {\n        keys.push(e.code)\n      }\n\n      const shortcut = keys.join('+')\n\n      if (shortcuts[shortcut]) {\n        e.preventDefault()\n        shortcuts[shortcut]()\n      }\n    }\n\n    window.addEventListener('keydown', handleKeyDown)\n    return () => window.removeEventListener('keydown', handleKeyDown)\n  }, [rootRef, shortcuts])\n}\n\nfunction isFocusedOnElement(rootRef: React.RefObject<HTMLElement | null>) {\n  const el = getActiveElement(rootRef.current)\n\n  if (!el) return false\n\n  if (\n    el.contentEditable === 'true' ||\n    el.tagName === 'INPUT' ||\n    el.tagName === 'TEXTAREA' ||\n    el.tagName === 'SELECT' ||\n    el.dataset['shortcut-recorder'] === 'true'\n  ) {\n    // It's okay to trigger global keybinds from readonly inputs\n    if (el.hasAttribute('readonly')) {\n      return false\n    }\n    return true\n  }\n\n  return false\n}\n","import { createContext, useContext, useEffect, useRef, useState } from 'react'\nimport { ShadowPortal } from './components/shadow-portal'\nimport { ComponentStyles } from './styles/component-styles'\nimport { ErrorOverlay } from './components/errors/error-overlay/error-overlay'\nimport { RenderError } from './container/runtime-error/render-error'\nimport { ScaleUpdater } from './styles/scale-updater'\nimport type { ReadyRuntimeError } from './utils/get-error-by-type'\nimport { DevToolsIndicator } from './components/devtools-indicator/devtools-indicator'\nimport { PanelRouter } from './menu/panel-router'\nimport { PanelRouterContext, type PanelStateKind } from './menu/context'\nimport { useDevOverlayContext } from '../dev-overlay.browser'\nimport { ACTION_INSTANT_ERRORS_CLEAR, type DispatcherEvent } from './shared'\n\nexport const RenderErrorContext = createContext<{\n  runtimeErrors: ReadyRuntimeError[]\n  totalErrorCount: number\n  normalErrorCount: number\n  instantErrorCount: number\n}>(null!)\n\nexport const useRenderErrorContext = () => useContext(RenderErrorContext)\n\n// Dispatches `ACTION_INSTANT_ERRORS_CLEAR` whenever the page changes to a\n// new non-empty value. The first non-empty value is recorded as a baseline\n// (the route the user landed on) and does not trigger a clear.\nfunction useClearInstantErrorsOnNav(\n  page: string,\n  dispatch: (action: DispatcherEvent) => void\n) {\n  const baselinePageRef = useRef<string | null>(null)\n  useEffect(() => {\n    if (page === '') return\n    if (baselinePageRef.current === null) {\n      baselinePageRef.current = page\n      return\n    }\n    if (page === baselinePageRef.current) return\n    baselinePageRef.current = page\n    dispatch({ type: ACTION_INSTANT_ERRORS_CLEAR, currentPath: page })\n  }, [page, dispatch])\n}\n\nexport function DevOverlay() {\n  const [selectedIndex, setSelectedIndex] = useState(-1)\n  const { state, dispatch, getSquashedHydrationErrorDetails } =\n    useDevOverlayContext()\n  const [panel, setPanel] = useState<null | PanelStateKind>(() =>\n    state.instantNavs ? 'instant-navs' : null\n  )\n\n  useClearInstantErrorsOnNav(state.page, dispatch)\n\n  const triggerRef = useRef<HTMLButtonElement>(null)\n  return (\n    <ShadowPortal>\n      <ScaleUpdater />\n      <ComponentStyles />\n\n      <RenderError state={state} isAppDir={true}>\n        {({\n          runtimeErrors,\n          totalErrorCount,\n          normalErrorCount,\n          instantErrorCount,\n        }) => {\n          return (\n            <>\n              {state.showIndicator ? (\n                <>\n                  <RenderErrorContext\n                    value={{\n                      runtimeErrors,\n                      totalErrorCount,\n                      normalErrorCount,\n                      instantErrorCount,\n                    }}\n                  >\n                    <PanelRouterContext\n                      value={{\n                        panel,\n                        setPanel,\n                        triggerRef,\n                        selectedIndex,\n                        setSelectedIndex,\n                      }}\n                    >\n                      <ErrorOverlay\n                        state={state}\n                        dispatch={dispatch}\n                        getSquashedHydrationErrorDetails={\n                          getSquashedHydrationErrorDetails\n                        }\n                        runtimeErrors={runtimeErrors}\n                        errorCount={totalErrorCount}\n                      />\n                      <PanelRouter />\n                      <DevToolsIndicator />\n                    </PanelRouterContext>\n                  </RenderErrorContext>\n                </>\n              ) : null}\n            </>\n          )\n        }}\n      </RenderError>\n    </ShadowPortal>\n  )\n}\n","import {\n  ACTION_BEFORE_REFRESH,\n  ACTION_BUILD_ERROR,\n  ACTION_BUILD_OK,\n  ACTION_DEBUG_INFO,\n  ACTION_DEV_INDICATOR,\n  ACTION_REFRESH,\n  ACTION_ERROR_OVERLAY_CLOSE,\n  ACTION_ERROR_OVERLAY_OPEN,\n  ACTION_ERROR_OVERLAY_TOGGLE,\n  ACTION_STATIC_INDICATOR,\n  ACTION_UNHANDLED_ERROR,\n  ACTION_UNHANDLED_REJECTION,\n  ACTION_VERSION_INFO,\n  useErrorOverlayReducer,\n  ACTION_BUILDING_INDICATOR_HIDE,\n  ACTION_BUILDING_INDICATOR_SHOW,\n  ACTION_RENDERING_INDICATOR_HIDE,\n  ACTION_RENDERING_INDICATOR_SHOW,\n  ACTION_DEVTOOL_UPDATE_ROUTE_STATE,\n  ACTION_DEVTOOLS_CONFIG,\n  type OverlayState,\n  type DispatcherEvent,\n  ACTION_CACHE_INDICATOR,\n  ACTION_INSTANT_NAVS_TOGGLE,\n  ACTION_REQUEST_INSIGHTS_SNAPSHOT,\n  ACTION_REQUEST_INSIGHTS_UPDATE,\n} from './dev-overlay/shared'\n\nimport type { FlightRouterState } from '../shared/lib/app-router-types'\nimport {\n  createContext,\n  startTransition,\n  useContext,\n  useEffect,\n  useInsertionEffect,\n  useLayoutEffect,\n  type ActionDispatch,\n} from 'react'\nimport { createRoot } from 'react-dom/client'\nimport type { CacheIndicatorState } from './dev-overlay/cache-indicator'\nimport type { HydrationErrorState } from './shared/hydration-error'\nimport type { DebugInfo } from './shared/types'\nimport type { DevIndicatorServerState } from '../server/dev/dev-indicator-server-state'\nimport type { VersionInfo } from '../server/dev/parse-version-info'\nimport {\n  insertSegmentNode,\n  removeSegmentNode,\n  getSegmentTrieRoot,\n} from './dev-overlay/segment-explorer-trie'\nimport type { SegmentNodeState } from './userspace/app/segment-explorer-node'\nimport type { DevToolsConfig } from './dev-overlay/shared'\nimport type { SegmentTrieData } from '../shared/lib/mcp-page-metadata-types'\nimport { EventQueue } from './dev-overlay/event-queue'\nimport type {\n  RequestInsight,\n  RequestInsightsSnapshot,\n} from './shared/request-insights'\n\nexport interface Dispatcher {\n  onBuildOk(): void\n  onBuildError(message: string): void\n  onVersionInfo(versionInfo: VersionInfo): void\n  onDebugInfo(debugInfo: DebugInfo): void\n  onBeforeRefresh(): void\n  onRefresh(): void\n  onCacheIndicator(status: CacheIndicatorState): void\n  onStaticIndicator(status: 'pending' | 'static' | 'dynamic' | 'disabled'): void\n  onDevIndicator(devIndicator: DevIndicatorServerState): void\n  onDevToolsConfig(config: DevToolsConfig): void\n  onUnhandledError(reason: Error): void\n  onUnhandledRejection(reason: Error): void\n  openErrorOverlay(): void\n  closeErrorOverlay(): void\n  toggleErrorOverlay(): void\n  buildingIndicatorHide(): void\n  buildingIndicatorShow(): void\n  renderingIndicatorHide(): void\n  renderingIndicatorShow(): void\n  segmentExplorerNodeAdd(nodeState: SegmentNodeState): void\n  segmentExplorerNodeRemove(nodeState: SegmentNodeState): void\n  segmentExplorerUpdateRouteState(\n    page: string,\n    tree: FlightRouterState | null\n  ): void\n  instantNavsToggle(): void\n  onRequestInsightsSnapshot(snapshot: RequestInsightsSnapshot): void\n  onRequestInsightsUpdate(insight: RequestInsight): void\n}\n\ntype Dispatch = ReturnType<typeof useErrorOverlayReducer>[1]\nconst eventQueue = new EventQueue<Dispatch>()\n\nfunction loadDevOverlayUX() {\n  const { DevOverlay, FontStyles } =\n    require('./dev-overlay-ux') as typeof import('./dev-overlay-ux')\n  return { DevOverlay, FontStyles }\n}\n\n// Global state store for accessing current overlay state from outside React context\ntype OverlayStateWithRouter = OverlayState & { routerType: 'pages' | 'app' }\n\nlet currentOverlayState: OverlayStateWithRouter | null = null\n\nexport function getSerializedOverlayState(): OverlayStateWithRouter | null {\n  // Serialize error objects properly since Error properties are non-enumerable\n  // This is used when sending state via HMR/JSON.stringify\n  if (!currentOverlayState) return null\n\n  return {\n    ...currentOverlayState,\n    errors: currentOverlayState.errors.map((errorEvent: any) => ({\n      ...errorEvent,\n      error: errorEvent.error\n        ? {\n            name: errorEvent.error.name,\n            message: errorEvent.error.message,\n            stack: errorEvent.error.stack,\n          }\n        : null,\n    })),\n  }\n}\n\nexport function getSegmentTrieData(): SegmentTrieData | null {\n  if (!currentOverlayState) {\n    return null\n  }\n  const trieRoot = getSegmentTrieRoot()\n  return {\n    segmentTrie: trieRoot,\n    routerType: currentOverlayState.routerType,\n  }\n}\n\n// Events might be dispatched before we get a `dispatch` from React (e.g. console.error during module eval).\n// We need to queue them until we have a `dispatch` function available.\nfunction createQueuable<Args extends any[]>(\n  queueableFunction: (dispatch: Dispatch, ...args: Args) => void\n) {\n  return (...args: Args) => {\n    eventQueue.enqueue((dispatch) => {\n      queueableFunction(dispatch, ...args)\n    })\n  }\n}\n\n// TODO: Extract into separate functions that are imported\nexport const dispatcher: Dispatcher = {\n  onBuildOk: createQueuable((dispatch: Dispatch) => {\n    dispatch({ type: ACTION_BUILD_OK })\n  }),\n  onBuildError: createQueuable((dispatch: Dispatch, message: string) => {\n    dispatch({ type: ACTION_BUILD_ERROR, message })\n  }),\n  onBeforeRefresh: createQueuable((dispatch: Dispatch) => {\n    dispatch({ type: ACTION_BEFORE_REFRESH })\n  }),\n  onRefresh: createQueuable((dispatch: Dispatch) => {\n    dispatch({ type: ACTION_REFRESH })\n  }),\n  onVersionInfo: createQueuable(\n    (dispatch: Dispatch, versionInfo: VersionInfo) => {\n      dispatch({ type: ACTION_VERSION_INFO, versionInfo })\n    }\n  ),\n  onCacheIndicator: createQueuable(\n    (dispatch: Dispatch, status: CacheIndicatorState) => {\n      dispatch({ type: ACTION_CACHE_INDICATOR, cacheIndicator: status })\n    }\n  ),\n  onStaticIndicator: createQueuable(\n    (\n      dispatch: Dispatch,\n      status: 'pending' | 'static' | 'dynamic' | 'disabled'\n    ) => {\n      dispatch({ type: ACTION_STATIC_INDICATOR, staticIndicator: status })\n    }\n  ),\n  onDebugInfo: createQueuable((dispatch: Dispatch, debugInfo: DebugInfo) => {\n    dispatch({ type: ACTION_DEBUG_INFO, debugInfo })\n  }),\n  onDevIndicator: createQueuable(\n    (dispatch: Dispatch, devIndicator: DevIndicatorServerState) => {\n      dispatch({ type: ACTION_DEV_INDICATOR, devIndicator })\n    }\n  ),\n  onDevToolsConfig: createQueuable(\n    (dispatch: Dispatch, devToolsConfig: DevToolsConfig) => {\n      dispatch({ type: ACTION_DEVTOOLS_CONFIG, devToolsConfig })\n    }\n  ),\n  onUnhandledError: createQueuable((dispatch: Dispatch, error: Error) => {\n    dispatch({\n      type: ACTION_UNHANDLED_ERROR,\n      reason: error,\n    })\n  }),\n  onUnhandledRejection: createQueuable((dispatch: Dispatch, error: Error) => {\n    dispatch({\n      type: ACTION_UNHANDLED_REJECTION,\n      reason: error,\n    })\n  }),\n  openErrorOverlay: createQueuable((dispatch: Dispatch) => {\n    dispatch({ type: ACTION_ERROR_OVERLAY_OPEN })\n  }),\n  closeErrorOverlay: createQueuable((dispatch: Dispatch) => {\n    dispatch({ type: ACTION_ERROR_OVERLAY_CLOSE })\n  }),\n  toggleErrorOverlay: createQueuable((dispatch: Dispatch) => {\n    dispatch({ type: ACTION_ERROR_OVERLAY_TOGGLE })\n  }),\n  buildingIndicatorHide: createQueuable((dispatch: Dispatch) => {\n    dispatch({ type: ACTION_BUILDING_INDICATOR_HIDE })\n  }),\n  buildingIndicatorShow: createQueuable((dispatch: Dispatch) => {\n    dispatch({ type: ACTION_BUILDING_INDICATOR_SHOW })\n  }),\n  renderingIndicatorHide: createQueuable((dispatch: Dispatch) => {\n    dispatch({ type: ACTION_RENDERING_INDICATOR_HIDE })\n  }),\n  renderingIndicatorShow: createQueuable((dispatch: Dispatch) => {\n    dispatch({ type: ACTION_RENDERING_INDICATOR_SHOW })\n  }),\n  segmentExplorerNodeAdd: createQueuable(\n    (_: Dispatch, nodeState: SegmentNodeState) => {\n      insertSegmentNode(nodeState)\n    }\n  ),\n  segmentExplorerNodeRemove: createQueuable(\n    (_: Dispatch, nodeState: SegmentNodeState) => {\n      removeSegmentNode(nodeState)\n    }\n  ),\n  segmentExplorerUpdateRouteState: createQueuable(\n    (dispatch: Dispatch, page: string, tree: FlightRouterState | null) => {\n      dispatch({ type: ACTION_DEVTOOL_UPDATE_ROUTE_STATE, page, tree })\n    }\n  ),\n  instantNavsToggle: createQueuable((dispatch: Dispatch) => {\n    dispatch({ type: ACTION_INSTANT_NAVS_TOGGLE })\n  }),\n  onRequestInsightsSnapshot: createQueuable(\n    (dispatch: Dispatch, snapshot: RequestInsightsSnapshot) => {\n      dispatch({ type: ACTION_REQUEST_INSIGHTS_SNAPSHOT, snapshot })\n    }\n  ),\n  onRequestInsightsUpdate: createQueuable(\n    (dispatch: Dispatch, insight: RequestInsight) => {\n      dispatch({ type: ACTION_REQUEST_INSIGHTS_UPDATE, insight })\n    }\n  ),\n}\n\nfunction DevOverlayRoot({\n  enableCacheIndicator,\n  getOwnerStack,\n  getSquashedHydrationErrorDetails,\n  isRecoverableError,\n  routerType,\n  shadowRoot,\n}: {\n  enableCacheIndicator: boolean\n  getOwnerStack: (error: Error) => string | null | undefined\n  getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n  isRecoverableError: (error: Error) => boolean\n  routerType: 'app' | 'pages'\n  shadowRoot: ShadowRoot\n}) {\n  const [state, dispatch] = useErrorOverlayReducer(\n    routerType,\n    getOwnerStack,\n    isRecoverableError,\n    enableCacheIndicator\n  )\n\n  useEffect(() => {\n    currentOverlayState = { ...state, routerType }\n  }, [state, routerType])\n\n  useLayoutEffect(() => {\n    const portalNode = shadowRoot.host\n    if (state.theme === 'dark') {\n      portalNode.classList.add('dark')\n      portalNode.classList.remove('light')\n    } else if (state.theme === 'light') {\n      portalNode.classList.add('light')\n      portalNode.classList.remove('dark')\n    } else {\n      portalNode.classList.remove('dark')\n      portalNode.classList.remove('light')\n    }\n  }, [shadowRoot, state.theme])\n\n  useInsertionEffect(() => {\n    // Can't schedule updates from useInsertionEffect, so we need to defer.\n    // Could move this into a passive Effect but we don't want replaying when\n    // we reconnect.\n    const replayTimeout = setTimeout(() => {\n      eventQueue.connect(dispatch)\n    })\n\n    return () => {\n      eventQueue.disconnect(dispatch)\n      clearTimeout(replayTimeout)\n    }\n  }, [])\n\n  if (process.env.__NEXT_DISABLE_DEV_OVERLAY_UX) {\n    return null\n  }\n\n  const { DevOverlay, FontStyles } = loadDevOverlayUX()\n\n  return (\n    <>\n      {/* Fonts can only be loaded outside the Shadow DOM. */}\n      <FontStyles />\n      <DevOverlayContext\n        value={{\n          dispatch,\n          getSquashedHydrationErrorDetails,\n          shadowRoot,\n          state,\n        }}\n      >\n        <DevOverlay />\n      </DevOverlayContext>\n    </>\n  )\n}\nexport const DevOverlayContext = createContext<{\n  shadowRoot: ShadowRoot\n  state: OverlayState & {\n    routerType: 'pages' | 'app'\n  }\n  dispatch: ActionDispatch<[action: DispatcherEvent]>\n  getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n}>(null!)\nexport const useDevOverlayContext = () => useContext(DevOverlayContext)\n\nlet isPagesMounted = false\nlet isAppMounted = false\n\nfunction getSquashedHydrationErrorDetailsApp() {\n  // We don't squash hydration errors in the App Router.\n  return null\n}\n\nexport function renderAppDevOverlay(\n  getOwnerStack: (error: Error) => string | null | undefined,\n  isRecoverableError: (error: Error) => boolean,\n  enableCacheIndicator: boolean\n): void {\n  if (isPagesMounted) {\n    // Switching between App and Pages Router is always a hard navigation\n    // TODO: Support soft navigation between App and Pages Router\n    throw new Error(\n      'Next DevTools: Pages Dev Overlay is already mounted. This is a bug in Next.js'\n    )\n  }\n\n  if (!isAppMounted) {\n    const shouldRenderOverlay = !process.env.__NEXT_DISABLE_DEV_OVERLAY_UX\n    const container = document.createElement('nextjs-portal')\n\n    if (shouldRenderOverlay) {\n      // React 19 will not throw away `<script>` elements in a container it owns.\n      // This ensures the actual user-space React does not unmount the Dev Overlay.\n      const script = document.createElement('script')\n      script.style.display = 'block'\n      // Although the style applied to the shadow host is isolated,\n      // the element that attached the shadow host (i.e. \"script\")\n      // is still affected by the parent's style (e.g. \"body\"). This may\n      // occur style conflicts like \"display: flex\", with other children\n      // elements therefore give the shadow host an absolute position.\n      script.style.position = 'absolute'\n      script.setAttribute('data-nextjs-dev-overlay', 'true')\n\n      script.appendChild(container)\n      document.body.appendChild(script)\n    }\n\n    const root = createRoot(container, {\n      identifierPrefix: 'ndt-',\n      // We don't have design for a default Transition indicator for the NDT frontend.\n      // So we disable React's built-in one to not conflict with the one for the actual Next.js app.\n      onDefaultTransitionIndicator: () => () => {},\n    })\n\n    const shadowRoot = container.attachShadow({ mode: 'open' })\n\n    startTransition(() => {\n      // TODO: Dedicated error boundary or root error callbacks?\n      // At least it won't unmount any user code if it errors.\n      root.render(\n        <DevOverlayRoot\n          enableCacheIndicator={enableCacheIndicator}\n          getOwnerStack={getOwnerStack}\n          getSquashedHydrationErrorDetails={getSquashedHydrationErrorDetailsApp}\n          isRecoverableError={isRecoverableError}\n          routerType=\"app\"\n          shadowRoot={shadowRoot}\n        />\n      )\n    })\n\n    isAppMounted = true\n  }\n}\n\nexport function renderPagesDevOverlay(\n  getOwnerStack: (error: Error) => string | null | undefined,\n  getSquashedHydrationErrorDetails: (\n    error: Error\n  ) => HydrationErrorState | null,\n  isRecoverableError: (error: Error) => boolean\n): void {\n  if (isAppMounted) {\n    // Switching between App and Pages Router is always a hard navigation\n    // TODO: Support soft navigation between App and Pages Router\n    throw new Error(\n      'Next DevTools: App Dev Overlay is already mounted. This is a bug in Next.js'\n    )\n  }\n\n  if (!isPagesMounted) {\n    const shouldRenderOverlay = !process.env.__NEXT_DISABLE_DEV_OVERLAY_UX\n    const container = document.createElement('nextjs-portal')\n    // Although the style applied to the shadow host is isolated,\n    // the element that attached the shadow host (i.e. \"script\")\n    // is still affected by the parent's style (e.g. \"body\"). This may\n    // occur style conflicts like \"display: flex\", with other children\n    // elements therefore give the shadow host an absolute position.\n    container.style.position = 'absolute'\n\n    // Pages Router runs with React 18 or 19 so we can't use the same trick as with\n    // App Router. We just reconnect the container if React wipes it e.g. when\n    // we recover from a shell error via createRoot()\n    if (shouldRenderOverlay) {\n      new MutationObserver((records) => {\n        for (const record of records) {\n          if (record.type === 'childList') {\n            for (const node of record.removedNodes) {\n              if (node === container) {\n                // Reconnect the container to the body\n                document.body.appendChild(container)\n              }\n            }\n          }\n        }\n      }).observe(document.body, {\n        childList: true,\n      })\n      document.body.appendChild(container)\n    }\n\n    const root = createRoot(container, { identifierPrefix: 'ndt-' })\n\n    const shadowRoot = container.attachShadow({ mode: 'open' })\n\n    startTransition(() => {\n      // TODO: Dedicated error boundary or root error callbacks?\n      // At least it won't unmount any user code if it errors.\n      root.render(\n        <DevOverlayRoot\n          // Pages Router does not support Cache Components\n          enableCacheIndicator={false}\n          getOwnerStack={getOwnerStack}\n          getSquashedHydrationErrorDetails={getSquashedHydrationErrorDetails}\n          isRecoverableError={isRecoverableError}\n          routerType=\"pages\"\n          shadowRoot={shadowRoot}\n        />\n      )\n    })\n\n    isPagesMounted = true\n  }\n}\n","export class EventQueue<Dispatch> {\n  private dispatch: Dispatch | null = null\n  private readonly queue: Array<(dispatch: Dispatch) => void> = []\n\n  enqueue(event: (dispatch: Dispatch) => void): void {\n    if (this.dispatch) {\n      event(this.dispatch)\n    } else {\n      this.queue.push(event)\n    }\n  }\n\n  connect(dispatch: Dispatch): void {\n    try {\n      // Keep new events queued until the backlog is drained so they cannot overtake it.\n      for (let i = 0; i < this.queue.length; i++) {\n        this.queue[i](dispatch)\n      }\n    } finally {\n      this.queue.length = 0\n      this.dispatch = dispatch\n    }\n  }\n\n  disconnect(dispatch: Dispatch): void {\n    if (this.dispatch === dispatch) {\n      this.dispatch = null\n    }\n  }\n}\n","import type { OriginalStackFrame } from '../../../shared/stack-frame'\n\nimport { HotlinkedText } from '../hot-linked-text'\nimport { ExternalIcon, SourceMappingErrorIcon } from '../../icons/external'\nimport { getStackFrameFile } from '../../../shared/stack-frame'\nimport { useOpenInEditor } from '../../utils/use-open-in-editor'\n\nexport const CallStackFrame: React.FC<{\n  frame: OriginalStackFrame\n}> = function CallStackFrame({ frame }) {\n  // TODO: ability to expand resolved frames\n\n  const f = frame.originalStackFrame ?? frame.sourceStackFrame\n  const hasOriginalCodeFrame = Boolean(frame.originalCodeFrame)\n  const open = useOpenInEditor(\n    hasOriginalCodeFrame\n      ? {\n          file: f.file,\n          line1: f.line1 ?? 1,\n          column1: f.column1 ?? 1,\n        }\n      : undefined\n  )\n\n  // Formatted file source could be empty. e.g. <anonymous> will be formatted to empty string,\n  // we'll skip rendering the frame in this case.\n  const stackFrameFile = getStackFrameFile(f)\n\n  if (!stackFrameFile) {\n    return null\n  }\n\n  return (\n    <div\n      data-nextjs-call-stack-frame\n      data-nextjs-call-stack-frame-no-source={!hasOriginalCodeFrame}\n      data-nextjs-call-stack-frame-ignored={frame.ignored}\n    >\n      <div className=\"call-stack-frame-method-name\">\n        <HotlinkedText text={f.methodName} />\n        {hasOriginalCodeFrame && (\n          <button\n            onClick={open}\n            className=\"open-in-editor-button\"\n            aria-label={`Open ${f.methodName} in editor`}\n          >\n            <ExternalIcon width={16} height={16} />\n          </button>\n        )}\n        {frame.error ? (\n          <button\n            className=\"source-mapping-error-button\"\n            onClick={() => console.error(frame.reason)}\n            title=\"Sourcemapping failed. Click to log cause of error.\"\n          >\n            <SourceMappingErrorIcon width={16} height={16} />\n          </button>\n        ) : null}\n      </div>\n      <span\n        className=\"call-stack-frame-file\"\n        data-has-original-code-frame={hasOriginalCodeFrame}\n      >\n        {stackFrameFile}\n      </span>\n    </div>\n  )\n}\n\nexport const CALL_STACK_FRAME_STYLES = `\n  [data-nextjs-call-stack-frame-no-source] {\n    padding: 6px 8px;\n\n    border-radius: var(--rounded-lg);\n  }\n\n  [data-nextjs-call-stack-frame-ignored=\"true\"] {\n    opacity: 0.6;\n  }\n\n  [data-nextjs-call-stack-frame] {\n    user-select: text;\n    display: block;\n    box-sizing: border-box;\n\n    user-select: text;\n    -webkit-user-select: text;\n    -moz-user-select: text;\n    -ms-user-select: text;\n\n    padding: 0;\n\n    border-radius: var(--rounded-lg);\n  }\n\n  .call-stack-frame-method-name {\n    display: flex;\n    align-items: center;\n    gap: 4px;\n\n    margin: 0;\n    font-family: var(--font-stack-monospace);\n\n    color: var(--color-gray-1000);\n    font-size: var(--size-14);\n    font-weight: 500;\n    line-height: var(--size-20);\n\n    svg {\n      width: var(--size-16);\n      height: var(--size-16);\n    }\n  }\n\n  .open-in-editor-button, .source-mapping-error-button {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    border-radius: var(--rounded-full);\n    padding: 4px;\n    color: var(--color-font);\n\n    svg {\n      width: var(--size-16);\n      height: var(--size-16);\n    }\n\n    &:focus-visible {\n      outline: var(--focus-ring);\n      outline-offset: -2px;\n    }\n\n    &:hover {\n      background: var(--color-gray-alpha-100);\n    }\n\n    &:active {\n      background: var(--color-gray-alpha-200);\n    }\n  }\n\n  .call-stack-frame-file {\n    color: var(--color-gray-900);\n    font-size: var(--size-13);\n    line-height: var(--size-20);\n    word-wrap: break-word;\n  }\n`\n","export function ChevronUpDownIcon() {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M8.70722 2.39641C8.3167 2.00588 7.68353 2.00588 7.29301 2.39641L4.46978 5.21963L3.93945 5.74996L5.00011 6.81062L5.53044 6.28029L8.00011 3.81062L10.4698 6.28029L11.0001 6.81062L12.0608 5.74996L11.5304 5.21963L8.70722 2.39641ZM5.53044 9.71963L5.00011 9.1893L3.93945 10.25L4.46978 10.7803L7.29301 13.6035C7.68353 13.994 8.3167 13.994 8.70722 13.6035L11.5304 10.7803L12.0608 10.25L11.0001 9.1893L10.4698 9.71963L8.00011 12.1893L5.53044 9.71963Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n","import type { OriginalStackFrame } from '../../../shared/stack-frame'\n\nimport { CallStackFrame } from '../call-stack-frame/call-stack-frame'\nimport { ChevronUpDownIcon } from '../../icons/chevron-up-down'\nimport { css } from '../../utils/css'\n\nexport function CallStack({\n  frames,\n  isIgnoreListOpen,\n  ignoredFramesTally,\n  onToggleIgnoreList,\n}: {\n  frames: readonly OriginalStackFrame[]\n  isIgnoreListOpen: boolean\n  ignoredFramesTally: number\n  onToggleIgnoreList: () => void\n}) {\n  return (\n    <div data-nextjs-call-stack-container>\n      <div data-nextjs-call-stack-header>\n        <p data-nextjs-call-stack-title>\n          Call Stack <span data-nextjs-call-stack-count>{frames.length}</span>\n        </p>\n        {ignoredFramesTally > 0 && (\n          <button\n            // The isIgnoreListOpen value is used by tests to confirm whether it is open or not.\n            data-nextjs-call-stack-ignored-list-toggle-button={isIgnoreListOpen}\n            onClick={onToggleIgnoreList}\n          >\n            {`${isIgnoreListOpen ? 'Hide' : 'Show'} ${ignoredFramesTally} ignore-listed frame(s)`}\n            <ChevronUpDownIcon />\n          </button>\n        )}\n      </div>\n      {frames.map((frame, frameIndex) => {\n        return !frame.ignored || isIgnoreListOpen ? (\n          <CallStackFrame key={frameIndex} frame={frame} />\n        ) : null\n      })}\n    </div>\n  )\n}\n\nexport const CALL_STACK_STYLES = css`\n  [data-nextjs-call-stack-container] {\n    display: flex;\n    flex-direction: column;\n    gap: 12px;\n    position: relative;\n    margin: 0;\n    padding: 20px 0 0;\n  }\n\n  [data-nextjs-call-stack-header] {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    min-height: var(--size-28);\n    padding: 0;\n    width: 100%;\n  }\n\n  [data-nextjs-call-stack-title] {\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    gap: 8px;\n\n    margin: 0;\n\n    color: var(--color-gray-1000);\n    font-size: var(--size-16);\n    font-weight: 500;\n  }\n\n  [data-nextjs-call-stack-count] {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n\n    padding: 0 6px;\n    height: var(--size-20);\n    min-width: var(--size-20);\n    gap: 4px;\n\n    color: var(--color-gray-1000);\n    text-align: center;\n    font-size: var(--size-11);\n    font-weight: 500;\n    line-height: var(--size-16);\n\n    border-radius: var(--rounded-full);\n    background: var(--color-gray-200);\n  }\n\n  [data-nextjs-call-stack-ignored-list-toggle-button] {\n    all: unset;\n    display: flex;\n    align-items: center;\n    gap: 6px;\n    color: var(--color-gray-900);\n    font-size: var(--size-14);\n    line-height: var(--size-20);\n    border-radius: var(--rounded-md-2);\n    padding: 4px 6px;\n    margin-right: -6px;\n    &:hover {\n      background: var(--color-gray-100);\n    }\n\n    &:focus {\n      outline: var(--focus-ring);\n    }\n\n    svg {\n      width: var(--size-16);\n      height: var(--size-16);\n    }\n  }\n`\n","import type { ReactNode } from 'react'\nimport { ExternalIcon } from '../../icons/external'\n\ntype CodeFrameShellProps = {\n  header: ReactNode\n  onOpen?: () => void\n  openLabel?: string\n  children: ReactNode\n}\n\nexport function CodeFrameShell({\n  header,\n  onOpen,\n  openLabel,\n  children,\n}: CodeFrameShellProps) {\n  return (\n    <div data-nextjs-codeframe>\n      <div className=\"code-frame-header\">\n        {/* TODO: This is <div> in `Terminal` component.\n        Changing now will require multiple test snapshots updates.\n        Leaving as <div> as is trivial and does not affect the UI.\n        Change when the new redbox matcher `toDisplayRedbox` is used. */}\n        <p className=\"code-frame-link\">\n          {header}\n          {onOpen && (\n            <button\n              aria-label={openLabel ?? 'Open in editor'}\n              data-with-open-in-editor-link-source-file\n              onClick={onOpen}\n              type=\"button\"\n            >\n              <ExternalIcon />\n            </button>\n          )}\n        </p>\n      </div>\n      <pre className=\"code-frame-pre\">\n        <div className=\"code-frame-lines\">{children}</div>\n      </pre>\n    </div>\n  )\n}\n","import { useMemo } from 'react'\nimport { HotlinkedText } from '../hot-linked-text'\nimport { getStackFrameFile, type StackFrame } from '../../../shared/stack-frame'\nimport { useOpenInEditor } from '../../utils/use-open-in-editor'\nimport { FileIcon } from '../../icons/file'\nimport { CodeFrameShell } from './code-frame-shell'\nimport {\n  formatCodeFrame,\n  groupCodeFrameLines,\n  parseLineNumberFromCodeFrameLine,\n} from './parse-code-frame'\n\ntype CodeFrameProps = {\n  stackFrame: StackFrame\n  codeFrame: string\n}\n\nexport function CodeFrame({ stackFrame, codeFrame }: CodeFrameProps) {\n  const parsedLineStates = useMemo(() => {\n    const decodedLines = groupCodeFrameLines(formatCodeFrame(codeFrame))\n\n    return decodedLines.map((line) => {\n      return {\n        line,\n        parsedLine: parseLineNumberFromCodeFrameLine(line, stackFrame),\n      }\n    })\n  }, [codeFrame, stackFrame])\n\n  const open = useOpenInEditor({\n    file: stackFrame.file,\n    line1: stackFrame.line1 ?? 1,\n    column1: stackFrame.column1 ?? 1,\n  })\n\n  const fileExtension = stackFrame?.file?.split('.').pop()\n  return (\n    <CodeFrameShell\n      header={\n        <>\n          <span className=\"code-frame-icon\">\n            <FileIcon lang={fileExtension} />\n          </span>\n          <span data-text>\n            {getStackFrameFile(stackFrame)} @{' '}\n            <HotlinkedText text={stackFrame.methodName} />\n          </span>\n        </>\n      }\n      onOpen={open}\n    >\n      {parsedLineStates.map(({ line, parsedLine }, lineIndex) => {\n        const { lineNumber, isErroredLine } = parsedLine\n\n        const lineNumberProps: Record<string, string | boolean> = {}\n        if (lineNumber) {\n          lineNumberProps['data-nextjs-codeframe-line'] = lineNumber\n        }\n        if (isErroredLine) {\n          lineNumberProps['data-nextjs-codeframe-line--errored'] = true\n        }\n\n        return (\n          <div key={`line-${lineIndex}`} {...lineNumberProps}>\n            {line.map((entry, entryIndex) => (\n              <span\n                key={`frame-${entryIndex}`}\n                style={{\n                  color: entry.fg ? `var(--color-${entry.fg})` : undefined,\n                  ...(entry.decoration === 'bold'\n                    ? // TODO(jiwon): This used to be 800, but the symbols like `─┬─` are\n                      // having longer width than expected on Geist Mono font-weight\n                      // above 600, hence a temporary fix is to use 500 for bold.\n                      { fontWeight: 500 }\n                    : entry.decoration === 'italic'\n                      ? { fontStyle: 'italic' }\n                      : undefined),\n                }}\n              >\n                {entry.content}\n              </span>\n            ))}\n          </div>\n        )\n      })}\n    </CodeFrameShell>\n  )\n}\n\nexport const CODE_FRAME_STYLES = `\n  [data-nextjs-codeframe] {\n    --code-frame-padding: 12px;\n    --code-frame-line-height: var(--size-20);\n    background-color: var(--color-background-200);\n    color: var(--color-gray-1000);\n    text-overflow: ellipsis;\n    border: 1px solid var(--color-gray-400);\n    border-radius: var(--rounded-xl);\n    font-family: var(--font-stack-monospace);\n    font-size: var(--size-13);\n    line-height: var(--code-frame-line-height);\n    margin: 0;\n    overflow: hidden;\n\n    svg {\n      width: var(--size-16);\n      height: var(--size-16);\n    }\n  }\n\n  .code-frame-link,\n  .code-frame-pre {\n    padding: var(--code-frame-padding);\n  }\n\n  .code-frame-pre {\n    background: var(--color-background-100) !important;\n    border: 1px solid var(--color-gray-200);\n    border-radius: var(--rounded-xl);\n    border-bottom: none;\n    margin-left: -1px !important;\n    width: calc(100% + 2px);\n    max-width: calc(100% + 2px) !important;\n  }\n\n  .code-frame-link svg {\n    display: block;\n    flex-shrink: 0;\n  }\n\n  [data-with-open-in-editor-link-source-file] svg {\n    width: var(--size-14);\n    height: var(--size-14);\n  }\n\n  .code-frame-lines {\n    min-width: max-content;\n  }\n\n  .code-frame-link [data-text] {\n    font-size: var(--size-12);\n    text-align: left;\n  }\n\n  .code-frame-header {\n    width: 100%;\n    transition: background 100ms ease-out;\n    border-radius: var(--rounded-lg) var(--rounded-lg) 0 0;\n  }\n\n  [data-with-open-in-editor-link-source-file] {\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    width: var(--size-24);\n    height: var(--size-24);\n    padding: 4px;\n    margin-left: auto;\n    border-radius: var(--rounded-full);\n\n    &:focus-visible {\n      outline: var(--focus-ring);\n      outline-offset: -2px;\n    }\n\n    &:hover {\n      background: var(--color-gray-alpha-100);\n    }\n\n    &:active {\n      background: var(--color-gray-alpha-200);\n    }\n  }\n\n  [data-nextjs-codeframe]::selection,\n  [data-nextjs-codeframe] *::selection {\n    background-color: var(--color-ansi-selection);\n  }\n\n  [data-nextjs-codeframe] *:not(a) {\n    color: inherit;\n    background-color: transparent;\n    font-family: var(--font-stack-monospace);\n  }\n\n  [data-nextjs-codeframe-line][data-nextjs-codeframe-line--errored=\"true\"] {\n    position: relative;\n    isolation: isolate;\n\n    > span { \n      position: relative;\n      z-index: 1;\n    }\n\n    &::after {\n      content: \"\";\n      width: calc(100% + var(--code-frame-padding) * 2);\n      height: var(--code-frame-line-height);\n      left: calc(-1 * var(--code-frame-padding));\n      background: var(--color-red-200);\n      box-shadow: 2px 0 0 0 var(--color-red-900) inset;\n      position: absolute;\n    }\n  }\n\n  [data-nextjs-codeframe-line] > span:first-child {\n    color: var(--color-gray-alpha-500) !important;\n  }\n\n  [data-nextjs-codeframe-line][data-nextjs-codeframe-line--errored=\"true\"]\n    > span:first-child {\n    color: var(--color-gray-alpha-1000) !important;\n  }\n\n\n  [data-nextjs-codeframe] > * {\n    margin: 0;\n  }\n\n  .code-frame-link {\n    display: flex;\n    align-items: center;\n    gap: 6px;\n    margin: 0;\n    outline: 0;\n    padding-top: 8px;\n    padding-bottom: 8px;\n    padding-right: 8px;\n  }\n  .code-frame-pre {\n    overflow-x: auto;\n    overflow-y: hidden;\n    display: block;\n    max-width: 100%;\n  }\n\n  [data-nextjs-codeframe] svg {\n    color: var(--color-gray-900);\n  }\n`\n","import Anser, { type AnserJsonEntry } from 'next/dist/compiled/anser'\nimport stripAnsi from 'next/dist/compiled/strip-ansi'\nimport type { StackFrame } from '../../../shared/stack-frame'\n\n// Strip leading spaces out of the code frame\nexport function formatCodeFrame(codeFrame: string) {\n  const lines = codeFrame.split(/\\r?\\n/g)\n\n  // Find the minimum length of leading spaces after `|` in the code frame\n  const miniLeadingSpacesLength = lines\n    .map((line) =>\n      /^>? +\\d+ +\\| [ ]+/.exec(stripAnsi(line)) === null\n        ? null\n        : /^>? +\\d+ +\\| ( *)/.exec(stripAnsi(line))\n    )\n    .filter(Boolean)\n    .map((v) => v!.pop()!)\n    .reduce((c, n) => (isNaN(c) ? n.length : Math.min(c, n.length)), NaN)\n\n  // When the minimum length of leading spaces is greater than 1, remove them\n  // from the code frame to help the indentation looks better when there's a lot leading spaces.\n  if (miniLeadingSpacesLength > 1) {\n    return lines\n      .map((line, a) =>\n        ~(a = line.indexOf('|'))\n          ? line.substring(0, a) +\n            line.substring(a).replace(`^\\\\ {${miniLeadingSpacesLength}}`, '')\n          : line\n      )\n      .join('\\n')\n  }\n  return lines.join('\\n')\n}\n\nexport function groupCodeFrameLines(formattedFrame: string) {\n  // Map the decoded lines to a format that can be rendered\n  const decoded = Anser.ansiToJson(formattedFrame, {\n    json: true,\n    use_classes: true,\n    remove_empty: true,\n  })\n  const lines: (typeof decoded)[] = []\n\n  let line: typeof decoded = []\n  for (const token of decoded) {\n    // If the token is a new line with only line break \"\\n\",\n    // break here into a new line.\n    // The line could also contain spaces, it's still considered line break if \"\\n\" line has spaces.\n    if (typeof token.content === 'string' && token.content.includes('\\n')) {\n      const segments = token.content.split('\\n')\n      for (let i = 0; i < segments.length; i++) {\n        const segment = segments[i]\n        if (segment) {\n          line.push({\n            ...token,\n            content: segment,\n          })\n        }\n        if (i < segments.length - 1) {\n          lines.push(line)\n          line = []\n        }\n      }\n    } else {\n      line.push(token)\n    }\n  }\n  if (line.length > 0) {\n    lines.push(line)\n  }\n\n  return lines\n}\n\n// `>` marker or whitespace padding that sits before the line-number token.\nfunction isLineNumberPrefixToken(content: string | undefined): boolean {\n  return (\n    content !== undefined && /^[\\s>]+$/.test(content) && !content.includes('|')\n  )\n}\n\nexport function parseLineNumberFromCodeFrameLine(\n  line: AnserJsonEntry[],\n  stackFrame: StackFrame\n) {\n  let i = 0\n  while (i < line.length && isLineNumberPrefixToken(line[i]?.content)) {\n    i++\n  }\n  const trimmed = line[i]?.content?.replace('|', '').trim()\n  const line1 = trimmed && /^\\d+$/.test(trimmed) ? trimmed : undefined\n\n  return {\n    lineNumber: line1,\n    isErroredLine:\n      line1 !== undefined && line1 === stackFrame.line1?.toString(),\n  }\n}\n","import * as React from 'react'\nimport { cx } from '../../utils/cx'\n\nfunction useCopy(getContent: () => Promise<string>) {\n  type CopyState =\n    | {\n        state: 'initial'\n      }\n    | {\n        state: 'error'\n        error: unknown\n      }\n    | { state: 'success' }\n\n  const [copyState, dispatch, isPending] = React.useActionState(\n    (\n      state: CopyState,\n      action: 'reset' | 'copy'\n    ): CopyState | Promise<CopyState> => {\n      if (action === 'reset') {\n        return { state: 'initial' }\n      }\n      if (action === 'copy') {\n        if (!navigator.clipboard) {\n          return {\n            state: 'error',\n            error: 'Copy to clipboard is not supported in this browser',\n          }\n        }\n        return getContent().then((content) => {\n          return navigator.clipboard.writeText(content).then(\n            () => {\n              return { state: 'success' }\n            },\n            (error) => {\n              return { state: 'error', error }\n            }\n          )\n        })\n      }\n      return state\n    },\n    {\n      state: 'initial',\n    }\n  )\n\n  function copy() {\n    React.startTransition(() => {\n      dispatch('copy')\n    })\n  }\n\n  const reset = React.useCallback(() => {\n    dispatch('reset')\n  }, [\n    // TODO: `dispatch` from `useActionState` is not reactive.\n    // Remove from dependencies once https://github.com/facebook/react/pull/29665 is released.\n    dispatch,\n  ])\n\n  return [copyState, copy, reset, isPending] as const\n}\n\ntype CopyButtonProps = React.HTMLProps<HTMLButtonElement> & {\n  actionLabel: string\n  successLabel: string\n  icon?: React.ReactNode\n  /** When true, render the action/success label next to the icon. */\n  showLabel?: boolean\n}\n\nexport function CopyButton(\n  props: CopyButtonProps & {\n    content?: string\n    getContent?: () => Promise<string>\n  }\n) {\n  const {\n    content,\n    getContent,\n    actionLabel,\n    successLabel,\n    icon,\n    showLabel,\n    disabled,\n    ...rest\n  } = props\n  const getContentString = (): Promise<string> => {\n    if (content) {\n      return Promise.resolve(content)\n    }\n    if (getContent) {\n      return getContent()\n    }\n    return Promise.resolve('')\n  }\n  const [copyState, copy, reset, isPending] = useCopy(getContentString)\n\n  const error = copyState.state === 'error' ? copyState.error : null\n  React.useEffect(() => {\n    if (error !== null) {\n      // Only log warning in terminal to avoid showing in the error overlay.\n      // When it's errored, the copy button will be disabled.\n      console.warn(error)\n    }\n  }, [error])\n  React.useEffect(() => {\n    if (copyState.state === 'success') {\n      const timeoutId = setTimeout(() => {\n        reset()\n      }, 2000)\n\n      return () => {\n        clearTimeout(timeoutId)\n      }\n    }\n  }, [isPending, copyState.state, reset])\n  const isDisabled = !navigator.clipboard || isPending || disabled || !!error\n  const label = copyState.state === 'success' ? successLabel : actionLabel\n\n  // Assign default icon\n  const renderedIcon =\n    copyState.state === 'success' ? (\n      <CopySuccessIcon />\n    ) : (\n      icon || (\n        <CopyIcon\n          width={14}\n          height={14}\n          className=\"error-overlay-toolbar-button-icon\"\n        />\n      )\n    )\n\n  return (\n    <button\n      {...rest}\n      type=\"button\"\n      title={showLabel ? undefined : label}\n      aria-label={label}\n      aria-disabled={isDisabled}\n      data-nextjs-copy-button\n      data-pending={isPending}\n      className={cx(\n        props.className,\n        'nextjs-data-copy-button',\n        `nextjs-data-copy-button--${copyState.state}`\n      )}\n      onClick={() => {\n        if (!isDisabled) {\n          copy()\n        }\n      }}\n    >\n      {renderedIcon}\n      {showLabel ? <span data-nextjs-copy-button-label>{label}</span> : null}\n      {copyState.state === 'error' ? ` ${copyState.error}` : null}\n    </button>\n  )\n}\n\nexport function CopyIcon(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg\n      width=\"14\"\n      height=\"14\"\n      viewBox=\"0 0 14 14\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      {...props}\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M2.406.438c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531H3.937V8.75H2.406a.219.219 0 0 1-.219-.219V1.97c0-.121.098-.219.22-.219h4.812c.12 0 .218.098.218.219v.656H8.75v-.656c0-.846-.686-1.532-1.531-1.532H2.406zm4.375 3.5c-.845 0-1.531.685-1.531 1.53v6.563c0 .846.686 1.531 1.531 1.531h4.813c.845 0 1.531-.685 1.531-1.53V5.468c0-.846-.686-1.532-1.531-1.532H6.78zm-.218 1.53c0-.12.097-.218.218-.218h4.813c.12 0 .219.098.219.219v6.562c0 .121-.098.219-.22.219H6.782a.219.219 0 0 1-.218-.219V5.47z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n\nfunction CopySuccessIcon() {\n  return (\n    <svg\n      height=\"16\"\n      xlinkTitle=\"copied\"\n      viewBox=\"0 0 16 16\"\n      width=\"16\"\n      stroke=\"currentColor\"\n      fill=\"currentColor\"\n    >\n      <path d=\"M13.78 4.22a.75.75 0 0 1 0 1.06l-7.25 7.25a.75.75 0 0 1-1.06 0L2.22 9.28a.751.751 0 0 1 .018-1.042.751.751 0 0 1 1.042-.018L6 10.94l6.72-6.72a.75.75 0 0 1 1.06 0Z\" />\n    </svg>\n  )\n}\n\nexport const COPY_BUTTON_STYLES = `\n  .nextjs-data-copy-button {\n    color: inherit;\n\n    svg {\n      width: var(--size-16);\n      height: var(--size-16);\n    }\n  }\n  .nextjs-data-copy-button[aria-disabled=\"true\"] {\n    background-color: var(--color-gray-100);\n    cursor: not-allowed;\n  }\n  .nextjs-data-copy-button[data-pending=\"true\"] {\n    cursor: wait;\n  }\n  .nextjs-data-copy-button--initial:hover:not([aria-disabled=\"true\"]) {\n    cursor: pointer;\n  }\n  .nextjs-data-copy-button--error:not([aria-disabled=\"true\"]),\n  .nextjs-data-copy-button--error:hover:not([aria-disabled=\"true\"]) {\n    color: var(--color-ansi-red);\n  }\n  .nextjs-data-copy-button--success:not([aria-disabled=\"true\"]) {\n    color: var(--color-gray-900);\n  }\n`\n","import * as React from 'react'\n\ntype DialogBodyProps = {\n  children?: React.ReactNode\n  className?: string\n} & React.HTMLAttributes<HTMLDivElement>\n\nconst DialogBody: React.FC<DialogBodyProps> = function DialogBody({\n  children,\n  className,\n  ...props\n}) {\n  return (\n    <div data-nextjs-dialog-body className={className} {...props}>\n      {children}\n    </div>\n  )\n}\n\nexport { DialogBody }\n","import * as React from 'react'\n\ntype DialogContentProps = {\n  children?: React.ReactNode\n  className?: string\n} & React.HTMLAttributes<HTMLDivElement>\n\nconst DialogContent: React.FC<DialogContentProps> = function DialogContent({\n  children,\n  className,\n  ...props\n}) {\n  return (\n    <div data-nextjs-dialog-content className={className} {...props}>\n      {children}\n    </div>\n  )\n}\n\nexport { DialogContent }\n","import { css } from '../../utils/css'\n\nexport const styles = css`\n  [data-nextjs-dialog-root] {\n    --next-dialog-radius: var(--rounded-xl);\n    --next-dialog-max-width: 960px;\n    --next-dialog-row-padding: 16px;\n    --next-dialog-padding: 12px;\n    --next-dialog-border-width: 1px;\n\n    background-color: var(--color-gray-100);\n    padding: 0 4px 4px 4px;\n    border-radius: var(--rounded-2xl);\n    display: flex;\n    flex-direction: column;\n    width: 100%;\n    max-height: calc(100% - 56px);\n    max-width: var(--next-dialog-max-width);\n    margin-right: auto;\n    margin-left: auto;\n    scale: 0.97;\n    opacity: 0;\n    transition-property: scale, opacity;\n    transition-duration: var(--transition-duration);\n    transition-timing-function: var(--timing-overlay);\n\n    &[data-rendered='true'] {\n      opacity: 1;\n      scale: 1;\n    }\n  }\n\n  [data-nextjs-dialog] {\n    outline: 0;\n  }\n\n  [data-nextjs-dialog-backdrop] {\n    opacity: 0;\n    transition: opacity var(--transition-duration) var(--timing-overlay);\n  }\n\n  [data-nextjs-dialog-overlay] {\n    margin: 8px;\n  }\n\n  [data-nextjs-dialog-overlay][data-rendered='true']\n    [data-nextjs-dialog-backdrop] {\n    opacity: 1;\n  }\n\n  [data-nextjs-dialog-content] {\n    border: none;\n    margin: 0;\n    display: flex;\n    flex-direction: column;\n    position: relative;\n    padding: 0;\n  }\n\n  [data-nextjs-dialog-content] > [data-nextjs-dialog-header] {\n    display: flex;\n    flex-direction: column;\n    flex-shrink: 0;\n    gap: 4px;\n    margin-bottom: 8px;\n    padding: 20px;\n  }\n\n  [data-nextjs-dialog-content] > [data-nextjs-dialog-body] {\n    position: relative;\n    flex: 1 1 auto;\n  }\n\n  @media (max-height: 812px) {\n    [data-nextjs-dialog-overlay] {\n      max-height: calc(100% - 15px);\n    }\n  }\n\n  @media (min-width: 576px) {\n    [data-nextjs-dialog-root] {\n      --next-dialog-max-width: 540px;\n    }\n  }\n\n  @media (min-width: 768px) {\n    [data-nextjs-dialog-root] {\n      --next-dialog-max-width: 720px;\n    }\n  }\n\n  @media (min-width: 992px) {\n    [data-nextjs-dialog-root] {\n      --next-dialog-max-width: 960px;\n    }\n  }\n`\n","import { useEffect, useEffectEvent } from 'react'\n\nexport function useFocusTrap(\n  rootRef: React.RefObject<HTMLElement | null>,\n  triggerRef: React.RefObject<HTMLButtonElement | null> | null,\n  active: boolean,\n  onOpenFocus?: () => void\n) {\n  const fireOpenFocus = useEffectEvent((rootNode: HTMLElement | null) => {\n    if (onOpenFocus) {\n      onOpenFocus()\n    } else {\n      rootNode?.focus()\n    }\n  })\n  useEffect(() => {\n    let rootNode: HTMLElement | null = null\n\n    function onTab(e: KeyboardEvent) {\n      if (e.key !== 'Tab' || rootNode === null) {\n        return\n      }\n\n      const [firstFocusableNode, lastFocusableNode] =\n        getFocusableNodes(rootNode)\n      const activeElement = getActiveElement(rootNode)\n\n      if (e.shiftKey) {\n        if (activeElement === firstFocusableNode) {\n          lastFocusableNode?.focus()\n          e.preventDefault()\n        }\n      } else {\n        if (activeElement === lastFocusableNode) {\n          firstFocusableNode?.focus()\n          e.preventDefault()\n        }\n      }\n    }\n\n    const id = setTimeout(() => {\n      // Grab this on next tick to ensure the content is mounted\n      rootNode = rootRef.current\n      if (active) {\n        fireOpenFocus(rootNode)\n        rootNode?.addEventListener('keydown', onTab)\n      } else {\n        const activeElement = getActiveElement(rootNode)\n        // Only restore focus if the focus was previously on the content.\n        // This avoids us accidentally focusing on mount when the\n        // user could want to interact with their own app instead.\n        if (triggerRef && rootNode?.contains(activeElement)) {\n          triggerRef.current?.focus()\n        }\n      }\n    })\n\n    return () => {\n      clearTimeout(id)\n      rootNode?.removeEventListener('keydown', onTab)\n    }\n  }, [active, rootRef, triggerRef])\n}\n\nexport function getActiveElement(node: HTMLElement | null) {\n  const root = node?.getRootNode()\n  return root instanceof ShadowRoot\n    ? (root?.activeElement as HTMLElement)\n    : null\n}\n\nfunction getFocusableNodes(node: HTMLElement): [HTMLElement, HTMLElement] | [] {\n  const focusableElements = node.querySelectorAll(\n    'button, [href], input, select, textarea, [tabindex]:not([tabindex=\"-1\"])'\n  )\n  if (!focusableElements) return []\n  return [\n    focusableElements![0] as HTMLElement,\n    focusableElements![focusableElements!.length - 1] as HTMLElement,\n  ]\n}\n\n//////////////////////////////////////////////////////////////////////////////////////\n\n// TODO: split up escape and click outside logic\nexport function useClickOutsideAndEscape(\n  rootRef: React.RefObject<HTMLElement | null>,\n  triggerRef: React.RefObject<HTMLButtonElement | null>,\n  active: boolean,\n  close: (reason: 'escape' | 'outside') => void,\n  ownerDocument?: Document\n) {\n  useEffect(() => {\n    if (!active) {\n      return\n    }\n\n    const ownerDocumentEl = ownerDocument || rootRef.current?.ownerDocument\n\n    function handleClickOutside(event: MouseEvent) {\n      const target = event.target as HTMLElement\n      if (rootRef.current && rootRef.current.contains(target)) {\n        return\n      }\n\n      const cushion = 10\n\n      if (\n        !(rootRef.current?.getBoundingClientRect()\n          ? event.clientX >=\n              rootRef.current.getBoundingClientRect()!.left - cushion &&\n            event.clientX <=\n              rootRef.current.getBoundingClientRect()!.right + cushion &&\n            event.clientY >=\n              rootRef.current.getBoundingClientRect()!.top - cushion &&\n            event.clientY <=\n              rootRef.current.getBoundingClientRect()!.bottom + cushion\n          : false) &&\n        !(triggerRef.current?.getBoundingClientRect()\n          ? event.clientX >=\n              triggerRef.current.getBoundingClientRect()!.left - cushion &&\n            event.clientX <=\n              triggerRef.current.getBoundingClientRect()!.right + cushion &&\n            event.clientY >=\n              triggerRef.current.getBoundingClientRect()!.top - cushion &&\n            event.clientY <=\n              triggerRef.current.getBoundingClientRect()!.bottom + cushion\n          : false)\n      ) {\n        close('outside')\n      }\n    }\n\n    function handleKeyDown(event: KeyboardEvent) {\n      if (event.key === 'Escape') {\n        close('escape')\n      }\n    }\n\n    ownerDocumentEl?.addEventListener('mousedown', handleClickOutside)\n\n    ownerDocumentEl?.addEventListener('keydown', handleKeyDown)\n\n    return () => {\n      ownerDocumentEl?.removeEventListener('mousedown', handleClickOutside)\n      ownerDocumentEl?.removeEventListener('keydown', handleKeyDown)\n    }\n  }, [active, close, ownerDocument, rootRef, triggerRef])\n}\n\n//////////////////////////////////////////////////////////////////////////////////////\n\nexport const MENU_DURATION_MS = 200\nexport const MENU_CURVE = 'cubic-bezier(0.175, 0.885, 0.32, 1.1)'\n","export function EnvironmentNameLabel({\n  environmentName,\n}: {\n  environmentName: string\n}) {\n  return <span data-nextjs-environment-name-label>{environmentName}</span>\n}\n\nexport const ENVIRONMENT_NAME_LABEL_STYLES = `\n  [data-nextjs-environment-name-label] {\n    padding: 2px 6px;\n    margin: 0;\n    border-radius: var(--rounded-md-2);\n    background: var(--color-gray-100);\n    font-weight: 600;\n    font-size: var(--size-12);\n    color: var(--color-gray-900);\n    font-family: var(--font-stack-monospace);\n    line-height: var(--size-20);\n  }\n`\n","import type { OriginalStackFrame } from '../../../../shared/stack-frame'\nimport { useMemo, useState, useRef } from 'react'\nimport { CallStack } from '../../call-stack/call-stack'\n\ninterface CallStackProps {\n  frames: readonly OriginalStackFrame[]\n  dialogResizerRef: React.RefObject<HTMLDivElement | null>\n}\n\nexport function ErrorOverlayCallStack({\n  frames,\n  dialogResizerRef,\n}: CallStackProps) {\n  const initialDialogHeight = useRef<number>(NaN)\n  const [isIgnoreListOpen, setIsIgnoreListOpen] = useState(false)\n\n  const ignoredFramesTally = useMemo(() => {\n    return frames.reduce((tally, frame) => tally + (frame.ignored ? 1 : 0), 0)\n  }, [frames])\n\n  function onToggleIgnoreList() {\n    const dialog = dialogResizerRef?.current\n\n    if (isIgnoreListOpen) {\n      // Closing requires dialog for animation\n      if (!dialog) {\n        // No dialog ref available, just close without animation\n        setIsIgnoreListOpen(false)\n        return\n      }\n\n      const { height: currentHeight } = dialog.getBoundingClientRect()\n\n      if (!initialDialogHeight.current) {\n        initialDialogHeight.current = currentHeight\n      }\n\n      function onTransitionEnd() {\n        // TS bug. We closed over a non-nullable value here.\n        dialog!.removeEventListener('transitionend', onTransitionEnd)\n        setIsIgnoreListOpen(false)\n      }\n      // eslint-disable-next-line react-hooks/immutability -- Bug in react-hooks/react-compiler\n      dialog.style.height = `${initialDialogHeight.current}px`\n      dialog.addEventListener('transitionend', onTransitionEnd)\n    } else {\n      if (dialog) {\n        const { height: currentHeight } = dialog.getBoundingClientRect()\n        // When the ignore list is closed, we need to store the initial height of the dialog,\n        // we need this value to restore the dialog to its original height when the ignore list is opened again.\n        if (!initialDialogHeight.current) {\n          initialDialogHeight.current = currentHeight\n        }\n      }\n      setIsIgnoreListOpen(true)\n    }\n  }\n\n  return (\n    <CallStack\n      frames={frames}\n      isIgnoreListOpen={isIgnoreListOpen}\n      onToggleIgnoreList={onToggleIgnoreList}\n      ignoredFramesTally={ignoredFramesTally}\n    />\n  )\n}\n","import type { ComponentProps } from 'react'\n\nexport function ThumbsUp(props: ComponentProps<'svg'>) {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      className=\"thumbs-up-icon\"\n      {...props}\n    >\n      <g id=\"thumb-up-16\">\n        <path\n          id=\"Union\"\n          fillRule=\"evenodd\"\n          clipRule=\"evenodd\"\n          d=\"M6.89531 2.23959C6.72984 2.1214 6.5 2.23968 6.5 2.44303V5.24989C6.5 6.21639 5.7165 6.99989 4.75 6.99989H2.5V13.4999H12.1884C12.762 13.4999 13.262 13.1095 13.4011 12.5531L14.4011 8.55306C14.5984 7.76412 14.0017 6.99989 13.1884 6.99989H9.25H8.5V6.24989V3.51446C8.5 3.43372 8.46101 3.35795 8.39531 3.31102L6.89531 2.23959ZM5 2.44303C5 1.01963 6.6089 0.191656 7.76717 1.01899L9.26717 2.09042C9.72706 2.41892 10 2.94929 10 3.51446V5.49989H13.1884C14.9775 5.49989 16.2903 7.18121 15.8563 8.91686L14.8563 12.9169C14.5503 14.1411 13.4503 14.9999 12.1884 14.9999H1.75H1V14.2499V6.24989V5.49989H1.75H4.75C4.88807 5.49989 5 5.38796 5 5.24989V2.44303Z\"\n          fill=\"currentColor\"\n        />\n      </g>\n    </svg>\n  )\n}\n","import type { ComponentProps } from 'react'\n\nexport function ThumbsDown(props: ComponentProps<'svg'>) {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      className=\"thumbs-down-icon\"\n      {...props}\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M5.89531 12.7603C5.72984 12.8785 5.5 12.7602 5.5 12.5569V9.75C5.5 8.7835 4.7165 8 3.75 8H1.5V1.5H11.1884C11.762 1.5 12.262 1.89037 12.4011 2.44683L13.4011 6.44683C13.5984 7.23576 13.0017 8 12.1884 8H8.25H7.5V8.75V11.4854C7.5 11.5662 7.46101 11.6419 7.39531 11.6889L5.89531 12.7603ZM4 12.5569C4 13.9803 5.6089 14.8082 6.76717 13.9809L8.26717 12.9095C8.72706 12.581 9 12.0506 9 11.4854V9.5H12.1884C13.9775 9.5 15.2903 7.81868 14.8563 6.08303L13.8563 2.08303C13.5503 0.858816 12.4503 0 11.1884 0H0.75H0V0.75V8.75V9.5H0.75H3.75C3.88807 9.5 4 9.61193 4 9.75V12.5569Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n","import { useState, useCallback } from 'react'\nimport { ThumbsUp } from '../../../../icons/thumbs/thumbs-up'\nimport { ThumbsDown } from '../../../../icons/thumbs/thumbs-down'\nimport { cx } from '../../../../utils/cx'\n\ninterface ErrorFeedbackProps {\n  errorCode: string\n  className?: string\n}\nexport function ErrorFeedback({ errorCode, className }: ErrorFeedbackProps) {\n  const [votedMap, setVotedMap] = useState<Record<string, boolean>>({})\n  const voted = votedMap[errorCode]\n  const hasVoted = voted !== undefined\n  const disabled = process.env.__NEXT_TELEMETRY_DISABLED\n\n  const handleFeedback = useCallback(\n    async (wasHelpful: boolean) => {\n      // Optimistically set feedback state without loading/error states to keep implementation simple\n      setVotedMap((prev) => ({\n        ...prev,\n        [errorCode]: wasHelpful,\n      }))\n\n      try {\n        const response = await fetch(\n          `${process.env.__NEXT_ROUTER_BASEPATH || ''}/__nextjs_error_feedback?${new URLSearchParams(\n            {\n              errorCode,\n              wasHelpful: wasHelpful.toString(),\n            }\n          )}`\n        )\n\n        if (!response.ok) {\n          // Handle non-2xx HTTP responses here if needed\n          console.error('Failed to record feedback on the server.')\n        }\n      } catch (error) {\n        console.error('Failed to record feedback:', error)\n      }\n    },\n    [errorCode]\n  )\n\n  return (\n    <div\n      className={cx('error-feedback', className)}\n      role=\"region\"\n      aria-label=\"Error feedback\"\n    >\n      {hasVoted ? (\n        <p className=\"error-feedback-thanks\" role=\"status\" aria-live=\"polite\">\n          Thanks for your feedback!\n        </p>\n      ) : (\n        <>\n          <p>\n            <a\n              href=\"https://nextjs.org/telemetry#error-feedback\"\n              rel=\"noopener noreferrer\"\n              target=\"_blank\"\n            >\n              Was this helpful?\n            </a>\n          </p>\n          <button\n            aria-disabled={disabled ? 'true' : undefined}\n            aria-label=\"Mark as helpful\"\n            onClick={disabled ? undefined : () => handleFeedback(true)}\n            className={cx('feedback-button', voted === true && 'voted')}\n            title={\n              disabled\n                ? 'Feedback disabled due to setting NEXT_TELEMETRY_DISABLED'\n                : undefined\n            }\n            type=\"button\"\n          >\n            <ThumbsUp aria-hidden=\"true\" />\n          </button>\n          <button\n            aria-disabled={disabled ? 'true' : undefined}\n            aria-label=\"Mark as not helpful\"\n            onClick={disabled ? undefined : () => handleFeedback(false)}\n            className={cx('feedback-button', voted === false && 'voted')}\n            title={\n              disabled\n                ? 'Feedback disabled due to setting NEXT_TELEMETRY_DISABLED'\n                : undefined\n            }\n            type=\"button\"\n          >\n            <ThumbsDown\n              aria-hidden=\"true\"\n              // Optical alignment\n              style={{\n                translate: '1px 1px',\n              }}\n            />\n          </button>\n        </>\n      )}\n    </div>\n  )\n}\n\nexport const styles = `\n  .error-feedback {\n    display: flex;\n    align-items: center;\n    gap: 8px;\n    white-space: nowrap;\n    color: var(--color-gray-900);\n  }\n\n  .error-feedback-thanks {\n    height: var(--size-24);\n    display: flex;\n    align-items: center;\n    padding-right: 4px; /* To match the 4px inner padding of the thumbs up and down icons */\n  }\n\n  .feedback-button {\n    background: none;\n    border: none;\n    border-radius: var(--rounded-full);\n    width: var(--size-24);\n    height: var(--size-24);\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    cursor: pointer;\n\n    &:focus {\n      outline: var(--focus-ring);\n    }\n\n    &:hover {\n      background: var(--color-gray-alpha-100);\n    }\n\n    &:active {\n      background: var(--color-gray-alpha-200);\n    }\n  }\n\n  .feedback-button[aria-disabled='true'] {\n    opacity: 0.7;\n    cursor: not-allowed;\n  }\n\n  .feedback-button.voted {\n    background: var(--color-gray-alpha-200);\n  }\n\n  .thumbs-up-icon,\n  .thumbs-down-icon {\n    color: var(--color-gray-900);\n    width: var(--size-16);\n    height: var(--size-16);\n  }\n`\n","import { ErrorFeedback } from './error-feedback/error-feedback'\nimport { styles as feedbackStyles } from './error-feedback/error-feedback'\n\ntype ErrorOverlayFooterProps = {\n  errorCode: string | undefined\n}\n\nexport function ErrorOverlayFooter({ errorCode }: ErrorOverlayFooterProps) {\n  return (\n    <footer data-nextjs-error-overlay-footer className=\"error-overlay-footer\">\n      {errorCode ? (\n        <ErrorFeedback className=\"error-feedback\" errorCode={errorCode} />\n      ) : null}\n    </footer>\n  )\n}\n\nexport const styles = `\n  .error-overlay-footer {\n    display: flex;\n    flex-direction: row;\n    justify-content: space-between;\n\n    gap: 8px;\n    padding: 12px 12px 8px 12px;\n  }\n\n  .error-feedback {\n    margin-left: auto;\n\n    p {\n      font-size: var(--size-14);\n      font-weight: 500;\n      margin: 0;\n    }\n  }\n\n  ${feedbackStyles}\n`\n","import { startTransition, useActionState, useEffect } from 'react'\nimport { CopyButton } from '../../copy-button'\n\nfunction NodeJsIcon(props: any) {\n  return (\n    <svg\n      width=\"14\"\n      height=\"14\"\n      viewBox=\"0 0 14 14\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      {...props}\n    >\n      <mask\n        id=\"nodejs_icon_mask_a\"\n        style={{ maskType: 'luminance' }}\n        maskUnits=\"userSpaceOnUse\"\n        x=\"0\"\n        y=\"0\"\n        width=\"14\"\n        height=\"14\"\n      >\n        <path\n          d=\"M6.67.089 1.205 3.256a.663.663 0 0 0-.33.573v6.339c0 .237.126.455.33.574l5.466 3.17a.66.66 0 0 0 .66 0l5.465-3.17a.664.664 0 0 0 .329-.574V3.829a.663.663 0 0 0-.33-.573L7.33.089a.663.663 0 0 0-.661 0\"\n          fill=\"#fff\"\n        />\n      </mask>\n      <g mask=\"url(#nodejs_icon_mask_a)\">\n        <path\n          d=\"M18.648 2.717 3.248-4.86-4.648 11.31l15.4 7.58 7.896-16.174z\"\n          fill=\"url(#nodejs_icon_linear_gradient_b)\"\n        />\n      </g>\n      <mask\n        id=\"nodejs_icon_mask_c\"\n        style={{ maskType: 'luminance' }}\n        maskUnits=\"userSpaceOnUse\"\n        x=\"1\"\n        y=\"0\"\n        width=\"12\"\n        height=\"14\"\n      >\n        <path\n          d=\"M1.01 10.57a.663.663 0 0 0 .195.17l4.688 2.72.781.45a.66.66 0 0 0 .51.063l5.764-10.597a.653.653 0 0 0-.153-.122L9.216 1.18 7.325.087a.688.688 0 0 0-.171-.07L1.01 10.57z\"\n          fill=\"#fff\"\n        />\n      </mask>\n      <g mask=\"url(#nodejs_icon_mask_c)\">\n        <path\n          d=\"M-5.647 4.958 5.226 19.734l14.38-10.667L8.734-5.71-5.647 4.958z\"\n          fill=\"url(#nodejs_icon_linear_gradient_d)\"\n        />\n      </g>\n      <g>\n        <mask\n          id=\"nodejs_icon_mask_e\"\n          style={{ maskType: 'luminance' }}\n          maskUnits=\"userSpaceOnUse\"\n          x=\"1\"\n          y=\"0\"\n          width=\"13\"\n          height=\"14\"\n        >\n          <path\n            d=\"M6.934.004A.665.665 0 0 0 6.67.09L1.22 3.247l5.877 10.746a.655.655 0 0 0 .235-.08l5.465-3.17a.665.665 0 0 0 .319-.453L7.126.015a.684.684 0 0 0-.189-.01\"\n            fill=\"#fff\"\n          />\n        </mask>\n        <g mask=\"url(#nodejs_icon_mask_e)\">\n          <path\n            d=\"M1.22.002v13.992h11.894V.002H1.22z\"\n            fill=\"url(#nodejs_icon_linear_gradient_f)\"\n          />\n        </g>\n      </g>\n      <defs>\n        <linearGradient\n          id=\"nodejs_icon_linear_gradient_b\"\n          x1=\"10.943\"\n          y1=\"-1.084\"\n          x2=\"2.997\"\n          y2=\"15.062\"\n          gradientUnits=\"userSpaceOnUse\"\n        >\n          <stop offset=\".3\" stopColor=\"#3E863D\" />\n          <stop offset=\".5\" stopColor=\"#55934F\" />\n          <stop offset=\".8\" stopColor=\"#5AAD45\" />\n        </linearGradient>\n        <linearGradient\n          id=\"nodejs_icon_linear_gradient_d\"\n          x1=\"-.145\"\n          y1=\"12.431\"\n          x2=\"14.277\"\n          y2=\"1.818\"\n          gradientUnits=\"userSpaceOnUse\"\n        >\n          <stop offset=\".57\" stopColor=\"#3E863D\" />\n          <stop offset=\".72\" stopColor=\"#619857\" />\n          <stop offset=\"1\" stopColor=\"#76AC64\" />\n        </linearGradient>\n        <linearGradient\n          id=\"nodejs_icon_linear_gradient_f\"\n          x1=\"1.225\"\n          y1=\"6.998\"\n          x2=\"13.116\"\n          y2=\"6.998\"\n          gradientUnits=\"userSpaceOnUse\"\n        >\n          <stop offset=\".16\" stopColor=\"#6BBF47\" />\n          <stop offset=\".38\" stopColor=\"#79B461\" />\n          <stop offset=\".47\" stopColor=\"#75AC64\" />\n          <stop offset=\".7\" stopColor=\"#659E5A\" />\n          <stop offset=\".9\" stopColor=\"#3E863D\" />\n        </linearGradient>\n      </defs>\n    </svg>\n  )\n}\n\nfunction NodeJsDisabledIcon(props: any) {\n  return (\n    <svg\n      width=\"14\"\n      height=\"14\"\n      viewBox=\"0 0 14 14\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      {...props}\n    >\n      <mask\n        id=\"nodejs_icon_mask_a\"\n        style={{ maskType: 'luminance' }}\n        maskUnits=\"userSpaceOnUse\"\n        x=\"0\"\n        y=\"0\"\n        width=\"14\"\n        height=\"14\"\n      >\n        <path\n          d=\"M6.67.089 1.205 3.256a.663.663 0 0 0-.33.573v6.339c0 .237.126.455.33.574l5.466 3.17a.66.66 0 0 0 .66 0l5.465-3.17a.664.664 0 0 0 .329-.574V3.829a.663.663 0 0 0-.33-.573L7.33.089a.663.663 0 0 0-.661 0\"\n          fill=\"#fff\"\n        />\n      </mask>\n      <g mask=\"url(#nodejs_icon_mask_a)\">\n        <path\n          d=\"M18.648 2.717 3.248-4.86-4.646 11.31l15.399 7.58 7.896-16.174z\"\n          fill=\"url(#nodejs_icon_linear_gradient_b)\"\n        />\n      </g>\n      <mask\n        id=\"nodejs_icon_mask_c\"\n        style={{ maskType: 'luminance' }}\n        maskUnits=\"userSpaceOnUse\"\n        x=\"1\"\n        y=\"0\"\n        width=\"12\"\n        height=\"15\"\n      >\n        <path\n          d=\"M1.01 10.571a.66.66 0 0 0 .195.172l4.688 2.718.781.451a.66.66 0 0 0 .51.063l5.764-10.597a.653.653 0 0 0-.153-.122L9.216 1.181 7.325.09a.688.688 0 0 0-.171-.07L1.01 10.572z\"\n          fill=\"#fff\"\n        />\n      </mask>\n      <g mask=\"url(#nodejs_icon_mask_c)\">\n        <path\n          d=\"M-5.647 4.96 5.226 19.736 19.606 9.07 8.734-5.707-5.647 4.96z\"\n          fill=\"url(#nodejs_icon_linear_gradient_d)\"\n        />\n      </g>\n      <g>\n        <mask\n          id=\"nodejs_icon_mask_e\"\n          style={{ maskType: 'luminance' }}\n          maskUnits=\"userSpaceOnUse\"\n          x=\"1\"\n          y=\"0\"\n          width=\"13\"\n          height=\"14\"\n        >\n          <path\n            d=\"M6.935.003a.665.665 0 0 0-.264.085l-5.45 3.158 5.877 10.747a.653.653 0 0 0 .235-.082l5.465-3.17a.665.665 0 0 0 .319-.452L7.127.014a.684.684 0 0 0-.189-.01\"\n            fill=\"#fff\"\n          />\n        </mask>\n        <g mask=\"url(#nodejs_icon_mask_e)\">\n          <path\n            d=\"M1.222.001v13.992h11.893V0H1.222z\"\n            fill=\"url(#nodejs_icon_linear_gradient_f)\"\n          />\n        </g>\n      </g>\n      <defs>\n        <linearGradient\n          id=\"nodejs_icon_linear_gradient_b\"\n          x1=\"10.944\"\n          y1=\"-1.084\"\n          x2=\"2.997\"\n          y2=\"15.062\"\n          gradientUnits=\"userSpaceOnUse\"\n        >\n          <stop offset=\".3\" stopColor=\"#676767\" />\n          <stop offset=\".5\" stopColor=\"#858585\" />\n          <stop offset=\".8\" stopColor=\"#989A98\" />\n        </linearGradient>\n        <linearGradient\n          id=\"nodejs_icon_linear_gradient_d\"\n          x1=\"-.145\"\n          y1=\"12.433\"\n          x2=\"14.277\"\n          y2=\"1.819\"\n          gradientUnits=\"userSpaceOnUse\"\n        >\n          <stop offset=\".57\" stopColor=\"#747474\" />\n          <stop offset=\".72\" stopColor=\"#707070\" />\n          <stop offset=\"1\" stopColor=\"#929292\" />\n        </linearGradient>\n        <linearGradient\n          id=\"nodejs_icon_linear_gradient_f\"\n          x1=\"1.226\"\n          y1=\"6.997\"\n          x2=\"13.117\"\n          y2=\"6.997\"\n          gradientUnits=\"userSpaceOnUse\"\n        >\n          <stop offset=\".16\" stopColor=\"#878787\" />\n          <stop offset=\".38\" stopColor=\"#A9A9A9\" />\n          <stop offset=\".47\" stopColor=\"#A5A5A5\" />\n          <stop offset=\".7\" stopColor=\"#8F8F8F\" />\n          <stop offset=\".9\" stopColor=\"#626262\" />\n        </linearGradient>\n      </defs>\n    </svg>\n  )\n}\n\nexport function NodejsInspectorButton({\n  defaultDevtoolsFrontendUrl,\n}: {\n  defaultDevtoolsFrontendUrl: string | undefined\n}) {\n  const [devtoolsFrontendUrlState, attachDebuggerAction, isAttachingDebugger] =\n    useActionState<\n      | { status: 'fulfilled'; value: string | undefined }\n      | { status: 'rejected'; reason: unknown }\n    >(\n      async () => {\n        try {\n          const response = await fetch('/__nextjs_attach-nodejs-inspector', {\n            method: 'POST',\n          })\n          if (!response.ok) {\n            throw new Error(\n              `${response.status} ${response.statusText}: ${await response.text()}`\n            )\n          }\n          const devtoolsFrontendUrl = await response.json()\n          return {\n            status: 'fulfilled',\n            value: devtoolsFrontendUrl,\n          }\n        } catch (cause) {\n          return {\n            status: 'rejected',\n            reason: new Error(\n              'Failed to attach Node.js inspector: ' +\n                // TODO: Use `cause` property once Redbox supports displaying `cause`\n                String(cause)\n            ),\n          }\n        }\n      },\n      { status: 'fulfilled', value: defaultDevtoolsFrontendUrl }\n    )\n\n  const devtoolsFrontendUrl =\n    devtoolsFrontendUrlState.status === 'fulfilled'\n      ? devtoolsFrontendUrlState.value\n      : undefined\n\n  useEffect(() => {\n    if (devtoolsFrontendUrlState.status === 'rejected') {\n      console.error(devtoolsFrontendUrlState.reason)\n    }\n  }, [devtoolsFrontendUrlState])\n\n  const attachDebugger = startTransition.bind(null, attachDebuggerAction)\n\n  if (devtoolsFrontendUrl === undefined) {\n    return (\n      <button\n        className=\"nodejs-inspector-button\"\n        data-pending={isAttachingDebugger}\n        onClick={isAttachingDebugger ? undefined : attachDebugger}\n        title={\n          devtoolsFrontendUrlState.status === 'rejected'\n            ? 'Retry attaching Node.js inspector'\n            : 'Attach Node.js inspector'\n        }\n      >\n        <NodeJsDisabledIcon\n          className=\"error-overlay-toolbar-button-icon\"\n          width={14}\n          height={14}\n        />\n      </button>\n    )\n  }\n  return (\n    <CopyButton\n      data-nextjs-data-runtime-error-copy-devtools-url\n      className=\"nodejs-inspector-button\"\n      actionLabel={'Copy DevTools URL for Chrome'}\n      successLabel=\"Copied\"\n      content={devtoolsFrontendUrl}\n      icon={\n        <NodeJsIcon\n          className=\"error-overlay-toolbar-button-icon\"\n          width={14}\n          height={14}\n        />\n      }\n    />\n  )\n}\n","import { CopyButton } from '../../copy-button'\n\nexport function CopyErrorButton({\n  error,\n  generateErrorInfo,\n}: {\n  error: Error\n  generateErrorInfo: () => Promise<string>\n}) {\n  return (\n    <CopyButton\n      data-nextjs-data-runtime-error-copy-stack\n      className=\"copy-error-button\"\n      actionLabel=\"Copy Error Info\"\n      successLabel=\"Error Info Copied\"\n      getContent={generateErrorInfo}\n      disabled={!error}\n    />\n  )\n}\n","import {\n  NEXTJS_HYDRATION_ERROR_LINK,\n  REACT_HYDRATION_ERROR_LINK,\n} from '../../../../shared/react-19-hydration-error'\nimport { parseUrlFromText } from '../../../utils/parse-url-from-text'\n\nconst docsURLAllowlist = ['https://nextjs.org', 'https://react.dev']\n\nfunction docsLinkMatcher(text: string): boolean {\n  return docsURLAllowlist.some((url) => text.startsWith(url))\n}\n\nfunction getDocsURLFromErrorMessage(text: string): string | null {\n  const urls = parseUrlFromText(text, docsLinkMatcher)\n\n  if (urls.length === 0) {\n    return null\n  }\n\n  const href = urls[0]\n\n  // Replace react hydration error link with nextjs hydration error link\n  if (href === REACT_HYDRATION_ERROR_LINK) {\n    return NEXTJS_HYDRATION_ERROR_LINK\n  }\n\n  return href\n}\n\nexport function DocsLinkButton({ errorMessage }: { errorMessage: string }) {\n  const docsURL = getDocsURLFromErrorMessage(errorMessage)\n\n  if (!docsURL) {\n    return (\n      <button\n        title=\"No related documentation found\"\n        aria-label=\"No related documentation found\"\n        className=\"docs-link-button\"\n        disabled\n      >\n        <DocsIcon\n          className=\"error-overlay-toolbar-button-icon\"\n          width={14}\n          height={14}\n        />\n      </button>\n    )\n  }\n\n  return (\n    <a\n      title=\"Go to related documentation\"\n      aria-label=\"Go to related documentation\"\n      className=\"docs-link-button\"\n      href={docsURL}\n      target=\"_blank\"\n      rel=\"noopener noreferrer\"\n    >\n      <DocsIcon\n        className=\"error-overlay-toolbar-button-icon\"\n        width={14}\n        height={14}\n      />\n    </a>\n  )\n}\n\nfunction DocsIcon(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg\n      width=\"14\"\n      height=\"14\"\n      viewBox=\"0 0 14 14\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      {...props}\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M0 .875h4.375C5.448.875 6.401 1.39 7 2.187A3.276 3.276 0 0 1 9.625.875H14v11.156H9.4c-.522 0-1.023.208-1.392.577l-.544.543h-.928l-.544-.543c-.369-.37-.87-.577-1.392-.577H0V.875zm6.344 3.281a1.969 1.969 0 0 0-1.969-1.968H1.312v8.53H4.6c.622 0 1.225.177 1.744.502V4.156zm1.312 7.064V4.156c0-1.087.882-1.968 1.969-1.968h3.063v8.53H9.4c-.622 0-1.225.177-1.744.502z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n","export function parseUrlFromText(\n  text: string,\n  matcherFunc?: (text: string) => boolean\n): string[] {\n  const linkRegex = /https?:\\/\\/[^\\s/$.?#].[^\\s)'\"]*/gi\n  const links = Array.from(text.matchAll(linkRegex), (match) => match[0])\n\n  if (matcherFunc) {\n    return links.filter((link) => matcherFunc(link))\n  }\n\n  return links\n}\n","import type { DebugInfo } from '../../../../shared/types'\nimport { NodejsInspectorButton } from './nodejs-inspector-button'\nimport { CopyErrorButton } from './copy-error-button'\nimport { DocsLinkButton } from './docs-link-button'\n\ntype ErrorOverlayToolbarProps = {\n  error: Error\n  debugInfo: DebugInfo | undefined\n  feedbackButton?: React.ReactNode\n  generateErrorInfo: () => Promise<string>\n}\n\nexport function ErrorOverlayToolbar({\n  error,\n  debugInfo,\n  feedbackButton,\n  generateErrorInfo,\n}: ErrorOverlayToolbarProps) {\n  return (\n    <span className=\"error-overlay-toolbar\">\n      {/* TODO: Move the button inside and remove the feedback on the footer of the error overlay.  */}\n      {feedbackButton}\n      <CopyErrorButton error={error} generateErrorInfo={generateErrorInfo} />\n      <DocsLinkButton errorMessage={error.message} />\n      <NodejsInspectorButton\n        key={debugInfo?.devtoolsFrontendUrl}\n        defaultDevtoolsFrontendUrl={debugInfo?.devtoolsFrontendUrl}\n      />\n    </span>\n  )\n}\n\nexport const styles = `\n  .error-overlay-toolbar {\n    display: flex;\n    gap: 6px;\n  }\n\n  @media (max-width: 575px) {\n    .error-overlay-toolbar {\n      gap: 4px;\n    }\n  }\n\n  .nodejs-inspector-button,\n  .copy-error-button,\n  .docs-link-button {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n\n    width: var(--size-24);\n    height: var(--size-24);\n    background: none;\n    border: none;\n    border-radius: var(--rounded-full);\n\n    svg {\n      width: var(--size-14);\n      height: var(--size-14);\n    }\n\n    &:focus {\n      outline: var(--focus-ring);\n    }\n\n    &:not(:disabled):hover {\n      background: var(--color-gray-alpha-100);\n    }\n\n    &:not(:disabled):active {\n      background: var(--color-gray-alpha-200);\n    }\n\n    &:disabled {\n      opacity: 0.5;\n      cursor: not-allowed;\n    }\n  }\n\n  .nodejs-inspector-button[data-pending='true'] {\n    cursor: wait;\n  }\n\n  .error-overlay-toolbar-button-icon {\n    color: var(--color-gray-900);\n  }\n`\n","import { useState, useRef, useLayoutEffect } from 'react'\nimport type { ErrorType } from '../error-type-label/error-type-label'\n\nexport type ErrorMessageType = React.ReactNode\n\ntype ErrorMessageProps = {\n  errorMessage: ErrorMessageType\n  errorType: ErrorType\n}\n\nexport function ErrorMessage({ errorMessage, errorType }: ErrorMessageProps) {\n  const [isExpanded, setIsExpanded] = useState(false)\n  const [isTooTall, setIsTooTall] = useState(false)\n  const messageRef = useRef<HTMLDivElement>(null)\n\n  useLayoutEffect(() => {\n    if (messageRef.current) {\n      setIsTooTall(messageRef.current.scrollHeight > 200)\n    }\n  }, [errorMessage])\n\n  if (!errorMessage) {\n    return null\n  }\n\n  // Instant errors are formatted specifically for the overlay rather than\n  // passed through from the console, so we don't truncate them — they rely\n  // on scroll overflow instead.\n  const shouldTruncate =\n    isTooTall && errorType !== 'Instant' && errorType !== 'Blocking Route'\n\n  return (\n    <>\n      <div className=\"nextjs__container_errors_wrapper\">\n        <div\n          ref={messageRef}\n          id=\"nextjs__container_errors_desc\"\n          className={`nextjs__container_errors_desc ${shouldTruncate && !isExpanded ? 'truncated' : ''} ${errorType === 'Instant' || errorType === 'Blocking Route' ? 'nextjs__container_errors_desc_instant' : ''}`}\n        >\n          {errorMessage}\n        </div>\n      </div>\n      {shouldTruncate && !isExpanded && (\n        <>\n          <div className=\"nextjs__container_errors_gradient_overlay\" />\n          <button\n            onClick={() => setIsExpanded(true)}\n            className=\"nextjs__container_errors_expand_button\"\n            aria-expanded={isExpanded}\n            aria-controls=\"nextjs__container_errors_desc\"\n          >\n            Show More\n          </button>\n        </>\n      )}\n    </>\n  )\n}\n\nexport const styles = `\n  .nextjs__container_errors_wrapper {\n  }\n\n  .nextjs__container_errors_desc {\n    margin: 0;\n    color: var(--color-red-900);\n    font-weight: 500;\n    font-size: var(--size-16);\n    letter-spacing: -0.32px;\n    line-height: var(--size-24);\n    overflow-wrap: break-word;\n    white-space: pre-wrap;\n  }\n\n  .nextjs__container_errors_desc.nextjs__container_errors_desc_instant {\n    color: var(--color-gray-1000);\n  }\n\n  .nextjs__container_errors_desc.truncated {\n    max-height: 200px;\n    overflow: hidden;\n  }\n\n  .nextjs__container_errors_desc code {\n    font-family: var(--font-stack-monospace);\n    font-weight: 500;\n    line-height: var(--size-20);\n    color: var(--color-gray-1000);\n    padding: 2px 6px;\n    background: var(--color-background-200);\n    border: 1px solid var(--color-gray-200);\n    border-radius: var(--rounded-md-2);\n  }\n\n  .nextjs__container_errors_gradient_overlay {\n    position: absolute;\n    bottom: 0;\n    left: 0;\n    right: 0;\n    height: 85px;\n    background: linear-gradient(\n      180deg,\n      rgba(250, 250, 250, 0) 0%,\n      var(--color-background-100) 100%\n    );\n  }\n\n  .nextjs__container_errors_expand_button {\n    position: absolute;\n    bottom: 10px;\n    left: 50%;\n    transform: translateX(-50%);\n    display: flex;\n    align-items: center;\n    padding: 6px 12px;\n    background: var(--color-background-100);\n    border: none;\n    border-radius: var(--rounded-full);\n    box-shadow:\n      0px 2px 2px var(--color-gray-alpha-100),\n      0px 8px 8px -8px var(--color-gray-alpha-100),\n      0px 0px 0px 1px var(--color-gray-alpha-400);\n    font-size: var(--size-13);\n    cursor: pointer;\n    color: var(--color-gray-900);\n    font-weight: 500;\n    transition: background-color 0.2s ease;\n  }\n\n  .nextjs__container_errors_expand_button:hover {\n    background: var(--color-gray-100);\n  }\n`\n","export type ErrorType =\n  | 'Build Error'\n  | `Runtime ${string}`\n  | `Console ${string}`\n  | `Recoverable ${string}`\n  | 'Blocking Route'\n  | 'Ambiguous Metadata'\n  | 'Instant'\n\ntype ErrorTypeLabelProps = {\n  errorType: ErrorType\n}\n\nexport function ErrorTypeLabel({ errorType }: ErrorTypeLabelProps) {\n  return (\n    <span\n      id=\"nextjs__container_errors_label\"\n      className={`nextjs__container_errors_label ${errorType === 'Ambiguous Metadata' ? 'nextjs__container_errors_label_blocking_page' : ''} ${errorType === 'Instant' ? 'nextjs__container_errors_label_instant' : ''}`}\n    >\n      {errorType}\n    </span>\n  )\n}\n\nexport const styles = `\n  .nextjs__container_errors_label {\n    padding: 2px 6px;\n    margin: 0;\n    border-radius: var(--rounded-md-2);\n    background: var(--color-red-100);\n    font-weight: 600;\n    font-size: var(--size-12);\n    color: var(--color-red-900);\n    font-family: var(--font-stack-monospace);\n    line-height: var(--size-20);\n  }\n\n  .nextjs__container_errors_label_blocking_page {\n    background: var(--color-blue-100);\n    color: var(--color-blue-900);\n  }\n\n  .nextjs__container_errors_label_instant {\n    background: var(--color-amber-200);\n    color: var(--color-amber-900);\n  }\n`\n","import type { VersionInfo } from '../../../../../server/dev/parse-version-info'\n\nimport {\n  ErrorOverlayPagination,\n  type ErrorOverlayTabBarRenderer,\n} from '../error-overlay-pagination/error-overlay-pagination'\nimport { VersionStalenessInfo } from '../../version-staleness-info/version-staleness-info'\nimport type { ReadyRuntimeError } from '../../../utils/get-error-by-type'\n\ntype ErrorOverlayNavProps = {\n  runtimeErrors?: ReadyRuntimeError[]\n  activeIdx?: number\n  setActiveIndex?: (index: number) => void\n  canGoPrevious?: boolean\n  canGoNext?: boolean\n  onPrevious?: () => void\n  onNext?: () => void\n  versionInfo?: VersionInfo\n  renderTabBar?: ErrorOverlayTabBarRenderer\n}\n\nexport function ErrorOverlayNav({\n  runtimeErrors,\n  activeIdx,\n  setActiveIndex,\n  canGoPrevious,\n  canGoNext,\n  onPrevious,\n  onNext,\n  versionInfo,\n  renderTabBar,\n}: ErrorOverlayNavProps) {\n  const bundlerName = (process.env.__NEXT_BUNDLER || 'Turbopack') as\n    | 'Turbopack'\n    | 'Webpack'\n    | 'Rspack'\n  return (\n    <div data-nextjs-error-overlay-nav>\n      <NavItem side=\"left\">\n        {/* TODO: better passing data instead of nullish coalescing */}\n        <ErrorOverlayPagination\n          runtimeErrors={runtimeErrors ?? []}\n          activeIdx={activeIdx ?? 0}\n          onActiveIndexChange={setActiveIndex ?? (() => {})}\n          canGoPrevious={canGoPrevious}\n          canGoNext={canGoNext}\n          onPrevious={onPrevious}\n          onNext={onNext}\n          renderTabBar={renderTabBar}\n        />\n      </NavItem>\n      {versionInfo && (\n        <NavItem side=\"right\">\n          <VersionStalenessInfo\n            versionInfo={versionInfo}\n            bundlerName={bundlerName}\n          />\n        </NavItem>\n      )}\n    </div>\n  )\n}\n\nexport const styles = `\n  [data-nextjs-error-overlay-nav] {\n    --stroke-color: var(--color-gray-400);\n    --background-color: var(--color-background-100);\n    display: flex;\n    justify-content: space-between;\n    align-items: center;\n    gap: 8px;\n    flex-shrink: 0;\n\n    width: 100%;\n\n    position: relative;\n    z-index: 2;\n    outline: none;\n    translate: var(--next-dialog-border-width) var(--next-dialog-border-width);\n    max-width: var(--next-dialog-max-width);\n\n    .error-overlay-nav-item {\n      translate: calc(var(--next-dialog-border-width) * -1);\n      width: auto;\n      padding: 12px;\n      position: relative;\n\n      &[data-side='left'] {\n        padding-right: 0;\n      }\n\n      &[data-side='right'] {\n        padding-left: 0;\n      }\n    }\n  }\n\n  @media (max-width: 767px) {\n    [data-nextjs-error-overlay-nav] {\n      overflow-x: auto;\n      overflow-y: hidden;\n      scrollbar-width: none;\n      -ms-overflow-style: none;\n\n      &::-webkit-scrollbar {\n        display: none;\n      }\n    }\n  }\n\n`\n\nfunction NavItem({\n  children,\n  side = 'left',\n}: {\n  children: React.ReactNode\n  side?: 'left' | 'right'\n}) {\n  return (\n    <div className=\"error-overlay-nav-item\" data-side={side}>\n      {children}\n    </div>\n  )\n}\n","import * as React from 'react'\nimport { useOnClickOutside } from '../../hooks/use-on-click-outside'\n\ntype DialogProps = {\n  children?: React.ReactNode\n  'aria-labelledby': string\n  'aria-describedby': string\n  className?: string\n  onClose?: () => void\n} & React.HTMLAttributes<HTMLDivElement>\n\nconst CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE = [\n  '[data-next-mark]',\n  '[data-issues-open]',\n  '#nextjs-dev-tools-menu',\n  '[data-nextjs-error-overlay-nav]',\n  '[data-nextjs-error-overlay-tab-bar]',\n  '[data-info-popover]',\n  '[data-nextjs-devtools-panel-overlay]',\n  '[data-nextjs-devtools-panel-footer]',\n  '[data-nextjs-error-overlay-footer]',\n]\n\nconst Dialog: React.FC<DialogProps> = function Dialog({\n  children,\n  className,\n  onClose,\n  'aria-labelledby': ariaLabelledBy,\n  'aria-describedby': ariaDescribedBy,\n  ...props\n}) {\n  const dialogRef = React.useRef<HTMLDivElement | null>(null)\n  // TODO: Document is an external store. Either use useSyncExternalStore or always set the role.\n  const [role, setRole] = React.useState<string | undefined>(\n    typeof document !== 'undefined' && document.hasFocus()\n      ? 'dialog'\n      : undefined\n  )\n\n  useOnClickOutside(\n    dialogRef,\n    CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE,\n    (e) => {\n      e.preventDefault()\n      return onClose?.()\n    }\n  )\n\n  React.useEffect(() => {\n    if (dialogRef.current == null) {\n      return\n    }\n\n    function handleFocus() {\n      // safari will force itself as the active application when a background page triggers any sort of autofocus\n      // this is a workaround to only set the dialog role if the document has focus\n      setRole(document.hasFocus() ? 'dialog' : undefined)\n    }\n\n    window.addEventListener('focus', handleFocus)\n    window.addEventListener('blur', handleFocus)\n    return () => {\n      window.removeEventListener('focus', handleFocus)\n      window.removeEventListener('blur', handleFocus)\n    }\n  }, [])\n\n  React.useEffect(() => {\n    const dialog = dialogRef.current\n    const root = dialog?.getRootNode()\n    const initialActiveElement =\n      root instanceof ShadowRoot ? (root?.activeElement as HTMLElement) : null\n\n    // Trap focus within the dialog\n    dialog?.focus()\n\n    return () => {\n      // Blur first to avoid getting stuck, in case `activeElement` is missing\n      dialog?.blur()\n      // Restore focus to the previously active element\n      initialActiveElement?.focus()\n    }\n  }, [])\n\n  return (\n    <div\n      ref={dialogRef}\n      tabIndex={-1}\n      data-nextjs-dialog\n      data-nextjs-scrollable-content\n      role={role}\n      aria-labelledby={ariaLabelledBy}\n      aria-describedby={ariaDescribedBy}\n      aria-modal=\"true\"\n      className={className}\n      onKeyDown={(e) => {\n        if (e.key === 'Escape') {\n          onClose?.()\n        }\n      }}\n      {...props}\n    >\n      {children}\n    </div>\n  )\n}\n\nexport { Dialog }\n","import * as React from 'react'\n\nexport function useOnClickOutside(\n  el: Node | React.RefObject<Node | null> | null,\n  cssSelectorsToExclude: string[],\n  handler: ((e: MouseEvent | TouchEvent) => void) | undefined\n) {\n  React.useEffect(() => {\n    // Support both direct nodes and ref objects\n    const element = el && 'current' in el ? el.current : el\n    if (element == null || handler == null) {\n      return\n    }\n\n    const listener = (e: MouseEvent | TouchEvent) => {\n      // Do nothing if clicking ref's element or descendent elements\n      if (!element || element.contains(e.target as Element)) {\n        return\n      }\n\n      if (\n        // Do nothing if clicking on an element that is excluded by the CSS selector(s)\n        cssSelectorsToExclude.some((cssSelector) =>\n          (e.target as Element).closest(cssSelector)\n        )\n      ) {\n        return\n      }\n\n      handler(e)\n    }\n\n    const root = element.getRootNode()\n    root.addEventListener('mouseup', listener as EventListener)\n    root.addEventListener('touchend', listener as EventListener, {\n      passive: false,\n    })\n    return function () {\n      root.removeEventListener('mouseup', listener as EventListener)\n      root.removeEventListener('touchend', listener as EventListener)\n    }\n  }, [handler, el, cssSelectorsToExclude])\n}\n","import { Dialog } from '../../dialog/dialog'\n\ntype ErrorOverlayDialogProps = {\n  children?: React.ReactNode\n  onClose?: () => void\n} & React.HTMLAttributes<HTMLDivElement>\n\nexport function ErrorOverlayDialog({\n  children,\n  onClose,\n  ...props\n}: ErrorOverlayDialogProps) {\n  return (\n    <div className=\"error-overlay-dialog-container\">\n      <Dialog\n        aria-labelledby=\"nextjs__container_errors_label\"\n        aria-describedby=\"nextjs__container_errors_desc\"\n        className=\"error-overlay-dialog-scroll\"\n        onClose={onClose}\n        {...props}\n      >\n        {children}\n      </Dialog>\n    </div>\n  )\n}\n\nexport const DIALOG_STYLES = `\n  .error-overlay-dialog-container {\n    display: flex;\n    flex-direction: column;\n    background: var(--color-background-100);\n    background-clip: padding-box;\n    border-radius: var(--next-dialog-radius);\n    box-shadow: var(--shadow-menu);\n    position: relative;\n    overflow: hidden;\n  }\n\n  .error-overlay-dialog-scroll {\n    overflow-y: auto;\n    scrollbar-gutter: stable;\n    height: 100%;\n  }\n`\n","type DialogHeaderProps = React.HTMLAttributes<HTMLDivElement>\n\nexport function DialogHeader(props: DialogHeaderProps) {\n  return (\n    <div data-nextjs-dialog-header {...props}>\n      {props.children}\n    </div>\n  )\n}\n","import { DialogHeader } from '../../dialog/dialog-header'\n\ntype ErrorOverlayDialogHeaderProps = {\n  children?: React.ReactNode\n}\n\nexport function ErrorOverlayDialogHeader({\n  children,\n}: ErrorOverlayDialogHeaderProps) {\n  return (\n    <DialogHeader className=\"nextjs-container-errors-header\">\n      {children}\n    </DialogHeader>\n  )\n}\n\nexport const DIALOG_HEADER_STYLES = `\n  .nextjs-container-errors-header {\n    position: relative;\n  }\n  [data-nextjs-dialog-content] > .nextjs-container-errors-header {\n    margin-bottom: 0;\n  }\n  .nextjs-container-errors-header > h1 {\n    font-size: var(--size-20);\n    line-height: var(--size-24);\n    font-weight: bold;\n    margin: calc(16px * 1.5) 0;\n    color: var(--color-title-h1);\n  }\n  .nextjs-container-errors-header small {\n    font-size: var(--size-14);\n    color: var(--color-accents-1);\n    margin-left: 16px;\n  }\n  .nextjs-container-errors-header small > span {\n    font-family: var(--font-stack-monospace);\n  }\n  .nextjs-container-errors-header > div > small {\n    margin: 0;\n    margin-top: 4px;\n  }\n  .nextjs-container-errors-header > p > a {\n    font-weight: 600;\n  }\n  .nextjs-container-errors-header\n    > .nextjs-container-build-error-version-status {\n    position: absolute;\n    top: 16px;\n    right: 16px;\n  }\n`\n","import { DialogBody } from '../../dialog'\n\ntype ErrorOverlayDialogBodyProps = {\n  children?: React.ReactNode\n  onClose?: () => void\n}\n\nexport function ErrorOverlayDialogBody({\n  children,\n}: ErrorOverlayDialogBodyProps) {\n  return (\n    <DialogBody className=\"nextjs-container-errors-body\">{children}</DialogBody>\n  )\n}\n\nexport const DIALOG_BODY_STYLES = `\n  [data-nextjs-dialog-body] {\n    padding-left: 20px;\n    padding-right: 20px;\n    padding-bottom: 20px;\n  }\n`\n","import { css } from '../../../utils/css'\nimport { Overlay, type OverlayProps } from '../../overlay/overlay'\n\nexport function ErrorOverlayOverlay({ children, ...props }: OverlayProps) {\n  return <Overlay {...props}>{children}</Overlay>\n}\n\nexport const OVERLAY_STYLES = css`\n  [data-nextjs-dialog-overlay] {\n    padding: initial;\n    top: 10vh;\n  }\n`\n","import { forwardRef, useEffect, useState } from 'react'\n\nexport const Resizer = forwardRef(function Resizer(\n  {\n    children,\n    measure,\n    ...props\n  }: {\n    children: React.ReactNode\n    measure: boolean\n  } & React.HTMLProps<HTMLDivElement>,\n  resizerRef: React.Ref<HTMLDivElement | null>\n) {\n  const [element, setElement] = useState<HTMLDivElement | null>(null)\n  const [height, measuring] = useMeasureHeight(element, measure)\n\n  return (\n    <div\n      {...props}\n      ref={resizerRef}\n      // [x] Don't animate on initial load\n      // [x] No duplicate elements\n      // [x] Responds to content growth\n      style={{\n        height: measuring ? 'auto' : height,\n        transition: measuring ? 'none' : 'height 250ms var(--timing-swift)',\n      }}\n    >\n      <div ref={setElement}>{children}</div>\n    </div>\n  )\n})\n\nfunction useMeasureHeight(\n  element: HTMLDivElement | null,\n  measure: boolean\n): [number, boolean] {\n  const [height, setHeight] = useState<number>(0)\n  const [measuring, setMeasuring] = useState<boolean>(true)\n\n  useEffect(() => {\n    if (!measure) {\n      return\n    }\n\n    let timerId: number\n\n    if (!element) {\n      return\n    }\n\n    const observer = new ResizeObserver(([{ contentRect }]) => {\n      clearTimeout(timerId)\n\n      timerId = window.setTimeout(() => {\n        setMeasuring(false)\n      }, 100)\n\n      setHeight(contentRect.height)\n    })\n\n    observer.observe(element)\n    return () => observer.disconnect()\n  }, [measure, element])\n\n  return [height, measuring]\n}\n","import * as React from 'react'\nimport type { DebugInfo } from '../../../../shared/types'\nimport type { ErrorMessageType } from '../error-message/error-message'\nimport type { ErrorType } from '../error-type-label/error-type-label'\n\nimport { DialogContent } from '../../dialog'\nimport {\n  ErrorOverlayToolbar,\n  styles as toolbarStyles,\n} from '../error-overlay-toolbar/error-overlay-toolbar'\nimport { ErrorOverlayFooter } from '../error-overlay-footer/error-overlay-footer'\nimport {\n  ErrorMessage,\n  styles as errorMessageStyles,\n} from '../error-message/error-message'\nimport {\n  ErrorTypeLabel,\n  styles as errorTypeLabelStyles,\n} from '../error-type-label/error-type-label'\nimport {\n  ErrorOverlayNav,\n  styles as floatingHeaderStyles,\n} from '../error-overlay-nav/error-overlay-nav'\nimport type { ErrorOverlayTabBarRenderer } from '../error-overlay-pagination/error-overlay-pagination'\n\nimport { ErrorOverlayDialog, DIALOG_STYLES } from '../dialog/dialog'\nimport {\n  ErrorOverlayDialogHeader,\n  DIALOG_HEADER_STYLES,\n} from '../dialog/header'\nimport { ErrorOverlayDialogBody, DIALOG_BODY_STYLES } from '../dialog/body'\nimport { OVERLAY_STYLES, ErrorOverlayOverlay } from '../overlay/overlay'\nimport type { ErrorBaseProps } from '../error-overlay/error-overlay'\nimport type { ReadyRuntimeError } from '../../../utils/get-error-by-type'\nimport { EnvironmentNameLabel } from '../environment-name-label/environment-name-label'\nimport { useFocusTrap } from '../dev-tools-indicator/utils'\nimport { Resizer } from '../../resizer'\nimport { OverlayBackdrop } from '../../overlay'\n\nexport interface ErrorOverlayLayoutProps extends ErrorBaseProps {\n  errorMessage: ErrorMessageType\n  errorType: ErrorType\n  children?: React.ReactNode\n  headerChildren?: React.ReactNode\n  renderTabBar?: ErrorOverlayTabBarRenderer\n  canGoPrevious?: boolean\n  canGoNext?: boolean\n  onPrevious?: () => void\n  onNext?: () => void\n  errorCode?: string\n  error: ReadyRuntimeError['error']\n  debugInfo?: DebugInfo\n  isBuildError?: boolean\n  onClose?: () => void\n  // TODO: better handle receiving\n  runtimeErrors?: ReadyRuntimeError[]\n  activeIdx?: number\n  setActiveIndex?: (index: number) => void\n  dialogResizerRef?: React.RefObject<HTMLDivElement | null>\n  generateErrorInfo: () => Promise<string>\n}\n\nexport function ErrorOverlayLayout({\n  errorMessage,\n  errorType,\n  children,\n  headerChildren,\n  renderTabBar,\n  canGoPrevious,\n  canGoNext,\n  onPrevious,\n  onNext,\n  errorCode,\n  errorCount: _errorCount,\n  error,\n  debugInfo,\n  isBuildError,\n  onClose,\n  versionInfo,\n  runtimeErrors,\n  activeIdx,\n  setActiveIndex,\n  dialogResizerRef,\n  generateErrorInfo,\n  // This prop is used to animate the dialog, it comes from a parent component (<ErrorOverlay>)\n  // If it's not being passed, we should just render the component as it is being\n  // used without the context of a parent component that controls its state (e.g. Storybook).\n  rendered = true,\n  transitionDurationMs,\n}: ErrorOverlayLayoutProps) {\n  const animationProps = {\n    'data-rendered': rendered,\n    style: {\n      '--transition-duration': `${transitionDurationMs}ms`,\n    } as React.CSSProperties,\n  }\n\n  const [animating, setAnimating] = React.useState(\n    Boolean(transitionDurationMs)\n  )\n\n  const hasFooter = Boolean(errorCode)\n  const dialogRef = React.useRef<HTMLDivElement | null>(null)\n  useFocusTrap(dialogRef, null, rendered)\n\n  function onTransitionEnd({ propertyName, target }: React.TransitionEvent) {\n    // We can only measure height after the `scale` transition ends,\n    // otherwise we will measure height as a multiple of the animating value\n    // which will give us an incorrect value.\n    if (propertyName === 'scale' && target === dialogRef.current) {\n      setAnimating(false)\n    }\n  }\n\n  return (\n    <ErrorOverlayOverlay {...animationProps}>\n      <OverlayBackdrop fixed={isBuildError} />\n      <div\n        data-nextjs-dialog-root\n        onTransitionEnd={onTransitionEnd}\n        ref={dialogRef}\n        {...animationProps}\n      >\n        <ErrorOverlayNav\n          runtimeErrors={runtimeErrors}\n          activeIdx={activeIdx}\n          setActiveIndex={setActiveIndex}\n          canGoPrevious={canGoPrevious}\n          canGoNext={canGoNext}\n          onPrevious={onPrevious}\n          onNext={onNext}\n          versionInfo={versionInfo}\n          renderTabBar={renderTabBar}\n        />\n        <ErrorOverlayDialog onClose={onClose} data-has-footer={hasFooter}>\n          <Resizer\n            ref={dialogResizerRef}\n            measure={!animating}\n            data-nextjs-dialog-sizer\n          >\n            <DialogContent>\n              <ErrorOverlayDialogHeader>\n                <div\n                  className=\"nextjs__container_errors__error_title\"\n                  // allow assertion in tests before error rating is implemented\n                  data-nextjs-error-code={errorCode}\n                >\n                  <div className=\"nextjs__container_errors__error_title__row\">\n                    <span data-nextjs-error-label-group>\n                      <ErrorTypeLabel errorType={errorType} />\n                      {error.environmentName && (\n                        <EnvironmentNameLabel\n                          environmentName={error.environmentName}\n                        />\n                      )}\n                    </span>\n                    <ErrorOverlayToolbar\n                      error={error}\n                      debugInfo={debugInfo}\n                      generateErrorInfo={generateErrorInfo}\n                    />\n                  </div>\n                  <ErrorMessage\n                    errorMessage={errorMessage}\n                    errorType={errorType}\n                  />\n                </div>\n                {headerChildren}\n              </ErrorOverlayDialogHeader>\n              <ErrorOverlayDialogBody>{children}</ErrorOverlayDialogBody>\n            </DialogContent>\n          </Resizer>\n        </ErrorOverlayDialog>\n        {hasFooter && <ErrorOverlayFooter errorCode={errorCode} />}\n      </div>\n    </ErrorOverlayOverlay>\n  )\n}\n\nexport const styles = `\n  ${OVERLAY_STYLES}\n  ${DIALOG_STYLES}\n  ${DIALOG_HEADER_STYLES}\n  ${DIALOG_BODY_STYLES}\n\n  ${floatingHeaderStyles}\n  ${errorTypeLabelStyles}\n  ${errorMessageStyles}\n  ${toolbarStyles}\n\n  [data-nextjs-error-label-group] {\n    display: flex;\n    align-items: center;\n    gap: 8px;\n    white-space: nowrap;\n    flex-shrink: 0;\n  }\n`\n","export function LeftArrow({\n  title,\n  className,\n}: {\n  title?: string\n  className?: string\n}) {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      aria-label={title}\n      className={className}\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M9.24996 12.0608L8.71963 11.5304L5.89641 8.70722C5.50588 8.3167 5.50588 7.68353 5.89641 7.29301L8.71963 4.46978L9.24996 3.93945L10.3106 5.00011L9.78029 5.53044L7.31062 8.00011L9.78029 10.4698L10.3106 11.0001L9.24996 12.0608Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n","export function RightArrow({\n  title,\n  className,\n}: {\n  title?: string\n  className?: string\n}) {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      className={className}\n      aria-label={title}\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M6.75011 3.93945L7.28044 4.46978L10.1037 7.29301C10.4942 7.68353 10.4942 8.3167 10.1037 8.70722L7.28044 11.5304L6.75011 12.0608L5.68945 11.0001L6.21978 10.4698L8.68945 8.00011L6.21978 5.53044L5.68945 5.00011L6.75011 3.93945Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n","import {\n  startTransition,\n  useCallback,\n  useEffect,\n  useRef,\n  useState,\n} from 'react'\nimport { LeftArrow } from '../../../icons/left-arrow'\nimport { RightArrow } from '../../../icons/right-arrow'\nimport type { ReadyRuntimeError } from '../../../utils/get-error-by-type'\n\nexport type ErrorOverlayPaginationControls = {\n  previousButton: React.ReactNode\n  nextButton: React.ReactNode\n  createCount: (\n    activeIdx: number,\n    total: number,\n    isActive?: boolean\n  ) => React.ReactNode\n}\n\nexport type ErrorOverlayTabBarRenderer = (\n  controls: ErrorOverlayPaginationControls\n) => React.ReactNode\n\ntype ErrorPaginationProps = {\n  runtimeErrors: ReadyRuntimeError[]\n  activeIdx: number\n  onActiveIndexChange: (index: number) => void\n  canGoPrevious?: boolean\n  canGoNext?: boolean\n  onPrevious?: () => void\n  onNext?: () => void\n  renderTabBar?: ErrorOverlayTabBarRenderer\n}\n\nexport function ErrorOverlayPagination({\n  runtimeErrors,\n  activeIdx,\n  onActiveIndexChange,\n  canGoPrevious,\n  canGoNext,\n  onPrevious,\n  onNext,\n  renderTabBar,\n}: ErrorPaginationProps) {\n  const handlePreviousWithinGroup = useCallback(\n    () =>\n      startTransition(() => {\n        if (activeIdx > 0) {\n          onActiveIndexChange(Math.max(0, activeIdx - 1))\n        }\n      }),\n    [activeIdx, onActiveIndexChange]\n  )\n\n  const handleNextWithinGroup = useCallback(\n    () =>\n      startTransition(() => {\n        if (activeIdx < runtimeErrors.length - 1) {\n          onActiveIndexChange(\n            Math.max(0, Math.min(runtimeErrors.length - 1, activeIdx + 1))\n          )\n        }\n      }),\n    [activeIdx, runtimeErrors.length, onActiveIndexChange]\n  )\n\n  const canNavigatePrevious = canGoPrevious ?? activeIdx > 0\n  const canNavigateNext = canGoNext ?? activeIdx < runtimeErrors.length - 1\n\n  const handlePrevious = onPrevious ?? handlePreviousWithinGroup\n  const handleNext = onNext ?? handleNextWithinGroup\n\n  const buttonLeft = useRef<HTMLButtonElement | null>(null)\n  const buttonRight = useRef<HTMLButtonElement | null>(null)\n\n  const [nav, setNav] = useState<HTMLElement | null>(null)\n  const onNav = useCallback((el: HTMLElement) => {\n    setNav(el)\n  }, [])\n\n  useEffect(() => {\n    if (nav == null) {\n      return\n    }\n\n    const root = nav.getRootNode()\n    const d = self.document\n\n    function handler(e: KeyboardEvent) {\n      if (e.key === 'ArrowLeft') {\n        e.preventDefault()\n        e.stopPropagation()\n        handlePrevious && handlePrevious()\n      } else if (e.key === 'ArrowRight') {\n        e.preventDefault()\n        e.stopPropagation()\n        handleNext && handleNext()\n      }\n    }\n\n    root.addEventListener('keydown', handler as EventListener)\n    if (root !== d) {\n      d.addEventListener('keydown', handler)\n    }\n    return function () {\n      root.removeEventListener('keydown', handler as EventListener)\n      if (root !== d) {\n        d.removeEventListener('keydown', handler)\n      }\n    }\n  }, [nav, handleNext, handlePrevious])\n\n  // Unlock focus for browsers like Firefox, that break all user focus if the\n  // currently focused item becomes disabled.\n  useEffect(() => {\n    if (nav == null) {\n      return\n    }\n\n    const root = nav.getRootNode()\n    // Always true, but we do this for TypeScript:\n    if (root instanceof ShadowRoot) {\n      const a = root.activeElement\n\n      if (!canNavigatePrevious) {\n        if (buttonLeft.current && a === buttonLeft.current) {\n          buttonLeft.current.blur()\n        }\n      } else if (!canNavigateNext) {\n        if (buttonRight.current && a === buttonRight.current) {\n          buttonRight.current.blur()\n        }\n      }\n    }\n  }, [nav, canNavigateNext, canNavigatePrevious])\n\n  const previousButton = (\n    <button\n      ref={buttonLeft}\n      type=\"button\"\n      disabled={!canNavigatePrevious}\n      aria-disabled={!canNavigatePrevious}\n      onClick={handlePrevious}\n      data-nextjs-dialog-error-previous\n      className=\"error-overlay-pagination-button\"\n    >\n      <LeftArrow\n        title=\"previous\"\n        className=\"error-overlay-pagination-button-icon\"\n      />\n    </button>\n  )\n\n  const createCount = (\n    currentActiveIdx: number,\n    total: number,\n    isActive: boolean = true\n  ) => (\n    <div className=\"error-overlay-pagination-count\">\n      <span\n        {...(isActive\n          ? { 'data-nextjs-dialog-error-index': currentActiveIdx }\n          : {})}\n      >\n        {total === 0 ? 0 : currentActiveIdx + 1}/\n      </span>\n      <span\n        {...(isActive ? { 'data-nextjs-dialog-header-total-count': '' } : {})}\n      >\n        {total}\n      </span>\n    </div>\n  )\n\n  const nextButton = (\n    <button\n      ref={buttonRight}\n      type=\"button\"\n      disabled={!canNavigateNext}\n      aria-disabled={!canNavigateNext}\n      onClick={handleNext}\n      data-nextjs-dialog-error-next\n      className=\"error-overlay-pagination-button\"\n    >\n      <RightArrow\n        title=\"next\"\n        className=\"error-overlay-pagination-button-icon\"\n      />\n    </button>\n  )\n\n  return (\n    <nav\n      className=\"error-overlay-pagination dialog-exclude-closing-from-outside-click\"\n      ref={onNav}\n    >\n      {renderTabBar ? (\n        renderTabBar({ previousButton, createCount, nextButton })\n      ) : (\n        <>\n          {previousButton}\n          {createCount(activeIdx, runtimeErrors.length || 1)}\n          {nextButton}\n        </>\n      )}\n    </nav>\n  )\n}\n\nexport const styles = `\n  .error-overlay-pagination {\n    -webkit-font-smoothing: antialiased;\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    gap: 6px;\n    width: fit-content;\n  }\n\n  @media (max-width: 575px) {\n    .error-overlay-pagination {\n      gap: 4px;\n    }\n  }\n\n  .error-overlay-pagination-count {\n    display: flex;\n    align-items: center;\n    color: inherit;\n    text-align: center;\n    font-size: var(--size-13);\n    font-family: var(--font-mono);\n    line-height: var(--size-16);\n    font-variant-numeric: tabular-nums;\n  }\n\n  .error-overlay-pagination-button {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n\n    width: var(--size-24);\n    height: var(--size-24);\n    background: none;\n    flex-shrink: 0;\n\n    border: none;\n    border-radius: var(--rounded-full);\n\n    svg {\n      width: var(--size-16);\n      height: var(--size-16);\n    }\n\n    &:focus-visible {\n      outline: var(--focus-ring);\n    }\n\n    &:not(:disabled):hover {\n      background: var(--color-gray-alpha-100);\n    }\n\n    &:not(:disabled):active {\n      background: var(--color-gray-alpha-200);\n    }\n\n    &:disabled {\n      opacity: 0.5;\n      cursor: not-allowed;\n    }\n  }\n\n  .error-overlay-pagination-button-icon {\n    color: var(--color-gray-1000);\n  }\n`\n","function decodeHex(hexStr: string): string {\n  if (hexStr.trim() === '') {\n    throw new Error(\"can't decode empty hex\")\n  }\n\n  const num = parseInt(hexStr, 16)\n  if (isNaN(num)) {\n    throw new Error(`invalid hex: \\`${hexStr}\\``)\n  }\n\n  return String.fromCodePoint(num)\n}\n\nconst enum Mode {\n  Text,\n  Underscore,\n  Hex,\n  LongHex,\n}\n\nconst DECODE_REGEX = /^__TURBOPACK__([a-zA-Z0-9_$]+)__$/\n\nexport function decodeMagicIdentifier(identifier: string): string {\n  const matches = identifier.match(DECODE_REGEX)\n  if (!matches) {\n    return identifier\n  }\n\n  const inner = matches[1]\n\n  let output = ''\n\n  let mode: Mode = Mode.Text\n  let buffer = ''\n  for (let i = 0; i < inner.length; i++) {\n    const char = inner[i]\n\n    if (mode === Mode.Text) {\n      if (char === '_') {\n        mode = Mode.Underscore\n      } else if (char === '$') {\n        mode = Mode.Hex\n      } else {\n        output += char\n      }\n    } else if (mode === Mode.Underscore) {\n      if (char === '_') {\n        output += ' '\n        mode = Mode.Text\n      } else if (char === '$') {\n        output += '_'\n        mode = Mode.Hex\n      } else {\n        output += char\n        mode = Mode.Text\n      }\n    } else if (mode === Mode.Hex) {\n      if (buffer.length === 2) {\n        output += decodeHex(buffer)\n        buffer = ''\n      }\n\n      if (char === '_') {\n        if (buffer !== '') {\n          throw new Error(`invalid hex: \\`${buffer}\\``)\n        }\n\n        mode = Mode.LongHex\n      } else if (char === '$') {\n        if (buffer !== '') {\n          throw new Error(`invalid hex: \\`${buffer}\\``)\n        }\n\n        mode = Mode.Text\n      } else {\n        buffer += char\n      }\n    } else if (mode === Mode.LongHex) {\n      if (char === '_') {\n        throw new Error(`invalid hex: \\`${buffer + char}\\``)\n      } else if (char === '$') {\n        output += decodeHex(buffer)\n        buffer = ''\n\n        mode = Mode.Text\n      } else {\n        buffer += char\n      }\n    }\n  }\n\n  return output\n}\n\nexport const MAGIC_IDENTIFIER_REGEX = /__TURBOPACK__[a-zA-Z0-9_$]+__/g\n\n/**\n * Cleans up module IDs by removing implementation details.\n * - Replaces [project] with .\n * - Removes content in brackets [], parentheses (), and angle brackets <>\n */\nexport function deobfuscateModuleId(moduleId: string): string {\n  return (\n    moduleId\n      // Replace [project] with .\n      .replace(/\\[project\\]/g, '.')\n      // Remove content in square brackets (e.g. [app-rsc])\n      .replace(/\\s\\[([^\\]]*)\\]/g, '')\n      // Remove content in parentheses (e.g. (ecmascript))\n      .replace(/\\s\\(([^)]*)\\)/g, '')\n      // Remove content in angle brackets (e.g. <locals>)\n      .replace(/\\s<([^>]*)>/g, '')\n      // Clean up any extra whitespace\n      .trim()\n  )\n}\n\n/**\n * Removes the free call wrapper pattern (0, expr) from expressions.\n * This is a JavaScript pattern to call a function without binding 'this',\n * but it's noise for developers reading error messages.\n */\nexport function removeFreeCallWrapper(text: string): string {\n  // Match (0, <ident>.<ident>) patterns anywhere in the text the beginning\n  // Overzealous: accept any non-whitespace member expression after the dot.\n  // TODO: Fix https://linear.app/vercel/issue/NEXT-4875 to allow using unicode property escapes\n  return text.replace(\n    /\\(0\\s*,\\s*(__TURBOPACK__[a-zA-Z0-9_$]+__\\.[^\\s)]+)\\)/g,\n    '$1'\n  )\n}\n\nexport type TextPartType = 'raw' | 'deobfuscated'\n\n/**\n * Deobfuscates text and returns an array of discriminated parts.\n * Each part is a tuple of [type, string] where type is either 'raw' (unchanged text)\n * or 'deobfuscated' (a magic identifier that was decoded).\n *\n * This is useful when you need to process or display deobfuscated and raw text differently.\n */\nexport function deobfuscateTextParts(\n  text: string\n): Array<[TextPartType, string]> {\n  // First, remove free call wrappers\n  const withoutFreeCall = removeFreeCallWrapper(text)\n\n  const parts: Array<[TextPartType, string]> = []\n  let lastIndex = 0\n\n  // Create a new regex instance for global matching\n  const regex = new RegExp(MAGIC_IDENTIFIER_REGEX.source, 'g')\n\n  for (\n    let match = regex.exec(withoutFreeCall);\n    match !== null;\n    match = regex.exec(withoutFreeCall)\n  ) {\n    const matchStart = match.index\n    const matchEnd = regex.lastIndex\n    const ident = match[0]\n\n    // Add raw text before this match (if any)\n    if (matchStart > lastIndex) {\n      const rawText = withoutFreeCall.substring(lastIndex, matchStart)\n      parts.push(['raw', rawText])\n    }\n\n    // Process and add the deobfuscated part\n    try {\n      const decoded = decodeMagicIdentifier(ident)\n      // If it was a magic identifier, clean up the module ID\n      if (decoded !== ident) {\n        // Check if this is an \"imported module\" reference\n        const importedModuleMatch = decoded.match(/^imported module (.+)$/)\n        if (importedModuleMatch) {\n          // Clean the entire module path (which includes [app-rsc], etc.)\n          const modulePathWithMetadata = importedModuleMatch[1]\n          const cleaned = deobfuscateModuleId(modulePathWithMetadata)\n          parts.push(['deobfuscated', `{imported module ${cleaned}}`])\n        } else {\n          const cleaned = deobfuscateModuleId(decoded)\n          parts.push(['deobfuscated', `{${cleaned}}`])\n        }\n      } else {\n        // Not actually a magic identifier, treat as raw\n        parts.push(['raw', ident])\n      }\n    } catch (e) {\n      parts.push(['deobfuscated', `{${ident} (decoding failed: ${e})}`])\n    }\n\n    lastIndex = matchEnd\n  }\n\n  // Add any remaining raw text after the last match\n  if (lastIndex < withoutFreeCall.length) {\n    const rawText = withoutFreeCall.substring(lastIndex)\n    parts.push(['raw', rawText])\n  }\n\n  return parts\n}\n\n/**\n * Deobfuscates text by:\n * 1. Decoding magic identifiers\n * 2. Cleaning up module IDs\n * 3. Removing free call wrappers\n */\nexport function deobfuscateText(text: string): string {\n  const parts = deobfuscateTextParts(text)\n  return parts.map((part) => part[1]).join('')\n}\n","import React from 'react'\nimport { deobfuscateTextParts } from '../../../../shared/lib/magic-identifier'\n\nconst linkRegex = /https?:\\/\\/[^\\s/$.?#].[^\\s)'\"]*/i\n\nexport const HotlinkedText: React.FC<{\n  text: string\n  matcher?: (text: string) => string | null\n}> = function HotlinkedText(props) {\n  const { text, matcher } = props\n\n  // Deobfuscate the entire text first\n  const deobfuscatedParts = deobfuscateTextParts(text)\n\n  return (\n    <>\n      {deobfuscatedParts.map(([type, part], outerIndex) => {\n        if (type === 'raw') {\n          return (\n            part\n              // Split on whitespace and links\n              .split(/(\\s+|https?:\\/\\/[^\\s/$.?#].[^\\s)'\"]*)/)\n              .map((rawPart, index) => {\n                if (linkRegex.test(rawPart)) {\n                  const link = linkRegex.exec(rawPart)!\n                  const href = link[0]\n                  // If link matcher is present, check if it returns a className\n                  let linkClassName: string | null = null\n                  if (typeof matcher === 'function') {\n                    linkClassName = matcher(href)\n                    // If matcher returns null, don't turn it into a link\n                    if (linkClassName === null) {\n                      return (\n                        <React.Fragment key={`link-${outerIndex}-${index}`}>\n                          {rawPart}\n                        </React.Fragment>\n                      )\n                    }\n                  }\n                  return (\n                    <React.Fragment key={`link-${outerIndex}-${index}`}>\n                      <a\n                        href={href}\n                        target=\"_blank\"\n                        rel=\"noreferrer noopener\"\n                        className={linkClassName || undefined}\n                      >\n                        {rawPart}\n                      </a>\n                    </React.Fragment>\n                  )\n                } else {\n                  return (\n                    <React.Fragment key={`text-${outerIndex}-${index}`}>\n                      {rawPart}\n                    </React.Fragment>\n                  )\n                }\n              })\n          )\n        } else if (type === 'deobfuscated') {\n          // italicize the deobfuscated part\n          return <i key={`ident-${outerIndex}`}>{part}</i>\n        } else {\n          throw new Error(`Unknown text part type: ${type}`)\n        }\n      })}\n    </>\n  )\n}\n","/**\n * Cookie reading and subscription for the instant navigation devtools panel.\n *\n * The cookie value is a JSON array:\n *   [0, id]        — pending (waiting to capture)\n *   [1, id, null]  — captured MPA page load\n *   [1, id, { from, to }] — captured SPA navigation (from/to route trees)\n *\n * The \"to\" tree may be null initially and updated after the prefetch resolves.\n */\n\nimport { useMemo } from 'react'\nimport { useSyncExternalStore } from 'react'\nimport type {\n  FlightRouterState,\n  Segment,\n} from '../../../../shared/lib/app-router-types'\nimport {\n  parseInstantNavCookieValue,\n  type InstantNavCookieData,\n} from '../../../../shared/lib/instant-nav-cookie'\n\nconst COOKIE_NAME = 'next-instant-navigation-testing'\n\nexport function readInstantNavCookieState():\n  | InstantNavCookieData['state']\n  | null {\n  if (typeof document === 'undefined') return null\n  const match = document.cookie.match(/next-instant-navigation-testing=([^;]*)/)\n  if (!match) return null\n  return parseInstantNavCookieValue(match[1]).state\n}\n\n/**\n * Formats a FlightRouterState tree into a route pattern string for display.\n * Dynamic segments are shown with bracket syntax (e.g. [slug], [...params],\n * [[...optional]]) rather than their filled-in values. Search params are\n * omitted because they don't affect navigation.\n */\nexport function formatRoutePattern(tree: FlightRouterState): string {\n  const segments: string[] = []\n  let current: FlightRouterState | undefined = tree\n\n  while (current) {\n    const segment: Segment = current[0]\n    const children: Record<string, FlightRouterState> | undefined = current[1]\n\n    if (typeof segment === 'string') {\n      // Skip root segment (''), page sentinels, default sentinels,\n      // and route groups (parenthesized segments like \"(marketing)\")\n      if (\n        segment !== '' &&\n        !segment.startsWith('__PAGE__') &&\n        segment !== '__DEFAULT__' &&\n        !(segment.startsWith('(') && segment.endsWith(')'))\n      ) {\n        segments.push(segment)\n      }\n    } else if (Array.isArray(segment)) {\n      // Dynamic segment tuple: [paramName, paramCacheKey, dynamicParamType, staticSiblings]\n      const paramName = segment[0]\n      const dynamicParamType = segment[2]\n\n      if (dynamicParamType === 'c' || dynamicParamType.startsWith('ci')) {\n        // Catch-all: [...param]\n        segments.push(`[...${paramName}]`)\n      } else if (dynamicParamType === 'oc') {\n        // Optional catch-all: [[...param]]\n        segments.push(`[[...${paramName}]]`)\n      } else {\n        // Dynamic: [param]\n        segments.push(`[${paramName}]`)\n      }\n    }\n\n    // Follow the children parallel route\n    current = children?.children\n  }\n\n  return '/' + segments.join('/')\n}\n\n// The raw cookie string is used as the useSyncExternalStore snapshot.\n// Strings are compared by value, so no referential stability concerns.\n// Parsing happens during render via useMemo.\n\n// Cache the latest raw cookie value observed from CookieStore events.\n// document.cookie may not reflect async cookieStore.set() writes\n// immediately, so the snapshot reads this cache first.\nlet cachedRawValue: string | undefined = undefined\n\nfunction readRawCookieValue(): string {\n  if (typeof document === 'undefined') return ''\n  const match = document.cookie.match(/next-instant-navigation-testing=([^;]*)/)\n  return match ? match[1] : ''\n}\n\nfunction getSnapshot(): string {\n  if (cachedRawValue !== undefined) {\n    return cachedRawValue\n  }\n  return readRawCookieValue()\n}\n\nfunction isInitialInstantTestStaticShell(rawValue: string): boolean {\n  return (\n    rawValue !== '' &&\n    cachedRawValue === undefined &&\n    typeof self !== 'undefined' &&\n    Boolean(self.__next_instant_test)\n  )\n}\n\nfunction subscribe(callback: () => void): () => void {\n  if (typeof cookieStore === 'undefined') {\n    return () => {}\n  }\n  function handler(event: CookieChangeEvent) {\n    for (const cookie of event.changed) {\n      if (cookie.name === COOKIE_NAME) {\n        cachedRawValue = cookie.value ?? ''\n        callback()\n        return\n      }\n    }\n    for (const cookie of event.deleted) {\n      if (cookie.name === COOKIE_NAME) {\n        cachedRawValue = ''\n        callback()\n        return\n      }\n    }\n  }\n  cookieStore.addEventListener('change', handler)\n  return () => {\n    cookieStore.removeEventListener('change', handler)\n  }\n}\n\n/**\n * Subscribes to the instant navigation cookie value. The cookie is the\n * sole source of truth — this hook reads it via useSyncExternalStore.\n *\n * The raw cookie string is the snapshot (stable by value comparison).\n * Parsing into structured data happens during render via useMemo.\n *\n * Returns null when the cookie is absent.\n */\nexport function useInstantNavCookieState(): InstantNavCookieData | null {\n  const rawValue = useSyncExternalStore(subscribe, getSnapshot)\n  return useMemo(() => {\n    if (!rawValue) return null\n    // A full page load into an instant-test static shell writes the MPA\n    // cookie asynchronously. Until that CookieStore event lands, the cookie\n    // may still contain the previous SPA capture from before the reload.\n    if (isInitialInstantTestStaticShell(rawValue)) {\n      return { state: 'mpa' }\n    }\n    return parseInstantNavCookieValue(rawValue)\n  }, [rawValue])\n}\n","import type { FlightRouterState } from './app-router-types'\n\nexport type InstantNavCookieData =\n  | { state: 'pending' }\n  | { state: 'mpa' }\n  | {\n      state: 'spa'\n      fromTree: FlightRouterState\n      toTree: FlightRouterState | null\n    }\n\nexport function parseInstantNavCookieValue(raw: string): InstantNavCookieData {\n  try {\n    const parsed = JSON.parse(raw)\n    if (Array.isArray(parsed) && parsed.length >= 3) {\n      const rawState = parsed[2]\n      if (rawState === null) {\n        return { state: 'mpa' }\n      }\n      // SPA capture: rawState is { from, to }\n      if (typeof rawState === 'object' && rawState !== null) {\n        const fromTree: FlightRouterState = rawState.from ?? ['', {}]\n        const toTree: FlightRouterState | null = rawState.to ?? null\n        return { state: 'spa', fromTree, toTree }\n      }\n      return { state: 'spa', fromTree: ['', {}], toTree: null }\n    }\n  } catch {}\n  return { state: 'pending' }\n}\n","export type CardColor = 'blue' | 'purple' | 'red' | 'amber' | 'teal' | 'gray'\n\nexport type FixCardGroup =\n  | 'stream'\n  | 'block'\n  | 'cache'\n  | 'static'\n  | 'dynamic'\n  | 'client'\n  | 'defer'\n  | 'measure'\n  | 'ignore'\n  | 'render'\n  | 'upgrade'\n  | 'disable'\n\nexport type FixCardIcon =\n  | 'align-left'\n  | 'arrow-up'\n  | 'database'\n  | 'history'\n  | 'layout'\n  | 'loading'\n  | 'minus'\n  | 'minus-circle'\n  | 'pointer-click'\n  | 'server-stack'\n  | 'timer'\n  | 'zap'\n\nexport const FIX_CARD_GROUPS: Record<\n  FixCardGroup,\n  { label: string; color: CardColor; icon: FixCardIcon }\n> = {\n  stream: { label: 'Stream', color: 'blue', icon: 'align-left' },\n  block: { label: 'Block', color: 'red', icon: 'loading' },\n  cache: { label: 'Cache', color: 'purple', icon: 'database' },\n  static: { label: 'Static', color: 'gray', icon: 'zap' },\n  dynamic: { label: 'Dynamic', color: 'blue', icon: 'server-stack' },\n  client: { label: 'Client', color: 'amber', icon: 'layout' },\n  defer: { label: 'Defer', color: 'amber', icon: 'pointer-click' },\n  measure: { label: 'Measure', color: 'gray', icon: 'timer' },\n  ignore: { label: 'Ignore', color: 'red', icon: 'minus-circle' },\n  render: { label: 'Render', color: 'gray', icon: 'layout' },\n  upgrade: { label: 'Upgrade', color: 'amber', icon: 'arrow-up' },\n  disable: { label: 'Disable', color: 'gray', icon: 'minus' },\n}\n\nexport type FixCard = {\n  /** Docs anchor for this card. */\n  id: string\n  title: string\n  group: FixCardGroup\n  /** Docs URL, or null for no link. */\n  link: string | null\n  snippets: Snippet[]\n  /** Show the Copy prompt button on this card. */\n  copyable?: boolean\n}\n\nexport type SnippetPart = {\n  text: string\n  highlight?: boolean\n}\n\nexport type Snippet = {\n  text: string\n  highlight?: boolean\n  /** Inline highlights within the line; takes precedence over the line-level `highlight` flag. */\n  parts?: SnippetPart[]\n}\n\n// ── Blocking-route cards ──────────────────────────\n\nconst linkCards: FixCard[] = [\n  {\n    id: 'wrap-in-or-move-into-suspense',\n    title: 'Wrap in or move into Suspense',\n    group: 'stream',\n    link: 'https://nextjs.org/docs/messages/instant-shell-url-data#wrap-in-or-move-into-suspense',\n    snippets: [\n      { text: '<Suspense fallback={…}>', highlight: true },\n      { text: '  <Details params={params} />' },\n      { text: '</Suspense>', highlight: true },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'allow-blocking-route',\n    title: 'Allow blocking route',\n    group: 'block',\n    link: 'https://nextjs.org/docs/messages/instant-shell-url-data#allow-blocking-route',\n    snippets: [\n      { text: '// page.tsx or layout.tsx' },\n      { text: 'export const instant = false', highlight: true },\n    ],\n    copyable: true,\n  },\n]\n\nconst runtimeCards: FixCard[] = [\n  {\n    id: 'wrap-in-or-move-into-suspense',\n    title: 'Wrap in or move into Suspense',\n    group: 'stream',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-runtime#wrap-in-or-move-into-suspense',\n    snippets: [\n      { text: '<Suspense fallback={…}>', highlight: true },\n      { text: '  <DataChild />' },\n      { text: '</Suspense>', highlight: true },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'allow-blocking-route',\n    title: 'Allow blocking route',\n    group: 'block',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-runtime#allow-blocking-route',\n    snippets: [\n      { text: '// page.tsx or layout.tsx' },\n      { text: 'export const instant = false', highlight: true },\n    ],\n    copyable: true,\n  },\n]\n\nconst clientHookSuspenseCard: FixCard = {\n  id: 'wrap-in-or-move-into-suspense',\n  title: 'Wrap in or move into Suspense',\n  group: 'stream',\n  link: 'https://nextjs.org/docs/messages/blocking-prerender-client-hook#wrap-in-or-move-into-suspense',\n  snippets: [\n    { text: '<Suspense fallback={…}>', highlight: true },\n    { text: '  <SidebarNav />' },\n    { text: '</Suspense>', highlight: true },\n  ],\n  copyable: true,\n}\n\nconst clientHookBlockCard: FixCard = {\n  id: 'allow-blocking-route',\n  title: 'Allow blocking route',\n  group: 'block',\n  link: 'https://nextjs.org/docs/messages/blocking-prerender-client-hook#allow-blocking-route',\n  snippets: [\n    { text: '// page.tsx or layout.tsx' },\n    { text: 'export const instant = false', highlight: true },\n  ],\n  copyable: true,\n}\n\nconst clientHookCards: FixCard[] = [clientHookSuspenseCard, clientHookBlockCard]\n\nconst dynamicCards: FixCard[] = [\n  {\n    id: 'wrap-in-or-move-into-suspense',\n    title: 'Wrap in or move into Suspense',\n    group: 'stream',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-dynamic#wrap-in-or-move-into-suspense',\n    snippets: [\n      { text: '<Suspense fallback={…}>', highlight: true },\n      { text: '  <DataChild />' },\n      { text: '</Suspense>', highlight: true },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'cache-the-component-or-data',\n    title: 'Cache the component or data',\n    group: 'cache',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-dynamic#cache-the-component-or-data',\n    snippets: [\n      { text: 'async function Posts() {' },\n      { text: '  \"use cache\"', highlight: true },\n      { text: '  return <List items={…} />' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'allow-blocking-route',\n    title: 'Allow blocking route',\n    group: 'block',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-dynamic#allow-blocking-route',\n    snippets: [\n      { text: '// page.tsx or layout.tsx' },\n      { text: 'export const instant = false', highlight: true },\n    ],\n    copyable: true,\n  },\n]\n\nconst unrenderedSegmentCards: FixCard[] = [\n  {\n    id: 'render-the-dropped-segment',\n    title: 'Render the dropped segment',\n    group: 'render',\n    link: 'https://nextjs.org/docs/messages/instant-unrendered-segment#render-the-dropped-segment',\n    snippets: [\n      {\n        text: 'function Layout({ children }) {',\n        parts: [\n          { text: 'function Layout({ ' },\n          { text: 'children', highlight: true },\n          { text: ' }) {' },\n        ],\n      },\n      {\n        text: '  return <><Nav />{children}</>',\n        parts: [\n          { text: '  return <><Nav />{' },\n          { text: 'children', highlight: true },\n          { text: '}</>' },\n        ],\n      },\n      { text: '}' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'skip-validation-on-the-segment',\n    title: 'Skip validation on the segment',\n    group: 'ignore',\n    link: 'https://nextjs.org/docs/messages/instant-unrendered-segment#skip-validation-on-the-segment',\n    snippets: [\n      { text: '// page.tsx or layout.tsx' },\n      { text: '' },\n      { text: 'export const instant = false', highlight: true },\n    ],\n    copyable: true,\n  },\n]\n\nconst linkPrefetchPartialCards: FixCard[] = [\n  {\n    id: 'opt-into-partial-prefetching',\n    title: 'Opt into Partial Prefetching',\n    group: 'upgrade',\n    link: 'https://nextjs.org/docs/messages/instant-link-prefetch-partial#opt-into-partial-prefetching',\n    snippets: [\n      { text: '// page.tsx or layout.tsx' },\n      { text: \"export const prefetch = 'partial'\", highlight: true },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'use-the-default-prefetch',\n    title: 'Use the default prefetch',\n    group: 'disable',\n    link: 'https://nextjs.org/docs/messages/instant-link-prefetch-partial#use-the-default-prefetch',\n    snippets: [\n      { text: '<Link href=\"/dashboard\">', highlight: true },\n      { text: '  Dashboard' },\n      { text: '</Link>' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'disable-validation-on-this-route',\n    title: 'Disable validation on this route',\n    group: 'ignore',\n    link: 'https://nextjs.org/docs/messages/instant-link-prefetch-partial#disable-validation-on-this-route',\n    snippets: [\n      { text: '// page.tsx or layout.tsx' },\n      { text: 'export const instant = false', highlight: true },\n    ],\n    copyable: true,\n  },\n]\n\nconst metadataRuntimeCards: FixCard[] = [\n  {\n    id: 'use-static-metadata',\n    title: 'Use static metadata',\n    group: 'static',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-metadata-runtime#use-static-metadata',\n    snippets: [\n      { text: 'export const metadata = {', highlight: true },\n      { text: '  title: \"My Page\"' },\n      { text: '}' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'mark-the-route-as-dynamic',\n    title: 'Mark the route as dynamic',\n    group: 'dynamic',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-metadata-runtime#mark-the-route-as-dynamic',\n    snippets: [\n      { text: '// page.tsx or layout.tsx' },\n      { text: 'await connection()', highlight: true },\n    ],\n    copyable: true,\n  },\n]\n\n// URL data in `generateMetadata()` shares the same fixes as runtime data.\nconst metadataLinkCards = metadataRuntimeCards\n\nconst metadataDynamicCards: FixCard[] = [\n  {\n    id: 'cache-the-metadata',\n    title: 'Cache the metadata',\n    group: 'cache',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-metadata-dynamic#cache-the-metadata',\n    snippets: [\n      { text: 'async function generateMetadata() {' },\n      { text: '  \"use cache\"', highlight: true },\n      { text: '  return await cms.getMeta(…)' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'mark-the-route-as-dynamic',\n    title: 'Mark the route as dynamic',\n    group: 'dynamic',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-metadata-dynamic#mark-the-route-as-dynamic',\n    snippets: [\n      { text: '// page.tsx or layout.tsx' },\n      { text: 'await connection()', highlight: true },\n    ],\n    copyable: true,\n  },\n]\n\nconst viewportRuntimeCards: FixCard[] = [\n  {\n    id: 'use-static-viewport',\n    title: 'Use static viewport',\n    group: 'static',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-viewport-runtime#use-static-viewport',\n    snippets: [\n      { text: 'export const viewport = {', highlight: true },\n      { text: '  themeColor: \"#000\"' },\n      { text: '}' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'allow-blocking-route',\n    title: 'Allow blocking route',\n    group: 'block',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-viewport-runtime#allow-blocking-route',\n    snippets: [\n      { text: '// page.tsx or layout.tsx' },\n      { text: 'export const instant = false', highlight: true },\n    ],\n    copyable: true,\n  },\n]\n\n// URL data in `generateViewport()` shares the same fixes as runtime data.\nconst viewportLinkCards = viewportRuntimeCards\n\nconst viewportDynamicCards: FixCard[] = [\n  {\n    id: 'cache-the-viewport-data',\n    title: 'Cache the viewport data',\n    group: 'cache',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-viewport-dynamic#cache-the-viewport-data',\n    snippets: [\n      { text: 'async function generateViewport() {' },\n      { text: '  \"use cache\"', highlight: true },\n      { text: '  return await db.getViewport(…)' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'allow-blocking-route',\n    title: 'Allow blocking route',\n    group: 'block',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-viewport-dynamic#allow-blocking-route',\n    snippets: [\n      { text: '// page.tsx or layout.tsx' },\n      { text: 'export const instant = false', highlight: true },\n    ],\n    copyable: true,\n  },\n]\n\nconst syncMathCards: FixCard[] = [\n  {\n    id: 'render-at-request-time',\n    title: 'Generate on every request',\n    group: 'dynamic',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-random#generate-on-every-request',\n    snippets: [\n      { text: 'await connection()', highlight: true },\n      { text: 'const id = Math.random()' },\n      { text: 'return <Item id={id} />' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'cache-the-random-value',\n    title: 'Cache the random value',\n    group: 'cache',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-random#cache-the-random-value',\n    snippets: [\n      { text: 'function RandomId() {' },\n      { text: '  \"use cache\"', highlight: true },\n      { text: '  return String(Math.random())' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'render-on-the-client',\n    title: 'Render on the client',\n    group: 'client',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-random#render-on-the-client',\n    snippets: [\n      { text: '\"use client\"', highlight: true },\n      { text: '// runs in the browser' },\n      { text: 'const id = Math.random()' },\n    ],\n    copyable: true,\n  },\n]\n\nconst syncDateCards: FixCard[] = [\n  {\n    id: 'render-at-request-time',\n    title: 'Generate on every request',\n    group: 'dynamic',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-current-time#generate-on-every-request',\n    snippets: [\n      { text: 'await connection()', highlight: true },\n      { text: 'const t = Date.now()' },\n      { text: 'return <Banner time={t} />' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'cache-the-timestamp',\n    title: 'Cache the timestamp',\n    group: 'cache',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-current-time#cache-the-timestamp',\n    snippets: [\n      { text: 'function Timestamp() {' },\n      { text: '  \"use cache\"', highlight: true },\n      { text: '  return <time>{Date.now()}</time>' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'render-on-the-client',\n    title: 'Render on the client',\n    group: 'client',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-current-time#render-on-the-client',\n    snippets: [\n      { text: '\"use client\"', highlight: true },\n      { text: '// runs in the browser' },\n      { text: 'const t = Date.now()' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'measure-elapsed-time',\n    title: 'For telemetry, use a timing API',\n    group: 'measure',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-current-time#for-telemetry-use-a-timing-api',\n    snippets: [\n      { text: 'const start = performance.now()', highlight: true },\n      { text: 'doWork()' },\n      { text: 'const ms = performance.now() - start' },\n    ],\n    copyable: true,\n  },\n]\n\nconst syncCryptoCards: FixCard[] = [\n  {\n    id: 'render-at-request-time',\n    title: 'Generate on every request',\n    group: 'dynamic',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-crypto#generate-on-every-request',\n    snippets: [\n      { text: 'await connection()', highlight: true },\n      { text: 'const id = crypto.randomUUID()' },\n      { text: 'return <Token id={id} />' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'cache-the-generated-value',\n    title: 'Cache the generated value',\n    group: 'cache',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-crypto#cache-the-generated-value',\n    snippets: [\n      { text: 'function TokenId() {' },\n      { text: '  \"use cache\"', highlight: true },\n      { text: '  return crypto.randomUUID()' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'render-on-the-client',\n    title: 'Render on the client',\n    group: 'client',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-crypto#render-on-the-client',\n    snippets: [\n      { text: '\"use client\"', highlight: true },\n      { text: '// runs in the browser' },\n      { text: 'const id = crypto.randomUUID()' },\n    ],\n    copyable: true,\n  },\n]\n\nconst syncClientDateCards: FixCard[] = [\n  {\n    id: 'wrap-in-or-move-into-suspense',\n    title: 'Wrap in or move into Suspense',\n    group: 'stream',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-current-time-client#wrap-in-or-move-into-suspense',\n    snippets: [\n      { text: '<Suspense fallback={…}>', highlight: true },\n      { text: '  <DateDisplay />' },\n      { text: '</Suspense>', highlight: true },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'move-into-effect-or-event-handler',\n    title: 'Move into effect or event handler',\n    group: 'defer',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-current-time-client#move-into-effect-or-event-handler',\n    snippets: [\n      { text: '<button onClick={() => {', highlight: true },\n      { text: '  setT(Date.now())' },\n      { text: '}} />' },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'measure-elapsed-time',\n    title: 'For telemetry, use a timing API',\n    group: 'measure',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-current-time-client#for-telemetry-use-a-timing-api',\n    snippets: [\n      { text: 'const start = performance.now()', highlight: true },\n      { text: 'doWork()' },\n      { text: 'const ms = performance.now() - start' },\n    ],\n    copyable: true,\n  },\n]\n\nconst syncClientMathCards: FixCard[] = [\n  {\n    id: 'wrap-in-or-move-into-suspense',\n    title: 'Wrap in or move into Suspense',\n    group: 'stream',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-random-client#wrap-in-or-move-into-suspense',\n    snippets: [\n      { text: '<Suspense fallback={…}>', highlight: true },\n      { text: '  <RandomId />' },\n      { text: '</Suspense>', highlight: true },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'move-into-effect-or-event-handler',\n    title: 'Move into effect or event handler',\n    group: 'defer',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-random-client#move-into-effect-or-event-handler',\n    snippets: [\n      { text: '<button onClick={() => {', highlight: true },\n      { text: '  setId(Math.random())' },\n      { text: '}} />' },\n    ],\n    copyable: true,\n  },\n]\n\nconst syncClientCryptoCards: FixCard[] = [\n  {\n    id: 'wrap-in-or-move-into-suspense',\n    title: 'Wrap in or move into Suspense',\n    group: 'stream',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-crypto-client#wrap-in-or-move-into-suspense',\n    snippets: [\n      { text: '<Suspense fallback={…}>', highlight: true },\n      { text: '  <TokenId />' },\n      { text: '</Suspense>', highlight: true },\n    ],\n    copyable: true,\n  },\n  {\n    id: 'move-into-effect-or-event-handler',\n    title: 'Move into effect or event handler',\n    group: 'defer',\n    link: 'https://nextjs.org/docs/messages/blocking-prerender-crypto-client#move-into-effect-or-event-handler',\n    snippets: [\n      { text: '<button onClick={() => {', highlight: true },\n      { text: '  setId(crypto.randomUUID())' },\n      { text: '}} />' },\n    ],\n    copyable: true,\n  },\n]\n\nexport type GuidanceKind =\n  | 'blocking-route'\n  | 'client-hook'\n  | 'metadata'\n  | 'viewport'\n  | 'sync-io'\n  | 'sync-io-client'\n  | 'unrendered-segment'\n  | 'link-prefetch-partial'\n\nexport type GuidanceVariant = 'link' | 'runtime' | 'dynamic'\n\nexport const DOCS_URLS: Record<GuidanceKind, string> = {\n  'blocking-route': 'https://nextjs.org/docs/messages/blocking-route',\n  'client-hook':\n    'https://nextjs.org/docs/messages/blocking-prerender-client-hook',\n  metadata:\n    'https://nextjs.org/docs/messages/blocking-prerender-metadata-dynamic',\n  viewport:\n    'https://nextjs.org/docs/messages/blocking-prerender-viewport-dynamic',\n  'sync-io': '',\n  'sync-io-client': '',\n  'unrendered-segment':\n    'https://nextjs.org/docs/messages/instant-unrendered-segment',\n  'link-prefetch-partial':\n    'https://nextjs.org/docs/messages/instant-link-prefetch-partial',\n}\n\nexport const SYNC_IO_DOCS: Record<string, string> = {\n  'Math.random()': 'https://nextjs.org/docs/messages/blocking-prerender-random',\n  'Date.now()':\n    'https://nextjs.org/docs/messages/blocking-prerender-current-time',\n  'Date()': 'https://nextjs.org/docs/messages/blocking-prerender-current-time',\n  'new Date()':\n    'https://nextjs.org/docs/messages/blocking-prerender-current-time',\n  'crypto.randomUUID()':\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto',\n  'crypto.getRandomValues()':\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto',\n  \"require('node:crypto').randomUUID()\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto',\n  \"require('node:crypto').randomBytes(size)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto',\n  \"require('node:crypto').randomFillSync(...)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto',\n  \"require('node:crypto').randomInt(min, max)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto',\n  \"require('node:crypto').generatePrimeSync(...)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto',\n  \"require('node:crypto').generateKeyPairSync(...)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto',\n  \"require('node:crypto').generateKeySync(...)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto',\n}\n\nexport const SYNC_IO_CLIENT_DOCS: Record<string, string> = {\n  'Math.random()':\n    'https://nextjs.org/docs/messages/blocking-prerender-random-client',\n  'Date.now()':\n    'https://nextjs.org/docs/messages/blocking-prerender-current-time-client',\n  'Date()':\n    'https://nextjs.org/docs/messages/blocking-prerender-current-time-client',\n  'new Date()':\n    'https://nextjs.org/docs/messages/blocking-prerender-current-time-client',\n  'crypto.randomUUID()':\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto-client',\n  'crypto.getRandomValues()':\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto-client',\n  \"require('node:crypto').randomUUID()\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto-client',\n  \"require('node:crypto').randomBytes(size)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto-client',\n  \"require('node:crypto').randomFillSync(...)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto-client',\n  \"require('node:crypto').randomInt(min, max)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto-client',\n  \"require('node:crypto').generatePrimeSync(...)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto-client',\n  \"require('node:crypto').generateKeyPairSync(...)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto-client',\n  \"require('node:crypto').generateKeySync(...)\":\n    'https://nextjs.org/docs/messages/blocking-prerender-crypto-client',\n}\n\nexport const EXPLANATIONS: Record<GuidanceKind, string> = {\n  'blocking-route':\n    'This prevents the route from being prerendered, blocking navigation and leading to a slower user experience.',\n  'client-hook':\n    'This blocks prerendering because the value is only available at runtime.',\n  metadata:\n    \"This route's metadata is blocked, but the rest of its content can be prerendered.\",\n  viewport:\n    'This prevents the page from being prerendered, leading to a slower user experience.',\n  'sync-io': '',\n  'sync-io-client':\n    'This value would be evaluated during the prerender and fixed at build time, instead of recomputed on each visit.',\n  'unrendered-segment':\n    'This segment was dropped from rendering. Issues that would prevent instant navigation will go undetected.',\n  'link-prefetch-partial':\n    'This will lead to slower, more expensive prefetches.',\n}\n\nexport const BLOCKING_ROUTE_NAVIGATION_EXPLANATION =\n  'This prevents the navigation from being instant, leading to a slower user experience.'\n\nexport const BLOCKING_ROUTE_LINK_EXPLANATION =\n  'This may prevent the navigation from being instant, leading to a slower user experience.'\n\nconst syncCardsByCause: Record<string, FixCard[]> = {\n  'Math.random()': syncMathCards,\n  'Date.now()': syncDateCards,\n  'Date()': syncDateCards,\n  'new Date()': syncDateCards,\n  'crypto.randomUUID()': syncCryptoCards,\n  'crypto.getRandomValues()': syncCryptoCards,\n  \"require('node:crypto').randomUUID()\": syncCryptoCards,\n  \"require('node:crypto').randomBytes(size)\": syncCryptoCards,\n  \"require('node:crypto').randomFillSync(...)\": syncCryptoCards,\n  \"require('node:crypto').randomInt(min, max)\": syncCryptoCards,\n  \"require('node:crypto').generatePrimeSync(...)\": syncCryptoCards,\n  \"require('node:crypto').generateKeyPairSync(...)\": syncCryptoCards,\n  \"require('node:crypto').generateKeySync(...)\": syncCryptoCards,\n}\n\nconst syncClientCardsByCause: Record<string, FixCard[]> = {\n  'Math.random()': syncClientMathCards,\n  'Date.now()': syncClientDateCards,\n  'Date()': syncClientDateCards,\n  'new Date()': syncClientDateCards,\n  'crypto.randomUUID()': syncClientCryptoCards,\n  'crypto.getRandomValues()': syncClientCryptoCards,\n  \"require('node:crypto').randomUUID()\": syncClientCryptoCards,\n  \"require('node:crypto').randomBytes(size)\": syncClientCryptoCards,\n  \"require('node:crypto').randomFillSync(...)\": syncClientCryptoCards,\n  \"require('node:crypto').randomInt(min, max)\": syncClientCryptoCards,\n  \"require('node:crypto').generatePrimeSync(...)\": syncClientCryptoCards,\n  \"require('node:crypto').generateKeyPairSync(...)\": syncClientCryptoCards,\n  \"require('node:crypto').generateKeySync(...)\": syncClientCryptoCards,\n}\n\n// `connection()`-triggered errors can't be cached.\nfunction filterCacheForConnection(\n  cards: FixCard[],\n  variant: GuidanceVariant,\n  cause: string | undefined\n): FixCard[] {\n  if (variant !== 'dynamic' || cause !== 'connection') return cards\n  return cards.filter((card) => card.group !== 'cache')\n}\n\nexport function getCards(\n  kind: GuidanceKind,\n  variant: GuidanceVariant,\n  cause?: string\n): FixCard[] {\n  switch (kind) {\n    case 'blocking-route':\n      return variant === 'link'\n        ? linkCards\n        : variant === 'dynamic'\n          ? filterCacheForConnection(dynamicCards, variant, cause)\n          : runtimeCards\n    case 'client-hook':\n      return clientHookCards\n    case 'metadata':\n      return variant === 'link'\n        ? metadataLinkCards\n        : variant === 'runtime'\n          ? metadataRuntimeCards\n          : filterCacheForConnection(metadataDynamicCards, variant, cause)\n    case 'viewport':\n      return variant === 'link'\n        ? viewportLinkCards\n        : variant === 'runtime'\n          ? viewportRuntimeCards\n          : filterCacheForConnection(viewportDynamicCards, variant, cause)\n    case 'sync-io':\n      return (cause && syncCardsByCause[cause]) || []\n    case 'sync-io-client':\n      return (cause && syncClientCardsByCause[cause]) || []\n    case 'unrendered-segment':\n      return unrenderedSegmentCards\n    case 'link-prefetch-partial':\n      return linkPrefetchPartialCards\n    default:\n      return kind satisfies never\n  }\n}\n","const ICON_PROPS = {\n  width: 16,\n  height: 16,\n  viewBox: '0 0 24 24',\n  fill: 'none',\n  stroke: 'currentColor',\n  strokeWidth: 2,\n  strokeLinecap: 'round' as const,\n  strokeLinejoin: 'round' as const,\n}\n\nexport function FixCardAlignLeftIcon() {\n  return (\n    <svg {...ICON_PROPS}>\n      <path d=\"M3 6h18M3 12h12M3 18h18\" />\n    </svg>\n  )\n}\n\nexport function FixCardServerStackIcon() {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        fill=\"currentColor\"\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M13.5 1.5h-11v3a1 1 0 0 0 1 1h9a1 1 0 0 0 1-1zM15 0H1v4.5A2.5 2.5 0 0 0 3.5 7h9A2.5 2.5 0 0 0 15 4.5V0M2.5 13.5v-3h11v3a1 1 0 0 1-1 1h-9a1 1 0 0 1-1-1M1 9h14v4.5a2.5 2.5 0 0 1-2.5 2.5h-9A2.5 2.5 0 0 1 1 13.5V9m3.75 4.25a.75.75 0 1 0 0-1.5.75.75 0 0 0 0 1.5M8 12.5a.75.75 0 1 1-1.5 0 .75.75 0 0 1 1.5 0m2.5-9a.75.75 0 1 0 1.5 0 .75.75 0 0 0-1.5 0m-1.75.75a.75.75 0 1 1 0-1.5.75.75 0 0 1 0 1.5\"\n      />\n    </svg>\n  )\n}\n\nexport function FixCardHistoryIcon() {\n  return (\n    <svg {...ICON_PROPS}>\n      <path d=\"M3 12a9 9 0 109-9 9.75 9.75 0 00-6.74 2.74L3 8\" />\n      <path d=\"M3 3v5h5\" />\n      <path d=\"M12 7v5l4 2\" />\n    </svg>\n  )\n}\n\nexport function FixCardLoadingIcon() {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      {Array.from({ length: 12 }, (_, index) => {\n        const angle = index * 30\n        const opacity = 1 - index * 0.05\n\n        return (\n          <circle\n            key={angle}\n            cx=\"8\"\n            cy=\"2.3\"\n            r=\"0.9\"\n            fill=\"currentColor\"\n            stroke=\"none\"\n            opacity={opacity}\n            transform={`rotate(${angle} 8 8)`}\n          />\n        )\n      })}\n    </svg>\n  )\n}\n\nexport function FixCardMinusCircleIcon() {\n  return (\n    <svg {...ICON_PROPS}>\n      <circle cx=\"12\" cy=\"12\" r=\"10\" />\n      <path d=\"M7 12h10\" />\n    </svg>\n  )\n}\n\nexport function FixCardArrowUpIcon() {\n  return (\n    <svg {...ICON_PROPS}>\n      <path d=\"M12 4v16\" />\n      <path d=\"M5 11l7-7 7 7\" />\n    </svg>\n  )\n}\n\nexport function FixCardMinusIcon() {\n  return (\n    <svg {...ICON_PROPS}>\n      <path d=\"M5 12h14\" />\n    </svg>\n  )\n}\n\nexport function FixCardLayoutIcon() {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        fill=\"currentColor\"\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M0 2a1 1 0 0 1 1-1h14a1 1 0 0 1 1 1v8.5a1 1 0 0 1-1 1H8.75v3h1.75V16h-5v-1.5h1.75v-3H1a1 1 0 0 1-1-1zm1.5.5V10h13V2.5z\"\n      />\n    </svg>\n  )\n}\n\nexport function FixCardZapIcon() {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        fill=\"currentColor\"\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M6.94 2.06 8 1l1.06 1.06 4.88 4.88L15 8l-1.06 1.06-4.88 4.88L8 15l-1.06-1.06-4.88-4.88L1 8l1.06-1.06zM3.12 8 8 12.88 12.88 8 8 3.12z\"\n      />\n    </svg>\n  )\n}\n\nexport function FixCardTimerIcon() {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        fill=\"currentColor\"\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M7.25 1.25v.79a7 7 0 0 0-3.64 1.5l-.58-.57-.53-.53L1.44 3.5l.53.53.58.58a7 7 0 1 0 10.9 0l.58-.58.53-.53-1.06-1.06-.53.53-.58.58a7 7 0 0 0-3.64-1.51v-.79H10v-1.5H6v1.5h1.25M2.5 9a5.5 5.5 0 1 1 11 0 5.5 5.5 0 0 1-11 0m6.25-2.25V6h-1.5v3.75h1.5v-3\"\n      />\n    </svg>\n  )\n}\n\nexport function FixCardDatabaseIcon() {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        fill=\"currentColor\"\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M3.3.79C4.54.29 6.2 0 8 0s3.46.29 4.7.79a5 5 0 0 1 1.57.94c.41.39.73.9.73 1.52v9.5a2 2 0 0 1-.73 1.52 5 5 0 0 1-1.57.94c-1.24.5-2.9.79-4.7.79s-3.46-.29-4.7-.79a5 5 0 0 1-1.57-.94A2 2 0 0 1 1 12.75v-9.5c0-.62.32-1.13.73-1.52A5 5 0 0 1 3.3.8m-.8 4.54V8c0 .07.03.22.26.43q.33.33 1.1.64c1.02.41 2.49.68 4.14.68s3.12-.27 4.14-.68q.77-.31 1.1-.64c.23-.21.26-.36.26-.43V5.33a6 6 0 0 1-.8.38c-1.24.5-2.9.79-4.7.79s-3.46-.29-4.7-.79a6 6 0 0 1-.8-.38m11-2.08c0 .07-.03.22-.26.43q-.33.33-1.1.64C11.12 4.73 9.65 5 8 5s-3.12-.27-4.14-.68q-.77-.31-1.1-.64c-.23-.21-.26-.36-.26-.43s.03-.22.26-.43q.33-.33 1.1-.64C4.88 1.77 6.35 1.5 8 1.5s3.12.27 4.14.68q.77.31 1.1.64c.23.21.26.36.26.43m0 6.83a6 6 0 0 1-.8.38c-1.24.5-2.9.79-4.7.79s-3.46-.29-4.7-.79a6 6 0 0 1-.8-.38v2.67c0 .07.03.22.26.43q.33.33 1.1.64c1.02.41 2.49.68 4.14.68s3.12-.27 4.14-.68q.77-.31 1.1-.64c.23-.21.26-.36.26-.43z\"\n      />\n    </svg>\n  )\n}\n\nexport function FixCardPointerClickIcon() {\n  return (\n    <svg\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        fill=\"currentColor\"\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M5.5 2V0H7v2zm-4.53.03 1.5 1.5 1.06-1.06-1.5-1.5zm3.28 2.22.55 1.5 3 8.26.67 1.84.73-1.82 1.07-2.7 3.2 3.2 1.06-1.06-3.2-3.2 2.7-1.07 1.82-.73-1.84-.67-8.25-3zm7.4 4.28-1.53.61q-.7.29-.98.98l-.6 1.53-1.79-4.9zM0 7h2V5.5H0z\"\n      />\n    </svg>\n  )\n}\n","export function CopyPromptIcon(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      {...props}\n    >\n      <path\n        fill=\"currentColor\"\n        d=\"M6.75 14C7.16421 14 7.5 14.3358 7.5 14.75C7.5 15.1642 7.16421 15.5 6.75 15.5C6.33579 15.5 6 15.1642 6 14.75C6 14.3358 6.33579 14 6.75 14ZM10.5 14C10.9142 14 11.25 14.3358 11.25 14.75C11.25 15.1642 10.9142 15.5 10.5 15.5C10.0858 15.5 9.75 15.1642 9.75 14.75C9.75 14.3358 10.0858 14 10.5 14ZM14.25 14C14.6642 14 15 14.3358 15 14.75C15 15.1642 14.6642 15.5 14.25 15.5C13.8358 15.5 13.5 15.1642 13.5 14.75C13.5 14.3358 13.8358 14 14.25 14ZM6.75 10.75C7.16421 10.75 7.5 11.0858 7.5 11.5C7.49987 11.9141 7.16413 12.25 6.75 12.25C6.33587 12.25 6.00013 11.9141 6 11.5C6 11.0858 6.33579 10.75 6.75 10.75ZM14.25 10.75C14.6642 10.75 15 11.0858 15 11.5C14.9999 11.9141 14.6641 12.25 14.25 12.25C13.8359 12.25 13.5001 11.9141 13.5 11.5C13.5 11.0858 13.8358 10.75 14.25 10.75ZM8.25 0.5C9.2165 0.5 10 1.2835 10 2.25V3H8.5V2.25C8.5 2.11193 8.38807 2 8.25 2H2.75C2.61193 2 2.5 2.11193 2.5 2.25V9.75C2.5 9.88807 2.61193 10 2.75 10H4.5V11.5H2.75C1.7835 11.5 1 10.7165 1 9.75V2.25C1 1.2835 1.7835 0.5 2.75 0.5H8.25ZM6.75 7.75C7.16413 7.75 7.49987 8.0859 7.5 8.5C7.5 8.91421 7.16421 9.25 6.75 9.25C6.33579 9.25 6 8.91421 6 8.5C6.00013 8.0859 6.33587 7.75 6.75 7.75ZM14.25 7.75C14.6641 7.75 14.9999 8.0859 15 8.5C15 8.91421 14.6642 9.25 14.25 9.25C13.8358 9.25 13.5 8.91421 13.5 8.5C13.5001 8.0859 13.8359 7.75 14.25 7.75ZM6.75 4.5C7.16421 4.5 7.5 4.83579 7.5 5.25C7.5 5.66421 7.16421 6 6.75 6C6.33579 6 6 5.66421 6 5.25C6 4.83579 6.33579 4.5 6.75 4.5ZM10.5 4.5C10.9142 4.5 11.25 4.83579 11.25 5.25C11.25 5.66421 10.9142 6 10.5 6C10.0858 6 9.75 5.66421 9.75 5.25C9.75 4.83579 10.0858 4.5 10.5 4.5ZM14.25 4.5C14.6642 4.5 15 4.83579 15 5.25C15 5.66421 14.6642 6 14.25 6C13.8358 6 13.5 5.66421 13.5 5.25C13.5 4.83579 13.8358 4.5 14.25 4.5Z\"\n      />\n    </svg>\n  )\n}\n","import {\n  FixCardAlignLeftIcon,\n  FixCardArrowUpIcon,\n  FixCardDatabaseIcon,\n  FixCardHistoryIcon,\n  FixCardLayoutIcon,\n  FixCardLoadingIcon,\n  FixCardMinusIcon,\n  FixCardPointerClickIcon,\n  FixCardMinusCircleIcon,\n  FixCardServerStackIcon,\n  FixCardTimerIcon,\n  FixCardZapIcon,\n} from '../../icons/fix-card-icons'\nimport { CopyButton } from '../copy-button'\nimport { ExternalIcon } from '../../icons/external'\nimport { CopyPromptIcon } from '../../icons/copy-prompt'\nimport { css } from '../../utils/css'\nimport {\n  DOCS_URLS,\n  EXPLANATIONS,\n  FIX_CARD_GROUPS,\n  SYNC_IO_CLIENT_DOCS,\n  SYNC_IO_DOCS,\n  getCards,\n  type FixCard,\n  type FixCardGroup,\n  type FixCardIcon,\n  type GuidanceKind,\n  type GuidanceVariant,\n} from './instant-guidance-data'\n\nexport { SYNC_IO_CLIENT_DOCS, SYNC_IO_DOCS } from './instant-guidance-data'\nexport type { GuidanceKind, GuidanceVariant } from './instant-guidance-data'\n\nfunction getCardIcon(icon: FixCardIcon) {\n  switch (icon) {\n    case 'align-left':\n      return <FixCardAlignLeftIcon />\n    case 'server-stack':\n      return <FixCardServerStackIcon />\n    case 'pointer-click':\n      return <FixCardPointerClickIcon />\n    case 'history':\n      return <FixCardHistoryIcon />\n    case 'database':\n      return <FixCardDatabaseIcon />\n    case 'timer':\n      return <FixCardTimerIcon />\n    case 'minus-circle':\n      return <FixCardMinusCircleIcon />\n    case 'loading':\n      return <FixCardLoadingIcon />\n    case 'zap':\n      return <FixCardZapIcon />\n    case 'layout':\n      return <FixCardLayoutIcon />\n    case 'arrow-up':\n      return <FixCardArrowUpIcon />\n    case 'minus':\n      return <FixCardMinusIcon />\n    default:\n      icon satisfies never\n      return null\n  }\n}\n\nfunction CopyPromptButton({\n  title,\n  group,\n  link,\n  generateErrorInfo,\n}: {\n  title: string\n  group: FixCardGroup\n  link: string\n  generateErrorInfo?: () => Promise<string>\n}) {\n  const groupLabel = FIX_CARD_GROUPS[group].label\n  const hashIndex = link.indexOf('#')\n  const rulePage = hashIndex === -1 ? link : link.slice(0, hashIndex)\n  const fixHeader = [\n    `Apply the [${groupLabel}] \"${title}\" fix to the Next.js Insight raised in this project.`,\n    '',\n    'Steps:',\n    '',\n    `1. Make sure you can drive a browser before you start. The fix isn't verified until you've reloaded the route and looked at what renders. If you don't already have browser tooling set up, install the next-dev-loop skill (https://github.com/vercel/next.js/tree/canary/skills/next-dev-loop) first.`,\n    '',\n    \"2. Identify the failing code in the error block below. It may be a data-access call, a hook call, a metadata or viewport export, or a component. Keep the fix focused on that code. If you think a related refactor (a sibling component, a shared layout, a wrapping boundary) would make the result meaningfully better, name it and check with the user before doing it — don't expand the scope silently.\",\n    '',\n    `3. Read the rule docs at ${rulePage} for the full Insight explanation, then read the fix section at ${link}. Pick the pattern under \"### Patterns\" that matches the failing code, then read \"### Gotchas\" before editing — they list constraints that are easy to miss. Use the canonical imports and code shape from the page; don't improvise variations.`,\n    '',\n    `4. Apply the chosen pattern to the code identified in step 2. Don't narrate the change with new comments — the code should explain itself. Only leave a comment when the *why* isn't clear (e.g. a deliberate Block with a reason).`,\n    '',\n    `5. Verify the fix at runtime. The Insight clearing in the dev overlay confirms the build is happy, but not what actually renders. Reload the route in a browser and confirm the static shell still paints first and any new \\`<Suspense>\\` fallback resolves to its real content.`,\n    '',\n    \"6. Check the shell isn't empty. A `<Suspense>` boundary placed too high (around the whole page body, or with `fallback={null}`) can leave the build reporting a shell while the shell itself contains nothing and everything streams. If that's what you see, pull the boundary down closer to the actual dynamic read.\",\n    '',\n    \"7. If the fix touched shared code (a layout, a wrapper, a sidebar), re-check the sibling routes too — a shell-level change can fix one route and break another. A before/after capture of the affected routes is a useful sanity check: the visible UI may look the same (the fix often just changes what's in the shell vs streamed), but if anything regressed visually, you'll see it.\",\n    '',\n    'When you reply to the user, just summarize what you changed and why in plain prose. Don\\'t echo this checklist back as headers, sections, or bullet lists labeled \"Verification\" or \"Scope\" — those are your internal steps, not the user\\'s report.',\n  ].join('\\n')\n\n  return generateErrorInfo ? (\n    <CopyButton\n      getContent={async () => {\n        const info = await generateErrorInfo()\n        return info ? `${fixHeader}\\n\\n${info}` : fixHeader\n      }}\n      actionLabel=\"Copy prompt\"\n      successLabel=\"Copied\"\n      icon={<CopyPromptIcon />}\n      showLabel\n      data-nextjs-fix-card-copy-button\n    />\n  ) : (\n    <CopyButton\n      content={fixHeader}\n      actionLabel=\"Copy prompt\"\n      successLabel=\"Copied\"\n      icon={<CopyPromptIcon />}\n      showLabel\n      data-nextjs-fix-card-copy-button\n    />\n  )\n}\n\nfunction CardGrid({\n  cards,\n  generateErrorInfo,\n}: {\n  cards: FixCard[]\n  generateErrorInfo?: () => Promise<string>\n}) {\n  return (\n    <div data-nextjs-card-grid>\n      {cards.map((card) => {\n        const groupMeta = FIX_CARD_GROUPS[card.group]\n        const inner = (\n          <>\n            {card.link && !card.copyable ? (\n              <span data-nextjs-fix-card-link-icon aria-hidden=\"true\">\n                <ExternalIcon width={16} height={16} />\n              </span>\n            ) : null}\n            <div data-nextjs-fix-card-header>\n              <div data-nextjs-fix-card-icon>{getCardIcon(groupMeta.icon)}</div>\n              <div data-nextjs-fix-card-header-text>\n                <div data-nextjs-fix-card-title-row>\n                  <span data-nextjs-fix-card-title>{groupMeta.label}</span>\n                  {card.copyable && card.link ? (\n                    <span\n                      data-nextjs-fix-card-title-link-icon\n                      aria-hidden=\"true\"\n                    >\n                      <ExternalIcon width={12} height={12} />\n                    </span>\n                  ) : null}\n                </div>\n                <span data-nextjs-fix-card-description>{card.title}</span>\n              </div>\n            </div>\n            <pre data-nextjs-fix-snippet>\n              {card.snippets.map((snippet, i) => (\n                <span key={i} data-snippet-line>\n                  {snippet.parts ? (\n                    snippet.parts.map((part, j) => (\n                      <span\n                        key={j}\n                        data-snippet-highlight={part.highlight ? '' : undefined}\n                      >\n                        {part.text}\n                      </span>\n                    ))\n                  ) : snippet.highlight ? (\n                    <span data-snippet-highlight>{snippet.text}</span>\n                  ) : (\n                    snippet.text\n                  )}\n                  {'\\n'}\n                </span>\n              ))}\n            </pre>\n          </>\n        )\n\n        const sharedProps = {\n          'data-nextjs-fix-card': '',\n          'data-card-color': groupMeta.color,\n        }\n\n        const cardElement = card.link ? (\n          <a\n            {...sharedProps}\n            href={card.link}\n            target=\"_blank\"\n            rel=\"noopener noreferrer\"\n            aria-label={`Open docs for ${card.title}`}\n          >\n            {inner}\n          </a>\n        ) : (\n          <div {...sharedProps}>{inner}</div>\n        )\n\n        // Render the copy button as a sibling of the card so the <button>\n        // isn't nested inside the card's <a>, which would be invalid HTML\n        // and break keyboard / focus behavior.\n        return card.copyable && card.link ? (\n          <div data-nextjs-fix-card-wrapper key={card.id}>\n            {cardElement}\n            <CopyPromptButton\n              title={card.title}\n              group={card.group}\n              link={card.link}\n              generateErrorInfo={generateErrorInfo}\n            />\n          </div>\n        ) : (\n          <div data-nextjs-fix-card-wrapper key={card.id}>\n            {cardElement}\n          </div>\n        )\n      })}\n    </div>\n  )\n}\n\nexport function InstantGuidance({\n  variant,\n  kind = 'blocking-route',\n  explanation,\n  cause,\n  showExplanation = true,\n  generateErrorInfo,\n}: {\n  variant: GuidanceVariant\n  kind?: GuidanceKind\n  explanation?: string\n  cause?: string\n  showExplanation?: boolean\n  generateErrorInfo?: () => Promise<string>\n}) {\n  const cards = getCards(kind, variant, cause)\n  let docsUrl: string\n  if (kind === 'sync-io' && cause) {\n    docsUrl = SYNC_IO_DOCS[cause] || DOCS_URLS[kind]\n  } else if (kind === 'sync-io-client' && cause) {\n    docsUrl = SYNC_IO_CLIENT_DOCS[cause] || DOCS_URLS[kind]\n  } else if (kind === 'blocking-route') {\n    docsUrl =\n      // TODO(app-shells): dedicated docs for link data errors (reuses runtime for now)\n      variant === 'link'\n        ? 'https://nextjs.org/docs/messages/blocking-prerender-runtime'\n        : variant === 'runtime'\n          ? 'https://nextjs.org/docs/messages/blocking-prerender-runtime'\n          : 'https://nextjs.org/docs/messages/blocking-prerender-dynamic'\n  } else if (kind === 'metadata') {\n    docsUrl =\n      // TODO(app-shells): dedicated docs for link data errors (reuses runtime for now)\n      variant === 'link'\n        ? 'https://nextjs.org/docs/messages/blocking-prerender-metadata-runtime'\n        : variant === 'runtime'\n          ? 'https://nextjs.org/docs/messages/blocking-prerender-metadata-runtime'\n          : 'https://nextjs.org/docs/messages/blocking-prerender-metadata-dynamic'\n  } else if (kind === 'viewport') {\n    docsUrl =\n      // TODO(app-shells): dedicated docs for link data errors (reuses runtime for now)\n      variant === 'link'\n        ? 'https://nextjs.org/docs/messages/blocking-prerender-viewport-runtime'\n        : variant === 'runtime'\n          ? 'https://nextjs.org/docs/messages/blocking-prerender-viewport-runtime'\n          : 'https://nextjs.org/docs/messages/blocking-prerender-viewport-dynamic'\n  } else {\n    docsUrl = DOCS_URLS[kind]\n  }\n  const defaultExplanation = explanation || EXPLANATIONS[kind]\n\n  return (\n    <div data-nextjs-instant-guidance>\n      {showExplanation && (defaultExplanation || docsUrl) ? (\n        <p data-nextjs-instant-explanation>\n          {defaultExplanation ? <>{defaultExplanation} </> : null}\n          {docsUrl ? (\n            <a href={docsUrl} target=\"_blank\" rel=\"noopener noreferrer\">\n              Learn more\n            </a>\n          ) : null}\n        </p>\n      ) : null}\n\n      <div\n        data-nextjs-instant-fix-heading\n        className=\"nextjs__container_errors_desc nextjs__container_errors_desc_instant\"\n      >\n        Ways to fix this:\n      </div>\n\n      <CardGrid cards={cards} generateErrorInfo={generateErrorInfo} />\n    </div>\n  )\n}\n\nexport function InstantHeaderExplanation({\n  kind,\n  variant,\n  explanation,\n  docsUrl,\n}: {\n  kind?: GuidanceKind\n  variant?: GuidanceVariant\n  explanation?: string\n  docsUrl?: string\n}) {\n  const resolvedExplanation = explanation || (kind ? EXPLANATIONS[kind] : '')\n  let resolvedDocsUrl = docsUrl\n  if (!resolvedDocsUrl && kind === 'blocking-route') {\n    resolvedDocsUrl =\n      // TODO(app-shells): dedicated docs for link data errors (reuses runtime for now)\n      variant === 'link'\n        ? 'https://nextjs.org/docs/messages/blocking-prerender-runtime'\n        : variant === 'runtime'\n          ? 'https://nextjs.org/docs/messages/blocking-prerender-runtime'\n          : 'https://nextjs.org/docs/messages/blocking-prerender-dynamic'\n  } else if (!resolvedDocsUrl && kind === 'metadata') {\n    resolvedDocsUrl =\n      // TODO(app-shells): dedicated docs for link data errors (reuses runtime for now)\n      variant === 'link'\n        ? 'https://nextjs.org/docs/messages/blocking-prerender-metadata-runtime'\n        : variant === 'runtime'\n          ? 'https://nextjs.org/docs/messages/blocking-prerender-metadata-runtime'\n          : 'https://nextjs.org/docs/messages/blocking-prerender-metadata-dynamic'\n  } else if (!resolvedDocsUrl && kind === 'viewport') {\n    resolvedDocsUrl =\n      // TODO(app-shells): dedicated docs for link data errors (reuses runtime for now)\n      variant === 'link'\n        ? 'https://nextjs.org/docs/messages/blocking-prerender-viewport-runtime'\n        : variant === 'runtime'\n          ? 'https://nextjs.org/docs/messages/blocking-prerender-viewport-runtime'\n          : 'https://nextjs.org/docs/messages/blocking-prerender-viewport-dynamic'\n  } else if (!resolvedDocsUrl && kind) {\n    resolvedDocsUrl = DOCS_URLS[kind]\n  }\n\n  return (\n    <p data-nextjs-instant-explanation>\n      {resolvedExplanation}{' '}\n      {resolvedDocsUrl ? (\n        <a href={resolvedDocsUrl} target=\"_blank\" rel=\"noopener noreferrer\">\n          Learn more\n        </a>\n      ) : null}\n    </p>\n  )\n}\n\nexport const INSTANT_GUIDANCE_STYLES = css`\n  [data-nextjs-instant-guidance] {\n    margin: 0;\n    padding: 0;\n  }\n\n  [data-nextjs-instant-explanation] {\n    font-size: var(--size-14);\n    line-height: var(--size-20);\n    color: var(--color-gray-900);\n    margin: 0;\n  }\n\n  [data-nextjs-instant-explanation] a {\n    color: var(--color-blue-900);\n    text-decoration: none;\n  }\n\n  [data-nextjs-instant-explanation] a:hover {\n    text-decoration: underline;\n  }\n\n  [data-nextjs-instant-fix-heading] {\n    padding: 20px 0;\n  }\n\n  [data-nextjs-card-grid] {\n    --copy-prompt-offset: 10px;\n    display: grid;\n    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));\n    gap: calc(12px + var(--copy-prompt-offset)) 12px;\n  }\n\n  [data-nextjs-fix-card] {\n    border: 1px solid var(--color-gray-200);\n    border-bottom: none;\n    border-radius: var(--rounded-xl);\n    color: inherit;\n    display: flex;\n    flex-direction: column;\n    min-width: 0;\n    position: relative;\n    text-decoration: none;\n  }\n\n  a[data-nextjs-fix-card],\n  a[data-nextjs-fix-card]:hover,\n  a[data-nextjs-fix-card]:visited {\n    color: inherit;\n    text-decoration: none;\n  }\n\n  [data-nextjs-fix-card]:hover {\n    border-color: var(--color-gray-500);\n    background: var(--color-background-200);\n  }\n\n  [data-nextjs-fix-card]:hover [data-nextjs-fix-card-link-icon] {\n    color: var(--color-gray-1000);\n  }\n\n  [data-nextjs-fix-card]:hover [data-nextjs-fix-snippet] {\n    border-color: var(--color-gray-500);\n    background: var(--color-gray-100);\n  }\n\n  a[data-nextjs-fix-card]:focus-visible {\n    outline: var(--focus-ring);\n    outline-offset: 2px;\n  }\n\n  [data-nextjs-fix-card-header] {\n    display: flex;\n    align-items: center;\n    gap: 12px;\n    margin: 0;\n    padding: 14px;\n  }\n\n  [data-nextjs-fix-card-icon] {\n    width: var(--size-28);\n    height: var(--size-28);\n    border-radius: var(--rounded-full);\n    flex-shrink: 0;\n    display: flex;\n    align-items: center;\n    justify-content: center;\n    opacity: 0.85;\n  }\n\n  [data-nextjs-fix-card-icon] svg {\n    width: var(--size-14);\n    height: var(--size-14);\n  }\n\n  [data-nextjs-fix-card-header-text] {\n    display: flex;\n    flex: 1;\n    flex-direction: column;\n    gap: 4px;\n    min-width: 0;\n  }\n\n  [data-nextjs-fix-card-title-row] {\n    display: flex;\n    align-items: center;\n    gap: 4px;\n    color: var(--color-gray-1000);\n  }\n\n  [data-nextjs-fix-card-link-icon] {\n    align-items: center;\n    color: var(--color-gray-800);\n    display: flex;\n    opacity: 1;\n    position: absolute;\n    right: 14px;\n    top: 14px;\n    z-index: 1;\n  }\n\n  [data-nextjs-fix-card-title] {\n    display: block;\n    margin: 0;\n    font-size: var(--size-13);\n    font-weight: 500;\n    line-height: var(--size-16);\n    text-align: left;\n  }\n\n  [data-nextjs-fix-card-description] {\n    display: block;\n    margin: 0;\n    font-size: var(--size-13);\n    line-height: var(--size-16);\n    color: var(--color-gray-900);\n    text-align: left;\n  }\n\n  [data-nextjs-fix-snippet] {\n    flex: 1;\n    font-family: var(--font-stack-monospace);\n    font-size: var(--size-12);\n    line-height: 1.5;\n    margin: 0;\n    margin-left: -1px;\n    margin-bottom: -1px;\n    padding: 14px 16px;\n    width: calc(100% + 2px);\n    white-space: pre;\n    overflow: hidden;\n    background: var(--color-background-200);\n    border: 1px solid var(--color-gray-200);\n    border-radius: var(--rounded-xl);\n    display: flex;\n    flex-direction: column;\n    justify-content: center;\n    text-align: left;\n  }\n\n  [data-snippet-line] {\n    display: block;\n    color: var(--color-gray-800);\n  }\n\n  [data-nextjs-fix-snippet] [data-snippet-highlight] {\n    color: var(--color-gray-1000);\n    font-weight: 500;\n  }\n\n  [data-card-color='blue'] [data-nextjs-fix-snippet] [data-snippet-highlight] {\n    color: var(--color-blue-800);\n  }\n\n  [data-card-color='blue'] [data-nextjs-fix-card-icon] {\n    background: var(--color-blue-100);\n    color: var(--color-blue-800);\n  }\n\n  [data-card-color='purple']\n    [data-nextjs-fix-snippet]\n    [data-snippet-highlight] {\n    color: var(--color-instant-text-purple);\n  }\n\n  [data-card-color='purple'] [data-nextjs-fix-card-icon] {\n    background: var(--color-purple-100);\n    color: var(--color-purple-800);\n  }\n\n  [data-card-color='red'] [data-nextjs-fix-snippet] [data-snippet-highlight] {\n    color: var(--color-red-800);\n  }\n\n  [data-card-color='red'] [data-nextjs-fix-card-icon] {\n    background: var(--color-red-100);\n    color: var(--color-red-800);\n  }\n\n  [data-card-color='gray'] [data-nextjs-fix-snippet] [data-snippet-highlight] {\n    color: var(--color-gray-1000);\n  }\n\n  [data-card-color='gray'] [data-nextjs-fix-card-icon] {\n    background: var(--color-gray-100);\n    color: var(--color-gray-800);\n  }\n\n  [data-card-color='amber'] [data-nextjs-fix-snippet] [data-snippet-highlight] {\n    color: var(--color-instant-text-amber);\n  }\n\n  [data-card-color='amber'] [data-nextjs-fix-card-icon] {\n    background: var(--color-amber-100);\n    color: var(--color-amber-900);\n  }\n\n  [data-nextjs-fix-card-title-link-icon] {\n    align-items: center;\n    color: inherit;\n    display: inline-flex;\n    flex-shrink: 0;\n  }\n\n  [data-nextjs-fix-card]:hover [data-nextjs-fix-card-title-link-icon] {\n    color: inherit;\n  }\n\n  [data-nextjs-fix-card-wrapper] {\n    display: flex;\n    position: relative;\n  }\n\n  [data-nextjs-fix-card-wrapper] > [data-nextjs-fix-card] {\n    flex: 1;\n  }\n\n  [data-nextjs-fix-card-copy-button] {\n    align-items: center;\n    background: var(--color-background-100);\n    border: 1px solid var(--color-gray-alpha-300);\n    border-radius: 9999px;\n    color: var(--color-gray-900);\n    cursor: pointer;\n    display: inline-flex;\n    font-family: var(--font-stack-sans);\n    font-size: var(--size-11);\n    font-weight: 500;\n    gap: 6px;\n    height: auto;\n    line-height: 1;\n    padding: 5px 10px;\n    position: absolute;\n    right: 10px;\n    top: calc(-1 * var(--copy-prompt-offset));\n    transition:\n      background 120ms ease,\n      border-color 120ms ease,\n      color 120ms ease;\n    z-index: 2;\n  }\n\n  [data-nextjs-fix-card-copy-button] svg {\n    width: var(--size-12);\n    height: var(--size-12);\n    flex-shrink: 0;\n  }\n\n  [data-nextjs-fix-card-copy-button] span {\n    line-height: 1;\n  }\n\n  [data-nextjs-fix-card-copy-button]:hover {\n    background: var(--color-background-200);\n    border-color: var(--color-gray-alpha-500);\n    color: var(--color-gray-1000);\n  }\n\n  [data-nextjs-fix-card-copy-button]:focus-visible {\n    outline: var(--focus-ring);\n    outline-offset: 2px;\n  }\n`\n","import { useCallback } from 'react'\nimport { FileIcon } from '../../icons/file'\nimport { CodeFrameShell } from '../code-frame/code-frame-shell'\nimport { css } from '../../utils/css'\n\ntype UnrenderedSegmentInfoProps = {\n  route: string\n  files: string[]\n}\n\ntype TreeNode = {\n  label: string\n  depth: number\n  isLastSibling: boolean\n  pipeMask: boolean[]\n  isMissing: boolean\n}\n\nexport function UnrenderedSegmentInfo({\n  route,\n  files,\n}: UnrenderedSegmentInfoProps) {\n  const nodes = buildTree(route, files)\n  const firstMissingFile = files[0] ?? null\n  const open = useCallback(() => {\n    if (!firstMissingFile) return\n    const relative = firstMissingFile.replace(/^.*?app\\//, '')\n    const params = new URLSearchParams()\n    params.append('file', relative)\n    params.append('isAppRelativePath', '1')\n    self\n      .fetch(\n        `${\n          process.env.__NEXT_ROUTER_BASEPATH || ''\n        }/__nextjs_launch-editor?${params.toString()}`\n      )\n      .then(\n        () => {},\n        (cause) => {\n          console.error(\n            `Failed to open file \"${firstMissingFile}\" in your editor. Cause:`,\n            cause\n          )\n        }\n      )\n  }, [firstMissingFile])\n\n  const fileExtension = firstMissingFile?.split('.').pop() ?? undefined\n  return (\n    <CodeFrameShell\n      header={\n        <>\n          <span className=\"code-frame-icon\">\n            <FileIcon lang={fileExtension} />\n          </span>\n          <span data-text>{route}</span>\n        </>\n      }\n      onOpen={firstMissingFile ? open : undefined}\n      openLabel={\n        firstMissingFile ? `Open ${firstMissingFile} in editor` : undefined\n      }\n    >\n      <div data-nextjs-unrendered-segment-tree>\n        <div data-nextjs-codeframe-line=\"\">\n          <span data-nextjs-unrendered-segment-tree-prefix>│</span>\n        </div>\n        {nodes.map((node, i) => (\n          <TreeRow key={i} node={node} />\n        ))}\n        <div data-nextjs-codeframe-line=\"\">\n          <span data-nextjs-unrendered-segment-tree-prefix>│</span>\n        </div>\n      </div>\n    </CodeFrameShell>\n  )\n}\n\nfunction TreeRow({ node }: { node: TreeNode }) {\n  const lineProps: Record<string, string | boolean> = {\n    'data-nextjs-codeframe-line': '',\n  }\n  if (node.isMissing) {\n    lineProps['data-nextjs-codeframe-line--errored'] = true\n  }\n\n  let prefix = '│ '\n  for (let i = 0; i < node.depth; i++) {\n    prefix += node.pipeMask[i] ? '   ' : '│  '\n  }\n  prefix += node.isLastSibling ? '└─ ' : '├─ '\n\n  return (\n    <div {...lineProps}>\n      <span data-nextjs-unrendered-segment-tree-prefix>{prefix}</span>\n      <span>{node.label}</span>\n      {node.isMissing && (\n        <span data-nextjs-unrendered-segment-tree-pointer>\n          {' '}\n          ← dropped from rendering\n        </span>\n      )}\n    </div>\n  )\n}\n\nfunction buildTree(route: string, files: string[]): TreeNode[] {\n  type Raw = {\n    key: string\n    parts: string[]\n    isLeaf: boolean\n  }\n\n  const routeFirstSegment = route.split('/').filter(Boolean)[0]\n\n  const allKeys = new Set<string>()\n  const leafKeys = new Set<string>()\n\n  for (const file of files) {\n    let parts = file.split('/').filter(Boolean)\n    if (parts.length === 0) continue\n    if (routeFirstSegment) {\n      const anchor = parts.indexOf(routeFirstSegment)\n      if (anchor >= 0) parts = parts.slice(anchor)\n    }\n    for (let i = 1; i < parts.length; i++) {\n      allKeys.add(parts.slice(0, i).join('/'))\n    }\n    const leafKey = parts.join('/')\n    allKeys.add(leafKey)\n    leafKeys.add(leafKey)\n  }\n\n  const sortedKeys = Array.from(allKeys).sort()\n\n  const raw: Raw[] = sortedKeys.map((key) => {\n    const parts = key.split('/')\n    const isLeaf = leafKeys.has(key)\n    return { key, parts, isLeaf }\n  })\n\n  const isLastSiblingAt = (idx: number, depth: number) =>\n    !raw.some(\n      (other, otherIdx) =>\n        otherIdx > idx &&\n        other.parts.length > depth &&\n        other.parts.slice(0, depth).join('/') ===\n          raw[idx].parts.slice(0, depth).join('/')\n    )\n\n  return raw.map((row, idx) => {\n    const depth = row.parts.length - 1\n    const isLastSibling = isLastSiblingAt(idx, depth)\n    const pipeMask: boolean[] = []\n    for (let d = 0; d < depth; d++) {\n      pipeMask.push(isLastSiblingAt(idx, d))\n    }\n    const label =\n      depth === 0 || !row.isLeaf ? `${row.parts[depth]}/` : row.parts[depth]\n    return {\n      label,\n      depth,\n      isLastSibling,\n      pipeMask,\n      isMissing: row.isLeaf,\n    }\n  })\n}\n\nexport const UNRENDERED_SEGMENT_INFO_STYLES = css`\n  [data-nextjs-unrendered-segment-tree-prefix] {\n    color: var(--color-gray-alpha-700) !important;\n  }\n\n  [data-nextjs-unrendered-segment-tree]\n    [data-nextjs-codeframe-line--errored='true']\n    [data-nextjs-unrendered-segment-tree-prefix] {\n    color: var(--color-gray-alpha-1000) !important;\n  }\n\n  [data-nextjs-unrendered-segment-tree-pointer] {\n    color: var(--color-red-900) !important;\n    margin-left: 8px;\n    white-space: pre;\n  }\n`\n","type OverlayBackdropProps = {\n  fixed?: boolean\n} & React.HTMLAttributes<HTMLDivElement>\n\nexport function OverlayBackdrop({ fixed, ...props }: OverlayBackdropProps) {\n  return (\n    <div\n      data-nextjs-dialog-backdrop\n      data-nextjs-dialog-backdrop-fixed={fixed ? true : undefined}\n      {...props}\n    />\n  )\n}\n","let previousBodyPaddingRight: string | undefined\nlet previousBodyOverflowSetting: string | undefined\n\nlet activeLocks = 0\n\nexport function lock() {\n  setTimeout(() => {\n    if (activeLocks++ > 0) {\n      return\n    }\n\n    const scrollBarGap =\n      window.innerWidth - document.documentElement.clientWidth\n\n    if (scrollBarGap > 0) {\n      previousBodyPaddingRight = document.body.style.paddingRight\n      document.body.style.paddingRight = `${scrollBarGap}px`\n    }\n\n    previousBodyOverflowSetting = document.body.style.overflow\n    document.body.style.overflow = 'hidden'\n  })\n}\n\nexport function unlock() {\n  setTimeout(() => {\n    if (activeLocks === 0 || --activeLocks !== 0) {\n      return\n    }\n\n    if (previousBodyPaddingRight !== undefined) {\n      document.body.style.paddingRight = previousBodyPaddingRight\n      previousBodyPaddingRight = undefined\n    }\n\n    if (previousBodyOverflowSetting !== undefined) {\n      document.body.style.overflow = previousBodyOverflowSetting\n      previousBodyOverflowSetting = undefined\n    }\n  })\n}\n","import * as React from 'react'\nimport { lock, unlock } from './body-locker'\n\nexport type OverlayProps = React.HTMLAttributes<HTMLDivElement> & {\n  fixed?: boolean\n  ref?: React.Ref<HTMLDivElement>\n}\n\nconst Overlay: React.FC<OverlayProps> = function Overlay({\n  className,\n  children,\n  ...props\n}) {\n  React.useEffect(() => {\n    lock()\n    return () => {\n      unlock()\n    }\n  }, [])\n\n  return (\n    <div data-nextjs-dialog-overlay className={className} {...props}>\n      {children}\n    </div>\n  )\n}\n\nexport { Overlay }\n","export function EclipseIcon(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg\n      width=\"14\"\n      height=\"14\"\n      viewBox=\"0 0 14 14\"\n      fill=\"none\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n      {...props}\n    >\n      <circle cx=\"7\" cy=\"7\" r=\"5.5\" strokeWidth=\"3\" />\n    </svg>\n  )\n}\n","import type { VersionInfo } from '../../../../server/dev/parse-version-info'\nimport { getStaleness } from '../../../shared/version-staleness'\nimport { cx } from '../../utils/cx'\nimport { EclipseIcon } from '../../icons/eclipse'\n\nexport function VersionStalenessInfo({\n  versionInfo,\n  bundlerName,\n}: {\n  versionInfo: VersionInfo\n  // Passed from parent for easier handling in Storybook.\n  bundlerName: 'Webpack' | 'Turbopack' | 'Rspack'\n}) {\n  const { staleness } = versionInfo\n  let { text, indicatorClass, title } = getStaleness(versionInfo)\n\n  const isTurbopack = bundlerName === 'Turbopack'\n  const shouldBeLink = staleness.startsWith('stale')\n  if (shouldBeLink) {\n    return (\n      <a\n        className=\"nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click\"\n        target=\"_blank\"\n        rel=\"noopener noreferrer\"\n        href=\"https://nextjs.org/docs/messages/version-staleness\"\n      >\n        <EclipseIcon\n          className={cx('version-staleness-indicator', indicatorClass)}\n        />\n        <span data-nextjs-version-checker title={title}>\n          {text}\n        </span>\n        <span className={cx(isTurbopack && 'turbopack-text')}>\n          {bundlerName}\n        </span>\n      </a>\n    )\n  }\n\n  return (\n    <span className=\"nextjs-container-build-error-version-status dialog-exclude-closing-from-outside-click\">\n      <EclipseIcon\n        className={cx('version-staleness-indicator', indicatorClass)}\n      />\n      <span data-nextjs-version-checker title={title}>\n        {text}\n      </span>\n      <span className={cx(isTurbopack && 'turbopack-text')}>{bundlerName}</span>\n    </span>\n  )\n}\n\nexport const styles = `\n  .nextjs-container-build-error-version-status {\n    display: flex;\n    justify-content: center;\n    align-items: center;\n    gap: 4px;\n    white-space: nowrap;\n    flex-shrink: 0;\n\n    height: var(--size-24);\n    padding: 6px 8px 6px 6px;\n    background: var(--color-background-100);\n    border-radius: var(--rounded-full);\n\n    color: var(--color-gray-900);\n    font-size: var(--size-12);\n    font-weight: 500;\n    line-height: var(--size-16);\n  }\n\n  a.nextjs-container-build-error-version-status {\n    text-decoration: none;\n    color: var(--color-gray-900);\n\n    &:hover {\n      background: var(--color-gray-100);\n    }\n\n    &:focus {\n      outline: var(--focus-ring);\n    }\n  }\n\n  .version-staleness-indicator.fresh {\n    fill: var(--color-green-800);\n    stroke: var(--color-green-300);\n  }\n  .version-staleness-indicator.stale {\n    fill: var(--color-amber-800);\n    stroke: var(--color-amber-300);\n  }\n  .version-staleness-indicator.outdated {\n    fill: var(--color-red-800);\n    stroke: var(--color-red-300);\n  }\n  .version-staleness-indicator.unknown {\n    fill: var(--color-gray-800);\n    stroke: var(--color-gray-300);\n  }\n\n  .nextjs-container-build-error-version-status > .turbopack-text {\n    background: linear-gradient(\n      to right,\n      var(--color-turbopack-text-red) 0%,\n      var(--color-turbopack-text-blue) 100%\n    );\n    background-clip: text;\n    -webkit-background-clip: text;\n    -webkit-text-fill-color: transparent;\n  }\n`\n","import type { VersionInfo } from '../../server/dev/parse-version-info'\n\nexport function getStaleness({ installed, staleness, expected }: VersionInfo) {\n  let text = ''\n  let title = ''\n  let indicatorClass = ''\n  const versionLabel = `Next.js ${installed}`\n  switch (staleness) {\n    case 'newer-than-npm':\n    case 'fresh':\n      text = versionLabel\n      title = `Latest available version is detected (${installed}).`\n      indicatorClass = 'fresh'\n      break\n    case 'stale-patch':\n    case 'stale-minor':\n      text = `${versionLabel} (stale)`\n      title = `There is a newer version (${expected}) available, upgrade recommended! `\n      indicatorClass = 'stale'\n      break\n    case 'stale-major': {\n      text = `${versionLabel} (outdated)`\n      title = `An outdated version detected (latest is ${expected}), upgrade is highly recommended!`\n      indicatorClass = 'outdated'\n      break\n    }\n    case 'stale-prerelease': {\n      text = `${versionLabel} (stale)`\n      title = `There is a newer canary version (${expected}) available, please upgrade! `\n      indicatorClass = 'stale'\n      break\n    }\n    case 'unknown':\n      text = `${versionLabel} (unknown)`\n      title = 'No Next.js version data was found.'\n      indicatorClass = 'unknown'\n      break\n    default:\n      break\n  }\n  return { text, indicatorClass, title }\n}\n","import { formatCodeFrame } from '../components/code-frame/parse-code-frame'\nimport stripAnsi from 'next/dist/compiled/strip-ansi'\nimport type { ReadyRuntimeError } from './get-error-by-type'\n\nexport async function generateErrorInfo({\n  activeError,\n  errorType,\n  versionInfo,\n  bundler,\n}: {\n  activeError: ReadyRuntimeError | null\n  errorType: string | null\n  versionInfo: string\n  bundler: string\n}): Promise<string> {\n  if (!activeError) return ''\n\n  const parts: string[] = []\n\n  if (errorType) {\n    parts.push(`## Error Type\\n${errorType}`)\n  }\n\n  const error = activeError.error\n  let message = error.message\n  if ('environmentName' in error && error.environmentName) {\n    const envPrefix = `[ ${error.environmentName} ] `\n    if (message.startsWith(envPrefix)) {\n      message = message.slice(envPrefix.length)\n    }\n  }\n  if (message) {\n    parts.push(`## Error Message\\n${message}`)\n  }\n\n  const frames = await Promise.race([\n    activeError.frames(),\n    new Promise<null>((resolve) => setTimeout(() => resolve(null), 2000)),\n  ])\n\n  if (frames === null) {\n    parts.push(\n      'Unable to retrieve stack frames for this error. Falling back to unsourcemapped stack\\n\\n' +\n        error.stack\n    )\n  } else {\n    if (frames.length > 0) {\n      const visibleFrames = frames.filter((frame) => !frame.ignored)\n      if (visibleFrames.length > 0) {\n        const stackLines = visibleFrames\n          .map((frame) => {\n            if (frame.originalStackFrame) {\n              const { methodName, file, line1, column1 } =\n                frame.originalStackFrame\n              return `    at ${methodName} (${file}:${line1}:${column1})`\n            } else if (frame.sourceStackFrame) {\n              const { methodName, file, line1, column1 } =\n                frame.sourceStackFrame\n              return `    at ${methodName} (${file}:${line1}:${column1})`\n            }\n            return ''\n          })\n          .filter(Boolean)\n\n        if (stackLines.length > 0) {\n          parts.push(`\\n${stackLines.join('\\n')}`)\n        }\n      }\n    }\n\n    const firstFirstPartyFrameIndex = frames.findIndex(\n      (entry) =>\n        !entry.ignored &&\n        Boolean(entry.originalCodeFrame) &&\n        Boolean(entry.originalStackFrame)\n    )\n\n    const firstFrame = frames[firstFirstPartyFrameIndex] ?? null\n    if (firstFrame?.originalCodeFrame) {\n      const decodedCodeFrame = stripAnsi(\n        formatCodeFrame(firstFrame.originalCodeFrame)\n      )\n      parts.push(`## Code Frame\\n${decodedCodeFrame}`)\n    }\n  }\n\n  return `${parts.join('\\n\\n')}\n\nNext.js version: ${versionInfo} (${bundler})\\n`\n}\n","import React, {\n  startTransition,\n  Suspense,\n  useCallback,\n  useMemo,\n  useRef,\n  useState,\n} from 'react'\nimport type { DebugInfo } from '../../shared/types'\nimport { Overlay, OverlayBackdrop } from '../components/overlay'\nimport { RuntimeError } from './runtime-error'\nimport { getErrorSource } from '../../../shared/lib/error-source'\nimport { HotlinkedText } from '../components/hot-linked-text'\nimport { PseudoHtmlDiff } from './runtime-error/component-stack-pseudo-html'\nimport {\n  ErrorOverlayLayout,\n  type ErrorOverlayLayoutProps,\n} from '../components/errors/error-overlay-layout/error-overlay-layout'\nimport {\n  getHydrationErrorStackInfo,\n  isHydrationError,\n  NEXTJS_HYDRATION_ERROR_LINK,\n} from '../../shared/react-19-hydration-error'\nimport type { ReadyRuntimeError } from '../utils/get-error-by-type'\nimport type { ErrorBaseProps } from '../components/errors/error-overlay/error-overlay'\nimport type { HydrationErrorState } from '../../shared/hydration-error'\nimport { useActiveRuntimeError } from '../hooks/use-active-runtime-error'\nimport { generateErrorInfo as generateErrorInfoHelper } from '../utils/generate-error-info'\nimport {\n  InstantHeaderExplanation,\n  InstantGuidance,\n  SYNC_IO_CLIENT_DOCS,\n  SYNC_IO_DOCS,\n  type GuidanceKind,\n  type GuidanceVariant,\n} from '../components/instant/instant-guidance'\nimport {\n  BLOCKING_ROUTE_NAVIGATION_EXPLANATION,\n  BLOCKING_ROUTE_LINK_EXPLANATION,\n} from '../components/instant/instant-guidance-data'\nimport { UnrenderedSegmentInfo } from '../components/instant/unrendered-segment-info'\nimport { CodeFrame } from '../components/code-frame/code-frame'\nimport { ErrorOverlayCallStack } from '../components/errors/error-overlay-call-stack/error-overlay-call-stack'\nimport { ErrorCause } from './runtime-error/error-cause'\nimport { useFrames } from '../utils/get-error-by-type'\nimport stripAnsi from 'next/dist/compiled/strip-ansi'\nimport type { ErrorOverlayPaginationControls } from '../components/errors/error-overlay-pagination/error-overlay-pagination'\n\ninterface ErrorsProps extends ErrorBaseProps {\n  getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n  runtimeErrors: ReadyRuntimeError[]\n  debugInfo: DebugInfo\n  onClose: () => void\n}\n\nfunction matchLinkType(text: string): string | null {\n  if (text.startsWith('https://nextjs.org')) {\n    return 'nextjs-link'\n  }\n  if (text.startsWith('https://') || text.startsWith('http://')) {\n    return 'external-link'\n  }\n  return null\n}\n\nfunction HydrationErrorDescription({ message }: { message: string }) {\n  return <HotlinkedText text={message} matcher={matchLinkType} />\n}\n\nfunction GenericErrorDescription({ error }: { error: Error }) {\n  const environmentName =\n    'environmentName' in error ? error.environmentName : ''\n  const envPrefix = environmentName ? `[ ${environmentName} ] ` : ''\n\n  // The environment name will be displayed as a label, so remove it\n  // from the message (e.g. \"[ Server ] hello world\" -> \"hello world\").\n  let message = error.message\n  if (message.startsWith(envPrefix)) {\n    message = message.slice(envPrefix.length)\n  }\n\n  message = message.trim()\n  if (!message) {\n    return null\n  }\n\n  return (\n    <>\n      <HotlinkedText text={message} matcher={matchLinkType} />\n    </>\n  )\n}\n\nexport function getErrorTypeLabel(\n  error: Error,\n  type: ReadyRuntimeError['type'],\n  errorDetails: ErrorDetails\n): ErrorOverlayLayoutProps['errorType'] {\n  if (errorDetails.type === 'blocking-route') {\n    return errorDetails.inNavigation ? `Instant` : `Blocking Route`\n  }\n  if (errorDetails.type === 'client-hook') {\n    return `Blocking Route`\n  }\n  if (errorDetails.type === 'dynamic-metadata') {\n    return `Blocking Route`\n  }\n  if (errorDetails.type === 'dynamic-viewport') {\n    return `Blocking Route`\n  }\n  if (errorDetails.type === 'sync-io') {\n    return `Blocking Route`\n  }\n  if (errorDetails.type === 'sync-io-client') {\n    return `Blocking Route`\n  }\n  if (errorDetails.type === 'unrendered-segment') {\n    return `Instant`\n  }\n  if (errorDetails.type === 'link-prefetch-partial') {\n    return `Instant`\n  }\n  if (type === 'recoverable') {\n    return `Recoverable ${error.name}`\n  }\n  if (type === 'console') {\n    return `Console ${error.name}`\n  }\n  return `Runtime ${error.name}`\n}\n\ntype ErrorDetails =\n  | NoErrorDetails\n  | HydrationErrorDetails\n  | BlockingRouteErrorDetails\n  | ClientHookErrorDetails\n  | DynamicMetadataErrorDetails\n  | DynamicViewportErrorDetails\n  | SyncIOErrorDetails\n  | SyncIOClientErrorDetails\n  | UnrenderedSegmentErrorDetails\n  | LinkPrefetchPartialErrorDetails\n\ntype NoErrorDetails = {\n  type: 'empty'\n}\n\ntype HydrationErrorDetails = {\n  type: 'hydration'\n  warning: string | null\n  notes: string | null\n  reactOutputComponentDiff: string | null\n}\n\ntype BlockingRouteErrorDetails = {\n  type: 'blocking-route'\n  variant: GuidanceVariant\n  inNavigation: boolean\n}\n\ntype ClientHookErrorDetails = {\n  type: 'client-hook'\n  expression: string\n}\n\ntype DynamicMetadataErrorDetails = {\n  type: 'dynamic-metadata'\n  variant: GuidanceVariant\n}\n\ntype DynamicViewportErrorDetails = {\n  type: 'dynamic-viewport'\n  variant: GuidanceVariant\n}\n\ntype SyncIOErrorDetails = {\n  type: 'sync-io'\n  cause: string\n}\n\ntype SyncIOClientErrorDetails = {\n  type: 'sync-io-client'\n  cause: string\n}\n\ntype UnrenderedSegmentErrorDetails = {\n  type: 'unrendered-segment'\n  route: string\n  files: string[]\n}\n\ntype LinkPrefetchPartialErrorDetails = {\n  type: 'link-prefetch-partial'\n  pathname: string\n}\n\nconst noErrorDetails: ErrorDetails = {\n  type: 'empty',\n}\n\nexport function useErrorDetails(\n  error: Error | undefined,\n  getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n): ErrorDetails {\n  return useMemo(() => {\n    if (error === undefined) {\n      return noErrorDetails\n    }\n\n    const hydrationErrorDetails = getHydrationErrorDetails(\n      error,\n      getSquashedHydrationErrorDetails\n    )\n    if (hydrationErrorDetails) {\n      return hydrationErrorDetails\n    }\n\n    const blockingRouteErrorDetails = getBlockingRouteErrorDetails(error)\n    if (blockingRouteErrorDetails) {\n      return blockingRouteErrorDetails\n    }\n\n    const unrenderedSegmentDetails = getUnrenderedSegmentErrorDetails(error)\n    if (unrenderedSegmentDetails) {\n      return unrenderedSegmentDetails\n    }\n\n    const linkPrefetchPartialDetails = getLinkPrefetchPartialErrorDetails(error)\n    if (linkPrefetchPartialDetails) {\n      return linkPrefetchPartialDetails\n    }\n\n    return noErrorDetails\n  }, [error, getSquashedHydrationErrorDetails])\n}\n\nfunction getHydrationErrorDetails(\n  error: Error,\n  getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n): null | HydrationErrorDetails {\n  const pagesRouterErrorDetails = getSquashedHydrationErrorDetails(error)\n  if (pagesRouterErrorDetails !== null) {\n    return {\n      type: 'hydration',\n      warning: pagesRouterErrorDetails.warning ?? null,\n      notes: null,\n      reactOutputComponentDiff:\n        pagesRouterErrorDetails.reactOutputComponentDiff ?? null,\n    }\n  }\n\n  if (!isHydrationError(error)) {\n    return null\n  }\n\n  const { message, notes, diff } = getHydrationErrorStackInfo(error)\n  if (message === null) {\n    return null\n  }\n\n  return {\n    type: 'hydration',\n    warning: message,\n    notes,\n    reactOutputComponentDiff: diff,\n  }\n}\n\n// Detect `connection()` as the trigger by sniffing the highlighted line of the code frame.\nexport function deriveCauseFromCodeFrame(\n  kind: GuidanceKind,\n  variant: GuidanceVariant,\n  codeFrame: string | null | undefined\n): 'connection' | undefined {\n  if (variant !== 'dynamic') return undefined\n  if (kind !== 'blocking-route' && kind !== 'metadata' && kind !== 'viewport')\n    return undefined\n  if (!codeFrame) return undefined\n  for (const line of stripAnsi(codeFrame).split('\\n')) {\n    if (/^\\s*>/.test(line) && /\\bconnection\\s*\\(/.test(line)) {\n      return 'connection'\n    }\n  }\n  return undefined\n}\n\nfunction InstantRuntimeError({\n  error,\n  variant,\n  kind = 'blocking-route',\n  explanation,\n  cause,\n  showExplanation = true,\n  dialogResizerRef,\n  generateErrorInfo,\n}: {\n  error: ReadyRuntimeError\n  variant: GuidanceVariant\n  kind?: GuidanceKind\n  explanation?: string\n  cause?: string\n  showExplanation?: boolean\n  dialogResizerRef: React.RefObject<HTMLDivElement | null>\n  generateErrorInfo: () => Promise<string>\n}) {\n  const frames = useFrames(error)\n\n  const firstFrame = useMemo(() => {\n    const idx = frames.findIndex(\n      (entry) =>\n        !entry.ignored &&\n        Boolean(entry.originalCodeFrame) &&\n        Boolean(entry.originalStackFrame)\n    )\n    return frames[idx] ?? null\n  }, [frames])\n\n  const derivedCause =\n    cause ??\n    deriveCauseFromCodeFrame(kind, variant, firstFrame?.originalCodeFrame)\n\n  return (\n    <>\n      {firstFrame && (\n        <CodeFrame\n          stackFrame={firstFrame.originalStackFrame!}\n          codeFrame={firstFrame.originalCodeFrame!}\n        />\n      )}\n      <InstantGuidance\n        variant={variant}\n        kind={kind}\n        explanation={explanation}\n        cause={derivedCause}\n        showExplanation={showExplanation}\n        generateErrorInfo={generateErrorInfo}\n      />\n      {frames.length > 0 && (\n        <ErrorOverlayCallStack\n          dialogResizerRef={dialogResizerRef}\n          frames={frames}\n        />\n      )}\n\n      {/* Instant errors are always single errors, never AggregateError.\n          Each blocking data access is tracked individually via\n          dynamicValidation.dynamicErrors and surfaced one at a time. */}\n      {error.cause && (\n        <ErrorCause cause={error.cause} dialogResizerRef={dialogResizerRef} />\n      )}\n    </>\n  )\n}\n\nexport function getGuidanceVariant(message: string): GuidanceVariant {\n  // Discriminates between `createLinkBodyErrorInNavigation`,\n  // `createRuntimeBodyError`, and `createDynamicBodyError` (and their\n  // in-navigation variants).\n  if (\n    message.includes('encountered URL data') &&\n    !message.includes('encountered uncached data')\n  ) {\n    return 'link'\n  }\n  if (\n    message.includes('encountered runtime data') &&\n    !message.includes('encountered uncached data')\n  ) {\n    return 'runtime'\n  }\n  return 'dynamic'\n}\n\nconst SYNC_IO_APIS = [\n  // Math\n  'Math.random()',\n  // Date/Time — `new Date()` before `Date()` (substring false positive) and\n  // both before `Date.now()` (the `elapsedTimeBullet` text always contains\n  // `Date.now()` regardless of which API the user actually called).\n  'new Date()',\n  'Date()',\n  'Date.now()',\n  // Node Crypto — longer strings first to avoid substring false positives\n  \"require('node:crypto').generateKeyPairSync(...)\",\n  \"require('node:crypto').generateKeySync(...)\",\n  \"require('node:crypto').generatePrimeSync(...)\",\n  \"require('node:crypto').randomFillSync(...)\",\n  \"require('node:crypto').randomBytes(size)\",\n  \"require('node:crypto').randomInt(min, max)\",\n  \"require('node:crypto').randomUUID()\",\n  // Web Crypto\n  'crypto.getRandomValues()',\n  'crypto.randomUUID()',\n]\n\nconst SYNC_IO_DOCS_PATTERN =\n  /https:\\/\\/nextjs\\.org\\/docs\\/messages\\/blocking-prerender-(random|current-time|crypto)(-client)?/\n\n// Discriminate sync IO errors via the docs URL embedded in the user-facing\n// message by `createSyncIOError`, `createSyncIORuntimeError`, and\n// `createSyncIOClientError`.\nexport function isSyncIOError(message: string): boolean {\n  return SYNC_IO_DOCS_PATTERN.test(message)\n}\n\nexport function isSyncIOClientError(message: string): boolean {\n  const match = SYNC_IO_DOCS_PATTERN.exec(message)\n  return match !== null && match[2] === '-client'\n}\n\n// Detects errors emitted during navigation-phase instant validation: body\n// errors from `createRuntimeBodyErrorInNavigation` /\n// `createDynamicBodyErrorInNavigation` (SSR factories instead say \"during\n// prerendering\"), and validation errors from\n// `trackDynamicHoleInNavigation` / `getNavigationDisallowedDynamicReasons`.\nexport function isBlockingRouteInNavError(message: string): boolean {\n  return (\n    message.includes('or a navigation') ||\n    message.includes('Could not validate `instant`') ||\n    message.includes(\n      'Could not validate that a segment in your UI has instant navigation'\n    )\n  )\n}\n\nexport function getBlockingRouteErrorDetails(\n  error: Error\n): null | ErrorDetails {\n  const message = error.message\n  const inNavigation = isBlockingRouteInNavError(message)\n\n  const clientHookMatch =\n    /Next\\.js encountered URL data `([^`]+)` in a Client Component outside of `<Suspense>`\\./.exec(\n      message\n    )\n  if (clientHookMatch) {\n    return {\n      type: 'client-hook',\n      expression: clientHookMatch[1],\n    }\n  }\n\n  const isBlockingPageLoadError =\n    message.includes('/blocking-prerender-runtime') ||\n    message.includes('/blocking-prerender-dynamic') ||\n    message.includes('/instant-shell-url-data')\n  if (isBlockingPageLoadError) {\n    return {\n      type: 'blocking-route',\n      variant: getGuidanceVariant(message),\n      inNavigation,\n    }\n  }\n\n  const isDynamicMetadataError =\n    message.includes('/blocking-prerender-metadata-dynamic') ||\n    message.includes('/blocking-prerender-metadata-runtime')\n  if (isDynamicMetadataError) {\n    return {\n      type: 'dynamic-metadata',\n      variant: getGuidanceVariant(message),\n    }\n  }\n\n  const isBlockingViewportError =\n    message.includes('/blocking-prerender-viewport-dynamic') ||\n    message.includes('/blocking-prerender-viewport-runtime')\n  if (isBlockingViewportError) {\n    return {\n      type: 'dynamic-viewport',\n      variant: getGuidanceVariant(message),\n    }\n  }\n\n  if (isSyncIOError(message)) {\n    const isClient = isSyncIOClientError(message)\n    for (const api of SYNC_IO_APIS) {\n      if (message.includes(api)) {\n        return {\n          type: isClient ? 'sync-io-client' : 'sync-io',\n          cause: api,\n        }\n      }\n    }\n  }\n\n  return null\n}\n\nexport function getUnrenderedSegmentErrorDetails(\n  error: Error\n): UnrenderedSegmentErrorDetails | null {\n  const message = error.message\n  if (typeof message !== 'string') return null\n  if (\n    !message.includes(\n      'Could not validate that a segment in your UI has instant navigation'\n    )\n  ) {\n    return null\n  }\n  const routeMatch = /^Route \"([^\"]+)\":/.exec(message)\n  if (!routeMatch) return null\n  const route = routeMatch[1]\n\n  // The body lists `Dropped segment:` or `Dropped segments:` followed\n  // by indented file paths on subsequent lines until the next blank line.\n  const files: string[] = []\n  const filesBlockMatch = /\\nDropped segments?:\\n([^]*?)(?:\\n\\n|$)/.exec(\n    message\n  )\n  if (filesBlockMatch) {\n    for (const rawLine of filesBlockMatch[1].split('\\n')) {\n      const trimmed = rawLine.replace(/^\\s+/, '')\n      if (trimmed) files.push(trimmed)\n    }\n  }\n\n  return {\n    type: 'unrendered-segment',\n    route,\n    files,\n  }\n}\n\nexport function getLinkPrefetchPartialErrorDetails(\n  error: Error\n): LinkPrefetchPartialErrorDetails | null {\n  const message = error.message\n  if (typeof message !== 'string') return null\n  const match =\n    /^Next\\.js encountered dynamic data during prefetching for \"([^\"]+)\"\\./.exec(\n      message\n    )\n  if (!match) return null\n  return {\n    type: 'link-prefetch-partial',\n    pathname: match[1],\n  }\n}\n\nexport function isInstantNavigationError(error: Error): boolean {\n  // Unrendered-segment errors are always instant-only\n  if (getUnrenderedSegmentErrorDetails(error)) return true\n  if (getLinkPrefetchPartialErrorDetails(error)) return true\n  const details = getBlockingRouteErrorDetails(error)\n  return details?.type === 'blocking-route' && details.inNavigation\n}\n\nexport type ErrorTab = 'errors' | 'instant'\n\nexport function ErrorTabBar({\n  activeTab,\n  onTabChange,\n  errorCount,\n  instantCount,\n  errorActiveIdx,\n  instantActiveIdx,\n  previousButton,\n  nextButton,\n  createCount,\n}: {\n  activeTab: ErrorTab\n  onTabChange: (tab: ErrorTab) => void\n  errorCount: number\n  instantCount: number\n  errorActiveIdx: number\n  instantActiveIdx: number\n  previousButton: React.ReactNode\n  nextButton: React.ReactNode\n  createCount: (\n    activeIdx: number,\n    total: number,\n    isActive?: boolean\n  ) => React.ReactNode\n}) {\n  return (\n    <div className=\"error-overlay-tab-bar\" data-nextjs-error-overlay-tab-bar>\n      {previousButton}\n      <button\n        type=\"button\"\n        className=\"error-overlay-tab\"\n        data-active={activeTab === 'errors'}\n        disabled={errorCount === 0}\n        aria-disabled={errorCount === 0}\n        onClick={() => onTabChange('errors')}\n      >\n        {errorCount === 0 ? (\n          'No issues'\n        ) : (\n          <>\n            Issues\n            <span\n              className=\"error-overlay-tab-count\"\n              data-active={activeTab === 'errors'}\n            >\n              {createCount(errorActiveIdx, errorCount, activeTab === 'errors')}\n            </span>\n          </>\n        )}\n      </button>\n      {instantCount > 0 && (\n        <button\n          type=\"button\"\n          className=\"error-overlay-tab\"\n          data-active={activeTab === 'instant'}\n          onClick={() => onTabChange('instant')}\n        >\n          Insights\n          <span\n            className=\"error-overlay-tab-count\"\n            data-active={activeTab === 'instant'}\n          >\n            {createCount(\n              instantActiveIdx,\n              instantCount,\n              activeTab === 'instant'\n            )}\n          </span>\n        </button>\n      )}\n      {nextButton}\n    </div>\n  )\n}\n\nexport function Errors({\n  getSquashedHydrationErrorDetails,\n  runtimeErrors,\n  debugInfo,\n  onClose,\n  ...props\n}: ErrorsProps) {\n  const dialogResizerRef = useRef<HTMLDivElement | null>(null)\n\n  const { normalErrors, instantErrors } = useMemo(() => {\n    const normal: ReadyRuntimeError[] = []\n    const instant: ReadyRuntimeError[] = []\n    for (const err of runtimeErrors) {\n      if (isInstantNavigationError(err.error)) {\n        instant.push(err)\n      } else {\n        normal.push(err)\n      }\n    }\n    return { normalErrors: normal, instantErrors: instant }\n  }, [runtimeErrors])\n\n  const [activeTab, setActiveTab] = useState<ErrorTab>(() =>\n    normalErrors.length > 0 ? 'errors' : 'instant'\n  )\n  const [activeIndices, setActiveIndices] = useState<Record<ErrorTab, number>>({\n    errors: 0,\n    instant: 0,\n  })\n  const effectiveActiveTab =\n    activeTab === 'errors'\n      ? normalErrors.length > 0\n        ? 'errors'\n        : 'instant'\n      : instantErrors.length > 0\n        ? 'instant'\n        : 'errors'\n  const activeErrors =\n    effectiveActiveTab === 'instant' ? instantErrors : normalErrors\n  const errorActiveIdx = Math.max(\n    0,\n    Math.min(activeIndices.errors, Math.max(0, normalErrors.length - 1))\n  )\n  const instantActiveIdx = Math.max(\n    0,\n    Math.min(activeIndices.instant, Math.max(0, instantErrors.length - 1))\n  )\n  const activeIdxForTab =\n    effectiveActiveTab === 'instant' ? instantActiveIdx : errorActiveIdx\n\n  const {\n    isLoading,\n    errorCode,\n    errorType,\n    activeIdx,\n    errorDetails,\n    activeError,\n    setActiveIndex,\n  } = useActiveRuntimeError({\n    runtimeErrors: activeErrors,\n    getSquashedHydrationErrorDetails,\n    activeIdx: activeIdxForTab,\n    setActiveIndex: (index) => {\n      setActiveIndices((previous) => ({\n        ...previous,\n        [effectiveActiveTab]: index,\n      }))\n    },\n  })\n\n  const generateErrorInfo = useCallback(\n    () =>\n      generateErrorInfoHelper({\n        activeError,\n        errorType,\n        versionInfo: props.versionInfo.installed,\n        bundler: process.env.__NEXT_BUNDLER as string,\n      }),\n    [activeError, errorType, props.versionInfo]\n  )\n\n  if (isLoading) {\n    // TODO: better loading state\n    return (\n      <Overlay>\n        <OverlayBackdrop />\n      </Overlay>\n    )\n  }\n\n  if (!activeError) {\n    return null\n  }\n\n  const error = activeError.error\n  const isServerError = ['server', 'edge-server'].includes(\n    getErrorSource(error) || ''\n  )\n\n  // Show the tab bar only when at least one Insight is present. When the only\n  // bucket with content is Issues, the red pill already conveys the count and a\n  // single-tab bar would be redundant. When Insights exist (alone or alongside\n  // Issues), the bar is shown so the user can switch between buckets.\n  const showTabBar = instantErrors.length > 0\n  const renderTabBar = showTabBar\n    ? ({\n        previousButton,\n        createCount,\n        nextButton,\n      }: ErrorOverlayPaginationControls) => (\n        <ErrorTabBar\n          activeTab={effectiveActiveTab}\n          onTabChange={(tab) => {\n            startTransition(() => {\n              setActiveTab(tab)\n            })\n          }}\n          errorCount={normalErrors.length}\n          instantCount={instantErrors.length}\n          errorActiveIdx={errorActiveIdx}\n          instantActiveIdx={instantActiveIdx}\n          previousButton={previousButton}\n          nextButton={nextButton}\n          createCount={createCount}\n        />\n      )\n    : undefined\n\n  const canGoPrevious = showTabBar\n    ? effectiveActiveTab === 'errors'\n      ? errorActiveIdx > 0\n      : instantActiveIdx > 0 || normalErrors.length > 0\n    : activeIdx > 0\n  const canGoNext = showTabBar\n    ? effectiveActiveTab === 'errors'\n      ? errorActiveIdx < normalErrors.length - 1 || instantErrors.length > 0\n      : instantActiveIdx < instantErrors.length - 1\n    : activeIdx < activeErrors.length - 1\n\n  const handlePrevious = showTabBar\n    ? () => {\n        startTransition(() => {\n          if (effectiveActiveTab === 'errors') {\n            if (errorActiveIdx > 0) {\n              setActiveIndex(errorActiveIdx - 1)\n            }\n            return\n          }\n\n          if (instantActiveIdx > 0) {\n            setActiveIndex(instantActiveIdx - 1)\n            return\n          }\n\n          if (normalErrors.length > 0) {\n            setActiveTab('errors')\n            setActiveIndices((previous) => ({\n              ...previous,\n              errors: Math.max(0, normalErrors.length - 1),\n            }))\n          }\n        })\n      }\n    : undefined\n\n  const handleNext = showTabBar\n    ? () => {\n        startTransition(() => {\n          if (effectiveActiveTab === 'errors') {\n            if (errorActiveIdx < normalErrors.length - 1) {\n              setActiveIndex(errorActiveIdx + 1)\n              return\n            }\n\n            if (instantErrors.length > 0) {\n              setActiveTab('instant')\n              setActiveIndices((previous) => ({\n                ...previous,\n                instant: 0,\n              }))\n            }\n            return\n          }\n\n          if (instantActiveIdx < instantErrors.length - 1) {\n            setActiveIndex(instantActiveIdx + 1)\n          }\n        })\n      }\n    : undefined\n\n  let errorMessage: React.ReactNode\n  let maybeNotes: React.ReactNode = null\n  let maybeDiff: React.ReactNode = null\n  switch (errorDetails.type) {\n    case 'hydration':\n      errorMessage = errorDetails.warning ? (\n        <HydrationErrorDescription message={errorDetails.warning} />\n      ) : (\n        <GenericErrorDescription error={error} />\n      )\n      maybeNotes = (\n        <div className=\"error-overlay-notes-container\">\n          {errorDetails.notes ? (\n            <>\n              <p\n                id=\"nextjs__container_errors__notes\"\n                className=\"nextjs__container_errors__notes\"\n              >\n                {errorDetails.notes}\n              </p>\n            </>\n          ) : null}\n          {errorDetails.warning ? (\n            <p\n              id=\"nextjs__container_errors__link\"\n              className=\"nextjs__container_errors__link\"\n            >\n              <HotlinkedText\n                text={`See more info here: ${NEXTJS_HYDRATION_ERROR_LINK}`}\n              />\n            </p>\n          ) : null}\n        </div>\n      )\n      if (errorDetails.reactOutputComponentDiff) {\n        maybeDiff = (\n          <PseudoHtmlDiff\n            reactOutputComponentDiff={\n              errorDetails.reactOutputComponentDiff || ''\n            }\n          />\n        )\n      }\n      break\n    case 'blocking-route':\n      return (\n        <ErrorOverlayLayout\n          errorCode={errorCode}\n          errorType={errorType}\n          errorMessage={\n            errorDetails.variant === 'link'\n              ? 'Next.js encountered URL data outside of Suspense.'\n              : errorDetails.variant === 'runtime'\n                ? errorDetails.inNavigation\n                  ? 'Next.js encountered runtime data during a navigation.'\n                  : 'Next.js encountered runtime data during prerendering.'\n                : errorDetails.inNavigation\n                  ? 'Next.js encountered uncached data during a navigation.'\n                  : 'Next.js encountered uncached data during prerendering.'\n          }\n          headerChildren={\n            <InstantHeaderExplanation\n              kind=\"blocking-route\"\n              variant={errorDetails.variant}\n              explanation={\n                errorDetails.variant === 'link'\n                  ? BLOCKING_ROUTE_LINK_EXPLANATION\n                  : errorDetails.inNavigation\n                    ? BLOCKING_ROUTE_NAVIGATION_EXPLANATION\n                    : undefined\n              }\n            />\n          }\n          renderTabBar={renderTabBar}\n          canGoPrevious={canGoPrevious}\n          canGoNext={canGoNext}\n          onPrevious={handlePrevious}\n          onNext={handleNext}\n          onClose={isServerError ? undefined : onClose}\n          debugInfo={debugInfo}\n          error={error}\n          runtimeErrors={activeErrors}\n          activeIdx={activeIdx}\n          setActiveIndex={setActiveIndex}\n          dialogResizerRef={dialogResizerRef}\n          generateErrorInfo={generateErrorInfo}\n          {...props}\n        >\n          <Suspense fallback={<div data-nextjs-error-suspended />}>\n            <InstantRuntimeError\n              key={activeError.id.toString()}\n              error={activeError}\n              variant={errorDetails.variant}\n              showExplanation={false}\n              dialogResizerRef={dialogResizerRef}\n              generateErrorInfo={generateErrorInfo}\n            />\n          </Suspense>\n        </ErrorOverlayLayout>\n      )\n    case 'client-hook':\n      return (\n        <ErrorOverlayLayout\n          errorCode={errorCode}\n          errorType={errorType}\n          errorMessage={\n            <>\n              Next.js encountered URL data{' '}\n              <code>{errorDetails.expression}</code> in a Client Component\n              outside of Suspense.\n            </>\n          }\n          headerChildren={<InstantHeaderExplanation kind=\"client-hook\" />}\n          renderTabBar={renderTabBar}\n          canGoPrevious={canGoPrevious}\n          canGoNext={canGoNext}\n          onPrevious={handlePrevious}\n          onNext={handleNext}\n          onClose={isServerError ? undefined : onClose}\n          debugInfo={debugInfo}\n          error={error}\n          runtimeErrors={activeErrors}\n          activeIdx={activeIdx}\n          setActiveIndex={setActiveIndex}\n          dialogResizerRef={dialogResizerRef}\n          generateErrorInfo={generateErrorInfo}\n          {...props}\n        >\n          <Suspense fallback={<div data-nextjs-error-suspended />}>\n            <InstantRuntimeError\n              key={activeError.id.toString()}\n              error={activeError}\n              variant=\"runtime\"\n              kind=\"client-hook\"\n              cause={errorDetails.expression}\n              showExplanation={false}\n              dialogResizerRef={dialogResizerRef}\n              generateErrorInfo={generateErrorInfo}\n            />\n          </Suspense>\n        </ErrorOverlayLayout>\n      )\n    case 'dynamic-metadata':\n      return (\n        <ErrorOverlayLayout\n          errorCode={errorCode}\n          errorType={errorType}\n          errorMessage={\n            errorDetails.variant === 'link' ? (\n              <>\n                Next.js encountered URL data in <code>generateMetadata()</code>.\n              </>\n            ) : errorDetails.variant === 'runtime' ? (\n              <>\n                Next.js encountered runtime data in{' '}\n                <code>generateMetadata()</code>.\n              </>\n            ) : (\n              <>\n                Next.js encountered uncached data in{' '}\n                <code>generateMetadata()</code>.\n              </>\n            )\n          }\n          headerChildren={\n            <InstantHeaderExplanation\n              kind=\"metadata\"\n              variant={errorDetails.variant}\n            />\n          }\n          renderTabBar={renderTabBar}\n          canGoPrevious={canGoPrevious}\n          canGoNext={canGoNext}\n          onPrevious={handlePrevious}\n          onNext={handleNext}\n          onClose={isServerError ? undefined : onClose}\n          debugInfo={debugInfo}\n          error={error}\n          runtimeErrors={activeErrors}\n          activeIdx={activeIdx}\n          setActiveIndex={setActiveIndex}\n          dialogResizerRef={dialogResizerRef}\n          generateErrorInfo={generateErrorInfo}\n          {...props}\n        >\n          <Suspense fallback={<div data-nextjs-error-suspended />}>\n            <InstantRuntimeError\n              key={activeError.id.toString()}\n              error={activeError}\n              variant={errorDetails.variant}\n              kind=\"metadata\"\n              showExplanation={false}\n              dialogResizerRef={dialogResizerRef}\n              generateErrorInfo={generateErrorInfo}\n            />\n          </Suspense>\n        </ErrorOverlayLayout>\n      )\n    case 'dynamic-viewport':\n      return (\n        <ErrorOverlayLayout\n          errorCode={errorCode}\n          errorType={errorType}\n          errorMessage={\n            errorDetails.variant === 'link' ? (\n              <>\n                Next.js encountered URL data in <code>generateViewport()</code>.\n              </>\n            ) : errorDetails.variant === 'runtime' ? (\n              <>\n                Next.js encountered runtime data in{' '}\n                <code>generateViewport()</code>.\n              </>\n            ) : (\n              <>\n                Next.js encountered uncached data in{' '}\n                <code>generateViewport()</code>.\n              </>\n            )\n          }\n          headerChildren={\n            <InstantHeaderExplanation\n              kind=\"viewport\"\n              variant={errorDetails.variant}\n            />\n          }\n          renderTabBar={renderTabBar}\n          canGoPrevious={canGoPrevious}\n          canGoNext={canGoNext}\n          onPrevious={handlePrevious}\n          onNext={handleNext}\n          onClose={isServerError ? undefined : onClose}\n          debugInfo={debugInfo}\n          error={error}\n          runtimeErrors={activeErrors}\n          activeIdx={activeIdx}\n          setActiveIndex={setActiveIndex}\n          dialogResizerRef={dialogResizerRef}\n          generateErrorInfo={generateErrorInfo}\n          {...props}\n        >\n          <Suspense fallback={<div data-nextjs-error-suspended />}>\n            <InstantRuntimeError\n              key={activeError.id.toString()}\n              error={activeError}\n              variant={errorDetails.variant}\n              kind=\"viewport\"\n              showExplanation={false}\n              dialogResizerRef={dialogResizerRef}\n              generateErrorInfo={generateErrorInfo}\n            />\n          </Suspense>\n        </ErrorOverlayLayout>\n      )\n    case 'sync-io':\n      return (\n        <ErrorOverlayLayout\n          errorCode={errorCode}\n          errorType={errorType}\n          errorMessage={\n            <>\n              Next.js encountered the unstable value{' '}\n              <code>{errorDetails.cause}</code> while prerendering.\n            </>\n          }\n          headerChildren={\n            <InstantHeaderExplanation\n              explanation=\"This value can change between renders, so it must be either prerendered or computed later.\"\n              docsUrl={SYNC_IO_DOCS[errorDetails.cause]}\n            />\n          }\n          renderTabBar={renderTabBar}\n          canGoPrevious={canGoPrevious}\n          canGoNext={canGoNext}\n          onPrevious={handlePrevious}\n          onNext={handleNext}\n          onClose={isServerError ? undefined : onClose}\n          debugInfo={debugInfo}\n          error={error}\n          runtimeErrors={activeErrors}\n          activeIdx={activeIdx}\n          setActiveIndex={setActiveIndex}\n          dialogResizerRef={dialogResizerRef}\n          generateErrorInfo={generateErrorInfo}\n          {...props}\n        >\n          <Suspense fallback={<div data-nextjs-error-suspended />}>\n            <InstantRuntimeError\n              key={activeError.id.toString()}\n              error={activeError}\n              variant=\"runtime\"\n              kind=\"sync-io\"\n              cause={errorDetails.cause}\n              showExplanation={false}\n              dialogResizerRef={dialogResizerRef}\n              generateErrorInfo={generateErrorInfo}\n            />\n          </Suspense>\n        </ErrorOverlayLayout>\n      )\n    case 'sync-io-client':\n      return (\n        <ErrorOverlayLayout\n          errorCode={errorCode}\n          errorType={errorType}\n          errorMessage={\n            <>\n              Next.js encountered the unstable value{' '}\n              <code>{errorDetails.cause}</code> in a Client Component.\n            </>\n          }\n          headerChildren={\n            <InstantHeaderExplanation\n              explanation=\"This value would be evaluated during the prerender, instead of recomputed on each visit.\"\n              docsUrl={SYNC_IO_CLIENT_DOCS[errorDetails.cause]}\n            />\n          }\n          renderTabBar={renderTabBar}\n          canGoPrevious={canGoPrevious}\n          canGoNext={canGoNext}\n          onPrevious={handlePrevious}\n          onNext={handleNext}\n          onClose={isServerError ? undefined : onClose}\n          debugInfo={debugInfo}\n          error={error}\n          runtimeErrors={activeErrors}\n          activeIdx={activeIdx}\n          setActiveIndex={setActiveIndex}\n          dialogResizerRef={dialogResizerRef}\n          generateErrorInfo={generateErrorInfo}\n          {...props}\n        >\n          <Suspense fallback={<div data-nextjs-error-suspended />}>\n            <InstantRuntimeError\n              key={activeError.id.toString()}\n              error={activeError}\n              variant=\"runtime\"\n              kind=\"sync-io-client\"\n              cause={errorDetails.cause}\n              showExplanation={false}\n              dialogResizerRef={dialogResizerRef}\n              generateErrorInfo={generateErrorInfo}\n            />\n          </Suspense>\n        </ErrorOverlayLayout>\n      )\n    case 'unrendered-segment':\n      return (\n        <ErrorOverlayLayout\n          errorCode={errorCode}\n          errorType={errorType}\n          errorMessage=\"Next.js could not validate that a segment in your UI has instant navigation.\"\n          headerChildren={\n            <InstantHeaderExplanation kind=\"unrendered-segment\" />\n          }\n          renderTabBar={renderTabBar}\n          canGoPrevious={canGoPrevious}\n          canGoNext={canGoNext}\n          onPrevious={handlePrevious}\n          onNext={handleNext}\n          onClose={isServerError ? undefined : onClose}\n          debugInfo={debugInfo}\n          error={error}\n          runtimeErrors={activeErrors}\n          activeIdx={activeIdx}\n          setActiveIndex={setActiveIndex}\n          dialogResizerRef={dialogResizerRef}\n          generateErrorInfo={generateErrorInfo}\n          {...props}\n        >\n          <UnrenderedSegmentInfo\n            route={errorDetails.route}\n            files={errorDetails.files}\n          />\n          <InstantGuidance\n            kind=\"unrendered-segment\"\n            variant=\"dynamic\"\n            showExplanation={false}\n          />\n        </ErrorOverlayLayout>\n      )\n    case 'link-prefetch-partial':\n      return (\n        <ErrorOverlayLayout\n          errorCode={errorCode}\n          errorType={errorType}\n          errorMessage=\"Next.js encountered dynamic data during prefetching.\"\n          headerChildren={\n            <InstantHeaderExplanation kind=\"link-prefetch-partial\" />\n          }\n          renderTabBar={renderTabBar}\n          canGoPrevious={canGoPrevious}\n          canGoNext={canGoNext}\n          onPrevious={handlePrevious}\n          onNext={handleNext}\n          onClose={isServerError ? undefined : onClose}\n          debugInfo={debugInfo}\n          error={error}\n          runtimeErrors={activeErrors}\n          activeIdx={activeIdx}\n          setActiveIndex={setActiveIndex}\n          dialogResizerRef={dialogResizerRef}\n          generateErrorInfo={generateErrorInfo}\n          {...props}\n        >\n          <Suspense fallback={<div data-nextjs-error-suspended />}>\n            <InstantRuntimeError\n              key={activeError.id.toString()}\n              error={activeError}\n              variant=\"runtime\"\n              kind=\"link-prefetch-partial\"\n              showExplanation={false}\n              dialogResizerRef={dialogResizerRef}\n              generateErrorInfo={generateErrorInfo}\n            />\n          </Suspense>\n        </ErrorOverlayLayout>\n      )\n    case 'empty':\n      errorMessage = <GenericErrorDescription error={error} />\n      break\n    default:\n      errorDetails satisfies never\n  }\n\n  return (\n    <ErrorOverlayLayout\n      errorCode={errorCode}\n      errorType={errorType}\n      errorMessage={errorMessage}\n      renderTabBar={renderTabBar}\n      canGoPrevious={canGoPrevious}\n      canGoNext={canGoNext}\n      onPrevious={handlePrevious}\n      onNext={handleNext}\n      onClose={isServerError ? undefined : onClose}\n      debugInfo={debugInfo}\n      error={error}\n      runtimeErrors={activeErrors}\n      activeIdx={activeIdx}\n      setActiveIndex={setActiveIndex}\n      dialogResizerRef={dialogResizerRef}\n      generateErrorInfo={generateErrorInfo}\n      {...props}\n    >\n      {maybeNotes}\n      {maybeDiff}\n      <Suspense fallback={<div data-nextjs-error-suspended />}>\n        <RuntimeError\n          key={activeError.id.toString()}\n          error={activeError}\n          dialogResizerRef={dialogResizerRef}\n        />\n      </Suspense>\n    </ErrorOverlayLayout>\n  )\n}\n\nexport const styles = `\n  .nextjs-error-with-static {\n    bottom: calc(16px * 4.5);\n  }\n  p.nextjs__container_errors__link {\n    font-size: var(--size-14);\n  }\n  p.nextjs__container_errors__notes {\n    color: var(--color-stack-notes);\n    font-size: var(--size-14);\n    line-height: 1.5;\n  }\n  .nextjs-container-errors-body > h2:not(:first-child) {\n    margin-top: calc(16px + 8px);\n  }\n  .nextjs-container-errors-body > h2 {\n    color: var(--color-title-color);\n    margin-bottom: 8px;\n    font-size: var(--size-20);\n  }\n  .nextjs-toast-errors-parent {\n    cursor: pointer;\n    transition: transform 0.2s ease;\n  }\n  .nextjs-toast-errors-parent:hover {\n    transform: scale(1.1);\n  }\n  .nextjs-toast-errors {\n    display: flex;\n    align-items: center;\n    justify-content: flex-start;\n  }\n  .nextjs-toast-errors > svg {\n    margin-right: 8px;\n  }\n  .nextjs-toast-hide-button {\n    margin-left: 24px;\n    border: none;\n    background: none;\n    color: var(--color-ansi-bright-white);\n    padding: 0;\n    transition: opacity 0.25s ease;\n    opacity: 0.7;\n  }\n  .nextjs-toast-hide-button:hover {\n    opacity: 1;\n  }\n  .nextjs__container_errors__error_title {\n    display: flex;\n    flex-direction: column;\n    align-items: flex-start;\n    gap: 8px;\n    position: relative;\n  }\n  .nextjs__container_errors__error_title__row {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    flex-wrap: wrap;\n    gap: 8px;\n    width: 100%;\n  }\n  .error-overlay-notes-container {\n    margin: 8px 2px;\n  }\n  .error-overlay-notes-container p {\n    white-space: pre-wrap;\n  }\n  .external-link, .external-link:hover {\n    color:inherit;\n  }\n\n  .error-overlay-tab-bar {\n    display: flex;\n    gap: 6px;\n    translate: var(--next-dialog-border-width) 0;\n    max-width: var(--next-dialog-max-width);\n    width: 100%;\n    position: relative;\n    z-index: 1;\n  }\n\n  .error-overlay-tab {\n    display: flex;\n    align-items: center;\n    gap: 2px;\n    padding: 0 4px;\n    border: none;\n    background: none;\n    color: var(--color-gray-800);\n    font-size: var(--size-13);\n    font-family: var(--font-stack-sans);\n    cursor: pointer;\n    position: relative;\n    transition: color 0.15s ease;\n    border-radius: var(--rounded-md);\n\n    &:hover:not(:disabled) {\n      color: var(--color-gray-1000);\n    }\n\n    &[data-active='true'] {\n      color: var(--color-gray-1000);\n      font-weight: 500;\n    }\n\n    &:disabled {\n      opacity: 0.4;\n      cursor: default;\n    }\n\n    &:focus-visible {\n      outline: var(--focus-ring);\n      outline-offset: 2px;\n    }\n  }\n\n  .error-overlay-tab-count {\n    display: flex;\n    align-items: center;\n    color: inherit;\n\n    &[data-active='true'] {\n      .error-overlay-pagination-count {\n        font-weight: 500;\n      }\n    }\n  }\n\n`\n","import type { ReadyRuntimeError } from '../utils/get-error-by-type'\nimport type { HydrationErrorState } from '../../shared/hydration-error'\n\nimport { useMemo, useState } from 'react'\nimport { getErrorTypeLabel, useErrorDetails } from '../container/errors'\nimport { extractNextErrorCode } from '../../../lib/error-telemetry-utils'\n\nexport function useActiveRuntimeError({\n  runtimeErrors,\n  getSquashedHydrationErrorDetails,\n  activeIdx: controlledActiveIdx,\n  setActiveIndex: controlledSetActiveIndex,\n}: {\n  runtimeErrors: ReadyRuntimeError[]\n  getSquashedHydrationErrorDetails: (error: Error) => HydrationErrorState | null\n  activeIdx?: number\n  setActiveIndex?: (index: number) => void\n}) {\n  const [uncontrolledActiveIdx, setUncontrolledActiveIndex] =\n    useState<number>(0)\n  const activeIdx = controlledActiveIdx ?? uncontrolledActiveIdx\n  const setActiveIndex = controlledSetActiveIndex ?? setUncontrolledActiveIndex\n\n  const isLoading = useMemo<boolean>(() => {\n    return runtimeErrors.length === 0\n  }, [runtimeErrors.length])\n\n  const activeError = useMemo<ReadyRuntimeError | null>(\n    () => runtimeErrors[activeIdx] ?? null,\n    [activeIdx, runtimeErrors]\n  )\n\n  const errorDetails = useErrorDetails(\n    activeError?.error,\n    getSquashedHydrationErrorDetails\n  )\n\n  if (isLoading || !activeError) {\n    return {\n      isLoading,\n      activeIdx,\n      setActiveIndex,\n      activeError: null,\n      errorDetails: null,\n      errorCode: null,\n      errorType: null,\n    }\n  }\n\n  const error = activeError.error\n  const errorCode = extractNextErrorCode(error)\n  const errorType = getErrorTypeLabel(error, activeError.type, errorDetails)\n\n  return {\n    isLoading,\n    activeIdx,\n    setActiveIndex,\n    activeError,\n    errorDetails,\n    errorCode,\n    errorType,\n  }\n}\n","const ERROR_CODE_DELIMITER = '@'\n\n/**\n * Augments the digest field of errors thrown in React Server Components (RSC) with an error code.\n * Since RSC errors can only be serialized through the digest field, this provides a way to include\n * an additional error code that can be extracted client-side via `extractNextErrorCode`.\n *\n * The error code is appended to the digest string with a semicolon separator, allowing it to be\n * parsed out later while preserving the original digest value.\n */\nexport const createDigestWithErrorCode = (\n  thrownValue: unknown,\n  originalDigest: string\n): string => {\n  if (\n    typeof thrownValue === 'object' &&\n    thrownValue !== null &&\n    '__NEXT_ERROR_CODE' in thrownValue\n  ) {\n    return `${originalDigest}${ERROR_CODE_DELIMITER}${thrownValue.__NEXT_ERROR_CODE}`\n  }\n  return originalDigest\n}\n\nexport const extractNextErrorCode = (error: unknown): string | undefined => {\n  if (\n    typeof error === 'object' &&\n    error !== null &&\n    '__NEXT_ERROR_CODE' in error &&\n    typeof error.__NEXT_ERROR_CODE === 'string'\n  ) {\n    return error.__NEXT_ERROR_CODE\n  }\n\n  if (\n    typeof error === 'object' &&\n    error !== null &&\n    'digest' in error &&\n    typeof error.digest === 'string'\n  ) {\n    const segments = error.digest.split(ERROR_CODE_DELIMITER)\n    const errorCode = segments.find((segment) => segment.startsWith('E'))\n    return errorCode\n  }\n\n  return undefined\n}\n","export function CollapseIcon({ collapsed }: { collapsed?: boolean } = {}) {\n  return (\n    <svg\n      data-nextjs-call-stack-chevron-icon\n      data-collapsed={collapsed}\n      width=\"16\"\n      height=\"16\"\n      fill=\"none\"\n      // rotate 90 degrees if not collapsed.\n      {...(typeof collapsed === 'boolean'\n        ? { style: { transform: collapsed ? undefined : 'rotate(90deg)' } }\n        : {})}\n    >\n      <path\n        style={{ fill: 'var(--color-font)' }}\n        fillRule=\"evenodd\"\n        d=\"m6.75 3.94.53.53 2.824 2.823a1 1 0 0 1 0 1.414L7.28 11.53l-.53.53L5.69 11l.53-.53L8.69 8 6.22 5.53 5.69 5l1.06-1.06Z\"\n        clipRule=\"evenodd\"\n      />\n    </svg>\n  )\n}\n","import { useMemo, useState } from 'react'\nimport { CollapseIcon } from '../../icons/collapse-icon'\n/**\n *\n * Format component stack into pseudo HTML\n * component stack is an array of strings, e.g.: ['p', 'p', 'Page', ...]\n *\n * For html tags mismatch, it will render it for the code block\n *\n * ```\n * <pre>\n *  <code>{`\n *    <Page>\n *       <p red>\n *         <p red>\n *  `}</code>\n * </pre>\n * ```\n *\n * For text mismatch, it will render it for the code block\n *\n * ```\n * <pre>\n * <code>{`\n *   <Page>\n *     <p>\n *       \"Server Text\" (green)\n *       \"Client Text\" (red)\n *     </p>\n *   </Page>\n * `}</code>\n * ```\n *\n * For bad text under a tag it will render it for the code block,\n * e.g. \"Mismatched Text\" under <p>\n *\n * ```\n * <pre>\n * <code>{`\n *   <Page>\n *     <div>\n *       <p>\n *         \"Mismatched Text\" (red)\n *      </p>\n *     </div>\n *   </Page>\n * `}</code>\n * ```\n *\n */\nexport function PseudoHtmlDiff({\n  reactOutputComponentDiff,\n}: {\n  reactOutputComponentDiff: string\n}) {\n  const [isDiffCollapsed, toggleCollapseHtml] = useState(true)\n\n  const htmlComponents = useMemo(() => {\n    const componentStacks: React.ReactNode[] = []\n    const reactComponentDiffLines = reactOutputComponentDiff.split('\\n')\n    reactComponentDiffLines.forEach((line, index) => {\n      const isDiffLine = line[0] === '+' || line[0] === '-'\n      const isHighlightedLine = line[0] === '>'\n      const hasSign = isDiffLine || isHighlightedLine\n      const sign = hasSign ? line[0] : ''\n      const signIndex = hasSign ? line.indexOf(sign) : -1\n      const [prefix, suffix] = hasSign\n        ? [line.slice(0, signIndex), line.slice(signIndex + 1)]\n        : [line, '']\n\n      if (isDiffLine) {\n        componentStacks.push(\n          <span\n            key={'comp-diff' + index}\n            data-nextjs-container-errors-pseudo-html-line\n            data-nextjs-container-errors-pseudo-html--diff={\n              sign === '+' ? 'add' : 'remove'\n            }\n          >\n            <span>\n              {/* Slice 2 spaces for the icon */}\n              {prefix}\n              <span data-nextjs-container-errors-pseudo-html-line-sign>\n                {sign}\n              </span>\n              {suffix}\n              {'\\n'}\n            </span>\n          </span>\n        )\n      } else {\n        // In general, if it's not collapsed, show the whole diff\n        componentStacks.push(\n          <span\n            data-nextjs-container-errors-pseudo-html-line\n            key={'comp-diff' + index}\n            {...(isHighlightedLine\n              ? {\n                  'data-nextjs-container-errors-pseudo-html--diff': 'error',\n                }\n              : undefined)}\n          >\n            {prefix}\n            <span data-nextjs-container-errors-pseudo-html-line-sign>\n              {sign}\n            </span>\n            {suffix}\n            {'\\n'}\n          </span>\n        )\n      }\n    })\n    return componentStacks\n  }, [reactOutputComponentDiff])\n\n  return (\n    <div\n      data-nextjs-container-errors-pseudo-html\n      data-nextjs-container-errors-pseudo-html-collapse={isDiffCollapsed}\n    >\n      <div data-nextjs-hydration-diff-header>\n        <button\n          aria-expanded={!isDiffCollapsed}\n          aria-label=\"complete Component Stack\"\n          data-nextjs-container-errors-pseudo-html-collapse-button\n          onClick={() => toggleCollapseHtml(!isDiffCollapsed)}\n        >\n          <CollapseIcon collapsed={isDiffCollapsed} />\n        </button>\n        <div data-nextjs-hydration-diff-badge>\n          <span data-nextjs-hydration-diff-badge-item=\"client\">\n            <span>+</span> Client\n          </span>\n          <span data-nextjs-hydration-diff-badge-item=\"server\">\n            <span>-</span> Server\n          </span>\n        </div>\n      </div>\n      <pre className=\"nextjs__container_errors__component-stack\">\n        <code>{htmlComponents}</code>\n      </pre>\n    </div>\n  )\n}\n","export { PseudoHtmlDiff } from '../../components/hydration-diff/diff-view'\n\nexport const PSEUDO_HTML_DIFF_STYLES = `\n  [data-nextjs-container-errors-pseudo-html] {\n    padding: 8px 0;\n    margin: 8px 0;\n    border: 1px solid var(--color-gray-400);\n    background: var(--color-background-200);\n    color: var(--color-syntax-constant);\n    font-family: var(--font-stack-monospace);\n    font-size: var(--size-12);\n    line-height: 1.33em; /* 16px in 12px font size */\n    border-radius: var(--rounded-md-2);\n  }\n  [data-nextjs-container-errors-pseudo-html-line] {\n    display: inline-block;\n    width: 100%;\n    padding-left: 40px;\n    line-height: calc(5 / 3);\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='error'] {\n    background: var(--color-amber-100);\n    box-shadow: 2px 0 0 0 var(--color-amber-900) inset;\n    font-weight: bold;\n  }\n  [data-nextjs-container-errors-pseudo-html-collapse-button] {\n    all: unset;\n    margin-left: 12px;\n    &:focus {\n      outline: none;\n    }\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='add'] {\n    background: var(--color-green-300);\n  }\n  [data-nextjs-container-errors-pseudo-html-line-sign] {\n    margin-left: calc(24px * -1);\n    margin-right: 24px;\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='add']\n    [data-nextjs-container-errors-pseudo-html-line-sign] {\n    color: var(--color-green-900);\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='remove'] {\n    background: var(--color-red-300);\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='remove']\n    [data-nextjs-container-errors-pseudo-html-line-sign] {\n    color: var(--color-red-900);\n    margin-left: calc(24px * -1);\n    margin-right: 24px;\n  }\n  [data-nextjs-container-errors-pseudo-html--diff='error']\n    [data-nextjs-container-errors-pseudo-html-line-sign] {\n    color: var(--color-amber-900);\n  }\n  ${/* hide but text are still accessible in DOM */ ''}\n  [data-nextjs-container-errors-pseudo-html--hint] {\n    display: inline-block;\n    font-size: 0;\n    height: 0;\n  }\n  [data-nextjs-container-errors-pseudo-html--tag-adjacent='false'] {\n    color: var(--color-accents-1);\n  }\n  .nextjs__container_errors__component-stack {\n    margin: 0;\n  }\n  [data-nextjs-container-errors-pseudo-html-collapse='true']\n    .nextjs__container_errors__component-stack\n    code {\n    max-height: 120px;\n    mask-image: linear-gradient(to bottom,rgba(0,0,0,0) 0%,black 10%);\n    padding-bottom: 40px;\n  }\n  .nextjs__container_errors__component-stack code {\n    display: block;\n    width: 100%;\n    white-space: pre-wrap;\n    scroll-snap-type: y mandatory;\n    overflow-y: hidden;\n  }\n  [data-nextjs-container-errors-pseudo-html--diff] {\n    scroll-snap-align: center;\n  }\n  .error-overlay-hydration-error-diff-plus-icon {\n    color: var(--color-green-900);\n  }\n  .error-overlay-hydration-error-diff-minus-icon {\n    color: var(--color-red-900);\n  }\n  [data-nextjs-hydration-diff-header] {\n    display: flex;\n    align-items: center;\n    justify-content: space-between;\n    padding: 0 12px 0 0;\n  }\n  [data-nextjs-hydration-diff-badge] {\n    display: flex;\n    gap: 8px;\n    font-size: var(--size-12);\n  }\n  [data-nextjs-hydration-diff-badge-item] {\n    display: flex;\n    align-items: center;\n    gap: 4px;\n    color: var(--color-gray-900);\n  }\n  [data-nextjs-hydration-diff-badge-item='client'] span:first-child {\n    color: var(--color-green-900);\n    font-weight: bold;\n  }\n  [data-nextjs-hydration-diff-badge-item='server'] span:first-child {\n    color: var(--color-red-900);\n    font-weight: bold;\n  }\n`\n","import { useMemo } from 'react'\nimport React from 'react'\nimport { CodeFrame } from '../../components/code-frame/code-frame'\nimport { ErrorOverlayCallStack } from '../../components/errors/error-overlay-call-stack/error-overlay-call-stack'\nimport { ErrorCause } from './error-cause'\nimport { HotlinkedText } from '../../components/hot-linked-text'\nimport type { ReadyErrorCause } from '../../utils/get-error-by-type'\n\ninterface ErrorAggregateErrorsProps {\n  errors: ReadyErrorCause[]\n  dialogResizerRef: React.RefObject<HTMLDivElement | null>\n}\n\nexport function ErrorAggregateErrors({\n  errors,\n  dialogResizerRef,\n}: ErrorAggregateErrorsProps) {\n  return (\n    // TODO: Wrap in SuspenseList\n    <>\n      {errors.map((entry, index) => (\n        <ErrorAggregateEntry\n          key={index}\n          entry={entry}\n          index={index}\n          total={errors.length}\n          dialogResizerRef={dialogResizerRef}\n        />\n      ))}\n    </>\n  )\n}\n\ninterface ErrorAggregateEntryProps {\n  entry: ReadyErrorCause\n  index: number\n  total: number\n  dialogResizerRef: React.RefObject<HTMLDivElement | null>\n}\n\nfunction ErrorAggregateEntry({\n  entry,\n  index,\n  total,\n  dialogResizerRef,\n}: ErrorAggregateEntryProps) {\n  const frames = React.use(entry.frames())\n  const trimmedMessage = entry.error.message.trim()\n\n  const firstFrame = useMemo(() => {\n    const idx = frames.findIndex(\n      (f) =>\n        !f.ignored &&\n        Boolean(f.originalCodeFrame) &&\n        Boolean(f.originalStackFrame)\n    )\n    return frames[idx] ?? null\n  }, [frames])\n\n  return (\n    <div data-nextjs-error-aggregate-error>\n      <div className=\"error-aggregate-error-header\">\n        <span className=\"error-aggregate-error-label\">\n          {index + 1} of {total}: {entry.error.name || 'Error'}\n        </span>\n      </div>\n      {trimmedMessage ? (\n        <p className=\"error-aggregate-error-message\">\n          <HotlinkedText text={trimmedMessage} />\n        </p>\n      ) : null}\n\n      {firstFrame && (\n        <CodeFrame\n          stackFrame={firstFrame.originalStackFrame!}\n          codeFrame={firstFrame.originalCodeFrame!}\n        />\n      )}\n\n      {frames.length > 0 && (\n        <ErrorOverlayCallStack\n          dialogResizerRef={dialogResizerRef}\n          frames={frames}\n        />\n      )}\n\n      {entry.cause && (\n        <ErrorCause cause={entry.cause} dialogResizerRef={dialogResizerRef} />\n      )}\n\n      {'aggregateErrors' in entry && entry.aggregateErrors !== null && (\n        <ErrorAggregateErrors\n          errors={entry.aggregateErrors}\n          dialogResizerRef={dialogResizerRef}\n        />\n      )}\n    </div>\n  )\n}\n\nexport const styles = `\n  [data-nextjs-error-aggregate-error] {\n    border-top: 1px solid var(--color-gray-400);\n    margin-top: 16px;\n    padding-top: 16px;\n  }\n\n  .error-aggregate-error-header {\n    display: flex;\n    align-items: center;\n    margin-bottom: 8px;\n  }\n\n  .error-aggregate-error-label {\n    padding: 2px 6px;\n    margin: 0;\n    border-radius: var(--rounded-md-2);\n    background: var(--color-red-100);\n    font-weight: 600;\n    font-size: var(--size-12);\n    color: var(--color-red-900);\n    font-family: var(--font-stack-monospace);\n    line-height: var(--size-20);\n  }\n\n  .error-aggregate-error-message {\n    margin: 0;\n    margin-left: 4px;\n    color: var(--color-red-900);\n    font-weight: 500;\n    font-size: var(--size-16);\n    letter-spacing: -0.32px;\n    line-height: var(--size-24);\n    overflow-wrap: break-word;\n    white-space: pre-wrap;\n  }\n`\n","import { useMemo } from 'react'\nimport React from 'react'\nimport { CodeFrame } from '../../components/code-frame/code-frame'\nimport { ErrorOverlayCallStack } from '../../components/errors/error-overlay-call-stack/error-overlay-call-stack'\nimport { ErrorAggregateErrors } from './error-aggregate-errors'\nimport { HotlinkedText } from '../../components/hot-linked-text'\nimport type { ReadyErrorCause } from '../../utils/get-error-by-type'\n\ntype ErrorCauseProps = {\n  cause: ReadyErrorCause\n  dialogResizerRef: React.RefObject<HTMLDivElement | null>\n}\n\nexport function ErrorCause({ cause, dialogResizerRef }: ErrorCauseProps) {\n  const frames = React.use(cause.frames())\n  const trimmedMessage = cause.error.message.trim()\n\n  const firstFrame = useMemo(() => {\n    const index = frames.findIndex(\n      (entry) =>\n        !entry.ignored &&\n        Boolean(entry.originalCodeFrame) &&\n        Boolean(entry.originalStackFrame)\n    )\n    return frames[index] ?? null\n  }, [frames])\n\n  return (\n    <div data-nextjs-error-cause>\n      <div className=\"error-cause-header\">\n        <span className=\"error-cause-label\">\n          Caused by: {cause.error.name || 'Error'}\n        </span>\n      </div>\n      {trimmedMessage ? (\n        <p className=\"error-cause-message\">\n          <HotlinkedText text={trimmedMessage} />\n        </p>\n      ) : null}\n\n      {firstFrame && (\n        <CodeFrame\n          stackFrame={firstFrame.originalStackFrame!}\n          codeFrame={firstFrame.originalCodeFrame!}\n        />\n      )}\n\n      {frames.length > 0 && (\n        <ErrorOverlayCallStack\n          dialogResizerRef={dialogResizerRef}\n          frames={frames}\n        />\n      )}\n\n      {cause.cause && (\n        <ErrorCause cause={cause.cause} dialogResizerRef={dialogResizerRef} />\n      )}\n\n      {'aggregateErrors' in cause && cause.aggregateErrors !== null && (\n        <ErrorAggregateErrors\n          errors={cause.aggregateErrors}\n          dialogResizerRef={dialogResizerRef}\n        />\n      )}\n    </div>\n  )\n}\n\nexport const styles = `\n  [data-nextjs-error-cause] {\n    border-top: 1px solid var(--color-gray-400);\n    margin-top: 16px;\n    padding-top: 16px;\n  }\n\n  .error-cause-header {\n    display: flex;\n    align-items: center;\n    margin-bottom: 8px;\n  }\n\n  .error-cause-label {\n    padding: 2px 6px;\n    margin: 0;\n    border-radius: var(--rounded-md-2);\n    background: var(--color-red-100);\n    font-weight: 600;\n    font-size: var(--size-12);\n    color: var(--color-red-900);\n    font-family: var(--font-stack-monospace);\n    line-height: var(--size-20);\n  }\n\n  .error-cause-message {\n    margin: 0 0 16px 4px;\n    color: var(--color-red-900);\n    font-weight: 500;\n    font-size: var(--size-16);\n    letter-spacing: -0.32px;\n    line-height: var(--size-24);\n    overflow-wrap: break-word;\n    white-space: pre-wrap;\n  }\n`\n","import { useMemo } from 'react'\nimport { CodeFrame } from '../../components/code-frame/code-frame'\nimport { ErrorOverlayCallStack } from '../../components/errors/error-overlay-call-stack/error-overlay-call-stack'\nimport { PSEUDO_HTML_DIFF_STYLES } from './component-stack-pseudo-html'\nimport { ErrorCause, styles as errorCauseStyles } from './error-cause'\nimport {\n  ErrorAggregateErrors,\n  styles as errorAggregateErrorsStyles,\n} from './error-aggregate-errors'\nimport {\n  useFrames,\n  type ReadyRuntimeError,\n} from '../../utils/get-error-by-type'\n\ntype RuntimeErrorProps = {\n  error: ReadyRuntimeError\n  dialogResizerRef: React.RefObject<HTMLDivElement | null>\n}\n\nexport function RuntimeError({ error, dialogResizerRef }: RuntimeErrorProps) {\n  const frames = useFrames(error)\n\n  const firstFrame = useMemo(() => {\n    const firstFirstPartyFrameIndex = frames.findIndex(\n      (entry) =>\n        !entry.ignored &&\n        Boolean(entry.originalCodeFrame) &&\n        Boolean(entry.originalStackFrame)\n    )\n\n    return frames[firstFirstPartyFrameIndex] ?? null\n  }, [frames])\n\n  return (\n    <>\n      {firstFrame && (\n        <CodeFrame\n          stackFrame={firstFrame.originalStackFrame!}\n          codeFrame={firstFrame.originalCodeFrame!}\n        />\n      )}\n\n      {frames.length > 0 && (\n        <ErrorOverlayCallStack\n          dialogResizerRef={dialogResizerRef}\n          frames={frames}\n        />\n      )}\n\n      {error.cause && (\n        <ErrorCause cause={error.cause} dialogResizerRef={dialogResizerRef} />\n      )}\n\n      {'aggregateErrors' in error && error.aggregateErrors !== null && (\n        <ErrorAggregateErrors\n          errors={error.aggregateErrors}\n          dialogResizerRef={dialogResizerRef}\n        />\n      )}\n    </>\n  )\n}\n\nexport const styles = `\n  ${PSEUDO_HTML_DIFF_STYLES}\n  ${errorCauseStyles}\n  ${errorAggregateErrorsStyles}\n`\n","export function ExternalIcon(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      {...props}\n    >\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        fill=\"currentColor\"\n        d=\"M11.5 9.75V11.25C11.5 11.3881 11.3881 11.5 11.25 11.5H4.75C4.61193 11.5 4.5 11.3881 4.5 11.25L4.5 4.75C4.5 4.61193 4.61193 4.5 4.75 4.5H6.25H7V3H6.25H4.75C3.7835 3 3 3.7835 3 4.75V11.25C3 12.2165 3.7835 13 4.75 13H11.25C12.2165 13 13 12.2165 13 11.25V9.75V9H11.5V9.75ZM8.5 3H9.25H12.2495C12.6637 3 12.9995 3.33579 12.9995 3.75V6.75V7.5H11.4995V6.75V5.56066L8.53033 8.52978L8 9.06011L6.93934 7.99945L7.46967 7.46912L10.4388 4.5H9.25H8.5V3Z\"\n      />\n    </svg>\n  )\n}\n\nexport function SourceMappingErrorIcon(props: React.SVGProps<SVGSVGElement>) {\n  return (\n    <svg\n      xmlns=\"http://www.w3.org/2000/svg\"\n      width=\"16\"\n      height=\"16\"\n      viewBox=\"0 0 16 16\"\n      fill=\"none\"\n      {...props}\n    >\n      <path\n        d=\"M8.13748 3C8.69243 3.00017 9.20256 3.30665 9.46267 3.79688L13.5642 11.5312C13.9172 12.1971 13.434 12.9997 12.6804 13H3.32595C2.57197 13 2.08881 12.1973 2.44217 11.5312L6.54763 3.79688C6.80787 3.30678 7.31792 3.00005 7.87283 3H8.13748ZM4.15701 11.5H11.8494L8.13748 4.5H7.87283L4.15701 11.5ZM8.00857 9.55176C8.38926 9.55189 8.69788 9.86053 8.69802 10.2412C8.69802 10.622 8.38935 10.9305 8.00857 10.9307C7.62768 10.9307 7.31912 10.6221 7.31912 10.2412C7.31926 9.86045 7.62777 9.55176 8.00857 9.55176ZM8.75467 9H7.25467V6.25H8.75467V9Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n","export function FileIcon({ lang }: { lang?: string }) {\n  if (!lang) return <File />\n\n  switch (lang.toLowerCase()) {\n    case 'jsx':\n    case 'tsx':\n      return <React />\n    case 'ts':\n    case 'typescript':\n      return <Ts />\n    case 'javascript':\n    case 'js':\n    case 'mjs':\n      return <Js />\n    case 'json':\n      return <Json />\n    default:\n      return <File />\n  }\n}\n\nfunction Json() {\n  return (\n    <svg\n      clipRule=\"evenodd\"\n      fillRule=\"evenodd\"\n      height=\"16\"\n      viewBox=\"0 0 1321.45 1333.33\"\n      width=\"16\"\n    >\n      <path\n        d=\"M221.37 618.44h757.94V405.15H755.14c-23.5 0-56.32-12.74-71.82-28.24-15.5-15.5-25-43.47-25-66.97V82.89H88.39c-1.99 0-3.49 1-4.49 2-1.5 1-2 2.5-2 4.5v1155.04c0 1.5 1 3.5 2 4.5 1 1.49 3 1.99 4.49 1.99H972.8c2 0 1.89-.99 2.89-1.99 1.5-1 3.61-3 3.61-4.5v-121.09H221.36c-44.96 0-82-36.9-82-81.99V700.44c0-45.1 36.9-82 82-82zm126.51 117.47h75.24v146.61c0 30.79-2.44 54.23-7.33 70.31-4.92 16.03-14.8 29.67-29.65 40.85-14.86 11.12-33.91 16.72-57.05 16.72-24.53 0-43.51-3.71-56.94-11.06-13.5-7.36-23.89-18.1-31.23-32.3-7.35-14.14-11.69-31.67-12.99-52.53l71.5-10.81c.11 11.81 1.07 20.61 2.81 26.33 1.76 5.78 4.75 10.37 9 13.95 2.87 2.33 6.94 3.46 12.25 3.46 8.4 0 14.58-3.46 18.53-10.37 3.9-6.92 5.87-18.6 5.87-35V735.92zm112.77 180.67l71.17-4.97c1.54 12.81 4.69 22.62 9.44 29.28 7.74 10.88 18.74 16.34 33.09 16.34 10.68 0 18.93-2.76 24.68-8.36 5.81-5.58 8.7-12.07 8.7-19.41 0-6.97-2.71-13.26-8.2-18.79-5.47-5.53-18.23-10.68-38.28-15.65-32.89-8.17-56.27-19.1-70.26-32.74-14.12-13.57-21.18-30.92-21.18-52.03 0-13.83 3.61-26.89 10.85-39.21 7.22-12.38 18.07-22.06 32.59-29.09 14.52-7.04 34.4-10.56 59.65-10.56 31 0 54.62 6.41 70.88 19.29 16.28 12.81 25.92 33.24 29.04 61.27l-70.5 4.65c-1.87-12.25-5.81-21.17-11.81-26.7-6.05-5.6-14.35-8.36-24.9-8.36-8.71 0-15.31 2.07-19.73 6.16-4.4 4.09-6.59 9.12-6.59 15.02 0 4.27 1.81 8.11 5.37 11.57 3.45 3.59 11.8 6.85 25.02 9.93 32.75 7.86 56.2 15.84 70.31 23.87 14.18 8.05 24.52 17.98 30.96 29.92 6.44 11.88 9.66 25.2 9.66 39.96 0 17.29-4.3 33.24-12.88 47.89-8.63 14.58-20.61 25.7-36.08 33.24-15.41 7.54-34.85 11.31-58.33 11.31-41.24 0-69.81-8.86-85.68-26.52-15.88-17.65-24.85-40.09-26.96-67.3zm248.74-45.5c0-44.05 11.02-78.36 33.09-102.87 22.09-24.57 52.82-36.82 92.24-36.82 40.38 0 71.5 12.07 93.34 36.13 21.86 24.13 32.77 57.94 32.77 101.37 0 31.54-4.75 57.36-14.3 77.54-9.54 20.18-23.37 35.89-41.4 47.13-18.07 11.24-40.55 16.84-67.48 16.84-27.33 0-49.99-4.83-67.94-14.52-17.92-9.74-32.49-25.07-43.62-46.06-11.13-20.92-16.72-47.19-16.72-78.74zm74.89.19c0 27.21 4.57 46.81 13.68 58.68 9.13 11.88 21.57 17.85 37.26 17.85 16.1 0 28.65-5.84 37.45-17.47 8.87-11.68 13.28-32.54 13.28-62.77 0-25.39-4.63-43.92-13.84-55.61-9.26-11.76-21.75-17.6-37.56-17.6-15.13 0-27.34 5.97-36.49 17.85-9.21 11.88-13.78 31.61-13.78 59.07zm209.08-135.36h69.99l90.98 149.05V735.91h70.83v269.96h-70.83l-90.48-148.24v148.24h-70.49V735.91zm67.71-117.47h178.37c45.1 0 82 37.04 82 82v340.91c0 44.96-37.03 81.99-82 81.99h-178.37v147c0 17.5-6.99 32.99-18.5 44.5-11.5 11.49-27 18.5-44.5 18.5H62.97c-17.5 0-32.99-7-44.5-18.5-11.49-11.5-18.5-27-18.5-44.5V63.49c0-17.5 7-33 18.5-44.5S45.97.49 62.97.49H700.1c1.5-.5 3-.5 4.5-.5 7 0 14 3 19 7.49h1c1 .5 1.5 1 2.5 2l325.46 329.47c5.5 5.5 9.5 13 9.5 21.5 0 2.5-.5 4.5-1 7v250.98zM732.61 303.47V96.99l232.48 235.47H761.6c-7.99 0-14.99-3.5-20.5-8.49-4.99-5-8.49-12.5-8.49-20.5z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n\nfunction Js() {\n  return (\n    <svg\n      height=\"16\"\n      viewBox=\"0 0 50 50\"\n      width=\"16\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <path\n        d=\"M 43.335938 4 L 6.667969 4 C 5.195313 4 4 5.195313 4 6.667969 L 4 43.332031 C 4 44.804688 5.195313 46 6.667969 46 L 43.332031 46 C 44.804688 46 46 44.804688 46 43.335938 L 46 6.667969 C 46 5.195313 44.804688 4 43.335938 4 Z M 27 36.183594 C 27 40.179688 24.65625 42 21.234375 42 C 18.140625 42 15.910156 39.925781 15 38 L 18.144531 36.097656 C 18.75 37.171875 19.671875 38 21 38 C 22.269531 38 23 37.503906 23 35.574219 L 23 23 L 27 23 Z M 35.675781 42 C 32.132813 42 30.121094 40.214844 29 38 L 32 36 C 32.816406 37.335938 33.707031 38.613281 35.589844 38.613281 C 37.171875 38.613281 38 37.824219 38 36.730469 C 38 35.425781 37.140625 34.960938 35.402344 34.199219 L 34.449219 33.789063 C 31.695313 32.617188 29.863281 31.148438 29.863281 28.039063 C 29.863281 25.179688 32.046875 23 35.453125 23 C 37.878906 23 39.621094 23.84375 40.878906 26.054688 L 37.910156 27.964844 C 37.253906 26.789063 36.550781 26.328125 35.453125 26.328125 C 34.335938 26.328125 33.628906 27.039063 33.628906 27.964844 C 33.628906 29.109375 34.335938 29.570313 35.972656 30.28125 L 36.925781 30.691406 C 40.171875 32.078125 42 33.496094 42 36.683594 C 42 40.117188 39.300781 42 35.675781 42 Z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n\nfunction Ts() {\n  return (\n    <svg\n      fill=\"none\"\n      height=\"14\"\n      viewBox=\"0 0 512 512\"\n      width=\"14\"\n      xmlns=\"http://www.w3.org/2000/svg\"\n    >\n      <rect fill=\"currentColor\" height=\"512\" rx=\"50\" width=\"512\" />\n      <rect fill=\"currentColor\" height=\"512\" rx=\"50\" width=\"512\" />\n      <path\n        clipRule=\"evenodd\"\n        d=\"m316.939 407.424v50.061c8.138 4.172 17.763 7.3 28.875 9.386s22.823 3.129 35.135 3.129c11.999 0 23.397-1.147 34.196-3.442 10.799-2.294 20.268-6.075 28.406-11.342 8.138-5.266 14.581-12.15 19.328-20.65s7.121-19.007 7.121-31.522c0-9.074-1.356-17.026-4.069-23.857s-6.625-12.906-11.738-18.225c-5.112-5.319-11.242-10.091-18.389-14.315s-15.207-8.213-24.18-11.967c-6.573-2.712-12.468-5.345-17.685-7.9-5.217-2.556-9.651-5.163-13.303-7.822-3.652-2.66-6.469-5.476-8.451-8.448-1.982-2.973-2.974-6.336-2.974-10.091 0-3.441.887-6.544 2.661-9.308s4.278-5.136 7.512-7.118c3.235-1.981 7.199-3.52 11.894-4.615 4.696-1.095 9.912-1.642 15.651-1.642 4.173 0 8.581.313 13.224.938 4.643.626 9.312 1.591 14.008 2.894 4.695 1.304 9.259 2.947 13.694 4.928 4.434 1.982 8.529 4.276 12.285 6.884v-46.776c-7.616-2.92-15.937-5.084-24.962-6.492s-19.381-2.112-31.066-2.112c-11.895 0-23.163 1.278-33.805 3.833s-20.006 6.544-28.093 11.967c-8.086 5.424-14.476 12.333-19.171 20.729-4.695 8.395-7.043 18.433-7.043 30.114 0 14.914 4.304 27.638 12.912 38.172 8.607 10.533 21.675 19.45 39.204 26.751 6.886 2.816 13.303 5.579 19.25 8.291s11.086 5.528 15.415 8.448c4.33 2.92 7.747 6.101 10.252 9.543 2.504 3.441 3.756 7.352 3.756 11.733 0 3.233-.783 6.231-2.348 8.995s-3.939 5.162-7.121 7.196-7.147 3.624-11.894 4.771c-4.748 1.148-10.303 1.721-16.668 1.721-10.851 0-21.597-1.903-32.24-5.71-10.642-3.806-20.502-9.516-29.579-17.13zm-84.159-123.342h64.22v-41.082h-179v41.082h63.906v182.918h50.874z\"\n        fill=\"var(--color-background-100)\"\n        fillRule=\"evenodd\"\n      />\n    </svg>\n  )\n}\n\nfunction File() {\n  return (\n    <svg width=\"16\" height=\"17\" fill=\"none\" xmlns=\"http://www.w3.org/2000/svg\">\n      <path\n        fillRule=\"evenodd\"\n        clipRule=\"evenodd\"\n        d=\"M14.5 7v7a2.5 2.5 0 0 1-2.5 2.5H4A2.5 2.5 0 0 1 1.5 14V.5h7.586a1 1 0 0 1 .707.293l4.414 4.414a1 1 0 0 1 .293.707V7zM13 7v7a1 1 0 0 1-1 1H4a1 1 0 0 1-1-1V2h5v5h5zM9.5 2.621V5.5h2.879L9.5 2.621z\"\n        fill=\"currentColor\"\n      />\n    </svg>\n  )\n}\n\nfunction React() {\n  return (\n    <svg height=\"16\" strokeLinejoin=\"round\" viewBox=\"0 0 16 16\" width=\"16\">\n      <g clipPath=\"url(#file_react_clip0_872_3183)\">\n        <path\n          fillRule=\"evenodd\"\n          clipRule=\"evenodd\"\n          d=\"M4.5 1.93782C4.70129 1.82161 4.99472 1.7858 5.41315 1.91053C5.83298 2.03567 6.33139 2.31073 6.87627 2.73948C7.01136 2.84578 7.14803 2.96052 7.28573 3.08331C6.86217 3.53446 6.44239 4.04358 6.03752 4.60092C5.35243 4.67288 4.70164 4.78186 4.09916 4.92309C4.06167 4.74244 4.03064 4.56671 4.00612 4.39656C3.90725 3.71031 3.91825 3.14114 4.01979 2.71499C4.12099 2.29025 4.29871 2.05404 4.5 1.93782ZM7.49466 1.95361C7.66225 2.08548 7.83092 2.22804 7.99999 2.38067C8.16906 2.22804 8.33773 2.08548 8.50532 1.95361C9.10921 1.47842 9.71982 1.12549 10.3012 0.952202C10.8839 0.778496 11.4838 0.7738 12 1.0718C12.5161 1.3698 12.812 1.89169 12.953 2.48322C13.0936 3.07333 13.0932 3.77858 12.9836 4.53917C12.9532 4.75024 12.9141 4.9676 12.8665 5.19034C13.0832 5.26044 13.291 5.33524 13.489 5.41444C14.2025 5.69983 14.8134 6.05217 15.2542 6.46899C15.696 6.8868 16 7.404 16 8C16 8.596 15.696 9.11319 15.2542 9.53101C14.8134 9.94783 14.2025 10.3002 13.489 10.5856C13.291 10.6648 13.0832 10.7396 12.8665 10.8097C12.9141 11.0324 12.9532 11.2498 12.9837 11.4608C13.0932 12.2214 13.0936 12.9267 12.953 13.5168C12.812 14.1083 12.5161 14.6302 12 14.9282C11.4839 15.2262 10.8839 15.2215 10.3012 15.0478C9.71984 14.8745 9.10923 14.5216 8.50534 14.0464C8.33775 13.9145 8.16906 13.7719 7.99999 13.6193C7.83091 13.7719 7.66223 13.9145 7.49464 14.0464C6.89075 14.5216 6.28014 14.8745 5.69879 15.0478C5.11605 15.2215 4.51613 15.2262 3.99998 14.9282C3.48383 14.6302 3.18794 14.1083 3.047 13.5168C2.9064 12.9267 2.90674 12.2214 3.01632 11.4608C3.04673 11.2498 3.08586 11.0324 3.13351 10.8097C2.91679 10.7395 2.709 10.6648 2.511 10.5856C1.79752 10.3002 1.18658 9.94783 0.745833 9.53101C0.304028 9.11319 0 8.596 0 8C0 7.404 0.304028 6.8868 0.745833 6.46899C1.18658 6.05217 1.79752 5.69983 2.511 5.41444C2.709 5.33524 2.9168 5.26044 3.13352 5.19034C3.08587 4.9676 3.04675 4.75024 3.01634 4.53917C2.90676 3.77858 2.90642 3.07332 3.04702 2.48321C3.18796 1.89169 3.48385 1.3698 4 1.0718C4.51615 0.773798 5.11607 0.778495 5.69881 0.952201C6.28016 1.12549 6.89077 1.47841 7.49466 1.95361ZM7.36747 4.51025C7.57735 4.25194 7.78881 4.00927 7.99999 3.78356C8.21117 4.00927 8.42263 4.25194 8.63251 4.51025C8.42369 4.50346 8.21274 4.5 8 4.5C7.78725 4.5 7.5763 4.50345 7.36747 4.51025ZM8.71425 3.08331C9.13781 3.53447 9.55759 4.04358 9.96246 4.60092C10.6475 4.67288 11.2983 4.78186 11.9008 4.92309C11.9383 4.74244 11.9693 4.56671 11.9939 4.39657C12.0927 3.71031 12.0817 3.14114 11.9802 2.71499C11.879 2.29025 11.7013 2.05404 11.5 1.93782C11.2987 1.82161 11.0053 1.7858 10.5868 1.91053C10.167 2.03568 9.66859 2.31073 9.12371 2.73948C8.98862 2.84578 8.85196 2.96052 8.71425 3.08331ZM8 5.5C8.48433 5.5 8.95638 5.51885 9.41188 5.55456C9.67056 5.93118 9.9229 6.33056 10.1651 6.75C10.4072 7.16944 10.6269 7.58766 10.8237 7.99998C10.6269 8.41232 10.4072 8.83055 10.165 9.25C9.92288 9.66944 9.67053 10.0688 9.41185 10.4454C8.95636 10.4812 8.48432 10.5 8 10.5C7.51567 10.5 7.04363 10.4812 6.58813 10.4454C6.32945 10.0688 6.0771 9.66944 5.83494 9.25C5.59277 8.83055 5.37306 8.41232 5.17624 7.99998C5.37306 7.58765 5.59275 7.16944 5.83492 6.75C6.07708 6.33056 6.32942 5.93118 6.5881 5.55456C7.04361 5.51884 7.51566 5.5 8 5.5ZM11.0311 6.25C11.1375 6.43423 11.2399 6.61864 11.3385 6.80287C11.4572 6.49197 11.5616 6.18752 11.6515 5.89178C11.3505 5.82175 11.0346 5.75996 10.706 5.70736C10.8163 5.8848 10.9247 6.06576 11.0311 6.25ZM11.0311 9.75C11.1374 9.56576 11.2399 9.38133 11.3385 9.19709C11.4572 9.50801 11.5617 9.81246 11.6515 10.1082C11.3505 10.1782 11.0346 10.24 10.7059 10.2926C10.8162 10.1152 10.9247 9.93424 11.0311 9.75ZM11.9249 7.99998C12.2051 8.62927 12.4362 9.24738 12.6151 9.83977C12.7903 9.78191 12.958 9.72092 13.1176 9.65708C13.7614 9.39958 14.2488 9.10547 14.5671 8.80446C14.8843 8.50445 15 8.23243 15 8C15 7.76757 14.8843 7.49555 14.5671 7.19554C14.2488 6.89453 13.7614 6.60042 13.1176 6.34292C12.958 6.27907 12.7903 6.21808 12.6151 6.16022C12.4362 6.7526 12.2051 7.37069 11.9249 7.99998ZM9.96244 11.3991C10.6475 11.3271 11.2983 11.2181 11.9008 11.0769C11.9383 11.2576 11.9694 11.4333 11.9939 11.6034C12.0928 12.2897 12.0817 12.8589 11.9802 13.285C11.879 13.7098 11.7013 13.946 11.5 14.0622C11.2987 14.1784 11.0053 14.2142 10.5868 14.0895C10.167 13.9643 9.66861 13.6893 9.12373 13.2605C8.98863 13.1542 8.85196 13.0395 8.71424 12.9167C9.1378 12.4655 9.55758 11.9564 9.96244 11.3991ZM8.63249 11.4898C8.42262 11.7481 8.21116 11.9907 7.99999 12.2164C7.78881 11.9907 7.57737 11.7481 7.36749 11.4897C7.57631 11.4965 7.78726 11.5 8 11.5C8.21273 11.5 8.42367 11.4965 8.63249 11.4898ZM4.96891 9.75C5.07528 9.93424 5.18375 10.1152 5.29404 10.2926C4.9654 10.24 4.64951 10.1782 4.34844 10.1082C4.43833 9.81246 4.54276 9.508 4.66152 9.19708C4.76005 9.38133 4.86254 9.56575 4.96891 9.75ZM6.03754 11.3991C5.35244 11.3271 4.70163 11.2181 4.09914 11.0769C4.06165 11.2576 4.03062 11.4333 4.0061 11.6034C3.90723 12.2897 3.91823 12.8589 4.01977 13.285C4.12097 13.7098 4.29869 13.946 4.49998 14.0622C4.70127 14.1784 4.9947 14.2142 5.41313 14.0895C5.83296 13.9643 6.33137 13.6893 6.87625 13.2605C7.01135 13.1542 7.14802 13.0395 7.28573 12.9167C6.86217 12.4655 6.4424 11.9564 6.03754 11.3991ZM4.07507 7.99998C3.79484 8.62927 3.56381 9.24737 3.38489 9.83977C3.20969 9.78191 3.042 9.72092 2.88239 9.65708C2.23864 9.39958 1.75123 9.10547 1.43294 8.80446C1.11571 8.50445 1 8.23243 1 8C1 7.76757 1.11571 7.49555 1.43294 7.19554C1.75123 6.89453 2.23864 6.60042 2.88239 6.34292C3.042 6.27907 3.2097 6.21808 3.3849 6.16022C3.56383 6.75261 3.79484 7.37069 4.07507 7.99998ZM4.66152 6.80287C4.54277 6.49197 4.43835 6.18752 4.34846 5.89178C4.64952 5.82175 4.96539 5.75996 5.29402 5.70736C5.18373 5.8848 5.07526 6.06576 4.96889 6.25C4.86253 6.43423 4.76005 6.61864 4.66152 6.80287ZM9.25 8C9.25 8.69036 8.69036 9.25 8 9.25C7.30964 9.25 6.75 8.69036 6.75 8C6.75 7.30965 7.30964 6.75 8 6.75C8.69036 6.75 9.25 7.30965 9.25 8Z\"\n          fill=\"currentColor\"\n        />\n      </g>\n      <defs>\n        <clipPath id=\"file_react_clip0_872_3183\">\n          <rect width=\"16\" height=\"16\" fill=\"white\"></rect>\n        </clipPath>\n      </defs>\n    </svg>\n  )\n}\n","import { useSyncExternalStore } from 'react'\nimport type { SegmentNodeState } from '../userspace/app/segment-explorer-node'\n\n/**\n * Trie data structure for storing and searching paths\n *\n * This can be used to store app router paths and search for them efficiently.\n * e.g.\n *\n * [trie root]\n *   ├── layout.js\n *   ├── page.js\n *   ├── blog\n *       ├── layout.js\n *       ├── page.js\n *       ├── [slug]\n *          ├── layout.js\n *          ├── page.js\n **/\n\ntype TrieNode<Value = string> = {\n  value: Value | undefined\n  children: {\n    [key: string]: TrieNode<Value> | undefined\n  }\n}\n\ntype Trie<Value = string> = {\n  insert: (value: Value) => void\n  remove: (value: Value) => void\n  getRoot: () => TrieNode<Value>\n}\n\nconst listeners = new Set<() => void>()\nconst createSegmentTreeStore = (): {\n  subscribe: (callback: () => void) => () => void\n  getSnapshot: () => SegmentTrieNode\n  getServerSnapshot: () => SegmentTrieNode\n} => {\n  // return a store that can be used by useSyncExternalStore\n  return {\n    subscribe: (callback) => {\n      listeners.add(callback)\n      return () => listeners.delete(callback)\n    },\n    getSnapshot: () => {\n      return trie.getRoot()\n    },\n    getServerSnapshot: () => {\n      return trie.getRoot()\n    },\n  }\n}\n\n// TODO: Move the Segment Tree into React State\nconst { subscribe, getSnapshot, getServerSnapshot } = createSegmentTreeStore()\n\nfunction createTrie<Value = string>({\n  getCharacters = (item: Value) => [item] as string[],\n  compare = (a: Value | undefined, b: Value | undefined) => a === b,\n}: {\n  getCharacters?: (item: Value) => string[]\n  compare?: (a: Value | undefined, b: Value | undefined) => boolean\n}): Trie<Value> {\n  // Null-prototype children so segment names that collide with\n  // Object.prototype members (e.g. \"constructor\", \"toString\") work correctly.\n  let root: TrieNode<Value> = {\n    value: undefined,\n    children: Object.create(null),\n  }\n\n  function markUpdated() {\n    for (const listener of listeners) {\n      listener()\n    }\n  }\n\n  function insert(value: Value) {\n    let currentNode = root\n    const segments = getCharacters(value)\n\n    for (const segment of segments) {\n      if (!currentNode.children[segment]) {\n        currentNode.children[segment] = {\n          value: undefined,\n          // Skip value for intermediate nodes\n          children: Object.create(null),\n        }\n      }\n      currentNode = currentNode.children[segment]\n    }\n\n    currentNode.value = value\n\n    root = { ...root }\n    markUpdated()\n  }\n\n  function remove(value: Value) {\n    let currentNode = root\n    const segments = getCharacters(value)\n\n    const stack: TrieNode<Value>[] = []\n    let found = true\n    for (const segment of segments) {\n      if (!currentNode.children[segment]) {\n        found = false\n        break\n      }\n      stack.push(currentNode)\n      currentNode = currentNode.children[segment]!\n    }\n    // If the value is not found, skip removal\n    if (!found || !compare(currentNode.value, value)) {\n      return\n    }\n    currentNode.value = undefined\n    for (let i = stack.length - 1; i >= 0; i--) {\n      const parentNode = stack[i]\n      const segment = segments[i]\n      if (Object.keys(parentNode.children[segment]!.children).length === 0) {\n        delete parentNode.children[segment]\n      }\n    }\n\n    root = { ...root }\n    markUpdated()\n  }\n\n  function getRoot(): TrieNode<Value> {\n    return root\n  }\n\n  return { insert, remove, getRoot }\n}\n\ntype SegmentTrie = Trie<SegmentNodeState>\nexport type SegmentTrieNode = TrieNode<SegmentNodeState>\n\nconst trie: SegmentTrie = createTrie({\n  compare: (a, b) => {\n    if (!a || !b) return false\n    return (\n      a.pagePath === b.pagePath &&\n      a.type === b.type &&\n      a.boundaryType === b.boundaryType\n    )\n  },\n  getCharacters: (item) => item.pagePath.split('/'),\n})\nexport const insertSegmentNode = trie.insert\nexport const removeSegmentNode = trie.remove\nexport const getSegmentTrieRoot = trie.getRoot\n\nexport function useSegmentTree(): SegmentTrieNode {\n  const state = useSyncExternalStore(subscribe, getSnapshot, getServerSnapshot)\n  return state\n}\n","// To distinguish from React error.digest, we use a different symbol here to determine if the error is from console.error or unhandled promise rejection.\nconst digestSym = Symbol.for('next.console.error.digest')\n\n// Represent non Error shape unhandled promise rejections or console.error errors.\n// Those errors will be captured and displayed in Error Overlay.\ntype ConsoleError = Error & {\n  [digestSym]: 'NEXT_CONSOLE_ERROR'\n  environmentName: string\n}\n\nexport function createConsoleError(\n  message: string | Error,\n  environmentName?: string | null\n): ConsoleError {\n  const error = (\n    typeof message === 'string' ? new Error(message) : message\n  ) as ConsoleError\n  error[digestSym] = 'NEXT_CONSOLE_ERROR'\n\n  if (environmentName && !error.environmentName) {\n    error.environmentName = environmentName\n  }\n\n  return error\n}\n\nexport const isConsoleError = (error: any): error is ConsoleError => {\n  return error && error[digestSym] === 'NEXT_CONSOLE_ERROR'\n}\n","import { normalizeAppPath } from './app-paths'\n\n// order matters here, the first match will be used\nexport const INTERCEPTION_ROUTE_MARKERS = [\n  '(..)(..)',\n  '(.)',\n  '(..)',\n  '(...)',\n] as const\n\nexport type InterceptionMarker = (typeof INTERCEPTION_ROUTE_MARKERS)[number]\n\nexport function isInterceptionRouteAppPath(path: string): boolean {\n  // TODO-APP: add more serious validation\n  return (\n    path\n      .split('/')\n      .find((segment) =>\n        INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n      ) !== undefined\n  )\n}\n\ntype InterceptionRouteInformation = {\n  /**\n   * The intercepting route. This is the route that is being intercepted or the\n   * route that the user was coming from. This is matched by the Next-Url\n   * header.\n   */\n  interceptingRoute: string\n\n  /**\n   * The intercepted route. This is the route that is being intercepted or the\n   * route that the user is going to. This is matched by the request pathname.\n   */\n  interceptedRoute: string\n}\n\nexport function extractInterceptionRouteInformation(\n  path: string\n): InterceptionRouteInformation {\n  let interceptingRoute: string | undefined\n  let marker: (typeof INTERCEPTION_ROUTE_MARKERS)[number] | undefined\n  let interceptedRoute: string | undefined\n\n  for (const segment of path.split('/')) {\n    marker = INTERCEPTION_ROUTE_MARKERS.find((m) => segment.startsWith(m))\n    if (marker) {\n      ;[interceptingRoute, interceptedRoute] = path.split(marker, 2)\n      break\n    }\n  }\n\n  if (!interceptingRoute || !marker || !interceptedRoute) {\n    throw new Error(\n      `Invalid interception route: ${path}. Must be in the format /<intercepting route>/(..|...|..)(..)/<intercepted route>`\n    )\n  }\n\n  interceptingRoute = normalizeAppPath(interceptingRoute) // normalize the path, e.g. /(blog)/feed -> /feed\n\n  switch (marker) {\n    case '(.)':\n      // (.) indicates that we should match with sibling routes, so we just need to append the intercepted route to the intercepting route\n      if (interceptingRoute === '/') {\n        interceptedRoute = `/${interceptedRoute}`\n      } else {\n        interceptedRoute = interceptingRoute + '/' + interceptedRoute\n      }\n      break\n    case '(..)':\n      // (..) indicates that we should match at one level up, so we need to remove the last segment of the intercepting route\n      if (interceptingRoute === '/') {\n        throw new Error(\n          `Invalid interception route: ${path}. Cannot use (..) marker at the root level, use (.) instead.`\n        )\n      }\n      interceptedRoute = interceptingRoute\n        .split('/')\n        .slice(0, -1)\n        .concat(interceptedRoute)\n        .join('/')\n      break\n    case '(...)':\n      // (...) will match the route segment in the root directory, so we need to use the root directory to prepend the intercepted route\n      interceptedRoute = '/' + interceptedRoute\n      break\n    case '(..)(..)':\n      // (..)(..) indicates that we should match at two levels up, so we need to remove the last two segments of the intercepting route\n\n      const splitInterceptingRoute = interceptingRoute.split('/')\n      if (splitInterceptingRoute.length <= 2) {\n        throw new Error(\n          `Invalid interception route: ${path}. Cannot use (..)(..) marker at the root level or one level up.`\n        )\n      }\n\n      interceptedRoute = splitInterceptingRoute\n        .slice(0, -2)\n        .concat(interceptedRoute)\n        .join('/')\n      break\n    default:\n      throw new Error('Invariant: unexpected marker')\n  }\n\n  return { interceptingRoute, interceptedRoute }\n}\n","import {\n  extractInterceptionRouteInformation,\n  isInterceptionRouteAppPath,\n} from './interception-routes'\n\n// Identify /.*[param].*/ in route string\nconst TEST_ROUTE = /\\/[^/]*\\[[^/]+\\][^/]*(?=\\/|$)/\n\n// Identify /[param]/ in route string\nconst TEST_STRICT_ROUTE = /\\/\\[[^/]+\\](?=\\/|$)/\n\n/**\n * Check if a route is dynamic.\n *\n * @param route - The route to check.\n * @param strict - Whether to use strict mode which prohibits segments with prefixes/suffixes (default: true).\n * @returns Whether the route is dynamic.\n */\nexport function isDynamicRoute(route: string, strict: boolean = true): boolean {\n  if (isInterceptionRouteAppPath(route)) {\n    route = extractInterceptionRouteInformation(route).interceptedRoute\n  }\n\n  if (strict) {\n    return TEST_STRICT_ROUTE.test(route)\n  }\n\n  return TEST_ROUTE.test(route)\n}\n","import type { ServerRuntime } from '../types'\n\nexport const TEXT_PLAIN_CONTENT_TYPE_HEADER = 'text/plain'\nexport const HTML_CONTENT_TYPE_HEADER = 'text/html; charset=utf-8'\nexport const JSON_CONTENT_TYPE_HEADER = 'application/json; charset=utf-8'\nexport const NEXT_QUERY_PARAM_PREFIX = 'nxtP'\nexport const NEXT_INTERCEPTION_MARKER_PREFIX = 'nxtI'\n\nexport const MATCHED_PATH_HEADER = 'x-matched-path'\nexport const PRERENDER_REVALIDATE_HEADER = 'x-prerender-revalidate'\nexport const PRERENDER_REVALIDATE_ONLY_GENERATED_HEADER =\n  'x-prerender-revalidate-if-generated'\n\nexport const RSC_SEGMENTS_DIR_SUFFIX = '.segments'\nexport const RSC_SEGMENT_SUFFIX = '.segment.rsc'\nexport const RSC_SUFFIX = '.rsc'\nexport const ACTION_SUFFIX = '.action'\nexport const NEXT_DATA_SUFFIX = '.json'\nexport const NEXT_META_SUFFIX = '.meta'\nexport const NEXT_BODY_SUFFIX = '.body'\n\nexport const NEXT_NAV_DEPLOYMENT_ID_HEADER = 'x-nextjs-deployment-id'\n\nexport const NEXT_CACHE_TAGS_HEADER = 'x-next-cache-tags'\nexport const NEXT_CACHE_REVALIDATED_TAGS_HEADER = 'x-next-revalidated-tags'\nexport const NEXT_CACHE_REVALIDATE_TAG_TOKEN_HEADER =\n  'x-next-revalidate-tag-token'\n\nexport const NEXT_RESUME_HEADER = 'next-resume'\nexport const NEXT_RESUME_STATE_LENGTH_HEADER = 'x-next-resume-state-length'\n\n// if these change make sure we update the related\n// documentation as well\nexport const NEXT_CACHE_TAG_MAX_ITEMS = 128\nexport const NEXT_CACHE_TAG_MAX_LENGTH = 256\nexport const NEXT_CACHE_SOFT_TAG_MAX_LENGTH = 1024\nexport const NEXT_CACHE_IMPLICIT_TAG_ID = '_N_T_'\nexport const NEXT_CACHE_ROOT_PARAM_TAG_ID = '_N_RP_'\n\n// in seconds\nexport const CACHE_ONE_YEAR_SECONDS = 31536000\n\n// in seconds, represents revalidate=false. I.e. never revaliate.\n// We use this value since it can be represented as a V8 SMI for optimal performance.\n// It can also be serialized as JSON if it ever leaks accidentally as an actual value.\nexport const INFINITE_CACHE = 0xfffffffe\n\n// Patterns to detect middleware files\nexport const MIDDLEWARE_FILENAME = 'middleware'\nexport const MIDDLEWARE_LOCATION_REGEXP = `(?:src/)?${MIDDLEWARE_FILENAME}`\n\n// Patterns to detect proxy files (replacement for middleware)\nexport const PROXY_FILENAME = 'proxy'\nexport const PROXY_LOCATION_REGEXP = `(?:src/)?${PROXY_FILENAME}`\n\n// Pattern to detect instrumentation hooks file\nexport const INSTRUMENTATION_HOOK_FILENAME = 'instrumentation'\n\n// Because on Windows absolute paths in the generated code can break because of numbers, eg 1 in the path,\n// we have to use a private alias\nexport const PAGES_DIR_ALIAS = 'private-next-pages'\nexport const DOT_NEXT_ALIAS = 'private-dot-next'\nexport const ROOT_DIR_ALIAS = 'private-next-root-dir'\nexport const APP_DIR_ALIAS = 'private-next-app-dir'\nexport const RSC_MOD_REF_PROXY_ALIAS = 'private-next-rsc-mod-ref-proxy'\nexport const RSC_ACTION_VALIDATE_ALIAS = 'private-next-rsc-action-validate'\nexport const RSC_ACTION_PROXY_ALIAS = 'private-next-rsc-server-reference'\nexport const RSC_CACHE_WRAPPER_ALIAS = 'private-next-rsc-cache-wrapper'\nexport const RSC_DYNAMIC_IMPORT_WRAPPER_ALIAS =\n  'private-next-rsc-track-dynamic-import'\nexport const RSC_ACTION_ENCRYPTION_ALIAS = 'private-next-rsc-action-encryption'\nexport const RSC_ACTION_CLIENT_WRAPPER_ALIAS =\n  'private-next-rsc-action-client-wrapper'\n\nexport const PUBLIC_DIR_MIDDLEWARE_CONFLICT = `You can not have a '_next' folder inside of your public folder. This conflicts with the internal '/_next' route. https://nextjs.org/docs/messages/public-next-folder-conflict`\n\nexport const SSG_GET_INITIAL_PROPS_CONFLICT = `You can not use getInitialProps with getStaticProps. To use SSG, please remove your getInitialProps`\n\nexport const SERVER_PROPS_GET_INIT_PROPS_CONFLICT = `You can not use getInitialProps with getServerSideProps. Please remove getInitialProps.`\n\nexport const SERVER_PROPS_SSG_CONFLICT = `You can not use getStaticProps or getStaticPaths with getServerSideProps. To use SSG, please remove getServerSideProps`\n\nexport const STATIC_STATUS_PAGE_GET_INITIAL_PROPS_ERROR = `can not have getInitialProps/getServerSideProps, https://nextjs.org/docs/messages/404-get-initial-props`\n\nexport const SERVER_PROPS_EXPORT_ERROR = `pages with \\`getServerSideProps\\` can not be exported. See more info here: https://nextjs.org/docs/messages/gssp-export`\n\nexport const GSP_NO_RETURNED_VALUE =\n  'Your `getStaticProps` function did not return an object. Did you forget to add a `return`?'\nexport const GSSP_NO_RETURNED_VALUE =\n  'Your `getServerSideProps` function did not return an object. Did you forget to add a `return`?'\n\nexport const UNSTABLE_REVALIDATE_RENAME_ERROR =\n  'The `unstable_revalidate` property is available for general use.\\n' +\n  'Please use `revalidate` instead.'\n\nexport const GSSP_COMPONENT_MEMBER_ERROR = `can not be attached to a page's component and must be exported from the page. See more info here: https://nextjs.org/docs/messages/gssp-component-member`\n\nexport const NON_STANDARD_NODE_ENV = `You are using a non-standard \"NODE_ENV\" value in your environment. This creates inconsistencies in the project and is strongly advised against. Read more: https://nextjs.org/docs/messages/non-standard-node-env`\n\nexport const SSG_FALLBACK_EXPORT_ERROR = `Pages with \\`fallback\\` enabled in \\`getStaticPaths\\` can not be exported. See more info here: https://nextjs.org/docs/messages/ssg-fallback-true-export`\n\nexport const ESLINT_DEFAULT_DIRS = ['app', 'pages', 'components', 'lib', 'src']\n\nexport const SERVER_RUNTIME: Record<string, ServerRuntime> = {\n  edge: 'edge',\n  experimentalEdge: 'experimental-edge',\n  nodejs: 'nodejs',\n}\n\nexport const WEB_SOCKET_MAX_RECONNECTIONS = 12\n\n/**\n * The names of the webpack layers. These layers are the primitives for the\n * webpack chunks.\n */\nconst WEBPACK_LAYERS_NAMES = {\n  /**\n   * The layer for the shared code between the client and server bundles.\n   */\n  shared: 'shared',\n  /**\n   * The layer for server-only runtime and picking up `react-server` export conditions.\n   * Including app router RSC pages and app router custom routes and metadata routes.\n   */\n  reactServerComponents: 'rsc',\n  /**\n   * Server Side Rendering layer for app (ssr).\n   */\n  serverSideRendering: 'ssr',\n  /**\n   * The browser client bundle layer for actions.\n   */\n  actionBrowser: 'action-browser',\n  /**\n   * The Node.js bundle layer for the API routes.\n   */\n  apiNode: 'api-node',\n  /**\n   * The Edge Lite bundle layer for the API routes.\n   */\n  apiEdge: 'api-edge',\n  /**\n   * The layer for the middleware code.\n   */\n  middleware: 'middleware',\n  /**\n   * The layer for the instrumentation hooks.\n   */\n  instrument: 'instrument',\n  /**\n   * The layer for assets on the edge.\n   */\n  edgeAsset: 'edge-asset',\n  /**\n   * The browser client bundle layer for App directory.\n   */\n  appPagesBrowser: 'app-pages-browser',\n  /**\n   * The browser client bundle layer for Pages directory.\n   */\n  pagesDirBrowser: 'pages-dir-browser',\n  /**\n   * The Edge Lite bundle layer for Pages directory.\n   */\n  pagesDirEdge: 'pages-dir-edge',\n  /**\n   * The Node.js bundle layer for Pages directory.\n   */\n  pagesDirNode: 'pages-dir-node',\n} as const\n\nexport type WebpackLayerName =\n  (typeof WEBPACK_LAYERS_NAMES)[keyof typeof WEBPACK_LAYERS_NAMES]\n\nconst WEBPACK_LAYERS = {\n  ...WEBPACK_LAYERS_NAMES,\n  GROUP: {\n    builtinReact: [\n      WEBPACK_LAYERS_NAMES.reactServerComponents,\n      WEBPACK_LAYERS_NAMES.actionBrowser,\n    ],\n    serverOnly: [\n      WEBPACK_LAYERS_NAMES.reactServerComponents,\n      WEBPACK_LAYERS_NAMES.actionBrowser,\n      WEBPACK_LAYERS_NAMES.instrument,\n      WEBPACK_LAYERS_NAMES.middleware,\n    ],\n    neutralTarget: [\n      // pages api\n      WEBPACK_LAYERS_NAMES.apiNode,\n      WEBPACK_LAYERS_NAMES.apiEdge,\n    ],\n    clientOnly: [\n      WEBPACK_LAYERS_NAMES.serverSideRendering,\n      WEBPACK_LAYERS_NAMES.appPagesBrowser,\n    ],\n    bundled: [\n      WEBPACK_LAYERS_NAMES.reactServerComponents,\n      WEBPACK_LAYERS_NAMES.actionBrowser,\n      WEBPACK_LAYERS_NAMES.serverSideRendering,\n      WEBPACK_LAYERS_NAMES.appPagesBrowser,\n      WEBPACK_LAYERS_NAMES.shared,\n      WEBPACK_LAYERS_NAMES.instrument,\n      WEBPACK_LAYERS_NAMES.middleware,\n    ],\n    appPages: [\n      // app router pages and layouts\n      WEBPACK_LAYERS_NAMES.reactServerComponents,\n      WEBPACK_LAYERS_NAMES.serverSideRendering,\n      WEBPACK_LAYERS_NAMES.appPagesBrowser,\n      WEBPACK_LAYERS_NAMES.actionBrowser,\n    ],\n  },\n}\n\nconst WEBPACK_RESOURCE_QUERIES = {\n  edgeSSREntry: '__next_edge_ssr_entry__',\n  metadata: '__next_metadata__',\n  metadataRoute: '__next_metadata_route__',\n  metadataImageMeta: '__next_metadata_image_meta__',\n}\n\nexport { WEBPACK_LAYERS, WEBPACK_RESOURCE_QUERIES }\n","// regexp is based on https://github.com/sindresorhus/escape-string-regexp\nconst reHasRegExp = /[|\\\\{}()[\\]^$+*?.-]/\nconst reReplaceRegExp = /[|\\\\{}()[\\]^$+*?.-]/g\n\nexport function escapeStringRegexp(str: string) {\n  // see also: https://github.com/lodash/lodash/blob/2da024c3b4f9947a48517639de7560457cd4ec6c/escapeRegExp.js#L23\n  if (reHasRegExp.test(str)) {\n    return str.replace(reReplaceRegExp, '\\\\$&')\n  }\n  return str\n}\n","import type { DynamicParam } from '../../../../server/app-render/app-render'\nimport type { LoaderTree } from '../../../../server/lib/app-dir-module'\nimport type { OpaqueFallbackRouteParams } from '../../../../server/request/fallback-params'\nimport type { Params } from '../../../../server/request/params'\nimport type { DynamicParamTypesShort } from '../../app-router-types'\nimport { InvariantError } from '../../invariant-error'\nimport { parseLoaderTree } from './parse-loader-tree'\nimport { parseNormalizedAppRoute, parseAppRouteSegment } from '../routes/app'\nimport { resolveParamValue } from './resolve-param-value'\n\n/**\n * Gets the value of a param from the params object. This correctly handles the\n * case where the param is a fallback route param and encodes the resulting\n * value.\n *\n * @param interpolatedParams - The params object.\n * @param segmentKey - The key of the segment.\n * @param fallbackRouteParams - The fallback route params.\n * @returns The value of the param.\n */\nfunction getParamValue(\n  interpolatedParams: Params,\n  segmentKey: string,\n  fallbackRouteParams: OpaqueFallbackRouteParams | null\n) {\n  let value = interpolatedParams[segmentKey]\n\n  if (fallbackRouteParams?.has(segmentKey)) {\n    // We know that the fallback route params has the segment key because we\n    // checked that above.\n    const [searchValue] = fallbackRouteParams.get(segmentKey)!\n    value = searchValue\n  } else if (Array.isArray(value)) {\n    value = value.map((i) => encodeURIComponent(i))\n  } else if (typeof value === 'string') {\n    value = encodeURIComponent(value)\n  }\n\n  return value\n}\n\nexport function interpolateParallelRouteParams(\n  loaderTree: LoaderTree,\n  params: Params,\n  pagePath: string,\n  fallbackRouteParams: OpaqueFallbackRouteParams | null\n): Params {\n  const interpolated = structuredClone(params)\n\n  // Stack-based traversal with depth tracking\n  const stack: Array<{ tree: LoaderTree; depth: number }> = [\n    { tree: loaderTree, depth: 0 },\n  ]\n\n  // Parse the route from the provided page path.\n  const route = parseNormalizedAppRoute(pagePath)\n\n  while (stack.length > 0) {\n    const { tree, depth } = stack.pop()!\n    const { segment, parallelRoutes } = parseLoaderTree(tree)\n\n    const appSegment = parseAppRouteSegment(segment)\n\n    if (\n      appSegment?.type === 'dynamic' &&\n      !interpolated.hasOwnProperty(appSegment.param.paramName) &&\n      // If the param is in the fallback route params, we don't need to\n      // interpolate it because it's already marked as being unknown.\n      !fallbackRouteParams?.has(appSegment.param.paramName)\n    ) {\n      const { paramName, paramType } = appSegment.param\n\n      const paramValue = resolveParamValue(\n        paramName,\n        paramType,\n        depth,\n        route,\n        interpolated\n      )\n\n      if (paramValue !== undefined) {\n        interpolated[paramName] = paramValue\n      } else if (paramType !== 'optional-catchall') {\n        throw new InvariantError(\n          `Could not resolve param value for segment: ${paramName}`\n        )\n      }\n    }\n\n    // Calculate next depth - increment if this is not a route group and not empty\n    let nextDepth = depth\n    if (\n      appSegment &&\n      appSegment.type !== 'route-group' &&\n      appSegment.type !== 'parallel-route'\n    ) {\n      nextDepth++\n    }\n\n    // Add all parallel routes to the stack for processing\n    for (const parallelRoute of Object.values(parallelRoutes)) {\n      stack.push({ tree: parallelRoute, depth: nextDepth })\n    }\n  }\n\n  return interpolated\n}\n\n/**\n *\n * Shared logic on client and server for creating a dynamic param value.\n *\n * This code needs to be shared with the client so it can extract dynamic route\n * params from the URL without a server request.\n *\n * Because everything in this module is sent to the client, we should aim to\n * keep this code as simple as possible. The special case handling for catchall\n * and optional is, alas, unfortunate.\n */\nexport function getDynamicParam(\n  interpolatedParams: Params,\n  segmentKey: string,\n  dynamicParamType: DynamicParamTypesShort,\n  fallbackRouteParams: OpaqueFallbackRouteParams | null,\n  staticSiblings: readonly string[] | null\n): DynamicParam {\n  let value: string | string[] | undefined = getParamValue(\n    interpolatedParams,\n    segmentKey,\n    fallbackRouteParams\n  )\n\n  // handle the case where an optional catchall does not have a value,\n  // e.g. `/dashboard/[[...slug]]` when requesting `/dashboard`\n  if (!value || value.length === 0) {\n    if (dynamicParamType === 'oc') {\n      return {\n        param: segmentKey,\n        value: null,\n        type: dynamicParamType,\n        treeSegment: [segmentKey, '', dynamicParamType, staticSiblings],\n      }\n    }\n\n    throw new InvariantError(\n      `Missing value for segment key: \"${segmentKey}\" with dynamic param type: ${dynamicParamType}`\n    )\n  }\n\n  const paramCacheKey = Array.isArray(value) ? value.join('/') : value\n\n  return {\n    param: segmentKey,\n    // The value that is passed to user code.\n    value,\n    // The value that is rendered in the router tree.\n    // TODO: If the number of static siblings exceeds some threshold (e.g.,\n    // dozens or hundreds), consider sending a Bloom filter instead of the full\n    // array to reduce payload size. The client would then use the Bloom filter\n    // to check membership with a small false positive rate.\n    treeSegment: [segmentKey, paramCacheKey, dynamicParamType, staticSiblings],\n    type: dynamicParamType,\n  }\n}\n\n/**\n * Regular expression pattern used to match route parameters.\n * Matches both single parameters and parameter groups.\n * Examples:\n *   - `[[...slug]]` matches parameter group with key 'slug', repeat: true, optional: true\n *   - `[...slug]` matches parameter group with key 'slug', repeat: true, optional: false\n *   - `[[foo]]` matches parameter with key 'foo', repeat: false, optional: true\n *   - `[bar]` matches parameter with key 'bar', repeat: false, optional: false\n */\nexport const PARAMETER_PATTERN = /^([^[]*)\\[((?:\\[[^\\]]*\\])|[^\\]]+)\\](.*)$/\n\n/**\n * Parses a given parameter from a route to a data structure that can be used\n * to generate the parametrized route.\n * Examples:\n *   - `[[...slug]]` -> `{ key: 'slug', repeat: true, optional: true }`\n *   - `[...slug]` -> `{ key: 'slug', repeat: true, optional: false }`\n *   - `[[foo]]` -> `{ key: 'foo', repeat: false, optional: true }`\n *   - `[bar]` -> `{ key: 'bar', repeat: false, optional: false }`\n *   - `fizz` -> `{ key: 'fizz', repeat: false, optional: false }`\n * @param param - The parameter to parse.\n * @returns The parsed parameter as a data structure.\n */\nexport function parseParameter(param: string) {\n  const match = param.match(PARAMETER_PATTERN)\n\n  if (!match) {\n    return parseMatchedParameter(param)\n  }\n\n  return parseMatchedParameter(match[2])\n}\n\n/**\n * Parses a matched parameter from the PARAMETER_PATTERN regex to a data structure that can be used\n * to generate the parametrized route.\n * Examples:\n *   - `[...slug]` -> `{ key: 'slug', repeat: true, optional: true }`\n *   - `...slug` -> `{ key: 'slug', repeat: true, optional: false }`\n *   - `[foo]` -> `{ key: 'foo', repeat: false, optional: true }`\n *   - `bar` -> `{ key: 'bar', repeat: false, optional: false }`\n * @param param - The matched parameter to parse.\n * @returns The parsed parameter as a data structure.\n */\nexport function parseMatchedParameter(param: string) {\n  const optional = param.startsWith('[') && param.endsWith(']')\n  if (optional) {\n    param = param.slice(1, -1)\n  }\n  const repeat = param.startsWith('...')\n  if (repeat) {\n    param = param.slice(3)\n  }\n  return { key: param, repeat, optional }\n}\n","import { useReducer } from 'react'\n\nimport type { FlightRouterState } from '../../shared/lib/app-router-types'\nimport type { VersionInfo } from '../../server/dev/parse-version-info'\nimport type { SupportedErrorEvent } from './container/runtime-error/render-error'\nimport type { DebugInfo } from '../shared/types'\nimport type { DevIndicatorServerState } from '../../server/dev/dev-indicator-server-state'\nimport { parseStack } from '../../server/lib/parse-stack'\nimport { isConsoleError } from '../shared/console-error'\nimport type { CacheIndicatorState } from './cache-indicator'\nimport type {\n  RequestInsight,\n  RequestInsightsSnapshot,\n} from '../shared/request-insights'\nimport { getRequestInsightKey } from '../shared/request-insights'\nimport { readInstantNavCookieState } from './components/instant-navs/instant-nav-cookie'\nimport { isBlockingRouteInNavError } from './container/errors'\nimport { isDynamicRoute } from '../../shared/lib/router/utils/is-dynamic'\nimport { getRouteRegex } from '../../shared/lib/router/utils/route-regex'\n\nexport type DevToolsConfig = {\n  theme?: 'light' | 'dark' | 'system'\n  disableDevIndicator?: boolean\n  devToolsPosition?: 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'\n  devToolsPanelPosition?: Record<\n    string,\n    'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'\n  >\n  devToolsPanelSize?: Record<string, { width: number; height: number }>\n  scale?: number\n  hideShortcut?: string | null\n  requestInsights?: {\n    showInternal?: boolean\n    verbose?: boolean\n  }\n}\n\nexport type Corners = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right'\nexport type DevToolsIndicatorPosition = Corners\n\nconst BASE_SIZE = 16\n\nexport const NEXT_DEV_TOOLS_SCALE = {\n  Small: BASE_SIZE / 14,\n  Medium: BASE_SIZE / 16,\n  Large: BASE_SIZE / 18,\n}\n\nexport type DevToolsScale =\n  (typeof NEXT_DEV_TOOLS_SCALE)[keyof typeof NEXT_DEV_TOOLS_SCALE]\n\ntype FastRefreshState =\n  /** No refresh in progress. */\n  | { type: 'idle' }\n  /** The refresh process has been triggered, but the new code has not been executed yet. */\n  | { type: 'pending'; errors: readonly SupportedErrorEvent[] }\n\nexport interface OverlayState {\n  readonly nextId: number\n  readonly buildError: string | null\n  readonly errors: readonly SupportedErrorEvent[]\n  readonly refreshState: FastRefreshState\n  readonly versionInfo: VersionInfo\n  readonly notFound: boolean\n  readonly buildingIndicator: boolean\n  readonly renderingIndicator: boolean\n  readonly cacheIndicator: CacheIndicatorState\n  readonly staticIndicator: 'pending' | 'static' | 'dynamic' | 'disabled'\n  readonly showIndicator: boolean\n  readonly disableDevIndicator: boolean\n  readonly debugInfo: DebugInfo\n  readonly routerType: 'pages' | 'app'\n  /** This flag is used to handle the Error Overlay state in the \"old\" overlay.\n   *  In the DevTools panel, this value will used for the \"Error Overlay Mode\"\n   *  which is viewing the \"Issues Tab\" as a fullscreen.\n   */\n  readonly isErrorOverlayOpen: boolean\n  readonly devToolsPosition: Corners\n  readonly devToolsPanelPosition: Readonly<Record<DevtoolsPanelName, Corners>>\n  readonly devToolsPanelSize: Readonly<\n    Record<DevtoolsPanelName, { width: number; height: number }>\n  >\n  readonly scale: number\n  readonly page: string\n  readonly tree: FlightRouterState | null\n  readonly theme: 'light' | 'dark' | 'system'\n  readonly hideShortcut: string | null\n  readonly instantNavs: boolean\n  readonly requestInsights: readonly RequestInsight[]\n  readonly requestInsightsConfig: Readonly<{\n    showInternal: boolean\n    verbose: boolean\n  }>\n}\ntype DevtoolsPanelName = string\nexport type OverlayDispatch = React.Dispatch<DispatcherEvent>\n\nexport const ACTION_CACHE_INDICATOR = 'cache-indicator'\nexport const ACTION_STATIC_INDICATOR = 'static-indicator'\nexport const ACTION_BUILD_OK = 'build-ok'\nexport const ACTION_BUILD_ERROR = 'build-error'\nexport const ACTION_BEFORE_REFRESH = 'before-fast-refresh'\nexport const ACTION_REFRESH = 'fast-refresh'\nexport const ACTION_VERSION_INFO = 'version-info'\nexport const ACTION_UNHANDLED_ERROR = 'unhandled-error'\nexport const ACTION_UNHANDLED_REJECTION = 'unhandled-rejection'\nexport const ACTION_DEBUG_INFO = 'debug-info'\nexport const ACTION_DEV_INDICATOR = 'dev-indicator'\nexport const ACTION_DEV_INDICATOR_SET = 'dev-indicator-disable'\n\nexport const ACTION_ERROR_OVERLAY_OPEN = 'error-overlay-open'\nexport const ACTION_ERROR_OVERLAY_CLOSE = 'error-overlay-close'\nexport const ACTION_ERROR_OVERLAY_TOGGLE = 'error-overlay-toggle'\n\nexport const ACTION_BUILDING_INDICATOR_SHOW = 'building-indicator-show'\nexport const ACTION_BUILDING_INDICATOR_HIDE = 'building-indicator-hide'\nexport const ACTION_RENDERING_INDICATOR_SHOW = 'rendering-indicator-show'\nexport const ACTION_RENDERING_INDICATOR_HIDE = 'rendering-indicator-hide'\n\nexport const ACTION_DEVTOOLS_POSITION = 'devtools-position'\nexport const ACTION_DEVTOOLS_PANEL_POSITION = 'devtools-panel-position'\nexport const ACTION_DEVTOOLS_SCALE = 'devtools-scale'\n\nexport const ACTION_DEVTOOLS_CONFIG = 'devtools-config'\nexport const ACTION_INSTANT_NAVS_TOGGLE = 'instant-navs-toggle'\nexport const ACTION_INSTANT_NAVS_RESET = 'instant-navs-reset'\nexport const ACTION_INSTANT_ERRORS_CLEAR = 'instant-errors-clear'\nexport const ACTION_REQUEST_INSIGHTS_SNAPSHOT = 'request-insights-snapshot'\nexport const ACTION_REQUEST_INSIGHTS_UPDATE = 'request-insights-update'\n\nexport function updateRequestInsights(\n  currentRequests: readonly RequestInsight[],\n  insight: RequestInsight\n): RequestInsight[] {\n  const insightKey = getRequestInsightKey(insight)\n  const requests = currentRequests.filter(\n    (request) => getRequestInsightKey(request) !== insightKey\n  )\n  requests.push(insight)\n  return requests.slice(-100)\n}\n\nexport const STORAGE_KEY_PANEL_POSITION_PREFIX =\n  '__nextjs-dev-tools-panel-position'\nexport const STORE_KEY_PANEL_SIZE_PREFIX = '__nextjs-dev-tools-panel-size'\nexport const STORE_KEY_SHARED_PANEL_SIZE =\n  '__nextjs-dev-tools-shared-panel-size'\nexport const STORE_KEY_SHARED_PANEL_LOCATION =\n  '__nextjs-dev-tools-shared-panel-location'\n\nexport const ACTION_DEVTOOL_UPDATE_ROUTE_STATE =\n  'segment-explorer-update-route-state'\n\ninterface CacheIndicatorAction {\n  type: typeof ACTION_CACHE_INDICATOR\n  cacheIndicator: CacheIndicatorState\n}\n\ninterface StaticIndicatorAction {\n  type: typeof ACTION_STATIC_INDICATOR\n  staticIndicator: 'pending' | 'static' | 'dynamic' | 'disabled'\n}\n\ninterface BuildOkAction {\n  type: typeof ACTION_BUILD_OK\n}\ninterface BuildErrorAction {\n  type: typeof ACTION_BUILD_ERROR\n  message: string\n}\ninterface BeforeFastRefreshAction {\n  type: typeof ACTION_BEFORE_REFRESH\n}\ninterface FastRefreshAction {\n  type: typeof ACTION_REFRESH\n}\n\ninterface UnhandledErrorAction {\n  type: typeof ACTION_UNHANDLED_ERROR\n  reason: Error\n}\ninterface UnhandledRejectionAction {\n  type: typeof ACTION_UNHANDLED_REJECTION\n  reason: Error\n}\n\ninterface DebugInfoAction {\n  type: typeof ACTION_DEBUG_INFO\n  debugInfo: any\n}\n\ninterface VersionInfoAction {\n  type: typeof ACTION_VERSION_INFO\n  versionInfo: VersionInfo\n}\n\ninterface DevIndicatorAction {\n  type: typeof ACTION_DEV_INDICATOR\n  devIndicator: DevIndicatorServerState\n}\n\ninterface DevIndicatorSetAction {\n  type: typeof ACTION_DEV_INDICATOR_SET\n  disabled: boolean\n}\n\ninterface ErrorOverlayOpenAction {\n  type: typeof ACTION_ERROR_OVERLAY_OPEN\n}\ninterface ErrorOverlayCloseAction {\n  type: typeof ACTION_ERROR_OVERLAY_CLOSE\n}\ninterface ErrorOverlayToggleAction {\n  type: typeof ACTION_ERROR_OVERLAY_TOGGLE\n}\n\ninterface BuildingIndicatorShowAction {\n  type: typeof ACTION_BUILDING_INDICATOR_SHOW\n}\ninterface BuildingIndicatorHideAction {\n  type: typeof ACTION_BUILDING_INDICATOR_HIDE\n}\n\ninterface RenderingIndicatorShowAction {\n  type: typeof ACTION_RENDERING_INDICATOR_SHOW\n}\ninterface RenderingIndicatorHideAction {\n  type: typeof ACTION_RENDERING_INDICATOR_HIDE\n}\n\ninterface DevToolsIndicatorPositionAction {\n  type: typeof ACTION_DEVTOOLS_POSITION\n  devToolsPosition: Corners\n}\n\ninterface DevToolsPanelPositionAction {\n  type: typeof ACTION_DEVTOOLS_PANEL_POSITION\n  key: string\n  devToolsPanelPosition: Corners\n}\n\ninterface DevToolsScaleAction {\n  type: typeof ACTION_DEVTOOLS_SCALE\n  scale: number\n}\n\ninterface DevToolUpdateRouteStateAction {\n  type: typeof ACTION_DEVTOOL_UPDATE_ROUTE_STATE\n  page: string\n  tree: FlightRouterState | null\n}\n\ninterface DevToolsConfigAction {\n  type: typeof ACTION_DEVTOOLS_CONFIG\n  devToolsConfig: DevToolsConfig\n}\n\ninterface CacheOnlyToggleAction {\n  type: typeof ACTION_INSTANT_NAVS_TOGGLE\n}\n\ninterface InstantNavResetAction {\n  type: typeof ACTION_INSTANT_NAVS_RESET\n}\n\ninterface InstantErrorsClearAction {\n  type: typeof ACTION_INSTANT_ERRORS_CLEAR\n  currentPath: string\n}\n\ninterface RequestInsightsSnapshotAction {\n  type: typeof ACTION_REQUEST_INSIGHTS_SNAPSHOT\n  snapshot: RequestInsightsSnapshot\n}\n\ninterface RequestInsightsUpdateAction {\n  type: typeof ACTION_REQUEST_INSIGHTS_UPDATE\n  insight: RequestInsight\n}\n\nexport type DispatcherEvent =\n  | BuildOkAction\n  | BuildErrorAction\n  | BeforeFastRefreshAction\n  | FastRefreshAction\n  | UnhandledErrorAction\n  | UnhandledRejectionAction\n  | VersionInfoAction\n  | CacheIndicatorAction\n  | StaticIndicatorAction\n  | DebugInfoAction\n  | DevIndicatorAction\n  | ErrorOverlayOpenAction\n  | ErrorOverlayCloseAction\n  | ErrorOverlayToggleAction\n  | BuildingIndicatorShowAction\n  | BuildingIndicatorHideAction\n  | RenderingIndicatorShowAction\n  | RenderingIndicatorHideAction\n  | DevToolsIndicatorPositionAction\n  | DevToolsPanelPositionAction\n  | DevToolsScaleAction\n  | DevToolUpdateRouteStateAction\n  | DevIndicatorSetAction\n  | DevToolsConfigAction\n  | CacheOnlyToggleAction\n  | InstantNavResetAction\n  | InstantErrorsClearAction\n  | RequestInsightsSnapshotAction\n  | RequestInsightsUpdateAction\n\nconst REACT_ERROR_STACK_BOTTOM_FRAME_REGEX =\n  // 1st group: new frame + v8\n  // 2nd group: new frame + SpiderMonkey, JavaScriptCore\n  // 3rd group: old frame + v8\n  // 4th group: old frame + SpiderMonkey, JavaScriptCore\n  /\\s+(at Object\\.react_stack_bottom_frame.*)|(react_stack_bottom_frame@.*)|(at react-stack-bottom-frame.*)|(react-stack-bottom-frame@.*)/\n\n// React calls user code starting from a special stack frame.\n// The basic stack will be different if the same error location is hit again\n// due to StrictMode.\n// This gets only the stack after React which is unaffected by StrictMode.\nfunction getStackIgnoringStrictMode(stack: string | undefined) {\n  return stack?.split(REACT_ERROR_STACK_BOTTOM_FRAME_REGEX)[0]\n}\n\nexport function getInstantErrorRoute(error: unknown): string | null {\n  if (!error || typeof error !== 'object') return null\n  const message = (error as Error).message\n  if (typeof message !== 'string') return null\n  if (!isBlockingRouteInNavError(message)) return null\n  const prefixMatch = /^Route \"([^\"]+)\":/.exec(message)\n  return prefixMatch ? prefixMatch[1] : null\n}\n\n// The route stored on an instant error is the route *template* from\n// `workStore.route` (e.g. `/foo/[slug]`), but the page we track in dev\n// overlay state is the resolved URL (e.g. `/foo/123`). For dynamic routes\n// we compile the template to a regex so the clear-on-nav reducer keeps\n// errors whose template matches the page the user just landed on.\nexport function routeTemplateMatchesPath(\n  template: string,\n  path: string\n): boolean {\n  if (template === path) return true\n  if (!isDynamicRoute(template)) return false\n  return getRouteRegex(template).re.test(path)\n}\n\nconst shouldDisableDevIndicator =\n  process.env.__NEXT_DEV_INDICATOR?.toString() === 'false'\n\nconst devToolsInitialPositionFromNextConfig = (process.env\n  .__NEXT_DEV_INDICATOR_POSITION ?? 'bottom-left') as Corners\n\nconst hasInstantNavsCookie =\n  !!process.env.__NEXT_INSTANT_NAV_TOGGLE &&\n  readInstantNavCookieState() !== null\n\nexport const INITIAL_OVERLAY_STATE: Omit<\n  OverlayState,\n  'isErrorOverlayOpen' | 'routerType'\n> = {\n  nextId: 1,\n  buildError: null,\n  errors: [],\n  notFound: false,\n  renderingIndicator: false,\n  cacheIndicator: 'disabled',\n  staticIndicator: 'disabled',\n  /*\n    This is set to `true` when we can reliably know\n    whether the indicator is in disabled state or not.\n    Otherwise the surface would flicker because the disabled flag loads from the config.\n  */\n  // When instant nav is active, show the indicator immediately so the user\n  // can toggle it off. Normally this is set to true by the HMR connection,\n  // but the HMR WebSocket is only created during hydration.\n  showIndicator: hasInstantNavsCookie,\n  disableDevIndicator: false,\n  buildingIndicator: false,\n  refreshState: { type: 'idle' },\n  versionInfo: { installed: '0.0.0', staleness: 'unknown' },\n  debugInfo: { devtoolsFrontendUrl: undefined },\n  devToolsPosition: devToolsInitialPositionFromNextConfig,\n  devToolsPanelPosition: {\n    [STORE_KEY_SHARED_PANEL_LOCATION]: devToolsInitialPositionFromNextConfig,\n  },\n  devToolsPanelSize: {},\n  scale: NEXT_DEV_TOOLS_SCALE.Medium,\n  page: '',\n  tree: null,\n  theme: 'system',\n  hideShortcut: null,\n  instantNavs: hasInstantNavsCookie,\n  requestInsights: [],\n  requestInsightsConfig: { showInternal: false, verbose: false },\n}\n\nfunction getInitialState(\n  routerType: 'pages' | 'app',\n  enableCacheIndicator: boolean\n): OverlayState & { routerType: 'pages' | 'app' } {\n  return {\n    ...INITIAL_OVERLAY_STATE,\n    // Pages Router only listenes to thrown errors which\n    // always open the overlay.\n    // TODO: Should be the same default as App Router once we surface console.error in Pages Router.\n    isErrorOverlayOpen: routerType === 'pages',\n    routerType,\n    cacheIndicator: enableCacheIndicator ? 'ready' : 'disabled',\n  }\n}\n\nexport function useErrorOverlayReducer(\n  routerType: 'pages' | 'app',\n  getOwnerStack: (error: Error) => string | null | undefined,\n  isRecoverableError: (error: Error) => boolean,\n  enableCacheIndicator: boolean\n) {\n  function pushErrorFilterDuplicates(\n    events: readonly SupportedErrorEvent[],\n    id: number,\n    error: Error\n  ): readonly SupportedErrorEvent[] {\n    const ownerStack = getOwnerStack(error)\n    const frames = parseStack((error.stack || '') + (ownerStack || ''))\n    const pendingEvent: SupportedErrorEvent = {\n      id,\n      error,\n      frames,\n      type: isRecoverableError(error)\n        ? 'recoverable'\n        : isConsoleError(error)\n          ? 'console'\n          : 'runtime',\n    }\n    const pendingEvents = events.filter((event) => {\n      // Filter out duplicate errors\n      return (\n        // SpiderMonkey and JavaScriptCore don't include the error message in the stack.\n        // We don't want to dedupe errors with different messages for which we don't have a good stack\n        '' + event.error !== '' + pendingEvent.error ||\n        (event.error.stack !== pendingEvent.error.stack &&\n          // TODO: Let ReactDevTools control deduping instead?\n          getStackIgnoringStrictMode(event.error.stack) !==\n            getStackIgnoringStrictMode(pendingEvent.error.stack)) ||\n        getOwnerStack(event.error) !== getOwnerStack(pendingEvent.error)\n      )\n    })\n    // If there's nothing filtered out, the event is a brand new error\n    if (pendingEvents.length === events.length) {\n      pendingEvents.push(pendingEvent)\n      return pendingEvents\n    }\n    // Otherwise remain the same events\n    return events\n  }\n\n  return useReducer(\n    (state: OverlayState, action: DispatcherEvent): OverlayState => {\n      switch (action.type) {\n        case ACTION_DEBUG_INFO: {\n          return { ...state, debugInfo: action.debugInfo }\n        }\n        case ACTION_CACHE_INDICATOR: {\n          return { ...state, cacheIndicator: action.cacheIndicator }\n        }\n        case ACTION_STATIC_INDICATOR: {\n          return { ...state, staticIndicator: action.staticIndicator }\n        }\n        case ACTION_BUILD_OK: {\n          return { ...state, buildError: null }\n        }\n        case ACTION_BUILD_ERROR: {\n          return { ...state, buildError: action.message }\n        }\n        case ACTION_BEFORE_REFRESH: {\n          return { ...state, refreshState: { type: 'pending', errors: [] } }\n        }\n        case ACTION_REFRESH: {\n          return {\n            ...state,\n            buildError: null,\n            errors:\n              // Errors can come in during updates. In this case, UNHANDLED_ERROR\n              // and UNHANDLED_REJECTION events might be dispatched between the\n              // BEFORE_REFRESH and the REFRESH event. We want to keep those errors\n              // around until the next refresh. Otherwise we run into a race\n              // condition where those errors would be cleared on refresh completion\n              // before they can be displayed.\n              state.refreshState.type === 'pending'\n                ? state.refreshState.errors\n                : [],\n            refreshState: { type: 'idle' },\n          }\n        }\n        case ACTION_UNHANDLED_ERROR:\n        case ACTION_UNHANDLED_REJECTION: {\n          switch (state.refreshState.type) {\n            case 'idle': {\n              return {\n                ...state,\n                nextId: state.nextId + 1,\n                errors: pushErrorFilterDuplicates(\n                  state.errors,\n                  state.nextId,\n                  action.reason\n                ),\n              }\n            }\n            case 'pending': {\n              return {\n                ...state,\n                nextId: state.nextId + 1,\n                refreshState: {\n                  ...state.refreshState,\n                  errors: pushErrorFilterDuplicates(\n                    state.errors,\n                    state.nextId,\n                    action.reason\n                  ),\n                },\n              }\n            }\n            default:\n              return state\n          }\n        }\n        case ACTION_VERSION_INFO: {\n          return { ...state, versionInfo: action.versionInfo }\n        }\n        case ACTION_DEV_INDICATOR_SET: {\n          return { ...state, disableDevIndicator: action.disabled }\n        }\n        case ACTION_DEV_INDICATOR: {\n          return {\n            ...state,\n            showIndicator: true,\n            disableDevIndicator:\n              shouldDisableDevIndicator || !!action.devIndicator.disabledUntil,\n          }\n        }\n        case ACTION_ERROR_OVERLAY_OPEN: {\n          return { ...state, isErrorOverlayOpen: true }\n        }\n        case ACTION_ERROR_OVERLAY_CLOSE: {\n          return { ...state, isErrorOverlayOpen: false }\n        }\n        case ACTION_ERROR_OVERLAY_TOGGLE: {\n          return { ...state, isErrorOverlayOpen: !state.isErrorOverlayOpen }\n        }\n        case ACTION_BUILDING_INDICATOR_SHOW: {\n          return { ...state, buildingIndicator: true }\n        }\n        case ACTION_BUILDING_INDICATOR_HIDE: {\n          return { ...state, buildingIndicator: false }\n        }\n        case ACTION_RENDERING_INDICATOR_SHOW: {\n          return { ...state, renderingIndicator: true }\n        }\n        case ACTION_RENDERING_INDICATOR_HIDE: {\n          return { ...state, renderingIndicator: false }\n        }\n\n        case ACTION_DEVTOOLS_POSITION: {\n          return { ...state, devToolsPosition: action.devToolsPosition }\n        }\n        case ACTION_DEVTOOLS_PANEL_POSITION: {\n          return {\n            ...state,\n            devToolsPanelPosition: {\n              ...state.devToolsPanelPosition,\n              [action.key]: action.devToolsPanelPosition,\n            },\n          }\n        }\n\n        case ACTION_DEVTOOLS_SCALE: {\n          return { ...state, scale: action.scale }\n        }\n        case ACTION_DEVTOOL_UPDATE_ROUTE_STATE: {\n          return { ...state, page: action.page, tree: action.tree }\n        }\n        case ACTION_DEVTOOLS_CONFIG: {\n          const {\n            theme,\n            disableDevIndicator,\n            devToolsPosition,\n            devToolsPanelPosition,\n            devToolsPanelSize,\n            scale,\n            hideShortcut,\n            requestInsights: requestInsightsConfig,\n          } = action.devToolsConfig\n\n          return {\n            ...state,\n            theme: theme ?? state.theme,\n            disableDevIndicator:\n              disableDevIndicator ?? state.disableDevIndicator,\n            devToolsPosition: devToolsPosition ?? state.devToolsPosition,\n            devToolsPanelPosition:\n              devToolsPanelPosition ?? state.devToolsPanelPosition,\n            scale: scale ?? state.scale,\n            devToolsPanelSize: devToolsPanelSize ?? state.devToolsPanelSize,\n            hideShortcut:\n              // hideShortcut can be null.\n              hideShortcut !== undefined ? hideShortcut : state.hideShortcut,\n            requestInsightsConfig: requestInsightsConfig\n              ? {\n                  showInternal:\n                    requestInsightsConfig.showInternal ??\n                    state.requestInsightsConfig.showInternal,\n                  verbose:\n                    requestInsightsConfig.verbose ??\n                    state.requestInsightsConfig.verbose,\n                }\n              : state.requestInsightsConfig,\n          }\n        }\n        case ACTION_INSTANT_NAVS_TOGGLE: {\n          return { ...state, instantNavs: !state.instantNavs }\n        }\n        case ACTION_INSTANT_NAVS_RESET: {\n          return { ...state, instantNavs: false }\n        }\n        case ACTION_INSTANT_ERRORS_CLEAR: {\n          const remaining = state.errors.filter((event) => {\n            const route = getInstantErrorRoute(event.error)\n            if (route === null) return true\n            return routeTemplateMatchesPath(route, action.currentPath)\n          })\n          if (remaining.length === state.errors.length) {\n            return state\n          }\n          return { ...state, errors: remaining }\n        }\n        case ACTION_REQUEST_INSIGHTS_SNAPSHOT: {\n          return { ...state, requestInsights: action.snapshot.requests }\n        }\n        case ACTION_REQUEST_INSIGHTS_UPDATE: {\n          return {\n            ...state,\n            requestInsights: updateRequestInsights(\n              state.requestInsights,\n              action.insight\n            ),\n          }\n        }\n        default: {\n          return state\n        }\n      }\n    },\n    getInitialState(routerType, enableCacheIndicator)\n  )\n}\n","/**\n * For a given page path, this function ensures that there is a leading slash.\n * If there is not a leading slash, one is added, otherwise it is noop.\n */\nexport function ensureLeadingSlash(path: string) {\n  return path.startsWith('/') ? path : `/${path}`\n}\n","import { ensureLeadingSlash } from '../../page-path/ensure-leading-slash'\nimport { isGroupSegment } from '../../segment'\n\n/**\n * Normalizes an app route so it represents the actual request path. Essentially\n * performing the following transformations:\n *\n * - `/(dashboard)/user/[id]/page` to `/user/[id]`\n * - `/(dashboard)/account/page` to `/account`\n * - `/user/[id]/page` to `/user/[id]`\n * - `/account/page` to `/account`\n * - `/page` to `/`\n * - `/(dashboard)/user/[id]/route` to `/user/[id]`\n * - `/(dashboard)/account/route` to `/account`\n * - `/user/[id]/route` to `/user/[id]`\n * - `/account/route` to `/account`\n * - `/route` to `/`\n * - `/` to `/`\n *\n * @param route the app route to normalize\n * @returns the normalized pathname\n */\nexport function normalizeAppPath(route: string) {\n  return ensureLeadingSlash(\n    route.split('/').reduce((pathname, segment, index, segments) => {\n      // Empty segments are ignored.\n      if (!segment) {\n        return pathname\n      }\n\n      // Groups are ignored.\n      if (isGroupSegment(segment)) {\n        return pathname\n      }\n\n      // Parallel segments are ignored.\n      if (segment[0] === '@') {\n        return pathname\n      }\n\n      // The last segment (if it's a leaf) should be ignored.\n      if (\n        (segment === 'page' || segment === 'route') &&\n        index === segments.length - 1\n      ) {\n        return pathname\n      }\n\n      return `${pathname}/${segment}`\n    }, '')\n  )\n}\n\n/**\n * Comparator for sorting app paths so that parallel slot paths (containing\n * `/@`) come before the children/root page path. This ensures the last item\n * is always the children page, which is what `renderPageComponent` reads via\n * `appPaths[appPaths.length - 1]`.\n *\n * Without this, route group prefixes like `(group)` (char code 0x28) sort\n * before `@` (0x40), causing the children page to sort first instead of last\n * and leading to a manifest mismatch / 404 in webpack dev mode.\n */\nexport function compareAppPaths(a: string, b: string): number {\n  const aHasSlot = a.includes('/@')\n  const bHasSlot = b.includes('/@')\n  if (aHasSlot && !bHasSlot) return -1\n  if (!aHasSlot && bHasSlot) return 1\n  return a.localeCompare(b)\n}\n\n/**\n * Strips the `.rsc` extension if it's in the pathname.\n * Since this function is used on full urls it checks `?` for searchParams handling.\n */\nexport function normalizeRscURL(url: string) {\n  return url.replace(\n    /\\.rsc($|\\?)/,\n    // $1 ensures `?` is preserved\n    '$1'\n  )\n}\n","import type { FlightRouterState, Segment } from './app-router-types'\n\nexport function getSegmentValue(segment: Segment) {\n  return Array.isArray(segment) ? segment[1] : segment\n}\n\nexport function isGroupSegment(segment: string) {\n  // Use array[0] for performant purpose\n  return segment[0] === '(' && segment.endsWith(')')\n}\n\nexport function isParallelRouteSegment(segment: string) {\n  return segment.startsWith('@') && segment !== '@children'\n}\n\nexport function addSearchParamsIfPageSegment(\n  segment: Segment,\n  searchParams: Record<string, string | string[] | undefined>\n) {\n  const isPageSegment = segment.includes(PAGE_SEGMENT_KEY)\n\n  if (isPageSegment) {\n    const stringifiedQuery = JSON.stringify(searchParams)\n    return stringifiedQuery !== '{}'\n      ? PAGE_SEGMENT_KEY + '?' + stringifiedQuery\n      : PAGE_SEGMENT_KEY\n  }\n\n  return segment\n}\n\nexport function computeSelectedLayoutSegment(\n  segments: string[] | null,\n  parallelRouteKey: string\n): string | null {\n  if (!segments || segments.length === 0) {\n    return null\n  }\n\n  // For 'children', use first segment; for other parallel routes, use last segment\n  const rawSegment =\n    parallelRouteKey === 'children'\n      ? segments[0]\n      : segments[segments.length - 1]\n\n  // If the default slot is showing, return null since it's not technically \"selected\" (it's a fallback)\n  // Returning an internal value like `__DEFAULT__` would be confusing\n  return rawSegment === DEFAULT_SEGMENT_KEY ? null : rawSegment\n}\n\n/** Get the canonical parameters from the current level to the leaf node. */\nexport function getSelectedLayoutSegmentPath(\n  tree: FlightRouterState,\n  parallelRouteKey: string,\n  first = true,\n  segmentPath: string[] = []\n): string[] {\n  let node: FlightRouterState\n  if (first) {\n    // Use the provided parallel route key on the first parallel route\n    node = tree[1][parallelRouteKey]\n  } else {\n    // After first parallel route prefer children, if there's no children pick the first parallel route.\n    const parallelRoutes = tree[1]\n    node = parallelRoutes.children ?? Object.values(parallelRoutes)[0]\n  }\n\n  if (!node) return segmentPath\n  const segment = node[0]\n\n  let segmentValue = getSegmentValue(segment)\n\n  if (!segmentValue || segmentValue.startsWith(PAGE_SEGMENT_KEY)) {\n    return segmentPath\n  }\n\n  segmentPath.push(segmentValue)\n\n  return getSelectedLayoutSegmentPath(\n    node,\n    parallelRouteKey,\n    false,\n    segmentPath\n  )\n}\n\nexport const PAGE_SEGMENT_KEY = '__PAGE__'\nexport const DEFAULT_SEGMENT_KEY = '__DEFAULT__'\nexport const NOT_FOUND_SEGMENT_KEY = '/_not-found'\n","import {\n  NEXT_INTERCEPTION_MARKER_PREFIX,\n  NEXT_QUERY_PARAM_PREFIX,\n} from '../../../../lib/constants'\nimport { INTERCEPTION_ROUTE_MARKERS } from './interception-routes'\nimport { escapeStringRegexp } from '../../escape-regexp'\nimport { removeTrailingSlash } from './remove-trailing-slash'\nimport { PARAMETER_PATTERN, parseMatchedParameter } from './get-dynamic-param'\n\nexport interface Group {\n  pos: number\n  repeat: boolean\n  optional: boolean\n}\n\nexport interface RouteRegex {\n  groups: { [groupName: string]: Group }\n  re: RegExp\n}\n\nexport type RegexReference = {\n  names: Record<string, string>\n  intercepted: Record<string, string>\n}\n\ntype GetNamedRouteRegexOptions = {\n  /**\n   * Whether to prefix the route keys with the NEXT_INTERCEPTION_MARKER_PREFIX\n   * or NEXT_QUERY_PARAM_PREFIX. This is only relevant when creating the\n   * routes-manifest during the build.\n   */\n  prefixRouteKeys: boolean\n\n  /**\n   * Whether to include the suffix in the route regex. This means that when you\n   * have something like `/[...slug].json` the `.json` part will be included\n   * in the regex, yielding `/(.*).json` as the regex.\n   */\n  includeSuffix?: boolean\n\n  /**\n   * Whether to include the prefix in the route regex. This means that when you\n   * have something like `/[...slug].json` the `/` part will be included\n   * in the regex, yielding `^/(.*).json$` as the regex.\n   *\n   * Note that interception markers will already be included without the need\n   */\n  includePrefix?: boolean\n\n  /**\n   * Whether to exclude the optional trailing slash from the route regex.\n   */\n  excludeOptionalTrailingSlash?: boolean\n\n  /**\n   * Whether to backtrack duplicate keys. This is only relevant when creating\n   * the routes-manifest during the build.\n   */\n  backreferenceDuplicateKeys?: boolean\n\n  /**\n   * If provided, this will be used as the reference for the dynamic parameter\n   * keys instead of generating them in context. This is currently only used for\n   * interception routes.\n   */\n  reference?: RegexReference\n}\n\ntype GetRouteRegexOptions = {\n  /**\n   * Whether to include extra parts in the route regex. This means that when you\n   * have something like `/[...slug].json` the `.json` part will be included\n   * in the regex, yielding `/(.*).json` as the regex.\n   */\n  includeSuffix?: boolean\n\n  /**\n   * Whether to include the prefix in the route regex. This means that when you\n   * have something like `/[...slug].json` the `/` part will be included\n   * in the regex, yielding `^/(.*).json$` as the regex.\n   *\n   * Note that interception markers will already be included without the need\n   * of adding this option.\n   */\n  includePrefix?: boolean\n\n  /**\n   * Whether to exclude the optional trailing slash from the route regex.\n   */\n  excludeOptionalTrailingSlash?: boolean\n}\n\nfunction getParametrizedRoute(\n  route: string,\n  includeSuffix: boolean,\n  includePrefix: boolean\n) {\n  const groups: { [groupName: string]: Group } = {}\n  let groupIndex = 1\n\n  const segments: string[] = []\n  for (const segment of removeTrailingSlash(route).slice(1).split('/')) {\n    const markerMatch = INTERCEPTION_ROUTE_MARKERS.find((m) =>\n      segment.startsWith(m)\n    )\n    const paramMatches = segment.match(PARAMETER_PATTERN) // Check for parameters\n\n    if (markerMatch && paramMatches && paramMatches[2]) {\n      const { key, optional, repeat } = parseMatchedParameter(paramMatches[2])\n      groups[key] = { pos: groupIndex++, repeat, optional }\n      segments.push(`/${escapeStringRegexp(markerMatch)}([^/]+?)`)\n    } else if (paramMatches && paramMatches[2]) {\n      const { key, repeat, optional } = parseMatchedParameter(paramMatches[2])\n      groups[key] = { pos: groupIndex++, repeat, optional }\n\n      if (includePrefix && paramMatches[1]) {\n        segments.push(`/${escapeStringRegexp(paramMatches[1])}`)\n      }\n\n      let s = repeat ? (optional ? '(?:/(.+?))?' : '/(.+?)') : '/([^/]+?)'\n\n      // Remove the leading slash if includePrefix already added it.\n      if (includePrefix && paramMatches[1]) {\n        s = s.substring(1)\n      }\n\n      segments.push(s)\n    } else {\n      segments.push(`/${escapeStringRegexp(segment)}`)\n    }\n\n    // If there's a suffix, add it to the segments if it's enabled.\n    if (includeSuffix && paramMatches && paramMatches[3]) {\n      segments.push(escapeStringRegexp(paramMatches[3]))\n    }\n  }\n\n  return {\n    parameterizedRoute: segments.join(''),\n    groups,\n  }\n}\n\n/**\n * From a normalized route this function generates a regular expression and\n * a corresponding groups object intended to be used to store matching groups\n * from the regular expression.\n */\nexport function getRouteRegex(\n  normalizedRoute: string,\n  {\n    includeSuffix = false,\n    includePrefix = false,\n    excludeOptionalTrailingSlash = false,\n  }: GetRouteRegexOptions = {}\n): RouteRegex {\n  const { parameterizedRoute, groups } = getParametrizedRoute(\n    normalizedRoute,\n    includeSuffix,\n    includePrefix\n  )\n\n  let re = parameterizedRoute\n  if (!excludeOptionalTrailingSlash) {\n    re += '(?:/)?'\n  }\n\n  return {\n    re: new RegExp(`^${re}$`),\n    groups: groups,\n  }\n}\n\n/**\n * Builds a function to generate a minimal routeKey using only a-z and minimal\n * number of characters.\n */\nfunction buildGetSafeRouteKey() {\n  let i = 0\n\n  return () => {\n    let routeKey = ''\n    let j = ++i\n    while (j > 0) {\n      routeKey += String.fromCharCode(97 + ((j - 1) % 26))\n      j = Math.floor((j - 1) / 26)\n    }\n    return routeKey\n  }\n}\n\nfunction getSafeKeyFromSegment({\n  interceptionMarker,\n  getSafeRouteKey,\n  segment,\n  routeKeys,\n  keyPrefix,\n  backreferenceDuplicateKeys,\n}: {\n  interceptionMarker?: string\n  getSafeRouteKey: () => string\n  segment: string\n  routeKeys: Record<string, string>\n  keyPrefix?: string\n  backreferenceDuplicateKeys: boolean\n}) {\n  const { key, optional, repeat } = parseMatchedParameter(segment)\n\n  // replace any non-word characters since they can break\n  // the named regex\n  let cleanedKey = key.replace(/\\W/g, '')\n\n  if (keyPrefix) {\n    cleanedKey = `${keyPrefix}${cleanedKey}`\n  }\n  let invalidKey = false\n\n  // check if the key is still invalid and fallback to using a known\n  // safe key\n  if (cleanedKey.length === 0 || cleanedKey.length > 30) {\n    invalidKey = true\n  }\n  if (!isNaN(parseInt(cleanedKey.slice(0, 1)))) {\n    invalidKey = true\n  }\n\n  if (invalidKey) {\n    cleanedKey = getSafeRouteKey()\n  }\n\n  const duplicateKey = cleanedKey in routeKeys\n\n  if (keyPrefix) {\n    routeKeys[cleanedKey] = `${keyPrefix}${key}`\n  } else {\n    routeKeys[cleanedKey] = key\n  }\n\n  // if the segment has an interception marker, make sure that's part of the regex pattern\n  // this is to ensure that the route with the interception marker doesn't incorrectly match\n  // the non-intercepted route (ie /app/(.)[username] should not match /app/[username])\n  const interceptionPrefix = interceptionMarker\n    ? escapeStringRegexp(interceptionMarker)\n    : ''\n\n  let pattern: string\n  if (duplicateKey && backreferenceDuplicateKeys) {\n    // Use a backreference to the key to ensure that the key is the same value\n    // in each of the placeholders.\n    pattern = `\\\\k<${cleanedKey}>`\n  } else if (repeat) {\n    pattern = `(?<${cleanedKey}>.+?)`\n  } else {\n    pattern = `(?<${cleanedKey}>[^/]+?)`\n  }\n\n  return {\n    key,\n    pattern: optional\n      ? `(?:/${interceptionPrefix}${pattern})?`\n      : `/${interceptionPrefix}${pattern}`,\n    cleanedKey: cleanedKey,\n    optional,\n    repeat,\n  }\n}\n\nfunction getNamedParametrizedRoute(\n  route: string,\n  prefixRouteKeys: boolean,\n  includeSuffix: boolean,\n  includePrefix: boolean,\n  backreferenceDuplicateKeys: boolean,\n  reference: RegexReference = { names: {}, intercepted: {} }\n) {\n  const getSafeRouteKey = buildGetSafeRouteKey()\n  const routeKeys: { [named: string]: string } = {}\n\n  const segments: string[] = []\n  const inverseParts: string[] = []\n\n  // Ensure we don't mutate the original reference object.\n  reference = structuredClone(reference)\n\n  for (const segment of removeTrailingSlash(route).slice(1).split('/')) {\n    const hasInterceptionMarker = INTERCEPTION_ROUTE_MARKERS.some((m) =>\n      segment.startsWith(m)\n    )\n\n    const paramMatches = segment.match(PARAMETER_PATTERN) // Check for parameters\n\n    const interceptionMarker = hasInterceptionMarker\n      ? paramMatches?.[1]\n      : undefined\n\n    let keyPrefix: string | undefined\n    if (interceptionMarker && paramMatches?.[2]) {\n      keyPrefix = prefixRouteKeys ? NEXT_INTERCEPTION_MARKER_PREFIX : undefined\n      reference.intercepted[paramMatches[2]] = interceptionMarker\n    } else if (paramMatches?.[2] && reference.intercepted[paramMatches[2]]) {\n      keyPrefix = prefixRouteKeys ? NEXT_INTERCEPTION_MARKER_PREFIX : undefined\n    } else {\n      keyPrefix = prefixRouteKeys ? NEXT_QUERY_PARAM_PREFIX : undefined\n    }\n\n    if (interceptionMarker && paramMatches && paramMatches[2]) {\n      // If there's an interception marker, add it to the segments.\n      const { key, pattern, cleanedKey, repeat, optional } =\n        getSafeKeyFromSegment({\n          getSafeRouteKey,\n          interceptionMarker,\n          segment: paramMatches[2],\n          routeKeys,\n          keyPrefix,\n          backreferenceDuplicateKeys,\n        })\n\n      segments.push(pattern)\n      inverseParts.push(\n        `/${paramMatches[1]}:${reference.names[key] ?? cleanedKey}${repeat ? (optional ? '*' : '+') : ''}`\n      )\n      reference.names[key] ??= cleanedKey\n    } else if (paramMatches && paramMatches[2]) {\n      // If there's a prefix, add it to the segments if it's enabled.\n      if (includePrefix && paramMatches[1]) {\n        segments.push(`/${escapeStringRegexp(paramMatches[1])}`)\n        inverseParts.push(`/${paramMatches[1]}`)\n      }\n\n      const { key, pattern, cleanedKey, repeat, optional } =\n        getSafeKeyFromSegment({\n          getSafeRouteKey,\n          segment: paramMatches[2],\n          routeKeys,\n          keyPrefix,\n          backreferenceDuplicateKeys,\n        })\n\n      // Remove the leading slash if includePrefix already added it.\n      let s = pattern\n      if (includePrefix && paramMatches[1]) {\n        s = s.substring(1)\n      }\n\n      segments.push(s)\n      inverseParts.push(\n        `/:${reference.names[key] ?? cleanedKey}${repeat ? (optional ? '*' : '+') : ''}`\n      )\n      reference.names[key] ??= cleanedKey\n    } else {\n      segments.push(`/${escapeStringRegexp(segment)}`)\n      inverseParts.push(`/${segment}`)\n    }\n\n    // If there's a suffix, add it to the segments if it's enabled.\n    if (includeSuffix && paramMatches && paramMatches[3]) {\n      segments.push(escapeStringRegexp(paramMatches[3]))\n      inverseParts.push(paramMatches[3])\n    }\n  }\n\n  return {\n    namedParameterizedRoute: segments.join(''),\n    routeKeys,\n    pathToRegexpPattern: inverseParts.join(''),\n    reference,\n  }\n}\n\n/**\n * This function extends `getRouteRegex` generating also a named regexp where\n * each group is named along with a routeKeys object that indexes the assigned\n * named group with its corresponding key. When the routeKeys need to be\n * prefixed to uniquely identify internally the \"prefixRouteKey\" arg should\n * be \"true\" currently this is only the case when creating the routes-manifest\n * during the build\n */\nexport function getNamedRouteRegex(\n  normalizedRoute: string,\n  options: GetNamedRouteRegexOptions\n) {\n  const result = getNamedParametrizedRoute(\n    normalizedRoute,\n    options.prefixRouteKeys,\n    options.includeSuffix ?? false,\n    options.includePrefix ?? false,\n    options.backreferenceDuplicateKeys ?? false,\n    options.reference\n  )\n\n  let namedRegex = result.namedParameterizedRoute\n  if (!options.excludeOptionalTrailingSlash) {\n    namedRegex += '(?:/)?'\n  }\n\n  return {\n    ...getRouteRegex(normalizedRoute, options),\n    namedRegex: `^${namedRegex}$`,\n    routeKeys: result.routeKeys,\n    pathToRegexpPattern: result.pathToRegexpPattern,\n    reference: result.reference,\n  }\n}\n\n/**\n * Generates a named regexp.\n * This is intended to be using for build time only.\n */\nexport function getNamedMiddlewareRegex(\n  normalizedRoute: string,\n  options: {\n    catchAll?: boolean\n  }\n) {\n  const { parameterizedRoute } = getParametrizedRoute(\n    normalizedRoute,\n    false,\n    false\n  )\n  const { catchAll = true } = options\n  if (parameterizedRoute === '/') {\n    let catchAllRegex = catchAll ? '.*' : ''\n    return {\n      namedRegex: `^/${catchAllRegex}$`,\n    }\n  }\n\n  const { namedParameterizedRoute } = getNamedParametrizedRoute(\n    normalizedRoute,\n    false,\n    false,\n    false,\n    false,\n    undefined\n  )\n  let catchAllGroupedRegex = catchAll ? '(?:(/.*)?)' : ''\n  return {\n    namedRegex: `^${namedParameterizedRoute}${catchAllGroupedRegex}$`,\n  }\n}\n","/**\n * Removes the trailing slash for a given route or page path. Examples:\n *   - `/foo/bar/` -> `/foo/bar`\n *   - `/foo/bar` -> `/foo/bar`\n *\n * Uses charCodeAt (47 === '/') instead of regex to avoid the overhead of\n * compiling and executing a RegExp on every call (~3-5x faster).\n */\nexport function removeTrailingSlash(route: string) {\n  return route.charCodeAt(route.length - 1) === 47 && route.length > 1\n    ? route.slice(0, -1)\n    : route\n}\n","export function css(\n  strings: TemplateStringsArray,\n  ...keys: readonly string[]\n): string {\n  const lastIndex = strings.length - 1\n  const str =\n    // Convert template literal into a single line string\n    strings.slice(0, lastIndex).reduce((p, s, i) => p + s + keys[i], '') +\n    strings[lastIndex]\n\n  return (\n    str\n      // Remove comments\n      .replace(/\\/\\*[\\s\\S]*?\\*\\//g, '')\n      // Remove whitespace, tabs, and newlines\n      .replace(/\\s+/g, ' ')\n      // Remove spaces before and after semicolons, and spaces after commas\n      .replace(/\\s*([:;,{}])\\s*/g, '$1')\n      // Remove extra semicolons\n      .replace(/;+}/g, '}')\n      // Trim leading and trailing whitespaces\n      .trim()\n  )\n}\n","/**\n * Merge multiple args to a single string with spaces. Useful for merging class names.\n * @example\n * cx('foo', 'bar') // 'foo bar'\n * cx('foo', null, 'bar', undefined, 'baz', false) // 'foo bar baz'\n */\nexport function cx(...args: (string | undefined | null | false)[]): string {\n  return args.filter(Boolean).join(' ')\n}\n","import type { SupportedErrorEvent } from '../container/runtime-error/render-error'\nimport { getOriginalStackFrames } from '../../shared/stack-frame'\nimport type { OriginalStackFrame } from '../../shared/stack-frame'\nimport { getErrorSource } from '../../../shared/lib/error-source'\nimport { parseStack } from '../../../server/lib/parse-stack'\nimport React from 'react'\n\nexport type ReadyErrorCause =\n  | {\n      error: Error\n      frames: () => Promise<readonly OriginalStackFrame[]>\n      cause?: ReadyErrorCause\n    }\n  | {\n      error: AggregateError\n      frames: () => Promise<readonly OriginalStackFrame[]>\n      cause?: ReadyErrorCause\n      aggregateErrors: ReadyErrorCause[] | null\n    }\n\nexport type ReadyRuntimeError =\n  | {\n      id: number\n      runtime: true\n      error: Error & { environmentName?: string }\n      frames: () => Promise<readonly OriginalStackFrame[]>\n      type: 'runtime' | 'console' | 'recoverable'\n      cause?: ReadyErrorCause\n    }\n  | {\n      id: number\n      runtime: true\n      error: AggregateError & { environmentName?: string }\n      frames: () => Promise<readonly OriginalStackFrame[]>\n      type: 'runtime' | 'console' | 'recoverable'\n      cause?: ReadyErrorCause\n      aggregateErrors: ReadyErrorCause[] | null\n    }\n\nexport const useFrames = (\n  error: ReadyRuntimeError | null\n): readonly OriginalStackFrame[] => {\n  if (!error) return []\n\n  const frames = error.frames\n  return React.use(frames())\n}\n\nexport function getErrorByType(\n  event: SupportedErrorEvent,\n  isAppDir: boolean\n): ReadyRuntimeError {\n  if (event.error instanceof AggregateError) {\n    const readyRuntimeError: ReadyRuntimeError = {\n      id: event.id,\n      runtime: true,\n      error: event.error,\n      type: event.type,\n      // createMemoizedPromise dedups calls to getOriginalStackFrames\n      frames: createMemoizedPromise(async () => {\n        return await getOriginalStackFrames(\n          event.frames,\n          getErrorSource(event.error),\n          isAppDir\n        )\n      }),\n      cause: getCauseChain(event.error, isAppDir),\n      aggregateErrors: getAggregateErrors(event.error, isAppDir),\n    }\n    return readyRuntimeError\n  } else {\n    const readyRuntimeError: ReadyRuntimeError = {\n      id: event.id,\n      runtime: true,\n      error: event.error,\n      type: event.type,\n      // createMemoizedPromise dedups calls to getOriginalStackFrames\n      frames: createMemoizedPromise(async () => {\n        return await getOriginalStackFrames(\n          event.frames,\n          getErrorSource(event.error),\n          isAppDir\n        )\n      }),\n      cause: getCauseChain(event.error, isAppDir),\n    }\n    return readyRuntimeError\n  }\n}\n\nfunction getCauseChain(\n  error: Error,\n  isAppDir: boolean,\n  depth: number = 0\n): ReadyErrorCause | undefined {\n  if (depth >= 5) return undefined\n  const cause = error.cause\n  if (!(cause instanceof Error)) return undefined\n\n  const frames = parseStack(cause.stack || '')\n  if (cause instanceof AggregateError) {\n    return {\n      error: cause,\n      frames: createMemoizedPromise(async () => {\n        return await getOriginalStackFrames(\n          frames,\n          getErrorSource(cause),\n          isAppDir\n        )\n      }),\n      cause: getCauseChain(cause, isAppDir, depth + 1),\n      aggregateErrors: getAggregateErrors(cause, isAppDir, depth + 1),\n    }\n  } else {\n    return {\n      error: cause,\n      frames: createMemoizedPromise(async () => {\n        return await getOriginalStackFrames(\n          frames,\n          getErrorSource(cause),\n          isAppDir\n        )\n      }),\n      cause: getCauseChain(cause, isAppDir, depth + 1),\n    }\n  }\n}\n\nfunction getAggregateErrors(\n  error: AggregateError,\n  isAppDir: boolean,\n  depth: number = 0\n): ReadyErrorCause[] | null {\n  if (depth >= 5) {\n    return null\n  }\n  if (error.errors.length === 0) {\n    return null\n  }\n\n  const maxErrors = 5\n  const readyErrors: ReadyErrorCause[] = []\n  for (let i = 0; i < error.errors.length; i++) {\n    const childError = error.errors[i]\n    if (childError instanceof AggregateError) {\n      const frames = parseStack(childError.stack || '')\n      readyErrors.push({\n        error: childError,\n        frames: createMemoizedPromise(async () => {\n          return await getOriginalStackFrames(\n            frames,\n            getErrorSource(childError),\n            isAppDir\n          )\n        }),\n        cause: getCauseChain(childError, isAppDir, depth + 1),\n        aggregateErrors: getAggregateErrors(childError, isAppDir, depth + 1),\n      })\n    } else if (childError instanceof Error) {\n      const frames = parseStack(childError.stack || '')\n      readyErrors.push({\n        error: childError,\n        frames: createMemoizedPromise(async () => {\n          return await getOriginalStackFrames(\n            frames,\n            getErrorSource(childError),\n            isAppDir\n          )\n        }),\n        cause: getCauseChain(childError, isAppDir, depth + 1),\n      })\n    }\n\n    if (readyErrors.length >= maxErrors) {\n      break\n    }\n  }\n\n  return readyErrors\n}\n\nfunction createMemoizedPromise<T>(\n  promiseFactory: () => Promise<T>\n): () => Promise<T> {\n  const cachedPromise = promiseFactory()\n  return function (): Promise<T> {\n    return cachedPromise\n  }\n}\n","import { useCallback } from 'react'\n\nexport function useOpenInEditor({\n  file,\n  line1,\n  column1,\n}: {\n  file?: string | null\n  line1?: number | null\n  column1?: number | null\n} = {}) {\n  const openInEditor = useCallback(() => {\n    if (file == null || line1 == null || column1 == null) return\n\n    const params = new URLSearchParams()\n    params.append('file', file)\n    params.append('line1', String(line1))\n    params.append('column1', String(column1))\n\n    self\n      .fetch(\n        `${\n          process.env.__NEXT_ROUTER_BASEPATH || ''\n        }/__nextjs_launch-editor?${params.toString()}`\n      )\n      .then(\n        () => {},\n        (cause) => {\n          console.error(\n            `Failed to open file \"${file} (${line1}:${column1})\" in your editor. Cause:`,\n            cause\n          )\n        }\n      )\n  }, [file, line1, column1])\n\n  return openInEditor\n}\n","export const REACT_HYDRATION_ERROR_LINK =\n  'https://react.dev/link/hydration-mismatch'\nexport const NEXTJS_HYDRATION_ERROR_LINK =\n  'https://nextjs.org/docs/messages/react-hydration-error'\n\n/**\n * Only React 19+ contains component stack diff in the error message\n */\nconst errorMessagesWithComponentStackDiff = [\n  /^In HTML, (.+?) cannot be a child of <(.+?)>\\.(.*)\\nThis will cause a hydration error\\.(.*)/,\n  /^In HTML, (.+?) cannot be a descendant of <(.+?)>\\.\\nThis will cause a hydration error\\.(.*)/,\n  /^In HTML, text nodes cannot be a child of <(.+?)>\\.\\nThis will cause a hydration error\\./,\n  /^In HTML, whitespace text nodes cannot be a child of <(.+?)>\\. Make sure you don't have any extra whitespace between tags on each line of your source code\\.\\nThis will cause a hydration error\\./,\n]\n\nexport function isHydrationError(error: Error): boolean {\n  return (\n    isErrorMessageWithComponentStackDiff(error.message) ||\n    /Hydration failed because the server rendered (text|HTML) didn't match the client\\./.test(\n      error.message\n    ) ||\n    /A tree hydrated but some attributes of the server rendered HTML didn't match the client properties./.test(\n      error.message\n    )\n  )\n}\n\nexport function isErrorMessageWithComponentStackDiff(msg: string): boolean {\n  return errorMessagesWithComponentStackDiff.some((regex) => regex.test(msg))\n}\n\nexport function getHydrationErrorStackInfo(error: Error): {\n  message: string | null\n  notes: string | null\n  diff: string | null\n} {\n  const errorMessage = error.message\n  if (isErrorMessageWithComponentStackDiff(errorMessage)) {\n    const [message, diffLog = ''] = errorMessage.split('\\n\\n')\n    const diff = diffLog.trim()\n    return {\n      message: diff === '' ? errorMessage.trim() : message.trim(),\n      diff,\n      notes: null,\n    }\n  }\n\n  const [message, maybeComponentStackDiff] = errorMessage.split(\n    `${REACT_HYDRATION_ERROR_LINK}`\n  )\n  const trimmedMessage = message.trim()\n  // React built-in hydration diff starts with a newline\n  if (\n    maybeComponentStackDiff !== undefined &&\n    maybeComponentStackDiff.length > 1\n  ) {\n    const diffs: string[] = []\n    maybeComponentStackDiff.split('\\n').forEach((line) => {\n      if (line.trim() === '') return\n      if (!line.trim().startsWith('at ')) {\n        diffs.push(line)\n      }\n    })\n\n    const [displayedMessage, ...notes] = trimmedMessage.split('\\n\\n')\n    return {\n      message: displayedMessage,\n      diff: diffs.join('\\n'),\n      notes: notes.join('\\n\\n') || null,\n    }\n  } else {\n    const [displayedMessage, ...notes] = trimmedMessage.split('\\n\\n')\n    return {\n      message: displayedMessage,\n      diff: null,\n      notes: notes.join('\\n\\n'),\n    }\n  }\n}\n","const replacementRegExes = [\n  /^webpack-internal:\\/\\/\\/(\\([\\w-]+\\)\\/)?/,\n  /^(webpack:\\/\\/\\/|webpack:\\/\\/(_N_E\\/)?)(\\([\\w-]+\\)\\/)?/,\n]\n\nexport function isWebpackInternalResource(file: string) {\n  for (const regex of replacementRegExes) {\n    if (regex.test(file)) return true\n\n    file = file.replace(regex, '')\n  }\n\n  return false\n}\n\n/**\n * Format the webpack internal id to original file path\n *\n * webpack-internal:///./src/hello.tsx => ./src/hello.tsx\n * webpack://_N_E/./src/hello.tsx => ./src/hello.tsx\n * webpack://./src/hello.tsx => ./src/hello.tsx\n * webpack:///./src/hello.tsx => ./src/hello.tsx\n */\nexport function formatStackFrameFile(file: string) {\n  for (const regex of replacementRegExes) {\n    file = file.replace(regex, '')\n  }\n\n  return file\n}\n","import type {\n  OriginalStackFrameResponse,\n  OriginalStackFrameResponseResult,\n  OriginalStackFramesRequest,\n  StackFrame,\n} from '../server/shared'\nimport {\n  isWebpackInternalResource,\n  formatStackFrameFile,\n} from './webpack-module-path'\n\nexport type { StackFrame }\n\ninterface ResolvedOriginalStackFrame extends OriginalStackFrameResponse {\n  error: false\n  reason: null\n  external: boolean\n  ignored: boolean\n  sourceStackFrame: StackFrame\n}\n\ninterface RejectedOriginalStackFrame extends OriginalStackFrameResponse {\n  error: true\n  reason: string\n  external: boolean\n  ignored: boolean\n  sourceStackFrame: StackFrame\n}\n\nexport type OriginalStackFrame =\n  | ResolvedOriginalStackFrame\n  | RejectedOriginalStackFrame\n\nfunction getOriginalStackFrame(\n  source: StackFrame,\n  response: OriginalStackFrameResponseResult\n): Promise<OriginalStackFrame> {\n  async function _getOriginalStackFrame(): Promise<ResolvedOriginalStackFrame> {\n    if (response.status === 'rejected') {\n      throw new Error(response.reason)\n    }\n\n    const body: OriginalStackFrameResponse = response.value\n\n    return {\n      error: false,\n      reason: null,\n      external: false,\n      sourceStackFrame: source,\n      originalStackFrame: body.originalStackFrame,\n      originalCodeFrame: body.originalCodeFrame || null,\n      ignored: body.originalStackFrame?.ignored || false,\n    }\n  }\n\n  // TODO: merge this section into ignoredList handling\n  if (source.file === 'file://' || source.file?.match(/https?:\\/\\//)) {\n    return Promise.resolve({\n      error: false,\n      reason: null,\n      external: true,\n      sourceStackFrame: source,\n      originalStackFrame: null,\n      originalCodeFrame: null,\n      ignored: true,\n    })\n  }\n\n  return _getOriginalStackFrame().catch(\n    (err: Error): RejectedOriginalStackFrame => ({\n      error: true,\n      reason: err?.message ?? err?.toString() ?? 'Unknown Error',\n      external: false,\n      sourceStackFrame: source,\n      originalStackFrame: null,\n      originalCodeFrame: null,\n      ignored: false,\n    })\n  )\n}\n\nexport async function getOriginalStackFrames(\n  frames: readonly StackFrame[],\n  type: 'server' | 'edge-server' | null,\n  isAppDir: boolean\n): Promise<readonly OriginalStackFrame[]> {\n  const req: OriginalStackFramesRequest = {\n    frames,\n    isServer: type === 'server',\n    isEdgeServer: type === 'edge-server',\n    isAppDirectory: isAppDir,\n  }\n\n  let res: Response | undefined = undefined\n  let reason: string | undefined = undefined\n  try {\n    res = await fetch('/__nextjs_original-stack-frames', {\n      method: 'POST',\n      body: JSON.stringify(req),\n    })\n  } catch (e) {\n    reason = e + ''\n  }\n\n  // When fails to fetch the original stack frames, we reject here to be\n  // caught at `_getOriginalStackFrame()` and return the stack frames so\n  // that the error overlay can render.\n  if (res && res.ok && res.status !== 204) {\n    const data = await res.json()\n    return Promise.all(\n      frames.map((frame, index) => getOriginalStackFrame(frame, data[index]))\n    )\n  } else {\n    if (res) {\n      reason = await res.text()\n    }\n  }\n  return Promise.all(\n    frames.map((frame) =>\n      getOriginalStackFrame(frame, {\n        status: 'rejected',\n        reason: `Failed to fetch the original stack frames ${reason ? `: ${reason}` : ''}`,\n      })\n    )\n  )\n}\n\nexport function getStackFrameFile(frame: StackFrame): string {\n  if (!frame.file) return ''\n\n  const isWebpackFrame = isWebpackInternalResource(frame.file)\n\n  let str = ''\n  // Skip URL parsing for webpack internal file paths.\n  if (isWebpackFrame) {\n    str = formatStackFrameFile(frame.file)\n  } else {\n    try {\n      const u = new URL(frame.file)\n\n      let parsedPath = ''\n      // Strip the origin for same-origin scripts.\n      if (globalThis.location?.origin !== u.origin) {\n        // URLs can be valid without an `origin`, so long as they have a\n        // `protocol`. However, `origin` is preferred.\n        if (u.origin === 'null') {\n          parsedPath += u.protocol\n        } else {\n          parsedPath += u.origin\n        }\n      }\n\n      // Strip query string information as it's typically too verbose to be\n      // meaningful.\n      parsedPath += u.pathname\n      str = formatStackFrameFile(parsedPath)\n    } catch {\n      str = formatStackFrameFile(frame.file)\n    }\n  }\n\n  if (!isWebpackInternalResource(frame.file) && frame.line1 != null) {\n    // We don't need line and column numbers for anonymous sources because\n    // there's no entrypoint for the location anyway.\n    if (str && frame.file !== '<anonymous>') {\n      if (frame.column1 != null) {\n        str += ` (${frame.line1}:${frame.column1})`\n      } else {\n        str += ` (${frame.line1})`\n      }\n    }\n  }\n  return str\n}\n","import { parse } from 'next/dist/compiled/stacktrace-parser'\n\nconst regexNextStatic = /\\/_next(\\/static\\/.+)/\n\nexport interface StackFrame {\n  file: string | null\n  methodName: string\n  arguments: string[]\n  /** 1-based */\n  line1: number | null\n  /** 1-based */\n  column1: number | null\n}\n\nexport function parseStack(\n  stack: string,\n  distDir = process.env.__NEXT_DIST_DIR\n): StackFrame[] {\n  if (!stack) return []\n\n  // throw away eval information that stacktrace-parser doesn't support\n  // adapted from https://github.com/stacktracejs/error-stack-parser/blob/9f33c224b5d7b607755eb277f9d51fcdb7287e24/error-stack-parser.js#L59C33-L59C62\n  stack = stack\n    .split('\\n')\n    .map((line) => {\n      if (line.includes('(eval ')) {\n        line = line\n          .replace(/eval code/g, 'eval')\n          .replace(/\\(eval at [^()]* \\(/, '(file://')\n          .replace(/\\),.*$/g, ')')\n      }\n\n      return line\n    })\n    .join('\\n')\n\n  const frames = parse(stack)\n  return frames.map((frame) => {\n    try {\n      const url = new URL(frame.file!)\n      const res = regexNextStatic.exec(url.pathname)\n      if (res) {\n        const effectiveDistDir = distDir\n          ?.replace(/\\\\/g, '/')\n          ?.replace(/\\/$/, '')\n        if (effectiveDistDir) {\n          frame.file =\n            'file://' + effectiveDistDir.concat(res.pop()!) + url.search\n        }\n      }\n    } catch {}\n    return {\n      file: frame.file,\n      line1: frame.lineNumber,\n      column1: frame.column,\n      methodName: frame.methodName,\n      arguments: frame.arguments,\n    }\n  })\n}\n","const symbolError = Symbol.for('NextjsError')\n\nexport function getErrorSource(error: Error): 'server' | 'edge-server' | null {\n  return (error as any)[symbolError] || null\n}\n\nexport type ErrorSourceType = 'edge-server' | 'server'\n\nexport function decorateServerError(error: Error, type: ErrorSourceType) {\n  Object.defineProperty(error, symbolError, {\n    writable: false,\n    enumerable: false,\n    configurable: false,\n    value: type,\n  })\n}\n","export type RequestInsightKind = 'request' | 'instant-insights'\n\nexport type RequestInsightIdentity = {\n  requestId: string\n  kind?: RequestInsightKind\n}\n\nexport function getRequestInsightKind(\n  insight: Pick<RequestInsightIdentity, 'kind'>\n): RequestInsightKind {\n  return insight.kind ?? 'request'\n}\n\nexport function getRequestInsightKey(insight: RequestInsightIdentity): string {\n  return `${getRequestInsightKind(insight)}:${insight.requestId}`\n}\n","(()=>{\"use strict\";var e={247:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var a=Object.getOwnPropertyDescriptor(t,s);if(!a||(\"get\"in a?!t.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,a)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var a=this&&this.__setModuleDefault||(Object.create?function(e,t){Object.defineProperty(e,\"default\",{enumerable:true,value:t})}:function(e,t){e[\"default\"]=t});var n=this&&this.__importStar||function(e){if(e&&e.__esModule)return e;var t={};if(e!=null)for(var s in e)if(s!==\"default\"&&Object.prototype.hasOwnProperty.call(e,s))r(t,e,s);a(t,e);return t};var i=this&&this.__exportStar||function(e,t){for(var s in e)if(s!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,\"__esModule\",{value:true});t.z=void 0;const o=n(s(390));t.z=o;i(s(390),t);t[\"default\"]=o},360:(e,t,s)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.ZodError=t.quotelessJson=t.ZodIssueCode=void 0;const r=s(361);t.ZodIssueCode=r.util.arrayToEnum([\"invalid_type\",\"invalid_literal\",\"custom\",\"invalid_union\",\"invalid_union_discriminator\",\"invalid_enum_value\",\"unrecognized_keys\",\"invalid_arguments\",\"invalid_return_type\",\"invalid_date\",\"invalid_string\",\"too_small\",\"too_big\",\"invalid_intersection_types\",\"not_multiple_of\",\"not_finite\"]);const quotelessJson=e=>{const t=JSON.stringify(e,null,2);return t.replace(/\"([^\"]+)\":/g,\"$1:\")};t.quotelessJson=quotelessJson;class ZodError extends Error{get errors(){return this.issues}constructor(e){super();this.issues=[];this.addIssue=e=>{this.issues=[...this.issues,e]};this.addIssues=(e=[])=>{this.issues=[...this.issues,...e]};const t=new.target.prototype;if(Object.setPrototypeOf){Object.setPrototypeOf(this,t)}else{this.__proto__=t}this.name=\"ZodError\";this.issues=e}format(e){const t=e||function(e){return e.message};const s={_errors:[]};const processError=e=>{for(const r of e.issues){if(r.code===\"invalid_union\"){r.unionErrors.map(processError)}else if(r.code===\"invalid_return_type\"){processError(r.returnTypeError)}else if(r.code===\"invalid_arguments\"){processError(r.argumentsError)}else if(r.path.length===0){s._errors.push(t(r))}else{let e=s;let a=0;while(a<r.path.length){const s=r.path[a];const n=a===r.path.length-1;if(!n){e[s]=e[s]||{_errors:[]}}else{e[s]=e[s]||{_errors:[]};e[s]._errors.push(t(r))}e=e[s];a++}}}};processError(this);return s}static assert(e){if(!(e instanceof ZodError)){throw new Error(`Not a ZodError: ${e}`)}}toString(){return this.message}get message(){return JSON.stringify(this.issues,r.util.jsonStringifyReplacer,2)}get isEmpty(){return this.issues.length===0}flatten(e=e=>e.message){const t={};const s=[];for(const r of this.issues){if(r.path.length>0){const s=r.path[0];t[s]=t[s]||[];t[s].push(e(r))}else{s.push(e(r))}}return{formErrors:s,fieldErrors:t}}get formErrors(){return this.flatten()}}t.ZodError=ZodError;ZodError.create=e=>{const t=new ZodError(e);return t}},890:function(e,t,s){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:true});t.defaultErrorMap=void 0;t.setErrorMap=setErrorMap;t.getErrorMap=getErrorMap;const a=r(s(570));t.defaultErrorMap=a.default;let n=a.default;function setErrorMap(e){n=e}function getErrorMap(){return n}},390:function(e,t,s){var r=this&&this.__createBinding||(Object.create?function(e,t,s,r){if(r===undefined)r=s;var a=Object.getOwnPropertyDescriptor(t,s);if(!a||(\"get\"in a?!t.__esModule:a.writable||a.configurable)){a={enumerable:true,get:function(){return t[s]}}}Object.defineProperty(e,r,a)}:function(e,t,s,r){if(r===undefined)r=s;e[r]=t[s]});var a=this&&this.__exportStar||function(e,t){for(var s in e)if(s!==\"default\"&&!Object.prototype.hasOwnProperty.call(t,s))r(t,e,s)};Object.defineProperty(t,\"__esModule\",{value:true});a(s(890),t);a(s(650),t);a(s(95),t);a(s(361),t);a(s(734),t);a(s(360),t)},849:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.errorUtil=void 0;var s;(function(e){e.errToObj=e=>typeof e===\"string\"?{message:e}:e||{};e.toString=e=>typeof e===\"string\"?e:e?.message})(s||(t.errorUtil=s={}))},650:function(e,t,s){var r=this&&this.__importDefault||function(e){return e&&e.__esModule?e:{default:e}};Object.defineProperty(t,\"__esModule\",{value:true});t.isAsync=t.isValid=t.isDirty=t.isAborted=t.OK=t.DIRTY=t.INVALID=t.ParseStatus=t.EMPTY_PATH=t.makeIssue=void 0;t.addIssueToContext=addIssueToContext;const a=s(890);const n=r(s(570));const makeIssue=e=>{const{data:t,path:s,errorMaps:r,issueData:a}=e;const n=[...s,...a.path||[]];const i={...a,path:n};if(a.message!==undefined){return{...a,path:n,message:a.message}}let o=\"\";const d=r.filter((e=>!!e)).slice().reverse();for(const e of d){o=e(i,{data:t,defaultError:o}).message}return{...a,path:n,message:o}};t.makeIssue=makeIssue;t.EMPTY_PATH=[];function addIssueToContext(e,s){const r=(0,a.getErrorMap)();const i=(0,t.makeIssue)({issueData:s,data:e.data,path:e.path,errorMaps:[e.common.contextualErrorMap,e.schemaErrorMap,r,r===n.default?undefined:n.default].filter((e=>!!e))});e.common.issues.push(i)}class ParseStatus{constructor(){this.value=\"valid\"}dirty(){if(this.value===\"valid\")this.value=\"dirty\"}abort(){if(this.value!==\"aborted\")this.value=\"aborted\"}static mergeArray(e,s){const r=[];for(const a of s){if(a.status===\"aborted\")return t.INVALID;if(a.status===\"dirty\")e.dirty();r.push(a.value)}return{status:e.value,value:r}}static async mergeObjectAsync(e,t){const s=[];for(const e of t){const t=await e.key;const r=await e.value;s.push({key:t,value:r})}return ParseStatus.mergeObjectSync(e,s)}static mergeObjectSync(e,s){const r={};for(const a of s){const{key:s,value:n}=a;if(s.status===\"aborted\")return t.INVALID;if(n.status===\"aborted\")return t.INVALID;if(s.status===\"dirty\")e.dirty();if(n.status===\"dirty\")e.dirty();if(s.value!==\"__proto__\"&&(typeof n.value!==\"undefined\"||a.alwaysSet)){r[s.value]=n.value}}return{status:e.value,value:r}}}t.ParseStatus=ParseStatus;t.INVALID=Object.freeze({status:\"aborted\"});const DIRTY=e=>({status:\"dirty\",value:e});t.DIRTY=DIRTY;const OK=e=>({status:\"valid\",value:e});t.OK=OK;const isAborted=e=>e.status===\"aborted\";t.isAborted=isAborted;const isDirty=e=>e.status===\"dirty\";t.isDirty=isDirty;const isValid=e=>e.status===\"valid\";t.isValid=isValid;const isAsync=e=>typeof Promise!==\"undefined\"&&e instanceof Promise;t.isAsync=isAsync},95:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true})},361:(e,t)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.getParsedType=t.ZodParsedType=t.objectUtil=t.util=void 0;var s;(function(e){e.assertEqual=e=>{};function assertIs(e){}e.assertIs=assertIs;function assertNever(e){throw new Error}e.assertNever=assertNever;e.arrayToEnum=e=>{const t={};for(const s of e){t[s]=s}return t};e.getValidEnumValues=t=>{const s=e.objectKeys(t).filter((e=>typeof t[t[e]]!==\"number\"));const r={};for(const e of s){r[e]=t[e]}return e.objectValues(r)};e.objectValues=t=>e.objectKeys(t).map((function(e){return t[e]}));e.objectKeys=typeof Object.keys===\"function\"?e=>Object.keys(e):e=>{const t=[];for(const s in e){if(Object.prototype.hasOwnProperty.call(e,s)){t.push(s)}}return t};e.find=(e,t)=>{for(const s of e){if(t(s))return s}return undefined};e.isInteger=typeof Number.isInteger===\"function\"?e=>Number.isInteger(e):e=>typeof e===\"number\"&&Number.isFinite(e)&&Math.floor(e)===e;function joinValues(e,t=\" | \"){return e.map((e=>typeof e===\"string\"?`'${e}'`:e)).join(t)}e.joinValues=joinValues;e.jsonStringifyReplacer=(e,t)=>{if(typeof t===\"bigint\"){return t.toString()}return t}})(s||(t.util=s={}));var r;(function(e){e.mergeShapes=(e,t)=>({...e,...t})})(r||(t.objectUtil=r={}));t.ZodParsedType=s.arrayToEnum([\"string\",\"nan\",\"number\",\"integer\",\"float\",\"boolean\",\"date\",\"bigint\",\"symbol\",\"function\",\"undefined\",\"null\",\"array\",\"object\",\"unknown\",\"promise\",\"void\",\"never\",\"map\",\"set\"]);const getParsedType=e=>{const s=typeof e;switch(s){case\"undefined\":return t.ZodParsedType.undefined;case\"string\":return t.ZodParsedType.string;case\"number\":return Number.isNaN(e)?t.ZodParsedType.nan:t.ZodParsedType.number;case\"boolean\":return t.ZodParsedType.boolean;case\"function\":return t.ZodParsedType.function;case\"bigint\":return t.ZodParsedType.bigint;case\"symbol\":return t.ZodParsedType.symbol;case\"object\":if(Array.isArray(e)){return t.ZodParsedType.array}if(e===null){return t.ZodParsedType.null}if(e.then&&typeof e.then===\"function\"&&e.catch&&typeof e.catch===\"function\"){return t.ZodParsedType.promise}if(typeof Map!==\"undefined\"&&e instanceof Map){return t.ZodParsedType.map}if(typeof Set!==\"undefined\"&&e instanceof Set){return t.ZodParsedType.set}if(typeof Date!==\"undefined\"&&e instanceof Date){return t.ZodParsedType.date}return t.ZodParsedType.object;default:return t.ZodParsedType.unknown}};t.getParsedType=getParsedType},570:(e,t,s)=>{Object.defineProperty(t,\"__esModule\",{value:true});const r=s(360);const a=s(361);const errorMap=(e,t)=>{let s;switch(e.code){case r.ZodIssueCode.invalid_type:if(e.received===a.ZodParsedType.undefined){s=\"Required\"}else{s=`Expected ${e.expected}, received ${e.received}`}break;case r.ZodIssueCode.invalid_literal:s=`Invalid literal value, expected ${JSON.stringify(e.expected,a.util.jsonStringifyReplacer)}`;break;case r.ZodIssueCode.unrecognized_keys:s=`Unrecognized key(s) in object: ${a.util.joinValues(e.keys,\", \")}`;break;case r.ZodIssueCode.invalid_union:s=`Invalid input`;break;case r.ZodIssueCode.invalid_union_discriminator:s=`Invalid discriminator value. Expected ${a.util.joinValues(e.options)}`;break;case r.ZodIssueCode.invalid_enum_value:s=`Invalid enum value. Expected ${a.util.joinValues(e.options)}, received '${e.received}'`;break;case r.ZodIssueCode.invalid_arguments:s=`Invalid function arguments`;break;case r.ZodIssueCode.invalid_return_type:s=`Invalid function return type`;break;case r.ZodIssueCode.invalid_date:s=`Invalid date`;break;case r.ZodIssueCode.invalid_string:if(typeof e.validation===\"object\"){if(\"includes\"in e.validation){s=`Invalid input: must include \"${e.validation.includes}\"`;if(typeof e.validation.position===\"number\"){s=`${s} at one or more positions greater than or equal to ${e.validation.position}`}}else if(\"startsWith\"in e.validation){s=`Invalid input: must start with \"${e.validation.startsWith}\"`}else if(\"endsWith\"in e.validation){s=`Invalid input: must end with \"${e.validation.endsWith}\"`}else{a.util.assertNever(e.validation)}}else if(e.validation!==\"regex\"){s=`Invalid ${e.validation}`}else{s=\"Invalid\"}break;case r.ZodIssueCode.too_small:if(e.type===\"array\")s=`Array must contain ${e.exact?\"exactly\":e.inclusive?`at least`:`more than`} ${e.minimum} element(s)`;else if(e.type===\"string\")s=`String must contain ${e.exact?\"exactly\":e.inclusive?`at least`:`over`} ${e.minimum} character(s)`;else if(e.type===\"number\")s=`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`;else if(e.type===\"bigint\")s=`Number must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${e.minimum}`;else if(e.type===\"date\")s=`Date must be ${e.exact?`exactly equal to `:e.inclusive?`greater than or equal to `:`greater than `}${new Date(Number(e.minimum))}`;else s=\"Invalid input\";break;case r.ZodIssueCode.too_big:if(e.type===\"array\")s=`Array must contain ${e.exact?`exactly`:e.inclusive?`at most`:`less than`} ${e.maximum} element(s)`;else if(e.type===\"string\")s=`String must contain ${e.exact?`exactly`:e.inclusive?`at most`:`under`} ${e.maximum} character(s)`;else if(e.type===\"number\")s=`Number must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`;else if(e.type===\"bigint\")s=`BigInt must be ${e.exact?`exactly`:e.inclusive?`less than or equal to`:`less than`} ${e.maximum}`;else if(e.type===\"date\")s=`Date must be ${e.exact?`exactly`:e.inclusive?`smaller than or equal to`:`smaller than`} ${new Date(Number(e.maximum))}`;else s=\"Invalid input\";break;case r.ZodIssueCode.custom:s=`Invalid input`;break;case r.ZodIssueCode.invalid_intersection_types:s=`Intersection results could not be merged`;break;case r.ZodIssueCode.not_multiple_of:s=`Number must be a multiple of ${e.multipleOf}`;break;case r.ZodIssueCode.not_finite:s=\"Number must be finite\";break;default:s=t.defaultError;a.util.assertNever(e)}return{message:s}};t[\"default\"]=errorMap},734:(e,t,s)=>{Object.defineProperty(t,\"__esModule\",{value:true});t.discriminatedUnion=t.date=t.boolean=t.bigint=t.array=t.any=t.coerce=t.ZodFirstPartyTypeKind=t.late=t.ZodSchema=t.Schema=t.ZodReadonly=t.ZodPipeline=t.ZodBranded=t.BRAND=t.ZodNaN=t.ZodCatch=t.ZodDefault=t.ZodNullable=t.ZodOptional=t.ZodTransformer=t.ZodEffects=t.ZodPromise=t.ZodNativeEnum=t.ZodEnum=t.ZodLiteral=t.ZodLazy=t.ZodFunction=t.ZodSet=t.ZodMap=t.ZodRecord=t.ZodTuple=t.ZodIntersection=t.ZodDiscriminatedUnion=t.ZodUnion=t.ZodObject=t.ZodArray=t.ZodVoid=t.ZodNever=t.ZodUnknown=t.ZodAny=t.ZodNull=t.ZodUndefined=t.ZodSymbol=t.ZodDate=t.ZodBoolean=t.ZodBigInt=t.ZodNumber=t.ZodString=t.ZodType=void 0;t.NEVER=t[\"void\"]=t.unknown=t.union=t.undefined=t.tuple=t.transformer=t.symbol=t.string=t.strictObject=t.set=t.record=t.promise=t.preprocess=t.pipeline=t.ostring=t.optional=t.onumber=t.oboolean=t.object=t.number=t.nullable=t[\"null\"]=t.never=t.nativeEnum=t.nan=t.map=t.literal=t.lazy=t.intersection=t[\"instanceof\"]=t[\"function\"]=t[\"enum\"]=t.effect=void 0;t.datetimeRegex=datetimeRegex;t.custom=custom;const r=s(360);const a=s(890);const n=s(849);const i=s(650);const o=s(361);class ParseInputLazyPath{constructor(e,t,s,r){this._cachedPath=[];this.parent=e;this.data=t;this._path=s;this._key=r}get path(){if(!this._cachedPath.length){if(Array.isArray(this._key)){this._cachedPath.push(...this._path,...this._key)}else{this._cachedPath.push(...this._path,this._key)}}return this._cachedPath}}const handleResult=(e,t)=>{if((0,i.isValid)(t)){return{success:true,data:t.value}}else{if(!e.common.issues.length){throw new Error(\"Validation failed but no issues detected.\")}return{success:false,get error(){if(this._error)return this._error;const t=new r.ZodError(e.common.issues);this._error=t;return this._error}}}};function processCreateParams(e){if(!e)return{};const{errorMap:t,invalid_type_error:s,required_error:r,description:a}=e;if(t&&(s||r)){throw new Error(`Can't use \"invalid_type_error\" or \"required_error\" in conjunction with custom error map.`)}if(t)return{errorMap:t,description:a};const customMap=(t,a)=>{const{message:n}=e;if(t.code===\"invalid_enum_value\"){return{message:n??a.defaultError}}if(typeof a.data===\"undefined\"){return{message:n??r??a.defaultError}}if(t.code!==\"invalid_type\")return{message:a.defaultError};return{message:n??s??a.defaultError}};return{errorMap:customMap,description:a}}class ZodType{get description(){return this._def.description}_getType(e){return(0,o.getParsedType)(e.data)}_getOrReturnCtx(e,t){return t||{common:e.parent.common,data:e.data,parsedType:(0,o.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}_processInputParams(e){return{status:new i.ParseStatus,ctx:{common:e.parent.common,data:e.data,parsedType:(0,o.getParsedType)(e.data),schemaErrorMap:this._def.errorMap,path:e.path,parent:e.parent}}}_parseSync(e){const t=this._parse(e);if((0,i.isAsync)(t)){throw new Error(\"Synchronous parse encountered promise.\")}return t}_parseAsync(e){const t=this._parse(e);return Promise.resolve(t)}parse(e,t){const s=this.safeParse(e,t);if(s.success)return s.data;throw s.error}safeParse(e,t){const s={common:{issues:[],async:t?.async??false,contextualErrorMap:t?.errorMap},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,o.getParsedType)(e)};const r=this._parseSync({data:e,path:s.path,parent:s});return handleResult(s,r)}\"~validate\"(e){const t={common:{issues:[],async:!!this[\"~standard\"].async},path:[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,o.getParsedType)(e)};if(!this[\"~standard\"].async){try{const s=this._parseSync({data:e,path:[],parent:t});return(0,i.isValid)(s)?{value:s.value}:{issues:t.common.issues}}catch(e){if(e?.message?.toLowerCase()?.includes(\"encountered\")){this[\"~standard\"].async=true}t.common={issues:[],async:true}}}return this._parseAsync({data:e,path:[],parent:t}).then((e=>(0,i.isValid)(e)?{value:e.value}:{issues:t.common.issues}))}async parseAsync(e,t){const s=await this.safeParseAsync(e,t);if(s.success)return s.data;throw s.error}async safeParseAsync(e,t){const s={common:{issues:[],contextualErrorMap:t?.errorMap,async:true},path:t?.path||[],schemaErrorMap:this._def.errorMap,parent:null,data:e,parsedType:(0,o.getParsedType)(e)};const r=this._parse({data:e,path:s.path,parent:s});const a=await((0,i.isAsync)(r)?r:Promise.resolve(r));return handleResult(s,a)}refine(e,t){const getIssueProperties=e=>{if(typeof t===\"string\"||typeof t===\"undefined\"){return{message:t}}else if(typeof t===\"function\"){return t(e)}else{return t}};return this._refinement(((t,s)=>{const a=e(t);const setError=()=>s.addIssue({code:r.ZodIssueCode.custom,...getIssueProperties(t)});if(typeof Promise!==\"undefined\"&&a instanceof Promise){return a.then((e=>{if(!e){setError();return false}else{return true}}))}if(!a){setError();return false}else{return true}}))}refinement(e,t){return this._refinement(((s,r)=>{if(!e(s)){r.addIssue(typeof t===\"function\"?t(s,r):t);return false}else{return true}}))}_refinement(e){return new ZodEffects({schema:this,typeName:k.ZodEffects,effect:{type:\"refinement\",refinement:e}})}superRefine(e){return this._refinement(e)}constructor(e){this.spa=this.safeParseAsync;this._def=e;this.parse=this.parse.bind(this);this.safeParse=this.safeParse.bind(this);this.parseAsync=this.parseAsync.bind(this);this.safeParseAsync=this.safeParseAsync.bind(this);this.spa=this.spa.bind(this);this.refine=this.refine.bind(this);this.refinement=this.refinement.bind(this);this.superRefine=this.superRefine.bind(this);this.optional=this.optional.bind(this);this.nullable=this.nullable.bind(this);this.nullish=this.nullish.bind(this);this.array=this.array.bind(this);this.promise=this.promise.bind(this);this.or=this.or.bind(this);this.and=this.and.bind(this);this.transform=this.transform.bind(this);this.brand=this.brand.bind(this);this.default=this.default.bind(this);this.catch=this.catch.bind(this);this.describe=this.describe.bind(this);this.pipe=this.pipe.bind(this);this.readonly=this.readonly.bind(this);this.isNullable=this.isNullable.bind(this);this.isOptional=this.isOptional.bind(this);this[\"~standard\"]={version:1,vendor:\"zod\",validate:e=>this[\"~validate\"](e)}}optional(){return ZodOptional.create(this,this._def)}nullable(){return ZodNullable.create(this,this._def)}nullish(){return this.nullable().optional()}array(){return ZodArray.create(this)}promise(){return ZodPromise.create(this,this._def)}or(e){return ZodUnion.create([this,e],this._def)}and(e){return ZodIntersection.create(this,e,this._def)}transform(e){return new ZodEffects({...processCreateParams(this._def),schema:this,typeName:k.ZodEffects,effect:{type:\"transform\",transform:e}})}default(e){const t=typeof e===\"function\"?e:()=>e;return new ZodDefault({...processCreateParams(this._def),innerType:this,defaultValue:t,typeName:k.ZodDefault})}brand(){return new ZodBranded({typeName:k.ZodBranded,type:this,...processCreateParams(this._def)})}catch(e){const t=typeof e===\"function\"?e:()=>e;return new ZodCatch({...processCreateParams(this._def),innerType:this,catchValue:t,typeName:k.ZodCatch})}describe(e){const t=this.constructor;return new t({...this._def,description:e})}pipe(e){return ZodPipeline.create(this,e)}readonly(){return ZodReadonly.create(this)}isOptional(){return this.safeParse(undefined).success}isNullable(){return this.safeParse(null).success}}t.ZodType=ZodType;t.Schema=ZodType;t.ZodSchema=ZodType;const d=/^c[^\\s-]{8,}$/i;const u=/^[0-9a-z]+$/;const c=/^[0-9A-HJKMNP-TV-Z]{26}$/i;const l=/^[0-9a-fA-F]{8}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{4}\\b-[0-9a-fA-F]{12}$/i;const p=/^[a-z0-9_-]{21}$/i;const f=/^[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]+\\.[A-Za-z0-9-_]*$/;const h=/^[-+]?P(?!$)(?:(?:[-+]?\\d+Y)|(?:[-+]?\\d+[.,]\\d+Y$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:(?:[-+]?\\d+W)|(?:[-+]?\\d+[.,]\\d+W$))?(?:(?:[-+]?\\d+D)|(?:[-+]?\\d+[.,]\\d+D$))?(?:T(?=[\\d+-])(?:(?:[-+]?\\d+H)|(?:[-+]?\\d+[.,]\\d+H$))?(?:(?:[-+]?\\d+M)|(?:[-+]?\\d+[.,]\\d+M$))?(?:[-+]?\\d+(?:[.,]\\d+)?S)?)??$/;const m=/^(?!\\.)(?!.*\\.\\.)([A-Z0-9_'+\\-\\.]*)[A-Z0-9_+-]@([A-Z0-9][A-Z0-9\\-]*\\.)+[A-Z]{2,}$/i;const y=`^(\\\\p{Extended_Pictographic}|\\\\p{Emoji_Component})+$`;let Z;const _=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])$/;const g=/^(?:(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\.){3}(?:25[0-5]|2[0-4][0-9]|1[0-9][0-9]|[1-9][0-9]|[0-9])\\/(3[0-2]|[12]?[0-9])$/;const v=/^(([0-9a-fA-F]{1,4}:){7,7}[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,7}:|([0-9a-fA-F]{1,4}:){1,6}:[0-9a-fA-F]{1,4}|([0-9a-fA-F]{1,4}:){1,5}(:[0-9a-fA-F]{1,4}){1,2}|([0-9a-fA-F]{1,4}:){1,4}(:[0-9a-fA-F]{1,4}){1,3}|([0-9a-fA-F]{1,4}:){1,3}(:[0-9a-fA-F]{1,4}){1,4}|([0-9a-fA-F]{1,4}:){1,2}(:[0-9a-fA-F]{1,4}){1,5}|[0-9a-fA-F]{1,4}:((:[0-9a-fA-F]{1,4}){1,6})|:((:[0-9a-fA-F]{1,4}){1,7}|:)|fe80:(:[0-9a-fA-F]{0,4}){0,4}%[0-9a-zA-Z]{1,}|::(ffff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048]|\\\\d\\\\d[13579][26]|\\\\d\\\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\\\d{4}-((0[13578]|1[02])-(0[1-9]|[12]\\\\d|3[01])|(0[469]|11)-(0[1-9]|[12]\\\\d|30)|(02)-(0[1-9]|1\\\\d|2[0-8])))`;const C=new RegExp(`^${x}$`);function timeRegexSource(e){let t=`[0-5]\\\\d`;if(e.precision){t=`${t}\\\\.\\\\d{${e.precision}}`}else if(e.precision==null){t=`${t}(\\\\.\\\\d+)?`}const s=e.precision?\"+\":\"?\";return`([01]\\\\d|2[0-3]):[0-5]\\\\d(:${t})${s}`}function timeRegex(e){return new RegExp(`^${timeRegexSource(e)}$`)}function datetimeRegex(e){let t=`${x}T${timeRegexSource(e)}`;const s=[];s.push(e.local?`Z?`:`Z`);if(e.offset)s.push(`([+-]\\\\d{2}:?\\\\d{2})`);t=`${t}(${s.join(\"|\")})`;return new RegExp(`^${t}$`)}function isValidIP(e,t){if((t===\"v4\"||!t)&&_.test(e)){return true}if((t===\"v6\"||!t)&&v.test(e)){return true}return false}function isValidJWT(e,t){if(!f.test(e))return false;try{const[s]=e.split(\".\");if(!s)return false;const r=s.replace(/-/g,\"+\").replace(/_/g,\"/\").padEnd(s.length+(4-s.length%4)%4,\"=\");const a=JSON.parse(atob(r));if(typeof a!==\"object\"||a===null)return false;if(\"typ\"in a&&a?.typ!==\"JWT\")return false;if(!a.alg)return false;if(t&&a.alg!==t)return false;return true}catch{return false}}function isValidCidr(e,t){if((t===\"v4\"||!t)&&g.test(e)){return true}if((t===\"v6\"||!t)&&I.test(e)){return true}return false}class ZodString extends ZodType{_parse(e){if(this._def.coerce){e.data=String(e.data)}const t=this._getType(e);if(t!==o.ZodParsedType.string){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.string,received:t.parsedType});return i.INVALID}const s=new i.ParseStatus;let a=undefined;for(const t of this._def.checks){if(t.kind===\"min\"){if(e.data.length<t.value){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_small,minimum:t.value,type:\"string\",inclusive:true,exact:false,message:t.message});s.dirty()}}else if(t.kind===\"max\"){if(e.data.length>t.value){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_big,maximum:t.value,type:\"string\",inclusive:true,exact:false,message:t.message});s.dirty()}}else if(t.kind===\"length\"){const n=e.data.length>t.value;const o=e.data.length<t.value;if(n||o){a=this._getOrReturnCtx(e,a);if(n){(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_big,maximum:t.value,type:\"string\",inclusive:true,exact:true,message:t.message})}else if(o){(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_small,minimum:t.value,type:\"string\",inclusive:true,exact:true,message:t.message})}s.dirty()}}else if(t.kind===\"email\"){if(!m.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"email\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"emoji\"){if(!Z){Z=new RegExp(y,\"u\")}if(!Z.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"emoji\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"uuid\"){if(!l.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"uuid\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"nanoid\"){if(!p.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"nanoid\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"cuid\"){if(!d.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"cuid\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"cuid2\"){if(!u.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"cuid2\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"ulid\"){if(!c.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"ulid\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"url\"){try{new URL(e.data)}catch{a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"url\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"regex\"){t.regex.lastIndex=0;const n=t.regex.test(e.data);if(!n){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"regex\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"trim\"){e.data=e.data.trim()}else if(t.kind===\"includes\"){if(!e.data.includes(t.value,t.position)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:{includes:t.value,position:t.position},message:t.message});s.dirty()}}else if(t.kind===\"toLowerCase\"){e.data=e.data.toLowerCase()}else if(t.kind===\"toUpperCase\"){e.data=e.data.toUpperCase()}else if(t.kind===\"startsWith\"){if(!e.data.startsWith(t.value)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:{startsWith:t.value},message:t.message});s.dirty()}}else if(t.kind===\"endsWith\"){if(!e.data.endsWith(t.value)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:{endsWith:t.value},message:t.message});s.dirty()}}else if(t.kind===\"datetime\"){const n=datetimeRegex(t);if(!n.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:\"datetime\",message:t.message});s.dirty()}}else if(t.kind===\"date\"){const n=C;if(!n.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:\"date\",message:t.message});s.dirty()}}else if(t.kind===\"time\"){const n=timeRegex(t);if(!n.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.invalid_string,validation:\"time\",message:t.message});s.dirty()}}else if(t.kind===\"duration\"){if(!h.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"duration\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"ip\"){if(!isValidIP(e.data,t.version)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"ip\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"jwt\"){if(!isValidJWT(e.data,t.alg)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"jwt\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"cidr\"){if(!isValidCidr(e.data,t.version)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"cidr\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"base64\"){if(!T.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"base64\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else if(t.kind===\"base64url\"){if(!b.test(e.data)){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{validation:\"base64url\",code:r.ZodIssueCode.invalid_string,message:t.message});s.dirty()}}else{o.util.assertNever(t)}}return{status:s.value,value:e.data}}_regex(e,t,s){return this.refinement((t=>e.test(t)),{validation:t,code:r.ZodIssueCode.invalid_string,...n.errorUtil.errToObj(s)})}_addCheck(e){return new ZodString({...this._def,checks:[...this._def.checks,e]})}email(e){return this._addCheck({kind:\"email\",...n.errorUtil.errToObj(e)})}url(e){return this._addCheck({kind:\"url\",...n.errorUtil.errToObj(e)})}emoji(e){return this._addCheck({kind:\"emoji\",...n.errorUtil.errToObj(e)})}uuid(e){return this._addCheck({kind:\"uuid\",...n.errorUtil.errToObj(e)})}nanoid(e){return this._addCheck({kind:\"nanoid\",...n.errorUtil.errToObj(e)})}cuid(e){return this._addCheck({kind:\"cuid\",...n.errorUtil.errToObj(e)})}cuid2(e){return this._addCheck({kind:\"cuid2\",...n.errorUtil.errToObj(e)})}ulid(e){return this._addCheck({kind:\"ulid\",...n.errorUtil.errToObj(e)})}base64(e){return this._addCheck({kind:\"base64\",...n.errorUtil.errToObj(e)})}base64url(e){return this._addCheck({kind:\"base64url\",...n.errorUtil.errToObj(e)})}jwt(e){return this._addCheck({kind:\"jwt\",...n.errorUtil.errToObj(e)})}ip(e){return this._addCheck({kind:\"ip\",...n.errorUtil.errToObj(e)})}cidr(e){return this._addCheck({kind:\"cidr\",...n.errorUtil.errToObj(e)})}datetime(e){if(typeof e===\"string\"){return this._addCheck({kind:\"datetime\",precision:null,offset:false,local:false,message:e})}return this._addCheck({kind:\"datetime\",precision:typeof e?.precision===\"undefined\"?null:e?.precision,offset:e?.offset??false,local:e?.local??false,...n.errorUtil.errToObj(e?.message)})}date(e){return this._addCheck({kind:\"date\",message:e})}time(e){if(typeof e===\"string\"){return this._addCheck({kind:\"time\",precision:null,message:e})}return this._addCheck({kind:\"time\",precision:typeof e?.precision===\"undefined\"?null:e?.precision,...n.errorUtil.errToObj(e?.message)})}duration(e){return this._addCheck({kind:\"duration\",...n.errorUtil.errToObj(e)})}regex(e,t){return this._addCheck({kind:\"regex\",regex:e,...n.errorUtil.errToObj(t)})}includes(e,t){return this._addCheck({kind:\"includes\",value:e,position:t?.position,...n.errorUtil.errToObj(t?.message)})}startsWith(e,t){return this._addCheck({kind:\"startsWith\",value:e,...n.errorUtil.errToObj(t)})}endsWith(e,t){return this._addCheck({kind:\"endsWith\",value:e,...n.errorUtil.errToObj(t)})}min(e,t){return this._addCheck({kind:\"min\",value:e,...n.errorUtil.errToObj(t)})}max(e,t){return this._addCheck({kind:\"max\",value:e,...n.errorUtil.errToObj(t)})}length(e,t){return this._addCheck({kind:\"length\",value:e,...n.errorUtil.errToObj(t)})}nonempty(e){return this.min(1,n.errorUtil.errToObj(e))}trim(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:\"trim\"}]})}toLowerCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:\"toLowerCase\"}]})}toUpperCase(){return new ZodString({...this._def,checks:[...this._def.checks,{kind:\"toUpperCase\"}]})}get isDatetime(){return!!this._def.checks.find((e=>e.kind===\"datetime\"))}get isDate(){return!!this._def.checks.find((e=>e.kind===\"date\"))}get isTime(){return!!this._def.checks.find((e=>e.kind===\"time\"))}get isDuration(){return!!this._def.checks.find((e=>e.kind===\"duration\"))}get isEmail(){return!!this._def.checks.find((e=>e.kind===\"email\"))}get isURL(){return!!this._def.checks.find((e=>e.kind===\"url\"))}get isEmoji(){return!!this._def.checks.find((e=>e.kind===\"emoji\"))}get isUUID(){return!!this._def.checks.find((e=>e.kind===\"uuid\"))}get isNANOID(){return!!this._def.checks.find((e=>e.kind===\"nanoid\"))}get isCUID(){return!!this._def.checks.find((e=>e.kind===\"cuid\"))}get isCUID2(){return!!this._def.checks.find((e=>e.kind===\"cuid2\"))}get isULID(){return!!this._def.checks.find((e=>e.kind===\"ulid\"))}get isIP(){return!!this._def.checks.find((e=>e.kind===\"ip\"))}get isCIDR(){return!!this._def.checks.find((e=>e.kind===\"cidr\"))}get isBase64(){return!!this._def.checks.find((e=>e.kind===\"base64\"))}get isBase64url(){return!!this._def.checks.find((e=>e.kind===\"base64url\"))}get minLength(){let e=null;for(const t of this._def.checks){if(t.kind===\"min\"){if(e===null||t.value>e)e=t.value}}return e}get maxLength(){let e=null;for(const t of this._def.checks){if(t.kind===\"max\"){if(e===null||t.value<e)e=t.value}}return e}}t.ZodString=ZodString;ZodString.create=e=>new ZodString({checks:[],typeName:k.ZodString,coerce:e?.coerce??false,...processCreateParams(e)});function floatSafeRemainder(e,t){const s=(e.toString().split(\".\")[1]||\"\").length;const r=(t.toString().split(\".\")[1]||\"\").length;const a=s>r?s:r;const n=Number.parseInt(e.toFixed(a).replace(\".\",\"\"));const i=Number.parseInt(t.toFixed(a).replace(\".\",\"\"));return n%i/10**a}class ZodNumber extends ZodType{constructor(){super(...arguments);this.min=this.gte;this.max=this.lte;this.step=this.multipleOf}_parse(e){if(this._def.coerce){e.data=Number(e.data)}const t=this._getType(e);if(t!==o.ZodParsedType.number){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.number,received:t.parsedType});return i.INVALID}let s=undefined;const a=new i.ParseStatus;for(const t of this._def.checks){if(t.kind===\"int\"){if(!o.util.isInteger(e.data)){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_type,expected:\"integer\",received:\"float\",message:t.message});a.dirty()}}else if(t.kind===\"min\"){const n=t.inclusive?e.data<t.value:e.data<=t.value;if(n){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_small,minimum:t.value,type:\"number\",inclusive:t.inclusive,exact:false,message:t.message});a.dirty()}}else if(t.kind===\"max\"){const n=t.inclusive?e.data>t.value:e.data>=t.value;if(n){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_big,maximum:t.value,type:\"number\",inclusive:t.inclusive,exact:false,message:t.message});a.dirty()}}else if(t.kind===\"multipleOf\"){if(floatSafeRemainder(e.data,t.value)!==0){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.not_multiple_of,multipleOf:t.value,message:t.message});a.dirty()}}else if(t.kind===\"finite\"){if(!Number.isFinite(e.data)){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.not_finite,message:t.message});a.dirty()}}else{o.util.assertNever(t)}}return{status:a.value,value:e.data}}gte(e,t){return this.setLimit(\"min\",e,true,n.errorUtil.toString(t))}gt(e,t){return this.setLimit(\"min\",e,false,n.errorUtil.toString(t))}lte(e,t){return this.setLimit(\"max\",e,true,n.errorUtil.toString(t))}lt(e,t){return this.setLimit(\"max\",e,false,n.errorUtil.toString(t))}setLimit(e,t,s,r){return new ZodNumber({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:s,message:n.errorUtil.toString(r)}]})}_addCheck(e){return new ZodNumber({...this._def,checks:[...this._def.checks,e]})}int(e){return this._addCheck({kind:\"int\",message:n.errorUtil.toString(e)})}positive(e){return this._addCheck({kind:\"min\",value:0,inclusive:false,message:n.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:\"max\",value:0,inclusive:false,message:n.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:\"max\",value:0,inclusive:true,message:n.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:\"min\",value:0,inclusive:true,message:n.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:\"multipleOf\",value:e,message:n.errorUtil.toString(t)})}finite(e){return this._addCheck({kind:\"finite\",message:n.errorUtil.toString(e)})}safe(e){return this._addCheck({kind:\"min\",inclusive:true,value:Number.MIN_SAFE_INTEGER,message:n.errorUtil.toString(e)})._addCheck({kind:\"max\",inclusive:true,value:Number.MAX_SAFE_INTEGER,message:n.errorUtil.toString(e)})}get minValue(){let e=null;for(const t of this._def.checks){if(t.kind===\"min\"){if(e===null||t.value>e)e=t.value}}return e}get maxValue(){let e=null;for(const t of this._def.checks){if(t.kind===\"max\"){if(e===null||t.value<e)e=t.value}}return e}get isInt(){return!!this._def.checks.find((e=>e.kind===\"int\"||e.kind===\"multipleOf\"&&o.util.isInteger(e.value)))}get isFinite(){let e=null;let t=null;for(const s of this._def.checks){if(s.kind===\"finite\"||s.kind===\"int\"||s.kind===\"multipleOf\"){return true}else if(s.kind===\"min\"){if(t===null||s.value>t)t=s.value}else if(s.kind===\"max\"){if(e===null||s.value<e)e=s.value}}return Number.isFinite(t)&&Number.isFinite(e)}}t.ZodNumber=ZodNumber;ZodNumber.create=e=>new ZodNumber({checks:[],typeName:k.ZodNumber,coerce:e?.coerce||false,...processCreateParams(e)});class ZodBigInt extends ZodType{constructor(){super(...arguments);this.min=this.gte;this.max=this.lte}_parse(e){if(this._def.coerce){try{e.data=BigInt(e.data)}catch{return this._getInvalidInput(e)}}const t=this._getType(e);if(t!==o.ZodParsedType.bigint){return this._getInvalidInput(e)}let s=undefined;const a=new i.ParseStatus;for(const t of this._def.checks){if(t.kind===\"min\"){const n=t.inclusive?e.data<t.value:e.data<=t.value;if(n){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_small,type:\"bigint\",minimum:t.value,inclusive:t.inclusive,message:t.message});a.dirty()}}else if(t.kind===\"max\"){const n=t.inclusive?e.data>t.value:e.data>=t.value;if(n){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_big,type:\"bigint\",maximum:t.value,inclusive:t.inclusive,message:t.message});a.dirty()}}else if(t.kind===\"multipleOf\"){if(e.data%t.value!==BigInt(0)){s=this._getOrReturnCtx(e,s);(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.not_multiple_of,multipleOf:t.value,message:t.message});a.dirty()}}else{o.util.assertNever(t)}}return{status:a.value,value:e.data}}_getInvalidInput(e){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.bigint,received:t.parsedType});return i.INVALID}gte(e,t){return this.setLimit(\"min\",e,true,n.errorUtil.toString(t))}gt(e,t){return this.setLimit(\"min\",e,false,n.errorUtil.toString(t))}lte(e,t){return this.setLimit(\"max\",e,true,n.errorUtil.toString(t))}lt(e,t){return this.setLimit(\"max\",e,false,n.errorUtil.toString(t))}setLimit(e,t,s,r){return new ZodBigInt({...this._def,checks:[...this._def.checks,{kind:e,value:t,inclusive:s,message:n.errorUtil.toString(r)}]})}_addCheck(e){return new ZodBigInt({...this._def,checks:[...this._def.checks,e]})}positive(e){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:false,message:n.errorUtil.toString(e)})}negative(e){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:false,message:n.errorUtil.toString(e)})}nonpositive(e){return this._addCheck({kind:\"max\",value:BigInt(0),inclusive:true,message:n.errorUtil.toString(e)})}nonnegative(e){return this._addCheck({kind:\"min\",value:BigInt(0),inclusive:true,message:n.errorUtil.toString(e)})}multipleOf(e,t){return this._addCheck({kind:\"multipleOf\",value:e,message:n.errorUtil.toString(t)})}get minValue(){let e=null;for(const t of this._def.checks){if(t.kind===\"min\"){if(e===null||t.value>e)e=t.value}}return e}get maxValue(){let e=null;for(const t of this._def.checks){if(t.kind===\"max\"){if(e===null||t.value<e)e=t.value}}return e}}t.ZodBigInt=ZodBigInt;ZodBigInt.create=e=>new ZodBigInt({checks:[],typeName:k.ZodBigInt,coerce:e?.coerce??false,...processCreateParams(e)});class ZodBoolean extends ZodType{_parse(e){if(this._def.coerce){e.data=Boolean(e.data)}const t=this._getType(e);if(t!==o.ZodParsedType.boolean){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.boolean,received:t.parsedType});return i.INVALID}return(0,i.OK)(e.data)}}t.ZodBoolean=ZodBoolean;ZodBoolean.create=e=>new ZodBoolean({typeName:k.ZodBoolean,coerce:e?.coerce||false,...processCreateParams(e)});class ZodDate extends ZodType{_parse(e){if(this._def.coerce){e.data=new Date(e.data)}const t=this._getType(e);if(t!==o.ZodParsedType.date){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.date,received:t.parsedType});return i.INVALID}if(Number.isNaN(e.data.getTime())){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_date});return i.INVALID}const s=new i.ParseStatus;let a=undefined;for(const t of this._def.checks){if(t.kind===\"min\"){if(e.data.getTime()<t.value){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_small,message:t.message,inclusive:true,exact:false,minimum:t.value,type:\"date\"});s.dirty()}}else if(t.kind===\"max\"){if(e.data.getTime()>t.value){a=this._getOrReturnCtx(e,a);(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.too_big,message:t.message,inclusive:true,exact:false,maximum:t.value,type:\"date\"});s.dirty()}}else{o.util.assertNever(t)}}return{status:s.value,value:new Date(e.data.getTime())}}_addCheck(e){return new ZodDate({...this._def,checks:[...this._def.checks,e]})}min(e,t){return this._addCheck({kind:\"min\",value:e.getTime(),message:n.errorUtil.toString(t)})}max(e,t){return this._addCheck({kind:\"max\",value:e.getTime(),message:n.errorUtil.toString(t)})}get minDate(){let e=null;for(const t of this._def.checks){if(t.kind===\"min\"){if(e===null||t.value>e)e=t.value}}return e!=null?new Date(e):null}get maxDate(){let e=null;for(const t of this._def.checks){if(t.kind===\"max\"){if(e===null||t.value<e)e=t.value}}return e!=null?new Date(e):null}}t.ZodDate=ZodDate;ZodDate.create=e=>new ZodDate({checks:[],coerce:e?.coerce||false,typeName:k.ZodDate,...processCreateParams(e)});class ZodSymbol extends ZodType{_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.symbol){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.symbol,received:t.parsedType});return i.INVALID}return(0,i.OK)(e.data)}}t.ZodSymbol=ZodSymbol;ZodSymbol.create=e=>new ZodSymbol({typeName:k.ZodSymbol,...processCreateParams(e)});class ZodUndefined extends ZodType{_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.undefined,received:t.parsedType});return i.INVALID}return(0,i.OK)(e.data)}}t.ZodUndefined=ZodUndefined;ZodUndefined.create=e=>new ZodUndefined({typeName:k.ZodUndefined,...processCreateParams(e)});class ZodNull extends ZodType{_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.null){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.null,received:t.parsedType});return i.INVALID}return(0,i.OK)(e.data)}}t.ZodNull=ZodNull;ZodNull.create=e=>new ZodNull({typeName:k.ZodNull,...processCreateParams(e)});class ZodAny extends ZodType{constructor(){super(...arguments);this._any=true}_parse(e){return(0,i.OK)(e.data)}}t.ZodAny=ZodAny;ZodAny.create=e=>new ZodAny({typeName:k.ZodAny,...processCreateParams(e)});class ZodUnknown extends ZodType{constructor(){super(...arguments);this._unknown=true}_parse(e){return(0,i.OK)(e.data)}}t.ZodUnknown=ZodUnknown;ZodUnknown.create=e=>new ZodUnknown({typeName:k.ZodUnknown,...processCreateParams(e)});class ZodNever extends ZodType{_parse(e){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.never,received:t.parsedType});return i.INVALID}}t.ZodNever=ZodNever;ZodNever.create=e=>new ZodNever({typeName:k.ZodNever,...processCreateParams(e)});class ZodVoid extends ZodType{_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.undefined){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.void,received:t.parsedType});return i.INVALID}return(0,i.OK)(e.data)}}t.ZodVoid=ZodVoid;ZodVoid.create=e=>new ZodVoid({typeName:k.ZodVoid,...processCreateParams(e)});class ZodArray extends ZodType{_parse(e){const{ctx:t,status:s}=this._processInputParams(e);const a=this._def;if(t.parsedType!==o.ZodParsedType.array){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.array,received:t.parsedType});return i.INVALID}if(a.exactLength!==null){const e=t.data.length>a.exactLength.value;const n=t.data.length<a.exactLength.value;if(e||n){(0,i.addIssueToContext)(t,{code:e?r.ZodIssueCode.too_big:r.ZodIssueCode.too_small,minimum:n?a.exactLength.value:undefined,maximum:e?a.exactLength.value:undefined,type:\"array\",inclusive:true,exact:true,message:a.exactLength.message});s.dirty()}}if(a.minLength!==null){if(t.data.length<a.minLength.value){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.too_small,minimum:a.minLength.value,type:\"array\",inclusive:true,exact:false,message:a.minLength.message});s.dirty()}}if(a.maxLength!==null){if(t.data.length>a.maxLength.value){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.too_big,maximum:a.maxLength.value,type:\"array\",inclusive:true,exact:false,message:a.maxLength.message});s.dirty()}}if(t.common.async){return Promise.all([...t.data].map(((e,s)=>a.type._parseAsync(new ParseInputLazyPath(t,e,t.path,s))))).then((e=>i.ParseStatus.mergeArray(s,e)))}const n=[...t.data].map(((e,s)=>a.type._parseSync(new ParseInputLazyPath(t,e,t.path,s))));return i.ParseStatus.mergeArray(s,n)}get element(){return this._def.type}min(e,t){return new ZodArray({...this._def,minLength:{value:e,message:n.errorUtil.toString(t)}})}max(e,t){return new ZodArray({...this._def,maxLength:{value:e,message:n.errorUtil.toString(t)}})}length(e,t){return new ZodArray({...this._def,exactLength:{value:e,message:n.errorUtil.toString(t)}})}nonempty(e){return this.min(1,e)}}t.ZodArray=ZodArray;ZodArray.create=(e,t)=>new ZodArray({type:e,minLength:null,maxLength:null,exactLength:null,typeName:k.ZodArray,...processCreateParams(t)});function deepPartialify(e){if(e instanceof ZodObject){const t={};for(const s in e.shape){const r=e.shape[s];t[s]=ZodOptional.create(deepPartialify(r))}return new ZodObject({...e._def,shape:()=>t})}else if(e instanceof ZodArray){return new ZodArray({...e._def,type:deepPartialify(e.element)})}else if(e instanceof ZodOptional){return ZodOptional.create(deepPartialify(e.unwrap()))}else if(e instanceof ZodNullable){return ZodNullable.create(deepPartialify(e.unwrap()))}else if(e instanceof ZodTuple){return ZodTuple.create(e.items.map((e=>deepPartialify(e))))}else{return e}}class ZodObject extends ZodType{constructor(){super(...arguments);this._cached=null;this.nonstrict=this.passthrough;this.augment=this.extend}_getCached(){if(this._cached!==null)return this._cached;const e=this._def.shape();const t=o.util.objectKeys(e);this._cached={shape:e,keys:t};return this._cached}_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.object){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.object,received:t.parsedType});return i.INVALID}const{status:s,ctx:a}=this._processInputParams(e);const{shape:n,keys:d}=this._getCached();const u=[];if(!(this._def.catchall instanceof ZodNever&&this._def.unknownKeys===\"strip\")){for(const e in a.data){if(!d.includes(e)){u.push(e)}}}const c=[];for(const e of d){const t=n[e];const s=a.data[e];c.push({key:{status:\"valid\",value:e},value:t._parse(new ParseInputLazyPath(a,s,a.path,e)),alwaysSet:e in a.data})}if(this._def.catchall instanceof ZodNever){const e=this._def.unknownKeys;if(e===\"passthrough\"){for(const e of u){c.push({key:{status:\"valid\",value:e},value:{status:\"valid\",value:a.data[e]}})}}else if(e===\"strict\"){if(u.length>0){(0,i.addIssueToContext)(a,{code:r.ZodIssueCode.unrecognized_keys,keys:u});s.dirty()}}else if(e===\"strip\"){}else{throw new Error(`Internal ZodObject error: invalid unknownKeys value.`)}}else{const e=this._def.catchall;for(const t of u){const s=a.data[t];c.push({key:{status:\"valid\",value:t},value:e._parse(new ParseInputLazyPath(a,s,a.path,t)),alwaysSet:t in a.data})}}if(a.common.async){return Promise.resolve().then((async()=>{const e=[];for(const t of c){const s=await t.key;const r=await t.value;e.push({key:s,value:r,alwaysSet:t.alwaysSet})}return e})).then((e=>i.ParseStatus.mergeObjectSync(s,e)))}else{return i.ParseStatus.mergeObjectSync(s,c)}}get shape(){return this._def.shape()}strict(e){n.errorUtil.errToObj;return new ZodObject({...this._def,unknownKeys:\"strict\",...e!==undefined?{errorMap:(t,s)=>{const r=this._def.errorMap?.(t,s).message??s.defaultError;if(t.code===\"unrecognized_keys\")return{message:n.errorUtil.errToObj(e).message??r};return{message:r}}}:{}})}strip(){return new ZodObject({...this._def,unknownKeys:\"strip\"})}passthrough(){return new ZodObject({...this._def,unknownKeys:\"passthrough\"})}extend(e){return new ZodObject({...this._def,shape:()=>({...this._def.shape(),...e})})}merge(e){const t=new ZodObject({unknownKeys:e._def.unknownKeys,catchall:e._def.catchall,shape:()=>({...this._def.shape(),...e._def.shape()}),typeName:k.ZodObject});return t}setKey(e,t){return this.augment({[e]:t})}catchall(e){return new ZodObject({...this._def,catchall:e})}pick(e){const t={};for(const s of o.util.objectKeys(e)){if(e[s]&&this.shape[s]){t[s]=this.shape[s]}}return new ZodObject({...this._def,shape:()=>t})}omit(e){const t={};for(const s of o.util.objectKeys(this.shape)){if(!e[s]){t[s]=this.shape[s]}}return new ZodObject({...this._def,shape:()=>t})}deepPartial(){return deepPartialify(this)}partial(e){const t={};for(const s of o.util.objectKeys(this.shape)){const r=this.shape[s];if(e&&!e[s]){t[s]=r}else{t[s]=r.optional()}}return new ZodObject({...this._def,shape:()=>t})}required(e){const t={};for(const s of o.util.objectKeys(this.shape)){if(e&&!e[s]){t[s]=this.shape[s]}else{const e=this.shape[s];let r=e;while(r instanceof ZodOptional){r=r._def.innerType}t[s]=r}}return new ZodObject({...this._def,shape:()=>t})}keyof(){return createZodEnum(o.util.objectKeys(this.shape))}}t.ZodObject=ZodObject;ZodObject.create=(e,t)=>new ZodObject({shape:()=>e,unknownKeys:\"strip\",catchall:ZodNever.create(),typeName:k.ZodObject,...processCreateParams(t)});ZodObject.strictCreate=(e,t)=>new ZodObject({shape:()=>e,unknownKeys:\"strict\",catchall:ZodNever.create(),typeName:k.ZodObject,...processCreateParams(t)});ZodObject.lazycreate=(e,t)=>new ZodObject({shape:e,unknownKeys:\"strip\",catchall:ZodNever.create(),typeName:k.ZodObject,...processCreateParams(t)});class ZodUnion extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const s=this._def.options;function handleResults(e){for(const t of e){if(t.result.status===\"valid\"){return t.result}}for(const s of e){if(s.result.status===\"dirty\"){t.common.issues.push(...s.ctx.common.issues);return s.result}}const s=e.map((e=>new r.ZodError(e.ctx.common.issues)));(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_union,unionErrors:s});return i.INVALID}if(t.common.async){return Promise.all(s.map((async e=>{const s={...t,common:{...t.common,issues:[]},parent:null};return{result:await e._parseAsync({data:t.data,path:t.path,parent:s}),ctx:s}}))).then(handleResults)}else{let e=undefined;const a=[];for(const r of s){const s={...t,common:{...t.common,issues:[]},parent:null};const n=r._parseSync({data:t.data,path:t.path,parent:s});if(n.status===\"valid\"){return n}else if(n.status===\"dirty\"&&!e){e={result:n,ctx:s}}if(s.common.issues.length){a.push(s.common.issues)}}if(e){t.common.issues.push(...e.ctx.common.issues);return e.result}const n=a.map((e=>new r.ZodError(e)));(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_union,unionErrors:n});return i.INVALID}}get options(){return this._def.options}}t.ZodUnion=ZodUnion;ZodUnion.create=(e,t)=>new ZodUnion({options:e,typeName:k.ZodUnion,...processCreateParams(t)});const getDiscriminator=e=>{if(e instanceof ZodLazy){return getDiscriminator(e.schema)}else if(e instanceof ZodEffects){return getDiscriminator(e.innerType())}else if(e instanceof ZodLiteral){return[e.value]}else if(e instanceof ZodEnum){return e.options}else if(e instanceof ZodNativeEnum){return o.util.objectValues(e.enum)}else if(e instanceof ZodDefault){return getDiscriminator(e._def.innerType)}else if(e instanceof ZodUndefined){return[undefined]}else if(e instanceof ZodNull){return[null]}else if(e instanceof ZodOptional){return[undefined,...getDiscriminator(e.unwrap())]}else if(e instanceof ZodNullable){return[null,...getDiscriminator(e.unwrap())]}else if(e instanceof ZodBranded){return getDiscriminator(e.unwrap())}else if(e instanceof ZodReadonly){return getDiscriminator(e.unwrap())}else if(e instanceof ZodCatch){return getDiscriminator(e._def.innerType)}else{return[]}};class ZodDiscriminatedUnion extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==o.ZodParsedType.object){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.object,received:t.parsedType});return i.INVALID}const s=this.discriminator;const a=t.data[s];const n=this.optionsMap.get(a);if(!n){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_union_discriminator,options:Array.from(this.optionsMap.keys()),path:[s]});return i.INVALID}if(t.common.async){return n._parseAsync({data:t.data,path:t.path,parent:t})}else{return n._parseSync({data:t.data,path:t.path,parent:t})}}get discriminator(){return this._def.discriminator}get options(){return this._def.options}get optionsMap(){return this._def.optionsMap}static create(e,t,s){const r=new Map;for(const s of t){const t=getDiscriminator(s.shape[e]);if(!t.length){throw new Error(`A discriminator value for key \\`${e}\\` could not be extracted from all schema options`)}for(const a of t){if(r.has(a)){throw new Error(`Discriminator property ${String(e)} has duplicate value ${String(a)}`)}r.set(a,s)}}return new ZodDiscriminatedUnion({typeName:k.ZodDiscriminatedUnion,discriminator:e,options:t,optionsMap:r,...processCreateParams(s)})}}t.ZodDiscriminatedUnion=ZodDiscriminatedUnion;function mergeValues(e,t){const s=(0,o.getParsedType)(e);const r=(0,o.getParsedType)(t);if(e===t){return{valid:true,data:e}}else if(s===o.ZodParsedType.object&&r===o.ZodParsedType.object){const s=o.util.objectKeys(t);const r=o.util.objectKeys(e).filter((e=>s.indexOf(e)!==-1));const a={...e,...t};for(const s of r){const r=mergeValues(e[s],t[s]);if(!r.valid){return{valid:false}}a[s]=r.data}return{valid:true,data:a}}else if(s===o.ZodParsedType.array&&r===o.ZodParsedType.array){if(e.length!==t.length){return{valid:false}}const s=[];for(let r=0;r<e.length;r++){const a=e[r];const n=t[r];const i=mergeValues(a,n);if(!i.valid){return{valid:false}}s.push(i.data)}return{valid:true,data:s}}else if(s===o.ZodParsedType.date&&r===o.ZodParsedType.date&&+e===+t){return{valid:true,data:e}}else{return{valid:false}}}class ZodIntersection extends ZodType{_parse(e){const{status:t,ctx:s}=this._processInputParams(e);const handleParsed=(e,a)=>{if((0,i.isAborted)(e)||(0,i.isAborted)(a)){return i.INVALID}const n=mergeValues(e.value,a.value);if(!n.valid){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_intersection_types});return i.INVALID}if((0,i.isDirty)(e)||(0,i.isDirty)(a)){t.dirty()}return{status:t.value,value:n.data}};if(s.common.async){return Promise.all([this._def.left._parseAsync({data:s.data,path:s.path,parent:s}),this._def.right._parseAsync({data:s.data,path:s.path,parent:s})]).then((([e,t])=>handleParsed(e,t)))}else{return handleParsed(this._def.left._parseSync({data:s.data,path:s.path,parent:s}),this._def.right._parseSync({data:s.data,path:s.path,parent:s}))}}}t.ZodIntersection=ZodIntersection;ZodIntersection.create=(e,t,s)=>new ZodIntersection({left:e,right:t,typeName:k.ZodIntersection,...processCreateParams(s)});class ZodTuple extends ZodType{_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==o.ZodParsedType.array){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.array,received:s.parsedType});return i.INVALID}if(s.data.length<this._def.items.length){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_small,minimum:this._def.items.length,inclusive:true,exact:false,type:\"array\"});return i.INVALID}const a=this._def.rest;if(!a&&s.data.length>this._def.items.length){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_big,maximum:this._def.items.length,inclusive:true,exact:false,type:\"array\"});t.dirty()}const n=[...s.data].map(((e,t)=>{const r=this._def.items[t]||this._def.rest;if(!r)return null;return r._parse(new ParseInputLazyPath(s,e,s.path,t))})).filter((e=>!!e));if(s.common.async){return Promise.all(n).then((e=>i.ParseStatus.mergeArray(t,e)))}else{return i.ParseStatus.mergeArray(t,n)}}get items(){return this._def.items}rest(e){return new ZodTuple({...this._def,rest:e})}}t.ZodTuple=ZodTuple;ZodTuple.create=(e,t)=>{if(!Array.isArray(e)){throw new Error(\"You must pass an array of schemas to z.tuple([ ... ])\")}return new ZodTuple({items:e,typeName:k.ZodTuple,rest:null,...processCreateParams(t)})};class ZodRecord extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==o.ZodParsedType.object){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.object,received:s.parsedType});return i.INVALID}const a=[];const n=this._def.keyType;const d=this._def.valueType;for(const e in s.data){a.push({key:n._parse(new ParseInputLazyPath(s,e,s.path,e)),value:d._parse(new ParseInputLazyPath(s,s.data[e],s.path,e)),alwaysSet:e in s.data})}if(s.common.async){return i.ParseStatus.mergeObjectAsync(t,a)}else{return i.ParseStatus.mergeObjectSync(t,a)}}get element(){return this._def.valueType}static create(e,t,s){if(t instanceof ZodType){return new ZodRecord({keyType:e,valueType:t,typeName:k.ZodRecord,...processCreateParams(s)})}return new ZodRecord({keyType:ZodString.create(),valueType:e,typeName:k.ZodRecord,...processCreateParams(t)})}}t.ZodRecord=ZodRecord;class ZodMap extends ZodType{get keySchema(){return this._def.keyType}get valueSchema(){return this._def.valueType}_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==o.ZodParsedType.map){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.map,received:s.parsedType});return i.INVALID}const a=this._def.keyType;const n=this._def.valueType;const d=[...s.data.entries()].map((([e,t],r)=>({key:a._parse(new ParseInputLazyPath(s,e,s.path,[r,\"key\"])),value:n._parse(new ParseInputLazyPath(s,t,s.path,[r,\"value\"]))})));if(s.common.async){const e=new Map;return Promise.resolve().then((async()=>{for(const s of d){const r=await s.key;const a=await s.value;if(r.status===\"aborted\"||a.status===\"aborted\"){return i.INVALID}if(r.status===\"dirty\"||a.status===\"dirty\"){t.dirty()}e.set(r.value,a.value)}return{status:t.value,value:e}}))}else{const e=new Map;for(const s of d){const r=s.key;const a=s.value;if(r.status===\"aborted\"||a.status===\"aborted\"){return i.INVALID}if(r.status===\"dirty\"||a.status===\"dirty\"){t.dirty()}e.set(r.value,a.value)}return{status:t.value,value:e}}}}t.ZodMap=ZodMap;ZodMap.create=(e,t,s)=>new ZodMap({valueType:t,keyType:e,typeName:k.ZodMap,...processCreateParams(s)});class ZodSet extends ZodType{_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.parsedType!==o.ZodParsedType.set){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.set,received:s.parsedType});return i.INVALID}const a=this._def;if(a.minSize!==null){if(s.data.size<a.minSize.value){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_small,minimum:a.minSize.value,type:\"set\",inclusive:true,exact:false,message:a.minSize.message});t.dirty()}}if(a.maxSize!==null){if(s.data.size>a.maxSize.value){(0,i.addIssueToContext)(s,{code:r.ZodIssueCode.too_big,maximum:a.maxSize.value,type:\"set\",inclusive:true,exact:false,message:a.maxSize.message});t.dirty()}}const n=this._def.valueType;function finalizeSet(e){const s=new Set;for(const r of e){if(r.status===\"aborted\")return i.INVALID;if(r.status===\"dirty\")t.dirty();s.add(r.value)}return{status:t.value,value:s}}const d=[...s.data.values()].map(((e,t)=>n._parse(new ParseInputLazyPath(s,e,s.path,t))));if(s.common.async){return Promise.all(d).then((e=>finalizeSet(e)))}else{return finalizeSet(d)}}min(e,t){return new ZodSet({...this._def,minSize:{value:e,message:n.errorUtil.toString(t)}})}max(e,t){return new ZodSet({...this._def,maxSize:{value:e,message:n.errorUtil.toString(t)}})}size(e,t){return this.min(e,t).max(e,t)}nonempty(e){return this.min(1,e)}}t.ZodSet=ZodSet;ZodSet.create=(e,t)=>new ZodSet({valueType:e,minSize:null,maxSize:null,typeName:k.ZodSet,...processCreateParams(t)});class ZodFunction extends ZodType{constructor(){super(...arguments);this.validate=this.implement}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==o.ZodParsedType.function){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.function,received:t.parsedType});return i.INVALID}function makeArgsIssue(e,s){return(0,i.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,a.getErrorMap)(),a.defaultErrorMap].filter((e=>!!e)),issueData:{code:r.ZodIssueCode.invalid_arguments,argumentsError:s}})}function makeReturnsIssue(e,s){return(0,i.makeIssue)({data:e,path:t.path,errorMaps:[t.common.contextualErrorMap,t.schemaErrorMap,(0,a.getErrorMap)(),a.defaultErrorMap].filter((e=>!!e)),issueData:{code:r.ZodIssueCode.invalid_return_type,returnTypeError:s}})}const s={errorMap:t.common.contextualErrorMap};const n=t.data;if(this._def.returns instanceof ZodPromise){const e=this;return(0,i.OK)((async function(...t){const a=new r.ZodError([]);const i=await e._def.args.parseAsync(t,s).catch((e=>{a.addIssue(makeArgsIssue(t,e));throw a}));const o=await Reflect.apply(n,this,i);const d=await e._def.returns._def.type.parseAsync(o,s).catch((e=>{a.addIssue(makeReturnsIssue(o,e));throw a}));return d}))}else{const e=this;return(0,i.OK)((function(...t){const a=e._def.args.safeParse(t,s);if(!a.success){throw new r.ZodError([makeArgsIssue(t,a.error)])}const i=Reflect.apply(n,this,a.data);const o=e._def.returns.safeParse(i,s);if(!o.success){throw new r.ZodError([makeReturnsIssue(i,o.error)])}return o.data}))}}parameters(){return this._def.args}returnType(){return this._def.returns}args(...e){return new ZodFunction({...this._def,args:ZodTuple.create(e).rest(ZodUnknown.create())})}returns(e){return new ZodFunction({...this._def,returns:e})}implement(e){const t=this.parse(e);return t}strictImplement(e){const t=this.parse(e);return t}static create(e,t,s){return new ZodFunction({args:e?e:ZodTuple.create([]).rest(ZodUnknown.create()),returns:t||ZodUnknown.create(),typeName:k.ZodFunction,...processCreateParams(s)})}}t.ZodFunction=ZodFunction;class ZodLazy extends ZodType{get schema(){return this._def.getter()}_parse(e){const{ctx:t}=this._processInputParams(e);const s=this._def.getter();return s._parse({data:t.data,path:t.path,parent:t})}}t.ZodLazy=ZodLazy;ZodLazy.create=(e,t)=>new ZodLazy({getter:e,typeName:k.ZodLazy,...processCreateParams(t)});class ZodLiteral extends ZodType{_parse(e){if(e.data!==this._def.value){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{received:t.data,code:r.ZodIssueCode.invalid_literal,expected:this._def.value});return i.INVALID}return{status:\"valid\",value:e.data}}get value(){return this._def.value}}t.ZodLiteral=ZodLiteral;ZodLiteral.create=(e,t)=>new ZodLiteral({value:e,typeName:k.ZodLiteral,...processCreateParams(t)});function createZodEnum(e,t){return new ZodEnum({values:e,typeName:k.ZodEnum,...processCreateParams(t)})}class ZodEnum extends ZodType{_parse(e){if(typeof e.data!==\"string\"){const t=this._getOrReturnCtx(e);const s=this._def.values;(0,i.addIssueToContext)(t,{expected:o.util.joinValues(s),received:t.parsedType,code:r.ZodIssueCode.invalid_type});return i.INVALID}if(!this._cache){this._cache=new Set(this._def.values)}if(!this._cache.has(e.data)){const t=this._getOrReturnCtx(e);const s=this._def.values;(0,i.addIssueToContext)(t,{received:t.data,code:r.ZodIssueCode.invalid_enum_value,options:s});return i.INVALID}return(0,i.OK)(e.data)}get options(){return this._def.values}get enum(){const e={};for(const t of this._def.values){e[t]=t}return e}get Values(){const e={};for(const t of this._def.values){e[t]=t}return e}get Enum(){const e={};for(const t of this._def.values){e[t]=t}return e}extract(e,t=this._def){return ZodEnum.create(e,{...this._def,...t})}exclude(e,t=this._def){return ZodEnum.create(this.options.filter((t=>!e.includes(t))),{...this._def,...t})}}t.ZodEnum=ZodEnum;ZodEnum.create=createZodEnum;class ZodNativeEnum extends ZodType{_parse(e){const t=o.util.getValidEnumValues(this._def.values);const s=this._getOrReturnCtx(e);if(s.parsedType!==o.ZodParsedType.string&&s.parsedType!==o.ZodParsedType.number){const e=o.util.objectValues(t);(0,i.addIssueToContext)(s,{expected:o.util.joinValues(e),received:s.parsedType,code:r.ZodIssueCode.invalid_type});return i.INVALID}if(!this._cache){this._cache=new Set(o.util.getValidEnumValues(this._def.values))}if(!this._cache.has(e.data)){const e=o.util.objectValues(t);(0,i.addIssueToContext)(s,{received:s.data,code:r.ZodIssueCode.invalid_enum_value,options:e});return i.INVALID}return(0,i.OK)(e.data)}get enum(){return this._def.values}}t.ZodNativeEnum=ZodNativeEnum;ZodNativeEnum.create=(e,t)=>new ZodNativeEnum({values:e,typeName:k.ZodNativeEnum,...processCreateParams(t)});class ZodPromise extends ZodType{unwrap(){return this._def.type}_parse(e){const{ctx:t}=this._processInputParams(e);if(t.parsedType!==o.ZodParsedType.promise&&t.common.async===false){(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.promise,received:t.parsedType});return i.INVALID}const s=t.parsedType===o.ZodParsedType.promise?t.data:Promise.resolve(t.data);return(0,i.OK)(s.then((e=>this._def.type.parseAsync(e,{path:t.path,errorMap:t.common.contextualErrorMap}))))}}t.ZodPromise=ZodPromise;ZodPromise.create=(e,t)=>new ZodPromise({type:e,typeName:k.ZodPromise,...processCreateParams(t)});class ZodEffects extends ZodType{innerType(){return this._def.schema}sourceType(){return this._def.schema._def.typeName===k.ZodEffects?this._def.schema.sourceType():this._def.schema}_parse(e){const{status:t,ctx:s}=this._processInputParams(e);const r=this._def.effect||null;const a={addIssue:e=>{(0,i.addIssueToContext)(s,e);if(e.fatal){t.abort()}else{t.dirty()}},get path(){return s.path}};a.addIssue=a.addIssue.bind(a);if(r.type===\"preprocess\"){const e=r.transform(s.data,a);if(s.common.async){return Promise.resolve(e).then((async e=>{if(t.value===\"aborted\")return i.INVALID;const r=await this._def.schema._parseAsync({data:e,path:s.path,parent:s});if(r.status===\"aborted\")return i.INVALID;if(r.status===\"dirty\")return(0,i.DIRTY)(r.value);if(t.value===\"dirty\")return(0,i.DIRTY)(r.value);return r}))}else{if(t.value===\"aborted\")return i.INVALID;const r=this._def.schema._parseSync({data:e,path:s.path,parent:s});if(r.status===\"aborted\")return i.INVALID;if(r.status===\"dirty\")return(0,i.DIRTY)(r.value);if(t.value===\"dirty\")return(0,i.DIRTY)(r.value);return r}}if(r.type===\"refinement\"){const executeRefinement=e=>{const t=r.refinement(e,a);if(s.common.async){return Promise.resolve(t)}if(t instanceof Promise){throw new Error(\"Async refinement encountered during synchronous parse operation. Use .parseAsync instead.\")}return e};if(s.common.async===false){const e=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(e.status===\"aborted\")return i.INVALID;if(e.status===\"dirty\")t.dirty();executeRefinement(e.value);return{status:t.value,value:e.value}}else{return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then((e=>{if(e.status===\"aborted\")return i.INVALID;if(e.status===\"dirty\")t.dirty();return executeRefinement(e.value).then((()=>({status:t.value,value:e.value})))}))}}if(r.type===\"transform\"){if(s.common.async===false){const e=this._def.schema._parseSync({data:s.data,path:s.path,parent:s});if(!(0,i.isValid)(e))return i.INVALID;const n=r.transform(e.value,a);if(n instanceof Promise){throw new Error(`Asynchronous transform encountered during synchronous parse operation. Use .parseAsync instead.`)}return{status:t.value,value:n}}else{return this._def.schema._parseAsync({data:s.data,path:s.path,parent:s}).then((e=>{if(!(0,i.isValid)(e))return i.INVALID;return Promise.resolve(r.transform(e.value,a)).then((e=>({status:t.value,value:e})))}))}}o.util.assertNever(r)}}t.ZodEffects=ZodEffects;t.ZodTransformer=ZodEffects;ZodEffects.create=(e,t,s)=>new ZodEffects({schema:e,typeName:k.ZodEffects,effect:t,...processCreateParams(s)});ZodEffects.createWithPreprocess=(e,t,s)=>new ZodEffects({schema:t,effect:{type:\"preprocess\",transform:e},typeName:k.ZodEffects,...processCreateParams(s)});class ZodOptional extends ZodType{_parse(e){const t=this._getType(e);if(t===o.ZodParsedType.undefined){return(0,i.OK)(undefined)}return this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodOptional=ZodOptional;ZodOptional.create=(e,t)=>new ZodOptional({innerType:e,typeName:k.ZodOptional,...processCreateParams(t)});class ZodNullable extends ZodType{_parse(e){const t=this._getType(e);if(t===o.ZodParsedType.null){return(0,i.OK)(null)}return this._def.innerType._parse(e)}unwrap(){return this._def.innerType}}t.ZodNullable=ZodNullable;ZodNullable.create=(e,t)=>new ZodNullable({innerType:e,typeName:k.ZodNullable,...processCreateParams(t)});class ZodDefault extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);let s=t.data;if(t.parsedType===o.ZodParsedType.undefined){s=this._def.defaultValue()}return this._def.innerType._parse({data:s,path:t.path,parent:t})}removeDefault(){return this._def.innerType}}t.ZodDefault=ZodDefault;ZodDefault.create=(e,t)=>new ZodDefault({innerType:e,typeName:k.ZodDefault,defaultValue:typeof t.default===\"function\"?t.default:()=>t.default,...processCreateParams(t)});class ZodCatch extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const s={...t,common:{...t.common,issues:[]}};const a=this._def.innerType._parse({data:s.data,path:s.path,parent:{...s}});if((0,i.isAsync)(a)){return a.then((e=>({status:\"valid\",value:e.status===\"valid\"?e.value:this._def.catchValue({get error(){return new r.ZodError(s.common.issues)},input:s.data})})))}else{return{status:\"valid\",value:a.status===\"valid\"?a.value:this._def.catchValue({get error(){return new r.ZodError(s.common.issues)},input:s.data})}}}removeCatch(){return this._def.innerType}}t.ZodCatch=ZodCatch;ZodCatch.create=(e,t)=>new ZodCatch({innerType:e,typeName:k.ZodCatch,catchValue:typeof t.catch===\"function\"?t.catch:()=>t.catch,...processCreateParams(t)});class ZodNaN extends ZodType{_parse(e){const t=this._getType(e);if(t!==o.ZodParsedType.nan){const t=this._getOrReturnCtx(e);(0,i.addIssueToContext)(t,{code:r.ZodIssueCode.invalid_type,expected:o.ZodParsedType.nan,received:t.parsedType});return i.INVALID}return{status:\"valid\",value:e.data}}}t.ZodNaN=ZodNaN;ZodNaN.create=e=>new ZodNaN({typeName:k.ZodNaN,...processCreateParams(e)});t.BRAND=Symbol(\"zod_brand\");class ZodBranded extends ZodType{_parse(e){const{ctx:t}=this._processInputParams(e);const s=t.data;return this._def.type._parse({data:s,path:t.path,parent:t})}unwrap(){return this._def.type}}t.ZodBranded=ZodBranded;class ZodPipeline extends ZodType{_parse(e){const{status:t,ctx:s}=this._processInputParams(e);if(s.common.async){const handleAsync=async()=>{const e=await this._def.in._parseAsync({data:s.data,path:s.path,parent:s});if(e.status===\"aborted\")return i.INVALID;if(e.status===\"dirty\"){t.dirty();return(0,i.DIRTY)(e.value)}else{return this._def.out._parseAsync({data:e.value,path:s.path,parent:s})}};return handleAsync()}else{const e=this._def.in._parseSync({data:s.data,path:s.path,parent:s});if(e.status===\"aborted\")return i.INVALID;if(e.status===\"dirty\"){t.dirty();return{status:\"dirty\",value:e.value}}else{return this._def.out._parseSync({data:e.value,path:s.path,parent:s})}}}static create(e,t){return new ZodPipeline({in:e,out:t,typeName:k.ZodPipeline})}}t.ZodPipeline=ZodPipeline;class ZodReadonly extends ZodType{_parse(e){const t=this._def.innerType._parse(e);const freeze=e=>{if((0,i.isValid)(e)){e.value=Object.freeze(e.value)}return e};return(0,i.isAsync)(t)?t.then((e=>freeze(e))):freeze(t)}unwrap(){return this._def.innerType}}t.ZodReadonly=ZodReadonly;ZodReadonly.create=(e,t)=>new ZodReadonly({innerType:e,typeName:k.ZodReadonly,...processCreateParams(t)});function cleanParams(e,t){const s=typeof e===\"function\"?e(t):typeof e===\"string\"?{message:e}:e;const r=typeof s===\"string\"?{message:s}:s;return r}function custom(e,t={},s){if(e)return ZodAny.create().superRefine(((r,a)=>{const n=e(r);if(n instanceof Promise){return n.then((e=>{if(!e){const e=cleanParams(t,r);const n=e.fatal??s??true;a.addIssue({code:\"custom\",...e,fatal:n})}}))}if(!n){const e=cleanParams(t,r);const n=e.fatal??s??true;a.addIssue({code:\"custom\",...e,fatal:n})}return}));return ZodAny.create()}t.late={object:ZodObject.lazycreate};var k;(function(e){e[\"ZodString\"]=\"ZodString\";e[\"ZodNumber\"]=\"ZodNumber\";e[\"ZodNaN\"]=\"ZodNaN\";e[\"ZodBigInt\"]=\"ZodBigInt\";e[\"ZodBoolean\"]=\"ZodBoolean\";e[\"ZodDate\"]=\"ZodDate\";e[\"ZodSymbol\"]=\"ZodSymbol\";e[\"ZodUndefined\"]=\"ZodUndefined\";e[\"ZodNull\"]=\"ZodNull\";e[\"ZodAny\"]=\"ZodAny\";e[\"ZodUnknown\"]=\"ZodUnknown\";e[\"ZodNever\"]=\"ZodNever\";e[\"ZodVoid\"]=\"ZodVoid\";e[\"ZodArray\"]=\"ZodArray\";e[\"ZodObject\"]=\"ZodObject\";e[\"ZodUnion\"]=\"ZodUnion\";e[\"ZodDiscriminatedUnion\"]=\"ZodDiscriminatedUnion\";e[\"ZodIntersection\"]=\"ZodIntersection\";e[\"ZodTuple\"]=\"ZodTuple\";e[\"ZodRecord\"]=\"ZodRecord\";e[\"ZodMap\"]=\"ZodMap\";e[\"ZodSet\"]=\"ZodSet\";e[\"ZodFunction\"]=\"ZodFunction\";e[\"ZodLazy\"]=\"ZodLazy\";e[\"ZodLiteral\"]=\"ZodLiteral\";e[\"ZodEnum\"]=\"ZodEnum\";e[\"ZodEffects\"]=\"ZodEffects\";e[\"ZodNativeEnum\"]=\"ZodNativeEnum\";e[\"ZodOptional\"]=\"ZodOptional\";e[\"ZodNullable\"]=\"ZodNullable\";e[\"ZodDefault\"]=\"ZodDefault\";e[\"ZodCatch\"]=\"ZodCatch\";e[\"ZodPromise\"]=\"ZodPromise\";e[\"ZodBranded\"]=\"ZodBranded\";e[\"ZodPipeline\"]=\"ZodPipeline\";e[\"ZodReadonly\"]=\"ZodReadonly\"})(k||(t.ZodFirstPartyTypeKind=k={}));class Class{constructor(...e){}}const instanceOfType=(e,t={message:`Input not instance of ${e.name}`})=>custom((t=>t instanceof e),t);t[\"instanceof\"]=instanceOfType;const P=ZodString.create;t.string=P;const w=ZodNumber.create;t.number=w;const N=ZodNaN.create;t.nan=N;const O=ZodBigInt.create;t.bigint=O;const A=ZodBoolean.create;t.boolean=A;const S=ZodDate.create;t.date=S;const j=ZodSymbol.create;t.symbol=j;const E=ZodUndefined.create;t.undefined=E;const D=ZodNull.create;t[\"null\"]=D;const L=ZodAny.create;t.any=L;const U=ZodUnknown.create;t.unknown=U;const R=ZodNever.create;t.never=R;const V=ZodVoid.create;t[\"void\"]=V;const M=ZodArray.create;t.array=M;const $=ZodObject.create;t.object=$;const z=ZodObject.strictCreate;t.strictObject=z;const F=ZodUnion.create;t.union=F;const B=ZodDiscriminatedUnion.create;t.discriminatedUnion=B;const K=ZodIntersection.create;t.intersection=K;const q=ZodTuple.create;t.tuple=q;const W=ZodRecord.create;t.record=W;const Y=ZodMap.create;t.map=Y;const J=ZodSet.create;t.set=J;const H=ZodFunction.create;t[\"function\"]=H;const G=ZodLazy.create;t.lazy=G;const X=ZodLiteral.create;t.literal=X;const Q=ZodEnum.create;t[\"enum\"]=Q;const ee=ZodNativeEnum.create;t.nativeEnum=ee;const te=ZodPromise.create;t.promise=te;const se=ZodEffects.create;t.effect=se;t.transformer=se;const re=ZodOptional.create;t.optional=re;const ae=ZodNullable.create;t.nullable=ae;const ne=ZodEffects.createWithPreprocess;t.preprocess=ne;const ie=ZodPipeline.create;t.pipeline=ie;const ostring=()=>P().optional();t.ostring=ostring;const onumber=()=>w().optional();t.onumber=onumber;const oboolean=()=>A().optional();t.oboolean=oboolean;t.coerce={string:e=>ZodString.create({...e,coerce:true}),number:e=>ZodNumber.create({...e,coerce:true}),boolean:e=>ZodBoolean.create({...e,coerce:true}),bigint:e=>ZodBigInt.create({...e,coerce:true}),date:e=>ZodDate.create({...e,coerce:true})};t.NEVER=i.INVALID}};var t={};function __nccwpck_require__(s){var r=t[s];if(r!==undefined){return r.exports}var a=t[s]={exports:{}};var n=true;try{e[s].call(a.exports,a,a.exports,__nccwpck_require__);n=false}finally{if(n)delete t[s]}return a.exports}if(typeof __nccwpck_require__!==\"undefined\")__nccwpck_require__.ab=__dirname+\"/\";var s=__nccwpck_require__(247);module.exports=s})();","// getDefaultExport function for compatibility with non-ESM modules\n__webpack_require__.n = (module) => {\n\tvar getter = module && module.__esModule ?\n\t\t() => (module['default']) :\n\t\t() => (module);\n\t__webpack_require__.d(getter, { a: getter });\n\treturn getter;\n};\n","var getProto = Object.getPrototypeOf ? (obj) => (Object.getPrototypeOf(obj)) : (obj) => (obj.__proto__);\nvar leafPrototypes;\n// create a fake namespace object\n// mode & 1: value is a module id, require it\n// mode & 2: merge all properties of value into the ns\n// mode & 4: return value when already ns object\n// mode & 16: return value when it's Promise-like\n// mode & 8|1: behave like require\n__webpack_require__.t = function(value, mode) {\n\tif(mode & 1) value = this(value);\n\tif(mode & 8) return value;\n\tif(typeof value === 'object' && value) {\n\t\tif((mode & 4) && value.__esModule) return value;\n\t\tif((mode & 16) && typeof value.then === 'function') return value;\n\t}\n\tvar ns = Object.create(null);\n  __webpack_require__.r(ns);\n\tvar def = {};\n\tleafPrototypes = leafPrototypes || [null, getProto({}), getProto([]), getProto(getProto)];\n\tfor(var current = mode & 2 && value; (typeof current == 'object' || typeof current == 'function') && !~leafPrototypes.indexOf(current); current = getProto(current)) {\n\t\tObject.getOwnPropertyNames(current).forEach((key) => { def[key] = () => (value[key]) });\n\t}\n\tdef['default'] = () => (value);\n\t__webpack_require__.d(ns, def);\n\treturn ns;\n};","__webpack_require__.d = (exports, definition) => {\n\tfor(var key in definition) {\n        if(__webpack_require__.o(definition, key) && !__webpack_require__.o(exports, key)) {\n            Object.defineProperty(exports, key, { enumerable: true, get: definition[key] });\n        }\n    }\n};","__webpack_require__.o = (obj, prop) => (Object.prototype.hasOwnProperty.call(obj, prop))","// define __esModule on exports\n__webpack_require__.r = (exports) => {\n\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n\t}\n\tObject.defineProperty(exports, '__esModule', { value: true });\n};","__webpack_require__.nc = undefined;"],"names":["n","r","i","c","o","document","btoa","unescape","encodeURIComponent","JSON","e","Object","TypeError","parseInt","isNaN","arguments","Error","t","Symbol","R","Array","Reflect","Math","window","Map","Set","RegExp","Date","String","reportError","process","console","WeakMap","AbortController","u","l","d","a","setTimeout","s","p","WeakSet","matchMedia","Promise","performance","navigator","clearTimeout","getComputedStyle","FormData","queueMicrotask","CSS","DOMRect","HTMLElement","Node","devicePixelRatio","navigation","__REACT_DEVTOOLS_GLOBAL_HOOK__","setImmediate","MessageChannel","__nccwpck_require__","MutationObserver","FontStyles","t0","$","_c","for","useInsertionEffect","_temp","style","createElement","textContent","css","head","appendChild","removeChild","ShadowPortal","t1","children","shadowRoot","useDevOverlayContext","createPortal","styles","EditorLink","t3","t5","t6","file","location","line","t2","column","line1","column1","open","useOpenInEditor","t4","EDITOR_LINK_STYLES","Terminal","t10","t11","t12","t13","t8","t9","t14","t15","t16","t17","t18","t19","t20","t21","t22","content","lines","importTraceFiles","getFile","contentFileName","shift","fileName","split","parsedLine","Number","parsedColumn","hasLocation","undefined","getImportTraceFiles","some","test","files","length","includes","pop","trim","unshift","source","join","Anser","json","use_classes","remove_empty","decoded","t7","stackFrame","methodName","fileExtension","getStackFrameFile","map","_temp2","TERMINAL_STYLES","entry","index","color","fg","decoration","fontWeight","fontStyle","importTraceFile","BuildError","message","props","error","multiLineMessage","stripAnsi","replace","formattedMessage","versionInfo","installed","parts","push","decodedOutput","env","__NEXT_BUNDLER","generateErrorInfo","noop","EyeIcon","LightIcon","DarkIcon","SystemIcon","modifierKeys","ShortcutRecorder","value","onChange","pristine","setPristine","useState","show","setShow","keys","setKeys","success","setSuccess","timeoutRef","useRef","buttonRef","hasShortcut","Boolean","target","current","key","handleValidation","next","preventDefault","stopPropagation","prev","code","existingNonModifierIndex","findIndex","keyOrderIndex","indexOf","insertIndex","splice","handleKeyDown","focus","clear","onBlur","onStart","_temp3","BottomArrow","Kbd","isSymbol","toUpperCase","renderKey","parseKeyCode","codeToKeyMap","Minus","Equal","BracketLeft","BracketRight","Backslash","Semicolon","Quote","Comma","Period","Backquote","Space","Slash","IntlBackslash","MetaKey","label","isApple","isMac","testPlatform","maxTouchPoints","minWidth","display","IconCross","SHORTCUT_RECORDER_STYLES","re","platform","devToolsConfigSchema","z","theme","optional","disableDevIndicator","devToolsPosition","devToolsPanelPosition","devToolsPanelSize","width","height","scale","hideShortcut","nullable","requestInsights","showInternal","verbose","queuedConfigPatch","timer","flushPatch","body","stringify","fetch","method","headers","keepalive","catch","warn","data","saveDevToolsConfig","patch","validation","deepMerge","isArray","result","sourceValue","targetValue","UserPreferencesBody","t23","t24","t25","t26","t27","t28","t29","t30","t31","t32","t33","t34","t35","hide","setHideShortcut","setPosition","setScale","position","restartServer","isPending","useRestartServer","setIsPending","invalidateFileSystemCache","serverRestarted","curId","then","res","executionId","log","restartRes","ok","status","resolveTimeout","nextId","reload","host","portal","classList","remove","add","handleThemeChange","handlePositionChange","handleSizeChange","entries","NEXT_DEV_TOOLS_SCALE","__NEXT_BUNDLER_HAS_PERSISTENT_CACHE","Select","prefix","ThemeIcon","DEV_TOOLS_INFO_USER_PREFERENCES_STYLES","ChevronDownIcon","ComponentStyles","COPY_BUTTON_STYLES","CALL_STACK_FRAME_STYLES","CALL_STACK_STYLES","ENVIRONMENT_NAME_LABEL_STYLES","overlay","dialog","errorLayout","footer","pagination","CODE_FRAME_STYLES","containerErrorStyles","containerRuntimeErrorStyles","versionStaleness","INSTANT_GUIDANCE_STYLES","UNRENDERED_SEGMENT_INFO_STYLES","useDelayedRender","active","options","mounted","setMounted","rendered","setRendered","enterDelay","exitDelay","renderTimeout","unmountTimeout","useEffect","ErrorOverlay","state","dispatch","getSquashedHydrationErrorDetails","runtimeErrors","errorCount","isTurbopack","TURBOPACK","isErrorOverlayOpen","transitionDurationMs","commonProps","buildError","hasNormal","hasInstant","tabKey","type","ACTION_ERROR_OVERLAY_CLOSE","debugInfo","isInstantNavigationError","RenderError","RenderRuntimeError","isAppDir","errors","lookups","setLookups","ready","idx","id","nextError","resolved","getErrorByType","m","totalErrorCount","filter","instantErrorCount","normalErrorCount","RenderBuildError","ScaleUpdater","setProperty","useLayoutEffect","useUpdateAnimation","issueCount","animationDurationMs","lastUpdatedTimeStamp","animate","setAnimate","deltaMs","now","timeoutId","Cross","Warning","Status","StatusIndicator","onClick","statusText","statusDotColor","backgroundColor","AnimateStatusText","text","showEllipsis","coldCacheBadgeEnabled","__NEXT_EXPERIMENTAL_COLD_CACHE_BADGE","reducer","action","phase","intent","kind","under","badge","cache","init","PanelRouterContext","createContext","usePanelRouterContext","useContext","getIssueBucketState","insightsOnly","hasAny","variant","getIndicatorOffset","INDICATOR_PADDING","BASE_LOGO_SIZE","Plural","count","PillLabel","normalCount","instantCount","normalCountAnimating","instantCountAnimating","NextLogo","buttonProps","onTriggerClick","useRenderErrorContext","SIZE","panel","triggerRef","setPanel","isMenuOpen","hasError","isErrorExpanded","setIsErrorExpanded","previousHasError","setPreviousHasError","dismissed","setDismissed","normalErrorAnimating","instantErrorAnimating","newErrorDetected","leadingCount","leadingCountAnimating","displayStatus","cacheBadge","useIndicatorDisplay","building","rendering","cacheIndicator","buildingIndicator","renderingIndicator","useReducer","intentKey","prevKey","setPrevKey","toDisplay","showStatusIndicator","ref","measuredWidth","useMeasureWidth","setWidth","el","observer","ResizeObserver","contentRect","observe","disconnect","isExpanded","ACTION_ERROR_OVERLAY_OPEN","AnimateCount","CacheStatusBadge","NextMark","Toast","React","className","closest","cx","DragContext","DragContextValue","DragProvider","disabled","handlesRef","register","useCallback","unregister","delete","useMemo","handles","useDragContext","DragHandle","internalRef","ctx","node","HTMLDivElement","setRef","cursor","Draggable","avoidZone","currentCorner","dragHandleSelector","onDragStart","padding","setCurrentCorner","disableDrag","drag","useDrag","machine","cleanup","origin","x","y","translation","Point","lastTimestamp","velocities","cancel","releasePointerCapture","pointerId","removeProperty","set","translate","corner","transition","addEventListener","listener","propertyName","onAnimationEnd","removeEventListener","onPointerMove","dx","clientX","dy","clientY","sqrt","threshold","setPointerCapture","userSelect","webkitUserSelect","currentPosition","shouldAddToHistory","slice","timestamp","onDrag","onPointerUp","velocity","calculateVelocity","history","oldestPoint","latestPoint","timeDelta","velocityX","velocityY","onDragEnd","onPointerDown","button","isValidDragHandle","size","has","parentElement","element","distance","getNearestCorner","offset","triggerWidth","triggerHeight","scrollbarWidth","getAbsolutePosition","basePosition","rel","allCorners","offsetWidth","offsetHeight","innerWidth","documentElement","clientWidth","isRight","isBottom","innerHeight","delta","square","pos","distances","min","nearest","find","project","initialVelocity","decelerationRate","DevToolsIndicator","setSelectedIndex","updateAllPanelPositions","useUpdateAllPanelPositions","vertical","horizontal","MENU_DURATION_MS","MENU_CURVE","boxShadow","ACTION_DEVTOOLS_POSITION","newPanel","ACTION_DEVTOOLS_PANEL_POSITION","STORE_KEY_SHARED_PANEL_LOCATION","panelPositionKeys","panelPositionPatch","forEach","startsWith","STORAGE_KEY_PANEL_POSITION_PREFIX","MenuContext","MenuItem","href","isInteractive","closeMenu","selectedIndex","selected","click","DevtoolMenu","T0","menuRef","onMenuKeydown","closeOnClickOutside","items","usePanelContext","reason","useClickOutsideAndEscape","selectMenuItem","fireInitialSelectMenuItem","useEffectEvent","indicatorOffset","indicatorVertical","indicatorHorizontal","verticalOffset","positionStyle","definedItems","itemsAboveFooter","itemsBelowFooter","totalClickableItems","clickableItems","_temp4","ctrlKey","outline","WebkitFontSmoothing","flexDirection","alignItems","background","backgroundClip","borderRadius","fontFamily","zIndex","overflow","opacity","border","item","title","getAdjustedIndex","attributes","targetIndex","adjustedIndex","IssueCount","ChevronRight","all","querySelectorAll","getAttribute","querySelector","ResizeContext","constrainDimensions","params","maxWidth","maxHeight","max","minHeight","ResizeProvider","draggingDirection","setDraggingDirection","storageKey","STORE_KEY_SHARED_PANEL_SIZE","resizeRef","dim","applyConstrainedDimensions","initialSize","fireInitialConstrainDimensions","ResizeHandle","direction","useResize","context","top","right","bottom","left","borderWidths","setBorderWidths","computedStyle","parseFloat","borderTopWidth","borderRightWidth","borderBottomWidth","borderLeftWidth","mouseDownEvent","initialRect","getBoundingClientRect","startX","startY","handleMouseMove","mouseMoveEvent","newWidth","newHeight","getNewDimensions","handleMouseUp","handleMouseDown","getOppositeCorner","totalHorizontalBorder","totalVerticalBorder","isCornerHandle","deltaX","deltaY","effectiveMaxWidth","effectiveMaxHeight","resolveCSSValue","dimension","temp","visibility","pixels","DynamicPanel","t36","t37","t38","t39","t40","t41","header","draggable","sizeConfig","sharePanelSizeGlobally","sharePanelPositionGlobally","containerProps","onClose","keepBehindErrorOverlay","name","resizeStorageKey","STORE_KEY_PANEL_SIZE_PREFIX","positionStorageKey","devtoolsPanelPosition","panelVertical","panelHorizontal","resizeContainerRef","isResizable","isKeptBehindErrorOverlay","resolvedDimensions","useResolvedDimensions","dimensions","setDimensions","updateDimensions","panelSizeKey","panelSize","sides","StaticRouteContent","routerType","pathname","DynamicRouteContent","learnMoreLink","pages","static","dynamic","app","RouteInfoBody","isStaticRoute","Element","ShadowRoot","requestAnimationFrame","cancelAnimationFrame","globalThis","HTMLButtonElement","candidateSelector","candidateSelectors","NoElement","matches","prototype","msMatchesSelector","webkitMatchesSelector","getRootNode","_element$getRootNode","call","ownerDocument","isInert","lookUp","_node$getAttribute","inertAtt","inert","parentNode","isContentEditable","_node$getAttribute2","attValue","getCandidates","includeContainer","candidates","apply","getCandidatesIteratively","elements","elementsToCheck","from","tagName","assigned","assignedElements","nestedCandidates","flatten","scopeParent","validCandidate","getShadowRoot","validShadowRoot","shadowRootFilter","hasTabIndex","getTabIndex","tabIndex","getSortOrderTabIndex","isScope","sortOrderedTabbables","b","documentOrder","isInput","getCheckedRadio","nodes","form","checked","isTabbableRadio","radioSet","radioScope","queryRadios","escape","err","isNonTabbableRadio","isRadio","isNodeAttached","_nodeRoot","_nodeRootHost","_nodeRootHost$ownerDo","_node$ownerDocument","_nodeRoot2","_nodeRootHost2","_nodeRootHost2$ownerD","nodeRoot","nodeRootHost","attached","contains","isZeroArea","_node$getBoundingClie","isHidden","_ref","displayCheck","nodeUnderDetails","isDirectSummary","originalNode","rootNode","assignedSlot","getClientRects","isDisabledFromFieldset","child","isNodeMatchingSelectorFocusable","isNodeMatchingSelectorTabbable","isValidShadowRootTabbable","shadowHostNode","sortByOrder","regularTabbables","orderedTabbables","candidateTabindex","sort","reduce","acc","sortable","concat","tabbable","container","bind","focusable","isTabbable","IntersectionObserver","h","BUILTIN_PREFIX","normalizeBoundaryFilename","filename","BOUNDARY_PREFIX","isBoundaryFile","fileType","getBoundaryOriginFileType","SegmentBoundaryTrigger","nodeState","boundaries","pagePath","boundaryType","setBoundaryType","onSelectBoundary","isOpen","setIsOpen","popupRef","possibleExtension","firstDefinedBoundary","values","v","fileNames","fromEntries","filePath","pageFileName","triggerOptions","loading","icon","resetOption","openInEditor","URLSearchParams","isAppRelativePath","__NEXT_ROUTER_BASEPATH","toString","handleSelect","hasBoundary","hasPageOrBoundary","MergedRefTrigger","triggerProps","mergedRef","composeRefs","refs","option","LoadingIcon","ErrorIcon","NotFoundIcon","ResetIcon","SwitchIcon","Trigger","Tooltip","forwardRef","arrowSize","SegmentSuggestion","missingGlobalError","tooltip","isFileNode","PageRouteBar","page","SegmentExplorerFooter","activeBoundariesCount","onGlobalReset","hasActiveOverrides","FilePill","isBuiltin","isOverridden","PageSegmentTree","tree","useSegmentTree","countActiveBoundaries","traverseTreeAndResetBoundaries","handleGlobalReset","flex","GLOBAL_ERROR_BOUNDARY_TYPE","PageSegmentTreeLayerPresentation","existingBoundaries","filesChildrenKeys","firstChild","folderChildrenKeys","folderName","hasFilesChildren","segment","level","childrenKeys","childNode","isGlobalConvention","aHasExt","bHasExt","aType","bType","getTypePriority","aPriority","bPriority","aFilePath","bFilePath","localeCompare","sortedChildrenKeys","childKey","firstBoundaryChild","paddingLeft","fileChildSegment","lastSegment","tooltipMessage","childSegment","nextSegment","InfoIcon","BackArrowIcon","CodeIcon","DevToolsHeader","justifyContent","WebkitUserSelect","borderBottom","margin","fontSize","XIcon","GearIcon","COOKIE_NAME","instantNavTransientStatus","instantNavStatusSubscribers","setInstantNavTransientStatus","sub","subscribeInstantNavTransientStatus","cb","getInstantNavTransientStatus","isRestartingStatus","createPendingInstantNavCookie","random","setInstantNavCookie","cookie","deleteInstantNavCookie","clearInstantNavCaptureCookie","InstantNavsPanel","cookieData","useInstantNavCookieState","ACTION_INSTANT_NAVS_RESET","useInstantNavStatus","transientStatus","useSyncExternalStore","contentStatus","isLocked","isClosing","setDisplayStatus","formatRoutePattern","fromTree","currentSpaFromUrl","toTree","currentSpaToUrl","lastSpaFromUrl","setLastSpaFromUrl","lastSpaToUrl","setLastSpaToUrl","spaFromUrl","spaToUrl","pendingCookie","deleted","cookieStore","resolve","handler","event","resume","togglePaused","renderedStatus","setRenderedStatus","containerHeight","previousPanel","setPreviousPanel","exitingHeight","setExitingHeight","search","DebuggerPausedButton","PauseControl","UrlRow","PlayIcon","formatDuration","durationMs","toFixed","round","getActiveRequestKey","requests","selectedRequestKey","request","getRequestInsightKey","fetches","isInternalRequestInsight","getRequestInsightKind","FETCH_SPAN_TYPE","DEFAULT_VISIBLE_SPAN_TYPES","FIZZ_WORD","FLIGHT_WORD","SPAN_WORD_CASE","api","fizz","flight","html","http","https","rsc","url","compareTraceItems","first","second","startTime","isFetchSpan","span","getFetchIndex","getSpanCategory","category","RequestInsightsPanel","reverse","requestInsightsConfig","ACTION_DEVTOOLS_CONFIG","devToolsConfig","setRequestInsightsConfig","getRequestListEntries","nested","internalByRequestId","parentRequestIds","group","get","requestId","internalRequest","listEntries","visibleRequests","setSelectedRequestKey","activeRequestKey","selectedRequest","initialRequestId","self","__next_r","internalRequests","hiddenInternalErrorCount","showInternalToggle","requestKey","RequestRow","pageLoad","onSelect","isInstantInsights","route","toLocaleTimeString","hour","minute","NestedArrowIcon","CheckIcon","RequestDetails","match","statusCode","isRsc","erroredSpan","errorSummary","cacheCounts","knownCacheCount","getTraceItems","fetchSpansByIndex","spans","fetchIndex","fetchIndexes","spanId","parentSpanId","spanType","getSpanLabel","explicitName","displayName","words","identifier","lastIndexOf","word","toLowerCase","allWords","matchingSpan","getUrlPath","parsedUrl","URL","nestedItems","nestTraceItems","sortedItems","itemBySpanId","childrenByItemId","roots","parent","visited","append","depth","root","getDefaultTraceItems","visibleDepthBySpanId","visibleItems","parentDepth","visibleItem","traceItems","getFirstStringAttribute","getFirstNumberAttribute","getFirstBooleanAttribute","counts","cacheStatus","hit","miss","skip","unknown","statusLabel","fetchSummary","cacheSummary","spanSummary","overview","getDiagnosis","criticalItem","largest","slowestFetch","slowest","urlParts","formatUrl","path","getCacheSummary","cacheReason","diagnosis","RequestOverview","Trace","range","ticks","_","TRACE_TICK_COUNT","tick","rangeEndTime","visibleStartTime","visibleEndTime","offsetMs","FetchTable","sameHost","CacheDisabledBody","ColdCacheBody","MenuPanel","titleParts","isAppRouter","staticIndicator","__NEXT_CACHE_COMPONENTS","__NEXT_INSTANT_NAV_TOGGLE","__NEXT_REQUEST_INSIGHTS","PanelRouter","shortcuts","toggleDevtools","useToggleDevtoolsVisibility","ACTION_DEV_INDICATOR_SET","menuElement","getElementById","indicatorElement","firstElementChild","isCurrentlyHidden","errorOverlayOpenRef","timeout","closeInstantPanel","rootRef","getActiveElement","contentEditable","dataset","hasAttribute","metaKey","altKey","shiftKey","shortcut","InfoFooter","UserPreferencesWrapper","ACTION_DEVTOOLS_SCALE","PanelContext","PanelRoute","RenderErrorContext","DevOverlay","baselinePageRef","instantNavs","ACTION_INSTANT_ERRORS_CLEAR","currentPath","showIndicator","eventQueue","queue","enqueue","connect","currentOverlayState","getSerializedOverlayState","errorEvent","stack","getSegmentTrieData","segmentTrie","getSegmentTrieRoot","createQueuable","queueableFunction","args","dispatcher","onBuildOk","ACTION_BUILD_OK","onBuildError","ACTION_BUILD_ERROR","onBeforeRefresh","ACTION_BEFORE_REFRESH","onRefresh","ACTION_REFRESH","onVersionInfo","Dispatch","ACTION_VERSION_INFO","onCacheIndicator","ACTION_CACHE_INDICATOR","onStaticIndicator","ACTION_STATIC_INDICATOR","onDebugInfo","ACTION_DEBUG_INFO","onDevIndicator","devIndicator","ACTION_DEV_INDICATOR","onDevToolsConfig","onUnhandledError","ACTION_UNHANDLED_ERROR","onUnhandledRejection","ACTION_UNHANDLED_REJECTION","openErrorOverlay","closeErrorOverlay","toggleErrorOverlay","ACTION_ERROR_OVERLAY_TOGGLE","buildingIndicatorHide","ACTION_BUILDING_INDICATOR_HIDE","buildingIndicatorShow","ACTION_BUILDING_INDICATOR_SHOW","renderingIndicatorHide","ACTION_RENDERING_INDICATOR_HIDE","renderingIndicatorShow","ACTION_RENDERING_INDICATOR_SHOW","segmentExplorerNodeAdd","insertSegmentNode","segmentExplorerNodeRemove","removeSegmentNode","segmentExplorerUpdateRouteState","ACTION_DEVTOOL_UPDATE_ROUTE_STATE","instantNavsToggle","ACTION_INSTANT_NAVS_TOGGLE","onRequestInsightsSnapshot","ACTION_REQUEST_INSIGHTS_SNAPSHOT","snapshot","onRequestInsightsUpdate","insight","ACTION_REQUEST_INSIGHTS_UPDATE","DevOverlayRoot","enableCacheIndicator","getOwnerStack","isRecoverableError","useErrorOverlayReducer","portalNode","replayTimeout","__NEXT_DISABLE_DEV_OVERLAY_UX","loadDevOverlayUX","require","DevOverlayContext","isPagesMounted","isAppMounted","getSquashedHydrationErrorDetailsApp","renderAppDevOverlay","shouldRenderOverlay","script","setAttribute","createRoot","identifierPrefix","onDefaultTransitionIndicator","attachShadow","mode","startTransition","render","renderPagesDevOverlay","records","record","removedNodes","childList","CallStackFrame","frame","f","originalStackFrame","sourceStackFrame","hasOriginalCodeFrame","originalCodeFrame","stackFrameFile","ignored","ChevronUpDownIcon","CallStack","frames","isIgnoreListOpen","ignoredFramesTally","onToggleIgnoreList","frameIndex","CodeFrameShell","onOpen","openLabel","CodeFrame","codeFrame","decodedLines","groupCodeFrameLines","formatCodeFrame","parseLineNumberFromCodeFrameLine","parsedLineStates","lineIndex","lineNumber","isErroredLine","lineNumberProps","entryIndex","miniLeadingSpacesLength","exec","NaN","substring","formattedFrame","token","segments","trimmed","clipboard","writeText","CopyButton","actionLabel","getContent","rest","showLabel","successLabel","copyState","copy","reset","useCopy","isDisabled","renderedIcon","CopyIcon","CopySuccessIcon","DialogBody","DialogContent","useFocusTrap","onOpenFocus","fireOpenFocus","onTab","focusableElements","firstFocusableNode","lastFocusableNode","activeElement","close","ownerDocumentEl","handleClickOutside","EnvironmentNameLabel","environmentName","ErrorOverlayCallStack","dialogResizerRef","initialDialogHeight","setIsIgnoreListOpen","tally","currentHeight","onTransitionEnd","ThumbsUp","ThumbsDown","ErrorFeedback","errorCode","votedMap","setVotedMap","voted","hasVoted","__NEXT_TELEMETRY_DISABLED","wasHelpful","response","handleFeedback","ErrorOverlayFooter","feedbackStyles","NodeJsIcon","maskType","NodeJsDisabledIcon","NodejsInspectorButton","defaultDevtoolsFrontendUrl","devtoolsFrontendUrlState","attachDebuggerAction","isAttachingDebugger","useActionState","devtoolsFrontendUrl","cause","attachDebugger","CopyErrorButton","docsURLAllowlist","docsLinkMatcher","DocsLinkButton","errorMessage","getDocsURLFromErrorMessage","links","urls","matchAll","link","matcherFunc","REACT_HYDRATION_ERROR_LINK","NEXTJS_HYDRATION_ERROR_LINK","docsURL","DocsIcon","ErrorOverlayToolbar","feedbackButton","ErrorMessage","errorType","setIsExpanded","isTooTall","setIsTooTall","messageRef","scrollHeight","shouldTruncate","ErrorTypeLabel","ErrorOverlayNav","activeIdx","setActiveIndex","canGoPrevious","canGoNext","onPrevious","onNext","renderTabBar","bundlerName","N","NavItem","side","CSS_SELECTORS_TO_EXCLUDE_ON_CLICK_OUTSIDE","Dialog","ariaDescribedBy","ariaLabelledBy","dialogRef","role","setRole","hasFocus","cssSelectorsToExclude","cssSelector","passive","handleFocus","initialActiveElement","blur","ErrorOverlayDialog","DIALOG_STYLES","DialogHeader","ErrorOverlayDialogHeader","DIALOG_HEADER_STYLES","ErrorOverlayDialogBody","DIALOG_BODY_STYLES","ErrorOverlayOverlay","OVERLAY_STYLES","Resizer","resizerRef","measure","setElement","measuring","useMeasureHeight","setHeight","setMeasuring","timerId","ErrorOverlayLayout","headerChildren","isBuildError","animationProps","animating","setAnimating","hasFooter","floatingHeaderStyles","errorTypeLabelStyles","errorMessageStyles","toolbarStyles","LeftArrow","RightArrow","ErrorOverlayPagination","onActiveIndexChange","handlePreviousWithinGroup","handleNextWithinGroup","canNavigatePrevious","canNavigateNext","handlePrevious","handleNext","buttonLeft","buttonRight","nav","setNav","onNav","previousButton","createCount","nextButton","currentActiveIdx","total","isActive","decodeHex","hexStr","num","fromCodePoint","DECODE_REGEX","MAGIC_IDENTIFIER_REGEX","deobfuscateModuleId","moduleId","linkRegex","HotlinkedText","matcher","deobfuscatedParts","deobfuscateTextParts","withoutFreeCall","lastIndex","regex","matchStart","matchEnd","ident","rawText","decodeMagicIdentifier","inner","output","Mode","buffer","char","importedModuleMatch","modulePathWithMetadata","cleaned","outerIndex","part","rawPart","linkClassName","cachedRawValue","parseInstantNavCookieValue","raw","parsed","parse","rawState","to","readInstantNavCookieState","endsWith","paramName","dynamicParamType","getSnapshot","subscribe","callback","changed","rawValue","bb0","__next_instant_test","FIX_CARD_GROUPS","stream","block","client","defer","ignore","upgrade","disable","linkCards","snippets","highlight","copyable","runtimeCards","clientHookCards","dynamicCards","unrenderedSegmentCards","linkPrefetchPartialCards","metadataRuntimeCards","metadataDynamicCards","viewportRuntimeCards","viewportDynamicCards","syncDateCards","syncCryptoCards","syncClientDateCards","syncClientCryptoCards","DOCS_URLS","metadata","viewport","SYNC_IO_DOCS","SYNC_IO_CLIENT_DOCS","EXPLANATIONS","BLOCKING_ROUTE_NAVIGATION_EXPLANATION","BLOCKING_ROUTE_LINK_EXPLANATION","syncCardsByCause","syncClientCardsByCause","filterCacheForConnection","cards","GuidanceVariant","card","getCards","ICON_PROPS","viewBox","fill","stroke","strokeWidth","strokeLinecap","strokeLinejoin","FixCardAlignLeftIcon","FixCardServerStackIcon","FixCardHistoryIcon","FixCardLoadingIcon","angle","FixCardMinusCircleIcon","FixCardArrowUpIcon","FixCardMinusIcon","FixCardLayoutIcon","FixCardZapIcon","FixCardTimerIcon","FixCardDatabaseIcon","FixCardPointerClickIcon","CopyPromptIcon","CopyPromptButton","groupLabel","hashIndex","rulePage","fixHeader","info","CardGrid","groupMeta","getCardIcon","sharedProps","cardElement","snippet","j","InstantGuidance","docsUrl","explanation","showExplanation","defaultExplanation","InstantHeaderExplanation","resolvedExplanation","resolvedDocsUrl","UnrenderedSegmentInfo","buildTree","routeFirstSegment","allKeys","leafKeys","anchor","leafKey","sortedKeys","isLeaf","isLastSiblingAt","other","otherIdx","row","isLastSibling","pipeMask","isMissing","firstMissingFile","relative","TreeRow","lineProps","OverlayBackdrop","fixed","previousBodyPaddingRight","previousBodyOverflowSetting","activeLocks","Overlay","paddingRight","scrollBarGap","EclipseIcon","VersionStalenessInfo","staleness","indicatorClass","getStaleness","expected","versionLabel","activeError","bundler","envPrefix","race","visibleFrames","stackLines","firstFirstPartyFrameIndex","firstFrame","decodedCodeFrame","matchLinkType","HydrationErrorDescription","GenericErrorDescription","getErrorTypeLabel","ReadyRuntimeError","errorDetails","inNavigation","noErrorDetails","useErrorDetails","getHydrationErrorDetails","pagesRouterErrorDetails","warning","notes","reactOutputComponentDiff","isHydrationError","diff","getHydrationErrorStackInfo","hydrationErrorDetails","getBlockingRouteErrorDetails","blockingRouteErrorDetails","getUnrenderedSegmentErrorDetails","unrenderedSegmentDetails","getLinkPrefetchPartialErrorDetails","linkPrefetchPartialDetails","InstantRuntimeError","useFrames","deriveCauseFromCodeFrame","derivedCause","getGuidanceVariant","SYNC_IO_APIS","SYNC_IO_DOCS_PATTERN","isBlockingRouteInNavError","clientHookMatch","expression","isClient","routeMatch","filesBlockMatch","rawLine","details","ErrorTabBar","activeTab","onTabChange","errorActiveIdx","instantActiveIdx","Errors","normal","instant","normalErrors","instantErrors","setActiveTab","activeIndices","setActiveIndices","effectiveActiveTab","activeErrors","activeIdxForTab","previous","isLoading","useActiveRuntimeError","controlledActiveIdx","controlledSetActiveIndex","uncontrolledActiveIdx","setUncontrolledActiveIndex","__NEXT_ERROR_CODE","digest","generateErrorInfoHelper","isServerError","getErrorSource","showTabBar","tab","maybeNotes","maybeDiff","I","CollapseIcon","collapsed","transform","PseudoHtmlDiff","componentStacks","isDiffCollapsed","toggleCollapseHtml","reactComponentDiffLines","isDiffLine","isHighlightedLine","hasSign","sign","signIndex","suffix","htmlComponents","PSEUDO_HTML_DIFF_STYLES","ErrorAggregateErrors","ErrorAggregateEntry","trimmedMessage","aggregateErrors","ErrorCause","RuntimeError","errorCauseStyles","errorAggregateErrorsStyles","ExternalIcon","SourceMappingErrorIcon","FileIcon","lang","Json","Js","Ts","File","listeners","getServerSnapshot","trie","getRoot","createTrie","getCharacters","compare","create","markUpdated","insert","currentNode","found","digestSym","INTERCEPTION_ROUTE_MARKERS","TEST_ROUTE","TEST_STRICT_ROUTE","WEBPACK_LAYERS_NAMES","shared","reactServerComponents","serverSideRendering","actionBrowser","apiNode","apiEdge","middleware","instrument","edgeAsset","appPagesBrowser","pagesDirBrowser","pagesDirEdge","pagesDirNode","GROUP","builtinReact","serverOnly","neutralTarget","clientOnly","bundled","appPages","reHasRegExp","reReplaceRegExp","escapeStringRegexp","str","PARAMETER_PATTERN","parseMatchedParameter","param","repeat","Small","BASE_SIZE","Medium","Large","REACT_ERROR_STACK_BOTTOM_FRAME_REGEX","getStackIgnoringStrictMode","shouldDisableDevIndicator","__NEXT_DEV_INDICATOR","devToolsInitialPositionFromNextConfig","__NEXT_DEV_INDICATOR_POSITION","hasInstantNavsCookie","INITIAL_OVERLAY_STATE","notFound","refreshState","events","ownerStack","parseStack","pendingEvent","isConsoleError","pendingEvents","pushErrorFilterDuplicates","disabledUntil","remaining","getInstantErrorRoute","prefixMatch","isDynamicRoute","strict","isInterceptionRouteAppPath","extractInterceptionRouteInformation","interceptingRoute","marker","interceptedRoute","splitInterceptingRoute","getRouteRegex","normalizedRoute","includeSuffix","includePrefix","excludeOptionalTrailingSlash","parameterizedRoute","groups","getParametrizedRoute","groupIndex","removeTrailingSlash","charCodeAt","markerMatch","paramMatches","currentRequests","insightKey","strings","AggregateError","runtime","createMemoizedPromise","getOriginalStackFrames","getCauseChain","getAggregateErrors","readyErrors","childError","promiseFactory","cachedPromise","errorMessagesWithComponentStackDiff","isErrorMessageWithComponentStackDiff","msg","diffLog","maybeComponentStackDiff","diffs","displayedMessage","replacementRegExes","isWebpackInternalResource","formatStackFrameFile","getOriginalStackFrame","_getOriginalStackFrame","external","isServer","isEdgeServer","isAppDirectory","isWebpackFrame","parsedPath","protocol","regexNextStatic","distDir","__NEXT_DIST_DIR","effectiveDistDir","symbolError","atob","BigInt","Z","__webpack_require__"],"mappings":"uwBAGI,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,8uBC/JX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,0uBCtKX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,4uBChUX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,ouBCnHX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,kvBCjNX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,stBCtlBX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,0tBClBX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,kwDC7DX,EAA0B,IAA4B,KAC1D,EAAwB,CAAC,CAAC,GAAiC,EAC3D,EAAwB,CAAC,CAAC,GAAiC,EAC3D,EAAwB,CAAC,CAAC,GAAiC,EAC3D,EAAwB,CAAC,CAAC,GAAiC,EAE3D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,itBCrDX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,ysBC5BX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,mtBCjXX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,6sBCzCX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,itBClKX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC,CAAE,GAAG,EAEN,MAAe,C,otBCjQX,EAA0B,A,SAA4B,KAE1D,EAAwB,IAAI,CAAC,CAAC,EAAO,EAAE,CAAE,CAAC;AAC1C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAE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AE9rC,KAAM,eAAgB,EACxB,CAAEA,KAAM,cAAe8rC,UAAW,EAAK,EACxC,CACDC,SAAU,EACZ,EACA,CACE9tC,GAAI,oCACJmS,MAAO,oCACPub,MAAO,QACPyW,KAAM,sGACNyJ,SAAU,CACR,CAAE7rC,KAAM,2BAA4B8rC,UAAW,EAAK,EACpD,CAAE9rC,KAAM,8BAA+B,EACvC,CAAEA,KAAM,OAAQ,EACjB,CACD+rC,SAAU,EACZ,EACD,CAcYc,EAA0C,CACrD,iBAAkB,kDAClB,cACE,kEACFC,SACE,uEACFC,SACE,uEACF,UAAW,GACX,iBAAkB,GAClB,qBACE,8DACF,wBACE,gEACJ,EAEaC,EAAuC,CAClD,gBAAiB,6DACjB,aACE,mEACF,SAAU,mEACV,aACE,mEACF,sBACE,6DACF,2BACE,6DACF,sCACE,6DACF,2CACE,6DACF,6CACE,6DACF,6CACE,6DACF,gDACE,6DACF,kDACE,6DACF,8CACE,4DACJ,EAEaC,EAA8C,CACzD,gBACE,oEACF,aACE,0EACF,SACE,0EACF,aACE,0EACF,sBACE,oEACF,2BACE,oEACF,sCACE,oEACF,2CACE,oEACF,6CACE,oEACF,6CACE,oEACF,gDACE,oEACF,kDACE,oEACF,8CACE,mEACJ,EAEaC,EAA6C,CACxD,iBACE,+GACF,cACE,2EACFJ,SACE,oFACFC,SACE,sFACF,UAAW,GACX,iBACE,mHACF,qBACE,4GACF,wBACE,sDACJ,EAEaI,EACX,wFAEWC,EACX,2FAEIC,EAA8C,CAClD,gBA3U+B,CAC/B,CACEpvC,GAAI,yBACJmS,MAAO,4BACPub,MAAO,UACPyW,KAAM,uFACNyJ,SAAU,CACR,CAAE7rC,KAAM,qBAAsB8rC,UAAW,EAAK,EAC9C,CAAE9rC,KAAM,0BAA2B,EACnC,CAAEA,KAAM,yBAA0B,EACnC,CACD+rC,SAAU,EACZ,EACA,CACE9tC,GAAI,yBACJmS,MAAO,yBACPub,MAAO,QACPyW,KAAM,oFACNyJ,SAAU,CACR,C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AAY,GAAM,IAAK,CAAU,CAAC,EAAI,AAAC,EAGzF,ECNA27D,oBAAoB,CAAC,CAAG,CAAC,EAAK,IAAU17D,OAAO,SAAS,CAAC,cAAc,CAAC,IAAI,CAAC,EAAK,GCClF07D,oBAAoB,CAAC,CAAG,AAAC37D,IACrB,AAAkB,aAAlB,OAAOQ,QAA0BA,OAAO,WAAW,EACrDP,OAAO,cAAc,CAACD,EAASQ,OAAO,WAAW,CAAE,CAAE,MAAO,QAAS,GAEtEP,OAAO,cAAc,CAACD,EAAS,aAAc,CAAE,MAAO,EAAK,EAC5D,ECNA27D,oBAAoB,EAAE,CAAG,O","ignoreList":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,30,31,32,33,34,35,36,37,38,39,40,41,42,43,44,45,46,47,48,49,50,51,52,53,54,55,56,57,58,59,60,61,62,63,64,65,66,67,68,69,70,71,72,73,74,75,76,77,78,79,80,81,82,83,84,85,86,87,88,89,90,91,92,93,94,95,96,97,98,99,100,101,102,103,104,105,106,107,108,109,110,111,112,113,114,115,116,117,118,119,120,121,122,123,124,125,126,127,128,129,130,131,132,133,134,135,136,137,138,139,140,141,142,143,144,145,146,147,148,149,150,151,152,153,154,155,156,157,158,159,160,161,162,163,164,165,166,167,168,169,170,171,172,173,174,175,176,177,178,179,180,181,182,183,184,185,186,187,188,189,190,191,192,193,194,195,196,197,198,199,200,201,202,203,204,205,206,207,208,209,210,211,212,213,214,215,216,217,218,219,220,221,222,223,224,225,226,227,228,229,230,231,232,233,234,235,236,237,238,239,240,241,242,243,244,245,246,247,248,249,250,251,252,253,254,255,256,257,258,259,260,261,262,263,264,265,266,267,268,269,270,271,272,273,274,275,276,277,278,279,280,281,282,283,284,285,286,287,288,289,290,291,292,293,294,295,296,297,298,299,300,301,302,303,304,305,306,307,308,309,310,311,312,313,314,315]}