summaryrefslogtreecommitdiffhomepage
path: root/8573.8abff79303ed4e093d95.js.map
blob: a04add91b6726bdfc727ca771483c741b651a97d (plain)
1
{"version":3,"file":"8573.8abff79303ed4e093d95.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,GAAwC,MAApCC,EAAI,EAAJA,KAAMC,EAAQ,EAARA,SAAQ,IAAEC,SAAAA,OAAQ,IAAG,GAAK,EACnEC,GAAcC,EAAAA,EAAAA,cAAY,SAAUC,GACxCA,EAAMC,kBACNL,EAAS,CAAED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N,EAAU,CAAC,EAEfA,EAAQC,kBAAoB,IAC5BD,EAAQE,cAAgB,IAElBF,EAAQG,OAAS,SAAc,KAAM,QAE3CH,EAAQI,OAAS,IACjBJ,EAAQK,mBAAqB,IAEhB,IAAI,IAASL,GAKnB,IAAe,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/EnhancedPickers/RGB/styles.module.css?270a","webpack:///./src/EnhancedPickers/RGB/HueSatValBindNode.js","webpack:///./src/Keyboard/Binding/BindParamlist.js","webpack:///./src/Keyboard/Binding/BindValue.js","webpack:///./src/Keyboard/Binding/Binding.js","webpack:///./src/Keyboard/Binding/bindPropTypes.js","webpack:///./src/Keyboard/Binding/binding-editor.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/pickerPropTypes.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 { NullKey, 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 => (\n      code\n        ? code.description || code.name\n        : '⦸'\n    )).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      {missing ? <NullKey /> : 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","\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      border: `.1em solid hsl(${h.value}, ${s.value}%, ${b.value * 0.75}%)`,\n      boxSizing: 'border-box'\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 { 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","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 }, paramIndex, onUpdate)\n\n  return (\n    <>\n      {behavior && !hideBehaviour\n        ? (\n        <span\n          className={compact([\n            styles['behaviour-binding'],\n            !bindTree.source?.code && styles.missingValue\n          ]).join(' ')}\n          onClick={() => selectNodeForEditing({ node: bindTree })}\n        >\n          {bindTree.source?.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 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 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 { getBindingSlots } from '../../keymap'\n\nexport default function useBindingEditor (binding, paramIndex, onUpdate) {\n  const context = useContext(SearchContext)\n  const { sources } = context\n  const [editing, setEditing] = useState(null)\n\n  const bindTree = useMemo(() => (\n    hydrateTree(binding, context)\n  ), [binding, context])\n\n  const paramSlice = paramIndex === undefined ? [0] : [paramIndex, paramIndex + 1]\n\n  const bind = binding.value\n  const behavior = get(sources.behaviours, bind, {})\n  const behaviorParams = getBindingSlots(binding, context.behaviorParameters).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, node, type)\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    onUpdate(pick(updated, ['value', 'params']))\n    clearEditing()\n  }, [bindTree, editing, onUpdate, clearEditing])\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    onUpdate(pick(updated, ['value', 'params']))\n    clearEditing()\n  }, [bindTree, editing, onUpdate, clearEditing])\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    const newParams = targetNode.slot === 'behaviour'\n      ? (context.behaviorParameters[targetNode.value] || [])\n      : (source?.params || [])\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 = newParams.reduce((params, p, i) => {\n      if (targetNode.source?.params?.[i] === newParams[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    onUpdate(pick(updated, ['value', 'params', '_isPlaceholder']))\n    clearEditing()\n  }, [bindTree, context.behaviorParameters, onUpdate, clearEditing])\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    [\n      selectNodeForEditing,\n      clearEditing,\n      handleUpdateBindValue,\n      handleUpdateNode\n    ]\n  )\n\n  return useMemo(() => ([state, callbacks]), [state, callbacks])\n}\n","import find from 'lodash/find'\nimport get from 'lodash/get'\n\nimport { getBindingSlots } 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, node, type) {\n  const promptMapping = {\n    layer: 'Assign layer',\n    mod: 'Assign modifier',\n    behaviour: 'Assign behavior',\n    keycode: 'Assign key code'\n  }\n\n  // This currently only applies to &rgb_ug RGB_COLOR_HSB(...) because it is\n  // technically a single binding cell in the devicetree and we treat it as\n  // multiple parameters.\n  if (type === 'params') {\n    const name = node.source?.displayName || node.source?.name\n    if (name) {\n      return name\n    }\n  }\n\n  if (param.name) {\n    return `Assign ${param.name}`\n  }\n\n  if (param.raw) {\n    return 'Enter raw value'\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 && v.slot?.type !== 'placeholder')\n    ))) {\n      return true\n    }\n  }\n}\n\nexport function hydrateTree (binding, context) {\n  const { value, params } = binding\n  const { sources, mergedGlyphs, behaviorParameters } = context\n\n  const bind = value\n  const behaviour = get(sources.behaviours, bind, {})\n  const behaviourParams = getBindingSlots(binding, behaviorParameters)\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    // If the focus is on a button (most likely confirm/cancel) then we don't\n    // want to prevent 'Enter' from triggering that button. This isn't really\n    // a great solution but it's convenient in the short term until I can be\n    // bothered to refactor things.\n    if (event.target.nodeName === 'BUTTON') {\n      return\n    }\n\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 { bindNode } from '../Keyboard/Binding/bindPropTypes'\n\nexport const pickerPropTypes = {\n  onCancel: PropTypes.func,\n\n  /**\n   * For multi-step selections, this just updates the parent component\n   */\n  onChange: PropTypes.func,\n\n  /**\n   * For single-step selections or other events that \"complete\" the interaction\n   * this callback cues the parent to close the picker.\n   */\n  onSelect: PropTypes.func.isRequired,\n  node: bindNode.isRequired,\n  searchKey: PropTypes.string.isRequired,\n  searchThreshold: PropTypes.number\n}\n","import { useContext, useMemo } from 'react'\n\nimport { SearchContext } from '../providers'\nimport ResultList from './ResultList'\nimport style from './style.module.css'\nimport { pickerPropTypes } from './pickerPropTypes'\n\nexport default function EnumPicker (props) {\n  const { getSearchTargets } = useContext(SearchContext)\n  const { param, onSelect } = props\n\n  const choices = useMemo(() => (\n    getSearchTargets(param)\n  ), [getSearchTargets, param])\n\n  return (\n    <ResultList\n      results={choices}\n      onSelect={onSelect}\n      renderResult={result => (\n        <>\n          {result.code}\n          {result.description && (\n            <p className={style.description}>\n              {result.description}\n            </p>\n          )}\n        </>\n      )}\n    />\n  )\n}\n\nEnumPicker.propTypes = pickerPropTypes\n","import fuzzysort from 'fuzzysort'\nimport { useContext, useMemo } from 'react'\n\nimport { SearchContext } from '../providers'\nimport ResultList from './ResultList'\nimport SearchFilter from './SearchFilter'\nimport style from './style.module.css'\nimport { pickerPropTypes } from './pickerPropTypes'\n\nexport default function GenericPicker (props) {\n  const { searchKey, node, param, behaviour, context, onSelect } = props\n  const { getSearchTargets } = useContext(SearchContext)\n\n  const choices = useMemo(() => {\n    return getSearchTargets(param, behaviour.code, context)\n  }, [getSearchTargets, param, behaviour, context])\n\n  return (\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  )\n}\n\nGenericPicker.propTypes = pickerPropTypes\n\nfunction renderSearchResult (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 && (\n        <p className={style.description}>\n          {description}\n        </p>\n      )}\n    </>\n  )\n}\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    <>\n      <div style={{ display: 'flex', justifyContent: 'center' }}>\n        <HslColorPicker\n          color={hsl}\n          onChange={setHsl}\n        />\n      </div>\n      <p style={{ textAlign: 'center' }}>\n        <ActionButton onClick={handleConfirm}>Confirm</ActionButton>\n      </p>\n    </>\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 without from 'lodash/without'\nimport 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: 'Right Shift' },\n  RC: { short: 'RCTRL', full: 'Right Control' },\n  RA: { short: 'RALT', full: 'Right Alt' },\n  RG: { short: 'RGUI', full: 'Right 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, onChange }) {\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        >\n          <label>\n            <input\n              type=\"checkbox\"\n              checked={(\n                selected.includes(mod) ||\n                implicit.includes(mod)\n              )}\n              disabled={implicit.includes(mod)}\n              onChange={e => {\n                onChange(\n                  e.target.checked\n                    ? [...selected, mod]\n                    : without(selected, mod)\n                )\n              }}\n            /> {(\n              modifiersMap[mod].short\n            )}\n          </label>\n        </li>\n      ))}\n    </ul>\n  )\n}\n\nfunction ModifiersPicker ({ selected, implicit, onChange }) {\n  return (\n    <div className={style.allModifiers}>\n      <ModifiersRow row={leftModifiers} selected={selected} implicit={implicit} onChange={onChange} />\n      <ModifiersRow row={rightModifiers} selected={selected} implicit={implicit} onChange={onChange} />\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 context = useContext(SearchContext)\n  const { getSearchTargets } = context\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    value: '&kp',\n    params: [{\n      value: selectedKeycode?.code,\n      params: selectedKeycode?.params\n    }]\n  }, context)\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.wrapper)}>\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 disabled={!selectedKeycode?.code} 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  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 { useCallback, useState } from 'react'\n\nimport { pickerPropTypes } from './pickerPropTypes'\n\nfunction focusInput (node) {\n  if (node) {\n    node.focus()\n    node.select()\n  }\n}\n\nexport default function 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    <input\n      ref={focusInput}\n      type=\"text\"\n      value={value}\n      onChange={handleKeyPress}\n      onKeyDown={handleKeyDown}\n    />\n  )\n}\n\nRawValuePicker.propTypes = pickerPropTypes\n","import { 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'\nimport { pickerPropTypes } from './pickerPropTypes'\n\nexport default function 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    <ResultList\n      results={choices}\n      onSelect={onSelect}\n      renderResult={result => (\n        <>\n          {result.code}\n          {result.description && (\n            <p className={style.description}>\n              {result.description}\n            </p>\n          )}\n        </>\n      )}\n    />\n  )\n}\n\nLayerPicker.propTypes = pickerPropTypes\n","import pick from 'lodash/pick'\nimport PropTypes from 'prop-types'\nimport { useMemo } from 'react'\n\nimport DialogBox from '../Common/DialogBox'\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'\nimport styles from './style.module.css'\n\nexport function 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    <PickerComponent\n      {...pickerProps}\n      param={node.slot}\n      onSelect={onSelect}\n    />\n  )\n}\n\nValuePicker.propTypes = {\n  type: PropTypes.string.isRequired,\n  node: bindNode.isRequired,\n  behaviour: PropTypes.object.isRequired,\n  searchKey: PropTypes.string.isRequired,\n  searchThreshold: PropTypes.number,\n  onCancel: PropTypes.func,\n  onUpdate: PropTypes.func,\n  onSelect: PropTypes.func.isRequired\n}\n\nValuePicker.defaultProps = {\n  type: 'value',\n  value: '',\n  freeForm: false,\n  searchThreshold: 10\n}\n\nexport default function ValuePickerDialog (props) {\n  const { node, prompt, onUpdate, onCancel, ...rest } = props\n\n  // const handleConfirm = useCallback(() => {\n  //   onUpdate(node)\n  // }, [node, onUpdate])\n\n  return (\n    <Modal onDismiss={onCancel}>\n      <DialogBox dismissText={null} classes={[styles.dialogWrapper]}>\n        <h2>{prompt}</h2>\n        <ValuePicker\n          onSelect={onUpdate}\n          node={node}\n          {...rest}\n        />\n        {/* <div style={{ marginTop: '10px', textAlign: 'center' }}>\n          <ActionButton onClick={handleConfirm}>Confirm</ActionButton>\n          <ActionButton onClick={onCancel} secondary>Cancel</ActionButton>\n        </div> */}\n      </DialogBox>\n    </Modal>\n  )\n}\n\nValuePickerDialog.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  onChange: PropTypes.func,\n  onSelect: PropTypes.func.isRequired\n}\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, \".AmikJd3HeM7NGUa8io2A {\\n  width: 350px;\\n}\\n\\n.AmikJd3HeM7NGUa8io2A h3:first-child {\\n  margin-top: 0px;\\n}\\n\\n.xCOOsvxL5qQ3kR8ri91A {\\n  pointer-events: none;\\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, monospace;\\n  font-size: 70%;\\n  margin: 2px;\\n  border-radius: 2px;\\n\\n  background-color: rgba(0, 0, 0, .5);\\n  opacity: 0.5;\\n  color: white;\\n}\\n.u4uW9U2E0DfbUM9vP9pf li label {\\n  display: inline-block;\\n  padding: 4px;\\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.u4uW9U2E0DfbUM9vP9pf li input[type=\\\"checkbox\\\"] {\\n  margin: 0;\\n  vertical-align: text-bottom;\\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;AACd;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,oBAAoB;EACpB,6CAA6C;AAC/C;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,kBAAkB;EAClB,UAAU;EACV,SAAS;AACX;;AAEA;EACE,qBAAqB;EACrB,iCAAiC;EACjC,cAAc;EACd,WAAW;EACX,kBAAkB;;EAElB,mCAAmC;EACnC,YAAY;EACZ,YAAY;AACd;AACA;EACE,qBAAqB;EACrB,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,SAAS;EACT,2BAA2B;AAC7B;;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\":[\".wrapper {\\n  width: 350px;\\n}\\n\\n.wrapper h3:first-child {\\n  margin-top: 0px;\\n}\\n\\n.previewKeycode {\\n  pointer-events: none;\\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, monospace;\\n  font-size: 70%;\\n  margin: 2px;\\n  border-radius: 2px;\\n\\n  background-color: rgba(0, 0, 0, .5);\\n  opacity: 0.5;\\n  color: white;\\n}\\n.modifiers li label {\\n  display: inline-block;\\n  padding: 4px;\\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.modifiers li input[type=\\\"checkbox\\\"] {\\n  margin: 0;\\n  vertical-align: text-bottom;\\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\"wrapper\": \"AmikJd3HeM7NGUa8io2A\",\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.CoLZlKR1WcMrFd9XhDMC.MZMfZSmJbwqqfp28UUOi { cursor: pointer; }\\n.CoLZlKR1WcMrFd9XhDMC.MZMfZSmJbwqqfp28UUOi * {\\n\\tpointer-events: none;\\n\\tborder: none;\\n\\ttext-decoration: none !important;\\n}\\n\\n\\n.CT4uGhwl8sY0LwT3p39g:not(:hover) .UNzQquWsoIanOpIN0Q9L,\\n.OsA2qRpHoDPcN93o_TUX:not(:hover) .DejZXCvvhJILPbs9Q8ht.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.8;\\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,6CAAe,eAAe,EAAE;AAChC;CACC,oBAAoB;CACpB,YAAY;CACZ,gCAAgC;AACjC;;;AAGA;;CAEC,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,6B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ACT;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,YAAY;AACd;;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.key.unified { cursor: pointer; }\\n.key.unified * {\\n\\tpointer-events: none;\\n\\tborder: none;\\n\\ttext-decoration: none !important;\\n}\\n\\n\\n.selectable:not(:hover) .missingValue,\\n.extracted:not(:hover) .code.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.8;\\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\"unified\": \"MZMfZSmJbwqqfp28UUOi\",\n\t\"selectable\": \"CT4uGhwl8sY0LwT3p39g\",\n\t\"missingValue\": \"UNzQquWsoIanOpIN0Q9L\",\n\t\"extracted\": \"OsA2qRpHoDPcN93o_TUX\",\n\t\"code\": \"DejZXCvvhJILPbs9Q8ht\",\n\t\"missing\": \"Y5EVt8b0BaXNd9uLxhfh\",\n\t\"pulse\": \"sYr3l9y03JxO_2AP73jr\",\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};\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\\twidth: 300px;\\n\\tbackground-color: var(--dialog-bg);\\n}\\n\\n.yaxqlR_GEWJ1lBISL3_N {\\n  min-width: 300px;\\n\\tpadding: 15px\\n}\\n.yaxqlR_GEWJ1lBISL3_N input[type=\\\"text\\\"] {\\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.yaxqlR_GEWJ1lBISL3_N .ECUs4g2j1rekP4xxgQDr input {\\n  padding-left: 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;CACC,YAAY;CACZ,kCAAkC;AACnC;;AAEA;EACE,gBAAgB;CACjB;AACD;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,kBAAkB;AACpB;;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\\twidth: 300px;\\n\\tbackground-color: var(--dialog-bg);\\n}\\n\\n.dialogWrapper {\\n  min-width: 300px;\\n\\tpadding: 15px\\n}\\n.dialogWrapper input[type=\\\"text\\\"] {\\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.dialogWrapper .searchWrapper input {\\n  padding-left: 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\"dialogWrapper\": \"yaxqlR_GEWJ1lBISL3_N\",\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","h","s","b","handleSelectParams","isEmpty","some","v","bgStyle","backgroundColor","border","boxSizing","BindValue","style","GenericBindNode","get","BindParamlist","slots","BindParam","slot","BindComponent","helper","HueSatValBindNode","root","wrapperProps","propTypes","PropTypes","bindPropTypes","isRequired","NullKey","displayName","text","symbol","toString","faIcon","Source","icon","Binding","context","hideBehaviour","paramIndex","onUpdate","useBindingEditor","behavior","behaviorParams","bindTree","bindTreeParams","editing","invalid","selectNodeForEditing","clearEditing","handleUpdateBindValue","isSimple","isComplex","behaviour","prompt","createPromptMessage","searchKey","onCancel","enumOption","param","enum","raw","nodeShape","bindNode","binding","useContext","SearchContext","sources","useState","setEditing","hydrateTree","paramSlice","bind","behaviours","getBindingSlots","behaviorParameters","index","makeIndex","hasErrors","nodeIndex","indexOf","handleUpdateTree","updated","cloneDeep","targetNode","forEach","pick","handleUpdateParams","handleUpdateNode","Number","oldAdditionalParams","additionalParams","splice","newParams","p","push","state","callbacks","traverse","normalized","first","shortSymbol","behaviourParams","isLongSymbol","isMultiParam","isNestedParam","promptMapping","layer","keycode","mergedGlyphs","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","target","nodeName","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","onChange","pickerPropTypes","searchThreshold","EnumPicker","getSearchTargets","GenericPicker","renderSearchResult","HSBPicker","l","hsl","setHsl","handleConfirm","Math","round","justifyContent","color","textAlign","leftModifiers","rightModifiers","modifiersMap","LS","short","full","LC","LA","LG","RS","RC","RA","RG","noDeselectMessage","ModifiersRow","selected","implicit","row","includes","checked","disabled","e","without","ModifiersPicker","titleResult","dangerouslySetInnerHTML","__html","aliases","renderSymbol","resultListStyle","KeycodePicker","initialModifiers","selectedModifiers","setSelectedModifiers","selectedKeycode","setSelectedKeycode","filter","hydrated","modifiers","handleSelectKeycode","gap","KeyWrapper","marginTop","RawValuePicker","initialValue","setValue","onKeyDown","LayerPicker","layers","useSelector","selectLayers","ValuePicker","pickerProps","PickerComponent","HueSatValPicker","ValuePickerDialog","Modal","onDismiss","DialogBox","dismissText","freeForm","___CSS_LOADER_EXPORT___","module","id","locals"],"sourceRoot":""}