diff options
Diffstat (limited to '8573.1419ca26be702d69e8fd.js.map')
-rw-r--r-- | 8573.1419ca26be702d69e8fd.js.map | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/8573.1419ca26be702d69e8fd.js.map b/8573.1419ca26be702d69e8fd.js.map deleted file mode 100644 index fe3012d..0000000 --- a/8573.1419ca26be702d69e8fd.js.map +++ /dev/null @@ -1 +0,0 @@ -{"version":3,"file":"8573.1419ca26be702d69e8fd.js","mappings":"sQAWIA,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAA1B,IAKO,EAAe,KAAW,WAAiB,gBAAiBM,E,wvCCxBnE,SAASC,EAAY,GAAgD,IAA5CC,EAAQ,EAARA,SAAUC,EAAS,EAATA,UAAWC,EAAS,EAATA,UAAcC,E,kXAAK,MAC/D,OACE,uBACED,UAAW,CACTA,EACAE,EAAAA,OACAH,GAAaG,EAAAA,WACbC,KAAK,MACHF,GAAK,aAERH,IAGP,CAEAD,EAAaO,aAAe,CAC1BJ,UAAW,IAGb,O,qMCVIV,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAA1B,IAKO,EAAe,KAAW,WAAiB,gBAAiBM,E,WCvBpD,SAASS,EAAG,GAAgC,IAA5BP,EAAQ,EAARA,SAAQ,IAAEE,UAAAA,OAAS,IAAG,KAAE,EAC/CM,EAAa,CAACJ,EAAAA,IAAYF,GAAWG,KAAK,KAChD,OACE,iBAAKH,UAAWM,EAAW,WACzB,SAACC,EAAA,EAAI,CAACP,UAAU,qBAAqBQ,KAAK,kBAAkB,IAAEV,IAGpE,C,qQCFe,SAASW,EAAe,GAA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e,KAAW,WAAiB,gBAAiBM,C","sources":["webpack:///./src/Common/action-button.module.css?ed83","webpack:///./src/Common/ActionButton.js","webpack:///./src/Common/tip.module.css?4f76","webpack:///./src/Common/Tip.js","webpack:///./src/EnhancedPickers/Keycode/KeycodeBindNode.js","webpack:///./src/EnhancedPickers/Keycode/helpers.js","webpack:///./src/Keyboard/Binding/BindValue.js","webpack:///./src/EnhancedPickers/RGB/styles.module.css?270a","webpack:///./src/EnhancedPickers/RGB/HueSatValBindNode.js","webpack:///./src/Keyboard/Binding/BindParamlist.js","webpack:///./src/Keyboard/Binding/Binding.js","webpack:///./src/Keyboard/Binding/binding-editor.js","webpack:///./src/Keyboard/Binding/bindPropTypes.js","webpack:///./src/Keyboard/Binding/util.js","webpack:///./src/Keyboard/Common/Devicetree/validators.js","webpack:///./src/Keyboard/Keys/Key.js","webpack:///./src/Keyboard/Keys/KeyWrapper.js","webpack:///./src/ValuePicker/util.js","webpack:///./src/ValuePicker/ResultList.js","webpack:///./src/ValuePicker/SearchFilter.js","webpack:///./src/ValuePicker/EnumPicker.js","webpack:///./src/ValuePicker/GenericPicker.js","webpack:///./src/EnhancedPickers/RGB/HueSatValPicker.js","webpack:///./src/EnhancedPickers/Keycode/styles.module.css?d2ba","webpack:///./src/EnhancedPickers/Keycode/ModifiersPicker.js","webpack:///./src/EnhancedPickers/Keycode/KeycodePicker.js","webpack:///./src/ValuePicker/RawValuePicker.js","webpack:///./src/ValuePicker/LayerPicker.js","webpack:///./src/ValuePicker/index.js","webpack:///./src/Common/action-button.module.css","webpack:///./src/Common/tip.module.css","webpack:///./src/EnhancedPickers/Keycode/styles.module.css","webpack:///./src/EnhancedPickers/RGB/styles.module.css","webpack:///./src/Keyboard/Keys/styles.module.css","webpack:///./src/ValuePicker/style.module.css","webpack:///./src/Keyboard/Keys/styles.module.css?bf9c","webpack:///./src/ValuePicker/style.module.css?0fff"],"sourcesContent":["\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./action-button.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./action-button.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import styles from './action-button.module.css'\n\nfunction ActionButton ({ children, secondary, className, ...props }) {\n return (\n <button\n className={[\n className,\n styles.action,\n secondary && styles.secondary\n ].join(' ')}\n {...props}\n >\n {children}\n </button>\n )\n}\n\nActionButton.defaultProps = {\n className: ''\n}\n\nexport default ActionButton\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./tip.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./tip.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import Icon from './Icon'\nimport styles from './tip.module.css'\n\nexport default function Tip ({ children, className = '' }) {\n const classNames = [styles.tip, className].join(' ')\n return (\n <div className={classNames}>\n <Icon className=\"fa-flip-horizontal\" name=\"hand-point-up\" /> {children}\n </div>\n )\n}\n","import { Fragment, useCallback, useMemo } from 'react'\nimport compact from 'lodash/compact'\nimport map from 'lodash/map'\n\nimport { getSourceTitle, renderSource } from '../../Keyboard/Binding/BindValue'\nimport styles from '../../Keyboard/Keys/styles.module.css'\nimport { treeToSequence } from './helpers'\n\nexport default function KeycodeBindNode ({ node, onSelect, expanded = false }) {\n const handleClick = useCallback(function (event) {\n event.stopPropagation()\n onSelect({ node, type: 'tree' })\n }, [node, onSelect])\n\n const codes = useMemo(() => map(treeToSequence(node), 'source'), [node])\n const key = useMemo(() => codes.at(-1), [codes])\n const codesSerialized = useMemo(() => {\n const mods = codes.slice(0, -1)\n return mods.reduce((serialized, mod) => (\n `${mod.code}(${serialized})`\n ), key.code)\n }, [codes, key.code])\n const codeLabels = useMemo(() => (\n codes.map(renderSource)\n .map((label, i) => <Fragment key={i}>{label}</Fragment>)\n .reduce((labels, label) => (\n labels.length === 0\n ? [label]\n : [...labels, ' ', label]\n ), [])\n ), [codes])\n const title = useMemo(() => (\n codes.map(getSourceTitle).join(' + ')\n ), [codes])\n\n const display = useMemo(() => (\n codes.map(code => code.description || code.name).join(' + ')\n ), [codes])\n\n const missing = (\n node.source?.code === undefined ||\n node.value === undefined ||\n node._isPlaceholder\n )\n\n const content = !expanded\n ? codeLabels\n : (\n <>\n <code>{codesSerialized}</code>\n <span>{display}</span>\n </>\n )\n\n return (\n <span\n className={compact([\n styles.code,\n missing && styles.missingValue\n ]).join(' ')}\n title={title}\n onClick={handleClick}\n >\n {content}\n </span>\n )\n}\n","// `code` values may be \"trees\" in terms of structure, but this is only\n// because of \"modifier macros\" (e.g. `LS(A)`) which may be nested recursively\n// but each level of the tree has at most one child. This means the deepest\n// node is our actual keycode and everything above that is a modifier.\nexport function treeToSequence (tree) {\n return tree.params.length > 0\n ? [tree, ...treeToSequence(tree.params[0])]\n : [tree]\n}\n\nexport function sequenceToTree ([value, ...seq]) {\n const params = seq.length === 0 ? [] : [sequenceToTree(seq)]\n return { value, params }\n}\n","import compact from 'lodash/compact'\nimport { useCallback } from 'react'\nimport PropTypes from 'prop-types'\n\nimport * as bindPropTypes from './bindPropTypes'\nimport styles from '../Keys/styles.module.css'\nimport Icon from '../../Common/Icon'\n\nexport function NullKey () {\n return <span>⦸</span>\n}\n\nexport function getSourceTitle (source) {\n const description = source?.displayName || source?.description\n return source && `(${source.code}) ${description}`\n}\n\nexport function renderSource (source) {\n const text = source?.symbol || source?.code?.toString()\n const icon = source?.faIcon && <Icon name={source?.faIcon} />\n return icon || text || <NullKey />\n}\n\nexport function Source ({ value, expanded = false }) {\n if (!expanded) {\n return renderSource(value)\n } else if (!value) {\n return <NullKey />\n }\n\n const icon = value.faIcon ? <Icon name={value.faIcon} /> : value.symbol\n const code = value.code?.toString?.()\n const name = value.displayName || value.description || value.name\n\n // TODO: `name` will be falsey for raw values, maybe a RawValueBindNode would\n // be a more appropriate way to handle them.\n\n return (\n <>\n <code>{code}</code>\n {name && <span>{name}</span>} {icon}\n </>\n )\n}\n\nfunction BindValue (props) {\n const { node, onSelect, expanded = false } = props\n const { value, source, _isPlaceholder } = node\n const title = getSourceTitle(source)\n\n const handleClick = useCallback(function (event) {\n event.stopPropagation()\n onSelect({ node })\n }, [node, onSelect])\n\n return (\n <span\n className={compact([\n styles.code,\n (value === undefined || _isPlaceholder) && styles.missingValue\n ]).join(' ')}\n title={title}\n onClick={handleClick}\n >\n {_isPlaceholder ? <NullKey /> : <Source value={source} expanded={expanded} />}\n </span>\n )\n}\n\nBindValue.propTypes = {\n node: bindPropTypes.bindNode.isRequired,\n onSelect: PropTypes.func.isRequired\n}\n\nexport default BindValue\n","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import { useCallback, useMemo } from 'react'\n\nimport BindValue from '../../Keyboard/Binding/BindValue'\nimport styles from './styles.module.css'\n\nfunction HueSatValBindNode ({ node, onSelect }) {\n const { params: [h, s, b] } = node\n\n // TODO: this component continues to work because of a hack/inconsistency in\n // the &rgb_ug behavior definition's HSB_SEL command. RGB support is really\n // unimportant so this will be left alone for now, but it probably comes down\n // to an issue in correctly setting placeholder HSB values when selecting the\n // applicable command, so that might be something that gets resolved with a\n // proper refactor of the Binding node and its update functionality.\n\n const handleSelectParams = useCallback(event => {\n event?.stopPropagation?.()\n onSelect({ node, type: 'params' })\n }, [node, onSelect])\n\n const isEmpty = useMemo(() => (\n [h, s, b].some(v => v?.value === undefined || v?._isPlaceholder)\n ), [h, s, b])\n\n const bgStyle = useMemo(() => {\n if ([h, s, b].some(v => v?.value === undefined)) {\n return {}\n }\n\n return {\n backgroundColor: `hsl(${h.value}, ${s.value}%, ${b.value}%)`\n }\n }, [h, s, b])\n\n return (\n <>\n <BindValue node={node} onSelect={onSelect} />\n {!isEmpty\n ? (\n <div onClick={handleSelectParams} className={styles.colorIconWrapper}>\n <div\n className={styles.colorIcon}\n title={bgStyle.backgroundColor}\n style={bgStyle}\n />\n </div>\n )\n : <BindValue node={{}} onSelect={handleSelectParams} />}\n </>\n )\n}\n\nexport default HueSatValBindNode\n","import get from 'lodash/get'\nimport PropTypes from 'prop-types'\nimport { useMemo } from 'react'\n\nimport * as bindPropTypes from './bindPropTypes'\nimport BindValue from './BindValue'\nimport KeycodeBindNode from '../../EnhancedPickers/Keycode/KeycodeBindNode'\nimport HueSatValBindNode from '../../EnhancedPickers/RGB/HueSatValBindNode'\n\nimport styles from '../Keys/styles.module.css'\n\nfunction GenericBindNode ({ node, onSelect, expanded }) {\n return (\n <>\n <BindValue\n node={node}\n onSelect={onSelect}\n expanded={expanded}\n />\n {get(node, 'source.params.length') > 0\n ? (\n <BindParamlist\n slots={node.source.params}\n params={node.params}\n onSelect={onSelect}\n />\n )\n : null}\n </>\n )\n}\n\nexport function BindParam (props) {\n const { node, onSelect, slot, expanded = false } = props\n const BindComponent = useMemo(() => {\n // TODO: allow components to register helpers\n if (node.source?.helper === 'hsb-color-picker') return HueSatValBindNode\n if (slot === 'code') return KeycodeBindNode\n return GenericBindNode\n }, [node, slot])\n\n return (\n <span className={styles.param}>\n <BindComponent node={node} onSelect={onSelect} expanded={expanded} />\n </span>\n )\n}\n\nfunction BindParamlist (props) {\n const { slots, params, onSelect, root, wrapperProps } = props\n return (\n <span\n className={styles.params}\n data-is-root={!!root}\n data-param-count={params.length}\n {...wrapperProps}\n >\n {slots.map((slot, i) => slot.type !== 'placeholder' && (\n <BindParam\n key={i}\n slot={slot}\n node={params[i]}\n onSelect={onSelect}\n />\n ))}\n </span>\n )\n}\n\nBindParamlist.propTypes = {\n slots: PropTypes.arrayOf(bindPropTypes.param).isRequired,\n params: PropTypes.arrayOf(bindPropTypes.bindNode).isRequired,\n source: bindPropTypes.source,\n onSelect: PropTypes.func.isRequired\n}\n\nexport default BindParamlist\n","import compact from 'lodash/compact'\nimport PropTypes from 'prop-types'\n\nimport useBindingEditor from './binding-editor'\n\nimport BindParamlist from './BindParamlist'\nimport * as bindPropTypes from './bindPropTypes'\nimport {\n createPromptMessage,\n isSimple,\n isComplex\n} from './util'\nimport styles from '../Keys/styles.module.css'\n\nimport Icon from '../../Common/Icon'\nimport ValuePicker from '../../ValuePicker'\n\nfunction Binding (props) {\n const { context = 'none', hideBehaviour, value, params, paramIndex, onUpdate } = props\n const [\n { behavior, behaviorParams, bindTree, bindTreeParams, editing, invalid },\n { selectNodeForEditing, clearEditing, handleUpdateBindValue }\n ] = useBindingEditor({ value, params }, context, paramIndex, onUpdate)\n\n return (\n <>\n {behavior && !hideBehaviour\n ? (\n <span\n className={compact([\n styles['behaviour-binding'],\n !behavior.code && styles.missingValue\n ]).join(' ')}\n onClick={() => selectNodeForEditing({ node: bindTree })}\n >\n {behavior.code || '⦸'}\n </span>\n )\n : null}\n {invalid && (\n <Icon\n name=\"warning\"\n className={styles.missing}\n title=\"Binding has missing value(s)\"\n />\n )}\n <BindParamlist\n root={true}\n slots={behaviorParams}\n params={bindTreeParams}\n onSelect={selectNodeForEditing}\n wrapperProps={{\n 'data-simple': isSimple(bindTree),\n 'data-long': isComplex(bindTree, behaviorParams)\n }}\n />\n {editing && (\n <ValuePicker\n node={editing.node}\n type={editing.type}\n behaviour={behavior}\n context={context}\n prompt={createPromptMessage(editing.node.slot)}\n searchKey=\"code\"\n onSelect={handleUpdateBindValue}\n onCancel={clearEditing}\n />\n )}\n </>\n )\n}\n\nBinding.propTypes = {\n context: PropTypes.string,\n hideBehaviour: PropTypes.bool.isRequired,\n value: bindPropTypes.value.isRequired,\n params: PropTypes.arrayOf(bindPropTypes.node),\n onUpdate: PropTypes.func.isRequired\n}\n\nBinding.defaultProps = {\n hideBehaviour: false\n}\n\nexport default Binding\n","import cloneDeep from 'lodash/cloneDeep'\nimport get from 'lodash/get'\nimport pick from 'lodash/pick'\nimport { useCallback, useContext, useMemo, useState } from 'react'\n\nimport { SearchContext } from '../../providers'\nimport { createPromptMessage, hasErrors, hydrateTree, makeIndex } from './util'\nimport { getBehaviourParams } from '../../keymap'\n\nexport default function useBindingEditor (binding, context, paramIndex, onUpdate) {\n const { sources, mergedGlyphs } = useContext(SearchContext)\n const [editing, setEditing] = useState(null)\n\n const bindTree = useMemo(() => (\n hydrateTree(binding.value, binding.params, sources, context, mergedGlyphs)\n ), [binding, sources, context, mergedGlyphs])\n\n const paramSlice = paramIndex === undefined ? [0] : [paramIndex, paramIndex + 1]\n\n const bind = binding.value\n const behavior = get(sources.behavioursByContext[context], bind, {})\n const behaviorParams = getBehaviourParams(binding.params, behavior).slice(...paramSlice)\n const bindTreeParams = bindTree.params.slice(...paramSlice)\n const index = makeIndex(bindTree)\n const invalid = useMemo(() => hasErrors(index), [index])\n\n const selectNodeForEditing = useCallback(({ node, type = 'value' }) => {\n const prompt = createPromptMessage(node.slot)\n setEditing({ node, type, nodeIndex: index.indexOf(node), prompt })\n }, [index, setEditing])\n\n const clearEditing = useCallback(() => setEditing(null), [setEditing])\n\n const handleUpdateTree = useCallback(({ value, params }) => {\n const { nodeIndex } = editing\n const updated = cloneDeep(bindTree)\n const index = makeIndex(updated)\n const targetNode = index[nodeIndex]\n\n // Assume these are all fine?\n targetNode.value = value\n targetNode.params = params\n delete targetNode._isPlaceholder\n\n index.forEach(node => {\n delete node.source\n delete node.slot\n })\n\n setEditing(null)\n onUpdate(pick(updated, ['value', 'params']))\n }, [bindTree, editing, setEditing, onUpdate])\n\n const handleUpdateParams = useCallback(params => {\n const { nodeIndex } = editing\n const updated = cloneDeep(bindTree)\n const index = makeIndex(updated)\n const targetNode = index[nodeIndex]\n\n // Assume these are all fine?\n targetNode.params = params\n\n index.forEach(node => {\n delete node.source\n delete node.slot\n })\n\n setEditing(null)\n onUpdate(pick(updated, ['value', 'params']))\n }, [bindTree, editing, setEditing, onUpdate])\n\n const handleUpdateNode = useCallback((node, nodeIndex, source) => {\n const updated = cloneDeep(bindTree)\n const index = makeIndex(updated)\n const targetNode = index[nodeIndex]\n\n // Attempt to cast raw inputs to non-string type if such a type is defined\n // and I've specifically accounted for casting to that type here.\n // No error handling yet, so...\n if (node.slot.raw) {\n if (node.slot.type === 'number') {\n source.code = Number(source.code)\n }\n } else if (node.slot.enum) {\n const oldAdditionalParams = targetNode.source?.additionalParams?.length || 0\n const newAdditionalParams = source.additionalParams?.length || 0\n // When switching from a command parameter that has additionalParams to\n // another command parameter that has fewer (or none), the selected values\n // are still present in the tree but aren't rendered. Therefore it's still\n // possible for the unused values to be saved when the keymap is written.\n // This technically doesn't cause errors because behaviours are written to\n // ignore these values, but it can be confusing.\n // TODO: look into actually making sure that we aren't sending these\n // phantom values when submitting keymap state.\n if (newAdditionalParams < oldAdditionalParams) {\n // technically this could be anywhere in the tree but lets assume for\n // convenience that switching a \"command\" param can only happen to the\n // first child of the behavior bind.\n const tree = index[0]\n tree.params.splice(1, tree.params.length - 1)\n index.splice(2, index.length - 1)\n }\n }\n\n targetNode.value = source.code\n delete targetNode._isPlaceholder\n\n // Clear parameters if the new source params list doesn't match the old one.\n // TODO: instead of a reduce and iterating through the entire array in all\n // cases, this could look for the first index where both params lists don't\n // match and then splice targetNode.params from there\n targetNode.params = (source?.params || []).reduce((params, p, i) => {\n if (targetNode.source?.params?.[i] === source.params[i]) {\n params.push(targetNode.params[i])\n } else {\n params.push({ value: 0, _isPlaceholder: true })\n }\n return params\n }, [])\n\n index.forEach(node => {\n delete node.source\n delete node.slot\n })\n\n setEditing(null)\n onUpdate(pick(updated, ['value', 'params', '_isPlaceholder']))\n }, [bindTree, setEditing, onUpdate])\n\n const handleUpdateBindValue = useCallback(source => {\n if (editing.type === 'tree') {\n return handleUpdateTree(source)\n }\n\n if (editing.type === 'params') {\n return handleUpdateParams(source) // ugh\n }\n\n const { node, nodeIndex } = editing\n handleUpdateNode(node, nodeIndex, source)\n }, [editing, handleUpdateNode, handleUpdateTree, handleUpdateParams])\n\n const state = useMemo(\n () => ({\n behavior,\n behaviorParams,\n bindTree,\n bindTreeParams,\n editing,\n index,\n invalid\n }),\n [behavior, behaviorParams, bindTree, bindTreeParams, editing, index, invalid]\n )\n\n const callbacks = useMemo(\n () => ({\n clearEditing,\n handleUpdateBindValue,\n handleUpdateNode,\n selectNodeForEditing\n }),\n [selectNodeForEditing, clearEditing, handleUpdateBindValue, handleUpdateNode]\n )\n\n return useMemo(() => ([state, callbacks]), [state, callbacks])\n}\n","import PropTypes from 'prop-types'\n\nexport const enumOption = PropTypes.oneOfType([\n PropTypes.number,\n PropTypes.shape({\n name: PropTypes.string,\n type: PropTypes.string,\n description: PropTypes.string,\n code: PropTypes.any\n })\n])\n\nexport const param = PropTypes.oneOfType([\n PropTypes.oneOf(['code', 'layer']),\n PropTypes.shape({ type: PropTypes.oneOf(['placeholder']) }),\n PropTypes.shape({\n enum: PropTypes.arrayOf(enumOption),\n raw: PropTypes.bool,\n name: PropTypes.string,\n type: PropTypes.string.isRequired\n })\n])\n\nexport const params = PropTypes.arrayOf(param)\nexport const value = PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.number\n])\nexport const source = PropTypes.shape({\n params,\n code: value.isRequired,\n description: PropTypes.string,\n symbol: PropTypes.string,\n faIcon: PropTypes.string\n})\n\nconst nodeShape = { value, source }\nnodeShape.params = PropTypes.arrayOf(PropTypes.shape(nodeShape))\n\nexport const node = PropTypes.shape(nodeShape)\n\nexport const bindNode = node\n\nexport const index = PropTypes.arrayOf(node)\n","import find from 'lodash/find'\nimport get from 'lodash/get'\n\nimport { getBehaviourParams } from '../../keymap'\n\nexport function makeIndex (tree) {\n const index = []\n ;(function traverse (tree) {\n const params = tree.params || []\n index.push(tree)\n params.forEach(traverse)\n })(tree)\n\n return index\n}\n\nexport function isSimple (normalized) {\n const [first] = normalized.params\n const symbol = get(first, 'source.symbol', get(first, 'source.code', ''))\n const hasIcon = !!get(first, 'source.faIcon')\n const shortSymbol = hasIcon || symbol.length === 1\n const singleParam = normalized.params.length === 1\n return singleParam && shortSymbol\n}\n\nexport function isComplex (normalized, behaviourParams) {\n const [first] = normalized.params\n const symbol = get(first, 'source.symbol', get(first, 'value', ''))\n const hasIcon = !!get(first, 'source.faIcon')\n const isLongSymbol = !hasIcon && symbol.length > 4\n const isMultiParam = behaviourParams.length > 1\n const isNestedParam = get(first, 'params', []).length > 0\n\n return isLongSymbol || isMultiParam || isNestedParam\n}\n\nexport function createPromptMessage (param) {\n const promptMapping = {\n layer: 'Select layer',\n mod: 'Select modifier',\n behaviour: 'Select behaviour',\n keycode: 'Select key code'\n }\n\n if (param.name) {\n return `Select ${param.name}`\n }\n\n return (\n promptMapping[param] ||\n promptMapping.keycode\n )\n}\n\nexport function hasErrors (index) {\n // The first value in the list is the behaviour. If it doesn't have a source\n // that means that we don't have details about what it is.\n if (!index[0].source.code) {\n return true\n }\n\n for (const value of index) {\n if ((value.source?.params || []).length > value.params.length) {\n return true\n }\n\n if (value.params.some(v => (\n v.value === undefined ||\n v.value === '' ||\n v.source === undefined ||\n v._isPlaceholder\n ))) {\n return true\n }\n }\n}\n\nexport function hydrateTree (value, params, sources, context = 'none', mergedGlyphs) {\n const bind = value\n const behaviour = get(sources.behavioursByContext[context], bind, {})\n const behaviourParams = getBehaviourParams(params, behaviour)\n\n function getSourceValue (value, as) {\n value = get(sources.defines, value, value)\n if (!Number.isNaN(Number(value))) {\n value = Number(value)\n }\n if (as.raw) return { code: value }\n if (as.enum) {\n // TODO: this doesn't seem to handle type mismatches like `1` vs `\"1\"` but\n // in fairness this has probably been true for some time.\n // TODO: rewrite all behavior enums to wrap choices in objects instead of\n // handling object and raw value formats.\n return (\n find(as.enum, { code: value }) ||\n find(as.enum, value) ||\n { code: value }\n )\n }\n // TODO: Shouldn't need to render placeholder\n if (as.type === 'placeholder') return { code: value }\n return sources?.[as]?.[value]\n }\n\n function hydrateNode (node, slot) {\n if (!node) {\n return { value: undefined, slot, params: [] }\n }\n const { value, params, _isPlaceholder } = node\n const source = getSourceValue(value, slot)\n\n return {\n value,\n _isPlaceholder,\n slot,\n source: {\n ...source,\n symbol: get(mergedGlyphs, [source?.name, 'symbol'], source?.symbol),\n faIcon: get(mergedGlyphs, [source?.name, 'faIcon'], source?.faIcon)\n },\n params: get(source, 'params', []).map((slot, i) => (\n hydrateNode(params[i], slot)\n ))\n }\n }\n\n return {\n value,\n slot: 'behaviour',\n source: behaviour,\n params: behaviourParams.map((slot, i) => (\n hydrateNode(params[i], slot)\n ))\n }\n}\n","\nexport function validateDevicetreeNodeName (value) {\n if (value.length > 31) {\n return 'maximum length: 31'\n } else if (value.match(/^[^a-zA-Z]/)) {\n return 'first character must be a letter'\n } else if (value.match(/[^a-zA-Z0-9,._+-]/)) {\n return 'valid characters: a-zA-Z0-9,._+-'\n }\n}\n\nexport const validateDevicetreeIdentifier = validateDevicetreeNodeName\n\nexport function validateDevicetreeLabel (value) {\n if (value.length > 31) {\n return 'maximum length: 31'\n } else if (value.match(/^[^a-zA-Z]/)) {\n return 'first character must be a letter'\n } else if (value.match(/[^a-zA-Z0-9_]/)) {\n return 'valid characters: a-zA-Z0-9_'\n }\n}\n\nexport function validateDevicetreeReference (value) {\n if (value.length > 31) {\n return 'maximum length: 31'\n } else if (value.match(/^[^&]/)) {\n return 'must start with \"&\"'\n } else if (value.match(/^&[^a-zA-Z]/)) {\n return 'first character must be a letter'\n } else if (value.slice(1).match(/[^a-zA-Z0-9_]/)) {\n return 'valid characters: a-zA-Z0-9_'\n }\n}\n","import PropTypes from 'prop-types'\n\nimport KeyWrapper from './KeyWrapper'\n\nimport Binding from '../Binding/Binding'\nimport * as bindPropTypes from '../Binding/bindPropTypes'\n\nfunction Key (props) {\n const { context, value, params, keyWrapperProps = {}, onUpdate } = props\n\n return (\n <KeyWrapper {...keyWrapperProps}>\n <Binding\n context={context}\n value={value}\n params={params}\n onUpdate={onUpdate}\n />\n </KeyWrapper>\n )\n}\n\nKey.propTypes = {\n label: PropTypes.string,\n value: bindPropTypes.value.isRequired,\n params: PropTypes.arrayOf(bindPropTypes.node),\n onUpdate: PropTypes.func.isRequired\n}\n\nexport default Key\n","import compact from 'lodash/compact'\nimport styles from './styles.module.css'\n\nfunction KeyWrapper (props) {\n const {\n children,\n selectable = true,\n themeClass = undefined,\n className = '',\n ...rest\n } = props\n\n const classes = compact([\n styles.key,\n selectable && styles.selectable,\n themeClass ?? styles.keyDefaultTheme,\n className\n ]).join(' ')\n\n return (\n <div className={classes} {...rest}>\n {children}\n </div>\n )\n}\n\nexport default KeyWrapper\n","\nexport const cycle = (array, index, step = 1) => {\n const next = (index + step) % array.length\n return next < 0 ? array.length + next : next\n}\n\nexport function scrollIntoViewIfNeeded (element, alignToTop) {\n const scroll = element.offsetParent.scrollTop\n const height = element.offsetParent.offsetHeight\n const top = element.offsetTop\n const bottom = top + element.scrollHeight\n\n if (top < scroll || bottom > scroll + height) {\n element.scrollIntoView(alignToTop)\n }\n}\n","import PropTypes from 'prop-types'\nimport { useCallback, useEffect, useRef, useState } from 'react'\n\nimport { cycle, scrollIntoViewIfNeeded } from './util'\nimport style from './style.module.css'\n\nfunction ResultList ({ results, onSelect, renderResult }) {\n const [cursorIndex, setCursorIndex] = useState(0)\n const listRef = useRef(null)\n\n const moveCursor = useCallback(function (initial, offset) {\n if (results.length === 0) {\n setCursorIndex(null)\n return\n } else if (offset === undefined) {\n setCursorIndex(initial)\n return\n }\n\n const next = cursorIndex !== null\n ? cycle(results, cursorIndex, offset)\n : initial\n\n const selector = `li[data-result-index=\"${next}\"]`\n const element = listRef.current?.querySelector(selector)\n\n scrollIntoViewIfNeeded(element, false)\n setCursorIndex(next)\n }, [results, cursorIndex, setCursorIndex])\n\n const handleHighlightNext = useCallback(function () {\n moveCursor(0, 1)\n }, [moveCursor])\n\n const handleHightightPrev = useCallback(function () {\n moveCursor(results.length - 1, -1)\n }, [moveCursor, results])\n\n const handleSelectActive = useCallback(function (event) {\n onSelect(results[cursorIndex], event)\n }, [results, cursorIndex, onSelect])\n\n const handleKeyDown = useCallback(function (event) {\n const mapping = {\n ArrowDown: handleHighlightNext,\n ArrowUp: handleHightightPrev,\n Enter: handleSelectActive\n }\n\n const action = mapping[event.key]\n if (action) {\n event.preventDefault()\n event.stopPropagation()\n action(event)\n }\n }, [\n handleHighlightNext,\n handleHightightPrev,\n handleSelectActive\n ])\n\n useEffect(() => {\n document.body.addEventListener('keydown', handleKeyDown)\n return () => document.body.removeEventListener('keydown', handleKeyDown)\n }, [listRef, handleKeyDown])\n\n return (\n <ul className={style.results} ref={listRef}>\n {results.map((result, i) => (\n <li\n key={i}\n className={cursorIndex === i ? style.highlighted : ''}\n title={result.description}\n data-result-index={i}\n onClick={event => onSelect(result, event)}\n onDoubleClick={event => onSelect(result, event)}\n onMouseOver={() => moveCursor(i)}\n >\n {renderResult(result, i)}\n </li>\n ))}\n </ul>\n )\n}\n\nResultList.propTypes = {\n results: PropTypes.array.isRequired,\n onSelect: PropTypes.func.isRequired,\n renderResult: PropTypes.func.isRequired\n}\n\nexport default ResultList\n","import fuzzysort from 'fuzzysort'\nimport PropTypes from 'prop-types'\nimport { useCallback, useMemo, useState } from 'react'\n\nimport Icon from '../Common/Icon'\nimport style from './style.module.css'\n\nconst searchThreshold = 10\n\nfunction focusInput (node) {\n if (node) {\n node.focus()\n node.select()\n }\n}\n\nconst SearchFilter = ({ choices, searchKey, searchKeys, renderResults, initialQuery }) => {\n const useSearch = !choices.length || choices.length > searchThreshold\n const [query, setQuery] = useState(initialQuery)\n const results = useMemo(() => {\n if (!query || !useSearch) {\n return choices\n }\n\n const options = searchKeys ? { keys: searchKeys, limit: 30 } : { key: searchKey, limit: 30 }\n const filtered = fuzzysort.go(query, choices, options)\n return filtered.map(result => ({\n ...result.obj,\n search: result\n }))\n }, [useSearch, query, choices, searchKey, searchKeys])\n\n const handleKeyPress = useCallback(event => {\n setQuery(event.target.value)\n }, [setQuery])\n\n return (\n <>\n {useSearch && (\n <div className={style.searchWrapper}>\n <input\n ref={focusInput}\n type=\"text\"\n value={query}\n onChange={handleKeyPress}\n />\n <Icon className={style.searchIcon} name=\"search\" />\n <Icon\n className={style.clearSearchIcon}\n name=\"times\"\n onClick={() => setQuery('')}\n />\n </div>\n )}\n {renderResults(results)}\n </>\n )\n}\n\nSearchFilter.propTypes = {\n choices: PropTypes.array.isRequired,\n searchKey: PropTypes.string,\n initialQuery: PropTypes.string.isRequired,\n renderResults: PropTypes.func.isRequired\n}\n\nSearchFilter.defaultProps = {\n initialQuery: ''\n}\n\nexport default SearchFilter\n","import PropTypes from 'prop-types'\nimport { useContext, useMemo } from 'react'\n\nimport { SearchContext } from '../providers'\nimport ResultList from './ResultList'\nimport style from './style.module.css'\n\nfunction EnumPicker (props) {\n const { getSearchTargets } = useContext(SearchContext)\n const { param, prompt, onSelect } = props\n\n const choices = useMemo(() => (\n getSearchTargets(param)\n ), [getSearchTargets, param])\n\n return (\n <div className={style.dialog}>\n <p>{prompt}</p>\n <ResultList\n results={choices}\n onSelect={onSelect}\n renderResult={result => (\n <>\n {result.code}\n {result.description && <p className={style.description}>{result.description}</p>}\n </>\n )}\n />\n </div>\n )\n}\n\nEnumPicker.propTypes = {\n value: PropTypes.any.isRequired,\n param: PropTypes.object.isRequired,\n prompt: PropTypes.string.isRequired,\n onSelect: PropTypes.func.isRequired\n}\n\nEnumPicker.defaultProps = {\n value: ''\n}\n\nexport default EnumPicker\n","import fuzzysort from 'fuzzysort'\nimport PropTypes from 'prop-types'\nimport { useCallback, useContext, useMemo } from 'react'\nimport { bindNode } from '../Keyboard/Binding/bindPropTypes'\n\nimport { SearchContext } from '../providers'\nimport ResultList from './ResultList'\nimport SearchFilter from './SearchFilter'\nimport style from './style.module.css'\n\nfunction GenericPicker (props) {\n const { prompt, searchKey, node, param, behaviour, context, onSelect } = props\n\n const { getSearchTargets } = useContext(SearchContext)\n const renderSearchResult = useCallback(result => {\n const title = result.search\n ? (\n <span>\n {fuzzysort.highlight(result.search, (v, i) => (\n <b key={i}>{v}</b>\n ))}\n </span>\n )\n : <span>{result.code}</span>\n\n const description = result.displayName || result.description\n\n return (\n <>\n {title}\n {description && <p className={style.description}>{description}</p>}\n </>\n )\n }, [])\n\n const choices = useMemo(() => {\n return getSearchTargets(param, behaviour.code, context)\n }, [getSearchTargets, param, behaviour, context])\n\n return (\n <div className={style.dialog}>\n <p>{prompt}</p>\n <SearchFilter\n choices={choices}\n initialQuery={node.value || ''}\n searchKey={searchKey}\n renderResults={results => results && (\n <ResultList\n results={results}\n onSelect={onSelect}\n renderResult={renderSearchResult}\n />\n )}\n />\n </div>\n )\n}\n\nGenericPicker.propTypes = {\n node: bindNode.isRequired,\n param: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n enum: PropTypes.array,\n raw: PropTypes.bool,\n type: PropTypes.string\n })\n ]).isRequired,\n prompt: PropTypes.string.isRequired,\n searchKey: PropTypes.string.isRequired,\n behaviour: PropTypes.object.isRequired,\n context: PropTypes.string.isRequired,\n onSelect: PropTypes.func.isRequired\n}\n\nexport default GenericPicker\n","import PropTypes from 'prop-types'\nimport { useCallback, useState } from 'react'\nimport { HslColorPicker } from 'react-colorful'\n\nimport ActionButton from '../../Common/ActionButton'\n\nfunction HSBPicker (props) {\n const { node, onSelect } = props\n const [hsl, setHsl] = useState({\n h: Number(node.params[0].value),\n s: Number(node.params[1].value),\n l: Number(node.params[2].value)\n })\n\n const handleConfirm = useCallback(() => {\n onSelect([\n { value: Math.round(hsl.h) },\n { value: Math.round(hsl.s) },\n { value: Math.round(hsl.l) }\n ])\n }, [hsl, onSelect])\n\n return (\n <div>\n <p>Select colour</p>\n <HslColorPicker\n color={hsl}\n onChange={setHsl}\n />\n <p style={{ textAlign: 'center' }}>\n <ActionButton onClick={handleConfirm}>Confirm</ActionButton>\n </p>\n </div>\n )\n}\n\nHSBPicker.propTypes = {\n value: PropTypes.any.isRequired,\n prompt: PropTypes.string.isRequired,\n param: PropTypes.oneOfType([\n PropTypes.shape({\n enum: PropTypes.array,\n raw: PropTypes.bool,\n type: PropTypes.string\n })\n ]).isRequired,\n onSelect: PropTypes.func.isRequired\n}\n\nHSBPicker.defaultProps = {\n value: ''\n}\n\nexport default HSBPicker\n","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","import classNames from 'classnames'\nimport PropTypes from 'prop-types'\nimport style from './styles.module.css'\n\nconst leftModifiers = ['LS', 'LA', 'LC', 'LG']\nconst rightModifiers = ['RS', 'RA', 'RC', 'RG']\n\nconst modifiersMap = {\n LS: { short: 'LSHFT', full: 'Left Shift' },\n LC: { short: 'LCTRL', full: 'Left Control' },\n LA: { short: 'LALT', full: 'Left Alt' },\n LG: { short: 'LGUI', full: 'Left Gui' },\n RS: { short: 'RSHFT', full: 'Left Shift' },\n RC: { short: 'RCTRL', full: 'Left Control' },\n RA: { short: 'RALT', full: 'Left Alt' },\n RG: { short: 'RGUI', full: 'Left Gui' }\n}\n\nconst noDeselectMessage = ' (This modifier is implicitly used by the active keycode and cannot be de-selected)'\n\nfunction ModifiersRow ({ selected, implicit, row, onSelect }) {\n return (\n <ul className={style.modifiers}>\n {row.map((mod, i) => (\n <li\n key={i}\n title={modifiersMap[mod].full + (implicit.includes(mod) ? noDeselectMessage : '')}\n className={classNames({\n [style.selected]: selected.includes(mod),\n [style.implicit]: implicit.includes(mod)\n })}\n onClick={() => !implicit.includes(mod) && onSelect(mod)}\n >{modifiersMap[mod].short}</li>\n ))}\n </ul>\n )\n}\n\nfunction ModifiersPicker ({ selected, implicit, onChange }) {\n function handleSelection (modifier) {\n onChange(\n selected.includes(modifier)\n ? selected.filter(mod => mod !== modifier)\n : [...selected, modifier]\n )\n }\n return (\n <div className={style.allModifiers}>\n <ModifiersRow row={leftModifiers} selected={selected} implicit={implicit} onSelect={handleSelection} />\n <ModifiersRow row={rightModifiers} selected={selected} implicit={implicit} onSelect={handleSelection} />\n </div>\n )\n}\n\nModifiersPicker.propTypes = {\n selected: PropTypes.arrayOf(PropTypes.string),\n implicit: PropTypes.arrayOf(PropTypes.string)\n}\n\nexport default ModifiersPicker\n","import classNames from 'classnames'\nimport fuzzysort from 'fuzzysort'\nimport compact from 'lodash/compact'\nimport map from 'lodash/map'\nimport PropTypes from 'prop-types'\nimport { useCallback, useContext, useMemo, useState } from 'react'\n\nimport { treeToSequence, sequenceToTree } from './helpers'\nimport { SearchContext } from '../../providers'\nimport { bindNode } from '../../Keyboard/Binding/bindPropTypes'\n\nimport ResultList from '../../ValuePicker/ResultList'\nimport resultListStyle from '../../ValuePicker/style.module.css'\nimport SearchFilter from '../../ValuePicker/SearchFilter'\nimport ModifiersPicker from './ModifiersPicker'\nimport KeycodeBindNode from './KeycodeBindNode'\nimport { hydrateTree } from '../../Keyboard/Binding/util'\nimport KeyWrapper from '../../Keyboard/Keys/KeyWrapper'\nimport ActionButton from '../../Common/ActionButton'\nimport styles from './styles.module.css'\nimport Tip from '../../Common/Tip'\nimport Icon from '../../Common/Icon'\n\nfunction renderSymbol (result) {\n const symbol = result?.symbol\n const icon = result?.faIcon\n\n if (icon) {\n return <Icon name={icon} />\n }\n\n if (symbol && !result.aliases.includes(symbol)) {\n return symbol\n }\n}\n\nfunction renderSearchResult (result) {\n const [titleResult] = result.search || []\n const title = titleResult\n ? <span dangerouslySetInnerHTML={{ __html: fuzzysort.highlight(titleResult) }} />\n : <span>{result.code}</span>\n\n const symbol = renderSymbol(result)\n\n return (\n <div className={styles.resultItem}>\n <div className={styles.description}>\n {title}\n <p className={resultListStyle.description}>{result.description}</p>\n </div>\n {symbol && <div className={styles.symbol}>{symbol}</div>}\n </div>\n )\n}\n\nfunction KeycodePicker ({ node, onSelect, behaviour }) {\n const { getSearchTargets, sources, mergedGlyphs } = useContext(SearchContext)\n\n const codes = useMemo(() => map(treeToSequence(node), 'source'), [node])\n const initialModifiers = codes.length === 1 ? [] : codes.slice(0, -1)\n const [selectedModifiers, setSelectedModifiers] = useState(map(initialModifiers, 'code'))\n const [selectedKeycode, setSelectedKeycode] = useState(codes.at(-1))\n\n const choices = useMemo(() => {\n // bit of a hack; we can't use the search picker to select the \"function\"\n // version of modifier keycodes because they won't end up in the modifiers\n // list and we aren't allowing for population of their parameters.\n // TODO: once this picker becomes the \"standard\" the function macros should\n // not be treated as keycodes.\n const codes = getSearchTargets('code', behaviour.code)\n return codes.filter(code => code.params.length === 0)\n }, [getSearchTargets, behaviour])\n\n // have to hydrate to get merged glyphs\n // hardcoding isn't great but it's the keycode picker so maybe '&kp' is reasonable\n const hydrated = hydrateTree(\n '&kp',\n [{ value: selectedKeycode?.code, params: selectedKeycode?.params }],\n sources,\n undefined,\n mergedGlyphs\n )\n\n const select = useCallback(function (keycode, modifiers) {\n const tree = sequenceToTree(compact([...modifiers, keycode?.code]))\n\n onSelect(tree)\n }, [onSelect])\n\n const handleSelectKeycode = useCallback((result, event) => {\n if (event.type === 'dblclick') {\n select(result, selectedModifiers)\n return\n }\n\n setSelectedKeycode(result)\n }, [select, selectedModifiers, setSelectedKeycode])\n\n function handleConfirm () {\n select(selectedKeycode, selectedModifiers)\n }\n\n function handleCancel () {\n onSelect(node)\n }\n\n return (\n <div className={classNames(resultListStyle.dialog, styles.dialog)}>\n <div style={{ display: 'flex', gap: '10px' }}>\n <div>\n <h3>Keycode</h3>\n <KeyWrapper className={styles.previewKeycode} selectable={false}>\n <KeycodeBindNode\n node={hydrated.params[0]}\n onSelect={() => {}}\n />\n </KeyWrapper>\n </div>\n <div>\n <h3>Modifiers</h3>\n <ModifiersPicker\n selected={selectedModifiers}\n implicit={selectedKeycode?.modifiers || []}\n onChange={setSelectedModifiers}\n />\n </div>\n </div>\n <h3>Available Keycodes</h3>\n <SearchFilter\n choices={choices}\n initialQuery={selectedKeycode?.code}\n searchKeys={['code', 'symbol']}\n renderResults={results => results && (\n <ResultList\n results={results}\n onSelect={handleSelectKeycode}\n renderResult={renderSearchResult}\n />\n )}\n />\n <Tip className={styles.quickCloseTip}>\n Double-click to select and close the dialog\n </Tip>\n <div style={{ marginTop: '10px', textAlign: 'center' }}>\n <ActionButton onClick={handleConfirm}>Confirm</ActionButton>\n <ActionButton onClick={handleCancel} secondary>Cancel</ActionButton>\n </div>\n </div>\n )\n}\n\nKeycodePicker.propTypes = {\n node: bindNode.isRequired,\n param: PropTypes.oneOfType([\n PropTypes.string,\n PropTypes.shape({\n enum: PropTypes.array,\n raw: PropTypes.bool,\n type: PropTypes.string\n })\n ]).isRequired,\n prompt: PropTypes.string.isRequired,\n searchKey: PropTypes.string.isRequired,\n behaviour: PropTypes.object.isRequired,\n context: PropTypes.string.isRequired,\n onSelect: PropTypes.func.isRequired\n}\n\nexport default KeycodePicker\n","import PropTypes from 'prop-types'\nimport { useCallback, useState } from 'react'\n\nimport style from './style.module.css'\n\nfunction focusInput (node) {\n if (node) {\n node.focus()\n node.select()\n }\n}\n\nfunction RawValuePicker (props) {\n const { value: initialValue, param, onSelect } = props\n const [value, setValue] = useState(initialValue)\n\n const handleKeyDown = useCallback(event => {\n if (event.key === 'Enter') {\n onSelect({ code: value })\n }\n }, [value, onSelect])\n\n const handleKeyPress = useCallback(event => {\n let value = event.target.value\n\n if (param.type === 'number') {\n value = Number(value)\n if (Number.isNaN(value)) {\n return\n }\n }\n\n setValue(value)\n }, [param, setValue])\n\n return (\n <div className={style.dialog}>\n <p>Enter raw value</p>\n <input\n ref={focusInput}\n type=\"text\"\n value={value}\n onChange={handleKeyPress}\n onKeyDown={handleKeyDown}\n />\n </div>\n )\n}\n\nRawValuePicker.propTypes = {\n value: PropTypes.any.isRequired,\n prompt: PropTypes.string.isRequired,\n param: PropTypes.oneOfType([\n PropTypes.shape({\n enum: PropTypes.array,\n raw: PropTypes.bool,\n type: PropTypes.string\n })\n ]).isRequired,\n onSelect: PropTypes.func.isRequired\n}\n\nRawValuePicker.defaultProps = {\n value: ''\n}\n\nexport default RawValuePicker\n","import PropTypes from 'prop-types'\nimport { useMemo } from 'react'\nimport { useSelector } from 'react-redux'\n\nimport { selectLayers } from '../Keyboard/Layers/layersSlice'\nimport ResultList from './ResultList'\nimport style from './style.module.css'\n\nfunction LayerPicker ({ onSelect }) {\n const layers = useSelector(selectLayers)\n const choices = useMemo(() => layers.map((layer, i) => ({\n code: i,\n description: layer.name || `Layer ${i}`\n })), [layers])\n\n return (\n <div className={style.dialog}>\n <p>Select layer</p>\n <ResultList\n results={choices}\n onSelect={onSelect}\n renderResult={result => (\n <>\n {result.code}\n {result.description && <p className={style.description}>{result.description}</p>}\n </>\n )}\n />\n </div>\n )\n}\n\nLayerPicker.propTypes = {\n value: PropTypes.string.isRequired,\n behaviour: PropTypes.object.isRequired,\n onSelect: PropTypes.func.isRequired\n}\n\nLayerPicker.defaultProps = {\n value: ''\n}\n\nexport default LayerPicker\n","import pick from 'lodash/pick'\nimport PropTypes from 'prop-types'\nimport { useMemo } from 'react'\n\nimport Modal from '../Common/Modal'\nimport EnumPicker from './EnumPicker'\nimport { bindNode } from '../Keyboard/Binding/bindPropTypes'\n\nimport GenericPicker from './GenericPicker'\nimport HueSatValPicker from '../EnhancedPickers/RGB/HueSatValPicker'\nimport KeycodePicker from '../EnhancedPickers/Keycode/KeycodePicker'\nimport RawValuePicker from './RawValuePicker'\nimport LayerPicker from './LayerPicker'\n\nfunction ValuePicker (props) {\n const { node, type, onCancel, onSelect } = props\n const pickerProps = pick(props, [\n 'node', 'value', 'prompt', 'param', 'node', 'behaviour', 'context', 'searchKey'\n ])\n\n const PickerComponent = useMemo(() => {\n // TODO: allow components to register helpers\n if (type === 'params' && node.source?.helper === 'hsb-color-picker') return HueSatValPicker\n if (node.slot.raw) return RawValuePicker\n // TODO: Shouldn't need to render placeholder\n if (node.slot.type === 'placeholder') return RawValuePicker\n if (node.slot.enum) return EnumPicker\n if (node.slot === 'code') return KeycodePicker\n if (node.slot === 'layer') return LayerPicker\n return GenericPicker\n }, [node, type])\n\n return (\n <Modal onDismiss={onCancel}>\n <PickerComponent\n {...pickerProps}\n param={node.slot}\n onSelect={onSelect}\n />\n </Modal>\n )\n}\n\nValuePicker.propTypes = {\n type: PropTypes.string.isRequired,\n node: bindNode.isRequired,\n behaviour: PropTypes.object.isRequired,\n prompt: PropTypes.string.isRequired,\n searchKey: PropTypes.string.isRequired,\n searchThreshold: PropTypes.number,\n onCancel: PropTypes.func.isRequired,\n onSelect: PropTypes.func.isRequired\n}\n\nValuePicker.defaultProps = {\n type: 'value',\n value: '',\n freeForm: false,\n searchThreshold: 10\n}\n\nexport default ValuePicker\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"button.pi2Ig8c3Fdh4H2Jpxdo7 {\\n display: inline-block;\\n cursor: pointer;\\n background-color: var(--hover-selection);\\n color: white;\\n\\n font-size: 16px;\\n border: none;\\n border-radius: 5px;\\n padding: 0 5px;\\n\\n height: 30px;\\n line-height: 30px;\\n vertical-align: middle;\\n}\\n\\nbutton.Ctpu4E2dZYJ6g8CUGFOF {\\n color: var(--fg);\\n background-color: transparent;\\n}\\n\\nbutton.pi2Ig8c3Fdh4H2Jpxdo7[disabled] {\\n filter: saturate(20%);\\n opacity: .5;\\n cursor: not-allowed;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/Common/action-button.module.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,qBAAqB;EACrB,eAAe;EACf,wCAAwC;EACxC,YAAY;;EAEZ,eAAe;EACf,YAAY;EACZ,kBAAkB;EAClB,cAAc;;EAEd,YAAY;EACZ,iBAAiB;EACjB,sBAAsB;AACxB;;AAEA;EACE,gBAAgB;EAChB,6BAA6B;AAC/B;;AAEA;EACE,qBAAqB;EACrB,WAAW;EACX,mBAAmB;AACrB\",\"sourcesContent\":[\"button.action {\\n display: inline-block;\\n cursor: pointer;\\n background-color: var(--hover-selection);\\n color: white;\\n\\n font-size: 16px;\\n border: none;\\n border-radius: 5px;\\n padding: 0 5px;\\n\\n height: 30px;\\n line-height: 30px;\\n vertical-align: middle;\\n}\\n\\nbutton.secondary {\\n color: var(--fg);\\n background-color: transparent;\\n}\\n\\nbutton.action[disabled] {\\n filter: saturate(20%);\\n opacity: .5;\\n cursor: not-allowed;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"action\": \"pi2Ig8c3Fdh4H2Jpxdo7\",\n\t\"secondary\": \"Ctpu4E2dZYJ6g8CUGFOF\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".sq9i7hQeTeeKuarmO8oA {\\n display: inline-block;\\n font-size: 70%;\\n background: rgba(0, 0, 0, 0.5);\\n color: white;\\n padding: 4px;\\n border-radius: 4px;\\n width: max-content;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/Common/tip.module.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,qBAAqB;EACrB,cAAc;EACd,8BAA8B;EAC9B,YAAY;EACZ,YAAY;EACZ,kBAAkB;EAClB,kBAAkB;AACpB\",\"sourcesContent\":[\".tip {\\n display: inline-block;\\n font-size: 70%;\\n background: rgba(0, 0, 0, 0.5);\\n color: white;\\n padding: 4px;\\n border-radius: 4px;\\n width: max-content;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"tip\": \"sq9i7hQeTeeKuarmO8oA\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".yXRk1JUOXleNM2qgqUYN {\\n width: 350px;\\n padding: 15px;\\n}\\n\\n.yXRk1JUOXleNM2qgqUYN h3:first-child {\\n margin-top: 0px;\\n}\\n\\n.xCOOsvxL5qQ3kR8ri91A {\\n box-shadow: 0 4px 10px 0px rgba(0, 0, 0, 0.5);\\n}\\n\\n.Ox9WHfAMFuthXo6ZOJoI {\\n padding: 2px 0;\\n}\\n\\n.u4uW9U2E0DfbUM9vP9pf {\\n text-align: center;\\n padding: 0;\\n margin: 0;\\n}\\n\\n.u4uW9U2E0DfbUM9vP9pf li {\\n display: inline-block;\\n font-family: monospace;\\n font-size: 120%;\\n margin: 2px 2px;\\n padding: 4px 8px;\\n border-radius: 2px;\\n cursor: pointer;\\n\\n background-color: rgba(0, 0, 0, .5);\\n opacity: 0.5;\\n color: white;\\n}\\n\\n.u4uW9U2E0DfbUM9vP9pf li.YcHSun3PLo8dCb9qIZtc {\\n opacity: 1;\\n background-color: var(--selection);\\n color: white;\\n}\\n\\n.u4uW9U2E0DfbUM9vP9pf li.Ix6wQt3EBFUH2PUcsqgm {\\n background-color: var(--error-highlight);\\n filter: saturate(50%);\\n}\\n\\n.u4uW9U2E0DfbUM9vP9pf li:not(.Ix6wQt3EBFUH2PUcsqgm):hover {\\n opacity: 1;\\n background-color: var(--hover-selection);\\n}\\n\\n.u4uW9U2E0DfbUM9vP9pf li.Ix6wQt3EBFUH2PUcsqgm:hover {\\n cursor: not-allowed;\\n}\\n\\n.d3hMEDpEkH8H7YLG_NjI {\\n width: 100% !important;\\n box-sizing: border-box;\\n text-align: center;\\n}\\n\\n.gFHbtpz6TuduOVYLXwHu {\\n display: flex;\\n flex-direction: row;\\n align-items: center;\\n}\\n\\n.AfAg5j2RJEcA0Zh3z7mX {\\n flex-grow: 1;\\n}\\n\\n.YeOANHLbze2W1EGYOFiI {\\n font-size: 120%;\\n padding: 6px 10px;\\n color: white !important;\\n background-color: rgba(30, 30, 30, 0.4);\\n border-radius: 5px;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/EnhancedPickers/Keycode/styles.module.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,6CAA6C;AAC/C;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,kBAAkB;EAClB,UAAU;EACV,SAAS;AACX;;AAEA;EACE,qBAAqB;EACrB,sBAAsB;EACtB,eAAe;EACf,eAAe;EACf,gBAAgB;EAChB,kBAAkB;EAClB,eAAe;;EAEf,mCAAmC;EACnC,YAAY;EACZ,YAAY;AACd;;AAEA;EACE,UAAU;EACV,kCAAkC;EAClC,YAAY;AACd;;AAEA;EACE,wCAAwC;EACxC,qBAAqB;AACvB;;AAEA;EACE,UAAU;EACV,wCAAwC;AAC1C;;AAEA;EACE,mBAAmB;AACrB;;AAEA;EACE,sBAAsB;EACtB,sBAAsB;EACtB,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,mBAAmB;AACrB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,eAAe;EACf,iBAAiB;EACjB,uBAAuB;EACvB,uCAAuC;EACvC,kBAAkB;AACpB\",\"sourcesContent\":[\".dialog {\\n width: 350px;\\n padding: 15px;\\n}\\n\\n.dialog h3:first-child {\\n margin-top: 0px;\\n}\\n\\n.previewKeycode {\\n box-shadow: 0 4px 10px 0px rgba(0, 0, 0, 0.5);\\n}\\n\\n.allModifiers {\\n padding: 2px 0;\\n}\\n\\n.modifiers {\\n text-align: center;\\n padding: 0;\\n margin: 0;\\n}\\n\\n.modifiers li {\\n display: inline-block;\\n font-family: monospace;\\n font-size: 120%;\\n margin: 2px 2px;\\n padding: 4px 8px;\\n border-radius: 2px;\\n cursor: pointer;\\n\\n background-color: rgba(0, 0, 0, .5);\\n opacity: 0.5;\\n color: white;\\n}\\n\\n.modifiers li.selected {\\n opacity: 1;\\n background-color: var(--selection);\\n color: white;\\n}\\n\\n.modifiers li.implicit {\\n background-color: var(--error-highlight);\\n filter: saturate(50%);\\n}\\n\\n.modifiers li:not(.implicit):hover {\\n opacity: 1;\\n background-color: var(--hover-selection);\\n}\\n\\n.modifiers li.implicit:hover {\\n cursor: not-allowed;\\n}\\n\\n.quickCloseTip {\\n width: 100% !important;\\n box-sizing: border-box;\\n text-align: center;\\n}\\n\\n.resultItem {\\n display: flex;\\n flex-direction: row;\\n align-items: center;\\n}\\n\\n.description {\\n flex-grow: 1;\\n}\\n\\n.symbol {\\n font-size: 120%;\\n padding: 6px 10px;\\n color: white !important;\\n background-color: rgba(30, 30, 30, 0.4);\\n border-radius: 5px;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"dialog\": \"yXRk1JUOXleNM2qgqUYN\",\n\t\"previewKeycode\": \"xCOOsvxL5qQ3kR8ri91A\",\n\t\"allModifiers\": \"Ox9WHfAMFuthXo6ZOJoI\",\n\t\"modifiers\": \"u4uW9U2E0DfbUM9vP9pf\",\n\t\"selected\": \"YcHSun3PLo8dCb9qIZtc\",\n\t\"implicit\": \"Ix6wQt3EBFUH2PUcsqgm\",\n\t\"quickCloseTip\": \"d3hMEDpEkH8H7YLG_NjI\",\n\t\"resultItem\": \"gFHbtpz6TuduOVYLXwHu\",\n\t\"description\": \"AfAg5j2RJEcA0Zh3z7mX\",\n\t\"symbol\": \"YeOANHLbze2W1EGYOFiI\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nimport ___CSS_LOADER_ICSS_IMPORT_0___ from \"-!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!../../Keyboard/Keys/styles.module.css\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n___CSS_LOADER_EXPORT___.i(___CSS_LOADER_ICSS_IMPORT_0___, \"\", true);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \"/* @import \\\"../../Keyboard/Keys/styles.module.css\\\"; */\\n\\n.\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"key\"] + \" .ElYzpTlttqVbs6KKy9ob {\\n align-self: center;\\n}\\n.\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"extracted\"] + \" .ElYzpTlttqVbs6KKy9ob {\\n display: inline-block;\\n border-bottom: .15em dotted var(--key-color-base);\\n box-sizing: border-box;\\n padding: 6px .25em;\\n}\\n\\n:hover .ElYzpTlttqVbs6KKy9ob:hover {\\n cursor: pointer;\\n background-color: var(--hover-selection);\\n border-radius: 0;\\n border-radius: 3px;\\n}\\n\\n.rdE_HhSUTcg2dK35N2WA {\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n height: 1em;\\n aspect-ratio: 1;\\n border-radius: 2px;\\n}\\n\\n.\" + ___CSS_LOADER_ICSS_IMPORT_0___.locals[\"extracted\"] + \" .rdE_HhSUTcg2dK35N2WA {\\n display: inline-block;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/EnhancedPickers/RGB/styles.module.css\"],\"names\":[],\"mappings\":\"AAAA,qDAAqD;;AAMrD;EACE,kBAAkB;AACpB;AACA;EACE,qBAAqB;EACrB,iDAAiD;EACjD,sBAAsB;EACtB,kBAAkB;AACpB;;AAEA;EACE,eAAe;EACf,wCAAwC;EACxC,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,uBAAuB;EACvB,mBAAmB;EACnB,WAAW;EACX,eAAe;EACf,kBAAkB;AACpB;;AAEA;EACE,qBAAqB;AACvB\",\"sourcesContent\":[\"/* @import \\\"../../Keyboard/Keys/styles.module.css\\\"; */\\n:import(\\\"../../Keyboard/Keys/styles.module.css\\\") {\\n key: key;\\n extracted: extracted;\\n}\\n\\n.key .colorIconWrapper {\\n align-self: center;\\n}\\n.extracted .colorIconWrapper {\\n display: inline-block;\\n border-bottom: .15em dotted var(--key-color-base);\\n box-sizing: border-box;\\n padding: 6px .25em;\\n}\\n\\n:hover .colorIconWrapper:hover {\\n cursor: pointer;\\n background-color: var(--hover-selection);\\n border-radius: 0;\\n border-radius: 3px;\\n}\\n\\n.colorIcon {\\n display: flex;\\n justify-content: center;\\n align-items: center;\\n height: 1em;\\n aspect-ratio: 1;\\n border-radius: 2px;\\n}\\n\\n.extracted .colorIcon {\\n display: inline-block;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"colorIconWrapper\": \"ElYzpTlttqVbs6KKy9ob\",\n\t\"colorIcon\": \"rdE_HhSUTcg2dK35N2WA\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".CoLZlKR1WcMrFd9XhDMC {\\n\\tposition: relative;\\n\\tdisplay: flex;\\n\\tjustify-content: center;\\n\\talign-items: center;\\n\\n\\tfont-family: Quicksand, avenir, sans-serif;\\n\\n\\t/* TODO: remove this once I have a wrapper with size defaults */\\n\\twidth: 65px;\\n\\theight: 65px;\\n\\n\\tfont-size: 110%;\\n\\tborder-radius: 5px;\\n}\\n\\n.CT4uGhwl8sY0LwT3p39g:not(:hover) .UNzQquWsoIanOpIN0Q9L {\\n\\ttext-decoration: underline wavy var(--error-highlight);\\n\\ttext-underline-offset: 4px;\\n\\tcolor: var(--error-highlight);\\n\\tfont-weight: bold;\\n}\\n\\n.Y5EVt8b0BaXNd9uLxhfh {\\n\\tposition: absolute;\\n\\tleft: 2px;\\n\\tbottom: 2px;\\n\\tfont-size: 80%;\\n\\n\\tanimation: sYr3l9y03JxO_2AP73jr ease-in-out 1s alternate-reverse;\\n}\\n.Y5EVt8b0BaXNd9uLxhfh:hover {\\n\\tcolor: rgb(255, 225, 0);\\n}\\n\\n@keyframes sYr3l9y03JxO_2AP73jr {\\n\\t0% { color: var(--key-color-base) }\\n\\t100% { color: var(--key-color-extreme) }\\n}\\n\\n.CoLZlKR1WcMrFd9XhDMC:hover .DejZXCvvhJILPbs9Q8ht,\\n.CoLZlKR1WcMrFd9XhDMC:hover .DejZXCvvhJILPbs9Q8ht :before,\\n.CoLZlKR1WcMrFd9XhDMC:hover .GliE4Ybwli9X6TNTjD1_ {\\n\\tborder-bottom-left-radius: 0;\\n\\tborder-bottom-right-radius: 0;\\n\\ttext-decoration: underline dotted white 2px;\\n\\ttext-underline-offset: 4px;\\n}\\n\\n\\n.huQDP3GbTLThbVIP8wFp {\\n\\tcolor: var(--key-color-base);\\n\\tbackground-color: var(--key-bg-base);\\n}\\n\\n.PpMmKpJfEi37Ldw7AeBT {\\n\\tborder-radius: 100%;\\n\\tbackground-color: var(--key-bg-base);\\n\\tcolor: var(--key-color-base);\\n}\\n\\n._F1Vep3btfY3Rl4VJaUQ {\\n\\twidth: 80px;\\n\\theight: 80px;\\n\\tborder-radius: 100%;\\n\\tbackground-color: var(--key-bg-base);\\n\\tcolor: var(--key-color-base);\\n}\\n\\n._F1Vep3btfY3Rl4VJaUQ .GliE4Ybwli9X6TNTjD1_ {\\n\\tleft: 50%;\\n\\ttransform: translateX(-50%);\\n}\\n._F1Vep3btfY3Rl4VJaUQ .ApHDJFJGYUaGTgzMeIKZ[data-is-root=\\\"true\\\"] {\\n\\tdisplay: flex;\\n\\tflex-direction: column;\\n}\\n._F1Vep3btfY3Rl4VJaUQ .ApHDJFJGYUaGTgzMeIKZ[data-is-root=\\\"true\\\"] .mLz637Atn0jZXey6Rx4v:first-child::before {\\n\\tcontent: \\\"⟳\\\";\\n\\tfont-size: 140%;\\n\\tfont-weight: bold;\\n}\\n._F1Vep3btfY3Rl4VJaUQ .ApHDJFJGYUaGTgzMeIKZ[data-is-root=\\\"true\\\"] .mLz637Atn0jZXey6Rx4v:nth-child(2)::before {\\n\\tcontent: \\\"⟲\\\";\\n\\tfont-size: 140%;\\n\\tfont-weight: bold;\\n}\\n._F1Vep3btfY3Rl4VJaUQ:hover .ApHDJFJGYUaGTgzMeIKZ[data-is-root=\\\"true\\\"] .mLz637Atn0jZXey6Rx4v:first-child::before,\\n._F1Vep3btfY3Rl4VJaUQ:hover .ApHDJFJGYUaGTgzMeIKZ[data-is-root=\\\"true\\\"] .mLz637Atn0jZXey6Rx4v:nth-child(2)::before {\\n\\tcolor: white;\\n}\\n\\n\\n.k2EIh8YlFvp9sBuklSxx {\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tleft: 50%;\\n\\ttransform: translateX(-50%);\\n\\tfont-size: 50%;\\n}\\n\\n.CoLZlKR1WcMrFd9XhDMC:hover, .PpMmKpJfEi37Ldw7AeBT:hover {\\n\\tbackground-color: var(--hover-selection);\\n\\ttransition: 200ms;\\n\\tz-index: 1;\\n}\\n.CoLZlKR1WcMrFd9XhDMC:hover .DejZXCvvhJILPbs9Q8ht, .CoLZlKR1WcMrFd9XhDMC:hover .GliE4Ybwli9X6TNTjD1_ {\\n\\tcolor: var(--key-color-hover);\\n}\\n.CoLZlKR1WcMrFd9XhDMC > .DejZXCvvhJILPbs9Q8ht {\\n\\tpadding: 5px;\\n}\\n\\n.mLz637Atn0jZXey6Rx4v {\\n\\tdisplay: inline-flex;\\n}\\n\\n[data-simple=\\\"true\\\"] { font-size: 140%; }\\n[data-long=\\\"true\\\"] { font-size: 60%; }\\n\\n.ApHDJFJGYUaGTgzMeIKZ:not([data-is-root=\\\"true\\\"])::before { content: '('; opacity: 0.4; font-weight: bold; margin: 2px; }\\n.ApHDJFJGYUaGTgzMeIKZ:not([data-is-root=\\\"true\\\"])::after { content: ')'; opacity: 0.4; font-weight: bold; margin: 2px; }\\n.ApHDJFJGYUaGTgzMeIKZ:not([data-is-root=\\\"true\\\"]) .mLz637Atn0jZXey6Rx4v:not(:last-child)::after { content: ','; }\\n\\n.DejZXCvvhJILPbs9Q8ht {\\n\\tcursor: default;\\n\\tpadding: 0px 4px;\\n\\tmargin-left: -2px;\\n\\tmargin-right: -2px;\\n}\\n\\n.CT4uGhwl8sY0LwT3p39g .DejZXCvvhJILPbs9Q8ht {\\n\\tcursor: pointer;\\n\\tdisplay: inline-block;\\n\\tbox-sizing: content-box;\\n\\tmin-width: 0.5em;\\n\\ttext-align: center;\\n\\tborder-radius: 4px;\\n}\\n.CoLZlKR1WcMrFd9XhDMC .DejZXCvvhJILPbs9Q8ht:hover {\\n\\tbackground-color: white !important;\\n\\tcolor: var(--hover-selection) !important;\\n\\tborder-radius: 4px !important;\\n}\\n\\n.DejZXCvvhJILPbs9Q8ht * {\\n\\tpointer-events: none;\\n}\\n\\n.OsA2qRpHoDPcN93o_TUX {\\n\\t/* display: inline-block; */\\n\\tmargin: 0 5px;\\n\\tfont-family: Quicksand, avenir, sans-serif;\\n\\tfont-size: 110%;\\n}\\n.OsA2qRpHoDPcN93o_TUX .mLz637Atn0jZXey6Rx4v {\\n\\talign-items: center;\\n\\tgap: 6px;\\n}\\n.OsA2qRpHoDPcN93o_TUX .DejZXCvvhJILPbs9Q8ht {\\n\\talign-items: center;\\n\\tpadding: 6px 12px;\\n\\tborder-radius: 5px;\\n\\tcolor: var(--key-color-base);\\n\\tborder-bottom: .15em dotted var(--key-color-base);\\n\\tborder-radius: 0;\\n}\\n\\n.OsA2qRpHoDPcN93o_TUX .DejZXCvvhJILPbs9Q8ht:hover {\\n\\tbackground-color: var(--hover-selection);\\n\\tborder-radius: 5px;\\n\\tcolor: white;\\n\\tcursor: pointer;\\n}\\n\\n.DejZXCvvhJILPbs9Q8ht code+*::before {\\n\\tcontent: \\\"|\\\";\\n\\tbackground-color: transparent;\\n\\tmargin: auto 5px;\\n}\\n\\n.GliE4Ybwli9X6TNTjD1_ {\\n position: absolute;\\n top: 0;\\n left: 0;\\n font-size: 10px;\\n padding: 2px;\\n opacity: 0.65;\\n}\\n\\n.GliE4Ybwli9X6TNTjD1_:hover {\\n cursor: pointer;\\n color: var(--hover-selection) !important;\\n background-color: var(--key-bg-hover);\\n border-radius: 5px 0;\\n opacity: 1;\\n}\\n\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/Keyboard/Keys/styles.module.css\"],\"names\":[],\"mappings\":\"AAAA;CACC,kBAAkB;CAClB,aAAa;CACb,uBAAuB;CACvB,mBAAmB;;CAEnB,0CAA0C;;CAE1C,+DAA+D;CAC/D,WAAW;CACX,YAAY;;CAEZ,eAAe;CACf,kBAAkB;AACnB;;AAEA;CACC,sDAAsD;CACtD,0BAA0B;CAC1B,6BAA6B;CAC7B,iBAAiB;AAClB;;AAEA;CACC,kBAAkB;CAClB,SAAS;CACT,WAAW;CACX,cAAc;;CAEd,gEAAiD;AAClD;AACA;CACC,uBAAuB;AACxB;;AAEA;CACC,KAAK,6BAA6B;CAClC,OAAO,gCAAgC;AACxC;;AAEA;;;CAGC,4BAA4B;CAC5B,6BAA6B;CAC7B,2CAA2C;CAC3C,0BAA0B;AAC3B;;;AAGA;CACC,4BAA4B;CAC5B,oCAAoC;AACrC;;AAEA;CACC,mBAAmB;CACnB,oCAAoC;CACpC,4BAA4B;AAC7B;;AAEA;CACC,WAAW;CACX,YAAY;CACZ,mBAAmB;CACnB,oCAAoC;CACpC,4BAA4B;AAC7B;;AAEA;CACC,SAAS;CACT,2BAA2B;AAC5B;AACA;CACC,aAAa;CACb,sBAAsB;AACvB;AACA;CACC,YAAY;CACZ,eAAe;CACf,iBAAiB;AAClB;AACA;CACC,YAAY;CACZ,eAAe;CACf,iBAAiB;AAClB;AACA;;CAEC,YAAY;AACb;;;AAGA;CACC,kBAAkB;CAClB,MAAM;CACN,SAAS;CACT,2BAA2B;CAC3B,cAAc;AACf;;AAEA;CACC,wCAAwC;CACxC,iBAAiB;CACjB,UAAU;AACX;AACA;CACC,6BAA6B;AAC9B;AACA;CACC,YAAY;AACb;;AAEA;CACC,oBAAoB;AACrB;;AAEA,uBAAuB,eAAe,EAAE;AACxC,qBAAqB,cAAc,EAAE;;AAErC,2DAA6C,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE;AACzG,0DAA4C,YAAY,EAAE,YAAY,EAAE,iBAAiB,EAAE,WAAW,EAAE;AACxG,iGAAoE,YAAY,EAAE;;AAElF;CACC,eAAe;CACf,gBAAgB;CAChB,iBAAiB;CACjB,kBAAkB;AACnB;;AAEA;CACC,eAAe;CACf,qBAAqB;CACrB,uBAAuB;CACvB,gBAAgB;CAChB,kBAAkB;CAClB,kBAAkB;AACnB;AACA;CACC,kCAAkC;CAClC,wCAAwC;CACxC,6BAA6B;AAC9B;;AAEA;CACC,oBAAoB;AACrB;;AAEA;CACC,2BAA2B;CAC3B,aAAa;CACb,0CAA0C;CAC1C,eAAe;AAChB;AACA;CACC,mBAAmB;CACnB,QAAQ;AACT;AACA;CACC,mBAAmB;CACnB,iBAAiB;CACjB,kBAAkB;CAClB,4BAA4B;CAC5B,iDAAiD;CACjD,gBAAgB;AACjB;;AAEA;CACC,wCAAwC;CACxC,kBAAkB;CAClB,YAAY;CACZ,eAAe;AAChB;;AAEA;CACC,YAAY;CACZ,6BAA6B;CAC7B,gBAAgB;AACjB;;AAEA;EACE,kBAAkB;EAClB,MAAM;EACN,OAAO;EACP,eAAe;EACf,YAAY;EACZ,aAAa;AACf;;AAEA;EACE,eAAe;EACf,wCAAwC;EACxC,qCAAqC;EACrC,oBAAoB;EACpB,UAAU;AACZ\",\"sourcesContent\":[\".key {\\n\\tposition: relative;\\n\\tdisplay: flex;\\n\\tjustify-content: center;\\n\\talign-items: center;\\n\\n\\tfont-family: Quicksand, avenir, sans-serif;\\n\\n\\t/* TODO: remove this once I have a wrapper with size defaults */\\n\\twidth: 65px;\\n\\theight: 65px;\\n\\n\\tfont-size: 110%;\\n\\tborder-radius: 5px;\\n}\\n\\n.selectable:not(:hover) .missingValue {\\n\\ttext-decoration: underline wavy var(--error-highlight);\\n\\ttext-underline-offset: 4px;\\n\\tcolor: var(--error-highlight);\\n\\tfont-weight: bold;\\n}\\n\\n.missing {\\n\\tposition: absolute;\\n\\tleft: 2px;\\n\\tbottom: 2px;\\n\\tfont-size: 80%;\\n\\n\\tanimation: pulse ease-in-out 1s alternate-reverse;\\n}\\n.missing:hover {\\n\\tcolor: rgb(255, 225, 0);\\n}\\n\\n@keyframes pulse {\\n\\t0% { color: var(--key-color-base) }\\n\\t100% { color: var(--key-color-extreme) }\\n}\\n\\n.key:hover .code,\\n.key:hover .code :before,\\n.key:hover .behaviour-binding {\\n\\tborder-bottom-left-radius: 0;\\n\\tborder-bottom-right-radius: 0;\\n\\ttext-decoration: underline dotted white 2px;\\n\\ttext-underline-offset: 4px;\\n}\\n\\n\\n.keyDefaultTheme {\\n\\tcolor: var(--key-color-base);\\n\\tbackground-color: var(--key-bg-base);\\n}\\n\\n.encoder {\\n\\tborder-radius: 100%;\\n\\tbackground-color: var(--key-bg-base);\\n\\tcolor: var(--key-color-base);\\n}\\n\\n.encoder2 {\\n\\twidth: 80px;\\n\\theight: 80px;\\n\\tborder-radius: 100%;\\n\\tbackground-color: var(--key-bg-base);\\n\\tcolor: var(--key-color-base);\\n}\\n\\n.encoder2 .behaviour-binding {\\n\\tleft: 50%;\\n\\ttransform: translateX(-50%);\\n}\\n.encoder2 .params[data-is-root=\\\"true\\\"] {\\n\\tdisplay: flex;\\n\\tflex-direction: column;\\n}\\n.encoder2 .params[data-is-root=\\\"true\\\"] .param:first-child::before {\\n\\tcontent: \\\"⟳\\\";\\n\\tfont-size: 140%;\\n\\tfont-weight: bold;\\n}\\n.encoder2 .params[data-is-root=\\\"true\\\"] .param:nth-child(2)::before {\\n\\tcontent: \\\"⟲\\\";\\n\\tfont-size: 140%;\\n\\tfont-weight: bold;\\n}\\n.encoder2:hover .params[data-is-root=\\\"true\\\"] .param:first-child::before,\\n.encoder2:hover .params[data-is-root=\\\"true\\\"] .param:nth-child(2)::before {\\n\\tcolor: white;\\n}\\n\\n\\n.encoderDirection {\\n\\tposition: absolute;\\n\\ttop: 0;\\n\\tleft: 50%;\\n\\ttransform: translateX(-50%);\\n\\tfont-size: 50%;\\n}\\n\\n.key:hover, .encoder:hover {\\n\\tbackground-color: var(--hover-selection);\\n\\ttransition: 200ms;\\n\\tz-index: 1;\\n}\\n.key:hover .code, .key:hover .behaviour-binding {\\n\\tcolor: var(--key-color-hover);\\n}\\n.key > .code {\\n\\tpadding: 5px;\\n}\\n\\n.param {\\n\\tdisplay: inline-flex;\\n}\\n\\n[data-simple=\\\"true\\\"] { font-size: 140%; }\\n[data-long=\\\"true\\\"] { font-size: 60%; }\\n\\n.params:not([data-is-root=\\\"true\\\"])::before { content: '('; opacity: 0.4; font-weight: bold; margin: 2px; }\\n.params:not([data-is-root=\\\"true\\\"])::after { content: ')'; opacity: 0.4; font-weight: bold; margin: 2px; }\\n.params:not([data-is-root=\\\"true\\\"]) .param:not(:last-child)::after { content: ','; }\\n\\n.code {\\n\\tcursor: default;\\n\\tpadding: 0px 4px;\\n\\tmargin-left: -2px;\\n\\tmargin-right: -2px;\\n}\\n\\n.selectable .code {\\n\\tcursor: pointer;\\n\\tdisplay: inline-block;\\n\\tbox-sizing: content-box;\\n\\tmin-width: 0.5em;\\n\\ttext-align: center;\\n\\tborder-radius: 4px;\\n}\\n.key .code:hover {\\n\\tbackground-color: white !important;\\n\\tcolor: var(--hover-selection) !important;\\n\\tborder-radius: 4px !important;\\n}\\n\\n.code * {\\n\\tpointer-events: none;\\n}\\n\\n.extracted {\\n\\t/* display: inline-block; */\\n\\tmargin: 0 5px;\\n\\tfont-family: Quicksand, avenir, sans-serif;\\n\\tfont-size: 110%;\\n}\\n.extracted .param {\\n\\talign-items: center;\\n\\tgap: 6px;\\n}\\n.extracted .code {\\n\\talign-items: center;\\n\\tpadding: 6px 12px;\\n\\tborder-radius: 5px;\\n\\tcolor: var(--key-color-base);\\n\\tborder-bottom: .15em dotted var(--key-color-base);\\n\\tborder-radius: 0;\\n}\\n\\n.extracted .code:hover {\\n\\tbackground-color: var(--hover-selection);\\n\\tborder-radius: 5px;\\n\\tcolor: white;\\n\\tcursor: pointer;\\n}\\n\\n.code code+*::before {\\n\\tcontent: \\\"|\\\";\\n\\tbackground-color: transparent;\\n\\tmargin: auto 5px;\\n}\\n\\n.behaviour-binding {\\n position: absolute;\\n top: 0;\\n left: 0;\\n font-size: 10px;\\n padding: 2px;\\n opacity: 0.65;\\n}\\n\\n.behaviour-binding:hover {\\n cursor: pointer;\\n color: var(--hover-selection) !important;\\n background-color: var(--key-bg-hover);\\n border-radius: 5px 0;\\n opacity: 1;\\n}\\n\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"key\": \"CoLZlKR1WcMrFd9XhDMC\",\n\t\"selectable\": \"CT4uGhwl8sY0LwT3p39g\",\n\t\"missingValue\": \"UNzQquWsoIanOpIN0Q9L\",\n\t\"missing\": \"Y5EVt8b0BaXNd9uLxhfh\",\n\t\"pulse\": \"sYr3l9y03JxO_2AP73jr\",\n\t\"code\": \"DejZXCvvhJILPbs9Q8ht\",\n\t\"behaviour-binding\": \"GliE4Ybwli9X6TNTjD1_\",\n\t\"keyDefaultTheme\": \"huQDP3GbTLThbVIP8wFp\",\n\t\"encoder\": \"PpMmKpJfEi37Ldw7AeBT\",\n\t\"encoder2\": \"_F1Vep3btfY3Rl4VJaUQ\",\n\t\"params\": \"ApHDJFJGYUaGTgzMeIKZ\",\n\t\"param\": \"mLz637Atn0jZXey6Rx4v\",\n\t\"encoderDirection\": \"k2EIh8YlFvp9sBuklSxx\",\n\t\"extracted\": \"OsA2qRpHoDPcN93o_TUX\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","// Imports\nimport ___CSS_LOADER_API_SOURCEMAP_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/sourceMaps.js\";\nimport ___CSS_LOADER_API_IMPORT___ from \"../../node_modules/css-loader/dist/runtime/api.js\";\nvar ___CSS_LOADER_EXPORT___ = ___CSS_LOADER_API_IMPORT___(___CSS_LOADER_API_SOURCEMAP_IMPORT___);\n// Module\n___CSS_LOADER_EXPORT___.push([module.id, \".sP2kDRoTZElZUTNHq033 {\\n width: 300px;\\n\\tpadding: 10px;\\n\\tborder-radius: 4px;\\n\\tbackground: radial-gradient(\\n\\t\\trgba(var(--bg-rgb), 1) 20%,\\n\\t\\trgba(var(--bg-rgb), .6) 100%\\n\\t);\\n}\\n.sP2kDRoTZElZUTNHq033 input {\\n\\tdisplay: block;\\n\\twidth: 100%;\\n\\theight: 30px;\\n\\tline-height: 30px;\\n\\n\\tfont-size: 120%;\\n\\tmargin: 0;\\n\\tpadding: 4px;\\n\\tborder: none;\\n\\tborder-radius: 4px;\\n box-sizing: border-box;\\n}\\nul.inAS9Qunkf3g5K3xz6o6 {\\n\\tposition: relative;\\n\\tfont-family: monospace;\\n\\tlist-style-position: inside;\\n\\tlist-style-type: none;\\n\\tmax-height: 300px;\\n\\toverflow: scroll;\\n\\tpadding: 4px;\\n margin: 4px 0;\\n\\tbackground: rgba(0, 0, 0, 0.75);\\n\\tborder-radius: 4px;\\n}\\n.inAS9Qunkf3g5K3xz6o6 li {\\n\\tcursor: pointer;\\n\\tcolor: white;\\n\\tpadding: 5px;\\n}\\n.inAS9Qunkf3g5K3xz6o6 li:hover, .inAS9Qunkf3g5K3xz6o6 li.BL7Cxrn_efblQXY3W1Sw {\\n\\tbackground: white;\\n\\tcolor: black;\\n}\\n.inAS9Qunkf3g5K3xz6o6 li b { color: dodgerblue; }\\n.inAS9Qunkf3g5K3xz6o6 li .uld0XaeoQaQJJwp0LT0X {\\n\\tfont-style: italic;\\n\\tfont-size: 90%;\\n\\tmargin: 0;\\n\\tcolor: gray;\\n}\\n\\n.pqiZQublKXvmnT_ESDxQ {\\n font-size: 10px;\\n}\\n\\n.pqiZQublKXvmnT_ESDxQ a {\\n color: var(--selection);\\n border-bottom: 1px dotted var(--selection);\\n cursor: pointer;\\n}\\n\\n.ECUs4g2j1rekP4xxgQDr {\\n position: relative;\\n}\\n.ECUs4g2j1rekP4xxgQDr input {\\n padding: 4px 4px 4px 30px;\\n}\\n\\n.xDUAgQZeBp0TZSOqCwHm {\\n position: absolute;\\n\\ttop: 50%;\\n\\tleft: 10px;\\n\\ttransform: translateY(-50%);\\n\\tpointer-events: none;\\n}\\n.eY5zRl49sESLjXmizMEP {\\n position: absolute;\\n\\ttop: 50%;\\n\\tright: 10px;\\n\\ttransform: translateY(-50%);\\n\\tcursor: pointer;\\n}\", \"\",{\"version\":3,\"sources\":[\"webpack://./src/ValuePicker/style.module.css\"],\"names\":[],\"mappings\":\"AAAA;EACE,YAAY;CACb,aAAa;CACb,kBAAkB;CAClB;;;EAGC;AACF;AACA;CACC,cAAc;CACd,WAAW;CACX,YAAY;CACZ,iBAAiB;;CAEjB,eAAe;CACf,SAAS;CACT,YAAY;CACZ,YAAY;CACZ,kBAAkB;EACjB,sBAAsB;AACxB;AACA;CACC,kBAAkB;CAClB,sBAAsB;CACtB,2BAA2B;CAC3B,qBAAqB;CACrB,iBAAiB;CACjB,gBAAgB;CAChB,YAAY;EACX,aAAa;CACd,+BAA+B;CAC/B,kBAAkB;AACnB;AACA;CACC,eAAe;CACf,YAAY;CACZ,YAAY;AACb;AACA;CACC,iBAAiB;CACjB,YAAY;AACb;AACA,6BAAgB,iBAAiB,EAAE;AACnC;CACC,kBAAkB;CAClB,cAAc;CACd,SAAS;CACT,WAAW;AACZ;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,uBAAuB;EACvB,0CAA0C;EAC1C,eAAe;AACjB;;AAEA;EACE,kBAAkB;AACpB;AACA;EACE,yBAAyB;AAC3B;;AAEA;EACE,kBAAkB;CACnB,QAAQ;CACR,UAAU;CACV,2BAA2B;CAC3B,oBAAoB;AACrB;AACA;EACE,kBAAkB;CACnB,QAAQ;CACR,WAAW;CACX,2BAA2B;CAC3B,eAAe;AAChB\",\"sourcesContent\":[\".dialog {\\n width: 300px;\\n\\tpadding: 10px;\\n\\tborder-radius: 4px;\\n\\tbackground: radial-gradient(\\n\\t\\trgba(var(--bg-rgb), 1) 20%,\\n\\t\\trgba(var(--bg-rgb), .6) 100%\\n\\t);\\n}\\n.dialog input {\\n\\tdisplay: block;\\n\\twidth: 100%;\\n\\theight: 30px;\\n\\tline-height: 30px;\\n\\n\\tfont-size: 120%;\\n\\tmargin: 0;\\n\\tpadding: 4px;\\n\\tborder: none;\\n\\tborder-radius: 4px;\\n box-sizing: border-box;\\n}\\nul.results {\\n\\tposition: relative;\\n\\tfont-family: monospace;\\n\\tlist-style-position: inside;\\n\\tlist-style-type: none;\\n\\tmax-height: 300px;\\n\\toverflow: scroll;\\n\\tpadding: 4px;\\n margin: 4px 0;\\n\\tbackground: rgba(0, 0, 0, 0.75);\\n\\tborder-radius: 4px;\\n}\\n.results li {\\n\\tcursor: pointer;\\n\\tcolor: white;\\n\\tpadding: 5px;\\n}\\n.results li:hover, .results li.highlighted {\\n\\tbackground: white;\\n\\tcolor: black;\\n}\\n.results li b { color: dodgerblue; }\\n.results li .description {\\n\\tfont-style: italic;\\n\\tfont-size: 90%;\\n\\tmargin: 0;\\n\\tcolor: gray;\\n}\\n\\n.choices-counter {\\n font-size: 10px;\\n}\\n\\n.choices-counter a {\\n color: var(--selection);\\n border-bottom: 1px dotted var(--selection);\\n cursor: pointer;\\n}\\n\\n.searchWrapper {\\n position: relative;\\n}\\n.searchWrapper input {\\n padding: 4px 4px 4px 30px;\\n}\\n\\n.searchIcon {\\n position: absolute;\\n\\ttop: 50%;\\n\\tleft: 10px;\\n\\ttransform: translateY(-50%);\\n\\tpointer-events: none;\\n}\\n.clearSearchIcon {\\n position: absolute;\\n\\ttop: 50%;\\n\\tright: 10px;\\n\\ttransform: translateY(-50%);\\n\\tcursor: pointer;\\n}\"],\"sourceRoot\":\"\"}]);\n// Exports\n___CSS_LOADER_EXPORT___.locals = {\n\t\"dialog\": \"sP2kDRoTZElZUTNHq033\",\n\t\"results\": \"inAS9Qunkf3g5K3xz6o6\",\n\t\"highlighted\": \"BL7Cxrn_efblQXY3W1Sw\",\n\t\"description\": \"uld0XaeoQaQJJwp0LT0X\",\n\t\"choices-counter\": \"pqiZQublKXvmnT_ESDxQ\",\n\t\"searchWrapper\": \"ECUs4g2j1rekP4xxgQDr\",\n\t\"searchIcon\": \"xDUAgQZeBp0TZSOqCwHm\",\n\t\"clearSearchIcon\": \"eY5zRl49sESLjXmizMEP\"\n};\nexport default ___CSS_LOADER_EXPORT___;\n","\n import API from \"!../../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./styles.module.css\";\n export default content && content.locals ? content.locals : undefined;\n","\n import API from \"!../../node_modules/style-loader/dist/runtime/injectStylesIntoStyleTag.js\";\n import domAPI from \"!../../node_modules/style-loader/dist/runtime/styleDomAPI.js\";\n import insertFn from \"!../../node_modules/style-loader/dist/runtime/insertBySelector.js\";\n import setAttributes from \"!../../node_modules/style-loader/dist/runtime/setAttributesWithoutAttributes.js\";\n import insertStyleElement from \"!../../node_modules/style-loader/dist/runtime/insertStyleElement.js\";\n import styleTagTransformFn from \"!../../node_modules/style-loader/dist/runtime/styleTagTransform.js\";\n import content, * as namedExport from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./style.module.css\";\n \n \n\nvar options = {};\n\noptions.styleTagTransform = styleTagTransformFn;\noptions.setAttributes = setAttributes;\n\n options.insert = insertFn.bind(null, \"head\");\n \noptions.domAPI = domAPI;\noptions.insertStyleElement = insertStyleElement;\n\nvar update = API(content, options);\n\n\n\nexport * from \"!!../../node_modules/css-loader/dist/cjs.js??ruleSet[1].rules[2].use[1]!./style.module.css\";\n export default content && content.locals ? content.locals : undefined;\n"],"names":["options","styleTagTransform","setAttributes","insert","domAPI","insertStyleElement","undefined","ActionButton","children","secondary","className","props","styles","join","defaultProps","Tip","classNames","Icon","name","KeycodeBindNode","node","onSelect","expanded","handleClick","useCallback","event","stopPropagation","type","codes","useMemo","map","treeToSequence","key","at","codesSerialized","slice","reduce","serialized","mod","code","codeLabels","renderSource","label","i","Fragment","labels","length","title","getSourceTitle","display","description","missing","source","value","_isPlaceholder","content","compact","onClick","tree","params","sequenceToTree","seq","NullKey","displayName","text","symbol","toString","faIcon","Source","icon","BindValue","propTypes","bindPropTypes","PropTypes","h","s","b","handleSelectParams","isEmpty","some","v","bgStyle","backgroundColor","style","GenericBindNode","get","BindParamlist","slots","BindParam","slot","BindComponent","helper","HueSatValBindNode","root","wrapperProps","isRequired","Binding","context","hideBehaviour","binding","paramIndex","onUpdate","useContext","SearchContext","sources","mergedGlyphs","useState","editing","setEditing","bindTree","hydrateTree","paramSlice","bind","behavior","behavioursByContext","behaviorParams","getBehaviourParams","bindTreeParams","index","makeIndex","invalid","hasErrors","selectNodeForEditing","prompt","createPromptMessage","nodeIndex","indexOf","clearEditing","handleUpdateTree","updated","cloneDeep","targetNode","forEach","pick","handleUpdateParams","handleUpdateNode","raw","Number","enum","oldAdditionalParams","additionalParams","splice","p","push","handleUpdateBindValue","state","callbacks","useBindingEditor","isSimple","isComplex","ValuePicker","behaviour","searchKey","onCancel","enumOption","param","nodeShape","bindNode","traverse","normalized","first","shortSymbol","behaviourParams","isLongSymbol","isMultiParam","isNestedParam","promptMapping","layer","keycode","hydrateNode","as","defines","isNaN","find","getSourceValue","validateDevicetreeNodeName","match","validateDevicetreeIdentifier","validateDevicetreeLabel","Key","keyWrapperProps","selectable","themeClass","rest","classes","cycle","array","next","ResultList","results","renderResult","cursorIndex","setCursorIndex","listRef","useRef","moveCursor","initial","offset","element","scroll","height","top","bottom","selector","current","querySelector","offsetParent","scrollTop","offsetHeight","offsetTop","scrollHeight","scrollIntoView","handleHighlightNext","handleHightightPrev","handleSelectActive","handleKeyDown","action","ArrowDown","ArrowUp","Enter","preventDefault","useEffect","document","body","addEventListener","removeEventListener","ref","result","onDoubleClick","onMouseOver","focusInput","focus","select","SearchFilter","choices","searchKeys","renderResults","initialQuery","useSearch","query","setQuery","keys","limit","fuzzysort","obj","search","handleKeyPress","target","onChange","EnumPicker","getSearchTargets","GenericPicker","renderSearchResult","HSBPicker","l","hsl","setHsl","handleConfirm","Math","round","color","textAlign","leftModifiers","rightModifiers","modifiersMap","LS","short","full","LC","LA","LG","RS","RC","RA","RG","noDeselectMessage","ModifiersRow","selected","implicit","row","includes","ModifiersPicker","handleSelection","modifier","filter","titleResult","dangerouslySetInnerHTML","__html","aliases","renderSymbol","resultListStyle","KeycodePicker","initialModifiers","selectedModifiers","setSelectedModifiers","selectedKeycode","setSelectedKeycode","hydrated","modifiers","handleSelectKeycode","gap","KeyWrapper","marginTop","RawValuePicker","initialValue","setValue","onKeyDown","LayerPicker","layers","useSelector","selectLayers","pickerProps","PickerComponent","HueSatValPicker","Modal","onDismiss","searchThreshold","freeForm","___CSS_LOADER_EXPORT___","module","id","locals"],"sourceRoot":""}
\ No newline at end of file |