diff --git a/.yarn/patches/react-devtools-inline-npm-4.24.7-9582a0f8d6.patch b/.yarn/patches/react-devtools-inline-npm-4.24.7-9582a0f8d6.patch deleted file mode 100644 index e2b40fcd165..00000000000 --- a/.yarn/patches/react-devtools-inline-npm-4.24.7-9582a0f8d6.patch +++ /dev/null @@ -1,50 +0,0 @@ -diff --git a/dist/frontend.js b/dist/frontend.js -index 582becda5955ccce49ca3a8120717fbf96e79e86..04793f8deb855b2bd922fccbaf7b7bd6ced5a183 100644 ---- a/dist/frontend.js -+++ b/dist/frontend.js -@@ -17618,7 +17618,7 @@ class store_Store extends src_events["a" /* default */] { - const element = this._idToElement.get(id); - - if (element == null) { -- console.warn(`No element found with id "${id}"`); -+ // console.warn(`No element found with id "${id}"`); - return null; - } - -@@ -26794,7 +26794,7 @@ function backendAPI_storeAsGlobal({ - rendererID - }); - } --const TIMEOUT_DELAY = 5000; -+const TIMEOUT_DELAY = 15000; - let requestCounter = 0; - - function getPromiseForRequestID(requestID, eventType, bridge, timeoutMessage) { -@@ -27138,12 +27138,12 @@ function Tree_Tree(props) { - const handleFocus = Object(external_react_["useCallback"])(() => { - setTreeFocused(true); - -- if (selectedElementIndex === null && numElements > 0) { -- dispatch({ -- type: 'SELECT_ELEMENT_AT_INDEX', -- payload: 0 -- }); -- } -+ //if (selectedElementIndex === null && numElements > 0) { -+ // dispatch({ -+ // type: 'SELECT_ELEMENT_AT_INDEX', -+ // payload: 0 -+ // }); -+ //} - }, [dispatch, numElements, selectedElementIndex]); - const handleKeyPress = Object(external_react_["useCallback"])(event => { - switch (event.key) { -diff --git a/dist/frontend.js.map b/dist/frontend.js.map -index 2b70581283e860af4df02e45efd21415503bd6f0..7b1b886b47548effb8caaea1a98215f35a8b38ca 100644 ---- a/dist/frontend.js.map -+++ b/dist/frontend.js.map -@@ -1 +1 @@ --{"version":3,"sources":["webpack://[name]/webpack/bootstrap","webpack://[name]/external \"react\"","webpack://[name]/../react-devtools-shared/src/constants.js","webpack://[name]/../react-devtools-shared/src/types.js","webpack://[name]/../shared/ReactSymbols.js","webpack://[name]/../react-devtools-shared/src/utils.js","webpack://[name]//Users/luna/code/react/node_modules/css-loader/lib/css-base.js","webpack://[name]//Users/luna/code/react/node_modules/style-loader/lib/addStyles.js","webpack://[name]/../react-devtools-timeline/src/EventTooltip.css?25aa","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/SettingsShared.css?f052","webpack://[name]/../react-devtools-shared/src/storage.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/shared.css?9574","webpack://[name]/../react-devtools-shared/src/hydration.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/Profiler.css?5873","webpack://[name]/../react-devtools-shared/src/config/DevToolsFeatureFlags.default.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementSharedStyles.css?836e","webpack://[name]/external \"react-is\"","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SidebarCommitInfo.css?6490","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/KeyValue.css?7f6e","webpack://[name]//Users/luna/code/react/node_modules/clipboard-js/clipboard.js","webpack://[name]/../react-devtools-shared/src/isArray.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementHooksTree.css?4a4e","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitList.css?34c3","webpack://[name]/external \"react-dom\"","webpack://[name]/../react-devtools-shared/src/PerformanceLoggingUtils.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Element.css?ea48","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElement.css?9a58","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementView.css?98ae","webpack://[name]/../react-devtools-shared/src/devtools/views/TabBar.css?a45e","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/WhatChanged.css?ff79","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/OwnersStack.css?eaa7","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Tree.css?9a0d","webpack://[name]/../react-devtools-shared/src/devtools/views/UnsupportedBridgeProtocolDialog.css?d71f","webpack://[name]/../react-devtools-shared/src/bridge.js","webpack://[name]/../shared/isArray.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/LayoutViewer.css?2403","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/StyleEditor.css?be3d","webpack://[name]/../react-devtools-timeline/src/Timeline.css?655f","webpack://[name]/(webpack)/buildin/global.js","webpack://[name]/../react-devtools-shared/src/events.js","webpack://[name]/../react-devtools-shared/src/Logger.js","webpack://[name]//Users/luna/code/react/node_modules/react-virtualized-auto-sizer/dist/index.esm.js","webpack://[name]//Users/luna/code/react/node_modules/memoize-one/esm/index.js","webpack://[name]/../react-devtools-timeline/src/constants.js","webpack://[name]//Users/luna/code/react/node_modules/tabbable/index.js","webpack://[name]/../react-devtools-shared/src/hookNamesCache.js","webpack://[name]/../react-devtools-shared/src/devtools/views/SearchInput.css?6d2a","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementErrorsAndWarningsTree.css?f922","webpack://[name]/../react-devtools-timeline/src/TimelineNotSupported.css?75d0","webpack://[name]//Users/luna/code/react/node_modules/error-stack-parser/error-stack-parser.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SidebarSelectedFiberInfo.css?f264","webpack://[name]//Users/luna/code/react/node_modules/lodash.throttle/index.js","webpack://[name]//Users/luna/code/react/node_modules/lru-cache/index.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Components.css?36b3","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SnapshotSelector.css?7b41","webpack://[name]/../react-devtools-shared/src/devtools/views/DevTools.css?ca2b","webpack://[name]//Users/luna/code/react/node_modules/pretty-ms/index.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ModalDialog.css?9587","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/SettingsModal.css?4959","webpack://[name]//Users/luna/code/react/node_modules/process/browser.js","webpack://[name]/../shared/hasOwnProperty.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Toggle.css?ecf6","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/ChartNode.css?45da","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/HoveredFiberInfo.css?33af","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/ProfilingImportExportButtons.css?a865","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/Updaters.css?e576","webpack://[name]//Users/luna/code/react/node_modules/prop-types/index.js","webpack://[name]//Users/luna/code/react/node_modules/@elg/speedscope/dist/library/lib/utils.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/EditableValue.css?cefc","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NewArrayValue.css?48f1","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NewKeyValue.css?0637","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/NoCommitData.css?a22c","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/Tooltip.css?a224","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/RecordToggle.css?9643","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitListItem.css?bce2","webpack://[name]/../react-devtools-shared/src/devtools/views/UnsupportedVersionDialog.css?b9d4","webpack://[name]//Users/luna/code/react/node_modules/timers-browserify/main.js","webpack://[name]//Users/luna/code/react/node_modules/setimmediate/setImmediate.js","webpack://[name]//Users/luna/code/react/node_modules/lru-cache/node_modules/yallist/yallist.js","webpack://[name]//Users/luna/code/react/node_modules/lru-cache/node_modules/yallist/iterator.js","webpack://[name]//Users/luna/code/react/node_modules/stackframe/stackframe.js","webpack://[name]/../src/rpc-wrapper.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Badge.css?353c","webpack://[name]/../react-devtools-shared/src/devtools/views/Button.css?b5e3","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/SelectedTreeHighlight.css?52e8","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/HocBadges.css?a7f4","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/CommitFlamegraph.css?93c9","webpack://[name]//Users/luna/code/react/node_modules/@elg/speedscope/dist/library/library.js","webpack://[name]//Users/luna/code/react/node_modules/@elg/speedscope/dist/library/lib/value-formatters.js","webpack://[name]//Users/luna/code/react/node_modules/util/util.js","webpack://[name]//Users/luna/code/react/node_modules/json5/dist/index.js","webpack://[name]//Users/luna/code/react/node_modules/escape-string-regexp/index.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Icon.css?d3c9","webpack://[name]/../react-devtools-shared/src/devtools/views/ButtonIcon.css?79a7","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/reach-ui/Tooltip.css?15d3","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/LoadingAnimation.css?1173","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementErrorBoundary.css?4c04","webpack://[name]/../react-devtools-shared/src/devtools/ContextMenu/ContextMenu.css?f020","webpack://[name]/../react-devtools-shared/src/devtools/ContextMenu/ContextMenuItem.css?9c2c","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/AutoSizeInput.css?d3f3","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/EditableName.css?ca47","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/ExpandCollapseToggle.css?8765","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementStyleXPlugin.css?1b49","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/CommitRanked.css?0f2c","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/RootSelector.css?9b69","webpack://[name]/../react-devtools-timeline/src/CanvasPage.css?ec0b","webpack://[name]//Users/luna/code/react/node_modules/nullthrows/nullthrows.js","webpack://[name]/../react-devtools-timeline/src/import-worker/importFile.worker.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ReactLogo.css?e2e5","webpack://[name]/../react-devtools-shared/src/devtools/views/WarnIfLegacyBackendDetected.css?d42a","webpack://[name]//Users/luna/code/react/node_modules/util/support/isBufferBrowser.js","webpack://[name]//Users/luna/code/react/node_modules/util/node_modules/inherits/inherits_browser.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/menu-button/styles.css?175b","webpack://[name]//Users/luna/code/react/node_modules/@reach/menu-button/styles.css","webpack://[name]//Users/luna/code/react/node_modules/style-loader/lib/urls.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/tooltip/styles.css?1f96","webpack://[name]//Users/luna/code/react/node_modules/@reach/tooltip/styles.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Icon.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Badge.css","webpack://[name]/../react-devtools-shared/src/devtools/views/ButtonIcon.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Element.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Toggle.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/reach-ui/Tooltip.css","webpack://[name]//Users/luna/code/react/node_modules/prop-types/factoryWithThrowingShims.js","webpack://[name]//Users/luna/code/react/node_modules/prop-types/lib/ReactPropTypesSecret.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Button.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/OwnersStack.css","webpack://[name]/../react-devtools-shared/src/devtools/views/SearchInput.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/SelectedTreeHighlight.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Tree.css","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/shared.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/LoadingAnimation.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementErrorBoundary.css","webpack://[name]/../react-devtools-shared/src/devtools/views/ModalDialog.css","webpack://[name]/../react-devtools-shared/src/devtools/ContextMenu/ContextMenu.css","webpack://[name]/../react-devtools-shared/src/devtools/ContextMenu/ContextMenuItem.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/HocBadges.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/AutoSizeInput.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/EditableName.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/EditableValue.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NewArrayValue.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NewKeyValue.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/ExpandCollapseToggle.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/KeyValue.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementSharedStyles.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementErrorsAndWarningsTree.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementHooksTree.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementStyleXPlugin.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/LayoutViewer.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/StyleEditor.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementView.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElement.css","webpack://[name]/../react-devtools-shared/src/devtools/views/TabBar.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/SettingsShared.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/SettingsModal.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Components.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/NoCommitData.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/ChartNode.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/WhatChanged.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/HoveredFiberInfo.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/Tooltip.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/CommitFlamegraph.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/CommitRanked.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/RootSelector.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/RecordToggle.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/Profiler.css","webpack://[name]//Users/luna/code/react/node_modules/parse-ms/index.js","webpack://[name]/../react-devtools-timeline/src/EventTooltip.css","webpack://[name]/../react-devtools-timeline/src/CanvasPage.css","webpack://[name]/../react-devtools-timeline/node_modules/regenerator-runtime/runtime.js","webpack://[name]//Users/luna/code/react/node_modules/@elg/speedscope/dist/library/import/chrome.js","webpack://[name]//Users/luna/code/react/node_modules/@elg/speedscope/dist/library/lib/profile.js","webpack://[name]//Users/luna/code/react/node_modules/@elg/speedscope/dist/library/lib/demangle-cpp.js","webpack://[name]//Users/luna/code/react/node_modules/@elg/speedscope/dist/library/import/v8cpuFormatter.js","webpack://[name]//Users/luna/code/react/node_modules/@elg/speedscope/dist/library/lib/flamechart.js","webpack://[name]//Users/luna/code/react/node_modules/@elg/speedscope/dist/library/lib/math.js","webpack://[name]/../react-devtools-timeline/src/TimelineNotSupported.css","webpack://[name]/../react-devtools-timeline/src/Timeline.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/ProfilingImportExportButtons.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitListItem.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitList.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SnapshotSelector.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/Updaters.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SidebarCommitInfo.css","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SidebarSelectedFiberInfo.css","webpack://[name]/../react-devtools-shared/src/devtools/views/ReactLogo.css","webpack://[name]/../react-devtools-shared/src/devtools/views/UnsupportedBridgeProtocolDialog.css","webpack://[name]/../react-devtools-shared/src/devtools/views/UnsupportedVersionDialog.css","webpack://[name]/../react-devtools-shared/src/devtools/views/WarnIfLegacyBackendDetected.css","webpack://[name]/../react-devtools-shared/src/devtools/views/DevTools.css","webpack://[name]/../react-devtools-shared/src/devtools/views/root.css?7890","webpack://[name]/../react-devtools-shared/src/devtools/views/root.css","webpack://[name]/../react-devtools-shared/src/devtools/utils.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/utils.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/CommitTreeBuilder.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/FlamegraphChartBuilder.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/RankedChartBuilder.js","webpack://[name]/../react-devtools-shared/src/devtools/ProfilingCache.js","webpack://[name]/../react-devtools-shared/src/devtools/ProfilerStore.js","webpack://[name]/../react-devtools-shared/src/UnsupportedBridgeOperationError.js","webpack://[name]/../react-devtools-shared/src/devtools/store.js","webpack://[name]/../react-devtools-shared/src/devtools/views/context.js","webpack://[name]//Users/luna/code/react/node_modules/@babel/runtime/helpers/esm/extends.js","webpack://[name]//Users/luna/code/react/node_modules/@babel/runtime/helpers/esm/inheritsLoose.js","webpack://[name]//Users/luna/code/react/node_modules/@babel/runtime/helpers/esm/assertThisInitialized.js","webpack://[name]//Users/luna/code/react/node_modules/@babel/runtime/helpers/esm/objectWithoutPropertiesLoose.js","webpack://[name]/../react-devtools-shared/src/node_modules/react-window/dist/index.esm.js","webpack://[name]/../react-devtools-shared/src/devtools/views/utils.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/TreeContext.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Icon.js","webpack://[name]/../react-devtools-shared/src/devtools/views/hooks.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/SettingsContext.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Badge.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ButtonIcon.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Element.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/can-use-dom/dist/reach-utils-can-use-dom.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/use-isomorphic-layout-effect/dist/reach-utils-use-isomorphic-layout-effect.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/auto-id/dist/reach-auto-id.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/owner-document/dist/reach-utils-owner-document.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/get-document-dimensions/dist/reach-utils-get-document-dimensions.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/make-id/dist/reach-utils-make-id.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/dev-utils/dist/reach-utils-dev-utils.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/type-check/dist/reach-utils-type-check.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/compose-refs/dist/reach-utils-compose-refs.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/compose-event-handlers/dist/reach-utils-compose-event-handlers.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/use-force-update/dist/reach-utils-use-force-update.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/portal/dist/reach-portal.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/visually-hidden/dist/reach-visually-hidden.esm.js","webpack://[name]/../src/index.ts","webpack://[name]//Users/luna/code/react/node_modules/@reach/rect/dist/reach-rect.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/tooltip/dist/reach-tooltip.esm.js","webpack://[name]/../react-devtools-shared/src/devtools/views/useThemeStyles.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/reach-ui/tooltip.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Toggle.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectHostNodesToggle.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Button.js","webpack://[name]/../react-devtools-shared/src/devtools/cache.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/OwnersListContext.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/popover/dist/reach-popover.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/context/dist/reach-utils-context.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/noop/dist/reach-utils-noop.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/descendants/dist/reach-descendants.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/is-right-click/dist/reach-utils-is-right-click.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/use-previous/dist/reach-utils-use-previous.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/utils/use-stateful-ref-value/dist/reach-utils-use-stateful-ref-value.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/dropdown/dist/reach-dropdown.esm.js","webpack://[name]//Users/luna/code/react/node_modules/@reach/menu-button/dist/reach-menu-button.esm.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/reach-ui/menu-button.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/OwnersStack.js","webpack://[name]/../react-devtools-shared/src/devtools/views/SearchInput.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/ComponentSearchInput.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/SettingsModalContext.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/SettingsModalContextToggle.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/TreeFocusedContext.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/SelectedTreeHighlight.js","webpack://[name]/../react-devtools-shared/src/errors/TimeoutError.js","webpack://[name]/../react-devtools-shared/src/backendAPI.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Tree.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/UnsupportedBridgeOperationView.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/ErrorView.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/LoadingAnimation.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/SearchingGitHubIssues.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/githubAPI.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/cache.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/UpdateExistingIssue.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/ReportNewIssue.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/WorkplaceGroup.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/SuspendingErrorView.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/TimeoutView.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/CaughtErrorView.js","webpack://[name]/../react-devtools-shared/src/errors/UserError.js","webpack://[name]/../react-devtools-shared/src/errors/UnknownHookError.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/ErrorBoundary.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ErrorBoundary/index.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ThemeProvider.js","webpack://[name]/../react-devtools-shared/src/devtools/views/portaledContent.js","webpack://[name]/../react-devtools-shared/src/inspectedElementMutableSource.js","webpack://[name]/../react-devtools-shared/src/inspectedElementCache.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementErrorBoundary.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ModalDialog.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/ViewElementSourceContext.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/CannotSuspendWarningMessage.js","webpack://[name]/../react-devtools-shared/src/devtools/ContextMenu/Contexts.js","webpack://[name]/../react-devtools-shared/src/devtools/ContextMenu/ContextMenu.js","webpack://[name]/../react-devtools-shared/src/devtools/ContextMenu/ContextMenuItem.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/HocBadges.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/AutoSizeInput.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/EditableName.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/EditableValue.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/utils.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NewArrayValue.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NewKeyValue.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/ExpandCollapseToggle.js","webpack://[name]/../react-devtools-shared/src/devtools/ContextMenu/useContextMenu.js","webpack://[name]/../react-devtools-shared/src/dynamicImportCache.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/FetchFileWithCachingContext.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/HookNamesModuleLoaderContext.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementContext.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/constants.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/KeyValue.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementContextTree.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementErrorsAndWarningsTree.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementHooksTree.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementPropsTree.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementStateTree.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementStyleXPlugin.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementSuspenseToggle.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/context.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/LayoutViewer.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/StyleEditor.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/NativeStyleEditor/index.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElementView.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/InspectedElement.js","webpack://[name]/../react-devtools-shared/src/devtools/views/TabBar.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/ComponentsSettings.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/DebuggingSettings.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/GeneralSettings.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/ProfilerContext.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/ProfilerSettings.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Settings/SettingsModal.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Components/Components.js","webpack://[name]/../react-devtools-timeline/src/TimelineContext.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/ClearProfilingDataButton.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/NoCommitData.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/constants.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/ChartNode.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/CommitFlamegraphListItem.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/WhatChanged.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/HoveredFiberInfo.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/Tooltip.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/CommitFlamegraph.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/CommitRankedListItem.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/CommitRanked.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/RootSelector.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/RecordToggle.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/NoProfilingData.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/RecordingInProgress.js","webpack://[name]/../react-devtools-timeline/src/content-views/constants.js","webpack://[name]/../react-devtools-timeline/node_modules/memoize-one/dist/memoize-one.esm.js","webpack://[name]/../react-devtools-timeline/src/view-base/geometry.js","webpack://[name]/../react-devtools-timeline/src/view-base/Surface.js","webpack://[name]/../react-devtools-timeline/src/view-base/layouter.js","webpack://[name]/../react-devtools-timeline/src/view-base/View.js","webpack://[name]/../react-devtools-timeline/src/view-base/BackgroundColorView.js","webpack://[name]/../react-devtools-timeline/src/view-base/utils/clamp.js","webpack://[name]/../react-devtools-timeline/src/view-base/utils/scrollState.js","webpack://[name]/../react-devtools-timeline/src/view-base/constants.js","webpack://[name]/../react-devtools-timeline/src/view-base/HorizontalPanAndZoomView.js","webpack://[name]/../react-devtools-timeline/src/view-base/VerticalScrollView.js","webpack://[name]/../react-devtools-timeline/src/content-views/utils/text.js","webpack://[name]/../react-devtools-timeline/src/view-base/resizable/ResizeBarView.js","webpack://[name]/../react-devtools-timeline/src/view-base/resizable/ResizableView.js","webpack://[name]/../react-devtools-timeline/src/view-base/resizable/index.js","webpack://[name]/../react-devtools-timeline/src/view-base/utils/normalizeWheel.js","webpack://[name]/../react-devtools-timeline/src/view-base/useCanvasInteraction.js","webpack://[name]/../react-devtools-timeline/src/view-base/vertical-scroll-overflow/withVerticalScrollbarLayout.js","webpack://[name]/../react-devtools-timeline/src/view-base/vertical-scroll-overflow/VerticalScrollOverflowView.js","webpack://[name]/../react-devtools-timeline/src/view-base/vertical-scroll-overflow/VerticalScrollBarView.js","webpack://[name]/../react-devtools-timeline/src/view-base/vertical-scroll-overflow/index.js","webpack://[name]/../react-devtools-timeline/src/view-base/index.js","webpack://[name]/../react-devtools-timeline/src/content-views/utils/positioning.js","webpack://[name]/../react-devtools-timeline/src/utils/formatting.js","webpack://[name]/../react-devtools-timeline/src/content-views/ComponentMeasuresView.js","webpack://[name]/../react-devtools-timeline/src/content-views/utils/moduleFilters.js","webpack://[name]/../react-devtools-timeline/src/content-views/utils/colors.js","webpack://[name]/../react-devtools-timeline/src/content-views/FlamechartView.js","webpack://[name]/../react-devtools-timeline/src/content-views/NativeEventsView.js","webpack://[name]/../react-devtools-timeline/src/content-views/NetworkMeasuresView.js","webpack://[name]/../react-devtools-timeline/src/content-views/ReactMeasuresView.js","webpack://[name]/../react-devtools-timeline/src/content-views/SchedulingEventsView.js","webpack://[name]/../react-devtools-timeline/src/content-views/SnapshotsView.js","webpack://[name]/../react-devtools-timeline/src/content-views/SuspenseEventsView.js","webpack://[name]/../react-devtools-timeline/src/content-views/ThrownErrorsView.js","webpack://[name]/../react-devtools-timeline/src/content-views/TimeAxisMarkersView.js","webpack://[name]/../react-devtools-timeline/src/content-views/UserTimingMarksView.js","webpack://[name]/../react-devtools-timeline/src/content-views/index.js","webpack://[name]/../react-devtools-timeline/src/utils/getBatchRange.js","webpack://[name]/../react-devtools-timeline/src/utils/useSmartTooltip.js","webpack://[name]/../react-devtools-timeline/src/EventTooltip.js","webpack://[name]/../react-devtools-timeline/src/TimelineSearchContext.js","webpack://[name]/../react-devtools-timeline/src/CanvasPage.js","webpack://[name]/../react-devtools-timeline/src/import-worker/InvalidProfileError.js","webpack://[name]/../react-devtools-timeline/src/import-worker/preprocessData.js","webpack://[name]/../react-devtools-timeline/src/import-worker/readInputData.js","webpack://[name]/../react-devtools-timeline/src/import-worker/importFile.js","webpack://[name]/../react-devtools-timeline/src/import-worker/index.js","webpack://[name]/../react-devtools-timeline/src/timelineCache.js","webpack://[name]/../react-devtools-timeline/src/TimelineSearchInput.js","webpack://[name]/../react-devtools-timeline/src/TimelineNotSupported.js","webpack://[name]/../react-devtools-timeline/src/Timeline.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/ReloadAndProfileButton.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/ProfilingImportExportButtons.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitListItem.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SnapshotCommitList.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SnapshotSelector.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/Updaters.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SidebarCommitInfo.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/ProcessingData.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/ProfilingNotSupported.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/SidebarSelectedFiberInfo.js","webpack://[name]/../react-devtools-shared/src/devtools/views/Profiler/Profiler.js","webpack://[name]/../react-devtools-shared/src/devtools/views/ReactLogo.js","webpack://[name]/../react-devtools-shared/src/devtools/views/UnsupportedBridgeProtocolDialog.js","webpack://[name]/../react-devtools-shared/src/devtools/views/UnsupportedVersionDialog.js","webpack://[name]/../react-devtools-shared/src/devtools/views/WarnIfLegacyBackendDetected.js","webpack://[name]/../react-devtools-shared/src/devtools/views/DevTools.js","webpack://[name]/./src/frontend.js"],"names":["CHROME_WEBSTORE_EXTENSION_ID","INTERNAL_EXTENSION_ID","LOCAL_EXTENSION_ID","__DEBUG__","__PERFORMANCE_PROFILE__","TREE_OPERATION_ADD","TREE_OPERATION_REMOVE","TREE_OPERATION_REORDER_CHILDREN","TREE_OPERATION_UPDATE_TREE_BASE_DURATION","TREE_OPERATION_UPDATE_ERRORS_OR_WARNINGS","TREE_OPERATION_REMOVE_ROOT","TREE_OPERATION_SET_SUBTREE_MODE","PROFILING_FLAG_BASIC_SUPPORT","PROFILING_FLAG_TIMELINE_SUPPORT","LOCAL_STORAGE_DEFAULT_TAB_KEY","LOCAL_STORAGE_FILTER_PREFERENCES_KEY","SESSION_STORAGE_LAST_SELECTION_KEY","LOCAL_STORAGE_OPEN_IN_EDITOR_URL","LOCAL_STORAGE_PARSE_HOOK_NAMES_KEY","SESSION_STORAGE_RECORD_CHANGE_DESCRIPTIONS_KEY","SESSION_STORAGE_RELOAD_AND_PROFILE_KEY","LOCAL_STORAGE_SHOULD_BREAK_ON_CONSOLE_ERRORS","LOCAL_STORAGE_SHOULD_PATCH_CONSOLE_KEY","LOCAL_STORAGE_SHOW_INLINE_WARNINGS_AND_ERRORS_KEY","LOCAL_STORAGE_TRACE_UPDATES_ENABLED_KEY","LOCAL_STORAGE_HIDE_CONSOLE_LOGS_IN_STRICT_MODE","PROFILER_EXPORT_VERSION","CHANGE_LOG_URL","UNSUPPORTED_VERSION_URL","REACT_DEVTOOLS_WORKPLACE_URL","THEME_STYLES","light","dark","compact","comfortable","COMFORTABLE_LINE_HEIGHT","parseInt","COMPACT_LINE_HEIGHT","ElementTypeClass","ElementTypeContext","ElementTypeFunction","ElementTypeForwardRef","ElementTypeHostComponent","ElementTypeMemo","ElementTypeOtherOrUnknown","ElementTypeProfiler","ElementTypeRoot","ElementTypeSuspense","ElementTypeSuspenseList","ElementTypeTracingMarker","ComponentFilterElementType","ComponentFilterDisplayName","ComponentFilterLocation","ComponentFilterHOC","StrictMode","REACT_ELEMENT_TYPE","Symbol","for","REACT_PORTAL_TYPE","REACT_FRAGMENT_TYPE","REACT_STRICT_MODE_TYPE","REACT_PROFILER_TYPE","REACT_PROVIDER_TYPE","REACT_CONTEXT_TYPE","REACT_SERVER_CONTEXT_TYPE","REACT_FORWARD_REF_TYPE","REACT_SUSPENSE_TYPE","REACT_SUSPENSE_LIST_TYPE","REACT_MEMO_TYPE","REACT_LAZY_TYPE","REACT_SCOPE_TYPE","REACT_DEBUG_TRACING_MODE_TYPE","REACT_OFFSCREEN_TYPE","REACT_LEGACY_HIDDEN_TYPE","REACT_CACHE_TYPE","REACT_TRACING_MARKER_TYPE","REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED","MAYBE_ITERATOR_SYMBOL","iterator","FAUX_ITERATOR_SYMBOL","getIteratorFn","maybeIterable","maybeIterator","cachedDisplayNames","WeakMap","encodedStringCache","LRU","max","alphaSortKeys","a","b","toString","getAllEnumerableKeys","obj","keys","Set","current","currentKeys","Object","getOwnPropertySymbols","descriptors","getOwnPropertyDescriptors","forEach","key","enumerable","add","getPrototypeOf","getDisplayName","type","fallbackName","nameFromCache","get","displayName","name","set","uidCounter","getUID","utfDecodeString","array","string","i","length","char","String","fromCodePoint","surrogatePairToCodePoint","charCode1","charCode2","utfEncodeString","cached","undefined","encoded","charCode","charCodeAt","push","printOperationsArray","operations","rendererID","rootID","logs","stringTable","stringTableSize","stringTableEnd","nextLength","nextString","slice","operation","id","parentID","displayNameStringID","removeLength","removeIndex","mode","numChildren","children","join","numErrors","numWarnings","Error","console","log","getDefaultComponentFilters","value","isEnabled","getSavedComponentFilters","raw","localStorageGetItem","JSON","parse","error","saveComponentFilters","componentFilters","localStorageSetItem","stringify","getAppendComponentStack","setAppendComponentStack","getBreakOnConsoleErrors","setBreakOnConsoleErrors","getHideConsoleLogsInStrictMode","sethideConsoleLogsInStrictMode","getShowInlineWarningsAndErrors","setShowInlineWarningsAndErrors","getDefaultOpenInEditorURL","process","getOpenInEditorURL","separateDisplayNameAndHOCs","hocDisplayNames","indexOf","matches","match","pop","unshift","shallowDiffers","prev","next","attribute","getInObject","object","path","reduce","reduced","attr","hasOwnProperty","call","Array","from","deletePathInObject","last","parent","isArray","splice","renamePathInObject","oldPath","newPath","lastOld","lastNew","setInObject","getDataType","data","isElement","HTMLElement","Number","isNaN","isFinite","ArrayBuffer","isView","constructor","toStringValue","prototype","getDisplayNameForReactElement","element","elementType","typeOf","ContextConsumer","ContextProvider","ForwardRef","Fragment","Lazy","Memo","Portal","Profiler","Suspense","SuspenseList","TracingMarker","MAX_PREVIEW_STRING_LENGTH","truncateForDisplay","substr","formatDataForPreview","showFormattedValue","meta","preview_long","preview_short","tagName","toLowerCase","byteLength","buffer","formatted","size","shortName","entryOrEntries","toStringTag","sort","module","exports","useSourceMap","list","map","item","content","cssWithMappingToString","modules","mediaQuery","alreadyImportedModules","cssMapping","btoa","sourceMapping","toComment","sourceURLs","sources","source","sourceRoot","concat","sourceMap","base64","unescape","encodeURIComponent","localStorage","getItem","localStorageRemoveItem","removeItem","setItem","sessionStorageGetItem","sessionStorage","sessionStorageRemoveItem","sessionStorageSetItem","inspectable","inspected","readonly","unserializable","LEVEL_THRESHOLD","createDehydrated","cleaned","dehydrated","dehydrate","isPathAllowed","level","isPathAllowedCheck","unserializableValue","fillInPath","target","unserializablePath","isMatch","upgradeUnserializable","hydrate","Infinity","NaN","replaced","node","replacement","destination","defineProperties","configurable","consoleManagedByDevToolsDuringStrictMode","enableLogger","enableNamedHooksFeature","enableProfilerChangedHookIndices","enableStyleXFeatures","isInternalFacebookBuild","definition","document","addEventListener","clipboard","copy","_intercept","_data","_bogusSelection","cleanup","window","getSelection","removeAllRanges","e","clipboardData","setData","preventDefault","bogusSelect","sel","queryCommandEnabled","isCollapsed","range","createRange","selectNodeContents","body","addRange","Promise","resolve","reject","Node","XMLSerializer","serializeToString","triggerCopy","tryBogusSelect","execCommand","paste","_resolve","_dataType","getData","dataType","ClipboardEvent","apply","arguments","c","TypeError","_state","_value","_deferreds","f","d","j","onFulfilled","onRejected","then","g","h","immediateFn","setImmediate","setTimeout","k","all","race","strData","copySucceeded","supportsUserTiming","performance","mark","clearMarks","supportsPerformanceNow","now","markName","measure","Date","withAsyncPerfMeasurements","callback","onComplete","start","result","duration","withSyncPerfMeasurements","withCallbackPerfMeasurements","done","BATCH_DURATION","BRIDGE_PROTOCOL","version","minNpmVersion","maxNpmVersion","currentBridgeProtocol","Bridge","EventEmitter","wall","_timeoutID","clearTimeout","_messageQueue","_wall","send","_flush","wasForwarded","_wallUnlisten","listen","message","event","emit","payload","addListener","overrideValueAtPath","_isShutdown","warn","shutdown","removeAllListeners","wallUnlisten","isArrayImpl","Function","Map","listener","listeners","listenersMap","index","args","didThrow","caughtError","clonedListeners","clear","removeListener","logFunctions","logEvent","registerEventLogger","logFunction","unregisterEventLogger","filter","classCallCheck","instance","Constructor","createClass","props","descriptor","writable","defineProperty","protoProps","staticProps","_extends","assign","inherits","subClass","superClass","create","setPrototypeOf","__proto__","possibleConstructorReturn","self","ReferenceError","slicedToArray","sliceIterator","arr","_arr","_n","_d","_e","_i","_s","err","windowObject","global","cancelFrame","requestFrame","TIMEOUT_DURATION","clearTimeoutFn","setTimeoutFn","cancelAnimationFrameFn","cancelAnimationFrame","mozCancelAnimationFrame","webkitCancelAnimationFrame","requestAnimationFrameFn","requestAnimationFrame","mozRequestAnimationFrame","webkitRequestAnimationFrame","requestAnimationFrameViaSetTimeout","_ref","_ref2","animationFrameID","timeoutID","requestAnimationFrameWithSetTimeoutFallback","animationFrameCallback","timeoutCallback","createDetectElementResize","nonce","animationKeyframes","animationName","animationStartEvent","animationStyle","checkTriggers","resetTriggers","scrollListener","attachEvent","triggers","__resizeTriggers__","expand","firstElementChild","contract","lastElementChild","expandChild","scrollLeft","scrollWidth","scrollTop","scrollHeight","style","width","offsetWidth","height","offsetHeight","__resizeLast__","className","__resizeRAF__","animationFrame","__resizeListeners__","forEachResizeListener","fn","animation","keyframeprefix","domPrefixes","split","startEvents","pfx","elm","createElement","createStyles","doc","getElementById","css","head","getElementsByTagName","setAttribute","styleSheet","cssText","appendChild","createTextNode","addResizeListener","ownerDocument","elementStyle","getComputedStyle","position","expandTrigger","contractTrigger","__animationListener__","animationListener","removeResizeListener","detachEvent","removeEventListener","removeChild","AutoSizer","_React$PureComponent","_temp","_this","_ret","_len","_key","state","defaultHeight","defaultWidth","_onResize","_this$props","disableHeight","disableWidth","onResize","_parentNode","_height","_width","_style","paddingLeft","paddingRight","paddingTop","paddingBottom","newHeight","newWidth","setState","_setRef","autoSizer","_autoSizer","componentDidMount","parentNode","defaultView","_detectElementResize","componentWillUnmount","render","_props","outerStyle","overflow","childParams","bailoutOnChildren","ref","PureComponent","defaultProps","simpleIsEqual","resultFn","isEqual","lastThis","lastArgs","lastResult","calledOnce","isNewArgEqualToLast","newArg","newArgs","every","REACT_TOTAL_NUM_LANES","SCHEDULING_PROFILER_VERSION","SNAPSHOT_MAX_HEIGHT","candidateSelectors","candidateSelector","Element","msMatchesSelector","webkitMatchesSelector","tabbable","el","options","regularTabbables","orderedTabbables","candidates","querySelectorAll","includeContainer","candidate","candidateTabindex","isNodeMatchingSelectorTabbable","getTabindex","documentOrder","tabIndex","tabbableNodes","sortOrderedTabbables","isTabbable","isFocusable","isNodeMatchingSelectorFocusable","isNonTabbableRadio","disabled","isHiddenInput","isHidden","focusableCandidateSelector","tabindexAttr","getAttribute","isContentEditable","contentEditable","isInput","isRadio","isTabbableRadio","getCheckedRadio","nodes","checked","radioSet","offsetParent","visibility","TIMEOUT","Pending","Resolved","Rejected","readRecord","record","status","hasAlreadyLoadedHookNames","loadHookNames","hooksTree","loadHookNamesFunction","fetchFileWithCaching","groupCollapsed","groupEnd","callbacks","wakeable","didTimeout","resolvedHookNames","wake","handleLoadComplete","durationMs","event_name","event_status","duration_ms","inspected_element_display_name","inspected_element_number_of_hooks","newRecord","onSuccess","hookNames","resolvedRecord","notFoundRecord","onError","thrownRecord","onTimeout","timedoutRecord","response","getHookSourceLocationKey","fileName","lineNumber","columnNumber","clearHookNamesCache","root","factory","define","ErrorStackParser","StackFrame","FIREFOX_SAFARI_STACK_REGEXP","CHROME_IE_STACK_REGEXP","SAFARI_NATIVE_CODE_REGEXP","ErrorStackParser$$parse","stacktrace","parseOpera","stack","parseV8OrIE","parseFFOrSafari","extractLocation","ErrorStackParser$$extractLocation","urlLike","regExp","parts","exec","replace","ErrorStackParser$$parseV8OrIE","filtered","line","sanitizedLine","location","tokens","locationParts","functionName","ErrorStackParser$$parseFFOrSafari","functionNameRegex","ErrorStackParser$$parseOpera","parseOpera9","parseOpera10","parseOpera11","ErrorStackParser$$parseOpera9","lineRE","lines","len","ErrorStackParser$$parseOpera10","ErrorStackParser$$parseOpera11","functionCall","shift","argsRaw","FUNC_ERROR_TEXT","NAN","symbolTag","reTrim","reIsBadHex","reIsBinary","reIsOctal","freeParseInt","freeGlobal","freeSelf","objectProto","objectToString","nativeMax","Math","nativeMin","min","debounce","func","wait","maxWait","timerId","lastCallTime","lastInvokeTime","leading","maxing","trailing","toNumber","isObject","invokeFunc","time","thisArg","leadingEdge","timerExpired","remainingWait","timeSinceLastCall","timeSinceLastInvoke","shouldInvoke","trailingEdge","cancel","flush","debounced","isInvoking","throttle","isObjectLike","isSymbol","other","valueOf","isBinary","test","Yallist","require","MAX","LENGTH","LENGTH_CALCULATOR","ALLOW_STALE","MAX_AGE","DISPOSE","NO_DISPOSE_ON_SET","LRU_LIST","CACHE","UPDATE_AGE_ON_GET","naiveLength","LRUCache","lc","stale","maxAge","dispose","noDisposeOnSet","updateAgeOnGet","reset","mL","trim","allowStale","mA","lengthCalculator","lC","hit","itemCount","rforEach","thisp","walker","tail","forEachStep","toArray","values","dump","isStale","v","dumpLru","has","del","Entry","peek","load","l","expiresAt","prune","doUse","unshiftNode","diff","delete","removeNode","parseMilliseconds","pluralize","word","count","SECOND_ROUNDING_EPSILON","milliseconds","colonNotation","formatSubMilliseconds","separateMilliseconds","verbose","secondsDecimalDigits","millisecondsDecimalDigits","floorDecimals","decimalDigits","flooredInterimValue","floor","flooredValue","round","toFixed","long","short","valueString","prefix","suffix","wholeDigits","includes","minLength","repeat","parsed","trunc","days","hours","minutes","seconds","microseconds","nanoseconds","millisecondsAndBelow","roundedMiliseconds","ceil","millisecondsString","parseFloat","secondsFixed","secondsString","keepDecimalsOnWholeSeconds","unitCount","separator","cachedSetTimeout","cachedClearTimeout","defaultSetTimout","defaultClearTimeout","runTimeout","fun","runClearTimeout","marker","queue","draining","currentQueue","queueIndex","cleanUpNextTick","drainQueue","timeout","run","nextTick","Item","title","browser","env","argv","versions","noop","on","once","off","prependListener","prependOnceListener","binding","cwd","chdir","dir","umask","decodeBase64","lazyStatic","memoizeByReference","memoizeByShallowEquality","objectsHaveShallowEquality","binarySearch","triangle","fract","formatPercent","zeroPad","itReduce","itForEach","itMap","KeyedSet","getOrThrow","getOrElse","getOrInsert","sortBy","lastOf","ts","comparator","keyA","keyB","fallback","t","existing","it","init","accum","s","percent","formattedPercent","x","abs","lo","hi","targetRangeSize","assert","mid","val","cb","base64lookupTable","alphabet","ret","charAt","lookupTable","quartetCount","byteCount","bytes","Uint8Array","offset","enc1","enc2","enc3","enc4","sextet1","sextet2","sextet3","sextet4","substring","scope","Timeout","setInterval","clearInterval","close","clearFn","_id","_clearFn","unref","enroll","msecs","_idleTimeoutId","_idleTimeout","unenroll","_unrefActive","active","_onTimeout","clearImmediate","nextHandle","tasksByHandle","currentlyRunningATask","registerImmediate","task","handle","runIfPresent","installNextTickImplementation","canUsePostMessage","postMessage","importScripts","postMessageIsAsynchronous","oldOnMessage","onmessage","installPostMessageImplementation","messagePrefix","random","onGlobalMessage","installMessageChannelImplementation","channel","MessageChannel","port1","port2","installReadyStateChangeImplementation","html","documentElement","script","onreadystatechange","installSetTimeoutImplementation","attachTo","pushNode","res","forEachReverse","n","getReverse","mapReverse","initial","acc","reduceReverse","toArrayReverse","to","sliceReverse","deleteCount","insert","reverse","p","inserted","er","_isNumber","_capitalize","str","toUpperCase","_getter","booleanProps","numericProps","stringProps","arrayProps","getArgs","setArgs","getEvalOrigin","evalOrigin","setEvalOrigin","getFileName","getLineNumber","getColumnNumber","getFunctionName","getIsEval","fromString","StackFrame$$fromString","argsStartIndex","argsEndIndex","lastIndexOf","locationString","Boolean","worker","evt","methods","method","params","__createBinding","o","m","k2","__exportStar","ByteFormatter","TimeFormatter","RawValueFormatter","utils_1","unit","format","toLocaleString","multiplier","formatUnsigned","getOwnPropertyDescriptor","formatRegExp","isString","objects","inspect","_","isNull","deprecate","msg","noDeprecation","warned","deprecated","throwDeprecation","traceDeprecation","trace","debugs","debugEnviron","debuglog","isUndefined","NODE_DEBUG","RegExp","pid","opts","ctx","seen","stylize","stylizeNoColor","depth","colors","isBoolean","showHidden","_extend","customInspect","stylizeWithColor","formatValue","styles","styleType","arrayToHash","hash","idx","recurseTimes","isFunction","primitive","formatPrimitive","visibleKeys","getOwnPropertyNames","isError","formatError","isRegExp","isDate","base","braces","toUTCString","output","formatArray","formatProperty","reduceToSingleString","simple","isNumber","desc","numLinesEst","cur","ar","arg","isNullOrUndefined","re","isPrimitive","isBuffer","pad","months","timestamp","getHours","getMinutes","getSeconds","getDate","getMonth","origin","prop","kCustomPromisifiedSymbol","promisify","original","promiseResolve","promiseReject","promise","custom","callbackifyOnRejected","reason","newReason","callbackify","callbackified","maybeCb","rej","createCommonjsModule","_global","__g","_core","core","__e","_core_1","_isObject","_anObject","_fails","_descriptors","is","_domCreate","_ie8DomDefine","_toPrimitive","S","dP","O","P","Attributes","_objectDp","_propertyDesc","bitmap","_hide","_has","px","_uid","_library","_shared","SHARED","store","copyright","_functionToString","_redefine","SRC","TO_STRING","TPL","inspectSource","safe","_aFunction","_ctx","that","PROTOTYPE","$export","IS_FORCED","F","IS_GLOBAL","G","IS_STATIC","IS_PROTO","IS_BIND","B","expProto","own","out","exp","U","W","R","_export","_toInteger","_defined","_stringAt","pos","$at","codePointAt","_toAbsoluteIndex","fromCharCode","$fromCodePoint","arguments$1","aLen","code","RangeError","Space_Separator","ID_Start","ID_Continue","unicode","util","isSpaceSeparator","isIdStartChar","isIdContinueChar","isDigit","isHexDigit","parseState","column","token","text","reviver","lex","parseStates","internalize","holder","lexState","doubleQuote","sign","lexStates","read","default","default$1","newToken","comment","invalidChar","multiLineComment","multiLineCommentAsterisk","singleLineComment","literal","identifierNameStartEscape","u","unicodeEscape","invalidIdentifier","identifierName","identifierNameEscape","sign$1","zero","decimalInteger","decimalPointLeading","decimalPoint","decimalFraction","decimalExponent","decimalExponentSign","decimalExponentInteger","hexadecimal","hexadecimalInteger","escape","separatorChar","beforePropertyName","afterPropertyName","beforePropertyValue","afterPropertyValue","beforeArrayValue","afterArrayValue","end","hexEscape","invalidEOF","syntaxError","formatChar","replacements","hexString","SyntaxError","replacer","space","indent","propertyList","replacerFunc","gap","quote","serializeProperty","toJSON5","toJSON","quoteString","serializeArray","serializeObject","quotes","product","quoteChar","stepback","partial","propertyString","member","serializeKey","final","properties","firstChar","properties$1","JSON5","lib","es5","matchOperatorsRe","nullthrows","framesToPop","fill","readUInt8","ctor","superCtor","super_","TempCtor","baseUrl","protocol","host","currentDir","pathname","fixedCss","fullMatch","origUrl","unquotedOrigUrl","$1","newUrl","ReactPropTypesSecret","emptyFunction","emptyFunctionWithReset","resetWarningCache","shim","propName","componentName","propFullName","secret","isRequired","getShim","ReactPropTypes","bool","number","symbol","any","arrayOf","instanceOf","objectOf","oneOf","oneOfType","shape","exact","checkPropTypes","PropTypes","roundTowardsZero","runtime","Op","hasOwn","$Symbol","iteratorSymbol","asyncIteratorSymbol","asyncIterator","toStringTagSymbol","wrap","innerFn","outerFn","tryLocsList","protoGenerator","Generator","generator","context","Context","_invoke","makeInvokeMethod","tryCatch","GenStateSuspendedStart","GenStateSuspendedYield","GenStateExecuting","GenStateCompleted","ContinueSentinel","GeneratorFunction","GeneratorFunctionPrototype","IteratorPrototype","getProto","NativeIteratorPrototype","Gp","defineIteratorMethods","isGeneratorFunction","genFun","awrap","__await","AsyncIterator","PromiseImpl","invoke","unwrapped","previousPromise","enqueue","callInvokeWithMethodAndArg","async","iter","doneResult","delegate","delegateResult","maybeInvokeDelegate","sent","_sent","dispatchException","abrupt","info","resultName","nextLoc","pushTryEntry","locs","entry","tryLoc","catchLoc","finallyLoc","afterLoc","tryEntries","resetTryEntry","completion","iterable","iteratorMethod","skipTempReset","stop","rootEntry","rootRecord","rval","exception","loc","caught","hasCatch","hasFinally","finallyEntry","complete","finish","thrown","delegateYield","regeneratorRuntime","accidentalStrictMode","importFromOldV8CPUProfile","importFromChromeCPUProfile","importFromChromeTimeline","isChromeTimeline","profile_1","value_formatters_1","v8cpuFormatter_1","rawProfile","first","find","events","cpuProfileByID","pidTidById","threadNameByPidTid","pidTid","tid","cpuProfile","startTime","endTime","samples","timeDeltas","chunk","profiles","indexToView","profileId","threadName","profile","setName","callFrameToFrameInfo","frameInfoForCallFrame","callFrame","file","url","col","shouldIgnoreFunction","shouldPlaceOnTopOfPreviousStack","chromeProfile","CallTreeProfileBuilder","nodeById","childId","child","sampleTimes","elapsed","lastValidElapsed","lastNodeId","nodeId","timeDelta","prevStack","stackTop","lca","closingNode","frame","leaveFrame","toOpen","enterFrame","setValueFormatter","build","chromeTreeToNodes","__setModuleDefault","__importStar","mod","__esModule","__awaiter","_arguments","adopt","fulfilled","step","rejected","StackListProfileBuilder","Profile","CallTreeNode","Frame","HasWeights","demangleCppModule","selfWeight","totalWeight","getSelfWeight","getTotalWeight","addToTotalWeight","delta","addToSelfWeight","overwriteWeightWith","frozen","isRoot","isFrozen","freeze","frames","appendOrderCalltreeRoot","groupedCalltreeRoot","weights","valueFormatter","totalNonIdleWeight","getAppendOrderCalltreeRoot","getGroupedCalltreeRoot","getWeightUnit","getName","getTotalNonIdleWeight","sortGroupedCallTree","visit","forEachCallGrouped","openFrame","closeFrame","childTime","forEachCall","sampleIndex","forEachFrame","getProfileWithRecursionFlattened","builder","framesInStack","flattenedProfile","getInvertedProfileForCallersOf","focalFrameInfo","focalFrame","appendSampleWithWeight","getProfileForCalleesOf","recordSubtree","focalFrameNode","findCalls","demangle","demangleCpp","startsWith","remapNames","pendingSample","_appendSample","weight","useAppendOrder","frameInfo","appendSampleWithTimestamp","centralTimestamp","endTimestamp","startTimestamp","appendOrderStack","groupedOrderStack","lastValue","addWeightsToFrames","addWeightsToNodes","_enterFrame","prevTop","frameCount","_leaveFrame","leavingStackTop","cppfilt","cache","treeToArray","scriptId","hitCount","timestampsToDeltas","timestamps","lastTimestamp","Flamechart","math_1","layers","minFrameWidth","layerIndex","getLayers","getColorBucketForFrame","getMinFrameWidth","getClampedViewportWidth","viewportWidth","maxWidth","maxZoom","pow","minWidth","clamp","getClampedConfigSpaceViewportRect","configSpaceViewportRect","renderInverted","configSpaceSize","Vec2","withX","minus","plus","Rect","AffineTransform","minVal","maxVal","y","withY","times","scalar","timesPointwise","dividedByPointwise","dot","equals","approxEquals","epsilon","length2","sqrt","flatten","m00","m01","m02","m10","m11","m12","withScale","scaledBy","getScale","withTranslation","getTranslation","translatedBy","betweenRects","timesScalar","det","m20","m21","m22","adj","a00","a01","a02","a10","a11","a12","inverted","transformVector","inverseTransformVector","inv","transformPosition","inverseTransformPosition","transformRect","r","inverseTransformRect","isEmpty","left","right","top","bottom","topLeft","topRight","bottomRight","bottomLeft","withOrigin","withSize","closestPointTo","distanceFrom","contains","hasIntersectionWith","intersectWith","area","empty","NDC","printElement","includeWeight","hocs","printOwnersList","elements","printStore","snapshotLines","rootWeight","printSelectedMarker","selectedElementIndex","printErrorsAndWarnings","errorCount","warningCount","getErrorAndWarningCountForElementID","ownerFlatTree","printedSelectedMarker","printedElement","printedErrorsAndWarnings","errorsAndWarnings","_errorsAndWarnings","roots","getElementByID","maybeWeightLabel","getElementAtIndex","numElements","assertExpectedRootMapSizes","sanitizeForParse","smartParse","smartStringify","commitGradient","prepareProfilingDataFrontendFromBackendAndStore","dataBackends","operationsByRootID","snapshotsByRootID","dataForRoots","timelineDataArray","dataBackend","timelineData","batchUIDToMeasuresKeyValueArray","internalModuleSourceToRanges","laneToLabelKeyValueArray","laneToReactMeasureKeyValueArray","rest","batchUIDToMeasuresMap","laneToLabelMap","laneToReactMeasureMap","commitData","initialTreeBaseDurations","snapshots","convertedCommitData","commitDataBackend","commitIndex","changeDescriptions","effectDuration","fiberActualDurations","fiberSelfDurations","passiveEffectDuration","priorityLevel","updaters","serializedElement","serializedElementDisplayName","serializedElementHocDisplayNames","imported","prepareProfilingDataFrontendFromExport","profilingDataExport","componentMeasures","flamechart","nativeEvents","networkMeasures","otherUserTimingMarks","reactVersion","schedulingEvents","snapshotHeight","suspenseEvents","thrownErrors","prepareProfilingDataExport","profilingDataFrontend","entries","getGradientColor","maxIndex","formatDuration","formatPercentage","percentage","formatTime","scale","minValue","maxValue","minRange","maxRange","fallbackValue","debug","methodName","rootToCommitTreeMap","getCommitTree","profilerStore","commitTrees","profilingData","dataForRoot","commitTree","recursivelyInitializeTree","updateTree","__printTree","previousCommitTree","treeBaseDuration","childID","getClonedNode","clonedNode","keyStringID","invalidateCommitTrees","group","cachedChartData","getChartData","commitDatum","getCommitData","chartDataKey","idToDepthMap","renderPathNodes","rows","maxDepth","maxSelfDuration","walkTree","rightOffset","currentDepth","actualDuration","selfDuration","didRender","maybeKey","maybeBadge","label","chartNode","childChartNode","baseDuration","currentID","chartData","invalidateChartData","chartNodes","ProfilingCache","_profilerStore","fiberID","cachedFiberCommits","_fiberCommits","fiberCommits","getDataForRoot","getFlamegraphChartData","getRankedChartData","invalidate","invalidateFlamegraphChartData","invalidateRankedChartData","ProfilerStore","bridge","defaultIsProfiling","elementID","profilingSnapshots","_store","snapshotNode","_takeProfilingSnapshotRecursive","_isProfiling","profilingOperations","_inProgressOperationsByRootID","_initialRendererIDs","_initialSnapshotsByRootID","_rendererIDsThatReportedProfilingData","_rendererQueue","_dataBackends","_dataFrontend","_bridge","onBridgeOperations","onBridgeProfilingData","onProfilingStatus","onBridgeShutdown","isProfiling","rootIDToRendererID","_cache","didRecordCommits","isProcessingData","profilingCache","startProfiling","recordChangeDescriptions","stopProfiling","UnsupportedBridgeOperationError","captureStackTrace","LOCAL_STORAGE_COLLAPSE_ROOTS_BY_DEFAULT_KEY","LOCAL_STORAGE_RECORD_CHANGE_DESCRIPTIONS_KEY","Store","config","parentElement","weightDelta","isInsideCollapsedSubTree","_idToElement","_weightAcrossRoots","isSupported","validAttributes","_isNativeStyleEditorSupported","_nativeStyleEditorValidAttributes","haveRootsChanged","haveErrorsOrWarningsChanged","addedElementIDs","removedElementIDs","_throwAndEmitError","ownerID","isStrictModeCompliant","supportsBasicProfiling","supportsTimeline","supportsStrictMode","hasOwnerMetadata","_bridgeProtocol","_roots","_rootIDToRendererID","_rootIDToCapabilities","isStrictModeNonCompliant","displayNameWithoutHOCs","_collapseNodesByDefault","_adjustParentTreeWeight","_ownersMap","recursivelyDeleteElements","__DEV__","_recursivelyUpdateSubtree","_revision","_cachedErrorAndWarningTuples","_cachedErrorCount","_cachedWarningCount","prevRootSupportsProfiling","_rootSupportsBasicProfiling","prevRootSupportsTimelineProfiling","_rootSupportsTimelineProfiling","_hasOwnerMetadata","_componentFilters","onBridgeOverrideComponentFilters","onBackendStorageAPISupported","onBridgeNativeStyleEditorSupported","onBridgeSynchronousXHRSupported","onBridgeUnsupportedRendererVersion","onBridgeBackendVersion","onBridgeProtocol","_onBridgeProtocolTimeoutID","isBackendStorageAPISupported","_isBackendStorageAPISupported","isSynchronousXHRSupported","_isSynchronousXHRSupported","_unsupportedRendererVersionDetected","backendVersion","_backendVersion","bridgeProtocol","_recordChangeDescriptions","supportsNativeInspection","supportsProfiling","supportsReloadAndProfile","supportsTraceUpdates","_supportsNativeInspection","_supportsProfiling","_supportsReloadAndProfile","_supportsTimeline","_supportsTraceUpdates","checkBridgeProtocolCompatibility","onBridgeProtocolTimeout","assertMapSizeMatchesRootCount","mapName","expectedSize","collapseNodesByDefault","prevEnabledComponentFilters","nextEnabledComponentFilters","haveEnabledFiltersChanged","prevFilter","nextFilter","nativeStyleEditorValidAttributes","revision","rootSupportsBasicProfiling","rootSupportsTimelineProfiling","supportsNativeStyleEditor","unsupportedBridgeProtocolDetected","_unsupportedBridgeProtocolDetected","unsupportedRendererVersionDetected","containsElement","currentElement","currentWeight","childWeight","getElementIDAtIndex","getElementsWithErrorsAndWarnings","errorAndWarningTuples","getIndexOfElementID","low","high","previousID","getOwnersListForElement","unsortedIDs","depthMap","sortedIDs","idA","idB","innerElement","getRendererIDForElement","getRootIDForElement","toggleIsCollapsed","didMutate","oldWeight","newWeight","weightAcrossRoots","BridgeContext","createContext","StoreContext","ContextMenuContext","isEnabledForInspectedElement","viewAttributeSourceFunction","OptionsContext","readOnly","hideSettings","hideToggleErrorAction","hideToggleSuspenseAction","hideLogAction","hideViewSourceAction","_inheritsLoose","_assertThisInitialized","_objectWithoutPropertiesLoose","excluded","sourceKeys","hasNativePerformanceNow","cancelTimeout","requestTimeout","delay","tick","getScrollbarSize","recalculate","div","clientWidth","cachedRTLResult","getRTLOffsetType","outerDiv","direction","innerDiv","innerStyle","IS_SCROLLING_DEBOUNCE_INTERVAL","defaultItemKey","columnIndex","rowIndex","devWarningsOverscanCount","devWarningsOverscanRowsColumnsCount","devWarningsTagName","createGridComponent","_class","getColumnOffset","getColumnStartIndexForOffset","getColumnStopIndexForStartIndex","getColumnWidth","getEstimatedTotalHeight","getEstimatedTotalWidth","getOffsetForColumnAndAlignment","getOffsetForRowAndAlignment","getRowHeight","getRowOffset","getRowStartIndexForOffset","getRowStopIndexForStartIndex","initInstanceProps","shouldResetStyleCacheOnItemSizeChange","validateProps","_PureComponent","Grid","_instanceProps","_resetIsScrollingTimeoutId","_outerRef","isScrolling","horizontalScrollDirection","initialScrollLeft","initialScrollTop","scrollUpdateWasRequested","verticalScrollDirection","_callOnItemsRendered","memoizeOne","overscanColumnStartIndex","overscanColumnStopIndex","overscanRowStartIndex","overscanRowStopIndex","visibleColumnStartIndex","visibleColumnStopIndex","visibleRowStartIndex","visibleRowStopIndex","onItemsRendered","_callOnScroll","onScroll","_getItemStyle","columnWidth","rowHeight","itemStyleCache","_getItemStyleCache","__","___","_onScroll","_event$currentTarget","currentTarget","clientHeight","flushSync","prevState","calculatedScrollLeft","calculatedScrollTop","_resetIsScrollingDebounced","_outerRefSetter","outerRef","_resetIsScrolling","getDerivedStateFromProps","nextProps","validateSharedProps","_proto","scrollTo","_ref3","scrollToItem","_ref4","_ref4$align","align","_this$props2","columnCount","rowCount","_this$state","scrollbarSize","estimatedTotalHeight","estimatedTotalWidth","horizontalScrollbarSize","verticalScrollbarSize","_this$props3","_callPropsCallbacks","componentDidUpdate","_this$state2","_this$props4","innerRef","innerElementType","innerTagName","itemData","_this$props4$itemKey","itemKey","outerElementType","outerTagName","useIsScrolling","_this$_getHorizontalR","_getHorizontalRangeToRender","columnStartIndex","columnStopIndex","_this$_getVerticalRan","_getVerticalRangeToRender","rowStartIndex","rowStopIndex","items","_rowIndex","_columnIndex","WebkitOverflowScrolling","willChange","pointerEvents","_this$props5","_this$_getHorizontalR2","_overscanColumnStartIndex","_overscanColumnStopIndex","_visibleColumnStartIndex","_visibleColumnStopIndex","_this$_getVerticalRan2","_overscanRowStartIndex","_overscanRowStopIndex","_visibleRowStartIndex","_visibleRowStopIndex","_this$state3","_horizontalScrollDirection","_scrollLeft","_scrollTop","_scrollUpdateWasRequested","_verticalScrollDirection","_this$props6","overscanColumnCount","overscanColumnsCount","overscanCount","_this$state4","overscanCountResolved","startIndex","stopIndex","overscanBackward","overscanForward","_this$props7","overscanRowCount","overscanRowsCount","_this$state5","_ref5","_ref6","DEFAULT_ESTIMATED_ITEM_SIZE","rowMetadataMap","estimatedRowHeight","lastMeasuredRowIndex","totalSizeOfMeasuredRows","itemMetadata","numUnmeasuredItems","totalSizeOfUnmeasuredItems","columnMetadataMap","estimatedColumnWidth","lastMeasuredColumnIndex","getItemMetadata","itemType","instanceProps","itemMetadataMap","itemSize","lastMeasuredIndex","findNearestItem","lastMeasuredItemOffset","findNearestItemBinarySearch","findNearestItemExponentialSearch","middle","currentOffset","interval","getOffsetForIndexAndAlignment","scrollOffset","estimatedTotalSize","maxOffset","minOffset","VariableSizeGrid","resetAfterColumnIndex","shouldForceUpdate","resetAfterIndices","resetAfterRowIndex","_ref6$shouldForceUpda","forceUpdate","_ref7","IS_SCROLLING_DEBOUNCE_INTERVAL$1","defaultItemKey$1","devWarningsDirection","devWarningsTagName$1","createListComponent","getItemOffset","getEstimatedTotalSize","getItemSize","getStartIndexForOffset","getStopIndexForStartIndex","List","scrollDirection","initialScrollOffset","overscanStartIndex","overscanStopIndex","visibleStartIndex","visibleStopIndex","layout","_offset","isHorizontal","_onScrollHorizontal","_onScrollVertical","_event$currentTarget2","validateSharedProps$1","_this$_getRangeToRend","_getRangeToRender","_index","_this$_getRangeToRend2","_overscanStartIndex","_overscanStopIndex","_visibleStartIndex","_visibleStopIndex","_scrollDirection","_scrollOffset","DEFAULT_ESTIMATED_ITEM_SIZE$1","getItemMetadata$1","findNearestItem$1","findNearestItemBinarySearch$1","findNearestItemExponentialSearch$1","estimatedItemSize","totalSizeOfMeasuredItems","VariableSizeList","resetAfterIndex","FixedSizeGrid","lastColumnOffset","middleOffset","_ref8","lastRowOffset","_ref9","_ref10","numVisibleColumns","_ref11","_ref12","numVisibleRows","_ref13","FixedSizeList","lastItemOffset","numVisibleItems","_attribute","areEqual","prevProps","prevStyle","prevRest","nextStyle","nextRest","shouldComponentUpdate","nextState","alphaSortEntries","entryA","entryB","createRegExp","isLetter","matchAnyCase","escaped","escapeStringRegExp","restRegex","getMetaValueLabel","sanitize","serializeDataForCopy","cloned","serializeHooksForCopy","hooks","isStateEditable","subHooks","downloadUrl","downloadFile","filename","blob","Blob","URL","revokeObjectURL","createObjectURL","click","truncateText","maxLength","TreeStateContext","TreeDispatcherContext","reduceTreeState","action","ownerSubtreeLeafElementID","selectedElementID","lookupIDForIndex","removedIDs","selectedElement","firstChildID","firstChildIndex","selectedChildIndex","nextChildID","leafElement","ownerIndex","parentIndex","elementIndicesWithErrorsOrWarnings","flatIndex","prevEntry","nextEntry","reduceSearchState","searchIndex","searchResults","searchText","prevSearchIndex","prevSearchText","numPrevSearchResults","didRequestSearch","newElementIndex","foundMatch","resultID","recursivelySearchTree","getNearestResultIndex","newSearchIndex","reduceOwnersState","prevSelectedElementIndex","findIndex","reduceSuspenseState","inspectedElementID","TreeContextController","defaultInspectedElementID","defaultOwnerID","defaultSelectedElementID","defaultSelectedElementIndex","useContext","initialRevision","useMemo","reducer","dispatch","useReducer","dispatchWrapper","useCallback","startTransition","useEffect","handleSelectFiber","prevSelectedElementID","useRef","useLayoutEffect","handleStoreMutated","some","innerIndex","Icon","pathData","PATH_ARROW","PATH_BUG","PATH_CODE","PATH_COMPONENTS","PATH_COPY","PATH_ERROR","PATH_FACEBOOK","PATH_FLAME_CHART","PATH_PROFILER","PATH_RANKED_CHART","PATH_SCHEDULING_PROFILER","PATH_SEARCH","PATH_SETTINGS","PATH_STORE_AS_GLOBAL_VARIABLE","PATH_STRICT_MODE_NON_COMPLIANT","PATH_WARNING","useEditableValueReducer","editableValue","externalValue","hasPendingChanges","isValid","parsedValue","isNewValueValid","newParsedValue","useEditableValue","useIsOverflowing","containerRef","totalChildWidth","isOverflowing","setIsOverflowing","useState","container","handleResize","ownerWindow","useLocalStorage","initialValue","getValueFromLocalStorage","storedValue","setStoredValue","setValue","valueToStore","dispatchEvent","Event","onStorage","newValue","useModalDismissSignal","modalRef","dismissCallback","dismissOnClickOutside","handleDocumentKeyDown","handleDocumentClick","stopPropagation","useSubscription","getCurrentValue","subscribe","didUnsubscribe","checkForUpdates","unsubscribe","useHighlightNativeElement","highlightNativeElement","hideAfterTimeout","openNativeElementsPanel","scrollIntoView","clearHighlightNativeElement","SettingsContext","SettingsContextController","browserTheme","componentsPortalContainer","profilerPortalContainer","displayDensity","setDisplayDensity","theme","setTheme","appendComponentStack","breakOnConsoleErrors","parseHookNames","setParseHookNames","hideConsoleLogsInStrictMode","showInlineWarningsAndErrors","traceUpdatesEnabled","setTraceUpdatesEnabled","documentElements","updateDisplayDensity","updateThemeVariables","lineHeight","computedStyle","fontSize","getPropertyValue","querySelector","scrollbarColor","Badge","totalBadgeCount","ExtraLabel","ButtonIcon","PATH_ADD","PATH_CANCEL","PATH_CLEAR","PATH_CLOSE","PATH_COLLAPSED","PATH_DELETE","PATH_DOWN","PATH_EDITOR","PATH_EXPANDED","PATH_EXPORT","PATH_FILTER","PATH_IMPORT","PATH_LOG_DATA","PATH_MORE","PATH_NEXT","PATH_PARSE_HOOK_NAMES","PATH_PREVIOUS","PATH_RECORD","PATH_RELOAD","PATH_SAVE","PATH_SUSPEND","PATH_UNDO","PATH_UP","PATH_VIEW_DOM","PATH_VIEW_SOURCE","React","isHovered","setIsHovered","isNavigatingWithKeyboard","onElementMouseEnter","treeFocused","isSelected","errorsAndWarningsSubscription","handleDoubleClick","handleClick","metaKey","handleMouseEnter","handleMouseLeave","handleKeyDoubleClick","showStrictModeBadge","SelectedElement","InactiveSelectedElement","HoveredElement","Wrapper","transform","KeyName","KeyValue","ErrorIconContrast","ErrorIcon","WarningIconContrast","WarningIcon","StrictModeContrast","swallowDoubleClick","ExpandCollapseToggle","toggleCollapsed","DisplayName","isSearchResult","isCurrentResult","CurrentHighlight","Highlight","canUseDOM","useIsomorphicLayoutEffect","serverHandoffComplete","genId","useId","idFromProps","initialId","_React$useState","setId","getOwnerDocument","getOwnerWindow","getDocumentDimensions","_ownerDocument$docume","_ownerDocument$docume2","innerWidth","innerHeight","makeId","checkedPkgs","useStateLogger","DEBUG","checkStyles","packageName","useCheckStyles","useControlledSwitchWarning","controlledValue","controlledPropName","_arrayLikeToArray","arr2","_unsupportedIterableToArray","minLen","_createForOfIteratorHelperLoose","allowArrayLike","bind","assignRef","useComposedRefs","refs","_iterator","_step","composeEventHandlers","theirHandler","ourHandler","defaultPrevented","useForceUpdate","_useState","_ref$type","mountNode","portalNode","createPortal","_excluded","VisuallyHidden","forwardRef","_ref$as","as","Comp","_ref$style","border","clip","margin","padding","whiteSpace","wordWrap","rectChanged","observedNodes","changedStates","newRect","rafId","observeRect","observe","wasEmpty","rect","hasRectChanged","unobserve","onChange","_ref$observe","useRect","nodeRef","observeOrOptions","deprecated_onChange","_observeOrOptions$obs","setElement","initialRectIsSet","initialRefIsSet","_React$useState2","setRect","onChangeRef","getBoundingClientRect","elem","observer","_excluded2","_excluded3","_excluded4","_on","_on2","_on3","_on4","_on5","_states","MOUSE_REST_TIMEOUT","LEAVE_TIMEOUT","TooltipStates","TooltipEvents","chart","Idle","states","enter","clearContextId","MouseEnter","Focused","Focus","Visible","startRestTimer","leave","clearRestTimer","MouseMove","MouseLeave","MouseDown","Dismissed","Blur","Rest","LeavingVisible","SelectWithKeyboard","GlobalMouseMove","startLeavingVisibleTimer","clearLeavingVisibleTimer","TimeComplete","subscriptions","notify","restTimeout","leavingVisibleTimer","useTooltip","idProp","onPointerEnter","onPointerMove","onPointerLeave","onPointerDown","onMouseEnter","onMouseMove","onMouseLeave","onMouseDown","onFocus","onBlur","onKeyDown","forwardedRef","DEBUG_STYLE","isTooltipVisible","isVisible","setIsVisible","ownRef","triggerRect","useDisabledTriggerOnSafari","wrapMouseEvent","wrapPointerEventHandler","handler","onPointerEvent","pointerType","handleMouseMove","handleMouseDown","handleFocus","__REACH_DISABLE_TOOLTIPS","handleBlur","handleKeyDown","trigger","tooltip","Tooltip","DEPRECATED_ariaLabel","ariaLabel","Children","only","warning","_useTooltip","cloneElement","TooltipPopup","TooltipContent","realAriaLabel","_ref4$as","_ref4$position","positionTooltip","hasAriaLabel","tooltipRect","role","getStyles","haventMeasuredTooltipYet","OFFSET_DEFAULT","_getDocumentDimension","windowWidth","windowHeight","collisions","directionRight","directionUp","pageXOffset","pageYOffset","closest","_transition","transition","changed","currentState","stateDef","nextStateValue","nextDef","useThemeStyles","tooltipStyles","Toggle","isDisabled","isChecked","testName","defaultClassName","ToggleDisabled","ToggleOn","ToggleOff","toggle","ToggleContent","InspectHostNodesToggle","isInspecting","setIsInspecting","handleChange","onStopInspectingNative","Button","button","ButtonContent","ReactCurrentDispatcher","readContext","dispatcher","CacheContext","resourceConfigs","getEntriesForResource","resource","entriesForResource","useWeakMap","accessResult","fetch","input","thenable","newResult","resolvedResult","rejectedResult","createResource","hashInput","suspender","preload","write","invalidateResources","OwnersListContext","inProgressRequests","request","resolveFn","OwnersListContextController","onOwnersList","ownersList","owners","owner","Popover","PopoverImpl","targetRef","_ref$position","positionDefault","_ref$unstable_observa","unstable_observableRefs","popoverRef","popoverRect","hidden","targetRect","useSimulateTabNavigationForReactTree","getTopPosition","isDirectionUp","_getCollisions","getCollisions","positionRight","_getCollisions2","directionLeft","positionMatchWidth","_getCollisions3","offsetLeft","offsetBottom","directionDown","triggerRef","shiftKey","shiftTabbedFromElementAfterTrigger","focusLastTabbableInPopover","shiftTabbedOutOfPopover","focusTriggerRef","shiftTabbedToBrowserChrome","disableTabbablesInPopover","tabbedFromTriggerToPopover","focusFirstPopoverTabbable","tabbedOutOfPopover","focusTabbableAfterTrigger","tabbedToBrowserChrome","getElementAfterTrigger","targetIndex","elementAfterTrigger","activeElement","focus","inPopover","_triggerRef$current","restoreTabIndexTuplés","enableTabbablesInPopover","createNamedContext","defaultValue","Ctx","createDescendantContext","descendants","registerDescendant","unregisterDescendant","useDescendant","descendant","indexProp","_React$useContext","useDescendantsInit","useDescendants","DescendantProvider","explicitIndex","newItems","compareDocumentPosition","DOCUMENT_POSITION_PRECEDING","newItem","Provider","useDescendantKeyDown","_React$useContext2","currentIndex","_options$key","_options$orientation","orientation","_options$rotate","rotate","_options$rtl","rtl","selectableDescendants","selectableIndex","getNextOption","atBottom","getLastOption","getFirstOption","getPreviousOption","atTop","nextOrPrev","prevOrNext","prevOrFirst","ctrlKey","nextOrLast","isRightClick","nativeEvent","which","usePrevious","useStatefulRefValue","initialState","callbackRef","refValue","_excluded5","_excluded6","_excluded7","_excluded8","CLEAR_SELECTION_INDEX","CLICK_MENU_ITEM","CLOSE_MENU","OPEN_MENU_AT_FIRST_ITEM","OPEN_MENU_AT_INDEX","OPEN_MENU_CLEARED","SEARCH_FOR_ITEM","SELECT_ITEM_AT_INDEX","SET_BUTTON_ID","DropdownDescendantContext","DropdownContext","triggerId","isExpanded","typeaheadQuery","selectionIndex","DropdownProvider","dropdownRef","_useDescendantsInit","setDescendants","dropdownId","_React$useReducer","triggerClickedRef","selectCallbacks","readyToSelect","mouseDownStartPosRef","isOpen","useDropdownTrigger","_useDropdownContext","useDropdownContext","_useDropdownContext$s","useDropdownDescendants","firstNonDisabledIndex","clientX","clientY","controls","DropdownTrigger","_ref3$as","_useDropdownTrigger","useDropdownItem","_ref4$isLink","isLink","onClick","onDragStart","onMouseUp","onSelect","valueTextProp","valueText","_useDropdownContext2","_useDropdownContext2$","setValueText","setValueTextFromDOM","textContent","mouseEventStarted","_useStatefulRefValue","handleRefSet","select","handleDragStart","threshold","deltaX","deltaY","handleMouseUp","useItemId","DropdownItem","_ref5$as","_useDropdownItem","useDropdownItems","_useDropdownContext3","_useDropdownContext3$","findItemFromTypeahead","prevItemsLength","prevSelected","prevSelectionIndex","selected","query","activeDescendant","DropdownItems","_ref7$as","_useDropdownItems","useDropdownPopover","_ref8$portal","portal","_useDropdownContext4","popoverContainsEventTarget","relatedTarget","DropdownPopover","_ref9$as","_useDropdownPopover","_useDropdownPopover$d","sharedProps","found","_item$element","_item$element$dataset","_item$element$dataset2","dataset","valuetext","popover","_action$payload$dropd","Menu","parentIsFragment","isFragment","MenuButton","_ref2$as","_useDropdownTrigger$d","MenuItemImpl","MenuItem","MenuItems","_useDropdownItems$dat","MenuLink","_ref6$as","component","useDevWarning","MenuList","_ref7$portal","MenuPopover","_ref8$as","useMenuButtonContext","condition","dialogReducer","selectedIndex","OwnerStack","treeDispatch","isInStore","selectOwner","elementsTotalWidth","setElementsTotalWidth","elementsBarRef","selectedOwner","totalWidth","marginLeft","marginRight","Bar","VRule","IconButton","ElementsDropdown","menuItems","Component","NotInStore","MenuButtonContent","Modal","ElementView","BackToOwnerButton","SearchInput","goToNextResult","goToPreviousResult","placeholder","search","searchResultsCount","inputRef","resetSearch","handleKeyPress","InputIcon","Input","IndexLabel","LeftVRule","ComponentSearchInput","SettingsModalContext","SettingsModalContextController","isModalShowing","setIsModalShowing","SettingsModalContextToggle","showFilterModal","isProfilingSubscription","TreeFocusedContext","SelectedTreeHighlight","subscription","lastChildID","Active","Inactive","TimeoutError","clearErrorsAndWarnings","clearErrorsForElement","clearWarningsForElement","copyInspectedElementPath","inspectElement","forceFullData","requestID","requestCounter","getPromiseForRequestID","storeAsGlobalCount","storeAsGlobal","TIMEOUT_DELAY","eventType","timeoutMessage","onInspectedElement","responseID","cloneInspectedElementWithPath","inspectedElement","hydratedValue","hydrateHelper","clonedInspectedElement","convertInspectedElementBackendToFrontend","inspectedElementBackend","canEditFunctionProps","canEditFunctionPropsDeletePaths","canEditFunctionPropsRenamePaths","canEditHooks","canEditHooksAndDeletePaths","canEditHooksAndRenamePaths","canToggleError","isErrored","targetErrorBoundaryID","canToggleSuspense","canViewSource","hasLegacyContext","plugins","rendererPackageName","rendererVersion","rootType","errors","warnings","dehydratedData","cleanedPath","DEFAULT_INDENTATION_SIZE","Tree","setIsNavigatingWithKeyboard","treeRef","focusTargetRef","setTreeFocused","listCallbackRef","handleStopInspectingNative","didSelectNode","lastScrolledIDRef","altKey","searchRef","didSelectNewSearchResult","handleElementMouseEnter","handlePreviousErrorOrWarningClick","handleNextErrorOrWarningClick","errorsOrWarningsSubscription","clearErrorsAndWarningsAPI","IconAndCount","AutoSizerWrapper","InnerElementType","updateIndentationSizeVar","cachedChildWidths","indentationSizeRef","prevListWidthRef","listWidth","maxIndentationSize","childWidth","cachedChildWidth","remainingWidth","setProperty","prevOwnerIDRef","divRef","Loading","UnsupportedBridgeOperationView","callStack","componentStack","errorMessage","ErrorBoundary","ErrorInfo","HeaderRow","ErrorHeader","InfoBox","ErrorStack","ErrorView","dismissError","CloseButton","CloseButtonIcon","LoadingAnimation","SearchingGitHubIssues","GitHubLinkRow","LoadingIcon","GITHUB_ISSUES_API","searchGitHubIssuesURL","filters","searchGitHubIssues","json","html_url","API_TIMEOUT","createMap","getRecordMap","getCacheForType","findGitHubIssue","normalizeErrorMessage","maybeItem","catch","UpdateExistingIssue","gitHubIssue","ReportIcon","UpdateExistingIssuePrompt","ReportLink","LABELS","TEMPLATE","ReportNewIssue","bugURL","gitHubAPISearch","parameters","ReproSteps","WorkplaceGroup","WorkplaceGroupRow","FacebookOnly","SuspendingErrorView","GitHubUI","TimeoutView","TimeoutHeader","TimeoutStack","CaughtErrorView","UserError","UnknownHookError","InitialState","canDismiss","hasError","isUnsupportedBridgeOperationError","isTimeout","isUserError","isUnknownHookError","error_message","error_stack","error_component_stack","onBeforeDismissCallback","_logError","getDerivedStateFromError","componentDidCatch","_onStoreError","canDismissProp","canDismissState","_dismissError","ThemeProvider","themeStyle","portaledContent","PortaledContent","portalContainer","inspectedElementCache","inspectElementAPI","errorType","fullData","hydratedPathData","clearCacheForTests","createCacheSeed","rejectedRecord","inspectElementMutableSource","checkForUpdate","refresh","responseType","clearCacheBecauseOfError","InspectedElementErrorBoundaryWrapper","useCacheRefresh","handleDsmiss","ModalDialogContext","dialogs","dialog","canBeDismissed","ModalDialogContextController","ModalDialog","Background","ModalDialogImpl","dismissModal","dialogRef","handleDialogClick","Dialog","Title","Buttons","ViewElementSourceContext","CannotSuspendWarningMessage","areSuspenseElementsHidden","idToShowFnMap","idToHideFnMap","currentHide","currentOnChange","hideMenu","showMenu","pageX","pageY","showFn","registerMenu","hideFn","unregisterMenu","RegistryContext","repositionToFit","HIDDEN_STATE","ContextMenu","bodyAccessorRef","menuRef","showMenuFn","hideMenuFn","menu","hideUnlessContains","ContextMenuItem","HocBadges","hocDisplayName","AutoSizeInput","onFocusWrapper","selectionStart","selectionEnd","EditableName","allowEmpty","allowWhiteSpace","autoFocus","overrideName","editableName","setEditableName","setIsValid","basePath","EditableValue","overrideValue","handleCheckBoxToggle","applyChanges","isBool","Invalid","Checkbox","parseHookPathForEdit","NewArrayValue","hookID","setKey","isInvalid","setIsInvalid","newIsInvalid","NewKeyValue","newPropKey","setNewPropKey","newPropName","setNewPropName","overrideNewEntryName","overrideNewEntryValue","setIsOpen","prevIsOpen","useContextMenu","handleContextMenu","touches","moduleLoaderFunctionToModuleMap","loadModule","moduleLoaderFunction","FetchFileWithCachingContext","HookNamesModuleLoaderContext","InspectedElementContext","POLL_INTERVAL","InspectedElementContextController","parseHookNamesByDefault","hookNamesModuleLoader","alreadyLoadedHookNames","elementHasChanged","purgeCachedMetadataRef","hookNamesModule","purgeCachedMetadata","toggleParseHookNames","inspectPaths","inspectedElementRef","fastRefreshScheduled","checkForUpdateWrapper","PROTOCOLS_SUPPORTED_AS_LINKS_IN_KEY_VALUE","alphaSort","canDeletePaths","canEditValues","canRenamePaths","canRenamePathsAtDepth","isDirectChildOfAnArray","hookName","pathRoot","readOnlyGlobalFlag","contextMenuTriggerRef","isInspectable","isReadOnlyBasedOnMetadata","isInspectPathsPending","startInspectPathsTransition","useTransition","toggleIsOpen","isSimpleType","deletePath","pathToDelete","renamePath","canRenameTheCurrentPath","renderedName","Name","HookName","displayValue","shouldDisplayValueAsLink","protocolPrefix","ExpandCollapseToggleSpacer","AfterName","Link","Value","hasChildren","innerValue","keyValue","DeleteToggle","DeleteArrayItemButton","InspectedElementContextTree","isReadOnly","handleCopy","InspectedElementTree","Header","Empty","InspectedElementErrorsAndWarningsTree","isErrorsTransitionPending","startClearErrorsTransition","clearErrorsForInspectedElement","clearErrorsForElementAPI","isWarningsTransitionPending","startClearWarningsTransition","clearWarningsForInspectedElement","clearWarningsForElementAPI","ErrorBadge","ErrorTree","WarningBadge","WarningTree","Warning","badgeClassName","actions","clearMessages","isTransitionPending","messageClassName","sharedStyles","ErrorOrWarningView","Message","InspectedElementHooksTree","parseHookNamesOptimistic","setParseHookNamesOptimistic","hookParsingFailed","toggleTitle","HooksTreeView","ToggleError","InnerHooksTreeView","hook","HookView","Hook","NameValueRow","TruncationIndicator","isCustomHook","PrimitiveHookNumber","isComplexDisplayValue","hookSource","hookDisplayName","subHooksView","NameAnonymous","InspectedElementPropsTree","InspectedElementStateTree","InspectedElementStyleXPlugin","styleXPlugin","stylex","resolvedStyles","Source","InspectedElementSuspenseToggle","isSuspended","toggleSuspense","forceFallback","ToggleSuspenseRow","NativeStyleContext","NativeStyleContextController","getStyleAndLayout","currentStyleAndLayout","setCurrentStyleAndLayout","onStyleAndLayout","styleAndLayout","batchedUpdates","sendRequest","LayoutViewer","DashedBox","LabelRow","Label","BoxRow","SolidBox","StyleEditor","changeAttribute","oldName","newName","changeValue","Brackets","NewRow","newAttributeRef","changeAttributeWrapper","oldAttribute","newAttribute","changeValueWrapper","Row","attributePlaceholder","valuePlaceholder","localAttribute","setLocalAttribute","localValue","setLocalValue","isAttributeValid","setIsAttributeValid","isValueValid","setIsValueValid","validateAndSetLocalAttribute","validateAndSetLocalValue","resetAttribute","resetValue","submitValueChange","parsedLocalValue","submitAttributeChange","Attribute","Field","onReset","onSubmit","NativeStyleEditorWrapper","NativeStyleEditor","maybeStyleAndLayout","InspectedElementView","isContextMenuEnabledForInspectedElement","rendererLabel","showOwnersList","showRenderedBy","InspectedElement","Owners","OwnersHeader","OwnersMetaField","pathType","copyInspectedElementPathAPI","storeAsGlobalAPI","ContextMenuIcon","formatSourceForDisplay","BEFORE_SLASH_RE","nameOnly","pathBeforeSlash","folderName","SourceHeaderRow","SourceHeader","SourceOneLiner","OwnerView","OwnerButton","OwnerContent","Owner","InspectedElementWrapper","canViewElementSourceFunction","viewElementSourceFunction","modalDialogDispatch","highlightElement","logElement","viewSource","editorURL","useSyncExternalStore","getState","canOpenInEditor","toggleErrored","forceError","toggleSuspended","nearestSuspenseElement","nearestSuspenseElementID","onOpenInEditor","href","open","TitleRow","strictModeBadge","StrictModeNonCompliant","Key","KeyArrow","SelectedComponentName","StrictModeNonCompliantComponent","TabBar","currentTab","groupName","selectTab","tabs","tab","firstTab","iconSizeClassName","tabLabelClassName","tabSizeClassName","IconSizeNavigation","TabLabelNavigation","TabSizeNavigation","IconSizeProfiler","TabLabelProfiler","TabSizeProfiler","IconSizeSettings","TabLabelSettings","TabSizeSettings","icon","TabDisabled","Tab","TabCurrent","IconDisabled","ComponentsSettings","collapseNodesByDefaultSubscription","updateCollapseNodesByDefault","updateParseHookNames","openInEditorURL","setOpenInEditorURL","setComponentFilters","addFilter","prevComponentFilters","changeFilterType","componentFilter","updateFilterValueElementType","updateFilterValueRegExp","removeFilter","toggleFilterIsEnabled","componentFiltersRef","Settings","Setting","OpenInURLSetting","Table","TableRow","NoFiltersCell","TableCell","InvalidRegExp","Select","ToggleIcon","ToggleOnInvalid","ToggleOffInvalid","ToggleInsideOn","ToggleInsideOff","DebuggingSettings","getChangeLogUrl","versionAnchor","GeneralSettings","frontendVersion","showBackendVersion","RadioLabel","ReleaseNotes","VersionsList","Version","changelogLink","ReleaseNotesLink","ProfilerContext","ProfilerContextController","prevProfilingData","setPrevProfilingData","setRootID","selectedFiberID","selectFiberID","selectedFiberName","selectFiberName","selectFiber","setRootIDAndClearFiber","firstRootID","selectedElementRootID","isCommitFilterEnabled","setIsCommitFilterEnabled","minCommitDuration","setMinCommitDuration","selectedCommitIndex","selectCommitIndex","selectedTabID","ProfilerSettings","recordChangeDescriptionsSubscription","updateRecordChangeDescriptions","updateMinCommitDuration","updateIsCommitFilterEnabled","minCommitDurationInputRef","SettingsModal","SettingsModalImpl","view","Tabs","Spacer","Content","Components","wrapperElementRef","resizeElementRef","resizeReducer","initResizeState","horizontalPercentage","verticalPercentage","resizeElement","setResizeCSSVariable","LOCAL_STORAGE_KEY","isResizing","onResizeStart","onResizeEnd","wrapperElement","getOrientation","currentMousePosition","boundaryMin","MINIMUM_SIZE","boundaryMax","isMousePositionInBounds","resizedElementDimension","actionType","TreeWrapper","ResizeBarWrapper","ResizeBar","VERTICAL_MODE_MAX_WIDTH","TimelineContext","TimelineContextController","searchInputContainerRef","setFile","isTimelineSupported","inMemoryTimelineData","viewState","horizontalScrollStateChangeCallbacks","searchRegExpStateChangeCallbacks","horizontalScrollState","onHorizontalScrollStateChange","onSearchRegExpStateChange","searchRegExp","updateHorizontalScrollState","scrollState","updateSearchRegExpState","viewToMutableViewStateMap","ClearProfilingDataButton","doesHaveInMemoryData","doesHaveUserTimingData","NoCommitData","FilterMessage","barWidthThreshold","maxBarWidth","minBarWidth","minWidthToDisplay","ChartNode","color","isDimmed","onDoubleClick","textStyle","Group","opacity","ForeignObject","display","Div","CommitFlamegraphListItem","onElementMouseLeave","scaleX","selectedChartNode","selectedChartNodeIndex","nodeData","row","selectedNodeOffset","nodeOffset","nodeWidth","textColor","memo","hookIndicesToString","indices","numbers","WhatChanged","changeDescription","didHooksChange","isFirstMount","changes","HoveredFiberInfo","fiberData","commitIndices","getFiberCommits","renderDurationInfo","CurrentCommit","Toolbar","initialTooltipState","mouseX","mouseY","tooltipRef","updateTooltipPosition","mousePosition","getMousePosition","getTooltipPosition","tooltipClassName","Container","TOOLTIP_OFFSET","relativeContainer","mouseEvent","targetContainer","CommitFlamegraphAutoSizer","deselectCurrentFiber","CommitFlamegraph","hoveredFiberData","setHoveredFiberData","handleElementMouseLeave","tooltipLabel","PatternPath","CommitRankedListItem","selectedFiberIndex","CommitRankedAutoSizer","CommitRanked","getNodeIndex","RootSelector","RecordToggle","InactiveRecordToggle","DisabledRecordToggle","ActiveRecordToggle","NoProfilingData","Column","LearnMoreRow","LearnMoreLink","RecordingInProgress","DPR","devicePixelRatio","LABEL_SIZE","MARKER_HEIGHT","MARKER_TICK_HEIGHT","FONT_SIZE","MARKER_TEXT_PADDING","COLOR_HOVER_DIM_DELTA","TOP_ROW_PADDING","NATIVE_EVENT_HEIGHT","SUSPENSE_EVENT_HEIGHT","PENDING_SUSPENSE_EVENT_SIZE","REACT_EVENT_DIAMETER","USER_TIMING_MARK_SIZE","REACT_MEASURE_HEIGHT","BORDER_SIZE","FLAMECHART_FRAME_HEIGHT","TEXT_PADDING","SNAPSHOT_SCRUBBER_SIZE","INTERVAL_TIMES","MIN_INTERVAL_SIZE_PX","COLORS","BACKGROUND","INTERNAL_MODULE_FRAME","INTERNAL_MODULE_FRAME_HOVER","INTERNAL_MODULE_FRAME_TEXT","NATIVE_EVENT","NATIVE_EVENT_HOVER","NETWORK_PRIMARY","NETWORK_PRIMARY_HOVER","NETWORK_SECONDARY","NETWORK_SECONDARY_HOVER","PRIORITY_BACKGROUND","PRIORITY_BORDER","PRIORITY_LABEL","USER_TIMING","USER_TIMING_HOVER","REACT_IDLE","REACT_IDLE_HOVER","REACT_RENDER","REACT_RENDER_HOVER","REACT_RENDER_TEXT","REACT_COMMIT","REACT_COMMIT_HOVER","REACT_COMMIT_TEXT","REACT_LAYOUT_EFFECTS","REACT_LAYOUT_EFFECTS_HOVER","REACT_LAYOUT_EFFECTS_TEXT","REACT_PASSIVE_EFFECTS","REACT_PASSIVE_EFFECTS_HOVER","REACT_PASSIVE_EFFECTS_TEXT","REACT_RESIZE_BAR","REACT_RESIZE_BAR_ACTIVE","REACT_RESIZE_BAR_BORDER","REACT_RESIZE_BAR_DOT","REACT_SCHEDULE","REACT_SCHEDULE_HOVER","REACT_SUSPENSE_REJECTED_EVENT","REACT_SUSPENSE_REJECTED_EVENT_HOVER","REACT_SUSPENSE_RESOLVED_EVENT","REACT_SUSPENSE_RESOLVED_EVENT_HOVER","REACT_SUSPENSE_UNRESOLVED_EVENT","REACT_SUSPENSE_UNRESOLVED_EVENT_HOVER","REACT_THROWN_ERROR","REACT_THROWN_ERROR_HOVER","REACT_WORK_BORDER","SCROLL_CARET","SCRUBBER_BACKGROUND","SCRUBBER_BORDER","SEARCH_RESULT_FILL","TEXT_COLOR","TEXT_DIM_COLOR","TIME_MARKER_LABEL","WARNING_BACKGROUND","WARNING_BACKGROUND_HOVER","WARNING_TEXT","WARNING_TEXT_INVERED","updateColorsToMatchTheme","areInputsEqual","newInputs","lastInputs","memoized","zeroPoint","zeroSize","zeroRect","pointEqualToPoint","point1","point2","sizeEqualToSize","size1","size2","rectEqualToRect","rect1","rect2","sizeIsValid","sizeIsEmpty","rectToBox","boxToRect","box","rectIntersectsRect","top1","right1","bottom1","left1","top2","right2","bottom2","left2","intersectionOfRects","rectContainsPoint","unionOfRects","rects","firstRect","remainingRects","boxUnion","intermediateUnion","nextBox","unionTop","unionRight","unionBottom","unionLeft","nextTop","nextRight","nextBottom","nextLeft","configureRetinaCanvas","canvas","getCanvasContext","memoize","scaleCanvas","getContext","alpha","Surface","resetHoveredEvent","activeView","hoveredView","_resetHoveredEvent","hasActiveView","_viewRefs","setCanvas","canvasSize","_context","_canvasSize","rootView","setNeedsDisplay","displayIfNeeded","setFrame","setVisibleArea","getCurrentCursor","currentCursor","handleInteraction","interaction","viewRefs","handleInteractionAndPropagateToSubviews","viewToLayoutInfo","viewsToLayout","views","collapseLayoutIntoViews","noopLayout","layeredLayout","containerFrame","layoutInfo","verticallyStackedLayout","currentY","desiredSize","proposedFrame","alignToContainerXLayout","alignToContainerYLayout","containerWidthLayout","containerHeightLayout","desiredHeightLayout","uniformMaxSubviewHeightLayout","maxHeight","atLeastContainerHeightLayout","createComposedLayout","layouters","composedLayout","intermediateLayout","layouter","View","surface","visibleArea","backgroundColor","_backgroundColor","_layouter","_needsDisplay","superview","_setSubviewsNeedDisplay","subviews","subview","_subviewsNeedDisplay","newFrame","newVisibleArea","layoutSubviews","addSubview","removeSubview","subviewIndex","removeAllSubviews","region","Path2D","save","beginPath","draw","restore","existingLayout","newLayout","fillStyle","fillRect","didSubviewHandle","didSelfHandle","BackgroundColorView","clampOffset","containerLength","clampLength","minContentLength","maxContentLength","clampState","translateState","zoomState","fixedPoint","zoomedState","fixedPointFromContainer","scaledFixedPoint","offsetAdjustedState","moveStateToRange","rangeStart","rangeEnd","contentLength","lengthClampedState","areScrollStatesEqual","state1","state2","MOVE_WHEEL_DELTA_THRESHOLD","ZOOM_WHEEL_DELTA_THRESHOLD","MIN_ZOOM_LEVEL","MAX_ZOOM_LEVEL","DEFAULT_ZOOM_LEVEL","HorizontalPanAndZoomView","contentView","intrinsicContentWidth","_contentView","_intrinsicContentWidth","_viewState","zoomToRange","setScrollState","proposedState","clampedState","newState","_handleMouseDown","_handleMouseMove","_handleMouseUp","_handleWheel","_isPanning","movementX","movementY","absDeltaX","absDeltaY","CARET_MARGIN","CARET_WIDTH","CARET_HEIGHT","VerticalScrollView","_mutableViewStateKey","_onChangeCallback","_scrollState","_restoreMutableViewState","_setScrollState","above","below","horizontalCenter","halfWidth","topY","moveTo","lineTo","closePath","bottomY","minimumHeight","desiredHeight","_handleWheelShift","scrollBy","frameHeight","contentHeight","containerHeight","cachedTextWidths","getTextWidth","measuredWidth","measureText","trimText","longestValidIndex","longestValidText","trimmedText","drawText","fullRect","drawableRect","textAlign","textBaseline","font","trimmedName","textOverflowsViewableArea","textX","textY","fillText","RESIZE_BAR_DOT_RADIUS","RESIZE_BAR_DOT_SPACING","RESIZE_BAR_HEIGHT","RESIZE_BAR_WITH_LABEL_HEIGHT","ResizeBarView","_label","showLabel","isActive","_interactionState","verticalCenter","labelRect","arc","PI","_setInteractionState","cursorInView","HIDDEN_RECT","ResizableView","canvasRef","_canvasRef","_layoutState","barOffsetY","_subview","_resizeBar","subviewDesiredSize","_shouldRenderResizeBar","resizeBarDesiredSize","_updateLayoutState","_updateSubviewFrames","_updateLayoutStateAndResizeBar","maxInitialHeight","hideScrollBarIfLessThanHeight","_resizingState","maxBarOffset","proposedBarOffsetY","cursorOffsetInBarFrame","_handleClick","_handleDoubleClick","cursorLocation","resizeBarFrame","getCursorActiveSubView","LINE_HEIGHT","PAGE_HEIGHT","normalizeWheel","deltaMode","WheelEvent","DOM_DELTA_LINE","DOM_DELTA_PAGE","canvasBoundingRectCache","cacheFirstGetCanvasBoundingRect","useCanvasInteraction","interactor","isMouseDownRef","didMouseMoveWhileDownRef","localToCanvasCoordinates","localCoordinates","canvasRect","onCanvasClick","onCanvasDoubleClick","onCanvasMouseDown","onDocumentMouseMove","onDocumentMouseUp","onCanvasWheel","withVerticalScrollbarLayout","contentLayoutInfo","scrollbarLayoutInfo","desiredContentSize","shouldShowScrollbar","scrollbarWidth","laidOutContentLayoutInfo","laidOutScrollbarLayoutInfo","VerticalScrollOverflowView","maxScrollThumbY","_scrollBarView","getMaxScrollThumbY","_isProcessingOnChange","setScrollThumbY","_verticalScrollView","_onVerticalScrollViewChange","VerticalScrollBarView","contentSize","setContentHeight","setScrollOffset","newScrollOffset","maxScrollOffset","SCROLL_BAR_SIZE","verticalScrollOverflowView","_verticalScrollOverflowView","_scrollThumbRect","_contentHeight","proposedScrollThumbRect","newScrollThumbY","maxContentOffset","contentScrollOffset","currentScrollThumbY","_isScrolling","positioningScaleFactor","intrinsicWidth","timestampToPosition","scaleFactor","positionToTimestamp","durationToWidth","widthToDuration","formatTimestamp","ms","minimumFractionDigits","maximumFractionDigits","prettyMilliseconds","trimString","ROW_WITH_BORDER_HEIGHT","ComponentMeasuresView","profilerData","_profilerData","_cachedSearchMatches","_cachedSearchRegExp","_intrinsicSize","setHoveredEvent","hoveredEvent","_hoveredComponentMeasure","_drawSingleReactComponentMeasure","componentMeasure","showHoverHighlight","xStart","xStop","componentMeasureRect","textFillStyle","typeLabel","cachedSearchRegExp","cachedSearchMatches","cachedValue","didDrawMeasure","onHover","hoverTimestamp","isInternalModule","flamechartStackFrame","locationColumn","locationLine","scriptUrl","ranges","startStackFrame","stopStackFrame","isAfterStart","isBeforeStop","hslaColorToString","dimmedColor","dimDelta","hashCode","z","z2","zi","xi","indexToValueInSpace","ColorGenerator","hueSpace","satSpace","lightnessSpace","alphaSpace","_hueSpace","_satSpace","_lightnessSpace","_alphaSpace","_colors","setColorForID","colorForID","cachedColor","_generateColorForID","colorGenerator","defaultHslaColorForStackFrame","defaultColorForStackFrame","stackFrame","hoverColorForStackFrame","FlamechartStackLayerView","stackLayer","_stackLayer","_stackFrameSet","_internalModuleSourceToRanges","setHoveredFlamechartStackFrame","hoveredStackFrame","_hoveredStackFrame","stackFrameToSet","nodeRect","borderFrame","borderDrawableRect","_onHover","FlamechartView","setDataAndUpdateSubviews","_verticalStackView","_flamechartRowViews","rowView","setOnHover","intrinsicSize","NativeEventsView","_performPreflightComputations","_depthToNativeEvent","_maxDepth","_hoveredEvent","_drawSingleNativeEvent","baseY","eventRect","adjustedCanvasMouseY","nativeEventsAtDepth","HEIGHT","BASE_URL_REGEX","NetworkMeasuresView","_depthToNetworkMeasure","networkMeasure","_hoveredNetworkMeasure","_drawSingleNetworkMeasure","finishTimestamp","firstReceivedDataTimestamp","lastReceivedDataTimestamp","receiveResponseTimestamp","sendRequestTimestamp","timestampBegin","timestampEnd","timestampMiddle","xMiddle","outerRect","displayUrl","durationLabel","networkMeasuresAtDepth","REACT_LANE_HEIGHT","MAX_ROWS_TO_SHOW_INITIALLY","ReactMeasuresView","_lanesToRender","lane","measuresForLane","setHoveredMeasure","hoveredMeasure","_hoveredMeasure","_drawSingleReactMeasure","nextMeasure","showGroupHighlight","hoveredFillStyle","groupSelectedFillStyle","measureRect","textRect","batchUID","renderedLaneIndex","measures","EVENT_ROW_HEIGHT_FIXED","SchedulingEventsView","_drawSingleSchedulingEvent","radius","highlightedEvents","eventTimestampAllowance","SnapshotsView","snapshot","_findClosestSnapshot","scaledHeight","scaledWidth","imageRect","image","img","Image","onload","_drawSnapshotImage","src","imageSource","hoverLocation","_hoverLocation","scrubberWidth","scrubberOffset","_updateHover","shouldClip","clippedRect","drawImage","snapshotX","SuspenseEventsView","_depthToSuspenseEvent","_drawSingleSuspenseEvent","phase","promiseName","resolution","halfSize","suspenseRect","suspenseEventsAtDepth","suspenseEvent","timestampAllowance","ThrownErrorsView","_drawSingleThrownError","thrownError","HEADER_HEIGHT_FIXED","LABEL_FIXED_WIDTH","TimeAxisMarkersView","totalDuration","_totalDuration","_getTimeTickInterval","currentInterval","intervalWidth","clippedFrame","firstIntervalTimestamp","markerTimestamp","markerLabel","ROW_HEIGHT_FIXED","UserTimingMarksView","marks","_marks","setHoveredMark","hoveredMark","_hoveredMark","_drawSingleMark","markRect","unmemoizedGetBatchRange","minStartTime","lastMeasure","stopTime","getBatchRange","TOOLTIP_OFFSET_BOTTOM","TOOLTIP_OFFSET_TOP","useSmartTooltip","MAX_TOOLTIP_TEXT_LENGTH","getSchedulingEventLabel","getReactMeasureLabel","EventTooltip","schedulingEvent","userTimingMark","TooltipReactComponentMeasure","TooltipSection","Divider","DetailsGrid","DetailsGridLabel","TooltipWarningSection","WarningText","TooltipFlamechartNode","FlamechartStackFrameName","TooltipNativeEvent","NativeEventName","TooltipNetworkMeasure","priority","urlToDisplay","half","SingleLineTextSection","DimText","TooltipSchedulingEvent","laneLabels","lanes","ComponentName","TooltipSnapshot","aspectRatio","safeWidth","safeHeight","TooltipSuspenseEvent","DetailsGridLongValue","TooltipReactMeasure","ReactMeasureLabel","TooltipUserTimingMark","UserTimingLabel","TooltipThrownError","EMPTY_ARRAY","safeSearchText","prevSelectedMeasure","prevSelectedMeasureIndex","TimelineSearchContext","TimelineSearchContextController","CONTEXT_MENU_ID","CanvasPage","copySummary","batchDuration","zoomToBatch","EMPTY_CONTEXT_INFO","AutoSizedCanvas","isContextMenuShown","setIsContextMenuShown","mouseLocation","setMouseLocation","componentMeasureSearchResult","surfaceRef","userTimingMarksViewRef","nativeEventsViewRef","schedulingEventsViewRef","suspenseEventsViewRef","componentMeasuresViewRef","reactMeasuresViewRef","flamechartViewRef","networkMeasuresViewRef","snapshotsViewRef","thrownErrorsViewRef","hideContextMenu","defaultFrame","createViewHelper","shouldScrollVertically","shouldResizeVertically","verticalScrollView","horizontalPanAndZoomView","resizableView","axisMarkersView","axisMarkersViewWrapper","userTimingMarksViewWrapper","userTimingMarksView","nativeEventsViewWrapper","nativeEventsView","thrownErrorsViewWrapper","thrownErrorsView","schedulingEventsViewWrapper","schedulingEventsView","suspenseEventsViewWrapper","suspenseEventsView","reactMeasuresView","reactMeasuresViewWrapper","componentMeasuresViewWrapper","componentMeasuresView","snapshotsViewWrapper","snapshotsView","networkMeasuresViewWrapper","networkMeasuresView","flamechartViewWrapper","flamechartView","cursor","contextData","InvalidProfileError","NATIVE_EVENT_DURATION_THRESHOLD","NESTED_UPDATE_DURATION_THRESHOLD","WARNING_STRINGS","LONG_EVENT_HANDLER","NESTED_UPDATE","SUSPEND_DURING_UPDATE","getLanesFromTransportDecimalBitmask","laneBitmaskString","laneBitmask","powersOfTwo","updateLaneToLabelMap","laneLabelTuplesString","laneLabelTuples","laneIndex","profilerVersion","getLastType","getDepth","markWorkStarted","currentProfilerData","measureStack","markWorkCompleted","throwIfIncomplete","lastIndex","processEventDispatch","stackTrace","topFrame","dur","nativeEventStack","prevNativeEvent","prevStopTime","processResourceFinish","requestId","requestIdToNetworkMeasureMap","processResourceReceivedData","processResourceReceiveResponse","processScreenshot","encodedSnapshot","asyncProcessingPromises","createImageBitmap","processResourceSendRequest","availableDepths","requestMethod","processTimelineEvent","cat","ph","versionString","processReactComponentMeasure","forceUpdateEvent","potentialLongNestedUpdate","stateUpdateEvent","unresolvedSuspenseEvents","potentialSuspenseEventsOutsideOfTransition","nextRenderShouldGenerateNewBatchID","potentialLongNestedUpdates","potentialLongEvents","stackFrameStart","internalModuleStackStringSet","parsedStackFrameStart","parseStackFrame","internalModuleCurrentStackFrame","stackFrameStop","parsedStackFrameStop","assertNoOverlappingComponentMeasure","currentReactComponentMeasure","assertCurrentComponentMeasureType","preprocessFlamechart","rawData","parsedData","errorToRethrow","speedscopeFlamechart","SpeedscopeFlamechart","layer","preprocessData","timeline","indexOfProfileEvent","readInputData","endsWith","fileReader","FileReader","onerror","readAsText","importFile","readFile","processedData","workerizedImportFile","Worker","WorkerizedImportFile","importFileModule","fileNameToProfilerDataMap","importFileWorker","TimelineSearchInput","TimelineNotSupported","Paragraph","Code","MetaGKRow","Timeline","deferredTheme","useDeferredValue","pollForTheme","intervalID","ProcessingData","EmptyStateContainer","CouldNotLoadProfile","onFileSelect","ErrorMessage","NoTimelineData","FileLoader","dataOrError","ReloadAndProfileButton","reloadAndProfile","ProfilingImportExportButtons","downloadRef","downloadData","anchorElement","date","dateString","toLocaleDateString","year","month","day","timeString","toLocaleTimeString","hour12","clickInputElement","files","SnapshotCommitListItem","filteredCommitIndices","maxDuration","setHoveredCommitIndex","startCommitDrag","totalDurations","heightScale","cbrt","colorScale","buttons","sizeIncrement","Outer","borderBottom","InnerSelected","Inner","SnapshotCommitList","commitTimes","selectedFilteredCommitIndex","listRef","prevCommitIndexRef","maxCommitIndex","dragState","setDragState","handleDragCommit","newCommitIndex","newCommitLeft","newCommitRectRight","hoveredCommitIndex","TooltipList","TooltipListItem","TooltipLabel","TooltipValue","DurationsWrapper","DurationsList","DurationsListItem","DurationsLabel","DurationsValue","SnapshotSelector","numFilteredCommits","handleCommitInputChange","filteredIndex","viewPrevCommit","viewNextCommit","nextCommitIndex","Commits","flex","NoCommits","Updaters","isVisibleInTree","Updater","UnmountedUpdater","NoUpdaters","SidebarCommitInfo","NothingSelected","hasCommitPhaseDurations","ListItem","ProfilingNotSupported","SidebarSelectedFiberInfo","selectedListItemRef","prevIndex","nextIndex","block","inline","listItems","Commit","timelineTraceEventData","isLegacyProfilerSelected","sidebar","LeftColumn","tabsWithTimeline","TimelineSearchInputContainer","RightColumn","OnlyTimelineData","ReactLogo","DEVTOOLS_VERSION","INSTRUCTIONS_FB_URL","MODAL_DIALOG_ID","UnsupportedBridgeProtocolDialog","updateDialog","DialogContent","unsupportedBridgeProtocol","instructions","upgradeInstructions","NpmCommand","downgradeInstructions","UnsupportedVersionDialog","showDialog","WarnIfLegacyBackendDetected","unlisten","InvalidBackendDetected","Command","componentsTab","profilerTab","DevTools","defaultTab","enabledInspectedElementContextMenu","hookNamesModuleLoaderFunction","overrideTab","showTabBar","warnIfLegacyBackendDetected","warnIfUnsupportedVersionDetected","setTab","tabId","viewElementSource","contextMenu","devToolsRef","DevToolsVersion","TabContent","createStore","createBridge","contentWindow","onMessage","transferable","initialize","frontendBridge","onGetSavedPreferences"],"mappings":";;QAAA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;;QAEA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;;;QAGA;QACA;;QAEA;QACA;;QAEA;QACA;QACA;QACA,0CAA0C,gCAAgC;QAC1E;QACA;;QAEA;QACA;QACA;QACA,wDAAwD,kBAAkB;QAC1E;QACA,iDAAiD,cAAc;QAC/D;;QAEA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA;QACA,yCAAyC,iCAAiC;QAC1E,gHAAgH,mBAAmB,EAAE;QACrI;QACA;;QAEA;QACA;QACA;QACA,2BAA2B,0BAA0B,EAAE;QACvD,iCAAiC,eAAe;QAChD;QACA;QACA;;QAEA;QACA,sDAAsD,+DAA+D;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tH,IAAI,CAACM,SAAL,CAAe6G,SAAf,CAAD,CAAnB,CAAT,CAAjB;AACA,MAAIhE,IAAI,GAAG,iEAAiEiE,MAA5E;AAEA,SAAO,SAASjE,IAAT,GAAgB,KAAvB;AACA,C;;;;;;AC3ED;AACA;AACA;AACA;;AAEA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA,8CAA8C;AAC9C;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA,KAAK;AACL;AACA;AACA;AACA;AACA;AACA;AACA;AACA,CAAC;;AAED;AACA;AACA;;AAEA,cAAc,mBAAO,CAAC,GAAQ;;AAE9B;AACA;AACA;AACA;;AAEA;;AAEA;;AAEA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;;AAEA;;AAEA;AACA;;AAEA,iBAAiB,mBAAmB;AACpC;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;;AAEA,iBAAiB,sBAAsB;AACvC;;AAEA;AACA,mBAAmB,2BAA2B;;AAE9C;AACA;AACA;AACA;AACA;;AAEA;AACA,gBAAgB,mBAAmB;AACnC;AACA;;AAEA;AACA;;AAEA,iBAAiB,2BAA2B;AAC5C;AACA;;AAEA,QAAQ,uBAAuB;AAC/B;AACA;AACA,GAAG;AACH;;AAEA,iBAAiB,uBAAuB;AACxC;AACA;;AAEA,2BAA2B;AAC3B;AACA;AACA;;AAEA;AACA;AACA;;AAEA,gBAAgB,iBAAiB;AACjC;AACA;AACA;AACA;AACA;AACA,cAAc;;AAEd,kDAAkD,sBAAsB;AACxE;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA,GAAG;AACH;AACA,GAAG;AACH;AACA;AACA;AACA,EAAE;AACF;AACA,EAAE;AACF;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA;AACA,EAAE;AACF;;AAEA;AACA,KAAK,KAAwC,EAAE,EAE7C;;AAEF,QAAQ,sBAAiB;AACzB;;AAEA;AACA;;AAEA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA,MAAM;AACN;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;;AAEA;;AAEA;AACA;;AAEA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA;AACA;AACA;AACA;;AAEA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;;AAEA;AACA;;AAEA;AACA;AACA,CAAC;;AAED;AACA;;AAEA;AACA;AACA,EAAE;AACF;AACA;;AAEA;;AAEA;AACA;AACA,GAAG;AACH;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,EAAE;AACF;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA;AACA;AACA;AACA;AACA;;AAEA;AACA;AACA;;AAEA;AACA;AACA,uDAAuD;AACvD;;AAEA,6BAA6B,mBAAmB;;AAEhD;;AAEA;;AAEA;AACA;;;;;;;;AC9YA,cAAc,mBAAO,CAAC,GAA0E;;AAEhG,4CAA4C,QAAS;;AAErD;AACA;;;;AAIA,eAAe;;AAEf;AACA;;AAEA,aAAa,mBAAO,CAAC,CAAsD;;AAE3E;;AAEA,GAAG,KAAU,EAAE,E;;;;;;;AClBf,cA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AEEnpB;AAFF,IAMK,EARA,EASkC;AACvC,MAAImpB,MAAM,IAAI,IAAd,EAAoB;AAClBA,UAAM,GAAGsxF,YAAY,CAACC,aAAD,CAArB;AACD,GAHsC,CAKvC;;;AACA,QAAMI,cAAc,GAAK3xF,MAAzB;;AAEA,MAAInpB,KAAK,IAAI,IAAb,EAAmB;AACjBA,SAAK,GAAGw6G,WAAW,CAACM,cAAD,CAAnB;AACD;;AAED,QAAMC,qBAAqB,GAAG,MAAM;AAClC;AACA;AACAD,kBAAc,CAAC/rI,cAAf,CAA8B,qBAA9B,EAAqDgsI,qBAArD;AAEA,UAAMx6I,IAAI,GAAG;AACXguE,0BAAoB,EAAE5wE,gDAAuB,EADlC;AAEX6wE,0BAAoB,EAAE3wE,gDAAuB,EAFlC;AAGXL,sBAAgB,EAAEP,iDAAwB,EAH/B;AAIX2xE,iCAA2B,EAAE3wE,uDAA8B,EAJhD;AAKX0wE,iCAA2B,EAAE5wE,uDAA8B;AALhD,KAAb,CALkC,CAalC;AACA;AACA;;AACA+8I,kBAAc,CAAC3tI,IAAf,CAAoB,kBAApB,EAAwC5M,IAAxC;AACD,GAjBD;;AAmBAu6I,gBAAc,CAACltI,WAAf,CAA2B,qBAA3B,EAAkDmtI,qBAAlD;AAEA,QAAMv5I,UAAU,gBAAGk1E,qCAAU,CAAe,CAAChnE,KAAD,EAAQ2J,GAAR,kBAC1C,iCAAC,iBAAD;AAAU,OAAG,EAAEA,GAAf;AAAoB,UAAM,EAAEyhI,cAA5B;AAA4C,SAAK,EAAE96G;AAAnD,KAA8DtwB,KAA9D,EAD2B,CAA7B;AAGAlO,YAAU,CAAC3H,WAAX,GAAyB,UAAzB;AAEA,SAAO2H,UAAP;AACD,C","file":"frontend.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 204);\n","module.exports = require(\"react\");","/**\n * Copyright (c) Facebook, Inc. and its 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 * @flow\n */\n\nexport const CHROME_WEBSTORE_EXTENSION_ID = 'fmkadmapgofadopljbjfkapdkoienihi';\nexport const INTERNAL_EXTENSION_ID = 'dnjnjgbfilfphmojnmhliehogmojhclc';\nexport const LOCAL_EXTENSION_ID = 'ikiahnapldjmdmpkmfhjdjilojjhgcbf';\n\n// Flip this flag to true to enable verbose console debug logging.\nexport const __DEBUG__ = false;\n\n// Flip this flag to true to enable performance.mark() and performance.measure() timings.\nexport const __PERFORMANCE_PROFILE__ = false;\n\nexport const TREE_OPERATION_ADD = 1;\nexport const TREE_OPERATION_REMOVE = 2;\nexport const TREE_OPERATION_REORDER_CHILDREN = 3;\nexport const TREE_OPERATION_UPDATE_TREE_BASE_DURATION = 4;\nexport const TREE_OPERATION_UPDATE_ERRORS_OR_WARNINGS = 5;\nexport const TREE_OPERATION_REMOVE_ROOT = 6;\nexport const TREE_OPERATION_SET_SUBTREE_MODE = 7;\n\nexport const PROFILING_FLAG_BASIC_SUPPORT = 0b01;\nexport const PROFILING_FLAG_TIMELINE_SUPPORT = 0b10;\n\nexport const LOCAL_STORAGE_DEFAULT_TAB_KEY = 'React::DevTools::defaultTab';\n\nexport const LOCAL_STORAGE_FILTER_PREFERENCES_KEY =\n 'React::DevTools::componentFilters';\n\nexport const SESSION_STORAGE_LAST_SELECTION_KEY =\n 'React::DevTools::lastSelection';\n\nexport const LOCAL_STORAGE_OPEN_IN_EDITOR_URL =\n 'React::DevTools::openInEditorUrl';\n\nexport const LOCAL_STORAGE_PARSE_HOOK_NAMES_KEY =\n 'React::DevTools::parseHookNames';\n\nexport const SESSION_STORAGE_RECORD_CHANGE_DESCRIPTIONS_KEY =\n 'React::DevTools::recordChangeDescriptions';\n\nexport const SESSION_STORAGE_RELOAD_AND_PROFILE_KEY =\n 'React::DevTools::reloadAndProfile';\n\nexport const LOCAL_STORAGE_SHOULD_BREAK_ON_CONSOLE_ERRORS =\n 'React::DevTools::breakOnConsoleErrors';\n\nexport const LOCAL_STORAGE_SHOULD_PATCH_CONSOLE_KEY =\n 'React::DevTools::appendComponentStack';\n\nexport const LOCAL_STORAGE_SHOW_INLINE_WARNINGS_AND_ERRORS_KEY =\n 'React::DevTools::showInlineWarningsAndErrors';\n\nexport const LOCAL_STORAGE_TRACE_UPDATES_ENABLED_KEY =\n 'React::DevTools::traceUpdatesEnabled';\n\nexport const LOCAL_STORAGE_HIDE_CONSOLE_LOGS_IN_STRICT_MODE =\n 'React::DevTools::hideConsoleLogsInStrictMode';\n\nexport const PROFILER_EXPORT_VERSION = 5;\n\nexport const CHANGE_LOG_URL =\n 'https://github.com/facebook/react/blob/main/packages/react-devtools/CHANGELOG.md';\n\nexport const UNSUPPORTED_VERSION_URL =\n 'https://reactjs.org/blog/2019/08/15/new-react-devtools.html#how-do-i-get-the-old-version-back';\n\nexport const REACT_DEVTOOLS_WORKPLACE_URL =\n 'https://fburl.com/react-devtools-workplace-group';\n\nimport type {\n Theme,\n DisplayDensity,\n} from './devtools/views/Settings/SettingsContext';\n\nexport const THEME_STYLES: {[style: Theme | DisplayDensity]: any} = {\n light: {\n '--color-attribute-name': '#ef6632',\n '--color-attribute-name-not-editable': '#23272f',\n '--color-attribute-name-inverted': 'rgba(255, 255, 255, 0.7)',\n '--color-attribute-value': '#1a1aa6',\n '--color-attribute-value-inverted': '#ffffff',\n '--color-attribute-editable-value': '#1a1aa6',\n '--color-background': '#ffffff',\n '--color-background-hover': 'rgba(0, 136, 250, 0.1)',\n '--color-background-inactive': '#e5e5e5',\n '--color-background-invalid': '#fff0f0',\n '--color-background-selected': '#0088fa',\n '--color-button-background': '#ffffff',\n '--color-button-background-focus': '#ededed',\n '--color-button': '#5f6673',\n '--color-button-disabled': '#cfd1d5',\n '--color-button-active': '#0088fa',\n '--color-button-focus': '#23272f',\n '--color-button-hover': '#23272f',\n '--color-border': '#eeeeee',\n '--color-commit-did-not-render-fill': '#cfd1d5',\n '--color-commit-did-not-render-fill-text': '#000000',\n '--color-commit-did-not-render-pattern': '#cfd1d5',\n '--color-commit-did-not-render-pattern-text': '#333333',\n '--color-commit-gradient-0': '#37afa9',\n '--color-commit-gradient-1': '#63b19e',\n '--color-commit-gradient-2': '#80b393',\n '--color-commit-gradient-3': '#97b488',\n '--color-commit-gradient-4': '#abb67d',\n '--color-commit-gradient-5': '#beb771',\n '--color-commit-gradient-6': '#cfb965',\n '--color-commit-gradient-7': '#dfba57',\n '--color-commit-gradient-8': '#efbb49',\n '--color-commit-gradient-9': '#febc38',\n '--color-commit-gradient-text': '#000000',\n '--color-component-name': '#6a51b2',\n '--color-component-name-inverted': '#ffffff',\n '--color-component-badge-background': 'rgba(0, 0, 0, 0.1)',\n '--color-component-badge-background-inverted': 'rgba(255, 255, 255, 0.25)',\n '--color-component-badge-count': '#777d88',\n '--color-component-badge-count-inverted': 'rgba(255, 255, 255, 0.7)',\n '--color-console-error-badge-text': '#ffffff',\n '--color-console-error-background': '#fff0f0',\n '--color-console-error-border': '#ffd6d6',\n '--color-console-error-icon': '#eb3941',\n '--color-console-error-text': '#fe2e31',\n '--color-console-warning-badge-text': '#000000',\n '--color-console-warning-background': '#fffbe5',\n '--color-console-warning-border': '#fff5c1',\n '--color-console-warning-icon': '#f4bd00',\n '--color-console-warning-text': '#64460c',\n '--color-context-background': 'rgba(0,0,0,.9)',\n '--color-context-background-hover': 'rgba(255, 255, 255, 0.1)',\n '--color-context-background-selected': '#178fb9',\n '--color-context-border': '#3d424a',\n '--color-context-text': '#ffffff',\n '--color-context-text-selected': '#ffffff',\n '--color-dim': '#777d88',\n '--color-dimmer': '#cfd1d5',\n '--color-dimmest': '#eff0f1',\n '--color-error-background': 'hsl(0, 100%, 97%)',\n '--color-error-border': 'hsl(0, 100%, 92%)',\n '--color-error-text': '#ff0000',\n '--color-expand-collapse-toggle': '#777d88',\n '--color-link': '#0000ff',\n '--color-modal-background': 'rgba(255, 255, 255, 0.75)',\n '--color-bridge-version-npm-background': '#eff0f1',\n '--color-bridge-version-npm-text': '#000000',\n '--color-bridge-version-number': '#0088fa',\n '--color-primitive-hook-badge-background': '#e5e5e5',\n '--color-primitive-hook-badge-text': '#5f6673',\n '--color-record-active': '#fc3a4b',\n '--color-record-hover': '#3578e5',\n '--color-record-inactive': '#0088fa',\n '--color-resize-bar': '#eeeeee',\n '--color-resize-bar-active': '#dcdcdc',\n '--color-resize-bar-border': '#d1d1d1',\n '--color-resize-bar-dot': '#333333',\n '--color-timeline-internal-module': '#d1d1d1',\n '--color-timeline-internal-module-hover': '#c9c9c9',\n '--color-timeline-internal-module-text': '#444',\n '--color-timeline-native-event': '#ccc',\n '--color-timeline-native-event-hover': '#aaa',\n '--color-timeline-network-primary': '#fcf3dc',\n '--color-timeline-network-primary-hover': '#f0e7d1',\n '--color-timeline-network-secondary': '#efc457',\n '--color-timeline-network-secondary-hover': '#e3ba52',\n '--color-timeline-priority-background': '#f6f6f6',\n '--color-timeline-priority-border': '#eeeeee',\n '--color-timeline-user-timing': '#c9cacd',\n '--color-timeline-user-timing-hover': '#93959a',\n '--color-timeline-react-idle': '#d3e5f6',\n '--color-timeline-react-idle-hover': '#c3d9ef',\n '--color-timeline-react-render': '#9fc3f3',\n '--color-timeline-react-render-hover': '#83afe9',\n '--color-timeline-react-render-text': '#11365e',\n '--color-timeline-react-commit': '#c88ff0',\n '--color-timeline-react-commit-hover': '#b281d6',\n '--color-timeline-react-commit-text': '#3e2c4a',\n '--color-timeline-react-layout-effects': '#b281d6',\n '--color-timeline-react-layout-effects-hover': '#9d71bd',\n '--color-timeline-react-layout-effects-text': '#3e2c4a',\n '--color-timeline-react-passive-effects': '#b281d6',\n '--color-timeline-react-passive-effects-hover': '#9d71bd',\n '--color-timeline-react-passive-effects-text': '#3e2c4a',\n '--color-timeline-react-schedule': '#9fc3f3',\n '--color-timeline-react-schedule-hover': '#2683E2',\n '--color-timeline-react-suspense-rejected': '#f1cc14',\n '--color-timeline-react-suspense-rejected-hover': '#ffdf37',\n '--color-timeline-react-suspense-resolved': '#a6e59f',\n '--color-timeline-react-suspense-resolved-hover': '#89d281',\n '--color-timeline-react-suspense-unresolved': '#c9cacd',\n '--color-timeline-react-suspense-unresolved-hover': '#93959a',\n '--color-timeline-thrown-error': '#ee1638',\n '--color-timeline-thrown-error-hover': '#da1030',\n '--color-timeline-text-color': '#000000',\n '--color-timeline-text-dim-color': '#ccc',\n '--color-timeline-react-work-border': '#eeeeee',\n '--color-search-match': 'yellow',\n '--color-search-match-current': '#f7923b',\n '--color-selected-tree-highlight-active': 'rgba(0, 136, 250, 0.1)',\n '--color-selected-tree-highlight-inactive': 'rgba(0, 0, 0, 0.05)',\n '--color-scroll-caret': 'rgba(150, 150, 150, 0.5)',\n '--color-tab-selected-border': '#0088fa',\n '--color-text': '#000000',\n '--color-text-invalid': '#ff0000',\n '--color-text-selected': '#ffffff',\n '--color-toggle-background-invalid': '#fc3a4b',\n '--color-toggle-background-on': '#0088fa',\n '--color-toggle-background-off': '#cfd1d5',\n '--color-toggle-text': '#ffffff',\n '--color-warning-background': '#fb3655',\n '--color-warning-background-hover': '#f82042',\n '--color-warning-text-color': '#ffffff',\n '--color-warning-text-color-inverted': '#fd4d69',\n\n // The styles below should be kept in sync with 'root.css'\n // They are repeated there because they're used by e.g. tooltips or context menus\n // which get rendered outside of the DOM subtree (where normal theme/styles are written).\n '--color-scroll-thumb': '#c2c2c2',\n '--color-scroll-track': '#fafafa',\n '--color-tooltip-background': 'rgba(0, 0, 0, 0.9)',\n '--color-tooltip-text': '#ffffff',\n },\n dark: {\n '--color-attribute-name': '#9d87d2',\n '--color-attribute-name-not-editable': '#ededed',\n '--color-attribute-name-inverted': '#282828',\n '--color-attribute-value': '#cedae0',\n '--color-attribute-value-inverted': '#ffffff',\n '--color-attribute-editable-value': 'yellow',\n '--color-background': '#282c34',\n '--color-background-hover': 'rgba(255, 255, 255, 0.1)',\n '--color-background-inactive': '#3d424a',\n '--color-background-invalid': '#5c0000',\n '--color-background-selected': '#178fb9',\n '--color-button-background': '#282c34',\n '--color-button-background-focus': '#3d424a',\n '--color-button': '#afb3b9',\n '--color-button-active': '#61dafb',\n '--color-button-disabled': '#4f5766',\n '--color-button-focus': '#a2e9fc',\n '--color-button-hover': '#ededed',\n '--color-border': '#3d424a',\n '--color-commit-did-not-render-fill': '#777d88',\n '--color-commit-did-not-render-fill-text': '#000000',\n '--color-commit-did-not-render-pattern': '#666c77',\n '--color-commit-did-not-render-pattern-text': '#ffffff',\n '--color-commit-gradient-0': '#37afa9',\n '--color-commit-gradient-1': '#63b19e',\n '--color-commit-gradient-2': '#80b393',\n '--color-commit-gradient-3': '#97b488',\n '--color-commit-gradient-4': '#abb67d',\n '--color-commit-gradient-5': '#beb771',\n '--color-commit-gradient-6': '#cfb965',\n '--color-commit-gradient-7': '#dfba57',\n '--color-commit-gradient-8': '#efbb49',\n '--color-commit-gradient-9': '#febc38',\n '--color-commit-gradient-text': '#000000',\n '--color-component-name': '#61dafb',\n '--color-component-name-inverted': '#282828',\n '--color-component-badge-background': 'rgba(255, 255, 255, 0.25)',\n '--color-component-badge-background-inverted': 'rgba(0, 0, 0, 0.25)',\n '--color-component-badge-count': '#8f949d',\n '--color-component-badge-count-inverted': 'rgba(255, 255, 255, 0.7)',\n '--color-console-error-badge-text': '#000000',\n '--color-console-error-background': '#290000',\n '--color-console-error-border': '#5c0000',\n '--color-console-error-icon': '#eb3941',\n '--color-console-error-text': '#fc7f7f',\n '--color-console-warning-badge-text': '#000000',\n '--color-console-warning-background': '#332b00',\n '--color-console-warning-border': '#665500',\n '--color-console-warning-icon': '#f4bd00',\n '--color-console-warning-text': '#f5f2ed',\n '--color-context-background': 'rgba(255,255,255,.95)',\n '--color-context-background-hover': 'rgba(0, 136, 250, 0.1)',\n '--color-context-background-selected': '#0088fa',\n '--color-context-border': '#eeeeee',\n '--color-context-text': '#000000',\n '--color-context-text-selected': '#ffffff',\n '--color-dim': '#8f949d',\n '--color-dimmer': '#777d88',\n '--color-dimmest': '#4f5766',\n '--color-error-background': '#200',\n '--color-error-border': '#900',\n '--color-error-text': '#f55',\n '--color-expand-collapse-toggle': '#8f949d',\n '--color-link': '#61dafb',\n '--color-modal-background': 'rgba(0, 0, 0, 0.75)',\n '--color-bridge-version-npm-background': 'rgba(0, 0, 0, 0.25)',\n '--color-bridge-version-npm-text': '#ffffff',\n '--color-bridge-version-number': 'yellow',\n '--color-primitive-hook-badge-background': 'rgba(0, 0, 0, 0.25)',\n '--color-primitive-hook-badge-text': 'rgba(255, 255, 255, 0.7)',\n '--color-record-active': '#fc3a4b',\n '--color-record-hover': '#a2e9fc',\n '--color-record-inactive': '#61dafb',\n '--color-resize-bar': '#282c34',\n '--color-resize-bar-active': '#31363f',\n '--color-resize-bar-border': '#3d424a',\n '--color-resize-bar-dot': '#cfd1d5',\n '--color-timeline-internal-module': '#303542',\n '--color-timeline-internal-module-hover': '#363b4a',\n '--color-timeline-internal-module-text': '#7f8899',\n '--color-timeline-native-event': '#b2b2b2',\n '--color-timeline-native-event-hover': '#949494',\n '--color-timeline-network-primary': '#fcf3dc',\n '--color-timeline-network-primary-hover': '#e3dbc5',\n '--color-timeline-network-secondary': '#efc457',\n '--color-timeline-network-secondary-hover': '#d6af4d',\n '--color-timeline-priority-background': '#1d2129',\n '--color-timeline-priority-border': '#282c34',\n '--color-timeline-user-timing': '#c9cacd',\n '--color-timeline-user-timing-hover': '#93959a',\n '--color-timeline-react-idle': '#3d485b',\n '--color-timeline-react-idle-hover': '#465269',\n '--color-timeline-react-render': '#2683E2',\n '--color-timeline-react-render-hover': '#1a76d4',\n '--color-timeline-react-render-text': '#11365e',\n '--color-timeline-react-commit': '#731fad',\n '--color-timeline-react-commit-hover': '#611b94',\n '--color-timeline-react-commit-text': '#e5c1ff',\n '--color-timeline-react-layout-effects': '#611b94',\n '--color-timeline-react-layout-effects-hover': '#51167a',\n '--color-timeline-react-layout-effects-text': '#e5c1ff',\n '--color-timeline-react-passive-effects': '#611b94',\n '--color-timeline-react-passive-effects-hover': '#51167a',\n '--color-timeline-react-passive-effects-text': '#e5c1ff',\n '--color-timeline-react-schedule': '#2683E2',\n '--color-timeline-react-schedule-hover': '#1a76d4',\n '--color-timeline-react-suspense-rejected': '#f1cc14',\n '--color-timeline-react-suspense-rejected-hover': '#e4c00f',\n '--color-timeline-react-suspense-resolved': '#a6e59f',\n '--color-timeline-react-suspense-resolved-hover': '#89d281',\n '--color-timeline-react-suspense-unresolved': '#c9cacd',\n '--color-timeline-react-suspense-unresolved-hover': '#93959a',\n '--color-timeline-thrown-error': '#fb3655',\n '--color-timeline-thrown-error-hover': '#f82042',\n '--color-timeline-text-color': '#282c34',\n '--color-timeline-text-dim-color': '#555b66',\n '--color-timeline-react-work-border': '#3d424a',\n '--color-search-match': 'yellow',\n '--color-search-match-current': '#f7923b',\n '--color-selected-tree-highlight-active': 'rgba(23, 143, 185, 0.15)',\n '--color-selected-tree-highlight-inactive': 'rgba(255, 255, 255, 0.05)',\n '--color-scroll-caret': '#4f5766',\n '--color-shadow': 'rgba(0, 0, 0, 0.5)',\n '--color-tab-selected-border': '#178fb9',\n '--color-text': '#ffffff',\n '--color-text-invalid': '#ff8080',\n '--color-text-selected': '#ffffff',\n '--color-toggle-background-invalid': '#fc3a4b',\n '--color-toggle-background-on': '#178fb9',\n '--color-toggle-background-off': '#777d88',\n '--color-toggle-text': '#ffffff',\n '--color-warning-background': '#ee1638',\n '--color-warning-background-hover': '#da1030',\n '--color-warning-text-color': '#ffffff',\n '--color-warning-text-color-inverted': '#ee1638',\n\n // The styles below should be kept in sync with 'root.css'\n // They are repeated there because they're used by e.g. tooltips or context menus\n // which get rendered outside of the DOM subtree (where normal theme/styles are written).\n '--color-scroll-thumb': '#afb3b9',\n '--color-scroll-track': '#313640',\n '--color-tooltip-background': 'rgba(255, 255, 255, 0.95)',\n '--color-tooltip-text': '#000000',\n },\n compact: {\n '--font-size-monospace-small': '9px',\n '--font-size-monospace-normal': '11px',\n '--font-size-monospace-large': '15px',\n '--font-size-sans-small': '10px',\n '--font-size-sans-normal': '12px',\n '--font-size-sans-large': '14px',\n '--line-height-data': '18px',\n },\n comfortable: {\n '--font-size-monospace-small': '10px',\n '--font-size-monospace-normal': '13px',\n '--font-size-monospace-large': '17px',\n '--font-size-sans-small': '12px',\n '--font-size-sans-normal': '14px',\n '--font-size-sans-large': '16px',\n '--line-height-data': '22px',\n },\n};\n\n// HACK\n//\n// Sometimes the inline target is rendered before root styles are applied,\n// which would result in e.g. NaN itemSize being passed to react-window list.\nconst COMFORTABLE_LINE_HEIGHT = parseInt(\n THEME_STYLES.comfortable['--line-height-data'],\n 10,\n);\nconst COMPACT_LINE_HEIGHT = parseInt(\n THEME_STYLES.compact['--line-height-data'],\n 10,\n);\n\nexport {COMFORTABLE_LINE_HEIGHT, COMPACT_LINE_HEIGHT};\n","/**\n * Copyright (c) Facebook, Inc. and its 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 * @flow\n */\n\nexport type Wall = {|\n // `listen` returns the \"unlisten\" function.\n listen: (fn: Function) => Function,\n send: (event: string, payload: any, transferable?: Array) => void,\n|};\n\n// WARNING\n// The values below are referenced by ComponentFilters (which are saved via localStorage).\n// Do not change them or it will break previously saved user customizations.\n// If new element types are added, use new numbers rather than re-ordering existing ones.\n//\n// Changing these types is also a backwards breaking change for the standalone shell,\n// since the frontend and backend must share the same values-\n// and the backend is embedded in certain environments (like React Native).\nexport const ElementTypeClass = 1;\nexport const ElementTypeContext = 2;\nexport const ElementTypeFunction = 5;\nexport const ElementTypeForwardRef = 6;\nexport const ElementTypeHostComponent = 7;\nexport const ElementTypeMemo = 8;\nexport const ElementTypeOtherOrUnknown = 9;\nexport const ElementTypeProfiler = 10;\nexport const ElementTypeRoot = 11;\nexport const ElementTypeSuspense = 12;\nexport const ElementTypeSuspenseList = 13;\nexport const ElementTypeTracingMarker = 14;\n\n// Different types of elements displayed in the Elements tree.\n// These types may be used to visually distinguish types,\n// or to enable/disable certain functionality.\nexport type ElementType = 1 | 2 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14;\n\n// WARNING\n// The values below are referenced by ComponentFilters (which are saved via localStorage).\n// Do not change them or it will break previously saved user customizations.\n// If new filter types are added, use new numbers rather than re-ordering existing ones.\nexport const ComponentFilterElementType = 1;\nexport const ComponentFilterDisplayName = 2;\nexport const ComponentFilterLocation = 3;\nexport const ComponentFilterHOC = 4;\n\nexport type ComponentFilterType = 1 | 2 | 3 | 4;\n\n// Hide all elements of types in this Set.\n// We hide host components only by default.\nexport type ElementTypeComponentFilter = {|\n isEnabled: boolean,\n type: 1,\n value: ElementType,\n|};\n\n// Hide all elements with displayNames or paths matching one or more of the RegExps in this Set.\n// Path filters are only used when elements include debug source location.\nexport type RegExpComponentFilter = {|\n isEnabled: boolean,\n isValid: boolean,\n type: 2 | 3,\n value: string,\n|};\n\nexport type BooleanComponentFilter = {|\n isEnabled: boolean,\n isValid: boolean,\n type: 4,\n|};\n\nexport type ComponentFilter =\n | BooleanComponentFilter\n | ElementTypeComponentFilter\n | RegExpComponentFilter;\n\nexport type HookName = string | null;\n// Map of hook source (\"::\") to name.\n// Hook source is used instead of the hook itself because the latter is not stable between element inspections.\n// We use a Map rather than an Array because of nested hooks and traversal ordering.\nexport type HookSourceLocationKey = string;\nexport type HookNames = Map;\n\nexport type LRUCache = {|\n del: (key: K) => void,\n get: (key: K) => V,\n has: (key: K) => boolean,\n reset: () => void,\n set: (key: K, value: V) => void,\n|};\n\nexport type StyleXPlugin = {|\n sources: Array,\n resolvedStyles: Object,\n|};\n\nexport type Plugins = {|\n stylex: StyleXPlugin | null,\n|};\n\nexport const StrictMode = 1;\n","/**\n * Copyright (c) Facebook, Inc. and its 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 * @flow\n */\n\n// ATTENTION\n// When adding new symbols to this file,\n// Please consider also adding to 'react-devtools-shared/src/backend/ReactSymbols'\n\n// The Symbol used to tag the ReactElement-like types.\nexport const REACT_ELEMENT_TYPE = Symbol.for('react.element');\nexport const REACT_PORTAL_TYPE = Symbol.for('react.portal');\nexport const REACT_FRAGMENT_TYPE = Symbol.for('react.fragment');\nexport const REACT_STRICT_MODE_TYPE = Symbol.for('react.strict_mode');\nexport const REACT_PROFILER_TYPE = Symbol.for('react.profiler');\nexport const REACT_PROVIDER_TYPE = Symbol.for('react.provider');\nexport const REACT_CONTEXT_TYPE = Symbol.for('react.context');\nexport const REACT_SERVER_CONTEXT_TYPE = Symbol.for('react.server_context');\nexport const REACT_FORWARD_REF_TYPE = Symbol.for('react.forward_ref');\nexport const REACT_SUSPENSE_TYPE = Symbol.for('react.suspense');\nexport const REACT_SUSPENSE_LIST_TYPE = Symbol.for('react.suspense_list');\nexport const REACT_MEMO_TYPE = Symbol.for('react.memo');\nexport const REACT_LAZY_TYPE = Symbol.for('react.lazy');\nexport const REACT_SCOPE_TYPE = Symbol.for('react.scope');\nexport const REACT_DEBUG_TRACING_MODE_TYPE = Symbol.for(\n 'react.debug_trace_mode',\n);\nexport const REACT_OFFSCREEN_TYPE = Symbol.for('react.offscreen');\nexport const REACT_LEGACY_HIDDEN_TYPE = Symbol.for('react.legacy_hidden');\nexport const REACT_CACHE_TYPE = Symbol.for('react.cache');\nexport const REACT_TRACING_MARKER_TYPE = Symbol.for('react.tracing_marker');\nexport const REACT_SERVER_CONTEXT_DEFAULT_VALUE_NOT_LOADED = Symbol.for(\n 'react.default_value',\n);\n\nconst MAYBE_ITERATOR_SYMBOL = Symbol.iterator;\nconst FAUX_ITERATOR_SYMBOL = '@@iterator';\n\nexport function getIteratorFn(maybeIterable: ?any): ?() => ?Iterator<*> {\n if (maybeIterable === null || typeof maybeIterable !== 'object') {\n return null;\n }\n const maybeIterator =\n (MAYBE_ITERATOR_SYMBOL && maybeIterable[MAYBE_ITERATOR_SYMBOL]) ||\n maybeIterable[FAUX_ITERATOR_SYMBOL];\n if (typeof maybeIterator === 'function') {\n return maybeIterator;\n }\n return null;\n}\n","/**\n * Copyright (c) Facebook, Inc. and its 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 * @flow\n */\n\nimport LRU from 'lru-cache';\nimport {\n isElement,\n typeOf,\n ContextConsumer,\n ContextProvider,\n ForwardRef,\n Fragment,\n Lazy,\n Memo,\n Portal,\n Profiler,\n StrictMode,\n Suspense,\n} from 'react-is';\nimport {\n REACT_SUSPENSE_LIST_TYPE as SuspenseList,\n REACT_TRACING_MARKER_TYPE as TracingMarker,\n} from 'shared/ReactSymbols';\nimport {\n TREE_OPERATION_ADD,\n TREE_OPERATION_REMOVE,\n TREE_OPERATION_REMOVE_ROOT,\n TREE_OPERATION_REORDER_CHILDREN,\n TREE_OPERATION_SET_SUBTREE_MODE,\n TREE_OPERATION_UPDATE_ERRORS_OR_WARNINGS,\n TREE_OPERATION_UPDATE_TREE_BASE_DURATION,\n} from './constants';\nimport {ElementTypeRoot} from 'react-devtools-shared/src/types';\nimport {\n LOCAL_STORAGE_FILTER_PREFERENCES_KEY,\n LOCAL_STORAGE_OPEN_IN_EDITOR_URL,\n LOCAL_STORAGE_SHOULD_BREAK_ON_CONSOLE_ERRORS,\n LOCAL_STORAGE_SHOULD_PATCH_CONSOLE_KEY,\n LOCAL_STORAGE_SHOW_INLINE_WARNINGS_AND_ERRORS_KEY,\n LOCAL_STORAGE_HIDE_CONSOLE_LOGS_IN_STRICT_MODE,\n} from './constants';\nimport {ComponentFilterElementType, ElementTypeHostComponent} from './types';\nimport {\n ElementTypeClass,\n ElementTypeForwardRef,\n ElementTypeFunction,\n ElementTypeMemo,\n} from 'react-devtools-shared/src/types';\nimport {localStorageGetItem, localStorageSetItem} from './storage';\nimport {meta} from './hydration';\nimport isArray from './isArray';\n\nimport type {ComponentFilter, ElementType} from './types';\nimport type {LRUCache} from 'react-devtools-shared/src/types';\n\nconst cachedDisplayNames: WeakMap = new WeakMap();\n\n// On large trees, encoding takes significant time.\n// Try to reuse the already encoded strings.\nconst encodedStringCache: LRUCache> = new LRU({\n max: 1000,\n});\n\nexport function alphaSortKeys(\n a: string | number | Symbol,\n b: string | number | Symbol,\n): number {\n if (a.toString() > b.toString()) {\n return 1;\n } else if (b.toString() > a.toString()) {\n return -1;\n } else {\n return 0;\n }\n}\n\nexport function getAllEnumerableKeys(\n obj: Object,\n): Set {\n const keys = new Set();\n let current = obj;\n while (current != null) {\n const currentKeys = [\n ...Object.keys(current),\n ...Object.getOwnPropertySymbols(current),\n ];\n const descriptors = Object.getOwnPropertyDescriptors(current);\n currentKeys.forEach(key => {\n // $FlowFixMe: key can be a Symbol https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Object/getOwnPropertyDescriptor\n if (descriptors[key].enumerable) {\n keys.add(key);\n }\n });\n current = Object.getPrototypeOf(current);\n }\n return keys;\n}\n\nexport function getDisplayName(\n type: Function,\n fallbackName: string = 'Anonymous',\n): string {\n const nameFromCache = cachedDisplayNames.get(type);\n if (nameFromCache != null) {\n return nameFromCache;\n }\n\n let displayName = fallbackName;\n\n // The displayName property is not guaranteed to be a string.\n // It's only safe to use for our purposes if it's a string.\n // github.com/facebook/react-devtools/issues/803\n if (typeof type.displayName === 'string') {\n displayName = type.displayName;\n } else if (typeof type.name === 'string' && type.name !== '') {\n displayName = type.name;\n }\n\n cachedDisplayNames.set(type, displayName);\n return displayName;\n}\n\nlet uidCounter: number = 0;\n\nexport function getUID(): number {\n return ++uidCounter;\n}\n\nexport function utfDecodeString(array: Array): string {\n // Avoid spreading the array (e.g. String.fromCodePoint(...array))\n // Functions arguments are first placed on the stack before the function is called\n // which throws a RangeError for large arrays.\n // See github.com/facebook/react/issues/22293\n let string = '';\n for (let i = 0; i < array.length; i++) {\n const char = array[i];\n string += String.fromCodePoint(char);\n }\n return string;\n}\n\nfunction surrogatePairToCodePoint(\n charCode1: number,\n charCode2: number,\n): number {\n return ((charCode1 & 0x3ff) << 10) + (charCode2 & 0x3ff) + 0x10000;\n}\n\n// Credit for this encoding approach goes to Tim Down:\n// https://stackoverflow.com/questions/4877326/how-can-i-tell-if-a-string-contains-multibyte-characters-in-javascript\nexport function utfEncodeString(string: string): Array {\n const cached = encodedStringCache.get(string);\n if (cached !== undefined) {\n return cached;\n }\n\n const encoded = [];\n let i = 0;\n let charCode;\n while (i < string.length) {\n charCode = string.charCodeAt(i);\n // Handle multibyte unicode characters (like emoji).\n if ((charCode & 0xf800) === 0xd800) {\n encoded.push(surrogatePairToCodePoint(charCode, string.charCodeAt(++i)));\n } else {\n encoded.push(charCode);\n }\n ++i;\n }\n\n encodedStringCache.set(string, encoded);\n\n return encoded;\n}\n\nexport function printOperationsArray(operations: Array) {\n // The first two values are always rendererID and rootID\n const rendererID = operations[0];\n const rootID = operations[1];\n\n const logs = [`operations for renderer:${rendererID} and root:${rootID}`];\n\n let i = 2;\n\n // Reassemble the string table.\n const stringTable = [\n null, // ID = 0 corresponds to the null string.\n ];\n const stringTableSize = operations[i++];\n const stringTableEnd = i + stringTableSize;\n while (i < stringTableEnd) {\n const nextLength = operations[i++];\n const nextString = utfDecodeString(\n (operations.slice(i, i + nextLength): any),\n );\n stringTable.push(nextString);\n i += nextLength;\n }\n\n while (i < operations.length) {\n const operation = operations[i];\n\n switch (operation) {\n case TREE_OPERATION_ADD: {\n const id = ((operations[i + 1]: any): number);\n const type = ((operations[i + 2]: any): ElementType);\n\n i += 3;\n\n if (type === ElementTypeRoot) {\n logs.push(`Add new root node ${id}`);\n\n i++; // isStrictModeCompliant\n i++; // supportsProfiling\n i++; // supportsStrictMode\n i++; // hasOwnerMetadata\n } else {\n const parentID = ((operations[i]: any): number);\n i++;\n\n i++; // ownerID\n\n const displayNameStringID = operations[i];\n const displayName = stringTable[displayNameStringID];\n i++;\n\n i++; // key\n\n logs.push(\n `Add node ${id} (${displayName || 'null'}) as child of ${parentID}`,\n );\n }\n break;\n }\n case TREE_OPERATION_REMOVE: {\n const removeLength = ((operations[i + 1]: any): number);\n i += 2;\n\n for (let removeIndex = 0; removeIndex < removeLength; removeIndex++) {\n const id = ((operations[i]: any): number);\n i += 1;\n\n logs.push(`Remove node ${id}`);\n }\n break;\n }\n case TREE_OPERATION_REMOVE_ROOT: {\n i += 1;\n\n logs.push(`Remove root ${rootID}`);\n break;\n }\n case TREE_OPERATION_SET_SUBTREE_MODE: {\n const id = operations[i + 1];\n const mode = operations[i + 1];\n\n i += 3;\n\n logs.push(`Mode ${mode} set for subtree with root ${id}`);\n break;\n }\n case TREE_OPERATION_REORDER_CHILDREN: {\n const id = ((operations[i + 1]: any): number);\n const numChildren = ((operations[i + 2]: any): number);\n i += 3;\n const children = operations.slice(i, i + numChildren);\n i += numChildren;\n\n logs.push(`Re-order node ${id} children ${children.join(',')}`);\n break;\n }\n case TREE_OPERATION_UPDATE_TREE_BASE_DURATION:\n // Base duration updates are only sent while profiling is in progress.\n // We can ignore them at this point.\n // The profiler UI uses them lazily in order to generate the tree.\n i += 3;\n break;\n case TREE_OPERATION_UPDATE_ERRORS_OR_WARNINGS:\n const id = operations[i + 1];\n const numErrors = operations[i + 2];\n const numWarnings = operations[i + 3];\n\n i += 4;\n\n logs.push(\n `Node ${id} has ${numErrors} errors and ${numWarnings} warnings`,\n );\n break;\n default:\n throw Error(`Unsupported Bridge operation \"${operation}\"`);\n }\n }\n\n console.log(logs.join('\\n '));\n}\n\nexport function getDefaultComponentFilters(): Array {\n return [\n {\n type: ComponentFilterElementType,\n value: ElementTypeHostComponent,\n isEnabled: true,\n },\n ];\n}\n\nexport function getSavedComponentFilters(): Array {\n try {\n const raw = localStorageGetItem(LOCAL_STORAGE_FILTER_PREFERENCES_KEY);\n if (raw != null) {\n return JSON.parse(raw);\n }\n } catch (error) {}\n return getDefaultComponentFilters();\n}\n\nexport function saveComponentFilters(\n componentFilters: Array,\n): void {\n localStorageSetItem(\n LOCAL_STORAGE_FILTER_PREFERENCES_KEY,\n JSON.stringify(componentFilters),\n );\n}\n\nexport function getAppendComponentStack(): boolean {\n try {\n const raw = localStorageGetItem(LOCAL_STORAGE_SHOULD_PATCH_CONSOLE_KEY);\n if (raw != null) {\n return JSON.parse(raw);\n }\n } catch (error) {}\n return true;\n}\n\nexport function setAppendComponentStack(value: boolean): void {\n localStorageSetItem(\n LOCAL_STORAGE_SHOULD_PATCH_CONSOLE_KEY,\n JSON.stringify(value),\n );\n}\n\nexport function getBreakOnConsoleErrors(): boolean {\n try {\n const raw = localStorageGetItem(\n LOCAL_STORAGE_SHOULD_BREAK_ON_CONSOLE_ERRORS,\n );\n if (raw != null) {\n return JSON.parse(raw);\n }\n } catch (error) {}\n return false;\n}\n\nexport function setBreakOnConsoleErrors(value: boolean): void {\n localStorageSetItem(\n LOCAL_STORAGE_SHOULD_BREAK_ON_CONSOLE_ERRORS,\n JSON.stringify(value),\n );\n}\n\nexport function getHideConsoleLogsInStrictMode(): boolean {\n try {\n const raw = localStorageGetItem(\n LOCAL_STORAGE_HIDE_CONSOLE_LOGS_IN_STRICT_MODE,\n );\n if (raw != null) {\n return JSON.parse(raw);\n }\n } catch (error) {}\n return false;\n}\n\nexport function sethideConsoleLogsInStrictMode(value: boolean): void {\n localStorageSetItem(\n LOCAL_STORAGE_HIDE_CONSOLE_LOGS_IN_STRICT_MODE,\n JSON.stringify(value),\n );\n}\n\nexport function getShowInlineWarningsAndErrors(): boolean {\n try {\n const raw = localStorageGetItem(\n LOCAL_STORAGE_SHOW_INLINE_WARNINGS_AND_ERRORS_KEY,\n );\n if (raw != null) {\n return JSON.parse(raw);\n }\n } catch (error) {}\n return true;\n}\n\nexport function setShowInlineWarningsAndErrors(value: boolean): void {\n localStorageSetItem(\n LOCAL_STORAGE_SHOW_INLINE_WARNINGS_AND_ERRORS_KEY,\n JSON.stringify(value),\n );\n}\n\nexport function getDefaultOpenInEditorURL(): string {\n return typeof process.env.EDITOR_URL === 'string'\n ? process.env.EDITOR_URL\n : '';\n}\n\nexport function getOpenInEditorURL(): string {\n try {\n const raw = localStorageGetItem(LOCAL_STORAGE_OPEN_IN_EDITOR_URL);\n if (raw != null) {\n return JSON.parse(raw);\n }\n } catch (error) {}\n return getDefaultOpenInEditorURL();\n}\n\nexport function separateDisplayNameAndHOCs(\n displayName: string | null,\n type: ElementType,\n): [string | null, Array | null] {\n if (displayName === null) {\n return [null, null];\n }\n\n let hocDisplayNames = null;\n\n switch (type) {\n case ElementTypeClass:\n case ElementTypeForwardRef:\n case ElementTypeFunction:\n case ElementTypeMemo:\n if (displayName.indexOf('(') >= 0) {\n const matches = displayName.match(/[^()]+/g);\n if (matches != null) {\n displayName = matches.pop();\n hocDisplayNames = matches;\n }\n }\n break;\n default:\n break;\n }\n\n if (type === ElementTypeMemo) {\n if (hocDisplayNames === null) {\n hocDisplayNames = ['Memo'];\n } else {\n hocDisplayNames.unshift('Memo');\n }\n } else if (type === ElementTypeForwardRef) {\n if (hocDisplayNames === null) {\n hocDisplayNames = ['ForwardRef'];\n } else {\n hocDisplayNames.unshift('ForwardRef');\n }\n }\n\n return [displayName, hocDisplayNames];\n}\n\n// Pulled from react-compat\n// https://github.com/developit/preact-compat/blob/7c5de00e7c85e2ffd011bf3af02899b63f699d3a/src/index.js#L349\nexport function shallowDiffers(prev: Object, next: Object): boolean {\n for (const attribute in prev) {\n if (!(attribute in next)) {\n return true;\n }\n }\n for (const attribute in next) {\n if (prev[attribute] !== next[attribute]) {\n return true;\n }\n }\n return false;\n}\n\nexport function getInObject(object: Object, path: Array): any {\n return path.reduce((reduced: Object, attr: any): any => {\n if (reduced) {\n if (hasOwnProperty.call(reduced, attr)) {\n return reduced[attr];\n }\n if (typeof reduced[Symbol.iterator] === 'function') {\n // Convert iterable to array and return array[index]\n //\n // TRICKY\n // Don't use [...spread] syntax for this purpose.\n // This project uses @babel/plugin-transform-spread in \"loose\" mode which only works with Array values.\n // Other types (e.g. typed arrays, Sets) will not spread correctly.\n return Array.from(reduced)[attr];\n }\n }\n\n return null;\n }, object);\n}\n\nexport function deletePathInObject(\n object: Object,\n path: Array,\n) {\n const length = path.length;\n const last = path[length - 1];\n if (object != null) {\n const parent = getInObject(object, path.slice(0, length - 1));\n if (parent) {\n if (isArray(parent)) {\n parent.splice(((last: any): number), 1);\n } else {\n delete parent[last];\n }\n }\n }\n}\n\nexport function renamePathInObject(\n object: Object,\n oldPath: Array,\n newPath: Array,\n) {\n const length = oldPath.length;\n if (object != null) {\n const parent = getInObject(object, oldPath.slice(0, length - 1));\n if (parent) {\n const lastOld = oldPath[length - 1];\n const lastNew = newPath[length - 1];\n parent[lastNew] = parent[lastOld];\n if (isArray(parent)) {\n parent.splice(((lastOld: any): number), 1);\n } else {\n delete parent[lastOld];\n }\n }\n }\n}\n\nexport function setInObject(\n object: Object,\n path: Array,\n value: any,\n) {\n const length = path.length;\n const last = path[length - 1];\n if (object != null) {\n const parent = getInObject(object, path.slice(0, length - 1));\n if (parent) {\n parent[last] = value;\n }\n }\n}\n\nexport type DataType =\n | 'array'\n | 'array_buffer'\n | 'bigint'\n | 'boolean'\n | 'data_view'\n | 'date'\n | 'function'\n | 'html_all_collection'\n | 'html_element'\n | 'infinity'\n | 'iterator'\n | 'opaque_iterator'\n | 'nan'\n | 'null'\n | 'number'\n | 'object'\n | 'react_element'\n | 'regexp'\n | 'string'\n | 'symbol'\n | 'typed_array'\n | 'undefined'\n | 'unknown';\n\n/**\n * Get a enhanced/artificial type string based on the object instance\n */\nexport function getDataType(data: Object): DataType {\n if (data === null) {\n return 'null';\n } else if (data === undefined) {\n return 'undefined';\n }\n\n if (isElement(data)) {\n return 'react_element';\n }\n\n if (typeof HTMLElement !== 'undefined' && data instanceof HTMLElement) {\n return 'html_element';\n }\n\n const type = typeof data;\n switch (type) {\n case 'bigint':\n return 'bigint';\n case 'boolean':\n return 'boolean';\n case 'function':\n return 'function';\n case 'number':\n if (Number.isNaN(data)) {\n return 'nan';\n } else if (!Number.isFinite(data)) {\n return 'infinity';\n } else {\n return 'number';\n }\n case 'object':\n if (isArray(data)) {\n return 'array';\n } else if (ArrayBuffer.isView(data)) {\n return hasOwnProperty.call(data.constructor, 'BYTES_PER_ELEMENT')\n ? 'typed_array'\n : 'data_view';\n } else if (data.constructor && data.constructor.name === 'ArrayBuffer') {\n // HACK This ArrayBuffer check is gross; is there a better way?\n // We could try to create a new DataView with the value.\n // If it doesn't error, we know it's an ArrayBuffer,\n // but this seems kind of awkward and expensive.\n return 'array_buffer';\n } else if (typeof data[Symbol.iterator] === 'function') {\n const iterator = data[Symbol.iterator]();\n if (!iterator) {\n // Proxies might break assumptoins about iterators.\n // See github.com/facebook/react/issues/21654\n } else {\n return iterator === data ? 'opaque_iterator' : 'iterator';\n }\n } else if (data.constructor && data.constructor.name === 'RegExp') {\n return 'regexp';\n } else {\n const toStringValue = Object.prototype.toString.call(data);\n if (toStringValue === '[object Date]') {\n return 'date';\n } else if (toStringValue === '[object HTMLAllCollection]') {\n return 'html_all_collection';\n }\n }\n return 'object';\n case 'string':\n return 'string';\n case 'symbol':\n return 'symbol';\n case 'undefined':\n if (\n Object.prototype.toString.call(data) === '[object HTMLAllCollection]'\n ) {\n return 'html_all_collection';\n }\n return 'undefined';\n default:\n return 'unknown';\n }\n}\n\nexport function getDisplayNameForReactElement(\n element: React$Element,\n): string | null {\n const elementType = typeOf(element);\n switch (elementType) {\n case ContextConsumer:\n return 'ContextConsumer';\n case ContextProvider:\n return 'ContextProvider';\n case ForwardRef:\n return 'ForwardRef';\n case Fragment:\n return 'Fragment';\n case Lazy:\n return 'Lazy';\n case Memo:\n return 'Memo';\n case Portal:\n return 'Portal';\n case Profiler:\n return 'Profiler';\n case StrictMode:\n return 'StrictMode';\n case Suspense:\n return 'Suspense';\n case SuspenseList:\n return 'SuspenseList';\n case TracingMarker:\n return 'TracingMarker';\n default:\n const {type} = element;\n if (typeof type === 'string') {\n return type;\n } else if (typeof type === 'function') {\n return getDisplayName(type, 'Anonymous');\n } else if (type != null) {\n return 'NotImplementedInDevtools';\n } else {\n return 'Element';\n }\n }\n}\n\nconst MAX_PREVIEW_STRING_LENGTH = 50;\n\nfunction truncateForDisplay(\n string: string,\n length: number = MAX_PREVIEW_STRING_LENGTH,\n) {\n if (string.length > length) {\n return string.substr(0, length) + '…';\n } else {\n return string;\n }\n}\n\n// Attempts to mimic Chrome's inline preview for values.\n// For example, the following value...\n// {\n// foo: 123,\n// bar: \"abc\",\n// baz: [true, false],\n// qux: { ab: 1, cd: 2 }\n// };\n//\n// Would show a preview of...\n// {foo: 123, bar: \"abc\", baz: Array(2), qux: {…}}\n//\n// And the following value...\n// [\n// 123,\n// \"abc\",\n// [true, false],\n// { foo: 123, bar: \"abc\" }\n// ];\n//\n// Would show a preview of...\n// [123, \"abc\", Array(2), {…}]\nexport function formatDataForPreview(\n data: any,\n showFormattedValue: boolean,\n): string {\n if (data != null && hasOwnProperty.call(data, meta.type)) {\n return showFormattedValue\n ? data[meta.preview_long]\n : data[meta.preview_short];\n }\n\n const type = getDataType(data);\n\n switch (type) {\n case 'html_element':\n return `<${truncateForDisplay(data.tagName.toLowerCase())} />`;\n case 'function':\n return truncateForDisplay(\n `ƒ ${typeof data.name === 'function' ? '' : data.name}() {}`,\n );\n case 'string':\n return `\"${data}\"`;\n case 'bigint':\n return truncateForDisplay(data.toString() + 'n');\n case 'regexp':\n return truncateForDisplay(data.toString());\n case 'symbol':\n return truncateForDisplay(data.toString());\n case 'react_element':\n return `<${truncateForDisplay(\n getDisplayNameForReactElement(data) || 'Unknown',\n )} />`;\n case 'array_buffer':\n return `ArrayBuffer(${data.byteLength})`;\n case 'data_view':\n return `DataView(${data.buffer.byteLength})`;\n case 'array':\n if (showFormattedValue) {\n let formatted = '';\n for (let i = 0; i < data.length; i++) {\n if (i > 0) {\n formatted += ', ';\n }\n formatted += formatDataForPreview(data[i], false);\n if (formatted.length > MAX_PREVIEW_STRING_LENGTH) {\n // Prevent doing a lot of unnecessary iteration...\n break;\n }\n }\n return `[${truncateForDisplay(formatted)}]`;\n } else {\n const length = hasOwnProperty.call(data, meta.size)\n ? data[meta.size]\n : data.length;\n return `Array(${length})`;\n }\n case 'typed_array':\n const shortName = `${data.constructor.name}(${data.length})`;\n if (showFormattedValue) {\n let formatted = '';\n for (let i = 0; i < data.length; i++) {\n if (i > 0) {\n formatted += ', ';\n }\n formatted += data[i];\n if (formatted.length > MAX_PREVIEW_STRING_LENGTH) {\n // Prevent doing a lot of unnecessary iteration...\n break;\n }\n }\n return `${shortName} [${truncateForDisplay(formatted)}]`;\n } else {\n return shortName;\n }\n case 'iterator':\n const name = data.constructor.name;\n\n if (showFormattedValue) {\n // TRICKY\n // Don't use [...spread] syntax for this purpose.\n // This project uses @babel/plugin-transform-spread in \"loose\" mode which only works with Array values.\n // Other types (e.g. typed arrays, Sets) will not spread correctly.\n const array = Array.from(data);\n\n let formatted = '';\n for (let i = 0; i < array.length; i++) {\n const entryOrEntries = array[i];\n\n if (i > 0) {\n formatted += ', ';\n }\n\n // TRICKY\n // Browsers display Maps and Sets differently.\n // To mimic their behavior, detect if we've been given an entries tuple.\n // Map(2) {\"abc\" => 123, \"def\" => 123}\n // Set(2) {\"abc\", 123}\n if (isArray(entryOrEntries)) {\n const key = formatDataForPreview(entryOrEntries[0], true);\n const value = formatDataForPreview(entryOrEntries[1], false);\n formatted += `${key} => ${value}`;\n } else {\n formatted += formatDataForPreview(entryOrEntries, false);\n }\n\n if (formatted.length > MAX_PREVIEW_STRING_LENGTH) {\n // Prevent doing a lot of unnecessary iteration...\n break;\n }\n }\n\n return `${name}(${data.size}) {${truncateForDisplay(formatted)}}`;\n } else {\n return `${name}(${data.size})`;\n }\n case 'opaque_iterator': {\n return data[Symbol.toStringTag];\n }\n case 'date':\n return data.toString();\n case 'object':\n if (showFormattedValue) {\n const keys = Array.from(getAllEnumerableKeys(data)).sort(alphaSortKeys);\n\n let formatted = '';\n for (let i = 0; i < keys.length; i++) {\n const key = keys[i];\n if (i > 0) {\n formatted += ', ';\n }\n formatted += `${key.toString()}: ${formatDataForPreview(\n data[key],\n false,\n )}`;\n if (formatted.length > MAX_PREVIEW_STRING_LENGTH) {\n // Prevent doing a lot of unnecessary iteration...\n break;\n }\n }\n return `{${truncateForDisplay(formatted)}}`;\n } else {\n return '{…}';\n }\n case 'boolean':\n case 'number':\n case 'infinity':\n case 'nan':\n case 'null':\n case 'undefined':\n return data;\n default:\n try {\n return truncateForDisplay(String(data));\n } catch (error) {\n return 'unserializable';\n }\n }\n}\n","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n// css base code, injected by the css-loader\nmodule.exports = function(useSourceMap) {\n\tvar list = [];\n\n\t// return the list of modules as css string\n\tlist.toString = function toString() {\n\t\treturn this.map(function (item) {\n\t\t\tvar content = cssWithMappingToString(item, useSourceMap);\n\t\t\tif(item[2]) {\n\t\t\t\treturn \"@media \" + item[2] + \"{\" + content + \"}\";\n\t\t\t} else {\n\t\t\t\treturn content;\n\t\t\t}\n\t\t}).join(\"\");\n\t};\n\n\t// import a list of modules into the list\n\tlist.i = function(modules, mediaQuery) {\n\t\tif(typeof modules === \"string\")\n\t\t\tmodules = [[null, modules, \"\"]];\n\t\tvar alreadyImportedModules = {};\n\t\tfor(var i = 0; i < this.length; i++) {\n\t\t\tvar id = this[i][0];\n\t\t\tif(typeof id === \"number\")\n\t\t\t\talreadyImportedModules[id] = true;\n\t\t}\n\t\tfor(i = 0; i < modules.length; i++) {\n\t\t\tvar item = modules[i];\n\t\t\t// skip already imported module\n\t\t\t// this implementation is not 100% perfect for weird media query combinations\n\t\t\t// when a module is imported multiple times with different media queries.\n\t\t\t// I hope this will never occur (Hey this way we have smaller bundles)\n\t\t\tif(typeof item[0] !== \"number\" || !alreadyImportedModules[item[0]]) {\n\t\t\t\tif(mediaQuery && !item[2]) {\n\t\t\t\t\titem[2] = mediaQuery;\n\t\t\t\t} else if(mediaQuery) {\n\t\t\t\t\titem[2] = \"(\" + item[2] + \") and (\" + mediaQuery + \")\";\n\t\t\t\t}\n\t\t\t\tlist.push(item);\n\t\t\t}\n\t\t}\n\t};\n\treturn list;\n};\n\nfunction cssWithMappingToString(item, useSourceMap) {\n\tvar content = item[1] || '';\n\tvar cssMapping = item[3];\n\tif (!cssMapping) {\n\t\treturn content;\n\t}\n\n\tif (useSourceMap && typeof btoa === 'function') {\n\t\tvar sourceMapping = toComment(cssMapping);\n\t\tvar sourceURLs = cssMapping.sources.map(function (source) {\n\t\t\treturn '/*# sourceURL=' + cssMapping.sourceRoot + source + ' */'\n\t\t});\n\n\t\treturn [content].concat(sourceURLs).concat([sourceMapping]).join('\\n');\n\t}\n\n\treturn [content].join('\\n');\n}\n\n// Adapted from convert-source-map (MIT)\nfunction toComment(sourceMap) {\n\t// eslint-disable-next-line no-undef\n\tvar base64 = btoa(unescape(encodeURIComponent(JSON.stringify(sourceMap))));\n\tvar data = 'sourceMappingURL=data:application/json;charset=utf-8;base64,' + base64;\n\n\treturn '/*# ' + data + ' */';\n}\n","/*\n\tMIT License http://www.opensource.org/licenses/mit-license.php\n\tAuthor Tobias Koppers @sokra\n*/\n\nvar stylesInDom = {};\n\nvar\tmemoize = function (fn) {\n\tvar memo;\n\n\treturn function () {\n\t\tif (typeof memo === \"undefined\") memo = fn.apply(this, arguments);\n\t\treturn memo;\n\t};\n};\n\nvar isOldIE = memoize(function () {\n\t// Test for IE <= 9 as proposed by Browserhacks\n\t// @see http://browserhacks.com/#hack-e71d8692f65334173fee715c222cb805\n\t// Tests for existence of standard globals is to allow style-loader\n\t// to operate correctly into non-standard environments\n\t// @see https://github.com/webpack-contrib/style-loader/issues/177\n\treturn window && document && document.all && !window.atob;\n});\n\nvar getTarget = function (target, parent) {\n if (parent){\n return parent.querySelector(target);\n }\n return document.querySelector(target);\n};\n\nvar getElement = (function (fn) {\n\tvar memo = {};\n\n\treturn function(target, parent) {\n // If passing function in options, then use it for resolve \"head\" element.\n // Useful for Shadow Root style i.e\n // {\n // insertInto: function () { return document.querySelector(\"#foo\").shadowRoot }\n // }\n if (typeof target === 'function') {\n return target();\n }\n if (typeof memo[target] === \"undefined\") {\n\t\t\tvar styleTarget = getTarget.call(this, target, parent);\n\t\t\t// Special case to return head of iframe instead of iframe itself\n\t\t\tif (window.HTMLIFrameElement && styleTarget instanceof window.HTMLIFrameElement) {\n\t\t\t\ttry {\n\t\t\t\t\t// This will throw an exception if access to iframe is blocked\n\t\t\t\t\t// due to cross-origin restrictions\n\t\t\t\t\tstyleTarget = styleTarget.contentDocument.head;\n\t\t\t\t} catch(e) {\n\t\t\t\t\tstyleTarget = null;\n\t\t\t\t}\n\t\t\t}\n\t\t\tmemo[target] = styleTarget;\n\t\t}\n\t\treturn memo[target]\n\t};\n})();\n\nvar singleton = null;\nvar\tsingletonCounter = 0;\nvar\tstylesInsertedAtTop = [];\n\nvar\tfixUrls = require(\"./urls\");\n\nmodule.exports = function(list, options) {\n\tif (typeof DEBUG !== \"undefined\" && DEBUG) {\n\t\tif (typeof document !== \"object\") throw new Error(\"The style-loader cannot be used in a non-browser environment\");\n\t}\n\n\toptions = options || {};\n\n\toptions.attrs = typeof options.attrs === \"object\" ? options.attrs : {};\n\n\t// Force single-tag solution on IE6-9, which has a hard limit on the # of