local x={}x.__DEBUG__=_G.__DEBUG__ x.TREE_OPERATION_ADD=1 x.TREE_OPERATION_REMOVE=2 x.TREE_OPERATION_REORDER_CHILDREN=3 x.TREE_OPERATION_UPDATE_TREE_BASE_DURATION=4 x.LOCAL_STORAGE_FILTER_PREFERENCES_KEY="\082\101\097\099\116\058\058\068\101\118\084\111\111\108\115\058\058\099\111\109\112\111\110\101\110\116\070\105\108\116\101\114\115"x.SESSION_STORAGE_LAST_SELECTION_KEY="\082\101\097\099\116\058\058\068\101\118\084\111\111\108\115\058\058\108\097\115\116\083\101\108\101\099\116\105\111\110"x.SESSION_STORAGE_RECORD_CHANGE_DESCRIPTIONS_KEY="\082\101\097\099\116\058\058\068\101\118\084\111\111\108\115\058\058\114\101\099\111\114\100\067\104\097\110\103\101\068\101\115\099\114\105\112\116\105\111\110\115"x.SESSION_STORAGE_RELOAD_AND_PROFILE_KEY="\082\101\097\099\116\058\058\068\101\118\084\111\111\108\115\058\058\114\101\108\111\097\100\065\110\100\080\114\111\102\105\108\101"x.LOCAL_STORAGE_SHOULD_BREAK_ON_CONSOLE_ERRORS="\082\101\097\099\116\058\058\068\101\118\084\111\111\108\115\058\058\098\114\101\097\107\079\110\067\111\110\115\111\108\101\069\114\114\111\114\115"x.LOCAL_STORAGE_SHOULD_PATCH_CONSOLE_KEY="\082\101\097\099\116\058\058\068\101\118\084\111\111\108\115\058\058\097\112\112\101\110\100\067\111\109\112\111\110\101\110\116\083\116\097\099\107"x.LOCAL_STORAGE_TRACE_UPDATES_ENABLED_KEY="\082\101\097\099\116\058\058\068\101\118\084\111\111\108\115\058\058\116\114\097\099\101\085\112\100\097\116\101\115\069\110\097\098\108\101\100"x.PROFILER_EXPORT_VERSION=4 x.CHANGE_LOG_URL="\104\116\116\112\115\058\047\047\103\105\116\104\117\098\046\099\111\109\047\102\097\099\101\098\111\111\107\047\114\101\097\099\116\047\098\108\111\098\047\109\097\115\116\101\114\047\112\097\099\107\097\103\101\115\047\114\101\097\099\116-\100\101\118\116\111\111\108\115\047\067\072\065\078\071\069\076\079\071\046\109\100"x.UNSUPPORTED_VERSION_URL="\104\116\116\112\115\058\047\047\114\101\097\099\116\106\115\046\111\114\103\047\098\108\111\103\047\050\048\049\057\047\048\056\047\049\053\047\110\101\119-\114\101\097\099\116-\100\101\118\116\111\111\108\115\046\104\116\109\108\035\104\111\119-\100\111-\105-\103\101\116-\116\104\101-\111\108\100-\118\101\114\115\105\111\110-\098\097\099\107"local B local g B=15 g=10 x.COMFORTABLE_LINE_HEIGHT=B x.COMPACT_LINE_HEIGHT=g return x
-- ROBLOX upstream: https://github.com/facebook/react/blob/v17.0.1/packages/react-devtools-shared/src/constants.js
-- /**
--  * Copyright (c) Facebook, Inc. and its affiliates.
--  *
--  * This source code is licensed under the MIT license found in the
--  * LICENSE file in the root directory of this source tree.
--  *
--  * @flow
--  */

local exports = {}

-- Flip this flag to true to enable verbose console debug logging.
exports.__DEBUG__ = _G.__DEBUG__

exports.TREE_OPERATION_ADD = 1
exports.TREE_OPERATION_REMOVE = 2
exports.TREE_OPERATION_REORDER_CHILDREN = 3
exports.TREE_OPERATION_UPDATE_TREE_BASE_DURATION = 4

exports.LOCAL_STORAGE_FILTER_PREFERENCES_KEY = "React::DevTools::componentFilters"

exports.SESSION_STORAGE_LAST_SELECTION_KEY = "React::DevTools::lastSelection"

exports.SESSION_STORAGE_RECORD_CHANGE_DESCRIPTIONS_KEY =
	"React::DevTools::recordChangeDescriptions"

exports.SESSION_STORAGE_RELOAD_AND_PROFILE_KEY = "React::DevTools::reloadAndProfile"

exports.LOCAL_STORAGE_SHOULD_BREAK_ON_CONSOLE_ERRORS =
	"React::DevTools::breakOnConsoleErrors"

exports.LOCAL_STORAGE_SHOULD_PATCH_CONSOLE_KEY = "React::DevTools::appendComponentStack"

exports.LOCAL_STORAGE_TRACE_UPDATES_ENABLED_KEY = "React::DevTools::traceUpdatesEnabled"

exports.PROFILER_EXPORT_VERSION = 4

exports.CHANGE_LOG_URL =
	"https://github.com/facebook/react/blob/master/packages/react-devtools/CHANGELOG.md"

exports.UNSUPPORTED_VERSION_URL =
	"https://reactjs.org/blog/2019/08/15/new-react-devtools.html#how-do-i-get-the-old-version-back"

-- HACK
--
-- Extracting during build time avoids a temporarily invalid state for the inline target.
-- Sometimes the inline target is rendered before root styles are applied,
-- which would result in e.g. NaN itemSize being passed to react-window list.
--
local COMFORTABLE_LINE_HEIGHT
local COMPACT_LINE_HEIGHT

-- ROBLOX deviation: we won't use the CSS, and don't have a bundler, so always use the 'fallback'
-- We can't use the Webpack loader syntax in the context of Jest,
-- so tests need some reasonably meaningful fallback value.
COMFORTABLE_LINE_HEIGHT = 15
COMPACT_LINE_HEIGHT = 10

exports.COMFORTABLE_LINE_HEIGHT = COMFORTABLE_LINE_HEIGHT
exports.COMPACT_LINE_HEIGHT = COMPACT_LINE_HEIGHT

return exports
