@tanstack/hotkeys-devtools 1.8.1 → 1.9.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -1,32 +1,34 @@
1
- import { effectiveSequenceMatchedSteps } from "../sequence-progress.js";
2
1
  import { useHotkeysDevtoolsState } from "../HotkeysContextProvider.js";
3
- import { useStyles } from "../styles/use-styles.js";
2
+ import { describeHotkeyIssues } from "../_issues.js";
4
3
  import { formatRegistration, getBindingKind, useRegistrationConflicts } from "../_registrations.js";
5
4
  import { getScopeStatus } from "../_scopes.js";
5
+ import { effectiveSequenceMatchedSteps } from "../sequence-progress.js";
6
+ import { useStyles } from "../styles/use-styles.js";
6
7
  import { ActionButtons } from "./ActionButtons.js";
7
8
  import { className, createComponent, effect, insert, memo, template } from "solid-js/web";
8
- import { For, Show, createMemo } from "solid-js";
9
9
  import { detectPlatform, formatForDisplay, normalizeHotkey, parseHotkey } from "@tanstack/hotkeys";
10
+ import { For, Show, createMemo } from "solid-js";
10
11
  import clsx from "clsx";
11
12
 
12
- //#region src/components/DetailsPanel.tsx
13
+ // src/components/DetailsPanel.tsx
13
14
  var _tmpl$ = /*#__PURE__*/ template(`<div>`);
14
15
  var _tmpl$2 = /*#__PURE__*/ template(`<div><span></span><span>`);
15
- var _tmpl$3 = /*#__PURE__*/ template(`<div><div></div><div><div>ID</div><div></div><div>Matches</div><div></div><div>Raw</div><div></div><div>Target</div><div>`);
16
- var _tmpl$4 = /*#__PURE__*/ template(`<div><div>Conflicts (<!>)</div><div>`);
17
- var _tmpl$5 = /*#__PURE__*/ template(`<div><div><div>Key Breakdown</div><div><div><div></div></div><span aria-hidden=true>-></span><div></div></div></div><div><div>Actions</div></div><div><div>Meta</div><div><div><span>name</span><span></span></div><div><span>description</span><span></span></div></div></div><div><div>Options</div><div><div><span>enabled</span><span></span></div><div><span>scope</span><span> (<!>)</span></div><div><span>eventType</span><span></span></div><div><span>preventDefault</span><span></span></div><div><span>stopPropagation</span><span></span></div><div><span>ignoreInputs</span><span></span></div><div><span>requireReset</span><span></span></div><div><span>conflictBehavior</span><span></span></div><div><span>hasFired</span><span>`);
18
- var _tmpl$6 = /*#__PURE__*/ template(`<span>+`);
19
- var _tmpl$7 = /*#__PURE__*/ template(`<span>`);
20
- var _tmpl$8 = /*#__PURE__*/ template(`<div><span>overlap</span> <!>: <!> (<!>) on `);
21
- var _tmpl$9 = /*#__PURE__*/ template(`<div><span>scope</span> <!>: <!> (<!>) on `);
22
- var _tmpl$0 = /*#__PURE__*/ template(`<div><div></div><div><div>ID</div><div></div><div>Matches</div><div></div><div>Raw</div><div></div><div>Sequence</div><div></div><div>Target</div><div>`);
23
- var _tmpl$1 = /*#__PURE__*/ template(`<div><div><div>Key Breakdown</div><div></div><div>Each chord</div></div><div><div>Actions</div></div><div><div>Meta</div><div><div><span>name</span><span></span></div><div><span>description</span><span></span></div></div></div><div><div>Options</div><div><div><span>enabled</span><span></span></div><div><span>scope</span><span> (<!>)</span></div><div><span>eventType</span><span></span></div><div><span>timeout</span><span>ms</span></div><div><span>preventDefault</span><span></span></div><div><span>stopPropagation</span><span></span></div><div><span>ignoreInputs</span><span></span></div><div><span>conflictBehavior</span><span>`);
24
- var _tmpl$10 = /*#__PURE__*/ template(`<span><span>`);
25
- var _tmpl$11 = /*#__PURE__*/ template(`<span>→`);
26
- var _tmpl$12 = /*#__PURE__*/ template(`<div><div>Step <!> — </div><div><div><div></div></div><span aria-hidden=true>-></span><div>`);
27
- var _tmpl$13 = /*#__PURE__*/ template(`<div><div></div><div><div>App hotkey</div><div></div><div>Status</div><div></div><div>Default</div><div></div><div>Scope</div><div>`);
28
- var _tmpl$14 = /*#__PURE__*/ template(`<div><div><div>Meta</div><div></div></div><div><div>Declared options</div><div>`);
29
- var _tmpl$15 = /*#__PURE__*/ template(`<div>Select a hotkey from the list to view its details`);
16
+ var _tmpl$3 = /*#__PURE__*/ template(`<div><div>Issues (<!>)</div><div>`);
17
+ var _tmpl$4 = /*#__PURE__*/ template(`<div><div></div><div><div>ID</div><div></div><div>Matches</div><div></div><div>Raw</div><div></div><div>Target</div><div>`);
18
+ var _tmpl$5 = /*#__PURE__*/ template(`<div><div>Conflicts (<!>)</div><div>`);
19
+ var _tmpl$6 = /*#__PURE__*/ template(`<div><div><div>Key Breakdown</div><div><div><div></div></div><span aria-hidden=true>-></span><div></div></div></div><div><div>Actions</div></div><div><div>Meta</div><div><div><span>name</span><span></span></div><div><span>description</span><span></span></div></div></div><div><div>Options</div><div><div><span>enabled</span><span></span></div><div><span>scope</span><span> (<!>)</span></div><div><span>eventType</span><span></span></div><div><span>preventDefault</span><span></span></div><div><span>stopPropagation</span><span></span></div><div><span>ignoreInputs</span><span></span></div><div><span>requireReset</span><span></span></div><div><span>conflictBehavior</span><span></span></div><div><span>hasFired</span><span>`);
20
+ var _tmpl$7 = /*#__PURE__*/ template(`<span>+`);
21
+ var _tmpl$8 = /*#__PURE__*/ template(`<span>`);
22
+ var _tmpl$9 = /*#__PURE__*/ template(`<div><span>overlap</span> <!>: <!> (<!>) on `);
23
+ var _tmpl$0 = /*#__PURE__*/ template(`<div><span>scope</span> <!>: <!> (<!>) on `);
24
+ var _tmpl$1 = /*#__PURE__*/ template(`<div><div></div><div><div>ID</div><div></div><div>Matches</div><div></div><div>Raw</div><div></div><div>Sequence</div><div></div><div>Target</div><div>`);
25
+ var _tmpl$10 = /*#__PURE__*/ template(`<div><div><div>Key Breakdown</div><div></div><div>Each chord</div></div><div><div>Actions</div></div><div><div>Meta</div><div><div><span>name</span><span></span></div><div><span>description</span><span></span></div></div></div><div><div>Options</div><div><div><span>enabled</span><span></span></div><div><span>scope</span><span> (<!>)</span></div><div><span>eventType</span><span></span></div><div><span>timeout</span><span>ms</span></div><div><span>preventDefault</span><span></span></div><div><span>stopPropagation</span><span></span></div><div><span>ignoreInputs</span><span></span></div><div><span>conflictBehavior</span><span>`);
26
+ var _tmpl$11 = /*#__PURE__*/ template(`<span><span>`);
27
+ var _tmpl$12 = /*#__PURE__*/ template(`<span>→`);
28
+ var _tmpl$13 = /*#__PURE__*/ template(`<div><div>Step <!> — </div><div><div><div></div></div><span aria-hidden=true>-></span><div>`);
29
+ var _tmpl$14 = /*#__PURE__*/ template(`<div><div></div><div><div>App hotkey</div><div></div><div>Status</div><div></div><div>Default</div><div></div><div>Scope</div><div>`);
30
+ var _tmpl$15 = /*#__PURE__*/ template(`<div><div><div>Meta</div><div></div></div><div><div>Declared options</div><div>`);
31
+ var _tmpl$16 = /*#__PURE__*/ template(`<div>Select a hotkey from the list to view its details`);
30
32
  const PLATFORM_ROWS = [
31
33
  {
32
34
  id: "mac",
@@ -69,6 +71,44 @@ function KeyBreakdownPlatformTable(props) {
69
71
  return _el$;
70
72
  })();
71
73
  }
74
+ /** Readable validation problems, such as a key name in the wrong case. */
75
+ function IssuesSection(props) {
76
+ const issues = createMemo(() => describeHotkeyIssues(props.hotkey));
77
+ return createComponent(Show, {
78
+ get when() {
79
+ return issues().length > 0;
80
+ },
81
+ get children() {
82
+ var _el$5 = _tmpl$3(), _el$6 = _el$5.firstChild, _el$9 = _el$6.firstChild.nextSibling;
83
+ _el$9.nextSibling;
84
+ var _el$0 = _el$6.nextSibling;
85
+ insert(_el$6, () => issues().length, _el$9);
86
+ insert(_el$0, createComponent(For, {
87
+ get each() {
88
+ return issues();
89
+ },
90
+ children: (issue) => (() => {
91
+ var _el$1 = _tmpl$();
92
+ insert(_el$1, issue);
93
+ effect(() => className(_el$1, props.styles().issueItem));
94
+ return _el$1;
95
+ })()
96
+ }));
97
+ effect((_p$) => {
98
+ var _v$4 = props.styles().detailSection, _v$5 = props.styles().detailSectionHeader, _v$6 = props.styles().conflictList;
99
+ _v$4 !== _p$.e && className(_el$5, _p$.e = _v$4);
100
+ _v$5 !== _p$.t && className(_el$6, _p$.t = _v$5);
101
+ _v$6 !== _p$.a && className(_el$0, _p$.a = _v$6);
102
+ return _p$;
103
+ }, {
104
+ e: void 0,
105
+ t: void 0,
106
+ a: void 0
107
+ });
108
+ return _el$5;
109
+ }
110
+ });
111
+ }
72
112
  function getTargetDescription(target) {
73
113
  if (typeof document !== "undefined" && target === document) return "document";
74
114
  if (typeof window !== "undefined" && target === window) return "window";
@@ -91,25 +131,25 @@ function HotkeyDetails(props) {
91
131
  }));
92
132
  const styles = props.styles;
93
133
  return [(() => {
94
- var _el$5 = _tmpl$3(), _el$6 = _el$5.firstChild, _el$7 = _el$6.nextSibling, _el$8 = _el$7.firstChild, _el$9 = _el$8.nextSibling, _el$0 = _el$9.nextSibling, _el$1 = _el$0.nextSibling, _el$10 = _el$1.nextSibling, _el$11 = _el$10.nextSibling, _el$12 = _el$11.nextSibling, _el$13 = _el$12.nextSibling;
95
- insert(_el$6, () => formatRegistration(reg()));
96
- insert(_el$9, () => reg().id);
97
- insert(_el$1, () => getBindingKind(reg()));
98
- insert(_el$11, () => reg().hotkey);
99
- insert(_el$13, () => props.getTargetDescription(reg().target));
134
+ var _el$10 = _tmpl$4(), _el$11 = _el$10.firstChild, _el$12 = _el$11.nextSibling, _el$13 = _el$12.firstChild, _el$14 = _el$13.nextSibling, _el$15 = _el$14.nextSibling, _el$16 = _el$15.nextSibling, _el$17 = _el$16.nextSibling, _el$18 = _el$17.nextSibling, _el$19 = _el$18.nextSibling, _el$20 = _el$19.nextSibling;
135
+ insert(_el$11, () => formatRegistration(reg()));
136
+ insert(_el$14, () => reg().id);
137
+ insert(_el$16, () => getBindingKind(reg()));
138
+ insert(_el$18, () => reg().hotkey);
139
+ insert(_el$20, () => props.getTargetDescription(reg().target));
100
140
  effect((_p$) => {
101
- var _v$4 = styles().stateHeader, _v$5 = styles().stateTitle, _v$6 = styles().infoGrid, _v$7 = styles().infoLabel, _v$8 = styles().infoValueMono, _v$9 = styles().infoLabel, _v$0 = styles().infoValueMono, _v$1 = styles().infoLabel, _v$10 = styles().infoValueMono, _v$11 = styles().infoLabel, _v$12 = styles().infoValueMono;
102
- _v$4 !== _p$.e && className(_el$5, _p$.e = _v$4);
103
- _v$5 !== _p$.t && className(_el$6, _p$.t = _v$5);
104
- _v$6 !== _p$.a && className(_el$7, _p$.a = _v$6);
105
- _v$7 !== _p$.o && className(_el$8, _p$.o = _v$7);
106
- _v$8 !== _p$.i && className(_el$9, _p$.i = _v$8);
107
- _v$9 !== _p$.n && className(_el$0, _p$.n = _v$9);
108
- _v$0 !== _p$.s && className(_el$1, _p$.s = _v$0);
109
- _v$1 !== _p$.h && className(_el$10, _p$.h = _v$1);
110
- _v$10 !== _p$.r && className(_el$11, _p$.r = _v$10);
111
- _v$11 !== _p$.d && className(_el$12, _p$.d = _v$11);
112
- _v$12 !== _p$.l && className(_el$13, _p$.l = _v$12);
141
+ var _v$7 = styles().stateHeader, _v$8 = styles().stateTitle, _v$9 = styles().infoGrid, _v$0 = styles().infoLabel, _v$1 = styles().infoValueMono, _v$10 = styles().infoLabel, _v$11 = styles().infoValueMono, _v$12 = styles().infoLabel, _v$13 = styles().infoValueMono, _v$14 = styles().infoLabel, _v$15 = styles().infoValueMono;
142
+ _v$7 !== _p$.e && className(_el$10, _p$.e = _v$7);
143
+ _v$8 !== _p$.t && className(_el$11, _p$.t = _v$8);
144
+ _v$9 !== _p$.a && className(_el$12, _p$.a = _v$9);
145
+ _v$0 !== _p$.o && className(_el$13, _p$.o = _v$0);
146
+ _v$1 !== _p$.i && className(_el$14, _p$.i = _v$1);
147
+ _v$10 !== _p$.n && className(_el$15, _p$.n = _v$10);
148
+ _v$11 !== _p$.s && className(_el$16, _p$.s = _v$11);
149
+ _v$12 !== _p$.h && className(_el$17, _p$.h = _v$12);
150
+ _v$13 !== _p$.r && className(_el$18, _p$.r = _v$13);
151
+ _v$14 !== _p$.d && className(_el$19, _p$.d = _v$14);
152
+ _v$15 !== _p$.l && className(_el$20, _p$.l = _v$15);
113
153
  return _p$;
114
154
  }, {
115
155
  e: void 0,
@@ -124,12 +164,12 @@ function HotkeyDetails(props) {
124
164
  d: void 0,
125
165
  l: void 0
126
166
  });
127
- return _el$5;
167
+ return _el$10;
128
168
  })(), (() => {
129
- var _el$14 = _tmpl$5(), _el$15 = _el$14.firstChild, _el$16 = _el$15.firstChild, _el$17 = _el$16.nextSibling, _el$18 = _el$17.firstChild, _el$19 = _el$18.firstChild, _el$20 = _el$18.nextSibling, _el$21 = _el$20.nextSibling, _el$22 = _el$15.nextSibling, _el$23 = _el$22.firstChild, _el$24 = _el$22.nextSibling, _el$25 = _el$24.firstChild, _el$26 = _el$25.nextSibling, _el$27 = _el$26.firstChild, _el$28 = _el$27.firstChild, _el$29 = _el$28.nextSibling, _el$30 = _el$27.nextSibling, _el$31 = _el$30.firstChild, _el$32 = _el$31.nextSibling, _el$33 = _el$24.nextSibling, _el$34 = _el$33.firstChild, _el$36 = _el$34.nextSibling.firstChild, _el$37 = _el$36.firstChild, _el$38 = _el$37.nextSibling, _el$39 = _el$36.nextSibling, _el$40 = _el$39.firstChild, _el$41 = _el$40.nextSibling, _el$42 = _el$41.firstChild, _el$44 = _el$42.nextSibling;
130
- _el$44.nextSibling;
131
- var _el$45 = _el$39.nextSibling, _el$46 = _el$45.firstChild, _el$47 = _el$46.nextSibling, _el$48 = _el$45.nextSibling, _el$49 = _el$48.firstChild, _el$50 = _el$49.nextSibling, _el$51 = _el$48.nextSibling, _el$52 = _el$51.firstChild, _el$53 = _el$52.nextSibling, _el$54 = _el$51.nextSibling, _el$55 = _el$54.firstChild, _el$56 = _el$55.nextSibling, _el$57 = _el$54.nextSibling, _el$58 = _el$57.firstChild, _el$59 = _el$58.nextSibling, _el$60 = _el$57.nextSibling, _el$61 = _el$60.firstChild, _el$62 = _el$61.nextSibling, _el$63 = _el$60.nextSibling, _el$64 = _el$63.firstChild, _el$65 = _el$64.nextSibling;
132
- insert(_el$19, createComponent(For, {
169
+ var _el$21 = _tmpl$6(), _el$22 = _el$21.firstChild, _el$23 = _el$22.firstChild, _el$24 = _el$23.nextSibling, _el$25 = _el$24.firstChild, _el$26 = _el$25.firstChild, _el$27 = _el$25.nextSibling, _el$28 = _el$27.nextSibling, _el$29 = _el$22.nextSibling, _el$30 = _el$29.firstChild, _el$31 = _el$29.nextSibling, _el$32 = _el$31.firstChild, _el$33 = _el$32.nextSibling, _el$34 = _el$33.firstChild, _el$35 = _el$34.firstChild, _el$36 = _el$35.nextSibling, _el$37 = _el$34.nextSibling, _el$38 = _el$37.firstChild, _el$39 = _el$38.nextSibling, _el$40 = _el$31.nextSibling, _el$41 = _el$40.firstChild, _el$43 = _el$41.nextSibling.firstChild, _el$44 = _el$43.firstChild, _el$45 = _el$44.nextSibling, _el$46 = _el$43.nextSibling, _el$47 = _el$46.firstChild, _el$48 = _el$47.nextSibling, _el$49 = _el$48.firstChild, _el$51 = _el$49.nextSibling;
170
+ _el$51.nextSibling;
171
+ var _el$52 = _el$46.nextSibling, _el$53 = _el$52.firstChild, _el$54 = _el$53.nextSibling, _el$55 = _el$52.nextSibling, _el$56 = _el$55.firstChild, _el$57 = _el$56.nextSibling, _el$58 = _el$55.nextSibling, _el$59 = _el$58.firstChild, _el$60 = _el$59.nextSibling, _el$61 = _el$58.nextSibling, _el$62 = _el$61.firstChild, _el$63 = _el$62.nextSibling, _el$64 = _el$61.nextSibling, _el$65 = _el$64.firstChild, _el$66 = _el$65.nextSibling, _el$67 = _el$64.nextSibling, _el$68 = _el$67.firstChild, _el$69 = _el$68.nextSibling, _el$70 = _el$67.nextSibling, _el$71 = _el$70.firstChild, _el$72 = _el$71.nextSibling;
172
+ insert(_el$26, createComponent(For, {
133
173
  get each() {
134
174
  return keyParts();
135
175
  },
@@ -138,30 +178,30 @@ function HotkeyDetails(props) {
138
178
  return i() > 0;
139
179
  },
140
180
  get children() {
141
- var _el$72 = _tmpl$6();
142
- effect(() => className(_el$72, styles().keyBreakdownPlus));
143
- return _el$72;
181
+ var _el$79 = _tmpl$7();
182
+ effect(() => className(_el$79, styles().keyBreakdownPlus));
183
+ return _el$79;
144
184
  }
145
185
  }), (() => {
146
- var _el$73 = _tmpl$7();
147
- insert(_el$73, part);
148
- effect(() => className(_el$73, styles().keyCapLarge));
149
- return _el$73;
186
+ var _el$80 = _tmpl$8();
187
+ insert(_el$80, part);
188
+ effect(() => className(_el$80, styles().keyCapLarge));
189
+ return _el$80;
150
190
  })()]
151
191
  }));
152
- insert(_el$21, createComponent(KeyBreakdownPlatformTable, {
192
+ insert(_el$28, createComponent(KeyBreakdownPlatformTable, {
153
193
  getParsed: () => parsed(),
154
194
  getCanonicalPlatform: registrationPlatform,
155
195
  get styles() {
156
196
  return props.styles;
157
197
  }
158
198
  }));
159
- insert(_el$22, createComponent(ActionButtons, { get registration() {
199
+ insert(_el$29, createComponent(ActionButtons, { get registration() {
160
200
  return reg();
161
201
  } }), null);
162
- insert(_el$29, () => reg().options.meta?.name ?? "—");
163
- insert(_el$32, () => reg().options.meta?.description ?? "—");
164
- insert(_el$26, createComponent(Show, {
202
+ insert(_el$36, () => reg().options.meta?.name ?? "—");
203
+ insert(_el$39, () => reg().options.meta?.description ?? "—");
204
+ insert(_el$33, createComponent(Show, {
165
205
  get when() {
166
206
  return memo(() => !!reg().options.meta)() && Object.keys(reg().options.meta).filter((k) => k !== "name" && k !== "description").length > 0;
167
207
  },
@@ -171,142 +211,148 @@ function HotkeyDetails(props) {
171
211
  return Object.entries(reg().options.meta ?? {}).filter(([k]) => k !== "name" && k !== "description");
172
212
  },
173
213
  children: ([key, value]) => (() => {
174
- var _el$74 = _tmpl$2(), _el$75 = _el$74.firstChild, _el$76 = _el$75.nextSibling;
175
- insert(_el$75, key);
176
- insert(_el$76, () => String(value));
214
+ var _el$81 = _tmpl$2(), _el$82 = _el$81.firstChild, _el$83 = _el$82.nextSibling;
215
+ insert(_el$82, key);
216
+ insert(_el$83, () => String(value));
177
217
  effect((_p$) => {
178
- var _v$63 = styles().optionRow, _v$64 = styles().optionLabel, _v$65 = styles().optionValue;
179
- _v$63 !== _p$.e && className(_el$74, _p$.e = _v$63);
180
- _v$64 !== _p$.t && className(_el$75, _p$.t = _v$64);
181
- _v$65 !== _p$.a && className(_el$76, _p$.a = _v$65);
218
+ var _v$66 = styles().optionRow, _v$67 = styles().optionLabel, _v$68 = styles().optionValue;
219
+ _v$66 !== _p$.e && className(_el$81, _p$.e = _v$66);
220
+ _v$67 !== _p$.t && className(_el$82, _p$.t = _v$67);
221
+ _v$68 !== _p$.a && className(_el$83, _p$.a = _v$68);
182
222
  return _p$;
183
223
  }, {
184
224
  e: void 0,
185
225
  t: void 0,
186
226
  a: void 0
187
227
  });
188
- return _el$74;
228
+ return _el$81;
189
229
  })()
190
230
  });
191
231
  }
192
232
  }), null);
193
- insert(_el$38, () => String(reg().options.enabled !== false));
194
- insert(_el$41, () => reg().options.scope ?? "global", _el$42);
195
- insert(_el$41, () => getScopeStatus(reg().options.scope ?? "global", state.scopes()), _el$44);
196
- insert(_el$47, () => reg().options.eventType ?? "keydown");
197
- insert(_el$50, (() => {
233
+ insert(_el$45, () => String(reg().options.enabled !== false));
234
+ insert(_el$48, () => reg().options.scope ?? "global", _el$49);
235
+ insert(_el$48, () => getScopeStatus(reg().options.scope ?? "global", state.scopes()), _el$51);
236
+ insert(_el$54, () => reg().options.eventType ?? "keydown");
237
+ insert(_el$57, (() => {
198
238
  var _c$ = memo(() => reg().options.preventDefault === "always");
199
239
  return () => _c$() ? "always" : String(!!reg().options.preventDefault);
200
240
  })());
201
- insert(_el$53, () => String(!!reg().options.stopPropagation));
202
- insert(_el$56, () => String(reg().options.ignoreInputs ?? "auto"));
203
- insert(_el$59, () => String(!!reg().options.requireReset));
204
- insert(_el$62, conflictBehavior);
205
- insert(_el$65, () => String(reg().hasFired));
206
- insert(_el$14, createComponent(Show, {
241
+ insert(_el$60, () => String(!!reg().options.stopPropagation));
242
+ insert(_el$63, () => String(reg().options.ignoreInputs ?? "auto"));
243
+ insert(_el$66, () => String(!!reg().options.requireReset));
244
+ insert(_el$69, conflictBehavior);
245
+ insert(_el$72, () => String(reg().hasFired));
246
+ insert(_el$21, createComponent(IssuesSection, {
247
+ get hotkey() {
248
+ return reg().hotkey;
249
+ },
250
+ styles
251
+ }), null);
252
+ insert(_el$21, createComponent(Show, {
207
253
  get when() {
208
254
  return allConflicts().length > 0;
209
255
  },
210
256
  get children() {
211
- var _el$66 = _tmpl$4(), _el$67 = _el$66.firstChild, _el$70 = _el$67.firstChild.nextSibling;
212
- _el$70.nextSibling;
213
- var _el$71 = _el$67.nextSibling;
214
- insert(_el$67, () => allConflicts().length, _el$70);
215
- insert(_el$71, createComponent(For, {
257
+ var _el$73 = _tmpl$5(), _el$74 = _el$73.firstChild, _el$77 = _el$74.firstChild.nextSibling;
258
+ _el$77.nextSibling;
259
+ var _el$78 = _el$74.nextSibling;
260
+ insert(_el$74, () => allConflicts().length, _el$77);
261
+ insert(_el$78, createComponent(For, {
216
262
  get each() {
217
263
  return targetConflicts();
218
264
  },
219
265
  children: (conflict) => {
220
266
  return (() => {
221
- var _el$77 = _tmpl$8(), _el$85 = _el$77.firstChild.nextSibling.nextSibling, _el$86 = _el$85.nextSibling.nextSibling, _el$87 = _el$86.nextSibling.nextSibling;
222
- _el$87.nextSibling;
223
- insert(_el$77, () => conflict.id, _el$85);
224
- insert(_el$77, () => formatRegistration(conflict), _el$86);
225
- insert(_el$77, () => conflict.options.eventType ?? "keydown", _el$87);
226
- insert(_el$77, () => props.getTargetDescription(conflict.target), null);
227
- effect(() => className(_el$77, styles().conflictItem));
228
- return _el$77;
267
+ var _el$84 = _tmpl$9(), _el$92 = _el$84.firstChild.nextSibling.nextSibling, _el$93 = _el$92.nextSibling.nextSibling, _el$94 = _el$93.nextSibling.nextSibling;
268
+ _el$94.nextSibling;
269
+ insert(_el$84, () => conflict.id, _el$92);
270
+ insert(_el$84, () => formatRegistration(conflict), _el$93);
271
+ insert(_el$84, () => conflict.options.eventType ?? "keydown", _el$94);
272
+ insert(_el$84, () => props.getTargetDescription(conflict.target), null);
273
+ effect(() => className(_el$84, styles().conflictItem));
274
+ return _el$84;
229
275
  })();
230
276
  }
231
277
  }), null);
232
- insert(_el$71, createComponent(For, {
278
+ insert(_el$78, createComponent(For, {
233
279
  get each() {
234
280
  return scopeConflicts();
235
281
  },
236
282
  children: (conflict) => (() => {
237
- var _el$88 = _tmpl$9(), _el$96 = _el$88.firstChild.nextSibling.nextSibling, _el$97 = _el$96.nextSibling.nextSibling, _el$98 = _el$97.nextSibling.nextSibling;
238
- _el$98.nextSibling;
239
- insert(_el$88, () => conflict.id, _el$96);
240
- insert(_el$88, () => formatRegistration(conflict), _el$97);
241
- insert(_el$88, () => conflict.options.eventType ?? "keydown", _el$98);
242
- insert(_el$88, () => props.getTargetDescription(conflict.target), null);
243
- effect(() => className(_el$88, styles().conflictItemScope));
244
- return _el$88;
283
+ var _el$95 = _tmpl$0(), _el$103 = _el$95.firstChild.nextSibling.nextSibling, _el$104 = _el$103.nextSibling.nextSibling, _el$105 = _el$104.nextSibling.nextSibling;
284
+ _el$105.nextSibling;
285
+ insert(_el$95, () => conflict.id, _el$103);
286
+ insert(_el$95, () => formatRegistration(conflict), _el$104);
287
+ insert(_el$95, () => conflict.options.eventType ?? "keydown", _el$105);
288
+ insert(_el$95, () => props.getTargetDescription(conflict.target), null);
289
+ effect(() => className(_el$95, styles().conflictItemScope));
290
+ return _el$95;
245
291
  })()
246
292
  }), null);
247
293
  effect((_p$) => {
248
- var _v$13 = styles().detailSection, _v$14 = styles().detailSectionHeader, _v$15 = styles().conflictList;
249
- _v$13 !== _p$.e && className(_el$66, _p$.e = _v$13);
250
- _v$14 !== _p$.t && className(_el$67, _p$.t = _v$14);
251
- _v$15 !== _p$.a && className(_el$71, _p$.a = _v$15);
294
+ var _v$16 = styles().detailSection, _v$17 = styles().detailSectionHeader, _v$18 = styles().conflictList;
295
+ _v$16 !== _p$.e && className(_el$73, _p$.e = _v$16);
296
+ _v$17 !== _p$.t && className(_el$74, _p$.t = _v$17);
297
+ _v$18 !== _p$.a && className(_el$78, _p$.a = _v$18);
252
298
  return _p$;
253
299
  }, {
254
300
  e: void 0,
255
301
  t: void 0,
256
302
  a: void 0
257
303
  });
258
- return _el$66;
304
+ return _el$73;
259
305
  }
260
306
  }), null);
261
307
  effect((_p$) => {
262
- var _v$16 = styles().detailsGrid, _v$17 = styles().detailSection, _v$18 = styles().detailSectionHeader, _v$19 = styles().keyBreakdownSplitRow, _v$20 = styles().keyBreakdownSplitLeft, _v$21 = styles().keyBreakdown, _v$22 = styles().keyBreakdownSplitArrow, _v$23 = styles().keyBreakdownSplitRight, _v$24 = styles().detailSection, _v$25 = styles().detailSectionHeader, _v$26 = styles().detailSection, _v$27 = styles().detailSectionHeader, _v$28 = styles().optionRow, _v$29 = styles().optionLabel, _v$30 = styles().optionValue, _v$31 = styles().optionRow, _v$32 = styles().optionLabel, _v$33 = styles().optionValue, _v$34 = styles().detailSection, _v$35 = styles().detailSectionHeader, _v$36 = styles().optionRow, _v$37 = styles().optionLabel, _v$38 = reg().options.enabled !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$39 = styles().optionRow, _v$40 = styles().optionLabel, _v$41 = styles().optionValue, _v$42 = styles().optionRow, _v$43 = styles().optionLabel, _v$44 = styles().optionValue, _v$45 = styles().optionRow, _v$46 = styles().optionLabel, _v$47 = reg().options.preventDefault ? styles().optionValueTrue : styles().optionValueFalse, _v$48 = styles().optionRow, _v$49 = styles().optionLabel, _v$50 = reg().options.stopPropagation ? styles().optionValueTrue : styles().optionValueFalse, _v$51 = styles().optionRow, _v$52 = styles().optionLabel, _v$53 = reg().options.ignoreInputs !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$54 = styles().optionRow, _v$55 = styles().optionLabel, _v$56 = reg().options.requireReset ? styles().optionValueTrue : styles().optionValueFalse, _v$57 = styles().optionRow, _v$58 = styles().optionLabel, _v$59 = styles().optionValue, _v$60 = styles().optionRow, _v$61 = styles().optionLabel, _v$62 = reg().hasFired ? styles().optionValueTrue : styles().optionValueFalse;
263
- _v$16 !== _p$.e && className(_el$14, _p$.e = _v$16);
264
- _v$17 !== _p$.t && className(_el$15, _p$.t = _v$17);
265
- _v$18 !== _p$.a && className(_el$16, _p$.a = _v$18);
266
- _v$19 !== _p$.o && className(_el$17, _p$.o = _v$19);
267
- _v$20 !== _p$.i && className(_el$18, _p$.i = _v$20);
268
- _v$21 !== _p$.n && className(_el$19, _p$.n = _v$21);
269
- _v$22 !== _p$.s && className(_el$20, _p$.s = _v$22);
270
- _v$23 !== _p$.h && className(_el$21, _p$.h = _v$23);
271
- _v$24 !== _p$.r && className(_el$22, _p$.r = _v$24);
272
- _v$25 !== _p$.d && className(_el$23, _p$.d = _v$25);
273
- _v$26 !== _p$.l && className(_el$24, _p$.l = _v$26);
274
- _v$27 !== _p$.u && className(_el$25, _p$.u = _v$27);
275
- _v$28 !== _p$.c && className(_el$27, _p$.c = _v$28);
276
- _v$29 !== _p$.w && className(_el$28, _p$.w = _v$29);
277
- _v$30 !== _p$.m && className(_el$29, _p$.m = _v$30);
278
- _v$31 !== _p$.f && className(_el$30, _p$.f = _v$31);
279
- _v$32 !== _p$.y && className(_el$31, _p$.y = _v$32);
280
- _v$33 !== _p$.g && className(_el$32, _p$.g = _v$33);
281
- _v$34 !== _p$.p && className(_el$33, _p$.p = _v$34);
282
- _v$35 !== _p$.b && className(_el$34, _p$.b = _v$35);
283
- _v$36 !== _p$.T && className(_el$36, _p$.T = _v$36);
284
- _v$37 !== _p$.A && className(_el$37, _p$.A = _v$37);
285
- _v$38 !== _p$.O && className(_el$38, _p$.O = _v$38);
286
- _v$39 !== _p$.I && className(_el$39, _p$.I = _v$39);
287
- _v$40 !== _p$.S && className(_el$40, _p$.S = _v$40);
288
- _v$41 !== _p$.W && className(_el$41, _p$.W = _v$41);
289
- _v$42 !== _p$.C && className(_el$45, _p$.C = _v$42);
290
- _v$43 !== _p$.B && className(_el$46, _p$.B = _v$43);
291
- _v$44 !== _p$.v && className(_el$47, _p$.v = _v$44);
292
- _v$45 !== _p$.k && className(_el$48, _p$.k = _v$45);
293
- _v$46 !== _p$.x && className(_el$49, _p$.x = _v$46);
294
- _v$47 !== _p$.j && className(_el$50, _p$.j = _v$47);
295
- _v$48 !== _p$.q && className(_el$51, _p$.q = _v$48);
296
- _v$49 !== _p$.z && className(_el$52, _p$.z = _v$49);
297
- _v$50 !== _p$.P && className(_el$53, _p$.P = _v$50);
298
- _v$51 !== _p$.H && className(_el$54, _p$.H = _v$51);
299
- _v$52 !== _p$.F && className(_el$55, _p$.F = _v$52);
300
- _v$53 !== _p$.M && className(_el$56, _p$.M = _v$53);
301
- _v$54 !== _p$.D && className(_el$57, _p$.D = _v$54);
302
- _v$55 !== _p$.R && className(_el$58, _p$.R = _v$55);
303
- _v$56 !== _p$.E && className(_el$59, _p$.E = _v$56);
304
- _v$57 !== _p$.L && className(_el$60, _p$.L = _v$57);
305
- _v$58 !== _p$.N && className(_el$61, _p$.N = _v$58);
306
- _v$59 !== _p$.G && className(_el$62, _p$.G = _v$59);
307
- _v$60 !== _p$.U && className(_el$63, _p$.U = _v$60);
308
- _v$61 !== _p$.K && className(_el$64, _p$.K = _v$61);
309
- _v$62 !== _p$.V && className(_el$65, _p$.V = _v$62);
308
+ var _v$19 = styles().detailsGrid, _v$20 = styles().detailSection, _v$21 = styles().detailSectionHeader, _v$22 = styles().keyBreakdownSplitRow, _v$23 = styles().keyBreakdownSplitLeft, _v$24 = styles().keyBreakdown, _v$25 = styles().keyBreakdownSplitArrow, _v$26 = styles().keyBreakdownSplitRight, _v$27 = styles().detailSection, _v$28 = styles().detailSectionHeader, _v$29 = styles().detailSection, _v$30 = styles().detailSectionHeader, _v$31 = styles().optionRow, _v$32 = styles().optionLabel, _v$33 = styles().optionValue, _v$34 = styles().optionRow, _v$35 = styles().optionLabel, _v$36 = styles().optionValue, _v$37 = styles().detailSection, _v$38 = styles().detailSectionHeader, _v$39 = styles().optionRow, _v$40 = styles().optionLabel, _v$41 = reg().options.enabled !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$42 = styles().optionRow, _v$43 = styles().optionLabel, _v$44 = styles().optionValue, _v$45 = styles().optionRow, _v$46 = styles().optionLabel, _v$47 = styles().optionValue, _v$48 = styles().optionRow, _v$49 = styles().optionLabel, _v$50 = reg().options.preventDefault ? styles().optionValueTrue : styles().optionValueFalse, _v$51 = styles().optionRow, _v$52 = styles().optionLabel, _v$53 = reg().options.stopPropagation ? styles().optionValueTrue : styles().optionValueFalse, _v$54 = styles().optionRow, _v$55 = styles().optionLabel, _v$56 = reg().options.ignoreInputs !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$57 = styles().optionRow, _v$58 = styles().optionLabel, _v$59 = reg().options.requireReset ? styles().optionValueTrue : styles().optionValueFalse, _v$60 = styles().optionRow, _v$61 = styles().optionLabel, _v$62 = styles().optionValue, _v$63 = styles().optionRow, _v$64 = styles().optionLabel, _v$65 = reg().hasFired ? styles().optionValueTrue : styles().optionValueFalse;
309
+ _v$19 !== _p$.e && className(_el$21, _p$.e = _v$19);
310
+ _v$20 !== _p$.t && className(_el$22, _p$.t = _v$20);
311
+ _v$21 !== _p$.a && className(_el$23, _p$.a = _v$21);
312
+ _v$22 !== _p$.o && className(_el$24, _p$.o = _v$22);
313
+ _v$23 !== _p$.i && className(_el$25, _p$.i = _v$23);
314
+ _v$24 !== _p$.n && className(_el$26, _p$.n = _v$24);
315
+ _v$25 !== _p$.s && className(_el$27, _p$.s = _v$25);
316
+ _v$26 !== _p$.h && className(_el$28, _p$.h = _v$26);
317
+ _v$27 !== _p$.r && className(_el$29, _p$.r = _v$27);
318
+ _v$28 !== _p$.d && className(_el$30, _p$.d = _v$28);
319
+ _v$29 !== _p$.l && className(_el$31, _p$.l = _v$29);
320
+ _v$30 !== _p$.u && className(_el$32, _p$.u = _v$30);
321
+ _v$31 !== _p$.c && className(_el$34, _p$.c = _v$31);
322
+ _v$32 !== _p$.w && className(_el$35, _p$.w = _v$32);
323
+ _v$33 !== _p$.m && className(_el$36, _p$.m = _v$33);
324
+ _v$34 !== _p$.f && className(_el$37, _p$.f = _v$34);
325
+ _v$35 !== _p$.y && className(_el$38, _p$.y = _v$35);
326
+ _v$36 !== _p$.g && className(_el$39, _p$.g = _v$36);
327
+ _v$37 !== _p$.p && className(_el$40, _p$.p = _v$37);
328
+ _v$38 !== _p$.b && className(_el$41, _p$.b = _v$38);
329
+ _v$39 !== _p$.T && className(_el$43, _p$.T = _v$39);
330
+ _v$40 !== _p$.A && className(_el$44, _p$.A = _v$40);
331
+ _v$41 !== _p$.O && className(_el$45, _p$.O = _v$41);
332
+ _v$42 !== _p$.I && className(_el$46, _p$.I = _v$42);
333
+ _v$43 !== _p$.S && className(_el$47, _p$.S = _v$43);
334
+ _v$44 !== _p$.W && className(_el$48, _p$.W = _v$44);
335
+ _v$45 !== _p$.C && className(_el$52, _p$.C = _v$45);
336
+ _v$46 !== _p$.B && className(_el$53, _p$.B = _v$46);
337
+ _v$47 !== _p$.v && className(_el$54, _p$.v = _v$47);
338
+ _v$48 !== _p$.k && className(_el$55, _p$.k = _v$48);
339
+ _v$49 !== _p$.x && className(_el$56, _p$.x = _v$49);
340
+ _v$50 !== _p$.j && className(_el$57, _p$.j = _v$50);
341
+ _v$51 !== _p$.q && className(_el$58, _p$.q = _v$51);
342
+ _v$52 !== _p$.z && className(_el$59, _p$.z = _v$52);
343
+ _v$53 !== _p$.P && className(_el$60, _p$.P = _v$53);
344
+ _v$54 !== _p$.H && className(_el$61, _p$.H = _v$54);
345
+ _v$55 !== _p$.F && className(_el$62, _p$.F = _v$55);
346
+ _v$56 !== _p$.M && className(_el$63, _p$.M = _v$56);
347
+ _v$57 !== _p$.D && className(_el$64, _p$.D = _v$57);
348
+ _v$58 !== _p$.R && className(_el$65, _p$.R = _v$58);
349
+ _v$59 !== _p$.E && className(_el$66, _p$.E = _v$59);
350
+ _v$60 !== _p$.L && className(_el$67, _p$.L = _v$60);
351
+ _v$61 !== _p$.N && className(_el$68, _p$.N = _v$61);
352
+ _v$62 !== _p$.G && className(_el$69, _p$.G = _v$62);
353
+ _v$63 !== _p$.U && className(_el$70, _p$.U = _v$63);
354
+ _v$64 !== _p$.K && className(_el$71, _p$.K = _v$64);
355
+ _v$65 !== _p$.V && className(_el$72, _p$.V = _v$65);
310
356
  return _p$;
311
357
  }, {
312
358
  e: void 0,
@@ -357,7 +403,7 @@ function HotkeyDetails(props) {
357
403
  K: void 0,
358
404
  V: void 0
359
405
  });
360
- return _el$14;
406
+ return _el$21;
361
407
  })()];
362
408
  }
363
409
  function SequenceDetails(props) {
@@ -375,60 +421,60 @@ function SequenceDetails(props) {
375
421
  const sequenceCanonicalPlatform = createMemo(() => liveReg().options.platform ?? detectPlatform());
376
422
  const styles = props.styles;
377
423
  return [(() => {
378
- var _el$99 = _tmpl$0(), _el$100 = _el$99.firstChild, _el$101 = _el$100.nextSibling, _el$102 = _el$101.firstChild, _el$103 = _el$102.nextSibling, _el$104 = _el$103.nextSibling, _el$105 = _el$104.nextSibling, _el$106 = _el$105.nextSibling, _el$107 = _el$106.nextSibling, _el$108 = _el$107.nextSibling, _el$109 = _el$108.nextSibling, _el$110 = _el$109.nextSibling, _el$111 = _el$110.nextSibling;
379
- insert(_el$100, createComponent(For, {
424
+ var _el$106 = _tmpl$1(), _el$107 = _el$106.firstChild, _el$108 = _el$107.nextSibling, _el$109 = _el$108.firstChild, _el$110 = _el$109.nextSibling, _el$111 = _el$110.nextSibling, _el$112 = _el$111.nextSibling, _el$113 = _el$112.nextSibling, _el$114 = _el$113.nextSibling, _el$115 = _el$114.nextSibling, _el$116 = _el$115.nextSibling, _el$117 = _el$116.nextSibling, _el$118 = _el$117.nextSibling;
425
+ insert(_el$107, createComponent(For, {
380
426
  get each() {
381
427
  return liveReg().hotkey;
382
428
  },
383
429
  children: (step, i) => (() => {
384
- var _el$165 = _tmpl$10(), _el$166 = _el$165.firstChild;
385
- insert(_el$165, createComponent(Show, {
430
+ var _el$172 = _tmpl$11(), _el$173 = _el$172.firstChild;
431
+ insert(_el$172, createComponent(Show, {
386
432
  get when() {
387
433
  return i() > 0;
388
434
  },
389
435
  children: " "
390
- }), _el$166);
391
- insert(_el$166, () => formatForDisplay(step, { platform: sequenceCanonicalPlatform() }));
392
- effect(() => className(_el$166, i() < matchedSteps() ? styles().sequenceStepMatched : void 0));
393
- return _el$165;
436
+ }), _el$173);
437
+ insert(_el$173, () => formatForDisplay(step, { platform: sequenceCanonicalPlatform() }));
438
+ effect(() => className(_el$173, i() < matchedSteps() ? styles().sequenceStepMatched : void 0));
439
+ return _el$172;
394
440
  })()
395
441
  }));
396
- insert(_el$103, () => liveReg().id);
397
- insert(_el$105, () => getBindingKind(liveReg()));
398
- insert(_el$107, () => liveReg().hotkey.join(" → "));
399
- insert(_el$109, createComponent(For, {
442
+ insert(_el$110, () => liveReg().id);
443
+ insert(_el$112, () => getBindingKind(liveReg()));
444
+ insert(_el$114, () => liveReg().hotkey.join(" → "));
445
+ insert(_el$116, createComponent(For, {
400
446
  get each() {
401
447
  return liveReg().hotkey;
402
448
  },
403
449
  children: (step, i) => (() => {
404
- var _el$167 = _tmpl$10(), _el$168 = _el$167.firstChild;
405
- insert(_el$167, createComponent(Show, {
450
+ var _el$174 = _tmpl$11(), _el$175 = _el$174.firstChild;
451
+ insert(_el$174, createComponent(Show, {
406
452
  get when() {
407
453
  return i() > 0;
408
454
  },
409
455
  children: " "
410
- }), _el$168);
411
- insert(_el$168, () => formatForDisplay(step, { platform: sequenceCanonicalPlatform() }));
412
- effect(() => className(_el$168, i() < matchedSteps() ? styles().sequenceStepMatched : void 0));
413
- return _el$167;
456
+ }), _el$175);
457
+ insert(_el$175, () => formatForDisplay(step, { platform: sequenceCanonicalPlatform() }));
458
+ effect(() => className(_el$175, i() < matchedSteps() ? styles().sequenceStepMatched : void 0));
459
+ return _el$174;
414
460
  })()
415
461
  }));
416
- insert(_el$111, () => props.getTargetDescription(liveReg().target));
462
+ insert(_el$118, () => props.getTargetDescription(liveReg().target));
417
463
  effect((_p$) => {
418
- var _v$66 = styles().stateHeader, _v$67 = styles().stateTitle, _v$68 = styles().infoGrid, _v$69 = styles().infoLabel, _v$70 = styles().infoValueMono, _v$71 = styles().infoLabel, _v$72 = styles().infoValueMono, _v$73 = styles().infoLabel, _v$74 = styles().infoValueMono, _v$75 = styles().infoLabel, _v$76 = styles().infoValueMono, _v$77 = styles().infoLabel, _v$78 = styles().infoValueMono;
419
- _v$66 !== _p$.e && className(_el$99, _p$.e = _v$66);
420
- _v$67 !== _p$.t && className(_el$100, _p$.t = _v$67);
421
- _v$68 !== _p$.a && className(_el$101, _p$.a = _v$68);
422
- _v$69 !== _p$.o && className(_el$102, _p$.o = _v$69);
423
- _v$70 !== _p$.i && className(_el$103, _p$.i = _v$70);
424
- _v$71 !== _p$.n && className(_el$104, _p$.n = _v$71);
425
- _v$72 !== _p$.s && className(_el$105, _p$.s = _v$72);
426
- _v$73 !== _p$.h && className(_el$106, _p$.h = _v$73);
427
- _v$74 !== _p$.r && className(_el$107, _p$.r = _v$74);
428
- _v$75 !== _p$.d && className(_el$108, _p$.d = _v$75);
429
- _v$76 !== _p$.l && className(_el$109, _p$.l = _v$76);
430
- _v$77 !== _p$.u && className(_el$110, _p$.u = _v$77);
431
- _v$78 !== _p$.c && className(_el$111, _p$.c = _v$78);
464
+ var _v$69 = styles().stateHeader, _v$70 = styles().stateTitle, _v$71 = styles().infoGrid, _v$72 = styles().infoLabel, _v$73 = styles().infoValueMono, _v$74 = styles().infoLabel, _v$75 = styles().infoValueMono, _v$76 = styles().infoLabel, _v$77 = styles().infoValueMono, _v$78 = styles().infoLabel, _v$79 = styles().infoValueMono, _v$80 = styles().infoLabel, _v$81 = styles().infoValueMono;
465
+ _v$69 !== _p$.e && className(_el$106, _p$.e = _v$69);
466
+ _v$70 !== _p$.t && className(_el$107, _p$.t = _v$70);
467
+ _v$71 !== _p$.a && className(_el$108, _p$.a = _v$71);
468
+ _v$72 !== _p$.o && className(_el$109, _p$.o = _v$72);
469
+ _v$73 !== _p$.i && className(_el$110, _p$.i = _v$73);
470
+ _v$74 !== _p$.n && className(_el$111, _p$.n = _v$74);
471
+ _v$75 !== _p$.s && className(_el$112, _p$.s = _v$75);
472
+ _v$76 !== _p$.h && className(_el$113, _p$.h = _v$76);
473
+ _v$77 !== _p$.r && className(_el$114, _p$.r = _v$77);
474
+ _v$78 !== _p$.d && className(_el$115, _p$.d = _v$78);
475
+ _v$79 !== _p$.l && className(_el$116, _p$.l = _v$79);
476
+ _v$80 !== _p$.u && className(_el$117, _p$.u = _v$80);
477
+ _v$81 !== _p$.c && className(_el$118, _p$.c = _v$81);
432
478
  return _p$;
433
479
  }, {
434
480
  e: void 0,
@@ -445,12 +491,12 @@ function SequenceDetails(props) {
445
491
  u: void 0,
446
492
  c: void 0
447
493
  });
448
- return _el$99;
494
+ return _el$106;
449
495
  })(), (() => {
450
- var _el$112 = _tmpl$1(), _el$113 = _el$112.firstChild, _el$114 = _el$113.firstChild, _el$115 = _el$114.nextSibling, _el$116 = _el$115.nextSibling, _el$117 = _el$113.nextSibling, _el$118 = _el$117.firstChild, _el$119 = _el$117.nextSibling, _el$120 = _el$119.firstChild, _el$121 = _el$120.nextSibling, _el$122 = _el$121.firstChild, _el$123 = _el$122.firstChild, _el$124 = _el$123.nextSibling, _el$125 = _el$122.nextSibling, _el$126 = _el$125.firstChild, _el$127 = _el$126.nextSibling, _el$128 = _el$119.nextSibling, _el$129 = _el$128.firstChild, _el$131 = _el$129.nextSibling.firstChild, _el$132 = _el$131.firstChild, _el$133 = _el$132.nextSibling, _el$134 = _el$131.nextSibling, _el$135 = _el$134.firstChild, _el$136 = _el$135.nextSibling, _el$137 = _el$136.firstChild, _el$139 = _el$137.nextSibling;
451
- _el$139.nextSibling;
452
- var _el$140 = _el$134.nextSibling, _el$141 = _el$140.firstChild, _el$142 = _el$141.nextSibling, _el$143 = _el$140.nextSibling, _el$144 = _el$143.firstChild, _el$145 = _el$144.nextSibling, _el$146 = _el$145.firstChild, _el$147 = _el$143.nextSibling, _el$148 = _el$147.firstChild, _el$149 = _el$148.nextSibling, _el$150 = _el$147.nextSibling, _el$151 = _el$150.firstChild, _el$152 = _el$151.nextSibling, _el$153 = _el$150.nextSibling, _el$154 = _el$153.firstChild, _el$155 = _el$154.nextSibling, _el$156 = _el$153.nextSibling, _el$157 = _el$156.firstChild, _el$158 = _el$157.nextSibling;
453
- insert(_el$115, createComponent(For, {
496
+ var _el$119 = _tmpl$10(), _el$120 = _el$119.firstChild, _el$121 = _el$120.firstChild, _el$122 = _el$121.nextSibling, _el$123 = _el$122.nextSibling, _el$124 = _el$120.nextSibling, _el$125 = _el$124.firstChild, _el$126 = _el$124.nextSibling, _el$127 = _el$126.firstChild, _el$128 = _el$127.nextSibling, _el$129 = _el$128.firstChild, _el$130 = _el$129.firstChild, _el$131 = _el$130.nextSibling, _el$132 = _el$129.nextSibling, _el$133 = _el$132.firstChild, _el$134 = _el$133.nextSibling, _el$135 = _el$126.nextSibling, _el$136 = _el$135.firstChild, _el$138 = _el$136.nextSibling.firstChild, _el$139 = _el$138.firstChild, _el$140 = _el$139.nextSibling, _el$141 = _el$138.nextSibling, _el$142 = _el$141.firstChild, _el$143 = _el$142.nextSibling, _el$144 = _el$143.firstChild, _el$146 = _el$144.nextSibling;
497
+ _el$146.nextSibling;
498
+ var _el$147 = _el$141.nextSibling, _el$148 = _el$147.firstChild, _el$149 = _el$148.nextSibling, _el$150 = _el$147.nextSibling, _el$151 = _el$150.firstChild, _el$152 = _el$151.nextSibling, _el$153 = _el$152.firstChild, _el$154 = _el$150.nextSibling, _el$155 = _el$154.firstChild, _el$156 = _el$155.nextSibling, _el$157 = _el$154.nextSibling, _el$158 = _el$157.firstChild, _el$159 = _el$158.nextSibling, _el$160 = _el$157.nextSibling, _el$161 = _el$160.firstChild, _el$162 = _el$161.nextSibling, _el$163 = _el$160.nextSibling, _el$164 = _el$163.firstChild, _el$165 = _el$164.nextSibling;
499
+ insert(_el$122, createComponent(For, {
454
500
  get each() {
455
501
  return liveReg().hotkey;
456
502
  },
@@ -459,18 +505,18 @@ function SequenceDetails(props) {
459
505
  return i() > 0;
460
506
  },
461
507
  get children() {
462
- var _el$169 = _tmpl$11();
463
- effect(() => className(_el$169, styles().keyBreakdownPlus));
464
- return _el$169;
508
+ var _el$176 = _tmpl$12();
509
+ effect(() => className(_el$176, styles().keyBreakdownPlus));
510
+ return _el$176;
465
511
  }
466
512
  }), (() => {
467
- var _el$170 = _tmpl$7();
468
- insert(_el$170, () => formatForDisplay(step, { platform: sequenceCanonicalPlatform() }));
469
- effect(() => className(_el$170, clsx(styles().keyCapLarge, i() < matchedSteps() && styles().keyCapLargeInProgress)));
470
- return _el$170;
513
+ var _el$177 = _tmpl$8();
514
+ insert(_el$177, () => formatForDisplay(step, { platform: sequenceCanonicalPlatform() }));
515
+ effect(() => className(_el$177, clsx(styles().keyCapLarge, i() < matchedSteps() && styles().keyCapLargeInProgress)));
516
+ return _el$177;
471
517
  })()]
472
518
  }));
473
- insert(_el$113, createComponent(For, {
519
+ insert(_el$120, createComponent(For, {
474
520
  get each() {
475
521
  return liveReg().hotkey;
476
522
  },
@@ -481,12 +527,12 @@ function SequenceDetails(props) {
481
527
  parts: true
482
528
  });
483
529
  return (() => {
484
- var _el$171 = _tmpl$12(), _el$172 = _el$171.firstChild, _el$176 = _el$172.firstChild.nextSibling;
485
- _el$176.nextSibling;
486
- var _el$177 = _el$172.nextSibling, _el$178 = _el$177.firstChild, _el$179 = _el$178.firstChild, _el$180 = _el$178.nextSibling, _el$181 = _el$180.nextSibling;
487
- insert(_el$172, () => stepIdx() + 1, _el$176);
488
- insert(_el$172, () => stepParsed().code !== void 0 ? "Code" : "Key", null);
489
- insert(_el$179, createComponent(For, {
530
+ var _el$178 = _tmpl$13(), _el$179 = _el$178.firstChild, _el$183 = _el$179.firstChild.nextSibling;
531
+ _el$183.nextSibling;
532
+ var _el$184 = _el$179.nextSibling, _el$185 = _el$184.firstChild, _el$186 = _el$185.firstChild, _el$187 = _el$185.nextSibling, _el$188 = _el$187.nextSibling;
533
+ insert(_el$179, () => stepIdx() + 1, _el$183);
534
+ insert(_el$179, () => stepParsed().code !== void 0 ? "Code" : "Key", null);
535
+ insert(_el$186, createComponent(For, {
490
536
  get each() {
491
537
  return stepParts();
492
538
  },
@@ -495,18 +541,18 @@ function SequenceDetails(props) {
495
541
  return i() > 0;
496
542
  },
497
543
  get children() {
498
- var _el$182 = _tmpl$6();
499
- effect(() => className(_el$182, styles().keyBreakdownPlus));
500
- return _el$182;
544
+ var _el$189 = _tmpl$7();
545
+ effect(() => className(_el$189, styles().keyBreakdownPlus));
546
+ return _el$189;
501
547
  }
502
548
  }), (() => {
503
- var _el$183 = _tmpl$7();
504
- insert(_el$183, part);
505
- effect(() => className(_el$183, styles().keyCapLarge));
506
- return _el$183;
549
+ var _el$190 = _tmpl$8();
550
+ insert(_el$190, part);
551
+ effect(() => className(_el$190, styles().keyCapLarge));
552
+ return _el$190;
507
553
  })()]
508
554
  }));
509
- insert(_el$181, createComponent(KeyBreakdownPlatformTable, {
555
+ insert(_el$188, createComponent(KeyBreakdownPlatformTable, {
510
556
  getParsed: stepParsed,
511
557
  getCanonicalPlatform: () => sequenceCanonicalPlatform(),
512
558
  get styles() {
@@ -514,14 +560,14 @@ function SequenceDetails(props) {
514
560
  }
515
561
  }));
516
562
  effect((_p$) => {
517
- var _v$123 = styles().sequenceChordDetail, _v$124 = styles().keyBreakdownSubHeader, _v$125 = styles().keyBreakdownSplitRow, _v$126 = styles().keyBreakdownSplitLeft, _v$127 = styles().keyBreakdown, _v$128 = styles().keyBreakdownSplitArrow, _v$129 = styles().keyBreakdownSplitRight;
518
- _v$123 !== _p$.e && className(_el$171, _p$.e = _v$123);
519
- _v$124 !== _p$.t && className(_el$172, _p$.t = _v$124);
520
- _v$125 !== _p$.a && className(_el$177, _p$.a = _v$125);
521
- _v$126 !== _p$.o && className(_el$178, _p$.o = _v$126);
522
- _v$127 !== _p$.i && className(_el$179, _p$.i = _v$127);
523
- _v$128 !== _p$.n && className(_el$180, _p$.n = _v$128);
524
- _v$129 !== _p$.s && className(_el$181, _p$.s = _v$129);
563
+ var _v$126 = styles().sequenceChordDetail, _v$127 = styles().keyBreakdownSubHeader, _v$128 = styles().keyBreakdownSplitRow, _v$129 = styles().keyBreakdownSplitLeft, _v$130 = styles().keyBreakdown, _v$131 = styles().keyBreakdownSplitArrow, _v$132 = styles().keyBreakdownSplitRight;
564
+ _v$126 !== _p$.e && className(_el$178, _p$.e = _v$126);
565
+ _v$127 !== _p$.t && className(_el$179, _p$.t = _v$127);
566
+ _v$128 !== _p$.a && className(_el$184, _p$.a = _v$128);
567
+ _v$129 !== _p$.o && className(_el$185, _p$.o = _v$129);
568
+ _v$130 !== _p$.i && className(_el$186, _p$.i = _v$130);
569
+ _v$131 !== _p$.n && className(_el$187, _p$.n = _v$131);
570
+ _v$132 !== _p$.s && className(_el$188, _p$.s = _v$132);
525
571
  return _p$;
526
572
  }, {
527
573
  e: void 0,
@@ -532,16 +578,16 @@ function SequenceDetails(props) {
532
578
  n: void 0,
533
579
  s: void 0
534
580
  });
535
- return _el$171;
581
+ return _el$178;
536
582
  })();
537
583
  }
538
584
  }), null);
539
- insert(_el$117, createComponent(ActionButtons, { get registration() {
585
+ insert(_el$124, createComponent(ActionButtons, { get registration() {
540
586
  return liveReg();
541
587
  } }), null);
542
- insert(_el$124, () => liveReg().options.meta?.name ?? "—");
543
- insert(_el$127, () => liveReg().options.meta?.description ?? "—");
544
- insert(_el$121, createComponent(Show, {
588
+ insert(_el$131, () => liveReg().options.meta?.name ?? "—");
589
+ insert(_el$134, () => liveReg().options.meta?.description ?? "—");
590
+ insert(_el$128, createComponent(Show, {
545
591
  get when() {
546
592
  return memo(() => !!liveReg().options.meta)() && Object.keys(liveReg().options.meta).filter((k) => k !== "name" && k !== "description").length > 0;
547
593
  },
@@ -551,135 +597,141 @@ function SequenceDetails(props) {
551
597
  return Object.entries(liveReg().options.meta ?? {}).filter(([k]) => k !== "name" && k !== "description");
552
598
  },
553
599
  children: ([key, value]) => (() => {
554
- var _el$184 = _tmpl$2(), _el$185 = _el$184.firstChild, _el$186 = _el$185.nextSibling;
555
- insert(_el$185, key);
556
- insert(_el$186, () => String(value));
600
+ var _el$191 = _tmpl$2(), _el$192 = _el$191.firstChild, _el$193 = _el$192.nextSibling;
601
+ insert(_el$192, key);
602
+ insert(_el$193, () => String(value));
557
603
  effect((_p$) => {
558
- var _v$130 = styles().optionRow, _v$131 = styles().optionLabel, _v$132 = styles().optionValue;
559
- _v$130 !== _p$.e && className(_el$184, _p$.e = _v$130);
560
- _v$131 !== _p$.t && className(_el$185, _p$.t = _v$131);
561
- _v$132 !== _p$.a && className(_el$186, _p$.a = _v$132);
604
+ var _v$133 = styles().optionRow, _v$134 = styles().optionLabel, _v$135 = styles().optionValue;
605
+ _v$133 !== _p$.e && className(_el$191, _p$.e = _v$133);
606
+ _v$134 !== _p$.t && className(_el$192, _p$.t = _v$134);
607
+ _v$135 !== _p$.a && className(_el$193, _p$.a = _v$135);
562
608
  return _p$;
563
609
  }, {
564
610
  e: void 0,
565
611
  t: void 0,
566
612
  a: void 0
567
613
  });
568
- return _el$184;
614
+ return _el$191;
569
615
  })()
570
616
  });
571
617
  }
572
618
  }), null);
573
- insert(_el$133, () => String(liveReg().options.enabled !== false));
574
- insert(_el$136, () => liveReg().options.scope ?? "global", _el$137);
575
- insert(_el$136, () => getScopeStatus(liveReg().options.scope ?? "global", props.state.scopes()), _el$139);
576
- insert(_el$142, () => liveReg().options.eventType ?? "keydown");
577
- insert(_el$145, () => liveReg().options.timeout ?? 1e3, _el$146);
578
- insert(_el$149, (() => {
619
+ insert(_el$140, () => String(liveReg().options.enabled !== false));
620
+ insert(_el$143, () => liveReg().options.scope ?? "global", _el$144);
621
+ insert(_el$143, () => getScopeStatus(liveReg().options.scope ?? "global", props.state.scopes()), _el$146);
622
+ insert(_el$149, () => liveReg().options.eventType ?? "keydown");
623
+ insert(_el$152, () => liveReg().options.timeout ?? 1e3, _el$153);
624
+ insert(_el$156, (() => {
579
625
  var _c$2 = memo(() => liveReg().options.preventDefault === "always");
580
626
  return () => _c$2() ? "always" : String(!!liveReg().options.preventDefault);
581
627
  })());
582
- insert(_el$152, () => String(!!liveReg().options.stopPropagation));
583
- insert(_el$155, () => String(liveReg().options.ignoreInputs ?? "auto"));
584
- insert(_el$158, conflictBehavior);
585
- insert(_el$112, createComponent(Show, {
628
+ insert(_el$159, () => String(!!liveReg().options.stopPropagation));
629
+ insert(_el$162, () => String(liveReg().options.ignoreInputs ?? "auto"));
630
+ insert(_el$165, conflictBehavior);
631
+ insert(_el$119, createComponent(IssuesSection, {
632
+ get hotkey() {
633
+ return liveReg().hotkey;
634
+ },
635
+ styles
636
+ }), null);
637
+ insert(_el$119, createComponent(Show, {
586
638
  get when() {
587
639
  return allConflicts().length > 0;
588
640
  },
589
641
  get children() {
590
- var _el$159 = _tmpl$4(), _el$160 = _el$159.firstChild, _el$163 = _el$160.firstChild.nextSibling;
591
- _el$163.nextSibling;
592
- var _el$164 = _el$160.nextSibling;
593
- insert(_el$160, () => allConflicts().length, _el$163);
594
- insert(_el$164, createComponent(For, {
642
+ var _el$166 = _tmpl$5(), _el$167 = _el$166.firstChild, _el$170 = _el$167.firstChild.nextSibling;
643
+ _el$170.nextSibling;
644
+ var _el$171 = _el$167.nextSibling;
645
+ insert(_el$167, () => allConflicts().length, _el$170);
646
+ insert(_el$171, createComponent(For, {
595
647
  get each() {
596
648
  return targetConflicts();
597
649
  },
598
650
  children: (conflict) => {
599
651
  return (() => {
600
- var _el$187 = _tmpl$8(), _el$195 = _el$187.firstChild.nextSibling.nextSibling, _el$196 = _el$195.nextSibling.nextSibling, _el$197 = _el$196.nextSibling.nextSibling;
601
- _el$197.nextSibling;
602
- insert(_el$187, () => conflict.id, _el$195);
603
- insert(_el$187, () => formatRegistration(conflict), _el$196);
604
- insert(_el$187, () => conflict.options.eventType ?? "keydown", _el$197);
605
- insert(_el$187, () => props.getTargetDescription(conflict.target), null);
606
- effect(() => className(_el$187, styles().conflictItem));
607
- return _el$187;
652
+ var _el$194 = _tmpl$9(), _el$202 = _el$194.firstChild.nextSibling.nextSibling, _el$203 = _el$202.nextSibling.nextSibling, _el$204 = _el$203.nextSibling.nextSibling;
653
+ _el$204.nextSibling;
654
+ insert(_el$194, () => conflict.id, _el$202);
655
+ insert(_el$194, () => formatRegistration(conflict), _el$203);
656
+ insert(_el$194, () => conflict.options.eventType ?? "keydown", _el$204);
657
+ insert(_el$194, () => props.getTargetDescription(conflict.target), null);
658
+ effect(() => className(_el$194, styles().conflictItem));
659
+ return _el$194;
608
660
  })();
609
661
  }
610
662
  }), null);
611
- insert(_el$164, createComponent(For, {
663
+ insert(_el$171, createComponent(For, {
612
664
  get each() {
613
665
  return scopeConflicts();
614
666
  },
615
667
  children: (conflict) => (() => {
616
- var _el$198 = _tmpl$9(), _el$206 = _el$198.firstChild.nextSibling.nextSibling, _el$207 = _el$206.nextSibling.nextSibling, _el$208 = _el$207.nextSibling.nextSibling;
617
- _el$208.nextSibling;
618
- insert(_el$198, () => conflict.id, _el$206);
619
- insert(_el$198, () => formatRegistration(conflict), _el$207);
620
- insert(_el$198, () => conflict.options.eventType ?? "keydown", _el$208);
621
- insert(_el$198, () => props.getTargetDescription(conflict.target), null);
622
- effect(() => className(_el$198, styles().conflictItemScope));
623
- return _el$198;
668
+ var _el$205 = _tmpl$0(), _el$213 = _el$205.firstChild.nextSibling.nextSibling, _el$214 = _el$213.nextSibling.nextSibling, _el$215 = _el$214.nextSibling.nextSibling;
669
+ _el$215.nextSibling;
670
+ insert(_el$205, () => conflict.id, _el$213);
671
+ insert(_el$205, () => formatRegistration(conflict), _el$214);
672
+ insert(_el$205, () => conflict.options.eventType ?? "keydown", _el$215);
673
+ insert(_el$205, () => props.getTargetDescription(conflict.target), null);
674
+ effect(() => className(_el$205, styles().conflictItemScope));
675
+ return _el$205;
624
676
  })()
625
677
  }), null);
626
678
  effect((_p$) => {
627
- var _v$79 = styles().detailSection, _v$80 = styles().detailSectionHeader, _v$81 = styles().conflictList;
628
- _v$79 !== _p$.e && className(_el$159, _p$.e = _v$79);
629
- _v$80 !== _p$.t && className(_el$160, _p$.t = _v$80);
630
- _v$81 !== _p$.a && className(_el$164, _p$.a = _v$81);
679
+ var _v$82 = styles().detailSection, _v$83 = styles().detailSectionHeader, _v$84 = styles().conflictList;
680
+ _v$82 !== _p$.e && className(_el$166, _p$.e = _v$82);
681
+ _v$83 !== _p$.t && className(_el$167, _p$.t = _v$83);
682
+ _v$84 !== _p$.a && className(_el$171, _p$.a = _v$84);
631
683
  return _p$;
632
684
  }, {
633
685
  e: void 0,
634
686
  t: void 0,
635
687
  a: void 0
636
688
  });
637
- return _el$159;
689
+ return _el$166;
638
690
  }
639
691
  }), null);
640
692
  effect((_p$) => {
641
- var _v$82 = styles().detailsGrid, _v$83 = styles().detailSection, _v$84 = styles().detailSectionHeader, _v$85 = styles().keyBreakdown, _v$86 = styles().keyBreakdownSubHeader, _v$87 = styles().detailSection, _v$88 = styles().detailSectionHeader, _v$89 = styles().detailSection, _v$90 = styles().detailSectionHeader, _v$91 = styles().optionRow, _v$92 = styles().optionLabel, _v$93 = styles().optionValue, _v$94 = styles().optionRow, _v$95 = styles().optionLabel, _v$96 = styles().optionValue, _v$97 = styles().detailSection, _v$98 = styles().detailSectionHeader, _v$99 = styles().optionRow, _v$100 = styles().optionLabel, _v$101 = liveReg().options.enabled !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$102 = styles().optionRow, _v$103 = styles().optionLabel, _v$104 = styles().optionValue, _v$105 = styles().optionRow, _v$106 = styles().optionLabel, _v$107 = styles().optionValue, _v$108 = styles().optionRow, _v$109 = styles().optionLabel, _v$110 = styles().optionValue, _v$111 = styles().optionRow, _v$112 = styles().optionLabel, _v$113 = liveReg().options.preventDefault ? styles().optionValueTrue : styles().optionValueFalse, _v$114 = styles().optionRow, _v$115 = styles().optionLabel, _v$116 = liveReg().options.stopPropagation ? styles().optionValueTrue : styles().optionValueFalse, _v$117 = styles().optionRow, _v$118 = styles().optionLabel, _v$119 = liveReg().options.ignoreInputs !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$120 = styles().optionRow, _v$121 = styles().optionLabel, _v$122 = styles().optionValue;
642
- _v$82 !== _p$.e && className(_el$112, _p$.e = _v$82);
643
- _v$83 !== _p$.t && className(_el$113, _p$.t = _v$83);
644
- _v$84 !== _p$.a && className(_el$114, _p$.a = _v$84);
645
- _v$85 !== _p$.o && className(_el$115, _p$.o = _v$85);
646
- _v$86 !== _p$.i && className(_el$116, _p$.i = _v$86);
647
- _v$87 !== _p$.n && className(_el$117, _p$.n = _v$87);
648
- _v$88 !== _p$.s && className(_el$118, _p$.s = _v$88);
649
- _v$89 !== _p$.h && className(_el$119, _p$.h = _v$89);
650
- _v$90 !== _p$.r && className(_el$120, _p$.r = _v$90);
651
- _v$91 !== _p$.d && className(_el$122, _p$.d = _v$91);
652
- _v$92 !== _p$.l && className(_el$123, _p$.l = _v$92);
653
- _v$93 !== _p$.u && className(_el$124, _p$.u = _v$93);
654
- _v$94 !== _p$.c && className(_el$125, _p$.c = _v$94);
655
- _v$95 !== _p$.w && className(_el$126, _p$.w = _v$95);
656
- _v$96 !== _p$.m && className(_el$127, _p$.m = _v$96);
657
- _v$97 !== _p$.f && className(_el$128, _p$.f = _v$97);
658
- _v$98 !== _p$.y && className(_el$129, _p$.y = _v$98);
659
- _v$99 !== _p$.g && className(_el$131, _p$.g = _v$99);
660
- _v$100 !== _p$.p && className(_el$132, _p$.p = _v$100);
661
- _v$101 !== _p$.b && className(_el$133, _p$.b = _v$101);
662
- _v$102 !== _p$.T && className(_el$134, _p$.T = _v$102);
663
- _v$103 !== _p$.A && className(_el$135, _p$.A = _v$103);
664
- _v$104 !== _p$.O && className(_el$136, _p$.O = _v$104);
665
- _v$105 !== _p$.I && className(_el$140, _p$.I = _v$105);
666
- _v$106 !== _p$.S && className(_el$141, _p$.S = _v$106);
667
- _v$107 !== _p$.W && className(_el$142, _p$.W = _v$107);
668
- _v$108 !== _p$.C && className(_el$143, _p$.C = _v$108);
669
- _v$109 !== _p$.B && className(_el$144, _p$.B = _v$109);
670
- _v$110 !== _p$.v && className(_el$145, _p$.v = _v$110);
671
- _v$111 !== _p$.k && className(_el$147, _p$.k = _v$111);
672
- _v$112 !== _p$.x && className(_el$148, _p$.x = _v$112);
673
- _v$113 !== _p$.j && className(_el$149, _p$.j = _v$113);
674
- _v$114 !== _p$.q && className(_el$150, _p$.q = _v$114);
675
- _v$115 !== _p$.z && className(_el$151, _p$.z = _v$115);
676
- _v$116 !== _p$.P && className(_el$152, _p$.P = _v$116);
677
- _v$117 !== _p$.H && className(_el$153, _p$.H = _v$117);
678
- _v$118 !== _p$.F && className(_el$154, _p$.F = _v$118);
679
- _v$119 !== _p$.M && className(_el$155, _p$.M = _v$119);
680
- _v$120 !== _p$.D && className(_el$156, _p$.D = _v$120);
681
- _v$121 !== _p$.R && className(_el$157, _p$.R = _v$121);
682
- _v$122 !== _p$.E && className(_el$158, _p$.E = _v$122);
693
+ var _v$85 = styles().detailsGrid, _v$86 = styles().detailSection, _v$87 = styles().detailSectionHeader, _v$88 = styles().keyBreakdown, _v$89 = styles().keyBreakdownSubHeader, _v$90 = styles().detailSection, _v$91 = styles().detailSectionHeader, _v$92 = styles().detailSection, _v$93 = styles().detailSectionHeader, _v$94 = styles().optionRow, _v$95 = styles().optionLabel, _v$96 = styles().optionValue, _v$97 = styles().optionRow, _v$98 = styles().optionLabel, _v$99 = styles().optionValue, _v$100 = styles().detailSection, _v$101 = styles().detailSectionHeader, _v$102 = styles().optionRow, _v$103 = styles().optionLabel, _v$104 = liveReg().options.enabled !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$105 = styles().optionRow, _v$106 = styles().optionLabel, _v$107 = styles().optionValue, _v$108 = styles().optionRow, _v$109 = styles().optionLabel, _v$110 = styles().optionValue, _v$111 = styles().optionRow, _v$112 = styles().optionLabel, _v$113 = styles().optionValue, _v$114 = styles().optionRow, _v$115 = styles().optionLabel, _v$116 = liveReg().options.preventDefault ? styles().optionValueTrue : styles().optionValueFalse, _v$117 = styles().optionRow, _v$118 = styles().optionLabel, _v$119 = liveReg().options.stopPropagation ? styles().optionValueTrue : styles().optionValueFalse, _v$120 = styles().optionRow, _v$121 = styles().optionLabel, _v$122 = liveReg().options.ignoreInputs !== false ? styles().optionValueTrue : styles().optionValueFalse, _v$123 = styles().optionRow, _v$124 = styles().optionLabel, _v$125 = styles().optionValue;
694
+ _v$85 !== _p$.e && className(_el$119, _p$.e = _v$85);
695
+ _v$86 !== _p$.t && className(_el$120, _p$.t = _v$86);
696
+ _v$87 !== _p$.a && className(_el$121, _p$.a = _v$87);
697
+ _v$88 !== _p$.o && className(_el$122, _p$.o = _v$88);
698
+ _v$89 !== _p$.i && className(_el$123, _p$.i = _v$89);
699
+ _v$90 !== _p$.n && className(_el$124, _p$.n = _v$90);
700
+ _v$91 !== _p$.s && className(_el$125, _p$.s = _v$91);
701
+ _v$92 !== _p$.h && className(_el$126, _p$.h = _v$92);
702
+ _v$93 !== _p$.r && className(_el$127, _p$.r = _v$93);
703
+ _v$94 !== _p$.d && className(_el$129, _p$.d = _v$94);
704
+ _v$95 !== _p$.l && className(_el$130, _p$.l = _v$95);
705
+ _v$96 !== _p$.u && className(_el$131, _p$.u = _v$96);
706
+ _v$97 !== _p$.c && className(_el$132, _p$.c = _v$97);
707
+ _v$98 !== _p$.w && className(_el$133, _p$.w = _v$98);
708
+ _v$99 !== _p$.m && className(_el$134, _p$.m = _v$99);
709
+ _v$100 !== _p$.f && className(_el$135, _p$.f = _v$100);
710
+ _v$101 !== _p$.y && className(_el$136, _p$.y = _v$101);
711
+ _v$102 !== _p$.g && className(_el$138, _p$.g = _v$102);
712
+ _v$103 !== _p$.p && className(_el$139, _p$.p = _v$103);
713
+ _v$104 !== _p$.b && className(_el$140, _p$.b = _v$104);
714
+ _v$105 !== _p$.T && className(_el$141, _p$.T = _v$105);
715
+ _v$106 !== _p$.A && className(_el$142, _p$.A = _v$106);
716
+ _v$107 !== _p$.O && className(_el$143, _p$.O = _v$107);
717
+ _v$108 !== _p$.I && className(_el$147, _p$.I = _v$108);
718
+ _v$109 !== _p$.S && className(_el$148, _p$.S = _v$109);
719
+ _v$110 !== _p$.W && className(_el$149, _p$.W = _v$110);
720
+ _v$111 !== _p$.C && className(_el$150, _p$.C = _v$111);
721
+ _v$112 !== _p$.B && className(_el$151, _p$.B = _v$112);
722
+ _v$113 !== _p$.v && className(_el$152, _p$.v = _v$113);
723
+ _v$114 !== _p$.k && className(_el$154, _p$.k = _v$114);
724
+ _v$115 !== _p$.x && className(_el$155, _p$.x = _v$115);
725
+ _v$116 !== _p$.j && className(_el$156, _p$.j = _v$116);
726
+ _v$117 !== _p$.q && className(_el$157, _p$.q = _v$117);
727
+ _v$118 !== _p$.z && className(_el$158, _p$.z = _v$118);
728
+ _v$119 !== _p$.P && className(_el$159, _p$.P = _v$119);
729
+ _v$120 !== _p$.H && className(_el$160, _p$.H = _v$120);
730
+ _v$121 !== _p$.F && className(_el$161, _p$.F = _v$121);
731
+ _v$122 !== _p$.M && className(_el$162, _p$.M = _v$122);
732
+ _v$123 !== _p$.D && className(_el$163, _p$.D = _v$123);
733
+ _v$124 !== _p$.R && className(_el$164, _p$.R = _v$124);
734
+ _v$125 !== _p$.E && className(_el$165, _p$.E = _v$125);
683
735
  return _p$;
684
736
  }, {
685
737
  e: void 0,
@@ -724,7 +776,7 @@ function SequenceDetails(props) {
724
776
  R: void 0,
725
777
  E: void 0
726
778
  });
727
- return _el$112;
779
+ return _el$119;
728
780
  })()];
729
781
  }
730
782
  function AppHotkeyDetails(props) {
@@ -732,43 +784,43 @@ function AppHotkeyDetails(props) {
732
784
  const appHotkey = () => props.item.appHotkey;
733
785
  const format = (hotkey) => hotkey ? formatForDisplay(hotkey, { sequenceSeparator: " → " }) : "Unassigned";
734
786
  const row = (label, value) => (() => {
735
- var _el$209 = _tmpl$2(), _el$210 = _el$209.firstChild, _el$211 = _el$210.nextSibling;
736
- insert(_el$210, label);
737
- insert(_el$211, value);
787
+ var _el$216 = _tmpl$2(), _el$217 = _el$216.firstChild, _el$218 = _el$217.nextSibling;
788
+ insert(_el$217, label);
789
+ insert(_el$218, value);
738
790
  effect((_p$) => {
739
- var _v$133 = styles().optionRow, _v$134 = styles().optionLabel, _v$135 = styles().optionValue;
740
- _v$133 !== _p$.e && className(_el$209, _p$.e = _v$133);
741
- _v$134 !== _p$.t && className(_el$210, _p$.t = _v$134);
742
- _v$135 !== _p$.a && className(_el$211, _p$.a = _v$135);
791
+ var _v$136 = styles().optionRow, _v$137 = styles().optionLabel, _v$138 = styles().optionValue;
792
+ _v$136 !== _p$.e && className(_el$216, _p$.e = _v$136);
793
+ _v$137 !== _p$.t && className(_el$217, _p$.t = _v$137);
794
+ _v$138 !== _p$.a && className(_el$218, _p$.a = _v$138);
743
795
  return _p$;
744
796
  }, {
745
797
  e: void 0,
746
798
  t: void 0,
747
799
  a: void 0
748
800
  });
749
- return _el$209;
801
+ return _el$216;
750
802
  })();
751
803
  return [(() => {
752
- var _el$212 = _tmpl$13(), _el$213 = _el$212.firstChild, _el$214 = _el$213.nextSibling, _el$215 = _el$214.firstChild, _el$216 = _el$215.nextSibling, _el$217 = _el$216.nextSibling, _el$218 = _el$217.nextSibling, _el$219 = _el$218.nextSibling, _el$220 = _el$219.nextSibling, _el$221 = _el$220.nextSibling, _el$222 = _el$221.nextSibling;
753
- insert(_el$213, () => format(appHotkey().hotkey));
754
- insert(_el$216, () => appHotkey().id);
755
- insert(_el$218, () => props.item.status);
756
- insert(_el$220, () => format(appHotkey().defaultHotkey), null);
757
- insert(_el$220, () => props.item.isCustom ? " (customized)" : "", null);
758
- insert(_el$222, () => appHotkey().scope ?? "global");
804
+ var _el$219 = _tmpl$14(), _el$220 = _el$219.firstChild, _el$221 = _el$220.nextSibling, _el$222 = _el$221.firstChild, _el$223 = _el$222.nextSibling, _el$224 = _el$223.nextSibling, _el$225 = _el$224.nextSibling, _el$226 = _el$225.nextSibling, _el$227 = _el$226.nextSibling, _el$228 = _el$227.nextSibling, _el$229 = _el$228.nextSibling;
805
+ insert(_el$220, () => format(appHotkey().hotkey));
806
+ insert(_el$223, () => appHotkey().id);
807
+ insert(_el$225, () => props.item.status);
808
+ insert(_el$227, () => format(appHotkey().defaultHotkey), null);
809
+ insert(_el$227, () => props.item.isCustom ? " (customized)" : "", null);
810
+ insert(_el$229, () => appHotkey().scope ?? "global");
759
811
  effect((_p$) => {
760
- var _v$136 = styles().stateHeader, _v$137 = styles().stateTitle, _v$138 = styles().infoGrid, _v$139 = styles().infoLabel, _v$140 = styles().infoValueMono, _v$141 = styles().infoLabel, _v$142 = styles().infoValueMono, _v$143 = styles().infoLabel, _v$144 = styles().infoValueMono, _v$145 = styles().infoLabel, _v$146 = styles().infoValueMono;
761
- _v$136 !== _p$.e && className(_el$212, _p$.e = _v$136);
762
- _v$137 !== _p$.t && className(_el$213, _p$.t = _v$137);
763
- _v$138 !== _p$.a && className(_el$214, _p$.a = _v$138);
764
- _v$139 !== _p$.o && className(_el$215, _p$.o = _v$139);
765
- _v$140 !== _p$.i && className(_el$216, _p$.i = _v$140);
766
- _v$141 !== _p$.n && className(_el$217, _p$.n = _v$141);
767
- _v$142 !== _p$.s && className(_el$218, _p$.s = _v$142);
768
- _v$143 !== _p$.h && className(_el$219, _p$.h = _v$143);
769
- _v$144 !== _p$.r && className(_el$220, _p$.r = _v$144);
770
- _v$145 !== _p$.d && className(_el$221, _p$.d = _v$145);
771
- _v$146 !== _p$.l && className(_el$222, _p$.l = _v$146);
812
+ var _v$139 = styles().stateHeader, _v$140 = styles().stateTitle, _v$141 = styles().infoGrid, _v$142 = styles().infoLabel, _v$143 = styles().infoValueMono, _v$144 = styles().infoLabel, _v$145 = styles().infoValueMono, _v$146 = styles().infoLabel, _v$147 = styles().infoValueMono, _v$148 = styles().infoLabel, _v$149 = styles().infoValueMono;
813
+ _v$139 !== _p$.e && className(_el$219, _p$.e = _v$139);
814
+ _v$140 !== _p$.t && className(_el$220, _p$.t = _v$140);
815
+ _v$141 !== _p$.a && className(_el$221, _p$.a = _v$141);
816
+ _v$142 !== _p$.o && className(_el$222, _p$.o = _v$142);
817
+ _v$143 !== _p$.i && className(_el$223, _p$.i = _v$143);
818
+ _v$144 !== _p$.n && className(_el$224, _p$.n = _v$144);
819
+ _v$145 !== _p$.s && className(_el$225, _p$.s = _v$145);
820
+ _v$146 !== _p$.h && className(_el$226, _p$.h = _v$146);
821
+ _v$147 !== _p$.r && className(_el$227, _p$.r = _v$147);
822
+ _v$148 !== _p$.d && className(_el$228, _p$.d = _v$148);
823
+ _v$149 !== _p$.l && className(_el$229, _p$.l = _v$149);
772
824
  return _p$;
773
825
  }, {
774
826
  e: void 0,
@@ -783,16 +835,27 @@ function AppHotkeyDetails(props) {
783
835
  d: void 0,
784
836
  l: void 0
785
837
  });
786
- return _el$212;
838
+ return _el$219;
787
839
  })(), (() => {
788
- var _el$223 = _tmpl$14(), _el$224 = _el$223.firstChild, _el$225 = _el$224.firstChild, _el$226 = _el$225.nextSibling, _el$227 = _el$224.nextSibling, _el$228 = _el$227.firstChild, _el$229 = _el$228.nextSibling;
789
- insert(_el$226, createComponent(For, {
840
+ var _el$230 = _tmpl$15(), _el$231 = _el$230.firstChild, _el$232 = _el$231.firstChild, _el$233 = _el$232.nextSibling, _el$234 = _el$231.nextSibling, _el$235 = _el$234.firstChild, _el$236 = _el$235.nextSibling;
841
+ insert(_el$230, createComponent(Show, {
842
+ get when() {
843
+ return appHotkey().hotkey;
844
+ },
845
+ children: (hotkey) => createComponent(IssuesSection, {
846
+ get hotkey() {
847
+ return hotkey();
848
+ },
849
+ styles
850
+ })
851
+ }), _el$231);
852
+ insert(_el$233, createComponent(For, {
790
853
  get each() {
791
854
  return Object.entries(appHotkey().meta ?? {});
792
855
  },
793
856
  children: ([key, value]) => row(key, String(value))
794
857
  }), null);
795
- insert(_el$226, createComponent(Show, {
858
+ insert(_el$233, createComponent(Show, {
796
859
  get when() {
797
860
  return !appHotkey().meta;
798
861
  },
@@ -800,13 +863,13 @@ function AppHotkeyDetails(props) {
800
863
  return row("meta", "—");
801
864
  }
802
865
  }), null);
803
- insert(_el$229, createComponent(For, {
866
+ insert(_el$236, createComponent(For, {
804
867
  get each() {
805
868
  return Object.entries(appHotkey().options ?? {});
806
869
  },
807
870
  children: ([key, value]) => row(key, String(value))
808
871
  }), null);
809
- insert(_el$229, createComponent(Show, {
872
+ insert(_el$236, createComponent(Show, {
810
873
  get when() {
811
874
  return !appHotkey().options;
812
875
  },
@@ -815,12 +878,12 @@ function AppHotkeyDetails(props) {
815
878
  }
816
879
  }), null);
817
880
  effect((_p$) => {
818
- var _v$147 = styles().detailsGrid, _v$148 = styles().detailSection, _v$149 = styles().detailSectionHeader, _v$150 = styles().detailSection, _v$151 = styles().detailSectionHeader;
819
- _v$147 !== _p$.e && className(_el$223, _p$.e = _v$147);
820
- _v$148 !== _p$.t && className(_el$224, _p$.t = _v$148);
821
- _v$149 !== _p$.a && className(_el$225, _p$.a = _v$149);
822
- _v$150 !== _p$.o && className(_el$227, _p$.o = _v$150);
823
- _v$151 !== _p$.i && className(_el$228, _p$.i = _v$151);
881
+ var _v$150 = styles().detailsGrid, _v$151 = styles().detailSection, _v$152 = styles().detailSectionHeader, _v$153 = styles().detailSection, _v$154 = styles().detailSectionHeader;
882
+ _v$150 !== _p$.e && className(_el$230, _p$.e = _v$150);
883
+ _v$151 !== _p$.t && className(_el$231, _p$.t = _v$151);
884
+ _v$152 !== _p$.a && className(_el$232, _p$.a = _v$152);
885
+ _v$153 !== _p$.o && className(_el$234, _p$.o = _v$153);
886
+ _v$154 !== _p$.i && className(_el$235, _p$.i = _v$154);
824
887
  return _p$;
825
888
  }, {
826
889
  e: void 0,
@@ -829,7 +892,7 @@ function AppHotkeyDetails(props) {
829
892
  o: void 0,
830
893
  i: void 0
831
894
  });
832
- return _el$223;
895
+ return _el$230;
833
896
  })()];
834
897
  }
835
898
  function DetailsPanel(props) {
@@ -849,17 +912,17 @@ function DetailsPanel(props) {
849
912
  return selection?.type === "registration" ? selection.registration : void 0;
850
913
  };
851
914
  return (() => {
852
- var _el$230 = _tmpl$();
853
- insert(_el$230, createComponent(Show, {
915
+ var _el$237 = _tmpl$();
916
+ insert(_el$237, createComponent(Show, {
854
917
  get when() {
855
918
  return selectionKey();
856
919
  },
857
920
  keyed: true,
858
921
  get fallback() {
859
922
  return (() => {
860
- var _el$231 = _tmpl$15();
861
- effect(() => className(_el$231, styles().noSelection));
862
- return _el$231;
923
+ var _el$238 = _tmpl$16();
924
+ effect(() => className(_el$238, styles().noSelection));
925
+ return _el$238;
863
926
  })();
864
927
  },
865
928
  children: (key) => key.startsWith("app:") ? createComponent(AppHotkeyDetails, {
@@ -882,10 +945,9 @@ function DetailsPanel(props) {
882
945
  styles
883
946
  })
884
947
  }));
885
- effect(() => className(_el$230, styles().stateDetails));
886
- return _el$230;
948
+ effect(() => className(_el$237, styles().stateDetails));
949
+ return _el$237;
887
950
  })();
888
951
  }
889
952
 
890
- //#endregion
891
953
  export { DetailsPanel };