summaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorNick Coutsos <[email protected]>2023-09-29 17:00:29 -0400
committerNick Coutsos <[email protected]>2023-09-29 17:00:29 -0400
commit6d7bf8d5d184cb4a97bab3e7ef6015f341d0937f (patch)
treea401b57ae0097b3ead612478908b945ab9980326
parent577e5744a16f62a30e81269d665da99fde8e308a (diff)
downloadkeymap-editor-6d7bf8d5d184cb4a97bab3e7ef6015f341d0937f.tar.gz
keymap-editor-6d7bf8d5d184cb4a97bab3e7ef6015f341d0937f.zip
Tweaks and update demo keymap with parameterized macros
-rw-r--r--6538.7dfe5ec2e199138d83a6.js2
-rw-r--r--8873.18e65ae40d648dcca046.js1
-rw-r--r--MacroEditorTab.084f0dfd794e82d94730.js2
-rw-r--r--index.html2
-rw-r--r--runtime.d569e376b7656b6aadd1.js2
5 files changed, 8 insertions, 1 deletions
diff --git a/6538.7dfe5ec2e199138d83a6.js b/6538.7dfe5ec2e199138d83a6.js
new file mode 100644
index 0000000..7df55c8
--- /dev/null
+++ b/6538.7dfe5ec2e199138d83a6.js
@@ -0,0 +1,2 @@
+"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[6538],{27926:function(n,e,r){r.d(e,{Z:function(){return B}});var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),d=r(19216),A=r.n(d),f=r(44589),p=r.n(f),b=r(56281),m={};m.styleTagTransform=p(),m.setAttributes=s(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=A(),o()(b.Z,m);var y=b.Z&&b.Z.locals?b.Z.locals:void 0,v=r(85893);function h(n){return h="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},h(n)}var g=["children","secondary","className"];function C(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function x(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?C(Object(r),!0).forEach((function(e){j(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):C(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function j(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==h(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==h(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===h(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function E(n){var e=n.children,r=n.secondary,t=n.className,o=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,g);return(0,v.jsx)("button",x(x({className:[t,y.action,r&&y.secondary].join(" ")},o),{},{children:e}))}E.defaultProps={className:""};var B=E},2062:function(n,e,r){r.d(e,{Z:function(){return g}});var t=r(41051),o=r(93379),i=r.n(o),a=r(7795),l=r.n(a),c=r(90569),u=r.n(c),s=r(3565),d=r.n(s),A=r(19216),f=r.n(A),p=r(44589),b=r.n(p),m=r(528),y={};y.styleTagTransform=b(),y.setAttributes=d(),y.insert=u().bind(null,"head"),y.domAPI=l(),y.insertStyleElement=f(),i()(m.Z,y);var v=m.Z&&m.Z.locals?m.Z.locals:void 0,h=r(85893);function g(n){var e=n.children,r=n.className,o=void 0===r?"":r,i=[v.tip,o].join(" ");return(0,h.jsxs)("div",{className:i,children:[(0,h.jsx)(t.Z,{className:"fa-flip-horizontal",name:"hand-point-up"})," ",e]})}},81404:function(n,e,r){r.d(e,{Z:function(){return y}});var t=r(94184),o=r.n(t),i=r(67294),a=r(39693),l=r.n(a),c=r(35161),u=r.n(c),s=r(52156),d=r(61953),A=r(38356),f=r(74871),p=r(85893);function b(n){return b="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},b(n)}function m(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function y(n){var e,r=n.node,t=n.onSelect,o=n.expanded,a=void 0!==o&&o,c=(0,i.useCallback)((function(n){n.stopPropagation(),t({node:r,type:"tree"})}),[r,t]),A=void 0===(null===(e=r.source)||void 0===e?void 0:e.code)||void 0===r.value||r._isPlaceholder,b=(0,i.useMemo)((function(){return u()((0,f.H)(r),"source")}),[r]),m=b.length>1,y=(0,i.useMemo)((function(){return b.map(s.rG).join(" + ")}),[b]),C=a?(0,p.jsx)(v,{codes:b}):m?(0,p.jsx)(h,{codes:b}):(0,p.jsx)(g,{codes:b});return(0,p.jsx)("span",{className:l()([d.Z.code,A&&d.Z.missingValue]).join(" "),title:y,onClick:c,children:A?(0,p.jsx)(s.J1,{}):C})}function v(n){var e=n.codes,r=(0,i.useMemo)((function(){var n=e.slice(0,-1),r=e.at(-1);return n.reduce((function(n,e){return"".concat(e.code,"(").concat(n,")")}),null==r?void 0:r.code)}),[e]),t=(0,i.useMemo)((function(){return e.map((function(n){return n?n.description||n.name:"⦸"})).join(" + ")}),[e]);return(0,p.jsxs)(p.Fragment,{children:[(0,p.jsx)("code",{children:r}),(0,p.jsx)("span",{children:t})]})}function h(n){var e=n.codes,r=(0,i.useMemo)((function(){return e.slice(0,-1).map(s.r8).map((function(n,e){return(0,p.jsx)("span",{children:n},e)})).reduce((function(n,e){return 0===n.length?[e]:[].concat(function(n){if(Array.isArray(n))return m(n)}(r=n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(r)||function(n,e){if(n){if("string"==typeof n)return m(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?m(n,e):void 0}}(r)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),[e]);var r}),[])}),[e]),t=(0,i.useMemo)((function(){return(0,s.r8)(e.at(-1))}),[e]);return(0,p.jsxs)("span",{className:A.Z.keycodeWithModifiers,children:[(0,p.jsx)("span",{className:A.Z.appliedModifierSymbols,children:r}),(0,p.jsx)("span",{className:A.Z.modifiedKeycodeSymbol,children:t})]})}function g(n){var e,r,t,a=n.codes,l=(0,i.useMemo)((function(){return(0,s.r8)(a[0])}),[a]);return(0,p.jsx)("span",{className:o()((e={},r=A.Z.modifier,t=a[0].isModifier,(r=function(n){var e=function(n,e){if("object"!==b(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==b(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===b(e)?e:String(e)}(r))in e?Object.defineProperty(e,r,{value:t,enumerable:!0,configurable:!0,writable:!0}):e[r]=t,e)),children:l})}},74871:function(n,e,r){function t(n,e){if(n){if("string"==typeof n)return i(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?i(n,e):void 0}}function o(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}function i(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function a(n){return n.params.length>0?[n].concat(function(n){if(Array.isArray(n))return i(n)}(e=a(n.params[0]))||o(e)||t(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()):[n];var e}function l(n){var e,r=function(n){if(Array.isArray(n))return n}(e=n)||o(e)||t(e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}(),i=r[0],a=r.slice(1);return{value:i,params:0===a.length?[]:[l(a)]}}r.d(e,{H:function(){return a},n:function(){return l}})},77103:function(n,e,r){r.d(e,{N:function(){return L},Z:function(){return Q}});var t=r(27361),o=r.n(t),i=r(45697),a=r.n(i),l=r(67294),c=r(67069),u=r(52156),s=r(81404),d=r(61953),A=r(93379),f=r.n(A),p=r(7795),b=r.n(p),m=r(90569),y=r.n(m),v=r(3565),h=r.n(v),g=r(19216),C=r.n(g),x=r(44589),j=r.n(x),E=r(33151),B={};B.styleTagTransform=j(),B.setAttributes=h(),B.insert=y().bind(null,"head"),B.domAPI=b(),B.insertStyleElement=C(),f()(E.Z,B);var S=E.Z&&E.Z.locals?E.Z.locals:void 0,w=r(85893);function O(n){return O="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},O(n)}function k(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function P(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?k(Object(r),!0).forEach((function(e){Z(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):k(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function Z(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==O(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==O(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===O(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function T(n){var e=n.hue,r=n.saturation,t=n.brightness,o=n.wrapperProps,i=(0,l.useMemo)((function(){return[e,r,t].some((function(n){return void 0===(null==n?void 0:n.value)}))?{}:{backgroundColor:"hsl(".concat(e.value,", ").concat(r.value,"%, ").concat(t.value,"%)"),border:".1em solid hsl(".concat(e.value,", ").concat(r.value,"%, ").concat(.75*t.value,"%)"),boxSizing:"border-box"}}),[e,r,t]);return(0,w.jsx)("div",P(P({className:S.colorIconWrapper},o),{},{children:(0,w.jsx)("div",{className:S.colorIcon,title:i.backgroundColor,style:i})}))}function D(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var I=function(n){var e,r,t=n.node,o=n.onSelect,i=n.expanded,a=(e=t.params,r=3,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return D(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?D(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=a[0],s=a[1],A=a[2],f=(0,l.useCallback)((function(n){var e;null==n||null===(e=n.stopPropagation)||void 0===e||e.call(n),o({node:t,type:"tree"})}),[t,o]),p=(0,l.useMemo)((function(){return[c,s,A].some((function(n){return void 0===(null==n?void 0:n.value)||(null==n?void 0:n._isPlaceholder)}))}),[c,s,A]);return(0,w.jsxs)(w.Fragment,{children:[t.slot.const?i?(0,w.jsx)("span",{children:"HSB"}):(0,w.jsx)("span",{className:d.Z.code,children:"HSB"}):(0,w.jsx)(u.ZP,{node:t,onSelect:o}),p?(0,w.jsx)(u.ZP,{node:{},onSelect:f}):(0,w.jsx)(T,{hue:c,saturation:s,brightness:A,wrapperProps:{onClick:f}})]})},M=r(94184),q=r.n(M);function Y(n){var e=n.node,r=n.expanded,t=void 0!==r&&r,o=e.source,i=o.displayName||o.description||o.name,a=(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)("code",{children:o.code}),i&&(0,w.jsx)("span",{children:i})]});return(0,w.jsx)("span",{className:q()(d.Z.code,d.Z.constantValue),title:"This placeholder will be substituted with parameters given when the macro is bound",children:t?a:"??"})}function N(n){return N="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},N(n)}function R(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function U(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?R(Object(r),!0).forEach((function(e){K(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):R(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function K(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==N(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==N(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===N(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function z(n){var e=n.node,r=n.onSelect,t=n.expanded;return(0,w.jsxs)(w.Fragment,{children:[(0,w.jsx)(u.ZP,{node:e,onSelect:r,expanded:t}),o()(e,"source.params.length")>0?(0,w.jsx)(W,{slots:e.source.params,params:e.params,onSelect:r}):null]})}function L(n){var e=n.node,r=n.onSelect,t=n.slot,o=n.expanded,i=void 0!==o&&o,a=(0,l.useMemo)((function(){var n,r,o;return"hsb-color-picker"===(null===(n=e.source)||void 0===n?void 0:n.helper)?I:"MACRO_PLACEHOLDER"===(null===(r=e.slot)||void 0===r||null===(o=r.const)||void 0===o?void 0:o.code)?Y:"code"===t?s.Z:z}),[e,t]);return(0,w.jsx)("span",{className:d.Z.param,children:(0,w.jsx)(a,{node:e,onSelect:r,expanded:i})})}function W(n){var e=n.slots,r=n.params,t=n.onSelect,o=n.root,i=n.wrapperProps;return(0,w.jsx)("span",U(U({className:d.Z.params,"data-is-root":!!o,"data-param-count":r.length},i),{},{children:e.map((function(n,e){return"placeholder"!==n.type&&(0,w.jsx)(L,{slot:n,node:r[e],onSelect:t},e)}))}))}W.propTypes={slots:a().arrayOf(c.wu).isRequired,params:a().arrayOf(c.le).isRequired,source:c.qz,onSelect:a().func};var Q=W},52156:function(n,e,r){r.d(e,{J1:function(){return p},r8:function(){return m},rG:function(){return b}});var t=r(94184),o=r.n(t),i=r(67294),a=r(45697),l=r.n(a),c=r(67069),u=r(61953),s=r(41051),d=r(85893);function A(n){return A="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},A(n)}function f(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==A(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==A(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===A(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function p(){return(0,d.jsx)("span",{children:"⦸"})}function b(n){var e=(null==n?void 0:n.displayName)||(null==n?void 0:n.description);return n&&"(".concat(n.code,") ").concat(e)}function m(n){var e,r=(null==n?void 0:n.symbol)||(null==n||null===(e=n.code)||void 0===e?void 0:e.toString());return(null==n?void 0:n.faIcon)&&(0,d.jsx)(s.Z,{name:null==n?void 0:n.faIcon})||r||(0,d.jsx)(p,{})}function y(n){var e,r,t=n.value,o=n.expanded;if(void 0===o||!o)return m(t);if(!t)return(0,d.jsx)(p,{});var i=null===(e=t.code)||void 0===e||null===(r=e.toString)||void 0===r?void 0:r.call(e),a=t.displayName||t.description||t.name;return(0,d.jsxs)(d.Fragment,{children:[(0,d.jsx)("code",{children:i}),a&&(0,d.jsx)("span",{children:a})]})}function v(n){var e,r,t=n.node,a=n.onSelect,l=n.expanded,c=void 0!==l&&l,s=t.value,A=t.source,m=t._isPlaceholder,v=b(A),h=(0,i.useCallback)((function(n){n.stopPropagation(),a({node:t})}),[t,a]);return(0,d.jsx)("span",{className:o()(u.Z.code,(r={},f(r,u.Z.missingValue,void 0===s||m),f(r,u.Z.constantValue,!(null==t||null===(e=t.slot)||void 0===e||!e.const)),r)),title:v,onClick:h,children:m?(0,d.jsx)(p,{}):(0,d.jsx)(y,{value:A,expanded:c})})}v.propTypes={node:c.le.isRequired,onSelect:l().func},e.ZP=v},27213:function(n,e,r){r.d(e,{Z:function(){return A}});var t=r(94184),o=r.n(t),i=r(77103),a=r(64536),l=r(39017),c=r(61953),u=r(41051),s=r(85893);function d(n){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},d(n)}function A(n){var e,r,t,a,A,f=n.value,p=n.hideBehavior,b=void 0!==p&&p,m=(0,l.wQ)(f),y=(0,l.UU)(f),v=m.source,h=(0,l.Kf)(m),g=v?(0,s.jsx)("span",{className:o()(c.Z["behaviour-binding"],(t={},a=c.Z.missingValue,A=!(null!==(e=m.source)&&void 0!==e&&e.code),(a=function(n){var e=function(n,e){if("object"!==d(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==d(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===d(e)?e:String(e)}(a))in t?Object.defineProperty(t,a,{value:A,enumerable:!0,configurable:!0,writable:!0}):t[a]=A,t)),children:(null===(r=m.source)||void 0===r?void 0:r.code)||"⦸"}):null;return(0,s.jsxs)(s.Fragment,{children:[!b&&g,h&&(0,s.jsx)(u.Z,{name:"warning",className:c.Z.missing,title:"Binding has missing value(s)"}),(0,s.jsx)(i.Z,{root:!0,slots:y,params:m.params,wrapperProps:{"data-simple":(0,l.Gg)(m),"data-long":(0,l.Mc)(m,y)}})]})}A.propTypes={value:a.U4.isRequired}},30314:function(n,e,r){r.d(e,{D:function(){return l},H:function(){return c}});var t=r(67294),o=r(85893),i=["children"];var a=(0,t.createContext)({paramOverrides:[]});function l(n){var e=n.children,r=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,i);return(0,o.jsx)(a.Provider,{value:r,children:e})}function c(){return(0,t.useContext)(a)}},67069:function(n,e,r){r.d(e,{le:function(){return A},qz:function(){return u},wu:function(){return a}});var t=r(45697),o=r.n(t),i=o().oneOfType([o().number,o().shape({name:o().string,type:o().string,description:o().string,code:o().any})]),a=o().oneOfType([o().oneOf(["code","layer"]),o().shape({type:o().oneOf(["placeholder"])}),o().shape({enum:o().arrayOf(i),raw:o().bool,name:o().string,type:o().string.isRequired})]),l=o().arrayOf(a),c=o().oneOfType([o().string,o().number]),u=o().shape({params:l,code:c.isRequired,description:o().string,symbol:o().string,faIcon:o().string}),s={value:c,source:u};s.params=o().arrayOf(o().shape(s));var d=o().shape(s),A=d;o().arrayOf(d)},39017:function(n,e,r){r.d(e,{Gg:function(){return g},He:function(){return j},Kf:function(){return O},Mc:function(){return C},NB:function(){return x},NE:function(){return S},UU:function(){return w},ci:function(){return k},wQ:function(){return B},wx:function(){return E}});var t=r(50361),o=r.n(t),i=r(13311),a=r.n(i),l=r(27361),c=r.n(l),u=r(67294),s=r(41696),d=r(81485),A=r(30314);function f(n){return f="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},f(n)}function p(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function b(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){m(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function m(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==f(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==f(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===f(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function y(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||v(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function v(n,e){if(n){if("string"==typeof n)return h(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(n,e):void 0}}function h(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function g(n){var e=y(n.params,1)[0],r=c()(e,"source.symbol",c()(e,"source.code","")),t=!!c()(e,"source.faIcon")||1===r.length;return 1===n.params.length&&t}function C(n,e){var r=y(n.params,1)[0],t=c()(r,"source.symbol",c()(r,"value","")),o=!c()(r,"source.faIcon")&&t.length>4,i=e.length>1,a=c()(r,"params",[]).length>0;return o||i||a}function x(n,e){var r=arguments.length>2&&void 0!==arguments[2]?arguments[2]:[],t=n.value,o=n.params,i=e.sources,l=e.mergedGlyphs,u=e.behaviorParameters,d=t;function A(n,e){if(!n)return null!=e&&e.const?{slot:e,source:e.const,value:e.const.code,params:e.const.params.map((function(){return{value:0,params:[],_isPlaceholder:!0}}))}:{value:void 0,slot:e,params:[]};var r=n.value,t=n.params,o=n._isPlaceholder,u=function(n,e){var r;if(n=c()(i.defines,n,n),Number.isNaN(Number(n))||(n=Number(n)),e.raw)return{code:n};if(e.const)return e.const;if(e.enum){if(void 0===n)return;return a()(e.enum,{code:n})||a()(e.enum,n)||{code:n}}return"placeholder"===e.type?{code:n}:null==i||null===(r=i[e])||void 0===r?void 0:r[n]}(r,e);return{value:r,_isPlaceholder:o,slot:e,source:b(b({},u),{},{symbol:c()(l,[null==u?void 0:u.name,"symbol"],null==u?void 0:u.symbol),faIcon:c()(l,[null==u?void 0:u.name,"faIcon"],null==u?void 0:u.faIcon)}),params:c()(u,"params",[]).map((function(n,e){return A(t[e],n)}))}}return{value:t,slot:"behaviour",source:c()(i.behaviours,d,{}),params:k((0,s.L)(n,u),r).map((function(n,e){return A(o[e],n)}))}}function j(n){var e=[];return function n(r){var t=r.params||[];e.push(r),t.forEach(n)}(n),e}function E(n){if(!n[0].source.code)return!0;var e,r=function(n,e){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=v(n))){r&&(n=r);var t=0,o=function(){};return{s:o,n:function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(n){throw n},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(n)},n:function(){var n=r.next();return a=n.done,n},e:function(n){l=!0,i=n},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}(n);try{for(r.s();!(e=r.n()).done;){var t,o=e.value;if(((null===(t=o.source)||void 0===t?void 0:t.params)||[]).length>o.params.length)return!0;if(o.params.some((function(n){var e;return"placeholder"!==(null===(e=n.slot)||void 0===e?void 0:e.type)&&(void 0===n.value||""===n.value||void 0===n.source||n._isPlaceholder)})))return!0}}catch(n){r.e(n)}finally{r.f()}}function B(n){return S([n])[0]}function S(n){var e=(0,u.useContext)(d.c),r=(0,A.H)().paramOverrides;return(0,u.useMemo)((function(){return n.map((function(n){return x(n,e,r)}))}),[n,e,r])}function w(n){var e=(0,u.useContext)(d.c).behaviorParameters;return(0,s.L)(n,e)}function O(n){var e=(0,u.useMemo)((function(){return j(n)}),[n]);return(0,u.useMemo)((function(){return E(e)}),[e])}function k(n,e){var r=o()(n);return e.forEach((function(n){var e=n.paramIndex,t=n.slot;if(r[e]){var o=r[e]||{};r[e]=b({},t),r[e].name=o.name||o}})),r}},80671:function(n,e,r){r.d(e,{Z:function(){return W}});var t=r(94184),o=r.n(t),i=r(18029),a=r.n(i),l=r(45697),c=r.n(l),u=r(67294),s=r(27926),d=r(64261),A=r(96186),f=r(77103),p=r(52156),b=r(50361),m=r.n(b),y=r(27361),v=r.n(y),h=r(81485),g=r(39017);function C(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function x(n){var e,r=m()(n),t=function(n,e){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=function(n,e){if(n){if("string"==typeof n)return C(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?C(n,e):void 0}}(n))||e&&n&&"number"==typeof n.length){r&&(n=r);var t=0,o=function(){};return{s:o,n:function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(n){throw n},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(n)},n:function(){var n=r.next();return a=n.done,n},e:function(n){l=!0,i=n},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}((0,g.He)(r));try{for(t.s();!(e=t.n()).done;){var o=e.value;for(var i in o)"_isPlaceholder"===i&&o._isPlaceholder||["value","params"].includes(i)||delete o[i]}}catch(n){t.e(n)}finally{t.f()}return r}var j=r(41696);function E(n){return function(n){if(Array.isArray(n))return B(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(n){if("string"==typeof n)return B(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?B(n,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function B(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function S(n,e){var r=e.nodeIndex,t=e.updatedNode,o=m()(n),i=(0,g.He)(o),a=i[r];return a.value=t.value,a.params=t.params,delete a._isPlaceholder,i.forEach((function(n){delete n.source,delete n.slot})),o}function w(n,e){var r,t,o,i,a=e.nodeIndex,l=e.source,c=e.behaviorParameters,u=e.paramOverrides,s=e.extraReducer,d=m()(n),A=(0,g.He)(d),f=A[a];f.slot.raw&&"number"===f.slot.type&&(l.code=Number(l.code));var p=(null===(r=f.source)||void 0===r||null===(t=r.additionalParams)||void 0===t?void 0:t.length)||0;((null===(o=l.additionalParams)||void 0===o?void 0:o.length)||0)<p&&(A[0].params.splice(1,A[0].params.length-1),A.splice(2,A.length-1));var b="behaviour"===f.slot?(0,g.ci)(c[l.code]||[],u):(null==l?void 0:l.params)||[],y=function(n,e){var r=n.params,t=n.source,o=(null==t?void 0:t.params)||[];return e.reduce((function(n,e,t){return[].concat(E(n),[o[t]!==e?O(e):r[t]])}),[])}(f,(0,g.ci)(b,u));if(delete f._isPlaceholder,f.value=l.code,f.params=y,(null==l||null===(i=l.additionalParams)||void 0===i?void 0:i.length)>0&&"behavior"!==f.slot){var v,h=l.additionalParams.map((function(n){return"const"in n?{value:n.const.code,source:n.const,params:(n.const.params||[]).map((function(n){return{slot:n,value:0,params:[],_isPlaceholder:!0}}))}:{value:0,_isPlaceholder:!0}}));(v=A[0].params).splice.apply(v,[1,1].concat(E(h)))}return A.forEach((function(n){delete n.source,delete n.slot})),s(d)}function O(n){return n.const?{value:n.const.code,params:[]}:{value:0,_isPlaceholder:!0}}var k=r(30314),P=r(1601);function Z(n){return Z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Z(n)}function T(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function D(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?T(Object(r),!0).forEach((function(e){I(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):T(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function I(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==Z(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==Z(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===Z(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function M(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var q=r(94596),Y=r(61953),N=r(76620),R=r(85893);function U(n){return U="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},U(n)}function K(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==U(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==U(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===U(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function z(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return L(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?L(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function L(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function W(n){var e=n.binding,r=n.bindingIndex,t=n.onUpdate,i=n.onCancel,a=n.context,l=void 0===a?"none":a,c=n.Heading,f=z((0,u.useState)(e),2),b=function(n,e){var r,t,o=(0,u.useContext)(h.c),i=(0,k.H)().paramOverrides,a=(0,P.z)().bindingReducer,l=o.sources,c=(r=(0,u.useState)(null),t=2,function(n){if(Array.isArray(n))return n}(r)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(r,t)||function(n,e){if(n){if("string"==typeof n)return M(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?M(n,e):void 0}}(r,t)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),s=c[0],d=c[1],A=(0,g.wQ)((null==s?void 0:s.pending)||n),f=n.value,p=v()(l.behaviours,f,{}),b=(0,g.ci)((0,j.L)(n,o.behaviorParameters),i),y=A.params,C=(0,g.He)(A),E=(0,u.useMemo)((function(){return(0,g.wx)(C)}),[C]),B=(0,u.useCallback)((function(){return d(null)}),[d]),O=(0,u.useCallback)((function(n){var r=s.nodeIndex,t="tree"===s.type?S(A,{nodeIndex:r,updatedNode:n}):w(A,{source:n,nodeIndex:r,behaviorParameters:o.behaviorParameters,paramOverrides:i,extraReducer:a});e(x(t)),B()}),[A,s,B,e,o.behaviorParameters,i,a]),Z=(0,u.useCallback)((function(){s.pending&&(e(x(s.pending)),B())}),[null==s?void 0:s.pending,e,B]),T=(0,u.useCallback)((function(n){var e=s.pending,r=s.nodeIndex,t="tree"===s.type?S(e,{nodeIndex:r,updatedNode:n}):w(e,{source:n,nodeIndex:r,behaviorParameters:o.behaviorParameters}),i=(0,g.NB)(t,o),a=(0,g.He)(i),l=a[r];d(D(D({},s),{},{pending:i,index:a,node:l}))}),[s,d,o]),I=(0,u.useCallback)((function(n){var e,r=n.node,t=n.type,o=void 0===t?"value":t,i=m()(A),a=function(n,e,r){var t={layer:"Assign layer",mod:"Assign modifier",behaviour:"Assign behavior",keycode:"Assign key code"};if("tree"===r&&e){var o,i=null===(o=e.source)||void 0===o?void 0:o.helperPrompt;if(i)return i}return n.name?"Assign ".concat(n.name):n.raw?"Enter raw value":t[n]||t.keycode}(r.slot,r,o),l=C.indexOf(r);null!==(e=r.slot)&&void 0!==e&&e.const&&"tree"!==o||((null==s?void 0:s.nodeIndex)!==l||(null==s?void 0:s.type)!==o?d({pending:i,node:r,type:o,nodeIndex:l,prompt:a}):Z())}),[s,A,C,d,Z]),q=(0,u.useMemo)((function(){return{behavior:p,behaviorParams:b,bindTree:A,bindTreeParams:y,editing:s,index:C,invalid:E}}),[p,b,A,y,s,C,E]),Y=(0,u.useMemo)((function(){return{clearEditing:B,handleChange:T,handleConfirm:Z,handleUpdateAndConfirm:O,handleUpdateBindValue:O,selectNodeForEditing:I}}),[B,I,T,Z,O]);return(0,u.useMemo)((function(){return[q,Y]}),[q,Y])}(f[0],f[1]),y=z(b,2),C=y[0],E=C.bindTree,B=C.behavior,O=C.behaviorParams,Z=C.editing,T=C.invalid,I=y[1],U=I.clearEditing,L=I.handleChange,W=I.handleConfirm,X=I.handleUpdateBindValue,H=I.selectNodeForEditing,_=(0,u.useCallback)((function(){t(x(E))}),[E,t]),F=Z&&(0,R.jsx)(N.b,{node:Z.node,type:Z.type,behaviour:B,context:l,prompt:Z.prompt,searchKey:"code",inline:!0,onSelect:X,onConfirm:W,onChange:L,onCancel:U});return(0,R.jsx)(d.Z,{onDismiss:i,children:(0,R.jsxs)(A.Z,{dismissText:null,classes:[q.Z.dialogBox],children:[(0,R.jsxs)("div",{className:q.Z.mainPanel,children:[(0,R.jsx)(c,{bindingIndex:r,bindTree:E,context:l}),(0,R.jsxs)("div",{className:q.Z.bindingSlots,children:[(0,R.jsxs)("h3",{children:["Behavior ",(0,R.jsx)("div",{style:{display:"inline-block",fontSize:"initial",fontWeight:"normal"},children:(0,R.jsx)("span",{className:o()(Y.Z.extracted,K({},Y.Z.highlight,0===(null==Z?void 0:Z.nodeIndex))),children:(0,R.jsx)("span",{className:Y.Z.param,children:(0,R.jsx)(p.ZP,{slot:"behaviour",node:E,expanded:!0,onSelect:H})})})})]}),(0,R.jsx)(Q,{slots:O,node:E,onSelect:H,editing:Z})]}),(0,R.jsxs)("div",{className:q.Z.dialogActions,children:[(0,R.jsx)(s.Z,{onClick:_,disabled:T,children:"Okay"}),(0,R.jsx)(s.Z,{onClick:i,secondary:!0,children:"Cancel"})]})]}),F&&(0,R.jsxs)("div",{className:q.Z.editPanel,children:[(0,R.jsx)("button",{onClick:W,className:q.Z.editPanelClose,children:"Close"}),F]})]})})}function Q(n){var e=n.slots,r=n.node,t=n.editing,o=n.onSelect;return 0===e.length?null:(0,R.jsxs)(R.Fragment,{children:[(0,R.jsx)("h3",{children:"Parameters"}),(0,R.jsx)("ol",{className:q.Z.parameterSlots,"data-slot-count":e.length,children:e.map((function(n,e){return"placeholder"!==n.type&&(0,R.jsx)(u.Fragment,{children:(0,R.jsx)(X,{slot:n,param:r.params[e],editing:(null==t?void 0:t.nodeIndex)===e+1,onSelect:o},e)},e)}))})]})}function X(n){var e=n.slot,r=n.param,t=n.editing,i=n.onSelect,l=(0,u.useMemo)((function(){var n=e.raw?"Raw value":e.name||e,r={code:"key-code"}[n]||n;return a()(r)}),[e]);return(0,R.jsxs)("li",{children:[(0,R.jsx)("label",{children:l}),(0,R.jsx)("span",{className:o()(q.Z.param,Y.Z.extracted,K({},Y.Z.highlight,t)),children:(0,R.jsx)(f.N,{slot:e,node:r,onSelect:i,expanded:!0})})]})}W.propTypes={context:c().string,hideBehaviour:c().bool.isRequired,onUpdate:c().func.isRequired},W.defaultProps={hideBehaviour:!1}},1601:function(n,e,r){r.d(e,{M:function(){return l},z:function(){return c}});var t=r(67294),o=r(85893),i=["children"];var a=(0,t.createContext)({bindingReducer:function(n){return n}});function l(n){var e=n.children,r=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,i);return(0,o.jsx)(a.Provider,{value:r,children:e})}function c(){return(0,t.useContext)(a)}},62417:function(n,e,r){function t(n){return n.length>31?"maximum length: 31":n.match(/^[^a-zA-Z]/)?"first character must be a letter":n.match(/[^a-zA-Z0-9,._+-]/)?"valid characters: a-zA-Z0-9,._+-":void 0}r.d(e,{G3:function(){return o},Gk:function(){return t},zq:function(){return i}});var o=t;function i(n){return n.length>31?"maximum length: 31":n.match(/^[^a-zA-Z]/)?"first character must be a letter":n.match(/[^a-zA-Z0-9_]/)?"valid characters: a-zA-Z0-9_":void 0}},82607:function(n,e,r){var t=r(45697),o=r.n(t),i=r(91118),a=r(27213),l=r(64536),c=r(85893);function u(n){return u="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},u(n)}function s(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function d(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?s(Object(r),!0).forEach((function(e){A(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):s(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function A(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==u(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==u(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===u(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function f(n){var e=n.binding,r=n.keyWrapperProps,t=void 0===r?{}:r;return(0,c.jsx)(i.Z,d(d({},t),{},{children:(0,c.jsx)(a.Z,{value:e})}))}f.propTypes={binding:l.U4.isRequired,keyWrapperProps:o().any},e.Z=f},91118:function(n,e,r){var t=r(39693),o=r.n(t),i=r(61953),a=r(85893);function l(n){return l="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},l(n)}var c=["children","selectable","themeClass","className"];function u(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function s(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?u(Object(r),!0).forEach((function(e){d(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):u(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function d(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==l(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==l(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===l(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}e.Z=function(n){var e=n.children,r=n.selectable,t=void 0===r||r,l=n.themeClass,u=void 0===l?void 0:l,d=n.className,A=void 0===d?"":d,f=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,c),p=o()([i.Z.key,t&&i.Z.selectable,null!=u?u:i.Z.keyDefaultTheme,A]).join(" ");return(0,a.jsx)("div",s(s({className:p},f),{},{children:e}))}},76620:function(n,e,r){r.d(e,{b:function(){return Gn},Z:function(){return Jn}});var t=r(94184),o=r.n(t),i=r(78718),a=r.n(i),l=r(45697),c=r.n(l),u=r(67294),s=r(96186),d=r(64261),A=r(81485),f=r(49700),p=r(93379),b=r.n(p),m=r(7795),y=r.n(m),v=r(90569),h=r.n(v),g=r(3565),C=r.n(g),x=r(19216),j=r.n(x),E=r(44589),B=r.n(E),S=r(47881),w={};w.styleTagTransform=B(),w.setAttributes=C(),w.insert=h().bind(null,"head"),w.domAPI=y(),w.insertStyleElement=j(),b()(S.Z,w);var O=S.Z&&S.Z.locals?S.Z.locals:void 0,k=r(85893);function P(n){return P="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},P(n)}function Z(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function T(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Z(Object(r),!0).forEach((function(e){D(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):Z(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function D(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==P(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==P(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===P(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function I(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function M(n){var e,r,t=n.results,o=n.onSelect,i=n.initialChoice,a=n.renderResult,l=(0,u.useRef)(null),c=(0,u.useMemo)((function(){return t.findIndex((function(n){return n.code===i}))}),[t,i]),s=(e=(0,u.useState)({cursorIndex:c,touched:!1}),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return I(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?I(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),d=s[0],A=d.cursorIndex,p=d.touched,b=s[1],m=(0,u.useCallback)((function(n){return b((function(e){return T(T({},e),{},{cursorIndex:n,touched:!0})}))}),[b]),y=(0,u.useCallback)((function(n){var e,r=arguments.length>1&&void 0!==arguments[1]&&arguments[1],t='li[data-result-index="'.concat(n,'"]'),o=null===(e=l.current)||void 0===e?void 0:e.querySelector(t);(0,f.n)(o,r)}),[l]);(0,u.useEffect)((function(){p||-1===c||y(c,{behavior:"auto",block:"center"})}),[p,y,c]);var v=(0,u.useCallback)((function(n,e){if(0!==t.length)if(void 0!==e){var r=null!==A?(0,f.H)(t,A,e):n;y(r,{behavior:"auto",block:"nearest"}),m(r)}else m(n);else m(null)}),[t,A,m,y]),h=(0,u.useCallback)((function(){v(0,1)}),[v]),g=(0,u.useCallback)((function(){v(t.length-1,-1)}),[v,t]),C=(0,u.useCallback)((function(n){o(t[A],n)}),[t,A,o]),x=(0,u.useCallback)((function(n){if("BUTTON"!==n.target.nodeName){var e={ArrowDown:h,ArrowUp:g,Enter:C}[n.key];e&&(n.preventDefault(),n.stopPropagation(),e(n))}}),[h,g,C]);return(0,u.useEffect)((function(){return document.body.addEventListener("keydown",x),function(){return document.body.removeEventListener("keydown",x)}}),[l,x]),(0,k.jsx)("ul",{className:O.results,ref:l,children:t.map((function(n,e){return(0,k.jsx)("li",{className:A===e?O.highlighted:"",title:n.description,"data-result-index":e,onClick:function(e){return o(n,e)},onDoubleClick:function(e){return o(n,e)},onMouseOver:function(){return v(e)},children:a(n,e)},e)}))})}M.propTypes={results:c().array.isRequired,onSelect:c().func.isRequired,renderResult:c().func.isRequired};var q=r(67069),Y={onCancel:c().func,onChange:c().func,onSelect:c().func.isRequired,node:q.le.isRequired,searchKey:c().string.isRequired,searchThreshold:c().number};function N(n){var e=(0,u.useContext)(A.c).getSearchTargets,r=n.node,t=n.param,o=n.onSelect,i=(0,u.useMemo)((function(){return e(t).filter((function(n){return!n.hidden}))}),[e,t]);return(0,k.jsx)(M,{results:i,initialChoice:null==r?void 0:r.value,onSelect:o,renderResult:function(n){return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("span",{children:n.displayName||n.name||n.code}),n.description&&(0,k.jsx)("p",{className:O.description,children:n.description})]})}})}N.propTypes=Y;var R=r(87360),U=r.n(R),K=r(41051);function z(n){return z="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},z(n)}function L(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function W(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?L(Object(r),!0).forEach((function(e){Q(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):L(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function Q(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==z(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==z(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===z(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function X(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return H(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?H(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function H(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var _=10;function F(n){var e=n.choices,r=n.searchKey,t=n.searchKeys,o=n.renderResults,i=n.initialQuery,a=!e.length||e.length>_,l=function(n){var e=n.choices,r=n.searchKey,t=n.searchKeys,o=X((0,u.useState)({query:"",touched:!1}),2),i=o[0],a=i.query,l=i.touched,c=o[1],s=(0,u.useMemo)((function(){if(!a)return e;var n=t?{keys:t,limit:30}:{key:r,limit:30};return U().go(a,e,n).map((function(n){return W(W({},n.obj),{},{search:n})}))}),[a,e,r,t]),d=(0,u.useCallback)((function(n){c({query:n.target.value,touched:!0})}),[c]),A=(0,u.useCallback)((function(n){c({query:"",touched:!0})}),[c]);return[(0,u.useMemo)((function(){return{query:a,filtered:s,touched:l}}),[a,s,l]),(0,u.useMemo)((function(){return{handleChange:d,handleClearSearch:A}}),[d,A])]}({choices:e,searchKey:r,searchKeys:t,initialQuery:i}),c=X(l,2),s=c[0],d=s.query,A=s.filtered,f=c[1],p=f.handleChange,b=f.handleClearSearch,m=(0,u.useMemo)((function(){return a?A:e}),[a,A,e]);return(0,k.jsxs)(k.Fragment,{children:[a&&(0,k.jsx)(G,{value:d,onChange:p,onClear:b}),o(m)]})}function G(n){var e=n.value,r=n.onChange,t=n.onClear,o=(0,u.useRef)(null);return(0,u.useEffect)((function(){o.current.focus()}),[]),(0,k.jsxs)("div",{className:O.searchWrapper,children:[(0,k.jsx)("input",{ref:o,type:"text",value:e,onChange:r}),(0,k.jsx)(K.Z,{className:O.searchIcon,name:"search"}),(0,k.jsx)(K.Z,{className:O.clearSearchIcon,name:"times",onClick:t})]})}function J(n){var e=n.searchKey,r=n.node,t=n.param,o=n.behaviour,i=n.context,a=n.onSelect,l=(0,u.useContext)(A.c).getSearchTargets,c=(0,u.useMemo)((function(){return l(t,o.code,i)}),[l,t,o,i]);return(0,k.jsx)(F,{choices:c,searchKey:e,renderResults:function(n){return n&&(0,k.jsx)(M,{results:n,initialChoice:r.value,onSelect:a,renderResult:V})}})}function V(n){var e=n.search?(0,k.jsx)("span",{children:U().highlight(n.search,(function(n,e){return(0,k.jsx)("b",{children:n},e)}))}):(0,k.jsx)("span",{children:n.code}),r=n.displayName||n.description;return(0,k.jsxs)(k.Fragment,{children:[e,r&&(0,k.jsx)("p",{className:O.description,children:r})]})}F.propTypes={choices:c().array.isRequired,searchKey:c().string,initialQuery:c().string.isRequired,renderResults:c().func.isRequired},F.defaultProps={initialQuery:""},G.propTypes={value:c().string.isRequired,onChange:c().func.isRequired,onClear:c().func.isRequired},J.propTypes=Y;var $=r(55651),nn=r(27926);function en(n){return en="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},en(n)}function rn(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function tn(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?rn(Object(r),!0).forEach((function(e){on(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):rn(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function on(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==en(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==en(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===en(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function an(n){var e=Number(n);return Number.isNaN(e)?0:e}function ln(n){var e=n.node,r=n.onChange,t=n.onConfirm,o=n.inline,i=(0,u.useMemo)((function(){return{h:an(e.params[0].value),s:an(e.params[1].value),l:an(e.params[2].value)}}),[e.params]),a=(0,u.useCallback)((function(n){var t=n.h,o=n.s,i=n.l;r(tn(tn({},e),{},{params:[{value:Math.round(t)},{value:Math.round(o)},{value:Math.round(i)}]}))}),[e,r]);return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("div",{style:{display:"flex",justifyContent:"center"},children:(0,k.jsx)($.Jz,{color:i,onChange:a})}),!o&&(0,k.jsx)("p",{style:{textAlign:"center"},children:(0,k.jsx)(nn.Z,{onClick:t,children:"Confirm"})})]})}ln.propTypes=Y;var cn=r(39693),un=r.n(cn),sn=r(35161),dn=r.n(sn),An=r(2062),fn=r(91118),pn=r(74871),bn=r(82569),mn=r.n(bn);function yn(n,e){if(n){if("string"==typeof n)return vn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?vn(n,e):void 0}}function vn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var hn=r(38356);function gn(n){return gn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},gn(n)}function Cn(n){return function(n){if(Array.isArray(n))return xn(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(n){if("string"==typeof n)return xn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?xn(n,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function xn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function jn(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==gn(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==gn(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===gn(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}var En=["LS","LA","LC","LG"],Bn=["RS","RA","RC","RG"],Sn={LS:{short:"LSHFT",full:"Left Shift"},LC:{short:"LCTRL",full:"Left Control"},LA:{short:"LALT",full:"Left Alt"},LG:{short:"LGUI",full:"Left Gui"},RS:{short:"RSHFT",full:"Right Shift"},RC:{short:"RCTRL",full:"Right Control"},RA:{short:"RALT",full:"Right Alt"},RG:{short:"RGUI",full:"Right Gui"}},wn=" (This modifier is implicitly used by the active keycode and cannot be de-selected)";function On(n){var e=n.selected,r=n.implicit,t=n.row,i=n.onChange;return(0,k.jsx)("ul",{className:hn.Z.modifiers,children:t.map((function(n,t){var a;return(0,k.jsx)("li",{title:Sn[n].full+(r.includes(n)?wn:""),className:o()((a={},jn(a,hn.Z.selected,e.includes(n)),jn(a,hn.Z.implicit,r.includes(n)),a)),children:(0,k.jsxs)("label",{children:[(0,k.jsx)("input",{type:"checkbox",checked:e.includes(n)||r.includes(n),disabled:r.includes(n),onChange:function(r){i(r.target.checked?[].concat(Cn(e),[n]):mn()(e,n))}})," ",(0,k.jsx)("span",{children:Sn[n].short})]})},t)}))})}function kn(n){var e=n.selected,r=n.implicit,t=n.onChange;return function(n,e,r){!function(n){var e,r,t=(arguments.length>1&&void 0!==arguments[1]?arguments[1]:{}).singleKeyOnly,o=void 0!==t&&t,i=(e=(0,u.useState)([]),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||yn(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[1],a=(0,u.useCallback)((function(){return i([])}),[i]);(0,u.useEffect)((function(){function e(n){i((function(e){return o?[n.code]:[].concat(function(n){return function(n){if(Array.isArray(n))return vn(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||yn(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}(e),[n.code])}))}function r(e){i((function(r){return r.includes(e.code)&&setTimeout((function(){return n(e)})),mn()(r,e.code)}))}return document.body.addEventListener("keydown",e),document.body.addEventListener("keyup",r),document.body.addEventListener("focusout",a),function(){document.body.removeEventListener("keydown",e),document.body.removeEventListener("keyup",r),document.body.removeEventListener("focusout",a)}}),[o,i,n,a])}((0,u.useCallback)((function(t){var o=function(n){var e,r={Control:"C",Shift:"S",Alt:"A",Meta:"G"}[n.key],t=(e={},jn(e,KeyboardEvent.DOM_KEY_LOCATION_LEFT,"L"),jn(e,KeyboardEvent.DOM_KEY_LOCATION_RIGHT,"R"),e)[n.location];return r&&t?"".concat(t).concat(r):null}(t);o&&!e.includes(o)&&r(n.includes(o)?mn()(n,o):[].concat(Cn(n),[o]))}),[n,e,r]),{singleKeyOnly:!0})}(e,r,t),(0,k.jsxs)("div",{className:hn.Z.allModifiers,children:[(0,k.jsx)(On,{row:En,selected:e,implicit:r,onChange:t}),(0,k.jsx)(On,{row:Bn,selected:e,implicit:r,onChange:t})]})}kn.propTypes={selected:c().arrayOf(c().string),implicit:c().arrayOf(c().string),onChange:c().func.isRequired};var Pn=r(81404),Zn=r(39017);function Tn(n){return function(n){if(Array.isArray(n))return In(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||Dn(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Dn(n,e){if(n){if("string"==typeof n)return In(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?In(n,e):void 0}}function In(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function Mn(n){var e=n.node,r=n.onSelect,t=n.onChange,o=n.onConfirm,i=n.behaviour,a=n.inline,l=(0,u.useContext)(A.c).getSearchTargets,c=(0,u.useMemo)((function(){return dn()((0,pn.H)(e),"source")}),[e]),s=(0,u.useMemo)((function(){return c.at(-1)}),[c]),d=(0,u.useMemo)((function(){var n;return null===(n=c.at(-1))||void 0===n?void 0:n.code}),[c]),f=(0,u.useMemo)((function(){return dn()(1===c.length?[]:c.slice(0,-1),"code")}),[c]),p=(0,u.useMemo)((function(){return l("code",i.code).filter((function(n){return 0===n.params.length}))}),[l,i]),b=(0,u.useCallback)((function(n){t((0,pn.n)(un()([].concat(Tn(n),[d]))))}),[t,d]),m=(0,u.useCallback)((function(n){t((0,pn.n)(un()([].concat(Tn(f),[null==n?void 0:n.code]))))}),[t,f]),y=(0,u.useCallback)((function(n,e){"dblclick"!==e.type?m(n):r((0,pn.n)(un()([].concat(Tn(f),[null==n?void 0:n.code]))))}),[r,m,f]),v=a?Yn:qn;return(0,k.jsx)(v,{selectedModifiers:f,selectedKeycode:d,keycodeDefinition:s,choices:p,handleChangeModifiers:b,handleSelectKeycode:y,handleCancel:function(){r(e)},onConfirm:o})}function qn(n){var e=n.selectedModifiers,r=n.selectedKeycode,t=n.keycodeDefinition,i=n.choices,a=n.handleChangeModifiers,l=n.handleSelectKeycode,c=n.handleCancel,s=n.onConfirm,d=(0,u.useMemo)((function(){return{value:"&kp",params:[{value:r,params:[]}]}}),[r]),A=(0,Zn.wQ)(d);return(0,k.jsxs)("div",{className:o()(O.dialog,hn.Z.wrapper),children:[(0,k.jsxs)("div",{style:{display:"flex",gap:"10px"},children:[(0,k.jsxs)("div",{children:[(0,k.jsx)("h3",{children:"Keycode"}),(0,k.jsx)(fn.Z,{className:hn.Z.previewKeycode,selectable:!1,children:(0,k.jsx)(Pn.Z,{node:A.params[0],onSelect:function(){}})})]}),(0,k.jsxs)("div",{children:[(0,k.jsx)("h3",{children:"Modifiers"}),(0,k.jsx)(kn,{selected:e,implicit:(null==t?void 0:t.modifiers)||[],onChange:a})]})]}),(0,k.jsx)("h3",{children:"Available Keycodes"}),(0,k.jsx)(F,{choices:i,initialQuery:r,searchKeys:["code","symbol"],renderResults:function(n){return n&&(0,k.jsx)(M,{results:n,initialChoice:r,onSelect:l,renderResult:Nn})}}),(0,k.jsx)(An.Z,{className:hn.Z.quickCloseTip,children:(0,k.jsx)("span",{children:"Double-click to select and close the dialog"})}),(0,k.jsxs)("div",{style:{marginTop:"10px",textAlign:"center"},children:[(0,k.jsx)(nn.Z,{disabled:!r,onClick:s,children:"Confirm"}),(0,k.jsx)(nn.Z,{onClick:c,secondary:!0,children:"Cancel"})]})]})}function Yn(n){var e=n.selectedModifiers,r=n.selectedKeycode,t=n.keycodeDefinition,o=n.choices,i=n.handleChangeModifiers,a=n.handleSelectKeycode;return(0,k.jsxs)(k.Fragment,{children:[(0,k.jsx)("h3",{children:"Modifiers"}),(0,k.jsx)(kn,{selected:e,implicit:(null==t?void 0:t.modifiers)||[],onChange:i}),(0,k.jsx)("h3",{children:"Available Keycodes"}),(0,k.jsx)(F,{choices:o,initialQuery:r,searchKeys:["code","symbol"],renderResults:function(n){return n&&(0,k.jsx)(M,{results:n,onSelect:a,initialChoice:r,renderResult:Nn})}})]})}function Nn(n){var e,r,t=(e=n.search||[],r=1,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||Dn(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0],o=t?(0,k.jsx)("span",{dangerouslySetInnerHTML:{__html:U().highlight(t)}}):(0,k.jsx)("span",{children:n.code}),i=function(n){var e=null==n?void 0:n.symbol,r=null==n?void 0:n.faIcon;return r?(0,k.jsx)(K.Z,{name:r}):e&&!n.aliases.includes(e)?e:void 0}(n);return(0,k.jsxs)("div",{className:hn.Z.resultItem,children:[(0,k.jsxs)("div",{className:hn.Z.description,children:[o,(0,k.jsx)("p",{className:O.description,children:n.description})]}),i&&(0,k.jsx)("div",{className:hn.Z.symbol,children:i})]})}function Rn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function Un(n){n&&(n.focus(),n.select())}function Kn(n){var e,r,t=n.value,o=n.param,i=n.onSelect,a=(e=(0,u.useState)(t),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return Rn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Rn(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[0],c=a[1],s=(0,u.useCallback)((function(n){"Enter"===n.key&&i({code:l})}),[l,i]),d=(0,u.useCallback)((function(n){var e=n.target.value;"number"===o.type&&(e=Number(e),Number.isNaN(e))||c(e)}),[o,c]);return(0,k.jsx)("input",{ref:Un,type:"text",value:l,onChange:d,onKeyDown:s})}Mn.propTypes=Y,Kn.propTypes=Y;var zn=r(95998),Ln=r(80736);function Wn(n){var e=n.node,r=n.onSelect,t=(0,zn.v9)(Ln.vl),o=(0,u.useMemo)((function(){return t.map((function(n,e){return{code:e.toString(),description:n.name||"Layer ".concat(e)}}))}),[t]);return(0,k.jsx)(M,{results:o,initialChoice:e.value,onSelect:r,renderResult:function(n){return(0,k.jsxs)(k.Fragment,{children:[n.code,n.description&&(0,k.jsx)("p",{className:O.description,children:n.description})]})}})}Wn.propTypes=Y;var Qn=["prompt","onCancel"];function Xn(n){return Xn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},Xn(n)}function Hn(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function _n(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Hn(Object(r),!0).forEach((function(e){Fn(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):Hn(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function Fn(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==Xn(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==Xn(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===Xn(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function Gn(n){var e=n.node,r=n.type,t=n.onSelect,i=n.onChange,l=n.onConfirm,c=a()(n,["node","value","prompt","param","behaviour","context","searchKey","inline"]),s=(0,u.useMemo)((function(){var n;return"tree"===r&&"hsb-color-picker"===(null===(n=e.source)||void 0===n?void 0:n.helper)?ln:e.slot.raw||"placeholder"===e.slot.type?Kn:e.slot.enum?N:"code"===e.slot?Mn:"layer"===e.slot?Wn:J}),[e,r]);return(0,k.jsx)("div",{className:o()(O.wrapper,Fn({},O.inline,n.inline)),children:(0,k.jsx)(s,_n(_n({},c),{},{param:e.slot,onSelect:t,onChange:i,onConfirm:l}))})}function Jn(n){var e=n.prompt,r=n.onCancel,t=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,Qn);return(0,k.jsx)(d.Z,{onDismiss:r,children:(0,k.jsxs)(s.Z,{dismissText:null,classes:[O.dialogWrapper],children:[(0,k.jsx)("h2",{children:e}),(0,k.jsx)(Gn,_n({},t))]})})}Gn.propTypes={type:c().string.isRequired,node:q.le.isRequired,behaviour:c().object.isRequired,searchKey:c().string.isRequired,searchThreshold:c().number,inline:c().bool,onCancel:c().func,onUpdate:c().func,onSelect:c().func.isRequired},Gn.defaultProps={type:"value",value:"",freeForm:!1,inline:!1,searchThreshold:10},Jn.propTypes={type:c().string.isRequired,node:q.le.isRequired,behaviour:c().object.isRequired,prompt:c().string.isRequired,searchKey:c().string.isRequired,searchThreshold:c().number,onCancel:c().func.isRequired,onChange:c().func,onSelect:c().func.isRequired}},49700:function(n,e,r){r.d(e,{H:function(){return t},n:function(){return o}});var t=function(n,e){var r=(e+(arguments.length>2&&void 0!==arguments[2]?arguments[2]:1))%n.length;return r<0?n.length+r:r};function o(n,e){(function(n){var e=n.offsetParent.scrollTop,r=n.offsetParent.offsetHeight,t=n.offsetTop,o=t+n.scrollHeight;return t<e||o>e+r}(n)||function(n){var e=n.offsetParent.scrollLeft,r=n.offsetParent.offsetWidth,t=n.offsetLeft,o=t+n.scrollWidth;return t<e||o>e+r}(n))&&n.scrollIntoView(e)}},56281:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.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:""}]),a.locals={action:"pi2Ig8c3Fdh4H2Jpxdo7",secondary:"Ctpu4E2dZYJ6g8CUGFOF"},e.Z=a},528:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.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:""}]),a.locals={tip:"sq9i7hQeTeeKuarmO8oA"},e.Z=a},14409:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i),l=r(2),c=a()(o());c.i(l.Z,"",!0),c.push([n.id,'/* @import "../../Keyboard/Keys/styles.module.css"; */\n\n.AmikJd3HeM7NGUa8io2A {\n width: 350px;\n}\n\n.dAV6OQxNVA4AUwWKyxqw {\n width: 100%;\n background-color: transparent;\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 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}\n\n/* .modifier, */\n.pDc69k_ZSCzl167cUYy8 {\n background-color: rgba(30, 30, 30, 0.1);\n border-radius: 5px;\n padding: 2px;\n}\n\n@media not (prefers-color-scheme: light) {\n /* body:not([data-theme="light"]) .modifier, */\n body:not([data-theme="light"]) .pDc69k_ZSCzl167cUYy8 {\n background-color: rgb(30, 30, 30, 0.3);\n }\n}\n\n.pDc69k_ZSCzl167cUYy8 .hHrbV5DBivuXAbTelsAB {\n margin-right: 2px;\n}\n\n.pDc69k_ZSCzl167cUYy8 .hutggzXLuv58uTDC0MZg {\n background-color: var(--key-bg-base);\n padding: 0px 3px;\n border-radius: 4px;\n}\n\n.'+l.Z.locals.key+":hover .pDc69k_ZSCzl167cUYy8 .hutggzXLuv58uTDC0MZg {\n background-color: var(--hover-selection);\n}\n","",{version:3,sources:["webpack://./src/EnhancedPickers/Keycode/styles.module.css"],names:[],mappings:"AAAA,qDAAqD;;AAKrD;EACE,YAAY;AACd;;AAEA;EACE,WAAW;EACX,6BAA6B;AAC/B;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,oBAAoB;EACpB,6CAA6C;AAC/C;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,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;;AAEA,eAAe;AACf;EACE,uCAAuC;EACvC,kBAAkB;EAClB,YAAY;AACd;;AAEA;EACE,8CAA8C;EAC9C;IACE,sCAAsC;EACxC;AACF;;AAEA;EACE,iBAAiB;AACnB;;AAEA;EACE,oCAAoC;EACpC,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,wCAAwC;AAC1C",sourcesContent:['/* @import "../../Keyboard/Keys/styles.module.css"; */\n:import("../../Keyboard/Keys/styles.module.css") {\n key: key;\n}\n\n.wrapper {\n width: 350px;\n}\n\n.inline {\n width: 100%;\n background-color: transparent;\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 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}\n\n/* .modifier, */\n.keycodeWithModifiers {\n background-color: rgba(30, 30, 30, 0.1);\n border-radius: 5px;\n padding: 2px;\n}\n\n@media not (prefers-color-scheme: light) {\n /* body:not([data-theme="light"]) .modifier, */\n body:not([data-theme="light"]) .keycodeWithModifiers {\n background-color: rgb(30, 30, 30, 0.3);\n }\n}\n\n.keycodeWithModifiers .appliedModifierSymbols {\n margin-right: 2px;\n}\n\n.keycodeWithModifiers .modifiedKeycodeSymbol {\n background-color: var(--key-bg-base);\n padding: 0px 3px;\n border-radius: 4px;\n}\n\n.key:hover .keycodeWithModifiers .modifiedKeycodeSymbol {\n background-color: var(--hover-selection);\n}\n'],sourceRoot:""}]),c.locals={wrapper:"AmikJd3HeM7NGUa8io2A",inline:"dAV6OQxNVA4AUwWKyxqw",previewKeycode:"xCOOsvxL5qQ3kR8ri91A",allModifiers:"Ox9WHfAMFuthXo6ZOJoI",modifiers:"u4uW9U2E0DfbUM9vP9pf",selected:"YcHSun3PLo8dCb9qIZtc",implicit:"Ix6wQt3EBFUH2PUcsqgm",quickCloseTip:"d3hMEDpEkH8H7YLG_NjI",resultItem:"gFHbtpz6TuduOVYLXwHu",description:"AfAg5j2RJEcA0Zh3z7mX",symbol:"YeOANHLbze2W1EGYOFiI",keycodeWithModifiers:"pDc69k_ZSCzl167cUYy8",appliedModifierSymbols:"hHrbV5DBivuXAbTelsAB",modifiedKeycodeSymbol:"hutggzXLuv58uTDC0MZg"},e.Z=c},33151:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i),l=r(2),c=a()(o());c.i(l.Z,"",!0),c.push([n.id,'/* @import "../../Keyboard/Keys/styles.module.css"; */\n\n.'+l.Z.locals.key+" .ElYzpTlttqVbs6KKy9ob {\n align-self: center;\n}\n."+l.Z.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."+l.Z.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:""}]),c.locals={colorIconWrapper:"ElYzpTlttqVbs6KKy9ob",colorIcon:"rdE_HhSUTcg2dK35N2WA"},e.Z=c},31259:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'.vkwsKfJdRwBqJsa6XLtK {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n background: var(--bg);\n border-radius: 30px;\n box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n font-size: 80%;\n width: 541px;\n padding: 0 20px;\n margin: 20px 0;\n}\n\n.vkwsKfJdRwBqJsa6XLtK p { margin: 5px 0; }\n\n.Za5_vxc5rEvMTUQh2BzW {\n display: flex;\n padding: 0;\n max-width: fit-content;\n}\n\n.DdULxV1MLLuhoFdYrsvp {\n text-align: center;\n}\n\n.ZUn8lbtdY0Tn_RG3i3pz {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-width: 400px;\n max-width: 500px;\n padding: 20px 40px;\n}\n\n.Q4AvqwYH1uAkPM9EnXMo {\n margin: 0;\n padding-left: 15px;\n}\n.Q4AvqwYH1uAkPM9EnXMo[data-slot-count="1"] {\n list-style-type: none;\n padding-left: 0;\n}\n.Q4AvqwYH1uAkPM9EnXMo li {\n position: relative;\n margin: 0 0 15px 25px;\n}\n\n.daj2D9YH7o5FkuRCGRKw {\n display: flex;\n align-items: center;\n justify-content: center;\n border-bottom: 1px solid var(--key-bg-base);\n padding-bottom: 20px;\n gap: 40px;\n}\n\n.ECcVyZa4GyjklIgcnoqr {\n position: relative;\n\n width: auto;\n min-width: 250px;\n max-width: 400px;\n max-height: 500px;\n\n padding: 20px;\n border-left: 1px solid var(--key-bg-base)\n}\n\n.pW09rdsSXEQ2ayWrJAON {\n background-color: var(--selection);\n color: white;\n}\n\n.l9K6SYcfaIEZkOSBRoMw {\n position: absolute;\n left: 0;\n top: 50%;\n\n font-size: 75%;\n\n transform-origin: top left;\n transform: translate(-25%, 100%) rotate(-90deg);\n\n background-color: var(--dialog-bg);\n color: var(--key-color);\n border: 1px solid var(--key-bg-base);\n border-radius: 4px;\n}\n.l9K6SYcfaIEZkOSBRoMw:hover {\n cursor: pointer;\n background-color: var(--key-bg-base);\n}',"",{version:3,sources:["webpack://./src/Keyboard/BindingEditor/styles.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;EAClB,MAAM;EACN,SAAS;EACT,2BAA2B;EAC3B,qBAAqB;EACrB,mBAAmB;EACnB,4CAA4C;EAC5C,cAAc;EACd,YAAY;EACZ,eAAe;EACf,cAAc;AAChB;;AAEA,0BAAY,aAAa,EAAE;;AAE3B;EACE,aAAa;EACb,UAAU;EACV,sBAAsB;AACxB;;AAEA;EACE,kBAAkB;AACpB;;AAEA;EACE,aAAa;EACb,sBAAsB;EACtB,8BAA8B;EAC9B,gBAAgB;EAChB,gBAAgB;EAChB,kBAAkB;AACpB;;AAEA;EACE,SAAS;EACT,kBAAkB;AACpB;AACA;EACE,qBAAqB;EACrB,eAAe;AACjB;AACA;EACE,kBAAkB;EAClB,qBAAqB;AACvB;;AAEA;EACE,aAAa;EACb,mBAAmB;EACnB,uBAAuB;EACvB,2CAA2C;EAC3C,oBAAoB;EACpB,SAAS;AACX;;AAEA;EACE,kBAAkB;;EAElB,WAAW;EACX,gBAAgB;EAChB,gBAAgB;EAChB,iBAAiB;;EAEjB,aAAa;EACb;AACF;;AAEA;EACE,kCAAkC;EAClC,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,OAAO;EACP,QAAQ;;EAER,cAAc;;EAEd,0BAA0B;EAC1B,+CAA+C;;EAE/C,kCAAkC;EAClC,uBAAuB;EACvB,oCAAoC;EACpC,kBAAkB;AACpB;AACA;EACE,eAAe;EACf,oCAAoC;AACtC",sourcesContent:['.notice {\n position: absolute;\n top: 0;\n left: 50%;\n transform: translateX(-50%);\n background: var(--bg);\n border-radius: 30px;\n box-shadow: 0px 10px 25px rgba(0, 0, 0, 0.4);\n font-size: 80%;\n width: 541px;\n padding: 0 20px;\n margin: 20px 0;\n}\n\n.notice p { margin: 5px 0; }\n\n.dialogBox {\n display: flex;\n padding: 0;\n max-width: fit-content;\n}\n\n.dialogActions {\n text-align: center;\n}\n\n.mainPanel {\n display: flex;\n flex-direction: column;\n justify-content: space-between;\n min-width: 400px;\n max-width: 500px;\n padding: 20px 40px;\n}\n\n.parameterSlots {\n margin: 0;\n padding-left: 15px;\n}\n.parameterSlots[data-slot-count="1"] {\n list-style-type: none;\n padding-left: 0;\n}\n.parameterSlots li {\n position: relative;\n margin: 0 0 15px 25px;\n}\n\n.keyBindingHeader {\n display: flex;\n align-items: center;\n justify-content: center;\n border-bottom: 1px solid var(--key-bg-base);\n padding-bottom: 20px;\n gap: 40px;\n}\n\n.editPanel {\n position: relative;\n\n width: auto;\n min-width: 250px;\n max-width: 400px;\n max-height: 500px;\n\n padding: 20px;\n border-left: 1px solid var(--key-bg-base)\n}\n\n.editing {\n background-color: var(--selection);\n color: white;\n}\n\n.editPanelClose {\n position: absolute;\n left: 0;\n top: 50%;\n\n font-size: 75%;\n\n transform-origin: top left;\n transform: translate(-25%, 100%) rotate(-90deg);\n\n background-color: var(--dialog-bg);\n color: var(--key-color);\n border: 1px solid var(--key-bg-base);\n border-radius: 4px;\n}\n.editPanelClose:hover {\n cursor: pointer;\n background-color: var(--key-bg-base);\n}'],sourceRoot:""}]),a.locals={notice:"vkwsKfJdRwBqJsa6XLtK",dialogBox:"Za5_vxc5rEvMTUQh2BzW",dialogActions:"DdULxV1MLLuhoFdYrsvp",mainPanel:"ZUn8lbtdY0Tn_RG3i3pz",parameterSlots:"Q4AvqwYH1uAkPM9EnXMo",keyBindingHeader:"daj2D9YH7o5FkuRCGRKw",editPanel:"ECcVyZa4GyjklIgcnoqr",editing:"pW09rdsSXEQ2ayWrJAON",editPanelClose:"l9K6SYcfaIEZkOSBRoMw"},e.Z=a},2:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.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.XFubThMHHpmShqhuVhNo {\n\topacity: 0.8;\n\tcursor: not-allowed !important;\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.huQDP3GbTLThbVIP8wFp {\n\tcolor: var(--key-color-base);\n\tbackground-color: var(--key-bg-base);\n}\n\n.CoLZlKR1WcMrFd9XhDMC: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\talign-items: center;\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\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:not(.XFubThMHHpmShqhuVhNo):hover,\n.OsA2qRpHoDPcN93o_TUX.sqfL6SjYMWzHXm3D6bOd .DejZXCvvhJILPbs9Q8ht {\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',"",{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,YAAY;CACZ,8BAA8B;AAC/B;;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;CACC,4BAA4B;CAC5B,oCAAoC;AACrC;;AAEA;CACC,wCAAwC;CACxC,iBAAiB;CACjB,UAAU;AACX;AACA;CACC,6BAA6B;AAC9B;AACA;CACC,YAAY;AACb;;AAEA;CACC,oBAAoB;CACpB,mBAAmB;AACpB;;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;;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;;CAEC,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",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.constantValue {\n\topacity: 0.8;\n\tcursor: not-allowed !important;\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.keyDefaultTheme {\n\tcolor: var(--key-color-base);\n\tbackground-color: var(--key-bg-base);\n}\n\n.key: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\talign-items: center;\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\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:not(.constantValue):hover,\n.extracted.highlight .code {\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'],sourceRoot:""}]),a.locals={key:"CoLZlKR1WcMrFd9XhDMC",unified:"MZMfZSmJbwqqfp28UUOi",selectable:"CT4uGhwl8sY0LwT3p39g",missingValue:"UNzQquWsoIanOpIN0Q9L",extracted:"OsA2qRpHoDPcN93o_TUX",code:"DejZXCvvhJILPbs9Q8ht",constantValue:"XFubThMHHpmShqhuVhNo",missing:"Y5EVt8b0BaXNd9uLxhfh",pulse:"sYr3l9y03JxO_2AP73jr",keyDefaultTheme:"huQDP3GbTLThbVIP8wFp","behaviour-binding":"GliE4Ybwli9X6TNTjD1_",param:"mLz637Atn0jZXey6Rx4v",params:"ApHDJFJGYUaGTgzMeIKZ",highlight:"sqfL6SjYMWzHXm3D6bOd"},e.Z=a},47881:function(n,e,r){var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.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\n.lPSkq707ZDxmzbGw5Qqy.CKvAtM2VhDdTBOb8bZBb {\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n}\n\n.lPSkq707ZDxmzbGw5Qqy 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.CKvAtM2VhDdTBOb8bZBb ul.inAS9Qunkf3g5K3xz6o6 {\n\tflex-grow: 1;\n\tmax-height: initial;\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.lPSkq707ZDxmzbGw5Qqy .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;;AAEA;CACC,YAAY;CACZ,aAAa;CACb,sBAAsB;CACtB,uBAAuB;AACxB;;AAEA;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,YAAY;CACZ,mBAAmB;AACpB;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\n.wrapper.inline {\n\theight: 100%;\n\tdisplay: flex;\n\tflex-direction: column;\n\tjustify-content: center;\n}\n\n.wrapper 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.inline ul.results {\n\tflex-grow: 1;\n\tmax-height: initial;\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.wrapper .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:""}]),a.locals={dialog:"sP2kDRoTZElZUTNHq033",dialogWrapper:"yaxqlR_GEWJ1lBISL3_N",wrapper:"lPSkq707ZDxmzbGw5Qqy",inline:"CKvAtM2VhDdTBOb8bZBb",results:"inAS9Qunkf3g5K3xz6o6",highlighted:"BL7Cxrn_efblQXY3W1Sw",description:"uld0XaeoQaQJJwp0LT0X","choices-counter":"pqiZQublKXvmnT_ESDxQ",searchWrapper:"ECUs4g2j1rekP4xxgQDr",searchIcon:"xDUAgQZeBp0TZSOqCwHm",clearSearchIcon:"eY5zRl49sESLjXmizMEP"},e.Z=a},38356:function(n,e,r){var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),d=r(19216),A=r.n(d),f=r(44589),p=r.n(f),b=r(14409),m={};m.styleTagTransform=p(),m.setAttributes=s(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=A(),o()(b.Z,m),e.Z=b.Z&&b.Z.locals?b.Z.locals:void 0},94596:function(n,e,r){var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),d=r(19216),A=r.n(d),f=r(44589),p=r.n(f),b=r(31259),m={};m.styleTagTransform=p(),m.setAttributes=s(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=A(),o()(b.Z,m),e.Z=b.Z&&b.Z.locals?b.Z.locals:void 0},61953:function(n,e,r){var t=r(93379),o=r.n(t),i=r(7795),a=r.n(i),l=r(90569),c=r.n(l),u=r(3565),s=r.n(u),d=r(19216),A=r.n(d),f=r(44589),p=r.n(f),b=r(2),m={};m.styleTagTransform=p(),m.setAttributes=s(),m.insert=c().bind(null,"head"),m.domAPI=a(),m.insertStyleElement=A(),o()(b.Z,m),e.Z=b.Z&&b.Z.locals?b.Z.locals:void 0}}]);
+//# sourceMappingURL=6538.7dfe5ec2e199138d83a6.js.map \ No newline at end of file
diff --git a/8873.18e65ae40d648dcca046.js b/8873.18e65ae40d648dcca046.js
new file mode 100644
index 0000000..d9e0b3c
--- /dev/null
+++ b/8873.18e65ae40d648dcca046.js
@@ -0,0 +1 @@
+"use strict";(self.webpackChunkapp=self.webpackChunkapp||[]).push([[8873],{18873:function(a){a.exports=JSON.parse('{"layout":[{"label":"Tab","row":0,"col":0,"x":0,"y":0.36},{"label":"Q","row":0,"col":1,"x":1,"y":0.36},{"label":"W","row":0,"col":2,"x":2,"y":0.11},{"label":"E","row":0,"col":3,"x":3,"y":-0.015},{"label":"R","row":0,"col":4,"x":4,"y":0.11},{"label":"T","row":0,"col":5,"x":5,"y":0.235},{"label":"Y","row":0,"col":7,"x":9,"y":0.235},{"label":"U","row":0,"col":8,"x":10,"y":0.11},{"label":"I","row":0,"col":9,"x":11,"y":-0.015},{"label":"O","row":0,"col":10,"x":12,"y":0.11},{"label":"P","row":0,"col":11,"x":13,"y":0.36},{"label":"BSPC","row":0,"col":12,"x":14,"y":0.36},{"label":"Ctrl","row":1,"col":0,"x":0,"y":1.36},{"label":"A","row":1,"col":1,"x":1,"y":1.36},{"label":"S","row":1,"col":2,"x":2,"y":1.11},{"label":"D","row":1,"col":3,"x":3,"y":0.985},{"label":"F","row":1,"col":4,"x":4,"y":1.11},{"label":"G","row":1,"col":5,"x":5,"y":1.235},{"label":"H","row":1,"col":7,"x":9,"y":1.235},{"label":"J","row":1,"col":8,"x":10,"y":1.11},{"label":"K","row":1,"col":9,"x":11,"y":0.985},{"label":"L","row":1,"col":10,"x":12,"y":1.11},{"label":";","row":1,"col":11,"x":13,"y":1.36},{"label":"\'","row":1,"col":12,"x":14,"y":1.36},{"label":"LShift","row":2,"col":0,"x":0,"y":2.36},{"label":"Z","row":2,"col":1,"x":1,"y":2.36},{"label":"X","row":2,"col":2,"x":2,"y":2.11},{"label":"C","row":2,"col":3,"x":3,"y":1.985},{"label":"V","row":2,"col":4,"x":4,"y":2.11},{"label":"B","row":2,"col":5,"x":5,"y":2.235},{"label":"N","row":2,"col":7,"x":9,"y":2.235},{"label":"M","row":2,"col":8,"x":10,"y":2.11},{"label":",","row":2,"col":9,"x":11,"y":1.985},{"label":".","row":2,"col":10,"x":12,"y":2.11},{"label":"/","row":2,"col":11,"x":13,"y":2.36},{"label":"Esc","row":2,"col":12,"x":14,"y":2.36},{"label":"GUI","row":3,"col":3,"x":3.48,"y":3.13,"r":0},{"label":"LWR","row":3,"col":4,"x":3.48,"y":3.13,"r":15,"rx":3.98,"ry":7.88},{"label":"SPC","row":3,"col":5,"x":3.48,"y":2.63,"r":30,"rx":3.98,"ry":7.88,"h":1.5},{"label":"ENT","row":3,"col":7,"x":10.52,"y":2.63,"r":-30,"rx":11.02,"ry":7.88,"h":1.5},{"label":"RSE","row":3,"col":8,"x":10.52,"y":3.13,"r":-15,"rx":11.02,"ry":7.88},{"label":"ALT","row":3,"col":9,"x":10.52,"y":3.13}],"keymap":{"layers":[{"index":0,"name":"base","labels":[],"properties":{"bindings":{"parsed":[{"value":"&kp","params":[{"value":"TAB","params":[]}]},{"value":"&kp","params":[{"value":"Q","params":[]}]},{"value":"&kp","params":[{"value":"W","params":[]}]},{"value":"&kp","params":[{"value":"E","params":[]}]},{"value":"&kp","params":[{"value":"R","params":[]}]},{"value":"&kp","params":[{"value":"T","params":[]}]},{"value":"&kp","params":[{"value":"Y","params":[]}]},{"value":"&kp","params":[{"value":"U","params":[]}]},{"value":"&kp","params":[{"value":"I","params":[]}]},{"value":"&kp","params":[{"value":"O","params":[]}]},{"value":"&kp","params":[{"value":"P","params":[]}]},{"value":"&kp","params":[{"value":"BSLH","params":[]}]},{"value":"&kp","params":[{"value":"LCTRL","params":[]}]},{"value":"&hml","params":[{"value":"LSHFT","params":[]},{"value":"A","params":[]}]},{"value":"&hml","params":[{"value":"LCTRL","params":[]},{"value":"S","params":[]}]},{"value":"&hml","params":[{"value":"LALT","params":[]},{"value":"D","params":[]}]},{"value":"&hml","params":[{"value":"LCMD","params":[]},{"value":"F","params":[]}]},{"value":"&kp","params":[{"value":"G","params":[]}]},{"value":"&hmr","params":[{"value":"RCMD","params":[]},{"value":"H","params":[]}]},{"value":"&hmr","params":[{"value":"RALT","params":[]},{"value":"J","params":[]}]},{"value":"&hmr","params":[{"value":"RCTRL","params":[]},{"value":"K","params":[]}]},{"value":"&hmr","params":[{"value":"RSHFT","params":[]},{"value":"L","params":[]}]},{"value":"&kp","params":[{"value":"SEMI","params":[]}]},{"value":"&kp","params":[{"value":"APOS","params":[]}]},{"value":"&kp","params":[{"value":"LSHFT","params":[]}]},{"value":"&kp","params":[{"value":"Z","params":[]}]},{"value":"&kp","params":[{"value":"X","params":[]}]},{"value":"&kp","params":[{"value":"C","params":[]}]},{"value":"&kp","params":[{"value":"V","params":[]}]},{"value":"&kp","params":[{"value":"B","params":[]}]},{"value":"&kp","params":[{"value":"N","params":[]}]},{"value":"&kp","params":[{"value":"M","params":[]}]},{"value":"&kp","params":[{"value":"COMMA","params":[]}]},{"value":"&kp","params":[{"value":"DOT","params":[]}]},{"value":"&kp","params":[{"value":"FSLH","params":[]}]},{"value":"&kp","params":[{"value":"ESC","params":[]}]},{"value":"&kp","params":[{"value":"LGUI","params":[]}]},{"value":"&rgblayer","params":[{"value":"1","params":[]},{"value":"RGB_COLOR_HSB_VAL","params":[{"value":"80","params":[]},{"value":"70","params":[]},{"value":"50","params":[]}]}]},{"value":"&kp","params":[{"value":"SPACE","params":[]}]},{"value":"&kp","params":[{"value":"RET","params":[]}]},{"value":"&rgblayer","params":[{"value":"2","params":[]},{"value":"RGB_COLOR_HSB_VAL","params":[{"value":"180","params":[]},{"value":"70","params":[]},{"value":"50","params":[]}]}]},{"value":"&kp","params":[{"value":"RALT","params":[]}]}]},"sensor-bindings":{"parsed":[{"value":"&rgbknob","params":[{"value":"RGB_HUI","params":[]},{"value":"RGB_HUD","params":[]}]},{"value":"&rgbknob","params":[{"value":"RGB_BRI","params":[]},{"value":"RGB_BRD","params":[]}]}]}}},{"index":1,"name":"raise","labels":[],"properties":{"bindings":{"parsed":[{"value":"&trans","params":[]},{"value":"&kp","params":[{"value":"N1","params":[]}]},{"value":"&kp","params":[{"value":"N2","params":[]}]},{"value":"&kp","params":[{"value":"N3","params":[]}]},{"value":"&kp","params":[{"value":"N4","params":[]}]},{"value":"&kp","params":[{"value":"N5","params":[]}]},{"value":"&kp","params":[{"value":"N6","params":[]}]},{"value":"&kp","params":[{"value":"N7","params":[]}]},{"value":"&kp","params":[{"value":"N8","params":[]}]},{"value":"&kp","params":[{"value":"N9","params":[]}]},{"value":"&kp","params":[{"value":"N0","params":[]}]},{"value":"&trans","params":[]},{"value":"&bt","params":[{"value":"BT_CLR","params":[]}]},{"value":"&bt","params":[{"value":"BT_SEL","params":[]},{"value":"0","params":[]}]},{"value":"&bt","params":[{"value":"BT_SEL","params":[]},{"value":"1","params":[]}]},{"value":"&bt","params":[{"value":"BT_SEL","params":[]},{"value":"2","params":[]}]},{"value":"&bt","params":[{"value":"BT_SEL","params":[]},{"value":"3","params":[]}]},{"value":"&bt","params":[{"value":"BT_SEL","params":[]},{"value":"4","params":[]}]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]}]},"sensor-bindings":{"parsed":[{"value":"&volknob","params":[]}]}}},{"index":2,"name":"lower","labels":[],"properties":{"bindings":{"parsed":[{"value":"&trans","params":[]},{"value":"&kp","params":[{"value":"EXCL","params":[]}]},{"value":"&kp","params":[{"value":"AT","params":[]}]},{"value":"&kp","params":[{"value":"HASH","params":[]}]},{"value":"&kp","params":[{"value":"DLLR","params":[]}]},{"value":"&kp","params":[{"value":"PRCNT","params":[]}]},{"value":"&kp","params":[{"value":"CARET","params":[]}]},{"value":"&kp","params":[{"value":"AMPS","params":[]}]},{"value":"&kp","params":[{"value":"KP_MULTIPLY","params":[]}]},{"value":"&kp","params":[{"value":"LPAR","params":[]}]},{"value":"&kp","params":[{"value":"RPAR","params":[]}]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&kp","params":[{"value":"MINUS","params":[]}]},{"value":"&kp","params":[{"value":"EQUAL","params":[]}]},{"value":"&kp","params":[{"value":"LBKT","params":[]}]},{"value":"&kp","params":[{"value":"RBKT","params":[]}]},{"value":"&kp","params":[{"value":"BSLH","params":[]}]},{"value":"&kp","params":[{"value":"GRAVE","params":[]}]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&kp","params":[{"value":"UNDER","params":[]}]},{"value":"&kp","params":[{"value":"PLUS","params":[]}]},{"value":"&kp","params":[{"value":"LBRC","params":[]}]},{"value":"&kp","params":[{"value":"RBRC","params":[]}]},{"value":"&kp","params":[{"value":"PIPE","params":[]}]},{"value":"&kp","params":[{"value":"TILDE","params":[]}]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]}]}}},{"index":3,"name":"both","labels":[],"properties":{"bindings":{"parsed":[{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"0","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"20","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"40","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"60","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"80","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"100","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"120","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"140","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"160","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"180","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"200","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"220","params":[]},{"value":"80","params":[]},{"value":"60","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"0","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"20","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"40","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"60","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"80","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"100","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"120","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"140","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"160","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"180","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"200","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"220","params":[]},{"value":"60","params":[]},{"value":"40","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"0","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"20","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"40","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"60","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"80","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"100","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"120","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"140","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"160","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"180","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"200","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB","params":[{"value":"220","params":[]},{"value":"80","params":[]},{"value":"30","params":[]}]}]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]},{"value":"&trans","params":[]}]}}}],"combos":[{"name":"tab","labels":[],"properties":{"key-positions":{"parsed":[2,3]},"bindings":{"parsed":[{"value":"&kp","params":[{"value":"TAB","params":[]}]}]}}},{"name":"ctrl","labels":[],"properties":{"key-positions":{"parsed":[26,27]},"bindings":{"parsed":[{"value":"&kp","params":[{"value":"LCTRL","params":[]}]}]}}},{"name":"cmd","labels":[],"properties":{"key-positions":{"parsed":[37,38]},"bindings":{"parsed":[{"value":"&kp","params":[{"value":"LCMD","params":[]}]}]}}},{"name":"alt","labels":[],"properties":{"key-positions":{"parsed":[39,40]},"bindings":{"parsed":[{"value":"&kp","params":[{"value":"LEFT_ALT","params":[]}]}]}}},{"name":"shift","labels":[],"properties":{"key-positions":{"parsed":[8,9]},"bindings":{"parsed":[{"value":"&kp","params":[{"value":"LSHIFT","params":[]}]}]}}},{"name":"caps_word","labels":[],"properties":{"key-positions":{"parsed":[17,18]},"bindings":{"parsed":[{"value":"&caps_word","params":[]}]}}},{"name":"delete","labels":[],"properties":{"key-positions":{"parsed":[32,33]},"bindings":{"parsed":[{"value":"&kp","params":[{"value":"DEL","params":[]}]}]}}}],"conditionalLayers":[{"name":"tri_layer","labels":[],"properties":{"if-layers":{"parsed":[1,2]},"then-layer":{"parsed":3}}}],"macros":[{"name":"greeting","labels":["greeting"],"properties":{"compatible":{"parsed":"zmk,behavior-macro","raw":"\\"zmk,behavior-macro\\""},"#binding-cells":{"parsed":0,"raw":"<0>"},"label":{"parsed":"greeting","raw":"\\"greeting\\""},"bindings":{"parsed":[{"value":"&kp","params":[{"value":"H","params":[]}]},{"value":"&kp","params":[{"value":"E","params":[]}]},{"value":"&kp","params":[{"value":"L","params":[]}]},{"value":"&kp","params":[{"value":"L","params":[]}]},{"value":"&kp","params":[{"value":"O","params":[]}]}],"raw":"<&kp H>, <&kp E>, <&kp L>, <&kp L>, <&kp O>"}}},{"name":"rgb_layer","labels":["rgblayer"],"properties":{"compatible":{"parsed":"zmk,behavior-macro-two-param","raw":"\\"zmk,behavior-macro-two-param\\""},"#binding-cells":{"parsed":0,"raw":"<0>"},"label":{"parsed":"MOMENTARY_LAYER_WITH_RGB_SELECTION","raw":"\\"MOMENTARY_LAYER_WITH_RGB_SELECTION\\""},"bindings":{"parsed":[{"value":"&macro_param_2to2","params":[]},{"value":"&rgb_ug","params":[{"value":"RGB_COLOR_HSB_CMD","params":[]},{"value":"MACRO_PLACEHOLDER","params":[]}]},{"value":"&macro_param_1to1","params":[]},{"value":"&macro_press","params":[]},{"value":"&mo","params":[{"value":"MACRO_PLACEHOLDER","params":[]}]},{"value":"&macro_pause_for_release","params":[]},{"value":"&macro_release","params":[]},{"value":"&macro_param_1to1","params":[]},{"value":"&mo","params":[{"value":"MACRO_PLACEHOLDER","params":[]}]},{"value":"&macro_tap","params":[]},{"value":"&rgb_ug","params":[{"value":"RGB_TOG","params":[]}]}],"raw":"<&macro_param_2to2>, <&rgb_ug RGB_COLOR_HSB_CMD MACRO_PLACEHOLDER>, <&macro_param_1to1 &macro_press>, <&mo MACRO_PLACEHOLDER>, <&macro_pause_for_release &macro_release &macro_param_1to1>, <&mo MACRO_PLACEHOLDER>, <&macro_tap>, <&rgb_ug RGB_TOG>"}}}],"behaviors":[{"name":"homewrow_mods_left","labels":["hml"],"properties":{"compatible":{"parsed":"zmk,behavior-hold-tap","raw":"\\"zmk,behavior-hold-tap\\""},"#binding-cells":{"parsed":2},"label":{"parsed":"HOMEROW_MODS_LEFT_HAND"},"bindings":{"parsed":["&kp","&kp"]},"hold-trigger-key-positions":{"parsed":[6,7,8,9,10,11,18,19,20,21,22,23,30,31,32,33,34,35,39,40,41]}}},{"name":"homewrow_mods_right","labels":["hmr"],"properties":{"compatible":{"parsed":"zmk,behavior-hold-tap","raw":"\\"zmk,behavior-hold-tap\\""},"#binding-cells":{"parsed":2},"label":{"parsed":"HOMEROW_MODS_RIGHT_HAND"},"bindings":{"parsed":["&kp","&kp"]},"hold-trigger-key-positions":{"parsed":[0,1,2,3,4,5,12,13,14,15,16,17,24,25,26,27,28,29,36,37,38]}}},{"name":"volume_encoder","labels":["volknob"],"properties":{"compatible":{"parsed":"zmk,behavior-sensor-rotate","raw":"\\"zmk,behavior-sensor-rotate\\""},"#binding-cells":{"parsed":0},"label":{"parsed":"ENCODER_VOLUME_KNOB"},"bindings":{"parsed":[{"value":"&kp","params":[{"value":"C_VOL_UP","params":[]}]},{"value":"&kp","params":[{"value":"C_VOL_DN","params":[]}]}]}}},{"name":"rgb_encoder","labels":["rgbknob"],"properties":{"compatible":{"parsed":"zmk,behavior-sensor-rotate-var","raw":"\\"zmk,behavior-sensor-rotate-var\\""},"#binding-cells":{"parsed":0},"label":{"parsed":"ENCODER_RGB"},"bindings":{"parsed":["&rgb_ug","&rgb_ug"]}}}],"behaviorReconfigurations":[{"name":"&sk","labels":[],"deletedProperties":["ignore-modifiers"],"properties":{}}]},"sensors":[{"ref":"left_encoder","name":"encoder_left","identifier":"encoder_left","compatible":"alps,ec11","label":"LEFT_ENCODER"},{"ref":"right_encoder","name":"encoder_right","identifier":"encoder_right","compatible":"alps,ec11","label":"RIGHT_ENCODER"}]}')}}]); \ No newline at end of file
diff --git a/MacroEditorTab.084f0dfd794e82d94730.js b/MacroEditorTab.084f0dfd794e82d94730.js
new file mode 100644
index 0000000..2f2da93
--- /dev/null
+++ b/MacroEditorTab.084f0dfd794e82d94730.js
@@ -0,0 +1,2 @@
+(self.webpackChunkapp=self.webpackChunkapp||[]).push([[5819],{94062:function(n,e,r){"use strict";r.d(e,{Z:function(){return a}});var t=r(41051),o=r(2968),i=r(85893);function a(n){var e=n.url,r=n.text;return(0,i.jsxs)(o.Z,{external:!0,href:e,children:[(0,i.jsx)(t.Z,{name:"book"})," ",(0,i.jsx)("span",{children:r})]})}},97494:function(n,e,r){"use strict";r.d(e,{Z:function(){return B}});var t=r(45697),o=r.n(t),i=r(93379),a=r.n(i),l=r(7795),c=r.n(l),u=r(90569),s=r.n(u),d=r(3565),p=r.n(d),f=r(19216),A=r.n(f),m=r(44589),b=r.n(m),h=r(33988),y={};y.styleTagTransform=b(),y.setAttributes=p(),y.insert=s().bind(null,"head"),y.domAPI=c(),y.insertStyleElement=A(),a()(h.Z,y);var g=h.Z&&h.Z.locals?h.Z.locals:void 0,v=r(85893);function x(n){return x="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},x(n)}var C=["validator","required","value"];function E(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function j(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?E(Object(r),!0).forEach((function(e){w(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):E(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function w(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==x(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==x(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===x(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function B(n){var e=n.validator,r=n.required,t=void 0!==r&&r,o=n.value,i=void 0===o?"":o,a=function(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}(n,C),l=e(i)||!i&&t&&"cannot be empty";return(0,v.jsxs)("span",{className:g.wrapper,children:[(0,v.jsx)("input",j({type:"text",value:i},a)),l&&(0,v.jsx)("span",{className:g.error,children:l})]})}B.propTypes={value:o().any.isRequired,required:o().bool,validator:o().func}},49443:function(n,e,r){"use strict";r.d(e,{Z:function(){return g}});var t=r(67294),o=r(45697),i=r.n(o),a=r(97494),l={useRaw:i().bool,raw:i().string,parsed:i().any},c={name:i().string.isRequired,labels:i().arrayOf(i().string).isRequired,properties:i().objectOf((function(n,e,r,t,o){try{i().checkPropTypes({propValue:i().shape(l).isRequired},{propValue:n},t,r)}catch(n){return new Error("Invalid prop `"+o+"` supplied to `"+r+"`. Validation failed.")}})).isRequired},u=r(62417),s=r(85893);function d(n){return d="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},d(n)}function p(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function f(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?p(Object(r),!0).forEach((function(e){A(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):p(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function A(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==d(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==d(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===d(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function m(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||b(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function b(n,e){if(n){if("string"==typeof n)return h(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?h(n,e):void 0}}function h(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function y(n){var e=n.name,r=n.labels,t=m(void 0===r?[]:r,1)[0],o=n.properties.label;return e.toLowerCase()===(t||"").toLowerCase()&&e.toLowerCase()===((null==o?void 0:o.parsed)||"").toLowerCase()}function g(n){var e=n.node,r=n.onUpdate,o=m((0,t.useState)(y(e)),2),i=o[0],l=o[1],c=m((0,t.useState)(y(e)),2),d=c[0],p=c[1],A=function(n,e,r,o){return[(0,t.useCallback)((function(r){e(f(f({},n),{},{name:r.target.value}))}),[n,e]),(0,t.useCallback)((function(t){var i,a=t.target.value,l=[a].concat(function(n){if(Array.isArray(n))return h(n)}(i=n.labels.slice(1))||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(i)||b(i)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=r?a:n.name,u=o?f(f({},n.properties),{},{label:{parsed:a.toUpperCase(),raw:'"'.concat(a.toUpperCase(),'"'),useRaw:!1}}):n.properties;e(f(f({},n),{},{name:c,labels:l,properties:u}))}),[n,e,r,o]),(0,t.useCallback)((function(r){return e(f(f({},n),{},{properties:f(f({},n.properties),{},{label:f(f({},n.properties.label),{},{parsed:r.target.value,useRaw:!1})})}))}),[n,e])]}(e,r,i,d),g=m(A,3),v=g[0],x=g[1],C=g[2];return(0,s.jsx)("table",{children:(0,s.jsxs)("tbody",{children:[(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Bind"}),(0,s.jsx)("td",{children:(0,s.jsx)(a.Z,{type:"text",value:e.labels[0]||"",required:!0,validator:u.zq,onChange:x})})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Node"}),(0,s.jsxs)("td",{children:[(0,s.jsx)(a.Z,{value:e.name,required:!0,readOnly:i,disabled:i,validator:u.Gk,onChange:v}),(0,s.jsxs)("label",{title:"Set automatically using bind name",children:[(0,s.jsx)("input",{type:"checkbox",checked:i,onChange:function(n){return l(n.target.checked)}})," Automatic"]})]})]}),(0,s.jsxs)("tr",{children:[(0,s.jsx)("th",{children:"Label"}),(0,s.jsxs)("td",{children:[(0,s.jsx)(a.Z,{type:"text",value:e.properties.label.parsed||"",required:!0,readOnly:d,disabled:d,validator:function(){return null},onChange:C}),(0,s.jsxs)("label",{title:"Set automatically using bind name",children:[(0,s.jsx)("input",{type:"checkbox",checked:d,onChange:function(n){return p(n.target.checked)}})," Automatic"]})]})]})]})})}g.propTypes={node:i().shape(c).isRequired,onUpdate:i().func.isRequired}},73445:function(n,e,r){"use strict";r.r(e),r.d(e,{default:function(){return fe}});var t=r(67294),o=r(95998),i=r(45697),a=r.n(i),l=r(94184),c=r.n(l),u=r(95493);function s(n){return["&macro_tap","&macro_press","&macro_release","&macro_tap_time","&macro_wait_time","&macro_pause_for_release","&macro_param_1to1","&macro_param_1to2","&macro_param_2to1","&macro_param_2to2"].includes(n.value)}var d=r(93379),p=r.n(d),f=r(7795),A=r.n(f),m=r(90569),b=r.n(m),h=r(3565),y=r.n(h),g=r(19216),v=r.n(g),x=r(44589),C=r.n(x),E=r(96201),j={};j.styleTagTransform=C(),j.setAttributes=y(),j.insert=b().bind(null,"head"),j.domAPI=A(),j.insertStyleElement=v(),p()(E.Z,j);var w=E.Z&&E.Z.locals?E.Z.locals:void 0,B=r(18446),S=r.n(B),O=r(35839),k={};k.styleTagTransform=C(),k.setAttributes=y(),k.insert=b().bind(null,"head"),k.domAPI=A(),k.insertStyleElement=v(),p()(O.Z,k);var I=O.Z&&O.Z.locals?O.Z.locals:void 0,P=r(85893),D=["bindings","children","dragging","dragMode"],T=["isDropping","control","classes"],Z=["bind"],R=["bind"],N=["row","isDropping"];function W(n){return W="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},W(n)}function Y(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||M(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function M(n,e){if(n){if("string"==typeof n)return _(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?_(n,e):void 0}}function _(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function H(n,e){if(null==n)return{};var r,t,o=function(n,e){if(null==n)return{};var r,t,o={},i=Object.keys(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||(o[r]=n[r]);return o}(n,e);if(Object.getOwnPropertySymbols){var i=Object.getOwnPropertySymbols(n);for(t=0;t<i.length;t++)r=i[t],e.indexOf(r)>=0||Object.prototype.propertyIsEnumerable.call(n,r)&&(o[r]=n[r])}return o}function U(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function q(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?U(Object(r),!0).forEach((function(e){V(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):U(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function V(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==W(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==W(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===W(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function L(n){var e=n.bindings,r=(n.children,n.dragging),o=n.dragMode,i=H(n,D),a=Y((0,t.useState)([null,null]),2),l=a[0],c=a[1],u=(0,t.useMemo)((function(){return function(n){return n.reduce((function(n,e,r){var t=function(){return 0===n.at(-1).length};return(s(e)&&!t()||!t()&&s(n.at(-1)[0])||6===n.at(-1).length)&&n.push([]),n.at(-1).push(q(q({},e),{},{index:r})),n}),[[]])}(e)}),[e]);function d(n){c((function(){return n}))}function p(n){return S()(l,n)}function f(n){c((function(e){return S()(e,n)?[null,null]:e}))}function A(){var n=Y(l,3),r=n[0],t=n[1],o=n[2],a=u[r][t].index,c=a<e.length-1?a+1:-1;i.onDrop(1===o?c:a)}return r&&(0,P.jsxs)("div",{className:[I.dropTargets,r?I.dragging:"","row"===o?I.dropRowOnly:""].join(" "),children:[u.map((function(n,e){return(0,P.jsxs)(t.Fragment,{children:[(0,P.jsx)(z,{row:n,isDropping:p([e,0,-1]),onDragEnter:function(){return d([e,0,-1])},onDragLeave:function(){return f([e,0,-1])},onDrop:A}),n.map((function(r,o){return(0,P.jsxs)(t.Fragment,{children:[(0,P.jsx)(G,{bind:r,isDropping:p([e,o,0]),onDragEnter:function(){return d([e,o,0])},onDragLeave:function(){return f([e,o,0])},onDrop:A}),(0,P.jsx)(X,{bind:r,isDropping:p([e,o,1]),onDragEnter:function(){return d([e,o,1])},onDragLeave:function(){return f([e,o,1])},onDrop:A,"data-extend":s(r)||o!==n.length-1?0:Math.max(0,5-o)})]},o)}))]},e)})),(0,P.jsx)(z,{row:u.length-1,isDropping:p([u.length-1,u.at(-1).length-1,1]),onDragEnter:function(){return d([u.length-1,u.at(-1).length-1,1])},onDragLeave:function(){return f([u.length-1,u.at(-1).length-1,1])},onDrop:A})]})}function K(n){var e,r=n.isDropping,t=n.control,o=void 0!==t&&t,i=n.classes,a=void 0===i?[]:i,l=H(n,T);return(0,P.jsx)("div",q({"data-is-control":o,className:[I.dropTargetHalf,r?I.droppable:""].concat((e=a,function(n){if(Array.isArray(n))return _(n)}(e)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(e)||M(e)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())).join(" ")},l))}function G(n){var e=n.bind,r=H(n,Z);return(0,P.jsx)(K,q({control:s(e)},r))}function X(n){var e=n.bind,r=H(n,R);return(0,P.jsx)(K,q({control:s(e),classes:[I.secondHalf]},r))}function z(n){n.row;var e=n.isDropping,r=H(n,N);return(0,P.jsx)("div",q({"data-drop-mode":"row",className:[I.dropTargetRow,e?I.droppable:""].join(" ")},r))}var Q=r(64261),F=r(96186),J=r(91118),$=r(61953),nn=r(81404),en=r(27926),rn=r(39017);function tn(n,e){if(n){if("string"==typeof n)return on(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?on(n,e):void 0}}function on(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var an=function(n){return{value:"&kp",params:[{value:n,params:[]}]}},ln=[{pattern:/[0-9]/,convert:function(n){return an("N".concat(n))}},{pattern:/[a-z]/,convert:function(n){return an(n.toUpperCase())}},{pattern:/[A-Z]/,convert:function(n){return{value:"&kp",params:[{value:"LS",params:[{value:n.toUpperCase(),params:[]}]}]}}}],cn={"!":an("EXCL"),"@":an("AT"),"#":an("POUND"),$:an("DLLR"),"%":an("PRCNT"),"^":an("CARET"),"&":an("AMPS"),"*":an("STAR"),"(":an("LPAR"),")":an("RPAR"),"\n":an("RET")," ":an("SPACE"),"-":an("MINUS"),_:an("UNDER"),"=":an("EQUAL"),"+":an("PLUS"),"[":an("LBKT"),"]":an("LBRC"),"{":an("RBKT"),"}":an("RBRC"),"\\":an("BSLH"),"|":an("PIPE"),"":an("TILDE2"),";":an("SEMI"),":":an("COLON"),"'":an("SQT"),'"':an("DQT"),"`":an("GRAVE"),"~":an("TILDE"),",":an("COMMA"),"<":an("LT"),".":an("DOT"),">":an("GT"),"/":an("FSLH"),"?":an("QMARK")};var un=function(n){var e,r,o=n.onClose,i=(e=(0,t.useState)("Type something..."),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||tn(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),a=i[0],l=i[1],u=(0,t.useMemo)((function(){return a.split("").reduce((function(n,e){var r=function(n){if(cn[n])return cn[n];var e,r=function(n,e){var r="undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(!r){if(Array.isArray(n)||(r=tn(n))){r&&(n=r);var t=0,o=function(){};return{s:o,n:function(){return t>=n.length?{done:!0}:{done:!1,value:n[t++]}},e:function(n){throw n},f:o}}throw new TypeError("Invalid attempt to iterate non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}var i,a=!0,l=!1;return{s:function(){r=r.call(n)},n:function(){var n=r.next();return a=n.done,n},e:function(n){l=!0,i=n},f:function(){try{a||null==r.return||r.return()}finally{if(l)throw i}}}}(ln);try{for(r.s();!(e=r.n()).done;){var t=e.value,o=t.pattern,i=t.convert;if(n.match(o))return i(n)}}catch(n){r.e(n)}finally{r.f()}}(e);return r&&n.push(r),n}),[])}),[a]),s=(0,rn.NE)(u),d=(0,t.useCallback)((function(n){n&&(n.focus(),n.select())}),[]);return(0,P.jsx)(Q.Z,{children:(0,P.jsxs)(F.Z,{dismissText:!1,children:[(0,P.jsx)("h2",{children:"Create Typing Sequence"}),(0,P.jsx)("p",{children:"Type a message to generate a sequence of bindings in the macro."}),(0,P.jsx)("textarea",{value:a,ref:d,style:{width:"100%",height:"6rem"},onChange:function(n){return l(n.target.value)}}),(0,P.jsx)("div",{className:w.macroBindings,children:s.map((function(n,e){return(0,P.jsx)(t.Fragment,{children:(0,P.jsx)(J.Z,{selectable:!1,themeClass:c()($.Z.keyDefaultTheme,$.Z.unified),children:(0,P.jsx)(nn.Z,{node:n.params[0],onSelect:function(){}})})},e)}))}),(0,P.jsxs)("div",{className:w.macroActions,children:[(0,P.jsx)(en.Z,{onClick:function(){return o(s)},children:"Add to macro"}),(0,P.jsx)(en.Z,{onClick:function(){return o([])},secondary:!0,children:"Cancel"})]})]})})},sn=r(82607),dn=r(41051),pn=r(56803),fn=r(29709),An=r(63105),mn=r.n(An),bn=r(7739),hn=r.n(bn),yn=r(35161),gn=r.n(yn),vn=r(44908),xn=r.n(vn),Cn=r(95130),En=r(62412),jn=r(67998),wn=r(81485),Bn=r(41696);function Sn(n){return function(n){if(Array.isArray(n))return kn(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||On(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function On(n,e){if(n){if("string"==typeof n)return kn(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?kn(n,e):void 0}}function kn(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var In=Cn.behaviorBindings.reduce(Cn.behaviorMapReducer,{});function Pn(n){return(0,t.useMemo)((function(){return n.reduce((function(e,r,t){return(0,jn.isParameterControlBinding)(r)&&e.push({controlBindingIndex:t,affectedBindingIndex:(0,jn.findFirstNonControlBindingIndex)(n,In,t),affectedParamIndex:(0,jn.getTargetParameterIndex)(r)}),e}),[])}),[n])}function Dn(n,e){var r=Pn(n);return(0,t.useMemo)((function(){return gn()(mn()(r,{affectedBindingIndex:e}),"affectedParamIndex").map((function(n){return{paramIndex:n,slot:{type:"command",const:{code:"MACRO_PLACEHOLDER",displayName:"Placeholder",description:"This placeholder will be substituted with parameters given when the macro is bound",params:[]}}}}))}),[r,e])}function Tn(n){var e=Pn(n),r=(0,t.useContext)(wn.c).behaviorParameters;return(0,t.useMemo)((function(){return[].concat(Sn(function(n){return n.reduce((function(n,e){return-1===e.affectedBindingIndex&&n.push({message:"Parameter assignment has no affected binding",affectedBindings:[e.controlBindingIndex]}),n}),[])}(e)),Sn(function(n){var e=hn()(n,"affectedBindingIndex");return Object.keys(e).reduce((function(n,r){var t=e[r];if(t.length>1){var o=hn()(t,"affectedParamIndex");for(var i in o){var a=o[i];a.length>1&&n.push({message:"Multiple substitions to the same binding parameter",affectedBindings:xn()([].concat(Sn(gn()(a,"controlBindingIndex")),[r]))})}}return n}),[])}(e)),Sn(function(n,e){return n.reduce((function(n,r){var t,o,i=e[r.affectedBindingIndex];if(i&&0===r.affectedParamIndex){var a,l=(t=En.baseParametersByCode[i.value]||[],o=1,function(n){if(Array.isArray(n))return n}(t)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(t,o)||On(t,o)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}())[0];(null==l||null===(a=l.enum)||void 0===a?void 0:a.some((function(n){return n.additionalParams})))&&n.push({message:"Parameter assignment may affect additional parameters",affectedBindings:[r.affectedBindingIndex]})}return n}),[])}(e,n)),Sn(function(n,e,r){return n.reduce((function(n,t){var o=t.controlBindingIndex,i=t.affectedBindingIndex,a=t.affectedParamIndex;if(-1===i)return n;var l=e[i],c=(0,Bn.L)(l,r);return c&&c.length-1<a&&n.push({message:"Target parameter does not exist for affected binding",affectedBindings:[o,i]}),n}),[])}(e,n,r)))}),[e,n,r])}function Zn(n){var e=n.bindings,r=n.onHighlight,t=Tn(e);return 0===t.length?null:(0,P.jsxs)("div",{className:w.parameterWarnings,children:[(0,P.jsx)("p",{children:(0,P.jsx)("strong",{children:"Warnings"})}),(0,P.jsx)("ul",{children:t.map((function(n,e){return(0,P.jsxs)("li",{children:[(0,P.jsx)(dn.Z,{name:"search",className:w.warningHighlightIcon,onMouseEnter:function(){return r(n.affectedBindings)},onMouseLeave:function(){return r([])}})," ",(0,P.jsx)("span",{className:w.message,children:n.message})]},e)}))})]})}var Rn=r(30314),Nn=r(1601),Wn=r(80671);function Yn(n){var e=n.bindings,r=n.bindingIndex,t=n.onUpdate,o=n.onCancel,i=e[r],a=Dn(e,r);return(0,P.jsx)(Rn.D,{paramOverrides:a,children:(0,P.jsx)(Nn.M,{bindingReducer:Mn,children:(0,P.jsx)(Wn.Z,{context:s(i)?"macros":"none",binding:i,bindingIndex:r,onCancel:o,onUpdate:t,Heading:function(){return null}})})})}function Mn(n){return(0,u.splitConvenienceBinding)(n),n}function _n(n){return _n="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},_n(n)}function Hn(n){return function(n){if(Array.isArray(n))return Ln(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||Vn(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Un(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==_n(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==_n(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===_n(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function qn(n,e){return function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||Vn(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function Vn(n,e){if(n){if("string"==typeof n)return Ln(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?Ln(n,e):void 0}}function Ln(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function Kn(n){var e=n.bindings,r=n.onUpdate,o=qn((0,t.useState)(null),2),i=o[0],a=o[1],l=qn((0,t.useState)(null),2),d=l[0],p=l[1],f=qn((0,t.useState)([]),2),A=f[0],m=f[1],b=qn((0,Q.X)(),3),h=b[0],y=b[1],g=b[2],v=function(n,e){var r=(0,t.useCallback)((function(r,t){(0,u.splitConvenienceBinding)(t),e((0,fn.xw)(n,r,t))}),[n,e]),o=(0,t.useCallback)((function(r){e((0,fn.f5)(n,r))}),[n,e]),i=(0,t.useCallback)((function(r){e([].concat(Hn(n),Hn(r)))}),[n,e]),a=(0,t.useCallback)((function(){i([{value:"&macro_press",params:[]}])}),[i]),l=(0,t.useCallback)((function(){i([{value:"&kp",params:[]}])}),[i]);return[r,o,i,a,l]}(e,r),x=qn(v,5),C=x[0],E=x[1],j=x[2],B=x[3],S=x[4];return(0,t.useEffect)((function(){function n(){a(null)}function e(n){n.stopPropagation(),n.preventDefault()}return document.body.addEventListener("drop",n),document.body.addEventListener("dragover",e),function(){document.body.removeEventListener("drop",n),document.body.removeEventListener("dragover",e)}}),[a]),(0,P.jsxs)(P.Fragment,{children:[null!==d&&(0,P.jsx)(Yn,{bindings:e,bindingIndex:d,onCancel:function(){return p(null)},onUpdate:function(n){C(d,n),p(null)}}),(0,P.jsxs)("div",{className:w.macroBindings,children:[e.map((function(n,r){return(0,P.jsx)(t.Fragment,{children:(0,P.jsx)(Gn,{bindings:e,index:r,children:(0,P.jsxs)(J.Z,{"data-index":r,themeClass:c()($.Z.keyDefaultTheme,Un({},w.controlBinding,s(n))),draggable:!0,onDragStart:function(n){return function(n,r){if(n.dataTransfer.items.length)n.dataTransfer.clearData();else{var t=e[r];a({index:r,mode:s(t)?"row":"col",isControlBinding:s(t)})}}(n,r)},children:[(0,P.jsx)(sn.Z,{binding:n,keyWrapperProps:{themeClass:c()($.Z.unified,Un({},w.bindingWarningHighlight,A.includes(r))),onClick:function(){return p(r)}}}),(0,P.jsx)("div",{className:w.actions,children:(0,P.jsx)(dn.Z,{name:"trash",className:w.deleteBind,onClick:(0,pn.s)((function(){return E(r)}))})})]},r)})},r)})),(0,P.jsx)(L,{dragging:i,bindings:e,onDrop:function(n){r((0,fn.xE)(e,i.index,n)),a(null)}})]}),(0,P.jsx)(Zn,{bindings:e,onHighlight:m}),h&&(0,P.jsx)(un,{onClose:function(n){g(),j(n)}}),(0,P.jsxs)("div",{className:w.macroActions,children:[(0,P.jsx)(en.Z,{onClick:B,children:"Add Control Binding"}),(0,P.jsx)(en.Z,{onClick:S,children:"Add Key Binding"}),(0,P.jsx)(en.Z,{onClick:y,children:"Add String Sequence"})]})]})}function Gn(n){var e=n.bindings,r=n.index,t=n.children,o=Dn(e,r);return(0,P.jsx)(Rn.D,{paramOverrides:o,children:t})}Kn.propTypes={bindings:a().array.isRequired,onUpdate:a().func.isRequired};var Xn=r(49443);function zn(n){return zn="function"==typeof Symbol&&"symbol"==typeof Symbol.iterator?function(n){return typeof n}:function(n){return n&&"function"==typeof Symbol&&n.constructor===Symbol&&n!==Symbol.prototype?"symbol":typeof n},zn(n)}function Qn(n,e){var r=Object.keys(n);if(Object.getOwnPropertySymbols){var t=Object.getOwnPropertySymbols(n);e&&(t=t.filter((function(e){return Object.getOwnPropertyDescriptor(n,e).enumerable}))),r.push.apply(r,t)}return r}function Fn(n){for(var e=1;e<arguments.length;e++){var r=null!=arguments[e]?arguments[e]:{};e%2?Qn(Object(r),!0).forEach((function(e){Jn(n,e,r[e])})):Object.getOwnPropertyDescriptors?Object.defineProperties(n,Object.getOwnPropertyDescriptors(r)):Qn(Object(r)).forEach((function(e){Object.defineProperty(n,e,Object.getOwnPropertyDescriptor(r,e))}))}return n}function Jn(n,e,r){return(e=function(n){var e=function(n,e){if("object"!==zn(n)||null===n)return n;var r=n[Symbol.toPrimitive];if(void 0!==r){var t=r.call(n,"string");if("object"!==zn(t))return t;throw new TypeError("@@toPrimitive must return a primitive value.")}return String(n)}(n);return"symbol"===zn(e)?e:String(e)}(e))in n?Object.defineProperty(n,e,{value:r,enumerable:!0,configurable:!0,writable:!0}):n[e]=r,n}function $n(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var ne=function(n){var e,r,o,i,a=n.macro,l=n.onUpdate,c=(o=(0,t.useState)(a),i=2,function(n){if(Array.isArray(n))return n}(o)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(o,i)||function(n,e){if(n){if("string"==typeof n)return $n(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?$n(n,e):void 0}}(o,i)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),u=c[0],s=c[1];return(0,P.jsx)(Q.Z,{onDismiss:function(){l(a)},children:(0,P.jsxs)(F.Z,{onDismiss:function(){l(u)},children:[(0,P.jsxs)("h2",{children:["Customize ",(0,P.jsx)("code",{children:a.name})]}),(0,P.jsxs)("div",{children:[(0,P.jsx)(Xn.Z,{node:u,onUpdate:s}),(0,P.jsxs)("div",{className:w.field,children:[(0,P.jsx)("label",{htmlFor:"customize-macro-wait",children:"Wait (ms)"}),(0,P.jsx)("input",{id:"customize-macro-wait",type:"number",placeholder:"Default",value:(null===(e=u.properties["wait-ms"])||void 0===e?void 0:e.parsed)||"",onChange:function(n){return s((function(e){return Fn(Fn({},e),{},{properties:Fn(Fn({},e.properties),{},{"wait-ms":""===n.target.value?void 0:{parsed:Number(n.target.value)}})})}))}})]}),(0,P.jsxs)("div",{className:w.field,children:[(0,P.jsx)("label",{htmlFor:"customize-macro-tap",children:"Tap (ms)"}),(0,P.jsx)("input",{id:"customize-macro-tap",type:"number",placeholder:"Default",value:(null===(r=u.properties["tap-ms"])||void 0===r?void 0:r.parsed)||"",onChange:function(n){return s((function(e){return Fn(Fn({},e),{},{properties:Fn(Fn({},e.properties),{},{"tap-ms":""===n.target.value?void 0:{parsed:Number(n.target.value)}})})}))}})]})]})]})})},ee=r(12736);function re(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function te(n){var e,r,o=n.index,i=n.macro,a=n.dispatch,l=(e=(0,t.useState)(!1),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return re(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?re(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),c=l[0],u=l[1],s=(0,t.useCallback)((function(n){n.stopPropagation&&n.stopPropagation(),u(!0)}),[u]),d=(0,t.useCallback)((function(n){a((0,ee.F0)({index:o,bindings:n}))}),[a,o]),p=(0,t.useCallback)((function(){window.confirm("Really delete macro: ".concat(i.name,"?"))&&a((0,ee.I2)({index:o}))}),[o,i,a]);return(0,P.jsxs)("div",{className:w.macro,children:[c&&(0,P.jsx)(ne,{macro:i,onUpdate:function(n){u(!1),a((0,ee.vo)({macroIndex:o,options:n}))}}),(0,P.jsxs)("div",{className:w.heading,children:[(0,P.jsxs)("h5",{onClick:s,children:["&",i.labels[0]]}),(0,P.jsxs)("div",{children:[(0,P.jsx)(dn.Z,{name:"wrench",className:"".concat(w.action),onClick:s}),(0,P.jsx)(dn.Z,{name:"trash-can",className:"".concat(w.action," ").concat(w.remove),onClick:p})]})]}),(0,P.jsx)(Kn,{bindings:i.properties.bindings.parsed,onUpdate:d})]})}te.propTypes={index:a().number.isRequired,macro:a().shape({name:a().string.isRequired,labels:a().arrayOf(a().string).isRequired,properties:a().object.isRequired}).isRequired,dispatch:a().func.isRequired};var oe=te,ie=r(94062),ae=r(62417),le=r(97494);function ce(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}function ue(n){var e,r,o=n.onCreate,i=n.onCancel,a=(e=(0,t.useState)("new_macro"),r=2,function(n){if(Array.isArray(n))return n}(e)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(e,r)||function(n,e){if(n){if("string"==typeof n)return ce(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?ce(n,e):void 0}}(e,r)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[0],c=a[1],u=(0,t.useCallback)((function(n){return c(n.target.value)}),[c]),s=(0,t.useCallback)((function(){o(function(n){var e=[n],r=n.toUpperCase();return{name:n,labels:e,properties:{compatible:{parsed:"zmk,behavior-macro",raw:'"zmk,behavior-macro"'},label:{parsed:r,raw:'"'.concat(r,'"')},"#binding-cells":{parsed:0,raw:"<0>"},bindings:{parsed:[{value:"&none",params:[]}],raw:"&none"}}}}(l))}),[l,o]),d=(0,ae.zq)(l);return(0,P.jsx)(Q.Z,{onDismiss:i,children:(0,P.jsxs)(F.Z,{dismissText:null,children:[(0,P.jsx)("h3",{children:"Add new macro"}),(0,P.jsx)("div",{children:(0,P.jsxs)("label",{children:["Macro name: ",(0,P.jsx)(le.Z,{required:!0,value:l,validator:ae.zq,onChange:u})]})}),(0,P.jsx)("p",{children:(0,P.jsxs)("em",{children:["This value will be used for binding the macro's actions in your keymap (e.g. ",(0,P.jsxs)("code",{children:["&",l]}),") and should be unique. It will also be used internally for the node name and label property, which you can customize later."]})}),(0,P.jsxs)("div",{style:{textAlign:"center",margin:"10px"},children:[(0,P.jsx)(en.Z,{disabled:!l||d,onClick:s,children:"Create"}),(0,P.jsx)(en.Z,{onClick:i,secondary:!0,children:"Cancel"})]})]})})}ue.propTypes={onCreate:a().func.isRequired,onCancel:a().func.isRequired};var se=r(2968);function de(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}var pe=(0,P.jsx)(se.Z,{external:!0,href:"https://github.com/nickcoutsos/keymap-editor/wiki/Features#parameterized-macros-work-in-progress",children:"Parameterized Macros"}),fe=function(){var n,e,r=(0,o.v9)(ee.bU),i=(0,o.I0)(),a=(n=(0,Q.X)(),e=3,function(n){if(Array.isArray(n))return n}(n)||function(n,e){var r=null==n?null:"undefined"!=typeof Symbol&&n[Symbol.iterator]||n["@@iterator"];if(null!=r){var t,o,i,a,l=[],c=!0,u=!1;try{if(i=(r=r.call(n)).next,0===e){if(Object(r)!==r)return;c=!1}else for(;!(c=(t=i.call(r)).done)&&(l.push(t.value),l.length!==e);c=!0);}catch(n){u=!0,o=n}finally{try{if(!c&&null!=r.return&&(a=r.return(),Object(a)!==a))return}finally{if(u)throw o}}return l}}(n,e)||function(n,e){if(n){if("string"==typeof n)return de(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?de(n,e):void 0}}(n,e)||function(){throw new TypeError("Invalid attempt to destructure non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()),l=a[0],c=a[1],u=a[2],s=(0,t.useCallback)((function(n){i((0,ee.xd)(n)),u()}),[u,i]);return(0,P.jsxs)("div",{className:w.main,children:[(0,P.jsxs)("div",{className:w.header,children:[(0,P.jsx)(ie.Z,{url:"https://zmk.dev/docs/behaviors/macros",text:"ZMK Docs: Macros"}),(0,P.jsxs)("p",{children:[(0,P.jsx)(dn.Z,{name:"bullhorn"})," ",pe," should be ready to use now, let me know how it goes!"]}),l&&(0,P.jsx)(ue,{onCreate:s,onCancel:u})]}),r.map((function(n,e){return(0,P.jsx)(oe,{macro:n,index:e,dispatch:i},e)})),(0,P.jsx)("div",{className:w.footer,children:(0,P.jsx)(en.Z,{onClick:c,children:"Add New Macro"})})]})}},56803:function(n,e,r){"use strict";function t(n){return function(e){e.stopPropagation(),n()}}function o(n){return function(e){n[e.key]&&n[e.key]()}}r.d(e,{s:function(){return t},w:function(){return o}})},29709:function(n,e,r){"use strict";function t(n){return function(n){if(Array.isArray(n))return o(n)}(n)||function(n){if("undefined"!=typeof Symbol&&null!=n[Symbol.iterator]||null!=n["@@iterator"])return Array.from(n)}(n)||function(n,e){if(n){if("string"==typeof n)return o(n,e);var r=Object.prototype.toString.call(n).slice(8,-1);return"Object"===r&&n.constructor&&(r=n.constructor.name),"Map"===r||"Set"===r?Array.from(n):"Arguments"===r||/^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(r)?o(n,e):void 0}}(n)||function(){throw new TypeError("Invalid attempt to spread non-iterable instance.\nIn order to be iterable, non-array objects must have a [Symbol.iterator]() method.")}()}function o(n,e){(null==e||e>n.length)&&(e=n.length);for(var r=0,t=new Array(e);r<e;r++)t[r]=n[r];return t}r.d(e,{f5:function(){return i},xE:function(){return l},xw:function(){return a}});var i=function(n,e){return[].concat(t(n.slice(0,e)),t(n.slice(e+1)))},a=function(n,e,r){return[].concat(t(n.slice(0,e)),[r],t(n.slice(e+1)))};function l(n,e,r){return-1===r?[].concat(t(n.filter((function(n,r){return r!==e}))),[n[e]]):n.reduce((function(t,o,i){return i===r&&t.push(n[e]),i!==e&&t.push(o),t}),[])}},33988:function(n,e,r){"use strict";var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,".OaJISbD1WCmb03at77EG {\n position: relative;\n}\n\n.MUN9De8dUvbPGH9cEDoQ {\n position: absolute;\n z-index: 10;\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 100%);\n max-width: 250px;\n width: 100%;\n\n border-radius: 4px;\n padding: 3px 5px;\n\n color: white;\n background-color: var(--error-highlight);\n font-size: 85%;\n font-family: sans-serif;\n\n opacity: 0.9;\n}\n.MUN9De8dUvbPGH9cEDoQ::before {\n position: absolute;\n display: block;\n content: ' ';\n z-index: -1;\n\n left: 50%;\n width: 10px;\n height: 10px;\n\n background-color: var(--error-highlight);\n transform: translate(-50%, -7px) rotate(45deg);\n}\n","",{version:3,sources:["webpack://./src/Common/input.module.css"],names:[],mappings:"AAAA;EACE,kBAAkB;AACpB;;AAEA;EACE,kBAAkB;EAClB,WAAW;EACX,SAAS;EACT,SAAS;EACT,gCAAgC;EAChC,gBAAgB;EAChB,WAAW;;EAEX,kBAAkB;EAClB,gBAAgB;;EAEhB,YAAY;EACZ,wCAAwC;EACxC,cAAc;EACd,uBAAuB;;EAEvB,YAAY;AACd;AACA;EACE,kBAAkB;EAClB,cAAc;EACd,YAAY;EACZ,WAAW;;EAEX,SAAS;EACT,WAAW;EACX,YAAY;;EAEZ,wCAAwC;EACxC,8CAA8C;AAChD",sourcesContent:[".wrapper {\n position: relative;\n}\n\n.error {\n position: absolute;\n z-index: 10;\n bottom: 0;\n left: 50%;\n transform: translate(-50%, 100%);\n max-width: 250px;\n width: 100%;\n\n border-radius: 4px;\n padding: 3px 5px;\n\n color: white;\n background-color: var(--error-highlight);\n font-size: 85%;\n font-family: sans-serif;\n\n opacity: 0.9;\n}\n.error::before {\n position: absolute;\n display: block;\n content: ' ';\n z-index: -1;\n\n left: 50%;\n width: 10px;\n height: 10px;\n\n background-color: var(--error-highlight);\n transform: translate(-50%, -7px) rotate(45deg);\n}\n"],sourceRoot:""}]),a.locals={wrapper:"OaJISbD1WCmb03at77EG",error:"MUN9De8dUvbPGH9cEDoQ"},e.Z=a},35839:function(n,e,r){"use strict";var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,'\n.O8SEfqE2Ewc3b7c7mY_N {\n position:absolute;\n top: -5px;\n left: 0px;\n width: 100%;\n /* border: 1px solid red; */\n /* padding: 5px; */\n /* opacity: 0.5; */\n display: flex;\n flex-wrap: wrap;\n}\n\n.s9O56LWZBKHctVZ4a6fa {\n position: relative;\n width: 37.5px;\n height: 65px;\n margin: 0;\n}\n\n.s9O56LWZBKHctVZ4a6fa[data-is-control="true"] {\n width: 450px;\n height: 15px;\n}\n\n.NNwZmurJWlIfvb3BWlNX {\n position: relative;\n width: 450px;\n height: 10px;\n}\n.NNwZmurJWlIfvb3BWlNX.wVYVfDVsCKFNjQcGKIVI::after {\n content: \'\';\n display: block;\n position: absolute;\n top: 50%;\n transform: translate(0, -50%);\n width: 450px;\n height: 4px;\n background-color: var(--selection);\n}\n.MDfy6RcGBlm8W_ChRhyP[data-extend="1"] { width: calc(37.5px + 1 * 75px); }\n.MDfy6RcGBlm8W_ChRhyP[data-extend="2"] { width: calc(37.5px + 2 * 75px); }\n.MDfy6RcGBlm8W_ChRhyP[data-extend="3"] { width: calc(37.5px + 3 * 75px); }\n.MDfy6RcGBlm8W_ChRhyP[data-extend="4"] { width: calc(37.5px + 4 * 75px); }\n.MDfy6RcGBlm8W_ChRhyP[data-extend="5"] { width: calc(37.5px + 5 * 75px); }\n\n/* .dropTargetHalf {\n background-color: blue;\n opacity: 0.25;\n}\n.dropTargetHalf.secondHalf {\n background-color: red;\n}\n.dropTargetRow {\n background-color: purple;\n opacity: 0.25;\n} */\n\n.wVYVfDVsCKFNjQcGKIVI.s9O56LWZBKHctVZ4a6fa:not(.MDfy6RcGBlm8W_ChRhyP):not([data-is-control="true"])::before,\n.wVYVfDVsCKFNjQcGKIVI.MDfy6RcGBlm8W_ChRhyP:not([data-is-control="true"])::after {\n content: \'\';\n display: block;\n height: 65px;\n width: 4px;\n border-radius: 4px;\n background-color: var(--selection);\n}\n\n.AuFB9WiCynP_oONYhOvq .wVYVfDVsCKFNjQcGKIVI:not([data-drop-mode="row"])::before,\n.AuFB9WiCynP_oONYhOvq .wVYVfDVsCKFNjQcGKIVI:not([data-drop-mode="row"])::after {\n visibility: hidden;\n }\n\n.s9O56LWZBKHctVZ4a6fa:not(.MDfy6RcGBlm8W_ChRhyP):not([data-is-control="true"])::before {\n transform: translate(-50%, 0);\n}\n.MDfy6RcGBlm8W_ChRhyP:not([data-is-control="true"])::after {\n position: absolute;\n left: 32.5px;\n transform: translate(50%, 0);\n}\n',"",{version:3,sources:["webpack://./src/Keyboard/Macros/drag-and-drop.module.css"],names:[],mappings:";AACA;EACE,iBAAiB;EACjB,SAAS;EACT,SAAS;EACT,WAAW;EACX,2BAA2B;EAC3B,kBAAkB;EAClB,kBAAkB;EAClB,aAAa;EACb,eAAe;AACjB;;AAEA;EACE,kBAAkB;EAClB,aAAa;EACb,YAAY;EACZ,SAAS;AACX;;AAEA;EACE,YAAY;EACZ,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,YAAY;EACZ,YAAY;AACd;AACA;EACE,WAAW;EACX,cAAc;EACd,kBAAkB;EAClB,QAAQ;EACR,6BAA6B;EAC7B,YAAY;EACZ,WAAW;EACX,kCAAkC;AACpC;AACA,yCAA+B,8BAA8B,EAAE;AAC/D,yCAA+B,8BAA8B,EAAE;AAC/D,yCAA+B,8BAA8B,EAAE;AAC/D,yCAA+B,8BAA8B,EAAE;AAC/D,yCAA+B,8BAA8B,EAAE;;AAE/D;;;;;;;;;;GAUG;;AAEH;;EAEE,WAAW;EACX,cAAc;EACd,YAAY;EACZ,UAAU;EACV,kBAAkB;EAClB,kCAAkC;AACpC;;AAEA;;GAEG,kBAAkB;CACpB;;AAED;EACE,6BAA6B;AAC/B;AACA;EACE,kBAAkB;EAClB,YAAY;EACZ,4BAA4B;AAC9B",sourcesContent:['\n.dropTargets {\n position:absolute;\n top: -5px;\n left: 0px;\n width: 100%;\n /* border: 1px solid red; */\n /* padding: 5px; */\n /* opacity: 0.5; */\n display: flex;\n flex-wrap: wrap;\n}\n\n.dropTargetHalf {\n position: relative;\n width: 37.5px;\n height: 65px;\n margin: 0;\n}\n\n.dropTargetHalf[data-is-control="true"] {\n width: 450px;\n height: 15px;\n}\n\n.dropTargetRow {\n position: relative;\n width: 450px;\n height: 10px;\n}\n.dropTargetRow.droppable::after {\n content: \'\';\n display: block;\n position: absolute;\n top: 50%;\n transform: translate(0, -50%);\n width: 450px;\n height: 4px;\n background-color: var(--selection);\n}\n.secondHalf[data-extend="1"] { width: calc(37.5px + 1 * 75px); }\n.secondHalf[data-extend="2"] { width: calc(37.5px + 2 * 75px); }\n.secondHalf[data-extend="3"] { width: calc(37.5px + 3 * 75px); }\n.secondHalf[data-extend="4"] { width: calc(37.5px + 4 * 75px); }\n.secondHalf[data-extend="5"] { width: calc(37.5px + 5 * 75px); }\n\n/* .dropTargetHalf {\n background-color: blue;\n opacity: 0.25;\n}\n.dropTargetHalf.secondHalf {\n background-color: red;\n}\n.dropTargetRow {\n background-color: purple;\n opacity: 0.25;\n} */\n\n.droppable.dropTargetHalf:not(.secondHalf):not([data-is-control="true"])::before,\n.droppable.secondHalf:not([data-is-control="true"])::after {\n content: \'\';\n display: block;\n height: 65px;\n width: 4px;\n border-radius: 4px;\n background-color: var(--selection);\n}\n\n.dropRowOnly .droppable:not([data-drop-mode="row"])::before,\n.dropRowOnly .droppable:not([data-drop-mode="row"])::after {\n visibility: hidden;\n }\n\n.dropTargetHalf:not(.secondHalf):not([data-is-control="true"])::before {\n transform: translate(-50%, 0);\n}\n.secondHalf:not([data-is-control="true"])::after {\n position: absolute;\n left: 32.5px;\n transform: translate(50%, 0);\n}\n'],sourceRoot:""}]),a.locals={dropTargets:"O8SEfqE2Ewc3b7c7mY_N",dropTargetHalf:"s9O56LWZBKHctVZ4a6fa",dropTargetRow:"NNwZmurJWlIfvb3BWlNX",droppable:"wVYVfDVsCKFNjQcGKIVI",secondHalf:"MDfy6RcGBlm8W_ChRhyP",dropRowOnly:"AuFB9WiCynP_oONYhOvq"},e.Z=a},96201:function(n,e,r){"use strict";var t=r(87537),o=r.n(t),i=r(23645),a=r.n(i)()(o());a.push([n.id,".kc8Au327pmIjKO7auLXT {\n padding-bottom: 60px;\n}\n\n.iNHvhyaEJ4ILoK0oc97e, .QSl4rRImPNo_Abu68kKW {\n width: 550px;\n margin: 1px auto;\n}\n.QSl4rRImPNo_Abu68kKW {\n text-align: center;\n margin-top: 10px;\n padding-top: 20px;\n border-top: 2px solid var(--key-bg-base);\n}\n\n.Us3Ihf0AoVbZvDulP74Q {\n width: 550px;\n margin: 10px auto 40px;\n}\n.OVI4IkVsVzyk0eIAn9NX {\n display: flex;\n position: relative;\n justify-content: space-between;\n border-bottom: 2px solid var(--key-bg-base);\n margin: 5px 0;\n}\n.OVI4IkVsVzyk0eIAn9NX h5 {\n margin: 0;\n cursor: pointer;\n}\n.QNlSO_GSGhRfUFRE_v8E {\n cursor: pointer;\n padding: 5px;\n opacity: 0.6;\n}\n.QNlSO_GSGhRfUFRE_v8E:hover {\n opacity: 1;\n}\n.DvzBwGDH7HsnnIbqaeHi {\n color: var(--delete);\n}\n\n.mwhR_W7iqHq803xNBV1H {\n text-align: center;\n}\n.mwhR_W7iqHq803xNBV1H > * {\n margin: 5px;\n}\n\n.TBgT7nB7JSSjnTpMQeXp {\n position: relative;\n width: 450px;\n /* border: 1px solid lightgray; */\n margin: 0 auto;\n padding: 5px;\n\n display: flex;\n flex-wrap: wrap;\n}\n\n.TBgT7nB7JSSjnTpMQeXp > * {\n margin: 5px;\n width: 65px;\n height: 65px;\n}\n\n.YMJbsLvnEGObUy4Y_i6w {\n width: 100%;\n height: 30px;\n box-sizing: border-box;\n}\n.YMJbsLvnEGObUy4Y_i6w:hover {\n background-color: var(--hover-selection);\n color: var(--key-color-hover);\n}\n.YMJbsLvnEGObUy4Y_i6w > :first-child {\n width: 100% !important;\n height: 100% !important;\n}\n\n.TBgT7nB7JSSjnTpMQeXp [draggable] {\n cursor: grab;\n}\n\n.I5drc4dA5Kpshp3PPle1 {\n visibility: hidden;\n position: absolute;\n top: 0px;\n right: 0px;\n font-size: 80%;\n\n color: var(--key-color-hover);\n}\n.I5drc4dA5Kpshp3PPle1 > * {\n margin: 2px;\n opacity: 0.5;\n cursor: pointer;\n}\n.TBgT7nB7JSSjnTpMQeXp :hover .I5drc4dA5Kpshp3PPle1 {\n visibility: visible;\n z-index: 10;\n}\n\n.I5drc4dA5Kpshp3PPle1 :hover {\n opacity: 1;\n}\n\n\n.iD9DsKMZZ1dQxr04488w {\n margin: 10px 0;\n display: flex;\n}\n\n.iD9DsKMZZ1dQxr04488w label {\n display: inline-block;\n width: 120px;\n text-align: right;\n margin-right: 10px;\n}\n\n.quGO7XFPrHoYiqu22mwg {\n font-size: 80%;\n}\n\n.ziS4tbh9X5RXMVKil0ZJ {\n width: 450px;\n margin: 0 auto;\n}\n.ziS4tbh9X5RXMVKil0ZJ .e5WrxtOt36BgXq_LJJSL {\n color: indianred\n}\n\n.BP90__cBSejXKVP6ojjM {\n cursor: pointer;\n}\n\n.Lvxxm3_prm2iJ0zIfRNq {\n outline: 2px solid crimson;\n}\n","",{version:3,sources:["webpack://./src/Keyboard/Macros/styles.module.css"],names:[],mappings:"AAAA;EACE,oBAAoB;AACtB;;AAEA;EACE,YAAY;EACZ,gBAAgB;AAClB;AACA;EACE,kBAAkB;EAClB,gBAAgB;EAChB,iBAAiB;EACjB,wCAAwC;AAC1C;;AAEA;EACE,YAAY;EACZ,sBAAsB;AACxB;AACA;EACE,aAAa;EACb,kBAAkB;EAClB,8BAA8B;EAC9B,2CAA2C;EAC3C,aAAa;AACf;AACA;EACE,SAAS;EACT,eAAe;AACjB;AACA;EACE,eAAe;EACf,YAAY;EACZ,YAAY;AACd;AACA;EACE,UAAU;AACZ;AACA;EACE,oBAAoB;AACtB;;AAEA;EACE,kBAAkB;AACpB;AACA;EACE,WAAW;AACb;;AAEA;EACE,kBAAkB;EAClB,YAAY;EACZ,iCAAiC;EACjC,cAAc;EACd,YAAY;;EAEZ,aAAa;EACb,eAAe;AACjB;;AAEA;EACE,WAAW;EACX,WAAW;EACX,YAAY;AACd;;AAEA;EACE,WAAW;EACX,YAAY;EACZ,sBAAsB;AACxB;AACA;EACE,wCAAwC;EACxC,6BAA6B;AAC/B;AACA;EACE,sBAAsB;EACtB,uBAAuB;AACzB;;AAEA;EACE,YAAY;AACd;;AAEA;EACE,kBAAkB;EAClB,kBAAkB;EAClB,QAAQ;EACR,UAAU;EACV,cAAc;;EAEd,6BAA6B;AAC/B;AACA;EACE,WAAW;EACX,YAAY;EACZ,eAAe;AACjB;AACA;EACE,mBAAmB;EACnB,WAAW;AACb;;AAEA;EACE,UAAU;AACZ;;;AAGA;EACE,cAAc;EACd,aAAa;AACf;;AAEA;EACE,qBAAqB;EACrB,YAAY;EACZ,iBAAiB;EACjB,kBAAkB;AACpB;;AAEA;EACE,cAAc;AAChB;;AAEA;EACE,YAAY;EACZ,cAAc;AAChB;AACA;EACE;AACF;;AAEA;EACE,eAAe;AACjB;;AAEA;EACE,0BAA0B;AAC5B",sourcesContent:[".main {\n padding-bottom: 60px;\n}\n\n.header, .footer {\n width: 550px;\n margin: 1px auto;\n}\n.footer {\n text-align: center;\n margin-top: 10px;\n padding-top: 20px;\n border-top: 2px solid var(--key-bg-base);\n}\n\n.macro {\n width: 550px;\n margin: 10px auto 40px;\n}\n.heading {\n display: flex;\n position: relative;\n justify-content: space-between;\n border-bottom: 2px solid var(--key-bg-base);\n margin: 5px 0;\n}\n.heading h5 {\n margin: 0;\n cursor: pointer;\n}\n.action {\n cursor: pointer;\n padding: 5px;\n opacity: 0.6;\n}\n.action:hover {\n opacity: 1;\n}\n.remove {\n color: var(--delete);\n}\n\n.macroActions {\n text-align: center;\n}\n.macroActions > * {\n margin: 5px;\n}\n\n.macroBindings {\n position: relative;\n width: 450px;\n /* border: 1px solid lightgray; */\n margin: 0 auto;\n padding: 5px;\n\n display: flex;\n flex-wrap: wrap;\n}\n\n.macroBindings > * {\n margin: 5px;\n width: 65px;\n height: 65px;\n}\n\n.controlBinding {\n width: 100%;\n height: 30px;\n box-sizing: border-box;\n}\n.controlBinding:hover {\n background-color: var(--hover-selection);\n color: var(--key-color-hover);\n}\n.controlBinding > :first-child {\n width: 100% !important;\n height: 100% !important;\n}\n\n.macroBindings [draggable] {\n cursor: grab;\n}\n\n.actions {\n visibility: hidden;\n position: absolute;\n top: 0px;\n right: 0px;\n font-size: 80%;\n\n color: var(--key-color-hover);\n}\n.actions > * {\n margin: 2px;\n opacity: 0.5;\n cursor: pointer;\n}\n.macroBindings :hover .actions {\n visibility: visible;\n z-index: 10;\n}\n\n.actions :hover {\n opacity: 1;\n}\n\n\n.field {\n margin: 10px 0;\n display: flex;\n}\n\n.field label {\n display: inline-block;\n width: 120px;\n text-align: right;\n margin-right: 10px;\n}\n\n.betaDisclaimer {\n font-size: 80%;\n}\n\n.parameterWarnings {\n width: 450px;\n margin: 0 auto;\n}\n.parameterWarnings .message {\n color: indianred\n}\n\n.warningHighlightIcon {\n cursor: pointer;\n}\n\n.bindingWarningHighlight {\n outline: 2px solid crimson;\n}\n"],sourceRoot:""}]),a.locals={main:"kc8Au327pmIjKO7auLXT",header:"iNHvhyaEJ4ILoK0oc97e",footer:"QSl4rRImPNo_Abu68kKW",macro:"Us3Ihf0AoVbZvDulP74Q",heading:"OVI4IkVsVzyk0eIAn9NX",action:"QNlSO_GSGhRfUFRE_v8E",remove:"DvzBwGDH7HsnnIbqaeHi",macroActions:"mwhR_W7iqHq803xNBV1H",macroBindings:"TBgT7nB7JSSjnTpMQeXp",controlBinding:"YMJbsLvnEGObUy4Y_i6w",actions:"I5drc4dA5Kpshp3PPle1",field:"iD9DsKMZZ1dQxr04488w",betaDisclaimer:"quGO7XFPrHoYiqu22mwg",parameterWarnings:"ziS4tbh9X5RXMVKil0ZJ",message:"e5WrxtOt36BgXq_LJJSL",warningHighlightIcon:"BP90__cBSejXKVP6ojjM",bindingWarningHighlight:"Lvxxm3_prm2iJ0zIfRNq"},e.Z=a},45652:function(n,e,r){var t=r(88668),o=r(47443),i=r(1196),a=r(74757),l=r(23593),c=r(21814);n.exports=function(n,e,r){var u=-1,s=o,d=n.length,p=!0,f=[],A=f;if(r)p=!1,s=i;else if(d>=200){var m=e?null:l(n);if(m)return c(m);p=!1,s=a,A=new t}else A=e?[]:f;n:for(;++u<d;){var b=n[u],h=e?e(b):b;if(b=r||0!==b?b:0,p&&h==h){for(var y=A.length;y--;)if(A[y]===h)continue n;e&&A.push(h),f.push(b)}else s(A,h,r)||(A!==f&&A.push(h),f.push(b))}return f}},23593:function(n,e,r){var t=r(58525),o=r(50308),i=r(21814),a=t&&1/i(new t([,-0]))[1]==1/0?function(n){return new t(n)}:o;n.exports=a},18446:function(n,e,r){var t=r(90939);n.exports=function(n,e){return t(n,e)}},50308:function(n){n.exports=function(){}},44908:function(n,e,r){var t=r(45652);n.exports=function(n){return n&&n.length?t(n):[]}}}]);
+//# sourceMappingURL=MacroEditorTab.084f0dfd794e82d94730.js.map \ No newline at end of file
diff --git a/index.html b/index.html
index 141ec29..72dfb2d 100644
--- a/index.html
+++ b/index.html
@@ -1 +1 @@
-<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://nickcoutsos.github.io/keymap-editor/keycap.png"/><link href="https://nickcoutsos.github.io/keymap-editor/app.css" rel="stylesheet"><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Keymap Editor</title><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Nunito:wght@700&family=Quicksand:wght@500&display=swap" rel="stylesheet"><link rel="me" href="https://mastodon.social/@nickcoutsos"><meta name="description" content="A web-based editor for ZMK Keymaps"><meta property="og:url" content="https://nickcoutsos.github.io/keymap-editor"><meta property="og:type" content="website"><meta property="og:title" content="Keymap Editor"><meta property="og:description" content="A web-based editor for ZMK Keymaps"><meta property="og:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><meta name="twitter:card" content="summary_large_image"><meta property="twitter:domain" content="nickcoutsos.github.io"><meta property="twitter:url" content="https://nickcoutsos.github.io/keymap-editor"><meta name="twitter:title" content="Keymap Editor"><meta name="twitter:description" content="A web-based editor for ZMK Keymaps"><meta name="twitter:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><script defer="defer" src="runtime.433b1915dcac3f489fe0.js"></script><script defer="defer" src="shared.223bc0cde6b019a11360.js"></script><script defer="defer" src="vendors.e94259d805f9e0e4981c.js"></script><script defer="defer" src="react.0b7d83a58560e2038899.js"></script><script defer="defer" src="main.79337ebce3f680d99485.js"></script></head><body data-theme="system"><noscript>You need to enable JavaScript to run this app.</noscript><div id="app-root"></div><div id="modal-root"></div></body></html> \ No newline at end of file
+<!doctype html><html lang="en"><head><meta charset="utf-8"/><link rel="icon" href="https://nickcoutsos.github.io/keymap-editor/keycap.png"/><link href="https://nickcoutsos.github.io/keymap-editor/app.css" rel="stylesheet"><meta name="viewport" content="width=device-width,initial-scale=1"/><title>Keymap Editor</title><link rel="preconnect" href="https://fonts.googleapis.com"><link rel="preconnect" href="https://fonts.gstatic.com" crossorigin><link href="https://fonts.googleapis.com/css2?family=Nunito:wght@700&family=Quicksand:wght@500&display=swap" rel="stylesheet"><link rel="me" href="https://mastodon.social/@nickcoutsos"><meta name="description" content="A web-based editor for ZMK Keymaps"><meta property="og:url" content="https://nickcoutsos.github.io/keymap-editor"><meta property="og:type" content="website"><meta property="og:title" content="Keymap Editor"><meta property="og:description" content="A web-based editor for ZMK Keymaps"><meta property="og:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><meta name="twitter:card" content="summary_large_image"><meta property="twitter:domain" content="nickcoutsos.github.io"><meta property="twitter:url" content="https://nickcoutsos.github.io/keymap-editor"><meta name="twitter:title" content="Keymap Editor"><meta name="twitter:description" content="A web-based editor for ZMK Keymaps"><meta name="twitter:image" content="https://nickcoutsos.github.io/keymap-editor/og-banner.png"><script defer="defer" src="runtime.d569e376b7656b6aadd1.js"></script><script defer="defer" src="shared.223bc0cde6b019a11360.js"></script><script defer="defer" src="vendors.e94259d805f9e0e4981c.js"></script><script defer="defer" src="react.0b7d83a58560e2038899.js"></script><script defer="defer" src="main.79337ebce3f680d99485.js"></script></head><body data-theme="system"><noscript>You need to enable JavaScript to run this app.</noscript><div id="app-root"></div><div id="modal-root"></div></body></html> \ No newline at end of file
diff --git a/runtime.d569e376b7656b6aadd1.js b/runtime.d569e376b7656b6aadd1.js
new file mode 100644
index 0000000..1ee07fb
--- /dev/null
+++ b/runtime.d569e376b7656b6aadd1.js
@@ -0,0 +1,2 @@
+!function(){"use strict";var e,a,d,c,s,o={},t={};function l(e){var a=t[e];if(void 0!==a)return a.exports;var d=t[e]={id:e,loaded:!1,exports:{}};return o[e].call(d.exports,d,d.exports,l),d.loaded=!0,d.exports}l.m=o,e=[],l.O=function(a,d,c,s){if(!d){var o=1/0;for(b=0;b<e.length;b++){d=e[b][0],c=e[b][1],s=e[b][2];for(var t=!0,f=0;f<d.length;f++)(!1&s||o>=s)&&Object.keys(l.O).every((function(e){return l.O[e](d[f])}))?d.splice(f--,1):(t=!1,s<o&&(o=s));if(t){e.splice(b--,1);var k=c();void 0!==k&&(a=k)}}return a}s=s||0;for(var b=e.length;b>0&&e[b-1][2]>s;b--)e[b]=e[b-1];e[b]=[d,c,s]},l.n=function(e){var a=e&&e.__esModule?function(){return e.default}:function(){return e};return l.d(a,{a:a}),a},d=Object.getPrototypeOf?function(e){return Object.getPrototypeOf(e)}:function(e){return e.__proto__},l.t=function(e,c){if(1&c&&(e=this(e)),8&c)return e;if("object"==typeof e&&e){if(4&c&&e.__esModule)return e;if(16&c&&"function"==typeof e.then)return e}var s=Object.create(null);l.r(s);var o={};a=a||[null,d({}),d([]),d(d)];for(var t=2&c&&e;"object"==typeof t&&!~a.indexOf(t);t=d(t))Object.getOwnPropertyNames(t).forEach((function(a){o[a]=function(){return e[a]}}));return o.default=function(){return e},l.d(s,o),s},l.d=function(e,a){for(var d in a)l.o(a,d)&&!l.o(e,d)&&Object.defineProperty(e,d,{enumerable:!0,get:a[d]})},l.f={},l.e=function(e){return Promise.all(Object.keys(l.f).reduce((function(a,d){return l.f[d](e,a),a}),[]))},l.u=function(e){return({5:"keyboard-data/lotus58-json-metadata",47:"keyboard-data/ergodash-json-metadata",68:"locales/keys_ro-keycodes",129:"locales/keys_lt_ibm-keycodes",308:"locales/keys_be-keycodes",320:"keyboard-data/kbdfans_tofu65_v2-json-metadata",327:"keyboard-data/reviung41-json-metadata",389:"locales/keys_mn-keycodes",398:"locales/keys_lo-keycodes",421:"locales/keys_bg_latin-keycodes",422:"locales/keys_th_pattachote-keycodes",504:"keyboard-data/bt60_v2-json-metadata",539:"locales/keys_khb_tai_le-keycodes",578:"locales/keys_sr_latin-keycodes",630:"keyboard-data/pancake-json-metadata",639:"keyboard-data/splitkb_aurora_sofle-json-metadata",749:"locales/keys_dyu-keycodes",771:"locales/keys_es-keycodes",814:"locales/keys_tzm-keycodes",819:"locales/keys_fa_standard-keycodes",833:"locales/keys_it_142-keycodes",920:"locales/keys_pl_programmers-keycodes",944:"keyboard-data/jian-json-metadata",951:"locales/keys_kk-keycodes",1038:"keyboard-data/bat43-json-metadata",1081:"keyboard-data/splitreus62-json-metadata",1145:"keyboard-data/ferris_rev02-json-metadata",1156:"locales/keys_man-keycodes",1315:"locales/keys_bs-keycodes",1319:"keyboard-data/zmk_uno-json-metadata",1325:"keyboard-data/ergodox-json-metadata",1343:"locales/keys_en_gb_extended-keycodes",1480:"locales/keys_bn-keycodes",1507:"locales/keys_de_ibm-keycodes",1514:"locales/keys_fr_swiss-keycodes",1522:"keyboard-data/bdn9_rev2-json-metadata",1545:"locales/keys_el-keycodes",1547:"locales/keys_ml-keycodes",1616:"keyboard-data/redox-json-metadata",1671:"locales/keys_lv-keycodes",1718:"keyboard-data/reviung5-json-metadata",1720:"locales/keys_sk_qwerty-keycodes",1803:"ConditionalLayerEditorTab",1808:"locales/keys_de_belgian_period-keycodes",1872:"locales/keys_pt_abnt-keycodes",1936:"locales/keys_ckb-keycodes",2015:"locales/keys_hy-keycodes",2124:"keyboard-data/two_percent_milk-json-metadata",2135:"keyboard-data/romac-json-metadata",2169:"keyboard-data/clog-json-metadata",2231:"locales/keys_sr-keycodes",2247:"locales/keys_mr-keycodes",2271:"locales/keys_nl_period-keycodes",2275:"locales/keys_tk-keycodes",2284:"keyboard-data/eternal_keypad_lefty-json-metadata",2308:"keyboard-data/jorne-json-metadata",2383:"locales/keys_or-keycodes",2408:"locales/keys_bg-keycodes",2602:"locales/keys_uk-keycodes",2619:"locales/keys_syr_phonetic-keycodes",2621:"locales/keys_ka_qwerty-keycodes",2650:"locales/keys_ar_azerty-keycodes",2659:"locales/keys_cs_qwerty-keycodes",2757:"keyboard-data/eek-json-metadata",2787:"locales/keys_gu-keycodes",2835:"locales/keys_tmh-keycodes",2838:"keyboard-data/bt60_v1_hs-json-metadata",2921:"keyboard-data/bt75_v1-json-metadata",2939:"keyboard-data/nibble-json-metadata",2947:"locales/keys_us_international-keycodes",2982:"locales/keys_ha-keycodes",3033:"locales/keys_es_variation-keycodes",3039:"keyboard-data/romac_plus-json-metadata",3194:"locales/keys_mn_phags_pa-keycodes",3197:"keyboard-data/s40nc-json-metadata",3203:"GithubPicker",3268:"locales/keys_km_nida-keycodes",3282:"locales/keys_bo-keycodes",3322:"locales/keys_hu_101-keycodes",3359:"locales/keys_de-keycodes",3362:"locales/keys_dvorak_right-keycodes",3393:"locales/keys_tg-keycodes",3394:"keyboard-data/hummingbird-json-metadata",3474:"locales/keys_ug-keycodes",3618:"locales/keys_haw-keycodes",3647:"locales/keys_az_standard-keycodes",3687:"locales/keys_ka-keycodes",3735:"locales/keys_cs_programmers-keycodes",3743:"locales/keys_el_220-keycodes",3746:"locales/keys_lt_standard-keycodes",3826:"keyboard-data/bt60_v1-json-metadata",3880:"locales/keys_mt_101-keycodes",3893:"locales/keys_dz-keycodes",3895:"keyboard-data/kyria_rev3-json-metadata",3983:"LocalPicker",4013:"keyboard-data/totem-json-metadata",4036:"locales/keys_ta-keycodes",4070:"keyboard-data/m60-json-metadata",4156:"keyboard-data/kyria_rev2-json-metadata",4213:"keyboard-data/corneish_zen-json-metadata",4218:"FileSystemPicker",4257:"locales/keys_tn-keycodes",4260:"keyboard-data/boardsource3x4-json-metadata",4263:"locales/keys_el_319-keycodes",4289:"locales/keys_gn-keycodes",4296:"locales/keys_el_polytonic-keycodes",4415:"keyboard-data/eternal_keypad-json-metadata",4443:"locales/keys_bug-keycodes",4465:"locales/keys_it-keycodes",4491:"locales/keys_fr_canadian_french-keycodes",4595:"locales/keys_bg_phonetic-keycodes",4670:"locales/keys_tr_f-keycodes",4688:"locales/keys_chr_phonetic-keycodes",4717:"locales/keys_sv_sami-keycodes",4733:"DemoPicker",4777:"locales/keys_syr-keycodes",4795:"locales/keys_ro_programmers-keycodes",4821:"locales/keys_pt-keycodes",4824:"locales/keys_te-keycodes",4830:"keyboard-data/chalice-json-metadata",4843:"keyboard-data/a_dux-json-metadata",4887:"locales/keys_lis_standard-keycodes",4892:"locales/keys_ne-keycodes",4919:"locales/keys_nb-keycodes",4959:"keyboard-data/crbn-json-metadata",4962:"keyboard-data/bfo9000-json-metadata",5015:"locales/keys_my-keycodes",5074:"WarningsTab",5272:"keyboard-data/quefrency-json-metadata",5303:"locales/keys_tr-keycodes",5332:"locales/keys_ba-keycodes",5354:"locales/keys_srb-keycodes",5356:"keyboard-data/boardsource5x12-json-metadata",5422:"keyboard-data/bt65_v1-json-metadata",5485:"locales/keys_dv-keycodes",5533:"keyboard-data/preonic_rev3-json-metadata",5604:"locales/keys_is-keycodes",5606:"locales/keys_lb-keycodes",5634:"keyboard-data/splitkb_aurora_lily58-json-metadata",5708:"ClipboardPicker",5715:"locales/keys_sl-keycodes",5810:"keyboard-data/naked60-json-metadata",5819:"MacroEditorTab",5821:"locales/keys_el_latin_319-keycodes",5840:"locales/keys_iu-keycodes",5842:"locales/keys_khb-keycodes",5868:"BehaviorEditorTab",5891:"keyboard-data/splitkb_aurora_sweep-json-metadata",5991:"locales/keys_non-keycodes",5998:"locales/keys_yo-keycodes",6019:"keyboard-data/tg4x-json-metadata",6049:"locales/keys_ps-keycodes",6157:"locales/keys_dvorak-keycodes",6158:"keyboard-data/leeloo-json-metadata",6184:"locales/keys_de_swiss-keycodes",6274:"keyboard-data/leeloo_micro-json-metadata",6324:"keyboard-data/lily58-json-metadata",6360:"keyboard-data/qaz-json-metadata",6392:"locales/keys_ar-keycodes",6415:"locales/keys_nl-keycodes",6429:"locales/keys_es_latin_american-keycodes",6457:"locales/keys_gd-keycodes",6528:"keyboard-data/knob_goblin-json-metadata",6684:"locales/keys_th-keycodes",6688:"locales/keys_hi-keycodes",6691:"locales/keys_da-keycodes",6710:"locales/keys_jv-keycodes",6777:"locales/keys_lv_qwerty-keycodes",6793:"LayerEditorTab",6794:"locales/keys_km-keycodes",6943:"locales/keys_chr-keycodes",7022:"locales/keys_et-keycodes",7038:"keyboard-data/corne-json-metadata",7069:"locales/keys_wo-keycodes",7080:"locales/keys_uz-keycodes",7108:"locales/keys_he_standard-keycodes",7110:"keyboard-data/osprette-json-metadata",7190:"keyboard-data/waterfowl-json-metadata",7218:"keyboard-data/nice60-json-metadata",7228:"locales/keys_uk_enhanced-keycodes",7266:"keyboard-data/zodiark-json-metadata",7289:"locales/keys_sah-keycodes",7292:"locales/keys_ru_phonetic-keycodes",7303:"locales/keys_kl-keycodes",7305:"locales/keys_tt-keycodes",7316:"keyboard-data/helix-json-metadata",7446:"locales/keys_he-keycodes",7495:"locales/keys_en_gb-keycodes",7554:"locales/keys_fr-keycodes",7568:"locales/keys_mt-keycodes",7603:"locales/keys_el_latin_220-keycodes",7686:"locales/keys_dsb_extended-keycodes",7771:"locales/keys_lt-keycodes",7803:"locales/keys_sk-keycodes",7892:"locales/keys_ig-keycodes",7905:"keyboard-data/fourier-json-metadata",7950:"locales/keys_fr_belgian_period-keycodes",7961:"keyboard-data/tidbit-json-metadata",7994:"locales/keys_vi-keycodes",7997:"keyboard-data/elephant42-json-metadata",8017:"locales/keys_ar_102-keycodes",8019:"locales/keys_se-keycodes",8041:"locales/keys_mk-keycodes",8070:"locales/keys_az-keycodes",8110:"locales/keys_tmh_extended-keycodes",8119:"locales/keys_hi_traditional-keycodes",8173:"locales/keys_sq-keycodes",8185:"locales/keys_ga-keycodes",8207:"locales/keys_cs-keycodes",8216:"locales/keys_ur-keycodes",8242:"locales/keys_az_cyrillic-keycodes",8251:"locales/keys_fr_canadian_standard-keycodes",8284:"keyboard-data/planck_rev6-json-metadata",8301:"keyboard-data/leeloo_rev2-json-metadata",8302:"locales/keys_en_india-keycodes",8307:"locales/keys_nso-keycodes",8315:"ComboEditorTab",8374:"keyboard-data/murphpad-json-metadata",8391:"locales/keys_pl-keycodes",8409:"keyboard-data/contra-json-metadata",8415:"keyboard-data/snap-json-metadata",8427:"locales/keys_ko-keycodes",8438:"locales/keys_la_old_italic-keycodes",8451:"keyboard-data/cradio-json-metadata",8568:"locales/keys_mn_traditional-keycodes",8599:"locales/keys_fa-keycodes",8636:"locales/keys_nb_sami-keycodes",8642:"keyboard-data/kyria-json-metadata",8649:"locales/keys_sv-keycodes",8699:"locales/keys_se_finland_sweden-keycodes",8706:"locales/keys_fi-keycodes",8709:"locales/keys_kn-keycodes",8729:"keyboard-data/sofle-json-metadata",8793:"locales/keys_dvorak_left-keycodes",8796:"locales/keys_hu-keycodes",8813:"keyboard-data/microdox-json-metadata",8855:"locales/keys_fr_belgian-keycodes",8945:"locales/keys_lis-keycodes",8956:"locales/keys_bm-keycodes",8971:"locales/keys_el_latin-keycodes",8986:"locales/keys_ru-keycodes",9061:"locales/keys_si-keycodes",9081:"locales/keys_lv_standard-keycodes",9082:"locales/keys_as-keycodes",9112:"locales/keys_pt_abnt2-keycodes",9134:"keyboard-data/iris-json-metadata",9136:"locales/keys_hy_phonetic-keycodes",9142:"locales/keys_bn_inscript-keycodes",9176:"locales/keys_iu_latin-keycodes",9193:"locales/keys_so-keycodes",9244:"locales/keys_ky-keycodes",9351:"keyboard-data/splitkb_aurora_corne-json-metadata",9414:"locales/keys_sat-keycodes",9512:"locales/keys_mi-keycodes",9586:"locales/keys_fo-keycodes",9616:"locales/keys_dsb-keycodes",9619:"locales/keys_de_belgian-keycodes",9698:"locales/keys_ka_ergonomic-keycodes",9707:"keyboard-data/jiran-json-metadata",9866:"locales/keys_fi_sami-keycodes",9893:"locales/keys_got-keycodes",9989:"locales/keys_pa-keycodes"}[e]||e)+"."+{5:"e4e4ffd65cbc4c65ecf1",47:"68ec143ed38bce6cbea4",68:"7b17882894d827d4a691",129:"93e9e7b55ff4db1b45f4",308:"e7d0c13e3ecc92b49444",320:"e0e22f0d3ac8f761ce0c",327:"2fa7d61410ce114657ae",389:"606dc039dbee5e7de1d4",398:"c8c541aaf844eeda8149",401:"bdae6943931998cef4fd",421:"dbb2c1733f9a7579098e",422:"666bd3a0ce35c4a274ff",504:"08471cae2d972b76b0db",535:"4900f4b064a004bf376d",539:"f13efc888eac2aa8e903",578:"04d1220d52840040f60b",630:"6b46117b424a7c066032",639:"ed35220caee82d9a98c9",749:"76b287374b8ae5f7a06c",771:"476e9ba05219d84921f3",814:"4764231c07fa0d0a04f6",819:"0795ba54cbc82dd190cf",833:"46444cf657dcf1bb1593",920:"dc595b5183e9c47ff557",944:"1d97a367f9bc03bebc24",951:"f0042702141cbb2ccabf",1038:"0dd9fa3315bf40184cef",1066:"cec08927c3025b22433c",1081:"b7803c34bd0bfa5dafc5",1145:"eb22ba2cdea48aa2d95d",1156:"bb15c7631776a604bdb7",1315:"0db48f03173200e045f2",1319:"235d28f92c3ebf9de6a7",1325:"2f0b419e92ee75a38e38",1343:"8f70c7bbb298f625412f",1480:"dd1c948a8c44aac28b53",1507:"8cada04b0e43007bb4be",1514:"649b8ed65f356fa690ac",1522:"51261fedb8ec11fb688b",1545:"b152a1976be0001bfb43",1547:"c246a45983470f77e595",1616:"8ad0b8c64ae606fb9b8a",1671:"6bdbbb20361914659d30",1718:"48c9ef74da6b481e09e7",1720:"3328c6b7c20fbf918852",1803:"db97dd49c33ce73ea69e",1808:"abb32a6fe65c55952158",1872:"719fd6d2cfbc98065faa",1936:"8e41309b9c19de95960a",2015:"1189ea9050bf52385110",2124:"3a4b66bbd69961c6d5c2",2135:"525d812350d5ced6043f",2169:"63ac13cc199c3dc1a8f3",2231:"5080f1cbf58c1317f585",2247:"3459beb60f5e45f7a659",2271:"b737428706ade1ab91ed",2275:"6c3d70cbc0a2a960dede",2284:"88dbffa6a51dab15b0fe",2308:"3dcb94a43fdc92f06e92",2383:"45d4631f706b18beb2d9",2408:"49d33aa415e8f4992f21",2602:"d7b17cf5cd894ba30b64",2619:"5153da3fbe85b2f1f7f8",2621:"bd9a8dabd0cd755853b5",2650:"a829372aef4170ca51a4",2659:"c36d1660242da4a6482d",2757:"7bb49d3d556b1d93c064",2787:"23f639d1d9e06f080ea7",2835:"551ed1eddb65a0855ec0",2838:"84c69ef5c8dc271afe1d",2921:"377227f7d5e348eafa81",2939:"7a308a62c65bc646f73f",2947:"2b19227a71dd755ae4b6",2982:"36e9273f2ce6ff4f4673",3033:"b26fcf2e16e386fb33b1",3039:"af983ffea98d132ceba4",3194:"8a08d0da753f48f7f95e",3197:"c76645f1783dc0be1e59",3203:"09b2a104816c9e2d266a",3268:"f3f0e12f35d6ede0f40f",3282:"01584f37d4d33ad63efb",3322:"7ebaf8ec7ac148f4669d",3359:"2b1b7a00d5f5a3f3d4d7",3362:"4b171d128973788c904e",3393:"2b68325532554cc8d8ba",3394:"b0af5ee288c25da5c283",3474:"d8e51748742a2c676e34",3618:"d8420dbaf5d768e5d2d4",3647:"6703ed839e825c8771d3",3687:"e750c133ca55d5c6e548",3735:"c9d93c92c6c0423a5416",3743:"ebb2429d5bbde92909c4",3746:"a4deb37dc8a93b498757",3826:"97699fa9c0a1372dedb5",3880:"fcaa03e1df43df95ab97",3893:"c7df98614033002329af",3895:"132914156c62a82b3268",3983:"c8e99eda7fd1909627b2",4013:"cb89f5091aba0e288065",4036:"909dd7500874d97524c9",4070:"f616dcb60b78533d6bf0",4084:"80c8670641f9c037682a",4156:"3ac284a21e7e7924f35f",4213:"6f4898d50b5338d7300e",4218:"63732d16fe170019603e",4257:"f5fd10e05ad3d0536453",4260:"7cf189c757bde6655415",4263:"931dcb76dcb966d4c80f",4289:"fa48da5f908e2f1c31fc",4296:"6398e9a1092dbd966cd4",4415:"39fdfb3dfabfb49c9f35",4443:"3d9b42bc9254f6af0784",4465:"f4574a240d1cc776a64d",4491:"85813c1f613b510d8c53",4595:"32f60188d0eaea679456",4670:"c00667ffdde3a68622ab",4688:"31df1ae6ad5f78bd01fc",4717:"abfe395f6284ad19bfcd",4733:"339bea75131d4c294e51",4777:"2224cbda2741be9da336",4795:"ed0ccd39951359fbbbca",4820:"8abea2ec3b414bb0909f",4821:"ddd40fd58db42a579031",4824:"0a6f4db1962949f69a35",4830:"e201d6b24b9cb1e2ad99",4843:"fd9113741beefa00f0b5",4887:"f052ae8bfdfdb1d513db",4892:"960290e8d85e0b47f102",4919:"4a12c76edfa94312b0ea",4959:"808a01eda41b51d14bcb",4962:"69a545b5fcc0f7130c05",5015:"0f3a2242ea9f9a42c4f9",5074:"b219616848293106abf3",5272:"c7e0af70b0a8c39034f3",5303:"a4497d24307a9897e5b5",5332:"777b50e4b114b352d258",5354:"2e00aaedbbdc1642bb92",5356:"1fba1c8cde51e25e2627",5422:"2ffe628e4ca4ccaccd22",5485:"55a0ec07c8abbfe214b4",5533:"c45da345e0fb10fa3770",5604:"f11c3e2dd4430602f243",5606:"8cfe7dc5f09ec96ea95e",5634:"d4e880ef4bc1bdca79dd",5708:"dcb34ee77de8eadc6168",5715:"4ef9b548b6cfc7c605f9",5810:"637b457fc2054bcead5a",5819:"084f0dfd794e82d94730",5821:"a4f5e6f31f799696cdaf",5840:"7e4e574c1214010c07dc",5842:"f7c89fd7bf3602a3399e",5868:"61197fcc2a9e88523d14",5891:"3076456f65d49468799e",5991:"512b59c58af9c82a47d5",5998:"91c971fb3f5767c3d295",6019:"9b8b15f0b8ce84f82156",6049:"a62bb2191cc0eecda711",6157:"8b93a87cbbec10359b5d",6158:"889d4299cca613161f97",6184:"732ddeb1a32a40e2fc3a",6274:"5630298fa575b0640e66",6324:"1c52c22287b2cac5bded",6360:"13927c112e935b8e10f6",6392:"fa88aea6ab27afd6da50",6415:"627e38aee29608a5d6d2",6429:"b9b3578a604e51fa3455",6457:"ba688263a9c85e9843e1",6528:"b29141f3be2170066ee6",6538:"7dfe5ec2e199138d83a6",6684:"1274b7cfa9914c7663c9",6688:"5d24e1f96d6a6cfefcb0",6691:"b6cb655f0aa7dcd8787b",6710:"69f4ed313d19455e88f9",6777:"dab38c8f01434d45eb86",6793:"49f5a0e6c2c2be30ffd1",6794:"aa4330a831430380f7ca",6943:"9c0653724d1cbfa9ed86",7022:"9ece5bc0d21090bf91ad",7038:"84994fde2fafd27c8862",7069:"9929a74e7e92648a0f87",7080:"f083c93705b5e80e4a4e",7108:"906eeacc617750894b22",7110:"a4955e02f5ec94c45697",7190:"c0df8d5fa12d9a44ddb6",7218:"5b518329a6b8d1f99ef2",7228:"0a7f301444940610aa3a",7266:"b1ddb085343413bd0f2f",7289:"2fcc4bbd19c8e23bcfd9",7292:"364542469a1dd2fd041b",7303:"8f0ef5a9295943353ecf",7305:"ac74249c913980666520",7316:"c9818170d7ea30748c18",7446:"f26521f672e3d94f3c62",7495:"cb22512c8cea97bbcf19",7554:"bdf065db03088c4a4a5d",7568:"d9f3ad26c7b8b70fc1ec",7603:"d2d72bb470a9b2e1ede0",7686:"940990bf96e9413b2e9b",7771:"9942586e9e23d5059127",7803:"8760edf191caa0f69869",7892:"86c938c7b27b9a67ef50",7905:"23f278887548ad32dabd",7950:"6fb177a4414f9a190484",7961:"9a89555a7017f8c7c979",7994:"c160e150f1431807c681",7997:"ec7498e85efc36524556",8017:"837d18f3c4fcf868010b",8019:"02f2f252639bb1d459b6",8041:"dae4eea51cfd6e1fbef3",8070:"27f10e0739c78ab95d16",8110:"c132517c950a214d5731",8119:"58eb56bfeb45579c084c",8173:"1776ba2cbbdeb9918f9c",8185:"ece0dc278594eee67cb1",8207:"7e346d396cf1e067b94f",8216:"bd2ef62dab7ca40f6d44",8242:"3891fea81cc045034ad4",8251:"7bcdee9a73a0eb39baaa",8284:"6555a3d99bf8aa4a85ee",8301:"1b5acae3cec5d2b351b3",8302:"6b483d8d7739ff515b8f",8307:"e12dd0aad5e6a036ed3b",8315:"bcc33a09f9ca6ba88a56",8374:"36097a9be925aa82182c",8391:"eb08511c704d549f8237",8409:"f43f0bce73bf9b6a9c36",8415:"1a17db797b8c7966d730",8427:"409e29315cd91dfb038b",8438:"41a503f1b2737d035a74",8451:"ee4fc77b506ae42c350d",8568:"bf0989c363612ba74ac9",8599:"1c088737758fa51d0a0a",8636:"48c3cab70569554b8655",8642:"18f07547d3f5ddbc5c3b",8649:"519f8992d7c5b42bf4e1",8699:"6d4b2f405c48cf71aa4b",8706:"db5988f190774b8ecd7e",8709:"edbea20e0b917271d7a2",8729:"5e7f233ca2746206478d",8793:"9639129fefdac959af3a",8796:"594621d4b7b51b6c639b",8813:"1008878cec3cb3882209",8855:"38f81f640e33d713ea2c",8873:"18e65ae40d648dcca046",8945:"d5a920b4e65ee30d8356",8956:"b025b7e50cad64b75370",8971:"f906bba2b2b7e87a8ae0",8986:"4ad17334f3ef911b6b0b",9061:"df8e5e2756a89a473ac0",9081:"b6c8611601548f3554f7",9082:"35cb59b22a293243df26",9112:"7ebcaf2caf566e7902b8",9134:"ff4f0180e5079649f561",9136:"3249d48fcb94ad9e44a1",9142:"8933a018c2a618e987a4",9176:"2557b40f7b4fcef345a9",9193:"e2b545b8ea15c0016312",9244:"0e4e64562de0635942ff",9351:"937871a659c22427a634",9414:"b9aecaa9ab601ffcc6b4",9512:"dc6d783fb73d92e5a7fb",9586:"01151d539dca32e61272",9616:"0a4f102b3e946346e2d6",9619:"b044962c66577434486e",9698:"41ef3f798533a2b1c7cf",9707:"7d9b702ab7a66f9882c9",9866:"110121669330cd9e737c",9893:"4ff6eee70cdc1c6e3325",9989:"e7d2ba9eda5b0ac31cac"}[e]+".js"},l.g=function(){if("object"==typeof globalThis)return globalThis;try{return this||new Function("return this")()}catch(e){if("object"==typeof window)return window}}(),l.o=function(e,a){return Object.prototype.hasOwnProperty.call(e,a)},c={},s="app:",l.l=function(e,a,d,o){if(c[e])c[e].push(a);else{var t,f;if(void 0!==d)for(var k=document.getElementsByTagName("script"),b=0;b<k.length;b++){var y=k[b];if(y.getAttribute("src")==e||y.getAttribute("data-webpack")==s+d){t=y;break}}t||(f=!0,(t=document.createElement("script")).charset="utf-8",t.timeout=120,l.nc&&t.setAttribute("nonce",l.nc),t.setAttribute("data-webpack",s+d),t.src=e),c[e]=[a];var r=function(a,d){t.onerror=t.onload=null,clearTimeout(n);var s=c[e];if(delete c[e],t.parentNode&&t.parentNode.removeChild(t),s&&s.forEach((function(e){return e(d)})),a)return a(d)},n=setTimeout(r.bind(null,void 0,{type:"timeout",target:t}),12e4);t.onerror=r.bind(null,t.onerror),t.onload=r.bind(null,t.onload),f&&document.head.appendChild(t)}},l.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},l.nmd=function(e){return e.paths=[],e.children||(e.children=[]),e},function(){var e;l.g.importScripts&&(e=l.g.location+"");var a=l.g.document;if(!e&&a&&(a.currentScript&&(e=a.currentScript.src),!e)){var d=a.getElementsByTagName("script");d.length&&(e=d[d.length-1].src)}if(!e)throw new Error("Automatic publicPath is not supported in this browser");e=e.replace(/#.*$/,"").replace(/\?.*$/,"").replace(/\/[^\/]+$/,"/"),l.p=e}(),function(){l.b=document.baseURI||self.location.href;var e={3666:0};l.f.j=function(a,d){var c=l.o(e,a)?e[a]:void 0;if(0!==c)if(c)d.push(c[2]);else if(3666!=a){var s=new Promise((function(d,s){c=e[a]=[d,s]}));d.push(c[2]=s);var o=l.p+l.u(a),t=new Error;l.l(o,(function(d){if(l.o(e,a)&&(0!==(c=e[a])&&(e[a]=void 0),c)){var s=d&&("load"===d.type?"missing":d.type),o=d&&d.target&&d.target.src;t.message="Loading chunk "+a+" failed.\n("+s+": "+o+")",t.name="ChunkLoadError",t.type=s,t.request=o,c[1](t)}}),"chunk-"+a,a)}else e[a]=0},l.O.j=function(a){return 0===e[a]};var a=function(a,d){var c,s,o=d[0],t=d[1],f=d[2],k=0;if(o.some((function(a){return 0!==e[a]}))){for(c in t)l.o(t,c)&&(l.m[c]=t[c]);if(f)var b=f(l)}for(a&&a(d);k<o.length;k++)s=o[k],l.o(e,s)&&e[s]&&e[s][0](),e[s]=0;return l.O(b)},d=self.webpackChunkapp=self.webpackChunkapp||[];d.forEach(a.bind(null,0)),d.push=a.bind(null,d.push.bind(d))}(),l.nc=void 0}();
+//# sourceMappingURL=runtime.d569e376b7656b6aadd1.js.map \ No newline at end of file