@deephaven/code-studio 1.10.2-lerna-v9.0 → 1.10.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (40) hide show
  1. package/build/assets/{AppRoot-Dsp0-nx9.js → AppRoot-BY4a1UaK.js} +6 -6
  2. package/build/assets/{AppRoot-Dsp0-nx9.js.map → AppRoot-BY4a1UaK.js.map} +1 -1
  3. package/build/assets/{Chart-P_gTGGZ1.js → Chart-DmqNQtr3.js} +2 -2
  4. package/build/assets/{Chart-P_gTGGZ1.js.map → Chart-DmqNQtr3.js.map} +1 -1
  5. package/build/assets/{ControlType-lgZLQmfY.js → ControlType-RBsIk8KS.js} +4 -4
  6. package/build/assets/{ControlType-lgZLQmfY.js.map → ControlType-RBsIk8KS.js.map} +1 -1
  7. package/build/assets/{FormatterUtils-C9ixv8yB.js → FormatterUtils-C3xgIs6_.js} +2 -2
  8. package/build/assets/{FormatterUtils-C9ixv8yB.js.map → FormatterUtils-C3xgIs6_.js.map} +1 -1
  9. package/build/assets/{Grid-DQPrZJGB.js → Grid-B7dO0Sbi.js} +2 -2
  10. package/build/assets/{Grid-DQPrZJGB.js.map → Grid-B7dO0Sbi.js.map} +1 -1
  11. package/build/assets/{GridTokenMouseHandler-X2JErABm.js → GridTokenMouseHandler-Ds5xKqrO.js} +2 -2
  12. package/build/assets/{GridTokenMouseHandler-X2JErABm.js.map → GridTokenMouseHandler-Ds5xKqrO.js.map} +1 -1
  13. package/build/assets/{IrisGrid-m82zJTmT.js → IrisGrid-CFqfz-_M.js} +2 -2
  14. package/build/assets/{IrisGrid-m82zJTmT.js.map → IrisGrid-CFqfz-_M.js.map} +1 -1
  15. package/build/assets/{IrisGridModel-BWX_u8pv.js → IrisGridModel-CfNBLna8.js} +3 -3
  16. package/build/assets/{IrisGridModel-BWX_u8pv.js.map → IrisGridModel-CfNBLna8.js.map} +1 -1
  17. package/build/assets/{IrisGridShortcuts-QN2zgZUQ.js → IrisGridShortcuts-Bw5ADLgT.js} +2 -2
  18. package/build/assets/{IrisGridShortcuts-QN2zgZUQ.js.map → IrisGridShortcuts-Bw5ADLgT.js.map} +1 -1
  19. package/build/assets/{IrisGridThemeProvider-DtrPDGfJ.js → IrisGridThemeProvider-CggmgZiA.js} +2 -2
  20. package/build/assets/{IrisGridThemeProvider-DtrPDGfJ.js.map → IrisGridThemeProvider-CggmgZiA.js.map} +1 -1
  21. package/build/assets/{LocalWorkspaceStorage-C6dxwi4z.js → LocalWorkspaceStorage-DXAI74vd.js} +2 -2
  22. package/build/assets/{LocalWorkspaceStorage-C6dxwi4z.js.map → LocalWorkspaceStorage-DXAI74vd.js.map} +1 -1
  23. package/build/assets/{MarkdownEditor-B4WFJDBT.js → MarkdownEditor-CjiUT8XD.js} +2 -2
  24. package/build/assets/{MarkdownEditor-B4WFJDBT.js.map → MarkdownEditor-CjiUT8XD.js.map} +1 -1
  25. package/build/assets/{MarkdownNotebook-Bw-fDcJ8.js → MarkdownNotebook-CsCP6Muy.js} +2 -2
  26. package/build/assets/{MarkdownNotebook-Bw-fDcJ8.js.map → MarkdownNotebook-CsCP6Muy.js.map} +1 -1
  27. package/build/assets/{MissingPartitionError-Cw7iLwy0.js → MissingPartitionError-DXkc6F4C.js} +2 -2
  28. package/build/assets/{MissingPartitionError-Cw7iLwy0.js.map → MissingPartitionError-DXkc6F4C.js.map} +1 -1
  29. package/build/assets/{MockChartModel-C5m_XRVw.js → MockChartModel-B0Gv2sr1.js} +2 -2
  30. package/build/assets/{MockChartModel-C5m_XRVw.js.map → MockChartModel-B0Gv2sr1.js.map} +1 -1
  31. package/build/assets/{StyleGuideRoot-DGm-hysw.js → StyleGuideRoot-BAYFLFTM.js} +2 -2
  32. package/build/assets/{StyleGuideRoot-DGm-hysw.js.map → StyleGuideRoot-BAYFLFTM.js.map} +1 -1
  33. package/build/assets/{index-LXmN419B.js → index-Bjvh6jhx.js} +4 -4
  34. package/build/assets/{index-LXmN419B.js.map → index-Bjvh6jhx.js.map} +1 -1
  35. package/build/assets/{index-CqIl8EDR.js → index-CVle8e1T.js} +2 -2
  36. package/build/assets/{index-CqIl8EDR.js.map → index-CVle8e1T.js.map} +1 -1
  37. package/build/assets/{index-DmVB6hX1.js → index-Cwc_E41j.js} +3 -3
  38. package/build/assets/{index-DmVB6hX1.js.map → index-Cwc_E41j.js.map} +1 -1
  39. package/build/index.html +2 -2
  40. package/package.json +31 -31
@@ -1 +1 @@
1
- {"version":3,"file":"LocalWorkspaceStorage-C6dxwi4z.js","sources":["../../../log/dist/LogExport.js","../../../components/dist/theme/ThemePicker.js","../../../components/dist/theme/Logo.js","../../../components/dist/Collapse.js","../../../components/dist/shortcuts/NavigationShortcuts.js","../../../components/dist/navigation/NavTab.js","../../../components/dist/navigation/DashboardList.js","../../../components/dist/navigation/NavTabList.js","../../../jsapi-bootstrap/dist/useCreateClient.js","../../../jsapi-bootstrap/dist/ClientBootstrap.js","../../../jsapi-bootstrap/dist/useClient.js","../../../console/dist/monaco/ruffSchema.js","../../../console/dist/monaco/RuffSettingsModal.js","../../../jsapi-utils/dist/MessageUtils.js","../../../jsapi-utils/dist/NoConsolesError.js","../../../jsapi-utils/dist/SessionUtils.js","../../../dashboard/dist/Dashboard.js","../../../dashboard/dist/LazyDashboard.js","../../../plugin/dist/useDashboardPlugins.js","../../../auth-plugins/dist/UserContexts.js","../../../app-utils/dist/components/ConnectionContext.js","../../../app-utils/dist/utils/createExportLogsContextAction.js","../../../app-utils/dist/components/ServerConfigBootstrap.js","../../../app-utils/dist/components/useServerConfig.js","../../../app-utils/dist/components/AppDashboards.js","../../../app-utils/dist/components/useConnection.js","../../../app-utils/dist/components/useUser.js","../../../app-utils/dist/storage/grpc/GrpcFileStorageTable.js","../../../app-utils/dist/storage/grpc/GrpcFileStorage.js","../../../app-utils/dist/storage/grpc/GrpcLayoutStorage.js","../../../app-utils/dist/storage/LayoutStorage.js","../../../app-utils/dist/storage/UserLayoutUtils.js","../../../app-utils/dist/storage/LocalWorkspaceStorage.js"],"sourcesContent":["function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nimport JSZip from 'jszip';\nimport { configure } from 'safe-stable-stringify';\n// List of paths to ignore\n// '' represents the root object\n// * represents a wildcard key\nexport var DEFAULT_PATH_IGNORE_LIST = [['api'], ['client'], ['dashboardData', '*', 'connection'], ['dashboardData', '*', 'sessionWrapper'], ['dashboardData', '*', 'openedMap'], ['layoutStorage'], ['storage']];\n\n// The default maximum depth to serialize to in the redux data\nvar DEFAULT_MAXIMUM_DEPTH = 10;\nfunction stringifyReplacer(ignoreList) {\n // modified from:\n // https://stackoverflow.com/questions/61681176/json-stringify-replacer-how-to-get-full-path\n var pathMap = new Map();\n // replacer function is also called for the initial object, key is \"\"\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#the_replacer_parameter\n\n return function replacer(key, value) {\n var _pathMap$get;\n // get and store path\n var currPath = [...((_pathMap$get = pathMap.get(this)) !== null && _pathMap$get !== void 0 ? _pathMap$get : []), key];\n if (value === Object(value)) pathMap.set(value, [...currPath]);\n currPath.shift();\n\n // check ignore list\n if (isOnIgnoreList(currPath, ignoreList)) {\n return undefined;\n }\n if (value instanceof Map) {\n return Array.from(value.entries());\n }\n\n // not in ignore list, return value\n return value;\n };\n}\nfunction isOnIgnoreList(currPath, ignoreList) {\n var _loop = function _loop(i) {\n if (currPath.length === ignoreList[i].length && currPath.every((v, index) => ignoreList[i][index] === '*' || v === ignoreList[i][index])) {\n // ignore list match\n return {\n v: true\n };\n }\n },\n _ret;\n for (var i = 0; i < ignoreList.length; i += 1) {\n _ret = _loop(i);\n if (_ret) return _ret.v;\n }\n return false;\n}\nexport function getReduxDataString(reduxData) {\n var _stringify;\n var ignoreList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var maximumDepth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_MAXIMUM_DEPTH;\n // Limit the maximum depth to prevent linked structures from blowing up the log size\n // All objects at the maximum depth are replaced with \"[Object]\" or \"[Array]\"\n var stringify = configure({\n maximumDepth\n });\n return (// Using safe-stable-stringify which handles circular references and BigInt\n // All circular references are replaced with \"[Circular]\", and BigInt values are converted to a number\n (_stringify = stringify(reduxData, stringifyReplacer(ignoreList), 2 // Indent w/ 2 spaces\n )) !== null && _stringify !== void 0 ? _stringify : ''\n );\n}\nfunction getFormattedMetadata(metadata) {\n return JSON.stringify(metadata, null, 2);\n}\n\n/** Format a date to a string that can be used as a file name\n * @param date Date to format\n * @returns A string formatted as YYYY-MM-DD-HHMMSS\n */\nfunction formatDate(date) {\n var year = date.getFullYear();\n var month = String(date.getMonth() + 1).padStart(2, '0');\n var day = String(date.getDate()).padStart(2, '0');\n var h = String(date.getHours()).padStart(2, '0');\n var m = String(date.getMinutes()).padStart(2, '0');\n var s = String(date.getSeconds()).padStart(2, '0');\n return \"\".concat(year, \"-\").concat(month, \"-\").concat(day, \"-\").concat(h).concat(m).concat(s);\n}\n\n/**\n * Export support logs with the given name.\n * @param logHistory Log history to include in the console.txt file\n * @param metadata Additional metadata to include in the metadata.json file\n * @param reduxData Redux data to include in the redux.json file\n * @param ignoreList List of JSON paths to ignore in redux data. A JSON path is a list representing the path to that value (e.g. client.data would be `['client', 'data']`). Wildcards (*) are accepted in the path.\n * @param fileNamePrefix The zip file name without the .zip extension. Ex: test will be saved as test.zip\n * @param maximumDepth The maximum depth to serialize the redux data to. Objects at the maximum depth will be replaced with \"[Object]\" or \"[Array]\".\n * @returns A promise that resolves successfully if the log archive is created and downloaded successfully, rejected if there's an error\n */\nexport function exportLogs(_x, _x2, _x3) {\n return _exportLogs.apply(this, arguments);\n}\nfunction _exportLogs() {\n _exportLogs = _asyncToGenerator(function* (logHistory, metadata, reduxData) {\n var ignoreList = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : DEFAULT_PATH_IGNORE_LIST;\n var fileNamePrefix = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : \"\".concat(formatDate(new Date()), \"_support_logs\");\n var maximumDepth = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : DEFAULT_MAXIMUM_DEPTH;\n var zip = new JSZip();\n var folder = zip.folder(fileNamePrefix);\n folder.file('console.txt', logHistory.getFormattedHistory());\n if (metadata != null) {\n folder.file('metadata.json', getFormattedMetadata(metadata));\n }\n if (reduxData != null) {\n folder.file('redux.json', getReduxDataString(reduxData, ignoreList, maximumDepth));\n }\n var blob = yield zip.generateAsync({\n type: 'blob'\n });\n var link = document.createElement('a');\n link.href = URL.createObjectURL(blob);\n link.download = \"\".concat(fileNamePrefix, \".zip\");\n link.click();\n });\n return _exportLogs.apply(this, arguments);\n}\n//# sourceMappingURL=LogExport.js.map","import { useCallback } from 'react';\nimport { Item, Picker } from '@adobe/react-spectrum';\nimport useTheme from \"./useTheme.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function ThemePicker() {\n var {\n selectedThemeKey,\n setSelectedThemeKey,\n themes\n } = useTheme();\n var onSelectionChange = useCallback(key => {\n if (key != null) {\n setSelectedThemeKey(\"\".concat(key));\n }\n }, [setSelectedThemeKey]);\n return /*#__PURE__*/_jsx(Picker, {\n label: \"Pick a color scheme\",\n items: themes,\n selectedKey: selectedThemeKey,\n onSelectionChange: onSelectionChange,\n children: item => /*#__PURE__*/_jsx(Item, {\n children: item.name\n }, item.themeKey)\n });\n}\nexport default ThemePicker;\n//# sourceMappingURL=ThemePicker.js.map","import classNames from 'classnames';\nimport \"./Logo.css\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function Logo(_ref) {\n var {\n className,\n style\n } = _ref;\n return /*#__PURE__*/_jsx(\"div\", {\n className: classNames('dh-logo', className),\n style: style\n });\n}\nexport default Logo;\n//# sourceMappingURL=Logo.js.map","function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n// Port of https://github.com/react-bootstrap/react-bootstrap/blob/master/src/Collapse.js\nimport React, { Component } from 'react';\nimport classNames from 'classnames';\nimport { CSSTransition } from 'react-transition-group';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nclass Collapse extends Component {\n static getHeight(elem) {\n var scrollBarWidth = elem.scrollWidth - elem.clientWidth;\n return elem.scrollHeight - scrollBarWidth;\n }\n constructor(props) {\n super(props);\n _defineProperty(this, \"nodeRef\", /*#__PURE__*/React.createRef());\n this.handleEntered = this.handleEntered.bind(this);\n }\n handleEntered() {\n var elem = this.nodeRef.current;\n if (!elem) {\n return;\n }\n elem.style.height = '';\n var {\n autoFocusOnShow\n } = this.props;\n if (autoFocusOnShow !== undefined && autoFocusOnShow) {\n var input = elem.querySelector('input, select, textarea');\n if (input != null) {\n input.focus();\n }\n }\n }\n handleEnter() {\n var elem = this.nodeRef.current;\n if (!elem) {\n return;\n }\n elem.style.height = '0';\n }\n handleEntering() {\n var elem = this.nodeRef.current;\n if (!elem) {\n return;\n }\n elem.style.height = \"\".concat(Collapse.getHeight(elem), \"px\");\n }\n handleExiting() {\n var elem = this.nodeRef.current;\n if (!elem) {\n return;\n }\n elem.style.height = '0';\n }\n handleExit() {\n var elem = this.nodeRef.current;\n if (!elem) {\n return;\n }\n elem.style.height = \"\".concat(Collapse.getHeight(elem), \"px\");\n }\n render() {\n var {\n children: _children,\n className,\n in: inTransition,\n 'data-testid': dataTestId\n } = this.props;\n return /*#__PURE__*/_jsx(CSSTransition, {\n in: inTransition,\n classNames: {\n enterActive: 'collapsing',\n enterDone: 'collapse show',\n exitActive: 'collapsing',\n exitDone: 'collapse'\n },\n onEnter: this.handleEnter,\n onEntering: this.handleEntering,\n onEntered: this.handleEntered,\n onExit: this.handleExit,\n onExiting: this.handleExiting,\n timeout: 350,\n nodeRef: this.nodeRef,\n children: state => /*#__PURE__*/_jsx(\"div\", {\n ref: this.nodeRef,\n className: classNames({\n collapse: state === 'exited'\n }, className),\n \"data-testid\": dataTestId,\n children: _children\n })\n });\n }\n}\n_defineProperty(Collapse, \"defaultProps\", {\n className: '',\n autoFocusOnShow: false,\n 'data-testid': undefined\n});\nexport default Collapse;\n//# sourceMappingURL=Collapse.js.map","import ShortcutRegistry from \"./ShortcutRegistry.js\";\nimport { MODIFIER, KEY } from \"./Shortcut.js\";\nvar NAVIGATION_SHORTCUTS = {\n CYCLE_TO_NEXT_STACK: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_NEXT_STACK',\n name: 'Cycle To Next Stack',\n shortcut: [MODIFIER.CTRL, KEY.SINGLE_QUOTE],\n macShortcut: [MODIFIER.CMD, KEY.SINGLE_QUOTE],\n isEditable: true\n }),\n CYCLE_TO_PREVIOUS_STACK: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_PREVIOUS_STACK',\n name: 'Cycle To Previous Stack',\n shortcut: [MODIFIER.CTRL, KEY.SEMICOLON],\n macShortcut: [MODIFIER.CMD, KEY.SEMICOLON],\n isEditable: true\n }),\n CYCLE_TO_NEXT_TAB: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_NEXT_TAB',\n name: 'Cycle To Next Tab',\n shortcut: [MODIFIER.CTRL, MODIFIER.SHIFT, KEY.DOUBLE_QUOTE],\n macShortcut: [MODIFIER.CMD, MODIFIER.SHIFT, KEY.SINGLE_QUOTE],\n isEditable: true\n }),\n CYCLE_TO_PREVIOUS_TAB: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_PREVIOUS_TAB',\n name: 'Cycle To Previous Tab',\n shortcut: [MODIFIER.CTRL, MODIFIER.SHIFT, KEY.COLON],\n macShortcut: [MODIFIER.CMD, MODIFIER.SHIFT, KEY.SEMICOLON],\n isEditable: true\n }),\n CYCLE_TO_NEXT_DASHBOARD: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_NEXT_DASHBOARD',\n name: 'Cycle To Next Dashboard',\n shortcut: [MODIFIER.CTRL, KEY.PERIOD],\n macShortcut: [MODIFIER.CMD, KEY.PERIOD],\n isEditable: true\n }),\n CYCLE_TO_PREVIOUS_DASHBOARD: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_PREVIOUS_DASHBOARD',\n name: 'Cycle To Previous Dashboard',\n shortcut: [MODIFIER.CTRL, KEY.COMMA],\n macShortcut: [MODIFIER.CMD, KEY.COMMA],\n isEditable: true\n })\n};\nexport default NAVIGATION_SHORTCUTS;\n//# sourceMappingURL=NavigationShortcuts.js.map","function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport React, { memo } from 'react';\nimport classNames from 'classnames';\nimport { Draggable } from '@hello-pangea/dnd';\nimport { vsClose } from '@deephaven/icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport Button from \"../Button.js\";\nimport ContextActions from \"../context-actions/ContextActions.js\";\nimport { Tooltip } from \"../popper/index.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nvar NavTab = /*#__PURE__*/memo(_ref => {\n var {\n tab,\n onClose,\n onSelect,\n isActive,\n activeRef,\n index,\n isDraggable,\n contextActions,\n renderAfterTabContent\n } = _ref;\n var {\n key,\n isClosable = onClose != null,\n title,\n icon\n } = tab;\n var iconElem;\n if (icon != null) {\n iconElem = /*#__PURE__*/React.isValidElement(icon) ? icon : /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: icon\n });\n }\n return /*#__PURE__*/_jsx(Draggable, {\n draggableId: key,\n index: index,\n isDragDisabled: !isDraggable,\n children: (provided, snapshot) => /*#__PURE__*/_jsxs(\"div\", {\n className: \"context-menu-wrapper\",\n ref: isActive ? activeRef : null,\n children: [/*#__PURE__*/_jsxs(\"div\", _objectSpread(_objectSpread(_objectSpread({\n ref: provided.innerRef\n // eslint-disable-next-line react/jsx-props-no-spreading\n }, provided.draggableProps), provided.dragHandleProps), {}, {\n className: classNames('btn btn-link btn-nav-tab', {\n active: isActive\n }, {\n dragging: snapshot.isDragging\n }),\n \"data-testid\": \"btn-nav-tab-\".concat(title),\n role: \"tab\",\n tabIndex: 0,\n onAuxClick: e => {\n // Middle mouse button was clicked, and no buttons remain pressed\n if (isClosable && e.button === 1 && e.buttons === 0) {\n onClose === null || onClose === void 0 || onClose(key);\n }\n },\n onClick: e => {\n // have to have seperate check onClick for Safari not supporting AuxClick\n if (isClosable && e.button === 1 && e.buttons === 0) {\n onClose === null || onClose === void 0 || onClose(key);\n return;\n }\n // Left mouse button was clicked, and no buttons remain pressed\n if (e.button === 0 && e.buttons === 0) {\n // focus is normally set on mousedown, but dnd calls preventDefault for drag purposes\n // so we can call focus on the firing of the actual click event manually\n e.target.focus();\n onSelect(key);\n }\n },\n onKeyPress: event => {\n if (event.key === 'Enter') onSelect(key);\n },\n children: [iconElem, /*#__PURE__*/_jsxs(\"span\", {\n className: \"btn-nav-tab-title\",\n children: [title, /*#__PURE__*/_jsx(Tooltip, {\n children: title\n })]\n }), renderAfterTabContent === null || renderAfterTabContent === void 0 ? void 0 : renderAfterTabContent(tab), isClosable && /*#__PURE__*/_jsx(Button, {\n kind: \"ghost\",\n className: \"btn-nav-tab-close\",\n onClick: event => {\n onClose === null || onClose === void 0 || onClose(key);\n event.stopPropagation();\n event.preventDefault();\n },\n icon: vsClose,\n tooltip: \"Close\"\n })]\n })), /*#__PURE__*/_jsx(ContextActions, {\n actions: contextActions\n })]\n })\n }, key);\n});\nNavTab.displayName = 'NavTab';\nexport default NavTab;\n//# sourceMappingURL=NavTab.js.map","import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { EMPTY_ARRAY } from '@deephaven/utils';\nimport { Button } from \"../Button.js\";\nimport SearchInput from \"../SearchInput.js\";\nimport \"./DashboardList.css\";\nimport { GLOBAL_SHORTCUTS } from \"../shortcuts/index.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\n/**\n * Display a search field and a list of dashboard tabs\n * @param props The tabs and handlers to use for this list\n * @returns A JSX element for the list of dashboard tabs, along with search\n */\nexport function DashboardList(props) {\n var {\n onSelect,\n tabs = EMPTY_ARRAY\n } = props;\n var [searchText, setSearchText] = useState('');\n var [focusedIndex, setFocusedIndex] = useState(0);\n var searchField = useRef(null);\n var listRef = useRef(null);\n var itemRefs = useRef([]);\n useEffect(() => {\n var _searchField$current;\n (_searchField$current = searchField.current) === null || _searchField$current === void 0 || _searchField$current.focus();\n }, []);\n useEffect(() => {\n setFocusedIndex(0);\n }, [searchText]);\n useEffect(() => {\n if (focusedIndex >= 0 && itemRefs.current[focusedIndex]) {\n var _itemRefs$current$foc;\n (_itemRefs$current$foc = itemRefs.current[focusedIndex]) === null || _itemRefs$current$foc === void 0 || _itemRefs$current$foc.scrollIntoView({\n behavior: 'auto',\n block: 'nearest'\n });\n }\n }, [focusedIndex]);\n var handleSearchChange = useCallback(e => {\n setSearchText(e.target.value);\n }, []);\n var handleTabSelect = useCallback(tab => {\n onSelect(tab);\n }, [onSelect]);\n var handleMouseDown = useCallback(event => {\n // Prevent mousedown from taking focus away from the search input\n event.preventDefault();\n }, []);\n var filteredTabs = useMemo(() => tabs.filter(tab => tab.title.toLowerCase().includes(searchText.toLowerCase())), [searchText, tabs]).sort((a, b) => {\n var _a$title$localeCompar;\n return (_a$title$localeCompar = a.title.localeCompare(b.title)) !== null && _a$title$localeCompar !== void 0 ? _a$title$localeCompar : 0;\n });\n var handleSearchKeyDown = useCallback(event => {\n if (event.key === 'ArrowDown' && filteredTabs.length > 0) {\n event.preventDefault();\n setFocusedIndex(prev => prev === -1 ? 0 : (prev + 1) % filteredTabs.length);\n } else if (event.key === 'ArrowUp' && filteredTabs.length > 0) {\n event.preventDefault();\n setFocusedIndex(prev => {\n if (prev === -1) return filteredTabs.length - 1;\n return (prev - 1 + filteredTabs.length) % filteredTabs.length;\n });\n } else if (event.key === 'Enter' && filteredTabs.length > 0) {\n event.preventDefault();\n var selectedIndex = focusedIndex >= 0 ? focusedIndex : 0;\n handleTabSelect(filteredTabs[selectedIndex]);\n } else if (event.key === 'Tab') {\n event.preventDefault();\n }\n }, [filteredTabs, focusedIndex, handleTabSelect]);\n var tabElements = useMemo(() => filteredTabs.map((tab, index) => {\n var _tab$key;\n return /*#__PURE__*/_jsx(\"li\", {\n ref: el => {\n itemRefs.current[index] = el;\n },\n onMouseDown: handleMouseDown,\n children: /*#__PURE__*/_jsxs(Button, {\n kind: \"ghost\",\n \"data-testid\": \"dashboard-list-item-\".concat((_tab$key = tab.key) !== null && _tab$key !== void 0 ? _tab$key : '', \"-button\"),\n onClick: () => handleTabSelect(tab),\n className: focusedIndex === index ? 'focused' : '',\n style: {\n transition: 'none'\n },\n children: [tab.icon ? /*#__PURE__*/_jsx(\"span\", {\n className: \"dashboard-list-item-icon\",\n children: /*#__PURE__*/React.isValidElement(tab.icon) ? tab.icon : /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: tab.icon\n })\n }) : null, tab.title]\n })\n }, tab.key);\n }), [filteredTabs, handleTabSelect, focusedIndex, handleMouseDown]);\n var errorElement = useMemo(() => tabElements.length === 0 ? /*#__PURE__*/_jsx(\"span\", {\n children: \"No open dashboard found.\"\n }) : null, [tabElements]);\n return /*#__PURE__*/_jsxs(\"div\", {\n className: \"dashboard-list-container d-flex flex-column\",\n children: [/*#__PURE__*/_jsx(\"div\", {\n className: \"dashboard-list-header\",\n children: /*#__PURE__*/_jsx(SearchInput, {\n value: searchText,\n placeholder: \"Find open dashboard\",\n endPlaceholder: GLOBAL_SHORTCUTS.OPEN_DASHBOARD_LIST.getDisplayText(),\n onChange: handleSearchChange,\n onKeyDown: handleSearchKeyDown,\n ref: searchField\n })\n }), /*#__PURE__*/_jsxs(\"ul\", {\n className: \"dashboard-list flex-grow-1\",\n ref: listRef,\n children: [errorElement && /*#__PURE__*/_jsx(\"li\", {\n className: \"dashboard-list-message\",\n children: errorElement\n }), !errorElement && tabElements]\n })]\n });\n}\nexport default DashboardList;\n//# sourceMappingURL=DashboardList.js.map","function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport classNames from 'classnames';\nimport clamp from 'lodash.clamp';\nimport { DragDropContext, Droppable } from '@hello-pangea/dnd';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { vsChevronRight, vsChevronLeft, vsChevronDown } from '@deephaven/icons';\nimport { useResizeObserver } from '@deephaven/react-hooks';\nimport DragUtils from \"../DragUtils.js\";\nimport Button from \"../Button.js\";\nimport NavTab from \"./NavTab.js\";\nimport \"./NavTabList.css\";\nimport { ContextActions } from \"../context-actions/index.js\";\nimport Popper from \"../popper/Popper.js\";\nimport DashboardList from \"./DashboardList.js\";\nimport { GLOBAL_SHORTCUTS } from \"../shortcuts/index.js\"; // mouse hold timeout to act as hold instead of click\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nvar CLICK_TIMEOUT = 500;\n\n// mouse hold acceleration\nvar START_SPEED = 0.01;\nvar ACCELERATION = 0.0005;\nfunction isScrolledLeft(element) {\n return element.scrollLeft === 0;\n}\nfunction isScrolledRight(element) {\n return (\n // single pixel buffer to account for sub-pixel rendering\n Math.abs(element.scrollLeft + element.clientWidth - element.scrollWidth) <= 1 || element.scrollWidth === 0\n );\n}\nfunction makeBaseContextActions(tab, tabs, onClose) {\n var {\n isClosable = false,\n key\n } = tab;\n var contextActions = [];\n if (isClosable && onClose != null) {\n contextActions.push({\n title: 'Close',\n order: 10,\n group: 20,\n action: () => {\n onClose(key);\n }\n });\n var disabled = true;\n for (var i = tabs.length - 1; i > 0; i -= 1) {\n if (tabs[i].key === tab.key) break;\n if (tabs[i].isClosable === true) {\n disabled = false;\n break;\n }\n }\n contextActions.push({\n title: 'Close to the Right',\n order: 20,\n group: 20,\n action: () => {\n for (var _i = tabs.length - 1; _i > 0; _i -= 1) {\n if (tabs[_i].key === key) break;\n if (tabs[_i].isClosable === true) onClose(tabs[_i].key);\n }\n },\n disabled\n });\n contextActions.push({\n title: 'Close All',\n order: 30,\n group: 20,\n action: () => {\n tabs.forEach(t => {\n if (t.isClosable === true) onClose(t.key);\n });\n }\n });\n }\n return contextActions;\n}\nfunction NavTabList(_ref) {\n var {\n activeKey,\n tabs,\n onSelect,\n onReorder,\n onClose,\n makeContextActions,\n renderAfterTabContent\n } = _ref;\n var containerRef = useRef();\n var [isOverflowing, setIsOverflowing] = useState(true);\n var [isDashboardTabMenuShown, setIsDashboardTabMenuShown] = useState(false);\n var [disableScrollLeft, setDisableScrollLeft] = useState(true);\n var [disableScrollRight, setDisableScrollRight] = useState(true);\n var handleResize = useCallback(() => {\n if (containerRef.current == null) {\n return;\n }\n if (containerRef.current.clientWidth < containerRef.current.scrollWidth && tabs.length > 0) {\n setIsOverflowing(true);\n } else {\n setIsOverflowing(false);\n }\n setDisableScrollLeft(isScrolledLeft(containerRef.current));\n setDisableScrollRight(isScrolledRight(containerRef.current));\n }, [tabs]);\n useResizeObserver(containerRef.current, handleResize);\n var onDragEnd = useCallback(result => {\n DragUtils.stopDragging();\n\n // dropped outside the list\n if (!result.destination) {\n return;\n }\n onReorder === null || onReorder === void 0 || onReorder(result.source.index, result.destination.index);\n }, [onReorder]);\n var handleScroll = useCallback(() => {\n if (containerRef.current == null) {\n return;\n }\n var shouldDisableScrollLeft = isScrolledLeft(containerRef.current);\n if (shouldDisableScrollLeft !== disableScrollLeft) {\n setDisableScrollLeft(shouldDisableScrollLeft);\n }\n var shouldDisableScrollRight = isScrolledRight(containerRef.current);\n if (shouldDisableScrollRight !== disableScrollRight) {\n setDisableScrollRight(shouldDisableScrollRight);\n }\n }, [disableScrollLeft, disableScrollRight]);\n var continuousScrollRef = useRef({\n cancelClick: false\n });\n var handleLeftClick = useCallback(() => {\n if (containerRef.current == null || continuousScrollRef.current.cancelClick) {\n return;\n }\n var {\n children\n } = containerRef.current;\n for (var i = children.length - 1; i >= 0; i -= 1) {\n var child = children[i];\n // Subtract 5px from left edge to account for rounding of offset values\n if (child.offsetLeft < containerRef.current.scrollLeft - 5) {\n child.scrollIntoView({\n behavior: 'smooth',\n block: 'nearest',\n inline: 'start'\n });\n return;\n }\n }\n }, []);\n var handleRightClick = useCallback(() => {\n if (containerRef.current == null || continuousScrollRef.current.cancelClick) {\n return;\n }\n var {\n children\n } = containerRef.current;\n for (var i = 0; i < children.length; i += 1) {\n var child = children[i];\n // Subtract 5px from right edge to account for rounding of offset values\n if (child.offsetLeft + child.offsetWidth - 5 > containerRef.current.scrollLeft + containerRef.current.offsetWidth) {\n child.scrollIntoView({\n behavior: 'smooth',\n block: 'nearest',\n inline: 'end'\n });\n return;\n }\n }\n }, []);\n\n /**\n * Recurively called after initial timeout on mousedown. Continuously scroll with acceleration.\n * Cancelled by mouseup handler cancelling the animationFrame.\n * @param direction of scroll, left or right\n * @param startX starting position of scroll\n * @param deltaX delta from intial startX calculated recursively\n * @param prevTimestamp called on subsequent delta frames\n */\n var handleMouseRepeat = useCallback(function (direction, startX) {\n var deltaX = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n var prevTimestamp = arguments.length > 3 ? arguments[3] : undefined;\n var container = containerRef.current;\n if (container == null) {\n return;\n }\n continuousScrollRef.current.cancelClick = true;\n if (direction === 'left') {\n // eslint-disable-next-line no-param-reassign\n container.scrollLeft = startX - deltaX;\n } else if (direction === 'right') {\n // eslint-disable-next-line no-param-reassign\n container.scrollLeft = startX + deltaX;\n }\n\n // eslint-disable-next-line no-param-reassign\n continuousScrollRef.current.rAF = requestAnimationFrame(timestamp => {\n var startTime = prevTimestamp !== null && prevTimestamp !== void 0 ? prevTimestamp : timestamp;\n var deltaTime = timestamp - startTime;\n var newDeltaX = START_SPEED * deltaTime + 0.5 * ACCELERATION * deltaTime ** 2;\n newDeltaX = Math.min(newDeltaX, container.scrollWidth);\n // scrollLeft enforces a limit but no point letting delta increment beyond scrollWidth\n\n handleMouseRepeat(direction, startX, newDeltaX, startTime);\n });\n }, []);\n var endContinuousScroll = useCallback(() => {\n var {\n holdTimer,\n rAF\n } = continuousScrollRef.current;\n if (holdTimer != null) {\n clearTimeout(holdTimer);\n continuousScrollRef.current.holdTimer = undefined;\n }\n if (rAF != null) {\n cancelAnimationFrame(rAF);\n continuousScrollRef.current.rAF = undefined;\n }\n window.removeEventListener('mouseup', endContinuousScroll);\n }, []);\n useEffect(() => () => window.removeEventListener('mouseup', endContinuousScroll), [endContinuousScroll]);\n var handleMouseDown = useCallback(direction => {\n if (containerRef.current != null) {\n continuousScrollRef.current.holdTimer = window.setTimeout(handleMouseRepeat, CLICK_TIMEOUT, direction, containerRef.current.scrollLeft);\n }\n continuousScrollRef.current.cancelClick = false;\n window.addEventListener('mouseup', endContinuousScroll);\n }, [endContinuousScroll, handleMouseRepeat]);\n var handleMouseDownLeft = useCallback(() => {\n handleMouseDown('left');\n }, [handleMouseDown]);\n var handleMouseDownRight = useCallback(() => {\n handleMouseDown('right');\n }, [handleMouseDown]);\n\n // React binds to the root as a passive listener for wheel\n // This prevents the wheel event from being canceled\n // Bypass React's event system so we can prevent the default behavior\n // https://github.com/facebook/react/issues/14856\n useEffect(function handleWheel() {\n var _containerRef$current;\n var onWheel = e => {\n e.stopPropagation();\n e.preventDefault();\n var nav = e.currentTarget;\n var delta = Math.abs(e.deltaY) > Math.abs(e.deltaX) ? e.deltaY : e.deltaX;\n\n // Scrolling jumps too far sometimes, so clamp to get a smoother scroll\n nav.scrollLeft += clamp(delta, -30, 30);\n };\n (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 || _containerRef$current.addEventListener('wheel', onWheel);\n return () => {\n var _containerRef$current2;\n (_containerRef$current2 = containerRef.current) === null || _containerRef$current2 === void 0 || _containerRef$current2.removeEventListener('wheel', onWheel);\n };\n }, []);\n var tabContextActionMap = useMemo(() => {\n var tabContextActions = new Map();\n tabs.forEach(tab => {\n var {\n key\n } = tab;\n var contextActions = [() => makeBaseContextActions(tab, tabs, onClose), () => {\n var _makeContextActions;\n return (_makeContextActions = makeContextActions === null || makeContextActions === void 0 ? void 0 : makeContextActions(tab)) !== null && _makeContextActions !== void 0 ? _makeContextActions : [];\n }];\n tabContextActions.set(key, contextActions);\n });\n return tabContextActions;\n }, [makeContextActions, tabs, onClose]);\n var activeTabRef = useRef(null);\n var activeTab = tabs.find(tab => tab.key === activeKey);\n var navTabs = tabs.map((tab, index) => {\n var {\n key\n } = tab;\n var isActive = tab === activeTab;\n return /*#__PURE__*/_jsx(NavTab, {\n tab: tab,\n index: index,\n isActive: isActive,\n activeRef: activeTabRef,\n onSelect: onSelect,\n onClose: onClose,\n isDraggable: onReorder != null,\n contextActions: tabContextActionMap.get(key),\n renderAfterTabContent: renderAfterTabContent\n }, key);\n });\n useEffect(\n // Needs to be in a useEffect so the ref is updated\n function scrollActiveTabIntoView() {\n if (activeTabRef.current != null) {\n activeTabRef.current.scrollIntoView({\n block: 'nearest',\n inline: 'nearest'\n });\n }\n }, [activeKey]);\n var handleDashboardMenuClick = () => {\n setIsDashboardTabMenuShown(!isDashboardTabMenuShown);\n };\n var handleDashboardMenuSelect = tab => {\n setIsDashboardTabMenuShown(false);\n onSelect(tab.key);\n };\n var handleDashboardMenuClose = () => {\n setIsDashboardTabMenuShown(false);\n };\n return /*#__PURE__*/_jsxs(\"nav\", {\n className: \"nav-container\",\n children: [isOverflowing && /*#__PURE__*/_jsx(Button, {\n kind: \"ghost\",\n icon: /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: vsChevronLeft,\n transform: \"grow-4\"\n }),\n className: \"tab-controls-btn tab-controls-btn-left\",\n tooltip: \"Scroll left\",\n onClick: handleLeftClick,\n onMouseDown: handleMouseDownLeft,\n disabled: disableScrollLeft\n }), /*#__PURE__*/_jsx(DragDropContext, {\n onDragStart: DragUtils.startDragging,\n onDragEnd: onDragEnd,\n children: /*#__PURE__*/_jsx(Droppable, {\n droppableId: \"droppable-tab-navigation\",\n direction: \"horizontal\",\n children: (provided, snapshot) => /*#__PURE__*/_jsxs(\"div\", _objectSpread(_objectSpread({\n ref: r => {\n if (r == null) {\n return;\n }\n containerRef.current = r;\n provided.innerRef(r);\n }\n // eslint-disable-next-line react/jsx-props-no-spreading\n }, provided.droppableProps), {}, {\n className: classNames('nav nav-tabs', {\n dragging: snapshot.draggingFromThisWith\n }),\n role: \"tablist\",\n onScroll: handleScroll,\n children: [navTabs, provided.placeholder]\n }))\n })\n }), isOverflowing && /*#__PURE__*/_jsx(Button, {\n kind: \"ghost\",\n icon: /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: vsChevronRight,\n transform: \"grow-4\"\n }),\n className: \"tab-controls-btn tab-controls-btn-right\",\n tooltip: \"Scroll right\",\n onClick: handleRightClick,\n onMouseDown: handleMouseDownRight,\n disabled: disableScrollRight\n }), /*#__PURE__*/_jsx(Button, {\n kind: \"ghost\",\n icon: /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: vsChevronDown,\n transform: \"grow-4\"\n }),\n className: \"btn-dashboard-list-menu btn-show-dashboard-list\",\n tooltip: \"Search open dashboards\",\n onClick: handleDashboardMenuClick,\n disabled: tabs.length < 2,\n style: {\n visibility: isOverflowing ? 'visible' : 'hidden',\n marginLeft: 'auto'\n },\n children: /*#__PURE__*/_jsx(Popper, {\n isShown: isDashboardTabMenuShown,\n className: \"dashboard-list-menu-popper\",\n onExited: handleDashboardMenuClose,\n options: {\n placement: 'bottom-start'\n },\n closeOnBlur: true,\n interactive: true,\n children: /*#__PURE__*/_jsx(DashboardList, {\n tabs: tabs,\n onSelect: handleDashboardMenuSelect\n })\n })\n }), /*#__PURE__*/_jsx(ContextActions, {\n actions: [{\n action: () => {\n setIsDashboardTabMenuShown(!isDashboardTabMenuShown);\n },\n shortcut: GLOBAL_SHORTCUTS.OPEN_DASHBOARD_LIST,\n isGlobal: true\n }]\n })]\n });\n}\nexport default NavTabList;\n//# sourceMappingURL=NavTabList.js.map","import { useEffect, useMemo } from 'react';\nimport useApi from \"./useApi.js\";\nexport function useCreateClient(serverUrl, options) {\n var api = useApi();\n var client = useMemo(() => new api.CoreClient(serverUrl, options), [api, serverUrl, options]);\n useEffect(() => () => {\n client.disconnect();\n }, [client]);\n return client;\n}\nexport default useCreateClient;\n//# sourceMappingURL=useCreateClient.js.map","import React, { createContext } from 'react';\nimport useCreateClient from \"./useCreateClient.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var ClientContext = /*#__PURE__*/createContext(null);\nClientContext.displayName = 'ClientContext';\n/**\n * ClientBootstrap component. Handles creating the client.\n */\nexport function ClientBootstrap(_ref) {\n var {\n serverUrl,\n options,\n children\n } = _ref;\n var client = useCreateClient(serverUrl, options);\n return /*#__PURE__*/_jsx(ClientContext.Provider, {\n value: client,\n children: children\n });\n}\nexport default ClientBootstrap;\n//# sourceMappingURL=ClientBootstrap.js.map","import { useContextOrThrow } from '@deephaven/react-hooks';\nimport { ClientContext } from \"./ClientBootstrap.js\";\nexport function useClient() {\n return useContextOrThrow(ClientContext, 'No Client available in useClient. Was code wrapped in ClientBootstrap or ClientContext.Provider?');\n}\nexport default useClient;\n//# sourceMappingURL=useClient.js.map","// Copied from https://github.com/astral-sh/ruff/blob/0.6.2/ruff.schema.json\n// Update the tag to the right version if updating the Ruff version\n\n// Schema v0.6.2\nvar schema = {\n $schema: 'http://json-schema.org/draft-07/schema#',\n title: 'Options',\n type: 'object',\n properties: {\n 'allowed-confusables': {\n description: 'A list of allowed \"confusable\" Unicode characters to ignore when enforcing `RUF001`, `RUF002`, and `RUF003`.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n type: 'string',\n maxLength: 1,\n minLength: 1\n }\n },\n builtins: {\n description: 'A list of builtins to treat as defined references, in addition to the system builtins.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'cache-dir': {\n description: 'A path to the cache directory.\\n\\nBy default, Ruff stores cache results in a `.ruff_cache` directory in the current project root.\\n\\nHowever, Ruff will also respect the `RUFF_CACHE_DIR` environment variable, which takes precedence over that default.\\n\\nThis setting will override even the `RUFF_CACHE_DIR` environment variable, if set.',\n type: ['string', 'null']\n },\n 'dummy-variable-rgx': {\n description: 'A regular expression used to identify \"dummy\" variables, or those which should be ignored when enforcing (e.g.) unused-variable rules. The default expression matches `_`, `__`, and `_var`, but not `_var_`.',\n deprecated: true,\n type: ['string', 'null']\n },\n exclude: {\n description: \"A list of file patterns to exclude from formatting and linting.\\n\\nExclusions are based on globs, and can be either:\\n\\n- Single-path patterns, like `.mypy_cache` (to exclude any directory named `.mypy_cache` in the tree), `foo.py` (to exclude any file named `foo.py`), or `foo_*.py` (to exclude any file matching `foo_*.py` ). - Relative patterns, like `directory/foo.py` (to exclude that specific file) or `directory/*.py` (to exclude any Python files in `directory`). Note that these paths are relative to the project root (e.g., the directory containing your `pyproject.toml`).\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).\\n\\nNote that you'll typically want to use [`extend-exclude`](#extend-exclude) to modify the excluded paths.\",\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'explicit-preview-rules': {\n description: 'Whether to require exact codes to select preview rules. When enabled, preview rules will not be selected by prefixes — the full code of each preview rule will be required to enable the rule.',\n deprecated: true,\n type: ['boolean', 'null']\n },\n extend: {\n description: 'A path to a local `pyproject.toml` file to merge into this configuration. User home directory and environment variables will be expanded.\\n\\nTo resolve the current `pyproject.toml` file, Ruff will first resolve this base configuration file, then merge in any properties defined in the current configuration file.',\n type: ['string', 'null']\n },\n 'extend-exclude': {\n description: 'A list of file patterns to omit from formatting and linting, in addition to those specified by [`exclude`](#exclude).\\n\\nExclusions are based on globs, and can be either:\\n\\n- Single-path patterns, like `.mypy_cache` (to exclude any directory named `.mypy_cache` in the tree), `foo.py` (to exclude any file named `foo.py`), or `foo_*.py` (to exclude any file matching `foo_*.py` ). - Relative patterns, like `directory/foo.py` (to exclude that specific file) or `directory/*.py` (to exclude any Python files in `directory`). Note that these paths are relative to the project root (e.g., the directory containing your `pyproject.toml`).\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'extend-fixable': {\n description: 'A list of rule codes or prefixes to consider fixable, in addition to those specified by [`fixable`](#lint_fixable).',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-ignore': {\n description: 'A list of rule codes or prefixes to ignore, in addition to those specified by `ignore`.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-include': {\n description: 'A list of file patterns to include when linting, in addition to those specified by [`include`](#include).\\n\\nInclusion are based on globs, and should be single-path patterns, like `*.pyw`, to include any file with the `.pyw` extension.\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'extend-per-file-ignores': {\n description: 'A list of mappings from file pattern to rule codes or prefixes to exclude, in addition to any rules excluded by [`per-file-ignores`](#lint_per-file-ignores).',\n deprecated: true,\n type: ['object', 'null'],\n additionalProperties: {\n type: 'array',\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n }\n },\n 'extend-safe-fixes': {\n description: 'A list of rule codes or prefixes for which unsafe fixes should be considered safe.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-select': {\n description: 'A list of rule codes or prefixes to enable, in addition to those specified by [`select`](#lint_select).',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-unfixable': {\n description: 'A list of rule codes or prefixes to consider non-auto-fixable, in addition to those specified by [`unfixable`](#lint_unfixable).',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-unsafe-fixes': {\n description: 'A list of rule codes or prefixes for which safe fixes should be considered unsafe.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n external: {\n description: 'A list of rule codes or prefixes that are unsupported by Ruff, but should be preserved when (e.g.) validating `# noqa` directives. Useful for retaining `# noqa` directives that cover plugins not yet implemented by Ruff.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n fix: {\n description: 'Enable fix behavior by-default when running `ruff` (overridden by the `--fix` and `--no-fix` command-line flags). Only includes automatic fixes unless `--unsafe-fixes` is provided.',\n type: ['boolean', 'null']\n },\n 'fix-only': {\n description: 'Like [`fix`](#fix), but disables reporting on leftover violation. Implies [`fix`](#fix).',\n type: ['boolean', 'null']\n },\n fixable: {\n description: 'A list of rule codes or prefixes to consider fixable. By default, all rules are considered fixable.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'flake8-annotations': {\n description: 'Options for the `flake8-annotations` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8AnnotationsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-bandit': {\n description: 'Options for the `flake8-bandit` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8BanditOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-boolean-trap': {\n description: 'Options for the `flake8-boolean-trap` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8BooleanTrapOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-bugbear': {\n description: 'Options for the `flake8-bugbear` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8BugbearOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-builtins': {\n description: 'Options for the `flake8-builtins` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8BuiltinsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-comprehensions': {\n description: 'Options for the `flake8-comprehensions` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8ComprehensionsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-copyright': {\n description: 'Options for the `flake8-copyright` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8CopyrightOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-errmsg': {\n description: 'Options for the `flake8-errmsg` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8ErrMsgOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-gettext': {\n description: 'Options for the `flake8-gettext` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8GetTextOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-implicit-str-concat': {\n description: 'Options for the `flake8-implicit-str-concat` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8ImplicitStrConcatOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-import-conventions': {\n description: 'Options for the `flake8-import-conventions` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8ImportConventionsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-pytest-style': {\n description: 'Options for the `flake8-pytest-style` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8PytestStyleOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-quotes': {\n description: 'Options for the `flake8-quotes` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8QuotesOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-self': {\n description: 'Options for the `flake8_self` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8SelfOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-tidy-imports': {\n description: 'Options for the `flake8-tidy-imports` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8TidyImportsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-type-checking': {\n description: 'Options for the `flake8-type-checking` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8TypeCheckingOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-unused-arguments': {\n description: 'Options for the `flake8-unused-arguments` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8UnusedArgumentsOptions'\n }, {\n type: 'null'\n }]\n },\n 'force-exclude': {\n description: \"Whether to enforce [`exclude`](#exclude) and [`extend-exclude`](#extend-exclude) patterns, even for paths that are passed to Ruff explicitly. Typically, Ruff will lint any paths passed in directly, even if they would typically be excluded. Setting `force-exclude = true` will cause Ruff to respect these exclusions unequivocally.\\n\\nThis is useful for [`pre-commit`](https://pre-commit.com/), which explicitly passes all changed files to the [`ruff-pre-commit`](https://github.com/astral-sh/ruff-pre-commit) plugin, regardless of whether they're marked as excluded by Ruff's own settings.\",\n type: ['boolean', 'null']\n },\n format: {\n description: 'Options to configure code formatting.',\n anyOf: [{\n $ref: '#/definitions/FormatOptions'\n }, {\n type: 'null'\n }]\n },\n ignore: {\n description: 'A list of rule codes or prefixes to ignore. Prefixes can specify exact rules (like `F841`), entire categories (like `F`), or anything in between.\\n\\nWhen breaking ties between enabled and disabled rules (via `select` and `ignore`, respectively), more specific prefixes override less specific prefixes.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'ignore-init-module-imports': {\n description: \"Avoid automatically removing unused imports in `__init__.py` files. Such imports will still be flagged, but with a dedicated message suggesting that the import is either added to the module's `__all__` symbol, or re-exported with a redundant alias (e.g., `import os as os`).\\n\\nThis option is enabled by default, but you can opt-in to removal of imports via an unsafe fix.\",\n deprecated: true,\n type: ['boolean', 'null']\n },\n include: {\n description: 'A list of file patterns to include when linting.\\n\\nInclusion are based on globs, and should be single-path patterns, like `*.pyw`, to include any file with the `.pyw` extension. `pyproject.toml` is included here not for configuration but because we lint whether e.g. the `[project]` matches the schema.\\n\\nNotebook files (`.ipynb` extension) are included by default on Ruff 0.6.0+.\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'indent-width': {\n description: 'The number of spaces per indentation level (tab).\\n\\nUsed by the formatter and when enforcing long-line violations (like `E501`) to determine the visual width of a tab.\\n\\nThis option changes the number of spaces the formatter inserts when using soft-tabs (`indent-style = space`).\\n\\nPEP 8 recommends using 4 spaces per [indentation level](https://peps.python.org/pep-0008/#indentation).',\n anyOf: [{\n $ref: '#/definitions/IndentWidth'\n }, {\n type: 'null'\n }]\n },\n isort: {\n description: 'Options for the `isort` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/IsortOptions'\n }, {\n type: 'null'\n }]\n },\n 'line-length': {\n description: \"The line length to use when enforcing long-lines violations (like `E501`) and at which `isort` and the formatter prefers to wrap lines.\\n\\nThe length is determined by the number of characters per line, except for lines containing East Asian characters or emojis. For these lines, the [unicode width](https://unicode.org/reports/tr11/) of each character is added up to determine the length.\\n\\nThe value must be greater than `0` and less than or equal to `320`.\\n\\nNote: While the formatter will attempt to format lines such that they remain within the `line-length`, it isn't a hard upper bound, and formatted lines may exceed the `line-length`.\\n\\nSee [`pycodestyle.max-line-length`](#lint_pycodestyle_max-line-length) to configure different lengths for `E501` and the formatter.\",\n anyOf: [{\n $ref: '#/definitions/LineLength'\n }, {\n type: 'null'\n }]\n },\n lint: {\n anyOf: [{\n $ref: '#/definitions/LintOptions'\n }, {\n type: 'null'\n }]\n },\n 'logger-objects': {\n description: 'A list of objects that should be treated equivalently to a `logging.Logger` object.\\n\\nThis is useful for ensuring proper diagnostics (e.g., to identify `logging` deprecations and other best-practices) for projects that re-export a `logging.Logger` object from a common module.\\n\\nFor example, if you have a module `logging_setup.py` with the following contents: ```python import logging\\n\\nlogger = logging.getLogger(__name__) ```\\n\\nAdding `\"logging_setup.logger\"` to `logger-objects` will ensure that `logging_setup.logger` is treated as a `logging.Logger` object when imported from other modules (e.g., `from logging_setup import logger`).',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n mccabe: {\n description: 'Options for the `mccabe` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/McCabeOptions'\n }, {\n type: 'null'\n }]\n },\n 'namespace-packages': {\n description: 'Mark the specified directories as namespace packages. For the purpose of module resolution, Ruff will treat those directories and all their subdirectories as if they contained an `__init__.py` file.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'output-format': {\n description: 'The style in which violation messages should be formatted: `\"full\"` (default) (shows source), `\"concise\"`, `\"grouped\"` (group messages by file), `\"json\"` (machine-readable), `\"junit\"` (machine-readable XML), `\"github\"` (GitHub Actions annotations), `\"gitlab\"` (GitLab CI code quality report), `\"pylint\"` (Pylint text format) or `\"azure\"` (Azure Pipeline logging commands).',\n anyOf: [{\n $ref: '#/definitions/OutputFormat'\n }, {\n type: 'null'\n }]\n },\n 'pep8-naming': {\n description: 'Options for the `pep8-naming` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Pep8NamingOptions'\n }, {\n type: 'null'\n }]\n },\n 'per-file-ignores': {\n description: \"A list of mappings from file pattern to rule codes or prefixes to exclude, when considering any matching files. An initial '!' negates the file pattern.\",\n deprecated: true,\n type: ['object', 'null'],\n additionalProperties: {\n type: 'array',\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n }\n },\n preview: {\n description: 'Whether to enable preview mode. When preview mode is enabled, Ruff will use unstable rules, fixes, and formatting.',\n type: ['boolean', 'null']\n },\n pycodestyle: {\n description: 'Options for the `pycodestyle` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/PycodestyleOptions'\n }, {\n type: 'null'\n }]\n },\n pydocstyle: {\n description: 'Options for the `pydocstyle` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/PydocstyleOptions'\n }, {\n type: 'null'\n }]\n },\n pyflakes: {\n description: 'Options for the `pyflakes` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/PyflakesOptions'\n }, {\n type: 'null'\n }]\n },\n pylint: {\n description: 'Options for the `pylint` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/PylintOptions'\n }, {\n type: 'null'\n }]\n },\n pyupgrade: {\n description: 'Options for the `pyupgrade` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/PyUpgradeOptions'\n }, {\n type: 'null'\n }]\n },\n 'required-version': {\n description: 'Enforce a requirement on the version of Ruff, to enforce at runtime. If the version of Ruff does not meet the requirement, Ruff will exit with an error.\\n\\nUseful for unifying results across many environments, e.g., with a `pyproject.toml` file.\\n\\nAccepts a [PEP 440](https://peps.python.org/pep-0440/) specifier, like `==0.3.1` or `>=0.3.1`.',\n anyOf: [{\n $ref: '#/definitions/RequiredVersion'\n }, {\n type: 'null'\n }]\n },\n 'respect-gitignore': {\n description: 'Whether to automatically exclude files that are ignored by `.ignore`, `.gitignore`, `.git/info/exclude`, and global `gitignore` files. Enabled by default.',\n type: ['boolean', 'null']\n },\n select: {\n description: 'A list of rule codes or prefixes to enable. Prefixes can specify exact rules (like `F841`), entire categories (like `F`), or anything in between.\\n\\nWhen breaking ties between enabled and disabled rules (via `select` and `ignore`, respectively), more specific prefixes override less specific prefixes.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'show-fixes': {\n description: 'Whether to show an enumeration of all fixed lint violations (overridden by the `--show-fixes` command-line flag).',\n type: ['boolean', 'null']\n },\n src: {\n description: 'The directories to consider when resolving first- vs. third-party imports.\\n\\nWhen omitted, the `src` directory will typically default to including both:\\n\\n1. The directory containing the nearest `pyproject.toml`, `ruff.toml`, or `.ruff.toml` file (the \"project root\"). 2. The `\"src\"` subdirectory of the project root.\\n\\nThese defaults ensure that uv supports both flat layouts and `src` layouts out-of-the-box. (If a configuration file is explicitly provided (e.g., via the `--config` command-line flag), the current working directory will be considered the project root.)\\n\\nAs an example, consider an alternative project structure, like:\\n\\n```text my_project ├── pyproject.toml └── lib └── my_package ├── __init__.py ├── foo.py └── bar.py ```\\n\\nIn this case, the `./lib` directory should be included in the `src` option (e.g., `src = [\"lib\"]`), such that when resolving imports, `my_package.foo` is considered first-party.\\n\\nThis field supports globs. For example, if you have a series of Python packages in a `python_modules` directory, `src = [\"python_modules/*\"]` would expand to incorporate all packages in that directory. User home directory and environment variables will also be expanded.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'tab-size': {\n description: 'The number of spaces a tab is equal to when enforcing long-line violations (like `E501`) or formatting code with the formatter.\\n\\nThis option changes the number of spaces inserted by the formatter when using soft-tabs (`indent-style = space`).',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/IndentWidth'\n }, {\n type: 'null'\n }]\n },\n 'target-version': {\n description: 'The minimum Python version to target, e.g., when considering automatic code upgrades, like rewriting type annotations. Ruff will not propose changes using features that are not available in the given version.\\n\\nFor example, to represent supporting Python >=3.10 or ==3.10 specify `target-version = \"py310\"`.\\n\\nIf you\\'re already using a `pyproject.toml` file, we recommend `project.requires-python` instead, as it\\'s based on Python packaging standards, and will be respected by other tools. For example, Ruff treats the following as identical to `target-version = \"py38\"`:\\n\\n```toml [project] requires-python = \">=3.8\" ```\\n\\nIf both are specified, `target-version` takes precedence over `requires-python`.\\n\\nNote that a stub file can [sometimes make use of a typing feature](https://typing.readthedocs.io/en/latest/spec/distributing.html#syntax) before it is available at runtime, as long as the stub does not make use of new *syntax*. For example, a type checker will understand `int | str` in a stub as being a `Union` type annotation, even if the type checker is run using Python 3.9, despite the fact that the `|` operator can only be used to create union types at runtime on Python 3.10+. As such, Ruff will often recommend newer features in a stub file than it would for an equivalent runtime file with the same target version.',\n anyOf: [{\n $ref: '#/definitions/PythonVersion'\n }, {\n type: 'null'\n }]\n },\n 'task-tags': {\n description: 'A list of task tags to recognize (e.g., \"TODO\", \"FIXME\", \"XXX\").\\n\\nComments starting with these tags will be ignored by commented-out code detection (`ERA`), and skipped by line-length rules (`E501`) if [`ignore-overlong-task-comments`](#lint_pycodestyle_ignore-overlong-task-comments) is set to `true`.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'typing-modules': {\n description: 'A list of modules whose exports should be treated equivalently to members of the `typing` module.\\n\\nThis is useful for ensuring proper type annotation inference for projects that re-export `typing` and `typing_extensions` members from a compatibility module. If omitted, any members imported from modules apart from `typing` and `typing_extensions` will be treated as ordinary Python objects.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n unfixable: {\n description: 'A list of rule codes or prefixes to consider non-fixable.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'unsafe-fixes': {\n description: 'Enable application of unsafe fixes. If excluded, a hint will be displayed when unsafe fixes are available. If set to false, the hint will be hidden.',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false,\n definitions: {\n ApiBan: {\n type: 'object',\n required: ['msg'],\n properties: {\n msg: {\n description: 'The message to display when the API is used.',\n type: 'string'\n }\n },\n additionalProperties: false\n },\n BannedAliases: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n ConstantType: {\n type: 'string',\n enum: ['bytes', 'complex', 'float', 'int', 'str']\n },\n Convention: {\n oneOf: [{\n description: 'Use Google-style docstrings.',\n type: 'string',\n enum: ['google']\n }, {\n description: 'Use NumPy-style docstrings.',\n type: 'string',\n enum: ['numpy']\n }, {\n description: 'Use PEP257-style docstrings.',\n type: 'string',\n enum: ['pep257']\n }]\n },\n DocstringCodeLineWidth: {\n anyOf: [{\n description: 'Wrap docstring code examples at a fixed line width.',\n allOf: [{\n $ref: '#/definitions/LineWidth'\n }]\n }, {\n description: 'Respect the line length limit setting for the surrounding Python code.',\n allOf: [{\n $ref: '#/definitions/Dynamic'\n }]\n }]\n },\n Dynamic: {\n type: 'string',\n const: 'dynamic'\n },\n Flake8AnnotationsOptions: {\n type: 'object',\n properties: {\n 'allow-star-arg-any': {\n description: 'Whether to suppress `ANN401` for dynamically typed `*args` and `**kwargs` arguments.',\n type: ['boolean', 'null']\n },\n 'ignore-fully-untyped': {\n description: \"Whether to suppress `ANN*` rules for any declaration that hasn't been typed at all. This makes it easier to gradually add types to a codebase.\",\n type: ['boolean', 'null']\n },\n 'mypy-init-return': {\n description: 'Whether to allow the omission of a return type hint for `__init__` if at least one argument is annotated.',\n type: ['boolean', 'null']\n },\n 'suppress-dummy-args': {\n description: 'Whether to suppress `ANN000`-level violations for arguments matching the \"dummy\" variable regex (like `_`).',\n type: ['boolean', 'null']\n },\n 'suppress-none-returning': {\n description: 'Whether to suppress `ANN200`-level violations for functions that meet either of the following criteria:\\n\\n- Contain no `return` statement. - Explicit `return` statement(s) all return `None` (explicitly or implicitly).',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n Flake8BanditOptions: {\n type: 'object',\n properties: {\n 'check-typed-exception': {\n description: 'Whether to disallow `try`-`except`-`pass` (`S110`) for specific exception types. By default, `try`-`except`-`pass` is only disallowed for `Exception` and `BaseException`.',\n type: ['boolean', 'null']\n },\n 'hardcoded-tmp-directory': {\n description: 'A list of directories to consider temporary.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'hardcoded-tmp-directory-extend': {\n description: 'A list of directories to consider temporary, in addition to those specified by [`hardcoded-tmp-directory`](#lint_flake8-bandit_hardcoded-tmp-directory).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8BooleanTrapOptions: {\n type: 'object',\n properties: {\n 'extend-allowed-calls': {\n description: 'Additional callable functions with which to allow boolean traps.\\n\\nExpects to receive a list of fully-qualified names (e.g., `pydantic.Field`, rather than `Field`).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8BugbearOptions: {\n type: 'object',\n properties: {\n 'extend-immutable-calls': {\n description: 'Additional callable functions to consider \"immutable\" when evaluating, e.g., the `function-call-in-default-argument` rule (`B008`) or `function-call-in-dataclass-defaults` rule (`RUF009`).\\n\\nExpects to receive a list of fully-qualified names (e.g., `fastapi.Query`, rather than `Query`).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8BuiltinsOptions: {\n type: 'object',\n properties: {\n 'builtins-allowed-modules': {\n description: 'List of builtin module names to allow.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'builtins-ignorelist': {\n description: 'Ignore list of builtins.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8ComprehensionsOptions: {\n type: 'object',\n properties: {\n 'allow-dict-calls-with-keyword-arguments': {\n description: 'Allow `dict` calls that make use of keyword arguments (e.g., `dict(a=1, b=2)`).',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n Flake8CopyrightOptions: {\n type: 'object',\n properties: {\n author: {\n description: 'Author to enforce within the copyright notice. If provided, the author must be present immediately following the copyright notice.',\n type: ['string', 'null']\n },\n 'min-file-size': {\n description: 'A minimum file size (in bytes) required for a copyright notice to be enforced. By default, all files are validated.',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'notice-rgx': {\n description: 'The regular expression used to match the copyright notice, compiled with the [`regex`](https://docs.rs/regex/latest/regex/) crate. Defaults to `(?i)Copyright\\\\s+((?:\\\\(C\\\\)|©)\\\\s+)?\\\\d{4}((-|,\\\\s)\\\\d{4})*`, which matches the following:\\n\\n- `Copyright 2023` - `Copyright (C) 2023` - `Copyright 2021-2023` - `Copyright (C) 2021-2023` - `Copyright (C) 2021, 2023`',\n type: ['string', 'null']\n }\n },\n additionalProperties: false\n },\n Flake8ErrMsgOptions: {\n type: 'object',\n properties: {\n 'max-string-length': {\n description: 'Maximum string length for string literals in exception messages.',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n }\n },\n additionalProperties: false\n },\n Flake8GetTextOptions: {\n type: 'object',\n properties: {\n 'extend-function-names': {\n description: 'Additional function names to consider as internationalization calls, in addition to those included in [`function-names`](#lint_flake8-gettext_function-names).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'function-names': {\n description: 'The function names to consider as internationalization calls.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8ImplicitStrConcatOptions: {\n type: 'object',\n properties: {\n 'allow-multiline': {\n description: 'Whether to allow implicit string concatenations for multiline strings. By default, implicit concatenations of multiline strings are allowed (but continuation lines, delimited with a backslash, are prohibited).\\n\\nSetting `allow-multiline = false` will automatically disable the `explicit-string-concatenation` (`ISC003`) rule. Otherwise, both implicit and explicit multiline string concatenations would be seen as violations, making it impossible to write a linter-compliant multiline string.',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n Flake8ImportConventionsOptions: {\n type: 'object',\n properties: {\n aliases: {\n description: 'The conventional aliases for imports. These aliases can be extended by the [`extend-aliases`](#lint_flake8-import-conventions_extend-aliases) option.',\n type: ['object', 'null'],\n additionalProperties: {\n type: 'string'\n }\n },\n 'banned-aliases': {\n description: 'A mapping from module to its banned import aliases.',\n type: ['object', 'null'],\n additionalProperties: {\n $ref: '#/definitions/BannedAliases'\n }\n },\n 'banned-from': {\n description: 'A list of modules that should not be imported from using the `from ... import ...` syntax.\\n\\nFor example, given `banned-from = [\"pandas\"]`, `from pandas import DataFrame` would be disallowed, while `import pandas` would be allowed.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n },\n uniqueItems: true\n },\n 'extend-aliases': {\n description: 'A mapping from module to conventional import alias. These aliases will be added to the [`aliases`](#lint_flake8-import-conventions_aliases) mapping.',\n type: ['object', 'null'],\n additionalProperties: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8PytestStyleOptions: {\n type: 'object',\n properties: {\n 'fixture-parentheses': {\n description: 'Boolean flag specifying whether `@pytest.fixture()` without parameters should have parentheses. If the option is set to `false` (the default), `@pytest.fixture` is valid and `@pytest.fixture()` is invalid. If set to `true`, `@pytest.fixture()` is valid and `@pytest.fixture` is invalid.',\n type: ['boolean', 'null']\n },\n 'mark-parentheses': {\n description: 'Boolean flag specifying whether `@pytest.mark.foo()` without parameters should have parentheses. If the option is set to `false` (the default), `@pytest.mark.foo` is valid and `@pytest.mark.foo()` is invalid. If set to `true`, `@pytest.mark.foo()` is valid and `@pytest.mark.foo` is invalid.',\n type: ['boolean', 'null']\n },\n 'parametrize-names-type': {\n description: 'Expected type for multiple argument names in `@pytest.mark.parametrize`. The following values are supported:\\n\\n- `csv` — a comma-separated list, e.g. `@pytest.mark.parametrize(\"name1,name2\", ...)` - `tuple` (default) — e.g. `@pytest.mark.parametrize((\"name1\", \"name2\"), ...)` - `list` — e.g. `@pytest.mark.parametrize([\"name1\", \"name2\"], ...)`',\n anyOf: [{\n $ref: '#/definitions/ParametrizeNameType'\n }, {\n type: 'null'\n }]\n },\n 'parametrize-values-row-type': {\n description: 'Expected type for each row of values in `@pytest.mark.parametrize` in case of multiple parameters. The following values are supported:\\n\\n- `tuple` (default) — e.g. `@pytest.mark.parametrize((\"name1\", \"name2\"), [(1, 2), (3, 4)])` - `list` — e.g. `@pytest.mark.parametrize((\"name1\", \"name2\"), [[1, 2], [3, 4]])`',\n anyOf: [{\n $ref: '#/definitions/ParametrizeValuesRowType'\n }, {\n type: 'null'\n }]\n },\n 'parametrize-values-type': {\n description: 'Expected type for the list of values rows in `@pytest.mark.parametrize`. The following values are supported:\\n\\n- `tuple` — e.g. `@pytest.mark.parametrize(\"name\", (1, 2, 3))` - `list` (default) — e.g. `@pytest.mark.parametrize(\"name\", [1, 2, 3])`',\n anyOf: [{\n $ref: '#/definitions/ParametrizeValuesType'\n }, {\n type: 'null'\n }]\n },\n 'raises-extend-require-match-for': {\n description: 'List of additional exception names that require a match= parameter in a `pytest.raises()` call. This extends the default list of exceptions that require a match= parameter. This option is useful if you want to extend the default list of exceptions that require a match= parameter without having to specify the entire list. Note that this option does not remove any exceptions from the default list.\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'raises-require-match-for': {\n description: 'List of exception names that require a match= parameter in a `pytest.raises()` call.\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8QuotesOptions: {\n type: 'object',\n properties: {\n 'avoid-escape': {\n description: 'Whether to avoid using single quotes if a string contains single quotes, or vice-versa with double quotes, as per [PEP 8](https://peps.python.org/pep-0008/#string-quotes). This minimizes the need to escape quotation marks within strings.',\n type: ['boolean', 'null']\n },\n 'docstring-quotes': {\n description: 'Quote style to prefer for docstrings (either \"single\" or \"double\").\\n\\nWhen using the formatter, only \"double\" is compatible, as the formatter enforces double quotes for docstrings strings.',\n anyOf: [{\n $ref: '#/definitions/Quote'\n }, {\n type: 'null'\n }]\n },\n 'inline-quotes': {\n description: 'Quote style to prefer for inline strings (either \"single\" or \"double\").\\n\\nWhen using the formatter, ensure that [`format.quote-style`](#format_quote-style) is set to the same preferred quote style.',\n anyOf: [{\n $ref: '#/definitions/Quote'\n }, {\n type: 'null'\n }]\n },\n 'multiline-quotes': {\n description: 'Quote style to prefer for multiline strings (either \"single\" or \"double\").\\n\\nWhen using the formatter, only \"double\" is compatible, as the formatter enforces double quotes for multiline strings.',\n anyOf: [{\n $ref: '#/definitions/Quote'\n }, {\n type: 'null'\n }]\n }\n },\n additionalProperties: false\n },\n Flake8SelfOptions: {\n type: 'object',\n properties: {\n 'extend-ignore-names': {\n description: 'Additional names to ignore when considering `flake8-self` violations, in addition to those included in [`ignore-names`](#lint_flake8-self_ignore-names).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'ignore-names': {\n description: 'A list of names to ignore when considering `flake8-self` violations.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8TidyImportsOptions: {\n type: 'object',\n properties: {\n 'ban-relative-imports': {\n description: 'Whether to ban all relative imports (`\"all\"`), or only those imports that extend into the parent module or beyond (`\"parents\"`).',\n anyOf: [{\n $ref: '#/definitions/Strictness'\n }, {\n type: 'null'\n }]\n },\n 'banned-api': {\n description: 'Specific modules or module members that may not be imported or accessed. Note that this rule is only meant to flag accidental uses, and can be circumvented via `eval` or `importlib`.',\n type: ['object', 'null'],\n additionalProperties: {\n $ref: '#/definitions/ApiBan'\n }\n },\n 'banned-module-level-imports': {\n description: 'List of specific modules that may not be imported at module level, and should instead be imported lazily (e.g., within a function definition, or an `if TYPE_CHECKING:` block, or some other nested context).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8TypeCheckingOptions: {\n type: 'object',\n properties: {\n 'exempt-modules': {\n description: 'Exempt certain modules from needing to be moved into type-checking blocks.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'quote-annotations': {\n description: 'Whether to add quotes around type annotations, if doing so would allow the corresponding import to be moved into a type-checking block.\\n\\nFor example, in the following, Python requires that `Sequence` be available at runtime, despite the fact that it\\'s only used in a type annotation:\\n\\n```python from collections.abc import Sequence\\n\\ndef func(value: Sequence[int]) -> None: ... ```\\n\\nIn other words, moving `from collections.abc import Sequence` into an `if TYPE_CHECKING:` block above would cause a runtime error, as the type would no longer be available at runtime.\\n\\nBy default, Ruff will respect such runtime semantics and avoid moving the import to prevent such runtime errors.\\n\\nSetting `quote-annotations` to `true` will instruct Ruff to add quotes around the annotation (e.g., `\"Sequence[int]\"`), which in turn enables Ruff to move the import into an `if TYPE_CHECKING:` block, like so:\\n\\n```python from typing import TYPE_CHECKING\\n\\nif TYPE_CHECKING: from collections.abc import Sequence\\n\\ndef func(value: \"Sequence[int]\") -> None: ... ```\\n\\nNote that this setting has no effect when `from __future__ import annotations` is present, as `__future__` annotations are always treated equivalently to quoted annotations.',\n type: ['boolean', 'null']\n },\n 'runtime-evaluated-base-classes': {\n description: \"Exempt classes that list any of the enumerated classes as a base class from needing to be moved into type-checking blocks.\\n\\nCommon examples include Pydantic's `pydantic.BaseModel` and SQLAlchemy's `sqlalchemy.orm.DeclarativeBase`, but can also support user-defined classes that inherit from those base classes. For example, if you define a common `DeclarativeBase` subclass that's used throughout your project (e.g., `class Base(DeclarativeBase) ...` in `base.py`), you can add it to this list (`runtime-evaluated-base-classes = [\\\"base.Base\\\"]`) to exempt models from being moved into type-checking blocks.\",\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'runtime-evaluated-decorators': {\n description: \"Exempt classes and functions decorated with any of the enumerated decorators from being moved into type-checking blocks.\\n\\nCommon examples include Pydantic's `@pydantic.validate_call` decorator (for functions) and attrs' `@attrs.define` decorator (for classes).\",\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n strict: {\n description: \"Enforce `TC001`, `TC002`, and `TC003` rules even when valid runtime imports are present for the same module.\\n\\nSee flake8-type-checking's [strict](https://github.com/snok/flake8-type-checking#strict) option.\",\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n Flake8UnusedArgumentsOptions: {\n type: 'object',\n properties: {\n 'ignore-variadic-names': {\n description: 'Whether to allow unused variadic arguments, like `*args` and `**kwargs`.',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n FormatOptions: {\n description: 'Configures the way Ruff formats your code.',\n type: 'object',\n properties: {\n 'docstring-code-format': {\n description: 'Whether to format code snippets in docstrings.\\n\\nWhen this is enabled, Python code examples within docstrings are automatically reformatted.\\n\\nFor example, when this is enabled, the following code:\\n\\n```python def f(x): \"\"\" Something about `f`. And an example in doctest format:\\n\\n>>> f( x )\\n\\nMarkdown is also supported:\\n\\n```py f( x ) ```\\n\\nAs are reStructuredText literal blocks::\\n\\nf( x )\\n\\nAnd reStructuredText code blocks:\\n\\n.. code-block:: python\\n\\nf( x ) \"\"\" pass ```\\n\\n... will be reformatted (assuming the rest of the options are set to their defaults) as:\\n\\n```python def f(x): \"\"\" Something about `f`. And an example in doctest format:\\n\\n>>> f(x)\\n\\nMarkdown is also supported:\\n\\n```py f(x) ```\\n\\nAs are reStructuredText literal blocks::\\n\\nf(x)\\n\\nAnd reStructuredText code blocks:\\n\\n.. code-block:: python\\n\\nf(x) \"\"\" pass ```\\n\\nIf a code snippet in a docstring contains invalid Python code or if the formatter would otherwise write invalid Python code, then the code example is ignored by the formatter and kept as-is.\\n\\nCurrently, doctest, Markdown, reStructuredText literal blocks, and reStructuredText code blocks are all supported and automatically recognized. In the case of unlabeled fenced code blocks in Markdown and reStructuredText literal blocks, the contents are assumed to be Python and reformatted. As with any other format, if the contents aren\\'t valid Python, then the block is left untouched automatically.',\n type: ['boolean', 'null']\n },\n 'docstring-code-line-length': {\n description: 'Set the line length used when formatting code snippets in docstrings.\\n\\nThis only has an effect when the `docstring-code-format` setting is enabled.\\n\\nThe default value for this setting is `\"dynamic\"`, which has the effect of ensuring that any reformatted code examples in docstrings adhere to the global line length configuration that is used for the surrounding Python code. The point of this setting is that it takes the indentation of the docstring into account when reformatting code examples.\\n\\nAlternatively, this can be set to a fixed integer, which will result in the same line length limit being applied to all reformatted code examples in docstrings. When set to a fixed integer, the indent of the docstring is not taken into account. That is, this may result in lines in the reformatted code example that exceed the globally configured line length limit.\\n\\nFor example, when this is set to `20` and [`docstring-code-format`](#docstring-code-format) is enabled, then this code:\\n\\n```python def f(x): \\'\\'\\' Something about `f`. And an example:\\n\\n.. code-block:: python\\n\\nfoo, bar, quux = this_is_a_long_line(lion, hippo, lemur, bear) \\'\\'\\' pass ```\\n\\n... will be reformatted (assuming the rest of the options are set to their defaults) as:\\n\\n```python def f(x): \"\"\" Something about `f`. And an example:\\n\\n.. code-block:: python\\n\\n( foo, bar, quux, ) = this_is_a_long_line( lion, hippo, lemur, bear, ) \"\"\" pass ```',\n anyOf: [{\n $ref: '#/definitions/DocstringCodeLineWidth'\n }, {\n type: 'null'\n }]\n },\n exclude: {\n description: 'A list of file patterns to exclude from formatting in addition to the files excluded globally (see [`exclude`](#exclude), and [`extend-exclude`](#extend-exclude)).\\n\\nExclusions are based on globs, and can be either:\\n\\n- Single-path patterns, like `.mypy_cache` (to exclude any directory named `.mypy_cache` in the tree), `foo.py` (to exclude any file named `foo.py`), or `foo_*.py` (to exclude any file matching `foo_*.py` ). - Relative patterns, like `directory/foo.py` (to exclude that specific file) or `directory/*.py` (to exclude any Python files in `directory`). Note that these paths are relative to the project root (e.g., the directory containing your `pyproject.toml`).\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'indent-style': {\n description: 'Whether to use spaces or tabs for indentation.\\n\\n`indent-style = \"space\"` (default):\\n\\n```python def f(): print(\"Hello\") # Spaces indent the `print` statement. ```\\n\\n`indent-style = \"tab\"`:\\n\\n```python def f(): print(\"Hello\") # A tab `\\\\t` indents the `print` statement. ```\\n\\nPEP 8 recommends using spaces for [indentation](https://peps.python.org/pep-0008/#indentation). We care about accessibility; if you do not need tabs for accessibility, we do not recommend you use them.\\n\\nSee [`indent-width`](#indent-width) to configure the number of spaces per indentation and the tab width.',\n anyOf: [{\n $ref: '#/definitions/IndentStyle'\n }, {\n type: 'null'\n }]\n },\n 'line-ending': {\n description: 'The character Ruff uses at the end of a line.\\n\\n* `auto`: The newline style is detected automatically on a file per file basis. Files with mixed line endings will be converted to the first detected line ending. Defaults to `\\\\n` for files that contain no line endings. * `lf`: Line endings will be converted to `\\\\n`. The default line ending on Unix. * `cr-lf`: Line endings will be converted to `\\\\r\\\\n`. The default line ending on Windows. * `native`: Line endings will be converted to `\\\\n` on Unix and `\\\\r\\\\n` on Windows.',\n anyOf: [{\n $ref: '#/definitions/LineEnding'\n }, {\n type: 'null'\n }]\n },\n preview: {\n description: 'Whether to enable the unstable preview style formatting.',\n type: ['boolean', 'null']\n },\n 'quote-style': {\n description: 'Configures the preferred quote character for strings. The recommended options are\\n\\n* `double` (default): Use double quotes `\"` * `single`: Use single quotes `\\'`\\n\\nIn compliance with [PEP 8](https://peps.python.org/pep-0008/) and [PEP 257](https://peps.python.org/pep-0257/), Ruff prefers double quotes for triple quoted strings and docstrings even when using `quote-style = \"single\"`.\\n\\nRuff deviates from using the configured quotes if doing so prevents the need for escaping quote characters inside the string:\\n\\n```python a = \"a string without any quotes\" b = \"It\\'s monday morning\" ```\\n\\nRuff will change the quotes of the string assigned to `a` to single quotes when using `quote-style = \"single\"`. However, Ruff uses double quotes for the string assigned to `b` because using single quotes would require escaping the `\\'`, which leads to the less readable code: `\\'It\\\\\\'s monday morning\\'`.\\n\\nIn addition, Ruff supports the quote style `preserve` for projects that already use a mixture of single and double quotes and can\\'t migrate to the `double` or `single` style. The quote style `preserve` leaves the quotes of all strings unchanged.',\n anyOf: [{\n $ref: '#/definitions/QuoteStyle'\n }, {\n type: 'null'\n }]\n },\n 'skip-magic-trailing-comma': {\n description: \"Ruff uses existing trailing commas as an indication that short lines should be left separate. If this option is set to `true`, the magic trailing comma is ignored.\\n\\nFor example, Ruff leaves the arguments separate even though collapsing the arguments to a single line doesn't exceed the line length if `skip-magic-trailing-comma = false`:\\n\\n```python # The arguments remain on separate lines because of the trailing comma after `b` def test( a, b, ): pass ```\\n\\nSetting `skip-magic-trailing-comma = true` changes the formatting to:\\n\\n```python # The arguments remain on separate lines because of the trailing comma after `b` def test(a, b): pass ```\",\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n ImportSection: {\n anyOf: [{\n $ref: '#/definitions/ImportType'\n }, {\n type: 'string'\n }]\n },\n ImportType: {\n type: 'string',\n enum: ['future', 'standard-library', 'third-party', 'first-party', 'local-folder']\n },\n IndentStyle: {\n oneOf: [{\n description: 'Use tabs to indent code.',\n type: 'string',\n enum: ['tab']\n }, {\n description: 'Use [`IndentWidth`] spaces to indent code.',\n type: 'string',\n enum: ['space']\n }]\n },\n IndentWidth: {\n description: 'The size of a tab.',\n type: 'integer',\n format: 'uint8',\n minimum: 1.0\n },\n IsortOptions: {\n type: 'object',\n properties: {\n 'case-sensitive': {\n description: 'Sort imports taking into account case sensitivity.',\n type: ['boolean', 'null']\n },\n classes: {\n description: 'An override list of tokens to always recognize as a Class for [`order-by-type`](#lint_isort_order-by-type) regardless of casing.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'combine-as-imports': {\n description: \"Combines as imports on the same line. See isort's [`combine-as-imports`](https://pycqa.github.io/isort/docs/configuration/options.html#combine-as-imports) option.\",\n type: ['boolean', 'null']\n },\n constants: {\n description: 'An override list of tokens to always recognize as a CONSTANT for [`order-by-type`](#lint_isort_order-by-type) regardless of casing.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'default-section': {\n description: \"Define a default section for any imports that don't fit into the specified [`section-order`](#lint_isort_section-order).\",\n anyOf: [{\n $ref: '#/definitions/ImportSection'\n }, {\n type: 'null'\n }]\n },\n 'detect-same-package': {\n description: 'Whether to automatically mark imports from within the same package as first-party. For example, when `detect-same-package = true`, then when analyzing files within the `foo` package, any imports from within the `foo` package will be considered first-party.\\n\\nThis heuristic is often unnecessary when `src` is configured to detect all first-party sources; however, if `src` is _not_ configured, this heuristic can be useful to detect first-party imports from _within_ (but not _across_) first-party packages.',\n type: ['boolean', 'null']\n },\n 'extra-standard-library': {\n description: 'A list of modules to consider standard-library, in addition to those known to Ruff in advance.\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'force-single-line': {\n description: 'Forces all from imports to appear on their own line.',\n type: ['boolean', 'null']\n },\n 'force-sort-within-sections': {\n description: \"Don't sort straight-style imports (like `import sys`) before from-style imports (like `from itertools import groupby`). Instead, sort the imports by module, independent of import style.\",\n type: ['boolean', 'null']\n },\n 'force-to-top': {\n description: 'Force specific imports to the top of their appropriate section.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'force-wrap-aliases': {\n description: \"Force `import from` statements with multiple members and at least one alias (e.g., `import A as B`) to wrap such that every line contains exactly one member. For example, this formatting would be retained, rather than condensing to a single line:\\n\\n```python from .utils import ( test_directory as test_directory, test_id as test_id ) ```\\n\\nNote that this setting is only effective when combined with `combine-as-imports = true`. When [`combine-as-imports`](#lint_isort_combine-as-imports) isn't enabled, every aliased `import from` will be given its own line, in which case, wrapping is not necessary.\\n\\nWhen using the formatter, ensure that [`format.skip-magic-trailing-comma`](#format_skip-magic-trailing-comma) is set to `false` (default) when enabling `force-wrap-aliases` to avoid that the formatter collapses members if they all fit on a single line.\",\n type: ['boolean', 'null']\n },\n 'forced-separate': {\n description: 'A list of modules to separate into auxiliary block(s) of imports, in the order specified.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'from-first': {\n description: 'Whether to place `import from` imports before straight imports when sorting.\\n\\nFor example, by default, imports will be sorted such that straight imports appear before `import from` imports, as in: ```python import os import sys from typing import List ```\\n\\nSetting `from-first = true` will instead sort such that `import from` imports appear before straight imports, as in: ```python from typing import List import os import sys ```',\n type: ['boolean', 'null']\n },\n 'known-first-party': {\n description: 'A list of modules to consider first-party, regardless of whether they can be identified as such via introspection of the local filesystem.\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'known-local-folder': {\n description: 'A list of modules to consider being a local folder. Generally, this is reserved for relative imports (`from . import module`).\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'known-third-party': {\n description: 'A list of modules to consider third-party, regardless of whether they can be identified as such via introspection of the local filesystem.\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'length-sort': {\n description: 'Sort imports by their string length, such that shorter imports appear before longer imports. For example, by default, imports will be sorted alphabetically, as in: ```python import collections import os ```\\n\\nSetting `length-sort = true` will instead sort such that shorter imports appear before longer imports, as in: ```python import os import collections ```',\n type: ['boolean', 'null']\n },\n 'length-sort-straight': {\n description: \"Sort straight imports by their string length. Similar to [`length-sort`](#lint_isort_length-sort), but applies only to straight imports and doesn't affect `from` imports.\",\n type: ['boolean', 'null']\n },\n 'lines-after-imports': {\n description: 'The number of blank lines to place after imports. Use `-1` for automatic determination.\\n\\nRuff uses at most one blank line after imports in typing stub files (files with `.pyi` extension) in accordance to the typing style recommendations ([source](https://typing.readthedocs.io/en/latest/source/stubs.html#blank-lines)).\\n\\nWhen using the formatter, only the values `-1`, `1`, and `2` are compatible because it enforces at least one empty and at most two empty lines after imports.',\n type: ['integer', 'null'],\n format: 'int'\n },\n 'lines-between-types': {\n description: 'The number of lines to place between \"direct\" and `import from` imports.\\n\\nWhen using the formatter, only the values `0` and `1` are compatible because it preserves up to one empty line after imports in nested blocks.',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'no-lines-before': {\n description: 'A list of sections that should _not_ be delineated from the previous section via empty lines.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/ImportSection'\n }\n },\n 'no-sections': {\n description: 'Put all imports into the same section bucket.\\n\\nFor example, rather than separating standard library and third-party imports, as in: ```python import os import sys\\n\\nimport numpy import pandas ```\\n\\nSetting `no-sections = true` will instead group all imports into a single section: ```python import numpy import os import pandas import sys ```',\n type: ['boolean', 'null']\n },\n 'order-by-type': {\n description: 'Order imports by type, which is determined by case, in addition to alphabetically.',\n type: ['boolean', 'null']\n },\n 'relative-imports-order': {\n description: 'Whether to place \"closer\" imports (fewer `.` characters, most local) before \"further\" imports (more `.` characters, least local), or vice versa.\\n\\nThe default (\"furthest-to-closest\") is equivalent to isort\\'s [`reverse-relative`](https://pycqa.github.io/isort/docs/configuration/options.html#reverse-relative) default (`reverse-relative = false`); setting this to \"closest-to-furthest\" is equivalent to isort\\'s `reverse-relative = true`.',\n anyOf: [{\n $ref: '#/definitions/RelativeImportsOrder'\n }, {\n type: 'null'\n }]\n },\n 'required-imports': {\n description: 'Add the specified import line to all files.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/NameImports'\n }\n },\n 'section-order': {\n description: 'Override in which order the sections should be output. Can be used to move custom sections.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/ImportSection'\n }\n },\n sections: {\n description: 'A list of mappings from section names to modules.\\n\\nBy default, imports are categorized according to their type (e.g., `future`, `third-party`, and so on). This setting allows you to group modules into custom sections, to augment or override the built-in sections.\\n\\nFor example, to group all testing utilities, you could create a `testing` section: ```toml testing = [\"pytest\", \"hypothesis\"] ```\\n\\nThe values in the list are treated as glob patterns. For example, to match all packages in the LangChain ecosystem (`langchain-core`, `langchain-openai`, etc.): ```toml langchain = [\"langchain-*\"] ```\\n\\nCustom sections should typically be inserted into the [`section-order`](#lint_isort_section-order) list to ensure that they\\'re displayed as a standalone group and in the intended order, as in: ```toml section-order = [ \"future\", \"standard-library\", \"third-party\", \"first-party\", \"local-folder\", \"testing\" ] ```\\n\\nIf a custom section is omitted from [`section-order`](#lint_isort_section-order), imports in that section will be assigned to the [`default-section`](#lint_isort_default-section) (which defaults to `third-party`).',\n type: ['object', 'null'],\n additionalProperties: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n 'single-line-exclusions': {\n description: 'One or more modules to exclude from the single line rule.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'split-on-trailing-comma': {\n description: \"If a comma is placed after the last member in a multi-line import, then the imports will never be folded into one line.\\n\\nSee isort's [`split-on-trailing-comma`](https://pycqa.github.io/isort/docs/configuration/options.html#split-on-trailing-comma) option.\\n\\nWhen using the formatter, ensure that [`format.skip-magic-trailing-comma`](#format_skip-magic-trailing-comma) is set to `false` (default) when enabling `split-on-trailing-comma` to avoid that the formatter removes the trailing commas.\",\n type: ['boolean', 'null']\n },\n variables: {\n description: 'An override list of tokens to always recognize as a var for [`order-by-type`](#lint_isort_order-by-type) regardless of casing.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n LineEnding: {\n oneOf: [{\n description: 'The newline style is detected automatically on a file per file basis. Files with mixed line endings will be converted to the first detected line ending. Defaults to [`LineEnding::Lf`] for a files that contain no line endings.',\n type: 'string',\n enum: ['auto']\n }, {\n description: 'Line endings will be converted to `\\\\n` as is common on Unix.',\n type: 'string',\n enum: ['lf']\n }, {\n description: 'Line endings will be converted to `\\\\r\\\\n` as is common on Windows.',\n type: 'string',\n enum: ['cr-lf']\n }, {\n description: 'Line endings will be converted to `\\\\n` on Unix and `\\\\r\\\\n` on Windows.',\n type: 'string',\n enum: ['native']\n }]\n },\n LineLength: {\n description: 'The length of a line of text that is considered too long.\\n\\nThe allowed range of values is 1..=320',\n type: 'integer',\n format: 'uint16',\n maximum: 320.0,\n minimum: 1.0\n },\n LineWidth: {\n description: 'The maximum visual width to which the formatter should try to limit a line.',\n type: 'integer',\n format: 'uint16',\n minimum: 1.0\n },\n LintOptions: {\n description: 'Configures how Ruff checks your code.\\n\\nOptions specified in the `lint` section take precedence over the deprecated top-level settings.',\n type: 'object',\n properties: {\n 'allowed-confusables': {\n description: 'A list of allowed \"confusable\" Unicode characters to ignore when enforcing `RUF001`, `RUF002`, and `RUF003`.',\n type: ['array', 'null'],\n items: {\n type: 'string',\n maxLength: 1,\n minLength: 1\n }\n },\n 'dummy-variable-rgx': {\n description: 'A regular expression used to identify \"dummy\" variables, or those which should be ignored when enforcing (e.g.) unused-variable rules. The default expression matches `_`, `__`, and `_var`, but not `_var_`.',\n type: ['string', 'null']\n },\n exclude: {\n description: 'A list of file patterns to exclude from linting in addition to the files excluded globally (see [`exclude`](#exclude), and [`extend-exclude`](#extend-exclude)).\\n\\nExclusions are based on globs, and can be either:\\n\\n- Single-path patterns, like `.mypy_cache` (to exclude any directory named `.mypy_cache` in the tree), `foo.py` (to exclude any file named `foo.py`), or `foo_*.py` (to exclude any file matching `foo_*.py` ). - Relative patterns, like `directory/foo.py` (to exclude that specific file) or `directory/*.py` (to exclude any Python files in `directory`). Note that these paths are relative to the project root (e.g., the directory containing your `pyproject.toml`).\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'explicit-preview-rules': {\n description: 'Whether to require exact codes to select preview rules. When enabled, preview rules will not be selected by prefixes — the full code of each preview rule will be required to enable the rule.',\n type: ['boolean', 'null']\n },\n 'extend-fixable': {\n description: 'A list of rule codes or prefixes to consider fixable, in addition to those specified by [`fixable`](#lint_fixable).',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-ignore': {\n description: 'A list of rule codes or prefixes to ignore, in addition to those specified by `ignore`.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-per-file-ignores': {\n description: 'A list of mappings from file pattern to rule codes or prefixes to exclude, in addition to any rules excluded by [`per-file-ignores`](#lint_per-file-ignores).',\n type: ['object', 'null'],\n additionalProperties: {\n type: 'array',\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n }\n },\n 'extend-safe-fixes': {\n description: 'A list of rule codes or prefixes for which unsafe fixes should be considered safe.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-select': {\n description: 'A list of rule codes or prefixes to enable, in addition to those specified by [`select`](#lint_select).',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-unfixable': {\n description: 'A list of rule codes or prefixes to consider non-auto-fixable, in addition to those specified by [`unfixable`](#lint_unfixable).',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-unsafe-fixes': {\n description: 'A list of rule codes or prefixes for which safe fixes should be considered unsafe.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n external: {\n description: 'A list of rule codes or prefixes that are unsupported by Ruff, but should be preserved when (e.g.) validating `# noqa` directives. Useful for retaining `# noqa` directives that cover plugins not yet implemented by Ruff.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n fixable: {\n description: 'A list of rule codes or prefixes to consider fixable. By default, all rules are considered fixable.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'flake8-annotations': {\n description: 'Options for the `flake8-annotations` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8AnnotationsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-bandit': {\n description: 'Options for the `flake8-bandit` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8BanditOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-boolean-trap': {\n description: 'Options for the `flake8-boolean-trap` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8BooleanTrapOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-bugbear': {\n description: 'Options for the `flake8-bugbear` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8BugbearOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-builtins': {\n description: 'Options for the `flake8-builtins` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8BuiltinsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-comprehensions': {\n description: 'Options for the `flake8-comprehensions` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8ComprehensionsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-copyright': {\n description: 'Options for the `flake8-copyright` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8CopyrightOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-errmsg': {\n description: 'Options for the `flake8-errmsg` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8ErrMsgOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-gettext': {\n description: 'Options for the `flake8-gettext` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8GetTextOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-implicit-str-concat': {\n description: 'Options for the `flake8-implicit-str-concat` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8ImplicitStrConcatOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-import-conventions': {\n description: 'Options for the `flake8-import-conventions` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8ImportConventionsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-pytest-style': {\n description: 'Options for the `flake8-pytest-style` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8PytestStyleOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-quotes': {\n description: 'Options for the `flake8-quotes` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8QuotesOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-self': {\n description: 'Options for the `flake8_self` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8SelfOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-tidy-imports': {\n description: 'Options for the `flake8-tidy-imports` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8TidyImportsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-type-checking': {\n description: 'Options for the `flake8-type-checking` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8TypeCheckingOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-unused-arguments': {\n description: 'Options for the `flake8-unused-arguments` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8UnusedArgumentsOptions'\n }, {\n type: 'null'\n }]\n },\n ignore: {\n description: 'A list of rule codes or prefixes to ignore. Prefixes can specify exact rules (like `F841`), entire categories (like `F`), or anything in between.\\n\\nWhen breaking ties between enabled and disabled rules (via `select` and `ignore`, respectively), more specific prefixes override less specific prefixes.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'ignore-init-module-imports': {\n description: \"Avoid automatically removing unused imports in `__init__.py` files. Such imports will still be flagged, but with a dedicated message suggesting that the import is either added to the module's `__all__` symbol, or re-exported with a redundant alias (e.g., `import os as os`).\\n\\nThis option is enabled by default, but you can opt-in to removal of imports via an unsafe fix.\",\n deprecated: true,\n type: ['boolean', 'null']\n },\n isort: {\n description: 'Options for the `isort` plugin.',\n anyOf: [{\n $ref: '#/definitions/IsortOptions'\n }, {\n type: 'null'\n }]\n },\n 'logger-objects': {\n description: 'A list of objects that should be treated equivalently to a `logging.Logger` object.\\n\\nThis is useful for ensuring proper diagnostics (e.g., to identify `logging` deprecations and other best-practices) for projects that re-export a `logging.Logger` object from a common module.\\n\\nFor example, if you have a module `logging_setup.py` with the following contents: ```python import logging\\n\\nlogger = logging.getLogger(__name__) ```\\n\\nAdding `\"logging_setup.logger\"` to `logger-objects` will ensure that `logging_setup.logger` is treated as a `logging.Logger` object when imported from other modules (e.g., `from logging_setup import logger`).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n mccabe: {\n description: 'Options for the `mccabe` plugin.',\n anyOf: [{\n $ref: '#/definitions/McCabeOptions'\n }, {\n type: 'null'\n }]\n },\n 'pep8-naming': {\n description: 'Options for the `pep8-naming` plugin.',\n anyOf: [{\n $ref: '#/definitions/Pep8NamingOptions'\n }, {\n type: 'null'\n }]\n },\n 'per-file-ignores': {\n description: \"A list of mappings from file pattern to rule codes or prefixes to exclude, when considering any matching files. An initial '!' negates the file pattern.\",\n type: ['object', 'null'],\n additionalProperties: {\n type: 'array',\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n }\n },\n preview: {\n description: 'Whether to enable preview mode. When preview mode is enabled, Ruff will use unstable rules and fixes.',\n type: ['boolean', 'null']\n },\n pycodestyle: {\n description: 'Options for the `pycodestyle` plugin.',\n anyOf: [{\n $ref: '#/definitions/PycodestyleOptions'\n }, {\n type: 'null'\n }]\n },\n pydocstyle: {\n description: 'Options for the `pydocstyle` plugin.',\n anyOf: [{\n $ref: '#/definitions/PydocstyleOptions'\n }, {\n type: 'null'\n }]\n },\n pyflakes: {\n description: 'Options for the `pyflakes` plugin.',\n anyOf: [{\n $ref: '#/definitions/PyflakesOptions'\n }, {\n type: 'null'\n }]\n },\n pylint: {\n description: 'Options for the `pylint` plugin.',\n anyOf: [{\n $ref: '#/definitions/PylintOptions'\n }, {\n type: 'null'\n }]\n },\n pyupgrade: {\n description: 'Options for the `pyupgrade` plugin.',\n anyOf: [{\n $ref: '#/definitions/PyUpgradeOptions'\n }, {\n type: 'null'\n }]\n },\n ruff: {\n description: 'Options for the `ruff` plugin',\n anyOf: [{\n $ref: '#/definitions/RuffOptions'\n }, {\n type: 'null'\n }]\n },\n select: {\n description: 'A list of rule codes or prefixes to enable. Prefixes can specify exact rules (like `F841`), entire categories (like `F`), or anything in between.\\n\\nWhen breaking ties between enabled and disabled rules (via `select` and `ignore`, respectively), more specific prefixes override less specific prefixes.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'task-tags': {\n description: 'A list of task tags to recognize (e.g., \"TODO\", \"FIXME\", \"XXX\").\\n\\nComments starting with these tags will be ignored by commented-out code detection (`ERA`), and skipped by line-length rules (`E501`) if [`ignore-overlong-task-comments`](#lint_pycodestyle_ignore-overlong-task-comments) is set to `true`.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'typing-modules': {\n description: 'A list of modules whose exports should be treated equivalently to members of the `typing` module.\\n\\nThis is useful for ensuring proper type annotation inference for projects that re-export `typing` and `typing_extensions` members from a compatibility module. If omitted, any members imported from modules apart from `typing` and `typing_extensions` will be treated as ordinary Python objects.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n unfixable: {\n description: 'A list of rule codes or prefixes to consider non-fixable.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n }\n },\n additionalProperties: false\n },\n McCabeOptions: {\n type: 'object',\n properties: {\n 'max-complexity': {\n description: 'The maximum McCabe complexity to allow before triggering `C901` errors.',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n }\n },\n additionalProperties: false\n },\n NameImports: {\n type: 'string'\n },\n OutputFormat: {\n oneOf: [{\n type: 'string',\n enum: ['concise', 'full', 'json', 'json-lines', 'junit', 'grouped', 'github', 'gitlab', 'pylint', 'rdjson', 'azure', 'sarif']\n }, {\n deprecated: true,\n type: 'string',\n enum: ['text']\n }]\n },\n ParametrizeNameType: {\n type: 'string',\n enum: ['csv', 'tuple', 'list']\n },\n ParametrizeValuesRowType: {\n type: 'string',\n enum: ['tuple', 'list']\n },\n ParametrizeValuesType: {\n type: 'string',\n enum: ['tuple', 'list']\n },\n Pep8NamingOptions: {\n type: 'object',\n properties: {\n 'classmethod-decorators': {\n description: 'A list of decorators that, when applied to a method, indicate that the method should be treated as a class method (in addition to the builtin `@classmethod`).\\n\\nFor example, Ruff will expect that any method decorated by a decorator in this list takes a `cls` argument as its first argument.\\n\\nExpects to receive a list of fully-qualified names (e.g., `pydantic.validator`, rather than `validator`) or alternatively a plain name which is then matched against the last segment in case the decorator itself consists of a dotted name.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'extend-ignore-names': {\n description: 'Additional names (or patterns) to ignore when considering `pep8-naming` violations, in addition to those included in [`ignore-names`](#lint_pep8-naming_ignore-names).\\n\\nSupports glob patterns. For example, to ignore all names starting with `test_` or ending with `_test`, you could use `ignore-names = [\"test_*\", \"*_test\"]`. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'ignore-names': {\n description: 'A list of names (or patterns) to ignore when considering `pep8-naming` violations.\\n\\nSupports glob patterns. For example, to ignore all names starting with `test_` or ending with `_test`, you could use `ignore-names = [\"test_*\", \"*_test\"]`. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'staticmethod-decorators': {\n description: 'A list of decorators that, when applied to a method, indicate that the method should be treated as a static method (in addition to the builtin `@staticmethod`).\\n\\nFor example, Ruff will expect that any method decorated by a decorator in this list has no `self` or `cls` argument.\\n\\nExpects to receive a list of fully-qualified names (e.g., `belay.Device.teardown`, rather than `teardown`) or alternatively a plain name which is then matched against the last segment in case the decorator itself consists of a dotted name.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n PyUpgradeOptions: {\n type: 'object',\n properties: {\n 'keep-runtime-typing': {\n description: 'Whether to avoid [PEP 585](https://peps.python.org/pep-0585/) (`List[int]` -> `list[int]`) and [PEP 604](https://peps.python.org/pep-0604/) (`Union[str, int]` -> `str | int`) rewrites even if a file imports `from __future__ import annotations`.\\n\\nThis setting is only applicable when the target Python version is below 3.9 and 3.10 respectively, and is most commonly used when working with libraries like Pydantic and FastAPI, which rely on the ability to parse type annotations at runtime. The use of `from __future__ import annotations` causes Python to treat the type annotations as strings, which typically allows for the use of language features that appear in later Python versions but are not yet supported by the current version (e.g., `str | int`). However, libraries that rely on runtime type annotations will break if the annotations are incompatible with the current Python version.\\n\\nFor example, while the following is valid Python 3.8 code due to the presence of `from __future__ import annotations`, the use of `str | int` prior to Python 3.10 will cause Pydantic to raise a `TypeError` at runtime:\\n\\n```python from __future__ import annotations\\n\\nimport pydantic\\n\\nclass Foo(pydantic.BaseModel): bar: str | int ```',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n PycodestyleOptions: {\n type: 'object',\n properties: {\n 'ignore-overlong-task-comments': {\n description: 'Whether line-length violations (`E501`) should be triggered for comments starting with [`task-tags`](#lint_task-tags) (by default: \"TODO\", \"FIXME\", and \"XXX\").',\n type: ['boolean', 'null']\n },\n 'max-doc-length': {\n description: 'The maximum line length to allow for [`doc-line-too-long`](https://docs.astral.sh/ruff/rules/doc-line-too-long/) violations within documentation (`W505`), including standalone comments. By default, this is set to `null` which disables reporting violations.\\n\\nThe length is determined by the number of characters per line, except for lines containing Asian characters or emojis. For these lines, the [unicode width](https://unicode.org/reports/tr11/) of each character is added up to determine the length.\\n\\nSee the [`doc-line-too-long`](https://docs.astral.sh/ruff/rules/doc-line-too-long/) rule for more information.',\n anyOf: [{\n $ref: '#/definitions/LineLength'\n }, {\n type: 'null'\n }]\n },\n 'max-line-length': {\n description: \"The maximum line length to allow for [`line-too-long`](https://docs.astral.sh/ruff/rules/line-too-long/) violations. By default, this is set to the value of the [`line-length`](#line-length) option.\\n\\nUse this option when you want to detect extra-long lines that the formatter can't automatically split by setting `pycodestyle.line-length` to a value larger than [`line-length`](#line-length).\\n\\n```toml # The formatter wraps lines at a length of 88. line-length = 88\\n\\n[pycodestyle] # E501 reports lines that exceed the length of 100. max-line-length = 100 ```\\n\\nThe length is determined by the number of characters per line, except for lines containing East Asian characters or emojis. For these lines, the [unicode width](https://unicode.org/reports/tr11/) of each character is added up to determine the length.\\n\\nSee the [`line-too-long`](https://docs.astral.sh/ruff/rules/line-too-long/) rule for more information.\",\n anyOf: [{\n $ref: '#/definitions/LineLength'\n }, {\n type: 'null'\n }]\n }\n },\n additionalProperties: false\n },\n PydocstyleOptions: {\n type: 'object',\n properties: {\n convention: {\n description: 'Whether to use Google-style, NumPy-style conventions, or the [PEP 257](https://peps.python.org/pep-0257/) defaults when analyzing docstring sections.\\n\\nEnabling a convention will disable all rules that are not included in the specified convention. As such, the intended workflow is to enable a convention and then selectively enable or disable any additional rules on top of it.\\n\\nFor example, to use Google-style conventions but avoid requiring documentation for every function parameter:\\n\\n```toml [tool.ruff.lint] # Enable all `pydocstyle` rules, limiting to those that adhere to the # Google convention via `convention = \"google\"`, below. select = [\"D\"]\\n\\n# On top of the Google convention, disable `D417`, which requires # documentation for every function parameter. ignore = [\"D417\"]\\n\\n[tool.ruff.lint.pydocstyle] convention = \"google\" ```\\n\\nTo enable an additional rule that\\'s excluded from the convention, select the desired rule via its fully qualified rule code (e.g., `D400` instead of `D4` or `D40`):\\n\\n```toml [tool.ruff.lint] # Enable D400 on top of the Google convention. extend-select = [\"D400\"]\\n\\n[tool.ruff.lint.pydocstyle] convention = \"google\" ```',\n anyOf: [{\n $ref: '#/definitions/Convention'\n }, {\n type: 'null'\n }]\n },\n 'ignore-decorators': {\n description: 'Ignore docstrings for functions or methods decorated with the specified fully-qualified decorators.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'property-decorators': {\n description: 'A list of decorators that, when applied to a method, indicate that the method should be treated as a property (in addition to the builtin `@property` and standard-library `@functools.cached_property`).\\n\\nFor example, Ruff will expect that any method decorated by a decorator in this list can use a non-imperative summary line.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n PyflakesOptions: {\n type: 'object',\n properties: {\n 'extend-generics': {\n description: 'Additional functions or classes to consider generic, such that any subscripts should be treated as type annotation (e.g., `ForeignKey` in `django.db.models.ForeignKey[\"User\"]`.\\n\\nExpects to receive a list of fully-qualified names (e.g., `django.db.models.ForeignKey`, rather than `ForeignKey`).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n PylintOptions: {\n type: 'object',\n properties: {\n 'allow-dunder-method-names': {\n description: 'Dunder methods name to allow, in addition to the default set from the Python standard library (see `PLW3201`).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n },\n uniqueItems: true\n },\n 'allow-magic-value-types': {\n description: 'Constant types to ignore when used as \"magic values\" (see `PLR2004`).',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/ConstantType'\n }\n },\n 'max-args': {\n description: 'Maximum number of arguments allowed for a function or method definition (see `PLR0913`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-bool-expr': {\n description: 'Maximum number of Boolean expressions allowed within a single `if` statement (see `PLR0916`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-branches': {\n description: 'Maximum number of branches allowed for a function or method body (see `PLR0912`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-locals': {\n description: 'Maximum number of local variables allowed for a function or method body (see `PLR0914`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-nested-blocks': {\n description: 'Maximum number of nested blocks allowed within a function or method body (see `PLR1702`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-positional-args': {\n description: 'Maximum number of positional arguments allowed for a function or method definition (see `PLR0917`).\\n\\nIf not specified, defaults to the value of `max-args`.',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-public-methods': {\n description: 'Maximum number of public methods allowed for a class (see `PLR0904`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-returns': {\n description: 'Maximum number of return statements allowed for a function or method body (see `PLR0911`)',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-statements': {\n description: 'Maximum number of statements allowed for a function or method body (see `PLR0915`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n }\n },\n additionalProperties: false\n },\n PythonVersion: {\n type: 'string',\n enum: ['py37', 'py38', 'py39', 'py310', 'py311', 'py312', 'py313']\n },\n Quote: {\n oneOf: [{\n description: 'Use double quotes.',\n type: 'string',\n enum: ['double']\n }, {\n description: 'Use single quotes.',\n type: 'string',\n enum: ['single']\n }]\n },\n QuoteStyle: {\n type: 'string',\n enum: ['single', 'double', 'preserve']\n },\n RelativeImportsOrder: {\n oneOf: [{\n description: 'Place \"closer\" imports (fewer `.` characters, most local) before \"further\" imports (more `.` characters, least local).',\n type: 'string',\n enum: ['closest-to-furthest']\n }, {\n description: 'Place \"further\" imports (more `.` characters, least local) imports before \"closer\" imports (fewer `.` characters, most local).',\n type: 'string',\n enum: ['furthest-to-closest']\n }]\n },\n RequiredVersion: {\n type: 'string'\n },\n RuffOptions: {\n type: 'object',\n properties: {\n 'parenthesize-tuple-in-subscript': {\n description: 'Whether to prefer accessing items keyed by tuples with parentheses around the tuple (see `RUF031`).',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n RuleSelector: {\n type: 'string',\n enum: ['A', 'A0', 'A00', 'A001', 'A002', 'A003', 'A004', 'A005', 'A006', 'AIR', 'AIR0', 'AIR00', 'AIR001', 'ALL', 'ANN', 'ANN0', 'ANN00', 'ANN001', 'ANN002', 'ANN003', 'ANN1', 'ANN10', 'ANN101', 'ANN102', 'ANN2', 'ANN20', 'ANN201', 'ANN202', 'ANN204', 'ANN205', 'ANN206', 'ANN4', 'ANN40', 'ANN401', 'ARG', 'ARG0', 'ARG00', 'ARG001', 'ARG002', 'ARG003', 'ARG004', 'ARG005', 'ASYNC', 'ASYNC1', 'ASYNC10', 'ASYNC100', 'ASYNC105', 'ASYNC109', 'ASYNC11', 'ASYNC110', 'ASYNC115', 'ASYNC116', 'ASYNC2', 'ASYNC21', 'ASYNC210', 'ASYNC22', 'ASYNC220', 'ASYNC221', 'ASYNC222', 'ASYNC23', 'ASYNC230', 'ASYNC25', 'ASYNC251', 'B', 'B0', 'B00', 'B002', 'B003', 'B004', 'B005', 'B006', 'B007', 'B008', 'B009', 'B01', 'B010', 'B011', 'B012', 'B013', 'B014', 'B015', 'B016', 'B017', 'B018', 'B019', 'B02', 'B020', 'B021', 'B022', 'B023', 'B024', 'B025', 'B026', 'B027', 'B028', 'B029', 'B03', 'B030', 'B031', 'B032', 'B033', 'B034', 'B035', 'B039', 'B9', 'B90', 'B901', 'B904', 'B905', 'B909', 'BLE', 'BLE0', 'BLE00', 'BLE001', 'C', 'C4', 'C40', 'C400', 'C401', 'C402', 'C403', 'C404', 'C405', 'C406', 'C408', 'C409', 'C41', 'C410', 'C411', 'C413', 'C414', 'C415', 'C416', 'C417', 'C418', 'C419', 'C42', 'C420', 'C9', 'C90', 'C901', 'COM', 'COM8', 'COM81', 'COM812', 'COM818', 'COM819', 'CPY', 'CPY0', 'CPY00', 'CPY001', 'D', 'D1', 'D10', 'D100', 'D101', 'D102', 'D103', 'D104', 'D105', 'D106', 'D107', 'D2', 'D20', 'D200', 'D201', 'D202', 'D203', 'D204', 'D205', 'D206', 'D207', 'D208', 'D209', 'D21', 'D210', 'D211', 'D212', 'D213', 'D214', 'D215', 'D3', 'D30', 'D300', 'D301', 'D4', 'D40', 'D400', 'D401', 'D402', 'D403', 'D404', 'D405', 'D406', 'D407', 'D408', 'D409', 'D41', 'D410', 'D411', 'D412', 'D413', 'D414', 'D415', 'D416', 'D417', 'D418', 'D419', 'DJ', 'DJ0', 'DJ00', 'DJ001', 'DJ003', 'DJ006', 'DJ007', 'DJ008', 'DJ01', 'DJ012', 'DJ013', 'DOC', 'DOC2', 'DOC20', 'DOC201', 'DOC202', 'DOC4', 'DOC40', 'DOC402', 'DOC403', 'DOC5', 'DOC50', 'DOC501', 'DOC502', 'DTZ', 'DTZ0', 'DTZ00', 'DTZ001', 'DTZ002', 'DTZ003', 'DTZ004', 'DTZ005', 'DTZ006', 'DTZ007', 'DTZ01', 'DTZ011', 'DTZ012', 'E', 'E1', 'E10', 'E101', 'E11', 'E111', 'E112', 'E113', 'E114', 'E115', 'E116', 'E117', 'E2', 'E20', 'E201', 'E202', 'E203', 'E204', 'E21', 'E211', 'E22', 'E221', 'E222', 'E223', 'E224', 'E225', 'E226', 'E227', 'E228', 'E23', 'E231', 'E24', 'E241', 'E242', 'E25', 'E251', 'E252', 'E26', 'E261', 'E262', 'E265', 'E266', 'E27', 'E271', 'E272', 'E273', 'E274', 'E275', 'E3', 'E30', 'E301', 'E302', 'E303', 'E304', 'E305', 'E306', 'E4', 'E40', 'E401', 'E402', 'E5', 'E50', 'E501', 'E502', 'E7', 'E70', 'E701', 'E702', 'E703', 'E71', 'E711', 'E712', 'E713', 'E714', 'E72', 'E721', 'E722', 'E73', 'E731', 'E74', 'E741', 'E742', 'E743', 'E9', 'E90', 'E902', 'E99', 'E999', 'EM', 'EM1', 'EM10', 'EM101', 'EM102', 'EM103', 'ERA', 'ERA0', 'ERA00', 'ERA001', 'EXE', 'EXE0', 'EXE00', 'EXE001', 'EXE002', 'EXE003', 'EXE004', 'EXE005', 'F', 'F4', 'F40', 'F401', 'F402', 'F403', 'F404', 'F405', 'F406', 'F407', 'F5', 'F50', 'F501', 'F502', 'F503', 'F504', 'F505', 'F506', 'F507', 'F508', 'F509', 'F52', 'F521', 'F522', 'F523', 'F524', 'F525', 'F54', 'F541', 'F6', 'F60', 'F601', 'F602', 'F62', 'F621', 'F622', 'F63', 'F631', 'F632', 'F633', 'F634', 'F7', 'F70', 'F701', 'F702', 'F704', 'F706', 'F707', 'F72', 'F722', 'F8', 'F81', 'F811', 'F82', 'F821', 'F822', 'F823', 'F84', 'F841', 'F842', 'F9', 'F90', 'F901', 'FA', 'FA1', 'FA10', 'FA100', 'FA102', 'FAST', 'FAST0', 'FAST00', 'FAST001', 'FAST002', 'FAST003', 'FBT', 'FBT0', 'FBT00', 'FBT001', 'FBT002', 'FBT003', 'FIX', 'FIX0', 'FIX00', 'FIX001', 'FIX002', 'FIX003', 'FIX004', 'FLY', 'FLY0', 'FLY00', 'FLY002', 'FURB', 'FURB1', 'FURB10', 'FURB101', 'FURB103', 'FURB105', 'FURB11', 'FURB110', 'FURB113', 'FURB116', 'FURB118', 'FURB12', 'FURB129', 'FURB13', 'FURB131', 'FURB132', 'FURB136', 'FURB14', 'FURB140', 'FURB142', 'FURB145', 'FURB148', 'FURB15', 'FURB152', 'FURB154', 'FURB157', 'FURB16', 'FURB161', 'FURB163', 'FURB164', 'FURB166', 'FURB167', 'FURB168', 'FURB169', 'FURB17', 'FURB171', 'FURB177', 'FURB18', 'FURB180', 'FURB181', 'FURB187', 'FURB19', 'FURB192', 'G', 'G0', 'G00', 'G001', 'G002', 'G003', 'G004', 'G01', 'G010', 'G1', 'G10', 'G101', 'G2', 'G20', 'G201', 'G202', 'I', 'I0', 'I00', 'I001', 'I002', 'ICN', 'ICN0', 'ICN00', 'ICN001', 'ICN002', 'ICN003', 'INP', 'INP0', 'INP00', 'INP001', 'INT', 'INT0', 'INT00', 'INT001', 'INT002', 'INT003', 'ISC', 'ISC0', 'ISC00', 'ISC001', 'ISC002', 'ISC003', 'LOG', 'LOG0', 'LOG00', 'LOG001', 'LOG002', 'LOG007', 'LOG009', 'N', 'N8', 'N80', 'N801', 'N802', 'N803', 'N804', 'N805', 'N806', 'N807', 'N81', 'N811', 'N812', 'N813', 'N814', 'N815', 'N816', 'N817', 'N818', 'N9', 'N99', 'N999', 'NPY', 'NPY0', 'NPY00', 'NPY001', 'NPY002', 'NPY003', 'NPY2', 'NPY20', 'NPY201', 'PD', 'PD0', 'PD00', 'PD002', 'PD003', 'PD004', 'PD007', 'PD008', 'PD009', 'PD01', 'PD010', 'PD011', 'PD012', 'PD013', 'PD015', 'PD1', 'PD10', 'PD101', 'PD9', 'PD90', 'PD901', 'PERF', 'PERF1', 'PERF10', 'PERF101', 'PERF102', 'PERF2', 'PERF20', 'PERF203', 'PERF4', 'PERF40', 'PERF401', 'PERF402', 'PERF403', 'PGH', 'PGH0', 'PGH00', 'PGH003', 'PGH004', 'PGH005', 'PIE', 'PIE7', 'PIE79', 'PIE790', 'PIE794', 'PIE796', 'PIE8', 'PIE80', 'PIE800', 'PIE804', 'PIE807', 'PIE808', 'PIE81', 'PIE810', 'PL', 'PLC', 'PLC0', 'PLC01', 'PLC010', 'PLC0105', 'PLC013', 'PLC0131', 'PLC0132', 'PLC02', 'PLC020', 'PLC0205', 'PLC0206', 'PLC0208', 'PLC04', 'PLC041', 'PLC0414', 'PLC0415', 'PLC1', 'PLC19', 'PLC190', 'PLC1901', 'PLC2', 'PLC24', 'PLC240', 'PLC2401', 'PLC2403', 'PLC27', 'PLC270', 'PLC2701', 'PLC28', 'PLC280', 'PLC2801', 'PLC3', 'PLC30', 'PLC300', 'PLC3002', 'PLE', 'PLE0', 'PLE01', 'PLE010', 'PLE0100', 'PLE0101', 'PLE011', 'PLE0115', 'PLE0116', 'PLE0117', 'PLE0118', 'PLE02', 'PLE023', 'PLE0237', 'PLE024', 'PLE0241', 'PLE03', 'PLE030', 'PLE0302', 'PLE0303', 'PLE0304', 'PLE0305', 'PLE0307', 'PLE0308', 'PLE0309', 'PLE06', 'PLE060', 'PLE0604', 'PLE0605', 'PLE064', 'PLE0643', 'PLE07', 'PLE070', 'PLE0704', 'PLE1', 'PLE11', 'PLE113', 'PLE1132', 'PLE114', 'PLE1141', 'PLE1142', 'PLE12', 'PLE120', 'PLE1205', 'PLE1206', 'PLE13', 'PLE130', 'PLE1300', 'PLE1307', 'PLE131', 'PLE1310', 'PLE15', 'PLE150', 'PLE1507', 'PLE151', 'PLE1519', 'PLE152', 'PLE1520', 'PLE17', 'PLE170', 'PLE1700', 'PLE2', 'PLE25', 'PLE250', 'PLE2502', 'PLE251', 'PLE2510', 'PLE2512', 'PLE2513', 'PLE2514', 'PLE2515', 'PLE4', 'PLE47', 'PLE470', 'PLE4703', 'PLR', 'PLR0', 'PLR01', 'PLR012', 'PLR0124', 'PLR013', 'PLR0133', 'PLR02', 'PLR020', 'PLR0202', 'PLR0203', 'PLR0206', 'PLR04', 'PLR040', 'PLR0402', 'PLR09', 'PLR090', 'PLR0904', 'PLR091', 'PLR0911', 'PLR0912', 'PLR0913', 'PLR0914', 'PLR0915', 'PLR0916', 'PLR0917', 'PLR1', 'PLR17', 'PLR170', 'PLR1702', 'PLR1704', 'PLR171', 'PLR1711', 'PLR1714', 'PLR172', 'PLR1722', 'PLR173', 'PLR1730', 'PLR1733', 'PLR1736', 'PLR2', 'PLR20', 'PLR200', 'PLR2004', 'PLR204', 'PLR2044', 'PLR5', 'PLR55', 'PLR550', 'PLR5501', 'PLR6', 'PLR61', 'PLR610', 'PLR6104', 'PLR62', 'PLR620', 'PLR6201', 'PLR63', 'PLR630', 'PLR6301', 'PLW', 'PLW0', 'PLW01', 'PLW010', 'PLW0108', 'PLW012', 'PLW0120', 'PLW0127', 'PLW0128', 'PLW0129', 'PLW013', 'PLW0131', 'PLW0133', 'PLW017', 'PLW0177', 'PLW02', 'PLW021', 'PLW0211', 'PLW024', 'PLW0245', 'PLW04', 'PLW040', 'PLW0406', 'PLW06', 'PLW060', 'PLW0602', 'PLW0603', 'PLW0604', 'PLW064', 'PLW0642', 'PLW07', 'PLW071', 'PLW0711', 'PLW1', 'PLW15', 'PLW150', 'PLW1501', 'PLW1508', 'PLW1509', 'PLW151', 'PLW1510', 'PLW1514', 'PLW16', 'PLW164', 'PLW1641', 'PLW2', 'PLW21', 'PLW210', 'PLW2101', 'PLW29', 'PLW290', 'PLW2901', 'PLW3', 'PLW32', 'PLW320', 'PLW3201', 'PLW33', 'PLW330', 'PLW3301', 'PT', 'PT0', 'PT00', 'PT001', 'PT002', 'PT003', 'PT004', 'PT005', 'PT006', 'PT007', 'PT008', 'PT009', 'PT01', 'PT010', 'PT011', 'PT012', 'PT013', 'PT014', 'PT015', 'PT016', 'PT017', 'PT018', 'PT019', 'PT02', 'PT020', 'PT021', 'PT022', 'PT023', 'PT024', 'PT025', 'PT026', 'PT027', 'PTH', 'PTH1', 'PTH10', 'PTH100', 'PTH101', 'PTH102', 'PTH103', 'PTH104', 'PTH105', 'PTH106', 'PTH107', 'PTH108', 'PTH109', 'PTH11', 'PTH110', 'PTH111', 'PTH112', 'PTH113', 'PTH114', 'PTH115', 'PTH116', 'PTH117', 'PTH118', 'PTH119', 'PTH12', 'PTH120', 'PTH121', 'PTH122', 'PTH123', 'PTH124', 'PTH2', 'PTH20', 'PTH201', 'PTH202', 'PTH203', 'PTH204', 'PTH205', 'PTH206', 'PTH207', 'PYI', 'PYI0', 'PYI00', 'PYI001', 'PYI002', 'PYI003', 'PYI004', 'PYI005', 'PYI006', 'PYI007', 'PYI008', 'PYI009', 'PYI01', 'PYI010', 'PYI011', 'PYI012', 'PYI013', 'PYI014', 'PYI015', 'PYI016', 'PYI017', 'PYI018', 'PYI019', 'PYI02', 'PYI020', 'PYI021', 'PYI024', 'PYI025', 'PYI026', 'PYI029', 'PYI03', 'PYI030', 'PYI032', 'PYI033', 'PYI034', 'PYI035', 'PYI036', 'PYI04', 'PYI041', 'PYI042', 'PYI043', 'PYI044', 'PYI045', 'PYI046', 'PYI047', 'PYI048', 'PYI049', 'PYI05', 'PYI050', 'PYI051', 'PYI052', 'PYI053', 'PYI054', 'PYI055', 'PYI056', 'PYI057', 'PYI058', 'PYI059', 'PYI06', 'PYI062', 'PYI063', 'PYI064', 'PYI066', 'Q', 'Q0', 'Q00', 'Q000', 'Q001', 'Q002', 'Q003', 'Q004', 'RET', 'RET5', 'RET50', 'RET501', 'RET502', 'RET503', 'RET504', 'RET505', 'RET506', 'RET507', 'RET508', 'RSE', 'RSE1', 'RSE10', 'RSE102', 'RUF', 'RUF0', 'RUF00', 'RUF001', 'RUF002', 'RUF003', 'RUF005', 'RUF006', 'RUF007', 'RUF008', 'RUF009', 'RUF01', 'RUF010', 'RUF012', 'RUF013', 'RUF015', 'RUF016', 'RUF017', 'RUF018', 'RUF019', 'RUF02', 'RUF020', 'RUF021', 'RUF022', 'RUF023', 'RUF024', 'RUF026', 'RUF027', 'RUF028', 'RUF029', 'RUF03', 'RUF030', 'RUF031', 'RUF032', 'RUF033', 'RUF034', 'RUF1', 'RUF10', 'RUF100', 'RUF101', 'RUF2', 'RUF20', 'RUF200', 'S', 'S1', 'S10', 'S101', 'S102', 'S103', 'S104', 'S105', 'S106', 'S107', 'S108', 'S11', 'S110', 'S112', 'S113', 'S2', 'S20', 'S201', 'S202', 'S3', 'S30', 'S301', 'S302', 'S303', 'S304', 'S305', 'S306', 'S307', 'S308', 'S31', 'S310', 'S311', 'S312', 'S313', 'S314', 'S315', 'S316', 'S317', 'S318', 'S319', 'S32', 'S320', 'S321', 'S323', 'S324', 'S4', 'S40', 'S401', 'S402', 'S403', 'S404', 'S405', 'S406', 'S407', 'S408', 'S409', 'S41', 'S411', 'S412', 'S413', 'S415', 'S5', 'S50', 'S501', 'S502', 'S503', 'S504', 'S505', 'S506', 'S507', 'S508', 'S509', 'S6', 'S60', 'S601', 'S602', 'S603', 'S604', 'S605', 'S606', 'S607', 'S608', 'S609', 'S61', 'S610', 'S611', 'S612', 'S7', 'S70', 'S701', 'S702', 'SIM', 'SIM1', 'SIM10', 'SIM101', 'SIM102', 'SIM103', 'SIM105', 'SIM107', 'SIM108', 'SIM109', 'SIM11', 'SIM110', 'SIM112', 'SIM113', 'SIM114', 'SIM115', 'SIM116', 'SIM117', 'SIM118', 'SIM2', 'SIM20', 'SIM201', 'SIM202', 'SIM208', 'SIM21', 'SIM210', 'SIM211', 'SIM212', 'SIM22', 'SIM220', 'SIM221', 'SIM222', 'SIM223', 'SIM3', 'SIM30', 'SIM300', 'SIM4', 'SIM40', 'SIM401', 'SIM9', 'SIM91', 'SIM910', 'SIM911', 'SLF', 'SLF0', 'SLF00', 'SLF001', 'SLOT', 'SLOT0', 'SLOT00', 'SLOT000', 'SLOT001', 'SLOT002', 'T', 'T1', 'T10', 'T100', 'T2', 'T20', 'T201', 'T203', 'TCH', 'TCH0', 'TCH00', 'TCH001', 'TCH002', 'TCH003', 'TCH004', 'TCH005', 'TCH01', 'TCH010', 'TD', 'TD0', 'TD00', 'TD001', 'TD002', 'TD003', 'TD004', 'TD005', 'TD006', 'TD007', 'TID', 'TID2', 'TID25', 'TID251', 'TID252', 'TID253', 'TRY', 'TRY0', 'TRY00', 'TRY002', 'TRY003', 'TRY004', 'TRY2', 'TRY20', 'TRY201', 'TRY3', 'TRY30', 'TRY300', 'TRY301', 'TRY302', 'TRY4', 'TRY40', 'TRY400', 'TRY401', 'UP', 'UP0', 'UP00', 'UP001', 'UP003', 'UP004', 'UP005', 'UP006', 'UP007', 'UP008', 'UP009', 'UP01', 'UP010', 'UP011', 'UP012', 'UP013', 'UP014', 'UP015', 'UP017', 'UP018', 'UP019', 'UP02', 'UP020', 'UP021', 'UP022', 'UP023', 'UP024', 'UP025', 'UP026', 'UP027', 'UP028', 'UP029', 'UP03', 'UP030', 'UP031', 'UP032', 'UP033', 'UP034', 'UP035', 'UP036', 'UP037', 'UP038', 'UP039', 'UP04', 'UP040', 'UP041', 'UP042', 'UP043', 'W', 'W1', 'W19', 'W191', 'W2', 'W29', 'W291', 'W292', 'W293', 'W3', 'W39', 'W391', 'W5', 'W50', 'W505', 'W6', 'W60', 'W605', 'YTT', 'YTT1', 'YTT10', 'YTT101', 'YTT102', 'YTT103', 'YTT2', 'YTT20', 'YTT201', 'YTT202', 'YTT203', 'YTT204', 'YTT3', 'YTT30', 'YTT301', 'YTT302', 'YTT303']\n },\n Strictness: {\n oneOf: [{\n description: 'Ban imports that extend into the parent module or beyond.',\n type: 'string',\n enum: ['parents']\n }, {\n description: 'Ban all relative imports.',\n type: 'string',\n enum: ['all']\n }]\n }\n }\n};\nexport default schema;\n//# sourceMappingURL=ruffSchema.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nimport React, { useCallback, useMemo, useRef, useState } from 'react';\nimport * as monaco from 'monaco-editor';\nimport { Workspace } from '@astral-sh/ruff-wasm-web';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { ActionButton, Button, Icon, Link, Modal, ModalBody, ModalFooter, ModalHeader, Text } from '@deephaven/components';\nimport { vsLinkExternal, vsDiscard } from '@deephaven/icons';\nimport { useDebouncedCallback, usePromiseFactory } from '@deephaven/react-hooks';\nimport { assertNotNull, EMPTY_FUNCTION } from '@deephaven/utils';\nimport Editor from \"../notebook/Editor.js\";\nimport RUFF_DEFAULT_SETTINGS from \"./RuffDefaultSettings.js\";\nimport ruffSchema from \"./ruffSchema.js\";\nimport \"./RuffSettingsModal.css\";\nimport MonacoProviders from \"./MonacoProviders.js\";\nimport { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from \"react/jsx-runtime\";\nvar RUFF_SETTINGS_URI = monaco.Uri.parse('inmemory://dh-config/ruff-settings.json');\nfunction registerRuffSchema() {\n var {\n schemas = []\n } = monaco.languages.json.jsonDefaults.diagnosticsOptions;\n if (!schemas.some(schema => schema.uri === 'json://ruff-schema')) {\n // Register the ruff schema so users get validation and completion\n monaco.languages.json.jsonDefaults.setDiagnosticsOptions({\n schemas: [...schemas, {\n uri: 'json://ruff-schema',\n fileMatch: [RUFF_SETTINGS_URI.toString()],\n schema: ruffSchema\n }]\n });\n }\n}\nfunction getRuffVersion() {\n return _getRuffVersion.apply(this, arguments);\n}\nfunction _getRuffVersion() {\n _getRuffVersion = _asyncToGenerator(function* () {\n yield MonacoProviders.initRuff();\n return \"v\".concat(Workspace.version());\n });\n return _getRuffVersion.apply(this, arguments);\n}\nexport default function RuffSettingsModal(_ref) {\n var {\n text,\n isOpen,\n onClose,\n onSave,\n readOnly = false,\n defaultSettings = RUFF_DEFAULT_SETTINGS\n } = _ref;\n var [isValid, setIsValid] = useState(false);\n var [isDefault, setIsDefault] = useState(false);\n var editorRef = useRef();\n var formattedDefaultSettings = useMemo(() => JSON.stringify(defaultSettings, null, 2), [defaultSettings]);\n var {\n data: ruffVersion\n } = usePromiseFactory(getRuffVersion);\n var [model] = useState(() => monaco.editor.createModel(text, 'json', RUFF_SETTINGS_URI));\n var handleClose = useCallback(() => {\n if (isOpen) {\n onClose();\n editorRef.current = undefined;\n model.dispose();\n }\n }, [isOpen, onClose, model]);\n var handleSave = useCallback(() => {\n if (isOpen) {\n try {\n var _editorRef$current$ge, _editorRef$current;\n onSave(JSON.parse((_editorRef$current$ge = (_editorRef$current = editorRef.current) === null || _editorRef$current === void 0 || (_editorRef$current = _editorRef$current.getModel()) === null || _editorRef$current === void 0 ? void 0 : _editorRef$current.getValue()) !== null && _editorRef$current$ge !== void 0 ? _editorRef$current$ge : ''));\n } catch (_unused) {\n // no-op\n }\n handleClose();\n }\n }, [isOpen, handleClose, onSave]);\n var handleReset = useCallback(() => {\n assertNotNull(model);\n model.setValue(formattedDefaultSettings);\n }, [model, formattedDefaultSettings]);\n var validate = useCallback(val => {\n var _editorRef$current2;\n try {\n JSON.parse(val);\n setIsValid(true);\n } catch (_unused2) {\n setIsValid(false);\n }\n setIsDefault(((_editorRef$current2 = editorRef.current) === null || _editorRef$current2 === void 0 || (_editorRef$current2 = _editorRef$current2.getModel()) === null || _editorRef$current2 === void 0 ? void 0 : _editorRef$current2.getValue()) === formattedDefaultSettings);\n }, [formattedDefaultSettings]);\n var debouncedValidate = useDebouncedCallback(validate, 500, {\n leading: true\n });\n var onEditorInitialized = useCallback(editor => {\n editorRef.current = editor;\n model.onDidChangeContent(() => {\n debouncedValidate(model.getValue());\n });\n registerRuffSchema();\n debouncedValidate(model.getValue());\n }, [debouncedValidate, model]);\n if (!isOpen) {\n return null;\n }\n return /*#__PURE__*/_jsxs(Modal, {\n isOpen: isOpen,\n centered: true,\n keyboard: true,\n clickOutside: false,\n toggle: handleClose,\n size: \"lg\",\n className: \"ruff-settings-modal\",\n children: [/*#__PURE__*/_jsxs(ModalHeader, {\n closeButton: false,\n children: [/*#__PURE__*/_jsxs(\"span\", {\n className: \"settings-modal-title mr-auto\",\n children: [\"Ruff \", ruffVersion, \" Settings\"]\n }), /*#__PURE__*/_jsx(Link, {\n href: \"https://docs.astral.sh/ruff/settings/\",\n target: \"_blank\",\n children: /*#__PURE__*/_jsx(Button, {\n kind: \"ghost\",\n onClick: EMPTY_FUNCTION,\n icon: vsLinkExternal,\n children: \"Settings Docs\"\n })\n }), /*#__PURE__*/_jsxs(ActionButton, {\n isDisabled: isDefault,\n onPress: handleReset,\n children: [/*#__PURE__*/_jsx(Icon, {\n children: /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: vsDiscard\n })\n }), /*#__PURE__*/_jsx(Text, {\n children: \"Reset to default\"\n })]\n })]\n }), /*#__PURE__*/_jsx(ModalBody, {\n style: {\n height: '80vh'\n },\n children: /*#__PURE__*/_jsx(Editor, {\n onEditorInitialized: onEditorInitialized,\n settings: {\n readOnly,\n value: text,\n language: 'json',\n folding: true,\n padding: {\n bottom: 16\n },\n lineNumbers: 'on',\n overviewRulerLanes: 0,\n model\n }\n })\n }), /*#__PURE__*/_jsx(ModalFooter, {\n children: readOnly ? /*#__PURE__*/_jsx(Button, {\n kind: \"secondary\",\n \"data-dismiss\": \"modal\",\n onClick: handleClose,\n children: \"Close\"\n }) : /*#__PURE__*/_jsxs(_Fragment, {\n children: [/*#__PURE__*/_jsx(Button, {\n kind: \"secondary\",\n \"data-dismiss\": \"modal\",\n onClick: handleClose,\n children: \"Cancel\"\n }), /*#__PURE__*/_jsx(Button, {\n kind: \"primary\",\n \"data-dismiss\": \"modal\",\n tooltip: !isValid ? 'Cannot save invalid JSON' : undefined,\n disabled: !isValid,\n onClick: handleSave,\n children: \"Save\"\n })]\n })\n })]\n });\n}\n//# sourceMappingURL=RuffSettingsModal.js.map","import { isMessage } from '@deephaven/utils';\nexport { /** @deprecated Use `@deephaven/utils` `getWindowParent` instead. */\ngetWindowParent, /** @deprecated Use `@deephaven/utils` `isMessage` instead. */\nisMessage, /** @deprecated Use `@deephaven/utils` `isResponse` instead. */\nisResponse, /** @deprecated Use `@deephaven/utils` `makeMessage` instead. */\nmakeMessage, /** @deprecated Use `@deephaven/utils` `makeResponse` instead. */\nmakeResponse, /** @deprecated Use `@deephaven/utils` `requestParentResponse` instead. */\nrequestParentResponse\n/** @deprecated Use `@deephaven/utils` `PostMessage<T>` instead. */ } from '@deephaven/utils';\nexport var LOGIN_OPTIONS_REQUEST = 'io.deephaven.message.LoginOptions.request';\nexport var SESSION_DETAILS_REQUEST = 'io.deephaven.message.SessionDetails.request';\n\n/**\n * Use a BroadcastChannel for sending messages between tabs, such as when the user logs out.\n */\nexport var BROADCAST_CHANNEL_NAME = 'io.deephaven.broadcast';\n\n/**\n * Event emitted when the user has logged in successfully\n */\nexport var BROADCAST_LOGIN_MESSAGE = 'io.deephaven.broadcast.Login';\n\n/**\n * Event emitted when the user has logged out\n */\nexport var BROADCAST_LOGOUT_MESSAGE = 'io.deephaven.broadcast.Logout';\nexport function isBroadcastLoginMessage(obj) {\n return isMessage(obj) && obj.message === BROADCAST_LOGIN_MESSAGE;\n}\nexport function isBroadcastLogoutMessage(obj) {\n return isMessage(obj) && obj.message === BROADCAST_LOGOUT_MESSAGE;\n}\n//# sourceMappingURL=MessageUtils.js.map","function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nexport class NoConsolesError extends Error {\n constructor() {\n super(...arguments);\n _defineProperty(this, \"isNoConsolesError\", true);\n }\n}\nexport function isNoConsolesError(error) {\n return error.isNoConsolesError;\n}\nexport default NoConsolesError;\n//# sourceMappingURL=NoConsolesError.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nimport Log from '@deephaven/log';\nimport { requestParentResponse } from '@deephaven/utils';\nimport { nanoid } from 'nanoid';\nimport { SESSION_DETAILS_REQUEST } from \"./MessageUtils.js\";\nimport NoConsolesError, { isNoConsolesError } from \"./NoConsolesError.js\";\nvar log = Log.module('SessionUtils');\n/**\n * Create a new session using the default URL\n * @returns A session and config that is ready to use\n */\nexport function createSessionWrapper(_x, _x2, _x3) {\n return _createSessionWrapper.apply(this, arguments);\n}\nfunction _createSessionWrapper() {\n _createSessionWrapper = _asyncToGenerator(function* (dh, connection, details) {\n log.info('Getting console types...');\n var types = yield connection.getConsoleTypes();\n if (types.length === 0) {\n throw new NoConsolesError('No console types available');\n }\n log.info('Available types:', types);\n var type = types[0];\n log.info('Starting session with type', type);\n var session = yield connection.startSession(type);\n var config = {\n type,\n id: nanoid()\n };\n log.info('Console session established', config);\n return {\n session,\n config,\n connection,\n details,\n dh\n };\n });\n return _createSessionWrapper.apply(this, arguments);\n}\nexport function createCoreClient(dh, websocketUrl, options) {\n log.info('createCoreClient', websocketUrl);\n return new dh.CoreClient(websocketUrl, options);\n}\nfunction isSessionDetails(obj) {\n return obj != null && typeof obj === 'object';\n}\nfunction requestParentSessionDetails() {\n return _requestParentSessionDetails.apply(this, arguments);\n}\nfunction _requestParentSessionDetails() {\n _requestParentSessionDetails = _asyncToGenerator(function* () {\n var response = yield requestParentResponse(SESSION_DETAILS_REQUEST);\n if (!isSessionDetails(response)) {\n throw new Error(\"Unexpected session details response: \".concat(response));\n }\n return response;\n });\n return _requestParentSessionDetails.apply(this, arguments);\n}\nexport function getSessionDetails() {\n return _getSessionDetails.apply(this, arguments);\n}\nfunction _getSessionDetails() {\n _getSessionDetails = _asyncToGenerator(function* () {\n var searchParams = new URLSearchParams(window.location.search);\n switch (searchParams.get('authProvider')) {\n case 'parent':\n return requestParentSessionDetails();\n }\n return {};\n });\n return _getSessionDetails.apply(this, arguments);\n}\nexport function loadSessionWrapper(_x4, _x5, _x6) {\n return _loadSessionWrapper.apply(this, arguments);\n}\nfunction _loadSessionWrapper() {\n _loadSessionWrapper = _asyncToGenerator(function* (dh, connection, sessionDetails) {\n var sessionWrapper;\n try {\n sessionWrapper = yield createSessionWrapper(dh, connection, sessionDetails);\n } catch (e) {\n // Consoles may be disabled on the server, but we should still be able to start up and open existing objects\n if (!isNoConsolesError(e)) {\n throw e;\n }\n }\n return sessionWrapper;\n });\n return _loadSessionWrapper.apply(this, arguments);\n}\n//# sourceMappingURL=SessionUtils.js.map","function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport React, { useEffect, useMemo, useRef, useState } from 'react';\nimport throttle from 'lodash.throttle';\nimport GoldenLayout from '@deephaven/golden-layout';\nimport { useResizeObserver } from '@deephaven/react-hooks';\nimport \"./layout/GoldenLayout.css\";\nimport LayoutUtils from \"./layout/LayoutUtils.js\";\nimport PanelPlaceholder from \"./PanelPlaceholder.js\";\nimport DashboardLayout from \"./DashboardLayout.js\";\nimport \"./Dashboard.css\";\nimport { LayoutManagerContext } from \"./layout/index.js\";\nimport { DashboardIdContext } from \"./useDashboardId.js\";\nimport { FiberProvider } from \"./useFiber.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nvar RESIZE_THROTTLE = 100;\nvar DEFAULT_CALLBACK = () => undefined;\nvar EMPTY_OBJECT = Object.freeze({});\nexport function Dashboard(_ref) {\n var {\n id = 'default',\n children,\n emptyDashboard,\n layoutConfig,\n layoutSettings = EMPTY_OBJECT,\n onLayoutConfigChange = DEFAULT_CALLBACK,\n onGoldenLayoutChange = DEFAULT_CALLBACK,\n onLayoutInitialized = DEFAULT_CALLBACK,\n fallbackComponent = PanelPlaceholder,\n hydrate,\n dehydrate,\n panelWrapper\n } = _ref;\n var layoutElement = useRef(null);\n var [isInitialized, setIsInitialized] = useState(false);\n var [layout, setLayout] = useState();\n useEffect(function initDashboard() {\n if (!layoutElement.current) {\n setLayout(undefined);\n return;\n }\n var config = _objectSpread({}, LayoutUtils.makeDefaultLayout());\n if (config.settings === undefined) {\n config.settings = {};\n }\n Object.assign(config.settings, layoutSettings);\n\n // Load our content later after plugins have registered\n config.content = [];\n var newLayout = new GoldenLayout(config, layoutElement.current);\n var onInit = () => {\n newLayout.off('initialised', onInit);\n setIsInitialized(true);\n };\n newLayout.on('initialised', onInit);\n if (fallbackComponent != null) {\n newLayout.setFallbackComponent(fallbackComponent);\n }\n newLayout.init();\n setLayout(newLayout);\n onGoldenLayoutChange(newLayout);\n return () => {\n newLayout.destroy();\n };\n }, [layoutSettings, fallbackComponent, onGoldenLayoutChange, setIsInitialized, setLayout]);\n var handleResize = useMemo(() => throttle(() => {\n if (layout != null && layout.isInitialised) {\n layout === null || layout === void 0 || layout.updateSize();\n }\n }, RESIZE_THROTTLE), [layout]);\n useResizeObserver(layoutElement.current, handleResize);\n return /*#__PURE__*/_jsxs(\"div\", {\n className: \"dashboard-container w-100 h-100\",\n children: [/*#__PURE__*/_jsx(\"div\", {\n className: \"w-100 h-100\",\n ref: layoutElement\n }), isInitialized && layout && /*#__PURE__*/_jsx(LayoutManagerContext.Provider, {\n value: layout,\n children: /*#__PURE__*/_jsx(DashboardIdContext.Provider, {\n value: id,\n children: /*#__PURE__*/_jsx(FiberProvider, {\n children: /*#__PURE__*/_jsx(DashboardLayout, {\n emptyDashboard: emptyDashboard,\n id: id,\n layout: layout,\n layoutConfig: layoutConfig,\n onLayoutChange: onLayoutConfigChange,\n onLayoutInitialized: onLayoutInitialized,\n hydrate: hydrate,\n dehydrate: dehydrate,\n panelWrapper: panelWrapper,\n children: children\n })\n })\n })\n })]\n });\n}\nexport default Dashboard;\n//# sourceMappingURL=Dashboard.js.map","var _excluded = [\"id\", \"isActive\", \"plugins\"];\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }\nimport React, { useCallback, useState } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { LoadingOverlay } from '@deephaven/components';\nimport { updateWorkspaceData } from '@deephaven/redux';\nimport { Dashboard } from \"./Dashboard.js\";\nimport { updateDashboardData } from \"./redux/index.js\";\nimport { DEFAULT_DASHBOARD_ID } from \"./DashboardConstants.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function LazyDashboard(_ref) {\n var {\n id,\n isActive,\n plugins\n } = _ref,\n rest = _objectWithoutProperties(_ref, _excluded);\n var [isLoaded, setIsLoaded] = useState(isActive);\n var dispatch = useDispatch();\n var handleLayoutConfigChange = useCallback(config => {\n // TODO: #1746 Call updateDashboardData for every dashboard\n // This currently allows the default dashboard to keep its layout since\n // other dashboards are not persistent yet and we read workspaceData\n // for the default dashboard layout\n if (id === DEFAULT_DASHBOARD_ID) {\n dispatch(updateWorkspaceData({\n layoutConfig: config\n }));\n } else {\n dispatch(updateDashboardData(id, {\n layoutConfig: config\n }));\n }\n }, [id, dispatch]);\n if (!isLoaded && isActive) {\n setIsLoaded(true);\n }\n if (!isLoaded) {\n return /*#__PURE__*/_jsx(LoadingOverlay, {\n \"data-testid\": \"lazy-dashboard-loading\"\n });\n }\n return /*#__PURE__*/_jsx(Dashboard, _objectSpread(_objectSpread({\n id: id,\n onLayoutConfigChange: handleLayoutConfigChange\n // eslint-disable-next-line react/jsx-props-no-spreading\n }, rest), {}, {\n children: plugins\n }));\n}\nexport default LazyDashboard;\n//# sourceMappingURL=LazyDashboard.js.map","import { useMemo } from 'react';\nimport { isDashboardPlugin, isLegacyDashboardPlugin } from \"./PluginTypes.js\";\nimport { usePlugins } from \"./usePlugins.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function getDashboardPlugins(plugins) {\n var dbPlugins = [...plugins.entries()].filter(_ref => {\n var [, plugin] = _ref;\n return isDashboardPlugin(plugin) || isLegacyDashboardPlugin(plugin);\n });\n return dbPlugins.map(_ref2 => {\n var [pluginName, plugin] = _ref2;\n if (isLegacyDashboardPlugin(plugin)) {\n var {\n DashboardPlugin: _DPlugin\n } = plugin;\n return /*#__PURE__*/_jsx(_DPlugin, {}, pluginName);\n }\n var {\n component: DPlugin\n } = plugin;\n return /*#__PURE__*/_jsx(DPlugin, {}, pluginName);\n });\n}\n\n/**\n * Get all DashboardPlugin elements from the plugins context\n * @returns Array of DashboardPlugin elements\n */\nexport function useDashboardPlugins() {\n var plugins = usePlugins();\n var dashboardPlugins = useMemo(() => getDashboardPlugins(plugins), [plugins]);\n return dashboardPlugins;\n}\nexport default useDashboardPlugins;\n//# sourceMappingURL=useDashboardPlugins.js.map","import { createContext } from 'react';\nexport var UserOverrideContext = /*#__PURE__*/createContext({});\nexport var UserPermissionsOverrideContext = /*#__PURE__*/createContext({});\nUserPermissionsOverrideContext.displayName = 'UserPermissionsOverrideContext';\nexport var UserContext = /*#__PURE__*/createContext(null);\nUserContext.displayName = 'UserContext';\n//# sourceMappingURL=UserContexts.js.map","import { createContext } from 'react';\nexport var ConnectionContext = /*#__PURE__*/createContext(null);\nConnectionContext.displayName = 'ConnectionContext';\nexport default ConnectionContext;\n//# sourceMappingURL=ConnectionContext.js.map","function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport { GLOBAL_SHORTCUTS } from '@deephaven/components';\nimport { exportLogs, logHistory } from '@deephaven/log';\nimport { store } from '@deephaven/redux';\nexport function createExportLogsContextAction(metadata) {\n var isGlobal = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return {\n action: () => {\n exportLogs(logHistory, _objectSpread(_objectSpread({}, metadata), {}, {\n userAgent: navigator.userAgent\n }), store.getState());\n },\n shortcut: GLOBAL_SHORTCUTS.EXPORT_LOGS,\n isGlobal\n };\n}\nexport default createExportLogsContextAction;\n//# sourceMappingURL=createExportLogsContextAction.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nimport React, { createContext, useEffect, useState } from 'react';\nimport { LoadingOverlay } from '@deephaven/components';\nimport { useClient } from '@deephaven/jsapi-bootstrap';\nimport { getErrorMessage } from '@deephaven/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var ServerConfigContext = /*#__PURE__*/createContext(null);\nServerConfigContext.displayName = 'ServerConfigContext';\n/**\n * ServerConfigBootstrap component. Handles loading the server config.\n */\nexport function ServerConfigBootstrap(_ref) {\n var {\n children\n } = _ref;\n var client = useClient();\n var [serverConfig, setServerConfig] = useState();\n var [error, setError] = useState();\n useEffect(function initServerConfigValues() {\n var isCanceled = false;\n function loadServerConfigValues() {\n return _loadServerConfigValues.apply(this, arguments);\n }\n function _loadServerConfigValues() {\n _loadServerConfigValues = _asyncToGenerator(function* () {\n try {\n var newServerConfigValues = yield client.getServerConfigValues();\n if (!isCanceled) {\n setServerConfig(new Map(newServerConfigValues));\n }\n } catch (e) {\n if (!isCanceled) {\n setError(e);\n }\n }\n });\n return _loadServerConfigValues.apply(this, arguments);\n }\n loadServerConfigValues();\n return () => {\n isCanceled = true;\n };\n }, [client]);\n var isLoading = serverConfig == null;\n if (isLoading || error != null) {\n return /*#__PURE__*/_jsx(LoadingOverlay, {\n \"data-testid\": \"server-config-bootstrap-loading\",\n isLoading: isLoading && error == null,\n errorMessage: getErrorMessage(error)\n });\n }\n return /*#__PURE__*/_jsx(ServerConfigContext.Provider, {\n value: serverConfig,\n children: children\n });\n}\nexport default ServerConfigBootstrap;\n//# sourceMappingURL=ServerConfigBootstrap.js.map","import { useContextOrThrow } from '@deephaven/react-hooks';\nimport { ServerConfigContext } from \"./ServerConfigBootstrap.js\";\nexport function useServerConfig() {\n return useContextOrThrow(ServerConfigContext, 'No server config available in useServerConfig. Was code wrapped in ServerConfigBootstrap or ServerConfigContext.Provider?');\n}\nexport default useServerConfig;\n//# sourceMappingURL=useServerConfig.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport React, { useCallback } from 'react';\nimport classNames from 'classnames';\nimport { DashboardUtils, LazyDashboard } from '@deephaven/dashboard';\nimport { useObjectFetcher } from '@deephaven/jsapi-bootstrap';\nimport { LoadingOverlay } from '@deephaven/components';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function AppDashboards(_ref) {\n var {\n dashboards,\n activeDashboard,\n onLayoutInitialized,\n onGoldenLayoutChange,\n plugins,\n emptyDashboard = /*#__PURE__*/_jsx(LoadingOverlay, {\n \"data-testid\": \"app-dashboards-loading\"\n })\n } = _ref;\n var fetchObject = useObjectFetcher();\n var hydratePanel = useCallback((hydrateProps, id) => {\n var {\n metadata\n } = hydrateProps;\n try {\n if (metadata != null) {\n return _objectSpread(_objectSpread({\n fetch: function () {\n var _fetch = _asyncToGenerator(function* () {\n return fetchObject(metadata);\n });\n function fetch() {\n return _fetch.apply(this, arguments);\n }\n return fetch;\n }()\n }, hydrateProps), {}, {\n localDashboardId: id\n });\n }\n } catch (e) {\n // Ignore being unable to get the variable descriptor, do the default dashboard hydration\n }\n return DashboardUtils.hydrate(hydrateProps, id);\n }, [fetchObject]);\n return /*#__PURE__*/_jsx(\"div\", {\n className: \"tab-content\",\n children: dashboards.map(d => /*#__PURE__*/_jsx(\"div\", {\n className: classNames('tab-pane', {\n active: d.id === activeDashboard\n }),\n children: /*#__PURE__*/_jsx(LazyDashboard, {\n id: d.id,\n isActive: d.id === activeDashboard,\n emptyDashboard: emptyDashboard,\n layoutConfig: d.layoutConfig,\n layoutSettings: d.layoutSettings,\n onLayoutInitialized: onLayoutInitialized,\n onGoldenLayoutChange: onGoldenLayoutChange,\n hydrate: hydratePanel,\n plugins: plugins\n }, d.key)\n }, d.id))\n });\n}\nexport default AppDashboards;\n//# sourceMappingURL=AppDashboards.js.map","import { useContextOrThrow } from '@deephaven/react-hooks';\nimport { ConnectionContext } from \"./ConnectionContext.js\";\n/**\n * Retrieve the connection for the current context.\n *\n * @returns Connection for the current context\n */\nexport function useConnection() {\n return useContextOrThrow(ConnectionContext, 'No IdeConnection available in useConnection. Was code wrapped in ConnectionContext.Provider?');\n}\nexport default useConnection;\n//# sourceMappingURL=useConnection.js.map","import { useContextOrThrow } from '@deephaven/react-hooks';\nimport { UserContext } from '@deephaven/auth-plugins';\nexport function useUser() {\n return useContextOrThrow(UserContext, 'No user available in useUser. Was code wrapped in UserBootstrap or UserContext.Provider?');\n}\nexport default useUser;\n//# sourceMappingURL=useUser.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/* eslint-disable class-methods-use-this */\n\nimport Log from '@deephaven/log';\nimport { CanceledPromiseError, PromiseUtils } from '@deephaven/utils';\nimport { FileUtils } from '@deephaven/file-explorer';\nimport debounce from 'lodash.debounce';\nvar log = Log.module('GrpcFileStorageTable');\n\n/**\n * Implementation of FileStorageTable for gRPC service.\n * Takes a path to specify what root this table should start at.\n */\nexport class GrpcFileStorageTable {\n /**\n * @param storageService The storage service to use\n * @param baseRoot Base root for the service\n * @param root The root path for this storage table\n */\n constructor(storageService) {\n var baseRoot = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n var root = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : baseRoot;\n _defineProperty(this, \"storageService\", void 0);\n _defineProperty(this, \"baseRoot\", void 0);\n _defineProperty(this, \"root\", void 0);\n _defineProperty(this, \"currentSize\", 0);\n _defineProperty(this, \"currentViewport\", void 0);\n _defineProperty(this, \"listeners\", []);\n _defineProperty(this, \"viewportUpdatePromise\", void 0);\n _defineProperty(this, \"currentViewportData\", void 0);\n /**\n * Map of expanded directory paths to the tables that manage that path.\n * We use a tree of tables to query the server so we just get the directories that are expanded.\n */\n _defineProperty(this, \"childTables\", new Map());\n this.storageService = storageService;\n this.baseRoot = baseRoot;\n this.root = root;\n if (root === baseRoot) {\n this.doRefresh = debounce(this.doRefresh.bind(this), GrpcFileStorageTable.REFRESH_DEBOUNCE);\n }\n }\n removeBaseRoot(filename) {\n return FileUtils.removeRoot(this.baseRoot, filename);\n }\n getViewportData() {\n var _this$viewportUpdateP;\n if (!this.viewportUpdatePromise) {\n this.refreshInternal();\n }\n return (_this$viewportUpdateP = this.viewportUpdatePromise) !== null && _this$viewportUpdateP !== void 0 ? _this$viewportUpdateP : Promise.resolve({\n items: [],\n offset: 0\n });\n }\n getSnapshot(sortedRanges) {\n throw new Error('Method not implemented.');\n }\n get size() {\n return this.currentSize;\n }\n setExpanded(path, expanded) {\n var paths = path.split('/');\n var nextPath = paths.shift();\n if (nextPath === undefined || nextPath === '') {\n nextPath = paths.shift();\n }\n if (nextPath === undefined || nextPath === '') {\n throw new Error(\"Invalid path: \".concat(path));\n }\n var remainingPath = paths.join('/');\n if (expanded) {\n if (!this.childTables.has(nextPath)) {\n var childTable = new GrpcFileStorageTable(this.storageService, this.baseRoot, \"\".concat(this.root, \"/\").concat(nextPath));\n this.childTables.set(nextPath, childTable);\n }\n if (remainingPath) {\n var _childTable = this.childTables.get(nextPath);\n _childTable === null || _childTable === void 0 || _childTable.setExpanded(remainingPath, expanded);\n }\n } else if (this.childTables.has(nextPath)) {\n if (remainingPath) {\n var _childTable2 = this.childTables.get(nextPath);\n _childTable2 === null || _childTable2 === void 0 || _childTable2.setExpanded(remainingPath, expanded);\n } else {\n this.childTables.delete(nextPath);\n }\n }\n if (this.currentViewport) {\n this.refreshInternal();\n }\n }\n collapseAll() {\n this.childTables.clear();\n if (this.currentViewport) {\n this.refreshInternal();\n }\n }\n\n // eslint-disable-next-line class-methods-use-this\n setSearch(search) {\n throw new Error('Method not implemented.');\n }\n setViewport(viewport) {\n this.currentViewport = viewport;\n this.refreshInternal();\n }\n setFilters() {\n throw new Error('Method not implemented.');\n }\n setSorts() {\n throw new Error('Method not implemented.');\n }\n setReversed() {\n throw new Error('Method not implemented.');\n }\n close() {\n this.listeners = [];\n }\n onUpdate(callback) {\n this.listeners = [...this.listeners, callback];\n return () => {\n this.listeners = this.listeners.filter(other => other !== callback);\n };\n }\n doRefresh(callback) {\n log.debug2('doRefresh', this.root);\n callback(this.fetchData());\n }\n refresh() {\n var _this$viewportUpdateP2;\n log.debug2('refresh', this.root);\n (_this$viewportUpdateP2 = this.viewportUpdatePromise) === null || _this$viewportUpdateP2 === void 0 || _this$viewportUpdateP2.cancel();\n var refreshPromise = new Promise(resolve => {\n this.doRefresh(resolve);\n });\n var viewportUpdatePromise = PromiseUtils.makeCancelable(refreshPromise.then(viewportData => {\n if (this.viewportUpdatePromise !== viewportUpdatePromise) {\n throw new CanceledPromiseError();\n }\n this.currentViewportData = viewportData;\n this.sendUpdate();\n return viewportData;\n }));\n\n // Add a catch here as we're not catching the promises anywhere else\n viewportUpdatePromise.catch(e => {\n if (!PromiseUtils.isCanceled(e)) {\n log.error('Error updating viewport', e);\n }\n });\n this.viewportUpdatePromise = viewportUpdatePromise;\n }\n\n /**\n * Refreshes data, but catches any errors and logs them\n */\n refreshInternal() {\n try {\n this.refresh();\n } catch (e) {\n if (!PromiseUtils.isCanceled(e)) {\n log.error('Unable to refresh data', e);\n }\n }\n }\n fetchData() {\n var _this = this;\n return _asyncToGenerator(function* () {\n var {\n currentViewport: viewport\n } = _this;\n if (!viewport) {\n throw new Error('No viewport set');\n }\n\n // First get the root directory contents\n var dirContents = yield _this.storageService.listItems(_this.root);\n var items = dirContents.map(file => ({\n type: file.type,\n filename: _this.removeBaseRoot(file.filename),\n basename: file.basename,\n id: _this.removeBaseRoot(file.filename),\n isExpanded: file.type === 'directory' ? _this.childTables.has(file.basename) : undefined\n })).sort((a, b) => {\n if (a.type !== b.type) {\n return a.type === 'directory' ? -1 : 1;\n }\n return a.basename.localeCompare(b.basename);\n });\n\n // Get the data from all expanded directories\n for (var i = 0; i < items.length; i += 1) {\n var item = items[i];\n var {\n basename,\n filename\n } = item;\n if (filename === _this.removeBaseRoot(\"\".concat(_this.root, \"/\").concat(basename)) && item.type === 'directory') {\n var childTable = _this.childTables.get(basename);\n if (childTable != null) {\n childTable.setViewport({\n top: 0,\n bottom: viewport.bottom - i\n });\n // eslint-disable-next-line no-await-in-loop\n var childViewportData = yield childTable.getViewportData();\n items.splice(i + 1, 0, ...childViewportData.items);\n }\n }\n }\n _this.currentSize = items.length;\n log.debug2(_this.root, 'items', items, viewport);\n\n // Slice it to the correct viewport\n items = items.slice(viewport.top, viewport.bottom);\n return {\n items,\n offset: viewport.top\n };\n })();\n }\n sendUpdate() {\n var _this$currentViewport;\n // Retain a reference to it in case a listener gets removed while sending an update\n var {\n listeners\n } = this;\n var data = (_this$currentViewport = this.currentViewportData) !== null && _this$currentViewport !== void 0 ? _this$currentViewport : {\n items: [],\n offset: 0\n };\n for (var i = 0; i < listeners.length; i += 1) {\n listeners[i](data);\n }\n }\n}\n_defineProperty(GrpcFileStorageTable, \"REFRESH_DEBOUNCE\", 50);\nexport default GrpcFileStorageTable;\n//# sourceMappingURL=GrpcFileStorageTable.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport throttle from 'lodash.throttle';\nimport { FileNotFoundError, FileUtils, isFileType } from '@deephaven/file-explorer';\nimport Log from '@deephaven/log';\nimport GrpcFileStorageTable from \"./GrpcFileStorageTable.js\";\nvar log = Log.module('GrpcFileStorage');\nexport class GrpcFileStorage {\n /**\n * FileStorage implementation using gRPC\n * @param storageService Storage service to use\n * @param root Root path for this instance. Should not contain trailing slash.\n */\n constructor(dh, storageService) {\n var root = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n _defineProperty(this, \"dh\", void 0);\n _defineProperty(this, \"storageService\", void 0);\n _defineProperty(this, \"tables\", []);\n _defineProperty(this, \"root\", void 0);\n _defineProperty(this, \"refreshTables\", throttle(() => {\n this.tables.forEach(table => table.refresh());\n }, GrpcFileStorage.REFRESH_THROTTLE));\n this.dh = dh;\n this.storageService = storageService;\n this.root = root;\n }\n removeRoot(filename) {\n return FileUtils.removeRoot(this.root, filename);\n }\n addRoot(path) {\n return FileUtils.addRoot(this.root, path);\n }\n createDirectory(path) {\n var _this = this;\n return _asyncToGenerator(function* () {\n yield _this.storageService.createDirectory(_this.addRoot(path));\n _this.refreshTables();\n return {\n type: 'directory',\n id: path,\n filename: path,\n basename: FileUtils.getBaseName(path)\n };\n })();\n }\n getTable() {\n var _this2 = this;\n return _asyncToGenerator(function* () {\n var table = new GrpcFileStorageTable(_this2.storageService, _this2.root);\n _this2.tables.push(table);\n return table;\n })();\n }\n saveFile(file) {\n var _this3 = this;\n return _asyncToGenerator(function* () {\n var fileContents = _this3.dh.storage.FileContents.text(file.content);\n yield _this3.storageService.saveFile(_this3.addRoot(file.filename), fileContents, true);\n _this3.refreshTables();\n return file;\n })();\n }\n loadFile(name) {\n var _this4 = this;\n return _asyncToGenerator(function* () {\n var fileContents = yield _this4.storageService.loadFile(_this4.addRoot(name));\n var content = yield fileContents.text();\n return {\n filename: name,\n basename: FileUtils.getBaseName(name),\n content\n };\n })();\n }\n copyFile(name, newName) {\n var _this5 = this;\n return _asyncToGenerator(function* () {\n var fileContents = yield _this5.storageService.loadFile(_this5.addRoot(name));\n yield _this5.storageService.saveFile(_this5.addRoot(newName), fileContents, false);\n _this5.refreshTables();\n })();\n }\n deleteFile(name) {\n var _this6 = this;\n return _asyncToGenerator(function* () {\n yield _this6.storageService.deleteItem(_this6.addRoot(name));\n _this6.refreshTables();\n })();\n }\n moveFile(name, newName) {\n var _this7 = this;\n return _asyncToGenerator(function* () {\n yield _this7.storageService.moveItem(_this7.addRoot(name), _this7.addRoot(newName));\n _this7.refreshTables();\n })();\n }\n info(name) {\n var _this8 = this;\n return _asyncToGenerator(function* () {\n var allItems = yield _this8.storageService.listItems(_this8.addRoot(FileUtils.getPath(name)), FileUtils.getBaseName(name));\n if (allItems.length === 0) {\n throw new FileNotFoundError();\n }\n if (allItems.length > 1) {\n log.error('More than one matching file found, should never happen.', allItems);\n throw new Error('More than one matching file found');\n }\n var itemDetails = allItems[0];\n if (!isFileType(itemDetails.type)) {\n throw new Error(\"Unexpected file type: \".concat(itemDetails.type));\n }\n return {\n filename: _this8.removeRoot(itemDetails.filename),\n basename: itemDetails.basename,\n id: _this8.removeRoot(itemDetails.filename),\n type: itemDetails.type\n };\n })();\n }\n}\n_defineProperty(GrpcFileStorage, \"REFRESH_THROTTLE\", 150);\nexport default GrpcFileStorage;\n//# sourceMappingURL=GrpcFileStorage.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nexport class GrpcLayoutStorage {\n /**\n *\n * @param storageService The gRPC storage service to use\n * @param root The root path where the layouts are stored\n */\n constructor(storageService) {\n var root = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n _defineProperty(this, \"storageService\", void 0);\n _defineProperty(this, \"root\", void 0);\n this.storageService = storageService;\n this.root = root;\n }\n getLayouts() {\n var _this = this;\n return _asyncToGenerator(function* () {\n var files = yield _this.storageService.listItems(_this.root, '*.json');\n return files.map(file => file.basename);\n })();\n }\n getLayout(name) {\n var _this2 = this;\n return _asyncToGenerator(function* () {\n var fileContents = yield _this2.storageService.loadFile(\"\".concat(_this2.root, \"/\").concat(name));\n var content = yield fileContents.text();\n return JSON.parse(content);\n })();\n }\n}\nexport default GrpcLayoutStorage;\n//# sourceMappingURL=GrpcLayoutStorage.js.map","/**\n * Have a different version to support legacy layout exports\n */\n\nexport function isLayoutV2(layout) {\n return layout.version === 2;\n}\nexport function isLayoutV1(layout) {\n return Array.isArray(layout);\n}\n\n/**\n * Interface for accessing layouts from wherever they are stored.\n */\n//# sourceMappingURL=LayoutStorage.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nimport { CommandHistoryPanel, ConsolePanel, FileExplorerPanel, LogPanel } from '@deephaven/dashboard-core-plugins';\nimport Log from '@deephaven/log';\nimport { isLayoutV1, isLayoutV2 } from \"./LayoutStorage.js\";\nvar log = Log.module('UserLayoutUtils');\nexport var DEFAULT_LAYOUT_CONFIG = {\n layoutConfig: [{\n type: 'column',\n content: [{\n type: 'row',\n height: 40,\n // slightly smaller than 50-50 to allow more space for tables below\n content: [{\n type: 'stack',\n content: [{\n type: 'react-component',\n component: ConsolePanel.COMPONENT,\n title: ConsolePanel.TITLE,\n isClosable: false\n }, {\n type: 'react-component',\n component: LogPanel.COMPONENT,\n title: LogPanel.TITLE,\n isClosable: false\n }]\n }, {\n type: 'stack',\n width: 25,\n content: [{\n type: 'react-component',\n component: CommandHistoryPanel.COMPONENT,\n title: CommandHistoryPanel.TITLE,\n isClosable: false\n }, {\n type: 'react-component',\n component: FileExplorerPanel.COMPONENT,\n title: FileExplorerPanel.TITLE,\n isClosable: false\n }]\n }]\n }, {\n type: 'row',\n content: [{\n type: 'stack',\n title: 'Notebooks',\n content: []\n }]\n }]\n }],\n links: [],\n filterSets: [],\n version: 2\n};\nexport var DEFAULT_LAYOUT_CONFIG_NO_CONSOLE = {\n layoutConfig: [],\n links: [],\n filterSets: [],\n version: 2\n};\nexport function normalizeLayout(layout) {\n if (isLayoutV2(layout)) {\n return layout;\n }\n if (isLayoutV1(layout)) {\n var layoutConfig = layout;\n return {\n layoutConfig,\n links: [],\n filterSets: [],\n version: 2\n };\n }\n throw new Error(\"Unexpected layout import format: \".concat(layout));\n}\n\n/**\n * Get the default layout for the user to use. Checks layout storage for any layouts, and uses the first one if found.\n * @param layoutStorage The layout storage to get the default layouts from\n * @param isConsoleAvailable Whether console sessions are available.\n * @returns The default layout config to use\n */\nexport function getDefaultLayout(_x) {\n return _getDefaultLayout.apply(this, arguments);\n}\nfunction _getDefaultLayout() {\n _getDefaultLayout = _asyncToGenerator(function* (layoutStorage) {\n var isConsoleAvailable = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n try {\n var layouts = yield layoutStorage.getLayouts();\n if (layouts.length > 0) {\n try {\n // We found a layout on the server, use it. It could be an empty layout if they want user to build their own\n var layout = yield layoutStorage.getLayout(layouts[0]);\n return normalizeLayout(layout);\n } catch (err) {\n log.error('Unable to load layout', layouts[0], ':', err);\n log.warn('No valid layouts found, falling back to default layout');\n }\n }\n } catch (err) {\n log.error('Unable to fetch layout list', err);\n log.warn('Falling back to default layout');\n }\n // Otherwise, do the default layout\n return isConsoleAvailable ? DEFAULT_LAYOUT_CONFIG : DEFAULT_LAYOUT_CONFIG_NO_CONSOLE;\n });\n return _getDefaultLayout.apply(this, arguments);\n}\nexport function exportLayout(data) {\n var {\n filterSets,\n layoutConfig,\n links,\n pluginDataMap\n } = data;\n var exportedLayout = {\n filterSets,\n layoutConfig,\n links,\n pluginDataMap,\n version: 2\n };\n return exportedLayout;\n}\nexport default {\n exportLayout,\n getDefaultLayout,\n normalizeLayout\n};\n//# sourceMappingURL=UserLayoutUtils.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport Log from '@deephaven/log';\nimport { DateTimeColumnFormatter, DecimalColumnFormatter, IntegerColumnFormatter } from '@deephaven/jsapi-utils';\nimport merge from 'lodash.merge';\nimport UserLayoutUtils from \"./UserLayoutUtils.js\";\nvar log = Log.module('LocalWorkspaceStorage');\n\n/**\n * Implementation of WorkspaceStorage that just stores the workspace data in localStorage\n */\nexport class LocalWorkspaceStorage {\n static getBooleanServerConfig(serverConfigValues, key) {\n var _serverConfigValues$g, _serverConfigValues$g2;\n if ((serverConfigValues === null || serverConfigValues === void 0 || (_serverConfigValues$g = serverConfigValues.get(key)) === null || _serverConfigValues$g === void 0 ? void 0 : _serverConfigValues$g.toLowerCase()) === 'true') {\n return true;\n }\n if ((serverConfigValues === null || serverConfigValues === void 0 || (_serverConfigValues$g2 = serverConfigValues.get(key)) === null || _serverConfigValues$g2 === void 0 ? void 0 : _serverConfigValues$g2.toLowerCase()) === 'false') {\n return false;\n }\n return undefined;\n }\n static getJSONServerConfig(serverConfigValues, key) {\n var value = serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get(key);\n if (value == null) {\n return undefined;\n }\n try {\n return JSON.parse(value);\n } catch (e) {\n log.error(\"Unable to parse JSON server config for key \".concat(key, \". Value: \").concat(value));\n return undefined;\n }\n }\n static makeDefaultWorkspaceSettings(serverConfigValues) {\n var settings = {\n defaultDateTimeFormat: DateTimeColumnFormatter.DEFAULT_DATETIME_FORMAT_STRING,\n formatter: [],\n timeZone: DateTimeColumnFormatter.DEFAULT_TIME_ZONE_ID,\n showTimeZone: false,\n showTSeparator: true,\n disableMoveConfirmation: false,\n defaultDecimalFormatOptions: {\n defaultFormatString: DecimalColumnFormatter.DEFAULT_FORMAT_STRING\n },\n defaultIntegerFormatOptions: {\n defaultFormatString: IntegerColumnFormatter.DEFAULT_FORMAT_STRING\n },\n truncateNumbersWithPound: false,\n showEmptyStrings: true,\n showNullStrings: true,\n showExtraGroupColumn: true,\n notebookSettings: {\n isMinimapEnabled: false,\n formatOnSave: false,\n python: {\n linter: {\n isEnabled: true\n // Omit default config so default settings are used if the user never changes them\n }\n }\n },\n webgl: true,\n webglEditable: true,\n gridDensity: 'regular'\n };\n var serverSettings = {\n defaultDateTimeFormat: serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('dateTimeFormat'),\n formatter: [],\n timeZone: serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('timeZone'),\n showTimeZone: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'showTimeZone'),\n showTSeparator: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'showTSeparator'),\n disableMoveConfirmation: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'disableMoveConfirmation'),\n defaultDecimalFormatOptions: (serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('decimalFormat')) !== undefined ? {\n defaultFormatString: serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('decimalFormat')\n } : undefined,\n defaultIntegerFormatOptions: (serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('integerFormat')) !== undefined ? {\n defaultFormatString: serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('integerFormat')\n } : undefined,\n truncateNumbersWithPound: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'truncateNumbersWithPound'),\n showEmptyStrings: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'showEmptyStrings'),\n showNullStrings: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'showNullStrings'),\n showExtraGroupColumn: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'showExtraGroupColumn'),\n notebookSettings: {\n isMinimapEnabled: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'web.user.notebookSettings.isMinimapEnabled'),\n formatOnSave: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'web.user.notebookSettings.formatOnSave'),\n python: {\n linter: {\n isEnabled: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'web.user.notebookSettings.python.linter.isEnabled'),\n config: LocalWorkspaceStorage.getJSONServerConfig(serverConfigValues, 'web.user.notebookSettings.python.linter.config')\n }\n }\n },\n webgl: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'web.webgl'),\n webglEditable: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'web.webgl.editable')\n };\n return merge({}, settings, serverSettings);\n }\n static makeWorkspaceData(layoutStorage, options) {\n return _asyncToGenerator(function* () {\n var {\n filterSets,\n links,\n layoutConfig,\n pluginDataMap = {}\n } = yield UserLayoutUtils.getDefaultLayout(layoutStorage, options === null || options === void 0 ? void 0 : options.isConsoleAvailable);\n return {\n settings: {},\n layoutConfig,\n closed: [{}],\n links,\n filterSets,\n pluginDataMap\n };\n })();\n }\n static makeDefaultWorkspace(layoutStorage, options) {\n return _asyncToGenerator(function* () {\n return {\n data: yield LocalWorkspaceStorage.makeWorkspaceData(layoutStorage, options)\n };\n })();\n }\n constructor(layoutStorage) {\n _defineProperty(this, \"layoutStorage\", void 0);\n this.layoutStorage = layoutStorage;\n }\n\n // eslint-disable-next-line class-methods-use-this\n load(options) {\n var _this = this;\n return _asyncToGenerator(function* () {\n try {\n var _localStorage$getItem;\n var workspace = JSON.parse((_localStorage$getItem = localStorage.getItem(LocalWorkspaceStorage.STORAGE_KEY)) !== null && _localStorage$getItem !== void 0 ? _localStorage$getItem : '');\n return workspace;\n } catch (e) {\n log.info('Unable to load workspace data, initializing to default data');\n return LocalWorkspaceStorage.makeDefaultWorkspace(_this.layoutStorage, options);\n }\n })();\n }\n\n // eslint-disable-next-line class-methods-use-this\n save(workspace) {\n return _asyncToGenerator(function* () {\n localStorage.setItem(LocalWorkspaceStorage.STORAGE_KEY, JSON.stringify(workspace));\n return workspace;\n })();\n }\n}\n_defineProperty(LocalWorkspaceStorage, \"STORAGE_KEY\", 'deephaven.WorkspaceStorage');\nexport default LocalWorkspaceStorage;\n//# sourceMappingURL=LocalWorkspaceStorage.js.map"],"names":["asyncGeneratorStep","n","t","e","r","c","i","u","_asyncToGenerator","_next","_throw","DEFAULT_PATH_IGNORE_LIST","DEFAULT_MAXIMUM_DEPTH","stringifyReplacer","ignoreList","pathMap","key","value","_pathMap$get","currPath","isOnIgnoreList","_loop","v","index","_ret","getReduxDataString","reduxData","_stringify","maximumDepth","stringify","configure","getFormattedMetadata","metadata","formatDate","date","year","month","day","h","m","exportLogs","_x","_x2","_x3","_exportLogs","logHistory","fileNamePrefix","zip","JSZip","folder","blob","link","ThemePicker","selectedThemeKey","setSelectedThemeKey","themes","useTheme","onSelectionChange","useCallback","_jsx","Picker","item","Item","Logo","_ref","className","style","classNames","_defineProperty","_toPropertyKey","_toPrimitive","Collapse","Component","elem","scrollBarWidth","props","React","autoFocusOnShow","input","_children","inTransition","dataTestId","CSSTransition","state","NAVIGATION_SHORTCUTS","ShortcutRegistry","MODIFIER","KEY","ownKeys","o","_objectSpread","NavTab","memo","tab","onClose","onSelect","isActive","activeRef","isDraggable","contextActions","renderAfterTabContent","isClosable","title","icon","iconElem","FontAwesomeIcon","Draggable","provided","snapshot","_jsxs","event","Tooltip","Button","vsClose","ContextActions","DashboardList","tabs","EMPTY_ARRAY","searchText","setSearchText","useState","focusedIndex","setFocusedIndex","searchField","useRef","listRef","itemRefs","useEffect","_searchField$current","_itemRefs$current$foc","handleSearchChange","handleTabSelect","handleMouseDown","filteredTabs","useMemo","a","b","_a$title$localeCompar","handleSearchKeyDown","prev","selectedIndex","tabElements","_tab$key","el","errorElement","SearchInput","GLOBAL_SHORTCUTS","CLICK_TIMEOUT","START_SPEED","ACCELERATION","isScrolledLeft","element","isScrolledRight","makeBaseContextActions","disabled","_i","NavTabList","activeKey","onReorder","makeContextActions","containerRef","isOverflowing","setIsOverflowing","isDashboardTabMenuShown","setIsDashboardTabMenuShown","disableScrollLeft","setDisableScrollLeft","disableScrollRight","setDisableScrollRight","handleResize","useResizeObserver","onDragEnd","result","DragUtils","handleScroll","shouldDisableScrollLeft","shouldDisableScrollRight","continuousScrollRef","handleLeftClick","children","child","handleRightClick","handleMouseRepeat","direction","startX","deltaX","prevTimestamp","container","timestamp","startTime","deltaTime","newDeltaX","endContinuousScroll","holdTimer","rAF","handleMouseDownLeft","handleMouseDownRight","_containerRef$current","onWheel","nav","delta","clamp","_containerRef$current2","tabContextActionMap","tabContextActions","_makeContextActions","activeTabRef","activeTab","navTabs","handleDashboardMenuClick","handleDashboardMenuSelect","handleDashboardMenuClose","vsChevronLeft","DragDropContext","Droppable","vsChevronRight","vsChevronDown","Popper","useCreateClient","serverUrl","options","api","useApi","client","ClientContext","createContext","ClientBootstrap","useClient","useContextOrThrow","schema","RUFF_SETTINGS_URI","monaco.Uri","registerRuffSchema","schemas","monaco.languages","ruffSchema","getRuffVersion","_getRuffVersion","MonacoProviders","Workspace","RuffSettingsModal","text","isOpen","onSave","readOnly","defaultSettings","RUFF_DEFAULT_SETTINGS","isValid","setIsValid","isDefault","setIsDefault","editorRef","formattedDefaultSettings","ruffVersion","usePromiseFactory","model","monaco.editor","handleClose","handleSave","_editorRef$current$ge","_editorRef$current","handleReset","assertNotNull","validate","val","_editorRef$current2","debouncedValidate","useDebouncedCallback","onEditorInitialized","editor","Modal","ModalHeader","Link","EMPTY_FUNCTION","vsLinkExternal","ActionButton","Icon","vsDiscard","Text","ModalBody","Editor","ModalFooter","_Fragment","LOGIN_OPTIONS_REQUEST","SESSION_DETAILS_REQUEST","BROADCAST_CHANNEL_NAME","BROADCAST_LOGIN_MESSAGE","BROADCAST_LOGOUT_MESSAGE","isBroadcastLoginMessage","obj","isMessage","isBroadcastLogoutMessage","NoConsolesError","isNoConsolesError","error","log","Log","createSessionWrapper","_createSessionWrapper","dh","connection","details","types","type","session","config","nanoid","createCoreClient","websocketUrl","isSessionDetails","requestParentSessionDetails","_requestParentSessionDetails","response","requestParentResponse","getSessionDetails","_getSessionDetails","searchParams","loadSessionWrapper","_x4","_x5","_x6","_loadSessionWrapper","sessionDetails","sessionWrapper","RESIZE_THROTTLE","DEFAULT_CALLBACK","EMPTY_OBJECT","Dashboard","id","emptyDashboard","layoutConfig","layoutSettings","onLayoutConfigChange","onGoldenLayoutChange","onLayoutInitialized","fallbackComponent","PanelPlaceholder","hydrate","dehydrate","panelWrapper","layoutElement","isInitialized","setIsInitialized","layout","setLayout","LayoutUtils","newLayout","GoldenLayout","onInit","throttle","LayoutManagerContext","DashboardIdContext","FiberProvider","DashboardLayout","_excluded","_objectWithoutProperties","_objectWithoutPropertiesLoose","LazyDashboard","plugins","rest","isLoaded","setIsLoaded","dispatch","useDispatch","handleLayoutConfigChange","DEFAULT_DASHBOARD_ID","updateWorkspaceData","updateDashboardData","LoadingOverlay","getDashboardPlugins","dbPlugins","plugin","isDashboardPlugin","isLegacyDashboardPlugin","_ref2","pluginName","_DPlugin","DPlugin","useDashboardPlugins","usePlugins","dashboardPlugins","UserOverrideContext","UserPermissionsOverrideContext","UserContext","ConnectionContext","createExportLogsContextAction","isGlobal","store","ServerConfigContext","ServerConfigBootstrap","serverConfig","setServerConfig","setError","isCanceled","loadServerConfigValues","_loadServerConfigValues","newServerConfigValues","isLoading","getErrorMessage","useServerConfig","AppDashboards","dashboards","activeDashboard","fetchObject","useObjectFetcher","hydratePanel","hydrateProps","_fetch","fetch","DashboardUtils","d","useConnection","useUser","GrpcFileStorageTable","storageService","baseRoot","root","debounce","filename","FileUtils","_this$viewportUpdateP","sortedRanges","path","expanded","paths","nextPath","remainingPath","childTable","_childTable","_childTable2","search","viewport","callback","other","_this$viewportUpdateP2","refreshPromise","resolve","viewportUpdatePromise","PromiseUtils","viewportData","CanceledPromiseError","_this","dirContents","items","file","basename","childViewportData","_this$currentViewport","listeners","data","GrpcFileStorage","table","_this2","_this3","fileContents","name","_this4","content","newName","_this5","_this6","_this7","_this8","allItems","FileNotFoundError","itemDetails","isFileType","GrpcLayoutStorage","files","isLayoutV2","isLayoutV1","DEFAULT_LAYOUT_CONFIG","ConsolePanel","LogPanel","CommandHistoryPanel","FileExplorerPanel","DEFAULT_LAYOUT_CONFIG_NO_CONSOLE","normalizeLayout","getDefaultLayout","_getDefaultLayout","layoutStorage","isConsoleAvailable","layouts","err","exportLayout","filterSets","links","pluginDataMap","exportedLayout","UserLayoutUtils","LocalWorkspaceStorage","serverConfigValues","_serverConfigValues$g","_serverConfigValues$g2","settings","DateTimeColumnFormatter","DecimalColumnFormatter","IntegerColumnFormatter","serverSettings","merge","_localStorage$getItem","workspace"],"mappings":"88BAAA,SAASA,GAAmBC,EAAGC,EAAGC,EAAGC,EAAG,EAAG,EAAGC,EAAG,CAAE,GAAI,CAAE,IAAIC,EAAIL,EAAE,CAAC,EAAEI,CAAC,EAAGE,EAAID,EAAE,KAAO,OAASL,EAAG,CAAE,OAAO,KAAKE,EAAEF,CAAC,CAAG,CAAEK,EAAE,KAAOJ,EAAEK,CAAC,EAAI,QAAQ,QAAQA,CAAC,EAAE,KAAKH,EAAG,CAAC,CAAG,CACxK,SAASI,GAAkBP,EAAG,CAAE,OAAO,UAAY,CAAE,IAAIC,EAAI,KAAMC,EAAI,UAAW,OAAO,IAAI,QAAQ,SAAUC,EAAG,EAAG,CAAE,IAAI,EAAIH,EAAE,MAAMC,EAAGC,CAAC,EAAG,SAASM,EAAMR,EAAG,CAAED,GAAmB,EAAGI,EAAG,EAAGK,EAAOC,EAAQ,OAAQT,CAAC,CAAG,CAAE,SAASS,EAAOT,EAAG,CAAED,GAAmB,EAAGI,EAAG,EAAGK,EAAOC,EAAQ,QAAST,CAAC,CAAG,CAAEQ,EAAM,MAAM,CAAG,CAAC,CAAG,CAAG,CAMzT,IAAIE,GAA2B,CAAC,CAAC,KAAK,EAAG,CAAC,QAAQ,EAAG,CAAC,gBAAiB,IAAK,YAAY,EAAG,CAAC,gBAAiB,IAAK,gBAAgB,EAAG,CAAC,gBAAiB,IAAK,WAAW,EAAG,CAAC,eAAe,EAAG,CAAC,SAAS,CAAC,EAG3MC,GAAwB,GAC5B,SAASC,GAAkBC,EAAY,CAGrC,IAAIC,EAAU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A,CACT,CAAC,EAAC,CACJ,CACF,CACAjb,GAAgBsa,EAAuB,cAAe,4BAA4B"}
1
+ {"version":3,"file":"LocalWorkspaceStorage-DXAI74vd.js","sources":["../../../log/dist/LogExport.js","../../../components/dist/theme/ThemePicker.js","../../../components/dist/theme/Logo.js","../../../components/dist/Collapse.js","../../../components/dist/shortcuts/NavigationShortcuts.js","../../../components/dist/navigation/NavTab.js","../../../components/dist/navigation/DashboardList.js","../../../components/dist/navigation/NavTabList.js","../../../jsapi-bootstrap/dist/useCreateClient.js","../../../jsapi-bootstrap/dist/ClientBootstrap.js","../../../jsapi-bootstrap/dist/useClient.js","../../../console/dist/monaco/ruffSchema.js","../../../console/dist/monaco/RuffSettingsModal.js","../../../jsapi-utils/dist/MessageUtils.js","../../../jsapi-utils/dist/NoConsolesError.js","../../../jsapi-utils/dist/SessionUtils.js","../../../dashboard/dist/Dashboard.js","../../../dashboard/dist/LazyDashboard.js","../../../plugin/dist/useDashboardPlugins.js","../../../auth-plugins/dist/UserContexts.js","../../../app-utils/dist/components/ConnectionContext.js","../../../app-utils/dist/utils/createExportLogsContextAction.js","../../../app-utils/dist/components/ServerConfigBootstrap.js","../../../app-utils/dist/components/useServerConfig.js","../../../app-utils/dist/components/AppDashboards.js","../../../app-utils/dist/components/useConnection.js","../../../app-utils/dist/components/useUser.js","../../../app-utils/dist/storage/grpc/GrpcFileStorageTable.js","../../../app-utils/dist/storage/grpc/GrpcFileStorage.js","../../../app-utils/dist/storage/grpc/GrpcLayoutStorage.js","../../../app-utils/dist/storage/LayoutStorage.js","../../../app-utils/dist/storage/UserLayoutUtils.js","../../../app-utils/dist/storage/LocalWorkspaceStorage.js"],"sourcesContent":["function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nimport JSZip from 'jszip';\nimport { configure } from 'safe-stable-stringify';\n// List of paths to ignore\n// '' represents the root object\n// * represents a wildcard key\nexport var DEFAULT_PATH_IGNORE_LIST = [['api'], ['client'], ['dashboardData', '*', 'connection'], ['dashboardData', '*', 'sessionWrapper'], ['dashboardData', '*', 'openedMap'], ['layoutStorage'], ['storage']];\n\n// The default maximum depth to serialize to in the redux data\nvar DEFAULT_MAXIMUM_DEPTH = 10;\nfunction stringifyReplacer(ignoreList) {\n // modified from:\n // https://stackoverflow.com/questions/61681176/json-stringify-replacer-how-to-get-full-path\n var pathMap = new Map();\n // replacer function is also called for the initial object, key is \"\"\n // https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/JSON/stringify#the_replacer_parameter\n\n return function replacer(key, value) {\n var _pathMap$get;\n // get and store path\n var currPath = [...((_pathMap$get = pathMap.get(this)) !== null && _pathMap$get !== void 0 ? _pathMap$get : []), key];\n if (value === Object(value)) pathMap.set(value, [...currPath]);\n currPath.shift();\n\n // check ignore list\n if (isOnIgnoreList(currPath, ignoreList)) {\n return undefined;\n }\n if (value instanceof Map) {\n return Array.from(value.entries());\n }\n\n // not in ignore list, return value\n return value;\n };\n}\nfunction isOnIgnoreList(currPath, ignoreList) {\n var _loop = function _loop(i) {\n if (currPath.length === ignoreList[i].length && currPath.every((v, index) => ignoreList[i][index] === '*' || v === ignoreList[i][index])) {\n // ignore list match\n return {\n v: true\n };\n }\n },\n _ret;\n for (var i = 0; i < ignoreList.length; i += 1) {\n _ret = _loop(i);\n if (_ret) return _ret.v;\n }\n return false;\n}\nexport function getReduxDataString(reduxData) {\n var _stringify;\n var ignoreList = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : [];\n var maximumDepth = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : DEFAULT_MAXIMUM_DEPTH;\n // Limit the maximum depth to prevent linked structures from blowing up the log size\n // All objects at the maximum depth are replaced with \"[Object]\" or \"[Array]\"\n var stringify = configure({\n maximumDepth\n });\n return (// Using safe-stable-stringify which handles circular references and BigInt\n // All circular references are replaced with \"[Circular]\", and BigInt values are converted to a number\n (_stringify = stringify(reduxData, stringifyReplacer(ignoreList), 2 // Indent w/ 2 spaces\n )) !== null && _stringify !== void 0 ? _stringify : ''\n );\n}\nfunction getFormattedMetadata(metadata) {\n return JSON.stringify(metadata, null, 2);\n}\n\n/** Format a date to a string that can be used as a file name\n * @param date Date to format\n * @returns A string formatted as YYYY-MM-DD-HHMMSS\n */\nfunction formatDate(date) {\n var year = date.getFullYear();\n var month = String(date.getMonth() + 1).padStart(2, '0');\n var day = String(date.getDate()).padStart(2, '0');\n var h = String(date.getHours()).padStart(2, '0');\n var m = String(date.getMinutes()).padStart(2, '0');\n var s = String(date.getSeconds()).padStart(2, '0');\n return \"\".concat(year, \"-\").concat(month, \"-\").concat(day, \"-\").concat(h).concat(m).concat(s);\n}\n\n/**\n * Export support logs with the given name.\n * @param logHistory Log history to include in the console.txt file\n * @param metadata Additional metadata to include in the metadata.json file\n * @param reduxData Redux data to include in the redux.json file\n * @param ignoreList List of JSON paths to ignore in redux data. A JSON path is a list representing the path to that value (e.g. client.data would be `['client', 'data']`). Wildcards (*) are accepted in the path.\n * @param fileNamePrefix The zip file name without the .zip extension. Ex: test will be saved as test.zip\n * @param maximumDepth The maximum depth to serialize the redux data to. Objects at the maximum depth will be replaced with \"[Object]\" or \"[Array]\".\n * @returns A promise that resolves successfully if the log archive is created and downloaded successfully, rejected if there's an error\n */\nexport function exportLogs(_x, _x2, _x3) {\n return _exportLogs.apply(this, arguments);\n}\nfunction _exportLogs() {\n _exportLogs = _asyncToGenerator(function* (logHistory, metadata, reduxData) {\n var ignoreList = arguments.length > 3 && arguments[3] !== undefined ? arguments[3] : DEFAULT_PATH_IGNORE_LIST;\n var fileNamePrefix = arguments.length > 4 && arguments[4] !== undefined ? arguments[4] : \"\".concat(formatDate(new Date()), \"_support_logs\");\n var maximumDepth = arguments.length > 5 && arguments[5] !== undefined ? arguments[5] : DEFAULT_MAXIMUM_DEPTH;\n var zip = new JSZip();\n var folder = zip.folder(fileNamePrefix);\n folder.file('console.txt', logHistory.getFormattedHistory());\n if (metadata != null) {\n folder.file('metadata.json', getFormattedMetadata(metadata));\n }\n if (reduxData != null) {\n folder.file('redux.json', getReduxDataString(reduxData, ignoreList, maximumDepth));\n }\n var blob = yield zip.generateAsync({\n type: 'blob'\n });\n var link = document.createElement('a');\n link.href = URL.createObjectURL(blob);\n link.download = \"\".concat(fileNamePrefix, \".zip\");\n link.click();\n });\n return _exportLogs.apply(this, arguments);\n}\n//# sourceMappingURL=LogExport.js.map","import { useCallback } from 'react';\nimport { Item, Picker } from '@adobe/react-spectrum';\nimport useTheme from \"./useTheme.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function ThemePicker() {\n var {\n selectedThemeKey,\n setSelectedThemeKey,\n themes\n } = useTheme();\n var onSelectionChange = useCallback(key => {\n if (key != null) {\n setSelectedThemeKey(\"\".concat(key));\n }\n }, [setSelectedThemeKey]);\n return /*#__PURE__*/_jsx(Picker, {\n label: \"Pick a color scheme\",\n items: themes,\n selectedKey: selectedThemeKey,\n onSelectionChange: onSelectionChange,\n children: item => /*#__PURE__*/_jsx(Item, {\n children: item.name\n }, item.themeKey)\n });\n}\nexport default ThemePicker;\n//# sourceMappingURL=ThemePicker.js.map","import classNames from 'classnames';\nimport \"./Logo.css\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function Logo(_ref) {\n var {\n className,\n style\n } = _ref;\n return /*#__PURE__*/_jsx(\"div\", {\n className: classNames('dh-logo', className),\n style: style\n });\n}\nexport default Logo;\n//# sourceMappingURL=Logo.js.map","function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n// Port of https://github.com/react-bootstrap/react-bootstrap/blob/master/src/Collapse.js\nimport React, { Component } from 'react';\nimport classNames from 'classnames';\nimport { CSSTransition } from 'react-transition-group';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nclass Collapse extends Component {\n static getHeight(elem) {\n var scrollBarWidth = elem.scrollWidth - elem.clientWidth;\n return elem.scrollHeight - scrollBarWidth;\n }\n constructor(props) {\n super(props);\n _defineProperty(this, \"nodeRef\", /*#__PURE__*/React.createRef());\n this.handleEntered = this.handleEntered.bind(this);\n }\n handleEntered() {\n var elem = this.nodeRef.current;\n if (!elem) {\n return;\n }\n elem.style.height = '';\n var {\n autoFocusOnShow\n } = this.props;\n if (autoFocusOnShow !== undefined && autoFocusOnShow) {\n var input = elem.querySelector('input, select, textarea');\n if (input != null) {\n input.focus();\n }\n }\n }\n handleEnter() {\n var elem = this.nodeRef.current;\n if (!elem) {\n return;\n }\n elem.style.height = '0';\n }\n handleEntering() {\n var elem = this.nodeRef.current;\n if (!elem) {\n return;\n }\n elem.style.height = \"\".concat(Collapse.getHeight(elem), \"px\");\n }\n handleExiting() {\n var elem = this.nodeRef.current;\n if (!elem) {\n return;\n }\n elem.style.height = '0';\n }\n handleExit() {\n var elem = this.nodeRef.current;\n if (!elem) {\n return;\n }\n elem.style.height = \"\".concat(Collapse.getHeight(elem), \"px\");\n }\n render() {\n var {\n children: _children,\n className,\n in: inTransition,\n 'data-testid': dataTestId\n } = this.props;\n return /*#__PURE__*/_jsx(CSSTransition, {\n in: inTransition,\n classNames: {\n enterActive: 'collapsing',\n enterDone: 'collapse show',\n exitActive: 'collapsing',\n exitDone: 'collapse'\n },\n onEnter: this.handleEnter,\n onEntering: this.handleEntering,\n onEntered: this.handleEntered,\n onExit: this.handleExit,\n onExiting: this.handleExiting,\n timeout: 350,\n nodeRef: this.nodeRef,\n children: state => /*#__PURE__*/_jsx(\"div\", {\n ref: this.nodeRef,\n className: classNames({\n collapse: state === 'exited'\n }, className),\n \"data-testid\": dataTestId,\n children: _children\n })\n });\n }\n}\n_defineProperty(Collapse, \"defaultProps\", {\n className: '',\n autoFocusOnShow: false,\n 'data-testid': undefined\n});\nexport default Collapse;\n//# sourceMappingURL=Collapse.js.map","import ShortcutRegistry from \"./ShortcutRegistry.js\";\nimport { MODIFIER, KEY } from \"./Shortcut.js\";\nvar NAVIGATION_SHORTCUTS = {\n CYCLE_TO_NEXT_STACK: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_NEXT_STACK',\n name: 'Cycle To Next Stack',\n shortcut: [MODIFIER.CTRL, KEY.SINGLE_QUOTE],\n macShortcut: [MODIFIER.CMD, KEY.SINGLE_QUOTE],\n isEditable: true\n }),\n CYCLE_TO_PREVIOUS_STACK: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_PREVIOUS_STACK',\n name: 'Cycle To Previous Stack',\n shortcut: [MODIFIER.CTRL, KEY.SEMICOLON],\n macShortcut: [MODIFIER.CMD, KEY.SEMICOLON],\n isEditable: true\n }),\n CYCLE_TO_NEXT_TAB: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_NEXT_TAB',\n name: 'Cycle To Next Tab',\n shortcut: [MODIFIER.CTRL, MODIFIER.SHIFT, KEY.DOUBLE_QUOTE],\n macShortcut: [MODIFIER.CMD, MODIFIER.SHIFT, KEY.SINGLE_QUOTE],\n isEditable: true\n }),\n CYCLE_TO_PREVIOUS_TAB: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_PREVIOUS_TAB',\n name: 'Cycle To Previous Tab',\n shortcut: [MODIFIER.CTRL, MODIFIER.SHIFT, KEY.COLON],\n macShortcut: [MODIFIER.CMD, MODIFIER.SHIFT, KEY.SEMICOLON],\n isEditable: true\n }),\n CYCLE_TO_NEXT_DASHBOARD: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_NEXT_DASHBOARD',\n name: 'Cycle To Next Dashboard',\n shortcut: [MODIFIER.CTRL, KEY.PERIOD],\n macShortcut: [MODIFIER.CMD, KEY.PERIOD],\n isEditable: true\n }),\n CYCLE_TO_PREVIOUS_DASHBOARD: ShortcutRegistry.createAndAdd({\n id: 'NAVIGATION.CYCLE_TO_PREVIOUS_DASHBOARD',\n name: 'Cycle To Previous Dashboard',\n shortcut: [MODIFIER.CTRL, KEY.COMMA],\n macShortcut: [MODIFIER.CMD, KEY.COMMA],\n isEditable: true\n })\n};\nexport default NAVIGATION_SHORTCUTS;\n//# sourceMappingURL=NavigationShortcuts.js.map","function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport React, { memo } from 'react';\nimport classNames from 'classnames';\nimport { Draggable } from '@hello-pangea/dnd';\nimport { vsClose } from '@deephaven/icons';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport Button from \"../Button.js\";\nimport ContextActions from \"../context-actions/ContextActions.js\";\nimport { Tooltip } from \"../popper/index.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nvar NavTab = /*#__PURE__*/memo(_ref => {\n var {\n tab,\n onClose,\n onSelect,\n isActive,\n activeRef,\n index,\n isDraggable,\n contextActions,\n renderAfterTabContent\n } = _ref;\n var {\n key,\n isClosable = onClose != null,\n title,\n icon\n } = tab;\n var iconElem;\n if (icon != null) {\n iconElem = /*#__PURE__*/React.isValidElement(icon) ? icon : /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: icon\n });\n }\n return /*#__PURE__*/_jsx(Draggable, {\n draggableId: key,\n index: index,\n isDragDisabled: !isDraggable,\n children: (provided, snapshot) => /*#__PURE__*/_jsxs(\"div\", {\n className: \"context-menu-wrapper\",\n ref: isActive ? activeRef : null,\n children: [/*#__PURE__*/_jsxs(\"div\", _objectSpread(_objectSpread(_objectSpread({\n ref: provided.innerRef\n // eslint-disable-next-line react/jsx-props-no-spreading\n }, provided.draggableProps), provided.dragHandleProps), {}, {\n className: classNames('btn btn-link btn-nav-tab', {\n active: isActive\n }, {\n dragging: snapshot.isDragging\n }),\n \"data-testid\": \"btn-nav-tab-\".concat(title),\n role: \"tab\",\n tabIndex: 0,\n onAuxClick: e => {\n // Middle mouse button was clicked, and no buttons remain pressed\n if (isClosable && e.button === 1 && e.buttons === 0) {\n onClose === null || onClose === void 0 || onClose(key);\n }\n },\n onClick: e => {\n // have to have seperate check onClick for Safari not supporting AuxClick\n if (isClosable && e.button === 1 && e.buttons === 0) {\n onClose === null || onClose === void 0 || onClose(key);\n return;\n }\n // Left mouse button was clicked, and no buttons remain pressed\n if (e.button === 0 && e.buttons === 0) {\n // focus is normally set on mousedown, but dnd calls preventDefault for drag purposes\n // so we can call focus on the firing of the actual click event manually\n e.target.focus();\n onSelect(key);\n }\n },\n onKeyPress: event => {\n if (event.key === 'Enter') onSelect(key);\n },\n children: [iconElem, /*#__PURE__*/_jsxs(\"span\", {\n className: \"btn-nav-tab-title\",\n children: [title, /*#__PURE__*/_jsx(Tooltip, {\n children: title\n })]\n }), renderAfterTabContent === null || renderAfterTabContent === void 0 ? void 0 : renderAfterTabContent(tab), isClosable && /*#__PURE__*/_jsx(Button, {\n kind: \"ghost\",\n className: \"btn-nav-tab-close\",\n onClick: event => {\n onClose === null || onClose === void 0 || onClose(key);\n event.stopPropagation();\n event.preventDefault();\n },\n icon: vsClose,\n tooltip: \"Close\"\n })]\n })), /*#__PURE__*/_jsx(ContextActions, {\n actions: contextActions\n })]\n })\n }, key);\n});\nNavTab.displayName = 'NavTab';\nexport default NavTab;\n//# sourceMappingURL=NavTab.js.map","import React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { EMPTY_ARRAY } from '@deephaven/utils';\nimport { Button } from \"../Button.js\";\nimport SearchInput from \"../SearchInput.js\";\nimport \"./DashboardList.css\";\nimport { GLOBAL_SHORTCUTS } from \"../shortcuts/index.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\n/**\n * Display a search field and a list of dashboard tabs\n * @param props The tabs and handlers to use for this list\n * @returns A JSX element for the list of dashboard tabs, along with search\n */\nexport function DashboardList(props) {\n var {\n onSelect,\n tabs = EMPTY_ARRAY\n } = props;\n var [searchText, setSearchText] = useState('');\n var [focusedIndex, setFocusedIndex] = useState(0);\n var searchField = useRef(null);\n var listRef = useRef(null);\n var itemRefs = useRef([]);\n useEffect(() => {\n var _searchField$current;\n (_searchField$current = searchField.current) === null || _searchField$current === void 0 || _searchField$current.focus();\n }, []);\n useEffect(() => {\n setFocusedIndex(0);\n }, [searchText]);\n useEffect(() => {\n if (focusedIndex >= 0 && itemRefs.current[focusedIndex]) {\n var _itemRefs$current$foc;\n (_itemRefs$current$foc = itemRefs.current[focusedIndex]) === null || _itemRefs$current$foc === void 0 || _itemRefs$current$foc.scrollIntoView({\n behavior: 'auto',\n block: 'nearest'\n });\n }\n }, [focusedIndex]);\n var handleSearchChange = useCallback(e => {\n setSearchText(e.target.value);\n }, []);\n var handleTabSelect = useCallback(tab => {\n onSelect(tab);\n }, [onSelect]);\n var handleMouseDown = useCallback(event => {\n // Prevent mousedown from taking focus away from the search input\n event.preventDefault();\n }, []);\n var filteredTabs = useMemo(() => tabs.filter(tab => tab.title.toLowerCase().includes(searchText.toLowerCase())), [searchText, tabs]).sort((a, b) => {\n var _a$title$localeCompar;\n return (_a$title$localeCompar = a.title.localeCompare(b.title)) !== null && _a$title$localeCompar !== void 0 ? _a$title$localeCompar : 0;\n });\n var handleSearchKeyDown = useCallback(event => {\n if (event.key === 'ArrowDown' && filteredTabs.length > 0) {\n event.preventDefault();\n setFocusedIndex(prev => prev === -1 ? 0 : (prev + 1) % filteredTabs.length);\n } else if (event.key === 'ArrowUp' && filteredTabs.length > 0) {\n event.preventDefault();\n setFocusedIndex(prev => {\n if (prev === -1) return filteredTabs.length - 1;\n return (prev - 1 + filteredTabs.length) % filteredTabs.length;\n });\n } else if (event.key === 'Enter' && filteredTabs.length > 0) {\n event.preventDefault();\n var selectedIndex = focusedIndex >= 0 ? focusedIndex : 0;\n handleTabSelect(filteredTabs[selectedIndex]);\n } else if (event.key === 'Tab') {\n event.preventDefault();\n }\n }, [filteredTabs, focusedIndex, handleTabSelect]);\n var tabElements = useMemo(() => filteredTabs.map((tab, index) => {\n var _tab$key;\n return /*#__PURE__*/_jsx(\"li\", {\n ref: el => {\n itemRefs.current[index] = el;\n },\n onMouseDown: handleMouseDown,\n children: /*#__PURE__*/_jsxs(Button, {\n kind: \"ghost\",\n \"data-testid\": \"dashboard-list-item-\".concat((_tab$key = tab.key) !== null && _tab$key !== void 0 ? _tab$key : '', \"-button\"),\n onClick: () => handleTabSelect(tab),\n className: focusedIndex === index ? 'focused' : '',\n style: {\n transition: 'none'\n },\n children: [tab.icon ? /*#__PURE__*/_jsx(\"span\", {\n className: \"dashboard-list-item-icon\",\n children: /*#__PURE__*/React.isValidElement(tab.icon) ? tab.icon : /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: tab.icon\n })\n }) : null, tab.title]\n })\n }, tab.key);\n }), [filteredTabs, handleTabSelect, focusedIndex, handleMouseDown]);\n var errorElement = useMemo(() => tabElements.length === 0 ? /*#__PURE__*/_jsx(\"span\", {\n children: \"No open dashboard found.\"\n }) : null, [tabElements]);\n return /*#__PURE__*/_jsxs(\"div\", {\n className: \"dashboard-list-container d-flex flex-column\",\n children: [/*#__PURE__*/_jsx(\"div\", {\n className: \"dashboard-list-header\",\n children: /*#__PURE__*/_jsx(SearchInput, {\n value: searchText,\n placeholder: \"Find open dashboard\",\n endPlaceholder: GLOBAL_SHORTCUTS.OPEN_DASHBOARD_LIST.getDisplayText(),\n onChange: handleSearchChange,\n onKeyDown: handleSearchKeyDown,\n ref: searchField\n })\n }), /*#__PURE__*/_jsxs(\"ul\", {\n className: \"dashboard-list flex-grow-1\",\n ref: listRef,\n children: [errorElement && /*#__PURE__*/_jsx(\"li\", {\n className: \"dashboard-list-message\",\n children: errorElement\n }), !errorElement && tabElements]\n })]\n });\n}\nexport default DashboardList;\n//# sourceMappingURL=DashboardList.js.map","function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport React, { useCallback, useEffect, useMemo, useRef, useState } from 'react';\nimport classNames from 'classnames';\nimport clamp from 'lodash.clamp';\nimport { DragDropContext, Droppable } from '@hello-pangea/dnd';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { vsChevronRight, vsChevronLeft, vsChevronDown } from '@deephaven/icons';\nimport { useResizeObserver } from '@deephaven/react-hooks';\nimport DragUtils from \"../DragUtils.js\";\nimport Button from \"../Button.js\";\nimport NavTab from \"./NavTab.js\";\nimport \"./NavTabList.css\";\nimport { ContextActions } from \"../context-actions/index.js\";\nimport Popper from \"../popper/Popper.js\";\nimport DashboardList from \"./DashboardList.js\";\nimport { GLOBAL_SHORTCUTS } from \"../shortcuts/index.js\"; // mouse hold timeout to act as hold instead of click\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nvar CLICK_TIMEOUT = 500;\n\n// mouse hold acceleration\nvar START_SPEED = 0.01;\nvar ACCELERATION = 0.0005;\nfunction isScrolledLeft(element) {\n return element.scrollLeft === 0;\n}\nfunction isScrolledRight(element) {\n return (\n // single pixel buffer to account for sub-pixel rendering\n Math.abs(element.scrollLeft + element.clientWidth - element.scrollWidth) <= 1 || element.scrollWidth === 0\n );\n}\nfunction makeBaseContextActions(tab, tabs, onClose) {\n var {\n isClosable = false,\n key\n } = tab;\n var contextActions = [];\n if (isClosable && onClose != null) {\n contextActions.push({\n title: 'Close',\n order: 10,\n group: 20,\n action: () => {\n onClose(key);\n }\n });\n var disabled = true;\n for (var i = tabs.length - 1; i > 0; i -= 1) {\n if (tabs[i].key === tab.key) break;\n if (tabs[i].isClosable === true) {\n disabled = false;\n break;\n }\n }\n contextActions.push({\n title: 'Close to the Right',\n order: 20,\n group: 20,\n action: () => {\n for (var _i = tabs.length - 1; _i > 0; _i -= 1) {\n if (tabs[_i].key === key) break;\n if (tabs[_i].isClosable === true) onClose(tabs[_i].key);\n }\n },\n disabled\n });\n contextActions.push({\n title: 'Close All',\n order: 30,\n group: 20,\n action: () => {\n tabs.forEach(t => {\n if (t.isClosable === true) onClose(t.key);\n });\n }\n });\n }\n return contextActions;\n}\nfunction NavTabList(_ref) {\n var {\n activeKey,\n tabs,\n onSelect,\n onReorder,\n onClose,\n makeContextActions,\n renderAfterTabContent\n } = _ref;\n var containerRef = useRef();\n var [isOverflowing, setIsOverflowing] = useState(true);\n var [isDashboardTabMenuShown, setIsDashboardTabMenuShown] = useState(false);\n var [disableScrollLeft, setDisableScrollLeft] = useState(true);\n var [disableScrollRight, setDisableScrollRight] = useState(true);\n var handleResize = useCallback(() => {\n if (containerRef.current == null) {\n return;\n }\n if (containerRef.current.clientWidth < containerRef.current.scrollWidth && tabs.length > 0) {\n setIsOverflowing(true);\n } else {\n setIsOverflowing(false);\n }\n setDisableScrollLeft(isScrolledLeft(containerRef.current));\n setDisableScrollRight(isScrolledRight(containerRef.current));\n }, [tabs]);\n useResizeObserver(containerRef.current, handleResize);\n var onDragEnd = useCallback(result => {\n DragUtils.stopDragging();\n\n // dropped outside the list\n if (!result.destination) {\n return;\n }\n onReorder === null || onReorder === void 0 || onReorder(result.source.index, result.destination.index);\n }, [onReorder]);\n var handleScroll = useCallback(() => {\n if (containerRef.current == null) {\n return;\n }\n var shouldDisableScrollLeft = isScrolledLeft(containerRef.current);\n if (shouldDisableScrollLeft !== disableScrollLeft) {\n setDisableScrollLeft(shouldDisableScrollLeft);\n }\n var shouldDisableScrollRight = isScrolledRight(containerRef.current);\n if (shouldDisableScrollRight !== disableScrollRight) {\n setDisableScrollRight(shouldDisableScrollRight);\n }\n }, [disableScrollLeft, disableScrollRight]);\n var continuousScrollRef = useRef({\n cancelClick: false\n });\n var handleLeftClick = useCallback(() => {\n if (containerRef.current == null || continuousScrollRef.current.cancelClick) {\n return;\n }\n var {\n children\n } = containerRef.current;\n for (var i = children.length - 1; i >= 0; i -= 1) {\n var child = children[i];\n // Subtract 5px from left edge to account for rounding of offset values\n if (child.offsetLeft < containerRef.current.scrollLeft - 5) {\n child.scrollIntoView({\n behavior: 'smooth',\n block: 'nearest',\n inline: 'start'\n });\n return;\n }\n }\n }, []);\n var handleRightClick = useCallback(() => {\n if (containerRef.current == null || continuousScrollRef.current.cancelClick) {\n return;\n }\n var {\n children\n } = containerRef.current;\n for (var i = 0; i < children.length; i += 1) {\n var child = children[i];\n // Subtract 5px from right edge to account for rounding of offset values\n if (child.offsetLeft + child.offsetWidth - 5 > containerRef.current.scrollLeft + containerRef.current.offsetWidth) {\n child.scrollIntoView({\n behavior: 'smooth',\n block: 'nearest',\n inline: 'end'\n });\n return;\n }\n }\n }, []);\n\n /**\n * Recurively called after initial timeout on mousedown. Continuously scroll with acceleration.\n * Cancelled by mouseup handler cancelling the animationFrame.\n * @param direction of scroll, left or right\n * @param startX starting position of scroll\n * @param deltaX delta from intial startX calculated recursively\n * @param prevTimestamp called on subsequent delta frames\n */\n var handleMouseRepeat = useCallback(function (direction, startX) {\n var deltaX = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : 0;\n var prevTimestamp = arguments.length > 3 ? arguments[3] : undefined;\n var container = containerRef.current;\n if (container == null) {\n return;\n }\n continuousScrollRef.current.cancelClick = true;\n if (direction === 'left') {\n // eslint-disable-next-line no-param-reassign\n container.scrollLeft = startX - deltaX;\n } else if (direction === 'right') {\n // eslint-disable-next-line no-param-reassign\n container.scrollLeft = startX + deltaX;\n }\n\n // eslint-disable-next-line no-param-reassign\n continuousScrollRef.current.rAF = requestAnimationFrame(timestamp => {\n var startTime = prevTimestamp !== null && prevTimestamp !== void 0 ? prevTimestamp : timestamp;\n var deltaTime = timestamp - startTime;\n var newDeltaX = START_SPEED * deltaTime + 0.5 * ACCELERATION * deltaTime ** 2;\n newDeltaX = Math.min(newDeltaX, container.scrollWidth);\n // scrollLeft enforces a limit but no point letting delta increment beyond scrollWidth\n\n handleMouseRepeat(direction, startX, newDeltaX, startTime);\n });\n }, []);\n var endContinuousScroll = useCallback(() => {\n var {\n holdTimer,\n rAF\n } = continuousScrollRef.current;\n if (holdTimer != null) {\n clearTimeout(holdTimer);\n continuousScrollRef.current.holdTimer = undefined;\n }\n if (rAF != null) {\n cancelAnimationFrame(rAF);\n continuousScrollRef.current.rAF = undefined;\n }\n window.removeEventListener('mouseup', endContinuousScroll);\n }, []);\n useEffect(() => () => window.removeEventListener('mouseup', endContinuousScroll), [endContinuousScroll]);\n var handleMouseDown = useCallback(direction => {\n if (containerRef.current != null) {\n continuousScrollRef.current.holdTimer = window.setTimeout(handleMouseRepeat, CLICK_TIMEOUT, direction, containerRef.current.scrollLeft);\n }\n continuousScrollRef.current.cancelClick = false;\n window.addEventListener('mouseup', endContinuousScroll);\n }, [endContinuousScroll, handleMouseRepeat]);\n var handleMouseDownLeft = useCallback(() => {\n handleMouseDown('left');\n }, [handleMouseDown]);\n var handleMouseDownRight = useCallback(() => {\n handleMouseDown('right');\n }, [handleMouseDown]);\n\n // React binds to the root as a passive listener for wheel\n // This prevents the wheel event from being canceled\n // Bypass React's event system so we can prevent the default behavior\n // https://github.com/facebook/react/issues/14856\n useEffect(function handleWheel() {\n var _containerRef$current;\n var onWheel = e => {\n e.stopPropagation();\n e.preventDefault();\n var nav = e.currentTarget;\n var delta = Math.abs(e.deltaY) > Math.abs(e.deltaX) ? e.deltaY : e.deltaX;\n\n // Scrolling jumps too far sometimes, so clamp to get a smoother scroll\n nav.scrollLeft += clamp(delta, -30, 30);\n };\n (_containerRef$current = containerRef.current) === null || _containerRef$current === void 0 || _containerRef$current.addEventListener('wheel', onWheel);\n return () => {\n var _containerRef$current2;\n (_containerRef$current2 = containerRef.current) === null || _containerRef$current2 === void 0 || _containerRef$current2.removeEventListener('wheel', onWheel);\n };\n }, []);\n var tabContextActionMap = useMemo(() => {\n var tabContextActions = new Map();\n tabs.forEach(tab => {\n var {\n key\n } = tab;\n var contextActions = [() => makeBaseContextActions(tab, tabs, onClose), () => {\n var _makeContextActions;\n return (_makeContextActions = makeContextActions === null || makeContextActions === void 0 ? void 0 : makeContextActions(tab)) !== null && _makeContextActions !== void 0 ? _makeContextActions : [];\n }];\n tabContextActions.set(key, contextActions);\n });\n return tabContextActions;\n }, [makeContextActions, tabs, onClose]);\n var activeTabRef = useRef(null);\n var activeTab = tabs.find(tab => tab.key === activeKey);\n var navTabs = tabs.map((tab, index) => {\n var {\n key\n } = tab;\n var isActive = tab === activeTab;\n return /*#__PURE__*/_jsx(NavTab, {\n tab: tab,\n index: index,\n isActive: isActive,\n activeRef: activeTabRef,\n onSelect: onSelect,\n onClose: onClose,\n isDraggable: onReorder != null,\n contextActions: tabContextActionMap.get(key),\n renderAfterTabContent: renderAfterTabContent\n }, key);\n });\n useEffect(\n // Needs to be in a useEffect so the ref is updated\n function scrollActiveTabIntoView() {\n if (activeTabRef.current != null) {\n activeTabRef.current.scrollIntoView({\n block: 'nearest',\n inline: 'nearest'\n });\n }\n }, [activeKey]);\n var handleDashboardMenuClick = () => {\n setIsDashboardTabMenuShown(!isDashboardTabMenuShown);\n };\n var handleDashboardMenuSelect = tab => {\n setIsDashboardTabMenuShown(false);\n onSelect(tab.key);\n };\n var handleDashboardMenuClose = () => {\n setIsDashboardTabMenuShown(false);\n };\n return /*#__PURE__*/_jsxs(\"nav\", {\n className: \"nav-container\",\n children: [isOverflowing && /*#__PURE__*/_jsx(Button, {\n kind: \"ghost\",\n icon: /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: vsChevronLeft,\n transform: \"grow-4\"\n }),\n className: \"tab-controls-btn tab-controls-btn-left\",\n tooltip: \"Scroll left\",\n onClick: handleLeftClick,\n onMouseDown: handleMouseDownLeft,\n disabled: disableScrollLeft\n }), /*#__PURE__*/_jsx(DragDropContext, {\n onDragStart: DragUtils.startDragging,\n onDragEnd: onDragEnd,\n children: /*#__PURE__*/_jsx(Droppable, {\n droppableId: \"droppable-tab-navigation\",\n direction: \"horizontal\",\n children: (provided, snapshot) => /*#__PURE__*/_jsxs(\"div\", _objectSpread(_objectSpread({\n ref: r => {\n if (r == null) {\n return;\n }\n containerRef.current = r;\n provided.innerRef(r);\n }\n // eslint-disable-next-line react/jsx-props-no-spreading\n }, provided.droppableProps), {}, {\n className: classNames('nav nav-tabs', {\n dragging: snapshot.draggingFromThisWith\n }),\n role: \"tablist\",\n onScroll: handleScroll,\n children: [navTabs, provided.placeholder]\n }))\n })\n }), isOverflowing && /*#__PURE__*/_jsx(Button, {\n kind: \"ghost\",\n icon: /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: vsChevronRight,\n transform: \"grow-4\"\n }),\n className: \"tab-controls-btn tab-controls-btn-right\",\n tooltip: \"Scroll right\",\n onClick: handleRightClick,\n onMouseDown: handleMouseDownRight,\n disabled: disableScrollRight\n }), /*#__PURE__*/_jsx(Button, {\n kind: \"ghost\",\n icon: /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: vsChevronDown,\n transform: \"grow-4\"\n }),\n className: \"btn-dashboard-list-menu btn-show-dashboard-list\",\n tooltip: \"Search open dashboards\",\n onClick: handleDashboardMenuClick,\n disabled: tabs.length < 2,\n style: {\n visibility: isOverflowing ? 'visible' : 'hidden',\n marginLeft: 'auto'\n },\n children: /*#__PURE__*/_jsx(Popper, {\n isShown: isDashboardTabMenuShown,\n className: \"dashboard-list-menu-popper\",\n onExited: handleDashboardMenuClose,\n options: {\n placement: 'bottom-start'\n },\n closeOnBlur: true,\n interactive: true,\n children: /*#__PURE__*/_jsx(DashboardList, {\n tabs: tabs,\n onSelect: handleDashboardMenuSelect\n })\n })\n }), /*#__PURE__*/_jsx(ContextActions, {\n actions: [{\n action: () => {\n setIsDashboardTabMenuShown(!isDashboardTabMenuShown);\n },\n shortcut: GLOBAL_SHORTCUTS.OPEN_DASHBOARD_LIST,\n isGlobal: true\n }]\n })]\n });\n}\nexport default NavTabList;\n//# sourceMappingURL=NavTabList.js.map","import { useEffect, useMemo } from 'react';\nimport useApi from \"./useApi.js\";\nexport function useCreateClient(serverUrl, options) {\n var api = useApi();\n var client = useMemo(() => new api.CoreClient(serverUrl, options), [api, serverUrl, options]);\n useEffect(() => () => {\n client.disconnect();\n }, [client]);\n return client;\n}\nexport default useCreateClient;\n//# sourceMappingURL=useCreateClient.js.map","import React, { createContext } from 'react';\nimport useCreateClient from \"./useCreateClient.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var ClientContext = /*#__PURE__*/createContext(null);\nClientContext.displayName = 'ClientContext';\n/**\n * ClientBootstrap component. Handles creating the client.\n */\nexport function ClientBootstrap(_ref) {\n var {\n serverUrl,\n options,\n children\n } = _ref;\n var client = useCreateClient(serverUrl, options);\n return /*#__PURE__*/_jsx(ClientContext.Provider, {\n value: client,\n children: children\n });\n}\nexport default ClientBootstrap;\n//# sourceMappingURL=ClientBootstrap.js.map","import { useContextOrThrow } from '@deephaven/react-hooks';\nimport { ClientContext } from \"./ClientBootstrap.js\";\nexport function useClient() {\n return useContextOrThrow(ClientContext, 'No Client available in useClient. Was code wrapped in ClientBootstrap or ClientContext.Provider?');\n}\nexport default useClient;\n//# sourceMappingURL=useClient.js.map","// Copied from https://github.com/astral-sh/ruff/blob/0.6.2/ruff.schema.json\n// Update the tag to the right version if updating the Ruff version\n\n// Schema v0.6.2\nvar schema = {\n $schema: 'http://json-schema.org/draft-07/schema#',\n title: 'Options',\n type: 'object',\n properties: {\n 'allowed-confusables': {\n description: 'A list of allowed \"confusable\" Unicode characters to ignore when enforcing `RUF001`, `RUF002`, and `RUF003`.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n type: 'string',\n maxLength: 1,\n minLength: 1\n }\n },\n builtins: {\n description: 'A list of builtins to treat as defined references, in addition to the system builtins.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'cache-dir': {\n description: 'A path to the cache directory.\\n\\nBy default, Ruff stores cache results in a `.ruff_cache` directory in the current project root.\\n\\nHowever, Ruff will also respect the `RUFF_CACHE_DIR` environment variable, which takes precedence over that default.\\n\\nThis setting will override even the `RUFF_CACHE_DIR` environment variable, if set.',\n type: ['string', 'null']\n },\n 'dummy-variable-rgx': {\n description: 'A regular expression used to identify \"dummy\" variables, or those which should be ignored when enforcing (e.g.) unused-variable rules. The default expression matches `_`, `__`, and `_var`, but not `_var_`.',\n deprecated: true,\n type: ['string', 'null']\n },\n exclude: {\n description: \"A list of file patterns to exclude from formatting and linting.\\n\\nExclusions are based on globs, and can be either:\\n\\n- Single-path patterns, like `.mypy_cache` (to exclude any directory named `.mypy_cache` in the tree), `foo.py` (to exclude any file named `foo.py`), or `foo_*.py` (to exclude any file matching `foo_*.py` ). - Relative patterns, like `directory/foo.py` (to exclude that specific file) or `directory/*.py` (to exclude any Python files in `directory`). Note that these paths are relative to the project root (e.g., the directory containing your `pyproject.toml`).\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).\\n\\nNote that you'll typically want to use [`extend-exclude`](#extend-exclude) to modify the excluded paths.\",\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'explicit-preview-rules': {\n description: 'Whether to require exact codes to select preview rules. When enabled, preview rules will not be selected by prefixes — the full code of each preview rule will be required to enable the rule.',\n deprecated: true,\n type: ['boolean', 'null']\n },\n extend: {\n description: 'A path to a local `pyproject.toml` file to merge into this configuration. User home directory and environment variables will be expanded.\\n\\nTo resolve the current `pyproject.toml` file, Ruff will first resolve this base configuration file, then merge in any properties defined in the current configuration file.',\n type: ['string', 'null']\n },\n 'extend-exclude': {\n description: 'A list of file patterns to omit from formatting and linting, in addition to those specified by [`exclude`](#exclude).\\n\\nExclusions are based on globs, and can be either:\\n\\n- Single-path patterns, like `.mypy_cache` (to exclude any directory named `.mypy_cache` in the tree), `foo.py` (to exclude any file named `foo.py`), or `foo_*.py` (to exclude any file matching `foo_*.py` ). - Relative patterns, like `directory/foo.py` (to exclude that specific file) or `directory/*.py` (to exclude any Python files in `directory`). Note that these paths are relative to the project root (e.g., the directory containing your `pyproject.toml`).\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'extend-fixable': {\n description: 'A list of rule codes or prefixes to consider fixable, in addition to those specified by [`fixable`](#lint_fixable).',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-ignore': {\n description: 'A list of rule codes or prefixes to ignore, in addition to those specified by `ignore`.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-include': {\n description: 'A list of file patterns to include when linting, in addition to those specified by [`include`](#include).\\n\\nInclusion are based on globs, and should be single-path patterns, like `*.pyw`, to include any file with the `.pyw` extension.\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'extend-per-file-ignores': {\n description: 'A list of mappings from file pattern to rule codes or prefixes to exclude, in addition to any rules excluded by [`per-file-ignores`](#lint_per-file-ignores).',\n deprecated: true,\n type: ['object', 'null'],\n additionalProperties: {\n type: 'array',\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n }\n },\n 'extend-safe-fixes': {\n description: 'A list of rule codes or prefixes for which unsafe fixes should be considered safe.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-select': {\n description: 'A list of rule codes or prefixes to enable, in addition to those specified by [`select`](#lint_select).',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-unfixable': {\n description: 'A list of rule codes or prefixes to consider non-auto-fixable, in addition to those specified by [`unfixable`](#lint_unfixable).',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-unsafe-fixes': {\n description: 'A list of rule codes or prefixes for which safe fixes should be considered unsafe.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n external: {\n description: 'A list of rule codes or prefixes that are unsupported by Ruff, but should be preserved when (e.g.) validating `# noqa` directives. Useful for retaining `# noqa` directives that cover plugins not yet implemented by Ruff.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n fix: {\n description: 'Enable fix behavior by-default when running `ruff` (overridden by the `--fix` and `--no-fix` command-line flags). Only includes automatic fixes unless `--unsafe-fixes` is provided.',\n type: ['boolean', 'null']\n },\n 'fix-only': {\n description: 'Like [`fix`](#fix), but disables reporting on leftover violation. Implies [`fix`](#fix).',\n type: ['boolean', 'null']\n },\n fixable: {\n description: 'A list of rule codes or prefixes to consider fixable. By default, all rules are considered fixable.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'flake8-annotations': {\n description: 'Options for the `flake8-annotations` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8AnnotationsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-bandit': {\n description: 'Options for the `flake8-bandit` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8BanditOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-boolean-trap': {\n description: 'Options for the `flake8-boolean-trap` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8BooleanTrapOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-bugbear': {\n description: 'Options for the `flake8-bugbear` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8BugbearOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-builtins': {\n description: 'Options for the `flake8-builtins` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8BuiltinsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-comprehensions': {\n description: 'Options for the `flake8-comprehensions` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8ComprehensionsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-copyright': {\n description: 'Options for the `flake8-copyright` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8CopyrightOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-errmsg': {\n description: 'Options for the `flake8-errmsg` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8ErrMsgOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-gettext': {\n description: 'Options for the `flake8-gettext` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8GetTextOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-implicit-str-concat': {\n description: 'Options for the `flake8-implicit-str-concat` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8ImplicitStrConcatOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-import-conventions': {\n description: 'Options for the `flake8-import-conventions` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8ImportConventionsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-pytest-style': {\n description: 'Options for the `flake8-pytest-style` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8PytestStyleOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-quotes': {\n description: 'Options for the `flake8-quotes` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8QuotesOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-self': {\n description: 'Options for the `flake8_self` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8SelfOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-tidy-imports': {\n description: 'Options for the `flake8-tidy-imports` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8TidyImportsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-type-checking': {\n description: 'Options for the `flake8-type-checking` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8TypeCheckingOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-unused-arguments': {\n description: 'Options for the `flake8-unused-arguments` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Flake8UnusedArgumentsOptions'\n }, {\n type: 'null'\n }]\n },\n 'force-exclude': {\n description: \"Whether to enforce [`exclude`](#exclude) and [`extend-exclude`](#extend-exclude) patterns, even for paths that are passed to Ruff explicitly. Typically, Ruff will lint any paths passed in directly, even if they would typically be excluded. Setting `force-exclude = true` will cause Ruff to respect these exclusions unequivocally.\\n\\nThis is useful for [`pre-commit`](https://pre-commit.com/), which explicitly passes all changed files to the [`ruff-pre-commit`](https://github.com/astral-sh/ruff-pre-commit) plugin, regardless of whether they're marked as excluded by Ruff's own settings.\",\n type: ['boolean', 'null']\n },\n format: {\n description: 'Options to configure code formatting.',\n anyOf: [{\n $ref: '#/definitions/FormatOptions'\n }, {\n type: 'null'\n }]\n },\n ignore: {\n description: 'A list of rule codes or prefixes to ignore. Prefixes can specify exact rules (like `F841`), entire categories (like `F`), or anything in between.\\n\\nWhen breaking ties between enabled and disabled rules (via `select` and `ignore`, respectively), more specific prefixes override less specific prefixes.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'ignore-init-module-imports': {\n description: \"Avoid automatically removing unused imports in `__init__.py` files. Such imports will still be flagged, but with a dedicated message suggesting that the import is either added to the module's `__all__` symbol, or re-exported with a redundant alias (e.g., `import os as os`).\\n\\nThis option is enabled by default, but you can opt-in to removal of imports via an unsafe fix.\",\n deprecated: true,\n type: ['boolean', 'null']\n },\n include: {\n description: 'A list of file patterns to include when linting.\\n\\nInclusion are based on globs, and should be single-path patterns, like `*.pyw`, to include any file with the `.pyw` extension. `pyproject.toml` is included here not for configuration but because we lint whether e.g. the `[project]` matches the schema.\\n\\nNotebook files (`.ipynb` extension) are included by default on Ruff 0.6.0+.\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'indent-width': {\n description: 'The number of spaces per indentation level (tab).\\n\\nUsed by the formatter and when enforcing long-line violations (like `E501`) to determine the visual width of a tab.\\n\\nThis option changes the number of spaces the formatter inserts when using soft-tabs (`indent-style = space`).\\n\\nPEP 8 recommends using 4 spaces per [indentation level](https://peps.python.org/pep-0008/#indentation).',\n anyOf: [{\n $ref: '#/definitions/IndentWidth'\n }, {\n type: 'null'\n }]\n },\n isort: {\n description: 'Options for the `isort` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/IsortOptions'\n }, {\n type: 'null'\n }]\n },\n 'line-length': {\n description: \"The line length to use when enforcing long-lines violations (like `E501`) and at which `isort` and the formatter prefers to wrap lines.\\n\\nThe length is determined by the number of characters per line, except for lines containing East Asian characters or emojis. For these lines, the [unicode width](https://unicode.org/reports/tr11/) of each character is added up to determine the length.\\n\\nThe value must be greater than `0` and less than or equal to `320`.\\n\\nNote: While the formatter will attempt to format lines such that they remain within the `line-length`, it isn't a hard upper bound, and formatted lines may exceed the `line-length`.\\n\\nSee [`pycodestyle.max-line-length`](#lint_pycodestyle_max-line-length) to configure different lengths for `E501` and the formatter.\",\n anyOf: [{\n $ref: '#/definitions/LineLength'\n }, {\n type: 'null'\n }]\n },\n lint: {\n anyOf: [{\n $ref: '#/definitions/LintOptions'\n }, {\n type: 'null'\n }]\n },\n 'logger-objects': {\n description: 'A list of objects that should be treated equivalently to a `logging.Logger` object.\\n\\nThis is useful for ensuring proper diagnostics (e.g., to identify `logging` deprecations and other best-practices) for projects that re-export a `logging.Logger` object from a common module.\\n\\nFor example, if you have a module `logging_setup.py` with the following contents: ```python import logging\\n\\nlogger = logging.getLogger(__name__) ```\\n\\nAdding `\"logging_setup.logger\"` to `logger-objects` will ensure that `logging_setup.logger` is treated as a `logging.Logger` object when imported from other modules (e.g., `from logging_setup import logger`).',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n mccabe: {\n description: 'Options for the `mccabe` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/McCabeOptions'\n }, {\n type: 'null'\n }]\n },\n 'namespace-packages': {\n description: 'Mark the specified directories as namespace packages. For the purpose of module resolution, Ruff will treat those directories and all their subdirectories as if they contained an `__init__.py` file.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'output-format': {\n description: 'The style in which violation messages should be formatted: `\"full\"` (default) (shows source), `\"concise\"`, `\"grouped\"` (group messages by file), `\"json\"` (machine-readable), `\"junit\"` (machine-readable XML), `\"github\"` (GitHub Actions annotations), `\"gitlab\"` (GitLab CI code quality report), `\"pylint\"` (Pylint text format) or `\"azure\"` (Azure Pipeline logging commands).',\n anyOf: [{\n $ref: '#/definitions/OutputFormat'\n }, {\n type: 'null'\n }]\n },\n 'pep8-naming': {\n description: 'Options for the `pep8-naming` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/Pep8NamingOptions'\n }, {\n type: 'null'\n }]\n },\n 'per-file-ignores': {\n description: \"A list of mappings from file pattern to rule codes or prefixes to exclude, when considering any matching files. An initial '!' negates the file pattern.\",\n deprecated: true,\n type: ['object', 'null'],\n additionalProperties: {\n type: 'array',\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n }\n },\n preview: {\n description: 'Whether to enable preview mode. When preview mode is enabled, Ruff will use unstable rules, fixes, and formatting.',\n type: ['boolean', 'null']\n },\n pycodestyle: {\n description: 'Options for the `pycodestyle` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/PycodestyleOptions'\n }, {\n type: 'null'\n }]\n },\n pydocstyle: {\n description: 'Options for the `pydocstyle` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/PydocstyleOptions'\n }, {\n type: 'null'\n }]\n },\n pyflakes: {\n description: 'Options for the `pyflakes` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/PyflakesOptions'\n }, {\n type: 'null'\n }]\n },\n pylint: {\n description: 'Options for the `pylint` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/PylintOptions'\n }, {\n type: 'null'\n }]\n },\n pyupgrade: {\n description: 'Options for the `pyupgrade` plugin.',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/PyUpgradeOptions'\n }, {\n type: 'null'\n }]\n },\n 'required-version': {\n description: 'Enforce a requirement on the version of Ruff, to enforce at runtime. If the version of Ruff does not meet the requirement, Ruff will exit with an error.\\n\\nUseful for unifying results across many environments, e.g., with a `pyproject.toml` file.\\n\\nAccepts a [PEP 440](https://peps.python.org/pep-0440/) specifier, like `==0.3.1` or `>=0.3.1`.',\n anyOf: [{\n $ref: '#/definitions/RequiredVersion'\n }, {\n type: 'null'\n }]\n },\n 'respect-gitignore': {\n description: 'Whether to automatically exclude files that are ignored by `.ignore`, `.gitignore`, `.git/info/exclude`, and global `gitignore` files. Enabled by default.',\n type: ['boolean', 'null']\n },\n select: {\n description: 'A list of rule codes or prefixes to enable. Prefixes can specify exact rules (like `F841`), entire categories (like `F`), or anything in between.\\n\\nWhen breaking ties between enabled and disabled rules (via `select` and `ignore`, respectively), more specific prefixes override less specific prefixes.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'show-fixes': {\n description: 'Whether to show an enumeration of all fixed lint violations (overridden by the `--show-fixes` command-line flag).',\n type: ['boolean', 'null']\n },\n src: {\n description: 'The directories to consider when resolving first- vs. third-party imports.\\n\\nWhen omitted, the `src` directory will typically default to including both:\\n\\n1. The directory containing the nearest `pyproject.toml`, `ruff.toml`, or `.ruff.toml` file (the \"project root\"). 2. The `\"src\"` subdirectory of the project root.\\n\\nThese defaults ensure that uv supports both flat layouts and `src` layouts out-of-the-box. (If a configuration file is explicitly provided (e.g., via the `--config` command-line flag), the current working directory will be considered the project root.)\\n\\nAs an example, consider an alternative project structure, like:\\n\\n```text my_project ├── pyproject.toml └── lib └── my_package ├── __init__.py ├── foo.py └── bar.py ```\\n\\nIn this case, the `./lib` directory should be included in the `src` option (e.g., `src = [\"lib\"]`), such that when resolving imports, `my_package.foo` is considered first-party.\\n\\nThis field supports globs. For example, if you have a series of Python packages in a `python_modules` directory, `src = [\"python_modules/*\"]` would expand to incorporate all packages in that directory. User home directory and environment variables will also be expanded.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'tab-size': {\n description: 'The number of spaces a tab is equal to when enforcing long-line violations (like `E501`) or formatting code with the formatter.\\n\\nThis option changes the number of spaces inserted by the formatter when using soft-tabs (`indent-style = space`).',\n deprecated: true,\n anyOf: [{\n $ref: '#/definitions/IndentWidth'\n }, {\n type: 'null'\n }]\n },\n 'target-version': {\n description: 'The minimum Python version to target, e.g., when considering automatic code upgrades, like rewriting type annotations. Ruff will not propose changes using features that are not available in the given version.\\n\\nFor example, to represent supporting Python >=3.10 or ==3.10 specify `target-version = \"py310\"`.\\n\\nIf you\\'re already using a `pyproject.toml` file, we recommend `project.requires-python` instead, as it\\'s based on Python packaging standards, and will be respected by other tools. For example, Ruff treats the following as identical to `target-version = \"py38\"`:\\n\\n```toml [project] requires-python = \">=3.8\" ```\\n\\nIf both are specified, `target-version` takes precedence over `requires-python`.\\n\\nNote that a stub file can [sometimes make use of a typing feature](https://typing.readthedocs.io/en/latest/spec/distributing.html#syntax) before it is available at runtime, as long as the stub does not make use of new *syntax*. For example, a type checker will understand `int | str` in a stub as being a `Union` type annotation, even if the type checker is run using Python 3.9, despite the fact that the `|` operator can only be used to create union types at runtime on Python 3.10+. As such, Ruff will often recommend newer features in a stub file than it would for an equivalent runtime file with the same target version.',\n anyOf: [{\n $ref: '#/definitions/PythonVersion'\n }, {\n type: 'null'\n }]\n },\n 'task-tags': {\n description: 'A list of task tags to recognize (e.g., \"TODO\", \"FIXME\", \"XXX\").\\n\\nComments starting with these tags will be ignored by commented-out code detection (`ERA`), and skipped by line-length rules (`E501`) if [`ignore-overlong-task-comments`](#lint_pycodestyle_ignore-overlong-task-comments) is set to `true`.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'typing-modules': {\n description: 'A list of modules whose exports should be treated equivalently to members of the `typing` module.\\n\\nThis is useful for ensuring proper type annotation inference for projects that re-export `typing` and `typing_extensions` members from a compatibility module. If omitted, any members imported from modules apart from `typing` and `typing_extensions` will be treated as ordinary Python objects.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n unfixable: {\n description: 'A list of rule codes or prefixes to consider non-fixable.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'unsafe-fixes': {\n description: 'Enable application of unsafe fixes. If excluded, a hint will be displayed when unsafe fixes are available. If set to false, the hint will be hidden.',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false,\n definitions: {\n ApiBan: {\n type: 'object',\n required: ['msg'],\n properties: {\n msg: {\n description: 'The message to display when the API is used.',\n type: 'string'\n }\n },\n additionalProperties: false\n },\n BannedAliases: {\n type: 'array',\n items: {\n type: 'string'\n }\n },\n ConstantType: {\n type: 'string',\n enum: ['bytes', 'complex', 'float', 'int', 'str']\n },\n Convention: {\n oneOf: [{\n description: 'Use Google-style docstrings.',\n type: 'string',\n enum: ['google']\n }, {\n description: 'Use NumPy-style docstrings.',\n type: 'string',\n enum: ['numpy']\n }, {\n description: 'Use PEP257-style docstrings.',\n type: 'string',\n enum: ['pep257']\n }]\n },\n DocstringCodeLineWidth: {\n anyOf: [{\n description: 'Wrap docstring code examples at a fixed line width.',\n allOf: [{\n $ref: '#/definitions/LineWidth'\n }]\n }, {\n description: 'Respect the line length limit setting for the surrounding Python code.',\n allOf: [{\n $ref: '#/definitions/Dynamic'\n }]\n }]\n },\n Dynamic: {\n type: 'string',\n const: 'dynamic'\n },\n Flake8AnnotationsOptions: {\n type: 'object',\n properties: {\n 'allow-star-arg-any': {\n description: 'Whether to suppress `ANN401` for dynamically typed `*args` and `**kwargs` arguments.',\n type: ['boolean', 'null']\n },\n 'ignore-fully-untyped': {\n description: \"Whether to suppress `ANN*` rules for any declaration that hasn't been typed at all. This makes it easier to gradually add types to a codebase.\",\n type: ['boolean', 'null']\n },\n 'mypy-init-return': {\n description: 'Whether to allow the omission of a return type hint for `__init__` if at least one argument is annotated.',\n type: ['boolean', 'null']\n },\n 'suppress-dummy-args': {\n description: 'Whether to suppress `ANN000`-level violations for arguments matching the \"dummy\" variable regex (like `_`).',\n type: ['boolean', 'null']\n },\n 'suppress-none-returning': {\n description: 'Whether to suppress `ANN200`-level violations for functions that meet either of the following criteria:\\n\\n- Contain no `return` statement. - Explicit `return` statement(s) all return `None` (explicitly or implicitly).',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n Flake8BanditOptions: {\n type: 'object',\n properties: {\n 'check-typed-exception': {\n description: 'Whether to disallow `try`-`except`-`pass` (`S110`) for specific exception types. By default, `try`-`except`-`pass` is only disallowed for `Exception` and `BaseException`.',\n type: ['boolean', 'null']\n },\n 'hardcoded-tmp-directory': {\n description: 'A list of directories to consider temporary.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'hardcoded-tmp-directory-extend': {\n description: 'A list of directories to consider temporary, in addition to those specified by [`hardcoded-tmp-directory`](#lint_flake8-bandit_hardcoded-tmp-directory).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8BooleanTrapOptions: {\n type: 'object',\n properties: {\n 'extend-allowed-calls': {\n description: 'Additional callable functions with which to allow boolean traps.\\n\\nExpects to receive a list of fully-qualified names (e.g., `pydantic.Field`, rather than `Field`).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8BugbearOptions: {\n type: 'object',\n properties: {\n 'extend-immutable-calls': {\n description: 'Additional callable functions to consider \"immutable\" when evaluating, e.g., the `function-call-in-default-argument` rule (`B008`) or `function-call-in-dataclass-defaults` rule (`RUF009`).\\n\\nExpects to receive a list of fully-qualified names (e.g., `fastapi.Query`, rather than `Query`).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8BuiltinsOptions: {\n type: 'object',\n properties: {\n 'builtins-allowed-modules': {\n description: 'List of builtin module names to allow.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'builtins-ignorelist': {\n description: 'Ignore list of builtins.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8ComprehensionsOptions: {\n type: 'object',\n properties: {\n 'allow-dict-calls-with-keyword-arguments': {\n description: 'Allow `dict` calls that make use of keyword arguments (e.g., `dict(a=1, b=2)`).',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n Flake8CopyrightOptions: {\n type: 'object',\n properties: {\n author: {\n description: 'Author to enforce within the copyright notice. If provided, the author must be present immediately following the copyright notice.',\n type: ['string', 'null']\n },\n 'min-file-size': {\n description: 'A minimum file size (in bytes) required for a copyright notice to be enforced. By default, all files are validated.',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'notice-rgx': {\n description: 'The regular expression used to match the copyright notice, compiled with the [`regex`](https://docs.rs/regex/latest/regex/) crate. Defaults to `(?i)Copyright\\\\s+((?:\\\\(C\\\\)|©)\\\\s+)?\\\\d{4}((-|,\\\\s)\\\\d{4})*`, which matches the following:\\n\\n- `Copyright 2023` - `Copyright (C) 2023` - `Copyright 2021-2023` - `Copyright (C) 2021-2023` - `Copyright (C) 2021, 2023`',\n type: ['string', 'null']\n }\n },\n additionalProperties: false\n },\n Flake8ErrMsgOptions: {\n type: 'object',\n properties: {\n 'max-string-length': {\n description: 'Maximum string length for string literals in exception messages.',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n }\n },\n additionalProperties: false\n },\n Flake8GetTextOptions: {\n type: 'object',\n properties: {\n 'extend-function-names': {\n description: 'Additional function names to consider as internationalization calls, in addition to those included in [`function-names`](#lint_flake8-gettext_function-names).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'function-names': {\n description: 'The function names to consider as internationalization calls.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8ImplicitStrConcatOptions: {\n type: 'object',\n properties: {\n 'allow-multiline': {\n description: 'Whether to allow implicit string concatenations for multiline strings. By default, implicit concatenations of multiline strings are allowed (but continuation lines, delimited with a backslash, are prohibited).\\n\\nSetting `allow-multiline = false` will automatically disable the `explicit-string-concatenation` (`ISC003`) rule. Otherwise, both implicit and explicit multiline string concatenations would be seen as violations, making it impossible to write a linter-compliant multiline string.',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n Flake8ImportConventionsOptions: {\n type: 'object',\n properties: {\n aliases: {\n description: 'The conventional aliases for imports. These aliases can be extended by the [`extend-aliases`](#lint_flake8-import-conventions_extend-aliases) option.',\n type: ['object', 'null'],\n additionalProperties: {\n type: 'string'\n }\n },\n 'banned-aliases': {\n description: 'A mapping from module to its banned import aliases.',\n type: ['object', 'null'],\n additionalProperties: {\n $ref: '#/definitions/BannedAliases'\n }\n },\n 'banned-from': {\n description: 'A list of modules that should not be imported from using the `from ... import ...` syntax.\\n\\nFor example, given `banned-from = [\"pandas\"]`, `from pandas import DataFrame` would be disallowed, while `import pandas` would be allowed.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n },\n uniqueItems: true\n },\n 'extend-aliases': {\n description: 'A mapping from module to conventional import alias. These aliases will be added to the [`aliases`](#lint_flake8-import-conventions_aliases) mapping.',\n type: ['object', 'null'],\n additionalProperties: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8PytestStyleOptions: {\n type: 'object',\n properties: {\n 'fixture-parentheses': {\n description: 'Boolean flag specifying whether `@pytest.fixture()` without parameters should have parentheses. If the option is set to `false` (the default), `@pytest.fixture` is valid and `@pytest.fixture()` is invalid. If set to `true`, `@pytest.fixture()` is valid and `@pytest.fixture` is invalid.',\n type: ['boolean', 'null']\n },\n 'mark-parentheses': {\n description: 'Boolean flag specifying whether `@pytest.mark.foo()` without parameters should have parentheses. If the option is set to `false` (the default), `@pytest.mark.foo` is valid and `@pytest.mark.foo()` is invalid. If set to `true`, `@pytest.mark.foo()` is valid and `@pytest.mark.foo` is invalid.',\n type: ['boolean', 'null']\n },\n 'parametrize-names-type': {\n description: 'Expected type for multiple argument names in `@pytest.mark.parametrize`. The following values are supported:\\n\\n- `csv` — a comma-separated list, e.g. `@pytest.mark.parametrize(\"name1,name2\", ...)` - `tuple` (default) — e.g. `@pytest.mark.parametrize((\"name1\", \"name2\"), ...)` - `list` — e.g. `@pytest.mark.parametrize([\"name1\", \"name2\"], ...)`',\n anyOf: [{\n $ref: '#/definitions/ParametrizeNameType'\n }, {\n type: 'null'\n }]\n },\n 'parametrize-values-row-type': {\n description: 'Expected type for each row of values in `@pytest.mark.parametrize` in case of multiple parameters. The following values are supported:\\n\\n- `tuple` (default) — e.g. `@pytest.mark.parametrize((\"name1\", \"name2\"), [(1, 2), (3, 4)])` - `list` — e.g. `@pytest.mark.parametrize((\"name1\", \"name2\"), [[1, 2], [3, 4]])`',\n anyOf: [{\n $ref: '#/definitions/ParametrizeValuesRowType'\n }, {\n type: 'null'\n }]\n },\n 'parametrize-values-type': {\n description: 'Expected type for the list of values rows in `@pytest.mark.parametrize`. The following values are supported:\\n\\n- `tuple` — e.g. `@pytest.mark.parametrize(\"name\", (1, 2, 3))` - `list` (default) — e.g. `@pytest.mark.parametrize(\"name\", [1, 2, 3])`',\n anyOf: [{\n $ref: '#/definitions/ParametrizeValuesType'\n }, {\n type: 'null'\n }]\n },\n 'raises-extend-require-match-for': {\n description: 'List of additional exception names that require a match= parameter in a `pytest.raises()` call. This extends the default list of exceptions that require a match= parameter. This option is useful if you want to extend the default list of exceptions that require a match= parameter without having to specify the entire list. Note that this option does not remove any exceptions from the default list.\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'raises-require-match-for': {\n description: 'List of exception names that require a match= parameter in a `pytest.raises()` call.\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8QuotesOptions: {\n type: 'object',\n properties: {\n 'avoid-escape': {\n description: 'Whether to avoid using single quotes if a string contains single quotes, or vice-versa with double quotes, as per [PEP 8](https://peps.python.org/pep-0008/#string-quotes). This minimizes the need to escape quotation marks within strings.',\n type: ['boolean', 'null']\n },\n 'docstring-quotes': {\n description: 'Quote style to prefer for docstrings (either \"single\" or \"double\").\\n\\nWhen using the formatter, only \"double\" is compatible, as the formatter enforces double quotes for docstrings strings.',\n anyOf: [{\n $ref: '#/definitions/Quote'\n }, {\n type: 'null'\n }]\n },\n 'inline-quotes': {\n description: 'Quote style to prefer for inline strings (either \"single\" or \"double\").\\n\\nWhen using the formatter, ensure that [`format.quote-style`](#format_quote-style) is set to the same preferred quote style.',\n anyOf: [{\n $ref: '#/definitions/Quote'\n }, {\n type: 'null'\n }]\n },\n 'multiline-quotes': {\n description: 'Quote style to prefer for multiline strings (either \"single\" or \"double\").\\n\\nWhen using the formatter, only \"double\" is compatible, as the formatter enforces double quotes for multiline strings.',\n anyOf: [{\n $ref: '#/definitions/Quote'\n }, {\n type: 'null'\n }]\n }\n },\n additionalProperties: false\n },\n Flake8SelfOptions: {\n type: 'object',\n properties: {\n 'extend-ignore-names': {\n description: 'Additional names to ignore when considering `flake8-self` violations, in addition to those included in [`ignore-names`](#lint_flake8-self_ignore-names).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'ignore-names': {\n description: 'A list of names to ignore when considering `flake8-self` violations.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8TidyImportsOptions: {\n type: 'object',\n properties: {\n 'ban-relative-imports': {\n description: 'Whether to ban all relative imports (`\"all\"`), or only those imports that extend into the parent module or beyond (`\"parents\"`).',\n anyOf: [{\n $ref: '#/definitions/Strictness'\n }, {\n type: 'null'\n }]\n },\n 'banned-api': {\n description: 'Specific modules or module members that may not be imported or accessed. Note that this rule is only meant to flag accidental uses, and can be circumvented via `eval` or `importlib`.',\n type: ['object', 'null'],\n additionalProperties: {\n $ref: '#/definitions/ApiBan'\n }\n },\n 'banned-module-level-imports': {\n description: 'List of specific modules that may not be imported at module level, and should instead be imported lazily (e.g., within a function definition, or an `if TYPE_CHECKING:` block, or some other nested context).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n Flake8TypeCheckingOptions: {\n type: 'object',\n properties: {\n 'exempt-modules': {\n description: 'Exempt certain modules from needing to be moved into type-checking blocks.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'quote-annotations': {\n description: 'Whether to add quotes around type annotations, if doing so would allow the corresponding import to be moved into a type-checking block.\\n\\nFor example, in the following, Python requires that `Sequence` be available at runtime, despite the fact that it\\'s only used in a type annotation:\\n\\n```python from collections.abc import Sequence\\n\\ndef func(value: Sequence[int]) -> None: ... ```\\n\\nIn other words, moving `from collections.abc import Sequence` into an `if TYPE_CHECKING:` block above would cause a runtime error, as the type would no longer be available at runtime.\\n\\nBy default, Ruff will respect such runtime semantics and avoid moving the import to prevent such runtime errors.\\n\\nSetting `quote-annotations` to `true` will instruct Ruff to add quotes around the annotation (e.g., `\"Sequence[int]\"`), which in turn enables Ruff to move the import into an `if TYPE_CHECKING:` block, like so:\\n\\n```python from typing import TYPE_CHECKING\\n\\nif TYPE_CHECKING: from collections.abc import Sequence\\n\\ndef func(value: \"Sequence[int]\") -> None: ... ```\\n\\nNote that this setting has no effect when `from __future__ import annotations` is present, as `__future__` annotations are always treated equivalently to quoted annotations.',\n type: ['boolean', 'null']\n },\n 'runtime-evaluated-base-classes': {\n description: \"Exempt classes that list any of the enumerated classes as a base class from needing to be moved into type-checking blocks.\\n\\nCommon examples include Pydantic's `pydantic.BaseModel` and SQLAlchemy's `sqlalchemy.orm.DeclarativeBase`, but can also support user-defined classes that inherit from those base classes. For example, if you define a common `DeclarativeBase` subclass that's used throughout your project (e.g., `class Base(DeclarativeBase) ...` in `base.py`), you can add it to this list (`runtime-evaluated-base-classes = [\\\"base.Base\\\"]`) to exempt models from being moved into type-checking blocks.\",\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'runtime-evaluated-decorators': {\n description: \"Exempt classes and functions decorated with any of the enumerated decorators from being moved into type-checking blocks.\\n\\nCommon examples include Pydantic's `@pydantic.validate_call` decorator (for functions) and attrs' `@attrs.define` decorator (for classes).\",\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n strict: {\n description: \"Enforce `TC001`, `TC002`, and `TC003` rules even when valid runtime imports are present for the same module.\\n\\nSee flake8-type-checking's [strict](https://github.com/snok/flake8-type-checking#strict) option.\",\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n Flake8UnusedArgumentsOptions: {\n type: 'object',\n properties: {\n 'ignore-variadic-names': {\n description: 'Whether to allow unused variadic arguments, like `*args` and `**kwargs`.',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n FormatOptions: {\n description: 'Configures the way Ruff formats your code.',\n type: 'object',\n properties: {\n 'docstring-code-format': {\n description: 'Whether to format code snippets in docstrings.\\n\\nWhen this is enabled, Python code examples within docstrings are automatically reformatted.\\n\\nFor example, when this is enabled, the following code:\\n\\n```python def f(x): \"\"\" Something about `f`. And an example in doctest format:\\n\\n>>> f( x )\\n\\nMarkdown is also supported:\\n\\n```py f( x ) ```\\n\\nAs are reStructuredText literal blocks::\\n\\nf( x )\\n\\nAnd reStructuredText code blocks:\\n\\n.. code-block:: python\\n\\nf( x ) \"\"\" pass ```\\n\\n... will be reformatted (assuming the rest of the options are set to their defaults) as:\\n\\n```python def f(x): \"\"\" Something about `f`. And an example in doctest format:\\n\\n>>> f(x)\\n\\nMarkdown is also supported:\\n\\n```py f(x) ```\\n\\nAs are reStructuredText literal blocks::\\n\\nf(x)\\n\\nAnd reStructuredText code blocks:\\n\\n.. code-block:: python\\n\\nf(x) \"\"\" pass ```\\n\\nIf a code snippet in a docstring contains invalid Python code or if the formatter would otherwise write invalid Python code, then the code example is ignored by the formatter and kept as-is.\\n\\nCurrently, doctest, Markdown, reStructuredText literal blocks, and reStructuredText code blocks are all supported and automatically recognized. In the case of unlabeled fenced code blocks in Markdown and reStructuredText literal blocks, the contents are assumed to be Python and reformatted. As with any other format, if the contents aren\\'t valid Python, then the block is left untouched automatically.',\n type: ['boolean', 'null']\n },\n 'docstring-code-line-length': {\n description: 'Set the line length used when formatting code snippets in docstrings.\\n\\nThis only has an effect when the `docstring-code-format` setting is enabled.\\n\\nThe default value for this setting is `\"dynamic\"`, which has the effect of ensuring that any reformatted code examples in docstrings adhere to the global line length configuration that is used for the surrounding Python code. The point of this setting is that it takes the indentation of the docstring into account when reformatting code examples.\\n\\nAlternatively, this can be set to a fixed integer, which will result in the same line length limit being applied to all reformatted code examples in docstrings. When set to a fixed integer, the indent of the docstring is not taken into account. That is, this may result in lines in the reformatted code example that exceed the globally configured line length limit.\\n\\nFor example, when this is set to `20` and [`docstring-code-format`](#docstring-code-format) is enabled, then this code:\\n\\n```python def f(x): \\'\\'\\' Something about `f`. And an example:\\n\\n.. code-block:: python\\n\\nfoo, bar, quux = this_is_a_long_line(lion, hippo, lemur, bear) \\'\\'\\' pass ```\\n\\n... will be reformatted (assuming the rest of the options are set to their defaults) as:\\n\\n```python def f(x): \"\"\" Something about `f`. And an example:\\n\\n.. code-block:: python\\n\\n( foo, bar, quux, ) = this_is_a_long_line( lion, hippo, lemur, bear, ) \"\"\" pass ```',\n anyOf: [{\n $ref: '#/definitions/DocstringCodeLineWidth'\n }, {\n type: 'null'\n }]\n },\n exclude: {\n description: 'A list of file patterns to exclude from formatting in addition to the files excluded globally (see [`exclude`](#exclude), and [`extend-exclude`](#extend-exclude)).\\n\\nExclusions are based on globs, and can be either:\\n\\n- Single-path patterns, like `.mypy_cache` (to exclude any directory named `.mypy_cache` in the tree), `foo.py` (to exclude any file named `foo.py`), or `foo_*.py` (to exclude any file matching `foo_*.py` ). - Relative patterns, like `directory/foo.py` (to exclude that specific file) or `directory/*.py` (to exclude any Python files in `directory`). Note that these paths are relative to the project root (e.g., the directory containing your `pyproject.toml`).\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'indent-style': {\n description: 'Whether to use spaces or tabs for indentation.\\n\\n`indent-style = \"space\"` (default):\\n\\n```python def f(): print(\"Hello\") # Spaces indent the `print` statement. ```\\n\\n`indent-style = \"tab\"`:\\n\\n```python def f(): print(\"Hello\") # A tab `\\\\t` indents the `print` statement. ```\\n\\nPEP 8 recommends using spaces for [indentation](https://peps.python.org/pep-0008/#indentation). We care about accessibility; if you do not need tabs for accessibility, we do not recommend you use them.\\n\\nSee [`indent-width`](#indent-width) to configure the number of spaces per indentation and the tab width.',\n anyOf: [{\n $ref: '#/definitions/IndentStyle'\n }, {\n type: 'null'\n }]\n },\n 'line-ending': {\n description: 'The character Ruff uses at the end of a line.\\n\\n* `auto`: The newline style is detected automatically on a file per file basis. Files with mixed line endings will be converted to the first detected line ending. Defaults to `\\\\n` for files that contain no line endings. * `lf`: Line endings will be converted to `\\\\n`. The default line ending on Unix. * `cr-lf`: Line endings will be converted to `\\\\r\\\\n`. The default line ending on Windows. * `native`: Line endings will be converted to `\\\\n` on Unix and `\\\\r\\\\n` on Windows.',\n anyOf: [{\n $ref: '#/definitions/LineEnding'\n }, {\n type: 'null'\n }]\n },\n preview: {\n description: 'Whether to enable the unstable preview style formatting.',\n type: ['boolean', 'null']\n },\n 'quote-style': {\n description: 'Configures the preferred quote character for strings. The recommended options are\\n\\n* `double` (default): Use double quotes `\"` * `single`: Use single quotes `\\'`\\n\\nIn compliance with [PEP 8](https://peps.python.org/pep-0008/) and [PEP 257](https://peps.python.org/pep-0257/), Ruff prefers double quotes for triple quoted strings and docstrings even when using `quote-style = \"single\"`.\\n\\nRuff deviates from using the configured quotes if doing so prevents the need for escaping quote characters inside the string:\\n\\n```python a = \"a string without any quotes\" b = \"It\\'s monday morning\" ```\\n\\nRuff will change the quotes of the string assigned to `a` to single quotes when using `quote-style = \"single\"`. However, Ruff uses double quotes for the string assigned to `b` because using single quotes would require escaping the `\\'`, which leads to the less readable code: `\\'It\\\\\\'s monday morning\\'`.\\n\\nIn addition, Ruff supports the quote style `preserve` for projects that already use a mixture of single and double quotes and can\\'t migrate to the `double` or `single` style. The quote style `preserve` leaves the quotes of all strings unchanged.',\n anyOf: [{\n $ref: '#/definitions/QuoteStyle'\n }, {\n type: 'null'\n }]\n },\n 'skip-magic-trailing-comma': {\n description: \"Ruff uses existing trailing commas as an indication that short lines should be left separate. If this option is set to `true`, the magic trailing comma is ignored.\\n\\nFor example, Ruff leaves the arguments separate even though collapsing the arguments to a single line doesn't exceed the line length if `skip-magic-trailing-comma = false`:\\n\\n```python # The arguments remain on separate lines because of the trailing comma after `b` def test( a, b, ): pass ```\\n\\nSetting `skip-magic-trailing-comma = true` changes the formatting to:\\n\\n```python # The arguments remain on separate lines because of the trailing comma after `b` def test(a, b): pass ```\",\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n ImportSection: {\n anyOf: [{\n $ref: '#/definitions/ImportType'\n }, {\n type: 'string'\n }]\n },\n ImportType: {\n type: 'string',\n enum: ['future', 'standard-library', 'third-party', 'first-party', 'local-folder']\n },\n IndentStyle: {\n oneOf: [{\n description: 'Use tabs to indent code.',\n type: 'string',\n enum: ['tab']\n }, {\n description: 'Use [`IndentWidth`] spaces to indent code.',\n type: 'string',\n enum: ['space']\n }]\n },\n IndentWidth: {\n description: 'The size of a tab.',\n type: 'integer',\n format: 'uint8',\n minimum: 1.0\n },\n IsortOptions: {\n type: 'object',\n properties: {\n 'case-sensitive': {\n description: 'Sort imports taking into account case sensitivity.',\n type: ['boolean', 'null']\n },\n classes: {\n description: 'An override list of tokens to always recognize as a Class for [`order-by-type`](#lint_isort_order-by-type) regardless of casing.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'combine-as-imports': {\n description: \"Combines as imports on the same line. See isort's [`combine-as-imports`](https://pycqa.github.io/isort/docs/configuration/options.html#combine-as-imports) option.\",\n type: ['boolean', 'null']\n },\n constants: {\n description: 'An override list of tokens to always recognize as a CONSTANT for [`order-by-type`](#lint_isort_order-by-type) regardless of casing.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'default-section': {\n description: \"Define a default section for any imports that don't fit into the specified [`section-order`](#lint_isort_section-order).\",\n anyOf: [{\n $ref: '#/definitions/ImportSection'\n }, {\n type: 'null'\n }]\n },\n 'detect-same-package': {\n description: 'Whether to automatically mark imports from within the same package as first-party. For example, when `detect-same-package = true`, then when analyzing files within the `foo` package, any imports from within the `foo` package will be considered first-party.\\n\\nThis heuristic is often unnecessary when `src` is configured to detect all first-party sources; however, if `src` is _not_ configured, this heuristic can be useful to detect first-party imports from _within_ (but not _across_) first-party packages.',\n type: ['boolean', 'null']\n },\n 'extra-standard-library': {\n description: 'A list of modules to consider standard-library, in addition to those known to Ruff in advance.\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'force-single-line': {\n description: 'Forces all from imports to appear on their own line.',\n type: ['boolean', 'null']\n },\n 'force-sort-within-sections': {\n description: \"Don't sort straight-style imports (like `import sys`) before from-style imports (like `from itertools import groupby`). Instead, sort the imports by module, independent of import style.\",\n type: ['boolean', 'null']\n },\n 'force-to-top': {\n description: 'Force specific imports to the top of their appropriate section.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'force-wrap-aliases': {\n description: \"Force `import from` statements with multiple members and at least one alias (e.g., `import A as B`) to wrap such that every line contains exactly one member. For example, this formatting would be retained, rather than condensing to a single line:\\n\\n```python from .utils import ( test_directory as test_directory, test_id as test_id ) ```\\n\\nNote that this setting is only effective when combined with `combine-as-imports = true`. When [`combine-as-imports`](#lint_isort_combine-as-imports) isn't enabled, every aliased `import from` will be given its own line, in which case, wrapping is not necessary.\\n\\nWhen using the formatter, ensure that [`format.skip-magic-trailing-comma`](#format_skip-magic-trailing-comma) is set to `false` (default) when enabling `force-wrap-aliases` to avoid that the formatter collapses members if they all fit on a single line.\",\n type: ['boolean', 'null']\n },\n 'forced-separate': {\n description: 'A list of modules to separate into auxiliary block(s) of imports, in the order specified.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'from-first': {\n description: 'Whether to place `import from` imports before straight imports when sorting.\\n\\nFor example, by default, imports will be sorted such that straight imports appear before `import from` imports, as in: ```python import os import sys from typing import List ```\\n\\nSetting `from-first = true` will instead sort such that `import from` imports appear before straight imports, as in: ```python from typing import List import os import sys ```',\n type: ['boolean', 'null']\n },\n 'known-first-party': {\n description: 'A list of modules to consider first-party, regardless of whether they can be identified as such via introspection of the local filesystem.\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'known-local-folder': {\n description: 'A list of modules to consider being a local folder. Generally, this is reserved for relative imports (`from . import module`).\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'known-third-party': {\n description: 'A list of modules to consider third-party, regardless of whether they can be identified as such via introspection of the local filesystem.\\n\\nSupports glob patterns. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'length-sort': {\n description: 'Sort imports by their string length, such that shorter imports appear before longer imports. For example, by default, imports will be sorted alphabetically, as in: ```python import collections import os ```\\n\\nSetting `length-sort = true` will instead sort such that shorter imports appear before longer imports, as in: ```python import os import collections ```',\n type: ['boolean', 'null']\n },\n 'length-sort-straight': {\n description: \"Sort straight imports by their string length. Similar to [`length-sort`](#lint_isort_length-sort), but applies only to straight imports and doesn't affect `from` imports.\",\n type: ['boolean', 'null']\n },\n 'lines-after-imports': {\n description: 'The number of blank lines to place after imports. Use `-1` for automatic determination.\\n\\nRuff uses at most one blank line after imports in typing stub files (files with `.pyi` extension) in accordance to the typing style recommendations ([source](https://typing.readthedocs.io/en/latest/source/stubs.html#blank-lines)).\\n\\nWhen using the formatter, only the values `-1`, `1`, and `2` are compatible because it enforces at least one empty and at most two empty lines after imports.',\n type: ['integer', 'null'],\n format: 'int'\n },\n 'lines-between-types': {\n description: 'The number of lines to place between \"direct\" and `import from` imports.\\n\\nWhen using the formatter, only the values `0` and `1` are compatible because it preserves up to one empty line after imports in nested blocks.',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'no-lines-before': {\n description: 'A list of sections that should _not_ be delineated from the previous section via empty lines.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/ImportSection'\n }\n },\n 'no-sections': {\n description: 'Put all imports into the same section bucket.\\n\\nFor example, rather than separating standard library and third-party imports, as in: ```python import os import sys\\n\\nimport numpy import pandas ```\\n\\nSetting `no-sections = true` will instead group all imports into a single section: ```python import numpy import os import pandas import sys ```',\n type: ['boolean', 'null']\n },\n 'order-by-type': {\n description: 'Order imports by type, which is determined by case, in addition to alphabetically.',\n type: ['boolean', 'null']\n },\n 'relative-imports-order': {\n description: 'Whether to place \"closer\" imports (fewer `.` characters, most local) before \"further\" imports (more `.` characters, least local), or vice versa.\\n\\nThe default (\"furthest-to-closest\") is equivalent to isort\\'s [`reverse-relative`](https://pycqa.github.io/isort/docs/configuration/options.html#reverse-relative) default (`reverse-relative = false`); setting this to \"closest-to-furthest\" is equivalent to isort\\'s `reverse-relative = true`.',\n anyOf: [{\n $ref: '#/definitions/RelativeImportsOrder'\n }, {\n type: 'null'\n }]\n },\n 'required-imports': {\n description: 'Add the specified import line to all files.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/NameImports'\n }\n },\n 'section-order': {\n description: 'Override in which order the sections should be output. Can be used to move custom sections.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/ImportSection'\n }\n },\n sections: {\n description: 'A list of mappings from section names to modules.\\n\\nBy default, imports are categorized according to their type (e.g., `future`, `third-party`, and so on). This setting allows you to group modules into custom sections, to augment or override the built-in sections.\\n\\nFor example, to group all testing utilities, you could create a `testing` section: ```toml testing = [\"pytest\", \"hypothesis\"] ```\\n\\nThe values in the list are treated as glob patterns. For example, to match all packages in the LangChain ecosystem (`langchain-core`, `langchain-openai`, etc.): ```toml langchain = [\"langchain-*\"] ```\\n\\nCustom sections should typically be inserted into the [`section-order`](#lint_isort_section-order) list to ensure that they\\'re displayed as a standalone group and in the intended order, as in: ```toml section-order = [ \"future\", \"standard-library\", \"third-party\", \"first-party\", \"local-folder\", \"testing\" ] ```\\n\\nIf a custom section is omitted from [`section-order`](#lint_isort_section-order), imports in that section will be assigned to the [`default-section`](#lint_isort_default-section) (which defaults to `third-party`).',\n type: ['object', 'null'],\n additionalProperties: {\n type: 'array',\n items: {\n type: 'string'\n }\n }\n },\n 'single-line-exclusions': {\n description: 'One or more modules to exclude from the single line rule.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'split-on-trailing-comma': {\n description: \"If a comma is placed after the last member in a multi-line import, then the imports will never be folded into one line.\\n\\nSee isort's [`split-on-trailing-comma`](https://pycqa.github.io/isort/docs/configuration/options.html#split-on-trailing-comma) option.\\n\\nWhen using the formatter, ensure that [`format.skip-magic-trailing-comma`](#format_skip-magic-trailing-comma) is set to `false` (default) when enabling `split-on-trailing-comma` to avoid that the formatter removes the trailing commas.\",\n type: ['boolean', 'null']\n },\n variables: {\n description: 'An override list of tokens to always recognize as a var for [`order-by-type`](#lint_isort_order-by-type) regardless of casing.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n LineEnding: {\n oneOf: [{\n description: 'The newline style is detected automatically on a file per file basis. Files with mixed line endings will be converted to the first detected line ending. Defaults to [`LineEnding::Lf`] for a files that contain no line endings.',\n type: 'string',\n enum: ['auto']\n }, {\n description: 'Line endings will be converted to `\\\\n` as is common on Unix.',\n type: 'string',\n enum: ['lf']\n }, {\n description: 'Line endings will be converted to `\\\\r\\\\n` as is common on Windows.',\n type: 'string',\n enum: ['cr-lf']\n }, {\n description: 'Line endings will be converted to `\\\\n` on Unix and `\\\\r\\\\n` on Windows.',\n type: 'string',\n enum: ['native']\n }]\n },\n LineLength: {\n description: 'The length of a line of text that is considered too long.\\n\\nThe allowed range of values is 1..=320',\n type: 'integer',\n format: 'uint16',\n maximum: 320.0,\n minimum: 1.0\n },\n LineWidth: {\n description: 'The maximum visual width to which the formatter should try to limit a line.',\n type: 'integer',\n format: 'uint16',\n minimum: 1.0\n },\n LintOptions: {\n description: 'Configures how Ruff checks your code.\\n\\nOptions specified in the `lint` section take precedence over the deprecated top-level settings.',\n type: 'object',\n properties: {\n 'allowed-confusables': {\n description: 'A list of allowed \"confusable\" Unicode characters to ignore when enforcing `RUF001`, `RUF002`, and `RUF003`.',\n type: ['array', 'null'],\n items: {\n type: 'string',\n maxLength: 1,\n minLength: 1\n }\n },\n 'dummy-variable-rgx': {\n description: 'A regular expression used to identify \"dummy\" variables, or those which should be ignored when enforcing (e.g.) unused-variable rules. The default expression matches `_`, `__`, and `_var`, but not `_var_`.',\n type: ['string', 'null']\n },\n exclude: {\n description: 'A list of file patterns to exclude from linting in addition to the files excluded globally (see [`exclude`](#exclude), and [`extend-exclude`](#extend-exclude)).\\n\\nExclusions are based on globs, and can be either:\\n\\n- Single-path patterns, like `.mypy_cache` (to exclude any directory named `.mypy_cache` in the tree), `foo.py` (to exclude any file named `foo.py`), or `foo_*.py` (to exclude any file matching `foo_*.py` ). - Relative patterns, like `directory/foo.py` (to exclude that specific file) or `directory/*.py` (to exclude any Python files in `directory`). Note that these paths are relative to the project root (e.g., the directory containing your `pyproject.toml`).\\n\\nFor more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'explicit-preview-rules': {\n description: 'Whether to require exact codes to select preview rules. When enabled, preview rules will not be selected by prefixes — the full code of each preview rule will be required to enable the rule.',\n type: ['boolean', 'null']\n },\n 'extend-fixable': {\n description: 'A list of rule codes or prefixes to consider fixable, in addition to those specified by [`fixable`](#lint_fixable).',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-ignore': {\n description: 'A list of rule codes or prefixes to ignore, in addition to those specified by `ignore`.',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-per-file-ignores': {\n description: 'A list of mappings from file pattern to rule codes or prefixes to exclude, in addition to any rules excluded by [`per-file-ignores`](#lint_per-file-ignores).',\n type: ['object', 'null'],\n additionalProperties: {\n type: 'array',\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n }\n },\n 'extend-safe-fixes': {\n description: 'A list of rule codes or prefixes for which unsafe fixes should be considered safe.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-select': {\n description: 'A list of rule codes or prefixes to enable, in addition to those specified by [`select`](#lint_select).',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-unfixable': {\n description: 'A list of rule codes or prefixes to consider non-auto-fixable, in addition to those specified by [`unfixable`](#lint_unfixable).',\n deprecated: true,\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'extend-unsafe-fixes': {\n description: 'A list of rule codes or prefixes for which safe fixes should be considered unsafe.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n external: {\n description: 'A list of rule codes or prefixes that are unsupported by Ruff, but should be preserved when (e.g.) validating `# noqa` directives. Useful for retaining `# noqa` directives that cover plugins not yet implemented by Ruff.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n fixable: {\n description: 'A list of rule codes or prefixes to consider fixable. By default, all rules are considered fixable.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'flake8-annotations': {\n description: 'Options for the `flake8-annotations` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8AnnotationsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-bandit': {\n description: 'Options for the `flake8-bandit` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8BanditOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-boolean-trap': {\n description: 'Options for the `flake8-boolean-trap` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8BooleanTrapOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-bugbear': {\n description: 'Options for the `flake8-bugbear` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8BugbearOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-builtins': {\n description: 'Options for the `flake8-builtins` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8BuiltinsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-comprehensions': {\n description: 'Options for the `flake8-comprehensions` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8ComprehensionsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-copyright': {\n description: 'Options for the `flake8-copyright` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8CopyrightOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-errmsg': {\n description: 'Options for the `flake8-errmsg` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8ErrMsgOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-gettext': {\n description: 'Options for the `flake8-gettext` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8GetTextOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-implicit-str-concat': {\n description: 'Options for the `flake8-implicit-str-concat` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8ImplicitStrConcatOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-import-conventions': {\n description: 'Options for the `flake8-import-conventions` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8ImportConventionsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-pytest-style': {\n description: 'Options for the `flake8-pytest-style` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8PytestStyleOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-quotes': {\n description: 'Options for the `flake8-quotes` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8QuotesOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-self': {\n description: 'Options for the `flake8_self` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8SelfOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-tidy-imports': {\n description: 'Options for the `flake8-tidy-imports` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8TidyImportsOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-type-checking': {\n description: 'Options for the `flake8-type-checking` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8TypeCheckingOptions'\n }, {\n type: 'null'\n }]\n },\n 'flake8-unused-arguments': {\n description: 'Options for the `flake8-unused-arguments` plugin.',\n anyOf: [{\n $ref: '#/definitions/Flake8UnusedArgumentsOptions'\n }, {\n type: 'null'\n }]\n },\n ignore: {\n description: 'A list of rule codes or prefixes to ignore. Prefixes can specify exact rules (like `F841`), entire categories (like `F`), or anything in between.\\n\\nWhen breaking ties between enabled and disabled rules (via `select` and `ignore`, respectively), more specific prefixes override less specific prefixes.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'ignore-init-module-imports': {\n description: \"Avoid automatically removing unused imports in `__init__.py` files. Such imports will still be flagged, but with a dedicated message suggesting that the import is either added to the module's `__all__` symbol, or re-exported with a redundant alias (e.g., `import os as os`).\\n\\nThis option is enabled by default, but you can opt-in to removal of imports via an unsafe fix.\",\n deprecated: true,\n type: ['boolean', 'null']\n },\n isort: {\n description: 'Options for the `isort` plugin.',\n anyOf: [{\n $ref: '#/definitions/IsortOptions'\n }, {\n type: 'null'\n }]\n },\n 'logger-objects': {\n description: 'A list of objects that should be treated equivalently to a `logging.Logger` object.\\n\\nThis is useful for ensuring proper diagnostics (e.g., to identify `logging` deprecations and other best-practices) for projects that re-export a `logging.Logger` object from a common module.\\n\\nFor example, if you have a module `logging_setup.py` with the following contents: ```python import logging\\n\\nlogger = logging.getLogger(__name__) ```\\n\\nAdding `\"logging_setup.logger\"` to `logger-objects` will ensure that `logging_setup.logger` is treated as a `logging.Logger` object when imported from other modules (e.g., `from logging_setup import logger`).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n mccabe: {\n description: 'Options for the `mccabe` plugin.',\n anyOf: [{\n $ref: '#/definitions/McCabeOptions'\n }, {\n type: 'null'\n }]\n },\n 'pep8-naming': {\n description: 'Options for the `pep8-naming` plugin.',\n anyOf: [{\n $ref: '#/definitions/Pep8NamingOptions'\n }, {\n type: 'null'\n }]\n },\n 'per-file-ignores': {\n description: \"A list of mappings from file pattern to rule codes or prefixes to exclude, when considering any matching files. An initial '!' negates the file pattern.\",\n type: ['object', 'null'],\n additionalProperties: {\n type: 'array',\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n }\n },\n preview: {\n description: 'Whether to enable preview mode. When preview mode is enabled, Ruff will use unstable rules and fixes.',\n type: ['boolean', 'null']\n },\n pycodestyle: {\n description: 'Options for the `pycodestyle` plugin.',\n anyOf: [{\n $ref: '#/definitions/PycodestyleOptions'\n }, {\n type: 'null'\n }]\n },\n pydocstyle: {\n description: 'Options for the `pydocstyle` plugin.',\n anyOf: [{\n $ref: '#/definitions/PydocstyleOptions'\n }, {\n type: 'null'\n }]\n },\n pyflakes: {\n description: 'Options for the `pyflakes` plugin.',\n anyOf: [{\n $ref: '#/definitions/PyflakesOptions'\n }, {\n type: 'null'\n }]\n },\n pylint: {\n description: 'Options for the `pylint` plugin.',\n anyOf: [{\n $ref: '#/definitions/PylintOptions'\n }, {\n type: 'null'\n }]\n },\n pyupgrade: {\n description: 'Options for the `pyupgrade` plugin.',\n anyOf: [{\n $ref: '#/definitions/PyUpgradeOptions'\n }, {\n type: 'null'\n }]\n },\n ruff: {\n description: 'Options for the `ruff` plugin',\n anyOf: [{\n $ref: '#/definitions/RuffOptions'\n }, {\n type: 'null'\n }]\n },\n select: {\n description: 'A list of rule codes or prefixes to enable. Prefixes can specify exact rules (like `F841`), entire categories (like `F`), or anything in between.\\n\\nWhen breaking ties between enabled and disabled rules (via `select` and `ignore`, respectively), more specific prefixes override less specific prefixes.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n },\n 'task-tags': {\n description: 'A list of task tags to recognize (e.g., \"TODO\", \"FIXME\", \"XXX\").\\n\\nComments starting with these tags will be ignored by commented-out code detection (`ERA`), and skipped by line-length rules (`E501`) if [`ignore-overlong-task-comments`](#lint_pycodestyle_ignore-overlong-task-comments) is set to `true`.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'typing-modules': {\n description: 'A list of modules whose exports should be treated equivalently to members of the `typing` module.\\n\\nThis is useful for ensuring proper type annotation inference for projects that re-export `typing` and `typing_extensions` members from a compatibility module. If omitted, any members imported from modules apart from `typing` and `typing_extensions` will be treated as ordinary Python objects.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n unfixable: {\n description: 'A list of rule codes or prefixes to consider non-fixable.',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/RuleSelector'\n }\n }\n },\n additionalProperties: false\n },\n McCabeOptions: {\n type: 'object',\n properties: {\n 'max-complexity': {\n description: 'The maximum McCabe complexity to allow before triggering `C901` errors.',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n }\n },\n additionalProperties: false\n },\n NameImports: {\n type: 'string'\n },\n OutputFormat: {\n oneOf: [{\n type: 'string',\n enum: ['concise', 'full', 'json', 'json-lines', 'junit', 'grouped', 'github', 'gitlab', 'pylint', 'rdjson', 'azure', 'sarif']\n }, {\n deprecated: true,\n type: 'string',\n enum: ['text']\n }]\n },\n ParametrizeNameType: {\n type: 'string',\n enum: ['csv', 'tuple', 'list']\n },\n ParametrizeValuesRowType: {\n type: 'string',\n enum: ['tuple', 'list']\n },\n ParametrizeValuesType: {\n type: 'string',\n enum: ['tuple', 'list']\n },\n Pep8NamingOptions: {\n type: 'object',\n properties: {\n 'classmethod-decorators': {\n description: 'A list of decorators that, when applied to a method, indicate that the method should be treated as a class method (in addition to the builtin `@classmethod`).\\n\\nFor example, Ruff will expect that any method decorated by a decorator in this list takes a `cls` argument as its first argument.\\n\\nExpects to receive a list of fully-qualified names (e.g., `pydantic.validator`, rather than `validator`) or alternatively a plain name which is then matched against the last segment in case the decorator itself consists of a dotted name.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'extend-ignore-names': {\n description: 'Additional names (or patterns) to ignore when considering `pep8-naming` violations, in addition to those included in [`ignore-names`](#lint_pep8-naming_ignore-names).\\n\\nSupports glob patterns. For example, to ignore all names starting with `test_` or ending with `_test`, you could use `ignore-names = [\"test_*\", \"*_test\"]`. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'ignore-names': {\n description: 'A list of names (or patterns) to ignore when considering `pep8-naming` violations.\\n\\nSupports glob patterns. For example, to ignore all names starting with `test_` or ending with `_test`, you could use `ignore-names = [\"test_*\", \"*_test\"]`. For more information on the glob syntax, refer to the [`globset` documentation](https://docs.rs/globset/latest/globset/#syntax).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'staticmethod-decorators': {\n description: 'A list of decorators that, when applied to a method, indicate that the method should be treated as a static method (in addition to the builtin `@staticmethod`).\\n\\nFor example, Ruff will expect that any method decorated by a decorator in this list has no `self` or `cls` argument.\\n\\nExpects to receive a list of fully-qualified names (e.g., `belay.Device.teardown`, rather than `teardown`) or alternatively a plain name which is then matched against the last segment in case the decorator itself consists of a dotted name.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n PyUpgradeOptions: {\n type: 'object',\n properties: {\n 'keep-runtime-typing': {\n description: 'Whether to avoid [PEP 585](https://peps.python.org/pep-0585/) (`List[int]` -> `list[int]`) and [PEP 604](https://peps.python.org/pep-0604/) (`Union[str, int]` -> `str | int`) rewrites even if a file imports `from __future__ import annotations`.\\n\\nThis setting is only applicable when the target Python version is below 3.9 and 3.10 respectively, and is most commonly used when working with libraries like Pydantic and FastAPI, which rely on the ability to parse type annotations at runtime. The use of `from __future__ import annotations` causes Python to treat the type annotations as strings, which typically allows for the use of language features that appear in later Python versions but are not yet supported by the current version (e.g., `str | int`). However, libraries that rely on runtime type annotations will break if the annotations are incompatible with the current Python version.\\n\\nFor example, while the following is valid Python 3.8 code due to the presence of `from __future__ import annotations`, the use of `str | int` prior to Python 3.10 will cause Pydantic to raise a `TypeError` at runtime:\\n\\n```python from __future__ import annotations\\n\\nimport pydantic\\n\\nclass Foo(pydantic.BaseModel): bar: str | int ```',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n PycodestyleOptions: {\n type: 'object',\n properties: {\n 'ignore-overlong-task-comments': {\n description: 'Whether line-length violations (`E501`) should be triggered for comments starting with [`task-tags`](#lint_task-tags) (by default: \"TODO\", \"FIXME\", and \"XXX\").',\n type: ['boolean', 'null']\n },\n 'max-doc-length': {\n description: 'The maximum line length to allow for [`doc-line-too-long`](https://docs.astral.sh/ruff/rules/doc-line-too-long/) violations within documentation (`W505`), including standalone comments. By default, this is set to `null` which disables reporting violations.\\n\\nThe length is determined by the number of characters per line, except for lines containing Asian characters or emojis. For these lines, the [unicode width](https://unicode.org/reports/tr11/) of each character is added up to determine the length.\\n\\nSee the [`doc-line-too-long`](https://docs.astral.sh/ruff/rules/doc-line-too-long/) rule for more information.',\n anyOf: [{\n $ref: '#/definitions/LineLength'\n }, {\n type: 'null'\n }]\n },\n 'max-line-length': {\n description: \"The maximum line length to allow for [`line-too-long`](https://docs.astral.sh/ruff/rules/line-too-long/) violations. By default, this is set to the value of the [`line-length`](#line-length) option.\\n\\nUse this option when you want to detect extra-long lines that the formatter can't automatically split by setting `pycodestyle.line-length` to a value larger than [`line-length`](#line-length).\\n\\n```toml # The formatter wraps lines at a length of 88. line-length = 88\\n\\n[pycodestyle] # E501 reports lines that exceed the length of 100. max-line-length = 100 ```\\n\\nThe length is determined by the number of characters per line, except for lines containing East Asian characters or emojis. For these lines, the [unicode width](https://unicode.org/reports/tr11/) of each character is added up to determine the length.\\n\\nSee the [`line-too-long`](https://docs.astral.sh/ruff/rules/line-too-long/) rule for more information.\",\n anyOf: [{\n $ref: '#/definitions/LineLength'\n }, {\n type: 'null'\n }]\n }\n },\n additionalProperties: false\n },\n PydocstyleOptions: {\n type: 'object',\n properties: {\n convention: {\n description: 'Whether to use Google-style, NumPy-style conventions, or the [PEP 257](https://peps.python.org/pep-0257/) defaults when analyzing docstring sections.\\n\\nEnabling a convention will disable all rules that are not included in the specified convention. As such, the intended workflow is to enable a convention and then selectively enable or disable any additional rules on top of it.\\n\\nFor example, to use Google-style conventions but avoid requiring documentation for every function parameter:\\n\\n```toml [tool.ruff.lint] # Enable all `pydocstyle` rules, limiting to those that adhere to the # Google convention via `convention = \"google\"`, below. select = [\"D\"]\\n\\n# On top of the Google convention, disable `D417`, which requires # documentation for every function parameter. ignore = [\"D417\"]\\n\\n[tool.ruff.lint.pydocstyle] convention = \"google\" ```\\n\\nTo enable an additional rule that\\'s excluded from the convention, select the desired rule via its fully qualified rule code (e.g., `D400` instead of `D4` or `D40`):\\n\\n```toml [tool.ruff.lint] # Enable D400 on top of the Google convention. extend-select = [\"D400\"]\\n\\n[tool.ruff.lint.pydocstyle] convention = \"google\" ```',\n anyOf: [{\n $ref: '#/definitions/Convention'\n }, {\n type: 'null'\n }]\n },\n 'ignore-decorators': {\n description: 'Ignore docstrings for functions or methods decorated with the specified fully-qualified decorators.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n },\n 'property-decorators': {\n description: 'A list of decorators that, when applied to a method, indicate that the method should be treated as a property (in addition to the builtin `@property` and standard-library `@functools.cached_property`).\\n\\nFor example, Ruff will expect that any method decorated by a decorator in this list can use a non-imperative summary line.',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n PyflakesOptions: {\n type: 'object',\n properties: {\n 'extend-generics': {\n description: 'Additional functions or classes to consider generic, such that any subscripts should be treated as type annotation (e.g., `ForeignKey` in `django.db.models.ForeignKey[\"User\"]`.\\n\\nExpects to receive a list of fully-qualified names (e.g., `django.db.models.ForeignKey`, rather than `ForeignKey`).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n }\n }\n },\n additionalProperties: false\n },\n PylintOptions: {\n type: 'object',\n properties: {\n 'allow-dunder-method-names': {\n description: 'Dunder methods name to allow, in addition to the default set from the Python standard library (see `PLW3201`).',\n type: ['array', 'null'],\n items: {\n type: 'string'\n },\n uniqueItems: true\n },\n 'allow-magic-value-types': {\n description: 'Constant types to ignore when used as \"magic values\" (see `PLR2004`).',\n type: ['array', 'null'],\n items: {\n $ref: '#/definitions/ConstantType'\n }\n },\n 'max-args': {\n description: 'Maximum number of arguments allowed for a function or method definition (see `PLR0913`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-bool-expr': {\n description: 'Maximum number of Boolean expressions allowed within a single `if` statement (see `PLR0916`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-branches': {\n description: 'Maximum number of branches allowed for a function or method body (see `PLR0912`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-locals': {\n description: 'Maximum number of local variables allowed for a function or method body (see `PLR0914`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-nested-blocks': {\n description: 'Maximum number of nested blocks allowed within a function or method body (see `PLR1702`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-positional-args': {\n description: 'Maximum number of positional arguments allowed for a function or method definition (see `PLR0917`).\\n\\nIf not specified, defaults to the value of `max-args`.',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-public-methods': {\n description: 'Maximum number of public methods allowed for a class (see `PLR0904`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-returns': {\n description: 'Maximum number of return statements allowed for a function or method body (see `PLR0911`)',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n },\n 'max-statements': {\n description: 'Maximum number of statements allowed for a function or method body (see `PLR0915`).',\n type: ['integer', 'null'],\n format: 'uint',\n minimum: 0.0\n }\n },\n additionalProperties: false\n },\n PythonVersion: {\n type: 'string',\n enum: ['py37', 'py38', 'py39', 'py310', 'py311', 'py312', 'py313']\n },\n Quote: {\n oneOf: [{\n description: 'Use double quotes.',\n type: 'string',\n enum: ['double']\n }, {\n description: 'Use single quotes.',\n type: 'string',\n enum: ['single']\n }]\n },\n QuoteStyle: {\n type: 'string',\n enum: ['single', 'double', 'preserve']\n },\n RelativeImportsOrder: {\n oneOf: [{\n description: 'Place \"closer\" imports (fewer `.` characters, most local) before \"further\" imports (more `.` characters, least local).',\n type: 'string',\n enum: ['closest-to-furthest']\n }, {\n description: 'Place \"further\" imports (more `.` characters, least local) imports before \"closer\" imports (fewer `.` characters, most local).',\n type: 'string',\n enum: ['furthest-to-closest']\n }]\n },\n RequiredVersion: {\n type: 'string'\n },\n RuffOptions: {\n type: 'object',\n properties: {\n 'parenthesize-tuple-in-subscript': {\n description: 'Whether to prefer accessing items keyed by tuples with parentheses around the tuple (see `RUF031`).',\n type: ['boolean', 'null']\n }\n },\n additionalProperties: false\n },\n RuleSelector: {\n type: 'string',\n enum: ['A', 'A0', 'A00', 'A001', 'A002', 'A003', 'A004', 'A005', 'A006', 'AIR', 'AIR0', 'AIR00', 'AIR001', 'ALL', 'ANN', 'ANN0', 'ANN00', 'ANN001', 'ANN002', 'ANN003', 'ANN1', 'ANN10', 'ANN101', 'ANN102', 'ANN2', 'ANN20', 'ANN201', 'ANN202', 'ANN204', 'ANN205', 'ANN206', 'ANN4', 'ANN40', 'ANN401', 'ARG', 'ARG0', 'ARG00', 'ARG001', 'ARG002', 'ARG003', 'ARG004', 'ARG005', 'ASYNC', 'ASYNC1', 'ASYNC10', 'ASYNC100', 'ASYNC105', 'ASYNC109', 'ASYNC11', 'ASYNC110', 'ASYNC115', 'ASYNC116', 'ASYNC2', 'ASYNC21', 'ASYNC210', 'ASYNC22', 'ASYNC220', 'ASYNC221', 'ASYNC222', 'ASYNC23', 'ASYNC230', 'ASYNC25', 'ASYNC251', 'B', 'B0', 'B00', 'B002', 'B003', 'B004', 'B005', 'B006', 'B007', 'B008', 'B009', 'B01', 'B010', 'B011', 'B012', 'B013', 'B014', 'B015', 'B016', 'B017', 'B018', 'B019', 'B02', 'B020', 'B021', 'B022', 'B023', 'B024', 'B025', 'B026', 'B027', 'B028', 'B029', 'B03', 'B030', 'B031', 'B032', 'B033', 'B034', 'B035', 'B039', 'B9', 'B90', 'B901', 'B904', 'B905', 'B909', 'BLE', 'BLE0', 'BLE00', 'BLE001', 'C', 'C4', 'C40', 'C400', 'C401', 'C402', 'C403', 'C404', 'C405', 'C406', 'C408', 'C409', 'C41', 'C410', 'C411', 'C413', 'C414', 'C415', 'C416', 'C417', 'C418', 'C419', 'C42', 'C420', 'C9', 'C90', 'C901', 'COM', 'COM8', 'COM81', 'COM812', 'COM818', 'COM819', 'CPY', 'CPY0', 'CPY00', 'CPY001', 'D', 'D1', 'D10', 'D100', 'D101', 'D102', 'D103', 'D104', 'D105', 'D106', 'D107', 'D2', 'D20', 'D200', 'D201', 'D202', 'D203', 'D204', 'D205', 'D206', 'D207', 'D208', 'D209', 'D21', 'D210', 'D211', 'D212', 'D213', 'D214', 'D215', 'D3', 'D30', 'D300', 'D301', 'D4', 'D40', 'D400', 'D401', 'D402', 'D403', 'D404', 'D405', 'D406', 'D407', 'D408', 'D409', 'D41', 'D410', 'D411', 'D412', 'D413', 'D414', 'D415', 'D416', 'D417', 'D418', 'D419', 'DJ', 'DJ0', 'DJ00', 'DJ001', 'DJ003', 'DJ006', 'DJ007', 'DJ008', 'DJ01', 'DJ012', 'DJ013', 'DOC', 'DOC2', 'DOC20', 'DOC201', 'DOC202', 'DOC4', 'DOC40', 'DOC402', 'DOC403', 'DOC5', 'DOC50', 'DOC501', 'DOC502', 'DTZ', 'DTZ0', 'DTZ00', 'DTZ001', 'DTZ002', 'DTZ003', 'DTZ004', 'DTZ005', 'DTZ006', 'DTZ007', 'DTZ01', 'DTZ011', 'DTZ012', 'E', 'E1', 'E10', 'E101', 'E11', 'E111', 'E112', 'E113', 'E114', 'E115', 'E116', 'E117', 'E2', 'E20', 'E201', 'E202', 'E203', 'E204', 'E21', 'E211', 'E22', 'E221', 'E222', 'E223', 'E224', 'E225', 'E226', 'E227', 'E228', 'E23', 'E231', 'E24', 'E241', 'E242', 'E25', 'E251', 'E252', 'E26', 'E261', 'E262', 'E265', 'E266', 'E27', 'E271', 'E272', 'E273', 'E274', 'E275', 'E3', 'E30', 'E301', 'E302', 'E303', 'E304', 'E305', 'E306', 'E4', 'E40', 'E401', 'E402', 'E5', 'E50', 'E501', 'E502', 'E7', 'E70', 'E701', 'E702', 'E703', 'E71', 'E711', 'E712', 'E713', 'E714', 'E72', 'E721', 'E722', 'E73', 'E731', 'E74', 'E741', 'E742', 'E743', 'E9', 'E90', 'E902', 'E99', 'E999', 'EM', 'EM1', 'EM10', 'EM101', 'EM102', 'EM103', 'ERA', 'ERA0', 'ERA00', 'ERA001', 'EXE', 'EXE0', 'EXE00', 'EXE001', 'EXE002', 'EXE003', 'EXE004', 'EXE005', 'F', 'F4', 'F40', 'F401', 'F402', 'F403', 'F404', 'F405', 'F406', 'F407', 'F5', 'F50', 'F501', 'F502', 'F503', 'F504', 'F505', 'F506', 'F507', 'F508', 'F509', 'F52', 'F521', 'F522', 'F523', 'F524', 'F525', 'F54', 'F541', 'F6', 'F60', 'F601', 'F602', 'F62', 'F621', 'F622', 'F63', 'F631', 'F632', 'F633', 'F634', 'F7', 'F70', 'F701', 'F702', 'F704', 'F706', 'F707', 'F72', 'F722', 'F8', 'F81', 'F811', 'F82', 'F821', 'F822', 'F823', 'F84', 'F841', 'F842', 'F9', 'F90', 'F901', 'FA', 'FA1', 'FA10', 'FA100', 'FA102', 'FAST', 'FAST0', 'FAST00', 'FAST001', 'FAST002', 'FAST003', 'FBT', 'FBT0', 'FBT00', 'FBT001', 'FBT002', 'FBT003', 'FIX', 'FIX0', 'FIX00', 'FIX001', 'FIX002', 'FIX003', 'FIX004', 'FLY', 'FLY0', 'FLY00', 'FLY002', 'FURB', 'FURB1', 'FURB10', 'FURB101', 'FURB103', 'FURB105', 'FURB11', 'FURB110', 'FURB113', 'FURB116', 'FURB118', 'FURB12', 'FURB129', 'FURB13', 'FURB131', 'FURB132', 'FURB136', 'FURB14', 'FURB140', 'FURB142', 'FURB145', 'FURB148', 'FURB15', 'FURB152', 'FURB154', 'FURB157', 'FURB16', 'FURB161', 'FURB163', 'FURB164', 'FURB166', 'FURB167', 'FURB168', 'FURB169', 'FURB17', 'FURB171', 'FURB177', 'FURB18', 'FURB180', 'FURB181', 'FURB187', 'FURB19', 'FURB192', 'G', 'G0', 'G00', 'G001', 'G002', 'G003', 'G004', 'G01', 'G010', 'G1', 'G10', 'G101', 'G2', 'G20', 'G201', 'G202', 'I', 'I0', 'I00', 'I001', 'I002', 'ICN', 'ICN0', 'ICN00', 'ICN001', 'ICN002', 'ICN003', 'INP', 'INP0', 'INP00', 'INP001', 'INT', 'INT0', 'INT00', 'INT001', 'INT002', 'INT003', 'ISC', 'ISC0', 'ISC00', 'ISC001', 'ISC002', 'ISC003', 'LOG', 'LOG0', 'LOG00', 'LOG001', 'LOG002', 'LOG007', 'LOG009', 'N', 'N8', 'N80', 'N801', 'N802', 'N803', 'N804', 'N805', 'N806', 'N807', 'N81', 'N811', 'N812', 'N813', 'N814', 'N815', 'N816', 'N817', 'N818', 'N9', 'N99', 'N999', 'NPY', 'NPY0', 'NPY00', 'NPY001', 'NPY002', 'NPY003', 'NPY2', 'NPY20', 'NPY201', 'PD', 'PD0', 'PD00', 'PD002', 'PD003', 'PD004', 'PD007', 'PD008', 'PD009', 'PD01', 'PD010', 'PD011', 'PD012', 'PD013', 'PD015', 'PD1', 'PD10', 'PD101', 'PD9', 'PD90', 'PD901', 'PERF', 'PERF1', 'PERF10', 'PERF101', 'PERF102', 'PERF2', 'PERF20', 'PERF203', 'PERF4', 'PERF40', 'PERF401', 'PERF402', 'PERF403', 'PGH', 'PGH0', 'PGH00', 'PGH003', 'PGH004', 'PGH005', 'PIE', 'PIE7', 'PIE79', 'PIE790', 'PIE794', 'PIE796', 'PIE8', 'PIE80', 'PIE800', 'PIE804', 'PIE807', 'PIE808', 'PIE81', 'PIE810', 'PL', 'PLC', 'PLC0', 'PLC01', 'PLC010', 'PLC0105', 'PLC013', 'PLC0131', 'PLC0132', 'PLC02', 'PLC020', 'PLC0205', 'PLC0206', 'PLC0208', 'PLC04', 'PLC041', 'PLC0414', 'PLC0415', 'PLC1', 'PLC19', 'PLC190', 'PLC1901', 'PLC2', 'PLC24', 'PLC240', 'PLC2401', 'PLC2403', 'PLC27', 'PLC270', 'PLC2701', 'PLC28', 'PLC280', 'PLC2801', 'PLC3', 'PLC30', 'PLC300', 'PLC3002', 'PLE', 'PLE0', 'PLE01', 'PLE010', 'PLE0100', 'PLE0101', 'PLE011', 'PLE0115', 'PLE0116', 'PLE0117', 'PLE0118', 'PLE02', 'PLE023', 'PLE0237', 'PLE024', 'PLE0241', 'PLE03', 'PLE030', 'PLE0302', 'PLE0303', 'PLE0304', 'PLE0305', 'PLE0307', 'PLE0308', 'PLE0309', 'PLE06', 'PLE060', 'PLE0604', 'PLE0605', 'PLE064', 'PLE0643', 'PLE07', 'PLE070', 'PLE0704', 'PLE1', 'PLE11', 'PLE113', 'PLE1132', 'PLE114', 'PLE1141', 'PLE1142', 'PLE12', 'PLE120', 'PLE1205', 'PLE1206', 'PLE13', 'PLE130', 'PLE1300', 'PLE1307', 'PLE131', 'PLE1310', 'PLE15', 'PLE150', 'PLE1507', 'PLE151', 'PLE1519', 'PLE152', 'PLE1520', 'PLE17', 'PLE170', 'PLE1700', 'PLE2', 'PLE25', 'PLE250', 'PLE2502', 'PLE251', 'PLE2510', 'PLE2512', 'PLE2513', 'PLE2514', 'PLE2515', 'PLE4', 'PLE47', 'PLE470', 'PLE4703', 'PLR', 'PLR0', 'PLR01', 'PLR012', 'PLR0124', 'PLR013', 'PLR0133', 'PLR02', 'PLR020', 'PLR0202', 'PLR0203', 'PLR0206', 'PLR04', 'PLR040', 'PLR0402', 'PLR09', 'PLR090', 'PLR0904', 'PLR091', 'PLR0911', 'PLR0912', 'PLR0913', 'PLR0914', 'PLR0915', 'PLR0916', 'PLR0917', 'PLR1', 'PLR17', 'PLR170', 'PLR1702', 'PLR1704', 'PLR171', 'PLR1711', 'PLR1714', 'PLR172', 'PLR1722', 'PLR173', 'PLR1730', 'PLR1733', 'PLR1736', 'PLR2', 'PLR20', 'PLR200', 'PLR2004', 'PLR204', 'PLR2044', 'PLR5', 'PLR55', 'PLR550', 'PLR5501', 'PLR6', 'PLR61', 'PLR610', 'PLR6104', 'PLR62', 'PLR620', 'PLR6201', 'PLR63', 'PLR630', 'PLR6301', 'PLW', 'PLW0', 'PLW01', 'PLW010', 'PLW0108', 'PLW012', 'PLW0120', 'PLW0127', 'PLW0128', 'PLW0129', 'PLW013', 'PLW0131', 'PLW0133', 'PLW017', 'PLW0177', 'PLW02', 'PLW021', 'PLW0211', 'PLW024', 'PLW0245', 'PLW04', 'PLW040', 'PLW0406', 'PLW06', 'PLW060', 'PLW0602', 'PLW0603', 'PLW0604', 'PLW064', 'PLW0642', 'PLW07', 'PLW071', 'PLW0711', 'PLW1', 'PLW15', 'PLW150', 'PLW1501', 'PLW1508', 'PLW1509', 'PLW151', 'PLW1510', 'PLW1514', 'PLW16', 'PLW164', 'PLW1641', 'PLW2', 'PLW21', 'PLW210', 'PLW2101', 'PLW29', 'PLW290', 'PLW2901', 'PLW3', 'PLW32', 'PLW320', 'PLW3201', 'PLW33', 'PLW330', 'PLW3301', 'PT', 'PT0', 'PT00', 'PT001', 'PT002', 'PT003', 'PT004', 'PT005', 'PT006', 'PT007', 'PT008', 'PT009', 'PT01', 'PT010', 'PT011', 'PT012', 'PT013', 'PT014', 'PT015', 'PT016', 'PT017', 'PT018', 'PT019', 'PT02', 'PT020', 'PT021', 'PT022', 'PT023', 'PT024', 'PT025', 'PT026', 'PT027', 'PTH', 'PTH1', 'PTH10', 'PTH100', 'PTH101', 'PTH102', 'PTH103', 'PTH104', 'PTH105', 'PTH106', 'PTH107', 'PTH108', 'PTH109', 'PTH11', 'PTH110', 'PTH111', 'PTH112', 'PTH113', 'PTH114', 'PTH115', 'PTH116', 'PTH117', 'PTH118', 'PTH119', 'PTH12', 'PTH120', 'PTH121', 'PTH122', 'PTH123', 'PTH124', 'PTH2', 'PTH20', 'PTH201', 'PTH202', 'PTH203', 'PTH204', 'PTH205', 'PTH206', 'PTH207', 'PYI', 'PYI0', 'PYI00', 'PYI001', 'PYI002', 'PYI003', 'PYI004', 'PYI005', 'PYI006', 'PYI007', 'PYI008', 'PYI009', 'PYI01', 'PYI010', 'PYI011', 'PYI012', 'PYI013', 'PYI014', 'PYI015', 'PYI016', 'PYI017', 'PYI018', 'PYI019', 'PYI02', 'PYI020', 'PYI021', 'PYI024', 'PYI025', 'PYI026', 'PYI029', 'PYI03', 'PYI030', 'PYI032', 'PYI033', 'PYI034', 'PYI035', 'PYI036', 'PYI04', 'PYI041', 'PYI042', 'PYI043', 'PYI044', 'PYI045', 'PYI046', 'PYI047', 'PYI048', 'PYI049', 'PYI05', 'PYI050', 'PYI051', 'PYI052', 'PYI053', 'PYI054', 'PYI055', 'PYI056', 'PYI057', 'PYI058', 'PYI059', 'PYI06', 'PYI062', 'PYI063', 'PYI064', 'PYI066', 'Q', 'Q0', 'Q00', 'Q000', 'Q001', 'Q002', 'Q003', 'Q004', 'RET', 'RET5', 'RET50', 'RET501', 'RET502', 'RET503', 'RET504', 'RET505', 'RET506', 'RET507', 'RET508', 'RSE', 'RSE1', 'RSE10', 'RSE102', 'RUF', 'RUF0', 'RUF00', 'RUF001', 'RUF002', 'RUF003', 'RUF005', 'RUF006', 'RUF007', 'RUF008', 'RUF009', 'RUF01', 'RUF010', 'RUF012', 'RUF013', 'RUF015', 'RUF016', 'RUF017', 'RUF018', 'RUF019', 'RUF02', 'RUF020', 'RUF021', 'RUF022', 'RUF023', 'RUF024', 'RUF026', 'RUF027', 'RUF028', 'RUF029', 'RUF03', 'RUF030', 'RUF031', 'RUF032', 'RUF033', 'RUF034', 'RUF1', 'RUF10', 'RUF100', 'RUF101', 'RUF2', 'RUF20', 'RUF200', 'S', 'S1', 'S10', 'S101', 'S102', 'S103', 'S104', 'S105', 'S106', 'S107', 'S108', 'S11', 'S110', 'S112', 'S113', 'S2', 'S20', 'S201', 'S202', 'S3', 'S30', 'S301', 'S302', 'S303', 'S304', 'S305', 'S306', 'S307', 'S308', 'S31', 'S310', 'S311', 'S312', 'S313', 'S314', 'S315', 'S316', 'S317', 'S318', 'S319', 'S32', 'S320', 'S321', 'S323', 'S324', 'S4', 'S40', 'S401', 'S402', 'S403', 'S404', 'S405', 'S406', 'S407', 'S408', 'S409', 'S41', 'S411', 'S412', 'S413', 'S415', 'S5', 'S50', 'S501', 'S502', 'S503', 'S504', 'S505', 'S506', 'S507', 'S508', 'S509', 'S6', 'S60', 'S601', 'S602', 'S603', 'S604', 'S605', 'S606', 'S607', 'S608', 'S609', 'S61', 'S610', 'S611', 'S612', 'S7', 'S70', 'S701', 'S702', 'SIM', 'SIM1', 'SIM10', 'SIM101', 'SIM102', 'SIM103', 'SIM105', 'SIM107', 'SIM108', 'SIM109', 'SIM11', 'SIM110', 'SIM112', 'SIM113', 'SIM114', 'SIM115', 'SIM116', 'SIM117', 'SIM118', 'SIM2', 'SIM20', 'SIM201', 'SIM202', 'SIM208', 'SIM21', 'SIM210', 'SIM211', 'SIM212', 'SIM22', 'SIM220', 'SIM221', 'SIM222', 'SIM223', 'SIM3', 'SIM30', 'SIM300', 'SIM4', 'SIM40', 'SIM401', 'SIM9', 'SIM91', 'SIM910', 'SIM911', 'SLF', 'SLF0', 'SLF00', 'SLF001', 'SLOT', 'SLOT0', 'SLOT00', 'SLOT000', 'SLOT001', 'SLOT002', 'T', 'T1', 'T10', 'T100', 'T2', 'T20', 'T201', 'T203', 'TCH', 'TCH0', 'TCH00', 'TCH001', 'TCH002', 'TCH003', 'TCH004', 'TCH005', 'TCH01', 'TCH010', 'TD', 'TD0', 'TD00', 'TD001', 'TD002', 'TD003', 'TD004', 'TD005', 'TD006', 'TD007', 'TID', 'TID2', 'TID25', 'TID251', 'TID252', 'TID253', 'TRY', 'TRY0', 'TRY00', 'TRY002', 'TRY003', 'TRY004', 'TRY2', 'TRY20', 'TRY201', 'TRY3', 'TRY30', 'TRY300', 'TRY301', 'TRY302', 'TRY4', 'TRY40', 'TRY400', 'TRY401', 'UP', 'UP0', 'UP00', 'UP001', 'UP003', 'UP004', 'UP005', 'UP006', 'UP007', 'UP008', 'UP009', 'UP01', 'UP010', 'UP011', 'UP012', 'UP013', 'UP014', 'UP015', 'UP017', 'UP018', 'UP019', 'UP02', 'UP020', 'UP021', 'UP022', 'UP023', 'UP024', 'UP025', 'UP026', 'UP027', 'UP028', 'UP029', 'UP03', 'UP030', 'UP031', 'UP032', 'UP033', 'UP034', 'UP035', 'UP036', 'UP037', 'UP038', 'UP039', 'UP04', 'UP040', 'UP041', 'UP042', 'UP043', 'W', 'W1', 'W19', 'W191', 'W2', 'W29', 'W291', 'W292', 'W293', 'W3', 'W39', 'W391', 'W5', 'W50', 'W505', 'W6', 'W60', 'W605', 'YTT', 'YTT1', 'YTT10', 'YTT101', 'YTT102', 'YTT103', 'YTT2', 'YTT20', 'YTT201', 'YTT202', 'YTT203', 'YTT204', 'YTT3', 'YTT30', 'YTT301', 'YTT302', 'YTT303']\n },\n Strictness: {\n oneOf: [{\n description: 'Ban imports that extend into the parent module or beyond.',\n type: 'string',\n enum: ['parents']\n }, {\n description: 'Ban all relative imports.',\n type: 'string',\n enum: ['all']\n }]\n }\n }\n};\nexport default schema;\n//# sourceMappingURL=ruffSchema.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nimport React, { useCallback, useMemo, useRef, useState } from 'react';\nimport * as monaco from 'monaco-editor';\nimport { Workspace } from '@astral-sh/ruff-wasm-web';\nimport { FontAwesomeIcon } from '@fortawesome/react-fontawesome';\nimport { ActionButton, Button, Icon, Link, Modal, ModalBody, ModalFooter, ModalHeader, Text } from '@deephaven/components';\nimport { vsLinkExternal, vsDiscard } from '@deephaven/icons';\nimport { useDebouncedCallback, usePromiseFactory } from '@deephaven/react-hooks';\nimport { assertNotNull, EMPTY_FUNCTION } from '@deephaven/utils';\nimport Editor from \"../notebook/Editor.js\";\nimport RUFF_DEFAULT_SETTINGS from \"./RuffDefaultSettings.js\";\nimport ruffSchema from \"./ruffSchema.js\";\nimport \"./RuffSettingsModal.css\";\nimport MonacoProviders from \"./MonacoProviders.js\";\nimport { jsxs as _jsxs, jsx as _jsx, Fragment as _Fragment } from \"react/jsx-runtime\";\nvar RUFF_SETTINGS_URI = monaco.Uri.parse('inmemory://dh-config/ruff-settings.json');\nfunction registerRuffSchema() {\n var {\n schemas = []\n } = monaco.languages.json.jsonDefaults.diagnosticsOptions;\n if (!schemas.some(schema => schema.uri === 'json://ruff-schema')) {\n // Register the ruff schema so users get validation and completion\n monaco.languages.json.jsonDefaults.setDiagnosticsOptions({\n schemas: [...schemas, {\n uri: 'json://ruff-schema',\n fileMatch: [RUFF_SETTINGS_URI.toString()],\n schema: ruffSchema\n }]\n });\n }\n}\nfunction getRuffVersion() {\n return _getRuffVersion.apply(this, arguments);\n}\nfunction _getRuffVersion() {\n _getRuffVersion = _asyncToGenerator(function* () {\n yield MonacoProviders.initRuff();\n return \"v\".concat(Workspace.version());\n });\n return _getRuffVersion.apply(this, arguments);\n}\nexport default function RuffSettingsModal(_ref) {\n var {\n text,\n isOpen,\n onClose,\n onSave,\n readOnly = false,\n defaultSettings = RUFF_DEFAULT_SETTINGS\n } = _ref;\n var [isValid, setIsValid] = useState(false);\n var [isDefault, setIsDefault] = useState(false);\n var editorRef = useRef();\n var formattedDefaultSettings = useMemo(() => JSON.stringify(defaultSettings, null, 2), [defaultSettings]);\n var {\n data: ruffVersion\n } = usePromiseFactory(getRuffVersion);\n var [model] = useState(() => monaco.editor.createModel(text, 'json', RUFF_SETTINGS_URI));\n var handleClose = useCallback(() => {\n if (isOpen) {\n onClose();\n editorRef.current = undefined;\n model.dispose();\n }\n }, [isOpen, onClose, model]);\n var handleSave = useCallback(() => {\n if (isOpen) {\n try {\n var _editorRef$current$ge, _editorRef$current;\n onSave(JSON.parse((_editorRef$current$ge = (_editorRef$current = editorRef.current) === null || _editorRef$current === void 0 || (_editorRef$current = _editorRef$current.getModel()) === null || _editorRef$current === void 0 ? void 0 : _editorRef$current.getValue()) !== null && _editorRef$current$ge !== void 0 ? _editorRef$current$ge : ''));\n } catch (_unused) {\n // no-op\n }\n handleClose();\n }\n }, [isOpen, handleClose, onSave]);\n var handleReset = useCallback(() => {\n assertNotNull(model);\n model.setValue(formattedDefaultSettings);\n }, [model, formattedDefaultSettings]);\n var validate = useCallback(val => {\n var _editorRef$current2;\n try {\n JSON.parse(val);\n setIsValid(true);\n } catch (_unused2) {\n setIsValid(false);\n }\n setIsDefault(((_editorRef$current2 = editorRef.current) === null || _editorRef$current2 === void 0 || (_editorRef$current2 = _editorRef$current2.getModel()) === null || _editorRef$current2 === void 0 ? void 0 : _editorRef$current2.getValue()) === formattedDefaultSettings);\n }, [formattedDefaultSettings]);\n var debouncedValidate = useDebouncedCallback(validate, 500, {\n leading: true\n });\n var onEditorInitialized = useCallback(editor => {\n editorRef.current = editor;\n model.onDidChangeContent(() => {\n debouncedValidate(model.getValue());\n });\n registerRuffSchema();\n debouncedValidate(model.getValue());\n }, [debouncedValidate, model]);\n if (!isOpen) {\n return null;\n }\n return /*#__PURE__*/_jsxs(Modal, {\n isOpen: isOpen,\n centered: true,\n keyboard: true,\n clickOutside: false,\n toggle: handleClose,\n size: \"lg\",\n className: \"ruff-settings-modal\",\n children: [/*#__PURE__*/_jsxs(ModalHeader, {\n closeButton: false,\n children: [/*#__PURE__*/_jsxs(\"span\", {\n className: \"settings-modal-title mr-auto\",\n children: [\"Ruff \", ruffVersion, \" Settings\"]\n }), /*#__PURE__*/_jsx(Link, {\n href: \"https://docs.astral.sh/ruff/settings/\",\n target: \"_blank\",\n children: /*#__PURE__*/_jsx(Button, {\n kind: \"ghost\",\n onClick: EMPTY_FUNCTION,\n icon: vsLinkExternal,\n children: \"Settings Docs\"\n })\n }), /*#__PURE__*/_jsxs(ActionButton, {\n isDisabled: isDefault,\n onPress: handleReset,\n children: [/*#__PURE__*/_jsx(Icon, {\n children: /*#__PURE__*/_jsx(FontAwesomeIcon, {\n icon: vsDiscard\n })\n }), /*#__PURE__*/_jsx(Text, {\n children: \"Reset to default\"\n })]\n })]\n }), /*#__PURE__*/_jsx(ModalBody, {\n style: {\n height: '80vh'\n },\n children: /*#__PURE__*/_jsx(Editor, {\n onEditorInitialized: onEditorInitialized,\n settings: {\n readOnly,\n value: text,\n language: 'json',\n folding: true,\n padding: {\n bottom: 16\n },\n lineNumbers: 'on',\n overviewRulerLanes: 0,\n model\n }\n })\n }), /*#__PURE__*/_jsx(ModalFooter, {\n children: readOnly ? /*#__PURE__*/_jsx(Button, {\n kind: \"secondary\",\n \"data-dismiss\": \"modal\",\n onClick: handleClose,\n children: \"Close\"\n }) : /*#__PURE__*/_jsxs(_Fragment, {\n children: [/*#__PURE__*/_jsx(Button, {\n kind: \"secondary\",\n \"data-dismiss\": \"modal\",\n onClick: handleClose,\n children: \"Cancel\"\n }), /*#__PURE__*/_jsx(Button, {\n kind: \"primary\",\n \"data-dismiss\": \"modal\",\n tooltip: !isValid ? 'Cannot save invalid JSON' : undefined,\n disabled: !isValid,\n onClick: handleSave,\n children: \"Save\"\n })]\n })\n })]\n });\n}\n//# sourceMappingURL=RuffSettingsModal.js.map","import { isMessage } from '@deephaven/utils';\nexport { /** @deprecated Use `@deephaven/utils` `getWindowParent` instead. */\ngetWindowParent, /** @deprecated Use `@deephaven/utils` `isMessage` instead. */\nisMessage, /** @deprecated Use `@deephaven/utils` `isResponse` instead. */\nisResponse, /** @deprecated Use `@deephaven/utils` `makeMessage` instead. */\nmakeMessage, /** @deprecated Use `@deephaven/utils` `makeResponse` instead. */\nmakeResponse, /** @deprecated Use `@deephaven/utils` `requestParentResponse` instead. */\nrequestParentResponse\n/** @deprecated Use `@deephaven/utils` `PostMessage<T>` instead. */ } from '@deephaven/utils';\nexport var LOGIN_OPTIONS_REQUEST = 'io.deephaven.message.LoginOptions.request';\nexport var SESSION_DETAILS_REQUEST = 'io.deephaven.message.SessionDetails.request';\n\n/**\n * Use a BroadcastChannel for sending messages between tabs, such as when the user logs out.\n */\nexport var BROADCAST_CHANNEL_NAME = 'io.deephaven.broadcast';\n\n/**\n * Event emitted when the user has logged in successfully\n */\nexport var BROADCAST_LOGIN_MESSAGE = 'io.deephaven.broadcast.Login';\n\n/**\n * Event emitted when the user has logged out\n */\nexport var BROADCAST_LOGOUT_MESSAGE = 'io.deephaven.broadcast.Logout';\nexport function isBroadcastLoginMessage(obj) {\n return isMessage(obj) && obj.message === BROADCAST_LOGIN_MESSAGE;\n}\nexport function isBroadcastLogoutMessage(obj) {\n return isMessage(obj) && obj.message === BROADCAST_LOGOUT_MESSAGE;\n}\n//# sourceMappingURL=MessageUtils.js.map","function _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nexport class NoConsolesError extends Error {\n constructor() {\n super(...arguments);\n _defineProperty(this, \"isNoConsolesError\", true);\n }\n}\nexport function isNoConsolesError(error) {\n return error.isNoConsolesError;\n}\nexport default NoConsolesError;\n//# sourceMappingURL=NoConsolesError.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nimport Log from '@deephaven/log';\nimport { requestParentResponse } from '@deephaven/utils';\nimport { nanoid } from 'nanoid';\nimport { SESSION_DETAILS_REQUEST } from \"./MessageUtils.js\";\nimport NoConsolesError, { isNoConsolesError } from \"./NoConsolesError.js\";\nvar log = Log.module('SessionUtils');\n/**\n * Create a new session using the default URL\n * @returns A session and config that is ready to use\n */\nexport function createSessionWrapper(_x, _x2, _x3) {\n return _createSessionWrapper.apply(this, arguments);\n}\nfunction _createSessionWrapper() {\n _createSessionWrapper = _asyncToGenerator(function* (dh, connection, details) {\n log.info('Getting console types...');\n var types = yield connection.getConsoleTypes();\n if (types.length === 0) {\n throw new NoConsolesError('No console types available');\n }\n log.info('Available types:', types);\n var type = types[0];\n log.info('Starting session with type', type);\n var session = yield connection.startSession(type);\n var config = {\n type,\n id: nanoid()\n };\n log.info('Console session established', config);\n return {\n session,\n config,\n connection,\n details,\n dh\n };\n });\n return _createSessionWrapper.apply(this, arguments);\n}\nexport function createCoreClient(dh, websocketUrl, options) {\n log.info('createCoreClient', websocketUrl);\n return new dh.CoreClient(websocketUrl, options);\n}\nfunction isSessionDetails(obj) {\n return obj != null && typeof obj === 'object';\n}\nfunction requestParentSessionDetails() {\n return _requestParentSessionDetails.apply(this, arguments);\n}\nfunction _requestParentSessionDetails() {\n _requestParentSessionDetails = _asyncToGenerator(function* () {\n var response = yield requestParentResponse(SESSION_DETAILS_REQUEST);\n if (!isSessionDetails(response)) {\n throw new Error(\"Unexpected session details response: \".concat(response));\n }\n return response;\n });\n return _requestParentSessionDetails.apply(this, arguments);\n}\nexport function getSessionDetails() {\n return _getSessionDetails.apply(this, arguments);\n}\nfunction _getSessionDetails() {\n _getSessionDetails = _asyncToGenerator(function* () {\n var searchParams = new URLSearchParams(window.location.search);\n switch (searchParams.get('authProvider')) {\n case 'parent':\n return requestParentSessionDetails();\n }\n return {};\n });\n return _getSessionDetails.apply(this, arguments);\n}\nexport function loadSessionWrapper(_x4, _x5, _x6) {\n return _loadSessionWrapper.apply(this, arguments);\n}\nfunction _loadSessionWrapper() {\n _loadSessionWrapper = _asyncToGenerator(function* (dh, connection, sessionDetails) {\n var sessionWrapper;\n try {\n sessionWrapper = yield createSessionWrapper(dh, connection, sessionDetails);\n } catch (e) {\n // Consoles may be disabled on the server, but we should still be able to start up and open existing objects\n if (!isNoConsolesError(e)) {\n throw e;\n }\n }\n return sessionWrapper;\n });\n return _loadSessionWrapper.apply(this, arguments);\n}\n//# sourceMappingURL=SessionUtils.js.map","function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport React, { useEffect, useMemo, useRef, useState } from 'react';\nimport throttle from 'lodash.throttle';\nimport GoldenLayout from '@deephaven/golden-layout';\nimport { useResizeObserver } from '@deephaven/react-hooks';\nimport \"./layout/GoldenLayout.css\";\nimport LayoutUtils from \"./layout/LayoutUtils.js\";\nimport PanelPlaceholder from \"./PanelPlaceholder.js\";\nimport DashboardLayout from \"./DashboardLayout.js\";\nimport \"./Dashboard.css\";\nimport { LayoutManagerContext } from \"./layout/index.js\";\nimport { DashboardIdContext } from \"./useDashboardId.js\";\nimport { FiberProvider } from \"./useFiber.js\";\nimport { jsx as _jsx, jsxs as _jsxs } from \"react/jsx-runtime\";\nvar RESIZE_THROTTLE = 100;\nvar DEFAULT_CALLBACK = () => undefined;\nvar EMPTY_OBJECT = Object.freeze({});\nexport function Dashboard(_ref) {\n var {\n id = 'default',\n children,\n emptyDashboard,\n layoutConfig,\n layoutSettings = EMPTY_OBJECT,\n onLayoutConfigChange = DEFAULT_CALLBACK,\n onGoldenLayoutChange = DEFAULT_CALLBACK,\n onLayoutInitialized = DEFAULT_CALLBACK,\n fallbackComponent = PanelPlaceholder,\n hydrate,\n dehydrate,\n panelWrapper\n } = _ref;\n var layoutElement = useRef(null);\n var [isInitialized, setIsInitialized] = useState(false);\n var [layout, setLayout] = useState();\n useEffect(function initDashboard() {\n if (!layoutElement.current) {\n setLayout(undefined);\n return;\n }\n var config = _objectSpread({}, LayoutUtils.makeDefaultLayout());\n if (config.settings === undefined) {\n config.settings = {};\n }\n Object.assign(config.settings, layoutSettings);\n\n // Load our content later after plugins have registered\n config.content = [];\n var newLayout = new GoldenLayout(config, layoutElement.current);\n var onInit = () => {\n newLayout.off('initialised', onInit);\n setIsInitialized(true);\n };\n newLayout.on('initialised', onInit);\n if (fallbackComponent != null) {\n newLayout.setFallbackComponent(fallbackComponent);\n }\n newLayout.init();\n setLayout(newLayout);\n onGoldenLayoutChange(newLayout);\n return () => {\n newLayout.destroy();\n };\n }, [layoutSettings, fallbackComponent, onGoldenLayoutChange, setIsInitialized, setLayout]);\n var handleResize = useMemo(() => throttle(() => {\n if (layout != null && layout.isInitialised) {\n layout === null || layout === void 0 || layout.updateSize();\n }\n }, RESIZE_THROTTLE), [layout]);\n useResizeObserver(layoutElement.current, handleResize);\n return /*#__PURE__*/_jsxs(\"div\", {\n className: \"dashboard-container w-100 h-100\",\n children: [/*#__PURE__*/_jsx(\"div\", {\n className: \"w-100 h-100\",\n ref: layoutElement\n }), isInitialized && layout && /*#__PURE__*/_jsx(LayoutManagerContext.Provider, {\n value: layout,\n children: /*#__PURE__*/_jsx(DashboardIdContext.Provider, {\n value: id,\n children: /*#__PURE__*/_jsx(FiberProvider, {\n children: /*#__PURE__*/_jsx(DashboardLayout, {\n emptyDashboard: emptyDashboard,\n id: id,\n layout: layout,\n layoutConfig: layoutConfig,\n onLayoutChange: onLayoutConfigChange,\n onLayoutInitialized: onLayoutInitialized,\n hydrate: hydrate,\n dehydrate: dehydrate,\n panelWrapper: panelWrapper,\n children: children\n })\n })\n })\n })]\n });\n}\nexport default Dashboard;\n//# sourceMappingURL=Dashboard.js.map","var _excluded = [\"id\", \"isActive\", \"plugins\"];\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nfunction _objectWithoutProperties(e, t) { if (null == e) return {}; var o, r, i = _objectWithoutPropertiesLoose(e, t); if (Object.getOwnPropertySymbols) { var n = Object.getOwnPropertySymbols(e); for (r = 0; r < n.length; r++) o = n[r], -1 === t.indexOf(o) && {}.propertyIsEnumerable.call(e, o) && (i[o] = e[o]); } return i; }\nfunction _objectWithoutPropertiesLoose(r, e) { if (null == r) return {}; var t = {}; for (var n in r) if ({}.hasOwnProperty.call(r, n)) { if (-1 !== e.indexOf(n)) continue; t[n] = r[n]; } return t; }\nimport React, { useCallback, useState } from 'react';\nimport { useDispatch } from 'react-redux';\nimport { LoadingOverlay } from '@deephaven/components';\nimport { updateWorkspaceData } from '@deephaven/redux';\nimport { Dashboard } from \"./Dashboard.js\";\nimport { updateDashboardData } from \"./redux/index.js\";\nimport { DEFAULT_DASHBOARD_ID } from \"./DashboardConstants.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function LazyDashboard(_ref) {\n var {\n id,\n isActive,\n plugins\n } = _ref,\n rest = _objectWithoutProperties(_ref, _excluded);\n var [isLoaded, setIsLoaded] = useState(isActive);\n var dispatch = useDispatch();\n var handleLayoutConfigChange = useCallback(config => {\n // TODO: #1746 Call updateDashboardData for every dashboard\n // This currently allows the default dashboard to keep its layout since\n // other dashboards are not persistent yet and we read workspaceData\n // for the default dashboard layout\n if (id === DEFAULT_DASHBOARD_ID) {\n dispatch(updateWorkspaceData({\n layoutConfig: config\n }));\n } else {\n dispatch(updateDashboardData(id, {\n layoutConfig: config\n }));\n }\n }, [id, dispatch]);\n if (!isLoaded && isActive) {\n setIsLoaded(true);\n }\n if (!isLoaded) {\n return /*#__PURE__*/_jsx(LoadingOverlay, {\n \"data-testid\": \"lazy-dashboard-loading\"\n });\n }\n return /*#__PURE__*/_jsx(Dashboard, _objectSpread(_objectSpread({\n id: id,\n onLayoutConfigChange: handleLayoutConfigChange\n // eslint-disable-next-line react/jsx-props-no-spreading\n }, rest), {}, {\n children: plugins\n }));\n}\nexport default LazyDashboard;\n//# sourceMappingURL=LazyDashboard.js.map","import { useMemo } from 'react';\nimport { isDashboardPlugin, isLegacyDashboardPlugin } from \"./PluginTypes.js\";\nimport { usePlugins } from \"./usePlugins.js\";\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function getDashboardPlugins(plugins) {\n var dbPlugins = [...plugins.entries()].filter(_ref => {\n var [, plugin] = _ref;\n return isDashboardPlugin(plugin) || isLegacyDashboardPlugin(plugin);\n });\n return dbPlugins.map(_ref2 => {\n var [pluginName, plugin] = _ref2;\n if (isLegacyDashboardPlugin(plugin)) {\n var {\n DashboardPlugin: _DPlugin\n } = plugin;\n return /*#__PURE__*/_jsx(_DPlugin, {}, pluginName);\n }\n var {\n component: DPlugin\n } = plugin;\n return /*#__PURE__*/_jsx(DPlugin, {}, pluginName);\n });\n}\n\n/**\n * Get all DashboardPlugin elements from the plugins context\n * @returns Array of DashboardPlugin elements\n */\nexport function useDashboardPlugins() {\n var plugins = usePlugins();\n var dashboardPlugins = useMemo(() => getDashboardPlugins(plugins), [plugins]);\n return dashboardPlugins;\n}\nexport default useDashboardPlugins;\n//# sourceMappingURL=useDashboardPlugins.js.map","import { createContext } from 'react';\nexport var UserOverrideContext = /*#__PURE__*/createContext({});\nexport var UserPermissionsOverrideContext = /*#__PURE__*/createContext({});\nUserPermissionsOverrideContext.displayName = 'UserPermissionsOverrideContext';\nexport var UserContext = /*#__PURE__*/createContext(null);\nUserContext.displayName = 'UserContext';\n//# sourceMappingURL=UserContexts.js.map","import { createContext } from 'react';\nexport var ConnectionContext = /*#__PURE__*/createContext(null);\nConnectionContext.displayName = 'ConnectionContext';\nexport default ConnectionContext;\n//# sourceMappingURL=ConnectionContext.js.map","function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport { GLOBAL_SHORTCUTS } from '@deephaven/components';\nimport { exportLogs, logHistory } from '@deephaven/log';\nimport { store } from '@deephaven/redux';\nexport function createExportLogsContextAction(metadata) {\n var isGlobal = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : false;\n return {\n action: () => {\n exportLogs(logHistory, _objectSpread(_objectSpread({}, metadata), {}, {\n userAgent: navigator.userAgent\n }), store.getState());\n },\n shortcut: GLOBAL_SHORTCUTS.EXPORT_LOGS,\n isGlobal\n };\n}\nexport default createExportLogsContextAction;\n//# sourceMappingURL=createExportLogsContextAction.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nimport React, { createContext, useEffect, useState } from 'react';\nimport { LoadingOverlay } from '@deephaven/components';\nimport { useClient } from '@deephaven/jsapi-bootstrap';\nimport { getErrorMessage } from '@deephaven/utils';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport var ServerConfigContext = /*#__PURE__*/createContext(null);\nServerConfigContext.displayName = 'ServerConfigContext';\n/**\n * ServerConfigBootstrap component. Handles loading the server config.\n */\nexport function ServerConfigBootstrap(_ref) {\n var {\n children\n } = _ref;\n var client = useClient();\n var [serverConfig, setServerConfig] = useState();\n var [error, setError] = useState();\n useEffect(function initServerConfigValues() {\n var isCanceled = false;\n function loadServerConfigValues() {\n return _loadServerConfigValues.apply(this, arguments);\n }\n function _loadServerConfigValues() {\n _loadServerConfigValues = _asyncToGenerator(function* () {\n try {\n var newServerConfigValues = yield client.getServerConfigValues();\n if (!isCanceled) {\n setServerConfig(new Map(newServerConfigValues));\n }\n } catch (e) {\n if (!isCanceled) {\n setError(e);\n }\n }\n });\n return _loadServerConfigValues.apply(this, arguments);\n }\n loadServerConfigValues();\n return () => {\n isCanceled = true;\n };\n }, [client]);\n var isLoading = serverConfig == null;\n if (isLoading || error != null) {\n return /*#__PURE__*/_jsx(LoadingOverlay, {\n \"data-testid\": \"server-config-bootstrap-loading\",\n isLoading: isLoading && error == null,\n errorMessage: getErrorMessage(error)\n });\n }\n return /*#__PURE__*/_jsx(ServerConfigContext.Provider, {\n value: serverConfig,\n children: children\n });\n}\nexport default ServerConfigBootstrap;\n//# sourceMappingURL=ServerConfigBootstrap.js.map","import { useContextOrThrow } from '@deephaven/react-hooks';\nimport { ServerConfigContext } from \"./ServerConfigBootstrap.js\";\nexport function useServerConfig() {\n return useContextOrThrow(ServerConfigContext, 'No server config available in useServerConfig. Was code wrapped in ServerConfigBootstrap or ServerConfigContext.Provider?');\n}\nexport default useServerConfig;\n//# sourceMappingURL=useServerConfig.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }\nfunction _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t = null != arguments[r] ? arguments[r] : {}; r % 2 ? ownKeys(Object(t), !0).forEach(function (r) { _defineProperty(e, r, t[r]); }) : Object.getOwnPropertyDescriptors ? Object.defineProperties(e, Object.getOwnPropertyDescriptors(t)) : ownKeys(Object(t)).forEach(function (r) { Object.defineProperty(e, r, Object.getOwnPropertyDescriptor(t, r)); }); } return e; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport React, { useCallback } from 'react';\nimport classNames from 'classnames';\nimport { DashboardUtils, LazyDashboard } from '@deephaven/dashboard';\nimport { useObjectFetcher } from '@deephaven/jsapi-bootstrap';\nimport { LoadingOverlay } from '@deephaven/components';\nimport { jsx as _jsx } from \"react/jsx-runtime\";\nexport function AppDashboards(_ref) {\n var {\n dashboards,\n activeDashboard,\n onLayoutInitialized,\n onGoldenLayoutChange,\n plugins,\n emptyDashboard = /*#__PURE__*/_jsx(LoadingOverlay, {\n \"data-testid\": \"app-dashboards-loading\"\n })\n } = _ref;\n var fetchObject = useObjectFetcher();\n var hydratePanel = useCallback((hydrateProps, id) => {\n var {\n metadata\n } = hydrateProps;\n try {\n if (metadata != null) {\n return _objectSpread(_objectSpread({\n fetch: function () {\n var _fetch = _asyncToGenerator(function* () {\n return fetchObject(metadata);\n });\n function fetch() {\n return _fetch.apply(this, arguments);\n }\n return fetch;\n }()\n }, hydrateProps), {}, {\n localDashboardId: id\n });\n }\n } catch (e) {\n // Ignore being unable to get the variable descriptor, do the default dashboard hydration\n }\n return DashboardUtils.hydrate(hydrateProps, id);\n }, [fetchObject]);\n return /*#__PURE__*/_jsx(\"div\", {\n className: \"tab-content\",\n children: dashboards.map(d => /*#__PURE__*/_jsx(\"div\", {\n className: classNames('tab-pane', {\n active: d.id === activeDashboard\n }),\n children: /*#__PURE__*/_jsx(LazyDashboard, {\n id: d.id,\n isActive: d.id === activeDashboard,\n emptyDashboard: emptyDashboard,\n layoutConfig: d.layoutConfig,\n layoutSettings: d.layoutSettings,\n onLayoutInitialized: onLayoutInitialized,\n onGoldenLayoutChange: onGoldenLayoutChange,\n hydrate: hydratePanel,\n plugins: plugins\n }, d.key)\n }, d.id))\n });\n}\nexport default AppDashboards;\n//# sourceMappingURL=AppDashboards.js.map","import { useContextOrThrow } from '@deephaven/react-hooks';\nimport { ConnectionContext } from \"./ConnectionContext.js\";\n/**\n * Retrieve the connection for the current context.\n *\n * @returns Connection for the current context\n */\nexport function useConnection() {\n return useContextOrThrow(ConnectionContext, 'No IdeConnection available in useConnection. Was code wrapped in ConnectionContext.Provider?');\n}\nexport default useConnection;\n//# sourceMappingURL=useConnection.js.map","import { useContextOrThrow } from '@deephaven/react-hooks';\nimport { UserContext } from '@deephaven/auth-plugins';\nexport function useUser() {\n return useContextOrThrow(UserContext, 'No user available in useUser. Was code wrapped in UserBootstrap or UserContext.Provider?');\n}\nexport default useUser;\n//# sourceMappingURL=useUser.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\n/* eslint-disable class-methods-use-this */\n\nimport Log from '@deephaven/log';\nimport { CanceledPromiseError, PromiseUtils } from '@deephaven/utils';\nimport { FileUtils } from '@deephaven/file-explorer';\nimport debounce from 'lodash.debounce';\nvar log = Log.module('GrpcFileStorageTable');\n\n/**\n * Implementation of FileStorageTable for gRPC service.\n * Takes a path to specify what root this table should start at.\n */\nexport class GrpcFileStorageTable {\n /**\n * @param storageService The storage service to use\n * @param baseRoot Base root for the service\n * @param root The root path for this storage table\n */\n constructor(storageService) {\n var baseRoot = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n var root = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : baseRoot;\n _defineProperty(this, \"storageService\", void 0);\n _defineProperty(this, \"baseRoot\", void 0);\n _defineProperty(this, \"root\", void 0);\n _defineProperty(this, \"currentSize\", 0);\n _defineProperty(this, \"currentViewport\", void 0);\n _defineProperty(this, \"listeners\", []);\n _defineProperty(this, \"viewportUpdatePromise\", void 0);\n _defineProperty(this, \"currentViewportData\", void 0);\n /**\n * Map of expanded directory paths to the tables that manage that path.\n * We use a tree of tables to query the server so we just get the directories that are expanded.\n */\n _defineProperty(this, \"childTables\", new Map());\n this.storageService = storageService;\n this.baseRoot = baseRoot;\n this.root = root;\n if (root === baseRoot) {\n this.doRefresh = debounce(this.doRefresh.bind(this), GrpcFileStorageTable.REFRESH_DEBOUNCE);\n }\n }\n removeBaseRoot(filename) {\n return FileUtils.removeRoot(this.baseRoot, filename);\n }\n getViewportData() {\n var _this$viewportUpdateP;\n if (!this.viewportUpdatePromise) {\n this.refreshInternal();\n }\n return (_this$viewportUpdateP = this.viewportUpdatePromise) !== null && _this$viewportUpdateP !== void 0 ? _this$viewportUpdateP : Promise.resolve({\n items: [],\n offset: 0\n });\n }\n getSnapshot(sortedRanges) {\n throw new Error('Method not implemented.');\n }\n get size() {\n return this.currentSize;\n }\n setExpanded(path, expanded) {\n var paths = path.split('/');\n var nextPath = paths.shift();\n if (nextPath === undefined || nextPath === '') {\n nextPath = paths.shift();\n }\n if (nextPath === undefined || nextPath === '') {\n throw new Error(\"Invalid path: \".concat(path));\n }\n var remainingPath = paths.join('/');\n if (expanded) {\n if (!this.childTables.has(nextPath)) {\n var childTable = new GrpcFileStorageTable(this.storageService, this.baseRoot, \"\".concat(this.root, \"/\").concat(nextPath));\n this.childTables.set(nextPath, childTable);\n }\n if (remainingPath) {\n var _childTable = this.childTables.get(nextPath);\n _childTable === null || _childTable === void 0 || _childTable.setExpanded(remainingPath, expanded);\n }\n } else if (this.childTables.has(nextPath)) {\n if (remainingPath) {\n var _childTable2 = this.childTables.get(nextPath);\n _childTable2 === null || _childTable2 === void 0 || _childTable2.setExpanded(remainingPath, expanded);\n } else {\n this.childTables.delete(nextPath);\n }\n }\n if (this.currentViewport) {\n this.refreshInternal();\n }\n }\n collapseAll() {\n this.childTables.clear();\n if (this.currentViewport) {\n this.refreshInternal();\n }\n }\n\n // eslint-disable-next-line class-methods-use-this\n setSearch(search) {\n throw new Error('Method not implemented.');\n }\n setViewport(viewport) {\n this.currentViewport = viewport;\n this.refreshInternal();\n }\n setFilters() {\n throw new Error('Method not implemented.');\n }\n setSorts() {\n throw new Error('Method not implemented.');\n }\n setReversed() {\n throw new Error('Method not implemented.');\n }\n close() {\n this.listeners = [];\n }\n onUpdate(callback) {\n this.listeners = [...this.listeners, callback];\n return () => {\n this.listeners = this.listeners.filter(other => other !== callback);\n };\n }\n doRefresh(callback) {\n log.debug2('doRefresh', this.root);\n callback(this.fetchData());\n }\n refresh() {\n var _this$viewportUpdateP2;\n log.debug2('refresh', this.root);\n (_this$viewportUpdateP2 = this.viewportUpdatePromise) === null || _this$viewportUpdateP2 === void 0 || _this$viewportUpdateP2.cancel();\n var refreshPromise = new Promise(resolve => {\n this.doRefresh(resolve);\n });\n var viewportUpdatePromise = PromiseUtils.makeCancelable(refreshPromise.then(viewportData => {\n if (this.viewportUpdatePromise !== viewportUpdatePromise) {\n throw new CanceledPromiseError();\n }\n this.currentViewportData = viewportData;\n this.sendUpdate();\n return viewportData;\n }));\n\n // Add a catch here as we're not catching the promises anywhere else\n viewportUpdatePromise.catch(e => {\n if (!PromiseUtils.isCanceled(e)) {\n log.error('Error updating viewport', e);\n }\n });\n this.viewportUpdatePromise = viewportUpdatePromise;\n }\n\n /**\n * Refreshes data, but catches any errors and logs them\n */\n refreshInternal() {\n try {\n this.refresh();\n } catch (e) {\n if (!PromiseUtils.isCanceled(e)) {\n log.error('Unable to refresh data', e);\n }\n }\n }\n fetchData() {\n var _this = this;\n return _asyncToGenerator(function* () {\n var {\n currentViewport: viewport\n } = _this;\n if (!viewport) {\n throw new Error('No viewport set');\n }\n\n // First get the root directory contents\n var dirContents = yield _this.storageService.listItems(_this.root);\n var items = dirContents.map(file => ({\n type: file.type,\n filename: _this.removeBaseRoot(file.filename),\n basename: file.basename,\n id: _this.removeBaseRoot(file.filename),\n isExpanded: file.type === 'directory' ? _this.childTables.has(file.basename) : undefined\n })).sort((a, b) => {\n if (a.type !== b.type) {\n return a.type === 'directory' ? -1 : 1;\n }\n return a.basename.localeCompare(b.basename);\n });\n\n // Get the data from all expanded directories\n for (var i = 0; i < items.length; i += 1) {\n var item = items[i];\n var {\n basename,\n filename\n } = item;\n if (filename === _this.removeBaseRoot(\"\".concat(_this.root, \"/\").concat(basename)) && item.type === 'directory') {\n var childTable = _this.childTables.get(basename);\n if (childTable != null) {\n childTable.setViewport({\n top: 0,\n bottom: viewport.bottom - i\n });\n // eslint-disable-next-line no-await-in-loop\n var childViewportData = yield childTable.getViewportData();\n items.splice(i + 1, 0, ...childViewportData.items);\n }\n }\n }\n _this.currentSize = items.length;\n log.debug2(_this.root, 'items', items, viewport);\n\n // Slice it to the correct viewport\n items = items.slice(viewport.top, viewport.bottom);\n return {\n items,\n offset: viewport.top\n };\n })();\n }\n sendUpdate() {\n var _this$currentViewport;\n // Retain a reference to it in case a listener gets removed while sending an update\n var {\n listeners\n } = this;\n var data = (_this$currentViewport = this.currentViewportData) !== null && _this$currentViewport !== void 0 ? _this$currentViewport : {\n items: [],\n offset: 0\n };\n for (var i = 0; i < listeners.length; i += 1) {\n listeners[i](data);\n }\n }\n}\n_defineProperty(GrpcFileStorageTable, \"REFRESH_DEBOUNCE\", 50);\nexport default GrpcFileStorageTable;\n//# sourceMappingURL=GrpcFileStorageTable.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport throttle from 'lodash.throttle';\nimport { FileNotFoundError, FileUtils, isFileType } from '@deephaven/file-explorer';\nimport Log from '@deephaven/log';\nimport GrpcFileStorageTable from \"./GrpcFileStorageTable.js\";\nvar log = Log.module('GrpcFileStorage');\nexport class GrpcFileStorage {\n /**\n * FileStorage implementation using gRPC\n * @param storageService Storage service to use\n * @param root Root path for this instance. Should not contain trailing slash.\n */\n constructor(dh, storageService) {\n var root = arguments.length > 2 && arguments[2] !== undefined ? arguments[2] : '';\n _defineProperty(this, \"dh\", void 0);\n _defineProperty(this, \"storageService\", void 0);\n _defineProperty(this, \"tables\", []);\n _defineProperty(this, \"root\", void 0);\n _defineProperty(this, \"refreshTables\", throttle(() => {\n this.tables.forEach(table => table.refresh());\n }, GrpcFileStorage.REFRESH_THROTTLE));\n this.dh = dh;\n this.storageService = storageService;\n this.root = root;\n }\n removeRoot(filename) {\n return FileUtils.removeRoot(this.root, filename);\n }\n addRoot(path) {\n return FileUtils.addRoot(this.root, path);\n }\n createDirectory(path) {\n var _this = this;\n return _asyncToGenerator(function* () {\n yield _this.storageService.createDirectory(_this.addRoot(path));\n _this.refreshTables();\n return {\n type: 'directory',\n id: path,\n filename: path,\n basename: FileUtils.getBaseName(path)\n };\n })();\n }\n getTable() {\n var _this2 = this;\n return _asyncToGenerator(function* () {\n var table = new GrpcFileStorageTable(_this2.storageService, _this2.root);\n _this2.tables.push(table);\n return table;\n })();\n }\n saveFile(file) {\n var _this3 = this;\n return _asyncToGenerator(function* () {\n var fileContents = _this3.dh.storage.FileContents.text(file.content);\n yield _this3.storageService.saveFile(_this3.addRoot(file.filename), fileContents, true);\n _this3.refreshTables();\n return file;\n })();\n }\n loadFile(name) {\n var _this4 = this;\n return _asyncToGenerator(function* () {\n var fileContents = yield _this4.storageService.loadFile(_this4.addRoot(name));\n var content = yield fileContents.text();\n return {\n filename: name,\n basename: FileUtils.getBaseName(name),\n content\n };\n })();\n }\n copyFile(name, newName) {\n var _this5 = this;\n return _asyncToGenerator(function* () {\n var fileContents = yield _this5.storageService.loadFile(_this5.addRoot(name));\n yield _this5.storageService.saveFile(_this5.addRoot(newName), fileContents, false);\n _this5.refreshTables();\n })();\n }\n deleteFile(name) {\n var _this6 = this;\n return _asyncToGenerator(function* () {\n yield _this6.storageService.deleteItem(_this6.addRoot(name));\n _this6.refreshTables();\n })();\n }\n moveFile(name, newName) {\n var _this7 = this;\n return _asyncToGenerator(function* () {\n yield _this7.storageService.moveItem(_this7.addRoot(name), _this7.addRoot(newName));\n _this7.refreshTables();\n })();\n }\n info(name) {\n var _this8 = this;\n return _asyncToGenerator(function* () {\n var allItems = yield _this8.storageService.listItems(_this8.addRoot(FileUtils.getPath(name)), FileUtils.getBaseName(name));\n if (allItems.length === 0) {\n throw new FileNotFoundError();\n }\n if (allItems.length > 1) {\n log.error('More than one matching file found, should never happen.', allItems);\n throw new Error('More than one matching file found');\n }\n var itemDetails = allItems[0];\n if (!isFileType(itemDetails.type)) {\n throw new Error(\"Unexpected file type: \".concat(itemDetails.type));\n }\n return {\n filename: _this8.removeRoot(itemDetails.filename),\n basename: itemDetails.basename,\n id: _this8.removeRoot(itemDetails.filename),\n type: itemDetails.type\n };\n })();\n }\n}\n_defineProperty(GrpcFileStorage, \"REFRESH_THROTTLE\", 150);\nexport default GrpcFileStorage;\n//# sourceMappingURL=GrpcFileStorage.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nexport class GrpcLayoutStorage {\n /**\n *\n * @param storageService The gRPC storage service to use\n * @param root The root path where the layouts are stored\n */\n constructor(storageService) {\n var root = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : '';\n _defineProperty(this, \"storageService\", void 0);\n _defineProperty(this, \"root\", void 0);\n this.storageService = storageService;\n this.root = root;\n }\n getLayouts() {\n var _this = this;\n return _asyncToGenerator(function* () {\n var files = yield _this.storageService.listItems(_this.root, '*.json');\n return files.map(file => file.basename);\n })();\n }\n getLayout(name) {\n var _this2 = this;\n return _asyncToGenerator(function* () {\n var fileContents = yield _this2.storageService.loadFile(\"\".concat(_this2.root, \"/\").concat(name));\n var content = yield fileContents.text();\n return JSON.parse(content);\n })();\n }\n}\nexport default GrpcLayoutStorage;\n//# sourceMappingURL=GrpcLayoutStorage.js.map","/**\n * Have a different version to support legacy layout exports\n */\n\nexport function isLayoutV2(layout) {\n return layout.version === 2;\n}\nexport function isLayoutV1(layout) {\n return Array.isArray(layout);\n}\n\n/**\n * Interface for accessing layouts from wherever they are stored.\n */\n//# sourceMappingURL=LayoutStorage.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nimport { CommandHistoryPanel, ConsolePanel, FileExplorerPanel, LogPanel } from '@deephaven/dashboard-core-plugins';\nimport Log from '@deephaven/log';\nimport { isLayoutV1, isLayoutV2 } from \"./LayoutStorage.js\";\nvar log = Log.module('UserLayoutUtils');\nexport var DEFAULT_LAYOUT_CONFIG = {\n layoutConfig: [{\n type: 'column',\n content: [{\n type: 'row',\n height: 40,\n // slightly smaller than 50-50 to allow more space for tables below\n content: [{\n type: 'stack',\n content: [{\n type: 'react-component',\n component: ConsolePanel.COMPONENT,\n title: ConsolePanel.TITLE,\n isClosable: false\n }, {\n type: 'react-component',\n component: LogPanel.COMPONENT,\n title: LogPanel.TITLE,\n isClosable: false\n }]\n }, {\n type: 'stack',\n width: 25,\n content: [{\n type: 'react-component',\n component: CommandHistoryPanel.COMPONENT,\n title: CommandHistoryPanel.TITLE,\n isClosable: false\n }, {\n type: 'react-component',\n component: FileExplorerPanel.COMPONENT,\n title: FileExplorerPanel.TITLE,\n isClosable: false\n }]\n }]\n }, {\n type: 'row',\n content: [{\n type: 'stack',\n title: 'Notebooks',\n content: []\n }]\n }]\n }],\n links: [],\n filterSets: [],\n version: 2\n};\nexport var DEFAULT_LAYOUT_CONFIG_NO_CONSOLE = {\n layoutConfig: [],\n links: [],\n filterSets: [],\n version: 2\n};\nexport function normalizeLayout(layout) {\n if (isLayoutV2(layout)) {\n return layout;\n }\n if (isLayoutV1(layout)) {\n var layoutConfig = layout;\n return {\n layoutConfig,\n links: [],\n filterSets: [],\n version: 2\n };\n }\n throw new Error(\"Unexpected layout import format: \".concat(layout));\n}\n\n/**\n * Get the default layout for the user to use. Checks layout storage for any layouts, and uses the first one if found.\n * @param layoutStorage The layout storage to get the default layouts from\n * @param isConsoleAvailable Whether console sessions are available.\n * @returns The default layout config to use\n */\nexport function getDefaultLayout(_x) {\n return _getDefaultLayout.apply(this, arguments);\n}\nfunction _getDefaultLayout() {\n _getDefaultLayout = _asyncToGenerator(function* (layoutStorage) {\n var isConsoleAvailable = arguments.length > 1 && arguments[1] !== undefined ? arguments[1] : true;\n try {\n var layouts = yield layoutStorage.getLayouts();\n if (layouts.length > 0) {\n try {\n // We found a layout on the server, use it. It could be an empty layout if they want user to build their own\n var layout = yield layoutStorage.getLayout(layouts[0]);\n return normalizeLayout(layout);\n } catch (err) {\n log.error('Unable to load layout', layouts[0], ':', err);\n log.warn('No valid layouts found, falling back to default layout');\n }\n }\n } catch (err) {\n log.error('Unable to fetch layout list', err);\n log.warn('Falling back to default layout');\n }\n // Otherwise, do the default layout\n return isConsoleAvailable ? DEFAULT_LAYOUT_CONFIG : DEFAULT_LAYOUT_CONFIG_NO_CONSOLE;\n });\n return _getDefaultLayout.apply(this, arguments);\n}\nexport function exportLayout(data) {\n var {\n filterSets,\n layoutConfig,\n links,\n pluginDataMap\n } = data;\n var exportedLayout = {\n filterSets,\n layoutConfig,\n links,\n pluginDataMap,\n version: 2\n };\n return exportedLayout;\n}\nexport default {\n exportLayout,\n getDefaultLayout,\n normalizeLayout\n};\n//# sourceMappingURL=UserLayoutUtils.js.map","function asyncGeneratorStep(n, t, e, r, o, a, c) { try { var i = n[a](c), u = i.value; } catch (n) { return void e(n); } i.done ? t(u) : Promise.resolve(u).then(r, o); }\nfunction _asyncToGenerator(n) { return function () { var t = this, e = arguments; return new Promise(function (r, o) { var a = n.apply(t, e); function _next(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"next\", n); } function _throw(n) { asyncGeneratorStep(a, r, o, _next, _throw, \"throw\", n); } _next(void 0); }); }; }\nfunction _defineProperty(e, r, t) { return (r = _toPropertyKey(r)) in e ? Object.defineProperty(e, r, { value: t, enumerable: !0, configurable: !0, writable: !0 }) : e[r] = t, e; }\nfunction _toPropertyKey(t) { var i = _toPrimitive(t, \"string\"); return \"symbol\" == typeof i ? i : i + \"\"; }\nfunction _toPrimitive(t, r) { if (\"object\" != typeof t || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || \"default\"); if (\"object\" != typeof i) return i; throw new TypeError(\"@@toPrimitive must return a primitive value.\"); } return (\"string\" === r ? String : Number)(t); }\nimport Log from '@deephaven/log';\nimport { DateTimeColumnFormatter, DecimalColumnFormatter, IntegerColumnFormatter } from '@deephaven/jsapi-utils';\nimport merge from 'lodash.merge';\nimport UserLayoutUtils from \"./UserLayoutUtils.js\";\nvar log = Log.module('LocalWorkspaceStorage');\n\n/**\n * Implementation of WorkspaceStorage that just stores the workspace data in localStorage\n */\nexport class LocalWorkspaceStorage {\n static getBooleanServerConfig(serverConfigValues, key) {\n var _serverConfigValues$g, _serverConfigValues$g2;\n if ((serverConfigValues === null || serverConfigValues === void 0 || (_serverConfigValues$g = serverConfigValues.get(key)) === null || _serverConfigValues$g === void 0 ? void 0 : _serverConfigValues$g.toLowerCase()) === 'true') {\n return true;\n }\n if ((serverConfigValues === null || serverConfigValues === void 0 || (_serverConfigValues$g2 = serverConfigValues.get(key)) === null || _serverConfigValues$g2 === void 0 ? void 0 : _serverConfigValues$g2.toLowerCase()) === 'false') {\n return false;\n }\n return undefined;\n }\n static getJSONServerConfig(serverConfigValues, key) {\n var value = serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get(key);\n if (value == null) {\n return undefined;\n }\n try {\n return JSON.parse(value);\n } catch (e) {\n log.error(\"Unable to parse JSON server config for key \".concat(key, \". Value: \").concat(value));\n return undefined;\n }\n }\n static makeDefaultWorkspaceSettings(serverConfigValues) {\n var settings = {\n defaultDateTimeFormat: DateTimeColumnFormatter.DEFAULT_DATETIME_FORMAT_STRING,\n formatter: [],\n timeZone: DateTimeColumnFormatter.DEFAULT_TIME_ZONE_ID,\n showTimeZone: false,\n showTSeparator: true,\n disableMoveConfirmation: false,\n defaultDecimalFormatOptions: {\n defaultFormatString: DecimalColumnFormatter.DEFAULT_FORMAT_STRING\n },\n defaultIntegerFormatOptions: {\n defaultFormatString: IntegerColumnFormatter.DEFAULT_FORMAT_STRING\n },\n truncateNumbersWithPound: false,\n showEmptyStrings: true,\n showNullStrings: true,\n showExtraGroupColumn: true,\n notebookSettings: {\n isMinimapEnabled: false,\n formatOnSave: false,\n python: {\n linter: {\n isEnabled: true\n // Omit default config so default settings are used if the user never changes them\n }\n }\n },\n webgl: true,\n webglEditable: true,\n gridDensity: 'regular'\n };\n var serverSettings = {\n defaultDateTimeFormat: serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('dateTimeFormat'),\n formatter: [],\n timeZone: serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('timeZone'),\n showTimeZone: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'showTimeZone'),\n showTSeparator: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'showTSeparator'),\n disableMoveConfirmation: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'disableMoveConfirmation'),\n defaultDecimalFormatOptions: (serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('decimalFormat')) !== undefined ? {\n defaultFormatString: serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('decimalFormat')\n } : undefined,\n defaultIntegerFormatOptions: (serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('integerFormat')) !== undefined ? {\n defaultFormatString: serverConfigValues === null || serverConfigValues === void 0 ? void 0 : serverConfigValues.get('integerFormat')\n } : undefined,\n truncateNumbersWithPound: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'truncateNumbersWithPound'),\n showEmptyStrings: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'showEmptyStrings'),\n showNullStrings: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'showNullStrings'),\n showExtraGroupColumn: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'showExtraGroupColumn'),\n notebookSettings: {\n isMinimapEnabled: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'web.user.notebookSettings.isMinimapEnabled'),\n formatOnSave: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'web.user.notebookSettings.formatOnSave'),\n python: {\n linter: {\n isEnabled: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'web.user.notebookSettings.python.linter.isEnabled'),\n config: LocalWorkspaceStorage.getJSONServerConfig(serverConfigValues, 'web.user.notebookSettings.python.linter.config')\n }\n }\n },\n webgl: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'web.webgl'),\n webglEditable: LocalWorkspaceStorage.getBooleanServerConfig(serverConfigValues, 'web.webgl.editable')\n };\n return merge({}, settings, serverSettings);\n }\n static makeWorkspaceData(layoutStorage, options) {\n return _asyncToGenerator(function* () {\n var {\n filterSets,\n links,\n layoutConfig,\n pluginDataMap = {}\n } = yield UserLayoutUtils.getDefaultLayout(layoutStorage, options === null || options === void 0 ? void 0 : options.isConsoleAvailable);\n return {\n settings: {},\n layoutConfig,\n closed: [{}],\n links,\n filterSets,\n pluginDataMap\n };\n })();\n }\n static makeDefaultWorkspace(layoutStorage, options) {\n return _asyncToGenerator(function* () {\n return {\n data: yield LocalWorkspaceStorage.makeWorkspaceData(layoutStorage, options)\n };\n })();\n }\n constructor(layoutStorage) {\n _defineProperty(this, \"layoutStorage\", void 0);\n this.layoutStorage = layoutStorage;\n }\n\n // eslint-disable-next-line class-methods-use-this\n load(options) {\n var _this = this;\n return _asyncToGenerator(function* () {\n try {\n var _localStorage$getItem;\n var workspace = JSON.parse((_localStorage$getItem = localStorage.getItem(LocalWorkspaceStorage.STORAGE_KEY)) !== null && _localStorage$getItem !== void 0 ? _localStorage$getItem : '');\n return workspace;\n } catch (e) {\n log.info('Unable to load workspace data, initializing to default data');\n return LocalWorkspaceStorage.makeDefaultWorkspace(_this.layoutStorage, options);\n }\n })();\n }\n\n // eslint-disable-next-line class-methods-use-this\n save(workspace) {\n return _asyncToGenerator(function* () {\n localStorage.setItem(LocalWorkspaceStorage.STORAGE_KEY, JSON.stringify(workspace));\n return workspace;\n })();\n }\n}\n_defineProperty(LocalWorkspaceStorage, \"STORAGE_KEY\", 'deephaven.WorkspaceStorage');\nexport default LocalWorkspaceStorage;\n//# sourceMappingURL=LocalWorkspaceStorage.js.map"],"names":["asyncGeneratorStep","n","t","e","r","c","i","u","_asyncToGenerator","_next","_throw","DEFAULT_PATH_IGNORE_LIST","DEFAULT_MAXIMUM_DEPTH","stringifyReplacer","ignoreList","pathMap","key","value","_pathMap$get","currPath","isOnIgnoreList","_loop","v","index","_ret","getReduxDataString","reduxData","_stringify","maximumDepth","stringify","configure","getFormattedMetadata","metadata","formatDate","date","year","month","day","h","m","exportLogs","_x","_x2","_x3","_exportLogs","logHistory","fileNamePrefix","zip","JSZip","folder","blob","link","ThemePicker","selectedThemeKey","setSelectedThemeKey","themes","useTheme","onSelectionChange","useCallback","_jsx","Picker","item","Item","Logo","_ref","className","style","classNames","_defineProperty","_toPropertyKey","_toPrimitive","Collapse","Component","elem","scrollBarWidth","props","React","autoFocusOnShow","input","_children","inTransition","dataTestId","CSSTransition","state","NAVIGATION_SHORTCUTS","ShortcutRegistry","MODIFIER","KEY","ownKeys","o","_objectSpread","NavTab","memo","tab","onClose","onSelect","isActive","activeRef","isDraggable","contextActions","renderAfterTabContent","isClosable","title","icon","iconElem","FontAwesomeIcon","Draggable","provided","snapshot","_jsxs","event","Tooltip","Button","vsClose","ContextActions","DashboardList","tabs","EMPTY_ARRAY","searchText","setSearchText","useState","focusedIndex","setFocusedIndex","searchField","useRef","listRef","itemRefs","useEffect","_searchField$current","_itemRefs$current$foc","handleSearchChange","handleTabSelect","handleMouseDown","filteredTabs","useMemo","a","b","_a$title$localeCompar","handleSearchKeyDown","prev","selectedIndex","tabElements","_tab$key","el","errorElement","SearchInput","GLOBAL_SHORTCUTS","CLICK_TIMEOUT","START_SPEED","ACCELERATION","isScrolledLeft","element","isScrolledRight","makeBaseContextActions","disabled","_i","NavTabList","activeKey","onReorder","makeContextActions","containerRef","isOverflowing","setIsOverflowing","isDashboardTabMenuShown","setIsDashboardTabMenuShown","disableScrollLeft","setDisableScrollLeft","disableScrollRight","setDisableScrollRight","handleResize","useResizeObserver","onDragEnd","result","DragUtils","handleScroll","shouldDisableScrollLeft","shouldDisableScrollRight","continuousScrollRef","handleLeftClick","children","child","handleRightClick","handleMouseRepeat","direction","startX","deltaX","prevTimestamp","container","timestamp","startTime","deltaTime","newDeltaX","endContinuousScroll","holdTimer","rAF","handleMouseDownLeft","handleMouseDownRight","_containerRef$current","onWheel","nav","delta","clamp","_containerRef$current2","tabContextActionMap","tabContextActions","_makeContextActions","activeTabRef","activeTab","navTabs","handleDashboardMenuClick","handleDashboardMenuSelect","handleDashboardMenuClose","vsChevronLeft","DragDropContext","Droppable","vsChevronRight","vsChevronDown","Popper","useCreateClient","serverUrl","options","api","useApi","client","ClientContext","createContext","ClientBootstrap","useClient","useContextOrThrow","schema","RUFF_SETTINGS_URI","monaco.Uri","registerRuffSchema","schemas","monaco.languages","ruffSchema","getRuffVersion","_getRuffVersion","MonacoProviders","Workspace","RuffSettingsModal","text","isOpen","onSave","readOnly","defaultSettings","RUFF_DEFAULT_SETTINGS","isValid","setIsValid","isDefault","setIsDefault","editorRef","formattedDefaultSettings","ruffVersion","usePromiseFactory","model","monaco.editor","handleClose","handleSave","_editorRef$current$ge","_editorRef$current","handleReset","assertNotNull","validate","val","_editorRef$current2","debouncedValidate","useDebouncedCallback","onEditorInitialized","editor","Modal","ModalHeader","Link","EMPTY_FUNCTION","vsLinkExternal","ActionButton","Icon","vsDiscard","Text","ModalBody","Editor","ModalFooter","_Fragment","LOGIN_OPTIONS_REQUEST","SESSION_DETAILS_REQUEST","BROADCAST_CHANNEL_NAME","BROADCAST_LOGIN_MESSAGE","BROADCAST_LOGOUT_MESSAGE","isBroadcastLoginMessage","obj","isMessage","isBroadcastLogoutMessage","NoConsolesError","isNoConsolesError","error","log","Log","createSessionWrapper","_createSessionWrapper","dh","connection","details","types","type","session","config","nanoid","createCoreClient","websocketUrl","isSessionDetails","requestParentSessionDetails","_requestParentSessionDetails","response","requestParentResponse","getSessionDetails","_getSessionDetails","searchParams","loadSessionWrapper","_x4","_x5","_x6","_loadSessionWrapper","sessionDetails","sessionWrapper","RESIZE_THROTTLE","DEFAULT_CALLBACK","EMPTY_OBJECT","Dashboard","id","emptyDashboard","layoutConfig","layoutSettings","onLayoutConfigChange","onGoldenLayoutChange","onLayoutInitialized","fallbackComponent","PanelPlaceholder","hydrate","dehydrate","panelWrapper","layoutElement","isInitialized","setIsInitialized","layout","setLayout","LayoutUtils","newLayout","GoldenLayout","onInit","throttle","LayoutManagerContext","DashboardIdContext","FiberProvider","DashboardLayout","_excluded","_objectWithoutProperties","_objectWithoutPropertiesLoose","LazyDashboard","plugins","rest","isLoaded","setIsLoaded","dispatch","useDispatch","handleLayoutConfigChange","DEFAULT_DASHBOARD_ID","updateWorkspaceData","updateDashboardData","LoadingOverlay","getDashboardPlugins","dbPlugins","plugin","isDashboardPlugin","isLegacyDashboardPlugin","_ref2","pluginName","_DPlugin","DPlugin","useDashboardPlugins","usePlugins","dashboardPlugins","UserOverrideContext","UserPermissionsOverrideContext","UserContext","ConnectionContext","createExportLogsContextAction","isGlobal","store","ServerConfigContext","ServerConfigBootstrap","serverConfig","setServerConfig","setError","isCanceled","loadServerConfigValues","_loadServerConfigValues","newServerConfigValues","isLoading","getErrorMessage","useServerConfig","AppDashboards","dashboards","activeDashboard","fetchObject","useObjectFetcher","hydratePanel","hydrateProps","_fetch","fetch","DashboardUtils","d","useConnection","useUser","GrpcFileStorageTable","storageService","baseRoot","root","debounce","filename","FileUtils","_this$viewportUpdateP","sortedRanges","path","expanded","paths","nextPath","remainingPath","childTable","_childTable","_childTable2","search","viewport","callback","other","_this$viewportUpdateP2","refreshPromise","resolve","viewportUpdatePromise","PromiseUtils","viewportData","CanceledPromiseError","_this","dirContents","items","file","basename","childViewportData","_this$currentViewport","listeners","data","GrpcFileStorage","table","_this2","_this3","fileContents","name","_this4","content","newName","_this5","_this6","_this7","_this8","allItems","FileNotFoundError","itemDetails","isFileType","GrpcLayoutStorage","files","isLayoutV2","isLayoutV1","DEFAULT_LAYOUT_CONFIG","ConsolePanel","LogPanel","CommandHistoryPanel","FileExplorerPanel","DEFAULT_LAYOUT_CONFIG_NO_CONSOLE","normalizeLayout","getDefaultLayout","_getDefaultLayout","layoutStorage","isConsoleAvailable","layouts","err","exportLayout","filterSets","links","pluginDataMap","exportedLayout","UserLayoutUtils","LocalWorkspaceStorage","serverConfigValues","_serverConfigValues$g","_serverConfigValues$g2","settings","DateTimeColumnFormat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