@elmethis/qwik 1.0.0-alpha.24 → 1.0.0-alpha.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (70) hide show
  1. package/lib/index.qwik.cjs +723 -819
  2. package/lib/index.qwik.mjs +721 -817
  3. package/lib/q-manifest.json +5 -7
  4. package/lib/style.css +332 -365
  5. package/lib-types/components/ag-ui-client/elm-ag-ui-message-renderer.spec.d.ts +1 -0
  6. package/lib-types/components/ag-ui-client/elm-ag-ui-prompt-picker.browser.spec.d.ts +1 -0
  7. package/lib-types/components/ag-ui-client/elm-ag-ui-tool-execution.spec.d.ts +1 -0
  8. package/lib-types/components/ag-ui-client/input-content/elm-ag-ui-input-content.spec.d.ts +1 -0
  9. package/lib-types/components/code/elm-code-block.spec.d.ts +1 -0
  10. package/lib-types/components/code/elm-katex.spec.d.ts +1 -0
  11. package/lib-types/components/code/elm-shiki-highlighter.spec.d.ts +1 -0
  12. package/lib-types/components/containments/elm-modal.browser.spec.d.ts +1 -0
  13. package/lib-types/components/containments/elm-modal.d.ts +6 -0
  14. package/lib-types/components/containments/elm-modal.spec.d.ts +1 -0
  15. package/lib-types/components/containments/elm-parallax.spec.d.ts +1 -0
  16. package/lib-types/components/containments/elm-toggle.browser.spec.d.ts +1 -0
  17. package/lib-types/components/containments/elm-toggle.spec.d.ts +1 -0
  18. package/lib-types/components/containments/elm-tooltip.browser.spec.d.ts +1 -0
  19. package/lib-types/components/containments/elm-tooltip.spec.d.ts +1 -0
  20. package/lib-types/components/fallback/elm-block-fallback.spec.d.ts +1 -0
  21. package/lib-types/components/fallback/elm-rectangle-wave.spec.d.ts +1 -0
  22. package/lib-types/components/fallback/elm-unsupported-block.spec.d.ts +1 -0
  23. package/lib-types/components/form/elm-button.d.ts +1 -1
  24. package/lib-types/components/form/elm-button.spec.d.ts +1 -0
  25. package/lib-types/components/form/elm-checkbox.d.ts +2 -2
  26. package/lib-types/components/form/elm-checkbox.spec.d.ts +1 -0
  27. package/lib-types/components/form/elm-select.browser.spec.d.ts +1 -0
  28. package/lib-types/components/form/elm-select.d.ts +1 -1
  29. package/lib-types/components/form/elm-switch.spec.d.ts +1 -0
  30. package/lib-types/components/form/elm-text-area.d.ts +1 -1
  31. package/lib-types/components/form/elm-text-area.spec.d.ts +1 -0
  32. package/lib-types/components/form/elm-text-field.d.ts +1 -1
  33. package/lib-types/components/form/elm-text-field.spec.d.ts +1 -0
  34. package/lib-types/components/form/elm-validation.spec.d.ts +1 -0
  35. package/lib-types/components/icon/elm-copy-icon.spec.d.ts +1 -0
  36. package/lib-types/components/icon/elm-dot-loading-icon.spec.d.ts +1 -0
  37. package/lib-types/components/icon/elm-inline-icon.spec.d.ts +1 -0
  38. package/lib-types/components/icon/elm-language-icon.spec.d.ts +1 -0
  39. package/lib-types/components/icon/elm-mdi-icon.spec.d.ts +1 -0
  40. package/lib-types/components/icon/elm-square-loading-icon.spec.d.ts +1 -0
  41. package/lib-types/components/icon/elm-toggle-theme.spec.d.ts +1 -0
  42. package/lib-types/components/media/elm-block-image.browser.spec.d.ts +1 -0
  43. package/lib-types/components/media/elm-block-image.spec.d.ts +1 -0
  44. package/lib-types/components/media/elm-file.spec.d.ts +1 -0
  45. package/lib-types/components/navigation/elm-bookmark.spec.d.ts +1 -0
  46. package/lib-types/components/navigation/elm-breadcrumb.spec.d.ts +1 -0
  47. package/lib-types/components/navigation/elm-page-top.spec.d.ts +1 -0
  48. package/lib-types/components/others/elm-color-primitive-sample.spec.d.ts +1 -0
  49. package/lib-types/components/others/elm-color-semantic-sample.spec.d.ts +1 -0
  50. package/lib-types/components/others/elm-jarkup.spec.d.ts +1 -0
  51. package/lib-types/components/others/elm-markdown.d.ts +1 -1
  52. package/lib-types/components/others/elm-markdown.spec.d.ts +1 -0
  53. package/lib-types/components/others/use-wordle.browser.spec.d.ts +1 -0
  54. package/lib-types/components/table/elm-table-composition.spec.d.ts +1 -0
  55. package/lib-types/components/typography/elm-block-quote.spec.d.ts +1 -0
  56. package/lib-types/components/typography/elm-callout.spec.d.ts +1 -0
  57. package/lib-types/components/typography/elm-divider.spec.d.ts +1 -0
  58. package/lib-types/components/typography/elm-fragment-identifier.spec.d.ts +1 -0
  59. package/lib-types/components/typography/elm-heading.spec.d.ts +1 -0
  60. package/lib-types/components/typography/elm-inline-text.spec.d.ts +1 -0
  61. package/lib-types/components/typography/elm-list.spec.d.ts +1 -0
  62. package/lib-types/components/typography/elm-paragraph.spec.d.ts +1 -0
  63. package/lib-types/hooks/use-auto-animate.browser.spec.d.ts +1 -0
  64. package/lib-types/hooks/use-clipboard.browser.spec.d.ts +1 -0
  65. package/lib-types/hooks/use-elmethis-theme.browser.spec.d.ts +1 -0
  66. package/lib-types/hooks/use-modal.browser.spec.d.ts +1 -0
  67. package/lib-types/hooks/use-modal.d.ts +5 -10
  68. package/lib-types/hooks/use-storage.browser.spec.d.ts +1 -0
  69. package/lib-types/index.d.ts +0 -1
  70. package/package.json +13 -5
@@ -20,25 +20,25 @@ import { zodToJsonSchema } from "zod-to-json-schema";
20
20
  import { v7 } from "uuid";
21
21
  import autoAnimate from "@formkit/auto-animate";
22
22
  import { cloneDeep, isEqual, kebabCase } from "es-toolkit";
23
- const tab = "_tab_4ntkf_14";
24
- const active$3 = "_active_4ntkf_38";
25
- const styles$U = {
26
- "elm-tabs": "_elm-tabs_4ntkf_1",
27
- "tab-container": "_tab-container_4ntkf_14",
23
+ const tab = "_tab_1fco0_14";
24
+ const active$3 = "_active_1fco0_37";
25
+ const styles$T = {
26
+ "elm-tabs": "_elm-tabs_1fco0_1",
27
+ "tab-container": "_tab-container_1fco0_14",
28
28
  tab,
29
29
  active: active$3,
30
- "tab-content": "_tab-content_4ntkf_49",
31
- "tab-content-inner": "_tab-content-inner_4ntkf_54"
30
+ "tab-content": "_tab-content_1fco0_48",
31
+ "tab-content-inner": "_tab-content-inner_1fco0_53"
32
32
  };
33
33
  const row$2 = "_row_12wiu_5";
34
- const open$2 = "_open_12wiu_11";
34
+ const open$1 = "_open_12wiu_11";
35
35
  const column$2 = "_column_12wiu_16";
36
36
  const both = "_both_12wiu_27";
37
37
  const inner = "_inner_12wiu_44";
38
- const styles$T = {
38
+ const styles$S = {
39
39
  "elm-collapse": "_elm-collapse_12wiu_1",
40
40
  row: row$2,
41
- open: open$2,
41
+ open: open$1,
42
42
  column: column$2,
43
43
  both,
44
44
  inner
@@ -55,12 +55,12 @@ const ElmCollapse = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_ra
55
55
  ]);
56
56
  return /* @__PURE__ */ _jsxSplit("div", {
57
57
  class: [
58
- styles$T["elm-collapse"],
58
+ styles$S["elm-collapse"],
59
59
  {
60
- [styles$T["open"]]: _rawProps.isOpen,
61
- [styles$T["row"]]: (_rawProps.direction ?? "row") === "row",
62
- [styles$T["column"]]: (_rawProps.direction ?? "row") === "column",
63
- [styles$T["both"]]: (_rawProps.direction ?? "row") === "both"
60
+ [styles$S["open"]]: _rawProps.isOpen,
61
+ [styles$S["row"]]: (_rawProps.direction ?? "row") === "row",
62
+ [styles$S["column"]]: (_rawProps.direction ?? "row") === "column",
63
+ [styles$S["both"]]: (_rawProps.direction ?? "row") === "both"
64
64
  },
65
65
  _rawProps.class
66
66
  ],
@@ -69,7 +69,7 @@ const ElmCollapse = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_ra
69
69
  ]),
70
70
  ..._getVarProps(props)
71
71
  }, _getConstProps(props), /* @__PURE__ */ _jsxSorted("div", null, {
72
- class: styles$T["inner"]
72
+ class: styles$S["inner"]
73
73
  }, /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "iE_0"), 1, null), 0, "iE_1");
74
74
  }, "ElmCollapse_component_P0XF5bWlJxw"));
75
75
  function useBindableSignal({ signal, defaultValue }) {
@@ -95,7 +95,7 @@ const ElmTabs = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
95
95
  });
96
96
  return /* @__PURE__ */ _jsxSplit("div", {
97
97
  class: [
98
- styles$U["elm-tabs"],
98
+ styles$T["elm-tabs"],
99
99
  props.class
100
100
  ],
101
101
  ..._getVarProps(rest)
@@ -107,7 +107,7 @@ const ElmTabList = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_raw
107
107
  ]);
108
108
  return /* @__PURE__ */ _jsxSplit("div", {
109
109
  class: [
110
- styles$U["tab-container"],
110
+ styles$T["tab-container"],
111
111
  _rawProps.class
112
112
  ],
113
113
  ..._getVarProps(rest)
@@ -128,9 +128,9 @@ const ElmTab = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) =
128
128
  ]);
129
129
  return /* @__PURE__ */ _jsxSplit("div", {
130
130
  class: [
131
- styles$U["tab"],
131
+ styles$T["tab"],
132
132
  {
133
- [styles$U["active"]]: ctx.selectedValue.value === props.value
133
+ [styles$T["active"]]: ctx.selectedValue.value === props.value
134
134
  },
135
135
  props.class
136
136
  ],
@@ -146,7 +146,7 @@ const ElmTabPanel = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
146
146
  const ctx = useContext(ElmTabsContext);
147
147
  return /* @__PURE__ */ _jsxSplit("div", {
148
148
  class: [
149
- styles$U["tab-content"],
149
+ styles$T["tab-content"],
150
150
  props.class
151
151
  ],
152
152
  ..._getVarProps(rest)
@@ -158,33 +158,31 @@ const ElmTabPanel = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
158
158
  ]),
159
159
  transitionTimingFunction: _wrapProp(ctx, "transitionTimingFunction")
160
160
  }, /* @__PURE__ */ _jsxSorted("div", null, {
161
- class: styles$U["tab-content-inner"]
161
+ class: styles$T["tab-content-inner"]
162
162
  }, /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "lK_6"), 1, null), 1, "lK_7"), 0, "lK_8");
163
163
  }, "ElmTabPanel_component_4GhH207NkRY"));
164
- const h1 = "_h1_tvnol_13";
165
- const h2 = "_h2_tvnol_35";
166
- const h2__underline = "_h2__underline_tvnol_61";
167
- const h3 = "_h3_tvnol_72";
168
- const h4 = "_h4_tvnol_87";
169
- const h5 = "_h5_tvnol_91";
170
- const h6 = "_h6_tvnol_95";
171
- const styles$S = {
172
- "heading-common": "_heading-common_tvnol_1",
164
+ const h1 = "_h1_9vw8y_13";
165
+ const h2 = "_h2_9vw8y_35";
166
+ const h3 = "_h3_9vw8y_72";
167
+ const h4 = "_h4_9vw8y_87";
168
+ const h5 = "_h5_9vw8y_91";
169
+ const h6 = "_h6_9vw8y_95";
170
+ const styles$R = {
171
+ "elm-heading": "_elm-heading_9vw8y_1",
173
172
  h1,
174
173
  h2,
175
- h2__underline,
174
+ "h2-underline": "_h2-underline_9vw8y_61",
176
175
  h3,
177
176
  h4,
178
177
  h5,
179
178
  h6
180
179
  };
181
- const text$3 = "_text_zme4t_1";
180
+ const text$2 = "_text_zme4t_1";
182
181
  const textStyles = {
183
- text: text$3
182
+ text: text$2
184
183
  };
185
- const fragment = "_fragment_mrfz3_1";
186
- const styles$R = {
187
- fragment
184
+ const styles$Q = {
185
+ "elm-fragment-identifier": "_elm-fragment-identifier_xb2v4_1"
188
186
  };
189
187
  const ElmFragmentIdentifier = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
190
188
  const props = _restProps(_rawProps, [
@@ -204,7 +202,7 @@ const ElmFragmentIdentifier = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlin
204
202
  }, "ElmFragmentIdentifier_component_handleHashClick_0I1su3qeCsY");
205
203
  return /* @__PURE__ */ _jsxSplit("span", {
206
204
  class: [
207
- styles$R.fragment,
205
+ styles$Q["elm-fragment-identifier"],
208
206
  _rawProps.class
209
207
  ],
210
208
  "q-e:click": /* @__PURE__ */ inlinedQrl((_, _1, _rawProps2, handleHashClick2) => handleHashClick2(_rawProps2.id), "ElmFragmentIdentifier_component_span_q_e_click_acZZ1kAS1Ek"),
@@ -234,9 +232,9 @@ const ElmHeading = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_raw
234
232
  const Tag = `h${_rawProps.level}`;
235
233
  return /* @__PURE__ */ _jsxSplit(Tag, {
236
234
  class: [
237
- styles$S["heading-common"],
235
+ styles$R["elm-heading"],
238
236
  textStyles.text,
239
- styles$S[`h${_rawProps.level}`],
237
+ styles$R[`h${_rawProps.level}`],
240
238
  _rawProps.class
241
239
  ],
242
240
  style: {
@@ -256,24 +254,22 @@ const ElmHeading = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_raw
256
254
  id: _wrapProp(_rawProps, "id")
257
255
  }, null, 3, "sL_1"), 1, "sL_2"),
258
256
  _rawProps.level === 2 && /* @__PURE__ */ _jsxSorted("span", null, {
259
- class: styles$S["h2__underline"],
257
+ class: styles$R["h2-underline"],
260
258
  "aria-hidden": "true"
261
259
  }, null, 3, "sL_3")
262
260
  ], 0, "sL_4");
263
261
  }, "ElmHeading_component_O0GozTFBBog"));
264
- const text$2 = "_text_1yr55_1";
265
- const code$2 = "_code_1yr55_13";
266
- const kbd = "_kbd_1yr55_25";
267
- const link$1 = "_link_1yr55_59";
268
- const styles$Q = {
269
- text: text$2,
270
- code: code$2,
262
+ const code$1 = "_code_uf3sg_13";
263
+ const kbd = "_kbd_uf3sg_25";
264
+ const link$1 = "_link_uf3sg_58";
265
+ const styles$P = {
266
+ "elm-inline-text": "_elm-inline-text_uf3sg_1",
267
+ code: code$1,
271
268
  kbd,
272
269
  link: link$1
273
270
  };
274
- const icon$7 = "_icon_g4tb3_1";
275
- const styles$P = {
276
- icon: icon$7
271
+ const styles$O = {
272
+ "elm-inline-icon": "_elm-inline-icon_1qs0i_1"
277
273
  };
278
274
  const _hf0$Q = (p0) => p0.width ?? p0.size ?? 16;
279
275
  const _hf1$i = (p0) => p0.height ?? p0.size ?? 16;
@@ -288,7 +284,7 @@ const ElmInlineIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
288
284
  ]);
289
285
  return /* @__PURE__ */ _jsxSplit("span", {
290
286
  class: [
291
- styles$P.icon,
287
+ styles$O["elm-inline-icon"],
292
288
  _rawProps.class
293
289
  ],
294
290
  ..._getVarProps(props)
@@ -302,7 +298,7 @@ const ElmInlineIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
302
298
  _rawProps
303
299
  ])
304
300
  }, {
305
- class: styles$P.icon
301
+ class: styles$O["elm-inline-icon"]
306
302
  }, null, 3, null), 0, "D4_0");
307
303
  }, "ElmInlineIcon_component_9LkENpSGozA"));
308
304
  const _hf0$P = (p0) => ({
@@ -333,7 +329,7 @@ const ElmInlineText = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
333
329
  vnode = /* @__PURE__ */ _jsxSorted("a", {
334
330
  href: _wrapProp(_rawProps, "href")
335
331
  }, {
336
- class: styles$Q.link,
332
+ class: styles$P.link,
337
333
  target: "_blank",
338
334
  rel: "noopener noreferrer"
339
335
  }, [
@@ -345,18 +341,18 @@ const ElmInlineText = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
345
341
  ], 1, "7t_2");
346
342
  }
347
343
  if (_rawProps.kbd ?? false) vnode = /* @__PURE__ */ _jsxSorted("kbd", null, {
348
- class: styles$Q.kbd
344
+ class: styles$P.kbd
349
345
  }, vnode, 1, "7t_3");
350
346
  if (_rawProps.strikethrough ?? false) vnode = /* @__PURE__ */ _jsxSorted("del", null, null, vnode, 1, "7t_4");
351
347
  if (_rawProps.italic ?? false) vnode = /* @__PURE__ */ _jsxSorted("em", null, null, vnode, 1, "7t_5");
352
348
  if (_rawProps.underline ?? false) vnode = /* @__PURE__ */ _jsxSorted("ins", null, null, vnode, 1, "7t_6");
353
349
  if (_rawProps.bold ?? false) vnode = /* @__PURE__ */ _jsxSorted("strong", null, null, vnode, 1, "7t_7");
354
350
  if (_rawProps.code ?? false) vnode = /* @__PURE__ */ _jsxSorted("code", null, {
355
- class: styles$Q.code
351
+ class: styles$P.code
356
352
  }, vnode, 1, "7t_8");
357
353
  if (_rawProps.ruby) {
358
354
  vnode = /* @__PURE__ */ _jsxSorted("ruby", null, {
359
- class: styles$Q.text
355
+ class: styles$P["elm-inline-text"]
360
356
  }, [
361
357
  /* @__PURE__ */ _jsxSorted("span", null, null, vnode, 1, null),
362
358
  /* @__PURE__ */ _jsxSorted("rt", null, null, _wrapProp(_rawProps, "ruby"), 1, null)
@@ -364,7 +360,7 @@ const ElmInlineText = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
364
360
  }
365
361
  return /* @__PURE__ */ _jsxSplit("span", {
366
362
  class: [
367
- styles$Q.text,
363
+ styles$P["elm-inline-text"],
368
364
  textStyles.text,
369
365
  _rawProps.class
370
366
  ],
@@ -374,9 +370,8 @@ const ElmInlineText = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
374
370
  ..._getVarProps(rest)
375
371
  }, _getConstProps(rest), vnode, 0, "7t_10");
376
372
  }, "ElmInlineText_component_MdjKbLJ3SR0"));
377
- const paragraph = "_paragraph_gxg3e_1";
378
- const styles$O = {
379
- paragraph
373
+ const styles$N = {
374
+ "elm-paragraph": "_elm-paragraph_rbsk5_1"
380
375
  };
381
376
  const _hf0$O = (p0) => ({
382
377
  ...p0.style,
@@ -392,7 +387,7 @@ const ElmParagraph = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
392
387
  ]);
393
388
  return /* @__PURE__ */ _jsxSplit("p", {
394
389
  class: [
395
- styles$O.paragraph,
390
+ styles$N["elm-paragraph"],
396
391
  textStyles.text,
397
392
  _rawProps.class
398
393
  ],
@@ -406,10 +401,10 @@ const surface$1 = "_surface_4ps3c_5";
406
401
  const row$1 = "_row_4ps3c_47";
407
402
  const column$1 = "_column_4ps3c_53";
408
403
  const list = "_list_4ps3c_64";
409
- const card = "_card_4ps3c_81";
410
- const button$1 = "_button_4ps3c_91";
404
+ const card$1 = "_card_4ps3c_81";
405
+ const button = "_button_4ps3c_91";
411
406
  const image$3 = "_image_4ps3c_122";
412
- const icon$6 = "_icon_4ps3c_130";
407
+ const icon$4 = "_icon_4ps3c_130";
413
408
  const divider$2 = "_divider_4ps3c_139";
414
409
  const label$1 = "_label_4ps3c_161";
415
410
  const input$2 = "_input_4ps3c_167";
@@ -418,7 +413,7 @@ const slider = "_slider_4ps3c_192";
418
413
  const modal = "_modal_4ps3c_199";
419
414
  const video = "_video_4ps3c_209";
420
415
  const audio = "_audio_4ps3c_210";
421
- const styles$N = {
416
+ const styles$M = {
422
417
  "elm-a2ui": "_elm-a2ui_4ps3c_1",
423
418
  surface: surface$1,
424
419
  row: row$1,
@@ -427,11 +422,11 @@ const styles$N = {
427
422
  list,
428
423
  "list-horizontal": "_list-horizontal_4ps3c_71",
429
424
  "list-item": "_list-item_4ps3c_75",
430
- card,
431
- button: button$1,
425
+ card: card$1,
426
+ button,
432
427
  "button-primary": "_button-primary_4ps3c_110",
433
428
  image: image$3,
434
- icon: icon$6,
429
+ icon: icon$4,
435
430
  divider: divider$2,
436
431
  "divider-vertical": "_divider-vertical_4ps3c_145",
437
432
  "text-field": "_text-field_4ps3c_155",
@@ -555,28 +550,28 @@ const basicCatalog = new CatalogRenderer([
555
550
  alignItems: alignItemsMap[_rawProps.props.align ?? "center"]
556
551
  }
557
552
  }, {
558
- class: styles$N.row
553
+ class: styles$M.row
559
554
  }, _rawProps.childRefs(_rawProps.props.children).map(({ id, path: path2 }, i) => /* @__PURE__ */ _jsxSorted("span", null, {
560
- class: styles$N["child-wrap"]
555
+ class: styles$M["child-wrap"]
561
556
  }, _rawProps.renderChild(id, path2, i), 1, `${id}:${i}`)), 1, "Lh_3")),
562
557
  defineRenderer(ColumnApi, (_rawProps) => /* @__PURE__ */ _jsxSorted("div", null, {
563
- class: styles$N.column,
558
+ class: styles$M.column,
564
559
  style: {
565
560
  "--margin-block": "2rem"
566
561
  }
567
562
  }, _rawProps.childRefs(_rawProps.props.children).map(({ id, path: path2 }, i) => /* @__PURE__ */ _jsxSorted("span", null, {
568
- class: styles$N["child-wrap"]
563
+ class: styles$M["child-wrap"]
569
564
  }, _rawProps.renderChild(id, path2, i), 1, `${id}:${i}`)), 1, "Lh_4")),
570
565
  defineRenderer(ListApi, (_rawProps) => /* @__PURE__ */ _jsxSorted("div", {
571
566
  class: [
572
- styles$N.list,
573
- _rawProps.props.direction === "horizontal" && styles$N["list-horizontal"]
567
+ styles$M.list,
568
+ _rawProps.props.direction === "horizontal" && styles$M["list-horizontal"]
574
569
  ]
575
570
  }, null, _rawProps.childRefs(_rawProps.props.children).map(({ id, path: path2 }, i) => /* @__PURE__ */ _jsxSorted("div", null, {
576
- class: styles$N["list-item"]
571
+ class: styles$M["list-item"]
577
572
  }, _rawProps.renderChild(id, path2, i), 1, `${id}:${i}`)), 1, "Lh_5")),
578
573
  defineRenderer(CardApi, (_rawProps) => /* @__PURE__ */ _jsxSorted("div", null, {
579
- class: styles$N.card
574
+ class: styles$M.card
580
575
  }, _rawProps.renderChild(_rawProps.props.child), 1, "Lh_6")),
581
576
  // Rendered as a div-with-role rather than a native <button> because the
582
577
  // A2UI `child` can be any component (Row, Column, Card, etc.), and those
@@ -584,8 +579,8 @@ const basicCatalog = new CatalogRenderer([
584
579
  // SSR validator (Q12).
585
580
  defineRenderer(ButtonApi, (_rawProps) => /* @__PURE__ */ _jsxSorted("div", {
586
581
  class: [
587
- styles$N.button,
588
- _rawProps.props.variant === "primary" && styles$N["button-primary"]
582
+ styles$M.button,
583
+ _rawProps.props.variant === "primary" && styles$M["button-primary"]
589
584
  ],
590
585
  "q-e:click": _rawProps.props.action ? () => _rawProps.dispatchAction$("action") : void 0,
591
586
  "q-e:keydown": _rawProps.props.action ? (e) => {
@@ -607,7 +602,7 @@ const basicCatalog = new CatalogRenderer([
607
602
  objectFit: objectFitMap[_rawProps.props.fit ?? "cover"]
608
603
  }
609
604
  }, {
610
- class: styles$N.image
605
+ class: styles$M.image
611
606
  }, null, 3, "Lh_8")
612
607
  )),
613
608
  defineRenderer(IconApi, (_rawProps) => {
@@ -616,13 +611,13 @@ const basicCatalog = new CatalogRenderer([
616
611
  "aria-label": name,
617
612
  "data-icon": name
618
613
  }, {
619
- class: styles$N.icon
614
+ class: styles$M.icon
620
615
  }, null, 3, "Lh_9");
621
616
  }),
622
617
  defineRenderer(DividerApi, (_rawProps) => /* @__PURE__ */ _jsxSorted("div", {
623
618
  class: [
624
- styles$N.divider,
625
- _rawProps.props.axis === "vertical" && styles$N["divider-vertical"]
619
+ styles$M.divider,
620
+ _rawProps.props.axis === "vertical" && styles$M["divider-vertical"]
626
621
  ]
627
622
  }, {
628
623
  role: "separator"
@@ -631,10 +626,10 @@ const basicCatalog = new CatalogRenderer([
631
626
  const variant = _rawProps.props.variant ?? "shortText";
632
627
  const value = _rawProps.props.value ? _rawProps.resolve(_rawProps.props.value) : "";
633
628
  return /* @__PURE__ */ _jsxSorted("div", null, {
634
- class: styles$N["text-field"]
629
+ class: styles$M["text-field"]
635
630
  }, [
636
631
  /* @__PURE__ */ _jsxSorted("label", null, {
637
- class: styles$N.label
632
+ class: styles$M.label
638
633
  }, _rawProps.resolve(_rawProps.props.label), 1, null),
639
634
  variant === "longText" ? /* @__PURE__ */ _jsxSorted("textarea", {
640
635
  "q-e:change": /* @__PURE__ */ inlinedQrl((_e, el, _rawProps2) => _rawProps2.setBinding$("value", el.value), "basicCatalog_defineRenderer_div_textarea_q_e_change_AvRxzHDOuzE"),
@@ -642,7 +637,7 @@ const basicCatalog = new CatalogRenderer([
642
637
  "q:p": _rawProps,
643
638
  value
644
639
  }, {
645
- class: styles$N.input
640
+ class: styles$M.input
646
641
  }, null, 6, "Lh_11") : /* @__PURE__ */ _jsxSorted("input", {
647
642
  "q-e:change": /* @__PURE__ */ inlinedQrl((_e, el, _rawProps2) => _rawProps2.setBinding$("value", el.value), "basicCatalog_defineRenderer_div_input_q_e_change_d4MNBikoI0c"),
648
643
  "q-e:input": /* @__PURE__ */ inlinedQrl((_e, el, _rawProps2) => _rawProps2.setBinding$("value", el.value), "basicCatalog_defineRenderer_div_input_q_e_input_XTp8fL9T8eo"),
@@ -650,14 +645,14 @@ const basicCatalog = new CatalogRenderer([
650
645
  type: textFieldInputType[variant] ?? "text",
651
646
  value
652
647
  }, {
653
- class: styles$N.input
648
+ class: styles$M.input
654
649
  }, null, 6, "Lh_12")
655
650
  ], 1, "Lh_13");
656
651
  }),
657
652
  defineRenderer(CheckBoxApi, (_rawProps) => {
658
653
  const checked2 = typeof _rawProps.props.value === "boolean" ? _rawProps.props.value : Boolean(_rawProps.ctx.dataContext.resolveDynamicValue(_rawProps.props.value) ?? false);
659
654
  return /* @__PURE__ */ _jsxSorted("label", null, {
660
- class: styles$N.checkbox
655
+ class: styles$M.checkbox
661
656
  }, [
662
657
  /* @__PURE__ */ _jsxSorted("input", {
663
658
  checked: checked2,
@@ -667,7 +662,7 @@ const basicCatalog = new CatalogRenderer([
667
662
  type: "checkbox"
668
663
  }, null, 6, null),
669
664
  /* @__PURE__ */ _jsxSorted("span", null, {
670
- class: styles$N["checkbox-label"]
665
+ class: styles$M["checkbox-label"]
671
666
  }, _rawProps.resolve(_rawProps.props.label), 1, null)
672
667
  ], 1, "Lh_14");
673
668
  }),
@@ -685,7 +680,7 @@ const basicCatalog = new CatalogRenderer([
685
680
  "q:p": _rawProps,
686
681
  value
687
682
  }, {
688
- class: styles$N.slider,
683
+ class: styles$M.slider,
689
684
  type: "range"
690
685
  }, null, 6, "Lh_15");
691
686
  }),
@@ -700,23 +695,23 @@ const basicCatalog = new CatalogRenderer([
700
695
  }, null, _rawProps.renderChild(tab2.child), 1, idx))
701
696
  ], 1, "Lh_17")),
702
697
  defineRenderer(ModalApi, (_rawProps) => /* @__PURE__ */ _jsxSorted("div", null, {
703
- class: styles$N.modal
698
+ class: styles$M.modal
704
699
  }, [
705
700
  _rawProps.renderChild(_rawProps.props.trigger),
706
701
  /* @__PURE__ */ _jsxSorted("div", null, {
707
- class: styles$N["modal-content"]
702
+ class: styles$M["modal-content"]
708
703
  }, _rawProps.renderChild(_rawProps.props.content), 1, null)
709
704
  ], 1, "Lh_18")),
710
705
  defineRenderer(VideoApi, (_rawProps) => /* @__PURE__ */ _jsxSorted("video", {
711
706
  src: _rawProps.resolve(_rawProps.props.url)
712
707
  }, {
713
- class: styles$N.video,
708
+ class: styles$M.video,
714
709
  controls: true
715
710
  }, null, 3, "Lh_19")),
716
711
  defineRenderer(AudioPlayerApi, (_rawProps) => /* @__PURE__ */ _jsxSorted("audio", {
717
712
  src: _rawProps.resolve(_rawProps.props.url)
718
713
  }, {
719
- class: styles$N.audio,
714
+ class: styles$M.audio,
720
715
  controls: true
721
716
  }, null, 3, "Lh_20")),
722
717
  defineRenderer(ChoicePickerApi, (_rawProps) => {
@@ -725,23 +720,23 @@ const basicCatalog = new CatalogRenderer([
725
720
  const multi = (_rawProps.props.variant ?? "mutuallyExclusive") === "multipleSelection";
726
721
  return /* @__PURE__ */ _jsxSorted("div", {
727
722
  "data-choice-picker": _wrapProp(_rawProps, "componentId"),
728
- "q-e:change": /* @__PURE__ */ inlinedQrl((_e, wrapper2, _rawProps2) => {
729
- const inputs = wrapper2.querySelectorAll("input");
723
+ "q-e:change": /* @__PURE__ */ inlinedQrl((_e, wrapper, _rawProps2) => {
724
+ const inputs = wrapper.querySelectorAll("input");
730
725
  const isMulti = inputs.length > 0 && inputs[0].type === "checkbox";
731
- const checked2 = Array.from(wrapper2.querySelectorAll("input:checked")).map((i) => i.value);
726
+ const checked2 = Array.from(wrapper.querySelectorAll("input:checked")).map((i) => i.value);
732
727
  return _rawProps2.setBinding$("value", isMulti ? checked2 : checked2.slice(0, 1));
733
728
  }, "basicCatalog_defineRenderer_div_q_e_change_HaNxxdy0Z1g"),
734
729
  "q:p": _rawProps
735
730
  }, {
736
- class: styles$N["choice-picker"]
731
+ class: styles$M["choice-picker"]
737
732
  }, [
738
733
  _rawProps.props.label ? /* @__PURE__ */ _jsxSorted("span", null, {
739
- class: styles$N["choice-picker-label"]
734
+ class: styles$M["choice-picker-label"]
740
735
  }, _rawProps.resolve(_rawProps.props.label), 1, "Lh_21") : null,
741
736
  /* @__PURE__ */ _jsxSorted("div", null, {
742
- class: styles$N["choice-picker-options"]
737
+ class: styles$M["choice-picker-options"]
743
738
  }, _rawProps.props.options.map((opt) => /* @__PURE__ */ _jsxSorted("label", null, {
744
- class: styles$N["choice-picker-option"]
739
+ class: styles$M["choice-picker-option"]
745
740
  }, [
746
741
  /* @__PURE__ */ _jsxSorted("input", {
747
742
  checked: selected.includes(opt.value),
@@ -758,10 +753,10 @@ const basicCatalog = new CatalogRenderer([
758
753
  const enableTime = _rawProps.props.enableTime ?? false;
759
754
  const inputType = enableDate && enableTime ? "datetime-local" : enableDate ? "date" : enableTime ? "time" : "text";
760
755
  return /* @__PURE__ */ _jsxSorted("div", null, {
761
- class: styles$N["datetime-input"]
756
+ class: styles$M["datetime-input"]
762
757
  }, [
763
758
  _rawProps.props.label ? /* @__PURE__ */ _jsxSorted("label", null, {
764
- class: styles$N.label
759
+ class: styles$M.label
765
760
  }, _rawProps.resolve(_rawProps.props.label), 1, "Lh_23") : null,
766
761
  /* @__PURE__ */ _jsxSorted("input", {
767
762
  max: _rawProps.props.max != null ? String(_rawProps.props.max) : void 0,
@@ -772,7 +767,7 @@ const basicCatalog = new CatalogRenderer([
772
767
  type: inputType,
773
768
  value: _rawProps.props.value ? _rawProps.resolve(_rawProps.props.value) : ""
774
769
  }, {
775
- class: styles$N.input
770
+ class: styles$M.input
776
771
  }, null, 6, null)
777
772
  ], 1, "Lh_24");
778
773
  })
@@ -1005,7 +1000,7 @@ const A2uiSurface = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
1005
1000
  useContextProvider(A2uiSurfaceContext, props.surface);
1006
1001
  useContextProvider(A2uiAncestorContext, []);
1007
1002
  return /* @__PURE__ */ _jsxSorted("div", null, {
1008
- class: styles$N.surface,
1003
+ class: styles$M.surface,
1009
1004
  style: {
1010
1005
  "--elmethis-margin-block-start": "2rem"
1011
1006
  }
@@ -1018,7 +1013,7 @@ const SurfaceView = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
1018
1013
  useContextProvider(A2uiSurfaceContext, props.surface);
1019
1014
  useContextProvider(A2uiAncestorContext, []);
1020
1015
  return /* @__PURE__ */ _jsxSorted("div", null, {
1021
- class: styles$N.surface,
1016
+ class: styles$M.surface,
1022
1017
  style: {
1023
1018
  "--elmethis-margin-block-start": "2rem"
1024
1019
  }
@@ -1162,7 +1157,7 @@ const ElmA2ui = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
1162
1157
  ]));
1163
1158
  return /* @__PURE__ */ _jsxSorted("div", {
1164
1159
  class: [
1165
- styles$N["elm-a2ui"],
1160
+ styles$M["elm-a2ui"],
1166
1161
  props.class
1167
1162
  ],
1168
1163
  style: _wrapProp(props, "style")
@@ -1170,9 +1165,8 @@ const ElmA2ui = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
1170
1165
  surface: noSerialize(surface2)
1171
1166
  }, null, null, 3, surface2.id)), 1, "pJ_4");
1172
1167
  }, "ElmA2ui_component_JeVykabE5oE"));
1173
- const katex = "_katex_19jd6_1";
1174
- const styles$M = {
1175
- katex
1168
+ const styles$L = {
1169
+ "elm-katex": "_elm-katex_189xe_1"
1176
1170
  };
1177
1171
  const _hf0$M = (p0) => p0.value ?? "";
1178
1172
  const ElmKatex = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -1193,7 +1187,7 @@ const ElmKatex = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
1193
1187
  return /* @__PURE__ */ _jsxSplit("div", {
1194
1188
  class: [
1195
1189
  textStyles.text,
1196
- props.block ? styles$M.katex : void 0,
1190
+ props.block ? styles$L["elm-katex"] : void 0,
1197
1191
  props.class
1198
1192
  ],
1199
1193
  dangerouslySetInnerHTML: _fnSignal(_hf0$M, [
@@ -1202,16 +1196,16 @@ const ElmKatex = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
1202
1196
  ..._getVarProps(rest)
1203
1197
  }, _getConstProps(rest), null, 0, "FX_0");
1204
1198
  }, "ElmKatex_component_83EW4M1WU0k"));
1205
- const caption$1 = "_caption_yx3l5_22";
1206
- const divider$1 = "_divider_yx3l5_33";
1207
- const code$1 = "_code_yx3l5_1";
1208
- const styles$L = {
1209
- "code-block": "_code-block_yx3l5_1",
1210
- "language-icon": "_language-icon_yx3l5_17",
1199
+ const caption$1 = "_caption_xdmlc_22";
1200
+ const divider$1 = "_divider_xdmlc_33";
1201
+ const code = "_code_xdmlc_40";
1202
+ const styles$K = {
1203
+ "elm-code-block": "_elm-code-block_xdmlc_1",
1204
+ "language-icon": "_language-icon_xdmlc_17",
1211
1205
  caption: caption$1,
1212
- "copy-icon": "_copy-icon_yx3l5_29",
1206
+ "copy-icon": "_copy-icon_xdmlc_29",
1213
1207
  divider: divider$1,
1214
- code: code$1
1208
+ code
1215
1209
  };
1216
1210
  const _hf0$L = (p0) => p0.size ?? 24;
1217
1211
  const Rust = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
@@ -1286,7 +1280,7 @@ const Typescript = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_raw
1286
1280
  ], 0, "Os_0");
1287
1281
  }, "Typescript_component_nLU7Qpu0u0k"));
1288
1282
  const path = "_path_1aa0a_1";
1289
- const styles$K = {
1283
+ const styles$J = {
1290
1284
  path
1291
1285
  };
1292
1286
  const _hf0$I = (p0) => p0.size ?? 24;
@@ -1310,7 +1304,7 @@ const Bash = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps)
1310
1304
  d: "M4.24 4.24h119.53v119.53H4.24z"
1311
1305
  }, null, 3, null),
1312
1306
  /* @__PURE__ */ _jsxSorted("path", null, {
1313
- class: styles$K.path,
1307
+ class: styles$J.path,
1314
1308
  d: "M109.01 28.64L71.28 6.24c-2.25-1.33-4.77-2-7.28-2s-5.03.67-7.28 2.01l-37.74 22.4c-4.5 2.67-7.28 7.61-7.28 12.96v44.8c0 5.35 2.77 10.29 7.28 12.96l37.73 22.4c2.25 1.34 4.76 2 7.28 2c2.51 0 5.03-.67 7.28-2l37.74-22.4c4.5-2.67 7.28-7.62 7.28-12.96V41.6c0-5.34-2.77-10.29-7.28-12.96M79.79 98.59l.06 3.22c0 .39-.25.83-.55.99l-1.91 1.1c-.3.15-.56-.03-.56-.42l-.03-3.17c-1.63.68-3.29.84-4.34.42c-.2-.08-.29-.37-.21-.71l.69-2.91c.06-.23.18-.46.34-.6c.06-.06.12-.1.18-.13c.11-.06.22-.07.31-.03c1.14.38 2.59.2 3.99-.5c1.78-.9 2.97-2.72 2.95-4.52c-.02-1.64-.9-2.31-3.05-2.33c-2.74.01-5.3-.53-5.34-4.57c-.03-3.32 1.69-6.78 4.43-8.96l-.03-3.25c0-.4.24-.84.55-1l1.85-1.18c.3-.15.56.04.56.43l.03 3.25c1.36-.54 2.54-.69 3.61-.44c.23.06.34.38.24.75l-.72 2.88c-.06.22-.18.44-.33.58a.8.8 0 0 1-.19.14c-.1.05-.19.06-.28.05c-.49-.11-1.65-.36-3.48.56c-1.92.97-2.59 2.64-2.58 3.88c.02 1.48.77 1.93 3.39 1.97c3.49.06 4.99 1.58 5.03 5.09c.05 3.44-1.79 7.15-4.61 9.41m26.34-60.5l-35.7 22.05c-4.45 2.6-7.73 5.52-7.74 10.89v43.99c0 3.21 1.3 5.29 3.29 5.9c-.65.11-1.32.19-1.98.19c-2.09 0-4.15-.57-5.96-1.64l-37.73-22.4c-3.69-2.19-5.98-6.28-5.98-10.67V41.6c0-4.39 2.29-8.48 5.98-10.67l37.74-22.4c1.81-1.07 3.87-1.64 5.96-1.64s4.15.57 5.96 1.64l37.74 22.4c3.11 1.85 5.21 5.04 5.8 8.63c-1.27-2.67-4.09-3.39-7.38-1.47"
1315
1309
  }, null, 3, null),
1316
1310
  /* @__PURE__ */ _jsxSorted("path", null, {
@@ -1837,9 +1831,8 @@ const C = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) =>
1837
1831
  }, null, 3, null)
1838
1832
  ], 0, "gG_0");
1839
1833
  }, "C_component_8furXfuHI4I"));
1840
- const icon$5 = "_icon_1g5oq_1";
1841
- const styles$J = {
1842
- icon: icon$5
1834
+ const styles$I = {
1835
+ "elm-mdi-icon": "_elm-mdi-icon_ihskx_1"
1843
1836
  };
1844
1837
  const _hf0$t = (p0) => ({
1845
1838
  "--elmethis-scoped-color": p0.lightColor ?? p0.color ?? "currentColor",
@@ -1860,7 +1853,7 @@ const ElmMdiIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_raw
1860
1853
  ]);
1861
1854
  return /* @__PURE__ */ _jsxSplit("svg", {
1862
1855
  class: [
1863
- styles$J.icon,
1856
+ styles$I["elm-mdi-icon"],
1864
1857
  _rawProps.class
1865
1858
  ],
1866
1859
  style: _fnSignal(_hf0$t, [
@@ -1977,9 +1970,8 @@ const ElmLanguageIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(
1977
1970
  style: _wrapProp(_rawProps, "style")
1978
1971
  }, null, 3, "bu_1");
1979
1972
  }, "ElmLanguageIcon_component_nXOhYnvIKLk"));
1980
- const code = "_code_1lqau_1";
1981
- const styles$I = {
1982
- code
1973
+ const styles$H = {
1974
+ "elm-shiki-highlighter": "_elm-shiki-highlighter_j5tas_1"
1983
1975
  };
1984
1976
  const ElmShikiHighlighter = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
1985
1977
  const props = _restProps(_rawProps, [
@@ -2018,16 +2010,16 @@ const ElmShikiHighlighter = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlined
2018
2010
  ]));
2019
2011
  return /* @__PURE__ */ _jsxSplit("pre", {
2020
2012
  class: [
2021
- styles$I.code,
2013
+ styles$H["elm-shiki-highlighter"],
2022
2014
  _rawProps.class
2023
2015
  ],
2024
2016
  dangerouslySetInnerHTML: _wrapProp(rawHtml),
2025
2017
  ..._getVarProps(props)
2026
2018
  }, _getConstProps(props), null, 0, "ZN_0");
2027
2019
  }, "ElmShikiHighlighter_component_vKuHJZdaUdo"));
2028
- const styles$H = {
2029
- "use-clipboard": "_use-clipboard_1nork_1",
2030
- "use-clipboard-icon-copied": "_use-clipboard-icon-copied_1nork_16"
2020
+ const styles$G = {
2021
+ "use-clipboard": "_use-clipboard_mb0qt_1",
2022
+ "use-clipboard-icon-copied": "_use-clipboard-icon-copied_mb0qt_15"
2031
2023
  };
2032
2024
  const useClipboard = (options) => {
2033
2025
  const copied = useSignal(false);
@@ -2064,7 +2056,7 @@ const useClipboard = (options) => {
2064
2056
  const copied2 = _captures[0], copy2 = _captures[1], options2 = _captures[2];
2065
2057
  return /* @__PURE__ */ _jsxSorted("span", {
2066
2058
  class: [
2067
- styles$H["use-clipboard"],
2059
+ styles$G["use-clipboard"],
2068
2060
  options2.class
2069
2061
  ],
2070
2062
  style: _wrapProp(options2, "style")
@@ -2073,7 +2065,7 @@ const useClipboard = (options) => {
2073
2065
  }, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, {
2074
2066
  class: [
2075
2067
  {
2076
- [styles$H["use-clipboard-icon-copied"]]: copied2.value
2068
+ [styles$G["use-clipboard-icon-copied"]]: copied2.value
2077
2069
  }
2078
2070
  ],
2079
2071
  d: copied2.value ? mdiClipboardCheckOutline : mdiClipboardOutline
@@ -2104,20 +2096,20 @@ const ElmCodeBlock = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
2104
2096
  });
2105
2097
  return /* @__PURE__ */ _jsxSplit("figure", {
2106
2098
  class: [
2107
- styles$L["code-block"],
2099
+ styles$K["elm-code-block"],
2108
2100
  _rawProps.class
2109
2101
  ],
2110
2102
  ..._getVarProps(props)
2111
2103
  }, _getConstProps(props), [
2112
2104
  /* @__PURE__ */ _jsxSorted("span", null, {
2113
- class: styles$L["language-icon"]
2105
+ class: styles$K["language-icon"]
2114
2106
  }, /* @__PURE__ */ _jsxSorted(ElmLanguageIcon, null, {
2115
2107
  language: _fnSignal(_hf0$r, [
2116
2108
  _rawProps
2117
2109
  ])
2118
2110
  }, null, 3, "sK_0"), 1, null),
2119
2111
  /* @__PURE__ */ _jsxSorted("span", null, {
2120
- class: styles$L.caption
2112
+ class: styles$K.caption
2121
2113
  }, /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, [
2122
2114
  _fnSignal(_hf1$f, [
2123
2115
  _rawProps
@@ -2125,13 +2117,13 @@ const ElmCodeBlock = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
2125
2117
  /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "sK_1")
2126
2118
  ], 1, "sK_2"), 1, null),
2127
2119
  /* @__PURE__ */ _jsxSorted("div", null, {
2128
- class: styles$L["copy-icon"]
2120
+ class: styles$K["copy-icon"]
2129
2121
  }, /* @__PURE__ */ _jsxSorted(clipboard.CopyButton, null, null, null, 3, "sK_3"), 1, null),
2130
2122
  /* @__PURE__ */ _jsxSorted("hr", null, {
2131
- class: styles$L.divider
2123
+ class: styles$K.divider
2132
2124
  }, null, 3, null),
2133
2125
  /* @__PURE__ */ _jsxSorted("div", null, {
2134
- class: styles$L.code
2126
+ class: styles$K.code
2135
2127
  }, /* @__PURE__ */ _jsxSorted(ElmShikiHighlighter, null, {
2136
2128
  code: _wrapProp(_rawProps, "code"),
2137
2129
  language: _fnSignal(_hf0$r, [
@@ -2140,19 +2132,18 @@ const ElmCodeBlock = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
2140
2132
  }, null, 3, "sK_4"), 1, null)
2141
2133
  ], 0, "sK_5");
2142
2134
  }, "ElmCodeBlock_component_rH8kn9Tvguw"));
2143
- const image$2 = "_image_t4lyp_12";
2144
- const fallback$1 = "_fallback_t4lyp_36";
2145
- const styles$G = {
2146
- "block-image": "_block-image_t4lyp_1",
2147
- "image-container": "_image-container_t4lyp_12",
2135
+ const image$2 = "_image_kwjx3_12";
2136
+ const fallback$1 = "_fallback_kwjx3_36";
2137
+ const styles$F = {
2138
+ "elm-block-image": "_elm-block-image_kwjx3_1",
2139
+ "image-container": "_image-container_kwjx3_12",
2148
2140
  image: image$2,
2149
2141
  fallback: fallback$1,
2150
- "caption-box": "_caption-box_t4lyp_46",
2151
- "caption-icon": "_caption-icon_t4lyp_57",
2152
- "modal-container": "_modal-container_t4lyp_63"
2142
+ "caption-box": "_caption-box_kwjx3_46",
2143
+ "caption-icon": "_caption-icon_kwjx3_57"
2153
2144
  };
2154
- const styles$F = {
2155
- "rectangle-wave": "_rectangle-wave_z699a_21"
2145
+ const styles$E = {
2146
+ "elm-rectangle-wave": "_elm-rectangle-wave_70gad_21"
2156
2147
  };
2157
2148
  const ElmRectangleWave = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
2158
2149
  const props = _restProps(_rawProps, [
@@ -2161,23 +2152,128 @@ const ElmRectangleWave = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl
2161
2152
  return /* @__PURE__ */ _jsxSplit("div", {
2162
2153
  "aria-hidden": "true",
2163
2154
  class: [
2164
- styles$F["rectangle-wave"],
2155
+ styles$E["elm-rectangle-wave"],
2165
2156
  _rawProps.class
2166
2157
  ],
2167
2158
  ..._getVarProps(props)
2168
2159
  }, _getConstProps(props), null, 0, "vI_0");
2169
2160
  }, "ElmRectangleWave_component_4z0HAhT3758"));
2161
+ const shown = "_shown_12j1m_18";
2162
+ const styles$D = {
2163
+ "elm-modal": "_elm-modal_12j1m_1",
2164
+ shown
2165
+ };
2166
+ const ElmModal = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
2167
+ const rest = _restProps(props, [
2168
+ "class",
2169
+ "isOpen",
2170
+ "delay",
2171
+ "style",
2172
+ "onClose$"
2173
+ ]);
2174
+ const dialogRef = useSignal();
2175
+ const isShown = useSignal(false);
2176
+ useVisibleTaskQrl(/* @__PURE__ */ inlinedQrl(({ track, cleanup }) => {
2177
+ const dialogRef2 = _captures[0], isShown2 = _captures[1], props2 = _captures[2];
2178
+ track(() => props2.isOpen);
2179
+ if (!dialogRef2.value) return;
2180
+ if (props2.isOpen) {
2181
+ dialogRef2.value.showModal();
2182
+ isShown2.value = true;
2183
+ } else {
2184
+ if (!isShown2.value) return;
2185
+ isShown2.value = false;
2186
+ const timer = setTimeout(() => {
2187
+ dialogRef2.value?.close();
2188
+ }, props2.delay ?? 200);
2189
+ cleanup(() => {
2190
+ clearTimeout(timer);
2191
+ });
2192
+ }
2193
+ }, "ElmModal_component_useVisibleTask_1nydd6wvRjI", [
2194
+ dialogRef,
2195
+ isShown,
2196
+ props
2197
+ ]), {
2198
+ strategy: "document-ready"
2199
+ });
2200
+ const handleClose = /* @__PURE__ */ inlinedQrl((event, element) => {
2201
+ const props2 = _captures[0];
2202
+ props2.onClose$?.(event, element);
2203
+ }, "ElmModal_component_handleClose_0gU4hMZNm0Q", [
2204
+ props
2205
+ ]);
2206
+ return /* @__PURE__ */ _jsxSplit("dialog", {
2207
+ ref: dialogRef,
2208
+ class: [
2209
+ styles$D["elm-modal"],
2210
+ props.class,
2211
+ {
2212
+ [styles$D["shown"]]: isShown.value
2213
+ }
2214
+ ],
2215
+ "q-e:click": handleClose,
2216
+ style: typeof props.style === "string" ? `${props.style};--elmethis-scoped-modal-delay:${props.delay ?? 200}ms` : {
2217
+ "--elmethis-scoped-modal-delay": `${props.delay ?? 200}ms`,
2218
+ ...props.style
2219
+ },
2220
+ ...{
2221
+ closedBy: "none"
2222
+ },
2223
+ ..._getVarProps(rest)
2224
+ }, _getConstProps(rest), /* @__PURE__ */ _jsxSorted("div", {
2225
+ "q-e:click": /* @__PURE__ */ inlinedQrl((e) => e.stopPropagation(), "ElmModal_component_dialog_div_q_e_click_Qa7ZVv0yllU")
2226
+ }, null, /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "Ka_0"), 0, null), 0, "Ka_1");
2227
+ }, "ElmModal_component_wvBKav2Nx50"));
2228
+ const useModal = (options = {}) => {
2229
+ const delay = options.delay;
2230
+ const isOpen = useSignal(false);
2231
+ const show2 = /* @__PURE__ */ inlinedQrl(() => {
2232
+ const isOpen2 = _captures[0];
2233
+ isOpen2.value = true;
2234
+ }, "useModal_show_7khcPaT0Cx8", [
2235
+ isOpen
2236
+ ]);
2237
+ const hide = /* @__PURE__ */ inlinedQrl(() => {
2238
+ const isOpen2 = _captures[0];
2239
+ isOpen2.value = false;
2240
+ }, "useModal_hide_mSugMHYElis", [
2241
+ isOpen
2242
+ ]);
2243
+ const toggle = /* @__PURE__ */ inlinedQrl(() => {
2244
+ const isOpen2 = _captures[0];
2245
+ isOpen2.value = !isOpen2.value;
2246
+ }, "useModal_toggle_eBYb4dHabL0", [
2247
+ isOpen
2248
+ ]);
2249
+ const Modal = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(() => {
2250
+ const delay2 = _captures[0], hide2 = _captures[1], isOpen2 = _captures[2];
2251
+ return /* @__PURE__ */ _jsxSorted(ElmModal, {
2252
+ delay: delay2
2253
+ }, {
2254
+ isOpen: _wrapProp(isOpen2),
2255
+ onClose$: hide2
2256
+ }, /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "GG_0"), 1, "GG_1");
2257
+ }, "useModal_Modal_component_H3EY0g5t53g", [
2258
+ delay,
2259
+ hide,
2260
+ isOpen
2261
+ ]));
2262
+ return {
2263
+ Modal,
2264
+ isOpen,
2265
+ show: show2,
2266
+ hide,
2267
+ toggle
2268
+ };
2269
+ };
2170
2270
  const _hf0$q = (p0) => p0.alt ?? p0.caption ?? "Image";
2171
2271
  const _hf1$e = (p0, p1) => p0 ? void 0 : p1.srcset;
2172
2272
  const _hf2$a = (p0, p1) => p0 ? void 0 : p1.sizes;
2173
2273
  const _hf3$9 = (p0) => ({
2174
- pointerEvents: p0.value ? "auto" : "none",
2175
- "--elmethis-scoped-opacity": p0.value ? 1 : 0
2176
- });
2177
- const _hf4$5 = (p0) => ({
2178
2274
  "--elmethis-scoped-opacity": p0.value ? 1 : 0.01
2179
2275
  });
2180
- const _hf5$4 = (p0) => ({
2276
+ const _hf4$5 = (p0) => ({
2181
2277
  "--elmethis-scoped-opacity": p0.value ? 0.01 : 1
2182
2278
  });
2183
2279
  const ElmBlockImage = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
@@ -2193,23 +2289,29 @@ const ElmBlockImage = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
2193
2289
  "enableModal"
2194
2290
  ]);
2195
2291
  const isLoading = useSignal(true);
2196
- const isShowModal = useSignal(false);
2292
+ const modal2 = useModal();
2197
2293
  const handleImageLoad = /* @__PURE__ */ inlinedQrl(() => {
2198
2294
  const isLoading2 = _captures[0];
2199
2295
  isLoading2.value = false;
2200
2296
  }, "ElmBlockImage_component_handleImageLoad_v2NAc2lc6F8", [
2201
2297
  isLoading
2202
2298
  ]);
2203
- const handleToggleModal = /* @__PURE__ */ inlinedQrl(() => {
2204
- const isLoading2 = _captures[0], isShowModal2 = _captures[1], props2 = _captures[2];
2299
+ const handleOpenModal = /* @__PURE__ */ inlinedQrl(() => {
2300
+ const isLoading2 = _captures[0], modal22 = _captures[1], props2 = _captures[2];
2205
2301
  if ((props2.enableModal ?? true) && !isLoading2.value) {
2206
- isShowModal2.value = !isShowModal2.value;
2302
+ modal22.show();
2207
2303
  }
2208
- }, "ElmBlockImage_component_handleToggleModal_IbYfut8v1Wc", [
2304
+ }, "ElmBlockImage_component_handleOpenModal_q7vLxFH3bWY", [
2209
2305
  isLoading,
2210
- isShowModal,
2306
+ modal2,
2211
2307
  props
2212
2308
  ]);
2309
+ const handleCloseModal = /* @__PURE__ */ inlinedQrl(() => {
2310
+ const modal22 = _captures[0];
2311
+ modal22.hide();
2312
+ }, "ElmBlockImage_component_handleCloseModal_atTNQViDSJ4", [
2313
+ modal2
2314
+ ]);
2213
2315
  const imgRef = useSignal();
2214
2316
  useVisibleTaskQrl(/* @__PURE__ */ inlinedQrl(() => {
2215
2317
  const imgRef2 = _captures[0], isLoading2 = _captures[1];
@@ -2227,7 +2329,10 @@ const ElmBlockImage = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
2227
2329
  fetchPriority: isModal ? "low" : "auto",
2228
2330
  height: _wrapProp(props, "height"),
2229
2331
  loading: isModal ? "lazy" : void 0,
2230
- ref: imgRef,
2332
+ "q-e:click": isModal ? handleCloseModal : void 0,
2333
+ // Only the inline image owns imgRef; the modal image must not steal it
2334
+ // (ElmModal keeps its slot mounted, so both can coexist in the DOM).
2335
+ ref: isModal ? void 0 : imgRef,
2231
2336
  sizes: _fnSignal(_hf2$a, [
2232
2337
  isModal,
2233
2338
  props
@@ -2239,64 +2344,56 @@ const ElmBlockImage = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((p
2239
2344
  ]),
2240
2345
  style: {
2241
2346
  "--elmethis-scoped-opacity": isLoading.value ? 0.01 : 1,
2242
- "--elmethis-scoped-cursor": props.enableModal ?? true ? isShowModal.value ? "zoom-out" : "zoom-in" : "default",
2347
+ "--elmethis-scoped-cursor": props.enableModal ?? true ? modal2.isOpen.value ? "zoom-out" : "zoom-in" : "default",
2243
2348
  "--aspect-ratio": props.width && props.height ? `${props.width} / ${props.height}` : "auto"
2244
2349
  },
2245
2350
  width: _wrapProp(props, "width")
2246
2351
  }, {
2247
- class: styles$G.image,
2352
+ class: styles$F.image,
2248
2353
  "q-e:load": handleImageLoad
2249
- }, null, 3, "zM_0");
2250
- const Modal = /* @__PURE__ */ _jsxSorted("div", null, {
2251
- class: styles$G["modal-container"],
2252
- style: _fnSignal(_hf3$9, [
2253
- isShowModal
2254
- ]),
2255
- "q-e:click": handleToggleModal
2256
- }, isShowModal.value && ImageComponent(true), 1, "zM_1");
2354
+ }, null, 2, "zM_0");
2257
2355
  return /* @__PURE__ */ _jsxSplit("figure", {
2258
2356
  class: [
2259
- styles$G["block-image"],
2357
+ styles$F["elm-block-image"],
2260
2358
  props.class
2261
2359
  ],
2262
2360
  ..._getVarProps(rest)
2263
2361
  }, _getConstProps(rest), [
2264
2362
  /* @__PURE__ */ _jsxSorted("div", null, {
2265
- class: styles$G["image-container"],
2266
- style: _fnSignal(_hf4$5, [
2363
+ class: styles$F["image-container"],
2364
+ style: _fnSignal(_hf3$9, [
2267
2365
  isLoading
2268
2366
  ]),
2269
- "q-e:click": handleToggleModal
2367
+ "q-e:click": handleOpenModal
2270
2368
  }, [
2271
2369
  ImageComponent(false),
2272
2370
  /* @__PURE__ */ _jsxSorted("div", null, {
2273
- class: styles$G.fallback
2274
- }, /* @__PURE__ */ _jsxSorted(ElmRectangleWave, null, null, null, 3, "zM_2"), 1, null)
2371
+ class: styles$F.fallback
2372
+ }, /* @__PURE__ */ _jsxSorted(ElmRectangleWave, null, null, null, 3, "zM_1"), 1, null)
2275
2373
  ], 1, null),
2276
2374
  props.caption && /* @__PURE__ */ _jsxSorted("figcaption", null, {
2277
- class: styles$G["caption-box"],
2278
- style: _fnSignal(_hf5$4, [
2375
+ class: styles$F["caption-box"],
2376
+ style: _fnSignal(_hf4$5, [
2279
2377
  isLoading
2280
2378
  ])
2281
2379
  }, [
2282
2380
  /* @__PURE__ */ _jsxSorted("span", null, {
2283
- class: styles$G["caption-icon"]
2381
+ class: styles$F["caption-icon"]
2284
2382
  }, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
2285
2383
  d: mdiMessageImageOutline,
2286
2384
  size: "1.25rem"
2287
- }, null, 3, "zM_3"), 1, null),
2385
+ }, null, 3, "zM_2"), 1, null),
2288
2386
  /* @__PURE__ */ _jsxSorted(ElmInlineText, null, {
2289
2387
  size: "1rem"
2290
- }, _wrapProp(props, "caption"), 1, "zM_4")
2291
- ], 1, "zM_5"),
2292
- Modal
2388
+ }, _wrapProp(props, "caption"), 1, "zM_3")
2389
+ ], 1, "zM_4"),
2390
+ /* @__PURE__ */ _jsxSorted(modal2.Modal, null, null, modal2.isOpen.value && ImageComponent(true), 1, "zM_5")
2293
2391
  ], 0, "zM_6");
2294
2392
  }, "ElmBlockImage_component_XGyydMLGB8M"));
2295
- const file = "_file_1sut5_1";
2296
- const styles$E = {
2297
- file,
2298
- "file-size": "_file-size_1sut5_13",
2299
- "download-icon": "_download-icon_1sut5_18"
2393
+ const styles$C = {
2394
+ "elm-file": "_elm-file_1oen6_1",
2395
+ "file-size": "_file-size_1oen6_13",
2396
+ "download-icon": "_download-icon_1oen6_18"
2300
2397
  };
2301
2398
  function getLastPathSegmentWithoutQueryOrHash(urlString) {
2302
2399
  const cleanedUrl = urlString.split(/[?#]/)[0];
@@ -2331,7 +2428,7 @@ const ElmFile = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPro
2331
2428
  ]);
2332
2429
  return /* @__PURE__ */ _jsxSplit("div", {
2333
2430
  class: [
2334
- styles$E.file,
2431
+ styles$C["elm-file"],
2335
2432
  _rawProps.class
2336
2433
  ],
2337
2434
  ..._getVarProps(props)
@@ -2342,10 +2439,10 @@ const ElmFile = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPro
2342
2439
  }, null, 3, "r0_0"), 1, null),
2343
2440
  /* @__PURE__ */ _jsxSorted("div", null, null, /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, _rawProps.name ?? getLastPathSegmentWithoutQueryOrHash(_rawProps.src), 1, "r0_1"), 1, null),
2344
2441
  /* @__PURE__ */ _jsxSorted("div", null, {
2345
- class: styles$E["file-size"]
2442
+ class: styles$C["file-size"]
2346
2443
  }, /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, _wrapProp(_rawProps, "filesize"), 1, "r0_2"), 1, null),
2347
2444
  /* @__PURE__ */ _jsxSorted("div", null, {
2348
- class: styles$E["download-icon"],
2445
+ class: styles$C["download-icon"],
2349
2446
  "q-e:click": downloadFile
2350
2447
  }, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
2351
2448
  d: mdiDownload,
@@ -2353,16 +2450,15 @@ const ElmFile = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPro
2353
2450
  }, null, 3, "r0_3"), 1, null)
2354
2451
  ], 0, "r0_4");
2355
2452
  }, "ElmFile_component_WgruD9GFaB4"));
2356
- const bookmark = "_bookmark_1o6my_1";
2357
- const container$2 = "_container_1o6my_24";
2358
- const image$1 = "_image_1o6my_36";
2359
- const content$2 = "_content_1o6my_56";
2360
- const title = "_title_1o6my_72";
2361
- const description = "_description_1o6my_76";
2362
- const link = "_link_1o6my_81";
2363
- const styles$D = {
2364
- bookmark,
2365
- container: container$2,
2453
+ const container = "_container_67069_24";
2454
+ const image$1 = "_image_67069_36";
2455
+ const content$2 = "_content_67069_56";
2456
+ const title = "_title_67069_72";
2457
+ const description = "_description_67069_76";
2458
+ const link = "_link_67069_81";
2459
+ const styles$B = {
2460
+ "elm-bookmark": "_elm-bookmark_67069_1",
2461
+ container,
2366
2462
  image: image$1,
2367
2463
  content: content$2,
2368
2464
  title,
@@ -2392,14 +2488,14 @@ const ElmBookmark = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_ra
2392
2488
  };
2393
2489
  return /* @__PURE__ */ _jsxSplit("div", {
2394
2490
  class: [
2395
- styles$D.bookmark,
2491
+ styles$B["elm-bookmark"],
2396
2492
  _rawProps.class
2397
2493
  ],
2398
2494
  ..._getVarProps(props)
2399
2495
  }, _getConstProps(props), /* @__PURE__ */ _jsxSorted("a", {
2400
2496
  href: _wrapProp(_rawProps, "url")
2401
2497
  }, {
2402
- class: styles$D.container,
2498
+ class: styles$B.container,
2403
2499
  target: "_blank",
2404
2500
  rel: "noopener noreferrer"
2405
2501
  }, [
@@ -2411,25 +2507,25 @@ const ElmBookmark = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_ra
2411
2507
  isError
2412
2508
  ])
2413
2509
  }, {
2414
- class: styles$D.image,
2510
+ class: styles$B.image,
2415
2511
  alt: "OGP Image",
2416
2512
  "q-e:error": handleImageOnError
2417
2513
  }, null, 3, null),
2418
2514
  /* @__PURE__ */ _jsxSorted("div", null, {
2419
- class: styles$D.content
2515
+ class: styles$B.content
2420
2516
  }, [
2421
2517
  /* @__PURE__ */ _jsxSorted("div", null, {
2422
- class: styles$D.title
2518
+ class: styles$B.title
2423
2519
  }, /* @__PURE__ */ _jsxSorted(ElmInlineText, null, {
2424
2520
  bold: true
2425
2521
  }, _wrapProp(_rawProps, "title"), 1, "cr_0"), 1, null),
2426
2522
  /* @__PURE__ */ _jsxSorted("div", null, {
2427
- class: styles$D.description
2523
+ class: styles$B.description
2428
2524
  }, /* @__PURE__ */ _jsxSorted(ElmInlineText, null, {
2429
2525
  size: "0.75rem"
2430
2526
  }, _wrapProp(_rawProps, "description"), 1, "cr_1"), 1, null),
2431
2527
  /* @__PURE__ */ _jsxSorted("div", null, {
2432
- class: styles$D.link
2528
+ class: styles$B.link
2433
2529
  }, [
2434
2530
  _rawProps.favicon ? /* @__PURE__ */ _jsxSorted(ElmInlineIcon, null, {
2435
2531
  src: _wrapProp(_rawProps, "favicon")
@@ -2444,19 +2540,18 @@ const ElmBookmark = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_ra
2444
2540
  ], 1, null)
2445
2541
  ], 1, null), 0, "cr_5");
2446
2542
  }, "ElmBookmark_component_SFTt0EvJVYc"));
2447
- const toggle = "_toggle_11gju_1";
2448
- const open$1 = "_open_11gju_9";
2449
- const summary$1 = "_summary_11gju_14";
2450
- const divider = "_divider_11gju_36";
2451
- const chevron$1 = "_chevron_11gju_50";
2452
- const cross = "_cross_11gju_63";
2453
- const border = "_border_11gju_77";
2454
- const content$1 = "_content_11gju_85";
2455
- const styles$C = {
2456
- toggle,
2457
- open: open$1,
2543
+ const open = "_open_d59g8_9";
2544
+ const summary$1 = "_summary_d59g8_14";
2545
+ const divider = "_divider_d59g8_36";
2546
+ const chevron$1 = "_chevron_d59g8_50";
2547
+ const cross = "_cross_d59g8_63";
2548
+ const border = "_border_d59g8_77";
2549
+ const content$1 = "_content_d59g8_85";
2550
+ const styles$A = {
2551
+ "elm-toggle": "_elm-toggle_d59g8_1",
2552
+ open,
2458
2553
  summary: summary$1,
2459
- "summary-left": "_summary-left_11gju_29",
2554
+ "summary-left": "_summary-left_d59g8_29",
2460
2555
  divider,
2461
2556
  chevron: chevron$1,
2462
2557
  cross,
@@ -2480,9 +2575,9 @@ const ElmToggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
2480
2575
  });
2481
2576
  return /* @__PURE__ */ _jsxSplit("div", {
2482
2577
  class: [
2483
- styles$C.toggle,
2578
+ styles$A["elm-toggle"],
2484
2579
  {
2485
- [styles$C.open]: isOpen.value
2580
+ [styles$A.open]: isOpen.value
2486
2581
  },
2487
2582
  props.class
2488
2583
  ],
@@ -2497,17 +2592,17 @@ const ElmToggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
2497
2592
  isOpen
2498
2593
  ])
2499
2594
  }, {
2500
- class: styles$C.summary,
2595
+ class: styles$A.summary,
2501
2596
  "preventdefault:click": true
2502
2597
  }, [
2503
2598
  /* @__PURE__ */ _jsxSorted("div", null, {
2504
- class: styles$C["summary-left"]
2599
+ class: styles$A["summary-left"]
2505
2600
  }, [
2506
2601
  /* @__PURE__ */ _jsxSorted("span", {
2507
2602
  class: [
2508
- styles$C.chevron,
2603
+ styles$A.chevron,
2509
2604
  {
2510
- [styles$C.open]: isOpen.value
2605
+ [styles$A.open]: isOpen.value
2511
2606
  }
2512
2607
  ]
2513
2608
  }, null, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
@@ -2522,13 +2617,13 @@ const ElmToggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
2522
2617
  }, null, 3, "VD_2"), 1, null)
2523
2618
  ], 1, null),
2524
2619
  /* @__PURE__ */ _jsxSorted("hr", null, {
2525
- class: styles$C.divider
2620
+ class: styles$A.divider
2526
2621
  }, null, 3, null),
2527
2622
  /* @__PURE__ */ _jsxSorted("span", {
2528
2623
  class: [
2529
- styles$C.cross,
2624
+ styles$A.cross,
2530
2625
  {
2531
- [styles$C.open]: isOpen.value
2626
+ [styles$A.open]: isOpen.value
2532
2627
  }
2533
2628
  ]
2534
2629
  }, null, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
@@ -2541,27 +2636,26 @@ const ElmToggle = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
2541
2636
  }, null, 3, "VD_3"), 1, null)
2542
2637
  ], 0, null),
2543
2638
  /* @__PURE__ */ _jsxSorted("div", null, {
2544
- class: styles$C.border
2639
+ class: styles$A.border
2545
2640
  }, null, 3, null),
2546
2641
  /* @__PURE__ */ _jsxSorted("div", {
2547
2642
  class: [
2548
- styles$C.content,
2643
+ styles$A.content,
2549
2644
  {
2550
- [styles$C.open]: isOpen.value
2645
+ [styles$A.open]: isOpen.value
2551
2646
  }
2552
2647
  ]
2553
2648
  }, null, /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "VD_4"), 1, null)
2554
2649
  ], 0, "VD_5");
2555
2650
  }, "ElmToggle_component_Gna1lAQa8FY"));
2556
- const blockquote = "_blockquote_14jkh_1";
2557
- const body$4 = "_body_14jkh_20";
2558
- const icon$4 = "_icon_14jkh_25";
2559
- const styles$B = {
2560
- blockquote,
2651
+ const body$4 = "_body_lqbme_20";
2652
+ const icon$3 = "_icon_lqbme_25";
2653
+ const styles$z = {
2654
+ "elm-block-quote": "_elm-block-quote_lqbme_1",
2561
2655
  body: body$4,
2562
- icon: icon$4,
2563
- "icon-top-left": "_icon-top-left_14jkh_30",
2564
- "icon-bottom-right": "_icon-bottom-right_14jkh_34"
2656
+ icon: icon$3,
2657
+ "icon-top-left": "_icon-top-left_lqbme_30",
2658
+ "icon-bottom-right": "_icon-bottom-right_lqbme_34"
2565
2659
  };
2566
2660
  const ElmBlockQuote = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
2567
2661
  const props = _restProps(_rawProps, [
@@ -2569,7 +2663,7 @@ const ElmBlockQuote = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
2569
2663
  ]);
2570
2664
  return /* @__PURE__ */ _jsxSplit("blockquote", {
2571
2665
  class: [
2572
- styles$B.blockquote,
2666
+ styles$z["elm-block-quote"],
2573
2667
  textStyles.text,
2574
2668
  _rawProps.class
2575
2669
  ],
@@ -2577,39 +2671,38 @@ const ElmBlockQuote = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
2577
2671
  }, _getConstProps(props), [
2578
2672
  /* @__PURE__ */ _jsxSorted("div", null, {
2579
2673
  class: [
2580
- styles$B.icon,
2581
- styles$B["icon-top-left"]
2674
+ styles$z.icon,
2675
+ styles$z["icon-top-left"]
2582
2676
  ]
2583
2677
  }, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
2584
2678
  d: mdiFormatQuoteOpen
2585
2679
  }, null, 3, "Cw_0"), 1, null),
2586
2680
  /* @__PURE__ */ _jsxSorted("div", null, {
2587
- class: styles$B.body
2681
+ class: styles$z.body
2588
2682
  }, /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "Cw_1"), 1, null),
2589
2683
  /* @__PURE__ */ _jsxSorted("div", null, {
2590
2684
  class: [
2591
- styles$B.icon,
2592
- styles$B["icon-bottom-right"]
2685
+ styles$z.icon,
2686
+ styles$z["icon-bottom-right"]
2593
2687
  ]
2594
2688
  }, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
2595
2689
  d: mdiFormatQuoteClose
2596
2690
  }, null, 3, "Cw_2"), 1, null)
2597
2691
  ], 0, "Cw_3");
2598
2692
  }, "ElmBlockQuote_component_Omca9TyRpKI"));
2599
- const callout = "_callout_ul4as_1";
2600
- const header$3 = "_header_ul4as_27";
2601
- const content = "_content_ul4as_36";
2602
- const icon$3 = "_icon_ul4as_40";
2603
- const note = "_note_ul4as_45";
2604
- const tip = "_tip_ul4as_49";
2605
- const important = "_important_ul4as_53";
2606
- const warning = "_warning_ul4as_57";
2607
- const caution = "_caution_ul4as_61";
2608
- const styles$A = {
2609
- callout,
2693
+ const header$3 = "_header_1xydl_27";
2694
+ const content = "_content_1xydl_36";
2695
+ const icon$2 = "_icon_1xydl_40";
2696
+ const note = "_note_1xydl_45";
2697
+ const tip = "_tip_1xydl_49";
2698
+ const important = "_important_1xydl_53";
2699
+ const warning = "_warning_1xydl_57";
2700
+ const caution = "_caution_1xydl_61";
2701
+ const styles$y = {
2702
+ "elm-callout": "_elm-callout_1xydl_1",
2610
2703
  header: header$3,
2611
2704
  content,
2612
- icon: icon$3,
2705
+ icon: icon$2,
2613
2706
  note,
2614
2707
  tip,
2615
2708
  important,
@@ -2632,20 +2725,20 @@ const ElmCallout = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_raw
2632
2725
  ]);
2633
2726
  return /* @__PURE__ */ _jsxSplit("aside", {
2634
2727
  class: [
2635
- styles$A.callout,
2636
- styles$A[_rawProps.type ?? "note"],
2728
+ styles$y["elm-callout"],
2729
+ styles$y[_rawProps.type ?? "note"],
2637
2730
  _rawProps.class
2638
2731
  ],
2639
2732
  style: _wrapProp(_rawProps, "style"),
2640
2733
  ..._getVarProps(props)
2641
2734
  }, _getConstProps(props), [
2642
2735
  /* @__PURE__ */ _jsxSorted("div", null, {
2643
- class: styles$A.header
2736
+ class: styles$y.header
2644
2737
  }, [
2645
2738
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, {
2646
2739
  d: ICON_MAP[_rawProps.type ?? "note"]
2647
2740
  }, {
2648
- class: styles$A.icon,
2741
+ class: styles$y.icon,
2649
2742
  size: "1.25rem"
2650
2743
  }, null, 3, "qp_0"),
2651
2744
  /* @__PURE__ */ _jsxSorted("span", null, null, _fnSignal(_hf0$n, [
@@ -2653,13 +2746,12 @@ const ElmCallout = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_raw
2653
2746
  ]), 1, null)
2654
2747
  ], 1, null),
2655
2748
  /* @__PURE__ */ _jsxSorted("div", null, {
2656
- class: styles$A.content
2749
+ class: styles$y.content
2657
2750
  }, /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "qp_1"), 1, null)
2658
2751
  ], 0, "qp_2");
2659
2752
  }, "ElmCallout_component_vJ404ghu0V8"));
2660
- const hr = "_hr_1lo8v_1";
2661
- const styles$z = {
2662
- hr
2753
+ const styles$x = {
2754
+ "elm-divider": "_elm-divider_8xkqn_1"
2663
2755
  };
2664
2756
  const ElmDivider = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
2665
2757
  const props = _restProps(_rawProps, [
@@ -2667,16 +2759,18 @@ const ElmDivider = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_raw
2667
2759
  ]);
2668
2760
  return /* @__PURE__ */ _jsxSplit("hr", {
2669
2761
  class: [
2670
- styles$z.hr,
2762
+ styles$x["elm-divider"],
2671
2763
  _rawProps.class
2672
2764
  ],
2673
2765
  ..._getVarProps(props)
2674
2766
  }, _getConstProps(props), null, 0, "70_0");
2675
2767
  }, "ElmDivider_component_SDbNuDT10PU"));
2676
- const styles$y = {
2677
- "elmethis-list-common": "_elmethis-list-common_v5znc_1",
2678
- "elmethis-bulleted-list": "_elmethis-bulleted-list_v5znc_9",
2679
- "elmethis-numbered-list": "_elmethis-numbered-list_v5znc_58"
2768
+ const bulleted = "_bulleted_n8430_9";
2769
+ const numbered = "_numbered_n8430_58";
2770
+ const styles$w = {
2771
+ "elm-list": "_elm-list_n8430_1",
2772
+ bulleted,
2773
+ numbered
2680
2774
  };
2681
2775
  const ElmList = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
2682
2776
  const props = _restProps(_rawProps, [
@@ -2688,8 +2782,8 @@ const ElmList = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPro
2688
2782
  return /* @__PURE__ */ _jsxSplit("ol", {
2689
2783
  class: [
2690
2784
  textStyles.text,
2691
- styles$y["elmethis-list-common"],
2692
- styles$y["elmethis-numbered-list"],
2785
+ styles$w["elm-list"],
2786
+ styles$w.numbered,
2693
2787
  _rawProps.class
2694
2788
  ],
2695
2789
  style: _wrapProp(_rawProps, "style"),
@@ -2699,8 +2793,8 @@ const ElmList = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPro
2699
2793
  return /* @__PURE__ */ _jsxSplit("ul", {
2700
2794
  class: [
2701
2795
  textStyles.text,
2702
- styles$y["elmethis-list-common"],
2703
- styles$y["elmethis-bulleted-list"],
2796
+ styles$w["elm-list"],
2797
+ styles$w.bulleted,
2704
2798
  _rawProps.class
2705
2799
  ],
2706
2800
  style: _wrapProp(_rawProps, "style"),
@@ -2708,13 +2802,12 @@ const ElmList = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawPro
2708
2802
  }, _getConstProps(props), /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "jF_2"), 0, "jF_3");
2709
2803
  }
2710
2804
  }, "ElmList_component_aFEzPziW6Gs"));
2711
- const table = "_table_8qd0n_1";
2712
- const caption = "_caption_8qd0n_8";
2713
- const spacing = "_spacing_8qd0n_25";
2714
- const styles$x = {
2715
- table,
2805
+ const caption = "_caption_14qfo_8";
2806
+ const spacing = "_spacing_14qfo_25";
2807
+ const styles$v = {
2808
+ "elm-table": "_elm-table_14qfo_1",
2716
2809
  caption,
2717
- "caption-inner": "_caption-inner_8qd0n_18",
2810
+ "caption-inner": "_caption-inner_14qfo_18",
2718
2811
  spacing
2719
2812
  };
2720
2813
  const HasRowHeaderContext = createContextId("elm.table.HasRowHeader");
@@ -2736,31 +2829,30 @@ const ElmTable = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props)
2736
2829
  useContextProvider(HasRowHeaderContext, hasRowHeader);
2737
2830
  return /* @__PURE__ */ _jsxSplit("table", {
2738
2831
  class: [
2739
- styles$x.table,
2832
+ styles$v["elm-table"],
2740
2833
  textStyles.text,
2741
2834
  props.class
2742
2835
  ],
2743
2836
  ..._getVarProps(rest)
2744
2837
  }, _getConstProps(rest), [
2745
2838
  props.caption && /* @__PURE__ */ _jsxSorted("caption", null, null, /* @__PURE__ */ _jsxSorted("span", null, {
2746
- class: styles$x.caption
2839
+ class: styles$v.caption
2747
2840
  }, [
2748
2841
  /* @__PURE__ */ _jsxSorted("span", null, {
2749
- class: styles$x.spacing
2842
+ class: styles$v.spacing
2750
2843
  }, null, 3, null),
2751
2844
  /* @__PURE__ */ _jsxSorted("span", null, {
2752
- class: styles$x["caption-inner"]
2845
+ class: styles$v["caption-inner"]
2753
2846
  }, /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, _wrapProp(props, "caption"), 1, "Yw_0"), 1, null),
2754
2847
  /* @__PURE__ */ _jsxSorted("span", null, {
2755
- class: styles$x.spacing
2848
+ class: styles$v.spacing
2756
2849
  }, null, 3, null)
2757
2850
  ], 1, null), 1, "Yw_1"),
2758
2851
  /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "Yw_2")
2759
2852
  ], 0, "Yw_3");
2760
2853
  }, "ElmTable_component_UT2AChu46oY"));
2761
- const thead = "_thead_1kvax_1";
2762
- const styles$w = {
2763
- thead
2854
+ const styles$u = {
2855
+ "elm-table-header": "_elm-table-header_jhft7_1"
2764
2856
  };
2765
2857
  const ElmTableHeader = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
2766
2858
  const props = _restProps(_rawProps, [
@@ -2769,7 +2861,7 @@ const ElmTableHeader = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
2769
2861
  useContextProvider(TableSectionContext, "head");
2770
2862
  return /* @__PURE__ */ _jsxSplit("thead", {
2771
2863
  class: [
2772
- styles$w.thead,
2864
+ styles$u["elm-table-header"],
2773
2865
  _rawProps.class
2774
2866
  ],
2775
2867
  ..._getVarProps(props)
@@ -2785,9 +2877,8 @@ const ElmTableBody = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
2785
2877
  ..._getVarProps(props)
2786
2878
  }, _getConstProps(props), /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "d6_0"), 0, "d6_1");
2787
2879
  }, "ElmTableBody_component_cc34lI5xf6Y"));
2788
- const tr = "_tr_8c0na_1";
2789
- const styles$v = {
2790
- tr
2880
+ const styles$t = {
2881
+ "elm-table-row": "_elm-table-row_mkm0q_1"
2791
2882
  };
2792
2883
  const ElmTableRow = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
2793
2884
  const props = _restProps(_rawProps, [
@@ -2795,17 +2886,16 @@ const ElmTableRow = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_ra
2795
2886
  ]);
2796
2887
  return /* @__PURE__ */ _jsxSplit("tr", {
2797
2888
  class: [
2798
- styles$v.tr,
2889
+ styles$t["elm-table-row"],
2799
2890
  _rawProps.class
2800
2891
  ],
2801
2892
  ..._getVarProps(props)
2802
2893
  }, _getConstProps(props), /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "Hb_0"), 0, "Hb_1");
2803
2894
  }, "ElmTableRow_component_9imYSdaY9q8"));
2804
- const common = "_common_i4f8p_1";
2805
- const td = "_td_i4f8p_21";
2806
- const th = "_th_i4f8p_26";
2807
- const styles$u = {
2808
- common,
2895
+ const td = "_td_1a21f_20";
2896
+ const th = "_th_1a21f_25";
2897
+ const styles$s = {
2898
+ "elm-table-cell": "_elm-table-cell_1a21f_1",
2809
2899
  td,
2810
2900
  th
2811
2901
  };
@@ -2828,8 +2918,8 @@ const ElmTableCell = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
2828
2918
  const scope = props.scope ?? (inHead ? "col" : isRowHeader ? "row" : void 0);
2829
2919
  return renderAsTh ? /* @__PURE__ */ _jsxSplit("th", {
2830
2920
  class: [
2831
- styles$u.common,
2832
- styles$u.th,
2921
+ styles$s["elm-table-cell"],
2922
+ styles$s.th,
2833
2923
  props.class
2834
2924
  ],
2835
2925
  style: _wrapProp(props, "style"),
@@ -2837,22 +2927,21 @@ const ElmTableCell = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
2837
2927
  ..._getVarProps(rest)
2838
2928
  }, _getConstProps(rest), props.text != null ? props.text : /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "Vm_0"), 0, "Vm_1") : /* @__PURE__ */ _jsxSplit("td", {
2839
2929
  class: [
2840
- styles$u.common,
2841
- styles$u.td,
2930
+ styles$s["elm-table-cell"],
2931
+ styles$s.td,
2842
2932
  props.class
2843
2933
  ],
2844
2934
  style: _wrapProp(props, "style"),
2845
2935
  ..._getVarProps(rest)
2846
2936
  }, _getConstProps(rest), props.text != null ? props.text : /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "Vm_2"), 0, "Vm_3");
2847
2937
  }, "ElmTableCell_component_cdS0ELa7S1k"));
2848
- const unsupported = "_unsupported_1bixo_1";
2849
- const message = "_message_1bixo_14";
2850
- const icon$2 = "_icon_1bixo_21";
2851
- const details = "_details_1bixo_25";
2852
- const styles$t = {
2853
- unsupported,
2938
+ const message = "_message_xdddx_14";
2939
+ const icon$1 = "_icon_xdddx_21";
2940
+ const details = "_details_xdddx_25";
2941
+ const styles$r = {
2942
+ "elm-unsupported-block": "_elm-unsupported-block_xdddx_1",
2854
2943
  message,
2855
- icon: icon$2,
2944
+ icon: icon$1,
2856
2945
  details
2857
2946
  };
2858
2947
  const ElmUnsupportedBlock = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
@@ -2862,26 +2951,26 @@ const ElmUnsupportedBlock = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlined
2862
2951
  ]);
2863
2952
  return /* @__PURE__ */ _jsxSplit("div", {
2864
2953
  class: [
2865
- styles$t.unsupported,
2954
+ styles$r["elm-unsupported-block"],
2866
2955
  _rawProps.class
2867
2956
  ],
2868
2957
  ..._getVarProps(props)
2869
2958
  }, _getConstProps(props), [
2870
2959
  /* @__PURE__ */ _jsxSorted("div", null, {
2871
- class: styles$t.message
2960
+ class: styles$r.message
2872
2961
  }, [
2873
2962
  /* @__PURE__ */ _jsxSorted("svg", null, {
2874
2963
  viewBox: "0 0 24 24",
2875
2964
  width: "1.25rem",
2876
2965
  height: "1.25rem",
2877
- class: styles$t.icon
2966
+ class: styles$r.icon
2878
2967
  }, /* @__PURE__ */ _jsxSorted("path", null, {
2879
2968
  d: "M13,9H11V7H13M13,17H11V11H13M12,2A10,10 0 0,0 2,12A10,10 0 0,0 12,22A10,10 0 0,0 22,12A10,10 0 0,0 12,2Z"
2880
2969
  }, null, 3, null), 3, null),
2881
2970
  /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, "UNSUPPORTED BLOCK", 3, "90_0")
2882
2971
  ], 1, null),
2883
2972
  _rawProps.details && /* @__PURE__ */ _jsxSorted("div", null, {
2884
- class: styles$t.details
2973
+ class: styles$r.details
2885
2974
  }, /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, _wrapProp(_rawProps, "details"), 1, "90_1"), 1, "90_2")
2886
2975
  ], 0, "90_3");
2887
2976
  }, "ElmUnsupportedBlock_component_yKqwfnlPSP4"));
@@ -3213,7 +3302,7 @@ function compactReasoningMessageEvents(events) {
3213
3302
  function compactEventsExtended(events) {
3214
3303
  return compactEvents(compactReasoningMessageEvents(events));
3215
3304
  }
3216
- const styles$s = {
3305
+ const styles$q = {
3217
3306
  "message-content-user-wrapper": "_message-content-user-wrapper_80z92_8",
3218
3307
  "message-content-user-inner": "_message-content-user-inner_80z92_14",
3219
3308
  "message-content-user-content": "_message-content-user-content_80z92_22",
@@ -3270,25 +3359,25 @@ const ElmAgUiEventRenderer = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inline
3270
3359
  if (!userMsg) break;
3271
3360
  const contents = userMsg.content;
3272
3361
  const userInputComponent = /* @__PURE__ */ _jsxSorted("div", null, {
3273
- class: styles$s["message-content-user-wrapper"]
3362
+ class: styles$q["message-content-user-wrapper"]
3274
3363
  }, /* @__PURE__ */ _jsxSorted("div", null, {
3275
- class: styles$s["message-content-user-inner"]
3364
+ class: styles$q["message-content-user-inner"]
3276
3365
  }, [
3277
3366
  /* @__PURE__ */ _jsxSorted("div", null, {
3278
- class: styles$s["message-content-type"]
3367
+ class: styles$q["message-content-type"]
3279
3368
  }, [
3280
3369
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
3281
- class: styles$s["message-content-icon"],
3370
+ class: styles$q["message-content-icon"],
3282
3371
  d: mdiAccount
3283
3372
  }, null, 3, "Ds_3"),
3284
3373
  /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, "User", 3, "Ds_4"),
3285
3374
  /* @__PURE__ */ _jsxSorted("div", null, {
3286
3375
  "aria-hidden": "true",
3287
- class: styles$s["message-content-spacer"]
3376
+ class: styles$q["message-content-spacer"]
3288
3377
  }, null, 3, null)
3289
3378
  ], 1, null),
3290
3379
  /* @__PURE__ */ _jsxSorted("div", null, {
3291
- class: styles$s["message-content-user-content"]
3380
+ class: styles$q["message-content-user-content"]
3292
3381
  }, typeof contents === "string" ? /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, contents, 1, "Ds_5") : contents.map((item, i) => /* @__PURE__ */ _jsxSorted("span", null, null, renderInputContent(item), 1, i)), 1, null)
3293
3382
  ], 1, null), 1, "Ds_6");
3294
3383
  components.push(userInputComponent);
@@ -3304,29 +3393,30 @@ const ElmAgUiEventRenderer = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inline
3304
3393
  };
3305
3394
  return /* @__PURE__ */ _jsxSorted("div", {
3306
3395
  class: [
3307
- styles$s["elm-my-something"],
3396
+ styles$q["elm-my-something"],
3308
3397
  _rawProps.class
3309
3398
  ],
3310
3399
  style: _wrapProp(_rawProps, "style")
3311
3400
  }, null, render(_rawProps.events), 1, "Ds_7");
3312
3401
  }, "ElmAgUiEventRenderer_component_ifhto4pMkTc"));
3313
- const input$1 = "_input_1cg4b_33";
3314
- const styles$r = {
3315
- "elm-ag-ui-input-wrapper": "_elm-ag-ui-input-wrapper_1cg4b_1",
3316
- "picker-container": "_picker-container_1cg4b_9",
3317
- "elm-ag-ui-input": "_elm-ag-ui-input_1cg4b_1",
3402
+ const card = "_card_1st6f_22";
3403
+ const input$1 = "_input_1st6f_33";
3404
+ const styles$p = {
3405
+ "elm-ag-ui-input": "_elm-ag-ui-input_1st6f_1",
3406
+ "picker-container": "_picker-container_1st6f_9",
3407
+ card,
3318
3408
  input: input$1,
3319
- "button-row": "_button-row_1cg4b_56",
3320
- "plus-button": "_plus-button_1cg4b_64",
3321
- "submit-button": "_submit-button_1cg4b_81"
3409
+ "button-row": "_button-row_1st6f_56",
3410
+ "plus-button": "_plus-button_1st6f_64",
3411
+ "submit-button": "_submit-button_1st6f_81"
3322
3412
  };
3323
3413
  const panel$1 = "_panel_8yo2s_1";
3324
- const empty = "_empty_8yo2s_16";
3414
+ const empty$1 = "_empty_8yo2s_16";
3325
3415
  const form = "_form_8yo2s_86";
3326
- const error$1 = "_error_8yo2s_135";
3327
- const styles$q = {
3416
+ const error$2 = "_error_8yo2s_135";
3417
+ const styles$o = {
3328
3418
  panel: panel$1,
3329
- empty,
3419
+ empty: empty$1,
3330
3420
  "prompt-row": "_prompt-row_8yo2s_23",
3331
3421
  "prompt-row-active": "_prompt-row-active_8yo2s_34",
3332
3422
  "prompt-head": "_prompt-head_8yo2s_38",
@@ -3340,104 +3430,13 @@ const styles$q = {
3340
3430
  "form-actions": "_form-actions_8yo2s_92",
3341
3431
  "use-button": "_use-button_8yo2s_98",
3342
3432
  "cancel-button": "_cancel-button_8yo2s_119",
3343
- error: error$1,
3433
+ error: error$2,
3344
3434
  "field-label": "_field-label_8yo2s_140",
3345
3435
  "field-name": "_field-name_8yo2s_147",
3346
3436
  "field-required": "_field-required_8yo2s_152",
3347
3437
  "field-input": "_field-input_8yo2s_157",
3348
3438
  "field-hint": "_field-hint_8yo2s_178"
3349
3439
  };
3350
- const open = "_open_1ijyc_17";
3351
- const styles$p = {
3352
- "use-modal": "_use-modal_1ijyc_1",
3353
- open
3354
- };
3355
- const useModal = (options = {}) => {
3356
- const delay = options.delay ?? 200;
3357
- const isOpen = useSignal(false);
3358
- const isShown = useSignal(false);
3359
- const hideGen = useSignal(0);
3360
- const hideTimerId = useSignal(void 0);
3361
- useTaskQrl(/* @__PURE__ */ inlinedQrl(({ cleanup }) => {
3362
- const hideTimerId2 = _captures[0];
3363
- cleanup(() => {
3364
- if (hideTimerId2.value !== void 0) clearTimeout(hideTimerId2.value);
3365
- });
3366
- }, "useModal_useTask_872zagKnsz0", [
3367
- hideTimerId
3368
- ]));
3369
- const show2 = /* @__PURE__ */ inlinedQrl(() => {
3370
- const hideGen2 = _captures[0], isOpen2 = _captures[1], isShown2 = _captures[2];
3371
- hideGen2.value++;
3372
- isOpen2.value = true;
3373
- isShown2.value = true;
3374
- }, "useModal_show_7khcPaT0Cx8", [
3375
- hideGen,
3376
- isOpen,
3377
- isShown
3378
- ]);
3379
- const hide = /* @__PURE__ */ inlinedQrl(() => {
3380
- const delay2 = _captures[0], hideGen2 = _captures[1], hideTimerId2 = _captures[2], isOpen2 = _captures[3], isShown2 = _captures[4];
3381
- const gen = ++hideGen2.value;
3382
- isShown2.value = false;
3383
- hideTimerId2.value = noSerialize(setTimeout(() => {
3384
- if (hideGen2.value === gen) {
3385
- isOpen2.value = false;
3386
- }
3387
- hideTimerId2.value = void 0;
3388
- }, delay2));
3389
- }, "useModal_hide_mSugMHYElis", [
3390
- delay,
3391
- hideGen,
3392
- hideTimerId,
3393
- isOpen,
3394
- isShown
3395
- ]);
3396
- const toggle2 = /* @__PURE__ */ inlinedQrl(() => {
3397
- const hide2 = _captures[0], isShown2 = _captures[1], show22 = _captures[2];
3398
- if (isShown2.value) {
3399
- hide2();
3400
- } else {
3401
- show22();
3402
- }
3403
- }, "useModal_toggle_eBYb4dHabL0", [
3404
- hide,
3405
- isShown,
3406
- show2
3407
- ]);
3408
- const Modal = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl(() => {
3409
- const delay2 = _captures[0], hide2 = _captures[1], isOpen2 = _captures[2], isShown2 = _captures[3];
3410
- return /* @__PURE__ */ _jsxSorted("div", {
3411
- class: [
3412
- styles$p["use-modal"],
3413
- {
3414
- [styles$p["open"]]: isShown2.value
3415
- }
3416
- ],
3417
- style: {
3418
- "--elmethis-scoped-delay": `${delay2}ms`
3419
- }
3420
- }, {
3421
- "q-e:click": hide2
3422
- }, isOpen2.value && /* @__PURE__ */ _jsxSorted("div", null, {
3423
- role: "dialog",
3424
- "stoppropagation:click": true
3425
- }, /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "GG_0"), 1, "GG_1"), 1, "GG_2");
3426
- }, "useModal_Modal_component_H3EY0g5t53g", [
3427
- delay,
3428
- hide,
3429
- isOpen,
3430
- isShown
3431
- ]));
3432
- return {
3433
- Modal,
3434
- isOpen,
3435
- isShown,
3436
- show: show2,
3437
- hide,
3438
- toggle: toggle2
3439
- };
3440
- };
3441
3440
  const _hf0$l = (p0) => p0.descriptor.name;
3442
3441
  const _hf1$b = (p0) => p0.descriptor.description;
3443
3442
  const _hf2$8 = (p0, p1) => p1.values[p0.name] ?? "";
@@ -3552,12 +3551,12 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlined
3552
3551
  return /* @__PURE__ */ _jsxSorted(Fragment$1, null, null, [
3553
3552
  /* @__PURE__ */ _jsxSorted("div", {
3554
3553
  class: [
3555
- styles$q.panel,
3554
+ styles$o.panel,
3556
3555
  _rawProps.class
3557
3556
  ],
3558
3557
  style: _wrapProp(_rawProps, "style")
3559
3558
  }, null, _rawProps.prompts.length === 0 ? /* @__PURE__ */ _jsxSorted("div", null, {
3560
- class: styles$q.empty
3559
+ class: styles$o.empty
3561
3560
  }, "No prompts available.", 3, "O0_0") : _rawProps.prompts.map((p, idx) => {
3562
3561
  const qrl_4294901764 = /* @__PURE__ */ inlinedQrl((_, _1, p2) => {
3563
3562
  const onRowClick$2 = _captures[0];
@@ -3567,41 +3566,41 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlined
3567
3566
  ]);
3568
3567
  return /* @__PURE__ */ _jsxSorted("div", {
3569
3568
  class: [
3570
- styles$q["prompt-row"],
3571
- idx === _rawProps.activeIndex && styles$q["prompt-row-active"]
3569
+ styles$o["prompt-row"],
3570
+ idx === _rawProps.activeIndex && styles$o["prompt-row-active"]
3572
3571
  ],
3573
3572
  "q-e:click": qrl_4294901764,
3574
3573
  "q:p": p
3575
3574
  }, null, [
3576
3575
  /* @__PURE__ */ _jsxSorted("div", null, {
3577
- class: styles$q["prompt-head"]
3576
+ class: styles$o["prompt-head"]
3578
3577
  }, /* @__PURE__ */ _jsxSorted("span", null, {
3579
- class: styles$q["prompt-name"]
3578
+ class: styles$o["prompt-name"]
3580
3579
  }, _wrapProp(p, "name"), 1, null), 1, null),
3581
3580
  p.description && /* @__PURE__ */ _jsxSorted("span", null, {
3582
- class: styles$q["prompt-description"]
3581
+ class: styles$o["prompt-description"]
3583
3582
  }, _wrapProp(p, "description"), 1, "O0_1")
3584
3583
  ], 4, p.key);
3585
3584
  }), 1, null),
3586
3585
  /* @__PURE__ */ _jsxSorted(modal2.Modal, null, null, /* @__PURE__ */ _jsxSorted("div", null, {
3587
- class: styles$q["modal-card"]
3586
+ class: styles$o["modal-card"]
3588
3587
  }, active2.descriptor && /* @__PURE__ */ _jsxSorted(Fragment$1, null, null, [
3589
3588
  /* @__PURE__ */ _jsxSorted("div", null, {
3590
- class: styles$q["modal-header"]
3589
+ class: styles$o["modal-header"]
3591
3590
  }, [
3592
3591
  /* @__PURE__ */ _jsxSorted("span", null, {
3593
- class: styles$q["modal-title"]
3592
+ class: styles$o["modal-title"]
3594
3593
  }, _fnSignal(_hf0$l, [
3595
3594
  active2
3596
3595
  ]), 3, null),
3597
3596
  active2.descriptor.description && /* @__PURE__ */ _jsxSorted("span", null, {
3598
- class: styles$q["modal-description"]
3597
+ class: styles$o["modal-description"]
3599
3598
  }, _fnSignal(_hf1$b, [
3600
3599
  active2
3601
3600
  ]), 3, "O0_2")
3602
3601
  ], 1, null),
3603
3602
  /* @__PURE__ */ _jsxSorted("div", null, {
3604
- class: styles$q.form
3603
+ class: styles$o.form
3605
3604
  }, [
3606
3605
  (active2.descriptor.arguments ?? []).map((a, idx) => {
3607
3606
  const qrl_4294901765 = /* @__PURE__ */ inlinedQrl((_, el, a2) => {
@@ -3617,14 +3616,14 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlined
3617
3616
  active2
3618
3617
  ]);
3619
3618
  return /* @__PURE__ */ _jsxSorted("label", null, {
3620
- class: styles$q["field-label"]
3619
+ class: styles$o["field-label"]
3621
3620
  }, [
3622
3621
  /* @__PURE__ */ _jsxSorted("span", null, {
3623
- class: styles$q["field-name"]
3622
+ class: styles$o["field-name"]
3624
3623
  }, [
3625
3624
  _wrapProp(a, "name"),
3626
3625
  a.required && /* @__PURE__ */ _jsxSorted("span", null, {
3627
- class: styles$q["field-required"]
3626
+ class: styles$o["field-required"]
3628
3627
  }, "*", 3, "O0_3")
3629
3628
  ], 1, null),
3630
3629
  a.enum && a.enum.length > 0 ? /* @__PURE__ */ _jsxSorted("select", {
@@ -3637,7 +3636,7 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlined
3637
3636
  active2
3638
3637
  ])
3639
3638
  }, {
3640
- class: styles$q["field-input"]
3639
+ class: styles$o["field-input"]
3641
3640
  }, [
3642
3641
  !a.required && /* @__PURE__ */ _jsxSorted("option", null, {
3643
3642
  value: ""
@@ -3665,29 +3664,29 @@ const ElmAgUiPromptPicker = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlined
3665
3664
  active2
3666
3665
  ])
3667
3666
  }, {
3668
- class: styles$q["field-input"],
3667
+ class: styles$o["field-input"],
3669
3668
  type: "text"
3670
3669
  }, null, 6, "O0_6"),
3671
3670
  a.enum && a.description && /* @__PURE__ */ _jsxSorted("span", null, {
3672
- class: styles$q["field-hint"]
3671
+ class: styles$o["field-hint"]
3673
3672
  }, _wrapProp(a, "description"), 1, "O0_7")
3674
3673
  ], 1, a.name);
3675
3674
  }),
3676
3675
  active2.error && /* @__PURE__ */ _jsxSorted("div", null, {
3677
- class: styles$q.error
3676
+ class: styles$o.error
3678
3677
  }, _wrapProp(active2, "error"), 3, "O0_8")
3679
3678
  ], 1, null),
3680
3679
  /* @__PURE__ */ _jsxSorted("div", null, {
3681
- class: styles$q["form-actions"]
3680
+ class: styles$o["form-actions"]
3682
3681
  }, [
3683
3682
  /* @__PURE__ */ _jsxSorted("button", null, {
3684
3683
  type: "button",
3685
- class: styles$q["cancel-button"],
3684
+ class: styles$o["cancel-button"],
3686
3685
  "q-e:click": onCancel$
3687
3686
  }, "Cancel", 3, null),
3688
3687
  /* @__PURE__ */ _jsxSorted("button", null, {
3689
3688
  type: "button",
3690
- class: styles$q["use-button"],
3689
+ class: styles$o["use-button"],
3691
3690
  disabled: _wrapProp(active2, "submitting"),
3692
3691
  "q-e:click": onSubmit$
3693
3692
  }, _fnSignal(_hf4$3, [
@@ -3834,7 +3833,7 @@ const ElmAgUiInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
3834
3833
  ]);
3835
3834
  return /* @__PURE__ */ _jsxSorted("div", {
3836
3835
  class: [
3837
- styles$r["elm-ag-ui-input-wrapper"],
3836
+ styles$p["elm-ag-ui-input"],
3838
3837
  _rawProps.class
3839
3838
  ],
3840
3839
  style: _wrapProp(_rawProps, "style")
@@ -3845,7 +3844,7 @@ const ElmAgUiInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
3845
3844
  isPickerOpen,
3846
3845
  slashRange
3847
3846
  ]),
3848
- class: styles$r["picker-container"]
3847
+ class: styles$p["picker-container"]
3849
3848
  }, /* @__PURE__ */ _jsxSorted(ElmAgUiPromptPicker, null, {
3850
3849
  prompts: _fnSignal(_hf1$a, [
3851
3850
  _rawProps,
@@ -3861,7 +3860,7 @@ const ElmAgUiInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
3861
3860
  }, null, 3, "C8_0"), 1, "C8_1"),
3862
3861
  /* @__PURE__ */ _jsxSorted("div", null, {
3863
3862
  class: [
3864
- styles$r["elm-ag-ui-input"],
3863
+ styles$p["card"],
3865
3864
  textStyles["text"]
3866
3865
  ]
3867
3866
  }, [
@@ -3870,12 +3869,12 @@ const ElmAgUiInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
3870
3869
  }, {
3871
3870
  name: "prompt",
3872
3871
  "aria-label": "Prompt",
3873
- class: styles$r["input"],
3872
+ class: styles$p["input"],
3874
3873
  "q-e:input": handleInput$,
3875
3874
  "q-e:keydown": handleKeyDown$
3876
3875
  }, null, 3, null),
3877
3876
  /* @__PURE__ */ _jsxSorted("div", null, {
3878
- class: styles$r["button-row"]
3877
+ class: styles$p["button-row"]
3879
3878
  }, [
3880
3879
  hasPicker && /* @__PURE__ */ _jsxSorted("div", {
3881
3880
  "q-e:click": /* @__PURE__ */ inlinedQrl((_, _1, isPickerOpen2, textAreaRef2) => {
@@ -3894,7 +3893,7 @@ const ElmAgUiInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
3894
3893
  textAreaRef
3895
3894
  ]
3896
3895
  }, {
3897
- class: styles$r["plus-button"],
3896
+ class: styles$p["plus-button"],
3898
3897
  "aria-label": _fnSignal(_hf3$6, [
3899
3898
  isPickerOpen
3900
3899
  ])
@@ -3907,7 +3906,7 @@ const ElmAgUiInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
3907
3906
  /* @__PURE__ */ _jsxSorted("div", {
3908
3907
  "q-e:click": _rawProps.isRunning ? _rawProps.onAbort$ : onSubmit
3909
3908
  }, {
3910
- class: styles$r["submit-button"]
3909
+ class: styles$p["submit-button"]
3911
3910
  }, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, {
3912
3911
  d: _rawProps.isRunning ? mdiStop : mdiSend
3913
3912
  }, {
@@ -3918,7 +3917,7 @@ const ElmAgUiInput = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_r
3918
3917
  ], 1, null)
3919
3918
  ], 1, "C8_5");
3920
3919
  }, "ElmAgUiInput_component_Q6DXfNqyu3E"));
3921
- const styles$o = {
3920
+ const styles$n = {
3922
3921
  "message-content-assistant-wrapper": "_message-content-assistant-wrapper_1jrzm_1",
3923
3922
  "message-content-user-wrapper": "_message-content-user-wrapper_1jrzm_8",
3924
3923
  "message-content-user-inner": "_message-content-user-inner_1jrzm_14",
@@ -3929,8 +3928,8 @@ const styles$o = {
3929
3928
  "clickable-icon": "_clickable-icon_1jrzm_51",
3930
3929
  "reasoning-running": "_reasoning-running_1jrzm_65"
3931
3930
  };
3932
- const styles$n = {
3933
- "markdown-body": "_markdown-body_jq5lk_1"
3931
+ const styles$m = {
3932
+ "elm-markdown": "_elm-markdown_14gxe_1"
3934
3933
  };
3935
3934
  const _hf0$j = (p0) => p0.ordered ? "ordered" : "unordered";
3936
3935
  const renderByToken = (tokens) => {
@@ -4060,7 +4059,7 @@ const ElmMarkdown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
4060
4059
  const rest = _restProps(props, [
4061
4060
  "class",
4062
4061
  "markdown",
4063
- "streaming"
4062
+ "isStreaming"
4064
4063
  ]);
4065
4064
  const stableTokens = useSignal([]);
4066
4065
  const tailTokens = useSignal([]);
@@ -4070,7 +4069,7 @@ const ElmMarkdown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
4070
4069
  const allTokens = marked.setOptions({
4071
4070
  gfm: true
4072
4071
  }).lexer(md);
4073
- if (props2.streaming && allTokens.length > 0) {
4072
+ if (props2.isStreaming && allTokens.length > 0) {
4074
4073
  const newStable = allTokens.slice(0, -1);
4075
4074
  if (newStable.length !== stableTokens2.value.length) {
4076
4075
  stableTokens2.value = newStable;
@@ -4087,7 +4086,7 @@ const ElmMarkdown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
4087
4086
  ]));
4088
4087
  return /* @__PURE__ */ _jsxSplit("div", {
4089
4088
  class: [
4090
- styles$n["markdown-body"],
4089
+ styles$m["elm-markdown"],
4091
4090
  props.class
4092
4091
  ],
4093
4092
  ..._getVarProps(rest)
@@ -4099,7 +4098,7 @@ const ElmMarkdown = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
4099
4098
  ], 0, "c0_5");
4100
4099
  }, "ElmMarkdown_component_MjKh8ZU4JE4"));
4101
4100
  const summary = "_summary_1ya7x_2";
4102
- const styles$m = {
4101
+ const styles$l = {
4103
4102
  "elm-ag-ui-tool-execution": "_elm-ag-ui-tool-execution_1ya7x_1",
4104
4103
  summary
4105
4104
  };
@@ -4251,7 +4250,7 @@ const ElmAgUiToolExecution = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inline
4251
4250
  ]));
4252
4251
  return /* @__PURE__ */ _jsxSorted("div", {
4253
4252
  class: [
4254
- styles$m["elm-ag-ui-tool-execution"],
4253
+ styles$l["elm-ag-ui-tool-execution"],
4255
4254
  _rawProps.class
4256
4255
  ],
4257
4256
  style: _fnSignal(_hf0$i, [
@@ -4264,7 +4263,7 @@ const ElmAgUiToolExecution = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inline
4264
4263
  /* @__PURE__ */ _jsxSorted("div", {
4265
4264
  "q:slot": "summary"
4266
4265
  }, {
4267
- class: styles$m.summary
4266
+ class: styles$l.summary
4268
4267
  }, [
4269
4268
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4270
4269
  d: mdiHammerScrewdriver,
@@ -4273,7 +4272,7 @@ const ElmAgUiToolExecution = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inline
4273
4272
  /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, _wrapProp(_rawProps, "toolName"), 1, "o2_1")
4274
4273
  ], 1, null),
4275
4274
  /* @__PURE__ */ _jsxSorted("div", null, {
4276
- class: styles$m.summary
4275
+ class: styles$l.summary
4277
4276
  }, [
4278
4277
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, {
4279
4278
  color: _rawProps.toolEventType === EventType.TOOL_CALL_START ? "var(--elmethis-color-accent-info)" : "var(--elmethis-color-accent-success)"
@@ -4290,7 +4289,7 @@ const ElmAgUiToolExecution = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inline
4290
4289
  /* @__PURE__ */ _jsxSorted("div", {
4291
4290
  "q:slot": "summary"
4292
4291
  }, {
4293
- class: styles$m.summary
4292
+ class: styles$l.summary
4294
4293
  }, [
4295
4294
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4296
4295
  d: mdiCodeJson,
@@ -4304,7 +4303,7 @@ const ElmAgUiToolExecution = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inline
4304
4303
  }, null, 3, "o2_6")
4305
4304
  ], 1, "o2_7"),
4306
4305
  _rawProps.toolEventType === EventType.TOOL_CALL_START ? null : /* @__PURE__ */ _jsxSorted("div", null, {
4307
- class: styles$m.summary
4306
+ class: styles$l.summary
4308
4307
  }, [
4309
4308
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, {
4310
4309
  color: _rawProps.toolEventType === EventType.TOOL_CALL_ARGS || _rawProps.toolEventType === EventType.TOOL_CALL_END ? "var(--elmethis-color-accent-info)" : "var(--elmethis-color-accent-success)"
@@ -4321,7 +4320,7 @@ const ElmAgUiToolExecution = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inline
4321
4320
  /* @__PURE__ */ _jsxSorted("div", {
4322
4321
  "q:slot": "summary"
4323
4322
  }, {
4324
- class: styles$m.summary
4323
+ class: styles$l.summary
4325
4324
  }, [
4326
4325
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4327
4326
  d: mdiCodeJson,
@@ -4346,7 +4345,7 @@ const ElmCopyIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_ra
4346
4345
  }, "ElmCopyIcon_component_F4DnU406zxQ"));
4347
4346
  const image = "_image_1io0s_29";
4348
4347
  const text$1 = "_text_1io0s_35";
4349
- const styles$l = {
4348
+ const styles$k = {
4350
4349
  "elm-ag-ui-input-content": "_elm-ag-ui-input-content_1io0s_1",
4351
4350
  "media-component-container": "_media-component-container_1io0s_8",
4352
4351
  "media-component": "_media-component_1io0s_8",
@@ -4361,7 +4360,7 @@ const _hf1$9 = (p0) => p0.source.mimeType;
4361
4360
  const ElmAgUiInputContent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
4362
4361
  const renderTextContent = (text2) => {
4363
4362
  return /* @__PURE__ */ _jsxSorted("div", null, {
4364
- class: styles$l["message-content-user-content"]
4363
+ class: styles$k["message-content-user-content"]
4365
4364
  }, text2, 1, "xj_0");
4366
4365
  };
4367
4366
  if (typeof _rawProps.inputContent === "string") {
@@ -4384,22 +4383,22 @@ const ElmAgUiInputContent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlined
4384
4383
  case "document": {
4385
4384
  return /* @__PURE__ */ _jsxSorted(Fragment$1, null, null, /* @__PURE__ */ _jsxSorted("div", {
4386
4385
  class: [
4387
- styles$l["media-component"],
4386
+ styles$k["media-component"],
4388
4387
  _rawProps.class
4389
4388
  ],
4390
4389
  style: _wrapProp(_rawProps, "style")
4391
4390
  }, null, [
4392
4391
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4393
- class: styles$l["type-icon"],
4392
+ class: styles$k["type-icon"],
4394
4393
  d: mdiTextBox
4395
4394
  }, null, 3, "xj_3"),
4396
4395
  /* @__PURE__ */ _jsxSorted("div", null, null, /* @__PURE__ */ _jsxSorted("pre", null, {
4397
- class: styles$l.text
4396
+ class: styles$k.text
4398
4397
  }, _fnSignal(_hf0$h, [
4399
4398
  content2
4400
4399
  ]), 1, null), 1, null),
4401
4400
  /* @__PURE__ */ _jsxSorted("div", null, {
4402
- class: styles$l["mime-type-label"]
4401
+ class: styles$k["mime-type-label"]
4403
4402
  }, _fnSignal(_hf1$9, [
4404
4403
  content2
4405
4404
  ]), 1, null)
@@ -4413,24 +4412,24 @@ const ElmAgUiInputContent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlined
4413
4412
  const url = source.type === "data" ? `data:${source.mimeType};base64,${source.value}` : source.value;
4414
4413
  mediaComponents.push(/* @__PURE__ */ _jsxSorted("div", {
4415
4414
  class: [
4416
- styles$l["media-component"],
4415
+ styles$k["media-component"],
4417
4416
  _rawProps.class
4418
4417
  ],
4419
4418
  style: _wrapProp(_rawProps, "style")
4420
4419
  }, null, [
4421
4420
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4422
- class: styles$l["type-icon"],
4421
+ class: styles$k["type-icon"],
4423
4422
  d: mdiImage
4424
4423
  }, null, 3, "xj_6"),
4425
4424
  /* @__PURE__ */ _jsxSorted("img", {
4426
4425
  src: url
4427
4426
  }, {
4428
- class: styles$l.image,
4427
+ class: styles$k.image,
4429
4428
  width: 96,
4430
4429
  height: 96
4431
4430
  }, null, 3, null),
4432
4431
  source.mimeType && /* @__PURE__ */ _jsxSorted("div", null, {
4433
- class: styles$l["mime-type-label"]
4432
+ class: styles$k["mime-type-label"]
4434
4433
  }, _wrapProp(source, "mimeType"), 1, "xj_7")
4435
4434
  ], 1, "xj_8"));
4436
4435
  break;
@@ -4438,10 +4437,10 @@ const ElmAgUiInputContent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlined
4438
4437
  }
4439
4438
  }
4440
4439
  return /* @__PURE__ */ _jsxSorted("div", null, {
4441
- class: styles$l["elm-ag-ui-input-content"]
4440
+ class: styles$k["elm-ag-ui-input-content"]
4442
4441
  }, [
4443
4442
  /* @__PURE__ */ _jsxSorted("div", null, {
4444
- class: styles$l["media-component-container"]
4443
+ class: styles$k["media-component-container"]
4445
4444
  }, mediaComponents, 1, null),
4446
4445
  texts.length > 0 && renderTextContent(texts.join("\n"))
4447
4446
  ], 1, "xj_9");
@@ -4488,27 +4487,27 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inli
4488
4487
  return /* @__PURE__ */ _jsxSorted(Fragment$1, null, null, [
4489
4488
  message2.toolCalls?.map((toolCall) => renderTool(toolCall, _rawProps.messages)),
4490
4489
  message2.content != null && /* @__PURE__ */ _jsxSorted("div", null, {
4491
- class: styles$o["message-content-assistant-wrapper"]
4490
+ class: styles$n["message-content-assistant-wrapper"]
4492
4491
  }, [
4493
4492
  /* @__PURE__ */ _jsxSorted("div", null, {
4494
- class: styles$o["message-content-type"]
4493
+ class: styles$n["message-content-type"]
4495
4494
  }, [
4496
4495
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4497
- class: styles$o["message-content-icon"],
4496
+ class: styles$n["message-content-icon"],
4498
4497
  d: mdiCreation
4499
4498
  }, null, 3, "nO_2"),
4500
4499
  /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, "Assistant", 3, "nO_3"),
4501
4500
  /* @__PURE__ */ _jsxSorted("div", null, {
4502
4501
  "aria-hidden": "true",
4503
- class: styles$o["message-content-spacer"]
4502
+ class: styles$n["message-content-spacer"]
4504
4503
  }, null, 3, null)
4505
4504
  ], 1, null),
4506
4505
  /* @__PURE__ */ _jsxSorted(ElmMarkdown, null, {
4507
4506
  markdown: _wrapProp(message2, "content"),
4508
- streaming: true
4507
+ isStreaming: true
4509
4508
  }, null, 3, "nO_4"),
4510
4509
  !_rawProps.isRunning && /* @__PURE__ */ _jsxSorted("div", null, {
4511
- class: styles$o["message-content-assistant-actions"]
4510
+ class: styles$n["message-content-assistant-actions"]
4512
4511
  }, [
4513
4512
  /* @__PURE__ */ _jsxSorted(ElmCopyIcon, null, {
4514
4513
  content: _wrapProp(message2, "content")
@@ -4516,7 +4515,7 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inli
4516
4515
  /* @__PURE__ */ _jsxSorted("span", {
4517
4516
  "q-e:click": _rawProps.handleRetry$
4518
4517
  }, {
4519
- class: styles$o["clickable-icon"]
4518
+ class: styles$n["clickable-icon"]
4520
4519
  }, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4521
4520
  d: mdiRefresh,
4522
4521
  size: "1.25rem"
@@ -4566,7 +4565,7 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inli
4566
4565
  opacity: 0.5
4567
4566
  },
4568
4567
  markdown: _wrapProp(mdProps, "markdown"),
4569
- streaming: true
4568
+ isStreaming: true
4570
4569
  }, null, 3, "nO_10"), 1, "nO_11");
4571
4570
  }, "ElmAgUiMessageRenderer_component_render_Reasoning_component_ReasoningMarkdown_component_shHwKkQAaC8"));
4572
4571
  return /* @__PURE__ */ _jsxSorted(ElmToggle, null, {
@@ -4576,22 +4575,22 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inli
4576
4575
  /* @__PURE__ */ _jsxSorted("div", {
4577
4576
  "q:slot": "summary"
4578
4577
  }, {
4579
- class: styles$o["message-content-type"]
4578
+ class: styles$n["message-content-type"]
4580
4579
  }, [
4581
4580
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4582
- class: styles$o["message-content-icon"],
4581
+ class: styles$n["message-content-icon"],
4583
4582
  d: mdiLightbulbOn
4584
4583
  }, null, 3, "nO_12"),
4585
4584
  /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, "Reasoning", 3, "nO_13"),
4586
4585
  /* @__PURE__ */ _jsxSorted("div", null, {
4587
4586
  "aria-hidden": "true",
4588
- class: styles$o["message-content-spacer"]
4587
+ class: styles$n["message-content-spacer"]
4589
4588
  }, null, 3, null)
4590
4589
  ], 1, null),
4591
4590
  /* @__PURE__ */ _jsxSorted("div", {
4592
4591
  class: [
4593
4592
  {
4594
- [styles$o["reasoning-running"]]: props.isReasoningRunning
4593
+ [styles$n["reasoning-running"]]: props.isReasoningRunning
4595
4594
  }
4596
4595
  ],
4597
4596
  ref: reasoningRef
@@ -4623,21 +4622,21 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inli
4623
4622
  return "";
4624
4623
  };
4625
4624
  return /* @__PURE__ */ _jsxSorted("div", null, {
4626
- class: styles$o["message-content-user-wrapper"]
4625
+ class: styles$n["message-content-user-wrapper"]
4627
4626
  }, /* @__PURE__ */ _jsxSorted("div", null, {
4628
- class: styles$o["message-content-user-inner"]
4627
+ class: styles$n["message-content-user-inner"]
4629
4628
  }, [
4630
4629
  /* @__PURE__ */ _jsxSorted("div", null, {
4631
- class: styles$o["message-content-type"]
4630
+ class: styles$n["message-content-type"]
4632
4631
  }, [
4633
4632
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4634
- class: styles$o["message-content-icon"],
4633
+ class: styles$n["message-content-icon"],
4635
4634
  d: mdiAccount
4636
4635
  }, null, 3, "nO_17"),
4637
4636
  /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, "User", 3, "nO_18"),
4638
4637
  /* @__PURE__ */ _jsxSorted("div", null, {
4639
4638
  "aria-hidden": "true",
4640
- class: styles$o["message-content-spacer"]
4639
+ class: styles$n["message-content-spacer"]
4641
4640
  }, null, 3, null)
4642
4641
  ], 1, null),
4643
4642
  /* @__PURE__ */ _jsxSorted(ElmAgUiInputContent, null, {
@@ -4652,25 +4651,25 @@ const ElmAgUiMessageRenderer = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inli
4652
4651
  };
4653
4652
  return /* @__PURE__ */ _jsxSorted("div", {
4654
4653
  class: [
4655
- styles$o["elm-my-something"],
4654
+ styles$n["elm-my-something"],
4656
4655
  _rawProps.class
4657
4656
  ],
4658
4657
  style: _wrapProp(_rawProps, "style")
4659
4658
  }, null, _rawProps.messages.map((msg, i) => /* @__PURE__ */ _jsxSorted("div", null, null, render(msg, i), 1, msg.id ?? i)), 1, "nO_22");
4660
4659
  }, "ElmAgUiMessageRenderer_component_0OscNQKsfZA"));
4661
- const messages = "_messages_11gxr_20";
4662
- const error = "_error_11gxr_27";
4663
- const styles$k = {
4664
- "use-agent": "_use-agent_11gxr_1",
4665
- "agent-container": "_agent-container_11gxr_14",
4660
+ const messages = "_messages_q1w8g_20";
4661
+ const error$1 = "_error_q1w8g_27";
4662
+ const styles$j = {
4663
+ "elm-ag-ui-agent": "_elm-ag-ui-agent_q1w8g_1",
4664
+ "agent-container": "_agent-container_q1w8g_14",
4666
4665
  messages,
4667
- error,
4668
- "agent-input-container": "_agent-input-container_11gxr_40",
4669
- "agent-input": "_agent-input_11gxr_40",
4670
- "prompt-template-container": "_prompt-template-container_11gxr_52",
4671
- "prompt-template-tip": "_prompt-template-tip_11gxr_61",
4672
- "prompt-template-tip-icon": "_prompt-template-tip-icon_11gxr_71",
4673
- "clickable-icon": "_clickable-icon_11gxr_84"
4666
+ error: error$1,
4667
+ "agent-input-container": "_agent-input-container_q1w8g_40",
4668
+ "agent-input": "_agent-input_q1w8g_40",
4669
+ "prompt-template-container": "_prompt-template-container_q1w8g_52",
4670
+ "prompt-template-tip": "_prompt-template-tip_q1w8g_61",
4671
+ "prompt-template-tip-icon": "_prompt-template-tip-icon_q1w8g_71",
4672
+ "clickable-icon": "_clickable-icon_q1w8g_84"
4674
4673
  };
4675
4674
  const _hf0$f = (p0) => ({
4676
4675
  "--agent-ui-width": p0.width ?? "clamp(300px, 100%, 600px)",
@@ -4736,7 +4735,7 @@ const ElmAgUiAgent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
4736
4735
  ]);
4737
4736
  return /* @__PURE__ */ _jsxSorted("div", {
4738
4737
  class: [
4739
- styles$k["use-agent"],
4738
+ styles$j["elm-ag-ui-agent"],
4740
4739
  props.class
4741
4740
  ],
4742
4741
  ref: containerRef,
@@ -4745,9 +4744,9 @@ const ElmAgUiAgent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
4745
4744
  ])
4746
4745
  }, null, [
4747
4746
  /* @__PURE__ */ _jsxSorted("div", null, {
4748
- class: styles$k["agent-container"]
4747
+ class: styles$j["agent-container"]
4749
4748
  }, /* @__PURE__ */ _jsxSorted("div", null, {
4750
- class: styles$k["messages"]
4749
+ class: styles$j["messages"]
4751
4750
  }, [
4752
4751
  /* @__PURE__ */ _jsxSorted(ElmAgUiMessageRenderer, {
4753
4752
  handleRetry$: props.retry$
@@ -4761,7 +4760,7 @@ const ElmAgUiAgent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
4761
4760
  }, null, 2, "Oj_0"),
4762
4761
  props.state.error && /* @__PURE__ */ _jsxSorted(Fragment$1, null, null, [
4763
4762
  /* @__PURE__ */ _jsxSorted("div", null, {
4764
- class: styles$k["error"]
4763
+ class: styles$j["error"]
4765
4764
  }, [
4766
4765
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4767
4766
  d: mdiAlert,
@@ -4779,7 +4778,7 @@ const ElmAgUiAgent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
4779
4778
  /* @__PURE__ */ _jsxSorted("span", {
4780
4779
  "q-e:click": props.retry$
4781
4780
  }, {
4782
- class: styles$k["clickable-icon"]
4781
+ class: styles$j["clickable-icon"]
4783
4782
  }, /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4784
4783
  d: mdiRefresh,
4785
4784
  size: "1.25rem"
@@ -4787,20 +4786,20 @@ const ElmAgUiAgent = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
4787
4786
  ], 1, "Oj_4")
4788
4787
  ], 1, null), 1, null),
4789
4788
  /* @__PURE__ */ _jsxSorted("div", null, {
4790
- class: styles$k["agent-input-container"]
4789
+ class: styles$j["agent-input-container"]
4791
4790
  }, /* @__PURE__ */ _jsxSorted("div", null, {
4792
- class: styles$k["agent-input"]
4791
+ class: styles$j["agent-input"]
4793
4792
  }, [
4794
4793
  !props.state.isRunning && /* @__PURE__ */ _jsxSorted("div", null, {
4795
- class: styles$k["prompt-template-container"]
4794
+ class: styles$j["prompt-template-container"]
4796
4795
  }, props.state.promptTemplates.map((template, index) => /* @__PURE__ */ _jsxSorted("span", {
4797
4796
  "data-template-index": index
4798
4797
  }, {
4799
- class: styles$k["prompt-template-tip"],
4798
+ class: styles$j["prompt-template-tip"],
4800
4799
  "q-e:click": onTemplateClick$
4801
4800
  }, [
4802
4801
  /* @__PURE__ */ _jsxSorted(ElmMdiIcon, null, {
4803
- class: styles$k["prompt-template-tip-icon"],
4802
+ class: styles$j["prompt-template-tip-icon"],
4804
4803
  d: mdiForumOutline
4805
4804
  }, null, 3, "Oj_5"),
4806
4805
  /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, _wrapProp(template, "description"), 1, "Oj_6")
@@ -5152,7 +5151,7 @@ function useMcpTools(options) {
5152
5151
  const { servers, clientFactory } = options;
5153
5152
  validateServers$1(servers);
5154
5153
  const tools = useSignal(noSerialize({}));
5155
- const status = useStore(Object.fromEntries(servers.map((s) => [
5154
+ const status2 = useStore(Object.fromEntries(servers.map((s) => [
5156
5155
  s.id,
5157
5156
  {
5158
5157
  state: "connecting"
@@ -5163,12 +5162,12 @@ function useMcpTools(options) {
5163
5162
  const factoryRef = useSignal(() => clientFactory ?? noSerialize(createMcpClient));
5164
5163
  const reconnectOp = useSignal(void 0);
5165
5164
  useVisibleTaskQrl(/* @__PURE__ */ inlinedQrl(({ cleanup }) => {
5166
- const factoryRef2 = _captures[0], reconnectOp2 = _captures[1], serversRef2 = _captures[2], shouldPrefixRef2 = _captures[3], status2 = _captures[4], tools2 = _captures[5];
5165
+ const factoryRef2 = _captures[0], reconnectOp2 = _captures[1], serversRef2 = _captures[2], shouldPrefixRef2 = _captures[3], status22 = _captures[4], tools2 = _captures[5];
5167
5166
  const handles = /* @__PURE__ */ new Map();
5168
5167
  const open2 = async (cfg) => {
5169
5168
  const factory = factoryRef2.value;
5170
5169
  if (!factory) return;
5171
- status2[cfg.id] = {
5170
+ status22[cfg.id] = {
5172
5171
  state: "connecting"
5173
5172
  };
5174
5173
  try {
@@ -5185,12 +5184,12 @@ function useMcpTools(options) {
5185
5184
  next[name] = tool;
5186
5185
  }
5187
5186
  tools2.value = noSerialize(next);
5188
- status2[cfg.id] = {
5187
+ status22[cfg.id] = {
5189
5188
  state: "ready",
5190
5189
  toolCount: descriptors.length
5191
5190
  };
5192
5191
  } catch (err) {
5193
- status2[cfg.id] = {
5192
+ status22[cfg.id] = {
5194
5193
  state: "error",
5195
5194
  error: err instanceof Error ? err.message : String(err)
5196
5195
  };
@@ -5237,7 +5236,7 @@ function useMcpTools(options) {
5237
5236
  reconnectOp,
5238
5237
  serversRef,
5239
5238
  shouldPrefixRef,
5240
- status,
5239
+ status2,
5241
5240
  tools
5242
5241
  ]), {
5243
5242
  strategy: "document-ready"
@@ -5252,7 +5251,7 @@ function useMcpTools(options) {
5252
5251
  ]);
5253
5252
  return {
5254
5253
  tools,
5255
- status,
5254
+ status: status2,
5256
5255
  reconnect$
5257
5256
  };
5258
5257
  }
@@ -5273,7 +5272,7 @@ function useMcpPrompts(options) {
5273
5272
  const { servers, clientFactory } = options;
5274
5273
  validateServers(servers);
5275
5274
  const prompts = useSignal([]);
5276
- const status = useStore(Object.fromEntries(servers.map((s) => [
5275
+ const status2 = useStore(Object.fromEntries(servers.map((s) => [
5277
5276
  s.id,
5278
5277
  {
5279
5278
  state: "connecting"
@@ -5283,12 +5282,12 @@ function useMcpPrompts(options) {
5283
5282
  const factoryRef = useSignal(() => clientFactory ?? noSerialize(createMcpClient));
5284
5283
  const resolveOp = useSignal(void 0);
5285
5284
  useVisibleTaskQrl(/* @__PURE__ */ inlinedQrl(({ cleanup }) => {
5286
- const factoryRef2 = _captures[0], prompts2 = _captures[1], resolveOp2 = _captures[2], serversRef2 = _captures[3], status2 = _captures[4];
5285
+ const factoryRef2 = _captures[0], prompts2 = _captures[1], resolveOp2 = _captures[2], serversRef2 = _captures[3], status22 = _captures[4];
5287
5286
  const handles = /* @__PURE__ */ new Map();
5288
5287
  const open2 = async (cfg) => {
5289
5288
  const factory = factoryRef2.value;
5290
5289
  if (!factory) return;
5291
- status2[cfg.id] = {
5290
+ status22[cfg.id] = {
5292
5291
  state: "connecting"
5293
5292
  };
5294
5293
  try {
@@ -5303,12 +5302,12 @@ function useMcpPrompts(options) {
5303
5302
  ...prompts2.value.filter((p) => p.serverId !== cfg.id),
5304
5303
  ...annotated
5305
5304
  ];
5306
- status2[cfg.id] = {
5305
+ status22[cfg.id] = {
5307
5306
  state: "ready",
5308
5307
  toolCount: descriptors.length
5309
5308
  };
5310
5309
  } catch (err) {
5311
- status2[cfg.id] = {
5310
+ status22[cfg.id] = {
5312
5311
  state: "error",
5313
5312
  error: err instanceof Error ? err.message : String(err)
5314
5313
  };
@@ -5343,7 +5342,7 @@ function useMcpPrompts(options) {
5343
5342
  prompts,
5344
5343
  resolveOp,
5345
5344
  serversRef,
5346
- status
5345
+ status2
5347
5346
  ]), {
5348
5347
  strategy: "document-ready"
5349
5348
  });
@@ -5357,70 +5356,10 @@ function useMcpPrompts(options) {
5357
5356
  ]);
5358
5357
  return {
5359
5358
  prompts,
5360
- status,
5359
+ status: status2,
5361
5360
  resolve$
5362
5361
  };
5363
5362
  }
5364
- const shown = "_shown_pzcyf_13";
5365
- const styles$j = {
5366
- "elm-modal": "_elm-modal_pzcyf_1",
5367
- shown
5368
- };
5369
- const ElmModal = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
5370
- const rest = _restProps(props, [
5371
- "class",
5372
- "isOpen",
5373
- "onClose$"
5374
- ]);
5375
- const dialogRef = useSignal();
5376
- const isShown = useSignal(false);
5377
- useVisibleTaskQrl(/* @__PURE__ */ inlinedQrl(({ track, cleanup }) => {
5378
- const dialogRef2 = _captures[0], isShown2 = _captures[1], props2 = _captures[2];
5379
- track(() => props2.isOpen);
5380
- if (!dialogRef2.value) return;
5381
- if (props2.isOpen) {
5382
- dialogRef2.value.showModal();
5383
- isShown2.value = true;
5384
- } else {
5385
- isShown2.value = false;
5386
- const timer = setTimeout(() => {
5387
- dialogRef2.value?.close();
5388
- }, 200);
5389
- cleanup(() => {
5390
- clearTimeout(timer);
5391
- });
5392
- }
5393
- }, "ElmModal_component_useVisibleTask_1nydd6wvRjI", [
5394
- dialogRef,
5395
- isShown,
5396
- props
5397
- ]), {
5398
- strategy: "document-ready"
5399
- });
5400
- const handleClose = /* @__PURE__ */ inlinedQrl((event, element) => {
5401
- const props2 = _captures[0];
5402
- props2.onClose$?.(event, element);
5403
- }, "ElmModal_component_handleClose_0gU4hMZNm0Q", [
5404
- props
5405
- ]);
5406
- return /* @__PURE__ */ _jsxSplit("dialog", {
5407
- ref: dialogRef,
5408
- class: [
5409
- styles$j["elm-modal"],
5410
- props.class,
5411
- {
5412
- [styles$j["shown"]]: isShown.value
5413
- }
5414
- ],
5415
- "q-e:click": handleClose,
5416
- ...{
5417
- closedBy: "none"
5418
- },
5419
- ..._getVarProps(rest)
5420
- }, _getConstProps(rest), /* @__PURE__ */ _jsxSorted("div", {
5421
- "q-e:click": /* @__PURE__ */ inlinedQrl((e) => e.stopPropagation(), "ElmModal_component_dialog_div_q_e_click_Qa7ZVv0yllU")
5422
- }, null, /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "Ka_0"), 0, null), 0, "Ka_1");
5423
- }, "ElmModal_component_wvBKav2Nx50"));
5424
5363
  const parallax = "_parallax_z693a_1";
5425
5364
  const styles$i = {
5426
5365
  "parallax-watcher": "_parallax-watcher_z693a_1",
@@ -5460,11 +5399,10 @@ const ElmParallax = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_ra
5460
5399
  }, null, 3, index))
5461
5400
  ], 0, "sq_0");
5462
5401
  }, "ElmParallax_component_EJLLht8TfbM"));
5463
- const original = "_original_ysfyp_1";
5464
- const tooltip = "_tooltip_ysfyp_5";
5465
- const show = "_show_ysfyp_18";
5402
+ const tooltip = "_tooltip_1b13f_5";
5403
+ const show = "_show_1b13f_18";
5466
5404
  const styles$h = {
5467
- original,
5405
+ "elm-tooltip": "_elm-tooltip_1b13f_1",
5468
5406
  tooltip,
5469
5407
  show
5470
5408
  };
@@ -5522,7 +5460,7 @@ const ElmTooltip = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_raw
5522
5460
  return /* @__PURE__ */ _jsxSplit("span", {
5523
5461
  ref: elRef,
5524
5462
  class: [
5525
- styles$h.original,
5463
+ styles$h["elm-tooltip"],
5526
5464
  _rawProps.class
5527
5465
  ],
5528
5466
  "q-e:mouseover": handleMouseOver,
@@ -5547,12 +5485,11 @@ const ElmTooltip = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_raw
5547
5485
  ], 0, "Kf_2");
5548
5486
  }, "ElmTooltip_component_7Z8Jw17rnA4"));
5549
5487
  const styles$g = {
5550
- "block-fallback": "_block-fallback_1xthk_1"
5488
+ "elm-block-fallback": "_elm-block-fallback_1sx02_1"
5551
5489
  };
5552
- const wrapper$5 = "_wrapper_1xvkv_15";
5553
- const dot = "_dot_1xvkv_25";
5490
+ const dot = "_dot_qjgj2_25";
5554
5491
  const styles$f = {
5555
- wrapper: wrapper$5,
5492
+ "elm-dot-loading-icon": "_elm-dot-loading-icon_qjgj2_15",
5556
5493
  dot
5557
5494
  };
5558
5495
  const _hf0$d = (p0) => ({
@@ -5567,7 +5504,7 @@ const ElmDotLoadingIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQr
5567
5504
  ]);
5568
5505
  return /* @__PURE__ */ _jsxSplit("span", {
5569
5506
  class: [
5570
- styles$f.wrapper,
5507
+ styles$f["elm-dot-loading-icon"],
5571
5508
  _rawProps.class
5572
5509
  ],
5573
5510
  style: _fnSignal(_hf0$d, [
@@ -5601,7 +5538,7 @@ const ElmBlockFallback = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl
5601
5538
  ]);
5602
5539
  return /* @__PURE__ */ _jsxSplit("div", {
5603
5540
  class: [
5604
- styles$g["block-fallback"],
5541
+ styles$g["elm-block-fallback"],
5605
5542
  _rawProps.class
5606
5543
  ],
5607
5544
  style: _fnSignal(_hf0$c, [
@@ -5613,15 +5550,14 @@ const ElmBlockFallback = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl
5613
5550
  /* @__PURE__ */ _jsxSorted(ElmRectangleWave, null, null, null, 3, "Jl_1")
5614
5551
  ], 0, "Jl_2");
5615
5552
  }, "ElmBlockFallback_component_R0mGF6D5fyk"));
5616
- const button = "_button_11605_1";
5617
- const normal = "_normal_11605_23";
5618
- const primary = "_primary_11605_30";
5619
- const colored = "_colored_11605_37";
5620
- const enable = "_enable_11605_41";
5621
- const flex = "_flex_11605_60";
5622
- const ripple = "_ripple_11605_84";
5553
+ const normal = "_normal_9qh0y_22";
5554
+ const primary = "_primary_9qh0y_29";
5555
+ const colored = "_colored_9qh0y_36";
5556
+ const enable = "_enable_9qh0y_40";
5557
+ const flex = "_flex_9qh0y_59";
5558
+ const ripple = "_ripple_9qh0y_83";
5623
5559
  const styles$e = {
5624
- button,
5560
+ "elm-button": "_elm-button_9qh0y_1",
5625
5561
  normal,
5626
5562
  primary,
5627
5563
  colored,
@@ -5635,14 +5571,14 @@ const ElmButton = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
5635
5571
  "class",
5636
5572
  "onClick$",
5637
5573
  "style",
5638
- "loading",
5574
+ "isLoading",
5639
5575
  "block",
5640
5576
  "color",
5641
5577
  "primary"
5642
5578
  ]);
5643
5579
  const handleClick = /* @__PURE__ */ inlinedQrl(async () => {
5644
5580
  const clicked2 = _captures[0], props2 = _captures[1];
5645
- if (!props2.loading && !props2.disabled) {
5581
+ if (!props2.isLoading && !props2.disabled) {
5646
5582
  if (props2.onClick$) {
5647
5583
  clicked2.value = true;
5648
5584
  setTimeout(() => clicked2.value = false, 300);
@@ -5656,8 +5592,8 @@ const ElmButton = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
5656
5592
  return /* @__PURE__ */ _jsxSplit("button", {
5657
5593
  "q-e:click": handleClick,
5658
5594
  class: [
5659
- styles$e.button,
5660
- !props.loading && !rest.disabled && styles$e.enable,
5595
+ styles$e["elm-button"],
5596
+ !props.isLoading && !rest.disabled && styles$e.enable,
5661
5597
  props.color && styles$e.colored,
5662
5598
  !props.color && !props.primary && styles$e.normal,
5663
5599
  !props.color && props.primary && styles$e.primary,
@@ -5666,8 +5602,8 @@ const ElmButton = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
5666
5602
  style: {
5667
5603
  display: props.block ? "flex" : "inline-flex",
5668
5604
  width: props.block ? "100%" : "auto",
5669
- cursor: rest.disabled ? "not-allowed" : props.loading ? "progress" : "pointer",
5670
- "--elmethis-scoped-opacity": rest.disabled || props.loading ? 0.6 : void 0,
5605
+ cursor: rest.disabled ? "not-allowed" : props.isLoading ? "progress" : "pointer",
5606
+ "--elmethis-scoped-opacity": rest.disabled || props.isLoading ? 0.6 : void 0,
5671
5607
  "--elmethis-scoped-color": props.color,
5672
5608
  ...props.style
5673
5609
  },
@@ -5676,36 +5612,37 @@ const ElmButton = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
5676
5612
  clicked.value && /* @__PURE__ */ _jsxSorted("span", null, {
5677
5613
  class: styles$e.ripple
5678
5614
  }, null, 3, "3N_0"),
5679
- props.loading ? /* @__PURE__ */ _jsxSorted(ElmDotLoadingIcon, null, {
5615
+ props.isLoading ? /* @__PURE__ */ _jsxSorted(ElmDotLoadingIcon, null, {
5680
5616
  size: "1.5rem"
5681
5617
  }, null, 3, "3N_1") : /* @__PURE__ */ _jsxSorted("span", null, {
5682
5618
  class: styles$e.flex
5683
5619
  }, /* @__PURE__ */ _jsxSorted(Slot, null, null, null, 3, "3N_2"), 1, "3N_3")
5684
5620
  ], 0, "3N_4");
5685
5621
  }, "ElmButton_component_f1UuOse0UGw"));
5686
- const container$1 = "_container_1plde_1";
5687
- const checkbox = "_checkbox_1plde_22";
5688
- const rect = "_rect_1plde_27";
5689
- const loading$2 = "_loading_1plde_39";
5622
+ const disabled$4 = "_disabled_18dfs_12";
5623
+ const checkbox = "_checkbox_18dfs_22";
5624
+ const rect = "_rect_18dfs_27";
5625
+ const loading$2 = "_loading_18dfs_30";
5626
+ const checked$1 = "_checked_18dfs_34";
5690
5627
  const styles$d = {
5691
- container: container$1,
5692
- "container--disable": "_container--disable_1plde_13",
5628
+ "elm-checkbox": "_elm-checkbox_18dfs_1",
5629
+ disabled: disabled$4,
5693
5630
  checkbox,
5694
5631
  rect,
5695
- "rect--loading": "_rect--loading_1plde_31",
5696
- "rect--checked": "_rect--checked_1plde_35",
5697
5632
  loading: loading$2,
5698
- "check-line": "_check-line_1plde_54"
5633
+ checked: checked$1,
5634
+ "loading-dot": "_loading-dot_18dfs_39",
5635
+ "check-line": "_check-line_18dfs_54"
5699
5636
  };
5700
5637
  const _hf0$b = (p0) => ({
5701
- opacity: p0.loading ? 1 : 0
5638
+ opacity: p0.isLoading ? 1 : 0
5702
5639
  });
5703
5640
  const ElmCheckbox = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
5704
5641
  const rest = _restProps(props, [
5705
5642
  "class",
5706
5643
  "label",
5707
- "loading",
5708
- "disable",
5644
+ "isLoading",
5645
+ "disabled",
5709
5646
  "checked",
5710
5647
  "defaultChecked"
5711
5648
  ]);
@@ -5715,13 +5652,13 @@ const ElmCheckbox = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
5715
5652
  });
5716
5653
  return /* @__PURE__ */ _jsxSplit("div", {
5717
5654
  class: [
5718
- styles$d.container,
5719
- props.disable && styles$d["container--disable"],
5655
+ styles$d["elm-checkbox"],
5656
+ props.disabled && styles$d.disabled,
5720
5657
  props.class
5721
5658
  ],
5722
5659
  "q-e:click": /* @__PURE__ */ inlinedQrl(() => {
5723
5660
  const isChecked2 = _captures[0], props2 = _captures[1];
5724
- if (!props2.loading && !props2.disable) {
5661
+ if (!props2.isLoading && !props2.disabled) {
5725
5662
  isChecked2.value = !isChecked2.value;
5726
5663
  }
5727
5664
  }, "ElmCheckbox_component_div_q_e_click_gkqpEetYEhI", [
@@ -5749,7 +5686,7 @@ const ElmCheckbox = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
5749
5686
  cx: "0",
5750
5687
  cy: "0",
5751
5688
  r: "2",
5752
- class: styles$d.loading
5689
+ class: styles$d["loading-dot"]
5753
5690
  }, [
5754
5691
  /* @__PURE__ */ _jsxSorted("animate", null, {
5755
5692
  attributeName: "cx",
@@ -5776,7 +5713,7 @@ const ElmCheckbox = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
5776
5713
  cx: "20",
5777
5714
  cy: "20",
5778
5715
  r: "2",
5779
- class: styles$d.loading
5716
+ class: styles$d["loading-dot"]
5780
5717
  }, [
5781
5718
  /* @__PURE__ */ _jsxSorted("animate", null, {
5782
5719
  attributeName: "cx",
@@ -5798,8 +5735,8 @@ const ElmCheckbox = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
5798
5735
  /* @__PURE__ */ _jsxSorted("rect", {
5799
5736
  class: [
5800
5737
  styles$d.rect,
5801
- isChecked.value && styles$d["rect--checked"],
5802
- props.loading && styles$d["rect--loading"]
5738
+ isChecked.value && styles$d.checked,
5739
+ props.isLoading && styles$d.loading
5803
5740
  ]
5804
5741
  }, {
5805
5742
  x: "4",
@@ -5876,23 +5813,22 @@ const ElmCheckbox = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
5876
5813
  /* @__PURE__ */ _jsxSorted(ElmInlineText, null, null, _wrapProp(props, "label"), 1, "UZ_1")
5877
5814
  ], 1, null), 0, "UZ_2");
5878
5815
  }, "ElmCheckbox_component_a3MV4MkaYBo"));
5879
- const wrapper$4 = "_wrapper_rwh9z_1";
5880
- const disabled$3 = "_disabled_rwh9z_23";
5881
- const active$2 = "_active_rwh9z_27";
5882
- const label = "_label_rwh9z_31";
5883
- const body$3 = "_body_rwh9z_49";
5884
- const fallback = "_fallback_rwh9z_66";
5885
- const pulldown = "_pulldown_rwh9z_74";
5886
- const option = "_option_rwh9z_59";
5816
+ const disabled$3 = "_disabled_1u7w1_23";
5817
+ const active$2 = "_active_1u7w1_27";
5818
+ const label = "_label_1u7w1_31";
5819
+ const body$3 = "_body_1u7w1_49";
5820
+ const fallback = "_fallback_1u7w1_66";
5821
+ const pulldown = "_pulldown_1u7w1_74";
5822
+ const option = "_option_1u7w1_59";
5887
5823
  const styles$c = {
5888
- wrapper: wrapper$4,
5824
+ "elm-select": "_elm-select_1u7w1_1",
5889
5825
  disabled: disabled$3,
5890
5826
  active: active$2,
5891
5827
  label,
5892
- "label-active": "_label-active_rwh9z_44",
5828
+ "label-active": "_label-active_1u7w1_44",
5893
5829
  body: body$3,
5894
- "selected-option": "_selected-option_rwh9z_56",
5895
- "option-content": "_option-content_rwh9z_59",
5830
+ "selected-option": "_selected-option_1u7w1_56",
5831
+ "option-content": "_option-content_1u7w1_59",
5896
5832
  fallback,
5897
5833
  pulldown,
5898
5834
  option
@@ -5907,7 +5843,7 @@ const ElmSelect = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
5907
5843
  "label",
5908
5844
  "placeholder",
5909
5845
  "disabled",
5910
- "loading",
5846
+ "isLoading",
5911
5847
  "options",
5912
5848
  "selectedOptionId"
5913
5849
  ]);
@@ -5937,17 +5873,17 @@ const ElmSelect = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
5937
5873
  return /* @__PURE__ */ _jsxSplit("div", {
5938
5874
  ref: containerRef,
5939
5875
  class: [
5940
- styles$c.wrapper,
5876
+ styles$c["elm-select"],
5941
5877
  isOpen.value && styles$c.active,
5942
5878
  props.class,
5943
5879
  {
5944
- [styles$c.disabled]: props.disabled || props.loading
5880
+ [styles$c.disabled]: props.disabled || props.isLoading
5945
5881
  }
5946
5882
  ],
5947
5883
  style: _wrapProp(props, "style"),
5948
5884
  "q-e:click": /* @__PURE__ */ inlinedQrl(() => {
5949
5885
  const isOpen2 = _captures[0], props2 = _captures[1];
5950
- if (!props2.disabled && !props2.loading) {
5886
+ if (!props2.disabled && !props2.isLoading) {
5951
5887
  isOpen2.value = !isOpen2.value;
5952
5888
  }
5953
5889
  }, "ElmSelect_component_div_q_e_click_mRy0UU6xCYI", [
@@ -6036,12 +5972,12 @@ const ElmSelect = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
6036
5972
  ], 1, null)
6037
5973
  ], 0, "5b_10");
6038
5974
  }, "ElmSelect_component_5jGhwsE6oU0"));
6039
- const bar = "_bar_6xrsu_5";
6040
- const checked = "_checked_6xrsu_19";
6041
- const disabled$2 = "_disabled_6xrsu_24";
6042
- const circle = "_circle_6xrsu_29";
5975
+ const bar = "_bar_9s4vz_5";
5976
+ const checked = "_checked_9s4vz_21";
5977
+ const disabled$2 = "_disabled_9s4vz_26";
5978
+ const circle = "_circle_9s4vz_31";
6043
5979
  const styles$b = {
6044
- "switch": "_switch_6xrsu_1",
5980
+ "switch": "_switch_9s4vz_1",
6045
5981
  bar,
6046
5982
  checked,
6047
5983
  disabled: disabled$2,
@@ -6102,21 +6038,20 @@ const ElmSwitch = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
6102
6038
  }, null, null, 3, null), 1, null)
6103
6039
  ], 0, "hS_0");
6104
6040
  }, "ElmSwitch_component_vkfpyHRHmhQ"));
6105
- const loading$1 = "_loading_kn3x0_23";
6106
- const wrapper$3 = "_wrapper_kn3x0_37";
6107
- const disabled$1 = "_disabled_kn3x0_63";
6108
- const active$1 = "_active_kn3x0_67";
6109
- const header$2 = "_header_kn3x0_72";
6110
- const requierd$1 = "_requierd_kn3x0_90";
6111
- const body$2 = "_body_kn3x0_96";
6112
- const textarea = "_textarea_kn3x0_101";
6041
+ const loading$1 = "_loading_lgmx3_23";
6042
+ const disabled$1 = "_disabled_lgmx3_63";
6043
+ const active$1 = "_active_lgmx3_67";
6044
+ const header$2 = "_header_lgmx3_72";
6045
+ const requierd$1 = "_requierd_lgmx3_90";
6046
+ const body$2 = "_body_lgmx3_96";
6047
+ const textarea = "_textarea_lgmx3_101";
6113
6048
  const styles$a = {
6114
6049
  loading: loading$1,
6115
- wrapper: wrapper$3,
6050
+ "elm-text-area": "_elm-text-area_lgmx3_37",
6116
6051
  disabled: disabled$1,
6117
6052
  active: active$1,
6118
6053
  header: header$2,
6119
- "label-active": "_label-active_kn3x0_85",
6054
+ "label-active": "_label-active_lgmx3_85",
6120
6055
  requierd: requierd$1,
6121
6056
  body: body$2,
6122
6057
  textarea
@@ -6125,12 +6060,12 @@ const _hf0$8 = (p0) => p0.maxLength != null && p0.value.value.length > p0.maxLen
6125
6060
  const _hf1$5 = (p0) => p0.maxLength != null ? `${p0.value.value.length} / ${p0.maxLength}` : `${p0.value.value.length}`;
6126
6061
  const _hf2$3 = (p0) => p0.value?.value;
6127
6062
  const _hf3$3 = (p0) => p0.rows ?? 3;
6128
- const _hf4$2 = (p0) => p0.disabled || p0.loading;
6063
+ const _hf4$2 = (p0) => p0.disabled || p0.isLoading;
6129
6064
  const _hf5$2 = (p0) => ({
6130
- cursor: p0.disabled ? "not-allowed" : p0.loading ? "progress" : "auto"
6065
+ cursor: p0.disabled ? "not-allowed" : p0.isLoading ? "progress" : "auto"
6131
6066
  });
6132
6067
  const _hf6$1 = (p0) => ({
6133
- opacity: p0.loading ? 1 : 0
6068
+ opacity: p0.isLoading ? 1 : 0
6134
6069
  });
6135
6070
  const ElmTextArea = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
6136
6071
  const rest = _restProps(props, [
@@ -6140,7 +6075,7 @@ const ElmTextArea = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
6140
6075
  "maxLength",
6141
6076
  "placeholder",
6142
6077
  "disabled",
6143
- "loading",
6078
+ "isLoading",
6144
6079
  "required",
6145
6080
  "value",
6146
6081
  "rows"
@@ -6148,11 +6083,11 @@ const ElmTextArea = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
6148
6083
  const isFocused = useSignal(false);
6149
6084
  return /* @__PURE__ */ _jsxSplit("label", {
6150
6085
  class: [
6151
- styles$a.wrapper,
6086
+ styles$a["elm-text-area"],
6152
6087
  isFocused.value && styles$a.active,
6153
6088
  props.class,
6154
6089
  {
6155
- [styles$a.disabled]: props.disabled || props.loading
6090
+ [styles$a.disabled]: props.disabled || props.isLoading
6156
6091
  }
6157
6092
  ],
6158
6093
  style: _wrapProp(props, "style"),
@@ -6225,37 +6160,36 @@ const ElmTextArea = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pro
6225
6160
  }, null, 3, null)
6226
6161
  ], 0, "RT_4");
6227
6162
  }, "ElmTextArea_component_eI5Hurm0OV8"));
6228
- const loading = "_loading_mpxha_23";
6229
- const wrapper$2 = "_wrapper_mpxha_37";
6230
- const disabled = "_disabled_mpxha_59";
6231
- const active = "_active_mpxha_63";
6232
- const header$1 = "_header_mpxha_68";
6233
- const requierd = "_requierd_mpxha_86";
6234
- const body$1 = "_body_mpxha_92";
6235
- const input = "_input_mpxha_100";
6163
+ const loading = "_loading_11box_23";
6164
+ const disabled = "_disabled_11box_59";
6165
+ const active = "_active_11box_63";
6166
+ const header$1 = "_header_11box_68";
6167
+ const requierd = "_requierd_11box_86";
6168
+ const body$1 = "_body_11box_92";
6169
+ const input = "_input_11box_100";
6236
6170
  const styles$9 = {
6237
6171
  loading,
6238
- wrapper: wrapper$2,
6172
+ "elm-text-field": "_elm-text-field_11box_37",
6239
6173
  disabled,
6240
6174
  active,
6241
6175
  header: header$1,
6242
- "label-active": "_label-active_mpxha_81",
6176
+ "label-active": "_label-active_11box_81",
6243
6177
  requierd,
6244
6178
  body: body$1,
6245
6179
  input,
6246
- "right-icon-box": "_right-icon-box_mpxha_121",
6247
- "clickable-icon": "_clickable-icon_mpxha_126",
6248
- "prefix-suffix": "_prefix-suffix_mpxha_142"
6180
+ "right-icon-box": "_right-icon-box_11box_121",
6181
+ "clickable-icon": "_clickable-icon_11box_126",
6182
+ "prefix-suffix": "_prefix-suffix_11box_142"
6249
6183
  };
6250
6184
  const _hf0$7 = (p0) => p0.maxLength != null && p0.value.value.length > p0.maxLength ? "var(--elmethis-color-accent-error)" : "gray";
6251
6185
  const _hf1$4 = (p0) => p0.maxLength != null ? `${p0.value.value.length} / ${p0.maxLength}` : `${p0.value.value.length}`;
6252
6186
  const _hf2$2 = (p0) => p0.value?.value;
6253
- const _hf3$2 = (p0) => p0.disabled || p0.loading;
6187
+ const _hf3$2 = (p0) => p0.disabled || p0.isLoading;
6254
6188
  const _hf4$1 = (p0) => ({
6255
- cursor: p0.disabled ? "not-allowed" : p0.loading ? "progress" : "auto"
6189
+ cursor: p0.disabled ? "not-allowed" : p0.isLoading ? "progress" : "auto"
6256
6190
  });
6257
6191
  const _hf5$1 = (p0) => ({
6258
- opacity: p0.loading ? 1 : 0
6192
+ opacity: p0.isLoading ? 1 : 0
6259
6193
  });
6260
6194
  const ElmTextField = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props) => {
6261
6195
  const rest = _restProps(props, [
@@ -6267,7 +6201,7 @@ const ElmTextField = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
6267
6201
  "suffix",
6268
6202
  "placeholder",
6269
6203
  "disabled",
6270
- "loading",
6204
+ "isLoading",
6271
6205
  "value",
6272
6206
  "isPassword",
6273
6207
  "required"
@@ -6276,11 +6210,11 @@ const ElmTextField = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
6276
6210
  const inputType = useSignal(props.isPassword ? "password" : "text");
6277
6211
  return /* @__PURE__ */ _jsxSplit("label", {
6278
6212
  class: [
6279
- styles$9.wrapper,
6213
+ styles$9["elm-text-field"],
6280
6214
  isFocused.value && styles$9.active,
6281
6215
  props.class,
6282
6216
  {
6283
- [styles$9.disabled]: props.disabled || props.loading
6217
+ [styles$9.disabled]: props.disabled || props.isLoading
6284
6218
  }
6285
6219
  ],
6286
6220
  style: _wrapProp(props, "style"),
@@ -6355,7 +6289,7 @@ const ElmTextField = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
6355
6289
  /* @__PURE__ */ _jsxSorted("div", {
6356
6290
  "q-e:click": /* @__PURE__ */ inlinedQrl(() => {
6357
6291
  const inputType2 = _captures[0], props2 = _captures[1];
6358
- if (!props2.loading && !props2.disabled) {
6292
+ if (!props2.isLoading && !props2.disabled) {
6359
6293
  inputType2.value = inputType2.value === "text" ? "password" : "text";
6360
6294
  }
6361
6295
  }, "ElmTextField_component_label_div_div_div_q_e_click_WaJ8NfQOs4Q", [
@@ -6373,7 +6307,7 @@ const ElmTextField = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
6373
6307
  /* @__PURE__ */ _jsxSorted("div", {
6374
6308
  "q-e:click": /* @__PURE__ */ inlinedQrl(() => {
6375
6309
  const props2 = _captures[0];
6376
- if (!props2.loading && !props2.disabled && props2.value) {
6310
+ if (!props2.isLoading && !props2.disabled && props2.value) {
6377
6311
  props2.value.value = "";
6378
6312
  }
6379
6313
  }, "ElmTextField_component_label_div_div_div_q_e_click_1_1vCztIHPnMw", [
@@ -6397,9 +6331,8 @@ const ElmTextField = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((pr
6397
6331
  }, null, 3, null)
6398
6332
  ], 0, "3a_8");
6399
6333
  }, "ElmTextField_component_7yeLskO1oF0"));
6400
- const validation = "_validation_1bh7c_1";
6401
6334
  const styles$8 = {
6402
- validation
6335
+ "elm-validation": "_elm-validation_1cigg_1"
6403
6336
  };
6404
6337
  const _hf0$6 = (p0) => ({
6405
6338
  "--elmethis-scoped-opacity": p0.isValid ? 1 : 0.5,
@@ -6416,7 +6349,7 @@ const ElmValidation = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
6416
6349
  ]);
6417
6350
  return /* @__PURE__ */ _jsxSplit("div", {
6418
6351
  class: [
6419
- styles$8.validation,
6352
+ styles$8["elm-validation"],
6420
6353
  _rawProps.class
6421
6354
  ],
6422
6355
  style: _fnSignal(_hf0$6, [
@@ -6846,39 +6779,6 @@ function useElmethisTheme() {
6846
6779
  toggleTheme
6847
6780
  };
6848
6781
  }
6849
- const useInView = (props) => {
6850
- const ref = useSignal();
6851
- const isVisible = useSignal(props?.defaultValue ?? false);
6852
- useVisibleTaskQrl(
6853
- /* @__PURE__ */ inlinedQrl(() => {
6854
- const isVisible2 = _captures[0], ref2 = _captures[1];
6855
- if (!ref2.value) return;
6856
- const observer = new IntersectionObserver(([entry]) => {
6857
- isVisible2.value = entry.isIntersecting;
6858
- }, {
6859
- rootMargin: "100px",
6860
- threshold: 0.1
6861
- });
6862
- observer.observe(ref2.value);
6863
- return () => observer.disconnect();
6864
- }, "useInView_useVisibleTask_dCSguHRVxN4", [
6865
- isVisible,
6866
- ref
6867
- ]),
6868
- // The default `intersection-observer` strategy never fires when the host
6869
- // is mounted inside a subtree that starts hidden (e.g. <ElmCollapse>), so
6870
- // a `useInView` consumer in that subtree would be permanently stuck at
6871
- // `isVisible: false`. `document-ready` fires once the DOM is parsed, then
6872
- // our own IntersectionObserver does the actual visibility tracking.
6873
- {
6874
- strategy: "document-ready"
6875
- }
6876
- );
6877
- return {
6878
- ref,
6879
- isVisible
6880
- };
6881
- };
6882
6782
  const resolveStorage = (area) => area === "local" ? localStorage : sessionStorage;
6883
6783
  const useStorage = (_rawProps) => {
6884
6784
  const state = useSignal(_rawProps.initialValue);
@@ -6994,10 +6894,9 @@ const useSessionStorage = (_rawProps) => {
6994
6894
  channel: `elmethis:sessionStorage:${_rawProps.key}`
6995
6895
  });
6996
6896
  };
6997
- const wrapper$1 = "_wrapper_17g64_19";
6998
- const square = "_square_17g64_28";
6897
+ const square = "_square_m72nq_28";
6999
6898
  const styles$7 = {
7000
- wrapper: wrapper$1,
6899
+ "elm-square-loading-icon": "_elm-square-loading-icon_m72nq_19",
7001
6900
  square
7002
6901
  };
7003
6902
  const _hf0$5 = (p0) => ({
@@ -7016,7 +6915,7 @@ const ElmSquareLoadingIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inline
7016
6915
  const DELAY = 1200 / ((_rawProps.dimensions ?? 4) * 3);
7017
6916
  return /* @__PURE__ */ _jsxSplit("span", {
7018
6917
  class: [
7019
- styles$7.wrapper,
6918
+ styles$7["elm-square-loading-icon"],
7020
6919
  _rawProps.class
7021
6920
  ],
7022
6921
  style: _fnSignal(_hf0$5, [
@@ -7031,16 +6930,15 @@ const ElmSquareLoadingIcon = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inline
7031
6930
  class: styles$7.square
7032
6931
  }, null, 3, `${rowIndex}-${columnIndex}`))), 0, "dY_0");
7033
6932
  }, "ElmSquareLoadingIcon_component_URq2y0Vp5Ws"));
7034
- const icon$1 = "_icon_1oksx_1";
7035
6933
  const styles$6 = {
7036
- icon: icon$1
6934
+ "elm-toggle-theme": "_elm-toggle-theme_11awq_1"
7037
6935
  };
7038
6936
  const _hf0$4 = (p0) => p0.size ?? "2rem";
7039
6937
  const ElmToggleTheme = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_rawProps) => {
7040
6938
  const elmethistheme = useElmethisTheme();
7041
6939
  return /* @__PURE__ */ _jsxSorted(Fragment$1, null, null, !elmethistheme.isDarkTheme.value ? /* @__PURE__ */ _jsxSorted("svg", {
7042
6940
  class: [
7043
- styles$6.icon,
6941
+ styles$6["elm-toggle-theme"],
7044
6942
  _rawProps.class
7045
6943
  ],
7046
6944
  height: _fnSignal(_hf0$4, [
@@ -7244,7 +7142,7 @@ const ElmToggleTheme = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
7244
7142
  ], 3, null)
7245
7143
  ], 2, "7Z_0") : /* @__PURE__ */ _jsxSorted("svg", {
7246
7144
  class: [
7247
- styles$6.icon,
7145
+ styles$6["elm-toggle-theme"],
7248
7146
  _rawProps.class
7249
7147
  ],
7250
7148
  height: _fnSignal(_hf0$4, [
@@ -7485,13 +7383,12 @@ const ElmToggleTheme = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((
7485
7383
  ], 3, null)
7486
7384
  ], 2, "7Z_1"), 1, "7Z_2");
7487
7385
  }, "ElmToggleTheme_component_UCPPH0ZjWO4"));
7488
- const container = "_container_19tkl_1";
7489
- const icon = "_icon_19tkl_23";
7490
- const chunk = "_chunk_19tkl_36";
7491
- const chevron = "_chevron_19tkl_41";
7386
+ const icon = "_icon_13oke_23";
7387
+ const chunk = "_chunk_13oke_36";
7388
+ const chevron = "_chevron_13oke_41";
7492
7389
  const styles$5 = {
7493
- container,
7494
- "link-container": "_link-container_19tkl_9",
7390
+ "elm-breadcrumb": "_elm-breadcrumb_13oke_1",
7391
+ "link-container": "_link-container_13oke_9",
7495
7392
  icon,
7496
7393
  chunk,
7497
7394
  chevron
@@ -7503,7 +7400,7 @@ const ElmBreadcrumb = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
7503
7400
  ]);
7504
7401
  return /* @__PURE__ */ _jsxSplit("nav", {
7505
7402
  class: [
7506
- styles$5.container,
7403
+ styles$5["elm-breadcrumb"],
7507
7404
  _rawProps.class
7508
7405
  ],
7509
7406
  ..._getVarProps(props)
@@ -7530,14 +7427,14 @@ const ElmBreadcrumb = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_
7530
7427
  }, null, 3, "wL_1")
7531
7428
  ], 1, "wL_2")), 0, "wL_3");
7532
7429
  }, "ElmBreadcrumb_component_Bm4cHEZjNRM"));
7533
- const wrapper = "_wrapper_1uubg_1";
7534
- const partial = "_partial_1uubg_30";
7535
- const text = "_text_1uubg_67";
7430
+ const visible = "_visible_18d6m_30";
7431
+ const partial = "_partial_18d6m_37";
7432
+ const text = "_text_18d6m_74";
7536
7433
  const styles$4 = {
7537
- wrapper,
7434
+ "elm-page-top": "_elm-page-top_18d6m_1",
7435
+ visible,
7538
7436
  partial,
7539
- text,
7540
- "wrapper--visible": "_wrapper--visible_1uubg_122"
7437
+ text
7541
7438
  };
7542
7439
  const _hf0$3 = (p0) => ({
7543
7440
  "--elmethis-scoped-size": `${64}px`,
@@ -7575,9 +7472,9 @@ const ElmPageTop = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((_raw
7575
7472
  }, "ElmPageTop_component_toTop_40Bu5QRIQBE");
7576
7473
  return /* @__PURE__ */ _jsxSplit("nav", {
7577
7474
  class: [
7578
- styles$4.wrapper,
7475
+ styles$4["elm-page-top"],
7579
7476
  {
7580
- [styles$4["wrapper--visible"]]: isVisible.value
7477
+ [styles$4.visible]: isVisible.value
7581
7478
  },
7582
7479
  _rawProps.class
7583
7480
  ],
@@ -8433,35 +8330,40 @@ const ElmJarkup = /* @__PURE__ */ componentQrl(/* @__PURE__ */ inlinedQrl((props
8433
8330
  ..._getVarProps(rest)
8434
8331
  }, _getConstProps(rest), render(props.jsonComponents), 0, "Ck_5");
8435
8332
  }, "ElmJarkup_component_v1hxPALYrDQ"));
8436
- const wordle = "_wordle_j0hdx_1";
8437
- const board = "_board_j0hdx_41";
8438
- const row = "_row_j0hdx_47";
8439
- const cell = "_cell_j0hdx_52";
8440
- const keyboard = "_keyboard_j0hdx_100";
8441
- const key = "_key_j0hdx_100";
8333
+ const error = "_error_1llms_26";
8334
+ const status = "_status_1llms_32";
8335
+ const board = "_board_1llms_41";
8336
+ const row = "_row_1llms_47";
8337
+ const cell = "_cell_1llms_52";
8338
+ const empty = "_empty_1llms_68";
8339
+ const tbd = "_tbd_1llms_74";
8340
+ const correct = "_correct_1llms_80";
8341
+ const present = "_present_1llms_86";
8342
+ const absent = "_absent_1llms_92";
8343
+ const keyboard = "_keyboard_1llms_100";
8344
+ const key = "_key_1llms_100";
8345
+ const wide = "_wide_1llms_137";
8346
+ const hidden = "_hidden_1llms_159";
8442
8347
  const styles = {
8443
- wordle,
8444
- "message-area": "_message-area_j0hdx_11",
8445
- "message-area--error": "_message-area--error_j0hdx_27",
8446
- "message-area--status": "_message-area--status_j0hdx_33",
8348
+ "elm-wordle": "_elm-wordle_1llms_1",
8349
+ "message-area": "_message-area_1llms_11",
8350
+ error,
8351
+ status,
8447
8352
  board,
8448
8353
  row,
8449
8354
  cell,
8450
- "cell--empty": "_cell--empty_j0hdx_69",
8451
- "cell--tbd": "_cell--tbd_j0hdx_75",
8452
- "cell--correct": "_cell--correct_j0hdx_81",
8453
- "cell--present": "_cell--present_j0hdx_87",
8454
- "cell--absent": "_cell--absent_j0hdx_93",
8355
+ empty,
8356
+ tbd,
8357
+ correct,
8358
+ present,
8359
+ absent,
8455
8360
  keyboard,
8456
- "keyboard-row": "_keyboard-row_j0hdx_108",
8361
+ "keyboard-row": "_keyboard-row_1llms_108",
8457
8362
  key,
8458
- "key--wide": "_key--wide_j0hdx_138",
8459
- "key--correct": "_key--correct_j0hdx_143",
8460
- "key--present": "_key--present_j0hdx_147",
8461
- "key--absent": "_key--absent_j0hdx_151",
8462
- "reset-container": "_reset-container_j0hdx_156",
8463
- "reset-container--hidden": "_reset-container--hidden_j0hdx_160",
8464
- "reset-button": "_reset-button_j0hdx_164"
8363
+ wide,
8364
+ "reset-container": "_reset-container_1llms_156",
8365
+ hidden,
8366
+ "reset-button": "_reset-button_1llms_164"
8465
8367
  };
8466
8368
  const WORDS = [
8467
8369
  "which",
@@ -25003,11 +24905,11 @@ const useWordle = (options) => {
25003
24905
  const updatedStatuses = {
25004
24906
  ...letterStatuses2.value
25005
24907
  };
25006
- for (const { letter, status } of result) {
24908
+ for (const { letter, status: status2 } of result) {
25007
24909
  const current = updatedStatuses[letter];
25008
24910
  if (current !== "correct") {
25009
- if (status === "correct" || current !== "present") {
25010
- updatedStatuses[letter] = status;
24911
+ if (status2 === "correct" || current !== "present") {
24912
+ updatedStatuses[letter] = status2;
25011
24913
  }
25012
24914
  }
25013
24915
  }
@@ -25081,11 +24983,11 @@ const useWordle = (options) => {
25081
24983
  return /* @__PURE__ */ _jsxSorted("div", {
25082
24984
  class: [
25083
24985
  styles["cell"],
25084
- cellStatus === "correct" && styles["cell--correct"],
25085
- cellStatus === "present" && styles["cell--present"],
25086
- cellStatus === "absent" && styles["cell--absent"],
25087
- cellStatus === "tbd" && styles["cell--tbd"],
25088
- cellStatus === "empty" && styles["cell--empty"]
24986
+ cellStatus === "correct" && styles["correct"],
24987
+ cellStatus === "present" && styles["present"],
24988
+ cellStatus === "absent" && styles["absent"],
24989
+ cellStatus === "tbd" && styles["tbd"],
24990
+ cellStatus === "empty" && styles["empty"]
25089
24991
  ]
25090
24992
  }, null, letter, 1, colIndex);
25091
24993
  });
@@ -25094,12 +24996,12 @@ const useWordle = (options) => {
25094
24996
  }, cells, 1, rowIndex);
25095
24997
  });
25096
24998
  return /* @__PURE__ */ _jsxSorted("div", null, {
25097
- class: styles["wordle"]
24999
+ class: styles["elm-wordle"]
25098
25000
  }, [
25099
25001
  /* @__PURE__ */ _jsxSorted("div", {
25100
25002
  class: [
25101
25003
  styles["message-area"],
25102
- errorMessage2.value ? styles["message-area--error"] : gameStatus2.value !== "playing" ? styles["message-area--status"] : void 0
25004
+ errorMessage2.value ? styles["error"] : gameStatus2.value !== "playing" ? styles["status"] : void 0
25103
25005
  ]
25104
25006
  }, {
25105
25007
  "aria-live": "polite"
@@ -25107,44 +25009,47 @@ const useWordle = (options) => {
25107
25009
  /* @__PURE__ */ _jsxSorted("div", null, {
25108
25010
  class: styles["board"]
25109
25011
  }, rows, 1, null),
25110
- /* @__PURE__ */ _jsxSorted("div", null, {
25111
- class: styles["keyboard"]
25112
- }, KEYBOARD_ROWS.map((row2, rowIndex) => /* @__PURE__ */ _jsxSorted("div", null, {
25113
- class: styles["keyboard-row"]
25114
- }, row2.map((key2) => {
25115
- const lowerKey = key2.toLowerCase();
25116
- const keyStatus = letterStatuses2.value[lowerKey];
25117
- const qrl_4294901764 = /* @__PURE__ */ inlinedQrl((_, _1, key22) => {
25118
- const addLetter3 = _captures[0], removeLetter3 = _captures[1], submit3 = _captures[2];
25119
- if (key22 === "Enter") {
25012
+ /* @__PURE__ */ _jsxSorted("div", {
25013
+ "q-e:click": /* @__PURE__ */ inlinedQrl((event, _1, addLetter3, removeLetter3, submit3) => {
25014
+ const button2 = event.target.closest("button[data-key]");
25015
+ const key2 = button2?.dataset.key;
25016
+ if (!key2) return;
25017
+ if (key2 === "Enter") {
25120
25018
  submit3();
25121
- } else if (key22 === "⌫") {
25019
+ } else if (key2 === "⌫") {
25122
25020
  removeLetter3();
25123
25021
  } else {
25124
- addLetter3(key22);
25022
+ addLetter3(key2);
25125
25023
  }
25126
- }, "useWordle_Wordle_component_div_div_div_button_q_e_click_U10sV5Kq4pw", [
25024
+ }, "useWordle_Wordle_component_div_div_q_e_click_Plq0gr08B0I"),
25025
+ "q:ps": [
25127
25026
  addLetter2,
25128
25027
  removeLetter2,
25129
25028
  submit2
25130
- ]);
25029
+ ]
25030
+ }, {
25031
+ class: styles["keyboard"]
25032
+ }, KEYBOARD_ROWS.map((row2, rowIndex) => /* @__PURE__ */ _jsxSorted("div", null, {
25033
+ class: styles["keyboard-row"]
25034
+ }, row2.map((key2) => {
25035
+ const lowerKey = key2.toLowerCase();
25036
+ const keyStatus = letterStatuses2.value[lowerKey];
25131
25037
  return /* @__PURE__ */ _jsxSorted("button", {
25132
25038
  class: [
25133
25039
  styles["key"],
25134
- key2 === "Enter" && styles["key--wide"],
25135
- key2 === "⌫" && styles["key--wide"],
25136
- keyStatus === "correct" && styles["key--correct"],
25137
- keyStatus === "present" && styles["key--present"],
25138
- keyStatus === "absent" && styles["key--absent"]
25040
+ key2 === "Enter" && styles["wide"],
25041
+ key2 === "⌫" && styles["wide"],
25042
+ keyStatus === "correct" && styles["correct"],
25043
+ keyStatus === "present" && styles["present"],
25044
+ keyStatus === "absent" && styles["absent"]
25139
25045
  ],
25140
- "q-e:click": qrl_4294901764,
25141
- "q:p": key2
25142
- }, null, key2, 4, key2);
25143
- }), 1, rowIndex)), 1, null),
25046
+ "data-key": key2
25047
+ }, null, key2, 1, key2);
25048
+ }), 1, rowIndex)), 4, null),
25144
25049
  /* @__PURE__ */ _jsxSorted("div", {
25145
25050
  class: [
25146
25051
  styles["reset-container"],
25147
- gameStatus2.value === "playing" && styles["reset-container--hidden"]
25052
+ gameStatus2.value === "playing" && styles["hidden"]
25148
25053
  ]
25149
25054
  }, null, /* @__PURE__ */ _jsxSorted("button", null, {
25150
25055
  class: styles["reset-button"],
@@ -25287,7 +25192,6 @@ export {
25287
25192
  useDebouncedStore,
25288
25193
  useDelayedSignal,
25289
25194
  useElmethisTheme,
25290
- useInView,
25291
25195
  useLocalStorage,
25292
25196
  useMcpPrompts,
25293
25197
  useMcpTools,